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

Unified Diff: remoting/webapp/background/app_launcher.js

Issue 468693002: Hangouts remote desktop part III - It2MeService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: remoting/webapp/background/app_launcher.js
diff --git a/remoting/webapp/background/app_launcher.js b/remoting/webapp/background/app_launcher.js
index d1fc57c0318d7dd05c7a427b94415f1f2094b8ab..a85908c3cbdb4f5cd8234517d4931b329caa33be 100644
--- a/remoting/webapp/background/app_launcher.js
+++ b/remoting/webapp/background/app_launcher.js
@@ -61,7 +61,7 @@ remoting.V1AppLauncher.prototype.launch = function(opt_launchArgs) {
if (!tab) {
reject(new Error(chrome.runtime.lastError.message));
} else {
- resolve(tab.id);
+ resolve(String(tab.id));
kelvinp 2014/08/13 00:08:48 tab.id is a number. Casting to string for API con
Jamie 2014/08/13 01:44:52 If both v1 and v2 represent a window/tab using a n
kelvinp 2014/08/13 23:44:09 The window Id returns in v2 is a string. I have r
}
});
});
@@ -116,7 +116,7 @@ remoting.V2AppLauncher.prototype.launch = function(opt_launchArgs) {
if (!appWindow) {
reject(new Error(chrome.runtime.lastError.message));
} else {
- resolve(appWindow.id);
+ resolve(String(appWindow.id));
}
});
});

Powered by Google App Engine
This is Rietveld 408576698