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

Issue 8044003: Fix a crash when loading a multipart html page. (Closed)

Created:
9 years, 3 months ago by tony
Modified:
9 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Erik does not do reviews, Paweł Hajdan Jr., mihaip+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Fix a crash when loading a multipart html page. When loading a multipart page, the load hasn't been committed yet so dataSource() is NULL. In that case, use the provisionalDataSource(). BUG=97592 TEST=covered by browser_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103027

Patch Set 1 #

Patch Set 2 : sort #

Total comments: 1

Patch Set 3 : fix quotes #

Total comments: 1

Patch Set 4 : check() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -3 lines) Patch
M chrome/browser/extensions/content_script_apitest.cc View 1 2 chunks +15 lines, -1 line 0 comments Download
M chrome/renderer/extensions/user_script_slave.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
tony
The sleep in the python server is a bit sad, but I can't seem to ...
9 years, 3 months ago (2011-09-23 23:39:32 UTC) #1
tony
+additional reviewer
9 years, 2 months ago (2011-09-26 19:19:47 UTC) #2
abarth-chromium
lgtm
9 years, 2 months ago (2011-09-26 20:06:31 UTC) #3
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/tony@chromium.org/8044003/1001
9 years, 2 months ago (2011-09-26 22:55:47 UTC) #4
commit-bot: I haz the power
Presubmit check for 8044003-1001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 2 months ago (2011-09-26 22:55:50 UTC) #5
tony
+some net owners (maybe net/tools should have an OWNERS file with *?)
9 years, 2 months ago (2011-09-26 23:00:42 UTC) #6
eroman
LGTM http://codereview.chromium.org/8044003/diff/1001/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (right): http://codereview.chromium.org/8044003/diff/1001/net/tools/testserver/testserver.py#newcode1318 net/tools/testserver/testserver.py:1318: test_name = "/multipart-slow" nit: for consistency use single ...
9 years, 2 months ago (2011-09-27 00:56:41 UTC) #7
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/tony@chromium.org/8044003/9001
9 years, 2 months ago (2011-09-27 02:04:25 UTC) #8
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-09-27 03:27:34 UTC) #9
Aaron Boodman
http://codereview.chromium.org/8044003/diff/9001/chrome/renderer/extensions/user_script_slave.cc File chrome/renderer/extensions/user_script_slave.cc (right): http://codereview.chromium.org/8044003/diff/9001/chrome/renderer/extensions/user_script_slave.cc#newcode244 chrome/renderer/extensions/user_script_slave.cc:244: DCHECK(data_source); You should CHECK this. If NULL, it will ...
9 years, 2 months ago (2011-09-27 06:00:47 UTC) #10
Aaron Boodman
Also, can we just always use provisionalDataSource(). Does it go away once committed?
9 years, 2 months ago (2011-09-27 06:02:14 UTC) #11
tony
On 2011/09/27 06:00:47, Aaron Boodman wrote: > http://codereview.chromium.org/8044003/diff/9001/chrome/renderer/extensions/user_script_slave.cc > File chrome/renderer/extensions/user_script_slave.cc (right): > > http://codereview.chromium.org/8044003/diff/9001/chrome/renderer/extensions/user_script_slave.cc#newcode244 ...
9 years, 2 months ago (2011-09-27 18:54:14 UTC) #12
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/tony@chromium.org/8044003/7003
9 years, 2 months ago (2011-09-27 20:25:13 UTC) #13
commit-bot: I haz the power
9 years, 2 months ago (2011-09-27 22:13:51 UTC) #14
Change committed as 103027

Powered by Google App Engine
This is Rietveld 408576698