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

Unified Diff: LayoutTests/fast/css/fontface-methods.html

Issue 300683011: Fix potential flakiness of fast/css/fontface-methods.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/fontface-methods.html
diff --git a/LayoutTests/fast/css/fontface-methods.html b/LayoutTests/fast/css/fontface-methods.html
index 0a069a37dee2c162ec67caeb7b718e97713a9bc0..0c0fdcde7a18f7d6f40a9cdb62a0cf02c1135529 100644
--- a/LayoutTests/fast/css/fontface-methods.html
+++ b/LayoutTests/fast/css/fontface-methods.html
@@ -4,7 +4,7 @@
<style>
@font-face {
font-family: Font1;
- src: url(../../resources/Ahem.ttf);
+ src: url(../../resources/Ahem.ttf?font1);
}
@font-face {
@@ -51,7 +51,7 @@ function testStep2() {
function testStep3() {
shouldBeEqualToString('face2.status', 'error');
- face3 = new FontFace('Font3', 'url(../../resources/Ahem.ttf)', {});
+ face3 = new FontFace('Font3', 'url(../../resources/Ahem.ttf?font3)', {});
shouldBeEqualToString('face3.status', 'unloaded');
face3.load();
shouldBeEqualToString('face3.status', 'loading');
@@ -71,7 +71,7 @@ function testStep4() {
function testStep5() {
shouldBeEqualToString('face4.status', 'error');
- face5 = new FontFace('Font5', 'url(data:font/truetype;base64,), url(../../resources/Ahem.ttf)', {});
+ face5 = new FontFace('Font5', 'url(data:font/truetype;base64,), url(../../resources/Ahem.ttf?font5)', {});
shouldBeEqualToString('face5.status', 'unloaded');
face5.load().then(testStep6, fail('face5.load() rejected'));
shouldBeEqualToString('face5.status', 'loading');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698