Bug 228973 - HTMLMetaElement http-equiv should not be processed in shadow trees
Summary: HTMLMetaElement http-equiv should not be processed in shadow trees
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-10 14:41 PDT by Chris Dumez
Modified: 2021-08-11 09:41 PDT (History)
11 users (show)

See Also:


Attachments
Patch (4.98 KB, patch)
2021-08-10 14:44 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (4.96 KB, patch)
2021-08-10 15:30 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (5.02 KB, patch)
2021-08-11 08:46 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-08-10 14:41:20 PDT
HTMLMediaElement http-equiv should only not be processed in shadow trees:
- https://html.spec.whatwg.org/#attr-meta-http-equiv
- https://html.spec.whatwg.org/multipage/infrastructure.html#insert-an-element-into-a-document
- https://dom.spec.whatwg.org/#in-a-document-tree

Firefox and Chrome already match the specification here.
Comment 1 Chris Dumez 2021-08-10 14:44:24 PDT
Created attachment 435298 [details]
Patch
Comment 2 Chris Dumez 2021-08-10 15:30:44 PDT
Created attachment 435306 [details]
Patch
Comment 3 Chris Dumez 2021-08-11 08:46:29 PDT
Created attachment 435348 [details]
Patch
Comment 4 Geoffrey Garen 2021-08-11 09:18:45 PDT
Comment on attachment 435348 [details]
Patch

r=me
Comment 5 EWS 2021-08-11 09:40:05 PDT
Committed r280913 (240434@main): <https://commits.webkit.org/240434@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 435348 [details].
Comment 6 Radar WebKit Bug Importer 2021-08-11 09:41:18 PDT
<rdar://problem/81798790>