Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 const source = "http://example.com/browser/toolkit/components/viewsource/test/browser/file_bug464222.html";
3 function test() {
4 waitForExplicitFinish();
5 testSelection();
6 }
8 function testSelection() {
9 openDocumentSelect(source, "a", function(aWindow) {
10 let aTags = aWindow.gBrowser.contentDocument.querySelectorAll("a[href]");
11 is(aTags[0].href, "view-source:" + source, "Relative links broken?");
12 closeViewSourceWindow(aWindow, finish);
13 });
14 }