This is possible on Mac but only works in Debug mode in GTK. Most of the Web Inspector UI is written in JavaScript so it's very convenient to be able to run release binary with original js source files. Disabling minification saves a lot of build time otherwise spent in jsmin.py when .js sources change.
Created attachment 381430 [details] Patch
Comment on attachment 381430 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=381430&action=review > Source/WebKit/InspectorGResources.cmake:52 > + elseif (DEVELOPER_MODE) > + set(COMBINE_INSPECTOR_RESOURCES YES) Now that inspector and test resources are split we don't need this branch. > Source/WebKit/InspectorGResources.cmake:61 > + if (CMAKE_BUILD_TYPE STREQUAL "Debug") > + set(COMBINE_TEST_RESOURCES YES) > + elseif (DEVELOPER_MODE) > + set(COMBINE_TEST_RESOURCES YES) And here we could use OR
Comment on attachment 381430 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=381430&action=review Thanks for quick review! >> Source/WebKit/InspectorGResources.cmake:52 >> + set(COMBINE_INSPECTOR_RESOURCES YES) > > Now that inspector and test resources are split we don't need this branch. Done. >> Source/WebKit/InspectorGResources.cmake:61 >> + set(COMBINE_TEST_RESOURCES YES) > > And here we could use OR Done.
Created attachment 381551 [details] Patch for landing
Comment on attachment 381551 [details] Patch for landing Clearing flags on attachment: 381551 Committed r251438: <https://trac.webkit.org/changeset/251438>
All reviewed patches have been landed. Closing bug.
<rdar://problem/56504037>