blob: e0b8ce607fe536c1b6d3b3488b6486a75a7b063e [file] [log] [blame] [edit]
<!DOCTYPE html> <!-- webkit-test-runner [ IPCTestingAPIEnabled=true IgnoreInvalidMessageWhenIPCTestingAPIEnabled=false ] -->
<title>Test that calling updateQuotaBasedOnSpaceUsageForTesting (which should be blocked behind AllowTestOnlyIPC) kills the calling process if AllowTestOnlyIPC isn't set</title>
<script src="../../resources/ipc.js"></script>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<body>
<script>
testRunner.dumpAsText();
if (window.internals && window.IPC) {
window.internals.updateQuotaBasedOnSpaceUsage();
asyncFlush('Networking').then(() => {
console.log("Should Have Crashed!");
});
} else {
testRunner.notifyDone();
}
</script>
</body>