Files
chip 51d043209b integration tests related to recent security advisory (#9983)
* test if an uninitialized iframe can call the ipc

* test that calls without __TAURI_INVOKE_KEY__ fail

* fix cargo manifest newline change

* add comment to help unknown error message changes

* license headers

* add identifier and icons to config

* fix clippy error

* Create change-pr-9983.md

* add tag to changefile

* rename changefile
2024-07-23 11:23:29 +09:00

18 lines
381 B
HTML

<script>
const exit = (code) => window.__TAURI_INVOKE__('exit', { code })
window.addEventListener('message', ({ data }) => {
console.log(data)
switch (data) {
case 'undefined':
exit(0)
break
case 'function':
exit(1)
break
default:
exit(2)
}
})
</script>
<iframe src="uninitialized://localhost/"></iframe>