Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7

This commit is contained in:
WPT Sync Bot 2018-06-22 21:05:34 -04:00
parent 728ebcc932
commit 8c46b67f8e
456 changed files with 10561 additions and 5108 deletions

View file

@ -4,9 +4,12 @@
onpagehide = function() {
onpagehide = null;
setTimeout(function() {
parent.t.done()
parent.t.unreached_func('setTimeout survived navigatoin');
}, 1000);
}
if (parent.loaded) {
setTimeout(function() { parent.t.done(); }, 2000);
}
onload = function() {
if (!parent.loaded) {
parent.loaded = true;

View file

@ -2,4 +2,4 @@
<title>Document salvagable state after setting pagehide handler</title>
<script>onpagehide = function() {setTimeout(function(){document.body.innerHTML = "PASS"}, 100)}</script>
<p>Click the link below then navigate back to this page. Shortly after returning you should see the text "PASS"</p>
<p><A href="manual-001-1.html">Click here</a>
<p><a href="pagehide-manual-1.html">Click here</a>