Bug Tracker

Ticket #4270 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

Remove the use of nonstandard properties leftContext and rightContext

Reported by: metaweta Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:


Removes the dependence on the nonstandard RegExp properties leftContext and rightContext. Also removes the dependence on lastIndex, which can't be exposed in Caja because it is static shared state, which leaks information across gadget boundaries.


sizzle.diff Download (2.1 KB) - added by metaweta 7 years ago.

Change History

comment:1 Changed 7 years ago by metaweta

Sorry, this patch only removes rightContext. Will follow up with a patch removing leftContext and lastIndex.

comment:2 Changed 7 years ago by metaweta

OK, patch corrected. The attached patch now does what the original description says.

Changed 7 years ago by metaweta

comment:3 Changed 6 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.