<?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>43802</bug_id>
          
          <creation_ts>2010-08-10 11:50:44 -0700</creation_ts>
          <short_desc>[GTK] WebBackForwardList&apos;s new_with_web_view should not be public</short_desc>
          <delta_ts>2010-08-18 10:47:43 -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>WebKitGTK</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>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gustavo Noronha (kov)">gustavo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>262803</commentid>
    <comment_count>0</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-10 11:50:44 -0700</bug_when>
    <thetext>Someone trying to use WebKitGTK+ through GObject Introspection bumped into a problem with WebBackForwardList - instantiating it using the default constructor fails badly because the WebKit object is not backed by an appropriate WebCore object. I think that is by design - the backforwardlist seems to only be useful when attached to a WebView anyway, and every WebView has its backforwardlist already. I think that means we want to do two things:

* Annotate WebBackForwardList as a type that should not allow instantiation - the WebView is the one who creates the only instances that should exist
* Deprecate webkit_web_back_forward_list_new_with_web_view as a publicly exported function, and make it private instead

Anyone knows better? I found no users of this API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262844</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-08-10 14:05:31 -0700</bug_when>
    <thetext>This sounds fine to me. What was the user trying to accomplish by the way? Perhaps our documentation isn&apos;t clear enough about whatever it was. I&apos;d be willing to improve it here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262904</commentid>
    <comment_count>2</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-10 16:39:07 -0700</bug_when>
    <thetext>This has come second-hand to me, so I couldn&apos;t find out what the user was trying to accomplish - he asked Tomeu (who works in introspection) for help, and Tomeu told me about it. Looks like the person who got confused with this is &apos;lucian&apos;, and hangs out on IRC, so it should be possible for us to ask him =)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266211</commentid>
    <comment_count>3</comment_count>
      <attachid>64731</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-18 10:31:21 -0700</bug_when>
    <thetext>Created attachment 64731
deprecate the function</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266215</commentid>
    <comment_count>4</comment_count>
      <attachid>64731</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-08-18 10:38:14 -0700</bug_when>
    <thetext>Comment on attachment 64731
deprecate the function

LGTM!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266231</commentid>
    <comment_count>5</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-18 10:47:43 -0700</bug_when>
    <thetext>Landed as r65615.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>64731</attachid>
            <date>2010-08-18 10:31:21 -0700</date>
            <delta_ts>2010-08-18 10:38:29 -0700</delta_ts>
            <desc>deprecate the function</desc>
            <filename>0001-Deprecate-webkit_web_back_forward_list_new_with_web_.patch</filename>
            <type>text/plain</type>
            <size>1781</size>
            <attacher name="Gustavo Noronha (kov)">gustavo</attacher>
            
              <data encoding="base64">RnJvbSA3ZjNiMmZjODZmNzlmNjJjNGE3M2NjZDAxZjg2MDlmODVkMDQyNGE2IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBHdXN0YXZvIE5vcm9uaGEgU2lsdmEgPGduc0Bnbm9tZS5vcmc+
CkRhdGU6IFdlZCwgMTggQXVnIDIwMTAgMTQ6MzA6MzcgLTAzMDAKU3ViamVjdDogW1BBVENIXSBE
ZXByZWNhdGUgd2Via2l0X3dlYl9iYWNrX2ZvcndhcmRfbGlzdF9uZXdfd2l0aF93ZWJfdmlldwoK
LS0tCiBXZWJLaXQvZ3RrL0NoYW5nZUxvZyAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAx
MiArKysrKysrKysrKysKIFdlYktpdC9ndGsvd2Via2l0L3dlYmtpdHdlYmJhY2tmb3J3YXJkbGlz
dC5jcHAgfCAgICAzICsrKwogMiBmaWxlcyBjaGFuZ2VkLCAxNSBpbnNlcnRpb25zKCspLCAwIGRl
bGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL1dlYktpdC9ndGsvQ2hhbmdlTG9nIGIvV2ViS2l0L2d0
ay9DaGFuZ2VMb2cKaW5kZXggZGFiZGRhYS4uM2Q2MjcyNSAxMDA2NDQKLS0tIGEvV2ViS2l0L2d0
ay9DaGFuZ2VMb2cKKysrIGIvV2ViS2l0L2d0ay9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAor
MjAxMC0wOC0xOCAgR3VzdGF2byBOb3JvbmhhIFNpbHZhICA8Z3VzdGF2by5ub3JvbmhhQGNvbGxh
Ym9yYS5jby51az4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAg
ICAgICBbR1RLXSBXZWJCYWNrRm9yd2FyZExpc3Q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6IGEgI1dlYktpdFdlYkJhY2tGb3J3YXJkTGlzdAor
ICoKKyAqIERlcHJlY2F0ZWQ6IDEuMy40OiBJbnN0YW5jZXMgb2YgI1dlYktpdFdlYkJhY2tGb3J3
YXJkTGlzdCBhcmUKKyAqIGNyZWF0ZWQgYW5kIG93bmVkIGJ5ICNXZWJLaXRXZWJWaWV3IGluc3Rh
bmNlcyBvbmx5LgogICovCiBXZWJLaXRXZWJCYWNrRm9yd2FyZExpc3QqIHdlYmtpdF93ZWJfYmFj
a19mb3J3YXJkX2xpc3RfbmV3X3dpdGhfd2ViX3ZpZXcoV2ViS2l0V2ViVmlldyogd2ViVmlldykK
IHsKLS0gCjEuNy4xCgo=
</data>
<flag name="review"
          id="53353"
          type_id="1"
          status="+"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>