Index: LayoutTests/fast/dom/Window/Location/location-override-valueOf-expected.txt |
diff --git a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-expected.txt b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-expected.txt |
index e35b4e49af4efdc3bc3bb10acd243b867053de4d..b6fa20b44462ce8398d565905fa11641cf7f8eee 100644 |
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-expected.txt |
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-expected.txt |
@@ -1,4 +1,9 @@ |
PASS result is correctValue |
+PASS result is correctValue |
+PASS (function() { 'use strict'; location.valueOf = 'haxored'; return location.valueOf(); }()) threw exception TypeError: Cannot assign to read only property 'valueOf' of [object Location]. |
+PASS (function() { location.valueOf = 'haxored'; return location.valueOf(); }()) did not throw exception. |
+PASS (function() { 'use strict'; delete location.valueOf; }()) threw exception TypeError: Cannot delete property 'valueOf' of [object Location]. |
+PASS (function() { delete location.valueOf; return !!location.valueOf}()) is true |
PASS successfullyParsed is true |
TEST COMPLETE |