Skip to content

Commit 508be0d

Browse files
authored
browser(webkit): fix big sur crashes after latest roll (#4391)
1 parent c2db837 commit 508be0d

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1382
2-
Changed: [email protected] Mon 09 Nov 2020 10:20:30 AM PST
1+
1383
2+
Changed: [email protected] Mon 09 Nov 2020 10:27:02 PM PST

browser_patches/webkit/patches/bootstrap.diff

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16543,6 +16543,52 @@ index 36dcac26e1b1c0b76071a8ff02feacbb8973e590..212220ceb975857a8519d6ca35c1d842
1654316543
}
1654416544

1654516545
void WebProcess::initializeConnection(IPC::Connection* connection)
16546+
diff --git a/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in b/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
16547+
index 2ca17abc2067c6cb454008adbccb25522c2a2f31..fb053eefa24dcafda25f6865d75725b82b137f5b 100644
16548+
--- a/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
16549+
+++ b/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
16550+
@@ -1418,21 +1418,26 @@
16551+
#include <WebKitAdditions/WebContentSandboxAdditionsMac.sb>
16552+
#endif
16553+
16554+
-(when (defined? 'mach-bootstrap)
16555+
- (allow mach-bootstrap
16556+
- (apply-message-filter
16557+
- (allow xpc-message-send (with telemetry))
16558+
- (allow xpc-message-send (message-number
16559+
- 204
16560+
- 207
16561+
- 301
16562+
- 800
16563+
- 804
16564+
- )
16565+
- )
16566+
- )
16567+
- )
16568+
-)
16569+
+;;; Playwright: This requires an entitlement
16570+
+;;; that only exists in builds signed by Apple.
16571+
+;;; It looks like we can disable it for now
16572+
+;;; without side effects
16573+
+;;;
16574+
+;;; (when (defined? 'mach-bootstrap)
16575+
+;;; (allow mach-bootstrap
16576+
+;;; (apply-message-filter
16577+
+;;; (allow xpc-message-send (with telemetry))
16578+
+;;; (allow xpc-message-send (message-number
16579+
+;;; 204
16580+
+;;; 207
16581+
+;;; 301
16582+
+;;; 800
16583+
+;;; 804
16584+
+;;; )
16585+
+;;; )
16586+
+;;; )
16587+
+;;; )
16588+
+;;; )
16589+
16590+
(when (defined? 'mach-kernel-endpoint)
16591+
(allow mach-kernel-endpoint
1654616592
diff --git a/Source/WebKit/WebProcess/win/WebProcessMainWin.cpp b/Source/WebKit/WebProcess/win/WebProcessMainWin.cpp
1654716593
index 89bc159df35910abe133c68d71057cdfe1995cbb..aba8e9110a3ec4c59e9888b148e1e908d477cbe4 100644
1654816594
--- a/Source/WebKit/WebProcess/win/WebProcessMainWin.cpp

0 commit comments

Comments
 (0)