repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1852740: add tests for the `fetchpriority` attribute in Link headers. r=necko...
[gecko.git]
/
dom
/
base
/
test
/
referrer_header.sjs
blob
29c324b8f64db1e963c5d6d01cb039b485284947
1
function handleRequest(request, response) {
2
response.setHeader("Referrer-Policy", "same-origin");
3
response.write(
4
'<!DOCTYPE HTML><html><body>Loaded</body><script>parent.postMessage(document.referrer, "*");</script></html>'
5
);
6
}