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

Issue 346623003: Reverse order of tests in eraseDangerousAttributeIfInjected(). (Closed)

Created:
6 years, 6 months ago by Tom Sepez
Modified:
6 years, 6 months ago
Reviewers:
abarth-chromium
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, dstockwell, Eric Willigers, Mike Lawther (Google), rjwright, shans, Steve Block, Timothy Loh
Project:
blink
Visibility:
Public.

Description

Reverse order of tests in eraseDangerousAttributeIfInjected(). The semicolon-separated case must come first to prevent it from being handled in the ordinary manner when the string starts with javascript:, since it need not obey the normal termination rules when it is first split by semicolons. BUG=384077 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176478

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
A + LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-2.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-2-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/XSSAuditor.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tom Sepez
Adam, please review. I woke up this morning and realized I'd done this wrong. The ...
6 years, 6 months ago (2014-06-18 19:37:15 UTC) #1
abarth-chromium
ok
6 years, 6 months ago (2014-06-19 02:06:27 UTC) #2
abarth-chromium
lgtm
6 years, 6 months ago (2014-06-19 02:06:32 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/346623003/1
6 years, 6 months ago (2014-06-19 02:07:11 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 02:12:21 UTC) #5
Message was sent while issue was closed.
Change committed as 176478

Powered by Google App Engine
This is Rietveld 408576698