Browser doesnt preventDefault when handling contextmenu events

RESOLVED FIXED

Status

Firefox OS
Gaia::Browser
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: daleharvey, Assigned: daleharvey)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
As explained in http://mxr.mozilla.org/mozilla-central/source/dom/browser-element/BrowserElementChildPreload.js#621, the browser should preventDefault to prevent the platform firing a click event

(there is currently bug https://bugzilla.mozilla.org/show_bug.cgi?id=942929) which prevents the click event being fired anyway
(Assignee)

Updated

5 years ago
Assignee: nobody → dale
(Assignee)

Comment 1

5 years ago
Created attachment 8342655 [details] [review]
preventDefault when we handle the context menu
Attachment #8342655 - Flags: review?(bfrancis)
Attachment #8342655 - Flags: review?(bfrancis) → review+
(Assignee)

Comment 2

5 years ago
https://github.com/mozilla-b2g/gaia/commit/68536daf7524bc715fb48cb9a6650d2ac6aa8f99
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.