[mac] DumpRenderTree/WebKitTestRunner should disable NSBeep
https://bugs.webkit.org/show_bug.cgi?id=107251

Reviewed by Simon Fraser.

Disable NSBeep in DumpRenderTree and WebKitTestRunner using NSSound SPI.

* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
(WTR::InjectedBundle::platformInitialize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[mac] DumpRenderTree/WebKitTestRunner should not participate in Exposé/Mission Control
https://bugs.webkit.org/show_bug.cgi?id=107234

Reviewed by Simon Fraser.

* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow): Disable participation in Exposé via NSWindowCollectionBehaviorStationary.
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView): Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140189 268f45cc-cd09-0410-ab3c-d52691b4dbfc