Bug 243976

Summary: HTML parser should ignore head start tags in "in head noscript" state
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: DOMAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2022-08-15 23:07:20 PDT
When a <head> start tag is parsed while in the "in head noscript" state (i.e., the parser has the "scripting flag" set to false, and we're inside the <head>), then the tag should be ignored.  But there's a typo, which results in us implying a closing </noscript> tag.
Comment 1 Cameron McCormack (:heycam) 2022-08-15 23:12:26 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3347
Comment 2 EWS 2022-08-16 15:21:22 PDT
Committed 253489@main (174fe130c083): <https://commits.webkit.org/253489@main>

Reviewed commits have been landed. Closing PR #3347 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-16 15:22:17 PDT
<rdar://problem/98751308>
Comment 4 Cameron McCormack (:heycam) 2022-08-16 16:55:39 PDT
Test upstreamed: https://github.com/WebKit/WebKit/pull/3347