avm2: stub xml.normalize() (#10709)

* avm2: stub xml.normalize()
This commit is contained in:
AllinolCP 2023-04-16 23:41:52 +07:00 committed by GitHub
parent ddb45f2cc2
commit d367f38eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,11 @@ package {
public final dynamic class XML {
import __ruffle__.stub_method;
AS3 function normalize(): XML {
stub_method("XML", "normalize");
return this;
}
AS3 static function setSettings(settings:Object): void {
stub_method("XML", "setSettings");
}
@ -135,5 +140,10 @@ package {
var self:XML = this;
return self.AS3::text();
};
prototype.normalize = function():XML {
var self:XML = this;
return self.AS3::normalize();
};
}
}