Bug 1534681 Use ReferrerInfo class in document: update code after merge conflict. a=merge-conflict CLOSED TREE

This commit is contained in:
Sebastian Hengst 2019-06-06 15:11:08 +02:00
parent fdbd67ec21
commit 3fd5f70fa8

View File

@ -31,7 +31,7 @@
`<script src = "${BASE}/common/security-features/resources/common.js"></sc` + `ript>
<script src = "${BASE}/referrer-policy/generic/referrer-policy-test-case.js"></sc` + `ript>
<script>
var urlPath = "/referrer-policy/generic/subresource/xhr.py";
var urlPath = "/common/security-features/subresource/xhr.py";
var url = "${BASE}" + urlPath;
requestViaXhr(url).then((msg) => {
window.top.postMessage({referrer: msg.referrer}, "*")})