LGTM2. I agree that this is a tiny ergonomic change, and matching Safari's behavior (with Mozilla's positive signals) should increase interop in the future.
-mike On Thu, Sep 2, 2021 at 3:39 PM Yoav Weiss <[email protected]> wrote: > LGTM1 > > This seems like a small addition to improve the platform's consistency. > > On Thu, Sep 2, 2021 at 2:57 PM Frédéric Wang <[email protected]> wrote: > >> Le 02/09/2021 à 13:46, Yoav Weiss a écrit : >> >> >> The motivation section brings up use cases that this would make easier, >> but it's not super clear what they are, and if developers feel they are >> important. I wondered if this is something you have evidence for. >> With that said, now that I understand what you're trying to ship, >> consistency can also be an argument for such a change. >> >> >> As I said one can already do that with EventTarget.addEventListener so it >> is not critical at all for developers. But things like EventTarget.onload = >> ... and <element onload="..."> are pretty common, and it would be >> surprising for developers if this does not work for all events. But yes, >> again this is just speculation, not based on any concrete feedback from >> developers. I imagine somewhat hitting the problem would just switch to >> addEventListener and move on. >> >> -- >> Frédéric Wang >> >> -- >> You received this message because you are subscribed to the Google Groups >> "blink-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/548bb454-41d4-9b8d-0706-ea3d1ca4138b%40igalia.com >> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/548bb454-41d4-9b8d-0706-ea3d1ca4138b%40igalia.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "blink-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfU4bkkHJWLm-O%2BqztmJjS8N4XykQe0g%2BxMrkiLGzm3MPg%40mail.gmail.com > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfU4bkkHJWLm-O%2BqztmJjS8N4XykQe0g%2BxMrkiLGzm3MPg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3DfHD-GHZZOzookXU5UXk53Yzy9sEN8DO_iMAMHLEJA84Q%40mail.gmail.com.
