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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 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/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
diff --git a/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html b/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
index a15ec233cd1ab10cb143ddc11eb905449ed199d3..ff8b28c6b6a24480f4766cbf38a0e545df04c554 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
+++ b/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
@@ -283,12 +283,7 @@
shouldBeTrue("canGetDescriptor(targetLocation, '" + locationPropertiesAllowed[i] + "')");
log("----- tests access to cross domain history object -----");
- window.targetHistory = targetWindow.history;
- var historyProperties = [
- "length", "back", "forward", "go", "pushState", "replaceState", "customProperty"
- ];
- for (var i = 0; i < historyProperties.length; i++)
- shouldBeFalse("canGetDescriptor(targetHistory, '" + historyProperties[i] + "')");
+ shouldThrowException("targetWindow.history");
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698