Bug 228510 Warning `function getContentTypeFromHeaders does not always return a value'' [xs] in file `chrome://navigator/content/pageInfo.js'', line 951, character 0.
r=neil sr=bz git-svn-id: svn://10.0.0.236/trunk@150587 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -944,6 +944,7 @@ function getContentTypeFromHeaders(cacheEntryDescriptor)
|
||||
match = /^Content-Type:\s*(.*?)\s*(?:\;|$)/mi.exec(headers);
|
||||
return match[1];
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function getContentTypeFromImgRequest(item)
|
||||
|
||||
Reference in New Issue
Block a user