Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(247)

Issue 11507048: Added testcase for issue 1804 -- extraneous commas and brackets in selectors (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by MikeSamuel
Modified:
12 years, 7 months ago
Reviewers:
felix8a
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

https://code.google.com/p/google-caja/issues/detail?id=1804 > lexCss/sanitizeCssSelectors will not handle the following cases correctly: > "a," or ",a" or "," -- drops comma silently > "bad[" -- throws an internal error rather than invoking > opt_onUntranslatableSelector Submitted @ r5502

Patch Set 1 #

Patch Set 2 : Added testcase for issue 1804 -- extraneous commas and brackets in selectors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M src/com/google/caja/plugin/sanitizecss.js View 1 2 chunks +3 lines, -1 line 0 comments Download
M tests/com/google/caja/plugin/CssLexerTest.java View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/com/google/caja/plugin/csslexer-test.js View 1 1 chunk +8 lines, -0 lines 0 comments Download
M tests/com/google/caja/plugin/sanitizecss_test.js View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 3
MikeSamuel
12 years, 7 months ago (2013-07-24 15:00:16 UTC) #1
MikeSamuel
https://code.google.com/p/google-caja/issues/detail?id=1804 > lexCss/sanitizeCssSelectors will not handle the following cases correctly: > "a," or ",a" or ...
12 years, 7 months ago (2013-07-24 17:52:08 UTC) #2
felix8a
12 years, 7 months ago (2013-07-24 17:54:54 UTC) #3
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b