DescriptionInitialize blink only when needed in utility processes.
Currently, in a utility process containing a v8 proxy resolver, both
blink and the proxy resolver attempt to use v8 in incompatible ways,
causing a crash on shutdown. This cl changes the utility process to
only initialize blink when needed.
On Windows, initializing blink with v8 before enabling the sandbox
calls RtlGenRandom(), which leaves it available from within the sandbox.
To avoid breaking base::RandBytes(), this cl also adds a call to
base::RandBytes before enabling the sandbox.
BUG=506439
Committed: https://crrev.com/6a2e8d4d42cd4c15755d338313b94cdf308219fe
Cr-Commit-Position: refs/heads/master@{#340835}
Patch Set 1 : #Patch Set 2 : initialize blink when needed #Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Messages
Total messages: 23 (10 generated)
|