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

Changeset 202957 in webkit


Ignore:
Timestamp:
Jul 7, 2016, 10:12:14 PM (10 years ago)
Author:
Beth Dakin
Message:

API Test DoNotLeakWebView.ViewThatLoadsEditableArea times out on macOS Sierra
https://bugs.webkit.org/show_bug.cgi?id=159532
-and corresponding-
rdar://problem/27177179

Reviewed by Tim Horton.

Source/WebKit/mac:

  • WebView/WebView.mm:

(-[WebView showCandidates:forString:inRect:forSelectedRange:view:completionHandler:]):
(-[WebView forceRequestCandidatesForTesting]):
(-[WebView shouldRequestCandidates]):

  • WebView/WebViewPrivate.h:

Tools:

  • TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm:

(-[DoNotLeakFrameLoadDelegate webView:didFinishLoadForFrame:]):

Location:
trunk
Files:
5 edited

Legend:

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

    r202944 r202957  
     12016-07-07  Beth Dakin  <bdakin@apple.com>
     2
     3        API Test DoNotLeakWebView.ViewThatLoadsEditableArea times out on macOS Sierra
     4        https://bugs.webkit.org/show_bug.cgi?id=159532
     5        -and corresponding-
     6        rdar://problem/27177179
     7
     8        Reviewed by Tim Horton.
     9
     10        * WebView/WebView.mm:
     11        (-[WebView showCandidates:forString:inRect:forSelectedRange:view:completionHandler:]):
     12        (-[WebView forceRequestCandidatesForTesting]):
     13        (-[WebView shouldRequestCandidates]):
     14        * WebView/WebViewPrivate.h:
     15
    1162016-07-07  Andy Estes  <aestes@apple.com>
    217
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r202930 r202957  
    67246724}
    67256725
     6726- (void)forceRequestCandidatesForTesting
     6727{
     6728}
     6729
    67266730- (BOOL)shouldRequestCandidates
    67276731{
  • trunk/Source/WebKit/mac/WebView/WebViewPrivate.h

    r201056 r202957  
    10701070@interface WebView (WebShowCandidates)
    10711071- (void)showCandidates:(NSArray *)candidates forString:(NSString *)string inRect:(NSRect)rectOfTypedString forSelectedRange:(NSRange)range view:(NSView *)view completionHandler:(void (^)(NSTextCheckingResult *acceptedCandidate))completionBlock;
     1072- (void)forceRequestCandidatesForTesting;
    10721073@end
    10731074
  • trunk/Tools/ChangeLog

    r202944 r202957  
     12016-07-07  Beth Dakin  <bdakin@apple.com>
     2
     3        API Test DoNotLeakWebView.ViewThatLoadsEditableArea times out on macOS Sierra
     4        https://bugs.webkit.org/show_bug.cgi?id=159532
     5        -and corresponding-
     6        rdar://problem/27177179
     7
     8        Reviewed by Tim Horton.
     9
     10        * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm:
     11        (-[DoNotLeakFrameLoadDelegate webView:didFinishLoadForFrame:]):
     12
    1132016-07-07  Andy Estes  <aestes@apple.com>
    214
  • trunk/Tools/TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm

    r201056 r202957  
    6363- (void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame
    6464{
     65    [sender forceRequestCandidatesForTesting];
    6566    didFinishLoad = true;
    6667}
Note: See TracChangeset for help on using the changeset viewer.