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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/fontface-properties.html

Issue 2610593002: Make CSSFontFace::setLoadStatus post a task (Closed)
Patch Set: Add comment Created 3 years, 11 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/FontFace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/fontface-properties.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/fontface-properties.html b/third_party/WebKit/LayoutTests/fast/css/fontface-properties.html
index 4b1437d9d0cc2a3d929c52bfefe2d1e248a8e29d..66ca02c9cac0fb9c46a09f31d11ce2679e12895f 100644
--- a/third_party/WebKit/LayoutTests/fast/css/fontface-properties.html
+++ b/third_party/WebKit/LayoutTests/fast/css/fontface-properties.html
@@ -23,6 +23,7 @@ function getDocumentFontFaces() {
}
function runTests() {
+ window.jsTestIsAsync = true;
ahemFace = getDocumentFontFaces()[0];
shouldBeEqualToString('ahemFace.family', 'Ahem');
shouldBeEqualToString('ahemFace.style', 'italic');
@@ -89,7 +90,7 @@ function runTests() {
debug('FAIL: Expected NetworkError');
}).catch(function(err) {
shouldBeEqualToString('"' + err.message + '"' , 'A network error occurred.');
- });
+ }).then(finishJSTest);
}
if (document.fonts)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/FontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698