WebCore::screenSupportsExtendedColor is interacting with the NSScreen/NSDisplay system in the WebContent process. This should be brokered from the UIProcess.
Tested by fast/media/mq-color-gamut.html.
<rdar://problem/39246314>
Created attachment 337386 [details] Patch
Comment on attachment 337386 [details] Patch Very nice! R=me.
Created attachment 337391 [details] Patch for landing
Committed r230356: <https://trac.webkit.org/changeset/230356>