Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb

This commit is contained in:
WPT Sync Bot 2019-03-28 22:09:18 -04:00
parent fcd6beb608
commit cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions

View file

@ -51,7 +51,6 @@ A_08_02_03_T01.step(function () {
iframe.src = '../../resources/blank.html';
iframe.setAttribute('name', 'targetIframe');
d.body.appendChild(iframe);
// create form
var form = d.createElement('form');
@ -77,11 +76,13 @@ A_08_02_03_T01.step(function () {
input2.setAttribute('value', 'value2');
s.appendChild(input2);
// submit the form
form.submit();
// set timeout to give the iframe time to load content
setTimeout(checkIframeContent, 2000);
// Wait for the first 'load' event for blank.html.
iframe.onload = A_08_02_03_T01.step_func(() => {
// Wait for the second 'load' event for the submission.
iframe.onload = checkIframeContent;
form.submit();
});
d.body.appendChild(iframe);
});
</script>
</body>