| Index: third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| index 1af338253829feffe00352dae4f9062f6cf236e2..c2a1b3fce8c13ad1115c76c06421aaf11c9ac7fe 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
|
| @@ -55,7 +55,7 @@ WebInspector.ResourceTreeModel = function(target, networkManager, securityOrigin
|
|
|
| this._pendingReloadOptions = null;
|
| this._reloadSuspensionCount = 0;
|
| -}
|
| +};
|
|
|
| /** @enum {symbol} */
|
| WebInspector.ResourceTreeModel.Events = {
|
| @@ -77,7 +77,7 @@ WebInspector.ResourceTreeModel.Events = {
|
| ColorPicked: Symbol("ColorPicked"),
|
| InterstitialShown: Symbol("InterstitialShown"),
|
| InterstitialHidden: Symbol("InterstitialHidden")
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.Target} target
|
| @@ -86,7 +86,7 @@ WebInspector.ResourceTreeModel.Events = {
|
| WebInspector.ResourceTreeModel.fromTarget = function(target)
|
| {
|
| return /** @type {?WebInspector.ResourceTreeModel} */ (target.model(WebInspector.ResourceTreeModel));
|
| -}
|
| +};
|
|
|
| /**
|
| * @return {!Array.<!WebInspector.ResourceTreeFrame>}
|
| @@ -97,7 +97,7 @@ WebInspector.ResourceTreeModel.frames = function()
|
| for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.DOM))
|
| result = result.concat(WebInspector.ResourceTreeModel.fromTarget(target)._frames.valuesArray());
|
| return result;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} url
|
| @@ -112,7 +112,7 @@ WebInspector.ResourceTreeModel.resourceForURL = function(url)
|
| return result;
|
| }
|
| return null;
|
| -}
|
| +};
|
|
|
| WebInspector.ResourceTreeModel.prototype = {
|
| _fetchResourceTree: function()
|
| @@ -476,7 +476,7 @@ WebInspector.ResourceTreeModel.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SDKModel.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -512,7 +512,7 @@ WebInspector.ResourceTreeFrame = function(model, parentFrame, frameId, payload)
|
|
|
| if (this._parentFrame)
|
| this._parentFrame._childFrames.push(this);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.ExecutionContext|!WebInspector.CSSStyleSheetHeader|!WebInspector.Resource} object
|
| @@ -525,7 +525,7 @@ WebInspector.ResourceTreeFrame._fromObject = function(object)
|
| if (!resourceTreeModel || !frameId)
|
| return null;
|
| return resourceTreeModel.frameForId(frameId);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.Script} script
|
| @@ -537,7 +537,7 @@ WebInspector.ResourceTreeFrame.fromScript = function(script)
|
| if (!executionContext)
|
| return null;
|
| return WebInspector.ResourceTreeFrame._fromObject(executionContext);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.CSSStyleSheetHeader} header
|
| @@ -546,7 +546,7 @@ WebInspector.ResourceTreeFrame.fromScript = function(script)
|
| WebInspector.ResourceTreeFrame.fromStyleSheet = function(header)
|
| {
|
| return WebInspector.ResourceTreeFrame._fromObject(header);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.Resource} resource
|
| @@ -555,7 +555,7 @@ WebInspector.ResourceTreeFrame.fromStyleSheet = function(header)
|
| WebInspector.ResourceTreeFrame.fromResource = function(resource)
|
| {
|
| return WebInspector.ResourceTreeFrame._fromObject(resource);
|
| -}
|
| +};
|
|
|
| WebInspector.ResourceTreeFrame.prototype = {
|
| /**
|
| @@ -766,7 +766,7 @@ WebInspector.ResourceTreeFrame.prototype = {
|
| }
|
| return WebInspector.UIString("<iframe>");
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -775,7 +775,7 @@ WebInspector.ResourceTreeFrame.prototype = {
|
| WebInspector.PageDispatcher = function(resourceTreeModel)
|
| {
|
| this._resourceTreeModel = resourceTreeModel;
|
| -}
|
| +};
|
|
|
| WebInspector.PageDispatcher.prototype = {
|
| /**
|
| @@ -936,4 +936,4 @@ WebInspector.PageDispatcher.prototype = {
|
| // Frontend is not interested in when navigations are requested.
|
| }
|
|
|
| -}
|
| +};
|
|
|