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

Issue 2656433002: Adding tests for two recent regressions due to RenderViewImpl's Swapped Out State (Closed)

Created:
3 years, 11 months ago by EhsanK
Modified:
3 years, 10 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mac-reviews_chromium.org, site_isolation_reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding tests for two recent regressions due to RenderViewImpl's Swapped Out State Due to RenderViewImpl::GetWebWidget() returning a WebViewImpl in a swapped out state, a few regressions were caused where an incoming IPC (which should not have been sent by the browser in the first place) where handled incorrectly by the renderer and lead to renderer crashes. This CL will add a test to verify such IPCs do not lead to a crash. This test should be removed later one when we make sure such IPCs will never be sent by the browser in the given state (perhaps then the test should move to the browser side and verify we do not send those IPCs). Some of the IPCs involved relate to IME and TextInputClientMac. BUG=664890, 668106, 669219, 680438, 683098 Review-Url: https://codereview.chromium.org/2656433002 Cr-Commit-Position: refs/heads/master@{#448175} Committed: https://chromium.googlesource.com/chromium/src/+/9f554a235d98d212b0612cc8188c13de2884fed9

Patch Set 1 #

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M content/renderer/render_view_browsertest_mac.mm View 1 3 chunks +49 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (23 generated)
EhsanK
Hello Avi, Please take a look. Thanks! FYI: My understanding is that we still send ...
3 years, 11 months ago (2017-01-23 19:45:28 UTC) #5
Avi (use Gerrit)
yay tests! LGTM
3 years, 10 months ago (2017-02-03 21:39:47 UTC) #10
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/2656433002/40001
3 years, 10 months ago (2017-02-05 01:20:34 UTC) #17
commit-bot: I haz the power
Failed to apply patch for content/renderer/render_view_browsertest_mac.mm: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-05 01:24:37 UTC) #19
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/2656433002/60001
3 years, 10 months ago (2017-02-05 04:15:54 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-05 04:35:00 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9f554a235d98d212b0612cc8188c...

Powered by Google App Engine
This is Rietveld 408576698