Commit Graph
6159 Commits
Author SHA1 Message Date
Sebastian Hengst 73baa125c1 Backed out changeset c7f4ecbc3658 (bug 1386299) for failing toolkit/components/extensions/test/browser/browser_ext_management_themes.js. r=backout 2017-08-03 12:36:46 +02:00
Alexandre Poirot 37f35ef435 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj
2017-07-25 18:30:59 +02:00
Julian Descottes 5015483142 Bug 1386620 - dt-addon-prefs: move devtools.theme preference to devtools-startup-prefs.js;r=bgrins
MozReview-Commit-ID: GOWh7COmCSx
2017-07-25 16:45:08 +02:00
Julian Descottes 6b65b3d94c Bug 1386620 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks
2017-07-21 12:27:35 +02:00
Julian Descottes e4f4b31aa1 Bug 1386620 - dt-addon: move devtools-startup to devtools shim folder;r=ochameau
MozReview-Commit-ID: GNFAyfXHIa9
2017-07-20 18:56:39 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Brian Grinstead 5edc019046 Bug 1385157 - Don't focus jsterm if the output region wasn't clicked;r=nchevobbe
MozReview-Commit-ID: Gv60PSFKErD
2017-07-31 11:57:47 -07:00
Alexandre Poirot 910ca1e1bf Bug 1378863 - Add telemetry probe to track DevTools entry points. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: CvhK7Lvw5oP
2017-07-06 19:34:10 +02:00
Julian Descottes 02b755a48a Bug 1378820 - remove usage of sdk/clipboard in devtools clipboard helper;r=gl
Remove previous helper APIs:
- currentFlavors()
- getData()

The only consumer for both APIs was in devtools/cient/inspector/inspector.
The logic was:
- call currentFlavors()
- if clipboard contains:
  -  "text/unicode"
  or
  - "text/html" but not "image/png"
- then call getData()

But actually calling getData() without any argument means that unless "image/png"
flavor is available, we will always use the "text/unicode" flavor.
(see current code for sdk helper: http://searchfox.org/mozilla-central/rev/09c065976fd4f18d4ad764d7cb4bbc684bf56714/addon-sdk/source/lib/sdk/clipboard.js#204-209)

If the text/unicode flavor was available at the same time as image/png, the code
would have returned the image data, which is probably not what we expect in the
context of the inspector.

I think we should explicitly request for text/unicode. So this patch introduces
a new getText() api in the devtools clipboard helper, which is a simplified version
of the sdk get() helper. We could always extend it to also support text/html.


MozReview-Commit-ID: E3JVj9boVKe
2017-07-31 14:02:37 +02:00
Tom Tromey b7ccf51b81 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO
2017-07-07 12:53:32 -06:00
Alexandre Poirot 962f5370c6 Bug 1385226 - Fix gcli Shift+F12 key shortcut. r=jdescottes
MozReview-Commit-ID: Bcs14MEyHXF
2017-07-28 11:53:05 +02:00
Sebastian Hengst 0f53503b6b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Gabriel Luong cd44dec43a Bug 1384976 - Remove the height transition from the pseudo class panel. r=micah 2017-07-30 00:09:50 -04:00
Jason Laster 61fd371b3e Bug 1385421 - Upgrade Debugger Frontend 7/28 (0.11). r=gtatum 2017-07-29 13:07:22 -04:00
Luciano Italiani 7480cc09d7 Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
MozReview-Commit-ID: 4WkNg0YrgHx
2017-07-27 23:01:13 -03:00
Wes Kocher 329a1baf34 Merge inbound to central, a=merge
MozReview-Commit-ID: JNxfwQh0cac
2017-07-28 17:40:43 -07:00
Ruturaj K. Vartak 80b7f62141 Bug 1364096 - Autocomplete for network monitor flag values. r=ntim, r=jdescottes 2017-07-28 03:11:00 -04:00
Carsten "Tomcat" Book 45036acc75 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Carsten "Tomcat" Book 4c1b3192ca Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Carsten "Tomcat" Book e856225f55 Backed out changeset 7adefc652d95 (bug 1351148) 2017-07-28 09:20:14 +02:00
Wes Kocher 4defdff7be Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
Sebastian Hengst c39e9e2704 Backed out changeset c0f919689e48 (bug 1378824) for failing eslint at devtools/client/inspector/webpack.config.js:166:3 with: Newline required at end of file but not found. r=backout on a CLOSED TREE 2017-07-27 18:34:21 +02:00
Sebastian Hengst 4431184ddb merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-07-27 18:18:54 +02:00
Sebastian Hengst 595c1fb799 Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: E0RLmP6mojT
2017-07-27 18:16:52 +02:00
Sebastian Hengst 143b3e13d6 Backed out changeset e2100bb65c97 (bug 1369801)
MozReview-Commit-ID: FuPL5W8IY7S
2017-07-27 18:15:03 +02:00
Sebastian Hengst 9dca328d23 Backed out changeset 1b1a7c913f13 (bug 1369801)
MozReview-Commit-ID: 2NsnAuV8hF3
2017-07-27 18:14:58 +02:00
Sebastian Hengst 89fac36463 Backed out changeset d0ed0997f4e0 (bug 1369801)
MozReview-Commit-ID: P1ViGMmdnT
2017-07-27 18:14:48 +02:00
Sebastian Hengst c1e14f6557 Backed out changeset a31f0c8450a8 (bug 1369801)
MozReview-Commit-ID: 6jOXOX1WfFy
2017-07-27 18:14:43 +02:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst f1c07a367b Backed out changeset 898739a110fc (bug 1369801)
MozReview-Commit-ID: AFOT8Td2XXX
2017-07-27 18:14:28 +02:00
Sebastian Hengst d66790bf1e Backed out changeset 3ab3a5481b90 (bug 1369801)
MozReview-Commit-ID: KOBAIPo7laO
2017-07-27 18:14:13 +02:00
Sebastian Hengst a95badd051 Backed out changeset 0462e7a66185 (bug 1369801)
MozReview-Commit-ID: Hc6hLI0Ywxj
2017-07-27 18:14:08 +02:00
Sebastian Hengst b0b2270552 Backed out changeset 082ece5eba4d (bug 1369801)
MozReview-Commit-ID: LinIFYwj1fW
2017-07-27 18:14:03 +02:00
Sebastian Hengst 428d3ddf8a Backed out changeset ad2610a5e6ba (bug 1369801)
MozReview-Commit-ID: 8fzyVFiiN0D
2017-07-27 18:13:29 +02:00
Carsten "Tomcat" Book 3fe83e45ea merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Wes Kocher 30e589816e Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Jason Laster 7f48074676 Bug 1384391 - Upgrade Debugger Frontend v0.10 (7/25). r=jdescottes 2017-07-26 06:46:00 -04:00
Sebastian Hengst 48a3ab21ca merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-07-27 18:20:18 +02:00
Junior Hsu f3a99c30c7 Bug 1373198 - Part 12: Disable RCWN for the devtools mochitest. r=rickychien 2017-07-26 04:18:00 -04:00
Micah Tigley 7cb962326f Bug 1369942 - Display Negative Line Numbers in CSS Grid Inspector. r=zer0
MozReview-Commit-ID: FmOj7jVT3Ll
2017-07-26 18:27:36 -06:00
Nicolas Chevobbe abb470b008 Bug 1383017 - Remove border for top-level messages. r=bgrins
This adds a data-indent attribute to the message indent component
so we can target it in CSS.

MozReview-Commit-ID: DEUTHe42Pa0
2017-07-18 17:00:14 +01:00
Brian Grinstead b5d0055391 Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o
2017-07-26 15:14:07 -07:00
Daisuke Akatsuka 06d52033ea Bug 1368472: wait if setCurrentTimes is running. r=gl
MozReview-Commit-ID: 3QsRNdta9Z9
2017-07-27 21:17:34 +09:00
sole 52f18561ec Bug 1378824 - Stop using sdk/util/uuid in DevTools. r=jdescottes
MozReview-Commit-ID: 18nh2NT5fEE
2017-07-27 11:28:45 +01:00
sole 655875222c Bug 1378824 - Stop using sdk/util/uuid in DevTools. r=jdescottes
MozReview-Commit-ID: KdIK4Vlrp4s
2017-07-28 14:36:33 +01:00
Gabriel Luong e2a77203c9 Bug 1376774 - Restore the highlighter states on markup loaded prior to emitting the "new-root" event. r=jdescottes 2017-07-26 16:26:09 -04:00
Julian Descottes 7a6623f98e Bug 1369801 - move devtools.inspector.enabled to devtools-startup-prefs;r=ochameau
MozReview-Commit-ID: BojshjPhVGe
2017-07-25 22:09:01 +02:00
Julian Descottes fe052d64cc Bug 1369801 - dt-addon: move devtools-startup to devtools shim folder r=ochameau
MozReview-Commit-ID: GNFAyfXHIa9
2017-07-20 18:56:39 +02:00
Julian Descottes 72ca589618 Bug 1369801 - dt-addon: clear extensions.lastAppVersion when creating browser toolbox profile;r=ochameau
This is needed to:
1. force the devtools system addon installation when starting the BT instance of FF
2. avoid the addon update prompt

Another approach is to create a separate user.js pref file to fix 1. However with this
approach there is currently no way to fix 2.

MozReview-Commit-ID: palK2hION0
2017-07-06 02:48:41 +02:00
Julian Descottes 5554fc2ba6 Bug 1369801 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3
2017-07-12 19:26:33 +02:00