| Index: third_party/WebKit/Source/devtools/front_end/sdk/Resource.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Resource.js b/third_party/WebKit/Source/devtools/front_end/sdk/Resource.js
|
| index f4b34924c4f596b08e6186044bc248fd77130a2a..f6343ed54e31baf6aa6d1fc69b41a191c794ee44 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/Resource.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/Resource.js
|
| @@ -59,11 +59,6 @@ WebInspector.Resource = function(target, request, url, documentURL, frameId, loa
|
| this._request.addEventListener(WebInspector.NetworkRequest.Events.FinishedLoading, this._requestFinished, this);
|
| }
|
|
|
| -WebInspector.Resource.Events = {
|
| - MessageAdded: "message-added",
|
| - MessagesCleared: "messages-cleared",
|
| -}
|
| -
|
| /**
|
| * @param {?string} content
|
| * @param {string} mimeType
|
| @@ -179,62 +174,6 @@ WebInspector.Resource.prototype = {
|
| },
|
|
|
| /**
|
| - * @return {!Array.<!WebInspector.ConsoleMessage>}
|
| - */
|
| - get messages()
|
| - {
|
| - return this._messages || [];
|
| - },
|
| -
|
| - /**
|
| - * @param {!WebInspector.ConsoleMessage} msg
|
| - */
|
| - addMessage: function(msg)
|
| - {
|
| - if (!msg.isErrorOrWarning() || !msg.messageText)
|
| - return;
|
| -
|
| - if (!this._messages)
|
| - this._messages = [];
|
| - this._messages.push(msg);
|
| - this.dispatchEventToListeners(WebInspector.Resource.Events.MessageAdded, msg);
|
| - },
|
| -
|
| - /**
|
| - * @return {number}
|
| - */
|
| - get errors()
|
| - {
|
| - return this._errors || 0;
|
| - },
|
| -
|
| - set errors(x)
|
| - {
|
| - this._errors = x;
|
| - },
|
| -
|
| - /**
|
| - * @return {number}
|
| - */
|
| - get warnings()
|
| - {
|
| - return this._warnings || 0;
|
| - },
|
| -
|
| - set warnings(x)
|
| - {
|
| - this._warnings = x;
|
| - },
|
| -
|
| - clearErrorsAndWarnings: function()
|
| - {
|
| - this._messages = [];
|
| - this._warnings = 0;
|
| - this._errors = 0;
|
| - this.dispatchEventToListeners(WebInspector.Resource.Events.MessagesCleared);
|
| - },
|
| -
|
| - /**
|
| * @return {?string}
|
| */
|
| get content()
|
|
|