Bug 1571318 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

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](https://searchfox.org/mozilla-central/source/devtools/client/shared/widgets/tooltip/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”).`

One idea for the fix would be to add a class for the iframe and move the styles into the `tooltips.css` stylesheet.
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](https://searchfox.org/mozilla-central/source/devtools/client/shared/widgets/tooltip/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.
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](https://searchfox.org/mozilla-central/source/devtools/client/shared/widgets/tooltip/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.

Back to Bug 1571318 Comment 2