Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upStop eagerly compiling raw uncompiled event handlers #8489
Closed
Labels
Comments
bors-servo
added a commit
that referenced
this issue
Feb 11, 2016
Compile raw inline event handlers lazily. Resolves #8489. Per https://html.spec.whatwg.org/multipage/webappapis.html#getting-the-current-value-of-the-event-handler and https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-attributes:event-handlers-2 . <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8491) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stuff like
<body onload="foo()">is eagerly compiled right now, and the spec says it should not be until we get the value of the event handler (either throughbody.onloador using it for an event target chain).I have patches that correct this.