[Webkit-unassigned] [Bug 272400] ASSERTION FAILED: Unhandled message WebSWServerConnection_PostMessageToServiceWorker to 0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 9 23:04:27 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=272400
--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org> ---
This appears to be caused by setupIOSWebKitEnvironment not setting __XPC_* environmental variables. Applying the following diff seems to solve this issue although trunk WebKit immediately hits a debug assertion trying to load any real web page. It can successfully load about:blank and some basic data URLs however.
diff --git a/Tools/Scripts/webkitdirs.pm b/Tools/Scripts/webkitdirs.pm
index abff7ad462a6..0042c11f70b8 100755
--- a/Tools/Scripts/webkitdirs.pm
+++ b/Tools/Scripts/webkitdirs.pm
@@ -2999,6 +2999,8 @@ sub setupIOSWebKitEnvironment($)
prependToEnvironmentVariableList("DYLD_FRAMEWORK_PATH", $dyldFrameworkPath);
prependToEnvironmentVariableList("DYLD_LIBRARY_PATH", $dyldFrameworkPath);
+ prependToEnvironmentVariableList("__XPC_DYLD_FRAMEWORK_PATH", $dyldFrameworkPath);
+ prependToEnvironmentVariableList("__XPC_DYLD_LIBRARY_PATH", $dyldFrameworkPath);
prependToEnvironmentVariableList("METAL_DEVICE_WRAPPER_TYPE", "1");
setUpGuardMallocIfNeeded();
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240410/a0e6204e/attachment.htm>
More information about the webkit-unassigned
mailing list