RESOLVED FIXED 221684
Do not differentiate between Release and Production via ENABLE_DEVELOPER_MODE
https://bugs.webkit.org/show_bug.cgi?id=221684
Summary Do not differentiate between Release and Production via ENABLE_DEVELOPER_MODE
Alexey Proskuryakov
Reported 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?
Attachments
proposed patch (6.03 KB, patch)
2021-02-10 10:06 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2021-02-10 10:06:21 PST
Created attachment 419863 [details] proposed patch
EWS
Comment 2 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].
Radar WebKit Bug Importer
Comment 3 2021-02-10 14:26:31 PST
Note You need to log in before you can comment on or make changes to this bug.