Searched refs:preventExtensions (Results 1 – 25 of 28) sorted by relevance
12
/external/chromium_org/v8/test/mjsunit/ |
D | object-prevent-extensions.js | 34 Object.preventExtensions(obj1); 53 Object.preventExtensions(obj2); 84 Object.preventExtensions(arr); 97 Object.preventExtensions(parent); 113 Object.preventExtensions(foo); 120 var o = Object.preventExtensions({});
|
D | object-freeze.js | 169 Object.preventExtensions(obj3); 179 Object.preventExtensions(obj4); 188 Object.preventExtensions(obj5);
|
D | object-seal.js | 179 Object.preventExtensions(obj3); 189 Object.preventExtensions(obj4);
|
/external/v8/test/mjsunit/ |
D | object-prevent-extensions.js | 34 Object.preventExtensions(obj1); 53 Object.preventExtensions(obj2); 84 Object.preventExtensions(arr); 97 Object.preventExtensions(parent); 113 Object.preventExtensions(foo); 120 var o = Object.preventExtensions({});
|
D | object-freeze.js | 168 Object.preventExtensions(obj3); 178 Object.preventExtensions(obj4); 187 Object.preventExtensions(obj5);
|
D | object-seal.js | 178 Object.preventExtensions(obj3); 188 Object.preventExtensions(obj4);
|
/external/chromium_org/v8/test/webkit/ |
D | preventExtensions-expected.txt | 33 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…
|
D | preventExtensions.js | 64 function preventExtensions(obj) function 66 Object.preventExtensions(obj); 73 preventExtensions(inextensible); 147 Object.preventExtensions(x);
|
D | dfg-arrayify-when-prevent-extensions.js | 35 Object.preventExtensions(o);
|
D | dfg-arrayify-when-late-prevent-extensions.js | 37 Object.preventExtensions(o);
|
D | dfg-arrayify-when-late-prevent-extensions-expected.txt | 24 Tests that Arraify does good things when Object.preventExtensions() has been called.
|
/external/v8/test/mjsunit/harmony/ |
D | proxies-hash.js | 75 TestSet(Set, Object.preventExtensions) 118 TestMap(Map, Object.preventExtensions) 122 TestMap(WeakMap, Object.preventExtensions)
|
D | proxies.js | 1834 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/ |
D | proxies-hash.js | 75 TestSet(Set, Object.preventExtensions) 118 TestMap(Map, Object.preventExtensions) 122 TestMap(WeakMap, Object.preventExtensions)
|
D | proxies.js | 1857 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) }
|
D | object-observe.js | 308 Object.preventExtensions(obj); 318 Object.preventExtensions(obj); 320 Object.preventExtensions(obj);
|
/external/v8/test/mjsunit/regress/ |
D | regress-1309.js | 29 var o = Object.preventExtensions({});
|
D | regress-95920.js | 47 [0].every(function(){ Object.preventExtensions((new Int8Array(42))); });
|
D | regress-create-exception.js | 34 Object.preventExtensions(v);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-1309.js | 29 var o = Object.preventExtensions({});
|
D | regress-2441.js | 29 Object.preventExtensions(o);
|
D | regress-95920.js | 47 [0].every(function(){ Object.preventExtensions((new Int8Array(42))); });
|
D | regress-create-exception.js | 34 Object.preventExtensions(v);
|
D | regress-2034.js | 32 Object.preventExtensions(key);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
D | Object-getOwnPropertyNames-expected.txt | 66 …preventExtensions,prototype,seal. Was arguments,caller,create,defineProperties,defineProperty,free…
|
12