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

Issue 8341076: Don't call DidLoadResourceFromMemoryCache() on data: URLs. (Closed)

Created:
9 years, 1 month ago by James Simonsen
Modified:
9 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Don't call DidLoadResourceFromMemoryCache() on data: URLs. These can cause crashes in IPC on large data URLs. Chrome has no use for the long data: URLs, so there's no reason to send them. BUG=95747 TEST=See bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107789

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment #

Total comments: 1

Patch Set 3 : Remove braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M content/renderer/render_view_impl.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
James Simonsen
Adam, I saw your name on SSLPolicy::OnRequestStarted(). These large data: URLs ultimately end up there. ...
9 years, 1 month ago (2011-10-27 19:36:00 UTC) #1
abarth-chromium
http://codereview.chromium.org/8341076/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/8341076/diff/1/content/renderer/render_view_impl.cc#newcode2770 content/renderer/render_view_impl.cc:2770: } I guess this is ok. It's kind of ...
9 years, 1 month ago (2011-10-27 20:36:35 UTC) #2
James Simonsen
On 2011/10/27 20:36:35, abarth wrote: > http://codereview.chromium.org/8341076/diff/1/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > > http://codereview.chromium.org/8341076/diff/1/content/renderer/render_view_impl.cc#newcode2770 > ...
9 years, 1 month ago (2011-10-27 20:42:07 UTC) #3
James Simonsen
On 2011/10/27 20:42:07, James Simonsen wrote: > I wouldn't mind not skipping didLoadResourceFromMemoryCache() for data: ...
9 years, 1 month ago (2011-10-27 20:43:11 UTC) #4
abarth-chromium
Not-crashing sounds like a solid reason to have this sort of hack. I missed that ...
9 years, 1 month ago (2011-10-27 20:44:50 UTC) #5
James Simonsen
Antoine or James: Can you please give an OWNERs lgtm for this? Adam has already ...
9 years, 1 month ago (2011-10-27 21:07:10 UTC) #6
jamesr
owners LGTM Could we use a whitelist of schemes here instead of a blacklist?
9 years, 1 month ago (2011-10-27 21:09:31 UTC) #7
piman
lgtm http://codereview.chromium.org/8341076/diff/3001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/8341076/diff/3001/content/renderer/render_view_impl.cc#newcode2772 content/renderer/render_view_impl.cc:2772: } We usually skip braces if we only ...
9 years, 1 month ago (2011-10-27 21:11:44 UTC) #8
James Simonsen
On 2011/10/27 21:11:44, piman wrote: > lgtm > > http://codereview.chromium.org/8341076/diff/3001/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > ...
9 years, 1 month ago (2011-10-27 21:15:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/8341076/1005
9 years, 1 month ago (2011-10-27 23:06:54 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-10-28 00:18:54 UTC) #11
Try job failure for 8341076-1005 (retry) on linux_rel for step "ui_tests".
It's a second try, previously, step "ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...

Powered by Google App Engine
This is Rietveld 408576698