diff options
Diffstat (limited to 'testing/web-platform/tests/html/dom/dynamic-markup-insertion/document-write/script_007.html')
-rw-r--r-- | testing/web-platform/tests/html/dom/dynamic-markup-insertion/document-write/script_007.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/dom/dynamic-markup-insertion/document-write/script_007.html b/testing/web-platform/tests/html/dom/dynamic-markup-insertion/document-write/script_007.html new file mode 100644 index 000000000..fbbe5b2f8 --- /dev/null +++ b/testing/web-platform/tests/html/dom/dynamic-markup-insertion/document-write/script_007.html @@ -0,0 +1,19 @@ +<!doctype html> +<title>document.write external script that document.writes inline script</title> +<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script> +<script> +var t = async_test(); +var order = []; +t.step(function() { + order.push(1); +}); +</script> +<script src="007.js"></script> +<script> +t.step(function() { + order.push(4); + assert_array_equals(order, [1,2,3,4]); +}); +t.done(); +</script> +<div id="log"></div> |