Bug 178970

Summary: Implement ServiceWorkerGlobalObject registration
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, beidson, cdumez, joepeck, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=78882

Description Joseph Pecoraro 2017-10-27 20:09:57 PDT
Implement ServiceWorkerGlobalObject registration

The current implementation is RELEASE_ASSERT_NOT_REACHED which means just evaluating `self.registration` inside of a ServiceWorker causes a crash. Easy to hit when inspecting a ServiceWorker.
Comment 1 Chris Dumez 2017-10-27 20:10:59 PDT
That assertion has been dropped earlier today.
Comment 2 Chris Dumez 2017-10-27 20:13:35 PDT
Services Workers are mostly stubs at the moment. It is not ready for testing.
Comment 3 Joseph Pecoraro 2017-10-27 20:33:58 PDT
So I see. This may be doable after bug 178882. I just filed this so I had a bugzilla bug to replace the FIXME, but I'll leave the code alone to avoid churn.