Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-parent-expected.txt

Issue 2887273003: No extra space emission in TextIterator::HandleReplacedElement (Closed)
Patch Set: Fri May 19 00:09:20 PDT 2017 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 6: Unsafe JavaScript attempt to initiate navigation for fram e with URL 'sandboxed-iframe-navigation-source.html'. The frame attempting navig ation is sandboxed, and is therefore disallowed from navigating its ancestors. 1 CONSOLE ERROR: line 6: Unsafe JavaScript attempt to initiate navigation for fram e with URL 'sandboxed-iframe-navigation-source.html'. The frame attempting navig ation is sandboxed, and is therefore disallowed from navigating its ancestors.
2 2
3 CONSOLE ERROR: line 6: Uncaught SecurityError: Failed to execute 'replace' on 'L ocation': The current window does not have permission to navigate the target fra me to 'sandboxed-iframe-navigated.html'. 3 CONSOLE ERROR: line 6: Uncaught SecurityError: Failed to execute 'replace' on 'L ocation': The current window does not have permission to navigate the target fra me to 'sandboxed-iframe-navigated.html'.
4 This test verifies that a sandboxed IFrame cannot navigate an ancestor in the fr ame tree by assigning the location attribute. 4 This test verifies that a sandboxed IFrame cannot navigate an ancestor in the fr ame tree by assigning the location attribute.
5 5
6 This is done by loading ten non-sandboxed IFrames, and a single sandboxed one. E xpect ten frames to be navigated, but the sandboxed one to not be one of them. 6 This is done by loading ten non-sandboxed IFrames, and a single sandboxed one. E xpect ten frames to be navigated, but the sandboxed one to not be one of them.
7 7
8 This test will print "PASS" on success. 8 This test will print "PASS" on success.
9 9
10 10
11 PASS 11 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698