Bug 87728 - http/tests/cache/cancel-in-progress-load.html fails on several platforms
Summary: http/tests/cache/cancel-in-progress-load.html fails on several platforms
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks: 87008
  Show dependency treegraph
 
Reported: 2012-05-29 04:22 PDT by Stephanie Lewis
Modified: 2012-08-31 10:37 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephanie Lewis 2012-05-29 04:22:45 PDT
new test added in http://trac.webkit.org/changeset/118618.  It is failing on several platforms including Mac.
Results: http://build.webkit.org/results/Lion%20Release%20(WebKit2%20Tests)/r118742%20(7608)/results.html

--- /Volumes/Data/slave/lion-intel-release-tests-wk2/build/layout-test-results/http/tests/cache/cancel-in-progress-load-expected.txt
+++ /Volumes/Data/slave/lion-intel-release-tests-wk2/build/layout-test-results/http/tests/cache/cancel-in-progress-load-actual.txt
@@ -1,6 +1,2 @@
-http://127.0.0.1:8000/cache/resources/random.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/cache/resources/random.cgi, main document URL http://127.0.0.1:8000/cache/cancel-in-progress-load.html, http method GET> redirectResponse (null)
-<unknown> - didFinishLoading
-http://127.0.0.1:8000/cache/resources/random.cgi - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/cache/resources/random.cgi, http status code 200>
-<unknown> - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/navigation/resources/slow-resource.pl">
-http://127.0.0.1:8000/cache/resources/random.cgi - didFinishLoading
+CONSOLE MESSAGE: line 8: TypeError: 'undefined' is not a function (evaluating 'layoutTestController.dumpResourceLoadCallbacks()')
 

From https://bugs.webkit.org/show_bug.cgi?id=35377
Comment #10 From János Badics 2012-05-29 01:30:23 PST (-) [reply]
http/tests/cache/cancel-in-progress-load.html started failing on Qt from r118618:

-<unknown> - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/navigation/resources/slow-resource.pl">
+<unknown> - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code 5, failing URL "http://127.0.0.1:8000/navigation/resources/slow-resource.pl">

I will skip this test until it is fixed.
Comment #11 From János Badics 2012-05-29 02:23:32 PST (-) [reply]
http/tests/cache/cancel-in-progress-load.html has been skipped on Qt in
http://trac.webkit.org/changeset/118743
Comment #12 From Csaba Osztrogonac 2012-05-29 02:31:27 PST (-) [reply]
(In reply to comment #10)
> http/tests/cache/cancel-in-progress-load.html started failing on Qt from r118618:
> 
> -<unknown> - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/navigation/resources/slow-resource.pl">
> +<unknown> - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code 5, failing URL "http://127.0.0.1:8000/navigation/resources/slow-resource.pl">
> 
> I will skip this test until it is fixed.

It is a new test introduced in r118618 and fails on Qt. Please file a new bug report for it.
Comment #13 From Csaba Osztrogonac 2012-05-29 02:34:09 PST (-) [reply]
It fails on GTK too, check http://trac.webkit.org/changeset/118630 for details.
Comment 1 Stephanie Lewis 2012-05-29 04:36:50 PDT
Skipped on Mac in http://trac.webkit.org/projects/webkit/changeset/118753
Comment 2 Nate Chapin 2012-05-30 09:02:16 PDT
(In reply to comment #1)
> Skipped on Mac in http://trac.webkit.org/projects/webkit/changeset/118753

Was this mac failure by any chance webkit2-specific? I know wk2 hasn't implemented LayoutTestController::dumpResourceLoadCallbacks(), but otherwise the mac failure is very strange indeed.

Still looking at the qt failure.
Comment 3 Nate Chapin 2012-05-30 09:07:45 PDT
(In reply to comment #2)
> (In reply to comment #1)
> > Skipped on Mac in http://trac.webkit.org/projects/webkit/changeset/118753
> 
> Was this mac failure by any chance webkit2-specific? I know wk2 hasn't implemented LayoutTestController::dumpResourceLoadCallbacks(), but otherwise the mac failure is very strange indeed.
> 
> Still looking at the qt failure.

It appears that qt returns error code 5 for a cancelledError, while most other platforms return -999. So it looks like the qt diff is expected and should just be rebaselined if it hasn't been already.
Comment 4 Stephanie Lewis 2012-05-30 13:41:12 PDT
Yes, it is WK2 only.  Sorry, at the time I filed the bug the DRT bots were very far behind
Comment 5 Jessie Berlin 2012-08-31 10:37:39 PDT
This test was rolled out in http://trac.webkit.org/changeset/119918. I will update the Skipped list accordingly.

Should we close this bug and just track https://bugs.webkit.org/show_bug.cgi?id=35377?