WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
63359
convert editing/deleting/5156801-2.html to dumpAsText and rename
https://bugs.webkit.org/show_bug.cgi?id=63359
Summary
convert editing/deleting/5156801-2.html to dumpAsText and rename
Wyatt Carss
Reported
2011-06-24 15:22:54 PDT
convert editing/deleting/5156801-2.html to dumpAsText and rename
Attachments
Patch
(50.28 KB, patch)
2011-06-24 15:24 PDT
,
Wyatt Carss
no flags
Details
Formatted Diff
Diff
Patch
(17.40 KB, patch)
2011-06-24 16:04 PDT
,
Wyatt Carss
no flags
Details
Formatted Diff
Diff
Patch
(17.47 KB, patch)
2011-06-27 11:25 PDT
,
Wyatt Carss
no flags
Details
Formatted Diff
Diff
Patch
(18.22 KB, patch)
2011-06-27 13:43 PDT
,
Wyatt Carss
no flags
Details
Formatted Diff
Diff
Patch
(18.16 KB, patch)
2011-06-27 17:14 PDT
,
Wyatt Carss
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Wyatt Carss
Comment 1
2011-06-24 15:24:10 PDT
Created
attachment 98550
[details]
Patch
Wyatt Carss
Comment 2
2011-06-24 16:04:15 PDT
Created
attachment 98557
[details]
Patch
Wyatt Carss
Comment 3
2011-06-24 16:08:19 PDT
Renamed, converted, and rdar info included
Ryosuke Niwa
Comment 4
2011-06-24 18:51:40 PDT
Comment on
attachment 98557
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=98557&action=review
> LayoutTests/editing/deleting/delete-node-after-DOMNodeRemoved-2.html:2 > +<p>This tests for a crash when deleting the contents of a table cell. You should just see 'Cached' below.</p>
Please add rdar id.
> LayoutTests/editing/deleting/delete-node-after-DOMNodeRemoved-2.html:16 > +s = window.getSelection(); > +table = document.getElementById("table"); > +s.setPosition(table, table.childNodes.length); > +s.modify("move", "backward", "character"); > +document.execCommand("Delete"); > +document.execCommand("Delete"); > +document.execCommand("Delete"); > +document.execCommand("Delete"); > +document.execCommand("Delete"); > +document.execCommand("Delete"); > +document.execCommand("Delete");
What is this test to do with DOMNodeRemoved? That's a DOM level 3 event. I don't see an event listener attached in this test case. r- due to this.
Wyatt Carss
Comment 5
2011-06-27 11:25:10 PDT
Created
attachment 98755
[details]
Patch
Wyatt Carss
Comment 6
2011-06-27 11:28:04 PDT
The rdar was present already; the diff shows the old file's deletion, and then the new file's creation with identical contents to the old. Then it shows the changes to the new file separately. I've renamed the second test, because its only relation was through the rdar number - there's no reason I know of that these tests have to be kept together.
Ryosuke Niwa
Comment 7
2011-06-27 11:32:10 PDT
Comment on
attachment 98755
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=98755&action=review
> LayoutTests/editing/deleting/delete-table-cell-contents-expected.txt:4 > + > +Cached
You should use dump-as-markup.js here because it's significant that "Cached" is inside a table cell.
Wyatt Carss
Comment 8
2011-06-27 13:43:51 PDT
Created
attachment 98774
[details]
Patch
Ryosuke Niwa
Comment 9
2011-06-27 13:51:06 PDT
Comment on
attachment 98774
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=98774&action=review
> LayoutTests/editing/deleting/delete-table-cell-contents.html:24 > +if (window.layoutTestController) { > + Markup.description(description.textContent); > + Markup.dump("test"); > +}
You shouldn't wrap Markup in window.layoutTestController. Markup takes care of that.
Wyatt Carss
Comment 10
2011-06-27 17:14:57 PDT
Created
attachment 98818
[details]
Patch
WebKit Review Bot
Comment 11
2011-06-27 18:12:24 PDT
Comment on
attachment 98818
[details]
Patch Clearing flags on attachment: 98818 Committed
r89883
: <
http://trac.webkit.org/changeset/89883
>
WebKit Review Bot
Comment 12
2011-06-27 18:12:29 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug