зеркало из https://github.com/mozilla/gecko-dev.git
f794ee2947
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 |
||
---|---|---|
.. | ||
base | ||
crashtests | ||
tests | ||
xml | ||
xpath | ||
xslt | ||
moz.build | ||
nsIDocumentTransformer.h |