Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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 }