Closed Bug 1087615 Opened 10 years ago Closed 10 years ago

test_bug347174_write.html should always used an uncached image

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: seth, Assigned: seth)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

test_bug347174_write.html was specifically designed to use an uncached image; it achieved that by adding a different query parameter, based on the time, to the image URI for every load. Unfortunately, it loaded that image from the network, which bug 628970 fixed. Bug 628970 also removed the query parameter, making the test just load 'image.png'. Since 'image.png' is also used by other tests that run before this one, we switched from a situation where test_bug347174_write.html *never* used a cached image to a situation where it *always* used a cached image. This worked due to a quirk in the exact order that ImageLib delivered notifications. In bug 910441, I'm trying to clean up ImageLib's notification code, and to make that possible I need to restore this test's older, correct behavior.
This patch restores the original behavior from before bug 628970. (But maintains bug 628970's change of using a local image instead of a network load.)
Attachment #8509791 - Flags: review?(mounir)
Attachment #8509791 - Flags: review?(mounir) → review+
Thanks for the review! I rebased the patch.
Attachment #8509791 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: