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

Side by Side Diff: LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "null". The frame requesting access has a protocol of " http", the frame being accessed has a protocol of "data". Protocols must match.
2
3 This tests that the main frame doesn't have access to a data: URL loaded in an i frame inside another data: URL loaded iframe. 1 This tests that the main frame doesn't have access to a data: URL loaded in an i frame inside another data: URL loaded iframe.
4 2
5 Test 3 Test
6 PASS: Cross frame access to a data: URL 2 levels deep was denied. 4 PASS: Cross frame access to a data: URL 2 levels deep was denied.
7 5
8 6
9 -------- 7 --------
10 Frame: 'aFrame' 8 Frame: 'aFrame'
11 -------- 9 --------
12 Inner iframe. 10 Inner iframe.
13 11
14 12
15 13
16 -------- 14 --------
17 Frame: '<!--framePath //aFrame/<!--frame0-->-->' 15 Frame: '<!--framePath //aFrame/<!--frame0-->-->'
18 -------- 16 --------
19 PASS: Cross frame access to a data: URL 2 levels deep was denied. 17 PASS: Cross frame access to a data: URL 2 levels deep was denied.
20 18
21 Inner-inner iframe. 19 Inner-inner iframe.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698