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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/secureContexts/127.0.0.1.html

Issue 1373773003: Implement 'window.isSecureContext'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: document. Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>127.0.0.1 is secure</title>
5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharness-helpers.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8 <script src="/resources/get-host-info.js"></script>
9 </head>
10 <body>
11 <script>
12 test(function () {
13 assert_equals(document.location.hostname, "127.0.0.1", "Sanity check the test runner.");
14 assert_true(window.isSecureContext);
15 }, "127.0.0.1 is secure.");
16 </script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698