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

Side by Side Diff: LayoutTests/http/tests/security/mixedContent/insecure-prefetch-in-main-frame.html

Issue 768753003: Downgrade the security of a secured page when plugins make insecure calls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Layout test for prefetching from insecure source added Created 6 years 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 | LayoutTests/http/tests/security/mixedContent/insecure-prefetch-in-main-frame-expected.txt » ('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 <body>
4 <p>
5 Prefetching from insecure source must trigger a mixed content callback.
6 </p>
7
8 <link rel="prefetch" href="http://127.0.0.1:8080/resources/square.png" onload=" prefetch_onload()" />
9
10 <script>
11 if (location.protocol != 'https:')
12 location = 'https://127.0.0.1:8443/security/mixedContent/insecure-prefetch-i n-main-frame.html';
13
14 if (window.testRunner) {
15 testRunner.waitUntilDone();
16 testRunner.dumpAsText();
17 }
18
19 function prefetch_onload() {
20 if (window.testRunner)
21 testRunner.notifyDone();
22 }
23 </script>
24 </body>
25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/mixedContent/insecure-prefetch-in-main-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698