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

Side by Side Diff: LayoutTests/http/tests/htmlimports/import-cors-credentials.html

Issue 196043002: HTML Imports: Send credentials for same origin requests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing again with another fix Created 6 years, 9 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 | LayoutTests/http/tests/htmlimports/import-cors-credentials-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 <script src="/js-test-resources/js-test.js"></script>
3 <script>
4 document.cookie = "key=HelloCredentials";
5 </script>
6 <link id="sameOrigin" rel="import" href="resources/cookie-match.cgi?key=HelloCre dentials">
7 <link id="crossOrigin" rel="import" href="http://localhost:8080/htmlimports/reso urces/cookie-match.cgi">
8 <link id="fromSameToCrossOrigin" rel="import" href="resources/having-cookie-matc h-8080.html">
9 <link id="fromCrossToSameOrigin" rel="import" href="http://localhost:8080/htmlim ports/resources/having-cookie-match-same.cgi">
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13
14 shouldBeEqualToString("sameOrigin.import.body.innerHTML", "PASS");
15 shouldBeEqualToString("crossOrigin.import.body.innerHTML", "PASS");
16 shouldBeEqualToString("fromSameToCrossOrigin.import.getElementById('crossOrigin' ).import.body.innerHTML", "PASS");
17 shouldBeEqualToString("fromCrossToSameOrigin.import.getElementById('sameOrigin') .import.body.innerHTML", "PASS");
18 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/htmlimports/import-cors-credentials-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698