RESOLVED FIXED 179551
Implement basics of "Terminate Service Worker" algorithm
https://bugs.webkit.org/show_bug.cgi?id=179551
Summary Implement basics of "Terminate Service Worker" algorithm
Brady Eidson
Reported 2017-11-10 15:07:47 PST
Implement basics of "Terminate Service Worker" algorithm Basics only because we don't yet support some of the stuff explicitly covered by this algorithm.
Attachments
Patch (21.60 KB, patch)
2017-11-15 13:32 PST, Brady Eidson
no flags
Patch (22.12 KB, patch)
2017-11-15 14:47 PST, Brady Eidson
no flags
Archive of layout-test-results from ews104 for mac-elcapitan-wk2 (3.04 MB, application/zip)
2017-11-15 16:44 PST, Build Bot
no flags
Brady Eidson
Comment 1 2017-11-15 13:32:12 PST
Chris Dumez
Comment 2 2017-11-15 14:30:08 PST
Comment on attachment 327015 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=327015&action=review r=me with comment > Source/WebCore/workers/WorkerThread.cpp:232 > + RunLoop::main().dispatch(WTFMove(m_stoppedCallback)); This is in Webcore, shouldn't it be a callOnMainThread() ?
Brady Eidson
Comment 3 2017-11-15 14:44:00 PST
(In reply to Chris Dumez from comment #2) > Comment on attachment 327015 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=327015&action=review > > r=me with comment > > > Source/WebCore/workers/WorkerThread.cpp:232 > > + RunLoop::main().dispatch(WTFMove(m_stoppedCallback)); > > This is in Webcore, shouldn't it be a callOnMainThread() ? There's a few RunLoop::main.dispatches in WebCore, including in this very file! But I will change.
Brady Eidson
Comment 4 2017-11-15 14:47:08 PST
Build Bot
Comment 5 2017-11-15 16:44:45 PST
Comment on attachment 327027 [details] Patch Attachment 327027 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/5251765 New failing tests: fast/events/message-port-postMessage-recursive.html
Build Bot
Comment 6 2017-11-15 16:44:46 PST
Created attachment 327036 [details] Archive of layout-test-results from ews104 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Brady Eidson
Comment 7 2017-11-15 18:45:27 PST
Comment on attachment 327027 [details] Patch That failure was almost certainly a preexisting flake unrelated to this test
Brady Eidson
Comment 8 2017-11-15 18:45:50 PST
(In reply to Brady Eidson from comment #7) > Comment on attachment 327027 [details] > Patch > > That failure was almost certainly a preexisting flake unrelated to this test I meant “this patch”
WebKit Commit Bot
Comment 9 2017-11-15 19:05:05 PST
Comment on attachment 327027 [details] Patch Clearing flags on attachment: 327027 Committed r224909: <https://trac.webkit.org/changeset/224909>
WebKit Commit Bot
Comment 10 2017-11-15 19:05:07 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 11 2017-11-15 19:07:58 PST
Note You need to log in before you can comment on or make changes to this bug.