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.
5 function assertContains(string, substring, error) {
6 chrome.test.assertTrue(string.indexOf(substring) != -1, error);
10 function testOpenDatabase() {
11 chrome.test.assertTrue(!window.openDatabase);
12 chrome.test.succeed();
15 function testOpenDatabaseSync() {
16 chrome.test.assertTrue(!window.openDatabaseSync);
17 chrome.test.succeed();
20 function testLocalStorage() {
21 chrome.test.assertTrue(!window.localStorage);
22 chrome.test.succeed();