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
Committed: https://crrev.com/704def3b29d00bf39aca6553a079152171af4ad9
Cr-Commit-Position: refs/heads/master@{#361095}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed comments 1 #
Total comments: 8
Patch Set 3 : Comments 2 #Patch Set 4 : git cl w #
Total comments: 2
Patch Set 5 : s/mimeType/MIMEType #
Messages
Total messages: 19 (6 generated)
|