summaryrefslogtreecommitdiffstats
path: root/toolkit/components/viewsource/test/browser/browser_bug464222.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-25 15:07:00 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-25 15:07:00 -0500
commit0ddd00f1959c78ce37c14fef3c83401408fca3bf (patch)
treed408e02767c86cf8aac3acbb86722b03c77ede6f /toolkit/components/viewsource/test/browser/browser_bug464222.js
parent20f0905b33cbb18d1caa80c55e2f552c2e18957b (diff)
downloadUXP-0ddd00f1959c78ce37c14fef3c83401408fca3bf.tar
UXP-0ddd00f1959c78ce37c14fef3c83401408fca3bf.tar.gz
UXP-0ddd00f1959c78ce37c14fef3c83401408fca3bf.tar.lz
UXP-0ddd00f1959c78ce37c14fef3c83401408fca3bf.tar.xz
UXP-0ddd00f1959c78ce37c14fef3c83401408fca3bf.zip
Issue #439 - Remove tests from toolkit/
Diffstat (limited to 'toolkit/components/viewsource/test/browser/browser_bug464222.js')
-rw-r--r--toolkit/components/viewsource/test/browser/browser_bug464222.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/toolkit/components/viewsource/test/browser/browser_bug464222.js b/toolkit/components/viewsource/test/browser/browser_bug464222.js
deleted file mode 100644
index 30c4fb67a..000000000
--- a/toolkit/components/viewsource/test/browser/browser_bug464222.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const source = "http://example.com/browser/toolkit/components/viewsource/test/browser/file_bug464222.html";
-
-add_task(function *() {
- let viewSourceTab = yield* openDocumentSelect(source, "a");
-
- let href = yield ContentTask.spawn(viewSourceTab.linkedBrowser, { }, function* () {
- return content.document.querySelectorAll("a[href]")[0].href;
- });
-
- is(href, "view-source:" + source, "Relative links broken?");
- gBrowser.removeTab(viewSourceTab);
-});