Searched refs:preventExtensions (Results 1 – 25 of 25) sorted by relevance
/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 | 169 Object.preventExtensions(obj3); 179 Object.preventExtensions(obj4); 188 Object.preventExtensions(obj5);
|
D | object-seal.js | 179 Object.preventExtensions(obj3); 189 Object.preventExtensions(obj4);
|
D | stack-traces.js | 346 Object.preventExtensions(my_error);
|
/external/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.
|
D | dfg-arrayify-when-prevent-extensions-expected.txt | 24 Tests that Arraify does good things when Object.preventExtensions() has been called.
|
/external/v8/test/mjsunit/harmony/regress/ |
D | regress-405844.js | 8 Object.preventExtensions(proxy); 12 Object.preventExtensions(functionProxy);
|
/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 | set-prototype-of.js | 139 Object.preventExtensions(object);
|
D | toMethod.js | 111 Object.preventExtensions(f);
|
D | proxies.js | 1861 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) }
|
D | private.js | 359 TestSealAndFreeze(Object.preventExtensions)
|
/external/v8/test/mjsunit/regress/ |
D | regress-1309.js | 29 var o = Object.preventExtensions({});
|
D | regress-2441.js | 29 Object.preventExtensions(o);
|
D | regress-mask-array-length.js | 9 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);
|
/external/v8/test/mjsunit/es6/regress/ |
D | regress-2034.js | 30 Object.preventExtensions(key);
|
/external/v8/test/webkit/fast/js/ |
D | Object-getOwnPropertyNames-expected.txt | 66 …ble', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'observe', 'preventExtensions', 'prototype…
|
/external/v8/test/mjsunit/es7/ |
D | object-observe.js | 314 Object.preventExtensions(obj); 324 Object.preventExtensions(obj); 326 Object.preventExtensions(obj);
|
/external/v8/ |
D | ChangeLog | 2136 Made Object.freeze/seal/preventExtensions observable. (issue 2975, 2941) 6478 Added ES5 Object.isExtensible and Object.preventExtensions.
|