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

Side by Side Diff: LayoutTests/http/tests/security/mixedContent/strict-mode-websocket-blocked.https.html

Issue 948853002: Mixed Content: Make strict mode stricter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Feedback Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/loader/MixedContentChecker.cpp » ('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 <html>
3 <head>
4 <meta http-equiv="Content-Security-Policy" content="block-all-mixed-content" >
5 <script src="/js-test-resources/testharness.js"></script>
6 <script src="/js-test-resources/testharnessreport.js"></script>
7 </head>
8 <body>
9 <script>
10 test(function () {
11 assert_throws("SecurityError",
12 function () {
13 new WebSocket("ws://127.0.0.1:8880/echo");
14 });
15 }, "Test that insecure websocket construction throws.");
16 </script>
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698