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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-scope1.php

Issue 2872363002: Upstream service worker navigation tests to WPT (Closed)
Patch Set: Created 3 years, 7 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
(Empty)
1 <?php
2 if (isset($_GET['url'])) {
3 header("HTTP/1.1 302");
4 $url = $_GET['url'];
5 header("Location: $url");
6 exit;
7 }
8 if (isset($_GET['noLocationRedirect'])) {
9 header("HTTP/1.1 302");
10 }
11 ?>
12 <!DOCTYPE html>
13 <script>
14 window.parent.postMessage(
15 {
16 id: 'last_url',
17 result: location.href
18 }, '*');
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698