Commit 4451b83
Fix macOS ARM OSR: exclude disable-surfaces/begin-frame switches, extend init timeout
On macOS ARM, the viz Surfaces API is required for OSR browser creation.
--disable-surfaces (and its companion --enable-begin-frame-scheduling) prevent
viz from initialising, causing CefBrowserHost::CreateBrowserSync() to return
null. Exclude both switches on macOS so the Surfaces pipeline stays alive.
Also extend the OnContextInitialized pump loop from 6 s to 30 s to give slower
CI environments enough time before CreateBrowserSync() falls back to the
deferred (None-returning) path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 72a16c0 commit 4451b83
2 files changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
626 | | - | |
| 625 | + | |
| 626 | + | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
0 commit comments