RESOLVED FIXED 45907
convert fast/events/5056619.html to a dump-as-markup test
https://bugs.webkit.org/show_bug.cgi?id=45907
Summary convert fast/events/5056619.html to a dump-as-markup test
Tony Chang
Reported 2010-09-16 10:56:07 PDT
convert fast/events/5056619.html to a dump-as-markup test
Attachments
Patch (40.25 KB, patch)
2010-09-16 10:56 PDT, Tony Chang
no flags
Patch (42.54 KB, patch)
2010-09-16 12:19 PDT, Tony Chang
ojan: review+
Tony Chang
Comment 1 2010-09-16 10:56:46 PDT
Tony Chang
Comment 2 2010-09-16 10:58:15 PDT
This test is failing pixel results on Chromium Linux because of anti-aliased fonts. Rather than check in a new baseline, I'm converting this test to a dump-as-markup test because it's actually testing to see if there's a crash when performing a drag & drop operation. I use dump-as-markup instead of dump-as-text to verify that the input element is removed from the dom (input elements and their contents don't show up in dump-as-text tests).
Ryosuke Niwa
Comment 3 2010-09-16 11:01:44 PDT
Comment on attachment 67818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67818&action=prettypatch > LayoutTests/fast/events/5056619.html:5 > +Markup.noAutoDump(); You should probably call waitUntilDone instead. But do you really need this? > LayoutTests/fast/events/5056619.html:16 > + layoutTestController.dumpEditingCallbacks(); Good change. > LayoutTests/fast/events/5056619.html:43 > + Markup.dump(document.body, "body after drop"); Consider calling Markup.description(<description>) and just Markup.dump() instead?
Tony Chang
Comment 4 2010-09-16 12:19:09 PDT
Tony Chang
Comment 5 2010-09-16 12:20:23 PDT
(In reply to comment #3) > (From update of attachment 67818 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=67818&action=prettypatch > > > LayoutTests/fast/events/5056619.html:5 > > +Markup.noAutoDump(); > > You should probably call waitUntilDone instead. But do you really need this? Removed > > LayoutTests/fast/events/5056619.html:43 > > + Markup.dump(document.body, "body after drop"); > > Consider calling Markup.description(<description>) and just Markup.dump() instead? Switched to using Markup.description. I prefer dumping document.body to avoid getting everything in <script> in the output.
Ryosuke Niwa
Comment 6 2010-09-16 12:24:48 PDT
Comment on attachment 67828 [details] Patch LGTM. But I'm not a reviewer yet :(
Tony Chang
Comment 7 2010-09-16 16:16:16 PDT
Note You need to log in before you can comment on or make changes to this bug.