Closed
Bug 1327716
Opened 8 years ago
Closed 5 years ago
Debugger vs iframe - debugger is empty, can't inspect event handlers in iframe set from parent frame
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1526082
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1: (original)
1. Open url http://ckeditor.com/demo
2. Open devtools -> debugger
3. Inspect the frame with the demo (it has "paste" event handler)
4. Switch to that frame (it's one of about:blank), open debugger
AR: Step 2 - no "paste" event handler. Step 4 - no "paste" event handler
ER: There should be a way to debug "paste" event handler!!! E.g. in Step 4 debugger should display it
STR_2: (testcase)
1. Open url [1]
2. Open devtools -> debugger
3. Inspect the frame with the demo (it has "click" event handler)
4. Switch to that frame (it's one of about:blank), open debugger
AR: Step 2 - no "click" event handler. Step 4 - no "click" event handler
ER: There should be a way to debug "click" event handler!!! E.g. in Step 4 debugger should display it
> [1] data:text/html,<iframe></iframe><script src='data:text/javascript,I=document.querySelector("iframe");setTimeout(function(){var W = I.contentWindow;W.onclick=function(){console.log(Date.now())};},1000);//.js'></script>
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Comment 1•8 years ago
|
||
Thanks Arni, I verified it in this very similar example as well.
https://gist.github.com/jasonLaster/022f3ccfe5dbe3577618f29e470dd496
We haven't gotten around to shipping "Event Listeners" in the new UI yet, but we have a work in progress version. We'll address this server side issue when we get around to shipping it then.
Updated•8 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 2•5 years ago
|
||
The new Events panel will address this use case.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•