Index: LayoutTests/http/tests/security/cross-frame-access-delete.html |
diff --git a/LayoutTests/http/tests/security/cross-frame-access-delete.html b/LayoutTests/http/tests/security/cross-frame-access-delete.html |
index 2f11139f847fa42605a8f237adedb025c90328fc..deb6a8a8f3d0011ff9cdc465ad64ccbc75e88d21 100644 |
--- a/LayoutTests/http/tests/security/cross-frame-access-delete.html |
+++ b/LayoutTests/http/tests/security/cross-frame-access-delete.html |
@@ -19,8 +19,8 @@ |
{ |
targetWindow = frames[0]; |
- shouldBe("eval('delete targetWindow.existingProperty')", "false"); |
- shouldBe("eval('delete targetWindow[1]')", "false"); |
+ shouldBeTrue("deletionThrowsException('targetWindow.existingProperty')"); |
+ shouldBeTrue("deletionThrowsException('targetWindow[1]')"); |
shouldBeTrue("deletionThrowsException('targetWindow.location.existingProperty')"); |
shouldBeTrue("deletionThrowsException('targetWindow.location[1]')", "false"); |