Home
last modified time | relevance | path

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

12

/external/chromium_org/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);
/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.js168 Object.preventExtensions(obj3);
178 Object.preventExtensions(obj4);
187 Object.preventExtensions(obj5);
Dobject-seal.js178 Object.preventExtensions(obj3);
188 Object.preventExtensions(obj4);
/external/chromium_org/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.
/external/v8/test/mjsunit/harmony/
Dproxies-hash.js75 TestSet(Set, Object.preventExtensions)
118 TestMap(Map, Object.preventExtensions)
122 TestMap(WeakMap, Object.preventExtensions)
Dproxies.js1834 Object.preventExtensions(p3)
1905 TestFixFunction(Object.preventExtensions)
1916 assertThrows(function(){ Object.preventExtensions(p) }, "myexn")
1945 TestWithProxies(f, Object.preventExtensions)
2051 try { Object.preventExtensions(p) } catch (e) { assertInstanceof(e, Error) }
2064 try { Object.preventExtensions(p) } catch (e) { assertInstanceof(e, Error) }
/external/chromium_org/v8/test/mjsunit/harmony/
Dproxies-hash.js75 TestSet(Set, Object.preventExtensions)
118 TestMap(Map, Object.preventExtensions)
122 TestMap(WeakMap, Object.preventExtensions)
Dproxies.js1857 Object.preventExtensions(p3)
1928 TestFixFunction(Object.preventExtensions)
1939 assertThrows(function(){ Object.preventExtensions(p) }, "myexn")
1968 TestWithProxies(f, Object.preventExtensions)
2074 try { Object.preventExtensions(p) } catch (e) { assertInstanceof(e, Error) }
2087 try { Object.preventExtensions(p) } catch (e) { assertInstanceof(e, Error) }
Dobject-observe.js308 Object.preventExtensions(obj);
318 Object.preventExtensions(obj);
320 Object.preventExtensions(obj);
/external/v8/test/mjsunit/regress/
Dregress-1309.js29 var o = Object.preventExtensions({});
Dregress-95920.js47 [0].every(function(){ Object.preventExtensions((new Int8Array(42))); });
Dregress-create-exception.js34 Object.preventExtensions(v);
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-1309.js29 var o = Object.preventExtensions({});
Dregress-2441.js29 Object.preventExtensions(o);
Dregress-95920.js47 [0].every(function(){ Object.preventExtensions((new Int8Array(42))); });
Dregress-create-exception.js34 Object.preventExtensions(v);
Dregress-2034.js32 Object.preventExtensions(key);
/external/chromium_org/v8/test/webkit/fast/js/
DObject-getOwnPropertyNames-expected.txt66preventExtensions,prototype,seal. Was arguments,caller,create,defineProperties,defineProperty,free…

12