blob: cbe19509c56dddac046f6da75d440ea9f5e5d2c8 [file] [log] [blame]
<!-- webkit-test-runner [ enablePageCache=true ] -->
<!DOCTYPE html>
<html>
<head>
<script src="/common/utils.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script>
const RESOURCES_DIR = "/beacon/resources/";
var id = self.token();
</script>
</head>
<body>
<script>
onpagehide = function() {
const testUrl = RESOURCES_DIR + "content-type.py?cmd=put&id=" + id;
navigator.sendBeacon(testUrl, "test");
}
</script>
</body>
</html>