Add a MediaStreamClientMock object to simulate a client implementing the MediaStream API and the methods used in the layout tests.
Maybe this needs to be blocked on the work done for window.internals (see bug 59537). As discussed at WebKit contributor meeting, test-only code should not be in WebCore, we're adding a separate library for it.
(In reply to comment #1) > Maybe this needs to be blocked on the work done for window.internals (see bug 59537). As discussed at WebKit contributor meeting, test-only code should not be in WebCore, we're adding a separate library for it. Thanks for the advice. I'll try to follow bug 59537 to make sure this is implemented in the proper way and location.