| Summary: | Remove generic parameter serialization fallback | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||
| Component: | WebKit2 | Assignee: | Brent Fulgham <bfulgham> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bfulgham, ddkilzer, ggaren, pvollan, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 13 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 189709, 201810 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Brent Fulgham
2020-04-14 12:04:52 PDT
Created attachment 396447 [details]
Patch
The api-ios test failure looks relevant: u'TestWebKitAPI.WebKit.WKWebProcessPlugInWithoutRegisteredCustomClass (In reply to Brent Fulgham from comment #3) > The api-ios test failure looks relevant: > > u'TestWebKitAPI.WebKit.WKWebProcessPlugInWithoutRegisteredCustomClass Oh! This is behaving correctly, now that we are denying serialization of unregistered classes. The related WKWebProcessPlugInWithRegisteredCustomClass works as expected. I'll update the test expectation. Created attachment 396471 [details]
Patch
Comment on attachment 396471 [details]
Patch
r=me
How did we determine that clients have stopped using the legacy code path?
Committed r260134: <https://trac.webkit.org/changeset/260134> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396471 [details]. (In reply to Geoffrey Garen from comment #6) > Comment on attachment 396471 [details] > Patch > > r=me > > How did we determine that clients have stopped using the legacy code path? In 2017 I reached out to the relevant clients (since injected bundles are SPI) and worked with them to stop using the old code path. Foundation now generates simulated crashes any time NSKeyedUnarchiver uses 'NSObject class' as the root for unarchiving so it was possible to see what wasn't updated yet. |