Closed
Description
The current typeNameOf function in Frog uses Object.prototype.toString to extract the type name of objects in non-Chrome browsers. It then manually checks for "Document" and "XMLDocument" and renames those to "HTMLDocument" and "Document" respectively, since Firefox uses unusual names. However, Safari does not. This means that Safari's XML document object is named "Document" but gets renamed to "HTMLDocument" incorrectly.
The situation for IE is even worse: it calls both HTML and XML documents "Document".
Metadata
Metadata
Assignees
Labels
No labels