Merge branch 'jb36210' into 'master'
[embedlite-components] Simplify "mozorientationchange" listener registration. Fixes JB#36210 Remove isRegistered guard and let EventListerManager (gecko) to take care of this. As we are adding listener for the same listener holder with the same type and arguments, only one will be added. Due to above unregistering code becomes obsolete. Just guard that initial orientation is send only if orientation has really changed. The lastOrientation is now initialized as "unknown" so that initial content orientation reporting works. Initial content orientation was not reported when web content requested a new window. See merge request !26
Showing with 9 additions and 35 deletions