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 6217eb04111364d3bde8e41a3b420c3ba2baa91c..2f11139f847fa42605a8f237adedb025c90328fc 100644 |
--- a/LayoutTests/http/tests/security/cross-frame-access-delete.html |
+++ b/LayoutTests/http/tests/security/cross-frame-access-delete.html |
@@ -21,8 +21,8 @@ |
shouldBe("eval('delete targetWindow.existingProperty')", "false"); |
shouldBe("eval('delete targetWindow[1]')", "false"); |
- shouldBe("eval('delete targetWindow.location.existingProperty')", "false"); |
- shouldBe("eval('delete targetWindow.location[1]')", "false"); |
+ shouldBeTrue("deletionThrowsException('targetWindow.location.existingProperty')"); |
+ shouldBeTrue("deletionThrowsException('targetWindow.location[1]')", "false"); |
targetWindow.postMessage("deletingValuesComplete", "*"); |
} |