RESOLVED FIXED 90986
Move nodesFromRect tests to separate directory
https://bugs.webkit.org/show_bug.cgi?id=90986
Summary Move nodesFromRect tests to separate directory
Allan Sandfeld Jensen
Reported 2012-07-11 09:28:29 PDT
We are starting to get more tests using nodesFromRect. It would be convenient if they were all located in the same directory so they can be more easily tested or skipped collectively.
Attachments
Patch (65.47 KB, patch)
2012-07-11 09:59 PDT, Allan Sandfeld Jensen
no flags
Patch (66.20 KB, patch)
2012-07-11 10:10 PDT, Allan Sandfeld Jensen
no flags
Patch (66.68 KB, patch)
2012-07-12 08:23 PDT, Allan Sandfeld Jensen
no flags
Patch for landing (66.68 KB, patch)
2012-07-12 08:24 PDT, Allan Sandfeld Jensen
no flags
Allan Sandfeld Jensen
Comment 1 2012-07-11 09:59:53 PDT
Antonio Gomes
Comment 2 2012-07-11 10:04:07 PDT
it seems you left this one out: webkit/LayoutTests/media/nodesFromRect-shadowContent.html
Allan Sandfeld Jensen
Comment 3 2012-07-11 10:06:27 PDT
(In reply to comment #2) > it seems you left this one out: webkit/LayoutTests/media/nodesFromRect-shadowContent.html True, but isn't it in LayoutTests/media as opposed to LayoutTests/dom for a reason? Or do you mean I need to edit it to the new paths?
Allan Sandfeld Jensen
Comment 4 2012-07-11 10:10:08 PDT
Antonio Gomes
Comment 5 2012-07-11 10:43:21 PDT
(In reply to comment #3) > (In reply to comment #2) > > it seems you left this one out: webkit/LayoutTests/media/nodesFromRect-shadowContent.html > > True, but isn't it in LayoutTests/media as opposed to LayoutTests/dom for a reason? > > Or do you mean I need to edit it to the new paths? mostly for convinience with the path. It seems some media tests are easier to code if in the /media dir. Like just moving the test and adjusting the paths in the test won't just work. Maybe we should fix that too. I remember talking to Eric about it when the test was introduced.
Antonio Gomes
Comment 6 2012-07-11 11:40:39 PDT
Comment on attachment 151723 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=151723&action=review > LayoutTests/ChangeLog:24 > + * media/nodesFromRect-shadowContent.html: do we want to move this too? > LayoutTests/platform/chromium/TestExpectations:2163 > // We don't support layoutTestController.nodesFromRect so this test just times out this is inaccurate now since it uses Internals. Maybe it will just work for most ports as is? > LayoutTests/platform/win/Skipped:1303 > # LayoutTestController::nodesFromRect is not supported. ditto > LayoutTests/platform/wincairo/Skipped:1818 > # LayoutTestController::nodesFromRect is not supported. ditto > LayoutTests/platform/wk2/Skipped:-902 > -# WebKitTestRunner needs layoutTestController.nodesFromRect ditto
Allan Sandfeld Jensen
Comment 7 2012-07-11 13:16:44 PDT
(In reply to comment #6) > (From update of attachment 151723 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=151723&action=review > > > LayoutTests/ChangeLog:24 > > + * media/nodesFromRect-shadowContent.html: > > do we want to move this too? > That is a good question. I think it could be in either locations, so I will leave it where it is for now. > > LayoutTests/platform/chromium/TestExpectations:2163 > > // We don't support layoutTestController.nodesFromRect so this test just times out > > this is inaccurate now since it uses Internals. Maybe it will just work for most ports as is? > I suspect it will just work, but since Chrome has a separate bug for it, I will remove these entries in a patch closing that bug. It should also make it safer in case a revert is needed.
Allan Sandfeld Jensen
Comment 8 2012-07-12 08:23:31 PDT
Allan Sandfeld Jensen
Comment 9 2012-07-12 08:24:41 PDT
Created attachment 151962 [details] Patch for landing
WebKit Review Bot
Comment 10 2012-07-12 10:02:18 PDT
Comment on attachment 151962 [details] Patch for landing Clearing flags on attachment: 151962 Committed r122473: <http://trac.webkit.org/changeset/122473>
WebKit Review Bot
Comment 11 2012-07-12 10:02:28 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.