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) |