Changeset 259465 in webkit


Ignore:
Timestamp:
Apr 3, 2020 9:43:13 AM (4 years ago)
Author:
Wenson Hsieh
Message:

Add logging to help diagnose <webkit.org/b/209685>
https://bugs.webkit.org/show_bug.cgi?id=209967

Reviewed by Darin Adler.

Source/WebCore:

Add logging to try and diagnose a handful of API test failures on iOS 13.4 test runners. The failures seem to
only reproduce in release builds on one particular bot; even then, the problem still doesn't reproduce when
running the API tests on this failing bot.

As such, add some logging to try and verify whether...
(1) the UI process is even attempting to update its supported item provider types, which should happen after

each drag session update.

(2) WKContentView is receiving calls to update the drag session in the first place.

  • platform/ios/WebItemProviderPasteboard.mm:

(-[WebItemProviderPasteboard updateSupportedTypeIdentifiers:]):

Source/WebKit:

See WebCore/ChangeLog.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView dropInteraction:sessionDidUpdate:]):

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r259461 r259465  
     12020-04-03  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Add logging to help diagnose <webkit.org/b/209685>
     4        https://bugs.webkit.org/show_bug.cgi?id=209967
     5
     6        Reviewed by Darin Adler.
     7
     8        Add logging to try and diagnose a handful of API test failures on iOS 13.4 test runners. The failures seem to
     9        only reproduce in release builds on one particular bot; even then, the problem still doesn't reproduce when
     10        running the API tests on this failing bot.
     11
     12        As such, add some logging to try and verify whether...
     13        (1) the UI process is even attempting to update its supported item provider types, which should happen after
     14            each drag session update.
     15        (2) WKContentView is receiving calls to update the drag session in the first place.
     16
     17        * platform/ios/WebItemProviderPasteboard.mm:
     18        (-[WebItemProviderPasteboard updateSupportedTypeIdentifiers:]):
     19
    1202020-04-03  Sihui Liu  <sihui_liu@apple.com>
    221
  • trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm

    r251100 r259465  
    493493- (void)updateSupportedTypeIdentifiers:(NSArray<NSString *> *)types
    494494{
     495    NSLog(@"%s => %@", __PRETTY_FUNCTION__, types);
    495496    _supportedTypeIdentifiers = types;
    496497}
  • trunk/Source/WebKit/ChangeLog

    r259460 r259465  
     12020-04-03  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Add logging to help diagnose <webkit.org/b/209685>
     4        https://bugs.webkit.org/show_bug.cgi?id=209967
     5
     6        Reviewed by Darin Adler.
     7
     8        See WebCore/ChangeLog.
     9
     10        * UIProcess/ios/WKContentViewInteraction.mm:
     11        (-[WKContentView dropInteraction:sessionDidUpdate:]):
     12
    1132020-04-03  youenn fablet  <youenn@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r259151 r259465  
    78307830        proposal = [delegate _webView:self.webView willUpdateDropProposalToProposal:proposal.get() forSession:session];
    78317831
     7832    NSLog(@"%s => %lu", __PRETTY_FUNCTION__, [proposal operation]);
    78327833    return proposal.autorelease();
    78337834}
Note: See TracChangeset for help on using the changeset viewer.