Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

function test() {
waitForExplicitFinish();
let tab = (gBrowser.selectedTab = BrowserTestUtils.addTab(
gBrowser,
));
BrowserTestUtils.waitForContentEvent(
gBrowser.selectedBrowser,
"DOMLinkAdded",
true
).then(() => {
executeSoon(function () {
ok(
!tab.linkedBrowser.engines,
"the subframe's search engine wasn't detected"
);
gBrowser.removeTab(tab);
finish();
});
});
}