mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572
This commit is contained in:
parent
0d236288cc
commit
c66c6af0ba
1067 changed files with 63768 additions and 10900 deletions
|
@ -13,23 +13,22 @@ var newDate;
|
|||
</script>
|
||||
<iframe></iframe>
|
||||
<script>
|
||||
var t = async_test();
|
||||
var iframe = document.querySelector('iframe');
|
||||
onload = t.step_func(function() {
|
||||
onload = function() {
|
||||
iframe.src = "001-1.html?" + Math.random();
|
||||
});
|
||||
var start_test = t.step_func(function() {
|
||||
};
|
||||
var start_test = function() {
|
||||
window[0].document.links[0].click();
|
||||
});
|
||||
var after_load = t.step_func(function() {
|
||||
};
|
||||
var after_load = function() {
|
||||
history.back();
|
||||
newDate = new Date();
|
||||
setTimeout(this.step_func(function() {
|
||||
setTimeout(function() {
|
||||
assert_greater_than(Number(date), Number(newDate));
|
||||
assert_equals(window[0].document.title, '001-1');
|
||||
this.done();
|
||||
}), 500);
|
||||
});
|
||||
done();
|
||||
}, 2000);
|
||||
};
|
||||
</script>
|
||||
<!--
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue