Automatic update from web-platform-tests Use encoding-parse algorithm in Worker::Constructor Signed-off-by: Sabb <sarafaabbas@gmail.com> -- wpt-commits: 0efed9003fb6c920d404928776fc9a400bb78560 wpt-pr: 58700
14 lines
477 B
HTML
14 lines
477 B
HTML
<!DOCTYPE html>
|
|
<meta charset=windows-1252>
|
|
<title>Worker URL is parsed using document encoding</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script>
|
|
async_test(t => {
|
|
let worker = new Worker("resources/worker-url-encoding.js?\u00DF");
|
|
worker.onmessage = t.step_func(e => {
|
|
assert_equals(e.data, "?%DF");
|
|
t.done();
|
|
});
|
|
}, "Worker URL is parsed using document encoding");
|
|
</script> |