RESOLVED WONTFIX 13185
Bug in DOM masks incorrect LayoutTest for HTMLImageObject.src()
https://bugs.webkit.org/show_bug.cgi?id=13185
Summary Bug in DOM masks incorrect LayoutTest for HTMLImageObject.src()
Nicholas Shanks
Reported 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.
Attachments
Alexey Proskuryakov
Comment 1 2007-06-23 06:36:09 PDT
This test verifies that the behavior matches WinIE - is there a reason why it should be different?
Ahmad Saleem
Comment 2 2022-08-05 14:40:32 PDT
https://github.com/WebKit/WebKit/blob/main/LayoutTests/fast/dom/HTMLImageElement/image-src-absolute-url.html#L31 This test exist and Comment 01 refers that it is intentional behaviour. Is anything needed here or this can be marked as "RESOLVED INVALID" or "RESOLVED WONTFIX"? Thanks!
Alexey Proskuryakov
Comment 3 2022-08-14 14:49:38 PDT
The test as is passes in Firefox and Chrome too, so it's not harmful. Nicholas may be right in that the test is incorrect, but at this point, investigating it seems unnecessary.
Note You need to log in before you can comment on or make changes to this bug.