Bug 13185 - Bug in DOM masks incorrect LayoutTest for HTMLImageObject.src()
Summary: Bug in DOM masks incorrect LayoutTest for HTMLImageObject.src()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2007-03-24 16:42 PDT by Nicholas Shanks
Modified: 2007-06-23 06:36 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2007-03-24 16:42:24 PDT
The file at LayoutTests/fast/dom/HTMLImageElement/image-src-absolute-url.html changes the base URL and is supposed to check that the src URL changed to reflect that. Instead it checks against the old base URL seemingly in error, and furthermore, the url is not updated as would be expected. The two problems cancel each other out, which is why the test passes.

Specifically, the first of the two "after" lines currently reads:

SUCCESS (document.images[0].src = file:///does/not/exist/test.jpg)

I believe it should read:

FAILURE (document.images[0].src = file:///also/does/not/exist/test.jpg)

The reason that this is failing will need to be identified and fixed and the layout test updated.
Comment 1 Alexey Proskuryakov 2007-06-23 06:36:09 PDT
This test verifies that the behavior matches WinIE - is there a reason why it should be different?