Bug 179551 - Implement basics of "Terminate Service Worker" algorithm
Summary: Implement basics of "Terminate Service Worker" algorithm
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-11-10 15:07 PST by Brady Eidson
Modified: 2017-11-15 19:07 PST (History)
6 users (show)

See Also:


Attachments
Patch (21.60 KB, patch)
2017-11-15 13:32 PST, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (22.12 KB, patch)
2017-11-15 14:47 PST, Brady Eidson
no flags Details | Formatted Diff | Diff
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 Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 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.
Comment 1 Brady Eidson 2017-11-15 13:32:12 PST
Created attachment 327015 [details]
Patch
Comment 2 Chris Dumez 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() ?
Comment 3 Brady Eidson 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.
Comment 4 Brady Eidson 2017-11-15 14:47:08 PST
Created attachment 327027 [details]
Patch
Comment 5 Build Bot 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
Comment 6 Build Bot 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
Comment 7 Brady Eidson 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
Comment 8 Brady Eidson 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”
Comment 9 WebKit Commit Bot 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>
Comment 10 WebKit Commit Bot 2017-11-15 19:05:07 PST
All reviewed patches have been landed.  Closing bug.
Comment 11 Radar WebKit Bug Importer 2017-11-15 19:07:58 PST
<rdar://problem/35579132>