Closed Bug 1722677 Opened 3 years ago Closed 3 years ago

browser_net_stacktraces-visibility.js fails with server targets

Categories

(DevTools :: Netmonitor, defect)

defect

Tracking

(Fission Milestone:MVP, firefox92 fixed)

RESOLVED FIXED
92 Branch
Fission Milestone MVP
Tracking Status
firefox92 --- fixed

People

(Reporter: ochameau, Assigned: bomsy)

References

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(1 file)

It is intermittent locally, but almost permanent on try.

$ ./mach mochitest --setpref devtools.target-switching.server.enabled=true --headless browser_net_stacktraces-visibility.js --run-until-failure

devtools/client/netmonitor/test/browser_net_stacktraces-visibility.js
  FAIL Uncaught exception - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327 - TypeError: can't access property "dispatchEvent", aTarget is null
Stack trace:
sendMouseEvent@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327:5
clickOnSidebarTab@chrome://mochitests/content/browser/devtools/client/netmonitor/test/head.js:1313:14
@chrome://mochitests/content/browser/devtools/client/netmonitor/test/browser_net_stacktraces-visibility.js:43:20
Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1098:34
Tester_execTest@chrome://mochikit/content/browser-test.js:1138:11
nextTest/<@chrome://mochikit/content/browser-test.js:940:14
SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1041:13
  FAIL A promise chain failed to handle a rejection: Error while calling method getResponseHeaders: 'getResponseHeaders' pending request packet to 'server0.conn7.netEvent62' can't be sent as the connection just closed. - stack: _requestData@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:588:15
async*requestData@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:505:20
requestData@resource://devtools/client/netmonitor/src/connector/index.js:565:30
fetchNetworkUpdatePacket/<@resource://devtools/client/netmonitor/src/utils/request-utils.js:102:23
fetchNetworkUpdatePacket@resource://devtools/client/netmonitor/src/utils/request-utils.js:92:17
componentDidMount@resource://devtools/client/netmonitor/src/components/request-details/HeadersPanel.js:154:29

Summary: browser_net_stacktraces-visibility.js fails with target switching → browser_net_stacktraces-visibility.js fails with server targets
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Blocks: 1722688
No longer blocks: 1722688
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23757d7b229d [devtools] Fix intermittent for browser_net_stacktraces-visibility.js with server targets r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Fission Milestone: --- → MVP
Whiteboard: dt-fission-m3-mvp
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: