Queue a microtask when a waitUntil() promise is settled, as per: - https://w3c.github.io/ServiceWorker/#dom-extendableevent-waituntil (step 5) Otherwise, we decrement m_pendingPromiseCount too quickly and it may cause following calls to waitUntil() to throw when they shouldn't.
<rdar://problem/37101019>
Created attachment 332844 [details] Patch
Comment on attachment 332844 [details] Patch r=me
Comment on attachment 332844 [details] Patch Attachment 332844 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/6310810 New failing tests: js/regexp-unicode.html
Created attachment 332848 [details] Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Comment on attachment 332844 [details] Patch Clearing flags on attachment: 332844 Committed r227959: <https://trac.webkit.org/changeset/227959>
All reviewed patches have been landed. Closing bug.