Index: Source/core/inspector/InspectorDebuggerAgent.cpp |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp |
index ad31830f2b6d06ffaa5dee76ed81a4c5a0dcb5ab..b3e2640ba86c553cea461d73e7dbed6ff232c356 100644 |
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp |
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp |
@@ -666,8 +666,7 @@ String InspectorDebuggerAgent::sourceMapURLForScript(const Script& script) |
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 @@ void InspectorDebuggerAgent::didParseSource(const String& scriptId, const Script |
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; |