<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>229446</bug_id>
          
          <creation_ts>2021-08-24 09:27:37 -0700</creation_ts>
          <short_desc>[ iOS ] TestWebKitAPI.DocumentEditingContext.Request* tests are failing</short_desc>
          <delta_ts>2021-08-24 20:07:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ayumi_kojima</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1786759</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-24 09:27:37 -0700</bug_when>
    <thetext>TestWebKitAPI.DocumentEditingContext.RequestLastLine
TestWebKitAPI.DocumentEditingContext.RequestLastTwoLines
TestWebKitAPI.DocumentEditingContext.RequestFirstTwoLines
TestWebKitAPI.DocumentEditingContext.RequestFirstLine

Are failing on iOS.
 
History https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.DocumentEditingContext.RequestLastLine&amp;test=TestWebKitAPI.DocumentEditingContext.RequestFirstLine&amp;test=TestWebKitAPI.DocumentEditingContext.RequestFirstTwoLines&amp;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:
          &quot;The first sentence in the first paragraph&quot;
          (NSString *)context.contextAfter
            Which is: &quot;The first sentence in the first paragraph. The second sentence in the first paragraph. The third sentence in the first paragraph.&quot;
        
TestWebKitAPI.DocumentEditingContext.RequestFirstTwoLines
        
        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:1300
        Expected equality of these values:
          &quot;The first sentence in the first paragraph. The second sentence in&quot;
          (NSString *)context.contextAfter
            Which is: &quot;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.&quot;
        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:
          &quot;third sentence in the third paragraph.&quot;
          (NSString *)context.contextBefore
            Which is: &quot;The first sentence in the third paragraph. The second sentence in the third paragraph. The third sentence in the third paragraph.&quot;
        
TestWebKitAPI.DocumentEditingContext.RequestLastTwoLines
        
        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:1324
        Expected equality of these values:
          &quot;in the third paragraph. The third sentence in the third paragraph.&quot;
          (NSString *)context.contextBefore
            Which is: &quot;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.&quot;
        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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1786760</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-24 09:28:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/82295496&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1786917</commentid>
    <comment_count>2</comment_count>
      <attachid>436327</attachid>
    <who name="alan">zalan</who>
    <bug_when>2021-08-24 14:01:33 -0700</bug_when>
    <thetext>Created attachment 436327
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787067</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2021-08-24 19:44:30 -0700</bug_when>
    <thetext>The queue for the api-ios is 9hours long. :( landing this now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787070</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-08-24 20:07:25 -0700</bug_when>
    <thetext>Committed r281542 (240909@main): &lt;https://commits.webkit.org/240909@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 436327.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>436327</attachid>
            <date>2021-08-24 14:01:33 -0700</date>
            <delta_ts>2021-08-24 20:07:26 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-229446-20210824140132.patch</filename>
            <type>text/plain</type>
            <size>2909</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjgxNDk1CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZTZmOWU3NWE5YTAzNTk3YjI5M2MzYWE0OTM4M2RiZWZl
ODljZGZkYy4uYzdjNTFlMDY5NmI0ZTYzNTI0MzBiYzZiOGQ0MzVjNmZhYmYyYWE4MyAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2
IEBACisyMDIxLTA4LTI0ICBBbGFuIEJ1anRhcyAgPHphbGFuQGFwcGxlLmNvbT4KKworICAgICAg
ICBbIGlPUyBdIFRlc3RXZWJLaXRBUEkuRG9jdW1lbnRFZGl0aW5nQ29udGV4dC5SZXF1ZXN0KiB0
ZXN0cyBhcmUgZmFpbGluZworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9MjI5NDQ2CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS84MjI5NTQ5Nj4KKworICAg
ICAgICBVbnJldmlld2VkLgorCisgICAgICAgIEFkanVzdGluZyB0aGUgdGVzdCBjYXNlIGFmdGVy
IHIyODE0NjMgdG8gbWF0Y2ggdGhlIG5ldyB3cmFwcGluZyBiZWhhdmlvci4KKworICAgICAgICAq
IFRlc3RXZWJLaXRBUEkvVGVzdHMvV2ViS2l0Q29jb2EvRG9jdW1lbnRFZGl0aW5nQ29udGV4dC5t
bToKKyAgICAgICAgKFRFU1QpOgorCiAyMDIxLTA4LTIzICBKb2huIFdpbGFuZGVyICA8d2lsYW5k
ZXJAYXBwbGUuY29tPgogCiAgICAgICAgIFBDTTogU3VwcG9ydCBlcGhl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