If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Needs for a waitForImageLoaded function to wait until an image has been loaded

RESOLVED FIXED

Status

Testing Graveyard
Mozmill
RESOLVED FIXED
9 years ago
a year ago

People

(Reporter: whimboo, Unassigned)

Tracking

Dependency tree / graph

Details

(Reporter)

Description

9 years ago
For now there is no way to easily call a function which waits until an image has been completely loaded. For now I do that in following way:

// Image has to be loaded first
controller.waitForEval("subject.complete === true", 1000, 100, img.getNode());
controller.assertImageLoaded(img);

It would be nice to have a wait function to simplify the code, like:

controller.waitForImageLoaded(img);

Comment 1

9 years ago
To maintain syntactical cleanliness I have called the method controller.waitForImage (waitForEval,waitForElement) and it is now available in trunk and 1.0.x, Committed revision 327.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Reporter)

Updated

9 years ago
Blocks: 476171
(Reporter)

Updated

9 years ago
Blocks: 475719
(Assignee)

Updated

a year ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.