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

Side by Side Diff: chrome/test/data/extensions/uitest/roundtrip_api_call/test.html

Issue 173034: Validation of extension api callback and event parameters in DEBUG (Closed)
Patch Set: build docs Created 11 years, 4 months 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 unified diff | Download patch
« no previous file with comments | « chrome/test/data/extensions/samples/tabs/manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 HOWDIE!!! 1 HOWDIE!!!
2 2
3 <script type="text/javascript"> 3 <script type="text/javascript">
4 function getLastFocusedCallback(num) { 4 function getSelectedCallback(tab) {
5 chrome.tabs.remove(num); 5 chrome.tabs.remove(tab.id);
6 } 6 }
7 7
8 chrome.windows.getLastFocused(getLastFocusedCallback); 8 chrome.tabs.getSelected(undefined, getSelectedCallback);
9 </script> 9 </script>
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/samples/tabs/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698