Skip to content

Commit ae62fcc

Browse files
Allow WEBKIT_INJECTED_BUNDLE_PATH even in non developer mode
1 parent e496014 commit ae62fcc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,9 @@ void webkitWebContextWillCloseAutomationSession(WebKitWebContext* webContext)
333333

334334
static const char* injectedBundleDirectory()
335335
{
336-
#if ENABLE(DEVELOPER_MODE)
337336
const char* bundleDirectory = g_getenv("WEBKIT_INJECTED_BUNDLE_PATH");
338337
if (bundleDirectory && g_file_test(bundleDirectory, G_FILE_TEST_IS_DIR))
339338
return bundleDirectory;
340-
#endif
341339

342340
static const char* injectedBundlePath = PKGLIBDIR G_DIR_SEPARATOR_S "injected-bundle" G_DIR_SEPARATOR_S;
343341
return injectedBundlePath;

0 commit comments

Comments
 (0)