Index: test/mjsunit/es6/reflect-define-property.js |
diff --git a/test/mjsunit/es6/reflect-define-property.js b/test/mjsunit/es6/reflect-define-property.js |
index b19c5aa6ff1864e5dedec37ceb90e206cafee3d7..d62a93490e3e2337e81f86f02db4272603593440 100644 |
--- a/test/mjsunit/es6/reflect-define-property.js |
+++ b/test/mjsunit/es6/reflect-define-property.js |
@@ -441,8 +441,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); |
@@ -451,29 +450,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 { |
@@ -482,12 +463,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 |