Closed Bug 1625905 Opened 4 months ago Closed 3 months ago

Use the ResourceWatcher API to fetch JS Errors

Categories

(DevTools :: Console, task, P1)

task

Tracking

(Fission Milestone:M6a, firefox77 fixed)

RESOLVED FIXED
Firefox 77
Fission Milestone M6a
Tracking Status
firefox77 --- fixed

People

(Reporter: ochameau, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m2-mvp)

Attachments

(1 file)

Bug 1576624 introduced the ResourceWatcher API, accessible via toolbox.resourceWatcher. This API will help listen to data that is being created early, when the document just started loading.

We should migrate the whole DevTools codebase to this API for any data that:

  • DevTools frontend listen to, or care about,
    and,
  • may be created or be notified early, when the document just starts being loaded.
    This data will typically be: console messages, errors, warnings, sources, Root element NodeFront, storage values, network events, stylesheets, ...

We are typically not going to use this API for:

  • data being fetched on-demand, from user's input. For ex: webconsole evaluation input, or, DOM element expands from the Markup view.
  • events which we only want to record when the user cares about them. For ex: animation events.

For some more high level context, please have a look at Migration to Fission-compatible APIs, which describes all Fission-related refactorings.

The typical task for this bug will be about migrating code that:

  • start listening and register a RDP event listener,
  • retrieve already existings data,
    from panel's codebase, to the ResourceWatcher module, in the LegacyListener object.
    And then, the panel should use the ResourceWatcher instead.

Bug 1620234 is a good example of such migration, applied to Console Messages.
Bug 1623699 is also useful example as it demonstrates how to write tests for such migration.

This bug is about focusing on only one usecase in the console: the JS Errors.

JS Errors are currently being listened via WebConsoleFront.startListeners(["PageError"]), from here:
https://searchfox.org/mozilla-central/rev/9c6e7500c0015a2c60be7b1b888261d95095ce27/devtools/client/webconsole/webconsole-connection-proxy.js#123-131
https://searchfox.org/mozilla-central/rev/9c6e7500c0015a2c60be7b1b888261d95095ce27/devtools/client/webconsole/webconsole-connection-proxy.js#208-223
And already existing errors retrieved from here:
https://searchfox.org/mozilla-central/rev/9c6e7500c0015a2c60be7b1b888261d95095ce27/devtools/client/webconsole/webconsole-connection-proxy.js#176-196

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Type: enhancement → task
Blocks: 1625910
Priority: P2 → P1

Tracking Fission DevTools bugs for Fission Nightly (M6) milestone

Fission Milestone: --- → M6

Tentatively moving P1 Fission M6 bugs to M6a.

Fission Milestone: M6 → M6a
Blocks: 1626645
Blocks: 1627977

In this patch we add a new resource type for page errors.
We don't do anything specific for CSS Warnings yet, as they're going
to be handled as part of Bug 1625910.

A test is added (following devtools/shared/webconsole/test/chrome/test_page_errors.html
as an example).
A couple function that were used for the console-messages test
are moved into head.js as they're also used in the error-message test.

We take this as an opportunity to "block" resources based on the target
type and the value of the contenttoolbox.fission pref, directly in
the resourceWatcher _onResourceAvailable method.
Previously it was done in the legacy listeners, but since we'd
reimplement the exact same thing we had in console-messages into
error-messages, it sounded good to put it in a centralized area.

Attachment #9142387 - Attachment description: Bug 1625905- Use the ResourceWatcher API to fetch JS Errors. r=ochameau. → Bug 1625905 - Use the ResourceWatcher API to fetch JS Errors. r=ochameau.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9e586758fa63
Use the ResourceWatcher API to fetch JS Errors. r=ochameau.
Backout by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90d436aece30
Backed out changeset 9e586758fa63 for browser_resources_error_messages.js failures CLOSED TREE

Backed out changeset 9e586758fa63 (bug 1625905) for browser_resources_error_messages.js failures

Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&searchStr=linux%2C18.04%2Cx64%2Cdebug%2Cmochitests%2Ctest-linux1804-64%2Fdebug-mochitest-devtools-chrome-e10s&tochange=90d436aece303f7b08121d5e70c65df9bafe649c&fromchange=16800c586d6f98aa84ea1e714fe5eccd802c99eb&selectedJob=299193500

Backout link: https://hg.mozilla.org/integration/autoland/rev/90d436aece303f7b08121d5e70c65df9bafe649c

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=299193500&repo=autoland&lineNumber=13419

...
[task 2020-04-24T09:48:15.614Z] 09:48:15     INFO - checking received page error #11
[task 2020-04-24T09:48:15.614Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | errorMessage: /MyPromiseError: here2/ matched MyPromiseError: here2 - 
[task 2020-04-24T09:48:15.614Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'errorMessageName' - 
[task 2020-04-24T09:48:15.618Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | sourceName: /test_page_errors/ matched http://localhost:38714/test_page_errors.html - 
[task 2020-04-24T09:48:15.619Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'category' - 
[task 2020-04-24T09:48:15.619Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | timeStamp: /^\d+$/ matched 1587721695147 - 
[task 2020-04-24T09:48:15.620Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'error' - 
[task 2020-04-24T09:48:15.620Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'warning' - 
[task 2020-04-24T09:48:15.621Z] 09:48:15     INFO - Now log errors *after* the call to ResourceWatcher.watch and after having received all existing messages
[task 2020-04-24T09:48:15.621Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | The resource has a pageError attribute - 
[task 2020-04-24T09:48:15.621Z] 09:48:15     INFO - checking received page error #12
[task 2020-04-24T09:48:15.622Z] 09:48:15     INFO - Buffered messages finished
[task 2020-04-24T09:48:15.628Z] 09:48:15     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_resources_error_messages.js | errorMessage: /doTheImpossible/ matched MyPromiseError: here2 - 
[task 2020-04-24T09:48:15.628Z] 09:48:15     INFO - Stack trace:
[task 2020-04-24T09:48:15.628Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:test_ok:1269
[task 2020-04-24T09:48:15.629Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:checkValue:84
[task 2020-04-24T09:48:15.629Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:checkObject:66
[task 2020-04-24T09:48:15.629Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_error_messages.js:null:67
[task 2020-04-24T09:48:15.630Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:_emit:226
[task 2020-04-24T09:48:15.630Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:172
[task 2020-04-24T09:48:15.630Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:324
[task 2020-04-24T09:48:15.630Z] 09:48:15     INFO - resource://devtools/shared/resources/resource-watcher.js:_onResourceAvailable:193
[task 2020-04-24T09:48:15.630Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:_emit:226
[task 2020-04-24T09:48:15.631Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:172
[task 2020-04-24T09:48:15.631Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:324
[task 2020-04-24T09:48:15.631Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:onPacket:294
[task 2020-04-24T09:48:15.631Z] 09:48:15     INFO - resource://devtools/client/devtools-client.js:onPacket:493
[task 2020-04-24T09:48:15.631Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send/<:68
[task 2020-04-24T09:48:15.632Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.633Z] 09:48:15     INFO - DevToolsUtils.executeSoon*resource://devtools/shared/DevToolsUtils.js:exports.executeSoon:47
[task 2020-04-24T09:48:15.633Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send:56
[task 2020-04-24T09:48:15.633Z] 09:48:15     INFO - resource://devtools/server/devtools-server-connection.js:send:91
[task 2020-04-24T09:48:15.633Z] 09:48:15     INFO - resource://devtools/shared/transport/child-transport.js:receiveMessage:66
[task 2020-04-24T09:48:15.633Z] 09:48:15     INFO - MessageListener.receiveMessage*resource://devtools/shared/transport/child-transport.js:_addListener:40
[task 2020-04-24T09:48:15.633Z] 09:48:15     INFO - resource://devtools/shared/transport/child-transport.js:ready:57
[task 2020-04-24T09:48:15.634Z] 09:48:15     INFO - resource://devtools/server/connectors/frame-connector.js:connectToFrame/</onActorCreated<:183
[task 2020-04-24T09:48:15.635Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.635Z] 09:48:15     INFO - MessageListener.receiveMessage*resource://devtools/server/connectors/frame-connector.js:trackMessageManager:55
[task 2020-04-24T09:48:15.636Z] 09:48:15     INFO - resource://devtools/server/connectors/frame-connector.js:connectToFrame/<:283
[task 2020-04-24T09:48:15.636Z] 09:48:15     INFO - resource://devtools/server/connectors/frame-connector.js:connectToFrame:41
[task 2020-04-24T09:48:15.636Z] 09:48:15     INFO - resource://devtools/server/actors/descriptors/tab.js:getTarget/<:130
[task 2020-04-24T09:48:15.637Z] 09:48:15     INFO - resource://devtools/server/actors/descriptors/tab.js:getTarget:114
[task 2020-04-24T09:48:15.637Z] 09:48:15     INFO - resource://devtools/shared/protocol/Actor.js:handler:154
[task 2020-04-24T09:48:15.638Z] 09:48:15     INFO - resource://devtools/server/devtools-server-connection.js:onPacket:380
[task 2020-04-24T09:48:15.638Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send/<:68
[task 2020-04-24T09:48:15.638Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.638Z] 09:48:15     INFO - DevToolsUtils.executeSoon*resource://devtools/shared/DevToolsUtils.js:exports.executeSoon:47
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send:56
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:send:240
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:request:258
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:generateRequestMethods/</frontProto[name]:47
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/client/fronts/descriptors/tab.js:getTarget/this._targetFrontPromise<:132
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/client/fronts/descriptors/tab.js:getTarget:143
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - resource://devtools/client/fronts/root.js:getTab:237
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:initResourceWatcherAndTarget:42
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_error_messages.js:null:35
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1039
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1074
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:904
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | sourceName: /test_page_errors/ matched http://localhost:38714/test_page_errors.html - 
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'category' - 
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | timeStamp: /^\d+$/ matched 1587721695147 - 
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'error' - 
[task 2020-04-24T09:48:15.639Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'warning' - 
[task 2020-04-24T09:48:15.640Z] 09:48:15     INFO - Console message: [JavaScript Error: "MyPromiseError: here2" {file: "http://localhost:38714/test_page_errors.html" line: 1}]
[task 2020-04-24T09:48:15.640Z] 09:48:15     INFO - Waiting for all expected errors to be received
[task 2020-04-24T09:48:15.640Z] 09:48:15     INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_error_messages.js | The resource has a pageError attribute - 
[task 2020-04-24T09:48:15.641Z] 09:48:15     INFO - checking received page error #13
[task 2020-04-24T09:48:15.642Z] 09:48:15     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-24T09:48:15.650Z] 09:48:15     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_resources_error_messages.js | errorMessage: /radix/ matched TypeError: document.doTheImpossible is not a function - 
[task 2020-04-24T09:48:15.650Z] 09:48:15     INFO - Stack trace:
[task 2020-04-24T09:48:15.650Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:test_ok:1269
[task 2020-04-24T09:48:15.650Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:checkValue:84
[task 2020-04-24T09:48:15.650Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:checkObject:66
[task 2020-04-24T09:48:15.651Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_error_messages.js:null:67
[task 2020-04-24T09:48:15.651Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:_emit:226
[task 2020-04-24T09:48:15.651Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:172
[task 2020-04-24T09:48:15.652Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:324
[task 2020-04-24T09:48:15.652Z] 09:48:15     INFO - resource://devtools/shared/resources/resource-watcher.js:_onResourceAvailable:193
[task 2020-04-24T09:48:15.652Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:_emit:226
[task 2020-04-24T09:48:15.653Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:172
[task 2020-04-24T09:48:15.653Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:324
[task 2020-04-24T09:48:15.653Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:onPacket:294
[task 2020-04-24T09:48:15.653Z] 09:48:15     INFO - resource://devtools/client/devtools-client.js:onPacket:493
[task 2020-04-24T09:48:15.654Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send/<:68
[task 2020-04-24T09:48:15.654Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.654Z] 09:48:15     INFO - DevToolsUtils.executeSoon*resource://devtools/shared/DevToolsUtils.js:exports.executeSoon:47
[task 2020-04-24T09:48:15.654Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send:56
[task 2020-04-24T09:48:15.655Z] 09:48:15     INFO - resource://devtools/server/devtools-server-connection.js:send:91
[task 2020-04-24T09:48:15.655Z] 09:48:15     INFO - resource://devtools/shared/transport/child-transport.js:receiveMessage:66
[task 2020-04-24T09:48:15.656Z] 09:48:15     INFO - MessageListener.receiveMessage*resource://devtools/shared/transport/child-transport.js:_addListener:40
[task 2020-04-24T09:48:15.656Z] 09:48:15     INFO - resource://devtools/shared/transport/child-transport.js:ready:57
[task 2020-04-24T09:48:15.656Z] 09:48:15     INFO - resource://devtools/server/connectors/frame-connector.js:connectToFrame/</onActorCreated<:183
[task 2020-04-24T09:48:15.657Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.657Z] 09:48:15     INFO - MessageListener.receiveMessage*resource://devtools/server/connectors/frame-connector.js:trackMessageManager:55
[task 2020-04-24T09:48:15.658Z] 09:48:15     INFO - resource://devtools/server/connectors/frame-connector.js:connectToFrame/<:283
[task 2020-04-24T09:48:15.658Z] 09:48:15     INFO - resource://devtools/server/connectors/frame-connector.js:connectToFrame:41
[task 2020-04-24T09:48:15.658Z] 09:48:15     INFO - resource://devtools/server/actors/descriptors/tab.js:getTarget/<:130
[task 2020-04-24T09:48:15.659Z] 09:48:15     INFO - resource://devtools/server/actors/descriptors/tab.js:getTarget:114
[task 2020-04-24T09:48:15.660Z] 09:48:15     INFO - resource://devtools/shared/protocol/Actor.js:handler:154
[task 2020-04-24T09:48:15.661Z] 09:48:15     INFO - resource://devtools/server/devtools-server-connection.js:onPacket:380
[task 2020-04-24T09:48:15.661Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send/<:68
[task 2020-04-24T09:48:15.661Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.661Z] 09:48:15     INFO - DevToolsUtils.executeSoon*resource://devtools/shared/DevToolsUtils.js:exports.executeSoon:47
[task 2020-04-24T09:48:15.661Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send:56
[task 2020-04-24T09:48:15.662Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:send:240
[task 2020-04-24T09:48:15.662Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:request:258
[task 2020-04-24T09:48:15.662Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:generateRequestMethods/</frontProto[name]:47
[task 2020-04-24T09:48:15.663Z] 09:48:15     INFO - resource://devtools/client/fronts/descriptors/tab.js:getTarget/this._targetFrontPromise<:132
[task 2020-04-24T09:48:15.663Z] 09:48:15     INFO - resource://devtools/client/fronts/descriptors/tab.js:getTarget:143
[task 2020-04-24T09:48:15.664Z] 09:48:15     INFO - resource://devtools/client/fronts/root.js:getTab:237
[task 2020-04-24T09:48:15.664Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:initResourceWatcherAndTarget:42
[task 2020-04-24T09:48:15.665Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_error_messages.js:null:35
[task 2020-04-24T09:48:15.665Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1039
[task 2020-04-24T09:48:15.665Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1074
[task 2020-04-24T09:48:15.666Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:904
[task 2020-04-24T09:48:15.666Z] 09:48:15     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-24T09:48:15.666Z] 09:48:15     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-24T09:48:15.678Z] 09:48:15     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_resources_error_messages.js | property 'errorMessageName' - Got JSMSG_NOT_FUNCTION, expected JSMSG_BAD_RADIX
[task 2020-04-24T09:48:15.679Z] 09:48:15     INFO - Stack trace:
[task 2020-04-24T09:48:15.679Z] 09:48:15     INFO - chrome://mochikit/content/browser-test.js:test_is:1297
[task 2020-04-24T09:48:15.679Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:checkValue:82
[task 2020-04-24T09:48:15.679Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/head.js:checkObject:66
[task 2020-04-24T09:48:15.680Z] 09:48:15     INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_error_messages.js:null:67
[task 2020-04-24T09:48:15.680Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:_emit:226
[task 2020-04-24T09:48:15.680Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:172
[task 2020-04-24T09:48:15.681Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:324
[task 2020-04-24T09:48:15.682Z] 09:48:15     INFO - resource://devtools/shared/resources/resource-watcher.js:_onResourceAvailable:193
[task 2020-04-24T09:48:15.682Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:_emit:226
[task 2020-04-24T09:48:15.682Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:172
[task 2020-04-24T09:48:15.682Z] 09:48:15     INFO - resource://devtools/shared/event-emitter.js:emit:324
[task 2020-04-24T09:48:15.682Z] 09:48:15     INFO - resource://devtools/shared/protocol/Front.js:onPacket:294
[task 2020-04-24T09:48:15.683Z] 09:48:15     INFO - resource://devtools/client/devtools-client.js:onPacket:493
[task 2020-04-24T09:48:15.683Z] 09:48:15     INFO - resource://devtools/shared/transport/local-transport.js:send/<:68
[task 2020-04-24T09:48:15.683Z] 09:48:15     INFO - resource://devtools/shared/ThreadSafeDevToolsUtils.js:exports.makeInfallible/<:103
[task 2020-04-24T09:48:15.684Z] 09:48:15     INFO - DevToolsUtils.executeSoon*resource://devtools/shared/DevToolsUtils.js:exports.executeSoon:47
...
Flags: needinfo?(nchevobbe)

I'm going to have a look (window7 only failures are my favs)

Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89802aeeb73a
Use the ResourceWatcher API to fetch JS Errors. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
Blocks: 1644186
You need to log in before you can comment on or make changes to this bug.