Skip to main content

Bug Tracker

Side navigation

#13577 closed bug (fixed)

Opened March 07, 2013 09:50AM UTC

Closed May 06, 2013 07:42PM UTC

New minimal selector engine fails on textNode objects

Reported by: albertcasademont@gmail.com Owned by: timmywil
Priority: low Milestone: 2.0.1
Component: selector Version: 2.0b2
Keywords: Cc:
Blocked by: Blocking:
Description

textNode objects don't have the querySelectorAll function available. Maybe we could prevent querying on those types of nodes an avoid a js error?

http://jsfiddle.net/ueGbS/1/

Attachments (0)
Change History (4)

Changed March 13, 2013 01:29AM UTC by timmywil comment:1

component: unfiledselector
owner: → timmywil
priority: undecidedlow
status: newassigned

We'll just fail silently for text nodes.

Changed April 05, 2013 01:33AM UTC by dmethvin comment:2

milestone: None2.0

Changed April 29, 2013 03:18PM UTC by dmethvin comment:3

milestone: 2.02.0.1

Changed May 06, 2013 07:42PM UTC by Timmy Willison comment:4

resolution: → fixed
status: assignedclosed

Check nodeType of elements passed to selector-native's find. Fixes #13577.

Changeset: 8d3c0506c860e887d0005fd12da53f1d11ce2883