Bug 63214 - convert editing/deleting/4845371.html to runDumpAsTextEditingTest
Summary: convert editing/deleting/4845371.html to runDumpAsTextEditingTest
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 18:40 PDT by Wyatt Carss
Modified: 2011-06-28 02:55 PDT (History)
6 users (show)

See Also:


Attachments
Patch (56.88 KB, patch)
2011-06-22 18:44 PDT, Wyatt Carss
no flags Details | Formatted Diff | Diff
Patch (58.09 KB, patch)
2011-06-22 20:04 PDT, Wyatt Carss
no flags Details | Formatted Diff | Diff
Patch (17.61 KB, patch)
2011-06-23 18:10 PDT, Wyatt Carss
no flags Details | Formatted Diff | Diff
Patch (17.55 KB, patch)
2011-06-27 17:03 PDT, Wyatt Carss
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wyatt Carss 2011-06-22 18:40:49 PDT
convert editing/deleting/4845371.html to runDumpAsTextEditingTest
Comment 1 Wyatt Carss 2011-06-22 18:44:26 PDT
Created attachment 98290 [details]
Patch
Comment 2 Ryosuke Niwa 2011-06-22 19:23:07 PDT
Comment on attachment 98290 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=98290&action=review

> LayoutTests/editing/deleting/4845371.html:6
> -runEditingTest();
> +runDumpAsTextEditingTest();

You need to dump editing delegate callbacks.
Comment 3 Wyatt Carss 2011-06-22 20:04:13 PDT
Created attachment 98301 [details]
Patch
Comment 4 Wyatt Carss 2011-06-23 18:10:24 PDT
Created attachment 98447 [details]
Patch
Comment 5 Hajime Morrita 2011-06-27 02:07:42 PDT
Comment on attachment 98447 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=98447&action=review

> LayoutTests/ChangeLog:8
> +        Renamed editing/deleting/4845371.html to editing/deleting/delete-cell-contents-expected, 

nit: delete-cell-contents.html ?

> LayoutTests/editing/deleting/delete-cell-contents.html:-1
> -<p>This tests for a crasher when deleting contents of a table cell.</p>

This is not a feedback, just for asking for myself but...
How did you make rename and modification separate change in this single patch?
I'd like to know how to do this.
Comment 6 Wyatt Carss 2011-06-27 17:03:42 PDT
Created attachment 98816 [details]
Patch
Comment 7 Wyatt Carss 2011-06-27 17:06:09 PDT
Comment on attachment 98447 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=98447&action=review

>> LayoutTests/ChangeLog:8
>> +        Renamed editing/deleting/4845371.html to editing/deleting/delete-cell-contents-expected, 
> 
> nit: delete-cell-contents.html ?

good catch!

>> LayoutTests/editing/deleting/delete-cell-contents.html:-1
>> -<p>This tests for a crasher when deleting contents of a table cell.</p>
> 
> This is not a feedback, just for asking for myself but...
> How did you make rename and modification separate change in this single patch?
> I'd like to know how to do this.

My workflow is a little convoluted.. I'm a git-user, but it doesn't like renames. So I perform a git branch and make all of the changes I wish to make other than renames, and then I 'Tools/Scripts/webkit-patch upload'. After that, I move to my parallel SVN tree and 'Tools/Scripts/webkit-patch apply-attachment' with the attachment number, perform only the renames (and update the ChangeLog), and upload the attachment again. There is likely a much more smooth way to work, but this is the pattern I've fallen into when renames come into play.
Comment 8 Hajime Morrita 2011-06-28 01:59:44 PDT
> My workflow is a little convoluted.. I'm a git-user, but it doesn't like renames. So I perform a git branch and make all of the changes I wish to make other than renames, and then I 'Tools/Scripts/webkit-patch upload'. After that, I move to my parallel SVN tree and 'Tools/Scripts/webkit-patch apply-attachment' with the attachment number, perform only the renames (and update the ChangeLog), and upload the attachment again. There is likely a much more smooth way to work, but this is the pattern I've fallen into when renames come into play.
Wow, I didn't know SVG can do this... Thank you for disclosing your magic ;-)
Comment 9 Hajime Morrita 2011-06-28 02:05:33 PDT
> Wow, I didn't know SVG can do this... Thank you for disclosing your magic ;-)
                                 ^^^ SVN
Comment 10 WebKit Review Bot 2011-06-28 02:52:44 PDT
The commit-queue encountered the following flaky tests while processing attachment 98816 [details]:

http/tests/media/remove-while-loading.html bug 63524 (authors: annacc@chromium.org, jamesr@chromium.org, sjl@chromium.org, and vrk@chromium.org)
The commit-queue is continuing to process your patch.
Comment 11 WebKit Review Bot 2011-06-28 02:55:00 PDT
Comment on attachment 98816 [details]
Patch

Clearing flags on attachment: 98816

Committed r89918: <http://trac.webkit.org/changeset/89918>
Comment 12 WebKit Review Bot 2011-06-28 02:55:05 PDT
All reviewed patches have been landed.  Closing bug.