| Index: chrome/test/data/extensions/api_test/permissions/enabled/background.js
|
| diff --git a/chrome/test/data/extensions/api_test/permissions/enabled/background.js b/chrome/test/data/extensions/api_test/permissions/enabled/background.js
|
| index 86a1fd9cb0f55ea564ffec6845c795358ece9288..b4dd2146b701ab3ee2e3774835d47618f4e3378c 100644
|
| --- a/chrome/test/data/extensions/api_test/permissions/enabled/background.js
|
| +++ b/chrome/test/data/extensions/api_test/permissions/enabled/background.js
|
| @@ -8,6 +8,20 @@
|
| var pass = chrome.test.callbackPass;
|
|
|
| chrome.test.runTests([
|
| + function experimental() {
|
| + // Test that use of an experimental API works.
|
| + // If/when chrome.experimental.accessibility is moved out of
|
| + // experimental, this test needs to be updated.
|
| + chrome.tabs.getSelected(null, function(tab) {
|
| + try {
|
| + chrome.experimental.accessibility.getAlertsForTab(
|
| + tab.id, pass(function(alerts) {}));
|
| + } catch (e) {
|
| + chrome.test.fail();
|
| + }
|
| + });
|
| + },
|
| +
|
| function history() {
|
| try {
|
| var query = { 'text': '', 'maxResults': 1 };
|
|
|