[Webkit-unassigned] [Bug 32521] [Qt] LayoutTests/http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html fails in manual test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 14:10:59 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32521





--- Comment #16 from Robert Hogan <robert at roberthogan.net>  2009-12-22 14:10:58 PST ---
(In reply to comment #14)
> (From update of attachment 45348 [details])
> GET is a "simple" method as far as cross-origin XMLHttpRequest is concerned, so
> its behavior is different from what we'd get with FOO.
> 
> This just looks like a QNetworkReplyHandler bug to me - all HTTP method names
> are equally valid.

OK, so even with the changes in place from my previous response Qt will still
throw an exception due to the unrecognized HTTP method - which in
makeCrossOriginAccessRequestWithPreflight() is 'OPTIONS'. QtWebKit doesn't
support anything apart from GET/POST/PUT/HEAD/DELETE. I guess this test should
remain skipped in Qt until it explicitly supports the OPTIONS method - until it
does it won't hit the code this test is meant to validate.

All that said, the more I look at the code the more I think the proper result
should include a 'Got exception', though for different reasons to the one Qt is
producing it. The test is meant to hit preflightFailure() at some point and
that will cause the test to catch an exception. Presumably libsoup in GTK can
handle OPTIONS appropriately, I'll fix the gtk port to disable
universalAccessFromFiles during the test run and see what happens there.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list