RESOLVED FIXED 42547
WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode
https://bugs.webkit.org/show_bug.cgi?id=42547
Summary WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode
Maciej Stachowiak
Reported 2010-07-18 21:48:10 PDT
WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode
Attachments
Patch (14.15 KB, patch)
2016-08-08 12:38 PDT, Jonathan Bedard
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (700.99 KB, application/zip)
2016-08-08 13:34 PDT, Build Bot
no flags
Patch (14.17 KB, patch)
2016-08-08 14:12 PDT, Jonathan Bedard
no flags
Patch (14.04 KB, patch)
2016-08-22 10:09 PDT, Jonathan Bedard
no flags
Patch (14.30 KB, patch)
2016-08-29 10:54 PDT, Jonathan Bedard
no flags
Patch (17.18 KB, patch)
2016-08-29 11:51 PDT, Jonathan Bedard
no flags
Maciej Stachowiak
Comment 1 2010-07-18 21:52:31 PDT
Jonathan Bedard
Comment 2 2016-08-08 12:38:21 PDT
Build Bot
Comment 3 2016-08-08 13:34:23 PDT
Comment on attachment 285578 [details] Patch Attachment 285578 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1835932 New failing tests: mathml/mathml-in-dashboard.html
Build Bot
Comment 4 2016-08-08 13:34:26 PDT
Created attachment 285585 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.5
Jonathan Bedard
Comment 5 2016-08-08 14:12:29 PDT
Darin Adler
Comment 6 2016-08-20 19:50:22 PDT
Comment on attachment 285589 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285589&action=review > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:323 > + const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages(); > + for (HashSet<Page*>::iterator iter = pages.begin(); iter != pages.end(); ++iter) > + (*iter)->settings().setUsesDashboardBackwardCompatibilityMode(enabled); Here’s how we should write this in new code (other code in tis file is old): for (auto& page : PageGroup::pageGroup(pageGroup->identifier())->pages()) page->settings().setUsesDashboardBackwardCompatibilityMode(enabled); We don’t use abbreviations in WebKit code, so code should be using "iter" (even though there are many other functions in this file doing it). And with a C++11 for loop we don’t need to bother with a local variable. > Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:420 > + fputs("Dashboard unsupported\n", stderr); This isn’t a good idea. The test runner should not be writing things out directly to stderr.
Jonathan Bedard
Comment 7 2016-08-22 10:09:40 PDT
WebKit Commit Bot
Comment 8 2016-08-27 18:56:07 PDT
Comment on attachment 286602 [details] Patch Rejecting attachment 286602 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 286602, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: /git.webkit.org/WebKit 1faa5bf..d95384d master -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 205093 = 1faa5bf9266d53f8f9c1608d5eade57c354a00ad r205094 = d95384d3d87658680c88eef17a66218ee4bf1d38 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.webkit.org/results/1956872
Jonathan Bedard
Comment 9 2016-08-29 10:54:49 PDT
Darin Adler
Comment 10 2016-08-29 11:04:52 PDT
Comment on attachment 287281 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=287281&action=review > LayoutTests/platform/ios-simulator-wk2/TestExpectations:92 > +# iOS is missing some dashboard features Dashboard is a Mac-specific feature. We don't need the dashboard features on any other platform. This test should be treated as a Mac-only test and no comment should imply a future plan to add this to any other platform (including iOS).
Jonathan Bedard
Comment 11 2016-08-29 11:51:40 PDT
WebKit Commit Bot
Comment 12 2016-09-02 15:54:08 PDT
Comment on attachment 287298 [details] Patch Clearing flags on attachment: 287298 Committed r205379: <http://trac.webkit.org/changeset/205379>
WebKit Commit Bot
Comment 13 2016-09-02 15:54:12 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.