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

Issue 16296005: Split pnacl and nacl mime types (Closed)

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

Description

Split pnacl and nacl mime types Manifest parsing now knows which mime type was used, and does not allow pnacl to be used from nacl manifests or vice-versa. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3440 R=bradnelson@chromium.org, jam@chromium.org, jvoung@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205329 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205855

Patch Set 1 #

Patch Set 2 : Remove dead code. #

Total comments: 9

Patch Set 3 : Finish integration test fixes. #

Total comments: 6

Patch Set 4 : Add JS test for mime type. #

Total comments: 2

Patch Set 5 : Code review fixes #

Patch Set 6 : Final nits #

Patch Set 7 : Second try (after revert) #

Patch Set 8 : After (hopefully) last rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -190 lines) Patch
M chrome/common/chrome_content_client.cc View 1 2 3 4 5 6 3 chunks +19 lines, -5 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 2 chunks +59 lines, -39 lines 0 comments Download
M chrome/test/data/nacl/exit_status/pm_exit_status_test.html View 1 2 1 chunk +19 lines, -10 lines 0 comments Download
M chrome/test/data/nacl/nacl_load_test.html View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/data/nacl/nacl_test_data.gyp View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/nacl/pnacl_error_handling/pnacl_error_handling.html View 4 chunks +4 lines, -0 lines 0 comments Download
A chrome/test/data/nacl/pnacl_mime_type/pnacl_mime_type.html View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/test/data/nacl/pnacl_nmf_options/pnacl_options.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html View 1 1 chunk +17 lines, -5 lines 0 comments Download
M chrome/test/data/nacl/progress_events/ppapi_progress_events.html View 1 chunk +17 lines, -5 lines 0 comments Download
M chrome/test/nacl/nacl_browsertest.cc View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/test/nacl/nacl_browsertest_util.cc View 3 chunks +19 lines, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/json_manifest.h View 2 chunks +1 line, -6 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/json_manifest.cc View 1 2 19 chunks +168 lines, -55 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M ppapi/native_client/tests/nacl_browser/manifest_file/irt_manifest_file.nmf View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M ppapi/native_client/tests/nacl_browser/manifest_file/pm_manifest_file.nmf View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M ppapi/native_client/tests/nacl_browser/manifest_file/pm_pre_init_manifest_file.nmf View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/nacl.scons View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.html View 1 2 3 14 chunks +22 lines, -11 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad.js View 1 2 3 4 5 6 2 chunks +9 lines, -4 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad_crossorigin.nmf View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad_doesnotexist.nmf View 1 2 1 chunk +1 line, -2 lines 0 comments Download
D ppapi/native_client/tests/ppapi_browser/bad/ppapi_bad_doesnotexist_nexe_only.nmf View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/manifest/manifest_arch_specific.nmf View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/manifest/manifest_subdir.nmf View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/native_client/tests/ppapi_browser/manifest/manifest_top.nmf View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
sehr
PTAL.
7 years, 6 months ago (2013-06-04 19:33:32 UTC) #1
jvoung (off chromium)
https://codereview.chromium.org/16296005/diff/2001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/16296005/diff/2001/chrome/renderer/chrome_content_renderer_client.cc#newcode562 chrome/renderer/chrome_content_renderer_client.cc:562: // If the params somehow contain '@dev', remove it. ...
7 years, 6 months ago (2013-06-04 22:27:25 UTC) #2
sehr
Thanks for all the help with the decisions, btw. PTAL. https://codereview.chromium.org/16296005/diff/2001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/16296005/diff/2001/chrome/renderer/chrome_content_renderer_client.cc#newcode562 ...
7 years, 6 months ago (2013-06-06 22:03:45 UTC) #3
jvoung (off chromium)
LGTM -- could clean up the ppapi_bad a little bit more (can delete one test ...
7 years, 6 months ago (2013-06-06 22:41:25 UTC) #4
jvoung (off chromium)
https://codereview.chromium.org/16296005/diff/2001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/16296005/diff/2001/chrome/renderer/chrome_content_renderer_client.cc#newcode565 chrome/renderer/chrome_content_renderer_client.cc:565: for (size_t i = 0; i < attribute_count; ++i) ...
7 years, 6 months ago (2013-06-07 16:14:46 UTC) #5
sehr
As discussed --enable-pnacl enables it without regard for URL or web store. PTAL. https://codereview.chromium.org/16296005/diff/10001/chrome/common/chrome_content_client.cc File ...
7 years, 6 months ago (2013-06-07 23:34:47 UTC) #6
jvoung (off chromium)
otherwise LGTM https://codereview.chromium.org/16296005/diff/27001/chrome/test/nacl/nacl_browsertest.cc File chrome/test/nacl/nacl_browsertest.cc (right): https://codereview.chromium.org/16296005/diff/27001/chrome/test/nacl/nacl_browsertest.cc#newcode61 chrome/test/nacl/nacl_browsertest.cc:61: NACL_BROWSER_TEST_F(NaClBrowserTest, MAYBE_PNACL(PnaclMimeType), { I think for the ...
7 years, 6 months ago (2013-06-07 23:55:24 UTC) #7
sehr
On 2013/06/07 23:55:24, jvoung (cr) wrote: > otherwise LGTM > > https://codereview.chromium.org/16296005/diff/27001/chrome/test/nacl/nacl_browsertest.cc > File chrome/test/nacl/nacl_browsertest.cc ...
7 years, 6 months ago (2013-06-08 00:16:03 UTC) #8
jvoung (off chromium)
https://codereview.chromium.org/16296005/diff/27001/chrome/test/nacl/nacl_browsertest.cc File chrome/test/nacl/nacl_browsertest.cc (right): https://codereview.chromium.org/16296005/diff/27001/chrome/test/nacl/nacl_browsertest.cc#newcode61 chrome/test/nacl/nacl_browsertest.cc:61: NACL_BROWSER_TEST_F(NaClBrowserTest, MAYBE_PNACL(PnaclMimeType), { On 2013/06/07 23:55:24, jvoung (cr) wrote: ...
7 years, 6 months ago (2013-06-10 16:23:14 UTC) #9
sehr
Darin, Brad, I need OWNERS reviews for this change. Thanks, David
7 years, 6 months ago (2013-06-10 20:34:18 UTC) #10
jam
lgtm
7 years, 6 months ago (2013-06-10 21:12:48 UTC) #11
bradnelson
lgtm
7 years, 6 months ago (2013-06-10 21:17:18 UTC) #12
sehr
Committed patchset #6 manually as r205329 (presubmit successful).
7 years, 6 months ago (2013-06-10 22:15:37 UTC) #13
sehr
7 years, 6 months ago (2013-06-12 17:41:12 UTC) #14
Message was sent while issue was closed.
Committed patchset #8 manually as r205855 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698