Back to Chromium

Sandboxed Iframe Navigation Targetlink

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

149.0.7827.21.6 KB
Original Source

This test verifies that a sandboxed IFrame cannot open a link in another frame using the target attribute of a link.

This is done by loading ten non-sandboxed IFrames, and a single sandboxed one. In addition each of these frames have a target frame (so, 22 frames in total). Expect ten frames to be able to open a link in their corresponding target frame, 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

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