Event bubble inline source code view scrolling is broken
Categories
(DevTools :: Inspector, defect)
Tracking
(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | fixed |
People
(Reporter: rowbot, Assigned: jdescottes)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [qa-70b-p2])
Attachments
(2 files)
Sorry, not sure what feature name this goes by anymore (Visual Events/Event Bubbles/Examine Event Listener)? The inline source code viewer seems to overflow its container, causing text to appear cutoff.
STR:
- Go to a page with event listeners registered. (Firefox's Activity Stream should do fine)
- Click on the event bubble next to the element in the Inspector.
- Find an event that requires you to scroll to see the entire source code inline.
- The bottom of the source code view is cutoff.
Updated•6 years ago
|
Comment 1•6 years ago
•
|
||
I can reproduce this on nightly, but not on devedition by opening any event bubble to view the inline source. Looking at the differences between the css. It seems we are no longer setting the iframe width and height, which contains the CM editor.
For comparison, this is the CSS I saw that was missing:
width: 100%;
height: 100%;
border-style: none;
@miker, any chance you could look at this?
Comment 2•6 years ago
•
|
||
This does not appear to be a regression. It seems we are running into a CSP when calling setAttribute
for an iframe in EventTooltipHelper.js#265.
This is the error reported:
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). EventTooltipHelper.js:265:13
One idea for the fix would be to add a class for the iframe and move the styles into the tooltips.css
stylesheet.
Comment 3•6 years ago
•
|
||
.
Assignee | ||
Comment 4•6 years ago
|
||
I will take it since it's a regression from the CSP change
Assignee | ||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Updated•3 years ago
|
Description
•