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

Issue 11189140: Report exit status in debug stub, if tab is closed in chrome. (Closed)

Created:
8 years, 2 months ago by halyavin
Modified:
8 years, 1 month ago
Reviewers:
bsy, Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Report exit status in debug stub, if tab is closed in chrome. This is essential for testing debug stub in chrome since we can't determine if NaCl application is terminated successfully otherwise. BUG= http://code.google.com/p/chromium/issues/detail?id=157312 TEST= NaClDebugStubRspTest.Empty in http://codereview.chromium.org/11236025/ CL.

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M src/trusted/service_runtime/nacl_secure_service.c View 1 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
halyavin
8 years, 2 months ago (2012-10-23 12:19:00 UTC) #1
bsy
http://codereview.chromium.org/11189140/diff/1/src/trusted/service_runtime/nacl_secure_service.c File src/trusted/service_runtime/nacl_secure_service.c (right): http://codereview.chromium.org/11189140/diff/1/src/trusted/service_runtime/nacl_secure_service.c#newcode103 src/trusted/service_runtime/nacl_secure_service.c:103: NaClLog(4, "NaClSecureServiceThread: all channels closed, exiting.\n"); please add a ...
8 years, 2 months ago (2012-10-23 17:42:35 UTC) #2
Mark Seaborn
I don't understand why you need this. Can't your debug stub test just call exit() ...
8 years, 2 months ago (2012-10-23 17:57:12 UTC) #3
halyavin
On 2012/10/23 17:57:12, Mark Seaborn wrote: > I don't understand why you need this. Can't ...
8 years, 2 months ago (2012-10-23 18:42:32 UTC) #4
halyavin
http://codereview.chromium.org/11189140/diff/1/src/trusted/service_runtime/nacl_secure_service.c File src/trusted/service_runtime/nacl_secure_service.c (right): http://codereview.chromium.org/11189140/diff/1/src/trusted/service_runtime/nacl_secure_service.c#newcode103 src/trusted/service_runtime/nacl_secure_service.c:103: NaClLog(4, "NaClSecureServiceThread: all channels closed, exiting.\n"); On 2012/10/23 17:42:35, ...
8 years, 2 months ago (2012-10-23 18:42:40 UTC) #5
Mark Seaborn
On 23 October 2012 11:42, <halyavin@google.com> wrote: > On 2012/10/23 17:57:12, Mark Seaborn wrote: > ...
8 years, 2 months ago (2012-10-23 18:49:59 UTC) #6
Mark Seaborn
On 23 October 2012 11:42, <halyavin@google.com> wrote: > i don't think we should use 0 ...
8 years, 2 months ago (2012-10-23 18:56:00 UTC) #7
Mark Seaborn
On 23 October 2012 12:03, Andrey Khalyavin <halyavin@google.com> wrote: > This is not a forcible ...
8 years, 2 months ago (2012-10-23 19:07:48 UTC) #8
halyavin
Changing in gdb output. Before: Remote connection closed After: [Inferior 1 (Remote target) exited normally] ...
8 years, 2 months ago (2012-10-24 08:49:01 UTC) #9
halyavin
On 2012/10/23 17:57:12, Mark Seaborn wrote: > I don't understand why you need this. Can't ...
8 years, 1 month ago (2012-10-25 11:26:05 UTC) #10
halyavin
8 years, 1 month ago (2012-10-25 11:37:38 UTC) #11
I investigated how javascript deals with exit codes.

Javascript doesn't receive any messages when NaCl module exits. Exit code is
determined by exitCode property of the embed object. This property is set by
ReportExitStatus via SRPC i.e. in our situation exit code can't be reported.

Powered by Google App Engine
This is Rietveld 408576698