Marionette throws JavaScriptException instead of InvalidSelectorException

RESOLVED FIXED in mozilla36

Status

defect
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: automatedtester, Assigned: automatedtester)

Tracking

unspecified
mozilla36
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Attachment #8525008 - Attachment is obsolete: true
Attachment #8618650 - Flags: review+
You need to log in before you can comment on or make changes to this bug.