<?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>54731</bug_id>
          
          <creation_ts>2011-02-18 01:15:23 -0800</creation_ts>
          <short_desc>webkit-gtk-1.2.7: fails testwebdatasources</short_desc>
          <delta_ts>2011-02-19 11:02:23 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>54414</dup_id>
          
          <bug_file_loc>https://bugs.gentoo.org/show_bug.cgi?id=355387</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="Dustin Polke">webkitbugs.20.dsurawicz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gnome</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>353471</commentid>
    <comment_count>0</comment_count>
      <attachid>82933</attachid>
    <who name="Dustin Polke">webkitbugs.20.dsurawicz</who>
    <bug_when>2011-02-18 01:15:23 -0800</bug_when>
    <thetext>Created attachment 82933
Use &apos;http://www.webkit.org&apos; in testwebdatasource.c

I was asked to report this upstream, original bug report downstream see $URL.
Cited from downstream bug:
&quot;&quot;&quot;
/webkit/webdatasource/get_initial_request: OK
/webkit/webdatasource/api: *** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.3.0/work/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize:
assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
execvp: No such file or directory
�j��execvp: No such file or directory
�j��java version &quot;1.6.0_20&quot;
OpenJDK Runtime Environment (IcedTea6 1.9.5) (Gentoo build 1.6.0_20-b20)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
**
ERROR:WebKit/gtk/tests/testwebdatasource.c:100:notify_load_status_cb: assertion
failed (webkit_network_request_get_uri(request) == &quot;http://webkit.org/&quot;):
(&quot;http://www.webkit.org/&quot; == &quot;http://webkit.org/&quot;)
Aborted

This test fails because http://webkit.org redirects to http://www.webkit.org.
Thus, the request (http://webkit.org) returns the redirected uri
http://www.webkit.org. Will attach patch to run test against
http://www.webkit.org to fix this.
&quot;&quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354196</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-02-19 11:02:23 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 54414 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>82933</attachid>
            <date>2011-02-18 01:15:23 -0800</date>
            <delta_ts>2011-02-18 01:15:23 -0800</delta_ts>
            <desc>Use &apos;http://www.webkit.org&apos; in testwebdatasource.c</desc>
            <filename>webkit-gtk-1.2.7-fix-testwebdatasource-test.patch</filename>
            <type>text/plain</type>
            <size>1600</size>
            <attacher name="Dustin Polke">webkitbugs.20.dsurawicz</attacher>
            
              <data encoding="base64">LS0tIFdlYktpdC9ndGsvdGVzdHMvdGVzdHdlYmRhdGFzb3VyY2UuYy5vcmlnCisrKyBXZWJLaXQv
Z3RrL3Rlc3RzL3Rlc3R3ZWJkYXRhc291cmNlLmMKQEAgLTk3LDEzICs5NywxMyBAQCBzdGF0aWMg
dm9pZCBub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