Bug 282097 - Part 8: Clean up test expectations. r=masayuki

This commit is contained in:
J. Ryan Stinnett 2013-07-10 09:13:14 -05:00
parent e68ccaf3d5
commit 48bb6b20ea
2 changed files with 7 additions and 5 deletions

View File

@ -185,15 +185,17 @@ function runTests()
reset("");
synthesizeKey("VK_DELETE", { });
// Linux: native handler
// Mac: cmd_deleteCharForward
check(aDescription + "Delete",
true, true, !aIsReadonly || kIsLinux);
true, true, !aIsReadonly || kIsLinux || kIsMac);
reset("");
// Win: cmd_cutOrDelete
// Linux: cmd_cut
// Mac: cmd_deleteCharForward
synthesizeKey("VK_DELETE", { shiftKey: true });
check(aDescription + "Shift+Delete",
true, true, kIsWin || kIsLinux);
true, true, true);
reset("");
synthesizeKey("VK_DELETE", { ctrlKey: true });

View File

@ -36,8 +36,6 @@ MOCHITEST_CHROME_FILES = \
test_bug437844.xul \
bug451286_window.xul \
test_bug451286.xul \
bug451540_window.xul \
test_bug451540.xul \
test_bug471776.xul \
test_bug570192.xul \
test_bug624329.xul \
@ -167,7 +165,9 @@ ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
MOCHITEST_CHROME_FILES += test_panel_focus.xul \
window_panel_focus.xul \
test_chromemargin.xul \
window_chromemargin.xul
window_chromemargin.xul \
bug451540_window.xul \
test_bug451540.xul
else
MOCHITEST_CHROME_FILES += test_autocomplete_mac_caret.xul
endif