Bug 1522370 - Part 2: Remove the changes for bug 1493361 which accidentally crept in here while rebasing

This commit is contained in:
Ehsan Akhgari 2019-01-25 17:03:23 -05:00
Родитель 1ec6503fd8
Коммит 0e87c93f9a
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -330,12 +330,6 @@ void ReportBlockingToConsole(nsPIDOMWindowOuter* aWindow, nsIURI* aURI,
NS_ENSURE_SUCCESS_VOID(rv);
NS_ConvertUTF8toUTF16 spec(exposableURI->GetSpecOrDefault());
bool overflows = spec.Length() > sMaxSpecLength;
spec.Truncate(std::min(spec.Length(), sMaxSpecLength));
if (overflows) {
NS_NAMED_LITERAL_STRING(kEllipsis, u"\x2026");
spec.Append(kEllipsis);
}
const char16_t* params[] = {spec.get()};
nsContentUtils::ReportToConsole(