Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 210033008: Don't include trailing comments in javascript snippets. (Closed)

Created:
6 years, 9 months ago by Tom Sepez
Modified:
6 years, 9 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Visibility:
Public.

Description

Don't include trailing comment characters in javascript snippets. This trailing "/*" (and so forth) do not contribute very much to the signal, and not using them allows us to catch some interesting corner cases involving server-side page post-processors. BUG=355479 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169967

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
A + LayoutTests/http/tests/security/xssAuditor/script-tag-with-injected-comment.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/http/tests/security/xssAuditor/script-tag-with-injected-comment-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/XSSAuditor.cpp View 1 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tom Sepez
Adam, please review.
6 years, 9 months ago (2014-03-24 22:46:14 UTC) #1
abarth-chromium
lgtm
6 years, 9 months ago (2014-03-25 03:01:39 UTC) #2
Tom Sepez
The CQ bit was checked by tsepez@chromium.org
6 years, 9 months ago (2014-03-25 17:04:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/210033008/20001
6 years, 9 months ago (2014-03-25 17:05:06 UTC) #4
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 17:37:52 UTC) #5
Message was sent while issue was closed.
Change committed as 169967

Powered by Google App Engine
This is Rietveld 408576698