| Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| index 991a9be791109a4261719774e850bbcb1fdf5eec..fe21176a867e053d8beadc3a1374eedd5d822785 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| @@ -909,8 +909,6 @@ Main.BackendSettingsSync = class {
|
| constructor() {
|
| this._autoAttachSetting = Common.settings.moduleSetting('autoAttachToCreatedPages');
|
| this._autoAttachSetting.addChangeListener(this._update, this);
|
| - this._disableJavascriptSetting = Common.settings.moduleSetting('javaScriptDisabled');
|
| - this._disableJavascriptSetting.addChangeListener(this._update, this);
|
| SDK.targetManager.observeTargets(this, SDK.Target.Capability.Browser);
|
| }
|
|
|
| @@ -919,7 +917,6 @@ Main.BackendSettingsSync = class {
|
| */
|
| _updateTarget(target) {
|
| target.pageAgent().setAutoAttachToCreatedPages(this._autoAttachSetting.get());
|
| - target.emulationAgent().setScriptExecutionDisabled(this._disableJavascriptSetting.get());
|
| }
|
|
|
| _update() {
|
|
|