Commit Graph
277 Commits
Author SHA1 Message Date
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
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
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
Jan Odvarko 570ba6860c Bug 1304328 - Stop using XUL in webconsole/jsterm.js; r=nchevobbe
MozReview-Commit-ID: EPLUaothwH5
2017-09-25 16:34:10 +02:00
Sebastian Hengst a9dd2e21f3 Backed out changeset e98b59ba190d (bug 1304328) for linting failure at devtools/client/webconsole/jsterm.js:1013: More than 1 blank line not allowed. r=backout 2017-09-27 11:28:39 +02:00
Jan Odvarko 7b76ad70da Bug 1304328 - Stop using XUL in webconsole/jsterm.js; r=nchevobbe
MozReview-Commit-ID: 9vWPvw8LYJu
2017-09-25 16:34:10 +02:00
Alexandre Poirot 611e9eee3a Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0
2017-09-25 10:15:50 +02:00
Sebastian Hengst da58d00e5e Backed out changeset 418e79946237 (bug 1250832) for failing devtools/client/commandline/test/browser_cmd_csscoverage_startstop.js on Windows 7 debug. r=backout 2017-09-26 13:32:00 +02:00
Alexandre Poirot 3d0ab214a1 Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0
2017-09-25 10:15:50 +02:00
Alexandre Poirot 986ad16d95 Bug 1371721 - Keep logging repeated messages even when we reached the log-limit. r=nchevobbe
MozReview-Commit-ID: J0BXOay3huU
2017-09-18 17:51:31 +02:00
Tom Tromey aab59e7b78 Bug 1385337 - add MDN learn more link to source map errors; r=bgrins
MozReview-Commit-ID: 185sNVSJIrz
2017-09-15 14:15:10 -06:00
Nicolas Chevobbe 73d6077e92 Bug 1399460 - Fix for browser_webconsole_check_stubs_console_api. r=Honza
The test that checked console api stubs was failing because we were trying
to reach the server while the connection was closed, which throws an error.
This patch filters-out log messages in the console output so we don't get
unwanted server communication. The output is not important here since we
are only listening to the consoleAPICall event.

MozReview-Commit-ID: Ay5fQ1CSbLx
2017-09-14 18:49:43 +02:00
Nicolas Chevobbe c862daa0c4 Bug 1399460 - Adapt the console to the new Reps bundle. r=Honza.
This is mainly changing the props we pass to the ObjectInspector,
and removing actions, state properties and reducers that we used to
handle in the console but are now managed by the ObjectInspector
itself.

MozReview-Commit-ID: F2GabDqDjPe
2017-09-07 13:09:24 +02:00
Nicolas Chevobbe 7594f16476 Bug 1399161 - Fix filter bar mocha test. r=Honza
MozReview-Commit-ID: Jd5QkCrnLKq
2017-09-12 17:43:38 +02:00
Tom Tromey 3370dfb58a Bug 1398869 - regenerate console css message fixture; r=KWierso CLOSED TREE
This is fallout from the servo patch mentioned in this bug.
https://hg.mozilla.org/integration/autoland/rev/578381b9e794825ff32dce7b4e8a9db82631038f

MozReview-Commit-ID: FNkaSkRnafr
2017-09-12 14:49:34 -06:00
Tom Tromey 7d2e54a89e Bug 1388497 - apply source maps to CSS warnings in the console; r=bgrins
MozReview-Commit-ID: 8ObL0uwENrM
2017-08-15 14:32:56 -06:00
J. Ryan Stinnett 2c73e773e8 Bug 1386384 - Update DevTools CSS stubs for Stylo. r=bgrins
Two specific changes have occurred with Stylo:

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

MozReview-Commit-ID: 5vTdjNbuhXe
2017-09-06 12:34:57 -05:00
Wes Kocher 706305cec6 Backed out changeset 3adbca67c67a (bug 1386384) for failures in browser_webconsole_check_stubs_css_message.js a=backout
MozReview-Commit-ID: KcVljvaTReX
2017-09-06 13:47:13 -07:00
J. Ryan Stinnett 220d5c973c Bug 1386384 - Update DevTools CSS stubs for Stylo. r=bgrins
Two specific changes have occurred with Stylo:

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

MozReview-Commit-ID: 5vTdjNbuhXe
2017-09-06 12:34:57 -05:00
Tom Tromey fa23abfa8b Bug 1395545 - test that an invalid source map is reported to the console; r=nchevobbe
MozReview-Commit-ID: 4a1auGMOKGT
2017-08-31 12:03:24 -06:00
Brian Grinstead ca5564824e Bug 1307881 - Part 2 - Provide a UI within the Web Console for managing persistence;r=nchevobbe
MozReview-Commit-ID: GVkOms1o74c
2017-08-31 21:43:42 -07:00
Jan Odvarko df469ba9f2 Bug 1362036 - Generate stubs; r=nchevobbe
MozReview-Commit-ID: ILcUaOuO3IG
2017-08-30 15:16:40 +02:00
Jan Odvarko 85f91d53dd Bug 1362036 - Implement tests; r=nchevobbe
MozReview-Commit-ID: KvvWrHUC8m6
2017-08-30 15:16:39 +02:00
Nicolas Chevobbe 12c033676a Bug 1307880 - Add tests for the "Hidden messages" toolbar. r=bgrins
This adds some tests to ensure the hidden messages toolbar works
as expected. There are some for testing the component itself, as
well as some to test the store.
Some fixtures were modified as well to better represent the state
of the application.


MozReview-Commit-ID: 3Swqff1mbck
2017-08-08 15:27:03 +02:00
Nicolas Chevobbe a881a40c9c Bug 1389803 - Scroll the console to the bottom on Evaluation result. r=bgrins
This ensures that we scroll to the bottom when the user evaluate
something in the console.
A test is added to make sure this works as expected.

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

MozReview-Commit-ID: EcvVUqQS3Dt
2017-08-16 11:23:54 +02:00
Brian Grinstead 53d677102d Bug 1390176 - Fix the jsterm stub in test_render_perf;r=nchevobbe
MozReview-Commit-ID: 8qYIthlQtXa
2017-08-16 10:04:45 -07:00
Jan Odvarko 0410ab11a5 Bug 1390077 - Add readme about stubs generator instructions; r=nchevobbe
MozReview-Commit-ID: Ka6igCDyqRE
2017-08-15 15:10:49 +02:00
Nicolas Chevobbe 05e2e56e0b Bug 1380512 - Fix intermittent on browser_webconsole_check_stubs_console_api; r=Honza
There was an error because of the console.dir call, which is calling
the server to fetch the properties of the inspected object.
But, since the console.dir call was the last command to be called,
the actor were cleared before the properties fetch call was done,
resulting in an error on the server (no such actor for ID).
To fix this, we wait for the properties fetch call to be done
before closing the tab.

MozReview-Commit-ID: 9bsh3vHVPVa
2017-08-14 10:30:59 +02:00
Jan Odvarko 9d341eb964 Bug 1385791 - Fix tests; r=nchevobbe
MozReview-Commit-ID: LFKwQHj1pIk
2017-08-11 17:10:55 +02:00
Jan Odvarko 8c9f05df00 Bug 1385791 - New stubs for tests; r=nchevobbe
MozReview-Commit-ID: JoD9ej6689V
2017-08-11 17:10:54 +02:00
Wes Kocher 399a13fd39 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Nicolas Chevobbe 66b30b5346 Bug 1389528 - Fix mocha tests; r=Honza.
Tests were failing because we did not pass the expected serviceContainer prop
to the EvaluationResult component.

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

MozReview-Commit-ID: 1wdBVs7bF61
2017-08-11 10:12:43 +02:00
Nicolas Chevobbe 0c90f98e7c Bug 1307931 - Make urls in output clickable; r=bgrins.
This passes an openLink callback to the Reps which handles the output.

MozReview-Commit-ID: L6q9wAWmwrp
2017-08-03 16:25:40 +02:00
Tom Tromey 2f65c65a28 Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn
2017-08-04 13:14:11 -06:00
Nicolas Chevobbe 029d17c74f Bug 1386525 - devtools reps: update bundle to v0.12.0. r=bgrins
A test needed to be fixed since we changed some things
in bucketing (proper ellipsis and bucket label fix).

MozReview-Commit-ID: HhfJcKOGO2H
2017-08-08 14:43:27 +02:00
Tom Tromey 0f65d40c76 Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv
2017-08-03 09:00:19 -06:00
Masatoshi Kimura acfaf6cffe Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y
2017-08-03 15:50:07 +09:00
Brian Grinstead 231a9887bb Bug 1383022 - Update helper loadDocument function to use the selectedBrowser as a default;r=nchevobbe
MozReview-Commit-ID: GfWsYn8yqUA
2017-08-04 08:32:46 -07:00
Brian Grinstead e9f8b638a0 Bug 1383022 - Log a message in the new console frontend when the Console API has been replaced;r=nchevobbe
MozReview-Commit-ID: 56xyY04YM4S
2017-08-04 08:32:27 -07:00
J. Ryan Stinnett af368c2117 Bug 1386053 - Skip remaining DevTools Stylo failures. r=manishearth
MozReview-Commit-ID: TcexGI0JkG
2017-08-03 13:32:25 -05:00
Nicolas Chevobbe 57ebd06ef5 Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF
2017-08-01 16:27:00 +02:00
Sebastian Hengst 35840907da Backed out changeset 44cfd92f709c (bug 1380709) 2017-08-02 18:05:20 +02:00
Nicolas Chevobbe 308ac6bf39 Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF
2017-08-01 16:27:00 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Brian Grinstead 5edc019046 Bug 1385157 - Don't focus jsterm if the output region wasn't clicked;r=nchevobbe
MozReview-Commit-ID: Gv60PSFKErD
2017-07-31 11:57:47 -07:00
Tom Tromey b7ccf51b81 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO
2017-07-07 12:53:32 -06:00