Bug 250235 - Do not automatically enable 'developer' features during tests
Summary: Do not automatically enable 'developer' features during tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-06 14:57 PST by Brent Fulgham
Modified: 2023-01-09 13:14 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 Brent Fulgham 2023-01-06 14:57:08 PST
The generator logic added in Bug 247926 also activated features with 'developer' status while running tests.

However, the 'developer' flags with a defaultValue of 'false' are generally not relevant to testing (e.g., enabling security-violating CORS state, enabling features not meant for web use cases, etc.

TestWebKitAPI tests that need these special settings already enable the individually, so we should not hard-set them to 'true' at each test iteration, as this can also enables features on platforms or configurations that need these features to be off.
Comment 1 Radar WebKit Bug Importer 2023-01-06 14:57:25 PST
<rdar://problem/103969233>
Comment 2 Brent Fulgham 2023-01-06 15:10:16 PST
This issue also applies to 'stable' features, which are already in the correct state for each platform, and should not be arbitrarily toggled on for testing.
Comment 3 Brent Fulgham 2023-01-06 16:01:42 PST
Pull request: https://github.com/WebKit/WebKit/pull/8327
Comment 4 Brent Fulgham 2023-01-09 10:01:16 PST
Note: After noticing issues with GTK/WPE, we decided to continue enable 'stable' feature for now.
Comment 5 EWS 2023-01-09 13:14:12 PST
Committed 258681@main (1a660cb880b4): <https://commits.webkit.org/258681@main>

Reviewed commits have been landed. Closing PR #8327 and removing active labels.