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

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-iframe.html

Issue 1314123002: Remove hard-coded origins in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 <link id="same" rel="import" href="http://127.0.0.1:8000/dummy-dir/same.html"> 1 <script src="../../resources/get-host-info.js"></script>
2 <link id="other" rel="import" href="http://localhost:8000/dummy-dir/other.html"> 2 <script type="text/javascript">
3 var hostInfo = get_host_info();
4 var makeLink = function(id, url) {
5 var link = document.createElement('link');
6 link.rel = 'import'
7 link.id = id;
8 link.href = url;
9 document.documentElement.appendChild(link);
10 };
11 makeLink('same', hostInfo.HTTP_ORIGIN + '/dummy-dir/same.html');
12 makeLink('other', hostInfo.HTTP_REMOTE_ORIGIN + '/dummy-dir/other.html');
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698