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

Issue 53213002: Handle resource fetch failure in TextTrackLoader::load (Closed)

Created:
7 years, 1 month ago by philipj_slow
Modified:
7 years, 1 month ago
Reviewers:
Nate Chapin
CC:
blink-reviews, nessy, vcarbune.chromium, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@refTextTrackLoaderClient
Visibility:
Public.

Description

Handle resource fetch failure in TextTrackLoader::load It's not clear when this can happen, even after looking at ResourceFetcher::requestResource I was unable to produce a test case which would hit this code path. However, given that we are null-checking already, we might as well handle it correctly. BUG=313287 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161040

Patch Set 1 #

Total comments: 3

Patch Set 2 : blank lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M Source/core/loader/TextTrackLoader.cpp View 1 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
philipj_slow
7 years, 1 month ago (2013-10-30 19:58:55 UTC) #1
Nate Chapin
On 2013/10/30 19:58:55, philipj wrote: Have you tried loading an http:// text track from a ...
7 years, 1 month ago (2013-10-30 20:01:42 UTC) #2
philipj_slow
https://codereview.chromium.org/53213002/diff/1/Source/core/loader/TextTrackLoader.cpp File Source/core/loader/TextTrackLoader.cpp (right): https://codereview.chromium.org/53213002/diff/1/Source/core/loader/TextTrackLoader.cpp#newcode144 Source/core/loader/TextTrackLoader.cpp:144: m_resource->addClient(this); Too many blank lines around here? http://www.chromium.org/blink/coding-style doesn't ...
7 years, 1 month ago (2013-10-30 20:01:51 UTC) #3
Nate Chapin
https://codereview.chromium.org/53213002/diff/1/Source/core/loader/TextTrackLoader.cpp File Source/core/loader/TextTrackLoader.cpp (right): https://codereview.chromium.org/53213002/diff/1/Source/core/loader/TextTrackLoader.cpp#newcode144 Source/core/loader/TextTrackLoader.cpp:144: m_resource->addClient(this); On 2013/10/30 20:01:51, philipj wrote: > Too many ...
7 years, 1 month ago (2013-10-30 20:06:09 UTC) #4
philipj_slow
https://codereview.chromium.org/53213002/diff/1/Source/core/loader/TextTrackLoader.cpp File Source/core/loader/TextTrackLoader.cpp (right): https://codereview.chromium.org/53213002/diff/1/Source/core/loader/TextTrackLoader.cpp#newcode144 Source/core/loader/TextTrackLoader.cpp:144: m_resource->addClient(this); On 2013/10/30 20:06:10, Nate Chapin wrote: > On ...
7 years, 1 month ago (2013-10-30 20:13:57 UTC) #5
Nate Chapin
LGTM, so long as you feel you've done your due diligence in trying to trigger ...
7 years, 1 month ago (2013-10-30 20:21:04 UTC) #6
philipj_slow
On 2013/10/30 20:21:04, Nate Chapin wrote: > LGTM, so long as you feel you've done ...
7 years, 1 month ago (2013-10-30 20:28:28 UTC) #7
philipj_slow
On 2013/10/30 20:28:28, philipj wrote: > On 2013/10/30 20:21:04, Nate Chapin wrote: > > LGTM, ...
7 years, 1 month ago (2013-10-30 20:34:19 UTC) #8
Nate Chapin
On 2013/10/30 20:34:19, philipj wrote: > On 2013/10/30 20:28:28, philipj wrote: > > On 2013/10/30 ...
7 years, 1 month ago (2013-10-30 20:38:08 UTC) #9
philipj_slow
I've tried for another 20 minutes to come up with some input for which getNonEmptyURLAttribute() ...
7 years, 1 month ago (2013-10-31 07:58:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/53213002/80001
7 years, 1 month ago (2013-10-31 07:58:22 UTC) #11
commit-bot: I haz the power
7 years, 1 month ago (2013-10-31 09:23:30 UTC) #12
Message was sent while issue was closed.
Change committed as 161040

Powered by Google App Engine
This is Rietveld 408576698