Chromium Code Reviews| Index: chrome/browser/resources/options/extension_settings.js |
| =================================================================== |
| --- chrome/browser/resources/options/extension_settings.js (revision 99658) |
| +++ chrome/browser/resources/options/extension_settings.js (working copy) |
| @@ -2,6 +2,10 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +// Used for observing function of the backend datasource for this page by |
| +// tests. |
| +var webui_responded_ = false; |
|
Finnur
2011/09/08 11:40:57
The download test uses this (it was in the old chr
|
| + |
| cr.define('options', function() { |
| var OptionsPage = options.OptionsPage; |
| var ExtensionsList = options.ExtensionsList; |
| @@ -143,6 +147,8 @@ |
| * the current state of installed extensions. |
| */ |
| ExtensionSettings.returnExtensionsData = function(extensionsData) { |
| + webui_responded_ = true; |
| + |
| $('no-extensions').hidden = true; |
| $('suggest-gallery').hidden = true; |
| $('get-more-extensions-container').hidden = true; |