Index: chrome/tools/test/reference_build/chrome_linux/resources/inspector/Resource.js |
diff --git a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Resource.js b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Resource.js |
index 058f23290cb72b589109c4684b95300adf6b9c40..db59320811efcae349737c76413e4e0a07a93766 100644 |
--- a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Resource.js |
+++ b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Resource.js |
@@ -341,12 +341,6 @@ WebInspector.Resource.prototype = { |
} |
}, |
- get documentNode() { |
- if ("identifier" in this) |
- return InspectorController.getResourceDocumentNode(this.identifier); |
- return null; |
- }, |
- |
get requestHeaders() |
{ |
if (this._requestHeaders === undefined) |
@@ -489,7 +483,8 @@ WebInspector.Resource.prototype = { |
// Otherwise, we flood the Console with too many tips. |
/* |
var msg = new WebInspector.ConsoleMessage(WebInspector.ConsoleMessage.MessageSource.Other, |
- WebInspector.ConsoleMessage.MessageLevel.Tip, -1, this.url, null, 1, tip.message); |
+ WebInspector.ConsoleMessage.MessageType.Log, WebInspector.ConsoleMessage.MessageLevel.Tip, |
+ -1, this.url, null, 1, tip.message); |
WebInspector.console.addMessage(msg); |
*/ |
}, |
@@ -543,12 +538,12 @@ WebInspector.Resource.prototype = { |
_checkWarning: function(warning) |
{ |
- var addWarning = false; |
var msg; |
switch (warning.id) { |
case WebInspector.Warnings.IncorrectMIMEType.id: |
if (!this._mimeTypeIsConsistentWithType()) |
msg = new WebInspector.ConsoleMessage(WebInspector.ConsoleMessage.MessageSource.Other, |
+ WebInspector.ConsoleMessage.MessageType.Log, |
WebInspector.ConsoleMessage.MessageLevel.Warning, -1, this.url, null, 1, |
String.sprintf(WebInspector.Warnings.IncorrectMIMEType.message, |
WebInspector.Resource.Type.toString(this.type), this.mimeType)); |