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/ --- .../browser_bug331772_xul_tooltiptext_in_html.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js (limited to 'toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js') diff --git a/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js b/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js deleted file mode 100644 index 23d8c4a6e..000000000 --- a/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Tests that the tooltiptext attribute is used for XUL elements in an HTML doc. - */ -add_task(function*() { - yield BrowserTestUtils.withNewTab({ - gBrowser, - url: "http://mochi.test:8888/browser/toolkit/components/tooltiptext/tests/xul_tooltiptext.xhtml", - }, function*(browser) { - yield ContentTask.spawn(browser, "", function() { - let textObj = {}; - let tttp = Cc["@mozilla.org/embedcomp/default-tooltiptextprovider;1"] - .getService(Ci.nsITooltipTextProvider); - let xulToolbarButton = content.document.getElementById("xulToolbarButton"); - ok(tttp.getNodeText(xulToolbarButton, textObj, {}), "should get tooltiptext"); - is(textObj.value, "XUL tooltiptext"); - }); - }); -}); - -- cgit v1.2.3