Index: LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html |
diff --git a/LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html b/LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html |
index 68ca3ac062f3956c1c74964cee0a30bd040ddb86..7200c91ad5cbf28d88dbd0e5de66785b76382eb2 100644 |
--- a/LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html |
+++ b/LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html |
@@ -15,7 +15,7 @@ if (window.testRunner) |
var entry; |
if (location.hash == '#check') { |
- document.fonts.ready().then(function() { |
+ document.fonts.ready.then(function() { |
setTimeout(function() { |
entry = performance.getEntriesByName('http://localhost:8080/css/resources/cors-ahem.php')[0]; |
shouldBeTrue('entry.domainLookupStart > 0'); |
@@ -24,7 +24,7 @@ if (location.hash == '#check') { |
}, 10); |
}); |
} else { |
- document.fonts.ready().then(function() { |
+ document.fonts.ready.then(function() { |
setTimeout(function() { |
location.hash = 'check'; |
location.reload(); |