RESOLVED FIXED 150048
[iOS] Avoid crash due to invalid screen bounds
https://bugs.webkit.org/show_bug.cgi?id=150048
Summary [iOS] Avoid crash due to invalid screen bounds
Brent Fulgham
Reported 2015-10-12 14:08:59 PDT
Certain sites or media players modify layout settings such that a divide-by-zero error is encountered while computing the bounds that the video element should use for playback. When this happens, iOS throws an exception and kills the process. Instead, we should recognize when this has happened and use a reasonable set of bounds to display the video.
Attachments
Patch (1.66 KB, patch)
2015-10-12 14:11 PDT, Brent Fulgham
jer.noble: review+
Brent Fulgham
Comment 1 2015-10-12 14:09:25 PDT
Brent Fulgham
Comment 2 2015-10-12 14:11:37 PDT
Brent Fulgham
Comment 3 2015-10-13 09:54:48 PDT
Note You need to log in before you can comment on or make changes to this bug.