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

Unified Diff: chrome/test/data/extensions/api_test/identity/test.js

Issue 10178020: Start implementing an auth flow for platform apps to be able to do auth (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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: chrome/test/data/extensions/api_test/identity/test.js
===================================================================
--- chrome/test/data/extensions/api_test/identity/test.js (revision 134959)
+++ chrome/test/data/extensions/api_test/identity/test.js (working copy)
@@ -10,5 +10,13 @@
chrome.experimental.identity.getAuthToken(pass(function(token) {
assertEq("auth_token", token);
}));
+ },
+
+ function launchAuthFlow() {
+ chrome.experimental.identity.launchAuthFlow(
+ {url: "https://some/url"},
Mihai Parparita -not on Chrome 2012/05/04 22:37:18 This test won't actually work right now, right? Y
+ pass(function(responseUrl) {
+ assertEq("https://test/url", responseUrl);
+ }));
}
]);

Powered by Google App Engine
This is Rietveld 408576698