Commit Graph

7143 Commits

Author SHA1 Message Date
Jan Odvarko
314654aeaa Bug 1362036 - Implement tests; r=nchevobbe
MozReview-Commit-ID: KvvWrHUC8m6

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_click.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_openinnet.js
extra : rebase_source : 0043442a231d7b55734de83bf67486e3b99d2b87
2017-08-30 15:16:39 +02:00
Jan Odvarko
386d7b4272 Bug 1362036 - Open in network panel; r=nchevobbe
MozReview-Commit-ID: 3Cg0PVITRVG

--HG--
extra : rebase_source : 97db52fd57eb9e51af415368dbb3f6c2de13b579
2017-08-30 15:16:39 +02:00
Jan Odvarko
a39d041f73 Bug 1362036 - Remember active network tab id; r=nchevobbe
MozReview-Commit-ID: BXiWywtQMwI

--HG--
extra : rebase_source : 6322bf36f33fa31d7b46db5bb7e80f9dfd1c22ed
2017-08-30 15:16:39 +02:00
Jan Odvarko
bc02e69656 Bug 1362036 - Implement http inspection in new console; r=nchevobbe
MozReview-Commit-ID: FhYePLM2T3O

--HG--
extra : rebase_source : 79f3cd0d99aee930b97ac1b0323e62bd9b6aa732
2017-08-30 15:16:39 +02:00
Sebastian Hengst
a56d428b1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gf0QPFp52Bj
2017-08-30 11:05:16 +02:00
Wes Kocher
de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Sebastian Hengst
558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
Sebastian Hengst
2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Gabriel Luong
5782fcc756 Bug 1393825 - Update Codemirror to 5.29.0. r=bgrins 2017-08-29 01:18:54 -04:00
Sebastian Zartner
bb40d6bc77 Bug 1336934 - Added option to remove all session cookies for a specific domain r=miker
MozReview-Commit-ID: Anm6aHQOlkO

--HG--
extra : rebase_source : aba29ba0173e0176f8e9676aa0a6e17b70b0eae9
2017-08-27 00:33:33 +02:00
Julian Descottes
b9d70cdb70 Bug 1393395 - synchronize network monitor tick marker colors with font colors;r=ntim
MozReview-Commit-ID: KgzoXMj14Dt

--HG--
extra : rebase_source : ea974c153b1cbfc7577e25be234b1cb2e41b1fed
2017-08-25 00:07:50 +02:00
Masatoshi Kimura
26cc0cb408 Bug 1098412 - Remove and update tests that use __iterator__. r=luke
MozReview-Commit-ID: 7mxZYAceiuN

--HG--
extra : rebase_source : c3ef5cd42b80919e004c90dd0feb7027ec4379d7
2017-08-24 22:25:25 +09:00
Gabriel Luong
3fe5d4ed38 Bug 1391487 - DevTools toolbar should match the size of the Photon compact toolbar. r=bgrins 2017-08-18 14:09:16 -07:00
Gabriel Luong
65345ac162 Bug 1394513 - Part 2: Fix the devtools separator styling in the webconsole and make the filter message text unselectable. r=bgrins 2017-08-29 20:39:55 -04:00
Gabriel Luong
ebb16cb477 Bug 1394513 - Part 1: Use the same separator styles as photon for the toolbox tab separator. r=bgrins 2017-08-29 20:39:46 -04:00
Wes Kocher
d03d9bee49 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJmeuDcuHke
2017-08-28 17:45:07 -07:00
Jason Laster
f648960668 Bug 1394495 - Debugger creates a an unnecessary breakpoint on reload. r=jdescottes
MozReview-Commit-ID: 52pCRgoseb4
2017-08-29 02:02:19 +02:00
Francesco Lodolo (:flod)
ebac958b65 Bug 1394195 - Reorder and fix access keys, remove unnecessary comments in debugger.properties r=jdescottes
MozReview-Commit-ID: 1dUMsYQRZFm

--HG--
extra : rebase_source : 8be319076f140ad2621fc046156417b860a842f1
2017-08-27 09:12:22 +02:00
Alexandre Poirot
3675c8a0f9 Bug 1382377 - Make Console API be a no-op until DevTools are opened at least once. r=baku,jdescottes
MozReview-Commit-ID: 4xuzRQKH3Vg

--HG--
extra : rebase_source : f388a7222df314c988c3af20afb59684cc1045e5
2017-08-08 16:29:34 +02:00
Jan Odvarko
92339de98b Bug 1362036 - Generate stubs; r=nchevobbe
MozReview-Commit-ID: ILcUaOuO3IG

--HG--
extra : rebase_source : 4ce3e27ff18c7367815721f49eb535f7f741df77
2017-08-30 15:16:40 +02:00
Jan Odvarko
f38bfdeedf Bug 1362036 - Implement tests; r=nchevobbe
MozReview-Commit-ID: KvvWrHUC8m6

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_click.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_openinnet.js
extra : rebase_source : 0043442a231d7b55734de83bf67486e3b99d2b87
2017-08-30 15:16:39 +02:00
Jan Odvarko
7c0af71014 Bug 1362036 - Open in network panel; r=nchevobbe
MozReview-Commit-ID: 3Cg0PVITRVG

--HG--
extra : rebase_source : 97db52fd57eb9e51af415368dbb3f6c2de13b579
2017-08-30 15:16:39 +02:00
Jan Odvarko
13106566f9 Bug 1362036 - Remember active network tab id; r=nchevobbe
MozReview-Commit-ID: BXiWywtQMwI

--HG--
extra : rebase_source : 6322bf36f33fa31d7b46db5bb7e80f9dfd1c22ed
2017-08-30 15:16:39 +02:00
Jan Odvarko
a96b19f3f7 Bug 1362036 - Implement http inspection in new console; r=nchevobbe
MozReview-Commit-ID: FhYePLM2T3O

--HG--
extra : rebase_source : 79f3cd0d99aee930b97ac1b0323e62bd9b6aa732
2017-08-30 15:16:39 +02:00
Ryan VanderMeulen
21b6caf65a Bug 1386410 - Skip browser_toolbox_custom_host.js for permafailing on uplift to Beta. r=bgrins, f=pbro
--HG--
extra : histedit_source : cff91060d995a81a32f0ac415532d5ce45f07105
2017-08-03 17:32:32 -04:00
Alexandre Poirot
04d58889a0 Bug 1379016 - Hide about:devtools-toolbox from about:about. r=pbro
MozReview-Commit-ID: 8SKXyLgyBam

--HG--
extra : rebase_source : a083616baca88f5e1e3051e8ecd1d25ccabd0ef8
2017-08-24 12:02:34 +02:00
Phil Ringnalda
e6458e1fee Merge m-i to m-c, a=merge
MozReview-Commit-ID: AYBlGJan6UL
2017-08-26 18:18:02 -07:00
Sebastian Zartner
26e2549ed0 Bug 1303392 - Used uppercase 'S' for 'Shift' in color swatch title r=gl
MozReview-Commit-ID: 8BB3jvujGzo
2017-08-25 00:47:17 +02:00
Wes Kocher
68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Sebastian Hengst
6fd5b9e1ca merge mozilla-central to autoland. r=merge a=merge 2017-08-25 13:19:59 +02:00
Sebastian Hengst
31302b9cec merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5armhVE9Jui
2017-08-25 13:12:04 +02:00
Ryan VanderMeulen
22d133ea9e Merge m-c to inbound. a=merge 2017-08-24 20:21:30 -04:00
Wes Kocher
4ea67d0e07 Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Oriol Brufau
519e4af9fe Bug 1390701 - Let devtools consider system principal proxy objects to be unsafe. r=jimb 2017-08-24 06:38:00 -04:00
Ricky Chien
ced3965c46 Bug 1392873 - Fix missing all-tabs-menu when detaching devtools to a separate window r=Honza
--HG--
extra : rebase_source : 29a4a7466b9e4615f8ee0aca832813c7acc8ca4f
2017-08-23 14:18:21 +08:00
Andrew Halberstadt
cae249f833 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : d907a5b2192687d86e3291a936c943948ed6793f
2017-08-22 16:56:02 -04:00
Julian Descottes
3e2d929cd8 Bug 1378862 - remove usage of sdk heritage in devtools protocol.js;r=zer0
MozReview-Commit-ID: 8hyEroQwnNL

--HG--
extra : rebase_source : 9e5d09ab497b9b2ad102b45d33328f109f63cbeb
2017-08-21 20:21:48 +02:00
Brian Grinstead
dbec5aa793 Bug 1392744 - Pass the port along to the browser toolbox chrome uri;r=jryans
This allows multiple browser toolboxes to be opened at once, assuming the host
profiles have different values for devtools.debugger.chrome-debugging-port

MozReview-Commit-ID: 1bzsZFww4Zv

--HG--
extra : rebase_source : a2f631bb9d67ce4eabb9e8b1a2c3c32a5b8fd574
2017-08-24 10:03:47 -07:00
Wes Kocher
7ea5ed6e6a Merge m-c to autoland, a=merge
MozReview-Commit-ID: LEKykpTAKjv
2017-08-25 17:32:33 -07:00
Mike Park
f0b1dbb7ba Bug 1385398 - Change the appearance of CSS shapes highlighter markers. r=pbro
MozReview-Commit-ID: JO4TZ1Gsr6m
2017-07-28 15:28:08 -04:00
Wes Kocher
cf93b6ca0d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BlE0HFQUP9c
2017-08-31 16:56:58 -07:00
ZER0
c3c1fc66d4 Bug 1378847 - Replaced SDK extend with DevTools extend; r=jdescottes
MozReview-Commit-ID: 2OMlzrez6w1
2017-08-25 17:48:16 +02:00
Joel Maher
0c7f7a9621 Bug 1334683 - disable devtools/client/debugger/test/mochitest/browser_dbg_worker-console-03.js on debug. r=RyanVM 2017-08-25 11:15:44 -04:00
J. Ryan Stinnett
24b188626d Bug 1386384 - Update DevTools CSS stubs for Stylo. r=bgrins
Two specific changes have occurred with Stylo:

* `lineText` is no longer set because it caused performance regressions to
  compute it and it is currently unused by DevTools.
* `columnNumber` is computed differently with Stylo.  It's currently the
  beginning of property, instead of the end.  Bug 1378861 is filed for future
  improvements to this info.

MozReview-Commit-ID: 5vTdjNbuhXe

--HG--
extra : rebase_source : 402f957c431f47234ab83acbf3375d66ecabaf16
2017-09-06 12:34:57 -05:00
Wes Kocher
a65f83f1c8 Backed out changeset 3adbca67c67a (bug 1386384) for failures in browser_webconsole_check_stubs_css_message.js a=backout
MozReview-Commit-ID: KcVljvaTReX
2017-09-06 13:47:13 -07:00
Tom Tromey
56aed5d1d1 Bug 1390455 - regression test for CSS rule columns; r=gl,jryans
This adds an integration test for the CSS rule column issue from bug
1390455.  The fix was landed in upstream rust-cssparser.

MozReview-Commit-ID: 34rLhe3BCqx

--HG--
extra : rebase_source : 2b2bcf88ca3a2ba2b90bc703d7c4e07a2422ca7f
2017-09-05 11:39:45 -06:00
Alexandre Poirot
4a603969ef Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X

--HG--
extra : rebase_source : e4acc31da93eb8d88f5dbc075036d1130511ceee
2017-09-06 18:54:07 +02:00
J. Ryan Stinnett
c1ce25b771 Bug 1386384 - Update DevTools CSS stubs for Stylo. r=bgrins
Two specific changes have occurred with Stylo:

* `lineText` is no longer set because it caused performance regressions to
  compute it and it is currently unused by DevTools.
* `columnNumber` is computed differently with Stylo.  It's currently the
  beginning of property, instead of the end.  Bug 1378861 is filed for future
  improvements to this info.

MozReview-Commit-ID: 5vTdjNbuhXe

--HG--
extra : rebase_source : 7a21eacb97b89f067d448c252c5e8a4e4307889c
2017-09-06 12:34:57 -05:00
Patrick Brosset
2d31297cd5 Bug 1382576 - Switch over from the old-event-emitter to event-emitter in the animation inspector; r=jdescottes
MozReview-Commit-ID: ftItsTkomw

--HG--
extra : rebase_source : eb2facf35130f8b3805fafdb16087cf807471ae7
2017-09-06 16:51:50 +02:00
Julian Descottes
486b639aa9 Bug 1397287 - remove usage of addon-sdk node/os helper in devtools/shared/system;r=sole
MozReview-Commit-ID: 7JrIeSlmSuj

--HG--
extra : rebase_source : 3aa028a47b5d0e7f72e838d898e6c7b9c2353a0c
2017-09-06 16:35:11 +02:00
Xavier ALT
1747ff8bd1 Bug 1360082 - Network monitor: use devtools theme alt color for bare json strings in response viewer r=Honza
MozReview-Commit-ID: Kix16P6XaWz

--HG--
extra : rebase_source : 73c2c33977c213e41914356ce1d76c439135a236
2017-08-19 23:36:07 +02:00
André Bargull
254fb3bbde Bug 1381433 - Throw when Date.prototype.toString is called with non-Date object per ES2018 spec draft. r=till, r=bgrins 2017-07-17 03:43:15 -07:00
Cosine
f392faaf4d Bug 1085119 - Part 2: Add unit tests for css-logic row and column precedence r=tromey
MozReview-Commit-ID: 4zz7hFOQJAj
2017-08-31 16:49:29 -04:00
Cosine
91ae972521 Bug 1085119 - Part 1: Make devtools css-logic consider column when choosing best rule r=tromey
This allows minified CSS to be displayed correctly, as in
http://jsfiddle.net/oy4rkyax/

MozReview-Commit-ID: F8buX4gYY2P
2017-08-31 16:47:52 -04:00
Gabriel Luong
9cda299878 Bug 1397133 - Adjust the sidebar and accordion background colors for the dark theme. r=bgrins 2017-09-06 17:27:31 -04:00
Jan Odvarko
54796f8e3c Bug 1394681 - Properly open links. r=rickychien
MozReview-Commit-ID: HdtFyQnIOUj
2017-09-06 12:27:17 +02:00
Gabriel Luong
e0b09e2d93 Bug 1397094 - Use the --theme-body-background color for the breadcrumbs. r=pbro 2017-09-06 10:56:11 -04:00
Sebastian Hengst
2e163c99b1 Backed out changeset 1bfbae351dd7 (bug 863246) 2017-08-25 16:43:44 +02:00
Sebastian Hengst
a8f25b8f67 Backed out changeset a7b0c6ddd812 (bug 863246) 2017-08-25 16:43:33 +02:00
Julian Descottes
a6d0738aff Bug 1327674 - clear the html-editor undo/redo stack when switching to a new node;r=pbro
MozReview-Commit-ID: 7Sy4SDrPO2A

--HG--
extra : rebase_source : 6f28bc28cb532a6703f38bc72ca07bf6a3f6ec1b
2017-08-25 14:34:23 +02:00
Rahul Chaudhary
087b46a0b9 Bug 1145527 - Display the inherited and used CSS Variable in the rule view. r=tromey
Displays which CSS variable is used in the rule view.
Displays the actual variable value on the variable name's title property.
Displays all the inherited CSS variables on the selected element in the rule view.



MozReview-Commit-ID: 52uLJA123AP
2017-07-02 22:39:45 +02:00
Sebastian Hengst
ab6a6e1367 merge mozilla-central to autoland. r=merge a=merge 2017-08-24 13:30:00 +02:00
Sebastian Hengst
aeacc34883 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6TGQRm8SSk0
2017-08-24 13:28:57 +02:00
Patrick Brosset
a8c9407c23 Bug 1378849 - Stop using add-on SDK APIs in the webaudio editor; r=sole
MozReview-Commit-ID: AXMub2xwA8Q

--HG--
extra : rebase_source : f4e6b4969ac6e1b0217264165b9a30a0000dcfe7
2017-08-22 17:58:15 +02:00
Nicolas Chevobbe
942e4427a5 Bug 1392614 - Add an onEnumSymbols function on the object actor. r=ochameau
This will enable lazy loading symbols for a grip if needed.
This patch introduce a new SymbolIteratorActor, which is similar
to PropertyIteratorActor but with a data structure that better
fits symbols, and how we already handle them, i.e. an `ownSymbols`
array property (and not an `ownProperties` object like PropertyIteratorActor).

We take this as an opportunity to add a test for enumSymbols, but also
for enumProperties that did not have server unit tests (it is only tested
in the frontend with the variable view, which might be deprecated at some
point).

MozReview-Commit-ID: IEIKA8zwH90

--HG--
extra : rebase_source : 377526321e04e28ffc58ed7af7f4325b6e1ee66d
2017-08-22 12:07:48 +02:00
Kris Maglione
821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Wes Kocher
fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Nicolas Chevobbe
7d098a2512 Bug 1392954 - Fix DebuggerClient.requester Promise response. r=ochameau
The promise returned by a function created with DebuggerClient.requester was
resolved with the raw response, i.e. without any modifications that could
happen in the after callback.

MozReview-Commit-ID: Bd81eTsZ9YB

--HG--
extra : rebase_source : 304a93aa90f5100b60cd27dcb88d4b101a307661
extra : source : 00159b917049461606286cd2fa13e5699b56fd37
2017-08-23 11:42:44 +02:00
Brian Grinstead
4752caa33a Bug 1389939 - Stop syncing devtools theme and compact themes;r=Gijs
MozReview-Commit-ID: GUjgHU5pgg1

--HG--
extra : rebase_source : eeed943d058a0649a899be9295c63c37c8bbfd8d
2017-08-23 10:18:51 -07:00
Wes Kocher
bd5fb0a92d Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHOFLdPkEou
2017-08-23 18:08:30 -07:00
Oriol Brufau
d8c8ddd9c4 Bug 1389787 - Let the console unwrap proxy objects to avoid running traps. r=jimb
--HG--
extra : rebase_source : 5500c4442354856112a2177a23dd905e49afff18
2017-08-23 15:50:00 -04:00
Joel Maher
153a6606b8 Bug 1385304 - Disable devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-05.js. r=me a=testonly 2017-08-23 13:54:52 -04:00
Jason Laster
9aee587e37 Bug 1391719 - update debugger frontend (8/16/2017) v=0.12 - tests, locales and preferences. r=jdescottes
MozReview-Commit-ID: 6c0aFxRuec6

--HG--
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-searching.js => devtools/client/debugger/new/test/mochitest/browser_dbg-search-sources.js
extra : rebase_source : 48f2424050d159d865e89cd29dc432f719033a0d
2017-08-23 19:13:15 +02:00
Jason Laster
955c12f10e Bug 1391719 - update debugger frontend (8/16/2017) v=0.12 - webpack bundle files. r=jdescottes
MozReview-Commit-ID: HQgBYFFtZCs

--HG--
extra : rebase_source : 3e93d7025c6363938f1fdf1defa42ce66ae77481
2017-08-23 19:12:34 +02:00
Jason Laster
78573d37fe Bug 1391719 - add lodash (devtools).r=gerv
Lodash is a utility that is currently used in the debugger.
It would be nice to vendor it separately so that the library can
be used by other tools as well. Another reason to vendor it separately
is that it will keep the debugger file's line count smaller.

MozReview-Commit-ID: IzxxTzGbIVQ

--HG--
extra : rebase_source : 034e88d83063ca187a6dd88677edc04878d1d76d
2017-08-23 19:11:56 +02:00
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Wes Kocher
655a23a70a Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxIXNml1xZW
2017-08-22 17:24:16 -07:00
Wes Kocher
6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Julian Descottes
68384c971b Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw

--HG--
extra : rebase_source : f363f9cb0027b20d9c8c5cb684af3b295b9ad289
2017-08-22 16:31:44 +02:00
Julian Descottes
aaa695596c Bug 1354472 - use readable colors for netmonitor in dark theme;r=ntim
MozReview-Commit-ID: J0Ke2W6Arj6

--HG--
extra : rebase_source : f846e0ddcfa92aa2c841bb9014dc1728ceeb9efe
2017-08-22 21:06:57 +02:00
Masatoshi Kimura
b3d2965807 Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
MozReview-Commit-ID: 8F1DtgakxM3

--HG--
extra : rebase_source : 05c42a3236ad55356a9149d8107e4a569fc06cd0
2017-08-19 15:04:13 +09:00
Alexandre Poirot
f96db08ae3 Bug 1388709 - Remove console originAttributes property. r=baku,kmag
MozReview-Commit-ID: jwUAKSEgZE

--HG--
extra : rebase_source : e83b048165998e750f7c169a9b8b8b9d700a3cf8
2017-08-08 14:30:44 +02:00
Julian Descottes
23efb92efc Bug 1391563 - stop exporting event-emitter emit method from devtools protocol.js;r=ochameau
MozReview-Commit-ID: Eeh55k6DDCd

--HG--
extra : rebase_source : 4a0c5d3704baf673aaac51ba7702546532bd6056
2017-08-18 17:16:12 +02:00
Julian Descottes
024a25f592 Bug 1386616 - dt-addon: move key-shortcuts.properties to devtools/shim/locales;r=ochameau
MozReview-Commit-ID: 9zUqnuYIdWS

--HG--
rename : devtools/client/locales/en-US/key-shortcuts.properties => devtools/shim/locales/en-US/key-shortcuts.properties
extra : rebase_source : 806a6baa5886fbad2b50df80a7560b5300bd25b5
2017-08-02 16:20:58 +02:00
Julian Descottes
1e72d11d7b Bug 1386616 - dt-addon: create new devtools/shim locale;r=Pike
MozReview-Commit-ID: JVnBlBSPpw1

--HG--
extra : rebase_source : 1a8239167f5bfc98a170907e1337ac19b27e0799
2017-08-03 16:57:19 +02:00
Tim Nguyen
83fcd81dde Bug 1379099 - Replace the Style Editor spinner with a top down animation r=miker
MozReview-Commit-ID: 93LBp3t9bKb

--HG--
extra : rebase_source : 00ba98020640c3a1046028a8449154b6d348d845
2017-08-26 14:56:57 +02:00
Cosine
57789c39ee Bug 1390658 - Change getMoreDevtools menuitem to new collection r=pbro
The new collection is
https://addons.mozilla.org/firefox/collections/mozilla/framework-devtools/

This URL does not include locale (en-US) as opposed to a previous patch.

MozReview-Commit-ID: 6QdIPabjjmW

--HG--
extra : rebase_source : 10ed963e1ed52cd30169ed69ac783eadf7802045
2017-08-28 16:01:25 -04:00
Sebastian Hengst
de6f7dc3a1 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-08-25 13:21:40 +02:00
Jan de Mooij
a5de55dced Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Luca Greco
d16f2b431a Bug 1391218 - Fix 'getDocShellEnumerator is not a function' exception when closing the last tab in a window. r=ochameau
MozReview-Commit-ID: FUcCCljVClI

--HG--
extra : rebase_source : f5bc4f9c88ec17787ac72c053073e8cbbfdf748a
2017-08-21 20:14:55 +02:00
Nicolas Chevobbe
6f6f5b1480 Bug 1307880 - Add tests for the "Hidden messages" toolbar. r=bgrins
This adds some tests to ensure the hidden messages toolbar works
as expected. There are some for testing the component itself, as
well as some to test the store.
Some fixtures were modified as well to better represent the state
of the application.


MozReview-Commit-ID: 3Swqff1mbck

--HG--
extra : rebase_source : 48cff5c3c5e44e5aea9437d1243604ed69b19222
2017-08-08 15:27:03 +02:00
Nicolas Chevobbe
107889f3af Bug 1307880 - Show the number of filtered messages. r=bgrins
This adds a "filteredMessagesCount" property to the messages store,
which is updated at the same time as we update the "visibleMessages"
property.
The global number of hidden messages is then shown next to the text search
input, and a button can be clicked to Reset the filters to their original
values.
This only takes into account messages that are filtered-out because
the default filters changes. Which means that non-default filters, like
CSS, Network and XHR don't impact filteredMessagesCount.

We take this as an opportunity to rename the match*Filter functions to
pass*Filter, since it better represents what the function does (a network
message is not impacted by a level filter, but it can be misleading to say
that it matches level filters).

MozReview-Commit-ID: BLPmCFNtzEl

--HG--
extra : rebase_source : 8ea4abbc8f8847a306d3bac4fd87d07e0ccb8f89
2017-08-18 14:01:38 +02:00
Sebastian Hengst
2f56a032cd merge mozilla-central to autoland. r=merge a=merge 2017-08-22 11:50:08 +02:00
Ting-Yu Lin
c7dc325aed Bug 1388165 - Clear mPresContext after creating XBL styleset. r=xidorn
MozReview-Commit-ID: VBmKMTt8lc

--HG--
extra : rebase_source : e2b16da8f3d9c55a1485558f76285dc10c39b530
2017-08-22 14:46:25 +08:00
Wes Kocher
02a5ad9edd Merge m-c to inbound, a=merge
MozReview-Commit-ID: dovwD1TzZR
2017-08-21 17:10:59 -07:00
Gabriel Luong
6a1689dfaf Bug 1389732 - Add photon colors to variables.css. r=bgrins 2017-08-21 15:07:28 -07:00
Gabriel Luong
c5b7c91031 Bug 1391866 - Remove border-bottom from the last child of accordions. r=bgrins 2017-08-21 14:57:57 -07:00
Sebastian Hengst
54d8b1efae merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1yS8D5e0Ejz
2017-08-20 23:24:15 +02:00
Ruturaj K. Vartak
d9e47b7112 Bug 1337690 - Replace MDN link with an icon. r=ntim.
MozReview-Commit-ID: PYn6vCfxx
2017-08-20 11:20:26 +02:00
Phil Ringnalda
366675feaa Merge m-c to autoland
MozReview-Commit-ID: GCxEZcmHL2w
2017-08-19 15:34:44 -07:00
Gabriel Luong
0b4cf01b38 Bug 1391478 - Pseudo-elements container toggle should work with a click event instead of dblclick. r=bgrins 2017-08-18 14:08:59 -07:00
Wes Kocher
b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm
0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Julian Descottes
368c87be52 Bug 1391934 - stop using sdk/clipboard in devtools tests;r=gl
MozReview-Commit-ID: 9UB3nIeaI5g

--HG--
extra : rebase_source : 93ee894bff5540cdcd7981594face449271d8bb4
2017-08-19 11:25:29 +02:00
Nicolas Chevobbe
dfe817ef38 Bug 1389803 - Scroll the console to the bottom on Evaluation result. r=bgrins
This ensures that we scroll to the bottom when the user evaluate
something in the console.
A test is added to make sure this works as expected.

MozReview-Commit-ID: Arh6rftQeKo

--HG--
extra : rebase_source : ca79a1d7751ddd1d3a975dcfa60319f025e6588e
2017-08-18 17:46:52 +02:00
Julian Descottes
d148f3f8c0 Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i

--HG--
extra : source : da075933f7bcd9e3b7ff735879c521bb50f28b7a
2017-07-24 12:12:47 +02:00
Julian Descottes
721cd7ffa1 Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : source : b7435cd66ce3299d23f71a9bf855edbcb1ccacf2
2017-07-12 11:04:28 +02:00
Julian Descottes
8725798c60 Bug 1374735 - use DevToolsShim to create TabTarget in ext-devtools;r=mixedpuppy
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.

MozReview-Commit-ID: CeV5tfw1Vnz

--HG--
extra : source : 22baf4e67730ce89d5342cb0dd5c1e2e5944b4a1
2017-06-22 20:44:56 +02:00
Ryan VanderMeulen
b708734864 Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Julian Descottes
e88a15e62e Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i

--HG--
extra : rebase_source : 6a079c88e5908cc8f8a021bb0a12ea44670bc5ce
2017-07-24 12:12:47 +02:00
Julian Descottes
0cda1042cc Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : rebase_source : 018660cc54bf2454c1f810ded639fd647ba79da3
2017-07-12 11:04:28 +02:00
Julian Descottes
c6f45428f0 Bug 1374735 - use DevToolsShim to create TabTarget in ext-devtools;r=mixedpuppy
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.

MozReview-Commit-ID: CeV5tfw1Vnz

--HG--
extra : rebase_source : 515278b93ad9840f6af89fb13cc62bb819a65253
2017-06-22 20:44:56 +02:00
Nicolas Chevobbe
34c75ec998 Bug 1390177 - Change message hover style. r=bgrins.
This removes the blue-background on hover which mades the
messages hard to read, to a 3px left-colored border.

MozReview-Commit-ID: CKWodKuZDVs

--HG--
extra : rebase_source : b5dff597b97d108724aa336ff5a76c1b04eefb1f
2017-08-14 18:30:13 +02:00
Julian Descottes
a483c4620c Bug 1137935 - remove usage of sdk event-target in devtools;r=ochameau
MozReview-Commit-ID: 2lPCVNq7wN0

--HG--
extra : rebase_source : f18375b8b6d4138897d1707c489b5bce4f68f906
2017-08-16 15:17:24 +02:00
Julian Descottes
19c4c8493a Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
MozReview-Commit-ID: 2ab0Ol4Mq64

--HG--
extra : rebase_source : 22d0003b40e0fc49e309187ea3c943a6f5048db5
2017-08-16 15:11:21 +02:00
Julian Descottes
86f9684361 Bug 1137935 - add support for wildcard event type in devtools event emitter;r=ochameau
This API is only implemented as a temporary measure to ease the migration out of
sdk APIs.

MozReview-Commit-ID: BBlhxclpWqJ

--HG--
extra : rebase_source : 4de2e6ec946634acaf638777aab2589eeb5125a2
2017-08-17 16:42:50 +02:00
Wes Kocher
c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Wes Kocher
1d9f00cb8d Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Joel Maher
a4e30a204e Bug 1391371 - turn on non-e10s tests for windows7-debug. r=ahal
MozReview-Commit-ID: 9CzUf6Omk38
2017-08-17 15:46:03 -04:00
Xavier ALT
c15c300513 Bug 1385742 - Network monitor: allow filter buttons to wrap, avoid disable cache label to wrap r=ntim
MozReview-Commit-ID: 6EkpgkosV0W

--HG--
extra : rebase_source : cb6ec6233562da77324113bf95a51ab1f3796d6c
2017-08-11 00:08:45 +02:00
Nicolas Chevobbe
de608b80ae Bug 1380512 - Fix intermittent on browser_webconsole_check_stubs_console_api; r=Honza.
This hopefully fix the frequent intermittent on this test.
In the cleanPacket function, we are overriding the actor
of arguments. Thus, some server-calls were using an unknown
actorId, which resulted in errors.
We now create a new object for the argument for the stub so
we don't override anything.

MozReview-Commit-ID: EcvVUqQS3Dt

--HG--
extra : rebase_source : 4f373a4afcaf7d056e8a073a4dff382e6460197e
2017-08-16 11:23:54 +02:00
Joel Maher
37e666d005 Bug 1361891 - migrate devtools from windows 8 -> windows 10. r=Callek
MozReview-Commit-ID: G2ftAb5Egqo
2017-08-17 14:45:08 -04:00
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Brian Grinstead
7a5e02b5c2 Bug 1390927 - Only show the toolbox edit context menu on text inputs;r=gl
MozReview-Commit-ID: KRqKwwHkx1u

--HG--
extra : rebase_source : 9c0340deef1ba531f0d53cd14bfee92bca288308
2017-08-16 09:11:46 -07:00
Gabriel Luong
f161fe5430 Bug 1390727 - Add a consistent style for all the no result messages in the inspector sidepanel. r=bgrins 2017-08-16 10:36:55 -07:00
Gabriel Luong
ba7ddd2b5a Bug 1390746 - Add a consistent style for the accordion and section headers in the inspector sidepanels. r=bgrins 2017-08-16 10:32:45 -07:00
Gabriel Luong
f59ffe76d4 Bug 1390758 - Add missing top border for "This Element" section header in the rules view. r=bgrins 2017-08-16 10:32:39 -07:00
Carsten "Tomcat" Book
eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Gabriel Luong
1df5aa37ef Bug 1390298 - Fix unit tests with browser_boxmodel_navigation.js not recognizing ".boxmodel-main .devtools-monospace". r=me 2017-08-16 00:33:38 -07:00
Jan Odvarko
5183203fb1 Bug 1390077 - Add readme about stubs generator instructions; r=nchevobbe
MozReview-Commit-ID: Ka6igCDyqRE

--HG--
extra : rebase_source : b0800699349cfddce7252d5301152b3e8fe2285c
2017-08-15 15:10:49 +02:00
Gabriel Luong
dfd8ca657b Bug 1390298 - Change the fonts used in the Inspector. r=bgrins 2017-08-15 19:21:49 -07:00
KuoE0
fa58525e28 Bug 1384802 - Update the expectation of test cases. r=emilio,jryans
MozReview-Commit-ID: 6XtbkWWSFyr

--HG--
extra : rebase_source : 664431ccc8dba4cf3154bd26c2997f6ea110ba61
2017-08-15 10:21:13 +08:00
Brian Grinstead
b4afb98bec Bug 1388104 - Remove inspector-specific context menu handling for HTML inputs;r=gl
These are now handled by the toolbox listener introduced in the previous patch

MozReview-Commit-ID: J93BUEw4Pyq

--HG--
extra : rebase_source : 3be3578f73005c51a876e6c8c580184245d3e8bb
2017-08-15 15:39:45 -07:00
Brian Grinstead
60bb95b790 Bug 1388104 - Open the textbox context menu on any html input in the toolbox;r=gl
Right now HTML inputs do not get a context menu when being right clicked. The inspector
works around this by calling toolbox.openTextBoxContextMenu on each individual input,
but the rest of the toolbox can be served by handling this at the toolbox level.

MozReview-Commit-ID: KuRQmuf01xh

--HG--
extra : rebase_source : d1febb54888a8a82f93d54c78ddbdd40281f91ee
2017-08-15 15:39:32 -07:00
Jason Laster
d4137437f7 Bug 1389503 - Don't fail when an SVG is not found. r=jdescottes 2017-08-15 10:01:00 -04:00
Oriol
df52d2e9c4 Bug 1380506 - Prevent the console from searching safe getters in proxy objects. r=bgrins 2017-08-15 08:29:00 -04:00
Wes Kocher
3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Masatoshi Kimura
f7fb96c7e5 Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
MozReview-Commit-ID: ErqU4M1f7Oj

--HG--
extra : rebase_source : 968490c3f787949324c44ba75b6daf5c346f54c3
2017-08-14 20:46:55 +09:00
Brian Grinstead
7d6c4cf030 Bug 1390176 - Increase console logLimit;r=nchevobbe
MozReview-Commit-ID: 3Ynr58lLQcs

--HG--
extra : rebase_source : 0bf2db891492df2e26188e9bb008ecb8223b2080
2017-08-16 10:05:31 -07:00
Brian Grinstead
0ee885f498 Bug 1390176 - Fix the jsterm stub in test_render_perf;r=nchevobbe
MozReview-Commit-ID: 8qYIthlQtXa

--HG--
extra : rebase_source : 2a8eb4492097f420ca6ab5a169384523cc3628b5
2017-08-16 10:04:45 -07:00
Carsten "Tomcat" Book
6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Tom Tromey
893e83a279 Bug 1390181 - import bundles from devtools-source-map 0.11.0; r=bgrins
MozReview-Commit-ID: 8PLaeCvkJse

--HG--
extra : rebase_source : d1ae4ea5efa33e8b8d7ca0e8eb792d3de1016aaa
2017-08-14 11:19:11 -06:00
Matteo Ferretti
f9820e9498 Bug 1365053 - called _onEyeDropperDone once the color is selected; r=jdescottes
MozReview-Commit-ID: JUppfvNYmTJ
2017-06-12 10:00:05 +02:00
Nicolas Chevobbe
e415614486 Bug 1380512 - Fix intermittent on browser_webconsole_check_stubs_console_api; r=Honza
There was an error because of the console.dir call, which is calling
the server to fetch the properties of the inspected object.
But, since the console.dir call was the last command to be called,
the actor were cleared before the properties fetch call was done,
resulting in an error on the server (no such actor for ID).
To fix this, we wait for the properties fetch call to be done
before closing the tab.

MozReview-Commit-ID: 9bsh3vHVPVa

--HG--
extra : rebase_source : 4e9e40d2811ab8dd69872ba060654f5061aa01c9
2017-08-14 10:30:59 +02:00
Stone Shih
3e1848d352 Bug 1351148 Part6: Revise browser_toolbox_races.js to avoid jam content process by synthesized input events. f=jryans,pbro. r=ochameau.
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.

MozReview-Commit-ID: 1G3ggeaZ1Os
2017-06-05 13:00:44 +08:00
Stone Shih
55c5359fa6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Wes Kocher
7a772df5bf Merge m-c to inbound, a=merge
MozReview-Commit-ID: BYZASFIrXxp
2017-08-14 17:58:17 -07:00
Ruturaj K. Vartak
255bfa4d09 Bug 1135965 - JSON Response pane should contain both "Preview" and "Response Payload" views. r=ntim 2017-08-14 04:58:00 -04:00
Xavier ALT
02eda46a68 Bug 1174095 - Do not add 'postData' to HAR requests if there isn't any posted data r=Honza
MozReview-Commit-ID: GNySOInGDVz

--HG--
extra : rebase_source : 2342a0d0657d0f5a072b4eace0a11c954ba06613
2017-08-19 00:05:57 +02:00
Chung-Sheng Fu
2c9f10e897 Bug 863246 - Fix test failures r=Gijs
MozReview-Commit-ID: 8tUr27zvs8z

--HG--
extra : rebase_source : f9ce0f19c1cceeefac0a015d33b94bb787a34ffb
2017-07-19 17:30:01 +08:00