Closed Bug 1456059 Opened 6 years ago Closed 16 days ago

[wpt-sync] Sync PR 10570 - [ServiceWorker] Let Client.url be the creation url of the window client

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10570 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10570
Details from upstream follow.

Han Leon <leon.han@intel.com> wrote:
>  [ServiceWorker] Let Client.url be the creation url of the window client
>  
>  This CL sets Client.url as the creation url (document_url_) of
>  corresponding ServiceWorkerProviderHost, instead of the
>  last_committed_url of corresponding render frame host, which may be a
>  result of history.pushState() and should not be considered as Client.url
>  according to the spec:
>  https://w3c.github.io/ServiceWorker/#dom-client-url
>  https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-creation-url
>  
>  Bug: 658997
>  TEST=blink_tests
>  external/wpt/service-workers/service-worker/clients-matchall-client-types.https.html
>  
>  Change-Id: Id7060b7d1292654fc8f23dd72eef629f6a874ef0
>  
>  Reviewed-on: https://chromium-review.googlesource.com/532595
>  WPT-Export-Revision: 64d720304dcc0bfb012410a013071572a2ce473c
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Severity: normal → S3
Status: REOPENED → RESOLVED
Closed: 4 years ago16 days ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.