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

Issue 840103003: Remove nonsfi token workaround. (Closed)

Created:
5 years, 11 months ago by teravest
Modified:
5 years, 11 months ago
Reviewers:
Mark Seaborn, Tom Sepez
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove nonsfi token workaround. For Non-SFI plugins, NaCl executables retrieved via the "fast path" are no longer registered, and file tokens are no longer generated. This prevents unnecessary work from happening in the browser, and prevents tokens from being exposed to Non-SFI plugins. An earlier change was attempted that prevented using the "fast path" in the case of non-sfi plugins, but a performance regression was observed on ARC. BUG=394130 Committed: https://crrev.com/67c6eac492d4b26809bfc097e5fc303af74e2c02 Cr-Commit-Position: refs/heads/master@{#311758}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : fixes for mseaborn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -39 lines) Patch
M components/nacl/browser/nacl_file_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/browser/nacl_file_host.cc View 1 5 chunks +34 lines, -12 lines 0 comments Download
M components/nacl/browser/nacl_host_message_filter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/browser/nacl_host_message_filter.cc View 1 1 chunk +9 lines, -4 lines 0 comments Download
M components/nacl/common/nacl_host_messages.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/nacl/renderer/nexe_load_manager.h View 2 chunks +6 lines, -0 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 4 chunks +18 lines, -14 lines 0 comments Download
M ppapi/nacl_irt/manifest_service.cc View 2 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
teravest
5 years, 11 months ago (2015-01-12 17:03:42 UTC) #4
Mark Seaborn
https://codereview.chromium.org/840103003/diff/40001/components/nacl/browser/nacl_file_host.cc File components/nacl/browser/nacl_file_host.cc (right): https://codereview.chromium.org/840103003/diff/40001/components/nacl/browser/nacl_file_host.cc#newcode125 components/nacl/browser/nacl_file_host.cc:125: bool register_executable, How about calling this something like "enable_validation_caching"? ...
5 years, 11 months ago (2015-01-12 21:59:35 UTC) #5
teravest
https://codereview.chromium.org/840103003/diff/40001/components/nacl/browser/nacl_file_host.cc File components/nacl/browser/nacl_file_host.cc (right): https://codereview.chromium.org/840103003/diff/40001/components/nacl/browser/nacl_file_host.cc#newcode125 components/nacl/browser/nacl_file_host.cc:125: bool register_executable, On 2015/01/12 21:59:35, Mark Seaborn wrote: > ...
5 years, 11 months ago (2015-01-13 16:47:34 UTC) #6
Mark Seaborn
LGTM
5 years, 11 months ago (2015-01-15 00:15:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840103003/60001
5 years, 11 months ago (2015-01-15 03:22:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/35239)
5 years, 11 months ago (2015-01-15 03:26:02 UTC) #11
teravest
+tsepez for components/nacl/common/nacl_host_messages.h This adds a field to NaClHostMsg_OpenNaClExecutable which allows executables to be opened ...
5 years, 11 months ago (2015-01-15 15:35:25 UTC) #13
Tom Sepez
> In the case of Non-SFI mode, it's not necessary to generate a token and ...
5 years, 11 months ago (2015-01-15 17:16:28 UTC) #14
teravest
NaClProcessMsg_ResolveFileToken messages aren't even handled by the browser when nonsfi mode is used: https://code.google.com/p/chromium/codesearch#chromium/src/components/nacl/browser/nacl_process_host.cc&l=637 ...so ...
5 years, 11 months ago (2015-01-15 20:53:00 UTC) #15
Tom Sepez
> https://code.google.com/p/chromium/codesearch#chromium/src/components/nacl/browser/nacl_process_host.cc&l=637 > > ...so there's no good way to cover that case with a ...
5 years, 11 months ago (2015-01-15 21:27:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840103003/60001
5 years, 11 months ago (2015-01-15 21:38:11 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 11 months ago (2015-01-15 23:09:24 UTC) #19
commit-bot: I haz the power
5 years, 11 months ago (2015-01-15 23:10:46 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/67c6eac492d4b26809bfc097e5fc303af74e2c02
Cr-Commit-Position: refs/heads/master@{#311758}

Powered by Google App Engine
This is Rietveld 408576698