Title: [230514] trunk/Source/WebKit
- Revision
- 230514
- Author
- [email protected]
- Date
- 2018-04-10 21:16:56 -0700 (Tue, 10 Apr 2018)
Log Message
Unreviewed test fix after r230468
Roll out an assertion added in r230468 that should not be present
until https://bugs.webkit.org/show_bug.cgi?id=184451 is landed.
* Shared/mac/HangDetectionDisablerMac.mm:
(WebKit::setClientsMayIgnoreEvents):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (230513 => 230514)
--- trunk/Source/WebKit/ChangeLog 2018-04-11 03:44:00 UTC (rev 230513)
+++ trunk/Source/WebKit/ChangeLog 2018-04-11 04:16:56 UTC (rev 230514)
@@ -1,5 +1,15 @@
2018-04-10 Brent Fulgham <[email protected]>
+ Unreviewed test fix after r230468
+
+ Roll out an assertion added in r230468 that should not be present
+ until https://bugs.webkit.org/show_bug.cgi?id=184451 is landed.
+
+ * Shared/mac/HangDetectionDisablerMac.mm:
+ (WebKit::setClientsMayIgnoreEvents):
+
+2018-04-10 Brent Fulgham <[email protected]>
+
Unreviewed follow-up to r230468.
Switch some RELEASE_ASSERTs in hot codepaths to normal DEBUG asserts.
Modified: trunk/Source/WebKit/Shared/mac/HangDetectionDisablerMac.mm (230513 => 230514)
--- trunk/Source/WebKit/Shared/mac/HangDetectionDisablerMac.mm 2018-04-11 03:44:00 UTC (rev 230513)
+++ trunk/Source/WebKit/Shared/mac/HangDetectionDisablerMac.mm 2018-04-11 04:16:56 UTC (rev 230514)
@@ -53,7 +53,8 @@
// In this case, there will be no valid WindowServer main connection.
if (!cgsId)
return;
- RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));
+ // FIXME: <https://webkit.org/b/184484> We should assert here if this is being called from
+ // the WebContent process.
#endif
if (CGSSetConnectionProperty(cgsId, cgsId, clientsMayIgnoreEventsKey, clientsMayIgnoreEvents ? kCFBooleanTrue : kCFBooleanFalse) != kCGErrorSuccess)
ASSERT_NOT_REACHED();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes