Closed Bug 1101172 Opened 10 years ago Closed 10 years ago

Marionette throws JavaScriptException instead of InvalidSelectorException

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: automatedtester, Assigned: automatedtester)

References

Details

Attachments

(1 file, 1 obsolete file)

When someone passes in this wrong type like "IWantCheese" selector type instead of xpath/css/id we should throw InvalidSelectorException instead of JavaScriptException
Blocks: 945729
/r/775 - Bug 1101172: Correct Exception thrown when passing invalid element search type; r=jgriffin

Pull down this commit:

hg pull review -r 96bc57d04defdd362b8c8d28289b1e37c540c50b
Attachment #8525008 - Flags: review?(jgriffin)
/r/775 - Bug 1101172: Correct Exception thrown when passing invalid element search type; r=jgriffin

Pull down this commit:

hg pull review -r 96bc57d04defdd362b8c8d28289b1e37c540c50b
Attachment #8525008 - Flags: review?(jgriffin) → review+
https://hg.mozilla.org/mozilla-central/rev/8681a6421803
Assignee: nobody → dburns
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Attachment #8525008 - Attachment is obsolete: true
Attachment #8618650 - Flags: review+
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.