Bug #371792 --> JS Error when opening .EML file. patch by mcow@well.com sr=mscott

This commit is contained in:
scott%scott-macgregor.org 2007-02-26 21:05:05 +00:00
Родитель b0f2a948a4
Коммит 073af446e9
1 изменённых файлов: 3 добавлений и 4 удалений

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

@ -97,11 +97,10 @@ var gPhishingDetector = {
var folder; var folder;
try { try {
folder = aUrl.folder; folder = aUrl.folder;
if (folder.server.type == 'nntp' || folder.server.type == 'rss')
return;
} catch (ex) {} } catch (ex) {}
if (folder.server.type == 'nntp' || folder.server.type == 'rss')
return;
// extract the link nodes in the message and analyze them, looking for suspicious URLs... // extract the link nodes in the message and analyze them, looking for suspicious URLs...
var linkNodes = document.getElementById('messagepane').contentDocument.links; var linkNodes = document.getElementById('messagepane').contentDocument.links;
for (var index = 0; index < linkNodes.length; index++) for (var index = 0; index < linkNodes.length; index++)