NEW 170413
Need way of creating WKContextConfiguration with legacy options
https://bugs.webkit.org/show_bug.cgi?id=170413
Summary Need way of creating WKContextConfiguration with legacy options
Ansh Shukla
Reported 2017-04-03 13:20:14 PDT
Safari uses WKContext to configure its web processes. Under the covers, the default initializer we use for WKContext uses ProcessPoolConfiguration::createWithLegacyOptions() to instantiate some configuration options. We would like to change some of these options and, consequently, need support for first getting a WKContextConfiguration with these legacy options. As a result, we want to add WKContextConfigurationCreateWithLegacyOptions() API which simply returns the ProcessPoolConfiguration created with legacy options.
Attachments
Sam Weinig
Comment 1 2017-04-03 15:23:05 PDT
(In reply to Ansh Shukla from comment #0) > Safari uses WKContext to configure its web processes. Under the covers, the > default initializer we use for WKContext uses > ProcessPoolConfiguration::createWithLegacyOptions() to instantiate some > configuration options. We would like to change some of these options and, > consequently, need support for first getting a WKContextConfiguration with > these legacy options. > > As a result, we want to add WKContextConfigurationCreateWithLegacyOptions() > API which simply returns the ProcessPoolConfiguration created with legacy > options. You can probably emulate this by just creating a WKContext the way you are, casting it to a WKProcessPool, and grabbing the _WKProcessPoolConfiguration.
Note You need to log in before you can comment on or make changes to this bug.