diff --git a/.eslintrc.js b/.eslintrc.js index 679607bd7eb22..36e2460746873 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -28,7 +28,6 @@ module.exports = { // XXX Bug 1421969. These files/directories are still being fixed, // so turn off mozilla/use-services for them for now. "files": [ - "accessible/**", // Browser: Bug 1421379 "browser/extensions/shield-recipe-client/test/browser/head.js", "browser/modules/offlineAppCache.jsm", diff --git a/accessible/tests/mochitest/common.js b/accessible/tests/mochitest/common.js index 829a2978e32f5..7955b57dca82c 100644 --- a/accessible/tests/mochitest/common.js +++ b/accessible/tests/mochitest/common.js @@ -710,11 +710,6 @@ function getLoadContext() { * Return text from clipboard. */ function getTextFromClipboard() { - var clip = Components.classes["@mozilla.org/widget/clipboard;1"]. - getService(Components.interfaces.nsIClipboard); - if (!clip) - return ""; - var trans = Components.classes["@mozilla.org/widget/transferable;1"]. createInstance(Components.interfaces.nsITransferable); trans.init(getLoadContext()); @@ -722,7 +717,7 @@ function getTextFromClipboard() { return ""; trans.addDataFlavor("text/unicode"); - clip.getData(trans, clip.kGlobalClipboard); + Services.clipboard.getData(trans, Services.clipboard.kGlobalClipboard); var str = {}; var strLength = {}; diff --git a/accessible/tests/mochitest/elm/test_nsApplicationAcc.html b/accessible/tests/mochitest/elm/test_nsApplicationAcc.html index 005c336536870..cacf3035d7aaa 100644 --- a/accessible/tests/mochitest/elm/test_nsApplicationAcc.html +++ b/accessible/tests/mochitest/elm/test_nsApplicationAcc.html @@ -2,17 +2,18 @@ application accessible name - - - -