mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c
This commit is contained in:
parent
8950345e0e
commit
32efe41299
107 changed files with 4243 additions and 435 deletions
|
@ -1,5 +1,6 @@
|
|||
<!doctype html>
|
||||
<script>
|
||||
onload = function() {opener.postMessage("loaded", "*")};
|
||||
onbeforeunload = function() {
|
||||
opener.callback();
|
||||
}
|
||||
|
|
|
@ -6,8 +6,11 @@
|
|||
<script>
|
||||
var t = async_test();
|
||||
var w = window.open("close_beforeunload-1.html");
|
||||
setTimeout(function() {
|
||||
onmessage = t.step_func(function(event) {
|
||||
if (event.data != "loaded") {
|
||||
return;
|
||||
}
|
||||
w.close();
|
||||
}, 1000);
|
||||
});
|
||||
callback = function() {t.done()}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<!doctype html>
|
||||
<script>
|
||||
onload = function() {opener.postMessage("loaded", "*")};
|
||||
onunload = function() {
|
||||
opener.callback();
|
||||
}
|
||||
|
|
|
@ -6,8 +6,11 @@
|
|||
<script>
|
||||
var t = async_test();
|
||||
var w = window.open("close_unload-1.html");
|
||||
setTimeout(function() {
|
||||
onmessage = t.step_func(function(event) {
|
||||
if (event.data != "loaded") {
|
||||
return;
|
||||
}
|
||||
w.close();
|
||||
}, 1000);
|
||||
});
|
||||
callback = function() {t.done()}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue