0bab5f6d91
Previously Ruffle's AVM1 runtime incorrectly permitted calling `XML` functions on `XMLNode` objects. For example: ```as var xml = new XML("<a><b></b></a>"); trace(XML.prototype.createElement.call(xml.firstChild, "aaa")); // traces "undefined" in Flash, but "<aaa />" in Ruffle before this commit. ``` Disallow this by using the newly-reintroduced `XmlObject` for `XML` objects (rather than `XmlNodeObject` that represents also `XMLNode` object), and check for it in all `XML` builtins. |
||
---|---|---|
.. | ||
assets | ||
macros | ||
src | ||
Cargo.toml |