Index: Source/core/inspector/InspectorDebuggerAgent.cpp |
=================================================================== |
--- Source/core/inspector/InspectorDebuggerAgent.cpp (revision 153577) |
+++ Source/core/inspector/InspectorDebuggerAgent.cpp (working copy) |
@@ -666,8 +666,7 @@ |
bool deprecated; |
String sourceMapURL = ContentSearchUtils::findSourceMapURL(script.source, ContentSearchUtils::JavaScriptMagicComment, &deprecated); |
if (!sourceMapURL.isEmpty()) { |
- if (deprecated) |
- addConsoleMessage(NetworkMessageSource, WarningMessageLevel, "\"//@ sourceMappingURL=\" source mapping URL declaration is deprecated, \"//# sourceMappingURL=\" declaration should be used instead.", script.url); |
+ // FIXME: add deprecated console message here. |
return sourceMapURL; |
} |
@@ -692,8 +691,7 @@ |
if (!script.startLine && !script.startColumn) { |
bool deprecated; |
sourceURL = ContentSearchUtils::findSourceURL(script.source, ContentSearchUtils::JavaScriptMagicComment, &deprecated); |
- if (deprecated) |
- addConsoleMessage(NetworkMessageSource, WarningMessageLevel, "\"//@ sourceURL=\" source URL declaration is deprecated, \"//# sourceURL=\" declaration should be used instead.", script.url); |
+ // FIXME: add deprecated console message here. |
} |
bool hasSourceURL = !sourceURL.isEmpty(); |
String scriptURL = hasSourceURL ? sourceURL : script.url; |