<?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>42283</bug_id>
          
          <creation_ts>2010-07-14 13:21:26 -0700</creation_ts>
          <short_desc>Define setPrivateBrowsingEnabled()</short_desc>
          <delta_ts>2010-08-06 20:37:53 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>41801</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Hogan">robert</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>251390</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-07-14 13:21:26 -0700</bug_when>
    <thetext>&apos;Private Browsing&apos; actually doesn&apos;t have a formal definition in WebCore - at least not in the code.

WebKit on the other hand is not short of possible definitions:


    \value PrivateBrowsingEnabled Private browsing prevents WebKit from
        recording visited pages in the history and storing web page icons. This is disabled by default.


    @abstract If private browsing is enabled, WebKit will not store information
    about sites the user visits.

    * Whether to enable private browsing mode. Private browsing mode prevents
    * WebKit from updating the global history and storing any session
    * information e.g., on-disk cache, as well as suppressing any messages
    * from being printed into the (javascript) console.

Ports are at liberty to implement their own additional behaviour to private browsing, and clients even more.

Define &apos;private browsing&apos; in WebCore so that it is not subject to feature creep (such as protecting against remote tracking) and potential confusion (what clients brand &apos;private browsing&apos; may not be within the scope of WebCore&apos;s definition of private browsing).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252436</commentid>
    <comment_count>1</comment_count>
      <attachid>61789</attachid>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-07-16 03:06:18 -0700</bug_when>
    <thetext>Created attachment 61789
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252480</commentid>
    <comment_count>2</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-07-16 06:35:10 -0700</bug_when>
    <thetext>good stuff!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256562</commentid>
    <comment_count>3</comment_count>
      <attachid>61789</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-07-27 07:15:55 -0700</bug_when>
    <thetext>Comment on attachment 61789
Patch

WebCore/ChangeLog:6
 +  
Please remove these extra spaces before landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261643</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-08-06 20:37:53 -0700</bug_when>
    <thetext>Committed r64893: &lt;http://trac.webkit.org/changeset/64893&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>61789</attachid>
            <date>2010-07-16 03:06:18 -0700</date>
            <delta_ts>2010-07-27 07:15:55 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-42283-20100716110615.patch</filename>
            <type>text/plain</type>
            <size>1673</size>
            <attacher name="Robert Hogan">robert</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MWJjOWYyOWY0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KIAo=
</data>
<flag name="review"
          id="49873"
          type_id="1"
          status="+"
          setter="abarth"
    />
    <flag name="commit-queue"
          id="50916"
          type_id="3"
          status="-"
          setter="abarth"
    />
          </attachment>
      

    </bug>

</bugzilla>