| Index: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
|
| index 69095d5c53b2f2d4da304a3b50f58429d36b5d56..2ececcf1cdf91e5f78fadbc65056e3ee34df475f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
|
| @@ -87,13 +87,13 @@ WebInspector.ExtensionServer = function()
|
| InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.SetInspectedTabId, this._setInspectedTabId, this);
|
|
|
| this._initExtensions();
|
| -}
|
| +};
|
|
|
| /** @enum {symbol} */
|
| WebInspector.ExtensionServer.Events = {
|
| SidebarPaneAdded: Symbol("SidebarPaneAdded"),
|
| AuditCategoryAdded: Symbol("AuditCategoryAdded")
|
| -}
|
| +};
|
|
|
| WebInspector.ExtensionServer.prototype = {
|
| initializeExtensions: function()
|
| @@ -1013,8 +1013,8 @@ WebInspector.ExtensionServer.prototype = {
|
|
|
| }
|
| if (!context) {
|
| - console.warn("The JavaScript context " + contextSecurityOrigin + " was not found in the frame " + frame.url)
|
| - return this._status.E_NOTFOUND(contextSecurityOrigin)
|
| + console.warn("The JavaScript context " + contextSecurityOrigin + " was not found in the frame " + frame.url);
|
| + return this._status.E_NOTFOUND(contextSecurityOrigin);
|
| }
|
| } else {
|
| for (var i = 0; i < executionContexts.length; ++i) {
|
| @@ -1051,7 +1051,7 @@ WebInspector.ExtensionServer.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.Object.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1065,7 +1065,7 @@ WebInspector.ExtensionServerPanelView = function(name, title, panel)
|
| WebInspector.SimpleView.call(this, title);
|
| this._name = name;
|
| this._panel = panel;
|
| -}
|
| +};
|
|
|
| WebInspector.ExtensionServerPanelView.prototype = {
|
| /**
|
| @@ -1087,7 +1087,7 @@ WebInspector.ExtensionServerPanelView.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SimpleView.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1118,7 +1118,7 @@ WebInspector.ExtensionStatus = function()
|
| this.E_NOTSUPPORTED = makeStatus.bind(null, "E_NOTSUPPORTED", "Object does not support requested operation: %s");
|
| this.E_PROTOCOLERROR = makeStatus.bind(null, "E_PROTOCOLERROR", "Inspector protocol error: %s");
|
| this.E_FAILED = makeStatus.bind(null, "E_FAILED", "Operation failed: %s");
|
| -}
|
| +};
|
|
|
| /**
|
| * @typedef {{code: string, description: string, details: !Array.<*>}}
|
|
|