Closed Bug 1093604 Opened 11 years ago Closed 11 years ago

[Stingray] event.preventDefault() is not effective to "mozbrowserbeforekeydown" keypress event

Categories

(Core :: DOM: Events, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1096146
2.2 S1 (5dec)

People

(Reporter: 938.daisuke, Assigned: gyeh)

References

Details

(Whiteboard: [ft:conndevices])

[Scenario] When the key event is intercepted by System App, that is, System App handled "mozbrowserbeforekeydown" event and called event.preventDefault(), no "keydown" event should be dispatched to foreground App. How about "keypress" event? [Expected] Neither System App nor foreground App receive "keypress" event. [Actual] Both System App and foreground App receive "keypress" event.
Depends on: 989198
Assignee: nobody → gyeh
Whiteboard: [ft:conndevices]
Target Milestone: --- → 2.2 S1 (5dec)
Hi Daisuke, I found the root cause is exactly the same with bug 1096146. Can you pick up the patches in bug 1096146 and verify the latest result? Thanks.
Component: Gaia::System::Input Mgmt → DOM: Events
OS: FreeBSD → Gonk (Firefox OS)
Product: Firefox OS → Core
Hi Daisuke, can you provide feedback to Comment 1 ? Thanks.
Flags: needinfo?(938.daisuke)
Please let me know if the problem still exists.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(938.daisuke)
Resolution: --- → DUPLICATE
(In reply to Gina Yeh [:gyeh] [:ginayeh] from comment #1) > Hi Daisuke, > > I found the root cause is exactly the same with bug 1096146. Can you pick up > the patches in bug 1096146 and verify the latest result? Thanks. Hi Gina I confirmed that this patch fixes the problem what I reported. Thanks
You need to log in before you can comment on or make changes to this bug.