Commit Graph
948 Commits
Author SHA1 Message Date
Nicolas Chevobbe a121950f3f Bug 1408872 - Enable browser_jsterm_no_autocompletion_on_defined_variables.js on the new console frontend; r=Honza.
MozReview-Commit-ID: BrGniln0AB5
2017-10-17 09:32:25 +02:00
Nicolas Chevobbe 77e6208e52 Bug 1408870 - Enable browser_jsterm_history_persist.js on the new console frontend; r=bgrins.
Cleaning jsterm history from previous test so it does not interfere with this one.
Also clearing history at the beginning of the test so we are future-proof.

MozReview-Commit-ID: 33OCfaSiskw
2017-10-16 18:18:32 +02:00
Nicolas Chevobbe 11bbbd49a5 Bug 1408845 - Release longString actors;r=bgrins.
MozReview-Commit-ID: H3Z1pp5vgUm
2017-10-16 09:55:50 +02:00
Oriol Brufau 412d55f302 Bug 1281875 - Allow console to inspect logged cross-origin functions r=nchevobbe
MozReview-Commit-ID: AtLUHvExZa8
2017-10-15 14:56:24 +02:00
Nicolas Chevobbe b6f0dbfc07 Bug 1408958 - Put correct bug number next to the skip-if in browser.ini for old tests migration; r=Honza.
MozReview-Commit-ID: 4ZgCCs9rwIV
2017-10-16 12:16:46 +02:00
Jan Odvarko 92c1ea0e53 Bug 1005755 - Update Net logging in the Console; r=nchevobbe
MozReview-Commit-ID: 6lLjifqV2sQ
2017-10-16 15:13:03 +02:00
Jan Odvarko 02e414a984 Bug 1005755 - Stop using Connector as a singleton; r=rickychien
MozReview-Commit-ID: tQKFiKDozA
2017-10-16 14:42:25 +02:00
Sebastian Hengst 654bd10728 Backed out changeset 819c504f437a (bug 1005755) 2017-10-16 15:05:25 +02:00
Sebastian Hengst 077d2249d0 Backed out changeset 463a6a947862 (bug 1005755) 2017-10-16 15:05:14 +02:00
Jan Odvarko 6a4961e238 Bug 1005755 - Update Net logging in the Console; r=nchevobbe
MozReview-Commit-ID: FKh9McENsBI
2017-10-16 14:43:41 +02:00
Jan Odvarko 19109e0277 Bug 1005755 - Stop using Connector as a singleton; r=rickychien
MozReview-Commit-ID: tQKFiKDozA
2017-10-16 14:42:25 +02:00
Sebastian Hengst 99d2c5f59f Backed out changeset 2bc7565e6890 (bug 1005755) 2017-10-16 13:34:15 +02:00
Sebastian Hengst 962a592cdd Backed out changeset 99b7794639c8 (bug 1005755) 2017-10-16 13:34:05 +02:00
Jan Odvarko 1580c7ff62 Bug 1005755 - Update Net logging in the Console; r=nchevobbe
MozReview-Commit-ID: 9FpO4FMBIcC
2017-10-16 12:08:49 +02:00
Jan Odvarko 18682a7b1a Bug 1005755 - Stop using Connector as a singleton; r=rickychien
MozReview-Commit-ID: KtBcN1JpEk6
2017-10-16 12:08:28 +02:00
Jan Odvarko 00fc91e670 Bug 1406100 - Test also response body; r=nchevobbe
MozReview-Commit-ID: 9SbfKg7lD98
2017-10-14 08:39:31 +02:00
Nicolas Chevobbe 81aa3b6363 Bug 1408321 - Change EvaluationResult message shape to match other messages;r=bgrins.
The parameters property in EvaluationResult message was a plain object,
whereas in other message types, it is an array. This could cause some issues
in the reducer, in particular for releasing actors.
Changing the parameters from object to array gives us a consistent way
of dealing with this property through the console app.
The change required the stubs to be updated, as well as a minor change in the
EvaluationResult component.
A test was added to make sure we do release actors from EvaluationResult messages.

MozReview-Commit-ID: LKQEFqCCw1U
2017-10-13 11:46:13 +02:00
Nicolas Chevobbe 0718c7c1d9 Bug 1404882 - Enable browser_webconsole_No_input_change_and_Tab_key_pressed.js and rename it;r=Honza
This required to add an extra-check to the hasFocus function to make sure
the console document is also focused, since document.activeElement could
still be the jsterm input, even if the focus is on another document.

MozReview-Commit-ID: 72VfES8sXob
2017-10-12 16:56:23 +02:00
Nicolas Chevobbe 1b3c335ec4 Bug 1403910 - Enable and rename browser_webconsole_No_input_and_Tab_key_pressed.js on the new console frontend; r=Honza
MozReview-Commit-ID: 1lq4QJ9JWb8
2017-10-12 16:03:04 +02:00
Nicolas Chevobbe 913df0a32f Bug 1405070 - Bypass React to clear console on destroy; r=bgrins
Previously we were using the regular clearOutput function, which
was doing too much when we only want to destroy the console. It was:
- dispatching an action so React did the update
- focusing the JSTerm.

By simply clearing the outputNode things are much snappier. Also, we tried
to not clear the console at all, but while destroying there was too much
repaint events happening that it would take the same time as doing it the
old way.

MozReview-Commit-ID: FrFqToG3nRg
2017-10-05 08:40:34 +02:00
Jan Odvarko 8ac88d8fb3 Bug 1395759 - Properly wait on payload ready in tests; r=nchevobbe
MozReview-Commit-ID: Mvhwoihk53
2017-10-12 13:27:22 +02:00
Oriol Brufau bc13ba0efc Bug 1407026 - Fix CPOW class mistake in the console. r=nchevobbe
MozReview-Commit-ID: 3Mk2kclTReX
2017-10-10 22:37:29 +02:00
Nicolas Chevobbe 9faab0e471 Bug 1404843 - Enable and rename browser_jsterm_dollar.js; r=Honza
MozReview-Commit-ID: 81tYed0VL0K
2017-10-11 16:52:01 +02:00
Sebastian Hengst bafa9d58a9 Backed out changeset 2f3dd84d4d22 (bug 1407178) for frequently failing enabled test. r=backout 2017-10-11 17:13:07 +02:00
Nicolas Chevobbe d20f845d67 Bug 1407178 - Enable browser_webconsole_certificate_messages.js in the new console; r=Honza.
MozReview-Commit-ID: GHSJAnkj6Pv
2017-10-10 11:04:57 +02:00
Simon Sapin 16fd601229 Bug 1378861 - Update test expectations for Servo PR #18808 r=emilio
Note: `cssMessages.js` changes were generated by running
`mach test devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_css_message.js`

MozReview-Commit-ID: 4UHmHcC5eWm
2017-10-06 15:41:57 +02:00
Sebastian Hengst 9b19d7006c Backed out changeset 804b3282f778 (bug 1407026) for failing devtools/client/webconsole/test/browser_console.js on Windows 7 debug without e10s. r=backout 2017-10-10 19:11:17 +02:00
Oriol Brufau a308b03ffd Bug 1407026 - Fix CPOW class mistake in the console. r=nchevobbe
MozReview-Commit-ID: LDmbQEuU3JE
2017-10-09 22:03:18 +02:00
Nicolas Chevobbe c4460229fc Bug 1406042 - Copy relevant old console test to the new frontend; r=Honza
This patch copies the tests from the old frontend that are relevant
in the context of the new frontend. They are all added in the
browser.ini and all are skipped. The number of the bug to do the test
migration is indicated as a comment.
Some tests were renamed to match what they actually do, or to match
which component they test (console, webconsole, jsterm), or simply to remove
a bug number in the filename. In the latter case, a reference to the bug
was added inside the test if it wasn't already the case.

All the support files from the old frontend were copied over, because it would
have been time consuming to test if each one of them was used in the tests. A bug
will be filed to do a support files cleanup when all the tests are migrated.

MozReview-Commit-ID: GhXcCuVBXT5
2017-10-06 10:02:49 +02:00
Sebastian Hengst 0bf978ad97 Backed out changeset 8149514f0473 (bug 1406042) for failing devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_property_provider.js. r=backout 2017-10-07 16:40:12 +02:00
Nicolas Chevobbe 23e20126df Bug 1406042 - Copy relevant old console test to the new frontend; r=Honza
This patch copies the tests from the old frontend that are relevant
in the context of the new frontend. They are all added in the
browser.ini and all are skipped. The number of the bug to do the test
migration is indicated as a comment.
Some tests were renamed to match what they actually do, or to match
which component they test (console, webconsole, jsterm), or simply to remove
a bug number in the filename. In the latter case, a reference to the bug
was added inside the test if it wasn't already the case.

All the support files from the old frontend were copied over, because it would
have been time consuming to test if each one of them was used in the tests. A bug
will be filed to do a support files cleanup when all the tests are migrated.

MozReview-Commit-ID: GhXcCuVBXT5
2017-10-06 10:02:49 +02:00
abhinav cbb632a349 Bug 1385995 - Adding Copy object to the context menu which allows to copy the object/variable logged to the console. r=nchevobbe
MozReview-Commit-ID: EbOE9qrpikn
2017-09-28 00:12:00 +05:30
Jan Odvarko fee6fdc52f Bug 1404227 - Enhance test for network logs in the Console panel; r=nchevobbe
MozReview-Commit-ID: KMiuawrEwYe
2017-10-03 13:33:39 +02:00
abhinav c028f3c386 Bug 1401560 - Make sure console input is focused after opening the console. r=nchevobbe
MozReview-Commit-ID: 3NVuavDKiPG
2017-10-06 01:04:01 +05:30
Julian Descottes d3239a75b1 Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.

If not then it won't be impacted by DevTools themes.

MozReview-Commit-ID: CLFprKMuCt9
2017-10-04 21:13:48 +02:00
Nicolas Chevobbe 075f61927c Bug 1403106 - Fix mocha tests; r=Honza.
MozReview-Commit-ID: IxmUZuYALt4
2017-10-03 14:21:16 +02:00
Nicolas Chevobbe 3b370fb17f Bug 1403106 - Fix console launchpad for ObjectClient; r=Honza
This removes the fixtures for ObjectClient since it's now in its
own file, and add one for the DebuggerClient, because it's still
using non-web dependency (e.g. `Cu`).

MozReview-Commit-ID: 6OJM2HPwvOY
2017-10-04 13:32:44 +02:00
Nicolas Chevobbe 30bd82c61c Bug 1403106 - Fix console launchpad layout issues; r=Honza.
Fixing layout issue both in launchpad startup (panel for selecting a debugee), and
the console launchpad (scrollbar was missing on console output).

MozReview-Commit-ID: 7i5vFsLmRLa
2017-09-26 14:26:31 +02:00
Sebastian Hengst 2c1a6e6b44 Backed out changeset fae2d636bbcb (bug 1385995) for frequently failing new devtools test browser_webconsole_context_menu_copy_object.js on Windows 7 debug without e10s. r=backout 2017-10-04 18:42:34 +02:00
Nicolas Chevobbe 6ff5a93186 Bug 1402848 - Add a test case for expanding object with proper length; r=Honza
In Bug 1403065, we introduce a server fix for that as well as some tests.
But they are testing specific server functions. Adding a test on the client
side will prevent any regression if we end up using other server methods.

MozReview-Commit-ID: D3FGGOtiTBw
2017-10-04 10:38:01 +02:00
abhinav a26b73c898 Bug 1385995 - Adding Copy object to the context menu which allows to copy the object/variable logged to the console. r=nchevobbe
MozReview-Commit-ID: EbOE9qrpikn
2017-09-28 00:12:00 +05:30
Darren M. OConnell e42a00ae38 Bug 1402397 - CamelCase React component files in /devtools/client/webconsole/new-console-output; r=pbro
MozReview-Commit-ID: JcsKS8w0Pec
2017-09-28 12:09:31 +02:00
Jan Odvarko fe4b0077bb Bug 1404138 - Properly dispatch actions; r=nchevobbe
MozReview-Commit-ID: 2jMTXUzAvAh
2017-10-03 12:42:04 +02:00
Nicolas Chevobbe fee723d060 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
Jan Odvarko f90bc330db Bug 1402262 - Switch from webconsole.xhtml to webconsole.html; r=nchevobbe
MozReview-Commit-ID: FZTxze02tNg
2017-10-02 10:17:17 +02:00
Brian Grinstead 735876aedb Bug 1402237 - Always scroll to bottom when the first messages are rendered;r=nchevobbe
MozReview-Commit-ID: B3YY3Tvwk5A
2017-09-29 09:50:17 -07:00
Dan Epstein c958bdf812 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK
2017-09-27 01:12:13 -04:00
Julian Descottes 5ff5c03294 Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
MozReview-Commit-ID: HwhAXHm8ipq
2017-09-27 12:38:23 +02:00
Julian Descottes e5f2f489c6 Bug 1403175 - move webpack shims to dedicated folder;r=Honza
MozReview-Commit-ID: 5oDee2Pb9ly
2017-09-27 12:07:39 +02:00
Julian Descottes 7f83ab32ac Bug 1403175 - webpack: simplify netmonitor & console aliases;r=Honza,nchevobbe
MozReview-Commit-ID: DcVNhKAgioC
2017-09-27 10:46:33 +02:00