Closed Bug 741598 Opened 12 years ago Closed 12 years ago

enable finding elements of child nodes

Categories

(Remote Protocol :: Marionette, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla14

People

(Reporter: mdas, Assigned: mdas)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Find child node support (obsolete) — Splinter Review
Waited to land this after marionette landed on m-c. This patch changes parts of marionette-elements so it can handle searching for child elements of a given node.
Attachment #611611 - Flags: review?(jgriffin)
Comment on attachment 611611 [details] [diff] [review]
Find child node support

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

Looks good!

::: testing/marionette/marionette-actors.js
@@ +270,5 @@
>     * @param boolean newSession
>     *        True if this is the first time we're talking to this browser
>     */
>    startBrowser: function MDA_startBrowser(win, newSession) {
>      let winId = this.addBrowser(win);

Looks like we can get rid of this variable assignment now, since 'winId' isn't used anywhere.

@@ +296,2 @@
>        //if there is a content listener, then we just wake it up
>        let winId = this.addBrowser(this.getCurrentWindow());

This variable assignment can go too.
Attachment #611611 - Flags: review?(jgriffin) → review+
Attachment #611611 - Attachment is obsolete: true
Attachment #611812 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/d0aa1570eb21

(http://blog.bonardo.net/2012/03/23/how-you-can-help-mozilla-inbound-sheriffs-when-pushing)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Assignee: nobody → mdas
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: