diff options
Diffstat (limited to 'testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html')
-rw-r--r-- | testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html new file mode 100644 index 000000000..d6af5d02e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html><head> + <title>scheduler: script created without a window </title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> +</head> +<div id="log"></div> +<script> + var t = async_test(); + + var doc = document.implementation.createHTMLDocument(""); + doc.write("<script>t.step(function() {assert_unreached()})<\/script>"); + + document.body.appendChild(doc.head.firstChild); + + onload = function() {t.done()} +</script> |