[Debug] ASSERT(!throwScope.exception()) on imported/w3c/web-platform-tests/fetch...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Apr 2017 21:11:38 +0000 (21:11 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Apr 2017 21:11:38 +0000 (21:11 +0000)
commiteb1c4d1464e0003f4ddca7f847b90fbc0bed07d1
tree93bbd6d648bd045a6ec57a3b065e9b1371e45385
parent585c11c949cbc2844628bd4adbeb1c37aed9d073
[Debug] ASSERT(!throwScope.exception()) on imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-status-worker.html
https://bugs.webkit.org/show_bug.cgi?id=170395
<rdar://problem/31394017>

Patch by Youenn Fablet <youenn@apple.com> on 2017-04-04
Reviewed by Mark Lam.

No change of behavior.

* bindings/js/JSDOMPromise.cpp:
(WebCore::DeferredPromise::reject): Adding early ASSERT that creating an exception is happening correctly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMPromise.cpp