OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 chrome.test.runTests([ |
| 6 function testOpenDatabase() { |
| 7 chrome.test.assertTrue(!window.openDatabase); |
| 8 chrome.test.succeed(); |
| 9 }, |
| 10 |
| 11 function testOpenDatabaseSync() { |
| 12 chrome.test.assertTrue(!window.openDatabaseSync); |
| 13 chrome.test.succeed(); |
| 14 }, |
| 15 |
| 16 function testLocalStorage() { |
| 17 chrome.test.assertTrue(!localStorage); |
| 18 chrome.test.assertTrue(!window.localStorage); |
| 19 chrome.test.succeed(); |
| 20 } |
| 21 ]); |
OLD | NEW |