RESOLVED FIXED 39350
Add support for handling basic <script> tags in the HTML5 Parser
https://bugs.webkit.org/show_bug.cgi?id=39350
Summary Add support for handling basic <script> tags in the HTML5 Parser
Eric Seidel (no email)
Reported 2010-05-19 01:54:02 PDT
Add support for handling basic <script> tags in the HTML5 Parser
Attachments
Patch (2.93 KB, patch)
2010-05-19 02:00 PDT, Eric Seidel (no email)
no flags
A patch that actually works (3.25 KB, patch)
2010-05-19 02:10 PDT, Eric Seidel (no email)
abarth: review+
abarth: commit-queue+
Eric Seidel (no email)
Comment 1 2010-05-19 02:00:30 PDT
Early Warning System Bot
Comment 2 2010-05-19 02:04:54 PDT
Eric Seidel (no email)
Comment 3 2010-05-19 02:07:14 PDT
Eric Seidel (no email)
Comment 4 2010-05-19 02:10:42 PDT
Created attachment 56477 [details] A patch that actually works
Eric Seidel (no email)
Comment 5 2010-05-19 02:31:30 PDT
Comment on attachment 56477 [details] A patch that actually works The attached patch works enough to make: <div>Hello</div> <script> alert(42) </script> <div>Bye</div> work. The rest of the HTML5 parser isn't complete enough to make html5lib/runner.html work yet though.
Adam Barth
Comment 6 2010-05-19 08:08:30 PDT
Comment on attachment 56477 [details] A patch that actually works Looks reasonable. We'll probably need to move this somewhere else. I tested this locally and it worked.
Eric Seidel (no email)
Comment 7 2010-05-19 12:02:49 PDT
Note You need to log in before you can comment on or make changes to this bug.