Граф коммитов

1007 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 205843f800 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst b1e3b7a924 Backed out changeset 3ab3a5481b90 (bug 1369801)
MozReview-Commit-ID: KOBAIPo7laO
2017-07-27 18:14:13 +02:00
Junior Hsu 426c155edd Bug 1373198 - Part 12: Disable RCWN for the devtools mochitest. r=rickychien 2017-07-26 04:18:00 -04:00
Nicolas Chevobbe 5d62c5a255 Bug 1383017 - Remove border for top-level messages. r=bgrins
This adds a data-indent attribute to the message indent component
so we can target it in CSS.

MozReview-Commit-ID: DEUTHe42Pa0

--HG--
extra : rebase_source : 650e9148d26318855c985a5b6c7830338c50bc25
2017-07-18 17:00:14 +01:00
Brian Grinstead b86762c77a Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o

--HG--
extra : rebase_source : 36f1434de4e252b254d0159137f33aa87908bf89
2017-07-26 15:14:07 -07:00
Julian Descottes 587091f866 Bug 1369801 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3

--HG--
extra : rebase_source : b00465e7e0ef8145b341c495eb27e7f1e703d341
2017-07-12 19:26:33 +02:00
Julian Descottes df95b72117 Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t

--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
Brian Grinstead 9c23cdfee2 Bug 1382833 - Add regression test for CPOWs in the Browser Console;r=jimb
MozReview-Commit-ID: 6OEnLdOpg4Q

--HG--
extra : rebase_source : 16229930e92c2ab69f6dc46a634551e3a962f57d
2017-07-26 11:22:59 -07:00
Nicolas Chevobbe 4d97701185 Bug 1380790 - devtools reps: update bundle to v0.10.0; r=bgrins
This also fixes a few tests that were failing due to changes
in how we now render arrays and objects in tiny mode.

MozReview-Commit-ID: 9JRjDQQ46FA

--HG--
extra : rebase_source : 7f482505647eedbe984f6e2c9efed8c26254fc07
2017-07-25 17:52:38 +02:00
Nicolas Chevobbe 6201ca9f26 Bug 881480 - Add ownSymbols to object preview; r=ochameau
This adds an `ownSymbols` and an `ownSymbolsLength` properties to the
grip `preview` property so we can retrieve them in the frontend.
This also refactors the newly introduced test for symbols and add a
function which test the content of the preview property in the grip.
The console test packet stubs files were updated to take this into account.

MozReview-Commit-ID: 7rPxFcS5uXE

--HG--
extra : rebase_source : dcd1189904b8f10ffb27df4c2290ac391a4f08ed
2017-07-24 15:25:46 +02:00
Alexandre Poirot b6c47816da Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd

--HG--
extra : rebase_source : 8bece0542a4ad3d3c360745096975efd8906c587
2017-07-20 13:52:57 +02:00
Brian Grinstead b05c674ceb Bug 1380499 - Prevent horizontal scrollbar from appearing in the console after vertical overflow. r=nchevobbe
MozReview-Commit-ID: zU3uHLLmef

--HG--
extra : rebase_source : 2f5ff292ca1308730203bd10b3475bdcb17c769c
extra : histedit_source : b657e2a41b4b130d2c2412c5090656dcdc5b9e13
2017-07-22 07:58:42 -07:00
Jan Odvarko d9bbe6543d Bug 1326937 - Fix persistent logs; r=bgrins
MozReview-Commit-ID: BLsEmTwkrxK

--HG--
extra : rebase_source : 7a4c7f5541ac50ae6856ba6d70a23d4b2c46c120
2017-07-21 11:20:02 +02:00
Jan Odvarko fbd3d7b794 Bug 1326937 - Fix CSS; r=bgrins
MozReview-Commit-ID: CKWZM1mG7YA

--HG--
extra : rebase_source : 656e84d2d82f6a29e7a31f395805b55c4d848270
2017-06-23 14:22:46 +02:00
Jan Odvarko ec58c3b9cc Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: G2TzrRF0Vag

--HG--
extra : rebase_source : e7123e7ccee0ed940afa1ece98200ca389f0572e
2017-06-09 09:42:34 -07:00
Johann Hofmann 3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Nicolas Chevobbe 153e2d347d Bug 1382690 - Adapt extensions inspect() calls to the new frontend. r=bgrins
The inspect command in extension was directly calling jsterm.inspectObject and doing so bypassed
the code we implemented for the command on the new frontend (i.e. no more variable view).
This patch modifies the jsterm inspectObject function so it can do the expected behavior,
and also reverts some changes made in the original inspect command bug, so we only deal with
the new frontend code in jsterm.inspectObject.
This implied changing an extension test that was waiting for the variable view to boot-up.
The test was modified to match the tests we already have for the inspect command on the new
console frontend.

MozReview-Commit-ID: 8fZV20Mck8r

--HG--
extra : rebase_source : 59870c4bae3664aebf448acee439b918190591dc
2017-07-20 14:56:46 +02:00
Nicolas Chevobbe 21012ef14b Bug 1374680 - Retrieve indent property from the message in the messages types components; r=bgrins
We don't retrieve the indent from the MessageContainer anymore, but from the lowest-level
component where we have access to the full message data, i.e. the messages types components (e.g.
ConsoleApi, EvaluationResult, … ).

MozReview-Commit-ID: JkaIcxnyt3W

--HG--
extra : rebase_source : 3ebe764cae33348d8d807936f5dcad3f23a0aa31
2017-06-22 11:57:28 +02:00
Jan Odvarko 5ca5637750 Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr

--HG--
extra : rebase_source : 6a7bb4177977116b699bcd1775622fa81e47677c
2017-07-07 13:37:56 +02:00
Ryan VanderMeulen 83d18df973 Backed out changeset 68c5012ba344 (bug 1378850) for ESlint no-unused-vars failures on a CLOSED TREE. 2017-07-19 12:26:25 -04:00
Jan Odvarko 61b874e65a Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr

--HG--
extra : rebase_source : 18c62b347a8c86c3067c280475cc05dfaff7560c
2017-07-07 13:37:56 +02:00
Jan Odvarko f1266850f7 Bug 1378825 - Stop using sdk/stylesheet/utils in DevTools; r=zer0
MozReview-Commit-ID: F26gvdnTbhT

--HG--
extra : rebase_source : 59c4e20fbc8be3e674f5c7e69bd62ae184aee4ae
2017-07-10 11:10:55 +02:00
Nicolas Chevobbe e648e73317 Bug 1379570 - Adapt the inspect command to the new console frontend. r=bgrins
MozReview-Commit-ID: LsT12pOJhvV

--HG--
rename : devtools/client/webconsole/test/browser_jsterm_inspect.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_inspect.js
extra : rebase_source : 9ed4ed85ca2fc451a396ba959d913f65603a763c
2017-07-11 13:50:59 +02:00
Wes Kocher 62c33c7e36 Backed out changeset c676af6947ac (bug 1379570) for devtools failures in browser_webconsole_check_stubs_console_api.js a=backout
MozReview-Commit-ID: GMaDw6nXEwJ
2017-07-17 14:12:35 -07:00
Nicolas Chevobbe 15ea45ad09 Bug 1379570 - Adapt the inspect command to the new console frontend. r=bgrins
MozReview-Commit-ID: LsT12pOJhvV

--HG--
rename : devtools/client/webconsole/test/browser_jsterm_inspect.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_inspect.js
extra : rebase_source : b3e179be7528dd54a5c7b3250150fe311d47b88f
2017-07-11 13:50:59 +02:00
Sebastian Hengst 87783a64ad Backed out changeset 227ff88b9848 (bug 1326937) for timing out in browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout on A CLOSED TREE 2017-07-17 20:48:25 +02:00
Sebastian Hengst 14eb3f2b26 Backed out changeset d99559a7adc7 (bug 1326937) 2017-07-17 20:47:41 +02:00
Jan Odvarko 1e7b99d90f Bug 1326937 - Fix CSS; r=bgrins
MozReview-Commit-ID: BrQKy5Vgbed

--HG--
extra : rebase_source : 78dabe52063a07d3ba12b24d2dbed34bab67c93e
2017-06-23 14:22:46 +02:00
Brian Grinstead 2e4a0585f7 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: 6Pxao2KmSb4

--HG--
extra : rebase_source : c8c4e43f8ea13caac773e07b76670b0e0e18e497
2017-06-09 09:42:34 -07:00
Junior Hsu 3202301d69 Bug 1373198 - Part 5: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:02:00 +02:00
Yoshi Huang e198bf2729 Bug 1377523 - Part 6: fix in webconsole/. r=pbro
Use srcdoc for iframe.
2017-07-13 12:28:04 +08:00
Nicolas Chevobbe 4207f54aef Bug 1307922 - Add support for console.dir(); r=Honza
MozReview-Commit-ID: 9TKWqF5FOWr

--HG--
extra : rebase_source : 931b654dc213ad38281051bc6e1b3abf4738771e
2017-07-12 14:57:00 +02:00
Nicolas Chevobbe 127c1b7177 Bug 1308566 - Add a mochitest for the ObjectInspector in the console. r=bgrins
MozReview-Commit-ID: GDiZEo7xfPJ

--HG--
extra : rebase_source : 6b243e56dcae33339b4df040e6bc8305553fb70c
2017-07-11 09:55:40 +02:00
Nicolas Chevobbe 755fb280de Bug 1308566 - Fixes broken tests due to the ObjectInspector switch. r=bgrins
Some tests were failing after switching to ObjectInspector.
Here we remove the ones that are specific to the VariableView, and
fix the "store as global" one.

MozReview-Commit-ID: 4IhNp4MTC2k

--HG--
extra : rebase_source : 60286976e5fd6e7c68e022679effe5a43a5d3845
2017-06-29 09:15:16 -07:00
Nicolas Chevobbe 27dbcec68b Bug 1308566 - Release actors from loaded properties. r=bgrins,Honza
Because we need to check in an another property from the store for actors to release,
a little refactor of how we deal with actors to be released was needed.
So instead of tracking removed messages from the store, we directly track removed actors.
We can compute this list directly in the reducer, and it even allow us to simplify the enhancer a bit.
Some tests where added to make sure we do handle loaded properties in the store.

MozReview-Commit-ID: 72F2wl3UaLA

--HG--
extra : rebase_source : 974799ef52dd25e8b2d99eb98228190487cc91b2
2017-06-28 16:51:46 -07:00
Nicolas Chevobbe 94690d9772 Bug 1308566 - Use Object Inspector in Console. r=bgrins,Honza
MozReview-Commit-ID: 9jzXwHlBu3X

--HG--
extra : rebase_source : abf76bda4327d03684e81acdb2acbadadb3ee5ca
2017-07-11 16:29:41 +02:00
Frederik Braun 56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Paolo Amadini 06de7cf6bf Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-06-29 00:13:06 +01:00
Sebastian Hengst 5b82b79d9c Backed out changeset 1cd9e27f0fa1 (bug 1351608) 2017-06-29 01:01:15 +02:00
Frederik Braun 9c64aee8c8 Bug 1351608 - Comment out existing violations to no-unsanitize rule. r=standard8
--HG--
extra : rebase_source : 41eb119fb189c4577fe64b114821b75d8781ad99
2017-06-28 12:50:38 -07:00
Jan Odvarko 466d5b6bd9 Bug 1375458 - New alias for debounce module; r=nchevobbe
MozReview-Commit-ID: CQ62g6ZnlGk

--HG--
extra : rebase_source : 80fe7191141b28dc0bf655f3308835b8119a05e0
2017-06-22 13:19:15 +02:00
Nicolas Chevobbe b98ddb3654 Bug 1307954 - Add integration test for clicking on network event message url; r=Honza.
This ensures that clicking on a message open the netmonitor panel, with the network
item clicked being selected in the netmonitor panel.
The loadDocument was edited to accept a URL instead of relying on the existence of
a TEST_PATH variable. Callsites where thus modified.

MozReview-Commit-ID: 3dbX1Myxirz

--HG--
rename : devtools/client/webconsole/test/test-network-request.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-request.html
extra : rebase_source : 06eac0cad3eba9961b61f1a2df2f2932c60dd2bc
2017-06-20 15:14:32 +02:00
Brian Grinstead 1b86a2bfab Bug 1364150 - Introduce debounce middleware; r=bgrins
MozReview-Commit-ID: Hu3rQ3iJHzP

--HG--
extra : rebase_source : 1f3d8b079a930eca7e4e807d6833e60258ef2bcf
2017-05-11 12:40:20 -07:00
Nicolas Chevobbe 0f4e353352 Bug 1373568 - Retrieve message data in MessageContainer instead of in ConsoleOutput; r=bgrins.
Prior to this patch, we were retrieving the message data in the ConsoleOutput
render, for each message. This means that for each message addition, we were
retrieving the data for each message in the store.
This doesn't impact performance if there are not many messages in the store, but
if the store is "full", we might end up calling the function to get those messages
a lot. And since the messages are in an Immutable.OrderedMap, it can be very costly.

Moving the retrieval of the message data in ConsoleOutput allow us to only call this
function when a message is added or updated, which allow us to save some time on
the rendering path.

MozReview-Commit-ID: S4NSSW5Mvw

--HG--
extra : rebase_source : 5262b5b34bb86fec5c14b7056875b8f8b661262a
2017-06-16 10:03:05 +02:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Nicolas Chevobbe 85110cb318 Bug 1372814 - Add test case and performance measurement in test-perf.html . r=bgrins
Add a test case to measure streaming time when the store already hit the log limit so
we can have data about pruning.
Switch to performance.mark and performance.measure for time measurement instead of the
custom timeit function we had.
This allow us to have precise data, and also those are written in the profile and then
shown in perf-html, so we can have a better overview of what's going on during the test.

MozReview-Commit-ID: 2nNmukxmUso

--HG--
extra : rebase_source : c8dca67060c2bf6a61e32c78e9fb35b24d7801a9
2017-06-14 17:13:52 +02:00
Nicolas Chevobbe a878be4875 Bug 1307917 - Copy existing network messages tests to the new console. r=bgrins
MozReview-Commit-ID: CotlhuLJOii

--HG--
rename : devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_netmonitor_shows_reqs_in_webconsole.js
rename : devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_shows_reqs_in_netmonitor.js
extra : rebase_source : 72a1b5ddd0b175169e982aed3a31f5e1017c19a3
2017-06-19 18:11:25 +02:00
Sebastian Hengst 8bbb31290c Backed out changeset ee03c4d8ee6c (bug 1372814) for eslint failures in test_render_perf.html. r=backout 2017-06-19 19:25:38 +02:00
Nicolas Chevobbe 1ff213f913 Bug 1361541 - Fix warning messages in dev mode. r=Honza
MozReview-Commit-ID: KrndGb2zQuD

--HG--
extra : rebase_source : 8aa1368690b8263bdafabaf1d2bafc831c2b7696
2017-06-16 14:48:31 +02:00
Nicolas Chevobbe fdc91d2779 Bug 1372814 - Add test case and performance measurement in test-perf.html . r=bgrins
Add a test case to measure streaming time when the store already hit the log limit so
we can have data about pruning.
Switch to performance.mark and performance.measure for time measurement instead of the
custom timeit function we had.
This allow us to have precise data, and also those are written in the profile and then
shown in perf-html, so we can have a better overview of what's going on during the test.

MozReview-Commit-ID: 2nNmukxmUso

--HG--
extra : rebase_source : 298387e0f33ff226f6d096fd8786f29ddbd5a56f
2017-06-14 17:13:52 +02:00
Nicolas Chevobbe 632857032b Bug 1370486 - Add mocha tests for messages store cleaning. r=Honza
In the process of adding those tests, I realized the cleanup was
not effective. There were some bugs for Immutable List (we can't
use delete in a withMutation callback), and in object/arrays (we
we're using Array.includes with another array as a parameter).
These were fixed, and the new tests are now passing.

MozReview-Commit-ID: NrKjLuu25

--HG--
extra : rebase_source : cdbdfdc7f5b2a1e3c71cb76cfcd42db5204332ff
2017-06-16 17:42:11 +02:00
Nicolas Chevobbe 3bad61fa25 Bug 1341308 - Fix network stub check test intermittent. r=bgrins,Honza
In the console, we were assuming that eventTiming was the last
of the eight networkUpdate that happen for a given network request.
Unfortunately, we can't ensure the order in which those updates come,
so the test was intermitently failing when eventTiming was fired
before other updates.
To fix this, we don't look for a specific update, but rather check that
all of the 8 updates happened.

MozReview-Commit-ID: Iv0TIHoqkyv

--HG--
extra : rebase_source : 129a2edd1725e8eddc8ea20de3d38e1bc5f27f87
2017-06-12 09:18:51 +02:00
Jan Odvarko 9f1098e592 Bug 1370172 - Remove sdk/core/heritage from Console panel; r=zer0
MozReview-Commit-ID: GYH3p2spgZT

--HG--
extra : rebase_source : b93c167782c73a4e252cba1226c61a042c0f7875
2017-06-14 12:18:48 +02:00
Nicolas Chevobbe 13c8f2cf43 Bug 1370268 - Stop using Immutable.Record for messages types. r=bgrins
MozReview-Commit-ID: Lp4JnICQzcM

--HG--
extra : rebase_source : a0161745eef40c40d75aa042a9e63d4b4a737d81
2017-06-12 09:56:31 +02:00
Brian Grinstead 6d93cc1ff9 Bug 1371452 - Provide instructions for POSTing the profile from test_render_perf.html to perf-html;r=nchevobbe
MozReview-Commit-ID: HYdmANqxIg5

--HG--
extra : rebase_source : 6735ed2499e2b05731aaf1b6d04f42f0a4bc70be
2017-06-08 15:00:34 -07:00
Sebastian Hengst 1446fbd365 Backed out changeset 634b361b1b9d (bug 1364150) for scroll position failures in devtools' browser_webconsole_keyboard_accessibility.js. r=backout a=merge
MozReview-Commit-ID: KjkF0dbDrWa

--HG--
extra : source : a3f4e0c311543afe8fb094bad0460befb679e235
2017-06-08 20:40:08 +02:00
Wes Kocher cf0077dc65 Merge autoland to m-c a=merge
MozReview-Commit-ID: BfLXAwELA2k
2017-06-08 18:35:34 -07:00
Ehsan Akhgari 3615b687a6 Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug 2017-06-08 09:49:49 -04:00
Brian Grinstead 865c58e29c Bug 1364150 - Introduce debounce middleware; r=bgrins
MozReview-Commit-ID: Hu3rQ3iJHzP

--HG--
extra : rebase_source : c623b48d0055f4b0fb516c04ff5a1ec58961e7c5
2017-05-11 12:40:20 -07:00
Brian Grinstead bf1b0e6b82 Bug 1370659 - Add more measurements to test_render_perf.html and manually control the profiler;r=nchevobbe
MozReview-Commit-ID: EO1vlWTSFZt

--HG--
extra : rebase_source : aee1483ac01eb13571d13787c0e70adb110ebf3d
2017-06-07 09:02:39 -07:00
Nicolas Chevobbe 36225b1e0f Bug 1363681 - Move the network update information outside of the message type. r=Honza
This moves network update messages to their own property on the store.
We take this as an opportunity to only dispatch the last network update,
i.e. `eventTimings` since it has all we need and saves us some time (there
are 8 network update per network messages, which can be costly).

MozReview-Commit-ID: 2AQN3IlgHg7

--HG--
extra : rebase_source : 465ed3a20c6c202fccf0af9f57f36dcd63db04e6
2017-06-06 11:56:22 +02:00
Nicolas Chevobbe 33b54ea1bc Bug 1363680 - Adapt mocha tests. r=Honza
MozReview-Commit-ID: Jl48dtpqlm7

--HG--
extra : rebase_source : aa94cd8db6785b19008f67086cd0a9ca3371bcab
2017-06-05 13:41:09 +02:00
Nicolas Chevobbe 0cb8dfb5b1 Bug 1363680 - Update stubs. r=Honza
MozReview-Commit-ID: ANFE45Ilr7w

--HG--
extra : rebase_source : ccd6b6c4b096975e22f3d9193f43504a97733ed8
2017-06-05 14:18:01 +02:00
Nicolas Chevobbe 568a26e351 Bug 1363680 - Move the repeat information outside of the message type. r=Honza
MozReview-Commit-ID: J7IJgEYnLhn

--HG--
extra : rebase_source : 2d216915e9e3c59b9d128f4484b340d902bc9c86
2017-06-05 14:15:09 +02:00
Ehsan Akhgari 30d7c12e39 Bug 1370102 - Make browser_console_dead_objects.js correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag 2017-06-04 19:33:53 -04:00
Sebastian Hengst b3c51a3e2d merge mozilla-central to autoland. r=merge a=merge 2017-06-03 20:16:49 +02:00
Joel Maher b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Nicolas Chevobbe 49c34bcec9 Bug 1367318 - Trim console filter input. r=Honza
MozReview-Commit-ID: 8OAEUh6ekiP

--HG--
extra : rebase_source : 9daae96d601fa1404210a59a7f947ac6ad1f62fe
2017-06-02 09:52:27 +02:00
Nicolas Chevobbe 5f016b9c77 Bug 1363678 - Allow to pass a custom logLimit to configureStore. r=bgrins
The idea is to allow tests to set their own logLimit without
having to use Services.setIntPref.
To do so, we also need to not retrieve the logLimit from Services
in the messages reducer. Since we already have the logLimit in the
store, we can retrieve it directly from the store by passing the
prefs state to the messages reducer.
We take this as an opportunity to revisit the createRootReducer function
to be future proof: if any new reducer is added, they should just work
as if we were using combineReducers.

With those changes, we can set a lower logLimit in some tests that used
to have a defined timeout since they were taking too much time.

MozReview-Commit-ID: 7j80XoKkJ1y

--HG--
extra : rebase_source : 23b86faa00d08a80f2cb21291c0df3b4c8113e73
2017-06-01 10:23:51 +02:00
Nicolas Chevobbe a52529fac7 Bug 1363678 - Adapt tests to the new filtering logic. r=bgrins,Honza
MozReview-Commit-ID: Kv4fmQ4hU9c

--HG--
extra : rebase_source : 381c1335cb67c17c98922b089235889b06bbc6ec
2017-05-31 09:32:32 +02:00
Nicolas Chevobbe d3fa8435f5 Bug 1363678 - Refactor how we do the messages limit on the reducer. r=Honza
The parent commit did some changes to the architecture of the store that
needed to be handled on the limit messages function.
We take advantage of this to rewrite the functions involved to be as efficient
as possible. To do that, we limit the work done by Immutable structures by doing
changes in them only once per added messages.

MozReview-Commit-ID: 6VzobhWzK40

--HG--
extra : rebase_source : 37a8159401763c07244f6495a28d64406f7bff0a
2017-05-31 14:00:15 +02:00
Nicolas Chevobbe 4a9f505eb8 Bug 1363678 - Move the filtering logic to the reducer. r=bgrins
We used to do the filtering on the selector, which can be costly because
we're looping through all the messages of the store on each new message.
Moving the logic to the reducer allow us to be more thoughtful about which
messages to evaluate and when.

In order to make this change, we need to pass the filter state to the message
reducer. This is done by ditching the combineReducers helper function and do
the plumbing by ourselves, which isn't complex.

MozReview-Commit-ID: Lw37XgEFf7e

--HG--
extra : rebase_source : 290c315b91896765f3a249fbf75449cfa66a710f
2017-05-31 09:27:43 +02:00
Luca Greco a977d84eda Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo

--HG--
rename : browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow.js => browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow_eval_bindings.js
extra : rebase_source : 0e207c6d422b0227ec867e08e05a6a323dc3664b
2017-02-15 14:54:50 +01:00
Jan Odvarko 62685cf8c0 Bug 1368022 - Remove autoscroll property from UI reducer; r=nchevobbe
MozReview-Commit-ID: IwOvNrJjS1l

--HG--
extra : rebase_source : b2711c0b8f52a66da44aab1a94d1b26da9463699
2017-05-30 17:03:34 +02:00
Nicolas Chevobbe 51bd2623bb Bug 1367395 - Fix mocha filter component test. r=Honza
Since the FilterButton component is now only a function that returns a React Element,
it looks like Enzyme can't do the comparison we were doing before.
Checking directly the resulting html, even if non-optimal, fixes the test.

MozReview-Commit-ID: 5fAk8WyYCaF

--HG--
extra : rebase_source : 9f15782b64657eb6a31eefcabbcf9775d706cc07
2017-05-29 10:30:32 +02:00
Carsten "Tomcat" Book d9167ce058 Backed out changeset 9b891f690b98 (bug 1367395) for eslint failure 2017-05-30 09:20:02 +02:00
Nicolas Chevobbe af9a63d7d2 Bug 1367395 - Fix mocha filter component test. r=Honza
Since the FilterButton component is now only a function that returns a React Element,
it looks like Enzyme can't do the comparison we were doing before.
Checking directly the resulting html, even if non-optimal, fixes the test.

MozReview-Commit-ID: 5fAk8WyYCaF

--HG--
extra : rebase_source : bcf5950bbf2fb63c0a2ff1a99f578eea99379745
2017-05-29 10:30:32 +02:00
Sebastian Hengst 6f73ea710d Backed out changeset 7b9687c90aea (bug 1368022) for eslint failures, e.g. in console-output.js. r=backout 2017-05-29 18:08:01 +02:00
Jan Odvarko 096dd39d81 Bug 1368022 - Remove autoscroll property from UI reducer; r=nchevobbe
MozReview-Commit-ID: 6KnCE7uj6pz

--HG--
extra : rebase_source : bd5ce92ca83677dead72330d1f51ce85fbb911db
2017-05-29 10:33:44 +02:00
Michael Kohler a08b8034b2 Bug 1256768 - Fix ESLint errors/warnings in devtools/client/webconsole/console-output.js r=nchevobbe
MozReview-Commit-ID: 76jPTnoqWq7

--HG--
extra : rebase_source : 4bb78c07caccfff16796dbbcf5b56092cb9a300a
2017-05-20 22:54:41 +02:00
Paolo Amadini 30ea634bb0 Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 5a10a3ebbfe0ce2a801330041f95447c313a9a70
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-05-25 15:00:49 +01:00
Sebastian Hengst ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini 94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01:00
Jan Odvarko b6773ad8a8 Bug 1367266 - Properly calculate autoscroll prop; r=nchevobbe
MozReview-Commit-ID: K5fJX7HzxGD

--HG--
extra : rebase_source : 858c15dcf8122ee0604b09bca4f7c3d557d41824
2017-05-26 12:51:36 +02:00
Jan Odvarko f9e6218e28 Bug 1363696 - Compute the indent of a message in the message add reducer; r=nchevobbe
MozReview-Commit-ID: EAebgUG0FTh

--HG--
extra : rebase_source : 9b08beb2a4e855d748aabd5ca68749e15c2bbd7f
2017-05-26 11:20:57 +02:00
Sebastian Hengst 0abfc566c4 Backed out changeset ac956e9a5d32 (bug 1363696) for eslint failure at devtools/client/webconsole/new-console-output/components/console-output.js:85. r=backout 2017-05-26 10:35:30 +02:00
Jan Odvarko 71a0b2c34b Bug 1363696 - Compute the indent of a message in the message add reducer; r=nchevobbe
MozReview-Commit-ID: EAebgUG0FTh

--HG--
extra : rebase_source : 3586a5fa0d6c99d74433effb5e7b886693c3b679
2017-05-26 08:28:52 +02:00
Oriol 652cfe6316 Bug 1297466 - Do not attempt to open Function.prototype in Debugger. r=bgrins
--HG--
extra : rebase_source : fed13d5c980f853c313d6b62a7812af538bd79cb
2017-05-15 16:47:00 -04:00
Brian Grinstead ec38416ba5 Bug 1307936 - Reset filter prefs in between console mochitests;r=Honza
MozReview-Commit-ID: C2yIt8Kmw8X

--HG--
extra : rebase_source : 236aef0a8ed1ade7473ad19e1a11d4f94c3fbd83
2017-05-23 15:30:17 -07:00
Jan Odvarko 6a123ea736 Bug 1307884 - Implement tests; r=bgrins,nchevobbe
MozReview-Commit-ID: KdYSPciSvJk

--HG--
extra : rebase_source : e9f905571608ae4386ea528d3f373e587c7121df
2017-05-22 19:59:28 +02:00
Jan Odvarko 29ca14c02a Bug 1307884 - Remove prune function; r=bgrins
MozReview-Commit-ID: B6VGrJOe0sk

--HG--
extra : rebase_source : 31e80ce3ea2dc3734a01a83e8871607d79fa3020
2017-05-22 19:59:20 +02:00
Jan Odvarko f3f602739e Bug 1307884 - Clean up actors; r=nchevobbe
MozReview-Commit-ID: Ls5zAExKtkP

--HG--
extra : rebase_source : 8daa22c4645c15a04af636a02315a9246211dcb0
2017-05-22 19:59:06 +02:00
Jan Odvarko a6b4c9d294 Bug 1307884 - Limit for messages in the store; r=bgrins
MozReview-Commit-ID: 3NLMvJFPbls

--HG--
extra : rebase_source : baebb8c6aeed8ff15fc9e81f9470dfad3371118c
2017-05-22 19:19:56 +02:00
Brian Grinstead 7293da735c Bug 1364353 - Remove unused onClickFiltersClear function;r=nchevobbe
MozReview-Commit-ID: 18vhqno816A

--HG--
extra : rebase_source : 73e404448030472396b0d5dfb161980e8d1a0aa0
2017-05-18 11:00:53 -07:00
Brian Grinstead 4897fac06f Bug 1364047 - Pull WebConsoleUtils.l10n into its own module;r=Honza
MozReview-Commit-ID: LI5Hrs33CVS

--HG--
extra : rebase_source : 5da9d9ac8acf90f2446d1068589f1a4d314c0695
2017-05-17 14:07:03 -07:00
Tom Tromey 9f4ebe5770 Bug 1317962 - use source maps in stack traces in the console; r=jryans
MozReview-Commit-ID: 9SPZDi50XZv

--HG--
extra : rebase_source : e8d9e5eaeb0de0f18b34eae13499d394df696f52
2017-05-02 12:51:51 -06:00
Jan Odvarko 132a0b6aa8 Bug 1364386 - Update tests; r=nchevobbe
MozReview-Commit-ID: 3iD70SdPECo

--HG--
extra : rebase_source : 0e37fe3fec035115a6a97835258bbeac69e6af07
2017-05-17 14:52:11 +02:00
Jan Odvarko f03907e6ec Bug 1364386 - Use only file name for search; r=nchevobbe
MozReview-Commit-ID: U26CX1EbLP

--HG--
extra : rebase_source : cb97fcdf715441e9d674e66f75518f6b7ef55ee1
2017-05-16 16:25:08 +02:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Carsten "Tomcat" Book 7a4eb50360 merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Brian Grinstead 495d4a991a Bug 1363768 - Prevent creating constant elements during render;r=nchevobbe
MozReview-Commit-ID: IPWczrp1TOA

--HG--
extra : rebase_source : 5d3dad5427ab1f72d530c8363cddb02b8bfa6d26
2017-05-11 09:59:49 -07:00
Brian Grinstead 905f70a8a4 Bug 1363307 - Update component test for timer errors;r=nchevobbe 2017-05-11 14:36:14 -07:00
Andrea Marchesini cb157a61e8 Bug 1363307 - Console.timeEnd(label) should warn if 'label' in an unknwon timer, r=bgrins 2017-05-11 14:36:12 -07:00
Andrea Marchesini 2f43217a11 Bug 1363288 - Console.time() prints a warning if used twice with the same label, r=bgrins 2017-05-11 14:36:09 -07:00
Brian Grinstead 9979688697 Bug 1363497 - Include react-addons-perf for launchpad via `npm run dev`;r=nchevobbe
MozReview-Commit-ID: AicGHXQeW6f

--HG--
extra : rebase_source : d0b414b8a0239659fd4492d882ffd620131ed7cd
2017-05-10 10:20:10 -07:00
Florian Scholz 85eaf172b0 Bug 1353706 – Update errordocs mapping for added and updated MDN docs. r=Honza 2017-05-04 00:49:00 -04:00
Ricky Chien da1823f076 Bug 1344160 - Fix mochitest failures r=Honza
MozReview-Commit-ID: JkF1WCdLmt8

--HG--
extra : rebase_source : d6c1e0bf147023c177ac098ecbfce7bb86738a5f
2017-04-29 23:20:49 +08:00
Ricky Chien ffb7c92d26 Bug 1344160 - Refactor netmonitor-controller.js r=Honza
MozReview-Commit-ID: JPUB83Qsmav

--HG--
extra : rebase_source : 32f3d355d4ba0f79dc06b7394b6fa265c509990b
2017-04-29 23:20:24 +08:00
Phil Ringnalda 6ff93fd449 Backed out changeset 8ff81b6fdfb8 (bug 1317962) for frequent Windows failures in browser_console_copy_entire_message_context_menu.js
CLOSED TREE

MozReview-Commit-ID: ADIiRxXlKs1
2017-05-04 20:56:39 -07:00
Tom Tromey cdba52c5a8 Bug 1317962 - use source maps in stack traces in the console; r=jryans
MozReview-Commit-ID: 9SPZDi50XZv

--HG--
extra : rebase_source : 86ba1dbdc32a02d3ac46e3fc0f1cf2063b2a2291
2017-05-02 12:51:51 -06:00
Brian Grinstead f51f763fde Bug 1361537 - Add a simple jsterm implementation to console launchpad;r=Honza
MozReview-Commit-ID: DbkR4MqUKBN

--HG--
extra : rebase_source : cfa99ef9597e641b7759e29dc3de42273b1a8dcc
2017-05-02 14:52:34 -07:00
Brian Grinstead 6c326a4688 Bug 1361429 - Convert FilterButton to functional component;r=nchevobbe
MozReview-Commit-ID: 5ILDOVR3GS7

--HG--
extra : rebase_source : ead2ffd56d3cf146481b0215b547b1e4abb167ed
2017-05-03 07:31:35 -07:00
Brian Grinstead 681585e2fc Bug 1361429 - Grab only the filterBarVisible property to limit number of re-renders for FilterBar;r=nchevobbe
MozReview-Commit-ID: JJMPDEDNbhZ

--HG--
extra : rebase_source : eb7312eafbc15865f08dc786f8728c835df3bea0
2017-05-03 07:27:52 -07:00
Jan Odvarko b3fee7448c Bug 1359065 - Update stubs; r=nchevobbe
MozReview-Commit-ID: DVALxvFeMkQ

--HG--
extra : rebase_source : 35a031b0420ec34bea91447fa82ebc493940e150
2017-05-03 07:25:59 +02:00
Jan Odvarko e7d7124412 Bug 1359065 - Update tests; r=nchevobbe
MozReview-Commit-ID: I846PkLlIoL

--HG--
extra : rebase_source : c15b60cb4bef77956be9fc41123d7aaace64109e
2017-05-02 18:32:51 +02:00
Jan Odvarko 5b9c687372 Bug 1359065 - Remove timeStamp before generating message ID; r=nchevobbe
MozReview-Commit-ID: HGaQsIkb7IG

--HG--
extra : rebase_source : 57c5d9145e4818d8d069c641146dbf6547c78518
2017-05-02 18:32:34 +02:00
Jan Odvarko f729217f5c Bug 1307895 - logMessages rendering test; r=nchevobbe
MozReview-Commit-ID: 8PX0C7rGvG3

--HG--
extra : rebase_source : 1a3034c6799777e2882af7cbe0d7ed7509893e2f
2017-05-01 16:34:13 +02:00
Jan Odvarko 6946717844 Bug 1307895 - Support LogMessage log type; r=nchevobbe
MozReview-Commit-ID: D3RGGNuOjU5

--HG--
extra : rebase_source : e25621354a1b15d833cd0ec5f02797bfd9dc811a
2017-05-01 16:34:06 +02:00
Tom Tromey 7cf598b980 Bug 1359144 - use client-side source map service in console; r=jryans
MozReview-Commit-ID: Jn9fr1EoPg9

--HG--
extra : rebase_source : 533abb2bd654a3d6d9046862436f73be3fa64667
2017-04-28 10:12:57 -06:00
Jan Odvarko 44dac424c3 Bug 1361270 - Update test; r=nchevobbe
MozReview-Commit-ID: 26l7AlZOWO0

--HG--
extra : rebase_source : 0c76f11b746d3aedececc644d5620f80bd3b138a
2017-05-02 17:27:25 +02:00
Jan Odvarko 46d58cb8f8 Bug 1361270 - Search also within net logs; r=nchevobbe
MozReview-Commit-ID: FTs2tJicTXC

--HG--
extra : rebase_source : de14051242a9ed44b763e653d1b9a15b69a8c79a
2017-05-02 17:27:15 +02:00
Jan Odvarko f6b441fd4b Bug 1361270 - Avoid exception when searching in the Console panel; r=nchevobbe
MozReview-Commit-ID: FGF3gzI4hjG

--HG--
extra : rebase_source : 50bac78ff30623ce097c29076855fd5c891c0979
2017-05-02 09:13:07 +02:00
Jan Odvarko 8e86a266d9 Bug 1307879 - Implement test for searching in grips; r=nchevobbe
MozReview-Commit-ID: Gj1Yu6CHzLz

--HG--
extra : rebase_source : 820470ad57bc8ee7c567d5544f8e21566a7ab2e2
2017-04-25 15:31:22 +02:00
Jan Odvarko 9f53e34b34 Bug 1307879 - Search within grip preview items; r=nchevobbe
MozReview-Commit-ID: 7oVMD2WvIVw

--HG--
extra : rebase_source : 2c366c9f4de07c604e9ade04a17988ffdd922f50
2017-04-25 15:14:37 +02:00
nchevobbe 298f6fe880 Bug 1358507 - Adapt tests to the new component architecture; r=bgrins
MozReview-Commit-ID: LfHkDyIwIv5

--HG--
extra : rebase_source : c825430a92c7346edee720f54a242b65467025c5
2017-04-28 12:15:45 +02:00
nchevobbe ea3c910ed7 Bug 1358507 - Simplify component tree. r=bgrins
MozReview-Commit-ID: 3os1JlDVeEI

--HG--
extra : rebase_source : c3bf1874f85f50f02d0adbbd1e498a604c3b5ebe
2017-04-28 11:38:13 +02:00
Wes Kocher a463bb4c4c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6CUQEJghjzU
2017-04-27 13:37:47 -07:00
Dragana Damjanovic ac4b67b516 Bug 1334776 - ResponseHeader Visitor will get original header casing. We need to fix it at some places in devtools. 2017-04-27 16:48:43 +02:00
nchevobbe 8e0ac1894c Bug 1358937 - Make getCleanedPacket function handle longString exception messages; r=bgrins
Since the longString object has an actor property which can change from test to test,
replace it with its value in the existing packet.

MozReview-Commit-ID: CzxX203TdEU

--HG--
extra : rebase_source : df89c67ba760ab48b3e5e9e38378314e06dfc0fb
2017-04-27 09:38:15 +02:00
nchevobbe 0becd28f84 Bug 1358937 - Add tests for exceptions with longString messages; r=bgrins
Edit the function that generates pageError stubs so it does use
the key we provide it.
Change the key in existing pageError stubs so we don't have to
modify the tests.

MozReview-Commit-ID: FBfpflNgXpv

--HG--
extra : rebase_source : 02c0249e9e1f098ad577e7b50e127c0600c1b5e4
2017-04-25 10:40:56 +02:00
nchevobbe 4205bf7b26 Bug 1358937 - Fix console crash due to longString error messages; r=bgrins
MozReview-Commit-ID: 95m5bvQDcdB

--HG--
extra : rebase_source : 2c7b4a1078c33ed51611092351a3eab4d63cbcab
2017-04-25 14:05:28 +02:00
nchevobbe 23615603c1 Bug 1359716 - Make test_render_perf.html more accurate; r=Honza
Set the logLimit to the number of messages we add.
Bump up the number of messages to add to 4000.
Iterate 25 times instead of 10.
Compute the median to limit the impact of low/high spikes.

MozReview-Commit-ID: 1WoiYk5pF9v

--HG--
extra : rebase_source : 5e2459d04640f56de373a3e0e3805c13f382b7ea
2017-04-26 10:40:04 +02:00
Brian Grinstead 3a385c46db Bug 1359597 - Set up new console with devtools-launchpad;r=Honza
MozReview-Commit-ID: FxuwGLYef5v

--HG--
extra : rebase_source : e526562574050eba6b77b464f559e2c95d6c8c3a
2017-04-26 08:10:04 -07:00
nchevobbe e17c52925c Bug 1358520 - Fix render perf test; r=bgrins
MozReview-Commit-ID: EPAxQ3hAKit

--HG--
extra : rebase_source : 84ffc103b7ca6c4ad2579d5a08ec993562cdab99
2017-04-20 09:48:00 +02:00
Sebastian Hengst 11d9a87e7f Backed out changeset 2462fcdd73bc (bug 1358520) for eslint failure. r=backout 2017-04-24 22:12:11 +02:00
nchevobbe ef01ef6997 Bug 1358520 - Fix render perf test; r=bgrins
MozReview-Commit-ID: EPAxQ3hAKit

--HG--
extra : rebase_source : 66a61b0e8ef2c6f09035bd4529bf126f98a559c6
2017-04-20 09:48:00 +02:00
nchevobbe 73a7d1d41b Bug 1307940 - Add toolbox-dependent method to serviceContainer only if toolbox is available. r=bgrins
MozReview-Commit-ID: CjRXKemaJ4f

--HG--
extra : rebase_source : e2ba83b3b8594528f9c912407110e4a288cb6c97
2017-04-24 10:09:27 +02:00
Nicolas Chevobbe 2ddcc6a9bf Bug 1307940 - Add mochitest to test open-in-inspector icon in the console. r=bgrins,jdescottes
MozReview-Commit-ID: 7tBt2KzOGnp

--HG--
extra : rebase_source : 21bc516346ff797083cb4dc7d63b22b40f569d4c
2017-03-13 13:51:31 +01:00
nchevobbe dc1f84cb43 Bug 1307940 - Add icon next to ElementNodeRep to select node in inspector; r=bgrins,jdescottes
MozReview-Commit-ID: InGASswqAAA

--HG--
extra : rebase_source : 0c522bdf2aafeca61019352d537982a3983803bd
2017-04-21 09:23:11 +02:00
Tom Tromey b10eaa6eae Bug 1353038 - do not quote whitespace in console evaluation results; r=nchevobbe
Don't escape whitespace in console evaluation results.  This preserves
the behavior of the old console, and in particular makes pprint() more
useful again.

MozReview-Commit-ID: CrWWXjtSBIw

--HG--
extra : rebase_source : aa238c1f28d6a7e33b376874b7b67ffae5eaf97e
2017-04-20 11:58:35 -06:00
nchevobbe 5f3be63ea2 Bug 1358103 - Remove createFactory call on Reps; r=jdescottes
The new Reps bundle from Bug 1357341 is all about functions now,
so we should remove all unnecessary `createFactory` calls
we used to do when creating Reps.

MozReview-Commit-ID: 4KvCThhwphv

--HG--
extra : rebase_source : ade723dbdb78752e5535f18b20370b6c46a54c48
2017-04-21 08:50:24 +02:00
Wes Kocher 5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Julian Descottes 7f9cac248f Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 7b7f29e68b5c73246de73ee73bdfbcce7de4e594
extra : source : 26825d7a225d98a9b29def0e0871ed7d8d3cb62f
2017-04-20 14:49:44 +02:00
Andrea Marchesini 26843e3f98 Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
Andrea Marchesini 9a89dabb3e Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Tom Tromey d9a58b20b7 Bug 1346326 - implement new console.count semantics; r=baku
Bug 1346326 points out that the console.count spec has changed to

  void count(optional DOMString label = "default");

This patch implements the same behavior, but does not change the webidl,
on the theory that perhaps something relies on the current "any..."
type.

MozReview-Commit-ID: 9RQKAZ4AVtT
2017-04-07 10:04:10 -06:00
Carsten "Tomcat" Book 0ede18d72a Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Wes Kocher cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Julian Descottes ef9a9e80c9 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 76cd533614d04771319f484cf8eb642d5f966e75
2017-04-18 10:25:19 +02:00
Carsten "Tomcat" Book 87edaf78ee Merge mozilla-central to autoland
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
nchevobbe f9ffde2907 Bug 1357341 - Fix VariableView with new Reps bundle; r=jdescottes
MozReview-Commit-ID: GSOyL6Nx23Z

--HG--
extra : rebase_source : c930c3f2fd8a7c71c8347872607389d4321e4171
2017-04-20 12:12:14 +02:00
Jim Porter 3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Sebastian Hengst 8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Ricky Chien 5caf480904 Bug 1356786 - Add waitUntil in browser_webconsole_shows_reqs_in_netmonitor.js r=ntim
MozReview-Commit-ID: 1cLwVeaortC

--HG--
extra : rebase_source : beb312634f4956be6588b7b537911082a2bb0942
2017-04-15 19:38:00 +08:00
nchevobbe 8f16cb5be3 Bug 1355869 - Delay scrollToBottom on next tick in console init. r=bgrins
The call to scrollToBottom could take a good amount of time if there were
already logged messages in the console. This might be related to the fact that
componentDidMount is called although there is some layout or paint work.
Delaying the first call to scrollToBottom in the component greatly reduced the
time spent in scrollToBottom.

MozReview-Commit-ID: F3cRYV4OFhm

--HG--
extra : rebase_source : 7be84aeadd33e5c57131b35da2dea5e7bc3611b0
2017-04-12 17:21:27 +02:00
Alessio Placitelli 245eaee698 Bug 1341996 - Prevent using empty keys in DEVTOOLS_JAVASCRIPT_ERROR_DISPLAYED. r=bgrins
MozReview-Commit-ID: 42ESILTpnAT

--HG--
extra : rebase_source : 6836616710525bd5f6bf54e32177e977ef0cd829
2017-04-12 17:33:36 +02:00
nchevobbe 046d04f0c2 Bug 1088900 - Add mocha tests for custom styles on console.group messages. r=bgrins
Tests custom styles on both console.group and console.groupCollapsed messages.
Update the stubs to match what the server now returns.

MozReview-Commit-ID: KHhU8Ki0YUz

--HG--
extra : rebase_source : 6f3766f9bb49d677a8f90adc0e8db7c34fa9e8bb
2017-04-11 11:43:46 +02:00
nchevobbe f474eb2348 Bug 1088900 - Use ConsoleMessage's "parameters" property for console.group. r=bgrins
Because we now enable custom styling on console.group, we can't rely solely on groupName
to output the group. We can have multiple pieces on which to apply different styles, like
for console.log, so we use the same properties to have the same behavior for custom styles.

MozReview-Commit-ID: 7IKl919Dg7a

--HG--
extra : rebase_source : 770af4e62eaa779cab75179ed9789c4b102cb4d6
2017-04-11 11:41:36 +02:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
nchevobbe 80058a000e Bug 1355454 - Move "createFactories" function from Reps to a shared util. r=jdescottes
MozReview-Commit-ID: LmGBg2HSzOC

--HG--
extra : rebase_source : 3168ac7cf313a117ec62ce0a5f59e0edb3ac92d7
2017-04-12 08:33:37 +02:00
Ricky Chien 4a003809b3 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : d50dd14c0532df7b0cb30c432af3de1dd55953a1
2017-04-01 23:01:06 +08:00
Carsten "Tomcat" Book 5010bfe1c5 Backed out changeset afbfe3a5cdb6 (bug 1352699) 2017-04-07 10:48:08 +02:00
Ricky Chien 02dbca99f3 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : de8167f771793f2da2092470d261a2a56afa3683
2017-04-01 23:01:06 +08:00
Sebastian Hengst 8eaa228f2c Backed out changeset a3ef74b43978 (bug 1352699) 2017-04-06 20:15:15 +02:00
Ricky Chien d52f99b739 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : f9fc2e4c0b342409a6a1c9e6acd992506585e8e4
2017-04-01 23:01:06 +08:00
Ricky Chien 06707cbe52 Bug 1350215 - Fix mochitest failures r=Honza
MozReview-Commit-ID: CNo5JeqMyVn

--HG--
extra : rebase_source : 5ab54e4d138c22b1626bc32610f62389fe0786df
2017-03-27 00:01:35 +08:00
Wes Kocher f4d0026eb3 Backed out 7 changesets (bug 1350215) for OSX failures in browser_all_files_referenced.js a=backout
Backed out changeset 435557f30204 (bug 1350215)
Backed out changeset b8358b21928c (bug 1350215)
Backed out changeset 59d2a3f98f6d (bug 1350215)
Backed out changeset e219f3f6e8e7 (bug 1350215)
Backed out changeset f812f7a98a9c (bug 1350215)
Backed out changeset e676e004d08e (bug 1350215)
Backed out changeset e6d27888cb6f (bug 1350215)

--HG--
rename : devtools/client/netmonitor/src/actions/batching.js => devtools/client/netmonitor/actions/batching.js
rename : devtools/client/netmonitor/src/actions/filters.js => devtools/client/netmonitor/actions/filters.js
rename : devtools/client/netmonitor/src/actions/index.js => devtools/client/netmonitor/actions/index.js
rename : devtools/client/netmonitor/src/actions/moz.build => devtools/client/netmonitor/actions/moz.build
rename : devtools/client/netmonitor/src/actions/requests.js => devtools/client/netmonitor/actions/requests.js
rename : devtools/client/netmonitor/src/actions/selection.js => devtools/client/netmonitor/actions/selection.js
rename : devtools/client/netmonitor/src/actions/sort.js => devtools/client/netmonitor/actions/sort.js
rename : devtools/client/netmonitor/src/actions/timing-markers.js => devtools/client/netmonitor/actions/timing-markers.js
rename : devtools/client/netmonitor/src/actions/ui.js => devtools/client/netmonitor/actions/ui.js
rename : devtools/client/netmonitor/src/components/moz.build => devtools/client/netmonitor/components/moz.build
rename : devtools/client/netmonitor/src/components/request-list-empty-notice.js => devtools/client/netmonitor/components/request-list-empty.js
rename : devtools/client/netmonitor/src/components/toolbar.js => devtools/client/netmonitor/components/toolbar.js
rename : devtools/client/netmonitor/src/constants.js => devtools/client/netmonitor/constants.js
rename : devtools/client/netmonitor/src/har/har-automation.js => devtools/client/netmonitor/har/har-automation.js
rename : devtools/client/netmonitor/src/har/har-collector.js => devtools/client/netmonitor/har/har-collector.js
rename : devtools/client/netmonitor/src/har/har-exporter.js => devtools/client/netmonitor/har/har-exporter.js
rename : devtools/client/netmonitor/src/har/har-utils.js => devtools/client/netmonitor/har/har-utils.js
rename : devtools/client/netmonitor/src/har/moz.build => devtools/client/netmonitor/har/moz.build
rename : devtools/client/netmonitor/src/har/test/.eslintrc.js => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/src/har/test/browser.ini => devtools/client/netmonitor/har/test/browser.ini
rename : devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js => devtools/client/netmonitor/har/test/browser_net_har_copy_all_as_har.js
rename : devtools/client/netmonitor/src/har/test/browser_net_har_post_data.js => devtools/client/netmonitor/har/test/browser_net_har_post_data.js
rename : devtools/client/netmonitor/src/har/test/browser_net_har_throttle_upload.js => devtools/client/netmonitor/har/test/browser_net_har_throttle_upload.js
rename : devtools/client/netmonitor/src/har/test/head.js => devtools/client/netmonitor/har/test/head.js
rename : devtools/client/netmonitor/src/har/test/html_har_post-data-test-page.html => devtools/client/netmonitor/har/test/html_har_post-data-test-page.html
rename : devtools/client/netmonitor/src/har/toolbox-overlay.js => devtools/client/netmonitor/har/toolbox-overlay.js
rename : devtools/client/netmonitor/src/middleware/batching.js => devtools/client/netmonitor/middleware/batching.js
rename : devtools/client/netmonitor/src/middleware/moz.build => devtools/client/netmonitor/middleware/moz.build
rename : devtools/client/netmonitor/src/middleware/prefs.js => devtools/client/netmonitor/middleware/prefs.js
rename : devtools/client/netmonitor/src/netmonitor-controller.js => devtools/client/netmonitor/netmonitor-controller.js
rename : devtools/client/netmonitor/src/reducers/batching.js => devtools/client/netmonitor/reducers/batching.js
rename : devtools/client/netmonitor/src/reducers/filters.js => devtools/client/netmonitor/reducers/filters.js
rename : devtools/client/netmonitor/src/reducers/index.js => devtools/client/netmonitor/reducers/index.js
rename : devtools/client/netmonitor/src/reducers/moz.build => devtools/client/netmonitor/reducers/moz.build
rename : devtools/client/netmonitor/src/reducers/requests.js => devtools/client/netmonitor/reducers/requests.js
rename : devtools/client/netmonitor/src/reducers/sort.js => devtools/client/netmonitor/reducers/sort.js
rename : devtools/client/netmonitor/src/reducers/timing-markers.js => devtools/client/netmonitor/reducers/timing-markers.js
rename : devtools/client/netmonitor/src/reducers/ui.js => devtools/client/netmonitor/reducers/ui.js
rename : devtools/client/netmonitor/src/request-list-context-menu.js => devtools/client/netmonitor/request-list-context-menu.js
rename : devtools/client/netmonitor/src/request-list-tooltip.js => devtools/client/netmonitor/request-list-tooltip.js
rename : devtools/client/netmonitor/src/selectors/filters.js => devtools/client/netmonitor/selectors/filters.js
rename : devtools/client/netmonitor/src/selectors/index.js => devtools/client/netmonitor/selectors/index.js
rename : devtools/client/netmonitor/src/selectors/moz.build => devtools/client/netmonitor/selectors/moz.build
rename : devtools/client/netmonitor/src/selectors/requests.js => devtools/client/netmonitor/selectors/requests.js
rename : devtools/client/netmonitor/src/selectors/ui.js => devtools/client/netmonitor/selectors/ui.js
rename : devtools/client/netmonitor/src/utils/client.js => devtools/client/netmonitor/utils/client.js
rename : devtools/client/netmonitor/src/utils/filter-predicates.js => devtools/client/netmonitor/utils/filter-predicates.js
rename : devtools/client/netmonitor/src/utils/format-utils.js => devtools/client/netmonitor/utils/format-utils.js
rename : devtools/client/netmonitor/src/utils/l10n.js => devtools/client/netmonitor/utils/l10n.js
rename : devtools/client/netmonitor/src/utils/mdn-utils.js => devtools/client/netmonitor/utils/mdn-utils.js
rename : devtools/client/netmonitor/src/utils/moz.build => devtools/client/netmonitor/utils/moz.build
rename : devtools/client/netmonitor/src/utils/prefs.js => devtools/client/netmonitor/utils/prefs.js
rename : devtools/client/netmonitor/src/utils/request-utils.js => devtools/client/netmonitor/utils/request-utils.js
rename : devtools/client/netmonitor/src/utils/sort-predicates.js => devtools/client/netmonitor/utils/sort-predicates.js
rename : devtools/client/netmonitor/src/waterfall-background.js => devtools/client/netmonitor/waterfall-background.js
rename : devtools/client/netmonitor/src/assets/styles/netmonitor.css => devtools/client/themes/netmonitor.css
2017-03-28 23:25:01 -07:00
Ricky Chien 4708faa113 Bug 1350215 - Fix mochitest failures r=Honza
MozReview-Commit-ID: CNo5JeqMyVn

--HG--
extra : rebase_source : bcf8a1ee8db6e3a3b74e95e3e108aabe9d0b6e67
2017-03-27 00:01:35 +08:00
Alexandre Poirot 523f358ad5 Bug 1348885 - Prevent throwing on dead wrapper when processing stacks of error from nuked globals. r=jryans
MozReview-Commit-ID: gdFNYNzXLz

--HG--
extra : rebase_source : 429b0ca6ad020acb4cf14e01e0856b9f0d512c12
2017-03-23 18:53:57 +01:00
J. Ryan Stinnett f4ba137a1e Bug 1349360 - Mark experimental SourceMapService as deprecated. r=ochameau
The existing `SourceMapService` uses server-side source maps, which we are
replacing with client-side source maps.  It will be removed later in bug
1349354, but for now mark it as deprecated so we don't use it with any other
tools.

MozReview-Commit-ID: ABmWGC5asZd

--HG--
extra : rebase_source : 52d4238f0d4316c77fb8f4b769f84babe4d7c446
2017-03-21 16:44:09 -05:00
J. Ryan Stinnett c26a6274cc Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al

--HG--
extra : rebase_source : 26e95a9320998085675a1f14bfa4442f4bbc38dc
2017-03-20 16:22:55 -05:00
Wes Kocher 4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Patrick Brosset 14f92d0eed Bug 1301015 - Re-enable some devtools tests on e10s-multi; r=krizsa
Some devtools tests had been forced to run in e10s with just 1
content process in bug 1301340 and bug 1303113 because they were
failing.
Now there seems to have been enough e10s messaging fixes that these
tests work again. It seems safe to re-enable multi-content-processes
for them now.

MozReview-Commit-ID: ENfDdIXvIAI

--HG--
extra : rebase_source : 9f29d7f58088b3a99a3512b9f7e73525cb9a6e7e
2017-03-20 14:05:21 +01:00
Geoff Brown de73211a6f Bug 1298364 - Actually skip browser_webconsole_netlogging.js; r=jmaher
I accidentally disabled the wrong test in an earlier push. This change
corrects that, enabling browser_console_netlogging.js and skipping
browser_webconsole_netlogging.js.
2017-03-20 10:18:27 -06:00
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Tom Tromey 2f5cb642f9 Bug 1342526 - quote string expression results in console; r=nchevobbe
MozReview-Commit-ID: 1HFbotCZoZ6

--HG--
extra : rebase_source : f9893c940b9c0017e54bbfb2f55f7752ee264c16
2017-03-14 04:28:43 +01:00
Kris Maglione e237dc648c Bug 1344616: Follow-up: Fix devtools test failure. r=me
MozReview-Commit-ID: FcTSh9Jih3S
2017-03-06 19:01:06 -08:00
Kris Maglione 85333437e5 Bug 1314361 - Part 3: Stop using origin attributes for add-on ID in console filtering. r=baku 2017-02-26 13:13:45 -08:00
Tooru Fujisawa 61b1349ff4 Bug 1317400 - Part 3: Fix devtools tests. r=till 2017-03-04 20:37:14 +09:00
Phil Ringnalda ab84dcd8f5 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Masatoshi Kimura cc06af4a56 Bug 1342144 - Revert some version parameters in devtools/. r=jryans
DevTools has to support debugging versioned scripts until Firefox itself drops the support. So we can't remove versioned scripts completely.

MozReview-Commit-ID: 1NksT3hfz1Z

--HG--
extra : rebase_source : 72d1cb34b84101e3e07b5459ee36987e6508f3a7
2017-02-24 01:48:11 +09:00
Geoff Brown 151a463347 Bug 1298364 - Skip browser_webconsole_netlogging.js for frequent failures. r=jmaher 2017-02-25 09:18:29 -07:00
Tooru Fujisawa e7e8ef85a7 Bug 104442 - Part 5: Add another testcase for devtools and note. r=nchevobbe 2017-02-25 12:52:34 +09:00
Tooru Fujisawa c447cd8306 Bug 104442 - Part 4: Update stub. r=nchevobbe 2017-02-25 12:52:33 +09:00
Tooru Fujisawa 915f2f8c25 Bug 104442 - Part 3: Add test input for mocha test. r=nchevobbe 2017-02-25 12:52:33 +09:00
Tooru Fujisawa 00e859d170 Bug 1342293 - Call expectUncaughtException for each pageError. r=nchevobbe 2017-02-25 12:52:33 +09:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Nicolas Chevobbe 4cf9c3fdc9 Bug 1342215 - Fix pageError stub generation. r=jdescottes
We set a listener for "pageError" but we don't remove it.
There is a `once: true` property passed as an option for addListener,
but this isn't a standard addEventListener call it does not do anything.
Reverting to remove the listener fix the issue.

MozReview-Commit-ID: CrpS1QY5jNo

--HG--
extra : rebase_source : 583b738ac344da6413b88aecf52debd24afe4e54
2017-02-23 22:02:52 +01:00
Tim Nguyen 52d2723710 Bug 1341037 - Fix broken Browser Console. r=nchevobbe
MozReview-Commit-ID: 5gIYVBNCILb
2017-02-23 16:03:14 +01:00
Tim Nguyen eaf2ba178b Bug 1341037 - Fix ESLint and devtools bustage. r=bustage
MozReview-Commit-ID: 3Q7iGxOEMP2
2017-02-23 14:22:48 +01:00
Tim Nguyen dcab73623a Bug 1341037 - Use Toolbox react instance in webconsole. r=ochameau
MozReview-Commit-ID: 4ARtkoqWUQP

--HG--
extra : rebase_source : 25cd7b082aac7fc68388d32e9df2e30f4c254fa8
2017-02-21 20:47:25 +00:00
Patrick Brosset cad940883f Bug 1307347 - Get rid of duplicated loadTab/removeTab code in webconsole tests. r=jmaher 2017-02-17 14:28:19 +01:00
Julian Descottes 338f5cfbe4 Bug 1340806 - stop using load-reps wrapper;r=nchevobbe
MozReview-Commit-ID: GL9Sm6W2JCM

--HG--
extra : rebase_source : b18d1cbb3a5f7b9dde2b6b675b1ba08a26f7e8cc
2017-02-18 22:43:22 +01:00
Nicolas Chevobbe ce3aa510da Bug 1313688 - Fail a test if stubs don't match stubs created by stub generators; r=jdescottes
MozReview-Commit-ID: 2HTA4SwyXDi

--HG--
extra : rebase_source : c4599b1f789a98272186d8e3e3538117ba2f1575
2017-02-17 08:08:06 +01:00
Nicolas Chevobbe b14ed6d2c5 Bug 1313688 - Fix mocha tests. r=jdescottes
MozReview-Commit-ID: J1wGhUEFeQu

--HG--
extra : rebase_source : b8b8ad988f19cb6cc1f9b8eb6de1344fb9c4bde8
2017-02-15 22:41:45 +01:00
Nicolas Chevobbe 31e41f5c61 Bug 1313688 - Stubs generation; r=jdescottes
MozReview-Commit-ID: 2HTA4SwyXDi

--HG--
extra : rebase_source : 19bebc4f00b27d2b3cc265264487c1f4ef18110f
2017-02-18 13:27:29 +01:00
Nicolas Chevobbe 4da1e7466c Bug 1313688 - Move new console stub generation to head.js; r=jdescottes
Move the stub generation to functions in head.js so we can use them in other places.
Fix the getCleanedPacket function for properties that can differ from one OS to another.
Enhance test speed by removing the use of temp files to get the packets, and also by
evaluating the command in a single tab, instead of opening a tab for each command.

MozReview-Commit-ID: 2HTA4SwyXDi

--HG--
extra : rebase_source : c7eed370908c113c56acc1a7fd0010bacf62507b
2017-02-17 21:35:40 +01:00
Carsten "Tomcat" Book 2b24bba0a1 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Julian Descottes 671013ca7b Bug 1340205 - cleanup and unignore from eslintdevtools/client/webconsole/utils.js;r=nchevobbe
MozReview-Commit-ID: 2goPtQVSsLF

--HG--
extra : rebase_source : 5e5e5c3306e8080623cb78b276d505cb22bb2215
2017-02-16 18:08:30 +01:00
Tooru Fujisawa 594ece5815 Bug 1283712 - Part 11.4: Fix assignment. r=me 2017-02-17 05:28:41 +09:00
Tooru Fujisawa 02022c191a Bug 1283712 - Part 11.3: Add mocha test. r=nchevobbe 2017-02-15 23:53:07 +09:00
Tooru Fujisawa 410d010670 Bug 1283712 - Part 11.2: Update stub. r=nchevobbe 2017-02-15 23:53:07 +09:00
Tooru Fujisawa 917ac773a0 Bug 1283712 - Part 11.1: Show notes in devtools console. r=nchevobbe 2017-02-15 23:53:07 +09:00
Tim Nguyen 4d3c216f7e Bug 1255116 - Simplify toolbar button styles. r=jryans
MozReview-Commit-ID: 9J11mNk2c5W

--HG--
extra : rebase_source : 91dd0fa3b0c2d7c709426ae6d8616cc9b59cfe21
2017-02-14 19:34:54 +00:00
Ricky Chien cdc5b2d8e4 Bug 1336383 - Implement RequestsList component r=Honza
MozReview-Commit-ID: 5ktx8fncDl0

--HG--
extra : rebase_source : d25a016d8720d48ce450ddfac6240e7493861202
2017-01-31 12:19:31 +08:00
Sebastian Hengst ccc33cc0eb Backed out changeset eee8f9b6791d (bug 1336383) for failing browser_net_har_post_data.js. r=backout 2017-02-10 17:52:46 +01:00
Ricky Chien 77ca4b8316 Bug 1336383 - Implement RequestsList component r=Honza
MozReview-Commit-ID: 5ktx8fncDl0

--HG--
extra : rebase_source : 54b1ada3f073ebdf130550665b5beba5af1bbfd2
2017-01-31 12:19:31 +08:00
Julian Descottes 6e811c499d Bug 1294038 - force selections to be read after webconsole completion;r=nchevobbe
MozReview-Commit-ID: 977wLMj3cSa

--HG--
extra : rebase_source : 685c42f5a37e435dce9531571b1ee5ef9a224293
2017-02-06 13:59:41 +01:00
Nicolas Chevobbe 2ce9663a48 Bug 1336937 - Add aria-pressed to the filter buttons in new console. r=jdescottes
MozReview-Commit-ID: FEvuSd3RQ67

--HG--
extra : rebase_source : 6b7b7dd941c5567ca233c38eb0f310d2995184c4
2017-02-06 13:41:08 +01:00
Julian Descottes 881244bdbf Bug 1331007 - fix console debug filter persistence;r=nchevobbe
MozReview-Commit-ID: AvenpwUn9YU

--HG--
extra : rebase_source : fa6a7f71da54d2e01ad9895724d1f14fd82b2afd
2017-02-02 20:32:39 +01:00
Carsten "Tomcat" Book 65f7bfd24d Merge mozilla-central to autoland 2017-01-30 16:21:32 +01:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Ricky Chien 6cee666c54 Bug 1307892 - Add support for network event update message r=nchevobbe
MozReview-Commit-ID: 4lat3RYa4YN

--HG--
extra : rebase_source : 2980fbb9286c0557973deb74ff1c2e3ef988ca5e
2017-01-29 13:07:58 +08:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Julian Descottes ee629ae732 Bug 1307906 - add newline and spaces in console msg for clipboard;r=nchevobbe
MozReview-Commit-ID: 51djydkJx4R

--HG--
extra : rebase_source : e324081347a647e27f276d0cedd3f5f2268203f2
2017-01-23 19:41:44 +01:00
Nicolas Chevobbe b04b71f505 Bug 1321485 - Localize filter bar. r=jdescottes
MozReview-Commit-ID: p9Pg2Qyz3Q

--HG--
extra : rebase_source : f7fbe3f0d45aa681234686658a7aefb657f5616c
2017-01-23 13:27:19 +01:00
Nicolas Chevobbe 734c06fc97 Bug 1321485 - Cleanup filter bar. r=jdescottes
Remove code for additional toolbar which isn't shown for now.
Fix mocha test since it was failing.

MozReview-Commit-ID: p9Pg2Qyz3Q

--HG--
extra : rebase_source : 77aaf6209052fa7482d648e5f362378d822fd7d0
2017-01-23 13:26:51 +01:00
Kris Maglione 48b5adb85c Bug 1305162: Part 1c - Fix devtools tests that expect headers in upload stream. r=ochameau
MozReview-Commit-ID: BirgY62GRn7

--HG--
extra : rebase_source : bede12f4c42cc48edbf8de2b6f5b22185bb55dd3
extra : source : d1095e03dfc600771f54c7ff2dc5fd294ca1ab28
2017-01-10 14:24:45 -08:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Julian Descottes 51fc1e20ed Bug 1315922 - fix react/prop-types issues in client/webconsole;r=nchevobbe
MozReview-Commit-ID: Am3qt8UxRyr

--HG--
extra : rebase_source : f15f73596761b65e1e5340b22ed6afdac7cecf87
2017-01-10 15:15:39 +01:00
Julian Descottes 32e5eb7858 Bug 1325401 - Add a reps bundle, disabled by default;r=jlast
MozReview-Commit-ID: IJL8wevR0wo

--HG--
extra : rebase_source : 0b954d265215467248443cac17a2b7a4b9b0ee78
2017-01-18 14:38:10 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Geoff Brown 559c7e3f30 Bug 1328915 - Skip linux32/debug devtools tests in clipboard and gpu subsuites; r=me 2017-01-16 11:58:13 -07:00
Florian Quèze 1e42cad36c Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Joel Maher 41529739bc Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Brian Grinstead a8e973778d Bug 1307347 - Longer timeout for browser_console_history_persist.js.
--HG--
extra : rebase_source : f7db2b0ca61d80de139e78f8bd6d151f2b40c732
2017-01-12 12:36:00 -05:00
Brian Grinstead 3a31e3f62d Bug 1315508 - Longer timeout for browser_webconsole_bug_614793_jsterm_scroll.js.
--HG--
extra : rebase_source : 8368d676d1d65ea348adcd42ab108c9cbe8e8418
2017-01-12 11:41:00 -05:00
Sebastian Hengst cb76f56d60 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen d7ea1c1605 Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tim Nguyen 79b4bca632 Bug 1330074 - Enable no-self-assign, no-useless-call and no-useless-return in devtools/. r=jryans
MozReview-Commit-ID: A345G1QOOpm

--HG--
extra : rebase_source : c10d47aaf56a8227d4642a03fc2b10f3a459ec05
2017-01-10 22:14:03 +00:00
Bob Owen 35f48c08cb Bug 1328257: Fix browser_webconsole_bug_595223_file_uri.js test when separate file content process disabled. r=ochameau
MozReview-Commit-ID: IeC00eWt3fm
2017-01-10 11:39:49 +00:00
Carsten "Tomcat" Book 89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Sebastian Hengst 29335b9c8d Backed out changeset 35986e7aa356 (bug 1325401) for unknown -webkit-scrollbar in reps.css. r=backout 2017-01-10 00:40:28 +01:00
Jason Laster b2d09fc59a Bug 1325401 - Start using Reps bundle behind a flag. r=ttromey 2017-01-09 14:09:00 -05:00
Julian Descottes 938996f0f3 Bug 1307239 - add context menu to new console frontend;r=nchevobbe
MozReview-Commit-ID: 6btSC89pBmG

--HG--
extra : rebase_source : 6acadee3a9ba4c77d069b0af6fe93b167fa47d92
2016-12-29 17:06:59 +01:00
Julian Descottes 14e5563d7e Bug 1307239 - Fix openNewTabAndConsole to use URL provided as argument;r=nchevobbe
MozReview-Commit-ID: 52yNq8GqxT7

--HG--
extra : rebase_source : 6124d2eff2afeebd9fdae6d4742e17cd13b6a613
2016-12-28 12:07:13 +01:00
Florian Apolloner 534c99ffcd Bug 1324929 - Accept ':' between url and line number in server side logs backtraces. r=ochameau
MozReview-Commit-ID: AtP0Gimrcxt
2017-01-04 09:11:24 -08:00
Greg Tatum 555caa01f2 Bug 1245921 - Turn toolbox toolbar into a React component r+miker r=miker
MozReview-Commit-ID: 4UZbcfw2YI9

--HG--
extra : rebase_source : 9e9e8bfed8c8511ade6c7307a0201b88b0781fba
2016-11-18 15:02:21 -06:00
Florian Quèze 55f78ce0fa Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Nicolas Chevobbe 6c17e99d36 Bug 1318796 - Open the appropriate tool when clicking on a location in the new console; r=jdescottes
We were always opening the debugger when clicking on the location link,
which could be wrong since we can have CSS warnings, or logs coming from Scratchpad.
So we add the function to open in StyleEditor and Scratchpad, and copy some mochitests
that where testing the interaction with those links.


MozReview-Commit-ID: 73mQNfy199m

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_location_debugger_link.js
rename : devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_location_scratchpad_link.js
rename : devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_location_styleeditor_link.js
rename : devtools/client/webconsole/test/test-bug-766001-console-log.js => devtools/client/webconsole/new-console-output/test/mochitest/test-location-debugger-link-console-log.js
rename : devtools/client/webconsole/test/test-bug-766001-js-errors.js => devtools/client/webconsole/new-console-output/test/mochitest/test-location-debugger-link-errors.js
rename : devtools/client/webconsole/test/test-bug-766001-js-console-links.html => devtools/client/webconsole/new-console-output/test/mochitest/test-location-debugger-link.html
rename : devtools/client/webconsole/test/test-bug-782653-css-errors-1.css => devtools/client/webconsole/new-console-output/test/mochitest/test-location-styleeditor-link-1.css
rename : devtools/client/webconsole/test/test-bug-782653-css-errors-2.css => devtools/client/webconsole/new-console-output/test/mochitest/test-location-styleeditor-link-2.css
rename : devtools/client/webconsole/test/test-bug-782653-css-errors.html => devtools/client/webconsole/new-console-output/test/mochitest/test-location-styleeditor-link.html
extra : rebase_source : a8494acb5e450f86fa9cddd34515265fc3494d17
2016-12-01 08:29:43 +01:00
Fred Lin fd819ff921 Bug 1323933 - rename filter to requestFilter; r=jsnajdr,rickychien
MozReview-Commit-ID: A5Dfvembi1t

--HG--
extra : rebase_source : 324960802bc5fa671b63ba1b2e907a304cd551d4
2016-12-16 17:59:35 +08:00
Julian Descottes 70997ce55a Bug 1319049 - fix RegExp previewer for worker debugging;r=ochameau
MozReview-Commit-ID: D8hRGV0MWoZ

--HG--
extra : rebase_source : 7b24311401b9cf7241eead84ca8b3c0f95f6a0cd
2016-12-19 10:58:08 +01:00
Jarda Snajdr 75e3b4d7cc Bug 1323729 - Add profile/profileEnd methods to Console.jsm r=ochameau
MozReview-Commit-ID: DjortApNWbp

--HG--
extra : rebase_source : c4a8c4f8551732742a4129957b02a5c8adf7ba3c
2016-12-15 15:03:13 +01:00
Gabriel Luong 1e634e99df Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Andrea Marchesini 3f9ca03e22 Bug 1323676 - Remove ConsoleTimerStart.started, r=bgrins 2016-12-16 22:42:10 +01:00
Geoff Brown 404ab8e119 Bug 1007425 - Increase timeout for browser_console_native_getters.js; r=bgrins 2016-12-15 15:51:07 -07:00
Jarda Snajdr e778ffb693 Bug 1309866 - Migrate RequestsMenuView to a React component with Redux store r=Honza
MozReview-Commit-ID: IMu1sJLxQYy
2016-10-11 15:13:28 +02:00
Carsten "Tomcat" Book 1f8d97f56e Merge mozilla-central to autoland 2016-12-09 15:52:44 +01:00