-
-
Notifications
You must be signed in to change notification settings - Fork 832
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avm1: Add a test for .childNodes edge cases
- Loading branch information
1 parent
bb243ec
commit 50da6d6
Showing
4 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<a />,<b /> | ||
<a />,<b />,<c /> | ||
<a />,<b />,<c />,<d /> | ||
<a />,<b />,<c />,<e /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var my_xml = new XML("<lst><a></a><b></b></lst>"); | ||
var a = my_xml.firstChild.childNodes; | ||
trace(a); | ||
my_xml.firstChild.appendChild(my_xml.createElement("c")) | ||
trace(a); | ||
a.push(my_xml.createElement("d")) | ||
trace(a); | ||
my_xml.firstChild.appendChild(my_xml.createElement("e")) | ||
trace(a); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
num_frames = 1 |