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

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: Modify a test-case for Layout Test. 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
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..a1fb106b773eb8381f75fc3d0c0fce79ca121555 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
@@ -25,6 +25,7 @@ function childFrameWasNavigated()
function sandboxWasNavigated()
{
shouldBe("document.getElementById('sandboxedFrameId').sandbox", "['allow-scripts', 'allow-same-origin']");
+ shouldBe("document.getElementById('sandboxedFrameId').getAttribute('sandbox')", "'allow-scripts allow-same-origin'");
isSuccessfullyParsed();
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698