mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 831144 - Change tests to use Shift+Accel+Z for redo; r=masayuki
This commit is contained in:
parent
09b1d56782
commit
d0739cd1ab
@ -139,11 +139,7 @@ function runTests()
|
||||
ok(inputEvent.isTrusted, aDescription + "input event by Undo wasn't trusted event");
|
||||
|
||||
inputEvent = null;
|
||||
if (kIsMac) {
|
||||
synthesizeKey("z", { accelKey: true, shiftKey: true }, aWindow);
|
||||
} else {
|
||||
synthesizeKey("y", { accelKey: true }, aWindow);
|
||||
}
|
||||
synthesizeKey("z", { accelKey: true, shiftKey: true }, aWindow);
|
||||
ok(inputEvent, aDescription + "input event wasn't fired by Redo");
|
||||
ok(inputEvent.isTrusted, aDescription + "input event by Redo wasn't trusted event");
|
||||
|
||||
|
@ -109,11 +109,7 @@ function runTests()
|
||||
ok(inputEvent.isTrusted, aDescription + "input event by Undo wasn't trusted event");
|
||||
|
||||
inputEvent = null;
|
||||
if (kIsMac) {
|
||||
synthesizeKey("z", { accelKey: true, shiftKey: true });
|
||||
} else {
|
||||
synthesizeKey("y", { accelKey: true });
|
||||
}
|
||||
synthesizeKey("z", { accelKey: true, shiftKey: true });
|
||||
is(aElement.value, "", aDescription + "Accel+Y key didn't redo the value");
|
||||
ok(inputEvent, aDescription + "input event wasn't fired by Redo");
|
||||
ok(inputEvent.isTrusted, aDescription + "input event by Redo wasn't trusted event");
|
||||
|
Loading…
Reference in New Issue
Block a user