Firefox for Web Developers

7.9K posts

Firefox for Web Developers banner
Firefox for Web Developers

Firefox for Web Developers

@FirefoxWebDevs

Official Firefox account for people who build on the web. Learn about the things we're working on to grow and improve the web platform.

Global เข้าร่วม Haziran 2009
5.5K กำลังติดตาม90.2K ผู้ติดตาม
ทวีตที่ปักหมุด
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
Firefox 148 is out now, and adds some great web platform features: 🎉 The HTML Sanitizer API 🎉 CSS shape() 🎉 Trusted Types 🎉 Nav API's addHandler 🎉 Iterator zip & zipKeyed 🎉 ancestorOrigins And more! developer.mozilla.org/en-US/docs/Moz…
English
3
19
185
11.7K
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
@nektro Oh wow, yeah, that's not right. This is a great reproduction of the issue. I'll get a bug report together.
English
1
0
1
32
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
One of our engineers, Keith Cirkel made this game where you can measure your colour perception, and it's about to eat your time. My score is 0.0028 💅 (although I get different scores on different screens - my best is on my MacBook) keithcirkel.co.uk/whats-my-jnd/
English
7
7
49
5.1K
meghan 🌻
meghan 🌻@nektro·
@FirefoxWebDevs i get an http 413 JSON payload (1564350 bytes) is larger than allowed (limit: 1048576 bytes).
English
1
0
0
24
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
JavaScript Iterator․zip landed in Firefox 148, making it simple to loop over multiple things at the same time. Here's how it works:
English
6
21
216
11.5K
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
@eyal_shalev @jaffathecake Generally, these things start off being implemented with correctness as a priority, then speed is added later. Filing bugs with benchmarks for particularly slow cases is a good way to start.
English
1
0
1
185
Eyal Halpern Shalev
Eyal Halpern Shalev@eyal_shalev·
@FirefoxWebDevs @jaffathecake I was really excited for the IteratorObject proposal (from a performance standpoint) but was very disappointed when I found its map-reduce functions perform MUCH worse (at least on V8) then their array counterparts. Do you know if any effort done to surface it?
English
1
0
0
203
someoak
someoak@someoak2·
@FirefoxWebDevs keen to see how the wasm push goes, so that some things just won't need js at all anymore
English
1
0
0
145
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
CSS shape() landed in Firefox 148. It's similar to path(), but allows the full expressiveness of CSS…
English
5
23
196
10.9K
Jamie Birch
Jamie Birch@birch_js·
@FirefoxWebDevs Although the above video focuses on other use-cases, CSS shape() is also the best (only?) way to implement layouts like this! See how the exclusion path is not a rectangle (which CSS float could cover) but a complex shape.
Jamie Birch tweet media
English
2
0
0
169
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
@FirefoxWebDevs love it – it's so good for responsive offset-path stuff 🙌 has anyone made a decent interactive "build a shape" playground yet? i started putting one together instead of a converter but it's not "quite there" 😅
English
3
0
8
2.2K
Firefox for Web Developers
Firefox for Web Developers@FirefoxWebDevs·
You can throw away innerHTML and replace it with the new setHTML(), which has a built-in sanitizer. Here's how it works:
English
3
18
104
5.2K