| Index: chrome/test/data/extensions/browsertest/request_quota_background/background.js
|
| diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js b/chrome/test/data/extensions/browsertest/request_quota_background/background.js
|
| similarity index 55%
|
| copy from chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js
|
| copy to chrome/test/data/extensions/browsertest/request_quota_background/background.js
|
| index 06f93384622109a5632e00492d9f19ae65c7dcce..c9ac05b7fe314df733ac8e1113ddec03a7275639 100644
|
| --- a/chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js
|
| +++ b/chrome/test/data/extensions/browsertest/request_quota_background/background.js
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -chrome.extension.onConnect.addListener(function(port) {
|
| - port.onMessage.addListener(function(msg) {
|
| - chrome.test.notifyPass();
|
| +webkitStorageInfo.requestQuota(PERSISTENT, 1, function() {
|
| + chrome.tabs.getSelected(null, function(tab) {
|
| + chrome.pageAction.show(tab.id);
|
| });
|
| });
|
|
|