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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialsconstainer-securecontext.html

Issue 2634923003: Use SecureContext attribute for IDL of Credential Mgmt API
Patch Set: Added comment Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-frame-errors.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Credential Manager: PasswordCredential SecureContext.</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script src="/serviceworker/resources/interfaces.js"></script>
6 <script>
7 if (window.location.hostname == "127.0.0.1") {
8 window.location = "http://example.test:8000/credentialmanager/credentialscon stainer-securecontext.html";
9 } else {
10 // After redirect, we are in an insecure context, so navigator.credentials
11 // should be unavailable.
12 test(function () {
13 assert_equals(undefined, navigator.credentials);
14 }, 'CredentialsContainer unavailable in insecure context');
15 }
16 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-frame-errors.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698