<?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>59235</bug_id>
          
          <creation_ts>2011-04-22 14:38:47 -0700</creation_ts>
          <short_desc>[Chromium] createWindow() does not pass url to createView() in the case of a FrameLoadRequest</short_desc>
          <delta_ts>2013-04-11 13:41:48 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>0</everconfirmed>
          <reporter name="anthony taranto">anthony.taranto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>emerick</cc>
    
    <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>japhet</cc>
    
    <cc>magreenblatt</cc>
    
    <cc>schenney</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>391078</commentid>
    <comment_count>0</comment_count>
    <who name="anthony taranto">anthony.taranto</who>
    <bug_when>2011-04-22 14:38:47 -0700</bug_when>
    <thetext>The url is available if createWindow is called as a result of a NavigationRequest, but not for all cases of FrameLoadRequest.

This patch always passes url to createView() in all cases.

This is required to fix this Chromium Embedded Framework issue:

http://code.google.com/p/chromiumembedded/issues/detail?id=5

Previous mailing list discussion:

http://groups.google.com/group/chromium-dev/browse_thread/thread/6597b4b28e564a95</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391086</commentid>
    <comment_count>1</comment_count>
      <attachid>90765</attachid>
    <who name="anthony taranto">anthony.taranto</who>
    <bug_when>2011-04-22 14:43:54 -0700</bug_when>
    <thetext>Created attachment 90765
fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392994</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-26 16:24:44 -0700</bug_when>
    <thetext>This is chromium API, right?  That means you need fishd sign-off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>393009</commentid>
    <comment_count>3</comment_count>
      <attachid>90765</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2011-04-26 16:29:54 -0700</bug_when>
    <thetext>Comment on attachment 90765
fix

View in context: https://bugs.webkit.org/attachment.cgi?id=90765&amp;action=review

&gt; Source/WebKit/chromium/public/WebViewClient.h:90
&gt; +                                const WebURL&amp; url,

what does this &quot;url&quot; refer to, and under what conditions does it differ from request.url()?

it is very confusing for this method to be passed two &quot;urls&quot;... which one is meaningful to
the implementer of the createView method?  perhaps we should make sure that request.url()
is always meaningful?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>393010</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2011-04-26 16:30:10 -0700</bug_when>
    <thetext>R- because there is no explanation for why these URLs are different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402177</commentid>
    <comment_count>5</comment_count>
    <who name="Marshall Greenblatt">magreenblatt</who>
    <bug_when>2011-05-11 12:44:54 -0700</bug_when>
    <thetext>Darin, the problem is that r.resourceRequest() is null in ChromeClientImpl::createWindow() when clicking a link with target=&quot;_blank&quot;. It might be best to create a request object in ChromeClientImpl::createWindow() with just the URL component from NavigationAction and pass that as the request argument to WebViewClient::createView().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>874116</commentid>
    <comment_count>6</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-11 13:41:48 -0700</bug_when>
    <thetext>Assuming fixed or no longer relevant as this is an old issue. Reopen in crbug if that&apos;s not true.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>90765</attachid>
            <date>2011-04-22 14:43:54 -0700</date>
            <delta_ts>2011-04-26 16:29:54 -0700</delta_ts>
            <desc>fix</desc>
            <filename>webkit-59235.patch</filename>
            <type>text/plain</type>
            <size>2571</size>
            <attacher name="anthony taranto">anthony.taranto</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNv
dXJjZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCShyZXZpc2lvbiA4NDY4NSkKKysrIFNvdXJj
ZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUg
QEAKKzIwMTEtMDQtMjIgIEFudGhvbnkgVGFyYW50byAgPGFudGhvbnkudGFyYW50b0BnbWFpbC5j
b20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgW0No
cm9taXVtXSBjcmVhdGVXaW5kb3coKSBkb2VzIG5vdCBwYXNzIHVybCB0byBjcmVhdGVWaWV3KCkg
aW4gdGhlIGNhc2Ugb2YgYSBGcmFtZUxvYWRSZXF1ZXN0CisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD01OTIzNQorCisgICAgICAgICogcHVibGljL1dlYlZp
ZXdDbGllbnQuaDoKKyAgICAgICAgKFdlYktpdDo6V2ViVmlld0Ns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S5pc0VtcHR5KCkpCiAgICAgICAgIHJlcXVlc3QuYmluZChy
LnJlc291cmNlUmVxdWVzdCgpKTsKICAgICBXZWJWaWV3SW1wbCogbmV3VmlldyA9IHN0YXRpY19j
YXN0PFdlYlZpZXdJbXBsKj4oCi0gICAgICAgIG1fd2ViVmlldy0+Y2xpZW50KCktPmNyZWF0ZVZp
ZXcoV2ViRnJhbWVJbXBsOjpmcm9tRnJhbWUoZnJhbWUpLCByZXF1ZXN0LCBmZWF0dXJlcywgci5m
cmFtZU5hbWUoKSkpOworICAgICAgICBtX3dlYlZpZXctPmNsaWVudCgpLT5jcmVhdGVWaWV3KFdl
YkZyYW1lSW1wbDo6ZnJvbUZyYW1lKGZyYW1lKSwgYWN0aW9uLnVybCgpLCByZXF1ZXN0LCBmZWF0
dXJlcywgci5mcmFtZU5hbWUoKSkpOwogICAgIGlmICghbmV3VmlldykKICAgICAgICAgcmV0dXJu
IDA7CiAK
</data>
<flag name="review"
          id="83533"
          type_id="1"
          status="-"
          setter="fishd"
    />
          </attachment>
      

    </bug>

</bugzilla>