DescriptionFix client-side phishing detection test flakiness and ChromeOS failure.
The problem is that RenderViewFakeResourcesTest creates a RenderThreadImpl, but without setting up the sandbox environment, specifically the domain socket used on Linux. This caused the sandbox's pre-assigned file descriptor to be taken by other files or sockets, leading to a hang when the sandbox code tries to talk to the browser.
To fix this, add a way for tests to disable the WebSandboxSupport implementation in RendererWebKitPlatformSupportImpl.
The problem also affects WebRTCAudioDeviceTest, so fixed it there as well.
BUG=128705
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140631
Patch Set 1 #Patch Set 2 : Generalize the fix and apply it to webrtc_audio_device_test #
Total comments: 4
Patch Set 3 : second try #Patch Set 4 : Add a method on RWKPSI to disable sandbox support #Patch Set 5 : Restore the previous sandbox-enabled state #Messages
Total messages: 19 (0 generated)
|