Comment #6 on issue 1669 by [email protected]: querySelector handles selector sanitization poorly
http://code.google.com/p/google-caja/issues/detail?id=1669

Proposal,

Add to santizeSelector an optional parameter opt_onIncomprehensibleSubselector such that, when a sub-selector cannot be translated, we call opt_onIncomprehensibleSubselector(tokens) where tokens are the tokens for the sub-selector.

If opt_onIncomprehensibleSubselector is defined and returns false, sanitizeSelector stops processing sub-selectors and returns null.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to