WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
180215
Support serviceWorkerRegistration.update() inside service workers
https://bugs.webkit.org/show_bug.cgi?id=180215
Summary
Support serviceWorkerRegistration.update() inside service workers
Chris Dumez
Reported
2017-11-30 12:43:51 PST
Support serviceWorkerRegistration.update() inside service workers.
Attachments
WIP Patch
(22.66 KB, patch)
2017-12-01 20:05 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
WIP Patch
(25.39 KB, patch)
2017-12-02 13:52 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(31.75 KB, patch)
2017-12-02 15:46 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(31.72 KB, patch)
2017-12-02 18:31 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2017-12-01 20:05:39 PST
Created
attachment 328206
[details]
WIP Patch
Chris Dumez
Comment 2
2017-12-02 13:52:57 PST
Created
attachment 328252
[details]
WIP Patch
Chris Dumez
Comment 3
2017-12-02 15:46:56 PST
Created
attachment 328261
[details]
Patch
Darin Adler
Comment 4
2017-12-02 17:18:51 PST
Comment on
attachment 328261
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=328261&action=review
> Source/WebCore/ChangeLog:10 > + thread safe by hoping to the right thread when necessary. In
hopping and hoping, not the same thing ;)
Chris Dumez
Comment 5
2017-12-02 17:35:52 PST
(In reply to Darin Adler from
comment #4
)
> Comment on
attachment 328261
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=328261&action=review
> > > Source/WebCore/ChangeLog:10 > > + thread safe by hoping to the right thread when necessary. In > > hopping and hoping, not the same thing ;)
lol, indeed :) Will fix before landing. Thanks for reviewing.
Chris Dumez
Comment 6
2017-12-02 18:31:52 PST
Created
attachment 328273
[details]
Patch
Chris Dumez
Comment 7
2017-12-02 18:32:47 PST
Comment on
attachment 328273
[details]
Patch Clearing flags on attachment: 328273 Committed
r225455
: <
https://trac.webkit.org/changeset/225455
>
Chris Dumez
Comment 8
2017-12-02 18:32:49 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2017-12-02 18:33:26 PST
<
rdar://problem/35816764
>
Simon Fraser (smfr)
Comment 10
2021-04-06 21:14:52 PDT
Comment on
attachment 328273
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=328273&action=review
> Source/WebCore/workers/service/ServiceWorkerContainer.cpp:320 > +#ifndef NDEBUG > + ASSERT(m_creationThread == currentThread()); > +#endif
Why are these all wrapped in #ifndef NDEBUG ?
Chris Dumez
Comment 11
2021-04-07 08:52:58 PDT
(In reply to Simon Fraser (smfr) from
comment #10
)
> Comment on
attachment 328273
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=328273&action=review
> > > Source/WebCore/workers/service/ServiceWorkerContainer.cpp:320 > > +#ifndef NDEBUG > > + ASSERT(m_creationThread == currentThread()); > > +#endif > > Why are these all wrapped in #ifndef NDEBUG ?
I don't see a good reason. This is a bit old but I have no idea why I did that. Anyway, I'll fix it shortly via
Bug 224285
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug