Index: test/mjsunit/object-define-property.js |
diff --git a/test/mjsunit/object-define-property.js b/test/mjsunit/object-define-property.js |
index 4c495c6824f5ca65d702173b791e56150f26b52b..380a71a82070b17728e78180fa4438b15ad2519a 100644 |
--- a/test/mjsunit/object-define-property.js |
+++ b/test/mjsunit/object-define-property.js |
@@ -467,8 +467,7 @@ try { |
} |
-// Test runtime calls to DefineDataPropertyUnchecked and |
-// DefineAccessorPropertyUnchecked - make sure we don't |
+// Test runtime calls to DefineAccessorPropertyUnchecked - make sure we don't |
// crash. |
try { |
%DefineAccessorPropertyUnchecked(0, 0, 0, 0, 0); |
@@ -477,29 +476,11 @@ try { |
} |
try { |
- %DefineDataPropertyUnchecked(0, 0, 0, 0); |
-} catch (e) { |
- assertTrue(/illegal access/.test(e)); |
-} |
- |
-try { |
- %DefineDataPropertyUnchecked(null, null, null, null); |
-} catch (e) { |
- assertTrue(/illegal access/.test(e)); |
-} |
- |
-try { |
%DefineAccessorPropertyUnchecked(null, null, null, null, null); |
} catch (e) { |
assertTrue(/illegal access/.test(e)); |
} |
-try { |
- %DefineDataPropertyUnchecked({}, null, null, null); |
-} catch (e) { |
- assertTrue(/illegal access/.test(e)); |
-} |
- |
// Defining properties null should fail even when we have |
// other allowed values |
try { |
@@ -508,12 +489,6 @@ try { |
assertTrue(/illegal access/.test(e)); |
} |
-try { |
- %DefineDataPropertyUnchecked(null, 'foo', 0, 0); |
-} catch (e) { |
- assertTrue(/illegal access/.test(e)); |
-} |
- |
// Test that all possible differences in step 6 in DefineOwnProperty are |
// exercised, i.e., any difference in the given property descriptor and the |
// existing properties should not return true, but throw an error if the |