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)
Testing Graveyard
Mozmill
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)
2.19 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
This failure is only affects ESR17, presumably we don't have the required dtd there.
Reporter | ||
Comment 1•12 years ago
|
||
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)
Comment 2•12 years ago
|
||
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
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
status-firefox-esr17:
--- → affected
Assignee | ||
Comment 3•12 years ago
|
||
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 4•12 years ago
|
||
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-
Assignee | ||
Comment 5•12 years ago
|
||
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 6•12 years ago
|
||
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+
Comment 7•12 years ago
|
||
Landed as:
https://github.com/mozilla/mozmill/compare/a1a917b0b67f...24d636bddb98 (master)
https://github.com/mozilla/mozmill/commit/63385049e4c06e4ffc261ec0d511e64beedac1e6 (hotfix-2.0)
Sadly I also landed an older version of the fix from bug 885221, which I backed out on master:
https://github.com/mozilla/mozmill/commit/6afb0ea70eb28d3ed17f2978313c6a5b45f60a0b
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-2.0][ateamtrack: p=mozmill q=2013q3 m=3]
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•