| Index: chrome/test/data/extensions/uitest/window_open/newtab.html
|
| diff --git a/chrome/test/data/extensions/uitest/window_open/newtab.html b/chrome/test/data/extensions/uitest/window_open/newtab.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8fb5b960f76868324209db89a1c99bf70c142b6b
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/uitest/window_open/newtab.html
|
| @@ -0,0 +1,12 @@
|
| +<script>
|
| +function testExtensionApi() {
|
| + try {
|
| + chrome.tabs.getAllInWindow(null, function() {
|
| + window.domAutomationController.send(
|
| + !chrome.extension.lastError);
|
| + });
|
| + } catch (e) {
|
| + window.domAutomationController.send(false);
|
| + }
|
| +}
|
| +</script>
|
|
|