Bug 229446 - [ iOS ] TestWebKitAPI.DocumentEditingContext.Request* tests are failing
Summary: [ iOS ] TestWebKitAPI.DocumentEditingContext.Request* tests are failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-24 09:27 PDT by ayumi_kojima
Modified: 2021-08-24 20:07 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.84 KB, patch)
2021-08-24 14:01 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-08-24 09:27:37 PDT
TestWebKitAPI.DocumentEditingContext.RequestLastLine
TestWebKitAPI.DocumentEditingContext.RequestLastTwoLines
TestWebKitAPI.DocumentEditingContext.RequestFirstTwoLines
TestWebKitAPI.DocumentEditingContext.RequestFirstLine

Are failing on iOS.
 
History https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.DocumentEditingContext.RequestLastLine&test=TestWebKitAPI.DocumentEditingContext.RequestFirstLine&test=TestWebKitAPI.DocumentEditingContext.RequestFirstTwoLines&test=TestWebKitAPI.DocumentEditingContext.RequestLastTwoLines

Diffs:

TestWebKitAPI.DocumentEditingContext.RequestFirstLine
        
        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:1287
        Expected equality of these values:
          "The first sentence in the first paragraph"
          (NSString *)context.contextAfter
            Which is: "The first sentence in the first paragraph. The second sentence in the first paragraph. The third sentence in the first paragraph."
        
TestWebKitAPI.DocumentEditingContext.RequestFirstTwoLines
        
        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:1300
        Expected equality of these values:
          "The first sentence in the first paragraph. The second sentence in"
          (NSString *)context.contextAfter
            Which is: "The first sentence in the first paragraph. The second sentence in the first paragraph. The third sentence in the first paragraph.\nThe first sentence in the second paragraph. The second sentence in the second paragraph. The third sentence in the second paragraph."
        With diff:
        @@ -1,1 +1,2 @@
        -The first sentence in the first paragraph. The second sentence in
        +The first sentence in the first paragraph. The second sentence in the first paragraph. The third sentence in the first paragraph.
        +The first sentence in the second paragraph. The second sentence in the second paragraph. The third sentence in the second paragraph.
        
        
TestWebKitAPI.DocumentEditingContext.RequestLastLine
        
        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:1311
        Expected equality of these values:
          "third sentence in the third paragraph."
          (NSString *)context.contextBefore
            Which is: "The first sentence in the third paragraph. The second sentence in the third paragraph. The third sentence in the third paragraph."
        
TestWebKitAPI.DocumentEditingContext.RequestLastTwoLines
        
        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:1324
        Expected equality of these values:
          "in the third paragraph. The third sentence in the third paragraph."
          (NSString *)context.contextBefore
            Which is: "The first sentence in the second paragraph. The second sentence in the second paragraph. The third sentence in the second paragraph.\nThe first sentence in the third paragraph. The second sentence in the third paragraph. The third sentence in the third paragraph."
        With diff:
        @@ -1,1 +1,2 @@
        -in the third paragraph. The third sentence in the third paragraph.
        +The first sentence in the second paragraph. The second sentence in the second paragraph. The third sentence in the second paragraph.
        +The first sentence in the third paragraph. The second sentence in the third paragraph. The third sentence in the third paragraph.
Comment 1 Radar WebKit Bug Importer 2021-08-24 09:28:13 PDT
<rdar://problem/82295496>
Comment 2 zalan 2021-08-24 14:01:33 PDT
Created attachment 436327 [details]
Patch
Comment 3 zalan 2021-08-24 19:44:30 PDT
The queue for the api-ios is 9hours long. :( landing this now.
Comment 4 EWS 2021-08-24 20:07:25 PDT
Committed r281542 (240909@main): <https://commits.webkit.org/240909@main>

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