<?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>47609</bug_id>
          
          <creation_ts>2010-10-13 11:48:38 -0700</creation_ts>
          <short_desc>[Qt] Fix http/tests/misc/redirect-to-external-url.html</short_desc>
          <delta_ts>2014-02-03 03:10:25 -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>WebKit Qt</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>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>47687</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Hogan">robert</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>jwieczorek</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>293571</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-10-13 11:48:38 -0700</bug_when>
    <thetext>Support the test in FrameLoaderClientQt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293574</commentid>
    <comment_count>1</comment_count>
      <attachid>70642</attachid>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-10-13 11:51:09 -0700</bug_when>
    <thetext>Created attachment 70642
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294285</commentid>
    <comment_count>2</comment_count>
    <who name="Jakub Wieczorek">jwieczorek</who>
    <bug_when>2010-10-14 12:32:58 -0700</bug_when>
    <thetext>&gt; [Qt] Fix http/tests/misc/redirect-to-external-url.html

Nah, you&apos;re not fixing it, really.
I recommend looking at what other ports are doing but special-casing a specific situation from a test case inside WebKit is not a solution at all. Not to mention that theoretically each scheme can be supported by the embedder via an extended QNAM.

If this patch was OK, we could go ahead and reduce the failing test list to 0 with similar changes, but in real-world situations QtWebKit would still not work as expected and you&apos;d not be aware of that due to the tests happily passing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294287</commentid>
    <comment_count>3</comment_count>
      <attachid>70642</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-14 12:38:34 -0700</bug_when>
    <thetext>Comment on attachment 70642
Patch

Clearing flags on attachment: 70642

Committed r69795: &lt;http://trac.webkit.org/changeset/69795&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294288</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-14 12:38:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294294</commentid>
    <comment_count>5</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-14 12:42:47 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; &gt; [Qt] Fix http/tests/misc/redirect-to-external-url.html
&gt; 
&gt; Nah, you&apos;re not fixing it, really.
&gt; I recommend looking at what other ports are doing but special-casing a specific situation from a test case inside WebKit is not a solution at all. Not to mention that theoretically each scheme can be supported by the embedder via an extended QNAM.
&gt; 
&gt; If this patch was OK, we could go ahead and reduce the failing test list to 0 with similar changes, but in real-world situations QtWebKit would still not work as expected and you&apos;d not be aware of that due to the tests happily passing.

Oh. should we roll it out?

it is one command on IRC :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294300</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-10-14 12:58:37 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; &gt; [Qt] Fix http/tests/misc/redirect-to-external-url.html
&gt; 
&gt; Nah, you&apos;re not fixing it, really.
&gt; I recommend looking at what other ports are doing but special-casing a specific situation from a test case inside WebKit is not a solution at all. Not to mention that theoretically each scheme can be supported by the embedder via an extended QNAM.

Chromium special-cases it. My understanding is that the test is for WebCore functionality, PolicyChecker::continueAfterNavigationPolicy(PolicyAction policy and the canHandleRequest() is expected to fail.

I agree that it would be better to remove the DRT special-casing we have in FrameLoaderClientQt, along with all the other DRT specific messages in there. But that&apos;s a different problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294307</commentid>
    <comment_count>7</comment_count>
    <who name="Jakub Wieczorek">jwieczorek</who>
    <bug_when>2010-10-14 13:18:55 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #2)
&gt; &gt; &gt; [Qt] Fix http/tests/misc/redirect-to-external-url.html
&gt; &gt; 
&gt; &gt; Nah, you&apos;re not fixing it, really.
&gt; &gt; I recommend looking at what other ports are doing but special-casing a specific situation from a test case inside WebKit is not a solution at all. Not to mention that theoretically each scheme can be supported by the embedder via an extended QNAM.
&gt; 
&gt; Chromium special-cases it. My understanding is that the test is for WebCore functionality, PolicyChecker::continueAfterNavigationPolicy(PolicyAction policy and the canHandleRequest() is expected to fail.

OK. I don&apos;t think you should follow Chromium in this case though. Other ports don&apos;t seem to do this and yet, they pass this test, so apparently they can get the necessary information from the network stack. QtWebKit, due to its abstract network interface, cannot.

Moreover, if a specific behavior of canHandleRequest() is an assumption in this test case and yet that behavior never occurs in QtWebKit, what&apos;s the point of testing this anyway?

I think all this test deserves is a good comment in the skipped list.

&gt; I agree that it would be better to remove the DRT special-casing we have in FrameLoaderClientQt, along with all the other DRT specific messages in there. But that&apos;s a different problem.

Yes. I&apos;d suggest we don&apos;t make the situation even worse though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294564</commentid>
    <comment_count>8</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-14 21:11:55 -0700</bug_when>
    <thetext>Rolled out by bug 47687.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>974998</commentid>
    <comment_count>9</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:10:25 -0800</bug_when>
    <thetext>=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>70642</attachid>
            <date>2010-10-13 11:51:09 -0700</date>
            <delta_ts>2010-10-14 12:38:34 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-47609-20101013195106.patch</filename>
            <type>text/plain</type>
            <size>3653</size>
            <attacher name="Robert Hogan">robert</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCBiZDU5ZDMwOTczY2YzNzkxNTliMDU4NDcyYzNkZjQ1NmJmYjA3NDZjLi43YTdkNzU0
MTJiODdiMmMzM2NkODIwOGE0YTU4MjUxNmZjOTE0MWVkIDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0
cy9DaGFuZ2VMb2cKKysrIGIvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTUgQEAK
KzIwMTAtMTAtMTMgIFJvYmVydCBIb2dhbiAgPHJvYmVydEB3ZWJraXQub3JnPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QU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