Closed
Bug 814302
Opened 13 years ago
Closed 13 years ago
don't print to the console when an invalid selector is passed to mozMatchesSelector, etc.
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: dbaron, Assigned: dbaron)
References
()
Details
Attachments
(2 files)
1.38 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
2.41 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
When mozMatchesSelector and friends are passed a syntactically-invalid selector, we print to the console due to an NS_ENSURE_SUCCESS. Since this happens quite a bit (e.g., jQuery animations passing ":hidden" quite frequently), it would be better if this weren't console-spam.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #684303 -
Flags: review?(bzbarsky)
![]() |
||
Comment 2•13 years ago
|
||
Comment on attachment 684303 [details] [diff] [review]
Don't print to console when an invalid selector is passed to mozMatchesSelector.
r=me
Attachment #684303 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #693260 -
Flags: review?(bzbarsky)
![]() |
||
Comment 6•12 years ago
|
||
Comment on attachment 693260 [details] [diff] [review]
, part 2: Don't print to console when an invalid selector is passed to querySelector*.
r=me
Attachment #693260 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•12 years ago
|
||
part 2 landed: https://hg.mozilla.org/mozilla-central/rev/f6550d0960c8
You need to log in
before you can comment on or make changes to this bug.
Description
•