mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 4052654d786236b493d2df3cb80b9d3d1d0a8354
This commit is contained in:
parent
eab848df3e
commit
3b6ddd885a
116 changed files with 4255 additions and 821 deletions
|
@ -0,0 +1,7 @@
|
|||
<script>
|
||||
onload = opener.t.step_func_done(function() {
|
||||
document.write("<body>Filler Text<div id='log'></div>");
|
||||
opener.assert_equals(document.body.textContent, "Filler Text");
|
||||
});
|
||||
</script>
|
||||
<body>FAIL
|
|
@ -1,15 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>document.write</title>
|
||||
<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
var t = async_test();
|
||||
onload = function() {
|
||||
t.step(function() {
|
||||
document.write("<body>Filler Text<div id='log'></div>");
|
||||
assert_equals(document.body.textContent, "Filler Text");
|
||||
});
|
||||
t.done();
|
||||
};
|
||||
var win;
|
||||
var t = async_test(() => {
|
||||
win = window.open("047-1.html");
|
||||
});
|
||||
t.add_cleanup(() => win.close());
|
||||
</script>
|
||||
<body>FAIL
|
||||
<div id="log"></div>
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
<!doctype html>
|
||||
<title>document.write</title>
|
||||
<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
var t = async_test();
|
||||
onload = function() {
|
||||
t.step(function() {
|
||||
document.write("<body>Filler Text<div id='log'></div>");
|
||||
assert_equals(document.body.textContent, "Filler Text");
|
||||
});
|
||||
t.done();
|
||||
};
|
||||
</script>
|
||||
<body>FAIL
|
||||
<div id="log"></div>
|
Loading…
Add table
Add a link
Reference in a new issue