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

Issue 2560693002: Disable form elements in MHTML (Closed)

Created:
4 years ago by jianli
Modified:
4 years ago
Reviewers:
tkent, carlosk
CC:
blink-reviews, chromium-reviews, dcheng, Dmitry Titov, kinuko+watch, mlamouri+watch-blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable form elements in MHTML MHTML is loaded in full sandboxing mode and thus the form cannot be submitted and the script execution is disabled. So we want to disable all form elements in order to give a clear indication to the user that the form cannot be worked on. BUG=669325 TEST=new tests added Committed: https://crrev.com/ea856e3748ce4836299faf081f96c0b37ee923b6 Cr-Commit-Position: refs/heads/master@{#437362}

Patch Set 1 : Patch #

Total comments: 4

Patch Set 2 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/FrameSerializer.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameSerializer.cpp View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameSerializer.cpp View 1 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp View 1 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/frameserialization/form.html View 1 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
jianli
4 years ago (2016-12-07 01:16:33 UTC) #4
carlosk
https://codereview.chromium.org/2560693002/diff/20001/third_party/WebKit/Source/web/WebFrameSerializer.cpp File third_party/WebKit/Source/web/WebFrameSerializer.cpp (right): https://codereview.chromium.org/2560693002/diff/20001/third_party/WebKit/Source/web/WebFrameSerializer.cpp#newcode179 third_party/WebKit/Source/web/WebFrameSerializer.cpp:179: for (const auto& attribute : element.attributes()) { Using one ...
4 years ago (2016-12-07 21:07:23 UTC) #8
jianli
https://codereview.chromium.org/2560693002/diff/20001/third_party/WebKit/Source/web/WebFrameSerializer.cpp File third_party/WebKit/Source/web/WebFrameSerializer.cpp (right): https://codereview.chromium.org/2560693002/diff/20001/third_party/WebKit/Source/web/WebFrameSerializer.cpp#newcode179 third_party/WebKit/Source/web/WebFrameSerializer.cpp:179: for (const auto& attribute : element.attributes()) { On 2016/12/07 ...
4 years ago (2016-12-07 22:10:48 UTC) #10
tkent
lgtm
4 years ago (2016-12-08 02:07:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560693002/40001
4 years ago (2016-12-08 02:24:48 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/81880)
4 years ago (2016-12-08 03:50:33 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2560693002/40001
4 years ago (2016-12-08 21:35:50 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-08 22:12:05 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-08 22:14:51 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ea856e3748ce4836299faf081f96c0b37ee923b6
Cr-Commit-Position: refs/heads/master@{#437362}

Powered by Google App Engine
This is Rietveld 408576698