Open Bug 2008366 Opened 10 months ago Updated 10 months ago

Reloading about:blank causes remote type change

Categories

(Core :: DOM: Content Processes, defect)

defect

Tracking

()

People

(Reporter: vhilla, Unassigned)

References

Details

Attachments

(1 file)

See comment 49.

When reloading the inner iframe of <iframe src="data:text/html,<iframe></iframe>"></iframe>, this can lead to a remote type change if the top document has a different remote type than the outer frame. The following already reproduced before bug 543435.

STR

  • Open the test case as a file:// URI
  • Open the devtools console
  • Go to the data:text/html, execution context
    • frames[0] should not be restricted
    • Reload the outer frame window.location.reload()
  • Again, go to the data:text/html, execution context
    • Check frames[0]

Expectation

  • The outer frame can still access the inner frame after reload

Actual

  • The outer frame is restricted from accessing the inner frame after reload, indicating a remote type change
Attached file test.html —
Attachment #9535392 - Attachment mime type: text/html → text/plain
See Also: → 2003244, sync-about-blank
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: