If the HTML model feature is deactivated, document.createElement("model") neither triggers an exception, nor does it return HTMLUnknownElement like other browsers do. On all Safari platforms. What would be a valid way to use Javascript to query this feature reliably? I assume, the standards conform way should be to return HTMLUnknownElement.
I believe this does the trick: function supportsModel () { return "HTMLModelElement" in window; }
Thank you very much
<rdar://problem/92470985>