refactor: silently drop all moduleCall and response calls received in the bootloader
This commit is contained in:
parent
0eb3209aa2
commit
3543e48c79
|
@ -59,6 +59,10 @@ export async function handleIncomingMessage(event: MessageEvent) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (["moduleCall", "response"].includes(event.data.method)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
(event.source as WindowProxy).postMessage(
|
(event.source as WindowProxy).postMessage(
|
||||||
{
|
{
|
||||||
nonce: event.data.nonce,
|
nonce: event.data.nonce,
|
||||||
|
|
Reference in New Issue