| Index: chrome/test/data/extensions/api_test/font_settings/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/font_settings/test.js b/chrome/test/data/extensions/api_test/font_settings/test.js
|
| index 4ee4cd5aa953b17343eefe0fa4493ce6708eaf72..9e5ce308da3acb1a9672d962acb550cf03dd6aa3 100644
|
| --- a/chrome/test/data/extensions/api_test/font_settings/test.js
|
| +++ b/chrome/test/data/extensions/api_test/font_settings/test.js
|
| @@ -58,6 +58,7 @@ chrome.test.runTests([
|
| chrome.test.assertEq({
|
| genericFamily: genericFamily,
|
| fontName: fontName,
|
| + script: 'Zyyy',
|
| levelOfControl: 'controlled_by_this_extension'
|
| }, details);
|
| });
|
| @@ -83,7 +84,7 @@ chrome.test.runTests([
|
| 'fontName and localizedName properties.';
|
| fs.getFontList(chrome.test.callbackPass(function(value) {
|
| chrome.test.assertTrue(value.length > 0,
|
| - "Font list is not expected to be empty.");
|
| + 'Font list is not expected to be empty.');
|
| chrome.test.assertEq('string', typeof(value[0].fontName), message);
|
| chrome.test.assertEq('string', typeof(value[0].localizedName), message);
|
| }));
|
| @@ -200,11 +201,13 @@ chrome.test.runTests([
|
| // This test may fail on Windows if the font is not installed on the
|
| // system. See crbug.com/122303
|
| function clearGlobalFont() {
|
| + var script = 'Zyyy';
|
| var genericFamily = 'sansserif';
|
| var fontName = 'Arial';
|
|
|
| chrome.test.listenOnce(fs.onFontChanged, function(details) {
|
| chrome.test.assertEq({
|
| + script: script,
|
| genericFamily: genericFamily,
|
| fontName: fontName,
|
| levelOfControl: CONTROLLABLE_BY_THIS_EXTENSION
|
|
|