Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed __not_a_font__.

  • Loading branch information...
commit 11c2360940626d34768df2cc76bc2df38ab579ca 1 parent 0e771df
@jeremiele jeremiele authored
View
6 src-test/core/fontwatchrunnertest.js
@@ -208,7 +208,7 @@ FontWatchRunnerTest.prototype.testDomWithNotDefaultTestString = function() {
FontWatchRunnerTest.prototype.testLastResortFontIgnored = function() {
var userAgent = new webfont.UserAgent('Chrome', '16.0.912.36', 'AppleWebKit',
'531.9', 'Macintosh', '10.6', undefined, true);
- var lastResortFontsCount = 12;
+ var lastResortFontsCount = 11;
var originalSizeCount = 2;
var firstSize = 2;
var secondSize = 2;
@@ -252,7 +252,7 @@ FontWatchRunnerTest.prototype.testLastResortFontActiveWhenSizeMatch
this.timesToGetTimeBeforeTimeout_ = 3;
var userAgent = new webfont.UserAgent('Chrome', '16.0.912.36', 'AppleWebKit',
'531.9', 'Macintosh', '10.6', undefined, true);
- var lastResortFontsCount = 12;
+ var lastResortFontsCount = 11;
var originalSizeCount = 2;
var firstSize = 2;
@@ -286,7 +286,7 @@ FontWatchRunnerTest.prototype.testLastResortFontInactiveWhenSizeNoMatch
this.timesToGetTimeBeforeTimeout_ = 3;
var userAgent = new webfont.UserAgent('Chrome', '16.0.912.36', 'AppleWebKit',
'531.9', 'Macintosh', '10.6', undefined, true);
- var lastResortFontsCount = 12;
+ var lastResortFontsCount = 11;
var originalSizeCount = 2;
var firstSize = 2;
var secondSize = 2;
View
2  src/core/fontwatchrunner.js
@@ -81,7 +81,7 @@ webfont.FontWatchRunner.DEFAULT_TEST_STRING = 'BESs';
* OS/browsers values.
*/
webfont.FontWatchRunner.prototype.setUpWebKitLastResortFontSizes_ = function() {
- var lastResortFonts = ["__not_a_font__", "'Times New Roman'",
+ var lastResortFonts = ["'Times New Roman'",
"'Lucida Sans Unicode'", "'Courier New'", "Tahoma", "Arial",
"'Microsoft Sans Serif'", "Times", "'Lucida Console'", "Sans", "Serif",
"Monospace"];
Please sign in to comment.
Something went wrong with that request. Please try again.