Bug 211169 - Update SWServer.cpp originURL after https://trac.webkit.org/changeset/260707
Summary: Update SWServer.cpp originURL after https://trac.webkit.org/changeset/260707
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
: 211233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-29 00:40 PDT by youenn fablet
Modified: 2020-05-01 10:54 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.33 KB, patch)
2020-04-29 00:52 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2020-04-29 00:40:32 PDT
Update SWServer.cpp originURL after https://trac.webkit.org/changeset/260707
Comment 1 youenn fablet 2020-04-29 00:52:47 PDT
Created attachment 397938 [details]
Patch
Comment 2 youenn fablet 2020-04-29 00:53:10 PDT
<<rdar://problem/62541423>>
Comment 3 youenn fablet 2020-04-29 01:01:28 PDT
We could write an API test, but we would need to run a server on port 80 or 443.
Not sure whether that is fine.
Comment 4 EWS 2020-04-29 09:55:13 PDT
Committed r260902: <https://trac.webkit.org/changeset/260902>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 397938 [details].
Comment 5 Darin Adler 2020-04-29 11:40:43 PDT
Comment on attachment 397938 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=397938&action=review

> Source/WebCore/workers/service/server/SWServer.cpp:430
> -    url.setPort(*origin.port());
> +    url.setPort(origin.port());

Thanks for fixing this for me. Sorry I got it wrong!
Comment 6 youenn fablet 2020-05-01 10:54:31 PDT
*** Bug 211233 has been marked as a duplicate of this bug. ***