WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2015-10-12 14:09:25 PDT
<
rdar://problem/22112664
>
Brent Fulgham
Comment 2
2015-10-12 14:11:37 PDT
Created
attachment 262921
[details]
Patch
Brent Fulgham
Comment 3
2015-10-13 09:54:48 PDT
Committed
r190992
: <
http://trac.webkit.org/changeset/190992
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug