Closed Bug 1722575 Opened 3 years ago Closed 3 years ago

browser_inspector_inspect_node_contextmenu_nested.js fails with server targets

Categories

(DevTools :: Inspector, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ochameau, Unassigned)

References

Details

The test fails with:

devtools/client/inspector/test/browser_inspector_inspect_node_contextmenu_nested.js
  FAIL The correct node is selected in the markup view - Got null, expected "in-same_process_frame"
Stack trace:
chrome://mochikit/content/browser-test.js:test_is:1371
chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_inspect_node_contextmenu_nested.js:checkSelectedNode:111
chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_inspect_node_contextmenu_nested.js:null:84
chrome://mochikit/content/browser-test.js:Tester_execTest/<:1098
chrome://mochikit/content/browser-test.js:Tester_execTest:1138
chrome://mochikit/content/browser-test.js:nextTest/<:946
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1041

This doesn't look like a race condition in the test, I tried adding a few additional wait without fixing this.

Could it be something wrong with this code?
https://searchfox.org/mozilla-central/rev/072710086ddfe25aa2962c8399fefb2304e8193b/devtools/client/inspector/test/browser_inspector_inspect_node_contextmenu_nested.js#146

  await gContextMenu.inspectNode();

Which ends up calling this code?
https://searchfox.org/mozilla-central/rev/072710086ddfe25aa2962c8399fefb2304e8193b/devtools/client/framework/devtools.js#749-776

Whiteboard: dt-fission-future
Fission Milestone: --- → MVP
Whiteboard: dt-fission-future → dt-fission-m3-mvp

I can't reproduce even with --verify, with and without fission.
Let's keep this open for now until we can confirm with TRY

I'm not seeing this in my TRY pushes either, let's close it :)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Fission Milestone: MVP → ---
Whiteboard: dt-fission-m3-mvp
You need to log in before you can comment on or make changes to this bug.