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

Unified Diff: LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html

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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html b/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
index 104a35039e81f1c76b5ff837b77931e634554059..9c65778ebf401acdcd8ce34d0eff97b092eaad40 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
@@ -25,6 +25,8 @@ function childFrameWasNavigated()
function sandboxWasNavigated()
{
shouldBe("document.getElementById('sandboxedFrameId').sandbox", "['allow-scripts', 'allow-same-origin']");
+ document.getElementById('sandboxedFrameId').sandbox = "allow-scripts";
+ shouldBe("document.getElementById('sandboxedFrameId').getAttribute('sandbox')", "'allow-scripts'");
isSuccessfullyParsed();
if (window.testRunner)
« no previous file with comments | « no previous file | LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698