gecko-dev/dom/xslt
Peter Van der Beken f794ee2947 Bug 1603157 - Stop using nsIVariant for XSLTProcessor.getParameter/setParameter. r=smaug
This removes the last usage of variant in WebIDL. Because the conversion to
the WebIDL union now takes place in the generated argument conversion, it's
ok to make the conversion to the right XSLT type (txVariable::convert)
happen lazily again. At that point we're dealing with primitive types
(double/bool/nsString), a Node, a sequence of nodes or an XPathResult, so
txVariable::convert shouldn't have any side-effects. I removed storing a
NodeList, it gets converted to a sequence<Node> during argument conversion.
That, together with cloning XPathResults, makes the parameters stay constant
after they're set, which I think is saner.

Differential Revision: https://phabricator.services.mozilla.com/D140364
2022-03-17 21:52:57 +00:00
..
base Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
crashtests
tests Bug 1603157 - Stop using nsIVariant for XSLTProcessor.getParameter/setParameter. r=smaug 2022-03-17 21:52:57 +00:00
xml
xpath Bug 1603157 - Stop using nsIVariant for XSLTProcessor.getParameter/setParameter. r=smaug 2022-03-17 21:52:57 +00:00
xslt Bug 1603157 - Stop using nsIVariant for XSLTProcessor.getParameter/setParameter. r=smaug 2022-03-17 21:52:57 +00:00
moz.build
nsIDocumentTransformer.h