Back to Chromium

Sandboxed Iframe Navigation Parent

third_party/blink/web_tests/fast/frames/sandboxed-iframe-navigation-parent.html

149.0.7827.21.1 KB
Original Source

This test verifies that a sandboxed IFrame cannot navigate an ancestor in the frame tree by assigning the location attribute.

This is done by loading ten non-sandboxed IFrames, and a single sandboxed one. Expect ten frames to be navigated, but the sandboxed one to not be one of them.

This test will print "PASS" on success.

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

Embedded content

FAIL: Script didn't run