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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php

Issue 2808753003: Carve out an exception for embedded credentials in XHR. (Closed)
Patch Set: Rebaseline. Created 3 years, 8 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/fetch-access-control.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
index 28ca451320423273d267645663febccab8e8f5c5..758a2e6293762c48e268cf08765eecf5e4f59a23 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
@@ -104,12 +104,6 @@ foreach ($_FILES as $key => $file) {
'content' => $content);
}
-if (isset($_GET['WINDOW'])) {
- header('Content-Type: text/html');
- echo "<!DOCTYPE html><script>window.opener.postMessage('Loaded', '*');</script>";
- exit;
-}
-
header('Content-Type: application/json');
$arr = array('jsonpResult' => 'success',
'method' => $_SERVER['REQUEST_METHOD'],

Powered by Google App Engine
This is Rietveld 408576698