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

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, 7 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/common/extensions/api/experimental_identity.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/api_test/identity/test.js
===================================================================
--- chrome/test/data/extensions/api_test/identity/test.js (revision 137883)
+++ 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.launchWebAuthFlow(
+ {url: "https://some/url"},
+ pass(function(url) {
+ assertEq("https://abcd.chromiumapp.org/cb#access_token=tok", url);
+ }));
}
]);
« no previous file with comments | « chrome/common/extensions/api/experimental_identity.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698