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

Unified Diff: chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html

Issue 339041: Rename getTabContentses to getExtensionTabs. (Closed)
Patch Set: Update docs Created 11 years, 2 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/renderer/resources/extension_process_bindings.js ('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/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
diff --git a/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html b/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
index 8fb82aa1143bd6de51fc6f9396604e8189174020..da7cdaeb13715025b7de41df34b46c4ed4d5e7d5 100644
--- a/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
+++ b/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/toolstrip1.html
@@ -39,12 +39,16 @@ function testgetBackgroundPageAPI() {
}
// This function is called from the C++ browser test. It tests the
-// getTabContentses function to make sure it can be used as an extension API.
-// This will pass if getTabContentses returns tabcontent view.
-function testgetTabContentsesAPI() {
- var views = chrome.extension.getTabContentses();
+// getExtensionTabs function to make sure it can be used as an extension API.
+// This will pass if getExtensionTabs returns tabcontent view.
+function testgetExtensionTabsAPI() {
+ var views = chrome.extension.getExtensionTabs();
+ // getTabContentses is here for backwards compatibility
+ var views2 = chrome.extension.getTabContentses();
window.domAutomationController.send(views.length == 1 &&
- views[0].isTabContents == 1);
+ views[0].isTabContents == 1 &&
+ views2.length == 1 &&
+ views2[0].isTabContents == 1);
}
</script>
« no previous file with comments | « chrome/renderer/resources/extension_process_bindings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698