ipfs / in-web-browsers

Tracking the endeavor towards getting web browsers to natively support IPFS and content-addressing
https://docs.ipfs.tech/how-to/address-ipfs-on-web/
MIT License
344 stars 29 forks source link

Tracking adding writable streams to FF Service Workers #138

Open momack2 opened 5 years ago

momack2 commented 5 years ago

Passing along feedback from @ianopolous on Peergos - they are using writable streams in service workers, which is enabled in Chrome + others but isn't yet enabled in FireFox. Curious if we're tracking this issue and at all engaged with the folks at Mozilla about adding this capability?

autonome commented 5 years ago

Readable streams only just got turned on by default in Firefox nightly last month, which means will ship in 65 (IIRC): https://twitter.com/dietrich/status/1060542343038885889

Writable streams just got assigned a few days ago, which is always a good sign: https://bugzilla.mozilla.org/show_bug.cgi?id=1474543

However, I'm not sure that would mean either would be available in SW, so it would be worth stating your use-case for that on the bug. That way either it's covered there in the initial implementation, or a separate bug is filed to track the work and keep on the implementer's radar.

On Wed, Dec 19, 2018 at 1:29 PM MollyM notifications@github.com wrote:

Passing along feedback from @ianopolous https://github.com/ianopolous on Peergos - they are using writable streams in service workers, which is enabled in Chrome + others but isn't yet enabled in FireFox. Curious if we're tracking this issue https://bugzilla.mozilla.org/show_bug.cgi?id=1128959 and at all engaged with the folks at Mozilla about adding this capability?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ipfs/in-web-browsers/issues/138, or mute the thread https://github.com/notifications/unsubscribe-auth/AADDt_QDHzI2Kw1G6d2WMyppSVRQTSHsks5u6oWBgaJpZM4ZayS3 .

momack2 commented 5 years ago

Thanks @autonome!

@ianopolous @cboddy @kevodwyer - can one of you take the lead on describing your use case on the bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=1474543

ianopolous commented 5 years ago

Yep, I'm waiting to merge and deploy what I think are the last breaking changes this week, and then I can give a demo url.

lidel commented 5 years ago

cc https://github.com/ipfs/js-ipfs-http-client/issues/848