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

Issue 2756793002: RELAND: Shape Detection: move the Mac service to the sandboxed GPU process (Closed)

Created:
3 years, 9 months ago by mcasas
Modified:
3 years, 9 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RELAND: Shape Detection: move the Mac service to the sandboxed GPU process Original CL got reverted due to fast/shapedetection/shapedetection-security-test.html getting flaky on Mac bots; output logs said "gpu process crashed". This CL moves this test html to the normal (not-fast) test folder so it can use the Mojo mock instead of the real one in content_shell. This is OK since the test essentially triggers rejection paths in Blink code only. Original CL description ------------------------------------------------ Shape Detection: move the Mac service to the sandboxed GPU process ShapeDetection in Mac uses privileged and potentially dangerous APIs inside CoreImage and perhaps more, transitively. This CL moves the shape detection service to run in the GPU process, which is sandboxed. The reason for using the GPU process is that CoreImage APIs seem to depend strongly and mysteriously on the GPU, as I learned while trying to get the unittests to work [1] in our normal mac bots (which are virtual machines and have no GPU). I tried using a sw rendering context and a coupe of other circumventions but nothing really worked. [1] early PSs in https://codereview.chromium.org/2677553003/ BUG=666143 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2739163003 Cr-Commit-Position: refs/heads/master@{#456555} TBR=rockot@chromium.org, rsesek@chromium.org, kbr@chromium.org since the gist of the CL hasn't changed. Review-Url: https://codereview.chromium.org/2756793002 Cr-Commit-Position: refs/heads/master@{#457656} Committed: https://chromium.googlesource.com/chromium/src/+/73550c046bb7db4ee5af46e4a161946ddfe5ec3a

Patch Set 1 : https://codereview.chromium.org/2739163003 #

Patch Set 2 : moved shapedetection-security-test.html to non-fast LayoutTests to use the mock mojo service #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -74 lines) Patch
M content/browser/service_manager/service_manager_context.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M content/gpu/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/gpu/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_service_factory.cc View 2 chunks +8 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html View 1 1 chunk +0 lines, -62 lines 0 comments Download
A + third_party/WebKit/LayoutTests/shapedetection/detection-security-test.html View 1 3 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
mcasas
reillyg@ PTAL (semi trivial CL moving-around a LayoutTest)
3 years, 9 months ago (2017-03-17 00:13:39 UTC) #6
Reilly Grant (use Gerrit)
lgtm
3 years, 9 months ago (2017-03-17 01:05:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2756793002/20001
3 years, 9 months ago (2017-03-17 01:58:22 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 02:04:26 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/73550c046bb7db4ee5af46e4a161...

Powered by Google App Engine
This is Rietveld 408576698