Closed Bug 789904 Opened 13 years ago Closed 13 years ago

QuerySelector doesn't set result to null on successful call with no matches

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: jacek, Assigned: jacek)

Details

Attachments

(1 file)

Attached patch fix v1.0Splinter Review
When returning NS_OK, a valid return value should be set. My patch sets it also on error (which shouldn't matter).
Attachment #659682 - Flags: review?(bzbarsky)
Comment on attachment 659682 [details] [diff] [review] fix v1.0 r=me
Attachment #659682 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: