Re: New JavaScript engine module owner

2021-03-10 Thread tcam...@mozilla.com
On Wednesday, March 10, 2021 at 9:27:33 AM UTC-5, Gabriele Svelto wrote: > On 10/03/2021 02:12, Jason Orendorff wrote: > > Hi, everyone. > > > > I'm pleased to announce that Jan De Mooij has agreed to take ownership of > > the JavaScript engine module. > > > > Following a Mozilla tradition that

Re: Intent to ship: Return pixel deltas in wheel event if deltaMode is not checked by authors

2021-03-10 Thread Masayuki Nakano
On 2021/03/10 21:23, Xidorn Quan wrote: On Wed, Mar 10, 2021, at 8:01 PM, Anne van Kesteren wrote: That does seem unfortunate, but unless other browsers are interested in picking this up, I think it will hurt us more to be different than that it helps. I don't think we should make aligning with

Intent to prototype: Honoring bogo-XML declaration for character encoding in text/html

2021-03-10 Thread Henri Sivonen
# Summary For compatibility with WebKit and Blink, honor the character encoding declared using the XML declaration syntax in text/html. For reasons explained in https://hsivonen.fi/utf-8-detection/ , unlike other encodings, UTF-8 isn't detected from content, so with the demise of Trident and Edge

Re: New JavaScript engine module owner

2021-03-10 Thread Gabriele Svelto
On 10/03/2021 02:12, Jason Orendorff wrote: > Hi, everyone. > > I'm pleased to announce that Jan De Mooij has agreed to take ownership of > the JavaScript engine module. > > Following a Mozilla tradition that was venerable when I got here, Jan has > been doing the job already for quite some time.

Re: Intent to ship: Return pixel deltas in wheel event if deltaMode is not checked by authors

2021-03-10 Thread Xidorn Quan
On Wed, Mar 10, 2021, at 8:01 PM, Anne van Kesteren wrote: > That does seem unfortunate, but unless other browsers are interested > in picking this up, I think it will hurt us more to be different than > that it helps. I don't think we should make aligning with Chrome and > Safari conditional upon

Re: Intent to ship: Return pixel deltas in wheel event if deltaMode is not checked by authors

2021-03-10 Thread Anne van Kesteren
On Wed, Mar 10, 2021 at 9:11 AM Masayuki Nakano wrote: > Indeed, in long term goal must be that we'd dispatch exactly same wheel > events as Chrome/Chromium. However, without implementing alternative new > API, web apps will not be able to handle raw value for better UX. > Therefore, I filed a spe

heads-up: code-review bot's clang-format message changing

2021-03-10 Thread Frederik Braun
Hi all, You can stop reading, if you have a setup that never requires you to applying clang-format manually. (Aside: For those that eagerly want to belong to this group, but don't yet, I suggest you look into `./mach ide`.) For all those who get the clang-format warning from code-review bot and

Re: Intent to ship: Return pixel deltas in wheel event if deltaMode is not checked by authors

2021-03-10 Thread Masayuki Nakano
Oops, On 2021/03/10 17:11, Masayuki Nakano wrote: Example 1: ``` addEventListener("wheel", event => {  let amount = event.deltaY;  if (isFirefox) {    amount *= 16;  }  scroll(amount);  event.preventDefault(); }); ``` Example 2: ``` addEventListener("wheel", event => {  let amount = even

Re: Intent to ship: Return pixel deltas in wheel event if deltaMode is not checked by authors

2021-03-10 Thread Masayuki Nakano
Hi, Thank you Emilio for your great work! I'd like to explain the background. First, `WheelEvent` was designed for making it possible web browsers to expose raw wheel event information with 3 kinds of delta value modes which listeners can distinguish with `WheelEvent#deltaMode`. And then, I