fix(core): regression on process-ipc-message-fn (#8749)

This commit is contained in:
Lucas Fernandes Nogueira 2024-02-03 17:18:19 -03:00 committed by GitHub
parent 8f0e50f396
commit 863bc9e55f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"tauri": patch:bug
---
Fix regression on the JavaScript code that processes the IPC message.

View File

@ -14,3 +14,4 @@ CHANGELOG.md
*.wxs *.wxs
**/reference.md **/reference.md
*schema.json *schema.json
core/tauri/scripts/process-ipc-message-fn.js

View File

@ -4,7 +4,7 @@
// this is a function and not an iife so use it carefully // this is a function and not an iife so use it carefully
;(function (message) { (function (message) {
if ( if (
message instanceof ArrayBuffer || message instanceof ArrayBuffer ||
ArrayBuffer.isView(message) || ArrayBuffer.isView(message) ||