Bug 243976 - HTML parser should ignore head start tags in "in head noscript" state
Summary: HTML parser should ignore head start tags in "in head noscript" state
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-15 23:07 PDT by Cameron McCormack (:heycam)
Modified: 2022-08-16 16:55 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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