Home
last modified time | relevance | path

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

12345678910>>...39

/third_party/jerryscript/tests/jerry/es2015/
Dproxy_set_prototoype_of.js20 var handler = { setPrototypeOf (target) { method
28 Object.setPrototypeOf(proxy, {});
41 setPrototypeOf(target, targetrProto) { method
49 assert(Reflect.setPrototypeOf(proxy, targetProto) === false);
53 Object.setPrototypeOf(proxy, targetProto);
60 Object.setPrototypeOf(proxy, undefined);
67 Object.setPrototypeOf(proxy, 1);
79 Object.setPrototypeOf(proxy, prototype);
82 handler.setPrototypeOf = function(target, proto) { function
87 Object.setPrototypeOf(proxy, {});
[all …]
Dreflect-setPrototypeOf.js17 assert(Reflect.setPrototypeOf(object1, Object.prototype) === true);
18 assert(Reflect.setPrototypeOf(object1, null) === true);
21 assert(Reflect.setPrototypeOf(Object.freeze(object2), null) === false);
Dfunction-properties.js37 Object.setPrototypeOf(func, prototype_obj);
41 Object.setPrototypeOf(bound_func, prototype_obj);
45 Object.setPrototypeOf(print, prototype_obj);
/third_party/node/test/parallel/
Dtest-util-types.js150 Object.setPrototypeOf(new DataView(arrayBuffer), Uint8Array.prototype);
152 Object.setPrototypeOf(new Uint8Array(arrayBuffer), ArrayBuffer.prototype);
154 Object.setPrototypeOf(
158 Object.setPrototypeOf(new Uint16Array(arrayBuffer), Uint16Array.prototype);
160 Object.setPrototypeOf(new Uint32Array(arrayBuffer), Uint32Array.prototype);
162 Object.setPrototypeOf(new Int8Array(arrayBuffer), Int8Array.prototype);
164 Object.setPrototypeOf(new Int16Array(arrayBuffer), Int16Array.prototype);
166 Object.setPrototypeOf(new Int32Array(arrayBuffer), Int32Array.prototype);
168 Object.setPrototypeOf(
172 Object.setPrototypeOf(
[all …]
Dtest-stream-pipe-cleanup.js34 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype);
35 Object.setPrototypeOf(Writable, stream.Stream);
48 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype);
49 Object.setPrototypeOf(Readable, stream.Stream);
55 Object.setPrototypeOf(Duplex.prototype, Writable.prototype);
56 Object.setPrototypeOf(Duplex, Writable);
Dtest-stream-pipe-event.js31 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype);
32 Object.setPrototypeOf(Writable, stream.Stream);
38 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype);
39 Object.setPrototypeOf(Readable, stream.Stream);
Dtest-event-emitter-subclass.js27 Object.setPrototypeOf(MyEE.prototype, EventEmitter.prototype);
28 Object.setPrototypeOf(MyEE, EventEmitter);
39 Object.setPrototypeOf(ErrorEE.prototype, EventEmitter.prototype);
40 Object.setPrototypeOf(ErrorEE, EventEmitter);
Dtest-event-emitter-prepend.js30 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype);
31 Object.setPrototypeOf(Writable, stream.Stream);
37 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype);
38 Object.setPrototypeOf(Readable, stream.Stream);
Dtest-fs-stream-construct-compat-graceful-fs.js17 Object.setPrototypeOf(ReadStream.prototype, fs.ReadStream.prototype);
18 Object.setPrototypeOf(ReadStream, fs.ReadStream);
49 Object.setPrototypeOf(WriteStream.prototype, fs.WriteStream.prototype);
50 Object.setPrototypeOf(WriteStream, fs.WriteStream);
Dtest-fs-stream-construct-compat-old-node.js17 Object.setPrototypeOf(ReadStream.prototype, fs.ReadStream.prototype);
18 Object.setPrototypeOf(ReadStream, fs.ReadStream);
61 Object.setPrototypeOf(WriteStream.prototype, fs.WriteStream.prototype);
62 Object.setPrototypeOf(WriteStream, fs.WriteStream);
Dtest-buffer-inheritance.js9 Object.setPrototypeOf(ui8, T.prototype);
12 Object.setPrototypeOf(T.prototype, Buffer.prototype);
13 Object.setPrototypeOf(T, Buffer);
Dtest-zlib-deflate-raw-inherits.js14 Object.setPrototypeOf(NotInitialized.prototype, DeflateRaw.prototype);
15 Object.setPrototypeOf(NotInitialized, DeflateRaw);
Dtest-fs-stream-construct-compat-error-read.js16 Object.setPrototypeOf(ReadStream.prototype, fs.ReadStream.prototype);
17 Object.setPrototypeOf(ReadStream, fs.ReadStream);
Dtest-util-inspect.js58 Object.setPrototypeOf(fn, Object.getPrototypeOf(async () => {}));
77 Object.setPrototypeOf(fn, null);
761 Object.setPrototypeOf(BadCustomError.prototype, Error.prototype);
762 Object.setPrototypeOf(BadCustomError, Error);
1095 util.inspect(Object.setPrototypeOf(new Boolean(true), null)),
1102 Object.setPrototypeOf(new Number(-0), Array.prototype),
1333 Object.setPrototypeOf(a, null);
1423 util.inspect(Object.setPrototypeOf(x, null)),
2028 Object.setPrototypeOf(foo, null);
2092 Object.setPrototypeOf(clazz, Map.prototype);
[all …]
/third_party/typescript/tests/baselines/reference/
DsuperInStaticMembers1(target=es5).js515 extendStatics = Object.setPrototypeOf ||
648 extendStatics = Object.setPrototypeOf ||
677 extendStatics = Object.setPrototypeOf ||
706 extendStatics = Object.setPrototypeOf ||
735 extendStatics = Object.setPrototypeOf ||
767 extendStatics = Object.setPrototypeOf ||
799 extendStatics = Object.setPrototypeOf ||
831 extendStatics = Object.setPrototypeOf ||
864 extendStatics = Object.setPrototypeOf ||
900 extendStatics = Object.setPrototypeOf ||
[all …]
DclassExtendsItselfIndirectly3.js24 extendStatics = Object.setPrototypeOf ||
47 extendStatics = Object.setPrototypeOf ||
70 extendStatics = Object.setPrototypeOf ||
93 extendStatics = Object.setPrototypeOf ||
116 extendStatics = Object.setPrototypeOf ||
139 extendStatics = Object.setPrototypeOf ||
DdoYouNeedToChangeYourTargetLibraryES2015.js15 const testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {});
33 const testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {});
113 var testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {});
131 var testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {});
/third_party/node/test/fixtures/wpt/common/
Dtest-setting-immutable-prototype.js6 Object.setPrototypeOf(target, newValue);
31 assert_false(Reflect.setPrototypeOf(target, newValue));
48 Object.setPrototypeOf(target, originalValue);
65 assert_true(Reflect.setPrototypeOf(target, originalValue));
/third_party/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js24 if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir)
121 if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename)
145 if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read)
/third_party/typescript/src/testRunner/parallel/
Dworker.ts65 Object.setPrototypeOf(cloned, this.constructor.prototype);
77 Object.setPrototypeOf(hook, Hook.prototype);
175 Object.setPrototypeOf(suite.ctx, root.ctx);
181 Object.setPrototypeOf(newSuite.ctx, root.ctx);
182 Object.setPrototypeOf(test.ctx, root.ctx);
189 Object.setPrototypeOf(suite!.ctx, unitTestSuite.ctx);
/third_party/node/test/common/
Darraystream.js15 Object.setPrototypeOf(ArrayStream.prototype, Stream.prototype);
16 Object.setPrototypeOf(ArrayStream, Stream);
/third_party/jerryscript/tests/jerry-test-suite/es2015/19/19.01/19.01.02/
D19.01.02-004.js22 Object.setPrototypeOf(o, proto);
39 assert(o === Object.setPrototypeOf(o, proto));
/third_party/node/test/fixtures/
Drepl-tab-completion-nested-repls.js21 Object.setPrototypeOf(ArrayStream.prototype, Stream.prototype);
22 Object.setPrototypeOf(ArrayStream, Stream);
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/
Dstring.js9 function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bi…
Dcomment.js9 function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bi…

12345678910>>...39