summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/semantics/encodings/004.html
blob: bb1442633107f0f0d818a60453ff1551c6daac7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!--
onconnect = function(e) {
  var xhr = new XMLHttpRequest();
  xhr.open('GET', '003-1.py?x=å', false);
  xhr.send();
  var passed = xhr.responseText == 'PASS';
  e.ports[0].postMessage(passed);
}
/*
-->
<!doctype html>
<title>URL encoding, shared 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 SharedWorker('#');
  worker.port.onmessage = this.step_func(function(e) {
    assert_true(e.data);
    this.done();
  });
});
</script>
<!--
*/
//-->