Closed
Bug 531373
Opened 15 years ago
Closed 15 years ago
[HTML5][Patch] script between head and body is not executed
Categories
(Core :: DOM: HTML Parser, defect, P1)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
People
(Reporter: nanto, Assigned: hsivonen)
References
Details
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Script elements written between the head element's end tag and the body element's start tag doesn't execute their scripts when html5.enabled is true. This bug makes livedoor Reader [1] not work.
[1] http://reader.livedoor.com/reader/ (written in Japanese, an account is required to use the service)
See the attachment to reproduce the bug.
Actual: "Failed"
Expected: "OK"
Confirmed on Gecko/20091126 Minefield/3.7a1pre.
I ran into the same issue on https://investing.schwab.com/trading/start , I used "Report Broken Web Site" to report problem RMO12596395171178.
With html5.enabled, this login page doesn't work and gives "Error: setFocusOnLoginField is not defined" and "loginSubmit is not defined" in the JavaScript Error Console. In the HTML source the script tag that defines these is between the head element's end tag and the body element's start tag.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091130 Minefield/3.7a1pre
Assignee | ||
Updated•15 years ago
|
Priority: -- → P1
Assignee | ||
Comment 3•15 years ago
|
||
My guess is that repopping the head pointer puts the op queue in a bad state.
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 4•15 years ago
|
||
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Assignee | ||
Updated•15 years ago
|
Summary: [HTML5] script between head and body is not executed → [HTML5][Patch] script between head and body is not executed
Assignee | ||
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•