Commit Graph

8351 Commits

Author SHA1 Message Date
Brian Grinstead
901ccdc1e8 Bug 1398904 - Request a longer timeout for browser_webconsole_network_messages_expand.js;r=bgrins
MozReview-Commit-ID: 5DGHBud7tTH

--HG--
extra : rebase_source : 5e6fa20b804143e6a1dbfa20f7421cb9067b8a0b
2018-01-08 20:11:35 -08:00
Julian Descottes
100cde3ae6 Bug 1349483 - fix colorpicker eyedropper when devtools are in a window host;r=pbro
MozReview-Commit-ID: CwfZaIsGoBW

--HG--
extra : rebase_source : 17eae1fea9b6552d67907d09a04d8c3eefb01aef
2018-01-09 19:30:11 +01:00
Julian Descottes
0aa5ebf407 Bug 1349483 - extract tooltip hidden callback from SwatchColorPickerTooltip;r=pbro
This allows subclasses to override the implementation,a nd avoids leaking ColorPicker
specific implementation details to the base class.

MozReview-Commit-ID: 6KHaFPd5xHt

--HG--
extra : rebase_source : d6bddd7d65d6c384b5a5c66d7b646110ca90c8c6
2018-01-09 19:28:21 +01:00
Michael Hoffmann
287a2bca6c Bug 994559 - Style used fonts in rule view. r=pbro 2018-01-09 08:56:00 -05:00
Julian Descottes
9f4f847021 Bug 1397366 - restore source-editor commands controller for scratchpad & styleeditor menus;r=ochameau
MozReview-Commit-ID: Cfgws8fqgvp

--HG--
extra : rebase_source : 45f03264527acc9fe70a49931c08a76e97ee778a
2018-01-03 20:52:58 +01:00
Julian Descottes
8a5629f928 Bug 1401953 - enable browser_webconsole_repeat_different_objects.js;r=nchevobbe
MozReview-Commit-ID: AVWJGeKrcCe

--HG--
extra : rebase_source : d0c3c1f44fbdb6b216eb84e075bb2c56541e622d
2018-01-08 21:06:25 +01:00
J. Ryan Stinnett
6f6bc3bbbf Bug 1381463 - Reload to clear UA when exiting RDM. r=ochameau
When exiting RDM with a device applied, we clear the UA override, but we did not
force a refresh of the page.  This means that the customized UA was still
accessible via `navigator.userAgent` and the page might have a non-default
layout if it tests the UA value.

To ensure there's no chance of confusion after exiting RDM, force a reload if
clearing emulation values determines it is needed.

MozReview-Commit-ID: Fkji12Utmis

--HG--
extra : rebase_source : a7ae8851165fae7aec5875d10f51cbb703b3f870
2018-01-04 21:04:17 -06:00
Adrian Wielgosik
5b113a4b69 Bug 1414554 - handle React 16 event listeners. r=miker
Tests copied directly from older versions and adapted for React 16.
React source downloaded from https://github.com/facebook/react/releases/tag/v16.2.0

MozReview-Commit-ID: 80zwHIK16Cz

--HG--
extra : rebase_source : 0329b8407e38cf5757281456c62ff42c3846d8b2
2018-01-07 21:11:24 +01:00
Julian Descottes
8c053a5c46 Bug 1428191 - create developer toggle widget before first paint in DevEdition;r=ochameau
MozReview-Commit-ID: KEJNzXrDrEE

--HG--
extra : rebase_source : d046029277b34da86457eac4c41ebd1d361dd2e5
2018-01-05 13:44:19 +01:00
Nicolas Chevobbe
56b64bd286 Bug 1404392 - Enable and refactor browser_webconsole_filter_scroll.js to check that filtering does not affect scroll position; r=bgrins.
MozReview-Commit-ID: DEZDnblICnh

--HG--
extra : rebase_source : 259f1098f24f6418d5194c0840802ce52c77259f
2018-01-08 18:02:51 +01:00
Nicolas Chevobbe
44437622ab Bug 1428717 - Fix netProviderEnhancer for MESSAGE_OPEN action for non-network message;r=Honza.
There was an exception thrown by the netProviderEnhancer because it
retrieves the networkMessageUpdate and access a property on it.
On non-network message, the networkMessageUpdate is undefined, and
accessing the property throws.

We fix this by simply checking if message is not falsy before accessing
the property.

A couple of tests were added to make sure we don't regress this case. This
required changing the setupStore helper a bit to pass a hud stub to the
createStore function (the net enhancer is called only if the hud has a proxy
object). This made some test fail because they weren't dispatching enough
argument to the networkMessageUpdate action.

MozReview-Commit-ID: 7h35ebHSdbF

--HG--
extra : rebase_source : 089dce93d1de60e4b44936b514627803aa2c5100
2018-01-08 15:37:23 +01:00
James Teh
91694598dc Bug 1424156 part 4: Add test for aria-live in Web Console messages. r=nchevobbe
MozReview-Commit-ID: A1y18uTbjIJ

--HG--
extra : rebase_source : 186420ee3dd3fc0887cc89619ff452983c428826
2018-01-05 14:32:09 +10:00
James Teh
a7b8705ecc Bug 1424156 part 3: Add test for aria-live in Web Console message icon. r=nchevobbe
MozReview-Commit-ID: 9VXYjOoQOco

--HG--
extra : rebase_source : e7597f2b05d9a44461a05b582c531b7c057f0685
2018-01-04 16:02:48 +10:00
James Teh
06e00020fb Bug 1424156 part 2: Don't treat message icons in the Web Console as live content for accessibility. r=nchevobbe
Message icons now get the aria-live="off" attribute.
This stops screen readers from automaticaly reading icon descriptions, which might be interesting to read later but make things inefficient when automatically reading new output.
MozReview-Commit-ID: BQOUnTRVkBE

--HG--
extra : rebase_source : 47f1df96910a92961fc739582ffb49956735fdb3
2018-01-03 09:56:09 +10:00
James Teh
38bc58c8ee Bug 1424156 part 1: Don't treat Web Console input from the user as live content for accessibility. r=nchevobbe
Commands entered by the user now get the aria-live="off" attribute.
This stops screen readers from echoing commands the user typed, which is redundant and inefficient.
MozReview-Commit-ID: GJXiBPMe0W5

--HG--
extra : rebase_source : 9fac3b14115a9f2f54bc8180bed6c0442e0da3f0
2018-01-03 09:52:17 +10:00
pd4d10
bfb81cea7b Bug 1427077 - Make devtools/client/netmonitor work correctly at browser r=rickychien
Replace `loader.lazyGetter` pattern with normal variable assignment

MozReview-Commit-ID: JJTXKgXRgBZ

--HG--
extra : rebase_source : 91e63d7515573a3c55756fd04811fe61515b3cf8
2018-01-03 21:33:57 +08:00
Leo Huang
5213ac90af Bug 1426634 - Rename devtools/client/shared/components/Tree.js to VirtualizedTree.js; r=nchevobbe
MozReview-Commit-ID: 80ebj9CJODR

--HG--
rename : devtools/client/shared/components/Tree.js => devtools/client/shared/components/VirtualizedTree.js
extra : rebase_source : 78d24d5411b2d1dadae6778ba7f05c58641b6a00
2017-12-22 12:10:00 +08:00
Nicolas Chevobbe
ffa098ba78 Bug 1428014 - Fix intermittent on browser_webconsole_close_sidebar.js; r=bgrins.
The test was failing because it still had pending request to the server while shutting
down the toolbox. This request was probably the one to retrieve the properties of the
object we put in the sidebar.
By waiting the object properties to be fully loaded when opening the sidebar, we should
make the intermittent go away.

MozReview-Commit-ID: 7tY8hvbDVRp

--HG--
extra : rebase_source : cc5479f21c91df1fc0967900fb1022e3ec6dff3d
2018-01-08 09:47:50 +01:00
Bogdan Tara
cd1c3cc5dd Merge mozilla-central to autoland, r=merge a=merge on a CLOSED TREE 2018-01-09 00:16:46 +02:00
Bogdan Tara
73b4d6b26a Merge inbound to mozilla-central r=merge a=merge 2018-01-09 00:05:31 +02:00
J. Ryan Stinnett
22d7f8de39 Bug 1306892 - Fetch stylesheets from network monitor. r=tromey
If the toolbox is open when a stylesheet is loaded, the network monitor should
have recorded the response content.  When a tool asks for stylesheet text, try
asking the network monitor first before falling back to an extra fetch as a last
resort.

MozReview-Commit-ID: E2pQ04ARfQo

--HG--
extra : rebase_source : b10fb44e313ece5757961ca81a3bc0f76753ed8e
2018-01-05 18:44:25 -06:00
Dorel Luca
07b93afa55 Merge mozilla-central to mozilla-inbound r=merge 2018-01-08 12:00:34 +02:00
Jason Laster
c818ccd16b Bug 1428455 - Update Debugger Frontend v5.0. r=jdescottes
MozReview-Commit-ID: AzAIdEFn20f

--HG--
extra : rebase_source : 7de2f7c3a31a0a349b398d8001b3317d496d2aa6
2018-01-08 10:34:17 +01:00
Oriol Brufau
2f51c10cab Bug 1396434 - Test that symbols can be stored as global variables in the console. r=nchevobbe
MozReview-Commit-ID: Ba7Ir2BHEzw

--HG--
extra : rebase_source : 07ff416d5019eb9f2c92c616f2c3e53e55d8c929
2018-01-01 13:17:05 +01:00
abhinav
7ec4689c74 Bug 1420982 - Fix for copy as cURL ignoring PATCH data. r=Honza
MozReview-Commit-ID: 8GDV8ykAIsH

--HG--
extra : rebase_source : 49aced8366e742320a87834acf0a7ab50c789fd7
2017-12-22 00:41:50 +05:30
Sebastian Hengst
d52c7b3231 merge inbound to central. r=merge a=merge 2018-01-06 00:27:10 +02:00
abhinav
006d24a0a4 Bug 1428338 - Stop resetting -moz-border-*-colors in addons.css; r=dao
MozReview-Commit-ID: AxkN4CovCnf

--HG--
extra : rebase_source : ab7c9abeed9477790f8e5671171a07b5fd6d3197
2018-01-05 20:34:37 +05:30
Nicolas Chevobbe
49fdddb62b Bug 1404853 - Enable browser_webconsole_highlighter_console_helper.js in new console frontend; r=Honza.
This changes the code of the test since it was relying on direct access to the content page.
In order to be able to interact with the element picker, the test-actor and test-actor-registery
files are loaded by head.js.

MozReview-Commit-ID: FyebIiyF31j

--HG--
extra : rebase_source : 83d7304303edc8e8a54cbcc2cc535987b8368207
2017-12-11 06:54:20 +01:00
Csoregi Natalia
b3409f0581 Backed out changeset c28c6de838a2 (bug 1428521) for failing devtools/client/netmonitor/test/browser_net_post-data-01.js. r=backout on a CLOSED TREE 2018-01-08 06:53:22 +02:00
Ricky Chien
0f818e5c99 Bug 1428521 - Draw editor's horizontal scrollbar in Response panels r=gasolin
MozReview-Commit-ID: LK3TdfDCApo

--HG--
extra : rebase_source : 6c3a79e7ef5bf3118635dc3bd6a9699852e7ea3a
2018-01-06 13:16:38 +08:00
Nicolas Chevobbe
0f6571a3b4 Bug 1408893 - Enable browser_webconsole_eval_in_debugger_stackframe2.js in the new console frontend; r=bgrins.
MozReview-Commit-ID: Ej7flr2u3Ya

--HG--
extra : rebase_source : 71ced01a366d418a58cab5072ee4f00494da27bb
2018-01-05 12:52:59 +01:00
Nicolas Chevobbe
7a95fd143a Bug 1405333 - Enable browser_webconsole_execution_scope.js in new console frontend;r=jdescottes.
MozReview-Commit-ID: IE8AQdMR867

--HG--
extra : rebase_source : 44eac13e793aee293095e2d8f88f2db9ab623cb3
2018-01-05 14:03:43 +01:00
Alexandre Poirot
4e2dcbf894 Bug 1415545 - Document working on DevTools performance. r=sole
MozReview-Commit-ID: 4N0Kx7PO4Xc

--HG--
extra : rebase_source : 5c9b6952419984a577038b14b72746dc069daf0c
2017-12-13 09:58:23 -08:00
Ricky Chien
1e645d03e3 Bug 1428521 - Draw editor's horizontal scrollbar in Response panels r=gasolin
MozReview-Commit-ID: LK3TdfDCApo

--HG--
extra : rebase_source : 826eeabd2424a9a9a8310ef003b37b62a861a9f0
2018-01-06 13:16:38 +08:00
Gabriel Luong
8b2109ede1 Bug 1427392 - Scroll into view the grid container when clicking on the inspect icon. r=pbro 2018-01-05 12:28:39 -05:00
Tiberius Oros
5dc770334b Backed out changeset af69a7e1b59f (bug 1427006)for failing devtools and test verify tests test/mochitest/browser_webconsole_console_group.js r=backout on a CLOSED TREE 2018-01-05 17:34:39 +02:00
abhinav
b2c45cf368 Bug 1427006 - Enhanced the browser_webconsole_console_group test; r=nchevobbe
MozReview-Commit-ID: Efe5xb8sq7C

--HG--
extra : rebase_source : 6194d5f4af96446162fcf9b2324fe596e4f299d4
2017-12-15 00:39:34 +05:30
Nicolas Chevobbe
797df76226 Bug 1428231 - Fix browser_webconsole_websocket.js intermittent failure; r=Honza.
The patch changes how log we wait before polling again in waitFor, since the timeout
is happening here.

MozReview-Commit-ID: 4ZteEmMBOZk

--HG--
extra : rebase_source : 44078fa03df8ce7650d71ac0ad401a30827f2d83
2018-01-05 11:18:44 +01:00
Ricky Chien
9c5ca18b62 Bug 1426908 - Asynchronously enable CodeMirror syntax highlight for large content r=Honza
MozReview-Commit-ID: v4GcMOnrWy

--HG--
extra : rebase_source : f0498f4e3325debd7948bbeea9b6239118b2a1fa
2018-01-05 17:18:34 +08:00
Julian Descottes
1c1a92115e Bug 1151156 - remove unused b2g code in debugger-client onPacket;r=jryans
MozReview-Commit-ID: IWyGUCKCFAM

--HG--
extra : rebase_source : dd90da67ebd3def595095f0445b6206ba7316a1b
2017-12-13 17:56:14 -06:00
Oriol Brufau
1e5968259b Bug 1424722 - Create actors for symbol values. r=nchevobbe
MozReview-Commit-ID: KZkdOccFhRn

--HG--
extra : rebase_source : 5e3524983f3d373eb0d5b13822102d3c5eb2a196
2017-12-21 01:03:20 +01:00
Patrick Brosset
375a23cd02 Bug 1428043 - Remove useless systemlibs.js import; r=jryans
MozReview-Commit-ID: HzshbzyPraq

--HG--
extra : rebase_source : 71156aafc13e09c8960abf51685cbece9d950b12
2018-01-04 16:20:59 +01:00
Ricky Chien
403caf94bf Bug 1426920 - Netmonitor ResponsePanel's editor-row-container should occupy the available vertical space r=gasolin
MozReview-Commit-ID: Jkn26LAyovK

--HG--
extra : rebase_source : 2a3c935d083c04de629880fab6995f21fca26abf
2018-01-05 15:13:58 +08:00
Mike Park
8fcfc68bd1 Bug 1408950 - Enable browser_webconsole_websocket.js in the new console frontend. r=nchevobbe
MozReview-Commit-ID: K0wKsAPmXxP

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.html => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.js => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.js
extra : rebase_source : 942247eb82006d428d4dd4573154c767f4a72ea8
2017-11-21 14:25:23 -05:00
Jan Odvarko
c7d5d0cf13 Bug 1421335 - Update test; r=nchevobbe
MozReview-Commit-ID: Far6gsV6SXd

--HG--
extra : rebase_source : cdb77acf095e79a9b53942f12b6f3bbed38e5b40
2017-12-11 14:39:37 +01:00
Jan Odvarko
f51b48434f Bug 1421335 - Right response info link disappears after request is expanded; r=nchevobbe
MozReview-Commit-ID: 5WEqPQaWGGt

--HG--
extra : rebase_source : fb995b7c51ccba96bc12949079197467791bbe94
2017-12-07 16:28:33 +01:00
Tiberius Oros
11f2a4970b Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-05 12:03:34 +02:00
Jason Laster
17769f5562 Bug 1427187 - Update Debugger frontend (12-27). r=jdescottes
MozReview-Commit-ID: 37viQIZZzGj
2018-01-05 09:44:09 +01:00
Andreea Pavel
212980366d Backed out changeset ec05347a3fae (bug 1425393) for failing devtools/client/aboutdebugging/test/browser_service_workers.js r=backout
--HG--
extra : rebase_source : adca675a3e6a3041d0517f612b8769958718061a
2018-01-04 23:18:04 +02:00
Mike Park
8117abd4fd Bug 1408950 - Enable browser_webconsole_websocket.js in the new console frontend. r=nchevobbe
MozReview-Commit-ID: K0wKsAPmXxP

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.html => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.js => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.js
extra : rebase_source : 38b6a5527c296912c8399255dce0bedf7513bcc5
2017-11-21 14:25:23 -05:00