mirror of
https://github.com/servo/servo.git
synced 2025-08-19 12:25:33 +01:00
Update web-platform-tests to revision dc60bfc45b49e3a5e653320e65b0fd447676b836
This commit is contained in:
parent
652a177ff5
commit
0bc549be55
690 changed files with 6588 additions and 1564 deletions
|
@ -27,6 +27,7 @@ async_test(function() {
|
|||
assert_equals(e.data, '123');
|
||||
this.done();
|
||||
});
|
||||
w1.onerror = this.unreached_func("error");
|
||||
});
|
||||
</script>
|
||||
<!--
|
||||
|
|
|
@ -30,6 +30,7 @@ async_test(function() {
|
|||
assert_equals(e.data, '123');
|
||||
this.done();
|
||||
});
|
||||
w1.onerror = this.unreached_func("error");
|
||||
});
|
||||
</script>
|
||||
<!--
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
if (location.hash == '#1') {
|
||||
onconnect = function(e) {
|
||||
var port = e.ports[0];
|
||||
onerror = e => {
|
||||
port.postMessage(String(e))
|
||||
}
|
||||
var w2 = new Worker('#2');
|
||||
w2.onmessage = function(e) {
|
||||
port.postMessage('1'+e.data);
|
||||
|
@ -28,6 +31,7 @@ async_test(function() {
|
|||
assert_equals(e.data, '123');
|
||||
this.done();
|
||||
});
|
||||
w1.onerror = this.unreached_func("error");
|
||||
});
|
||||
</script>
|
||||
<!--
|
||||
|
|
|
@ -32,6 +32,7 @@ async_test(function() {
|
|||
assert_equals(e.data, '123');
|
||||
this.done();
|
||||
});
|
||||
w1.onerror = this.unreached_func("error");
|
||||
});
|
||||
</script>
|
||||
<!--
|
||||
|
|
|
@ -24,6 +24,7 @@ onload = t.step_func(function() {
|
|||
this.done();
|
||||
});
|
||||
});
|
||||
w1.onerror = this.unreached_func("error");
|
||||
});
|
||||
</script>
|
||||
<!--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue