Closed Bug 276778 Opened 20 years ago Closed 15 years ago

Move decisions about when we execute scripts to the HTML content sink (and remove hacks from the tokenizer)

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mrbkap, Assigned: mrbkap)

Details

Currently, we have a mix of code throughout the htmlparser that decides whether
or not to execute scripts. The "easy" part of this bug is to simply put that
code in the HTML content sink to centralize it.

However, after reading bunches of code, I think it should also be possible to
parse <noscript>, <noframes> and <iframe> as regular elements (not as CDATA). My
goal is to be able to remove the hacks from the tokenizer (and maybe CNavDTD?)
that make us treat these elements specially. Are there any opinions on whether
or not this is worth it?
If you've got the guts to pull this off in the parser code I think it's probably
worth it. But I doubt this will land w/o regressions :)
I don't think this is worth it anymore.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.