Index: tests/html/no_linked_scripts_htmltest.html |
diff --git a/tests/html/no_linked_scripts_htmltest.html b/tests/html/no_linked_scripts_htmltest.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d03e9632b24b6e8c882f1503bf4e45b4399161fd |
--- /dev/null |
+++ b/tests/html/no_linked_scripts_htmltest.html |
@@ -0,0 +1,25 @@ |
+START_HTML_DART_TEST |
ricow1
2014/11/04 09:18:03
copyright header
Bill Hesse
2014/11/04 16:29:01
Done.
|
+{ |
+ "scripts": [ ], |
+ "expectedMessages": ["hest", "fisk"] |
+} |
+END_HTML_DART_TEST |
+<html> |
+<head> |
+<script>window.parent.dispatchEvent(new Event('detect_errors'));</script> |
+<title>No Linked Scripts HTML test</title> |
+</head><body> |
+<h1>No Linked Scripts HTML test</h1> |
+<script> |
+window.postMessage('fisk', '*'); |
+window.postMessage('ged', '*'); |
+window.postMessage('fisk', '*'); |
+ |
+function delayed() { |
+ parent.postMessage('ko', '*'); |
+ window.postMessage('hest', '*'); |
+ } |
+setTimeout(delayed, 5000); |
+</script> |
+</body> |
+</html> |