Home
last modified time | relevance | path

Searched refs:preventExtensions (Results 1 – 25 of 25) sorted by relevance

/external/v8/test/mjsunit/
Dobject-prevent-extensions.js34 Object.preventExtensions(obj1);
53 Object.preventExtensions(obj2);
84 Object.preventExtensions(arr);
97 Object.preventExtensions(parent);
113 Object.preventExtensions(foo);
120 var o = Object.preventExtensions({});
Dobject-freeze.js169 Object.preventExtensions(obj3);
179 Object.preventExtensions(obj4);
188 Object.preventExtensions(obj5);
Dobject-seal.js179 Object.preventExtensions(obj3);
189 Object.preventExtensions(obj4);
Dstack-traces.js346 Object.preventExtensions(my_error);
/external/v8/test/webkit/
DpreventExtensions-expected.txt33 PASS test(preventExtensions(obj())) is "(b:4)"
36 PASS Object.preventExtensions(Math.sin) is Math.sin
37 PASS var o = {}; Object.preventExtensions(o); o.__proto__ = { newProp: "Should not see this" }; o.n…
38 PASS "use strict"; var o = {}; Object.preventExtensions(o); o.__proto__ = { newProp: "Should not se…
39 PASS Object.preventExtensions(Math); Math.sqrt(4) is 2
40 PASS var arr = Object.preventExtensions([]); arr[0] = 42; arr[0] is undefined.
41 PASS var arr = Object.preventExtensions([]); arr[0] = 42; arr.length is 0
42 PASS "use strict"; var arr = Object.preventExtensions([]); arr[0] = 42; arr[0] threw exception Type…
DpreventExtensions.js64 function preventExtensions(obj) function
66 Object.preventExtensions(obj);
73 preventExtensions(inextensible);
147 Object.preventExtensions(x);
Ddfg-arrayify-when-prevent-extensions.js35 Object.preventExtensions(o);
Ddfg-arrayify-when-late-prevent-extensions.js37 Object.preventExtensions(o);
Ddfg-arrayify-when-late-prevent-extensions-expected.txt24 Tests that Arraify does good things when Object.preventExtensions() has been called.
Ddfg-arrayify-when-prevent-extensions-expected.txt24 Tests that Arraify does good things when Object.preventExtensions() has been called.
/external/v8/test/mjsunit/harmony/regress/
Dregress-405844.js8 Object.preventExtensions(proxy);
12 Object.preventExtensions(functionProxy);
/external/v8/test/mjsunit/harmony/
Dproxies-hash.js75 TestSet(Set, Object.preventExtensions)
118 TestMap(Map, Object.preventExtensions)
122 TestMap(WeakMap, Object.preventExtensions)
Dset-prototype-of.js139 Object.preventExtensions(object);
DtoMethod.js111 Object.preventExtensions(f);
Dproxies.js1861 Object.preventExtensions(p3)
1932 TestFixFunction(Object.preventExtensions)
1943 assertThrows(function(){ Object.preventExtensions(p) }, "myexn")
1972 TestWithProxies(f, Object.preventExtensions)
2078 try { Object.preventExtensions(p) } catch (e) { assertInstanceof(e, Error) }
2091 try { Object.preventExtensions(p) } catch (e) { assertInstanceof(e, Error) }
Dprivate.js359 TestSealAndFreeze(Object.preventExtensions)
/external/v8/test/mjsunit/regress/
Dregress-1309.js29 var o = Object.preventExtensions({});
Dregress-2441.js29 Object.preventExtensions(o);
Dregress-mask-array-length.js9 Object.preventExtensions(o);
Dregress-95920.js47 [0].every(function(){ Object.preventExtensions((new Int8Array(42))); });
Dregress-create-exception.js34 Object.preventExtensions(v);
/external/v8/test/mjsunit/es6/regress/
Dregress-2034.js30 Object.preventExtensions(key);
/external/v8/test/webkit/fast/js/
DObject-getOwnPropertyNames-expected.txt66 …ble', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'observe', 'preventExtensions', 'prototype…
/external/v8/test/mjsunit/es7/
Dobject-observe.js314 Object.preventExtensions(obj);
324 Object.preventExtensions(obj);
326 Object.preventExtensions(obj);
/external/v8/
DChangeLog2136 Made Object.freeze/seal/preventExtensions observable. (issue 2975, 2941)
6478 Added ES5 Object.isExtensible and Object.preventExtensions.