Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: dom/base/test/chrome/chrome.toml
<?xml version="1.0"?>
type="text/css"?>
<!--
-->
<!-- test results are displayed in the html:body -->
</body>
<!-- test code goes here -->
<script type="application/javascript"><![CDATA[
var req = new XMLHttpRequest();
req.open("GET", SJS_URL, false);
req.setRequestHeader("Referer", REFERER_URL);
req.send(null);
is(req.responseText,
"Referer: " + REFERER_URL,
"Referer header received by server does not match what was set");
]]></script>
</window>