[Webkit-unassigned] [Bug 233764] New: Make enum values consistent in ApplicationManifest::Icon::Purpose and _WKApplicationManifestIconPurpose
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 2 09:54:24 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233764
Bug ID: 233764
Summary: Make enum values consistent in
ApplicationManifest::Icon::Purpose and
_WKApplicationManifestIconPurpose
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rginsberg at apple.com
CC: bfulgham at webkit.org,
webkit-bug-importer at group.apple.com
`Icon::Purpose` values are 1 (`1 << 0`), 2 (`1 << 1`), and 4 (`1 << 2`), but the default values for an enum are 0, 1, 2, which is used in `_WKApplicationManifestIcon`. This results in the purpose values being mis-translated in `_WKApplicationManifest`. In `WKApplicationManifest` an icon with the `purpose` set to `Any` in the manifest file, will have it's `purposes` set to `_WKApplicationManifestIconPurposeMonochrome`.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211202/67a7015d/attachment.htm>
More information about the webkit-unassigned
mailing list