DEV Community

Ben Halpern
Ben Halpern Subscriber

Posted on

Are there any new or upcoming browser APIs you are keeping an eye on?

Latest comments (33)

Collapse
 
bugtester46 profile image
bugtester46

test

Collapse
 
rhymes profile image
rhymes
Collapse
 
philnash profile image
Phil Nash

Y'know, I thought the MediaRecorder API was pretty new. But Firefox launched it in 2014 and Chrome followed up in 2016. It's very cool though and it didn't stop me writing about it this week though.

I'm also excited that the web is getting a contacts API. This is one of those things that native apps can do and web apps can't, but this time built with the security model of the web (so apps can't just upload all your contacts without you knowing).

Also on the "well, native can do it" front, the native file system API is also going to expand the potential for web applications.

Collapse
 
dmfay profile image
Dian Fay

I'm waiting to see just how badly the imminent webRequest limits on adblockers in Chromium affect security and the browsing experience.

Collapse
 
irreverentmike profile image
Mike Bifulco

I've been looking for reaons to get in trouble with Promise.allSettled(). It'll make a good handful of use cases more UX friendly for me. I've got a couple posts about it, this is the first ๐Ÿ‘‡

Collapse
 
kurtz1993 profile image
Luis Hernรกndez

As I've been loving RxJS for a while now, I'm keeping an eye very close to the Observables proposal --> github.com/tc39/proposal-observable

Collapse
 
zcdunn profile image
Zack Dunn

Web Share and Web Share Target would be awesome to have across all browsers! That's a major part of the PWA experience that's still missing. On mobile, where share interactions are built into the OS, PWA's obviously missing out. And a nice side benefit is that it would remove the need for annoying site-specific share buttons on every site.

Collapse
 
philnash profile image
Phil Nash

Yes! We need Safari to support share targets.

Have you noticed that DEV uses the Web Share API though? ๐Ÿ˜‰

Collapse
 
zcdunn profile image
Zack Dunn

That's awesome to hear, but the API is only supported by Chrome right now. I use Firefox so it's not available for me. Still a win for progressive enhancement!

Thread Thread
 
philnash profile image
Phil Nash

Web Share is actually supported in Safari (iOS and desktop) as well as Chrome on Android. It is definitely more relevant for mobile usage, but as the web share target and installable PWAs come to desktop I'd like to see it in all the browsers.

And yeah, it's all about the progressive enhancement! That's why I wrote a web component to progressively enhance share buttons with the web share API.

Collapse
 
georgecoldham profile image
George

Ive been following this too, a little. The largest issues I have seen, is that manufacturers of bluetooth devices seemingly create their own specification for interfacing and most of the time dont provide documentation.

Solutions to this have been sniffing the traffic, but if you can sniff the traffic and figure out the API interface from this, then it is also likely insecure.

Collapse
 
bennypowers profile image
Benny Powers ๐Ÿ‡ฎ๐Ÿ‡ฑ๐Ÿ‡จ๐Ÿ‡ฆ

Constructable Style Sheets and ShadowRoot#adoptedStyleSheets, as well as something like CSS modules will let us write shadow styles in CSS without a build step.

that last proposal was in danger of stalling, so if you have something productive to add to the discussion, get over there.

Collapse
 
nektro profile image
Meghan (she/her)

Built-in Modules for Javascript! Something that imo that should've come at the same time all in one go with the introduction of script[type=module] but what can you do?

github.com/tc39/proposal-javascrip...

developers.google.com/web/updates/...