DescriptionIntroduce Promises.
We would like to introduce DOM/Promises[1].
Unlike ordinary DOM objects, the internal state is held as a JavaScript object to avoid leaks.
To achieve this, WebCore::Promise class is empty (it is added to make the IDL processor happy) and all methods are marked as CUSTOM.
Perhaps we will make the IDL processor support this style in a future CL.
As a first step, This CL contains Promise constructor only.
The remaining part will be implemented in another CL.
[1] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/9q5kP0eMQc8
BUG=243345
R=abarth@chromium.org
TESTS=fast/js/Promise-init.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152943
Patch Set 1 #
Total comments: 16
Patch Set 2 : #
Total comments: 8
Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #
Total comments: 2
Messages
Total messages: 21 (0 generated)
|