| Index: chrome/test/data/extensions/platform_apps/storage/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/storage/test.js b/chrome/test/data/extensions/platform_apps/storage/test.js
|
| index 34efdca3e2aefc3514fd88d34fa299bb179e2641..16d2d4157301baea19f3fa99111eb05b38ee3d68 100644
|
| --- a/chrome/test/data/extensions/platform_apps/storage/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/storage/test.js
|
| @@ -18,15 +18,7 @@ chrome.test.runTests([
|
| },
|
|
|
| function testLocalStorage() {
|
| - try {
|
| - window.localStorage;
|
| - chrome.test.fail('error not thrown');
|
| - } catch (e) {
|
| - var message = e.message || e;
|
| - var expected = 'is not available in packaged apps. ' +
|
| - 'Use chrome.storage.local instead.';
|
| - assertContains(message, expected, 'Unexpected message ' + message);
|
| - chrome.test.succeed();
|
| - }
|
| + chrome.test.assertTrue(!window.localStorage);
|
| + chrome.test.succeed();
|
| }
|
| ]);
|
|
|