<?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>151654</bug_id>
          
          <creation_ts>2015-11-30 06:00:24 -0800</creation_ts>
          <short_desc>[ATK] ASSERTION FAILED: inSameLine(temp, prev) running GTK+ test /webkit2/WebKitWebView/editable/editable</short_desc>
          <delta_ts>2017-03-11 10:58:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cfleizach</cc>
    
    <cc>jdiggs</cc>
    
    <cc>mario</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1144748</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-11-30 06:00:24 -0800</bug_when>
    <thetext>Not sure if this is specific to ATK, but happens in objectFocusedAndCaretOffsetUnignored (WebKitAccessibleWrapperAtk.cpp). I tried to move the unit tests html code into an isolated test case, but the same code doesn&apos;t trigger the assert when run in MiniBrowser.

/webkit2/WebKitWebView/editable/editable:                            ASSERTION FAILED: inSameLine(temp, prev)

../../Source/WebCore/editing/VisiblePosition.cpp(97) : WebCore::VisiblePosition WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule) const

1   0x7ff40fb7d8f1 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x1e) [0x7ff40fb7d8f1]

2   0x7ff4166f60d7 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZNK7WebCore15VisiblePosition8previousENS_27EditingBoundaryCrossingRuleE+0x15b) [0x7ff4166f60d7]

3   0x7ff417391c13 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(objectFocusedAndCaretOffsetUnignored+0x42e) [0x7ff417391c13]

4   0x7ff4173925d8 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection37notifyAccessibilityForSelectionChangeERKNS_23AXTextStateChangeIntentE+0x196) [0x7ff4173925d8]

5   0x7ff4166a7934 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection24updateAndRevealSelectionERKNS_23AXTextStateChangeIntentE+0x11c) [0x7ff4166a7934]

6   0x7ff4166a77a4 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection12setSelectionERKNS_16VisibleSelectionEjNS_23AXTextStateChangeIntentENS0_19CursorAlignOnScrollENS_15TextGranularityE+0x128) [0x7ff4166a77a4]

7   0x7ff4166a637f /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection6moveToERKNS_8PositionES3_NS_9EAffinityENS_14EUserTriggeredE+0xc9) [0x7ff4166a637f]

8   0x7ff416b28d8e /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore12DOMSelection16setBaseAndExtentEPNS_4NodeEiS2_iRi+0x116) [0x7ff416b28d8e]

9   0x7ff416b29fab /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore12DOMSelection17selectAllChildrenEPNS_4NodeERi+0x51) [0x7ff416b29fab]

10  0x7ff4177c4c3a /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore48jsDOMSelectionPrototypeFunctionSelectAllChildrenEPN3JSC9ExecStateE+0x198) [0x7ff4177c4c3a]

11  0x7ff3be3ff0c8 [0x7ff3be3ff0c8]

**

ERROR:../../Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:58:static gboolean WebViewTest::webProcessCrashed(WebKitWebView*, WebViewTest*): code should not be reached

FAIL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144749</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-11-30 06:21:47 -0800</bug_when>
    <thetext>GTK+ test skipped for Debug builds in r192794.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>