|
ScriptPromise implementation for V8 Promises
Add the implementation for V8 Promises in ScriptPromise and ScriptPromiseResolver so that:
- They can handle V8 Promises correctly.
- ScriptPromise creates a V8 Promise if ScriptPromiseOnV8Promise turns on.
Add ScriptPromiseOnV8Promise runtime enabled flag which is always off.
Add Layout tests for ScriptPromise.
BUG= 352552
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169516
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+204 lines, -85 lines) |
Patch |
 |
A |
LayoutTests/fast/js/Promise-native-create.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/js/Promise-native-create-expected.txt
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/js/Promise-native-reject.html
|
View
|
1
2
3
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/js/Promise-native-reject-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/js/Promise-native-resolve.html
|
View
|
1
2
3
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/js/Promise-native-resolve-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptPromise.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptPromise.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+41 lines, -22 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptPromiseResolver.h
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptPromiseResolver.cpp
|
View
|
1
2
3
4
5
6
|
4 chunks |
+44 lines, -19 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptPromiseResolverTest.cpp
|
View
|
1
2
3
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.idl
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|