Breakpoint in hidepage event crashes Firefox tab
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: jbstrater, Unassigned)
References
Details
Attachments
(1 file)
325 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
- Open new Firefox tab or new instance of Firefox
- Navigate to, or otherwise open, the attached .html file
- Open the Web Developer Tools, go to the Debugger tab, open the source file and place a breakpoint on the one line of code in the hidepage event handler hideIt().
- Click the [back] button to navigate to previous page. If you watch closely in the upper center of your Firefox window, you might see the "Paused on breakpoint" alert before the screen switches to the previous page.
- Click the [forward] button to navigate to the attached .html file's page.
Actual results:
You will now clearly see the "Paused on breakpoint" alert. Clicking either of its buttons appears to do nothing. The Debugger tab shows no sources. The "busy" circle in the tab title is spinning endlessly. The only thing I was able to do at this point was close the tab inside Firefox.
Expected results:
It should hit the breakpoint inside the debugger and not hang up indefinitely.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Thanks for the report,
Related to breaking on unload working currently started by Alex
Comment 3•2 years ago
|
||
Yes hopefully breakpoints on unload/pagehide/navigation will all work once I'm done with bug 1806796.
I'll ensure this particular test case is addressed.
Comment 4•5 months ago
|
||
Bug 1806796 wasn't enough to fix the breakpoint, but at least firefox no longer crash/hang.
Bug 1892411 should make the pagehide breakpoint functional.
Description
•