Closed Bug 583333 Opened 14 years ago Closed 14 years ago

error "timeout is not defined" in controller.js

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: harth, Assigned: whimboo)

References

Details

(Keywords: regression, Whiteboard: mozmill-1.4.2+)

Attachments

(1 file)

Get timeout is not defined", "lineNumber": 428, "stack": "([object Object],true)@resource://mozmill/modules/controller.js:428 when I run: mozmill -b ~/Shiretoko.app/ --show-errors -t ~/mozmill-tests/firefox/testTabbedBrowsing/testOpenInForeground.js The line in question does have a 'timeout' that appears to not be initialized anywhere. Regressed with this commit: http://github.com/mozautomation/mozmill/commit/45213c70e89c05d8a728aa9ca293ffe1fad7b660
Summary: error "Get timeout is not defined" in controller.js → error "timeout is not defined" in controller.js
Whiteboard: mozmill-1.4.2?
Dammit, that's true and there are also other instances: - this.waitForEval("subject.checked == " + state, 500, 100, element); + this.waitFor(function() { + return element.checked == state; + }, timeout, interval); We should simply revert it to 500, 100. Meanwhile I feel really bad about all those regressions my new feature has been introduced and no-one has seen during the review cycle. :/
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Blocks: 579943
Keywords: regression
Attached patch Patch v1Splinter Review
These are all instances I can find.
Attachment #461658 - Flags: review?(harthur)
Comment on attachment 461658 [details] [diff] [review] Patch v1 cool, thanks Henrik.
Attachment #461658 - Flags: review?(harthur) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: mozmill-1.4.2? → mozmill-1.4.2+
Verified by running testTabbedBrowsing/testOpenInForeground.js
Status: RESOLVED → VERIFIED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: