[MacViews] Show comboboxes with a native NSMenu
[chromium-blink-merge.git] / chrome / test / data / session_restore / common.js
blobcea116c52b3f08c93fcb96835d28bbe984b9285a
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 runTest() {
6 var old_value = readData();
7 if (!writeData())
8 return 'ERROR_WRITE_FAILED';
9 var new_value = readData();
10 if (new_value == '')
11 return 'ERROR_EMPTY';
12 if (old_value === new_value)
13 return 'PASS';
14 return 'STORING';
17 function onLoad() {
18 document.title = runTest();