Bug 87728
Summary: | http/tests/cache/cancel-in-progress-load.html fails on several platforms | ||
---|---|---|---|
Product: | WebKit | Reporter: | Stephanie Lewis <slewis> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ap, darin, japhet, jbadics, jberlin, ossy, slewis |
Priority: | P2 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 87008 |
Stephanie Lewis
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Stephanie Lewis
Skipped on Mac in http://trac.webkit.org/projects/webkit/changeset/118753
Nate Chapin
(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.
Nate Chapin
(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.
Stephanie Lewis
Yes, it is WK2 only. Sorry, at the time I filed the bug the DRT bots were very far behind
Jessie Berlin
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?