Bug 178970 - Implement ServiceWorkerGlobalObject registration
Summary: Implement ServiceWorkerGlobalObject registration
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2017-10-27 20:09 PDT by Joseph Pecoraro
Modified: 2017-10-27 20:33 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.