mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision f26f3ca338953d0c2e8b62c97623f0f0eea430be
This commit is contained in:
parent
62ff032130
commit
3033b05605
32 changed files with 636 additions and 132 deletions
|
@ -0,0 +1,17 @@
|
|||
<body>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
async_test(t => {
|
||||
window.onload = t.step_func_done(() => assert_equals(i.contentDocument.body.innerText, "PASS"));
|
||||
|
||||
var i = document.createElement('iframe');
|
||||
i.id ='i';
|
||||
i.src = "javascript:'FAIL'";
|
||||
document.body.appendChild(i);
|
||||
i.contentDocument.open();
|
||||
i.contentDocument.write("PASS")
|
||||
i.contentDocument.close();
|
||||
});
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue