Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#10017 closed defect (patchwelcome)

acme accepts invalid syntax

Reported by: Les Owned by: dylan
Priority: low Milestone: future
Component: Query Version: 1.3.2
Keywords: dojo.query Cc:
Blocked By: Blocking:

Description

// This works fine
dojo.query('form>');

// This causes a syntax error in Chrome 4, FF 3.5 and Safari 4
document.querySelector('form>');

// This works fine
document.querySelector('form>*');

Change History (5)

comment:1 Changed 10 years ago by bill

Component: GeneralQuery
Owner: changed from anonymous to alex

comment:2 Changed 10 years ago by James Burke

Milestone: tbdfuture

comment:3 Changed 9 years ago by Chris Mitchell

Owner: changed from alex to dylan

please review/triage

comment:4 Changed 8 years ago by ben hockey

Priority: highlow
Resolution: patchwelcome
Status: newclosed

comment:5 Changed 8 years ago by bill

Summary: dojo.query accepts invalid syntaxacme accepts invalid syntax

Note that the new lite engine will throw an error, for example if you run this in the console after loading parser.html:

require(["dojo/query"], function(query){ console.log(query('form>')); })

If acme is loaded though there's still no error thrown.

Last edited 8 years ago by bill (previous) (diff)
Note: See TracTickets for help on using tickets.