Last Comment Bug 742395 - restrict device sensor events to windows
: restrict device sensor events to windows
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: mozilla14
Assigned To: Doug Turner (:dougt)
:
Mentors:
Depends on:
Blocks:
  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:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


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

Description 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 Doug Turner (:dougt) 2012-04-04 08:45:46 PDT
Created attachment 612204 [details] [diff] [review]
patch v.1
Comment 3 :Ehsan Akhgari (out sick) 2012-04-05 10:51:42 PDT
https://bugzilla.mozilla.org/show_bug.cgi?id=742395

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