Commit Graph

4 Commits

Author SHA1 Message Date
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
Neil Deakin
ed7226943c Bug 380637, add site-specific permissions to prevent pages from overriding keyboard shortcuts. This is done by preventing the key combination from being sent to the content page, r=felipe
Users can block the overriding of shortcuts using the permissions tab of the page info dialog, as with other permissions. Site permissions also allows the use of permissions.default.shortcuts to block overriding shortcuts for all sites.
2017-11-09 18:42:39 -05:00
Swapnesh Kumar Sahoo
ffcd18c2b9 Bug 1349144 - Test update for WebRTC temporary permission expiry. r=johannh
MozReview-Commit-ID: 4BIuz1ikUQ5
2017-05-11 01:34:56 +05:30
Johann Hofmann
da689009b0 Bug 1349513 - Move tests related to web permissions from test/general to test/permissions. r=Gijs
MozReview-Commit-ID: 6nkSrgOtjTp
2017-03-23 16:23:48 +01:00