Commit Graph
7430 Commits
Author SHA1 Message Date
Gabriel Luong b5a26a472b Bug 1386108 - Update Computed stylesheet to use more specific selectors. r=jdescottes 2017-08-01 20:56:57 -04:00
Nicolas Chevobbe 57ebd06ef5 Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF
2017-08-01 16:27:00 +02:00
Nicolas Chevobbe 94acc569b1 Bug 1380709 - Fetch Map/Set entries when expanding the Object Inspector. r=bgrins
Add getObjectEntries and loadObjectEntries as props for the ObjectInspector so
we can display entries on Maps and Sets.

MozReview-Commit-ID: Cy6SjxwclHI
2017-08-01 16:17:00 +02:00
Nicolas Chevobbe 644adfb2fb Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7
2017-08-01 14:45:32 +02:00
Julian Descottes 6016928210 Bug 1361333 - use a common Sandbox instance to retrieve devtools globals;r=ochameau
MozReview-Commit-ID: L7Xkh6KkFb4
2017-08-01 14:52:23 +02:00
Julian Descottes ead972f6c6 Bug 1361333 - move sdk/util/indexed-db to devtools;r=ochameau
MozReview-Commit-ID: Lt4V6kmQACq
2017-07-31 21:55:33 +02:00
Brian Grinstead 2d4ca18cef Bug 1386724 - Force devtools-browser to be loaded in shared-head.js;r=jdescottes
If a devtools entry point isn't hit in a test (toolbox open, keyboard shortcut,
opening the web dev menu, etc), then things like the menu items aren't installed.
This is for performance reasons (Bug 1359855), but it means that some tests
may fail when run alone. Prevent that from happening by forcing devtools to start
up in shared-head.js.

This causes certain tests to fail when run alone if they don't open the tools

MozReview-Commit-ID: ANuUhYXIbSF
2017-08-02 10:08:16 -07:00
Nicolas Chevobbe 308ac6bf39 Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF
2017-08-01 16:27:00 +02:00
Nicolas Chevobbe 92875b786e Bug 1380709 - Fetch Map/Set entries when expanding the Object Inspector. r=bgrins
Add getObjectEntries and loadObjectEntries as props for the ObjectInspector so
we can display entries on Maps and Sets.

MozReview-Commit-ID: Cy6SjxwclHI
2017-08-01 16:17:00 +02:00
Nicolas Chevobbe 331aeef538 Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7
2017-08-01 14:45:32 +02:00
sole 761cd98c63 Bug 1378864 - Stop using sdk/core/heritage in DevTools shared specs/string. r=zer0
MozReview-Commit-ID: Hm0BkzhFfkV
2017-08-01 10:03:58 +01:00
Julian Descottes bd8cf49a5c Bug 1361332 - replace sdk/util/object by Object.assign in devtools;r=zer0
MozReview-Commit-ID: 3IREzyuAjAF
2017-07-31 19:53:37 +02:00
Xidorn Quan d617693a48 Bug 1383075 part 2 - Update CSS lexer in devtools to match the change. r=jryans
MozReview-Commit-ID: LO7ZMeLgJdJ
2017-07-31 09:23:01 +10:00
Wes Kocher df8bcfb77d Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: Ko3lhAvzMJN
2017-08-03 18:22:09 -07:00
Nicolas Ouellet-Payeur 2fa26e2e05 Bug 1368202 - convert uses of "defer" to "new Promise" in client/inspector r=tromey
MozReview-Commit-ID: lXAVyomDlV
2017-08-03 00:28:05 -07:00
Tom Tromey 70a7919a33 Bug 1384943 - add initial implementation of SourceMapServiceWrapper; r=bgrins
This adds a simple wrapper for the source map service.  This wrapper
logs errors using console.error, preserving the status quo from before
this series.

MozReview-Commit-ID: 2ckUZaerrcJ
2017-07-31 15:57:07 -06:00
Tom Tromey d7c97cdbde Bug 1384943 - import bundles from devtools-source-map 0.10.0; r=bgrins
MozReview-Commit-ID: HfnDfd15IPB
2017-07-28 10:55:43 -06:00
J. Ryan Stinnett af368c2117 Bug 1386053 - Skip remaining DevTools Stylo failures. r=manishearth
MozReview-Commit-ID: TcexGI0JkG
2017-08-03 13:32:25 -05:00
Sebastian Hengst a48bc3cc94 Backed out changeset 17aff9906595 (bug 1386584) because bug 1386299 had to be backed out. r=backout on a CLOSED TREE 2017-08-03 14:02:17 +02:00
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
Julian Descottes 8796d7a48f Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9
2017-08-02 13:24:14 +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
J. Ryan Stinnett cc38702d42 Bug 1384789 - Check ancestor URLs to avoid sheet cycles. r=bgrins
With Stylo, an import rule from a cycle _will_ have a `styleSheet` object, so we
need to also check the sheet's ancestors to see if the URL is unique.

MozReview-Commit-ID: B33REaSGGYU
2017-07-27 17:23:22 -05: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
sole cdeba1e6cf Bug 1378857 - Stop using sdk/core/heritage in DevTools server/primitive. r=jdescottes
MozReview-Commit-ID: 2NQ2iSQKB0g
2017-07-28 17:03:32 +01: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 f26bf21549 Backed out changeset ad2a532a50f0 (bug 1369801)
MozReview-Commit-ID: DXiSnLmo6zE
2017-07-27 18:14:53 +02:00
Sebastian Hengst 89fac36463 Backed out changeset d0ed0997f4e0 (bug 1369801)
MozReview-Commit-ID: P1ViGMmdnT
2017-07-27 18:14:48 +02:00