Fix #824
This commit is contained in:
parent
df114a4ee2
commit
685e71d5a5
1 changed files with 4 additions and 0 deletions
|
|
@ -1815,6 +1815,10 @@
|
||||||
return fire()
|
return fire()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (state === REJECTING) {
|
||||||
|
d.onerror(promiseValue)
|
||||||
|
}
|
||||||
|
|
||||||
thennable(then, function () {
|
thennable(then, function () {
|
||||||
state = RESOLVING
|
state = RESOLVING
|
||||||
fire()
|
fire()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue