mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-07 06:54:33 +00:00
19 lines
632 B
JavaScript
19 lines
632 B
JavaScript
// Tests referrer on simple click navigation.
|
|
// Clicks on the link, which opens it in the same tab.
|
|
|
|
function startSimpleClickTestCase(aTestNumber) {
|
|
info("browser_referrer_simple_click: " +
|
|
getReferrerTestDescription(aTestNumber));
|
|
BrowserTestUtils.browserLoaded(gTestWindow.gBrowser.selectedBrowser).then(function() {
|
|
checkReferrerAndStartNextTest(aTestNumber, null, null,
|
|
startSimpleClickTestCase);
|
|
});
|
|
|
|
clickTheLink(gTestWindow, "testlink", {});
|
|
};
|
|
|
|
function test() {
|
|
requestLongerTimeout(10); // slowwww shutdown on e10s
|
|
startReferrerTest(startSimpleClickTestCase);
|
|
}
|