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