Intermittent browser_dbg-event-breakpoints.js | Test timed out | leaked 1 window(s)
Categories
(DevTools :: Debugger, defect)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The blackboxed round of browser_dbg-event-breakpoints.js invokes timerHandler, waits 100ms and asserts that the debugger did not pause. The page's timer is 50ms, but on a slow worker it fired at 114ms, after the round had unblackboxed the source. The timer.timeout.fire breakpoint then pauses the thread behind the test's back.
The next round enables the beforeunload breakpoint and reloads. That navigation runs inside the stray pause, where the debuggee no-execute guard refuses the handler, so the breakpoint never hits and the test times out with the toolbox window leaked. Turning the round's breakpoints off before unblackboxing fixes it.
| Assignee | ||
Comment 1•2 days ago
|
||
The XHR load and the 50ms timer the blackboxed round starts can land after its
wait(100), and unblackboxing first lets the timer pause the thread. The next
round's navigation then runs "beforeunload" inside that pause, where
EnterDebuggeeNoExecute refuses the debuggee, so the breakpoint the test waits
for never hits and the test times out with the toolbox window leaked.
Bug 2070797 removed this test's macOS skips on the strength of a mechanism that
is not macOS-specific; that still wants a macOS debug rebuild push for a real
denominator.
Updated•2 days ago
|
Description
•