|
Implement Promise.prototype.then and Promise.prototype.catch
We are implementing DOM/Promises.
This CL implements Promise.prototype.then and Promise.prototype.catch.
All methods are marked as Custom and there are many boilerplate. we will fix them in a future CL.
R=abarth, haraken
BUG= 243345
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153560
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+825 lines, -27 lines) |
Patch |
|
A |
LayoutTests/fast/js/Promise-already-fulfilled.html
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-already-fulfilled-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-catch.html
|
View
|
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-catch-expected.txt
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-chain.html
|
View
|
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-chain-expected.txt
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-exception.html
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-exception-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-fulfill.html
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-fulfill-expected.txt
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/Promise-init.html
|
View
|
|
2 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/Promise-init-expected.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-reject.html
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-reject-expected.txt
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-resolve.html
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-resolve-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-resolve-with-then-exception.html
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-resolve-with-then-exception-expected.txt
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-resolve-with-then-fulfill.html
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-resolve-with-then-fulfill-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-resolve-with-then-reject.html
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-resolve-with-then-reject-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-simple.html
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-simple-expected.txt
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-simple-fulfill.html
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-simple-fulfill-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-simple-fulfill-inside-callback.html
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-simple-fulfill-inside-callback-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-then.html
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-then-expected.txt
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/Promise-then-without-callbacks.html
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/fast/js/Promise-then-without-callbacks-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8PromiseCustom.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8PromiseCustom.cpp
|
View
|
1
2
3
4
|
5 chunks |
+93 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Promise.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|