Bug 236718

Summary: REGRESSION: TestWebKitAPI.WKWebViewDisableSelection.DoubleClickDoesNotSelectWhenTextInteractionsAreDisabled is failing
Product: WebKit Reporter: Truitt Savell <tsavell>
Component: New BugsAssignee: Megan Gardner <megan_gardner>
Status: RESOLVED FIXED    
Severity: Normal CC: megan_gardner, Morningstar, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Truitt Savell 2022-02-16 10:40:09 PST
TestWebKitAPI.WKWebViewDisableSelection.DoubleClickDoesNotSelectWhenTextInteractionsAreDisabled

According to history, it looks like the changes in https://trac.webkit.org/changeset/289818/webkit broke this test. 

History:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebViewDisableSelection.DoubleClickDoesNotSelectWhenTextInteractionsAreDisabled

Diff;
TestWebKitAPI.WKWebViewDisableSelection.DoubleClickDoesNotSelectWhenTextInteractionsAreDisabled
        
        /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewDisableSelection.mm:59
        Expected equality of these values:
          ""
          selectedText2
            Which is: "Hello"
Comment 1 Radar WebKit Bug Importer 2022-02-16 10:40:54 PST
<rdar://problem/89034665>
Comment 2 Megan Gardner 2022-02-16 15:12:36 PST
Created attachment 452253 [details]
Patch
Comment 3 Wenson Hsieh 2022-02-16 15:15:16 PST
*** Bug 236737 has been marked as a duplicate of this bug. ***
Comment 4 Wenson Hsieh 2022-02-16 15:18:51 PST
Comment on attachment 452253 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=452253&action=review

r=mews

> Source/WebCore/ChangeLog:6
> +        A check got missed when refactoring code for 289818.

Nit - description goes after Reviewed by line.
Comment 5 Megan Gardner 2022-02-16 15:20:06 PST
Created attachment 452255 [details]
Patch for landing
Comment 6 EWS 2022-02-16 18:21:05 PST
Committed r289989 (247375@main): <https://commits.webkit.org/247375@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 452255 [details].