Index: chrome/test/data/extensions/uitest/roundtrip_api_call/test.html |
=================================================================== |
--- chrome/test/data/extensions/uitest/roundtrip_api_call/test.html (revision 31172) |
+++ chrome/test/data/extensions/uitest/roundtrip_api_call/test.html (working copy) |
@@ -1,9 +1,8 @@ |
HOWDIE!!! |
<script type="text/javascript"> |
- function getSelectedCallback(tab) { |
- chrome.tabs.remove(tab.id); |
- } |
- |
- chrome.tabs.getSelected(undefined, getSelectedCallback); |
+// Do things in the background page to test that API call |
+// routing works from extension views not directly |
+// attached to the automation client. |
+chrome.extension.getBackgroundPage().doStuff(); |
</script> |
Property changes on: chrome\test\data\extensions\uitest\roundtrip_api_call\test.html |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |