Bug 267828 - Use CommonAtomStrings for common content types
Summary: Use CommonAtomStrings for common content types
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-20 19:28 PST by Ryosuke Niwa
Modified: 2024-01-21 02:53 PST (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 Ryosuke Niwa 2024-01-20 19:28:27 PST
In most cases, JS hard-codes MIME type at its call site so it would benefit from fast string comparison.
Comment 1 Ryosuke Niwa 2024-01-20 20:08:13 PST
Pull request: https://github.com/WebKit/WebKit/pull/23022
Comment 2 EWS 2024-01-21 02:52:13 PST
Committed 273272@main (90c9323b6933): <https://commits.webkit.org/273272@main>

Reviewed commits have been landed. Closing PR #23022 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-01-21 02:53:14 PST
<rdar://problem/121331460>