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

Side by Side Diff: LayoutTests/http/tests/fetch/window/thorough/cookie-other-https.html

Issue 1314123002: Remove hard-coded origins in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ?pipe=sub and make test first parameter. Created 5 years, 3 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
1 <!doctype html> 1 <!doctype html>
2 <head> 2 <head>
3 <meta name="timeout" content="long"></meta> 3 <meta name="timeout" content="long"></meta>
4 <script src = "/resources/testharness.js"></script> 4 <script src = "/resources/testharness.js"></script>
5 <script src = "/resources/testharness-helpers.js"></script> 5 <script src = "/resources/testharness-helpers.js"></script>
6 <script src = "/resources/testharnessreport.js"></script> 6 <script src = "/resources/testharnessreport.js"></script>
7 <script src = "/resources/get-host-info.js?pipe=sub"></script>
7 <script src = "/serviceworker/resources/test-helpers.js"></script> 8 <script src = "/serviceworker/resources/test-helpers.js"></script>
8 <script src = "/fetch/resources/fetch-test-options.js"></script> 9 <script src = "/fetch/resources/fetch-test-options.js"></script>
9 <script src = "/fetch/resources/fetch-test-helpers.js"></script> 10 <script src = "/fetch/resources/fetch-test-helpers.js"></script>
10 <script src = "/fetch/resources/thorough-util.js"></script> 11 <script src = "/fetch/resources/thorough-util.js"></script>
11 <script src = "/fetch/script-tests/thorough/cookie.js?-other-https"></script> 12 <script src = "/fetch/script-tests/thorough/cookie.js?-other-https"></script>
12 </head> 13 </head>
13 <body> 14 <body>
14 <script> 15 <script>
16 var host_info = get_host_info();
15 function start(t) { 17 function start(t) {
16 executeTests(TEST_TARGETS); 18 executeTests(TEST_TARGETS);
17 t.done(); 19 t.done();
18 } 20 }
19 function init(test) { 21 function init(test) {
20 return login(test) 22 return login(test, host_info['HTTP_ORIGIN'], host_info['HTTP_REMOTE_ORIGIN'])
21 .then(function() {return login_https(test);}); 23 .then(function() {
24 return login(test, host_info['HTTPS_ORIGIN'],
25 host_info['HTTPS_REMOTE_ORIGIN']);
26 });
22 } 27 }
23 </script> 28 </script>
24 <script src = "/fetch/resources/init.js"></script> 29 <script src = "/fetch/resources/init.js"></script>
25 </body> 30 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698