Hi all,
I just published a blog post about a new feature for Chrome Extensions: Unlock Structured Clone for Chrome Extension Messaging.
Starting in Chrome 148, you can opt-in to use the structured clone algorithm for message serialization instead of JSON. This modernization allows you to send more complex data types—like Map, Set, Blob, and File—directly between extension contexts without the need for manual serialization workarounds.
To enable this, simply add the following key and value to your manifest.json:
```
{ "message_serialization": "structured_clone" }
```
We hope this provides more flexibility and power when building extensions!
Thanks,
Justin, on behalf of the Chromium Extensions Team
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fbc16591-567f-4d9e-aae7-7578d45931a9n%40chromium.org.