avm2: Test for namespace in E4X equality check

This commit is contained in:
Lord-McSweeney 2024-09-03 18:10:05 -07:00 committed by Lord-McSweeney
parent 243c6b8ba5
commit 2e4085fcb3
4 changed files with 7 additions and 0 deletions

View File

@ -262,6 +262,10 @@ impl<'gc> E4XNode<'gc> {
return false;
}
if self.namespace().map(|ns| ns.uri) != other.namespace().map(|ns| ns.uri) {
return false;
}
let this = self.0.read();
let other = other.0.read();

View File

@ -0,0 +1,2 @@
true
false

Binary file not shown.

View File

@ -0,0 +1 @@
num_frames = 1