WebKit's XSLTProcessor implementation does not throw XSLTExceptions
This only applies after: http://bugzilla.opendarwin.org/show_bug.cgi?id=3275
Is this fixed now?
AFAIK, XSLTException doesn't really exist in Mozilla either (they have an IDL, but apparently never use it). In a broader sense, WebKit XSLT error reporting is even more limited than what we have for other kinds of mistakes.
Chromium / Blink - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/xml/xslt_processor.idl;l=1?q=XSLT_Processor.idl Webkit - https://github.com/WebKit/WebKit/blob/dd956d5e74249681ddf904e0bbe401f308b65e0f/Source/WebCore/xml/XSLTProcessor.idl Firefox / Gecko - https://hg.mozilla.org/mozilla-central/file/012853bd80b7/dom/webidl/XSLTProcessor.webidl ________ Is this something needed now? Thanks!
Looks like Gecko still raises exceptions, and while Blink doesn't, there is a relatively fresh TODO about it. In a brief Firefox testing, I got an Exception, not an XSLTException, FWIW.