Commit Graph
8 Commits
Author SHA1 Message Date
nchevobbe 1d3b1527c4 Bug 1483662 - [devtools] Use microSecondTimeStamp to build timeStamp for console-related resources. r=jdescottes.
We can get a higher precision timestamp from microSecondTimeStamp, which will be consumed
in the console client to re-order messages.
This fixes an issue where different type of resources (console-messages and error-messages)
emitted during the same timestamp would not appear in the order they should be in.
A test is added to make sure the fix is effective.

Differential Revision: https://phabricator.services.mozilla.com/D155546
2022-09-02 04:58:28 +00:00
Nicolas Chevobbe 31e70a973b Bug 1653598 - Add a constant for CSS Parser message category. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D84123
2020-07-20 08:15:03 +00:00
Nicolas Chevobbe 1f631de664 Bug 1644187 - Add server support for CSS warning resources. r=jdescottes.
This is quite similar to the error messages watcher, except that we call
ensureCSSErrorReportingEnabled after retrieving the cached messages.

Resource no longer includes `errorMessageName` and `isPromiseRejection` as it
makes little sense for the CSS warning.

The existing resource test is updated to run with and without the server support.

Differential Revision: https://phabricator.services.mozilla.com/D83047
2020-07-17 14:58:43 +00:00
Tom Schuster de9b444121 Bug 1621635 - Improve devtools handling of nsIScriptError. r=nchevobbe
Removes "exception" and "script" as those properties are unused outside tests and going away.
Corrected the definition of "error", which was wrong because errorFlag == 0.

Differential Revision: https://phabricator.services.mozilla.com/D66508
2020-03-12 15:59:56 +00:00
Tom Schuster 5f1c335bf4 Bug 1617657 - Store errorMessageName in JSErrorReport. r=jorendorff,mccr8
JSErrorFormatString::name should really be baked into the binary so we
don't need to do any memory management.

Differential Revision: https://phabricator.services.mozilla.com/D65828
2020-03-11 22:07:08 +00:00
Tom Schuster 6a3affe519 Bug 1549641 - Add devtools test for overwritten name and message in error object r=bzbarsky
I had problems running this test locally and it turns out cssErrorReportingEnabled is not
set/unset correctly. Thanks to Boris for pointing that out.

Differential Revision: https://phabricator.services.mozilla.com/D64415
2020-02-28 12:13:49 +00:00
jpmohr ddca670389 Bug 1599731 - Remove callbacks from webconsole attach test helpers. Address revision issues: style improvements. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D61655
2020-02-06 09:16:55 +00:00
Alexandre Poirot 313ad30871 Bug 1609726 - Unify mochitest chrome test folders in devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60410
2020-02-04 14:03:11 +00:00