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

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

Issue 11186036: Implement size and position support for launchWebAuthFlow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 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/test/data/extensions/api_test/identity/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/api_test/identity/test.js
diff --git a/chrome/test/data/extensions/api_test/identity/test.js b/chrome/test/data/extensions/api_test/identity/test.js
deleted file mode 100644
index adb3fd9a21f75c0fa7365b92c8bd29912382a49e..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/identity/test.js
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-var assertEq = chrome.test.assertEq;
-var pass = chrome.test.callbackPass;
-
-chrome.test.runTests([
- function getAuthToken() {
- 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/test/data/extensions/api_test/identity/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698