Debugger vs iframe - debugger is empty, can't inspect event handlers in iframe set from parent frame

NEW
Unassigned

Status

()

Firefox
Developer Tools: Debugger
P3
normal
a year ago
9 months ago

People

(Reporter: arni2033, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
>>>   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>
(Reporter)

Updated

a year ago
No longer blocks: 1277113
(Reporter)

Updated

a year ago
Component: Untriaged → Developer Tools: Canvas Debugger
(Reporter)

Updated

a year ago
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger

Comment 1

9 months 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

9 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.