Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255

This commit is contained in:
James Graham
2015-03-27 09:15:38 +00:00
parent b2a5225831
commit 1a81b18b9f
12321 changed files with 544385 additions and 6 deletions

View File

@@ -0,0 +1,37 @@
<!--
/*
-->
<!doctype html>
<title>navigating</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
var date;
var newDate;
</script>
<iframe></iframe>
<script>
var t = async_test();
var iframe = document.querySelector('iframe');
onload = t.step_func(function() {
iframe.src = "001-1.html?" + Math.random();
});
var start_test = t.step_func(function() {
window[0].document.links[0].click();
});
var after_load = t.step_func(function() {
history.back();
newDate = new Date();
setTimeout(this.step_func(function() {
assert_greater_than(Number(date), Number(newDate));
assert_equals(window[0].document.title, '001-1');
this.done();
}), 500);
});
</script>
<!--
*/
//-->