Changeset 239197 in webkit


Ignore:
Timestamp:
Dec 13, 2018 8:39:11 PM (5 years ago)
Author:
Chris Dumez
Message:

[iOS] Web Inspector: Occasional UIProcess crashes under WebPageProxy::showInspectorIndication
https://bugs.webkit.org/show_bug.cgi?id=192689
<rdar://problem/46323610>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2018-12-13
Reviewed by Simon Fraser.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::close):

  • UIProcess/WebPageProxy.h:

Don't wait until ~WebPageProxy to destroy the WebPageProxyDebuggable
which broadcasts it as a remote inspector target. Terminate this
as soon as the WebPageProxy closes and becomes invalid.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r239196 r239197  
    1313        which broadcasts it as a remote inspector target. Terminate this
    1414        as soon as the WebPageProxy closes and becomes invalid.
     15
     162018-12-13  Chris Dumez  <cdumez@apple.com>
     17
     18        Unreviewed build fix for tvOS.
     19
     20        * Platform/cocoa/WKCrashReporter.mm:
    1521
    16222018-12-13  Chris Dumez  <cdumez@apple.com>
  • trunk/Source/WebKit/Platform/cocoa/WKCrashReporter.mm

    r239194 r239197  
    3131
    3232// Avoid having to link with libCrashReporterClient.a
    33 #if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(TVOS) && __TV_OS_VERSION_MIN_REQUIRED >= 130000)
     33#if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 130000)
    3434CRASH_REPORTER_CLIENT_HIDDEN
    3535struct crashreporter_annotations_t gCRAnnotations
Note: See TracChangeset for help on using the changeset viewer.