Commit Graph

7143 Commits

Author SHA1 Message Date
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
Chung-Sheng Fu
bb279d6d5e Bug 863246 - Move resources that need to be exposed to web content to locations that are marked as contentaccessible r=billm
MozReview-Commit-ID: ArhSHKPYOr8

--HG--
extra : rebase_source : b0cf8d159ba6bfa6e7bcd9528ae2f9851185ac30
2017-06-08 17:52:46 +08:00
J. Ryan Stinnett
9b493d4dd4 Bug 1387445 - Enable DevTools RDM tests on Linux debug. r=xidorn
MozReview-Commit-ID: L7A6nt3Fowp

--HG--
extra : rebase_source : b307f3fe003cd64fd1f9ec879ebabf694de17016
2017-08-29 19:15:26 -05:00
J. Ryan Stinnett
d5df2c6176 Bug 1387445 - Update Stylo DevTools annotations. r=xidorn
MozReview-Commit-ID: CDQoH4ohQXl

--HG--
extra : rebase_source : 4bb0a7bd19e1a362ec511047c587337b53026971
2017-08-29 18:58:20 -05:00
Sebastian Zartner
a867dbb311 Bug 1305103 - Added a button to refresh the Storage Inspector display r=miker
MozReview-Commit-ID: DhExQbLkDrU

--HG--
extra : rebase_source : cbd6fbf799c4ac4d1fadb89d29b47ac511617ec7
2017-08-10 16:32:38 +02:00
Tom Tromey
1cd992f014 Bug 1391768 - register existing source actors in source map service init; r=bgrins
MozReview-Commit-ID: Ao1viu9sk5O

--HG--
extra : rebase_source : b7f9b697e88f90475e11457256c0df61b2068c38
2017-08-29 14:21:58 -06:00
Julian Descottes
ffc364ee02 Bug 1391562 - use obj.on/off/emit rather than static methods from devtools event-emitter;r=zer0
MozReview-Commit-ID: I50W8zGB9d0

--HG--
extra : rebase_source : 31b687343461a65fc6a40eece461bc2367d596d7
2017-08-18 17:05:04 +02:00
Julian Descottes
5d5ccaad39 Bug 1392998 - remove irrelevant documentation files for react/redux tips;r=sole
MozReview-Commit-ID: 9rOoEuHoTqM

--HG--
extra : rebase_source : 24fd7b99c2999ef830b231f5d15a140a738d7b06
2017-08-23 13:27:31 +02:00
Julian Descottes
aa1e9fe0ac Bug 1392998 - remove devtools hotreload feature;r=bgrins
MozReview-Commit-ID: 2XC5V0nxaKX

--HG--
extra : rebase_source : b7499e33959f238b62ddaaa270eb8b3d42be4bdd
2017-08-23 13:26:58 +02:00
Sebastian Hengst
56c035fa36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Wes Kocher
ef0d82bb2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HSkzFTcnhOy
2017-08-11 13:25:37 -07:00
ZER0
7dca53648e Bug 1381542 - refactored EventEmitter with old SDK event/core capabilities; r=ochameau
`EventEmitter` now can be used in the same way `sdk/event/core`, it also
integrates some of the SDK capabilities.
In addition the `emit` method is now unified in functionality, and is more
consistent with the nodejs counterpart (the listener doesn't receive the event
type anymore as first argument).

MozReview-Commit-ID: DNxnjwmcC4W
2017-08-11 22:21:28 +02:00
Wes Kocher
5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Jan Odvarko
8faabe1167 Bug 1385791 - Fix tests; r=nchevobbe
MozReview-Commit-ID: LFKwQHj1pIk

--HG--
extra : rebase_source : 9dac5a4433d2987d83ea861afaf544fd3c69efb4
2017-08-11 17:10:55 +02:00
Jan Odvarko
95b942c905 Bug 1385791 - Fix message filtering; r=nchevobbe
MozReview-Commit-ID: 4iPLGUor0Pu

--HG--
extra : rebase_source : cbdb2894c4bc67be74bb6c58501662bb18539e37
2017-08-11 17:10:54 +02:00
Jan Odvarko
67606b8331 Bug 1385791 - New stubs for tests; r=nchevobbe
MozReview-Commit-ID: JoD9ej6689V

--HG--
extra : rebase_source : a08d0768bb6c8be008f6fb9984d5047afdd2ec4a
2017-08-11 17:10:54 +02:00
Jan Odvarko
23ad6c533b Bug 1385791 - Babel support for async func; r=nchevobbe
MozReview-Commit-ID: LTgs0iPG2j0

--HG--
extra : rebase_source : 103ae7c79578a75e42bab0e5614dca8839dd8b15
2017-08-11 17:10:54 +02:00
Nicolas Chevobbe
7c11376202 Bug 1389528 - Fix mocha tests; r=Honza.
Tests were failing because we did not pass the expected serviceContainer prop
to the EvaluationResult component.

MozReview-Commit-ID: F6xKoY6vggb

--HG--
extra : rebase_source : aedefde806b4751fd7ba1d35041ef08118190b28
2017-08-11 17:37:55 +02:00
Nicolas Chevobbe
404331515e Bug 1389161 - Fix console.table for nested object with falsy values; r=Honza.
A loose checking was causing 0 and undefined values to be rendered as Object.
We fix this by checking explicitely if the grip has a value property.
A test is added to make sure we handle those cases as expected.

MozReview-Commit-ID: 1wdBVs7bF61

--HG--
extra : rebase_source : 2a4304bc365174a9822732c13bad6aabb356721b
2017-08-11 10:12:43 +02:00
Wes Kocher
a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Brian Grinstead
4902b5d260 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH

--HG--
extra : rebase_source : 33f1a2183ee717c79f360a7dda688832a5c33566
2017-08-11 09:16:59 -07:00
Brian Grinstead
0262e6e6ac Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7

--HG--
extra : rebase_source : 83612fd2c4edfde5c86cfc11a70682cc74ebfa12
2017-08-11 09:07:04 -07:00
Stone Shih
665fb7cd54 Backed out changeset de4929e39b7e (bug 1351148) 2017-08-11 15:19:30 +08:00
Stone Shih
2fed609514 Backed out changeset e73fd9007b9b (bug 1351148) 2017-08-11 15:19:18 +08:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Wes Kocher
cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher
936a9461f6 Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Julian Descottes
c6f19f876e Bug 1388738 - add comment for devtools-startup developerToggleCreated flag;r=ochameau
MozReview-Commit-ID: FN4YuM7VpHf

--HG--
extra : rebase_source : f8adaedf6511ce2ed4ffd493afbffca64337f01f
2017-08-10 11:58:36 +02:00
Julian Descottes
62b13a707c Bug 1388738 - reuse devtools-startup initDevTools in DevToolsShim;r=ochameau
MozReview-Commit-ID: 7Qr06CZBYuf

--HG--
extra : rebase_source : 55e275f49c14ada8d9633a2999ce0a86382055b9
2017-08-09 17:17:46 +02:00
Sebastian Hengst
51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Masatoshi Kimura
6815cee2bd Bug 1387790 - Remove [deprecated] decodeImageData from imgITools. r=tnikkel
MozReview-Commit-ID: GZBYTPanHH6

--HG--
extra : rebase_source : f6ccc1a661533f7bdba8bb33bc9a85855b51ffae
2017-08-06 10:54:14 +09:00
Kris Maglione
c6d9379091 Bug 1350646: Part 5 - Remove sdk/addon/* modules. r=Mossop
MozReview-Commit-ID: 7QvnQX7Qx2O

--HG--
extra : source : 7687db57501117fc79102f78cdefecaa7d16c8e0
2017-08-09 14:46:01 -07:00
Phil Ringnalda
ca2c01b0ad Backed out 22 changesets (bug 1350646) for talos damp failures
Backed out changeset c3108aebee35 (bug 1350646)
Backed out changeset ee8f7fa9d410 (bug 1350646)
Backed out changeset 79e77c06ff44 (bug 1350646)
Backed out changeset 5584fdcd2ee0 (bug 1350646)
Backed out changeset 7571b064a77e (bug 1350646)
Backed out changeset 7f65323c56f9 (bug 1350646)
Backed out changeset 10bbf7c53afe (bug 1350646)
Backed out changeset e40544ead983 (bug 1350646)
Backed out changeset 5eb77e6de0a3 (bug 1350646)
Backed out changeset 6d9244a8ac40 (bug 1350646)
Backed out changeset 13110c98b0fd (bug 1350646)
Backed out changeset 096ff315b48b (bug 1350646)
Backed out changeset 57500d9ea832 (bug 1350646)
Backed out changeset 5a45d9e25a00 (bug 1350646)
Backed out changeset e931e4ff5e11 (bug 1350646)
Backed out changeset d914c050c965 (bug 1350646)
Backed out changeset 35c4d4cd77c7 (bug 1350646)
Backed out changeset 7687db575011 (bug 1350646)
Backed out changeset c68367bb0eb3 (bug 1350646)
Backed out changeset 3ca040743aeb (bug 1350646)
Backed out changeset 8d4c2f001354 (bug 1350646)
Backed out changeset 67c251e2c9db (bug 1350646)

MozReview-Commit-ID: GLM80BkVx85
2017-08-09 20:03:17 -07:00
Jan Odvarko
444b560b3e Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: BIHXp6tE32Q

--HG--
extra : rebase_source : a990bb0a79f254037ada58bbc7bd6f941fd26343
2017-08-10 10:00:35 +02:00
Xidorn Quan
58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Alexandre Poirot
b142ed1756 Bug 1382968 - Make WebExtension debugging test better test console behavior. r=rpl
MozReview-Commit-ID: Ch8DHw7nTws

--HG--
extra : rebase_source : 17d4ad855bb5e093beb142e449ce2d4b88e20911
2017-08-08 22:30:56 +02:00
Alexandre Poirot
86f3a72ea7 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 024d016c37d0f188f5ac3f3f87511595a072eea6
2017-08-01 16:51:07 +02:00
Alexandre Poirot
777467060a Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 09b9cce4f6053b78cf617abbe71d54cc1b842f4e
2017-08-07 18:47:20 +02:00
Alexandre Poirot
966527f5aa Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf

--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 5760bfc4de183e74b6eb8a511006c770121f24b9
2017-08-01 16:17:22 +02:00
Tim Nguyen
f28112f57c Bug 1388761 - Update category styling in common.css. r=dao
MozReview-Commit-ID: DfDvzw5zVZ8

--HG--
extra : rebase_source : 9ac1070359e11fe2a36b55c65dfd6d5ede6d820a
2017-08-09 20:13:42 +00:00
Luca Greco
7bbe9e6b94 Bug 1388737 - Make about:debugging webextension popup test able to run with oop extension mode enabled. r=ochameau
MozReview-Commit-ID: FsyDdPsQoLC

--HG--
extra : rebase_source : 925a227a4791bfb95fc1a1f9bfe9ff12049eb91e
2017-08-09 13:55:13 +02:00
Sebastian Hengst
8dbb8d014f Backed out changeset d2e76a2d8794 (bug 1388368) for eslint failures in system-stub.js (should be Unix linebreaks, not the Windows' ones). r=backout 2017-08-09 17:22:51 +02:00
Jan Odvarko
b420ecaa95 Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: 4AAs8Mre3bt

--HG--
extra : rebase_source : 2719f5231656625b4ba9f9b408d774d04d6ea1f0
2017-08-09 15:28:42 +02:00
Carsten "Tomcat" Book
c329d562fb merge mozilla-inbound to mozilla-central a=merge 2017-08-09 11:37:08 +02:00
Wes Kocher
7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Wes Kocher
96d2fa009d Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI

--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : source : 309b1b63eb48ded8573cafdcc21602765fce3d9e
2017-08-08 09:17:56 -07:00
Carsten "Tomcat" Book
635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Alexandre Poirot
9aee8eedf4 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 8f30b1484e8ec1410f59a8764dced0e645ebec28
2017-08-01 16:51:07 +02:00
Alexandre Poirot
8ca339dcee Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 7e5c976c6a9690ae730fd8c32a8909e24a277ace
2017-08-07 18:47:20 +02:00
Alexandre Poirot
253b1895e6 Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf

--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 3222c8ca77a6c38dc2f0ee01adc27264e028a514
2017-08-01 16:17:22 +02:00
Jason Laster
425ec06f61 Bug 1383576 - Extend timeout browser_dbg-breakpoints-reloading. r=jmaher 2017-08-08 13:01:00 -04:00
Jason Laster
1514a7e029 Bug 1388128 - Debugger does not remove some breakpoints. r=jdescottes
MozReview-Commit-ID: Hp7wYXGRSYs
2017-08-08 15:51:38 +02:00
Gabor Krizsanits
d624f6b97e Bug 1378207 - Handle sandboxes with XOW protos in WebExtensionChildActor. r=rpl
Sandbox can throw on property access if it does not have permission
to access its own proto, even if the caller compartment had.
2017-08-08 13:43:20 +02:00
Kris Maglione
b7087a5bdd Bug 1350646: Part 5 - Remove sdk/addon/* modules. r=Mossop
MozReview-Commit-ID: 7QvnQX7Qx2O

--HG--
extra : rebase_source : 29f26e5e7cfd9bfa72cafa6373b7e7aaa7eeab71
2017-08-09 14:46:01 -07:00
Julian Descottes
ea99dbe04c Bug 1387497 - dt-addon-tests: update specificity of selector in firebug-theme.css;r=ochameau
MozReview-Commit-ID: 7o6h5FPOa3I

--HG--
extra : rebase_source : a279cbe3818ebb70c987dc580e52ce6ab8fc4267
extra : source : b617a361a12ce6b20820ccf915bd815eb73c6bd3
2017-06-19 11:12:46 +02:00
Julian Descottes
7c91ef2812 Bug 1387462 - Fix devtools shim test if devtools are not installed;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : 59f672548e0352ee60774ea87d4426618f050d2e
extra : source : 7cf0689936eb9cb843cb9e94f326e9b4903e843d
2017-07-25 19:52:34 +02:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Nicolas Chevobbe
54c956f344 Bug 1307931 - Make urls in output clickable; r=bgrins.
This passes an openLink callback to the Reps which handles the output.

MozReview-Commit-ID: L6q9wAWmwrp

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_clickable_urls.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_clickable_urls.js
extra : rebase_source : d439fe0596f0fdc2b3c529814bcd07c0c08c7200
2017-08-03 16:25:40 +02:00
Nicolas Chevobbe
49d16112c4 Bug 1307931 - devtools reps: update bundle to v0.12.1. r=bgrins
This required some changes in the ConsoleTable component. Since
it uses GripMessageBody, we need to pass it props that it might
need.

MozReview-Commit-ID: DNeBsmJqCFI

--HG--
extra : rebase_source : 34f4b6acc34fdd79b4111f07162ede46b96ae363
2017-08-10 19:02:56 +02:00
Brad Werth
702a7fc542 Bug 1371395 Part 2: Test media emulation of an unsupported type. r=jryans
MozReview-Commit-ID: L5tswjbGd97

--HG--
extra : rebase_source : 8b67fb05594c4330ee44c7d39ab2fb47c82a4342
2017-08-04 17:06:27 -07:00
Stone Shih
71714c8c1c 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
Wes Kocher
223f322400 Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Tom Tromey
ef9552735d Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn

--HG--
extra : rebase_source : 3242c0bcfcb5d04343c1a724fe78904d5f52e567
2017-08-04 13:14:11 -06:00
Nicolas Chevobbe
66d2ff2fa6 Bug 1386525 - devtools reps: update bundle to v0.12.0. r=bgrins
A test needed to be fixed since we changed some things
in bucketing (proper ellipsis and bucket label fix).

MozReview-Commit-ID: HhfJcKOGO2H

--HG--
extra : rebase_source : 91163a226eaada796b884b6a8e7a0b4887b65e1d
2017-08-08 14:43:27 +02:00
Wes Kocher
e36214b3fb Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI

--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
2017-08-08 09:17:56 -07:00
Alexandre Poirot
4d50ab07c7 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART3: Manual fixes
- Go manually fix: http://searchfox.org/mozilla-central/source/devtools/client/dom/dom-panel.js
  which has duplicated import of defer symbol (it already used to import it)
- execute eslint, see all the places where we import of 'promise' is no longer use it
  (there may be leftovers not covered by eslint that will be covered in bug 1387128)
  devtools/server/tests/mochitest/inspector-helpers.js needs to keep importing promise as it is a shared test script.
- fix devtools/client/performance/panel.js and devtools/client/webconsole/console-output.js
  which use loader.lazyRequireGetter(this, "promise") and miss the defer import
- fix devtools/server/worker.js to use 'worker.require(devtools/shared/defer")'

MozReview-Commit-ID: HIOB5Et87Wc

--HG--
extra : rebase_source : fe3bff8599807224fd51898e753589d4c7c1777f
2017-08-08 15:19:56 +02:00
Alexandre Poirot
a8c68f2955 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART2: Substitutes promise.defer usages with defer
$ sed -i 's/promise.defer/defer/gI' $(egrep -lir "promise.defer\(\)" devtools)
  Reset modification to the following files as they are using deprecated syncable promises as we don't want to touch them.
  http://searchfox.org/mozilla-central/search?q=deprecated-sync-thenables&case=true&regexp=false&path=
$ git checkout devtools/client/debugger/test/mochitest/
$ git checkout devtools/shared/client/main.js
$ git checkout devtools/client/debugger/
$ git checkout devtools/server/main.js

MozReview-Commit-ID: DGN5ae68wtn

--HG--
extra : rebase_source : 57602d89b0bcc1c905bee7723e30f87fa434c6d9
2017-08-08 15:24:04 +02:00
Alexandre Poirot
2bd76261bb Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART1: Import devtools/shared/defer
$ sed -i '/require("promise")/a const defer = require("devtools/shared/defer");' $(egrep -lir "promise.defer\(\)" $(egrep -rl "require\(\"promise\"\)" devtools))
But ignore debugger as it still uses sync promises and would better be handled manually
$ git checkout devtools/client/debugger/
MozReview-Commit-ID: 7FvhNxULB2x

--HG--
extra : rebase_source : 7eacd673759d85ab88d69b6edc6dff4c7f245638
2017-08-08 15:33:56 +02:00
Julian Descottes
6c989bd47b Bug 1386550 - remove usage of sdk/system/events in DevTools test;r=sole
MozReview-Commit-ID: FM1AjShYmkj

--HG--
extra : rebase_source : 6ed2763285c1a32c60771d473c4a0613b542c142
2017-08-02 12:01:24 +02:00
Julian Descottes
a3b6311216 Bug 1386821 - add a separate flag to check if devtools entry point was recorded;r=ochameau
MozReview-Commit-ID: Ae1k097opw5

--HG--
extra : rebase_source : 3e1c4662c842f4767f8d2d4dd5128a3d24bc2e38
2017-08-03 12:55:26 +02:00
Julian Descottes
67391889ec Bug 1386821 - call initDevTools if devtools.toolbar.visible is true;r=ochameau
MozReview-Commit-ID: C1EFv9T0VKS

--HG--
extra : rebase_source : dc80edf968e75cfdbf3556c062901cbf9875c4a6
2017-08-03 08:57:38 +02:00
Vincent Lequertier
5a41a0dd63 Bug 1382025 - Include the headers size in the netmonitor 'Transferred' column; r=tromey
MozReview-Commit-ID: 4LfbqvxLsqi

--HG--
extra : rebase_source : 88c3381ba546c7afaa31df14cbde0d1c49c77d83
2017-07-30 11:42:26 +02:00
Alexandre Poirot
7fd76cec03 Bug 1387122 - Remove all useless Promise = require("promise"). r=tromey
Promise with a capital 'P' is already available in all DevTools sandboxes.

Still a couple of letfovers:
* Modules still using `Promise.defer()` (will be handled in bug 1387123)
* devtools/shared/defer, which introduces changes in Promise unhandled exception and stacks (bug 1388054)

MozReview-Commit-ID: PBaliHFa7u

--HG--
extra : rebase_source : d148a26e14e5eb34129f5d4c75c2087952ae596f
2017-08-07 17:53:29 +02:00
Stone Shih
b27577d8d6 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
6211964f2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Hossain Al Ikram
b91c660165 Bug 1386545 - Edit comment to stop false-positiveing for sdk/ usages in debounce.js file. r=sole 2017-08-05 07:50:00 -04:00
Masatoshi Kimura
b186427ed3 Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko

--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Alexandre Poirot
9bf42dcb14 Bug 1078284 - Disable WebIDE tests on all but optimized builds. r=jryans
MozReview-Commit-ID: 7ORmJaJIrtD

--HG--
extra : rebase_source : 59de740a09959caca3eae41ee88983aac8edeb59
2017-08-03 12:26:44 +02:00
Masatoshi Kimura
8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Cameron McCormack
3c2086d486 Bug 1384398 - Separate family names in font-family serialization with ", ". r=emilio
MozReview-Commit-ID: 9DBCXoy59g3

--HG--
extra : rebase_source : 2dbabd5e0e9426d1e5c943904d313e6e30dc62b6
2017-08-01 23:01:57 +08:00
Sebastian Hengst
39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Tom Tromey
6d4c7b0e3e Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp

--HG--
extra : rebase_source : d1b85ad6c11da44762a86248a51932b80562b9c3
2017-08-04 09:52:25 -06:00
Tom Tromey
8e8ac4d10b Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv

--HG--
extra : rebase_source : 8cfe3e3ec53beeeed8f1707d6d1e80e34f53e30f
2017-08-03 09:00:19 -06:00
Tom Tromey
dd8e682c0f Bug 1345533 - display newlines in some console messages; r=nchevobbe
MozReview-Commit-ID: JPz5XUJFQek

--HG--
extra : rebase_source : be05494ce2857acebb8372ab40879a82598ab54f
2017-08-03 08:59:37 -06:00
Masatoshi Kimura
49e04cc095 Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y

--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00
Brian Grinstead
fbf0accf5f Bug 1383022 - Update helper loadDocument function to use the selectedBrowser as a default;r=nchevobbe
MozReview-Commit-ID: GfWsYn8yqUA

--HG--
extra : rebase_source : 9bb28b1cadfe2be6410ad996b7332a11fb5805c9
2017-08-04 08:32:46 -07:00
Brian Grinstead
229861b1c2 Bug 1383022 - Log a message in the new console frontend when the Console API has been replaced;r=nchevobbe
MozReview-Commit-ID: 56xyY04YM4S

--HG--
rename : devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_warn_about_replaced_api.js
extra : rebase_source : 32d28e3dbe97a64bfe489af9ad1c366120b39f53
2017-08-04 08:32:27 -07:00
Julian Descottes
1738a4ac42 Bug 1387359 - add developer toggle to CustomizableUI even if devtools already loaded;r=nchevobbe
After Bug 1359855, the developer toggle is added to CustomizableUI via devtools-startup.
It is added after browser-delayed-startup-finished is received. However when starting
devtools with --jsconsole, devtools will be initialized before we receive the event and
the toggle will never be added to the UI.

Introducing a new flag here dedicated to the developer toggle and adding a few comments
to the devtools-startup:hookWindow() method which becomes a bit complex now.

MozReview-Commit-ID: IhPFznt0O83

--HG--
extra : rebase_source : d282e39c0588fca29813305292e53e71f93814bd
2017-08-04 11:09:56 +02:00
Sebastian Hengst
d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Sebastian Zartner
c91335caa5 Bug 1360868 - Properly formatted data URLs in source links. r=gl
MozReview-Commit-ID: 7loVwUynHhw
2017-07-29 11:31:13 +02:00
Wes Kocher
2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Geoff Brown
42b9915f1a Bug 1307846 - Skip test browser_computed_style-editor-link.js for frequent intermittent failures; r=me,test-only 2017-08-03 09:20:55 -06:00
Geoff Brown
fbf5d4e31c Bug 1309759 - Skip test browser_rules_style-editor-link.js for frequent intermittent falures; r=me,test-only 2017-08-03 09:20:55 -06:00
Geoff Brown
1ff7bef352 Bug 1368569 - Skip test browser_dbg_worker-console-01.js for very frequent intermittent failures; r=me,test-only 2017-08-03 09:20:55 -06:00
Tom Tromey
639b3c6efc Bug 1370648 - use final token as end location of statement list; r=jimb
This changes the parser to use the final token of a statement list as
it's end location.  This works around some confusing behavior, such as a
breakpoint firing on the marked line:

    <script>
      if (1 !== 1) {
        console.log("dead code!?"); // set breakpoint here
      }
    </script>

MozReview-Commit-ID: 3Sk1ERw5Q6z

--HG--
extra : rebase_source : 6c6338ca183518baec6ccfcb9ae17e24cf644c97
2017-07-14 13:29:52 -06:00
Tim Nguyen
355a783bae Bug 1385702 - Update and clean up close icon styling for photon. r=dao
MozReview-Commit-ID: IpM0Ampi9fE

--HG--
extra : rebase_source : cd7cda3cb86a86cb66113034ac6cb6f2a07b6882
2017-08-03 17:01:36 +00:00
Alexandre Poirot
dbebe3ebb7 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj

--HG--
extra : rebase_source : e34b781a628a8085bdeb8eba090d5d8102d50c76
2017-07-25 18:30:59 +02:00
J. Ryan Stinnett
e1b749febc Bug 1386830 - Test profile dirs in Browser Toolbox. r=jdescottes
Before trying to migrate Browser Toolbox profile dirs, ensure the old and new
dirs are actually different.  This avoids an issue where we were constantly
"migrating" the profile to the same place, effectively deleting it on every run.

MozReview-Commit-ID: FUAb2G21nbV

--HG--
extra : rebase_source : 32c6425036196675322c6a5422a6edf8a8aa4498
2017-08-02 16:34:40 -05:00
Julian Descottes
2df26d3e9f Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau
MozReview-Commit-ID: 9ajEa09R0Nb

--HG--
extra : rebase_source : 09e6fd7b50b7319b18cd51ddcbc919de23c5ce49
2017-08-03 14:54:09 +02:00