Follow-up to address review comment for bug 599969 part 6

This commit is contained in:
Shawn Wilsher 2010-11-09 15:46:30 -08:00
Родитель 5ff757f31f
Коммит 87f3cefe6a
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -79,13 +79,16 @@ function run_test() {
// check that certain schemes never show up as visited
// even if we attempt to add them to history
// see CanAddURI() in nsNavHistory.cpp
var urlsToIgnore = ["about:config",
var urlsToIgnore = [
"about:config",
"data:,Hello%2C%20World!",
"imap://cyrus.andrew.cmu.edu/archive.imap",
"news://news.mozilla.org/mozilla.dev.apps.firefox",
"moz-anno:favicon:http://www.mozilla.org/2005/made-up-favicon/84-1321",
"chrome://browser/content/browser.xul",
"view-source:http://www.google.com/"];
"view-source:http://www.google.com/",
"javascript:alert('hello world!');",
];
for each (var currentURL in urlsToIgnore) {
try {