Bug 104948 - Move MutationObserver tests to fast/dom/MutationObserver
Summary: Move MutationObserver tests to fast/dom/MutationObserver
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Klein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 13:53 PST by Adam Klein
Modified: 2012-12-13 15:21 PST (History)
5 users (show)

See Also:


Attachments
Patch (300.53 KB, patch)
2012-12-13 13:54 PST, Adam Klein
no flags Details | Formatted Diff | Diff
Patch (293.12 KB, patch)
2012-12-13 14:02 PST, Adam Klein
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Klein 2012-12-13 13:53:30 PST
Move MutationObserver tests to fast/dom/MutationObserver
Comment 1 Adam Klein 2012-12-13 13:54:14 PST
Created attachment 179327 [details]
Patch
Comment 2 Ryosuke Niwa 2012-12-13 13:56:06 PST
Comment on attachment 179327 [details]
Patch

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

rs=me as long as you’re using svn mv.

> LayoutTests/ChangeLog:10
> +        * fast/dom/MutationObserver/added-out-of-order-expected.txt: Renamed from LayoutTests/fast/mutation/added-out-of-order-expected.txt.

I don’t think we need to list every single test we’re moving. Just add:
* fast/dom/MutationObserver/: Renamed from fast/mutation/.
Comment 3 Elliott Sprehn 2012-12-13 13:58:18 PST
There's no other CamelCase directories in LayoutTests/fast, can we name this "mutation-observer" or "mutationobserver" ?
Comment 4 Adam Klein 2012-12-13 14:00:11 PST
(In reply to comment #3)
> There's no other CamelCase directories in LayoutTests/fast, can we name this "mutation-observer" or "mutationobserver" ?

There are _lots_ of them under fast/dom/:

Node
NodeList
Orientation
Range
Selection
SelectorAPI
StyleSheet
Text
TreeWalker

etc, most of them named after their IDL name
Comment 5 Ryosuke Niwa 2012-12-13 14:01:45 PST
(In reply to comment #3)
> There's no other CamelCase directories in LayoutTests/fast, can we name this "mutation-observer" or "mutationobserver" ?

Our preferred naming scheme is CamelCase. For starters, fast should be Fast.
Comment 6 Elliott Sprehn 2012-12-13 14:02:06 PST
(In reply to comment #4)
> (In reply to comment #3)
> > There's no other CamelCase directories in LayoutTests/fast, can we name this "mutation-observer" or "mutationobserver" ?
> 
> There are _lots_ of them under fast/dom/:
> 
> Node
> NodeList
> Orientation
> Range
> Selection
> SelectorAPI
> StyleSheet
> Text
> TreeWalker
> 
> etc, most of them named after their IDL name

Oh I see, it's fast/dom/MutationObserver, I missed the "dom" in the middle. Sounds good.
Comment 7 Adam Klein 2012-12-13 14:02:15 PST
Created attachment 179330 [details]
Patch
Comment 8 Adam Klein 2012-12-13 14:03:08 PST
(In reply to comment #2)
> (From update of attachment 179327 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=179327&action=review
> 
> rs=me as long as you’re using svn mv.

Does the CQ not know how to move files? I've uploaded a patch for landing, but will apply it to an SVN checkout if I need to.
Comment 9 Ryosuke Niwa 2012-12-13 14:05:03 PST
(In reply to comment #8)
> (In reply to comment #2)
> > (From update of attachment 179327 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=179327&action=review
> > 
> > rs=me as long as you’re using svn mv.
> 
> Does the CQ not know how to move files? I've uploaded a patch for landing, but will apply it to an SVN checkout if I need to.

It might but I won’t count on it.
Comment 10 Adam Klein 2012-12-13 14:17:35 PST
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #2)
> > > (From update of attachment 179327 [details] [details] [details])
> > > View in context: https://bugs.webkit.org/attachment.cgi?id=179327&action=review
> > > 
> > > rs=me as long as you’re using svn mv.
> > 
> > Does the CQ not know how to move files? I've uploaded a patch for landing, but will apply it to an SVN checkout if I need to.
> 
> It might but I won’t count on it.

I'll try it and roll out if the results aren't to your liking, I don't have an SVN checkout here.
Comment 11 Ryosuke Niwa 2012-12-13 14:29:23 PST
Comment on attachment 179330 [details]
Patch

Let me do that for you then.
Comment 12 Ryosuke Niwa 2012-12-13 14:34:28 PST
Comment on attachment 179330 [details]
Patch

Per IRC discussion, it might work after all. Let’s give a shot.
Comment 13 WebKit Review Bot 2012-12-13 15:20:56 PST
Comment on attachment 179330 [details]
Patch

Clearing flags on attachment: 179330

Committed r137662: <http://trac.webkit.org/changeset/137662>
Comment 14 WebKit Review Bot 2012-12-13 15:21:01 PST
All reviewed patches have been landed.  Closing bug.