Repository navigation
Macroize event handler getters and setters - #3776
Conversation
b5387da to
12183eb
Compare
There was a problem hiding this comment.
@jdm Do we have to preserve this special case? I feel that HTMLBodyElement cares this.
There was a problem hiding this comment.
Yes, we should preserve any non-default behaviour like this.
12183eb to
1e3cbe6
Compare
|
Critic's not responding right now. The one change I'd like to make is leave out the EventHandlerNonNull and either don't macro-ize the error evnt handler or add a separate macro for it. |
1e3cbe6 to
41ccf89
Compare
|
updated. |
|
Note: #3759 contains event handlers that need macroization if it lands first. |
I split an |
|
I pushed the fixup commit |
|
Looks good. Squash and I'll merge! |
|
Oh wait, please move the macros to /components/script/dom/macros.rs instead of components/plugins. |
I think it's more better to move ~/dom/binding/macros.rs |
Oops, I forgot that we have already had |
a2d9509 to
0a84c5d
Compare
|
squashed & moved |
Fix #3755 This doesn't convert some specialized event handlers (e.g. `HTMLBodyElement`'s ones, `HTMLElement.GetOnload()`).
Fix #3755
This doesn't convert some specialized event handlers (e.g.
HTMLBodyElement's ones,HTMLElement.GetOnload()).