3 let
tab = gBrowser.selectedTab = gBrowser.addTab(
4 "http://localhost:8888/browser/browser/base/content/test/browser_bug479408_sample.html");
6 gBrowser.addEventListener(
"DOMLinkAdded",
function(aEvent) {
7 gBrowser.removeEventListener(
"DOMLinkAdded",
arguments.callee,
true);
9 executeSoon(
function() {
10 ok(!tab.linkedBrowser.engines,
11 "the subframe's search engine wasn't detected");
13 gBrowser.removeTab(tab);
return!aWindow arguments!aWindow arguments[0]