Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-12-30 09:29:56 +08:00
commit 120ac6d556
25 changed files with 193 additions and 112 deletions

View file

@ -35,7 +35,7 @@ using namespace mozilla;
static bool
ShouldHandleKeyEvent(nsIDOMEvent* aEvent) {
bool handled, trusted = false;
aEvent->GetPreventDefault(&handled);
aEvent->GetDefaultPrevented(&handled);
aEvent->GetIsTrusted(&trusted);
if (handled || !trusted) {