[Webkit-unassigned] [Bug 18056] Cannot convert DOM exception prototype object to a string
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 2 06:39:43 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=18056
Ahmad Saleem <zlip.792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zlip.792 at gmail.com
--- Comment #13 from Ahmad Saleem <zlip.792 at gmail.com> ---
By taking the test case via Wayback Archive:
Link - https://web.archive.org/web/20130102220110/http://mcc.id.au/temp/2008/exception-prototype-stringification.html
I get following across browsers:
*** Safari 15.6 on macOS 12.5 ***
typeof DOMException.prototype == object
String(DOMException.prototype) == TypeError: The DOMException.name getter can only be used on instances of DOMException
*** Firefox Nightly 105 ***
typeof DOMException.prototype == object
String(DOMException.prototype) == TypeError: 'get name' called on an object that does not implement interface DOMException.
*** Chrome Canary 106 ***
typeof DOMException.prototype == object
String(DOMException.prototype) == TypeError: Illegal invocation
_______
I am not sure on web-spec but just wanted to share updated test results. Please mark this bug accordingly. Thanks!
--
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/20220802/e9cec63d/attachment-0001.htm>
More information about the webkit-unassigned
mailing list