As per https://w3c.github.io/ServiceWorker/#selection, local URLs documents should reuse their parent service worker if any.
Created attachment 330320 [details] Patch
Comment on attachment 330320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=330320&action=review > Source/WebCore/loader/DocumentLoader.cpp:871 > + // FIXME: Add filesystem and about schemes. Why not just do this now?
Comment on attachment 330320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=330320&action=review >> Source/WebCore/loader/DocumentLoader.cpp:871 >> + // FIXME: Add filesystem and about schemes. > > Why not just do this now? I am not sure that any WebKit client is supporting the filesystem scheme (it is different from file scheme). Except for being standard compliant, I don't see a point in adding that check. about scheme makes more sense, since we have about:blank. Do we have more than that? Maybe this is adding some extra IPC for almost nothing as well.
Created attachment 330375 [details] Patch for landing
(In reply to youenn fablet from comment #4) > Created attachment 330375 [details] > Patch for landing Removed the FIXME, added "about" since WebKit has support for it but not "filesystem".
rdar://problem/36164593
Comment on attachment 330375 [details] Patch for landing Clearing flags on attachment: 330375 Committed r226361: <https://trac.webkit.org/changeset/226361>
All reviewed patches have been landed. Closing bug.
<rdar://problem/36276805>