Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698