Index: test/data/input/escape_uri_test.html |
diff --git a/test/data/input/escape_uri_test.html b/test/data/input/escape_uri_test.html |
index 03c52fce2b80a8c7129d7e4cd0605660ccb6db03..9408c7779f6510d0703563a522a114b4af1fa4f4 100644 |
--- a/test/data/input/escape_uri_test.html |
+++ b/test/data/input/escape_uri_test.html |
@@ -18,6 +18,7 @@ BSD-style license that can be found in the LICENSE file. |
<a href="javascript:{{m3}}"></a> |
<a href="javascript:{{m4}}"></a> |
<script type="application/dart"> |
+ @observable library main; |
import 'dart:html'; |
import 'package:web_ui/safe_html.dart'; |
@@ -32,7 +33,7 @@ BSD-style license that can be found in the LICENSE file. |
tag.dispatchEvent(new MouseEvent('click', detail: 1)); |
}); |
- window.setTimeout(() => window.postMessage('done', '*'), 0); |
+ window.setImmediate(() => window.postMessage('done', '*')); |
}, 0); |
} |
</script> |