[Webkit-unassigned] [Bug 208301] [GTK] Several editing/pasteboard tests are flaky after r244494

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 24 03:55:38 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=208301

--- Comment #1 from Diego Pino <dpino at igalia.com> ---
Some more other editing/pasteboard tests that sporadically return a flaky failure:


  editing/pasteboard/copy-paste-content-starting-and-ending-canvas.html
  editing/pasteboard/paste-line-endings-003.html
  editing/pasteboard/paste-line-endings-007.html
  editing/pasteboard/paste-text-005.html

Diff:

--- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/editing/pasteboard/paste-line-endings-007-expected.txt
+++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/editing/pasteboard/paste-line-endings-007-actual.txt
@@ -13,7 +13,7 @@
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > DIV > BODY > HTML > #document givenAction:WebViewI
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 8 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > DIV > 
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > DIV > BODY > H
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 layer at (0,0) size 800x600
@@ -47,8 +47,7 @@
           RenderBlock (anonymous) at (2,2) size 780x27
             RenderText {#text} at (0,0) size 78x26
               text run at (0,0) width 78: "line one"
-            RenderBR {BR} at (77,21) size 1x0
           RenderBlock {DIV} at (2,29) size 780x27
-            RenderText {#text} at (0,0) size 79x26
-              text run at (0,0) width 79: "line two"
-caret: position 1 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
+            RenderText {#text} at (0,0) size 72x26
+              text run at (0,0) width 72: "ine two"
+caret: position 0 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body


--- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/editing/pasteboard/paste-text-005-expected.txt
+++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/editing/pasteboard/paste-text-005-actual.txt
@@ -42,10 +42,12 @@
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 6 of #text > DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > 
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 46 of #text > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #docume
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 33 of #text > DIV > BODY > HTML > #document to 33 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification

@@ -83,10 +85,10 @@
 | <div>
 |   class="editing"
 |   id="test"
-|   "There is a tide in the affairs of men,"
+|   "There "
 | <div>
 |   class="editing"
-|   "<#selection-caret>Which taken at the flood leads on to fortune."
+|   "l<#selection-caret>Which taken at the flood leads on to fortune."
 | "
 "
 | <div>
@@ -108,11 +110,10 @@
 | <div>
 |   class="editing"
 |   id="test"
-|   "There is a tide in the affairs of men,"
+|   "There "
 | <div>
 |   class="editing"
-|   id="test"
-|   "is a tide in the affairs of men,"
+|   "lis a tide in the affairs of men,"
 | <div>
 |   class="editing"
 |   "<#selection-caret>Which taken at the flood leads on to fortune."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200324/df4241cc/attachment-0001.htm>


More information about the webkit-unassigned mailing list