зеркало из https://github.com/mozilla/pjs.git
Follow-up to address review comment for bug 599969 part 6
This commit is contained in:
Родитель
e76fa5ca3b
Коммит
a9dc272cda
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче