New issue
Advanced search Search tips

Issue 605406 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

getRegistration(relative_url) on iframe context should use entry settings object’s base URL instead of incumbent settings object's base URL

Project Member Reported by shimazu@chromium.org, Apr 21 2016

Issue description

According to spec[1], getRegistration(clientURL) should resolve the URL by "entry settings object’s API base URL". However, current implementation seems different from the spec (it is found at a new test: http://crrev.com/1893363003).

[1]
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#navigator-service-worker-getRegistration


 

Comment 1 by horo@chromium.org, Apr 22 2016

Owner: shimazu@chromium.org
Status: Assigned (was: Untriaged)
Status: Started (was: Assigned)
This seems to happen because no isolate->GetEnteredContext is found and enteredExecutionContext at [1] returns currentExecutionContext.

[1]
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp&sq=package:chromium&dr=CSs&l=318


Labels: -Pri-2 Pri-3
Status: Assigned (was: Started)

Comment 4 by falken@chromium.org, Aug 26 2016

I think this bug is now obsolete. See https://github.com/w3c/ServiceWorker/issues/922
Status: WontFix (was: Assigned)
New bug at https://bugs.chromium.org/p/chromium/issues/detail?id=691008 for the new spec; let's WontFix this as obsolete.

Sign in to add a comment