|
NaCl: Detect plugin crashes via EOF on Chromium IPC.
This change uses the OnChannelError() callback in TrustedPluginChannel to
detect that the channel between the renderer and NaCl processes has closed.
Previously, closure of the SRPC channel between those two processes was used to
indicate a plugin crash.
I wasn't sure at first that OnChannelError() would be called, but it appears to
be called reliably in the testing that I've done.
This change removes a call to ReportCrash() in ServiceRuntime::ReapLogs() since
ReportCrash() has become a no-op.
This change reenables the NaClBrowserTest*.Crash tests on Linux to ensure that
there's good coverage-- they seem to pass.
TEST=NaClBrowserTest*.Crash
BUG= 366334, 401105
R=mseaborn@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/f3e9e0cb8d6dc6f0a6f5cec9180c0e538e76c184
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+30 lines, -90 lines) |
Patch |
 |
M |
chrome/test/nacl/nacl_browsertest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/nacl/renderer/ppb_nacl_private_impl.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/nacl/renderer/trusted_plugin_channel.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/nacl/renderer/trusted_plugin_channel.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/api/private/ppb_nacl_private.idl
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/private/ppb_nacl_private.h
|
View
|
1
2
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/plugin.h
|
View
|
|
2 chunks |
+1 line, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/plugin.cc
|
View
|
|
6 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/service_runtime.h
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/service_runtime.cc
|
View
|
1
2
|
5 chunks |
+16 lines, -33 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
View
|
1
2
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 12 (2 generated)
|