Bug 215108

Summary: [iOS Simulator] Assert under WebPage::platformDidReceiveLoadParameters
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, katherine_cheney, ryanhaddad, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
youennf: review+
Patch none

Per Arne Vollan
Reported 2020-08-03 15:41:47 PDT
On iOS Simulator, the following code asserts in WebPage::platformDidReceiveLoadParameters: bool databaseUpdated = LaunchServicesDatabaseManager::singleton().waitForDatabaseUpdate(5_s); ASSERT_UNUSED(databaseUpdated, databaseUpdated);
Attachments
Patch (2.78 KB, patch)
2020-08-03 15:44 PDT, Per Arne Vollan
youennf: review+
Patch (1.41 KB, patch)
2020-08-04 13:37 PDT, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2020-08-03 15:44:53 PDT
Radar WebKit Bug Importer
Comment 2 2020-08-03 16:16:31 PDT
youenn fablet
Comment 3 2020-08-04 05:08:54 PDT
Comment on attachment 405875 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=405875&action=review > Source/WebKit/ChangeLog:9 > + com.apple.private.webkit.use-xpc-endpoint on the iOS Simulator. Disable the entitlment check for simulator. r=me but before landing, could you try (or maybe you did already) to add this entitlement to iOS simulator? Looking at the code, I see XPCService-embedded-simulator.entitlements for instance where we could try adding that entitlement.
Per Arne Vollan
Comment 4 2020-08-04 13:37:48 PDT
EWS
Comment 5 2020-08-04 14:03:18 PDT
Committed r265260: <https://trac.webkit.org/changeset/265260> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405939 [details].
Per Arne Vollan
Comment 6 2020-08-05 12:55:15 PDT
(In reply to youenn fablet from comment #3) > Comment on attachment 405875 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=405875&action=review > > > Source/WebKit/ChangeLog:9 > > + com.apple.private.webkit.use-xpc-endpoint on the iOS Simulator. Disable the entitlment check for simulator. > > r=me but before landing, could you try (or maybe you did already) to add > this entitlement to iOS simulator? > Looking at the code, I see XPCService-embedded-simulator.entitlements for > instance where we could try adding that entitlement. Good point! That did the trick. Thanks for reviewing!
Note You need to log in before you can comment on or make changes to this bug.