<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Add API to create ephemeral web views and deprecate the private browsing setting"
   href="https://bugs.webkit.org/show_bug.cgi?id=167370">bug 167370</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #299599 Flags</td>
           <td>review?
           </td>
           <td>review+
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Add API to create ephemeral web views and deprecate the private browsing setting"
   href="https://bugs.webkit.org/show_bug.cgi?id=167370#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Add API to create ephemeral web views and deprecate the private browsing setting"
   href="https://bugs.webkit.org/show_bug.cgi?id=167370">bug 167370</a>
              from <span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=299599&amp;action=diff" name="attach_299599" title="Patch">attachment 299599</a> <a href="attachment.cgi?id=299599&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=299599&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=299599&amp;action=review</a>

Looking forward to the Epiphany implementation. ;)

Nice tests.

<span class="quote">&gt; Source/WebKit2/ChangeLog:23
&gt; +        (webkitWebViewConstructed): Check if the WebView is or should be ephemeral and create a non persistent website
&gt; +        data manager if it's an ephemeral web view in a non ephemeral web context.</span >

What is the advantage to allowing users to create ephemeral web views in non-ephemeral web contexts? Is this really well-supported and unlikely to cause problems?

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:506
&gt; + * Get whether a #WebKitWebContext is ephemeral.</span >

It would probably be advantageous to expose this implementation detail, so the user has a better clue what is going on:

&quot;Get whether a #WebKitWebContext uses an ephemeral #WebKitWebsiteDataManager&quot;

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:508
&gt; + * Returns: %TRUE if &#64;context is ephemeral or %FALSE otherwise.</span >

You forgot the Since tag here.

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:1002
&gt; +     * created with an ephemeral #WebKitWebContext will be ephemeral automatically,</span >

Another comma splice. Last time I told you to use a semicolon. This one would work better split it into two sentences.

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:322
&gt; +     * handles all websites data as non persistent, and nothing will be written to the client</span >

non-persistent

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:426
&gt;   * Returns: the base directory for Website data, or %NULL if</span >

Preexisting bug: it does not have (allow-none) so bindings are broken. You won't be able to null-check it from vala, for example.

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:447
&gt;   * Returns: the base directory for Website cache, or %NULL if</span >

(allow-none)

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:468
&gt; + * Returns: the directory where local storage data is stored or %NULL if &#64;manager is ephemeral.</span >

(allow-none)

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:491
&gt; + * Returns: the directory where HTTP disk cache is stored or %NULL if &#64;manager is ephemeral.</span >

(allow-none)

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:516
&gt; + * Returns: the directory where offline web application cache is stored or %NULL if &#64;manager is ephemeral.</span >

(allow-none)

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:539
&gt; + * Returns: the directory where IndexedDB databases are stored or %NULL if &#64;manager is ephemeral.</span >

(allow-none)

<span class="quote">&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebsiteDataManager.cpp:562
&gt; + * Returns: the directory where WebSQL databases are stored or %NULL if &#64;manager is ephemeral.</span >

(allow-none)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>