Commit Graph
6746 Commits
Author SHA1 Message Date
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
Sebastian Hengst 3253010f70 Backed out changeset f85fbccf2c1f (bug 1380709) for failing devtools' browser_dynamic_tool_enabling.js on Windows 8 x64 debug with e10s. r=backout 2017-08-02 18:06:31 +02:00
Sebastian Hengst cbb8f10459 Backed out changeset 306169f86028 (bug 1380709) 2017-08-02 18:05:21 +02:00
Sebastian Hengst 35840907da Backed out changeset 44cfd92f709c (bug 1380709) 2017-08-02 18:05:20 +02:00
Masatoshi Kimura c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Julian Descottes 5444f8d505 Bug 1386412 - fix race conditions in browser_service_workers_multi_content_process.js;r=ochameau
MozReview-Commit-ID: JnvTkmDrbDo
2017-08-02 08:35:10 +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
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
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
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 a0079b521f Backed out changeset 98e6c8bf442e (bug 1369801)
MozReview-Commit-ID: YU31Ujz18C
2017-07-27 18:14:33 +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 3d39592821 Backed out changeset 148d11a549ce (bug 1369801)
MozReview-Commit-ID: AIvxY8960pa
2017-07-27 18:14:23 +02:00
Sebastian Hengst 7724f41f04 Backed out changeset 435291ffe259 (bug 1369801)
MozReview-Commit-ID: EEX45P93sID
2017-07-27 18:14:18 +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 0adaf383ff Backed out changeset 71b891583296 (bug 1369801)
MozReview-Commit-ID: A6KDPVjAL8X
2017-07-27 18:13:58 +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