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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/samples/tabs/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/uitest/roundtrip_api_call/test.html
diff --git a/chrome/test/data/extensions/uitest/roundtrip_api_call/test.html b/chrome/test/data/extensions/uitest/roundtrip_api_call/test.html
index 54d2ff3eab621d0db836cd1ff61d6e043976e29c..a81b9a2e6e1fc427418825d5b8d828311dae7fc7 100644
--- a/chrome/test/data/extensions/uitest/roundtrip_api_call/test.html
+++ b/chrome/test/data/extensions/uitest/roundtrip_api_call/test.html
@@ -1,9 +1,9 @@
HOWDIE!!!
<script type="text/javascript">
- function getLastFocusedCallback(num) {
- chrome.tabs.remove(num);
+ function getSelectedCallback(tab) {
+ chrome.tabs.remove(tab.id);
}
- chrome.windows.getLastFocused(getLastFocusedCallback);
+ chrome.tabs.getSelected(undefined, getSelectedCallback);
</script>
« 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