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

Issue 23946004: PNaCl Coordinator: Run StreamEnd RPC even if StreamChunk fails (Closed)

Created:
7 years, 3 months ago by Derek Schuff
Modified:
7 years, 3 months ago
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

PNaCl Coordinator: Run StreamEnd RPC even if StreamChunk fails If the StreamChunk RPC fails, the coordinator currently reports an error and aborts immedately, but this leaves no useful information for the user or developer. Instead, call the StreamEnd RPC which returns a string describing the error (but only if the RPC error was reported by the application on the other end, and not an error with the RPC itself). Also disable the PnaclErrorHandling test until the translator change in https://codereview.chromium.org/23753003/ rolls into Chrome (since it, combined with this change, will improve the error message reported by the translator). R=jvoung@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=3519 TEST=NaClBrowserTestPnacl.ErrorHandling Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222240

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -14 lines) Patch
M chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html View 1 1 chunk +8 lines, -6 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc View 1 1 chunk +18 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Derek Schuff
7 years, 3 months ago (2013-09-09 23:01:53 UTC) #1
Derek Schuff
+ncbray for chrome/test/nacl OWNERS
7 years, 3 months ago (2013-09-09 23:02:43 UTC) #2
Nick Bray (chromium)
Owners LGTM rubberstamp.
7 years, 3 months ago (2013-09-09 23:23:22 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/23946004/diff/1/chrome/test/nacl/nacl_browsertest.cc File chrome/test/nacl/nacl_browsertest.cc (right): https://codereview.chromium.org/23946004/diff/1/chrome/test/nacl/nacl_browsertest.cc#newcode123 chrome/test/nacl/nacl_browsertest.cc:123: DISABLED_PnaclErrorHandling) { You could also just change chrome/test/data/nacl/pnacl_error_handling/ to ...
7 years, 3 months ago (2013-09-09 23:24:28 UTC) #4
Derek Schuff
https://codereview.chromium.org/23946004/diff/1/chrome/test/nacl/nacl_browsertest.cc File chrome/test/nacl/nacl_browsertest.cc (right): https://codereview.chromium.org/23946004/diff/1/chrome/test/nacl/nacl_browsertest.cc#newcode123 chrome/test/nacl/nacl_browsertest.cc:123: DISABLED_PnaclErrorHandling) { On 2013/09/09 23:24:28, jvoung (cr) wrote: > ...
7 years, 3 months ago (2013-09-09 23:45:40 UTC) #5
jvoung (off chromium)
lgtm
7 years, 3 months ago (2013-09-09 23:51:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/23946004/12001
7 years, 3 months ago (2013-09-10 00:16:58 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 09:22:49 UTC) #8
Message was sent while issue was closed.
Change committed as 222240

Powered by Google App Engine
This is Rietveld 408576698