We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e496014 commit ae62fccCopy full SHA for ae62fcc
1 file changed
Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
@@ -333,11 +333,9 @@ void webkitWebContextWillCloseAutomationSession(WebKitWebContext* webContext)
333
334
static const char* injectedBundleDirectory()
335
{
336
-#if ENABLE(DEVELOPER_MODE)
337
const char* bundleDirectory = g_getenv("WEBKIT_INJECTED_BUNDLE_PATH");
338
if (bundleDirectory && g_file_test(bundleDirectory, G_FILE_TEST_IS_DIR))
339
return bundleDirectory;
340
-#endif
341
342
static const char* injectedBundlePath = PKGLIBDIR G_DIR_SEPARATOR_S "injected-bundle" G_DIR_SEPARATOR_S;
343
return injectedBundlePath;
0 commit comments