⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 274499 in webkit


Ignore:
Timestamp:
Mar 16, 2021, 11:35:16 AM (6 years ago)
Author:
Antti Koivisto
Message:

[WebView _touchEventRegions] needs to take the web lock
​https://bugs.webkit.org/show_bug.cgi?id=223266

Reviewed by Simon Fraser.

Clicking anything in UIWebView test app in debug build hits thread assert immediately.

  • WebView/WebView.mm:

(-[WebView _touchEventRegions]):

Location:
trunk/Source/WebKitLegacy/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r274307 r274499  
     12021-03-16  Antti Koivisto  <antti@apple.com>
     2
     3        [WebView _touchEventRegions] needs to take the web lock
     4        https://bugs.webkit.org/show_bug.cgi?id=223266
     5
     6        Reviewed by Simon Fraser.
     7
     8        Clicking anything in UIWebView test app in debug build hits thread assert immediately.
     9
     10        * WebView/WebView.mm:
     11        (-[WebView _touchEventRegions]):
     12
    1132021-03-11  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebKitLegacy/mac/WebView/WebView.mm

    r274252 r274499  
    40234023- (NSArray *)_touchEventRegions
    40244024{
     4025#if PLATFORM(IOS_FAMILY)
     4026    WebThreadLock();
     4027#endif
     4028   
    40254029    auto* frame = [self _mainCoreFrame];
    40264030    if (!frame)
Note: See TracChangeset for help on using the changeset viewer.