Closed
Bug 680366
Opened 15 years ago
Closed 15 years ago
handleInstallAddonDialog does not call domUtils.nodeCollector with root element
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: remus.pop, Assigned: remus.pop)
References
Details
(Whiteboard: [lib])
Attachments
(1 file, 2 obsolete files)
|
2.12 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
Currently in the Addons API we are using
var nodeCollector = new domUtils.nodeCollector(aController.window.document.documentElement);
But .documentElement is not the root node so we receive the following error:
file:///home/remuspop/Desktop/mozmillrepo3/mozmill-tests/lib/dom-utils.js:546\n@:0\n", "message": "The root element has to be specified."
| Assignee | ||
Comment 1•15 years ago
|
||
Removed .documentElement in order to call with the right root node.
Attachment #554329 -
Flags: review?(hskupin)
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → remus.pop
Comment 2•15 years ago
|
||
Comment on attachment 554329 [details] [diff] [review]
initial patch
> // Get the install button
> // XXX: Bug 671322
> // Using .documentElement until we can support the window object as parameter
> // for the nodeCollector constructor
>- var nodeCollector = new domUtils.nodeCollector(aController.window.document.documentElement);
>+ var nodeCollector = new domUtils.nodeCollector(aController.window.document);
I have fixed bug 671322 a couple of days ago. So we could now even use the window itself as parameter for the constructor. Can you please update the patch and remove the comments which are not necessary anymore? Thanks.
Attachment #554329 -
Flags: review?(hskupin) → review-
| Assignee | ||
Comment 3•15 years ago
|
||
Modified patch as requested.
Attachment #554329 -
Attachment is obsolete: true
Attachment #554337 -
Flags: review?(hskupin)
Updated•15 years ago
|
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86 → All
Updated•15 years ago
|
Attachment #554337 -
Flags: review?(hskupin) → review+
Comment 4•15 years ago
|
||
Comment on attachment 554337 [details] [diff] [review]
patch v2
This patch doesn't apply cleanly. Please update your working copy of the repository first. Also please only use r=hskupin for the reviewer part in the commit message.
Attachment #554337 -
Flags: review+ → review-
| Assignee | ||
Comment 5•15 years ago
|
||
Modified patch accordingly using a fresh copy of the repository.
Attachment #554337 -
Attachment is obsolete: true
Attachment #554375 -
Flags: review?(hskupin)
Updated•15 years ago
|
Summary: [shared-module] handleInstallAddonDialog does not call domUtils.nodeCollector with root element → handleInstallAddonDialog does not call domUtils.nodeCollector with root element
Updated•15 years ago
|
Attachment #554375 -
Flags: review?(hskupin) → review+
Comment 6•15 years ago
|
||
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/0f5622554f83 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/65e6d1d10c72 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/5b0721f10a89 (beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/5f4dbefa0622 (release)
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Component: Mozmill Shared Modules → Mozmill Tests
Updated•14 years ago
|
Whiteboard: [lib]
Updated•7 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•