Home
last modified time | relevance | path

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

12345678910>>...37

/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-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-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-event-emitter-subclass.js27 Object.setPrototypeOf(MyEE.prototype, EventEmitter.prototype);
28 Object.setPrototypeOf(MyEE, EventEmitter);
41 Object.setPrototypeOf(ErrorEE.prototype, EventEmitter.prototype);
42 Object.setPrototypeOf(ErrorEE, EventEmitter);
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-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-buffer-fakes.js7 Object.setPrototypeOf(FakeBuffer, Buffer);
8 Object.setPrototypeOf(FakeBuffer.prototype, Buffer.prototype);
Dtest-assert-checktag.js44 Object.setPrototypeOf(fakeGlobal, Object.getPrototypeOf(global));
56 Object.setPrototypeOf(fakeProcess, Object.getPrototypeOf(process));
Dtest-stream-inheritance.js46 Object.setPrototypeOf(CustomWritable, Writable);
47 Object.setPrototypeOf(CustomWritable.prototype, Writable.prototype);
Dtest-util-isDeepStrictEqual.js455 Object.setPrototypeOf(booleanish, String.prototype);
460 Object.setPrototypeOf(numberish, String.prototype);
465 Object.setPrototypeOf(stringish, Number.prototype);
470 Object.setPrototypeOf(bigintish, String.prototype);
475 Object.setPrototypeOf(symbolish, String.prototype);
Dtest-util-inspect.js57 Object.setPrototypeOf(fn, Object.getPrototypeOf(async () => {}));
76 Object.setPrototypeOf(fn, null);
742 Object.setPrototypeOf(BadCustomError.prototype, Error.prototype);
743 Object.setPrototypeOf(BadCustomError, Error);
1033 util.inspect(Object.setPrototypeOf(new Boolean(true), null)),
1040 Object.setPrototypeOf(new Number(-0), Array.prototype),
1271 Object.setPrototypeOf(a, null);
1356 util.inspect(Object.setPrototypeOf(x, null)),
1961 Object.setPrototypeOf(foo, null);
2025 Object.setPrototypeOf(clazz, Map.prototype);
[all …]
/third_party/typescript/tests/baselines/reference/
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({}, {});
DdoYouNeedToChangeYourTargetLibraryES2015.types105 const testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {});
107 >Reflect.setPrototypeOf({}, {}) : any
108 >Reflect.setPrototypeOf : any
110 >setPrototypeOf : any
239 const testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {});
241 >Object.setPrototypeOf({}, {}) : any
242 >Object.setPrototypeOf : any
244 >setPrototypeOf : any
DexportDefaultAbstractClass.js19 extendStatics = Object.setPrototypeOf ||
51 extendStatics = Object.setPrototypeOf ||
/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/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/js-native-api/test_object/
Dtest.js139 Object.setPrototypeOf(wrapper, protoA);
150 Object.setPrototypeOf(wrapper, protoA);
154 Object.setPrototypeOf(protoB, Object.getPrototypeOf(wrapper));
155 Object.setPrototypeOf(wrapper, protoB);
/third_party/node/deps/npm/node_modules/proto-list/
Dproto-list.js5 if (typeof Object.setPrototypeOf === "function")
6 return Object.setPrototypeOf(obj, proto)

12345678910>>...37