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..5d7586fde5e3 --- /dev/null +++ b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/output.txt @@ -0,0 +1,4 @@ +asdf +asdf2 +5 +asdf3 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..776d0118e4f7 --- /dev/null +++ b/tests/tests/swfs/avm1/tab_ordering_properties_tab_index_edge_case/test.as @@ -0,0 +1,8 @@ +this.tabIndex = "asdf"; +trace(this.tabIndex); +this.tabIndex = "asdf2"; +trace(this.tabIndex); +this.tabIndex = 5; +trace(this.tabIndex); +this.tabIndex = "asdf3"; +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..449492534a69 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