|
This patch implements the ES2015 library changes for subclassing
of Arrays, TypedArrays and ArrayBuffers, including the use of @@species.
Several methods, such as map, return an instance of a constructor which
is found based on the receiver. This patch passes all the test262
species-related tests except for Promises. I plan to break this up into
several smaller patches to be easier to review, but this version is here
to preview the big picture and test it all together.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+439 lines, -129 lines) |
Patch |
 |
M |
src/builtins.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
23 chunks |
+114 lines, -55 lines |
0 comments
|
Download
|
 |
M |
src/js/arraybuffer.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
2 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/js/regexp.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/js/runtime.js
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+34 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/js/typedarray.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
11 chunks |
+51 lines, -38 lines |
0 comments
|
Download
|
 |
M |
src/messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/runtime-typedarray.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/es6/typedarray-of.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
3 chunks |
+24 lines, -20 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/harmony/species.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
1 chunk |
+169 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/mjsunit.status
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
test/mjsunit/regress/regress-544991.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
1 chunk |
+14 lines, -6 lines |
0 comments
|
Download
|
Total messages: 34 (18 generated)
|