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

Unified Diff: LayoutTests/http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php

Issue 14632007: Add loadedNonEmptyDocument flag in iframe for Resource Timing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Satisfy lighttpd on windows, and handle overlap timestamps Created 7 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: LayoutTests/http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php
diff --git a/LayoutTests/http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php b/LayoutTests/http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php
index ffc931359a2651d3c02650197b00ed9580f732ea..8d65da7bd636c4cb525cd02e73a19daad5012169 100644
--- a/LayoutTests/http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php
+++ b/LayoutTests/http/tests/w3c/webperf/resources/blank_page_green_with_allow_timing.php
@@ -1,12 +1,12 @@
+<?php
+ $origin = $_GET["origin"] ? $_GET["origin"] : "";
+ header("timing-allow-origin: $origin");
+?>
<!DOCTYPE HTML>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Green Test Page</title>
- <?php
- $origin = $_GET["origin"] ? $_GET["origin"] : "";
- header("timing-allow-origin: $origin");
- ?>
</head>
<body style="background-color:#00FF00;">
<h1>Placeholder</h1>
« no previous file with comments | « no previous file | LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_cross_origin_resource_request-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698