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

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

Issue 1040943002: When call getAttribute, HTMLIFrame.sandbox has a bug which don't return changed value. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Draft Created 5 years, 8 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 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. 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 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS successfullyParsed is true 6 PASS successfullyParsed is true
7 7
8 TEST COMPLETE 8 TEST COMPLETE
9 PASS (self.sandboxedFrame.frameWithPlugin.document.getElementById('plugin').dest royStream) == undefined is true 9 PASS (self.sandboxedFrame.frameWithPlugin.document.getElementById('plugin').dest royStream) == undefined is true
10 PASS (self.frameWithPlugin.document.getElementById('plugin').destroyStream) != u ndefined is true 10 PASS (self.frameWithPlugin.document.getElementById('plugin').destroyStream) != u ndefined is true
11 PASS document.getElementById('sandboxedFrameId').sandbox is ['allow-scripts', 'a llow-same-origin'] 11 PASS document.getElementById('sandboxedFrameId').sandbox is ['allow-scripts', 'a llow-same-origin']
12 PASS document.getElementById('sandboxedFrameId').getAttribute('sandbox') is 'all ow-scripts'
12 PASS successfullyParsed is true 13 PASS successfullyParsed is true
13 14
14 TEST COMPLETE 15 TEST COMPLETE
15 16
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html ('k') | Source/core/html/HTMLIFrameElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698