Last Comment Bug 742395 - restrict device sensor events to windows
: restrict device sensor events to windows
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: x86 Mac OS X
-- normal (vote)
: mozilla14
Assigned To: Doug Turner (:dougt)
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2012-04-04 08:45 PDT by Doug Turner (:dougt)
Modified: 2012-04-05 10:51 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch v.1 (4.12 KB, patch)
2012-04-04 08:45 PDT, Doug Turner (:dougt)
bugs: review+
Details | Diff | Splinter Review

Description User image Doug Turner (:dougt) 2012-04-04 08:45:11 PDT
GetInnerWindowForTarget isn't right for dispatching device sensor events.  What we really should do is only dispatch events to mTarget when it is a window.
Comment 1 User image Doug Turner (:dougt) 2012-04-04 08:45:46 PDT
Created attachment 612204 [details] [diff] [review]
patch v.1
Comment 3 User image :Ehsan Akhgari 2012-04-05 10:51:42 PDT

Note You need to log in before you can comment on or make changes to this bug.