🐡 New in Chrome 106: Persistent Quota Deprecation and SerialPort BYOB support 🐡

10 views
Skip to first unread message

Ajay Rahatekar

unread,
Sep 27, 2022, 10:52:43 PM9/27/22
to fugu-dev

Welcome to the latest edition of the regular Fugu + PWA update. Here, you'll find all the latest news about our work on the Fugu APIs, plus a sampling of recent work with partners.


As always, our project tracker is available at fugu-tracker.web.app/ 


M106

_________________________________________________________________________________________

Features Releasing to Stable


Persistent Quota Deprecation

Contributors:  cfredric@, mek@, ayui@

ChromeStatus     Bug      Intent to Deprecate and Remove


Deprecate and remove support for the legacy window.PERSISTENT quota type. Unlike other removals of old, little-used storage features that only Chromium supports, this one shouldn't break anyone's code. Going forward, webkitRequestFileSystem will simply ignore the type parameter, and requests for PERSISTENT storage will create regular, non-persistent storage.

Legacy quota API navigator.webkitPersistentStorage will be an alias to navigator.webkitTemporaryStorage. Deprecated quota API webkitStorageInfo methods will also ignore the type parameter. 






Support "Bring Your Own Buffer" reader for SerialPort's ReadableStreams

Contributors:  reillyg@

ChromeStatus     Bug     Spec     Intent to Ship


The SerialPort interface provides a ReadableStream and WritableStream. This change updates the underlying data source for the ReadableStream to make it a readable byte stream. 


"Bring Your Own Buffer" BYOB readers allow developers to specify the buffer into which data is read instead of the stream allocating a buffer for each chunk. In addition to the potential reduction in memory pressure, this allows scripts to control how much data is received in a chunk, as the stream cannot return more than there is space for in the provided buffer.




Please reach out with any questions, comments or suggestions.

Ben MorssAjay Rahatekar and the Fugu team.

Reply all
Reply to author
Forward
0 new messages