From eb70e6e3d0bff11c25f14b1196025791bf2308fb Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 25 Feb 2020 15:07:00 -0500 Subject: Issue #439 - Remove tests from toolkit/ --- .../tooltiptext/tests/browser_bug561623.js | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 toolkit/components/tooltiptext/tests/browser_bug561623.js (limited to 'toolkit/components/tooltiptext/tests/browser_bug561623.js') diff --git a/toolkit/components/tooltiptext/tests/browser_bug561623.js b/toolkit/components/tooltiptext/tests/browser_bug561623.js deleted file mode 100644 index 49c51c4ba..000000000 --- a/toolkit/components/tooltiptext/tests/browser_bug561623.js +++ /dev/null @@ -1,24 +0,0 @@ -add_task(function*() { - yield BrowserTestUtils.withNewTab({ - gBrowser, - url: "data:text/html,", - }, function*(browser) { - yield ContentTask.spawn(browser, "", function() { - let tttp = Cc["@mozilla.org/embedcomp/default-tooltiptextprovider;1"] - .getService(Ci.nsITooltipTextProvider); - let i = content.document.getElementById("i"); - - ok(!tttp.getNodeText(i, {}, {}), - "No tooltip should be shown when @title is null"); - - i.title = "foo"; - ok(tttp.getNodeText(i, {}, {}), - "A tooltip should be shown when @title is not the empty string"); - - i.pattern = "bar"; - ok(tttp.getNodeText(i, {}, {}), - "A tooltip should be shown when @title is not the empty string"); - }); - }); -}); - -- cgit v1.2.3