summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/semantics/encodings/001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/workers/semantics/encodings/001.html')
-rw-r--r--testing/web-platform/tests/workers/semantics/encodings/001.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/semantics/encodings/001.html b/testing/web-platform/tests/workers/semantics/encodings/001.html
new file mode 100644
index 000000000..0ebec0b03
--- /dev/null
+++ b/testing/web-platform/tests/workers/semantics/encodings/001.html
@@ -0,0 +1,21 @@
+<!--
+postMessage('å');
+/*
+-->
+<!doctype html>
+<title>encoding, dedicated worker</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id=log></div>
+<script>
+async_test(function() {
+ var worker = new Worker('#');
+ worker.onmessage = this.step_func(function(e) {
+ assert_equals(e.data, '\u00e5');
+ this.done();
+ });
+});
+</script>
+<!--
+*/
+//--> \ No newline at end of file