"; iframe.contentDocument.write(s); iframe.contentDocument.close(); order.push(2); assert_array_equals(order, [1,2]) } ); addEventListener("load", function() { t.step(function() { assert_array_equals(order, [1,2,3,4,5]) }); t.done(); }, false);