summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/es7/object-observe-runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/es7/object-observe-runtime.js')
-rw-r--r--deps/v8/test/mjsunit/es7/object-observe-runtime.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/deps/v8/test/mjsunit/es7/object-observe-runtime.js b/deps/v8/test/mjsunit/es7/object-observe-runtime.js
deleted file mode 100644
index 1a07141af6..0000000000
--- a/deps/v8/test/mjsunit/es7/object-observe-runtime.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2014 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Flags: --harmony-object-observe
-// Flags: --allow-natives-syntax
-
-// These tests are meant to ensure that that the Object.observe runtime
-// functions are hardened.
-
-var obj = {};
-%SetIsObserved(obj);
-assertThrows(function() {
- %SetIsObserved(obj);
-});
-
-assertThrows(function() {
- %SetIsObserved(this);
-});