mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-19 05:37:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
16
toolkit/content/tests/browser/browser_contentTitle.js
Normal file
16
toolkit/content/tests/browser/browser_contentTitle.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
var url = "https://example.com/browser/toolkit/content/tests/browser/file_contentTitle.html";
|
||||
|
||||
add_task(function*() {
|
||||
let tab = gBrowser.selectedTab = gBrowser.addTab(url);
|
||||
let browser = tab.linkedBrowser;
|
||||
yield new Promise((resolve) => {
|
||||
addEventListener("TestLocationChange", function listener() {
|
||||
removeEventListener("TestLocationChange", listener);
|
||||
resolve();
|
||||
}, true, true);
|
||||
});
|
||||
|
||||
is(gBrowser.contentTitle, "Test Page", "Should have the right title.");
|
||||
|
||||
gBrowser.removeTab(tab);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue