| Index: chrome/test/data/extensions/api_test/webstore_private/common.js
|
| diff --git a/chrome/test/data/extensions/api_test/webstore_private/common.js b/chrome/test/data/extensions/api_test/webstore_private/common.js
|
| index 8b0deaf139bba70a573cca935b5149b5792cf939..8972e67dd1b7b58c63e3789b6c831e616199446c 100644
|
| --- a/chrome/test/data/extensions/api_test/webstore_private/common.js
|
| +++ b/chrome/test/data/extensions/api_test/webstore_private/common.js
|
| @@ -49,13 +49,15 @@ function getIconData(callback) {
|
| var cachedManifest = null;
|
|
|
| // This returns the string contents of the extension's manifest file.
|
| -function getManifest() {
|
| +function getManifest(alternativePath) {
|
| if (cachedManifest)
|
| return cachedManifest;
|
|
|
| // Do a synchronous XHR to get the manifest.
|
| var xhr = new XMLHttpRequest();
|
| - xhr.open("GET", "extension/manifest.json", false);
|
| + xhr.open("GET",
|
| + alternativePath ? alternativePath : "extension/manifest.json",
|
| + false);
|
| xhr.send(null);
|
| return xhr.responseText;
|
| }
|
|
|