Index: LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location.html |
diff --git a/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location.html b/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location.html |
index 1843666a664c7c47b90239ce188a599bf6071fb2..085c8844b7476c64a32a496368a08641fec48a70 100644 |
--- a/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location.html |
+++ b/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location.html |
@@ -11,8 +11,7 @@ |
function checkFrames() { |
shouldBeNull('xssed.contentDocument'); |
shouldBe('xssed.contentDocument', 'crossorigin.contentDocument'); |
- shouldBeUndefined('xssed.contentWindow.location.href'); |
- shouldBe('xssed.contentWindow.location.href', 'crossorigin.contentWindow.location.href'); |
+ shouldThrow('xssed.contentWindow.location.href'); |
finishJSTest(); |
} |