Closed Bug 914528 Opened 12 years ago Closed 12 years ago

Mutt test failure "Unkown entity 'cmd.neverActivate.label'" in js/testElementsLib/testMenuList.js under ESR17

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(firefox-esr17 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr17 --- fixed

People

(Reporter: andrei, Assigned: AndreeaMatei)

References

Details

(Whiteboard: [mozmill-2.0][ateamtrack: p=mozmill q=2013q3 m=3])

Attachments

(1 file, 1 obsolete file)

This failure is only affects ESR17, presumably we don't have the required dtd there.
Failing code was introduce as part of bug 871441 Given that this only affects ESR17, should we try to find a workaround for it? Just skip the test for ESR17?
Flags: needinfo?(andreea.matei)
It's nothing to worry too much about. We might want to have a gracefully fallback in place to make it work with ESR17.
Assignee: nobody → andreea.matei
Status: NEW → ASSIGNED
Attached patch patch v1 (obsolete) — Splinter Review
Beside the dtd issue, Esr17 doesn't have the xul menulist like the other branches, in Plugins. Has only a "Disable" button. I wrapped the checks in an if block, so if the node exists we proceed, otherwise we skip that part of the code.
Attachment #802274 - Flags: review?(hskupin)
Attachment #802274 - Flags: review?(dave.hunt)
Flags: needinfo?(andreea.matei)
Comment on attachment 802274 [details] [diff] [review] patch v1 Review of attachment 802274 [details] [diff] [review]: ----------------------------------------------------------------- Looks like a good approach. Lets get the nit done and we should be able to land it. ::: mutt/mutt/tests/js/testElementsLib/testMenuList.js @@ +87,5 @@ > getAnonymousElementByAttribute(parent, "anonid", "state-menulist"); > var menulist = new elementslib.Elem(node); > > + // ESR17 does not have a xul menulist in Addons Manager - Plugins, neither dtds > + if (node) { Please also move the menulist declaration inside the if condition. It doesn't seem to be used somewhere else.
Attachment #802274 - Flags: review?(hskupin)
Attachment #802274 - Flags: review?(dave.hunt)
Attachment #802274 - Flags: review-
Attached patch patch v2Splinter Review
Correct. Moved that line inside the if block.
Attachment #802274 - Attachment is obsolete: true
Attachment #802932 - Flags: review?(hskupin)
Attachment #802932 - Flags: review?(dave.hunt)
Comment on attachment 802932 [details] [diff] [review] patch v2 Review of attachment 802932 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, and I will get it landed. Please make sure to file a new bug, so we can have a local XUL testcase.
Attachment #802932 - Flags: review?(hskupin)
Attachment #802932 - Flags: review?(dave.hunt)
Attachment #802932 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-2.0][ateamtrack: p=mozmill q=2013q3 m=3]
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: