Commit Graph

7 Commits

Author SHA1 Message Date
Masayuki Nakano
efaea0aaa7 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T
2018-02-15 04:15:39 +09:00
Masayuki Nakano
ee96ab060f Bug 1435180 - Make existing tests aware of strict keypress event dispatch r=smaug
We'll stop dispatching keypress events on web contents for conforming to spec of
UI Events.  Some existing tests assumes that keypress events are fired even
when non-printable keys are pressed.

This patch makes them check the pref,
"dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content"
and only listen to keydown event instead of keypress even if the pref is true
and expected key event is not a printable key press.

MozReview-Commit-ID: 6bKoK7dsB0l
2018-02-02 18:10:22 +09:00
Florian Quèze
d0406d270c Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Xidorn Quan
70d1647d4b Bug 743198 part 9 - Use unprefixed Fullscreen API in tests. r=smaug 2016-02-17 08:47:11 +08:00
Xidorn Quan
18cdb6650f Bug 1218351 - Make fullscreen-api-keys test not affected by other chrome message listener. r=smaug 2016-01-15 13:04:39 +11:00
Xidorn Quan
f723da00e7 Bug 1191597 part 3 - Convert fullscreen-api-keys to a browser chrome test. r=smaug 2016-01-11 09:38:53 +11:00