| Index: tests/html/canvas_simple_htmltest.html
|
| diff --git a/tests/html/canvas_simple_htmltest.html b/tests/html/canvas_simple_htmltest.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f169f27c70d20d98b8c124bbfaaa63574102721b
|
| --- /dev/null
|
| +++ b/tests/html/canvas_simple_htmltest.html
|
| @@ -0,0 +1,33 @@
|
| +START_HTML_DART_TEST
|
| +{
|
| + "scripts": [ ],
|
| + "expectedMessages": ["hest", "fisk"]
|
| +}
|
| +END_HTML_DART_TEST
|
| +<html>
|
| +<head>
|
| +<script>window.parent.dispatchEvent(new Event('detect_errors'));</script>
|
| +<title>Simple HTML test</title>
|
| +<script>//throw "no I won't";</script>
|
| +</head><body>
|
| +<h1>This is Bill's test</h1>
|
| +<script>
|
| +//throw "yes i can";
|
| +window.postMessage('fisk', '*');
|
| +
|
| +window.postMessage('ged', '*');
|
| +window.postMessage('fisk', '*');
|
| +
|
| + function delayed() {
|
| + a = new Object();
|
| + parent.postMessage('barfoofoo', '*');
|
| + // a.b = c;
|
| + // throw "hesse error";
|
| + window.postMessage('hest', '*');
|
| + }
|
| + setTimeout(delayed, 5000);
|
| +
|
| +
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|