diff --git a/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/output.txt b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/output.txt new file mode 100644 index 000000000000..13876678f344 --- /dev/null +++ b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/output.txt @@ -0,0 +1,2 @@ +asdf +5 diff --git a/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.as b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.as new file mode 100644 index 000000000000..2cae548d7c83 --- /dev/null +++ b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.as @@ -0,0 +1,4 @@ +this.tabIndex = "asdf"; +trace(this.tabIndex); +this.tabIndex = 5; +trace(this.tabIndex); diff --git a/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.swf b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.swf new file mode 100644 index 000000000000..a8e9245673b8 Binary files /dev/null and b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.swf differ diff --git a/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.toml b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.toml new file mode 100644 index 000000000000..29f3cef79022 --- /dev/null +++ b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.toml @@ -0,0 +1,2 @@ +num_ticks = 1 +known_failure = true