Closed
Bug 958752
Opened 11 years ago
Closed 6 years ago
Breakpoints don't trigger when closing/reopening panel
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dmosedale, Unassigned, NeedInfo)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [chrome-debug])
This is more painful than might be expected because, as a consequence, one can't set a breakpoint in code that runs as part of the setup of the app in the iframe.
One-time setup:
* got to http://talkilla.mozillalabs.com/ in Nightly and click activate
* drop down Phone icon panel; sign in with persona
Steps to reproduce:
* drop down Phone icon panel
* click on a name so that a chat window opens
* choose Tools -> Web Developer -> Browser Toolbox
* use the Debugger panel search box to go to js/chat/app.js
* set a breakpoint on the first line of the ChatApp() constructor
* click the X button on the chat window to close it
* drop down the Phone icon Panel and click on a name
Note that the chat window opens again, and the breakpoint never fires.
My suspicion is that this has to do with the iframe panel nodes being removed (and recreated, perhaps?) and then reinserted in the DOM.
If you have any problems with the steps to reproduce, feel free to ping me on IRC, and I'll be happy to help.
Updated•11 years ago
|
Whiteboard: [chrome-debug]
Updated•11 years ago
|
Priority: -- → P3
Comment 1•11 years ago
|
||
just a note. The new chat window opened (via the last step in the STR) is a new iframe loading the chat url. The previously closed chat window was removed when closed.
Updated•10 years ago
|
Blocks: dbg-breakpoint
Summary: breakpoints set in social API panel (iframe) code don't fire on subsequent panel opens → Breakpoints don't trigger when closing/reopening panel
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 2•6 years ago
|
||
Hey Dan, would you mind re-testing this and seeing if this is still a concern?
Flags: needinfo?(dmose)
Updated•6 years ago
|
Priority: P3 → --
Reporter | ||
Comment 3•6 years ago
|
||
So Hello and SocialAPI is not a thing anymore, but I think either Ed or Kate has a prototype that does something similar that they might be able to test with.
Flags: needinfo?(khudson)
Flags: needinfo?(edilee)
Flags: needinfo?(dmose)
Comment 4•6 years ago
|
||
I don't have any recent prototypes that have to do with iframes unfortunately, Ed might!
Flags: needinfo?(khudson)
Updated•6 years ago
|
Blocks: dbg-chrome
Comment 5•6 years ago
|
||
Thanks Kate, I'll close this for now, but happy to re-open if Ed has a good example.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•