Closed Bug 892415 Opened 11 years ago Closed 11 years ago

Failure "TypeError: forwardButton.removeEventListener is not a function" in testToolbar/testBackForwardButtons.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(firefox22 fixed, firefox23 fixed, firefox24 fixed, firefox25 fixed, firefox-esr17 fixed)

RESOLVED FIXED
Tracking Status
firefox22 --- fixed
firefox23 --- fixed
firefox24 --- fixed
firefox25 --- fixed
firefox-esr17 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Keywords: regression, Whiteboard: [mozmill-test-failure])

Attachments

(2 files, 1 obsolete file)

This failure has been introduced by bug 704140. It's kinda obvious that this cannot work. Not sure why I only see this in Mozmill 2.0 but not Mozmill 1.5.

  function onTransitionEnd() {
    transitionFinished = true;
->  forwardButton.removeEventListener("transitionend", onTransitionEnd, false);
  }

Here we just miss to call getNode().
Attached patch Patch v1 (obsolete) — Splinter Review
Attachment #773872 - Flags: review?(andreea.matei)
Attached patch Patch v1.1Splinter Review
Ups, that was a broken patch.
Attachment #773872 - Attachment is obsolete: true
Attachment #773872 - Flags: review?(andreea.matei)
Attachment #773877 - Flags: review?(andreea.matei)
Comment on attachment 773877 [details] [diff] [review]
Patch v1.1

Review of attachment 773877 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #773877 - Flags: review?(andreea.matei) → review+
Attachment #775055 - Flags: review?(andreea.matei)
Comment on attachment 775055 [details] [diff] [review]
Patch (backport release)

Review of attachment 775055 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #775055 - Flags: review?(andreea.matei) → review+
Landed backport patch:
http://hg.mozilla.org/qa/mozmill-tests/rev/e06bbeae3a0e (release)
http://hg.mozilla.org/qa/mozmill-tests/rev/aded8c768c00 (esr17)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: