[Webkit-unassigned] [Bug 139129] document.all can be both 'function' and 'not function'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 2 17:41:00 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139129
--- Comment #12 from Rajaram Gaunker <zimbabao at gmail.com> ---
@ggaren:
Doing it for document.write because that what is mentioned in spec
https://html.spec.whatwg.org/#dom-document-all
"The user agent must act such that the typeof operator in JavaScript returns the string undefined when applied to the object returned for all."
Are there more such APIs?.
Also at present
(type=typeof document.all, type === 'function')", "(typeof document.all === 'function')
return false. Equivalent code pieces giving out different results, which is wrong.
and
currently typeof document.all returnrs 'undefined'.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141203/6c7c1133/attachment-0002.html>
More information about the webkit-unassigned
mailing list