summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/browser/browser_contentTitle.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/tests/browser/browser_contentTitle.js')
-rw-r--r--toolkit/content/tests/browser/browser_contentTitle.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/toolkit/content/tests/browser/browser_contentTitle.js b/toolkit/content/tests/browser/browser_contentTitle.js
deleted file mode 100644
index e7966e565..000000000
--- a/toolkit/content/tests/browser/browser_contentTitle.js
+++ /dev/null
@@ -1,16 +0,0 @@
-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);
-});