Bug 84675 - [GTK] drag&drop related failures
Summary: [GTK] drag&drop related failures
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-24 00:50 PDT by Philippe Normand
Modified: 2012-05-02 08:57 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.29 KB, patch)
2012-05-02 06:40 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2012-04-24 00:50:12 PDT
I haven't yet figured out this regression. But we need green bots so I'll flag the following tests.

Unexpected flakiness: text diff mismatch

  editing/pasteboard/4947130.html = TEXT PASS
  editing/pasteboard/dataTransfer-setData-getData.html = TEXT PASS
  editing/pasteboard/drag-and-drop-image-contenteditable.html = TEXT PASS
  editing/pasteboard/drag-and-drop-inputimage-contenteditable.html = TEXT PASS
  editing/pasteboard/drag-and-drop-objectimage-contenteditable.html = TEXT PASS
  editing/pasteboard/drag-drop-input-textarea.html = TEXT PASS
  editing/pasteboard/drag-drop-modifies-page.html = TEXT PASS
  editing/pasteboard/drag-drop-url-text.html = TEXT PASS
  editing/pasteboard/drag-image-in-about-blank-frame.html = TEXT PASS
  editing/pasteboard/drag-selected-image-to-contenteditable.html = TEXT PASS
  editing/pasteboard/drop-inputtext-acquires-style.html = TEXT PASS
  editing/pasteboard/drop-link.html = TEXT PASS
  editing/pasteboard/drop-text-events.html = TEXT PASS
  editing/pasteboard/drop-text-without-selection.html = TEXT PASS
  editing/pasteboard/file-drag-to-editable.html = TEXT PASS
  editing/pasteboard/file-input-files-access.html = TEXT PASS
  editing/pasteboard/get-data-text-plain-drop.html = TEXT PASS
  editing/pasteboard/subframe-dragndrop-1.html = TEXT PASS

Regressions: Unexpected text diff mismatch :

  fast/forms/drag-into-textarea.html = TEXT
  fast/forms/drag-out-of-textarea.html = TEXT
  fast/forms/file/get-file-upload.html = TEXT
  fast/forms/file/input-file-re-render.html = TEXT
  fast/forms/file/recover-file-input-in-unposted-form.html = TEXT
Comment 1 Zan Dobersek 2012-04-24 12:19:09 PDT
After bisecting the offending commit seems to be r114788.
http://trac.webkit.org/changeset/114788
Comment 2 Philippe Normand 2012-04-25 00:01:12 PDT
(In reply to comment #1)
> After bisecting the offending commit seems to be r114788.
> http://trac.webkit.org/changeset/114788

Really? That seems a bit odd :( I'll have a look at this issue.
Comment 3 Philippe Normand 2012-04-25 00:50:44 PDT
Indeed, spot-on, Zan! I'll try to figure this one out.
Comment 4 Zan Dobersek 2012-04-25 00:51:52 PDT
(In reply to comment #3)
> Indeed, spot-on, Zan! I'll try to figure this one out.

Great, thanks!
Comment 5 Philippe Normand 2012-05-01 08:28:35 PDT
It seems that using this new option --skip-pixel-test-if-no-baseline somehow fixes the issue... Can you confirm Zan?

Not sure about using this on the bots though.
Comment 6 Philippe Normand 2012-05-01 08:32:19 PDT
CCing Dirk and Nandor on this issue. Do we need to use this new --skip-pixel-test-if-no-baseline  option? Any feedback would be appreciated!
Comment 7 Philippe Normand 2012-05-01 08:45:28 PDT
Please also note that GTK bots don't run the pixel tests.
Comment 8 Dirk Pranke 2012-05-01 11:37:44 PDT
I don't know why --skip-pixel-test-if-no-baseline would be causing TEXT regressions; that doesn't make a lot of sense.

If you don't run pixel tests, you shouldn't need to use this option at all.
Comment 9 Philippe Normand 2012-05-01 11:56:02 PDT
(In reply to comment #8)
> I don't know why --skip-pixel-test-if-no-baseline would be causing TEXT regressions; that doesn't make a lot of sense.
> 
> If you don't run pixel tests, you shouldn't need to use this option at all.

Yeah that's what I thought. I'll double-check this tomorrow, maybe a little bug sneaked in the patch introducing that new option, for ports not running pixel tests.
Comment 10 Zan Dobersek 2012-05-02 06:40:18 PDT
Created attachment 139800 [details]
Patch
Comment 11 Philippe Normand 2012-05-02 06:54:45 PDT
Comment on attachment 139800 [details]
Patch

Alright the change and its explanation make sense to me. Thanks!
Comment 12 Zan Dobersek 2012-05-02 07:07:34 PDT
Comment on attachment 139800 [details]
Patch

Clearing flags on attachment: 139800

Committed r115825: <http://trac.webkit.org/changeset/115825>
Comment 13 Zan Dobersek 2012-05-02 07:07:43 PDT
All reviewed patches have been landed.  Closing bug.
Comment 14 Martin Robinson 2012-05-02 08:57:02 PDT
Comment on attachment 139800 [details]
Patch

Awesome fix!