WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204678
Move soft update handling to network process
https://bugs.webkit.org/show_bug.cgi?id=204678
Summary
Move soft update handling to network process
youenn fablet
Reported
2019-11-28 05:39:59 PST
Move soft update handling to network process
Attachments
Patch
(70.08 KB, patch)
2019-11-28 05:43 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(74.51 KB, patch)
2019-11-28 06:41 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(75.31 KB, patch)
2019-11-28 08:57 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(80.68 KB, patch)
2019-11-28 23:10 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(75.72 KB, patch)
2019-12-03 01:37 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch for landing
(75.77 KB, patch)
2019-12-04 03:50 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2019-11-28 05:43:21 PST
Created
attachment 384450
[details]
Patch
youenn fablet
Comment 2
2019-11-28 06:41:49 PST
Created
attachment 384454
[details]
Patch
youenn fablet
Comment 3
2019-11-28 08:57:47 PST
Created
attachment 384459
[details]
Patch
youenn fablet
Comment 4
2019-11-28 23:10:35 PST
Created
attachment 384480
[details]
Patch
youenn fablet
Comment 5
2019-12-03 01:37:32 PST
Created
attachment 384697
[details]
Patch
Chris Dumez
Comment 6
2019-12-03 12:00:45 PST
Comment on
attachment 384697
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=384697&action=review
> Source/WebCore/workers/service/ServiceWorkerJobData.cpp:79 > + return scopeURL == job.scopeURL
Some of these checks may need to be case insensitive.
> Source/WebKit/NetworkProcess/ServiceWorker/ServiceWorkerSoftUpdateLoader.h:55 > + ServiceWorkerSoftUpdateLoader(NetworkSession&, WebCore::ServiceWorkerJobData&&, bool shouldRefreshCache, WebCore::ResourceRequest&&, Handler&&);
This should probably not be public, as clients are expected to call start().
youenn fablet
Comment 7
2019-12-04 03:19:02 PST
(In reply to Chris Dumez from
comment #6
)
> Comment on
attachment 384697
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=384697&action=review
> > > Source/WebCore/workers/service/ServiceWorkerJobData.cpp:79 > > + return scopeURL == job.scopeURL > > Some of these checks may need to be case insensitive.
Both script and scope are URLs. We do URL string comparison for job when matching registration. '
HTTP://example.org/I
' will then have a different scope compared to '
HTTP://example.org/i
'. This is consistent. I believe we should do the same for scripts as well.
> > Source/WebKit/NetworkProcess/ServiceWorker/ServiceWorkerSoftUpdateLoader.h:55 > > + ServiceWorkerSoftUpdateLoader(NetworkSession&, WebCore::ServiceWorkerJobData&&, bool shouldRefreshCache, WebCore::ResourceRequest&&, Handler&&); > > This should probably not be public, as clients are expected to call start().
OK
youenn fablet
Comment 8
2019-12-04 03:50:21 PST
Created
attachment 384802
[details]
Patch for landing
WebKit Commit Bot
Comment 9
2019-12-04 05:47:58 PST
Comment on
attachment 384802
[details]
Patch for landing Clearing flags on attachment: 384802 Committed
r253102
: <
https://trac.webkit.org/changeset/253102
>
WebKit Commit Bot
Comment 10
2019-12-04 05:47:59 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 11
2019-12-04 05:48:18 PST
<
rdar://problem/57622145
>
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