7 var newTab = gBrowser.addTab();
8 gBrowser.selectedTab = newTab;
14 newBrowser.contentWindow.location =
'http://www.mozilla.com/firefox/its-an-attack.html';
21 var el =
newBrowser.contentDocument.getElementById(
"ignoreWarningButton");
22 ok(el,
"Ignore warning button should be present for malware");
25 is(style.display,
"-moz-box",
"Ignore Warning button should be display:-moz-box for malware");
29 newBrowser.contentWindow.location =
'http://www.mozilla.com/firefox/its-a-trap.html';
35 var el =
newBrowser.contentDocument.getElementById(
"ignoreWarningButton");
36 ok(el,
"Ignore warning button should be present for phishing");
39 is(style.display,
"-moz-box",
"Ignore Warning button should be display:-moz-box for phishing");
41 gBrowser.removeCurrentTab();
function newBrowser test()