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

Issue 25417007: Handle crash when submitting an injected form on an "image page". (Closed)

Created:
7 years, 2 months ago by Srini
Modified:
7 years, 2 months ago
Reviewers:
pdr., dglazkov1
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Handle crash when submitting an injected form on an "image document page". Document encoding isn't set in an image document page. When html+javascript are injected into the document page, which has forms that are submitted with values, it looks for the doc encoding type(which isn't set) to encode the form data. The patch fixes it by When encoding isn't set, derive it from default charset. BUG=226644 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159667

Patch Set 1 #

Total comments: 2

Patch Set 2 : Test cleanup and rebase code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -3 lines) Patch
A LayoutTests/fast/images/image-page-injected-script-crash.html View 1 1 chunk +46 lines, -0 lines 0 comments Download
A LayoutTests/fast/images/image-page-injected-script-crash-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/loader/FormSubmission.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/network/FormDataBuilder.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/network/FormDataBuilder.cpp View 1 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Srini
Hi, can you review my patch. It fixes bug 226644. I can rework if any ...
7 years, 2 months ago (2013-10-03 15:56:37 UTC) #1
Srini
On 2013/10/03 15:56:37, Srini wrote: > Hi, can you review my patch. It fixes bug ...
7 years, 2 months ago (2013-10-10 09:40:55 UTC) #2
pdr.
I let this fall off my plate--please make noise if you don't get reviews within ...
7 years, 2 months ago (2013-10-10 19:34:22 UTC) #3
Srini
On 2013/10/10 19:34:22, pdr wrote: > I let this fall off my plate--please make noise ...
7 years, 2 months ago (2013-10-10 19:51:05 UTC) #4
Srini
7 years, 2 months ago (2013-10-10 19:55:17 UTC) #5
pdr.
Thanks for updating the description. LGTM, this sounds reasonable to me. Please do clean up ...
7 years, 2 months ago (2013-10-10 23:15:24 UTC) #6
pdr.
Thanks for updating the description. LGTM, this sounds reasonable to me. Please do clean up ...
7 years, 2 months ago (2013-10-10 23:15:25 UTC) #7
Srini
On 2013/10/10 23:15:25, pdr wrote: > Thanks for updating the description. > > LGTM, this ...
7 years, 2 months ago (2013-10-11 14:03:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/srinivasa.ragavan.venkateswaran@intel.com/25417007/13001
7 years, 2 months ago (2013-10-15 10:23:25 UTC) #9
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 12:37:57 UTC) #10
Message was sent while issue was closed.
Change committed as 159667

Powered by Google App Engine
This is Rietveld 408576698