Bug 221684 - Do not differentiate between Release and Production via ENABLE_DEVELOPER_MODE
Summary: Do not differentiate between Release and Production via ENABLE_DEVELOPER_MODE
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-10 10:02 PST by Alexey Proskuryakov
Modified: 2021-02-10 14:26 PST (History)
14 users (show)

See Also:


Attachments
proposed patch (6.03 KB, patch)
2021-02-10 10:06 PST, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2021-02-10 10:02:55 PST
There is some code that sets ENABLE_DEVELOPER_MODE in xcconfigs depending on whether the build is Production or Debug/Release.

It is invalid to create behaviors that are different between these. There is almost no difference in usage scenarios between build modes - either can be produced by CI for validation, either can be used for local testing, etc.

Seeing how it's used for making media elements debuggable, I'm certain that there is a better way to achieve the goal. I don't think that implementing this better way needs to be done as part of this patch.

Not really sure what's up with developer modein WebInspectorUI, seems unused?
Comment 1 Alexey Proskuryakov 2021-02-10 10:06:21 PST
Created attachment 419863 [details]
proposed patch
Comment 2 EWS 2021-02-10 12:55:07 PST
Committed r272679: <https://commits.webkit.org/r272679>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419863 [details].
Comment 3 Radar WebKit Bug Importer 2021-02-10 14:26:31 PST
<rdar://problem/74206304>