getRegistration(relative_url) on iframe context should use entry settings object’s base URL instead of incumbent settings object's base URL |
||||
Issue descriptionAccording 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
,
May 24 2016
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
,
Aug 8 2016
,
Aug 26 2016
I think this bug is now obsolete. See https://github.com/w3c/ServiceWorker/issues/922
,
Feb 10 2017
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 |
||||
Comment 1 by horo@chromium.org
, Apr 22 2016Status: Assigned (was: Untriaged)