OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 chrome.test.runTests([ | 5 chrome.test.runTests([ |
6 function testOpenDatabase() { | 6 function testOpenDatabase() { |
7 chrome.test.assertTrue(!window.openDatabase); | 7 chrome.test.assertTrue(!window.openDatabase); |
8 chrome.test.succeed(); | 8 chrome.test.succeed(); |
9 }, | 9 }, |
10 | 10 |
11 function testOpenDatabaseSync() { | 11 function testOpenDatabaseSync() { |
12 chrome.test.assertTrue(!window.openDatabaseSync); | 12 chrome.test.assertTrue(!window.openDatabaseSync); |
13 chrome.test.succeed(); | 13 chrome.test.succeed(); |
14 }, | 14 }, |
15 | 15 |
16 function testLocalStorage() { | 16 function testLocalStorage() { |
17 chrome.test.assertTrue(!window.localStorage); | 17 chrome.test.assertTrue(!window.localStorage); |
18 chrome.test.succeed(); | 18 chrome.test.succeed(); |
19 } | 19 } |
20 ]); | 20 ]); |
OLD | NEW |