Bug 53490

Summary: [Qt] fast/loader/onload-policy-ignore-for-frame.html fails on Qt bot
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: aroben, benjamin
Priority: P2 Keywords: LayoutTestFailure, Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Csaba Osztrogonác 2011-02-01 06:29:03 PST
This bug isn't Qt related bug. But now it fails only on Qt, I don't know why.

http://www.example.com has been redirected to http://www.iana.org/domains/example/
with a "302 Found" HTTP redirection sice few days ago. It made this test "fail",
because of an additional in DRT output, but correct line:

 Policy delegate: attempt to load http://www.example.com/ with navigation type 'other'
+Policy delegate: attempt to load http://www.iana.org/domains/example/ with navigation type 'other'
 Test for window.onload never fires if page contains an <iframe> with a bad scheme or whose load is cancelled by returning null from resource load delegate's willSendRequest. If the test passes, you should see the word "PASSED" below.
 
 PASSED
Comment 1 Csaba Osztrogonác 2011-02-01 06:31:02 PST
Adam, you committed this test long time ago.
Have you got any idea why does it fail only on Qt?
Comment 2 Csaba Osztrogonác 2011-02-01 06:33:39 PST
(In reply to comment #0)
> because of an additional in DRT output, but correct line:
typo :)

because of an additional, but correct line in DRT output:
Comment 3 Csaba Osztrogonác 2011-02-01 06:40:49 PST
I added a Qt specific expected file to make buildbot happier: http://trac.webkit.org/changeset/77247

If we found the fix for this bug, we can remove it.
Comment 4 Adam Roben (:aroben) 2011-02-01 06:43:57 PST
(In reply to comment #1)
> Adam, you committed this test long time ago.
> Have you got any idea why does it fail only on Qt?

I don't know why this would only affect Qt. Can you set a breakpoint where the second line of text is printed and see why it's being called? Ignoring the first load should cause the redirect never to happen.
Comment 5 Jocelyn Turcotte 2014-02-03 03:13:43 PST
=== 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.