Bug 37157

Summary: REGRESSION (r57109): editing/pasteboard/drag-image-to-contenteditable-in-iframe.html fails on Windows
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: HTML EditingAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, sam
Priority: P2 Keywords: InRadar, LayoutTestFailure, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://build.webkit.org/results/Windows%20Release%20(Tests)/r57109%20(10957)/editing/pasteboard/drag-image-to-contenteditable-in-iframe-pretty-diff.html
Bug Depends on:    
Bug Blocks: 37284    

Description Adam Roben (:aroben) 2010-04-06 10:19:46 PDT
Since new results were landed in r57109, editing/pasteboard/drag-image-to-contenteditable-in-iframe.html has been failing on Windows.
Comment 1 Adam Roben (:aroben) 2010-04-06 10:20:43 PDT
<rdar://problem/7832412>
Comment 2 Darin Adler 2010-04-06 10:47:04 PDT
I need the help from someone with a Windows machine who can regenerate the results of this test.
Comment 3 Adam Roben (:aroben) 2010-04-06 10:50:40 PDT
(In reply to comment #2)
> I need the help from someone with a Windows machine who can regenerate the
> results of this test.

Darin, it looks to me like the Windows bots are generating the same results that the Mac bots generated prior to r57109. i.e., the results coming out of the Windows bots are identical to the expected results from r57108. Does this indicate that the bug is not fixed on Windows?
Comment 4 Darin Adler 2010-04-06 10:56:04 PDT
Alexey says I can just get the results from the bots. I will do that now.
Comment 5 Darin Adler 2010-04-06 10:56:40 PDT
(In reply to comment #3)
> Darin, it looks to me like the Windows bots are generating the same results
> that the Mac bots generated prior to r57109. i.e., the results coming out of
> the Windows bots are identical to the expected results from r57108. Does this
> indicate that the bug is not fixed on Windows?

That would be exceedingly surprising. There is no platform-specific element involved here. I am not sure how to figure it out.
Comment 6 Darin Adler 2010-04-06 10:57:34 PDT
(In reply to comment #5)
> (In reply to comment #3)
> > Darin, it looks to me like the Windows bots are generating the same results
> > that the Mac bots generated prior to r57109. i.e., the results coming out of
> > the Windows bots are identical to the expected results from r57108. Does this
> > indicate that the bug is not fixed on Windows?
> 
> That would be exceedingly surprising. There is no platform-specific element
> involved here. I am not sure how to figure it out.

But I see that you are correct. This is a mystery.
Comment 7 Darin Adler 2010-04-06 11:16:04 PDT
I have now checked and the bug that r57109 is indeed fixed on Windows as well as Mac.

But this dragging test works differently because of a difference in the code path on Windows. On Windows, the new <img> element has a full path to the image. On Mac, the new <img> element has the same src attribute as the original <img> element.

So it's not surprising that this test has different results, and it has nothing to do with the bug I fixed, but it does represent a platform difference.
Comment 8 Darin Adler 2010-04-06 11:19:15 PDT
http://trac.webkit.org/changeset/57160
Comment 9 Darin Adler 2010-04-06 11:20:40 PDT
I filed bug 37162 about the problem.