DescriptionRELAND: 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 #
Messages
Total messages: 16 (12 generated)
|