[GPUP] Add logging for installed font reconstitution failure
Created attachment 457511 [details] Patch
Comment on attachment 457511 [details] Patch No need to add logging; this is reproducible.
Really? I couldn’t reproduce it 🤔
I can reproduce it with `run-webkit-tests --ios-simulator fast/text/` against an iOS 15.4 SDK
Logging says: Cannot reconstitute installed font in GPU process: file://iNmEmOrYcGfOnT_0x600003184580#postscript-name=Ahem (Ahem) - { NSFontNameAttribute = Ahem; NSFontSizeAttribute = 16; }
Oh! This only happens in tests! It’s because we use InjectedBundle to install Ahem just for the web process. I wonder how to fix this 🤔 Surely we don’t want a GPU-Process-injected-bundle… Maybe I add testing-only code in the GPU process and only enable it in WKTR? 🤔🤔🤔