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

Issue 16520007: Serialize <input type="image"> images (Closed)

Created:
7 years, 6 months ago by Tiger
Modified:
7 years, 4 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Serialize <input type="image"> images Add support for serializing images specified in an input tag with type image. This images is extracted in the PageSerializer and added as a SerializedResource. R= BUG=248867 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155598

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use toHTMLInputElement and avoid cast #

Patch Set 3 : Added test framework and a test #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Removed pre-commited image #

Patch Set 7 : Rebased #

Patch Set 8 : Revert image deletion #

Patch Set 9 : Add non-existing resources as error URLs #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -1 line) Patch
M Source/core/page/PageSerializer.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -1 line 0 comments Download
A Source/web/tests/PageSerializerTest.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +182 lines, -0 lines 0 comments Download
A Source/web/tests/data/pageserializer/input-image/input-image.html View 1 2 3 4 5 6 7 8 9 1 chunk +25 lines, -0 lines 0 comments Download
M Source/web/web.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Tiger
7 years, 6 months ago (2013-06-12 09:31:39 UTC) #1
abarth-chromium
Would you be willing to write a test? https://codereview.chromium.org/16520007/diff/1/Source/core/page/PageSerializer.cpp File Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/16520007/diff/1/Source/core/page/PageSerializer.cpp#newcode229 Source/core/page/PageSerializer.cpp:229: HTMLInputElement* ...
7 years, 6 months ago (2013-06-12 18:41:11 UTC) #2
Tiger
On 2013/06/12 18:41:11, abarth wrote: > Would you be willing to write a test? > ...
7 years, 6 months ago (2013-06-13 10:25:48 UTC) #3
abarth-chromium
On 2013/06/13 10:25:48, Gustav Tiger wrote: > Sure! I can't find any existing PageSerializer test, ...
7 years, 6 months ago (2013-06-13 19:57:20 UTC) #4
Tiger
On 2013/06/13 19:57:20, abarth wrote: > On 2013/06/13 10:25:48, Gustav Tiger wrote: > > Sure! ...
7 years, 6 months ago (2013-06-18 09:33:46 UTC) #5
abarth-chromium
LGTM Below are just some style nits about your test. Thanks! https://codereview.chromium.org/16520007/diff/9001/Source/WebKit/chromium/tests/PageSerializerTest.cpp File Source/WebKit/chromium/tests/PageSerializerTest.cpp (right): ...
7 years, 6 months ago (2013-06-18 09:42:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tiger@opera.com/16520007/14001
7 years, 6 months ago (2013-06-18 11:11:27 UTC) #7
commit-bot: I haz the power
Can't process patch for file Source/WebKit/chromium/tests/data/pageserializer/input-image/button.png. Binary file support is temporarilly disabled due to a ...
7 years, 6 months ago (2013-06-18 11:11:28 UTC) #8
abarth-chromium
@Gustav: Are you a committer? If not, I can land this CL manually for you.
7 years, 6 months ago (2013-06-18 18:44:31 UTC) #9
Tiger
On 2013/06/18 18:44:31, abarth wrote: > @Gustav: Are you a committer? If not, I can ...
7 years, 6 months ago (2013-06-19 07:01:06 UTC) #10
abarth-chromium
I had trouble running this test on my Mac: [----------] 1 test from PageSerializerTest [ ...
7 years, 6 months ago (2013-06-23 21:04:00 UTC) #11
abarth-chromium
I landed the binary file for you in https://codereview.chromium.org/17584002 You can try landing the rest ...
7 years, 6 months ago (2013-06-23 21:09:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tiger@opera.com/16520007/19001
7 years, 6 months ago (2013-06-24 19:32:34 UTC) #13
commit-bot: I haz the power
Can't process patch for file Source/WebKit/chromium/tests/data/pageserializer/input-image/button.png. Binary file support is temporarilly disabled due to a ...
7 years, 6 months ago (2013-06-24 19:32:36 UTC) #14
Tiger
On 2013/06/24 19:32:36, I haz the power (commit-bot) wrote: > Can't process patch for file ...
7 years, 6 months ago (2013-06-24 19:33:25 UTC) #15
Tiger
On 2013/06/23 21:09:33, abarth wrote: > I landed the binary file for you in https://codereview.chromium.org/17584002 ...
7 years, 6 months ago (2013-06-24 19:34:44 UTC) #16
abarth-chromium
On 2013/06/24 19:33:25, Tiger wrote: > Do I really need to create a separate CL, ...
7 years, 6 months ago (2013-06-24 20:02:41 UTC) #17
abarth-chromium
On 2013/06/24 19:34:44, Tiger wrote: > Thanks. That error is a bit strange.. not sure ...
7 years, 6 months ago (2013-06-24 20:02:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tiger@opera.com/16520007/35001
7 years, 5 months ago (2013-07-03 14:13:31 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=14878
7 years, 5 months ago (2013-07-03 14:40:08 UTC) #20
Tiger
On 2013/07/03 14:40:08, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 5 months ago (2013-07-09 14:28:30 UTC) #21
abarth-chromium
lgtm
7 years, 5 months ago (2013-07-09 16:33:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tiger@opera.com/16520007/54001
7 years, 5 months ago (2013-07-09 16:34:03 UTC) #23
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_python_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=15493
7 years, 5 months ago (2013-07-09 16:47:40 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tiger@opera.com/16520007/54001
7 years, 5 months ago (2013-07-09 17:29:40 UTC) #25
commit-bot: I haz the power
Retried try job too often on mac_layout_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout_rel&number=11972
7 years, 5 months ago (2013-07-09 18:32:15 UTC) #26
Tiger
On 2013/07/09 18:32:15, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 5 months ago (2013-07-10 09:39:39 UTC) #27
Tiger
On 2013/07/10 09:39:39, Tiger wrote: > On 2013/07/09 18:32:15, I haz the power (commit-bot) wrote: ...
7 years, 5 months ago (2013-07-10 15:51:42 UTC) #28
abarth-chromium
Dunno. You'll need to debug locally.
7 years, 5 months ago (2013-07-10 20:08:58 UTC) #29
Tiger
On 2013/07/10 20:08:58, abarth wrote: > Dunno. You'll need to debug locally. Potential fix here: ...
7 years, 5 months ago (2013-07-11 15:14:10 UTC) #30
Tiger
On 2013/07/11 15:14:10, Tiger wrote: > On 2013/07/10 20:08:58, abarth wrote: > > Dunno. You'll ...
7 years, 4 months ago (2013-08-06 08:37:13 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tiger@opera.com/16520007/82001
7 years, 4 months ago (2013-08-06 08:37:39 UTC) #32
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 09:56:28 UTC) #33
Message was sent while issue was closed.
Change committed as 155598

Powered by Google App Engine
This is Rietveld 408576698