bug 746164 - Failure for the shortcut keys in actions/test_keys.html on Mac, r=surkov
authorMarco Zehe <mzehe@mozilla.com>
Tue, 17 Apr 2012 18:40:33 +0200
changeset 95184 cefa04404a30bff72e3c3901173b0aed081f60dc
parent 95183 f636d62d59209cfe5c03c0668dedbf7b9d7965a2
child 95185 2bfce9e64bf11aa749aa037f2adf71216aab60d8
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs746164
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 746164 - Failure for the shortcut keys in actions/test_keys.html on Mac, r=surkov
accessible/tests/mochitest/actions/test_keys.html
--- a/accessible/tests/mochitest/actions/test_keys.html
+++ b/accessible/tests/mochitest/actions/test_keys.html
@@ -21,18 +21,18 @@
 
       is(acc.keyboardShortcut, aKey,
          "Wrong keyboard shortcut on " + prettyName(aAccOrElmOrID));
     }
 
     function doTest()
     {
       testKeyboardShortcut("input1", "");
-      testKeyboardShortcut("input2", MAC ? "⌃b" : "Alt+Shift+b");
-      testKeyboardShortcut("link", MAC ? "⌃l" : "Alt+Shift+l");
+      testKeyboardShortcut("input2", MAC ? "⌃%b" : "Alt+Shift+b");
+      testKeyboardShortcut("link", MAC ? "⌃%l" : "Alt+Shift+l");
 
       SimpleTest.finish();
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTest);
   </script>