| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // experimental.inputUI API test for Chrome | 5 // experimental.input.ui API test for Chrome |
| 6 // browser_tests --gtest_filter=ExtensionApiTest.InputUI | 6 // browser_tests --gtest_filter=ExtensionApiTest.InputUI |
| 7 | 7 |
| 8 chrome.test.runTests([ | 8 chrome.test.runTests([ |
| 9 function inputUINotExist() { | 9 function inputUINotExist() { |
| 10 if (!chrome.experimental.inputUI) { | 10 if (!chrome.experimental.input.ui) { |
| 11 chrome.test.succeed(); | 11 chrome.test.succeed(); |
| 12 } else { | 12 } else { |
| 13 chrome.test.fail(); | 13 chrome.test.fail(); |
| 14 } | 14 } |
| 15 } | 15 } |
| 16 ]); | 16 ]); |
| OLD | NEW |