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

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

Issue 1645313002: Don't apply the SandboxPlugins flag until we know a plugin will be used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Testharness-based test Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-plugins-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: Failed to load '' as a plugin, because the frame into which the p lugin is loading is sandboxed.
1 This test verifies that a sandboxed iframe CAN navigate both itself and a child in the frame tree. It also verifies that the sandbox attribute remains intact af ter a frame has been navigated, and that sandbox attributes are propagated throu gh the frame hierarchy. 2 This test verifies that a sandboxed iframe CAN navigate both itself and a child in the frame tree. It also verifies that the sandbox attribute remains intact af ter a frame has been navigated, and that sandbox attributes are propagated throu gh the frame hierarchy.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 PASS successfullyParsed is true 7 PASS successfullyParsed is true
7 8
8 TEST COMPLETE 9 TEST COMPLETE
9 PASS (self.sandboxedFrame.frameWithPlugin.document.getElementById('plugin').dest royStream) == undefined is true 10 PASS (self.sandboxedFrame.frameWithPlugin.document.getElementById('plugin').dest royStream) == undefined is true
10 PASS (self.frameWithPlugin.document.getElementById('plugin').destroyStream) != u ndefined is true 11 PASS (self.frameWithPlugin.document.getElementById('plugin').destroyStream) != u ndefined is true
11 PASS document.getElementById('sandboxedFrameId').sandbox is ['allow-scripts', 'a llow-same-origin'] 12 PASS document.getElementById('sandboxedFrameId').sandbox is ['allow-scripts', 'a llow-same-origin']
12 PASS document.getElementById('sandboxedFrameId').getAttribute('sandbox') is 'all ow-scripts' 13 PASS document.getElementById('sandboxedFrameId').getAttribute('sandbox') is 'all ow-scripts'
13 PASS successfullyParsed is true 14 PASS successfullyParsed is true
14 15
15 TEST COMPLETE 16 TEST COMPLETE
16 17
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-plugins-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698