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

Issue 124973004: Use data:, rather than about:blank as a substitute form action so the resulting blank page will hav… (Closed)

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

Description

Use data:, rather than about:blank as a substitute form action so the resulting blank page will have an unique origin. This is similar to the work we did in XSSAuditorDelegate for the mode=block case, where we used the SecurityOrigin::urlWithUniqueOrign constant. We can't use that here due to threading. Testing is covered by rebasing the existing test cases. BUG=331060 R=abarth@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164538

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M LayoutTests/http/tests/security/xssAuditor/form-action-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/security/xssAuditor/formaction-on-button-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/security/xssAuditor/formaction-on-input-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/XSSAuditor.cpp View 4 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Tom Sepez
Adam, please review.
6 years, 11 months ago (2014-01-06 19:18:20 UTC) #1
abarth-chromium
lgtm
6 years, 11 months ago (2014-01-06 22:23:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/124973004/1
6 years, 11 months ago (2014-01-06 22:24:47 UTC) #3
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 01:09:36 UTC) #4
Message was sent while issue was closed.
Change committed as 164538

Powered by Google App Engine
This is Rietveld 408576698