Commit a5eebf69 authored by nhiroki's avatar nhiroki Committed by Commit bot

ServiceWorker: Remove navigator.serviceWorker.{installing,waiting,active} (Chromium)

These attributes are gone:
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-container

Blink: https://codereview.chromium.org/541943003/

BUG=404982
TEST=content_unittests --gtest_filter=ServiceWorker*
TEST=run_webkit_tests.py --debug http/tests/serviceworker/

Review URL: https://codereview.chromium.org/544023002

Cr-Commit-Position: refs/heads/master@{#293501}
parent e136a865
......@@ -47,21 +47,6 @@ void WebServiceWorkerProviderImpl::setClient(
// for more context)
GetDispatcher()->AddScriptClient(provider_id_, client);
if (context_->installing_handle_id() != kInvalidServiceWorkerHandleId) {
client->setInstalling(GetDispatcher()->GetServiceWorker(
context_->installing()->info(), false));
}
if (context_->waiting_handle_id() != kInvalidServiceWorkerHandleId) {
client->setWaiting(GetDispatcher()->GetServiceWorker(
context_->waiting()->info(), false));
}
if (context_->active_handle_id() != kInvalidServiceWorkerHandleId) {
client->setActive(GetDispatcher()->GetServiceWorker(
context_->active()->info(), false));
}
if (context_->controller_handle_id() != kInvalidServiceWorkerHandleId) {
client->setController(GetDispatcher()->GetServiceWorker(
context_->controller()->info(), false));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment