Open Bug 1603723 Opened 4 years ago Updated 2 years ago

Script inside of iframe is not displayed in Sources pane

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image Chrome

When a script is inside an iframe, is not displayed in the source tree (Sources pane). This makes impossible to evaluate such code.

Example is JSBin:

  • Open http://jsbin.com/lohexapude/edit?html,js,output
  • The JSBin output pane is displayed in an iframe which has a second iframe as child where the bin code (added to JavaScript pane) lives inside a script tag. This code is not listed in source tree becoming unreachable

For reference, Chrome list this code in their source tree in a separated item:

<proxy> (runner) > JS Bin Output (about:blank) > (no domain) > lohexapude.js

Tested in Fx 73

From
https://github.com/firefox-devtools/debugger/issues/5975

Honza

Has STR: --- → yes

:Honza, if you think that's a regression, then could you try to find a regression range in using for example mozregression?

@Jason, do you think this is a regression?

Honza

Flags: needinfo?(jlaster)
Flags: needinfo?(jlaster)

So, when i checked a simpler page -- https://dbg-iframe.glitch.me/ it looked like Nightly has all of the JS sources that chrome has, but chrome does a good job of grouping them below the Iframe, which is nice. Especially in a fission context.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: