Chromium Code Reviews
DescriptionFixes document type detection on iOS 9.
On iOS 9, evaluating '' + document always results in [object
HTMLDocument], even for PDFs. This introduces another way of checking
document type on iOS 9. Unfortunately, it doesn't work on iOS 8, so the
old implementation needs to stay too.
BUG=549604
Review URL: https://codereview.chromium.org/1458703004
Cr-Commit-Position: refs/heads/master@{#361095}
(cherry picked from commit 704def3b29d00bf39aca6553a079152171af4ad9)
Committed: https://chromium.googlesource.com/chromium/src/+/f5f194b3efbdfc92886eebe0b359a25518061fe0
Patch Set 1 #
Messages
Total messages: 3 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||