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

Unified Diff: LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html

Issue 1217463002: Remove the notifyFailedSignedIn callback from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html b/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
deleted file mode 100644
index be993e5542643db37137797c50e9eabdf24c9c1c..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<title>Credential Manager: notifyFailedSignIn() basics.</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script>
-function stubResolverChecker(c) {
- assert_equals(c, undefined, "FIXME: We're currently always returning 'undefined'.");
- this.done();
-}
-
-function stubRejectionChecker(reason) {
- assert_unreached("notifyFailedSignIn() should not reject, but did: " + reason);
-}
-
-var local = new PasswordCredential('id', 'pencil', 'name', 'https://example.com/avatar.png');
-var federated = new FederatedCredential({
- 'id': 'id',
- 'provider': 'https://federation.test/',
- 'name': 'name',
- 'iconURL': 'https://example.test/icon.png'
-});
-
-async_test(function () {
- navigator.credentials.notifyFailedSignIn().then(
- this.step_func(function () { assert_unreached("notifyFailedSignIn() should reject."); }),
- this.step_func(function (reason) {
- assert_equals(reason.name, "TypeError");
- this.done();
- }));
-}, "Verify the basics of notifyFailedSignIn(): PasswordCredential.");
-
-async_test(function () {
- navigator.credentials.notifyFailedSignIn(local).then(
- this.step_func(stubResolverChecker.bind(this)),
- this.step_func(stubRejectionChecker.bind(this)));
-}, "Verify the basics of notifyFailedSignIn(): PasswordCredential.");
-
-async_test(function () {
- navigator.credentials.notifyFailedSignIn(federated).then(
- this.step_func(stubResolverChecker.bind(this)),
- this.step_func(stubRejectionChecker.bind(this)));
-}, "Verify the basics of notifyFailedSignIn(): FederatedCredential.");
-</script>
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698