Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 2418963002: Don't abort the MimeHandlerStreamManager stream if we receive a RenderProcessHostChanged notificati… (Closed)

Created:
4 years, 2 months ago by ananta
Modified:
4 years, 2 months ago
Reviewers:
lazyboy, jam
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't abort the MimeHandlerStreamManager stream if we receive a RenderProcessHostChanged notification for a null old host. This indicates that a subframe is being created. If we ignore the old_host here and set the new host pointer in the MimeHandlerStreamManager::EmbedderObserver class, this causes the stream to be aborted prematurely leading to embedded PDFs not loading. This should fix bug 650985 BUG=650985 Committed: https://crrev.com/b8cfa3b172b2741635247a8541e3251688aaa04f Cr-Commit-Position: refs/heads/master@{#425498}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add a check for whether the routing id and the pid of the old host is the same as the pair in Embed… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
ananta
4 years, 2 months ago (2016-10-14 00:13:43 UTC) #3
lazyboy
https://codereview.chromium.org/2418963002/diff/1/extensions/browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc File extensions/browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc (right): https://codereview.chromium.org/2418963002/diff/1/extensions/browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc#newcode235 extensions/browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc:235: // If the old_host is null, then it means ...
4 years, 2 months ago (2016-10-14 01:46:28 UTC) #8
ananta
I also added a null FrameTreeNode check in WebContents::FromFrameTreeNodeId function as I was hitting this ...
4 years, 2 months ago (2016-10-14 19:54:47 UTC) #9
lazyboy
lgtm.
4 years, 2 months ago (2016-10-14 20:22:26 UTC) #13
ananta
+jam for content
4 years, 2 months ago (2016-10-14 20:58:28 UTC) #17
jam
On 2016/10/14 20:58:28, ananta wrote: > +jam for content lgtm the description has two different ...
4 years, 2 months ago (2016-10-14 22:34:20 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/2418963002/20001
4 years, 2 months ago (2016-10-14 22:37:20 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-14 22:43:43 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 22:45:39 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b8cfa3b172b2741635247a8541e3251688aaa04f
Cr-Commit-Position: refs/heads/master@{#425498}

Powered by Google App Engine
This is Rietveld 408576698