Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: chrome/test/data/extensions/uitest/roundtrip_api_call/test.html

Issue 366025: Modifying extension automation so that it is done through a particular... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « chrome/test/data/extensions/uitest/roundtrip_api_call/manifest.json ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698