Chromium Code Reviews| 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 webkitStorageInfo.requestQuota(PERSISTENT, 1, pass, fail); | |
| 6 | |
| 7 function pass() { | |
| 8 console.log("PASS"); | |
| 9 if (window.chrome && chrome.test && chrome.test.succeed) | |
| 10 chrome.test.succeed(); | |
| 11 } | |
| 12 | |
| 13 function fail() { | |
| 14 console.log("FAIL"); | |
| 15 if (window.chrome && chrome.test && chrome.test.fail) | |
| 16 chrome.test.fail(); | |
| 17 } | |
| OLD | NEW |