blob: 4a75db75eea14ee371c5ed2665bec5796eb7423c [file] [edit]
<!DOCTYPE html> <!-- webkit-test-runner [ IPCTestingAPIEnabled=true IgnoreInvalidMessageWhenIPCTestingAPIEnabled=false ] -->
<title>Test that calling a message 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.IPC) {
IPC.sendMessage('GPU', 0, IPC.messages.RemoteAudioSessionProxy_TriggerBeginInterruptionForTesting.name, [] );
asyncFlush('GPU').then(() => {
console.log("Should have crashed!");
});
} else {
testRunner.notifyDone();
}
</script>
</body>