Backed out changeset cea0421beffa (bug 1269209)

MozReview-Commit-ID: K2h53eVFx72
This commit is contained in:
Sebastian Hengst 2016-10-28 00:38:17 +02:00
parent 2c7c46521a
commit 7d4a382a0a
3 changed files with 5 additions and 5 deletions

View File

@ -2,6 +2,7 @@
skip-if = buildapp == 'b2g' || os == 'android'
support-files = green.png
[test_bug46555.html]
[test_bug366682.html]
support-files = spellcheck.js
[test_bug471319.html]

View File

@ -14,7 +14,6 @@ support-files =
green.png
spellcheck.js
[test_bug46555.html]
[test_bug200416.html]
[test_bug289384.html]
skip-if = os != "mac"

View File

@ -9,8 +9,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=46555
<head>
<title>Test for Bug 46555</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
<script type="application/javascript"
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
</head>
<body>
@ -31,8 +32,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=46555
var input = document.getElementById("t1");
input.focus();
var controller =
SpecialPowers.wrap(input).controllers.getControllerForCommand(kCmd);
var controller = input.controllers.getControllerForCommand(kCmd);
// Test 1: Select All should be disabled if editor is empty
is(controller.isCommandEnabled(kCmd), false,