Bug 12803 - Local+HTTP tests need preprocessing to work reliably
Summary: Local+HTTP tests need preprocessing to work reliably
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-18 02:59 PST by Alexey Proskuryakov
Modified: 2007-02-18 02:59 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2007-02-18 02:59:05 PST
The fix for <rdar://problem/4965133> has introduced a new class of HTTP tests - ones that are local files, but load resources via HTTP. This doesn't work if the HTTP port differs from the default 8000 one.

From LayoutTests/http/tests/local/file/url-sent-as-referer.html:

frameObj.contentWindow.document.write("<img src=\"http://127.0.0.1:8000/security/resources/showRefererImage.php\"/>");

I think that a possible fix would be to preprocess the tests in this directory to insert actual port numbers.

Also, please note that this test could be text-only.