Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 25 of 179) sorted by relevance

12345678

/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist-compiler-arm64.txt1 annexB/built-ins/Proxy/set/call-parameters-prototype-dunder-proto.js
2 built-ins/Array/prototype/reduce/15.4.4.21-1-11.js
3 built-ins/Array/prototype/reduce/15.4.4.21-1-12.js
4 built-ins/Array/prototype/reduce/15.4.4.21-1-14.js
5 built-ins/Array/prototype/reduce/15.4.4.21-1-3.js
6 built-ins/Array/prototype/reduce/15.4.4.21-1-4.js
7 built-ins/Array/prototype/reduce/15.4.4.21-1-5.js
8 built-ins/Array/prototype/reduce/15.4.4.21-1-6.js
9 built-ins/Array/prototype/reduce/15.4.4.21-1-7.js
10 built-ins/Array/prototype/reduce/15.4.4.21-1-8.js
[all …]
Dtest262skiplist-long.txt2 built-ins/Array/prototype/concat/Array.prototype.concat_large-typed-array.js
3 built-ins/Array/prototype/concat/Array.prototype.concat_small-typed-array.js
4 built-ins/Array/prototype/every/15.4.4.16-7-c-ii-2.js
5 built-ins/Array/prototype/filter/15.4.4.20-9-c-ii-1.js
6 built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-1.js
7 built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js
8 built-ins/Array/prototype/lastIndexOf/15.4.4.15-9-1.js
9 built-ins/Array/prototype/map/15.4.4.19-8-c-ii-1.js
10 built-ins/Array/prototype/some/15.4.4.17-7-c-ii-2.js
11 built-ins/Array/prototype/sort/stability-2048-elements.js
[all …]
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/
Dprototype_assignment.ts24 funProto.prototype = {
30 funProto.prototype.q = function (r) {
37 foo.prototype = {};
38 foo.prototype.prototype = {};
39 const funProto2 = foo.prototype;
45 classProto.prototype = { p: 10 };
50 prototype: number; property in Y
54 X.prototype = {};
55 Y.prototype = { prototype: 20, xy: '' };
56 const yProto = Y.prototype;
[all …]
Dinterop_import.ts25 CPreview.prototype;
26 CBuild.prototype;
27 CNode.prototype;
28 COh.prototype;
29 CGood.prototype;
30 CHvigor.prototype;
31 Cjs1.prototype;
32 Cjs2.prototype;
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dprototype_assignment.ts24 funProto.prototype = {
30 funProto.prototype.q = function (r) {
37 foo.prototype = {};
38 foo.prototype.prototype = {};
39 const funProto2 = foo.prototype;
45 classProto.prototype = { p: 10 };
50 prototype: number; property in Y
54 X.prototype = {};
55 Y.prototype = { prototype: 20, xy: '' };
56 const yProto = Y.prototype;
[all …]
Dinterop_import.ts25 CPreview.prototype;
26 CBuild.prototype;
27 CNode.prototype;
28 COh.prototype;
29 CGood.prototype;
30 CHvigor.prototype;
31 Cjs1.prototype;
32 Cjs2.prototype;
/arkcompiler/ets_frontend/test262/
Des2023_tests.txt1 built-ins/Array/prototype/findLast/predicate-call-parameters.js
2 built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js
3 built-ins/Array/prototype/findLast/call-with-boolean.js
4 built-ins/Array/prototype/findLast/not-a-constructor.js
5 built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js
6 built-ins/Array/prototype/findLast/length.js
7 built-ins/Array/prototype/findLast/return-abrupt-from-property.js
8 built-ins/Array/prototype/findLast/return-abrupt-from-this.js
9 built-ins/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js
10 built-ins/Array/prototype/findLast/predicate-call-this-strict.js
[all …]
Dintl_tests.txt1 intl402/Array/prototype/toLocaleString/calls-toLocaleString-number-elements.js
2 intl402/BigInt/prototype/toLocaleString/default-options-object-prototype.js
3 intl402/BigInt/prototype/toLocaleString/taint-Intl-NumberFormat.js
4 intl402/BigInt/prototype/toLocaleString/builtin.js
5 intl402/BigInt/prototype/toLocaleString/name.js
6 intl402/BigInt/prototype/toLocaleString/en-US.js
7 intl402/BigInt/prototype/toLocaleString/de-DE.js
8 intl402/BigInt/prototype/toLocaleString/prop-desc.js
9 intl402/BigInt/prototype/toLocaleString/length.js
10 intl402/BigInt/prototype/toLocaleString/this-value-invalid.js
[all …]
Des2015_tests.txt114 built-ins/Array/of/does-not-use-prototype-properties.js
136 built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js
137 built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js
138 built-ins/Array/prototype/concat/arg-length-exceeding-integer-limit.js
139 built-ins/Array/prototype/concat/arg-length-near-integer-limit.js
140 built-ins/Array/prototype/concat/Array.prototype.concat_array-like.js
141 built-ins/Array/prototype/concat/Array.prototype.concat_array-like-length-to-string-throws.js
142 built-ins/Array/prototype/concat/Array.prototype.concat_array-like-length-value-of-throws.js
143 built-ins/Array/prototype/concat/Array.prototype.concat_array-like-negative-length.js
144 built-ins/Array/prototype/concat/Array.prototype.concat_array-like-primitive-non-number-length.js
[all …]
DCI_tests.txt3 built-ins/Error/prototype/S15.11.3.1_A1_T1.js
4 built-ins/Error/prototype/S15.11.3.1_A3_T1.js
5 built-ins/Error/prototype/S15.11.4_A3.js
6 built-ins/Error/prototype/constructor/S15.11.4.1_A1_T2.js
7 built-ins/Error/prototype/message/S15.11.4.3_A2.js
8 built-ins/Error/prototype/name/S15.11.4.2_A1.js
9 built-ins/Error/prototype/toString/15.11.4.4-10-1.js
10 built-ins/Error/prototype/toString/15.11.4.4-6-1.js
11 built-ins/Error/prototype/toString/15.11.4.4-8-2.js
12 built-ins/Error/prototype/toString/length.js
[all …]
Des5_tests.txt1 annexB/built-ins/Date/prototype/getYear/B.2.4.js
2 annexB/built-ins/Date/prototype/getYear/nan.js
3 annexB/built-ins/Date/prototype/getYear/return-value.js
4 annexB/built-ins/Date/prototype/getYear/this-not-date.js
5 annexB/built-ins/Date/prototype/setYear/B.2.5.js
6 annexB/built-ins/Date/prototype/setYear/this-not-date.js
7 annexB/built-ins/Date/prototype/setYear/this-time-nan.js
8 annexB/built-ins/Date/prototype/setYear/this-time-valid.js
9 annexB/built-ins/Date/prototype/setYear/time-clip.js
10 annexB/built-ins/Date/prototype/setYear/year-nan.js
[all …]
/arkcompiler/ets_runtime/test/aottest/ldobjbyname_typed_path/
Dexpect_output.txt16 - Array.prototype.reverse: 9,8,7
17 - Array.prototype.shift: 9
20 - Array.prototype.slice: 11,12,13
21 - Array.prototype.includes: true
23 - DataView.prototype.getInt32: 0
24 - DataView.prototype.getFloat32: 0
26 - Date.prototype.setFullYear: 1664156730000
27 - Date.prototype.toDateString: Mon Sep 26 2022
30 - Map.prototype.has: false
31 - Map.prototype.get: 1
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/test-lists/test262/
Dtest262-ignored-INT-ASAN.txt1 built-ins/DataView/prototype/getFloat32/return-value-clean-arraybuffer.js
2 built-ins/DataView/prototype/getFloat32/return-values-custom-offset.js
3 built-ins/DataView/prototype/getFloat32/return-values.js
4 built-ins/DataView/prototype/getFloat32/toindex-byteoffset.js
5 built-ins/DataView/prototype/getFloat64/return-value-clean-arraybuffer.js
6 built-ins/DataView/prototype/getFloat64/return-values-custom-offset.js
7 built-ins/DataView/prototype/getFloat64/return-values.js
8 built-ins/DataView/prototype/getFloat64/toindex-byteoffset.js
9 built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js
10 built-ins/DataView/prototype/setFloat64/index-is-out-of-range.js
[all …]
Dtest262-ignored-AOT-ASAN.txt1 built-ins/DataView/prototype/getFloat32/return-value-clean-arraybuffer.js
2 built-ins/DataView/prototype/getFloat32/return-values-custom-offset.js
3 built-ins/DataView/prototype/getFloat32/return-values.js
4 built-ins/DataView/prototype/getFloat32/toindex-byteoffset.js
5 built-ins/DataView/prototype/getFloat64/return-value-clean-arraybuffer.js
6 built-ins/DataView/prototype/getFloat64/return-values-custom-offset.js
7 built-ins/DataView/prototype/getFloat64/return-values.js
8 built-ins/DataView/prototype/getFloat64/toindex-byteoffset.js
9 built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js
10 built-ins/DataView/prototype/setFloat64/index-is-out-of-range.js
[all …]
Dtest262-excluded.txt453 built-ins/RegExp/prototype/flags/this-val-regexp.js
454 built-ins/RegExp/prototype/hasIndices/this-val-regexp.js
455 built-ins/RegExp/prototype/unicodeSets/this-val-regexp.js
564 built-ins/String/prototype/split/separator-regexp.js
684 language/expressions/class/elements/syntax/valid/grammar-static-private-async-gen-meth-prototype.js
685 language/expressions/class/elements/syntax/valid/grammar-static-private-async-meth-prototype.js
686 language/expressions/class/elements/syntax/valid/grammar-static-private-gen-meth-prototype.js
687 language/expressions/class/elements/syntax/valid/grammar-static-private-meth-prototype.js
894 language/expressions/dynamic-import/namespace/await-ns-prototype.js
895 language/expressions/dynamic-import/namespace/await-ns-set-prototype-of-null.js
[all …]
Dtest262-ignored-JIT-ASAN-REPEATS.txt1 built-ins/Array/prototype/concat/Array.prototype.concat_large-typed-array.js
2 built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js
3 built-ins/Array/prototype/every/15.4.4.16-7-c-ii-2.js
4 built-ins/Array/prototype/filter/15.4.4.20-9-c-ii-1.js
5 built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-1.js
6 built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js
7 built-ins/Array/prototype/lastIndexOf/15.4.4.15-9-1.js
8 built-ins/Array/prototype/map/15.4.4.19-8-c-ii-1.js
9 built-ins/Array/prototype/reduce/callbackfn-resize-arraybuffer.js
10 built-ins/Array/prototype/some/15.4.4.17-7-c-ii-2.js
[all …]
Dtest262-ignored-JIT-REPEATS.txt1 annexB/built-ins/String/prototype/substr/B.2.3.js
2 annexB/built-ins/String/prototype/substr/length.js
3 annexB/built-ins/String/prototype/substr/name.js
4 annexB/built-ins/String/prototype/trimLeft/length.js
5 annexB/built-ins/String/prototype/trimLeft/name.js
6 annexB/built-ins/String/prototype/trimLeft/prop-desc.js
7 annexB/built-ins/String/prototype/trimRight/length.js
8 annexB/built-ins/String/prototype/trimRight/name.js
9 annexB/built-ins/String/prototype/trimRight/prop-desc.js
30 built-ins/Array/of/does-not-use-prototype-properties.js
[all …]
/arkcompiler/ets_runtime/test/aottest/object/object_toString/
Dobject_toString.ts23 Dog.prototype.toString = function dogToString() {
28 print(Object.prototype.toString.call(dog1));
34 print(Object.prototype.toString.call(n));
37 print(Object.prototype.toString.call(s));
40 print(Object.prototype.toString.call(new Date()));
41 print(Object.prototype.toString.call(new String()));
43 print(Object.prototype.toString.call(Math));
46 print(Object.prototype.toString.call(null));
47 print(Object.prototype.toString.call());
50 print(Object.prototype.toString.call(myDate));
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_class_prototype/
Dpgo_class_prototype.ts28 A.prototype.fromA = 'a';
29 A.prototype.fromB = 'a';
30 B.prototype.fromB = 'b';
31 C.prototype.fromA = 'c';
32 C.prototype.fromB = 'c';
36 C.prototype.method();
/arkcompiler/ets_runtime/test/aottest/object/object_hasOwnProperty/
Dobject_hasOwnProperty.ts24 print(Object.prototype.hasOwnProperty.call(dog1, "name"));
25 print(Object.prototype.hasOwnProperty.call(dog1, "no"));
28 print(Object.prototype.hasOwnProperty.call(s, "length"));
29 print(Object.prototype.hasOwnProperty.call(s, 0));
32 print(Object.prototype.hasOwnProperty.call(a, "length"));
/arkcompiler/ets_runtime/test/moduletest/regexp/
Dregexp.js316 var protoExec = RegExp.prototype.exec
317 RegExp.prototype.exec = function () {
323 delete RegExp.prototype.exec
326 Object.prototype.exec = function () {
331 delete Object.prototype.exec
332 RegExp.prototype.exec = protoExec
335 var protoTest = RegExp.prototype.test
336 RegExp.prototype.test = function () {
342 RegExp.prototype.test = protoTest
370 print(RegExp.prototype.dotAll)
[all …]
/arkcompiler/ets_runtime/test/workload/objaccess/
Dobjaccess.js20 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
28 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
35 Animal.prototype.sayHello = function () {
/arkcompiler/ets_frontend/ets2panda/linter-4.2/docs/rules/
Drecipe132.md8 prototype inheritance in the language. This feature is considered not applicable
19 // 'Error' breaks prototype chain here:
22 // Restore prototype chain:
23 Object.setPrototypeOf(this, new.target.prototype)
48 - Recipe 136: Prototype assignment is not supported (``arkts-no-prototype-assignment``)
Drecipe136.md3 Rule ``arkts-no-prototype-assignment``
7 ArkTS does not support prototype assignment because there is no concept of
8 runtime prototype inheritance in the language. This feature is considered not
22 C.prototype = {
28 C.prototype.q = function(r: number) {
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe132.md8 prototype inheritance in the language. This feature is considered not applicable
19 // 'Error' breaks prototype chain here:
22 // Restore prototype chain:
23 Object.setPrototypeOf(this, new.target.prototype)
48 - Recipe 136: Prototype assignment is not supported (``arkts-no-prototype-assignment``)

12345678