<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>170413</bug_id>
          
          <creation_ts>2017-04-03 13:20:14 -0700</creation_ts>
          <short_desc>Need way of creating WKContextConfiguration with legacy options</short_desc>
          <delta_ts>2017-04-03 15:23:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ansh Shukla">ansh_shukla</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1293765</commentid>
    <comment_count>0</comment_count>
    <who name="Ansh Shukla">ansh_shukla</who>
    <bug_when>2017-04-03 13:20:14 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1293857</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2017-04-03 15:23:05 -0700</bug_when>
    <thetext>(In reply to Ansh Shukla from comment #0)
&gt; Safari uses WKContext to configure its web processes. Under the covers, the
&gt; default initializer we use for WKContext uses
&gt; ProcessPoolConfiguration::createWithLegacyOptions() to instantiate some
&gt; configuration options. We would like to change some of these options and,
&gt; consequently, need support for first getting a WKContextConfiguration with
&gt; these legacy options.
&gt; 
&gt; As a result, we want to add WKContextConfigurationCreateWithLegacyOptions()
&gt; API which simply returns the ProcessPoolConfiguration created with legacy
&gt; options.

You can probably emulate this by just creating a WKContext the way you are, casting it to a WKProcessPool, and grabbing the _WKProcessPoolConfiguration.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>