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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-scope1.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-scope1.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-scope1.php
deleted file mode 100644
index 39a9fab8a940fb8284a8d40dfdd273821bf372b9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigation-redirect-scope1.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-if (isset($_GET['url'])) {
- header("HTTP/1.1 302");
- $url = $_GET['url'];
- header("Location: $url");
- exit;
-}
-if (isset($_GET['noLocationRedirect'])) {
- header("HTTP/1.1 302");
-}
-?>
-<!DOCTYPE html>
-<script>
- window.parent.postMessage(
- {
- id: 'last_url',
- result: location.href
- }, '*');
-</script>

Powered by Google App Engine
This is Rietveld 408576698