Closed Bug 1394450 Opened 8 years ago Closed 5 years ago

Firefox 55 and up: Flash Player Direct mode reports invalid stageWidth and stageHeight

Categories

(Core Graveyard :: Plug-ins, defect, P3)

55 Branch
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rewb0rn, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170825011442 Steps to reproduce: Tested in Firefox 55.0.2 (32-Bit) and Firefox 55.0.3 (32-Bit) and Firefox 56.0b6 (64-Bit): When using wmode 'direct' for Flash games, the stage.stageWidth and stage.stageHeight stage size are falsely reported as 0 while switching to another tab. Switching the tab also produces an Event.RESIZE wmode 'gpu' remains unaffected. The unexpected stage size of 0 produces various problems in existing applications that never occured before. We might be able to fix the problems arising from the stage size but as this is a new behavior and it does not appear in wmode 'gpu', this appears to be a bug. Actual results: stage.stageWidth and stage.stageHeight report values of 0. Expected results: stage.stageWidth and stage.stageHeight should always report correct sizes of the Flash component.
I have prepared a test case here that reports stage size on a Event.RESIZE: http://www.evil-software.com/firefox-direct/
Summary: Firefox 55 and up: Flash Player Direct mode reports stage size 0 → Firefox 55 and up: Flash Player Direct mode reports invalid stageWidth and stageHeight
Priority: -- → P3

Adobe Flash is no longer supported.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.