зеркало из https://github.com/mozilla/gecko-dev.git
Follow-up to address review comment for bug 599969 part 6
This commit is contained in:
Родитель
5ff757f31f
Коммит
87f3cefe6a
|
@ -79,13 +79,16 @@ function run_test() {
|
||||||
// check that certain schemes never show up as visited
|
// check that certain schemes never show up as visited
|
||||||
// even if we attempt to add them to history
|
// even if we attempt to add them to history
|
||||||
// see CanAddURI() in nsNavHistory.cpp
|
// see CanAddURI() in nsNavHistory.cpp
|
||||||
var urlsToIgnore = ["about:config",
|
var urlsToIgnore = [
|
||||||
|
"about:config",
|
||||||
"data:,Hello%2C%20World!",
|
"data:,Hello%2C%20World!",
|
||||||
"imap://cyrus.andrew.cmu.edu/archive.imap",
|
"imap://cyrus.andrew.cmu.edu/archive.imap",
|
||||||
"news://news.mozilla.org/mozilla.dev.apps.firefox",
|
"news://news.mozilla.org/mozilla.dev.apps.firefox",
|
||||||
"moz-anno:favicon:http://www.mozilla.org/2005/made-up-favicon/84-1321",
|
"moz-anno:favicon:http://www.mozilla.org/2005/made-up-favicon/84-1321",
|
||||||
"chrome://browser/content/browser.xul",
|
"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) {
|
for each (var currentURL in urlsToIgnore) {
|
||||||
try {
|
try {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче