Uh oh!
There was an error while loading. Please reload this page.
events: support dispatching event from event - #33624
Conversation
benjamingr
commented
May 29, 2020
@jasnell I think you might have missed this one :] |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
950969e to
3b6e3f1Comparenodejs-github-bot
commented
May 30, 2020
3b6e3f1 to
adaed1bCompare8ae28ff to
2935f72Compareadaed1b to
f24f1b5Comparenodejs-github-bot
commented
May 31, 2020
2152292 to
ea03a7aComparenodejs-github-bot
commented
Jun 8, 2020
nodejs-github-bot
commented
Jun 10, 2020
jasnell
commented
Jun 17, 2020
Ping @benjamingr ... tests are failing on this one. |
benjamingr
commented
Jun 21, 2020
@jasnell sorry, I was (mostly) AFK and am (mostly) AFK for the coming week (except the summit). I will do one pass over all the PRs you pinged me at and fix/rebase them over master. I feel like this landing part is harder than it should so feel free to either squash them all into one PR and land it as one change, or to just make all the changes directly (I really don't mind the git attribution being precise) or whatever is most convenient to you. Again: my objective is to be helpful and to do the least toe-stepping :] |
Event#cancelBubble is property (and not a function). Change Event#cancelBubble to a property and add a test. PR-URL: nodejs#33613 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
PR-URL: nodejs#33623 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
92d841d to
5b397abComparejasnell
commented
Jun 21, 2020
@benjamingr ... yeah, it's been pretty painful doing these piece by piece. I think I'll go ahead and combine all the changes into a single PR. |
benjamingr
commented
Jun 21, 2020
@jasnell I am starting to see what you meant by "take it to a vendored dep" back then :] Anyway, whatever is easiest and least painful for you. Another thing we can do is open one PR that will stay open for a few days on a branch, then we can push all the changes to that branch and merge that after a few days or something. |
jasnell
commented
Jun 22, 2020
Closing in favor of #34015 (which combines this and other |
Currently our events guard against dispatching an event from itself by type rather than by event instance. This makes a WPT test fail.
Here's some code to demonstrate the issue.
Dispatching an event while handling it is still not supported (as required).
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes