mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -19,7 +19,7 @@ var didOpen = false;
|
|||
|
||||
function onload_test() {
|
||||
if (!didOpen) {
|
||||
setTimeout(testTimingWithDocumentOpen, 0);
|
||||
step_timeout(testTimingWithDocumentOpen, 0);
|
||||
didOpen = true;
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ function testTimingWithDocumentOpen() {
|
|||
subdocument.write('</html>');
|
||||
subdocument.close();
|
||||
|
||||
setTimeout(function() {
|
||||
step_timeout(function() {
|
||||
var timing = subcontentWindow.performance.timing;
|
||||
for (var i in timingAttributes) {
|
||||
test_equals(timing[timingAttributes[i]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue