mirror of
https://github.com/servo/servo.git
synced 2025-08-25 15:18:22 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue