Bug 115203 - [WK2] Multiple tests in http/tests/download fail because of incorrect custom policy delegate implementation
Summary: [WK2] Multiple tests in http/tests/download fail because of incorrect custom ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2013-04-25 13:58 PDT by Alexey Proskuryakov
Modified: 2013-04-25 14:01 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-04-25 13:58:47 PDT
These tests are currently skipped on WebKit2:

http/tests/download/default-encoding.html
http/tests/download/inherited-encoding-form-submission-result.html
http/tests/download/inherited-encoding.html

An immediate reason for the failure is that testRunner.waitForPolicyDelegate() overrides "permissive" delegate mode that's just set via testRunner.setCustomPolicyDelegate(). However, with that is fixed, tests results are still wrong.

From (very) brief debugging, it appears that WebKitTestRunner substitutes entirely different delegates than DumpRenderTree.