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

Unified Diff: LayoutTests/fast/css/fontfaceset-events.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/fast/css/fontfaceset-events.html
diff --git a/LayoutTests/fast/css/fontfaceset-events.html b/LayoutTests/fast/css/fontfaceset-events.html
index dc35c5a2cd49caf8955597ad578313740745560f..0cc7089ee6d40556ba7b78da7f47ac0325b01305 100644
--- a/LayoutTests/fast/css/fontfaceset-events.html
+++ b/LayoutTests/fast/css/fontfaceset-events.html
@@ -26,7 +26,7 @@ function runTests() {
document.fonts.onloadingdone = handleEvent;
document.fonts.onloadingerror = handleEvent;
- document.fonts.ready().then(function() {
+ document.fonts.ready.then(function() {
shouldBe('numberOfEvents', '2');
finishJSTest();
});
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-download-error-expected.txt ('k') | LayoutTests/fast/css/fontfaceset-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698