Commit f6120b3b authored by horo@chromium.org's avatar horo@chromium.org

Make the skipWaiting checkbox in Service Workers view unchecked by default

It is weird that the SW update behavior changes when devtools open.

BUG=466871

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

git-svn-id: svn://svn.chromium.org/blink/trunk@201037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a6742a6b
...@@ -296,7 +296,6 @@ WebInspector.SWRegistrationElement = function(manager, originElement, registrati ...@@ -296,7 +296,6 @@ WebInspector.SWRegistrationElement = function(manager, originElement, registrati
this._skipWaitingCheckboxLabel.title = WebInspector.UIString("Simulate skipWaiting()"); this._skipWaitingCheckboxLabel.title = WebInspector.UIString("Simulate skipWaiting()");
this._skipWaitingCheckboxLabel.classList.add("service-workers-skip-waiting-checkbox-label"); this._skipWaitingCheckboxLabel.classList.add("service-workers-skip-waiting-checkbox-label");
this._skipWaitingCheckbox = this._skipWaitingCheckboxLabel.checkboxElement; this._skipWaitingCheckbox = this._skipWaitingCheckboxLabel.checkboxElement;
this._skipWaitingCheckbox.checked = true;
this._skipWaitingCheckbox.classList.add("service-workers-skip-waiting-checkbox"); this._skipWaitingCheckbox.classList.add("service-workers-skip-waiting-checkbox");
this._skipWaitingCheckbox.addEventListener("change", this._skipWaitingCheckboxChanged.bind(this), false); this._skipWaitingCheckbox.addEventListener("change", this._skipWaitingCheckboxChanged.bind(this), 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