Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(233)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php
Issue
2400443004
:
Walk up frame tree for srcdoc referrer policies (Closed)
Patch Set: fix dynamic policy test
Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-srcdoc.html
third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-srcdoc-dynamic-policy.html
third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php
third_party/WebKit/LayoutTests/http/tests/security/resources/referrer-policy-srcdoc.php
third_party/WebKit/Source/core/dom/Document.h
third_party/WebKit/Source/core/dom/Document.cpp
third_party/WebKit/Source/core/dom/ExecutionContext.h
View unified diff
|
Download patch
« no previous file with comments
|
« third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-srcdoc-dynamic-policy.html
('k') |
third_party/WebKit/LayoutTests/http/tests/security/resources/referrer-policy-srcdoc.php »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
1 <?php
1 <?php
2
header("Access-Control-Allow-Origin: *");
2 $referrer = $_SERVER['HTTP_REFERER'];
3 $referrer = $_SERVER['HTTP_REFERER'];
3 if ($referrer == "") {
4 if ($referrer == "") {
4 echo "HTTP Referer header is empty";
5 echo "HTTP Referer header is empty";
5 } else {
6 } else {
6 echo $referrer;
7 echo $referrer;
7 }
8 }
8 ?>
9 ?>
OLD
NEW
« no previous file with comments
|
« third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-srcdoc-dynamic-policy.html
('k') |
third_party/WebKit/LayoutTests/http/tests/security/resources/referrer-policy-srcdoc.php »
('j') |
no next file with comments »
Issue 2400443004: Walk up frame tree for srcdoc referrer policies (Closed)
Created 4 years, 2 months ago by estark
Modified 4 years, 2 months ago
Reviewers: jochen (gone - plz use gerrit)
Base URL:
Comments: 0
This is Rietveld
408576698