Title: [230331] trunk/Source/WebCore
Revision
230331
Author
[email protected]
Date
2018-04-06 09:07:05 -0700 (Fri, 06 Apr 2018)

Log Message

Unreviewed test fix after r230323

* platform/mac/PlatformScreenMac.mm:
(WebCore::screen): Remove assertion we still hit due to event handling code.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (230330 => 230331)


--- trunk/Source/WebCore/ChangeLog	2018-04-06 15:53:16 UTC (rev 230330)
+++ trunk/Source/WebCore/ChangeLog	2018-04-06 16:07:05 UTC (rev 230331)
@@ -1,3 +1,10 @@
+2018-04-06  Brent Fulgham  <[email protected]>
+
+        Unreviewed test fix after r230323
+
+        * platform/mac/PlatformScreenMac.mm:
+        (WebCore::screen): Remove assertion we still hit due to event handling code.
+
 2018-04-05  Youenn Fablet  <[email protected]>
 
         REGRESSION (r230223): LayoutTest http/tests/contentextensions/css-display-none-overflows-rule-data-1.html is crashing

Modified: trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm (230330 => 230331)


--- trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm	2018-04-06 15:53:16 UTC (rev 230330)
+++ trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm	2018-04-06 16:07:05 UTC (rev 230331)
@@ -197,13 +197,13 @@
 
 NSScreen *screen(NSWindow *window)
 {
-    RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));
+    // FIXME: <https://webkit.org/b/184344> We should assert here if in WebContent process.
     return [window screen] ?: firstScreen();
 }
 
 NSScreen *screen(PlatformDisplayID displayID)
 {
-    // FIXME: <http://webkit.org/b/184344> We should assert here if in WebContent process.
+    // FIXME: <https://webkit.org/b/184344> We should assert here if in WebContent process.
     for (NSScreen *screen in [NSScreen screens]) {
         if (WebCore::displayID(screen) == displayID)
             return screen;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to