mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 509594 - [SeaMonkey] mochitest-plain: test_datepicker.xul fails after bug 504480 landing on m-1.9.1; (Bv1) Change conflicting key binding; r=gavin.sharp
This commit is contained in:
parent
df74eb32c9
commit
151ed5b141
@ -18,8 +18,9 @@
|
||||
<datepicker id="datepicker-grid" type="grid"/>
|
||||
</hbox>
|
||||
|
||||
<!-- Test-only key bindings, but must not conflict with the application. -->
|
||||
<keyset id="mainKeyset">
|
||||
<key id="key_alt_q" key="Q" oncommand="return" modifiers="alt"/>
|
||||
<key id="key_alt_z" key="Z" oncommand="return" modifiers="alt"/>
|
||||
<key id="key_ctrl_q" key="Q" oncommand="return" modifiers="control"/>
|
||||
<key id="key_meta_e" key="E" oncommand="return" modifiers="meta"/>
|
||||
</keyset>
|
||||
@ -189,7 +190,7 @@ function testtag_datepicker_UI_fields(dp, testid)
|
||||
testtag_datepicker_UI_key(dp, testid, "2004-02-28", dp.dateField, 2004, 1, 29, 2004, 1, 28);
|
||||
testtag_datepicker_UI_key(dp, testid, "2100-02-28", dp.dateField, 2100, 1, 1, 2100, 1, 28);
|
||||
|
||||
synthesizeKeyExpectEvent('Q', { altKey: true }, $("key_alt_q"), "command", testid + " alt shortcut");
|
||||
synthesizeKeyExpectEvent('Z', { altKey: true }, $("key_alt_z"), "command", testid + " alt shortcut");
|
||||
synthesizeKeyExpectEvent('Q', { ctrlKey: true }, $("key_ctrl_q"), "command", testid + " ctrl shortcut");
|
||||
synthesizeKeyExpectEvent('E', { metaKey: true }, $("key_meta_e"), "command", testid + " meta shortcut");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user