Enable SVG page loading performance tests
[profile/ivi/webkit-efl.git] / Tools / ChangeLog
1 2012-04-12  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Enable SVG page loading performance tests
4         https://bugs.webkit.org/show_bug.cgi?id=83861
5
6         Reviewed by Adam Barth.
7
8         Add support for page loading tests. These are tests without any test running harnesses, and we use
9         DriverOutput's test_timeout to measure the loading time.
10
11         Extracted PerfTest.run and PerfTest.run_failed from PerfTestRunner._run_single_test.
12
13         * Scripts/webkitpy/performance_tests/perftest.py:
14         (PerfTest.run):
15         (PerfTest):
16         (PerfTest.run_failed):
17         (PerfTest.parse_output):
18         (PerfTest.output_statistics):
19         (ChromiumStylePerfTest.parse_output):
20         (PageLoadingPerfTest): Added.
21         (PageLoadingPerfTest.__init__):
22         (PageLoadingPerfTest.run): Run the driver 20 times to get the statistics for the loading time.
23         * Scripts/webkitpy/performance_tests/perftest_unittest.py: Added.
24         (MockPrinter):
25         (MockPrinter.__init__):
26         (MockPrinter.write):
27         (MainTest):
28         (MainTest.test_parse_output):
29         (MainTest.test_parse_output_with_failing_line):
30         (TestPageLoadingPerfTest):
31         (TestPageLoadingPerfTest.assertWritten):
32         (TestPageLoadingPerfTest.MockDriver):
33         (TestPageLoadingPerfTest.MockDriver.__init__):
34         (TestPageLoadingPerfTest.MockDriver.run_test):
35         (TestPageLoadingPerfTest.test_run):
36         (TestPageLoadingPerfTest.test_run_with_bad_output):
37         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
38         (PerfTestsRunner):
39         (PerfTestsRunner._collect_tests._is_test_file): Now recognizes svg tests.
40         (PerfTestsRunner._collect_tests):
41         (PerfTestsRunner._run_tests_set):
42         (PerfTestsRunner._run_single_test):
43         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
44         (test_collect_tests_with_page_load_svg):
45         (test_collect_tests_with_page_load_svg.add_file):
46
47 2012-04-10  Brady Eidson  <beidson@apple.com>
48
49         <rdar://problem/11176921> and https://bugs.webkit.org/show_bug.cgi?id=83600
50         Need WebKit2 API to notify whether history loads are in the page cache
51
52         Add a test ShouldGoToBackForwardListItem that exercises the new BundlePageLoaderClient
53         callback as well as the new WKBundleBackForwardListItemIsInPageCache() API.
54
55         Reviewed by Darin Adler.
56
57         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp: Added.
58         (TestWebKitAPI::didFinishLoadForFrame):
59         (TestWebKitAPI::willGoToBackForwardListItem):
60         (TestWebKitAPI::setPageLoaderClient):
61         (TestWebKitAPI::TEST):
62         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp: Added.
63         (ShouldGoToBackForwardListItemTest):
64         (TestWebKitAPI::shouldGoToBackForwardListItemCallback):
65         (TestWebKitAPI::ShouldGoToBackForwardListItemTest::ShouldGoToBackForwardListItemTest):
66         (TestWebKitAPI::ShouldGoToBackForwardListItemTest::didCreatePage):
67         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
68
69         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
70         (WTR::InjectedBundlePage::InjectedBundlePage): Update for the new client.
71
72 2012-04-13  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
73
74         Group EFL bots into a category on the buildbot master
75         https://bugs.webkit.org/show_bug.cgi?id=82712
76
77         Reviewed by Adam Roben.
78
79         Creating a new category definition on the buildbot frontend.
80
81         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
82         (loadBuilderConfig): Determine category for EFL bots
83         * BuildSlaveSupport/build.webkit.org-config/templates/root.html: Add links to EFL category
84
85 2012-04-13  Sheriff Bot  <webkit.review.bot@gmail.com>
86
87         Unreviewed, rolling out r113714.
88         http://trac.webkit.org/changeset/113714
89         https://bugs.webkit.org/show_bug.cgi?id=83887
90
91         It is behaving strange on the bots and needs more
92         investigation. (Requested by jeez_ on #webkit).
93
94         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
95         (WTR::PlatformWebView::PlatformWebView):
96
97 2012-04-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
98
99         webkit-tools-completion: Support bugzilla email completion for webkit-patch upload --cc
100         https://bugs.webkit.org/show_bug.cgi?id=83690
101
102         Reviewed by Tor Arne Vestbø.
103
104         Typing part of an email and pressing <TAB> will bash-complete it using the list in
105         Tools/Scripts/webkitpy/common/config/committers.py
106
107         * Scripts/webkit-tools-completion.sh:
108
109 2012-04-13  Thiago Marcos P. Santos  <thiago.santos@intel.com>
110
111         [EFL] Add API for color chooser
112         https://bugs.webkit.org/show_bug.cgi?id=83692
113
114         Enables INPUT_TYPE_COLOR by default on the EFL port.
115
116         Reviewed by Kenneth Rohde Christiansen.
117
118         * Scripts/build-webkit:
119
120 2012-04-12  Ryosuke Niwa  <rniwa@webkit.org>
121
122         Extract PerfTest class from PerfTestRunner
123         https://bugs.webkit.org/show_bug.cgi?id=83847
124
125         Reviewed by Hajime Morita.
126
127         Extracted PerfTest and ChromiumStylePerfTest from PerfTestRunner. This class abstracts a test
128         that was previously represented by a tuple.
129
130         Also moved the logic to determine whether a given test is chromium style or not from run() to
131         _collect_tests(). And moved the output parsing algorithms for parser style and chromium style
132         tests from PerfTestRunner to PerfTest and ChromiumStylePerfTest respectively so that we may
133         add new types of tests more easily.
134
135         * Scripts/webkitpy/performance_tests/perftest.py: Added.
136         (PerfTest):
137         (PerfTest.__init__):
138         (PerfTest.test_name):
139         (PerfTest.dirname):
140         (PerfTest.path_or_url):
141         (PerfTest._should_ignore_line_in_parser_test_result):
142         (PerfTest.parse_output):
143         (ChromiumStylePerfTest):
144         (ChromiumStylePerfTest.__init__):
145         (ChromiumStylePerfTest.parse_output):
146         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
147         (PerfTestsRunner._collect_tests):
148         (PerfTestsRunner.run):
149         (PerfTestsRunner._run_tests_set):
150         (PerfTestsRunner._run_single_test):
151         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
152         (run_test):
153         (_tests_for_runner):
154         (test_run_test_set_with_json_output):
155         (test_run_test_set_with_json_source):
156         (test_run_test_set_with_multiple_repositories):
157         (_collect_tests_and_sort_test_name):
158         (test_collect_tests):
159         (test_collect_tests_with_skipped_list):
160
161 2012-04-12  Balazs Kelemen  <kbalazs@webkit.org>
162
163         [Qt] Fix WebKit1 build with V8
164         https://bugs.webkit.org/show_bug.cgi?id=83322
165
166         Reviewed by Adam Barth.
167
168         * DumpRenderTree/qt/DumpRenderTree.pro:
169         * qmake/mkspecs/features/default_post.prf:
170         * qmake/mkspecs/features/default_pre.prf:
171         * qmake/mkspecs/features/features.prf:
172
173 2012-04-12  Dirk Pranke  <dpranke@chromium.org>
174
175         test-webkitpy fails on metered_stream_unittest for non-US West Coast Time Zones
176         https://bugs.webkit.org/show_bug.cgi?id=83583
177
178         Reviewed by Philippe Normand
179
180         Updated the unit test to ignore the hours and minutes of the
181         localtime for time(0), since we can't easily guarantee which
182         timezone we're in or what timezone rules were in effect on
183         1/1/1970; this should be mostly fine since we can trust that
184         time.localtime() will work, although there is the possibility
185         that we'll screw up the time formatting of which field is the
186         hours and which is the minutes.
187
188         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
189         (VerboseTest):
190         (VerboseTest.test_basic):
191         (VerboseTest.test_log_after_update):
192
193 2012-04-12  Dominik Rottsches  <dominik.rottsches@linux.intel.com>
194
195         Add an EFL Debug Buildbot to the master configuration
196         https://bugs.webkit.org/show_bug.cgi?id=82711
197
198         Forgot to add EFL Linux Debug to scheduler.
199
200         Reviewed by Philippe Normand.
201
202         * BuildSlaveSupport/build.webkit.org-config/config.json:
203
204 2012-04-12  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
205
206         Add an EFL Debug Buildbot to the master configuration
207         https://bugs.webkit.org/show_bug.cgi?id=82711
208
209         Reviewed by Philippe Normand.
210
211         Hooking up our EFL Linux 64bit debug configuration buildbot to the buildbot master.
212
213         * BuildSlaveSupport/build.webkit.org-config/config.json: EFL Debug builder added
214
215 2012-04-12  George Staikos  <staikos@webkit.org>
216
217         Enable the fullscreen API for BlackBerry.
218         https://bugs.webkit.org/show_bug.cgi?id=83757
219
220         Reviewed by Antonio Gomes.
221
222         * Scripts/build-webkit:
223
224 2012-04-12  Simon Pena  <spena@igalia.com>
225
226         [GTK] Test runner crashes without recent versions of pulseaudio-utils
227         https://bugs.webkit.org/show_bug.cgi?id=83774
228
229         Reviewed by Philippe Normand.
230
231         Besides checking that pactl is available, check also that its output
232         is the expected one, and handle gracefully when it isn't, when
233         trying to unload pulseaudio modules.
234
235         * Scripts/webkitpy/layout_tests/port/gtk.py:
236         (GtkPort._unload_pulseaudio_module):
237         (GtkPort._restore_pulseaudio_module):
238
239 2012-03-05  Pierre Rossi  <pierre.rossi@gmail.com>
240
241         [Qt] Use QRawFont when building with Qt 5
242         https://bugs.webkit.org/show_bug.cgi?id=78001
243
244         Flip the QRawFont switch for Qt 5.
245
246         Reviewed by Simon Hausmann.
247
248         * qmake/mkspecs/features/features.prf:
249
250 2012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
251
252         Web Inspector: Disabling Inspector causes build failure on Windows
253         https://bugs.webkit.org/show_bug.cgi?id=83557
254
255         Reviewed by Pavel Feldman.
256
257         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
258         This change brings all such API calls under the guard.
259
260         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
261         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
262         (WTR):
263         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
264         (LayoutTestController):
265         * WebKitTestRunner/TestInvocation.cpp:
266         (WTR::TestInvocation::invoke):
267
268 2012-04-11  Dirk Pranke  <dpranke@chromium.org>
269
270         Fix regression introduced in r113927.
271
272         Unreviewed, build fix.
273
274         I failed to rename skipped_tests() to skipped_layout_tests()
275         everywhere it needed to be renamed. The unit tests didn't catch
276         this because the TestPort was one of the places that didn't get
277         renamed :(.
278
279         * Scripts/webkitpy/layout_tests/controllers/manager.py:
280         (Manager.parse_expectations):
281         * Scripts/webkitpy/layout_tests/port/test.py:
282         (TestPort.skipped_layout_tests):
283         * Scripts/webkitpy/tool/commands/queries.py:
284         (PrintExpectations._model):
285
286 2012-04-11  Dirk Pranke  <dpranke@chromium.org>
287
288         new-run-webkit-tests: 'webkit-patch skipped-ports' introduced bad layering
289         https://bugs.webkit.org/show_bug.cgi?id=47528
290
291         Reviewed by Adam Barth.
292
293         The skipped-ports command has been replaced by 'webkit-patch
294         print-expectations', which offers the equivalent functionality
295         via 'webkit-patch print-expectations --platform \* -t skip'
296         (and other features, of course).
297         
298         This also allows me to fix a nasty layering violation where the
299         chromium port had to know about the TestExpectations objects in
300         order to implement the command properly.
301
302         Lastly, this allows me to rename skipped_tests() to
303         skipped_layout_tests() to more consistent with
304         skipped_perf_tests().
305         
306         This patch removes skips_layout_test() from the Port interface,
307         because that can't be implemented without the port knowing about
308         Expectations objects (and skipped-ports was the only thing using it).
309
310         * Scripts/webkitpy/layout_tests/port/base.py:
311         (Port.skipped_layout_tests):
312         (Port.skipped_perf_tests):
313         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
314         (PortTest.test_default_configuration_notfound):
315         * Scripts/webkitpy/layout_tests/port/chromium.py:
316         (ChromiumPort.test_expectations_overrides):
317         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
318         (ChromiumPortTest.test_path_to_image_diff):
319         * Scripts/webkitpy/layout_tests/port/webkit.py:
320         (WebKitPort.skipped_layout_tests):
321         * Scripts/webkitpy/tool/commands/queries.py:
322         (execute):
323         * Scripts/webkitpy/tool/commands/queries_unittest.py:
324         (QueryCommandsTest.test_tree_status):
325
326 2012-04-11  Mark Rowe  <mrowe@apple.com>
327
328         Remove a fprintf from LayoutTestController.
329
330         This fprintf is causing 100+MB of data to be written to stderr during a single run of the tests.
331         It was added for no apparent reason by Ryosuke in r113651.
332
333         * DumpRenderTree/LayoutTestController.cpp:
334         (LayoutTestController::redirectionDestinationForURL):
335
336 2012-04-11  Nico Weber  <thakis@chromium.org>
337
338         [mac] Suppress deprecation warning for GlobalToLocal in the carbon parts of the test plugin.
339         https://bugs.webkit.org/show_bug.cgi?id=83709
340
341         Reviewed by Anders Carlsson.
342
343         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
344         (handleEventCarbon):
345
346 2012-04-11  Rafael Brandao  <rafael.lobo@openbossa.org>
347
348         Adding myself to committers.py
349         https://bugs.webkit.org/show_bug.cgi?id=83711
350
351         Unreviewed update to committers.py.
352
353         * Scripts/webkitpy/common/config/committers.py:
354
355 2012-04-11  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
356
357         [EFL] LayoutTestController needs implementation of pageProperty
358         https://bugs.webkit.org/show_bug.cgi?id=82449
359
360         Add missing implementation pageProperty to EFL's LayoutTestController
361         in order to unskip printing/page-rule-selection.html
362
363         Reviewed by Antonio Gomes.
364
365         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
366         (LayoutTestController::pageProperty):
367
368 2012-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
369
370         Unreviewed, rolling out r113836.
371         http://trac.webkit.org/changeset/113836
372         https://bugs.webkit.org/show_bug.cgi?id=83705
373
374         Broke all the WebKit2 inspector tests (Requested by andersca
375         on #webkit).
376
377         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
378         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
379         (WTR::LayoutTestController::showWebInspector):
380         (WTR::LayoutTestController::closeWebInspector):
381         (WTR::LayoutTestController::evaluateInWebInspector):
382         (WTR::LayoutTestController::setJavaScriptProfilingEnabled):
383         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
384         (LayoutTestController):
385         * WebKitTestRunner/TestInvocation.cpp:
386         (WTR::TestInvocation::invoke):
387
388 2012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
389
390         Web Inspector: Disabling Inspector causes build failure on Windows
391         https://bugs.webkit.org/show_bug.cgi?id=83557
392
393         Reviewed by Pavel Feldman.
394
395         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
396         This change brings all such API calls under the guard.
397
398         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
399         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
400         (WTR):
401         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
402         (LayoutTestController):
403         * WebKitTestRunner/TestInvocation.cpp:
404         (WTR::TestInvocation::invoke):
405
406 2012-04-11  No'am Rosenthal  <noam.rosenthal@nokia.com>
407
408         [Qt][WK2] Manage graphics buffers in the web process
409         https://bugs.webkit.org/show_bug.cgi?id=78675
410  
411         Make graphics surface available only for Qt 5, attempting to fix
412         the Qt-mac build.
413
414         Unreviewed build fix.
415
416         * qmake/mkspecs/features/features.prf:
417
418 2012-04-11  Philippe Normand  <pnormand@igalia.com>
419
420         Unreviewed, GTK NRWT follow-up fix after r113849.
421
422         * Scripts/webkitpy/layout_tests/port/gtk.py:
423         (GtkPort._unload_pulseaudio_module): Exit early if pactl is not found.
424
425 2012-04-11  Simon Pena  <spena@igalia.com>
426
427         [GTK] media/event-attributes.html fails
428         https://bugs.webkit.org/show_bug.cgi?id=71662
429
430         Reviewed by Philippe Normand.
431
432         PulseAudio's module "module-stream-restore" allows saving the volume
433         of a stream, restoring it the next time it runs.
434         This affects the tests, since DumpRenderTree's volume settings are
435         saved between test runs, and tests relying on specific volume values
436         would miss some volumeChange events (or get additional ones).
437
438         This patch hooks on the existing GtkPort setup_test_run method and
439         creates a new clean_up_test_run method, so PulseAudio's module is
440         unloaded (if found) before running the tests, and restored (if it
441         was there previously) after they finished, ensuring the tests run in
442         the right environment.
443
444         * Scripts/webkitpy/layout_tests/controllers/manager.py:
445         (Manager._clean_up_run): Invoke the port implementation of
446         clean_up_test_run.
447         * Scripts/webkitpy/layout_tests/port/base.py:
448         (Port.clean_up_test_run): Add an empty implementation of
449         clean_up_test_run.
450         * Scripts/webkitpy/layout_tests/port/gtk.py:
451         (GtkPort._unload_pulseaudio_module): Unloads the offending
452         pulseaudio module, if found.
453         (GtkPort):
454         (GtkPort._restore_pulseaudio_module): Restores the offending
455         pulseaudio module, if it was there previously.
456         (GtkPort.setup_test_run): Calls _unload_pulseaudio_module.
457         (GtkPort.clean_up_test_run): Calls _restore_pulseaudio_module.
458
459 2012-04-11  Andras Becsi  <andras.becsi@nokia.com>
460
461         Fix the build with gcc 4.7.0
462         https://bugs.webkit.org/show_bug.cgi?id=83584
463
464         Reviewed by Alexey Proskuryakov.
465
466         * qmake/mkspecs/features/unix/default_post.prf:
467         The -fuse-ld=gold option is not supported with upstream gcc.
468
469 2012-04-11  Ryosuke Niwa  <rniwa@webkit.org>
470
471         Refactor PerfTestRunner to include file extensions in test names
472         https://bugs.webkit.org/show_bug.cgi?id=83677
473
474         Reviewed by Hajime Morita.
475
476         Move the logic that extracts the test name from _process_parser_test_result to _collect_tests.
477
478         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
479         (PerfTestsRunner._collect_tests):
480         (PerfTestsRunner._run_tests_set):
481         (PerfTestsRunner._process_parser_test_result): Still replace "/" by ": " to keep the output format.
482         We can make the said behavior change by simply removing "test_name = re.sub(r'\.\w+$', '', test_name)" here.
483         (PerfTestsRunner._run_single_test):
484         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
485         (run_test):
486         (_tests_for_runner):
487         (test_run_test_set):
488         (test_run_test_set_kills_drt_per_run):
489         (test_run_test_pause_before_testing):
490         (test_run_test_set_for_parser_tests):
491         (test_collect_tests):
492         (test_collect_tests_with_skipped_list):
493
494 2012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
495
496         Web Inspector: Disabling Inspector causes build failure on Windows
497         https://bugs.webkit.org/show_bug.cgi?id=83557
498
499         Reviewed by Pavel Feldman.
500
501         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
502         This change brings all such API calls under the guard.
503
504         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
505         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
506         (WTR):
507         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
508         (LayoutTestController):
509         * WebKitTestRunner/TestInvocation.cpp:
510         (WTR::TestInvocation::invoke):
511
512 2012-04-10  Kent Tamura  <tkent@chromium.org>
513
514         Unreviewed. Using tkent+wkapi@ for ChromiumPublicApi notifications.
515
516         * Scripts/webkitpy/common/config/watchlist:
517         * Scripts/webkitpy/common/config/committers.py: Add tkent+wkapi@ to pass the style checker.
518
519 2012-04-10  Dirk Pranke  <dpranke@chromium.org>
520
521         If NRWT gets killed halfway through a run, it incorrectly reports tests that weren't run as passes
522         https://bugs.webkit.org/show_bug.cgi?id=82799
523
524         Reviewed by Ojan Vafai.
525
526         The tests we were skipping in _mark_interrupted_tests_as_skipped
527         had incorrectly-constructed TestResults, and so they were not
528         being treated as failures. The JSON generator doesn't record
529         tests that are passed or skiped in incremental_results, so you
530         couldn't tell these tests were being skipped at all.
531
532         This change changes _mark_interrupted_tests_as_skipped() to
533         treat the skipped tests as failures; this is arguably still
534         incorrect but is minimally invasive for now. We probably need to
535         revisit how we are uploading information about tests that are
536         skipped and passed altogether in a separate change.
537
538         This change also cleans up a couple of other nits that were
539         unnecessary or broken in this same code path.
540
541         * Scripts/webkitpy/layout_tests/controllers/manager.py:
542         (Manager._mark_interrupted_tests_as_skipped):
543         (Manager._upload_json_files): Deletes the check for
544         chromium-mac-leopard (as it is no longer necessary).
545         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
546         (JSONLayoutResultsGenerator.__init__): Here we were
547         recalculating the failure type unnecessarily.
548         * Scripts/webkitpy/layout_tests/models/test_failures.py:
549         (determine_result_type):
550         (FailureEarlyExit): Adds a new failure type so we can tell what
551         happened.
552         (FailureEarlyExit.message):
553         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
554         (MainTest.test_exit_after_n_failures_upload): Add more checks to
555         ensure that we are recording the SKIP correctly; this is less
556         than ideal, because we can't actually test the contents of
557         incremental_results.json. We should fix that at some point.
558
559 2012-04-10  Dirk Pranke  <dpranke@chromium.org>
560
561         make chromium layout tests not depend on platform/win, platform/mac-leopard, or platform/mac-snowleopard
562         https://bugs.webkit.org/show_bug.cgi?id=83401
563
564         Reviewed by Adam Barth.
565
566         Last patch in the series - no longer look in mac-leopard,
567         mac-snowleopard, or mac-lion.
568
569         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
570         (ChromiumMacPort):
571         * TestResultServer/static-dashboards/flakiness_dashboard.html:
572
573 2012-04-10  Dirk Pranke  <dpranke@chromium.org>
574
575         webkit-patch: add a print-expectations command
576         https://bugs.webkit.org/show_bug.cgi?id=83347
577
578         Reviewed by Adam Barth.
579
580         This command will print the expected results for a given set of
581         tests on a given set of ports matching a given set of keywords.
582
583         Example output (printing all the tests not expected to pass, and their
584         expected results, on a Mac):
585
586         $ webkit-patch print-expectations -x pass fast/html
587         // For mac-snowleopard
588         fast/html/details-open4.html = TEXT
589         fast/html/details-open2.html = TEXT
590         fast/html/details-no-summary4.html = TEXT
591         fast/html/details-open-javascript.html = TEXT
592         $
593
594         You can also print full test-expectatons.txt lines using --full and a
595         CSV-style report (which can be useful for post-processing) using --csv.
596
597         It will replace the 'skipped-files' command (which will be
598         removed in a subsequent patch) and is a more general (and
599         cleaner and properly layered) solution.
600
601         Also add an update() command to MockOptions() to make overriding keywords easier.
602
603         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
604         (TestExpectationSerializer.to_string):
605         (TestExpectationSerializer):
606         (TestExpectationSerializer.to_csv):
607         (TestExpectationSerializer._format_result):
608         (TestExpectationLine.create_passing_expectation):
609         (TestExpectationsModel.get_test_set_for_keyword):
610         (TestExpectationsModel.has_keyword):
611         (TestExpectations.model):
612         * Scripts/webkitpy/tool/commands/queries.py:
613         (execute):
614         (PrintExpectations):
615         (PrintExpectations.__init__):
616         (PrintExpectations.execute):
617         (PrintExpectations._filter_tests):
618         (PrintExpectations._format_lines):
619         (PrintExpectations._model):
620         * Scripts/webkitpy/tool/commands/queries_unittest.py:
621         (TestPrintExpectations): Added.
622         * Scripts/webkitpy/tool/mocktool.py:
623         (MockOptions):
624         (MockOptions.__init__):
625         (MockOptions.update): Added.
626
627 2012-04-10  Dirk Pranke  <dpranke@chromium.org>
628
629         webkitpy: refactor handling of --platform and related options
630         https://bugs.webkit.org/show_bug.cgi?id=83525
631
632         Reviewed by Adam Barth.
633
634         This change moves to centralize handling of --platform, --debug,
635         --gtk, and other similar flags into a central place next to the
636         code that actually uses those flags in PortFactory to get the
637         right Port object.
638
639         * Scripts/webkitpy/layout_tests/port/__init__.py:
640         * Scripts/webkitpy/layout_tests/port/factory.py:
641         (port_options):
642         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
643         (parse_args):
644         * Scripts/webkitpy/tool/commands/queries.py:
645         (PrintBaselines.__init__):
646
647 2012-04-10  Ojan Vafai  <ojan@chromium.org>
648
649         Add a chromeless view to the individual tests view
650         https://bugs.webkit.org/show_bug.cgi?id=83541
651
652         Reviewed by Daniel Bates.
653
654         This is the view suitable to inlining in other contexts (e.g. garden-o-matic).
655
656         * TestResultServer/static-dashboards/flakiness_dashboard.html:
657         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
658         (testHtmlForIndividualTestOnAllBuilders):
659         (testHtmlForIndividualTestOnAllBuildersWithChromeNonexistant):
660         (testHtmlForIndividualTestOnAllBuildersWithChrome):
661         (testHtmlForIndividualTestOnAllBuildersWithChromeWebkitMaster):
662         (testHtmlForIndividualTests):
663         (htmlEscape):
664         (runTests):
665
666 2012-04-10  Dirk Pranke  <dpranke@chromium.org>
667
668         remove 'win' from chromium-win, chromium-linux fallback paths
669         https://bugs.webkit.org/show_bug.cgi?id=83613
670
671         Reviewed by Ojan Vafai.
672
673         The chromium ports no longer need to look at the apple 'win'
674         directory for baseline results.
675
676         Also remove the old '-gpu-' entries from the flakiness dashboard
677         map since I'm touching lines nearby.
678
679         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
680         (ChromiumLinuxPort):
681         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
682         (ChromiumWinPort):
683         * TestResultServer/static-dashboards/flakiness_dashboard.html:
684
685 2012-04-10  No'am Rosenthal  <noam.rosenthal@nokia.com>
686
687         [Qt][WK2] Manage graphics buffers in the web process
688         https://bugs.webkit.org/show_bug.cgi?id=78675
689
690         Enable graphics surfaces on Mac for Qt.
691
692         Reviewed by Kenneth Rohde Christiansen.
693
694         * qmake/mkspecs/features/features.prf:
695
696 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
697
698         [CMake] Enable USE_FOLDERS property
699         https://bugs.webkit.org/show_bug.cgi?id=83571
700
701         Reviewed by Daniel Bates.
702
703         Setting the FOLDER property on targets gives more structure
704         to the generated Visual Studio solutions.
705         This does not affect other CMake generators.
706
707         * DumpRenderTree/efl/CMakeLists.txt:
708         * EWebLauncher/CMakeLists.txt:
709         * WinCELauncher/CMakeLists.txt:
710
711 2012-04-10  David Dorwin  <ddorwin@chromium.org>
712
713         Add Encrypted Media Extensions methods to HTMLMediaElement
714         https://bugs.webkit.org/show_bug.cgi?id=82971
715
716         Reviewed by Adam Barth.
717
718         The extensions are behind the ENABLE(ENCRYPTED_MEDIA) feature define.
719         Implementation is based on v0.1 of the draft proposal at
720         http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html.
721
722         * DumpRenderTree/chromium/TestShell.cpp:
723         (TestShell::TestShell):
724
725 2012-04-10  Christophe Dumez  <christophe.dumez@intel.com>
726
727         [EFL][DRT] Catch the "title,changed" signal
728         https://bugs.webkit.org/show_bug.cgi?id=82174
729
730         Reviewed by Gustavo Noronha Silva.
731
732         EFL's DumpRenderTree now catches the "title,changed" signal, and
733         prints out the needed information.
734
735         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
736         (DumpRenderTreeChrome::onTitleChanged):
737
738 2012-04-10  Christophe Dumez  <christophe.dumez@intel.com>
739
740         [EFL] DRT should support LayoutTestController's willSendRequestReturnsNull()
741         https://bugs.webkit.org/show_bug.cgi?id=82443
742
743         Reviewed by Philippe Normand.
744
745         EFL's DRT needs to support LayoutTestController's
746         willSendRequestReturnsNull() and return NULL when expected. This
747         allows for several tests to be removed from the skip list.
748
749         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
750         (DumpRenderTreeChrome::onWillSendRequest):
751
752 2012-04-10  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
753
754         [EFL] LayoutTestController needs implementation of addUserStyleSheet
755         https://bugs.webkit.org/show_bug.cgi?id=82446
756
757         Adding missing implementation addUserStyleSheet to EFL's LayoutTestController 
758         so that we can unskip related tests from the skip list. 
759
760         Reviewed by Antonio Gomes.
761
762         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
763         (LayoutTestController::addUserStyleSheet): Implemented.
764
765 2012-04-10  Philip Rogers  <pdr@google.com>
766
767         Adding myself to committers.py!
768
769         Unreviewed update to committers.py.
770
771         * Scripts/webkitpy/common/config/committers.py:
772
773 2012-04-10  Dinu Jacob  <dinu.jacob@nokia.com>
774
775         [Qt][WK2] Title in MiniBrowser is not updated for a page with no title
776         https://bugs.webkit.org/show_bug.cgi?id=82483
777
778         Reviewed by Kenneth Rohde Christiansen.
779
780         Set window title to default if there is no page title.
781
782         * MiniBrowser/qt/BrowserWindow.cpp:
783         (BrowserWindow::BrowserWindow):
784         (BrowserWindow::onTitleChanged):
785         * MiniBrowser/qt/BrowserWindow.h:
786         (BrowserWindow):
787
788 2012-03-23  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
789
790         [Qt][WK2] Implement PageClient::isViewWindowActive()
791         https://bugs.webkit.org/show_bug.cgi?id=81143
792
793         Reviewed by Kenneth Rohde Christiansen.
794
795         Fix the WrapperWindow from our PlatformWebView
796         so it correctly creates the platform related
797         stuff for QWindow, which is not created unless
798         QWindow::setVisible() or QWindow::show() are called.
799
800         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
801         (WTR::PlatformWebView::PlatformWebView):
802
803 2012-04-10  Balazs Kelemen  <kbalazs@webkit.org>
804
805         [Qt][WK2] TestNetscapePlugin is broken
806         https://bugs.webkit.org/show_bug.cgi?id=83024
807
808         Reviewed by Csaba Osztrogonác.
809
810         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
811         Fix X11 availability check. embedded is always true with QPA.
812         * Tools.pro:
813         Build the test plugin if plugins are enabled for WebKit2.
814         * qmake/mkspecs/features/features.prf:
815         * qmake/mkspecs/features/functions.prf:
816         Added a convenience function to determine availability
817         of X11 libraries.
818
819 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
820
821         [WIN] Fix build without precompiled header.
822
823         * DumpRenderTree/cg/ImageDiffCG.cpp: Define max as max as we do for min.
824
825 2012-04-10  Arko Saha  <arko@motorola.com>
826
827         Unreviewed: adding myself to committers.py.
828
829         * Scripts/webkitpy/common/config/committers.py:
830
831 2012-04-09  Kaustubh Atrawalkar  <kaustubh@motorola.com>
832
833         Unreviewed: adding myself to committers.py.
834
835         * Scripts/webkitpy/common/config/committers.py:
836
837 2012-04-09  Sheriff Bot  <webkit.review.bot@gmail.com>
838
839         Unreviewed, rolling out r113656.
840         http://trac.webkit.org/changeset/113656
841         https://bugs.webkit.org/show_bug.cgi?id=83542
842
843         test is broken on chromium-win (Requested by simonjam on
844         #webkit).
845
846         * DumpRenderTree/chromium/WebViewHost.cpp:
847         (WebViewHost::dispatchIntent):
848
849 2012-04-09  Takashi Toyoshima  <toyoshim@chromium.org>
850
851         Update pywebsocket to 0.7.4.
852         https://bugs.webkit.org/show_bug.cgi?id=83461
853
854         Reviewed by Kent Tamura.
855
856         This version supports TLS by using ssl in addition to pyOpenSSL.
857         Other functional difrerences from 0.7.2 are:
858          - strict Sec-WebSocket-Key validation conforming RFC 4648
859          - compression ratio logging in debug
860
861         * Scripts/webkitpy/thirdparty/__init__.py:
862         (AutoinstallImportHook._install_pywebsocket):
863
864 2012-04-09  Dirk Pranke  <dpranke@chromium.org>
865
866         add a webkit-patch print-baselines command
867         https://bugs.webkit.org/show_bug.cgi?id=83348
868
869         Reviewed by Adam Barth.
870
871         This adds a simple 'print-baselines' command to webkit-patch
872         that can be used in one of two forms: to print where the
873         baselines for a given test (or set of tests) on a single port
874         will be found, or to generate a report for multiple ports.
875
876         Example of the former:
877
878         $ webkit-patch print-baselines fast/html/keygen.html
879         // For mac-snowleopard
880         platform/mac/fast/html/keygen-expected.txt
881         platform/mac/fast/html/keygen-expected.png
882         $
883
884         The latter is most useful for finding out which fallback dirs are
885         used by which ports for which tests, for example,
886         'chromium-mac-leopard' uses 100 results from 'platform/mac/leopard'.
887         No example output is given because the reports are pretty wordy :).
888
889         * Scripts/webkitpy/layout_tests/port/base.py:
890         (Port.baseline_extensions): Added.
891         (Port.expected_baseline_dict): Added.
892         * Scripts/webkitpy/tool/commands/queries.py:
893         (PrintBaselines):
894         (PrintBaselines.__init__):
895         (PrintBaselines.execute):
896         (PrintBaselines._print_baselines):
897         (PrintBaselines._platform_for_path):
898
899 2012-04-09  Florin Malita  <fmalita@chromium.org>
900
901         Unreviewed: adding myself to committers.py.
902
903         * Scripts/webkitpy/common/config/committers.py:
904
905 2012-04-09  Ming Xie  <mxie@rim.com>
906
907         [BlackBerry] Allow simulator to use GLES2 acceleration
908         https://bugs.webkit.org/show_bug.cgi?id=81672
909
910         Reviewed by Rob Buis.
911
912         * Scripts/webkitdirs.pm:
913         (blackberryCMakeArguments):
914
915 2012-04-09  Dana Jansens  <danakj@chromium.org>
916
917         Mark myself as a committer
918         https://bugs.webkit.org/show_bug.cgi?id=83510
919
920         Reviewed by Adrienne Walker.
921
922         * Scripts/webkitpy/common/config/committers.py:
923
924 2012-04-09  Dirk Pranke  <dpranke@chromium.org>
925
926         nrwt is failing to upload test results on the chromium-mac-leopard bots
927         https://bugs.webkit.org/show_bug.cgi?id=83230
928
929         Unreviewed, build fix.
930
931         It looks like the change in r113399 to use the per-request
932         timeout variable didn't actually work, so I am removing the
933         timeout code altogether and counting on the idea that upload
934         just isn't likely to take that long and the timeouts and
935         retransmits are largely unused and largely unnecessary. We'll
936         see if this breaks anywhere else.
937
938         * Scripts/webkitpy/common/net/file_uploader.py:
939         (FileUploader.__init__):
940         (FileUploader._upload_data.callback):
941         (FileUploader):
942
943 2012-04-09  Rob Buis  <rbuis@rim.com>
944
945         [BlackBerry] Cleanup LayoutTestControllerBlackBerry.cpp
946         https://bugs.webkit.org/show_bug.cgi?id=83469
947
948         Reviewed by Dirk Schulze.
949
950         Remove WTF:: prefixes and fix a warning with the length variable.
951
952         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
953         (jsStringRefToWebCoreString):
954         (LayoutTestController::execCommand):
955         (LayoutTestController::isCommandEnabled):
956         (LayoutTestController::setUserStyleSheetLocation):
957         (LayoutTestController::counterValueForElementById):
958         (LayoutTestController::overridePreference):
959         (LayoutTestController::setMockGeolocationError):
960         (LayoutTestController::findString):
961
962 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
963
964         Build fix for WinCE after r113570.
965
966         * Scripts/build-webkit: Do not use FastMalloc for WinCE.
967
968 2012-04-09  Eric Carlson  <eric.carlson@apple.com>
969
970         Subscribe eric.carlson@apple.com to Media-related changes
971         https://bugs.webkit.org/show_bug.cgi?id=83421
972
973         Reviewed by Dan Bernstein.
974
975         * Scripts/webkitpy/common/config/watchlist:
976
977 2012-04-09  Martin Robinson  <mrobinson@igalia.com>
978
979         check-webkit-style should ignore NULL usage in gtk_style_context_get_style
980         https://bugs.webkit.org/show_bug.cgi?id=83412
981
982         Reviewed by David Levin.
983
984         Accept NULL as an argument for gtk_style_context_get_style, because it's
985         used as a sentinel in a variable argument list. 
986
987         * Scripts/webkitpy/style/checkers/cpp.py:
988         (check_for_null): Add an exception.
989         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
990         (WebKitStyleTest.test_null_false_zero): Add a test for the exception.
991
992 2012-04-09  Dirk Pranke  <dpranke@chromium.org>
993
994         webkitpy: use the filesystem object properly in fileuploader
995         https://bugs.webkit.org/show_bug.cgi?id=83326
996
997         Reviewed by Adam Barth.
998
999         We should be using the filesystem object rather than the codecs
1000         object.
1001
1002         * Scripts/webkitpy/common/net/file_uploader.py:
1003         (FileUploader.upload_as_multipart_form_data):
1004
1005 2012-04-09  Eric Seidel  <eric@webkit.org>
1006
1007         Enable webkit_unit_tests for commit queue and EWS while tracking failures
1008         https://bugs.webkit.org/show_bug.cgi?id=83329
1009
1010         Unreviewed.  Add a missing import to unbreak all the Chromium EWS/CQ bots. :)
1011
1012         line 62, in _create_unit_test_results
1013          return UnitTestResults.results_from_string(results_xml)
1014          NameError: global name 'UnitTestResults' is not defined
1015
1016         * Scripts/webkitpy/tool/bot/layouttestresultsreader.py:
1017         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
1018         (LayoutTestResultsReaderTest.test_create_unit_test_results):
1019
1020 2012-04-08  Adam Barth  <abarth@webkit.org>
1021
1022         The port object is missing unit_tests_results_path
1023         https://bugs.webkit.org/show_bug.cgi?id=83448
1024
1025         Unreviewed.
1026
1027         This is causing the cr-linux-ews to throw an exception.
1028
1029         * Scripts/webkitpy/common/config/ports.py:
1030         (DeprecatedPort.unit_tests_results_path):
1031
1032 2012-04-07  Patrick Gansterer  <paroga@webkit.org>
1033
1034         [CMake] Cleanup WTF include directories
1035         https://bugs.webkit.org/show_bug.cgi?id=82716
1036
1037         Reviewed by Eric Seidel.
1038
1039         * DumpRenderTree/efl/CMakeLists.txt:
1040         * WinCELauncher/CMakeLists.txt:
1041
1042 2012-04-07  Rob Buis  <rbuis@rim.com>
1043
1044         [BlackBerry] Add Battery Status API support
1045         https://bugs.webkit.org/show_bug.cgi?id=82615
1046
1047         Reviewed by George Staikos.
1048
1049         Enable BATTERY_STATUS.
1050
1051         * Scripts/build-webkit:
1052
1053 2012-04-06  Ami Fischman  <fischman@chromium.org>
1054
1055         Subscribe feature-media-reviews@c.o to Media-related changes.
1056         https://bugs.webkit.org/show_bug.cgi?id=83397
1057
1058         Reviewed by David Levin.
1059
1060         * Scripts/webkitpy/common/config/committers.py:
1061         * Scripts/webkitpy/common/config/watchlist:
1062
1063 2012-04-06  Adrienne Walker  <enne@google.com>
1064
1065         [chromium] Add virtual test suite for threaded compositing
1066         https://bugs.webkit.org/show_bug.cgi?id=82263
1067
1068         Reviewed by James Robinson.
1069
1070         Add compositing/visibility as a virtual test suites to test threaded
1071         compositing with. This is a reasonable smoke test of 9 tests, none of
1072         which have any expectations in the non-threaded case.
1073
1074         To fix many of the remaining tests in this virtual test suite, there
1075         will need to be some serious refactoring to merge the conflict between
1076         the way CCScheduler wants to draw frames and the way DRT also wants to
1077         control things. So, in the short term, enable a few simple tests that
1078         are known to be passing.
1079
1080         * Scripts/webkitpy/layout_tests/port/chromium.py:
1081         (ChromiumPort.virtual_test_suites):
1082
1083 2012-04-06  Enrica Casucci  <enrica@apple.com>
1084
1085         Provide Obj-C private API to simplify markup.
1086         https://bugs.webkit.org/show_bug.cgi?id=83334
1087         <rdar://problem/11033861>
1088
1089         Reviewed by Sam Weinig.
1090
1091         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1092         * TestWebKitAPI/Tests/mac/SimplifyMarkup.mm: Added.
1093         (-[SimplifyMarkupTest webView:didFinishLoadForFrame:]):
1094         * TestWebKitAPI/Tests/mac/verboseMarkup.html: Added.
1095
1096 2012-04-06  Dirk Pranke  <dpranke@chromium.org>
1097
1098         new-run-webkit-tests: fix bugs in 'mock' drt implementation
1099         https://bugs.webkit.org/show_bug.cgi?id=83341
1100
1101         Reviewed by Eric Seidel.
1102
1103         The current implementation crashed in some circumstances for
1104         reference tests and files that were missing expected results.
1105         This patch fixes those cases and adds more unit tests; it is a
1106         precursor to adding unit tests each port that actually uses this
1107         code, in order to get better coverage of the port/*
1108         implementations.
1109
1110         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
1111         (parse_options):
1112         (MockDRT.input_from_line):
1113         (MockDRT.output_for_test):
1114         (MockDRT.run_one_test):
1115         (MockChromiumDRT.input_from_line):
1116         (MockChromiumDRT.output_for_test):
1117         (MockChromiumDRT.run_one_test):
1118         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
1119         (MockDRTTest.make_input_output):
1120         (MockDRTTest.expected_output):
1121         (MockDRTTest):
1122         (MockDRTTest.assertTest):
1123         (MockDRTTest.test_missing_image):
1124         (MockDRTTest.test_missing_text):
1125         (MockDRTTest.test_reftest_match):
1126         (MockDRTTest.test_reftest_mismatch):
1127         (MockChromiumDRTTest.expected_output):
1128
1129 2012-04-06  James Robinson  <jamesr@chromium.org>
1130
1131         Enable webkit_unit_tests for commit queue and EWS while tracking failures
1132         https://bugs.webkit.org/show_bug.cgi?id=83329
1133
1134         Reviewed by Adam Barth.
1135
1136         This adds a step to parse XML output from webkit_unit_tests and consider regressions in the PatchAnalysisTask so
1137         the commit queue and EWS can reject patches that cause regressions.
1138
1139         * Scripts/webkitpy/common/config/ports.py:
1140         (ChromiumPort.run_webkit_unit_tests_command):
1141         * Scripts/webkitpy/common/config/ports_mock.py:
1142         (MockPort.unit_tests_results_path):
1143         * Scripts/webkitpy/common/net/layouttestresults.py:
1144         (LayoutTestResults.__init__):
1145         (LayoutTestResults.failing_tests):
1146         (LayoutTestResults):
1147         (LayoutTestResults.add_unit_test_failures):
1148         * Scripts/webkitpy/common/net/unittestresults.py: Copied from Tools/Scripts/webkitpy/tool/steps/runtests_unittest.py.
1149         (UnitTestResults):
1150         (UnitTestResults.results_from_string):
1151         * Scripts/webkitpy/common/net/unittestresults_unittest.py: Added.
1152         (UnitTestResultsTest):
1153         (UnitTestResultsTest.test_nostring):
1154         (UnitTestResultsTest.test_emptystring):
1155         (UnitTestResultsTest.test_nofailures):
1156         (test_onefailure):
1157         (test_multiple_failures_per_test):
1158         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1159         (MockCommitQueue.test_results):
1160         (MockCommitQueue.archive_last_test_results):
1161         (FailingTestCommitQueue.test_results):
1162         (test_flaky_test_failure):
1163         (test_failed_archive):
1164         * Scripts/webkitpy/tool/bot/layouttestresultsreader.py:
1165         (LayoutTestResultsReader._create_unit_test_results):
1166         (LayoutTestResultsReader.results):
1167         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
1168         (LayoutTestResultsReaderTest.test_missing_layout_test_results):
1169         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
1170         (PatchAnalysisTaskDelegate.test_results):
1171         (PatchAnalysisTaskDelegate.archive_last_test_results):
1172         (PatchAnalysisTask._test):
1173         (PatchAnalysisTask._build_and_test_without_patch):
1174         (PatchAnalysisTask._test_patch):
1175         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
1176         (AbstractEarlyWarningSystem.test_results):
1177         (AbstractEarlyWarningSystem.archive_last_test_results):
1178         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
1179         (EarlyWarningSytemTest._test_testing_ews):
1180         * Scripts/webkitpy/tool/commands/queues.py:
1181         (CommitQueue.test_results):
1182         (CommitQueue.archive_last_test_results):
1183         * Scripts/webkitpy/tool/commands/queues_unittest.py:
1184         (CommitQueueTest.test_commit_queue):
1185         (test_rollout):
1186         (test_manual_reject_during_processing):
1187         * Scripts/webkitpy/tool/steps/runtests.py:
1188         (RunTests.run):
1189         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
1190         (RunTestsTest.test_webkit_run_unit_tests):
1191
1192 2012-04-06  Aaron Colwell  <acolwell@chromium.org>
1193
1194         Enable MediaSource feature for DumpRenderTree so
1195         MediaSource LayoutTests will pass for Chromium.
1196         https://bugs.webkit.org/show_bug.cgi?id=83053
1197
1198         Reviewed by Dimitri Glazkov.
1199
1200         * DumpRenderTree/chromium/TestShell.cpp:
1201         (TestShell::TestShell):
1202
1203 2012-04-06  George Staikos  <staikos@webkit.org>
1204
1205         Turn on vibration support for BlackBerry.
1206
1207         Reviewed by Rob Buis.
1208
1209         * Scripts/build-webkit:
1210
1211 2012-04-06  Dan Bernstein  <mitz@apple.com>
1212
1213         <rdar://problem/10912476> HiDPI: Have canvas use a hidpi backing store, but downsample upon access
1214
1215         Reviewed by Sam Weinig.
1216
1217         * Scripts/build-webkit: Added high-dpi-canvas option to control ENABLE_HIGH_DPI_CANVAS.
1218
1219 2012-04-05  Dirk Pranke  <dpranke@chromium.org>
1220
1221         nrwt is failing to upload test results on the chromium-mac-leopard bots
1222         https://bugs.webkit.org/show_bug.cgi?id=83230
1223
1224         Reviewed by Ojan Vafai.
1225
1226         This should fix things properly; FileUploader() was setting the
1227         socket default timeout value, and apparently that doesn't work
1228         properly with urllib. Also, the class had a bad try/finally
1229         block that was causing the exceptions to be swallowed :(.
1230
1231         * Scripts/webkitpy/common/net/file_uploader.py:
1232         (FileUploader.__init__):
1233         (FileUploader._upload_data.callback):
1234         (FileUploader):
1235         (FileUploader._upload_data):
1236         * Scripts/webkitpy/common/net/networktransaction.py:
1237         (NetworkTimeout.__str__):
1238         (NetworkTransaction.run):
1239         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1240         (JSONResultsGeneratorBase.upload_json_files):
1241
1242 2012-04-05  Patrick Gansterer  <paroga@webkit.org>
1243
1244         [Qt] Correct <wtf/*.h> include paths.
1245         https://bugs.webkit.org/show_bug.cgi?id=83270
1246
1247         Reviewed by Eric Seidel.
1248
1249         Modify the #include declerations so that the
1250         wtf types are included using the full path.
1251
1252         * WebKitTestRunner/qt/TestInvocationQt.cpp:
1253
1254 2012-04-05  Philippe Normand  <pnormand@igalia.com>
1255
1256         gtk_unittest.GtkPortTest.test_get_crash_log failing on windows
1257         https://bugs.webkit.org/show_bug.cgi?id=83176
1258
1259         Reviewed by Tony Chang.
1260
1261         Refactored the test to use os.path.join() to specify the
1262         core_pattern value of the empty crash log mock.
1263
1264         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
1265         (GtkPortTest):
1266         (GtkPortTest.assertLinesEqual):
1267         (GtkPortTest.test_get_crash_log):
1268         (_mock_gdb_output):
1269
1270 2012-04-05  Csaba Osztrogonác  <ossy@webkit.org>
1271
1272         [Qt] Fix includes after QtDeclarative -> QtQML renaming
1273         https://bugs.webkit.org/show_bug.cgi?id=82195
1274
1275         Relanding r112651, because Qt5 is updated everywhere.
1276
1277         * MiniBrowser/qt/BrowserWindow.cpp:
1278         (BrowserWindow::updateVisualMockTouchPoints):
1279         * MiniBrowser/qt/main.cpp:
1280         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
1281         (WTR::WrapperWindow::handleStatusChanged):
1282         * qmake/mkspecs/features/unix/default_post.prf:
1283
1284 2012-04-05  Pierre Rossi  <pierre.rossi@gmail.com>
1285
1286         [Qt] WK1/WK2 layout test results are diverging
1287         https://bugs.webkit.org/show_bug.cgi?id=82720
1288
1289         The resolving of default font families was altered in Qt5.
1290         This directly affects the font picked by DRT for layout
1291         tests. Since we want to keep the Qt4 and Qt5 results in line,
1292         we can trick DRT in picking the same font as before for now.
1293
1294         Reviewed by Csaba Osztrogonác.
1295
1296         * DumpRenderTree/qt/QtInitializeTestFonts.cpp:
1297         (WebKit::initializeTestFonts):
1298
1299 2012-04-05  Kinuko Yasuda  <kinuko@chromium.org>
1300
1301         Expose DataTransferItem.getAsEntry() to allow users access dropped files as FileEntry
1302         https://bugs.webkit.org/show_bug.cgi?id=82592
1303
1304         Reviewed by David Levin.
1305
1306         Added filesystem hook support in EventSender.beginDragWithFiles() for DumpRenderTree.
1307
1308         * DumpRenderTree/chromium/EventSender.cpp:
1309         (EventSender::beginDragWithFiles):
1310
1311 2012-04-04  Tim Horton  <timothy_horton@apple.com>
1312
1313         [mac] WKTR should always keep its windows offscreen
1314         https://bugs.webkit.org/show_bug.cgi?id=83244
1315         <rdar://problem/11188764>
1316
1317         Reviewed by Simon Fraser.
1318
1319         We don't want to allow windows onto the main display; intercept attempts to
1320         change WebKitTestRunnerWindow's frame origin and prevent it from happening.
1321
1322         Also keep around and respond with a new "fake" origin, in case someone is
1323         expecting it to change (I couldn't find any tests that expected this, however).
1324
1325         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1326         (-[WebKitTestRunnerWindow setFrameOrigin:]):
1327         (-[WebKitTestRunnerWindow setFrame:display:animate:]):
1328         (-[WebKitTestRunnerWindow setFrame:display:]):
1329         (-[WebKitTestRunnerWindow frame]):
1330
1331 2012-04-04  Dirk Pranke  <dpranke@chromium.org>
1332
1333         Fix typo introduced in r113271.
1334
1335         Unreviewed, build fix.
1336
1337         * Scripts/webkitpy/common/net/file_uploader.py:
1338         (FileUploader._upload_data.callback):
1339         (FileUploader):
1340
1341 2012-04-04  Scott Graham  <scottmg@google.com>
1342
1343         [Chromium, DRT] Bounds check indices on gamepadController
1344         https://bugs.webkit.org/show_bug.cgi?id=83192
1345
1346         Invalid test data would cause bad array accesses. Add simple checks to
1347         ignore such invalid data.
1348
1349         Reviewed by Kent Tamura.
1350
1351         * DumpRenderTree/chromium/GamepadController.cpp:
1352         (GamepadController::connect):
1353         (GamepadController::disconnect):
1354         (GamepadController::setId):
1355         (GamepadController::setButtonCount):
1356         (GamepadController::setButtonData):
1357         (GamepadController::setAxisCount):
1358         (GamepadController::setAxisData):
1359
1360 2012-04-04  Dirk Pranke  <dpranke@chromium.org>
1361
1362         nrwt is failing to upload test results on the chromium-mac-leopard bots
1363         https://bugs.webkit.org/show_bug.cgi?id=83230
1364
1365         Reviewed by Ojan Vafai.
1366
1367         More debugging info and a possible fix - stop messing with the
1368         default network timeout, and don't swallow URLErrors.
1369
1370         * Scripts/webkitpy/common/net/file_uploader.py:
1371         (FileUploader._upload_data):
1372         * Scripts/webkitpy/common/net/networktransaction.py:
1373         (NetworkTransaction.run):
1374         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1375         (JSONResultsGeneratorBase.upload_json_files):
1376
1377 2012-04-04  Dirk Pranke  <dpranke@chromium.org>
1378
1379         nrwt is failing to upload test results on the chromium-mac-leopard bots
1380         https://bugs.webkit.org/show_bug.cgi?id=83230
1381
1382         Reviewed by Ojan Vafai.
1383
1384         * Scripts/webkitpy/common/net/file_uploader.py:
1385         (FileUploader.__init__):
1386         (FileUploader._upload_data.callback):
1387         (FileUploader):
1388         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1389         (Manager._upload_json_files):
1390         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1391         (JSONResultsGeneratorBase.upload_json_files):
1392
1393 2012-04-04  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1394
1395         WKTR needs to implement layoutTestController.setPageVisibility()
1396         https://bugs.webkit.org/show_bug.cgi?id=69554
1397
1398         Reviewed by Simon Fraser.
1399
1400         This patch implements the layoutTestController.setPageVisibility
1401         so WKTR supports the Page Visibility API implementation by using InjectedBundle
1402         to set the visibility state directly to Page.
1403
1404         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
1405         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1406         (WTR::LayoutTestController::setPageVisibility):
1407         (WTR):
1408         (WTR::LayoutTestController::resetPageVisibility):
1409         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
1410         (LayoutTestController):
1411
1412 2012-04-04  Adam Barth  <abarth@webkit.org>
1413
1414         [Chromium] TestWebKitAPI links in WebCore twice
1415         https://bugs.webkit.org/show_bug.cgi?id=83177
1416
1417         Reviewed by Dimitri Glazkov.
1418
1419         This is causing link errors in the Windows component build. This patch
1420         moves the dependencies a bit lower down in the dependency diagram in
1421         the hopes of removing the duplicate symbols.
1422
1423         * TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp:
1424
1425 2012-04-04  Christophe Dumez  <christophe.dumez@intel.com>
1426
1427         [EFL][DRT] Catch the "resource,request,willsend" signal
1428         https://bugs.webkit.org/show_bug.cgi?id=82192
1429
1430         Reviewed by Gustavo Noronha Silva.
1431
1432         EFL's DumpRenderTree now catches the "resource,request,willsend"
1433         signal in order to implement the "Blocked access to external URL"
1434         behavior and avoid potential network-related timeouts in the tests.
1435
1436         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1437         (DumpRenderTreeChrome::createView):
1438         (DumpRenderTreeChrome::onWillSendRequest):
1439         * DumpRenderTree/efl/DumpRenderTreeChrome.h:
1440         (DumpRenderTreeChrome):
1441
1442 2012-04-04  Patrick Gansterer  <paroga@webkit.org>
1443
1444         [EFL][DRT] Correct <wtf/*.h> include paths.
1445         https://bugs.webkit.org/show_bug.cgi?id=83168
1446
1447         Reviewed by Eric Seidel.
1448
1449         Modify the #include declarations so that the 
1450         wtf types are included using the full path.
1451
1452         * DumpRenderTree/efl/DumpRenderTree.cpp:
1453
1454 2012-04-04  Philippe Normand  <pnormand@igalia.com>
1455
1456         gtk_unittest.GtkPortTest.test_get_crash_log failing on windows
1457         https://bugs.webkit.org/show_bug.cgi?id=83176
1458
1459         Reviewed by Tony Chang.
1460
1461         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
1462         (test_get_crash_log): Skip the test on non-linux platforms.
1463
1464 2012-04-04  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
1465
1466         [EFL] DRT support for computedStyleIncludingVisitedInfo
1467         https://bugs.webkit.org/show_bug.cgi?id=82190
1468
1469         Adding missing implementation computedStyleIncludingVisitedInfo to EFL's
1470         LayoutTestController so that we can unskip related tests from the skip list.
1471
1472         Reviewed by Antonio Gomes.
1473
1474         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1475         (LayoutTestController::computedStyleIncludingVisitedInfo):
1476
1477 2012-04-04  Raphael Kubo da Costa  <rakuco@webkit.org>
1478
1479         Unreviewed; update my email address once again in the committers
1480         and watch list.
1481
1482         * Scripts/webkitpy/common/config/committers.py: Prefer my
1483         webkit.org email over my FreeBSD.org one.
1484         * Scripts/webkitpy/common/config/watchlist: Ditto.
1485
1486 2012-04-04  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1487
1488         [Qt][WK2] QtWebKit2 should support Page Visibility API
1489         https://bugs.webkit.org/show_bug.cgi?id=81164
1490
1491         Reviewed by Kenneth Rohde Christiansen.
1492
1493         Enabling Page Visiblity API for Qt WebKit2.
1494
1495         * qmake/mkspecs/features/features.prf:
1496
1497 2012-04-04  Andras Becsi  <andras.becsi@nokia.com>
1498
1499         [Qt][WK2] Make the WebView a subclass of Flickable
1500         https://bugs.webkit.org/show_bug.cgi?id=83033
1501
1502         Reviewed by Kenneth Rohde Christiansen.
1503
1504         Remove workaround in MiniBrowser and the ScrollIndicator
1505         now that the WebView is a Flickable.
1506
1507         * MiniBrowser/qt/MiniBrowser.pro:
1508         * MiniBrowser/qt/qml/BrowserWindow.qml:
1509         * MiniBrowser/qt/qml/ScrollIndicator.qml:
1510         * WebKitTestRunner/Target.pri:
1511
1512 2012-04-04  Csaba Osztrogonác  <ossy@webkit.org>
1513
1514         REGRESSION(r113144): It made run-webkit-tests always fail
1515         https://bugs.webkit.org/show_bug.cgi?id=83142
1516
1517         Unreviewed trivial fix after r113144.
1518
1519         * Scripts/run-webkit-tests:
1520
1521 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1522
1523         I really hope this is the last build fix. Apparently exec doesn't quite arguments with
1524         double quotations on Windows. Use system instead.
1525
1526         Hopefully, this won't break anything.
1527
1528         * Scripts/run-webkit-tests:
1529
1530 2012-04-03  Keishi Hattori  <keishi@webkit.org>
1531
1532         Disable ENABLE_DATALIST for now
1533         https://bugs.webkit.org/show_bug.cgi?id=82871
1534
1535         Reviewed by Kent Tamura.
1536
1537         * Scripts/build-webkit: Disabled ENABLE_DATALIST.
1538
1539 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1540
1541         Sigh... this isn't going well. I can't even reproduce this issue locally.
1542         Another speculative fix.
1543
1544         * Scripts/run-webkit-tests:
1545
1546 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1547
1548         I don't know why I'm so sloppy today. Another build fix.
1549
1550         * Scripts/run-webkit-tests:
1551
1552 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1553
1554         Hopefully the last build fix for Chromium Windows.
1555
1556         Explicitly execute new-run-webkit-tests and old-run-webkit-tests by python and perl.
1557
1558         * Scripts/run-webkit-tests:
1559
1560 2012-04-03  Dirk Pranke  <dpranke@chromium.org>
1561
1562         [Chromium] Lots of timeouts causing Mac10.6 to exit early.
1563         https://bugs.webkit.org/show_bug.cgi?id=83076
1564
1565         Unreviewed, build fix (slightly reviewed by Simon Fraser and Eric Seidel, but not approved).
1566
1567         Add logic to the apple mac and chromium mac code to not use
1568         too many workers; it looks like the xserves (and possibly mac
1569         pros) count hyperthreaded cores when they really shouldn't and
1570         we end up using too many workers at a time; this leads to tests
1571         thrashing and timing out.
1572
1573         This change is a temporary fix to make the bots happy while I
1574         look into more profiling and other fixes.
1575
1576         * Scripts/webkitpy/layout_tests/port/mac.py:
1577         (ChromiumMacPort.default_child_processes):
1578
1579         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
1580         (ChromiumMacPort.default_child_processes):
1581
1582 2012-04-03  Simon Fraser  <simon.fraser@apple.com>
1583
1584         WebKitTestRunner's EventSender is leaky
1585         https://bugs.webkit.org/show_bug.cgi?id=83099
1586
1587         Reviewed by Beth Dakin.
1588         
1589         Fix leaks of WKNumbers by using the adoptWK idiom, and make
1590         all the code consistent.
1591
1592         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1593         (WTR::EventSendingController::mouseDown):
1594         (WTR::EventSendingController::mouseUp):
1595         (WTR::EventSendingController::mouseMoveTo):
1596         (WTR::EventSendingController::leapForward):
1597         (WTR::EventSendingController::keyDown):
1598         (WTR::EventSendingController::mouseScrollBy):
1599         (WTR::EventSendingController::addTouchPoint):
1600         (WTR::EventSendingController::updateTouchPoint):
1601         (WTR::EventSendingController::setTouchModifier):
1602         (WTR::EventSendingController::releaseTouchPoint):
1603         (WTR::EventSendingController::cancelTouchPoint):
1604
1605 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1606
1607         Another build fix. Don't use old-run-webkit-tests on Chromium Windows bots.
1608
1609         * Scripts/run-webkit-tests:
1610         (useNewRunWebKitTests):
1611
1612 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1613
1614         kill-old-processes should kill apache2 and httpd
1615         https://bugs.webkit.org/show_bug.cgi?id=83065
1616
1617         Reviewed by Tony Chang.
1618
1619         Kill apache2 and httpd on Mac and Linux (Windows uses lighttpd) to free up port 8000.
1620
1621         * BuildSlaveSupport/kill-old-processes:
1622
1623 2012-04-03  Tony Chang  <tony@chromium.org>
1624
1625         run the same test steps on test only bots as on build-and-test bots
1626         https://bugs.webkit.org/show_bug.cgi?id=83090
1627
1628         Reviewed by Ryosuke Niwa.
1629
1630         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1631         (TestFactory.__init__):
1632
1633 2012-04-03  Ami Fischman  <fischman@chromium.org>
1634
1635         Add a Media watchlist.
1636         https://bugs.webkit.org/show_bug.cgi?id=83071
1637
1638         Reviewed by David Levin.
1639
1640         * Scripts/webkitpy/common/config/watchlist:
1641
1642 2012-04-03  Simon Fraser  <simon.fraser@apple.com>
1643
1644         Fix large leak in WebKitTestRunner
1645         https://bugs.webkit.org/show_bug.cgi?id=83084
1646
1647         Reviewed by Beth Dakin.
1648         
1649         Fix a leak of the bimap backing store created when doing pixel and
1650         ref tests. This leak was causing serious thrash on the test bots.
1651         
1652         We don't need to allocate memory for CGBitmapContextCreate(); if we
1653         pass NULL, it will allocate and manage its own backing store.
1654
1655         * WebKitTestRunner/cg/TestInvocationCG.cpp:
1656         (WTR::createCGContextFromImage):
1657
1658 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1659
1660         Another build fix after r113067. Close the zipfile after extracting all files so that we can remove it.
1661
1662         * BuildSlaveSupport/built-product-archive:
1663         (unzipArchive):
1664
1665 2012-04-03  Ojan Vafai  <ojan@chromium.org>
1666
1667         Give more human friendly error message when builders fail to load or have stale data.
1668         https://bugs.webkit.org/show_bug.cgi?id=83058
1669
1670         Reviewed by Eric Seidel.
1671
1672         * TestResultServer/static-dashboards/dashboard_base.js:
1673         (addError):
1674         (addBuilderLoadErrors):
1675         (handleLocationChange):
1676         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
1677
1678 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1679
1680         Again, a build fix after r113067. Don't call r113067 twice on the configuration build directory.
1681
1682         * BuildSlaveSupport/built-product-archive:
1683         (extractBuiltProduct):
1684
1685 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1686
1687         Yet another build fix after r113067. Don't trigger Chromium testers right away
1688         since they're now triggered by builders.
1689
1690         * BuildSlaveSupport/build.webkit.org-config/config.json:
1691
1692 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1693
1694         Another build fix after r113067 for Mac port.
1695         It turned out that archiving the entire build directory doesn't work.
1696
1697         * BuildSlaveSupport/built-product-archive:
1698         (createZipManually):
1699         (createZip):
1700         (archiveBuiltProduct):
1701
1702 2012-04-03  Mike Lattanzio  <mlattanzio@rim.com>
1703
1704         [BlackBerry] Expose CaseSensitive, Wrap, and HighlightAllMatches in WebPage::findNextString()
1705         https://bugs.webkit.org/show_bug.cgi?id=82643
1706
1707         Update LayoutTestController to accomodate the new find API.
1708         It now provides caseSensitive functionality to DRT.
1709
1710         Internal Review by Andy Chen.
1711
1712         Reviewed by Rob Buis.
1713
1714         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
1715         (LayoutTestController::findString):
1716
1717 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1718
1719         Another build fix after r113067. CreateWebKitBuildDirectory step is no longer needed
1720         because download-built-product creates the build directory as needed.
1721
1722         This step fails on Chromium Windows due to -p option not supported by Windows' native mkdir.
1723
1724         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1725         (TestFactory.__init__):
1726
1727 2012-04-03  Ryosuke Niwa  <rniwa@webkit.org>
1728
1729         Build fix after r113067. Don't delete the build directory.
1730
1731         * BuildSlaveSupport/built-product-archive:
1732         (extractBuiltProduct):
1733
1734 2012-04-02  Ojan Vafai  <ojan@chromium.org>
1735
1736         Load all builder lists from the buildbot json
1737         https://bugs.webkit.org/show_bug.cgi?id=82998
1738
1739         Reviewed by Adam Barth.
1740
1741         Also, remove an unnecessary list of test types. Now we don't hard-code
1742         builder names anywhere and we only have a single hard-coded list of
1743         test types.
1744
1745         * TestResultServer/static-dashboards/builders.js:
1746         (BuilderMaster.prototype.logPath):
1747         (BuilderMaster.prototype.builderJsonPath):
1748         (requestBuilderList.xhr.onload):
1749         (requestBuilderList.xhr.onerror):
1750         (isChromiumDepsFyiGpuTestRunner):
1751         (isChromiumTipOfTreeGpuTestRunner):
1752         (isChromiumDepsGTestRunner):
1753         (isChromiumDepsCrosGTestRunner):
1754         (isChromiumTipOfTreeGTestRunner):
1755         (onBuilderListLoad):
1756         (loadBuildersList):
1757         * TestResultServer/static-dashboards/dashboard_base.js:
1758         (parseCrossDashboardParameters):
1759         (currentBuilderGroupCategory):
1760         * TestResultServer/static-dashboards/flakiness_dashboard.html:
1761         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
1762         (testHtmlForTestsWithExpectationsButNoFailures):
1763         (testGenerateChromiumTipOfTreeGpuBuildersFromBuilderList):
1764         (testGenerateChromiumDepsGTestBuildersFromBuilderList):
1765         (testGenerateChromiumDepsCrosGTestBuildersFromBuilderList):
1766         (testGenerateChromiumTipOfTreeGTestBuildersFromBuilderList):
1767         * TestResultServer/static-dashboards/timeline_explorer.html:
1768
1769 2012-04-02  Ryosuke Niwa  <rniwa@webkit.org>
1770
1771         Chromium testers should extract builds instead of building on their own
1772         https://bugs.webkit.org/show_bug.cgi?id=82996
1773
1774         Reviewed by Tony Chang.
1775
1776         Make Chromium builders triggger Chromium testers and make testers download and extract builds
1777         from the buildbot master instead of building binaries on their own.
1778
1779         Add download-built-product to wrap curl used in the download-built-product step since Windows
1780         does not provide "curl" natively.
1781
1782         * BuildSlaveSupport/build.webkit.org-config/config.json: Add new triggerables for Chromium testers and make
1783         Chromium builders trigger them. Also change the type of Chromium testers from NewBuildAndTest to Test.
1784         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1785         (DownloadBuiltProduct): Call download-built-product instead of curl.
1786         * BuildSlaveSupport/built-product-archive:
1787         (createZip): Don't zip the parent configuration build directory like "release" and "debug". While Mac port
1788         needs this behavior for compatibility reasons, Chromium Mac port doesn't want this behavior.
1789         (archiveBuiltProduct): Zip the configuration build directory on Mac port.
1790         (unzipArchive): Extracted. Use ditto on Mac, unzip on linux and cygwin, and zipfile package on Windows.
1791         (extractBuiltProduct): Refactor the code to use removeDirectoryIfExists and unzipArchive. Support Chromium.
1792         * BuildSlaveSupport/download-built-product: Added to wrap curl which isn't available on Windows.
1793
1794 2012-04-03  Martin Robinson  <mrobinson@igalia.com>
1795
1796         [GTK] Tools/Scripts/run-gtk-tests should not force you to use the WebKit jhbuild
1797         https://bugs.webkit.org/show_bug.cgi?id=82473
1798
1799         Reviewed by Philippe Normand.
1800
1801         Only use jhbuild if WebKitBuild/Dependencies exists (if update-webkitgtk-libs)
1802         was ever run.
1803
1804         * gtk/run-with-jhbuild: Instead of using jhbuild unconditionally, first
1805         check if the user has ever run update-gtk-libs and, if so, then use jhbuild.
1806
1807 2012-04-03  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
1808
1809         [EFL] DRT support for setInteractiveFormValidationEnabled
1810         https://bugs.webkit.org/show_bug.cgi?id=82050
1811
1812         Enable interactive form validation and unskip tests from the
1813         skip list.
1814
1815         Reviewed by Antonio Gomes.
1816
1817         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1818         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1819
1820 2012-04-03  Philippe Normand  <pnormand@igalia.com>
1821
1822         Unreviewed, another test-webkitpy fix-up after r113037.
1823
1824         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py: Adapt mock
1825         crash dump depending on current environment.
1826
1827 2012-04-03  Philippe Normand  <pnormand@igalia.com>
1828
1829         Unreviewed, test-webkitpy build fix after r113037.
1830
1831         * Scripts/webkitpy/layout_tests/port/gtk.py:
1832         (GtkPort._get_crash_log):
1833
1834 2012-04-03  Philippe Normand  <pnormand@igalia.com>
1835
1836         [GTK] crash log reports support
1837         https://bugs.webkit.org/show_bug.cgi?id=81659
1838
1839         Reviewed by Martin Robinson.
1840
1841         Removed the daemontools crashmon/xvfb scripts and implemented the crash
1842         log reporting in the NRWT Gtk port. To get proper crash logs one
1843         needs to set the core pattern like this:
1844         echo "/path/to/cores/core-pid_%p-_-process_%e" > /proc/sys/kernel/core_pattern
1845         Then enable coredumps with "ulimit -c unlimited" and set the WEBKIT_CORE_DUMPS_DIRECTORY
1846         environment variable.
1847
1848         * BuildSlaveSupport/gtk/README:
1849         * BuildSlaveSupport/gtk/crashmon/crashmon: Removed.
1850         * BuildSlaveSupport/gtk/crashmon/log/run: Removed.
1851         * BuildSlaveSupport/gtk/crashmon/run: Removed.
1852         * BuildSlaveSupport/gtk/daemontools-buildbot.conf:
1853         * BuildSlaveSupport/gtk/xvfb/log/run: Removed.
1854         * BuildSlaveSupport/gtk/xvfb/run: Removed.
1855         * Scripts/new-run-webkit-tests:
1856         * Scripts/webkitpy/layout_tests/port/gtk.py:
1857         (GtkDriver.stop):
1858         (GtkPort.show_results_html_file):
1859         (GtkPort):
1860         (GtkPort._get_gdb_output):
1861         (GtkPort._get_crash_log):
1862         (GtkPort._get_crash_log.match_filename):
1863         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
1864         (GtkPortTest):
1865         (test_show_results_html_file):
1866         (assertLinesEqual):
1867         (_mock_gdb_output):
1868         (test_get_crash_log):
1869
1870 2012-04-02  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
1871
1872         Enable and connect the WebInspectorServer with WebKit2 pages.
1873         https://bugs.webkit.org/show_bug.cgi?id=73094
1874
1875         Reviewed by Simon Hausmann.
1876
1877         Enable developer extras on pages in MiniBrowser for Qt.
1878
1879         * MiniBrowser/qt/qml/BrowserWindow.qml:
1880
1881 2012-04-03  Christophe Dumez  <christophe.dumez@intel.com>
1882
1883         [EFL] LayoutTestController needs implementation of setDefersLoading
1884         https://bugs.webkit.org/show_bug.cgi?id=82890
1885
1886         Reviewed by Philippe Normand.
1887
1888         Implement setDefersLoading() in EFL's LayoutTestController so that the
1889         corresponding test case can be removed from the skip list.
1890
1891         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1892         (LayoutTestController::setDefersLoading):
1893
1894 2012-04-03  Christophe Dumez  <christophe.dumez@intel.com>
1895
1896         [EFL] LayoutTestController needs implementation of goBack
1897         https://bugs.webkit.org/show_bug.cgi?id=81914
1898
1899         Reviewed by Philippe Normand.
1900
1901         Implement goBack() in EFL's LayoutTestController by calling
1902         ewk_frame_back().
1903
1904         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1905         (LayoutTestController::goBack):
1906
1907 2012-04-03  Alexander Shalamov  <alexander.shalamov@intel.com>
1908
1909         [EFL] LayoutTestController needs implementation of pageSizeAndMarginsInPixels
1910         https://bugs.webkit.org/show_bug.cgi?id=82589
1911
1912         Add missing implementation for pageSizeAndMarginsInPixels to EFL's LayoutTestController
1913         in order to unskip printing/page-format-data.html
1914
1915         Reviewed by Philippe Normand.
1916
1917         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1918         (LayoutTestController::pageSizeAndMarginsInPixels):
1919
1920 2012-04-03  Simon Pena  <spena@igalia.com>
1921
1922         [GTK] DRT missing didRunInsecureContent notification
1923         https://bugs.webkit.org/show_bug.cgi?id=59367
1924
1925         Reviewed by Philippe Normand.
1926
1927         Connect DumpRenderTree to WebFrame's "insecure-content-run", in both
1928         the main WebFrame or any other WebFrame created later. Added
1929         "didRunInsecureContent" notification in the callback in order to
1930         get the LayoutTests passing.
1931
1932         * DumpRenderTree/gtk/DumpRenderTree.cpp: Connect
1933         to WebFrame's "insecure-content-run" signal and add
1934         didRunInsecureContent notification in the callback to get the
1935         LayoutTests passing.
1936         (didRunInsecureContent):
1937         (createWebView):
1938
1939 2012-04-03  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
1940
1941         rebaseline-server: Make it possible to not launch a browser with the server.
1942         https://bugs.webkit.org/show_bug.cgi?id=82999
1943
1944         Reviewed by Adam Barth.
1945
1946         Add the `--no-show-results' option, which lets one decide not to
1947         launch a web browser when running the rebaseline server.  This is
1948         especially useful if the default browser is not the wanted one, or
1949         if the rebaseline server page is already open.
1950
1951         * Scripts/webkitpy/tool/commands/abstractlocalservercommand.py:
1952         (AbstractLocalServerCommand.__init__):
1953         (AbstractLocalServerCommand.execute):
1954
1955 2012-04-02  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1956
1957         EFL's LayoutTestController disableImageLoading implementation.
1958         https://bugs.webkit.org/show_bug.cgi?id=82848
1959
1960         Reviewed by Hajime Morita.
1961
1962         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1963         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1964         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1965         (LayoutTestController::disableImageLoading):
1966
1967 2012-04-02  Alexander Shalamov  <alexander.shalamov@intel.com>
1968
1969         [EFL] LayoutTestController needs implementation of isPageBoxVisible
1970         https://bugs.webkit.org/show_bug.cgi?id=82591
1971
1972         Add missing implementation to isPageBoxVisible to EFL's LayoutTestController
1973         in order to unskip printing/page-format-data.html
1974
1975         Reviewed by Hajime Morita.
1976
1977         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1978         (LayoutTestController::isPageBoxVisible):
1979
1980 2012-04-02  Simon Fraser  <simon.fraser@apple.com>
1981
1982         run-webkit-tests with a relative --root causes tests to fail because DYLD_LIBRARY_PATH is not set
1983         https://bugs.webkit.org/show_bug.cgi?id=82962
1984
1985         Reviewed by Dirk Pranke.
1986
1987         Ensure that _build_path() returns an absolute path.
1988
1989         Eric Seidel also had to deploy MockConfig in a bunch of places
1990         in order to correct previous testing errors where we were
1991         pretending that "Mock Output from child process" (returned by MockExecutive.run_command)
1992         was a real path.  The real Config object calls run_command("webkit-build-directory")
1993         to read the WebKit build directory from the webkitdirs.pm perl code.
1994         MockConfig abstracts this away and always returns "/mock-build" during
1995         testing.  This change is much larger than one would think necessary
1996         because of needing to deploy this MockConfig class.
1997
1998         * Scripts/webkitpy/layout_tests/port/webkit.py:
1999         (WebKitPort._build_path):
2000
2001 2012-04-02  Ojan Vafai  <ojan@chromium.org>
2002
2003         Fix snafu in r112971. We were never calling parseParameter for builder.
2004
2005         * TestResultServer/static-dashboards/dashboard_base.js:
2006
2007 2012-04-02  Ojan Vafai  <ojan@chromium.org>
2008
2009         Generate the lists of all layout test builders from the buildbot json
2010         https://bugs.webkit.org/show_bug.cgi?id=82924
2011
2012         Reviewed by Mihai Parparita.
2013
2014         In order to make this work, cleaned up a lot of existing technical debt.
2015         -Got rid of expectations builder. This concept is outdated and just dead code.
2016         -Split hash parameter parsing into two functions. One for dashboard_base
2017         (crossDashboardParameters) and one for the specific dashboard html file
2018         (dashboardSpecificParameters). In the old world, parseParameters needed to
2019         be called twice and depended on it's own output the first time through.
2020         Now we only need to parse crossDashboardParameters first and crossDashboardParameters
2021         doesn't depend on the output of crossDashboardParameters.
2022         -Lots of variable/method renames due to the above.
2023         -g_defaultDashboardSpecificStateValues now has to list all possible hash parameters
2024         for that dashboard.
2025
2026         * TestResultServer/static-dashboards/aggregate_results.html:
2027         * TestResultServer/static-dashboards/builders.js:
2028         (BuilderGroup):
2029         (BuilderGroup.prototype.setup):
2030         (jsonRequest.xhr.onload):
2031         (jsonRequest.xhr.onerror):
2032         (isWebkitTestRunner):
2033         (isChromiumWebkitTipOfTreeTestRunner):
2034         (isChromiumWebkitDepsTestRunner):
2035         (generateBuildersFromBuilderList):
2036         (onLayoutTestBuilderListLoad):
2037         (onErrorLoadingBuilderList):
2038         (loadBuildersList):
2039         * TestResultServer/static-dashboards/dashboard_base.js:
2040         (handleValidHashParameterWrapper):
2041         (queryHashAsMap):
2042         (parseParameter):
2043         (parseCrossDashboardParameters):
2044         (parseDashboardSpecificParameters):
2045         (parseParameters):
2046         (diffStates):
2047         (defaultValue):
2048         (isLayoutTestResults):
2049         (isGPUTestResults):
2050         (currentBuilderGroupCategory):
2051         (currentBuilderGroup):
2052         (initBuilders):
2053         Now that we've split parameter parseing, these methods no longer need
2054         to take an optional state. They can always just use the global cross-dashboard state.
2055
2056         (pathToBuilderResultsFile):
2057         (appendJSONScriptElementFor):
2058         (appendJSONScriptElements):
2059         (handleResourceLoadError):
2060         (haveJsonFilesLoaded):
2061         (combinedDashboardState):
2062         (setQueryParameter):
2063         (permaLinkURLHash):
2064         (toggleQueryParameter):
2065         (queryParameterValue):
2066         (selectHTML):
2067         (htmlForTestTypeSwitcher):
2068         (g_handleBuildersListLoaded):
2069         * TestResultServer/static-dashboards/flakiness_dashboard.html:
2070         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
2071         (testPlatformAndBuildType):
2072         (testSubstringList):
2073         (testHtmlForTestTypeSwitcherGroup):
2074         (testLookupVirtualTestSuite):
2075         (testBaseTest):
2076         (generateBuildersFromBuilderListHelper):
2077         (testGenerateChromiumWebkitTipOfTreeBuildersFromBuilderList):
2078         (testGenerateChromiumWebkitDepsBuildersFromBuilderList):
2079         (assertObjectsDeepEqual):
2080         (testQueryHashAsMap):
2081         (testDiffStates):
2082         * TestResultServer/static-dashboards/timeline_explorer.html:
2083         * TestResultServer/static-dashboards/treemap.html:
2084
2085 2012-04-02  Tony Chang  <tony@chromium.org>
2086
2087         check-webkit-style errors when removing .png files
2088         https://bugs.webkit.org/show_bug.cgi?id=82933
2089
2090         Reviewed by David Levin.
2091
2092         * Scripts/webkitpy/style/patchreader.py:
2093         (PatchReader.check): Make sure the file exists and pass in a FileSystem() object (for mocking).
2094         * Scripts/webkitpy/style/patchreader_unittest.py:
2095         (test_check_patch_with_png_deletion):
2096
2097 2012-04-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2098
2099         Unreviewed, rolling out r112948.
2100         http://trac.webkit.org/changeset/112948
2101         https://bugs.webkit.org/show_bug.cgi?id=82961
2102
2103         Someone else already checked in a similar change (Requested by
2104         sundiamonde on #webkit).
2105
2106         * Scripts/webkitpy/layout_tests/port/webkit.py:
2107         (WebKitDriver._start):
2108
2109 2012-04-02  Adam Barth  <abarth@webkit.org>
2110
2111         garden-o-matic isn't able to rebaseline audio failures
2112         https://bugs.webkit.org/show_bug.cgi?id=82957
2113
2114         Reviewed by Chris Rogers.
2115
2116         This patch just adds "wav" to the list of test suffixes and updates the
2117         unit tests to show that we're rebaselining audio tests results now too.
2118
2119         * Scripts/webkitpy/tool/commands/rebaseline.py:
2120         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2121         (test_rebaseline_updates_expectations_file):
2122
2123 2012-04-02  Adam Barth  <abarth@webkit.org>
2124
2125         garden-o-matic should let you listen to audio failures
2126         https://bugs.webkit.org/show_bug.cgi?id=82953
2127
2128         Reviewed by Chris Rogers.
2129
2130         Now that we've actually got an audio failure on the bots, we can clean
2131         up the last stray bugs.  This patch doesn't have any tests because I'm
2132         lame.
2133
2134         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
2135         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
2136         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
2137         (.):
2138
2139 2012-04-02  Stephanie Lewis  <slewis@apple.com>
2140
2141         run-webkit-tests --root fails if /usr/local/lib/libWebCoreTestSupport.dylib is not installed.
2142         https://bugs.webkit.org/show_bug.cgi?id=82552
2143
2144         Reviewed by Dirk Pranke.
2145
2146         Use DYLD_LIBRARY_PATH so we pick up the libWebCoreTestSupport.dylib located in the root.
2147
2148         * Scripts/webkitpy/layout_tests/port/webkit.py:
2149         (WebKitDriver._start):
2150
2151 2012-04-02  Dirk Pranke  <dpranke@chromium.org>
2152
2153         NRWT is not printing out the builder it's uploading JSON files for
2154         https://bugs.webkit.org/show_bug.cgi?id=82834
2155
2156         Reviewed by Ojan Vafai.
2157
2158         Handle log messages of the form log.info("%s", arg) properly ...
2159         I didn't even know you could do that :).
2160
2161         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
2162         (_LogHandler.emit):
2163         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
2164         (RegularTest.test_log_args):
2165         (VerboseTest.test_log_args):
2166
2167 2012-04-02  Tim Horton  <timothy_horton@apple.com>
2168
2169         [mac] LayoutTestHelper crashes if there is no main display
2170         https://bugs.webkit.org/show_bug.cgi?id=82944
2171         <rdar://problem/11162954>
2172
2173         Reviewed by Simon Fraser.
2174
2175         If there's no main display attached, ColorSyncDeviceCopyDeviceInfo returns
2176         a null dictionary, so we shouldn't go ahead and try to read from it.
2177
2178         * DumpRenderTree/mac/LayoutTestHelper.m:
2179         (installLayoutTestColorProfile):
2180
2181 2012-04-02  Balazs Kelemen  <kbalazs@webkit.org>
2182
2183         [Qt][WK2] Set up plugin process on Unix
2184         https://bugs.webkit.org/show_bug.cgi?id=72121
2185
2186         Reviewed by Simon Hausmann.
2187
2188         * qmake/mkspecs/features/features.prf: Reenable plugins
2189         and turn on plugin process.
2190
2191 2012-04-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2192
2193         Unreviewed, rolling out r112868, r112879, and r112881.
2194         http://trac.webkit.org/changeset/112868
2195         http://trac.webkit.org/changeset/112879
2196         http://trac.webkit.org/changeset/112881
2197         https://bugs.webkit.org/show_bug.cgi?id=82901
2198
2199         "Build fail on bots." (Requested by kbalazs on #webkit).
2200
2201         * MiniBrowser/gtk/GNUmakefile.am:
2202         * qmake/mkspecs/features/features.prf:
2203
2204 2012-04-02  Philippe Normand  <pnormand@igalia.com>
2205
2206         [GTK] Enable shadow-dom in build-webkit.
2207
2208         Rubber-stamped by Gustavo Noronha Silva.
2209
2210         * Scripts/build-webkit: Enable shadow-dom build, this is need to
2211         have a working build currently.
2212
2213 2012-04-02  Andreas Kling  <kling@webkit.org>
2214
2215         Adding Zalan Bujtas to committers list.
2216
2217         * Scripts/webkitpy/common/config/committers.py:
2218
2219 2012-04-02  Balazs Kelemen  <kbalazs@webkit.org>
2220
2221         [Qt][WK2] Set up plugin process on Unix
2222         https://bugs.webkit.org/show_bug.cgi?id=72121
2223
2224         Reviewed by Simon Hausmann.
2225
2226         * qmake/mkspecs/features/features.prf: Reenable plugins
2227         and turn on plugin process.
2228
2229 2012-04-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2230
2231         Unreviewed, rolling out r112651.
2232         http://trac.webkit.org/changeset/112651
2233         https://bugs.webkit.org/show_bug.cgi?id=82887
2234
2235         It doesn't work with older Qt5 (Requested by Ossy on #webkit).
2236
2237         * MiniBrowser/qt/BrowserWindow.cpp:
2238         (BrowserWindow::updateVisualMockTouchPoints):
2239         * MiniBrowser/qt/main.cpp:
2240         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
2241         (WTR::WrapperWindow::handleStatusChanged):
2242         * qmake/mkspecs/features/unix/default_post.prf:
2243
2244 2012-04-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2245
2246         [GTK] Fix names of failed unit tests in Tools/Scripts/run-gtk-tests
2247         https://bugs.webkit.org/show_bug.cgi?id=82877
2248
2249         Reviewed by Philippe Normand.
2250
2251         * Scripts/run-gtk-tests:
2252         (TestRunner.run_tests): Use replace instead of lstrip to remove
2253         the programs_path from the full path of unit tests.
2254
2255 2012-04-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2256
2257         Unreviewed. Skip flaky unit tests.
2258
2259         * Scripts/run-gtk-tests:
2260         (TestRunner):
2261
2262 2012-04-02  Ryosuke Niwa  <rniwa@webkit.org>
2263
2264         webkitpy rebaseline.
2265
2266         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
2267         (test_run_test_set_with_json_output):
2268         (test_run_test_set_with_json_source):
2269
2270 2012-04-01  Ryosuke Niwa  <rniwa@webkit.org>
2271
2272         perf-o-matic should store test results' units
2273         https://bugs.webkit.org/show_bug.cgi?id=82852
2274
2275         Reviewed by Kentaro Hara.
2276
2277         Include units in the results JSON.
2278
2279         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2280         (PerfTestsRunner._process_chromium_style_test_result):
2281         (PerfTestsRunner._process_parser_test_result):
2282
2283 2012-04-01  Tony Tseung  <tseung@apple.com>
2284
2285         Composite Font References is a new established standard (ISO/IEC 14496-28:2012) for specifying
2286         composite fonts from existing physical fonts.
2287         <rdar://problem/10717370>
2288         https://bugs.webkit.org/show_bug.cgi?id=82810
2289             
2290         A new test font of this kind as been added to the test tools for running the webkit-tests
2291
2292         Reviewed by Dan Bernstein.
2293
2294         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2295         Added new dependency SampleFont.sfont
2296         
2297         * DumpRenderTree/fonts/SampleFont.sfont: Added.
2298         
2299         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2300         * DumpRenderTree/mac/DumpRenderTree.mm:
2301         (allowedFontFamilySet):
2302         Added the Composite Font Referene sample font "Hiragino Maru Gothic Monospaced" entry to the fonts white-list
2303         
2304         (activateTestingFonts):
2305         Added the registration of the Composite Font Referene sample font
2306         
2307         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
2308         (WTR::allowedFontFamilySet):
2309         Added the Composite Font Referene sample font "Hiragino Maru Gothic Monospaced" entry to the fonts white-list
2310
2311         (WTR::activateFonts):
2312         Added the registration of the Composite Font Referene sample font
2313
2314         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2315         Added new dependency SampleFont.sfont
2316
2317         * WebKitTestRunner/fonts/SampleFont.sfont: Added.
2318
2319 2012-04-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2320
2321         Support the Network Information API
2322         https://bugs.webkit.org/show_bug.cgi?id=73528
2323
2324         Reviewed by Adam Barth.
2325
2326         Add network information API feature to build script.
2327
2328         * Scripts/build-webkit:
2329
2330 2012-03-31  Ojan Vafai  <ojan@chromium.org>
2331
2332         Generate the flakiness dashboard's list of webkit.org builders from the buildbot JSON
2333         https://bugs.webkit.org/show_bug.cgi?id=82839
2334
2335         Reviewed by Adam Barth.
2336
2337         Also, update various hard-coded lists for WIN7 and Lion ports.
2338         This is necessary since the new list of builders grabbed off the
2339         buildbot includes Lion.
2340
2341         * TestResultServer/static-dashboards/builders.js:
2342         (generateWebkitBuildersFromBuilderList):
2343         (xhr.onreadystatechange):
2344         Don't use dashboard_base's request method to avoid layering violation.
2345
2346         * TestResultServer/static-dashboards/dashboard_base.js:
2347         (parseParameters):
2348         (initBuilders):
2349         (haveJsonFilesLoaded):
2350         (g_handleBuildersListLoaded):
2351         Block loading the JSON files for each builder until we actually have a list of builders.
2352
2353         * TestResultServer/static-dashboards/flakiness_dashboard.html:
2354         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
2355         (testPlatformAndBuildType):
2356         (testGenerateWebkitBuildersFromBuilderList):
2357         * TestResultServer/static-dashboards/timeline_explorer.html:
2358         * TestResultServer/static-dashboards/treemap.html:
2359         Delay generating the page until the builder list has loaded.
2360
2361 2012-03-31  Ojan Vafai  <ojan@chromium.org>
2362
2363         If NRWT gets killed halfway through a run, it incorrectly reports tests that weren't run as passes
2364         https://bugs.webkit.org/show_bug.cgi?id=82799
2365
2366         Reviewed by Eric Seidel.
2367
2368         If we don't run a test, mark it as skipped.
2369
2370         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2371         (Manager._mark_interrupted_tests_as_skipped):
2372         (Manager._interrupt_if_at_failure_limits.interrupt_if_at_failure_limit):
2373         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
2374         (ManagerTest.test_interrupt_if_at_failure_limits):
2375
2376 2012-03-31  Ryosuke Niwa  <rniwa@webkit.org>
2377
2378         One more build fix after r112781 for Chromium Windows.
2379         Don't copy zip .idb files.
2380
2381         * BuildSlaveSupport/built-product-archive:
2382         (copyBuildFiles):
2383
2384 2012-03-31  Ryosuke Niwa  <rniwa@webkit.org>
2385
2386         Yet another build fix after r112781 for Chromium Windows.
2387         Run webkit-build-directory by perl explicitly.
2388
2389         * BuildSlaveSupport/built-product-archive:
2390         (determineWebKitBuildDirectory):
2391
2392 2012-03-31  Ryosuke Niwa  <rniwa@webkit.org>
2393
2394         Fix the syntax error in master.cfg after r112734.
2395
2396         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2397         (unitTestsSupported):
2398
2399 2012-03-31  Ryosuke Niwa  <rniwa@webkit.org>
2400
2401         Another build fix after r112781.
2402
2403         * BuildSlaveSupport/built-product-archive:
2404         (createZip):
2405
2406 2012-03-31  Ryosuke Niwa  <rniwa@webkit.org>
2407
2408         Build fix after r112781.
2409
2410         * BuildSlaveSupport/built-product-archive:
2411         (createZipManually):
2412         (createZip):
2413
2414 2012-03-30  Ryosuke Niwa  <rniwa@webkit.org>
2415
2416         Chromium bots should upload archived built files
2417         https://bugs.webkit.org/show_bug.cgi?id=82666
2418
2419         Reviewed by Tony Chang.
2420
2421         * BuildSlaveSupport/build.webkit.org-config/config.json:
2422         * BuildSlaveSupport/built-product-archive:
2423         (main):
2424         (determineWebKitBuildDirectory): Instead of hard-coding WebKitBuild as the build outout directory,
2425         call out to webkit-build-directory.
2426         (removeDirectoryIfExists): Extracted.
2427         (copyBuildFiles): Added to avoid archiving useless intermedinate files.
2428         (createZipManually): Used in Chromium Windows where we don't execute python scripts inside cygwin.
2429         (createZipManually.addToArchive):
2430         (createZip): Extracted. Calls out to appropraite command line scripts or createZipManually.
2431         (archiveBuiltProduct): Add support for Chromium port.
2432         * Scripts/webkit-build-directory: Add support for --platform options.
2433
2434 2012-03-30  Dan Bernstein  <mitz@apple.com>
2435
2436         Reverted r112767, because it caused many vertical text tests to fail.
2437
2438         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2439         * DumpRenderTree/fonts/SampleFont.sfont: Removed.
2440         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2441         * DumpRenderTree/mac/DumpRenderTree.mm:
2442         (allowedFontFamilySet):
2443         (activateTestingFonts):
2444         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
2445         (WTR::allowedFontFamilySet):
2446         (WTR::activateFonts):
2447         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2448         * WebKitTestRunner/fonts/SampleFont.sfont: Removed.
2449
2450 2012-03-30  Malcolm MacLeod  <malcolm.macleod@tshwanedje.com>
2451
2452         [wx] Move wxWebKit API into WebKit namespace.
2453         https://bugs.webkit.org/show_bug.cgi?id=82740
2454
2455         Reviewed by Kevin Ollivier.
2456
2457         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
2458         (LayoutWebViewEventHandler::LayoutWebViewEventHandler):
2459         (LayoutWebViewEventHandler::bindEvents):
2460         (LayoutWebViewEventHandler::OnLoadEvent):
2461         (LayoutWebViewEventHandler::OnAlertEvent):
2462         (LayoutWebViewEventHandler::OnConfirmEvent):
2463         (LayoutWebViewEventHandler::OnPromptEvent):
2464         (LayoutWebViewEventHandler::OnConsoleMessageEvent):
2465         (LayoutWebViewEventHandler::OnReceivedTitleEvent):
2466         (LayoutWebViewEventHandler::OnWindowObjectClearedEvent):
2467         (LayoutWebViewEventHandler):
2468         (dumpFramesAsText):
2469         (dump):
2470         (MyApp::OnInit):
2471         * wx/browser/browser.cpp:
2472         (MyApp::OnInit):
2473
2474 2012-03-30  Eli Fidler  <efidler@rim.com>
2475
2476         Enable OpenType Sanitizer for BlackBerry port.
2477         https://bugs.webkit.org/show_bug.cgi?id=82782
2478
2479         Reviewed by Eric Seidel.
2480
2481         * Scripts/webkitdirs.pm:
2482         (blackberryCMakeArguments): add OTS to include path
2483
2484 2012-03-30  Simon Fraser  <simon.fraser@apple.com>
2485
2486         run-webkit-tests needs to set DYLD_LIBRARY_PATH as well
2487         as DYLD_FRAMEWORK_PATH, so that libWebCoreTestSupport.dylib
2488         is found.
2489
2490         <rdar://problem/11158581>
2491         
2492         Reviewed by Mark Rowe.
2493
2494         * Scripts/webkitpy/layout_tests/port/webkit.py:
2495         (WebKitDriver._start):
2496
2497 2012-03-30  Simon Fraser  <simon.fraser@apple.com>
2498
2499         Disable run-api-tests on release mac builds
2500         https://bugs.webkit.org/show_bug.cgi?id=82788
2501
2502         Reviewed by Ryosuke Niwa.
2503         
2504         TestWebKitAPI crashes every time in release builds currently
2505         (https://bugs.webkit.org/show_bug.cgi?id=82652) so disable
2506         run-api-tests on mac release builders.
2507
2508         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2509         (unitTestsSupported):
2510
2511 2012-03-30  Chang Shu  <cshu@webkit.org>
2512
2513         Unreviewed. Update my email.
2514
2515         * Scripts/webkitpy/common/config/committers.py:
2516
2517 2012-03-30  Chris Fleizach  <cfleizach@apple.com>
2518
2519         AX: Crash at WebCore::renderObjectContainsPosition(WebCore::RenderObject*, WebCore::Position const&)
2520         https://bugs.webkit.org/show_bug.cgi?id=82745
2521
2522         Reviewed by Simon Fraser.
2523
2524         * DumpRenderTree/AccessibilityUIElement.cpp:
2525         (rangeForPositionCallback):
2526         (AccessibilityUIElement::rangeForPosition):
2527         (AccessibilityUIElement::getJSClass):
2528         * DumpRenderTree/AccessibilityUIElement.h:
2529         (AccessibilityUIElement):
2530         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2531         (AccessibilityUIElement::rangeForPosition):
2532         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2533         (WTR::AccessibilityUIElement::rangeForPosition):
2534         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2535         (AccessibilityUIElement):
2536         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2537         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2538         (WTR::AccessibilityUIElement::rangeForPosition):
2539         (WTR):
2540
2541 2012-03-30  David Barr  <davidbarr@chromium.org>
2542
2543         Split up top-level .gitignore and .gitattributes
2544         https://bugs.webkit.org/show_bug.cgi?id=82687
2545
2546         Reviewed by Tor Arne Vestbø.
2547
2548         * .gitattributes: Added.
2549         * .gitignore: Added.
2550         * DumpRenderTree/DumpRenderTree.gyp/.gitignore: Added.
2551         * TestWebKitAPI/TestWebKitAPI.gyp/.gitignore: Added.
2552
2553 2012-03-30  Mihai Parparita  <mihaip@chromium.org>
2554
2555         Actually remove the ChromiumOS GTK builder, like r112673 said it would.
2556
2557         * TestResultServer/static-dashboards/builders.js:
2558
2559 2012-03-30  Mihai Parparita  <mihaip@chromium.org>
2560
2561         Update ChromiumOS bot names in builders.js to reflect changes made by
2562         http://crrev.com/129835
2563         
2564         Also removes the ChromiumOS GTK builder, which was removed by
2565         http://crrev.com/129835
2566
2567         * TestResultServer/static-dashboards/builders.js:
2568
2569 2012-03-30  Vineet Chaudhary  <rgf748@motorola.com>
2570
2571         [GTK] Disable introspection build in the at-spi2-core module.
2572         https://bugs.webkit.org/show_bug.cgi?id=82729
2573
2574         Reviewed by Philippe Normand.
2575
2576         This change is a follow-up of bug 82395 which initially disabled for other modules of the set.
2577
2578         * gtk/jhbuild.modules: Disable introspection.
2579
2580 2012-03-30  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
2581
2582         Add a "preview" state to Page Visibility API implementation
2583         https://bugs.webkit.org/show_bug.cgi?id=81355
2584
2585         Reviewed by Adam Barth.
2586
2587         Updating the Page Visibility API implementation to the current spec version.
2588
2589         * DumpRenderTree/chromium/LayoutTestController.cpp:
2590         (LayoutTestController::setPageVisibility):
2591
2592 2012-03-30  Keishi Hattori  <keishi@webkit.org>
2593
2594         Change ENABLE_INPUT_COLOR to ENABLE_INPUT_TYPE_COLOR and enable it for chromium
2595         https://bugs.webkit.org/show_bug.cgi?id=80972
2596
2597         Reviewed by Kent Tamura.
2598
2599         * Scripts/build-webkit:
2600         * qmake/mkspecs/features/features.prf:
2601
2602 2012-03-29  Ádám Kallai  <kadam@inf.u-szeged.hu>
2603
2604         [Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
2605         https://bugs.webkit.org/show_bug.cgi?id=82195
2606
2607         Reviewed by Simon Hausmann.
2608
2609         * MiniBrowser/qt/BrowserWindow.cpp:
2610         (BrowserWindow::updateVisualMockTouchPoints):
2611         * MiniBrowser/qt/main.cpp:
2612         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
2613         (WTR::WrapperWindow::handleStatusChanged):
2614         * qmake/mkspecs/features/unix/default_post.prf:
2615
2616 2012-03-30  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2617
2618         [EFL] Implement LayoutTestController::setMinimumTimerInterval
2619         https://bugs.webkit.org/show_bug.cgi?id=81220
2620
2621         Add missing implementation setMinimumTimerInterval to EFL's
2622         LayoutTestController so that we can unskip related tests from the skip list.
2623
2624         Reviewed by Philippe Normand.
2625
2626         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2627         (LayoutTestController::setMinimumTimerInterval):
2628
2629 2012-03-29  Dan Bernstein  <mitz@apple.com>
2630
2631         Removed “Intel” from the Lion builders’ names.
2632
2633         Rubber-stamped by Mark Rowe.
2634
2635         * BuildSlaveSupport/build.webkit.org-config/config.json:
2636         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
2637         (LeaksViewer._displayURLPrompt):
2638
2639 2012-03-29  Mihai Parparita  <mihaip@chromium.org>
2640
2641         [Chromium] Add sharded ChromiumOS debug bots to builders.js
2642         https://bugs.webkit.org/show_bug.cgi?id=82639
2643
2644         Reviewed by Eric Seidel.
2645
2646         The bots were sharded by http://crrev.com/129613, update builders.js
2647         to reflect this.
2648
2649         * TestResultServer/static-dashboards/builders.js:
2650
2651 2012-03-29  Dirk Pranke  <dpranke@chromium.org>
2652
2653         remove support for junit-style xml output from test-webkitpy
2654         https://bugs.webkit.org/show_bug.cgi?id=82279
2655
2656         Reviewed by Eric Seidel.
2657
2658         This was added when we were looking into integrating w/ Jenkins
2659         rather than buildbot, but I believe that project got shelved, so
2660         this is unused. We can always add it back in later as necessary.
2661
2662         * Scripts/webkitpy/test/main.py:
2663         (Tester._parse_args):
2664         (Tester._run_tests):
2665         * Scritps/webkitpy/thirdparty/__init__.py:
2666
2667 2012-03-29  Dirk Pranke  <dpranke@chromium.org>
2668
2669         new-run-webkit-tests: crashes when it fails to decode a stack trace
2670         https://bugs.webkit.org/show_bug.cgi?id=82673
2671
2672         Unreviewed, build fix.
2673
2674         We are assuming the stdout/stderr output from the driver is utf-8
2675         encoded when we get stack traces; this may not be a valid
2676         assumption generally, but if we do get strings that aren't valid
2677         utf-8, we would crash. Now we will ignore any decoding errors.
2678
2679         * Scripts/webkitpy/layout_tests/port/base.py:
2680         (Port._get_crash_log):
2681         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2682         (PortTestCase.test_get_crash_log):
2683
2684 2012-03-29  Simon Fraser  <simon.fraser@apple.com>
2685
2686         Scripts fail to detect when a tool crashes
2687         https://bugs.webkit.org/show_bug.cgi?id=82659
2688
2689         Reviewed by Mark Rowe.
2690         
2691         Have exitStatus() detect when the process fail to exit cleanly
2692         (possibly because of a crash), and return a non-zero exit code
2693         in that case.
2694
2695         * Scripts/VCSUtils.pm:
2696         (exitStatus):
2697
2698 2012-03-29  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
2699
2700         [GTK][EFL] run-javascriptcore-tests should be run through jhbuild
2701         https://bugs.webkit.org/show_bug.cgi?id=82581
2702
2703         Reviewed by Martin Robinson.
2704
2705         Running Javascriptcore tests through jhbuild
2706         for consistency with run-webkit-tests and in order to
2707         avoid confusing libraries when facing regressions.
2708
2709         * Scripts/run-javascriptcore-tests:
2710
2711 2012-03-29  Dirk Pranke  <dpranke@chromium.org>
2712
2713         test-webkitpy: add --timing
2714         https://bugs.webkit.org/show_bug.cgi?id=82550
2715
2716         Reviewed by Eric Seidel.
2717
2718         This patch adds a --timing option that will display the time
2719         each test takes. It also removes the --silent option, since
2720         probably no one ever used it, and cleans up the logging
2721         option parsing code to be easier to follow.
2722
2723         * Scripts/webkitpy/test/main.py:
2724         (Tester._parse_args):
2725         (Tester._configure):
2726         * Scripts/webkitpy/test/runner.py:
2727         (TestRunner.write_result):
2728         * Scripts/webkitpy/test/runner_unittest.py:
2729         (RunnerTest.test_regular):
2730         (RunnerTest.test_verbose):
2731         (RunnerTest):
2732         (RunnerTest.test_timing):
2733
2734 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2735
2736         HashMap<>::add should return a more descriptive object
2737         https://bugs.webkit.org/show_bug.cgi?id=71063
2738
2739         Reviewed by Ryosuke Niwa.
2740
2741         Update code to use AddResult instead of a pair.
2742
2743         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2744         (LayoutTestController::evaluateScriptInIsolatedWorld):
2745         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2746         (LayoutTestController::evaluateScriptInIsolatedWorld):
2747         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2748         (WTR::LayoutTestController::evaluateScriptInIsolatedWorld):
2749
2750 2012-03-29  Ilya Tikhonovsky  <loislo@chromium.org>
2751
2752         Web Inspector: chromium: DRT --no-timeout option doesn't work.
2753         https://bugs.webkit.org/show_bug.cgi?id=82608
2754
2755         Initial value for m_timeout was initialized in constructor and was overwritten in DRT::main.
2756         This was broken by r112354 and the sequence became opposite.
2757
2758         Reviewed by Yury Semikhatsky.
2759
2760         * DumpRenderTree/chromium/TestShell.cpp:
2761         (TestShell::TestShell):
2762         (TestShell::initialize):
2763
2764 2012-03-29  Vineet Chaudhary  <rgf748@motorola.com>
2765
2766         Remove custom bindings form Internals.idl of attribute type Array.
2767         https://bugs.webkit.org/show_bug.cgi?id=82319
2768
2769         Reviewed by Kentaro Hara.
2770
2771         Remove JSInternalsCustom.cpp and V8InternalsCustom.cpp as no longer required.
2772
2773         * GNUmakefile.am:
2774
2775 2012-03-28  Mark Rowe  <mrowe@apple.com>
2776
2777         Fix --no-saved-state.
2778
2779         Ignore the flag before Lion, rather than making it specific to Lion.
2780
2781         Rubber-stamped by Dan Bernstein.
2782
2783         * Scripts/webkitdirs.pm:
2784         (argumentsForRunAndDebugMacWebKitApp):
2785
2786 2012-03-28  Dave Tharp  <dtharp@codeaurora.org>
2787
2788         Add dtharp to contributors list
2789         https://bugs.webkit.org/show_bug.cgi?id=82545
2790
2791         Reviewed by Adam Barth.
2792
2793         Adding dtharp as Contributor.
2794
2795         * Scripts/webkitpy/common/config/committers.py:
2796
2797 2012-03-28  Stuart Eichert  <stuart.eichert@palm.com>
2798
2799         build-webkit : the word "pass" is spelled incorrectly as "passs"
2800         https://bugs.webkit.org/show_bug.cgi?id=82532
2801
2802         Reviewed by Julien Chaffraix.
2803
2804         Corrected spelling of the word "pass" in build-webkit.
2805
2806         * Scripts/build-webkit:
2807
2808 2012-03-28  Dirk Pranke  <dpranke@chromium.org>
2809
2810         new-run-webkit-tests doesn't log correctly after retrying failures
2811         https://bugs.webkit.org/show_bug.cgi?id=82541
2812
2813         Unreviewed, build fix.
2814
2815         r112189 introduced a regression where we would accidentally
2816         delete the log handler after we retried any failing tests - that
2817         meant that any log messages around uploading the results got
2818         dropped.
2819
2820         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2821         (Manager._run_tests):
2822
2823 2012-03-28  Kevin Ollivier  <kevino@theolliviers.com>
2824
2825         [wx] Unreviewed. Build fix, move WTF back into JSCore target
2826         until issues with JSCore not linking in all WTF symbols are resolved.
2827
2828         * waf/build/settings.py:
2829
2830 2012-03-28  Simon Fraser  <simon.fraser@apple.com>
2831
2832         download-built-product build step should detect 404 errors
2833         https://bugs.webkit.org/show_bug.cgi?id=82491
2834
2835         Reviewed by Ryosuke Niwa.
2836         
2837         Pass --fail to curl so that it reports 404 errors.
2838
2839         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2840         (DownloadBuiltProduct): Pass --fail to curl so that it reports errors.
2841         * BuildSlaveSupport/built-product-archive:
2842         (extractBuiltProduct): Remove trailing whitespace.
2843
2844 2012-03-28  Dirk Pranke  <dpranke@chromium.org>
2845
2846         flakiness dashboard should only keep the last 500 runs
2847         https://bugs.webkit.org/show_bug.cgi?id=82530
2848
2849         Reviewed by Ojan Vafai.
2850
2851         If a bot has an overly large amount of failing tests, then
2852         storing 750 runs' worth takes a lot of memory and CPU time to
2853         process and we end up getting killed by AppEngine; this cases
2854         data corruption and confusion down the road when we have to
2855         retry the upload of the data and the tests show up as multiple
2856         runs.
2857
2858         * TestResultServer/model/jsonresults.py:
2859         (JsonResults.update_file):
2860
2861 2012-03-28  Ryosuke Niwa  <rniwa@webkit.org>
2862
2863         extract-built-product build step should fail if unzipping fails
2864         https://bugs.webkit.org/show_bug.cgi?id=82493
2865
2866         Reviewed by Simon Fraser.
2867
2868         Forward non-zero exit code from subprocesses so that the master can detect any failures
2869         and bail out early.
2870
2871         * BuildSlaveSupport/built-product-archive:
2872         (main):
2873
2874 2012-03-28  Dirk Pranke  <dpranke@chromium.org>
2875
2876         test-webkitpy should support files, directories, and packages as command line args
2877         https://bugs.webkit.org/show_bug.cgi?id=76765
2878
2879         Reviewed by Adam Barth.
2880
2881         This patch adds support for specifying files, directories, and
2882         packages to test-webkitpy along with the already existing
2883         support for modules, test classes, and individual test names.
2884
2885         Also, fix a bug in filesystem_mock where we wouldn't normalize a
2886         path containing a reference to the current directory properly,
2887         for example, '/foo/./bar.py'.
2888
2889         * Scripts/webkitpy/common/system/filesystem_mock.py:
2890         (MockFileSystem.normpath):
2891         * Scripts/webkitpy/test/main.py:
2892         (Tester._configure_logging):
2893         (Tester._run_tests):
2894         * Scripts/webkitpy/test/test_finder.py:
2895         (TestDirectoryTree.find_modules):
2896         (TestDirectoryTree.subpath):
2897         (TestFinder.is_dotted_name):
2898         (TestFinder.find_names):
2899         (TestFinder):
2900         (TestFinder._find_names_for_arg):
2901         (TestFinder._find_in_trees):
2902         (TestFinder._default_names):
2903         * Scripts/webkitpy/test/test_finder_unittest.py:
2904         (TestFinderTest.setUp):
2905         (TestFinderTest.tearDown):
2906         (TestFinderTest.check_names):
2907         (TestFinderTest.test_default_names):
2908         (TestFinderTest):
2909         (TestFinderTest.test_paths):
2910
2911 2012-03-28  Simon Fraser  <simon.fraser@apple.com>
2912
2913         Fix inspector tests when running in internal builds.
2914
2915         <rdar://problem/11050694>
2916
2917         Reviewed by Tim Hatcher.
2918
2919         * DumpRenderTree/mac/DumpRenderTree.mm:
2920         (resetDefaultsToConsistentValues):
2921         * WebKitTestRunner/TestController.cpp:
2922         (WTR::TestController::resetStateToConsistentValues):
2923
2924 2012-03-28  David Kilzer  <ddkilzer@apple.com>
2925
2926         Use xcrun to find nm and ranlib on OS X builds
2927         <http://webkit.org/b/82466>
2928
2929         Reviewed by Dan Bernstein.
2930
2931         * Scripts/build-webkit: Use xcrun to find ranlib.
2932         * Scripts/webkitdirs.pm:
2933         (determineNmPath): Added.  Use xcrun to find nm on OS X.
2934         (nmPath): Added.
2935         * Scripts/webkitperl/features.pm:
2936         (libraryContainsSymbol): Use nmPath().
2937
2938 2012-03-28  Ojan Vafai  <ojan@chromium.org>
2939
2940         Add history navigation to garden-o-matic
2941         https://bugs.webkit.org/show_bug.cgi?id=82495
2942
2943         Reviewed by Dimitri Glazkov.
2944
2945         Also, maintain scroll offsets when returning to a tab. This makes addressing
2946         expected failures considerably easier when dealing with below-the-fold tests.
2947
2948         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
2949         -Store the scrollTop before switching to a new tab and restore the appropriate scrollTop after
2950         switching.
2951         -Modify window.location with the tabName in the hash. Can't use pushState because this is served
2952         from a file URL and Chrome puts each different file URL in it's own origin.
2953
2954         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
2955         Remove the href so that clicking on the accordion item does not modify window.location.hash.
2956
2957         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
2958         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
2959
2960 2012-03-28  Philippe Normand  <pnormand@igalia.com>
2961
2962         [GTK] generate-gtk-doc doesn't cope with custom build directory
2963         https://bugs.webkit.org/show_bug.cgi?id=82448
2964
2965         Reviewed by Martin Robinson.
2966
2967         Pass the product directory in generate-gtkdoc arguments from
2968         build-webkit.
2969
2970         * Scripts/webkitdirs.pm:
2971         (buildAutotoolsProject):
2972         * gtk/common.py:
2973         (get_build_path):
2974
2975 2012-03-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2976
2977         [GTK] Add --skipped command line option to Tools/Scripts/run-gtk-tests
2978         https://bugs.webkit.org/show_bug.cgi?id=82341
2979
2980         Reviewed by Martin Robinson.
2981
2982         Add --skipped=skip|ignore|only command line option.
2983
2984         * Scripts/run-gtk-tests:
2985         (TestRunner._test_cases_to_skip): Return the list of test cases
2986         to skip for the given test depending on the skipped action.
2987         (TestRunner._should_run_test): Decide whether to run the test or
2988         not depending on the skipped action.
2989         (TestRunner.run_tests): Only show the list of skipped tests when
2990         skipped action is 'skip'.
2991
2992 2012-03-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2993
2994         [GTK] Use gtester -s to skip individual test cases instead of unit tests as a whole
2995         https://bugs.webkit.org/show_bug.cgi?id=82333
2996
2997         Reviewed by Martin Robinson.
2998
2999         * Scripts/run-gtk-tests:
3000         (TestRunner.SkippedTest): Add SkippedTest class to store more
3001         information about skipped tests.
3002         (TestRunner._setup_testing_environment): Use SkippedTest to add
3003         TestWebKitAccessibility to the skipped list.
3004         (TestRunner._find_skipped_test): Return the SkippedTest object for
3005         a given test path.
3006         (TestRunner._test_cases_to_skip): Returns the list of test cases
3007         that should be skipped for a given test path.
3008         (TestRunner._should_run_test): Helper funtion to decide whether
3009         the given test path should be run or not. Tests in the skipped
3010         list that don't have a list of failing test cases are not run at
3011         all. Tests in the skipped list that contain a list of test cases
3012         are run with gtester -s to skip the individual test cases.
3013         (TestRunner._run_test): Helper funtion to run a given test.
3014         (TestRunner.run_tests): Build the list of tests to run based on
3015         _should_run_test() and use helper function _run_test() to run
3016         every test.
3017
3018 2012-03-28  Csaba Osztrogonác  <ossy@webkit.org>
3019
3020         [Qt] Couple of tests have different results on 64 bit and/or in debug mode compared to 32 bit and/or release mode
3021         https://bugs.webkit.org/show_bug.cgi?id=52810
3022
3023         Reviewed by Simon Hausmann.
3024
3025         Use SSE2 floating point math on 32 bit instead of the default
3026         387 to make layout test result same on 32 and on 64 bit builds.
3027
3028         * qmake/mkspecs/features/unix/default_post.prf:
3029
3030 2012-03-28  Sergio Villar Senin  <svillar@igalia.com>
3031
3032         [Soup] DNS prefetching spams resolver, shoots self in the foot
3033         https://bugs.webkit.org/show_bug.cgi?id=41630
3034
3035         Reviewed by Martin Robinson.
3036
3037         Bump libsoup and glib dependencies.
3038
3039         * efl/jhbuild.modules:
3040         * gtk/jhbuild.modules:
3041
3042 2012-03-28  Gustavo Noronha Silva  <gns@gnome.org>
3043
3044         [GTK] Disable introspection for jhbuild modules
3045         https://bugs.webkit.org/show_bug.cgi?id=82395
3046
3047         Reviewed by Philippe Normand.
3048
3049         * efl/jhbuild.modules: add --disable-introspection to all modules
3050         that support it
3051         * gtk/jhbuild.modules: ditto.
3052
3053 2012-03-28  Csaba Osztrogonác  <ossy@webkit.org>
3054
3055         [Qt] Unreviewed, fix API tests after adding full platforms. (r111658)
3056
3057         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3058         (BuildAndTestFactory.__init__):
3059
3060 2012-03-28  Csaba Osztrogonác  <ossy@webkit.org>
3061
3062         [Qt] Unreviewed typo fix after r112383.
3063
3064         * Scripts/run-qtwebkit-tests:
3065         (Main.check_crash_occurences):
3066
3067 2012-03-28  Ádám Kallai  <kadam@inf.u-szeged.hu>
3068
3069         [Qt] run-qtwebkit-tests should report crashes
3070         https://bugs.webkit.org/show_bug.cgi?id=76905
3071
3072         Added checking of crashing tests. Now final summary includes the total number of crashing tests too.
3073         Made unit test for this modification by János Badics <jbadics@inf.u-szeged.hu>.
3074
3075         Reviewed by Csaba Osztrogonác.
3076
3077         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3078         (RunQtAPITests.commandComplete):
3079         (RunQtAPITests.evaluateCommand):
3080         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3081         (RunQtAPITestsTest):
3082         (test_failure):
3083         (test_crash):
3084         * Scripts/run-qtwebkit-tests:
3085         (Main.announce_results_html):
3086         (Main):
3087         (Main.check_crash_occurences):
3088         (Main.convert_to_stdout):
3089         (Main.convert_to_html):
3090
3091 2012-03-28  Kwonjin Jeong  <gram@company100.net>
3092
3093         Add support for Intel compiler on Linux QT port.
3094         https://bugs.webkit.org/show_bug.cgi?id=81077
3095
3096         Reviewed by Tor Arne Vestbø.
3097
3098         * qmake/mkspecs/features/default_post.prf:
3099         Don't hide symbols when building with Intel compiler.
3100         The symbols are needed when building QtWebKit tests.
3101
3102         * qmake/mkspecs/features/unix/icc.prf:
3103         Added to ignore icc-specific warnings.
3104         This feature is used with command-line arguments for build-webkit script.
3105
3106 2012-03-28  Philippe Normand  <pnormand@igalia.com>
3107
3108         Unreviewed, trivial update-webkit-libs-jhbuild system call fix.
3109
3110         * Scripts/update-webkitgtk-libs: This script is written in
3111         Perl. Not Python. So use perl vocabulary to refer to command line arguments.
3112
3113 2012-03-28  Ryosuke Niwa  <rniwa@webkit.org>
3114
3115         kill-old-processes doesn't do anything on linux
3116         https://bugs.webkit.org/show_bug.cgi?id=82388
3117
3118         Reviewed by Tony Chang.
3119
3120         Kill cc1plus, ld, etc... on linux. Also ps aux + grep to kill old run-webkit-tests processes.
3121         This should help stabilizing Chromium linux bots.
3122
3123         * BuildSlaveSupport/kill-old-processes:
3124
3125 2012-03-28  Philippe Normand  <pnormand@igalia.com>
3126
3127         [GTK] jhbuild wrongly tricked into clean-up
3128         https://bugs.webkit.org/show_bug.cgi?id=82216
3129
3130         Reviewed by Gustavo Noronha Silva.
3131
3132         Save jhbuild{rc,.modules}.md5sum in Dependencies instead of the
3133         build tree. Also when checking if the jhbuild configuration
3134         changed use absolute md5sum paths.
3135
3136         * Scripts/webkitdirs.pm:
3137         (runAutogenForAutotoolsProjectIfNecessary):
3138         (jhbuildConfigurationChanged):
3139         (buildAutotoolsProject):
3140
3141 2012-03-28  Csaba Osztrogonác  <ossy@webkit.org>
3142
3143         kill-old-processes doesn't do anything on linux
3144         https://bugs.webkit.org/show_bug.cgi?id=82388
3145
3146         One more attempt to disable kill-old-processes on the Qt bots not to kill each others.
3147
3148         The platform in Factory comes from config.json, accordingly platform is fullplatform,
3149         for example: qt-4.8, qt-5.0-wk2. We have to check only the prefix of platform.
3150
3151         Reviewed by Ryosuke Niwa.
3152
3153         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3154         (Factory.__init__):
3155
3156 2012-03-28  Hao Zheng  <zhenghao@chromium.org>
3157
3158         Make Chromium port for Android use hardware gpu path default.
3159         https://bugs.webkit.org/show_bug.cgi?id=82033
3160
3161         Reviewed by Dirk Pranke.
3162
3163         Skip canvas tests, which are run in virtual gpu test suites.
3164
3165         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
3166         (ChromiumAndroidPort.__init__):
3167         (ChromiumAndroidPort.skipped_tests):
3168
3169 2012-03-27  Csaba Osztrogonác  <ossy@webkit.org>
3170
3171         kill-old-processes doesn't do anything on linux
3172         https://bugs.webkit.org/show_bug.cgi?id=82388
3173
3174         Disable kill-old-processes on the Qt bots not to kill each others.
3175
3176         Reviewed by Ryosuke Niwa.
3177
3178         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3179         (Factory.__init__):
3180
3181 2012-03-27  Hao Zheng  <zhenghao@chromium.org>
3182
3183         Handle DRT crash caused by Android OOM.
3184         https://bugs.webkit.org/show_bug.cgi?id=82310
3185
3186         Reviewed by Tony Chang.
3187
3188         When Android is OOM, it sends a SIGKILL (137) signal to DRT. DRT
3189         is stopped silently and regarded as crashed. Re-run the test for
3190         such crash.
3191
3192         Add some debug log to NRWT.
3193
3194         * Scripts/webkitpy/layout_tests/port/chromium.py:
3195         (ChromiumDriver.run_test):
3196         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
3197         (ChromiumAndroidPort.__init__):
3198         (ChromiumAndroidPort.get_last_stacktrace):
3199         (ChromiumAndroidDriver.__init__):
3200         (ChromiumAndroidDriver._start):
3201         (ChromiumAndroidDriver.run_test):
3202         (ChromiumAndroidDriver._get_drt_return_value):
3203
3204 2012-03-27  Ojan Vafai  <ojan@chromium.org>
3205
3206         Fix expected results for some unittest failures.
3207
3208         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
3209
3210 2012-03-27  Adrienne Walker  <enne@google.com>
3211
3212         [chromium] Fix --enabled-threaded-compositing flag in DRT
3213         https://bugs.webkit.org/show_bug.cgi?id=82405
3214
3215         Reviewed by James Robinson.
3216
3217         --enable-threaded-compositing wasn't working because there was no way
3218         to set the value before it was used in the TestShell constructor.
3219
3220         To avoid adding yet another boolean parameter to TestShell's
3221         constructor, add an explicit initialize function that can operate on
3222         any boolean settings that are set post-constructor.
3223
3224         * DumpRenderTree/chromium/DumpRenderTree.cpp:
3225         (main):
3226         * DumpRenderTree/chromium/TestShell.cpp:
3227         (TestShell::TestShell):
3228         (TestShell::initialize):
3229         * DumpRenderTree/chromium/TestShell.h:
3230         (TestShell):
3231         (TestShell::setTestShellMode):
3232
3233 2012-03-27  Dirk Pranke  <dpranke@chromium.org>
3234
3235         new-run-webkit-tests: suppress debug output from run-safari on results file
3236         https://bugs.webkit.org/show_bug.cgi?id=82400
3237
3238         Reviewed by Ryosuke Niwa.
3239
3240         Send the run-safari output to /dev/null rather than the console.
3241
3242         * Scripts/webkitpy/layout_tests/port/mac.py:
3243         (MacPort.show_results_html_file):
3244
3245 2012-03-27  Simon Fraser  <simon.fraser@apple.com>
3246
3247         Improve error reporting in run-javascriptcore-tests
3248         https://bugs.webkit.org/show_bug.cgi?id=82379
3249
3250         Reviewed by Jessie Berlin.
3251         
3252         When the script dies, have it print out the reason for dying.
3253
3254         * Scripts/run-javascriptcore-tests:
3255
3256 2012-03-27  Eric Seidel  <eric@webkit.org>
3257
3258         Add Dave Barton to the Contributors list so I can more easily CC him on bugs
3259         https://bugs.webkit.org/show_bug.cgi?id=82373
3260
3261         Reviewed by Ryosuke Niwa.
3262
3263         Dave's committer-status in in-progress, so until then
3264         list him as a Contributor so at least I can more easily CC him on bugs.
3265
3266         * Scripts/webkitpy/common/config/committers.py:
3267
3268 2012-03-26  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
3269
3270         [jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
3271         https://bugs.webkit.org/show_bug.cgi?id=82252
3272
3273         Reviewed by Gustavo Noronha Silva.
3274
3275         Appending the directory containing common.py may be problematic if
3276         another path in sys.path also contains either a common.py or a
3277         common/ module, so prepend to select our version instead. This is
3278         the case with fail2ban, which has a common/ directory which may
3279         end up being in Python's default path.
3280
3281         * efl/jhbuildrc:
3282         * gtk/jhbuildrc:
3283
3284 2012-03-27  Dirk Pranke  <dpranke@chromium.org>
3285
3286         test-webkitpy: prepare for better test run output
3287         https://bugs.webkit.org/show_bug.cgi?id=82290
3288
3289         Reviewed by Adam Barth.
3290
3291         This code basically re-implements the output of the TextTestRunner default
3292         runner code from unittest, although the implementation is quite
3293         different, in preparation for changing the test output to be
3294         metered and possibly running in parallel.
3295
3296         The output is almost identical to before, except that instead of
3297         logging "test_regular (webkitpy.main.RunnerTest) passed" we log
3298         "webkitpy.main.RunnerTest.test_regular passed". It has always
3299         annoyed me that they invert the names to be harder to read and
3300         so that you can't copy & paste back to the input for
3301         test-webkitpy.
3302
3303         This patch is provided to add a skeleton for unit tests and for
3304         comparison to an upcoming patch that will actually add new
3305         functionality.
3306
3307         * Scripts/webkitpy/test/main.py:
3308         (Tester.__init__):
3309         (Tester._configure_logging):
3310         (Tester._run_tests):
3311         * Scripts/webkitpy/test/runner.py: Added.
3312         (TestRunner):
3313         (TestRunner.__init__):
3314         (TestRunner.test_name):
3315         (TestRunner.all_test_names):
3316         (TestRunner.run):
3317         (TestRunner.write_result):
3318         (TestRunner.write_summary):
3319         * Scripts/webkitpy/test/runner_unittest.py: Added.
3320         (FakeModuleSuite):
3321         (FakeModuleSuite.__init__):
3322         (FakeModuleSuite.__str__):
3323         (FakeModuleSuite.run):
3324         (FakeTopSuite):
3325         (FakeTopSuite.__init__):
3326         (FakeLoader):
3327         (FakeLoader.__init__):
3328         (FakeLoader.top_suite):
3329         (FakeLoader.loadTestsFromName):
3330         (RunnerTest):
3331         (RunnerTest.test_regular):
3332         (RunnerTest.test_verbose):
3333
3334 2012-03-27  Gustavo Noronha Silva  <gns@gnome.org>
3335
3336         [GTK] Build gnutls without p11-kit support
3337         https://bugs.webkit.org/show_bug.cgi?id=82212
3338
3339         Reviewed by Martin Robinson.
3340
3341         * gtk/jhbuild.modules: pass --without-p11-kit to gnutls'
3342         configure, to avoid requiring that dependency, which is not used
3343         by libsoup and WebKit anyway
3344
3345 2012-03-27  Csaba Osztrogonác  <ossy@webkit.org>
3346
3347         [Qt] Make debug build work on 32 bit
3348         https://bugs.webkit.org/show_bug.cgi?id=82331
3349
3350         Use --no-keep-memory option of ld not to cache the symbol tables of input files in
3351         memory to avoid memory exhaustion during the linking phase for x86-debug builds.
3352
3353         Reviewed by Tor Arne Vestbø.
3354
3355         * qmake/mkspecs/features/unix/default_post.prf:
3356         * qmake/mkspecs/features/unix/default_pre.prf:
3357
3358 2012-03-23  Balazs Ankes  <bank@inf.u-szeged.hu>
3359
3360         Add png checking to check-webkit-style
3361         https://bugs.webkit.org/show_bug.cgi?id=75824
3362
3363         Reviewed by NOBODY Tony Chang.
3364
3365         * Scripts/webkitpy/style/checker.py:
3366         (_all_categories):
3367         (FileType):
3368         (CheckerDispatcher._should_skip_file_path):
3369         (CheckerDispatcher._file_type):
3370         (CheckerDispatcher._create_checker):
3371         * Scripts/webkitpy/style/checker_unittest.py:
3372         (CheckerDispatcherDispatchTest.test_none_paths):
3373         * Scripts/webkitpy/style/checkers/png.py: Added.
3374         (PNGChecker):
3375         (PNGChecker.__init__):
3376         (PNGChecker.check):
3377         (PNGChecker._config_file_path):
3378         * Scripts/webkitpy/style/checkers/png_unittest.py: Added.
3379         (MockSCMDetector):
3380         (MockSCMDetector.__init__):
3381         (MockSCMDetector.display_name):
3382         (MockSCMDetector.propget):
3383         (PNGCheckerTest):
3384         (PNGCheckerTest.test_init):
3385         (PNGCheckerTest.test_init.mock_handle_style_error):
3386         (PNGCheckerTest.test_check):
3387         (PNGCheckerTest.test_check.mock_handle_style_error):
3388         * Scripts/webkitpy/style/patchreader.py:
3389         (PatchReader.check):
3390
3391 2012-03-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3392
3393         Unreviewed. Skip GTK+ unit tests that fail in the bots
3394
3395         * Scripts/run-gtk-tests:
3396         (TestRunner): Add failing tests to the skipped list.
3397
3398 2012-03-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3399
3400         Unreviewed. Unskip all GTK+ unit test.
3401
3402         Currently, skipped tests contains the list of unit tests that have
3403         failed in one or more bots. In this moment it's not possible to
3404         skip just the test cases that fail, so the complete unit test is
3405         skipped when a single test case fails. For that reason, we don't
3406         know which test cases are actually failing for every skipped
3407         test. We are planning to land a patch to allow skipping individual
3408         test cases, but first we need to know which test cases are
3409         currently failing in the bots to skip them. So, this patch simply
3410         unskips all unit tests in order to watch the bots and get the list
3411         of test cases failing. Failing tests will be skipped again as soon
3412         as we have the new list of failing test cases.
3413
3414         * Scripts/run-gtk-tests:
3415         (TestRunner): Reset the list of skipped tests.
3416
3417 2012-03-26  Scott Byer  <scottbyer@chromium.org>
3418
3419         Enable layout testing of the scroll animator.
3420         https://bugs.webkit.org/show_bug.cgi?id=81858
3421         Add a call to the InternalSettings that layout tests can use to
3422         turn on scroll animation. Enable animation updates for the
3423         Chromium platform DRT when scroll animation has been turned on in
3424         a test. This should be a no-op for all current layout tests.
3425
3426         Reviewed by James Robinson.
3427
3428         * DumpRenderTree/chromium/WebViewHost.cpp:
3429         (WebViewHost::serviceAnimation):
3430         (WebViewHost::scheduleAnimation):
3431         * DumpRenderTree/chromium/WebViewHost.h:
3432         (WebViewHost):
3433
3434 2012-03-26  Dinu Jacob  <dinu.jacob@nokia.com>
3435
3436         [Qt][WK2] Support multi-file upload
3437         https://bugs.webkit.org/show_bug.cgi?id=81589
3438
3439         Reviewed by Simon Hausmann.
3440
3441         Modified filePicker to support multi-file upload.
3442
3443         * MiniBrowser/qt/MiniBrowser.qrc:
3444         * MiniBrowser/qt/icons/checkbox_checked.png: Added.
3445         * MiniBrowser/qt/icons/checkbox_unchecked.png: Added.
3446         * MiniBrowser/qt/js/MultiSelect.js: Added.
3447         (values):
3448         (isSelected):
3449         (removeValue):
3450         * MiniBrowser/qt/qml/CheckBox.qml: Added.
3451         * MiniBrowser/qt/qml/FilePicker.qml:
3452
3453 2012-03-26  Mark Hahnenberg  <mhahnenberg@apple.com>
3454
3455         Retry crashing tests serially at the end of NRWT on Apple Mac
3456         https://bugs.webkit.org/show_bug.cgi?id=82233
3457
3458         Reviewed by Dirk Pranke.
3459
3460         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3461         (Manager.run):
3462         * Scripts/webkitpy/layout_tests/port/base.py:
3463         (Port.should_retry_crashes):
3464         * Scripts/webkitpy/layout_tests/port/mac.py:
3465         (MacPort.should_retry_crashes):
3466
3467 2012-03-26  Mark Hahnenberg  <mhahnenberg@apple.com>
3468
3469         NRWT should retry failures serially
3470         https://bugs.webkit.org/show_bug.cgi?id=82241
3471
3472         Reviewed by Dirk Pranke.
3473
3474         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3475         (Manager._run_tests): Add another parameter to specify the number of workers to use.
3476         (Manager.run): Run the failures serially.
3477
3478 2012-03-26  Adrienne Walker  <enne@google.com>
3479
3480         Allow expectations on directories in virtual test suites
3481         https://bugs.webkit.org/show_bug.cgi?id=82250
3482
3483         Reviewed by Dirk Pranke.
3484
3485         lookup_virtual_test_base was only returning valid results for files
3486         and not directories. Fix by falling back to the virtual test suite
3487         mapping if possible.
3488
3489         * Scripts/webkitpy/layout_tests/port/base.py:
3490         (Port.lookup_virtual_test_base):
3491         * Scripts/webkitpy/layout_tests/port/test.py:
3492         (TestPort.skipped_tests):
3493         (TestPort.virtual_test_suites):
3494
3495 2012-03-26  Dirk Pranke  <dpranke@chromium.org>
3496
3497         Fix duplicated ChangeLog entry from r112171.
3498
3499         Unreviewed, build fix.
3500
3501 2012-03-26  Dirk Pranke  <dpranke@chromium.org>
3502
3503         nrwt: remove --worker-model flag
3504         https://bugs.webkit.org/show_bug.cgi?id=82112
3505
3506         Reviewed by Adam Barth.
3507
3508         The --worker-model=inline flag is basically redundant with the
3509         --child-processes=1 flag (technically, you could one run child
3510         process, but this is only useful for testing); this patch
3511         removes this flag, which simplifies things and enables more
3512         cleanup down the road.
3513
3514         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3515         (Manager._run_tests):
3516         (Manager.print_config):
3517         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
3518         (get):
3519         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
3520         (make_broker):
3521         (FunctionTests.test_get__inline):
3522         (FunctionTests.test_get__processes):
3523         (_TestsMixin.setUp):
3524         (_TestsMixin.make_broker):
3525         (InlineBrokerTests.setUp):
3526         (MultiProcessBrokerTests.setUp):
3527         * Scripts/webkitpy/layout_tests/port/base.py:
3528         (Port.default_child_processes):
3529         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
3530         (ChromiumAndroidPort.check_sys_deps):
3531         * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
3532         (ChromiumAndroidPortTest):
3533         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
3534         (MockDRTPortTest.make_port):
3535         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
3536         (PortTestCase):
3537         (PortTestCase.make_port):
3538         * Scripts/webkitpy/layout_tests/port/test.py:
3539         (TestPort.default_child_processes):
3540         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3541         (_set_up_derived_options):
3542         (parse_args):
3543         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3544         (parse_args):
3545         (MainTest.test_batch_size):
3546         (MainTest.test_child_processes_2):
3547         (MainTest.test_child_processes_min):
3548         (MainTest.test_exception_raised):
3549         (MainTest.test_keyboard_interrupt):
3550         (MainTest.test_exit_after_n_crashes):
3551         (MainTest.assert_run_order):
3552         (MainTest.test_run_order__inline):
3553         (MainTest.test_virtual):
3554
3555 2012-03-26  Dirk Pranke  <dpranke@chromium.org>
3556
3557         test-webkitpy: split test-finding code into a different module
3558         https://bugs.webkit.org/show_bug.cgi?id=82253
3559
3560         Reviewed by Adam Barth.
3561
3562         Per suggestion from abarth, this change splits all the
3563         filesystem-crawling, test-finding code in test-webkitpy out into
3564         a separate module and switches to using a FileSystem object.
3565         This makes things much more testable, so we also add tests :).
3566
3567         We also add a realpath() method to the Filesystem object, since
3568         test-webkitpy needs that in order to be able to resolve symlinks
3569         properly to determine whether a file is under a particular tree
3570         or not.
3571
3572         * Scripts/webkitpy/common/system/filesystem.py:
3573         (FileSystem.realpath):
3574         * Scripts/webkitpy/common/system/filesystem_mock.py:
3575         (MockFileSystem.realpath):
3576         * Scripts/webkitpy/test/main.py:
3577         (Tester.__init__):
3578         (Tester.add_tree):
3579         (Tester.run):
3580         (Tester._run_tests):
3581         (Tester._log_exception):
3582         * Scripts/webkitpy/test/test_finder.py: Added.
3583         (TestDirectoryTree):
3584         (TestDirectoryTree.__init__):
3585         (TestDirectoryTree.find_modules):
3586         (TestDirectoryTree.find_modules.file_filter):
3587         (TestDirectoryTree.to_module):
3588         (TestDirectoryTree.clean):
3589         (TestFinder):
3590         (TestFinder.__init__):
3591         (TestFinder.add_tree):
3592         (TestFinder.additional_paths):
3593         (TestFinder.clean_trees):
3594         (TestFinder.is_module):
3595         (TestFinder.to_module):
3596         (TestFinder.find_names):
3597         (TestFinder._exclude):
3598         * Scripts/webkitpy/test/test_finder_unittest.py: Added.
3599         (TestFinderTest):
3600         (TestFinderTest.setUp):
3601         (TestFinderTest.tearDown):
3602         (TestFinderTest.test_additional_system_paths):
3603         (TestFinderTest.test_is_module):
3604         (TestFinderTest.test_to_module):
3605         (TestFinderTest.test_clean):
3606         (TestFinderTest.test_find_names):
3607
3608 2012-03-26  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
3609
3610         [jhbuild] Use $MAKE if it is defined to build jhbuild itself.
3611         https://bugs.webkit.org/show_bug.cgi?id=82209
3612
3613         Reviewed by Martin Robinson.
3614
3615         Respecting the $MAKE environment variable when it is defined makes
3616         building jhbuild more portable, as some platforms may have GNU
3617         make as gmake, for example.
3618
3619         * jhbuild/jhbuild-wrapper:
3620         (install_jhbuild):
3621
3622 2012-03-26  Dirk Pranke  <dpranke@chromium.org>
3623
3624         add a Tree abstraction to test-webkitpy to better encapsulate things
3625         https://bugs.webkit.org/show_bug.cgi?id=82158
3626
3627         Reviewed by Adam Barth.
3628
3629         There are no functional changes in this patch, but adding a
3630         basic abstraction for the trees we are looking in for python
3631         tests will allow me to add some features later on more easily
3632         (like ignoring certain directories like webkitpy/thirdparty),
3633         and it makes things slightly less hard-coded.
3634
3635         * Scripts/test-webkitpy:
3636         * Scripts/webkitpy/test/main.py:
3637         (Tester.__init__):
3638         (Tester):
3639         (Tester.add_tree):
3640         (Tester._parse_args):
3641         (Tester._configure):
3642         (Tester.run):
3643         (Tester._find_modules):
3644         (Tester._run_tests):
3645         (Tester._is_module):
3646         (Tester._log_exception):
3647         (TestDirectoryTree):
3648         (TestDirectoryTree.__init__):
3649         (TestDirectoryTree.find_modules):
3650         (TestDirectoryTree.clean):
3651
3652 2012-03-26  Ojan Vafai  <ojan@chromium.org>
3653
3654         garden-o-matic should special case reftests
3655         https://bugs.webkit.org/show_bug.cgi?id=81812
3656
3657         Reviewed by Adam Barth.
3658
3659         On the examine page, don't show a rebaseline button for reftests.
3660         We still show it on the failure summary page because tests are grouped
3661         together. Long-term, we should make sure webkit-patch rebaseline-test
3662         never tries to rebaseline reftests.
3663
3664         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
3665         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
3666         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
3667
3668 2012-03-26  Dirk Pranke  <dpranke@chromium.org>
3669
3670         clean up NRWT logging/metering, be less verbose
3671         https://bugs.webkit.org/show_bug.cgi?id=73846
3672
3673         Reviewed by Ojan Vafai.
3674
3675         Re-land r112014 with a build fix for Python 2.6 compatibility.
3676
3677         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
3678         (ManagerTest.test_http_locking):
3679         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
3680         (AbstractWorker.run):
3681         * Scripts/webkitpy/layout_tests/controllers/worker.py:
3682         (Worker.__init__):
3683         (Worker._set_up_logging):
3684         (Worker):
3685         (Worker._set_up_host_and_port):
3686         (Worker.run):
3687         (Worker.cleanup):
3688         * Scripts/webkitpy/layout_tests/controllers/worker_unittest.py:
3689         (WorkerTest.test_default_platform_in_worker):
3690         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3691         (run):
3692         (main):
3693         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
3694         (MeteredStream):
3695         (MeteredStream.implements):
3696         (MeteredStream._erasure):
3697         (MeteredStream._ensure_newline):
3698         (MeteredStream.__init__):
3699         (MeteredStream.__del__):
3700         (MeteredStream.cleanup):
3701         (MeteredStream.write_throttled_update):
3702         (MeteredStream.write_update):
3703         (MeteredStream.write):
3704         (MeteredStream.writeln):
3705         (MeteredStream._erase_last_partial_line):
3706         (_LogHandler):
3707         (_LogHandler.__init__):
3708         (_LogHandler.emit):
3709         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
3710         (RegularTest):
3711         (RegularTest.setUp):
3712         (RegularTest.tearDown):
3713         (RegularTest.time_fn):
3714         (RegularTest.test_logging_not_included):
3715         (RegularTest._basic):
3716         (RegularTest.test_basic):
3717         (RegularTest._log_after_update):
3718         (RegularTest.test_log_after_update):
3719         (TtyTest):
3720         (TtyTest.test_basic):
3721         (TtyTest.test_log_after_update):
3722         (VerboseTest):
3723         (VerboseTest.test_basic):
3724         (VerboseTest.test_log_after_update):
3725         * Scripts/webkitpy/layout_tests/views/printing.py:
3726         (parse_print_options):
3727         (Printer.__init__):
3728         (Printer.cleanup):
3729         (Printer.print_progress):
3730         (Printer.print_update):
3731         (Printer._write):
3732         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
3733         (Testprinter.get_printer):
3734         (Testprinter.test_print_progress):
3735         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3736         (PerfTestsRunner.__init__):
3737         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
3738         (test_run_test_pause_before_testing):
3739
3740 2012-03-26  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
3741
3742         [jhbuild] Revert $MAKE environment hack introduced in r101929.
3743         https://bugs.webkit.org/show_bug.cgi?id=82234
3744
3745         Reviewed by Martin Robinson.
3746
3747         The problem it was supposedly fixing was fixed in jhbuild itself
3748         in git revision da8944d8ca987ca48c91b350257a530050406092, so we
3749         can remove the workaround added to the script.
3750
3751         * jhbuild/jhbuild-wrapper:
3752         (install_jhbuild):
3753
3754 2012-03-26  Leo Yang  <leo.yang@torchmobile.com.cn>
3755
3756         [BlackBerry] Skeleton code of AsyncFileSystemBlackBerry.cpp
3757         https://bugs.webkit.org/show_bug.cgi?id=82157
3758
3759         Reviewed by Rob Buis.
3760
3761         * Scripts/build-webkit:
3762         Make ENABLE_FILE_SYSTEM default on for blackberry.
3763
3764 2012-03-26  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
3765
3766         [jhbuild] Explicitly disable DTrace when building glib.
3767         https://bugs.webkit.org/show_bug.cgi?id=82145
3768
3769         Reviewed by Gustavo Noronha Silva.
3770
3771         DTrace support is not really needed by WebKit, so disabling it
3772         helps avoid some build errors on more exotic platforms (such as
3773         FreeBSD).
3774
3775         * efl/jhbuild.modules:
3776         * gtk/jhbuild.modules:
3777
3778 2012-03-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3779
3780         Unreviewed, rolling out r111993.
3781         http://trac.webkit.org/changeset/111993
3782         https://bugs.webkit.org/show_bug.cgi?id=82184
3783
3784         It broke layout and API tests and made WTR crash (Requested by
3785         Ossy on #webkit).
3786
3787         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3788         (WTR::PlatformWebView::PlatformWebView):
3789
3790 2012-03-25  Kevin Ollivier  <kevino@theolliviers.com>
3791
3792         [wx] Unreviewed build fix. Move WTF to its own static lib build.
3793
3794         * waf/build/settings.py:
3795         (common_configure):
3796
3797 2012-03-24  Chris Fleizach  <cfleizach@apple.com>
3798
3799         AX: Support solution to handle invalid ax text marker
3800         https://bugs.webkit.org/show_bug.cgi?id=82023
3801
3802         Reviewed by Oliver Hunt.
3803
3804         * DumpRenderTree/AccessibilityUIElement.cpp:
3805         (indexForTextMarkerCallback):
3806         (isTextMarkerValidCallback):
3807         (textMarkerForIndexCallback):
3808         (AccessibilityUIElement::indexForTextMarker):
3809         (AccessibilityUIElement::isTextMarkerValid):
3810         (AccessibilityUIElement::textMarkerForIndex):
3811         (AccessibilityUIElement::getJSClass):
3812         * DumpRenderTree/AccessibilityUIElement.h:
3813         (AccessibilityUIElement):
3814         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3815         (AccessibilityUIElement::indexForTextMarker):
3816         (AccessibilityUIElement::textMarkerForIndex):
3817         (AccessibilityUIElement::isTextMarkerValid):
3818         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3819         (WTR::AccessibilityUIElement::indexForTextMarker):
3820         (WTR::AccessibilityUIElement::isTextMarkerValid):
3821         (WTR::AccessibilityUIElement::textMarkerForIndex):
3822         (WTR):
3823         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3824         (AccessibilityUIElement):
3825         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3826         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3827         (WTR):
3828         (WTR::AccessibilityUIElement::indexForTextMarker):
3829         (WTR::AccessibilityUIElement::isTextMarkerValid):
3830         (WTR::AccessibilityUIElement::textMarkerForIndex):
3831
3832 2012-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3833
3834         Unreviewed, rolling out r112014.
3835         http://trac.webkit.org/changeset/112014
3836         https://bugs.webkit.org/show_bug.cgi?id=82138
3837
3838         Broke SnowLeopard, Chromium and GTK+ bots (Requested by kov on
3839         #webkit).
3840
3841         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
3842         (ManagerTest.test_http_locking):
3843         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
3844         (AbstractWorker.run):
3845         * Scripts/webkitpy/layout_tests/controllers/worker.py:
3846         (Worker.__init__):
3847         (Worker.safe_init):
3848         (Worker.run):
3849         (Worker.cleanup):
3850         * Scripts/webkitpy/layout_tests/controllers/worker_unittest.py:
3851         (WorkerTest.test_default_platform_in_worker):
3852         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3853         (run):
3854         (main):
3855         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
3856         (MeteredStream):
3857         (MeteredStream.is):
3858         (MeteredStream.__init__):
3859         (MeteredStream.write):
3860         (MeteredStream.update):
3861         (MeteredStream._overwrite):
3862         (MeteredStream._reset):
3863         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
3864         (TestMeteredStream):
3865         (TestMeteredStream.test_regular):
3866         * Scripts/webkitpy/layout_tests/views/printing.py:
3867         (_configure_logging):
3868         (_restore_logging):
3869         (Printer.__init__):
3870         (Printer.cleanup):
3871         (Printer.print_progress):
3872         (Printer.print_update):
3873         (Printer._write):
3874         (Printer):
3875         (Printer._update):
3876         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
3877         (TestUtilityFunctions.assertEmpty):
3878         (TestUtilityFunctions):
3879         (TestUtilityFunctions.assertNotEmpty):
3880         (TestUtilityFunctions.assertWritten):
3881         (TestUtilityFunctions.test_configure_logging):
3882         (Testprinter.get_printer):
3883         (Testprinter.test_print_progress):
3884         (Testprinter.test_print_progress.mock_time):
3885         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3886         (PerfTestsRunner.__init__):
3887         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
3888         (test_run_test_pause_before_testing):
3889
3890 2012-03-24  Kevin Ollivier  <kevino@theolliviers.com>
3891
3892         [wx] Unreviewed. Fix the build after WTF move.
3893
3894         * waf/build/build_utils.py:
3895         (get_excludes):
3896         (get_excludes_in_dirs):
3897         * waf/build/settings.py:
3898         (get_port_excludes):
3899         (common_configure):
3900
3901 2012-03-24  Dirk Pranke  <dpranke@chromium.org>
3902
3903         clean up NRWT logging/metering, be less verbose
3904         https://bugs.webkit.org/show_bug.cgi?id=73846
3905
3906         Reviewed by Ojan Vafai.
3907
3908         This patch totally rewrites the metered_stream module and
3909         changes the way it and the printing module now interact with the
3910         logging subsystem.
3911
3912         The printing module becomes a dumb layout_tests-specific wrapper around
3913         the metered stream. All of the intelligence of how and when to
3914         actually write (or erase) lines and how things interact with
3915         logging moves into the metered stream.
3916
3917         As of now, anything written to the metered stream *bypasses the
3918         logging system*. If a logger is passed to the meter constructor,
3919         the metered stream will also attach a log handler so that all
3920         messages fed to the logger will also be written to the metered
3921         stream. This detangles the logic that used to exist where
3922         sometimes the meter would write to the logger and sometimes the
3923         logger would write to the meter.
3924
3925         All of this makes the logic generic and reusable for
3926         test-webkitpy (coming in another patch). It also helps clarify
3927         what the mysterious "configure_logging" parameter to the printer
3928         constructor used to do (that parameter itself is gone now, and
3929         by default the printer and metered_stream will not ever touch
3930         the logging system; this makes a bunch of tests less fragile).
3931
3932         All of the above should produce no user-visible changes.
3933
3934         However, to also fix the bug in question, we change the message
3935         format in --verbose mode to %H:%M:%S.%frac %pid %message,
3936         eliminating the date, file:lineno, and level parameters. I am
3937         making this change at the same time because it would be
3938         difficult to write things consistently between the logs and the
3939         metered stream if we were still logging the file:lineno.
3940
3941         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
3942           Remove the configure_logging parameter
3943         * Scripts/webkitpy/layout_tests/controllers/worker.py:
3944           Use metered stream to configure the logging (we don't need a printer)
3945           and be careful about when and how we manipulate the log level
3946           and handlers on the root logger.
3947         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3948           Pass in the root logger so that log messages are formatted
3949           properly, and set the log level outside of any routines called
3950           by unit tests so as to not interfere.
3951         * Scripts/webkitpy/layout_tests/views/manager_worker_broker.py:
3952           remove a duplicate log message.
3953         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
3954           complete rewrite :).
3955         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
3956           complete rewrite :).
3957         * Scripts/webkitpy/layout_tests/views/printing.py:
3958           move the logging configuration into metered_stream, and also
3959           move the "when should I log progress messages" into metered stream.
3960         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
3961           remove tests that are no longer necessary.
3962         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3963           remove the configure_logging parameter.
3964         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
3965           update the test; since the printer no longer writes to the log,
3966           we need to check what is written to the regular_output instead.
3967           (test_run_test_pause_before_testing):
3968
3969 2012-03-24  Gustavo Noronha Silva  <gns@gnome.org>
3970
3971         Add myself and Martin Robinson to:
3972           * GStreamerGraphics
3973           * GtkWebKit2PublicAPI
3974           * SoupNetwork
3975         and to the newly created WebKitGTKTranslations.
3976
3977         Rubber-stamped by Martin Robinson.
3978
3979         * Scripts/webkitpy/common/config/watchlist:
3980
3981 2012-03-24  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3982
3983         [Qt][WK2] Implement PageClient::isViewWindowActive()
3984         https://bugs.webkit.org/show_bug.cgi?id=81143
3985
3986         Reviewed by Kenneth Rohde Christiansen.
3987
3988         Fix the WrapperWindow from our PlatformWebView
3989         so it correctly creates the platform related
3990         stuff for QWindow, which is not created unless
3991         QWindow::setVisible() or QWindow::show() are called.
3992
3993         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3994         (WTR::PlatformWebView::PlatformWebView):
3995
3996 2012-03-23  Dirk Pranke  <dpranke@chromium.org>
3997
3998         nrwt: don't wait for safari to exit before exiting after showing the results file
3999         https://bugs.webkit.org/show_bug.cgi?id=81845
4000
4001         Reviewed by Ryosuke Niwa.
4002
4003         Prior to this change, if you ran new-run-webkit-tests and
4004         displayed the HTML results file at the end, we would block
4005         waiting for the user to quit the browser. There doesn't seem to
4006         be a need for that, and the Chromium ports don't do this.
4007
4008         Also, update the mac tests to capture the output and be quiet :).
4009
4010         * Scripts/webkitpy/common/system/executive_mock.py:
4011           Make popen() testable, implement should_log for it.
4012         * Scripts/webkitpy/layout_tests/port/mac.py:
4013         (MacPort.show_results_html_file):
4014         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
4015           Silence some of the tests via outputcapture.
4016
4017 2012-03-23  Gustavo Noronha Silva  <gns@gnome.org>
4018
4019         [GTK] libgcrypt and p11-kit should not be in jhbuild modules
4020         https://bugs.webkit.org/show_bug.cgi?id=82073
4021
4022         Reviewed by Martin Robinson.
4023
4024         * Scripts/webkitdirs.pm:
4025         (jhbuildConfigurationChanged): new function that isolates the
4026         jhbuild configuration change checking from the autogen logic.
4027         (mustReRunAutogen): code for the new function lived here.
4028         (buildAutotoolsProject): now calls jhbuildConfigurationChanged
4029         itself, and cleans up the jhbuild root if configuration has
4030         changed; it also forces autogen to be run in that case, to
4031         make sure the new libraries are used.
4032         * gtk/jhbuild.modules: removed libgcrypt and p11-kit.
4033         * jhbuild/jhbuild-wrapper:
4034         (ensure_jhbuild): this might be run inside a jhbuild environment,
4035         in which case aclocal fails when trying to use the now deleted
4036         aclocal directory in the jhbuild prefix, so work around that.
4037
4038 2012-03-23  Ojan Vafai  <ojan@chromium.org>
4039
4040         garden-o-matic scrolls to the top of the page when you click an accordion item
4041         https://bugs.webkit.org/show_bug.cgi?id=82088
4042
4043         Reviewed by Adam Barth.
4044
4045         Check the scroll position and make sure that the clicked accordion item is visible.
4046
4047         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
4048
4049 2012-03-23  Dirk Pranke  <dpranke@chromium.org>
4050
4051         LayoutTestHelper could get torn down earlier (mostly to reset color profile)
4052         https://bugs.webkit.org/show_bug.cgi?id=80567
4053
4054         Reviewed by Ryosuke Niwa.
4055
4056         Move clean_up_run to occur right after we finish testing and
4057         before we start processing the results. Also makes set_up_run()
4058         and clean_up_run() private since there's no real need for
4059         callers to be aware of them.
4060
4061         * Scripts/webkitpy/layout_tests/controllers/manager.py:
4062         (Manager._set_up_run):
4063         (Manager.run):
4064         (Manager._clean_up_run):
4065         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
4066         (ManagerTest.test_http_locking):
4067         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4068         (run):
4069
4070 2012-03-23  Dean Jackson  <dino@apple.com>
4071
4072         Disable CSS_SHADERS in Apple builds
4073         https://bugs.webkit.org/show_bug.cgi?id=81996
4074
4075         Reviewed by Simon Fraser.
4076
4077         Default enableCSSShaders to be 0 on all builds that use
4078         this script. Use the flag to turn it back on.
4079
4080         * Scripts/build-webkit:
4081
4082 2012-03-23  Tony Chang  <tony@chromium.org>
4083
4084         [chromium] rename newwtf target back to wtf
4085         https://bugs.webkit.org/show_bug.cgi?id=82064
4086
4087         Reviewed by Adam Barth.
4088
4089         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
4090
4091 2012-03-23  Jessie Berlin  <jberlin@apple.com>
4092
4093         Assertion failure in PlatformPasteboardMac constructor causing multiple tests to "crash" on
4094         the Lion Intel WebKit2 Debug bots.
4095         https://bugs.webkit.org/show_bug.cgi?id=81012.
4096
4097         Rubber-stamped by Dan Bernstein.
4098
4099         Add a step to kill the pasteboard server while we investigate what is causing these
4100         assertion failures (to get the bots green).
4101
4102         * BuildSlaveSupport/kill-old-processes:
4103
4104 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
4105
4106         [check-webkit-style] Alphabetical sorting errors in headers are reported for the line after the first out of order header
4107         https://bugs.webkit.org/show_bug.cgi?id=81986
4108
4109         Reviewed by David Levin.
4110
4111         Track whether or not errors are filtered in error handlers. If an
4112         alphabetical sorting error is reported for a header and filtered, try
4113         reporting it for the other potential source of the error. This ensures
4114         that the style bot can still find new sorting errors in both potential
4115         situations:
4116
4117             #include <foo.h> <-- 1. edited line
4118             #include <baz.h> <-- 2. edited line
4119
4120         * Scripts/webkitpy/style/checkers/cpp.py:
4121         (check_include_line): Potentially report the error for both lines,
4122         if the first error is filtered.
4123         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Implement a new style of
4124         test that allows only reporting errors for certain lines. This verifies that
4125         when one line of an ordering error is filtered, the error is reported on the
4126         other line.
4127         (ErrorCollector.__init__):
4128         (ErrorCollector.__call__):
4129         (CppStyleTestBase.perform_lint):
4130         (CppStyleTestBase.perform_language_rules_check):
4131         (CppStyleTestBase.assert_language_rules_check):
4132         (OrderOfIncludesTest.test_check_alphabetical_include_order_errors_reported_for_both_lines):
4133         Added a new test that verifies that when one line of the two lines of an ordering
4134         error occur, the error is reported on the other line.
4135         * Scripts/webkitpy/style/checkers/jsonchecker_unittest.py:
4136         (MockErrorHandler.__call__): Report True because the error is handled.
4137         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
4138         (ErrorCollector.__call__): Ditto.
4139         * Scripts/webkitpy/style/checkers/watchlist_unittest.py:
4140         (MockErrorHandler.__call__): Ditto.
4141         * Scripts/webkitpy/style/checkers/xcodeproj_unittest.py:
4142         (TestErrorHandler.__call__): Ditto.
4143         * Scripts/webkitpy/style/checkers/xml_unittest.py:
4144         (MockErrorHandler.__call__): Ditto.
4145         * Scripts/webkitpy/style/error_handlers.py:
4146         (DefaultStyleErrorHandler.__call__): Report True if the error is handled
4147         and False if it is filtered.
4148
4149 2012-03-23  Patrick Gansterer  <paroga@webkit.org>
4150
4151         Build fix for WinCE after r111778.
4152
4153         * WinCELauncher/CMakeLists.txt:
4154
4155 2012-03-23  Peter Beverloo  <peter@chromium.org>
4156
4157         Unreviewed buildfix for the Chromium Android builder.
4158
4159         Disable the ImageDiff target for now. Android needs to build this for
4160         host rather than for target (as other configurations do), but since the
4161         WTF move the dependency chain got significantly more complicated.
4162
4163         I'll work out a proper fix in the following bug, but since several
4164         things are broken due to this, this buildfix should be landed first.
4165         https://bugs.webkit.org/show_bug.cgi?id=82039
4166
4167         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
4168
4169 2012-03-23  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
4170
4171         [EFL][DRT] Implement LayoutTestController's methods related with editing.
4172         https://bugs.webkit.org/show_bug.cgi?id=80136
4173
4174         Reviewed by Ryosuke Niwa.
4175
4176         Implements EFL's LayoutTestController methods e.i. setSmartInsertDeleteEnabled,
4177         setSelectTrailingWhitespaceEnabled.
4178
4179         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4180         (LayoutTestController::setSmartInsertDeleteEnabled):
4181         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
4182
4183 2012-03-22  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4184
4185         Convert hasGrammarMarker to use Internals interface
4186         https://bugs.webkit.org/show_bug.cgi?id=82004
4187
4188         Reviewed by Ryosuke Niwa.
4189
4190         Remove hasGrammarMarker functions, because it is able to work in the
4191         cross-port way through the Internals interface.
4192
4193         * DumpRenderTree/LayoutTestController.cpp:
4194         (LayoutTestController::staticFunctions):
4195         * DumpRenderTree/LayoutTestController.h:
4196         (LayoutTestController):
4197         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
4198         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4199         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4200         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4201         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4202         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
4203
4204 2012-03-22  Adam Barth  <abarth@webkit.org>
4205
4206         sync-master-with-upstream creates non-linear git history
4207         https://bugs.webkit.org/show_bug.cgi?id=82006
4208
4209         Reviewed by Julien Chaffraix.
4210
4211         Previously this script would create a merge commit at the HEAD of
4212         origin/master, causing your fork of WebKit to diverge from upstream.
4213         The new version of this script pushes directly from upstream to origin
4214         (without round-tripping through any local branches), avoiding this
4215         problem.
4216
4217         * Scripts/sync-master-with-upstream:
4218
4219 2012-03-22  Gustavo Noronha Silva  <gns@gnome.org>
4220
4221         Unreviewed build fix. Add knowledge of the WTF project to
4222         the autotools build system scripts so that build-jsc works
4223         correctly for GTK+.
4224
4225         * Scripts/webkitdirs.pm:
4226         (buildAutotoolsProject): handle the WTF project, build the
4227         libWTF.la target.
4228         (buildGtkProject): add WTF to the list of supported projects.
4229
4230 2012-03-22  Eric Seidel  <eric@webkit.org>
4231
4232         Make svn-apply re-write JavaScriptCore/wtf to WTF/wtf
4233         https://bugs.webkit.org/show_bug.cgi?id=81984
4234
4235         Reviewed by Adam Barth.
4236
4237         * Scripts/VCSUtils.pm:
4238         (adjustPathForRecentRenamings):
4239
4240 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
4241
4242         [CMake] Fix build-jsc after r111778 and r111797.
4243         https://bugs.webkit.org/show_bug.cgi?id=82001
4244
4245         Reviewed by Filip Pizlo.
4246
4247         Contrary to the comment in build-jsc, buildCMakeProjectOrExit()
4248         does return if no error occurred, and build-jsc failed with
4249         "building not defined for this platform".
4250
4251         * Scripts/build-jsc: Always exit after caling
4252         buildCMakeProjectOrExit().
4253         * Scripts/webkitdirs.pm:
4254         (buildCMakeProjectOrExit): Return 0 if no error occurred.
4255
4256 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
4257
4258         [CMake] Unreviewed build fix after r111778.
4259
4260         * DumpRenderTree/efl/CMakeLists.txt: Replace
4261         ${JAVASCRIPTCORE_DIR}/wtf with ${WTF_DIR}/wtf in the include
4262         paths.
4263         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp: Use the right
4264         wtf include.
4265         * DumpRenderTree/efl/WorkQueueItemEfl.cpp: Ditto.
4266         * WinCELauncher/CMakeLists.txt: Replace ${JAVASCRIPTCORE_DIR}/wtf
4267         with ${WTF_DIR}/wtf in the include paths.
4268
4269 2012-03-22  Filip Pizlo  <fpizlo@apple.com>
4270
4271         Tools/Scripts/build-jsc doesn't work after WTF move
4272         https://bugs.webkit.org/show_bug.cgi?id=81999
4273
4274         Reviewed by Eric Seidel.
4275         
4276         For ports that require WTF and JSC to be built as two projects and where
4277         the machinery to build both does not already exist, teach the tool to do
4278         so for us.
4279
4280         * Scripts/build-jsc:
4281         (buildMyProject):
4282
4283 2012-03-22  Ojan Vafai  <ojan@chromium.org>
4284
4285         Fix accidental missing line in r111793.
4286
4287         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
4288         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
4289         Remove base.values. It was unused and duplicates the builtin Object.values.
4290         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
4291         Accidentally deleted this line before committing r111793.
4292
4293 2012-03-22  Ojan Vafai  <ojan@chromium.org>
4294
4295         Move garden-o-matic progress feedback from non-modal dialogs to a status console anchored to the bottom of the page
4296         https://bugs.webkit.org/show_bug.cgi?id=81983
4297
4298         Reviewed by Adam Barth.
4299
4300         The dialogs get in the way if you are doing multiple rebaselines. Also,
4301         a number of people didn't realize that you could do multiple rebaselines
4302         in parallel. A non-modal dialog is just confusing.
4303
4304         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
4305         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
4306         If we're only rebaselining 1 test, show the test name in the initial message. Otherwise,
4307         show the number of tests being rebaselined.
4308
4309         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
4310         Turn MessageBox into StatusArea. StatusArea is a singleton and messages in the StatusArea are grouped
4311         by ID. That way, the results of each UI action (e.g. clicking rebaseline) are grouped together
4312         into a single area.
4313
4314         Once addFinalMessage has been called for all IDs, we show the close button. Clicking close
4315         also serves to clear all teh content in the StatusArea. 
4316
4317         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
4318         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
4319
4320 2012-03-22  Tony Chang  <tony@chromium.org>
4321
4322         Unreviewed, fix chromium build after wtf move.
4323
4324         Only use newwtf, remove references to wtf.
4325
4326         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
4327
4328 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
4329
4330         Actually move WTF files to their new home
4331         https://bugs.webkit.org/show_bug.cgi?id=81844
4332
4333         [Qt] Unreviewed buildfix after r111778.
4334
4335         * DumpRenderTree/qt/DumpRenderTree.pro:
4336
4337 2012-03-22  Dan Bernstein  <mitz@apple.com>
4338
4339         Font fallback in WebKitTestRunner depends on user settings
4340         https://bugs.webkit.org/show_bug.cgi?id=81978
4341
4342         Reviewed by Jessie Berlin.
4343
4344         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
4345         (WTR::InjectedBundle::platformInitialize): Added an AppleLanguages key
4346         with a value consisting of the array ("en") to the override defaults
4347         dictionary. This is the same value used in DumpRenderTree, and it
4348         ensures that font fallback follows a consistent path that is not
4349         affected by the language preferences of the user running the test.
4350
4351 2012-03-22  Andy Estes  <aestes@apple.com>
4352
4353         check-for-inappropriate-objc-class-names should ignore the class defined by libarclite.
4354         https://bugs.webkit.org/show_bug.cgi?id=81971
4355
4356         Reviewed by Dan Bernstein.
4357
4358         Xcode will automatically link ObjC binaries against libarclite in some
4359         cases, which defines a class called __ARCLite__.
4360         check-for-inappropriate-objc-class-names shouldn't complain about this
4361         class name.
4362
4363         * Scripts/check-for-inappropriate-objc-class-names:
4364
4365 2012-03-22  Dirk Pranke  <dpranke@chromium.org>
4366
4367         new-run-webkit-tests blames the wrong test for crashing
4368         https://bugs.webkit.org/show_bug.cgi?id=81951
4369
4370         Reviewed by Adam Barth.
4371
4372         NRWT wasn't extracting the WebProcess pid correct; should've
4373         used re.search instead of re.match :(. Add more tests!
4374
4375         * Scripts/webkitpy/layout_tests/port/mac.py:
4376         (MacPort._get_crash_log):
4377         * Scripts/webkitpy/layout_tests/port/webkit.py:
4378         (WebKitDriver.has_crashed):
4379         (WebKitDriver._check_for_driver_crash):
4380         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
4381         (WebKitDriverTest.test_no_timeout):
4382         (WebKitDriverTest):
4383         (WebKitDriverTest.test_check_for_driver_crash):
4384         (WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess):
4385         (WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.__init__):
4386         (WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.pid):
4387         (WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.name):
4388         (WebKitDriverTest.test_check_for_driver_crash.FakeServerProcess.has_crashed):
4389         (WebKitDriverTest.test_check_for_driver_crash.assert_crash):
4390
4391 2012-03-22  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
4392
4393         [EFL] [DRT] Implement LayoutTestController::markerTextForListItem()
4394         https://bugs.webkit.org/show_bug.cgi?id=81512
4395
4396         Adding missing implementation markerTextForListItem to EFL's
4397         LayoutTestController so that we can unskip related tests from
4398         the skip list.
4399
4400         Reviewed by Antonio Gomes.
4401
4402         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4403         (LayoutTestController::markerTextForListItem): Implemented.
4404
4405 2012-03-22  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
4406
4407         [EFL] Enable view mode media feature layout tests
4408         https://bugs.webkit.org/show_bug.cgi?id=81205
4409
4410         Adding missing implementation setViewModeMediaFeature to EFL's 
4411         LayoutTestController so that we can unskip view mode 
4412         media feature layout tests.
4413
4414         Reviewed by Antonio Gomes.
4415
4416         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4417         (LayoutTestController::setViewModeMediaFeature): Implemented.
4418
4419 2012-03-22  Dirk Pranke  <dpranke@chromium.org>
4420
4421         nrwt: crash while stopping layout test helper on apple mac lion
4422         https://bugs.webkit.org/show_bug.cgi?id=81949
4423
4424         Reviewed by Eric Seidel.
4425
4426         stop_helper() didn't work right if the helper process wasn't
4427         still running or didn't respond properly to being shut down. Fix
4428         this and add some tests. Also add code to MockExecutive() to be
4429         able to mock executive.popen() properly.
4430
4431         * Scripts/webkitpy/common/system/executive_mock.py:
4432         (MockProcess.__init__):
4433         (MockProcess.wait):
4434         (MockExecutive.__init__):
4435         (MockExecutive.popen):
4436         * Scripts/webkitpy/common/system/systemhost_mock.py:
4437         (MockSystemHost.__init__):
4438         * Scripts/webkitpy/layout_tests/port/mac.py:
4439         (MacPort.start_helper):
4440         (MacPort.stop_helper):
4441         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
4442         (test_get_crash_log):
4443         (test_helper_starts):
4444         (test_helper_fails_to_start):
4445         (test_helper_fails_to_stop):
4446         (test_helper_fails_to_stop.bad_waiter):
4447
4448 2012-03-22  Gustavo Noronha Silva  <gns@gnome.org>
4449
4450         [GTK] Add make to the jhbuild moduleset
4451         https://bugs.webkit.org/show_bug.cgi?id=81769
4452
4453         Reviewed by Martin Robinson.
4454
4455         Mostly based on a patch by Carlos Garcia Campos <cgarcia@igalia.com>.
4456         Add GNU make with custom patches to fix several issues:
4457
4458         - make-3.82-arg-list-length.patch: Patch by Ralf Wildenhues to
4459           fix the argument list limit of GNU make when running make
4460           distcheck.
4461         - make-3.82-parallel-build.patch: Patch by Kamil Mierzejewski
4462           and Jeremy Devenport to fix parallel build issues present in
4463           GNU make 3.82
4464
4465         * gtk/jhbuild.modules: Added make with patches.
4466         * gtk/patches/make-3.82-arg-list-length.patch: Added.
4467         * gtk/patches/make-3.82-parallel-build.patch: Added.
4468
4469 2012-03-22  Kevin Ollivier  <kevino@theolliviers.com>
4470
4471         [wx] Unreviewed. Adding Source/WTF to the build and updating
4472         waf port list.
4473
4474         * DumpRenderTree/wscript:
4475         * waf/build/settings.py:
4476
4477 2012-03-22  Dirk Pranke  <dpranke@chromium.org>
4478
4479         Re-land fix for r81603 yet again (!) with latest build fix.
4480         https://bugs.webkit.org/show_bug.cgi?id=81603
4481
4482         Unreviewed, build fix.
4483
4484         The latest problem was a bad sprintf() in
4485         BasePort._get_crash_log(). I've reworked that routine and added
4486         unit tests for coverage.
4487
4488         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
4489         (SingleTestRunner._handle_error):
4490         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
4491         (write_test_result):
4492         (TestResultWriter.write_crash_log):
4493         * Scripts/webkitpy/layout_tests/port/base.py:
4494         (Port.diff_text):
4495         (Port._get_crash_log):
4496         * Scripts/webkitpy/layout_tests/port/chromium.py:
4497         (ChromiumDriver.run_test):
4498         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
4499         (ChromiumDriverTest.test_crash_log):
4500         * Scripts/webkitpy/layout_tests/port/driver.py:
4501         (DriverOutput.__init__):
4502         * Scripts/webkitpy/layout_tests/port/mac.py:
4503         (MacPort.is_lion):
4504         (MacPort._get_crash_log):
4505         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
4506         (test_default_child_processes):
4507         (test_get_crash_log):
4508         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
4509         (MockDRTPortTest.test_get_crash_log):
4510         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
4511         (PortTestCase.test_get_crash_log):
4512         * Scripts/webkitpy/layout_tests/port/test.py:
4513         (TestDriver.run_test):
4514         * Scripts/webkitpy/layout_tests/port/webkit.py:
4515         (WebKitDriver.__init__):
4516         (WebKitDriver._start):
4517         (WebKitDriver.has_crashed):
4518         (WebKitDriver._check_for_driver_crash):
4519         (WebKitDriver.run_test):
4520
4521 2012-03-22  Alexander Færøy  <alexander.faeroy@nokia.com>
4522
4523         [Qt] Enable support for handling database quota's in the MiniBrowser
4524         https://bugs.webkit.org/show_bug.cgi?id=81928
4525
4526         Reviewed by Simon Hausmann.
4527
4528         * MiniBrowser/qt/qml/BrowserWindow.qml:
4529
4530 2012-03-22  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
4531
4532         [EFL] Implement LayoutTestController::setEditingBehavior
4533         https://bugs.webkit.org/show_bug.cgi?id=81124
4534
4535         Adding missing implementation setEditingBehavior to EFL's
4536         LayoutTestController. This implementation allows us to
4537         unskip some tests from the skip list.
4538
4539         Reviewed by Martin Robinson.
4540
4541         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4542         (LayoutTestController::setEditingBehavior): Implemented.
4543
4544 2012-03-22  Carlos Garcia Campos  <cgarcia@bb-webkit-rel-64.local.igalia.com>
4545
4546         [GTK] Use the angle-bracket form to include wtf headers
4547         https://bugs.webkit.org/show_bug.cgi?id=81884
4548
4549         Reviewed by Eric Seidel.
4550
4551         Use #include <wtf/foo> instead of #include "foo".
4552
4553         * DumpRenderTree/gtk/AccessibilityCallbacks.cpp:
4554         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
4555         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4556         * DumpRenderTree/gtk/EditingCallbacks.cpp:
4557         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4558         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
4559
4560 2012-03-22  Alexander Færøy  <alexander.faeroy@nokia.com>
4561
4562         Unreviewed, add Michael Brüning and Allan Jensen to committers.py.
4563
4564         * Scripts/webkitpy/common/config/committers.py:
4565
4566 2012-03-22  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
4567
4568         [Qt] Enable FAST_MOBILE_SCROLLING when scrolling is delegated.
4569         https://bugs.webkit.org/show_bug.cgi?id=81889
4570
4571         Reviewed by Kenneth Rohde Christiansen.
4572
4573         Enable FAST_MOBILE_SCROLLING feature.
4574
4575         * qmake/mkspecs/features/features.prf:
4576
4577 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
4578
4579         [EFL] DRT: Do not pass a relative path to DOWNLOADED_FONTS_DIR.
4580         https://bugs.webkit.org/show_bug.cgi?id=81900
4581
4582         Reviewed by Gustavo Noronha Silva.
4583
4584         r111598 added the DOWNLOADED_FONTS_DIR define, but it used a relative
4585         path which assumed a certain directory structure for the build
4586         directory which may noy be true.
4587
4588         Instead, hardcode the path to the downloaded fonts starting from the
4589         top-level source directory. While this solution is also far from
4590         perfect, it makes it more consistent and reliable, and easier to
4591         tackle at once with the rest of bug 81475.
4592
4593         * DumpRenderTree/efl/CMakeLists.txt:
4594
4595 2012-03-22  Carlos Garcia Campos  <cgarcia@igalia.com>
4596
4597         [GTK] Allow to run any jhbuild command with jhbuild-wrapper script
4598         https://bugs.webkit.org/show_bug.cgi?id=81888
4599
4600         Reviewed by Philippe Normand.
4601
4602         * Scripts/update-webkit-libs-jhbuild:
4603         (runJhbuild): Helper function to run jhbuild with a given command.
4604         Instead of running jhbuild directly, use the jhbuild-wrapper, so
4605         that we don't need to run it first to check whether jhbuild is
4606         installed or not.
4607         * efl/run-with-jhbuild: Call jhbuild-wrapper with run command.
4608         * gtk/run-with-jhbuild: Ditto.
4609         * jhbuild/jhbuild-wrapper: Allow to execute any jhbuild command,
4610         not only run.
4611
4612 2012-03-22  Philippe Normand  <pnormand@igalia.com>
4613
4614         Unreviewed, test-webkitpy fix after r111661.
4615
4616         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
4617         (MainTest.test_crash_log):
4618         (MainTest.test_web_process_crash_log):
4619
4620 2012-03-22  Philippe Normand  <pnormand@igalia.com>
4621
4622         Unreviewed, test-webkitpy fix after r111642.
4623
4624         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
4625         (ChromiumDriverTest.setUp):
4626         (ChromiumDriverTest.test_two_drivers):
4627
4628 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
4629
4630         webkitpy: clean up actually getting crash logs from DRT/WTR crashes
4631         https://bugs.webkit.org/show_bug.cgi?id=81603
4632
4633         Unreviewed rolling out r111609 and part of r111615,
4634         because it broke NRWT on Qt-WK2 platform.
4635
4636         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
4637         (SingleTestRunner._handle_error):
4638         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
4639         (write_test_result):
4640         (TestResultWriter.write_crash_report):
4641         * Scripts/webkitpy/layout_tests/port/base.py:
4642         (Port.is_crash_reporter):
4643         (Port._driver_class):
4644         * Scripts/webkitpy/layout_tests/port/chromium.py:
4645         (ChromiumDriver.run_test):
4646         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
4647         (ChromiumDriverTest.test_crashed_process_name):
4648         * Scripts/webkitpy/layout_tests/port/driver.py:
4649         (DriverOutput.__init__):
4650         * Scripts/webkitpy/layout_tests/port/mac.py:
4651         (MacPort):
4652         (MacPort.is_crash_reporter):
4653         (MacPort.release_http_lock):
4654         * Scripts/webkitpy/layout_tests/port/test.py:
4655         (TestDriver.run_test):
4656         * Scripts/webkitpy/layout_tests/port/webkit.py:
4657         (WebKitDriver.__init__):
4658         (WebKitDriver._start):
4659         (WebKitDriver.has_crashed):
4660         (WebKitDriver._check_for_driver_crash):
4661         (WebKitDriver.run_test):
4662
4663 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
4664
4665         [Qt] Add full platforms to Qt buildslaves
4666         https://bugs.webkit.org/show_bug.cgi?id=81877
4667
4668         Reviewed by Ryosuke Niwa.
4669
4670         * BuildSlaveSupport/build.webkit.org-config/config.json:
4671
4672 2012-03-21  Johnny Ding  <jnd@chromium.org>
4673
4674         Customize layout test timeout value for different ports.
4675         https://bugs.webkit.org/show_bug.cgi?id=79859
4676
4677         Reviewed by Ojan Vafai.
4678
4679         * Scripts/webkitpy/layout_tests/controllers/manager.py:
4680         (Manager):
4681         * Scripts/webkitpy/layout_tests/port/base.py:
4682         (Port.default_test_timeout_ms):
4683         * Scripts/webkitpy/layout_tests/port/chromium.py:
4684         (ChromiumDriver.stop):
4685         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
4686         (ChromiumAndroidPort.default_test_timeout_ms):
4687         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4688         (_set_up_derived_options):
4689
4690 2012-03-21  Mark Rowe  <mrowe@apple.com>
4691
4692         Fix the build.
4693
4694         Ensure that our test tools don't try and use RTTI unnecessarily.
4695
4696         * DumpRenderTree/mac/Configurations/Base.xcconfig:
4697         * TestWebKitAPI/Configurations/Base.xcconfig:
4698         * WebKitTestRunner/Configurations/Base.xcconfig:
4699
4700 2012-03-21  Adam Barth  <abarth@webkit.org>
4701
4702         WebKit should have some scripts to smooth interactions with GitHub
4703         https://bugs.webkit.org/show_bug.cgi?id=81842
4704
4705         Reviewed by Eric Seidel.
4706
4707         These scripts support the workflow in
4708         https://trac.webkit.org/wiki/UsingGitHub by automating the
4709         configuration and syncing operations needed for a GitHub fork of WebKit
4710         to track the main WebKit repository.
4711
4712         * Scripts/configure-github-as-upstream: Added.
4713         * Scripts/sync-master-with-upstream: Added.
4714
4715 2012-03-21  Dirk Pranke  <dpranke@chromium.org>
4716
4717         WTR - log the pid of a crashing WebProcess
4718         https://bugs.webkit.org/show_bug.cgi?id=81575
4719
4720         Reviewed by Alexey Proskuryakov.
4721
4722         This allows run-webkit-tests to find the right crash log for a
4723         given crashed WebProcess in WebKit2.
4724
4725         * WebKitTestRunner/TestController.cpp:
4726         (WTR::exceededDatabaseQuota):
4727         (WTR::TestController::createOtherPage):
4728         (WTR::TestController::initialize):
4729         (WTR::TestController::resetStateToConsistentValues):
4730         (WTR::TestController::runTest):
4731         (WTR::TestController::processDidCrash):
4732
4733 2012-03-21  Enrica Casucci  <enrica@apple.com>
4734
4735         WebKitURLWithTitles pasteboard format should support URLs containing Emoji characters.
4736         https://bugs.webkit.org/show_bug.cgi?id=81835
4737         <rdar://problem/11082749>
4738
4739         Reviewed by Brady Eidson.
4740
4741         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.html:
4742         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.mm:
4743         (TestWebKitAPI::contextMenuCopyLink):
4744
4745 2012-03-21  Alexandru Chiculita  <achicu@adobe.com>
4746
4747         [CSS Shaders] Make CSS Shaders compile on Chromium
4748         https://bugs.webkit.org/show_bug.cgi?id=81435
4749
4750         Reviewed by Stephen White.
4751         
4752         I've added WebKitCSSCustomFilterEnabled support for the layoutTestController.overridePreference function.
4753
4754         * DumpRenderTree/chromium/LayoutTestController.cpp:
4755         (LayoutTestController::overridePreference):
4756         * DumpRenderTree/chromium/WebPreferences.cpp:
4757         (WebPreferences::reset):
4758         (WebPreferences::applyTo):
4759         * DumpRenderTree/chromium/WebPreferences.h:
4760         (WebPreferences):
4761
4762 2012-03-21  Dirk Pranke  <dpranke@chromium.org>
4763
4764         fix regression on gtk port introduced by r111609
4765         https://bugs.webkit.org/show_bug.cgi?id=81839
4766
4767         Reviewed by Philippe Normand.
4768
4769         r111609 should've initialized a couple of missing fields in
4770         WebKitDriver, and also should've checked for method overrides
4771         in the other ports :(.
4772
4773         * Scripts/webkitpy/layout_tests/port/gtk.py:
4774         (GtkDriver._start):
4775         * Scripts/webkitpy/layout_tests/port/webkit.py:
4776         (WebKitDriver.__init__):
4777         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
4778         (MainTest.test_crash_log):
4779         (MainTest.test_web_process_crash_log):
4780
4781 2012-03-21  Dirk Pranke  <dpranke@chromium.org>
4782
4783         webkitpy: clean up actually getting crash logs from DRT/WTR crashes
4784         https://bugs.webkit.org/show_bug.cgi?id=81603
4785
4786         Reviewed by Adam Barth.
4787
4788         Add a new _get_crash_log() overridable method on the Port
4789         object to customize how we fetch crash logs per port.
4790         Mac will now slow-spin with a timeout waiting for the crash log, rather
4791         than waiting for the ReportCrash process to exit (it appears
4792         that the mac will manage multiple crashes with a single
4793         ReportCrash process, the process waits around longer than
4794         necessary, presumably to avoid thrashing if processes are
4795         repeatedly crashing).
4796
4797         Also, add the DriverOutput should contain the crash log and other info,
4798         which is created in a port-specific manner but can then be
4799         treated generically. Previously single_test_runner would get
4800         told that something crashed and attempt to do something to get
4801         the crash log, but it didn't have the information it needed to
4802         od the right thing; better to make the driver hand back the
4803         right info.
4804
4805         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
4806         (SingleTestRunner._handle_error):
4807         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
4808         (write_test_result):
4809         (TestResultWriter.write_crash_log):
4810         * Scripts/webkitpy/layout_tests/port/base.py:
4811         (Port.diff_text):
4812         (Port._get_crash_log):
4813         * Scripts/webkitpy/layout_tests/port/chromium.py:
4814         (ChromiumDriver.run_test):
4815         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
4816         (ChromiumDriverTest.test_crash_log):
4817         * Scripts/webkitpy/layout_tests/port/driver.py:
4818         (DriverOutput.__init__):
4819         * Scripts/webkitpy/layout_tests/port/mac.py:
4820         (MacPort.is_lion):
4821         (MacPort._get_crash_log):
4822         * Scripts/webkitpy/layout_tests/port/test.py:
4823         (TestDriver.run_test):
4824         * Scripts/webkitpy/layout_tests/port/webkit.py:
4825         (WebKitDriver.__init__):
4826         (WebKitDriver._start):
4827         (WebKitDriver.has_crashed):
4828         (WebKitDriver._check_for_driver_crash):
4829         (WebKitDriver.run_test):
4830
4831 2012-03-21  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
4832
4833         [EFL] Use jhbuild downloaded fonts instead of hardcoded system font paths
4834         https://bugs.webkit.org/show_bug.cgi?id=81507
4835
4836         Now that we're only loading from one directory, no need to
4837         iterate over a list of directories anymore.
4838
4839         Reviewed by Martin Robinson.
4840
4841         * DumpRenderTree/efl/CMakeLists.txt:
4842         * DumpRenderTree/efl/FontManagement.cpp:
4843         (addFontDirectory):
4844         (addFontsToEnvironment):
4845
4846 2012-03-21  Dirk Pranke  <dpranke@chromium.org>
4847
4848         webkitpy: get ServerProcess out of the reportcrash business
4849         https://bugs.webkit.org/show_bug.cgi?id=81600
4850
4851         Unreviewed, build fix.
4852
4853         Re-land r111307 and r111293 with another fix for a crash in NRWT;
4854         we need to check if the driver has crashed before attempting to
4855         read from it.
4856
4857
4858         * Scripts/webkitpy/layout_tests/port/server_process.py:
4859         (ServerProcess._reset):
4860         (ServerProcess._handle_possible_interrupt):
4861         (ServerProcess.write):
4862         (ServerProcess.read_stdout):
4863         (ServerProcess.has_crashed):
4864         (ServerProcess._read):
4865         (ServerProcess.stop):
4866         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
4867         (TrivialMockPort.check_for_leaks):
4868         (TestServerProcess.test_broken_pipe):
4869         * Scripts/webkitpy/layout_tests/port/webkit.py:
4870         (WebKitPort._read_image_diff):
4871         (WebKitDriver.has_crashed):
4872         (WebKitDriver._check_for_driver_crash):
4873         (WebKitDriver.run_test):
4874         (WebKitDriver._read_block):
4875         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
4876         (MockServerProcess.__init__):
4877         (MockServerProcess):
4878         (MockServerProcess.has_crashed):
4879
4880 2012-03-21  Zeno Albisser  <zeno@webkit.org>
4881
4882         [Qt][Mac] ranlib segfaults when creating symbol tables for libWebCore.a.
4883         https://bugs.webkit.org/show_bug.cgi?id=81750
4884
4885         Building WebCore on mac currently creates an archive that is bigger than
4886         4GB. But ranlib fails to create a symbol table for such a big archive,
4887         even on 64bit machines.
4888         Therefore we start using SVGAllInOne.cpp when building debug
4889         on mac. This reduces the size of the archive by about 300MB.
4890
4891         Reviewed by Tor Arne Vestbø.
4892
4893         * qmake/mkspecs/features/mac/default_pre.prf:
4894
4895 2012-03-21  Szilard Ledan  <szledan@inf.u-szeged.hu>
4896
4897         Updated the address list of committers.py.
4898
4899         Reviewed by Csaba Osztrogonác.
4900
4901         * Scripts/webkitpy/common/config/committers.py:
4902
4903 2012-03-21  W. James MacLean  <wjmaclean@chromium.org>
4904
4905         Updating my nick in committers file.
4906
4907         Unreviewed.
4908
4909         * Scripts/webkitpy/common/config/committers.py:
4910
4911 2012-03-21  Peter Beverloo  <peter@chromium.org>
4912
4913         [Chromium] Remove Android build-fix when the proper fix rolled into WebKit
4914         https://bugs.webkit.org/show_bug.cgi?id=80861
4915
4916         Reviewed by Tony Chang.
4917
4918         Remove most Android-specific logic from webkitdirs.pm in favor of
4919         handling this during project generation time.
4920
4921         * Scripts/webkitdirs.pm:
4922         (buildChromiumMakefile):
4923
4924 2012-03-21  Carlos Garcia Campos  <cgarcia@igalia.com>
4925
4926         [GTK] Allow running javascript from location bar in MiniBrowser
4927         https://bugs.webkit.org/show_bug.cgi?id=81331
4928
4929         Reviewed by Martin Robinson.
4930
4931         * MiniBrowser/gtk/BrowserWindow.c:
4932         (activateUriEntryCallback): Use browser_window_load_uri().
4933         (browser_window_load_uri): Check whether uri starts with
4934         javascript: and run the given script, or just call
4935         webkit_web_view_load_uri() to load the given uri.
4936         * MiniBrowser/gtk/BrowserWindow.h:
4937         * MiniBrowser/gtk/main.c:
4938         (createBrowserWindow): Use browser_window_load_uri().
4939
4940 2012-03-21  Carlos Garcia Campos  <cgarcia@igalia.com>
4941
4942         [GTK] Add webkit_web_view_run_javascript() to WebKit2 GTK+
4943         https://bugs.webkit.org/show_bug.cgi?id=75543
4944
4945         Reviewed by Martin Robinson.
4946
4947         * MiniBrowser/gtk/GNUmakefile.am: Add javascriptcore_cppflags to
4948         MiniBrowser CPP flags.
4949
4950 2012-03-20  Eric Seidel  <eric@webkit.org>
4951
4952         Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
4953         https://bugs.webkit.org/show_bug.cgi?id=80911
4954
4955         Reviewed by Adam Barth.
4956
4957         Update include paths for Source/WTF.
4958
4959         * DumpRenderTree/efl/CMakeLists.txt:
4960         * DumpRenderTree/qt/DumpRenderTree.pro:
4961         * QtTestBrowser/QtTestBrowser.pro:
4962         * Scripts/build-webkit: Build Source/WTF on AppleWin as well.
4963
4964 2012-03-20  Adam Barth  <abarth@webkit.org>
4965
4966         svn-apply should move inflight patches from WebCore/webaudio to WebCore/Modules/webaudio
4967         https://bugs.webkit.org/show_bug.cgi?id=81567
4968
4969         Reviewed by Eric Seidel.
4970
4971         This temporary measure should help us avoid disrupting the folks
4972         working on WebAudio when we move the webaudio directory to Modules.
4973
4974         * Scripts/VCSUtils.pm:
4975         (adjustPathForRecentRenamings):
4976         (parseGitDiffHeader):
4977         (parseSvnDiffHeader):
4978
4979 2012-03-20  Dirk Pranke  <dpranke@chromium.org>
4980
4981         Unreviewed, rolling out r111453.
4982         http://trac.webkit.org/changeset/111453
4983         https://bugs.webkit.org/show_bug.cgi?id=81600
4984
4985         still broken
4986
4987         * Scripts/webkitpy/layout_tests/port/server_process.py:
4988         (ServerProcess._reset):
4989         (ServerProcess.handle_interrupt):
4990         (ServerProcess.write):
4991         (ServerProcess._check_for_crash):
4992         (ServerProcess._handle_timeout):
4993         (ServerProcess._check_for_abort):
4994         (ServerProcess._read):
4995         (ServerProcess.stop):
4996         (ServerProcess):
4997         (ServerProcess.set_crashed):
4998         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
4999         (TrivialMockPort.is_crash_reporter):
5000         (TestServerProcess.test_broken_pipe):
5001         * Scripts/webkitpy/layout_tests/port/webkit.py:
5002         (WebKitPort._read_image_diff):
5003         (WebKitDriver.has_crashed):
5004         (WebKitDriver._check_for_driver_crash):
5005         (WebKitDriver):
5006         (WebKitDriver._detected_crash):
5007         (WebKitDriver._subprocess_crashed):
5008         (WebKitDriver._crashed_process_name):
5009         (WebKitDriver.run_test):
5010         (WebKitDriver._read_block):
5011         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
5012         (MockServerProcess.__init__):
5013
5014 2012-03-20  Dirk Pranke  <dpranke@chromium.org>
5015
5016         webkitpy: get ServerProcess out of the reportcrash business
5017         https://bugs.webkit.org/show_bug.cgi?id=81600
5018
5019         Unreviewed, build fix.
5020
5021         Re-land r111307 and r111293 with fix for crash in NRWT; I
5022         was failing to set the crashing process name.
5023
5024         * Scripts/webkitpy/layout_tests/port/server_process.py:
5025         (ServerProcess._reset):
5026         (ServerProcess._handle_possible_interrupt):
5027         (ServerProcess.write):
5028         (ServerProcess.read_stdout):
5029         (ServerProcess.has_crashed):
5030         (ServerProcess._read):
5031         (ServerProcess.stop):
5032         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
5033         (TrivialMockPort.check_for_leaks):
5034         (TestServerProcess.test_broken_pipe):
5035         * Scripts/webkitpy/layout_tests/port/webkit.py:
5036         (WebKitPort._read_image_diff):
5037         (WebKitDriver.has_crashed):
5038         (WebKitDriver._check_for_driver_crash):
5039         (WebKitDriver.run_test):
5040         (WebKitDriver._read_block):
5041         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
5042         (MockServerProcess.__init__):
5043         (MockServerProcess):
5044         (MockServerProcess.has_crashed):
5045
5046 2012-03-20  Tim Horton  <timothy_horton@apple.com>
5047
5048         [mac] Restore color space switching code to run-webkit-tests
5049         https://bugs.webkit.org/show_bug.cgi?id=80571
5050         <rdar://problem/11008529>
5051
5052         Reviewed by Simon Fraser.
5053
5054         http://trac.webkit.org/changeset/111429 broke tools build on Snow Leopard.
5055         
5056         Use the old CM* API on Snow Leopard, since CGDisplayCreateUUIDFromDisplayID
5057         didn't exist until Lion.
5058
5059         * DumpRenderTree/mac/LayoutTestHelper.m:
5060         (installLayoutTestColorProfile):
5061         (restoreUserColorProfile):
5062
5063 2012-03-20  Adele Peterson  <adele@apple.com>
5064
5065         Update the last test to use EXPECT_WK_STREQ.
5066
5067         Reviewed by Dan Bernstein.
5068
5069         * TestWebKitAPI/Tests/mac/AttributedString.mm: (TestWebKitAPI::TEST):
5070
5071 2012-03-20  Adele Peterson  <adele@apple.com>
5072
5073         "Attempt to insert nil value " exception when calling attributed string APIs on content with a custom font
5074         https://bugs.webkit.org/show_bug.cgi?id=81630
5075         <rdar://problem/10650660>
5076
5077         Reviewed by Alexey Proskuryakov.
5078
5079         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
5080         * TestWebKitAPI/Tests/mac/Ahem.ttf: Added.
5081         * TestWebKitAPI/Tests/mac/AttributedString.mm: Added.
5082         (-[AttributedStringTest webView:didFinishLoadForFrame:]):
5083         (TestWebKitAPI):
5084         (TestWebKitAPI::didFinishLoadForFrame):
5085         (TestWebKitAPI::TEST):
5086         * TestWebKitAPI/Tests/mac/attributedStringCustomFont.html: Added.
5087
5088 2012-03-20  Eric Seidel  <eric@webkit.org>
5089
5090         Add link on queues.webkit.org to kov's fancy queue-depth graph
5091         https://bugs.webkit.org/show_bug.cgi?id=81690
5092
5093         Reviewed by Adam Barth.
5094
5095         * QueueStatusServer/templates/recentstatus.html:
5096
5097 2012-03-20  Tim Horton  <timothy_horton@apple.com>
5098
5099         [mac] Restore color space switching code to run-webkit-tests
5100         https://bugs.webkit.org/show_bug.cgi?id=80571
5101         <rdar://problem/11008529>
5102
5103         Reviewed by Simon Fraser.
5104
5105         Make use of the layout test helper hooks to restore the Mac system-wide
5106         color profile switching code. This makes WkTR and DRT results match, and
5107         causes the main display's color profile to not affect results on Lion.
5108
5109         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5110         * DumpRenderTree/mac/LayoutTestHelper.m: Added.
5111         (installLayoutTestColorProfile):
5112         (restoreUserColorProfile):
5113         (simpleSignalHandler):
5114         (main):
5115         * Scripts/webkitpy/layout_tests/port/mac.py:
5116         (MacPort.release_http_lock):
5117         (MacPort):
5118         (MacPort._path_to_helper):
5119         (MacPort.start_helper):
5120         (MacPort.stop_helper):
5121         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
5122         (WTR::PlatformWebView::PlatformWebView):
5123         (WTR::PlatformWebView::windowSnapshotImage):
5124
5125 2012-02-24  Darin Fisher  <darin@chromium.org>
5126
5127         Add more Chromium WebKit API reviewers
5128         https://bugs.webkit.org/show_bug.cgi?id=81576
5129
5130         Reviewed by Adam Barth and David Levin.
5131
5132         Simplify watchlist to lump all WebKit API into one.
5133
5134         * Scripts/webkitpy/common/config/watchlist:
5135
5136 2012-03-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
5137
5138         Convert hasSpellingMarker to use Internals interface.
5139         https://bugs.webkit.org/show_bug.cgi?id=81300
5140
5141         Reviewed by Ryosuke Niwa.
5142
5143         Remove hasSpellingMarker functions, because it is able to work in the
5144         cross-port way through the Internals interface.
5145
5146         * DumpRenderTree/LayoutTestController.cpp:
5147         (LayoutTestController::staticFunctions):
5148         * DumpRenderTree/LayoutTestController.h:
5149         (LayoutTestController):
5150         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
5151         * DumpRenderTree/chromium/LayoutTestController.cpp:
5152         (LayoutTestController::LayoutTestController):
5153         * DumpRenderTree/chromium/LayoutTestController.h:
5154         (LayoutTestController):
5155         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
5156         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5157         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5158         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
5159         * DumpRenderTree/qt/LayoutTestControllerQt.h:
5160         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5161         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
5162
5163 2012-03-20  Csaba Osztrogonác  <ossy@webkit.org>
5164
5165         Add new Qt-WK2 performance tester bot to build.webkit.org
5166         https://bugs.webkit.org/show_bug.cgi?id=80842
5167
5168         Reviewed by Ryosuke Niwa.
5169
5170         * BuildSlaveSupport/build.webkit.org-config/config.json:
5171         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
5172         (RunAndUploadPerfTestsWebKit2):
5173         (RunAndUploadPerfTestsWebKit2.start):
5174         (BuildAndPerfTestWebKit2Factory):
5175         (BuildAndPerfTestWebKit2Factory.__init__):
5176         (DownloadAndPerfTestWebKit2Factory):
5177         (DownloadAndPerfTestWebKit2Factory.__init__):
5178
5179 2012-03-20  Peter Beverloo  <peter@chromium.org>
5180
5181         [Chromium] Update to Android NDK r7b
5182         https://bugs.webkit.org/show_bug.cgi?id=81005
5183
5184         Reviewed by Adam Barth.
5185
5186         Update to version r7b of the Android NDK, release notes of which are
5187         available on the following page:
5188         http://developer.android.com/sdk/ndk/index.html
5189
5190         * Scripts/update-webkit-chromium:
5191
5192 2012-03-20  Csaba Osztrogonác  <ossy@webkit.org>
5193
5194         x86 GCC bug triggers a compilation error in generated copy constructor of CollapsedBorderValue
5195         https://bugs.webkit.org/show_bug.cgi?id=81502
5196
5197         Unreviewed.
5198
5199         * qmake/mkspecs/features/unix/default_post.prf: Reenable Werror after r111171.
5200
5201 2012-03-19  Jessie Berlin  <jberlin@apple.com>
5202
5203         Unreviewed; roll out http://trac.webkit.org/changeset/111307 and http://trac.webkit.org/changeset/111293
5204         because they broke running the layout tests on mac.
5205
5206         * Scripts/webkitpy/layout_tests/port/webkit.py:
5207         (WebKitDriver._check_for_driver_crash):
5208
5209 2012-03-16  Martin Robinson  <mrobinson@igalia.com>
5210
5211         [GTK] Allow running run-gtk-tests during 'make distcheck'
5212         https://bugs.webkit.org/show_bug.cgi?id=81415
5213
5214         Reviewed by Philippe Normand.
5215
5216         Modify the build and run-gtk-tests so that it can run during 'make distcheck'
5217
5218         * GNUmakefile.am: Distribute run-gtk-tests during 'make dist' and make it the
5219         main command run during 'make check.'
5220         * Scripts/run-gtk-tests: Refactored run-gtk-tests so that jhbuild is no longer
5221         a requirement to run it. If jhbuild isn't around it will simply not start the
5222         SPI daemons and skip the WebKit2 accessibility test. Remove test runs from the
5223         main loop and simply use the main loop in a synchronous method to start SPI
5224         daemons. Did a bunch of general cleanup around these tasks.
5225
5226 2012-03-19  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
5227
5228         jhbuild: Use the multiprocessing module to get the number of CPUs.
5229         https://bugs.webkit.org/show_bug.cgi?id=81585
5230
5231         Reviewed by Martin Robinson.
5232
5233         Now that support for Python 2.5 has been dropped, we can safely
5234         use multiprocessing.cpu_count() to obtain the current number of
5235         CPUs in the system instead of running a webkitperl script for
5236         that.
5237
5238         * efl/common.py:
5239         (top_level_path):
5240         * efl/jhbuildrc:
5241         * gtk/common.py:
5242         (build_path):
5243         * gtk/jhbuildrc:
5244
5245 2012-03-19  Ojan Vafai  <ojan@chromium.org>
5246
5247         We should only add a live event listener once, not once per TestSelector.
5248         Adding one per TestSelector would cause accordion('option', 'active') to
5249         incorrectly be "false" if you examine multiple sets of tests.
5250
5251         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
5252
5253 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5254
5255         Fix typo introduced in r111293.
5256
5257         Unreviewed, build fix.
5258
5259         * Scripts/webkitpy/layout_tests/port/webkit.py:
5260         (WebKitDriver._check_for_driver_crash):
5261
5262 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5263
5264         webkitpy: get ServerProcess out of the reportcrash business
5265         https://bugs.webkit.org/show_bug.cgi?id=81600
5266
5267         Reviewed by Adam Barth.
5268
5269         ServerProcess was half-aware that ReportCrash might run
5270         sometimes, and that the process ServerProcess was talking to
5271         might have its own crashing subprocesses; neither of these
5272         things really worked right and it made the logic convoluted, so
5273         this change makes handling crashes completely separate from the
5274         server_process code, so that it can focus on just I/O to the
5275         subprocess.
5276
5277         There should be no functional changes resulting from this patch.
5278
5279         * Scripts/webkitpy/layout_tests/port/server_process.py:
5280         (ServerProcess._reset):
5281         (ServerProcess._handle_possible_interrupt):
5282         (ServerProcess.write):
5283         (ServerProcess.read_stdout):
5284         (ServerProcess.has_crashed):
5285         (ServerProcess._read):
5286         (ServerProcess.stop):
5287         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
5288         (TrivialMockPort.check_for_leaks):
5289         (TestServerProcess.test_broken_pipe):
5290         * Scripts/webkitpy/layout_tests/port/webkit.py:
5291         (WebKitPort._read_image_diff):
5292         (WebKitDriver.has_crashed):
5293         (WebKitDriver._check_for_driver_crash):
5294         (WebKitDriver.run_test):
5295         (WebKitDriver._read_block):
5296         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
5297         (MockServerProcess.__init__):
5298         (MockServerProcess):
5299         (MockServerProcess.has_crashed):
5300
5301 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5302
5303         webkitpy: crashlog parsing is broken
5304         https://bugs.webkit.org/show_bug.cgi?id=81586
5305
5306         Reviewed by Adam Barth.
5307
5308         Seeking on a file opened through codecs() appears to not work
5309         correctly (at least on SL).
5310         
5311         The code was more complicated than it needed to be, so I have
5312         revamped it to just read a full crashlog at once and then look
5313         for matches. 
5314         
5315         I have also added the ability to optionally propagate
5316         errors back (which can be helpful to debug races when ReportCrash is
5317         still running and you need to see that you couldn't open some
5318         files, rather than just ignoring them).
5319
5320         * Scripts/webkitpy/common/system/crashlogs.py:
5321         (CrashLogs.find_newest_log):
5322         (CrashLogs._find_newest_log_darwin):
5323         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
5324         (CrashLogsTest.test_find_log_darwin):
5325
5326 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5327
5328         webkitpy: clean up some port._filesystem references to not reference private members
5329         https://bugs.webkit.org/show_bug.cgi?id=81595
5330
5331         Reviewed by Eric Seidel.
5332
5333         There should be no functional changes in this patch, just some
5334         refactoring. Also, fixes a minor nit in write_image_diff_files(()
5335
5336         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
5337         (SingleTestRunner.__init__):
5338         (SingleTestRunner._run_compare_test):
5339         (SingleTestRunner._run_rebaseline):
5340         (SingleTestRunner._save_baseline_data):
5341         (SingleTestRunner._handle_error):
5342         (SingleTestRunner._run_reftest):
5343         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
5344         (write_test_result):
5345         (TestResultWriter.__init__):
5346         (TestResultWriter._make_output_directory):
5347         (TestResultWriter.output_filename):
5348         (TestResultWriter._output_testname):
5349         (TestResultWriter.write_output_files):
5350         (TestResultWriter.write_stderr):
5351         (TestResultWriter.write_crash_report):
5352         (TestResultWriter.create_text_diff_and_write_result):
5353         (TestResultWriter.write_image_diff_files):
5354         (copy_file):
5355         * Scripts/webkitpy/layout_tests/controllers/test_result_writer_unittest.py:
5356         (TestResultWriterTest.test_reftest_diff_image):
5357
5358 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5359
5360         webkitpy: fix nit - incorrect reference to DRT in test_expectations.py
5361         https://bugs.webkit.org/show_bug.cgi?id=81598
5362
5363         Reviewed by Eric Seidel.
5364
5365         "DumpRenderTree" shouldn't be hard-coded here, since some other
5366         process may actually be crashing (WebKitTestRunner, WebProcess, etc.)
5367         
5368         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
5369         (TestExpectations):
5370
5371 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5372
5373         webkitpy: allow instance data in TestFailure objects
5374         https://bugs.webkit.org/show_bug.cgi?id=81580
5375
5376         Reviewed by Tony Chang.
5377
5378         Current TestFailures are basically enums, but it would be nice,
5379         especially for crashes, if they contained the name and pid of
5380         the process that crashed.
5381
5382         * Scripts/webkitpy/layout_tests/models/test_failures.py:
5383         (TestFailure.message):
5384         (FailureTimeout.message):
5385         (FailureCrash):
5386         (FailureCrash.__init__):
5387         (FailureCrash.message):
5388         (FailureMissingResult.message):
5389         (FailureTextMismatch.message):
5390         (FailureMissingImageHash.message):
5391         (FailureMissingImage.message):
5392         (FailureImageHashMismatch.message):
5393         (FailureImageHashIncorrect.message):
5394         (FailureReftestMismatch.message):
5395         (FailureReftestMismatchDidNotOccur.message):
5396         (FailureReftestNoImagesGenerated.message):
5397         (FailureMissingAudio.message):
5398         (FailureAudioMismatch.message):
5399         * Scripts/webkitpy/layout_tests/models/test_failures_unittest.py:
5400         (TestFailuresTest.test_equals):
5401         (TestFailuresTest):
5402         (TestFailuresTest.test_crashes):
5403
5404 2012-03-19  Brady Eidson  <beidson@apple.com>
5405
5406         <rdar://problem/10917120> and https://bugs.webkit.org/show_bug.cgi?id=81066
5407         Crash in 3rd party WebKit apps under XHR/Cache code
5408
5409         Reviewed by Antti Koivisto.
5410
5411         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
5412         * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.html: Added.
5413         * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm: Added.
5414         (-[MemoryCachePruneTestResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
5415         (-[MemoryCachePruneTestResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
5416         (-[MemoryCachePruneTestResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
5417         (-[MemoryCachePruneTestResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
5418         (TestWebKitAPI):
5419         (TestWebKitAPI::TEST):
5420
5421 2012-03-19  Brady Eidson  <beidson@apple.com>
5422
5423         <rdar://problem/10848575> and https://bugs.webkit.org/show_bug.cgi?id=81516
5424         REGRESSION (r107435) URLs copied from WebKit apps aren't in the right pasteboard format
5425
5426         Reviewed by Enrica Casucci.
5427
5428         Bring up a context menu on a link, copy the link, then verify the pasteboard contents
5429         are in the correct format.
5430
5431         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
5432         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.html: Added.
5433         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.mm: Added.
5434         (-[ContextMenuCanCopyURLDelegate webView:didFinishLoadForFrame:]):
5435         (TestWebKitAPI::contextMenuCopyLink):
5436         (TestWebKitAPI::TEST):
5437
5438 2012-03-19  Ojan Vafai  <ojan@chromium.org>
5439
5440         Make the selected item in the accordion a link to the flakiness dashboard
5441         https://bugs.webkit.org/show_bug.cgi?id=81571
5442
5443         Reviewed by Dimitri Glazkov.
5444
5445         Also, make it so that you can select the text of the link, instead of the current behavior
5446         of acting as if you had clicked on the accordion header.
5447
5448         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
5449         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
5450
5451 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5452
5453         NRWT runs some tests that are skipped with -i command line option
5454         https://bugs.webkit.org/show_bug.cgi?id=81535
5455
5456         Reviewed by Ojan Vafai.
5457
5458         This change modifies the interaction of Skipped files and
5459         test_expectations files so that entries in Skipped files (and
5460         the -i command line) override *everything* in the expectations
5461         file.
5462
5463         Specifically, a directory in a Skipped file will cause all of
5464         the tests in the dir to be skipped even if individual tests in
5465         the dir are listed in the test_expectations.txt.
5466
5467         Skipped files also override anything in an overrides files.
5468
5469         This seems to make more intuitive sense, since if you list
5470         something in the Skips file (and even more specify it on the
5471         command line) you probably want it to be universally applied.
5472
5473         Theoretically we could add more precedence levels and have full
5474         paths in an expectations file override dirs in a Skipped file
5475         (but not the command line), but I don't know yet that that level
5476         of complexity is justified.
5477         
5478         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
5479         (TestExpectations.__init__):
5480         (TestExpectations._add_skipped_tests):
5481         (TestExpectations._add_test):
5482         (TestExpectations._add_expectations):
5483         (TestExpectations._add_expectation_line):
5484         (TestExpectations._already_seen_better_match):
5485         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
5486         (test_more_specific_override_resets_skip):
5487         (SkippedTests):
5488         (SkippedTests.get_exp):
5489         (SkippedTests.assert_exp):
5490         (SkippedTests.test_skipped_tests_work):
5491         (SkippedTests.test_duplicate_skipped_test_fails_lint):
5492         (SkippedTests.test_skipped_file_overrides_expectations):
5493         (SkippedTests.test_skipped_dir_overrides_expectations):
5494         (SkippedTests.test_skipped_file_overrides_overrides):
5495         (SkippedTests.test_skipped_dir_overrides_overrides):
5496
5497 2012-03-19  Eric Seidel  <eric@webkit.org>
5498
5499         Fix WTF header include discipline in Chromium WebKit
5500         https://bugs.webkit.org/show_bug.cgi?id=81281
5501
5502         Reviewed by James Robinson.
5503
5504         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
5505         * Scripts/update-webkit-chromium: Made it possible to run this from a directory other than the root.
5506
5507 2012-03-19  Andy Chen  <andchen@rim.com>
5508
5509         [BlackBerry] Add new layout test for text match marker
5510         https://bugs.webkit.org/show_bug.cgi?id=81531
5511
5512         Make the LayoutTestControllerBlackBerry::findString to test the
5513         BlackBerry port implementation.
5514
5515         Reviewed by Rob Buis.
5516
5517         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
5518         (LayoutTestController::findString):
5519
5520 2012-03-19  Ojan Vafai  <ojan@chromium.org>
5521
5522         Don't show WONTFIX tests in garden-o-matic
5523         https://bugs.webkit.org/show_bug.cgi?id=81554
5524
5525         Reviewed by Dimitri Glazkov.
5526
5527         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
5528         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
5529
5530 2012-03-19  Chris Fleizach  <cfleizach@apple.com>
5531
5532         platform/mac/accessibility/selected-rows-table.html failing on Lion Intel Debug WebKit2 testers
5533         https://bugs.webkit.org/show_bug.cgi?id=81530
5534
5535         Reviewed by Jessie Berlin.
5536
5537         Add rowAtIndex to WebKitTestRunner.
5538
5539         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
5540         (WTR::AccessibilityUIElement::rowAtIndex):
5541         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
5542         (AccessibilityUIElement):
5543         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
5544         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
5545         (WTR):
5546         (WTR::AccessibilityUIElement::rowAtIndex):
5547
5548 2012-03-19  Ojan Vafai  <ojan@chromium.org>
5549
5550         Change garden-o-matic All Failures tab to Expected Failures
5551         https://bugs.webkit.org/show_bug.cgi?id=81540
5552
5553         Reviewed by Dimitri Glazkov.
5554
5555         Also, fix some broken unittests that had just gotten stale.
5556
5557         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
5558         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers/rebaseline.js:
5559         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
5560         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
5561         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
5562         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
5563         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
5564         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
5565         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
5566         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
5567
5568 2012-03-19  Hao Zheng  <zhenghao@chromium.org>
5569
5570         [chromium] DRT crashes at shutdown.
5571         https://bugs.webkit.org/show_bug.cgi?id=81504
5572
5573         Reviewed by James Robinson.
5574
5575         WebCompositor must be destroyed after WebView is properly destroyed,
5576         or some compositor objects like CCLayerTreeHost may not be destroyed.
5577         However, it is really hard to make the destruction order correct
5578         explicitly in ~TestShell. So move it out to DumpRenderTree.
5579
5580         * DumpRenderTree/chromium/DumpRenderTree.cpp:
5581         (main):
5582         * DumpRenderTree/chromium/TestShell.cpp:
5583         (TestShell::~TestShell):
5584
5585 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5586
5587         add dpranke to webkitpy watchlist
5588         https://bugs.webkit.org/show_bug.cgi?id=81433
5589
5590         Reviewed by Benjamin Poulain.
5591
5592         * Scripts/webkitpy/common/config/watchlist:
5593
5594 2012-03-19  Dirk Pranke  <dpranke@chromium.org>
5595
5596         test-webkitpy is failing on SL/Python 2.6.1
5597         https://bugs.webkit.org/show_bug.cgi?id=81533
5598
5599         Reviewed by Ojan Vafai.
5600
5601         It appears that itertools.combinations() is buggy in 2.6.1; this
5602         backports the implementation from 2.7.
5603
5604         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
5605         (TestConfigurationConverter.collapse_macros):
5606         (TestConfigurationConverter):
5607         (TestConfigurationConverter.combinations):
5608
5609 2012-03-19  David Michael Barr  <davidbarr@google.com>
5610
5611         Optimize the cleanup sequence in the start-queue.sh script
5612         https://github.com/abarth/webkit/pull/1
5613
5614         Reviewed by Adam Barth.
5615
5616         Updating the working copy is an expensive operation
5617         for a repository the size of WebKit.
5618         Attempt to reset only to the target revision.
5619
5620         * EWSTools/start-queue.sh:
5621
5622 2012-03-19  Raphael Kubo da Costa  <kubo@profusion.mobi>
5623
5624         Adjust architecture type of the EFL build bot.
5625         https://bugs.webkit.org/show_bug.cgi?id=81452
5626
5627         Reviewed by Tony Chang.
5628
5629         * BuildSlaveSupport/build.webkit.org-config/config.json: The
5630         buildslave is a 64-bit machine, therefore describe it as being
5631         x86_64, not i386.
5632
5633 2012-03-19  Alexander Færøy  <alexander.faeroy@nokia.com>
5634
5635         [Qt] printLoadedUrls prints "Object" instead of the actual URL.
5636         https://bugs.webkit.org/show_bug.cgi?id=81514
5637
5638         Reviewed by Simon Hausmann.
5639
5640         * MiniBrowser/qt/qml/BrowserWindow.qml:
5641
5642 2012-03-19  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
5643
5644         [EFL] jhbuild: Set CMAKE_PREFIX_PATH in jhbuildrc.
5645         https://bugs.webkit.org/show_bug.cgi?id=81491
5646
5647         Reviewed by Philippe Normand.
5648
5649         For the find_path(), find_library() etc CMake calls to find the
5650         dependencies built with jhbuild, CMAKE_PREFIX_PATH must be properly
5651         set, otherwise CMake cannot know the dependencies exist and will only
5652         look in the standard directories.
5653
5654         * efl/jhbuildrc: Set the CMAKE_PREFIX_PATH environment variable with
5655         the jhbuild Root directory.
5656
5657 2012-03-19  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
5658
5659         [EFL] Add XDG env vars to jhbuildrc
5660         https://bugs.webkit.org/show_bug.cgi?id=81510
5661
5662         Needed to ensure correct glib behaviour in jhbuild environment.
5663
5664         Reviewed by Philippe Normand.
5665
5666         * efl/jhbuildrc:
5667
5668 2012-03-19  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
5669
5670         Select best target for tap gesture.
5671         https://bugs.webkit.org/show_bug.cgi?id=78801
5672
5673         Reviewed by Kenneth Rohde Christiansen.
5674
5675         Add TOUCH_ADJUSTMENT to enabled features.
5676
5677         * qmake/mkspecs/features/features.prf:
5678
5679 2012-03-19  Robert Kroeger  <rjkroege@chromium.org>
5680
5681         [chromium] synthesize wheel events for fling on main thread
5682         https://bugs.webkit.org/show_bug.cgi?id=81458
5683
5684         Added the ability to dispatch GestureFlingStart and GestureFlingCancel from EventSender.
5685
5686         Reviewed by James Robinson.
5687
5688         * DumpRenderTree/chromium/EventSender.cpp:
5689         (EventSender::EventSender):
5690         (EventSender::gestureFlingCancel):
5691         (EventSender::gestureFlingStart):
5692         * DumpRenderTree/chromium/EventSender.h:
5693         (EventSender):
5694
5695 2012-03-19  Alexander Færøy  <alexander.faeroy@nokia.com>
5696
5697         [Qt] Add command line option to set the user agent in the MiniBrowser
5698         https://bugs.webkit.org/show_bug.cgi?id=81508
5699
5700         Reviewed by Simon Hausmann.
5701
5702         * MiniBrowser/qt/BrowserWindow.cpp:
5703         (BrowserWindow::BrowserWindow):
5704         (BrowserWindow::webViewExperimental):
5705         * MiniBrowser/qt/BrowserWindow.h:
5706         (BrowserWindow):
5707         * MiniBrowser/qt/MiniBrowserApplication.cpp:
5708         (printHelp):
5709         (MiniBrowserApplication::handleUserOptions):
5710         * MiniBrowser/qt/MiniBrowserApplication.h:
5711         (WindowOptions::WindowOptions):
5712         (WindowOptions::setUserAgent):
5713         (WindowOptions::userAgent):
5714         (WindowOptions):
5715
5716 2012-03-19  Alexander Færøy  <alexander.faeroy@nokia.com>
5717
5718         [Qt] Remove dead user agent code from the MiniBrowser.
5719
5720         Reviewed by Simon Hausmann.
5721
5722         * MiniBrowser/qt/BrowserWindow.cpp:
5723         * MiniBrowser/qt/BrowserWindow.h:
5724         (BrowserWindow):
5725         * MiniBrowser/qt/MiniBrowser.qrc:
5726         * MiniBrowser/qt/useragentlist.txt: Removed.
5727
5728 2012-03-19  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
5729
5730         jhbuild: Call jhbuild's autogen.sh via bash.
5731         https://bugs.webkit.org/show_bug.cgi?id=81485
5732
5733         Reviewed by Philippe Normand.
5734
5735         jhbuild's autogen.sh uses "/bin/bash" in the shebang line, however
5736         this is usually true only on Linux systems, and even then bash for
5737         some reason might not be available in that location. It is safer to
5738         call bash directly and pass autogen.sh to it instead.
5739
5740         * jhbuild/jhbuild-wrapper:
5741         (install_jhbuild):
5742
5743 2012-03-19  Philippe Normand  <pnormand@igalia.com>
5744
5745         [GTK] Prefix run-launcher with run-with-jhbuild
5746         https://bugs.webkit.org/show_bug.cgi?id=81503
5747
5748         Reviewed by Hajime Morita.
5749
5750         * Scripts/run-launcher:
5751
5752 2012-03-19  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
5753
5754         [EFL] Prefix run-launcher with run-with-jhbuild
5755         https://bugs.webkit.org/show_bug.cgi?id=80026
5756
5757         Reviewed by Hajime Morita.
5758
5759         * Scripts/run-launcher:
5760
5761 2012-03-18  Csaba Osztrogonác  <ossy@webkit.org>
5762
5763         [Qt] Unreviewed. Disable -Werror on x86 until proper fix.
5764         https://bugs.webkit.org/show_bug.cgi?id=81498
5765
5766         * qmake/mkspecs/features/unix/default_post.prf:
5767
5768 2012-03-17  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
5769
5770         Unreviewed; switch to using my FreeBSD.org email address, the
5771         other one is going to disappear soon.
5772
5773         * Scripts/webkitpy/common/config/committers.py:
5774         * Scripts/webkitpy/common/config/watchlist:
5775
5776 2012-03-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
5777
5778         Unreviewed; fix webkitpy unit test failures after r111116.
5779
5780         It turns out that cmd_line in the patch in bug 80025 had the right
5781         signature when it was submitted, but r109242 added a few more
5782         required parameters, and since the method (and EflDriver) did not
5783         exist at the time we ended up committing a broken method.
5784
5785         * Scripts/webkitpy/layout_tests/port/efl.py:
5786         (EflDriver.cmd_line): Add the `pixel_tests' and `per_test_args'
5787         arguments.
5788
5789 2012-03-17  Charles Wei  <charles.wei@torchmobile.com.cn>
5790
5791         [BlackBerry] Enable Web Timing for performance profiling and improvement.
5792         https://bugs.webkit.org/show_bug.cgi?id=81085
5793
5794         Reviewed by Rob Buis.
5795
5796         * Scripts/build-webkit:
5797
5798 2012-03-17  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
5799
5800         Add a dependencies installation step for EFL to buildbot master.cfg
5801         https://bugs.webkit.org/show_bug.cgi?id=81337
5802
5803         Reviewed by Gustavo Noronha Silva.
5804
5805         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
5806         (InstallEflDependencies):
5807         (Factory.__init__):
5808
5809 2012-03-17  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
5810
5811         [EFL] Prefixing run-webkit-tests with run-with-jhbuild
5812         https://bugs.webkit.org/show_bug.cgi?id=80025
5813
5814         Reviewed by Gustavo Noronha Silva.
5815
5816         * Scripts/webkitpy/layout_tests/port/efl.py:
5817         (EflDriver):
5818         (EflDriver.cmd_line):
5819         (EflPort._driver_class):
5820
5821 2012-03-17  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
5822
5823         [EFL] Add and use run-with-jhbuild and update-webkitefl-libs scripts for EFL
5824         https://bugs.webkit.org/show_bug.cgi?id=79904
5825
5826         build-webkit --efl will use jhbuild for fetching and building dependencies.
5827
5828         Reviewed by Gustavo Noronha Silva.
5829
5830         * Scripts/update-webkitefl-libs: Added.
5831         * Scripts/webkitdirs.pm:
5832         (jhbuildWrapperPrefixIfNeeded):
5833         (generateBuildSystemFromCMakeProject):
5834         (buildCMakeGeneratedProject):
5835         * efl/common.py: Added.
5836         (script_path):
5837         (top_level_path):
5838         (number_of_cpus):
5839         * efl/jhbuild.modules: Added.
5840         * efl/jhbuildrc: Added.
5841         * efl/run-with-jhbuild: Added.
5842
5843 2012-03-16  Stephanie Lewis  <slewis@apple.com>
5844
5845         https://bugs.webkit.org/show_bug.cgi?id=81065
5846         <rdar://problem/10944309> CrashTracer: [USER] 111 crashes in WebProcess at WebKitTestRunnerInjectedBundle: WTR::InjectedBundle::done + 142
5847         Fix crash preventing WebKitTestRunner from working in Release.  
5848         WebKitTestRunner used ostringstream to collect output from the test.  ostringstream is incompatible with our
5849         FastMalloc overrides.  When copying strings out ostringstream a new string is allocated with FastMalloc because
5850         the allocation is inlined.  When that string is freed is uses the system malloc because that call is not inlined.
5851
5852         I removed ostringstream in favor of StringBuilder.  
5853
5854         Properly set NDEBUG on Release builds so we don't crash when when we free the strings StringBuilder created.
5855
5856         Reviewed by Geoff Garen.
5857
5858         Add DEBUG_DEFINES to set NDEBUG on release builds.
5859         * WebKitTestRunner/Configurations/Base.xcconfig:
5860         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
5861
5862         Remove ostringstream member in favor of StringBuilder.
5863         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
5864         (WTR::InjectedBundle::initialize):
5865         (WTR::InjectedBundle::beginTesting):
5866         (WTR::InjectedBundle::done):
5867         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
5868         (WTF):
5869         (WTR::InjectedBundle::stringBuilder):
5870         (InjectedBundle):
5871
5872         Append output to StringBuilder.
5873         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
5874         (WTR::hasPrefix):
5875         (WTR::dumpPath):
5876         (WTR::rangeToStr):
5877         (WTR::styleDecToStr):
5878         (WTR::frameToStr):
5879         (WTR::dumpFrameScrollPosition):
5880         (WTR::dumpFrameText):
5881         (WTR::dumpDescendantFramesText):
5882         (WTR::InjectedBundlePage::dump):
5883         (WTR::InjectedBundlePage::didReceiveTitleForFrame):
5884         (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
5885         (WTR::InjectedBundlePage::willSendRequestForFrame):
5886         (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
5887         (WTR::lastFileURLPathComponent):
5888         (WTR::InjectedBundlePage::willAddMessageToConsole):
5889         (WTR::InjectedBundlePage::willSetStatusbarText):
5890         (WTR::InjectedBundlePage::willRunJavaScriptAlert):
5891         (WTR::InjectedBundlePage::willRunJavaScriptConfirm):
5892         (WTR::InjectedBundlePage::willRunJavaScriptPrompt):
5893         (WTR::InjectedBundlePage::shouldBeginEditing):
5894         (WTR::InjectedBundlePage::shouldEndEditing):
5895         (WTR::InjectedBundlePage::shouldInsertNode):
5896         (WTR::InjectedBundlePage::shouldInsertText):
5897         (WTR::InjectedBundlePage::shouldDeleteRange):
5898         (WTR::InjectedBundlePage::shouldChangeSelectedRange):
5899         (WTR::InjectedBundlePage::shouldApplyStyle):
5900         (WTR::InjectedBundlePage::didBeginEditing):
5901         (WTR::InjectedBundlePage::didEndEditing):
5902         (WTR::InjectedBundlePage::didChange):
5903         (WTR::InjectedBundlePage::didChangeSelection):
5904         (WTR::InjectedBundlePage::supportsFullScreen):
5905         (WTR::InjectedBundlePage::enterFullScreenForElement):
5906         (WTR::InjectedBundlePage::exitFullScreenForElement):
5907         (WTR::InjectedBundlePage::beganEnterFullScreen):
5908         (WTR::InjectedBundlePage::beganExitFullScreen):
5909         (WTR::dumpBackForwardListItem):
5910         (WTR::InjectedBundlePage::dumpBackForwardList):
5911         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
5912         (WTR::LayoutTestController::waitToDumpWatchdogTimerFired):
5913         (WTR::LayoutTestController::dumpConfigurationForViewport):
5914         
5915         Convert between WTF::String and WKStringRef.
5916         * WebKitTestRunner/StringFunctions.h:
5917         (WTR::toWTFString):
5918         (WTR):
5919         * WebKitTestRunner/TestInvocation.cpp:
5920         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
5921
5922 2012-03-16  Eric Seidel  <eric@webkit.org>
5923
5924         Add a land-from-url command
5925         https://bugs.webkit.org/show_bug.cgi?id=81411
5926
5927         Reviewed by Adam Barth.
5928
5929         Very basic so far.  The goal is to make it landing smarter
5930         so that users don't have to bother to parse out the ids out of the urls.
5931
5932         * Scripts/webkitpy/common/config/urls.py:
5933         (parse_bug_id):
5934         (parse_attachment_id):
5935         * Scripts/webkitpy/common/config/urls_unittest.py:
5936         (URLsTest.test_parse_bug_id):
5937         (URLsTest):
5938         (URLsTest.test_parse_attachment_id):
5939         * Scripts/webkitpy/tool/commands/download.py:
5940         (ProcessURLsMixin):
5941         (ProcessURLsMixin._fetch_list_of_patches_to_process):
5942         (LandFromURL):
5943         * Scripts/webkitpy/tool/commands/download_unittest.py:
5944         (test_land_from_bug):
5945         (test_land_from_url):
5946
5947 2012-03-16  Dave Tharp  <dtharp@codeaurora.org>
5948
5949         build-webkit launcher instructions use wrong relative path for Qt
5950         https://bugs.webkit.org/show_bug.cgi?id=81357
5951
5952         Reviewed by Eric Seidel.
5953
5954         Ensure we are at the proper directory before generating run-launcher
5955         instructions.
5956
5957         * Scripts/build-webkit:
5958
5959 2012-03-16  Brady Eidson  <beidson@apple.com>
5960
5961         <rdar://problem/11027997> and https://bugs.webkit.org/show_bug.cgi?id=81412
5962         REGRESSION (r107435) Copy a link and paste to Mail: Nothing is pasted
5963
5964         Reviewed by Geoff Garen.
5965
5966         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
5967         * TestWebKitAPI/Tests/mac/WebViewCanPasteURL.mm: Added.
5968
5969 2012-03-16  Ojan Vafai  <ojan@chromium.org>
5970
5971         Mark wontfix tests in full_results.json so we can ignore them in garden-o-matic
5972         https://bugs.webkit.org/show_bug.cgi?id=81407
5973
5974         Reviewed by Adam Barth.
5975
5976         * Scripts/webkitpy/layout_tests/controllers/manager.py:
5977         (summarize_results):
5978         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
5979         (ResultSummaryTest.summarized_results):
5980         (ResultSummaryTest.test_no_svn_revision):
5981         (ResultSummaryTest.test_svn_revision):
5982         (ResultSummaryTest):
5983         (ResultSummaryTest.test_summarized_results_wontfix):
5984
5985 2012-03-16  Ojan Vafai  <ojan@chromium.org>
5986
5987         Have webkit-patch rebaseline-test update test_expectations.txt
5988         https://bugs.webkit.org/show_bug.cgi?id=81054
5989
5990         Recommit http://trac.webkit.org/changeset/110783 now that
5991         http://trac.webkit.org/changeset/111034 has landed.
5992
5993         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
5994         (TestExpectations.remove_configuration_from_test):
5995         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
5996         (RemoveConfigurationsTest):
5997         (RemoveConfigurationsTest.test_remove):
5998         (test_remove_line):
5999         * Scripts/webkitpy/tool/commands/rebaseline.py:
6000         (RebaselineTest._update_expectations_file):
6001         (RebaselineTest._rebaseline_test_and_update_expectations):
6002         (RebaselineTest):
6003         (RebaselineTest.execute):
6004         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
6005         (TestRebaseline.test_rebaseline_updates_expectations_file_noop):
6006         (test_rebaseline_updates_expectations_file):
6007
6008 2012-03-15  Ojan Vafai  <ojan@chromium.org>
6009
6010         Specifier collapsing when writing test expectations lines gets a number of cases wrong
6011         https://bugs.webkit.org/show_bug.cgi?id=81309
6012
6013         Reviewed by Dimitri Glazkov.
6014
6015         I've run this over all the lines in the current Chromium test_expectations.txt file,
6016         so I'm relatively confident we now cover all the cases.
6017
6018         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
6019         (TestConfigurationConverter.__init__):
6020         (TestConfigurationConverter.collapse_macros):
6021         (TestConfigurationConverter.collapse_macros.collapse_individual_specifier_set):
6022         (TestConfigurationConverter):
6023         (TestConfigurationConverter.intersect_combination):
6024         (TestConfigurationConverter.symmetric_difference):
6025         (TestConfigurationConverter.to_specifiers_list):
6026         (TestConfigurationConverter.to_specifiers_list.try_collapsing):
6027         (TestConfigurationConverter.to_specifiers_list.try_abbreviating):
6028         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py:
6029         (make_mock_all_test_configurations_set):
6030         (TestConfigurationConverterTest.test_symmetric_difference):
6031         (TestConfigurationConverterTest.test_to_config_set):
6032         (TestConfigurationConverterTest.test_macro_expansion):
6033         (TestConfigurationConverterTest.test_to_specifier_lists):
6034         (TestConfigurationConverterTest.test_converter_macro_collapsing):
6035         * Scripts/webkitpy/layout_tests/port/chromium.py:
6036         (ChromiumPort):
6037         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
6038         (ChromiumAndroidPort.__init__):
6039         The android port uses "arm" as it's architecture, which is technically correct,
6040         but considerably complicates making collapsing work. We probably should kill
6041         the concept of architecture entirely. The benefits are not worth the code
6042         complexity.
6043
6044         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
6045         (ChromiumPortTest.test_all_test_configurations):
6046         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
6047         (TestRebaseline.test_rebaseline_updates_expectations_file_noop):
6048         (test_rebaseline_updates_expectations_file):
6049
6050 2012-03-16  Dinu Jacob  <dinu.jacob@nokia.com>
6051
6052         [Qt][Wk2] Assertion Failure and crash on file upload
6053         https://bugs.webkit.org/show_bug.cgi?id=80854
6054
6055         Reviewed by Simon Hausmann.
6056
6057         Added filePicker to WebView using experimental API.
6058
6059         * MiniBrowser/qt/MiniBrowser.qrc:
6060         * MiniBrowser/qt/icons/folder.png: Added.
6061         * MiniBrowser/qt/icons/titlebar.png: Added.
6062         * MiniBrowser/qt/icons/up.png: Added.
6063         * MiniBrowser/qt/qml/BrowserWindow.qml:
6064         * MiniBrowser/qt/qml/FilePicker.qml: Added.
6065
6066 2012-03-16  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
6067
6068         Updating email for committer.py script.
6069
6070         * Scripts/webkitpy/common/config/committers.py:
6071
6072 2012-03-16  Robert Kroeger  <rjkroege@chromium.org>
6073
6074         [chromium] DRT: Add support for sending gesture scrolls without a begin
6075         https://bugs.webkit.org/show_bug.cgi?id=81292
6076
6077         Reviewed by Kent Tamura.
6078
6079         * DumpRenderTree/chromium/EventSender.cpp:
6080         (EventSender::EventSender):
6081         (EventSender::gestureScrollFirstPoint):
6082         * DumpRenderTree/chromium/EventSender.h:
6083         (EventSender):
6084
6085 2012-03-02  Carlos Garcia Campos  <cgarcia@igalia.com> and Sergio Villar Senin  <svillar@igalia.com>
6086
6087         [GTK] WebKitIconDatabase doesn't keep icons cached
6088         https://bugs.webkit.org/show_bug.cgi?id=56200
6089
6090         Reviewed by Martin Robinson.
6091
6092         Add support for favicons in GtkLauncher.
6093
6094         * GtkLauncher/main.c:
6095         (activateUriEntryCb):
6096         (iconLoadedCb):
6097         (createBrowser):
6098
6099 2012-03-16  Adam Barth  <abarth@webkit.org>
6100
6101         Remove sheriff-bot's last-green-revision command
6102         https://bugs.webkit.org/show_bug.cgi?id=81314
6103
6104         Reviewed by Eric Seidel.
6105
6106         This command is a cruel joke.  WebKit doesn't really ever have a
6107         last-green-revision.
6108
6109         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
6110         (BuildBot._find_green_revision):
6111         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py:
6112         (MockBuildBot.builder_statuses):
6113         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
6114         (test_find_green_revision):
6115         * Scripts/webkitpy/tool/bot/irc_command.py:
6116         (IRCCommand.execute):
6117         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
6118         (SheriffIRCBotTest.test_help):
6119         * Scripts/webkitpy/tool/commands/queries.py:
6120         (PatchesToReview.execute):
6121
6122 2012-03-16  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
6123
6124         [Qt] Make gccdepends test aware of broken icecream deps generation
6125
6126         Icecream seems to build the files without passing -o to gcc with
6127         the original destination path, which means the target name in the
6128         dependency file is wrong.
6129
6130         Also, echo something to the final file instead of just touching it,
6131         so it's not deleted on every build.
6132
6133         Reviewed by Simon Hausmann.
6134
6135         * qmake/config.tests/gccdepends/gccdepends.pro:
6136
6137 2012-03-16  Kihong Kwon  <kihong.kwon@samsung.com>
6138
6139         Support for Battery Status API
6140         https://bugs.webkit.org/show_bug.cgi?id=62698
6141
6142         Add include directory and file.
6143         http://www.w3.org/TR/battery-status/
6144
6145         Reviewed by Adam Barth.
6146
6147         * Scripts/build-webkit:
6148
6149 2012-03-16  Kishore Bolisetty  <kbolisetty@innominds.com>
6150
6151         check-webkit-style fails on LayoutTests/platform/efl/test_expectations.txt
6152         https://bugs.webkit.org/show_bug.cgi?id=81007
6153
6154         Reviewed by Adam Barth.
6155
6156         A dedidcated build slave is available for efl on build.webkit.org. 
6157         This change add's an entry for the elf port in list of available port builders.
6158         This is required because test_expectations.py when triggered, looks for a valid port object for the specified port. 
6159
6160         * Scripts/webkitpy/layout_tests/port/builders.py:
6161
6162 2012-03-16  Adam Barth  <abarth@webkit.org>
6163
6164         [webkitpy] StatusServer.next_work_item has an incorrectly named local variable
6165         https://bugs.webkit.org/show_bug.cgi?id=81302
6166
6167         Reviewed by Eric Seidel.
6168
6169         This is a trivial patch, but the variable name turned up in a grep of
6170         webkitpy and looks like copy pasta.
6171
6172         * Scripts/webkitpy/common/net/statusserver.py:
6173         (StatusServer.next_work_item):
6174
6175 2012-03-16  Andrew Lo  <anlo@rim.com>
6176
6177         [BlackBerry] Enable PAGE_VISIBILITY_API
6178         https://bugs.webkit.org/show_bug.cgi?id=81257
6179
6180         Enable Page Visibility API for BlackBerry.
6181
6182         Reviewed by Rob Buis.
6183
6184         * Scripts/build-webkit:
6185
6186 2012-03-16  Zan Dobersek  <zandobersek@gmail.com>
6187
6188         [Gtk] Add computedStyleIncludingVisitedInfo to DumpRenderTreeSupport
6189         https://bugs.webkit.org/show_bug.cgi?id=81232
6190
6191         Reviewed by Philippe Normand.
6192
6193         Use the newly-added helper method in DumpRenderTreeSupportGtk.
6194
6195         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6196         (LayoutTestController::computedStyleIncludingVisitedInfo):
6197
6198 2012-03-15  Eric Seidel  <eric@webkit.org>
6199
6200         Move parse_bug_id into config/urls in preparation for re-use elsewhere.
6201         https://bugs.webkit.org/show_bug.cgi?id=81313
6202
6203         Reviewed by Adam Barth.
6204
6205         * Scripts/webkitpy/common/checkout/changelog.py:
6206         (parse_bug_id_from_changelog):
6207         * Scripts/webkitpy/common/config/urls.py:
6208         (parse_bug_id):
6209         * Scripts/webkitpy/common/config/urls_unittest.py: Copied from Tools/Scripts/webkitpy/common/config/urls.py.
6210         (URLsTest):
6211         (URLsTest.test_parse_bug_id):
6212         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
6213         (test_parse_bug_id):
6214         * Scripts/webkitpy/tool/bot/irc_command.py:
6215         (_post_error_and_check_for_bug_url):
6216         * Scripts/webkitpy/tool/bot/sheriff.py:
6217         (Sheriff.post_rollout_patch):
6218         (Sheriff.post_chromium_deps_roll):
6219
6220 2012-03-15  Adam Barth  <abarth@webkit.org>
6221
6222         The commit-queue should fast-track patches that have already passed the testing EWS bots
6223         https://bugs.webkit.org/show_bug.cgi?id=81305
6224
6225         Reviewed by Eric Seidel.
6226
6227         If a patch has already passed the testing EWS bots (currently only the
6228         chromium-ews bot), we should be able to land the patch without running
6229         the tests again.  This patch is somewhat risky in that the tests might
6230         have been broken between when the EWS bots ran and when the
6231         commit-queue is processing the patch.  If that turns out to be a
6232         problem in practice, we'll tighten up this fast-track in some way,
6233         likely by making sure that the pass status is recent.
6234
6235         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
6236         (CommitQueueTaskDelegate.did_pass_testing_ews):
6237         (CommitQueueTask._did_pass_tests_recently):
6238         (CommitQueueTask.run):
6239         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
6240         (MockCommitQueue.did_pass_testing_ews):
6241         (test_fast_success_case):
6242         * Scripts/webkitpy/tool/commands/queues.py:
6243         (CommitQueue.did_pass_testing_ews):
6244         * Scripts/webkitpy/tool/commands/queues_unittest.py:
6245         (test_did_pass_testing_ews):
6246
6247 2012-03-15  Kentaro Hara  <haraken@chromium.org>
6248
6249         [PerformanceTests] run-perf-tests should output correct units
6250         https://bugs.webkit.org/show_bug.cgi?id=78303
6251
6252         Reviewed by Ryosuke Niwa.
6253
6254         Previously run-perf-tests just supported "ms" for units.
6255         Consequently, Dromaeo perf tests had been reporting runs/s as "ms".
6256         This patch fixes run-perf-tests so that they can support custom units.
6257         The default unit is "ms".
6258
6259         The test result looks like this:
6260
6261         $ ./Tools/Scripts/run-perf-tests Dromaeo/dom-attr.html
6262         RESULT Dromaeo: dom-attr= 6465.9525483 runs/s
6263         median= 0.0 runs/s, stdev= 24.2983433436 runs/s, min= 6435.87649402 runs/s, max= 6515.63693392 runs/s
6264
6265         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
6266         (PerfTestsRunner._process_parser_test_result):
6267
6268 2012-03-15  Brent Fulgham  <bfulgham@webkit.org>
6269
6270         [WinCairo] Unreviewed build change after wtf path changes.
6271
6272         * DumpRenderTree/win/ImageDiffWinCairoCommon.vsprops: Updated include
6273         directories to look at the private header directory to find 'wtf'.
6274
6275 2012-03-15  Kent Tamura  <tkent@chromium.org>
6276
6277         REGRESSION(r110595): webkit-patch suggest-reviewers doesn't work
6278         https://bugs.webkit.org/show_bug.cgi?id=81293
6279
6280         Reviewed by Adam Barth.
6281
6282         r110595 introduced new format of the author field of ChangeLog entry:
6283         "Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>"
6284         Updte chanelog.py to support it.
6285
6286         * Scripts/webkitpy/common/checkout/changelog.py:
6287         (ChangeLogEntry._split_contributor_names):
6288         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
6289         (test_parse_authors):
6290
6291 2012-03-15  Lynn Neir  <lynn.neir@skype.net>
6292
6293         Implement LayoutTestController::setValueForUser on Windows https://bugs.webkit.org/show_bug.cgi?id=55834
6294
6295         Implemented setValueForUser in both DumpRenderTree and WebKitTestRunner.
6296
6297         Reviewed by Jessie Berlin.
6298
6299         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6300         (LayoutTestController::setValueForUser):
6301         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
6302         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
6303         (WTR::LayoutTestController::setValueForUser):
6304         (WTR):
6305         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
6306         (LayoutTestController):
6307
6308 2012-03-15  Adam Barth  <abarth@webkit.org>
6309
6310         Update the start-queue.sh script to match what we're using on the bots
6311         https://bugs.webkit.org/show_bug.cgi?id=81277
6312
6313         Reviewed by Eric Seidel.
6314
6315         Over time we've added more magic git commands to clean up the local repo after
6316         it has been borked in various ways. The idea behind this sequence is to clear
6317         out any changes in the working copy and then to rebuild the master branch from
6318         origin/master.
6319
6320         This patch also removes the watchdog timer that we've stopped using on the
6321         bots.
6322
6323         This patch was reviewed on <https://github.com/eseidel/webkit/pull/1>.
6324         Note: Eric and I are experimenting with GitHub to see if it might be
6325         useful for WebKit.  If you have thoughts on this topic, please feel
6326         free to grab Eric or me on #webkit to chat.  I assume that he and I are
6327         the only ones who care about this file so using this alternative
6328         process for this patch shouldn't cause any trouble.
6329
6330         * EWSTools/start-queue.sh:
6331
6332 2012-03-15  Adam Barth  <abarth@webkit.org>
6333
6334         The commit-queue can hang when the test_expectations.txt style check fails during commit
6335         https://bugs.webkit.org/show_bug.cgi?id=81251
6336
6337         Reviewed by Eric Seidel.
6338
6339         We forgot to check the --non-interactive flag, so we end up prompting
6340         the "user" who doesn't exist on the bot.  We might consider teaching
6341         the User class about non-interactive if we have this sort of bug again.
6342
6343         * Scripts/webkitpy/tool/steps/commit.py:
6344         (Commit.options):
6345         (Commit._check_test_expectations):
6346         (Commit.run):
6347         * Scripts/webkitpy/tool/steps/commit_unittest.py:
6348         (CommitTest.test_check_test_expectations):
6349
6350 2012-03-15  Jessie Berlin  <jberlin@apple.com>
6351
6352         fast/dom/Window/window-properties.html and fast/dom/prototype-inheritance-2.html failing on
6353         Mac WK2 because WebAudio is not enabled
6354         https://bugs.webkit.org/show_bug.cgi?id=81259
6355
6356         Reviewed by Dan Bernstein.
6357
6358         Enable WebAudio so that it appears in the window object in the tests.
6359         The webaudio tests are all still skipped in the Mac Skipped list.
6360
6361         * WebKitTestRunner/TestController.cpp:
6362         (WTR::TestController::resetStateToConsistentValues):
6363
6364 2012-03-15  David Levin  <levin@chromium.org>
6365
6366         Various autoresize fixes.
6367         https://bugs.webkit.org/show_bug.cgi?id=81199
6368
6369         Reviewed by Darin Fisher.
6370
6371         * DumpRenderTree/chromium/LayoutTestController.cpp:
6372         (LayoutTestController::reset): Stop using the deprecated api that was removed.
6373
6374 2012-03-15  Carlos Garcia Campos  <cgarcia@igalia.com>
6375
6376         [GTK] Actually use --release and --debug command line options in run-gtk-test
6377         https://bugs.webkit.org/show_bug.cgi?id=81234
6378
6379         Reviewed by Philippe Normand.
6380
6381         Actually handle --release and --debug command line options to
6382         create the build directory, falling back to current hack to detect
6383         whether it's a Release or Debug build when both options are missed.
6384
6385         * Scripts/run-gtk-tests:
6386         (TestRunner.__init__): Receive options too.
6387         (TestRunner._get_top_level_directory): Helper function to get the
6388         top level directory.
6389         (TestRunner._get_build_directory): Helper function to get the
6390         build directory depending on --release/--debug command line
6391         options or gessing it if both options are missing.
6392         (TestRunner._ensure_accessibility_daemon_is_running): Use
6393         self-options now.
6394         (TestRunner.run): Ditto.
6395         (TestRunner.run.run_tests): Pass options to the constructor
6396         instead of run().
6397
6398 2012-03-15  Carlos Garcia Campos  <cgarcia@igalia.com>
6399
6400         [GTK] Run unit tests with --verbose in the bots
6401         https://bugs.webkit.org/show_bug.cgi?id=81230
6402
6403         Reviewed by Martin Robinson.
6404
6405         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
6406         (RunGtkAPITests): Add --verbose to run-gtk-test command.
6407
6408 2012-03-15  Kevin Ollivier  <kevino@theolliviers.com>
6409
6410         Move wx port to using export macros
6411         https://bugs.webkit.org/show_bug.cgi?id=77279
6412
6413         Reviewed by Hajime Morita.
6414
6415         * waf/build/settings.py:
6416         (common_configure):
6417
6418 2012-03-15  Philippe Normand  <pnormand@igalia.com>
6419
6420         Unreviewed, GTK build fix attempt after r110845.
6421
6422         * Scripts/run-gtk-tests: Added --release and --debug options.
6423
6424 2012-03-15  Dominik Röttsches  <dominik.rottsches@linux.intel.com>
6425
6426         Parametrize run-with-jhbuild and update-webkitgtk-libs with platform --gtk/--efl
6427         https://bugs.webkit.org/show_bug.cgi?id=79673
6428
6429         Preparatory work for bringing jhbuild enabled build to EFL port.
6430
6431         Reviewed by Philippe Normand.
6432
6433         * Scripts/update-webkit-libs-jhbuild: Copied from Tools/Scripts/update-webkitgtk-libs.
6434         * Scripts/update-webkitgtk-libs:
6435         * gtk/run-with-jhbuild:
6436         * jhbuild/jhbuild-wrapper: Copied from Tools/gtk/run-with-jhbuild.
6437         (top_level_path):
6438         (jhbuild_installed):
6439         (jhbuild_cloned):
6440         (jhbuild_at_expected_revision):
6441         (update_jhbuild):
6442         (clone_jhbuild):
6443         (install_jhbuild):
6444         (update_webkit_libs_jhbuild):
6445         (determine_platform):
6446         (ensure_jhbuild):
6447
6448 2012-03-15  Carlos Garcia Campos  <cgarcia@igalia.com>
6449
6450         [GTK] Add command line options to run-gtk-tests script
6451         https://bugs.webkit.org/show_bug.cgi?id=81218
6452
6453         Reviewed by Philippe Normand.
6454
6455         Following command line options have been added:
6456
6457         -v, --verbose: to run gtester with --verbose. That would be used
6458         by the bots to make it easier to know which test case it failing.
6459
6460         --display: to use a different display for Xvfb
6461
6462         It's also possible to pass one or more tests as arguments.
6463
6464         * Scripts/run-gtk-tests:
6465         (TestRunner.__init__): Receive command line arguments.
6466         (TestRunner._get_tests): Get all the tests or the ones passed by
6467         command line arguments.
6468         (TestRunner._ensure_accessibility_daemon_is_running): Use display
6469         command line argument.
6470         (TestRunner.run): Pas command line options.
6471         (TestRunner.run.run_tests): Pass command line arguments.
6472
6473 2012-03-15  Carlos Garcia Campos  <cgarcia@igalia.com>
6474
6475         [GTK] WebKit2APITests/TestPrinting timeout in the bots
6476         https://bugs.webkit.org/show_bug.cgi?id=81211
6477
6478         Reviewed by Philippe Normand.
6479
6480         Add gtk+ patch to fix timeout in the bots. A similar patch has
6481         already landed in updatream gtk+, see
6482         http://git.gnome.org/browse/gtk+/commit/?id=5ebfad5d091f4c9d9c6e60364fad4c60842f027f
6483
6484         * gtk/jhbuild.modules:
6485         * gtk/patches/gtk+-3.0.12-gtkprinter.patch: Added.
6486
6487 2012-03-14  Gustavo Noronha Silva  <gns@gnome.org>
6488
6489         sheriffbot should also be addressable with a comma in addition to colon
6490         https://bugs.webkit.org/show_bug.cgi?id=81101
6491
6492         Reviewed by Adam Barth.
6493
6494         * Scripts/webkitpy/common/net/irc/ircbot.py:
6495         (IRCBot.on_pubmsg):
6496
6497 2012-03-15  Alexander Færøy  <alexander.faeroy@nokia.com>
6498
6499         [Qt] MiniBrowser scroll indicators should not scroll out of view
6500         https://bugs.webkit.org/show_bug.cgi?id=81131
6501
6502         Reviewed by Kenneth Rohde Christiansen.
6503
6504         * MiniBrowser/qt/qml/ScrollIndicator.qml:
6505
6506 2012-03-14  Chris Fleizach  <cfleizach@apple.com>
6507
6508         AX: ARIA tables need to support selected rows attribute/select rows changed notification
6509         https://bugs.webkit.org/show_bug.cgi?id=79821
6510
6511         Reviewed by Beth Dakin.
6512
6513         * DumpRenderTree/AccessibilityUIElement.cpp:
6514         (rowAtIndexCallback):
6515         (AccessibilityUIElement::getJSClass):
6516         * DumpRenderTree/AccessibilityUIElement.h:
6517         (AccessibilityUIElement):
6518         * DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp:
6519         (AccessibilityUIElement::rowAtIndex):
6520         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
6521         (AccessibilityUIElement::rowAtIndex):
6522         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
6523         (AccessibilityUIElement::rowAtIndex):
6524         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
6525         (AccessibilityUIElement::rowAtIndex):
6526
6527 2012-03-14  Tim Horton  <timothy_horton@apple.com>
6528
6529         NRWT should respect --additional-platform-directory's Skipped list
6530         https://bugs.webkit.org/show_bug.cgi?id=81172
6531
6532         Reviewed by Timothy Hatcher.
6533
6534         Respect the Skipped file inside all paths included via the --additional-platform-directory option. Test results
6535         from said path are already used, but the Skipped file is ignored.
6536
6537         * Scripts/webkitpy/layout_tests/port/webkit.py:
6538         (WebKitPort._skipped_file_search_paths):
6539         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
6540         (test_skipped_file_search_paths):
6541
6542 2012-03-14  Ojan Vafai  <ojan@chromium.org>
6543
6544         Unreviewed, rolling out r110783.
6545         http://trac.webkit.org/changeset/110783
6546         https://bugs.webkit.org/show_bug.cgi?id=81054
6547
6548         Caused existing test expectation lines to expand to one for
6549         each test configuration.
6550
6551         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
6552         (TestExpectations.has_warnings):
6553         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
6554         (test_macro_overrides):
6555         * Scripts/webkitpy/tool/commands/rebaseline.py:
6556         (RebaselineTest._save_baseline):
6557         (RebaselineTest._rebaseline_test):
6558         (RebaselineTest.execute):
6559         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
6560         (TestRebaseline.test_tests_to_update):
6561
6562 2012-03-13  Jon Lee  <jonlee@apple.com>
6563
6564         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
6565         https://bugs.webkit.org/show_bug.cgi?id=80922
6566         <rdar://problem/11035082>
6567
6568         Reviewed by Jian Li.
6569
6570         You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
6571         LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
6572         new API. Therefore, APIs that are common between the two will have:
6573         #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
6574
6575         This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
6576         the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
6577
6578         Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
6579         * DumpRenderTree/chromium/LayoutTestController.cpp:
6580         (LayoutTestController::grantDesktopNotificationPermission):
6581         (LayoutTestController::simulateDesktopNotificationClick):
6582         * DumpRenderTree/chromium/NotificationPresenter.cpp:
6583         * DumpRenderTree/chromium/TestShell.cpp:
6584         (TestShell::TestShell):
6585         (TestShell::resetTestController):
6586         * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
6587         (DRTDesktopNotificationPresenter::checkNotificationPermission):
6588
6589 2012-03-13  Ojan Vafai  <ojan@chromium.org>
6590
6591         Have webkit-patch rebaseline-test update test_expectations.txt
6592         https://bugs.webkit.org/show_bug.cgi?id=81054
6593
6594         Reviewed by Dirk Pranke.
6595
6596         This will allow us to use the All Failures tab in garden-o-matic
6597         to rebaseline tests without making test_expectations.txt stale.
6598
6599         It's conservative and only removes lines if the test is
6600         not flaky and fails in a way the rebaseline would fix (e.g.
6601         CRASH/TIMEOUT will not be touched).
6602
6603         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
6604         (TestExpectations.remove_configuration_from_test):
6605         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
6606         (RemoveConfigurationsTest):
6607         (RemoveConfigurationsTest.test_remove):
6608         (test_remove_line):
6609         * Scripts/webkitpy/tool/commands/rebaseline.py:
6610         (RebaselineTest._is_supported_port):
6611         (RebaselineTest):
6612         (RebaselineTest._update_expectations_file):
6613         (RebaselineTest._rebaseline_test_and_update_expectations):
6614         (RebaselineTest.execute):
6615         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
6616         (TestRebaseline.test_rebaseline_updates_expectations_file):
6617
6618 2012-03-14  Jessie Berlin  <jberlin@apple.com>
6619
6620         Crash in WKTR under addChromeInputField due to using 0 as a key in a HashMap
6621         https://bugs.webkit.org/show_bug.cgi?id=81167
6622
6623         Reviewed by Sam Weinig.
6624
6625         Do not use 0 as a key in a HashMap.
6626
6627         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
6628         cacheLayoutTestControllerCallback uses the enum as keys for the callback map.
6629
6630 2012-03-14  Ojan Vafai  <ojan@chromium.org>
6631
6632         Add the chromium lion bot to garden-o-matic and remove
6633         the platform_move_to in builders.py since the Chromium Lion
6634         port is now a normal port.
6635
6636         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
6637         * Scripts/webkitpy/layout_tests/port/builders.py:
6638
6639 2012-03-14  Dirk Pranke  <dpranke@chromium.org>
6640
6641         Fix regression/crash introduced in r110724 - bad type passed from skipped_tests() by default.
6642
6643         Unreviewed, build fix.
6644
6645         * Scripts/webkitpy/layout_tests/port/base.py:
6646         (Port.skipped_tests):
6647
6648 2012-03-14  Dirk Pranke  <dpranke@chromium.org>
6649
6650         Please add a way to manually skip some tests in NRWT
6651         https://bugs.webkit.org/show_bug.cgi?id=81019
6652
6653         Reviewed by Ojan Vafai.
6654
6655         This patch implements the -i / --ignore-tests flag from ORWT
6656         and refactors the test_expectations.py code slightly to handle
6657         it.
6658
6659         * Scripts/webkitpy/layout_tests/controllers/manager.py:
6660         (Manager.parse_expectations):
6661         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
6662         (TestExpectations.__init__):
6663         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
6664         (test_add_skipped_tests):
6665         (test_add_skipped_tests_duplicate):
6666         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
6667         (parse_args):
6668         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
6669         (MainTest.test_ignore_tests):
6670         (MainTest.test_ignore_tests.assert_ignored):
6671
6672 2012-03-14  Dirk Pranke  <dpranke@chromium.org>
6673
6674         nrwt: run with no args on lion, is putting baselines in platform/mac-lion, not platform/mac
6675         https://bugs.webkit.org/show_bug.cgi?id=81028
6676
6677         Reviewed by Ojan Vafai.
6678
6679         The mac port had incorrect lookups for 'mac-lion' and
6680         'mac-future' in some places. This patch fixes that and adds a
6681         bunch of tests.
6682
6683         * Scripts/webkitpy/layout_tests/port/mac.py:
6684         (MacPort.baseline_path):
6685         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
6686         (MacTest.assert_skipped_file_search_paths):
6687         (MacTest.test_skipped_file_search_paths):
6688         (_assert_search_path):
6689         (test_baseline_search_path):
6690         * Scripts/webkitpy/layout_tests/port/webkit.py:
6691         (WebKitPort._skipped_file_search_paths):
6692
6693 2012-03-13  Jer Noble  <jer.noble@apple.com>
6694
6695         Lion Intel Debug WebKit2 Tests crashing under [WKFullScreenWindowController _startEnterFullScreenAnimationWithDuration:]
6696         https://bugs.webkit.org/show_bug.cgi?id=81056
6697
6698         Reviewed by Jessie Berlin.
6699
6700         Intercept beganEnterFullScreen and beganExitFullScreen and turn them into no-ops (plus logging).
6701
6702         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
6703         (WTR::InjectedBundlePage::InjectedBundlePage):
6704         (WTR::InjectedBundlePage::beganEnterFullScreen):
6705         (WTR::InjectedBundlePage::beganExitFullScreen):
6706
6707 2012-03-14  Alexander Færøy  <alexander.faeroy@nokia.com>
6708
6709         The width and height of the scroll indicators in the MiniBrowser does
6710         not consider the offset margins.
6711         https://bugs.webkit.org/show_bug.cgi?id=81112
6712
6713         Reviewed by Kenneth Rohde Christiansen.
6714
6715         This patch fixes the issue by withdrawing two times the anchor
6716         margins.
6717
6718         * MiniBrowser/qt/qml/ScrollIndicator.qml:
6719
6720 2012-03-14  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
6721
6722         [EFL] Implement LayoutTestController::clearBackForwardList
6723         https://bugs.webkit.org/show_bug.cgi?id=80142
6724
6725         Adding missing implementation clearBackForwardList to EFL's
6726         LayoutTestController. This implementation allows us to unskip 
6727         tests connected with history.
6728
6729         Reviewed by Antonio Gomes.
6730
6731         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
6732         (LayoutTestController::clearBackForwardList): Implemented.
6733
6734 2012-03-13  Thiago Marcos P. Santos  <thiago.santos@intel.com>
6735
6736         [EFL][DRT] Expose window.internals object
6737         https://bugs.webkit.org/show_bug.cgi?id=79900
6738
6739         Exposes window.internals for EFL's DRT. Makes possible to
6740         remove some tests from the skip list.
6741
6742         Reviewed by Antonio Gomes.
6743
6744         * DumpRenderTree/efl/CMakeLists.txt:
6745         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
6746         (DumpRenderTreeChrome::onWindowObjectCleared):
6747
6748 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
6749
6750         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
6751         https://bugs.webkit.org/show_bug.cgi?id=78853
6752
6753         Reviewed by Adam Barth.
6754
6755         * Scripts/build-webkit:
6756         * qmake/mkspecs/features/features.prf:
6757
6758 2012-03-12  Antonio Gomes  <agomes@rim.com>
6759
6760         Convert nodesFromRect tests to use Internals interface
6761         https://bugs.webkit.org/show_bug.cgi?id=80886
6762
6763         Reviewed by Ryosuke Niwa.
6764
6765         This clean up allows to remove port specific bits of each
6766         DRT implementation that supports testing Document::nodesFromRect,
6767         in favor of making use of the 'Internals' interface to test it.
6768
6769         This makes its code conveniently more expansible and cleaner.
6770
6771         Also removed stubs from Win and EFL DRTs.
6772
6773         * DumpRenderTree/LayoutTestController.cpp:
6774         (LayoutTestController::staticFunctions):
6775         * DumpRenderTree/LayoutTestController.h:
6776         (LayoutTestController):
6777         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
6778         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6779         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6780         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
6781         * DumpRenderTree/qt/LayoutTestControllerQt.h:
6782         (LayoutTestController):
6783         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6784
6785 2012-03-13  Ojan Vafai  <ojan@chromium.org>
6786
6787         Rebaselining for a new port doesn't work right with multiple fallback ports
6788         https://bugs.webkit.org/show_bug.cgi?id=80932
6789
6790         Reviewed by Adam Barth.
6791
6792         Since chromium-leopard also falls back to mac-leopard, we need to
6793         copy the existing result for both chromium-leopard and chromium-snowleopard
6794         before doing lion rebaselines.
6795
6796         * Scripts/webkitpy/layout_tests/port/builders.py:
6797         (fallback_port_names_for_new_port):
6798         * Scripts/webkitpy/tool/commands/rebaseline.py:
6799         (RebaselineTest):
6800         (RebaselineTest._copy_existing_baseline):
6801         (RebaselineTest._rebaseline_test):
6802         (RebaselineTest.execute):
6803         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
6804         * Scripts/webkitpy/tool/servers/gardeningserver.py:
6805         (GardeningHTTPRequestHandler.rebaseline):
6806         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
6807         (GardeningServerTest.test_rebaseline_new_port):
6808
6809 2012-03-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
6810
6811         [Qt] Tweak minibrowser UI
6812
6813         Add some margins to the scroll indicators, and set a dark background
6814         color so you see the page dimensions.
6815
6816         Reviewed by Antonio Gomes.
6817
6818         * MiniBrowser/qt/qml/BrowserWindow.qml:
6819         * MiniBrowser/qt/qml/ScrollIndicator.qml:
6820
6821 2012-03-13  ChangSeok Oh  <shivamidow@gmail.com>
6822
6823         [EFL] [DRT] Implement scheduleAsynchronousKeyDown.
6824         https://bugs.webkit.org/show_bug.cgi?id=79601
6825
6826         Reviewed by Gustavo Noronha Silva.
6827
6828         Extracted shareable code from keyDownCallback and then added createKeyEventInfo.
6829         createKeyEventInfo creates a new structure KeyEventInfo that has keyName and modifiers
6830         and is taken over to sendKeyDown.
6831         Added sendKeyDown and sendAsynchronousKeyDown to evaluate keyDown event directly
6832         and asynchronously. Eventually, sendAsynchronousKeyDown calls sendKeyDown.
6833
6834         * DumpRenderTree/efl/EventSender.cpp:
6835         (KeyEventInfo::KeyEventInfo):
6836         (KeyEventInfo):
6837         (createKeyEventInfo):
6838         (sendKeyDown):
6839         (keyDownCallback):
6840         (sendAsynchronousKeyDown):
6841         (scheduleAsynchronousKeyDownCallback):
6842
6843 2012-03-12  Ojan Vafai  <ojan@chromium.org>
6844
6845         webkit-patch optimize-baselines sometimes creates a mac-future result
6846         https://bugs.webkit.org/show_bug.cgi?id=80717
6847
6848         Reviewed by Adam Barth.
6849
6850         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
6851         (_baseline_search_hypergraph):
6852         (BaselineOptimizer._find_optimal_result_placement):
6853         (BaselineOptimizer._filter_virtual_ports):
6854         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
6855         (BaselineOptimizerTest.test_no_add_mac_future):
6856
6857 2012-03-12  Jessie Berlin  <jberlin@apple.com>
6858
6859         More Windows build fixing.
6860
6861         * DumpRenderTree/win/WorkQueueItemWin.cpp:
6862
6863 2012-03-12  Jessie Berlin  <jberlin@apple.com>
6864
6865         More Windows build fixing.
6866
6867         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
6868         * DumpRenderTree/win/EditingDelegate.cpp:
6869         * DumpRenderTree/win/EventSender.cpp:
6870         * DumpRenderTree/win/FrameLoadDelegate.cpp:
6871         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6872         * DumpRenderTree/win/UIDelegate.cpp:
6873
6874 2012-03-12  Dirk Pranke  <dpranke@chromium.org>
6875
6876         remove the 'gpu' group from the flakiness dashboard
6877         https://bugs.webkit.org/show_bug.cgi?id=80353
6878
6879         Reviewed by Adam Barth.
6880
6881         Since those bots are obsolete, we don't need this any more.
6882
6883         * TestResultServer/static-dashboards/builders.js:
6884         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
6885         (testPlatformAndBuildType):
6886         (testHtmlForTestTypeSwitcherGroup):
6887
6888 2012-03-12  Dirk Pranke  <dpranke@chromium.org>
6889
6890         remove graphics_type from webkitpy.layout_tests.models.test_configuration
6891         https://bugs.webkit.org/show_bug.cgi?id=80643
6892
6893         Reviewed by Ojan Vafai.
6894
6895         Now that the chromium-gpu ports are gone, there's no need for
6896         the graphics_type CPU/GPU distinction. Most of this change is
6897         just updating tests accordingly.
6898
6899         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
6900         (TestExpectationEditorTests):
6901         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
6902         (TestConfiguration.__init__):
6903         (TestConfiguration.category_order):
6904         (TestConfiguration.__str__):
6905         (TestConfiguration.__repr__):
6906         (TestConfiguration.__hash__):
6907         (TestConfigurationConverter.to_specifiers_list):
6908         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py:
6909         (make_mock_all_test_configurations_set):
6910         (TestConfigurationTest.test_items):
6911         (TestConfigurationTest.test_keys):
6912         (TestConfigurationTest.test_str):
6913         (TestConfigurationTest.test_repr):
6914         (TestConfigurationTest.test_hash):
6915         (TestConfigurationTest.test_hash.query_unknown_key):
6916         (TestConfigurationTest.test_eq):
6917         (TestConfigurationTest.test_values):
6918         (SpecifierSorterTest.test_specifier_priority):
6919         (SpecifierSorterTest.test_sort_specifiers):
6920         (TestConfigurationConverterTest.test_to_config_set):
6921         (TestConfigurationConverterTest.test_macro_expansion):
6922         (TestConfigurationConverterTest.test_to_specifier_lists):
6923         (TestConfigurationConverterTest.test_converter_macro_collapsing):
6924         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
6925         (test_error_on_different_build_type):
6926         (TestExpectationSerializerTests.test_parsed_to_string):
6927         (TestExpectationSerializerTests.test_reconstitute_only_these):
6928         * Scripts/webkitpy/layout_tests/port/apple.py:
6929         (ApplePort._generate_all_test_configurations):
6930         * Scripts/webkitpy/layout_tests/port/base.py:
6931         (Port.__init__):
6932         (Port.name):
6933         (Port.version):
6934         (Port.test_configuration):
6935         * Scripts/webkitpy/layout_tests/port/builders.py:
6936         * Scripts/webkitpy/layout_tests/port/chromium.py:
6937         (ChromiumPort):
6938         (ChromiumPort._generate_all_test_configurations):
6939         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
6940         (ChromiumLinuxPort.__init__):
6941         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
6942         (ChromiumLinuxPortTest.test_check_illegal_port_names):
6943         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
6944         (ChromiumMacPortTest.test_baseline_path):
6945         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
6946         (ChromiumPortTest.test_all_test_configurations):
6947         * Scripts/webkitpy/layout_tests/port/efl.py:
6948         (EflPort._generate_all_test_configurations):
6949         * Scripts/webkitpy/layout_tests/port/gtk.py:
6950         (GtkPort._generate_all_test_configurations):
6951         * Scripts/webkitpy/layout_tests/port/qt.py:
6952         (QtPort._generate_all_test_configurations):
6953         * Scripts/webkitpy/layout_tests/port/test.py:
6954         (TestPort.all_test_configurations):
6955         (TestPort._all_build_types):
6956         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
6957         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
6958         (BuildCoverageExtrapolatorTest.test_extrapolate):
6959         (GardeningExpectationsUpdaterTest.test_unknown_failure_type):
6960         (GardeningExpectationsUpdaterTest.test_add_new_expectation):
6961         (GardeningExpectationsUpdaterTest.test_replace_old_expectation):
6962         (GardeningExpectationsUpdaterTest.test_pass_expectation):
6963         (GardeningExpectationsUpdaterTest.test_supplement_old_expectation):
6964         (GardeningExpectationsUpdaterTest.test_spurious_updates):
6965
6966 2012-03-12  Dirk Pranke  <dpranke@chromium.org>
6967
6968         _runtime_feature_list isn't supported on Apple Mac DRT
6969         https://bugs.webkit.org/show_bug.cgi?id=80906
6970
6971         Reviewed by Eric Seidel.
6972
6973         It looks like this feature is actually only supported on the Win
6974         DRT port, so this patch reworks the code to make that clearer
6975         and reduce unnecessary overrides.
6976
6977         * Scripts/webkitpy/layout_tests/port/efl.py:
6978         (EflPort._path_to_webcore_library):
6979         * Scripts/webkitpy/layout_tests/port/gtk.py:
6980         (GtkPort._path_to_webcore_library):
6981         * Scripts/webkitpy/layout_tests/port/qt.py:
6982         (QtPort._skipped_file_search_paths):
6983         * Scripts/webkitpy/layout_tests/port/webkit.py:
6984         (WebKitPort._runtime_feature_list):
6985         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
6986         (TestWebKitPort.__init__):
6987         (TestWebKitPort.all_test_configurations):
6988         (test_skipped_directories_for_features):
6989         * Scripts/webkitpy/layout_tests/port/win.py:
6990         (WinPort):
6991         (WinPort._runtime_feature_list):
6992         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
6993         (WinPortTest.test_operating_system):
6994         (WinPortTest):
6995         (WinPortTest.test_runtime_feature_list):
6996
6997 2012-03-12  Peter Beverloo  <peter@chromium.org>
6998
6999         [Chromium] Temporary build-fix for the Android bot
7000         https://bugs.webkit.org/show_bug.cgi?id=80862
7001
7002         Reviewed by Adam Barth.
7003
7004         Manually set the environmental variables required to compile source
7005         files through the Android NDK instead of relying on the envsetup.sh
7006         script. A proper fix will be landed to Chromium ASAP, and following
7007         a Chromium roll into WebKit this code will be removed.
7008
7009         * Scripts/webkitdirs.pm:
7010         (buildChromiumMakefile):
7011
7012 2012-03-12  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7013
7014         [Qt] Use right construct to detect config_test_gccdepends
7015
7016         Reviewed by Andreas Kling.
7017
7018         * qmake/mkspecs/features/default_pre.prf:
7019
7020 2012-03-12  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7021
7022         [Qt] Expose location of WebKit's bin and imports dir through module file
7023
7024         Reviewed by Andreas Kling.
7025
7026         * qmake/qt_webkit.pri:
7027
7028 2012-03-12  Andras Becsi  <andras.becsi@nokia.com>
7029
7030         [Qt][WK2] Add support for rudimentary scroll indicators in MiniBrowser
7031         https://bugs.webkit.org/show_bug.cgi?id=80832
7032
7033         Reviewed by Tor Arne Vestbø.
7034
7035         Add a basic scroll indicator component to MiniBrowser so that it
7036         behaves similar to the ScrollDecorator QML component.
7037
7038         * MiniBrowser/qt/MiniBrowser.qrc:
7039         * MiniBrowser/qt/qml/BrowserWindow.qml:
7040         * MiniBrowser/qt/qml/ScrollIndicator.qml: Added.
7041
7042 2012-03-12  C Anthony Risinger  <anthony@xtfx.me>
7043
7044         [GTK] r110296 included an extra $ in @$(AM_V_GEN)
7045         https://bugs.webkit.org/show_bug.cgi?id=80809
7046
7047         Reviewed by Philippe Normand.
7048
7049         * GNUmakefile.am: Add `$` to @(AM_V_GEN), else /bin/sh syntax error
7050
7051 2012-03-12  Ming Xie  <mxie@rim.com>
7052
7053         [BlackBerry] build-webkit doesn't recognize "--cmakearg" for the BlackBerry port
7054         https://bugs.webkit.org/show_bug.cgi?id=80812
7055
7056         Reviewed by Rob Buis.
7057
7058         * Scripts/build-webkit: Add $cmakeArgs to buildCMakeProjectOrExit()
7059         * Scripts/webkitdirs.pm:
7060         (blackberryCMakeArguments): Remove "PUBLIC_BUILD=0" define
7061
7062
7063 2012-03-12  Simon Hausmann  <simon.hausmann@nokia.com>
7064
7065         [Qt] Fix build with newer Qt 5.
7066
7067         Reviewed by Tor Arne Vestbø.
7068
7069         Newer Qt 5 renames QDeclarativeFoo to QQmlFoo and provides backwards compatible
7070         renames, which however do trigger a #warning. Until we _require_ a newer Qt 5
7071         we should disable -Werror.
7072
7073         Also load(moc) for the availability of QMAKE_MOC in various derived sources. The
7074         implicit load was removed recently.
7075
7076         * qmake/mkspecs/features/default_pre.prf:
7077         * qmake/mkspecs/features/unix/default_post.prf:
7078
7079 2012-03-11  Maciej Stachowiak  <mjs@apple.com>
7080
7081         Add --instruments option to sunspider to profile with Instruments
7082         https://bugs.webkit.org/show_bug.cgi?id=80783
7083
7084         Reviewed by Filip Pizlo.
7085
7086         * Scripts/run-sunspider:
7087
7088 2012-03-11  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
7089
7090         [Qt] [WK2] Support threaded renderer in WK2
7091         https://bugs.webkit.org/show_bug.cgi?id=76661
7092
7093         Remove disabling of threaded rendering.
7094
7095         Reviewed by Noam Rosenthal.
7096
7097         * MiniBrowser/qt/main.cpp:
7098         (main):
7099
7100 2012-03-09  Zan Dobersek  <zandobersek@gmail.com>
7101
7102         [WK2] run-perf-tests should be able to run with WTR
7103         https://bugs.webkit.org/show_bug.cgi?id=80042
7104
7105         Reviewed by Martin Robinson.
7106
7107         Add an option to PerfTestRunner to use WebKitTestRunner instead of
7108         DumpRenderTree and add the '--no-timeout' flag to WebKitTestRunner
7109         to avoid timing out when running performance tests.
7110
7111         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
7112         (PerfTestsRunner._parse_args):
7113         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
7114         (WTR::InjectedBundle::InjectedBundle): Initialize m_useWaitToDumpWatchdogTimer
7115         to true.
7116         (WTR::InjectedBundle::didReceiveMessage): Unpack the 'BeginTest' message
7117         as a dictionary containing DumpPixels and UseWaitToDumpWatchdogTimer keys.
7118         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
7119         (WTR::InjectedBundle::useWaitToDumpWatchdogTimer): Make m_useWaitToDumpWatchdogTimer
7120         publicly accessible.
7121         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
7122         (WTR::LayoutTestController::waitUntilDone): Only initialize the watchdog if it
7123         is required.
7124         * WebKitTestRunner/TestController.cpp:
7125         (WTR::TestController::TestController): Initialize m_useWaitToDumpWatchdogTimer
7126         to true.
7127         (WTR::TestController::initialize): Set m_useWaitToDumpWatchdogTimer to false
7128         if '--no-timeout' option is present.
7129         (WTR::TestController::runUntil): Translate TimeoutDuration to a proper timeout
7130         value, or -1.0 if timeout should not occur.
7131         * WebKitTestRunner/TestController.h:
7132         (WTR::TestController::useWaitToDumpWatchdogTimer): Make m_useWaitToDumpWatchdogTimer
7133         publicly accessible.
7134         * WebKitTestRunner/TestInvocation.cpp:
7135         (WTR::TestInvocation::invoke): Pack the 'BeginTest' message as a dictionary,
7136         containing DumpPixels and UseWaitToDumpWatchdogTimer keys and corresponding values.
7137         Waiting for final message should not time out if not necessary.
7138         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
7139         (WTR::TestController::platformRunUntil): Only set up a timeout if necessary.
7140         * WebKitTestRunner/qt/TestControllerQt.cpp:
7141         (WTR::TestController::platformRunUntil): Ditto.
7142         * WebKitTestRunner/mac/TestControllerMac.mm:
7143         (WTR::TestController::platformRunUntil): Add a FIXME, indicating functionality
7144         is missing.
7145         * WebKitTestRunner/win/TestControllerWin.cpp:
7146         (WTR::TestController::platformRunUntil): Ditto.
7147
7148 2012-03-09  Jon Lee  <jonlee@apple.com>
7149
7150         Rename NotificationPresenter to NotificationClient
7151         https://bugs.webkit.org/show_bug.cgi?id=80488
7152         <rdar://problem/10965558>
7153
7154         Reviewed by Kentaro Hara.
7155
7156         Refactor to use renamed WebCore::NotificationClient.
7157         * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
7158         (DRTDesktopNotificationPresenter::checkNotificationPermission):
7159
7160 2012-03-07  James Robinson  <jamesr@chromium.org>
7161
7162         [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
7163         https://bugs.webkit.org/show_bug.cgi?id=80523
7164
7165         Reviewed by Darin Fisher.
7166
7167         * DumpRenderTree/chromium/WebViewHost.cpp:
7168         (WebViewHost::createGraphicsContext3D):
7169         * DumpRenderTree/chromium/WebViewHost.h:
7170         (WebViewHost):
7171
7172 2012-03-09  Eric Seidel  <eric@webkit.org>
7173
7174         build-webkit should build Source/WTF on Mac
7175         https://bugs.webkit.org/show_bug.cgi?id=80728
7176
7177         Reviewed by Adam Barth.
7178
7179         We'll add other ports to this list in future commits.
7180
7181         * Scripts/build-webkit:
7182
7183 2012-03-09  Jon Lee  <jonlee@apple.com>
7184
7185         Add support for ENABLE(LEGACY_NOTIFICATIONS)
7186         https://bugs.webkit.org/show_bug.cgi?id=80497
7187
7188         Reviewed by Adam Barth.
7189
7190         Prep for b80472: Update API for Web Notifications
7191         * Scripts/build-webkit:
7192         * qmake/mkspecs/features/features.prf:
7193
7194 2012-03-09  Ashod Nakashian  <ashodnakashian@yahoo.com>
7195
7196         Bash scripts should support LF endings only
7197         https://bugs.webkit.org/show_bug.cgi?id=79509
7198
7199         Reviewed by David Kilzer.
7200
7201         * EWSTools/boot.sh: Added properties svn:executable and svn:eol-style.
7202         * EWSTools/start-queue.sh: Added property svn:eol-style.
7203         * Scripts/webkit-tools-completion.sh: Added properties svn:executable and svn:eol-style.
7204         * WebKitTestRunner/win/build-generated-files.sh: Added properties svn:executable and svn:eol-style.
7205         * iExploder/iexploder-1.7.2/tools/release_src.sh: Added property svn:eol-style.
7206         * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh: Added property svn:eol-style.
7207
7208 2012-03-09  Ionut Biru  <ibiru@archlinux.org>
7209
7210         [BUILD] use detected python to run generate-gtkdoc
7211         https://bugs.webkit.org/show_bug.cgi?id=80695
7212
7213         Reviewed by Gustavo Noronha Silva.
7214
7215         * GNUmakefile.am: Use $(PYTHON) instead of plain `python`
7216
7217 2012-03-09  Nat Duca  <nduca@chromium.org>
7218
7219         Make check-webkit-style complain about "no new tests" lines in changelogs
7220         https://bugs.webkit.org/show_bug.cgi?id=80582
7221
7222         Reviewed by David Levin.
7223
7224         * Scripts/webkitpy/style/checkers/changelog.py:
7225         (ChangeLogChecker.check_entry):
7226         * Scripts/webkitpy/style/checkers/changelog_unittest.py:
7227         (ChangeLogCheckerTest.test_no_new_tests):
7228
7229 2012-03-09  Sheriff Bot  <webkit.review.bot@gmail.com>
7230
7231         Unreviewed, rolling out r110250.
7232         http://trac.webkit.org/changeset/110250
7233         https://bugs.webkit.org/show_bug.cgi?id=80682
7234
7235         It made NRWT ignore test_expectations.txt on Qt-WK2 and ignore
7236         qt-linux at all. (Requested by Ossy on #webkit).
7237
7238         * Scripts/old-run-webkit-tests:
7239         * Scripts/webkitpy/layout_tests/port/qt.py:
7240         (QtPort):
7241         (QtPort.determine_full_port_name):
7242         (QtPort.baseline_search_path):
7243         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
7244         (QtPortTest):
7245         (QtPortTest._assert_search_path):
7246         (QtPortTest.test_baseline_search_path):
7247
7248 2012-03-08  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7249
7250         [Qt] Use Qt's module system for install rules and depending on QtWebKit
7251
7252         Instead of rolling our own install rules we now use the same approach as
7253         every other Qt module, by loading qt_module.prf and qt_module_config.prf.
7254
7255         This ensures that we follow the same semantics as the rest of Qt on
7256         what sort of config options are enabled by default (create_cmake eg.).
7257         It also allows us to use QT += webkit instead of the workaround we had
7258         with CONFIG += qtwebkit.
7259
7260         We do however force Qt to always treat our build as a non-developer build,
7261         so the libraries will end up in the WebKit lib directory instead of the
7262         qtbase directory (as with a normal developer-build). This allows us to
7263         keep the webkit-build self-contained. If Qt is a developer build we still
7264         copy the module file manually to Qt, so that you don't have to install
7265         WebKit to make it available.
7266
7267         For non-developer builds of Qt, it is still possible to use the built
7268         WebKit libraries without having to install them, by having the variable
7269         QMAKE_EXTRA_MODULE_FORWARDS set in the project's .qmake.cache file,
7270         pointing to $WEBKITOUTUTDIR/$CONFIGURATION/modules.
7271
7272         https://bugs.webkit.org/show_bug.cgi?id=80590
7273
7274         Reviewed by Simon Hausmann.
7275
7276         * DumpRenderTree/qt/DumpRenderTree.pro:
7277         * MiniBrowser/qt/BrowserWindow.cpp:
7278         * MiniBrowser/qt/MiniBrowser.pro:
7279         * MiniBrowser/qt/MiniBrowserApplication.cpp:
7280         * MiniBrowser/qt/UrlLoader.cpp:
7281         * QtTestBrowser/QtTestBrowser.pro:
7282         * Tools.pro:
7283         * WebKitTestRunner/InjectedBundle/Target.pri:
7284         * WebKitTestRunner/Target.pri:
7285         * qmake/mkspecs/features/default_post.prf:
7286         * qmake/mkspecs/features/default_pre.prf:
7287         * qmake/mkspecs/features/functions.prf:
7288         * qmake/mkspecs/features/qtwebkit-private.prf: Removed.
7289         * qmake/mkspecs/features/qtwebkit.prf:
7290         * qmake/mkspecs/features/rpath.prf:
7291         * qmake/mkspecs/modules/qt_webkit.pri: Removed.
7292         * qmake/qt_webkit.pri: Added.
7293
7294 2012-03-08  Igor Oliveira  <igor.o@sisa.samsung.com>
7295
7296         Unreviewed. Update my email.
7297
7298         * Scripts/webkitpy/common/config/committers.py:
7299
7300 2012-03-08  Xianzhu Wang  <wangxianzhu@chromium.org>
7301
7302         Recent changes to chromium.py etc. broke chromium_android.py
7303         https://bugs.webkit.org/show_bug.cgi?id=80623
7304
7305         Reviewed by Dirk Pranke.
7306
7307         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
7308         (ChromiumAndroidDriver.__init__):
7309         (ChromiumAndroidDriver._start):
7310
7311 2012-03-08  Xianzhu Wang  <wangxianzhu@chromium.org>
7312
7313         [Chromium] Exception running reftest with --no-pixel-tests
7314         https://bugs.webkit.org/show_bug.cgi?id=80642
7315
7316         Reviewed by Dirk Pranke.
7317
7318         * Scripts/webkitpy/layout_tests/port/chromium.py:
7319         (ChromiumDriver.__init__):
7320         (ChromiumDriver._wrapper_options):
7321
7322 2012-03-08  Rafael Brandao  <rafael.lobo@openbossa.org>
7323
7324         [NRWT] Fix --platform=qt-5.0 --new-baseline combo
7325         https://bugs.webkit.org/show_bug.cgi?id=72489
7326
7327         Reviewed by Dirk Pranke.
7328
7329         NRWT: The default platform name for Qt combined with --webkit-test-runner is now
7330         "qt-5.0-wk2" instead of "qt-linux" and that name is now prefered for tests.
7331         --platform will override the platform name and then we'll use it.
7332
7333         ORWT: We check for qt version and use platform name "qt-4.8" if the version is lower
7334         than 5.0.0, and then we choose between "qt-5.0-wk1" and "qt-5.0-wk2". --platform will
7335         override it in the end.
7336
7337         * Scripts/old-run-webkit-tests:
7338         * Scripts/webkitpy/layout_tests/port/qt.py:
7339         (QtPort):
7340         (QtPort.determine_full_port_name):
7341         (QtPort.baseline_search_path):
7342         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
7343         (QtPortTest):
7344         (QtPortTest._assert_search_path):
7345         (QtPortTest.test_baseline_search_path):
7346
7347 2012-03-08  Beth Dakin  <bdakin@apple.com>
7348
7349         https://bugs.webkit.org/show_bug.cgi?id=80463
7350         RenderImage is using the wrong origin when calling addRelevantRepaintedObject
7351         -and corresponding-
7352         <rdar://problem/10970221>
7353
7354         Reviewed by Dan Bernstein.
7355
7356         New test!
7357         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
7358         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp: Added.
7359         (TestWebKitAPI):
7360         (TestWebKitAPI::didNewFirstVisuallyNonEmptyLayout):
7361         (TestWebKitAPI::setPageLoaderClient):
7362         (TestWebKitAPI::TEST):
7363         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp: Added.
7364         (TestWebKitAPI):
7365         (NewFirstVisuallyNonEmptyLayoutForImagesTest):
7366         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutForImagesTest::NewFirstVisuallyNonEmptyLayoutForImagesTest):
7367         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutForImagesTest::didCreatePage):
7368         * TestWebKitAPI/Tests/WebKit2/lots-of-images.html: Added.
7369
7370 2012-03-08  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7371
7372         [Qt] Prospective Windows build fix
7373
7374         Don't assume that windows-builds will always run inside a cmd.exe shell.
7375
7376         * qmake/mkspecs/features/default_pre.prf:
7377
7378 2012-03-08  Dan Bernstein  <mitz@apple.com>
7379
7380         <rdar://problem/10981173> Dashboard regions should not be in device space
7381
7382         Reviewed by John Sullivan.
7383
7384         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
7385         * TestWebKitAPI/Tests/mac/DeviceScaleFactorInDashboardRegions.mm: Added.
7386         (-[DeviceScaleFactorInDashboardRegionsUIDelegate webView:dashboardRegionsChanged:]):
7387         (TestWebKitAPI):
7388         (TestWebKitAPI::TEST):
7389
7390 2012-03-08  Dirk Pranke  <dpranke@chromium.org>
7391
7392         webkit-patch works oddly on local Git branches
7393         https://bugs.webkit.org/show_bug.cgi?id=76958
7394
7395         Reviewed by Ojan Vafai.
7396
7397         This change makes the '-g' flag to webkit-patch behave a
7398         little more consistently with git. The 'HEAD..' syntax
7399         is changed to 'HEAD....' (four dots), so as to not
7400         collide with the underlying git syntax. We also generalize
7401         the syntax to support any refname, so 'foo....' means
7402         diff against foo and include working copy changes.
7403
7404         This change also adds the 'UPSTREAM' shortcut to identify
7405         whatever the current upstream/tracking branch is; this is
7406         useful if you have multiple local branches stacked up.
7407
7408         * Scripts/webkitpy/common/checkout/scm/git.py:
7409         (Git._branch_from_ref):
7410         (Git):
7411         (Git._current_branch):
7412         (Git._upstream_branch):
7413         (Git.merge_base):
7414         (Git._commit_on_branch):
7415         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
7416         (GitSVNTest._second_local_commit):
7417         (GitSVNTest._two_local_commits):
7418         (GitSVNTest.test_commit_with_message_git_commit_range):
7419         (GitSVNTest.test_upstream_branch):
7420         (GitSVNTest.test_create_patch_working_copy_only):
7421         (GitSVNTest.test_changed_files_local_plus_working_copy):
7422         (GitSVNTest.test_changed_files_working_copy_only):
7423         (GitSVNTest.test_changed_files_upstream):
7424         * Scripts/webkitpy/tool/steps/options.py:
7425         (Options):
7426
7427 2012-03-08  John Sullivan  <sullivan@apple.com>
7428
7429         Made extract-localizable-strings ignore NSLocalizedFileSizeDescription
7430
7431         Reviewed by Eric Carlson.
7432
7433         * Scripts/extract-localizable-strings:
7434         Added NSLocalizedFileSizeDescription to allowed list of tokens that start
7435         with NSLocalized. Also improved an error message to include the troublesome token.
7436
7437 2012-03-08  Sheriff Bot  <webkit.review.bot@gmail.com>
7438
7439         Unreviewed, rolling out r110115.
7440         http://trac.webkit.org/changeset/110115
7441         https://bugs.webkit.org/show_bug.cgi?id=80581
7442
7443         broke test-webkitpy (Requested by philn-tp on #webkit).
7444
7445         * Scripts/old-run-webkit-tests:
7446         * Scripts/webkitpy/layout_tests/port/qt.py:
7447         (QtPort):
7448         (QtPort.determine_full_port_name):
7449         (QtPort.baseline_search_path):
7450
7451 2012-03-08  Kentaro Hara  <haraken@chromium.org>
7452
7453         Unreviewed. Added myself to watchlist.
7454
7455         * Scripts/webkitpy/common/config/watchlist:
7456
7457 2012-03-07  Jessie Berlin  <jberlin@apple.com>
7458
7459         Clean Windows build fails after r110033
7460         https://bugs.webkit.org/show_bug.cgi?id=80553
7461
7462         Rubber-stamped by Jon Honeycutt and Eric Seidel.
7463
7464         Add the new JavaScriptCore include directory to some more vsprops files.
7465
7466         * DumpRenderTree/win/ImageDiffCommon.vsprops:
7467         * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
7468         * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
7469
7470 2012-03-07  Rafael Brandao  <rafael.lobo@openbossa.org>
7471
7472         [NRWT] Fix --platform=qt-5.0 --new-baseline combo
7473         https://bugs.webkit.org/show_bug.cgi?id=72489
7474
7475         Reviewed by Dirk Pranke.
7476
7477         NRWT: The default platform name for Qt combined with --webkit-test-runner is now
7478         "qt-5.0-wk2" instead of "qt-linux" and that name is now prefered for tests.
7479         --platform will override the platform name and then we'll use it.
7480
7481         ORWT: We check for qt version and use platform name "qt-4.8" if the version is lower
7482         than 5.0.0, and then we choose between "qt-5.0-wk1" and "qt-5.0-wk2". --platform will
7483         override it in the end.
7484
7485         * Scripts/old-run-webkit-tests:
7486         * Scripts/webkitpy/layout_tests/port/qt.py:
7487         (QtPort):
7488         (QtPort.determine_full_port_name):
7489         (QtPort.baseline_search_path):
7490
7491 2012-03-07  Hugo Parente Lima  <hugo.lima@openbossa.org>
7492
7493         [Qt][WK2] MiniBrowser on desktop does not react to click events
7494         https://bugs.webkit.org/show_bug.cgi?id=80314
7495
7496         Reviewed by Kenneth Rohde Christiansen.
7497
7498         Do not enable touch mocking on desktop mode.
7499
7500         * MiniBrowser/qt/MiniBrowserApplication.cpp:
7501         (MiniBrowserApplication::handleUserOptions):
7502
7503 2012-03-07  Ojan Vafai  <ojan@chromium.org>
7504
7505         Automatically move to the next test after rebaseline in the results view
7506         https://bugs.webkit.org/show_bug.cgi?id=80527
7507
7508         Reviewed by Dimitri Glazkov.
7509
7510         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
7511         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
7512
7513 2012-03-07  Ojan Vafai  <ojan@chromium.org>
7514
7515         garden-o-matic rebaseline is broken for ports that don't have a fallback port
7516         https://bugs.webkit.org/show_bug.cgi?id=80526
7517
7518         Reviewed by Adam Barth.
7519
7520         Passing "None" as the fallback port throws an error in "webkit-patch rebaseline-test"
7521         since there is no "None" port.
7522
7523         * Scripts/webkitpy/tool/servers/gardeningserver.py:
7524         (GardeningHTTPRequestHandler.rebaseline):
7525         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
7526         (GardeningServerTest.test_rebaseline):
7527
7528 2012-03-07  James Robinson  <jamesr@chromium.org>
7529
7530         [chromium] Remove the TestWebPlugin's use of implicit FBO for offscreen contexts
7531         https://bugs.webkit.org/show_bug.cgi?id=80521
7532
7533         Reviewed by Kenneth Russell.
7534
7535         Switches TestWebPlugin from using a context created by WebViewClient::createGraphicsContext3D(..., false) over
7536         to an explicitly offscreen context with explicitly managed texture / FBO, so we can deprecate the
7537         renderDirectlyToHostWindow flag from WebViewClient::createGraphicsContext3D.
7538
7539         Covered by platform/chromium/compositing/plugins/*
7540
7541         * DumpRenderTree/chromium/TestWebPlugin.cpp:
7542         (TestWebPlugin::TestWebPlugin):
7543         (TestWebPlugin::initialize):
7544         (TestWebPlugin::updateGeometry):
7545         (TestWebPlugin::initScene):
7546         (TestWebPlugin::destroyScene):
7547         * DumpRenderTree/chromium/TestWebPlugin.h:
7548         (TestWebPlugin):
7549         * DumpRenderTree/chromium/WebViewHost.cpp:
7550         (WebViewHost::createPlugin):
7551
7552 2012-03-07  Philippe Normand  <pnormand@igalia.com>
7553
7554         [GTK] remove webkitpy dependency in run-gtk-tests
7555         https://bugs.webkit.org/show_bug.cgi?id=80500
7556
7557         Reviewed by Martin Robinson.
7558
7559         Replace Executive calls with bare subprocess calls.
7560
7561         * Scripts/run-gtk-tests:
7562         (TestRunner):
7563         (TestRunner._lookup_atspi2_binary):
7564         (TestRunner.run):
7565         (TestRunner.run.run_for_real):
7566
7567 2012-03-07  Philippe Normand  <pnormand@igalia.com>
7568
7569         Unreviewed, GTK build fix after r110059.
7570
7571         * Scripts/run-gtk-tests:
7572         (TestRunner._check_if_tests_have_timed_out):
7573         (TestRunner.run.run_tests):
7574         (TestRunner):
7575
7576 2012-03-07  Philippe Normand  <pnormand@igalia.com>
7577
7578         [GTK] race condition in run-gtk-tests
7579         https://bugs.webkit.org/show_bug.cgi?id=80495
7580
7581         Reviewed by Martin Robinson.
7582
7583         Refactored the script to wait the a11y dbus service becomes
7584         available before starting the tests.
7585
7586         * Scripts/run-gtk-tests:
7587         (TestRunner._lookup_atspi2_binary):
7588         (TestRunner):
7589         (TestRunner._wait_dbus_service_and_run):
7590         (TestRunner._wait_dbus_service_and_run.on_name_appeared):
7591         (TestRunner._wait_dbus_service_and_run.on_name_vanished):
7592         (TestRunner.run):
7593         (TestRunner.run.bailout):
7594         (TestRunner.run.run_for_real):
7595
7596 2012-03-07  Dinu Jacob  <dinu.jacob@nokia.com>
7597
7598         [Qt] REGRESSION(r109575) Broke tap-to-zoom gesture
7599         https://bugs.webkit.org/show_bug.cgi?id=80425
7600
7601         Reviewed by Simon Hausmann.
7602
7603         Set startScreenPos in mock touch point
7604
7605         * MiniBrowser/qt/MiniBrowserApplication.cpp:
7606         (MiniBrowserApplication::notify):
7607         * MiniBrowser/qt/MiniBrowserApplication.h:
7608         (MiniBrowserApplication):
7609
7610 2012-03-07  Simon Hausmann  <simon.hausmann@nokia.com>
7611
7612         [Qt] Windows build fix.
7613
7614         Reviewed by Tor Arne Vestbø.
7615
7616         Pass the -j parameter only to "make", not "nmake".
7617
7618         * Scripts/webkitdirs.pm:
7619         (buildQMakeProjects):
7620
7621 2012-03-07  Simon Hausmann  <simon.hausmann@nokia.com>
7622
7623         [Qt] Fix compilation without QtQuick1
7624         https://bugs.webkit.org/show_bug.cgi?id=80503
7625
7626         Reviewed by Tor Arne Vestbø.
7627
7628         Introduce HAVE_QQUICK1 as feature and added haveQtModule
7629         as convenience function.
7630
7631         * qmake/mkspecs/features/features.prf:
7632         * qmake/mkspecs/features/functions.prf:
7633
7634 2012-03-07  Zoltan Horvath  <zoltan@webkit.org>
7635
7636         [Qt] Add qmake config tests for JPEG and PNG library
7637         https://bugs.webkit.org/show_bug.cgi?id=80398
7638
7639         Add JPEG and PNG library tests to config.tests and
7640         add error() abort to WebCore.pri if tests don't work.
7641
7642         Reviewed by Tor Arne Vestbø.
7643
7644         * qmake/config.tests/libjpeg/libjpeg.cpp: Added.
7645         (main):
7646         * qmake/config.tests/libjpeg/libjpeg.pro: Added.
7647         * qmake/config.tests/libpng/libpng.cpp: Added.
7648         (main):
7649         * qmake/config.tests/libpng/libpng.pro: Added.
7650         * qmake/sync.profile:
7651
7652 2012-03-07  Byungwoo Lee  <bw80.lee@samsung.com>
7653
7654         [EFL] Build warning: Fix warn_unused_result warnings.
7655         https://bugs.webkit.org/show_bug.cgi?id=79194
7656
7657         Reviewed by Filip Pizlo.
7658
7659         Fixed build warning which is getting generated when not using return
7660         value of a fuction, especially declared with warn_unused_result
7661         attribute.
7662
7663         * DumpRenderTree/efl/ImageDiff.cpp:
7664         (printImage):
7665
7666 2012-03-07  Kangil Han  <kangil.han@samsung.com>
7667
7668         [DRT] Remove PlainTextController implementations.
7669         https://bugs.webkit.org/show_bug.cgi?id=79959
7670
7671         Reviewed by Hajime Morita.
7672
7673         PlainTextController usages in existing tests have been
7674         replaced by internals API by bug 78570.
7675         So this patch will remove PlainTextController implementations
7676         to avoid further usage in new tests.
7677
7678         * DumpRenderTree/DumpRenderTree.gypi:
7679         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7680         * DumpRenderTree/chromium/PlainTextController.cpp: Removed.
7681         * DumpRenderTree/chromium/PlainTextController.h: Removed.
7682         * DumpRenderTree/chromium/TestShell.cpp:
7683         (TestShell::TestShell):
7684         (TestShell::bindJSObjectsToWindow):
7685         * DumpRenderTree/chromium/TestShell.h:
7686         (TestShell):
7687         * DumpRenderTree/gtk/DumpRenderTree.cpp:
7688         (webViewWindowObjectCleared):
7689         * DumpRenderTree/gtk/PlainTextController.cpp: Removed.
7690         * DumpRenderTree/gtk/PlainTextController.h: Removed.
7691         * DumpRenderTree/mac/FrameLoadDelegate.mm:
7692         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
7693         * DumpRenderTree/mac/PlainTextController.h: Removed.
7694         * DumpRenderTree/mac/PlainTextController.mm: Removed.
7695         * DumpRenderTree/qt/DumpRenderTree.pro:
7696         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
7697         (WebCore::DumpRenderTree::DumpRenderTree):
7698         (WebCore::DumpRenderTree::initJSObjects):
7699         * DumpRenderTree/qt/DumpRenderTreeQt.h:
7700         (DumpRenderTree):
7701         * DumpRenderTree/qt/PlainTextControllerQt.cpp: Removed.
7702         * DumpRenderTree/qt/PlainTextControllerQt.h: Removed.
7703         * GNUmakefile.am:
7704
7705 2012-03-06  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
7706
7707         [EFL][DRT] Implements LayoutTestController's setPopupBlockingEnabled.
7708         https://bugs.webkit.org/show_bug.cgi?id=80137
7709
7710         Reviewed by Eric Seidel.
7711
7712         Adds implementation LayoutTestController's setPopupBlockingEnabled.
7713         To pass popup-blocking-click-in-iframe.html EventSender should not
7714         repeat click events in idler's function. EventSender allows to
7715         asynchronously send click event through ecore_idler_add.
7716         This event will be called repeatedly as long as it return true.
7717         Click event should be called only once by returning ECORE_CALLBACK_CANCEL.
7718
7719         * DumpRenderTree/efl/EventSender.cpp:
7720         (sendMouseEvent): Changed return value from bool to void because it always returns true.
7721         (sendClick): Idler is deleted by returning ECORE_CALLBACK_CANCEL.
7722         (mouseDownCallback): Remove unnecessary checking of return value.
7723         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
7724         (LayoutTestController::setPopupBlockingEnabled):
7725
7726 2012-03-06  Dirk Pranke  <dpranke@chromium.org>
7727
7728         rebaseline_chromium_webkit_tests is obsolete and should be removed
7729         https://bugs.webkit.org/show_bug.cgi?id=80347
7730
7731         Reviewed by Tony Chang.
7732
7733         * Scripts/rebaseline-chromium-webkit-tests: Removed.
7734         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py: Removed.
7735         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py: Removed.
7736
7737 2012-03-06  Dirk Pranke  <dpranke@chromium.org>
7738
7739         test_start_cmd (webkitpy.layout_tests.servers.http_server_unittest.TestHttpServer) is broken
7740         https://bugs.webkit.org/show_bug.cgi?id=80468
7741
7742         Unreviewed, build fix.
7743
7744         Fixing a bug revealed by r80443 when we fixed filesystem.copyfile().
7745
7746         * Scripts/webkitpy/layout_tests/servers/http_server.py:
7747         (Lighttpd._prepare_config):
7748
7749 2012-03-06  Dirk Pranke  <dpranke@chromium.org>
7750
7751         remove chromium_gpu ports
7752         https://bugs.webkit.org/show_bug.cgi?id=80345
7753
7754         Reviewed by Ojan Vafai.
7755
7756         This change leaves in the 'graphics_type' distinction in the
7757         test_expectations; removing that will require more updates and a
7758         pass over test_expectations.txt, so I'm separating that out.
7759
7760         * Scripts/webkitpy/layout_tests/port/builders.py:
7761         * Scripts/webkitpy/layout_tests/port/chromium.py:
7762         (ChromiumPort):
7763         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py: Removed.
7764         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py: Removed.
7765         * Scripts/webkitpy/layout_tests/port/factory.py:
7766         (PortFactory):
7767         (PortFactory.get):
7768         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
7769         (FactoryTest.test_qt):
7770         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
7771         (TestRebaseline.test_rebaseline_expectations):
7772
7773 2012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
7774
7775         undefined reference to JSC::IdentifierTable::~IdentifierTable() on EFL port
7776         https://bugs.webkit.org/show_bug.cgi?id=80282
7777
7778         Reviewed by Antonio Gomes.
7779
7780         Remove transitive library dependencies; they are especially
7781         dangerous when one ends up linking against WTF, JSC and then WTF
7782         again, since some symbols will not be defined.
7783
7784         Passing --no-copy-dt-needed-entries and --as-needed to the linker
7785         (which some recent Linux distros do by default) makes the issue
7786         even more evident.
7787
7788         * DumpRenderTree/efl/CMakeLists.txt: Do not link directly to WTF,
7789         as the other libraries have the needed symbols. Explicitly link
7790         against fontconfig.
7791
7792 2012-03-06  Dean Jackson  <dino@apple.com>
7793
7794         filter-build-webkit needs more filters
7795         https://bugs.webkit.org/show_bug.cgi?id=80440
7796
7797         Reviewed by Joseph Pecoraro.
7798
7799         Added as many missing filters as I could find for Apple
7800         builds. Plus a few minor style updates.
7801
7802         * Scripts/filter-build-webkit:
7803         (printLine):
7804
7805 2012-03-06  Ojan Vafai  <ojan@chromium.org>
7806
7807         Copying old baselines throws an error if the new directory doesn't exist
7808         https://bugs.webkit.org/show_bug.cgi?id=80443
7809
7810         Reviewed by Adam Barth.
7811
7812         Existing tests cover the new code with the fix to filesystem_mock.
7813
7814         * Scripts/webkitpy/common/system/filesystem_mock.py:
7815         (MockFileSystem.copyfile):
7816         Fix the mock to better match python's copyfile semantics.
7817
7818         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
7819         (Rebaseliner._create_html_baseline_files):
7820         * Scripts/webkitpy/tool/commands/rebaseline.py:
7821         (RebaselineTest._copy_existing_baseline):
7822
7823 2012-03-05  Ojan Vafai  <ojan@chromium.org>
7824
7825         Add a mechanism to rebaseline new ports
7826         https://bugs.webkit.org/show_bug.cgi?id=80355
7827
7828         Reviewed by Adam Barth.
7829
7830         For a test that's only failing on a new port, we want
7831         to first copy the existing result into the location for the
7832         port it's replacing in order to not break that port.
7833
7834         For example, bringing up the chromium-lion port, if we just
7835         stick the results in the chromium-mac directory, the snow leopard
7836         will start failing. Instead, we first copy the existing result
7837         to the chromium-mac-snowleopard directory.
7838
7839         * Scripts/webkitpy/layout_tests/port/builders.py:
7840         (builder_path_for_port_name):
7841         (fallback_port_name_for_new_port):
7842         * Scripts/webkitpy/tool/commands/rebaseline.py:
7843         (RebaselineTest):
7844         (RebaselineTest._copy_existing_baseline):
7845         (RebaselineTest._rebaseline_test):
7846         (RebaselineTest.execute):
7847         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
7848         (TestRebaseline.test_rebaseline_test):
7849         (TestRebaseline):
7850         (TestRebaseline.test_rebaseline_and_copy_test):
7851         (test_rebaseline_and_copy_test_no_existing_result):
7852         (test_rebaseline_and_copy_test_with_lion_result):
7853         (test_rebaseline_and_copy_no_overwrite_test):
7854         * Scripts/webkitpy/tool/servers/gardeningserver.py:
7855         (GardeningHTTPRequestHandler.rebaseline):
7856         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
7857         (GardeningServerTest.test_rebaseline):
7858         (GardeningServerTest):
7859         (GardeningServerTest.test_rebaseline_new_port):
7860
7861 2012-03-06  Beth Dakin  <bdakin@apple.com>
7862
7863         https://bugs.webkit.org/show_bug.cgi?id=80351
7864         InlineTextBox is using the wrong origin when calling 
7865         addRelevantRepaintedObject
7866         -and corresponding-
7867         <rdar://problem/10970221>
7868
7869         Reviewed by Sam Weinig.
7870
7871         This test has actually been broken since revision 109273. This change makes 
7872         the test pass again, and it makes it specifically exercise the fix for this 
7873         bug.
7874         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
7875         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp:
7876         (TestWebKitAPI::TEST):
7877
7878         Adjust comments in the other tests to reflect the API changes from 109273.
7879         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp:
7880         (TestWebKitAPI::TEST):
7881         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp:
7882         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutFailsTest::didCreatePage):
7883         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp:
7884         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutFramesTest::didCreatePage):
7885         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp:
7886         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutTest::didCreatePage):
7887         * TestWebKitAPI/Tests/WebKit2/lots-of-text.html: Added.
7888
7889 2012-03-06  Hans Wennborg  <hans@chromium.org>
7890
7891         Speech JavaScript API: add SpeechRecognitionError
7892         https://bugs.webkit.org/show_bug.cgi?id=80410
7893
7894         Chromium: enable the runtime flag for scripted speech so we can run
7895         the layout tests for it.
7896
7897         Reviewed by Adam Barth.
7898
7899         * DumpRenderTree/chromium/TestShell.cpp:
7900         (TestShell::TestShell):
7901
7902 2012-03-06  Sami Kyostila  <skyostil@chromium.org>
7903
7904         Enable universal newlines in chromium android layout test runner
7905         https://bugs.webkit.org/show_bug.cgi?id=80418
7906
7907         Reviewed by Adam Barth.
7908
7909         The Chromium Android layout test runner uses the 'adb' program to
7910         communicate with the Android device. Adb uses CRLF ('\r\n') to delimit
7911         output lines from the test runner, while the test expectation files are
7912         written with LF ('\n') delimiters. This causes the results to have
7913         spurious whitespace differences, making them more difficult to
7914         interpret.
7915
7916         The fix is to enable universal newlines for the DumpRenderTree pipe,
7917         causing the output to only contain LF newlines like on other platforms.
7918
7919         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
7920         (ChromiumAndroidDriver._start):
7921
7922 2012-03-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7923
7924         [Qt] Revert r109900, it was completly busted
7925
7926         HAVE_FOO does _not_ have a WTF_ prefix, go figure.
7927
7928         We still leave in the HAVE(FOO) in QtInitializeTestFonts.cpp, instead
7929         of manual define checks.
7930
7931         Reviewed by Ossy.
7932
7933         * DumpRenderTree/qt/DumpRenderTree.pro:
7934         * QtTestBrowser/QtTestBrowser.pro:
7935         * WebKitTestRunner/InjectedBundle/Target.pri:
7936         * qmake/mkspecs/features/features.prf:
7937
7938 2012-03-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7939
7940         [Qt] Use config test to determine if the compiler supports -MD
7941
7942         We used to assume that unix systems building against Qt5 would have
7943         a compiler that supported -MD. Although this was usually the case,
7944         we failed to take into account broken tools for distributed builds
7945         (e.g. teambuilder or icecream) which would end up producing .d files
7946         in the root of the build dir instead of along-side the object file.
7947
7948         Now that we use a config-test to determine the support, we'll capture
7949         those cases, unless distributed builds are enabled after the initial
7950         build-webkit run.
7951
7952         Reviewed by Csaba Osztrogonác.
7953
7954         * Tools.pro:
7955         * qmake/config.tests/gccdepends/empty.cpp: Added.
7956         * qmake/config.tests/gccdepends/gccdepends.pro: Added.
7957         * qmake/mkspecs/features/default_pre.prf:
7958         * qmake/mkspecs/features/features.prf:
7959         * qmake/mkspecs/features/unix/default_pre.prf:
7960         * qmake/sync.profile:
7961
7962 2012-03-06  Csaba Osztrogonác  <ossy@webkit.org>
7963
7964         REGRESSION(r109294): It broke the unittest of master.cfg
7965         https://bugs.webkit.org/show_bug.cgi?id=80253
7966
7967         Reviewed by Tor Arne Vestbø.
7968
7969         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Use json instead of simplejson.
7970         (BuildBotConfigLoader._create_mock_passwords_dict):
7971         (BuildBotConfigLoader._mock_open):
7972         (BuildBotConfigLoader._add_dependant_modules_to_sys_modules):
7973         (BuildBotConfigLoader.load_config):
7974
7975 2012-03-06  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
7976
7977         Qt API test buildstep throws exception after buildmaster update
7978         https://bugs.webkit.org/show_bug.cgi?id=80249
7979
7980         This patch based on Peter Gal's work.
7981
7982         Reviewed by Csaba Osztrogonác.
7983
7984         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
7985         (RunQtAPITests):
7986         (BuildAndTestFactory.__init__): Enable API tests on the Qt platform again.
7987
7988 2012-03-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
7989
7990         [Qt] Use correct define names for HAVE(FOO) style optional dependencies
7991
7992         Reviewed by Simon Hausmann.
7993         Reviewed by Ossy.
7994
7995         * DumpRenderTree/qt/DumpRenderTree.pro:
7996         * DumpRenderTree/qt/QtInitializeTestFonts.cpp:
7997         (WebKit::initializeTestFonts):
7998         * QtTestBrowser/QtTestBrowser.pro:
7999         * WebKitTestRunner/InjectedBundle/Target.pri:
8000         * qmake/mkspecs/features/features.prf:
8001
8002 2012-03-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
8003
8004         [Qt] Don't add recursive qmake_all target if there are no subdirs to recurse
8005
8006         Reviewed by Ossy.
8007
8008         * qmake/mkspecs/features/default_post.prf:
8009
8010 2012-03-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
8011
8012         [Qt] Make sure clean builds are followed by make qmake && make if needed
8013
8014         On non-GNUmake systems we have to run make qmake so that the generated
8015         sources are generated before we run qmake on the target pro files. This
8016         is achieved by using the 'incremental' target.
8017
8018         Reviewed by Ossy.
8019
8020         * Scripts/webkitdirs.pm:
8021         (buildQMakeProjects):
8022
8023 2012-03-06  Filip Pizlo  <fpizlo@apple.com>
8024
8025         DumpRenderTree should support preciseTime()
8026         https://bugs.webkit.org/show_bug.cgi?id=80397
8027
8028         Reviewed by Gavin Barraclough.
8029
8030         * DumpRenderTree/LayoutTestController.cpp:
8031         (preciseTimeCallback):
8032         (LayoutTestController::staticFunctions):
8033
8034 2012-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
8035
8036         Unreviewed, rolling out r109887.
8037         http://trac.webkit.org/changeset/109887
8038         https://bugs.webkit.org/show_bug.cgi?id=80402
8039
8040         It broke the build (Requested by Ossy on #webkit).
8041
8042         * DumpRenderTree/qt/DumpRenderTree.pro:
8043         * DumpRenderTree/qt/QtInitializeTestFonts.cpp:
8044         (WebKit::initializeTestFonts):
8045         * QtTestBrowser/QtTestBrowser.pro:
8046         * WebKitTestRunner/InjectedBundle/Target.pri:
8047         * qmake/mkspecs/features/features.prf:
8048
8049 2012-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
8050
8051         Unreviewed, rolling out r109837.
8052         http://trac.webkit.org/changeset/109837
8053         https://bugs.webkit.org/show_bug.cgi?id=80399
8054
8055         breaks Mac Productions builds, too late to try and fix it
8056         tonight (Requested by eseidel on #webkit).
8057
8058         * Scripts/build-webkit:
8059
8060 2012-03-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
8061
8062         [Qt] Use correct define names for HAVE(FOO) style optional dependencies
8063
8064         Reviewed by Simon Hausmann.
8065
8066         * DumpRenderTree/qt/DumpRenderTree.pro:
8067         * DumpRenderTree/qt/QtInitializeTestFonts.cpp:
8068         (WebKit::initializeTestFonts):
8069         * QtTestBrowser/QtTestBrowser.pro:
8070         * WebKitTestRunner/InjectedBundle/Target.pri:
8071         * qmake/mkspecs/features/features.prf:
8072
8073 2012-03-06  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
8074
8075         [Qt] Create EWS to build WebKit2
8076         https://bugs.webkit.org/show_bug.cgi?id=80277
8077
8078         Reviewed by Csaba Osztrogonác.
8079
8080         * QueueStatusServer/model/queues.py:
8081         (Queue):
8082         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
8083         (QtWK2EWS):
8084         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
8085         (EarlyWarningSytemTest.test_builder_ewses):
8086
8087 2012-03-05  Sheriff Bot  <webkit.review.bot@gmail.com>
8088
8089         Unreviewed, rolling out r109733.
8090         http://trac.webkit.org/changeset/109733
8091         https://bugs.webkit.org/show_bug.cgi?id=80378
8092
8093         It broke Qt5 build system (Requested by Ossy on #webkit).
8094
8095         * Tools.pro:
8096         * qmake/config.tests/gccdepends/empty.cpp: Removed.
8097         * qmake/config.tests/gccdepends/gccdepends.pro: Removed.
8098         * qmake/mkspecs/features/default_pre.prf:
8099         * qmake/mkspecs/features/features.prf:
8100         * qmake/mkspecs/features/unix/default_pre.prf:
8101         * qmake/sync.profile:
8102
8103 2012-03-05  Eric Seidel  <eric@webkit.org>
8104
8105         Update JavaScriptCore files to use fully-qualified WTF include path
8106         https://bugs.webkit.org/show_bug.cgi?id=79960
8107
8108         Reviewed by Adam Barth.
8109
8110         Build WTF/WTF.xcodeproj by default on Mac.
8111
8112         * Scripts/build-webkit:
8113
8114 2012-03-05  Dirk Pranke  <dpranke@chromium.org>
8115
8116         There should be a way to disable optimizer in webkit-patch rebaseline-expectations
8117         https://bugs.webkit.org/show_bug.cgi?id=69590
8118
8119         Reviewed by Ryosuke Niwa.
8120
8121         Adds a --no-optimize flag to webkit-patch rebaseline-expectations
8122         to skip the 'optimize-expectations' step.
8123
8124         * Scripts/webkitpy/tool/commands/rebaseline.py:
8125         (RebaselineExpectations.__init__):
8126         (RebaselineExpectations.execute):
8127         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
8128
8129 2012-03-05  Kent Tamura  <tkent@chromium.org>
8130
8131         [Chromium] Add new popup type: PagePopup
8132         https://bugs.webkit.org/show_bug.cgi?id=80106
8133
8134         Reviewed by Darin Fisher.
8135
8136         * DumpRenderTree/chromium/WebViewHost.cpp:
8137         (WebViewHost::createPopupMenu):
8138
8139 2012-03-05  Jessie Berlin  <jberlin@apple.com>
8140
8141         Add myself as a reviewer.
8142
8143         * Scripts/webkitpy/common/config/committers.py:
8144         Also, add my IRC nick so it is easier to find and yell at me.
8145
8146 2012-03-05  Robert Kroeger  <rjkroege@chromium.org>
8147
8148         Correctly compute the positions of GestureScroll* events on
8149         Chromium.
8150         https://bugs.webkit.org/show_bug.cgi?id=80075
8151
8152         Reviewed by Adam Barth.
8153
8154         * DumpRenderTree/chromium/EventSender.cpp:
8155         (EventSender::reset):
8156         (EventSender::gestureEvent):
8157         * DumpRenderTree/chromium/EventSender.h:
8158         (EventSender):
8159
8160 2012-03-05  Dirk Pranke  <dpranke@chromium.org>
8161
8162         flakiness dashboard doesn't display baselines for virtual tests correctly
8163         https://bugs.webkit.org/show_bug.cgi?id=80341
8164
8165         Reviewed by Ojan Vafai.
8166
8167         If the test is part of a virtual test suite, we need to look for
8168         baselines in the underlying fallback path for the actual test
8169         being run, as well as baselines for the virtual version.
8170
8171         This patch adds code to handle both branches and also pulls the
8172         mapping of the test suites up into a constant.
8173
8174         * TestResultServer/static-dashboards/flakiness_dashboard.html:
8175         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
8176         (testLookupVirtualTestSuite):
8177         (testBaseTest):
8178
8179 2012-03-05  Sheriff Bot  <webkit.review.bot@gmail.com>
8180
8181         Unreviewed, rolling out r109760.
8182         http://trac.webkit.org/changeset/109760
8183         https://bugs.webkit.org/show_bug.cgi?id=80320
8184
8185         Caused many GTK+ tests to crash (Requested by mrobinson on
8186         #webkit).
8187
8188         * gtk/jhbuild.modules:
8189
8190 2012-03-05  Charlie Reis  <creis@chromium.org>
8191
8192         [chromium] Pass WebNavigationPolicy to WebViewClient::createView
8193         https://bugs.webkit.org/show_bug.cgi?id=80057
8194
8195         Reviewed by Darin Fisher.
8196
8197         * DumpRenderTree/chromium/WebViewHost.cpp:
8198         (WebViewHost::createView):
8199         * DumpRenderTree/chromium/WebViewHost.h:
8200         (WebViewHost):
8201
8202 2012-03-05  Martin Robinson  <mrobinson@igalia.com>
8203
8204         [soup] Crash while loading http://www.jusco.cn
8205         https://bugs.webkit.org/show_bug.cgi?id=68238
8206
8207         Reviewed by Philippe Normand.
8208
8209         * gtk/jhbuild.modules: Bumped the libsoup and glib dependencies
8210         in the jhbuild file.
8211
8212 2012-03-05  Sheriff Bot  <webkit.review.bot@gmail.com>
8213
8214         Unreviewed, rolling out r109748.
8215         http://trac.webkit.org/changeset/109748
8216         https://bugs.webkit.org/show_bug.cgi?id=80296
8217
8218         Made some tests crash, will fix and recommit (Requested by
8219         noamr on #webkit).
8220
8221         * MiniBrowser/qt/main.cpp:
8222         (main):
8223
8224 2012-03-05  Zan Dobersek  <zandobersek@gmail.com>
8225
8226         [GTK] plugins/netscape-plugin-page-cache-works.html fails
8227         https://bugs.webkit.org/show_bug.cgi?id=74409
8228
8229         Reviewed by Martin Robinson.
8230
8231         Add support for overriding the page-cache-for-plugins preference
8232         through DumpRenderTreeSupport.
8233
8234         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8235         (booleanFromValue): A helper function to convert a string to boolean.
8236         (LayoutTestController::overridePreference):
8237
8238 2012-03-05  Rob Buis  <rbuis@rim.com>
8239
8240         [BlackBerry] Update Tools/DumpRenderTree
8241         https://bugs.webkit.org/show_bug.cgi?id=80287
8242
8243         Reviewed by Antonio Gomes.
8244
8245         Update so we are sure we can build our implementation of DRT.
8246
8247         * DumpRenderTree/DumpRenderTree.h: include DumpRenderTreeBlackBerry.h.
8248         * DumpRenderTree/PixelDumpSupport.cpp: include PixelDumpSupportBlackBerry.h.
8249         * DumpRenderTree/blackberry/AccessibilityControllerBlackBerry.cpp:
8250         (AccessibilityController::addNotificationListener): add missing hook.
8251         (AccessibilityController::removeNotificationListener): add missing hook.
8252         * DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp:
8253         (AccessibilityUIElement::isSelectedOptionActive): add missing hook.
8254         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
8255         (LayoutTestController::setMockSpeechInputDumpRect): add missing hook.
8256         (LayoutTestController::simulateDesktopNotificationClick): add missing hook.
8257
8258 2012-03-05  No'am Rosenthal  <noam.rosenthal@nokia.com>
8259
8260         [Qt] [WK2] Support threaded renderer in WK2
8261         https://bugs.webkit.org/show_bug.cgi?id=76661
8262
8263         Remove the QML_NO_THREADED_RENDERER environment variable from MiniBrowser.
8264
8265         Reviewed by Kenneth Rohde Christiansen.
8266
8267         * MiniBrowser/qt/main.cpp:
8268         (main):
8269
8270 2012-03-05  Alexander Færøy  <alexander.faeroy@nokia.com>
8271
8272         Unreviewed. Add myself to committer list.
8273
8274         * Scripts/webkitpy/common/config/committers.py:
8275
8276 2012-03-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
8277
8278         [Qt] Use config test to determine if the compiler supports -MD
8279
8280         We used to assume that unix systems building against Qt5 would have
8281         a compiler that supported -MD. Although this was usually the case,
8282         we failed to take into account broken tools for distributed builds
8283         (e.g. teambuilder or icecream) which would end up producing .d files
8284         in the root of the build dir instead of along-side the object file.
8285
8286         Now that we use a config-test to determine the support, we'll capture
8287         those cases, unless distributed builds are enabled after the initial
8288         build-webkit run.
8289
8290         Reviewed by Csaba Osztrogonác.
8291
8292         * Tools.pro:
8293         * qmake/config.tests/gccdepends/empty.cpp: Added.
8294         * qmake/config.tests/gccdepends/gccdepends.pro: Added.
8295         * qmake/mkspecs/features/default_pre.prf:
8296         * qmake/mkspecs/features/features.prf:
8297         * qmake/mkspecs/features/unix/default_pre.prf:
8298         * qmake/sync.profile:
8299
8300 2012-03-05  Csaba Osztrogonác  <ossy@webkit.org>
8301
8302         Qt API test buildstep throws exception after buildmaster update
8303         https://bugs.webkit.org/show_bug.cgi?id=80249
8304
8305         Reviewed by Zoltan Herczeg.
8306
8307         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Disable API tests on the Qt bot temporarily.
8308         (BuildAndTestFactory.__init__):
8309
8310 2012-03-04  Martin Robinson  <mrobinson@igalia.com>
8311
8312         [GTK] Unit tests are noisy when run under jhbuild
8313         https://bugs.webkit.org/show_bug.cgi?id=80241
8314
8315         Reviewed by Philippe Normand.
8316
8317         Force the 'memory' backend in GSettings so that each unit
8318         test doesn't produce a warning when it's forced to fall back
8319         to the 'memory' backend.
8320
8321         * Scripts/run-gtk-tests:
8322         (TestRunner.run): Force the 'memory' backend.
8323
8324 2012-03-04  Martin Robinson  <mrobinson@igalia.com>
8325
8326         [GTK] "Console: undefined @0: ReferenceError: Can't find variable: WebInspector" during testwebinspector
8327         https://bugs.webkit.org/show_bug.cgi?id=80235
8328
8329         Reviewed by Philippe Normand.
8330
8331         * Scripts/run-gtk-tests:
8332         (TestRunner.run): Use the WEBKIT_INSPECTOR_PATH environment variable so that
8333         inspector resources path determination is shared by all tests.
8334
8335 2012-03-04  Martin Robinson  <mrobinson@igalia.com>
8336
8337         [GTK] REGRESSION: r108278 broke some tests that expect focus
8338         https://bugs.webkit.org/show_bug.cgi?id=79084
8339
8340         Reviewed by Philippe Normand.
8341
8342         Grab focus when dumping test results and also when sending
8343         events. During the course of testing, the WebView may lose
8344         focus and this seems to snap it back when tests demand it.
8345
8346         * DumpRenderTree/gtk/DumpRenderTree.cpp:
8347         (dump): Grab focus.
8348         * DumpRenderTree/gtk/EventSender.cpp:
8349         (dispatchEvent): Ditto.
8350
8351 2012-03-04  Charles Wei  <charles.wei@torchmobile.com.cn>
8352
8353         Unreviewed, Add myself to committer list.
8354         https://bugs.webkit.org/show_bug.cgi?id=80232
8355
8356         * Scripts/webkitpy/common/config/committers.py:
8357
8358 2012-03-04  Anders Carlsson  <andersca@apple.com>
8359
8360         Newer versions of clang fail to compile WebKit.
8361
8362         Fix build.
8363
8364         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
8365         (descriptionOfValue):
8366         (AccessibilityUIElement::rowIndexRange):
8367         (AccessibilityUIElement::columnIndexRange):
8368         (AccessibilityUIElement::selectedTextRange):
8369         * DumpRenderTree/mac/EditingDelegate.mm:
8370         (-[DOMRange dump]):
8371         * DumpRenderTree/mac/PolicyDelegate.mm:
8372         (-[PolicyDelegate webView:unableToImplementPolicyWithError:frame:]):
8373         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
8374         (-[NSError _drt_descriptionSuitableForTestResult]):
8375         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
8376         (WTR::descriptionOfValue):
8377         (WTR::AccessibilityUIElement::rowIndexRange):
8378         (WTR::AccessibilityUIElement::columnIndexRange):
8379         (WTR::AccessibilityUIElement::selectedTextRange):
8380
8381 2012-03-03  Simon Hausmann  <simon.hausmann@nokia.com>
8382
8383         [Qt] Fix static_libs_as_shared build
8384         https://bugs.webkit.org/show_bug.cgi?id=80214
8385
8386         Reviewed by Tor Arne Vestbø.
8387
8388         * WebKitTestRunner/qt/main.cpp:
8389         (main): Set the correct environment variable for choosing the theme in the
8390         web process.
8391
8392 2012-03-03  Hans Wennborg  <hans@chromium.org>
8393
8394         Implement Speech JavaScript API
8395         https://bugs.webkit.org/show_bug.cgi?id=80019
8396
8397         Reviewed by Adam Barth.
8398
8399         Add ENABLE_SCRIPTED_SPEECH.
8400
8401         * Scripts/build-webkit:
8402         * qmake/mkspecs/features/features.prf:
8403
8404 2012-03-02  Alexey Proskuryakov  <ap@apple.com>
8405
8406         Fix commit queue, remove duplicate entry.
8407
8408         * Scripts/webkitpy/common/config/committers.py:
8409
8410 2012-03-02  Stephen Chenney  <schenney@chromium.org>
8411
8412         Unreviewed, add myself as a committer
8413
8414         * Scripts/webkitpy/common/config/committers.py:
8415
8416 2012-03-02  Ojan Vafai  <ojan@chromium.org>
8417
8418         Add the Chromium Lion canary bot to the flakiness dashboard.
8419         * TestResultServer/static-dashboards/builders.js:
8420
8421 2012-03-02  Dirk Pranke  <dpranke@chromium.org>
8422
8423         links for virtual tests are broken in the flakiness dashboard
8424         https://bugs.webkit.org/show_bug.cgi?id=80180
8425
8426         Reviewed by Ojan Vafai.
8427
8428         * TestResultServer/static-dashboards/flakiness_dashboard.html:
8429         (linkHTMLToOpenWindow):
8430         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
8431         (testLinkHTMLToOpenWindow): added.
8432
8433 2012-03-02  Philippe Normand  <pnormand@igalia.com>
8434
8435         [GTK] security/block-test.html baselines differ from mac
8436         https://bugs.webkit.org/show_bug.cgi?id=78343
8437
8438         Reviewed by Martin Robinson.
8439
8440         Improved the FrameLoader error heuristics to match mac behavior a
8441         bit more.
8442
8443         * DumpRenderTree/gtk/DumpRenderTree.cpp:
8444         (pathFromSoupURI): Handle ftp urls the same as http urls.
8445         (descriptionSuitableForTestResult): Map WebKitPolicyError to WebKitErrorDomain.
8446
8447 2012-03-02  Andras Becsi  <andras.becsi@nokia.com>
8448
8449         [Qt][WK2] Fix typo in patch committed in r109575
8450
8451         Unreviewed typo fix.
8452
8453         * MiniBrowser/qt/MiniBrowserApplication.cpp:
8454         (MiniBrowserApplication::notify): Cache the position
8455         in floating point coordinates.
8456
8457 2012-03-02  Andras Becsi  <andras.becsi@nokia.com>
8458
8459         [Qt][WK2] Infinite loop on history navigation, when panning
8460         https://bugs.webkit.org/show_bug.cgi?id=79119
8461
8462         Reviewed by Simon Hausmann.
8463
8464         Make the touch mocking more robust by creating touch events
8465         directly and sending them synchronously to the browser window.
8466         If the sent touch event was not accepted we propagate the
8467         original mouse event to its target.
8468         This way we make sure we only send either a touch or a mouse
8469         event and do not end up in an infinite loop between our mocking
8470         code and the Qt5 automatic mouse event synthesizing.
8471
8472         * MiniBrowser/qt/BrowserWindow.cpp:
8473         (BrowserWindow::updateVisualMockTouchPoints):
8474         * MiniBrowser/qt/BrowserWindow.h:
8475         (BrowserWindow):
8476         * MiniBrowser/qt/MiniBrowserApplication.cpp:
8477         (touchRectForPosition):
8478         (MiniBrowserApplication::notify):
8479         (MiniBrowserApplication::sendTouchEvent):
8480         * MiniBrowser/qt/MiniBrowserApplication.h:
8481         (MiniBrowserApplication):
8482
8483 2012-03-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
8484
8485         [Qt] Use 'all' as default target when debug_and_release is in effect
8486
8487         When debug_and_release is enabled, in combination with build_all,
8488         qmake will generate an aggregate makefile that calls make on both
8489         the debug and the release makefiles, but with the 'all' target.
8490
8491         In this case we can't use 'first' as the default target, as the
8492         extra targets would then not be run, so we append extra targets
8493         to 'all' instead.
8494
8495         Reviewed by Simon Hausmann.
8496
8497         * qmake/mkspecs/features/default_post.prf:
8498
8499 2012-03-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
8500
8501         [Qt] Make sure activeBuildConfig() returns the right config
8502
8503         Using isActiveConfig fails, as that only checks if the given
8504         argument is in CONFIG, not the order.
8505
8506         Reviewed by Simon Hausmann.
8507
8508         * qmake/mkspecs/features/functions.prf:
8509
8510 2012-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
8511
8512         [Qt] Fix tests run with WTR not using QStyle theme
8513         https://bugs.webkit.org/show_bug.cgi?id=80147
8514
8515         Reviewed by Csaba Osztrogonác.
8516
8517         * WebKitTestRunner/qt/main.cpp:
8518         (main): Set environment variable for web process to use QStyle theme.
8519
8520 2012-03-02  Philippe Normand  <pnormand@igalia.com>
8521
8522         Unreviewed, remove debug print call.
8523
8524         * DumpRenderTree/gtk/DumpRenderTree.cpp:
8525         (descriptionSuitableForTestResult):
8526
8527 2012-03-02  Robert Kroeger  <rjkroege@chromium.org>
8528
8529         Updated EventSender to send complete gesture events.
8530         https://bugs.webkit.org/show_bug.cgi?id=80075
8531
8532         Reviewed by Adam Barth.
8533
8534         * DumpRenderTree/chromium/EventSender.cpp:
8535         (EventSender::gestureEvent): set additional parameters in sent events.
8536
8537 2012-03-01  Kalev Lember  <kalevlember@gmail.com>
8538
8539         WebKitTestRunner: Explicitly include unistd.h for gcc 4.7
8540         https://bugs.webkit.org/show_bug.cgi?id=80033
8541
8542         Reviewed by Gustavo Noronha Silva.
8543
8544         GCC 4.7 no longer includes unistd.h from most of the standard C++
8545         header files, so we need to explicitly include it for getcwd().
8546
8547         * WebKitTestRunner/TestInvocation.cpp: Make sure unistd.h gets included
8548         not only on Mac, but on all Unix platforms.
8549
8550 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
8551
8552         Actually look at the args in driver_input :(.
8553
8554         Unreviewed, build fix.
8555
8556         * Scripts/webkitpy/layout_tests/port/chromium.py:
8557         (ChromiumDriver.run_test):
8558
8559 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
8560
8561         Fix typo in flag used to run gpu virtual suites.
8562
8563         Unreviewed, build fix.
8564
8565         * Scripts/webkitpy/layout_tests/port/chromium.py:
8566         (ChromiumPort.virtual_test_suites):
8567
8568 2012-03-01  Adam Barth  <abarth@webkit.org>
8569
8570         Unreviewed, rolling out r109317.
8571         http://trac.webkit.org/changeset/109317
8572
8573         Let's try watchlists again now that we're using a pure git
8574         working copy
8575
8576         * Scripts/webkitpy/tool/bot/stylequeuetask.py:
8577         (StyleQueueTask.run):
8578         * Scripts/webkitpy/tool/commands/queues_unittest.py:
8579
8580 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
8581
8582         webkitpy: test_run_test_pause_before_testing is failing after r109482
8583         https://bugs.webkit.org/show_bug.cgi?id=80084
8584
8585         Unreviewed, build fix.
8586
8587         Fixes the test string compare to ignore the time spent running
8588         the tests.
8589
8590         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
8591         (test_run_test_pause_before_testing):
8592
8593 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
8594
8595         nrwt: virtual tests aren't being run
8596         https://bugs.webkit.org/show_bug.cgi?id=80083
8597
8598         Reviewed by Eric Seidel.
8599
8600         If we tried to run all of the tests by default (and
8601         didn't specify any paths), the virtual tests weren't
8602         picked up.
8603
8604         * Scripts/webkitpy/layout_tests/port/base.py:
8605         (Port._virtual_tests):
8606         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
8607         (PortTest.test_tests):
8608         * Scripts/webkitpy/layout_tests/port/test.py:
8609         (TestPort.virtual_test_suites):
8610
8611 2012-03-01  Ryosuke Niwa  <rniwa@webkit.org>
8612
8613         run-perf-tests should report the test runtime
8614         https://bugs.webkit.org/show_bug.cgi?id=80078
8615
8616         Reviewed by Hajime Morita.
8617
8618         Record and output the aggreated test run time.
8619
8620         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
8621         (PerfTestsRunner._run_single_test):
8622
8623 2012-03-01  Michael Nordman  <michaeln@google.com>
8624
8625         [chromium] Use webkit_support to create session storage namespaces in DRT.
8626         https://bugs.webkit.org/show_bug.cgi?id=79933
8627
8628         Reviewed by Tony Chang.
8629
8630         * DumpRenderTree/chromium/WebViewHost.cpp:
8631         (WebViewHost::createSessionStorageNamespace):
8632
8633 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
8634
8635         nrwt: test_isfile, test_isdir, and test_exists don't work for virtual tests
8636         https://bugs.webkit.org/show_bug.cgi?id=80048
8637
8638         Reviewed by Adam Barth.
8639
8640         * Scripts/webkitpy/layout_tests/port/base.py:
8641         (Port.test_isfile):
8642         (Port.test_isdir):
8643         (Port):
8644         (Port.test_exists):
8645         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
8646         (PortTest.test_test_exists):
8647         (PortTest):
8648         (PortTest.test_test_isfile):
8649         (PortTest.test_test_isdir):
8650         * Scripts/webkitpy/layout_tests/port/test.py:
8651         (TestPort.virtual_test_suites):
8652         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
8653         (MainTest.test_virtual):
8654
8655 2012-03-01  Kalev Lember  <kalevlember@gmail.com>
8656
8657         [GTK] Avoid building any parts of WebKitTestRunner when WK2 is disabled
8658         https://bugs.webkit.org/show_bug.cgi?id=80031
8659
8660         Reviewed by Gustavo Noronha Silva.
8661
8662         Only build the libTestRunnerInjectedBundle.la convenience library when
8663         ENABLE_WEBKIT2 is defined.
8664
8665         * WebKitTestRunner/GNUmakefile.am:
8666
8667 2012-03-01  Philippe Normand  <pnormand@igalia.com>
8668
8669         Unreviewed, second attempt to fix GTK NRWT after r109242.
8670
8671         * Scripts/webkitpy/layout_tests/port/gtk.py:
8672         (GtkDriver._start):
8673
8674 2012-03-01  Philippe Normand  <pnormand@igalia.com>
8675
8676         Unreviewed, GTK NRWT build fix attempt after r109242.
8677
8678         * Scripts/webkitpy/layout_tests/port/gtk.py:
8679         (GtkDriver._start):
8680
8681 2012-03-01  Kentaro Hara  <haraken@chromium.org>
8682
8683         REGRESSION(r109036): run-bindings-tests fails because resolve-supplemental.pl was renamed
8684         https://bugs.webkit.org/show_bug.cgi?id=80008
8685
8686         Reviewed by Adam Barth.
8687
8688         In r109036, I forgot to rename "resolve-supplemental.pl" in run-bindings-tests
8689         to "preprocess-idls.pl". This patch renames it.
8690
8691         Test: Confirm that run-bindings-tests runs.
8692
8693         * Scripts/webkitpy/bindings/main.py:
8694         (BindingsTests.generate_supplemental_dependency):
8695
8696 2012-02-29  Simon Hausmann  <simon.hausmann@nokia.com>
8697
8698         [Qt][WK2] QQuickWebView::event should lookup faster which events QQuickWebPage can handle
8699         https://bugs.webkit.org/show_bug.cgi?id=78047
8700
8701         Reviewed by Kenneth Rohde Christiansen.
8702
8703         Send events for the webview through the QQuickCanvas instead of directly to the item. Direct
8704         sending to the item requires the QObject::event re-implementation to dispatch to the correct
8705         event handling function. However QQuickItem::event doesn't do that. Instead QQuickCanvas calls
8706         the event handlers directly, and with the removal of our own dispatching we need to go through
8707         that code path.
8708
8709         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
8710         (WTR::PlatformWebView::sendEvent):
8711         (WTR::PlatformWebView::postEvent):
8712
8713 2012-02-29  Adam Barth  <abarth@webkit.org>
8714
8715         Disable watchlist.  It's been spamming CCs.
8716
8717         * Scripts/webkitpy/tool/bot/stylequeuetask.py:
8718         (StyleQueueTask.run):
8719         * Scripts/webkitpy/tool/commands/queues_unittest.py:
8720
8721 2012-02-29  Dirk Pranke  <dpranke@chromium.org>
8722
8723         need to clone the gpu baselines and expectations into the new "virtual" dir
8724         https://bugs.webkit.org/show_bug.cgi?id=79956
8725
8726         Reviewed by Adam Barth.
8727
8728         * Scripts/webkitpy/layout_tests/port/chromium.py:
8729         (ChromiumPort.virtual_test_suites):
8730
8731 2012-02-29  Mark Rowe  <mrowe@apple.com>
8732
8733         Switch to using json rather than simplejson now that the master is using Python 2.7.
8734
8735         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
8736         (loadBuilderConfig):
8737
8738 2012-02-29  David Levin  <levin@chromium.org>
8739
8740         [chromium] Add the ability to turn off autoresize.
8741         https://bugs.webkit.org/show_bug.cgi?id=77452
8742
8743         Reviewed by Darin Fisher.
8744
8745         * DumpRenderTree/chromium/LayoutTestController.cpp:
8746         (LayoutTestController::LayoutTestController): Expose a way to turn off auto-resize.
8747         (LayoutTestController::enableAutoResizeMode): Ditto and adjust to new WebKit api.
8748         (LayoutTestController::disableAutoResizeMode):  Ditto.
8749         * DumpRenderTree/chromium/LayoutTestController.h: Ditto.
8750
8751 2012-02-29  Dirk Pranke  <dpranke@chromium.org>
8752
8753         nrwt: make --print trace work with virtual tests
8754         https://bugs.webkit.org/show_bug.cgi?id=79952
8755
8756         Reviewed by Adam Barth.
8757
8758         * Scripts/webkitpy/layout_tests/views/printing.py:
8759         (Printer._print_test_trace):
8760         (Printer._print_baseline):
8761
8762 2012-02-28  Brian Weinstein  <bweinstein@apple.com>
8763
8764         WebKit2: didNewFirstVisuallyNonEmptyLayout should be sent to injected bundle
8765         https://bugs.webkit.org/show_bug.cgi?id=79849
8766
8767         Reviewed by Beth Dakin.
8768
8769         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
8770         (WTR::InjectedBundlePage::InjectedBundlePage): Add an entry to the struct.
8771
8772 2012-02-29  Lucas Forschler  <lforschler@apple.com>
8773
8774         Removed unused Apple buildslaves from the master configuration
8775         https://bugs.webkit.org/show_bug.cgi?id=79925
8776
8777         Reviewed by Stephanie Lewis.
8778
8779         * BuildSlaveSupport/build.webkit.org-config/config.json:
8780
8781 2012-02-29  Dirk Pranke  <dpranke@chromium.org>
8782
8783         nrwt: implement simple 'virtual test suite' support
8784         https://bugs.webkit.org/show_bug.cgi?id=79737
8785
8786         Reviewed by Adam Barth.
8787
8788         Add very basic support for 'virtual test suites' to NRWT:
8789         a virtual suite is a directory that may contain new baselines,
8790         contains a pointer to a "base" directory of tests, and an
8791         optional list of command line arguments to pass to DRT;
8792         it gives us a way to run all of the tests in a given directory
8793         multiple times with multiple (potentially differing) sets of
8794         results and baselines.
8795
8796         This patch implements the support needed for this feature, and
8797         some basic tests, but no actual port will use the feature yet.
8798
8799         This is probably the simplest implementation possible - the
8800         list of virtual suites will be hard-coded into the port's
8801         implementation. One can imagine a more data-driven approach
8802         where the suite instructions are stored in a manifest file
8803         either in LayoutTests (all suites in one file), or per-port,
8804         or per-directory. If this feature ends up being useful we
8805         should probably add something like that so people don't have
8806         to hunt around in the code to add suites.
8807
8808         * Scripts/webkitpy/layout_tests/port/base.py:
8809         (Port.__init__):
8810         (Port.expected_filename):
8811         (Port.tests):
8812         (Port):
8813         (Port._real_tests):
8814         (Port._driver_class):
8815         (Port.virtual_test_suites):
8816         (Port.virtual_suite):
8817         (Port.virtual_suite.VirtualTestSuite):
8818         (Port.virtual_suite.VirtualTestSuite.__init__):
8819         (Port.virtual_suite.VirtualTestSuite.__repr__):
8820         (Port.populated_virtual_test_suites):
8821         (Port._virtual_tests):
8822         (Port.lookup_virtual_test_base):
8823         (Port.lookup_virtual_test_args):
8824         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
8825         (PortTest.test_find_with_skipped_directories):
8826         * Scripts/webkitpy/layout_tests/port/driver.py:
8827         (DriverInput.__init__):
8828         (DriverProxy.run_test):
8829         * Scripts/webkitpy/layout_tests/port/test.py:
8830         (TestPort.virtual_test_suites):
8831         (TestDriver.run_test):
8832         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
8833         (MainTest.test_all):
8834         (MainTest.test_virtual):
8835
8836 2012-02-29  Dirk Pranke  <dpranke@chromium.org>
8837
8838         nrwt: support more than two drivers in DriverProxy
8839         https://bugs.webkit.org/show_bug.cgi?id=79736
8840
8841         Reviewed by Adam Barth.
8842
8843         Now that we can support per-test command lines for
8844         Drivers, modify DriverProxy to keep a map of running
8845         drivers for each needed command-line; this will allow
8846         us to transparently maintain a pool of appropriately
8847         configured DRTs without having to constantly start and stop
8848         them.
8849
8850         Note that this potentially raises a garbage collection
8851         problem - the number of running DRTs will grow with the
8852         number of different sets of command line args. For now
8853         this is no worse than the current code - if you're running
8854         with pixel tests, you will only need one DRT per worker,
8855         and if you aren't, you'll need two (one for text-only tests,
8856         and one for reftests).
8857
8858         An alternative would be to only ever have one running driver,
8859         and restart the driver as the command line changes, but this
8860         might (?) slow down execution in the text-only case - we
8861         should benchmark this because it would be simpler and possibly
8862         allow us to eliminate DriverProxy altogether.
8863
8864         * Scripts/webkitpy/layout_tests/port/driver.py:
8865         (DriverProxy.__init__):
8866         (DriverProxy):
8867         (DriverProxy._make_driver):
8868         (DriverProxy.run_test):
8869         (DriverProxy.has_crashed):
8870         (DriverProxy.stop):
8871         (DriverProxy.cmd_line):
8872         (DriverProxy._cmd_line_as_key):
8873
8874 2012-02-29  Adrienne Walker  <enne@google.com>
8875
8876         Unreviewed, add myself as a reviewer
8877
8878         * Scripts/webkitpy/common/config/committers.py:
8879
8880 2012-02-29  Greg Billock  <gbillock@google.com>
8881
8882         Add more tests for web intents
8883         https://bugs.webkit.org/show_bug.cgi?id=79527
8884
8885         Reviewed by Adam Barth.
8886
8887         * DumpRenderTree/chromium/LayoutTestController.cpp:
8888         (LayoutTestController::LayoutTestController):
8889         (LayoutTestController::sendWebIntentResponse):
8890         * DumpRenderTree/chromium/LayoutTestController.h:
8891         (LayoutTestController):
8892         * DumpRenderTree/chromium/WebViewHost.h:
8893         (WebViewHost):
8894         (WebViewHost::currentIntentRequest):
8895
8896 2012-02-29  Dirk Pranke  <dpranke@chromium.org>
8897
8898         nrwt: port/Driver needs to support per-test command line args
8899         https://bugs.webkit.org/show_bug.cgi?id=79733
8900
8901         Reviewed by Adam Barth.
8902
8903         As part of removing the 'gpu' configurations and adding support
8904         for 'virtual test suites', the Driver classes need to support
8905         per-test command lines (since different tests will need to be
8906         run with different command line options).
8907
8908         The per-test args are not yet used, so this change should have
8909         no visible effects and need no additional testing.
8910
8911         * Scripts/webkitpy/layout_tests/port/base.py:
8912         (Port.driver_cmd_line):
8913         * Scripts/webkitpy/layout_tests/port/chromium.py:
8914         (ChromiumDriver.cmd_line):
8915         (ChromiumDriver._start):
8916         (ChromiumDriver.start):
8917         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
8918         (ChromiumDriverTest.test_two_drivers.MockDriver.cmd_line):
8919         (ChromiumDriverTest):
8920         (ChromiumDriverTest.test_two_drivers):
8921         * Scripts/webkitpy/layout_tests/port/driver.py:
8922         (Driver.cmd_line):
8923         (DriverProxy.__init__):
8924         (DriverProxy.start):
8925         (DriverProxy.cmd_line):
8926         * Scripts/webkitpy/layout_tests/port/driver_unittest.py:
8927         (DriverTest.test_virtual_driver_methods):
8928         * Scripts/webkitpy/layout_tests/port/gtk.py:
8929         (GtkDriver.cmd_line):
8930         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
8931         * Scripts/webkitpy/layout_tests/port/test.py:
8932         (TestPort._path_to_driver):
8933         (TestDriver.cmd_line):
8934         (TestDriver.start):
8935         * Scripts/webkitpy/layout_tests/port/webkit.py:
8936         (WebKitDriver.cmd_line):
8937         (WebKitDriver._start):
8938         (WebKitDriver.run_test):
8939         (WebKitDriver.start):
8940         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
8941         (WebKitDriverTest.test_no_timeout):
8942         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
8943         (PerfTestsRunner._run_tests_set):
8944         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
8945         (test_run_test_pause_before_testing):
8946
8947 2012-02-29  Dirk Pranke  <dpranke@chromium.org>
8948
8949         perftestsrunner can call printer.write() after printer.cleanup()
8950         https://bugs.webkit.org/show_bug.cgi?id=79872
8951
8952         Reviewed by Ryosuke Niwa.
8953
8954         This patch fixes a unittest that was incorrectly calling
8955         PerfTestsRunner.run() twice (which led to a weird state in the
8956         printer object).
8957
8958         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
8959         (MainTest.test_run_with_upload_json):
8960
8961 2012-02-29  Balazs Kelemen  <kbalazs@webkit.org>
8962
8963         [Qt][WK2] WebKitTestRunner should use 480x360 sized view for W3C SVG tests
8964         https://bugs.webkit.org/show_bug.cgi?id=76546
8965
8966         Reviewed by Simon Hausmann.
8967
8968         Revert the workaround introduced in r107868 and reintroduce
8969         the qml binding so we can test the code path that we are more
8970         interested in. The reason that it did not work before is that
8971         we don't have an active platform window which we now workaround
8972         by propagating the resize through QWindowSystemInterface.
8973
8974         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
8975         (WTR::WrapperWindow::handleStatusChanged):
8976         (WTR::PlatformWebView::resizeTo):
8977
8978 2012-02-29  Gabor Rapcsanyi  <rgabor@webkit.org>
8979
8980         [GTK] Small fix for cross compilation to not generate gtkdoc.
8981
8982         Rubber-stamped by Csaba Osztrogonác.
8983
8984         * Scripts/webkitdirs.pm:
8985         (isCrossCompilation):
8986
8987 2012-02-28  Lucas Forschler  <lforschler@apple.com>
8988
8989         Fix a typo in config.json
8990         linx -> linux
8991         
8992         * BuildSlaveSupport/build.webkit.org-config/config.json:
8993
8994 2012-02-28  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
8995
8996         [Qt] Allow read/write to the WebView.url property
8997         https://bugs.webkit.org/show_bug.cgi?id=77554
8998
8999         Reviewed by Tor Arne Vestbø.
9000
9001         Fix MiniBrowser to use WebView.url property and remove WebView.load usage.
9002
9003         * MiniBrowser/qt/qml/BrowserWindow.qml:
9004
9005 2012-02-28  Dan Winship  <danw@gnome.org>
9006
9007         [GTK] make tests explicitly request GSettingsBackendMemory
9008         https://bugs.webkit.org/show_bug.cgi?id=79788
9009
9010         Reviewed by Martin Robinson.
9011
9012         Explicitly request the fallback memory-based GSettings backend; if
9013         other backends are available then we don't want to use them,
9014         because they would make tests depend on the user's preferences.
9015         And if other backends aren't available, we don't need glib to
9016         print a warning about that fact.
9017
9018         * Scripts/webkitpy/layout_tests/port/gtk.py:
9019         (GtkPort.setup_environ_for_server):
9020
9021 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
9022
9023         Unreviewed, rolling out r109110.
9024         http://trac.webkit.org/changeset/109110
9025         https://bugs.webkit.org/show_bug.cgi?id=79806
9026
9027         webkitpy makes it too easy to add wkb.ug URLs to ChangeLogs
9028         (Requested by aroben on #webkit).
9029
9030         * Scripts/webkitpy/common/checkout/changelog.py:
9031         (parse_bug_id):
9032         (parse_bug_id_from_changelog):
9033         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
9034         * Scripts/webkitpy/common/config/urls.py:
9035
9036 2012-02-28  Adam Roben  <aroben@webkit.org>
9037
9038         Add my new email address
9039
9040         Fixes <http://wkb.ug/79797> Adam Roben's email address in webkitpy is soon to be incorrect
9041
9042         Reviewed by Anders Carlsson.
9043
9044         * Scripts/webkitpy/common/config/committers.py:
9045
9046 2012-02-28  Adam Roben  <aroben@apple.com>
9047
9048         Teach webkitpy about wkb.ug URLs
9049
9050         Fixes <http://wkb.ug/79799> webkit-patch can't find bug numbers from ChangeLog entries that
9051         use wkb.ug URLs
9052
9053         Reviewed by Anders Carlsson.
9054
9055         * Scripts/webkitpy/common/checkout/changelog.py:
9056         (parse_bug_id):
9057         (parse_bug_id_from_changelog):
9058         Fall back to the tiny URL format if neither the short nor long URL formats work.
9059
9060         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
9061         (ChangeLogTest.test_parse_bug_id_from_changelog): Added tests for the above changes.
9062
9063         * Scripts/webkitpy/common/config/urls.py: Added bug_url_tiny, which can be used to match
9064         wkb.ug URLs.
9065
9066 2012-02-28  János Badics  <dicska@gmail.com>
9067
9068         [Qt] build-webkit does not detect the number of CPUs
9069         https://bugs.webkit.org/show_bug.cgi?id=76445
9070
9071         Based on Seo Sanghyeon's work (modification:
9072         Automatically determine the number of CPUs for make
9073         only if -j make argument haven't already been specified.)
9074
9075         Reviewed by Csaba Osztrogonác.
9076
9077         * Scripts/webkitdirs.pm:
9078         (buildQMakeProjects):
9079
9080 2012-02-28  Kent Tamura  <tkent@chromium.org>
9081
9082         Update a pattern for forms files of watchlist
9083         https://bugs.webkit.org/show_bug.cgi?id=79767
9084
9085         Reviewed by Kentaro Hara.
9086
9087         * Scripts/webkitpy/common/config/watchlist:
9088         Catches the following files with the "Forms" pattern.
9089         - HTMLDatListElement.*
9090         - HTMLKeygenElement.*
9091         - HTMLLegendElement.*
9092         - HTMLOutputElement.*
9093         - FormAssociatedElement.*
9094         - SliderThumbElement.*
9095         - TextControlInnerElements.*
9096         - RenderFileUploadControl.*
9097
9098 2012-02-27  Sheriff Bot  <webkit.review.bot@gmail.com>
9099
9100         Unreviewed, rolling out r109041.
9101         http://trac.webkit.org/changeset/109041
9102         https://bugs.webkit.org/show_bug.cgi?id=79741
9103
9104         Broke Chromium Win build (Requested by bashi on #webkit).
9105
9106         * DumpRenderTree/chromium/LayoutTestController.cpp:
9107         (LayoutTestController::LayoutTestController):
9108         * DumpRenderTree/chromium/LayoutTestController.h:
9109         (LayoutTestController):
9110         * DumpRenderTree/chromium/WebViewHost.h:
9111
9112 2012-02-27  James Robinson  <jamesr@chromium.org>
9113
9114         [chromium] Remove media tests from ChromiumGpu configurations
9115         https://bugs.webkit.org/show_bug.cgi?id=79720
9116
9117         Reviewed by Adam Barth.
9118
9119         We no longer need to run the media/ tests in both GPU and non-GPU configurations since we can exercise the GPU
9120         composited playback path via tests in the compositing/ directory.
9121
9122         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
9123         (_default_tests_paths):
9124         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
9125         (ChromiumGpuTest.test_default_tests_paths):
9126         (ChromiumGpuTest.test_test_files):
9127
9128 2012-02-27  Dirk Pranke  <dpranke@chromium.org>
9129
9130         nrwt: log multiline stderr/crash output properly
9131         https://bugs.webkit.org/show_bug.cgi?id=79722
9132
9133         Reviewed by Adam Barth.
9134
9135         This cleans up some nits in the log output to make things
9136         slightly easier to read (every line gets timestamped, etc.).
9137
9138         Also tweaks the log message for pixel hash mismatches.
9139
9140         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
9141         (SingleTestRunner._handle_error):
9142         (SingleTestRunner._compare_image):
9143
9144 2012-02-27  Ryosuke Niwa  <rniwa@webkit.org>
9145
9146         Touch the master.cfg to force a reconfig.
9147
9148         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
9149         (BuildAndTestLeaksFactory):
9150         (NewBuildAndTestFactory):
9151
9152 2012-02-27  Jacky Jiang  <zhajiang@rim.com>
9153
9154         [BlackBerry] Upstream BlackBerry API web page related files
9155         https://bugs.webkit.org/show_bug.cgi?id=74380
9156
9157         Reviewed by Antonio Gomes.
9158
9159         Adapt to the removing of WebPage::mainFrame(), use
9160         DumpRenderTreeSupport::corePage() and its mainFrame() instead.
9161
9162         No new tests as this patch doesn't change behavior.
9163
9164         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
9165         (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
9166         (BlackBerry::WebKit::DumpRenderTree::runTests):
9167
9168 2012-02-27  Ryosuke Niwa  <rniwa@webkit.org>
9169
9170         Add Windows and Linux Chromium perf bots
9171         https://bugs.webkit.org/show_bug.cgi?id=79418
9172
9173         Reviewed by Tony Chang.
9174
9175         Add Chromium Win and Linux perf bots. Also replace Chromium Mac by
9176         the dedicated perf bot slave (uses the same hardware).
9177
9178         * BuildSlaveSupport/build.webkit.org-config/config.json:
9179
9180 2012-02-27  Xianzhu Wang  <wangxianzhu@chromium.org>
9181
9182         Undefined variable 'current' when running chromium_android.py
9183         https://bugs.webkit.org/show_bug.cgi?id=79696
9184
9185         Reviewed by Adam Barth.
9186
9187         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
9188         (ChromiumAndroidDriver._read_prompt):
9189
9190 2012-02-27  Greg Billock  <gbillock@google.com>
9191
9192         Add more tests for web intents
9193         https://bugs.webkit.org/show_bug.cgi?id=79527
9194
9195         Reviewed by Adam Barth.
9196
9197         * DumpRenderTree/chromium/LayoutTestController.cpp:
9198         (LayoutTestController::LayoutTestController):
9199         (LayoutTestController::sendWebIntentResponse):
9200         * DumpRenderTree/chromium/LayoutTestController.h:
9201         (LayoutTestController):
9202         * DumpRenderTree/chromium/WebViewHost.h:
9203         (WebViewHost):
9204         (WebViewHost::currentIntentRequest):
9205
9206 2012-02-27  Xianzhu Wang  <wangxianzhu@chromium.org>
9207
9208         Chromium-Android layout test script: the adb shell prompt is not always '# '
9209         https://bugs.webkit.org/show_bug.cgi?id=79506
9210
9211         Reviewed by Adam Barth.
9212
9213         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
9214         (ChromiumAndroidDriver._start):
9215         (ChromiumAndroidDriver._read_prompt):
9216
9217 2012-02-27  Dan Bernstein  <mitz@apple.com>
9218
9219         Added a test for <rdar://problem/9557598> REGRESSION (WebKit2): Non-activating links sometimes don’t work
9220         https://bugs.webkit.org/show_bug.cgi?id=79607
9221
9222         Reviewed by Adele Peterson.
9223
9224         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
9225         * TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm: Added.
9226         (TestWebKitAPI::AcceptsFirstMouse::url):
9227         (TestWebKitAPI::AcceptsFirstMouse::didLoadURL):
9228         (TestWebKitAPI::AcceptsFirstMouse::runTest):
9229         (TestWebKitAPI::TEST_F):
9230         * TestWebKitAPI/Tests/mac/acceptsFirstMouse.html: Added.
9231
9232 2012-02-27  Carlos Garcia Campos  <cgarcia@igalia.com>
9233
9234         Unreviewed. Fix make distcheck.
9235
9236         * GNUmakefile.am: Fix typo.
9237
9238 2012-02-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
9239
9240         [Qt] Use USE() macro instead of ENABLE() for using the Qt image decoder
9241
9242         Reviewed by Kenneth Rohde Christiansen..
9243
9244         * qmake/mkspecs/features/features.prf:
9245
9246 2012-02-27  Hao Zheng  <zhenghao@chromium.org>
9247
9248         Add a ChromiumGpuAndroid port.
9249         https://bugs.webkit.org/show_bug.cgi?id=79628
9250
9251         Reviewed by Adam Barth.
9252
9253         Android does have a gpu port, so revert r107697.
9254
9255         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
9256         (ChromiumAndroidPort.__init__):
9257         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
9258         (ChromiumGpuAndroidPort):
9259         (ChromiumGpuAndroidPort.__init__):
9260         (ChromiumGpuAndroidPort.baseline_search_path):
9261         (ChromiumGpuAndroidPort.default_child_processes):
9262         (ChromiumGpuAndroidPort.tests):
9263         * Scripts/webkitpy/layout_tests/port/factory.py:
9264         (PortFactory):
9265
9266 2012-02-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
9267
9268         Change Build bot with BuildAndTest bot for EFL port.
9269         https://bugs.webkit.org/show_bug.cgi?id=77518
9270
9271         Reviewed by Ryosuke Niwa.
9272
9273         EFL build bot starts to support layout test.
9274
9275         * BuildSlaveSupport/build.webkit.org-config/config.json:
9276         * BuildSlaveSupport/built-product-archive:
9277         (archiveBuiltProduct):
9278         (extractBuiltProduct):
9279         * BuildSlaveSupport/test-result-archive:
9280         (archiveTestResults):
9281         * Scripts/webkitdirs.pm: Enable SHARED_CORE option when ENABLE_DRT is enable in EFL port.
9282         (generateBuildSystemFromCMakeProject):
9283
9284 2012-02-24  Darin Fisher  <darin@chromium.org>
9285
9286         Add watchlist for ChromiumPlatformApi matching Source/Platform/chromium/public/
9287
9288         Reviewed by James Robinson.
9289
9290         * Scripts/webkitpy/common/config/watchlist:
9291
9292 2012-02-24  Dirk Pranke  <dpranke@chromium.org>
9293
9294         webkitpy: changelog_unittest test_fuzzy_reviewer_match is slow
9295         https://bugs.webkit.org/show_bug.cgi?id=79258
9296
9297         Reviewed by Ryosuke Niwa.
9298
9299         Split the fuzzy matching into separate functions so that they
9300         can be sharded and run in parallel.
9301
9302         Also, fix a bug in the svn_blame_regexp that was causing us
9303         to require ChangeLog lines to have at least one space after the
9304         author, making the code require trailing whitespace in the
9305         changelog in some places (this was making my life harder because
9306         I have my text editor set to strip trailing whitespace in python
9307         files, and that was causing test_parse_log_entries_from_changelog() to fail
9308         when the whitespace on line 275 was removed).
9309
9310         * Scripts/webkitpy/common/checkout/changelog.py:
9311         (ChangeLog):
9312         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
9313         (test_fuzzy_reviewer_match__none):
9314         (test_fuzzy_reviewer_match_adam_barth):
9315         (test_fuzzy_reviewer_match_darin_adler_et_al):
9316         (test_fuzzy_reviewer_match_dimitri_glazkov):
9317         (test_fuzzy_reviewer_match_george_staikos):
9318         (test_fuzzy_reviewer_match_mark_rowe):
9319
9320 2012-02-24  Dirk Pranke  <dpranke@chromium.org>
9321
9322         webkitpy: committers_unittest fuzzy matching is really slow
9323         https://bugs.webkit.org/show_bug.cgi?id=79179
9324
9325         Reviewed by Ryosuke Niwa.
9326
9327         Break the fuzzy matching tests into individual routines for
9328         each contributor so that the intent is a little clearer, so
9329         that it's easier to test individual names (and identify
9330         duplicate tests), and so that we can eventually run
9331         them in parallel.
9332
9333         Also, mark most of them as 'integration' tests so that they
9334         can be skipped if we want to go fast (we leave a few as
9335         regular tests for functional coverage).
9336
9337         * Scripts/webkitpy/common/config/committers_unittest.py:
9338         (CommittersTest):
9339         (CommittersTest.test_contributors_by_fuzzy_match):
9340         (CommittersTest.integration_test_contributors__none):
9341         (CommittersTest.integration_test_contributors__none_2):
9342         (CommittersTest.integration_test_contributors__none_3):
9343         (CommittersTest.integration_test_contributors_ada_chan):
9344         (CommittersTest.integration_test_contributors_adele_peterson):
9345         (CommittersTest.integration_test_contributors_alexey_proskuryakov):
9346         (CommittersTest.integration_test_contributors_alice_liu):
9347         (CommittersTest.integration_test_contributors_alp_toker):
9348         (CommittersTest.integration_test_contributors_anders_carlsson):
9349         (CommittersTest.integration_test_contributors_antti_koivisto):
9350         (CommittersTest.integration_test_contributors_beth_dakin):
9351         (CommittersTest.integration_test_contributors_brady_eidson):
9352         (CommittersTest.integration_test_contributors_cameron_zwarich):
9353         (CommittersTest.integration_test_contributors_chris_blumenberg):
9354         (CommittersTest.integration_test_contributors_dan_bernstein):
9355         (CommittersTest.integration_test_contributors_dan_bernstein_2):
9356         (CommittersTest.integration_test_contributors_darin_adler):
9357         (CommittersTest.integration_test_contributors_david_harrison):
9358         (CommittersTest.integration_test_contributors_david_harrison_2):
9359         (CommittersTest.integration_test_contributors_david_hyatt):
9360         (CommittersTest.integration_test_contributors_david_kilzer):
9361         (CommittersTest.integration_test_contributors_don_melton):
9362         (CommittersTest.integration_test_contributors_eric_seidel):
9363         (CommittersTest.integration_test_contributors_geoffrey_garen):
9364         (CommittersTest.integration_test_contributors_greg_bolsinga):
9365         (CommittersTest.integration_test_contributors_holger_freyther):
9366         (CommittersTest.integration_test_contributors_jon_sullivan):
9367         (CommittersTest.integration_test_contributors_jon_honeycutt):
9368         (CommittersTest.integration_test_contributors_joseph_pecoraro):
9369         (CommittersTest.integration_test_contributors_ken_kocienda):
9370         (CommittersTest.integration_test_contributors_kenneth_russell):
9371         (CommittersTest.integration_test_contributors_kevin_decker):
9372         (CommittersTest.integration_test_contributors_kevin_mccullough):
9373         (CommittersTest.integration_test_contributors_lars_knoll):
9374         (CommittersTest.integration_test_contributors_lars_weintraub):
9375         (CommittersTest.integration_test_contributors_maciej_stachowiak):
9376         (CommittersTest.integration_test_contributors_mark_rowe):
9377         (CommittersTest.integration_test_contributors_nikolas_zimmermann):
9378         (CommittersTest.integration_test_contributors_oliver_hunt):
9379         (CommittersTest.integration_test_contributors_rniwa):
9380         (CommittersTest.disabled_integration_test_contributors_simon_fraser):
9381         (CommittersTest.integration_test_contributors_steve_falkenburg):
9382         (CommittersTest.integration_test_contributors_sam_weinig):
9383         (CommittersTest.integration_test_contributors_tim_omernick):
9384         (CommittersTest.integration_test_contributors_timothy_hatcher):
9385         (CommittersTest.integration_test_contributors_tor_arne_vestbo):
9386         (CommittersTest.integration_test_contributors_vicki_murley):
9387         (CommittersTest.integration_test_contributors_zack_rusin):
9388
9389 2012-02-24  Dirk Pranke  <dpranke@chromium.org>
9390
9391         webkitpy: should autoinstall coverage
9392         https://bugs.webkit.org/show_bug.cgi?id=79535
9393
9394         Reviewed by Eric Seidel.
9395
9396         We should automatically print the coverage report after the run, too.
9397
9398         * Scripts/webkitpy/test/main.py:
9399         (Tester._run_tests):
9400         * Scripts/webkitpy/thirdparty/__init__.py:
9401         (AutoinstallImportHook.find_module):
9402         (AutoinstallImportHook._install_coverage):
9403
9404 2012-02-24  Pablo Flouret  <pablof@motorola.com>
9405
9406         Fix copypasta in build-webkit's --vibration option description
9407         https://bugs.webkit.org/show_bug.cgi?id=79528
9408
9409         Reviewed by Andreas Kling.
9410
9411         * Scripts/build-webkit:
9412
9413 2012-02-24  Antonio Gomes  <agomes@rim.com>
9414
9415         Adding myself to ScrollingCoordinator watchlist
9416         https://bugs.webkit.org/show_bug.cgi?id=79525
9417
9418         Reviewed by Rob Buis.
9419
9420         * Scripts/webkitpy/common/config/watchlist:
9421
9422 2012-02-24  Darin Fisher  <darin@chromium.org>
9423
9424         Update watchlist for ChromiumPublicApi to include Platform/chromium/public/
9425
9426         Reviewed by Adam Barth.
9427
9428         * Scripts/webkitpy/common/config/watchlist:
9429
9430 2012-02-24  Dirk Pranke  <dpranke@chromium.org>
9431
9432         webkitpy: config_unittest is sensitive to other tests that might've already run
9433         https://bugs.webkit.org/show_bug.cgi?id=79382
9434
9435         Reviewed by Adam Barth.
9436
9437         If another test runs prior to config_unittest and pokes the
9438         cached configuration, the first test in config_unittest might
9439         fail; the tearDown() will then allow subsequent tests to pass.
9440         Clearing the configuration prior to each test makes things
9441         slightly slower but safer.
9442
9443         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
9444         (ConfigTest.setUp):
9445
9446 2012-02-24  David Kilzer  <ddkilzer@apple.com>
9447
9448         Use xcrun to find compiler paths for Generate Derived Sources build phase script
9449         <http://webkit.org/b/79512>
9450
9451         Reviewed by Dan Bernstein.
9452
9453         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
9454         (Generate Derived Sources): Use xcrun to find the path to the
9455         compiler since that works on both iOS and OS X.
9456
9457 2012-02-24  James Robinson  <jamesr@chromium.org>
9458
9459         Create a watchlist for ScrollingCoordinator changes
9460         https://bugs.webkit.org/show_bug.cgi?id=79511
9461
9462         Reviewed by Anders Carlsson.
9463
9464         * Scripts/webkitpy/common/config/watchlist:
9465
9466 2012-02-24  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
9467
9468         [EFL][DRT] Implement setValueForUser and setAutofilled.
9469         https://bugs.webkit.org/show_bug.cgi?id=79237
9470
9471         Reviewed by Andreas Kling.
9472
9473         Adds missing implementation setValueForUser and setAutofilled to EFL's LayoutTestController.
9474         Those implementations are related with input fields and allow to pass following tests:
9475         fast/forms/onchange-setvalueforuser.html
9476         fast/forms/input-autofilled.html
9477         fast/forms/reset-autofilled.html
9478
9479         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
9480         (LayoutTestController::setValueForUser):
9481         (LayoutTestController::setAutofilled):
9482
9483 2012-02-24  Zoltan Horvath  <zoltan@webkit.org>
9484
9485         [Qt] Allow to use WebCore imagedecoders
9486         https://bugs.webkit.org/show_bug.cgi?id=32410
9487
9488         Add ENABLE_QT_IMAGE_DECODER macro, it's enabled by default.
9489
9490         Reviewed by Simon Hausmann.
9491
9492         * qmake/mkspecs/features/features.prf:
9493
9494 2012-02-24  Balazs Kelemen  <kbalazs@webkit.org>
9495
9496         [Qt] Add Qt5 way to force 96 DPI for tests
9497         https://bugs.webkit.org/show_bug.cgi?id=79364
9498
9499         Reviewed by Simon Hausmann.
9500
9501         * DumpRenderTree/qt/main.cpp:
9502         (main):
9503         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
9504         (WTR::activateFonts):
9505
9506 2012-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>
9507
9508         [GTK] MiniBrowser should reload the view then the reload button is clicked
9509         https://bugs.webkit.org/show_bug.cgi?id=79472
9510
9511         Reviewed by Philippe Normand.
9512
9513         * MiniBrowser/gtk/BrowserWindow.c:
9514         (reloadCallback): Call webkit_web_view_reload().
9515         (browser_window_init): Connect reload item clicked even to
9516         reloadCallback instead of activateUriEntryCallback.
9517
9518 2012-02-24  Kentaro Hara  <haraken@chromium.org>
9519
9520         Add performance tests for DOM attribute getters and setters
9521         https://bugs.webkit.org/show_bug.cgi?id=79208
9522
9523         Reviewed by Ryosuke Niwa.
9524
9525         We want to allow perf tests to output info messages
9526         that do not affect the test results. To accomplish this,
9527         this patch modifies perftestsrunner.py so that it ignores
9528         a line that starts from "Info:".
9529
9530         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
9531         (PerfTestsRunner):
9532
9533 2012-02-24  Andrew Lo  <anlo@rim.com>
9534
9535         [BlackBerry] Enable requestAnimationFrame
9536         https://bugs.webkit.org/show_bug.cgi?id=79408
9537
9538         Enable requestAnimationFrame for BlackBerry.
9539
9540         Reviewed by Rob Buis.
9541
9542         * Scripts/build-webkit:
9543
9544 2012-02-24  Adam Barth  <abarth@webkit.org>
9545
9546         style-queue tries to apply the patch twice
9547         https://bugs.webkit.org/show_bug.cgi?id=79459
9548
9549         Reviewed by Eric Seidel.
9550
9551         Previously, we applied the patch using both apply-patch and
9552         check-style.  This patch introduces a check-style-local to mirror the
9553         apply-watchlist-local, which operates on the current working diff.
9554
9555         This patch also cleans up some other bugs I found by running the queue
9556         locally for a while.  The queue still prints out a slightly
9557         less-than-ideal message on the bugs when it find an error, but it's ok
9558         for now.  We'll need to iterate a bit.
9559
9560         * Scripts/webkitpy/tool/bot/stylequeuetask.py:
9561         (StyleQueueTask.validate):
9562         (StyleQueueTask._check_style):
9563         * Scripts/webkitpy/tool/commands/download.py:
9564         (CheckStyleLocal):
9565         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
9566         (EarlyWarningSytemTest._default_expected_stderr):
9567         (EarlyWarningSytemTest._test_testing_ews):
9568         * Scripts/webkitpy/tool/commands/queues.py:
9569         (AbstractReviewQueue.handle_script_error):
9570         (StyleQueue.review_patch):
9571         * Scripts/webkitpy/tool/commands/queues_unittest.py:
9572         * Scripts/webkitpy/tool/commands/queuestest.py:
9573         (QueuesTest.assert_queue_outputs):
9574
9575 2012-02-23  Adam Barth  <abarth@webkit.org>
9576
9577         should_proceed_with_work_item is unused and can be removed
9578         https://bugs.webkit.org/show_bug.cgi?id=79416
9579
9580         Reviewed by Eric Seidel.
9581
9582         We used to use this function to check whether the tree is red.  Now, we
9583         don't use external measures of whether to proceed with work items.
9584         Instead, we analyze them with the idea in mind that the tree might be
9585         red.
9586
9587         * Scripts/webkitpy/tool/bot/queueengine.py:
9588         (QueueEngineDelegate.next_work_item):
9589         (QueueEngine.run):
9590         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
9591         (LoggingDelegate):
9592         (LoggingDelegate.next_work_item):
9593         (RaisingDelegate.process_work_item):
9594         (QueueEngineTest.test_terminating_error):
9595         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
9596         (AbstractEarlyWarningSystem.__init__):
9597         * Scripts/webkitpy/tool/commands/queues.py:
9598         (AbstractQueue.next_work_item):
9599         (FeederQueue.next_work_item):
9600         (CommitQueue.next_work_item):
9601         (AbstractReviewQueue.next_work_item):
9602         (StyleQueue.__init__):
9603         * Scripts/webkitpy/tool/commands/queues_unittest.py:
9604         (FeederQueueTest.test_feeder_queue):
9605         (CommitQueueTest.test_commit_queue):
9606         (test_commit_queue_failure):
9607         (test_commit_queue_failure_with_failing_tests):
9608         (test_rollout):
9609         (test_rollout_lands):
9610         (StyleQueueTest.test_style_queue_with_style_exception):
9611         (test_style_queue_with_watch_list_exception):
9612         * Scripts/webkitpy/tool/commands/queuestest.py:
9613         (QueuesTest.assert_queue_outputs):
9614         * Scripts/webkitpy/tool/commands/sheriffbot.py:
9615         (SheriffBot.next_work_item):
9616
9617 2012-02-23  Adrienne Walker  <enne@google.com>
9618
9619         Unreviewed, add Stephen Chenney to committers.py as a contributor.
9620
9621         * Scripts/webkitpy/common/config/committers.py:
9622
9623 2012-02-23  Adam Barth  <abarth@webkit.org>
9624
9625         style-queue logs bogus messages to the QueueStatusServer
9626         https://bugs.webkit.org/show_bug.cgi?id=79424
9627
9628         Reviewed by Eric Seidel.
9629
9630         Copy/paste error.
9631
9632         * Scripts/webkitpy/tool/bot/stylequeuetask.py:
9633         (StyleQueueTask._check_style):
9634         (StyleQueueTask._apply_watch_list):
9635         * Scripts/webkitpy/tool/commands/queues_unittest.py:
9636
9637 2012-02-23  Eric Seidel  <eric@webkit.org>
9638
9639         Use self._filesystem in more places in the SCM classes
9640         https://bugs.webkit.org/show_bug.cgi?id=79415
9641
9642         Reviewed by Adam Barth.
9643
9644         * Scripts/webkitpy/common/checkout/scm/detection_unittest.py:
9645         (SCMDetectorTest.test_detect_scm_system):
9646         * Scripts/webkitpy/common/checkout/scm/git.py:
9647         (Git.find_checkout_root):
9648         (Git.to_object_name):
9649         * Scripts/webkitpy/common/checkout/scm/scm.py:
9650         (SCM.__init__):
9651         (SCM.in_working_directory):
9652         * Scripts/webkitpy/common/checkout/scm/svn.py:
9653         (SVN.find_uuid):
9654         (SVN.find_checkout_root):
9655
9656 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
9657
9658         Unreviewed, rolling out r108685.
9659         http://trac.webkit.org/changeset/108685
9660         https://bugs.webkit.org/show_bug.cgi?id=79414
9661
9662         Broke Chromium builds (Requested by enne on #webkit).
9663
9664         * qmake/mkspecs/features/features.prf:
9665
9666 2012-02-23  Adam Barth  <abarth@webkit.org>
9667
9668         style-queue shouldn't spam bugs if it fails to update its working copy
9669         https://bugs.webkit.org/show_bug.cgi?id=79412
9670
9671         Reviewed by Eric Seidel.
9672
9673         This patch moves style-queue over to the new PatchAnalysisTask
9674         infrastructure, which is smarter about retrying patches when update
9675         fails.
9676
9677         * Scripts/webkitpy/common/system/executive_mock.py:
9678         (MockExecutive.run_and_throw_if_fail):
9679         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py:
9680         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
9681         (UnableToApplyPatch):
9682         (UnableToApplyPatch.__init__):
9683         (PatchAnalysisTask.__init__):
9684         * Scripts/webkitpy/tool/bot/stylequeuetask.py: Added.
9685         (StyleQueueTaskDelegate):
9686         (StyleQueueTaskDelegate.parent_command):
9687         (StyleQueueTask):
9688         (StyleQueueTask.validate):
9689         (StyleQueueTask._check_style):
9690         (StyleQueueTask._apply_watch_list):
9691         (StyleQueueTask.run):
9692         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
9693         * Scripts/webkitpy/tool/commands/queues.py:
9694         (StyleQueue):
9695         (StyleQueue.should_proceed_with_work_item):
9696         (StyleQueue.review_patch):
9697         (StyleQueue.run_command):
9698         (StyleQueue.command_passed):
9699         (StyleQueue.command_failed):
9700         (StyleQueue.expected_failures):
9701         (StyleQueue.refetch_patch):
9702         * Scripts/webkitpy/tool/commands/queues_unittest.py:
9703         (StyleQueueTest.test_style_queue_with_style_exception):
9704         (test_style_queue_with_watch_list_exception):
9705
9706 2012-02-23  Zoltan Horvath  <zoltan@webkit.org>
9707
9708         [Qt] Allow to use WebCore imagedecoders
9709         https://bugs.webkit.org/show_bug.cgi?id=32410
9710
9711         Add ENABLE_QT_IMAGE_DECODER macro, it's enabled by default.
9712
9713         Reviewed by Simon Hausmann.
9714
9715         * qmake/mkspecs/features/features.prf:
9716
9717 2012-02-23  Eric Seidel  <eric@webkit.org>
9718
9719         Remove old broken find_checkout_root tests now that find_checkout_root is gone
9720         https://bugs.webkit.org/show_bug.cgi?id=79405
9721
9722         Reviewed by Adam Barth.
9723
9724         * Scripts/webkitpy/common/checkout/scm/detection_unittest.py: Added.
9725         (SCMDetectorTest):
9726         (SCMDetectorTest.test_find_checkout_root):
9727         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
9728         (SVNTestRepository.tear_down):
9729
9730 2012-02-23  Michael Brüning  <michael.bruning@nokia.com>
9731
9732         [Qt][WK2] Implement proxy authentication dialog.
9733         https://bugs.webkit.org/show_bug.cgi?id=79350
9734
9735         Reviewed by Simon Hausmann.
9736
9737         * MiniBrowser/qt/MiniBrowser.qrc:
9738         * MiniBrowser/qt/qml/BrowserWindow.qml:
9739         * MiniBrowser/qt/qml/ProxyAuthenticationDialog.qml: Added.
9740
9741 2012-02-23  Kevin Ollivier  <kevino@theolliviers.com>
9742
9743         [wx] Build fix, add recently added source dirs.
9744
9745         * waf/build/settings.py:
9746
9747 2012-02-23  Simon Hausmann  <simon.hausmann@nokia.com>
9748
9749         [Qt] Add support for touch cancellation
9750         https://bugs.webkit.org/show_bug.cgi?id=79348
9751
9752         Reviewed by Kenneth Rohde Christiansen.
9753
9754         Added straight-forward touch cancellation event sending to Qt WK1 DRT
9755         and WK2 WTR.
9756
9757         * DumpRenderTree/qt/EventSenderQt.cpp:
9758         (EventSender::touchCancel):
9759         (EventSender::cancelTouchPoint):
9760         * DumpRenderTree/qt/EventSenderQt.h:
9761         (EventSender):
9762         * WebKitTestRunner/EventSenderProxy.h:
9763         (EventSenderProxy):
9764         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
9765         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
9766         (WTR::EventSendingController::touchCancel):
9767         (WTR):
9768         (WTR::EventSendingController::cancelTouchPoint):
9769         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
9770         (EventSendingController):
9771         * WebKitTestRunner/TestController.cpp:
9772         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
9773         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
9774         (WTR::EventSenderProxy::touchCancel):
9775         (WTR):
9776         (WTR::EventSenderProxy::cancelTouchPoint):
9777
9778 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
9779
9780         Unreviewed, rolling out r108626.
9781         http://trac.webkit.org/changeset/108626
9782         https://bugs.webkit.org/show_bug.cgi?id=79370
9783
9784         broke qt-wk2 bot, somehow the workaround does not work on the
9785         bot (Requested by Ossy on #webkit).
9786
9787         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
9788         (WTR::WrapperWindow::handleStatusChanged):
9789         (WTR::PlatformWebView::resizeTo):
9790
9791 2012-02-23  ChangSeok Oh  <shivamidow@gmail.com>
9792
9793         [GTK] DRT doesn't support scheduleAsynchronousKeyDown.
9794         https://bugs.webkit.org/show_bug.cgi?id=78481
9795
9796         Reviewed by Gustavo Noronha Silva.
9797
9798         Extracted shareable code from keyDownCallback and then added createKeyPressEvent
9799         to create gdk press key event.
9800         Added sendKeyDown and sendAsynchronousKeyDown to evaluate keyDown event directly
9801         and asynchronously. Eventually, sendAsynchronousKeyDown calls sendKeyDown.
9802
9803         * DumpRenderTree/gtk/EventSender.cpp:
9804         (scheduleAsynchronousClickCallback):
9805         (createKeyPressEvent):
9806         (sendKeyDown):
9807         (keyDownCallback):
9808         (sendAsynchronousKeyDown):
9809         (scheduleAsynchronousKeyDownCallback):
9810
9811 2012-02-23  Balazs Kelemen  <kbalazs@webkit.org>
9812
9813         [Qt][WK2] WebKitTestRunner should use 480x360 sized view for W3C SVG tests
9814         https://bugs.webkit.org/show_bug.cgi?id=76546
9815
9816         Reviewed by Simon Hausmann.
9817
9818         Co-authored with Simon Hausmann.
9819
9820         Revert the workaround introduced in r107868 and reintroduce
9821         the qml binding so we can test the code path that we are more
9822         interested in. The reason that it did not work before is that
9823         we don't have an active platform window which we now workaround
9824         by propagating the resize through QWindowSystemInterface.
9825
9826         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
9827         (WTR::WrapperWindow::handleStatusChanged):
9828         (WTR::PlatformWebView::resizeTo):
9829
9830 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
9831
9832         Unreviewed, rolling out r108577.
9833         http://trac.webkit.org/changeset/108577
9834         https://bugs.webkit.org/show_bug.cgi?id=79359
9835
9836         It doesn't work as expected (Requested by Ossy on #webkit).
9837
9838         * DumpRenderTree/qt/EventSenderQt.cpp:
9839         (EventSender::postEvent):
9840         * DumpRenderTree/qt/EventSenderQt.h:
9841         (EventSender):
9842
9843 2012-02-23  Philippe Normand  <pnormand@igalia.com>
9844
9845         [GTK] FullScreen signals
9846         https://bugs.webkit.org/show_bug.cgi?id=76181
9847
9848         Reviewed by Martin Robinson.
9849
9850         Use the two new entering/leaving fullscreen signals to hide/show
9851         the tool bar, the status bar and ask the user's permission before
9852         entering fullscreen.
9853
9854         * GtkLauncher/main.c:
9855         (webViewFullscreenMessageWindowClose):
9856         (webViewWindowStateEvent):
9857         (hide_widget):
9858         (show_widget):
9859         (webViewEnteringFullScreen):
9860         (webViewLeavingFullScreen):
9861         (createBrowser):
9862         (createWindow):
9863
9864 2012-02-22  Dongwoo Im  <dw.im@samsung.com>
9865
9866         [EFL] Fix to launch the EWebLauncher using the script, run-launcher.
9867         https://bugs.webkit.org/show_bug.cgi?id=79076
9868
9869         Reviewed by Andreas Kling.
9870
9871         * Scripts/webkitdirs.pm: Fix the path of libewebkit.so.
9872         (builtDylibPathForName):
9873
9874 2012-02-22  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
9875
9876         [Qt] Add eventSender.gestureTap
9877         https://bugs.webkit.org/show_bug.cgi?id=66173
9878
9879         Reviewed by Kenneth Rohde Christiansen.
9880
9881         * DumpRenderTree/qt/EventSenderQt.cpp:
9882         (EventSender::gestureTap):
9883         * DumpRenderTree/qt/EventSenderQt.h:
9884
9885 2012-02-22  Brady Eidson  <beidson@apple.com>
9886
9887         <rdar://problem/10406044> and https://bugs.webkit.org/show_bug.cgi?id=79279
9888         Synchronous ShouldGoToBackForwardListItem causes lots of WebProcess hangs
9889
9890         Reviewed by Anders Carlsson.
9891
9892         Update our tools to the new form of the PageLoadClient.
9893
9894         * MiniBrowser/mac/BrowserWindowController.m:
9895         (-[BrowserWindowController awakeFromNib]): 
9896
9897         * WebKitTestRunner/TestController.cpp:
9898         (WTR::TestController::initialize):
9899
9900 2012-02-22  Daniel Bates  <dbates@webkit.org>
9901
9902         new-run-webkit-tests shouldn't restore Safari state on Lion when showing results
9903         https://bugs.webkit.org/show_bug.cgi?id=79277
9904
9905         Reviewed by Adam Barth.
9906
9907         Pass command line argument no-saved-state to run-safari to disable Safari
9908         state restoration for the session on OS 10.7.
9909
9910         * Scripts/webkitpy/layout_tests/port/mac.py:
9911         (MacPort.show_results_html_file):
9912         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
9913         (test_show_results_html_file):
9914
9915 2012-02-22  Kalev Lember  <kalevlember@gmail.com>
9916
9917         Explicitly include unistd.h in TestNetscapePlugIn for GCC 4.7
9918         https://bugs.webkit.org/show_bug.cgi?id=77759
9919
9920         Reviewed by Tony Chang.
9921
9922         Fixes build with gcc 4.7.
9923
9924         r100432 added the include only for ANDROID; this changes the ifdef to
9925         also cover other unix platforms. On Fedora 17 the gcc 4.7 compiler no
9926         longer implicitly includes unistd.h from standard headers and other
9927         unix platforms are likely to get gcc 4.7 as well in the future.
9928
9929         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
9930
9931 2012-02-22  Philippe Normand  <pnormand@igalia.com>
9932
9933         Unreviewed, rolling out r108522.
9934         http://trac.webkit.org/changeset/108522
9935         https://bugs.webkit.org/show_bug.cgi?id=76181
9936
9937         Broke 4 fullscreen tests on GTK.
9938
9939         * GtkLauncher/main.c:
9940         (createBrowser):
9941         (createWindow):
9942
9943 2012-02-20  Philippe Normand  <pnormand@igalia.com>
9944
9945         [GTK] FullScreen signals
9946         https://bugs.webkit.org/show_bug.cgi?id=76181
9947
9948         Reviewed by Martin Robinson.
9949
9950         Use the two new entering/leaving fullscreen signals to hide/show
9951         the tool bar, the status bar and ask the user's permission before
9952         entering fullscreen.
9953
9954         * GtkLauncher/main.c:
9955         (webViewFullscreenMessageWindowClose):
9956         (webViewWindowStateEvent):
9957         (hide_widget):
9958         (show_widget):
9959         (webViewEnteringFullScreen):
9960         (webViewLeavingFullScreen):
9961         (createBrowser):
9962         (createWindow):
9963
9964 2012-02-22  Rob Flack  <flackr@chromium.org>
9965
9966         Update Linux ChromiumOS builders in flakiness dashboard.
9967         https://bugs.webkit.org/show_bug.cgi?id=79238
9968
9969         Reviewed by Ojan Vafai.
9970
9971         * TestResultServer/static-dashboards/builders.js:
9972
9973 2012-02-22  Dirk Pranke  <dpranke@chromium.org>
9974
9975         webkitpy: test_function_length_check_definition_huge_lines is slow
9976         https://bugs.webkit.org/show_bug.cgi?id=79185
9977
9978         Reviewed by Adam Barth.
9979
9980         This test takes ~3 seconds to run, apparently because we're
9981         running a test on a 10,000 line function :). Dropping the
9982         function length to 640 still exercises the code path and
9983         provides a 10x speedup.
9984
9985         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
9986         (CppStyleTest):
9987         (CheckForFunctionLengthsTest.test_function_length_check_definition_huge_lines):
9988
9989 2012-02-22  Dirk Pranke  <dpranke@chromium.org>
9990
9991         webkitpy: speed up FileLockTest.test_lock_lifecycle
9992         https://bugs.webkit.org/show_bug.cgi?id=79189
9993
9994         Reviewed by Adam Barth.
9995
9996         The unit test had a second lock trying to acquire a
9997         lock already held, and a hard-coded timeout of one second.
9998         I have changed the timeouts to a tenth of a second (which
9999         is probably still fine) and changed the hard-spin on
10000         the lock to a slow-spin every hundredth of a second.
10001
10002         * Scripts/webkitpy/common/system/file_lock.py:
10003         (FileLock.acquire_lock):
10004         * Scripts/webkitpy/common/system/file_lock_integrationtest.py:
10005         (FileLockTest.setUp):
10006         (FileLockTest.test_stuck_lock):
10007
10008 2012-02-22  Gabor Rapcsanyi  <rgabor@webkit.org>
10009
10010         build-webkit should use environment variable at number of CPU
10011         detection on all platform
10012         https://bugs.webkit.org/show_bug.cgi?id=79227
10013
10014         Reviewed by Martin Robinson.
10015
10016         * Scripts/webkitdirs.pm:
10017         (determineNumberOfCPUs):
10018
10019 2012-02-22  Mihnea Ovidenie  <mihnea@adobe.com>
10020
10021         [Qt] REGRESSION(r108108): It made 3 fast/repaint tests fail
10022         https://bugs.webkit.org/show_bug.cgi?id=78960
10023
10024         Reviewed by Csaba Osztrogonác.
10025
10026         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
10027         (LayoutTestController::overridePreference):
10028
10029 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
10030
10031         [chromium] Build WebKit with MEDIA_STREAM disabled.
10032         https://bugs.webkit.org/show_bug.cgi?id=79214
10033
10034         Reviewed by Kent Tamura.
10035
10036         * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
10037         * DumpRenderTree/chromium/WebUserMediaClientMock.h:
10038         * DumpRenderTree/chromium/WebViewHost.cpp:
10039         (WebViewHost::createMediaPlayer):
10040         * DumpRenderTree/chromium/WebViewHost.h:
10041         (WebViewHost):
10042
10043 2012-02-22  Zeno Albisser  <zeno@webkit.org>
10044
10045         [Qt][WK2][Mac] WebKitTestRunner does not build with clang.
10046         https://bugs.webkit.org/show_bug.cgi?id=79124
10047
10048         WebKitTestRunnerPrefix.h should also be included
10049         when building with clang.
10050
10051         Reviewed by Kenneth Rohde Christiansen.
10052
10053         * WebKitTestRunner/Target.pri:
10054
10055 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
10056
10057         <style scoped>: Add runtime-flag
10058         https://bugs.webkit.org/show_bug.cgi?id=79074
10059
10060         Enable the runtime-flag for DRT. 
10061
10062         Reviewed by Dimitri Glazkov.
10063
10064         * DumpRenderTree/chromium/TestShell.cpp:
10065         (TestShell::TestShell):
10066
10067 2012-02-22  Carlos Garcia Campos  <cgarcia@igalia.com>
10068
10069         Unreviewed, rolling out r107351.
10070         http://trac.webkit.org/changeset/107351
10071         https://bugs.webkit.org/show_bug.cgi?id=53600
10072
10073         Several issues introduced in WebKitGTK+ API
10074
10075         * DumpRenderTree/gtk/DumpRenderTree.cpp:
10076         (createWebView):
10077         * GtkLauncher/main.c:
10078         (createWebViewCb):
10079         (createBrowser):
10080         (createWindow):
10081         (main):
10082
10083 2012-02-21  Filip Pizlo  <fpizlo@apple.com>
10084
10085         JSC should be a triple-tier VM
10086         https://bugs.webkit.org/show_bug.cgi?id=75812
10087         <rdar://problem/10079694>
10088
10089         Reviewed by Gavin Barraclough.
10090
10091         Changed EFL's build system to include a new directory in JavaScriptCore.
10092
10093         * DumpRenderTree/efl/CMakeLists.txt:
10094
10095 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
10096
10097         [chromium] Fix image drag out on Chromium
10098         https://bugs.webkit.org/show_bug.cgi?id=79158
10099
10100         Reviewed by Tony Chang.
10101
10102         * DumpRenderTree/chromium/EventSender.cpp:
10103         (EventSender::dumpFilenameBeingDragged):
10104         (EventSender::beginDragWithFiles):
10105         * DumpRenderTree/chromium/WebViewHost.cpp:
10106         (addDRTFakeFileToDataObject):
10107
10108 2012-02-21  Dirk Pranke  <dpranke@chromium.org>
10109
10110         webkitpy: speed up hot filesystem_mock functions
10111         https://bugs.webkit.org/show_bug.cgi?id=79159
10112
10113         Reviewed by Adam Barth.
10114
10115         Profiling run_webkit_tests_integrationtest.py revealed that
10116         isdir(), normpath(), and join() are called a lot and were very
10117         slow.This patch speeds them up substantially, shaving 20 seconds
10118         off of the execution time.
10119
10120         * Scripts/webkitpy/common/system/filesystem_mock.py:
10121         (MockFileSystem.isdir):
10122         (MockFileSystem._slow_but_correct_join):
10123         (MockFileSystem.join):
10124         (MockFileSystem.listdir):
10125         (MockFileSystem._slow_but_correct_normpath):
10126         (MockFileSystem.normpath):
10127         (MockFileSystem.write_binary_file):
10128         * Scripts/webkitpy/common/system/filesystem_mock_unittest.py:
10129         (MockFileSystemTest.quick_check):
10130         (MockFileSystemTest):
10131         (MockFileSystemTest.test_join):
10132         (MockFileSystemTest.test_normpath):
10133         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
10134         (get_test_config): Call write_binary_file() instead of updating
10135           filesystem.files directly, so that we create directories as
10136           needed.
10137
10138 2012-02-21  Dirk Pranke  <dpranke@chromium.org>
10139
10140         nrwt: make the delay between starting workers configurable per-port
10141         https://bugs.webkit.org/show_bug.cgi?id=79148
10142
10143         Reviewed by Eric Seidel.
10144
10145         Because of bug 79147, we have to sleep a bit in between starting
10146         DRTs; however, doing so across the board slows down the Test
10147         port. Making this configurable shaves 10 seconds off of
10148         run_webkit_tests_integrationtest.py
10149         
10150         * Scripts/webkitpy/layout_tests/controllers/manager.py:
10151         (Manager._run_tests):
10152         * Scripts/webkitpy/layout_tests/port/base.py:
10153         (Port.worker_startup_delay_secs):
10154         * Scripts/webkitpy/layout_tests/port/test.py:
10155         (TestPort.worker_startup_delay_secs):
10156
10157 2012-02-21  Jon Lee  <jonlee@apple.com>
10158
10159         Bring notifications support to WK1 mac
10160         https://bugs.webkit.org/show_bug.cgi?id=78783
10161         <rdar://problem/10610578>
10162
10163         Reviewed by Anders Carlsson.
10164
10165         * DumpRenderTree/mac/UIDelegate.mm: Refactor WebGeolocationPolicyListener to WebAllowDenyPolicyListener.
10166         (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
10167         (-[UIDelegate timerFired]):
10168
10169 2012-02-21  Kentaro Hara  <haraken@chromium.org>
10170
10171         Enable the IDL attribute checker in run-bindings-tests
10172         https://bugs.webkit.org/show_bug.cgi?id=79091
10173
10174         Reviewed by Adam Barth.
10175
10176         We have enabled the IDL attribute checker in Chromium in r108322.
10177         This patch enables the IDL attribute checker in run-bindings-tests.
10178
10179         No tests. I manually checked that [Custommm], [CallWith=],
10180         [CallWith=ScriptExecutionContext|Foo] in TestObj.idl cause
10181         run-bindings-tests failures.
10182
10183         * Scripts/webkitpy/bindings/main.py:
10184         (BindingsTests.generate_supplemental_dependency):
10185
10186 2012-02-21  Rafael Weinstein  <rafaelw@chromium.org>
10187
10188         Add rafaelw as a committer.
10189
10190         Unreviewed.
10191
10192         * Scripts/webkitpy/common/config/committers.py:
10193
10194 2012-02-21  Dirk Pranke  <dpranke@chromium.org>
10195
10196         webkitpy: update names after deleting message_broker
10197         https://bugs.webkit.org/show_bug.cgi?id=79000
10198
10199         Reviewed by Eric Seidel.
10200
10201         Part 3 of 3 in deleting message_broker.py; this change just
10202         adjusts the names for the newly merged symbols so that they are
10203         private as appropriate.
10204
10205         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10206         (get):
10207         (_Broker):
10208         (_BrokerConnection):
10209         (_BrokerConnection.__init__):
10210         (AbstractWorker.__init__):
10211         (_ManagerConnection):
10212         (_ManagerConnection.__init__):
10213         (_WorkerConnection):
10214         (_WorkerConnection.__init__):
10215
10216 2012-02-21  Dirk Pranke  <dpranke@chromium.org>
10217
10218         webkitpy: merge message_broker.py into manager_worker_broker.py
10219         https://bugs.webkit.org/show_bug.cgi?id=78999
10220
10221         Reviewed by Tony Chang.
10222
10223         This is pretty much a straight cut-and-paste of one file into
10224         another (broken up so that docstrings and imports are in the
10225         right place).
10226
10227         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10228         (BrokerClient):
10229         (BrokerClient.is_done):
10230         (BrokerClient.name):
10231         (Broker):
10232         (Broker.__init__):
10233         (Broker.add_topic):
10234         (Broker._get_queue_for_topic):
10235         (Broker.post_message):
10236         (Broker.run_message_loop):
10237         (Broker.run_all_pending):
10238         (Broker._run_loop):
10239         (Broker._dispatch_message):
10240         (_Message):
10241         (_Message.loads):
10242         (_Message.__init__):
10243         (_Message.dumps):
10244         (_Message.__repr__):
10245         (BrokerConnection):
10246         (BrokerConnection.__init__):
10247         (BrokerConnection.run_message_loop):
10248         (BrokerConnection.post_message):
10249         (BrokerConnection.raise_exception):
10250         * Scripts/webkitpy/layout_tests/controllers/message_broker.py: Removed.
10251
10252 2012-02-21  Dirk Pranke  <dpranke@chromium.org>
10253
10254         webkitpy: prepare to delete message_broker.py
10255         https://bugs.webkit.org/show_bug.cgi?id=78997
10256
10257         Reviewed by Eric Seidel.
10258
10259         This is part 1 of 3 changes to fix bug 78187. This change
10260         prepares the code for merging message_broker.py into
10261         manager_worker_broker.py; the tests in message_broker_unittest
10262         are merged into manager_worker_broker_unittest, the symbols
10263         needed by the tests are exported from manager_worker_broker.py,
10264         and manager_worker_broker itself is updated to refer to the
10265         symbols directly (without the module prefix).
10266
10267         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10268         (get):
10269         (AbstractWorker):
10270         (AbstractWorker.__init__):
10271         (_ManagerConnection):
10272         (_ManagerConnection.__init__):
10273         (_WorkerConnection):
10274         (_WorkerConnection.__init__):
10275         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
10276         (InterfaceTest.test_brokerclient_is_abstract):
10277         (InterfaceTest.test_brokerclient_is_abstract.methods):
10278         (MessageTest):
10279         (MessageTest.test__no_body):
10280         (MessageTest.test__body):
10281         * Scripts/webkitpy/layout_tests/controllers/message_broker_unittest.py: Removed.
10282
10283 2012-02-21  Sam Weinig  <sam@webkit.org>
10284
10285         Attempt to fix the Snow Leopard build.
10286
10287         * DumpRenderTree/mac/Configurations/Base.xcconfig:
10288         * MiniBrowser/Configurations/Base.xcconfig:
10289         * TestWebKitAPI/Configurations/Base.xcconfig:
10290         * WebKitTestRunner/Configurations/Base.xcconfig:
10291
10292 2012-02-21  Sam Weinig  <sam@webkit.org>
10293
10294         Use libc++ when building with Clang on Mac
10295         https://bugs.webkit.org/show_bug.cgi?id=78981
10296
10297         Reviewed by Dan Bernstein.
10298
10299         * DumpRenderTree/mac/Configurations/Base.xcconfig:
10300         * MiniBrowser/Configurations/Base.xcconfig:
10301         * TestWebKitAPI/Configurations/Base.xcconfig:
10302         * WebKitTestRunner/Configurations/Base.xcconfig:
10303
10304 2012-02-21  Adam Roben  <aroben@apple.com>
10305
10306         Roll out r108309, r108323, and r108326
10307
10308         They broke the 32-bit Lion build.
10309
10310         Original bugs is <http://webkit.org/b/75812> <rdar://problem/10079694>.
10311
10312         * DumpRenderTree/efl/CMakeLists.txt:
10313
10314 2012-02-21  Andras Becsi  <andras.becsi@nokia.com>
10315
10316         [Qt][WK2] Get rid of the dependency to QtWidgets
10317         https://bugs.webkit.org/show_bug.cgi?id=76276
10318
10319         Reviewed by Simon Hausmann.
10320
10321         * MiniBrowser/qt/MiniBrowser.pro:
10322         * MiniBrowser/qt/MiniBrowserApplication.cpp:
10323         (MiniBrowserApplication::MiniBrowserApplication):
10324         (MiniBrowserApplication::notify):
10325         (MiniBrowserApplication::sendTouchEvent):
10326         * MiniBrowser/qt/MiniBrowserApplication.h:
10327         (MiniBrowserApplication):
10328         * QtTestBrowser/locationedit.h:
10329         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
10330         (WTR::activateFonts):
10331         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
10332
10333 2012-02-20  Adam Barth  <abarth@webkit.org>
10334
10335         mastercfg_unittest.py fails without simplejson
10336         https://bugs.webkit.org/show_bug.cgi?id=79070
10337
10338         Reviewed by Csaba Osztrogonác.
10339
10340         Now that we require Python 2.6 (and higher) we can import json rather
10341         than simplejson.  We still need to use the simplejson name because
10342         that's what the master.cfg script expects.
10343
10344         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
10345         (BuildBotConfigLoader._add_dependant_modules_to_sys_modules):
10346
10347 2012-02-20  Filip Pizlo  <fpizlo@apple.com>
10348
10349         JSC should be a triple-tier VM
10350         https://bugs.webkit.org/show_bug.cgi?id=75812
10351         <rdar://problem/10079694>
10352
10353         Reviewed by Gavin Barraclough.
10354
10355         Changed EFL's build system to include a new directory in JavaScriptCore.
10356
10357         * DumpRenderTree/efl/CMakeLists.txt:
10358
10359 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
10360
10361         Update pywebsocket to 0.7.2
10362         https://bugs.webkit.org/show_bug.cgi?id=79066
10363
10364         This version includes vendor-prefixed deflate-frame extension support.
10365
10366         Reviewed by Kent Tamura.
10367
10368         * Scripts/webkitpy/thirdparty/__init__.py:
10369         (AutoinstallImportHook._install_pywebsocket):
10370
10371 2012-02-20  Martin Robinson  <mrobinson@igalia.com>
10372
10373         [UNIX] Plugin information fields are not interpreted as UTF-8
10374         https://bugs.webkit.org/show_bug.cgi?id=78635
10375
10376         Reviewed by Gustavo Noronha Silva.
10377
10378         Interpret plugin metadata as UTF8 aways. This matches the behavior
10379         of Chromium and the Totem plugin.
10380
10381         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
10382         (NPP_GetValue): Include a UTF-8 character in the description string for testing purposes.
10383
10384 2012-02-20  Martin Robinson  <mrobinson@igalia.com>
10385
10386         [GTK] [Qt] Move the unix forwarding headers for TestNetscapePlugin to the TestNetscapePlugin directory
10387         https://bugs.webkit.org/show_bug.cgi?id=78935
10388
10389         Reviewed by Gustavo Noronha Silva.
10390
10391         Move the TestNetscapePlugin headers to a more appropriate directory and update
10392         the build files to match.
10393
10394         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h: Renamed from Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h.
10395         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h: Renamed from Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h.
10396         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h: Renamed from Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h.
10397         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: Update build.
10398         * GNUmakefile.am: Ditto.
10399
10400 2012-02-20  Kihong Kwon  <kihong.kwon@samsung.com>
10401
10402         Add a new API for the Vibration API(W3C).
10403         https://bugs.webkit.org/show_bug.cgi?id=72010
10404
10405         Reviewed by Hajime Morita.
10406
10407         * Scripts/build-webkit: Enable ENABLE_VIBRATION feature.
10408
10409 2012-02-20  János Badics  <dicska@gmail.com>
10410
10411         [Qt] run-qtwebkit-tests doesn't consider timeouts as failures
10412         https://bugs.webkit.org/show_bug.cgi?id=71816
10413
10414         RunQtAPITests will notify if a timeout occurs during testing.
10415         Added unittest to the master.cfg
10416
10417         Reviewed by Csaba Osztrogonác.
10418
10419         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
10420         (RunQtAPITests.evaluateCommand):
10421         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
10422         (RunQtAPITestsTest):
10423         (RunQtAPITestsTest.assertResults):
10424         (RunQtAPITestsTest.test_timeout):
10425         (test_success):
10426         (test_failure):
10427         (test_timeout_and_failure):
10428
10429 2012-02-20  Andy Wingo  <wingo@igalia.com>
10430
10431         Add wingo as a committer.
10432
10433         Unreviewed.
10434
10435         * Scripts/webkitpy/common/config/committers.py: Add myself to the
10436         committers list.
10437
10438 2012-02-20  Jochen Eisinger  <jochen@chromium.org>
10439
10440         [chromium] check that we're not running multiple modal dialogs at the same time
10441         https://bugs.webkit.org/show_bug.cgi?id=78486
10442
10443         Reviewed by Kent Tamura.
10444
10445         * DumpRenderTree/chromium/TestShell.cpp:
10446         (TestShell::TestShell):
10447         * DumpRenderTree/chromium/TestShell.h:
10448         (TestShell::setIsDisplayingModalDialog):
10449         (TestShell::isDisplayingModalDialog):
10450         (TestShell):
10451         * DumpRenderTree/chromium/WebViewHost.cpp:
10452         (WebViewHost::runModal):
10453
10454 2012-02-20  Martin Robinson  <mrobinson@igalia.com>
10455
10456         Fix WebKit2GTK+ for 'make distcheck'.
10457
10458         Instead of conditionally including WebKit2 GNUmakefiles, always
10459         include them and conditionally activate the final targets.
10460
10461         * MiniBrowser/gtk/GNUmakefile.am:
10462         * WebKitTestRunner/GNUmakefile.am:
10463
10464 2012-02-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
10465
10466         Enable video option for EFL port in build-webkit.
10467         https://bugs.webkit.org/show_bug.cgi?id=79006
10468
10469         Reviewed by Daniel Bates.
10470
10471         * Scripts/build-webkit:
10472
10473 2012-02-19  JungJik Lee  <jungjik.lee@samsung.com>
10474
10475         [EFL] Use modifier keys to execute pre-rendering.
10476         https://bugs.webkit.org/show_bug.cgi?id=77933
10477
10478         Reviewed by Chang Shu.
10479
10480         Use modifier key to execute pre-rendering instead of using reserved function keys.
10481
10482         * EWebLauncher/main.c:
10483         (on_key_down):
10484
10485 2012-02-18  Dirk Pranke  <dpranke@chromium.org>
10486
10487         Fix one more dangling reference to worker_connection.name, delete unused code.
10488
10489         Unreviewed, build fix.
10490
10491         * Scripts/webkitpy/layout_tests/controllers/manager.py:
10492         (Manager.update):
10493         (_WorkerState.__init__):
10494
10495 2012-02-18  Dirk Pranke  <dpranke@chromium.org>
10496
10497         Add a change that should've been in r108005.
10498
10499         Unreviewed, build fix.
10500
10501         In the refactoring/cleanup in r108005 I should've changed the
10502         implementation of WorkerConnection to make it match BrokerClient
10503         (and everything else) so that objects had a name() method
10504         instead of a name property.
10505
10506         * Scripts/webkitpy/layout_tests/controllers/manager.py:
10507         (Manager._run_tests):
10508         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10509         (_WorkerConnection.__init__):
10510         (_WorkerConnection.name):
10511         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
10512         (_TestWorker.__init__):
10513         (_TestsMixin.name):
10514         (_TestsMixin.test_name):
10515         (_TestsMixin.test_cancel):
10516         (_TestsMixin.test_unknown_message):
10517
10518 2012-02-18  Dirk Pranke  <dpranke@chromium.org>
10519
10520         webkitpy: remove webkitpy.common.array_stream
10521         https://bugs.webkit.org/show_bug.cgi?id=78952
10522
10523         Reviewed by Eric Seidel.
10524
10525         Turns out array_stream didn't really do anything that StringIO
10526         didn't do (at least as of Python 2.6). This change removes it
10527         and updates all of the callers. Where possible, I changed the
10528         test assertions in order to capture the intent more clearly,
10529         e.g., instead of calling self.assertTrue('foo' in stream.get()),
10530         we have self.assertContainsLine(stream, 'foo'), and instead of
10531         self.assertTrue(stream.empty()), we have self.assertEmpty(stream) -
10532         the latter isn't that much more readable, but StringIO doesn't
10533         export an empty() method.
10534
10535         * Scripts/webkitpy/common/array_stream.py: Removed.
10536         * Scripts/webkitpy/common/array_stream_unittest.py: Removed.
10537         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
10538         (passing_run):
10539         (run_and_capture):
10540         (StreamTestingMixin):
10541         (StreamTestingMixin.assertContains):
10542         (StreamTestingMixin.assertContainsLine):
10543         (StreamTestingMixin.assertEmpty):
10544         (StreamTestingMixin.assertNotEmpty):
10545         (LintTest):
10546         (LintTest.test_lint_test_files):
10547         (LintTest.test_lint_test_files__errors):
10548         (MainTest):
10549         (MainTest.test_child_process_1):
10550         (MainTest.test_child_processes_2):
10551         (MainTest.test_child_processes_min):
10552         (MainTest.test_help_printing):
10553         (MainTest.test_hung_thread):
10554         (MainTest.test_no_tests_found):
10555         (MainTest.test_no_tests_found_2):
10556         (MainTest.test_repeat_each_iterations_num_tests):
10557         (MainTest.test_test_list):
10558         (MainTest.test_unexpected_failures):
10559         (MainTest.test_worker_model__inline_with_child_processes):
10560         (MainTest.test_additional_platform_directory):
10561         (RebaselineTest):
10562         (RebaselineTest.assertBaselines):
10563         (RebaselineTest.test_reset_results):
10564         (RebaselineTest.test_missing_results):
10565         (RebaselineTest.test_new_baseline):
10566         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
10567         (MeteredStream.update):
10568         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
10569         (TestMeteredStream.test_regular):
10570         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
10571         (TestUtilityFunctions.assertEmpty):
10572         (TestUtilityFunctions):
10573         (TestUtilityFunctions.assertNotEmpty):
10574         (TestUtilityFunctions.assertWritten):
10575         (TestUtilityFunctions.test_configure_logging):
10576         (Testprinter.assertEmpty):
10577         (Testprinter):
10578         (Testprinter.assertNotEmpty):
10579         (Testprinter.assertWritten):
10580         (Testprinter.reset):
10581         (Testprinter.get_printer):
10582         (Testprinter.test_help_printer):
10583         (Testprinter.do_switch_tests.do_helper):
10584         (Testprinter.test_print_one_line_summary):
10585         (Testprinter.test_print_test_result):
10586         (Testprinter.test_print_progress):
10587         (Testprinter.test_write_nothing):
10588         (Testprinter.test_write_misc):
10589         (Testprinter.test_write_everything):
10590         (Testprinter.test_write_verbose):
10591         (Testprinter.test_print_unexpected_results):
10592         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
10593         (MainTest.assertWritten):
10594         (create_runner):
10595         (test_run_test_set):
10596         (test_run_test_set_kills_drt_per_run):
10597         (test_run_test_set_for_parser_tests):
10598         (test_run_test_set_with_json_output):
10599         (test_run_test_set_with_json_source):
10600         (test_run_test_set_with_multiple_repositories):
10601         (test_upload_json):
10602
10603 2012-02-18  Kevin Ollivier  <kevino@theolliviers.com>
10604
10605         [wx] Add the WebCore/page/scrolling directory to the build dirs.
10606
10607         * waf/build/settings.py:
10608
10609 2012-02-18  Kevin Ollivier  <kevino@theolliviers.com>
10610
10611         [wx] Unreviewed build fix. Don't error out or hang if we have
10612         downloaded dependencies but server update check fails.
10613
10614         * waf/build/build_utils.py:
10615         (download_if_newer):
10616
10617 2012-02-17  Dirk Pranke  <dpranke@chromium.org>
10618
10619         The new run-webkit-tests needs to dump out pixel hash failures even if the pixel test passes.
10620         https://bugs.webkit.org/show_bug.cgi?id=69444
10621
10622         Reviewed by Tony Chang.
10623
10624         Currently if a test's image checksum doesn't match the checksum
10625         in the baseline, but the images themselves match according to
10626         ImageDiff, new-run-webkit-tests ignores the problem. This is
10627         probably bad, but it's not yet clear what the right thing to do
10628         is. This patch will log a warning to stderr, at least (but the
10629         test will still pass).
10630
10631         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
10632         (SingleTestRunner._compare_image):
10633         (SingleTestRunner._run_reftest):
10634         * Scripts/webkitpy/layout_tests/port/test.py:
10635         (unit_test_list):
10636         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
10637
10638 2012-02-17  Dirk Pranke  <dpranke@chromium.org>
10639
10640         NRWT does not report failure for a skipped test
10641         https://bugs.webkit.org/show_bug.cgi?id=78750
10642
10643         Reviewed by Eric Seidel.
10644
10645         If a test is listed in a Skipped file and you run it anyway
10646         with --force, and the test fails, currently NRWT will print
10647         "test ran as expected"; this is confusing, because you probably
10648         expect the test to fail and yet this might lead you to think the
10649         test passed. This patch changes the expected behavior to "PASS",
10650         so tests that fail will be reported.
10651
10652         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
10653         (result_was_expected):
10654         (TestExpectationParser):
10655         (TestExpectationParser.expectation_for_skipped_test):
10656         (TestExpectations):
10657         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
10658         (test_add_skipped_tests):
10659         * Scripts/webkitpy/layout_tests/port/test.py:
10660         (unit_test_list): Add some tests that are expected to be in a Skipped file.
10661         (TestPort.skipped_tests): This adds actual integration test coverage of Skipped files.
10662
10663 2012-02-17  Dirk Pranke  <dpranke@chromium.org>
10664
10665         webkitpy: fix test code after bug 78181
10666         https://bugs.webkit.org/show_bug.cgi?id=78870
10667
10668         Reviewed by Adam Barth.
10669
10670         I forgot to update the test code as per Tony's suggestion in
10671         bug 78181 (r108005). This change does that, and in doing so
10672         it revealed a subtle bug in _InlineWorkerConnection.run() that
10673         I am fixing as part of this (_alive would not be cleared if an
10674         exception was thrown).
10675
10676         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10677         (_InlineWorkerConnection.run):
10678         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
10679         (_TestWorker.__init__):
10680         (_TestWorker.handle_stop):
10681         (_TestWorker.handle_test):
10682         (_TestWorker.run):
10683         (_TestsMixin.handle_exception):
10684         (_TestsMixin.test_unknown_message):
10685
10686 2012-02-17  Adam Roben  <aroben@apple.com>
10687
10688         Mac build fix after r108119
10689
10690         * DumpRenderTree/mac/DumpRenderTree.mm:
10691         (runThread):
10692         (runPthread):
10693         (testThreadIdentifierMap):
10694         Updated to match current WTF threading APIs.
10695
10696 2012-02-17  Dirk Pranke  <dpranke@chromium.org>
10697
10698         revert r107147 - breaks webkit-patch on Mac SL
10699         https://bugs.webkit.org/show_bug.cgi?id=78866
10700
10701         Reviewed by Adam Barth.
10702
10703         It appears that zipfile.ExtractAll is broken on Python 2.6.1,
10704         which is the version that ships on Mac SL. Reverting this
10705         change until we no longer have to worry about that version.
10706
10707         * Scripts/webkitpy/common/system/autoinstall.py:
10708         (AutoInstaller):
10709         (AutoInstaller._extract_all): Added a comment about SL.
10710         (AutoInstaller._unzip):
10711
10712 2012-02-17  Mihnea Ovidenie  <mihnea@adobe.com>
10713
10714         CSS regions enabled by default
10715         https://bugs.webkit.org/show_bug.cgi?id=78525
10716
10717         Reviewed by David Hyatt.
10718
10719         Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
10720         CSSRegions are still enabled by default.
10721         In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
10722
10723         * DumpRenderTree/chromium/LayoutTestController.cpp:
10724         (LayoutTestController::overridePreference):
10725         * DumpRenderTree/chromium/WebPreferences.cpp:
10726         (WebPreferences::reset):
10727         (WebPreferences::applyTo):
10728         * DumpRenderTree/chromium/WebPreferences.h:
10729         (WebPreferences):
10730         * DumpRenderTree/mac/DumpRenderTree.mm:
10731         (resetDefaultsToConsistentValues):
10732
10733 2012-02-17  Maciej Stachowiak  <mjs@apple.com>
10734
10735         Some API tests erroneously use = instead of == (causing build failures)
10736         https://bugs.webkit.org/show_bug.cgi?id=78915
10737
10738         Reviewed by Sam Weinig.
10739
10740         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
10741         (TestWebKitAPI::decidePolicyForNavigationAction): Replace an = with an ==
10742         (TestWebKitAPI::decidePolicyForNewWindowAction): ditto
10743
10744 2012-02-17  Peter Beverloo  <peter@chromium.org>
10745
10746         [Chromium] Include TestShellLinux.cpp in the build for Android
10747         https://bugs.webkit.org/show_bug.cgi?id=78865
10748
10749         Reviewed by Eric Seidel.
10750
10751         Android will be re-using the TestShellLinux.cpp file. I already
10752         added this r104033, but it seems to have gotten lost in the
10753         recent refactorings.
10754
10755         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
10756
10757 2012-02-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
10758
10759         Unreviewed, disable video build on EFL until it can be
10760         supported by EFL build bot.
10761
10762         * Scripts/build-webkit:
10763
10764 2012-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
10765
10766         [GTK] Implement zoom in/out in MiniBrowser
10767         https://bugs.webkit.org/show_bug.cgi?id=75253
10768
10769         Reviewed by Gustavo Noronha Silva.
10770
10771         * MiniBrowser/gtk/BrowserWindow.c:
10772         (browserWindowCanZoomIn):
10773         (browserWindowCanZoomOut):
10774         (browserWindowUpdateZoomActions):
10775         (webViewZoomLevelChanged):
10776         (zoomInCallback):
10777         (zoomOutCallback):
10778         (browser_window_init):
10779         (browserWindowConstructed):
10780
10781 2012-02-17  Nikolas Zimmermann  <nzimmermann@rim.com>
10782
10783         layoutTestController.display() is flaky for SVG tests
10784         https://bugs.webkit.org/show_bug.cgi?id=78021
10785
10786         Reviewed by Adam Roben.
10787
10788         Apply the same fix to DRT/Win, as previously applied to DRT/Mac.
10789         Size the web view before running the test, not when dumping.
10790         All platforms handle this correctly now.
10791
10792         * DumpRenderTree/win/DumpRenderTree.cpp:
10793         (dump):
10794         (sizeWebViewForCurrentTest):
10795         (runTest):
10796
10797 2012-02-16  Carlos Garcia Campos  <cgarcia@igalia.com>
10798
10799         [GTK] Make install is broken when building without --enable-gtk-doc
10800         https://bugs.webkit.org/show_bug.cgi?id=78828
10801
10802         Reviewed by Martin Robinson.
10803
10804         * gtk/generate-gtkdoc:
10805         (rebase_installed_docs): Check documentation has been generated
10806         before trying to rebase it.
10807
10808 2012-02-16  Dirk Pranke  <dpranke@chromium.org>
10809
10810         nrwt: simplify worker interface
10811         https://bugs.webkit.org/show_bug.cgi?id=78181
10812
10813         Reviewed by Tony Chang.
10814
10815         This change moves code in name(), is_done(), run(), and cancel()
10816         from Worker to AbstractWorker, since the logic is pretty much
10817         boilerplate code that any implementation would want to use.
10818
10819         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10820         (get.should):
10821         (AbstractWorker.__init__):
10822         (AbstractWorker):
10823         (AbstractWorker.name):
10824         (AbstractWorker.stop_handling_messages):
10825         (AbstractWorker.run):
10826         (AbstractWorker.is_done):
10827         (AbstractWorker.cancel):
10828         * Scripts/webkitpy/layout_tests/controllers/worker.py:
10829         (Worker.__init__):
10830         (Worker.run):
10831         (Worker.handle_stop):
10832
10833 2012-02-16  Michael Saboff  <msaboff@apple.com>
10834
10835         ENH: Add ability to run subset of JavaScript layout tests with JSC
10836         https://bugs.webkit.org/show_bug.cgi?id=78764
10837
10838         Reviewed by Gavin Barraclough.
10839
10840         New simple test drive shell script that runs a defined
10841         list of javascript tests using jsc and the standalone-{pre,post}.js
10842         wrappers.
10843
10844         * Scripts/run-fast-jsc: Added.
10845
10846 2012-02-16  Csaba Osztrogonác  <ossy@webkit.org>
10847
10848         Add new Qt performance tester bot to build.webkit.org
10849         https://bugs.webkit.org/show_bug.cgi?id=78795
10850
10851         Reviewed by Adam Roben.
10852
10853         * BuildSlaveSupport/build.webkit.org-config/config.json:
10854
10855 2012-02-16  Patrick Gansterer  <paroga@webkit.org>
10856
10857         Disable inspector on WinCE.
10858
10859         Avoid compiling InspectorBackendDispatcher.cpp, which causes an internal compiler error.
10860
10861         * Scripts/build-webkit:
10862
10863 2012-02-16  Patrick Gansterer  <paroga@webkit.org>
10864
10865         WinCE build fix after r107656.
10866
10867         Disable FTPDIR on WinCE, since it does not compile there.
10868
10869         * Scripts/build-webkit:
10870
10871 2012-02-15  Leo Yang  <leo.yang@torchmobile.com.cn>
10872
10873         Build fix after r107863.
10874
10875         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp:
10876
10877 2012-02-15  Tony Chang  <tony@chromium.org>
10878
10879         [chromium] add linux dbg back to garden-o-matic
10880         https://bugs.webkit.org/show_bug.cgi?id=78752
10881
10882         Reviewed by Adam Barth.
10883
10884         This reflects the current linux debug bot name (there's only one bot).
10885         I'm also remove the mac clang builder since it doesn't exist (mac
10886         always uses clang now).
10887
10888         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
10889         * Scripts/webkitpy/layout_tests/port/builders.py:
10890
10891 2012-02-15  Sam Weinig  <sam@webkit.org>
10892
10893         Add style check for ctype functions that are generally frowned upon in WebKit
10894         https://bugs.webkit.org/show_bug.cgi?id=78748
10895
10896         Reviewed by Anders Carlsson.
10897
10898         Not every platform has DisallowCType.h to check for uses of the ctype.h
10899         functions, so add a style check for them as well.
10900
10901         * Scripts/webkitpy/style/checkers/cpp.py:
10902         (check_ctype_functions):
10903         (check_style):
10904         (CppChecker):
10905         Add check.
10906
10907         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
10908         (WebKitStyleTest.test_ctype_fucntion):
10909         Add checker.
10910
10911 2012-02-15  Szilard Ledan  <Ledan-Muntean.Szilard@stud.u-szeged.hu>
10912
10913         [Qt][WK2] WebKitTestRunner should use 480x360 sized view for W3C SVG tests
10914         https://bugs.webkit.org/show_bug.cgi?id=76546
10915
10916         Reviewed by Simon Hausmann.
10917
10918         Resize the web view programatically because the declarative property binding
10919         does not work. Seems like our qml environment is not initialized fully but it
10920         needs more investigation.
10921
10922         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
10923         (WTR::WrapperWindow::handleStatusChanged):
10924         (WTR::PlatformWebView::resizeTo):
10925
10926 2012-02-15  Dirk Pranke  <dpranke@chromium.org>
10927
10928         webkitpy: add a worker_args concept to start_worker()
10929         https://bugs.webkit.org/show_bug.cgi?id=78572
10930
10931         Reviewed by Tony Chang.
10932
10933         This change replaces the three NRWT-specific arguments passed
10934         through the broker to the worker with a generic WorkerArguments
10935         wrapper class and a separate set_inline_arguments() call that can
10936         be used to pass additional data to the worker when it is running
10937         in the same process as the manager (this is needed for testing).
10938         With the addition of set_inline_arguments() we also no longer
10939         need to pass an optional argument to the worker.run() call.
10940
10941         Note that this method is *only* implemented on inline workers,
10942         so calling this on a regular (child process) worker will result
10943         in a runtime error.
10944
10945         * Scripts/webkitpy/layout_tests/controllers/manager.py:
10946         (Manager._run_tests):
10947         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
10948         (AbstractWorker.__init__):
10949         (AbstractWorker.run):
10950         (_ManagerConnection.start_worker):
10951         (_InlineManager.start_worker):
10952         (_InlineManager.set_inline_arguments):
10953         (_InlineManager.run_message_loop):
10954         (_MultiProcessManager.start_worker): Reworked signature.
10955         (_WorkerConnection.__init__):
10956         (_InlineWorkerConnection.__init__):
10957         (_InlineWorkerConnection.set_inline_arguments): New method.
10958         (_InlineWorkerConnection):
10959         (_InlineWorkerConnection.run):
10960         (_Process.run):
10961         (_MultiProcessWorkerConnection.__init__):
10962         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
10963         (_TestWorker.__init__):
10964         (_TestWorker.set_inline_arguments):
10965         (_TestWorker.handle_test):
10966         (_TestWorker.run):
10967         (_TestsMixin.test_cancel):
10968         (_TestsMixin.test_done):
10969         (_TestsMixin.test_unknown_message):
10970         (InlineBrokerTests): New class for more testing.
10971         (InlineBrokerTests.setUp):
10972         (InlineBrokerTests.test_inline_arguments): New test.
10973         (InterfaceTest.test_managerconnection_is_abstract):
10974         (InterfaceTest.test_workerconnection_is_abstract):
10975         * Scripts/webkitpy/layout_tests/controllers/worker.py:
10976         (WorkerArguments):
10977         (WorkerArguments.__init__):
10978         (Worker.__init__):
10979         (Worker.set_inline_arguments):
10980         (Worker):
10981         (Worker.run):
10982         * Scripts/webkitpy/layout_tests/controllers/worker_unittest.py:
10983         (WorkerTest.test_default_platform_in_worker):
10984
10985 2012-02-15  Adam Klein  <adamk@chromium.org>
10986
10987         Unreviewed, rolling out r107704.
10988         http://trac.webkit.org/changeset/107704
10989         https://bugs.webkit.org/show_bug.cgi?id=78486
10990
10991         Caused layout test crashes in debug builds.
10992
10993         Specific crashing tests:
10994
10995         fast/events/show-modal-dialog-onblur-onfocus.html
10996         fast/harness/show-modal-dialog.html
10997         inspector/console/console-long-eval-crash.html
10998
10999         * DumpRenderTree/chromium/TestShell.cpp:
11000         (TestShell::TestShell):
11001         * DumpRenderTree/chromium/TestShell.h:
11002         (TestShell):
11003         * DumpRenderTree/chromium/WebViewHost.cpp:
11004         (WebViewHost::runModal):
11005
11006 2012-02-15  Michael Brüning  <michael.bruning@nokia.com>
11007
11008         [Qt] Add UI for HTTP authentication in the Qt MiniBrowser
11009         https://bugs.webkit.org/show_bug.cgi?id=76347
11010
11011         Reviewed by Kenneth Rohde Christiansen.
11012
11013         * MiniBrowser/qt/MiniBrowser.qrc:
11014         * MiniBrowser/qt/qml/AuthenticationDialog.qml: Added. 
11015         * MiniBrowser/qt/qml/BrowserWindow.qml:
11016         * MiniBrowser/qt/qml/DialogLineInput.qml:
11017
11018 2012-02-15  Simon Hausmann  <simon.hausmann@nokia.com>
11019
11020         [Qt] Fix WebGL in QtTestBrowser
11021
11022         Reviewed by Tor Arne Vestbø.
11023
11024         * QtTestBrowser/QtTestBrowser.pro: Set the OpenGL define so that when passing
11025         the options for enabling GL we also pass them on properly.
11026
11027 2012-02-14  Sam Weinig  <sam@webkit.org>
11028
11029         Add #include of unistd.h on the mac for getcwd. 
11030
11031         Reviewed by Anders Carlsson.
11032
11033         This is necessary when building with libc++.
11034
11035         * WebKitTestRunner/TestInvocation.cpp:
11036
11037 2012-02-14  Sam Weinig  <sam@webkit.org>
11038
11039         In DRT, don't #define min or max on non-Windows platforms, it just isn't needed
11040         https://bugs.webkit.org/show_bug.cgi?id=78663
11041
11042         Reviewed by Anders Carlsson.
11043
11044         * DumpRenderTree/DumpRenderTreePrefix.h:
11045         * DumpRenderTree/cg/ImageDiffCG.cpp:
11046
11047 2012-02-14  Adam Barth  <abarth@webkit.org>
11048
11049         Implement an adb-based driver for the ChromiumAndroidPort
11050         https://bugs.webkit.org/show_bug.cgi?id=78627
11051
11052         Reviewed by Eric Seidel.
11053
11054         This driver mostly just wires up the ChromiumDriver through adb.  In
11055         some cases, it translates protocol elements, such as URIs, so that the
11056         rest of webkitpy is insulated from the "remoteness" of the target device.
11057
11058         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
11059         (ChromiumAndroidPort.start_helper):
11060         (ChromiumAndroidPort._driver_class):
11061         (ChromiumAndroidPort._update_version):
11062         (ChromiumAndroidPort._get_stderr):
11063         (ChromiumAndroidPort):
11064         (ChromiumAndroidPort._get_last_stacktrace):
11065         (ChromiumAndroidPort._teardown_performance):
11066         (ChromiumAndroidDriver):
11067         (ChromiumAndroidDriver.__init__):
11068         (ChromiumAndroidDriver._start):
11069         (ChromiumAndroidDriver.run_test):
11070         (ChromiumAndroidDriver.stop):
11071         (ChromiumAndroidDriver._test_shell_command):
11072         (ChromiumAndroidDriver._write_command_and_read_line):
11073         (ChromiumAndroidDriver._output_image):
11074         (ChromiumAndroidDriver._has_crash_hint):
11075
11076 2012-02-14  Dirk Pranke  <dpranke@chromium.org>
11077
11078         webkitpy: the real_name() method in the Port class is no longer needed
11079         https://bugs.webkit.org/show_bug.cgi?id=78651
11080
11081         Reviewed by Eric Seidel.
11082
11083         The change in bug 78565 / r107718 made it no longer necessary
11084         (we can use options.platform instead).
11085
11086         * Scripts/webkitpy/layout_tests/port/base.py:
11087         (Port.name):
11088         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
11089         (MockDRTPort.__init__):
11090
11091 2012-02-14  Dirk Pranke  <dpranke@chromium.org>
11092
11093         webkitpy: clean up options, port handling in manager_worker_broker
11094         https://bugs.webkit.org/show_bug.cgi?id=78568
11095
11096         Reviewed by Tony Chang.
11097
11098         manager_worker_broker no longer needs options or port objects
11099         directly, so we make them only be passed in start_worker().
11100
11101         * Scripts/webkitpy/layout_tests/controllers/manager.py:
11102         (Manager._run_tests):
11103         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
11104         (get):
11105         (_ManagerConnection.__init__):
11106         (_ManagerConnection.start_worker):
11107         (_InlineManager.__init__):
11108         (_InlineManager.start_worker):
11109         (_InlineManager.run_message_loop):
11110         (_MultiProcessManager.__init__):
11111         (_MultiProcessManager):
11112         (_MultiProcessManager.start_worker):
11113         (_InlineWorkerConnection.__init__):
11114         (_InlineWorkerConnection.run):
11115         (_Process.__init__):
11116         (_MultiProcessWorkerConnection.__init__):
11117         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
11118         (make_broker):
11119         (_TestWorker.run):
11120         (_TestsMixin.test_cancel):
11121         (_TestsMixin.test_done):
11122         (_TestsMixin.test_unknown_message):
11123         (MultiProcessBrokerTests.setUp):
11124         (InterfaceTest.test_managerconnection_is_abstract):
11125         * Scripts/webkitpy/layout_tests/controllers/message_broker.py:
11126         (Broker.__init__):
11127
11128 2012-02-14  Dirk Pranke  <dpranke@chromium.org>
11129
11130         nrwt: add a unit test for regression introduced in bug 78565
11131         https://bugs.webkit.org/show_bug.cgi?id=78646
11132
11133         Reviewed by Tony Chang.
11134
11135         * Scripts/webkitpy/layout_tests/controllers/worker_unittest.py: Added.
11136         (FakeConnection):
11137         (FakeConnection.run_message_loop):
11138         (FakeConnection.post_message):
11139         (WorkerTest):
11140         (WorkerTest.test_default_platform_in_worker):
11141
11142 2012-02-14  Dirk Pranke  <dpranke@chromium.org>
11143
11144         NRWT is broken for the default port
11145         https://bugs.webkit.org/show_bug.cgi?id=78640
11146     
11147         Reviewed by Tony Chang.
11148
11149         The change in r107718 (bug 78565) broke NRWT if you didn't
11150         specify any sort of --platform flag or equivalent. I didn't
11151         catch this because it's a full integration test (which we don't
11152         have an automated test for) and I missed this command line
11153         variant when testing interactively.
11154
11155         * Scripts/webkitpy/layout_tests/controllers/worker.py:
11156         (Worker.run):
11157
11158 2012-02-14  Ramya Chandrasekaran  <cramya@google.com>
11159
11160         Last character display for passwords in Android.
11161         https://bugs.webkit.org/show_bug.cgi?id=78532
11162
11163         Reviewed by Adam Barth.
11164
11165         * DumpRenderTree/chromium/WebPreferences.cpp:
11166         (WebPreferences::applyTo):
11167
11168 2012-02-14  Adam Barth  <abarth@webkit.org>
11169
11170         Finish implementing start_helper for ChromiumAndroidPort
11171         https://bugs.webkit.org/show_bug.cgi?id=78582
11172
11173         Reviewed by Eric Seidel.
11174
11175         This patch contains the remaining odds and ends for the start_helper function.
11176
11177         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
11178         (ChromiumAndroidPort.start_helper):
11179         (ChromiumAndroidPort._synchronize_datetime):
11180         (ChromiumAndroidPort):
11181         (ChromiumAndroidPort._check_version):
11182         (ChromiumAndroidPort._run_adb_command):
11183         (ChromiumAndroidPort._copy_device_file):
11184
11185 2012-02-14  Dirk Pranke  <dpranke@chromium.org>
11186
11187         webkitpy: create ports in Workers, not in manager_worker_broker
11188         https://bugs.webkit.org/show_bug.cgi?id=78565
11189
11190         Reviewed by Tony Chang.
11191
11192         We will now create the Port object (if necessary) in the Worker
11193         directly, so that the manager_worker_broker module doesn't need
11194         all of this layout_test-specific logic. Part of the fixes for
11195         bug 78171.
11196
11197         These changes are all well-tested by the existing tests in
11198         run_webkit_tests_integrationtest.py.
11199
11200         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
11201         (_Process.run):
11202         * Scripts/webkitpy/layout_tests/controllers/worker.py:
11203         (Worker.__init__):
11204         (Worker.safe_init):
11205         (Worker.run):
11206         (Worker.cleanup):
11207         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
11208         (parse_args):
11209         (main): Fix a minor bug where running the 'mock-test' port didn't work right.
11210
11211 2012-02-14  Jochen Eisinger  <jochen@chromium.org>
11212
11213         [chromium] check that we're not running multiple modal dialogs at the same time
11214         https://bugs.webkit.org/show_bug.cgi?id=78486
11215
11216         Reviewed by Kent Tamura.
11217
11218         * DumpRenderTree/chromium/TestShell.cpp:
11219         (TestShell::TestShell):
11220         * DumpRenderTree/chromium/TestShell.h:
11221         (TestShell::setIsDisplayingModalDialog):
11222         (TestShell::isDisplayingModalDialog):
11223         (TestShell):
11224         * DumpRenderTree/chromium/WebViewHost.cpp:
11225         (WebViewHost::runModal):
11226
11227 2012-02-14  Adam Barth  <abarth@webkit.org>
11228
11229         Enable the GPU codepath in the chromium-android port
11230         https://bugs.webkit.org/show_bug.cgi?id=78580
11231
11232         Reviewed by James Robinson.
11233
11234         Suprise!  There is no ChromiumGpuAndroidPort!  Instead, Chromium
11235         Android always uses the GPU codepath, so we set the GPU flags on the
11236         main chromium-android port instead.
11237
11238         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
11239         (ChromiumAndroidPort.__init__):
11240
11241 2012-02-14  Adam Barth  <abarth@webkit.org>
11242
11243         NRWT should expose --adb-args flag for Android
11244         https://bugs.webkit.org/show_bug.cgi?id=78579
11245
11246         Reviewed by Eric Seidel.
11247
11248         This flag is already wired up to the ChromiumAndroidPort.
11249
11250         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
11251         (parse_args):
11252
11253 2012-02-14  Alexey Proskuryakov  <ap@apple.com>
11254
11255         [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
11256         https://bugs.webkit.org/show_bug.cgi?id=78541
11257         <rdar://problem/10036695>
11258
11259         Reviewed by Kent Tamura.
11260
11261         * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues):
11262         * DumpRenderTree/win/DumpRenderTree.cpp: (resetDefaultsToConsistentValues):
11263         After each test, reset to using new protocol.
11264
11265 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
11266
11267         Convert svg/animations to use SMIL methods for driving the timeline
11268         https://bugs.webkit.org/show_bug.cgi?id=78422
11269
11270         Reviewed by Dirk Schulze.
11271
11272         Remove no longer needed SVG specific animation sampling functionality from DRT.
11273         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
11274
11275         * DumpRenderTree/LayoutTestController.cpp:
11276         (LayoutTestController::staticFunctions):
11277         * DumpRenderTree/LayoutTestController.h:
11278         (LayoutTestController):
11279         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
11280         * DumpRenderTree/chromium/LayoutTestController.cpp:
11281         (LayoutTestController::LayoutTestController):
11282         * DumpRenderTree/chromium/LayoutTestController.h:
11283         (LayoutTestController):
11284         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
11285         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
11286         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
11287         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
11288         * DumpRenderTree/qt/LayoutTestControllerQt.h:
11289         (LayoutTestController):
11290         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11291         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
11292
11293 2012-02-13  Rob Flack  <flackr@chromium.org>
11294
11295         Add Linux ChromiumOS test results to flakiness dashboard.
11296         https://bugs.webkit.org/show_bug.cgi?id=78495
11297
11298         Reviewed by Ojan Vafai.
11299
11300         * TestResultServer/static-dashboards/builders.js:
11301         * TestResultServer/static-dashboards/dashboard_base.js:
11302
11303 2012-02-13  ChangSeok Oh  <shivamidow@gmail.com>
11304
11305         [GTK] Mutation Observers build is broken
11306         https://bugs.webkit.org/show_bug.cgi?id=78433
11307
11308         Reviewed by Martin Robinson.
11309
11310         Enabled mutation observers as a default feature for GTK port, too.
11311
11312         * Scripts/build-webkit:
11313
11314 2012-02-13  Loïc Yhuel  <loic.yhuel_ext@softathome.com>
11315
11316         Allow to configure ENABLE_FTPDIR in build-webkit
11317         https://bugs.webkit.org/show_bug.cgi?id=65098
11318
11319         Reviewed by Eric Seidel.
11320
11321         Allow to disable ENABLE_FTPDIR by command line.
11322         Remove ENABLE_FTPDIR from --minimal build
11323
11324         * Scripts/build-webkit: Add entries for ENABLE_FTPDIR (enabled by default)
11325         * qmake/mkspecs/features/features.prf: ENABLE_FTPDIR must be set to match Platform.h,
11326         as, for Qt platform, build-webkit does not add on command line what it thinks to be default values
11327
11328 2012-02-13  Shinya Kawanaka  <shinyak@chromium.org>
11329
11330         Add shinyak as committer.
11331
11332         Unreviewed.
11333
11334         * Scripts/webkitpy/common/config/committers.py:
11335
11336 2012-02-13  Adam Barth  <abarth@webkit.org>
11337
11338         Implement start/stop_helper for ChromiumAndroidPort
11339         https://bugs.webkit.org/show_bug.cgi?id=78558
11340
11341         Reviewed by Dirk Pranke.
11342
11343         These functions (and their dependencies) set up the Android device for
11344         testing.
11345
11346         This patch also includes a few tweaks on the previous patch recommended
11347         by dpranke.
11348
11349         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
11350         (ChromiumAndroidPort.__init__):
11351         (ChromiumAndroidPort.start_helper):
11352         (ChromiumAndroidPort.stop_helper):
11353         (ChromiumAndroidPort._shut_down_http_server):
11354         (ChromiumAndroidPort):
11355         (ChromiumAndroidPort._push_executable):
11356         (ChromiumAndroidPort._push_fonts):
11357         (ChromiumAndroidPort._restore_system_font):
11358         (ChromiumAndroidPort._push_test_resources):
11359         (ChromiumAndroidPort._push_to_device):
11360         (ChromiumAndroidPort._pull_from_device):
11361         (ChromiumAndroidPort._kill_device_process):
11362         (ChromiumAndroidPort._setup_performance):
11363         (ChromiumAndroidPort._teardown_performance):
11364         * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
11365         (ChromiumAndroidPortTest):
11366         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
11367         (PortTestCase):
11368         (PortTestCase.make_port):
11369         (PortTestCase.test_default_worker_model):
11370
11371 2012-02-13  Adam Barth  <abarth@webkit.org>
11372
11373         Implement enough of ChromiumAndroidPort to make ChromiumAndroidPortTest pass
11374         https://bugs.webkit.org/show_bug.cgi?id=78550
11375
11376         Reviewed by Eric Seidel.
11377
11378         Much of this code just forwards to the "host" port, which seems like a
11379         reasonable thing to do.
11380
11381         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
11382         (ChromiumAndroidPort.__init__):
11383         (ChromiumAndroidPort.stop_helper):
11384         (ChromiumAndroidPort):
11385         (ChromiumAndroidPort._build_path):
11386         (ChromiumAndroidPort._path_to_apache):
11387         (ChromiumAndroidPort._path_to_apache_config_file):
11388         (ChromiumAndroidPort._path_to_driver):
11389         (ChromiumAndroidPort._path_to_helper):
11390         (ChromiumAndroidPort._path_to_image_diff):
11391         (ChromiumAndroidPort._path_to_lighttpd):
11392         (ChromiumAndroidPort._path_to_lighttpd_modules):
11393         (ChromiumAndroidPort._path_to_lighttpd_php):
11394         (ChromiumAndroidPort._path_to_wdiff):
11395         (ChromiumAndroidPort._shut_down_http_server):
11396         * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
11397         (ChromiumAndroidPortTest):
11398         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
11399         (PortTestCase):
11400         (PortTestCase.make_port):
11401         (PortTestCase.test_default_worker_model):
11402
11403 2012-02-13  Adam Barth  <abarth@webkit.org>
11404
11405         chromium_android.py should implement "virtual" methods from ChromiumPort
11406         https://bugs.webkit.org/show_bug.cgi?id=78545
11407
11408         Reviewed by Dirk Pranke.
11409
11410         This patch adds basic implementations that specialize a bunch of
11411         functions from ChromiumPort.
11412
11413         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
11414         (ChromiumAndroidPort):
11415         (ChromiumAndroidPort.__init__):
11416         (ChromiumAndroidPort.default_child_processes):
11417         (ChromiumAndroidPort.baseline_search_path):
11418         (ChromiumAndroidPort.check_build):
11419         (ChromiumAndroidPort.check_sys_deps):
11420         (ChromiumAndroidPort.default_worker_model):
11421         (ChromiumAndroidPort.test_expectations):
11422         (ChromiumAndroidPort.start_http_server):
11423         (ChromiumAndroidPort.stop_http_server):
11424         (ChromiumAndroidPort.start_helper):
11425         (ChromiumAndroidPort.stop_helper):
11426
11427 2012-02-13  Adam Barth  <abarth@webkit.org>
11428
11429         Add a skeleton ChromiumAndroid port to webkitpy
11430         https://bugs.webkit.org/show_bug.cgi?id=78543
11431
11432         Reviewed by Eric Seidel.
11433
11434         This patch just adds an empty ChromiumAndroid port object to webkitpy
11435         and wires it up to the factory objects.  An actual implementation will
11436         follow.
11437
11438         * Scripts/webkitpy/layout_tests/port/chromium.py:
11439         (ChromiumPort):
11440         * Scripts/webkitpy/layout_tests/port/chromium_android.py: Added.
11441         (ChromiumAndroidPort):
11442         (ChromiumAndroidPort.__init__):
11443         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
11444         (ChromiumPortTest.test_all_test_configurations):
11445         * Scripts/webkitpy/layout_tests/port/factory.py:
11446         (PortFactory):
11447
11448 2012-02-13  Adam Barth  <abarth@webkit.org>
11449
11450         NRWT's HTTP servers should support additional directories for resources
11451         https://bugs.webkit.org/show_bug.cgi?id=78528
11452
11453         Reviewed by Eric Seidel.
11454
11455         This functionality will be used by the Chromium-Android port.
11456
11457         * Scripts/webkitpy/layout_tests/port/base.py:
11458         (Port.to.start_http_server):
11459         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
11460         (LayoutTestApacheHttpd.__init__):
11461         * Scripts/webkitpy/layout_tests/servers/http_server.py:
11462         (Lighttpd.__init__):
11463         (Lighttpd._prepare_config):
11464
11465 2012-02-13  Ami Fischman  <fischman@chromium.org>
11466
11467         Add fischman as committer.
11468
11469         Unreviewed
11470
11471         * Scripts/webkitpy/common/config/committers.py:
11472
11473 2012-02-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
11474
11475         [EFL] Drop support for the Curl network backend.
11476         https://bugs.webkit.org/show_bug.cgi?id=77874
11477
11478         Reviewed by Eric Seidel.
11479
11480         Nobody seems to be maintaining the Curl backend in WebCore, the
11481         EFL port developers all seem to be using the Soup backend and the
11482         port itself has many features which are only implemented for the
11483         latter.
11484
11485         * DumpRenderTree/efl/CMakeLists.txt: Always link to glib/libsoup
11486         and always add the required include directories.
11487         * EWebLauncher/CMakeLists.txt: Add the required glib/libsoup
11488         include directories and link to them.
11489
11490 2012-02-13  Kenichi Ishibashi  <bashi@chromium.org>
11491
11492         [WebSocket] Update pywebsocket to 0.7.1
11493         https://bugs.webkit.org/show_bug.cgi?id=78484
11494
11495         pywebsocket-0.7.1 follow the current draft of WebSocket deflate-frame extension.
11496
11497         Reviewed by Kent Tamura.
11498
11499         * Scripts/webkitpy/thirdparty/__init__.py:
11500         (AutoinstallImportHook._install_pywebsocket):
11501
11502 2012-02-12  Kangil Han  <kangil.han@samsung.com>
11503
11504         [EFL][DRT] Implement zoomPage{In,Out} and textZoom{In,Out} events.
11505         https://bugs.webkit.org/show_bug.cgi?id=78091
11506
11507         Reviewed by Hajime Morita.
11508
11509         Implemented zoomPageIn, zoomPageOut, textZoomIn and textZoomOut events on EFL DRT.
11510         This patch will activate around 1,900 test cases from skipped list in EFL port.
11511
11512         * DumpRenderTree/efl/EventSender.cpp:
11513         (textZoom):
11514         (pageZoom):
11515         (textZoomInCallback):
11516         (textZoomOutCallback):
11517         (zoomPageInCallback):
11518         (zoomPageOutCallback):
11519
11520 2012-02-12  Ashod Nakashian  <ashodnakashian@yahoo.com>
11521
11522         KeywordLookupGenerator.py script fails in some cases
11523         https://bugs.webkit.org/show_bug.cgi?id=77886
11524
11525         Reviewed by Benjamin Poulain.
11526
11527         * Scripts/webkitpy/style/checker.py: New rule for Keywords.table to not have CR.
11528         * Scripts/webkitpy/style/checker_unittest.py: New UT for Keywords.table rule.
11529         (GlobalVariablesTest.test_path_rules_specifier):
11530
11531 2012-02-12  Joe Thomas  <joethomas@motorola.com>
11532
11533         Add toText and isTextNode helpers in Text class.
11534         https://bugs.webkit.org/show_bug.cgi?id=78140
11535
11536         Unit test case for the new style checker introduced.
11537
11538         Reviewed by Adam Barth.
11539
11540         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
11541         (CppStyleTest):
11542         (CppStyleTest.test_static_cast_readability): Added a unit test case.
11543
11544 2012-02-12  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
11545
11546         Enable features supported by EFL port in build-webkit.
11547         https://bugs.webkit.org/show_bug.cgi?id=78348
11548
11549         Reviewed by Ryosuke Niwa.
11550
11551         Sync build-webkit with OptionEfl.cmake, as some features enabled in
11552         OptionEfl.cmake are not enabled in build-webkit.
11553
11554         * Scripts/build-webkit:
11555
11556 2012-02-12  Joe Thomas  <joethomas@motorola.com>
11557
11558         Add toText and isTextNode helpers in Text class.
11559         https://bugs.webkit.org/show_bug.cgi?id=78140
11560
11561         Added a style checker to use toText rather than static_cast<Text*>.
11562
11563         Reviewed by Adam Barth.
11564
11565         * Scripts/webkitpy/style/checkers/cpp.py:
11566         (check_language): Style checker for static_cast<Text*>.
11567
11568 2012-02-12  Philippe Normand  <pnormand@igalia.com>
11569
11570         Unreviewed, disable Mutation observers build on GTK until it can
11571         actually build.
11572
11573         * Scripts/build-webkit:
11574
11575 2012-02-11  Benjamin Poulain  <benjamin@webkit.org>
11576
11577         Add back WTFURL to WebKit
11578         https://bugs.webkit.org/show_bug.cgi?id=77291
11579
11580         Reviewed by Adam Barth.
11581
11582         Add a flag to build-webkit to easily build WebKit with WTFURL.
11583
11584         * Scripts/build-webkit:
11585
11586 2012-02-10  Adam Klein  <adamk@chromium.org>
11587
11588         Enable MUTATION_OBSERVERS by default on all platforms
11589         https://bugs.webkit.org/show_bug.cgi?id=78196
11590
11591         Reviewed by Ojan Vafai.
11592
11593         * Scripts/build-webkit:
11594
11595 2012-02-10  Adam Barth  <abarth@webkit.org>
11596
11597         Move garden-o-matic's All Failures out of experimental
11598         https://bugs.webkit.org/show_bug.cgi?id=78395
11599
11600         Reviewed by Dimitri Glazkov.
11601
11602         Several folks have tried this feature and found it useful.
11603
11604         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
11605
11606 2012-02-10  Tim Horton  <timothy_horton@apple.com>
11607
11608         NRWT should categorize options in --help
11609         https://bugs.webkit.org/show_bug.cgi?id=76221
11610
11611         Reviewed by Eric Seidel.
11612         
11613         Use optparse's OptionGroup mechanism to logically group NRWT's options,
11614         providing a better experience when scanning all the options.
11615
11616         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
11617         (parse_args):
11618
11619 2012-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
11620
11621         [Qt][WK2] Refactor on Qt5 Layout tests' structure
11622         https://bugs.webkit.org/show_bug.cgi?id=77450
11623
11624         Reviewed by Csaba Osztrogonác.
11625
11626         Fix the scripts and related unittest due to the rename of qt-wk2 and qt-wk1
11627         to qt-5.0-wk2 and qt-5.0-wk1.
11628
11629         * Scripts/old-run-webkit-tests:
11630         (buildPlatformResultHierarchy):
11631         (readSkippedFiles):
11632         * Scripts/webkitpy/layout_tests/port/qt.py:
11633         (QtPort._wk2_port_name):
11634         (QtPort._skipped_file_search_paths):
11635         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
11636         (QtPortTest.test_baseline_search_path):
11637         * Scripts/webkitpy/layout_tests/port/webkit.py:
11638         (WebKitPort._wk2_port_name):
11639
11640 2012-02-09  Philippe Normand  <pnormand@igalia.com>
11641
11642         [GTK] EWS command-line option to run the tests
11643         https://bugs.webkit.org/show_bug.cgi?id=78211
11644
11645         Reviewed by Adam Barth.
11646
11647         New --run-tests option (defaults to False) for the EWS commands.
11648
11649         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
11650         (AbstractEarlyWarningSystem):
11651         (AbstractEarlyWarningSystem.__init__):
11652         (AbstractEarlyWarningSystem.review_patch):
11653         (ChromiumLinuxEWS):
11654         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
11655         (EarlyWarningSytemTest._test_builder_ews):
11656
11657 2012-02-09  Eric Seidel  <eric@webkit.org>
11658
11659         Rename compare_text and compare_audio to make it clear that they're !=
11660         https://bugs.webkit.org/show_bug.cgi?id=78301
11661
11662         Reviewed by Adam Barth.
11663
11664         I also removed the maybe_create_directory function which was redundant.
11665
11666         * Scripts/webkitpy/layout_tests/controllers/manager.py:
11667         (Manager.set_up_run):
11668         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
11669         (TestResultWriter._make_output_directory):
11670         * Scripts/webkitpy/layout_tests/port/base.py:
11671         (Port.do_text_results_differ):
11672         (Port.do_audio_results_differ):
11673         (Port.diff_text):
11674         (Port.driver_name):
11675         (Port.skips_perf_test):
11676         * Scripts/webkitpy/layout_tests/port/win.py:
11677         (WinPort.do_text_results_differ):
11678         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
11679         (WinPortTest.test_do_text_results_differ):
11680         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
11681         (LayoutTestApacheHttpd.__init__):
11682         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
11683         (HttpServerBase.__init__):
11684         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
11685         (Rebaseliner._diff_baselines):
11686
11687 2012-02-09  Zan Dobersek  <zandobersek@gmail.com>
11688
11689         [GTK] Add DRT support for modal dialogs
11690         https://bugs.webkit.org/show_bug.cgi?id=53600
11691
11692         Reviewed by Martin Robinson.
11693
11694         Implement the modal dialogs handling in DumpRenderTree and GtkLauncher.
11695         Most significantly, when creating a new web view in GtkLauncher, the window
11696         of the web view opener is passed around. In DumpRenderTree, the window of
11697         the main web view is always considered as the opener. This is required so
11698         the modal dialog's toplevel can be made transient for the opener's toplevel.
11699
11700         * DumpRenderTree/gtk/DumpRenderTree.cpp:
11701         (webViewRunModalDialog):
11702         (createWebView):
11703         * GtkLauncher/main.c:
11704         (createWebViewCb):
11705         (runModalDialogCb):
11706         (createBrowser):
11707         (createWindow):
11708         (main):
11709
11710 2012-02-09  Zan Dobersek  <zandobersek@gmail.com>
11711
11712         [Gtk] security/set-form-autocomplete-attribute.html fails
11713         https://bugs.webkit.org/show_bug.cgi?id=78261
11714
11715         Reviewed by Martin Robinson.
11716
11717         Use the new helper in DumpRenderTreeSupportGtk to properly
11718         test whether an element performs autocompletion.
11719
11720         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
11721         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
11722
11723 2012-02-09  James Robinson  <jamesr@chromium.org>
11724
11725         [chromium] Enable mock scrollbars for compositing layout tests
11726         https://bugs.webkit.org/show_bug.cgi?id=78299
11727
11728         Reviewed by Dirk Pranke.
11729
11730         This enables mock scrollbars by default for compositing tests. These pixel tests are intended to test the
11731         compositor behavior, not native theming, and having real scrollbars causes us to have to maintain significantly
11732         more pngs than we should and expose weird alpha bugs in our theming that doesn't impact real users.
11733
11734         * DumpRenderTree/chromium/TestShell.cpp:
11735         (TestShell::runFileTest):
11736         * DumpRenderTree/chromium/WebPreferences.cpp:
11737         (WebPreferences::reset):
11738         (WebPreferences::applyTo):
11739         * DumpRenderTree/chromium/WebPreferences.h:
11740         (WebPreferences):
11741
11742 2012-02-09  Eric Seidel  <eric@webkit.org>
11743
11744         Remove more uses of "os" from our webkitpy code
11745         https://bugs.webkit.org/show_bug.cgi?id=78292
11746
11747         Reviewed by Adam Barth.
11748
11749         * Scripts/webkitpy/common/checkout/checkout_mock.py:
11750         (MockCheckout.__init__):
11751         (MockCheckout.is_path_to_changelog):
11752         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
11753         * Scripts/webkitpy/common/system/filesystem_mock.py:
11754         (MockFileSystem._split):
11755         * Scripts/webkitpy/common/system/zipfileset_unittest.py:
11756         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
11757         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
11758         * Scripts/webkitpy/layout_tests/port/webkit.py:
11759         * Scripts/webkitpy/tool/bot/queueengine.py:
11760         * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
11761         * Scripts/webkitpy/tool/commands/download.py:
11762         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
11763         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
11764         * Scripts/webkitpy/tool/commands/sheriffbot.py:
11765         * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
11766         * Scripts/webkitpy/tool/commands/upload.py:
11767         (CreateBug.prompt_for_bug_title_and_comment):
11768         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
11769         * Scripts/webkitpy/tool/steps/attachtobug.py:
11770         (AttachToBug.run):
11771         * Scripts/webkitpy/tool/steps/checkstyle.py:
11772         * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
11773         * Scripts/webkitpy/tool/steps/commit_unittest.py:
11774         * Scripts/webkitpy/tool/steps/editchangelog.py:
11775         * Scripts/webkitpy/tool/steps/preparechangelog.py:
11776         * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
11777         (PrepareChangeLogTest.test_ensure_bug_url):
11778         * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py:
11779         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
11780         * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
11781         * Scripts/webkitpy/tool/steps/validatereviewer.py:
11782
11783 2012-02-09  Eric Seidel  <eric@webkit.org>
11784
11785         Remove the cr-mac-ews (it's long been dead)
11786         https://bugs.webkit.org/show_bug.cgi?id=78267
11787
11788         Reviewed by Adam Barth.
11789
11790         * QueueStatusServer/model/queues.py:
11791         (Queue):
11792         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
11793         (ChromiumWindowsEWS):
11794         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
11795         (EarlyWarningSytemTest._test_builder_ews):
11796         (EarlyWarningSytemTest._test_testing_ews):
11797
11798 2012-02-09  Dirk Pranke  <dpranke@chromium.org>
11799
11800         some tests in webkitpy are being run three times
11801         https://bugs.webkit.org/show_bug.cgi?id=78283
11802
11803         Reviewed by Ryosuke Niwa.
11804
11805         It turns out that if you import a class derived from
11806         unittest.TestCase as a base name (e.g., from ... import ChangeLogTest),
11807         the unittest framework treats it as if the class was defined in
11808         the file (as well in the original file). This led us to running
11809         the tests in ChangeLogTest three times.
11810
11811         * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
11812         (PrepareChangeLogTest):
11813         * Scripts/webkitpy/tool/steps/preparechangelogforrevert_unittest.py:
11814         (_assert_message_for_revert_output):
11815
11816 2012-02-09  Adam Barth  <abarth@webkit.org>
11817
11818         Remove extraneous line in previous patch.  I forgot to remove this
11819         before landing.
11820
11821         * Scripts/webkitpy/layout_tests/port/driver.py:
11822         (DriverProxy.start):
11823
11824 2012-02-09  Adam Barth  <abarth@webkit.org>
11825
11826         run-perf-tests should have an option to pause before running tests so we can attach Instruments
11827         https://bugs.webkit.org/show_bug.cgi?id=78271
11828
11829         Reviewed by Ryosuke Niwa.
11830
11831         This lets me attach instruments to profile the performance of the test.
11832
11833         * Scripts/webkitpy/layout_tests/port/chromium.py:
11834         (ChromiumDriver.start):
11835         * Scripts/webkitpy/layout_tests/port/driver.py:
11836         (Driver.start):
11837         (DriverProxy.start):
11838         * Scripts/webkitpy/layout_tests/port/server_process.py:
11839         (ServerProcess.start):
11840         * Scripts/webkitpy/layout_tests/port/test.py:
11841         (TestDriver.start):
11842         * Scripts/webkitpy/layout_tests/port/webkit.py:
11843         (WebKitDriver.start):
11844         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
11845         (get_tests_run.RecordingTestDriver.start):
11846         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
11847         (PerfTestsRunner._parse_args):
11848         (PerfTestsRunner._run_tests_set):
11849         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
11850         (start):
11851         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount):
11852         (test_run_test_set_kills_drt_per_run):
11853         (test_run_test_set_kills_drt_per_run.TestDriverWithStartCount):
11854         (test_run_test_set_kills_drt_per_run.TestDriverWithStartCount.start):
11855
11856 2012-02-09  Adam Barth  <abarth@webkit.org>
11857
11858         run-perf-tests --chromium should run the chromium port
11859         https://bugs.webkit.org/show_bug.cgi?id=78266
11860
11861         Reviewed by Ryosuke Niwa.
11862
11863         This patch makes run-perf-tests work more like run-webkit-tests.
11864
11865         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
11866         (PerfTestsRunner._parse_args):
11867
11868 2012-02-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
11869
11870         [Qt][WK2] run-webkit-tests --qt  crashes if WEBKIT_TESTFONTS is not set
11871         https://bugs.webkit.org/show_bug.cgi?id=77466
11872
11873         Reviewed by Dirk Pranke.
11874
11875         Replicate the behavior of old-run-webkit-tests and check if WEBKIT_TESTFONTS
11876         is set or if we should raise an error. A unit test was added.
11877
11878         * Scripts/webkitpy/layout_tests/port/qt.py:
11879         (QtPort.operating_system):
11880         (QtPort):
11881         (QtPort.check_sys_deps):
11882         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
11883         (QtPortTest.test_operating_system):
11884         (QtPortTest):
11885         (QtPortTest.test_check_sys_deps):
11886
11887 2012-02-09  Eric Seidel  <eric@webkit.org>
11888
11889         Rename ports.WebKitPort to DeprecatedPort and make it stop being all class methods
11890         https://bugs.webkit.org/show_bug.cgi?id=78263
11891
11892         Reviewed by Adam Barth.
11893
11894         * Scripts/webkitpy/common/config/ports.py:
11895         (DeprecatedPort):
11896         (DeprecatedPort.name):
11897         (DeprecatedPort.flag):
11898         (DeprecatedPort.script_path):
11899         (DeprecatedPort.script_shell_command):
11900         (DeprecatedPort.port):
11901         (DeprecatedPort.makeArgs):
11902         (DeprecatedPort.update_webkit_command):
11903         (DeprecatedPort.check_webkit_style_command):
11904         (DeprecatedPort.prepare_changelog_command):
11905         (DeprecatedPort.build_webkit_command):
11906         (DeprecatedPort.run_javascriptcore_tests_command):
11907         (DeprecatedPort.run_webkit_unit_tests_command):
11908         (DeprecatedPort.run_webkit_tests_command):
11909         (DeprecatedPort.run_python_unittests_command):
11910         (DeprecatedPort.run_perl_unittests_command):
11911         (DeprecatedPort.layout_tests_results_path):
11912         (MacPort):
11913         (WinPort):
11914         (GtkPort):
11915         (GtkPort.build_webkit_command):
11916         (GtkPort.run_webkit_tests_command):
11917         (QtPort):
11918         (QtPort.build_webkit_command):
11919         (EflPort):
11920         (EflPort.build_webkit_command):
11921         (ChromiumPort):
11922         (ChromiumPort.update_webkit_command):
11923         (ChromiumPort.build_webkit_command):
11924         (ChromiumPort.run_webkit_tests_command):
11925         (ChromiumPort.run_javascriptcore_tests_command):
11926         (ChromiumXVFBPort):
11927         (ChromiumXVFBPort.run_webkit_tests_command):
11928         * Scripts/webkitpy/common/config/ports_unittest.py:
11929         (DeprecatedPortTest):
11930         (DeprecatedPortTest.test_mac_port):
11931         (DeprecatedPortTest.test_gtk_port):
11932         (DeprecatedPortTest.test_qt_port):
11933         (DeprecatedPortTest.test_chromium_port):
11934         (DeprecatedPortTest.test_chromium_xvfb_port):
11935         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
11936         (AbstractEarlyWarningSystem.__init__):
11937         * Scripts/webkitpy/tool/commands/sheriffbot.py:
11938         * Scripts/webkitpy/tool/main.py:
11939         (WebKitPatch):
11940         (WebKitPatch.handle_global_options):
11941         * Scripts/webkitpy/tool/steps/abstractstep.py:
11942         * Scripts/webkitpy/tool/steps/steps_unittest.py:
11943         (StepsTest.test_runtests_args):
11944
11945 2012-02-09  Jochen Eisinger  <jochen@chromium.org>
11946
11947         [chromium] always initialize makeArgs in buildChromiumNinja
11948         https://bugs.webkit.org/show_bug.cgi?id=78231
11949
11950         Reviewed by Tony Gentilcore.
11951
11952         * Scripts/webkitdirs.pm:
11953         (buildChromiumNinja):
11954
11955 2012-02-09  Carlos Garcia Campos  <cgarcia@igalia.com>
11956
11957         [GTK] Show url of current hovered link in MiniBrowser
11958         https://bugs.webkit.org/show_bug.cgi?id=78098
11959
11960         Reviewed by Martin Robinson.
11961
11962         * MiniBrowser/gtk/BrowserWindow.c:
11963         (webViewMouseTargetChanged): Check whether hit test result is a
11964         link and use the url to update the status bar text.
11965         (browserWindowConstructed): Connect to
11966         WebKitWebView::mouse-target-changed signal.
11967
11968 2012-02-09  Rob Buis  <rbuis@rim.com>
11969
11970         [BlackBerry] Upstream DumpRenderTreeBlackBerry
11971         https://bugs.webkit.org/show_bug.cgi?id=78042
11972
11973         Reviewed by Antonio Gomes.
11974
11975         Upstream final part of our DRT implementation.
11976
11977         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp: Added.
11978         * DumpRenderTree/blackberry/PNGImageEncoder.cpp: Added.
11979         * DumpRenderTree/blackberry/PNGImageEncoder.h: Added.
11980         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp: Added.
11981         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.h: Added.
11982
11983 2012-02-09  Ryosuke Niwa  <rniwa@webkit.org>
11984
11985         kill-old-processes should kill gcc and clang
11986         https://bugs.webkit.org/show_bug.cgi?id=78189
11987
11988         Reviewed by Eric Seidel.
11989
11990         Added a bunch of processes names of gcc and clang to the list.
11991
11992         * BuildSlaveSupport/kill-old-processes:
11993
11994 2012-02-07  MORITA Hajime  <morrita@google.com>
11995
11996         Replacement text should be available from the marker.
11997         https://bugs.webkit.org/show_bug.cgi?id=77934
11998
11999         Made the mock requestCheckingOfText() implementation to return
12000         a replacement text for each misspelled word if available.
12001
12002         Reviewed by Kent Tamura.
12003
12004         * DumpRenderTree/chromium/WebViewHost.cpp:
12005         (WebViewHost::finishLastTextCheck):
12006
12007 2012-02-08  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
12008
12009         [Qt][DRT] DumpRenderTreeQt should support --no-timeout and --timeout options
12010         https://bugs.webkit.org/show_bug.cgi?id=78146
12011
12012         Reviewed by Ryosuke Niwa.
12013
12014         Our DumpRenderTree should support --no-timeout and --timeout options in order
12015         to be able to use run-perf-tests and have a Performance Bot.
12016         This patch adds setTimeout and setShouldTimeout functions to our LayoutTestController
12017         and the necessary code to handle such command line arguments to our DumpRenderTree.
12018
12019         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
12020         (WebCore::DumpRenderTree::setTimeout):
12021         (WebCore):
12022         (WebCore::DumpRenderTree::setShouldTimeout):
12023         * DumpRenderTree/qt/DumpRenderTreeQt.h:
12024         (DumpRenderTree):
12025         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
12026         (LayoutTestController::LayoutTestController):
12027         (LayoutTestController::waitUntilDone):
12028         (LayoutTestController::notifyDone):
12029         * DumpRenderTree/qt/LayoutTestControllerQt.h:
12030         (LayoutTestController::setTimeout):
12031         (LayoutTestController::setShouldTimeout):
12032         (LayoutTestController):
12033         * DumpRenderTree/qt/main.cpp:
12034         (isOption):
12035         (printUsage):
12036         (main):
12037
12038 2012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
12039
12040         Rubber-stamped by Martin Robinson.
12041
12042         * gtk/common.py:
12043         (get_build_path): Move test for current directory being a valid
12044         directory up so it takes precedence over WebKitBuild/Release and
12045         WebKitBuild/Debug when they exist as well.
12046
12047 2012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
12048
12049         [GTK] doc rebasing does not respect DESTDIR
12050         https://bugs.webkit.org/show_bug.cgi?id=78177
12051
12052         Reviewed by Martin Robinson.
12053
12054         * GNUmakefile.am: Pass DESTDIR on to generate-gtkdoc, when
12055         calling it for rebasing.
12056         * gtk/generate-gtkdoc:
12057         (get_common_options): Handle the new --virtual-root option.
12058         * gtk/gtkdoc.py:
12059         (GTKDoc.rebase_installed_docs): If a virtual-root has been given, pass
12060         it on to gtkdoc-rebase as dest-dir, and prefix the htmldir with it.
12061
12062 2012-02-08  Adam Barth  <abarth@webkit.org>
12063
12064         Remove Python 2.5 support from WebKit
12065         https://bugs.webkit.org/show_bug.cgi?id=71593
12066
12067         Reviewed by Eric Seidel.
12068
12069         This is the last vestige of our Python 2.5 support.
12070
12071         * Scripts/webkitpy/tool/commands/queues_unittest.py:
12072         (AbstractQueueTest.test_log_from_script_error_for_upload):
12073
12074 2012-02-08  Adam Barth  <abarth@webkit.org>
12075
12076         version_check.py should inform users that we don't support Python 2.5 anymore
12077         https://bugs.webkit.org/show_bug.cgi?id=78179
12078
12079         Reviewed by Eric Seidel.
12080
12081         We don't support Python 2.5 anymore.
12082
12083         * Scripts/webkitpy/common/version_check.py:
12084
12085 2012-02-08  Adam Barth  <abarth@webkit.org>
12086
12087         test_configuration.py shouldn't re-implement itertools
12088         https://bugs.webkit.org/show_bug.cgi?id=78178
12089
12090         Reviewed by Eric Seidel.
12091
12092         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
12093         (TestConfigurationConverter.to_specifiers_list):
12094         (TestConfigurationConverter.to_specifiers_list.try_collapsing):
12095         (TestConfigurationConverter.to_specifiers_list.try_abbreviating):
12096         (TestConfigurationConverter):
12097
12098 2012-02-08  Adam Barth  <abarth@webkit.org>
12099
12100         webkitpy should reply upon the multiprocessing package existing
12101         https://bugs.webkit.org/show_bug.cgi?id=78176
12102
12103         Reviewed by Eric Seidel.
12104
12105         Now that we don't support Python 2.5, this import can't fail.
12106
12107         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
12108         (get):
12109         (_Process):
12110         (_Process.__init__):
12111         (_Process.run):
12112         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
12113         (FunctionTests.test_get__processes):
12114         (MultiProcessBrokerTests.setUp):
12115         * Scripts/webkitpy/layout_tests/port/base.py:
12116         (Port.__init__):
12117         (Port.default_worker_model):
12118         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
12119         (ChromiumMacPort.check_build):
12120         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
12121         (PortTestCase.test_default_worker_model):
12122         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
12123
12124 2012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
12125
12126         Unreviewed typo fix that makes docs build again for the gtk2-based
12127         library.
12128
12129         * gtk/generate-gtkdoc:
12130
12131 2012-02-08  Adam Barth  <abarth@webkit.org>
12132
12133         Don't re-implement ZipFile.extractall
12134         https://bugs.webkit.org/show_bug.cgi?id=78173
12135
12136         Reviewed by Eric Seidel.
12137
12138         We can use ZipFile.extractall now that we don't support Python 2.5.
12139
12140         * Scripts/webkitpy/common/system/autoinstall.py:
12141         (AutoInstaller._extract_targz):
12142         (AutoInstaller._unzip):
12143
12144 2012-02-08  Adam Barth  <abarth@webkit.org>
12145
12146         Remove the ospath compat shim from webkitpy
12147         https://bugs.webkit.org/show_bug.cgi?id=78170
12148
12149         Reviewed by Eric Seidel.
12150
12151         We no longer need this compat shim now that we don't support Python 2.5.
12152
12153         * Scripts/webkitpy/common/checkout/scm/git.py:
12154         * Scripts/webkitpy/common/checkout/scm/svn.py:
12155         * Scripts/webkitpy/common/system/filesystem.py:
12156         (FileSystem.relpath):
12157         * Scripts/webkitpy/common/system/filesystem_mock.py:
12158         (MockFileSystem.relpath):
12159         * Scripts/webkitpy/common/system/ospath.py: Removed.
12160         * Scripts/webkitpy/common/system/ospath_unittest.py: Removed.
12161
12162 2012-02-08  Ryosuke Niwa  <rniwa@webkit.org>
12163
12164         Build fix attempt after r107053.
12165
12166         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
12167         (test_collect_tests):
12168
12169 2012-02-08  Adam Barth  <abarth@webkit.org>
12170
12171         Remove simplejson because it's no longer used by webkitpy
12172         https://bugs.webkit.org/show_bug.cgi?id=78164
12173
12174         Reviewed by Eric Seidel.
12175
12176         All the importers of this code were removed in a previous patch.
12177
12178         * Scripts/webkitpy/thirdparty/simplejson: Removed.
12179         * Scripts/webkitpy/thirdparty/simplejson/LICENSE.txt: Removed.
12180         * Scripts/webkitpy/thirdparty/simplejson/README.txt: Removed.
12181         * Scripts/webkitpy/thirdparty/simplejson/__init__.py: Removed.
12182         * Scripts/webkitpy/thirdparty/simplejson/_speedups.c: Removed.
12183         * Scripts/webkitpy/thirdparty/simplejson/decoder.py: Removed.
12184         * Scripts/webkitpy/thirdparty/simplejson/encoder.py: Removed.
12185         * Scripts/webkitpy/thirdparty/simplejson/jsonfilter.py: Removed.
12186         * Scripts/webkitpy/thirdparty/simplejson/ordered_dict.py: Removed.
12187         * Scripts/webkitpy/thirdparty/simplejson/scanner.py: Removed.
12188         * Scripts/webkitpy/thirdparty/simplejson/tool.py: Removed.
12189
12190 2012-02-08  Adam Barth  <abarth@webkit.org>
12191
12192         webkitpy still imports simplejson
12193         https://bugs.webkit.org/show_bug.cgi?id=78161
12194
12195         Reviewed by Eric Seidel.
12196
12197         We no longer support Python 2.5, so we can rely upon Python's built-in
12198         JSON package.
12199
12200         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
12201         * Scripts/webkitpy/common/net/resultsjsonparser.py:
12202         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor.py:
12203         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
12204         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
12205         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
12206         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
12207         * Scripts/webkitpy/style/checkers/jsonchecker.py:
12208         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
12209         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
12210         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
12211
12212 2012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
12213
12214         [GTK] Fails to build docs with non-standard build directories
12215         https://bugs.webkit.org/show_bug.cgi?id=78118
12216
12217         * gtk/common.py:
12218         (get_build_path): add comment to document changes done in r107098,
12219         as requested by the reviewer and forgotten by me.
12220
12221 2012-02-08  Adam Barth  <abarth@webkit.org>
12222
12223         Stop importing with_statement from the mysterious future
12224         https://bugs.webkit.org/show_bug.cgi?id=78156
12225
12226         Reviewed by Eric Seidel.
12227
12228         The future is now!  (Well, at least 2008, when Python 2.6 was released,
12229         is no longer the __future__.)
12230
12231         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
12232         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
12233         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
12234         * Scripts/webkitpy/common/net/credentials_unittest.py:
12235         * Scripts/webkitpy/common/net/file_uploader.py:
12236         * Scripts/webkitpy/common/newstringio_unittest.py:
12237         * Scripts/webkitpy/common/system/autoinstall.py:
12238         * Scripts/webkitpy/common/system/crashlogs.py:
12239         * Scripts/webkitpy/common/system/fileset.py:
12240         * Scripts/webkitpy/common/system/filesystem.py:
12241         * Scripts/webkitpy/common/system/filesystem_unittest.py:
12242         * Scripts/webkitpy/common/system/path.py:
12243         * Scripts/webkitpy/common/thread/threadedmessagequeue.py:
12244         * Scripts/webkitpy/layout_tests/controllers/manager.py:
12245         * Scripts/webkitpy/layout_tests/port/base.py:
12246         (of):
12247         * Scripts/webkitpy/layout_tests/port/gtk.py:
12248         * Scripts/webkitpy/layout_tests/port/test.py:
12249         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
12250         * Scripts/webkitpy/style/filereader_unittest.py:
12251         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
12252         * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:
12253         * Scripts/webkitpy/tool/commands/analyzechangelog.py:
12254         * Scripts/webkitpy/tool/commands/queues.py:
12255         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
12256         * Scripts/webkitpy/tool/steps/preparechangelogforrevert_unittest.py:
12257
12258 2012-02-08  Rob Buis  <rbuis@rim.com>
12259
12260         [BlackBerry] Upstream DumpRenderTreeBlackBerry
12261         https://bugs.webkit.org/show_bug.cgi?id=78042
12262
12263         Reviewed by Antonio Gomes.
12264
12265         Upstream more parts of our DRT implementation.
12266
12267         * DumpRenderTree/blackberry/AccessibilityControllerBlackBerry.cpp: Added.
12268         * DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp: Added.
12269         * DumpRenderTree/blackberry/EventSender.cpp: Added.
12270         * DumpRenderTree/blackberry/EventSender.h: Added.
12271         * DumpRenderTree/blackberry/GCControllerBlackBerry.cpp: Added.
12272         * DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp: Added.
12273
12274 2012-02-08  Dirk Pranke  <dpranke@chromium.org>
12275
12276         check-webkit-style failing with "Path does not exist."
12277         https://bugs.webkit.org/show_bug.cgi?id=77873
12278
12279         Reviewed by Ojan Vafai.
12280
12281         This change fixes the way the style checker determines which
12282         Port class to use for a given test_expectations.txt path; the
12283         previous version used a heuristic that didn't really work in the
12284         first place.
12285
12286         * Scripts/webkitpy/style/checkers/test_expectations.py:
12287         (TestExpectationsChecker._determine_port_from_expectations_path):
12288         (TestExpectationsChecker.__init__):
12289         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
12290         (TestExpectationsTestCase._expect_port_for_expectations_path):
12291         (TestExpectationsTestCase.test_determine_port_from_expectations_path):
12292
12293 2012-02-08  Fehér Zsolt  <feherzs@inf.u-szeged.hu>
12294
12295         nrwt: make --skip-pixel-test-if-no-baseline option
12296         https://bugs.webkit.org/show_bug.cgi?id=70484
12297
12298         Reviewed by Dirk Pranke.
12299
12300         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
12301         (SingleTestRunner.__init__):
12302         (SingleTestRunner._should_fetch_expected_checksum):
12303         * Scripts/webkitpy/layout_tests/controllers/worker.py:
12304         (Worker.handle_test_list):
12305         * Scripts/webkitpy/layout_tests/models/test_input.py:
12306         (TestInput.__init__):
12307         * Scripts/webkitpy/layout_tests/port/webkit.py:
12308         (WebKitDriver.cmd_line):
12309         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
12310         (_set_up_derived_options):
12311         (parse_args):
12312         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
12313         (MainTest.test_skip_pixel_test_if_no_baseline_option):
12314         * WebKitTestRunner/TestController.cpp:
12315         (WTR::TestController::TestController):
12316         (WTR::TestController::initialize):
12317         (WTR::TestController::runTest):
12318         * WebKitTestRunner/TestController.h:
12319         (TestController):
12320         * WebKitTestRunner/TestInvocation.cpp:
12321         (WTR::TestInvocation::TestInvocation):
12322         (WTR::TestInvocation::setIsPixelTest):
12323         * WebKitTestRunner/TestInvocation.h:
12324         (WTR::TestInvocation::setSkipPixelTestOption):
12325         (TestInvocation):
12326
12327 2012-02-08  Rob Buis  <rbuis@rim.com>
12328
12329         [BlackBerry] Upstream DumpRenderTreeBlackBerry
12330         https://bugs.webkit.org/show_bug.cgi?id=78042
12331
12332         Reviewed by Antonio Gomes.
12333
12334         Add implementation for our DumpRenderTree solution.
12335
12336         * DumpRenderTree/blackberry/DumpRenderTree.cpp: Added.
12337         * DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h: Added.
12338
12339 2012-02-08  Antti Koivisto  <antti@apple.com>
12340
12341         REGRESSION (r106681): Null check missing in [WebFrame(WebInternal) _typingStyle]
12342         https://bugs.webkit.org/show_bug.cgi?id=78080
12343
12344         Reviewed by Andreas Kling, Darin Adler and Dan Bernstein.
12345         
12346         Add API test.
12347
12348         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
12349         * TestWebKitAPI/Tests/mac/TypingStyleCrash.mm: Added.
12350         (TestWebKitAPI):
12351         (TestWebKitAPI::TEST):
12352
12353 2012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
12354
12355         [GTK] Fails to build docs with non-standard build directories
12356         https://bugs.webkit.org/show_bug.cgi?id=78118
12357
12358         Reviewed by Martin Robinson.
12359
12360         * gtk/common.py:
12361         (get_build_path): also try the current directory as a valid build
12362         dir, which makes non-standard build directories such as build-2.0
12363         and build-3.0 work
12364
12365 2012-02-08  Carlos Garcia Campos  <cgarcia@igalia.com>
12366
12367         [GTK] Open links in a new window when clicking with the middle button in MiniBrowser
12368         https://bugs.webkit.org/show_bug.cgi?id=78099
12369
12370         Reviewed by Martin Robinson.
12371
12372         * MiniBrowser/gtk/BrowserWindow.c:
12373         (webViewDecidePolicy): Check whether it's a link clicked with the
12374         middle mouse button and load the request in a new window.
12375         (browserWindowConstructed): Connect to
12376         WebKitWebView::decide-policy signal.
12377
12378 2012-02-08  Ryosuke Niwa  <rniwa@webkit.org>
12379
12380         Revert a part of the change in r106687 as a build fix.
12381
12382         Since Chromium port doesn't checkout the entire WebKit trunk,
12383         we can't run "svn info" on webkit_base.
12384
12385         * Scripts/webkitpy/layout_tests/port/base.py:
12386         (Port.repository_paths):
12387
12388 2012-02-07  Ryosuke Niwa  <rniwa@webkit.org>
12389
12390         run-perf-tests doesn't recognize paths that start with PerformanceTests
12391         https://bugs.webkit.org/show_bug.cgi?id=78012
12392
12393         Reviewed by Adam Barth.
12394
12395         Use resolve paths using filesystem.relpath before passing it to find_files.find.
12396
12397         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
12398         (PerfTestsRunner):
12399         (PerfTestsRunner._collect_tests):
12400         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
12401         (test_collect_tests):
12402         (test_collect_tests.add_file):
12403
12404 2012-02-07  Justin Novosad  <junov@chromium.org>
12405
12406         [Chromium] add option for 2d canvas defered rendering to DumpRenderTree
12407         https://bugs.webkit.org/show_bug.cgi?id=78039
12408
12409         Reviewed by Stephen White.
12410
12411         Adding the --enable-deferred-2d-canvas switch to DumpRenderTree
12412
12413         * DumpRenderTree/chromium/DumpRenderTree.cpp:
12414         (main):
12415         * DumpRenderTree/chromium/TestShell.cpp:
12416         (TestShell::TestShell):
12417         (TestShell::resetWebSettings):
12418         (TestShell::runFileTest):
12419         * DumpRenderTree/chromium/TestShell.h:
12420         (TestShell::setDeferred2dCanvasEnabled):
12421         (TestShell):
12422         * DumpRenderTree/chromium/WebPreferences.cpp:
12423         (WebPreferences::reset):
12424         (WebPreferences::applyTo):
12425         * DumpRenderTree/chromium/WebPreferences.h:
12426         (WebPreferences):
12427
12428 2012-02-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
12429
12430         [CMAKE] Use *bin* and *lib* directories for executable and libraries.
12431         https://bugs.webkit.org/show_bug.cgi?id=77928
12432
12433         Reviewed by Daniel Bates.
12434
12435         CMake has used *Programs* directory for executable. In addition, shared libraries are being
12436         built in source directory. It is better to set common places in order to maintain executable
12437         and libraries. *bin* is for executable and *lib* is for library.
12438
12439         * DumpRenderTree/efl/CMakeLists.txt:
12440         * EWebLauncher/CMakeLists.txt:
12441         * Scripts/run-launcher:
12442         * Scripts/webkitdirs.pm:
12443         (jscProductDir):
12444         * Scripts/webkitpy/layout_tests/port/efl.py:
12445         (EflPort._path_to_driver):
12446         (EflPort._path_to_image_diff):
12447
12448 2012-02-07  Adam Klein  <adamk@chromium.org>
12449
12450         Add JSC support for delivering mutations when the outermost script context exits
12451         https://bugs.webkit.org/show_bug.cgi?id=70289
12452
12453         Reviewed by Eric Seidel.
12454
12455         * DumpRenderTree/mac/EventSendingController.mm: Add support for
12456         eventSender.scheduleAsynchronousKeyDown.
12457         (+[EventSendingController isSelectorExcludedFromWebScript:]):
12458         (+[EventSendingController webScriptNameForSelector:]):
12459         (-[EventSendingController keyDownWrapper:withModifiers:withLocation:]):
12460         (-[EventSendingController scheduleAsynchronousKeyDown:withModifiers:withLocation:]):
12461         * Scripts/build-webkit: Properly alphabetize --mutation-observers in the --help output.
12462
12463 2012-02-07  Chris Rogers  <crogers@google.com>
12464
12465         Add Chris Rogers to reviewers section
12466         https://bugs.webkit.org/show_bug.cgi?id=78016
12467
12468         Reviewed by Adam Barth.
12469
12470         * Scripts/webkitpy/common/config/committers.py:
12471
12472 2012-02-07  Nikolas Zimmermann  <nzimmermann@rim.com>
12473
12474         layoutTestController.display() is flaky for SVG tests
12475         https://bugs.webkit.org/show_bug.cgi?id=78021
12476
12477         Reviewed by Dan Bernstein.
12478
12479         Fix race condition in repaint rect tracking. When running a test using the repaint.js
12480         harness right after a test starting with "svg/W3C-SVG-1.1" the repaint test will fail,
12481         the gray overlay isn't contained in the pixel dump anymore. This is because of a specific
12482         hack that forces 480x360 instead of 800x600 pixel test dumps for any test starting with
12483         svg/W3C-SVG-1.1. The resizing of the web view was done when dumping the render tree, after
12484         the repaint test already run, thus invalidating the previously tracked repaint rects.
12485
12486         * DumpRenderTree/mac/DumpRenderTree.mm:
12487         (dump):
12488         (runTest):
12489
12490 2012-02-07  Hans Wennborg  <hans@chromium.org>
12491
12492         Chromium: remove WebSpeechInputResult::set
12493         https://bugs.webkit.org/show_bug.cgi?id=77977
12494
12495         Reviewed by Darin Fisher.
12496
12497         It was renamed to assign() in r106475.
12498
12499         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
12500         (makeRectResult):
12501
12502 2012-02-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
12503
12504         [Qt] Give emulated touch-point a radius
12505         https://bugs.webkit.org/show_bug.cgi?id=77985
12506         
12507         Increase the radius of touch-point and show the actual size of the touch point in the touch-point mockup.
12508
12509         Reviewed by Kenneth Rohde Christiansen.
12510
12511         * MiniBrowser/qt/BrowserWindow.cpp:
12512         (BrowserWindow::updateVisualMockTouchPoints):
12513         * MiniBrowser/qt/MiniBrowserApplication.cpp:
12514         (MiniBrowserApplication::notify):
12515         * MiniBrowser/qt/qml/MockTouchPoint.qml:
12516
12517 2012-02-07  Mario Sanchez Prada  <msanchez@igalia.com>
12518
12519         [GTK] Include gdk-pixbuf in the jhbuild modules
12520         https://bugs.webkit.org/show_bug.cgi?id=77980
12521
12522         Reviewed by Gustavo Noronha Silva.
12523
12524         * gtk/jhbuild.modules: Add gdk-pixbuf to the jhbuild moduleset.
12525
12526 2012-02-07  Simon Hausmann  <simon.hausmann@nokia.com>
12527
12528         [Qt] Prevent early test termination with newer Qt 5
12529         https://bugs.webkit.org/show_bug.cgi?id=77945
12530
12531         Reviewed by Csaba Osztrogonác.
12532
12533         QTBUG-24120 tracks a regression in Qt that would make layout tests
12534         terminate early. This patch works around it in a Qt 4 + 5 safe manner
12535         by disabling the quitOnLastWindowClosed feature, which we don't want/need
12536         for DRT anyway.
12537
12538         * DumpRenderTree/qt/main.cpp:
12539         (main): Don't quit on last window closed.
12540
12541 2012-02-06  Martin Robinson  <mrobinson@igalia.com>
12542
12543         Fix some miscellaneous 'make dist' error for WebKitGTK+.
12544
12545         * MiniBrowser/gtk/GNUmakefile.am: The MiniBrowser generated
12546         files should not be distributed.
12547
12548 2012-02-02  Hajime Morrita  <morrita@chromium.org>
12549
12550         [PerformanceTests] Each Dromaeo test needs its landing html.
12551         https://bugs.webkit.org/show_bug.cgi?id=77504
12552
12553         Reviewed by Ryosuke Niwa.
12554
12555         Added an ignorable pattern which happens in some Dromaeo tests.
12556
12557         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
12558         (PerfTestsRunner):
12559
12560 2012-02-06  Kalev Lember  <kalevlember@gmail.com>
12561
12562         [GTK] Add missing pango include dir to fix build
12563         https://bugs.webkit.org/show_bug.cgi?id=77832
12564
12565         Reviewed by Martin Robinson.
12566
12567         * GNUmakefile.am: Added $(PANGO_CFLAGS) to libWebCoreInternals_la_CPPFLAGS.
12568
12569 2012-02-06  Martin Robinson  <mrobinson@igalia.com>
12570
12571         [GTK] Fix remaining errors in GTK+ WebKit2 API
12572         https://bugs.webkit.org/show_bug.cgi?id=77890
12573
12574         Reviewed by Gustavo Noronha Silva.
12575
12576         Verify that WebKit2 GTK+ test files are not skipped during style checks.
12577         Skip soup_server_new when checking for NULL versus 0 usage.
12578
12579         * Scripts/webkitpy/style/checker_unittest.py:
12580         (CheckerDispatcherSkipTest.test_should_skip_with_warning):
12581         * Scripts/webkitpy/style/checkers/cpp.py:
12582         (check_for_null):
12583
12584 2012-02-06  Eric Seidel  <eric@webkit.org>
12585
12586         webkit-patch apply-from-bug should be able to apply non-reviewed patches
12587         https://bugs.webkit.org/show_bug.cgi?id=77883
12588
12589         Reviewed by Adam Barth.
12590
12591         This is very helpful if you use bugzilla as a replacement for git-stash.
12592         Makes it simpler to re-apply the patch w/o having to look up the patch id.
12593
12594         * Scripts/webkitpy/tool/commands/download.py:
12595         (ProcessBugsMixin._fetch_list_of_patches_to_process):
12596         * Scripts/webkitpy/tool/commands/download_unittest.py:
12597         (DownloadCommandsTest.test_apply_from_bug):
12598
12599 2012-02-06  Philippe Normand  <pnormand@igalia.com>
12600
12601         [webkitpy] cpp style-checker complains about readability/naming in GStreamer elements source files
12602         https://bugs.webkit.org/show_bug.cgi?id=77866
12603
12604         Reviewed by Martin Robinson.
12605
12606         * Scripts/webkitpy/style/checker.py: Ignore readability/naming
12607         errors in some gstreamer source code files defining new GStreamer elements.
12608         * Scripts/webkitpy/style/checker_unittest.py:
12609         (GlobalVariablesTest.test_path_rules_specifier):
12610
12611 2012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
12612
12613         [GTK] Make sure html_dir exists before calling gtkdoc-rebase
12614         https://bugs.webkit.org/show_bug.cgi?id=77869
12615
12616         Reviewed by Philippe Normand.
12617
12618         * gtk/gtkdoc.py:
12619         (GTKDoc.rebase_installed_docs): Check html_dir exists.
12620
12621 2012-02-03  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
12622
12623         [Qt] Don't version QtWebKit.experimental.
12624         https://bugs.webkit.org/show_bug.cgi?id=77739
12625
12626         Reviewed by Tor Arne Vestbø.
12627
12628         * MiniBrowser/qt/qml/BrowserWindow.qml:
12629
12630 2012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
12631
12632         [GTK] Fix several gtkdoc-fixxref warnings
12633         https://bugs.webkit.org/show_bug.cgi?id=77613
12634
12635         Reviewed by Martin Robinson.
12636
12637         * gtk/generate-gtkdoc:
12638         (get_webkit1_options): Add webkitspellcheckerenchant.* to the list
12639         of ignored files, since it's private.
12640         * gtk/gtkdoc.py:
12641         (GTKDoc._ignored_files_basenames): Helper function that returns a
12642         string with the list of ignored files basenames separated by a
12643         spaces, as expected by several gtkdoc commands.
12644         (GTKDoc._run_gtkdoc_scan): Use _ignored_files_basenames for
12645         --ignore-headers option.
12646         (GTKDoc._run_gtkdoc_mkdb): Use _ignored_files_basenames for
12647         --ignore-files option.
12648
12649 2012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
12650
12651         [GTK] Fix xrefs after installing API documentation
12652         https://bugs.webkit.org/show_bug.cgi?id=77551
12653
12654         Reviewed by Martin Robinson.
12655
12656         * GNUmakefile.am: Call generate-gtkdoc --rebase after installing
12657         api docs.
12658         * gtk/common.py:
12659         (prefix_of_pkg_config_file): Get the prefix variable of the given
12660         pkg-config file.
12661         (gtk_version_of_pkg_config_file): Get the gtk version required by
12662         the given pkg-config file.
12663         * gtk/generate-gtkdoc: Add --rebase command line option to rebase
12664         installed documentation.
12665         (get_gtkdoc_module_paths): Get paths where API doc is installed
12666         for the dependencies of the given pkg-config file.
12667         (get_common_xref_deps): Get API doc directories of dependencies
12668         common to WebKit1 and WebKit2.
12669         (get_webkit2_options): Add cross_reference_deps option.
12670         (get_webkit1_options): Ditto
12671         (rebase_installed_docs): Helper function to create a generator for
12672         the given pkg-config file and options and call rebase_installed_docs.
12673         * gtk/gtkdoc.py:
12674         (GTKDoc.__init__): Initialize cross_reference_deps.
12675         (GTKDoc._run_gtkdoc_fixxref): Add API doc directories of
12676         dependencies.
12677         (GTKDoc.rebase_installed_docs): Call gtkdoc-rebase to fix xref
12678         links of installed documentation.
12679         (PkgConfigGTKDoc.__init__): Get the prefix from the pkg-config
12680         file.
12681
12682 2012-02-06  Sergio Villar Senin  <svillar@igalia.com>
12683
12684         Incorrect statistics shown when running run-webkit-tests with --repeat-each or --iterations
12685         https://bugs.webkit.org/show_bug.cgi?id=77672
12686
12687         Reviewed by Dirk Pranke.
12688
12689         Test repetitions must be taken into account when working out
12690         the statistics shown by run-webkit-tests.
12691
12692         * Scripts/webkitpy/layout_tests/controllers/manager.py:
12693         (Manager.prepare_lists_and_print_output):
12694         (Manager._print_result_summary):
12695         * Scripts/webkitpy/layout_tests/models/result_summary.py:
12696         (ResultSummary.__init__):
12697         (ResultSummary.add):
12698         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
12699         (MainTest.test_repeat_each_iterations_num_tests):
12700
12701 2012-02-05  Dan Bernstein  <mitz@apple.com>
12702
12703         <rdar://problem/10809525> WebKit2’s WebFrameLoaderClient::shouldUseCredentialStorage() always returns true
12704         https://bugs.webkit.org/show_bug.cgi?id=77823
12705
12706         Reviewed by Anders Carlsson.
12707
12708         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
12709         (WTR::InjectedBundlePage::InjectedBundlePage): Updated for the additional callback.
12710
12711 2012-02-04  Dan Bernstein  <mitz@apple.com>
12712
12713         <rdar://problem/10660698> Clients cannot prevent caching of individual responses
12714         https://bugs.webkit.org/show_bug.cgi?id=77822
12715
12716         Reviewed by Sam Weinig.
12717
12718         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
12719         (WTR::InjectedBundlePage::InjectedBundlePage): Updated for the additional callback.
12720
12721 2012-02-04  Sam Weinig  <sam@webkit.org>
12722
12723         Add ability to send WKURLRequests in WebKit2 API user messages
12724         https://bugs.webkit.org/show_bug.cgi?id=77819
12725
12726         Reviewed by Anders Carlsson.
12727
12728         Add testing for round-tripping WKTypes from the UIProcess,
12729         to the WebProcess, and back.
12730
12731         - This commit adds a test fixture and tests for WKURLRequestRef, WKURLRef, and WKStringRef.
12732           More can easily be added.
12733
12734         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
12735         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Added.
12736         (TestWebKitAPI):
12737         (WebKit2UserMessageRoundTripTest):
12738         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::WebKit2UserMessageRoundTripTest):
12739         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::didReceiveMessageFromInjectedBundle):
12740         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::didFinishLoadForFrame):
12741         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::setInjectedBundleClient):
12742         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::setPageLoaderClient):
12743         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp):
12744         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::roundTrip):
12745         (TestWebKitAPI::TEST_F):
12746         * TestWebKitAPI/Tests/WebKit2/UserMessage_Bundle.cpp: Added.
12747         (TestWebKitAPI):
12748         (UserMessageTest):
12749         (TestWebKitAPI::UserMessageTest::UserMessageTest):
12750         (TestWebKitAPI::UserMessageTest::didReceiveMessage):
12751         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
12752         (TestWebKitAPI::PlatformWebView::resizeTo):
12753         (TestWebKitAPI):
12754         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
12755         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
12756
12757 2012-02-04  Dan Bernstein  <mitz@apple.com>
12758
12759         <rdar://problem/10772406> WKPreferences instances cannot be copied
12760         https://bugs.webkit.org/show_bug.cgi?id=77816
12761
12762         Reviewed by Sam Weinig.
12763
12764         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
12765         (TestWebKitAPI::TEST):
12766
12767 2012-02-04  Adam Barth  <abarth@webkit.org>
12768
12769         garden-o-matic's All Failure tab should let you examine and rebaseline expected failures
12770         https://bugs.webkit.org/show_bug.cgi?id=77802
12771
12772         Reviewed by Eric Seidel.
12773
12774         This patch refactors our directory grouping code into base.js where it
12775         can be shared between failures.js and notifications.js.  It then adds
12776         an Examine action to each group of failures that triggers the "results"
12777         view.
12778
12779         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
12780         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
12781         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
12782         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
12783         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
12784         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/failures.css:
12785
12786 2012-02-04  Ojan Vafai  <ojan@chromium.org>
12787
12788         check-webkit-style is throwing an exception
12789         https://bugs.webkit.org/show_bug.cgi?id=77744
12790
12791         Reviewed by David Levin.
12792
12793         If the test_list is None, then we don't need to check for unsupported
12794         feature tests to skip.
12795
12796         * Scripts/webkitpy/layout_tests/port/webkit.py:
12797         (WebKitPort._has_test_in_directories):
12798         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
12799         (test_skipped_tests_for_unsupported_features_empty_test_list):
12800
12801 2012-02-03  Adam Barth  <abarth@webkit.org>
12802
12803         List of all failures in garden-o-matic should actually list all the failures
12804         https://bugs.webkit.org/show_bug.cgi?id=77796
12805
12806         Reviewed by Eric Seidel.
12807
12808         This patch wires a bit more data into the new "All Failures" tab.  I've
12809         also iterated on how we enable this experimental feature.  The tab is
12810         still just a dumb list, but we'll make it smarter.
12811
12812         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
12813         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
12814         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
12815         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
12816
12817 2012-02-03  Ryosuke Niwa  <rniwa@webkit.org>
12818
12819         Windows build fix after r106692.
12820
12821         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
12822         (PortTest.test_reference_files):
12823
12824 2012-02-03  Beth Dakin  <bdakin@apple.com>
12825
12826         https://bugs.webkit.org/show_bug.cgi?id=77782
12827         WebPageProxy::didNewFirstVisuallyNonEmptyLayout should is called more than 
12828         once on some pages with frames
12829         -and corresponding-
12830         <rdar://problem/10798474>
12831
12832         Reviewed by Sam Weinig.
12833
12834         One new test.
12835         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
12836         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp: Added.
12837         (TestWebKitAPI):
12838         (TestWebKitAPI::didForceRepaint):
12839         (TestWebKitAPI::didFinishLoadForFrame):
12840         (TestWebKitAPI::didNewFirstVisuallyNonEmptyLayout):
12841         (TestWebKitAPI::setPageLoaderClient):
12842         (TestWebKitAPI::TEST):
12843         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp: Added.
12844         (TestWebKitAPI):
12845         (NewFirstVisuallyNonEmptyLayoutFramesTest):
12846         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutFramesTest::NewFirstVisuallyNonEmptyLayoutFramesTest):
12847         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutFramesTest::didCreatePage):
12848         * TestWebKitAPI/Tests/WebKit2/lots-of-iframes.html: Added.
12849
12850 2012-02-03  Dirk Pranke  <dpranke@chromium.org>
12851
12852         webkitpy: change exit() calls to sys.exit(), fix a leak in outputcapture
12853         https://bugs.webkit.org/show_bug.cgi?id=77781
12854
12855         Reviewed by Eric Seidel.
12856
12857         This change fixes a couple of issues discovered while debugging
12858         test-webkitpy; both calling exit() instead of sys.exit() --
12859         which is discouraged in program code instead of the interpreter
12860         -- and a particular usage of outputcapture were stdin to get whacked
12861         and preventing debugging.
12862        
12863         This change introduces a couple of common _exit() methods that
12864         will standardize how webkit-patch exit's, in case we need to do
12865         something different in the future.
12866
12867         * Scripts/webkitpy/common/system/deprecated_logging.py:
12868         (error):
12869         * Scripts/webkitpy/common/system/outputcapture.py:
12870         (OutputCapture.assert_outputs):
12871         * Scripts/webkitpy/tool/bot/queueengine.py:
12872         (QueueEngine.exit_after_handled_error):
12873         * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
12874         (AbstractSequencedCommand.execute):
12875         * Scripts/webkitpy/tool/commands/queues.py:
12876         (StyleQueue.handle_script_error):
12877         * Scripts/webkitpy/tool/commands/upload.py:
12878         (MarkBugFixed.execute):
12879         * Scripts/webkitpy/tool/multicommandtool.py:
12880         (Command._exit):
12881         * Scripts/webkitpy/tool/steps/abstractstep.py:
12882         (AbstractStep._exit):
12883         * Scripts/webkitpy/tool/steps/checkstyle.py:
12884         (CheckStyle.run):
12885         * Scripts/webkitpy/tool/steps/commit.py:
12886         (Commit._check_test_expectations):
12887         * Scripts/webkitpy/tool/steps/confirmdiff.py:
12888         (ConfirmDiff.run):
12889
12890 2012-02-03  Ryosuke Niwa  <rniwa@webkit.org>
12891
12892         Perf bot build fix.
12893
12894         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
12895         (PerfTestsRunner._generate_json):
12896
12897 2012-02-03  Adam Barth  <abarth@webkit.org>
12898
12899         Add a blank "Expected Failures" tab to garden-o-matic
12900         https://bugs.webkit.org/show_bug.cgi?id=77793
12901
12902         Reviewed by Eric Seidel.
12903
12904         This tab will help us explore and manage our expected failures.  The
12905         tab is hidden by default via a new "experimental features" flag.
12906
12907         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
12908         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
12909         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
12910         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
12911         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css:
12912         (#unexpected):
12913         (#onebar.partytime #unexpected):
12914
12915 2012-02-03  Lucas Forschler  <lforschler@apple.com>
12916
12917         update-webkit-support-libraries is broken with the change from http to https on developer.apple.com
12918         https://bugs.webkit.org/show_bug.cgi?id=77785
12919
12920         Fix the build bots.
12921         
12922         Pass the -k and --sslv3 keys to make curl work with https on https://developer.apple.com
12923
12924         * Scripts/update-webkit-support-libs:
12925         (downloadExpectedVersionNumber):
12926
12927 2012-02-03  Lucas Forschler  <lforschler@apple.com>
12928
12929         Add a Mac Lion Performance bot.
12930         https://bugs.webkit.org/show_bug.cgi?id=77765
12931
12932         Reviewed by Adam Roben.
12933
12934         This will update the master configuration in the following ways:
12935             Add a new performance slave (apple-xseve-11)
12936             Add a new Factory to download a build and run perf tests.
12937             
12938         * BuildSlaveSupport/build.webkit.org-config/config.json:
12939         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
12940         (DownloadAndPerfTestFactory):
12941         (DownloadAndPerfTestFactory.__init__):
12942
12943 2012-02-03  Dirk Pranke  <dpranke@chromium.org>
12944
12945         Extra TestWebKitAPI.gyp/TestWebKitAPI.target.chromium.mk in repository
12946         https://bugs.webkit.org/show_bug.cgi?id=77752
12947
12948         Reviewed by James Robinson.
12949
12950         Delete unneeded file accidentally checked in in r106481.
12951
12952         * TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.target.chromium.mk: Removed.
12953
12954 2012-02-03  Ryosuke Niwa  <rniwa@webkit.org>
12955
12956         Ref Tests should support plain SVG files
12957         https://bugs.webkit.org/show_bug.cgi?id=77685
12958
12959         Reviewed by Tony Chang.
12960
12961         Don't assume reference files always use .html as the extension.
12962         Instead, use the list of supported extension to look for -expected.* and -mismatch.*
12963
12964         Also fix various bugs in MockFileSystem and TestPort.
12965
12966         * Scripts/webkitpy/common/system/filesystem_mock.py:
12967         (MockFileSystem.isdir):
12968         * Scripts/webkitpy/layout_tests/port/base.py:
12969         (Port.reference_files):
12970         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
12971         (PortTest.test_is_test_file):
12972         (PortTest.test_reference_files):
12973         * Scripts/webkitpy/layout_tests/port/test.py:
12974         (TestInstance.__init__):
12975
12976 2012-02-03  Ryosuke Niwa  <rniwa@webkit.org>
12977
12978         perf-o-matic should store chromium svn revision
12979         https://bugs.webkit.org/show_bug.cgi?id=77725
12980
12981         Reviewed by Dirk Pranke.
12982
12983         Report both WebKit and Chromium revisions to the graph server. Renamed test_repository_paths to
12984         repository_paths since it's nothing to do with tests. Also refactored scm so that head_svn_revision
12985         is implemented in terms of newly added svn_revision.
12986
12987         * Scripts/webkitpy/common/checkout/scm/git.py:
12988         (Git.svn_revision):
12989         * Scripts/webkitpy/common/checkout/scm/scm.py:
12990         (SCM.head_svn_revision):
12991         (SCM):
12992         (SCM.svn_revision):
12993         * Scripts/webkitpy/common/checkout/scm/scm_mock.py:
12994         (MockSCM.svn_revision):
12995         * Scripts/webkitpy/common/checkout/scm/svn.py:
12996         (SVN.svn_revision):
12997         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
12998         (JSONLayoutResultsGenerator.__init__):
12999         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
13000         (JSONResultsGeneratorBase._insert_generic_metadata):
13001         * Scripts/webkitpy/layout_tests/port/base.py:
13002         (Port.repository_paths):
13003         * Scripts/webkitpy/layout_tests/port/chromium.py:
13004         (ChromiumPort.repository_paths):
13005         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13006         (PerfTestsRunner._generate_json):
13007         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
13008         (test_run_test_set_with_json_output):
13009         (test_run_test_set_with_json_source):
13010         (test_run_test_set_with_multiple_repositories):
13011
13012 2012-02-03  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
13013
13014         [Qt] Split QQuickWebViewPrivate in two classes, for desktop and touch behavior.
13015         https://bugs.webkit.org/show_bug.cgi?id=77632
13016
13017         Reviewed by Kenneth Rohde Christiansen.
13018
13019         * MiniBrowser/qt/BrowserWindow.cpp:
13020         (BrowserWindow::BrowserWindow):
13021         * MiniBrowser/qt/MiniBrowserApplication.cpp:
13022         (MiniBrowserApplication::sendTouchEvent):
13023         (MiniBrowserApplication::handleUserOptions):
13024         * MiniBrowser/qt/MiniBrowserApplication.h:
13025         (WindowOptions):
13026         (WindowOptions::WindowOptions):
13027         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
13028         (WTR::PlatformWebView::PlatformWebView):
13029         * WebKitTestRunner/qt/main.cpp:
13030         (main):
13031         * qmake/mkspecs/features/default_post.prf:
13032
13033 2012-02-03  Simon Hausmann  <simon.hausmann@nokia.com>
13034
13035         [Qt] Replace GNU linker script for exports with export macros in WTF/JSC
13036         https://bugs.webkit.org/show_bug.cgi?id=77723
13037
13038         Reviewed by Tor Arne Vestbø.
13039
13040         * Tools.pro: Compile WTR again on all platforms with WK2.
13041
13042 2012-02-03  Sriram Neelakandan  <sriram.neelakandan@gmail.com>
13043
13044         Ensure that inspector disabled build works
13045         https://bugs.webkit.org/show_bug.cgi?id=77604
13046
13047         Reviewed by Tor Arne Vestbø.
13048
13049         * qmake/mkspecs/features/features.prf:
13050
13051 2012-02-02  Jochen Eisinger  <jochen@chromium.org>
13052
13053         [chromium] add support for --makeargs to the ninja-based build
13054         https://bugs.webkit.org/show_bug.cgi?id=77688
13055
13056         Reviewed by Adam Barth.
13057
13058         * Scripts/webkitdirs.pm:
13059         (buildChromiumNinja):
13060
13061 2012-02-02  Eric Seidel  <eric@webkit.org>
13062
13063         Run tests in serial on SnowLeopard to avoid CFURLCache crashes
13064         https://bugs.webkit.org/show_bug.cgi?id=75145
13065
13066         Reviewed by Dirk Pranke.
13067
13068         * Scripts/webkitpy/layout_tests/port/mac.py:
13069         (MacPort.default_child_processes):
13070         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
13071         (test_operating_system):
13072         (test_default_child_processes):
13073
13074 2012-02-02  Dirk Pranke  <dpranke@chromium.org>
13075
13076        nrwt shouldn't blow up when there are errors in test_expectations.txt
13077        https://bugs.webkit.org/show_bug.cgi?id=73603
13078
13079        Reviewed by Ojan Vafai.
13080
13081        This change removes the distinction between 'errors' and 'warnings'
13082        in the test expectations parser. Now, any problem is a
13083        'warning', and if we are linting the file, warnings become fatal (errors).
13084
13085         This will allow a normal run-webkit-tests run to proceed even if
13086         there are bad lines.
13087
13088         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
13089         (ParseError.__init__):
13090         (ParseError.__str__):
13091         (ParseError.__repr__):
13092         (TestExpectationSerializer.to_string):
13093         (TestExpectationParser._parse_modifiers):
13094         (TestExpectationParser._parse_expectations):
13095         (TestExpectationParser._check_modifiers_against_expectations):
13096         (TestExpectationParser._tokenize):
13097         (TestExpectationLine.__init__):
13098         (TestExpectationLine.is_invalid):
13099         (TestExpectationsModel.add_expectation_line):
13100         (TestExpectationsModel._already_seen_better_match):
13101         (TestExpectations.__init__):
13102         (TestExpectations._report_warnings):
13103         (TestExpectations.remove_rebaselined_tests.without_rebaseline_modifier):
13104         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
13105         (assert_bad_expectations):
13106         (test_parse_warning):
13107         (test_overrides__duplicate):
13108         (ExpectationSyntaxTests.test_missing_expectation):
13109         (ExpectationSyntaxTests.test_missing_colon):
13110         (ExpectationSyntaxTests.test_too_many_colons):
13111         (ExpectationSyntaxTests.test_too_many_equals_signs):
13112         (ExpectationSyntaxTests.test_unrecognized_expectation):
13113         (SemanticTests.test_bug_format):
13114         (SemanticTests.test_bad_bugid):
13115         (SemanticTests.test_slow_and_timeout):
13116         (test_ambiguous):
13117         (test_more_modifiers):
13118         (test_order_in_file):
13119         (test_macro_overrides):
13120         (RebaseliningTest.assertRemove):
13121         (TestExpectationParserTests.test_tokenize_blank):
13122         (TestExpectationParserTests.test_tokenize_missing_colon):
13123         (TestExpectationParserTests.test_tokenize_extra_colon):
13124         (TestExpectationParserTests.test_tokenize_empty_comment):
13125         (TestExpectationParserTests.test_tokenize_comment):
13126         (TestExpectationParserTests.test_tokenize_missing_equal):
13127         (TestExpectationParserTests.test_tokenize_extra_equal):
13128         (TestExpectationParserTests.test_tokenize_valid):
13129         (TestExpectationParserTests.test_tokenize_valid_with_comment):
13130         (TestExpectationParserTests.test_tokenize_valid_with_multiple_modifiers):
13131         (TestExpectationSerializerTests.test_unparsed_to_string):
13132         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
13133         (lint):
13134         * Scripts/webkitpy/style/checkers/test_expectations.py:
13135         (TestExpectationsChecker.check_test_expectations):
13136
13137 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
13138
13139         Unreviewed, rolling out r106543.
13140         http://trac.webkit.org/changeset/106543
13141         https://bugs.webkit.org/show_bug.cgi?id=77671
13142
13143         Made tests less stable (Requested by rniwa on #webkit).
13144
13145         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13146         (PerfTestsRunner):
13147         (PerfTestsRunner.__init__):
13148         (PerfTestsRunner._run_tests_set):
13149         (PerfTestsRunner._run_single_test):
13150         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
13151         (MainTest.TestDriver.run_test):
13152         (run_test):
13153
13154 2012-02-02  Beth Dakin  <bdakin@apple.com>
13155
13156         https://bugs.webkit.org/show_bug.cgi?id=77664
13157         Add API tests for didNewFirstVisuallyNonEmptyLayout
13158
13159         Reviewed by Darin Adler.
13160
13161         Two new tests.
13162         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
13163         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp: Added.
13164         (TestWebKitAPI):
13165         (TestWebKitAPI::didNewFirstVisuallyNonEmptyLayout):
13166         (TestWebKitAPI::setPageLoaderClient):
13167         (TestWebKitAPI::TEST):
13168         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp: Added.
13169         (TestWebKitAPI):
13170         (TestWebKitAPI::didForceRepaint):
13171         (TestWebKitAPI::didFinishLoadForFrame):
13172         (TestWebKitAPI::didNewFirstVisuallyNonEmptyLayout):
13173         (TestWebKitAPI::setPageLoaderClient):
13174         (TestWebKitAPI::TEST):
13175         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp: Added.
13176         (TestWebKitAPI):
13177         (NewFirstVisuallyNonEmptyLayoutFailsTest):
13178         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutFailsTest::NewFirstVisuallyNonEmptyLayoutFailsTest):
13179         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutFailsTest::didCreatePage):
13180         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp: Added.
13181         (TestWebKitAPI):
13182         (NewFirstVisuallyNonEmptyLayoutTest):
13183         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutTest::NewFirstVisuallyNonEmptyLayoutTest):
13184         (TestWebKitAPI::NewFirstVisuallyNonEmptyLayoutTest::didCreatePage):
13185
13186 2012-02-02  Michael Saboff  <msaboff@apple.com>
13187
13188         Add Michael Saboff to reviewers list.
13189
13190         Rubber-stamped by Gavin Barraclough.
13191
13192         * Scripts/webkitpy/common/config/committers.py:
13193
13194 2012-02-02  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
13195
13196         Add myself as a committer
13197
13198         Unreviewed
13199
13200         * Scripts/webkitpy/common/config/committers.py:
13201
13202 2012-02-02  Ryosuke Niwa  <rniwa@webkit.org>
13203
13204         [PerformanceTests] tests have dependencies
13205         https://bugs.webkit.org/show_bug.cgi?id=77506
13206
13207         Reviewed by Hajime Morita.
13208
13209         Load an initialization page before each test after starting a DRT so that
13210         warming up DRT won't affect the performance test results.
13211
13212         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13213         (PerfTestsRunner):
13214         (PerfTestsRunner.__init__):
13215         (PerfTestsRunner._run_tests_set):
13216         (PerfTestsRunner._run_single_test):
13217         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
13218         (MainTest.TestDriver.run_test):
13219         (test_initial_page_loaded):
13220         (test_initial_page_loaded.run_test):
13221
13222 2012-02-02  Ryosuke Niwa  <rniwa@webkit.org>
13223
13224         Re-land r106442 per Adam's suggestion. We'll do both restarting DRT and loading a fake test first.
13225
13226         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13227         (PerfTestsRunner._run_tests_set):
13228         (PerfTestsRunner._run_single_test):
13229         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
13230         (create_runner):
13231         (test_run_passing_test):
13232         (test_run_silent_test):
13233         (test_run_failed_test):
13234         (test_run_tonguey_test):
13235         (test_run_timeout_test):
13236         (test_run_crash_test):
13237         (test_run_test_set_kills_drt_per_run):
13238         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount):
13239         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount.__init__):
13240         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount.stop):
13241
13242 2012-02-01  Jacob Goldstein  <jacobg@adobe.com>
13243
13244         Webkit generate-coverage-data script needs update to use new test script
13245         https://bugs.webkit.org/show_bug.cgi?id=77597
13246
13247         Reviewed by Dirk Schulze.
13248
13249         * Scripts/generate-coverage-data:
13250
13251 2012-02-01  Adam Barth  <abarth@webkit.org>
13252
13253         Update the tests to show that the mac-ews processes patches from
13254         non-committers.
13255
13256         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
13257         (EarlyWarningSytemTest.test_committer_only_ewses):
13258         (EarlyWarningSytemTest.test_builder_ewses):
13259
13260 2012-02-01  Adam Barth  <abarth@webkit.org>
13261
13262         Mac-ews logs are huge
13263         https://bugs.webkit.org/show_bug.cgi?id=77045
13264
13265         Reviewed by Eric Seidel.
13266
13267         In order to get the cr-linux-ews bot to run tests on EC2, we created
13268         the chromium-xvfb port, which contained a number of tweaks to the
13269         Chromium port's behavior.  This patch refactors those tweaks so they
13270         can be shared with the mac-ews, mostly by moving them into the
13271         non-interactive mode of RunTests.
13272
13273         * Scripts/webkitpy/common/config/ports.py:
13274         (WebKitPort):
13275         (WebKitPort.layout_tests_results_path):
13276         (ChromiumPort.run_javascriptcore_tests_command):
13277         (ChromiumXVFBPort):
13278         (ChromiumXVFBPort.run_webkit_tests_command):
13279         * Scripts/webkitpy/common/config/ports_mock.py:
13280         (MockPort):
13281         (MockPort.layout_tests_results_path):
13282         * Scripts/webkitpy/common/config/ports_unittest.py:
13283         (WebKitPortTest.test_chromium_xvfb_port):
13284         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
13285         (LayoutTestResultsReaderTest.test_missing_layout_test_results):
13286         * Scripts/webkitpy/tool/commands/queues_unittest.py:
13287         (CommitQueueTest.test_commit_queue):
13288         (test_rollout):
13289         (test_manual_reject_during_processing):
13290         * Scripts/webkitpy/tool/steps/runtests.py:
13291         (RunTests.run):
13292         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
13293         (RunTestsTest.test_no_unit_tests):
13294         * Scripts/webkitpy/tool/steps/steps_unittest.py:
13295         (StepsTest.test_runtests_args):
13296
13297 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
13298
13299         Roll out r106442. It made some tests more stable but others less stable.
13300
13301         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13302         (PerfTestsRunner._run_tests_set):
13303         (PerfTestsRunner._run_single_test):
13304         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
13305         (create_runner):
13306         (test_run_passing_test):
13307         (test_run_silent_test):
13308         (test_run_failed_test):
13309         (test_run_tonguey_test):
13310         (test_run_timeout_test):
13311         (test_run_crash_test):
13312         (test_run_test_set):
13313
13314 2012-02-01  Lucas Forschler  <lforschler@apple.com>
13315
13316         Enable EWS for non-contributers.
13317         https://bugs.webkit.org/show_bug.cgi?id=77576
13318         
13319         Reviewed by Adam Barth.
13320
13321         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
13322         (MacEWS):
13323
13324 2012-02-01  Beth Dakin  <bdakin@apple.com>
13325
13326         https://bugs.webkit.org/show_bug.cgi?id=77383
13327         Add a different didFirstVisuallNonEmptyLayout heuristic to experiment with
13328         -and corresponding-
13329         <rdar://problem/10709560>
13330
13331         Reviewed by Sam Weinig.
13332
13333         WebKit2's WebLoaderClient has a temporary new function that must be accounted 
13334         for.
13335         * MiniBrowser/mac/BrowserWindowController.m:
13336         (-[BrowserWindowController awakeFromNib]):
13337         * WebKitTestRunner/TestController.cpp:
13338         (WTR::TestController::initialize):
13339
13340 2012-02-01  Dirk Pranke  <dpranke@chromium.org>
13341
13342         TestWebKitAPI isn't being built on chromium bots any more
13343         https://bugs.webkit.org/show_bug.cgi?id=77563
13344
13345         Reviewed by Dimitri Glazkov.
13346
13347         I accidentally dropped it in the refactoring in r105449.
13348
13349         * TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp: Added.
13350
13351 2012-02-01  Hans Wennborg  <hans@chromium.org>
13352
13353         Rename WebSpeechInputResult::set() to assign()
13354         https://bugs.webkit.org/show_bug.cgi?id=77540
13355
13356         Reviewed by Darin Fisher.
13357
13358         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
13359         (MockWebSpeechInputController::addMockRecognitionResult):
13360         (MockWebSpeechInputController::speechTaskFired):
13361
13362 2012-02-01  Carlos Garcia Campos  <cgarcia@igalia.com>
13363
13364         [GTK] WebKit1 API documentation is not generated when building with gtk-2.0
13365         https://bugs.webkit.org/show_bug.cgi?id=77542
13366
13367         Reviewed by Martin Robinson.
13368
13369         * gtk/generate-gtkdoc: Check first whether there's
13370         webkitgtk-3.0.pc and if it doesn't exist use webkitgtk-1.0.pc
13371         instead.
13372         (get_webkit2_options): Return just the options since the
13373         pkg_config_path doesn't depend on options
13374         (get_webkit1_options): Ditto.
13375         (generate_doc): Helper function to create a generator and generate
13376         documentation for the given pkg-config file with the given options.
13377         * gtk/gtkdoc.py:
13378         (GTKDoc.__init__): Don't use ** for args parameter, since it's
13379         used as a dict and never expanded.
13380         (PkgConfigGTKDoc.__init__): Ditto.
13381
13382 2012-02-01  Carlos Garcia Campos  <cgarcia@igalia.com>
13383
13384         [GTK] API documentation is not installed even when building with --enable-gtk-doc
13385         https://bugs.webkit.org/show_bug.cgi?id=77094
13386
13387         Reviewed by Martin Robinson.
13388
13389         * GNUmakefile.am: Add install-data-local and uninstall-local rules
13390         to install/uninstall WebKit1 and WebKit2 API documentation.
13391
13392 2012-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
13393
13394         Unreviewed, rolling out r106460.
13395         http://trac.webkit.org/changeset/106460
13396         https://bugs.webkit.org/show_bug.cgi?id=77552
13397
13398         It break unit tests if WEBKIT_TESTFONTS isn't defined.
13399         (Requested by Ossy on #webkit).
13400
13401         * Scripts/webkitpy/layout_tests/port/qt.py:
13402
13403 2012-02-01  Nándor Huszka  <huszka.nandor@stud.u-szeged.hu>
13404
13405         [Qt] Automatic clean build feature always do clean build with --no-webkit2
13406         https://bugs.webkit.org/show_bug.cgi?id=74519
13407
13408         Reviewed by Tor Arne Vestbø.
13409
13410         Set the PLUGIN_ARCHITECTURE_UNSUPPORTED define always.
13411
13412         * qmake/mkspecs/features/features.prf:
13413
13414 2012-02-01  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
13415
13416         [Qt][WK2] run-webkit-tests --qt  crashes if WEBKIT_TESTFONTS is not set
13417         https://bugs.webkit.org/show_bug.cgi?id=77466
13418
13419         Reviewed by Kenneth Rohde Christiansen.
13420
13421         Replicate the behavior of old-run-webkit-tests and check if WEBKIT_TESTFONTS
13422         is set or if we should raise an error.
13423
13424         * Scripts/webkitpy/layout_tests/port/qt.py:
13425         (QtPort.setup_environ_for_server):
13426
13427 2012-02-01  Philippe Normand  <pnormand@igalia.com> and Sergio Villar Senin  <svillar@igalia.com>
13428
13429         Reviewed by Martin Robinson.
13430
13431         [GTK] Improve FrameLoader signals. Resource loading
13432         https://bugs.webkit.org/show_bug.cgi?id=49543
13433
13434         Support for the new loader signals in DRT.
13435
13436         * DumpRenderTree/gtk/DumpRenderTree.cpp:
13437         (urlPath):
13438         (willSendRequestCallback):
13439         (urlSuitableForTestResult):
13440         (descriptionSuitableForTestResult):
13441         (didReceiveResponse):
13442         (didFinishLoading):
13443         (didFailLoadingWithError):
13444         (createWebView):
13445
13446 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
13447
13448         run-perf-tests should restart DRT for each test
13449         https://bugs.webkit.org/show_bug.cgi?id=77506
13450
13451         Reviewed by Adam Barth.
13452
13453         Always restart DRT when running performance tests in order to minimize the dependency between tests.
13454
13455         * Scripts/webkitpy/layout_tests/port/chromium.py:
13456         (ChromiumDriver.stop):
13457         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13458         (PerfTestsRunner._run_tests_set):
13459         (PerfTestsRunner._run_single_test):
13460         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
13461         (create_runner):
13462         (test_run_passing_test):
13463         (test_run_silent_test):
13464         (test_run_failed_test):
13465         (test_run_tonguey_test):
13466         (test_run_timeout_test):
13467         (test_run_crash_test):
13468         (test_run_test_set_kills_drt_per_run):
13469         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount):
13470         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount.__init__):
13471         (test_run_test_set_kills_drt_per_run.TestDriverWithStopCount.stop):
13472
13473 2012-01-31  Hans Wennborg  <hans@chromium.org>
13474
13475         Speech Input: Report speech element rect relative to window rather than frame
13476         https://bugs.webkit.org/show_bug.cgi?id=76443
13477
13478         Reviewed by Darin Fisher.
13479
13480         Update LayoutTestController to allow for retrieving the speech
13481         element's position used in a request.
13482
13483         In Chromium this is handled by the MockWebSpeechInputController;
13484         adding stubs for the other implementations.
13485
13486         * DumpRenderTree/LayoutTestController.cpp:
13487         (setMockSpeechInputDumpRectCallback):
13488         (LayoutTestController::staticFunctions):
13489         * DumpRenderTree/LayoutTestController.h:
13490         (LayoutTestController):
13491         * DumpRenderTree/chromium/LayoutTestController.cpp:
13492         (LayoutTestController::LayoutTestController):
13493         (LayoutTestController::setMockSpeechInputDumpRect):
13494         * DumpRenderTree/chromium/LayoutTestController.h:
13495         (LayoutTestController):
13496         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
13497         (MockWebSpeechInputController::setDumpRect):
13498         (MockWebSpeechInputController::clearResults):
13499         (MockWebSpeechInputController::startRecognition):
13500         (MockWebSpeechInputController::MockWebSpeechInputController):
13501         (makeRectResult):
13502         (MockWebSpeechInputController::speechTaskFired):
13503         * DumpRenderTree/chromium/MockWebSpeechInputController.h:
13504         (MockWebSpeechInputController):
13505         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
13506         (LayoutTestController::setMockSpeechInputDumpRect):
13507         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
13508         (LayoutTestController::setMockSpeechInputDumpRect):
13509         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
13510         (LayoutTestController::setMockSpeechInputDumpRect):
13511         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
13512         (LayoutTestController::setMockSpeechInputDumpRect):
13513         * DumpRenderTree/qt/LayoutTestControllerQt.h:
13514         (LayoutTestController):
13515         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
13516         (LayoutTestController::setMockSpeechInputDumpRect):
13517         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
13518         (LayoutTestController::setMockSpeechInputDumpRect):
13519
13520 2012-01-31  Ryuan Choi  <ryuan.choi@samsung.com>
13521
13522         [EFL] Add basic DRT/Efl implementation to support viewport test.
13523         https://bugs.webkit.org/show_bug.cgi?id=77320
13524
13525         Reviewed by Andreas Kling.
13526
13527         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
13528         (LayoutTestController::dumpConfigurationForViewport): call dumpConfigurationForViewport().
13529
13530 2012-01-31  Alexey Proskuryakov  <ap@apple.com>
13531
13532         REGRESSION (WebKit2): event.keyCode is always zero when typing in Russian
13533         https://bugs.webkit.org/show_bug.cgi?id=77473
13534         <rdar://problem/10751357>
13535
13536         Reviewed by Darin Adler.
13537
13538         * DumpRenderTree/mac/EventSendingController.mm:
13539         (-[EventSendingController keyDown:withModifiers:withLocation:]):
13540         * WebKitTestRunner/mac/EventSenderProxy.mm:
13541         (WTR::EventSenderProxy::keyDown):
13542         Added a new special keyDown value to test this.
13543
13544 2012-01-31  Dirk Pranke  <dpranke@chromium.org>
13545
13546         nrwt: fix the mock port to work with DriverProxy, reftests
13547         https://bugs.webkit.org/show_bug.cgi?id=77170
13548
13549         Reviewed by Eric Seidel.
13550
13551         The DryrunPort used for benchmarking and testing NRWT has been
13552         broken since we added the DriverProxy code. It isn't really
13553         needed any more, so I've removed it.
13554
13555         The MockDRT port was also broken by DriverProxy, and moreover,
13556         never worked w/ reftests. Since we don't exercise this module in
13557         the unit tests, the code had also bitrotted some. I have cleaned
13558         it up and made it use DriverInput and DriverOutput for
13559         consistency.
13560
13561         * Scripts/webkitpy/layout_tests/port/dryrun.py:
13562         (DryRunPort.__init__):
13563         (DryRunPort):
13564         (DryRunPort.real_name):
13565         (DryRunPort.create_driver):
13566         (DryRunPort.driver_cmd_line):
13567         (DryRunPort._driver_class):
13568         (DryrunDriver):
13569         (DryrunDriver.run_test):
13570         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
13571         (MockDRTPort.create_driver):
13572         (MockChromiumDRT.run_one_test):
13573
13574 2012-01-31  Ojan Vafai  <ojan@chromium.org>
13575
13576         run-webkit-tests calls out to webkit-build-directory twice
13577         https://bugs.webkit.org/show_bug.cgi?id=77248
13578
13579         Reviewed by Dirk Pranke.
13580
13581         * Scripts/webkit-build-directory:
13582         If called with no arguments, print out both the top-level directory and the 
13583         configuration directory
13584
13585         * Scripts/webkitpy/layout_tests/port/config.py:
13586         (Config.build_directory):
13587         When called with no arguments, get and cache both the top-level and configuration directories.
13588
13589         * Scripts/webkitpy/layout_tests/port/config_standalone.py:
13590         (main):
13591         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
13592         (ConfigTest.assert_configuration):
13593         (ConfigTest.test_build_directory.mock_webkit_build_directory):
13594         (ConfigTest.test_build_directory):
13595         (ConfigTest.test_default_configuration__notfound):
13596         * Scripts/webkitpy/layout_tests/port/webkit.py:
13597         (WebKitPort._build_path):
13598         Cache the build directory in the options object so that other users
13599         of the options object don't need to call out to webkit-build-directory.
13600         Also, properly support the existing --build-directory argument.
13601
13602 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
13603
13604         Bump up the timeout for performance tests since DOM/DOMTable.html
13605         and Parser/html5-full-render.html are timing out on the bot.
13606
13607         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13608         (PerfTestsRunner._parse_args):
13609
13610 2012-01-31  Ehsan Akhgari  <ehsan.akhgari@gmail.com>
13611
13612         Fix the update_webgl_conformance_tests.py script in order to enable it
13613         to detect the SCM being used correctly.
13614         https://bugs.webkit.org/show_bug.cgi?id=77462
13615
13616         Reviewed by Kenneth Russell.
13617
13618         * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:
13619         (default_out_dir):
13620
13621 2012-01-31  Eric Seidel  <eric@webkit.org>
13622
13623         webkit-patch apply-from-bug should work regardless of your CWD
13624         https://bugs.webkit.org/show_bug.cgi?id=77482
13625
13626         Reviewed by Adam Barth.
13627
13628         webkit-patch only ever works with patches made from the root
13629         directory.  We should pass the CWD to svn-apply in the case
13630         where we're running not from the webkit root.  I believe
13631         this used to work in the past and regressed.
13632
13633         * Scripts/webkitpy/common/checkout/checkout.py:
13634         (Checkout.apply_patch):
13635         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
13636         (CheckoutTest.test_apply_patch):
13637
13638 2012-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
13639
13640         Unreviewed, rolling out r106302.
13641         http://trac.webkit.org/changeset/106302
13642         https://bugs.webkit.org/show_bug.cgi?id=77472
13643
13644         Broke building DRT before running the tests (Requested by ojan
13645         on #webkit).
13646
13647         * Scripts/webkit-build-directory:
13648         * Scripts/webkitpy/layout_tests/port/config.py:
13649         (Config.build_directory):
13650         * Scripts/webkitpy/layout_tests/port/config_standalone.py:
13651         (main):
13652         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
13653         (ConfigTest.assert_configuration):
13654         (ConfigTest.test_build_directory.mock_webkit_build_directory):
13655         (ConfigTest.test_build_directory):
13656         (ConfigTest.test_default_configuration__notfound):
13657         * Scripts/webkitpy/layout_tests/port/webkit.py:
13658         (WebKitPort._build_path):
13659
13660 2012-01-31  Antoine Labour  <piman@chromium.org>
13661
13662         Merge WebGraphicsContext3D creation and initialization, and move it to
13663         WebViewClient.
13664         https://bugs.webkit.org/show_bug.cgi?id=76593
13665
13666         Reviewed by Darin Fisher.
13667
13668         * DumpRenderTree/chromium/TestWebPlugin.cpp:
13669         (TestWebPlugin::TestWebPlugin):
13670         (TestWebPlugin::initialize):
13671         * DumpRenderTree/chromium/TestWebPlugin.h:
13672         * DumpRenderTree/chromium/WebViewHost.cpp:
13673         (WebViewHost::createGraphicsContext3D):
13674         (WebViewHost::createPlugin):
13675         * DumpRenderTree/chromium/WebViewHost.h:
13676
13677 2012-01-31  Gabor Rapcsanyi  <rgabor@webkit.org>
13678
13679         [GTK] build-webkit warning.
13680         https://bugs.webkit.org/show_bug.cgi?id=77411
13681
13682         Reviewed by Philippe Normand.
13683
13684         * Scripts/webkitdirs.pm:
13685         (isCrossCompilation):
13686
13687 2012-01-31  Dan Bernstein  <mitz@apple.com>
13688
13689         When generating derived sources, use the same compiler that is used to compile WebKitTestRunner.
13690
13691         Reviewed by Anders Carlsson.
13692
13693         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
13694
13695 2012-01-31  Csaba Osztrogonác  <ossy@webkit.org>
13696
13697         If the QTDIR environment variable is set, the build system fails to compile WinCairo
13698         https://bugs.webkit.org/show_bug.cgi?id=77112
13699
13700         Reviewed by Daniel Bates.
13701
13702         * Scripts/webkitdirs.pm:
13703         (determineIsQt):
13704
13705 2012-01-31  Adam Roben  <aroben@apple.com>
13706
13707         Only call -typingAttributes on WebViews, not WebHTMLViews
13708
13709         Looks like this case was just missed in r105908.
13710
13711         Fixes <http://webkit.org/b/77432> REGRESSION (r105908): WebKit1.InspectorBarTest is crashing
13712
13713         Reviewed by Antti Koivisto.
13714
13715         * TestWebKitAPI/Tests/mac/InspectorBar.mm:
13716         (TestWebKitAPI::TEST): Call -typingAttributes on the WebView, just like we do 2 lines
13717         earlier.
13718
13719 2012-01-31  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
13720
13721         [Qt] MiniBrowser: Show touch mocking indicators only when Ctrl is held down.
13722         https://bugs.webkit.org/show_bug.cgi?id=77221
13723
13724         Reviewed by Kenneth Rohde Christiansen.
13725
13726         This makes sure that the indicator isn't in the way when doing clicks or dealing with the rest of the UI.
13727
13728         * MiniBrowser/qt/MiniBrowserApplication.cpp:
13729         (MiniBrowserApplication::sendTouchEvent):
13730
13731 2012-01-26  Hans Wennborg  <hans@chromium.org>
13732
13733         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
13734         https://bugs.webkit.org/show_bug.cgi?id=77083
13735
13736         Reviewed by Darin Fisher.
13737
13738         Add MockWebSpeechInputController which provides a mock implementation
13739         of the WebSpeechInputController interface, and use that in
13740         DumpRenderTree.
13741
13742         * DumpRenderTree/DumpRenderTree.gypi:
13743         * DumpRenderTree/chromium/LayoutTestController.cpp:
13744         (LayoutTestController::addMockSpeechInputResult):
13745         * DumpRenderTree/chromium/LayoutTestController.h:
13746         ():
13747         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp: Added.
13748         (MockWebSpeechInputController::create):
13749         (MockWebSpeechInputController::addMockRecognitionResult):
13750         (MockWebSpeechInputController::clearResults):
13751         (MockWebSpeechInputController::startRecognition):
13752         (MockWebSpeechInputController::cancelRecognition):
13753         (MockWebSpeechInputController::stopRecording):
13754         (MockWebSpeechInputController::MockWebSpeechInputController):
13755         (MockWebSpeechInputController::speechTaskFired):
13756         (MockWebSpeechInputController::SpeechTask::SpeechTask):
13757         (MockWebSpeechInputController::SpeechTask::stop):
13758         (MockWebSpeechInputController::SpeechTask::runIfValid):
13759         * DumpRenderTree/chromium/MockWebSpeechInputController.h: Added.
13760         (WebKit):
13761         (MockWebSpeechInputController):
13762         (MockWebSpeechInputController::taskList):
13763         (SpeechTask):
13764         * DumpRenderTree/chromium/TestShell.cpp:
13765         * DumpRenderTree/chromium/WebViewHost.cpp:
13766         (WebViewHost::speechInputController):
13767         * DumpRenderTree/chromium/WebViewHost.h:
13768         (WebKit):
13769         (WebViewHost::speechInputControllerMock):
13770         (WebViewHost):
13771         ():
13772
13773 2012-01-31  Hajime Morrita  <morrita@chromium.org>
13774
13775         [PerformanceTests] Add landing html for Dromaeo dom-query test
13776         https://bugs.webkit.org/show_bug.cgi?id=77329
13777
13778         Reviewed by Ryosuke Niwa.
13779
13780         Added some more ignorable output patterns to allow warnings
13781         from a third party test suite.
13782
13783         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
13784         (PerfTestsRunner):
13785         (PerfTestsRunner._should_ignore_line_in_parser_test_result):
13786
13787 2012-01-30  Kevin Ollivier  <kevino@theolliviers.com>
13788
13789         [wx] Unreviewed. Update download URLs to new domain.
13790         
13791         * waf/build/build_utils.py:
13792         (update_wx_deps):
13793
13794 2012-01-30  Kevin Ollivier  <kevino@theolliviers.com>
13795
13796         [wx] Unreviewed. Build fix, add JavaScriptCore/tools
13797         to the list of build directories.
13798         
13799         * waf/build/settings.py:
13800
13801 2012-01-30  Kentaro Hara  <haraken@chromium.org>
13802
13803         REGRESSION(r105797): prepare-ChangeLog for a .cpp file can
13804         output an empty method name (i.e. "()")
13805         https://bugs.webkit.org/show_bug.cgi?id=77336
13806
13807         Reviewed by Darin Adler.
13808
13809         r105797 tried to detect a change outside methods, but it causes a bug that
13810         prepare-ChangeLog can output an empty method name, like this:
13811
13812             * foo/bar/baz.cpp:
13813             (method1):
13814             ():
13815             (method2):
13816
13817         This is because the cpp parser in prepare-ChangeLog cannot distinguish
13818         '{' as the beginning of a method with '{' as the beginning of an array definition
13819         at the top level.
13820
13821             int a[] = { 1, 2, 3 };  // This '{' is the beginning of an array definition.
13822
13823             void func() { // This '{' is the beginning of a method.
13824                 ...;
13825             }
13826
13827         This patch fixes prepare-ChangeLog so that it skips an array definition at the top level.
13828
13829         * Scripts/prepare-ChangeLog:
13830         (get_function_line_ranges_for_cpp): Modified as described above.
13831         (generateFunctionLists): As a hack, modified so that prepare-ChangeLog does not output
13832         an empty method name. Ideally this should not happen but may happen, since the
13833         parsers are not perfect.
13834         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp: Added test cases.
13835         (NameSpace7):
13836         (NameSpace8):
13837         (Class109):
13838         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
13839
13840 2012-01-30  Ojan Vafai  <ojan@chromium.org>
13841
13842         run-webkit-tests calls out to webkit-build-directory twice
13843         https://bugs.webkit.org/show_bug.cgi?id=77248
13844
13845         Reviewed by Dirk Pranke.
13846
13847         This reduces to calls to webkit-build-directory to one call and
13848         saves 500ms for run-webkit-tests over a single file.
13849
13850         * Scripts/webkit-build-directory:
13851         If called with no arguments, print out both the top-level directory and the 
13852         configuration directory.
13853
13854         * Scripts/webkit-build-directory:
13855         * Scripts/webkitpy/layout_tests/port/config.py:
13856         (Config.build_directory):
13857         When called with no arguments, get and cache both the top-level and configuration directories.
13858
13859         * Scripts/webkitpy/layout_tests/port/config_standalone.py:
13860         (main):
13861         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
13862         (ConfigTest.assert_configuration):
13863         (ConfigTest.test_build_directory.mock_webkit_build_directory):
13864         (ConfigTest.test_build_directory):
13865         (ConfigTest.test_default_configuration__notfound):
13866         * Scripts/webkitpy/layout_tests/port/webkit.py:
13867         (WebKitPort._build_path):
13868         Cache the root directory in the options object so that other users
13869         of the options object don't need to call out to webkit-build-directory.
13870
13871 2012-01-30  Ojan Vafai  <ojan@chromium.org>
13872
13873         Parsing test_expecations.txt + Skipped lists takes too long
13874         https://bugs.webkit.org/show_bug.cgi?id=77059
13875
13876         Reviewed by Dirk Pranke.
13877
13878         This saves ~100ms on the Apple Mac port.
13879         -memoize a bunch of path methods.
13880         -Avoid doing multiple disk accesses per line.
13881         -Parse the skipped list directly instead of turning it into a test_expecations.txt
13882         formatting string and parsing that.
13883
13884         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
13885         (TestExpectationParser):
13886         (TestExpectationParser.expectation_for_skipped_test):
13887         (TestExpectationParser._parse_line):
13888         (TestExpectationParser._collect_matching_tests):
13889         (TestExpectations.__init__):
13890         (TestExpectations._add_skipped_tests):
13891         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
13892         (test_add_skipped_tests):
13893         (test_add_skipped_tests_duplicate):
13894         * Scripts/webkitpy/layout_tests/port/base.py:
13895         (Port):
13896         (Port.test_isfile):
13897         (Port.normalize_test_name):
13898         (Port.layout_tests_dir):
13899         (Port.abspath_for_test):
13900         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
13901
13902 2012-01-30  Alexis Menard  <alexis.menard@openbossa.org>
13903
13904         Unreviewed. Add myself to CSS, GStreamer, Qt related watchlists.
13905         
13906         * Scripts/webkitpy/common/config/watchlist:
13907
13908 2012-01-30  Gavin Barraclough  <barraclough@apple.com>
13909
13910         Unreviewed build fix following bug#76855
13911
13912         * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
13913         ():
13914         (TestWebKitAPI::TEST_F):
13915
13916 2012-01-26  No'am Rosenthal  <noam.rosenthal@nokia.com> and Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
13917
13918         [Qt] WKTR: Use a software rendering pipiline when running tests.
13919         https://bugs.webkit.org/show_bug.cgi?id=76708
13920
13921         Reviewed by Kenneth Rohde Christiansen.
13922
13923         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
13924         (WTR::WrapperWindow::WrapperWindow):
13925         (WTR::PlatformWebView::PlatformWebView): Use software rendering of layers since the wrapping QQuickView isn't shown.
13926
13927 2012-01-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
13928
13929         [Qt] Store build config immediately instead of waiting for a successfull build
13930
13931         Otherwise we will not pick up changes to the config if the build is aborted,
13932         for example due to build errors or if the user pressed Ctrl+Z. We now write
13933         the new config before starting a build, but still defer to write the SVN
13934         revision once the build completes successfully.
13935
13936         Reviewed by Ossy.
13937
13938         * Scripts/webkitdirs.pm:
13939         (buildQMakeProjects):
13940
13941 2012-01-30  Alexander Færøy  <ahf@0x90.dk>
13942
13943         [Qt] Add "New Window" button to the Qt MiniBrowser
13944         https://bugs.webkit.org/show_bug.cgi?id=77281
13945
13946         Reviewed by Tor Arne Vestbø.
13947
13948         * MiniBrowser/qt/BrowserWindow.cpp:
13949         (BrowserWindow::BrowserWindow):
13950         * MiniBrowser/qt/MiniBrowser.qrc:
13951         * MiniBrowser/qt/icons/plus.png: Added.
13952         * MiniBrowser/qt/qml/BrowserWindow.qml:
13953
13954 2012-01-30  Csaba Osztrogonác  <ossy@webkit.org>
13955
13956         Unreviewed rolling out r106222.
13957
13958         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
13959         (SingleTestRunner.__init__):
13960         * Scripts/webkitpy/layout_tests/controllers/worker.py:
13961         (Worker.handle_test_list):
13962         * Scripts/webkitpy/layout_tests/models/test_input.py:
13963         (TestInput.__init__):
13964         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
13965         (_set_up_derived_options):
13966         (parse_args):
13967         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
13968         (MainTest.test_repeat_each):
13969         * WebKitTestRunner/TestInvocation.cpp:
13970         (WTR::TestInvocation::setIsPixelTest):
13971
13972 2012-01-30  Hans Wennborg  <hans@chromium.org>
13973
13974         Unreviewed, rolling out r106219.
13975         http://trac.webkit.org/changeset/106219
13976         https://bugs.webkit.org/show_bug.cgi?id=77083
13977
13978         This broke Chromium's test_shell.
13979
13980         * DumpRenderTree/DumpRenderTree.gypi:
13981         * DumpRenderTree/chromium/LayoutTestController.cpp:
13982         (LayoutTestController::addMockSpeechInputResult):
13983         * DumpRenderTree/chromium/LayoutTestController.h:
13984         (WebKit):
13985         (LayoutTestController):
13986         ():
13987         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp: Removed.
13988         * DumpRenderTree/chromium/MockWebSpeechInputController.h: Removed.
13989         * DumpRenderTree/chromium/TestShell.cpp:
13990         * DumpRenderTree/chromium/WebViewHost.cpp:
13991         (WebViewHost::speechInputController):
13992         * DumpRenderTree/chromium/WebViewHost.h:
13993         (WebKit):
13994         (WebViewHost::speechInputControllerMock):
13995         (WebViewHost):
13996         ():
13997
13998 2012-01-26  Hans Wennborg  <hans@chromium.org>
13999
14000         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
14001         https://bugs.webkit.org/show_bug.cgi?id=77083
14002
14003         Reviewed by Darin Fisher.
14004
14005         Add MockWebSpeechInputController which provides a mock implementation
14006         of the WebSpeechInputController interface, and use that in
14007         DumpRenderTree.
14008
14009         * DumpRenderTree/DumpRenderTree.gypi:
14010         * DumpRenderTree/chromium/LayoutTestController.cpp:
14011         (LayoutTestController::addMockSpeechInputResult):
14012         * DumpRenderTree/chromium/LayoutTestController.h:
14013         ():
14014         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp: Added.
14015         (MockWebSpeechInputController::create):
14016         (MockWebSpeechInputController::addMockRecognitionResult):
14017         (MockWebSpeechInputController::clearResults):
14018         (MockWebSpeechInputController::startRecognition):
14019         (MockWebSpeechInputController::cancelRecognition):
14020         (MockWebSpeechInputController::stopRecording):
14021         (MockWebSpeechInputController::MockWebSpeechInputController):
14022         (MockWebSpeechInputController::speechTaskFired):
14023         (MockWebSpeechInputController::SpeechTask::SpeechTask):
14024         (MockWebSpeechInputController::SpeechTask::stop):
14025         (MockWebSpeechInputController::SpeechTask::runIfValid):
14026         * DumpRenderTree/chromium/MockWebSpeechInputController.h: Added.
14027         (WebKit):
14028         (MockWebSpeechInputController):
14029         (MockWebSpeechInputController::taskList):
14030         (SpeechTask):
14031         * DumpRenderTree/chromium/TestShell.cpp:
14032         * DumpRenderTree/chromium/WebViewHost.cpp:
14033         (WebViewHost::speechInputController):
14034         * DumpRenderTree/chromium/WebViewHost.h:
14035         (WebKit):
14036         (WebViewHost::speechInputControllerMock):
14037         (WebViewHost):
14038         ():
14039
14040 2012-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
14041
14042         Unreviewed, rolling out r106109.
14043         http://trac.webkit.org/changeset/106109
14044         https://bugs.webkit.org/show_bug.cgi?id=77302
14045
14046         It made tests crash (Requested by Ossy_weekend on #webkit).
14047
14048         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
14049         (WTR::WrapperWindow::WrapperWindow):
14050         (WTR::PlatformWebView::PlatformWebView):
14051
14052 2012-01-28  Nico Weber  <thakis@chromium.org>
14053
14054         [chromium] Add support for building standalone webkit/chromium checkouts with ninja.
14055         https://bugs.webkit.org/show_bug.cgi?id=77243
14056
14057         Reviewed by Adam Barth.
14058
14059         * Scripts/update-webkit:
14060         * Scripts/webkitdirs.pm:
14061         (isChromiumNinja):
14062         (determineIsChromiumNinja):
14063         (buildChromiumNinja):
14064         (buildChromium):
14065
14066 2012-01-27  Kentaro Hara  <haraken@chromium.org>
14067
14068         The cpp parser of prepare-ChangeLog treats if(...) {} as a method
14069         https://bugs.webkit.org/show_bug.cgi?id=77241
14070
14071         Reviewed by Ryosuke Niwa.
14072
14073         The cpp parser of prepare-ChangeLog is wrong, and an inner {} block
14074         in a method in some namespace or class is treated as a method.
14075         This patch fixes the bug.
14076
14077             class C {
14078                 void func()
14079                 {
14080                     if (1) {    // This should not be treated as a method.
14081                     }
14082                 }
14083             };
14084
14085         * Scripts/prepare-ChangeLog:
14086         (get_function_line_ranges_for_cpp):
14087         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
14088         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp:
14089         (Class108):
14090         (Class108::func35):
14091
14092 2012-01-27  Enrica Casucci  <enrica@apple.com>
14093
14094         Followup to http://trac.webkit.org/changeset/106171.
14095         Dan Bernstein pointed out correctly that I should
14096         have used copy instead of initWithString.
14097
14098         Reviewed by Dan Bernstein.
14099
14100         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
14101         (-[LocalPasteboard initWithName:]):
14102
14103 2012-01-27  Enrica Casucci  <enrica@apple.com>
14104
14105         DRT pasteboard object should return the correct pasteboard name.
14106         https://bugs.webkit.org/show_bug.cgi?id=77260
14107         
14108         Currently the name property always returns nil.
14109         Adding a memeber variable to store the pasteboard name and return its
14110         value from the name method instead of returning nil always.
14111
14112         Reviewed by Dan Bernstein.
14113
14114         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
14115         (+[DumpRenderTreePasteboard _pasteboardWithName:]):
14116         (-[LocalPasteboard initWithName:]):
14117         (-[LocalPasteboard name]):
14118
14119 2012-01-27  Martin Robinson  <mrobinson@igalia.com>
14120
14121         [GTK] [WK2] Implement the policy client
14122         https://bugs.webkit.org/show_bug.cgi?id=76343
14123
14124         Reviewed by Gustavo Noronha Silva.
14125
14126         * gtk/generate-gtkdoc:
14127         (get_webkit2_options): Update the list of skipped source files to include all clients.
14128
14129 2012-01-27  Ada Chan  <adachan@apple.com>
14130
14131         Add test for WKBundleFrameGetParentFrame().
14132         https://bugs.webkit.org/show_bug.cgi?id=77161
14133
14134         Reviewed by Anders Carlsson.
14135
14136         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add ParentFrame.cpp and ParentFrame_Bundle.cpp.
14137         * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp: Added.
14138         (TestWebKitAPI):
14139         (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Get the check result from the injected bundle.
14140         (TestWebKitAPI::setInjectedBundleClient):
14141         (TestWebKitAPI::TEST): Load simple-iframe.html and then wait for the injected bundle to post result.
14142         Make sure the check is successful.
14143         * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp: Added.
14144         (TestWebKitAPI):
14145         (ParentFrameTest):
14146         (TestWebKitAPI::ParentFrameTest::ParentFrameTest):
14147         (TestWebKitAPI::didFinishLoadForFrame): If the frame is a subframe, store it off for checking later.
14148         If the frame is the main frame, check whether it's indeed the subframe's parent frame and post the result
14149         to the test controller.
14150         (TestWebKitAPI::ParentFrameTest::didCreatePage): Set the page loader client on this page.
14151
14152 2012-01-27  Zan Dobersek  <zandobersek@gmail.com>
14153
14154         [Gtk] DumpRenderTree lacks --no-timeout command line option
14155         https://bugs.webkit.org/show_bug.cgi?id=77196
14156
14157         Reviewed by Martin Robinson.
14158
14159         Add the --no-timeout command line option and reorganize
14160         watchdog code to make running DumpRenderTree without
14161         timeout possible.
14162
14163         * DumpRenderTree/gtk/DumpRenderTree.cpp:
14164         (setWaitToDumpWatchdog):
14165         (shouldSetWaitToDumpWatchdog):
14166         (initializeGlobalsFromCommandLineOptions):
14167         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
14168         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
14169         (waitToDumpWatchdogFired):
14170         (LayoutTestController::setWaitToDump):
14171
14172 2012-01-27  Andras Becsi  <andras.becsi@nokia.com>
14173
14174         [Qt][WK2] Enable the automatic touch->mouse mocking on the new Qt5 hashes
14175         https://bugs.webkit.org/show_bug.cgi?id=77122
14176
14177         Reviewed by Kenneth Rohde Christiansen.
14178
14179         * MiniBrowser/qt/MiniBrowserApplication.cpp:
14180         (MiniBrowserApplication::MiniBrowserApplication):
14181
14182 2012-01-27  Zeno Albisser  <zeno@webkit.org>
14183
14184         [Qt][Mac] Build fails after adding ICU support (r105997).
14185         https://bugs.webkit.org/show_bug.cgi?id=77118
14186
14187         Define WTF_USE_ICU_UNICODE if we are on mac.
14188
14189         Reviewed by Tor Arne Vestbø.
14190
14191         * qmake/mkspecs/features/features.prf:
14192
14193 2012-01-27  Roland Takacs  <takacs.roland@stud.u-szeged.hu>
14194
14195         Update committers.py with new contributors.
14196         https://bugs.webkit.org/show_bug.cgi?id=77207
14197
14198         I added six new contributors into committers.py:
14199
14200         - Adam Kallai
14201         - Balazs Ankes
14202         - Janos Badics
14203         - Nandor Huszka
14204         - Roland Takacs
14205         - Szilard Ledan-Muntean
14206
14207         * Scripts/webkitpy/common/config/committers.py:
14208
14209 2012-01-27  Vsevolod Vlasov  <vsevik@chromium.org>
14210
14211         Add Vsevolod Vlasov to reviewers list.
14212
14213         Reviewed by Pavel Feldman.
14214
14215         * Scripts/webkitpy/common/config/committers.py:
14216
14217 2012-01-26  No'am Rosenthal  <noam.rosenthal@nokia.com> and Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
14218
14219         [Qt] WKTR: Use a software rendering pipiline when running tests.
14220         https://bugs.webkit.org/show_bug.cgi?id=76708
14221
14222         Reviewed by Kenneth Rohde Christiansen.
14223
14224         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
14225         (WTR::WrapperWindow::WrapperWindow):
14226         (WTR::PlatformWebView::PlatformWebView): Use software rendering of layers since the wrapping QQuickView isn't shown.
14227
14228 2012-01-26  Kevin Ollivier  <kevino@theolliviers.com>
14229
14230         [wx] Unreviewed. Build fix, add WebCore/testing/js
14231         to the list of source directories we build.
14232
14233         * waf/build/settings.py:
14234
14235 2012-01-26  Filip Pizlo  <fpizlo@apple.com>
14236
14237         Tools/Scripts/commit-log-editor is broken due to $_ getting clobbered
14238         https://bugs.webkit.org/show_bug.cgi?id=77177
14239
14240         Reviewed by Jon Honeycutt.
14241
14242         * Scripts/commit-log-editor:
14243
14244 2012-01-26  Ojan Vafai  <ojan@chromium.org>
14245
14246         Decrease sleep time when killing server_process on Mac.
14247         https://bugs.webkit.org/show_bug.cgi?id=77169
14248
14249         Reviewed by Eric Seidel.
14250
14251         This shaves another ~70ms off single test runtime.
14252
14253         * Scripts/webkitpy/layout_tests/port/server_process.py:
14254         (ServerProcess.stop):
14255
14256 2012-01-26  Ojan Vafai  <ojan@chromium.org>
14257
14258         Remove builder name so http://trac.webkit.org/changeset/106035 actually works.
14259         https://bugs.webkit.org/show_bug.cgi?id=77164
14260
14261         Reviewed by Dirk Pranke.
14262
14263         http://trac.webkit.org/changeset/106035 depends on builder_name being
14264         falsey by default. There's other code that requires it to be iterable
14265         by default. So, make it be the empty string.
14266
14267         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
14268         (parse_args):
14269
14270 2012-01-26  Ryosuke Niwa  <rniwa@webkit.org>
14271
14272         run-perf-test should include relative file paths in test names
14273         https://bugs.webkit.org/show_bug.cgi?id=77144
14274
14275         Reviewed by Adam Barth.
14276
14277         Include all directory names in the test name separated by "/".
14278         e.g. Bindings/event-target-wrapper.html translates to Bindings/event-target-wrapper
14279
14280         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
14281         (PerfTestsRunner):
14282         (PerfTestsRunner._process_parser_test_result):
14283         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
14284         (test_run_test_set_with_json_output):
14285         (test_run_test_set_with_json_source):
14286
14287 2012-01-26  Dirk Pranke  <dpranke@chromium.org>
14288
14289         webkitpy: re-land cleanup of test scaffolding
14290         https://bugs.webkit.org/show_bug.cgi?id=77153
14291
14292         Reviewed by Eric Seidel.
14293
14294         This is an attempt to reland the change in bug 76973 / 
14295         r105935. My earlier attempt to manipulate PYTHONPATH
14296         seems to only work some of the time, for reasons that
14297         elude me. Directly adding Tools/Scripts to sys.path from
14298         inside the test script appears to work (more?) reliably.
14299
14300         Also, it seemed like the files didn't actually get deleted
14301         the last time; I don't know why.
14302
14303         * Scripts/test-webkitpy:
14304         * Scripts/webkitpy/common/system/executive_unittest.py:
14305         (command_line):
14306         (ExecutiveTest):
14307         (ExecutiveTest.test_run_command_args_type):
14308         (ExecutiveTest.test_run_command_with_unicode):
14309         (ExecutiveTest.test_running_pids):
14310         (main):
14311         * Scripts/webkitpy/common/system/fileutils.py: Removed.
14312         * Scripts/webkitpy/test/cat.py: Removed.
14313         * Scripts/webkitpy/test/cat_unittest.py: Removed.
14314         * Scripts/webkitpy/test/echo.py: Removed.
14315         * Scripts/webkitpy/test/echo_unittest.py: Removed.
14316
14317 2012-01-26  Ojan Vafai  <ojan@chromium.org>
14318
14319         run-webkit-tests calls "nm" when it doesn't need to
14320         https://bugs.webkit.org/show_bug.cgi?id=77143
14321
14322         Reviewed by Dirk Pranke.
14323
14324         If we are not running any test that can be skipped by checking
14325         the DRT feature list or looking at the list of symbols, avoid calling
14326         out to DRT or calling "nm".
14327
14328         This saves ~700ms on my Mac Pro. In cases where you still have to call out
14329         to "nm" it's only a couple ms slower.
14330
14331         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
14332         (TestExpectations.__init__):
14333         * Scripts/webkitpy/layout_tests/port/base.py:
14334         (Port.skipped_tests):
14335         * Scripts/webkitpy/layout_tests/port/webkit.py:
14336         (WebKitPort._should_check_for_missing_features):
14337         (WebKitPort):
14338         (WebKitPort._should_check_for_missing_symbols):
14339         (WebKitPort._skipped_tests_for_unsupported_features):
14340         (WebKitPort.skipped_layout_tests):
14341         (WebKitPort.skipped_tests):
14342         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
14343         (WebKitPortTest.test_skipped_directories_for_symbols):
14344         (test_skipped_directories_for_features):
14345         (test_skipped_directories_for_features_no_matching_tests_in_test_list):
14346         (test_skipped_layout_tests):
14347
14348 2012-01-26  Benjamin Poulain  <bpoulain@apple.com>
14349
14350         Support a suffix on ChangeLog filenames based on a configuration file
14351         https://bugs.webkit.org/show_bug.cgi?id=76956
14352
14353         Reviewed by Kentaro Hara.
14354
14355         Modify the tools used to generate, edit and resolve ChangeLogs to support
14356         the addition of a suffix to the ChangeLog filename.
14357
14358         This patch makes it easier to support alternate ChangeLog files in branches.
14359
14360         * Scripts/VCSUtils.pm:
14361         (changeLogSuffix):
14362         (changeLogFileName):
14363         * Scripts/commit-log-editor:
14364         * Scripts/prepare-ChangeLog:
14365         (getLatestChangeLogs):
14366         (generateNewChangeLogs):
14367         (generateFileList):
14368         * Scripts/resolve-ChangeLogs:
14369         (findChangeLog):
14370
14371 2012-01-26  Sheriff Bot  <webkit.review.bot@gmail.com>
14372
14373         Unreviewed, rolling out r106038.
14374         http://trac.webkit.org/changeset/106038
14375         https://bugs.webkit.org/show_bug.cgi?id=77142
14376
14377         Caused a bunch of skipped tests to not be skipped. (Requested
14378         by ojan on #webkit).
14379
14380         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
14381         (TestExpectationParser):
14382         (TestExpectationParser.parse):
14383         (TestExpectationParser._parse_line):
14384         (TestExpectationParser._collect_matching_tests):
14385         (TestExpectations.__init__):
14386         (TestExpectations._add_skipped_tests):
14387         * Scripts/webkitpy/layout_tests/port/base.py:
14388         (Port.test_dirs):
14389         (Port.normalize_test_name):
14390         (Port.update_baseline):
14391         (Port.layout_tests_dir):
14392         (Port.relative_perf_test_filename):
14393         (Port.abspath_for_test):
14394
14395 2012-01-25  Ojan Vafai  <ojan@chromium.org>
14396
14397         Parsing test_expecations.txt + Skipped lists takes too long
14398         https://bugs.webkit.org/show_bug.cgi?id=77059
14399
14400         Reviewed by Dirk Pranke.
14401
14402         This saves ~100ms on the Apple Mac port.
14403         -memoize a bunch of path methods.
14404         -Avoid doing multiple disk accesses per line.
14405         -Parse the skipped list directly instead of turning it into a test_expecations.txt
14406         formatting string and parsing that.
14407
14408         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
14409         (TestExpectationParser):
14410         (TestExpectationParser.parse_skipped_tests):
14411         (TestExpectationParser._parse_line):
14412         (TestExpectationParser._collect_matching_tests):
14413         (TestExpectations.__init__):
14414         (TestExpectations._add_skipped_tests):
14415         * Scripts/webkitpy/layout_tests/port/base.py:
14416         (Port):
14417         (Port.test_isfile):
14418         (Port.normalize_test_name):
14419         (Port.layout_tests_dir):
14420         (Port.abspath_for_test):
14421
14422 2012-01-25  Ojan Vafai  <ojan@chromium.org>
14423
14424         Only store the SVN revision in the summarized results if we're on a builder
14425         https://bugs.webkit.org/show_bug.cgi?id=76976
14426
14427         Reviewed by Dirk Pranke.
14428
14429         This shaves another ~130ms off the single test run-webkit-tests runtime.
14430
14431         * Scripts/webkitpy/layout_tests/controllers/manager.py:
14432         (summarize_results):
14433         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
14434         (ResultSummaryTest.get_result):
14435         (ResultSummaryTest):
14436         (ResultSummaryTest.get_result_summary):
14437         (ResultSummaryTest.get_unexpected_results):
14438         (ResultSummaryTest.test_no_svn_revision):
14439         (ResultSummaryTest.test_svn_revision):
14440         * Scripts/webkitpy/layout_tests/port/base.py:
14441         (Port.use_trac_links_in_results_html):
14442
14443 2012-01-26  Luciano Wolf  <luciano.wolf@openbossa.org>
14444
14445         [Qt][WK2] fast/loader tests failed after r94178
14446         https://bugs.webkit.org/show_bug.cgi?id=67388
14447
14448         Reviewed by Simon Hausmann.
14449
14450         Applying the same fix used for Qt-WebKit1 from bug #67254 -
14451         [Qt][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResource()
14452         https://bugs.webkit.org/show_bug.cgi?id=67254
14453         Translate file:///tmp/LayoutTests/* urls into the repository LayoutTests directory, which is
14454         derived from the running location of DumpRenderTree binary.
14455
14456         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
14457         (WTR::LayoutTestController::pathToLocalResource):
14458
14459 2012-01-26  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
14460
14461         Implement overridePreference for boolean preferences in WebKitTestRunner
14462         https://bugs.webkit.org/show_bug.cgi?id=77033
14463
14464         Reviewed by Alexey Proskuryakov.
14465
14466         For now overridePreference supports boolean values.
14467
14468         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
14469         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
14470         (WTR::LayoutTestController::setXSSAuditorEnabled):
14471         (WTR::LayoutTestController::overridePreference):
14472         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
14473         * WebKitTestRunner/TestController.cpp:
14474         (WTR::TestController::resetStateToConsistentValues): Reset the overrides
14475         explicitly and properly disable the use of PageCache when resetting the
14476         state. Tests that use PageCache can now enable it via overridePreference.
14477
14478 2012-01-26  Alexander Færøy  <alexander.faeroy@nokia.com>
14479
14480         [Qt] Support opening multiple URL's from the command line in the Qt MiniBrowser
14481         https://bugs.webkit.org/show_bug.cgi?id=77100
14482
14483         Reviewed by Simon Hausmann.
14484
14485         This patch makes the MiniBrowser read multiple URL's from the command
14486         line such that there will be one browser window opened for each URL.
14487
14488         * MiniBrowser/qt/MiniBrowserApplication.cpp:
14489         (MiniBrowserApplication::handleUserOptions):
14490
14491 2012-01-26  Alexander Færøy  <alexander.faeroy@nokia.com>
14492
14493         [Qt] The Qt MiniBrowser crashes when given multiple URL's
14494         https://bugs.webkit.org/show_bug.cgi?id=77009
14495
14496         Reviewed by Simon Hausmann.
14497
14498         This patch fixes a crash in BrowserWindow::newWindow() where a
14499         BrowserWindow-object is constructed with a 0 pointer as the
14500         WindowOptions parameter which leads to a crash.
14501
14502         * MiniBrowser/qt/BrowserWindow.cpp:
14503         (BrowserWindow::BrowserWindow):
14504         (BrowserWindow::newWindow):
14505         * MiniBrowser/qt/BrowserWindow.h:
14506
14507 2012-01-26  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
14508
14509         [Qt] Use ICU if available
14510         https://bugs.webkit.org/show_bug.cgi?id=76821
14511
14512         Reviewed by Simon Hausmann.
14513
14514         Adding unicode defines for a Qt 5 based build.
14515
14516         * qmake/mkspecs/features/features.prf:
14517
14518 2012-01-26  Nándor Huszka  <huszka.nandor@stud.u-szeged.hu>
14519
14520         [WK2] WebKitTestRunner needs layoutTestController.setGeolocationPermission
14521         https://bugs.webkit.org/show_bug.cgi?id=42545
14522
14523         Reviewed by Zoltan Herczeg.
14524
14525         Implement the setGeolocationPermission method.
14526
14527         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
14528         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
14529         (WTR::LayoutTestController::setGeolocationPermission):
14530         (WTR):
14531         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
14532         (LayoutTestController):
14533
14534 2012-01-26  Balazs Kelemen  <kbalazs@webkit.org>
14535
14536         [NRWT] Support --ignore-metrics
14537         https://bugs.webkit.org/show_bug.cgi?id=76278
14538
14539         Reviewed by Tony Chang.
14540
14541         Port the feature from ORWT.
14542
14543         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
14544         (SingleTestRunner._run_compare_test):
14545         * Scripts/webkitpy/layout_tests/port/driver.py:
14546         (DriverOutput):
14547         (DriverOutput.strip_metrics):
14548         * Scripts/webkitpy/layout_tests/port/driver_unittest.py:
14549         (DriverOutputTest):
14550         (DriverOutputTest.test_strip_metrics):
14551         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
14552         (_set_up_derived_options):
14553         (parse_args):
14554
14555 2012-01-26  Sheriff Bot  <webkit.review.bot@gmail.com>
14556
14557         Unreviewed, rolling out r105935 and r105954.
14558         http://trac.webkit.org/changeset/105935
14559         http://trac.webkit.org/changeset/105954
14560         https://bugs.webkit.org/show_bug.cgi?id=77080
14561
14562         test-webkitpy is still broken (Requested by abarth on
14563         #webkit).
14564
14565         * Scripts/test-webkitpy:
14566         * Scripts/webkitpy/common/system/executive_unittest.py:
14567         (never_ending_command):
14568         (ExecutiveTest.test_run_command_args_type):
14569         (ExecutiveTest.test_run_command_with_unicode):
14570         (ExecutiveTest.test_running_pids):
14571         * Scripts/webkitpy/common/system/fileutils.py:
14572         (make_stdout_binary):
14573         * Scripts/webkitpy/test/cat.py:
14574         (command_arguments):
14575         (main):
14576         * Scripts/webkitpy/test/cat_unittest.py:
14577         (CatTest):
14578         (CatTest.assert_cat):
14579         (CatTest.test_basic):
14580         (CatTest.test_no_newline):
14581         (CatTest.test_unicode):
14582         (CatTest.test_as_command):
14583         * Scripts/webkitpy/test/echo.py:
14584         (command_arguments):
14585         (main):
14586         * Scripts/webkitpy/test/echo_unittest.py:
14587         (EchoTest):
14588         (EchoTest.test_basic):
14589         (EchoTest.test_no_newline):
14590         (EchoTest.test_unicode):
14591         (EchoTest.test_argument_order):
14592         (EchoTest.test_empty_arguments):
14593         (EchoTest.test_no_arguments):
14594         (EchoTest.test_as_command):
14595
14596 2012-01-26  Gabor Rapcsanyi  <rgabor@webkit.org>
14597
14598         [GTK] Detect cross-compilation in webkitdirs.pm to not generate gtkdoc
14599         https://bugs.webkit.org/show_bug.cgi?id=76138
14600
14601         Reviewed by Martin Robinson.
14602
14603         * Scripts/webkitdirs.pm:
14604         (isCrossCompilation):
14605         (buildAutotoolsProject):
14606
14607 2012-01-25  Adam Barth  <abarth@webkit.org>
14608
14609         Kentaro is a reviewer now.  Yay!
14610
14611         * Scripts/webkitpy/common/config/committers.py:
14612
14613 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14614
14615         nrwt: running w/ no arguments fails
14616         https://bugs.webkit.org/show_bug.cgi?id=77064
14617
14618         Unreviewed, build fix.
14619
14620         This change fixes a regression introduced in r105944
14621         where running without --platform <foo> or one of the other
14622         platform switches would cause a null deref :(.
14623
14624         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
14625         (main):
14626
14627 2012-01-25  Eric Seidel  <eric@webkit.org>
14628
14629         Automatically CC someone from Apple on any changes to Obj-C public API
14630         https://bugs.webkit.org/show_bug.cgi?id=77053
14631
14632         Reviewed by Timothy Hatcher.
14633
14634         This has long been de-facto practice, seems now that we have
14635         fancy watchlist support, we should just make the tools
14636         do this automatically.
14637
14638         * Scripts/webkitpy/common/config/watchlist:
14639
14640 2012-01-25  Antoine Labour  <piman@chromium.org>
14641
14642         Updating status in committers.py.
14643
14644         Unreviewed.
14645
14646         * Scripts/webkitpy/common/config/committers.py:
14647
14648 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14649
14650         test-webkitpy: executive_unittest fails if PYTHONPATH isn't set
14651         https://bugs.webkit.org/show_bug.cgi?id=77058
14652
14653         Reviewed by Eric Seidel.
14654
14655         r105935 broke executive_unittest by changing which script we
14656         were running and not ensuring that the PYTHONPATH was set up
14657         properly.
14658
14659         This change also fixes a regression introduced recently where
14660         test-webkitpy wasn't figuring out the path to Tools/Scripts
14661         right, either (so running ./test-webkitpy would fail).
14662
14663         * Scripts/test-webkitpy:
14664         * Scripts/webkitpy/common/system/executive_unittest.py:
14665         (script_dir):
14666         (ExecutiveTest.setUp):
14667         (ExecutiveTest):
14668         (ExecutiveTest.tearDown):
14669
14670 2012-01-25  Adam Barth  <abarth@webkit.org>
14671
14672         Disable tests on the mac-ews while we sort out hte stability issues.
14673
14674         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
14675         (MacEWS):
14676
14677 2012-01-23  Dirk Pranke  <dpranke@chromium.org>
14678
14679         investigate use of 'mac' and 'win' as fully-specified port names for the apple ports
14680         https://bugs.webkit.org/show_bug.cgi?id=76475
14681
14682         Reviewed by Eric Seidel.
14683
14684         This patch cleans up the internal usage of port names for the
14685         Apple mac and Apple win ports so that 'mac' and 'win are never
14686         considered "fully specified" port names: they are still legal
14687         input to the PortFactory.get() routine, but only if run on the given
14688         platform (i.e. trying to PortFactory.get('mac') on windows or
14689         linux will return an error, since we don't know which version of
14690         the port is desired.
14691
14692         This also cleans up handling of the webkit2 variants, so that
14693         the full port names consistently follow the
14694         <operating_system>-<version>[-<wk2>] convention.
14695
14696         Lastly this patch adds some assertions and removes some
14697         try/catch logic to catch more programming and usage errors;
14698         previously mac-tiger might've been allowed -- and it would've
14699         translated into using just the baselines in platform/mac -- but
14700         now it should fail.
14701
14702         * Scripts/webkitpy/layout_tests/port/apple.py:
14703         (ApplePort.determine_full_port_name):
14704         (ApplePort.__init__):
14705         (ApplePort):
14706         (ApplePort._port_name_with_version):
14707         * Scripts/webkitpy/layout_tests/port/builders.py:
14708         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
14709         (FactoryTest.test_mac):
14710         (FactoryTest.test_win):
14711         * Scripts/webkitpy/layout_tests/port/mac.py:
14712         (MacPort.baseline_search_path):
14713         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
14714         (MacTest.test_versions):
14715         * Scripts/webkitpy/layout_tests/port/win.py:
14716         (WinPort.baseline_search_path):
14717         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
14718         (WinTest.test_versions):
14719
14720 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14721
14722         webkitpy: print nicer errors while linting expectations files, remove redundant tests
14723         https://bugs.webkit.org/show_bug.cgi?id=76955
14724
14725         Reviewed by Adam Barth.
14726
14727         This change cleans up the errors that are printed so that the
14728         are more "quickfix" compatible (path:lineno).
14729
14730         Also, there were a bunch of redundant tests between
14731         layout_tests.models.test_expectations_unittest and
14732         style.checkers.test_expectations_unittest. The latter should
14733         just expect the former to do most of the testing.
14734
14735         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
14736         (TestExpectationParser._parse_modifiers):
14737         (TestExpectations._report_errors):
14738         (TestExpectations._add_skipped_tests):
14739         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
14740         (test_parse_error_nonfatal):
14741         (SemanticTests.test_bad_bugid):
14742         * Scripts/webkitpy/style/checkers/test_expectations.py:
14743         (TestExpectationsChecker.__init__):
14744         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
14745         (TestExpectationsTestCase.assert_lines_lint):
14746         (TestExpectationsTestCase.test_valid_expectations):
14747         (TestExpectationsTestCase.test_invalid_expectations):
14748         (TestExpectationsTestCase.test_tab):
14749
14750 2012-01-25  Eric Seidel  <eric@webkit.org>
14751
14752         webkit-patch apply-* should always continue after failures
14753         https://bugs.webkit.org/show_bug.cgi?id=77057
14754
14755         Reviewed by Adam Barth.
14756
14757         As far as I can tell there is only one potential drawback to always
14758         forcing: that if you're somehow in the wrong directory it will create new
14759         directories for new files.  Since webkit-patch always cd's to the root
14760         it seems that's not a drawback.  The drawback of not using --force for
14761         svn-apply, is that it will stop after the first failure, which is rarely
14762         (if ever) the desired behavior.  This just removes the force option
14763         (which was strangely hidden behind --non-interactive).  This should
14764         make for a better user experiance.
14765
14766         * Scripts/webkitpy/common/checkout/checkout.py:
14767         (Checkout.apply_patch):
14768         * Scripts/webkitpy/common/checkout/checkout_mock.py:
14769         (MockCheckout.apply_patch):
14770         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
14771         (CheckoutTest.test_chromium_deps):
14772         (CheckoutTest):
14773         (CheckoutTest.test_apply_patch):
14774         * Scripts/webkitpy/tool/commands/download_unittest.py:
14775         (DownloadCommandsTest._default_options):
14776         * Scripts/webkitpy/tool/steps/applypatch.py:
14777         (ApplyPatch.options):
14778         (ApplyPatch.run):
14779         * Scripts/webkitpy/tool/steps/options.py:
14780         (Options):
14781
14782 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14783
14784         nrwt: should be able to run --platform test interactively
14785         https://bugs.webkit.org/show_bug.cgi?id=76959
14786
14787         Reviewed by Adam Barth.
14788
14789         As part of refactoring the Port interfaces, in r103254 I made
14790         passing a Host object to the Port mandatory; previously TestPort
14791         objects would create their own (mock) hosts. However,
14792         new-run-webkit-tests always passed a real Host, not a MockHost,
14793         and so you couldn't run new-run-webkit-tests --platform test
14794         interactively to debug test failures.
14795
14796         This change fixes that by creating a MockHost instead of a real
14797         host if you say --platform test*.
14798
14799         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
14800         (main):
14801
14802 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14803
14804         run-webkit-tests --lint-test-files should lint all the ports by default
14805         https://bugs.webkit.org/show_bug.cgi?id=76749
14806
14807         Reviewed by Ojan Vafai.
14808
14809         Currently run-webkit-tests --lint-test-files will only lint the
14810         test_expectations for the single port determined by the command
14811         line options. This is not obvious and can produce unintended results
14812         if you want to lint the chromium port (probably the normal case
14813         for using --lint-test-files) but don't specify a port name or
14814         --chromium.
14815
14816         I think we should probably lint *all* of the ports if no port
14817         name is supplied. This change implements that, and also moves
14818         the linting logic out of the Manager class, since this really
14819         has nothing to do with Managers. It has little to do with
14820         run-webkit-tests, but splitting it into a different script would
14821         introduce compatibility issues. It might make sense to do that
14822         anyway, in a separate patch and combining that with cleaning up
14823         the style checker to share more code.
14824
14825         * Scripts/webkitpy/layout_tests/controllers/manager.py:
14826         (Manager._strip_test_dir_prefix):
14827         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
14828         (lint):
14829         (run):
14830         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
14831         (LintTest.test_all_configurations): added.
14832         (LintTest.test_lint_test_files): added.
14833         (LintTest.test_lint_test_files__errors): added.
14834         (MainTest.test_lint_test_files): removed.
14835         (MainTest.test_lint_test_files__errors): removed.
14836
14837 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14838
14839         webkitpy: clean up a bunch of test scaffolding
14840         https://bugs.webkit.org/show_bug.cgi?id=76973
14841
14842         Reviewed by Eric Seidel.
14843
14844         There were several helper modules in the webkitpy.test package
14845         that appear to only be used by executive_unittest.py. I am
14846         rolling them all into that file to make that clearer.
14847
14848         * Scripts/webkitpy/common/system/executive_unittest.py:
14849         (ExecutiveTest.test_run_command_args_type):
14850         (ExecutiveTest.test_run_command_with_unicode):
14851         (ExecutiveTest.test_running_pids):
14852         (command_line):
14853         (main):
14854         * Scripts/webkitpy/common/system/fileutils.py: Removed.
14855         * Scripts/webkitpy/test/cat.py: Removed.
14856         * Scripts/webkitpy/test/cat_unittest.py: Removed.
14857         * Scripts/webkitpy/test/echo.py: Removed.
14858         * Scripts/webkitpy/test/echo_unittest.py: Removed.
14859
14860 2012-01-25  Dirk Pranke  <dpranke@chromium.org>
14861
14862         webkitpy: clean up a bunch of test scaffolding
14863         https://bugs.webkit.org/show_bug.cgi?id=76973
14864
14865         Reviewed by Eric Seidel.
14866
14867         There were several helper modules in the webkitpy.test package
14868         that appear to only be used by executive_unittest.py. I am
14869         rolling them all into that file to make that clearer.
14870
14871         * Scripts/webkitpy/common/system/executive_unittest.py:
14872         (ExecutiveTest.test_run_command_args_type):
14873         (ExecutiveTest.test_run_command_with_unicode):
14874         (ExecutiveTest.test_running_pids):
14875         (command_line):
14876         (main):
14877         * Scripts/webkitpy/common/system/fileutils.py: Removed.
14878         * Scripts/webkitpy/test/cat.py: Removed.
14879         * Scripts/webkitpy/test/cat_unittest.py: Removed.
14880         * Scripts/webkitpy/test/echo.py: Removed.
14881         * Scripts/webkitpy/test/echo_unittest.py: Removed.
14882
14883 2012-01-25  Eric Seidel  <eric@webkit.org>
14884
14885         Remove Python 2.5 support from WebKit
14886         https://bugs.webkit.org/show_bug.cgi?id=71593
14887
14888         Reviewed by Adam Barth.
14889
14890         Just removing support from this one core file.
14891         I'll commit the rest of the (large) change once we've
14892         gone 24 hours and seen that no bots have exploded.
14893         We can roll out this one change if we break bots
14894         and then roll in the rest once those bots are fixed.
14895
14896         * Scripts/webkitpy/common/system/executive.py:
14897         (Executive.cpu_count):
14898
14899 2012-01-25  Hajime Morita  <morrita@google.com>
14900
14901         ENABLE_SHADOW_DOM should be available via build-webkit --shadow-dom
14902         https://bugs.webkit.org/show_bug.cgi?id=76863
14903
14904         Reviewed by Dimitri Glazkov.
14905
14906         Added a feature flag.
14907
14908         * Scripts/build-webkit:
14909         * qmake/mkspecs/features/features.prf:
14910
14911 2012-01-25  Martin Robinson  <mrobinson@igalia.com>
14912
14913         [WK2] Navigation events not triggered by a mouse event claim to be triggered by the left mouse button during policy decisions
14914         https://bugs.webkit.org/show_bug.cgi?id=76344
14915
14916         Reviewed by Sam Weinig.
14917
14918         Add a test verifying that the mouse button during policy decisions for
14919         events not triggered by mouse events is NoButton.
14920
14921         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
14922         (TestWebKitAPI::decidePolicyForNavigationAction): Added test.
14923         (TestWebKitAPI::decidePolicyForNewWindowAction): Added test.
14924
14925 2012-01-25  Ryosuke Niwa  <rniwa@webkit.org>
14926
14927         run-perf-tests should timeout sooner
14928         https://bugs.webkit.org/show_bug.cgi?id=77026
14929
14930         Reviewed by Adam Barth.
14931
14932         Bump off the timeout from 10 minutes to 4 minutes.
14933
14934         Also use float instead of str in test result values to compress the size of json files bots upload.
14935
14936         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
14937         (PerfTestsRunner._parse_args):
14938         (PerfTestsRunner._process_chromium_style_test_result):
14939         (PerfTestsRunner._process_parser_test_result):
14940         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
14941         (test_run_test_set_for_parser_tests):
14942         (test_run_test_set_with_json_output):
14943         (test_run_test_set_with_json_source):
14944
14945 2012-01-25  Enrica Casucci  <enrica@apple.com>
14946
14947         WebView should implement typingAttributes methods to work correctly with the Inspector bar in Mail.
14948         https://bugs.webkit.org/show_bug.cgi?id=76951
14949         <rdar://problem/9325158>
14950
14951         Reviewed by Alexey Proskuryakov.
14952
14953         * TestWebKitAPI/Tests/mac/InspectorBar.mm: Modified to reflect the changes to WebView
14954         and WebHTMLView.
14955         (TestWebKitAPI::TEST):
14956
14957 2012-01-23  MORITA Hajime  <morrita@google.com>
14958
14959         [Refactoring][Internals] Should have InternalSettings
14960         https://bugs.webkit.org/show_bug.cgi?id=76424
14961
14962         Reviewed by Kent Tamura.
14963
14964         * GNUmakefile.am: Added so new files.
14965
14966 2012-01-25  Takashi Toyoshima  <toyoshim@chromium.org>
14967
14968         webkitpy: new-run-webkit-websocket is broken
14969         https://bugs.webkit.org/show_bug.cgi?id=76999
14970
14971         Reviewed by Dirk Pranke.
14972
14973         r105674 broke new-run-webkit-websocket, since options.chromium
14974         doesn't exist any more. new-run-webkit-httpd was also broken
14975         and already fixed at r105835.
14976         * Scripts/new-run-webkit-websocketserver:
14977         (main):
14978
14979 2012-01-25  Nándor Huszka  <huszka.nandor@stud.u-szeged.hu>
14980
14981         [WK2] WebKitTestRunner needs layoutTestController.setPopupBlockingEnabled
14982         https://bugs.webkit.org/show_bug.cgi?id=63458
14983
14984         Reviewed by Adam Roben.
14985
14986         Implement the setPopupBlockingEnabled method.
14987
14988         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
14989         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
14990         (WTR::LayoutTestController::setPopupBlockingEnabled):
14991         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
14992
14993 2012-01-24  Balazs Kelemen  <kbalazs@webkit.org>
14994
14995         [Qt] Cleanup testfonts handling
14996         https://bugs.webkit.org/show_bug.cgi?id=76068
14997
14998         Reviewed by Simon Hausmann.
14999
15000         Factor test font initialization into it's own file  so test
15001         font users can share the implementation by adding the file
15002         to their build.
15003         Use fonts.conf from the test font directory to not require the
15004         current directory to be the WebKit root.
15005         Fix the -use-test-fonts option of QtTestBrowser by initializing
15006         the fonts earlier, before it is too late (namely before calling
15007         show on the main window).
15008
15009         * DumpRenderTree/qt/DumpRenderTree.pro:
15010         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
15011         (WebCore::DumpRenderTree::open):
15012         * DumpRenderTree/qt/DumpRenderTreeQt.h:
15013         * DumpRenderTree/qt/QtInitializeTestFonts.cpp: Copied from Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp.
15014         (WebKit::initializeTestFonts):
15015         * DumpRenderTree/qt/QtInitializeTestFonts.h: Added.
15016         * DumpRenderTree/qt/fonts.conf: Removed. No need for this since
15017         we will use the one from the test fonts directory.
15018         * DumpRenderTree/qt/main.cpp:
15019         (main): Fix the ifdefs to make it clear that the code to
15020         set up the Dpi has not been ported to Qt5 yet.
15021         * QtTestBrowser/QtTestBrowser.pro:
15022         * QtTestBrowser/launcherwindow.h:
15023         (WindowOptions::WindowOptions):
15024         * QtTestBrowser/main.cpp:
15025         (launcherMain):
15026         (LauncherApplication::handleUserOptions):
15027         * WebKitTestRunner/InjectedBundle/Target.pri:
15028         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
15029         (WTR::activateFonts): Remove the code to set up the Dpi
15030         because it does not work with Qt5.
15031
15032 2012-01-25  Simon Hausmann  <simon.hausmann@nokia.com>
15033
15034         [Qt] build-webkit --qt requires a git-svn or SVN checkout.
15035
15036         Reviewed by Tor Arne Vestø.
15037
15038         Don't require it by making svnRevisionForDirectory return "unknown"
15039         instead of bailing out with an error.
15040
15041         * Scripts/VCSUtils.pm:
15042         (svnRevisionForDirectory):
15043
15044 2012-01-25  Adam Barth  <abarth@webkit.org>
15045
15046         Temporarily disable running the unit tests on the Chromium EWS.  These
15047         tests don't work properly (see
15048         https://bugs.webkit.org/show_bug.cgi?id=76979) and are currently
15049         blocking the EWS.
15050
15051         * Scripts/webkitpy/common/config/ports.py:
15052         (ChromiumPort):
15053
15054 2012-01-25  Adam Barth  <abarth@webkit.org>
15055
15056         Update results.html version of PixelZoomer
15057         https://bugs.webkit.org/show_bug.cgi?id=76965
15058
15059         Reviewed by Ojan Vafai.
15060
15061         Improve readability as suggested by Ojan.
15062
15063         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/pixelzoomer.js:
15064
15065 2012-01-25  Carlos Garcia Campos  <cgarcia@igalia.com>
15066
15067         [GTK] Page clients don't need to be GObjects anymore in WebKit2 GTK+ API
15068         https://bugs.webkit.org/show_bug.cgi?id=76899
15069
15070         Reviewed by Martin Robinson.
15071
15072         * gtk/generate-gtkdoc:
15073         (get_webkit2_options): WebKitWebLoaderClient has been renamed to
15074         WebKitLoaderClient.
15075
15076 2012-01-24  Ryosuke Niwa  <rniwa@webkit.org>
15077
15078         Build fix. Trigger Chromium Mac Release (Perf) on new commits.
15079
15080         * BuildSlaveSupport/build.webkit.org-config/config.json:
15081
15082 2012-01-23  Ryosuke Niwa  <rniwa@webkit.org>
15083
15084         WebKit needs public performance tests running on public bots
15085         https://bugs.webkit.org/show_bug.cgi?id=10266
15086
15087         Reviewed by Adam Barth.
15088
15089         Completes the initial implementation of WebKit Perf bots. Add a build step for run-perf-test
15090         and make google-mac-4 run it, and upload the results to webkit-perf.webkit.org.
15091
15092         * BuildSlaveSupport/build.webkit.org-config/config.json:
15093         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
15094         (RunAndUploadPerfTests):
15095         (RunAndUploadPerfTests.start):
15096         (UploadPerfTestResults):
15097         (BuildAndPerfTestFactory):
15098         (BuildAndPerfTestFactory.__init__):
15099
15100 2012-01-24  Ojan Vafai  <ojan@chromium.org>
15101
15102         Initializing the browser property of the Bugzilla class takes too long
15103         https://bugs.webkit.org/show_bug.cgi?id=76960
15104
15105         Reviewed by Adam Barth.
15106
15107         Lazily initialize it. This saves ~150ms on a no-op run-webkit-tests call
15108         on my Mac Pro.
15109
15110         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
15111         (Bugzilla.__init__):
15112         (Bugzilla._get_browser):
15113         (Bugzilla):
15114         (Bugzilla._set_browser):
15115
15116 2012-01-24  Mark Rowe  <mrowe@apple.com>
15117
15118         Death to JavaScriptGlue.
15119
15120         Rubber-stamped by Geoffrey Garen.
15121
15122         * BuildSlaveSupport/build-launcher-app:
15123         (copyNightlyLauncher):
15124         * Scripts/build-webkit:
15125         * Scripts/do-file-rename:
15126         * Scripts/do-webcore-rename:
15127         * Scripts/webkitpy/common/config/build.py:
15128         (_should_file_trigger_build):
15129         * Scripts/webkitpy/common/config/build_unittest.py: Update the test to use another Mac-specific
15130         path in conjunction with a cross-platform path.
15131         (ShouldBuildTest):
15132
15133 2012-01-24  Kentaro Hara  <haraken@chromium.org>
15134
15135         webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl should test stdout and stderr
15136         https://bugs.webkit.org/show_bug.cgi?id=75836
15137
15138         Reviewed by David Kilzer.
15139
15140         Previously parser_unittests.pl can just test the returned value of
15141         get_function_line_ranges() in prepare-ChangeLog. This patch fixes
15142         parser_unittests.pl so that it also tests the stdout and stderr of
15143         get_function_line_ranges().
15144
15145         This patch adds css_unittests_warning.css, which contains test cases
15146         for warning messages of the CSS parser of prepare-ChangeLog.
15147
15148         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
15149         (captureOutput): Captures the stdout and stderr of a given method.
15150         (convertAbsolutepathToWebKitPath): Converts absolute paths in a given
15151         string to relative paths.
15152
15153         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests_warning-expected.txt: Added.
15154         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests_warning.css: Added.
15155         (element1):
15156         (element2):
15157         (element3):
15158         (element4):
15159         ():
15160         (element5):
15161         (element6):
15162
15163         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
15164         Just updated the test results, i.e. added stdout and stderr results.
15165         No essential changes in the test results.
15166         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests-expected.txt: Ditto.
15167         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/java_unittests-expected.txt: Ditto.
15168         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt: Ditto.
15169         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests-expected.txt: Ditto.
15170         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests-expected.txt: Ditto.
15171
15172 2012-01-24  Dirk Pranke  <dpranke@chromium.org>
15173
15174         webkitpy: new-run-webkit-httpd is broken
15175         https://bugs.webkit.org/show_bug.cgi?id=76963
15176
15177         Reviewed by Adam Barth.
15178
15179         r105674 broke new-run-webkit-httpd, since options.chromium
15180         doesn't exist any more. We didn't catch this because we don't
15181         run the integration tests by default anywhere :(.
15182
15183         * Scripts/new-run-webkit-httpd:
15184         (run):
15185         (main):
15186
15187 2012-01-24  Adam Barth  <abarth@webkit.org>
15188
15189         garden-o-matic pixel zoomer should let you look at every pixel of the image
15190         https://bugs.webkit.org/show_bug.cgi?id=76962
15191
15192         Reviewed by Ojan Vafai.
15193
15194         Previously, you couldn't get up to the right and bottom pixels.
15195
15196         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/pixelzoomer.js:
15197
15198 2012-01-24  Enrica Casucci  <enrica@apple.com>
15199
15200         WebHTMLView should implement typingAttributes methods to work correctly with the Inspector bar in Mail.
15201         https://bugs.webkit.org/show_bug.cgi?id=76951
15202         <rdar://problem/9325158>
15203
15204         Added test to verify that WebHTMLView supports the typingAttributes method and that it
15205         works as expected.
15206         
15207         Reviewed by Alexey Proskuryakov.
15208
15209         * TestWebKitAPI/Tests/mac/InspectorBar.mm:
15210         (TestWebKitAPI::TEST):
15211
15212 2012-01-24  James Robinson  <jamesr@chromium.org>
15213
15214         Put a space between the trac link and ellipsis in sheriffbot rollout message so it linkifies better in some IRC clients
15215         https://bugs.webkit.org/show_bug.cgi?id=76884
15216
15217         Reviewed by Adam Barth.
15218
15219         * Scripts/webkitpy/tool/bot/irc_command.py:
15220         (Rollout.execute):
15221         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
15222         (SheriffIRCBotTest.test_rollout):
15223         (SheriffIRCBotTest.test_revert):
15224         (SheriffIRCBotTest.test_multi_rollout):
15225         (SheriffIRCBotTest.test_rollout_with_r_in_svn_revision):
15226         (SheriffIRCBotTest.test_multi_rollout_with_r_in_svn_revision):
15227         (SheriffIRCBotTest.test_rollout_invalidate_reason):
15228         (test_multi_rollout_invalidate_reason):
15229
15230 2012-01-24  Kentaro Hara  <haraken@chromium.org>
15231
15232         The cpp parser of prepare-ChangeLog cannot detect a change in classes and namespaces
15233         https://bugs.webkit.org/show_bug.cgi?id=75531
15234
15235         Reviewed by David Kilzer.
15236
15237         Previously, the cpp parser of prepare-ChangeLog could not detect a change
15238         outside methods. Consider the following cpp file.
15239
15240             namespace N {
15241             int a;     // this change does not appear on ChangeLog.
15242             class C {
15243                 int b;     // this change does not appear on ChangeLog.
15244                 void f()
15245                 {
15246                     int c;     // this change appears on ChangeLog.
15247                 }
15248                 int d;     // this change does not appear on ChangeLog.
15249             };
15250             int e;     // this change does not appear on ChangeLog.
15251             };
15252
15253         The previous prepare-ChangeLog outputs just methods in which a change is found:
15254             (N::C::f):
15255
15256         This patch fixes prepare-ChangeLog so that it outputs namespaces, classes
15257         and methods in which a change is found:
15258             (N):
15259             (N::C):
15260             (N::C::f):
15261
15262         * Scripts/prepare-ChangeLog:
15263         (get_function_line_ranges_for_cpp): Modified as described above.
15264
15265         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp: Added test cases.
15266         (Class104):
15267         (Class105):
15268         (Class106):
15269         (Class106::func32):
15270         (Class106::func33):
15271         (NameSpace3):
15272         (NameSpace4):
15273         (NameSpace5):
15274         (NameSpace6):
15275         (Class107):
15276         (NameSpace5::NameSpace6::Class107::func34):
15277         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
15278
15279 2012-01-24  Kentaro Hara  <haraken@chromium.org>
15280
15281         prepare-ChangeLog outputs warnings for top-level { ... } blocks
15282         https://bugs.webkit.org/show_bug.cgi?id=75943
15283
15284         Reviewed by David Kilzer.
15285
15286         Currently, prepare-ChangeLog outputs warnings for top-level { ... } blocks,
15287         because it does not distinguish '}' at the end of a subroutine
15288         with '}' at the end of a if or for statement.
15289
15290         foo.pl:
15291             if (1) {
15292             }
15293             for (@v) {
15294             }
15295
15296         output:
15297             nested functions found at top-level at foo.pl:2
15298             nested functions found at top-level at foo.pl:4
15299
15300         This patch fixes the bug.
15301
15302         * Scripts/prepare-ChangeLog:
15303         (get_function_line_ranges_for_perl):
15304         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl:
15305         Added test cases. No change in the test results.
15306
15307 2012-01-24  Dirk Pranke  <dpranke@chromium.org>
15308
15309         r105674 broke check-webkit-style for chromium's test_expectations.
15310
15311         Unreviewed, build fix.
15312         
15313         We now need to pass in a platform name of 'chromium' if we want
15314         the chromium port; options.chromium is no longer recognized. I
15315         will follow this patch up with a separate patch that has a test,
15316         but this at least fixes the build.
15317
15318         * Scripts/webkitpy/style/checkers/test_expectations.py:
15319         (TestExpectationsChecker._determine_port_from_exepectations_path):
15320
15321 2012-01-20  Ojan Vafai  <ojan@chromium.org>
15322
15323         check-webkit-style of the chromium test_expectations.txt file takes too long
15324         https://bugs.webkit.org/show_bug.cgi?id=76745
15325
15326         Reviewed by Dimitri Glazkov.
15327
15328         When in lint mode, have TestExpectations test all configurations instead
15329         of looping over each configuration. This also has the benefit of making
15330         the error output considerably more concise.
15331
15332         Also, got rid of the double-printing of errors when linting through check-webkit-style.
15333
15334         * Scripts/webkitpy/layout_tests/controllers/manager.py:
15335         (Manager.lint):
15336         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
15337         (TestExpectations._report_errors):
15338         (TestExpectations._add_expectations):
15339         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
15340         (test_parse_error_nonfatal):
15341         (test_error_on_different_platform):
15342         * Scripts/webkitpy/style/checkers/test_expectations.py:
15343         (TestExpectationsChecker.check_test_expectations):
15344         (TestExpectationsChecker.check):
15345         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
15346         (TestExpectationsTestCase.test_determine_port_from_exepectations_path):
15347         (TestExpectationsTestCase.assert_lines_lint):
15348
15349 2012-01-24  Ryosuke Niwa  <rniwa@webkit.org>
15350
15351         Another build fix attempt after r105543.
15352
15353         * Scripts/webkitpy/common/net/file_uploader.py:
15354         (FileUploader.upload_as_multipart_form_data):
15355
15356 2012-01-24  Ryosuke Niwa  <rniwa@webkit.org>
15357
15358         Build fix attempt after r105543.
15359
15360         * Scripts/webkitpy/common/net/file_uploader.py:
15361         (FileUploader.upload_as_multipart_form_data):
15362
15363 2012-01-24  Vincent Scheib  <scheib@chromium.org>
15364
15365         [Chromium] Add Pointer Lock test hooks and mock implementation to DumpRenderTree
15366         https://bugs.webkit.org/show_bug.cgi?id=76411
15367
15368         Reviewed by Adam Barth.
15369
15370         Breaking up https://bugs.webkit.org/show_bug.cgi?id=75762
15371         into a series of patches, this change adds a trivial
15372         pointer lock implementation to the Chromium port's DumpRenderTree
15373         and exposes LayoutTestController hooks to force failure conditions.
15374
15375         * DumpRenderTree/chromium/LayoutTestController.cpp:
15376         (LayoutTestController::LayoutTestController):
15377         (LayoutTestController::didLosePointerLock):
15378         (LayoutTestController::setPointerLockWillFailAsynchronously):
15379         (LayoutTestController::setPointerLockWillFailSynchronously):
15380         * DumpRenderTree/chromium/LayoutTestController.h:
15381         * DumpRenderTree/chromium/WebViewHost.cpp:
15382         (WebViewHost::requestPointerLock):
15383         (WebViewHost::requestPointerUnlock):
15384         (WebViewHost::isPointerLocked):
15385         (WebViewHost::didCompletePointerLock):
15386         (WebViewHost::didNotCompletePointerLock):
15387         (WebViewHost::didLosePointerLock):
15388         (WebViewHost::reset):
15389         * DumpRenderTree/chromium/WebViewHost.h:
15390         (WebViewHost::setPointerLockWillFailAsynchronously):
15391         (WebViewHost::setPointerLockWillFailSynchronously):
15392
15393 2012-01-24  Mario Sanchez Prada  <msanchez@igalia.com>
15394
15395         Unreviewed, skip WK2 API test timing out on some GTK bots.
15396
15397         WebKit2APITests/TestDownloads is consistently timing out on the
15398         32bit release and 64bit debug bots.
15399
15400         * Scripts/run-gtk-tests:
15401         (TestRunner): Skip WebKit2APITests/TestDownloads.
15402
15403 2012-01-24  Andras Becsi  <andras.becsi@nokia.com>
15404
15405         [Qt] Fix the build with the newes Qt5 hashes
15406         https://bugs.webkit.org/show_bug.cgi?id=76657
15407
15408         Reviewed by Simon Hausmann.
15409
15410         * MiniBrowser/qt/MiniBrowserApplication.cpp:
15411         (MiniBrowserApplication::MiniBrowserApplication): Disable the automatic touch->mouse event synthesis
15412         for now to prevent an infinite loop where Qt always creates mouse events out of our touch mock events.
15413
15414 2012-01-24  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
15415
15416         [Qt] Distinguish between Cygwin and cmd.exe in the way we set env variables
15417
15418         We can't use win32-msvc* to decide whether or not to use (set FOO=bar), as
15419         building with MinGW inside cmd.exe will require the same construct. Instead
15420         we assume that when the first character in PWD is a '/' we're running under
15421         Cygwin, and use the normal unix way of setting environment variables.
15422
15423         Reviewed by Simon Hausmann.
15424
15425         * qmake/mkspecs/features/default_pre.prf:
15426
15427 2012-01-24  Simon Hausmann  <simon.hausmann@nokia.com>
15428
15429         Some qmake build files must include Qt5's "quick" module.
15430         https://bugs.webkit.org/show_bug.cgi?id=76671
15431
15432         Unreviewed build fix.
15433
15434         * MiniBrowser/qt/MiniBrowser.pro:
15435         * WebKitTestRunner/Target.pri:
15436
15437 2012-01-24  Andras Becsi  <andras.becsi@nokia.com>
15438
15439         [Qt] Fix the event timestamps for touch mocking
15440
15441         Reviewed by Simon Hausmann.
15442
15443         * MiniBrowser/qt/MiniBrowserApplication.cpp:
15444         (MiniBrowserApplication::sendTouchEvent): We should not set QEvent::None as the
15445         timestamp argument in the QWindowSystemInterface::handleTouchEvent call.
15446
15447 2012-01-24  Carlos Garcia Campos  <cgarcia@igalia.com>
15448
15449         [GTK] Implement DownloadClient in WebKit2 GTK+ API
15450         https://bugs.webkit.org/show_bug.cgi?id=72952
15451
15452         Reviewed by Martin Robinson.
15453
15454         * gtk/generate-gtkdoc:
15455         (get_webkit2_options): Ignore WebKitDownloadClient.
15456
15457 2012-01-23  Zan Dobersek  <zandobersek@gmail.com>
15458
15459         [GTK] editing/deleting/5408255.html results are incorrect
15460         https://bugs.webkit.org/show_bug.cgi?id=53644
15461
15462         Reviewed by Martin Robinson.
15463
15464         WEBKIT_TOP_LEVEL environment variable is now set directly in either
15465         WebKitTestRunner or DumpRenderTree through usage of a compilation-time
15466         macro. This way both tools can be run outside the test harness without
15467         the need to manually set the environment variable.
15468
15469         * DumpRenderTree/gtk/DumpRenderTree.cpp:
15470         (getTopLevelPath):
15471         * GNUmakefile.am:
15472         * Scripts/webkitpy/layout_tests/port/gtk.py:
15473         (GtkPort.setup_environ_for_server):
15474         * WebKitTestRunner/GNUmakefile.am:
15475         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleGtk.cpp:
15476         (WTR::InjectedBundle::platformInitialize):
15477
15478 2012-01-23  Dmitry Lomov  <dslomov@google.com>
15479
15480         [Chromium] Implement layoutTestController.workerThreadCount in DRT
15481         https://bugs.webkit.org/show_bug.cgi?id=74653.
15482
15483         Reviewed by Darin Fisher.
15484
15485         * DumpRenderTree/chromium/LayoutTestController.cpp:
15486         (LayoutTestController::LayoutTestController):
15487         (LayoutTestController::workerThreadCount):
15488         * DumpRenderTree/chromium/LayoutTestController.h:
15489
15490 2012-01-23  Dirk Pranke  <dpranke@chromium.org>
15491
15492         nrwt: make --chromium work like --qt
15493         https://bugs.webkit.org/show_bug.cgi?id=76875
15494
15495         Reviewed by Adam Barth.
15496
15497         --chromium used to have to be handled differently from --qt
15498         due to the way the PortFactory was implemented; there's not
15499         really a good reason for that any more so this patch makes
15500         things slightly more consistent and eliminates the
15501         options.chromium flag (--chromium is now truly a synonym for
15502         --platform chromium).
15503
15504         * Scripts/webkitpy/layout_tests/port/factory.py:
15505         (PortFactory._default_port):
15506         (PortFactory.get):
15507         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
15508         (FactoryTest.setUp):
15509         (FactoryTest.test_chromium_mac):
15510         (FactoryTest.test_chromium_linux):
15511         (FactoryTest.test_chromium_win):
15512         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
15513         (parse_args):
15514
15515 2012-01-23  Dirk Pranke  <dpranke@chromium.org>
15516
15517         run-webkit-tests needs to propagate --chromium
15518         https://bugs.webkit.org/show_bug.cgi?id=76870
15519
15520         Reviewed by Eric Seidel.
15521
15522         run-webkit-tests removes '--chromium' argument from @ARGV when
15523         determining which port to run, which means that that doesn't
15524         propagate to new-run-webkit-tests. That's bad (and is handled
15525         for the other ports by re-adding the flag, but apparently we're
15526         just now noticing for Chromium).
15527
15528         * Scripts/run-webkit-tests:
15529
15530 2012-01-23  Brian Weinstein  <bweinstein@apple.com>
15531
15532         More build fixing after r105646.
15533
15534         * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp:
15535         (TestWebKitAPI::TestNode::key):
15536
15537 2012-01-23  Gavin Barraclough  <barraclough@apple.com>
15538
15539         Unreviewed build fix - r105646 broke this.
15540
15541         * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp:
15542         (TestWebKitAPI::TestNode::TestNode):
15543         (TestWebKitAPI::TestNode::key):
15544         (TestWebKitAPI::RedBlackTreeTest::assertEqual):
15545         (TestWebKitAPI::RedBlackTreeTest::assertSameValuesForKey):
15546         (TestWebKitAPI::RedBlackTreeTest::testDriver):
15547
15548 2012-01-23  Sheriff Bot  <webkit.review.bot@gmail.com>
15549
15550         Unreviewed, rolling out r105658.
15551         http://trac.webkit.org/changeset/105658
15552         https://bugs.webkit.org/show_bug.cgi?id=76883
15553
15554         We want this eventually, but not right at this moment
15555         (Requested by abarth on #webkit).
15556
15557         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
15558
15559 2012-01-23  Adam Barth  <abarth@webkit.org>
15560
15561         garden-o-matic should support Chromium Mac Lion
15562         https://bugs.webkit.org/show_bug.cgi?id=76880
15563
15564         Reviewed by Eric Seidel.
15565
15566         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
15567
15568 2012-01-23  Emil A Eklund  <eae@chromium.org>
15569
15570         check-webkit-style whitespace/operators triggers on overloaded division operator
15571         https://bugs.webkit.org/show_bug.cgi?id=76650
15572
15573         Reviewed by Darin Adler.
15574
15575         * Scripts/webkitpy/style/checkers/cpp.py:
15576         (check_spacing):
15577         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
15578         (CppStyleTest.test_operator_methods):
15579
15580 2012-01-23  Ryosuke Niwa  <rniwa@webkit.org>
15581
15582         run-perf-tests should report server-side errors
15583         https://bugs.webkit.org/show_bug.cgi?id=76802
15584
15585         Reviewed by Tony Chang.
15586
15587         Report errors whenever server's response doesn't match "OK".
15588
15589         * Scripts/webkitpy/common/net/file_uploader.py:
15590         (FileUploader.upload_single_text_file):
15591         (FileUploader.upload_as_multipart_form_data):
15592         (FileUploader._upload_data.callback):
15593         (FileUploader):
15594         (FileUploader._upload_data):
15595         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
15596         (PerfTestsRunner._upload_json):
15597         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
15598         (test_upload_json):
15599         (test_upload_json.MockFileUploader.upload_single_text_file):
15600
15601 2012-01-22  Ryosuke Niwa  <rniwa@webkit.org>
15602
15603         run-perf-tests ignore Skipped list on chromium
15604         https://bugs.webkit.org/show_bug.cgi?id=76764
15605
15606         Reviewed by Dirk Pranke.
15607
15608         Move skipped_perf_tests from WebKit port to Base port so that Chromium port
15609         can also find skipped list. Chromium port only uses test_expectations.txt for
15610         layout tests but performacne tests don't use test_expectations.txt so Chromium port
15611         also needs to use Skipped list.
15612
15613         * Scripts/webkitpy/layout_tests/port/base.py:
15614         (Port._tests_from_skipped_file_contents):
15615         (Port):
15616         (Port._expectations_from_skipped_files):
15617         (Port.skipped_perf_tests):
15618         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
15619         (PortTest.test_skipped_perf_tests):
15620         (PortTest.test_skipped_perf_tests.add_text_file):
15621         * Scripts/webkitpy/layout_tests/port/webkit.py:
15622         (WebKitPort._skipped_tests_for_unsupported_features):
15623         (WebKitPort._skipped_file_search_paths):
15624         (WebKitPort.skipped_layout_tests):
15625
15626 2012-01-23  Andy Estes  <aestes@apple.com>
15627
15628         Fix the build after r105635.
15629
15630         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
15631         (TestWebKitAPI::TEST):
15632
15633 2012-01-23  Xianzhu Wang  <wangxianzhu@chromium.org>
15634
15635         Basic enhancements to StringBuilder
15636         https://bugs.webkit.org/show_bug.cgi?id=67081
15637
15638         Reviewed by Darin Adler.
15639
15640         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
15641         (TestWebKitAPI::TEST):
15642
15643 2012-01-23  Mario Sanchez Prada  <msanchez@igalia.com>
15644
15645         [GTK] run-gtk-tests randomly fails while running the xprop comand
15646         https://bugs.webkit.org/show_bug.cgi?id=76817
15647
15648         Reviewed by Gustavo Noronha Silva.
15649
15650         No need to use xprop to remove the AT_SPI_BUS property since
15651         run-gtk-tests will always run new instances of Xvfb.
15652
15653         * Scripts/run-gtk-tests:
15654         (TestRunner): Unskip TestWebKitAccessibility.
15655         (TestRunner.run): Uncomment lines for launching the accessibility
15656         bus and registry daemon, and remove lines for running xprop.
15657
15658 2012-01-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
15659
15660         [Qt] Don't warn about override and final being C++11 extensions
15661
15662         Clang will emit a warning when these extensions are used without passing
15663         --std=c++11, but we use feature checking to decide if we have the right
15664         extensions, so we can safely ignore these warnings. The XCode and Windows
15665         project files have the same workaround.
15666
15667         The reason for adding the flag to QMAKE_OBJECTIVE_CFLAGS as well is that
15668         we only have one extra compiler for Objective-C, which is also used for
15669         Objective-C++ sources, so we have to pass the flag, even if it doesn't
15670         make sense for Objective-C.
15671
15672         Reviewed by Simon Hausmann.
15673
15674         * qmake/mkspecs/features/unix/default_post.prf:
15675
15676 2012-01-20  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
15677
15678         [Qt] Change how build-webkit decides when to do full incremental builds
15679
15680         Instead of relying on update-webkit (which isn't run on the bots) to
15681         decide when to do a full incremental build (make qmake), we let the
15682         build-webkit script itself check the current SVN revision against the
15683         previous build (by storing it in .webkit.config).
15684
15685         If the two differ we assume a full incremental build is needed, since
15686         the new revisions might have introduced problematic things like new
15687         Q_OBJECT macros. If not, we assume the developer is doing changes
15688         locally, and revert to doing a plain 'make'.
15689
15690         In addition, when the build fails in the latter case, we inform the
15691         developer of possible pitfalls and how to manually run 'make qmake'.
15692
15693         Reviewed by Ossy.
15694
15695         * Scripts/update-webkit:
15696         * Scripts/webkitdirs.pm:
15697         (buildQMakeProjects):
15698
15699 2012-01-23  Mario Sanchez Prada  <msanchez@igalia.com>
15700
15701         [GTK] run-gtk-tests randomly fails while running the xprop comand
15702         https://bugs.webkit.org/show_bug.cgi?id=76817
15703
15704         Reviewed by Philippe Normand.
15705
15706         Temporarily comment the lines related to launching the ATSPI bus
15707         and registry daemon, which are making the bots to fail randomly.
15708
15709         * Scripts/run-gtk-tests:
15710         (TestRunner): Skip TestWebKitAccessibility, as it won't run
15711         properly if the ATSPI infrastructure is not properly initialized.
15712         (TestRunner.run): Comment lines related to initialization of ATSPI.
15713
15714 2012-01-22  Ryosuke Niwa  <rniwa@webkit.org>
15715
15716         Windows python test build fix.
15717
15718         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
15719         (PerfTestsRunner.__init__):
15720
15721 2012-01-22  Sergio Villar Senin  <svillar@igalia.com>
15722
15723         [GTK] DumpRenderTree converts "file:///" to a path differently
15724         https://bugs.webkit.org/show_bug.cgi?id=76631
15725
15726         Reviewed by Martin Robinson.
15727
15728         DumpRenderTree should print "/" as the last path component if the
15729         path is a lone slash instead of empty output.
15730
15731         * DumpRenderTree/gtk/DumpRenderTree.cpp:
15732         (webViewConsoleMessage):
15733
15734 2012-01-20  David Levin  <levin@chromium.org>
15735
15736         The leaky DC check should use adoptPtr as a signal instead of OwnPtr to get less false positives.
15737         https://bugs.webkit.org/show_bug.cgi?id=76752
15738
15739         Reviewed by Eric Seidel.
15740
15741         * Scripts/webkitpy/style/checkers/cpp.py:
15742         (check_for_leaky_patterns):
15743         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
15744         (LeakyPatternTest.test_create_dc):
15745         (LeakyPatternTest.test_create_compatible_dc):
15746
15747 2012-01-20  Shawn Singh  <shawnsingh@chromium.org>
15748
15749         Changed my status in commiters.py
15750
15751         Unreviewed.
15752
15753         * Scripts/webkitpy/common/config/committers.py:
15754
15755 2012-01-20  Ojan Vafai  <ojan@chromium.org>
15756
15757         run-webkit-tests --lint-test-files crawls the whole LayoutTests subtree
15758         https://bugs.webkit.org/show_bug.cgi?id=76748
15759
15760         Reviewed by Ryosuke Niwa.
15761
15762         It crawls the whole subtree and then doesn't use the data. Cutting this out
15763         saves 4 seconds warm and 17 seconds cold on my Mac Pro.
15764
15765         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
15766         (run):
15767
15768 2012-01-20  Adam Barth  <abarth@webkit.org>
15769
15770         Another tiny tweak to the garden-o-matic CSS.  This makes things line
15771         up slightly nicer when there aren't any failures.
15772
15773         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css:
15774         (#summary):
15775
15776 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
15777
15778         run-perf-tests should support --test-results-server option
15779         https://bugs.webkit.org/show_bug.cgi?id=76680
15780
15781         Reviewed by Adam Barth.
15782
15783         Add --test-results-server, --builder-name, and --build-number options to run-perf-tests
15784         to be used by perf bots. Also refactor file_uploader as needed.
15785
15786         * Scripts/webkitpy/common/net/file_uploader.py:
15787         (FileUploader.__init__):
15788         (FileUploader.upload_single_file):
15789         (FileUploader.upload_as_multipart_form_data):
15790         (FileUploader):
15791         (FileUploader._upload_data):
15792         (FileUploader._upload_data.callback):
15793         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
15794         (JSONResultsGeneratorBase.upload_json_files):
15795         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
15796         (PerfTestsRunner):
15797         (PerfTestsRunner._parse_args):
15798         (PerfTestsRunner.run):
15799         (PerfTestsRunner._generate_json):
15800         (PerfTestsRunner._upload_json):
15801         (PerfTestsRunner._run_tests_set):
15802         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
15803         (create_runner):
15804         (test_run_with_upload_json):
15805         (test_run_with_upload_json.mock_upload_json):
15806         (test_upload_json):
15807         (test_upload_json.MockFileUploader):
15808         (test_upload_json.MockFileUploader.__init__):
15809         (test_upload_json.MockFileUploader.upload_single_file):
15810         (test_parse_args):
15811
15812 2012-01-20  Adam Barth  <abarth@webkit.org>
15813
15814         The party time image overlaps real content!  This patch makes the
15815         image centered vertically.
15816
15817         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css:
15818         (#onebar.partytime #summary):
15819
15820 2012-01-19  Ojan Vafai  <ojan@chromium.org>
15821
15822         Refactor TestExpectationsParser in preparation for caching the results
15823         https://bugs.webkit.org/show_bug.cgi?id=76669
15824
15825         Reviewed by Dimitri Glazkov.
15826
15827         Make everything private expect for the parse method. 
15828         Eventually, we'll need the expectations lines to not be modified
15829         outside of TestExpectationsParser so we can cache the results.
15830         This makes check-webkit-style of the chromium test_expectations.txt file
15831         go from ~17 seconds to ~12 seconds on my Mac Pro.
15832
15833         This patch is just a refactor in preparation, so no new tests.
15834
15835         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
15836         (TestExpectationEditorTests.make_parsed_expectation_lines):
15837         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
15838         (TestExpectationParser.parse):
15839         (TestExpectationParser):
15840         (TestExpectationParser._parse_line):
15841         (TestExpectationParser._tokenize):
15842         (TestExpectationParser._tokenize_list):
15843         (TestExpectationsModel._clear_expectations_for_test):
15844         (TestExpectations.__init__):
15845         (TestExpectations._add_expectations):
15846         (TestExpectations._add_skipped_tests):
15847         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
15848         (TestExpectationParserTests.test_tokenize_blank):
15849         (TestExpectationParserTests.test_tokenize_missing_colon):
15850         (TestExpectationParserTests.test_tokenize_extra_colon):
15851         (TestExpectationParserTests.test_tokenize_empty_comment):
15852         (TestExpectationParserTests.test_tokenize_comment):
15853         (TestExpectationParserTests.test_tokenize_missing_equal):
15854         (TestExpectationParserTests.test_tokenize_extra_equal):
15855         (TestExpectationParserTests.test_tokenize_valid):
15856         (TestExpectationParserTests.test_tokenize_valid_with_comment):
15857         (TestExpectationParserTests.test_tokenize_valid_with_multiple_modifiers):
15858         (TestExpectationParserTests.test_parse_empty_string):
15859         (TestExpectationSerializerTests.assert_round_trip):
15860         (TestExpectationSerializerTests.assert_list_round_trip):
15861         * Scripts/webkitpy/tool/commands/expectations.py:
15862         (OptimizeExpectations.execute):
15863         * Scripts/webkitpy/tool/servers/gardeningserver.py:
15864         (GardeningExpectationsUpdater.update_expectations):
15865
15866 2012-01-20  Adam Barth  <abarth@webkit.org>
15867
15868         Follow-up to previous patch: don't produce NaN when the revision number
15869         is missing.
15870
15871         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
15872         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model_unittests.js:
15873
15874 2012-01-20  Adam Barth  <abarth@webkit.org>
15875
15876         Garden-o-matic should tell me which revisions have been checked by all the bots
15877         https://bugs.webkit.org/show_bug.cgi?id=76722
15878
15879         Reviewed by Dimitri Glazkov.
15880
15881         This information helps me know when it's safe for me to roll a
15882         candidate revision.
15883
15884         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
15885         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
15886         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model_unittests.js:
15887
15888 2012-01-20  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
15889
15890         build-webkit: Don't spit out congratulations message on Ctrl+C
15891
15892         Reviewed by Andreas Kling.
15893
15894         * Scripts/build-webkit:
15895
15896 2012-01-20  Philippe Normand  <pnormand@igalia.com>
15897
15898         [GTK] Allow extra jhbuild modulesets
15899         https://bugs.webkit.org/show_bug.cgi?id=76691
15900
15901         Reviewed by Gustavo Noronha Silva.
15902
15903         * gtk/jhbuildrc: Extra modulesets and modules can be added in
15904         JHBuild using the WEBKIT_EXTRA_MODULESETS and WEBKIT_EXTRA_MODULES
15905         env variables respectively. Use comma-separated values. Example:
15906         WEBKIT_EXTRA_MODULES=file:///path/to/module.set,file:///other/path.
15907
15908 2012-01-20  Mario Sanchez Prada  <msanchez@igalia.com>
15909
15910         [GTK] Expose accessibility hierarchy in WebKit2 to ATK/AT-SPI based ATs
15911         https://bugs.webkit.org/show_bug.cgi?id=72589
15912
15913         Reviewed by Martin Robinson.
15914
15915         Ensure the accessibility infrastructure is available when running
15916         the unit tests, otherwise WK2's accessibility tests won't work.
15917
15918         * Scripts/run-gtk-tests:
15919         (TestRunner):
15920         (TestRunner._lookup_atspi2_binary): New. Looks for the directory
15921         where at-spi2's stuff is located (like at-spi-bus-launcher and
15922         at-spi2-registryd).
15923         (TestRunner.run): Initialize the accessibility infrastructure.
15924
15925         * gtk/generate-gtkdoc:
15926         (get_webkit2_options): Add 'WebKitWebViewBaseAccessible.*'.
15927
15928         * gtk/jhbuild.modules: Added at-spi2-core and at-spi2-atk.
15929
15930 2012-01-20  Hayato Ito  <hayato@chromium.org>
15931
15932         Add ShadowRoot.idl which is enabled by newly introduced SHADOW_DOM flag.
15933         https://bugs.webkit.org/show_bug.cgi?id=76353
15934
15935         Reviewed by Hajime Morita.
15936
15937         Add ShadowRoot.idl, which is enabled only on chromium port since this is
15938         under development feature.
15939         ShadowRoot.idl contains minimum API so that we can test it.
15940         Other APIs should be added on other changes so that we can isolate issues.
15941
15942         * DumpRenderTree/chromium/TestShell.cpp:
15943         (TestShell::TestShell):
15944
15945 2012-01-20  Mario Sanchez Prada  <msanchez@igalia.com>
15946
15947         [GTK] GTK's DRT not to log events for already defunct objects
15948         https://bugs.webkit.org/show_bug.cgi?id=76620
15949
15950         Reviewed by Martin Robinson.
15951
15952         Do not log 'state-change:defunct' events.
15953
15954         * DumpRenderTree/gtk/AccessibilityCallbacks.cpp:
15955         (printAccessibilityEvent): Early return if a
15956         'state-change:defunct' signal is passed.
15957         (axObjectEventListener): Pass the signal name and value in
15958         separate parameters to printAccessibilityEvent.
15959
15960 2012-01-19  Gustavo Noronha Silva  <gns@gnome.org>
15961
15962         Unreviewed build fix. Wrong variable being used as the cwd for git
15963         remote update command.
15964
15965         * gtk/run-with-jhbuild:
15966         (update_jhbuild):
15967
15968 2012-01-19  Gustavo Noronha Silva  <gns@gnome.org>
15969
15970         [GTK] ensure the jhbuild used by webkit is as up-to-date as needed
15971         https://bugs.webkit.org/show_bug.cgi?id=76585
15972
15973         Reviewed by Martin Robinson.
15974
15975         This allows us to specify a minimum version of jhbuild required,
15976         while also providing stability against changes done to the master
15977         branch, by letting us choose what is the exact version that will
15978         be used.
15979
15980         * gtk/run-with-jhbuild: refactored for more hackability and easier
15981         reading
15982         (jhbuild_installed): checks whether jhbuild is installed
15983         (jhbuild_cloned): checks whether jhbuild has been cloned
15984         (jhbuild_at_expected_revision): checks whether jhbuild is at the
15985         expected revision
15986         (update_jhbuild): brings jhbuild to the expected revision
15987         (clone_jhbuild): clones jhbuild
15988         (install_jhbuild): build and installs jhbuild
15989         (update_webkitgtk_libs): runs update-webkitgtk-libs
15990         (ensure_jhbuild): high-level logic to decide whether and which of
15991         the steps above are executed
15992
15993 2012-01-19  Alexey Proskuryakov  <ap@apple.com>
15994
15995         [WK2] DumpRenderTree converts "file:///" to a path differently
15996         https://bugs.webkit.org/show_bug.cgi?id=76653
15997
15998         Reviewed by John Sullivan.
15999
16000         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::lastFileURLPathComponent):
16001         Do print a slash if there are no path components.
16002
16003 2012-01-19  Eric Seidel  <eric@webkit.org>
16004
16005         webkit-patch cannot rollout patches without changelog/bug number
16006         https://bugs.webkit.org/show_bug.cgi?id=75962
16007
16008         Reviewed by Adam Barth.
16009
16010         * Scripts/webkitpy/tool/commands/download.py:
16011         (AbstractRolloutPrepCommand._prepare_state):
16012         * Scripts/webkitpy/tool/commands/download_unittest.py:
16013         (AbstractRolloutPrepCommandTest.test_prepare_state):
16014
16015 2012-01-19  Alexey Proskuryakov  <ap@apple.com>
16016
16017         [WK2] fast/url/degenerate-file-base.html fails
16018         https://bugs.webkit.org/show_bug.cgi?id=76619
16019
16020         Reviewed by Adam Roben.
16021
16022         A URL generated form local path for loading had an extra slash, making document.URL
16023         incorrect in all WebKit2 tests (file://localhost//path/to/test.html).
16024
16025         * WebKitTestRunner/TestInvocation.cpp: (WTR::createWKURL):
16026
16027 2012-01-18  Ojan Vafai  <ojan@chromium.org>
16028
16029         check-webkit-style of the chromium test_expectations.txt file doesn't test all chromium ports
16030         https://bugs.webkit.org/show_bug.cgi?id=76510
16031
16032         Reviewed by Adam Barth.
16033
16034         Unlike other style rules, if you get the syntax of the test_expectations.txt
16035         file wrong, the layout tests won't run. Also, this check is simple and only
16036         slows down committing if you actually modify one of the test_expectations.txt files.
16037
16038         * Scripts/webkitpy/style/checkers/test_expectations.py:
16039         (TestExpectationsChecker.check_test_expectations):
16040         (TestExpectationsChecker.check):
16041         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
16042         (TestExpectationsTestCase.test_check_covers_all_configurations):
16043         (TestExpectationsTestCase.test_check_covers_all_configurations.mock_check_test_expectations):
16044         (TestExpectationsTestCase):
16045         (assert_lines_lint):
16046
16047 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
16048
16049         Build fix. Revert an unintentional change to WebKitDriver in r105443.
16050
16051         * Scripts/webkitpy/layout_tests/port/driver.py:
16052         (DriverProxy.__init__):
16053
16054 2012-01-19  Dirk Pranke  <dpranke@chromium.org>
16055
16056         remove the duplicated build rules from WebKit.gyp, Tools.gyp
16057         https://bugs.webkit.org/show_bug.cgi?id=73384
16058
16059         Reviewed by Tony Chang.
16060
16061         This patch removes the no-longer-necessary conditional logic for
16062         build_webkit_exes_from_webkit_gyp; we now always build the exes
16063         from their own dedicated gyp files.
16064
16065         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
16066
16067 2012-01-19  Alexey Proskuryakov  <ap@apple.com>
16068
16069         make-new-script-test should work with HTTP tests
16070         https://bugs.webkit.org/show_bug.cgi?id=76603
16071
16072         Reviewed by Adam Roben.
16073
16074         * Scripts/make-new-script-test:
16075         (makePathToSharedSources): Renamed from makeTestRelativePathToSharedSources(), since it
16076         now also creates absolute paths for HTTP.
16077
16078 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
16079
16080         Some perf tests time out when ran by run-perf-tests
16081         https://bugs.webkit.org/show_bug.cgi?id=76612
16082
16083         Reviewed by Dirk Pranke and Eric Seidel.
16084
16085         Always pass --no-timeout to DumpRenderTree from run-perf-tests.
16086         Otherwise some tests such as Parser/xml-parser.html will timeout.
16087
16088         --no-timeout option is currently supported by Chromium and Mac ports.
16089
16090         * Scripts/webkitpy/layout_tests/port/base.py:
16091         (Port.to.create_driver):
16092         * Scripts/webkitpy/layout_tests/port/chromium.py:
16093         (ChromiumDriver.__init__):
16094         (ChromiumDriver._wrapper_options):
16095         * Scripts/webkitpy/layout_tests/port/driver.py:
16096         (Driver.__init__):
16097         (DriverProxy.__init__):
16098         * Scripts/webkitpy/layout_tests/port/webkit.py:
16099         (WebKitDriver.__init__):
16100         (WebKitDriver.cmd_line):
16101         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
16102         (WebKitDriverTest.test_read_binary_block):
16103         (WebKitDriverTest):
16104         (WebKitDriverTest.test_no_timeout):
16105         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
16106         (get_tests_run.RecordingTestDriver.__init__):
16107         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
16108         (PerfTestsRunner._parse_args):
16109         (PerfTestsRunner._run_tests_set):
16110         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
16111         (create_runner):
16112
16113 2012-01-19  Ben Wells  <benwells@chromium.org>
16114
16115         Add support for window.print to chromium DRT
16116         https://bugs.webkit.org/show_bug.cgi?id=76479
16117
16118         When used in a test window.print goes into print mode and then
16119         straight out again. This will allow the afterprint event to be
16120         tested by having the afterprint event happen before the dump
16121         happens.
16122
16123         Reviewed by Mihai Parparita.
16124
16125         * DumpRenderTree/chromium/WebViewHost.cpp:
16126         (WebViewHost::printPage):
16127         * DumpRenderTree/chromium/WebViewHost.h:
16128
16129 2012-01-18  Enrica Casucci  <enrica@apple.com>
16130
16131         editingAttributedStringFromRange in WebHTMLConverter does not handle NSUnderlineStyleAttributeName.
16132         https://bugs.webkit.org/show_bug.cgi?id=76588
16133         <rdar://problem/9325183>
16134
16135         Added test.
16136         
16137         Reviewed by Dan Bernstein.
16138
16139         * TestWebKitAPI/Tests/mac/InspectorBar.mm:
16140         (TestWebKitAPI::TEST):
16141
16142 2012-01-19  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16143
16144         [Qt] Do full incremental builds until bots use update-webkit
16145
16146         Rubber-stamped by Simon Hausmann.
16147
16148         * Scripts/webkitdirs.pm:
16149         (buildQMakeProjects):
16150
16151 2012-01-19  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16152
16153         Fix the Qt build
16154
16155         Unreviewed build fix.
16156
16157         * Scripts/webkitdirs.pm:
16158         (buildQMakeProjects):
16159
16160 2012-01-19  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16161
16162         [Qt] Make build-webkit always do safe incremental builds after update-webkit
16163
16164         When building against Qt5 with GCC we would just run 'make' in the build dir,
16165         and rely on the dependency files output by GCC (-MD) to handle dependency
16166         tracking, but that fails for special-cases like adding a Q_OBJECT macro
16167         to a header.
16168
16169         To guarantee that an incrmental build will work, we have to run 'make qmake',
16170         which we now do on every build-webkit that's followed by a successful run
16171         of update-webkit. The reasoning is that update-webkit can result in such
16172         potential corner-cases being applied, and since we can't know for sure
16173         unless we inspect the diff and account for all the corner cases we assume
16174         the worst and always run 'make qmake'.
16175
16176         After a succesful run of build-webkit we proceed to do just 'make' for any
16177         subsequent runs, since we assume that the developer knows what kind of
16178         changes he/she is doing, and when a 'make qmake' is needed.
16179
16180         Reviewed by Simon Hausmann.
16181
16182         * Scripts/update-webkit:
16183         * Scripts/webkitdirs.pm:
16184         (determineCurrentSVNRevision):
16185         (currentSVNRevision):
16186         (buildQMakeProjects):
16187         * qmake/mkspecs/features/default_post.prf:
16188
16189 2012-01-18  Ryosuke Niwa  <rniwa@webkit.org>
16190
16191         run-perf-tests should support Skipped list
16192         https://bugs.webkit.org/show_bug.cgi?id=76594
16193
16194         Reviewed by Adam Barth.
16195
16196         Add a support for Skipped list in run-perf-tests; also skip files in resources directories.
16197
16198         * Scripts/webkitpy/layout_tests/port/base.py:
16199         (Port.perf_tests_dir):
16200         (Port.skipped_perf_tests):
16201         (Port.skips_perf_test):
16202         (Port.relative_perf_test_filename):
16203         * Scripts/webkitpy/layout_tests/port/test.py:
16204         (TestPort.perf_tests_dir):
16205         * Scripts/webkitpy/layout_tests/port/webkit.py:
16206         (WebKitPort._expectations_from_skipped_files):
16207         (WebKitPort):
16208         (WebKitPort.skipped_layout_tests):
16209         (WebKitPort.skipped_perf_tests):
16210         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
16211         (PerfTestsRunner._collect_tests):
16212         (PerfTestsRunner.run):
16213         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
16214         (test_run_test_set_with_json_output):
16215         (test_run_test_set_with_json_source):
16216         (test_collect_tests_with_skipped_list):
16217         (test_collect_tests_with_skipped_list.add_file):
16218
16219 2012-01-18  Dirk Pranke  <dpranke@chromium.org>
16220
16221         Fix path to chromium_src_dir introduced in previous change.
16222
16223         Unreviewed, build fix.
16224
16225         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
16226
16227 2012-01-18  Alexey Proskuryakov  <ap@apple.com>
16228
16229         Need infrastructure to test Content-Disposition filename encoding support
16230         https://bugs.webkit.org/show_bug.cgi?id=76572
16231         <rdar://problem/6421825>
16232
16233         Reviewed by Sam Weinig.
16234
16235         Made policy delegate log suggested file name when resource has Content-Disposition: attachment.
16236
16237         WebKitTestRunner does not have a policy delegate yet, bug 42546.
16238
16239         * DumpRenderTree/mac/PolicyDelegate.mm:
16240         (dispositionTypeFromContentDispositionHeader):
16241         (-[PolicyDelegate webView:decidePolicyForMIMEType:request:frame:decisionListener:]):
16242
16243 2012-01-18  Ojan Vafai  <ojan@chromium.org>
16244
16245         Fix tests from http://trac.webkit.org/changeset/105332.
16246
16247         The code assumed that if you passed an options object with a configuration
16248         attribute that it would have a valid value. A bunch of the testing mocks
16249         do things like having a configuration value of None.
16250
16251         * Scripts/webkitpy/layout_tests/port/base.py:
16252         (Port.__init__):
16253
16254 2012-01-18  Ojan Vafai  <ojan@chromium.org>
16255
16256         Shave 0.5 seconds off check-webkit-style runtime for test_expectations.txt
16257         https://bugs.webkit.org/show_bug.cgi?id=76576
16258
16259         Reviewed by Adam Barth.
16260
16261         Avoid calling default_configuration in base.py. We don't need it for
16262         checking test_expectations.txt style. It takes ~0.5 seconds to run on my
16263         Mac Pro. It's the call to "perl Tools/Scripts/webkit-build-directory --top-level"
16264         from common.executive.
16265
16266         At some point someone should probably look into why that call is so slow
16267         since it's on the critical path for run-webkit-tests and build-webkit startup.
16268
16269         * Scripts/webkitpy/layout_tests/port/base.py:
16270         (Port.__init__):
16271         * Scripts/webkitpy/style/checkers/test_expectations.py:
16272         (TestExpectationsChecker._determine_port_from_exepectations_path):
16273
16274 2012-01-18  Dirk Pranke  <dpranke@chromium.org>
16275
16276         [chromium] move Tools.gyp, switch build-webkit --chromium to All.gyp
16277         https://bugs.webkit.org/show_bug.cgi?id=76505
16278
16279         Reviewed by Tony Chang.
16280
16281         Update chromium build script to use All.gyp instead of WebKit.gyp
16282
16283         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Renamed from Source/WebKit/chromium/Tools.gyp.
16284         * Scripts/webkitdirs.pm:
16285
16286 2012-01-18  Sam Weinig  <sam@webkit.org>
16287
16288         Don’t hardcode the path to ‘make‘.
16289
16290         Reviewed by Dan Bernstein.
16291
16292         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16293
16294 2012-01-18  Joshua Bell  <jsbell@chromium.org>
16295
16296         Adding myself to committers.py
16297         https://bugs.webkit.org/show_bug.cgi?id=76569
16298
16299         Unreviewed.
16300
16301         * Scripts/webkitpy/common/config/committers.py:
16302
16303 2012-01-18  Adam Barth  <abarth@webkit.org>
16304
16305         Up the cap on test failures tolerated by the EWS so the mac-ews can run to completion
16306         https://bugs.webkit.org/show_bug.cgi?id=76567
16307
16308         Reviewed by Eric Seidel.
16309
16310         Current the AppleMac port has slightly more failures than we allow on
16311         the EWS, causing the mac-ews to spin.  This patch ups the limit a bit,
16312         which should hopefully let the mac-ews run to completion.  Once
16313         AppleMac has fewer failures, we can lower the cap again.
16314
16315         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
16316         (LayoutTestResultsReaderTest.test_layout_test_results):
16317         * Scripts/webkitpy/tool/steps/runtests.py:
16318         (RunTests):
16319         * Scripts/webkitpy/tool/steps/steps_unittest.py:
16320
16321 2012-01-18  Eric Carlson  <eric.carlson@apple.com>
16322
16323         Provide access to user's list of preferred languages
16324         https://bugs.webkit.org/show_bug.cgi?id=76138
16325
16326         Reviewed by Alexey Proskuryakov.
16327
16328         * GNUmakefile.am: Add JSInternalsCustom.cpp.
16329
16330 2012-01-18  Adam Barth  <abarth@webkit.org>
16331
16332         Add Chromium Linux GPU 32 to the list of allowed Chromium Linux
16333         configurations.
16334
16335         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
16336         (ChromiumLinuxPort.__init__):
16337
16338 2012-01-18  Dominic Mazzoni  <dmazzoni@google.com>
16339
16340         Accessibility: Chromium needs methods to scroll an object into view or to a specific location.
16341         https://bugs.webkit.org/show_bug.cgi?id=73460
16342
16343         Reviewed by Chris Fleizach.
16344
16345         * DumpRenderTree/AccessibilityUIElement.h:
16346         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
16347         (AccessibilityUIElement::AccessibilityUIElement):
16348         (AccessibilityUIElement::scrollToMakeVisibleCallback):
16349         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocusCallback):
16350         (AccessibilityUIElement::scrollToGlobalPointCallback):
16351         * DumpRenderTree/chromium/AccessibilityUIElement.h:
16352         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
16353         (AccessibilityUIElement::scrollToMakeVisible):
16354         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
16355         (AccessibilityUIElement::scrollToGlobalPoint):
16356         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
16357         (AccessibilityUIElement::scrollToMakeVisible):
16358         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
16359         (AccessibilityUIElement::scrollToGlobalPoint):
16360         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
16361         (AccessibilityUIElement::scrollToMakeVisible):
16362         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
16363         (AccessibilityUIElement::scrollToGlobalPoint):
16364
16365 2012-01-17  Enrica Casucci  <enrica@apple.com>
16366
16367         Missing NSForegroundColorAttributeName should be treated as black instead of transparent.
16368         https://bugs.webkit.org/show_bug.cgi?id=76490
16369         <rdar://problem/9460733>
16370
16371         Added TestWebKitAPI test.
16372         
16373         Reviewed by Dan Bernstein.
16374
16375         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new test file.
16376         * TestWebKitAPI/Tests/mac/InspectorBar.mm: Added test that calls
16377         changeAttributes to the WebView.
16378         
16379 2012-01-18  Balazs Kelemen  <kbalazs@webkit.org>
16380
16381         [Qt] Consolidate layout test crash logging
16382         https://bugs.webkit.org/show_bug.cgi?id=75088
16383
16384         Reviewed by Simon Hausmann.
16385
16386         Move backtrace generating logic into WTFReportBacktrace
16387         and add a way to deinstall signal handlers if we know
16388         that we have already printed the backtrace.
16389
16390         * DumpRenderTree/qt/main.cpp:
16391         (crashHandler):
16392         (setupSignalHandlers):
16393         (WTFCrashHook):
16394         (main):
16395         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
16396         (WTR::crashHandler):
16397         (WTR::setupSignalHandlers):
16398         (WTR::crashHook):
16399         (WTR::InjectedBundle::platformInitialize):
16400
16401 2012-01-18  Ilya Tikhonovsky  <loislo@chromium.org>
16402
16403         Unreviewed build fix after r105256.
16404
16405         There was a cyclic dependency between self._port and self._host assigments.
16406
16407         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
16408         (PerfTestsRunner.__init__):
16409
16410 2012-01-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16411
16412         Add new watchlist rule for the Qt build system
16413
16414         Reviewed by Simon Hausmann.
16415
16416         * Scripts/webkitpy/common/config/watchlist:
16417
16418 2012-01-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16419
16420         [Qt] Move OTHER_FILES from WebKit.pro to Tools.pro
16421
16422         Reviewed by Simon Hausmann.
16423
16424         * Tools.pro:
16425
16426 2012-01-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16427
16428         [Qt] Allow building only a subset of the WebKit sub-projects
16429
16430         Fixes build-jsc, broken in r104825.
16431
16432         We no longer need the intermediate buildQMakeQtProject(), as we're the
16433         only port using qmake, and buildQMakeProject is now highly Qt specific.
16434
16435         <http://webkit.org/b/76179>
16436
16437         Reviewed by Simon Hausmann.
16438
16439         * Scripts/build-jsc:
16440         * Scripts/build-webkit:
16441         * Scripts/webkitdirs.pm:
16442         (buildQMakeProjects):
16443
16444 2012-01-18  Ryosuke Niwa  <rniwa@webkit.org>
16445
16446         run-perf-tests should generate a json file that summaries the result
16447         https://bugs.webkit.org/show_bug.cgi?id=76504
16448
16449         Reviewed by Adam Barth.
16450
16451         Add an ability to generate a json file to run-perf-test in the preparation for perf bots.
16452         New option --outout-json-path specifies the json file's path, and --source-json-path specifies
16453         another json file to be merged into the generated json file.
16454
16455         Also fixed a bug that --build wasn't set by default.
16456
16457         * Scripts/webkitpy/layout_tests/port/test.py:
16458         (TestPort.webkit_base):
16459         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
16460         (PerfTestsRunner.__init__):
16461         (PerfTestsRunner):
16462         (PerfTestsRunner._parse_args):
16463         (PerfTestsRunner.run):
16464         (PerfTestsRunner._generate_json_if_specified):
16465         (PerfTestsRunner._process_chromium_style_test_result):
16466         (PerfTestsRunner._process_parser_test_result):
16467         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
16468         (MainTest):
16469         (create_runner):
16470         (test_run_test_set):
16471         (test_run_test_set_for_parser_tests):
16472         (test_run_test_set_with_summary_json):
16473         (test_collect_tests):
16474         (test_parse_args):
16475
16476 2012-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
16477
16478         Unreviewed, rolling out r105244.
16479         http://trac.webkit.org/changeset/105244
16480         https://bugs.webkit.org/show_bug.cgi?id=76518
16481
16482         broke Chromium Mac (Requested by rolandsteiner on #webkit).
16483
16484         * DumpRenderTree/AccessibilityUIElement.h:
16485         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
16486         (AccessibilityUIElement::AccessibilityUIElement):
16487         * DumpRenderTree/chromium/AccessibilityUIElement.h:
16488         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
16489         (AccessibilityUIElement::removeSelection):
16490         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
16491         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
16492         (AccessibilityUIElement::removeSelection):
16493
16494 2012-01-17  Dominic Mazzoni  <dmazzoni@google.com>
16495
16496         Accessibility: Chromium needs methods to scroll an object into view or to a specific location.
16497         https://bugs.webkit.org/show_bug.cgi?id=73460
16498
16499         Reviewed by Chris Fleizach.
16500
16501         * DumpRenderTree/AccessibilityUIElement.h:
16502         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
16503         (AccessibilityUIElement::AccessibilityUIElement):
16504         (AccessibilityUIElement::scrollToMakeVisibleCallback):
16505         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocusCallback):
16506         (AccessibilityUIElement::scrollToGlobalPointCallback):
16507         * DumpRenderTree/chromium/AccessibilityUIElement.h:
16508         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
16509         (AccessibilityUIElement::scrollToMakeVisible):
16510         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
16511         (AccessibilityUIElement::scrollToGlobalPoint):
16512         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
16513         (AccessibilityUIElement::scrollToMakeVisible):
16514         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
16515         (AccessibilityUIElement::scrollToGlobalPoint):
16516         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
16517         (AccessibilityUIElement::scrollToMakeVisible):
16518         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
16519         (AccessibilityUIElement::scrollToGlobalPoint):
16520
16521 2012-01-17  Adam Barth  <abarth@webkit.org>
16522
16523         Enable tests on the mac-ews
16524         https://bugs.webkit.org/show_bug.cgi?id=76502
16525
16526         Reviewed by Simon Fraser.
16527
16528         Apple now has five machines running the mac-ews.  Lucas Forschler has
16529         asked that we try enabling tests to see if we have enough bandwidth.
16530
16531         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
16532         (MacEWS):
16533
16534 2012-01-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
16535
16536         Add a check-webkit-style exception for GDBInterface.cpp
16537         https://bugs.webkit.org/show_bug.cgi?id=76187
16538
16539         Add an exception for Source/JavaScriptCore/jit/GDBInterface.cpp so
16540         that it does not fail the style check.
16541
16542         Reviewed by Martin Robinson.
16543
16544         * Scripts/webkitpy/style/checker.py: Tell the style checker to not run
16545         readability/naming tests on
16546         Source/JavaScriptCore/jit/GDBInterface.cpp.
16547         * Scripts/webkitpy/style/checker_unittest.py:
16548         (GlobalVariablesTest.test_path_rules_specifier): Add a test for
16549         the above exception.
16550
16551 2012-01-17  Hajime Morrita  <morrita@chromium.org>
16552
16553         https://bugs.webkit.org/show_bug.cgi?id=76245
16554         [Mac][DRT] should allow query string for the file URL.
16555
16556         Reviewed by Tony Chang.
16557
16558         Taught DRT about file:// as a url instead of a file path.
16559         We are now able to use a path file:///foo/bar.html?baz as a url
16560         with which DRT opens "/foo/bar.html" with "baz" as a query string.
16561
16562         * DumpRenderTree/mac/DumpRenderTree.mm:
16563         (runTest):
16564
16565 2012-01-17  Ojan Vafai  <ojan@chromium.org>
16566
16567         Check style on test_expectations.txt files before commit
16568         https://bugs.webkit.org/show_bug.cgi?id=76484
16569
16570         Reviewed by Adam Barth.
16571
16572         Unlike other style rules, if you get the syntax of the test_expectations.txt
16573         file wrong, the layout tests won't run. Also, this check is simple and only
16574         slows down committing if you actually modify one of the test_expectations.txt files.
16575
16576         * Scripts/webkitpy/tool/steps/commit.py:
16577         (Commit._check_test_expectations):
16578         (Commit.run):
16579         * Scripts/webkitpy/tool/steps/commit_unittest.py: Added.
16580         (CommitTest):
16581         (CommitTest.test_check_test_expectations):
16582
16583 2012-01-17  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
16584
16585         [Qt] Debug build fails with debug qt5
16586         https://bugs.webkit.org/show_bug.cgi?id=76463
16587
16588         Reviewed by Simon Hausmann.
16589
16590         Add QNetworkCookie include in order to satisfy sizeof in QTypeInfo in debug builds.
16591
16592         * QtTestBrowser/cookiejar.h:
16593
16594 2012-01-17  Dirk Pranke  <dpranke@chromium.org>
16595
16596         webkitpy: fix json import on linux
16597         https://bugs.webkit.org/show_bug.cgi?id=76481
16598
16599         Reviewed by Adam Barth.
16600
16601         For some reason, the version of simplejson autoinstalled on my linux
16602         box seems to be broken. We should really only be using
16603         simplejson if json isn't available anyway, so this change looks
16604         for json first.
16605
16606         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
16607         (JSONGeneratorTest.test_test_timings_trie):
16608
16609 2012-01-17  Dirk Pranke  <dpranke@chromium.org>
16610
16611         Fix failures in test-webkitpy caused by r105177.
16612
16613         Unreviewed, build fix.
16614
16615         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
16616         (ChromiumLinuxPort._determine_driver_path_statically):
16617         (ChromiumLinuxPort._static_build_path):
16618
16619 2012-01-17  Dirk Pranke  <dpranke@chromium.org>
16620
16621         webkitpy: make PortFactory.get() be fully data-driven
16622         https://bugs.webkit.org/show_bug.cgi?id=76360
16623
16624         Reviewed by Eric Seidel.
16625
16626         Refactor PortFactory.get() to be fully data-driven.
16627
16628         * Scripts/webkitpy/layout_tests/port/factory.py:
16629         (PortFactory):
16630         (PortFactory._default_port):
16631         (PortFactory.get):
16632         (PortFactory.get.in):
16633         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
16634         (FactoryTest.assert_port):
16635
16636 2012-01-17  Dirk Pranke  <dpranke@chromium.org>
16637
16638         webkitpy: add determine_full_port_name(), clean up port.__init__()
16639         https://bugs.webkit.org/show_bug.cgi?id=76357
16640
16641         Reviewed by Adam Barth.
16642
16643         Each Port class is now required to implement a 'port_name' field
16644         that will match the start of all ports constructed by this class and
16645         a 'determine_full_port_name' field that will make the port
16646         fully-qualified.
16647
16648         * Scripts/webkitpy/layout_tests/port/apple.py:
16649         (ApplePort.__init__):
16650         * Scripts/webkitpy/layout_tests/port/base.py:
16651         (Port):
16652         (Port.determine_port_name):
16653         (Port.__init__):
16654         * Scripts/webkitpy/layout_tests/port/chromium.py:
16655         (ChromiumPort.for):
16656         (ChromiumPort.__init__):
16657         (ChromiumPort):
16658         (ChromiumPort._chromium_base_dir):
16659         (ChromiumPort.path_from_chromium_base):
16660         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
16661         (ChromiumGpuLinuxPort):
16662         (ChromiumGpuLinuxPort.__init__):
16663         (ChromiumGpuMacPort):
16664         (ChromiumGpuMacPort.__init__):
16665         (ChromiumGpuWinPort):
16666         (ChromiumGpuWinPort.__init__):
16667         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
16668         (ChromiumLinuxPort):
16669         (ChromiumLinuxPort.determine_port_name):
16670         (ChromiumLinuxPort.__init__):
16671         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
16672         (ChromiumMacPort):
16673         (ChromiumMacPort.determine_port_name):
16674         (ChromiumMacPort.__init__):
16675         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
16676         (ChromiumWinPort):
16677         (ChromiumWinPort.determine_port_name):
16678         (ChromiumWinPort.__init__):
16679         * Scripts/webkitpy/layout_tests/port/dryrun.py:
16680         (DryRunPort):
16681         (DryRunPort.determine_port_name):
16682         (DryRunPort.__init__):
16683         * Scripts/webkitpy/layout_tests/port/efl.py:
16684         (EflPort):
16685         * Scripts/webkitpy/layout_tests/port/factory.py:
16686         (PortFactory):
16687         (PortFactory._default_port):
16688         (PortFactory.get):
16689         (PortFactory.get.in):
16690         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
16691         (FactoryTest.assert_port):
16692         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
16693         (GoogleChromeLinux32Port):
16694         (GoogleChromeLinux32Port.determine_port_name):
16695         (GoogleChromeLinux64Port):
16696         (GoogleChromeLinux64Port.determine_port_name):
16697         (GoogleChromeMacPort):
16698         (GoogleChromeMacPort.determine_port_name):
16699         (GoogleChromeWinPort):
16700         (GoogleChromeWinPort.determine_port_name):
16701         * Scripts/webkitpy/layout_tests/port/gtk.py:
16702         (GtkPort):
16703         * Scripts/webkitpy/layout_tests/port/mac.py:
16704         (MacPort):
16705         (MacPort.determine_port_name):
16706         (MacPort.__init__):
16707         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
16708         (test_versions):
16709         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
16710         (MockDRTPort):
16711         (MockDRTPort.determine_port_name):
16712         (MockDRTPort.__init__):
16713         (MockDRT):
16714         (MockDRT.determine_port_name):
16715         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
16716         (PortTestCase.make_port):
16717         * Scripts/webkitpy/layout_tests/port/qt.py:
16718         (QtPort):
16719         (QtPort.determine_port_name):
16720         (QtPort.__init__):
16721         * Scripts/webkitpy/layout_tests/port/test.py:
16722         (TestPort):
16723         (TestPort.determine_port_name):
16724         (TestPort.__init__):
16725         * Scripts/webkitpy/layout_tests/port/webkit.py:
16726         (WebKitPort.__init__):
16727         * Scripts/webkitpy/layout_tests/port/win.py:
16728         (WinPort):
16729         (WinPort.determine_port_name):
16730         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
16731         (get_test_baselines.AllPlatformsPort.__init__):
16732         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
16733         (get_test_config.TestMacPort):
16734         (get_test_config):
16735
16736 2012-01-17  Dirk Pranke  <dpranke@chromium.org>
16737
16738         webkitpy: clean up port code in preparation for static port names
16739         https://bugs.webkit.org/show_bug.cgi?id=76356
16740
16741         Reviewed by Adam Barth.
16742
16743         To fix bug 76215 and be able to determine appropriate port names
16744         in webkitpy without actually constructing Port objects, we need
16745         to shuffle some logic in the chromium ports to be able to figure
16746         out whether we built DRT in 32 or 64-bit mode.
16747
16748         * Scripts/webkitpy/layout_tests/port/chromium.py:
16749         (ChromiumPort):
16750         (ChromiumPort._chromium_base_dir):
16751         (ChromiumPort.__init__):
16752         (ChromiumPort.path_from_chromium_base):
16753         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
16754         (ChromiumLinuxPort):
16755         (ChromiumLinuxPort._determine_driver_path_statically):
16756         (ChromiumLinuxPort._static_build_path):
16757         (ChromiumLinuxPort._determine_architecture):
16758         (ChromiumLinuxPort.__init__):
16759         (ChromiumLinuxPort._build_path):
16760
16761 2012-01-17  Hao Zheng  <zhenghao@chromium.org>
16762
16763         Do not remove pixel failures for ref tests.
16764         https://bugs.webkit.org/show_bug.cgi?id=76243
16765
16766         Reviewed by Tony Chang.
16767
16768         'NRWT --no-pixel-tests' complains when reftests are expected to
16769         be image mismatch.
16770
16771         * Scripts/webkitpy/layout_tests/controllers/manager.py:
16772         (Manager._update_summary_with_result):
16773         * Scripts/webkitpy/layout_tests/models/test_failures.py:
16774         (is_reftest_failure):
16775         (determine_result_type):
16776
16777 2012-01-17  Balazs Ankes  <Ankes.Balazs@stud.u-szeged.hu>
16778
16779         REGRESSION(r81225): ORWT should ignore reftests
16780         https://bugs.webkit.org/show_bug.cgi?id=67936
16781
16782         Reviewed by Csaba Osztrogonác.
16783
16784         * Scripts/old-run-webkit-tests:
16785         (isUsedInReftest): $filename should be the first parameter
16786         (findTestsToRun): run test if it isn't reftest
16787
16788 2012-01-17  Gustavo Noronha Silva  <gns@gnome.org>
16789
16790         Unreviewed. Fix python unit test I broke with r105142
16791
16792         * Scripts/webkitpy/common/config/ports_unittest.py:
16793         (WebKitPortTest.test_gtk_port):
16794
16795 2012-01-17  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16796
16797         [Qt] Don't set the 'primary' flag when mocking touch-points in MiniBrowser
16798
16799         Qt 5 no longer has that flag.
16800
16801         Reviewed by Simon Hausmann.
16802
16803         * MiniBrowser/qt/MiniBrowserApplication.cpp:
16804         (MiniBrowserApplication::notify):
16805
16806 2012-01-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
16807
16808         GTK+ EWS needs to run update-webkitgtk-libs after applying a patch
16809         https://bugs.webkit.org/show_bug.cgi?id=75857
16810
16811         Reviewed by Adam Barth.
16812
16813         * Scripts/webkitdirs.pm:
16814         (buildAutotoolsProject): move cleaning the build to happen early,
16815         and handle --update-gtk right after that
16816         * Scripts/webkitpy/common/config/ports.py:
16817         (GtkPort.build_webkit_command): pass --update-gtk as an option to
16818         build-webkit, so that it is used in the EWS
16819
16820 2012-01-16  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16821
16822         [Qt] Don't add _debug postfix to targets when building debug only
16823
16824         Reviewed by Simon Hausmann.
16825
16826         * qmake/mkspecs/features/default_post.prf:
16827         * qmake/mkspecs/features/functions.prf:
16828
16829 2012-01-16  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16830
16831         [Qt] Add more files to project-files for easier navigation in Qt Creator
16832
16833         Reviewed by Simon Hausmann.
16834
16835         * Tools.pro:
16836         * qmake/config.tests/README: Added.
16837
16838 2012-01-17  Philippe Normand  <pnormand@igalia.com>
16839
16840         [GTK] fast/dom/constructed-objects-prototypes.html fails
16841         https://bugs.webkit.org/show_bug.cgi?id=75432
16842
16843         Reviewed by Martin Robinson.
16844
16845         * Scripts/build-webkit: Enable video-track in GTK.
16846
16847 2012-01-16  Takashi Toyoshima  <toyoshim@chromium.org>
16848
16849         Add toyoshim as a committer.
16850         https://bugs.webkit.org/show_bug.cgi?id=76390
16851
16852         Reviewed by Hajime Morita.
16853
16854         * Scripts/webkitpy/common/config/committers.py:
16855
16856 2012-01-16  Brent Fulgham  <bfulgham@webkit.org>
16857
16858         [WinCairo] Build fix after r104155. Several debug targets were not
16859         properly including the '*Common' property sheets.
16860
16861         * DumpRenderTree/win/DumpRenderTreeLauncherDebugCairoCFLite.vsprops:
16862         * DumpRenderTree/win/ImageDiffLauncherDebugCairoCFLite.vsprops:
16863         * MiniBrowser/Configurations/MiniBrowserLauncherDebugCairoCFLite.vsprops:
16864         * WebKitTestRunner/win/WebKitTestRunnerLauncherDebugCairoCFLite.vsprops:
16865         * WinLauncher/WinLauncherLauncherDebugCairoCFLite.vsprops:
16866
16867 2012-01-16  Csaba Osztrogonác  <ossy@webkit.org>
16868
16869         REGRESSION(r105072): It broke committers_unittest.py
16870         https://bugs.webkit.org/show_bug.cgi?id=76396
16871
16872         Reviewed by Adam Barth.
16873
16874         * Scripts/webkitpy/common/config/committers_unittest.py:
16875         (CommittersTest._assert_fuzz_match): It should handle more names.
16876         (CommittersTest.test_contributors_by_fuzzy_match_with_legacy_names): Fix the testcase.
16877
16878 2012-01-16  Mario Sanchez Prada  <msanchez@igalia.com>
16879
16880         [GTK] Include gtk+3 in the jhbuild modules
16881         https://bugs.webkit.org/show_bug.cgi?id=76284
16882
16883         Reviewed by Philippe Normand.
16884
16885         * gtk/jhbuild.modules: Add some gtk+3 to the jhbuild moduleset.
16886
16887 2012-01-16  Dan Winship  <danw@gnome.org>
16888
16889         Add myself as a committer
16890
16891         Unreviewed
16892
16893         * Scripts/webkitpy/common/config/committers.py:
16894
16895 2012-01-16  Raphael Kubo da Costa  <kubo@profusion.mobi>
16896
16897         Unreviewed; fix the build when --as-needed and --no-copy-dt-needed-entries are passed to the linker.
16898
16899         Some recent versions of a few Linux distributions have started passing
16900         --as-needed and --no-copy-dt-needed-entries by default to the linker,
16901         which broke the build when SHARED_CORE was turned on, as libwtf_efl.so
16902         needed a few symbols from libjavascriptcore_efl.so.
16903
16904         * DumpRenderTree/efl/CMakeLists.txt: Explicitly pass WTF_LIBRARY_NAME
16905         before JavaScriptCore_LIBRARY_NAME in DumpRenderTree_LIBRARIES so the
16906         libraries are searched in the right order by the linker.
16907
16908 2012-01-16  Philippe Normand  <pnormand@igalia.com>
16909
16910         [GTK] set audio resources path in NRTW
16911         https://bugs.webkit.org/show_bug.cgi?id=76380
16912
16913         Reviewed by Martin Robinson.
16914
16915         * Scripts/webkitpy/layout_tests/port/gtk.py:
16916         (GtkPort.setup_environ_for_server): Set $AUDIO_RESOURCES_PATH so
16917         the uninstalled audio resources are used during webaudio tests.
16918
16919 2012-01-16  Carlos Garcia Campos  <cgarcia@igalia.com>
16920
16921         [GTK] ldflags and cflags should take precedence over the existing flags in gtkdoc.py
16922         https://bugs.webkit.org/show_bug.cgi?id=76369
16923
16924         Reviewed by Xan Lopez.
16925
16926         If there's an installed version of webkit and there are new
16927         symbols in the build tree, gtkdoc-scanobj fails due to undefined
16928         references, because the env ldflags are given before the local
16929         ones.
16930
16931         * gtk/gtkdoc.py:
16932         (GTKDoc._run_gtkdoc_scangobj):
16933
16934 2012-01-15  Pablo Flouret  <pablof@motorola.com>
16935
16936         Fix compilation errors on build-webkit --debug --no-video on mac.
16937         https://bugs.webkit.org/show_bug.cgi?id=75867
16938
16939         Reviewed by Philippe Normand.
16940
16941         Add --[no-]video-track to build-webkit, since video track feature
16942         depends on video.
16943
16944         * Scripts/build-webkit:
16945
16946 2012-01-14  James Robinson  <jamesr@chromium.org>
16947
16948         [chromium] Failing webkit_unit_tests does not make the cr-linux EWS bubble red
16949         https://bugs.webkit.org/show_bug.cgi?id=76313
16950
16951         Reviewed by Adam Barth.
16952
16953         The exit code of this script should be the exit code of webkit_unit_tests. Tested manually.
16954
16955         * Scripts/run-chromium-webkit-unit-tests:
16956
16957 2012-01-14  Sheriff Bot  <webkit.review.bot@gmail.com>
16958
16959         Unreviewed, rolling out r105017.
16960         http://trac.webkit.org/changeset/105017
16961         https://bugs.webkit.org/show_bug.cgi?id=76333
16962
16963         broke the build (Requested by philn-tp on #webkit).
16964
16965         * gtk/jhbuild.modules:
16966
16967 2012-01-14  Mario Sanchez Prada  <msanchez@igalia.com>
16968
16969         [GTK] Include gtk+3 in the jhbuild modules
16970         https://bugs.webkit.org/show_bug.cgi?id=76284
16971
16972         Reviewed by Philippe Normand.
16973
16974         * gtk/jhbuild.modules: Add some gtk+3 to the jhbuild moduleset.
16975
16976 2012-01-13  Adam Barth  <abarth@webkit.org>
16977
16978         Remove --dry-run support from webkit-patch
16979         https://bugs.webkit.org/show_bug.cgi?id=76300
16980
16981         Reviewed by Dirk Pranke.
16982
16983         This is the rest of the patch from Bug 76300.  I landed it separtely
16984         because main.py had some stray conflict markers that I needed to clean
16985         up first.
16986
16987         * Scripts/webkitpy/test/main.py:
16988         (Tester.parse_args):
16989         (Tester._run_tests):
16990
16991 2012-01-13  Adam Barth  <abarth@webkit.org>
16992
16993         test-webkitpy does not run
16994         https://bugs.webkit.org/show_bug.cgi?id=76318
16995
16996         Unreviewed.
16997
16998         Looks like some conflict markers got left in the file.
16999
17000         * Scripts/webkitpy/test/main.py:
17001         (Tester.run):
17002
17003 2012-01-13  Adam Barth  <abarth@webkit.org>
17004
17005         Remove --dry-run support from webkit-patch
17006         https://bugs.webkit.org/show_bug.cgi?id=76300
17007
17008         Reviewed by Dirk Pranke.
17009
17010         We don't use this functionality for anything, and it doesn't really
17011         work.  Someone in #webkit tried using it and and got sad/confused.  We
17012         should just remove it.
17013
17014         * Scripts/webkitpy/common/checkout/scm/git.py:
17015         (Git.push_local_commits_to_server):
17016         * Scripts/webkitpy/common/checkout/scm/scm.py:
17017         (SCM.__init__):
17018         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
17019         (_shared_test_commit_with_message):
17020         (GitSVNTest.test_commit_text_parsing):
17021         * Scripts/webkitpy/common/checkout/scm/svn.py:
17022         (SVN.commit_with_message):
17023         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
17024         (Bugzilla.__init__):
17025         (Bugzilla.quips):
17026         (Bugzilla.authenticate):
17027         (Bugzilla.add_attachment_to_bug):
17028         (Bugzilla.add_patch_to_bug):
17029         (Bugzilla.create_bug):
17030         (Bugzilla.clear_attachment_flags):
17031         (Bugzilla.set_flag_on_attachment):
17032         (Bugzilla.obsolete_attachment):
17033         (Bugzilla.add_cc_to_bug):
17034         (Bugzilla.post_comment_to_bug):
17035         (Bugzilla.close_bug_as_fixed):
17036         (Bugzilla.reassign_bug):
17037         (reopen_bug):
17038         * Scripts/webkitpy/test/main.py:
17039         (Tester.parse_args):
17040         (Tester.run_tests):
17041
17042 2012-01-13  David Levin  <levin@chromium.org>
17043
17044         check-webkit-style: should encourage the use of Own* classes for Windows DC.
17045         https://bugs.webkit.org/show_bug.cgi?id=76227
17046
17047         Reviewed by Dirk Pranke.
17048
17049         * Scripts/webkitpy/style/checkers/cpp.py:
17050         (check_for_leaky_patterns): The new check.
17051         (process_line): Added a call to the new check.
17052         (CppChecker): Added the new error type.
17053         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
17054         (CppStyleTestBase):
17055         (CppStyleTestBase.perform_leaky_pattern_check):
17056         The check for only leaky pattern errors.
17057         (LeakyPatternTest): Test cases.
17058
17059 2012-01-13  Dirk Pranke  <dpranke@chromium.org>
17060
17061         test-webkitpy: clean up handling of test directories, QueueStatusServer
17062         https://bugs.webkit.org/show_bug.cgi?id=76238
17063
17064         Reviewed by Adam Barth.
17065
17066         This patch cleans up a bunch of hacks related to how we find all
17067         of the python unit tests and set up the sys.path variable in
17068         test-webkitpy.
17069
17070         This patch changes how test-webkitpy works slightly in that we
17071         will now look for test files under Tools/Scripts and Source/WebKit2/Scripts
17072         rather than just Tools/Scripts/webkitpy and Source/WebKit2/Scripts/webkit.
17073         This greatly simplifies the mapping of paths to module names and
17074         appears to have no significant performance impact or other drawbacks.
17075
17076         There are other ways that we could remove all of the hacks and
17077         still have a more flexible mapping of paths to module names, but
17078         the ones I've thought of so far add a decent amount of complexity to
17079         the implementation and don't seem to buy us much.
17080         
17081         * QueueStatusServer/__init__.py:
17082         * Scripts/test-webkitpy:
17083         * Scripts/webkitpy/test/main.py:
17084         (Tester._modules_from_paths):
17085         (Tester._is_module):
17086
17087 2012-01-13  Dirk Pranke  <dpranke@chromium.org>
17088
17089         test-webkitpy: should support classes and individual test names as well as modules
17090         https://bugs.webkit.org/show_bug.cgi?id=76233
17091
17092         Reviewed by Adam Barth.
17093
17094         The default unittest.main() supports a list of individual
17095         TestCase classes or individual tests as well as modules. This
17096         change adds support for the same to test-webkitpy, so now you
17097         can say
17098
17099           % test-wekbitpy webkitpy.test.cat_unittest.CatTest
17100
17101         and
17102
17103           % test-wekbitpy webkitpy.test.cat_unittest.CatTest.test_basic
17104
17105         in addition to
17106
17107           % test-wekbitpy webkitpy.test.cat_unittest
17108
17109         * Scripts/test-webkitpy:
17110         * Scripts/webkitpy/test/cat_unittest.py:
17111         * Scripts/webkitpy/test/main.py:
17112         (Tester.parse_args):
17113         (Tester.run):
17114         (Tester):
17115         (Tester._find_modules):
17116         (Tester._exclude):
17117         (Tester._run_tests):
17118         (Tester._is_module):
17119         (Tester._log_exception):
17120
17121 2012-01-13  Dirk Pranke  <dpranke@chromium.org>
17122
17123         test-webkitpy: add basic code coverage support
17124         https://bugs.webkit.org/show_bug.cgi?id=76201
17125
17126         Reviewed by Adam Barth.
17127
17128         This test adds basic code coverage support to test-webkitpy; if
17129         you pass the -c flag, we will generate a new coverage file. We
17130         can start simply with this and add more features as necessary.
17131
17132         This patch requires coverage to be already installed on the
17133         machine. I am not auto-installing this for now.
17134
17135         * Scripts/webkitpy/test/main.py:
17136         (Tester.parse_args):
17137         (Tester.run_tests):
17138
17139 2012-01-13  Dirk Pranke  <dpranke@chromium.org>
17140
17141         StatusBubbleTest.test_build_bubble is failing
17142         https://bugs.webkit.org/show_bug.cgi?id=76222
17143
17144         Reviewed by Adam Barth.
17145
17146         * QueueStatusServer/handlers/statusbubble_unittest.py:
17147         (StatusBubbleTest.test_build_bubble):
17148
17149 2012-01-13  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
17150
17151         nrwt should use multiple http shards
17152         https://bugs.webkit.org/show_bug.cgi?id=75958
17153
17154         Add --max-locked-shards option to the nrwt for manual set
17155         the maximum number of the locked shards
17156
17157         Reviewed by Dirk Pranke.
17158
17159         * Scripts/webkitpy/layout_tests/controllers/manager.py:
17160         (Manager._max_locked_shards):
17161         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
17162         (ShardingTests.get_shards):
17163         (ShardingTests.test_multiple_locked_shards):
17164         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
17165         (parse_args):
17166
17167 2012-01-13  Raphael Kubo da Costa  <kubo@profusion.mobi>
17168
17169         prepare-ChangeLog: Look for a text editor in a few more variables.
17170         https://bugs.webkit.org/show_bug.cgi?id=76289
17171
17172         Reviewed by Ryosuke Niwa.
17173
17174         A text editor was looked for only in the CHANGE_LOG_EDITOR and
17175         CHANGE_LOG_EDIT_APPLICATION environment variables before falling back
17176         to the OS X-specific open(1) command.
17177
17178         As there does not seem to be a common way of looking for a text editor
17179         among the scripts in Tools/Scripts right now, just look at $VISUAL and
17180         $EDITOR (set much more often than the other variables in Unix systems)
17181         before falling back to open(1).
17182
17183         * Scripts/prepare-ChangeLog:
17184         (openChangeLogs):
17185
17186 2012-01-13  Gabor Rapcsanyi  <rgabor@webkit.org>
17187
17188         [GTK] gtkdoc.py ignoring LDFLAGS and CFLAGS environment variables
17189         https://bugs.webkit.org/show_bug.cgi?id=76269
17190
17191         Reviewed by Martin Robinson.
17192
17193         * gtk/gtkdoc.py:
17194         (GTKDoc._run_gtkdoc_scangobj):
17195
17196 2012-01-13  Csaba Osztrogonác  <ossy@webkit.org>
17197
17198         [Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
17199         https://bugs.webkit.org/show_bug.cgi?id=76247
17200
17201         Reviewed by Kenneth Rohde Christiansen.
17202
17203         * WebKitTestRunner/TestController.cpp:
17204         (WTR::TestController::resetStateToConsistentValues): Disable mock scrollbars on Qt by default. (workaround)
17205
17206 2012-01-13  Hajime Morrita  <morrita@chromium.org>
17207
17208         [Mac][DRT] Should support --no-timeout
17209         https://bugs.webkit.org/show_bug.cgi?id=76242
17210
17211         Reviewed by Darin Adler.
17212
17213         * DumpRenderTree/mac/DumpRenderTree.mm:
17214         (initializeGlobalsFromCommandLineOptions): Added "--no-timeout" to the options list.
17215         (setWaitToDumpWatchdog): Added to encapsulate the waitToDumpWatchdog global variable.
17216         (shouldSetWaitToDumpWatchdog): Added to check the useTimeoutWatchdog flag set by the option.
17217         * DumpRenderTree/mac/DumpRenderTreeMac.h:
17218         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
17219         (LayoutTestController::setWaitToDump): Now calls shouldSetWaitToDumpWatchdog() to check the flag.
17220
17221 2012-01-12  Simon Fraser  <simon.fraser@apple.com>
17222
17223         Mitigate scrollbar differences when running pixel tests
17224         https://bugs.webkit.org/show_bug.cgi?id=67217
17225
17226         Reviewed by Dan Bernstein.
17227         
17228         Enable mock scrollbars by default for tests.
17229
17230         * DumpRenderTree/mac/DumpRenderTree.mm:
17231         (resetDefaultsToConsistentValues):
17232         * WebKitTestRunner/TestController.cpp:
17233         (WTR::TestController::resetStateToConsistentValues):
17234
17235 2012-01-12  Ryosuke Niwa  <rniwa@webkit.org>
17236
17237         Need a script to run tests in PerformanceTests
17238         https://bugs.webkit.org/show_bug.cgi?id=76132
17239
17240         Reviewed by Adam Barth.
17241
17242         Add run-perf-tests to run performance tests using parser/resources/runner.js.
17243         Unfortunately, there isn't an easy way of telling which test uses which format
17244         so hard-code directory that uses Chromium perf-bot style (only inspector perf. tests for now).
17245
17246         All test outputs are re-formatted to match Chromium perf-bot style.
17247
17248         * Scripts/run-inspector-perf-tests.py:
17249         * Scripts/run-perf-tests: Added.
17250         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
17251         (PerfTestsRunner):
17252         (PerfTestsRunner.__init__):
17253         (PerfTestsRunner._collect_tests):
17254         (PerfTestsRunner.run):
17255         (PerfTestsRunner._print_status):
17256         (PerfTestsRunner._run_tests_set):
17257         (PerfTestsRunner._process_chromium_style_test_result):
17258         (PerfTestsRunner._should_ignore_line_in_parser_test_result):
17259         (PerfTestsRunner._process_parser_test_result):
17260         (PerfTestsRunner._run_single_test):
17261         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
17262         (MainTest.TestDriver.run_test):
17263         (create_runner):
17264         (run_test):
17265         (test_run_test_set):
17266         (test_run_test_set_for_parser_tests):
17267         (test_collect_tests):
17268
17269 2012-01-12  Dirk Pranke  <dpranke@chromium.org>
17270
17271         webkitpy: clean up port unit tests in preparation for making port_name mandatory
17272         https://bugs.webkit.org/show_bug.cgi?id=76123
17273
17274         Reviewed by Adam Barth.
17275
17276         This change updates the unit tests to be more consistent in how
17277         ports are created, in preparation for making port_name a
17278         mandatory parameter to the constructor and removing any version
17279         interpretation from it.
17280
17281         There should be no functional changes in this patch, but some
17282         tests that are no longer relevant have been removed or reworked.
17283
17284         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
17285         (PortTest.test_get_option__default):
17286         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
17287         (ChromiumLinuxPortTest):
17288         (ChromiumLinuxPortTest.assert_architecture):
17289         (ChromiumLinuxPortTest.test_determine_architecture_fails):
17290         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
17291         (ChromiumMacPortTest):
17292         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
17293         (ChromiumPortTest):
17294         (ChromiumPortTest.test_all_test_configurations):
17295         (ChromiumPortTest.TestMacPort.__init__):
17296         (ChromiumPortTest.TestLinuxPort.__init__):
17297         (ChromiumPortTest.TestWinPort.__init__):
17298         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
17299         (ChromiumWinTest):
17300         * Scripts/webkitpy/layout_tests/port/efl_unittest.py:
17301         (EflPortTest):
17302         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
17303         (GtkPortTest):
17304         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
17305         (MacTest):
17306         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
17307         (MockDRTPortTest):
17308         (MockDRTPortTest.make_port):
17309         * Scripts/webkitpy/layout_tests/port/qt.py:
17310         (QtPort._port_flag_for_scripts):
17311         (QtPort.__init__):
17312         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
17313         (QtPortTest):
17314         (QtPortTest._assert_search_path):
17315         (QtPortTest.test_baseline_search_path):
17316         (QtPortTest.test_operating_system):
17317         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
17318         (WebKitPortTest):
17319         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
17320         (WinPortTest):
17321         (WinPortTest._assert_search_path):
17322         (WinPortTest.test_baseline_search_path):
17323         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
17324         (get_test_config.TestMacPort.__init__):
17325
17326 2012-01-12  Dirk Pranke  <dpranke@chromium.org>
17327
17328         test-webkitpy: clean up logging and provide a real --help message
17329         https://bugs.webkit.org/show_bug.cgi?id=76142
17330
17331         Reviewed by Adam Barth.
17332
17333         This test is mostly more refactoring - it calls objects in
17334         unittest directly instead of routing through unittest.main() --
17335         in order to gain more control over the logging and to provide a
17336         correct --help message. This will also give us a better
17337         foundation for adding more feautures down the road.
17338
17339         This patch adds different levels of logging controlled by the
17340         '-s', '-q', and '-v' options (see --help for details), and
17341         removes the --verbose-logging option.
17342
17343         * Scripts/test-webkitpy:
17344         * Scripts/webkitpy/test/main.py:
17345         (Tester):
17346         (Tester.clean_packages):
17347         (Tester.__init__):
17348         (Tester.parse_args):
17349         (Tester.configure):
17350         (Tester._configure_logging):
17351         (Tester.find_modules):
17352         (Tester._exclude):
17353         (Tester._modules_from_paths):
17354         (Tester.run_tests):
17355
17356 2012-01-12  Simon Hausmann  <simon.hausmann@nokia.com>
17357
17358         Make the new WTF module build on Qt
17359         https://bugs.webkit.org/show_bug.cgi?id=76163
17360
17361         Reviewed by Tor Arne Vestbø.
17362
17363         * qmake/mkspecs/modules/wtf.prf: Pull in WTF from the new location.
17364
17365 2012-01-12  Vsevolod Vlasov  <vsevik@chromium.org>
17366
17367         Unreviewed, mac DumpRenderTree fix.
17368
17369         * DumpRenderTree/mac/UIDelegate.mm:
17370         (-[UIDelegate webView:addMessageToConsole:withSource:]):
17371
17372 2012-01-12  Vsevolod Vlasov  <vsevik@chromium.org>
17373
17374         WebKitTestRunner should not print console message line number when it is equal to zero.
17375         https://bugs.webkit.org/show_bug.cgi?id=76167
17376
17377         Reviewed by Csaba Osztrogonác.
17378
17379         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
17380         (WTR::InjectedBundlePage::willAddMessageToConsole):
17381
17382 2012-01-11  Vsevolod Vlasov  <vsevik@chromium.org>
17383
17384         Make default console messages line numbers consistent.
17385         https://bugs.webkit.org/show_bug.cgi?id=74075
17386
17387         Reviewed by Pavel Feldman.
17388
17389         Unset line numbers are not printed to console now.
17390         Added Source/WebCore/inspector to efl DumpRenderTree include path.
17391
17392         * DumpRenderTree/chromium/WebViewHost.cpp:
17393         (WebViewHost::didAddMessageToConsole):
17394         * DumpRenderTree/efl/CMakeLists.txt:
17395         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
17396         (onConsoleMessage):
17397         * DumpRenderTree/gtk/DumpRenderTree.cpp:
17398         (webViewConsoleMessage):
17399         * DumpRenderTree/mac/UIDelegate.mm:
17400         (-[UIDelegate webView:addMessageToConsole:withSource:]):
17401         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
17402         (WebCore::WebPage::javaScriptConsoleMessage):
17403         * DumpRenderTree/win/UIDelegate.cpp:
17404         (UIDelegate::webViewAddMessageToConsole):
17405         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
17406         (LayoutWebViewEventHandler::OnConsoleMessageEvent):
17407
17408 2012-01-10  Dirk Pranke  <dpranke@chromium.org>
17409
17410         test-webkitpy: push more logic into webkitpy.test.main, clean up code
17411         https://bugs.webkit.org/show_bug.cgi?id=76021
17412
17413         Reviewed by Eric Seidel.
17414
17415         I plan to add more functionality to test-webkitpy, but it is
17416         difficult to hack on now; this patch is the first of two that
17417         brings test-webkitpy more inline with current coding style by
17418         pushing more logic into the webkitpy.test.main.Tester class (so
17419         that it will be testable itself).
17420         
17421         There should be no functional changes in this patch.
17422
17423         * Scripts/test-webkitpy:
17424         (_path_from_webkit_root):
17425         * Scripts/webkitpy/test/main.py:
17426         (Tester):
17427         (Tester.init):
17428         (Tester.configure_logging):
17429         (Tester.configure_logging.filter):
17430         (Tester.clean_packages):
17431         (Tester.run_tests):
17432
17433 2012-01-11  Wei Jia  <wjia@chromium.org>
17434
17435         implement layout tests for <video> with media stream
17436         https://bugs.webkit.org/show_bug.cgi?id=74882
17437
17438         Reviewed by Kent Tamura.
17439
17440         * DumpRenderTree/DumpRenderTree.gypi:
17441         * DumpRenderTree/chromium/WebUserMediaClientMock.cpp: Added.
17442         (WebKit::WebUserMediaClientMock::create):
17443         (WebKit::WebUserMediaClientMock::IsMockStream):
17444         (WebKit::WebUserMediaClientMock::requestUserMedia):
17445         (WebKit::WebUserMediaClientMock::cancelUserMediaRequest):
17446         * DumpRenderTree/chromium/WebUserMediaClientMock.h: Added.
17447         (WebKit::WebUserMediaClientMock::~WebUserMediaClientMock):
17448         (WebKit::WebUserMediaClientMock::WebUserMediaClientMock):
17449         * DumpRenderTree/chromium/WebViewHost.cpp:
17450         (WebViewHost::userMediaClient):
17451         (WebViewHost::userMediaClientMock):
17452         (WebViewHost::createMediaPlayer):
17453         (WebViewHost::mediaStreamUtil):
17454         (WebViewHost::testMediaStreamClient):
17455         * DumpRenderTree/chromium/WebViewHost.h:
17456
17457 2012-01-11  Dirk Pranke  <dpranke@chromium.org>
17458
17459         Unreviewed, build fix.
17460
17461         Fix chromium-win's version remapping to work correctly on Win 7 SP1.
17462
17463         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
17464         (ChromiumWinPort.__init__):
17465
17466 2012-01-11  Ryosuke Niwa  <rniwa@webkit.org>
17467
17468         Sheriffbot build fix. Don't emit empty lines on IRC.
17469
17470         * Scripts/webkitpy/tool/bot/irc_command.py:
17471         (LastGreenRevision.execute):
17472
17473 2012-01-11  Ryosuke Niwa  <rniwa@webkit.org>
17474
17475         last-green-revision should report the revision that succeeded on all bots
17476         https://bugs.webkit.org/show_bug.cgi?id=76109
17477
17478         Reviewed by Adam Barth.
17479
17480         Add an algorithm to find the last known good revision among the specified bots. For a revision to be
17481         considered green by this algorithm, all matching builders must have a successful run at the revision
17482         or two consecutive successful runs before and after the revision.
17483
17484         Also fixed a bug in irc_command that the result wasn't posted on IRC properly and a bug in queries.py
17485         that resulted in an exception when the user didn't pass BUILDER_NAME argument.
17486
17487         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
17488         (BuildBot._revisions_for_builder):
17489         (BuildBot):
17490         (BuildBot._find_green_revision):
17491         (BuildBot.last_green_revision):
17492         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py:
17493         (MockBuildBot.last_green_revision):
17494         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
17495         (test_revisions_for_builder):
17496         (test_find_green_revision):
17497         (test_last_green_revision):
17498         * Scripts/webkitpy/tool/bot/irc_command.py:
17499         (LastGreenRevision.execute):
17500         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
17501         (SheriffIRCBotTest.test_lgr):
17502         * Scripts/webkitpy/tool/commands/queries.py:
17503         (LastGreenRevision):
17504
17505 2012-01-11  Dirk Pranke  <dpranke@chromium.org>
17506
17507         Unreviewed, fix build bustage on win32 introduced by r104725.
17508
17509         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
17510         (MockDRTPortTest.make_port):
17511         (MockChromiumDRTTest.test_pixeltest__fails):
17512
17513 2012-01-11  Jochen Eisinger  <jochen@chromium.org>
17514
17515         [Chromium] mimic the (old) behavior of the mac port for (re)setting the color profile
17516         https://bugs.webkit.org/show_bug.cgi?id=75618
17517
17518         Eventually, we should get away from setting the display's color profile, as the mac port is doing now.
17519
17520         Reviewed by Tony Chang.
17521
17522         * DumpRenderTree/chromium/LayoutTestHelper.mm:
17523         (installLayoutTestColorProfile):
17524         (restoreUserColorProfile):
17525         (main):
17526
17527 2012-01-11  Dirk Pranke  <dpranke@chromium.org>
17528
17529         test-webkitpy: fix -v and eliminate some spurious warnings
17530         https://bugs.webkit.org/show_bug.cgi?id=76099
17531
17532         Reviewed by Adam Barth.
17533
17534         when we added support for --xml output, we broke the -v flag.
17535
17536         Also, fix the code to swallow a harmless warning from
17537         VCSUtils.pm and fix a deprecated warning in jsonchecker.py.
17538
17539         test-webkitpy is now silent again except for the one known
17540         logging issue.
17541
17542         * Scripts/webkitpy/common/checkout/checkout.py:
17543         (Checkout.commit_message_for_this_commit):
17544         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
17545         (test_commit_message_for_this_commit):
17546         * Scripts/webkitpy/style/checkers/jsonchecker.py:
17547         (JSONChecker.check):
17548         (JSONChecker.line_number_from_json_exception):
17549         * Scripts/webkitpy/test/main.py:
17550         (Tester.run_tests):
17551
17552 2012-01-11  Dirk Pranke  <dpranke@chromium.org>
17553
17554         webkitpy: webkitpy.layout_tests.port tests should only use MockSystemHost, not MockHost
17555         https://bugs.webkit.org/show_bug.cgi?id=76084
17556
17557         Reviewed by Adam Barth.
17558
17559         This will help make it easier to catch layering violations. This
17560         change just refactors test code; there are no changes to
17561         production code.
17562
17563         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
17564         (PortTest.make_port):
17565         (PortTest.test_find_no_paths_specified):
17566         (PortTest.test_find_one_test):
17567         (PortTest.test_find_glob):
17568         (PortTest.test_find_with_skipped_directories):
17569         (PortTest.test_find_with_skipped_directories_2):
17570         (PortTest.test_parse_reftest_list):
17571         (PortTest.test_httpd_returns_error_code):
17572         (PortTest.test_virtual_methods):
17573         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
17574         (ChromiumGpuTest.assert_port_works):
17575         (ChromiumGpuTest._assert_baseline_path):
17576         (ChromiumGpuTest.test_graphics_type):
17577         (ChromiumGpuTest.test_default_tests_paths.test_paths):
17578         (ChromiumGpuTest.test_test_files):
17579         (ChromiumGpuTest.test_test_files.test_paths):
17580         (ChromiumGpuTest):
17581         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
17582         (ChromiumLinuxPortTest.assert_architecture):
17583         (ChromiumLinuxPortTest.test_check_illegal_port_names):
17584         (ChromiumLinuxPortTest.test_determine_architecture_fails):
17585         * Scripts/webkitpy/layout_tests/port/driver_unittest.py:
17586         (DriverTest.make_port):
17587         (DriverTest):
17588         (DriverTest.assertVirtual):
17589         (DriverTest._assert_wrapper):
17590         (DriverTest.test_virtual_driver_methods):
17591         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
17592         (MockDRTPortTest.make_port):
17593         (MockDRTPortTest.test_port_name_in_constructor):
17594         (MockDRTTest.assertTest):
17595         (MockDRTTest.test_main):
17596         (MockChromiumDRTTest.test_pixeltest__fails):
17597         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
17598         (QtPortTest._assert_search_path):
17599         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
17600         (TestWebKitPort.__init__):
17601         (WebKitPortUnitTests.test_default_options):
17602         (test_runtime_feature_list):
17603         (test_test_expectations):
17604
17605 2012-01-11  Ojan Vafai  <ojan@chromium.org>
17606
17607         Style skipped tests in the flakiness dashboard
17608         https://bugs.webkit.org/show_bug.cgi?id=76091
17609
17610         Reviewed by Tony Chang.
17611
17612         * TestResultServer/static-dashboards/dashboard_base.js:
17613         Removed "FLAKY" from this list since we don't ever mark individual runs
17614         as flaky. Also deleted an outdated line.
17615         * TestResultServer/static-dashboards/flakiness_dashboard.html:
17616
17617 2012-01-11  Ojan Vafai  <ojan@chromium.org>
17618
17619         Remove gtest normalization code from the test results server
17620         https://bugs.webkit.org/show_bug.cgi?id=76089
17621
17622         Reviewed by Tony Chang.
17623
17624         The normalization now happens on the gtest side.
17625
17626         * TestResultServer/model/jsonresults.py:
17627         (JsonResults.merge):
17628         * TestResultServer/model/jsonresults_unittest.py:
17629         (JsonResultsTest.test_gtest):
17630
17631 2012-01-11  Ojan Vafai  <ojan@chromium.org>
17632
17633         Be more aggressive about deleting unnecessary results from the test-results-server json files
17634         https://bugs.webkit.org/show_bug.cgi?id=76086
17635
17636         Reviewed by Tony Chang.
17637
17638         Remove any tests that only contain skip/pass/nodata values whose runtime
17639         is less than 5 seconds.
17640
17641         * TestResultServer/model/jsonresults.py:
17642         (JsonResults._normalize_results_json):
17643         * TestResultServer/model/jsonresults_unittest.py:
17644         (JsonResultsTest.test_merge_remove_test):
17645         (JsonResultsTest.test_merge_keep_test_with_all_pass_but_slow_time):
17646
17647 2012-01-11  Ryosuke Niwa  <rniwa@webkit.org>
17648
17649         last-green-revision should give us per-bot information
17650         https://bugs.webkit.org/show_bug.cgi?id=76011
17651
17652         Reviewed by Adam Barth.
17653
17654         Rewrote last-green-revision command. Instead of finding a revision for which all bots succeeded,
17655         we report the latest green run on each bot from the last 100 runs.
17656
17657         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
17658         (BuildBot._fetch_builder_page):
17659         (BuildBot):
17660         (BuildBot._green_revision_for_builder):
17661         (BuildBot.last_green_revision):
17662         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
17663         (test_green_revision_for_builder):
17664         (test_last_green_revision):
17665         * Scripts/webkitpy/tool/bot/irc_command.py:
17666         (LastGreenRevision.execute):
17667         * Scripts/webkitpy/tool/commands/queries.py:
17668         (LastGreenRevision.execute):
17669
17670 2012-01-11  Dirk Pranke  <dpranke@chromium.org>
17671
17672         webkitpy: clean up version detection in webkitpy.layout_tests.port
17673         https://bugs.webkit.org/show_bug.cgi?id=76016
17674
17675         Reviewed by Adam Barth.
17676
17677         This change updates the code in webkitpy.layout_tests.port to
17678         use the new os_name and os_version fields on host.platform. This
17679         gets layout_tests.port out of the version parsing business. Most
17680         of the diffs are just cleaning up test code to accomodate the
17681         changes.
17682
17683         * Scripts/webkitpy/common/system/executive_mock.py:
17684         (MockExecutive):
17685         (MockExecutive.ignore_error):
17686         (MockExecutive2):
17687         (MockExecutive2.ignore_error):
17688         * Scripts/webkitpy/common/system/platforminfo_mock.py:
17689         (MockPlatformInfo.is_mac):
17690         (MockPlatformInfo.is_linux):
17691         (MockPlatformInfo.is_win):
17692         * Scripts/webkitpy/common/system/systemhost_mock.py:
17693         (MockSystemHost.__init__):
17694         * Scripts/webkitpy/layout_tests/port/apple.py:
17695         (ApplePort.__init__):
17696         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
17697         (ChromiumMacPort.__init__):
17698         (ChromiumMacPort.check_wdiff):
17699         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
17700         (ChromiumMacPortTest):
17701         (ChromiumMacPortTest.assert_name):
17702         (ChromiumMacPortTest.test_versions):
17703         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
17704         (ChromiumPortTest.test_all_test_configurations):
17705         (ChromiumPortTest.TestMacPort.__init__):
17706         (ChromiumPortTest.TestLinuxPort.__init__):
17707         (ChromiumPortTest.TestWinPort.__init__):
17708         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
17709         (ChromiumWinPort.__init__):
17710         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
17711         (ChromiumWinTest):
17712         (ChromiumWinTest.assert_name):
17713         (ChromiumWinTest.test_versions):
17714         (ChromiumWinTest.test_baseline_path):
17715         (ChromiumWinTest.test_build_path):
17716         * Scripts/webkitpy/layout_tests/port/factory.py:
17717         (PortFactory._port_name_from_arguments_and_options):
17718         (PortFactory.get):
17719         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
17720         (FactoryTest):
17721         (FactoryTest.setUp):
17722         (FactoryTest.assert_port):
17723         (FactoryTest.test_mac):
17724         (FactoryTest.test_win):
17725         (FactoryTest.test_google_chrome):
17726         (FactoryTest.test_gtk):
17727         (FactoryTest.test_qt):
17728         (FactoryTest.test_chromium_gpu):
17729         (FactoryTest.test_chromium_gpu_linux):
17730         (FactoryTest.test_chromium_gpu_mac):
17731         (FactoryTest.test_chromium_gpu_win):
17732         (FactoryTest.test_chromium_mac):
17733         (FactoryTest.test_chromium_linux):
17734         (FactoryTest.test_chromium_win):
17735         (FactoryTest.test_unknown_specified):
17736         (FactoryTest.test_unknown_default):
17737         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
17738         (TestGoogleChromePort):
17739         (TestGoogleChromePort._verify_baseline_path):
17740         (TestGoogleChromePort._verify_expectations_overrides):
17741         (TestGoogleChromePort.test_get_google_chrome_port):
17742         * Scripts/webkitpy/layout_tests/port/mac.py:
17743         (MacPort):
17744         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
17745         (MacTest):
17746         (assert_name):
17747         (test_tests_for_other_platforms):
17748         (test_version):
17749         (test_versions):
17750         (test_is_version_methods):
17751         (test_setup_environ_for_server):
17752         (_assert_search_path):
17753         (test_show_results_html_file):
17754         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
17755         (PortTestCase):
17756         (PortTestCase.make_port):
17757         * Scripts/webkitpy/layout_tests/port/win.py:
17758         (WinPort):
17759         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
17760         (WinPortTest):
17761         (WinPortTest.test_show_results_html_file):
17762         (WinPortTest._assert_search_path):
17763         (WinPortTest._assert_version):
17764
17765 2012-01-11  Hugo Parente Lima  <hugo.lima@openbossa.org>
17766
17767         [Qt][WK2] Remove workaround introduced into bug 75470
17768         https://bugs.webkit.org/show_bug.cgi?id=75889
17769
17770         Reviewed by Tor Arne Vestbø.
17771
17772         * MiniBrowser/qt/qml/BrowserWindow.qml:
17773
17774 2012-01-10  Dmitry Lomov  <dslomov@google.com>
17775
17776         [Chromium] Remove obsolete references to WebWorker class.
17777         https://bugs.webkit.org/show_bug.cgi?id=76020
17778
17779         Reviewed by David Levin.
17780
17781         * DumpRenderTree/chromium/TestWebWorker.h: Removed.
17782         * DumpRenderTree/chromium/WebViewHost.cpp:
17783         * DumpRenderTree/chromium/WebViewHost.h:
17784
17785 2012-01-11  Csaba Osztrogonác  <ossy@webkit.org>
17786
17787         [Qt] Some css3 filter tests are failing after r104698
17788         https://bugs.webkit.org/show_bug.cgi?id=76055
17789
17790         Reviewed by Simon Hausmann.
17791
17792         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
17793         (LayoutTestController::overridePreference): Add WebKitAcceleratedCompositingEnabled preference.
17794
17795 2012-01-11  Tony Chang  <tony@chromium.org>
17796
17797         Don't remove 0 byte files when running build-webkit --chromium
17798         https://bugs.webkit.org/show_bug.cgi?id=75997
17799
17800         Reviewed by Csaba Osztrogonác.
17801
17802         If QTDIR is set, isQt() is true even when running build-webkit --chromium.
17803
17804         * Scripts/webkitdirs.pm:
17805         (determineIsQt):
17806
17807 2012-01-10  David Kilzer  <ddkilzer@apple.com>
17808
17809         Add TestWebKitAPI tests for KURL
17810         <http://webkit.org/b/75774>
17811
17812         Reviewed by Adam Barth.
17813
17814         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add a
17815         WebCore folder and KURL.cpp source file to the project.
17816         * TestWebKitAPI/Tests/WebCore/KURL.cpp: Added.
17817         (TestWebKitAPI::WebCore::SetUp): Initialize the main thread
17818         during setup since this test doesn't go through WebKit or
17819         WebKit2.
17820         (TestWebKitAPI::TEST_F): Add two basic tests.
17821
17822 2012-01-10  David Kilzer  <ddkilzer@apple.com>
17823
17824         Extract common code for comparing WTF::String objects into WTFStringUtilities.h
17825
17826         Reviewed by Adam Barth.
17827
17828         Needed for: <http://webkit.org/b/75774> Add TestWebKitAPI tests for KURL
17829
17830         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add
17831         WTFStringUtilities.h to the project.
17832         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp: Update to use
17833         WTFStringUtilities.h.
17834         * TestWebKitAPI/WTFStringUtilities.h: Added.
17835         (WTF::operator<<):
17836
17837 2012-01-10  Vincent Scheib  <scheib@chromium.org>
17838
17839         Clarify run-webkit-tests options reset-results and new-baseline
17840         https://bugs.webkit.org/show_bug.cgi?id=75993
17841
17842         Reviewed by Dirk Pranke.
17843
17844         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
17845         (parse_args):
17846
17847 2012-01-10  Simon Fraser  <simon.fraser@apple.com>
17848
17849         Disabled mock scrollbars should draw differently
17850         https://bugs.webkit.org/show_bug.cgi?id=75995
17851
17852         Reviewed by James Robinson.
17853
17854         When the scrollbar is disabled, paint the entire track of
17855         mock scrollbars with a lighter gray, and hide the thumb.
17856
17857         * DumpRenderTree/mac/DumpRenderTree.mm:
17858         (-[DRTMockScroller drawKnob]):
17859         (-[DRTMockScroller drawRect:]):
17860
17861 2012-01-10  James Robinson  <jamesr@chromium.org>
17862
17863         [chromium] Run webkit_unit_tests as part of webkit-patch build-and-test
17864         https://bugs.webkit.org/show_bug.cgi?id=75988
17865
17866         Reviewed by Adam Barth.
17867
17868         * Scripts/webkitpy/common/config/ports.py:
17869         (WebKitPort.run_webkit_unit_tests_command):
17870         (WebKitPort):
17871         (ChromiumPort.run_webkit_unit_tests_command):
17872         (ChromiumPort):
17873         * Scripts/webkitpy/common/config/ports_mock.py:
17874         (MockPort.run_webkit_unit_tests_command):
17875         * Scripts/webkitpy/tool/commands/download_unittest.py:
17876         (DownloadCommandsTest.test_build_and_test):
17877         (test_land):
17878         (test_land_red_builders):
17879         * Scripts/webkitpy/tool/steps/runtests.py:
17880         (RunTests.run):
17881         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
17882
17883 2012-01-09  Dirk Pranke  <dpranke@chromium.org>
17884
17885         webkitpy: add os_name, os_version to platforminfo
17886         https://bugs.webkit.org/show_bug.cgi?id=75931
17887
17888         Reviewed by Eric Siedel.
17889
17890         As a first step in cleaning up the version parsing logic in
17891         webkitpy.layout_tests.port, this adds common routines for
17892         getting the os_name and os_version fields to the PlatformInfo
17893         class. Nothing uses them yet but I've added FIXME's to some of
17894         the code that needs to be deleted in the port files.
17895
17896         * Scripts/webkitpy/common/system/platforminfo.py:
17897         (PlatformInfo.__init__):
17898         (PlatformInfo):
17899         (PlatformInfo._determine_os_name):
17900         (PlatformInfo._determine_mac_version):
17901         (PlatformInfo._determine_linux_version):
17902         (PlatformInfo._determine_win_version):
17903         (PlatformInfo.display_name):
17904         (PlatformInfo.total_bytes_memory):
17905         (PlatformInfo._compute_bytes_from_vm_stat_output):
17906         (PlatformInfo.free_bytes_memory):
17907         * Scripts/webkitpy/common/system/platforminfo_unittest.py: Added.
17908         (TestPlatformInfo):
17909         (TestPlatformInfo.make_info):
17910         (TestPlatformInfo.make_info.mock_run_command):
17911         (TestPlatformInfo.setUp):
17912         (TestPlatformInfo.tearDown):
17913         (TestPlatformInfo.test_basic):
17914         (TestPlatformInfo.integration_test_basic):
17915         (TestPlatformInfo.test_display_name_mac):
17916         (TestPlatformInfo.test_display_name_win32):
17917         (TestPlatformInfo.test_memory_mac):
17918         (TestPlatformInfo.test_memory_win32):
17919         (TestPlatformInfo.test_determine_os_name):
17920         (TestPlatformInfo.test_determine_mac_version):
17921         (TestPlatformInfo.test_determine_linux_version):
17922         (TestPlatformInfo.test_determine_win_version_from_tuple):
17923         (TestPlatformInfo.test_determine_win_version_from_cmd):
17924         * Scripts/webkitpy/layout_tests/port/apple.py:
17925         (ApplePort.__init__):
17926         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
17927         (ChromiumMacPort.__init__):
17928         * Scripts/webkitpy/layout_tests/port/mac.py:
17929         (MacPort):
17930         * Scripts/webkitpy/layout_tests/port/win.py:
17931         (WinPort):
17932
17933 2012-01-10  Adam Roben  <aroben@apple.com>
17934
17935         Make it possible to type data: URLs into MiniBrowser on Windows
17936
17937         Fixes <http://webkit.org/b/75084> Crash when trying to navigate to a data: URL in
17938         MiniBrowser on Windows
17939
17940         Reviewed by Darin Adler.
17941
17942         * MiniBrowser/win/BrowserWindow.cpp:
17943         (BrowserWindow::handleMessage): Instead of checking for an "http://" prefix when deciding
17944         whether to prepend "http://", just look for whether the typed URL contains a colon. If it
17945         does, we assume it already has a scheme and don't modify it.
17946
17947 2012-01-10  Adam Roben  <aroben@apple.com>
17948
17949         Make MiniBrowser automatically escape invalid URL characters typed in its URL field
17950
17951         Fixes <http://webkit.org/b/75086> Crash when typing a data: URL containing double-quotes in
17952         MiniBrowser on Windows
17953
17954         Reviewed by Darin Adler.
17955
17956         * MiniBrowser/win/BrowserView.cpp:
17957         (BrowserView::goToURL): Pass the typed string through
17958         CFURLCreateStringByAddingPercentEscapes before trying to create a URL from it.
17959
17960 2012-01-10  Ben Wells  <benwells@chromium.org>
17961
17962         Adding myself (benwells) to committers.py
17963         https://bugs.webkit.org/show_bug.cgi?id=75971
17964
17965         Reviewed by Ojan Vafai.
17966
17967         * Scripts/webkitpy/common/config/committers.py:
17968
17969 2012-01-10  Mario Sanchez Prada  <msanchez@igalia.com>
17970
17971         AX: support helpText() in DumpRenderTree
17972         https://bugs.webkit.org/show_bug.cgi?id=40193
17973
17974         Reviewed by Chris Fleizach.
17975
17976         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
17977         (AccessibilityUIElement::helpText): Implemented.
17978
17979 2012-01-10  Sheriff Bot  <webkit.review.bot@gmail.com>
17980
17981         Unreviewed, rolling out r104572.
17982         http://trac.webkit.org/changeset/104572
17983         https://bugs.webkit.org/show_bug.cgi?id=75967
17984
17985         It broke zillion tests (Requested by Ossy on #webkit).
17986
17987         * DumpRenderTree/qt/EventSenderQt.cpp:
17988         (EventSender::EventSender):
17989         (EventSender::sendOrQueueEvent):
17990         (EventSender::replaySavedEvents):
17991         (EventSender::eventFilter):
17992         * DumpRenderTree/qt/EventSenderQt.h:
17993
17994 2012-01-10  Hugo Parente Lima  <hugo.lima@openbossa.org>
17995
17996         [Qt] fast/events/dont-loose-last-event test fails on WK1
17997         https://bugs.webkit.org/show_bug.cgi?id=73894
17998
17999         Reviewed by Simon Hausmann.
18000
18001         Empty the entire event queue when requested besides using
18002         sendEvent instead of postEvent to make sure all events were
18003         delivered.
18004         This commit also removes not working DRT code to handle drag and drop,
18005         for more refs see: https://bugs.webkit.org/show_bug.cgi?id=31332
18006
18007         * DumpRenderTree/qt/EventSenderQt.cpp:
18008         (EventSender::EventSender):
18009         (EventSender::sendOrQueueEvent):
18010         (EventSender::replaySavedEvents):
18011         * DumpRenderTree/qt/EventSenderQt.h:
18012
18013 2012-01-10  No'am Rosenthal  <noam.rosenthal@nokia.com>
18014
18015         [Qt] Enable CSS_FILTERS in Qt build
18016         https://bugs.webkit.org/show_bug.cgi?id=75777
18017
18018         Add the CSS_FILTERS feature flag to Qt.
18019
18020         Reviewed by Kenneth Rohde Christiansen.
18021
18022         * qmake/mkspecs/features/features.prf:
18023
18024 2012-01-10  Simon Hausmann  <simon.hausmann@nokia.com>
18025
18026         [Qt] Unreviewed -Werror build fix.
18027
18028         * MiniBrowser/qt/MiniBrowserApplication.cpp:
18029         (MiniBrowserApplication::MiniBrowserApplication): Re-order initialization to match
18030         declaration.
18031
18032 2012-01-10  Simon Hausmann  <simon.hausmann@nokia.com>
18033
18034         [Qt] Remove dependency to uitools
18035         https://bugs.webkit.org/show_bug.cgi?id=75952
18036
18037         Reviewed by Tor Arne Vestbø.
18038
18039         QUiLoader is used for creating QLabel/QProgressBar widgets for
18040         a layout test, to verify some widget embedding feature. Unfortunately
18041         in Qt 5, QUiLoader is part of qttools, which depends on webkit, which
18042         depends on qttools. Since we don't really _need_ QUiLoader for our tests,
18043         let's break the circular dependency.
18044
18045         * DumpRenderTree/qt/DumpRenderTree.pro:
18046         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
18047         (WebCore::WebPage::createPlugin):
18048         * QtTestBrowser/QtTestBrowser.pro:
18049         * QtTestBrowser/launcherwindow.h:
18050         * QtTestBrowser/webpage.cpp:
18051         (WebPage::createPlugin):
18052         * qmake/mkspecs/features/minimal_qt.prf:
18053         * qmake/mkspecs/features/uitools.prf: Removed.
18054
18055 2012-01-10  Alexander Færøy  <alexander.faeroy@nokia.com>
18056
18057         [Qt] Don't expose m_windowOptions as part of the public interface in MiniBrowserApplication
18058         https://bugs.webkit.org/show_bug.cgi?id=75894
18059
18060         Reviewed by Tor Arne Vestbø.
18061
18062         * MiniBrowser/qt/MiniBrowserApplication.h:
18063         (MiniBrowserApplication::windowOptions):
18064         * MiniBrowser/qt/main.cpp:
18065         (main):
18066
18067 2012-01-10  Simon Hausmann  <simon.hausmann@nokia.com>
18068
18069         [Qt] DRT crashes with Qt 5
18070         https://bugs.webkit.org/show_bug.cgi?id=75951
18071
18072         Reviewed by Ossy.
18073
18074         * DumpRenderTree/qt/fonts.conf: Add missing last-resort font fallback for Qt 5 where
18075         Qt relies on font-config to define the default font family.
18076
18077 2012-01-10  Csaba Osztrogonác  <ossy@webkit.org>
18078
18079         [Qt] REGRESSION(r100130): Clean build feature is broken.
18080         https://bugs.webkit.org/show_bug.cgi?id=75863
18081
18082         Reviewed by Tor Arne Vestbø.
18083
18084         * Scripts/webkitdirs.pm:
18085         (buildQMakeProject):
18086
18087 2012-01-10  Zeno Albisser  <zeno@webkit.org>
18088
18089         [Qt][WK2] Fix keyboard shortcuts in MiniBrowser.
18090         https://bugs.webkit.org/show_bug.cgi?id=75885
18091
18092         In QML events are propagated through parents. But since the
18093         WebView may consume key events, a shortcut might never reach
18094         the top QtQuickItem.
18095         Therefore an application wide event handling function in C++
18096         needs to take care of shortcuts for MiniBrowser.
18097
18098         Reviewed by Kenneth Rohde Christiansen.
18099
18100         * MiniBrowser/qt/BrowserWindow.cpp:
18101         (BrowserWindow::reload):
18102         (BrowserWindow::focusAddressBar):
18103         * MiniBrowser/qt/BrowserWindow.h:
18104         * MiniBrowser/qt/MiniBrowserApplication.cpp:
18105         (MiniBrowserApplication::notify):
18106         * MiniBrowser/qt/qml/BrowserWindow.qml:
18107
18108 2012-01-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
18109
18110         Add --efl alias for --platform=efl to run-webkit-test
18111         https://bugs.webkit.org/show_bug.cgi?id=75937
18112
18113         Reviewed by Andreas Kling.
18114         
18115         * Scripts/run-webkit-tests: Add --efl alias.
18116         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Add --efl alias.
18117         (parse_args):
18118
18119 2012-01-09  Dan Bernstein  <mitz@apple.com>
18120
18121         -[DOMRange renderedImageForcingBlackText:] fails with non-user-selectable text
18122         https://bugs.webkit.org/show_bug.cgi?id=75920
18123
18124         Reviewed by Darin Adler.
18125
18126         * TestWebKitAPI/Tests/mac/RenderedImageFromDOMRange.mm:
18127         (TestWebKitAPI::TEST): Added a test for a range in a
18128         -webkit-user-select: none; block.
18129
18130 2012-01-09  Dirk Pranke  <dpranke@chromium.org>
18131
18132         webkitpy.layout_tests.port.mock_drt_unittest.MockChromiumDRTTest has been failing on cr-win
18133         https://bugs.webkit.org/show_bug.cgi?id=75884
18134
18135         Reviewed by Ryosuke Niwa.
18136
18137         Fix regression introduced (revealed?) in r104340. Chromium file         
18138         url syntax is different on win32 and the test results weren't           
18139         expecting that.                                                         
18140
18141         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
18142         (TestExpectations._report_errors):
18143         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
18144         (test_parse_error_nonfatal):
18145         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
18146         (MockDRTTest.input_line):
18147         (MockChromiumDRTTest.test_pixeltest__fails):
18148         * Scripts/webkitpy/layout_tests/port/test.py:
18149         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
18150         (TestRebaseliner.make_rebaseliner):
18151         (TestRebaseliner.test_one_platform):
18152         (TestRebaseliner.test_all_platforms):
18153         (TestRebaseliner.test_png_file_with_comment):
18154         (TestRebaseliner.test_png_file_with_comment_remove_old_checksum):
18155         (TestRebaseliner.test_png_file_with_comment_as_duplicate):
18156         (TestRealMain.test_all_platforms):
18157
18158 2012-01-09  Dirk Pranke  <dpranke@chromium.org>
18159
18160         Fix regression in test-webkitpy introduced by removing the webkitpy/python24 directory.
18161
18162         Unreviewed, build fix.
18163
18164         test-webkitpy had a built-in self-test routine to verify that
18165         deleting the .pyc files worked correctly. When I removed the
18166         python24 directory in r104482, I broke the self-test.
18167
18168         I have deleted the self-test for now. Since I am reworking
18169         test-webkitpy I will make sure the new version is adequately
18170         tested.
18171
18172         * Scripts/test-webkitpy:
18173         (configure_logging):
18174         (_clean_pyc_files):
18175         (_clean_packages):
18176         (init):
18177
18178 2012-01-09  Justin Novosad  <junov@chromium.org>
18179
18180         [Chromium] remove all references to the legacy accelerated 2d Canvas
18181         implementation
18182         https://bugs.webkit.org/show_bug.cgi?id=75108
18183
18184         Purging an old settings flag that is no longer referenced
18185
18186         Reviewed by Darin Fisher.
18187
18188         * DumpRenderTree/chromium/DumpRenderTree.cpp:
18189         (main):
18190         * DumpRenderTree/chromium/TestShell.cpp:
18191         (TestShell::TestShell):
18192         (TestShell::resetWebSettings):
18193         * DumpRenderTree/chromium/TestShell.h:
18194         (TestShell::setAccelerated2dCanvasEnabled):
18195         * DumpRenderTree/chromium/WebPreferences.cpp:
18196         (WebPreferences::reset):
18197         (WebPreferences::applyTo):
18198         * DumpRenderTree/chromium/WebPreferences.h:
18199
18200 2012-01-09  Adam Roben  <aroben@apple.com>
18201
18202         Convert Cygwin paths to Windows paths before passing them to DRT
18203
18204         Fixes <http://webkit.org/b/64468> <rdar://problem/10663409> WIN: DumpRenderTree hangs under
18205         NRWT
18206
18207         I couldn't find a way to test this because I couldn't figure out how to override the
18208         cygpath function as it is used by WebKitDriver.
18209
18210         Reviewed by Dirk Pranke.
18211
18212         * Scripts/webkitpy/layout_tests/port/webkit.py:
18213         (WebKitDriver._command_from_driver_input): On Cygwin, convert the test's path to a
18214         Windows-style path before passing it to DRT.
18215
18216 2012-01-06  Dirk Pranke  <dpranke@chromium.org>
18217
18218         webkitpy: revamp version checking
18219         https://bugs.webkit.org/show_bug.cgi?id=75765
18220
18221         Reviewed by Adam Barth.
18222
18223         The version-checking code in webkitpy/python24/versioning seems really
18224         awkward and overdesigned, especially since we don't support python 2.4
18225         any more.
18226
18227         In addition, I am tired of getting warnings about Python 2.6 being "a
18228         newer release than what is supported" :).
18229
18230         I'm taking a page from the depot_tools python code and just creating a
18231         new webkitpy.common.version_check module that will print a message on
18232         stderr and call sys.exit() if we're running an unsupported version.
18233
18234         * Scripts/check-webkit-style:
18235         * Scripts/new-run-webkit-httpd:
18236         * Scripts/new-run-webkit-tests:
18237         * Scripts/rebaseline-chromium-webkit-tests:
18238         * Scripts/test-webkitpy:
18239         (configure_logging):
18240         (init):
18241         * Scripts/webkit-patch:
18242         (main):
18243         * Scripts/webkitpy/common/system/executive.py:
18244         (Executive._child_process_encoding):
18245         (Executive._should_encode_child_process_arguments):
18246         * Scripts/webkitpy/common/version_check.py: Copied from Tools/Scripts/rebaseline-chromium-webkit-tests.
18247         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
18248         * Scripts/webkitpy/python24/__init__.py: Removed.
18249         * Scripts/webkitpy/python24/versioning.py: Removed.
18250         * Scripts/webkitpy/python24/versioning_unittest.py: Removed.
18251
18252 2012-01-09  Adam Barth  <abarth@webkit.org>
18253
18254         Remove Chromium Mac CG from the flakiness dashboard
18255         https://bugs.webkit.org/show_bug.cgi?id=75873
18256
18257         Reviewed by Ojan Vafai.
18258
18259         This configuration no longer exists.
18260
18261         * TestResultServer/static-dashboards/builders.js:
18262         * TestResultServer/static-dashboards/flakiness_dashboard.html:
18263         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
18264         (testOverrideJustBuildType):
18265         (testPlatformAndBuildType):
18266
18267 2012-01-06  Adam Roben  <aroben@apple.com>
18268
18269         Print an error message when NRWT can't run Apache
18270
18271         Fixes <http://webkit.org/b/75712> NRWT mysteriously exits when Apache returns an error code
18272
18273         Reviewed by Dirk Pranke.
18274
18275         * Scripts/webkitpy/layout_tests/port/base.py:
18276         (Port.check_httpd): Print an error message when Apache returns an error code instead of
18277         failing silently.
18278
18279         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
18280         (PortTest.test_check_httpd_success): Test that we don't print anything when we successfully
18281         run Apache.
18282         (PortTest.test_httpd_returns_error_code): Test that we print an error message when Apache
18283         fails.
18284
18285 2012-01-09  Gabor Rapcsanyi  <rgabor@webkit.org>
18286
18287         [Gtk][ARM] Cross compiler buildbot is failing after r103040
18288         https://bugs.webkit.org/show_bug.cgi?id=75846
18289
18290         Reviewed by Philippe Normand.
18291
18292         * Scripts/webkitdirs.pm:
18293         (runAutogenForAutotoolsProjectIfNecessary):
18294
18295 2012-01-09  Alexander Færøy  <ahf@0x90.dk>
18296
18297         [Qt] Add support for dynamically enabling and disabling touch mocking in the Qt MiniBrowser
18298         https://bugs.webkit.org/show_bug.cgi?id=75807
18299
18300         This patch adds a new icon to navigationbar of the Qt MiniBrowser
18301         which allows you to dynamically toggle whether touch mocking is
18302         enabled or disabled.
18303
18304         Reviewed by Tor Arne Vestbø.
18305
18306         * MiniBrowser/qt/MiniBrowser.qrc:
18307         * MiniBrowser/qt/MiniBrowserApplication.cpp:
18308         (MiniBrowserApplication::notify):
18309         * MiniBrowser/qt/MiniBrowserApplication.h:
18310         (WindowOptions::WindowOptions):
18311         (WindowOptions::touchMockingEnabled):
18312         (WindowOptions::setTouchMockingEnabled):
18313         * MiniBrowser/qt/icons/touch.png: Added.
18314         * MiniBrowser/qt/qml/BrowserWindow.qml:
18315
18316 2012-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
18317
18318         Unreviewed. Fix make distcheck issues.
18319
18320         * MiniBrowser/gtk/GNUmakefile.am:
18321
18322 2012-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
18323
18324         Unreviewed, rolling out r104421.
18325         http://trac.webkit.org/changeset/104421
18326         https://bugs.webkit.org/show_bug.cgi?id=75816
18327
18328         Need to rebaseline some tests on Linux (Requested by noamr on
18329         #webkit).
18330
18331         * qmake/mkspecs/features/features.prf:
18332
18333 2012-01-08  Adam Barth  <abarth@webkit.org>
18334
18335         Remove support for Chromium Mac CG from garden-o-matic
18336         https://bugs.webkit.org/show_bug.cgi?id=75814
18337
18338         Reviewed by Eric Seidel.
18339
18340         This configuration no longer exists.  This patch is mostly a matter of
18341         updating config.js and removing the examples from the unit tests.
18342
18343         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
18344         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
18345         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
18346         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
18347         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
18348
18349 2012-01-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
18350
18351         [Qt] Enable CSS_FILTERS in Qt build
18352         https://bugs.webkit.org/show_bug.cgi?id=75777
18353
18354         Add the CSS_FILTERS feature flag to Qt.
18355
18356         Reviewed by Kenneth Rohde Christiansen.
18357
18358         * qmake/mkspecs/features/features.prf:
18359
18360 2012-01-08  Ryosuke Niwa  <rniwa@webkit.org>
18361
18362         Categorize bots by ports instead of core/non-core separation
18363         https://bugs.webkit.org/show_bug.cgi?id=75766
18364
18365         Reviewed by Eric Seidel.
18366
18367         Rename categorizes so as to preserve the original ordering of bots per Eric's suggestion
18368         (Chromium still comes before GTK and Qt).
18369
18370         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
18371         (loadBuilderConfig):
18372         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
18373
18374 2012-01-08  Ryosuke Niwa  <rniwa@webkit.org>
18375
18376         Remove the concept of core builders from webkitpy
18377         https://bugs.webkit.org/show_bug.cgi?id=75809
18378
18379         Reviewed by Ryosuke Niwa.
18380
18381         Treat all bots equally since core/non-core sepration has been removed from build.webkit.org,
18382         and remove the relevant code.
18383
18384         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
18385         (BuildBot.__init__):
18386         (BuildBot._matches_regexps):
18387         (BuildBot._builder_statuses_with_names_matching_regexps):
18388         (BuildBot.builder_statuses):
18389         (BuildBot.failure_map):
18390         (BuildBot._latest_builds_from_builders):
18391         (BuildBot.last_green_revision):
18392         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py:
18393         (MockBuildBot.builder_statuses):
18394         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
18395         (test_status_parsing):
18396         (test_last_green_revision):
18397         (test_last_green_revision.mock_builds_from_builders):
18398
18399 2012-01-08  Adam Barth  <abarth@webkit.org>
18400
18401         Remove Chromium Mac CG concept from webkitpy
18402         https://bugs.webkit.org/show_bug.cgi?id=75810
18403
18404         Reviewed by Ryosuke Niwa.
18405
18406         This configuration no longer exists.  We can remove all the supporting
18407         code from webkitpy.
18408
18409         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
18410         (BaselineOptimizerTest.test_move_baselines):
18411         (BaselineOptimizerTest.test_chromium_covers_mac_win_linux):
18412         (BaselineOptimizerTest.test_chromium_mac_redundant_with_apple_mac):
18413         (BaselineOptimizerTest.test_common_directory_includes_root):
18414         (BaselineOptimizerTest.test_complex_shadowing):
18415         * Scripts/webkitpy/common/config/build.py:
18416         (_should_file_trigger_build):
18417         * Scripts/webkitpy/common/config/build_unittest.py:
18418         (ShouldBuildTest):
18419         * Scripts/webkitpy/layout_tests/port/builders.py:
18420         * Scripts/webkitpy/layout_tests/port/chromium.py:
18421         (ChromiumPort):
18422         (ChromiumPort._generate_all_test_configurations):
18423         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
18424         (_default_tests_paths):
18425         (ChromiumGpuLinuxPort.tests):
18426         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
18427         (ChromiumGpuTest.integration_test_chromium_gpu_mac):
18428         (ChromiumGpuTest.assert_port_works):
18429         (ChromiumGpuTest.test_baseline_paths):
18430         (ChromiumGpuTest.test_graphics_type):
18431         (ChromiumGpuTest.test_default_tests_paths):
18432         (ChromiumGpuTest.test_test_files):
18433         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
18434         (ChromiumMacPort):
18435         (ChromiumMacPort.__init__):
18436         (ChromiumMacPort.baseline_search_path):
18437         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
18438         (ChromiumMacPortTest.test_graphics_type):
18439         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
18440         (ChromiumPortTest.test_all_test_configurations):
18441         * Scripts/webkitpy/layout_tests/port/dryrun.py:
18442         * Scripts/webkitpy/layout_tests/port/factory.py:
18443         (PortFactory._port_name_from_arguments_and_options):
18444         (PortFactory.get):
18445         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
18446         (FactoryTest.test_chromium_gpu_mac):
18447         (FactoryTest.test_chromium_mac):
18448         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
18449         (GetGoogleChromePortTest._verify_expectations_overrides):
18450         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
18451         (MockChromiumDRTTest.test_chromium_parse_options):
18452         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
18453         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
18454         (test_url_fetcher):
18455         (test_zip_factory):
18456         (test_archive):
18457         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
18458         (TestRebaseline.test_rebaseline_expectations):
18459
18460 2012-01-08  Ryosuke Niwa  <rniwa@webkit.org>
18461
18462         Categorize bots by ports instead of core/non-core separation
18463         https://bugs.webkit.org/show_bug.cgi?id=75766
18464
18465         Reviewed by Adam Barth.
18466
18467         Get rid of the concept of core/non-core builders, and categorize build bots by ports instead.
18468
18469         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
18470         (loadBuilderConfig):
18471         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
18472
18473 2012-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
18474
18475         Unreviewed, rolling out r104403.
18476         http://trac.webkit.org/changeset/104403
18477         https://bugs.webkit.org/show_bug.cgi?id=75803
18478
18479         It broke all tests on Qt5 (Requested by Ossy_weekend on
18480         #webkit).
18481
18482         * qmake/mkspecs/features/features.prf:
18483
18484 2012-01-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
18485
18486         [Qt] Enable CSS_FILTERS in Qt build
18487         https://bugs.webkit.org/show_bug.cgi?id=75777
18488
18489         Add the CSS_FILTERS feature flag to Qt.
18490
18491         Reviewed by Kenneth Rohde Christiansen.
18492
18493         * qmake/mkspecs/features/features.prf:
18494
18495 2012-01-04  Kentaro Hara  <haraken@chromium.org>
18496
18497         Rewrite the CSS parser of prepare-ChangeLog with unittests.
18498         https://bugs.webkit.org/show_bug.cgi?id=75202
18499
18500         Reviewed by David Kilzer.
18501
18502         The current CSS parser can just parse simple CSSes like
18503
18504             foo bar baz {
18505                 property1: value;
18506                 property2: value;
18507             }
18508
18509         , and cannot parse comments nor a CSS in which a selector and {
18510         appears in different lines. This patch rewrites the CSS parser
18511         (i.e. get_selector_line_ranges_for_css()) so that it can parse more CSSes
18512         shown in css_unittests.css.
18513
18514         Test: Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests.css
18515
18516         * Scripts/prepare-ChangeLog:
18517         (get_selector_line_ranges_for_css):
18518         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
18519         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests-expected.txt: Added.
18520         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests.css: Added.
18521         (element1):
18522         (element2):
18523         (element3):
18524         (element4.p):
18525         (element5.p.q.r.s):
18526         (element6#p):
18527         (element7 element8):
18528         (element9.p element10.q):
18529         (element11#p element12#q):
18530         (element13, element14):
18531         (.p):
18532         (#p):
18533         (.p element15 #q element16.r element17#s):
18534         (element18:target):
18535         (element19):
18536         (element20):
18537         (element21):
18538         (element22):
18539
18540 2012-01-04  Kentaro Hara  <haraken@chromium.org>
18541
18542         The Perl parser of prepare-ChangeLog can parse here-documents
18543         https://bugs.webkit.org/show_bug.cgi?id=73208
18544
18545         Reviewed by David Kilzer.
18546
18547         Currently prepare-ChangeLog cannot recognize here-documents in Perl,
18548         which results in wrong subroutine names in ChangeLogs.
18549         With this patch, prepare-ChangeLog can judge whether the line of "}"
18550         is the end of a subroutine or a line inside a here-document.
18551
18552         Test: Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl
18553
18554         * Scripts/prepare-ChangeLog:
18555         (get_function_line_ranges_for_perl):
18556         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests-expected.txt:
18557         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl:
18558         Added test cases for here-documents.
18559         (func7):
18560         (func8):
18561         (func9):
18562         (func10):
18563         (func11):
18564         (func12):
18565         (func13):
18566         (func14):
18567         (func15):
18568         (func16):
18569
18570 2012-01-08  Kentaro Hara  <haraken@chromium.org>
18571
18572         Add unittests for the JavaScript parser of prepare-ChangeLog
18573         https://bugs.webkit.org/show_bug.cgi?id=75201
18574
18575         Reviewed by David Kilzer.
18576
18577         javascript_unittests.js is a unittest for get_function_line_ranges_for_javascript()
18578         of prepare-ChangeLog.
18579
18580         * Scripts/prepare-ChangeLog:
18581         (get_function_line_ranges_for_javascript): Before this patch, a string found was just
18582         omitted from parsing. Thus,
18583
18584             str = "foo"
18585             function func() {
18586             }
18587
18588         was recognized as equivalent to
18589
18590             str = function func() {
18591             }
18592
18593         This patch replaces a string with a dummy identifier 'string_appeared_here'
18594         to tell the parser that a string appeared there.
18595
18596         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
18597         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt: Added.
18598         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js: Added.
18599         (func1):
18600         (func2):
18601         (func3):
18602         (func4):
18603         (func5):
18604         (func6):
18605         (func7):
18606         (func8):
18607         (func9):
18608         (func10):
18609         (func11):
18610         (func12):
18611         (funcOverloaded):
18612         (Func1.prototype.get x1):
18613         (Func1.prototype.get x2):
18614         (Func1.prototype.set x1):
18615         (Func1.prototype.set x3):
18616         (Func2.prototype.func13):
18617         (Func2.prototype.func14):
18618         (Func2.prototype.func15):
18619         (func16.func17):
18620         (func16.func18):
18621         (func16.func19):
18622         (func16):
18623
18624 2012-01-08  David Levin  <levin@chromium.org>
18625
18626         [chromium] Add layout test support for autosize code in FrameView.
18627         https://bugs.webkit.org/show_bug.cgi?id=73631
18628
18629         Reviewed by Dmitry Titov.
18630
18631         * DumpRenderTree/chromium/LayoutTestController.cpp:
18632         (LayoutTestController::LayoutTestController): Expose the new autoresize method.
18633         (LayoutTestController::reset): Set the autoresize mode back to false.
18634         (LayoutTestController::enableAutoResizeMode): A way to turn on autoresizing from javascript code in DumpRenderTree.
18635         * DumpRenderTree/chromium/LayoutTestController.h:
18636         * DumpRenderTree/chromium/WebViewHost.cpp:
18637         (WebViewHost::didAutoResize): Handle the autoresize callback so that the outer bounds change appropriately.
18638         * DumpRenderTree/chromium/WebViewHost.h:
18639
18640 2012-01-07  Zan Dobersek  <zandobersek@gmail.com>
18641
18642         [WK2][GTK] Each test takes roughly half a second to load
18643         https://bugs.webkit.org/show_bug.cgi?id=70699
18644
18645         Reviewed by Martin Robinson.
18646
18647         Set the XDG_CACHE_HOME environment variable when testing with
18648         WebKitTestRunner. This way the testing is started with a non-existing
18649         application cache. If the cache exists and is not empty, the emptying
18650         and vacuuming that is performed before every test can consume a lot of
18651         time.
18652
18653         This is just a temporary workaround until it becomes possible to set
18654         a desired directory to be used as the application cache location through
18655         WebKitWebContext.
18656
18657         * Scripts/webkitpy/layout_tests/port/gtk.py:
18658         (GtkPort.setup_environ_for_server):
18659
18660 2012-01-07  Zan Dobersek  <zandobersek@gmail.com>
18661
18662         [GTK] Enable requestAnimationFrame in build-webkit
18663         https://bugs.webkit.org/show_bug.cgi?id=75773
18664
18665         Reviewed by Martin Robinson.
18666
18667         Enable requestAnimationFrame for the Gtk port.
18668
18669         * Scripts/build-webkit:
18670
18671 2012-01-06  Jarred Nicholls  <jarred@sencha.com>
18672
18673         Unreviewed build-webkit fix for Chromium to properly use make if gyp generates Makefiles.
18674
18675         * Scripts/webkitdirs.pm:
18676         (buildChromium):
18677         Missing parentheses.
18678
18679 2012-01-06  Simon Fraser  <simon.fraser@apple.com>
18680
18681         Fix DRT build on case-sensitive file systems.
18682
18683         Fix case of include of WebDynamicScrollBarsView.h
18684         
18685         * DumpRenderTree/mac/DumpRenderTree.mm:
18686
18687 2012-01-06  Simon Fraser  <simon.fraser@apple.com>
18688
18689         Pixel results from DumpRenderTree and WebKitTestRunner don't match because of colorspace issues
18690         https://bugs.webkit.org/show_bug.cgi?id=75662
18691
18692         Reviewed by Dan Bernstein.
18693         
18694         The pixel results generated by DumpRenderTree and WebKitTestRunner differed because
18695         of color profile issues. Fix by keeping everything in device RGB and ensuring that the
18696         test window uses the main display's color space, so that the pixel values in the bitmap
18697         that gets checksummed are identical to the CSS colors.
18698         
18699         Removed the code that switches the display profile in DRT, since that is no longer required.
18700
18701         * DumpRenderTree/PixelDumpSupport.h: Remove unused function declarations.
18702         * DumpRenderTree/mac/DumpRenderTree.mm:
18703         (crashHandler): Remove code that switches display profiles.
18704         (prepareConsistentTestingEnvironment): Ditto.
18705         (dumpRenderTree): Ditto.
18706         * DumpRenderTree/mac/PixelDumpSupportMac.mm: Ditto.
18707         (createBitmapContext): Use DeviceRGB for the bitmap colorspace.
18708         (createBitmapContextFromWebView): Add comment about the colorspace handling.
18709         * WebKitTestRunner/cg/TestInvocationCG.cpp:
18710         (WTR::createCGContextFromImage): Use a RetainPtr, add comment.
18711         (WTR::computeMD5HashStringForContext): Simplify the #ifdefs around the braces.
18712         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
18713         (WTR::PlatformWebView::PlatformWebView): Set the window's colorspace to that of the main display.
18714         (WTR::PlatformWebView::windowSnapshotImage): Add comment about colorspaces.
18715
18716 2012-01-06  David Kilzer  <ddkilzer@apple.com>
18717
18718         run-api-tests: specify individual suites and tests on the command-line
18719
18720         Reviewed by Adam Roben.
18721
18722         Fixes: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
18723
18724         The run-api-tests script will now accept a list of arguments on
18725         the command-line that are used as prefix filters.  To run all
18726         tests in a suite that starts with "WTF" (WTF and WTF_Vector)
18727         use:
18728
18729             $ run-api-tests WTF
18730
18731         To run only the tests in the "WTF" suite, not the "WTF_Vector"
18732         suite, use:
18733
18734             $ run-api-tests WTF.
18735
18736         * Scripts/run-api-tests: Filter tests if any prefix arguments
18737         are passed on the command-line.
18738
18739 2012-01-06  David Kilzer  <ddkilzer@apple.com>
18740
18741         run-api-tests: change internal representation of tests to array of "SuiteName.TestName" strings
18742
18743         Reviewed by Adam Roben.
18744
18745         Part of: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
18746
18747         * Scripts/run-api-tests:
18748         (dumpTestsBySuite): Update to accept array of tests instead of
18749         hash data structure.
18750         (runTestsBySuite): Ditto.
18751         (listAllTests): Rename from populateTests().  Update to return
18752         an array of tests instad of the hash data structure.
18753
18754 2012-01-05  Dirk Pranke  <dpranke@chromium.org>
18755
18756         webkitpy: clean up test/uri conversion routines
18757         https://bugs.webkit.org/show_bug.cgi?id=75648
18758
18759         Reviewed by Eric Seidel.
18760
18761         This change moves test_to_uri and uri_to_test from the Port
18762         class to the Driver class (the routines were only being
18763         called by the drivers), and removes a bunch of stale and/or
18764         busted logic.
18765
18766         * Scripts/webkitpy/layout_tests/port/base.py:
18767         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
18768         * Scripts/webkitpy/layout_tests/port/chromium.py:
18769         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
18770         * Scripts/webkitpy/layout_tests/port/driver.py:
18771         (is_http_test):
18772         (test_to_uri):
18773         (uri_to_test):
18774         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
18775         (run_one_test):
18776         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
18777         (MockDRTTest.input_line):
18778         (input_line):
18779         (expected_output):
18780         * Scripts/webkitpy/layout_tests/port/test.py:
18781         * Scripts/webkitpy/layout_tests/port/webkit.py:
18782         (_command_from_driver_input):
18783
18784 2012-01-06  Simon Fraser  <simon.fraser@apple.com>
18785
18786         Mitigate scrollbar differences when running pixel tests
18787         https://bugs.webkit.org/show_bug.cgi?id=67217
18788
18789         Reviewed by Dan Bernstein.
18790         
18791         Add an NSScroller subclass that draws mock scrollbars identically
18792         to the WebCore mock scrollbar theme, and register it with the
18793         WebDynamicScrollbarsView.
18794
18795         * DumpRenderTree/mac/DumpRenderTree.mm:
18796         (-[DRTMockScroller rectForPart:]):
18797         (-[DRTMockScroller drawKnob]):
18798         (-[DRTMockScroller drawRect:]):
18799         (registerMockScrollbars):
18800         (prepareConsistentTestingEnvironment):
18801
18802 2012-01-05  Jon Lee  <jonlee@apple.com>
18803
18804         Update DRT on Mac to draw resize handles on text areas.
18805
18806         Reviewed by John Sullivan.
18807
18808         Enable resize handles on text areas so that we don't have to create two different sets of pixel test results,
18809         between WK1 and WK2. This will require rebaselining existing textarea pixel tests.
18810
18811         * DumpRenderTree/mac/DumpRenderTree.mm:
18812         (resetDefaultsToConsistentValues):
18813
18814 2012-01-06  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
18815
18816         [Qt] Move listing of include paths and libs to pri files in sources
18817
18818         Includepaths are sometimes modified by non-Qt contributors so keeping
18819         them in files inside Sources makes it more likely that they are updated
18820         along with project files for the other ports.
18821
18822         Using pri files instead of prf files for this also has the benefit that
18823         the include() from the main target file can be parsed and followed by
18824         Qt Creator -- something that does not work with load().
18825
18826         Dependency from a target to a library through the WEBKIT variable are
18827         handled through forwarding-files in Tools/qmake/mkspecs/modules, which
18828         set the source root of the module and include the right pri file.
18829
18830         Ideally we'd use the variant of include() that takes an optional
18831         namespace to read the variables into, or the fromfile() function,
18832         but both of these add an overhead of about 40% on the total qmake
18833         runtime, due to making a deep copy of all the variables in the
18834         project or re-reading all the prf files from scratch.
18835
18836         Reviewed by Simon Hausmann.
18837         Reviewed by Ossy.
18838
18839         * qmake/mkspecs/features/default_post.prf:
18840         * qmake/mkspecs/modules/javascriptcore.prf: Added.
18841         * qmake/mkspecs/modules/webcore.prf: Added.
18842         * qmake/mkspecs/modules/webkit2.prf: Added.
18843         * qmake/mkspecs/modules/wtf.prf: Added.
18844
18845 2012-01-06  JungJik Lee  <jungjik.lee@samsung.com>
18846
18847         [EFL] Add pre-render handling code in EWebLauncher.
18848         https://bugs.webkit.org/show_bug.cgi?id=73430
18849
18850         Reviewed by Zoltan Herczeg.
18851
18852         Add pre-render handling code by pressing Insert key.
18853
18854         * EWebLauncher/main.c:
18855         (on_key_down):
18856
18857 2012-01-06  Csaba Osztrogonác  <ossy@webkit.org>
18858
18859         NRWT should use test_expectation.txt on wk2 platforms
18860         https://bugs.webkit.org/show_bug.cgi?id=75417
18861
18862         Reviewed by Dirk Pranke.
18863
18864         * Scripts/webkitpy/layout_tests/port/webkit.py:
18865         (path_to_test_expectations_file):
18866         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
18867         (test_path_to_test_expectations_file):
18868
18869 2012-01-05  Jochen Eisinger  <jochen@chromium.org>
18870
18871         Don't hardcode expected file URIs in as they depend on the platform
18872         https://bugs.webkit.org/show_bug.cgi?id=75666
18873
18874         Reviewed by Dirk Pranke.
18875
18876         * Scripts/webkitpy/layout_tests/port/win.py:
18877         (WinPort.show_results_html_file):
18878         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
18879         (MainTest.test_unexpected_failures):
18880         (MainTest.test_results_directory_default):
18881         (MainTest.test_results_directory_relative):
18882
18883 2012-01-05  Anders Carlsson  <andersca@apple.com>
18884
18885         Crash when trying to invalidate the NPRuntimeObjectMap for a plug-in in a subframe
18886         https://bugs.webkit.org/show_bug.cgi?id=75667
18887         <rdar://problem/10389454>
18888
18889         Reviewed by Kevin Decker.
18890
18891         Add an evaluate method to the plug-in test scriptable object that can be used to evaluate a given JS string.
18892
18893         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
18894         (PluginTest::executeScript):
18895         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
18896         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp:
18897         (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::hasMethod):
18898         (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::invoke):
18899         (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::hasProperty):
18900
18901 2012-01-05  Dirk Pranke  <dpranke@chromium.org>
18902
18903         webkitpy: clean up port factory methods
18904         https://bugs.webkit.org/show_bug.cgi?id=75590
18905
18906         Reviewed by Eric Seidel.
18907
18908         This change consolidates much of the "factory method" logic
18909         of determining which port objects to create for a given set
18910         of configurations by merging the separate factory methods in
18911         chromium_gpu and google_chrome into PortFactory so that at least
18912         all of the logic is in one place.
18913
18914         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
18915         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
18916         * Scripts/webkitpy/layout_tests/port/factory.py:
18917         (_port_name_from_arguments_and_options):
18918         (get):
18919         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
18920         (test_google_chrome):
18921         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
18922         (GoogleChromeLinux32Port):
18923         (GoogleChromeLinux32Port.baseline_search_path):
18924         (test_expectations_overrides):
18925         (architecture):
18926         (GoogleChromeLinux64Port):
18927         (GoogleChromeLinux64Port.baseline_search_path):
18928         (GoogleChromeMacPort):
18929         (GoogleChromeMacPort.baseline_search_path):
18930         (GoogleChromeWinPort):
18931         (GoogleChromeWinPort.baseline_search_path):
18932         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
18933         (_verify_baseline_path):
18934
18935 2012-01-05  Jochen Eisinger  <jochen@chromium.org>
18936
18937         Replace webkitpy.common.system.filesystem.file_path_as_url with webkitpy.common.system.path.abspath_to_uri
18938         https://bugs.webkit.org/show_bug.cgi?id=75617
18939
18940         Reviewed by Dirk Pranke.
18941
18942         * Scripts/webkitpy/common/system/filesystem.py:
18943         (FileSystem.exists):
18944         * Scripts/webkitpy/common/system/filesystem_mock.py:
18945         (MockFileSystem.exists):
18946         * Scripts/webkitpy/common/system/filesystem_unittest.py:
18947         (GenericFileSystemTests.teardown_generic_test_dir):
18948         * Scripts/webkitpy/layout_tests/port/base.py:
18949         (Port.to.show_results_html_file):
18950         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
18951         (MainTest.test_results_directory_absolute):
18952
18953 2012-01-05  Adam Roben  <aroben@apple.com>
18954
18955         Remove some unnecessary code from old-run-webkit-tests
18956
18957         Thanks to r104187/r104188, we no longer need to set PATH before launching DumpRenderTree or
18958         WebKitTestRunner.
18959
18960         Fixes <http://webkit.org/b/75640> ORWT unnecessarily sets PATH before launching DRT/WTR on
18961         Windows
18962
18963         Reviewed by Eric Seidel.
18964
18965         * Scripts/old-run-webkit-tests:
18966         (top level):
18967         (openDumpTool):
18968         Removed calls to setPathForRunningWebKitApp.
18969
18970 2012-01-05  Adam Roben  <aroben@apple.com>
18971
18972         Teach NRWT to use run-safari to open results.html on Apple's Windows port
18973
18974         NRWT was trying to use User.open_url, which doesn't work on Cygwin. But run-safari is
18975         better, since we always want to open results.html using the user's build of WebKit, not
18976         whatever their default browser is.
18977
18978         Fixes <http://webkit.org/b/75629> <rdar://problem/10648621> NRWT fails to open results.html
18979         for Apple's Windows port
18980
18981         Reviewed by Eric Seidel.
18982
18983         * Scripts/webkitpy/layout_tests/port/win.py:
18984         (WinPort.show_results_html_file): Changed to use run_safari, like MacPort does. Also removed
18985         an obsolete comment.
18986
18987         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
18988         (WinPortTest.test_show_results_html_file): Updated expected results.
18989
18990 2012-01-05  Adam Roben  <aroben@apple.com>
18991
18992         Prepend Safari.exe's path to the command-line passed to CreateProcess
18993
18994         Safari expects the first argument in the command-line to be the path to Safari.exe itself.
18995         This is how things get set up when Safari is launched normally (e.g., by Explorer). Safari
18996         thus ignores the first argument when looking for command-line arguments. WebKitLauncherWin
18997         was not including the path to Safari.exe in the command-line, so Safari was ignoring the
18998         first argument that WebKitLauncherWin was trying to pass to it.
18999
19000         Fixes <http://webkit.org/b/56571> First argument passed to WebKit.exe is ignored by Safari
19001
19002         Reviewed by Steve Falkenburg.
19003
19004         * WebKitLauncherWin/WebKitLauncherWin.cpp:
19005         (_tWinMain): Construct a command-line for CreateProcess that first contains a double-quoted
19006         path to Safari.exe, then contains any arguments that were passed to WebKitLauncherWin.
19007
19008 2012-01-05  Adam Roben  <aroben@apple.com>
19009
19010         Stop using explicit memory management in WebKitLauncherWin
19011
19012         We now use stack-allocated STL objects instead.
19013
19014         Prep work for <http://webkit.org/b/56571> First argument passed to WebKit.exe is ignored by
19015         Safari
19016
19017         Reviewed by Steve Falkenburg.
19018
19019         * WebKitLauncherWin/WebKitLauncherWin.cpp:
19020         (getStringValue):
19021         (applePathFromRegistry):
19022         (safariInstallDir):
19023         (safariBrowserExe):
19024         (_tWinMain):
19025         Changed to use stack-allocated STL objects instead of malloc/free.
19026
19027 2012-01-05  Adam Roben  <aroben@apple.com>
19028
19029         Turn WebKitTestRunner into a stub .exe launcher and a .dll that contains all the real code
19030
19031         This allows us to add the Safari and Apple Application Support directories to PATH before
19032         trying to load WebKit so that SafariTheme.dll, CoreGraphics.dll and friends can be found.
19033
19034         Fixes <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
19035         Windows port of DumpRenderTree/WebKitTestRunner
19036
19037         Reviewed by Steve Falkenburg.
19038
19039         * WebKitTestRunner/WebKitTestRunner.sln: Added WebKitTestRunnerLauncher and
19040         ImageDiffLauncher, which I forgot to add to this .sln when that project was created.
19041
19042         * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
19043         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
19044         Changed to build WebKitTestRunner.dll instead of WebKitTestRunner.exe.
19045
19046         * WebKitTestRunner/win/WebKitTestRunnerLauncher.vcproj: Copied from
19047         Tools/WebKitTestRunner/win/WebKitTestRunner.vcproj but changed to build
19048         the stub launcher.
19049
19050         * WebKitTestRunner/win/WebKitTestRunnerLauncherCommon.vsprops: Added.
19051         * WebKitTestRunner/win/WebKitTestRunnerLauncherDebug.vsprops: Added.
19052         * WebKitTestRunner/win/WebKitTestRunnerLauncherDebugAll.vsprops: Added.
19053         * WebKitTestRunner/win/WebKitTestRunnerLauncherDebugCairoCFLite.vsprops: Added.
19054         * WebKitTestRunner/win/WebKitTestRunnerLauncherProduction.vsprops: Added.
19055         * WebKitTestRunner/win/WebKitTestRunnerLauncherRelease.vsprops: Added.
19056         * WebKitTestRunner/win/WebKitTestRunnerLauncherReleaseCairoCFLite.vsprops: Added.
19057
19058         * WebKitTestRunner/win/main.cpp:
19059         (dllLauncherEntryPoint): Renamed from main. This is what the stub launcher calls.
19060
19061 2012-01-05  Adam Roben  <aroben@apple.com>
19062
19063         Turn DumpRenderTree into a stub .exe launcher and a .dll that contains all the real code
19064
19065         This allows us to add the Safari and Apple Application Support directories to PATH before
19066         trying to load WebKit so that SafariTheme.dll, CoreGraphics.dll and friends can be found.
19067
19068         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
19069         Windows port of DumpRenderTree/WebKitTestRunner
19070
19071         Reviewed by Steve Falkenburg.
19072
19073         * DumpRenderTree/DumpRenderTree.sln: Added DumpRenderTreeLauncher and ImageDiffLauncher,
19074         which I forgot to add to this .sln when that project was created.
19075
19076         * DumpRenderTree/win/DumpRenderTree.cpp:
19077         (dllLauncherEntryPoint): Renamed from main. This is what the stub launcher calls.
19078
19079         * DumpRenderTree/win/DumpRenderTree.vcproj:
19080         * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
19081         Changed to build DumpRenderTree.dll instead of DumpRenderTree.exe.
19082
19083         * DumpRenderTree/win/DumpRenderTreeLauncher.vcproj: Added.
19084         * DumpRenderTree/win/DumpRenderTreeLauncherCommon.vsprops: Added.
19085         * DumpRenderTree/win/DumpRenderTreeLauncherDebug.vsprops: Added.
19086         * DumpRenderTree/win/DumpRenderTreeLauncherDebugAll.vsprops: Added.
19087         * DumpRenderTree/win/DumpRenderTreeLauncherDebugCairoCFLite.vsprops: Added.
19088         * DumpRenderTree/win/DumpRenderTreeLauncherProduction.vsprops: Added.
19089         * DumpRenderTree/win/DumpRenderTreeLauncherRelease.vsprops: Added.
19090         * DumpRenderTree/win/DumpRenderTreeLauncherReleaseCairoCFLite.vsprops: Added.
19091
19092         * win/DLLLauncher/DLLLauncherMain.cpp:
19093         (modifyPath): Moved code to modify PATH here from main/wWinMain. Changed to also prepend
19094         Safari's directory to PATH so that SafariTheme.dll can be found.
19095
19096         (main):
19097         (wWinMain):
19098         Changed to use the new modifyPath function.
19099
19100 2012-01-05  Alexander Færøy  <alexander.faeroy@nokia.com>
19101
19102         [Qt] Never enable FontConfig on Mac OS X
19103         https://bugs.webkit.org/show_bug.cgi?id=75616
19104
19105         Reviewed by Tor Arne Vestbø.
19106
19107         * qmake/mkspecs/features/features.prf:
19108
19109 2012-01-05  Alpha Lam  <hclam@chromium.org>
19110
19111         Unreviewed, rolling out r104159.
19112         http://trac.webkit.org/changeset/104159
19113         https://bugs.webkit.org/show_bug.cgi?id=75590
19114
19115         Chromium port GPU tests cannot be executed.
19116
19117         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
19118         (get):
19119         (_default_tests_paths):
19120         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
19121         (ChromiumGpuTest.assert_port_works):
19122         * Scripts/webkitpy/layout_tests/port/factory.py:
19123         (PortFactory._port_name_from_arguments_and_options):
19124         (PortFactory):
19125         (PortFactory._get_kwargs):
19126         (PortFactory.get):
19127         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
19128         (FactoryTest.test_google_chrome.names):
19129         (FactoryTest.test_google_chrome):
19130         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
19131         (GetGoogleChromePort):
19132         (GetGoogleChromePort.GoogleChromeLinux32Port):
19133         (GetGoogleChromePort.GoogleChromeLinux32Port.baseline_search_path):
19134         (GetGoogleChromePort.GoogleChromeLinux32Port.test_expectations_overrides):
19135         (GetGoogleChromePort.GoogleChromeLinux32Port.architecture):
19136         (GetGoogleChromePort.GoogleChromeLinux64Port):
19137         (GetGoogleChromePort.GoogleChromeLinux64Port.baseline_search_path):
19138         (GetGoogleChromePort.GoogleChromeLinux64Port.test_expectations_overrides):
19139         (GetGoogleChromePort.GoogleChromeLinux64Port.architecture):
19140         (GetGoogleChromePort.GoogleChromeMacPort):
19141         (GetGoogleChromePort.GoogleChromeMacPort.baseline_search_path):
19142         (GetGoogleChromePort.GoogleChromeMacPort.test_expectations_overrides):
19143         (GetGoogleChromePort.GoogleChromeWinPort):
19144         (GetGoogleChromePort.GoogleChromeWinPort.baseline_search_path):
19145         (GetGoogleChromePort.GoogleChromeWinPort.test_expectations_overrides):
19146         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
19147         (GetGoogleChromePortTest._verify_baseline_path):
19148         (GetGoogleChromePortTest._verify_expectations_overrides):
19149
19150 2012-01-05  Dirk Pranke  <dpranke@chromium.org>
19151
19152         webkitpy: clean up port factory methods
19153         https://bugs.webkit.org/show_bug.cgi?id=75590
19154
19155         Reviewed by Eric Seidel.
19156
19157         This change consolidates much of the "factory method" logic
19158         of determining which port objects to create for a given set
19159         of configurations by merging the separate factory methods in
19160         chromium_gpu and google_chrome into PortFactory so that at least
19161         all of the logic is in one place.
19162
19163         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
19164         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
19165         * Scripts/webkitpy/layout_tests/port/factory.py:
19166         (_port_name_from_arguments_and_options):
19167         (get):
19168         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
19169         (test_google_chrome):
19170         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
19171         (GoogleChromeLinux32Port):
19172         (GoogleChromeLinux32Port.baseline_search_path):
19173         (test_expectations_overrides):
19174         (architecture):
19175         (GoogleChromeLinux64Port):
19176         (GoogleChromeLinux64Port.baseline_search_path):
19177         (GoogleChromeMacPort):
19178         (GoogleChromeMacPort.baseline_search_path):
19179         (GoogleChromeWinPort):
19180         (GoogleChromeWinPort.baseline_search_path):
19181         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
19182         (_verify_baseline_path):
19183
19184 2012-01-04  Adam Roben  <aroben@apple.com>
19185
19186         Turn ImageDiff into a stub .exe launcher and a .dll that contains all the real code
19187
19188         This allows us to add the Apple Application Support directory to PATH before trying to load
19189         WebKit so that CoreGraphics.dll and friends can be found.
19190
19191         Fixes <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH
19192
19193         Reviewed by Anders Carlsson.
19194
19195         * DumpRenderTree/win/ImageDiff.vcproj:
19196         * DumpRenderTree/win/ImageDiffCommon.vsprops:
19197         Changed to build ImageDiff.dll instead of ImageDiff.exe.
19198
19199         * DumpRenderTree/win/ImageDiffLauncher.vcproj: Copied from
19200         Tools/DumpRenderTree/win/ImageDiff.vcproj but changed to build the stub launcher.
19201
19202         * DumpRenderTree/win/ImageDiffLauncherCommon.vsprops: Added.
19203         * DumpRenderTree/win/ImageDiffLauncherDebug.vsprops: Added.
19204         * DumpRenderTree/win/ImageDiffLauncherDebugAll.vsprops: Added.
19205         * DumpRenderTree/win/ImageDiffLauncherDebugCairoCFLite.vsprops: Added.
19206         * DumpRenderTree/win/ImageDiffLauncherProduction.vsprops: Added.
19207         * DumpRenderTree/win/ImageDiffLauncherRelease.vsprops: Added.
19208         * DumpRenderTree/win/ImageDiffLauncherReleaseCairoCFLite.vsprops: Added.
19209
19210         * DumpRenderTree/win/ImageDiffWin.cpp: Added.
19211         (dllLauncherEntryPoint): This function is called by the stub launcher and just calls through
19212         to main.
19213
19214         * win/DLLLauncher/DLLLauncherMain.cpp:
19215         (main):
19216         (wWinMain):
19217         Added support for launching console programs. When USE_CONSOLE_ENTRY_POINT is defined, the
19218         stub launcher acts as a console program and calls a console version of
19219         dllLauncherEntryPoint.
19220
19221 2012-01-04  Adam Roben  <aroben@apple.com>
19222
19223         Turn MiniBrowser into a stub .exe launcher and a .dll that contains all the real code
19224
19225         This allows us to add the Apple Application Support directory to PATH before trying to load
19226         WebKit so that CoreGraphics.dll and friends can be found.
19227
19228         Fixes <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch when
19229         double-clicked
19230
19231         Reviewed by Anders Carlsson.
19232
19233         * MiniBrowser/MiniBrowser.vcproj:
19234         * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
19235         Changed to build MiniBrowser.dll instead of MiniBrowser.exe.
19236
19237         * MiniBrowser/Configurations/MiniBrowserLauncherCommon.vsprops: Added.
19238         * MiniBrowser/Configurations/MiniBrowserLauncherDebug.vsprops: Added.
19239         * MiniBrowser/Configurations/MiniBrowserLauncherDebugAll.vsprops: Added.
19240         * MiniBrowser/Configurations/MiniBrowserLauncherDebugCairoCFLite.vsprops: Added.
19241         * MiniBrowser/Configurations/MiniBrowserLauncherProduction.vsprops: Added.
19242         * MiniBrowser/Configurations/MiniBrowserLauncherRelease.vsprops: Added.
19243         * MiniBrowser/Configurations/MiniBrowserLauncherReleaseCairoCFLite.vsprops: Added.
19244
19245         * MiniBrowser/MiniBrowserLauncher.vcproj: Copied from Tools/MiniBrowser/MiniBrowser.vcproj
19246         but changed to build the stub launcher.
19247
19248         * MiniBrowser/win/main.cpp: Moved the /manifestdependency code to DLLLauncherMain.cpp, since
19249         it needs to be compiled into the .exe instead of the .dll.
19250         (DllMain): Added. We use this to store the DLL's HINSTANCE.
19251         (dllLauncherEntryPoint): Renamed from _tWinMain. This is what gets called by the
19252         DLLLauncherMain code.
19253
19254         * win/DLLLauncher/DLLLauncherMain.cpp: Moved the /manifestdependency code from MiniBrowser
19255         to here.
19256
19257 2012-01-04  Adam Roben  <aroben@apple.com>
19258
19259         Make WinLauncher's window frame respond to clicks/drags again
19260
19261         Fixes <http://webkit.org/b/75562> REGRESSION (r84990): Can't drag WinLauncher by its title
19262         bar when Aero is disabled
19263
19264         Reviewed by Brent Fulgham.
19265
19266         * WinLauncher/WinLauncher.cpp:
19267         (WndProc): Always call up to our parent wndproc when we don't handle WM_NCHITTEST ourselves.
19268         Also removed an unnecessary "break" keyword.
19269
19270 2012-01-04  Adam Roben  <aroben@apple.com>
19271
19272         Turn WinLauncher into a stub .exe launcher and a .dll that contains all the real code
19273
19274         This allows us to add the Apple Application Support directory to PATH before trying to load
19275         WebKit so that CoreGraphics.dll and friends can be found. Eventually all our WebKit apps
19276         should use this mechanism.
19277
19278         Fixes <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch when
19279         double-clicked
19280
19281         Reviewed by Anders Carlsson.
19282
19283         * WinLauncher/WinLauncher.cpp: Removed InitInstance.
19284         (DllMain): Added. Stores the DLL HINSTANCE in the global hInst variable. This used to be
19285         done by the now-removed InitInstance function.
19286         (dllLauncherEntryPoint): Renamed from _tWinMain. This is the function that our stub launcher
19287         calls. Merged code from InitInstance into this function, and change to use the global hInst
19288         variable, which corresponds to WinLauncher.dll, rather than the HINSTANCE passed into this
19289         function, which corresponds to WinLauncher.exe.
19290
19291         * WinLauncher/WinLauncher.vcproj:
19292         * WinLauncher/WinLauncherCommon.vsprops:
19293         Changed to build WinLauncher.dll instead of WinLauncher.exe.
19294
19295         * WinLauncher/WinLauncherLauncher.rc: Added.
19296         * WinLauncher/WinLauncherLauncherResource.h: Added.
19297         This just references the WinLauncher.ico file to set the application icon (though it looks
19298         like that's a default icon).
19299
19300         * WinLauncher/WinLauncherLauncher.vcproj: Copied from Tools/WinLauncher/WinLauncher.vcproj
19301         but changed to build WinLauncher.exe using the new DLLLauncherMain.cpp file.
19302
19303         * WinLauncher/WinLauncherLauncherCommon.vsprops: Added.
19304         * WinLauncher/WinLauncherLauncherDebug.vsprops: Added.
19305         * WinLauncher/WinLauncherLauncherDebugAll.vsprops: Added.
19306         * WinLauncher/WinLauncherLauncherDebugCairoCFLite.vsprops: Added.
19307         * WinLauncher/WinLauncherLauncherProduction.vsprops: Added.
19308         * WinLauncher/WinLauncherLauncherRelease.vsprops: Added.
19309         * WinLauncher/WinLauncherLauncherReleaseCairoCFLite.vsprops: Added.
19310
19311         * win/DLLLauncher/DLLLauncherMain.cpp: Added.
19312         (enableTerminationOnHeapCorruption): Uses HeapSetInformation to tell Windows to kill the
19313         program if it detects heap corruption.
19314         (getStringValue): Helper function to read a string value from the registry.
19315         (applePathFromRegistry): Helper function to read the InstallDir for a given Apple
19316         application from the registry.
19317         (appleApplicationSupportDirectory): Helper function to return the path to the Apple
19318         Application Support directory.
19319         (copyEnvironmentVariable): Helper function to copy an environment variable's value.
19320         (prependPath): Helper function to prepend a directory to the PATH.
19321         (fatalError): Helper function to display an error to the user.
19322         (wWinMain): Add Apple Application Support to the PATH, then load our DLL and call its
19323         dllLauncherEntryPoint function.
19324
19325 2012-01-05  Kentaro Hara  <haraken@chromium.org>
19326
19327         prepare-ChangeLog cannot parse python code that nests classes and defs
19328         https://bugs.webkit.org/show_bug.cgi?id=75524
19329
19330         Reviewed by Ryosuke Niwa.
19331
19332         This patch fixes the python parser of prepare-ChangeLog so that it can parse
19333         python code that nests classes and defs, like this:
19334
19335         class C:
19336             pass
19337             def f():
19338                 pass
19339             pass
19340
19341         Also, this patch fixes the python parser so that it inserts a dummy line
19342         at the end of the file to pop out all popped scopes.
19343
19344         * Scripts/prepare-ChangeLog:
19345         (get_function_line_ranges_for_python):
19346
19347         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests.py:
19348         Added test cases that nest classes and defs.
19349         (func7):
19350         (func7.func8):
19351         (func7.func8.func9):
19352         (Class2):
19353         (Class2.Class3):
19354         (Class2.Class3.Class4):
19355         (Class5):
19356         (Class5.func10):
19357         (Class5.func11):
19358         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests-expected.txt:
19359
19360 2012-01-05  Carlos Garcia Campos  <cgarcia@igalia.com>
19361
19362         [GTK] Rename webkit_web_view_load_alternate_html as webkit_web_view_replace_content in WebKit2 GTK+
19363         https://bugs.webkit.org/show_bug.cgi?id=75433
19364
19365         Reviewed by Martin Robinson.
19366
19367         * MiniBrowser/gtk/BrowserWindow.c:
19368         (webViewLoadFailed): Reset the progress bar when load fails.
19369         (browserWindowConstructed): Connect to load-failed signal.
19370
19371 2012-01-04  Dan Bernstein  <mitz@apple.com>
19372
19373         Add a --target-web-process option to the debug-* scripts. When specified, the scripts will
19374         start WebProcess under gdb and WebProcess will then run the client executable.
19375
19376         This is the Tools part of fixing <http://webkit.org/b/75444> Debugging WebProcess requires running a UI process first and waiting to attach
19377
19378         Reviewed by Anders Carlsson.
19379
19380         * Scripts/webkitdirs.pm:
19381         (shouldTargetWebProcess): Added.
19382         (determineShouldTargetWebProcess): Added. Checks for --target-web-process.
19383         (execMacWebKitAppForDebugging): Changed to target gdb at WebProcess and pass the path to the
19384         app using the -client-executable option if targeting the web process.
19385
19386 2012-01-04  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
19387
19388         Adding myself to committers list.
19389
19390         Unreviewed.
19391
19392         * Scripts/webkitpy/common/config/committers.py:
19393
19394 2012-01-04  David Kilzer  <ddkilzer@apple.com>
19395
19396         Revert fix for Bug 75064: TestWebKitAPI: initialize the main thread before running tests
19397
19398         This reverts commit r103546.
19399
19400         * TestWebKitAPI/TestsController.cpp:
19401         (TestWebKitAPI::TestsController::TestsController):
19402
19403 2012-01-04  James Robinson  <jamesr@chromium.org>
19404
19405         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
19406         https://bugs.webkit.org/show_bug.cgi?id=74583
19407
19408         Reviewed by Darin Fisher.
19409
19410         Teaches the WEBKIT_EXPORT check about the chromium WebKit platform API header location.
19411
19412         * Scripts/webkitpy/style/checkers/cpp.py:
19413         (check_function_definition):
19414
19415 2012-01-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
19416
19417         [Qt] Fix link order of static libraries and unbreak QtWin32
19418
19419         We were keeping the correct static link order between the intermediate
19420         WebKit libraries, but not the internal dependencies for each of those
19421         libraries. The load() will in some instances mess with LIBS, so we need
19422         to ensure that the dependent libraries are added after the library we
19423         are linking against.
19424
19425         Reviewed by Simon Hausmann.
19426
19427         * qmake/mkspecs/features/default_post.prf:
19428
19429 2012-01-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
19430
19431         [Qt] Introduce new qmake variable 'WEBKIT' for signaling dependencies
19432
19433         The custom qmake variable 'WEBKIT' is used for signaling that a
19434         target depends in some way on other subproject of the WebKit
19435         project. For now this is limited to the set of intermediate
19436         libraries: wtf, javascriptcore, webcore, and webkit2.
19437
19438         This replaces the previous convension of using load(foo) for
19439         just include paths, and CONFIG += foo to also link against foo.
19440
19441         Adding a dependency results in additional include paths being
19442         available, and potentially linking to the library. This is
19443         decided by the build system based on conditions such as what
19444         kind of target is being built and the general build config.
19445
19446         An advantage to his approach is that it simplifies the individual
19447         foo.prf files, for example by allowing us to use INCLUDEPATH +=
19448         and LIBS += as normal instead of prepending.
19449
19450         Reviewed by Simon Hausmann.
19451
19452         * DumpRenderTree/qt/DumpRenderTree.pro:
19453         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
19454         * QtTestBrowser/QtTestBrowser.pro:
19455         * WebKitTestRunner/InjectedBundle/Target.pri:
19456         * WebKitTestRunner/Target.pri:
19457         * qmake/README:
19458         * qmake/mkspecs/features/default_post.prf:
19459         * qmake/mkspecs/features/functions.prf:
19460         * qmake/mkspecs/features/javascriptcore.prf:
19461         * qmake/mkspecs/features/qtwebkit.prf:
19462         * qmake/mkspecs/features/webcore.prf:
19463         * qmake/mkspecs/features/webkit2.prf:
19464         * qmake/mkspecs/features/wtf.prf:
19465
19466 2012-01-04  Alexander Færøy  <ahf@0x90.dk>
19467
19468         [Qt] Add UI for JavaScript Prompt dialog in the Qt MiniBrowser
19469         https://bugs.webkit.org/show_bug.cgi?id=75488
19470
19471         Reviewed by Tor Arne Vestbø.
19472
19473         * MiniBrowser/qt/MiniBrowser.qrc:
19474         * MiniBrowser/qt/qml/BrowserWindow.qml:
19475         * MiniBrowser/qt/qml/Dialog.qml:
19476         * MiniBrowser/qt/qml/DialogLineInput.qml: Copied from Tools/MiniBrowser/qt/qml/Dialog.qml.
19477         * MiniBrowser/qt/qml/PromptDialog.qml: Copied from Tools/MiniBrowser/qt/qml/Dialog.qml.
19478
19479 2012-01-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
19480
19481         [Qt] Use rpath for WTR's InjectedBundle to pick up the right QtWebKit
19482
19483         It wasn't really a problem at runtime since the right QtWebKit was
19484         already loaded as a dependency of the web process, but the ldd output
19485         would still be busted.
19486
19487         Reviewed by Simon Hausmann.
19488
19489         * WebKitTestRunner/InjectedBundle/Target.pri:
19490
19491 2012-01-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
19492
19493         [Qt] Move use of $$qtLibraryTarget() to a single place
19494
19495         Reviewed by Kenneth Rohde Christiansen.
19496
19497         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
19498         * WebKitTestRunner/InjectedBundle/Target.pri:
19499         * qmake/mkspecs/features/default_post.prf:
19500         * qmake/mkspecs/features/webcore.prf:
19501
19502 2012-01-04  Mary Wu  <mary.wu@torchmobile.com.cn>
19503
19504         Enable DOWNLOAD_ATTRIBUTE in BlackBerry porting
19505         https://bugs.webkit.org/show_bug.cgi?id=75238
19506
19507         Reviewed by Antonio Gomes.
19508
19509         Add ENABLE_DOWNLOAD_ATTRIBUTE webkit feature into the build script so that 
19510         it could initiate download directly if it has the download attribute in the link 
19511         and doesn't need to open new blank page for the target="_blank". Enabling this 
19512         feature in the BlackBerry porting also prepares for later blob feature implementation.
19513
19514         * Scripts/build-webkit: Modified to handle ENABLE_DOWNLOAD_ATTRIBUTE. Make it default on
19515         for the BlackBerry porting.
19516
19517 2012-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
19518
19519         [GTK] Fix a runtime warning when hovering hyperlink auditing setting in MiniBroweser settings dialog
19520         https://bugs.webkit.org/show_bug.cgi?id=75475
19521
19522         Reviewed by Martin Robinson.
19523
19524         The problem is that the property blurb contains <a ping> and tree
19525         view uses gtk_tooltip_set_markup() internally, so we need to
19526         escape the text.
19527
19528         * MiniBrowser/gtk/BrowserSettingsDialog.c:
19529         (browserSettingsDialogConstructed): Escape property blurb before
19530         storing it in the GtkTreeModel.
19531
19532 2012-01-03  Jochen Eisinger  <jochen@chromium.org>
19533
19534         When showing results.html pass a correct URL to webbrowser.open
19535         https://bugs.webkit.org/show_bug.cgi?id=75438
19536
19537         Reviewed by Adam Barth.
19538
19539         * Scripts/webkitpy/common/system/filesystem.py:
19540         (file_path_as_url):
19541         * Scripts/webkitpy/common/system/filesystem_mock.py:
19542         (file_path_as_url):
19543         * Scripts/webkitpy/common/system/filesystem_unittest.py:
19544         (test_file_path_as_url):
19545         * Scripts/webkitpy/layout_tests/port/base.py:
19546         (show_results_html_file):
19547         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
19548         (test_show_results_html_file):
19549         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
19550         (test_results_directory_relative):
19551
19552 2012-01-03  Ojan Vafai  <ojan@chromium.org>
19553
19554         shrink the header on the flakiness dashboard
19555         https://bugs.webkit.org/show_bug.cgi?id=65153
19556
19557         Reviewed by Adam Roben.
19558
19559         Move some of the "show" links to be to the right of the header
19560         instead of below the header when they content they're showing
19561         is hidden. That way we don't waste vertical space on them.
19562
19563         No new tests. This code is covered by existing tests.
19564
19565         * TestResultServer/static-dashboards/flakiness_dashboard.html:
19566
19567 2012-01-03  Ryosuke Niwa  <rniwa@webkit.org>
19568
19569         Add a tool to analyze change logs
19570         https://bugs.webkit.org/show_bug.cgi?id=72243
19571
19572         Reviewed by Eric Seidel.
19573
19574         Add the initial implementation of analyze-changelog command. This version supports parsing multiple changelogs
19575         in a single directory and summarizes the result in json files. It also copies summary.html to the output directory
19576         for visualizing json files.
19577
19578         Usage: webkit-patch analyze-changelog [--changelog-count N] <CHANGELOG_DIR> <OUTPUT_DIR>
19579         where CHANGELOG_DIR is the directory to look for changelogs, OUTPUT_DIR is the directory into which the tool
19580         generates json files, and N is the number of changelogs to parse.
19581
19582         * Scripts/webkitpy/common/config/contributionareas.py: Added names().
19583         * Scripts/webkitpy/common/system/filesystem_mock.py: Added readline and iterator support to ReadableTextFileObject.
19584         * Scripts/webkitpy/tool/commands/__init__.py:
19585         * Scripts/webkitpy/tool/commands/analyzechangelog.py: Added.
19586         * Scripts/webkitpy/tool/commands/analyzechangelog_unittest.py: Added.
19587         * Scripts/webkitpy/tool/commands/data/summary.html: Added.
19588         * Scripts/webkitpy/tool/steps/options.py:
19589
19590 2012-01-03  Ryosuke Niwa  <rniwa@webkit.org>
19591
19592         Add a tool to analyze change logs
19593         https://bugs.webkit.org/show_bug.cgi?id=72243
19594
19595         Reviewed by Eric Seidel.
19596
19597         Add the initial implementation of analyze-changelog command. This version supports parsing multiple changelogs
19598         in a single directory and summarizes the result in json files. It also copies summary.html to the output directory
19599         for visualizing json files.
19600
19601         Usage: webkit-patch analyze-changelog [--changelog-count N] <CHANGELOG_DIR> <OUTPUT_DIR>
19602         where CHANGELOG_DIR is the directory to look for changelogs, OUTPUT_DIR is the directory into which the tool
19603         generates json files, and N is the number of changelogs to parse.
19604
19605         * Scripts/webkitpy/common/config/contributionareas.py: Added names().
19606         * Scripts/webkitpy/common/system/filesystem_mock.py: Added readline and iterator support to ReadableTextFileObject.
19607         * Scripts/webkitpy/tool/commands/__init__.py:
19608         * Scripts/webkitpy/tool/commands/analyzechangelog.py: Added.
19609         * Scripts/webkitpy/tool/commands/analyzechangelog_unittest.py: Added.
19610         * Scripts/webkitpy/tool/commands/data/summary.html: Added.
19611         * Scripts/webkitpy/tool/steps/options.py:
19612
19613 2012-01-03  Adam Roben  <aroben@apple.com>
19614
19615         Make Port subclasses override the operating_system method rather than setting an attribute
19616
19617         Without this patch, any use of Port.operating_system() within a port's __init__ method would
19618         return the default value ("mac"). This was confusing the version-checking logic inside
19619         ApplePort.__init__ on Windows.
19620
19621         Fixes <http://webkit.org/b/75479> <rdar://problem/10637385> REGRESSION (r102161): NRWT
19622         crashes on launch on Windows 7 SP1
19623
19624         Reviewed by Eric Seidel.
19625
19626         * Scripts/webkitpy/layout_tests/port/apple.py:
19627         (ApplePort.__init__): Replaced uses of self._operating_system with self.operating_system().
19628
19629         * Scripts/webkitpy/layout_tests/port/base.py:
19630         (Port.__init__): Removed code that set the self._operating_system attribute. Subclasses
19631         should now override the operating_system method instead.
19632         (Port.operating_system): Changed to always return "mac". Subclasses should override to
19633         return something else.
19634
19635         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
19636         (ChromiumLinuxPort.__init__):
19637         (ChromiumLinuxPort.operating_system):
19638         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
19639         (ChromiumMacPort.__init__):
19640         (ChromiumMacPort.operating_system):
19641         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
19642         (ChromiumWinPort.__init__):
19643         (ChromiumWinPort.operating_system):
19644         * Scripts/webkitpy/layout_tests/port/mac.py:
19645         (MacPort.__init__):
19646         (MacPort.operating_system):
19647         * Scripts/webkitpy/layout_tests/port/win.py:
19648         (WinPort.__init__):
19649         (WinPort.operating_system):
19650         Changed to override the operating_system method rather than setting the _operating_system
19651         attribute, since setting the attribute isn't sufficient for code inside __init__ methods.
19652
19653         * Scripts/webkitpy/layout_tests/port/qt.py:
19654         (QtPort.__init__):
19655         (QtPort._path_to_webcore_library):
19656         Changed to use self.operating_system() instead of self._operating_system, for consistency
19657         with other Port-related code.
19658
19659         (QtPort.operating_system): Added this override of Port.operating_system that returns the
19660         value we determined in our __init__ method.
19661
19662         * Scripts/webkitpy/layout_tests/port/test.py:
19663         (TestPort.operating_system): Added this override of Port.operating_system that returns the
19664         value we determined in our __init__ method.
19665
19666         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
19667         (PortTest.test_operating_system):
19668         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
19669         (ChromiumLinuxPortTest.test_operating_system):
19670         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
19671         (ChromiumMacPortTest.test_operating_system):
19672         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
19673         (ChromiumWinPortTest.test_operating_system):
19674         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
19675         (MacPortTest.test_operating_system):
19676         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
19677         (QtPortTest.test_operating_system):
19678         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
19679         (WinPortTest.test_operating_system):
19680         Test that all ports return the expected operating system string.
19681
19682 2012-01-03  Mario Sanchez Prada  <msanchez@igalia.com>
19683
19684         [GTK] run-gtk-test should ignore files with names without a "test" or "Test" prefix
19685         https://bugs.webkit.org/show_bug.cgi?id=75474
19686
19687         Reviewed by Philippe Normand.
19688
19689         * Scripts/run-gtk-tests: Ignore files whose name does not start
19690         with a "test" (for WK1's API tests) or a "Test" prefix (for WK2).
19691
19692 2012-01-03  Alexander Færøy  <alexander.faeroy@nokia.com>
19693
19694         [Qt] Add UI for JavaScript Confirmation dialog in the Qt MiniBrowser
19695         https://bugs.webkit.org/show_bug.cgi?id=75472
19696
19697         Reviewed by Tor Arne Vestbø.
19698
19699         * MiniBrowser/qt/MiniBrowser.pro:
19700         * MiniBrowser/qt/MiniBrowser.qrc:
19701         * MiniBrowser/qt/qml/BrowserWindow.qml:
19702         * MiniBrowser/qt/qml/ConfirmDialog.qml: Added.
19703
19704 2012-01-03  Alexander Færøy  <alexander.faeroy@nokia.com>
19705
19706         [Qt] Add UI for JavaScript Alert dialog in the Qt MiniBrowser
19707         https://bugs.webkit.org/show_bug.cgi?id=75471
19708
19709         Reviewed by Tor Arne Vestbø.
19710
19711         Add simple UI for JavaScript Alert dialogs. This patch also adds a
19712         simple DialogButton QML type and a Dialog QML type which will be
19713         reusable for other JavaScript dialogs.
19714
19715         * MiniBrowser/qt/MiniBrowser.qrc:
19716         * MiniBrowser/qt/qml/AlertDialog.qml: Added.
19717         * MiniBrowser/qt/qml/BrowserWindow.qml:
19718         * MiniBrowser/qt/qml/Dialog.qml: Added.
19719         * MiniBrowser/qt/qml/DialogButton.qml: Added.
19720
19721 2012-01-03  Rafael Brandao  <rafael.lobo@openbossa.org>
19722
19723         [Qt][WK2] MiniBrowser doesn't show url bar
19724         https://bugs.webkit.org/show_bug.cgi?id=75470
19725
19726         Reviewed by Tor Arne Vestbø.
19727
19728         * MiniBrowser/qt/qml/BrowserWindow.qml: Remove clipping until it is fixed
19729         on QtDeclarative (QTBUG-23422).
19730
19731 2012-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
19732
19733         [GTK] Simplify loader client WebKit2 GTK+ API
19734         https://bugs.webkit.org/show_bug.cgi?id=74605
19735
19736         Reviewed by Gustavo Noronha Silva.
19737
19738         * gtk/generate-gtkdoc: Ignore WebKitWebLoaderClient since it's now
19739         private API.
19740
19741 2012-01-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
19742
19743         [Qt] Clean up detection of fontconfig
19744
19745         We decide in features.prf whether or not fontconfig is available, and
19746         set the HAVE_FONTCONFIG define accordingly. All leaf project files
19747         should use this define to decide whether or not to link against
19748         fontconfig, not do their own detection.
19749
19750         We don't need to add link_pkgconfig to CONFIG in each project file,
19751         as we selectivly enable that configuration in defaults_post when
19752         needed.
19753
19754         Reviewed by Ossy.
19755
19756         * DumpRenderTree/qt/DumpRenderTree.pro:
19757         * QtTestBrowser/QtTestBrowser.pro:
19758         * WebKitTestRunner/InjectedBundle/Target.pri:
19759         * qmake/mkspecs/features/unix/default_post.prf:
19760         * qmake/mkspecs/features/unix/default_pre.prf:
19761
19762 2012-01-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
19763
19764         [Qt] Introduce qmake replace function for the active build config
19765
19766         Reviewed by Ossy.
19767
19768         * qmake/mkspecs/features/default_post.prf:
19769         * qmake/mkspecs/features/functions.prf:
19770
19771 2012-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
19772
19773         [GTK] Use gdk_screen_get_monitor_workarea() when available for screenAvailableRect()
19774         https://bugs.webkit.org/show_bug.cgi?id=75435
19775
19776         Reviewed by Martin Robinson.
19777
19778         * GNUmakefile.am: Make sure DRT links to X11.
19779         * WebKitTestRunner/GNUmakefile.am: Make sure WTR links to X11.
19780
19781 2011-12-04  Philippe Normand  <pnormand@igalia.com>
19782
19783         [WK2][GTK] WebSettings support in MiniBrowser
19784         https://bugs.webkit.org/show_bug.cgi?id=73773
19785
19786         Reviewed by Martin Robinson.
19787
19788         Patch heavily inspired from the WebKit GtkLauncher to support
19789         command-line WebSettings. Example: --enable-fullscreen=TRUE.
19790         The full list of options can be consulted with --help-websettings.
19791
19792         * MiniBrowser/gtk/main.c:
19793         (loadURI):
19794         (parseOptionEntryCallback):
19795         (isValidParameterType):
19796         (getOptionEntriesFromWebKitSettings):
19797         (addSettingsGroupToContext):
19798         (main):
19799
19800 2012-01-02  Philippe Normand  <pnormand@igalia.com>
19801
19802         [GTK] GtkLauncher settings improvements
19803         https://bugs.webkit.org/show_bug.cgi?id=75439
19804
19805         Reviewed by Martin Robinson.
19806
19807         * GtkLauncher/main.c:
19808         (filenameToURL): We can use NULL in C.
19809         (isValidParameterType): Utility function to filter GParamTypes
19810         that can be edited.
19811         (getOptionEntriesFromWebKitWebSettings): Avoid handling
19812         construct-only properties and use the isValidParameterType
19813         function. Makes the code a bit cleaner.
19814
19815 2012-01-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
19816
19817         [EFL] Remove whitespace/declaration style exception
19818         https://bugs.webkit.org/show_bug.cgi?id=75424
19819
19820         Reviewed by David Levin.
19821
19822         Remove *whitespace/eclaration* style rule. However, EWebLauncher and MiniBrowser are EFL simple
19823         application. So, they still need to use EFL coding style.
19824
19825         * Scripts/webkitpy/style/checker.py:
19826
19827 2012-01-02  Carlos Garcia Campos  <cgarcia@igalia.com>
19828
19829         [GTK] Add a way to change web view settings in MiniBrowser
19830         https://bugs.webkit.org/show_bug.cgi?id=71568
19831
19832         Reviewed by Philippe Normand.
19833
19834         Add a preferences button to the toolbar that shows a dialog to
19835         change settings of the current web view. It uses a GtkTreeView
19836         with a custom cell renderer to support multiple types of values.
19837
19838         * MiniBrowser/gtk/BrowserCellRendererVariant.c: Added.
19839         (browserCellRendererVariantFinalize):
19840         (browserCellRendererVariantGetProperty):
19841         (browserCellRendererVariantSetModeForValue):
19842         (browserCellRendererVariantSetProperty):
19843         (browserCellRendererVariantGetRendererForValue):
19844         (browserCellRendererVariantCellRendererTextEdited):
19845         (browserCellRendererVariantCellRendererSpinEdited):
19846         (browserCellRendererVariantCellRendererActivate):
19847         (browserCellRendererVariantCellRendererRender):
19848         (browserCellRendererVariantCellRendererStartEditing):
19849         (browserCellRendererVariantCellRendererGetPreferredWidth):
19850         (browserCellRendererVariantCellRendererGetPreferredHeight):
19851         (browserCellRendererVariantCellRendererGetPreferredWidthForHeight):
19852         (browserCellRendererVariantCellRendererGetPreferredHeightForWidth):
19853         (browserCellRendererVariantCellRendererGetAlignedArea):
19854         (browser_cell_renderer_variant_init):
19855         (browser_cell_renderer_variant_class_init):
19856         (browser_cell_renderer_variant_new):
19857         * MiniBrowser/gtk/BrowserCellRendererVariant.h: Added.
19858         * MiniBrowser/gtk/BrowserSettingsDialog.c: Added.
19859         (cellRendererChanged):
19860         (browserSettingsDialogSetProperty):
19861         (browser_settings_dialog_init):
19862         (browserSettingsDialogConstructed):
19863         (browser_settings_dialog_class_init):
19864         (browser_settings_dialog_new):
19865         * MiniBrowser/gtk/BrowserSettingsDialog.h: Added.
19866         * MiniBrowser/gtk/BrowserWindow.c:
19867         (settingsCallback):
19868         (browser_window_init):
19869         * MiniBrowser/gtk/GNUmakefile.am:
19870         * MiniBrowser/gtk/browser-marshal.list: Added.
19871
19872 2012-01-02  Carlos Garcia Campos  <cgarcia@igalia.com>
19873
19874         [GTK] Implement create/ready-to-show/close signals in MiniBrowser
19875         https://bugs.webkit.org/show_bug.cgi?id=74711
19876
19877         Reviewed by Philippe Normand.
19878
19879         * MiniBrowser/gtk/BrowserWindow.c:
19880         (webViewClose): Destroy the window.
19881         (webViewReadyToShow): Use WindowProperties of the new view to
19882         setup and show the window.
19883         (webViewCreate): Create a new view and add it to a browser window.
19884         (browser_window_init):
19885         (browserWindowConstructed): Connect to WebKitWebView::create signal.
19886
19887 2011-12-31  Dan Bernstein  <mitz@apple.com>
19888
19889         MiniBrowser sets the WKView’s frame incorrectly
19890         https://bugs.webkit.org/show_bug.cgi?id=75393
19891
19892         Reviewed by Anders Carlsson.
19893
19894         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Removed Make Launchable build phase,
19895         which is not needed since the binray is linked with the frameworks search path set to the
19896         built products directory.
19897         * MiniBrowser/mac/BrowserWindowController.m:
19898         (-[BrowserWindowController awakeFromNib]): Changed to set the WKView’s frame to its
19899         container’s bounds rather than its frame.
19900         * MiniBrowser/mac/make-launchable.sh: Removed.
19901
19902 2011-12-29  Dan Bernstein  <mitz@apple.com>
19903
19904         debug-safari --no-saved-state fails to start the debugger
19905         https://bugs.webkit.org/show_bug.cgi?id=75374
19906
19907         Reviewed by Sam Weinig.
19908
19909         * Scripts/webkitdirs.pm:
19910         (execMacWebKitAppForDebugging): Pass the --args option to gdb so that it passes arguments to
19911         the executable being debugged.
19912
19913 2011-12-29  Sam Weinig  <sam@webkit.org>
19914
19915         It should be easier to iterate a Vector backwards
19916         https://bugs.webkit.org/show_bug.cgi?id=75359
19917
19918         Reviewed by Anders Carlsson.
19919
19920         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
19921         * TestWebKitAPI/TestWebKitAPI.gypi:
19922         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
19923         Add new Vector test.
19924
19925         * TestWebKitAPI/Tests/Vector.cpp: Added.
19926         (TestWebKitAPI::TEST):
19927         Test Vector iterators, reverse_iterators and new reversed proxy.
19928
19929 2011-12-28  Dmitry Lomov  <dslomov@google.com>
19930
19931         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
19932         https://bugs.webkit.org/show_bug.cgi?id=66509
19933         Just renames, merges and removal of dead code. Here are the list of renames:
19934           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
19935           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
19936           - WebWorkerBase merged into WebSharedWorkerImpl
19937           - NewWebWorkerBase renamed into WebWorkerBase
19938  
19939         Reviewed by David Levin.
19940
19941         * DumpRenderTree/chromium/TestWebWorker.h:
19942         (TestWebWorker::createWorker):
19943         * DumpRenderTree/chromium/WebViewHost.cpp:
19944         (WebViewHost::createWorker):
19945         * DumpRenderTree/chromium/WebViewHost.h:
19946
19947 2011-12-28  Sheriff Bot  <webkit.review.bot@gmail.com>
19948
19949         Unreviewed, rolling out r103785.
19950         http://trac.webkit.org/changeset/103785
19951         https://bugs.webkit.org/show_bug.cgi?id=75332
19952
19953         Broke builders; looks like clobbering didnt help (Requested by
19954         dslomov on #webkit).
19955
19956         * DumpRenderTree/chromium/TestWebWorker.h:
19957         (TestWebWorker::createWorker):
19958         * DumpRenderTree/chromium/WebViewHost.cpp:
19959         (WebViewHost::createWorker):
19960         * DumpRenderTree/chromium/WebViewHost.h:
19961
19962 2011-12-28  Dmitry Lomov  <dslomov@google.com>
19963
19964
19965         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
19966         https://bugs.webkit.org/show_bug.cgi?id=66509
19967         Just renames, merges and removal of dead code. Here are the list of renames:
19968           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
19969           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
19970           - WebWorkerBase merged into WebSharedWorkerImpl
19971           - NewWebWorkerBase renamed into WebWorkerBase
19972  
19973         Reviewed by David Levin.
19974
19975         * DumpRenderTree/chromium/TestWebWorker.h:
19976         (TestWebWorker::createWorker):
19977         * DumpRenderTree/chromium/WebViewHost.cpp:
19978         (WebViewHost::createWorker):
19979         * DumpRenderTree/chromium/WebViewHost.h:
19980
19981 2011-12-28  Sheriff Bot  <webkit.review.bot@gmail.com>
19982
19983         Unreviewed, rolling out r103620.
19984         http://trac.webkit.org/changeset/103620
19985         https://bugs.webkit.org/show_bug.cgi?id=75316
19986
19987         Causes many crashes (Requested by abarth on #webkit).
19988
19989         * DumpRenderTree/chromium/LayoutTestController.cpp:
19990         (LayoutTestController::LayoutTestController):
19991         (LayoutTestController::reset):
19992         * DumpRenderTree/chromium/LayoutTestController.h:
19993         * DumpRenderTree/chromium/WebViewHost.cpp:
19994         * DumpRenderTree/chromium/WebViewHost.h:
19995
19996 2011-12-27  Sheriff Bot  <webkit.review.bot@gmail.com>
19997
19998         Unreviewed, rolling out r103734.
19999         http://trac.webkit.org/changeset/103734
20000         https://bugs.webkit.org/show_bug.cgi?id=75278
20001
20002         Broke cr-mac (Requested by dslomov on #webkit).
20003
20004         * DumpRenderTree/chromium/TestWebWorker.h:
20005         (TestWebWorker::createWorker):
20006         * DumpRenderTree/chromium/WebViewHost.cpp:
20007         (WebViewHost::createWorker):
20008         * DumpRenderTree/chromium/WebViewHost.h:
20009
20010 2011-12-27  Dmitry Lomov  <dslomov@google.com>
20011
20012
20013         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
20014         https://bugs.webkit.org/show_bug.cgi?id=66509
20015         Just renames, merges and removal of dead code. Here are the list of renames:
20016           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
20017           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
20018           - WebWorkerBase merged into WebSharedWorkerImpl
20019           - NewWebWorkerBase renamed into WebWorkerBase
20020  
20021         Reviewed by David Levin.
20022
20023         * DumpRenderTree/chromium/TestWebWorker.h:
20024         (TestWebWorker::createWorker):
20025         * DumpRenderTree/chromium/WebViewHost.cpp:
20026         (WebViewHost::createWorker):
20027         * DumpRenderTree/chromium/WebViewHost.h:
20028
20029 2011-12-27  Anders Carlsson  <andersca@apple.com>
20030
20031         Function should handle wrapping/unwrapping RefPtr and PassRefPtr
20032         https://bugs.webkit.org/show_bug.cgi?id=75266
20033
20034         Reviewed by Sam Weinig.
20035
20036         * TestWebKitAPI/Tests/WTF/Functional.cpp:
20037         (TestWebKitAPI::Number::create):
20038         (TestWebKitAPI::Number::~Number):
20039         (TestWebKitAPI::Number::value):
20040         (TestWebKitAPI::Number::Number):
20041         (TestWebKitAPI::multiplyNumberByTwo):
20042         (TestWebKitAPI::TEST):
20043
20044 2011-12-24  Kentaro Hara  <haraken@chromium.org>
20045
20046         Add unittests for the C++ parser of prepare-ChangeLog
20047         https://bugs.webkit.org/show_bug.cgi?id=75191
20048
20049         Reviewed by Ryosuke Niwa.
20050
20051         cpp_unittests.cpp is the unittests for get_function_line_ranges_for_cpp()
20052         of prepare-ChangeLog.
20053
20054         * Scripts/prepare-ChangeLog:
20055         (get_function_line_ranges): Renames get_function_line_ranges_for_c()
20056         to get_function_line_ranges_for_cpp().
20057         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
20058         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt: Added.
20059         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp: Added.
20060         (func1):
20061         (func2):
20062         (func3):
20063         (func4):
20064         (func5):
20065         (func6):
20066         (func7):
20067         (func8):
20068         (func9):
20069         (func10):
20070         (func11):
20071         (func12):
20072         (func13):
20073         (func14):
20074         (func15):
20075         (funcOverloaded):
20076         (Class::func16):
20077         (Class1::Class2::func17):
20078         (Class2::func18):
20079         (Class2::func19):
20080         (Class2::func20):
20081         (Class2::func21):
20082         (Class2::func22):
20083         (func23):
20084         (func24):
20085         (Class2::func25):
20086         (Class1::func26):
20087         (Class2::func27):
20088         (Class3::func28):
20089         (Class7::operator+):
20090         (Class100::Class100):
20091         (Class101::~Class101):
20092         (Class102::Class102):
20093         (Class103::Class103):
20094         (Struct1::func29):
20095         (Struct2::func30):
20096         (NameSpace1::func30):
20097         (NameSpace1::NameSpace2::func31):
20098
20099 2011-12-24  Kentaro Hara  <haraken@chromium.org>
20100
20101         Add unittests for the Java parser of prepare-ChangeLog
20102         https://bugs.webkit.org/show_bug.cgi?id=75195
20103
20104         Reviewed by Ryosuke Niwa.
20105
20106         java_unittests.java is unittest cases for get_function_line_ranges_for_java()
20107         of prepare-ChangeLog.
20108
20109         * Scripts/prepare-ChangeLog:
20110         (get_function_line_ranges_for_java): Fixed a parser bug.
20111
20112             interface I
20113             {
20114                 void f()
20115                 {
20116                 }
20117             }
20118
20119         should be recognized as "I.f", and
20120
20121             class C interface I
20122             {
20123                 void f()
20124                 {
20125                 }
20126             }
20127
20128         should be recognized as "C.f".
20129         Without this patch, both are recognized as "I.f".
20130
20131         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
20132         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/java_unittests-expected.txt: Added.
20133         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/java_unittests.java: Added.
20134         (Simple):
20135         (Simple.func1):
20136         (Simple.func2):
20137         (Simple.func3):
20138         (Simple.func4):
20139         (Simple.func5):
20140         (Simple.func6):
20141         (Simple.func7):
20142         (Simple.func8):
20143         (Simple.func9):
20144         (Simple.func10):
20145         (Simple.funcOverloaded):
20146         (Simple.func11):
20147         (Simple.func12):
20148         (Simple.func13):
20149         (Simple.func14):
20150         (Simple.func15):
20151         (Simple.func16):
20152         (Simple.func17):
20153         (Simple.func18):
20154         (Simple.func19):
20155         (Simple.func20):
20156         (Simple.func21):
20157         (Derived1):
20158         (Derived1.Derived1):
20159         (Derived1.func22):
20160         (Interface1):
20161         (Interface2):
20162         (Interface2.func23):
20163         (Derived2):
20164         (Derived2.Derived2):
20165         (Derived2.func23):
20166
20167 2011-12-24  Kentaro Hara  <haraken@chromium.org>
20168
20169         Add unittests for the Python parser of prepare-ChangeLog
20170         https://bugs.webkit.org/show_bug.cgi?id=75197
20171
20172         Reviewed by Ryosuke Niwa.
20173
20174         python_unittests.py is the unittest for get_function_line_ranges_for_python()
20175         of prepare-ChangeLog. The unittest just contains classes and defs that are not nested.
20176         This is because the current python parser is wrong, and it cannot correctly parse nested
20177         classes and defs (even one def in a class), nor class inheritance.
20178         We will fix it in another patch.
20179
20180         * Scripts/prepare-ChangeLog:
20181         (get_function_line_ranges_for_python): Ignores comment lines that starts from #.
20182         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
20183         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests-expected.txt: Added.
20184         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests.py: Added.
20185         (func1):
20186         (func2):
20187         (func3):
20188         (funcInsideComment):
20189         (func4):
20190         (func5):
20191         (func6):
20192         (funcOverloaded):
20193         (Class1):
20194
20195 2011-12-24  Dan Bernstein  <mitz@apple.com>
20196
20197         Set SHARED_PRECOMPS_DIR when Xcode is set to use a custom build product path.
20198
20199         Reviewed by Anders Carlsson.
20200
20201         * Scripts/webkitdirs.pm:
20202         (determineBaseProductDir):
20203
20204 2011-12-24  Dan Bernstein  <mitz@apple.com>
20205
20206         Make build-webkit aware of additional Xcode build location defaults.
20207
20208         Reviewed by Anders Carlsson.
20209
20210         * Scripts/webkitdirs.pm:
20211         (determineXcodeVersion): Added. This was previously in determineBaseProductDir().
20212         (readXcodeUserDefault): Added. Factored out from determineBaseProductDir().
20213         (determineBaseProductDir): Changed to check for a custom build location
20214         style specified as an absolute location.
20215
20216 2011-12-24  Ryosuke Niwa  <rniwa@webkit.org>
20217
20218         Unreviewed, rolling out r103619.
20219         http://trac.webkit.org/changeset/103619
20220         https://bugs.webkit.org/show_bug.cgi?id=66509
20221
20222         Broke chromium clang build
20223
20224         * DumpRenderTree/chromium/TestWebWorker.h:
20225         (TestWebWorker::createWorker):
20226         * DumpRenderTree/chromium/WebViewHost.cpp:
20227         (WebViewHost::createWorker):
20228         * DumpRenderTree/chromium/WebViewHost.h:
20229
20230 2011-12-23  Daniel Bates  <dbates@webkit.org>
20231
20232         Provide option to disable Mac OS 10.7 application resume when using
20233         {debug, run}-{safari, minibrowser, test-runner, test-webkit-api}, and run-webkit-app
20234         https://bugs.webkit.org/show_bug.cgi?id=66902
20235
20236         Reviewed by David Kilzer.
20237
20238         Add an optional command line argument --no-saved-state to disable
20239         application resume (state restoration) for the session on Mac OS 10.7.
20240
20241         For instance, when debugging an issue in Safari it is useful to be able
20242         to temporarily disable application resume. Currently you can disable
20243         application resume when launching Safari from within Xcode. We should
20244         expose a similar option in our command line tools.
20245
20246         * Scripts/debug-minibrowser: Call printHelpAndExitForRunAndDebugWebKitAppIfNeeded()
20247         to print a help message and exit() if the command line argument --help was given.
20248         * Scripts/debug-safari: Ditto.
20249         * Scripts/debug-test-runner: Ditto.
20250         * Scripts/run-minibrowser: Ditto.
20251         * Scripts/run-safari: Ditto.
20252         * Scripts/run-test-runner: Ditto.
20253         * Scripts/run-test-webkit-api: Ditto.
20254         * Scripts/run-webkit-app: Ditto.
20255         * Scripts/webkitdirs.pm:
20256         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Added.
20257         (argumentsForRunAndDebugMacWebKitApp): Added.
20258         (runMacWebKitApp): If the --no-saved-state command line argument was given then
20259         disable application resume for the session.
20260         (execMacWebKitAppForDebugging): Ditto.
20261
20262 2011-12-23  Dmitry Lomov  <dslomov@google.com>
20263
20264         [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
20265         https://bugs.webkit.org/show_bug.cgi?id=66509
20266         Just renames, merges and removal of dead code. Here are the list of renames:
20267           - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
20268           - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
20269           - WebWorkerBase merged into WebSharedWorkerImpl
20270           - NewWebWorkerBase renamed into WebWorkerBase
20271  
20272         Reviewed by David Levin.
20273
20274         * DumpRenderTree/chromium/TestWebWorker.h:
20275         (TestWebWorker::createWorker):
20276         * DumpRenderTree/chromium/WebViewHost.cpp:
20277         (WebViewHost::createWorker):
20278         * DumpRenderTree/chromium/WebViewHost.h:
20279
20280 2011-12-23  Kentaro Hara  <haraken@chromium.org>
20281
20282         Let parser_unittests.pl call different language parsers
20283         https://bugs.webkit.org/show_bug.cgi?id=75081
20284
20285         Reviewed by David Kilzer.
20286
20287         We introduced parser_unittests.pl in bug 74994 , but it is implemented
20288         to always call get_function_line_ranges_for_perl(). In order to enable unittests
20289         for other languages, this patch lets parser_unittests.pl call different language
20290         parsers depending on the languages.
20291
20292         Test: Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl
20293
20294         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
20295
20296 2011-12-22  Adam Roben  <aroben@apple.com>
20297
20298         Snow Leopard test fix
20299
20300         * Scripts/webkitpy/test/main.py:
20301         (Tester.run_tests): Python 2.6.1 doesn't seem to like specifying testRunner=None to
20302         unittest.main, even though that's the default. So now we explicitly specify a
20303         TextTestRunner.
20304
20305 2011-12-22  Chris Fleizach  <cfleizach@apple.com>
20306
20307         AX: attributed strings do not include AXHeading information when a link is contained within the heading
20308         https://bugs.webkit.org/show_bug.cgi?id=75059
20309
20310         Reviewed by Darin Adler.
20311
20312         Support the ability to check if an arbitrary attribute is present within an
20313         attributed string that can be retrieved through an AccessibilityTextMarkerRange.
20314
20315         * DumpRenderTree/AccessibilityUIElement.cpp:
20316         (attributedStringForTextMarkerRangeContainsAttributeCallback):
20317         (AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
20318         (AccessibilityUIElement::getJSClass):
20319         * DumpRenderTree/AccessibilityUIElement.h:
20320         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
20321         (AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
20322         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
20323         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
20324         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
20325         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
20326         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
20327         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
20328
20329 2011-12-22  David Kilzer  <ddkilzer@apple.com>
20330
20331         run-api-tests: runAllTests() and runTest() should not use global variables
20332
20333         Reviewed by Adam Roben.
20334
20335         Part of: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
20336
20337         * Scripts/run-api-tests:
20338         (runTestsBySuite): Rename from runAllTests().  Add arguments for
20339         list of tests and $verbose.
20340         (runTest): Add $verbose argument.
20341
20342 2011-12-22  David Kilzer  <ddkilzer@apple.com>
20343
20344         run-api-tests: inline runAllTestsInSuite() into runAllTests()
20345
20346         Reviewed by Adam Roben.
20347
20348         Part of: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
20349
20350         In order to make it easy to run one or more individual suites,
20351         or one more individual tests, it's easier to call a single
20352         method with different data structures than individual methods.
20353
20354         * Scripts/run-api-tests:
20355         (runAllTests): Inline runAllTestsInSuite().
20356
20357 2011-12-22  Adam Roben  <aroben@apple.com>
20358
20359         Add a --xml flag to test-webkitpy
20360
20361         test-webkitpy --xml will, in addition to providing the standard text output on stdout, write
20362         JUnit-style XML files to a test-webkitpy-xml-reports subdirectory in the working directory.
20363         This is useful for working with tools that consume JUnit-style XML files.
20364
20365         Fixes <http://webkit.org/b/75090> Would like a way to generate JUnit-style XML files when
20366         running test-webkitpy
20367
20368         Reviewed by Darin Adler.
20369
20370         * Scripts/webkitpy/test/main.py:
20371         (Tester.run_tests): If the --xml flag is passed, create an XMLTestRunner and pass it to
20372         unittest.main(). Otherwise pass no test runner so that unittest will choose its own default.
20373
20374         * Scripts/webkitpy/thirdparty/__init__.py:
20375         (AutoinstallImportHook.find_module):
20376         (AutoinstallImportHook._install_xmlrunner):
20377         Added code to install unittest-xml-reporting as webkitpy.thirdparty.autoinstalled.xmlrunner.
20378         This change is untested because it's basically impossible to get a test to pass when --xml
20379         is passed to test-webkitpy (because xmlrunner will already have been imported by the time
20380         the test runs).
20381
20382 2011-12-22  David Kilzer  <ddkilzer@apple.com>
20383
20384         TestWebKitAPI: initialize the main thread before running tests
20385         <http://webkit.org/b/75064>
20386
20387         Reviewed by Adam Roben.
20388
20389         * TestWebKitAPI/TestsController.cpp:
20390         (TestWebKitAPI::TestsController::TestsController): Call
20391         WTF::initializeMainThread() to prevent assertions in Debug
20392         builds.
20393
20394 2011-12-22  David Kilzer  <ddkilzer@apple.com>
20395
20396         run-api-tests: dumpAllTests() should not use global variables
20397
20398         Reviewed by Adam Roben.
20399
20400         Part of: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
20401
20402         * Scripts/run-api-tests: Renamed $dump to $dumpTests.
20403         (dumpTestsBySuite): Rename from dumpAllTests() and pass in
20404         global data as an argument.  Sort suite names and test names
20405         alphabetically to match output when running tests.
20406
20407 2011-12-22  Leo Yang  <leo.yang@torchmobile.com.cn>
20408
20409         [BlackBerry] Enable blob for the BlackBerry porting
20410         https://bugs.webkit.org/show_bug.cgi?id=75074
20411
20412         Reviewed by George Staikos.
20413
20414         * Scripts/build-webkit:
20415
20416 2011-12-22  Kentaro Hara  <haraken@chromium.org>
20417
20418         Add unittests for the Perl parser of prepare-ChangeLog
20419         https://bugs.webkit.org/show_bug.cgi?id=74994
20420
20421         Reviewed by David Kilzer.
20422
20423         This patch adds unittests for get_function_line_ranges_for_perl() of prepare-ChangeLog.
20424
20425         Test: Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl
20426
20427         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl: Added.
20428         Runs unittests specified in @testFiles.
20429         You can reset expected results by specifying a --reset-results option.
20430         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl: Added.
20431         Contains simple methods.
20432         (func1):
20433         (func2):
20434         (func3):
20435         (func4):
20436         (func5):
20437         (func6):
20438         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests-expected.txt: Added.
20439         This test result is generated by the --reset-results option.
20440
20441 2011-12-21  Eric Seidel  <eric@webkit.org>
20442
20443         Add webkit.review.bot@gmail.com and commit-queue@webkit.org as "contributors"
20444         so that they appear in the bugzilla autocomplete CC list.
20445         I also removed the "radar" irc nick (which I believe does not exist)
20446         and removed the uneeded [] around the radar bugzilla email.
20447
20448         Unreviewed.
20449
20450         * Scripts/webkitpy/common/config/committers.py:
20451
20452 2011-12-21  Daniel Bates  <dbates@rim.com>
20453
20454         Teach build-jsc how to build JavaScriptCore for the EFL, BlackBerry, and WinCE ports
20455         https://bugs.webkit.org/show_bug.cgi?id=74985
20456
20457         Reviewed by Eric Seidel.
20458
20459         * Scripts/build-jsc:
20460         * Scripts/webkitdirs.pm:
20461         (cmakeBasedPortName): Added.
20462
20463 2011-12-21  Daniel Bates  <dbates@rim.com>
20464
20465         Extract BlackBerry CMake arguments from build-webkit into separate function
20466         https://bugs.webkit.org/show_bug.cgi?id=74981
20467
20468         Reviewed by Rob Buis.
20469
20470         Towards adding support for using Tools/Scripts/build-jsc for the BlackBerry port, move
20471         the CMake argument logic from Tools/Scripts/build-webkit to function webkitdirs::blackberryCMakeArguments()
20472         and have cmakeBasedPortArguments() call this function for the BlackBerry CMake argument list.
20473         This will allow us to get the BlackBerry CMake arguments in Tools/Scripts/build-jsc so
20474         that we can pass them to the CMake build system when building JavaScriptCore.
20475
20476         * Scripts/build-webkit: Move construction of CMake argument list from here to
20477         webkitdirs::blackberryCMakeArguments(). Also, remove exported function blackberryTargetArchitecture()
20478         since it's only called within webkitdirs.pm now. Formerly we exported this function so that we could
20479         call it from build-webkit.
20480         * Scripts/webkitdirs.pm:
20481         (blackberryCMakeArguments): Added.
20482         (cmakeBasedPortArguments): Modified to call blackberryCMakeArguments() when building the
20483         BlackBerry port.
20484
20485 2011-12-21  Daniel Bates  <dbates@webkit.org>
20486
20487         Extract WinCE CMake arguments from build-webkit into separate function
20488         https://bugs.webkit.org/show_bug.cgi?id=74983
20489
20490         Reviewed by Rob Buis.
20491
20492         Towards adding support for using Tools/Scripts/build-jsc for the WinCE port, extract the
20493         WinCE-specific CMake argument from Tools/Scripts/build-webkit into webkitdirs::cmakeBasedPortArguments().
20494         This will allow us to get the WinCE-specific CMake argument in Tools/Scripts/build-jsc so
20495         that we can pass it to the CMake build system when building JavaScriptCore.
20496
20497         * Scripts/build-webkit:
20498         * Scripts/webkitdirs.pm:
20499         (cmakeBasedPortArguments): Added.
20500
20501 2011-12-21  Kentaro Hara  <haraken@chromium.org>
20502
20503         In prepare-ChangeLog, replace constant global variables with "use constant"
20504         https://bugs.webkit.org/show_bug.cgi?id=74992
20505
20506         Reviewed by Ryosuke Niwa.
20507
20508         This patch replaces the following constant global variables with "use constant"s.
20509             - $changeLogTimeZone
20510             - $SVN
20511             - $GIT
20512             - %supportedTestExtensions
20513
20514         * Scripts/prepare-ChangeLog:
20515         (changeLogNameFromArgs):
20516         (changeLogEmailAddressFromArgs):
20517         (resolveConflictedChangeLogs):
20518         (generateNewChangeLogs):
20519         (diffCommand):
20520         (statusCommand):
20521         (createPatchCommand):
20522         (findOriginalFileFromSvn):
20523         (determinePropertyChanges):
20524         (generateFileList):
20525         (reviewerAndDescriptionForGitCommit):
20526
20527 2011-12-20  Dirk Pranke  <dpranke@chromium.org>
20528
20529         nrwt: rename field references from _fs to _filesystem
20530         https://bugs.webkit.org/show_bug.cgi?id=74898
20531
20532         Reviewed by Adam Barth.
20533
20534         This is a simple cleanup; most of the code uses
20535         self._filesystem, but some used self._fs; this change renames
20536         the latter to the former to be more consistent.
20537
20538         * Scripts/webkitpy/layout_tests/controllers/manager.py:
20539         (Manager.__init__):
20540         (Manager.collect_tests):
20541         (Manager._strip_test_dir_prefix):
20542         (Manager._split_into_chunks_if_necessary):
20543         (Manager.results_directory):
20544         (Manager._clobber_old_results):
20545         (Manager._upload_json_files):
20546         (Manager.print_config):
20547         (Manager._copy_results_html_file):
20548         (Manager._show_results_html_file):
20549         (Manager._log_worker_stack):
20550         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
20551         (JSONLayoutResultsGenerator._normalize_results_json):
20552         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
20553         (JSONResultsGeneratorBase.__init__):
20554         (JSONResultsGeneratorBase.generate_json_output):
20555         (JSONResultsGeneratorBase.generate_times_ms_file):
20556         (JSONResultsGeneratorBase.upload_json_files):
20557         (JSONResultsGeneratorBase._get_svn_revision):
20558         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
20559         (Base.__init__):
20560
20561 2011-12-20  Kentaro Hara  <haraken@chromium.org>
20562
20563         Replace webkitperl/run-leaks_unittest/RunLeaks.pm with webkitperl/LoadAsModule.pm
20564         https://bugs.webkit.org/show_bug.cgi?id=74836
20565
20566         Reviewed by David Kilzer.
20567
20568         webkitperl/run-leaks_unittest/RunLeaks.pm can be used for unit-testing of run-leaks only.
20569         This patch creates more generalized webkitperl/LoadAsModule.pm, which can be also used
20570         for unit-testing of other Perl scripts. We are planning to use it for unit-testing
20571         of prepare-ChangeLog.
20572
20573         Using LoadAsModule.pm, you can load a Perl script as follows.
20574         The first argument is the arbitrary package name you want to use, and the second argument
20575         is the name of the Perl script you want to load.
20576
20577             use LoadAsModule qw(RunLeaks run-leaks);
20578             RunLeaks::someFunctionDefinedInRunLeaks(...);
20579
20580         Tests: Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl
20581                Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl
20582                Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl
20583
20584         * Scripts/webkitperl/LoadAsModule.pm: Added.
20585         * Scripts/webkitperl/run-leaks_unittest/RunLeaks.pm: Removed.
20586         (import):
20587         (readFile):
20588         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl: Used LoadAsModule instead of RunLeaks.
20589         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl: Ditto.
20590         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl: Ditto.
20591
20592 2011-12-20  Balazs Kelemen  <kbalazs@webkit.org>
20593
20594         [Qt] WK2 Debugging quirks need some improvement
20595         https://bugs.webkit.org/show_bug.cgi?id=74859
20596
20597         Reviewed by Simon Hausmann.
20598
20599         Improvements added to make debugging WebKit2 more
20600         confortable and efficient:
20601         1. Unify debugging quirks. From now all of them are controlled
20602         by the QT_WEBKIT2_DEBUG environment variable.
20603         2. Disable crash handlers for WebKitTestRunner if debugging quirks
20604         are used to make it possible to use postmortem debugging via core dumps
20605         which is extremely useful for debugging bugs triggered by layout tests.
20606         3. Disable test timeout for WebKitTestRunner if debugging quirks
20607         are used because that makes debugging impossible.
20608
20609         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
20610         (WTR::InjectedBundle::platformInitialize):
20611         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
20612         (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
20613         * WebKitTestRunner/qt/TestControllerQt.cpp:
20614         (WTR::TestController::platformRunUntil):
20615
20616 2011-12-20  Rafael Brandao  <rafael.lobo@openbossa.org>
20617
20618         [Qt][WK2] Implement favicon support
20619         https://bugs.webkit.org/show_bug.cgi?id=71082
20620
20621         Reviewed by Simon Hausmann.
20622
20623         A favorite icon was added on MiniBrowser's url bar as example.
20624         We display a default icon when the page doesn't have an icon ready.
20625
20626         * MiniBrowser/qt/MiniBrowser.qrc:
20627         * MiniBrowser/qt/icons/favicon.png: Added.
20628         * MiniBrowser/qt/qml/BrowserWindow.qml:
20629
20630 2011-12-19  Sam Weinig  <sam@webkit.org>
20631
20632         Add support for scrollLineDown: and scrollLineUp: NSResponder selectors
20633         https://bugs.webkit.org/show_bug.cgi?id=74907
20634
20635         Reviewed by Dan Bernstein.
20636
20637         Add ScrollByLineCommands API test.
20638
20639         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
20640         * TestWebKitAPI/Tests/WebKit2/mac/EditorCommands.mm: Added.
20641         * TestWebKitAPI/Tests/WebKit2/simple-tall.html: Added.
20642
20643 2011-12-19  Dirk Pranke  <dpranke@chromium.org>
20644
20645         webkitpy: remove port.executive, port.filesystem, port.user properties
20646         https://bugs.webkit.org/show_bug.cgi?id=74896
20647
20648         Reviewed by Eric Seidel.
20649
20650         Following on the refactoring of the port and host objects, this
20651         removes the public executive, filesystem, and user properties
20652         from the Port interface (protected versions of executive and
20653         filesystem still exist). There is still some more clean up to
20654         make the code more consistent and rearrange some other files to
20655         talk to Hosts directly instead of getting them off of the Port
20656         class.
20657
20658         * Scripts/webkitpy/layout_tests/controllers/manager.py:
20659         (Manager.__init__):
20660         (Manager.results_directory):
20661         (Manager._log_worker_stack):
20662         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
20663         (ManagerTest.test_fallback_path_in_config):
20664         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
20665         (_InlineManager.start_worker):
20666         (_InlineWorkerConnection.__init__):
20667         * Scripts/webkitpy/layout_tests/controllers/worker.py:
20668         (Worker.safe_init):
20669         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
20670         (TestConfiguration.from_port):
20671         * Scripts/webkitpy/layout_tests/port/base.py:
20672         (Port.__init__):
20673         (Port.tests):
20674         (Port.show_results_html_file):
20675         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
20676         (PortTest.test_layout_tests_skipping):
20677         (PortTest.test_test_dirs):
20678         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
20679         (_set_up_derived_options):
20680         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
20681         (PerfTestsRunner.__init__):
20682         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
20683         (HtmlGenerator.__init__):
20684         (HtmlGenerator.show_html):
20685         (real_main):
20686         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
20687         (TestHtmlGenerator.make_generator):
20688
20689 2011-12-19  Daniel Bates  <dbates@webkit.org>
20690
20691         Pass command line arguments to GDB when debugging a Mac WebKit application
20692         https://bugs.webkit.org/show_bug.cgi?id=72829
20693
20694         Reviewed by David Kilzer.
20695
20696         Pass through any command line arguments given to debug-{safari, minibrowser}
20697         to GDB so that they may influence the application instance launched by GDB.
20698
20699         * Scripts/webkitdirs.pm:
20700         (execMacWebKitAppForDebugging):
20701
20702 2011-12-19  Dirk Pranke  <dpranke@chromium.org>
20703
20704         webkitpy: remove executive,filesystem,user parameters from Port constructor
20705         https://bugs.webkit.org/show_bug.cgi?id=74878
20706
20707         Reviewed by Eric Seidel.
20708
20709         This change concludes the refactoring that makes Host a required
20710         parameter for Port and ensures that all access to filesystem,
20711         executives, etc. is going through the Host.
20712
20713         * Scripts/webkitpy/layout_tests/port/base.py:
20714         (Port.__init__):
20715
20716 2011-12-19  Dirk Pranke  <dpranke@chromium.org>
20717
20718         webkitpy: finish refactoring port classes to make a host mandatory
20719         https://bugs.webkit.org/show_bug.cgi?id=74566
20720
20721         Reviewed by Eric Seidel.
20722
20723         This change makes all Port objects take a required (System)Host
20724         parameter, and updates the TestPort object to no longer create a
20725         mock filesystem or add files to the existing filesystem by
20726         default.
20727
20728         * Scripts/webkitpy/layout_tests/port/base.py:
20729         (Port.__init__):
20730         * Scripts/webkitpy/layout_tests/port/factory.py:
20731         (PortFactory.__init__):
20732         (PortFactory._get_kwargs):
20733         * Scripts/webkitpy/layout_tests/port/test.py:
20734         (TestInstance.__init__):
20735         (TestPort.__init__):
20736         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
20737         (passing_run):
20738         (logging_run):
20739         (get_tests_run):
20740         (MainTest.test_single_file):
20741         (MainTest.test_stderr_is_saved):
20742         (MainTest.test_test_list):
20743         (MainTest.test_test_list_with_prefix):
20744         (MainTest.test_missing_and_unexpected_results):
20745         (MainTest.test_missing_and_unexpected_results_with_custom_exit_code):
20746         (MainTest.test_crash_with_stderr):
20747         (MainTest.test_no_image_failure_with_image_diff):
20748         (MainTest.test_crash_log):
20749         (MainTest.test_web_process_crash_log):
20750         (MainTest.test_exit_after_n_failures_upload):
20751         (MainTest.test_results_directory_absolute):
20752         (MainTest.test_results_directory_relative):
20753         (MainTest.test_retries_directory):
20754         (MainTest.test_tolerance.get_port_for_run):
20755         (MainTest.test_reftest_should_not_use_naming_convention_if_not_listed_in_reftestlist):
20756         (EndToEndTest.test_end_to_end):
20757         (EndToEndTest.test_reftest_with_two_notrefs):
20758         (RebaselineTest.test_reset_results):
20759         (RebaselineTest.test_missing_results):
20760         (RebaselineTest.test_new_baseline):
20761         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
20762         (Rebaseliner.__init__):
20763         (main):
20764         (real_main):
20765         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
20766         (test_host_port_and_filesystem):
20767         (TestRebaseliner.make_rebaseliner):
20768         (TestRealMain.test_all_platforms):
20769         (TestHtmlGenerator.make_generator):
20770
20771 2011-12-19  Dirk Pranke  <dpranke@chromium.org>
20772
20773         webkitpy: update unit tests in preparation for making host a mandatory parameter to Port objects
20774         https://bugs.webkit.org/show_bug.cgi?id=74562
20775
20776         Reviewed by Eric Seidel.
20777
20778         Apart from a minor change to style/checkers/test_expectations.py
20779         to take a host as a parameter to a TestExpectationsChecker(),
20780         there are only refactoring changes to unit tests here.
20781
20782         * Scripts/webkitpy/layout_tests/controllers/test_result_writer_unittest.py:
20783         (TestResultWriterTest.test_reftest_diff_image):
20784         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
20785         (JSONGeneratorTest._test_json_generation):
20786         (JSONGeneratorTest.test_test_timings_trie):
20787         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
20788         (Base.__init__):
20789         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
20790         (PortTest.make_port):
20791         (PortTest.test_layout_tests_skipping):
20792         (PortTest.test_test_dirs):
20793         (PortTest.test_additional_platform_directory):
20794         (PortTest.test_uses_test_expectations_file):
20795         (PortTest.test_find_no_paths_specified):
20796         (PortTest.test_find_one_test):
20797         (PortTest.test_find_glob):
20798         (PortTest.test_find_with_skipped_directories):
20799         (PortTest.test_find_with_skipped_directories_2):
20800         (PortTest.test_parse_reftest_list):
20801         * Scripts/webkitpy/layout_tests/port/dryrun.py:
20802         (DryRunPort.__init__):
20803         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
20804         (FactoryTest.setUp):
20805         (FactoryTest.tearDown):
20806         (FactoryTest.assert_port):
20807         (FactoryTest.assert_platform_port):
20808         (FactoryTest.test_unknown_specified):
20809         (FactoryTest.test_unknown_default):
20810         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
20811         (GetGoogleChromePortTest._verify_expectations_overrides):
20812         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
20813         (MockDRTPortTest.make_port):
20814         (MockDRTTest.assertTest):
20815         (MockDRTTest.test_main):
20816         (MockChromiumDRTTest.test_pixeltest__fails):
20817         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
20818         (QtPortTest._assert_search_path):
20819         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
20820         (TestWebKitPort.__init__):
20821         (WebKitPortTest.test_skipped_directories_for_symbols):
20822         (test_skipped_directories_for_features):
20823         (test_skipped_layout_tests):
20824         (test_skipped_file_search_paths):
20825         (test_root_option):
20826         (test_test_expectations):
20827         (test_build_driver):
20828         (test_linux_distro_detection):
20829         (test_apache_config_file_name_for_platform):
20830         (test_path_to_apache_config_file):
20831         (WebKitDriverTest.test_read_block):
20832         * Scripts/webkitpy/style/checkers/test_expectations.py:
20833         (TestExpectationsChecker.__init__):
20834         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
20835         (TestExpectationsTestCase._expect_port_for_expectations_path):
20836         (TestExpectationsTestCase.assert_lines_lint):
20837         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
20838         (get_test_config.TestMacPort):
20839
20840 2011-12-19  Raphael Kubo da Costa  <kubo@profusion.mobi>
20841
20842         [Efl] Fix path returned by builtDylibPathForName in webkitdirs.pm
20843         https://bugs.webkit.org/show_bug.cgi?id=74854
20844
20845         Reviewed by Csaba Osztrogonác.
20846
20847         Since r101052, libewebkit.so is built in a different location, so we
20848         need to adjust the path returned by builtDylibPathForName.
20849
20850         usesPerConfigurationBuildDirectory also needs to be fixed, as the Efl
20851         port also respects Release/Debug configurations.
20852
20853         These changes should make run-launcher finally work correctly with
20854         webkit-efl.
20855
20856         * Scripts/webkitdirs.pm:
20857         (usesPerConfigurationBuildDirectory):
20858         (builtDylibPathForName):
20859
20860 2011-12-19  Simon Hausmann  <simon.hausmann@nokia.com>
20861
20862         [Qt][WK2] Add support for modal event loop processing for WTR
20863         https://bugs.webkit.org/show_bug.cgi?id=74852
20864
20865         Reviewed by Kenneth Rohde Christiansen.
20866
20867         Rewrote event loop processing: Instead of terminating the event loop
20868         in notifyDone() - something no other platform does - we now respect the
20869         "bool& condition" parameter passed to platformRunUntil. This ensures
20870         proper termination even when the condition is changed from within a
20871         nested event loop, because only when we _exit_ from the nested event
20872         loop we will check the condition and terminate the test properly.
20873
20874         In addition this patch implements TestController::runModal by means of
20875         a nested event loop, which is passed to the platform webview that is
20876         supposed to be modal. It is that view's responsibility to exit the
20877         loop, upon destruction. I believe that's similar to how it works on the Mac,
20878         where it doesn't seem that NSApp's runModalForWindow is terminate via
20879         abort/stopModal but simply because the window is closed.
20880
20881         * WebKitTestRunner/PlatformWebView.h:
20882         (WTR::PlatformWebView::setModalEventLoop):
20883         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
20884         (WTR::PlatformWebView::PlatformWebView):
20885         (WTR::PlatformWebView::~PlatformWebView):
20886         * WebKitTestRunner/qt/TestControllerQt.cpp:
20887         (WTR::TestController::notifyDone):
20888         (WTR::TestController::platformRunUntil):
20889         (WTR::TestController::runModal):
20890
20891 2011-12-18  Kentaro Hara  <haraken@chromium.org>
20892
20893         REGRESSION(r103149): prepare-ChangeLog outputs a warning
20894         https://bugs.webkit.org/show_bug.cgi?id=74808
20895
20896         Reviewed by David Kilzer.
20897
20898         Added the prototype declaration of main() to avoid warning messages.
20899         Sorted subroutine declarations in the alphabetical order.
20900
20901         * Scripts/prepare-ChangeLog:
20902
20903 2011-12-17  Adenilson Cavalcanti  <cavalcantii@gmail.com>
20904
20905         [Qt] Fix QtTestBrowser compilation with QtWidgets module
20906         https://bugs.webkit.org/show_bug.cgi?id=74791
20907
20908         Reviewed by Andreas Kling.
20909
20910         * QtTestBrowser/QtTestBrowser.pro:
20911
20912 2011-12-17  Kentaro Hara  <haraken@chromium.org>
20913
20914         Remove top-level code completely from prepare-ChangeLog
20915         https://bugs.webkit.org/show_bug.cgi?id=74698
20916
20917         Reviewed by Darin Adler.
20918
20919         We are planning to write unit-tests for prepare-ChangeLog in a run-leaks_unittest manner.
20920         This patch just moves all top-level code into main().
20921
20922         * Scripts/prepare-ChangeLog:
20923         (main):
20924
20925 2011-12-16  Dean Jackson  <dino@apple.com>
20926
20927         Move webkit-bug-importer to Contributor. It won't
20928         autocomplete as an Account.
20929         See https://bugs.webkit.org/show_bug.cgi?id=74739
20930         for some discussion.
20931
20932         Unreviewed.
20933
20934         * Scripts/webkitpy/common/config/committers.py:
20935
20936 2011-12-16  Dean Jackson  <dino@apple.com>
20937
20938         Add webkit-bug-importer@group.apple.com to accounts
20939         so that it autocompletes in bugzilla.
20940
20941         Unreviewed.
20942
20943         * Scripts/webkitpy/common/config/committers.py:
20944
20945 2011-12-16  Philippe Normand  <pnormand@igalia.com>
20946
20947         Unreviewed, skipping 3 failing GTK API tests.
20948
20949         * Scripts/run-gtk-tests:
20950
20951 2011-12-16  Philippe Normand  <pnormand@igalia.com>
20952
20953         Unreviewed, GTK API tests build fix attempt.
20954
20955         * Scripts/run-gtk-tests: Run xvfb on a display not used by NRWT.
20956
20957 2011-12-16  Philippe Normand  <pnormand@igalia.com>
20958
20959         Unreviewed, unskipping GTK testdownload. Should pass on the bot now.
20960
20961         * Scripts/run-gtk-tests:
20962
20963 2011-12-16  Simon Hausmann  <simon.hausmann@nokia.com>
20964
20965         [Qt] Fix the build for newer Qt5
20966         https://bugs.webkit.org/show_bug.cgi?id=74703
20967
20968         Reviewed by Csaba Osztrogonác.
20969
20970         * QtTestBrowser/launcherwindow.h: Add missing forward declaration.
20971         * DumpRenderTree/qt/EventSenderQt.cpp:
20972         (EventSender::sendTouchEvent): Allocate QTouchDevice and use with QTouchEvent constructor.
20973         * WebKitTestRunner/qt/EventSenderProxyQt.cpp: Ditto.
20974         (WTR::EventSenderProxy::sendTouchEvent):
20975         * MiniBrowser/qt/MiniBrowserApplication.cpp:
20976         (MiniBrowserApplication::sendTouchEvent): Ditto.
20977         (MiniBrowserApplication::notify): Adapt to changed API for marking primary touch point.
20978
20979 2011-12-16  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
20980
20981         [Qt] Detect and force clean build when feature defines are added
20982
20983         Reviewed by Ossy.
20984
20985         https://bugs.webkit.org/show_bug.cgi?id=74689
20986
20987         * Scripts/webkitdirs.pm:
20988
20989 2011-12-16  Kentaro Hara  <haraken@chromium.org>
20990
20991         [Refactoring] Remove all global variables from prepare-ChangeLog
20992         https://bugs.webkit.org/show_bug.cgi?id=74681
20993
20994         Reviewed by Ryosuke Niwa.
20995
20996         We are planning to write unit-tests for prepare-ChangeLog in a run-leaks_unittest
20997         manner. This bug is one of the incremental refactorings to remove all top-level
20998         code and global variables from prepare-ChangeLog. In this patch,
20999         we make the following global variables be used only through parameter passing.
21000         This patch removes all global variables from prepare-ChangeLog.
21001             - $mergeBase
21002             - $gitCommit
21003             - $gitIndex
21004
21005         * Scripts/prepare-ChangeLog:
21006         (generateFunctionLists):
21007         (changeLogNameFromArgs):
21008         (changeLogEmailAddressFromArgs):
21009         (generateNewChangeLogs):
21010         (printDiff):
21011         (diffFromToString):
21012         (diffCommand):
21013         (statusCommand):
21014         (createPatchCommand):
21015         (generateFileList):
21016         (isConflictStatus):
21017
21018 2011-12-15  Philippe Normand  <pnormand@igalia.com>
21019
21020         [GTK] Rounding errors on 32-bit machines causes tests to fail
21021         https://bugs.webkit.org/show_bug.cgi?id=72254
21022
21023         Initial patch by vanuan@gmail.com.
21024         Reviewed by Martin Robinson.
21025
21026         * Scripts/webkitdirs.pm:
21027         (runAutogenForAutotoolsProjectIfNecessary): Pass additional
21028         CXXFLAGS to autogen in an attempt to harmonize floating point
21029         values between 32-bit and 64-bit architectures.
21030
21031 2011-12-16  Martin Robinson  <mrobinson@igalia.com>
21032
21033         [GTK] Make distcheck fails during the install
21034         https://bugs.webkit.org/show_bug.cgi?id=74274
21035
21036         No review, since this is a build fix.
21037
21038         * GNUmakefile.am: Remove BUILT_SOURCES from the dependency list for the gtkdoc
21039         step. BUILT_SOURCES includes forwarding header generation for WebKit2, which
21040         always runs. This means that the gtkdoc step was always running when make was
21041         invoked. Generating gtkdoc during 'make install' was triggering a race condition
21042         with the library file. Later we can fix generate-forwarding-headers and unbreak
21043         'make docs,' but this bandaid is sufficient to let us release.
21044
21045 2011-12-15  Eric Seidel  <eric@webkit.org>
21046
21047         NRWT should use free + inactive memory for default_child_processes on OS X (and never return < 1 process)
21048         https://bugs.webkit.org/show_bug.cgi?id=74650
21049
21050         Reviewed by Adam Barth.
21051
21052         * Scripts/webkitpy/common/system/platforminfo.py:
21053         (PlatformInfo._compute_bytes_from_vm_stat_output):
21054         * Scripts/webkitpy/layout_tests/port/base.py:
21055         (Port.default_child_processes):
21056         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
21057         (PortTest.test_default_child_processes):
21058
21059 2011-12-15  Filip Pizlo  <fpizlo@apple.com>
21060
21061         bencher script should support remote benchmarking on platforms that don't have ruby
21062         https://bugs.webkit.org/show_bug.cgi?id=74659
21063
21064         Rubber-stamped by Sam Weinig.
21065         
21066         Added the ability to have bencher generate a benchmarking playload that consists of
21067         copies of all of the benchmarks, optionally copies of all of the frameworks and
21068         binaries to run all of the VMs, and a sh script that runs the benchmarks in random
21069         order, which then spits out a raw results file that bencher can parse.
21070         
21071         In normal operating mode, you never see this, as it just generates the payload and
21072         script internally, runs it, parses the results, and spits them out.
21073         
21074         The --remote mode has been changed to use this style, so any remote host that has
21075         sshd, passwordless login support, a ~/.bencher file that points to a "tempPath", and
21076         a sh-compatible shell can be used for remote benchmarking.
21077         
21078         The feature to include VMs in the benchmarking payload is by default only activated
21079         when using --remote, but it can also be activated when doing local benchmarking; the
21080         benefit is that you remove any pathname-related performance pathologies. All VMs
21081         become equal because they are all located in
21082         /path/to/bencher/directory/temp/benchdata/vmN where N is the configuration number
21083         (usually 0 or 1).
21084         
21085         Also fixed bugs in the DumpRenderTree support. It's now possible to run all benchmarks
21086         through DumpRenderTree. This is only a bit slower than running in jsc.
21087
21088         * Scripts/bencher:
21089
21090 2011-12-15  Dirk Pranke  <dpranke@chromium.org>
21091
21092         webkitpy: clean up TestPort to (mostly) not create a new filesystem
21093         https://bugs.webkit.org/show_bug.cgi?id=74556
21094
21095         This change modifies the TestPort to be ready to add tests to an
21096         existing filesystem instead of creating a new filesystem; we
21097         leave unit_test_filesystem() in for now for compatibility.
21098
21099         * Scripts/webkitpy/common/host_mock.py:
21100         (MockHost.__init__):
21101           - call add_unit_tests_to_mock_filesystem by default to make
21102             the MockHost more generally useful for layout_test unit tests.
21103         * Scripts/webkitpy/layout_tests/port/test.py:
21104         (TestInstance.__init__):
21105         (add_unit_tests_to_mock_filesystem):
21106         (add_file):
21107         (unit_test_filesystem):
21108         (TestPort.__init__):
21109         (TestPort._set_default_overriding_none):
21110
21111 2011-12-15  Dirk Pranke  <dpranke@chromium.org>
21112
21113         webkitpy: cleanup prior to systemhostifying the layout_test/port* classes
21114         https://bugs.webkit.org/show_bug.cgi?id=74551
21115
21116         This is some minor cleanup prior to making all of the host/port
21117         changes described in bug 74138.
21118
21119         * Scripts/webkitpy/common/host_mock.py:
21120         (MockHost.__init__):
21121           - make sure the scm object is initialized with the same mock
21122             executive and filesystem objects.
21123
21124         * Scripts/webkitpy/common/system/filesystem_mock.py:
21125         (MockFileSystem.clear_written_files):
21126           - add a routine that will be useful in testing.
21127         (MockFileSystem.maybe_make_directory):
21128         (MockFileSystem.write_binary_file):
21129           - fix bugs to make sure directories are created properly.
21130         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
21131         (_Process.run):
21132           - add clarifying comments.
21133         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
21134         (MockDRTPort.__init__):
21135         (MockDRT.__init__):
21136           - add clarifying comments.
21137
21138 2011-12-15  Anders Carlsson  <andersca@apple.com>
21139
21140         Regression (r102866): Navigating away from or closing a page with a plugin crashes
21141         https://bugs.webkit.org/show_bug.cgi?id=74655
21142
21143         Reviewed by Sam Weinig.
21144
21145         Add a bunch of tests.
21146
21147         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21148
21149 2011-12-15  Stephanie Lewis  <slewis@apple.com>
21150
21151         https://bugs.webkit.org/show_bug.cgi?id=74469
21152         Escape paths to svn commands so our tools can handle filenames with @ symbols.
21153
21154         Reviewed by Adam Roben.
21155
21156         * Scripts/VCSUtils.pm:
21157         (scmMoveOrRenameFile):
21158         (scmAddExecutableBit):
21159         (scmRemoveExecutableBit):
21160         (determineSVNRoot):
21161         (svnRevisionForDirectory):
21162         (pathRelativeToSVNRepositoryRootForPath):
21163         (svnStatus):
21164         (escapeSubversionPath):
21165         * Scripts/parse-malloc-history:
21166         (main):
21167         * Scripts/prepare-ChangeLog:
21168         (diffCommand):
21169         (statusCommand):
21170         (findOriginalFileFromSvn):
21171         (determinePropertyChanges):
21172         * Scripts/resolve-ChangeLogs:
21173         (conflictFiles):
21174         (resolveConflict):
21175         (showStatus):
21176         * Scripts/svn-apply:
21177         (patch):
21178         (scmCopy):
21179         (scmAdd):
21180         (scmRemove):
21181         * Scripts/svn-create-patch:
21182         (findBaseUrl):
21183         (findMimeType):
21184         (findSourceFileAndRevision):
21185         (generateDiff):
21186         (generateFileList):
21187         (manufacturePatchForAdditionWithHistory):
21188         * Scripts/svn-unapply:
21189         (patch):
21190         (revertDirectories):
21191
21192 2011-12-15  Michael Bruning  <michael.bruning@nokia.com>
21193
21194         [qt][wk2] MiniBrowser: Add pressed state for viewport info button.
21195         https://bugs.webkit.org/show_bug.cgi?id=74617
21196
21197         Reviewed by Kenneth Rohde Christiansen.
21198
21199         * MiniBrowser/qt/qml/BrowserWindow.qml: Added state dependent coloring
21200         for viewport info button, adjusted height and added rounded corners.
21201
21202 2011-12-15  Andy Estes  <aestes@apple.com>
21203
21204         TestFailures: store the name of the buildbot results directory in a property
21205         https://bugs.webkit.org/show_bug.cgi?id=74663
21206
21207         Reviewed by Adam Barth.
21208         
21209         Store the name of the results directory as a property on Buildbot's
21210         prototype. This allows subclasses of Buildbot to customize the results
21211         directory.
21212
21213         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Buildbot.js:
21214         (Buildbot.prototype.resultsDirectoryURL):
21215
21216 2011-12-15  Tony Chang  <tony@chromium.org>
21217
21218         [chromium] pass --delete_unversioned_trees to gclient on the bots
21219         https://bugs.webkit.org/show_bug.cgi?id=74565
21220
21221         Reviewed by Kenneth Russell.
21222
21223         It was temporarily removed in r102891 to keep the bots green.  Now
21224         that the bots have cycled, we can add it back.
21225
21226         * Scripts/update-webkit-chromium:
21227
21228 2011-12-15  Kentaro Hara  <haraken@chromium.org>
21229
21230         [Refactoring] In prepare-ChangeLog, make several global variables be used only through parameter passing
21231         https://bugs.webkit.org/show_bug.cgi?id=74497
21232
21233         Reviewed by Ryosuke Niwa.
21234
21235         We are planning to write unit-tests for prepare-ChangeLog in a run-leaks_unittest
21236         manner. This bug is one of the incremental refactorings to remove all top-level
21237         code and global variables from prepare-ChangeLog. In this patch,
21238         we make the following global variables be used only through parameter passing.
21239             - $bugDescription
21240             - $bugNumber
21241             - $name
21242             - $emailAddress
21243             - $gitReviewer
21244             - $writeChangeLogs
21245
21246         * Scripts/prepare-ChangeLog:
21247         (fetchBugDescriptionFromURL):
21248         (generateNewChangeLogs):
21249         (reviewerAndDescriptionForGitCommit):
21250
21251 2011-12-15  Raphael Kubo da Costa  <kubo@profusion.mobi>
21252
21253         [EFL] Add a few more web database functions to ewk_settings.
21254         https://bugs.webkit.org/show_bug.cgi?id=72148
21255
21256         Reviewed by Antonio Gomes.
21257
21258         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
21259         (LayoutTestController::clearAllDatabases):
21260         (LayoutTestController::setDatabaseQuota):
21261
21262 2011-12-15  Martin Kosiba  <mkosiba@google.com>
21263
21264         Fix find on web pages with -webkit-user-select: none for Chromium
21265         https://bugs.webkit.org/show_bug.cgi?id=72281
21266
21267         Reviewed by Ryosuke Niwa.
21268
21269         Provided a partial findString implementation. This doesn't support
21270         all of the FindOptions since they're not exposed via WebFindOptions.
21271
21272         * DumpRenderTree/chromium/LayoutTestController.cpp:
21273         (LayoutTestController::LayoutTestController):
21274         (LayoutTestController::findString):
21275         * DumpRenderTree/chromium/LayoutTestController.h:
21276
21277 2011-12-15  Kenneth Russell  <kbr@google.com>
21278
21279         [chromium] Add DRT support for WebKitPageCacheSupportsPluginsPreferenceKey
21280         https://bugs.webkit.org/show_bug.cgi?id=74581
21281
21282         Reviewed by Darin Fisher.
21283
21284         * DumpRenderTree/chromium/LayoutTestController.cpp:
21285         (LayoutTestController::overridePreference):
21286         * DumpRenderTree/chromium/WebPreferences.cpp:
21287         (WebPreferences::reset):
21288         (WebPreferences::applyTo):
21289         * DumpRenderTree/chromium/WebPreferences.h:
21290
21291 2011-12-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
21292
21293         [Qt] Improve the look of the viewport info overlay
21294
21295         Reviewed by Tor Arne Vestbø.
21296
21297         * MiniBrowser/qt/qml/ViewportInfoItem.qml:
21298
21299 2011-12-15  Igor Oliveira  <igor.oliveira@openbossa.org>
21300
21301         [Qt] Support requestAnimationFrame API
21302         https://bugs.webkit.org/show_bug.cgi?id=74528
21303
21304         Add build-option for requestAnimationFrame feature.
21305
21306         Reviewed by Kenneth Rohde Christiansen.
21307
21308         * qmake/mkspecs/features/features.prf:
21309
21310 2011-12-15  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
21311
21312         [Qt] Don't add WebCoreSupport and WebKit APIs to include WebCore's include path
21313
21314         Reviewed by Simon Hausmann.
21315
21316         * qmake/mkspecs/features/webcore.prf:
21317
21318 2011-12-15  Michael Brüning  <michael.bruning@nokia.com>
21319
21320         [QT][WK2]Add (experimental) viewport info view to Minibrowser/qt.
21321         https://bugs.webkit.org/show_bug.cgi?id=72893
21322
21323         Reviewed by Kenneth Rohde Christiansen.
21324
21325         This patch extends QQuickWebViewExperimental by a property named
21326         viewportInfo, which contains the viewport scalability and
21327         layout and contents size information. This property is exposed to
21328         QML through the experimental extension for QQuickWebView.
21329
21330         * MiniBrowser/qt/MiniBrowser.pro:
21331         * MiniBrowser/qt/MiniBrowser.qrc:
21332         * MiniBrowser/qt/icons/info.png: Added.
21333         * MiniBrowser/qt/qml/BrowserWindow.qml:
21334         * MiniBrowser/qt/qml/ViewportInfoItem.qml: Added.
21335
21336 2011-12-15  Shinya Kawanaka  <shinyak@google.com>
21337
21338         [chromium] WebViewHost::requestCheckingOfText should return immediately if text is empty.
21339         https://bugs.webkit.org/show_bug.cgi?id=74586
21340
21341         Reviewed by Hajime Morita.
21342
21343         No new tests. Covered by existing tests.
21344
21345         * DumpRenderTree/chromium/WebViewHost.cpp:
21346         (WebViewHost::requestCheckingOfText):
21347           Returns immediately if text is empty.
21348
21349 2011-12-15  Alexander Færøy  <ahf@0x90.dk>
21350
21351         [Qt] QtWebKit fails to build on Mac OS X after r102776
21352         https://bugs.webkit.org/show_bug.cgi?id=74593
21353
21354         Reviewed by Simon Hausmann.
21355
21356         CONFIG =+ link_pkgconfig is needed such that the correct parameters
21357         are passed to the compiler.
21358
21359         * DumpRenderTree/qt/DumpRenderTree.pro:
21360
21361 2011-12-14  Tony Chang  <tony@chromium.org>
21362
21363         [chromium] Remove redundant third_party entries from chromium DEPS
21364         https://bugs.webkit.org/show_bug.cgi?id=74472
21365
21366         Reviewed by Kenneth Russell.
21367
21368         * Scripts/update-webkit-chromium: Temporarily keep unversioned trees.
21369
21370 2011-12-14  Kentaro Hara  <haraken@chromium.org>
21371
21372         [Refactoring] In prepare-ChangeLog, replace $isGit and $isSVN with
21373         VCSUtils::isGit() and VCSUtils::isSVN().
21374         https://bugs.webkit.org/show_bug.cgi?id=74485
21375
21376         Reviewed by David Kilzer.
21377
21378         We are planning to write unit-tests for prepare-ChangeLog in a run-leaks_unittest
21379         manner. This bug is one of the incremental refactorings to remove all top-level
21380         code and global variables from prepare-ChangeLog. This patch replaces $isGit and $isSVN
21381         with VCSUtils::isGit() and VCSUtils::isSVN(). This patch also removes firstDirectoryOrCwd(),
21382         assuming that no user will mix Git/SVN checkouts and thus we can judge SVN or Git
21383         just by looking at the current working directory.
21384
21385         * Scripts/prepare-ChangeLog: Removed firstDirectoryOrCwd().
21386         (diffFromToString):
21387         (diffCommand):
21388         (statusCommand):
21389         (createPatchCommand):
21390         (diffHeaderFormat):
21391         (generateFileList):
21392         (isAddedStatus):
21393         (isConflictStatus):
21394         (statusDescription):
21395         (extractLineRange):
21396
21397 2011-12-14  Sam Weinig  <weinig@apple.com>
21398
21399         Remove whitespace from InheritedPropertySheets attributes in
21400         vsprops files to appease the Visual Studio project migrator.
21401
21402         Reviewed by Adam Roben.
21403
21404         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebug.vsprops:
21405         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebugAll.vsprops:
21406         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebugCairoCFLite.vsprops:
21407         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops:
21408         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginRelease.vsprops:
21409         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseCairoCFLite.vsprops:
21410         * DumpRenderTree/win/DumpRenderTreeDebug.vsprops:
21411         * DumpRenderTree/win/DumpRenderTreeDebugAll.vsprops:
21412         * DumpRenderTree/win/DumpRenderTreeDebugCairoCFLite.vsprops:
21413         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops:
21414         * DumpRenderTree/win/DumpRenderTreeRelease.vsprops:
21415         * DumpRenderTree/win/DumpRenderTreeReleaseCairoCFLite.vsprops:
21416         * DumpRenderTree/win/ImageDiffDebug.vsprops:
21417         * DumpRenderTree/win/ImageDiffDebugAll.vsprops:
21418         * DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops:
21419         * DumpRenderTree/win/ImageDiffProduction.vsprops:
21420         * DumpRenderTree/win/ImageDiffRelease.vsprops:
21421         * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops:
21422         * MiniBrowser/Configurations/MiniBrowserDebug.vsprops:
21423         * MiniBrowser/Configurations/MiniBrowserDebugAll.vsprops:
21424         * MiniBrowser/Configurations/MiniBrowserDebugCairoCFLite.vsprops:
21425         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops:
21426         * MiniBrowser/Configurations/MiniBrowserRelease.vsprops:
21427         * MiniBrowser/Configurations/MiniBrowserReleaseCairoCFLite.vsprops:
21428         * TestWebKitAPI/Configurations/TestWebKitAPIRelease.vsprops:
21429         * TestWebKitAPI/Configurations/TestWebKitAPIReleaseCairoCFLite.vsprops:
21430         * WebKitLauncherWin/WebKitLauncherWinDebug.vsprops:
21431         * WebKitLauncherWin/WebKitLauncherWinDebugAll.vsprops:
21432         * WebKitLauncherWin/WebKitLauncherWinDebugCairoCFLite.vsprops:
21433         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops:
21434         * WebKitLauncherWin/WebKitLauncherWinRelease.vsprops:
21435         * WebKitLauncherWin/WebKitLauncherWinReleaseCairoCFLite.vsprops:
21436         * WebKitTestRunner/win/InjectedBundleDebug.vsprops:
21437         * WebKitTestRunner/win/InjectedBundleDebugAll.vsprops:
21438         * WebKitTestRunner/win/InjectedBundleDebugCairoCFLite.vsprops:
21439         * WebKitTestRunner/win/InjectedBundleProduction.vsprops:
21440         * WebKitTestRunner/win/InjectedBundleRelease.vsprops:
21441         * WebKitTestRunner/win/InjectedBundleReleaseCairoCFLite.vsprops:
21442         * WebKitTestRunner/win/WebKitTestRunnerDebug.vsprops:
21443         * WebKitTestRunner/win/WebKitTestRunnerDebugAll.vsprops:
21444         * WebKitTestRunner/win/WebKitTestRunnerDebugCairoCFLite.vsprops:
21445         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops:
21446         * WebKitTestRunner/win/WebKitTestRunnerRelease.vsprops:
21447         * WebKitTestRunner/win/WebKitTestRunnerReleaseCairoCFLite.vsprops:
21448         * WinLauncher/WinLauncherDebug.vsprops:
21449         * WinLauncher/WinLauncherDebugAll.vsprops:
21450         * WinLauncher/WinLauncherDebugCairoCFLite.vsprops:
21451         * WinLauncher/WinLauncherProduction.vsprops:
21452         * WinLauncher/WinLauncherRelease.vsprops:
21453         * WinLauncher/WinLauncherReleaseCairoCFLite.vsprops:
21454         * record-memory-win/record-memory-winDebug.vsprops:
21455         * record-memory-win/record-memory-winDebugAll.vsprops:
21456         * record-memory-win/record-memory-winDebugCairoCFLite.vsprops:
21457         * record-memory-win/record-memory-winProduction.vsprops:
21458         * record-memory-win/record-memory-winRelease.vsprops:
21459         * record-memory-win/record-memory-winReleaseCairoCFLite.vsprops:
21460
21461 2011-12-14  Anders Carlsson  <andersca@apple.com>
21462
21463         Windows build fix.
21464
21465         Move CHECKs out of the destructor.
21466
21467         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21468         (TestWebKitAPI::B::~B):
21469         (TestWebKitAPI::TEST):
21470
21471 2011-12-14  Anders Carlsson  <andersca@apple.com>
21472
21473         binding a member function should ref/deref the object pointer if needed
21474         https://bugs.webkit.org/show_bug.cgi?id=74552
21475
21476         Reviewed by Sam Weinig.
21477
21478         Add new tests.
21479
21480         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21481         (TestWebKitAPI::B::B):
21482         (TestWebKitAPI::B::~B):
21483         (TestWebKitAPI::B::ref):
21484         (TestWebKitAPI::B::deref):
21485         (TestWebKitAPI::B::f):
21486         (TestWebKitAPI::B::g):
21487         (TestWebKitAPI::TEST):
21488
21489 2011-12-14  Hajime Morrita  <morrita@chromium.org>
21490
21491         JS_INLINE and WTF_INLINE should be visible from WebCore
21492         https://bugs.webkit.org/show_bug.cgi?id=73191
21493
21494         Reviewed by Kevin Ollivier.
21495
21496         Removed macro definitions which is now provided by Platform.h
21497
21498         * DumpRenderTree/chromium/config.h:
21499         * DumpRenderTree/config.h:
21500         * DumpRenderTree/ForwardingHeaders/runtime/JSExportMacros.h: Added.
21501         * DumpRenderTree/ForwardingHeaders/wtf/ExportMacros.h: Added.
21502         * DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Add new ForwardingHeaders.
21503         * TestWebKitAPI/config.h:
21504         * WebKitTestRunner/config.h:
21505
21506 2011-12-14  Kentaro Hara  <haraken@chromium.org>
21507
21508         Unreviewed, rolling out r102761.
21509         http://trac.webkit.org/changeset/102761
21510         https://bugs.webkit.org/show_bug.cgi?id=74485
21511
21512         we came up with a better fix than this (see comments in bug
21513         74485)
21514
21515         * Scripts/prepare-ChangeLog:
21516         (generateFunctionLists):
21517         (printDiff):
21518         (diffCommand):
21519         (statusCommand):
21520         (createPatchCommand):
21521         (generateFileList):
21522         (isAddedStatus):
21523         (isConflictStatus):
21524         (statusDescription):
21525         (extractLineRange):
21526
21527 2011-12-14  Anders Carlsson  <andersca@apple.com>
21528
21529         Work around a bug in the MSVC2005 compiler
21530         https://bugs.webkit.org/show_bug.cgi?id=74550
21531
21532         Reviewed by Sam Weinig.
21533
21534         Re-enable tests.
21535
21536         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21537
21538 2011-12-14  Csaba Osztrogonác  <ossy@webkit.org>
21539
21540         [Qt] Test fonts are not used with Qt5
21541         https://bugs.webkit.org/show_bug.cgi?id=72513
21542
21543         My last unreviewed buildfix for this crazy bug.
21544
21545         * qmake/mkspecs/features/features.prf:
21546
21547 2011-12-14  Anders Carlsson  <andersca@apple.com>
21548
21549         Another attempt at fixing the Windows build.
21550
21551         Disable all the tests until I can figure out what's going on here.
21552
21553         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21554
21555 2011-12-14  Anders Carlsson  <andersca@apple.com>
21556
21557         Fix the Windows build.
21558
21559         Disable some of the tests for now.
21560
21561         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21562
21563 2011-12-14  Anders Carlsson  <andersca@apple.com>
21564
21565         bind should handle member functions
21566         https://bugs.webkit.org/show_bug.cgi?id=74529
21567
21568         Reviewed by Sam Weinig.
21569
21570         Add tests.
21571
21572         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21573         (TestWebKitAPI::A::A):
21574         (TestWebKitAPI::A::f):
21575         (TestWebKitAPI::A::addF):
21576         (TestWebKitAPI::TEST):
21577
21578 2011-12-14  Anders Carlsson  <andersca@apple.com>
21579
21580         Add unary and binary bind overloads
21581         https://bugs.webkit.org/show_bug.cgi?id=74524
21582
21583         Reviewed by Sam Weinig.
21584
21585         Add tests.
21586
21587         * TestWebKitAPI/Tests/WTF/Functional.cpp:
21588         (TestWebKitAPI::TEST):
21589         (TestWebKitAPI::multiplyByTwo):
21590         (TestWebKitAPI::multiplyByOneAndAHalf):
21591         (TestWebKitAPI::multiply):
21592         (TestWebKitAPI::subtract):
21593
21594 2011-12-14  Holger Hans Peter Freyther  <holger@moiji-mobile.com>
21595
21596         [Qt] Test fonts are not used with Qt5
21597         https://bugs.webkit.org/show_bug.cgi?id=72513
21598
21599         MIPS and SH4 buildfix after r102776 and r102795.
21600
21601         Reviewed by Csaba Osztrogonác.
21602
21603         * qmake/mkspecs/features/features.prf:
21604
21605 2011-12-14  Csaba Osztrogonác  <ossy@webkit.org>
21606
21607         [Qt] Unreviewed speculative MIPS and SH4 buildfix after r102776.
21608
21609         * qmake/mkspecs/features/features.prf:
21610
21611 2011-12-14  Andreas Kling  <kling@webkit.org>
21612
21613         Make my e-mail address a little more awesome.
21614
21615         * Scripts/webkitpy/common/config/committers.py:
21616
21617 2011-12-14  Csaba Osztrogonác  <ossy@webkit.org>
21618
21619         [Qt] Rollout r102769, because it broke Qt-4.8 builds.
21620
21621         * qmake/mkspecs/features/webcore.prf:
21622
21623 2011-12-14  Balazs Kelemen  <kbalazs@webkit.org>
21624
21625         [Qt] Test fonts are not used with Qt5
21626         https://bugs.webkit.org/show_bug.cgi?id=72513
21627
21628         Reviewed by Simon Hausmann.
21629
21630         Don't depend on Q_WS_X11 anymore since it's not the Qt5
21631         way to detect the platform. Make the guards depend
21632         on our own configtest for fontconfig. For Qt4 we can still
21633         use the preassumption that we have it on Linux.
21634
21635         * DumpRenderTree/qt/DumpRenderTree.pro:
21636         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
21637         (WebCore::DumpRenderTree::open):
21638         (WebCore::DumpRenderTree::initializeFonts):
21639         * DumpRenderTree/qt/DumpRenderTreeQt.h:
21640         * DumpRenderTree/qt/main.cpp:
21641         (main): Additionally remove a nonsense piece of code that was
21642         trying to reset the font settings - which is not necessary -
21643         after we have already returned from main.
21644         * WebKitTestRunner/InjectedBundle/Target.pri:
21645         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
21646         (WTR::activateFonts):
21647         * WebKitTestRunner/Target.pri: Remove unnecessary fontconfig linkage
21648         from WTR. It is not needed. We set up the fonts via the injected bundle.
21649         * qmake/config.tests/fontconfig/fontconfig.cpp: Added.
21650         (main):
21651         * qmake/config.tests/fontconfig/fontconfig.pro: Added.
21652         * qmake/mkspecs/features/features.prf:
21653         * qmake/sync.profile:
21654
21655 2011-12-14  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
21656
21657         [Qt] Don't add WebCoreSupport and WebKit APIs to include WebCore's include path
21658
21659         Followup to r102679
21660
21661         https://bugs.webkit.org/show_bug.cgi?id=74413
21662
21663         Reviewed by Simon Hausmann.
21664
21665         * qmake/mkspecs/features/webcore.prf:
21666
21667 2011-12-14  Pierre Rossi  <pierre.rossi@gmail.com>
21668
21669         [Qt] Mobile theme could use a little refresh
21670         https://bugs.webkit.org/show_bug.cgi?id=74293
21671
21672         Have MiniBrowser use the mobile theme when not
21673         passed --desktop.
21674
21675         Reviewed by Kenneth Rohde Christiansen.
21676
21677         * MiniBrowser/qt/MiniBrowserApplication.cpp:
21678         (MiniBrowserApplication::handleUserOptions):
21679
21680 2011-12-14  João Paulo Rechi Vita  <jprvita@openbossa.org>
21681
21682         [Qt] [Gardening] Remove qt-4.7 layout tests dir
21683         https://bugs.webkit.org/show_bug.cgi?id=74426
21684
21685         Building trunk now depends on Qt >= 4.8, so no need to keep this directory
21686         on the tree.
21687
21688         Reviewed by Csaba Osztrogonác.
21689
21690         * Scripts/webkitpy/layout_tests/port/qt.py:
21691         (QtPort.qt_version):
21692         (QtPort.baseline_search_path):
21693         (QtPort._skipped_file_search_paths):
21694         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
21695         (QtPortTest._assert_search_path):
21696
21697 2011-12-14  Kentaro Hara  <haraken@chromium.org>
21698
21699         [Refactoring] In prepare-ChangeLog, make $isGit and $isSVN be used only
21700         through parameter passing
21701         https://bugs.webkit.org/show_bug.cgi?id=74485
21702
21703         Reviewed by Ryosuke Niwa.
21704
21705         We are planning to write unit-tests for prepare-ChangeLog in a run-leaks_unittest
21706         manner. This bug is one of the incremental refactorings to remove all top-level
21707         code and global variables from prepare-ChangeLog. In this patch,
21708         we make the following global variables be used only through parameter passing.
21709             - $isGit
21710             - $isSVN
21711
21712         * Scripts/prepare-ChangeLog:
21713         (generateFunctionLists):
21714         (printDiff):
21715         (diffFromToString):
21716         (diffCommand):
21717         (statusCommand):
21718         (createPatchCommand):
21719         (diffHeaderFormat):
21720         (generateFileList):
21721         (isAddedStatus):
21722         (isConflictStatus):
21723         (statusDescription):
21724         (extractLineRange):
21725
21726 2011-12-14  Alexander Færøy  <alexander.faeroy@nokia.com>
21727
21728         [Qt] DeviceOrientationClientMockQt should be removed in favor of DeviceOrientationClientMock
21729         https://bugs.webkit.org/show_bug.cgi?id=74417
21730
21731         Reviewed by Simon Hausmann.
21732
21733         Based on original patch by Kenneth Christiansen.
21734
21735         Already covered by current tests.
21736
21737         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
21738         (WebCore::DumpRenderTree::DumpRenderTree):
21739         (WebCore::DumpRenderTree::~DumpRenderTree):
21740         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
21741         (LayoutTestController::setMockDeviceOrientation):
21742
21743 2011-12-03  Philippe Normand  <pnormand@igalia.com>
21744
21745         [GTK] Bad text rendering since r101343
21746         https://bugs.webkit.org/show_bug.cgi?id=73744
21747
21748         Reviewed by Martin Robinson.
21749
21750         Turn cairo hint metrics off for better font metrics reporting in
21751         the tests. This is especially important for SVG.
21752
21753         * DumpRenderTree/gtk/DumpRenderTree.cpp:
21754         (initializeGtkFontSettings):
21755         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
21756         (WTR::initializeGtkSettings):
21757
21758 2011-12-13  Kentaro Hara  <haraken@chromium.org>
21759
21760         [Refactoring] Remove several global variables from prepare-ChangeLog
21761         https://bugs.webkit.org/show_bug.cgi?id=74389
21762
21763         Reviewed by David Kilzer.
21764
21765         We are planning to write unit-tests for prepare-ChangeLog in a run-leaks_unittest
21766         manner. This bug is one of the incremental refactorings to remove all top-level
21767         code and global variables from prepare-ChangeLog. In this patch,
21768         we make the following global variables being used only through parameter passing.
21769             - %paths
21770             - $changedFiles
21771             - $conflictFiles
21772             - $functionLists
21773             - $bugURL
21774
21775         * Scripts/prepare-ChangeLog:
21776         (findChangeLogs):
21777         (generateNewChangeLogs):
21778         (processPaths):
21779         (generateFileList):
21780         (firstDirectoryOrCwd):
21781
21782 2011-12-13  Anders Carlsson  <andersca@apple.com>
21783
21784         Add a very bare-bones implementation of bind and Function to WTF
21785         https://bugs.webkit.org/show_bug.cgi?id=74462
21786
21787         Reviewed by Sam Weinig.
21788
21789         Add basic tests for WTF::Function and WTF::bind.
21790
21791         * TestWebKitAPI/TestWebKitAPI.gypi:
21792         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
21793         * TestWebKitAPI/Tests/Functional.cpp: Added.
21794         (TestWebKitAPI::returnFortyTwo):
21795         (TestWebKitAPI::TEST):
21796         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
21797
21798 2011-12-13  Robin Dunn  <robin@alldunn.com>
21799
21800         [wx] Add a URL argument to wxWebView constructor.
21801         https://bugs.webkit.org/show_bug.cgi?id=74316
21802         
21803         Reviewed by Kevin Ollivier.
21804
21805         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
21806         (MyApp::OnInit):
21807         * wx/browser/browser.cpp:
21808         (MyApp::OnInit):
21809
21810 2011-12-13  Raphael Kubo da Costa  <kubo@profusion.mobi>
21811
21812         watchlist: Add watchlist for EFL, CMake and libsoup code and put myself on it.
21813         https://bugs.webkit.org/show_bug.cgi?id=74430
21814
21815         Reviewed by David Levin.
21816
21817         * Scripts/webkitpy/common/config/watchlist:
21818
21819 2011-12-13  Peter Beverloo  <peter@chromium.org>
21820
21821         [Chromium] Pull in FreeType and decrease check-out complexity for Android
21822         https://bugs.webkit.org/show_bug.cgi?id=74401
21823
21824         Decrease the check-out complexity by removing the need to first run
21825         "update-webkit-chromium --chromium" prior to running it with
21826         "--chromium-android", which was caused by an unversioned third_party/
21827         directory being created. This moves the Android NDK to Source/WebKit/
21828         chromium/, coming from third_party/ in that directory.
21829
21830         Reviewed by Adam Barth.
21831
21832         * Scripts/update-webkit-chromium:
21833         * Scripts/webkitdirs.pm:
21834         (buildChromiumMakefile):
21835
21836 2011-12-13  Andy Wingo  <wingo@igalia.com> and Martin Robinson <mrobinson@igalia.com>
21837
21838         build-jsc passing incorrect args to buildGtkProject
21839         https://bugs.webkit.org/show_bug.cgi?id=74308
21840
21841         Reviewed by Gustavo Noronha Silva.
21842
21843         * Scripts/build-webkit: Instead of invoking buildGtkProject with
21844         another argument about webkit2, unshift a --disable-webkit2
21845         argument onto the buildArgs.
21846         * Scripts/webkitdirs.pm: Remove $enableWebKit2 arg. Only save autogen.sh
21847         arguments for WebKit to prevent unnecessary reconfiguration when build-webkit
21848         and build-jsc are run one after the other.
21849
21850 2011-12-13  Csaba Osztrogonác  <ossy@webkit.org>
21851
21852         [Qt] REGRESSION(102679): It broke Qt5-WK1 build
21853         https://bugs.webkit.org/show_bug.cgi?id=74413
21854
21855         Unreviewed buildfix.
21856
21857         * qmake/mkspecs/features/webcore.prf: Temporarily revert a part of r102679 until a proper fix.
21858
21859 2011-12-13  Csaba Osztrogonác  <ossy@webkit.org>
21860
21861         [Qt] Unreviewed speculativ debug buildfix after r102679.
21862
21863         * QtTestBrowser/QtTestBrowser.pro:
21864         * QtTestBrowser/main.cpp:
21865
21866 2011-12-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
21867
21868         [Qt] Get rid of layering violations in includes
21869
21870         WebKit/qt/API and WebKit/qt/WebCoreSupport should not be included
21871         in the webcore.prf, but rather in each target that specificly needs
21872         headers in these location. We used to include them directly in webcore
21873         since we had layering violations between WebCore and WebKit, but now
21874         that they are gone there's no reason to do that.
21875
21876         Reviewed by Simon Hausmann.
21877
21878         * DumpRenderTree/qt/DumpRenderTree.pro:
21879         * QtTestBrowser/launcherwindow.h:
21880         * WebKitTestRunner/InjectedBundle/Target.pri:
21881         * qmake/mkspecs/features/webcore.prf:
21882         * qmake/mkspecs/features/webkit2.prf:
21883
21884 2011-12-13  János Badics  <dicska@gmail.com>
21885
21886         [NRWT] It crashes intermittently when there are WebProcess crashes
21887         https://bugs.webkit.org/show_bug.cgi?id=73451
21888
21889         Use self.poll() instead of self._proc.poll() because it checks if self._proc is None or not.
21890
21891         Reviewed by Kenneth Rohde Christiansen.
21892
21893         * Scripts/webkitpy/layout_tests/port/server_process.py:
21894         (ServerProcess._check_for_crash):
21895
21896 2011-12-13  Carlos Garcia Campos  <cgarcia@igalia.com>
21897
21898         Unreviewed. Fix GTK+ API docs build.
21899
21900         * gtk/generate-gtkdoc:
21901         (get_webkit2_options): Ignore WebKitUIClient since it's private
21902         API.
21903
21904 2011-12-13  Kenichi Ishibashi  <bashi@chromium.org>
21905
21906         Reviewed, removed one of my email addresses to use the apprpriate one.
21907
21908         * Scripts/webkitpy/common/config/committers.py:
21909
21910 2011-12-12  Ádám Kallai  <Kallai.Adam@stud.u-szeged.hu>
21911
21912         [Qt] Fix skip list search path and expected file search path in ORWT
21913         https://bugs.webkit.org/show_bug.cgi?id=74281
21914
21915         Expected file search path fixed.
21916
21917         Print all used skipped list and expected search path in verbose mode similar to NRWT.
21918
21919         Reviewed by Csaba Osztrogonác.
21920
21921         * Scripts/old-run-webkit-tests:
21922         (buildPlatformResultHierarchy):
21923         (buildPlatformTestHierarchy):
21924         (readSkippedFiles):
21925
21926 2011-12-12  Nándor Huszka  <huszka.nandor@stud.u-szeged.hu>
21927
21928         [Qt] Missing layoutTestController.dumpWillCacheResponse
21929         https://bugs.webkit.org/show_bug.cgi?id=74287
21930
21931         Reviewed by Csaba Osztrogonác.
21932
21933         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
21934         (LayoutTestController::reset):
21935         (LayoutTestController::dumpWillCacheResponse):
21936         * DumpRenderTree/qt/LayoutTestControllerQt.h:
21937
21938 2011-12-12  Martin Robinson  <mrobinson@igalia.com>
21939
21940         [GTK] platform/gtk/fonts/custom-font-missing-glyphs.html fails on 64-bit Debug
21941         https://bugs.webkit.org/show_bug.cgi?id=73771
21942
21943         Reviewed by Gustavo Noronha Silva.
21944
21945         When using a fallback font during testing, always use DejaVu Sans. This prevents
21946         falling back to DejaVu Serif on some systems.
21947
21948         * DumpRenderTree/gtk/fonts/fonts.conf: Fall back to DejaVu Sans.
21949
21950 2011-12-08  Pierre Rossi  <pierre.rossi@gmail.com>
21951
21952         Add myself as a committer
21953
21954         * Scripts/webkitpy/common/config/committers.py:
21955
21956 2011-12-12  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
21957
21958         [Qt] [WK2] Support customizing popup menus with QML
21959         https://bugs.webkit.org/show_bug.cgi?id=73560
21960
21961         Reviewed by Tor Arne Vestbø.
21962
21963         Add an Item Selector to our WebView using the experimental API.
21964
21965         * MiniBrowser/qt/MiniBrowser.pro:
21966         * MiniBrowser/qt/MiniBrowser.qrc:
21967         * MiniBrowser/qt/qml/BrowserWindow.qml:
21968         * MiniBrowser/qt/qml/ItemSelector.qml: Added.
21969
21970 2011-12-12  Alexander Færøy  <alexander.faeroy@nokia.com>
21971
21972         [Qt] MiniBrowser should only visualize mock touch points when in non-desktop mode
21973         https://bugs.webkit.org/show_bug.cgi?id=74283
21974
21975         Reviewed by Simon Hausmann.
21976
21977         * MiniBrowser/qt/MiniBrowserApplication.cpp:
21978         (MiniBrowserApplication::sendTouchEvent):
21979
21980 2011-12-12  Kentaro Hara  <haraken@chromium.org>
21981
21982         [Refactoring] In prepare-ChangeLog, move into a method the top-level code
21983         to show ChangeLogs diff and open ChangeLogs in an editor
21984         https://bugs.webkit.org/show_bug.cgi?id=74266
21985
21986         Reviewed by Ryosuke Niwa.
21987
21988         We are planning to write unit-tests for prepare-ChangeLog
21989         in a run-leaks_unittest manner. This patch is one of the incremental
21990         refactorings to remove all top-level code and global variables from
21991         prepare-ChangeLog.
21992
21993         * Scripts/prepare-ChangeLog: Moved the top-level code to show ChangeLogs diff into printDiff().
21994         Moved the top-level code to open ChangeLogs in an editor into openChangeLogs().
21995         Renamed @changed_files to @changedFiles.
21996         Renamed %conflict_files to %conflictFiles.
21997         (generateFunctionLists):
21998         (printDiff):
21999         (openChangeLogs):
22000
22001 2011-12-11  Kentaro Hara  <haraken@chromium.org>
22002
22003         [Refactoring] Move top-level code to resolve conflicted ChangeLogs into a method
22004         https://bugs.webkit.org/show_bug.cgi?id=74257
22005
22006         Reviewed by Ryosuke Niwa.
22007
22008         We are planning to write unit-tests for prepare-ChangeLog
22009         in a run-leaks_unittest/ manner. This patch is one of the incremental
22010         refactorings to remove all top-level code and global variables from
22011         prepare-ChangeLog.
22012
22013         * Scripts/prepare-ChangeLog: Moved top-level code to get the latest ChangeLogs
22014         into getLatestChangeLogs(), and moved top-level code to resolve conflicted ChangeLogs
22015         into resolveConflictedChangeLogs().
22016         (getLatestChangeLogs):
22017         (resolveConflictedChangeLogs):
22018
22019 2011-12-11  Kentaro Hara  <haraken@chromium.org>
22020
22021         [Refactoring] Move top-level code to generate a new ChangeLog into a method
22022         https://bugs.webkit.org/show_bug.cgi?id=74253
22023
22024         Reviewed by David Kilzer.
22025
22026         The objective is to make prepare-ChangeLog a loadable Perl module for unit testing,
22027         which requires to remove top-level code and global variables. This patch is one of
22028         the incremental refactorings for that.
22029
22030         * Scripts/prepare-ChangeLog: Moved top-level code to generate a new ChangeLog into generateNewChangeLogs().
22031         (generateFunctionLists):
22032         (findChangeLogs):
22033         (generateNewChangeLogs):
22034         (generateFileList): Removed an unnecessary variable $didChangeRegressionTests.
22035
22036 2011-12-10  Kentaro Hara  <haraken@chromium.org>
22037
22038         [Refactoring] In prepare-ChangeLog, move top-level code to find ChangeLogs into a method
22039         https://bugs.webkit.org/show_bug.cgi?id=74175
22040
22041         Reviewed by Ryosuke Niwa.
22042
22043         The objective is to make prepare-ChangeLog a loadable Perl module for unit testing.
22044         This requires to remove top-level code. This patch is one of the incremental refactorings
22045         for that.
22046
22047         * Scripts/prepare-ChangeLog: Moved top-level code to find ChangeLogs into findChangeLogs().
22048         (findChangeLogs):
22049
22050 2011-12-10  Andreas Kling  <kling@webkit.org>
22051
22052         Add my Apple e-mail to committers.py.
22053
22054         * Scripts/webkitpy/common/config/committers.py:
22055
22056 2011-12-09  Dirk Pranke  <dpranke@chromium.org>
22057
22058         chromium win build: revert build_webkit_exes_from_webkit_gyp change
22059         https://bugs.webkit.org/show_bug.cgi?id=74225
22060
22061         This change sets build_webkit_exes_from_webkit_gyp back to 1;
22062         the "All.gyp" solution doesn't work on windows.
22063
22064         * Scripts/webkitdirs.pm:
22065         (buildChromium):
22066
22067 2011-12-09  Hugo Parente Lima  <hugo.lima@openbossa.org>
22068
22069         [Qt] Click's count is limited to three continuous clicks.
22070         https://bugs.webkit.org/show_bug.cgi?id=45666
22071
22072         Reviewed by Kenneth Rohde Christiansen.
22073
22074         Update m_time at every call to leapForward, so double clicks
22075         event are correctly sent by EventSender.
22076
22077         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
22078         (WTR::EventSenderProxy::updateClickCountForButton):
22079         (WTR::EventSenderProxy::leapForward):
22080
22081 2011-12-09  Kentaro Hara  <haraken@chromium.org>
22082
22083         [Refactoring] Reduce top-level code in prepare-ChangeLog
22084         https://bugs.webkit.org/show_bug.cgi?id=74172
22085
22086         Reviewed by Ryosuke Niwa.
22087
22088         The objective is to make prepare-ChangeLog a loadable Perl module for unit testing.
22089         This requires to remove top-level code. This patch is one of the incremental refactorings
22090         for that.
22091
22092         * Scripts/prepare-ChangeLog: Moved some top-level code into generateFunctionLists().
22093         (generateFunctionLists):
22094
22095 2011-12-09  Sam Weinig  <sam@webkit.org>
22096
22097         Expose a WKConnectionRef which represents the connection to/from the WebProcess/UIProcess
22098         https://bugs.webkit.org/show_bug.cgi?id=74218
22099
22100         Reviewed by Anders Carlsson.
22101
22102         Add a test of the WKConnectionRef API.
22103
22104         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
22105         * TestWebKitAPI/Tests/WebKit2/WKConnection.cpp: Added.
22106         (TestWebKitAPI::didCreateConnection):
22107         (TestWebKitAPI::connectionDidReceiveMessage):
22108         (TestWebKitAPI::connectionDidClose):
22109         (TestWebKitAPI::TEST):
22110         * TestWebKitAPI/Tests/WebKit2/WKConnection_Bundle.cpp: Added.
22111         (TestWebKitAPI::connectionDidReceiveMessage):
22112         (TestWebKitAPI::WKConnectionTest::WKConnectionTest):
22113         (TestWebKitAPI::WKConnectionTest::initialize):
22114
22115 2011-12-09  David Levin  <levin@chromium.org>
22116
22117         Hash* iterators should allow comparison between const and const versions.
22118         https://bugs.webkit.org/show_bug.cgi?id=73370
22119
22120         Reviewed by Darin Adler.
22121
22122         * TestWebKitAPI/TestWebKitAPI.gypi: Add the new test file to the build.
22123         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
22124         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Ditto.
22125         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Added.
22126         (TestWebKitAPI::TEST): Add a test for the new functionality.
22127
22128 2011-12-09  Dirk Pranke  <dpranke@chromium.org>
22129
22130         chromium: visual studio projects are busted when build_webkit_exes_from_webkit_gyp==0
22131         https://bugs.webkit.org/show_bug.cgi?id=74212
22132
22133         Reviewed by Tony Chang.
22134
22135         The change introduced in r102201 to split the executables out of
22136         WebKit.gyp apparently doesn't work right on Windows, since
22137         WebKit.gyp and Tools.gyp refer to dependent projects by
22138         different relative paths (it appears gyp doesn't normalize the
22139         paths). This change moves Tools.gyp to be in the same directory
22140         as WebKit.gyp (and All.gyp), which should fix this and
22141         conveniently will also solve the problem of how to add Tools.gyp
22142         to the chromium DEPS file.
22143
22144         * Tools.gyp: Renamed to ../Source/WebKit/chromium/Tools.gyp
22145
22146 2011-12-09  Kentaro Hara  <haraken@chromium.org>
22147
22148         [Refactoring] In prepare-ChangeLog, move top-level code to fetch a bug description from URL into a method
22149         https://bugs.webkit.org/show_bug.cgi?id=74173
22150
22151         Reviewed by Ryosuke Niwa.
22152
22153         The objective is to make prepare-ChangeLog a loadable Perl module for unit testing.
22154         This requires to remove top-level code. This patch is one of the incremental refactorings
22155         for that.
22156
22157         * Scripts/prepare-ChangeLog: Moved top-level code to fetch a bug description from URL into fetchBugDescriptionFromURL().
22158         (fetchBugDescriptionFromURL):
22159
22160 2011-12-09  Tony Chang  <tony@chromium.org>
22161
22162         Switch the chromium mac bots to using skia test results
22163         https://bugs.webkit.org/show_bug.cgi?id=74201
22164
22165         Reviewed by Ryosuke Niwa.
22166
22167         This is reverting http://trac.webkit.org/changeset/97781 and changing
22168         the name in master.cfg to no longer have cg in the name.
22169
22170         * BuildSlaveSupport/build.webkit.org-config/config.json:
22171         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
22172         (appendCustomBuildFlags):
22173         (RunWebKitTests.start):
22174
22175 2011-12-09  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
22176
22177         [Qt] Remove a wrongly placed ASSERT.
22178
22179         Reviewed by Tor Arne Vestbø.
22180
22181         * MiniBrowser/qt/MiniBrowserApplication.cpp:
22182         (MiniBrowserApplication::notify):
22183
22184 2011-12-09  Cary Clark  <caryclark@google.com>
22185
22186         layout_test update to accommodate new use_skia=1 default on Chromium-Mac
22187         https://bugs.webkit.org/show_bug.cgi?id=74118
22188
22189         Reviewed by Adam Barth.
22190
22191         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
22192         (get):
22193         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
22194         (ChromiumMacPort.__init__):
22195         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
22196         (ChromiumMacPortTest.test_versions):
22197         (ChromiumMacPortTest.test_graphics_type):
22198
22199 2011-12-09  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
22200
22201         [Qt] Use new qmake option in Qt5 to prevent dependency issues with GNUmake
22202
22203         The GNUmake + gcc_MD_depends options together produce .d files using GCC, but
22204         this failed when moving files in the source tree, as the .d file would contain
22205         stale dependencies on the old source file location. By keeping the object files
22206         (and hence the depdendency files) in a proper tree structure inside the objects
22207         directory we can prevent this failure.
22208
22209         A side benefit is that we can also have objects with the same name inside the
22210         same project.
22211
22212         Reviewed by Simon Hausmann.
22213
22214         * qmake/mkspecs/features/unix/default_pre.prf:
22215
22216 2011-12-09  Csaba Osztrogonác  <ossy@webkit.org>
22217
22218         Unreviewed. Update unit test after r102412.
22219
22220         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
22221         (IRCCommandTest.test_whois):
22222
22223 2011-12-09  Kentaro Hara  <haraken@chromium.org>
22224
22225         REGRESSION(r102105): run-bindings-tests should output full diff results
22226         https://bugs.webkit.org/show_bug.cgi?id=74166
22227
22228         Reviewed by Adam Barth.
22229
22230         Since r102105, the output of run-bindings-tests is truncated to 500 characters.
22231         run-bindings-tests should output full diff results.
22232
22233         * Scripts/webkitpy/bindings/main.py: Replaced e.message_with_output() with e.output.
22234         (BindingsTests.generate_from_idl):
22235         (BindingsTests.generate_supplemental_dependency):
22236         (BindingsTests.detect_changes):
22237
22238 2011-12-09  Simon Hausmann  <simon.hausmann@nokia.com>
22239
22240         [Qt] Fix compilation with newly separated Qt 5 QtQuick module
22241         https://bugs.webkit.org/show_bug.cgi?id=73990
22242
22243         Reviewed by Kenneth Rohde Christiansen, tweaked by Csaba Osztrogonác.
22244
22245         Fix QtQuick includes after move from QtDeclarative to QtQuick.
22246
22247         * MiniBrowser/qt/BrowserWindow.h:
22248         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
22249
22250 2011-12-08  Adam Klein  <adamk@chromium.org>
22251
22252         [MutationObservers] V8LazyEventHandler breaks microtask delivery semantics
22253         https://bugs.webkit.org/show_bug.cgi?id=73492
22254
22255         Reviewed by Adam Barth.
22256
22257         Add eventSender.scheduleAsynchronousKeyDown, needed to cause a
22258         keypress event without any script on the stack.
22259
22260         * DumpRenderTree/chromium/EventSender.cpp:
22261         (EventSender::EventSender):
22262         (EventSender::keyDown):
22263         (KeyDownTask::KeyDownTask):
22264         (KeyDownTask::runIfValid):
22265         (EventSender::scheduleAsynchronousKeyDown):
22266         * DumpRenderTree/chromium/EventSender.h:
22267
22268 2011-12-08  Hayato Ito  <hayato@chromium.org>
22269
22270         [gdb] Pretty printer for a 8-bit version of WTF::StringImpl and LChar*.
22271         https://bugs.webkit.org/show_bug.cgi?id=73980
22272
22273         Reviewed by Tony Chang.
22274
22275         * gdb/webkit.py:
22276         (guess_string_length):
22277         (ustring_to_string):
22278         (lstring_to_string):
22279         (LCharStringPrinter):
22280         (LCharStringPrinter.to_string):
22281         (WTFStringImplPrinter.get_length):
22282         (WTFStringImplPrinter.to_string):
22283         (WTFStringImplPrinter.is_8bit):
22284         (WTFStringPrinter.stringimpl_ptr):
22285         (WTFStringPrinter.get_length):
22286         (WTFStringPrinter.to_string):
22287         (add_pretty_printers.lookup_function):
22288
22289 2011-12-08  Pierre Rossi  <pierre.rossi@gmail.com>
22290
22291         Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
22292         https://bugs.webkit.org/show_bug.cgi?id=73916
22293
22294         Reviewed by Kent Tamura.
22295
22296         * qmake/mkspecs/features/features.prf:
22297
22298 2011-12-08  Adrienne Walker  <enne@google.com>
22299
22300         Unreviewed contributor additions to committers.py.
22301
22302         * Scripts/webkitpy/common/config/committers.py:
22303
22304 2011-12-08  David Reveman  <reveman@chromium.org>
22305
22306         [Chromium] Add per-tile painting flag to DumpRenderTree and rename AcceleratedDrawing to AcceleratedPainting in chromium specific code.
22307         https://bugs.webkit.org/show_bug.cgi?id=74017
22308
22309         Reviewed by James Robinson.
22310         
22311         Add support for command line flag enable-per-tile-painting in DumpRenderTree.
22312
22313         * DumpRenderTree/chromium/DumpRenderTree.cpp:
22314         (main):
22315         * DumpRenderTree/chromium/TestShell.cpp:
22316         (TestShell::TestShell):
22317         (TestShell::resetWebSettings):
22318         * DumpRenderTree/chromium/TestShell.h:
22319         (TestShell::setAcceleratedPaintingEnabled):
22320         (TestShell::setPerTilePaintingEnabled):
22321         * DumpRenderTree/chromium/WebPreferences.cpp:
22322         (WebPreferences::reset):
22323         (WebPreferences::applyTo):
22324         * DumpRenderTree/chromium/WebPreferences.h:
22325         * Scripts/webkitpy/layout_tests/port/chromium.py:
22326         (ChromiumDriver._wrapper_options):
22327         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
22328         (parse_args):
22329
22330 2011-12-08  Dirk Pranke  <dpranke@chromium.org>
22331
22332         create a "SystemHost" object for webkitpy to slim down the Host object
22333         https://bugs.webkit.org/show_bug.cgi?id=72680
22334
22335         Reviewed by Eric Siedel.
22336
22337         This creates a SystemHost object that other objects that should
22338         only have dependencies on functionality in webkitpy.common.system
22339         can use; this will allow them to not require a full Host.
22340
22341         * Scripts/webkitpy/common/host.py:
22342         * Scripts/webkitpy/common/host_mock.py:
22343         * Scripts/webkitpy/common/system/systemhost.py: Added.
22344         * Scripts/webkitpy/common/system/systemhost_mock.py: Added.
22345
22346 2011-12-08  Chris Fleizach  <cfleizach@apple.com>
22347
22348         AX: platform/mac/accessibility/search-with-frames.html crashes
22349         https://bugs.webkit.org/show_bug.cgi?id=74093
22350
22351         Reviewed by Darin Adler.
22352
22353         Take care of the case when an incoming element is null.
22354
22355         * DumpRenderTree/AccessibilityUIElement.cpp:
22356         (uiElementForSearchPredicateCallback):
22357         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
22358         (AccessibilityUIElement::uiElementForSearchPredicate):
22359         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
22360         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
22361
22362 2011-12-08  Alexander Færøy  <ahf@0x90.dk>
22363
22364         [Qt] Visualize mock point ID's in the MiniBrowser
22365         https://bugs.webkit.org/show_bug.cgi?id=74098
22366
22367         Reviewed by Tor Arne Vestbø.
22368
22369         * MiniBrowser/qt/BrowserWindow.cpp:
22370         (BrowserWindow::updateVisualMockTouchPoints):
22371         * MiniBrowser/qt/qml/MockTouchPoint.qml:
22372
22373 2011-12-08  Dominic Mazzoni  <dmazzoni@google.com>
22374
22375         Accessibility: AccessibilityController should support listening to notifications on all elements.
22376         https://bugs.webkit.org/show_bug.cgi?id=72866
22377
22378         Adds addNotificationListener and removeNotificationListener methods
22379         to AccessibilityController, to listen to notifications on any element
22380         rather than a specific element. Mac (DRT and WKTR) and Chromium (DRT)
22381         implementations are all contained in this change.
22382
22383         On Mac, refactors AccessibilityNotificationHandler into its own
22384         source file that can be used by both AccessibilityController and
22385         AccessibilityUIElement. (Both DRT and WKTR.)
22386
22387         Reviewed by Chris Fleizach.
22388
22389         * DumpRenderTree/AccessibilityController.cpp:
22390         (addNotificationListenerCallback):
22391         (removeNotificationListenerCallback):
22392         (AccessibilityController::getJSClass):
22393         * DumpRenderTree/AccessibilityController.h:
22394         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22395         * DumpRenderTree/chromium/AccessibilityController.cpp:
22396         (AccessibilityController::AccessibilityController):
22397         (AccessibilityController::notificationReceived):
22398         (AccessibilityController::addNotificationListenerCallback):
22399         (AccessibilityController::removeNotificationListenerCallback):
22400         * DumpRenderTree/chromium/AccessibilityController.h:
22401         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
22402         (AccessibilityController::addNotificationListener):
22403         (AccessibilityController::removeNotificationListener):
22404         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
22405         (AccessibilityController::~AccessibilityController):
22406         (AccessibilityController::addNotificationListener):
22407         (AccessibilityController::removeNotificationListener):
22408         * DumpRenderTree/mac/AccessibilityNotificationHandler.h: Added.
22409         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm: Added.
22410         (-[NSString createJSStringRef]):
22411         (-[AccessibilityNotificationHandler init]):
22412         (-[AccessibilityNotificationHandler setPlatformElement:]):
22413         (-[AccessibilityNotificationHandler dealloc]):
22414         (-[AccessibilityNotificationHandler setCallback:]):
22415         (-[AccessibilityNotificationHandler startObserving]):
22416         (-[AccessibilityNotificationHandler _notificationReceived:]):
22417         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
22418         (AccessibilityUIElement::addNotificationListener):
22419         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
22420         (notificationListenerProc):
22421         (AccessibilityController::addNotificationListener):
22422         (AccessibilityController::removeNotificationListener):
22423         (AccessibilityController::winNotificationReceived):
22424         (AccessibilityController::winAddNotificationListener):
22425         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
22426         (AccessibilityUIElement::addNotificationListener):
22427         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
22428         (WTR::AccessibilityController::addNotificationListener):
22429         (WTR::AccessibilityController::removeNotificationListener):
22430         * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
22431         (WTR::AccessibilityController::logAccessibilityEvents):
22432         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp:
22433         (WTR::AccessibilityTextMarker::AccessibilityTextMarker):
22434         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp:
22435         (WTR::AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
22436         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
22437         * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm: Added.
22438         (WTR::AccessibilityController::addNotificationListener):
22439         (WTR::AccessibilityController::removeNotificationListener):
22440         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.h: Added.
22441         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm: Added.
22442         (-[NSString createJSStringRef]):
22443         (-[AccessibilityNotificationHandler init]):
22444         (-[AccessibilityNotificationHandler setPlatformElement:]):
22445         (-[AccessibilityNotificationHandler dealloc]):
22446         (-[AccessibilityNotificationHandler setCallback:]):
22447         (-[AccessibilityNotificationHandler startObserving]):
22448         (-[AccessibilityNotificationHandler _notificationReceived:]):
22449         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
22450         (WTR::AccessibilityUIElement::AccessibilityUIElement):
22451         (WTR::AccessibilityUIElement::verticalScrollbar):
22452         (WTR::AccessibilityUIElement::addNotificationListener):
22453         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
22454
22455 2011-12-08  Csaba Osztrogonác  <ossy@webkit.org>
22456
22457         [Qt][WK2] Unreviewed buildfix after r102352.
22458
22459         * qmake/mkspecs/features/webkit2.prf:
22460
22461 2011-12-08  Adam Roben  <aroben@apple.com>
22462
22463         Make finding crash logs by PID work on Snow Leopard
22464
22465         Crash Reporter on Snow Leopard doesn't set the "app_description" extended attribute that we
22466         were using to check the PID of the crashed process. (Crash Reporter on Lion does.) Now we
22467         read the first line of the crash log and pull the PID out of there.
22468
22469         Fixes <http://webkit.org/b/74094> "webkit-patch crash-log <process> <PID>" doesn't work on
22470         Snow Leopard
22471
22472         Reviewed by Darin Adler.
22473
22474         * Scripts/webkitpy/common/system/crashlogs.py:
22475         (CrashLogs._find_newest_log_darwin): Read the first line of the crash log to get the process
22476         name and PID for the log, rather than checking the Lion-only app_description extended
22477         attribute. We now also reject the log if the process name doesn't match what we expect.
22478
22479         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
22480         (make_mock_crash_report_darwin): Added. Returns a mock crash report given a process name and
22481         PID.
22482         (CrashLogsTest.assertLinesEqual): Added. This is a compatibility shim around
22483         unittest.TestCase.assertMultiLineEqual, which didn't exist before Python 2.7.
22484         (CrashLogsTest.test_find_log_darwin): Made the mock crash reports more believable by using
22485         the new make_mock_crash_report_darwin function. Also added tests for files that can't be
22486         read, files that actually contain a crash log for some other process, and files that are
22487         misformatted.
22488
22489         * Scripts/webkitpy/common/system/filesystem.py: Removed FileSystem.getxattr, which is now
22490         unused.
22491
22492         * Scripts/webkitpy/common/system/filesystem_mock.py:
22493         (MockFileSystem.__init__): Removed xattr support, which is now unused.
22494         (MockFileSystem.open_text_file_for_reading): Changed to actually pass the file's data to
22495         ReadableTextFileObject. This function was completely broken before!
22496         (ReadableBinaryFileObject.__init__): Made the data parameter non-optional to try to prevent
22497         bugs like the above.
22498         (ReadableTextFileObject.__init__): Added. Wraps the data in a StringIO object so we can do
22499         things like readline() and seek().
22500
22501         (ReadableTextFileObject.close):
22502         (ReadableTextFileObject.read):
22503         Added. We override the superclass implementation to account for using a StringIO object.
22504
22505         (ReadableTextFileObject.readline):
22506         (ReadableTextFileObject.seek):
22507         Added. These just call through to StringIO.
22508
22509         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
22510         (MainTest.test_crash_log):
22511         (MainTest.test_web_process_crash_log):
22512         Changed to use make_mock_crash_report_darwin.
22513
22514 2011-12-06  Jon Lee  <jonlee@apple.com>
22515
22516         [WK2] Add permissions support (73960)
22517         https://bugs.webkit.org/show_bug.cgi?id=73960
22518         <rdar://problem/10357008>
22519
22520         Reviewed by Darin Adler.
22521
22522         Add null function item to comply with added callback to WKPageUIClient.
22523
22524         * MiniBrowser/mac/BrowserWindowController.m:
22525         (-[BrowserWindowController awakeFromNib]):
22526         * WebKitTestRunner/TestController.cpp:
22527         (WTR::TestController::createOtherPage):
22528         (WTR::TestController::initialize):
22529
22530 2011-12-08  Alexander Færøy  <alexander.faeroy@nokia.com>
22531
22532         [Qt] Visualize mock points in the Qt MiniBrowser
22533         https://bugs.webkit.org/show_bug.cgi?id=74074
22534
22535         Reviewed by Tor Arne Vestbø.
22536
22537         * MiniBrowser/qt/BrowserWindow.cpp:
22538         (BrowserWindow::updateVisualMockTouchPoints):
22539         * MiniBrowser/qt/BrowserWindow.h:
22540         * MiniBrowser/qt/MiniBrowser.qrc:
22541         * MiniBrowser/qt/MiniBrowserApplication.cpp:
22542         (MiniBrowserApplication::notify):
22543         (MiniBrowserApplication::sendTouchEvent):
22544         * MiniBrowser/qt/MiniBrowserApplication.h:
22545         * MiniBrowser/qt/icons/touchpoint.png: Added.
22546         * MiniBrowser/qt/qml/MockTouchPoint.qml: Added.
22547
22548 2011-12-08  Simon Hausmann  <simon.hausmann@nokia.com>
22549
22550         [Qt] WebKitTestRunner crashes with debug builds
22551         https://bugs.webkit.org/show_bug.cgi?id=74090
22552
22553         Reviewed by Tor Arne Vestbø.
22554
22555         * WebKitTestRunner/qt/TestControllerQt.cpp:
22556         (WTR::TestController::platformInitialize): Call QQuickWebView::platformInitialize
22557         to ensure WTF/JSC threading is initialized.
22558
22559 2011-12-08  Dirk Pranke  <dpranke@chromium.org>
22560
22561         fix build-webkit --chromium after breakage in r102201
22562         https://bugs.webkit.org/show_bug.cgi?id=74031
22563
22564         Reviewed by Tony Chang.
22565
22566         * Scripts/webkitdirs.pm:
22567         (buildChromium):
22568
22569 2011-12-08  Kentaro Hara  <haraken@chromium.org>
22570
22571         Unreviewed, rolling out r102280.
22572         http://trac.webkit.org/changeset/102280
22573         https://bugs.webkit.org/show_bug.cgi?id=74031
22574
22575         Chromium/Windows build is broken
22576
22577         * Scripts/webkitdirs.pm:
22578         (buildChromium):
22579
22580 2011-12-08  Nayan Kumar K  <nayankk@motorola.com>
22581
22582         Adding myself to committers list.
22583
22584         Unreviewed.
22585
22586         * Scripts/webkitpy/common/config/committers.py:
22587
22588 2011-12-07  Michael Saboff  <msaboff@apple.com>
22589
22590         StringBuilderTest.Append and StringBuilderTest.ToStringPreserveCapacity are failing.
22591         https://bugs.webkit.org/show_bug.cgi?id=73995
22592
22593         Reenabled failing tests that the code part of the patch fixes.
22594
22595         Reviewed by Geoffrey Garen.
22596
22597         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
22598         (TestWebKitAPI::TEST):
22599
22600 2011-12-07  MORITA Hajime  <morrita@google.com>
22601
22602         [filter-build-webkit] should not emit reset color when --no-color is given
22603         https://bugs.webkit.org/show_bug.cgi?id=73992
22604
22605         Reviewed by Daniel Bates.
22606
22607         Stop printing control sequences when --no-color is given.
22608         After this change, the filter runs nicely even on environments
22609         like Emacs compilation-mode which cannot understand the control sequence.
22610
22611         * Scripts/filter-build-webkit:
22612         (printLine):
22613
22614 2011-12-07  Eric Seidel  <eric@webkit.org>
22615
22616         Use free memory to determine if we have space for DRT instances instead of total memory
22617         https://bugs.webkit.org/show_bug.cgi?id=74021
22618
22619         Reviewed by Adam Barth.
22620
22621         This will hopefully make the Mac buildbots behave better.
22622
22623         I also reduced the expected memory needed per DRT now that
22624         we're properly accounting for the system memory in our calculations.
22625
22626         * Scripts/webkitpy/common/system/platforminfo.py:
22627         (PlatformInfo.total_bytes_memory):
22628         (PlatformInfo._compute_free_bytes_from_vm_stat_output):
22629         * Scripts/webkitpy/common/system/platforminfo_mock.py:
22630         (MockPlatformInfo.total_bytes_memory):
22631         * Scripts/webkitpy/layout_tests/port/base.py:
22632         (Port.default_child_processes):
22633         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
22634         (PortTest.test_default_child_processes):
22635
22636 2011-12-07  Dirk Pranke  <dpranke@chromium.org>
22637
22638         fix build-webkit --chromium after breakage in r102201
22639         https://bugs.webkit.org/show_bug.cgi?id=74031
22640
22641         Reviewed by Tony Chang.
22642
22643         r102201 introduced a change to the chromium build that splits
22644         the executables out of WebKit.gyp into other gyp files, and adds
22645         a new "All.gyp" that builds everything. However, I forgot to
22646         update the build script to use All.gyp.
22647
22648         * Scripts/webkitdirs.pm:
22649         (buildChromium):
22650
22651 2011-12-07  Tom Zakrajsek  <tomz@codeaurora.org>
22652
22653         Moved myself to the committers list.
22654
22655         * Scripts/webkitpy/common/config/committers.py:
22656
22657 2011-11-30  Simon Hausmann  <simon.hausmann@nokia.com>
22658
22659         [Qt] Fix debug shlib build with V8.
22660
22661         Reviewed by Tor Arne Vestbø.
22662
22663         * qmake/mkspecs/features/qtwebkit.prf: Don't link jscore with
22664         v8 builds.
22665
22666 2011-11-30  Simon Hausmann  <simon.hausmann@nokia.com>
22667
22668         [Qt] V8 build fixes.
22669
22670         Reviewed by Tor Arne Vestbø.
22671
22672         * qmake/mkspecs/features/javascriptcore.prf: Don't add
22673         Source/Thirdparty to the include search path here.
22674         * qmake/mkspecs/features/webcore.prf: Instead it belongs here, because it's
22675         used when building WebCore as well as using it, because header files like
22676         GraphicsContext3D.h include stuff from ThirdParty.
22677
22678 2011-12-07  Peter Beverloo  <peter@chromium.org>
22679
22680         [Chromium] Fix project file generation for the Android bot after r102201
22681         https://bugs.webkit.org/show_bug.cgi?id=73996
22682
22683         The gyp refactoring in r102201 was didn't explicitly exclude
22684         the Android operating system in Tools/Tools.gyp, which broke
22685         as gcc_version is not defined for that configuration.
22686
22687         Reviewed by Andreas Kling.
22688
22689         * Tools.gyp:
22690
22691 2011-12-07  Vsevolod Vlasov  <vsevik@chromium.org>
22692
22693         Unreviewed. Disabled failing tests on chromium.
22694
22695         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
22696         (TestWebKitAPI::TEST):
22697
22698 2011-12-06  Dirk Pranke  <dpranke@chromium.org>
22699
22700         binaries in webkit.gyp should be split into a new file to break circular dependencies on webkit_support
22701         https://bugs.webkit.org/show_bug.cgi?id=73382
22702
22703         Reviewed by Tony Chang.
22704
22705         XCode (and hence GYP) can't handle circular dependencies between
22706         files (and projects). Accordingly, although the binaries in
22707         WebKit.gyp depend on webkit_support and webkit_support depends
22708         on webkit, we don't mention the latter dependency in the file.
22709         To fix this, this change moves the binaries like DRT into a new
22710         GYP file, and modifies gyp_webkit to build from that file
22711         instead of WebKit.gyp.
22712
22713         * Tools.gyp: Added.
22714
22715 2011-12-06  Adam Roben  <aroben@apple.com>
22716
22717         Add a pid parameter to CrashLogs.find_newest_log
22718
22719         When a PID is passed, only crash logs corresponding to a crashed process with that PID are
22720         considered.
22721
22722         Fixes <http://webkit.org/b/73942> webkitpy provides no way to specify the PID of the crashed
22723         process whose crash log you want to find
22724
22725         Reviewed by Dirk Pranke.
22726
22727         * Scripts/webkitpy/common/system/crashlogs.py:
22728         (CrashLogs.find_newest_log): Added an optional pid parameter.
22729         (CrashLogs._find_newest_log_darwin): Added a pid parameter. When specified, we look at each
22730         candidate log's app_description extended attribute to see if that log corresponds to a
22731         crashed process with the specified PID.
22732
22733         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
22734         (CrashLogsTest.test_find_newest_log_darwin): Added a few more mock crash logs with various
22735         contents and PIDs. Added tests that show that the pid parameter to find_newest_log is
22736         respected. Also fixed an erroneous use of assertTrue instead of assertEqual.
22737
22738         * Scripts/webkitpy/common/system/filesystem.py:
22739         (FileSystem.getxattr): Added. On Darwin, calls through to the xattr module. On other
22740         systems, raises a KeyError, mimicking the behavior on Darwin when the given attribute isn't
22741         present.
22742
22743         * Scripts/webkitpy/common/system/filesystem_mock.py:
22744         (MockFileSystem.__init__): Added an optional xattrs parameter. Documented other parameters.
22745         (MockFileSystem.getxattr): Added. Just pulls the given attribute out of the xattrs
22746         dictionary.
22747
22748         * Scripts/webkitpy/tool/commands/queries.py:
22749         (CrashLog): Added help text. Added an optional PID parameter.
22750         (CrashLog.execute): Pass the PID, if any, through to find_newest_log.
22751
22752 2011-12-06  Adam Roben  <aroben@apple.com>
22753
22754         Wait for Crash Reporter to finish even when it lets the crashed process die quickly
22755
22756         NRWT was only waiting for Crash Reporter in cases where it was keeping the crashed process
22757         alive beyond the normal timeout limit. In cases where the crashed process was able to die
22758         faster, NRWT would assume that Crash Reporter had finished even though it often was still
22759         running, which would lead to an incorrect crash log being picked up.
22760
22761         Part of <http://webkit.org/b/71380> NRWT incorrectly associates crash logs with tests
22762
22763         Reviewed by Dirk Pranke.
22764
22765         * Scripts/webkitpy/layout_tests/port/server_process.py:
22766         (ServerProcess._reset):
22767         (ServerProcess.write):
22768         (ServerProcess._check_for_crash): Changed to use new set_crashed function instead of setting
22769         .crashed directly. Added wait_for_crash_reporter parameter, which we pass along to
22770         set_crashed.
22771
22772         (ServerProcess._handle_timeout): Fixed a logic error that would cause .crashed and
22773         .timed_out both to be set to True in cases where Crash Reporter took a long time to run. Now
22774         we bail out of handling the failure as a timeout if we find out that the process in fact
22775         crashed. We tell _check_for_crash not to wait for Crash Reporter because we've already done
22776         so.
22777         (ServerProcess.set_crashed): Added. When the process crashes, we wait for Crash Reporter to
22778         finish running (unless directed otherwise) so we can be sure the crash log has been saved to
22779         disk.
22780
22781         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
22782         (TrivialMockPort.is_crash_reporter): Added.
22783
22784         * Scripts/webkitpy/layout_tests/port/webkit.py:
22785         (WebKitDriver._check_for_driver_crash): Changed to use set_crashed. (This also fixed a typo
22786         that would have partially broken crash detection on Windows, if NRWT worked on Windows.)
22787
22788 2011-12-06  Adam Barth  <abarth@webkit.org>
22789
22790         NRWT fails on unreleased versions of Mac OS X
22791         https://bugs.webkit.org/show_bug.cgi?id=72748
22792
22793         Reviewed by Dirk Pranke.
22794
22795         Hopefully this patch will make NRWT work on future versions on Mac OS X.
22796         Most of the infrastructure was already in place, but there were some
22797         asserts that failed.  I've tested this patch by haxoring the version
22798         detection logic to simulate an unknown version.  We might need to
22799         iterate based on feedback from folks with a real future version.
22800
22801         * Scripts/webkitpy/layout_tests/port/apple.py:
22802         (ApplePort.__init__):
22803             - mac-future is an allowed port_name that's used internally by
22804               webkitpy to represent future versions of Mac OS X.
22805         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
22806         (test_versions):
22807             - Test that we don't throw exceptions when dealing with future
22808               versions of Mac OS X.
22809         * Scripts/webkitpy/layout_tests/port/webkit.py:
22810         (WebKitPort._expectations_from_skipped_files):
22811             - Demote this logging message to "debug".  It's expected that
22812               mac-future doesn't have a Skipped file.
22813         * Scripts/webkitpy/layout_tests/port/mac.py:
22814         (MacPort.__init__):
22815         * Scripts/webkitpy/layout_tests/port/win.py:
22816         (WinPort.__init__):
22817             - Re-order some code in these constructors so that
22818               self._operating_system is available to the ApplePort constructor.
22819
22820 2011-12-06  Tommy Widenflycht  <tommyw@google.com>
22821
22822         Added myself as a committer.
22823
22824         * Scripts/webkitpy/common/config/committers.py:
22825
22826 2011-12-06  Peter Beverloo  <peter@chromium.org>
22827
22828         Added myself as a committer.
22829
22830         * Scripts/webkitpy/common/config/committers.py:
22831
22832 2011-12-06  Kentaro Hara  <haraken@chromium.org>
22833
22834         [Refactoring] In webkitpy/bindings/main.py, replace subprocess.Popen() with Executive
22835         https://bugs.webkit.org/show_bug.cgi?id=73637
22836
22837         Reviewed by Adam Barth.
22838
22839         This patch replaces subprocess.Popen() with Executive, similar to other
22840         Python scripts in webkitpy/. I manually confirmed that run-bindings-tests
22841         works well for cases where no exception is raised, no exception is raised
22842         but diff is found, and ScriptError is raised.
22843
22844         * Scripts/run-bindings-tests:
22845         (main):
22846         * Scripts/webkitpy/bindings/main.py: Replaces subprocess.Popen() with Executive.
22847         (BindingsTests.__init__):
22848         (BindingsTests.generate_from_idl):
22849         (BindingsTests.generate_supplemental_dependency):
22850         (BindingsTests.detect_changes):
22851
22852 2011-12-05  Alexander Færøy  <alexander.faeroy@nokia.com>
22853
22854         [Qt] MiniBrowser should default to touch behavior
22855         https://bugs.webkit.org/show_bug.cgi?id=73863
22856
22857         Reviewed by Chang Shu.
22858
22859         MiniBrowser currently defaults to the traditional desktop behaviour
22860         instead of touch behaviour which is prefered.
22861
22862         * MiniBrowser/qt/BrowserWindow.cpp:
22863         (BrowserWindow::BrowserWindow):
22864         * MiniBrowser/qt/MiniBrowserApplication.cpp:
22865         (printHelp):
22866         (MiniBrowserApplication::handleUserOptions):
22867         * MiniBrowser/qt/MiniBrowserApplication.h:
22868         (WindowOptions::WindowOptions):
22869         (WindowOptions::setUseTraditionalDesktopBehavior):
22870         (WindowOptions::useTraditionalDesktopBehavior):
22871
22872 2011-12-05  Raphael Kubo da Costa  <kubo@profusion.mobi>
22873
22874         webkit.py: Really fix the printing of StringImpl now that 8-bit strings are present.
22875         https://bugs.webkit.org/show_bug.cgi?id=73878
22876
22877         Reviewed by Tony Chang.
22878
22879         r98624 turned StringImpl::m_data into StringImpl::{m_data8,m_data16}.
22880         r98785 made webkit.py always use m_data16, which does not work when
22881         the string is an 8-bit string (such as KURL::string()).
22882
22883         I was not able to directly call StringImpl::is8Bit() in the Python
22884         code, so I just reproduced the implementation there.
22885
22886         * gdb/webkit.py:
22887         (WTFStringPrinter.is_8bit): Reproduced StringImpl::is8Bit().
22888         (WTFStringPrinter.to_string):
22889         (JSCUStringPrinter.is_8bit): Reproduced StringImpl::is8Bit().
22890         (JSCUStringPrinter.to_string):
22891
22892 2011-12-05  Eric Seidel  <eric@webkit.org>
22893
22894         Up the "expected ram for each DRT instance" to 400MB instead of 300MB
22895         in hopes of making the Snow Leopard bot stop timing out.
22896
22897         Unreviewed.
22898
22899         * Scripts/webkitpy/layout_tests/port/base.py:
22900         (Port.default_child_processes):
22901         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
22902         (PortTest.test_default_child_processes):
22903
22904 2011-12-05  Eric Seidel  <eric@webkit.org>
22905
22906         NRWT creates too many workers on RAM-limited machines
22907         https://bugs.webkit.org/show_bug.cgi?id=73847
22908
22909         Reviewed by Dirk Pranke.
22910
22911         Make NRWT restrict its number of workers when there isn't enough
22912         RAM to support them.
22913         Also re-enable parallel testing on the Mac bots which were
22914         failing due to not enough ram.
22915
22916         * Scripts/run-webkit-tests:
22917         (platformIsReadyForParallelTesting):
22918         * Scripts/webkitpy/common/host.py:
22919         (Host.__init__):
22920         * Scripts/webkitpy/common/system/executive_mock.py:
22921         (MockExecutive.cpu_count):
22922         * Scripts/webkitpy/common/system/platforminfo.py:
22923         (PlatformInfo.__init__):
22924         (PlatformInfo.display_name):
22925         * Scripts/webkitpy/common/system/platforminfo_mock.py:
22926         (MockPlatformInfo.display_name):
22927         * Scripts/webkitpy/layout_tests/port/base.py:
22928         (Port.default_child_processes):
22929         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
22930         (PortTest.test_default_child_processes):
22931         (PortTest.test_pretty_patch_os_error):
22932
22933 2011-12-05  Hugo Parente Lima  <hugo.lima@openbossa.org>
22934
22935         Last mouse event could be lost if a JS call to eventSender.leapForward is made
22936         https://bugs.webkit.org/show_bug.cgi?id=73366
22937
22938         Reviewed by Kenneth Rohde Christiansen.
22939
22940         Empty the entire event queue when requested besides using
22941         sendEvent instead of postEvent to make sure all events were
22942         delivered.
22943
22944         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
22945         (WTR::EventSenderProxy::EventSenderProxy):
22946         (WTR::EventSenderProxy::sendOrQueueEvent):
22947         (WTR::EventSenderProxy::replaySavedEvents):
22948
22949 2011-12-05  Adam Barth  <abarth@webkit.org>
22950
22951         [Chromium] Remove no-longer-used forwarding headers in the WebKit API
22952         https://bugs.webkit.org/show_bug.cgi?id=73845
22953
22954         Reviewed by Darin Fisher.
22955
22956         Update includes to point to the new header locations.
22957
22958         * DumpRenderTree/chromium/AccessibilityController.cpp:
22959         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
22960         * DumpRenderTree/chromium/CppBoundClass.cpp:
22961         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
22962         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
22963         * DumpRenderTree/chromium/DRTDevToolsClient.h:
22964         * DumpRenderTree/chromium/EventSender.cpp:
22965         * DumpRenderTree/chromium/EventSender.h:
22966         * DumpRenderTree/chromium/GamepadController.h:
22967         * DumpRenderTree/chromium/LayoutTestController.cpp:
22968         * DumpRenderTree/chromium/LayoutTestController.h:
22969         * DumpRenderTree/chromium/MockSpellCheck.cpp:
22970         * DumpRenderTree/chromium/NotificationPresenter.cpp:
22971         * DumpRenderTree/chromium/PlainTextController.cpp:
22972         * DumpRenderTree/chromium/Task.cpp:
22973         * DumpRenderTree/chromium/TestNavigationController.h:
22974         * DumpRenderTree/chromium/TestShell.cpp:
22975         * DumpRenderTree/chromium/TestWebPlugin.cpp:
22976         * DumpRenderTree/chromium/TestWebPlugin.h:
22977         * DumpRenderTree/chromium/TextInputController.cpp:
22978         * DumpRenderTree/chromium/WebPermissions.cpp:
22979         * DumpRenderTree/chromium/WebPreferences.h:
22980         * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
22981         * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
22982         * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
22983         * DumpRenderTree/chromium/WebThemeEngineDRTWin.h:
22984         * DumpRenderTree/chromium/WebViewHost.cpp:
22985
22986 2011-12-05  Ryosuke Niwa  <rniwa@webkit.org>
22987
22988         Add Aharon Lanin to the contributors list.
22989
22990         * Scripts/webkitpy/common/config/committers.py:
22991
22992 2011-12-05  Jarred Nicholls  <jarred@sencha.com>
22993
22994         Moving myself from contributors to committers.
22995
22996         * Scripts/webkitpy/common/config/committers.py:
22997
22998 2011-12-05  Raphael Kubo da Costa  <kubo@profusion.mobi>
22999
23000         Add myself as a committer.
23001
23002         * Scripts/webkitpy/common/config/committers.py:
23003
23004 2011-12-05  Michael Brüning  <michael.bruning@nokia.com>
23005
23006         [Qt] Rename QQuickWebView::canStop property to just loading 
23007         https://bugs.webkit.org/show_bug.cgi?id=73813
23008
23009         Reviewed by Kenneth Rohde Christiansen.
23010
23011         Replaced references to WebView.canStop with WebView.loading.
23012
23013         * MiniBrowser/qt/qml/BrowserWindow.qml:
23014
23015 2011-12-05  Dirk Pranke  <dpranke@chromium.org>
23016
23017         run-webkit-tests: limit --child-processes properly on apple mac
23018         https://bugs.webkit.org/show_bug.cgi?id=73856
23019
23020         Reviewed by Adam Roben.
23021
23022         Fix typos in r102013 so that we correctly pass --child-processes=1 on
23023         the apple mac bots temporarily.
23024
23025         * Scripts/run-webkit-tests:
23026         (platformIsReadyForParallelTesting):
23027
23028 2011-12-05  Ryosuke Niwa  <rniwa@webkit.org>
23029
23030         Temporarily set --child-process=1 on Mac because 20+ tests are timing out
23031         https://bugs.webkit.org/show_bug.cgi?id=73840
23032
23033         Reviewed by Simon Fraser.
23034
23035         Temporarily go back to single process mode on Mac.
23036
23037         * Scripts/run-webkit-tests:
23038         (platformIsReadyForParallelTesting):
23039
23040 2011-12-05  Adam Roben  <aroben@apple.com>
23041
23042         Redeploy apple-macpro-7 and apple-xserve-1
23043
23044         These slaves have been sitting idle since we removed our Leopard builders in r97496.
23045
23046         Fixes <http://webkit.org/b/73829> REGRESSION (r97496): apple-macpro-7 and apple-xserve-1 are
23047         sitting idle
23048
23049         Reviewed by Sam Weinig.
23050
23051         * BuildSlaveSupport/build.webkit.org-config/config.json: Re-added apple-macpro-7 and
23052         apple-xserve-1. The former is now doing "SnowLeopard Intel Debug (WebKit2 Tests)", which
23053         allows apple-xserve-9 to be a build-only slave, and the latter is doing "Lion Intel Debug
23054         (WebKit2 Tests)".
23055
23056 2011-12-05  Kenneth Rohde Christiansen  <kenneth@webkit.org>
23057
23058         [Qt] Make the UI of the MiniBrowser slightly nicer
23059
23060         Rubberstamped by Simon Hausmann.
23061
23062         - Add proper padding
23063         - Show feedback when pressing on the toolbar icons
23064         - Make the text entry better looking
23065
23066         * MiniBrowser/qt/qml/BrowserWindow.qml:
23067
23068 2011-12-05  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
23069
23070         NRWT should handle duplicated expectations
23071         https://bugs.webkit.org/show_bug.cgi?id=69750
23072
23073         Reviewed by Dirk Pranke.
23074
23075         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
23076         (TestExpectations.__init__):
23077         (TestExpectations._report_errors):
23078         (TestExpectations._add_expectations):
23079         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
23080         (test_add_skipped_tests):
23081         * Scripts/webkitpy/layout_tests/port/base.py:
23082         (Port.skipped_tests):
23083         * Scripts/webkitpy/layout_tests/port/webkit.py:
23084         (WebKitPort.test_expectations):
23085         (WebKitPort.skipped_tests):
23086         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
23087         (test_test_expectations):
23088
23089 2011-12-04  Eric Seidel  <eric@webkit.org>
23090
23091         After success with Mac, Win and Gtk, turning on parallel testing
23092         by default for all platforms (except Qt).
23093
23094         We'll add more platforms to the blacklist if we see problems.
23095
23096         Unreviewed.
23097
23098         * Scripts/run-webkit-tests:
23099         (platformIsReadyForParallelTesting):
23100
23101 2011-12-04  Sam Weinig  <sam@webkit.org>
23102
23103         Add tests for RetainPtr::adoptNS/adoptCF
23104         https://bugs.webkit.org/show_bug.cgi?id=73470
23105
23106         Reviewed by Adam Roben and Darin Adler.
23107
23108         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
23109         * TestWebKitAPI/Tests/WTF/cf/RetainPtr.cpp: Added.
23110         (TestWebKitAPI::TEST):
23111         Test that adopting using adoptCF creates a RetainPtr with a
23112         value whose retain count is 1.
23113
23114         * TestWebKitAPI/Tests/WTF/ns: Added.
23115         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added.
23116         (TestWebKitAPI::TEST):
23117         Test that adopting using adoptNS creates a RetainPtr with a
23118         value whose retain count is 1.
23119
23120 2011-12-04  Martin Robinson  <mrobinson@igalia.com>
23121
23122         [GTK] Include cairo, pixman and gnome-icon-theme in the jhbuild modules
23123         https://bugs.webkit.org/show_bug.cgi?id=73748
23124
23125         Reviewed by Gustavo Noronha Silva.
23126
23127         * gtk/jhbuild.modules: Add some new modules the jhbuild moduleset.
23128
23129 2011-12-04  Philippe Normand  <pnormand@igalia.com>
23130
23131         Another GTK build fix after r101922.
23132
23133         Rubber-stamped by Martin Robinson.
23134
23135         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
23136         (LayoutTestController::pathToLocalResource): Plug possible String ref leak.
23137
23138 2011-12-04  Xan Lopez  <xlopez@igalia.com>
23139
23140         Fix compiler warning in LayoutTestController
23141
23142         Reviewed by Philippe Normand.
23143
23144         * DumpRenderTree/LayoutTestController.cpp:
23145         (LayoutTestController::LayoutTestController): fix warning.
23146
23147 2011-12-04  Alexandre Mazari  <scaroo@gmail.com>
23148
23149         Add missing methods used by fast/notifications tests to LayoutTestController
23150         https://bugs.webkit.org/show_bug.cgi?id=63616
23151
23152         Reviewed by Martin Robinson.
23153
23154         Add missing simulateDesktopNotificationClick method used by
23155         fast/notifications. Provide a default implementation for
23156         areDesktopNotificationPermissionRequestsIgnored and
23157         ignoreDesktopNotificationPermissionRequests.
23158
23159         * DumpRenderTree/LayoutTestController.cpp:
23160         (LayoutTestController::LayoutTestController): call into the port implementation.
23161         (simulateDesktopNotificationClickCallback): ditto.
23162         (ignoreDesktopNotificationPermissionRequestsCallback): default implementation.
23163         (LayoutTestController::staticFunctions): declare new methods.
23164         (LayoutTestController::ignoreDesktopNotificationPermissionRequests): default implementation.
23165         * DumpRenderTree/LayoutTestController.h:
23166         (LayoutTestController::areDesktopNotificationPermissionRequestsIgnored):
23167         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
23168         (LayoutTestController::simulateDesktopNotificationClick): dummy implementation.
23169         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
23170         (LayoutTestController::simulateDesktopNotificationClick): ditto.
23171         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
23172         (LayoutTestController::simulateDesktopNotificationClick): ditto.
23173         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
23174         (LayoutTestController::simulateDesktopNotificationClick): ditto.
23175         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
23176         (LayoutTestController::simulateDesktopNotificationClick): ditto.
23177
23178 2011-12-03  Mario Sanchez Prada  <msanchez@igalia.com>
23179
23180         [GTK] Don't log document events in DRT
23181         https://bugs.webkit.org/show_bug.cgi?id=73746
23182
23183         Reviewed by Martin Robinson.
23184
23185         Stop connecting globally to document-related events.
23186
23187         * DumpRenderTree/gtk/AccessibilityCallbacks.cpp:
23188         (connectAccessibilityCallbacks): Removed connections.
23189         (disconnectAccessibilityCallbacks): Removed disconnections.
23190
23191 2011-12-03  Dan Bernstein  <mitz@apple.com>
23192
23193         Added a test for <rdar://problem/10523721> Crash at WebCore::SubresourceLoader::releaseResources
23194
23195         Reviewed by Darin Adler.
23196
23197         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
23198         * TestWebKitAPI/Tests/mac/SubresourceErrorCrash.mm: Added.
23199         (TestWebKitAPI::TEST):
23200
23201 2011-12-03  Philippe Normand  <pnormand@igalia.com>
23202
23203         Another GTK build fix after r101922.
23204
23205         Rubber-stamped by Martin James Robinson.
23206
23207         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
23208         (LayoutTestController::pathToLocalResource): return value needs to
23209         be a URI.
23210
23211 2011-12-03  Martin Robinson  <mrobinson@igalia.com>
23212
23213         Small fix for my previous patch. Do not try to delete a member
23214         of a dictionary that does not exist.
23215
23216         Reviewed by Gustavo Noronha Silva.
23217
23218         * gtk/run-with-jhbuild:
23219         (install_and_run_jhbuild):
23220
23221 2011-12-03  Martin Robinson  <mrobinson@igalia.com>
23222
23223         Fix jhbuild installation for people who have unusual MAKE environment
23224         variables such as 'make -j4' as the jhbuild build does not handle it.
23225
23226         Reviewed by Gustavo Noronha Silva.
23227
23228         * gtk/run-with-jhbuild:
23229         (install_and_run_jhbuild): Remove any MAKE environment variable before building jhbuild.
23230
23231 2011-12-03  Martin Robinson  <mrobinson@igalia.com>
23232
23233         Fix the update-webkitgtk-libs script to properly trigger a jhbuild installation
23234         when run for the first time.
23235
23236         Reviewed by Gustavo Noronha Silva.
23237
23238         * Scripts/update-webkitgtk-libs: Fix first run.
23239
23240 2011-12-03  Philippe Normand  <pnormand@igalia.com>
23241
23242         Unreviewed, GTK build fix after r101922.
23243
23244         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
23245         (LayoutTestController::pathToLocalResource): Added sentinel in
23246         g_build_filename call.
23247
23248 2011-12-03  Philippe Normand  <pnormand@igalia.com>
23249
23250         GTK API tests build fix. Run the tests inside jhbuild.
23251
23252         Rubber-stamped by Gustavo Noronha Silva.
23253
23254         * Scripts/run-gtk-tests:
23255         (TestRunner.__init__):
23256         (TestRunner.run._error_handler):
23257         (TestRunner):
23258         (TestRunner.run):
23259
23260 2011-12-03  Martin Robinson  <mrobinson@igalia.com>
23261
23262         Small build fix. Properly specify the path to the locally installed jhbuild.
23263
23264         * Scripts/update-webkitgtk-libs: Fix jhbuild path.
23265
23266 2011-12-03  Martin Robinson  <mrobinson@igalia.com>
23267
23268         [GTK][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResource()
23269         https://bugs.webkit.org/show_bug.cgi?id=67256
23270
23271         Reviewed by Philippe Normand.
23272
23273         Implement LayoutTestController::pathToLocalResource for GTK+. Instead of passing 
23274         WEBKIT_TEST_FONTS to the GTK+ test harnesses, pass a more generic WEBKIT_TOP_LEVEL,
23275         which points to the more generic top-level path of the WebKit checkout. This code is
23276         duplicated between WK1 and WK2 harnesses because we do not currently have a way to
23277         share code here.
23278
23279         If WEBKIT_TOP_LEVEL is not provided, we search for the top level based on the binary
23280         location. This will cause the fallback to fail if you build into a non-typical location
23281         or even fake it with a symlink. In this case it's important to use the environment variable.
23282
23283         * DumpRenderTree/gtk/DumpRenderTree.cpp:
23284         (getTopLevelPath): Added.
23285         (initializeFonts): Use the new helper to get the font path.
23286         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Expose the new helper.
23287         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
23288         (LayoutTestController::pathToLocalResource):Use the new helper to normalize
23289         test paths.
23290         * Scripts/webkitpy/layout_tests/port/gtk.py:
23291         (GtkPort.setup_environ_for_server):Pass the top-level path of the
23292         checkout instead of passing the font path.
23293         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
23294         (WTR::getTopLevelPath): Added this helper.
23295         (WTR::inititializeFontConfigSetting): Use the helper to find the font path.
23296
23297 2011-12-02  David Levin  <levin@chromium.org>
23298
23299         Rename WTF class from TemporarilyChange to TemporaryChange.
23300         https://bugs.webkit.org/show_bug.cgi?id=73479
23301
23302         Reviewed by Eric Seidel.
23303
23304         * DumpRenderTree/ForwardingHeaders/wtf/TemporarilyChange.h: Removed.
23305         * DumpRenderTree/ForwardingHeaders/wtf/TemporaryChange.h: Added.
23306         * TestWebKitAPI/TestWebKitAPI.gypi:
23307         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
23308         * TestWebKitAPI/Tests/WTF/TemporaryChange.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/TemporarilyChange.cpp.
23309         (TestWebKitAPI::TEST):
23310         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
23311
23312 2011-12-02  Tony Chang  <tony@chromium.org>
23313
23314         [NRWT] reftest asserts intermittently on the Qt-WK2 bot
23315         https://bugs.webkit.org/show_bug.cgi?id=73453
23316
23317         Reviewed by Ryosuke Niwa.
23318
23319         We used to assert if a ref test didn't generate pixel results. Instead, just claim it is a failing test.
23320         The verbose output will include the failure reason.
23321
23322         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: Don't assert, return FailureReftestNoImagesGenerated instead.
23323         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
23324         (write_test_result):
23325         * Scripts/webkitpy/layout_tests/controllers/test_result_writer_unittest.py: Remove stray letter t.
23326         * Scripts/webkitpy/layout_tests/models/test_failures.py: Add a new failure type: FailureReftestNoImagesGenerated
23327         (determine_result_type):
23328         (FailureReftestNoImagesGenerated.__init__):
23329         (FailureReftestNoImagesGenerated):
23330         (FailureReftestNoImagesGenerated.message):
23331         * Scripts/webkitpy/layout_tests/port/test.py: Add a test case for integration tests.
23332         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py: Update test counts.
23333         (MainTest.test_run_singly_actually_runs_tests):
23334         (MainTest.test_unexpected_failures):
23335         (EndToEndTest.test_end_to_end):
23336
23337 2011-12-02  Ryosuke Niwa  <rniwa@webkit.org>
23338
23339         ChangeLog should be able to parse annotated changelogs
23340         https://bugs.webkit.org/show_bug.cgi?id=72703
23341
23342         Reviewed by Eric Seidel.
23343
23344         Make parse_entries_from_file aware of svn blame annotation such as "100000 ossy@webkit.org ",
23345         and extract the revision number for each entry.
23346
23347         Also add a support to extract "svn blame" result from svn/git checkout to scm classes.
23348
23349         * Scripts/webkitpy/common/checkout/changelog.py:
23350         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
23351         * Scripts/webkitpy/common/checkout/scm/git.py:
23352         * Scripts/webkitpy/common/checkout/scm/scm.py:
23353         * Scripts/webkitpy/common/checkout/scm/svn.py:
23354
23355 2011-12-02  Eric Seidel  <eric@webkit.org>
23356
23357         Enable parallel testing for Win and Gtk bots
23358         after confirming with Lucas and Martin the bots should be OK.
23359
23360         Unreviewed. (I ran the idea by Lucas and Martin.)
23361
23362         * Scripts/run-webkit-tests:
23363         (platformIsReadyForParallelTesting):
23364
23365 2011-12-02  Martin Robinson  <mrobinson@igalia.com>
23366
23367         Try to fix the GTK+ build.
23368
23369         * gtk/jhbuild.modules: Properly specify the glib-networking
23370         dependency for soup.
23371
23372 2011-12-02  Martin Robinson  <mrobinson@igalia.com>
23373
23374         Fix a syntax error in the committers.py file.
23375
23376         * Scripts/webkitpy/common/config/committers.py: Add a missing comma.
23377
23378 2011-12-02  Ryosuke Niwa  <rniwa@webkit.org>
23379
23380         Add Alan Stearns and Peter Linss to the contributors list.
23381
23382         * Scripts/webkitpy/common/config/committers.py:
23383
23384 2011-12-02  Kent Tamura  <tkent@chromium.org>
23385
23386         [Chromium] Fix compilation warnings for ASSERT()
23387         https://bugs.webkit.org/show_bug.cgi?id=73623
23388
23389         Reviewed by Tony Chang.
23390
23391         * DumpRenderTree/chromium/ImageDiff.cpp:
23392          - Fix fprintf format: %s -> %d for __LINE__
23393          - Do nothing for ASSERT() if NDEBUG.
23394
23395 2011-12-02  Eric Seidel  <eric@webkit.org>
23396
23397         Enable parallel testing for all Mac bots.
23398
23399         Unreviewed.
23400
23401         * Scripts/run-webkit-tests:
23402         (platformIsReadyForParallelTesting):
23403
23404 2011-12-02  Eric Seidel  <eric@webkit.org>
23405
23406         Enable parallel testing for run-webkit-tests on Mac Lion.
23407         I plan to move all the machines to parallel testing shortly
23408         but we're starting with Lion.
23409
23410         Unreviewed.
23411
23412         * Scripts/run-webkit-tests:
23413         (platformIsReadyForParallelTesting):
23414
23415 2011-12-02  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
23416
23417         Added helper method to identify whether the page has custom page size style.
23418         https://bugs.webkit.org/show_bug.cgi?id=73585
23419
23420         Reviewed by Darin Fisher.
23421
23422         * DumpRenderTree/chromium/LayoutTestController.cpp:
23423         (LayoutTestController::LayoutTestController):
23424         (LayoutTestController::hasCustomPageSizeStyle):
23425         * DumpRenderTree/chromium/LayoutTestController.h:
23426
23427 2011-12-01  Ryosuke Niwa  <rniwa@webkit.org>
23428
23429         [NRWT] reftest should support having multiple references per test
23430         https://bugs.webkit.org/show_bug.cgi?id=73613
23431
23432         Reviewed by Dirk Pranke.
23433
23434         Add a support for having multiple reference files for a single test.
23435
23436         Because a reftest succeeds when it matches at least one of expected matches and fails when it matches
23437         at least one of expected mismatches, we compare expected mismatches first in order to minimize
23438         the number of reference files to open on DRT.
23439
23440         * Scripts/webkitpy/layout_tests/controllers/manager.py:
23441         (interpret_test_failures): Remove checks no longer applicable.
23442         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
23443         (ResultSummaryTest.test_interpret_test_failures): Ditto.
23444         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
23445         (SingleTestRunner.__init__): Remove a bunch of code and just call port.reference_files.
23446         (SingleTestRunner._driver_input):
23447         (SingleTestRunner.run):
23448         (SingleTestRunner._run_reftest): Compare the output of the test to each reference file.
23449         * Scripts/webkitpy/layout_tests/models/test_input.py:
23450         (TestInput.__init__): Remove ref_file and is_mismatch_reftest because they are no longer used.
23451         * Scripts/webkitpy/layout_tests/port/base.py:
23452         (Port.reference_files): Renamed from _reference_file_for. Returns a list of expectation, filename pairs.
23453         (_parse_reftest_list): Now supports parsing multiple entries for a single test.
23454         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
23455         (PortTest.test_parse_reftest_list):
23456         * Scripts/webkitpy/layout_tests/port/test.py:
23457         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
23458         (MainTest.test_unexpected_failures):
23459         (MainTest.test_reftest_skipped_if_unlisted): Renamed from test_missing_and_unexpected_results.
23460         (EndToEndTest.test_end_to_end):
23461         (EndToEndTest.test_reftest_with_two_notrefs): Added.
23462
23463 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23464
23465         Build libsoup without gnome dependencies (like keyring).
23466
23467         * gtk/jhbuild.modules:
23468
23469 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23470
23471         Also build gcrypt and p11-kit, and make them dependencies of
23472         gnutls.
23473
23474         * gtk/jhbuild.modules:
23475
23476 2011-12-02  Kevin Ollivier  <kevino@theolliviers.com>
23477
23478         [wx] Unreviewed build fixes for Windows build.
23479
23480         * waf/build/wxpresets.py:
23481
23482 2011-12-01  Eric Seidel  <eric@webkit.org>
23483
23484         Reviewed by Adam Barth.
23485
23486         webkit-patch post, post-commits, upload should warn when posting to a closed bug, and offer to reopen it
23487         https://bugs.webkit.org/show_bug.cgi?id=32006
23488
23489         I decided not to make it warn, and just have it re-open the bug.
23490         That's not that different from today's behavior which will
23491         just silently attach the patch.
23492
23493         This patch makes behavior between upload and land-safely consistent
23494         (previously one would assign patches and the other would not)
23495         as well as adds the ability for both to ensure that the bug is open.
23496
23497         To test this I had to add a few more methods to MockBugzilla which
23498         (positively) affected a few other test results.
23499
23500         I also made AbstractStep keep a cached copy of the Bug object
23501         and used the cached copy where appropriate (including for 'bug_title').
23502         This should reduce the number of bug fetches we perform.
23503
23504         * Scripts/webkitpy/tool/commands/download_unittest.py:
23505         * Scripts/webkitpy/tool/commands/upload.py:
23506         * Scripts/webkitpy/tool/commands/upload_unittest.py:
23507         * Scripts/webkitpy/tool/mocktool.py:
23508         * Scripts/webkitpy/tool/steps/__init__.py:
23509         * Scripts/webkitpy/tool/steps/abstractstep.py:
23510         * Scripts/webkitpy/tool/steps/closebug.py:
23511         * Scripts/webkitpy/tool/steps/ensurebugisopenandassigned.py: Added.
23512         * Scripts/webkitpy/tool/steps/postdiff.py:
23513         * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
23514         * Scripts/webkitpy/tool/steps/preparechangelog.py:
23515         * Scripts/webkitpy/tool/steps/steps_unittest.py:
23516         * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
23517
23518 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23519
23520         Also pass --no-interact to jhbuild when updating dependencies.
23521
23522         * Scripts/update-webkitgtk-libs:
23523
23524 2011-12-02  Alice Boxhall  <aboxhall@chromium.org>
23525
23526         Make _build_path check more thoroughly that build paths exist.
23527         https://bugs.webkit.org/show_bug.cgi?id=73601
23528
23529         Reviewed by Ojan Vafai.
23530
23531         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
23532         (ChromiumMacPort._build_path):
23533
23534 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23535
23536         Add libffi to the jhbuild modules list as a glib dependency.
23537
23538         Rubber-stamped by Martin Robinson.
23539
23540         * gtk/jhbuild.modules:
23541
23542 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23543
23544         Build fix. Use internal pcre on glib, make gnutls a dependency of
23545         glib-networking, unset AR_FLAGS for jhbuild builds, and run jhbuild
23546         in non-interactive mode.
23547
23548         * Scripts/update-webkitgtk-libs:
23549         * gtk/jhbuild.modules:
23550         * gtk/run-with-jhbuild:
23551
23552 2011-12-02  Adam Roben  <aroben@apple.com>
23553
23554         Fix for Python 2.6
23555
23556         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
23557         (RunUnitTests.countFailures): Removed the flags parameter to re.split, which was only added
23558         in Python 2.7, and used whitespace instead of start-of-string/end-of-string markers when
23559         searching for "Tests that timed out:" etc. This makes our check less strict, but it
23560         shouldn't matter given the kinds of content we parse.
23561
23562 2011-12-02  Adam Roben  <aroben@apple.com>
23563
23564         Fix names of failed/timed out tests in run-api-tests output
23565
23566         Fixes <http://webkit.org/b/73663> run-api-tests prints suite names twice for failed or timed
23567         out tests
23568
23569         We were ending up with the suite name doubled (e.g., "WebKit2.WebKit2.MouseMoveAfterCrash").
23570
23571         Reviewed by Simon Fraser.
23572
23573         * Scripts/run-api-tests:
23574         (runTest): Don't prepend the suite name to $test. It's already been prepended at the start
23575         of this function.
23576
23577 2011-11-29  Martin Robinson  <mrobinson@igalia.com>
23578
23579         [GTK] generate-gtkdoc should respect build type
23580         https://bugs.webkit.org/show_bug.cgi?id=73296
23581
23582         Reviewed by Philippe Normand.
23583
23584         * Scripts/webkitdirs.pm:
23585         (buildAutotoolsProject): Pass the --debug to the generate-gtkdoc script.
23586         * gtk/common.py: If --build is passed give preference to the Debug build directory.
23587
23588 2011-12-02  Tony Chang  <tony@chromium.org>
23589
23590         [nrwt] fix wdiff output
23591         https://bugs.webkit.org/show_bug.cgi?id=73604
23592
23593         Reviewed by Adam Barth.
23594
23595         * Scripts/webkitpy/layout_tests/port/base.py:
23596         (Port.wdiff_text):
23597         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
23598         (PortTest.test_wdiff_text):
23599
23600 2011-12-02  Adam Roben  <aroben@apple.com>
23601
23602         Teach build.webkit.org to display how many unit tests failed or timed out
23603
23604         Fixes <http://webkit.org/b/73659> It's hard to tell how many unit tests are failing on
23605         build.webkit.org
23606
23607         We now display something like "5 unit tests failed or timed out". Eventually we might want
23608         to split out how many failure vs. timeouts there were.
23609
23610         Reviewed by Darin Adler.
23611
23612         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
23613         (TestWithFailureCount): Moved this class up to the top of the file so it is before any other
23614         classes that may want to subclass it.
23615         (RunUnitTests): Changed to inherit from TestWithFailureCount.
23616         (RunUnitTests.countFailures): Added. Counts the number of tests following the "Tests that
23617         timed out:" and "Tests that failed:" lines, if present.
23618
23619         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
23620         (StubStdio):
23621         (StubRemoteCommand):
23622         Added these two stub classes to mimic buildbot's RemoteCommand and log classes.
23623
23624         (RunUnitTestsTest.assertFailures): Helper method to check that we interpreted the results of
23625         the test run correctly.
23626
23627         (RunUnitTestsTest.test_no_failures_or_timeouts):
23628         (RunUnitTestsTest.test_one_failure):
23629         (RunUnitTestsTest.test_multiple_failures):
23630         (RunUnitTestsTest.test_one_timeout):
23631         (RunUnitTestsTest.test_multiple_timeouts):
23632         (RunUnitTestsTest.test_multiple_failures_and_timeouts):
23633         Test various cases.
23634
23635 2011-12-02  Adam Roben  <aroben@apple.com>
23636
23637         Teach prepare-ChangeLog to treat master.cfg as a Python file
23638
23639         Fixes <http://webkit.org/b/73658> prepare-ChangeLog doesn't show modified classes/functions
23640         in buildbot's master.cfg
23641
23642         Reviewed by Darin Adler.
23643
23644         * Scripts/prepare-ChangeLog:
23645         (get_function_line_ranges): Use get_function_line_ranges_for_python if the filename is
23646         master.cfg.
23647
23648 2011-12-02  Martin Robinson  <mrobinson@igalia.com>
23649
23650         [GTK] Create a wrapper script that knows how to install jhbuild and run commands with it
23651         https://bugs.webkit.org/show_bug.cgi?id=73669
23652
23653         Reviewed by Gustavo Noronha Silva.
23654
23655         Add a wrapper script that knows how to install jhbuild and also to wrap commands
23656         in the jhbuild shell.
23657
23658         * Scripts/webkitdirs.pm:
23659         (runAutogenForAutotoolsProject): Use the new wrapper script.
23660         (mustReRunAutogen): Ditto.
23661         (buildAutotoolsProject): Ditto.
23662         * Scripts/webkitpy/layout_tests/port/gtk.py:
23663         (GtkDriver.cmd_line): Ditto.
23664         * gtk/run-with-jhbuild: Added.
23665
23666 2011-12-01  Adam Roben  <aroben@apple.com>
23667
23668         Teach check-webkit-style how to check the syntax of JSON files
23669
23670         Fixes <http://webkit.org/b/73590> check-webkit-style doesn't flag JSON syntax errors
23671
23672         I previously landed this patch as r101711, but the new tests failed on Snow Leopard. This
23673         patch is identical to that one except for two change: assertIn(a, b) (which is new to Python
23674         2.7) has been replaced with assertTrue(a in b), and the test_missing_closing_brace test has
23675         been removed, since its output differs by platform.
23676
23677         Reviewed by Darin Adler.
23678
23679         * Scripts/webkitpy/style/checker.py:
23680         (_all_categories): Added JSONChecker's categories to the set of all categories.
23681         (FileType): Added a JSON type. Incremented other types.
23682         (CheckerDispatcher._file_type): Use the JSON file type for .json files.
23683         (CheckerDispatcher._create_checker): Use a JSONChecker for JSON files.
23684
23685         * Scripts/webkitpy/style/checker_unittest.py:
23686         (CheckerDispatcherDispatchTest.assert_checker_json): Added this helper method.
23687         (CheckerDispatcherDispatchTest.test_json_paths): Added. Based on test_python_paths.
23688
23689         * Scripts/webkitpy/style/checkers/jsonchecker.py: Added. (I didn't name this just "json",
23690         which would have matched our other checkers, because I couldn't figure out how to call
23691         "json.loads" without hitting namespace conflicts.)
23692         (JSONChecker.__init__): Turn of line filtering so that we always check the whole file, not
23693         just the modified lines from a patch.
23694         (JSONChecker.check): Try to parse the lines as JSON. Mark an error if there was an
23695         exception.
23696         (JSONChecker.line_number_from_json_exception): Parse the json modules exception message to
23697         try to extract a line number.
23698
23699         * Scripts/webkitpy/style/checkers/jsonchecker_unittest.py: Added.
23700         (MockErrorHandler.__init__):
23701         (MockErrorHandler.turn_off_line_filtering):
23702         (MockErrorHandler.__call__):
23703         Helper class. Copied from xml_unittest.py.
23704
23705         (JSONCheckerTest.test_line_number_from_json_exception): Test the
23706         line_number_from_json_exception helper method.
23707
23708         (JSONCheckerTest.assert_no_error):
23709         (JSONCheckerTest.assert_error):
23710         Helper methods to assert that we did or didn't get an error.
23711
23712         (JSONCheckerTest.mock_handle_style_error): Helper method.
23713
23714         (JSONCheckerTest.test_conflict_marker):
23715         (JSONCheckerTest.test_single_quote):
23716         (JSONCheckerTest.test_init):
23717         (JSONCheckerTest.test_no_error):
23718         Test various cases.
23719
23720 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23721
23722         [GTK] Add glib, glib-networking, gnutls and libsoup to jhbuild
23723         https://bugs.webkit.org/show_bug.cgi?id=73664
23724
23725         Reviewed by Martin Robinson.
23726
23727         This patch adds our HTTP library and its main dependencies; this
23728         should not affect layout or rendering.
23729
23730         * gtk/jhbuild.modules:
23731
23732 2011-12-02  Gustavo Noronha Silva  <gns@gnome.org>
23733
23734         [GTK] Also run DumpRenderTree under jhbuild
23735         https://bugs.webkit.org/show_bug.cgi?id=73646
23736
23737         Reviewed by Martin Robinson.
23738
23739         * Scripts/webkitpy/layout_tests/port/gtk.py:
23740         (GtkDriver.cmd_line):
23741
23742 2011-12-02  Hajime Morrita  <morrita@chromium.org>
23743
23744         Unreviewed, rolling out r101751 and r101775.
23745         http://trac.webkit.org/changeset/101751
23746         http://trac.webkit.org/changeset/101775
23747         https://bugs.webkit.org/show_bug.cgi?id=73191
23748
23749         breaks Windows build
23750
23751         * DumpRenderTree/chromium/config.h:
23752         * DumpRenderTree/config.h:
23753         * TestWebKitAPI/config.h:
23754         * WebKitTestRunner/config.h:
23755
23756 2011-12-02  Kentaro Hara  <haraken@chromium.org>
23757
23758         Move run-bindings-tests implementation to webkitpy/bindings/main.py
23759         https://bugs.webkit.org/show_bug.cgi?id=73619
23760
23761         Reviewed by Adam Barth.
23762
23763         As run-bindings-tests has been growing, this patch just moves its implementation
23764         to webkitpy/bindings/main.py to integrate with the rest of webkitpy.
23765
23766         No change in behavior.
23767
23768         * Scripts/run-bindings-tests:
23769         (main):
23770         * Scripts/webkitpy/bindings/__init__.py: Added.
23771         * Scripts/webkitpy/bindings/main.py: Added.
23772         (BindingsTests.__init__):
23773         (BindingsTests.generate_from_idl):
23774         (BindingsTests.generate_supplemental_dependency):
23775         (BindingsTests.detect_changes):
23776         (BindingsTests.run_tests):
23777
23778 2011-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
23779
23780         Tools/Scripts: eliminate find_test_files from Port class.
23781         https://bugs.webkit.org/show_bug.cgi?id=73553
23782
23783         rebaseline.py and chromium_gpu.py use Port.find_test_files() the same way as it is used in Port.tests()
23784         I'd like to replace all calls to find_test_files with tests and eliminate find_tests_files.
23785         Also I'll move _is_test_file() and related functions close to Port.tests().
23786
23787         Reviewed by Dirk Pranke.
23788
23789         * Scripts/webkitpy/layout_tests/port/base.py:
23790         (Port.tests):
23791         (Port.is_reference_html_file):
23792         (Port._has_supported_extension):
23793         (Port._is_test_file):
23794         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
23795         (PortTest.test_find_no_paths_specified):
23796         (PortTest.test_find_one_test):
23797         (PortTest.test_find_glob):
23798         (PortTest.test_find_with_skipped_directories):
23799         (PortTest.test_find_with_skipped_directories_2):
23800         (PortTest.test_is_test_file):
23801         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
23802         (_default_tests_paths):
23803         (ChromiumGpuLinuxPort.tests):
23804         (ChromiumGpuCgMacPort.tests):
23805         (ChromiumGpuMacPort.tests):
23806         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
23807         (ChromiumGpuTest.test_default_tests_paths.test_paths):
23808         (ChromiumGpuTest.test_default_tests_paths):
23809         (ChromiumGpuTest.test_test_files.test_paths):
23810         (ChromiumGpuTest):
23811         (ChromiumGpuTest.test_test_files):
23812         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
23813         (get_tests_run.RecordingTestDriver.run_test):
23814         * Scripts/webkitpy/tool/commands/rebaseline.py:
23815         (OptimizeBaselines._optimize_baseline):
23816         (OptimizeBaselines.execute):
23817         (AnalyzeBaselines._analyze_baseline):
23818         (AnalyzeBaselines.execute):
23819
23820 2011-12-01  Hajime Morrita  <morrita@chromium.org>
23821
23822         JS_INLINE and WTF_INLINE should be visible from WebCore
23823         https://bugs.webkit.org/show_bug.cgi?id=73191
23824
23825         Reviewed by Kevin Ollivier.
23826
23827         Removed macro definitions which is now provided by Platform.h
23828
23829         * DumpRenderTree/chromium/config.h:
23830         * DumpRenderTree/config.h:
23831         * TestWebKitAPI/config.h:
23832         * WebKitTestRunner/config.h:
23833
23834 2011-12-01  Hayato Ito  <hayato@chromium.org>
23835
23836         Explicitly pass tolerance=0 to port.diff_image in case of RefTestMismatch failure.
23837         https://bugs.webkit.org/show_bug.cgi?id=73406
23838
23839         Reviewed by Ryosuke Niwa.
23840
23841         WebKitPort's image_diff uses tolerance='0.1' in default.
23842         When reftests fail, we should use tolerace=0 when diff-ing images.
23843
23844         Since ImageDiff on chromium port doesn't use tolerance value as of now,
23845         this change doesn't affect chromium port's behavior.
23846
23847         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
23848         (write_test_result):
23849         * Scripts/webkitpy/layout_tests/port/base.py:
23850         (Port.diff_image):
23851         * Scripts/webkitpy/layout_tests/port/chromium.py:
23852         (ChromiumPort.diff_image):
23853         * Scripts/webkitpy/layout_tests/port/test.py:
23854         (TestPort.diff_image):
23855         * Scripts/webkitpy/layout_tests/port/webkit.py:
23856         (WebKitPort.diff_image):
23857         (WebKitPort._start_image_diff_process):
23858         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
23859         (MainTest.test_tolerance.ImageDiffTestPort.diff_image):
23860
23861 2011-12-01  Adam Klein  <adamk@chromium.org>
23862
23863         Add Chromium ToT GTest build bots (and group selection support) to flakiness dashboard
23864         https://bugs.webkit.org/show_bug.cgi?id=73599
23865
23866         Reviewed by Ojan Vafai.
23867
23868         * TestResultServer/static-dashboards/builders.js:
23869         * TestResultServer/static-dashboards/dashboard_base.js:
23870         ():
23871         (htmlForTestTypeSwitcher):
23872         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
23873         (testHtmlForTestTypeSwitcherGroup):
23874
23875 2011-12-01  Ryosuke Niwa  <rniwa@webkit.org>
23876
23877         Parse reftest.list and extract types of ref tests
23878         https://bugs.webkit.org/show_bug.cgi?id=66837
23879
23880         Reviewed by Dirk Pranke.
23881
23882         Add support for reftest.list to base port.
23883
23884         * Scripts/webkitpy/common/find_files.py:
23885         (find):
23886         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
23887         (SingleTestRunner.__init__):
23888         * Scripts/webkitpy/layout_tests/port/base.py:
23889         (Port.__init__): Initialize self._reftest_list. It's a dictionary mapping from a test directory
23890         to a dictionary of {test path: ("==" or "!=", reference file path)}
23891         (Port._get_reftest_list): Added; calls test_file.parse_reftest_list to fill self._reftest_list.
23892         (Port._reference_file_for): Added; obtains the reference file name given a test name.
23893         (Port.is_reftest): Added; Calls _reference_file_for.
23894         (Port.reftest_expected_filename): Calls _reference_file_for.
23895         (Port.reftest_expected_mismatch_filename): Ditto.
23896         (Port.find_test_files):
23897         (is_reference_html_file): Treat any file that starts with ref- or notref- or ends with
23898         -expected, -expected-mismach, -ref, or -notref as a reference file.
23899         (_is_test_file):
23900         (_parse_reftest_list): Added.
23901         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
23902         (PortTest.test_is_test_file):
23903         (PortTest.test_parse_reftest_list):
23904         * Scripts/webkitpy/layout_tests/port/dryrun.py:
23905         (DryrunDriver.run_test):
23906         * Scripts/webkitpy/layout_tests/port/test.py:
23907         (unit_test_filesystem.add_test_file):
23908         (unit_test_filesystem.add_file):
23909         (unit_test_filesystem):
23910         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
23911         (get_tests_run.RecordingTestDriver.run_test):
23912         (MainTest.test_unexpected_failures):
23913         (MainTest.test_missing_and_unexpected_results):
23914         (EndToEndTest.test_end_to_end):
23915         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
23916         (Rebaseliner._compile_rebaselining_tests):
23917
23918 2011-12-01  Sheriff Bot  <webkit.review.bot@gmail.com>
23919
23920         Unreviewed, rolling out r101711.
23921         http://trac.webkit.org/changeset/101711
23922         https://bugs.webkit.org/show_bug.cgi?id=73605
23923
23924         Broke 3 webkitpy tests (Requested by rniwa on #webkit).
23925
23926         * Scripts/webkitpy/style/checker.py:
23927         (_all_categories):
23928         (FileType):
23929         (CheckerDispatcher._file_type):
23930         (CheckerDispatcher._create_checker):
23931         * Scripts/webkitpy/style/checker_unittest.py:
23932         (CheckerDispatcherDispatchTest.assert_checker_cpp):
23933         (CheckerDispatcherDispatchTest.test_cpp_paths):
23934         * Scripts/webkitpy/style/checkers/jsonchecker.py: Removed.
23935         * Scripts/webkitpy/style/checkers/jsonchecker_unittest.py: Removed.
23936
23937 2011-12-01  Gustavo Noronha Silva  <gns@gnome.org>
23938
23939         Unreviewed. Add myself to GStreamer and WebKit2GTK+ watchlists.
23940
23941         * Scripts/webkitpy/common/config/watchlist:
23942
23943 2011-12-01  Martin Robinson  <mrobinson@igalia.com>
23944
23945         [GTK] Read fonts from the jhbuild root
23946         https://bugs.webkit.org/show_bug.cgi?id=73487
23947
23948         Reviewed by Gustavo Noronha Silva.
23949
23950         Read fonts from the jhbuild root instead of from the system. This will ensure
23951         that all testers use the same fonts instead of leaving this up to luck.
23952
23953         * DumpRenderTree/gtk/DumpRenderTree.cpp:
23954         (initializeFonts): Load fonts from jhbuild root.
23955         * Scripts/webkitpy/layout_tests/port/gtk.py:
23956         (GtkPort.setup_environ_for_server): Pass an environment variable containing
23957         the path to the jhbuild root.
23958         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
23959         (WTR::inititializeFontConfigSetting): Load fonts from the jhbuild root.
23960
23961 2011-12-01  Adam Roben  <aroben@apple.com>
23962
23963         Teach check-webkit-style how to check the syntax of JSON files
23964
23965         Fixes <http://webkit.org/b/73590> check-webkit-style doesn't flag JSON syntax errors
23966
23967         Reviewed by Darin Adler.
23968
23969         * Scripts/webkitpy/style/checker.py:
23970         (_all_categories): Added JSONChecker's categories to the set of all categories.
23971         (FileType): Added a JSON type. Incremented other types.
23972         (CheckerDispatcher._file_type): Use the JSON file type for .json files.
23973         (CheckerDispatcher._create_checker): Use a JSONChecker for JSON files.
23974
23975         * Scripts/webkitpy/style/checker_unittest.py:
23976         (CheckerDispatcherDispatchTest.assert_checker_json): Added this helper method.
23977         (CheckerDispatcherDispatchTest.test_json_paths): Added. Based on test_python_paths.
23978
23979         * Scripts/webkitpy/style/checkers/jsonchecker.py: Added. (I didn't name this just "json",
23980         which would have matched our other checkers, because I couldn't figure out how to call
23981         "json.loads" without hitting namespace conflicts.)
23982         (JSONChecker.__init__): Turn of line filtering so that we always check the whole file, not
23983         just the modified lines from a patch.
23984         (JSONChecker.check): Try to parse the lines as JSON. Mark an error if there was an
23985         exception.
23986         (JSONChecker.line_number_from_json_exception): Parse the json modules exception message to
23987         try to extract a line number.
23988
23989         * Scripts/webkitpy/style/checkers/jsonchecker_unittest.py: Added.
23990         (MockErrorHandler.__init__):
23991         (MockErrorHandler.turn_off_line_filtering):
23992         (MockErrorHandler.__call__):
23993         Helper class. Copied from xml_unittest.py.
23994
23995         (JSONCheckerTest.test_line_number_from_json_exception): Test the
23996         line_number_from_json_exception helper method.
23997
23998         (JSONCheckerTest.assert_no_error):
23999         (JSONCheckerTest.assert_error):
24000         Helper methods to assert that we did or didn't get an error.
24001
24002         (JSONCheckerTest.mock_handle_style_error): Helper method.
24003
24004         (JSONCheckerTest.test_conflict_marker):
24005         (JSONCheckerTest.test_single_quote):
24006         (JSONCheckerTest.test_init):
24007         (JSONCheckerTest.test_missing_closing_brace):
24008         (JSONCheckerTest.test_no_error):
24009         Test various cases.
24010
24011 2011-12-01  Martin Robinson  <mrobinson@igalia.com>
24012
24013         [GTK] Add a helper function to find the current executable's path
24014         https://bugs.webkit.org/show_bug.cgi?id=73473
24015
24016         Reviewed by Gustavo Noronha Silva.
24017
24018         Update MiniBrowser to not pass the binary directory as an environment variable.
24019         This means that you can move the binaries around without it breaking.
24020
24021         * MiniBrowser/gtk/main.c:
24022         (main): No longer set the environment variable.
24023         * WebKitTestRunner/GNUmakefile.am: No longer add the directory path define.
24024         * WebKitTestRunner/gtk/main.cpp:  Ditto.
24025
24026 2011-12-01  Gustavo Noronha Silva  <gns@gnome.org>
24027
24028         Unreviewed. Fix bad file =(.
24029
24030         * gtk/jhbuild.modules:
24031         * Scripts/webkitdirs.pm:
24032         (runAutogenForAutotoolsProject):
24033
24034 2011-12-01  Gustavo Noronha Silva  <gns@gnome.org>
24035
24036         [GTK] Add freetype to our jhbuild setup
24037         https://bugs.webkit.org/show_bug.cgi?id=73488
24038
24039         Reviewed by Martin Robinson.
24040
24041         This adds the first library to our jhbuild setup, and makes sure
24042         build-webkit calls autogen.sh and make with jhbuild, so that the
24043         environment is properly set.
24044
24045         * Scripts/webkitdirs.pm:
24046         (saveSum):
24047         (hashFile):
24048         (runAutogenForAutotoolsProject): save md5sum of jhbuild-related files, and
24049         call autogen under jhbuild run;
24050         (mustRunAutogen): generalized the arguments change checking to also force
24051         running autogen when jhbuild files change;
24052         (buildAutotoolsProject): run make under jhbuild;
24053         * gtk/jhbuild.modules: add freetype.
24054
24055 2011-12-01  Dominic Mazzoni  <dmazzoni@google.com>
24056
24057         Fix WebKitTestRunner compile warnings with XCode 3.2
24058         https://bugs.webkit.org/show_bug.cgi?id=73378
24059
24060         Reviewed by Chris Fleizach.
24061
24062         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp:
24063         (WTR::AccessibilityTextMarker::AccessibilityTextMarker):
24064         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp:
24065         (WTR::AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
24066         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
24067         (WTR::AccessibilityUIElement::AccessibilityUIElement):
24068         (WTR::AccessibilityUIElement::verticalScrollbar):
24069
24070 2011-12-01  Adam Roben  <aroben@apple.com>
24071
24072         Allow committers to use their Trac credentials to force builds on the buildbots
24073
24074         Fixes <http://webkit.org/b/73353>
24075
24076         A new class, CommitterAuth, handles authentication of WebKit committers. CommitterAuth uses
24077         three files to do its job: a config file that contains a list of WebKit committer usernames,
24078         an htdigest file that contains Trac credentials, and JSON file that gives the paths for
24079         those two files.
24080
24081         Reviewed by Darin Adler.
24082
24083         * BuildSlaveSupport/build.webkit.org-config/committer_auth.py: Added.
24084         (Error): Basic wrapper around Exception that we use for cases where we couldn't even check
24085         whether credentials were valid or not.
24086         (CommitterAuth.__init__): Just store the path to auth.json.
24087         (CommitterAuth.auth_json): Load, parse, and return auth.json.
24088         (CommitterAuth.auth_json_filename): Return the path to auth.json.
24089         (CommitterAuth.authenticate): Return true if the user is a WebKit committer and their
24090         credentials are valid Trac credentials. Return false otherwise or if an error occurred while
24091         checking those conditions.
24092         (CommitterAuth.is_webkit_committer): Return true if the user is a WebKit committer. Return
24093         false otherwise or if an exception was thrown.
24094         (CommitterAuth.is_webkit_trac_user): Return true if the username/password are present in the
24095         Trac credentials htdigest file. Return false otherwise or if an exception was thrown.
24096
24097         (CommitterAuth.open_auth_json_file):
24098         (CommitterAuth.open_trac_credentials_file):
24099         (CommitterAuth.open_webkit_committers_file):
24100         Open the specified file. These are mostly useful for testing purposes.
24101
24102         (CommitterAuth.trac_credentials_filename):
24103         (CommitterAuth.webkit_committers_filename):
24104         Return the path to the specified file by retrieving it from auth.json.
24105
24106         (CommitterAuth.webkit_committers): Load and parse the committers file and extract the list
24107         of WebKit committers from it.
24108
24109         * BuildSlaveSupport/build.webkit.org-config/committer_auth_unittest.py: Added.
24110         (CMStringIO.__enter__):
24111         (CMStringIO.__exit__):
24112         Helper class that makes it possible to use StringIO with the "with" statement.
24113
24114         (open_override): Helper context manager for overriding the global "open" function
24115         temporarily.
24116
24117         (CommitterAuthTest.setUp): Set up a somewhat-mocked CommitterAuth that is used by most
24118         tests.
24119         (CommitterAuthTest.fake_open_function): Returns a function that can be used in place of
24120         "open" to test that the expected path was opened.
24121         (CommitterAuthTest.test_authentication_success): Test that committers can authenticate
24122         successfully.
24123         (CommitterAuthTest.test_committer_without_trac_credentials_fails): Test that committers who
24124         somehow have no Trac account can't authenticate.
24125
24126         (CommitterAuthTest.test_fail_to_open_auth_json_file):
24127         (CommitterAuthTest.test_fail_to_open_trac_credentials_file):
24128         (CommitterAuthTest.test_fail_to_open_webkit_committers_file):
24129         Test what happens when we can't open the three files we depend upon.
24130
24131         (CommitterAuthTest.test_implements_IAuth): Test that we fulfill buildbot's expectations for
24132         an authentication class.
24133
24134         (CommitterAuthTest.test_invalid_auth_json_file):
24135         (CommitterAuthTest.test_invalid_committers_file):
24136         (CommitterAuthTest.test_invalid_trac_credentials_file):
24137         (CommitterAuthTest.test_missing_auth_json_keys):
24138         Test what happens when the three files we depend upon are invalid in some way.
24139
24140         (CommitterAuthTest.test_open_auth_json_file):
24141         (CommitterAuthTest.test_open_trac_credentials_file):
24142         (CommitterAuthTest.test_open_webkit_committers_file):
24143         Test that we open the expected paths.
24144
24145         (CommitterAuthTest.test_trac_credentials_filename):
24146         (CommitterAuthTest.test_webkit_committers_filename):
24147         Test that we extract filenames out of auth.json correctly.
24148
24149         (CommitterAuthTest.test_non_committer_fails):
24150         (CommitterAuthTest.test_unknown_user_fails):
24151         (CommitterAuthTest.test_username_is_prefix_of_valid_user):
24152         (CommitterAuthTest.test_wrong_password_fails):
24153         Test various failed authentication attempts.
24154
24155         (CommitterAuthTest.test_webkit_committers): Test that we can parse the list of WebKit
24156         committers out of the committers file correctly.
24157
24158         (CommitterAuthTest.fake_auth_json_file):
24159         (CommitterAuthTest.invalid_auth_json_file):
24160         (CommitterAuthTest.fake_committers_file):
24161         (CommitterAuthTest.invalid_committers_file):
24162         (CommitterAuthTest.fake_htdigest_file):
24163         (CommitterAuthTest.invalid_htdigest_file):
24164         Return various fake files for testing.
24165
24166         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Specify an instance of CommitterAuth
24167         to be used for authentication in the web interface, and specify that only authenticated
24168         users may force builds.
24169
24170 2011-12-01  Adam Roben  <aroben@apple.com>
24171
24172         Add an HTDigestParser class to webkitpy
24173
24174         Fixes <http://webkit.org/b/73575> webkitpy doesn't provide a way to parse htdigest files
24175
24176         This class can be used to parse Apache's htdigest files and check whether a given
24177         username/realm/password tuple is present in the file. Eventually this will be used for
24178         authenticating users on build.webkit.org (<http://webkit.org/b/73353>).
24179
24180         Reviewed by Eric Seidel.
24181
24182         * Scripts/webkitpy/common/net/htdigestparser.py: Added.
24183         (HTDigestParser.__init__): Stores the parsed representation of the file.
24184         (HTDigestParser.authenticate): Hashes the username/realm/password tuple to generate a hashed
24185         password and returns whether the resulting tuple is present in the file.
24186         (HTDigestParser.entries): Just returns the parsed representation of the file.
24187         (HTDigestParser.parse_file): Splits each line on colons and checks that each line has the
24188         expected syntax ('username:realm:hashed_password'). If any line is invalid, we treat the
24189         whole file as invalid and all authentication attempts will fail.
24190
24191         * Scripts/webkitpy/common/net/htdigestparser_unittest.py: Added.
24192         (HTDigestParserTest.assertEntriesEqual): Helper method to assert that fake_htdigest_file,
24193         optionally appended with some extra data, generates the expected entries.
24194         (HTDigestParserTest.test_authenticate): Tests that tuples present in the file can
24195         authenticate, and tuples not present cannot.
24196         (HTDigestParserTest.test_entries): Tests that we get the expected entries from
24197         fake_htdigest_file.
24198
24199         (HTDigestParserTest.test_empty_file):
24200         (HTDigestParserTest.test_too_few_colons):
24201         (HTDigestParserTest.test_too_many_colons):
24202         (HTDigestParserTest.test_invalid_hash):
24203         Test various forms of invalid files.
24204
24205         (HTDigestParserTest.fake_htdigest_file): Returns a fake valid htdigest file for testing.
24206
24207 2011-12-01  Philippe Normand  <pnormand@igalia.com>
24208
24209         [GTK] Make the new 64-bit Release bot part of the core set
24210         https://bugs.webkit.org/show_bug.cgi?id=73570
24211
24212         Reviewed by Adam Roben.
24213
24214         The 64-bit Release bot re-introduced in r101676 replaces the 64-bit
24215         Debug bot which was already part of the core set. The GTK
24216         gardeners are willing to actively maintain it.
24217
24218         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
24219         (BuildBot.__init__):
24220         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
24221         (test_builder_name_regexps):
24222
24223 2011-12-01  Philippe Normand  <pnormand@igalia.com>
24224
24225         [GTK] Buildslave switch from 32-bit Debug to 64-bit Release
24226         https://bugs.webkit.org/show_bug.cgi?id=73547
24227
24228         Reviewed by Adam Roben.
24229
24230         * BuildSlaveSupport/build.webkit.org-config/config.json: Rename
24231         the 32-bit Debug configuration to 64-bit Release. The new slave is
24232         a 64-bit machine already. The 32-bit slave will be shut down.
24233
24234 2011-12-01  Martin Robinson  <mrobinson@igalia.com>
24235
24236         [GTK] build-jsc should not trigger gtkdoc generation
24237         https://bugs.webkit.org/show_bug.cgi?id=73552
24238
24239         Reviewed by Philippe Normand.
24240
24241         Do not generate gtkdoc when building projects other than WebKit. In particular, this ensures
24242         that build-jsc does not try to generate gtkdoc.
24243
24244         * Scripts/webkitdirs.pm:
24245         (buildAutotoolsProject): Only generate gtkdoc if the project is "WebKit".
24246
24247 2011-12-01  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
24248
24249         tests_run0.txt gets clobbered when re-running failing tests
24250         https://bugs.webkit.org/show_bug.cgi?id=63844
24251
24252         Reviewed by Dirk Pranke.
24253
24254         * Scripts/webkitpy/layout_tests/controllers/manager.py:
24255         (Manager.results_directory):
24256         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
24257         (AbstractWorker.__init__):
24258         (_ManagerConnection.start_worker):
24259         (_InlineManager.start_worker):
24260         (_MultiProcessManager.start_worker):
24261         (_WorkerConnection.__init__):
24262         (_InlineWorkerConnection.__init__):
24263         (_MultiProcessWorkerConnection.__init__):
24264         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
24265         (_TestWorker.__init__):
24266         (_TestsMixin.test_cancel):
24267         (_TestsMixin.test_done):
24268         (_TestsMixin.test_unknown_message):
24269         (InterfaceTest.test_managerconnection_is_abstract):
24270         (InterfaceTest.test_workerconnection_is_abstract):
24271         * Scripts/webkitpy/layout_tests/controllers/worker.py:
24272         (Worker.__init__):
24273         (Worker.safe_init):
24274         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
24275         (MainTest.test_retries_directory):
24276
24277 2011-12-01  Adam Roben  <aroben@apple.com>
24278
24279         Buildbot fix
24280
24281         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Moved all of the initialization of
24282         BuildmasterConfig not performed by loadBuilderConfig up to the top of the file. This makes
24283         it possible for build steps to reference things like the buildbotURL property of the config.
24284
24285 2011-11-30  Adam Roben  <aroben@apple.com>
24286
24287         Use curl for downloading builds to test slaves
24288
24289         Buildbot's built-in file transfer capabilities are transferring files much more slowly than
24290         curl does. This seems to be due to a combination of buildbot being single-threaded (and thus
24291         often busy servicing web requests, etc.) and using an IPC mechanism with fairly high
24292         overhead (courtesy of the Twisted framework).
24293
24294         Eventually we'd like to make Buildbot's built-in transferring more efficient. In the
24295         meantime we'll try using curl for downloads and keep thinking about a solution for uploads.
24296         This should make the test slaves quite a bit faster, and should ease the CPU load on
24297         build.webkit.org a bit.
24298
24299         Part of <http://webkit.org/b/73484> Mac slaves take 7+ minutes to upload or download a build
24300
24301         Reviewed by Mark Rowe.
24302
24303         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added the CreateWebKitBuildDirectory
24304         to Test slaves. It's run just before DownloadBuiltProduct.
24305         (DownloadBuiltProduct): Changed to be a normal ShellCommand that invokes curl to perform the
24306         download.
24307         (CreateWebKitBuildDirectory): Added. Creates the WebKitBuild directory on a slave.
24308         FileDownload used to do this for us automatically.
24309
24310 2011-11-21  Philippe Normand  <pnormand@igalia.com>
24311
24312         [GTK] enable-webaudio websetting
24313         https://bugs.webkit.org/show_bug.cgi?id=69836
24314
24315         Reviewed by Martin Robinson.
24316
24317         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
24318         (LayoutTestController::overridePreference): Update WebKitGTK
24319         enable-webaudio setting when a layout test requests it.
24320
24321 2011-11-30  Ilya Tikhonovsky  <loislo@chromium.org>
24322
24323         Web Inspector: chromium: I'd like to add a script for running perf tests for WebInspector.
24324         https://bugs.webkit.org/show_bug.cgi?id=73079
24325
24326         The idea is to have performance tests for WebInspector.
24327         I was suggested to put these tests into PerformanceTests/inspector.
24328         They produce output in a format that is suitable for chromium perf bot drawing scripts.
24329
24330         I'd like to reuse code for scanning folders for test files.
24331         Because of the fact that original test_files.py has common and layout specific parts
24332         I decided to extract the generic part and put it into webkitpy/common
24333         I think the two packages with name test_files look strange but I have no idea about a better name.
24334
24335         Reviewed by Dirk Pranke.
24336
24337         * Scripts/run-inspector-perf-tests.py: Added.
24338         * Scripts/webkitpy/common/find_files.py: Renamed from Tools/Scripts/webkitpy/layout_tests/port/test_files.py.
24339         (find):
24340         (_normalize):
24341         * Scripts/webkitpy/common/find_files_unittest.py: Added.
24342         (MockWinFileSystem.join):
24343         (MockWinFileSystem):
24344         (MockWinFileSystem.normpath):
24345         (TestWinNormalize.assert_filesystem_normalizes):
24346         (TestWinNormalize.test_mocked_win):
24347         (TestWinNormalize):
24348         (TestWinNormalize.test_win):
24349         * Scripts/webkitpy/layout_tests/port/base.py:
24350         (Port.tests):
24351         (Port.find_test_files):
24352         (Port._driver_class):
24353         (is_reference_html_file):
24354         (_has_supported_extension):
24355         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
24356         (PortTest.test_find_no_paths_specified):
24357         (PortTest.test_find_one_test):
24358         (PortTest.test_find_glob):
24359         (PortTest.test_find_with_skipped_directories):
24360         (PortTest.test_find_with_skipped_directories_2):
24361         (PortTest):
24362         (PortTest.test_is_test_file):
24363         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
24364         (_tests):
24365         * Scripts/webkitpy/layout_tests/port/test.py:
24366         * Scripts/webkitpy/layout_tests/port/test_files_unittest.py: Removed.
24367         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
24368         * Scripts/webkitpy/performance_tests/__init__.py: Added.
24369         * Scripts/webkitpy/performance_tests/perftestsrunner.py: Added.
24370         (PerfTestsRunner.__init__):
24371         (PerfTestsRunner._parse_args):
24372         (PerfTestsRunner._collect_tests._is_test_file):
24373         (PerfTestsRunner._collect_tests):
24374         (PerfTestsRunner.run):
24375         (PerfTestsRunner._run_tests_set):
24376         * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py: Added.
24377         (MainTest.TestPort):
24378         (MainTest.TestPort.create_driver):
24379         (MainTest.TestDriver.run_test):
24380         (MainTest.TestDriver):
24381         (MainTest.TestDriver.stop):
24382         (MainTest.create_runner):
24383         (MainTest.run_test):
24384         (MainTest.test_run_passing_test):
24385         (MainTest.test_run_silent_test):
24386         (MainTest.test_run_failed_test):
24387         (MainTest.test_run_tonguey_test):
24388         (MainTest.test_run_timeout_test):
24389         (MainTest.test_run_crash_test):
24390         (MainTest.test_run_test_set):
24391         (MainTest.test_collect_tests):
24392         (MainTest):
24393         (MainTest.test_parse_args):
24394         * Scripts/webkitpy/tool/commands/rebaseline.py:
24395         (OptimizeBaselines.execute):
24396         (AnalyzeBaselines.execute):
24397
24398 2011-11-30  nduca@chromium.org  <nduca@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
24399
24400         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
24401         https://bugs.webkit.org/show_bug.cgi?id=70838
24402
24403         Reviewed by James Robinson.
24404
24405         * DumpRenderTree/chromium/TestShell.cpp:
24406         (TestShell::resetWebSettings):
24407         * DumpRenderTree/chromium/TestShell.h:
24408         (TestShell::threadedCompositingEnabled):
24409         * DumpRenderTree/chromium/WebPreferences.cpp:
24410         (WebPreferences::reset):
24411         (WebPreferences::applyTo):
24412         * DumpRenderTree/chromium/WebPreferences.h:
24413         * DumpRenderTree/chromium/WebViewHost.cpp:
24414         (WebViewHost::WebViewHost):
24415         (WebViewHost::~WebViewHost):
24416
24417 2011-11-30  Chris Fleizach  <cfleizach@apple.com>
24418
24419         AX: Nodes are reporting that focus can be set when they really can't
24420         https://bugs.webkit.org/show_bug.cgi?id=72791
24421
24422         Reviewed by Beth Dakin.
24423
24424         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
24425         (AccessibilityUIElement::isFocusable):
24426         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
24427         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
24428         (WTR::AccessibilityUIElement::isFocusable):
24429
24430 2011-11-30  Alejandro G. Castro  <alex@igalia.com>
24431
24432         Moved myself to the reviewers list.
24433
24434         * Scripts/webkitpy/common/config/committers.py:
24435
24436 2011-11-30  David Levin  <levin@chromium.org>
24437
24438         [chromium] Move didUpdateLayout from WebFrameClient to WebViewClient.
24439         https://bugs.webkit.org/show_bug.cgi?id=73415
24440
24441         Reviewed by Darin Fisher.
24442
24443         * DumpRenderTree/chromium/WebViewHost.cpp:
24444         (WebViewHost::didUpdateLayout): Move didUpdateLayout to account for
24445         it being moved to a new interface and having the parameter removed.
24446         * DumpRenderTree/chromium/WebViewHost.h: Ditto.
24447
24448 2011-11-30  Adam Roben  <aroben@apple.com>
24449
24450         Make NRWT show DRT/WTR build logs when the build fails or --verbose is passed
24451
24452         This will make it a lot easier to investigate build failures on the bots.
24453
24454         Fixes <http://webkit.org/b/71160> NRWT doesn't show build output when building DRT
24455
24456         Reviewed by Eric Seidel.
24457
24458         * Scripts/webkitpy/common/system/executive_mock.py:
24459         (MockExecutive.run_command): Include the mock output in the ScriptError we raise since it
24460         makes the expected output in WebKitPortTest.test_build_driver more closely mimic the output
24461         seen in practice.
24462
24463         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
24464         (ManagerTest.test_http_locking): Pass False for the configure_logging parameter to Printer.
24465         The Printer was modifying the root logger in way that would cause my new tests in
24466         WebKitPort.test_build_driver to fail. The value of the configure_logging parameter doesn't
24467         seem important to the functioning of this test, and passing False makes Printer not modify
24468         the root logger.
24469
24470         * Scripts/webkitpy/layout_tests/port/webkit.py:
24471         (WebKitPort._run_script): Log the output of the command at the DEBUG level so it will show
24472         up when --verbose is passed but not otherwise.
24473         (WebKitPort._build_driver): When an error occurs, log the error message and the script's
24474         output at the ERROR level so it will always show up.
24475
24476         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
24477         (WebKitPortTest.test_build_driver): Test that nothing is logged in the normal, successful
24478         cases. Test that the build scripts' output is logged when --verbose is passed or the build
24479         fails.
24480
24481 2011-11-30  Adam Roben  <aroben@apple.com>
24482
24483         Add a way to set OutputCapture's log level
24484
24485         This will be used by some unit tests I'm planning to add.
24486
24487         Fixes <http://webkit.org/b/73469> OutputCapture can't be used to capture DEBUG messages
24488
24489         Reviewed by Eric Seidel.
24490
24491         * Scripts/webkitpy/common/system/outputcapture.py:
24492         (OutputCapture.__init__): Initialize our internal logging level to INFO, which was the only
24493         level we ever used before this patch.
24494         (OutputCapture.set_log_level): Added. This is useful for testing what log level code that is
24495         being tested uses. Sets the log level for any current or future logging handlers.
24496         (OutputCapture.capture_output): Use our internal logging level instead of always using INFO.
24497
24498         * Scripts/webkitpy/common/system/outputcapture_unittest.py: Added.
24499         (OutputCaptureTest.setUp): Create an OutputCapture to test.
24500         (OutputCaptureTest.log_all_levels): Helper method to log a message at each log level.
24501         (OutputCaptureTest.assertLogged): Helper method to assert that a particular set of strings
24502         was logged.
24503         (OutputCaptureTest.test_initial_log_level): Test that we start out at the INFO level.
24504         (OutputCaptureTest.test_set_log_level): Test that set_log_level correctly modifies the log
24505         level.
24506
24507 2011-11-29  Beth Dakin  <bdakin@apple.com>
24508
24509         https://bugs.webkit.org/show_bug.cgi?id=72751
24510         WebKit2.MouseMoveAfterCrash API test is failing 
24511
24512         Reviewed by Sam Weinig.
24513
24514         Like DumpRenderTree, the NSWindow should act as an active window.
24515         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
24516         (-[ActiveOffscreenWindow isKeyWindow]):
24517         (TestWebKitAPI::PlatformWebView::PlatformWebView):
24518
24519 2011-11-30  Gustavo Noronha Silva  <gns@gnome.org>
24520
24521         Add step to update gtk dependencies to the buildbot
24522         https://bugs.webkit.org/show_bug.cgi?id=73455
24523
24524         Reviewed by Martin Robinson.
24525
24526         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
24527
24528 2011-11-30  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
24529
24530         [Qt] Add a fullscreen option to MiniBrowser.
24531         https://bugs.webkit.org/show_bug.cgi?id=73445
24532
24533         Reviewed by Noam Rosenthal.
24534
24535         This bypasses the compositor on the N9 to increase performances
24536         and remove the huge useless gray bar part of the window frame
24537         at the bottom.
24538
24539         * MiniBrowser/qt/BrowserWindow.cpp:
24540         (BrowserWindow::BrowserWindow):
24541         * MiniBrowser/qt/MiniBrowserApplication.cpp:
24542         (printHelp):
24543         (MiniBrowserApplication::handleUserOptions):
24544         * MiniBrowser/qt/MiniBrowserApplication.h:
24545         (WindowOptions::setStartFullScreen):
24546         (WindowOptions::startFullScreen):
24547
24548 2011-11-30  Martin Robinson  <mrobinson@igalia.com>
24549
24550         [GTK] Add an initial jhbuild setup which installs fonts into the WebKitBuild
24551         https://bugs.webkit.org/show_bug.cgi?id=73425
24552
24553         Reviewed by Gustavo Noronha Silva.
24554
24555         Add initial jhbuild support to the GTK+ port. update-webkitgtk-libs will
24556         ensure that the jhbuild root is up-to-date. Currently the only module is
24557         the font module.
24558
24559         * Scripts/update-webkitgtk-libs: Added.
24560         * gtk/common.py: Added a helper to get the number of CPUs.
24561         * gtk/jhbuild.modules: Added.
24562         * gtk/jhbuildrc: Added.
24563
24564 2011-11-30  Simon Hausmann  <simon.hausmann@nokia.com>
24565
24566         [Qt] Remove dependency of Qt DRT on JavaScriptCore.
24567
24568         Reviewed by Csaba Osztrogonác.
24569
24570         * DumpRenderTree/WorkQueue.cpp: Include the correct header file we're using anyway,
24571         instead of one that pulls in JavaScriptCore headers.
24572         * DumpRenderTree/qt/DumpRenderTree.pro: There's no need to pull in the JSC headers
24573         with load(javascriptcore).
24574
24575 2011-11-30  Sheriff Bot  <webkit.review.bot@gmail.com>
24576
24577         Unreviewed, rolling out r101440 and r101442.
24578         http://trac.webkit.org/changeset/101440
24579         http://trac.webkit.org/changeset/101442
24580         https://bugs.webkit.org/show_bug.cgi?id=73429
24581
24582         multiple crashes on layout tests (Requested by hayato on
24583         #webkit).
24584
24585         * DumpRenderTree/chromium/TestShell.cpp:
24586         (TestShell::resetWebSettings):
24587         * DumpRenderTree/chromium/TestShell.h:
24588         * DumpRenderTree/chromium/WebPreferences.cpp:
24589         (WebPreferences::reset):
24590         (WebPreferences::applyTo):
24591         * DumpRenderTree/chromium/WebPreferences.h:
24592         * DumpRenderTree/chromium/WebViewHost.cpp:
24593         (WebViewHost::WebViewHost):
24594         (WebViewHost::~WebViewHost):
24595
24596 2011-11-30  Fady Samuel  <fsamuel@chromium.org>
24597
24598         [Chromium] Fix broken DRT build for Aura Linux
24599         https://bugs.webkit.org/show_bug.cgi?id=72667
24600
24601         Reviewed by Tony Chang.
24602
24603         DRT now builds for Aura Linux. This, more or less, shares the same code as Android.
24604
24605         The following changes have been made:
24606
24607           1. Renamed TestShellAndroid to TestShellLinux.
24608           2. Stub code moved added in TestShellStub that will only compile on non-GTK Linux builds.
24609           3. Code common to Gtk, Aura, and Android moved to TestShellLinux.
24610
24611         * DumpRenderTree/DumpRenderTree.gypi:
24612         * DumpRenderTree/chromium/EventSender.cpp:
24613         (EventSender::keyDown):
24614         * DumpRenderTree/chromium/TestShellAndroid.cpp: Removed.
24615         * DumpRenderTree/chromium/TestShellGtk.cpp:
24616         * DumpRenderTree/chromium/TestShellLinux.cpp: Copied from Tools/DumpRenderTree/chromium/TestShellGtk.cpp.
24617         (AlarmHandler):
24618         (TestShell::waitTestFinished):
24619         (setupFontconfig):
24620         (platformInit):
24621         * DumpRenderTree/chromium/TestShellStub.cpp: Added.
24622         (checkLayoutTestSystemDependencies):
24623         (openStartupDialog):
24624
24625 2011-11-30  Fady Samuel  <fsamuel@chromium.org>
24626
24627         [Chromium] Set Result Before Early Exit for Fixed Layout Methods in LayoutTestController
24628         https://bugs.webkit.org/show_bug.cgi?id=73328
24629
24630         Reviewed by Kent Tamura.
24631
24632         * DumpRenderTree/chromium/LayoutTestController.cpp:
24633         (LayoutTestController::enableFixedLayoutMode):
24634         (LayoutTestController::setFixedLayoutSize):
24635
24636 2011-11-29  Hayato Ito  <hayato@chromium.org>
24637
24638         Skip writing the result of diff_image since non-chromium ports don't implement diff_image.
24639         https://bugs.webkit.org/show_bug.cgi?id=73381
24640
24641         Reviewed by Ryosuke Niwa.
24642
24643         This is a quick fix for the breakage of tests on non-chromium port.
24644         We should implement diff_image later on non-chromium ports.
24645
24646         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
24647         (write_test_result):
24648
24649 2011-11-29  Balazs Ankes  <Ankes.Balazs@stud.u-szeged.hu>
24650
24651         [NRWT] Fix --platform=qt-5.0 --new-baseline combo
24652         https://bugs.webkit.org/show_bug.cgi?id=72489
24653
24654         Reviewed by Eric Seidel.
24655
24656         Before the this fix always added "qt" option for the option list
24657         * Scripts/run-webkit-tests:
24658         * Scripts/webkitpy/layout_tests/port/qt.py:
24659
24660 2011-11-29  David Levin  <levin@chromium.org>
24661
24662         Add a way to revert a variable to its previous value after leaving a scope.
24663         https://bugs.webkit.org/show_bug.cgi?id=73371
24664
24665         Reviewed by Adam Barth.
24666
24667         * DumpRenderTree/ForwardingHeaders/wtf/TemporarilyChange.h: Added.
24668         * TestWebKitAPI/TestWebKitAPI.gypi: Added test file to the build.
24669         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
24670         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Ditto.
24671         * TestWebKitAPI/Tests/WTF/TemporarilyChange.cpp: Added.
24672         (TestWebKitAPI::TEST): Added a test for TemporarilyChange.
24673
24674 2011-11-28  Kentaro Hara  <haraken@chromium.org>
24675
24676         Implement [Supplemental] IDL and support it in run-bindings-tests
24677         https://bugs.webkit.org/show_bug.cgi?id=73162
24678
24679         Reviewed by Adam Barth.
24680
24681         run-bindings-tests supports the [Supplemental] IDL in the following way.
24682             (1) It creates a file |x| listing all IDL files.
24683             (2) It generates a supplemental dependency file |y| using resolve-supplemental.pl and |x|.
24684             (3) For each IDL file |z|, it runs generate-bindings.pl with |y|.
24685                 Then, generate-bindings.pl generates .h and .cpp files for the IDL file |z|,
24686                 including all attributes in IDL files that are supplementing the IDL file |z|.
24687
24688         * Scripts/run-bindings-tests:
24689         (generate_from_idl):
24690         (generate_supplemental_dependency):
24691         (detect_changes):
24692         (run_tests):
24693         (main):
24694
24695 2011-11-18  Nat Duca  <nduca@chromium.org>
24696
24697         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
24698         https://bugs.webkit.org/show_bug.cgi?id=70838
24699
24700         Reviewed by James Robinson.
24701
24702         * DumpRenderTree/chromium/TestShell.cpp:
24703         (TestShell::resetWebSettings):
24704         * DumpRenderTree/chromium/TestShell.h:
24705         (TestShell::threadedCompositingEnabled):
24706         * DumpRenderTree/chromium/WebPreferences.cpp:
24707         (WebPreferences::reset):
24708         (WebPreferences::applyTo):
24709         * DumpRenderTree/chromium/WebPreferences.h:
24710         * DumpRenderTree/chromium/WebViewHost.cpp:
24711         (WebViewHost::WebViewHost):
24712         (WebViewHost::~WebViewHost):
24713
24714 2011-11-29  Ojan Vafai  <ojan@chromium.org>
24715
24716         List of builders in the flakiness dashboard is out of date
24717         https://bugs.webkit.org/show_bug.cgi?id=73347
24718
24719         Reviewed by Adam Barth.
24720
24721         The chromium gpu bots no longer run layout tests, so kill that
24722         group entirely.
24723
24724         * TestResultServer/static-dashboards/builders.js:
24725         * TestResultServer/static-dashboards/dashboard_base.js:
24726
24727 2011-11-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
24728
24729         [Qt] Don't hard-code the list of WebKit2 generated sources
24730
24731         The generated sources are... wait for it... generated. So
24732         use the generator itself to figure out which sources we need
24733         to compile.
24734
24735         Reviewed by Simon Hausmann.
24736
24737         * qmake/mkspecs/features/default_post.prf:
24738
24739 2011-11-29  Martin Robinson  <mrobinson@igalia.com>
24740
24741         [GTK] Add a method to detect 'make dist' errors without running 'make dist'
24742         https://bugs.webkit.org/show_bug.cgi?id=73216
24743
24744         Reviewed by Philippe Normand.
24745
24746         Add a script that tries to sniff out 'make dist' problems without running
24747         'make dist.' 'make distcheck' takes a very long time to run and this should
24748         reduce the amount of times it needs to be run consecutively.
24749
24750         * gtk/common.py:
24751         (get_build_path.is_valid_build_directory): Guess the source directory
24752         by the existence of the GNUmakefile instead of the .libs directory. This
24753         allows one to run the script after running autogen.sh but before fully
24754         building.
24755         * gtk/find-make-dist-errors: Added.
24756
24757 2011-11-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
24758
24759         [Qt] Remove use of internal headers in the MiniBrowser
24760
24761         Reviewed by Simon Hausmann.
24762
24763         * MiniBrowser/qt/MiniBrowser.pro:
24764
24765 2011-11-29  Simon Hausmann  <simon.hausmann@nokia.com>
24766
24767         [Qt] Fix debug-shlib build without webkit2
24768
24769         Reviewed by Tor Arne Vestbø.
24770
24771         * qmake/mkspecs/features/qtwebkit.prf: Respect no_webkit2.
24772
24773 2011-11-28  Csaba Osztrogonác  <ossy@webkit.org>
24774
24775         [Qt][WK2] Unreviewed buildfix after r101307.
24776
24777         * qmake/mkspecs/features/webkit2.prf: Add missing includepath.
24778
24779 2011-11-29  Roland Steiner  <rolandsteiner@chromium.org>
24780
24781         <style scoped>: add ENABLE(STYLE_SCOPED) flag to WebKit
24782         https://bugs.webkit.org/show_bug.cgi?id=72848
24783
24784         Add option to build-webkit.
24785
24786         Reviewed by Dimitri Glazkov.
24787
24788         * Scripts/build-webkit:
24789
24790 2011-11-28  Ojan Vafai  <ojan@chromium.org>
24791
24792         gtest normalization in the test results server is sometimes wrong
24793         https://bugs.webkit.org/show_bug.cgi?id=73262
24794
24795         Reviewed by Tony Chang.
24796
24797         If a gtest has it's modified changed (e.g. add FLAKY_) then it will have two
24798         entries in the incremental JSON, one of the entries will have the correct data
24799         from the run and the other will have dummy no-data values. Make sure to
24800         always pick the one with real data.
24801
24802         * TestResultServer/model/jsonresults.py:
24803         (JsonResults._remove_gtest_modifiers):
24804         * TestResultServer/model/jsonresults_unittest.py:
24805         (JsonResultsTest.test_remove_gtest_modifiers):
24806
24807 2011-11-28  Ojan Vafai  <ojan@chromium.org>
24808
24809         Some of the results.json files have results/times entries at the directory level
24810         https://bugs.webkit.org/show_bug.cgi?id=73261
24811
24812         Reviewed by Tony Chang.
24813
24814         This is just a bug that got introduced in a temporary push of the results server.
24815         This patch repairs the broken files. After all the bots have cycled, we can simplify
24816         this code to just assert that results/times are not at the directory level.
24817
24818         Also, when catching exceptions, log the full stacktrace.
24819
24820         * TestResultServer/model/jsonresults.py:
24821         (_is_directory):
24822         (JsonResults._load_json):
24823         (JsonResults._merge_tests):
24824         (JsonResults.merge):
24825         * TestResultServer/model/jsonresults_unittest.py:
24826         (JsonResultsTest.test_merge_directory_hierarchy_extra_results_and_times):
24827
24828 2011-11-28  Tony Chang  <tony@chromium.org>
24829
24830         ews bots should pass --force to update-webkit-chromium
24831         https://bugs.webkit.org/show_bug.cgi?id=73230
24832
24833         Reviewed by Adam Barth.
24834
24835         This makes it less likely for gclient changes to break the bots (e.g.,
24836         if a DEPS repository moves or is switched to a branch).
24837
24838         Also pass --force when using |build-webkit --update-chromium| since this
24839         appears to only be used by the bots.
24840
24841         Take 2: Add Options.non_interactive to update.py's options() method.
24842
24843         * Scripts/update-webkit:
24844         * Scripts/webkitdirs.pm:
24845         (determineIsChromium): Add --force-update to update-webkit --chromium.
24846         (forceChromiumUpdate):
24847         (buildChromium): Pass --force to update-webkit-chromium.
24848         * Scripts/webkitpy/tool/steps/update.py:
24849         (Update.run): Add --force-update if non-interactive (i.e., bots).
24850         * Scripts/webkitpy/tool/steps/update_unittest.py:
24851
24852 2011-11-28  Tony Chang  <tony@chromium.org>
24853
24854         Revert r101279, broke the ews and cq bots.
24855
24856         * Scripts/update-webkit:
24857         * Scripts/webkitdirs.pm:
24858         (determineIsChromium):
24859         (buildChromium):
24860         * Scripts/webkitpy/common/config/ports.py:
24861         (WebKitPort.update_webkit_command):
24862         (ChromiumPort.update_webkit_command):
24863         * Scripts/webkitpy/common/config/ports_mock.py:
24864         (MockPort.update_webkit_command):
24865         * Scripts/webkitpy/tool/steps/update.py:
24866         * Scripts/webkitpy/tool/steps/update_unittest.py: Removed.
24867
24868 2011-11-28  Ojan Vafai  <ojan@chromium.org>
24869
24870         testlistjson on the test results server doesn't understand hierarchical results format
24871         https://bugs.webkit.org/show_bug.cgi?id=73246
24872
24873         Reviewed by Tony Chang.
24874
24875         * TestResultServer/model/jsonresults.py:
24876         (JsonResults._delete_results_and_times):
24877         Instead of just getting the top-level keys, we now walk the tests tree and
24878         delete the results and times values.
24879
24880         * TestResultServer/model/jsonresults_unittest.py:
24881         Simplify the test harness to take in the same JSON format for the tests
24882         that the actual results.json uses instead of something very similar but
24883         needlessly different. This also allows for testing the broken case of
24884         results and times values being at non-leaf level.
24885
24886 2011-11-28  Tony Chang  <tony@chromium.org>
24887
24888         ews bots should pass --force to update-webkit-chromium
24889         https://bugs.webkit.org/show_bug.cgi?id=73230
24890
24891         Reviewed by Adam Barth.
24892
24893         This makes it less likely for gclient changes to break the bots (e.g.,
24894         if a DEPS repository moves or is switched to a branch).
24895
24896         Also pass --force when using |build-webkit --update-chromium| since this
24897         appears to only be used by the bots.
24898
24899         * Scripts/update-webkit:
24900         * Scripts/webkitdirs.pm:
24901         (determineIsChromium): Add --force-update to update-webkit --chromium.
24902         (forceChromiumUpdate):
24903         (buildChromium): Pass --force to update-webkit-chromium.
24904         * Scripts/webkitpy/tool/steps/update.py:
24905         (Update.run): Add --force-update if non-interactive (i.e., bots).
24906         * Scripts/webkitpy/tool/steps/update_unittest.py:
24907
24908 2011-11-28  Michael Saboff  <msaboff@apple.com>
24909
24910         Fixed help message for --exclude-kraken to say that
24911         it excludes Kraken and not SunSpider.
24912
24913         Rubber-stamped by Filip Pizlo.
24914
24915         * Scripts/bencher:
24916
24917 2011-11-28  Sheriff Bot  <webkit.review.bot@gmail.com>
24918
24919         Unreviewed, rolling out r101273.
24920         http://trac.webkit.org/changeset/101273
24921         https://bugs.webkit.org/show_bug.cgi?id=73244
24922
24923         multiple test failures and timeouts (Requested by tony^work on
24924         #webkit).
24925
24926         * DumpRenderTree/DumpRenderTree.gypi:
24927         * DumpRenderTree/chromium/EventSender.cpp:
24928         (EventSender::keyDown):
24929         * DumpRenderTree/chromium/TestShellAndroid.cpp: Copied from Tools/DumpRenderTree/chromium/TestShellGtk.cpp.
24930         (AlarmHandler):
24931         (TestShell::waitTestFinished):
24932         (platformInit):
24933         (openStartupDialog):
24934         (checkLayoutTestSystemDependencies):
24935         * DumpRenderTree/chromium/TestShellGtk.cpp:
24936         (AlarmHandler):
24937         (setupFontconfig):
24938         (TestShell::waitTestFinished):
24939         (platformInit):
24940         * DumpRenderTree/chromium/TestShellLinux.cpp: Removed.
24941         * DumpRenderTree/chromium/TestShellStub.cpp: Removed.
24942
24943 2011-11-28  John Yani  <vanuan@gmail.com>
24944
24945         new-run-webkit-tests is locale dependent
24946         https://bugs.webkit.org/show_bug.cgi?id=68691
24947
24948         Reviewed and modified by Eric Seidel.
24949
24950         This is a simpler version of John's patch which I'm landing.
24951         This just engages the hacks from the Host constructor on a global
24952         basis.
24953
24954         * Scripts/webkitpy/common/host.py:
24955         (Host.__init__):
24956         (Host._engage_awesome_locale_hacks):
24957
24958 2011-11-28  Fady Samuel  <fsamuel@chromium.org>
24959
24960         [Chromium] Fix broken DRT build for Aura Linux
24961         https://bugs.webkit.org/show_bug.cgi?id=72667
24962
24963         Reviewed by Tony Chang.
24964
24965         DRT now builds for Aura Linux. This, more or less, shares the same code as Android.
24966
24967         The following changes have been made:
24968
24969           1. Renamed TestShellAndroid to TestShellLinux.
24970           2. Stub code moved added in TestShellStub that will only compile on non-GTK Linux builds.
24971           3. Code common to Gtk, Aura, and Android moved to TestShellLinux.
24972
24973         * DumpRenderTree/DumpRenderTree.gypi:
24974         * DumpRenderTree/chromium/EventSender.cpp:
24975         (EventSender::keyDown):
24976         * DumpRenderTree/chromium/TestShellAndroid.cpp: Removed.
24977         * DumpRenderTree/chromium/TestShellGtk.cpp:
24978         * DumpRenderTree/chromium/TestShellLinux.cpp: Copied from Tools/DumpRenderTree/chromium/TestShellGtk.cpp.
24979         (AlarmHandler):
24980         (TestShell::waitTestFinished):
24981         (setupFontconfig):
24982         (platformInit):
24983         * DumpRenderTree/chromium/TestShellStub.cpp: Added.
24984         (checkLayoutTestSystemDependencies):
24985         (openStartupDialog):
24986
24987 2011-11-28  Eric Seidel  <eric@webkit.org>
24988
24989         Add Environment object to Host and fix the GCC smartquotes trouble seen on the commit-queue
24990         https://bugs.webkit.org/show_bug.cgi?id=71983
24991
24992         Reviewed by Adam Barth.
24993
24994         We'll add more code to Environment overtime,
24995         allowing us to mock out more of our direct interactions with os.environ.
24996
24997         This patch also makes run_command print the passed in environment.
24998
24999         * Scripts/webkitpy/common/host_mock.py:
25000         * Scripts/webkitpy/common/system/environment.py: Copied from Tools/Scripts/webkitpy/tool/steps/build.py.
25001         * Scripts/webkitpy/common/system/environment_mock.py: Copied from Tools/Scripts/webkitpy/tool/steps/build.py.
25002         * Scripts/webkitpy/common/system/environment_unittest.py: Copied from Tools/Scripts/webkitpy/tool/steps/build.py.
25003         * Scripts/webkitpy/common/system/executive.py:
25004         * Scripts/webkitpy/common/system/executive_mock.py:
25005         * Scripts/webkitpy/layout_tests/port/webkit.py:
25006         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
25007         * Scripts/webkitpy/tool/commands/download_unittest.py:
25008         * Scripts/webkitpy/tool/steps/build.py:
25009
25010 2011-11-28  Simon Hausmann  <simon.hausmann@nokia.com>
25011
25012         [Qt] Build system fixes against V8.
25013
25014         Reviewed by Tor Arne Vestbø.
25015
25016         * qmake/mkspecs/features/webcore.prf: Get rid of old v8 cruft.
25017         * qmake/mkspecs/features/wtf.prf: If requested, pull in v8 from Qt and configure
25018         WTF accordingly to use v8. (WTF in the implementation needs it as well as users of WTF)
25019
25020 2011-11-28  Kenneth Rohde Christiansen  <kenneth@webkit.org>
25021
25022         Make sure the useFixedLayout feature is consistently handled
25023         https://bugs.webkit.org/show_bug.cgi?id=73212
25024
25025         Reviewed by Simon Hausmann.
25026
25027         The web page parameters are set to our Qt defaults and are now altered
25028         in the WebKitTestRunner.
25029
25030         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
25031         (WTR::WrapperWindow::WrapperWindow):
25032
25033 2011-11-28  Simon Hausmann  <simon.hausmann@nokia.com>
25034
25035         [Qt] WTF should be built as separate static library
25036         https://bugs.webkit.org/show_bug.cgi?id=73201
25037
25038         Reviewed by Tor Arne Vestbø.
25039
25040         * DumpRenderTree/qt/DumpRenderTree.pro: Require wtf.
25041         * MiniBrowser/qt/BrowserWindow.cpp: Remove unnecessary config.h inclusion and
25042         thus wtf dependency.
25043         * WebKitTestRunner/InjectedBundle/Target.pri: Require wtf.
25044         * WebKitTestRunner/Target.pri: Ditto.
25045         * qmake/mkspecs/features/default_post.prf: When re-ordering the static libs
25046         consider wtf, too.
25047         * qmake/mkspecs/features/javascriptcore.prf: Remove WTF specific build stuff,
25048         moved into wtf.prf.
25049         * qmake/mkspecs/features/qtwebkit.prf: For debug builds with shared libs, also
25050         link in libwtf.
25051         * qmake/mkspecs/features/wtf.prf: Added. Stuff needed for building and using WTF.
25052
25053 2011-11-28  Kentaro Hara  <haraken@chromium.org>
25054
25055         run-bindings-tests shows diff error for a newly added binding test
25056         https://bugs.webkit.org/show_bug.cgi?id=73179
25057
25058         Reviewed by Adam Barth.
25059
25060         Currently, when we add a new binding test, say bindings/scripts/test/TestSupplemental.idl,
25061         run-bindings-tests just shows diff error because reference files
25062         (i.e. {V8,JS,...}TestSupplemental.h and {V8,JS,...}TestSupplemental.cpp) do not yet exist:
25063
25064             FAIL: (V8) V8TestSupplemental.h
25065             diff: WebCore/bindings/scripts/test/V8/V8TestSupplemental.h: No such file or directory
25066
25067         Instead, this patch treats a non-existent reference file as an empty file and
25068         shows the result of the newly added binding test, like this:
25069
25070             FAIL: (V8) V8TestSupplemental.h
25071             --- WebCore/bindings/scripts/test/V8/V8TestSupplemental.h       1970-01-01 09:00:00.000000000 +0900
25072             +++ /tmp/tmpmX2i2F/V8TestSupplemental.h 2011-11-28 11:08:34.150707677 +0900
25073             @@ -0,0 +1,84 @@
25074             +/*
25075             +    This file is part of the WebKit open source project.
25076             +    This file has been generated by generate-bindings.pl. DO NOT MODIFY!
25077             +
25078             (omitted)
25079
25080         * Scripts/run-bindings-tests:
25081         (detect_changes): Just added an -N option to the diff command.
25082
25083 2011-11-28  Martin Robinson  <mrobinson@igalia.com>
25084
25085         [Gtk][gtkdoc] Syntax error in Tools/gtk/generate-gtkdoc
25086         https://bugs.webkit.org/show_bug.cgi?id=73165
25087
25088         Reviewed by Philippe Normand.
25089
25090         Fix some syntax errors in this script and remove an unused variable.
25091
25092         * gtk/generate-gtkdoc:
25093         (get_webkit2_options.src_path): 
25094         (get_webkit2_options):
25095         (get_webkit1_options.src_path):
25096
25097 2011-11-26  Kevin Ollivier  <kevino@theolliviers.com>
25098
25099         [wx] Unreviewed build fix. Enable the inspector.
25100         
25101         * waf/build/settings.py:
25102
25103 2011-11-26  Martin Robinson  <mrobinson@igalia.com>
25104
25105         Try to fix the build after r101174.
25106
25107         * gtk/generate-gtkdoc: Properly handle empty PKG_CONFIG_PATHs.
25108
25109 2011-11-17  Martin Robinson  <mrobinson@igalia.com>
25110
25111         [GTK] Integrate build-gtkdoc into build-webkit and make
25112         https://bugs.webkit.org/show_bug.cgi?id=72626
25113
25114         Reviewed by Philippe Normand.
25115
25116         * GNUmakefile.am: Added support for new scripts and "make docs".
25117         * Scripts/webkitdirs.pm: Call generate-gtkdoc when building.
25118         (buildAutotoolsProject):
25119         * gtk/generate-gtkdoc: Added.
25120         * gtk/gtkdoc.py: Renamed from Source/WebKit2/UIProcess/API/gtk/docs/gtkdoc.py.
25121
25122 2011-11-25  Ádám Kallai  <Kallai.Adam@stud.u-szeged.hu>
25123
25124         [Qt] Add support for using OWRT with Qt5
25125         https://bugs.webkit.org/show_bug.cgi?id=72947
25126
25127         Add qt-5.0 platform and don't pass -graphicssystem to QtTestBrowser if using Qt5.
25128
25129         Reviewed by Csaba Osztrogonác.
25130
25131         * Scripts/old-run-webkit-tests:
25132
25133 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
25134
25135         [Chromium] Web Inspector: get rid of WebDevToolsFrontendClient::sendFrontendLoaded method
25136         https://bugs.webkit.org/show_bug.cgi?id=73126
25137
25138         No need to have a separate client call for this. The front-end can store messages
25139         which arrive before front-end loaded and dispatch them later. This happens in layout
25140         tests only by the way as all other messages should be initiated by the front-end code.
25141
25142         Reviewed by Pavel Feldman.
25143
25144         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
25145         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
25146         * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
25147         * DumpRenderTree/chromium/DRTDevToolsClient.h:
25148
25149 2011-11-24  Kentaro Hara  <haraken@chromium.org>
25150
25151         Replace subprocess.call() with subprocess.Popen()
25152         https://bugs.webkit.org/show_bug.cgi?id=73105
25153
25154         Reviewed by Adam Barth.
25155
25156         Currently, the stdout and stderr of the child processes of run-bindings-tests
25157         are mixed (or even gone away) with the stdout and stderr of run-bindings-tests itself.
25158         This is the problem of subprocess.call(), which does not synchronize the stdout and stderr
25159         between a parent process and a child process. This patch replaces subprocess.call() with
25160         subprocess.Popen() and synchronizes the stdout and stderr between them.
25161         This patch also makes output messages of run-bindings-tests more readable.
25162
25163         With this patch, the output messages of run-bindings-tests look like as follows:
25164
25165             PASS: (CPP) WebDOMTestObj.h
25166             PASS: (CPP) WebDOMTestObj.cpp
25167             FAIL: (CPP) WebDOMTestInterface.h
25168             --- Source/WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.h      2011-11-25 13:34:09.313516268 +0900
25169             +++ /tmp/tmpDAV87G/WebDOMTestInterface.h        2011-11-25 13:44:42.712946812 +0900
25170             @@ -23,7 +23,7 @@
25171              #ifndef WebDOMTestInterface_h
25172              #define WebDOMTestInterface_h
25173
25174             -#if ENABLE(Condition1) || ENABLE(Condition2)
25175             +#if ENABLE(Condition1) || ENABLE(Condition3)
25176
25177              #include <WebDOMObject.h>
25178              #include <WebDOMString.h>
25179              @@ -53,5 +53,5 @@
25180              WebDOMTestInterface toWebKit(WebCore::TestInterface*);
25181
25182              #endif
25183             -#endif // ENABLE(Condition1) || ENABLE(Condition2)
25184             +#endif // ENABLE(Condition1) || ENABLE(Condition3)
25185             PASS: (CPP) WebDOMFloat64Array.cpp
25186             PASS: (CPP) WebDOMFloat64Array.h
25187
25188             Some tests FAIL! (To update the reference files, execute "run-bindings-tests --reset-results")
25189
25190         * Scripts/run-bindings-tests:
25191         (generate_from_idl):
25192         (detect_changes):
25193         (run_tests):
25194         (main):
25195
25196 2011-11-24  Kentaro Hara  <haraken@chromium.org>
25197
25198         Fix the current working directory of run-bindings-tests
25199         https://bugs.webkit.org/show_bug.cgi?id=73106
25200
25201         Reviewed by Adam Barth.
25202
25203         Currently, run-bindings-tests outputs the following error
25204         (although it outputs "all tests passed!" in the end):
25205
25206             Testing the ObjC generator on TestObj.idl
25207             gcc: WebCore/bindings/objc/PublicDOMInterfaces.h: No such file or directory
25208             gcc: warning: '-x objective-c' after last input file has no effect
25209             gcc: no input files
25210
25211         This is because CodeGeneratorObjC.pm assumes that the current working directory
25212         is WebKit/Source/, but run-bindings-tests sets the current working directory to WebKit/.
25213         Thus, this patch changes it to WebKit/Source/.
25214
25215         * Scripts/run-bindings-tests:
25216         (generate_from_idl):
25217         (main):
25218
25219 2011-11-24  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
25220
25221         [Qt] Get rid of the buildDirForSource() function in the build system
25222
25223         At some point the plan was to allow for running qmake on sub-trees
25224         of the sources, into the top level build directory, but this is no
25225         longer possible, so no reason to keep the convenience function around.
25226
25227         Reviewed by Simon Hausmann.
25228
25229         * WebKitTestRunner/DerivedSources.pri:
25230         * WebKitTestRunner/InjectedBundle/DerivedSources.pri:
25231         * qmake/mkspecs/features/default_post.prf:
25232         * qmake/mkspecs/features/default_pre.prf:
25233         * qmake/mkspecs/features/functions.prf:
25234         * qmake/mkspecs/features/javascriptcore.prf:
25235         * qmake/mkspecs/features/webcore.prf:
25236         * qmake/mkspecs/features/webkit2.prf:
25237
25238 2011-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
25239
25240         Unreviewed, rolling out r101107.
25241         http://trac.webkit.org/changeset/101107
25242         https://bugs.webkit.org/show_bug.cgi?id=73062
25243
25244         Breaks the commit-queue (Requested by abarth on #webkit).
25245
25246         * Scripts/webkitpy/common/host.py:
25247         (Host._engage_awesome_windows_hacks):
25248         * Scripts/webkitpy/common/host_mock.py:
25249         (MockHost.__init__):
25250         * Scripts/webkitpy/common/system/environment.py: Removed.
25251         * Scripts/webkitpy/common/system/environment_unittest.py: Removed.
25252         * Scripts/webkitpy/common/system/executive.py:
25253         (Executive._run_command_with_teed_output):
25254         (Executive.run_and_throw_if_fail):
25255         * Scripts/webkitpy/common/system/executive_mock.py:
25256         (MockExecutive.run_and_throw_if_fail):
25257         (MockExecutive.run_command):
25258         * Scripts/webkitpy/layout_tests/port/webkit.py:
25259         (WebKitPort._driver_build_script_name):
25260         (WebKitPort._run_script):
25261         (WebKitPort._build_driver):
25262         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
25263         (test_build_driver):
25264         * Scripts/webkitpy/tool/commands/download_unittest.py:
25265         * Scripts/webkitpy/tool/steps/build.py:
25266         (Build.build):
25267
25268 2011-11-23  Ojan Vafai  <ojan@chromium.org>
25269
25270         Unreviewed, rolling out r101110.
25271         http://trac.webkit.org/changeset/101110
25272         https://bugs.webkit.org/show_bug.cgi?id=73057
25273
25274         The bots have now cycled and this patch is no longer needed.
25275
25276         * Scripts/webkitpy/layout_tests/controllers/manager.py:
25277         (Manager._upload_json_files):
25278
25279 2011-11-23  Ojan Vafai  <ojan@chromium.org>
25280
25281         Temporarily save the incremental results json in order to identify bug
25282         https://bugs.webkit.org/show_bug.cgi?id=73057
25283
25284         Reviewed by Dean Jackson.
25285
25286         The test results server needed to be rolled back from tip of tree
25287         due to a JSON merging bug. It's hard to identify what the bug is without
25288         the raw data.
25289
25290         * Scripts/webkitpy/layout_tests/controllers/manager.py:
25291         (Manager._upload_json_files):
25292
25293 2011-11-23  Ojan Vafai  <ojan@chromium.org>
25294
25295         Merging two version 4 results hits an error in the test results server
25296         https://bugs.webkit.org/show_bug.cgi?id=73042
25297
25298         Reviewed by Adam Barth.
25299
25300         The old code assumed that if the aggregate results value was not a leaf
25301         value that the incremental results would exist, which is just totally
25302         wrong. Added a test for that case as well.
25303
25304         * TestResultServer/model/jsonresults.py:
25305         (JsonResults._merge_tests):
25306         * TestResultServer/model/jsonresults_unittest.py:
25307         (JsonResultsTest.test_merge_build_directory_hierarchy_old_version):
25308         (JsonResultsTest.test_merge_build_directory_hierarchy):
25309
25310 2011-11-23  Eric Seidel  <eric@webkit.org>
25311
25312         Add Environment object to Host and fix the GCC smartquotes trouble seen on the commit-queue
25313         https://bugs.webkit.org/show_bug.cgi?id=71983
25314
25315         Reviewed by Adam Barth.
25316
25317         We'll add more code to Environment overtime,
25318         allowing us to mock out more of our direct interactions with os.environ.
25319
25320         This patch also makes run_command print the passed in environment.
25321
25322         * Scripts/webkitpy/common/host_mock.py:
25323         * Scripts/webkitpy/common/system/environment.py: Copied from Tools/Scripts/webkitpy/tool/steps/build.py.
25324         * Scripts/webkitpy/common/system/environment_mock.py: Copied from Tools/Scripts/webkitpy/tool/steps/build.py.
25325         * Scripts/webkitpy/common/system/environment_unittest.py: Copied from Tools/Scripts/webkitpy/tool/steps/build.py.
25326         * Scripts/webkitpy/common/system/executive.py:
25327         * Scripts/webkitpy/common/system/executive_mock.py:
25328         * Scripts/webkitpy/layout_tests/port/webkit.py:
25329         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
25330         * Scripts/webkitpy/tool/commands/download_unittest.py:
25331         * Scripts/webkitpy/tool/steps/build.py:
25332
25333 2011-11-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
25334
25335         [Qt] Re-generate QtWebKit API forwarding headers when API changes
25336
25337         The forwarding headers are generated by syncqt, and syncqt is run by qmake,
25338         so we need sync.profile to live in the same directory as the project file
25339         that will be touched when adding/removing API (api.pri in our case).
25340
25341         Since the WebKit2 APIs live in a separate static library, we have to
25342         add the project file for WebKit2 as a dependency of the api.pri file
25343         as well, so that any changes to the WebKit2 API will still trigger a
25344         run of qmake (and then syncqt).
25345
25346         Lastly, we use the new QMAKE_SYNCQT_OUTDIR variable in Qt 5 to ensure
25347         that the forwarding headers are still generated in the root build dir,
25348         not in the Source dir along with the internal forwarding headers.
25349
25350         Reviewed by Andreas Kling.
25351
25352         * qmake/mkspecs/features/default_pre.prf:
25353         * qmake/mkspecs/features/functions.prf:
25354
25355 2011-11-23  Johnny Ding  <jnd@chromium.org>
25356
25357         Set right default value to baseURL in LayoutTestController::queueLoadHTMLString.
25358         https://bugs.webkit.org/show_bug.cgi?id=72950
25359
25360         Reviewed by Tony Chang.
25361
25362         * DumpRenderTree/chromium/LayoutTestController.cpp:
25363         (LayoutTestController::queueLoadHTMLString):
25364
25365 2011-11-23  Adam Barth  <abarth@webkit.org>
25366
25367         garden-o-matic should display a message if it can't find results to display
25368         https://bugs.webkit.org/show_bug.cgi?id=72991
25369
25370         Reviewed by Dimitri Glazkov.
25371
25372         Not all failures (e.g., TIMEOUT) have results that we can display.
25373         This patch adds a short message so that the user can see that we're
25374         done trying to load the results.
25375
25376         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
25377         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
25378         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
25379
25380 2011-11-23  Adam Barth  <abarth@webkit.org>
25381
25382         garden-o-matic should explain more clearly what the builder lists at the top of the page mean
25383         https://bugs.webkit.org/show_bug.cgi?id=72992
25384
25385         Reviewed by Dimitri Glazkov.
25386
25387         This patch also prepares us to list other sorts of failures, like
25388         performance and unit test.
25389
25390         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
25391         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
25392         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
25393         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
25394
25395 2011-11-23  Ryan Sleevi  <rsleevi@chromium.org>
25396
25397         Add new Chromium tests to the flakiness dashboard
25398         https://bugs.webkit.org/show_bug.cgi?id=72997
25399
25400         Reviewed by Ojan Vafai.
25401
25402         * TestResultServer/static-dashboards/dashboard_base.js:
25403         ():
25404
25405 2011-11-23  Adam Barth  <abarth@webkit.org>
25406
25407         garden-o-matic should support AUDIO failures
25408         https://bugs.webkit.org/show_bug.cgi?id=69477
25409
25410         Reviewed by Dimitri Glazkov.
25411
25412         This is a first iteration at supporting AUDIO failures in
25413         garden-o-matic.  We'll probably need to iterate a bit when we have a
25414         real audio failure in the tree to play with.  For example, we'll
25415         probably want to add and <audio> element to the "Examine" view to hear
25416         the differences, but that all can be done in a subsequent patch.
25417
25418         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
25419
25420 2011-11-23  Scott Graham  <scottmg@chromium.org>
25421
25422         Adding gamepad support
25423         https://bugs.webkit.org/show_bug.cgi?id=69451
25424
25425         Reviewed by Darin Fisher.
25426
25427         Add a 'gamepadController' to Chromium DRT. Allows for setting of mock
25428         gamepad data that will be retrieved when JS code pulls via API access.
25429
25430         * DumpRenderTree/DumpRenderTree.gypi:
25431         * DumpRenderTree/chromium/GamepadController.cpp: Added.
25432         (GamepadController::GamepadController):
25433         (GamepadController::bindToJavascript):
25434         (GamepadController::reset):
25435         (GamepadController::connect):
25436         (GamepadController::disconnect):
25437         (GamepadController::setId):
25438         (GamepadController::setButtonCount):
25439         (GamepadController::setButtonData):
25440         (GamepadController::setAxisCount):
25441         (GamepadController::setAxisData):
25442         (GamepadController::fallbackCallback):
25443         * DumpRenderTree/chromium/GamepadController.h: Added.
25444         * DumpRenderTree/chromium/TestShell.cpp:
25445         (TestShell::TestShell):
25446         (TestShell::resetTestController):
25447         (TestShell::bindJSObjectsToWindow):
25448         * DumpRenderTree/chromium/TestShell.h:
25449         (TestShell::gamepadController):
25450
25451 2011-11-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
25452
25453         [CMake] Move the top-level logic to the top-level directory.
25454         https://bugs.webkit.org/show_bug.cgi?id=72685
25455
25456         Reviewed by Brent Fulgham.
25457
25458         * CMakeLists.txt: Added.
25459         * DumpRenderTree/efl/CMakeLists.txt: Keep building into Programs/.
25460         * EWebLauncher/CMakeLists.txt: Renamed from Tools/CMakeListsEfl.txt.
25461         * Scripts/webkitdirs.pm:
25462         (generateBuildSystemFromCMakeProject):
25463         * WinCELauncher/CMakeLists.txt: Renamed from Tools/CMakeListsWinCE.txt.
25464
25465 2011-11-17  Vincent Scheib  <scheib@chromium.org>
25466
25467         Pointer Lock: Initial Tests for navigator.webkitPonter
25468         https://bugs.webkit.org/show_bug.cgi?id=72659
25469
25470         Reviewed by Darin Fisher.
25471
25472         * DumpRenderTree/chromium/TestShell.cpp:
25473         (TestShell::TestShell):
25474             Enabling PointerLock in TestShell
25475
25476 2011-11-22  Ryan Sleevi  <rsleevi@chromium.org>
25477
25478         Update flakiness dashboard for new Chromium builders and tests
25479         https://bugs.webkit.org/show_bug.cgi?id=72931
25480
25481         Reviewed by Ojan Vafai.
25482
25483         * TestResultServer/static-dashboards/builders.js:
25484         * TestResultServer/static-dashboards/dashboard_base.js:
25485
25486 2011-11-22  Adam Roben  <aroben@apple.com>
25487
25488         Remove some debugging code I accidentally left in r101005
25489
25490         * Scripts/prepare-ChangeLog:
25491         (get_function_line_ranges_for_python):
25492
25493 2011-11-22  Adam Roben  <aroben@apple.com>
25494
25495         Teach prepare-ChangeLog how to find changed classes/methods/functions in Python files
25496
25497         Fixes <http://webkit.org/b/57008> prepare-ChangeLog doesn't find names of modified
25498         classes/methods in Python source files
25499
25500         Reviewed by Dan Bates.
25501
25502         * Scripts/prepare-ChangeLog:
25503         (get_function_line_ranges): Call get_function_line_ranges_for_python for files ending in .py
25504         or that use python as their interpreter. Modified the code that extracts the interpreter to
25505         ignore a leading "/usr/bin/env " in the interpreter line, as is common for our Python
25506         scripts.
25507         (get_function_line_ranges_for_python): Added. Does simple parsing of Python files to look
25508         for class/def lines and generate ranges based on them.
25509
25510 2011-11-21  Yuta Kitamura  <yutak@chromium.org>
25511
25512         [GTK] Enable WebSocket hybi tests
25513         https://bugs.webkit.org/show_bug.cgi?id=72870
25514
25515         Reviewed by Xan Lopez.
25516
25517         * DumpRenderTree/gtk/DumpRenderTree.cpp:
25518         (resetDefaultsToConsistentValues):
25519         Reset the setting value to the default value (true).
25520         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
25521         (LayoutTestController::overridePreference):
25522         Change the setting value through a function in DumpRenderTreeSupportGtk.
25523
25524 2011-11-21  Ryosuke Niwa  <rniwa@webkit.org>
25525
25526         ChangeLogEntry should be able to parse entries with multiple authors
25527         https://bugs.webkit.org/show_bug.cgi?id=72690
25528
25529         Reviewed by Eric Seidel.
25530
25531         Support multi-author change log entries in ChangeLogEntry. Split author names using
25532         the same logic as splitting reviewer names. _authors now stores list of dictionaries
25533         with "name" and "email" as keys. Unlike reviewers, we can't always resolve authors to
25534         accounts because some contributors are never listed in committers.py. 
25535
25536         * Scripts/webkitpy/common/checkout/changelog.py:
25537         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
25538         * Scripts/webkitpy/common/config/committers.py: Fixed a bug that *_by_{name|email}
25539         throws an exception when the argument is None.
25540
25541 2011-11-21  Simon Hausmann  <simon.hausmann@nokia.com>
25542
25543         [Qt] Speed up debug builds.
25544         https://bugs.webkit.org/show_bug.cgi?id=72882
25545
25546         Reviewed by Tor Arne Vestbø.
25547
25548         Introduce a special type of build that replaces the static jsc/wc/wk2
25549         static libraries with shared libraries, that individually are much faster
25550         to link and don't require relinking into the big library when changing just
25551         one file in one module. It can be enabled with
25552         --qmakearg="CONFIG+=force_static_libs_as_shared"
25553
25554         * qmake/mkspecs/features/force_static_libs_as_shared.prf: Added. With this configuration,
25555         disable symbol visibility, static linkage and enable rpath.
25556         * qmake/mkspecs/features/functions.prf: Add a helper function to determine if
25557         we need to link the convenience libraries together or not and renamed linkStaticLibrary
25558         to just linkLibrary (because linkage is not necessarily static).
25559         * qmake/mkspecs/features/qtwebkit.prf: When using the trick, make sure to also
25560         link against jsc/wc/wk2 when linking app code against QtWebKit.
25561         * qmake/mkspecs/features/javascriptcore.prf: Use new +needToLinkLibrary helper
25562         function.
25563         * qmake/mkspecs/features/webcore.prf: Ditto.
25564         * qmake/mkspecs/features/webkit2.prf: Ditto.
25565
25566 2011-11-21  Adam Klein  <adamk@chromium.org>
25567
25568         Update flakiness dashboard linkification regexps for crbug.com/100000 and above
25569         https://bugs.webkit.org/show_bug.cgi?id=72898
25570
25571         Reviewed by Ojan Vafai.
25572
25573         Also removed a comment that was going to be more trouble to keep up to
25574         date than seemed worthwhile (the code is now the documentation).
25575
25576         * TestResultServer/static-dashboards/flakiness_dashboard.html:
25577
25578 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
25579
25580         [Chromium] WebAccessibilityNotification should use AssertMatchingEnums.
25581         https://bugs.webkit.org/show_bug.cgi?id=72895
25582
25583         Reviewed by Chris Fleizach.
25584
25585         * DumpRenderTree/chromium/WebViewHost.cpp:
25586         (WebViewHost::postAccessibilityNotification):
25587
25588 2011-11-21  Philippe Normand  <pnormand@igalia.com>
25589
25590         Unreviewed, run-gtk-tests temporary workaround after r98500.
25591
25592         * Scripts/run-gtk-tests: Try to find the build directory like in
25593         build-gtkdoc, until webkit-build-directory --configuration gets fixed.
25594
25595 2011-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
25596
25597         [GTK] Add a way to skip unit tests in the bots
25598         https://bugs.webkit.org/show_bug.cgi?id=72879
25599
25600         Reviewed by Philippe Normand.
25601
25602         Rewrite the script in python to make it easier for everybody to
25603         change it and add support for skipping tests.
25604
25605         * Scripts/run-gtk-tests:
25606
25607 2011-11-21  Raphael Kubo da Costa  <kubo@profusion.mobi>
25608
25609         [EFL] Add more appcache functions to ewk_settings.
25610         https://bugs.webkit.org/show_bug.cgi?id=72143
25611
25612         Reviewed by Kenneth Rohde Christiansen.
25613
25614         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
25615         (LayoutTestController::clearAllApplicationCaches):
25616         (LayoutTestController::setAppCacheMaximumSize): Use the right
25617         function, this is not related to the memory cache, but rather to the
25618         appcache.
25619
25620 2011-11-18  Adam Roben  <aroben@apple.com>
25621
25622         Make NRWT consider all lines of output from parse-malloc-history, not just the first
25623
25624         Fixes <http://webkit.org/b/72652> REGRESSION (NRWT): NRWT always reports "1 unique leaks
25625         found" even when there are more than 1 unique leaks
25626
25627         Reviewed by Darin Adler.
25628
25629         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
25630         (LeakDetector.count_total_bytes_and_unique_leaks): Pass re.MULTILINE to re.findall so that
25631         "^" will be considered to match the beginning of any line, not only the beginning of the
25632         string.
25633
25634         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
25635         (LeakDetectorTest.test_count_total_bytes_and_unique_leaks): Added a second callstack to the
25636         fake output and updated expectations to match.
25637
25638 2011-11-21  Andras Becsi  <andras.becsi@nokia.com>
25639
25640         [Qt] Clean up MiniBrowser project file after recent changes
25641         https://bugs.webkit.org/show_bug.cgi?id=72869
25642
25643         Reviewed by Simon Hausmann.
25644
25645         Remove nonexistent files from OTHER_FILES after our touch and desktop webviews were merged.
25646
25647         * MiniBrowser/qt/MiniBrowser.pro:
25648
25649 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
25650
25651         Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
25652         https://bugs.webkit.org/show_bug.cgi?id=72479
25653
25654         Reviewed by Chris Fleizach.
25655
25656         * DumpRenderTree/AccessibilityUIElement.cpp:
25657         (getIsSelectedOptionActiveCallback):
25658         (AccessibilityUIElement::getJSClass):
25659         * DumpRenderTree/AccessibilityUIElement.h:
25660         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
25661         (AccessibilityUIElement::AccessibilityUIElement):
25662         (AccessibilityUIElement::isSelectedOptionActiveGetterCallback):
25663         * DumpRenderTree/chromium/AccessibilityUIElement.h:
25664         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
25665         (AccessibilityUIElement::isSelectedOptionActive):
25666         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
25667         (AccessibilityUIElement::isSelectedOptionActive):
25668         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
25669         (AccessibilityUIElement::isSelectedOptionActive):
25670
25671 2011-11-21  Takashi Toyoshima  <toyoshim@chromium.org>
25672
25673         Use Host().port_factory instead of webkitpy.layout_tests.port.factory.
25674         https://bugs.webkit.org/show_bug.cgi?id=72859
25675
25676         Reviewed by Eric Seidel.
25677         
25678         * Scripts/new-run-webkit-websocketserver:
25679
25680 2011-11-20  Shinya Kawanaka  <shinyak@google.com>
25681
25682         [Chromium] Layout test does not return correct misspelling positions if there are multiple misspelled words.
25683         https://bugs.webkit.org/show_bug.cgi?id=72655
25684
25685         Reviewed by Hajime Morita.
25686
25687         Fixed the calculation of offset.
25688
25689         * DumpRenderTree/chromium/WebViewHost.cpp:
25690         (WebViewHost::finishLastTextCheck):
25691
25692 2011-11-20  Ojan Vafai  <ojan@chromium.org>
25693
25694         Change the final place where we use version 3 of the results json output
25695         https://bugs.webkit.org/show_bug.cgi?id=72838
25696
25697         Reviewed by Adam Barth.
25698
25699         This converts the json from being a flat map of test name --> results
25700         to being hierarchical by directory. This will make the json files 
25701         considerably smaller.
25702
25703         Also cleaned up some functions that were returning/checking boolean values
25704         that were always True.
25705
25706         * TestResultServer/model/jsonresults.py:
25707         * TestResultServer/model/jsonresults_unittest.py:
25708
25709 2011-11-20  Ojan Vafai  <ojan@chromium.org>
25710
25711         Include the master name when querying the test results server.
25712         This will soon be required since leaving the master name out mean
25713         that multiple files could match the query.
25714
25715         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
25716
25717 2011-11-19  Ojan Vafai  <ojan@chromium.org>
25718
25719         Fix jsonp callback code to add the callback if json content
25720         is not jsonp.
25721         * TestResultServer/handlers/testfilehandler.py:
25722
25723 2011-11-19  Alice Boxhall  <aboxhall@chromium.org>
25724
25725         Modify dashboard_base.js to optionally accept version 4 results json.
25726
25727         Reviewed by Ojan Vafai.
25728
25729         * TestResultServer/static-dashboards/dashboard_base.js:
25730         (ADD_RESULTS):
25731         (flattenTrie):
25732         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
25733         (testFlattenTrie):
25734
25735 2011-11-19  Ojan Vafai  <ojan@chromium.org>
25736
25737         Stop storing results files as jsonp in the test results server
25738         https://bugs.webkit.org/show_bug.cgi?id=72814
25739
25740         Reviewed by Adam Barth.
25741
25742         * TestResultServer/model/jsonresults.py:
25743         * TestResultServer/model/jsonresults_unittest.py:
25744
25745 2011-11-19  Ojan Vafai  <ojan@chromium.org>
25746
25747         Remove the dependence on jsonp from more of new-run-webkit-tests and the test results server
25748         https://bugs.webkit.org/show_bug.cgi?id=72813
25749
25750         Reviewed by Adam Barth.
25751
25752         Once this lands, we can start storing pure json in the test results server and then
25753         we can delete the code with all the FIXMEs added here.
25754
25755         * Scripts/webkitpy/layout_tests/controllers/manager.py:
25756         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
25757         Only add jsonp for full_results.json.
25758         * TestResultServer/model/jsonresults.py:
25759         * TestResultServer/model/jsonresults_unittest.py:
25760         Accept pure json uploads.
25761         * TestResultServer/static-dashboards/dashboard_base.js:
25762         (appendJSONScriptElementFor):
25763         Use the callback parameter so that the server can start returning pure json if it's left out.
25764
25765 2011-11-19  Ojan Vafai  <ojan@chromium.org>
25766
25767         Allow json NRWT downloads to be pure json and not jsonp
25768         https://bugs.webkit.org/show_bug.cgi?id=72809
25769
25770         Reviewed by Adam Barth.
25771
25772         I'm moving the server to storing and serving up raw json instead of jsonp.
25773         You can still get the jsonp by passing a "callback" parameter, but there's no
25774         need for run-webkit-tests to get jsonp when all it wants is the raw json.
25775
25776         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
25777         Make the wrapper stripping only happen if the json is actually wrapped.
25778         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
25779
25780 2011-11-18  Daniel Bates  <dbates@rim.com>
25781
25782         Add CMake build infrastructure for the BlackBerry port
25783         https://bugs.webkit.org/show_bug.cgi?id=72768
25784
25785         Reviewed by Antonio Gomes.
25786
25787         Add optional --blackberry command line argument to build-webkit to build the
25788         BlackBerry port.
25789
25790         * Scripts/build-webkit:
25791         * Scripts/webkitdirs.pm:
25792         (determineBaseProductDir):
25793         (argumentsForConfiguration):
25794         (builtDylibPathForName):
25795         (determineIsQt):
25796         (isBlackBerry): Added.
25797         (determineIsBlackBerry): Added.
25798         (blackberryTargetArchitecture): Added.
25799         (isAppleWebKit):
25800
25801 2011-11-18  James Robinson  <jamesr@chromium.org>
25802
25803         Unreviewed, rolling out r100835.
25804         http://trac.webkit.org/changeset/100835
25805         https://bugs.webkit.org/show_bug.cgi?id=72778
25806
25807         Broke some page scale tests
25808
25809         * DumpRenderTree/chromium/EventSender.cpp:
25810         (EventSender::scalePageBy):
25811
25812 2011-11-18  Adam Barth  <abarth@webkit.org>
25813
25814         Prepare to move manual-tests out of WebCore
25815         https://bugs.webkit.org/show_bug.cgi?id=72782
25816
25817         Reviewed by Eric Seidel.
25818
25819         Update this file to refer to the new location of ManualTests.
25820
25821         * Scripts/webkitpy/common/config/build.py:
25822
25823 2011-11-18  James Robinson  <jamesr@chromium.org>
25824
25825         [chromium] Set min/max page scale factors when calling eventSender.scalePageBy to avoid clamping
25826         https://bugs.webkit.org/show_bug.cgi?id=72778
25827
25828         Reviewed by Kenneth Russell.
25829
25830         Set the min/max page scale clamps when a test calls eventSender.scalePageBy() so that the scale isn't clamped.
25831
25832         * DumpRenderTree/chromium/EventSender.cpp:
25833         (EventSender::scalePageBy):
25834
25835 2011-11-18  Scott Graham  <scottmg@chromium.org>
25836
25837         IDL changes for gamepad support
25838         https://bugs.webkit.org/show_bug.cgi?id=71753
25839
25840         Reviewed by Adam Barth.
25841
25842         Runtime enable gamepad in chromium test shell.
25843
25844         * DumpRenderTree/chromium/TestShell.cpp:
25845         (TestShell::TestShell):
25846
25847 2011-10-27  Darin Fisher  <darin@chromium.org>
25848
25849         [chromium] Improve fullscreen API
25850         https://bugs.webkit.org/show_bug.cgi?id=70477
25851
25852         Reviewed by Adam Barth.
25853
25854         Implement enter/exitFullScreen.  The implementation is asynchronous,
25855         via postDelayedTask, to simulate how the browser actually behaves.
25856
25857         * DumpRenderTree/chromium/WebViewHost.cpp:
25858         (WebViewHost::enterFullScreen):
25859         (WebViewHost::exitFullScreen):
25860         (WebViewHost::setAddressBarURL):
25861         (WebViewHost::enterFullScreenNow):
25862         (WebViewHost::exitFullScreenNow):
25863         * DumpRenderTree/chromium/WebViewHost.h:
25864
25865 2011-11-18  Adam Roben  <aroben@apple.com>
25866
25867         Ignore an ANGLE leak that is not WebKit's fault
25868
25869         * Scripts/old-run-webkit-tests:
25870         (countAndPrintLeaks):
25871         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
25872         (LeakDetector._callstacks_to_exclude_from_leaks):
25873         Added ScanFromString to the call stacks to exclude on all OS versions.
25874
25875 2011-11-18  Adam Roben  <aroben@apple.com>
25876
25877         Ignore another Lion-specific leak that is not WebKit's fault
25878
25879         * Scripts/old-run-webkit-tests:
25880         (countAndPrintLeaks):
25881         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
25882         (LeakDetector._callstacks_to_exclude_from_leaks):
25883         Added SecTransformExecute to the call stacks to exclude.
25884
25885 2011-11-18  Yuta Kitamura  <yutak@chromium.org>
25886
25887         [Qt] Enable WebSocket hybi tests
25888         https://bugs.webkit.org/show_bug.cgi?id=72687
25889
25890         Reviewed by Simon Hausmann.
25891
25892         Let LayoutTestControllerQt be able to switch WebSocket protocols via overridePreference().
25893
25894         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
25895         (WebCore::WebPage::resetSettings):
25896         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
25897         (LayoutTestController::overridePreference):
25898
25899 2011-11-18  Sergio Villar Senin  <svillar@igalia.com>
25900
25901         [GTK][WK2] Invalid TestNetscapePlugin path when using new-run-webkit-tests
25902         https://bugs.webkit.org/show_bug.cgi?id=72707
25903
25904         Reviewed by Philippe Normand.
25905
25906         Make new-run-webkit-tests use the right path to locate the test
25907         plugin used by WebKitTestRunner.
25908
25909         * Scripts/webkitpy/layout_tests/port/gtk.py:
25910
25911 2011-11-18  Simon Hausmann  <simon.hausmann@nokia.com>
25912
25913         [Qt] WTR and InjectedBundle should not link statically against JSC/WTF
25914         https://bugs.webkit.org/show_bug.cgi?id=72697
25915
25916         Reviewed by Kenneth Rohde Christiansen.
25917
25918         * Tools.pro: Make WTR linux only for the moment.
25919         * WebKitTestRunner/InjectedBundle/Target.pri: Remove static jsc/wtf linkage.
25920         * WebKitTestRunner/Target.pri: Ditto.
25921         * qmake/mkspecs/features/default_post.prf: Don't build the main webkit sources
25922         with ELF visibility on Linux. Instead we're temporarily using an LD version script.
25923
25924 2011-11-18  Kenneth Rohde Christiansen  <kenneth@webkit.org>
25925
25926         [Qt] Change default size of the MiniBrowser
25927
25928         Reviewed by Simon Hausmann.
25929
25930         As we lay out desktop pages using the width of 980, change our default
25931         size to 980x735 so that we are not scaling down by default.
25932
25933         * MiniBrowser/qt/MiniBrowserApplication.h:
25934         (WindowOptions::WindowOptions):
25935
25936 2011-11-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
25937
25938         [EFL] Clean up the use of DATA_DIR in the buildsystem
25939         https://bugs.webkit.org/show_bug.cgi?id=72681
25940
25941         Reviewed by Daniel Bates.
25942
25943         Instead of adding -DDATA_DIR in all scopes, only define it in
25944         WebCore/PlatformEFL.cmake, as WebCore is the only place that uses
25945         it.
25946
25947         We can then define DATA_DIR to the generated theme directory for
25948         EWebLauncher, since it's what we want here.
25949
25950         * CMakeListsEfl.txt:
25951
25952 2011-11-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
25953
25954         [EFL] Move platform includes last in DRT's include directories.
25955         https://bugs.webkit.org/show_bug.cgi?id=72684
25956
25957         Reviewed by Daniel Bates.
25958
25959         This is the first step in fixing the build when a platform include (in
25960         this case, Valgrind 3.7.0 ships its config.h) and the wrong config.h
25961         is included instead of WebKit's.
25962
25963         * DumpRenderTree/efl/CMakeLists.txt:
25964
25965 2011-11-17  Ryosuke Niwa  <rniwa@webkit.org>
25966
25967         fuzzy_match doesn't recognize "Dan B" or "hyatt"
25968         https://bugs.webkit.org/show_bug.cgi?id=72636
25969
25970         Reviewed by Eric Seidel.
25971
25972         Make contributors_by_fuzz_match search string in shorthand names of contributors such as "Ryosuke N"
25973         and user names of email addreses such as rniwa in rniwa@webkit.org.
25974
25975         Also import legacy contributor names and mispell lists from Eric's script on the bug 26533 as a test.
25976
25977         * Scripts/webkitpy/common/config/committers.py:
25978         * Scripts/webkitpy/common/config/committers_unittest.py:
25979
25980 2011-11-17  Eric Seidel  <eric@webkit.org>
25981
25982         Remove support for running check-webkit-style w/o a webkit checkout
25983         https://bugs.webkit.org/show_bug.cgi?id=72678
25984
25985         Reviewed by Adam Barth.
25986
25987         After talking to Dave Levin we've decided to remove this
25988         code.  I know of no users of check-webkit-style w/o a webkit checkout
25989         and this needlessly adds complexity.
25990
25991         * Scripts/webkitpy/style/main.py:
25992
25993 2011-11-17  Eric Seidel  <eric@webkit.org>
25994
25995         Remove more direct uses of os.path
25996         https://bugs.webkit.org/show_bug.cgi?id=72677
25997
25998         Reviewed by Adam Barth.
25999
26000         Remove more uses of os.path, including refactoring
26001         CommitterValidator to use a Host object instead of
26002         manual hacks to emulate what SCM and FileSystem provide.
26003
26004         * Scripts/webkitpy/common/checkout/changelog.py:
26005         * Scripts/webkitpy/common/config/committervalidator.py:
26006         * Scripts/webkitpy/common/config/committervalidator_unittest.py:
26007         * Scripts/webkitpy/common/system/filesystem_mock.py:
26008          - Turns out none of our unittests actually looked at this path.
26009            now I've made it be a valid path.
26010         * Scripts/webkitpy/tool/bot/feeders.py:
26011         * Scripts/webkitpy/tool/commands/queues.py:
26012
26013 2011-11-17  Eric Seidel  <eric@webkit.org>
26014
26015         Teach TextFileReader about FileSystem
26016         https://bugs.webkit.org/show_bug.cgi?id=72673
26017
26018         Reviewed by Adam Barth.
26019
26020         Unfortunately TextFileReader doesn't use FileSystem
26021         everywhere yet, so we can't move the unittests to
26022         using MockFileSystem, but we're close.
26023
26024         * Scripts/webkitpy/style/filereader.py:
26025         * Scripts/webkitpy/style/filereader_unittest.py:
26026         * Scripts/webkitpy/style/main.py:
26027
26028 2011-11-17  Eric Seidel  <eric@webkit.org>
26029
26030         Give check-webkit-style a Host
26031         https://bugs.webkit.org/show_bug.cgi?id=72670
26032
26033         Reviewed by Adam Barth.
26034
26035         * Scripts/webkitpy/common/checkout/scm/detection.py:
26036         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
26037          - We don't run these unittests, but this one was looking for the wrong exception.
26038         * Scripts/webkitpy/style/main.py:
26039         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
26040          - This was create a new scm object even though it already had one?
26041
26042 2011-11-17  Eric Seidel  <eric@webkit.org>
26043
26044         Move check-webkit-style change_directory code to more modern mocks
26045         https://bugs.webkit.org/show_bug.cgi?id=72664
26046
26047         Reviewed by Adam Barth.
26048
26049         * Scripts/check-webkit-style:
26050         * Scripts/webkitpy/style/main.py:
26051         * Scripts/webkitpy/style/main_unittest.py:
26052
26053 2011-11-17  Zan Dobersek  <zandobersek@gmail.com>
26054
26055         [GTK] enable ref tests
26056         https://bugs.webkit.org/show_bug.cgi?id=72601
26057
26058         Re-enable ref tests. Run the driver under evenly numbered display if performing
26059         pixel tests or under oddly numbered display otherwise. This prevents the ref tests
26060         being run in an already used Xvfb instance if pixel tests are disabled.
26061
26062         Reviewed by Tony Chang.
26063
26064         * Scripts/webkitpy/layout_tests/port/gtk.py: Also set Xvfb variable to None
26065         after the process is killed
26066
26067 2011-11-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
26068
26069         Make check-webkit-style accept xxx_p.h as a primary header for xxx.cpp for Qt's sake
26070         https://bugs.webkit.org/show_bug.cgi?id=72620
26071
26072         Reviewed by David Levin.
26073
26074         Qt's convention of keeping private (but exposed) API suffixed by "_p.h" but not
26075         adding the suffix the cpp file. One example of false positive
26076         https://bugs.webkit.org/show_bug.cgi?id=72319#c12.
26077
26078         * Scripts/webkitpy/style/checkers/cpp.py: accept headers ending with _p as primary if its
26079         basename contains the cpp's basename.
26080         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
26081
26082 2011-11-17  Eric Seidel  <eric@webkit.org>
26083
26084         Move check-webkit-style's guts into webkitpy/style/main.py
26085         https://bugs.webkit.org/show_bug.cgi?id=72657
26086
26087         Reviewed by Adam Barth.
26088
26089         * Scripts/check-webkit-style:
26090         * Scripts/webkitpy/style/main.py:
26091
26092 2011-11-17  Eric Seidel  <eric@webkit.org>
26093
26094         new-run-webkit-tests is locale dependent
26095         https://bugs.webkit.org/show_bug.cgi?id=68691
26096
26097         Reviewed by Adam Barth.
26098
26099         Make NRWT use a clean environment, just like ORWT did.
26100
26101         * Scripts/webkitpy/layout_tests/port/base.py:
26102         * Scripts/webkitpy/layout_tests/port/chromium.py:
26103         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
26104         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
26105         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
26106         * Scripts/webkitpy/layout_tests/port/efl.py:
26107         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
26108         * Scripts/webkitpy/layout_tests/port/mac.py:
26109         * Scripts/webkitpy/layout_tests/port/qt.py:
26110         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
26111         * Scripts/webkitpy/layout_tests/port/webkit.py:
26112         * Scripts/webkitpy/layout_tests/port/win.py:
26113
26114 2011-11-17  Dirk Pranke  <dpranke@chromium.org>
26115
26116         Chromium Mac 10.5 CG dbg bots are failing to run webkit_gpu_tests
26117         https://bugs.webkit.org/show_bug.cgi?id=72615
26118
26119         Reviewed by James Robinson.
26120
26121         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
26122
26123 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
26124
26125         [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
26126         https://bugs.webkit.org/show_bug.cgi?id=72595
26127
26128         Reviewed by Noam Rosenthal.
26129
26130         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
26131         (WebCore::DumpRenderTree::DumpRenderTree): Use new initialize() function to
26132         ensure the registration of the DRTNode JS bindings.
26133         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
26134         (LayoutTestController::LayoutTestController): Remove unnecessary explicit qt meta type
26135         registration of QWebElement (now done implicitly through QWebPage ->
26136         QtWebElementRunTime::initialize code path)
26137
26138 2011-11-17  Adam Roben  <aroben@apple.com>
26139
26140         Fix a crash-inducing typo I introduced in r100648
26141
26142         Fixes <http://webkit.org/b/72642> REGRESSION (r100648): NRWT crashes on Chromium when
26143         handling a crashing test
26144
26145         Reviewed by Adam Barth.
26146
26147         * Scripts/webkitpy/layout_tests/port/chromium.py:
26148         (ChromiumDriver.run_test): Get the driver name from the port.
26149
26150         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
26151         (ChromiumDriverTest.test_crashed_process_name): Simulate a crash and check that we got the
26152         right crashed process name.
26153
26154 2011-11-17  Adam Roben  <aroben@apple.com>
26155
26156         Fix NRWT's parsing of the number of excluded leaks
26157
26158         Fixes <http://webkit.org/b/72635> NRWT crashes when parsing leaks files from which certain
26159         leaks were excluded
26160
26161         Reviewed by Adam Barth.
26162
26163         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
26164         (LeakDetector._parse_leaks_output): Extract just the number of excluded leaks from the
26165         regular expression match, not the entire matched string.
26166
26167         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
26168         (LeakDetectorTest): Added some example output that shows how things look when leaks are
26169         excluded.
26170         (LeakDetectorTest.test_parse_leaks_output): Test that we parse the number of exclusions
26171         correctly.
26172
26173 2011-11-17  Adam Roben  <aroben@apple.com>
26174
26175         Make NRWT find crash logs for the crashed process, which may not necessarily be the driver process
26176
26177         Fixes <http://webkit.org/b/72526> REGRESSION (NRWT): WebKitTestRunner crash log gets saved
26178         when web process crashes, but WebProcess crash log should get saved instead
26179
26180         Reviewed by Eric Seidel.
26181
26182         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
26183         (write_test_result): Simplified a little to share more code between the case where we
26184         crashed when running the test and where we crashed when checking the expected rendering for
26185         a reftest. Changed to pass the crashed process name down to write_crash_report.
26186         (TestResultWriter.write_crash_report): Added crashed_process_name parameter, which we pass
26187         along to CrashLogs.find_newest_log rather than always using the driver name.
26188
26189         * Scripts/webkitpy/layout_tests/port/chromium.py:
26190         (ChromiumDriver.run_test): Pass the driver name as the name of the crashed process if we
26191         crashed.
26192
26193         * Scripts/webkitpy/layout_tests/port/test.py:
26194         (TestInstance.__init__): Initialize new web_process_crash attribute.
26195         (unit_test_list): Added new web-process-crash-with-stderr test, which is used by the new
26196         test this patch adds.
26197         (TestDriver.run_test): Pass a crashed process name to DriverOutput based on whether the test
26198         specifies that the driver crashed or the web process crashed.
26199
26200         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
26201         (MainTest.test_web_process_crash_log): Added. Similar to test_crash_log, but uses a test for
26202         which we pretend the web process crashed rather than the driver process.
26203
26204         (MainTest.test_run_singly_actually_runs_tests):
26205         (MainTest.test_unexpected_failures):
26206         (EndToEndTest.test_end_to_end):
26207         Updated magic numbers to account for new unexpected failing test added to unit_test_list.
26208
26209 2011-11-17  Tony Chang  <tony@chromium.org>
26210
26211         [chromium] stop spamming features warning on every build
26212         https://bugs.webkit.org/show_bug.cgi?id=72629
26213
26214         Reviewed by Ojan Vafai.
26215
26216         We toggle $blobSupport on if $mediaStreamSupport is on.  Since
26217         $mediaStreamSupport is on by default for chromium, make the default
26218         for $blobSupport also on.
26219
26220         * Scripts/build-webkit:
26221
26222 2011-11-17  Adam Roben  <aroben@apple.com>
26223
26224         Remove extra quoting of call stacks and types passed to run-leaks by NRWT
26225
26226         Fixes <http://webkit.org/b/72623> REGRESSION (NRWT): run-webkit-tests --leaks reports leaks
26227         that are supposed to be ignored
26228
26229         Reviewed by Adam Barth.
26230
26231         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
26232         (LeakDetector._leaks_args): Removed extra quoting of call stacks and types. Quoting is only
26233         required when passing arguments via the shell (which we aren't doing here). It is not
26234         required by Perl's option-parsing code (as the comment I removed mistakenly claimed).
26235
26236         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
26237         (LeakDetectorTest.test_leaks_args): Updated expectations.
26238
26239 2011-11-17  Philippe Normand  <pnormand@igalia.com>
26240
26241         Unreviewed, run-bindings-tests fix after r91028.
26242
26243         * Scripts/run-bindings-tests: Use scm.detection module.
26244
26245 2011-11-17  Jochen Eisinger  <jochen@chromium.org>
26246
26247         Silence a warning about control reaching the end of a non-void function
26248         https://bugs.webkit.org/show_bug.cgi?id=72616
26249
26250         Reviewed by Tony Gentilcore.
26251
26252         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
26253         (AccessibilityUIElement::verticalScrollbar):
26254
26255 2011-11-17  Adam Roben  <aroben@apple.com>
26256
26257         Ignore some leaks in frameworks we link against on Lion
26258
26259         Fixes <http://webkit.org/b/72609> Lion Leaks bot complains about a bunch of leaks that
26260         aren't WebKit's fault
26261
26262         Reviewed by Antti Koivisto.
26263
26264         * Scripts/old-run-webkit-tests:
26265         (countAndPrintLeaks):
26266         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
26267         (LeakDetector._callstacks_to_exclude_from_leaks):
26268         Added some call stacks to exclude on Lion that represent leaks in lower-level frameworks.
26269
26270         * Scripts/webkitpy/layout_tests/port/mac.py:
26271         (MacPort.is_lion): Added.
26272
26273         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
26274         (MacPortTest.test_is_version_methods): Added tests for the is_leopard/is_snowleopard/is_lion
26275         methods.
26276
26277 2011-11-17  Philippe Normand  <pnormand@igalia.com>
26278
26279         [GTK] Disable ref tests
26280         https://bugs.webkit.org/show_bug.cgi?id=72599
26281
26282         Reviewed by Xan Lopez.
26283
26284         * Scripts/webkitpy/layout_tests/port/gtk.py: Enforce disabled ref
26285         tests to avoid massive flakiness.
26286
26287 2011-11-17  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
26288
26289         [Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of that
26290
26291         A new extension object has been added to QQuickWebView (the same approach should be used
26292         for other API classes that need experimental APIs). The QML extension mechanism is then
26293         built on top of the experimental object.
26294
26295         https://bugs.webkit.org/show_bug.cgi?id=72522
26296
26297         Reviewed by Simon Hausmann.
26298
26299         * MiniBrowser/qt/BrowserWindow.cpp:
26300         (BrowserWindow::BrowserWindow):
26301         (BrowserWindow::webView):
26302         * MiniBrowser/qt/BrowserWindow.h:
26303         * MiniBrowser/qt/UrlLoader.cpp:
26304         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
26305         * qmake/mkspecs/features/default_post.prf:
26306         * qmake/mkspecs/features/default_pre.prf:
26307         * qmake/mkspecs/features/qtwebkit-private.prf: Added.
26308         * qmake/mkspecs/features/qtwebkit.prf:
26309
26310 2011-11-17  Adam Barth  <abarth@webkit.org>
26311
26312         Move test_results_uploader.py out of layout_package
26313         https://bugs.webkit.org/show_bug.cgi?id=72590
26314
26315         Reviewed by Eric Seidel.
26316
26317         Most of the lines of code in this file are wrong, but I've restrained
26318         myself and only changed a few of them to generalized this class to the
26319         common package.
26320
26321         This is part of a series of patches to remove layout_package.
26322
26323         * Scripts/webkitpy/common/net/file_uploader.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py.
26324         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
26325         * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py: Removed.
26326
26327 2011-11-17  Adam Barth  <abarth@webkit.org>
26328
26329         Unreviewed. Fix style nits in printing.py.
26330
26331         * Scripts/webkitpy/layout_tests/views/printing.py:
26332
26333 2011-11-17  Adam Barth  <abarth@webkit.org>
26334
26335         Minor style nits in run_webkit_tests.py
26336         https://bugs.webkit.org/show_bug.cgi?id=72583
26337
26338         Reviewed by Eric Seidel.
26339
26340         This patch just fixes some minor style issues as I work my way back
26341         into this code.
26342
26343         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
26344
26345 2011-11-17  Adam Barth  <abarth@webkit.org>
26346
26347         Move test_result_writer out of layout_package
26348         https://bugs.webkit.org/show_bug.cgi?id=72586
26349
26350         Rubber-stamped by Eric Seidel.
26351
26352         This is part of a series of patches to remove layout_package.
26353
26354         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
26355         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py.
26356         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py: Removed.
26357         * Scripts/webkitpy/tool/commands/rebaseline.py:
26358
26359 2011-11-17  Adam Barth  <abarth@webkit.org>
26360
26361         svn-apply shouldn't magically move files into Source anymore
26362         https://bugs.webkit.org/show_bug.cgi?id=72579
26363
26364         Reviewed by Eric Seidel.
26365
26366         The Source directory has existed for long enough that we don't need
26367         svn-apply to magically re-write old-style patches anymore.
26368
26369         * Scripts/VCSUtils.pm:
26370         (parseGitDiffHeader):
26371         (parseSvnDiffHeader):
26372
26373 2011-11-16  Ryosuke Niwa  <rniwa@webkit.org>
26374
26375         Add a list of contribution areas
26376         https://bugs.webkit.org/show_bug.cgi?id=72566
26377
26378         Reviewed by Eric Seidel.
26379
26380         Added ContributionAreas class.
26381
26382         * Scripts/webkitpy/common/config/contributionareas.py: Added.
26383         * Scripts/webkitpy/common/config/contributionareas_unittest.py: Added.
26384
26385 2011-11-16  Ryosuke Niwa  <rniwa@webkit.org>
26386
26387         Refactor ChangeLogTest.test_parse_reviewer_text
26388         https://bugs.webkit.org/show_bug.cgi?id=72572
26389
26390         Reviewed by Eric Seidel.
26391
26392         Refactored the test code by introduing two helper functions.
26393
26394         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
26395
26396 2011-11-16  Eric Seidel  <eric@webkit.org>
26397
26398         Add SCMDetector object to make scm detection mockable
26399         https://bugs.webkit.org/show_bug.cgi?id=72247
26400
26401         Reviewed by Adam Barth.
26402
26403         I think SCM detection may eventually be rolled into Checkout,
26404         but this patch at least makes it possible to mock code-paths
26405         which rely on scm detection.
26406         In the process of replacing callers of these free-functions
26407         I found that one of the functions was no longer used,
26408         and that one of the callers could instead just use the SCM
26409         object it already had access to through port.host.scm().
26410         I also discovered that I was not calling Host._initialize_scm()
26411         and thus host.scm() was always returning None!
26412
26413         * Scripts/check-webkit-style:
26414         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
26415         * Scripts/webkitpy/common/checkout/deps.py:
26416         * Scripts/webkitpy/common/checkout/scm/__init__.py:
26417         * Scripts/webkitpy/common/checkout/scm/detection.py:
26418         * Scripts/webkitpy/common/checkout/scm/git.py:
26419         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
26420         * Scripts/webkitpy/common/checkout/scm/svn.py:
26421         * Scripts/webkitpy/common/host.py:
26422         * Scripts/webkitpy/common/host_mock.py:
26423         * Scripts/webkitpy/layout_tests/controllers/manager.py:
26424         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
26425         * Scripts/webkitpy/layout_tests/port/base.py:
26426         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
26427         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
26428         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
26429         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
26430
26431 2011-11-16  Mark Rowe  <mrowe@apple.com>
26432
26433         Fix the build.
26434
26435         The C++ standard library interferes with Objective-C exceptions when built with -fno-exceptions.
26436         Apply the workaround that we use in other projects to WebKitTestRunner.
26437
26438         * WebKitTestRunner/Configurations/Base.xcconfig: Use the prefix header for all targets.
26439         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Ditto.
26440         * WebKitTestRunner/WebKitTestRunnerPrefix.h: Work around the C++ standard library obnoxiousness.
26441
26442 2011-11-16  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
26443
26444         [Qt] Fix build after WTR AX support
26445         https://bugs.webkit.org/show_bug.cgi?id=72560
26446
26447         Reviewed by Geoffrey Garen.
26448
26449         * WebKitTestRunner/InjectedBundle/DerivedSources.pri:
26450         * WebKitTestRunner/InjectedBundle/Target.pri:
26451
26452 2011-11-16  Tony Chang  <tony@chromium.org>
26453
26454         repurpose the flexbox bot for grid layout
26455         https://bugs.webkit.org/show_bug.cgi?id=72557
26456
26457         Reviewed by Ryosuke Niwa.
26458
26459         Since new flexbox is enabled everywhere, we don't need this bot
26460         anymore.  However, work on grid layout has begun, so we can use this
26461         bot to compile with ENABLE_CSS_GRID_LAYOUT.
26462
26463         * BuildSlaveSupport/build.webkit.org-config/config.json: Just rename
26464         the bot on the waterfall, I will change the slave config to enable
26465         the compile flag and tests.
26466
26467 2011-11-11  Adrienne Walker  <enne@google.com>
26468
26469         [chromium] Expose mock scrollbars to window.internals
26470         https://bugs.webkit.org/show_bug.cgi?id=72195
26471
26472         Reviewed by James Robinson.
26473
26474         Because mock scrollbars are a global setting, reset between runs.
26475
26476         * DumpRenderTree/chromium/WebPreferences.cpp:
26477         (WebPreferences::applyTo):
26478
26479 2011-11-16  James Robinson  <jamesr@chromium.org>
26480
26481         [chromium] Enable video and canvas 2d compositing triggers by default for layout tests in the compositing directory
26482         https://bugs.webkit.org/show_bug.cgi?id=72562
26483
26484         Reviewed by Dirk Pranke.
26485
26486         * DumpRenderTree/chromium/TestShell.cpp:
26487         (TestShell::runFileTest):
26488
26489 2011-11-16  Tony Chang  <tony@chromium.org>
26490
26491         [NRWT] speculative fix for multiple subprocess test on cygwin
26492         https://bugs.webkit.org/show_bug.cgi?id=72518
26493
26494         Reviewed by Adam Barth.
26495
26496         * Scripts/webkitpy/layout_tests/port/chromium.py: cygwin probably
26497             tries to emulate posix fd behavior.
26498         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
26499
26500 2011-11-16  Dirk Pranke  <dpranke@chromium.org>
26501
26502         Revert r100509; change was committed twice (first time as r100491).
26503         Unreviewed, build fix.
26504
26505         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
26506
26507 2011-11-16  Dirk Pranke  <dpranke@chromium.org>
26508
26509         Run a dummy test in the gpu configurations if there's nothing to do.
26510         https://bugs.webkit.org/show_bug.cgi?id=72498
26511
26512         Reviewed by James Robinson.
26513
26514         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
26515
26516 2011-11-16  Ryosuke Niwa  <rniwa@webkit.org>
26517
26518         contributors_by_fuzzy_match is super slow
26519         https://bugs.webkit.org/show_bug.cgi?id=72540
26520
26521         Reviewed by Eric Seidel.
26522
26523         Make contributors_by_name do case insensitive search using a dictionary.
26524
26525         Also call contributors_by_name first in contributors_by_fuzzy_match now that it's fast
26526         because that's the most common case.
26527
26528         * Scripts/webkitpy/common/config/committers.py:
26529         * Scripts/webkitpy/common/config/committers_unittest.py:
26530
26531 2011-11-16  David Levin  <levin@chromium.org>
26532
26533         check-webkit-style should recognize functions even if they have OVERRIDE after them.
26534         https://bugs.webkit.org/show_bug.cgi?id=72515
26535
26536         Reviewed by Adam Barth.
26537
26538         * Scripts/webkitpy/style/checkers/cpp.py:
26539         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
26540
26541 2011-11-16  Tony Chang  <tony@chromium.org>
26542
26543         [NRWT] refactor drivers to require pixel_tests param
26544         https://bugs.webkit.org/show_bug.cgi?id=72517
26545
26546         Reviewed by Ojan Vafai.
26547
26548         No tests, just a refactoring.
26549
26550         * Scripts/webkitpy/layout_tests/port/chromium.py:
26551         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
26552         * Scripts/webkitpy/layout_tests/port/webkit.py:
26553         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
26554
26555 2011-11-16  Dirk Pranke  <dpranke@chromium.org>
26556
26557         Run a dummy test in the gpu configurations if there's nothing to do.
26558         https://bugs.webkit.org/show_bug.cgi?id=72498
26559
26560         Reviewed by James Robinson.
26561
26562         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
26563
26564 2011-11-16  Chris Fleizach  <cfleizach@apple.com>
26565
26566         WebKitTestRunner needs to support accessibility-related DRT APIs
26567         https://bugs.webkit.org/show_bug.cgi?id=42131
26568
26569         Reviewed by Beth Dakin.
26570
26571         Port the AX code in DRT to WKTestRunner by using IDL.
26572
26573         * DumpRenderTree/AccessibilityUIElement.cpp:
26574         (horizontalScrollbarCallback):
26575         (verticalScrollbarCallback):
26576         (AccessibilityUIElement::horizontalScrollbar):
26577         (AccessibilityUIElement::verticalScrollbar):
26578         (AccessibilityUIElement::getJSClass):
26579         * DumpRenderTree/AccessibilityUIElement.h:
26580         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
26581         (AccessibilityUIElement::horizontalScrollbar):
26582         (AccessibilityUIElement::verticalScrollbar):
26583         * WebKitTestRunner/DerivedSources.make:
26584         * WebKitTestRunner/GNUmakefile.am:
26585         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: Added.
26586         (WTR::AccessibilityController::create):
26587         (WTR::AccessibilityController::AccessibilityController):
26588         (WTR::AccessibilityController::~AccessibilityController):
26589         (WTR::AccessibilityController::makeWindowObject):
26590         (WTR::AccessibilityController::wrapperClass):
26591         (WTR::AccessibilityController::rootElement):
26592         (WTR::AccessibilityController::focusedElement):
26593         (WTR::AccessibilityController::elementAtPoint):
26594         * WebKitTestRunner/InjectedBundle/AccessibilityController.h: Added.
26595         (WTR::AccessibilityController::logFocusEvents):
26596         (WTR::AccessibilityController::logValueChangeEvents):
26597         (WTR::AccessibilityController::logScrollingStartEvents):
26598         (WTR::AccessibilityController::logAccessibilityEvents):
26599         (WTR::AccessibilityController::addNotificationListener):
26600         (WTR::AccessibilityController::notificationReceived):
26601         (WTR::AccessibilityController::resetToConsistentState):
26602         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp: Added.
26603         (WTR::AccessibilityTextMarker::create):
26604         (WTR::AccessibilityTextMarker::AccessibilityTextMarker):
26605         (WTR::AccessibilityTextMarker::~AccessibilityTextMarker):
26606         (WTR::AccessibilityTextMarker::platformTextMarker):
26607         (WTR::AccessibilityTextMarker::wrapperClass):
26608         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.h: Added.
26609         (WTR::AccessibilityTextMarker::isEqual):
26610         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp: Added.
26611         (WTR::AccessibilityTextMarkerRange::create):
26612         (WTR::AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
26613         (WTR::AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
26614         (WTR::AccessibilityTextMarkerRange::platformTextMarkerRange):
26615         (WTR::AccessibilityTextMarkerRange::wrapperClass):
26616         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.h: Added.
26617         (WTR::AccessibilityTextMarkerRange::isEqual):
26618         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: Added.
26619         (WTR::AccessibilityUIElement::create):
26620         (WTR::AccessibilityUIElement::wrapperClass):
26621         (WTR::AccessibilityUIElement::isValid):
26622         (WTR::AccessibilityUIElement::AccessibilityUIElement):
26623         (WTR::AccessibilityUIElement::~AccessibilityUIElement):
26624         (WTR::AccessibilityUIElement::isEqual):
26625         (WTR::AccessibilityUIElement::elementAtPoint):
26626         (WTR::AccessibilityUIElement::childAtIndex):
26627         (WTR::AccessibilityUIElement::indexOfChild):
26628         (WTR::AccessibilityUIElement::childrenCount):
26629         (WTR::AccessibilityUIElement::titleUIElement):
26630         (WTR::AccessibilityUIElement::parentElement):
26631         (WTR::AccessibilityUIElement::takeFocus):
26632         (WTR::AccessibilityUIElement::takeSelection):
26633         (WTR::AccessibilityUIElement::addSelection):
26634         (WTR::AccessibilityUIElement::removeSelection):
26635         (WTR::AccessibilityUIElement::allAttributes):
26636         (WTR::AccessibilityUIElement::attributesOfLinkedUIElements):
26637         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
26638         (WTR::AccessibilityUIElement::attributesOfDocumentLinks):
26639         (WTR::AccessibilityUIElement::attributesOfChildren):
26640         (WTR::AccessibilityUIElement::parameterizedAttributeNames):
26641         (WTR::AccessibilityUIElement::increment):
26642         (WTR::AccessibilityUIElement::decrement):
26643         (WTR::AccessibilityUIElement::showMenu):
26644         (WTR::AccessibilityUIElement::press):
26645         (WTR::AccessibilityUIElement::stringAttributeValue):
26646         (WTR::AccessibilityUIElement::uiElementAttributeValue):
26647         (WTR::AccessibilityUIElement::numberAttributeValue):
26648         (WTR::AccessibilityUIElement::boolAttributeValue):
26649         (WTR::AccessibilityUIElement::isAttributeSupported):
26650         (WTR::AccessibilityUIElement::isAttributeSettable):
26651         (WTR::AccessibilityUIElement::isActionSupported):
26652         (WTR::AccessibilityUIElement::role):
26653         (WTR::AccessibilityUIElement::subrole):
26654         (WTR::AccessibilityUIElement::roleDescription):
26655         (WTR::AccessibilityUIElement::title):
26656         (WTR::AccessibilityUIElement::description):
26657         (WTR::AccessibilityUIElement::language):
26658         (WTR::AccessibilityUIElement::stringValue):
26659         (WTR::AccessibilityUIElement::accessibilityValue):
26660         (WTR::AccessibilityUIElement::helpText):
26661         (WTR::AccessibilityUIElement::orientation):
26662         (WTR::AccessibilityUIElement::x):
26663         (WTR::AccessibilityUIElement::y):
26664         (WTR::AccessibilityUIElement::width):
26665         (WTR::AccessibilityUIElement::height):
26666         (WTR::AccessibilityUIElement::intValue):
26667         (WTR::AccessibilityUIElement::minValue):
26668         (WTR::AccessibilityUIElement::maxValue):
26669         (WTR::AccessibilityUIElement::valueDescription):
26670         (WTR::AccessibilityUIElement::insertionPointLineNumber):
26671         (WTR::AccessibilityUIElement::selectedTextRange):
26672         (WTR::AccessibilityUIElement::isEnabled):
26673         (WTR::AccessibilityUIElement::isRequired):
26674         (WTR::AccessibilityUIElement::isFocused):
26675         (WTR::AccessibilityUIElement::isFocusable):
26676         (WTR::AccessibilityUIElement::isSelected):
26677         (WTR::AccessibilityUIElement::isSelectable):
26678         (WTR::AccessibilityUIElement::isMultiSelectable):
26679         (WTR::AccessibilityUIElement::setSelectedChild):
26680         (WTR::AccessibilityUIElement::selectedChildrenCount):
26681         (WTR::AccessibilityUIElement::selectedChildAtIndex):
26682         (WTR::AccessibilityUIElement::isExpanded):
26683         (WTR::AccessibilityUIElement::isChecked):
26684         (WTR::AccessibilityUIElement::isVisible):
26685         (WTR::AccessibilityUIElement::isOffScreen):
26686         (WTR::AccessibilityUIElement::isCollapsed):
26687         (WTR::AccessibilityUIElement::isIgnored):
26688         (WTR::AccessibilityUIElement::hasPopup):
26689         (WTR::AccessibilityUIElement::hierarchicalLevel):
26690         (WTR::AccessibilityUIElement::clickPointX):
26691         (WTR::AccessibilityUIElement::clickPointY):
26692         (WTR::AccessibilityUIElement::documentEncoding):
26693         (WTR::AccessibilityUIElement::documentURI):
26694         (WTR::AccessibilityUIElement::url):
26695         (WTR::AccessibilityUIElement::speak):
26696         (WTR::AccessibilityUIElement::attributesOfColumnHeaders):
26697         (WTR::AccessibilityUIElement::attributesOfRowHeaders):
26698         (WTR::AccessibilityUIElement::attributesOfColumns):
26699         (WTR::AccessibilityUIElement::attributesOfRows):
26700         (WTR::AccessibilityUIElement::attributesOfVisibleCells):
26701         (WTR::AccessibilityUIElement::attributesOfHeader):
26702         (WTR::AccessibilityUIElement::indexInTable):
26703         (WTR::AccessibilityUIElement::rowIndexRange):
26704         (WTR::AccessibilityUIElement::columnIndexRange):
26705         (WTR::AccessibilityUIElement::rowCount):
26706         (WTR::AccessibilityUIElement::columnCount):
26707         (WTR::AccessibilityUIElement::selectedRowAtIndex):
26708         (WTR::AccessibilityUIElement::disclosedByRow):
26709         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
26710         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
26711         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
26712         (WTR::AccessibilityUIElement::ariaIsGrabbed):
26713         (WTR::AccessibilityUIElement::ariaDropEffects):
26714         (WTR::AccessibilityUIElement::lineForIndex):
26715         (WTR::AccessibilityUIElement::rangeForLine):
26716         (WTR::AccessibilityUIElement::boundsForRange):
26717         (WTR::AccessibilityUIElement::setSelectedTextRange):
26718         (WTR::AccessibilityUIElement::stringForRange):
26719         (WTR::AccessibilityUIElement::attributedStringForRange):
26720         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
26721         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
26722         (WTR::AccessibilityUIElement::cellForColumnAndRow):
26723         (WTR::AccessibilityUIElement::horizontalScrollbar):
26724         (WTR::AccessibilityUIElement::verticalScrollbar):
26725         (WTR::AccessibilityUIElement::addNotificationListener):
26726         (WTR::AccessibilityUIElement::removeNotificationListener):
26727         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
26728         (WTR::AccessibilityUIElement::textMarkerRangeLength):
26729         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
26730         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
26731         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
26732         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
26733         (WTR::AccessibilityUIElement::textMarkerForPoint):
26734         (WTR::AccessibilityUIElement::previousTextMarker):
26735         (WTR::AccessibilityUIElement::nextTextMarker):
26736         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
26737         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: Added.
26738         (WTR::AccessibilityUIElement::platformUIElement):
26739         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl: Added.
26740         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl: Added.
26741         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl: Added.
26742         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: Added.
26743         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
26744         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
26745         (WTR::InjectedBundle::beginTesting):
26746         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
26747         (WTR::InjectedBundle::accessibilityController):
26748         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
26749         (WTR::InjectedBundlePage::didClearWindowForFrame):
26750         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
26751         * WebKitTestRunner/InjectedBundle/gtk/LayoutTestControllerGtk.cpp:
26752         (WTR::LayoutTestController::platformName):
26753         * WebKitTestRunner/InjectedBundle/mac/AccessibilityTextMarkerMac.mm: Added.
26754         (WTR::AccessibilityTextMarker::isEqual):
26755         * WebKitTestRunner/InjectedBundle/mac/AccessibilityTextMarkerRangeMac.mm: Added.
26756         (WTR::AccessibilityTextMarkerRange::isEqual):
26757         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: Added.
26758         (+[NSString stringWithJSStringRef:]):
26759         (-[NSString createJSStringRef]):
26760         (-[AccessibilityNotificationHandler initWithPlatformElement:]):
26761         (-[AccessibilityNotificationHandler dealloc]):
26762         (-[AccessibilityNotificationHandler _notificationReceived:]):
26763         (-[AccessibilityNotificationHandler setCallback:]):
26764         (WTR::AccessibilityUIElement::AccessibilityUIElement):
26765         (WTR::AccessibilityUIElement::~AccessibilityUIElement):
26766         (WTR::AccessibilityUIElement::isEqual):
26767         (WTR::descriptionOfValue):
26768         (WTR::attributesOfElement):
26769         (WTR::concatenateAttributeAndValue):
26770         (WTR::convertNSArrayToVector):
26771         (WTR::descriptionOfElements):
26772         (WTR::AccessibilityUIElement::getLinkedUIElements):
26773         (WTR::AccessibilityUIElement::getDocumentLinks):
26774         (WTR::AccessibilityUIElement::getChildren):
26775         (WTR::AccessibilityUIElement::getChildrenWithRange):
26776         (WTR::AccessibilityUIElement::childrenCount):
26777         (WTR::AccessibilityUIElement::elementAtPoint):
26778         (WTR::AccessibilityUIElement::indexOfChild):
26779         (WTR::AccessibilityUIElement::childAtIndex):
26780         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
26781         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
26782         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
26783         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
26784         (WTR::AccessibilityUIElement::selectedChildAtIndex):
26785         (WTR::AccessibilityUIElement::selectedChildrenCount):
26786         (WTR::AccessibilityUIElement::selectedRowAtIndex):
26787         (WTR::AccessibilityUIElement::titleUIElement):
26788         (WTR::AccessibilityUIElement::parentElement):
26789         (WTR::AccessibilityUIElement::disclosedByRow):
26790         (WTR::AccessibilityUIElement::attributesOfLinkedUIElements):
26791         (WTR::AccessibilityUIElement::attributesOfDocumentLinks):
26792         (WTR::AccessibilityUIElement::attributesOfChildren):
26793         (WTR::AccessibilityUIElement::allAttributes):
26794         (WTR::AccessibilityUIElement::stringAttributeValue):
26795         (WTR::AccessibilityUIElement::numberAttributeValue):
26796         (WTR::AccessibilityUIElement::uiElementAttributeValue):
26797         (WTR::AccessibilityUIElement::boolAttributeValue):
26798         (WTR::AccessibilityUIElement::isAttributeSettable):
26799         (WTR::AccessibilityUIElement::isAttributeSupported):
26800         (WTR::AccessibilityUIElement::parameterizedAttributeNames):
26801         (WTR::AccessibilityUIElement::role):
26802         (WTR::AccessibilityUIElement::subrole):
26803         (WTR::AccessibilityUIElement::roleDescription):
26804         (WTR::AccessibilityUIElement::title):
26805         (WTR::AccessibilityUIElement::description):
26806         (WTR::AccessibilityUIElement::orientation):
26807         (WTR::AccessibilityUIElement::stringValue):
26808         (WTR::AccessibilityUIElement::language):
26809         (WTR::AccessibilityUIElement::helpText):
26810         (WTR::AccessibilityUIElement::x):
26811         (WTR::AccessibilityUIElement::y):
26812         (WTR::AccessibilityUIElement::width):
26813         (WTR::AccessibilityUIElement::height):
26814         (WTR::AccessibilityUIElement::clickPointX):
26815         (WTR::AccessibilityUIElement::clickPointY):
26816         (WTR::AccessibilityUIElement::intValue):
26817         (WTR::AccessibilityUIElement::minValue):
26818         (WTR::AccessibilityUIElement::maxValue):
26819         (WTR::AccessibilityUIElement::valueDescription):
26820         (WTR::AccessibilityUIElement::insertionPointLineNumber):
26821         (WTR::AccessibilityUIElement::isActionSupported):
26822         (WTR::AccessibilityUIElement::isEnabled):
26823         (WTR::AccessibilityUIElement::isRequired):
26824         (WTR::AccessibilityUIElement::isFocused):
26825         (WTR::AccessibilityUIElement::isSelected):
26826         (WTR::AccessibilityUIElement::isExpanded):
26827         (WTR::AccessibilityUIElement::isChecked):
26828         (WTR::AccessibilityUIElement::hierarchicalLevel):
26829         (WTR::AccessibilityUIElement::speak):
26830         (WTR::AccessibilityUIElement::ariaIsGrabbed):
26831         (WTR::AccessibilityUIElement::ariaDropEffects):
26832         (WTR::AccessibilityUIElement::lineForIndex):
26833         (WTR::AccessibilityUIElement::rangeForLine):
26834         (WTR::AccessibilityUIElement::boundsForRange):
26835         (WTR::AccessibilityUIElement::stringForRange):
26836         (WTR::AccessibilityUIElement::attributedStringForRange):
26837         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
26838         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
26839         (WTR::AccessibilityUIElement::attributesOfColumnHeaders):
26840         (WTR::AccessibilityUIElement::attributesOfRowHeaders):
26841         (WTR::AccessibilityUIElement::attributesOfColumns):
26842         (WTR::AccessibilityUIElement::attributesOfRows):
26843         (WTR::AccessibilityUIElement::attributesOfVisibleCells):
26844         (WTR::AccessibilityUIElement::attributesOfHeader):
26845         (WTR::AccessibilityUIElement::rowCount):
26846         (WTR::AccessibilityUIElement::columnCount):
26847         (WTR::AccessibilityUIElement::indexInTable):
26848         (WTR::AccessibilityUIElement::rowIndexRange):
26849         (WTR::AccessibilityUIElement::columnIndexRange):
26850         (WTR::AccessibilityUIElement::cellForColumnAndRow):
26851         (WTR::AccessibilityUIElement::horizontalScrollbar):
26852         (WTR::AccessibilityUIElement::verticalScrollbar):
26853         (WTR::AccessibilityUIElement::selectedTextRange):
26854         (WTR::AccessibilityUIElement::setSelectedTextRange):
26855         (WTR::AccessibilityUIElement::increment):
26856         (WTR::AccessibilityUIElement::decrement):
26857         (WTR::AccessibilityUIElement::showMenu):
26858         (WTR::AccessibilityUIElement::press):
26859         (WTR::AccessibilityUIElement::setSelectedChild):
26860         (WTR::AccessibilityUIElement::accessibilityValue):
26861         (WTR::AccessibilityUIElement::documentEncoding):
26862         (WTR::AccessibilityUIElement::documentURI):
26863         (WTR::AccessibilityUIElement::url):
26864         (WTR::AccessibilityUIElement::addNotificationListener):
26865         (WTR::AccessibilityUIElement::removeNotificationListener):
26866         (WTR::AccessibilityUIElement::isFocusable):
26867         (WTR::AccessibilityUIElement::isSelectable):
26868         (WTR::AccessibilityUIElement::isMultiSelectable):
26869         (WTR::AccessibilityUIElement::isVisible):
26870         (WTR::AccessibilityUIElement::isOffScreen):
26871         (WTR::AccessibilityUIElement::isCollapsed):
26872         (WTR::AccessibilityUIElement::isIgnored):
26873         (WTR::AccessibilityUIElement::hasPopup):
26874         (WTR::AccessibilityUIElement::takeFocus):
26875         (WTR::AccessibilityUIElement::takeSelection):
26876         (WTR::AccessibilityUIElement::addSelection):
26877         (WTR::AccessibilityUIElement::removeSelection):
26878         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
26879         (WTR::AccessibilityUIElement::textMarkerRangeLength):
26880         (WTR::AccessibilityUIElement::previousTextMarker):
26881         (WTR::AccessibilityUIElement::nextTextMarker):
26882         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
26883         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
26884         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
26885         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
26886         (WTR::AccessibilityUIElement::textMarkerForPoint):
26887         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
26888         * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
26889         (WTR::LayoutTestController::platformName):
26890         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
26891         (WTR::LayoutTestController::platformName):
26892         * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
26893         (WTR::LayoutTestController::platformName):
26894         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
26895         * WebKitTestRunner/win/InjectedBundle.vcproj:
26896
26897 2011-11-16  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
26898
26899         [Qt] Fix use of config.tests
26900
26901         We were checking @buildArgs to determine if the optional argument was
26902         passed or not, but this is not the right way to do that in Perl. The
26903         right way is to not use a prototype for the function, and to pass
26904         the list as a reference (to avoid list expansion). That way we can
26905         check the number of arguments, and choose the right code path based
26906         on that.
26907
26908         We were also missing a default-value of 0 for any feature that's not
26909         set in features.prf.
26910
26911         Reviewed by Kenneth Rohde Christiansen.
26912
26913         * Scripts/build-webkit:
26914         * Scripts/webkitdirs.pm:
26915         (qtFeatureDefaults):
26916         (buildQMakeProject):
26917
26918 2011-11-16  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
26919
26920         [Qt] Prospective fix for broken plugin tests
26921
26922         Don't hide symbols for the NPAPI test plugin
26923
26924         Rubber-stamped by Andreas Kling.
26925
26926         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
26927
26928 2011-11-16  Adam Roben  <aroben@apple.com>
26929
26930         Move filenames/line numbers off to the right edge in Leaks Viewer
26931
26932         Fixes <http://webkit.org/b/72510> Callstacks in Leaks Viewer are a little hard to read
26933         because filenames/line numbers are right next to function names
26934
26935         Reviewed by Andreas Kling.
26936
26937         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserImpl.js:
26938         (LeaksParserImpl.prototype._createNode): Separate the filename and line number out from the
26939         function name. Use the filename as the profile node's URL (we don't have enough info to
26940         compute a real URL currently) and the line number as the profile node's line number so the
26941         Inspector code will put them on the right side of the callstack graph.
26942
26943         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js:
26944         (WebInspector.displayNameForURL): Stubbed this out. For now we don't ever get any URLs
26945         passed here, just filenames.
26946
26947         (WebInspector.linkifyURLAsNode):
26948         (WebInspector.linkifyResourceAsNode):
26949         Copied and slightly modified from inspector.js.
26950
26951 2011-11-16  Adam Roben  <aroben@apple.com>
26952
26953         Make Leaks Viewer load builds from the new Lion Leaks bot
26954
26955         Fixes <http://webkit.org/b/72507> REGRESSION: Leaks Viewer no longer shows recent leaky builds
26956
26957         Reviewed by Andreas Kling.
26958
26959         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
26960         (LeaksViewer._displayURLPrompt): Use the Lion Leaks bot instead of the nonexistent
26961         SnowLeopard one.
26962
26963 2011-11-16  Raphael Kubo da Costa  <kubo@profusion.mobi>
26964
26965         [EFL] Clean up the offline apps-related functions in ewk_settings.
26966         https://bugs.webkit.org/show_bug.cgi?id=72132
26967
26968         Reviewed by Kenneth Rohde Christiansen.
26969
26970         `ewk_settings_cache' and `ewk_view_setting_cache' are too common
26971         prefixes for code that is related only to the HTML5 app cache
26972         features.
26973
26974         Use `ewk_settings_application_cache' and
26975         `ewk_view_setting_application_cache' instead.
26976
26977         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
26978         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
26979
26980 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
26981
26982         [Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions
26983
26984         Reviewed by Tor Arne Vestbø.
26985
26986         * qmake/mkspecs/features/default_post.prf: Place the common hide_symbols and -Bsymbolic-functions
26987         magic here where we handle all TEMPLATE = lib .pro files (except plugins).
26988         * WebKitTestRunner/InjectedBundle/Target.pri: Mark the injected bundle as plugin, which also
26989         removes the .so.0.0.0 and just produces .so.
26990
26991 2011-11-16  Peter Beverloo  <peter@chromium.org>
26992
26993         Explicitly include unistd.h in TestNetscapePlugIn
26994         https://bugs.webkit.org/show_bug.cgi?id=72385
26995
26996         This is needed for the sleep() call in the indicateTestFailure method,
26997         which seems to be implicitly available for other platforms. This is not
26998         the case on Android.
26999
27000         Reviewed by Steve Block.
27001
27002         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
27003
27004 2011-11-16  Peter Beverloo  <peter@chromium.org>
27005
27006         [Chromium] Update the Android NDK version being pulled in by update-webkit-chromium
27007         https://bugs.webkit.org/show_bug.cgi?id=72384
27008
27009         Update to Android NDK r7, which was released last Friday. This adds
27010         support for RTTI and the -mimplicit-it gcc flag, which are required to
27011         respectively build ICU and Skia.
27012
27013         Reviewed by Steve Block.
27014
27015         * Scripts/update-webkit-chromium:
27016         * Scripts/webkitdirs.pm:
27017         (buildChromiumMakefile):
27018
27019 2011-11-16  Simon Hausmann  <simon.hausmann@nokia.com>
27020
27021         Unreviewed, rolling out r100266.
27022         http://trac.webkit.org/changeset/100266
27023
27024         Broke WTR.
27025
27026         * qmake/mkspecs/features/default_post.prf:
27027
27028 2011-11-16  Eric Seidel  <eric@webkit.org>
27029
27030         check-webkit-style broken by r99773: "Could not determine the port"
27031         https://bugs.webkit.org/show_bug.cgi?id=72275
27032
27033         Reviewed by Adam Barth.
27034
27035         I will continue engaging hacks, until windows improves.
27036
27037         * Scripts/webkitpy/common/host.py:
27038          - Host uses self.executive instead of self._executive like Port does.
27039          - I wanted to test this, but it mutates global state -- thus impossible to unittest at this time.
27040
27041 2011-11-16  Eric Seidel  <eric@webkit.org>
27042
27043         check-webkit-style broken by r99773: "Could not determine the port"
27044         https://bugs.webkit.org/show_bug.cgi?id=72275
27045
27046         Reviewed by Adam Barth.
27047
27048         Engage windows hacks harder.
27049
27050         This is a speculative fix for ChromiumWin.  We're now
27051         creating an SCM object much earlier, so we need to
27052         engage our "awesome" windows hacks earlier.
27053
27054         * Scripts/webkitpy/common/host.py:
27055         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
27056
27057 2011-11-15  Darin Adler  <darin@apple.com>
27058
27059         DRT's uiElementAttributeValueCallback function is leaky
27060         https://bugs.webkit.org/show_bug.cgi?id=72453
27061
27062         Reviewed by Dan Bernstein.
27063
27064         * DumpRenderTree/AccessibilityUIElement.cpp:
27065         (uiElementAttributeValueCallback): Use JSRetainPtr and don't leak.
27066
27067 2011-11-14  Ryosuke Niwa  <rniwa@webkit.org>
27068
27069         Implement edit-distance based reviewer recognition algorithm
27070         https://bugs.webkit.org/show_bug.cgi?id=72351
27071
27072         Reviewed by Eric Seidel.
27073
27074         Implement an algorithm to recognize reviewer's name based on its edit distance (or more precisely
27075         its Levenshtein distance) to each reviewer's full name, first, last and middle names, and IRC nicknames.
27076         Furthermore, we cap the maximum edit distance at len(name) - 1 to avoid matching a bogus string like
27077         "build fix" to a reviewer's name (e.g. with with edit distance 9).
27078
27079         This algorithm is implemented in CommitterList.contributors_by_fuzzy_match. The function to compute
27080         the edit distance is implemented in edit_distance.py.
27081
27082         Also moved _has_valid_reviewer from ValidateReviewer to ChangeLogEntry because we can no longer rely
27083         on the presence of ChangeLogEntry.reviewer() to verify that reviewer string is nicely formatted.
27084
27085         * Scripts/webkitpy/common/checkout/changelog.py:
27086         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
27087         * Scripts/webkitpy/common/config/committers.py:
27088         * Scripts/webkitpy/common/config/committers_unittest.py:
27089         * Scripts/webkitpy/common/editdistance.py: Added.
27090         * Scripts/webkitpy/common/editdistance_unittest.py: Added.
27091         * Scripts/webkitpy/tool/steps/validatereviewer.py:
27092         * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py: Removed.
27093
27094 2011-11-15  Tony Chang  <tony@chromium.org>
27095
27096         Skip a failing webkitpy test on cygwin.
27097
27098         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
27099
27100 2011-11-15  Sam Weinig  <sam@webkit.org>
27101
27102         TestWebKitAPI should not put its resources in the root products directory
27103         https://bugs.webkit.org/show_bug.cgi?id=72446
27104
27105         Reviewed by Anders Carlsson.
27106
27107         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
27108         Change the copy resources phase to place the resources in a TestWebKitAPI.resources
27109         directory.
27110
27111         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:
27112         (TEST_F):
27113         * TestWebKitAPI/Tests/mac/DOMRangeOfString.mm:
27114         (TestWebKitAPI::TEST):
27115         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
27116         (TestWebKitAPI::DeviceScaleFactorOnBack::url):
27117         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
27118         (TestWebKitAPI::DynamicDeviceScaleFactor::url):
27119         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
27120         (TestWebKitAPI::Util::createURLForResource):
27121         Update calls to retrieve files from the bundle to look in the newly
27122         created subdirectory.
27123
27124 2011-11-15  Tony Chang  <tony@chromium.org>
27125
27126         Fix a webkitpy test caused by renaming the accelerate-video flag in r100355.
27127
27128         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
27129
27130 2011-11-15  Tony Chang  <tony@chromium.org>
27131
27132         Unreviewed, fix test-webkitpy tests.  Move the check for image results
27133         earlier.
27134
27135         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
27136         * Scripts/webkitpy/layout_tests/port/webkit.py:
27137
27138 2011-11-15  James Robinson  <jamesr@chromium.org>
27139
27140         [chromium] Fix flag name in chromium DumpRenderTree for accelerated video trigger
27141         https://bugs.webkit.org/show_bug.cgi?id=72444
27142
27143         Reviewed by Adam Barth.
27144
27145         * DumpRenderTree/chromium/DumpRenderTree.cpp:
27146
27147 2011-11-15  Tony Chang  <tony@chromium.org>
27148
27149         Unreviewed, better fix for ref tests failures on SL Intel bot.
27150         Revert the previous change and return None if pixel results from
27151         either the test page or the expected page is missing.
27152
27153         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
27154         * Scripts/webkitpy/layout_tests/port/webkit.py:
27155
27156 2011-11-15  James Robinson  <jamesr@chromium.org>
27157
27158         [chromium] Merge chromium-gpu layout test configurations into non-gpu versions
27159         https://bugs.webkit.org/show_bug.cgi?id=72402
27160
27161         Reviewed by Dirk Pranke.
27162
27163         Allows the compositing layout tests to run in the normal layout test run. This sets the default compositing
27164         triggers in DumpRenderTree to more closely match what we use in Chromium. There are two exceptions, canvas 2d
27165         and video (media) are still controlled by an explicit trigger so that they are true when platform=chromium-gpu
27166         and false otherwise, so that we can run the same set of tests in both configurations. This isn't necessary for
27167         the normal compositing triggers since we currently run the compositing tests in only one configuration - with
27168         compositing enabled.
27169
27170         Since the compositing tests are currently marked WONTFIX SKIP on non-GPU platforms in test_expectations.txt this
27171         patch should not impact any tests.
27172
27173         * DumpRenderTree/chromium/DumpRenderTree.cpp:
27174         (main):
27175         * DumpRenderTree/chromium/TestShell.cpp:
27176         (TestShell::TestShell):
27177         (TestShell::resetWebSettings):
27178         * DumpRenderTree/chromium/TestShell.h:
27179         (TestShell::setAcceleratedCompositingForVideoEnabled):
27180         * DumpRenderTree/chromium/WebPreferences.cpp:
27181         (WebPreferences::reset):
27182         (WebPreferences::applyTo):
27183         * DumpRenderTree/chromium/WebPreferences.h:
27184         * Scripts/webkitpy/layout_tests/port/chromium.py:
27185         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
27186         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
27187
27188 2011-11-15  Tony Chang  <tony@chromium.org>
27189
27190         Unreviewed, try to fix ref tests failures on SL Intel bot.
27191         It looks like ImageDiff isn't returning an image diff.
27192
27193         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
27194
27195 2011-11-15  Tony Chang  <tony@chromium.org>
27196
27197         Unreviewed fix of ref-tests on GTK+.
27198         If a driver is never started, _xvfb_process is never set.
27199
27200         * Scripts/webkitpy/layout_tests/port/gtk.py:
27201
27202 2011-11-14  Tony Chang  <tony@chromium.org>
27203
27204         [NRWT] Reftests should run even when pixel tests are disabled.
27205         https://bugs.webkit.org/show_bug.cgi?id=60605
27206
27207         Reviewed by Dirk Pranke.
27208
27209         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: Only skip ref tests if --no-ref-tests is passed.
27210             Also add an assert to make sure we get image hashes back when running ref tests.
27211         * Scripts/webkitpy/layout_tests/controllers/worker.py: Use Driver.has_crashed() instead of poll().
27212         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
27213         * Scripts/webkitpy/layout_tests/port/chromium.py: Use DriverProxy.
27214         * Scripts/webkitpy/layout_tests/port/driver.py: Add DriverProxy which does the work
27215             of starting a pixel driver if needed.  It handles the logic of sending the test
27216             to the correct driver.  Also renamed Driver.poll() to Driver.has_crashed().
27217         * Scripts/webkitpy/layout_tests/port/dryrun.py:
27218         * Scripts/webkitpy/layout_tests/port/test.py: Switch to using DriverProxy so we get test coverage.
27219         * Scripts/webkitpy/layout_tests/port/webkit.py:
27220         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Add --no-ref-tests.
27221         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py: Test --no-ref-tests.
27222
27223 2011-11-15  David Kilzer  <ddkilzer@apple.com>
27224
27225         Don't use File::Slurp for run-leaks unit tests
27226         <http://webkit.org/b/72356>
27227
27228         Reviewed by Daniel Bates.
27229
27230         * Scripts/webkitperl/run-leaks_unittest/RunLeaks.pm: Added.
27231         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl:
27232         Extracted common package logic into RunLeaks.pm.  Fixed call to
27233         RunLeaks::parseLeaksOutput().
27234         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl: Ditto.
27235         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl: Ditto.
27236
27237 2011-11-15  Peter Kasting  <pkasting@google.com>
27238
27239         Handle svn 1.7 when detecting whether a directory is in an svn checkout.
27240         https://bugs.webkit.org/show_bug.cgi?id=72349
27241
27242         Reviewed by Adam Roben.
27243
27244         * Scripts/VCSUtils.pm:
27245         (isSVNDirectory):
27246
27247 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
27248
27249         [Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions
27250
27251         Reviewed by Tor Arne Vestbø.
27252
27253         * qmake/mkspecs/features/default_post.prf: Place the common hide_symbols and -Bsymbolic-functions
27254         magic here where we handle all TEMPLATE = lib .pro files.
27255
27256 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
27257
27258         [Qt] Unreviewed prospective --minimal build fix.
27259
27260         * DumpRenderTree/qt/DumpRenderTree.pro: Avoid USE_SYSTEM_MALLOC=0
27261         and USE_SYSTEM_MALLOC=1 appearing in DEFINES at the same time.
27262
27263 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
27264
27265         [Qt] Unreviewed --minimal build fix.
27266
27267         * Scripts/build-webkit: Add to DEFINES+= from @options only if there is
27268         a define. The "coverage" option doesn't have one, causing "DEFINES+= =0"
27269         to make moc's preprocessor abort.
27270
27271 2011-11-14  Raphael Kubo da Costa  <kubo@profusion.mobi>
27272
27273         build-webkit: Accept --cmakearg to pass additional arguments to CMake.
27274         https://bugs.webkit.org/show_bug.cgi?id=72156
27275
27276         Reviewed by Daniel Bates.
27277
27278         Similar to --makearg and --qmakearg, --cmakearg lets one pass
27279         additional arguments to CMake (eg. --cmakearg="-DFOO=bar").
27280
27281         * Scripts/build-webkit:
27282         * Scripts/webkitdirs.pm:
27283         (generateBuildSystemFromCMakeProject):
27284
27285 2011-11-14  Ryosuke Niwa  <rniwa@webkit.org>
27286
27287         Improve ChangeLogEntry's reviewer parsing algorithm part 2
27288         https://bugs.webkit.org/show_bug.cgi?id=72340
27289
27290         Reviewed by Eric Seidel.
27291
27292         This patch improves the recognition of NOBODY, wrestler names, and parenthesized clauses,
27293         and prepares ChangeLogEntry to support edit-distance-based reviewer-name recognition.
27294
27295         * Scripts/webkitpy/common/checkout/changelog.py:
27296         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
27297
27298 2011-11-14  Eric Seidel  <eric@webkit.org>
27299
27300         check-webkit-style broken by r99773: "Could not determine the port"
27301         https://bugs.webkit.org/show_bug.cgi?id=72275
27302
27303         Reviewed by Adam Barth.
27304
27305         The TestExpectationsChecker was using a generic try/except block
27306         which caught all exceptions, so we didn't notice that failing
27307         to pass a Host to PortFactory was causing an exception in port instantiation.
27308         I've factored out the "lookup the port" logic into a separate function
27309         which I've now unittested.  This should fix the bug and prevent
27310         others like it from occuring the the future.
27311
27312         * Scripts/webkitpy/style/checkers/test_expectations.py:
27313         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
27314
27315 2011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
27316
27317         Add --css-grid-layout to build-webkit and the build systems
27318         https://bugs.webkit.org/show_bug.cgi?id=72320
27319
27320         Reviewed by Ojan Vafai.
27321
27322         * Scripts/build-webkit:
27323         Added the option.
27324
27325 2011-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
27326
27327         Unreviewed, rolling out r100192.
27328         http://trac.webkit.org/changeset/100192
27329         https://bugs.webkit.org/show_bug.cgi?id=72328
27330
27331         Caused infinite tests to fail (Requested by abarth on
27332         #webkit).
27333
27334         * Scripts/webkitpy/layout_tests/port/base.py:
27335         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
27336
27337 2011-11-14  Tony Chang  <tony@chromium.org>
27338
27339         Remove the CSS3_FLEXBOX compile time flag and enable on all ports
27340         https://bugs.webkit.org/show_bug.cgi?id=72196
27341
27342         Reviewed by Ojan Vafai.
27343
27344         * Scripts/build-webkit:
27345
27346 2011-11-14  John Yani  <vanuan@gmail.com>
27347
27348         new-run-webkit-tests should not be locale dependent https://bugs.webkit.org/show_bug.cgi?id=68691
27349         Override LOCALE to en_US.
27350
27351         Reviewed by Eric Seidel.
27352
27353         * Scripts/webkitpy/layout_tests/port/base.py:
27354
27355 2011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
27356
27357         [Chromium] build-webkit silently drops the features flags
27358         https://bugs.webkit.org/show_bug.cgi?id=72293
27359
27360         Reviewed by Tony Chang.
27361
27362         Chromium still ignores @features but now we give a warning!
27363
27364         * Scripts/build-webkit: Check if one of the features is different
27365         from the default and print a warning in this case.
27366
27367 2011-11-14  David Kilzer  <ddkilzer@apple.com>
27368
27369         run-leaks does not work on Lion?
27370         <http://webkit.org/b/71059>
27371         <rdar://problem/10428527>
27372
27373         Reviewed by Adam Roben.
27374
27375         The output of leaks(1) changed again in Lion to move the
27376         "leaks Report Version: 2.0" line from the first line of the
27377         output to just above the "Process " lines that run-leaks is
27378         interested in parsing.  This required using a more generic
27379         algorithm to find the start of the "Process " lines.
27380
27381         * Scripts/run-leaks:
27382         (parseLeaksOutput): Make the code to skip headers more generic.
27383         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl: Added.
27384         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl: Added.
27385         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl: Added.
27386
27387 2011-11-14  Lei Zhang  <thestig@chromium.org>
27388
27389         Missing include in Tools/DumpRenderTree/chromium/AccessibilityUIElement.h:
27390         https://bugs.webkit.org/show_bug.cgi?id=72088
27391
27392         Reviewed by Tony Chang.
27393
27394         * DumpRenderTree/chromium/AccessibilityUIElement.h:
27395
27396 2011-11-14  Andrew Scherkus  <scherkus@chromium.org>
27397
27398         [Chromium] Skip media layout tests on chromium-gpu-cg-mac-leopard platform
27399         https://bugs.webkit.org/show_bug.cgi?id=72147
27400
27401         Reviewed by Adam Barth.
27402
27403         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
27404
27405 2011-11-14  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
27406
27407         [Qt] Move the QtWebKit module file to match the layout of Qt's mkspecs
27408
27409         Reviewed by Simon Hausmann.
27410
27411         * qmake/mkspecs/modules/qt_webkit.pri: Renamed from Tools/qmake/qt_webkit.pri.
27412
27413 2011-11-14  Simon Hausmann  <simon.hausmann@nokia.com>
27414
27415         [Qt] Disable plugins on X11 for WK2
27416
27417         Reviewed by Kenneth Rohde Christiansen.
27418
27419         Currently plugins are in-process and they crash in the likely case of
27420         a plugin installation that uses Qt 4, which beautifully clashes with the
27421         Qt 5 based QtWebProcess.
27422
27423         * qmake/mkspecs/features/features.prf:
27424
27425 2011-11-14  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
27426
27427         [Qt] Add support for config tests for Qt 5
27428
27429         This allows us to build and run configure-tests at build
27430         time to determine if a given platform feature is available.
27431
27432         Reviewed by Simon Hausmann.
27433
27434         * Scripts/build-webkit:
27435         * Scripts/webkitdirs.pm:
27436         (qtFeatureDefaults):
27437         * qmake/configure.pro: Added.
27438         * qmake/mkspecs/features/features.prf:
27439         * qmake/sync.profile: Added.
27440
27441 2011-11-11  Pierre Rossi  <pierre.rossi@gmail.com>
27442
27443         [Qt] Remove the QStyle dependency in Qt's mobile theme
27444         https://bugs.webkit.org/show_bug.cgi?id=67773
27445
27446         This refactoring splits up RenderThemeQt with two
27447         subclasses, a QStyle-backed one, and a Mobile version
27448         that uses the old mobile theme for now.
27449
27450         QStyle availability is detected at compile time, and
27451         its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
27452         environment variable.
27453
27454         Reviewed by Simon Hausmann.
27455
27456         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
27457         (WTR::activateFonts):
27458         * qmake/mkspecs/features/features.prf: HAVE_QSTYLE detection,
27459         based on availability of QtWidgets.
27460         * qmake/mkspecs/features/webcore.prf: cleanup.
27461
27462 2011-11-14  Tony Gentilcore  <tonyg@chromium.org>
27463
27464         Unreviewed, rolling out r100116.
27465         http://trac.webkit.org/changeset/100116
27466
27467         r100104 was rolled out, so no longer needed
27468
27469         * Scripts/run-bindings-tests:
27470
27471 2011-11-14  Tony Gentilcore  <tonyg@chromium.org>
27472
27473         Unreviewed, rolling out r100104.
27474         http://trac.webkit.org/changeset/100104
27475         https://bugs.webkit.org/show_bug.cgi?id=72247
27476
27477         broke windows builds
27478
27479         * Scripts/check-webkit-style:
27480         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
27481         * Scripts/webkitpy/common/checkout/deps.py:
27482         * Scripts/webkitpy/common/checkout/scm/__init__.py:
27483         * Scripts/webkitpy/common/checkout/scm/detection.py:
27484         * Scripts/webkitpy/common/checkout/scm/git.py:
27485         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
27486         * Scripts/webkitpy/common/checkout/scm/svn.py:
27487         * Scripts/webkitpy/common/host.py:
27488         * Scripts/webkitpy/common/host_mock.py:
27489         * Scripts/webkitpy/layout_tests/controllers/manager.py:
27490         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
27491         * Scripts/webkitpy/layout_tests/port/base.py:
27492         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
27493         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
27494         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
27495         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
27496
27497 2011-11-14  Philippe Normand  <pnormand@igalia.com>
27498
27499         Unreviewed, build fix after r100104. run-binding-tests broke.
27500
27501         * Scripts/run-bindings-tests: Explicitely use scm.detection.
27502
27503 2011-11-13  Eric Seidel  <eric@webkit.org>
27504
27505         Add SCMDetector object to make scm detection mockable
27506         https://bugs.webkit.org/show_bug.cgi?id=72247
27507
27508         Reviewed by Adam Barth.
27509
27510         I think SCM detection may eventually be rolled into Checkout,
27511         but this patch at least makes it possible to mock code-paths
27512         which rely on scm detection.
27513         In the process of replacing callers of these free-functions
27514         I found that one of the functions was no longer used,
27515         and that one of the callers could instead just use the SCM
27516         object it already had access to through port.host.scm().
27517         I also discovered that I was not calling Host._initialize_scm()
27518         and thus host.scm() was always returning None!
27519
27520         * Scripts/check-webkit-style:
27521         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
27522         * Scripts/webkitpy/common/checkout/deps.py:
27523         * Scripts/webkitpy/common/checkout/scm/__init__.py:
27524         * Scripts/webkitpy/common/checkout/scm/detection.py:
27525         * Scripts/webkitpy/common/checkout/scm/git.py:
27526         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
27527         * Scripts/webkitpy/common/checkout/scm/svn.py:
27528         * Scripts/webkitpy/common/host.py:
27529         * Scripts/webkitpy/common/host_mock.py:
27530         * Scripts/webkitpy/layout_tests/controllers/manager.py:
27531         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
27532         * Scripts/webkitpy/layout_tests/port/base.py:
27533         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
27534         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
27535         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
27536         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
27537
27538 2011-11-13  Gavin Peters  <gavinp@chromium.org>
27539
27540         command line control of webcore log channels in chromium DumpRenderTree
27541         https://bugs.webkit.org/show_bug.cgi?id=72126
27542         
27543         The option --webcore-log-channels=<foo>,<bar>,<quux> is the same as
27544         what chromium takes.
27545
27546         Reviewed by Kent Tamura.
27547
27548         * DumpRenderTree/chromium/DumpRenderTree.cpp:
27549         (main):
27550
27551 2011-11-12  Ariya Hidayat  <ariya@sencha.com>
27552
27553         [Qt] Fix minor config typo in the build tool documentation
27554         https://bugs.webkit.org/show_bug.cgi?id=72194
27555
27556         Reviewed by Andreas Kling.
27557
27558         * qmake/README:
27559
27560 2011-11-11  Stephen Chenney  <schenney@chromium.org>
27561
27562         [Chromium] DRT does not have LayoutTestController.pageSizeAndMarginsInPixels
27563         https://bugs.webkit.org/show_bug.cgi?id=49257
27564
27565         Adds the remaining missing layout test functionality for printing.
27566
27567         Reviewed by Darin Fisher.
27568
27569         * DumpRenderTree/chromium/LayoutTestController.cpp:
27570         (LayoutTestController::LayoutTestController): Add bindings for new JS methods
27571         (parsePageNumber): Method to parse JS arguments for a page number
27572         (parsePageNumberSizeMargins): Method to parse JS arguments for page size and margins
27573         (LayoutTestController::pageSizeAndMarginsInPixels): Get the page size and margins for a given page.
27574         (LayoutTestController::isPageBoxVisible): get the visibility status for printing
27575         (LayoutTestController::pageProperty): get a specific CSS property when in printing mode
27576         * DumpRenderTree/chromium/LayoutTestController.h: Add declarations for new methods
27577
27578 2011-11-11  Darin Adler  <darin@apple.com>
27579
27580         Remove all releaseRef implementations except for RetainPtr
27581         https://bugs.webkit.org/show_bug.cgi?id=71423
27582
27583         Reviewed by Julien Chaffraix.
27584
27585         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
27586         (createXMLStringFromWebArchiveData): Use leakRef instead of releaseRef.
27587
27588 2011-11-11  Ryosuke Niwa  <rniwa@webkit.org>
27589
27590         Make ChangeLogEntry's reviewer parsing algorithm support last 4 WebCore change logs
27591         https://bugs.webkit.org/show_bug.cgi?id=72090
27592
27593         Reviewed by Eric Seidel.
27594
27595         Significantly improve ChangeLogEntry's reviewer parsing algorithm. This version can successfully parse
27596         ChangeLog, ChangeLog-2011-10-19, ChangeLog-2011-06-04, ChangeLog-2011-02-16, and ChangeLog-2010-12-06.
27597
27598         yay! r100002.
27599
27600         * Scripts/webkitpy/common/checkout/changelog.py:
27601         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
27602
27603 2011-11-11  Tony Chang  <tony@chromium.org>
27604
27605         Remove --force from gclient sync.  The bots seem to have made it past
27606         the update step.
27607
27608         * Scripts/update-webkit:
27609
27610 2011-11-11  Tony Chang  <tony@chromium.org>
27611
27612         Add --force to gclient sync. Once the cq bots cycle, we can remove
27613         this since it slows down the normal sync.
27614
27615         * Scripts/update-webkit:
27616
27617 2011-11-11  Marc-Antoine Ruel  <maruel@chromium.org>
27618
27619         When --force is used, also use --reset
27620         https://bugs.webkit.org/show_bug.cgi?id=72129
27621
27622         Reviewed by Dimitri Glazkov.
27623
27624         * Scripts/update-webkit-chromium:
27625
27626 2011-11-11  Tony Chang  <tony@chromium.org>
27627
27628         allow two chromium drivers to run at the same time in NRWT
27629         https://bugs.webkit.org/show_bug.cgi?id=72067
27630
27631         Reviewed by Dirk Pranke.
27632
27633         * Scripts/webkitpy/layout_tests/port/chromium.py: close_fds=True on
27634             posix prevents the subprocesses from sharing the same fd for stdin.
27635             Sharing the same fd prevents us from closing the files unless all references
27636             to the fd are closed.
27637         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: In addition
27638             to adding a test for this, speed up a test (from 3sec to 0) by fixing
27639             the timeout override. It looks like it regressed in r95875.
27640
27641 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
27642
27643         Unreviewed, rolling out r99964.
27644         http://trac.webkit.org/changeset/99964
27645         https://bugs.webkit.org/show_bug.cgi?id=72124
27646
27647         Broke too many Qt tests (Requested by tronical_ on #webkit).
27648
27649         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
27650         (WTR::activateFonts):
27651         * qmake/mkspecs/features/features.prf:
27652         * qmake/mkspecs/features/webcore.prf:
27653
27654 2011-11-11  Pierre Rossi  <pierre.rossi@gmail.com>
27655
27656         [Qt] Remove the QStyle dependency in Qt's mobile theme
27657         https://bugs.webkit.org/show_bug.cgi?id=67773
27658
27659         This refactoring splits up RenderThemeQt with two
27660         subclasses, a QStyle-backed one, and a Mobile version
27661         that uses the old mobile theme for now.
27662
27663         QStyle availability is detected at compile time, and
27664         its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
27665         environment variable.
27666
27667         Reviewed by Simon Hausmann.
27668
27669         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
27670         (WTR::activateFonts):
27671         * qmake/mkspecs/features/features.prf: HAVE_QSTYLE detection,
27672         based on availability of QtWidgets.
27673         * qmake/mkspecs/features/webcore.prf: cleanup.
27674
27675 2011-11-11  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
27676
27677         [Qt] Add missing include to PlatformWebViewQt
27678
27679         Reviewed by Simon Hausmann.
27680
27681         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
27682
27683 2011-11-11  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
27684
27685         [Qt] Fix incremental builds on Windows after buildsystem refactor
27686
27687         The qmake rules to ensure that we run make on the derived sources
27688         before running qmake on the target were inside a unix-scope, which
27689         resulted in flakey builds on Windows.
27690
27691         We now generate a rule on all platforms that ensures that "make qmake"
27692         will always run make on the derived sources. In addition, on platforms
27693         that have GNU make (where "make incremental" does not run "make qmake",
27694         but only "make"), we add a similar rule that ensures that any time the
27695         target makefile is regenerated we first run qmake and make on the derived
27696         sources. This rule relies on GNU make's order-only-prerequisites to
27697         not trigger a qmake-run of the target every time we run make.
27698
27699         https://bugs.webkit.org/show_bug.cgi?id=71778
27700
27701         Reviewed by Simon Hausmann.
27702
27703         * qmake/mkspecs/features/functions.prf:
27704
27705 2011-11-11  Simon Hausmann  <simon.hausmann@nokia.com>
27706
27707         [Qt][WK2] Remove QWebNavigationController
27708         https://bugs.webkit.org/show_bug.cgi?id=72113
27709
27710         Reviewed by Andreas Kling.
27711
27712         Adapt to the move of the QWebNavigationController functions/properties to
27713         QQuickWebView.
27714
27715         * MiniBrowser/qt/MiniBrowserApplication.cpp:
27716         * MiniBrowser/qt/qml/BrowserWindow.qml:
27717
27718 2011-11-11  Simon Hausmann  <simon.hausmann@nokia.com>
27719
27720         [Qt] Build system tweak
27721
27722         Reviewed by Tor Arne Vestbø.
27723
27724         Be a good qmake citizen, return true from our linkStaticLibrary
27725         "test" function.
27726
27727         * qmake/mkspecs/features/functions.prf:
27728
27729 2011-11-11  Simon Hausmann  <simon.hausmann@nokia.com>
27730
27731         [Qt] Add support for QT += webkit-private
27732
27733         Reviewed by Tor Arne Vestbø.
27734
27735         * qmake/qt_webkit.pri: Declare private headers.
27736
27737 2011-11-11  Philippe Normand  <pnormand@igalia.com>
27738
27739         Unreviewed, build fix attempt after r99907. Since that revision
27740         GTK layout tests were not running at all...
27741
27742         * Scripts/webkitpy/layout_tests/port/gtk.py:
27743
27744 2011-11-10  Andrew Scherkus  <scherkus@chromium.org>
27745
27746         [Chromium] only run media GPU layout tests on platforms supporting accelerated compositing
27747         https://bugs.webkit.org/show_bug.cgi?id=72001
27748
27749         Reviewed by Dirk Pranke.
27750
27751         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
27752
27753 2011-11-05  Filip Pizlo  <fpizlo@apple.com>
27754
27755         bencher script should support remote benchmarking
27756         https://bugs.webkit.org/show_bug.cgi?id=71618
27757
27758         Rubber-stamped by Geoff Garen.
27759         
27760         Added the following features:
27761         
27762         - Benchmark report tells you the hostname and machine model (according to
27763           'sysctl hw.model') of the machine you did the run on, and svn revision number
27764           (according to 'svn info') of the VMs you're testing.
27765         
27766         - The --remote option. You give this an ssh-style hostname (i.e. user@host is
27767           acceptable, in addition to just host, in which case your username is used)
27768           and it automatically packages the build directories of the VMs you're testing,
27769           sends them to the remote machine along with your copy of the bencher script
27770           and all of the options you passed.  This pretty much seamlessly allows you
27771           to run a set of benchmarks on any machine that is sufficiently compatible with
27772           yours (i.e. similar OS) and that has the appropriate ~/.bencher file, which
27773           must now include a tempPath setting that tells bencher where to put files
27774           when that machine is used as a slave in a remote benchmarking run.
27775           
27776         - Added yet another way of specifying which benchmarks to run. This was sort of
27777           necessary for --remote to work as expected. Previously, you either said what
27778           suites to exclude (for example --exclude-sunspider) or that you only wanted
27779           to run one suite to the exclusion of others (--sunspider-only). But it's
27780           often better to just be able to specify the list of suites you want. This is
27781           now supported. You can say, for example, --v8 --sunspider, which means, just
27782           run V8 and SunSpider. This is equivalent to saying --exclude-kraken, which is
27783           still supported.
27784
27785         * Scripts/bencher:
27786
27787 2011-11-10  Tony Chang  <tony@chromium.org>
27788
27789         Lazily start DRT instances in NRWT
27790         https://bugs.webkit.org/show_bug.cgi?id=72038
27791
27792         Reviewed by Eric Seidel.
27793
27794         Just a refactoring, no new tests.
27795
27796         * Scripts/webkitpy/layout_tests/controllers/worker.py:
27797         * Scripts/webkitpy/layout_tests/port/chromium.py:
27798         * Scripts/webkitpy/layout_tests/port/dryrun.py:
27799         * Scripts/webkitpy/layout_tests/port/test.py:
27800         * Scripts/webkitpy/layout_tests/port/webkit.py:
27801
27802 2011-11-10  Ryosuke Niwa  <rniwa@webkit.org>
27803
27804         ChangeLog mistakenly recognizes any string between '*' and ':' as touched files
27805         https://bugs.webkit.org/show_bug.cgi?id=72057
27806
27807         Reviewed by Eric Seidel.
27808
27809         Make the regular expression more explicit.
27810
27811         * Scripts/webkitpy/common/checkout/changelog.py:
27812         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
27813
27814 2011-11-10  Balazs Kelemen  <kbalazs@webkit.org>
27815
27816         [Qt] X11 plugins need to be reworked for Qt5
27817         https://bugs.webkit.org/show_bug.cgi?id=70023
27818
27819         Reviewed by Simon Hausmann.
27820
27821         Rework our basic plugin support in a way that does
27822         not need a bridge between Qt and X. The solution is
27823         based on getting the content drawed by the plugin
27824         from the server as an image and creating a QImage
27825         from it.
27826
27827         * qmake/mkspecs/features/features.prf: Enable X11
27828         plugins if Qt is built with the xcb-xlib backend.
27829
27830 2011-11-10  Simon Hausmann  <simon.hausmann@nokia.com>
27831
27832         [Qt] Fix keyboard related layout tests after API refactoring
27833
27834         Reviewed by Tor Arne Vestbø.
27835
27836         Send key events to the handling page item, not the view.
27837
27838         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
27839         (WTR::PlatformWebView::sendEvent):
27840         (WTR::PlatformWebView::postEvent):
27841
27842 2011-11-10  Alexandre Mazari  <amazari@igalia.com>
27843
27844         [GTK] Make the ENABLE(FEATURE) macro work in DRT
27845         https://bugs.webkit.org/show_bug.cgi?id=71940
27846
27847         Reviewed by Philippe Normand.
27848
27849         * GNUmakefile.am:
27850         Add webcore_cppflags to Programs_DumpRenderTree_CPP so
27851         ENABLE_* variables are part of the environment.
27852
27853 2011-11-10  Simon Hausmann  <simon.hausmann@nokia.com>
27854
27855         [Qt] Fix focus related layout tests after API refactoring
27856
27857         Reviewed by Tor Arne Vestbø.
27858
27859         Make sure the focus is set on the page now, not on the view
27860         (which doesn't actually handle the focus).
27861
27862         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
27863         (WTR::WrapperWindow::WrapperWindow):
27864         (WTR::WrapperWindow::handleStatusChanged):
27865
27866 2011-11-10  Alexis Menard  <alexis.menard@openbossa.org>
27867
27868         [Qt] Merge QTouchWebView and QDesktopWebView into one class
27869         https://bugs.webkit.org/show_bug.cgi?id=71355
27870
27871         Reviewed by Kenneth Rohde Christiansen.
27872
27873         Make MiniBrowser and WebKitTestRunner work again after the
27874         merge.
27875
27876         * MiniBrowser/qt/BrowserWindow.cpp:
27877         (BrowserWindow::BrowserWindow):
27878         (BrowserWindow::webView):
27879         * MiniBrowser/qt/MiniBrowser.pro:
27880         * MiniBrowser/qt/MiniBrowser.qrc:
27881         * MiniBrowser/qt/MiniBrowserApplication.cpp:
27882         * MiniBrowser/qt/main.cpp:
27883         * MiniBrowser/qt/qml/BrowserWindow.qml:
27884         * MiniBrowser/qt/qml/DesktopView.qml: Removed.
27885         * MiniBrowser/qt/qml/TouchView.qml: Removed.
27886         * WebKitTestRunner/PlatformWebView.h:
27887         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
27888         (WTR::PlatformWebView::PlatformWebView):
27889
27890 2011-11-10  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
27891
27892         [Qt] Change semantics of the haveQt() function to match API promises
27893
27894         Having Qt 5 does not imply that we have Qt 4, from an API point of
27895         view, as a major version can in theory break BC/SC. Our minimum
27896         version of Qt 4 will always be the latest released version of Qt 4,
27897         so the only place we should use haveQt(4, x) is when checking for
27898         the minimum requirements.
27899
27900         Reviewed by Simon Hausmann.
27901
27902         * qmake/mkspecs/features/default_pre.prf:
27903         * qmake/mkspecs/features/features.prf:
27904         * qmake/mkspecs/features/functions.prf:
27905
27906 2011-11-07  Kaustubh Atrawalkar  <kaustubh@motorola.com> and Sergio Villar Senin  <svillar@igalia.com>
27907
27908         [WK2] [GTK] Implement a MouseDown/MouseUp/MouseMoveTo/MouseScrollBy/LeapForward functions for WebKit2 EventSender
27909         https://bugs.webkit.org/show_bug.cgi?id=69411
27910
27911         Reviewed by Martin Robinson.
27912
27913         * WebKitTestRunner/EventSenderProxy.h:
27914         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
27915         * WebKitTestRunner/TestController.cpp:
27916         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
27917         use the EventSender instead of WebProcess Event Simulation.
27918         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
27919         (WTR::WTREventQueueItem::WTREventQueueItem):
27920         (WTR::EventSenderProxy::EventSenderProxy):
27921         (WTR::getMouseButtonModifiers):
27922         (WTR::eventSenderButtonToGDKButton):
27923         (WTR::EventSenderProxy::createMouseButtonEvent):
27924         (WTR::EventSenderProxy::updateClickCountForButton):
27925         (WTR::EventSenderProxy::replaySavedEvents):
27926         (WTR::EventSenderProxy::sendOrQueueEvent):
27927         (WTR::webkitModifiersToGDKModifiers):
27928         (WTR::getGDKKeySymForKeyRef):
27929         (WTR::EventSenderProxy::keyDown):
27930         (WTR::EventSenderProxy::mouseDown):
27931         (WTR::EventSenderProxy::mouseUp):
27932         (WTR::EventSenderProxy::mouseMoveTo):
27933         (WTR::EventSenderProxy::mouseScrollBy):
27934         (WTR::EventSenderProxy::leapForward):
27935
27936 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
27937
27938         [Qt] Enable exports and constructor functions in static libs
27939
27940         Reviewed by Tor Arne Vestbø.
27941
27942         * qmake/mkspecs/features/functions.prf: Use --whole-archive and their
27943         mac/win32-msvc equivalents when linking static libraries into a shared
27944         library or executable.
27945
27946 2011-11-09  Hayato Ito  <hayato@chromium.org>
27947
27948         [NRWT] Make results.html aware of reference filename in reftests.
27949         https://bugs.webkit.org/show_bug.cgi?id=71574
27950
27951         Reviewed by Ryosuke Niwa.
27952
27953         If a reference filename is different from the default one, include that in result summary
27954         so results.html can link to the correct reference file.
27955
27956         * Scripts/webkitpy/layout_tests/controllers/manager.py:
27957         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
27958
27959 2011-11-09  Kevin Ollivier  <kevino@theolliviers.com>
27960
27961         [wx] Unreviewed build fix. Update project files and
27962         add LTC stubs for new methods.
27963
27964         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
27965         (LayoutTestController::addChromeInputField):
27966         (LayoutTestController::removeChromeInputField):
27967         (LayoutTestController::focusWebView):
27968         (LayoutTestController::setBackingScaleFactor):
27969         * waf/build/settings.py:
27970
27971 2011-11-09  Kevin Ollivier  <kevino@theolliviers.com>
27972
27973         [wx] Unreviewed build fix. Support XCode 4 when building deps.
27974
27975         * wx/install-unix-extras:
27976
27977 2011-11-09  Eric Seidel  <eric@webkit.org>
27978
27979         Remove the concept of platform-dependent unittests
27980         https://bugs.webkit.org/show_bug.cgi?id=71963
27981
27982         Unreviewed.  Fix test-webkitpy on cygwin.
27983
27984         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
27985
27986 2011-11-09  Dana Jansens  <danakj@chromium.org>
27987
27988         Add cc-bugs group to watch changes in chromium graphics
27989         https://bugs.webkit.org/show_bug.cgi?id=71690
27990
27991         Reviewed by David Levin.
27992
27993         * Scripts/webkitpy/common/config/committers.py: Make new Account superclass for non-contributor watch accounts
27994         * Scripts/webkitpy/common/config/committers_unittest.py: Test the Account superclass
27995         * Scripts/webkitpy/common/config/watchlist: Add cc-bugs@google.com to watch list
27996         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Check for Accounts also, but require it to be the bugzilla email for any Account/Contributor/etc.
27997
27998 2011-11-09  Eric Seidel  <eric@webkit.org>
27999
28000         Remove more platform-dependent unittests
28001         https://bugs.webkit.org/show_bug.cgi?id=71971
28002
28003         Reviewed by Adam Barth.
28004
28005         Tests which only run on a couple platforms will break.
28006         All tests should run on all platforms where possible.
28007
28008         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
28009         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
28010         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
28011         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
28012
28013 2011-11-09  Ojan Vafai  <ojan@chromium.org>
28014
28015         Merge in results to the test results server even if build numbers conflict
28016         https://bugs.webkit.org/show_bug.cgi?id=71967
28017
28018         Reviewed by Tony Chang.
28019
28020         This was initially meant to be a sanity check that we don't
28021         enter duplicate runs, but it turns out that we can reasonably get
28022         in these situations when a builder is clobbered (e.g. the build
28023         numbers start over again from 0).
28024
28025         * TestResultServer/model/jsonresults.py:
28026         * TestResultServer/model/jsonresults_unittest.py:
28027
28028 2011-11-09  Eric Seidel  <eric@webkit.org>
28029
28030         Remove the concept of platform-dependent unittests
28031         https://bugs.webkit.org/show_bug.cgi?id=71963
28032
28033         Reviewed by Adam Barth.
28034
28035         These have been the source of never-ending sadness.
28036         We'd change behavior and forget to update results in
28037         some unittests because they were only run on certain platforms.
28038         This change removes a large source of these platform-dependent
28039         unittests, which was caused by the port_maker stuff.
28040
28041         It's possible that this change will break test-webkitpy
28042         on some platforms, but that will be a one-time cost.
28043         I will fix the breakage by removing the platform-dependantness
28044         of any such broken tests.
28045
28046         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
28047         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
28048         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
28049         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
28050         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
28051         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
28052         * Scripts/webkitpy/layout_tests/port/efl_unittest.py:
28053         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
28054         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
28055         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
28056         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
28057         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
28058         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
28059
28060 2011-11-09  Eric Seidel  <eric@webkit.org>
28061
28062         Make the Port object have a Host
28063         https://bugs.webkit.org/show_bug.cgi?id=71961
28064
28065         Reviewed by Adam Barth.
28066
28067         This has been a long time coming.
28068         Now that Port has a Host object, it's very easy
28069         to write unittests which use a properly mocked Port.
28070         Soon we will remove the executive, filesystem and user
28071         members of Port and get everything through the Host.
28072
28073         Note how in many callsites we're actually removing
28074         explicit mocks, since we're now always going to get the
28075         correct Executive/User/FileSystem from the
28076         Host and callsites don't need to be careful to pass each one.
28077
28078         This is prep-work for adding a new Environment member to
28079         Host and needing to be able to access the Environment
28080         member from Port functions w/o needing to pass an Environment
28081         object (or appropriate Mock) every place we create a Port object.
28082         Now that we have a single Host object to reach out through, its
28083         simple to add additional functionality (like Environment) while
28084         keeping our unittests properly mocked.
28085
28086         * Scripts/webkitpy/common/host.py:
28087         * Scripts/webkitpy/common/net/credentials_unittest.py:
28088         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
28089         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
28090         * Scripts/webkitpy/layout_tests/port/apple.py:
28091         * Scripts/webkitpy/layout_tests/port/base.py:
28092         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
28093         * Scripts/webkitpy/layout_tests/port/chromium.py:
28094         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
28095         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
28096         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
28097         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
28098         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
28099         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
28100         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
28101         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
28102         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
28103         * Scripts/webkitpy/layout_tests/port/dryrun.py:
28104         * Scripts/webkitpy/layout_tests/port/efl.py:
28105         * Scripts/webkitpy/layout_tests/port/factory.py:
28106         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
28107         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
28108         * Scripts/webkitpy/layout_tests/port/gtk.py:
28109         * Scripts/webkitpy/layout_tests/port/mac.py:
28110         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
28111         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
28112         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
28113         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
28114         * Scripts/webkitpy/layout_tests/port/qt.py:
28115         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
28116         * Scripts/webkitpy/layout_tests/port/test.py:
28117         * Scripts/webkitpy/layout_tests/port/webkit.py:
28118         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
28119         * Scripts/webkitpy/layout_tests/port/win.py:
28120         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
28121         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
28122         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
28123         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
28124         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
28125
28126 2011-11-09  Dominic Mazzoni  <dmazzoni@google.com>
28127
28128         [Chromium] Implement AccessibilityUIElement::insertionPointLineNumberGetterCallback
28129         https://bugs.webkit.org/show_bug.cgi?id=71561
28130
28131         Reviewed by Dimitri Glazkov.
28132
28133         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
28134         (AccessibilityUIElement::insertionPointLineNumberGetterCallback):
28135
28136 2011-11-09  Benjamin Poulain  <bpoulain@apple.com>
28137
28138         Implement dumpProgressFinishedCallback() for Mac layoutTestController
28139         https://bugs.webkit.org/show_bug.cgi?id=66772
28140
28141         Reviewed by Simon Fraser.
28142
28143         When dumpProgressFinishedCallback is enabled, DumpRenderTree should output
28144         "postProgressFinishedNotification" on FrameLoaderClient::postProgressFinishedNotification().
28145
28146         On Mac, the FrameLoaderClient post a notification. This patch add handling for this notification
28147         in the FrameLoadDelegate and print the output in response to the notification.
28148
28149         * DumpRenderTree/mac/FrameLoadDelegate.mm:
28150         (-[FrameLoadDelegate init]):
28151         (-[FrameLoadDelegate dealloc]):
28152         (-[FrameLoadDelegate webViewProgressFinishedNotification:]):
28153
28154 2011-11-09  Philippe Normand  <pnormand@igalia.com>
28155
28156         [GTK][DRT] window internals object is not reset after each test
28157         https://bugs.webkit.org/show_bug.cgi?id=71890
28158
28159         Reviewed by Martin Robinson.
28160
28161         Call WebCoreTestSupport::resetInternalsObject without going
28162         through DumpRenderTreeSupport.
28163
28164         * DumpRenderTree/gtk/DumpRenderTree.cpp:
28165         (runTest):
28166
28167 2011-11-09  Beth Dakin  <bdakin@apple.com>
28168
28169         Build fix.
28170
28171         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
28172         (AccessibilityUIElement::uiElementAttributeValue):
28173
28174 2011-11-09  Beth Dakin  <bdakin@apple.com>
28175
28176         Speculative build fix.
28177
28178         * DumpRenderTree/AccessibilityUIElement.h:
28179
28180 2011-11-09  Julien Chaffraix  <jchaffraix@webkit.org>
28181
28182         Unreviewed build fix.
28183
28184         * DumpRenderTree/AccessibilityUIElement.cpp:
28185         (AccessibilityUIElement::makeJSAccessibilityUIElement):
28186         A bad merge added this check that is making the bots sad.
28187
28188 2011-11-09  Chris Fleizach  <cfleizach@apple.com>
28189
28190         AX: crash when accessing selectedTab in a tab list
28191         https://bugs.webkit.org/show_bug.cgi?id=70938
28192
28193         Reviewed by Beth Dakin.
28194
28195         Add the ability to retrieve an element through an arbitrary attribute.
28196
28197         * DumpRenderTree/AccessibilityUIElement.cpp:
28198         (uiElementAttributeValueCallback):
28199         (AccessibilityUIElement::uiElementAttributeValue):
28200         (AccessibilityUIElement::getJSClass):
28201         * DumpRenderTree/AccessibilityUIElement.h:
28202         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
28203         (AccessibilityUIElement::uiElementAttributeValue):
28204
28205 2011-11-09  Andy Wingo  <wingo@igalia.com>
28206
28207         Add webkitdirs.pm:getArchitecture implementation for GTK
28208         https://bugs.webkit.org/show_bug.cgi?id=71370
28209
28210         Reviewed by Xan Lopez.
28211
28212         * Scripts/webkitdirs.pm (determineArchitecture): Add an
28213         implementation for ports using autotools, so that a vanilla
28214         `run-javascriptcore-tests --gtk' invocation doesn't pass --32-bit
28215         to build-jsc on x86-64 machines.
28216
28217 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28218
28219         Unreviewed, rolling out r99707.
28220         http://trac.webkit.org/changeset/99707
28221
28222         Re-enable until we can disable it together with tests in one
28223         shot.
28224
28225         * qmake/mkspecs/features/features.prf:
28226
28227 2011-11-09  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28228
28229         [Qt] Disable use of QtUiTools if the library/module is not found
28230
28231         We rely on the lookup order of prf files to inject our own uitools.prf
28232         that will verify that QtUiTools is in fact present before allowing the
28233         CONFIG += uitools to have any effect.
28234
28235         Reviewed by Simon Hausmann.
28236
28237         * DumpRenderTree/qt/DumpRenderTree.pro:
28238         * QtTestBrowser/QtTestBrowser.pro:
28239         * qmake/mkspecs/features/uitools.prf: Added.
28240
28241 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28242
28243         Unreviewed, rolling out r99701.
28244         http://trac.webkit.org/changeset/99701
28245
28246         Breaks Qt mac build
28247
28248         * qmake/mkspecs/features/functions.prf:
28249
28250 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28251
28252         [Qt] Prospective build fix for Win32/Mac with xmlpatterns
28253
28254         Reviewed by Tor Arne Vestbø.
28255
28256         * qmake/mkspecs/features/features.prf: Disable XSLT support initially.
28257         We default to XSLT support if qxmlpatterns is available. However qxmlpatterns
28258         is not up to the task of full XSLT support, so we should disable it.
28259
28260 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28261
28262         [Qt] Enable exports and constructor functions in static libs
28263
28264         Reviewed by Tor Arne Vestbø.
28265
28266         * qmake/mkspecs/features/functions.prf: Use --whole-archive and their
28267         mac/win32-msvc equivalents when linking static libraries into a shared
28268         library or executable.
28269
28270 2011-11-09  Philippe Normand  <pnormand@igalia.com>
28271
28272         [GTK][DRT] window internals object is not reset after each test
28273         https://bugs.webkit.org/show_bug.cgi?id=71890
28274
28275         Reviewed by Xan Lopez.
28276
28277         * DumpRenderTree/gtk/DumpRenderTree.cpp:
28278         (runTest): reset the Internals object after each test.
28279
28280 2011-11-09  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28281
28282         [Qt] Detect presence of QtUiTools and enable it only when available
28283
28284         The disable_uitools option was a workaround for missing detection.
28285
28286         Reviewed by Simon Hausmann.
28287
28288         * QtTestBrowser/QtTestBrowser.pro:
28289         * qmake/mkspecs/features/default_post.prf:
28290         * qmake/mkspecs/features/default_pre.prf:
28291
28292 2011-11-09  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28293
28294         [Qt] Don't override config for the build_pass of debug_and_release
28295
28296         Qmake will parse the profile once for each configuration (debug and
28297         release), with the build_pass option set. In that situation we don't
28298         want to override what qmake is setting explicitly, otherwise the
28299         debug-step will end up hitting all the release-scopes.
28300
28301         Reviewed by Simon Hausmann.
28302
28303         * qmake/mkspecs/features/default_pre.prf:
28304
28305 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28306
28307         [Qt] Unbreak the Qt build (copy & paste mistake - oops)
28308
28309         * qmake/mkspecs/features/functions.prf:
28310
28311 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28312
28313         [Qt] Centralize duplicated code for linking the static libs
28314
28315         Reviewed by Tor Arne Vestbø.
28316
28317         * qmake/mkspecs/features/functions.prf:
28318         * qmake/mkspecs/features/javascriptcore.prf:
28319         * qmake/mkspecs/features/webcore.prf:
28320         * qmake/mkspecs/features/webkit2.prf:
28321
28322 2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
28323
28324         [Qt] Build system cleanup
28325         https://bugs.webkit.org/show_bug.cgi?id=71815
28326
28327         Reviewed by Kenneth Rohde Christiansen.
28328
28329         * WebKitTestRunner/InjectedBundle/Target.pri: We don't need to link against the webkit2
28330         static library.
28331         * qmake/mkspecs/features/javascriptcore.prf: The wtf sources pull in a glib dependency
28332         (ownPtr functions for glib types). Propagate that to everyone using javascriptcore.
28333
28334 2011-11-08  Hayato Ito  <hayato@chromium.org>
28335
28336         [NRWT] Make single_test_runner aware of reference filename of test_input.
28337         https://bugs.webkit.org/show_bug.cgi?id=71567
28338
28339         Reviewed by Ryosuke Niwa.
28340
28341         Make single_test_runner honor a reference filename of given test_input so that
28342         we can use any file as reference html, instead of depending on implicit naming convention.
28343         The typical use case is to support w3c reftests.
28344
28345         No tests since no functional changes until there is a client.
28346         Test should be easily written with future clients.
28347
28348         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
28349         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
28350         * Scripts/webkitpy/layout_tests/models/test_failures.py:
28351         * Scripts/webkitpy/layout_tests/models/test_input.py:
28352
28353 2011-11-08  Lucas Forschler  <lforschler@apple.com>
28354
28355         https://bugs.webkit.org/show_bug.cgi?id=71839
28356         Update the leaks bot OS to Lion.
28357         Update the config.json to reflect the update.
28358
28359         Reviewed by Stephanie Lewis.
28360
28361         * BuildSlaveSupport/build.webkit.org-config/config.json:
28362
28363 2011-11-08  Sheriff Bot  <webkit.review.bot@gmail.com>
28364
28365         Unreviewed, rolling out r99626.
28366         http://trac.webkit.org/changeset/99626
28367         https://bugs.webkit.org/show_bug.cgi?id=71866
28368
28369         "C++ exceptions cannot be disabled without influencing the
28370         Objective-C exceptions" (Requested by benjaminp on #webkit).
28371
28372         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
28373
28374 2011-11-08  Benjamin Poulain  <bpoulain@apple.com>
28375
28376         [Mac] Disable C++ exceptions from DumpRenderTree
28377         https://bugs.webkit.org/show_bug.cgi?id=71834
28378
28379         Reviewed by Darin Adler.
28380
28381         DumpRenderTree Mac does not handle C++ exceptions. When such exception
28382         happens, it tends to cause the AutoReleasePool stack to be corrupted,
28383         which leads to crashes long after the exception was raised.
28384
28385         This patch disabled C++ exceptions in order to catch the problems where
28386         they happen when a C++ exception is raised.
28387
28388         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
28389
28390 2011-11-08  Julien Chaffraix  <jchaffraix@webkit.org>
28391
28392         Moved myself to the reviewer list (yay!).
28393
28394         * Scripts/webkitpy/common/config/committers.py:
28395
28396 2011-11-08  Zeno Albisser  <zeno@webkit.org>
28397
28398         Added myself as a committer.
28399
28400         * Scripts/webkitpy/common/config/committers.py:
28401
28402 2011-11-08  Andy Wingo  <wingo@igalia.com>
28403
28404         Skip some ECMAScript tests that fail on Linux in some time zones.
28405         https://bugs.webkit.org/show_bug.cgi?id=71371
28406
28407         Reviewed by Martin Robinson.
28408
28409         * Scripts/run-javascriptcore-tests: Skip some more tests.
28410
28411 2011-11-08  Csaba Osztrogonác  <ossy@webkit.org>
28412
28413         [Qt] Unreviewed trivial fix after build system refactoring.
28414
28415         * Scripts/run-qtwebkit-tests: Fix path of QtWebProcess for QML tests.
28416
28417 2011-11-08  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28418
28419         [Qt] Don't set OBJECTS_DIR and DEFINES in default_pre
28420
28421         If a pro file needs to access the OBJECTS_DIR it should use the
28422         form ${QMAKE_VAR_OBJECTS_DIR} to ensure the value is evaluated
28423         after defaults_post has been processed.
28424
28425         Setting DEFINES in defaults_pre is also bad, as any DEFINES=foo on
28426         the command line will override whatever we set in defaults_pre.
28427
28428         Reviewed by Simon Hausmann.
28429
28430         * qmake/mkspecs/features/default_post.prf:
28431         * qmake/mkspecs/features/default_pre.prf:
28432
28433 2011-11-08  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28434
28435         [Qt] Prevent duplicated sources in SOURCES/OBJECTIVE_SOURCES
28436
28437         Reviewed by Simon Hausmann.
28438
28439         * qmake/mkspecs/features/default_post.prf:
28440
28441 2011-11-07  Zeno Albisser  <zeno.albisser@nokia.com>
28442
28443         [Qt][WK2] MiniBrowser should use urlFromUserInput()
28444         https://bugs.webkit.org/show_bug.cgi?id=71680
28445
28446         Use urlFromUserInput() / QUrl::fromUserInput() to automatically
28447         complete urls in MiniBrowser.
28448
28449         Reviewed by Tor Arne Vestbø.
28450
28451         * MiniBrowser/qt/BrowserWindow.cpp:
28452         (BrowserWindow::BrowserWindow):
28453         (BrowserWindow::load):
28454         * MiniBrowser/qt/qml/BrowserWindow.qml:
28455         * MiniBrowser/qt/utils.cpp:
28456         (Utils::urlFromUserInput):
28457         * MiniBrowser/qt/utils.h:
28458         (Utils::Utils):
28459
28460 2011-11-07  Yuqiang Xian  <yuqiang.xian@intel.com>
28461
28462         Added myself as a committer.
28463
28464         * Scripts/webkitpy/common/config/committers.py:
28465
28466 2011-11-07  Csaba Osztrogonác  <ossy@webkit.org>
28467
28468         Unreviewed webkitpy test fix after r99512.
28469
28470         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
28471         Xianzhu Wang is now a committer, so we can't nominate him as a committer anymore.
28472
28473 2011-11-07  Xianzhu Wang  <wangxianzhu@chromium.org>
28474
28475         Added myself as a committer.
28476
28477         * Scripts/webkitpy/common/config/committers.py:
28478
28479 2011-11-07  Sheriff Bot  <webkit.review.bot@gmail.com>
28480
28481         Unreviewed, rolling out r99470.
28482         http://trac.webkit.org/changeset/99470
28483         https://bugs.webkit.org/show_bug.cgi?id=71740
28484
28485         "Broke test-webkitpy" (Requested by eseidel2 on #webkit).
28486
28487         * Scripts/webkitpy/common/config/watchlist:
28488
28489 2011-11-07  Tony Chang  <tony@chromium.org>
28490
28491         [chromium] update flakiness dashboard to reflect current bots
28492
28493         Reviewed by Ojan Vafai.
28494
28495         * TestResultServer/static-dashboards/builders.js: Remove (deps) debug
28496             bots and merged linux debug bots into a single bot.
28497         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
28498         (setupExpectationsTest):
28499
28500 2011-11-07  Dana Jansens  <danakj@chromium.org>
28501
28502         Add cc-bugs group to watch changes in chromium graphics
28503         https://bugs.webkit.org/show_bug.cgi?id=71690
28504
28505         Reviewed by James Robinson.
28506
28507         * Scripts/webkitpy/common/config/watchlist:
28508
28509 2011-11-07  Balazs Ankes  <Ankes.Balazs@stud.u-szeged.hu>
28510
28511         [NRWT] Parsing of test_expectations.txt should be agnostic to newline at end
28512         https://bugs.webkit.org/show_bug.cgi?id=70912
28513
28514         Reviewed by Ojan Vafai.
28515
28516         * Scripts/webkitpy/layout_tests/port/webkit.py: Add newline at the end of test_expectations.txt.
28517         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Make up the test_test_expectations method for the updated webkit.py.
28518
28519 2011-11-07  Eric Seidel  <eric@webkit.org>
28520
28521         new-run-webkit-tests: support --repeat-each feature from old-run-webkit-tests
28522         https://bugs.webkit.org/show_bug.cgi?id=62199
28523
28524         Reviewed by Dirk Pranke.
28525
28526         * Scripts/webkitpy/layout_tests/controllers/manager.py:
28527         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
28528         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
28529
28530 2011-11-07  Fady Samuel  <fsamuel@chromium.org>
28531
28532         [Chromium] Rename WebView::scalePage to WebView::setPageScaleFactor to match WebCore
28533         https://bugs.webkit.org/show_bug.cgi?id=71485
28534
28535         Reviewed by Darin Fisher.
28536
28537         * DumpRenderTree/chromium/EventSender.cpp:
28538         (EventSender::scalePageBy):
28539         * DumpRenderTree/chromium/TestShell.cpp:
28540         (TestShell::resetTestController):
28541
28542 2011-11-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28543
28544         [Qt] Put the jsc binary in 'bin' instead of leaving it deep in the build tree
28545
28546         Allows us to not package up the whole Source/JavaScriptCore directory for the
28547         buildbots.
28548
28549         Reviewed-by Simon Hausmann.
28550
28551         * BuildSlaveSupport/built-product-archive:
28552         * Scripts/webkitdirs.pm:
28553         (jscProductDir):
28554
28555 2011-11-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28556
28557         [Qt] Ensure we always export symbols for the QtWebKit API when building WebKit
28558
28559         Reviewed-by Simon Hausmann.
28560
28561         * qmake/mkspecs/features/default_post.prf:
28562
28563 2011-11-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28564
28565         [Qt] Sanitize qmake paths correctly before comparing
28566
28567         The qmake function toSanitizedPath had a bug causing empty paths on MinGW,
28568         which caused us to always generate derived webcore sources, but never build
28569         them. The bug has been fixed, and we now also sanitize paths for the injected
28570         bundle derived sources.
28571
28572         Reviewed by Simon Hausmann.
28573
28574         * WebKitTestRunner/InjectedBundle/DerivedSources.pri:
28575         * qmake/mkspecs/features/functions.prf:
28576
28577 2011-11-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28578
28579         [Qt] Print right order for changing feature defines
28580
28581         Reviewed by Simon Hausmann.
28582
28583         * Scripts/webkitdirs.pm:
28584         (buildQMakeProject):
28585
28586 2011-11-06  Csaba Osztrogonác  <ossy@webkit.org>
28587
28588         [Qt] Unreviewed trivial fix after build system refactoring.
28589
28590         * Scripts/run-qtwebkit-tests: Fix qml_import_path.
28591
28592 2011-11-06  Eric Seidel  <eric@webkit.org>
28593
28594         Clarify how the symbol and runtime-feature based test exclusion works and cleanup the code a bit
28595         https://bugs.webkit.org/show_bug.cgi?id=66078
28596
28597         Unreviewed.  Add an assert about the type of "args"
28598         to our Executive Mocks and fix a piece of code
28599         from this patch which was hitting that assert
28600         when executing for real.
28601
28602         * Scripts/webkitpy/common/system/executive_mock.py:
28603         * Scripts/webkitpy/layout_tests/port/webkit.py:
28604
28605 2011-11-06  Eric Seidel  <eric@webkit.org>
28606
28607         Split chunk handling out of prepare_lists_and_print_output to make it more readable
28608         https://bugs.webkit.org/show_bug.cgi?id=71629
28609
28610         Reviewed by Adam Barth.
28611
28612         * Scripts/webkitpy/layout_tests/controllers/manager.py:
28613
28614 2011-11-06  Eric Seidel  <eric@webkit.org>
28615
28616         Clarify how the symbol and runtime-feature based test exclusion works and cleanup the code a bit
28617         https://bugs.webkit.org/show_bug.cgi?id=66078
28618
28619         Reviewed by Adam Barth.
28620
28621         The runtime feature detection was fixed to work in bug 64472.
28622         In this bug I moved the symbol-based feature detection from
28623         popen() to Executive.run_command and cleaned up the callers
28624         and unittests to make sure that we're correctly parsing the
28625         nm output correctly.  The old code happened to work even though
28626         the runtime-features path was using "str in list" and the
28627         symbol features path was using "str in str" and it just happened
28628         to do what we wanted to.  Now runtime features and symbol feature
28629         blacklists are computed separately (and with better documentation).
28630
28631         This system remains confusing, partially because these are black-lists
28632         which are amended to whatever static blacklist may exist for the
28633         port as part of a Skipped list file.
28634
28635         For example, notice how the runtime feature list only has directory
28636         blacklists for a couple features.  If all features are off,
28637         how do we skip enough tests with only 2 entries in the blacklist map?
28638         The answer is that Windows is the only port to use runtime feature
28639         detection, and the win/Skipped file turns off all the other features
28640         statically (like mathml, mhtml, wss, etc.) where as some other ports (like AppleMac)
28641         which use symbol-based feature detection turn of mathml, wcss, etc
28642         using the blacklists found in _missing_symbol_to_skipped_tests.
28643
28644         I also noticed a couple places where we still referenced xhtmlmp
28645         even though support for such has been removed from WebKit.  Removed those.
28646
28647         This should result in no functional change.
28648
28649         * Scripts/webkitpy/layout_tests/port/gtk.py:
28650          - Use self._filesystem instead of os.path
28651         * Scripts/webkitpy/layout_tests/port/webkit.py:
28652         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
28653
28654 2011-11-06  Dan Bernstein  <mitz@apple.com>
28655
28656         Made show-pretty-diff work when the input path contains spaces.
28657
28658         Reviewed by Anders Carlsson.
28659
28660         * Scripts/show-pretty-diff:
28661
28662 2011-11-05  Daniel Cheng  <dcheng@chromium.org>
28663
28664         [chromium] Use the security origin instead of the URL when checking notification permissions
28665         https://bugs.webkit.org/show_bug.cgi?id=71590
28666
28667         Reviewed by Adam Barth.
28668
28669         * DumpRenderTree/chromium/NotificationPresenter.cpp:
28670         (NotificationPresenter::checkPermission):
28671         * DumpRenderTree/chromium/NotificationPresenter.h:
28672
28673 2011-11-05  Darin Adler  <darin@apple.com>
28674
28675         Fix a small leak in Mac version of LayoutTestController
28676         https://bugs.webkit.org/show_bug.cgi?id=71615
28677
28678         Reviewed by Mark Rowe.
28679
28680         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
28681         (LayoutTestController::applicationCacheDiskUsageForOrigin): Release the origin.
28682         (LayoutTestController::localStorageDiskUsageForOrigin): Ditto.
28683
28684 2011-11-04  Eric Seidel  <eric@webkit.org>
28685
28686         Upgrade to the latest Mechanize
28687         https://bugs.webkit.org/show_bug.cgi?id=71594
28688
28689         Reviewed by Adam Barth.
28690
28691         I noticed our mechanize was somewhat out of date when removing Python 2.5 support.
28692         Mechanize is no longer two separate libraries, so importing it is much simpler.
28693
28694         * Scripts/webkitpy/thirdparty/__init__.py:
28695
28696 2011-11-04  Stephen Chenney  <schenney@chromium.org>
28697
28698         Crash in ScrollAnimator.cpp
28699         https://bugs.webkit.org/show_bug.cgi?id=69865
28700
28701         The code in ScrollAnimator assumes that horizontal per-page mouse
28702         wheel events cannot happen, which is not true. This patch adds layout
28703         tests for all paging wheel event situations and fixes the broken
28704         horizontal case.
28705
28706         Reviewed by Anders Carlsson
28707
28708         * DumpRenderTree/chromium/EventSender.cpp:
28709         (EventSender::handleMouseWheel): Added the ability to specify that a
28710         mouse wheel event should be paging.
28711
28712 2011-11-04  Eric Seidel  <eric@webkit.org>
28713
28714         Remove deprecated free functions in port.factory
28715         https://bugs.webkit.org/show_bug.cgi?id=71494
28716
28717         Unreviewed.  Fix exception when running new-run-webkit-httpd.
28718
28719         * Scripts/new-run-webkit-httpd:
28720
28721 2011-11-04  Adam Roben  <aroben@apple.com>
28722
28723         Remove Leopard-specific code from build.webkit.org
28724
28725         We don't have any Leopard bots anymore.
28726
28727         Fixes <http://webkit.org/b/71583> build.webkit.org configuration contains obsolete Leopard code
28728
28729         Reviewed by Mark Rowe.
28730
28731         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed now-unused StartATSServer
28732         and StopATSServer steps.
28733         (unitTestsSupported): Removed check for mac-leopard.
28734         (TestFactory.__init__): Removed Leopard-specific steps.
28735
28736 2011-11-04  Eric Seidel  <eric@webkit.org>
28737
28738         new-run-webkit-tests autoinstalls python-irclib even though it doesn't need to
28739         https://bugs.webkit.org/show_bug.cgi?id=71549
28740
28741         Reviewed by Adam Barth.
28742
28743         Several members of Host didn't really belong there
28744         and were instead specific to WebKitPatch, so I've moved
28745         them up onto that class.
28746
28747         * Scripts/webkitpy/common/host.py:
28748         * Scripts/webkitpy/common/host_mock.py:
28749         * Scripts/webkitpy/tool/main.py:
28750         * Scripts/webkitpy/tool/mocktool.py:
28751         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
28752
28753 2011-11-04  Tony Chang  <tony@chromium.org>
28754
28755         garden-o-matic: bring back party time!
28756         https://bugs.webkit.org/show_bug.cgi?id=71582
28757
28758         Reviewed by Adam Barth.
28759
28760         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Allow images from file:
28761         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/images/partytime.gif: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/partytime.gif.
28762         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js: Add length() for UpdateTracker.
28763         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Plumb through length().
28764         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js: Toggle partytime.gif via css class.
28765         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css: Add css styling for partytime.
28766
28767 2011-11-04  Raphael Kubo da Costa  <kubo@profusion.mobi>
28768
28769         [EFL] DRT: Fix the order of the items in the dumped history list.
28770         https://bugs.webkit.org/show_bug.cgi?id=71562
28771
28772         It did not make much sense to hold the history list in a map, as we do not need
28773         the keys. And the printed items must be sorted by target, which is more easily
28774         done with a vector.
28775
28776         Should make tests such as http/tests/navigation/error404-frames.html pass.
28777
28778         Reviewed by Antonio Gomes.
28779
28780         * DumpRenderTree/efl/DumpHistoryItem.cpp:
28781         (compareHistoryItemsByTarget):
28782         (dumpHistoryItem):
28783
28784 2011-11-04  Patrick Gansterer  <paroga@webkit.org>
28785
28786         [Qt] Remove ENABLE_SQLITE from qmake files
28787         https://bugs.webkit.org/show_bug.cgi?id=71546
28788
28789         Reviewed by Simon Hausmann.
28790
28791         * qmake/mkspecs/features/features.prf:
28792         * qmake/mkspecs/features/webcore.prf:
28793
28794 2011-11-04  Adam Barth  <abarth@webkit.org>
28795
28796         watchlist for WebIDL shouldn't trigger on Internals.idl
28797         https://bugs.webkit.org/show_bug.cgi?id=70657
28798
28799         Reviewed by David Levin.
28800
28801         Internals.idl isn't part of the Web-facing IDL in the project.
28802
28803         * Scripts/webkitpy/common/config/watchlist:
28804
28805 2011-11-04  Anders Carlsson  <andersca@apple.com>
28806
28807         Fix WKTR crash when running NPN_ConvertPoint test.
28808
28809         Call notifyDone in a timeout - otherwise we'll end up entering layout from layout.
28810
28811         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp:
28812         (ConvertPoint::NPP_SetWindow):
28813
28814 2011-11-04  Anders Carlsson  <andersca@apple.com>
28815
28816         NPN_ConvertPoint plug-in test should be called from NPP_SetWindow
28817         https://bugs.webkit.org/show_bug.cgi?id=71570
28818
28819         Reviewed by Simon Fraser.
28820
28821         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
28822         (PluginTest::NPP_SetWindow):
28823         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
28824         Remove the NPP parameter from NPP_SetWindow.
28825
28826         * DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp:
28827         (NPPSetWindowCalledDuringDestruction::NPP_SetWindow):
28828         Remove the NPP parameter from NPP_SetWindow.
28829
28830         * DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
28831         (PassDifferentNPPStruct::NPP_SetWindow):
28832         Remove the NPP parameter from NPP_SetWindow and use PluginTest::log for logging.
28833
28834         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp:
28835         (ConvertPoint::NPP_SetWindow):
28836         Run the test from NPP_SetWindow and call notifyDone() when done.
28837
28838         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
28839         (NPP_SetWindow):
28840         Remove unnecessary parameter.
28841
28842 2011-11-04  Simon Hausmann  <simon.hausmann@nokia.com>
28843
28844         [Qt] Fix run-qtwebkit-tests execution on the build bot(s).
28845
28846         Rubber-stamped by Tor Arne Vestbø.
28847
28848         * BuildSlaveSupport/build.webkit.org-config/master.cfg: The path to the tests
28849         changed slightly after the refactoring.
28850
28851 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28852
28853         [Qt] Don't warn about disabling WebKit2 when qmake does recursive includes
28854
28855         Reviewed by Simon Hausmann.
28856
28857         * qmake/mkspecs/features/default_pre.prf:
28858
28859 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28860
28861         [Qt] Don't error out on wrong Qt version when qmake does recursive includes
28862
28863         Reviewed by Simmon Hausmann.
28864
28865         * qmake/mkspecs/features/default_pre.prf:
28866
28867 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28868
28869         [Qt] Disable STDIN check before cleaning build dir
28870
28871         It didn't work on the bots.
28872
28873         Reviewed by Ossy.
28874
28875         * Scripts/webkitdirs.pm:
28876
28877 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28878
28879         [Qt] Don't build all of webkit when running build-jsc
28880
28881         In case the whole webkit project was built, but we then subsequently
28882         want to build only JSC, we need to run make in the proper subdirectory.
28883
28884         This also means the incremental target needs to be added to all
28885         makefiles.
28886
28887         Reviewed by Simmon Hausmann.
28888
28889         * Scripts/webkitdirs.pm:
28890         (buildQMakeProject):
28891         * qmake/mkspecs/features/default_post.prf:
28892
28893 2011-11-04  Simon Hausmann  <simon.hausmann@nokia.com>
28894
28895         Fix run-javascriptcore-tests for Qt when it's executed by the bot.
28896
28897         Reviewed by Tor Arne Vestbø.
28898
28899         * Scripts/webkitdirs.pm:
28900         (jscProductDir): jsc path changed.
28901
28902 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28903
28904         [Qt] Error out early if trying to build against Qt < 4.8
28905
28906         Reviewed by Simon Hausmann.
28907
28908         * qmake/mkspecs/features/default_pre.prf:
28909
28910 2011-11-04  Simon Hausmann  <simon.hausmann@nokia.com>
28911
28912         Fix run-launcher for Qt and Gtk.
28913
28914         Rubber-stamped by Tor Arne Vestbø.
28915
28916         * Scripts/webkitdirs.pm:
28917         (isWK2): Re-add isWK2(), as it's used in run-launcher.
28918
28919 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28920
28921         [Qt] Ignore '-2' if passed to build-webkit. WebKit2 is now built by default.
28922
28923         Reviewed by Simon Hausmann.
28924
28925         * Scripts/build-webkit:
28926
28927 2011-11-04  Carlos Garcia Campos  <cgarcia@igalia.com>
28928
28929         [GTK] Use web view title as window title in MiniBrowser
28930         https://bugs.webkit.org/show_bug.cgi?id=71544
28931
28932         Reviewed by Philippe Normand.
28933
28934         * MiniBrowser/gtk/BrowserWindow.c:
28935         (webViewURIChanged): Removed extra space.
28936         (webViewTitleChanged): Set window title using
28937         webkit_web_view_get_title().
28938         (browser_window_init): Set initial default window title.
28939         (browserWindowConstructed): Connect to WebView notify::title
28940         signal.
28941
28942 2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
28943
28944         [Qt] Refactor and clean up the qmake build system
28945
28946         The qmake build system has accumulated a bit of cruft and redundancy
28947         over time. There's also a fairly tight coupling between how to build
28948         the various targets, and _what_ to build, making it harder to add new
28949         rules or sources. This patch aims to elevate these issues somewhat.
28950
28951         This is a short-list of the changes:
28952
28953           * The rules for how to build targets are now mostly contained as
28954             prf-files in Tools/qmake/mkspecs/features. Using mkspecs also
28955             allows us to do pre- and post-processing of each project file,
28956             which helps to clean up the actual project files.
28957
28958           * Derived sources are no longer generated as a separate make-step
28959             but is part of each target's project file as a subdir. Makefile
28960             rules are used to ensure that we run make on the derived sources
28961             before running qmake on the actual target makefile. This makes
28962             it easier to keep a proper dependency between derived sources
28963             and the target.
28964
28965           * We use GNU make and the compiler to generate dependencies on
28966             UNIX-based systems running Qt 5. This allows us to lessen the
28967             need to run qmake, which should reduce compile time.
28968
28969           * WebKit2 is now build by default if building with Qt 5. It can
28970             be disabled by passing --no-webkit2 to build-webkit.
28971
28972         The result of these changes are hopefully a cleaner and easier
28973         build system to modify, and faster build times due to no longer
28974         running qmake on every single build. It's also a first step
28975         towards possibly generating the list of sources using another
28976         build system.
28977
28978         https://bugs.webkit.org/show_bug.cgi?id=71222
28979
28980         Reviewed by Simon Hausmann.
28981
28982         * DerivedSources.pro: Removed.
28983         * DumpRenderTree/qt/DumpRenderTree.pro:
28984         * DumpRenderTree/qt/ImageDiff.pro:
28985         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
28986         * MiniBrowser/qt/MiniBrowser.pro:
28987         * QtTestBrowser/QtTestBrowser.pro:
28988         * QtTestBrowser/launcherwindow.cpp:
28989         (LauncherWindow::initializeView):
28990         (LauncherWindow::createChrome):
28991         (LauncherWindow::screenshot):
28992         * QtTestBrowser/launcherwindow.h:
28993         (WindowOptions::WindowOptions):
28994         * Scripts/build-webkit:
28995         (unlinkZeroFiles):
28996         * Scripts/webkitdirs.pm:
28997         (qtFeatureDefaults):
28998         (promptUser):
28999         (buildQMakeProject):
29000         * Tools.pro:
29001         * WebKitTestRunner/DerivedSources.pri: Added.
29002         * WebKitTestRunner/DerivedSources.pro: Removed.
29003         * WebKitTestRunner/InjectedBundle/DerivedSources.pri: Added.
29004         * WebKitTestRunner/InjectedBundle/InjectedBundle.pro: Added.
29005         * WebKitTestRunner/InjectedBundle/Target.pri: Added.
29006         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Removed.
29007         * WebKitTestRunner/Target.pri: Added.
29008         * WebKitTestRunner/WebKitTestRunner.pro:
29009         * WebKitTestRunner/qt/TestInvocationQt.cpp:
29010         * WebKitTestRunner/qt/WebKitTestRunner.pro: Removed.
29011         * qmake/README: Added.
29012         * qmake/mkspecs/features/default_post.prf: Added.
29013         * qmake/mkspecs/features/default_pre.prf: Added.
29014         * qmake/mkspecs/features/features.prf: Renamed from Source/WebCore/features.pri.
29015         * qmake/mkspecs/features/functions.prf: Added.
29016         * qmake/mkspecs/features/javascriptcore.prf: Renamed from Source/JavaScriptCore/JavaScriptCore.pri.
29017         * qmake/mkspecs/features/mac/default_post.prf: Added.
29018         * qmake/mkspecs/features/mac/default_pre.prf: Added.
29019         * qmake/mkspecs/features/minimal_qt.prf: Added.
29020         * qmake/mkspecs/features/qtwebkit.prf: Added.
29021         * qmake/mkspecs/features/rpath.prf: Added.
29022         * qmake/mkspecs/features/unix/default_post.prf: Added.
29023         * qmake/mkspecs/features/unix/default_pre.prf: Added.
29024         * qmake/mkspecs/features/valgrind.prf: Added.
29025         * qmake/mkspecs/features/webcore.prf: Renamed from Source/WebCore/WebCore.pri.
29026         * qmake/mkspecs/features/webkit2.prf: Copied from Source/WebKit2/WebKit2.pri.
29027         * qmake/mkspecs/features/win32/default_post.prf: Added.
29028         * qmake/qt_webkit.pri: Renamed from Source/WebKit/qt/qt_webkit_version.pri.
29029         * qmake/syncqt-4.8: Added.
29030         (showUsage):
29031         ():
29032         (copyFile):
29033         (symlinkFile):
29034
29035 2011-11-04  Eric Seidel  <eric@webkit.org>
29036
29037         Remove deprecated free functions in port.factory
29038         https://bugs.webkit.org/show_bug.cgi?id=71494
29039
29040         Unreviewed.  Fixing exception seen when running test-webkitpy.
29041
29042         Sorry, I previously had deleted the relevant rebaseline-chromium-webkit-tests
29043         unittest, since that script is nearly ready to be deleted.  But I added
29044         it back at the last second and failed to run the tests. :(
29045         This fixes the exception the bots were seeing.
29046
29047         * Scripts/webkitpy/style/checkers/test_expectations.py:
29048         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
29049         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
29050
29051 2011-11-02  Xiaomei Ji  <xji@chromium.org>
29052
29053         Enable ctrl-arrow move cursor by word in visual order in cr-win by command line flag.
29054         https://bugs.webkit.org/show_bug.cgi?id=71163
29055
29056         Reviewed by Ryosuke Niwa.
29057
29058         * DumpRenderTree/chromium/WebPreferences.cpp: Set visualWordMovementEabled to false in DRT.
29059         (WebPreferences::applyTo):
29060
29061 2011-11-03  Eric Seidel  <eric@webkit.org>
29062
29063         Remove deprecated free functions in port.factory
29064         https://bugs.webkit.org/show_bug.cgi?id=71494
29065
29066         Reviewed by Adam Barth.
29067
29068         I removed port.factory.get, get_all, and all_port_names -- long-since deprecated
29069         free functions in factory.py.  To remove these required fixing all callsites
29070         to use MockHost, Host, or PortFactory where appropriate.  After this change
29071         we're only left with a handfull of places where we inappropraitely use a
29072         real Executive, FileSystem or User object during unittesting.
29073
29074         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
29075          - These PortFactory overrides were from an earlier edition of my previous patch
29076            in the end, I removed MockPortFactory so all tests ended up with this same
29077            real PortFactory() with a MockHost.  This was simply redundent code.
29078         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
29079          - Use MockHost to get a mocked-out PortFactory.
29080         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
29081          - This code has no access to a Host object, so we just use a default PortFactory
29082            for now.  This will still incorrectly create real Executive/FileSystem objects
29083            durring unittesting, which is wrong. :(
29084         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
29085          - Use a MockHost to get a mocked PortFactory.
29086         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
29087          - Use a MockHost to get a mocked PortFactory.
29088         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py:
29089          - ditto.
29090         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
29091          - ditto.
29092         * Scripts/webkitpy/layout_tests/port/__init__.py:
29093          - factory.get no longer exists.  Yay!
29094         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
29095          - Use a MockHost to get a mocked PortFactory.
29096            To do this efficiently, I created a helper function
29097            and combined all these (mostly redundant) tests into one test
29098            with several calls to the helper function.
29099         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
29100          - Pass MockUser and MockExecutive in these port testing subclasses.
29101          - I also removed a bunch of unecessary uses of mocktool. namespacing.
29102         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
29103          - Awesome windows hacks should only happen on win32.  Once we started
29104            using MockExecutives these 'svn help' commands started printing in
29105            other tests, which is how I found this bug.
29106         * Scripts/webkitpy/layout_tests/port/dryrun.py:
29107          - DryRunPort has no Host, so just use a PortFactory() directly.
29108            This will do the wrong thing if we're unittesting the DryRun port
29109            but it's no worse than the existing code.
29110         * Scripts/webkitpy/layout_tests/port/factory.py:
29111          - Remove the free functions.
29112          - Fix argument overriding to be able to override None.
29113         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
29114          - Use a mocked-out PortFactory during testing.
29115         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
29116          - Pass MockExecutive and MockUser to these manual Port instantiations.
29117         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
29118          - No access to a Host object here, so just using PortFactory directly.
29119            This is wrong, but no more wrong than the existing code was.
29120         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
29121          - Use a MockHost to get a mocked out PortFactory.
29122         * Scripts/webkitpy/layout_tests/port/test.py:
29123          - Use our fancy _set_default_overriding_none system to clean this code up and pass a MockExecutive.
29124         * Scripts/webkitpy/layout_tests/port/win.py:
29125          - Don't run cmd /c ver from WinPort.__init__ or it shows up in unittests which have logging MockExecutive
29126            now that we're actually passing MockExecutive to most Port instantiations during testing.
29127         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
29128          - Pass our new "unittesting" bool to _detect_version when actually unittesting.
29129         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
29130          - Host is the future.
29131         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
29132          - Use a MockHost to get a mocked out PortFactory.  Once we have a mocked PortFactory
29133            we don't need to pass MockUser explicitly, it does that automatically for us.
29134         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
29135          - Use a MockHost to get a mocked out PortFactory.
29136         * Scripts/webkitpy/style/checkers/test_expectations.py:
29137          - We don't have access to a Host object, so using PortFactory() directly.
29138         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
29139          - Remove unused variable.
29140         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
29141          - Host isn't accessible here, so using PortFactory() directly, which
29142            although unfortunate is no worse than before.
29143         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
29144          - Testing is much easier when you don't need to hack global state...
29145         * Scripts/webkitpy/tool/commands/expectations.py:
29146          - Use the port_factory on the tool.
29147         * Scripts/webkitpy/tool/commands/rebaseline.py:
29148          - ditto.
29149         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
29150          - This unittest was wrong.  It was trying to pass the tool object, but failing to pass
29151            the arguments in the right order.  Fixing that made it use a MockFileSystem
29152            (like it had been trying to), which then required us to actually populate
29153            that MockFileSystem with fake expectation files (instead of using the ones on the real disk).
29154         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
29155          - Get the port_factory from the tool.
29156         * Scripts/webkitpy/tool/servers/gardeningserver.py:
29157          - Ditto.
29158         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
29159          - Use a MockHost to get a mocked out Port object.
29160
29161 2011-11-03  Raphael Kubo da Costa  <kubo@profusion.mobi>
29162
29163         [EFL] DRT: Allow choosing which backing store to use.
29164         https://bugs.webkit.org/show_bug.cgi?id=70532
29165
29166         Reviewed by Antonio Gomes.
29167
29168         This change makes it possible to change the backing store used by DRT
29169         from Tiled Backing Store (TBS) to Single Backing Store (SBS) by
29170         setting the environment variable DRT_USE_SINGLE_BACKING_STORE to 1.
29171
29172         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
29173         (DumpRenderTreeChrome::createView):
29174         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
29175         (shouldUseSingleBackingStore):
29176         (chooseAndInitializeAppropriateSmartClass):
29177         (drtViewAdd):
29178         * DumpRenderTree/efl/DumpRenderTreeView.h:
29179
29180 2011-11-02  Erik Arvidsson  <arv@chromium.org>
29181
29182         JS Test Harness: Remove more link tags
29183         https://bugs.webkit.org/show_bug.cgi?id=71339
29184
29185         Reviewed by Ojan Vafai.
29186
29187         * Scripts/make-new-script-test:
29188         (writeTestFile): Don't output <link>
29189
29190 2011-11-03  Thouraya ANDOLSI  <thouraya.andolsi@st.com>
29191
29192         Reviewed by Martin Robinson.
29193
29194         [GTK] arguments passed to build-jsc are not taken into account
29195         https://bugs.webkit.org/show_bug.cgi?id=58333
29196
29197         * Scripts/build-jsc:
29198
29199 2011-11-03  Carlos Garcia Campos  <cgarcia@igalia.com>
29200
29201         [GTK] Show url of history items in a status bar in MiniBrowser
29202         https://bugs.webkit.org/show_bug.cgi?id=71474
29203
29204         Reviewed by Martin Robinson.
29205
29206         * MiniBrowser/gtk/BrowserWindow.c:
29207         (browserWindowSetStatusText): Set status text and show/hide the
29208         status label.
29209         (resetStatusText): Reset status text when history menu is hidden.
29210         (browserWindowHistoryItemSelected): Show url of currently selected
29211         history item.
29212         (browserWindowCreateBackForwardMenu): Connect to hide signal of
29213         menu to reset the status text.
29214         (browserWindowConstructed): Use GtkOverlay if available to show
29215         status text.
29216
29217 2011-11-03  Carlos Garcia Campos  <cgarcia@igalia.com>
29218
29219         [GTK] Add back/forward menus to MiniBrowser using WebKit2 GTK+ API
29220         https://bugs.webkit.org/show_bug.cgi?id=71466
29221
29222         Reviewed by Martin Robinson.
29223
29224         * MiniBrowser/gtk/BrowserWindow.c:
29225         (browserWindowHistoryItemActivated): Go to selected back formard
29226         list item using webkit_web_view_go_to_back_forward_list_item()
29227         (browserWindowCreateBackForwardMenu): Create a GtkMenu for the
29228         given GList of WebKitBackForwardListItems.
29229         (browserWindowUpdateNavigationActions): Enable/disable back and
29230         forward buttons depending on whether it's possible to go
29231         back/forward. Create a menu for back and forward toolbar buttons.
29232         (backForwadlistChanged): Call browserWindowUpdateNavigationActions().
29233         (browserWindowConstructed): Connect to WebKitBackForwardList
29234         changed signal.
29235
29236 2011-11-03  Simon Hausmann  <simon.hausmann@nokia.com>
29237
29238         [Qt] Remove Maemo specific code paths
29239         https://bugs.webkit.org/show_bug.cgi?id=71476
29240
29241         Reviewed by Kenneth Rohde Christiansen.
29242
29243         * QtTestBrowser/launcherwindow.cpp:
29244         (LauncherWindow::~LauncherWindow):
29245         (LauncherWindow::init):
29246         (LauncherWindow::showLinkHover):
29247         (LauncherWindow::selectElements):
29248         (LauncherWindow::showFPS):
29249         (LauncherWindow::updateFPS):
29250         * QtTestBrowser/launcherwindow.h:
29251         (WindowOptions::WindowOptions):
29252         * QtTestBrowser/locationedit.cpp:
29253         * QtTestBrowser/locationedit.h:
29254
29255 2011-11-03  Carlos Garcia Campos  <cgarcia@igalia.com>
29256
29257         [GTK] Show load progress information in MiniBrowser using WebKit2 GTK+ API
29258         https://bugs.webkit.org/show_bug.cgi?id=71461
29259
29260         Reviewed by Martin Robinson.
29261
29262         * MiniBrowser/gtk/BrowserWindow.c:
29263         (resetEntryProgress): Reset the entry progress after a while when
29264         load has been completed.
29265         (webViewLoadProgressChanged): Update location entry progress.
29266         (browserWindowConstructed): Connect to WebView
29267         notify::estimated-load-progress signal.
29268
29269 2011-11-03  Carlos Garcia Campos  <cgarcia@igalia.com>
29270
29271         [GTK] Remove WebKit2 C API from MiniBrowser
29272         https://bugs.webkit.org/show_bug.cgi?id=71459
29273
29274         Reviewed by Martin Robinson.
29275
29276         Use the GTK+ API instead to add minimum functionality. The other
29277         features will be ported to GTK+ API in following patches.
29278
29279         * MiniBrowser/gtk/BrowserWindow.c:
29280         (activateUriEntryCallback): Use webkit_web_view_load_uri().
29281         (goBackCallback): Use webkit_web_view_go_back().
29282         (goForwardCallback): Use webkit_web_view_go_forward().
29283         (webViewURIChanged): Update location entry with current uri using
29284         webkit_web_view_get_uri().
29285         (browserWindowFinalize):
29286         (browserWindowGetProperty):
29287         (browserWindowSetProperty):
29288         (browser_window_init):
29289         (browserWindowConstructed): Connect to notify::uri signal of
29290         WebView to be notified when the URI changes.
29291         (browser_window_class_init):
29292         (browser_window_new): Use WebKitWebView.
29293         (browser_window_get_view): Use WebKitWebView
29294         * MiniBrowser/gtk/BrowserWindow.h:
29295         * MiniBrowser/gtk/GNUmakefile.am:
29296         * MiniBrowser/gtk/WebBundle/WebBundleMain.c: Removed.
29297         * MiniBrowser/gtk/main.c:
29298         (loadURI): Use webkit_web_view_new().
29299         (main):
29300
29301 2011-11-03  Simon Hausmann  <simon.hausmann@nokia.com>
29302
29303         [Qt] Unable to start MiniBrowser after run-webkit-tests
29304         https://bugs.webkit.org/show_bug.cgi?id=71469
29305
29306         Reviewed by Csaba Osztrogonác.
29307
29308         * Scripts/run-launcher: Pass @ARGV instead of @args, which is stripped
29309         from things like -2. Neither Gtk or Qt MiniBrowser like unknown command
29310         line arguments.
29311
29312 2011-11-03  Philippe Normand  <pnormand@igalia.com>
29313
29314         [GTK] [WK2] ttf-liberation fonts moved to a new location (in Debian)
29315         https://bugs.webkit.org/show_bug.cgi?id=71445
29316
29317         Reviewed by Martin Robinson.
29318
29319         * DumpRenderTree/gtk/DumpRenderTree.cpp:
29320         (initializeFonts): set directoriesDescription only when needed.
29321         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
29322         (WTR::inititializeFontConfigSetting): Add the new font path for Debian fonts and
29323         refactored the font files loading code to avoid copy/pastes, ease
29324         maintenance and future font directories additions.
29325
29326 2011-11-03  Carlos Garcia Campos  <cgarcia@igalia.com>
29327
29328         [GTK] Remove GtkLauncher2
29329         https://bugs.webkit.org/show_bug.cgi?id=71449
29330
29331         Reviewed by Martin Robinson.
29332
29333         GtkLauncher2 is the GtkLauncher code compiled with webkit2. This
29334         made sense when we wanted to implement the exactly same wk1 API
29335         for wk2. Now the code would require an ifdef for most the api, so
29336         it's better to remove GtkLauncher2 and port MiniBrowser to the new
29337         GTK+ API.
29338
29339         * GNUmakefile.am:
29340         * GtkLauncher/main.c:
29341         (notifyProgressCb):
29342         (closeWebViewCb):
29343         (createBrowser):
29344         (addWebSettingsGroupToContext):
29345         (main):
29346
29347 2011-11-02  Philippe Normand  <pnormand@igalia.com>
29348
29349         [GTK] [DRT] ttf-liberation fonts moved to a new location (in Debian)
29350         https://bugs.webkit.org/show_bug.cgi?id=71359
29351
29352         Reviewed by Martin Robinson.
29353
29354         * DumpRenderTree/gtk/DumpRenderTree.cpp:
29355         (initializeFonts): Add the new font path for Debian fonts and
29356         refactored the font files loading code to avoid copy/pastes, ease
29357         maintenance and future font directories additions.
29358
29359 2011-11-02  Eric Seidel  <eric@webkit.org>
29360
29361         Move Mocks into _mock files near their implementations
29362         https://bugs.webkit.org/show_bug.cgi?id=71425
29363
29364         Reviewed by Adam Barth.
29365
29366         This entire change is splitting mocktool.py into separate _mock.py files
29367         and placing them next to their real implementations.
29368
29369         I also deleted MockPortFactory (since it was wrong) and was just hiding
29370         the fact that the "skipped-ports" command was broken (and has been for a long time).
29371         So I made MockHost use a real PortFactory (passed a MockHost) and changed
29372         the skipped-ports implementation to use modern PortFactory methods.
29373
29374         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
29375         * Scripts/webkitpy/common/checkout/checkout_mock.py: Added.
29376         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
29377         * Scripts/webkitpy/common/checkout/deps_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/__init__.py.
29378         * Scripts/webkitpy/common/checkout/scm/scm_mock.py: Added.
29379         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
29380         * Scripts/webkitpy/common/config/ports_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py.
29381         * Scripts/webkitpy/common/host.py:
29382         * Scripts/webkitpy/common/host_mock.py: Added.
29383         * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py: Added.
29384         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
29385         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py: Added.
29386         * Scripts/webkitpy/common/net/credentials_unittest.py:
29387         * Scripts/webkitpy/common/net/failuremap_unittest.py:
29388         * Scripts/webkitpy/common/net/irc/irc_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/__init__.py.
29389         * Scripts/webkitpy/common/net/statusserver_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py.
29390         * Scripts/webkitpy/common/net/statusserver_unittest.py:
29391         * Scripts/webkitpy/common/net/web_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py.
29392         * Scripts/webkitpy/common/system/executive.py:
29393         * Scripts/webkitpy/common/system/executive_mock.py:
29394         * Scripts/webkitpy/common/system/platforminfo_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/__init__.py.
29395         * Scripts/webkitpy/common/system/user_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py.
29396         * Scripts/webkitpy/common/system/workspace_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/__init__.py.
29397         * Scripts/webkitpy/common/system/workspace_unittest.py:
29398         * Scripts/webkitpy/common/watchlist/watchlist_mock.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/__init__.py.
29399         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
29400         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
29401         * Scripts/webkitpy/layout_tests/port/__init__.py:
29402         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
29403         * Scripts/webkitpy/layout_tests/port/efl_unittest.py:
29404         * Scripts/webkitpy/layout_tests/port/factory.py:
29405         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
29406         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
29407         * Scripts/webkitpy/layout_tests/port/http_lock_unittest.py:
29408         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
29409         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
29410         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
29411         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
29412         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
29413         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
29414         * Scripts/webkitpy/test/main.py:
29415         * Scripts/webkitpy/tool/bot/botinfo_unittest.py:
29416         * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
29417         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
29418         * Scripts/webkitpy/tool/commands/queries_unittest.py:
29419         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
29420         * Scripts/webkitpy/tool/mocktool.py:
29421         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
29422
29423 2011-11-02  Dan Bernstein  <mitz@apple.com>
29424
29425         Fixed the build and removed another copy to ColorBits.ttf.
29426
29427         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
29428         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
29429         * WebKitTestRunner/fonts/ColorBits.ttf: Removed.
29430
29431 2011-11-02  Dan Bernstein  <mitz@apple.com>
29432
29433         REGRESSION (r98759-r98773): platform/mac/fonts/color-bitmap.html failing on Lion Intel Debug (Tests)
29434         https://bugs.webkit.org/show_bug.cgi?id=71424
29435
29436         Reviewed by Sam Weinig.
29437
29438         Removed the ColorBits font and the code to register it in the process
29439         running the tests. The font was only used by the aforementioned test,
29440         which is now being removed.
29441
29442         * DumpRenderTree/fonts/ColorBits-A.png: Removed.
29443         * DumpRenderTree/fonts/ColorBits.ttf: Removed.
29444         * DumpRenderTree/mac/DumpRenderTree.mm:
29445         (allowedFontFamilySet):
29446         (activateTestingFonts):
29447         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
29448         (WTR::inititializeFontConfigSetting):
29449         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
29450         (WTR::allowedFontFamilySet):
29451         (WTR::activateFonts):
29452
29453 2011-11-02  Dan Bernstein  <mitz@apple.com>
29454
29455         Fix an intermittent hang in RenderedImageFromDOMRange.
29456
29457         Reviewed by Anders Carlsson.
29458
29459         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
29460         (TestWebKitAPI::Util::run): Made the call to -runMode:beforeDate: return
29461         immediately if there are no sources by passing a date in the distant past.
29462
29463 2011-11-02  Adam Roben  <aroben@apple.com>
29464
29465         Add git-add-reviewer
29466
29467         I've been using this script for a while to add reviewers to git commits in my local
29468         repository before pushing them to the Subversion repository. Basic usage is:
29469
29470         git-add-reviewer HEAD^ "Joe Schmoe"
29471         or
29472         git-add-reviewer -i trunk
29473
29474         Fixes <http://webkit.org/b/71419> Would like an easy way to add reviewer names to existing
29475         git commits
29476
29477         Reviewed by Sam Weinig.
29478
29479         * Scripts/git-add-reviewer: Added.
29480         (top level): Parse options, check that the working tree is clean, then run in either
29481         interactive or non-interactive mode as appropriate.
29482         (interactive): Write out a temp file that contains each commit with "NOBODY" next to it and
29483         open it in the user's editor. The user can replace "NOBODY" with reviewer names. When the
29484         editor exits, we check out the commit just before the earliest one we're modifying. Then
29485         for each commit, we check it out, update the reviewer, and amend the commit to contain the
29486         new reviewer. Finally, we update the branch that was originally checked out to point to the
29487         last amended commit.
29488         (nonInteractive): Check out the commit to modify, write the current commit message to the
29489         MERGE_MSG file so addReviewer will update it, add the reviewer to the ChangeLog(s), amend
29490         the commit, and rebase the original branch on top of the amended commit. (usage): Print out
29491         a usage message and exit.
29492         (requireCleanWorkTree): Do the same steps git-rebase does to ensure that the working tree
29493         and index are clean.
29494         (fail): Print out the specified error message, if any, and return false. This function is
29495         used as a return value in various error cases throughout the script.
29496         (cherryPick): Cherry-pick the specified commit and return 1 if we succeeded.
29497         (addReviewer): Add the specified reviewer to all the ChangeLogs modified in this commit, and
29498         to .git/MERGE_MSG, which will be used as the commit message for the next commit.
29499         (commit): Call git-commit and use .git/MERGE_MSG as the commit message.
29500
29501         (addReviewerToChangeLog):
29502         (addReviewerToCommitMessage):
29503         These just call through to addReviewerToFile.
29504
29505         (addReviewerToFile): Read in the file, replacing any "NOBODY" text with the reviewer name(s)
29506         and replacing "Reviewed" with "Rubber-stamped" if specified. Write the resulting text to a
29507         temp file, then move the temp file over the original file and stage it for the next commit.
29508         (head): Returns the name of the currently-checked-out branch.
29509         (isAncestor): Returns true if the first commit is an ancestor of the second.
29510         (toCommit): Converts a commitish to a commit ID using git-rev-parse.
29511         (changeLogsForCommit): Returns a list of all the ChangeLogs modified in the given commit.
29512         (resetToCommit): Checks out the given commit, throwing away any local changes.
29513         (writeCommitMessageToFile): Gets the commit message for the current commit and writes it to
29514         the specified file.
29515         (rebaseOntoHead): Rebases the specified branch onto HEAD.
29516         (checkout): Checks out the given commit.
29517         (getConfigValue): Reads the specified config variable from git-config.
29518
29519 2011-11-02  Dean Jackson  <dino@apple.com>
29520
29521         Add ENABLE_CSS_SHADERS flag
29522         https://bugs.webkit.org/show_bug.cgi?id=71394
29523
29524         Reviewed by Sam Weinig.
29525
29526         * Scripts/build-webkit:
29527
29528 2011-10-31  Eric Seidel  <eric@webkit.org>
29529
29530         BaselineOptimizer tests should use mocks instead of real Executive/FileSystem objects
29531         https://bugs.webkit.org/show_bug.cgi?id=71237
29532
29533         Reviewed by Adam Barth.
29534
29535         Calling the static version of factory.get() with proper mocking
29536         requires passsing an explict filesystem, executive, etc.
29537         So instead, we use a PortFactory instance and pass it a Host pointer.
29538         I had to add a MockHost since we'd not needed a non-host tool before now.
29539
29540         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
29541         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
29542         * Scripts/webkitpy/tool/commands/rebaseline.py:
29543         * Scripts/webkitpy/tool/mocktool.py:
29544
29545 2011-11-02  Anders Carlsson  <andersca@apple.com>
29546
29547         Update for the WebKit2 API fixage.
29548
29549         * MiniBrowser/mac/BrowserWindowController.m:
29550         (-[BrowserWindowController awakeFromNib]):
29551         * WebKitTestRunner/TestController.cpp:
29552         (WTR::TestController::initialize):
29553
29554 2011-11-02  Anders Carlsson  <andersca@apple.com>
29555
29556         Fix build.
29557
29558         Add new functions to the page loader client.
29559
29560         * MiniBrowser/mac/BrowserWindowController.m:
29561         (-[BrowserWindowController awakeFromNib]):
29562         * WebKitTestRunner/TestController.cpp:
29563         (WTR::TestController::initialize):
29564
29565 2011-11-02  Dan Bernstein  <mitz@apple.com>
29566
29567         <rdar://problem/10336700> Add API to get rendered text image without having to select it
29568         https://bugs.webkit.org/show_bug.cgi?id=71407
29569
29570         Reviewed by Simon Fraser.
29571
29572         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
29573         * TestWebKitAPI/Tests/mac/RenderedImageFromDOMRange.mm: Added.
29574         (-[RenderedImageFromDOMRangeFrameLoadDelegate webView:didFinishLoadForFrame:]):
29575         (TestWebKitAPI::TEST):
29576
29577 2011-11-02  Benjamin Poulain  <benjamin@webkit.org>
29578
29579         Make the main frame's base path more explicit in _drt_descriptionSuitableForTestResult
29580         https://bugs.webkit.org/show_bug.cgi?id=71351
29581
29582         Reviewed by Darin Adler.
29583
29584         Add the delimiter "/" at the end of the path instead of adding +1 when using
29585         the path.
29586
29587         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
29588         (-[NSURL _drt_descriptionSuitableForTestResult]):
29589
29590 2011-11-02  Tom Sepez  <tsepez@chromium.org>
29591
29592         XSSAuditor is silent
29593         https://bugs.webkit.org/show_bug.cgi?id=70973
29594
29595         Reviewed by Adam Barth.
29596
29597         * DumpRenderTree/chromium/WebViewHost.cpp:
29598         (WebViewHost::didDetectXSS):
29599         * DumpRenderTree/chromium/WebViewHost.h:
29600         * DumpRenderTree/mac/FrameLoadDelegate.mm:
29601         (-[FrameLoadDelegate webView:didDetectXSS:]):
29602         * MiniBrowser/mac/BrowserWindowController.m:
29603         (didDetectXSSForFrame):
29604         (-[BrowserWindowController awakeFromNib]):
29605         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
29606         (WTR::InjectedBundlePage::InjectedBundlePage):
29607         (WTR::InjectedBundlePage::didDetectXSSForFrame):
29608         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
29609
29610 2011-11-02  Simon Hausmann  <simon.hausmann@nokia.com>
29611
29612         [Qt] REGRESSION: 5 editing tests fail
29613         https://bugs.webkit.org/show_bug.cgi?id=71117
29614
29615         Reviewed by Andreas Kling.
29616
29617         Make sure that the view is properly focused, in order to get the
29618         didBeginEditing DRT calls.
29619
29620         This requires activating the window (the call will result in a FocusIn
29621         event to the window as well as setting QGuiApplication::focusWindow())
29622         as well as enabling the focus on the view item. The signature of
29623         setFocus has changed to take a boolean.
29624
29625         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
29626         (WTR::WrapperWindow::handleStatusChanged):
29627
29628 2011-11-02  Matt Falkenhagen  <falken@chromium.org>
29629
29630         [chromium] Add per-script font preferences support in overridePreference
29631         https://bugs.webkit.org/show_bug.cgi?id=71110
29632
29633         This allows a layout test to do something like:
29634
29635         // Set standard font for Arabic to Ahem.
29636         overridePreference("WebKitStandardFontMap", [ "Arab", "Ahem" ]);
29637
29638         This should make writing a layout test for per-script fonts easier.
29639
29640         This change only affects the Chromium DumpRenderTree, but the other
29641         platforms should probably also have a similar change eventually.
29642
29643         Reviewed by Tony Chang.
29644
29645         * DumpRenderTree/chromium/LayoutTestController.cpp: add per-script
29646         font preferences to overridePreference
29647         (LayoutTestController::cppVariantToWebStringArray):
29648         (setFontMap):
29649         (LayoutTestController::overridePreference):
29650         * DumpRenderTree/chromium/LayoutTestController.h:
29651         * DumpRenderTree/chromium/WebPreferences.cpp:
29652         (setStandardFontFamilyWrapper):
29653         (setFixedFontFamilyWrapper):
29654         (setSerifFontFamilyWrapper):
29655         (setSansSerifFontFamilyWrapper):
29656         (setCursiveFontFamilyWrapper):
29657         (setFantasyFontFamilyWrapper):
29658         (applyFontMap):
29659         (WebPreferences::applyTo):
29660         * DumpRenderTree/chromium/WebPreferences.h: add per-script font
29661         preference members
29662         (WebPreferences::UScriptCodeHashTraits::emptyValue):
29663         (WebPreferences::UScriptCodeHashTraits::constructDeletedValue):
29664         (WebPreferences::UScriptCodeHashTraits::isDeletedValue):
29665
29666 2011-11-02  Elliot Poger  <epoger@google.com>
29667
29668         until use_skia=1 by default on mac, default port should be chromium-cg-mac
29669         https://bugs.webkit.org/show_bug.cgi?id=71312
29670
29671         Reviewed by Adam Barth.
29672
29673         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
29674         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
29675         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
29676
29677 2011-11-02  Stephen Chenney  <schenney@chromium.org>
29678
29679         printing layout test failures after r98634
29680         https://bugs.webkit.org/show_bug.cgi?id=71080
29681
29682         Reviewed by Kent Tamura
29683
29684         * DumpRenderTree/chromium/WebViewHost.cpp:
29685         (WebViewHost::paintPagesWithBoundaries): Added transforms invert the CG Bitmap so the coord system
29686         matches that for Skia.
29687
29688 2011-11-01  Sam Weinig  <sam@webkit.org>
29689
29690         Can't complete ChangeLog when using resolve-Changelogs and webkit-tools-completion.sh
29691         https://bugs.webkit.org/show_bug.cgi?id=71346
29692
29693         Reviewed by Dan Bernstein.
29694
29695         * Scripts/webkit-tools-completion.sh:
29696         Add "-o default" which allows for completing files in addition to the word list.
29697
29698 2011-11-02  Simon Hausmann  <simon.hausmann@nokia.com>
29699
29700         [Qt][WK2] Add support for touch event testing to WebKitTestRunner
29701         https://bugs.webkit.org/show_bug.cgi?id=71310
29702
29703         Reviewed by Kenneth Rohde Christiansen.
29704
29705         * WebKitTestRunner/DerivedSources.pro: Build system foo to ensure the ENABLE_TOUCH_EVENTS
29706         define works in EventSendingController.idl
29707         * WebKitTestRunner/EventSenderProxy.h: Add declarations for Qt implementations of touch
29708         handlers.
29709         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Add touch functions
29710         required by tests.
29711         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp: Forward touch messages to the
29712         ui process.
29713         (WTR::EventSendingController::addTouchPoint):
29714         (WTR::EventSendingController::updateTouchPoint):
29715         (WTR::EventSendingController::setTouchModifier):
29716         (WTR::EventSendingController::touchStart):
29717         (WTR::EventSendingController::touchMove):
29718         (WTR::EventSendingController::touchEnd):
29719         (WTR::EventSendingController::clearTouchPoints):
29720         (WTR::EventSendingController::releaseTouchPoint):
29721         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
29722         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Include features.pri for feature
29723         defines.
29724         * WebKitTestRunner/TestController.cpp:
29725         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Forward incoming
29726         touch messages to the EventSenderProxy.
29727         * WebKitTestRunner/qt/EventSenderProxyQt.cpp: Implement touch test harness functions.
29728         (WTR::EventSenderProxy::EventSenderProxy):
29729         (WTR::EventSenderProxy::addTouchPoint):
29730         (WTR::EventSenderProxy::updateTouchPoint):
29731         (WTR::EventSenderProxy::setTouchModifier):
29732         (WTR::EventSenderProxy::touchStart):
29733         (WTR::EventSenderProxy::touchMove):
29734         (WTR::EventSenderProxy::touchEnd):
29735         (WTR::EventSenderProxy::clearTouchPoints):
29736         (WTR::EventSenderProxy::releaseTouchPoint):
29737         (WTR::EventSenderProxy::sendTouchEvent):
29738         * WebKitTestRunner/qt/WebKitTestRunner.pro: Include features.pri for feature defines.
29739
29740 2011-11-01  Sam Weinig  <sam@webkit.org>
29741
29742         resolve-ChangeLogs --help should be faster.
29743
29744         Reviewed by Adam Roben.
29745
29746         * Scripts/resolve-ChangeLogs:
29747         (usageAndExit):
29748         Add a call to usageAndExit() before doing work to find unmerged changelogs
29749         if --help or something illegal is provided on the command line.
29750
29751 2011-11-01  Benjamin Poulain  <bpoulain@apple.com>
29752
29753         [Mac] _drt_descriptionSuitableForTestResult generate an exception for absolute paths above the main frame
29754         https://bugs.webkit.org/show_bug.cgi?id=71342
29755
29756         Reviewed by Darin Adler.
29757
29758         [NSURL _drt_descriptionSuitableForTestResult] was generating a NSRangeException due to the call to
29759         [NSString substringFromIndex:] with an index out of the string range.
29760
29761         The source of this path is the test-loading-archive-subresource-null-mimetype.html which load a subresource
29762         from the root of the disk.
29763         The problem was hidden because the exception are catched when calling the delegate.
29764
29765         This patch changes _drt_descriptionSuitableForTestResult to return absolute string if the resource is not
29766         in a subdirectory of the main frame.
29767
29768         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
29769         (-[NSURL _drt_descriptionSuitableForTestResult]):
29770
29771 2011-11-01  Alok Priyadarshi  <alokp@chromium.org>
29772
29773         [chromium] --enable-hardware-gpu flag is not recognized by run-webkit-tests
29774         https://bugs.webkit.org/show_bug.cgi?id=71318
29775
29776         Reviewed by James Robinson.
29777         
29778         Fixed a typo for --enable-hardware-gpu flag.
29779
29780         * Scripts/webkitpy/layout_tests/port/chromium.py:
29781
29782 2011-11-01  Elliot Poger  <epoger@google.com>
29783
29784         chromium-gpu port should default to chromium-gpu-mac, not chromium-gpu-cg-mac
29785         https://bugs.webkit.org/show_bug.cgi?id=71286
29786
29787         Reviewed by Stephen White.
29788
29789         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
29790
29791 2011-11-01  Simon Hausmann  <simon.hausmann@nokia.com>
29792
29793         [Qt][WK2] Fix build of WebKitTestRunner with ELF symbol visibility
29794         https://bugs.webkit.org/show_bug.cgi?id=71299
29795
29796         Reviewed by Andreas Kling.
29797
29798         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Use the properly exported symbol for the Qt
29799         build to enable WebCoreTestSupport::injectInternalsObject.
29800         (WTR::InjectedBundlePage::didClearWindowForFrame):
29801         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Fix include path to DRTSupportQt
29802
29803 2011-11-01  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
29804
29805         [Qt] Merge common desktop and touch view APIs under a base class.
29806         https://bugs.webkit.org/show_bug.cgi?id=71280
29807
29808         Reviewed by Andreas Kling.
29809
29810         Remove unneded forwarding logic for TouchWebView since those properties are
29811         now in the view just as the desktop web view.
29812
29813         * MiniBrowser/qt/qml/TouchView.qml:
29814
29815 2011-11-01  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
29816
29817         check-webkit-style: Allow names starting with "_q_".
29818         https://bugs.webkit.org/show_bug.cgi?id=70625
29819
29820         Reviewed by Tor Arne Vestbø.
29821
29822         Used by the Qt port as the standard prefix for private slots.
29823
29824         * Scripts/webkitpy/style/checkers/cpp.py:
29825         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
29826
29827 2011-11-01  Simon Hausmann  <simon.hausmann@nokia.com>
29828
29829         [Qt][WK2] Fix valgrind error about uninitialized variable
29830         https://bugs.webkit.org/show_bug.cgi?id=71273
29831
29832         Reviewed by Kenneth Christiansen.
29833
29834         * MiniBrowser/qt/MiniBrowserApplication.cpp:
29835         (MiniBrowserApplication::notify): Initialize isPrimary.
29836
29837 2011-10-31  Adam Roben  <aroben@apple.com>
29838
29839         Make Leaks Viewer less strict when parsing leaks-related output from NRWT/ORWT
29840
29841         Fixes <http://webkit.org/b/71258> REGRESSION (r98639): Leaks Viewer doesn't show recent
29842         leaky builds
29843
29844         Reviewed by Anders Carlsson.
29845
29846         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
29847         (RecentBuildsLoader.prototype.start): Relax a regex to gloss over differences in ORWT's vs.
29848         NRWT's leaks-related output (i.e., "M total leaks found!" vs. "M total leaks found for a
29849         total of N bytes!").
29850
29851 2011-10-31  Raphael Kubo da Costa  <kubo@profusion.mobi>
29852
29853         [EFL] Rename ewk_view_setting_scripts_window_open_{get,set} after r93833
29854         https://bugs.webkit.org/show_bug.cgi?id=71228
29855
29856         Reviewed by Antonio Gomes.
29857
29858         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
29859         (DumpRenderTreeChrome::createNewWindow):
29860         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
29861
29862 2011-10-31  Eric Seidel  <eric@webkit.org>
29863
29864         webkitpy tests depend too much on the user's environment
29865         https://bugs.webkit.org/show_bug.cgi?id=71234
29866
29867         Reviewed by Dirk Pranke.
29868
29869         This change just makes a bunch of our older tests use
29870         more modern mocking to avoid trying to launch processes
29871         or read from the user's filesystem during unittesting.
29872
29873         I found many of these by adding an assert in Executive.run_command
29874         that we were not unittesting.  I can't add that assert always
29875         as there are some valid uses of Executive during unittesting.
29876         Once I fix more of these, I may find a way to add such an assert conditionally.
29877
29878         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
29879         * Scripts/webkitpy/common/net/credentials_unittest.py:
29880         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
29881         * Scripts/webkitpy/layout_tests/port/base.py:
29882         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
29883
29884 2011-10-31  Kenneth Rohde Christiansen  <kenneth@webkit.org>
29885
29886         [Qt] MiniBrowser doesn't resize as the size is always overridden
29887         https://bugs.webkit.org/show_bug.cgi?id=71212
29888
29889         Reviewed by Simon Hausmann.
29890
29891         Remove call overriden the size.
29892
29893         * MiniBrowser/qt/main.cpp:
29894         (main):
29895
29896 2011-10-30  Sheriff Bot  <webkit.review.bot@gmail.com>
29897
29898         Unreviewed, rolling out r98819, r98823, r98825, and r98830.
29899         http://trac.webkit.org/changeset/98819
29900         http://trac.webkit.org/changeset/98823
29901         http://trac.webkit.org/changeset/98825
29902         http://trac.webkit.org/changeset/98830
29903         https://bugs.webkit.org/show_bug.cgi?id=71199
29904
29905         Broke Chromium Windows bot (Requested by rniwa on #webkit).
29906
29907         * Scripts/webkitpy/layout_tests/port/base.py:
29908         * Scripts/webkitpy/layout_tests/port/chromium.py:
29909         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
29910         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
29911         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
29912         * Scripts/webkitpy/layout_tests/port/efl.py:
29913         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
29914         * Scripts/webkitpy/layout_tests/port/mac.py:
29915         * Scripts/webkitpy/layout_tests/port/qt.py:
29916         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
29917         * Scripts/webkitpy/layout_tests/port/webkit.py:
29918         * Scripts/webkitpy/layout_tests/port/win.py:
29919
29920 2011-10-30  Eric Seidel  <eric@webkit.org>
29921
29922         new-run-webkit-tests is locale dependent
29923         https://bugs.webkit.org/show_bug.cgi?id=68691
29924
29925         Unreviewed.
29926
29927         This is a temporary hack until someone from the cr-win port
29928         can take a look and determine which environment variable
29929         lighttpd is missing.
29930
29931         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
29932
29933 2011-10-30  Eric Seidel  <eric@webkit.org>
29934
29935         new-run-webkit-tests is locale dependent
29936         https://bugs.webkit.org/show_bug.cgi?id=68691
29937
29938         Unreviewed.  I would have preferred to have this reviewed,
29939         but relevant reviewers are asleep and bots are broken.
29940
29941         This was a regression from moving to a clean environment.
29942         ChromiumWin (and possibly other ports), need the "PATH"
29943         environment copied over.  This wasn't caught in my testing
29944         because although we had unittests to cover this, they
29945         weren't being run on anything but windows.  The vast majority
29946         of this change is just fixing the unittests to use our
29947         modern MockFileSystem/MockUser/MockExecutive so they can
29948         be run on any system (and removing the platform checks from
29949         the unittests so they are run everywhere).
29950
29951         The actual fix is the single line "PATH" string added to base.py.
29952         The rest of this change is just fixing the Chromium port unittests
29953         to run on all systems (including changing the Chromium port to
29954         use FileSystem.path_to_module instead of __file__).
29955
29956         * Scripts/webkitpy/layout_tests/port/base.py:
29957         * Scripts/webkitpy/layout_tests/port/chromium.py:
29958         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
29959         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
29960         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
29961         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
29962
29963 2011-10-29  Eric Seidel  <eric@webkit.org>
29964
29965         new-run-webkit-tests is locale dependent
29966         https://bugs.webkit.org/show_bug.cgi?id=68691
29967
29968         Unreviewed.
29969
29970         Fix the Qt port and unittest the function so we don't break it again.
29971
29972         * Scripts/webkitpy/layout_tests/port/qt.py:
29973         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
29974
29975 2011-10-29  Eric Seidel  <eric@webkit.org>
29976
29977         new-run-webkit-tests is locale dependent
29978         https://bugs.webkit.org/show_bug.cgi?id=68691
29979
29980         Reviewed by Adam Barth.
29981
29982         Make NRWT use a clean environment just like ORWT did.
29983         I've manually validated that NRWT now copies over
29984         the same environment variables that ORWT did.
29985         This new code is exercised by existing setup_environ_for_server tests.
29986
29987         * Scripts/webkitpy/layout_tests/port/base.py:
29988         * Scripts/webkitpy/layout_tests/port/efl.py:
29989         * Scripts/webkitpy/layout_tests/port/mac.py:
29990         * Scripts/webkitpy/layout_tests/port/qt.py:
29991         * Scripts/webkitpy/layout_tests/port/webkit.py:
29992         * Scripts/webkitpy/layout_tests/port/win.py:
29993
29994 2011-10-29  Eric Seidel  <eric@webkit.org>
29995
29996         new-run-webkit-tests: MASTER BUG: Switch all webkit.org bots over
29997         https://bugs.webkit.org/show_bug.cgi?id=34984
29998
29999         Reviewed by Adam Barth.
30000
30001         Move run-webkit-tests from using a white-list of supported NRWT ports
30002         to a blacklist of ports requiring ORWT.
30003
30004         I've also added the ability to opt-in to parallel testing on a per-port basis.
30005
30006         With these changes I'm going to officially declare this bug dead and
30007         work on remaining polish issues and individual developer complaints.
30008
30009         * Scripts/run-webkit-tests:
30010         (useNewRunWebKitTests):
30011         (platformIsReadyForParallelTesting):
30012
30013 2011-10-29  Sheriff Bot  <webkit.review.bot@gmail.com>
30014
30015         Unreviewed, rolling out r98780.
30016         http://trac.webkit.org/changeset/98780
30017         https://bugs.webkit.org/show_bug.cgi?id=71173
30018
30019         Broke Qt bots (Requested by rniwa on #webkit).
30020
30021         * Scripts/run-webkit-tests:
30022         (useNewRunWebKitTests):
30023
30024 2011-10-28  Rafael Weinstein  <rafaelw@chromium.org>
30025
30026         webkit.py gdb visualizer is broken after change to StringImpl
30027         https://bugs.webkit.org/show_bug.cgi?id=71154
30028
30029         Reviewed by Tony Chang.
30030
30031         r98624 changed StringImpl m_data to m_data32. This changes updates
30032         webkit.py to match.
30033
30034         * gdb/webkit.py:
30035
30036 2011-10-28  Joseph Pecoraro  <pecoraro@apple.com>
30037
30038         Fix typo in check-for-inappropriate-objc-class-names
30039         https://bugs.webkit.org/show_bug.cgi?id=71144
30040
30041         Reviewed by Dan Bernstein.
30042
30043         * Scripts/check-for-inappropriate-objc-class-names:
30044
30045 2011-10-28  Sadrul Habib Chowdhury  <sadrul@chromium.org>
30046
30047         Add support for sending scroll-update events from EventSender.
30048         https://bugs.webkit.org/show_bug.cgi?id=66272
30049
30050         Reviewed by Adam Barth.
30051
30052         * DumpRenderTree/chromium/EventSender.cpp:
30053         (EventSender::EventSender):
30054         (EventSender::reset):
30055         (EventSender::gestureScrollUpdate):
30056         (EventSender::gestureEvent):
30057         * DumpRenderTree/chromium/EventSender.h:
30058
30059 2011-10-28  Eric Seidel  <eric@webkit.org>
30060
30061         new-run-webkit-tests: MASTER BUG: Switch all webkit.org bots over
30062         https://bugs.webkit.org/show_bug.cgi?id=34984
30063
30064         Reviewed by Adam Barth.
30065
30066         Move run-webkit-tests from using a white-list of supported NRWT ports
30067         to a blacklist of ports requiring ORWT.
30068
30069         I've also added the ability to opt-in to parallel testing on a per-port basis.
30070
30071         With these changes I'm going to officially declare this bug dead and
30072         work on remaining polish issues and individual developer complaints.
30073
30074         * Scripts/run-webkit-tests:
30075         (useNewRunWebKitTests):
30076         (platformIsReadyForParallelTesting):
30077
30078 2011-10-28  Eric Seidel  <eric@webkit.org>
30079
30080         NRWT crashes when parsing leaks output due to UTF-8 decoding error
30081         https://bugs.webkit.org/show_bug.cgi?id=71112
30082
30083         Reviewed by Adam Barth.
30084
30085         Use read_binary_file instead of read_text_file and add a test
30086         case with some non-utf8 data to make sure we don't break this in the future.
30087
30088         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
30089         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
30090
30091 2011-10-28  David Levin  <levin@chromium.org>
30092
30093         watchlist should not CC the bug reporter
30094         https://bugs.webkit.org/show_bug.cgi?id=71079
30095
30096         Reviewed by Adam Barth.
30097
30098         Tested by test_apply_watch_list_local (webkitpy.tool.steps.applywatchlist_unittest.ApplyWatchListTest)
30099         which remains upchanged and thus verifies that the reporter doesn't get added to the cc line.
30100
30101         * Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py: Add the new email in the output.
30102         * Scripts/webkitpy/tool/mocktool.py: Change the reporter and make them one of the people to cc.
30103         * Scripts/webkitpy/tool/steps/applywatchlist.py: Remove the reporter from the cc list.
30104
30105 2011-10-28  Zoltan Horvath  <zoltan@webkit.org>
30106
30107         Add watchlist for QtWebKit2 API and for WK2's Qt specific files.
30108         https://bugs.webkit.org/show_bug.cgi?id=71116
30109
30110         Reviewed by David Levin.
30111
30112         * Scripts/webkitpy/common/config/watchlist:
30113
30114 2011-10-28  Simon Hausmann  <simon.hausmann@nokia.com>
30115
30116         [Qt] Adapt to QSG* to QQuick* API change in qtdeclarative
30117         https://bugs.webkit.org/show_bug.cgi?id=70494
30118
30119         Reviewed by Kenneth Christiansen.
30120
30121         Use QQuick* instead of QSG* as well as QStandardPaths
30122         instead of QDesktopLocation.
30123
30124         * MiniBrowser/qt/BrowserWindow.cpp:
30125         (BrowserWindow::BrowserWindow):
30126         * MiniBrowser/qt/BrowserWindow.h:
30127         * QtTestBrowser/cookiejar.cpp:
30128         (TestBrowserCookieJar::TestBrowserCookieJar):
30129         * QtTestBrowser/launcherwindow.cpp:
30130         (LauncherWindow::setDiskCache):
30131         * WebKitTestRunner/PlatformWebView.h:
30132         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
30133         (WTR::WrapperWindow::WrapperWindow):
30134         (WTR::WrapperWindow::handleStatusChanged):
30135
30136 2011-10-28  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
30137
30138         [Qt] Fix the Ctrl behavior for touch mocking in MiniBrowser.
30139         https://bugs.webkit.org/show_bug.cgi?id=71106
30140
30141         Reviewed by Simon Hausmann.
30142
30143         Holding Ctrl allows multiple touch points to be held on the screen using
30144         mouse buttons. It would previously only prevent TouchReleased to be sent
30145         and would require another MouseButtonRelease to be sent without holding Ctrl.
30146
30147         This patch makes sure that all held touch points are released when Ctrl
30148         is released if MouseButtonRelease was received.
30149         It also removes the touch QEvent::Type logic since it's currently handled
30150         by QtGui by observing the modified touch points.
30151
30152         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30153         (MiniBrowserApplication::notify):
30154         (MiniBrowserApplication::sendTouchEvent):
30155         * MiniBrowser/qt/MiniBrowserApplication.h:
30156
30157 2011-10-28  Kenneth Rohde Christiansen  <kenneth@webkit.org>
30158
30159         [Qt] MiniBrowser needs a -window-size option
30160         https://bugs.webkit.org/show_bug.cgi?id=70999
30161
30162         Reviewed by Simon Hausmann.
30163
30164         Add an -window-size option useful for testing the viewport handling.
30165         Also clean up the option handling.
30166
30167         * MiniBrowser/qt/BrowserWindow.cpp:
30168         (BrowserWindow::BrowserWindow):
30169         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30170         (MiniBrowserApplication::handleUserOptions):
30171         * MiniBrowser/qt/MiniBrowserApplication.h:
30172         (WindowOptions::WindowOptions):
30173         (WindowOptions::setRequestedWindowSize):
30174         (WindowOptions::requestedWindowSize):
30175         * MiniBrowser/qt/utils.cpp:
30176         (takeOptionValue):
30177         * MiniBrowser/qt/utils.h:
30178
30179 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
30180
30181         Add allowScriptFromSource callback to FrameLoaderClient
30182         https://bugs.webkit.org/show_bug.cgi?id=71013
30183
30184         Reviewed by Darin Fisher.
30185
30186         * DumpRenderTree/chromium/LayoutTestController.cpp:
30187         (LayoutTestController::LayoutTestController):
30188         (LayoutTestController::setScriptsAllowed):
30189         * DumpRenderTree/chromium/LayoutTestController.h:
30190         * DumpRenderTree/chromium/WebPermissions.cpp:
30191         (WebPermissions::allowScriptFromSource):
30192         (WebPermissions::setScriptsAllowed):
30193         (WebPermissions::reset):
30194         * DumpRenderTree/chromium/WebPermissions.h:
30195
30196 2011-10-28  Alexandru Chiculita  <achicu@adobe.com>
30197
30198         Added myself as a committer.
30199
30200         * Scripts/webkitpy/common/config/committers.py:
30201
30202 2011-10-27  Adam Barth  <abarth@webkit.org>
30203
30204         Remove WinCairo from the set of core builders.  WinCairo rarely builds
30205         and is never green.
30206
30207         Rubber-stamped by Eric Seidel.
30208
30209         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
30210         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
30211
30212 2011-10-27  Yuta Kitamura  <yutak@chromium.org>
30213
30214         WebSocket: Connecting to localhost:8880 takes one second on Windows
30215         https://bugs.webkit.org/show_bug.cgi?id=64788
30216
30217         Reviewed by Dirk Pranke.
30218
30219         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
30220         Bind to "localhost" instead of "127.0.0.1" to let pywebsocket listen on both
30221         IPv4 and IPv6 addresses. This should prevent the test reserved-opcodes.html
30222         from timing out on Windows, because this test tries to open a lot of
30223         connections to localhost and each attempt takes one second to fall back from
30224         IPv6 to IPv4 on Windows (I have no idea why Windows works like this, though).
30225
30226 2011-10-27  Adam Barth  <abarth@webkit.org>
30227
30228         Dis-integrate run-bindings-tests with webkitpy
30229         https://bugs.webkit.org/show_bug.cgi?id=71092
30230
30231         Reviewed by Ryosuke Niwa.
30232
30233         These tests aren't really adding any value.
30234
30235         * Scripts/webkitpy/common/config/ports.py:
30236         * Scripts/webkitpy/tool/commands/download_unittest.py:
30237         * Scripts/webkitpy/tool/mocktool.py:
30238         * Scripts/webkitpy/tool/steps/runtests.py:
30239         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
30240         * Scripts/webkitpy/tool/steps/steps_unittest.py:
30241
30242 2011-10-27  Eric Seidel  <eric@webkit.org>
30243
30244         REGRESSION (r98639): NRWT crashes when parsing leaks output
30245         https://bugs.webkit.org/show_bug.cgi?id=71087
30246
30247         Unreviewed.  Sadly we have no good way to test logging.
30248
30249         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
30250
30251 2011-10-27  David Levin  <levin@chromium.org>
30252
30253         Test expectation errors should include the file name and platform in both the log and exception info.
30254         https://bugs.webkit.org/show_bug.cgi?id=71067
30255
30256         Reviewed by Ojan Vafai.
30257
30258         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
30259         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
30260
30261 2011-10-27  Eric Seidel  <eric@webkit.org>
30262
30263         new-run-webkit-tests doesn't understand --qt or --gtk
30264         https://bugs.webkit.org/show_bug.cgi?id=63970
30265
30266         Reviewed by Ojan Vafai.
30267
30268         Add support for --qt and --gtk to NRWT.
30269         I also removed some incorrect comments in the option parsing
30270         code (options which we already implement, but said we didn't)
30271         as well as moved --platform parsing out of the "results_options"
30272         section into the top configuration section.
30273
30274         Now run-webkit-tests no longer needs NRWT-specific code for passing
30275         --platform=qt, etc.
30276
30277         * Scripts/run-webkit-tests:
30278         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
30279
30280 2011-10-27  Eric Seidel  <eric@webkit.org>
30281
30282         REGRESSION (NRWT): build.webkit.org doesn't show the total number of leaks found during a test run on the Leaks bot
30283         https://bugs.webkit.org/show_bug.cgi?id=66227
30284
30285         Reviewed by Adam Roben.
30286
30287         I believe this should fix the bug.
30288
30289         * Scripts/run-webkit-tests: make NRWT default for --leaks
30290         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
30291         (LeakDetector._parse_leaks_output): removed the (unneeded) process_pid argument, and made the regexp use named groups (even though we don't ever grab them by name)
30292         (LeakDetector.count_total_bytes_and_unique_leaks): renamed from parse_leak_files
30293         (LeakDetector.count_total_leaks): new file (the guts of this change) which is used to re-parse the leaks output during the summarize leaks phase.
30294         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
30295         Changes to reflect the rename of count_total_bytes_and_unique_leaks and a new test for count_total_leaks.
30296         * Scripts/webkitpy/layout_tests/port/mac.py:
30297         Use count_total_leaks to spit out the total leak count like ORWT did, and remove the FIXME on the subject.
30298
30299 2011-10-27  Stephen Chenney  <schenney@chromium.org>
30300
30301         [Chromium] Need setPrinting
30302         https://bugs.webkit.org/show_bug.cgi?id=46152
30303
30304         Reviewed by Hajime Morita.
30305
30306         * DumpRenderTree/chromium/LayoutTestController.cpp:
30307         (LayoutTestController::LayoutTestController): Added logic for handling setPrinting.
30308         (LayoutTestController::reset): Clearing flags for setPrinting.
30309         (LayoutTestController::setPrinting): Set flags for setPrinting.
30310         * DumpRenderTree/chromium/LayoutTestController.h:
30311         (LayoutTestController::setIsPrinting): Added the setPrinting methods and flags.
30312         (LayoutTestController::isPrinting): Method to return the setPrinting status.
30313         * DumpRenderTree/chromium/TestShell.cpp:
30314         (dumpFramesAsPrintedText): A method for creating a text dump in printed layout.
30315         (TestShell::dump): Modified to dump setPrinting-specific output.
30316         * DumpRenderTree/chromium/WebViewHost.cpp:
30317         (WebViewHost::paintPagesWithBoundaries): Handling for pixel tests when setPrinting is
30318         active.
30319         * DumpRenderTree/chromium/WebViewHost.h: Prototype for paintPagesWithBoundaries.
30320
30321 2011-10-27  Sam Weinig  <sam@webkit.org>
30322
30323         Add allowsPlugIns property to WKBrowsingContextGroup
30324         https://bugs.webkit.org/show_bug.cgi?id=70987
30325
30326         Reviewed by Anders Carlsson.
30327
30328         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
30329         Add basic test for WKBrowsingContextGroup.allowsPlugIns. 
30330
30331 2011-10-27  Adam Roben  <aroben@apple.com>
30332
30333         Test WKBundlePageGetBackingScaleFactor
30334
30335         Test for <http://webkit.org/b/71025> <rdar://problem/10355037> REGRESSION (r97191): Clients
30336         can't reliably determine the scale factor of snapshots returned via
30337         WKBundlePageCreateSnapshot* API
30338
30339         Reviewed by Sam Weinig.
30340
30341         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
30342
30343         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm: Added.
30344         (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Record the passed-back scale factor.
30345         (TestWebKitAPI::setInjectedBundleClient): Hook up our didReceiveMessage callback.
30346         (TestWebKitAPI::createWindow): Conjure up a window.
30347         (TestWebKitAPI::TEST): Ask the injected bundle code to call the new
30348         WKBundlePageGetBackingScaleFactor API when the WKView is in windows with various scale
30349         factors and when using a custom scale factor, and check that we get those same scale factors
30350         back.
30351
30352         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor_Bundle.mm: Added.
30353         (TestWebKitAPI::GetBackingScaleFactorTest::GetBackingScaleFactorTest): Just initialize our
30354         members.
30355         (TestWebKitAPI::GetBackingScaleFactorTest::didCreatePage): Store the page for later.
30356         (TestWebKitAPI::GetBackingScaleFactorTest::didReceiveMessage): Get the backing scale factor
30357         from the page using the new API and send it back.
30358
30359 2011-10-27  Balazs Kelemen  <kbalazs@webkit.org>
30360
30361         [Qt][WK2] MiniBrowser crashes when started with 0 arguments
30362
30363         Rubber-stamped by Simon Hausmann.
30364
30365         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30366         (MiniBrowserApplication::handleUserOptions):
30367         Fix typo error.
30368
30369 2011-10-27  Takashi Toyoshima  <toyoshim@chromium.org>
30370
30371         [WebSocket] update pywebsocket to 0.7.
30372         https://bugs.webkit.org/show_bug.cgi?id=70992
30373
30374         Reviewed by Kent Tamura.
30375
30376         pywebsocket 0.7 fixed the bug on dual stack support on OS X.
30377
30378         * Scripts/webkitpy/thirdparty/__init__.py:
30379
30380 2011-10-27  Elliot Poger  <epoger@google.com>
30381
30382         make lion observe MAC lines in test_expectations.txt
30383         https://bugs.webkit.org/show_bug.cgi?id=70941
30384
30385         Reviewed by Ojan Vafai.
30386
30387         * Scripts/webkitpy/layout_tests/port/chromium.py:
30388         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
30389
30390 2011-10-27  John Knottenbelt  <jknotten@chromium.org>
30391
30392         [Chromium] Allow DRT to be built without notifications enabled.
30393         https://bugs.webkit.org/show_bug.cgi?id=70919
30394
30395         Reviewed by Tony Gentilcore.
30396
30397         * DumpRenderTree/chromium/LayoutTestController.cpp:
30398         (LayoutTestController::grantDesktopNotificationPermission):
30399         (LayoutTestController::simulateDesktopNotificationClick):
30400         * DumpRenderTree/chromium/NotificationPresenter.cpp:
30401         * DumpRenderTree/chromium/TestShell.cpp:
30402         (TestShell::TestShell):
30403         (TestShell::resetTestController):
30404
30405 2011-10-21  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
30406
30407         [Qt] Improve command line arguments handling for MiniBrowser.
30408         https://bugs.webkit.org/show_bug.cgi?id=70616
30409
30410         Reviewed by Kenneth Rohde Christiansen.
30411
30412         - Use two dashes for word arguments.
30413         - Return with an error when an unsupported argument is given.
30414         - Allow the URL to be placed before option arguments.
30415
30416         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30417         (printHelp):
30418         (MiniBrowserApplication::handleUserOptions):
30419         * MiniBrowser/qt/utils.cpp:
30420         (takeOptionFlag):
30421         (takeOptionValue):
30422         * MiniBrowser/qt/utils.h:
30423
30424 2011-10-27  Csaba Osztrogonác  <ossy@webkit.org>
30425
30426         [Qt] NRWT doesn't work on qt-mac platform
30427         https://bugs.webkit.org/show_bug.cgi?id=64445
30428
30429         Reviewed by Adam Barth.
30430
30431         * Scripts/run-webkit-tests: Switch qt-mac platform to NRWT.
30432         (useNewRunWebKitTests):
30433         * Scripts/webkitpy/layout_tests/port/qt.py: Fix library path on Mac.
30434
30435 2011-10-26  Sam Weinig  <sam@webkit.org>
30436
30437         Add initial setting to WKBrowsingContextGroup
30438         https://bugs.webkit.org/show_bug.cgi?id=70942
30439
30440         Reviewed by Anders Carlsson.
30441
30442         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
30443         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm: Added.
30444         Add basic test that setting the javaScriptEnabled setting takes. It is not
30445         possible to test its effect quite yet.
30446
30447 2011-10-26  Alejandro G. Castro  <alex@igalia.com>
30448
30449         [GTK] [WK2] Add WebKit2 distcheck support
30450         https://bugs.webkit.org/show_bug.cgi?id=70933
30451
30452         Reviewed by Martin Robinson.
30453
30454         * WebKitTestRunner/GNUmakefile.am: Add missing files to the
30455         sources and EXTRA_DIST.
30456
30457 2011-10-26  Simon Hausmann  <simon.hausmann@nokia.com>
30458
30459         [Qt][WK2] Fix failing assertion on startup of MiniBrowser -touch.
30460
30461         Reviewed by Tor Arne Vestbø.
30462
30463         We're using QScroller since r98460, which requires QWidget/QApplication. So
30464         use QApplication and QtWidgets for the time being.
30465
30466         * MiniBrowser/qt/MiniBrowser.pro:
30467         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30468         (MiniBrowserApplication::MiniBrowserApplication):
30469         (MiniBrowserApplication::notify):
30470         * MiniBrowser/qt/MiniBrowserApplication.h:
30471
30472 2011-10-25  Zeno Albisser  <zeno.albisser@nokia.com>
30473
30474         [Qt][WK2] Rewrite MiniBrowser in QML
30475         https://bugs.webkit.org/show_bug.cgi?id=70315
30476
30477         Add the first QML based implementation of MiniBrowser.
30478
30479         Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com>,
30480                  Zeno Albisser <zeno.albisser@nokia.com>
30481
30482         Reviewed by Tor Arne Vestbø.
30483
30484         * MiniBrowser/qt/BrowserWindow.cpp:
30485         (BrowserWindow::BrowserWindow):
30486         (BrowserWindow::webView):
30487         (BrowserWindow::load):
30488         (BrowserWindow::keyPressEvent):
30489         (BrowserWindow::~BrowserWindow):
30490         * MiniBrowser/qt/BrowserWindow.h:
30491         * MiniBrowser/qt/MiniBrowser.pro:
30492         * MiniBrowser/qt/MiniBrowser.qrc:
30493         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30494         (MiniBrowserApplication::MiniBrowserApplication):
30495         (MiniBrowserApplication::handleUserOptions):
30496         * MiniBrowser/qt/MiniBrowserApplication.h:
30497         (WindowOptions::WindowOptions):
30498         * MiniBrowser/qt/UrlLoader.cpp:
30499         (UrlLoader::UrlLoader):
30500         * MiniBrowser/qt/icons/next.png: Added.
30501         * MiniBrowser/qt/icons/previous.png: Added.
30502         * MiniBrowser/qt/icons/refresh.png: Added.
30503         * MiniBrowser/qt/icons/stop.png: Added.
30504         * MiniBrowser/qt/main.cpp:
30505         (main):
30506         * MiniBrowser/qt/qml/BrowserWindow.qml: Added.
30507
30508 2011-10-26  Zeno Albisser  <zeno.albisser@nokia.com>
30509
30510         [Qt][WK2] Remove QtWidgets dependency in MiniBrowser
30511         https://bugs.webkit.org/show_bug.cgi?id=70529
30512
30513         Remove obsolete code for a new QML based implementation
30514         of MiniBrowser.
30515         Change BrowserWindow to derive from QSGView instead of
30516         QMainWindow. QSGView is used as a top level window that
30517         provides the container for placing QML content.
30518         Make MiniBrowserApplication derive from QGuiApplication
30519         instead of QApplication.
30520
30521         Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com>,
30522                  Zeno Albisser <zeno.albisser@nokia.com>
30523
30524         Reviewed by Simon Hausmann.
30525
30526         * MiniBrowser/qt/BrowserView.cpp: Removed.
30527         * MiniBrowser/qt/BrowserView.h: Removed.
30528         * MiniBrowser/qt/BrowserWindow.cpp:
30529         (BrowserWindow::BrowserWindow):
30530         (BrowserWindow::load):
30531         (BrowserWindow::screenshot):
30532         (BrowserWindow::loadURLListFromFile):
30533         (BrowserWindow::updateUserAgentList):
30534         (BrowserWindow::~BrowserWindow):
30535         * MiniBrowser/qt/BrowserWindow.h:
30536         * MiniBrowser/qt/MiniBrowser.pro:
30537         * MiniBrowser/qt/MiniBrowserApplication.cpp:
30538         (MiniBrowserApplication::MiniBrowserApplication):
30539         (MiniBrowserApplication::notify):
30540         * MiniBrowser/qt/MiniBrowserApplication.h:
30541         * MiniBrowser/qt/UrlLoader.cpp:
30542         (UrlLoader::UrlLoader):
30543         * MiniBrowser/qt/main.cpp:
30544
30545 2011-10-25  Zeno Albisser  <zeno.albisser@nokia.com>
30546
30547         [Qt][WK2] Remove QAction from MiniBrowser
30548         https://bugs.webkit.org/show_bug.cgi?id=70525
30549
30550         In order to rewrite MiniBrowser in QML we need a suitable
30551         mechanism for triggering navigation actions.
30552         Due to the QtWidgets dependency of QAction the current
30553         solution is not suitable anymore. Therefore we introduce
30554         invokable methods and export properties in QWebNavigationController.
30555
30556         Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com>,
30557                  Zeno Albisser <zeno.albisser@nokia.com>
30558
30559         Reviewed by Simon Hausmann.
30560
30561         * MiniBrowser/qt/BrowserView.cpp:
30562         * MiniBrowser/qt/BrowserView.h:
30563         * MiniBrowser/qt/BrowserWindow.cpp:
30564         (BrowserWindow::BrowserWindow):
30565
30566 2011-10-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
30567
30568         [EFL] Unregister viewport,changed signal in EWebLauncher.
30569         https://bugs.webkit.org/show_bug.cgi?id=70478
30570
30571         Reviewed by Eric Seidel.
30572
30573         'viewport,changed' signal was registered by EWebLauncher in order to test viewport meta tag.
30574         However, it sets wrong layout to some web sites which have viewport meta tag. Because, host pc
30575         doesn't support proper DPI value though viewport is using DPI value to compute layout values.
30576         This signal is for mobile device.
30577
30578         * EWebLauncher/main.c:
30579         (browserCreate):
30580
30581 2011-10-25  Anders Carlsson  <andersca@apple.com>
30582
30583         Plug-ins have no way to find out when the device scale factor changes
30584         https://bugs.webkit.org/show_bug.cgi?id=67226
30585         <rdar://problem/10048276>
30586
30587         Reviewed by Sam Weinig.
30588
30589         Keep a cached copy of the contents scale and update it when it changes.
30590
30591         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ContentsScaleFactor.cpp:
30592         (ContentsScaleFactor::ContentsScaleFactor):
30593         (ContentsScaleFactor::cachedContentsScaleFactor):
30594         (ContentsScaleFactor::ScriptableObject::hasProperty):
30595         (ContentsScaleFactor::ScriptableObject::getProperty):
30596         (ContentsScaleFactor::NPP_New):
30597         (ContentsScaleFactor::NPP_SetValue):
30598
30599 2011-10-25  Sam Weinig  <sam@webkit.org>
30600
30601         Add WKBrowsingContextLoadDelegateTest test for a failed load
30602         https://bugs.webkit.org/show_bug.cgi?id=70859
30603
30604         Reviewed by Anders Carlsson.
30605
30606         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:
30607         (TEST_F): Add TEST_F(WKBrowsingContextLoadDelegateTest, SimpleLoadFail).
30608  
30609         (-[SimpleLoadFailDelegate browsingContextControllerDidFailProvisionalLoad:withError:]):
30610         Test that we are getting the correct NSError code and domain.
30611
30612 2011-10-25  Erik Arvidsson  <arv@chromium.org>
30613
30614         JS Test Harness: Make successfullyParsed optional
30615         https://bugs.webkit.org/show_bug.cgi?id=70784
30616
30617         Reviewed by Ojan Vafai.
30618
30619         * Scripts/make-new-script-test:
30620         (writeTestFile): Update the template for script tests.
30621
30622 2011-10-25  Anders Carlsson  <andersca@apple.com>
30623
30624         Plug-ins have to use JavaScript to find out the current device scale factor
30625         https://bugs.webkit.org/show_bug.cgi?id=67225
30626         <rdar://problem/10048258>
30627
30628         Reviewed by Darin Adler.
30629
30630         Add a plug-in test for getting the contents scale factor.
30631
30632         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
30633         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ContentsScaleFactor.cpp: Added.
30634         (ContentsScaleFactor::ContentsScaleFactor):
30635         (ContentsScaleFactor::contentsScaleFactor):
30636         (ContentsScaleFactor::ScriptableObject::hasProperty):
30637         (ContentsScaleFactor::ScriptableObject::getProperty):
30638         (ContentsScaleFactor::ScriptableObject::pluginTest):
30639         (ContentsScaleFactor::NPP_GetValue):
30640
30641 2011-10-25  Sam Weinig  <sam@webkit.org>
30642
30643         Flesh out WKBrowsingContextLoadDelegate a bit
30644         https://bugs.webkit.org/show_bug.cgi?id=70846
30645
30646         Reviewed by Anders Carlsson.
30647
30648         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
30649         * TestWebKitAPI/Tests/WebKit2ObjC: Added.
30650         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm: Added.
30651         (WKBrowsingContextLoadDelegateTest::WKBrowsingContextLoadDelegateTest):
30652         (WKBrowsingContextLoadDelegateTest::SetUp):
30653         (WKBrowsingContextLoadDelegateTest::TearDown):
30654         (-[SimpleLoadDelegate browsingContextControllerDidFinishLoad:]):
30655         (TEST_F):
30656         Add basic testing for WKBrowsingContextLoadDelegate.
30657
30658 2011-10-25  Alexey Proskuryakov  <ap@apple.com>
30659
30660         make-script-test-wrappers should not look outside fast/js
30661         https://bugs.webkit.org/show_bug.cgi?id=66357
30662
30663         Reviewed by Maciej Stachowiak.
30664
30665         * Scripts/make-script-test-wrappers: Don't look for template files everywhere, only support
30666         fast/js.
30667
30668 2011-10-25  Adam Barth  <abarth@webkit.org>
30669
30670         Add a --make option to update-webkit to engage the Makefile-based build system
30671         https://bugs.webkit.org/show_bug.cgi?id=70847
30672
30673         Reviewed by Dimitri Glazkov.
30674
30675         I can never remember what crazy environment variables I'm supposed to
30676         set to tell GYP what to do.
30677
30678         * Scripts/update-webkit:
30679
30680 2011-10-25  Raphael Kubo da Costa  <kubo@profusion.mobi>
30681
30682         [EFL] DRT: Force layout when sending events.
30683         https://bugs.webkit.org/show_bug.cgi?id=70357
30684
30685         Reviewed by Antonio Gomes.
30686
30687         Some tests such as editing/input/page-up-down-scrolls.html rely on the
30688         scrollbars being properly set up during the onload events.
30689         Document::implicitClose(), however, dispatches the onload events before
30690         calling FrameView::layout(), so these tests usually fail.
30691
30692         We now do the same as the GTK+ and Chromium ports and manually force the
30693         layout when dispatching events.
30694
30695         * DumpRenderTree/efl/EventSender.cpp:
30696         (sendMouseEvent):
30697         (keyDownCallback):
30698
30699 2011-10-25  Daniel Bates  <dbates@rim.com>
30700
30701         build-webkit --clean should only clean build directory for CMake-based ports
30702         https://bugs.webkit.org/show_bug.cgi?id=70834
30703
30704         Reviewed by Antonio Gomes.
30705
30706         Currently build-webkit --clean both cleans the build directory and builds WebKit for
30707         CMake-based ports. Instead, build-webkit --clean should only clean up the build directory
30708         as per its description in the usage message of build-webkit.
30709
30710         * Scripts/webkitdirs.pm:
30711         (buildCMakeProjectOrExit):
30712
30713 2011-10-25  Anna Cavender  <annacc@chromium.org>
30714
30715         Enable running of track layout tests for Chromium
30716         https://bugs.webkit.org/show_bug.cgi?id=70803
30717
30718         Reviewed by Adam Barth.
30719         
30720         Make DumpRenderTree/TestShell always run with track enabled
30721         (equivalent of --enable-video-track).
30722
30723         * DumpRenderTree/chromium/TestShell.cpp:
30724         (TestShell::TestShell):
30725
30726 2011-10-25  Vamshikrishna Yellenki  <vamshi@motorola.com>
30727
30728         [WK2]Main window never gets focus using TAB key in WebKit2 GTK+.
30729         https://bugs.webkit.org/show_bug.cgi?id=70603
30730
30731         Reviewed by Gustavo Noronha Silva.
30732
30733         * MiniBrowser/gtk/BrowserWindow.c:
30734         (focus):
30735         (unFocus):
30736         (browserWindowUIClientInit):
30737
30738 2011-10-25  Dan Bernstein  <mitz@apple.com>
30739
30740         <rdar://problem/10337033> DOMRangeOfString:relativeTo:options has problems with -webkit-user-select: none
30741
30742         Reviewed by Adam Roben.
30743
30744         * TestWebKitAPI/Tests/mac/DOMRangeOfString.mm:
30745         (TestWebKitAPI::TEST):
30746
30747 2011-10-25  Eric Seidel  <eric@webkit.org>
30748
30749         WIN: editing tests fail under NRWT because editing delegate callbacks aren't stripped
30750         https://bugs.webkit.org/show_bug.cgi?id=64471
30751
30752         Reviewed by Adam Roben.
30753
30754         Speculative fix.
30755
30756         * Scripts/webkitpy/layout_tests/port/win.py:
30757         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
30758
30759 2011-10-24  Mikhail Naganov  <mnaganov@chromium.org>
30760
30761         Fix bug summary when rolling Chromium DEPS to LKGR.
30762         https://bugs.webkit.org/show_bug.cgi?id=69917
30763
30764         Reviewed by Adam Barth.
30765
30766         * Scripts/webkitpy/tool/bot/irc_command.py:
30767         * Scripts/webkitpy/tool/bot/sheriff.py:
30768         * Scripts/webkitpy/tool/commands/roll.py:
30769         * Scripts/webkitpy/tool/commands/roll_unittest.py:
30770
30771 2011-10-24  Ivan Briano  <ivan@profusion.mobi>
30772
30773         [EFL] Build fix. Add include path to find npapi.h
30774         https://bugs.webkit.org/show_bug.cgi?id=70730
30775
30776         Unreviewed build fix.
30777
30778         * DumpRenderTree/efl/CMakeLists.txt: Add include path for npapi.h
30779
30780 2011-10-24  Eric Seidel  <eric@webkit.org>
30781
30782         Plugin tests are failing after switching WK2 to NRWT
30783         https://bugs.webkit.org/show_bug.cgi?id=70760
30784
30785         Reviewed by Simon Fraser.
30786
30787         Perpetuate this horrible hack.
30788
30789         * Scripts/webkitpy/layout_tests/port/webkit.py:
30790
30791 2011-10-24  Eric Seidel  <eric@webkit.org>
30792
30793         NRWT doesn't support ORWT's --root option, but should
30794         https://bugs.webkit.org/show_bug.cgi?id=70416
30795
30796         Reviewed by Dirk Pranke.
30797
30798         Add support for ORWT's --root option which is used for
30799         running tests with a nightly build of WebKit.
30800
30801         * Scripts/old-run-webkit-tests:
30802         * Scripts/webkitpy/layout_tests/port/base.py:
30803          - webkit_build_path was never called by any code, removed.
30804         * Scripts/webkitpy/layout_tests/port/webkit.py:
30805         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
30806
30807 2011-10-24  David Levin  <levin@chromium.org>
30808
30809         check-webkit-style complains about WEBKIT_EXPORT in test/WebUnitTests.h
30810         https://bugs.webkit.org/show_bug.cgi?id=70747
30811
30812         Reviewed by Tony Chang.
30813
30814         * Scripts/webkitpy/style/checkers/cpp.py: Allow WEBKIT_EXPORT in tests dir.
30815         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Corresponding test.
30816
30817 2011-10-24  Balazs Kelemen  <kbalazs@webkit.org>
30818
30819         [Qt][WK2] Crash when running pixel tests
30820         https://bugs.webkit.org/show_bug.cgi?id=70725
30821
30822         Reviewed by Chang Shu.
30823
30824         * WebKitTestRunner/qt/TestInvocationQt.cpp:
30825         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
30826
30827 2011-10-24  Carlos Garcia Campos  <cgarcia@igalia.com>
30828
30829         [GTK] Remove g_thread_init() calls
30830         https://bugs.webkit.org/show_bug.cgi?id=70717
30831
30832         Reviewed by Xan Lopez.
30833
30834         With newer glib it's not needed anymore and with previous versions
30835         it was already called by g_type_init().
30836
30837         * DumpRenderTree/gtk/DumpRenderTree.cpp:
30838         (main):
30839         * GtkLauncher/main.c:
30840         (main):
30841         * MiniBrowser/gtk/main.c:
30842         (main):
30843
30844 2011-10-24  Alejandro G. Castro  <alex@igalia.com>
30845
30846         [WK2] [GTK] WebKitTestRunner crashes with heap corruption
30847         https://bugs.webkit.org/show_bug.cgi?id=69403
30848
30849         We did not added autotoolsconfig.h to the config.h file and we
30850         were adding Platform.h without the config.h in the
30851         WebKitTestRunnerPrefix.h. Added the autotoolsconfig.h include in
30852         the Prefix file.
30853
30854         Reviewed by Martin Robinson.
30855
30856         * WebKitTestRunner/WebKitTestRunnerPrefix.h:
30857
30858 2011-10-23  Tomasz Morawski  <t.morawski@samsung.com>
30859
30860         [EFL] Remove unused code from EWebLauncher
30861         https://bugs.webkit.org/show_bug.cgi?id=70590
30862
30863         Reviewed by Andreas Kling.
30864
30865         Removed unused function on_closeWindow from EWebLauncher
30866
30867         * EWebLauncher/main.c:
30868
30869 2011-10-23  Luke Macpherson   <macpherson@chromium.org>
30870
30871         Add watchlist for WebCore/css and put myself on it.
30872         https://bugs.webkit.org/show_bug.cgi?id=70701
30873
30874         Reviewed by Adam Barth.
30875
30876         * Scripts/webkitpy/common/config/watchlist:
30877         Add watchlist for WebCore/css and put myself on it.
30878
30879 2011-10-23  Kaustubh Atrawalkar  <kaustubh@motorola.com>
30880
30881         [GTK] Implement KeyDown function for WebKit2 EventSender.
30882         https://bugs.webkit.org/show_bug.cgi?id=69410
30883
30884         Reviewed by Martin Robinson.
30885
30886         Implement the KeyDown function on Gtk platform.
30887
30888         * WebKitTestRunner/GNUmakefile.am:
30889         * WebKitTestRunner/TestController.cpp:
30890         (WTR::TestController::TestController):
30891         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
30892         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp: Added.
30893         (WTR::EventSenderProxy::EventSenderProxy):
30894         (WTR::dispatchEvent):
30895         (WTR::getModifiers):
30896         (WTR::getGDKKeySymForKeyRef):
30897         (WTR::EventSenderProxy::keyDown):
30898
30899 2011-10-22  Zan Dobersek  <zandobersek@gmail.com>
30900
30901         [WK2][GTK] run-launcher script fails after testing WK2 tests
30902         https://bugs.webkit.org/show_bug.cgi?id=70676
30903
30904         Reviewed by Andreas Kling.
30905
30906         Pass the '-2' flag instead of '--webkit-test-runner' when executing
30907         run-launcher script after testing with WebKitTestRunner.
30908
30909         * Scripts/webkitpy/layout_tests/port/gtk.py:
30910
30911 2011-10-22  Zan Dobersek  <zandobersek@gmail.com>
30912
30913         [WK2][GTK] Missing env variables cause WKTR to crash
30914         https://bugs.webkit.org/show_bug.cgi?id=70674
30915
30916         Reviewed by Martin Robinson.
30917
30918         Set two environment variables that the Gtk's port of WebKitTestRunner
30919         depends on and crashes if they're not explicitly set by the user.
30920         Also modify the setting of the WEBKIT_INSPECTOR_PATH variable so it
30921         properly uses the _build_path method.
30922
30923         * Scripts/webkitpy/layout_tests/port/gtk.py: Set
30924         TEST_RUNNER_INJECTED_BUNDLE_FILENAME and TEST_RUNNER_TEST_PLUGIN_PATH
30925         environment variables.
30926
30927 2011-10-21  Filip Pizlo  <fpizlo@apple.com>
30928
30929         Bencher script doesn't measure GC times accurately
30930         https://bugs.webkit.org/show_bug.cgi?id=70588
30931
30932         Reviewed by Geoff Garen.
30933         
30934         Added two new options which allow different ways of measuring GC times:
30935         
30936         --measure-gc, which omits calls to gc() between benchmark invocations.
30937         This option takes an optional argument, which is the name of the
30938         VM in which to enable this feature. This allows comparing a single VM
30939         against itself, with and without GC.
30940         
30941         --rerun <N>, which causes each sample measurement to include N invocations
30942         which do not have gc() calls between them. The default is N = 1, which
30943         results in the same behavior as before.
30944         
30945         You can use either --measure-gc or --rerun <N> for N > 1 (preferably
30946         N >= 3) to get more of a contribution from GC to the measured times.
30947         --rerun results in tighter confidence intervals than --measure-gc, since
30948         it amortizes GC effects in each sample, while with --measure-gc some
30949         samples will see GC and some won't leading to a higher standard devation
30950         and thus requiring more samples to reduce confidence intervals to
30951         managable levels.
30952
30953         * Scripts/bencher:
30954
30955 2011-10-21  Sam Weinig  <sam@webkit.org>
30956
30957         Remove ability to create a WKView without a WKContextRef and WKPageGroupRef
30958         https://bugs.webkit.org/show_bug.cgi?id=70653
30959
30960         Reviewed by Simon Fraser.
30961
30962         * MiniBrowser/mac/AppDelegate.h:
30963         * MiniBrowser/mac/AppDelegate.m:
30964         (-[BrowserAppDelegate init]):
30965         (-[BrowserAppDelegate newWindow:]):
30966         (-[BrowserAppDelegate openPanelDidEnd:returnCode:contextInfo:]):
30967         * MiniBrowser/mac/BrowserWindowController.h:
30968         * MiniBrowser/mac/BrowserWindowController.m:
30969         (-[BrowserWindowController initWithContext:pageGroup:]):
30970         (-[BrowserWindowController windowWillClose:]):
30971         (createNewPage):
30972         (-[BrowserWindowController awakeFromNib]):
30973         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
30974         (TestWebKitAPI::WebKitAgnosticTest::runWebKit2Test):
30975         Update testing code to pass a PageGroup as necessary.
30976
30977 2011-10-21  Leandro Pereira  <leandro@profusion.mobi>
30978
30979         webkitpy: Teach NRWT about the EFL port
30980         https://bugs.webkit.org/show_bug.cgi?id=70637
30981
30982         Allows using ``efl'' as a platform when executing NRWT.
30983
30984         Reviewed by Eric Seidel.
30985
30986         * Scripts/webkitpy/layout_tests/port/efl.py: Added.
30987         * Scripts/webkitpy/layout_tests/port/efl_unittest.py: Added.
30988         * Scripts/webkitpy/layout_tests/port/factory.py: Adjust factory to make EflPort objects
30989         when using PortFactory.get(port_name='efl').
30990
30991 2011-10-21  Devdatta Deshpande  <pwjd73@motorola.com>
30992
30993         [Gtk] mousemove event always has metaKey == true
30994         https://bugs.webkit.org/show_bug.cgi?id=35299
30995
30996         Reviewed by Martin Robinson.
30997
30998         * DumpRenderTree/gtk/EventSender.cpp:
30999         (gdkModifierFromJSValue): GDK_META_MASK is used to represent metaKey for platform GTK mouse and
31000         keyboard events. So making it in sync with WebCore files.
31001         (mouseMoveToCallback): Sending modifier keys state for mouse move event.
31002
31003 2011-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>
31004
31005         watchlist: Add a new entry for WebKit2 GTK+ public API
31006         https://bugs.webkit.org/show_bug.cgi?id=70601
31007
31008         Reviewed by Philippe Normand.
31009
31010         Subscribe myself to WebKit2 GTK+ API patches. Also add a message
31011         for patches that might include new API that points to the WebKit2
31012         GTK+ API guidelines.
31013
31014         * Scripts/webkitpy/common/config/watchlist:
31015
31016 2011-10-21  Simon Hausmann  <simon.hausmann@nokia.com>
31017
31018         Remove QtScript source code from WebKit.
31019         https://bugs.webkit.org/show_bug.cgi?id=64088
31020
31021         Reviewed by Tor Arne Vestbø.
31022
31023         Removed dead code that isn't developed anymore.
31024
31025         * Scripts/webkitpy/style/checker_unittest.py:
31026
31027 2011-10-20  Eric Seidel  <eric@webkit.org>
31028
31029         Switch webkit2 bot to NRWT
31030         https://bugs.webkit.org/show_bug.cgi?id=56729
31031
31032         Reviewed by Adam Barth.
31033
31034         Move the WK2 bot to using NRWT instead of ORWT, as announced on webkit-dev:
31035         https://lists.webkit.org/pipermail/webkit-dev/2011-October/018337.html
31036
31037         * Scripts/run-webkit-tests:
31038         (runningOnBuildBot):
31039         (useNewRunWebKitTests):
31040
31041 2011-10-20  Eric Seidel  <eric@webkit.org>
31042
31043         NRWT is asserting on DRT due to lack of newline when processing line from DumpRenderTree
31044         https://bugs.webkit.org/show_bug.cgi?id=70585
31045
31046         Reviewed by Adam Barth.
31047
31048         This really should be an assert, as this inidicates a programming error in either DRT or NRWT.
31049         However since DRT was functioning fine before in Qt, we'll make this an error log for now
31050         and once we find the root cause flip this back to an assert.
31051
31052         * Scripts/webkitpy/layout_tests/port/webkit.py:
31053
31054 2011-10-20  Yuta Kitamura  <yutak@chromium.org>
31055
31056         Unreviewed, rolling out r98064.
31057         http://trac.webkit.org/changeset/98064
31058         https://bugs.webkit.org/show_bug.cgi?id=64788
31059
31060         Broke Mac bots.
31061
31062         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
31063
31064 2011-10-20  Yuta Kitamura  <yutak@chromium.org>
31065
31066         WebSocket: Connecting to localhost:8880 takes one second on Windows
31067         https://bugs.webkit.org/show_bug.cgi?id=64788
31068
31069         Reviewed by Dirk Pranke.
31070
31071         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
31072         Bind to "localhost" instead of "127.0.0.1" to let pywebsocket listen on both
31073         IPv4 and IPv6 addresses. This should prevent the test reserved-opcodes.html
31074         from timing out on Windows, because this test tries to open a lot of
31075         connections to localhost and each attempt takes one second to fall back from
31076         IPv6 to IPv4 on Windows (I have no idea why Windows works like this, though).
31077
31078 2011-10-20  Ryosuke Niwa  <rniwa@webkit.org>
31079
31080         nrwt: newly generated results are put in cross-platform directory
31081         https://bugs.webkit.org/show_bug.cgi?id=68931
31082
31083         Reviewed by Dirk Pranke.
31084
31085         The bug was caused by SingleTestRunner._add_missing_baselines's always calling _save_baseline_data
31086         with generate_new_baseline set to False. Fixed the bug by always passing True when .png file is missing
31087         (because png images are typically different on each platform), and passing True when .txt file is missing
31088         and the actual result's first line matches the regular expression "layer at \(\d+,\d+\) size \d+x\d+".
31089
31090         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
31091         * Scripts/webkitpy/layout_tests/port/test.py:
31092         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py: Changed the expectation
31093         and added a test case.
31094
31095 2011-10-20  Kent Tamura  <tkent@chromium.org>
31096
31097         Unreviewed. Adding myself to watchlist.
31098
31099         * Scripts/webkitpy/common/config/watchlist:
31100         Add "ChromiumDumpRenderTree" and "Forms" definitions, and cc them to me.
31101
31102 2011-10-20  Nico Weber  <thakis@chromium.org>
31103
31104         [chromium/mac] Add support for building with make
31105         https://bugs.webkit.org/show_bug.cgi?id=70455
31106
31107         Reviewed by Adam Barth.
31108
31109         Depends on http://codereview.chromium.org/8352029/
31110         `GYP_GENERATORS=make Tools/Scripts/update-webkit --chromium` will
31111         create a toplevel Makefile.chromium.
31112
31113         If that file exists and is newer than Source/WebKit/chromium/WebKit.xcodeproj,
31114         `Tools/Scripts/build-webkit --chromium` will build with make instead of
31115         xcodebuild.
31116
31117         Also let nrwt use a binary from out/ if it exists.
31118
31119         * Scripts/webkitdirs.pm:
31120         (determineBaseProductDir):
31121         (isChromiumMacMake):
31122         (determineIsChromiumMacMake):
31123         (buildChromium):
31124
31125 2011-10-20  Eric Seidel  <eric@webkit.org>
31126
31127         Possible REGRESSION(97879): NRWT fails when DumpRenderTree crashes
31128         https://bugs.webkit.org/show_bug.cgi?id=70524
31129
31130         Reviewed by Adam Barth.
31131
31132         This is a speculative fix, since I do not use a platform
31133         which outputs crashlogs over stderr.
31134
31135         * Scripts/webkitpy/layout_tests/port/server_process.py:
31136         * Scripts/webkitpy/layout_tests/port/webkit.py:
31137
31138 2011-10-20  Eric Seidel  <eric@webkit.org>
31139
31140         REGRESSION(97879): Pixel tests no longer work with NRWT on Mac
31141         https://bugs.webkit.org/show_bug.cgi?id=70492
31142
31143         Reviewed by Adam Barth.
31144
31145         The bug turned out to be that I was assuming the block.content
31146         would be empty before the binary content following Content-Length
31147         was read inside _read_block.  Turns out its not, due to extra newlines
31148         and "ExpectedHash" header.
31149
31150         In the process of trying to figure out what was going wrong I ended up
31151         cleaning up our newline usage in DumpRenderTree a little.  Moved
31152         two error messages from stdout to stderr, and fixed a little code indent/whitespace.
31153
31154         I also fixed ServerProcess to use "deadline" everywhere instead of timeout
31155         per Adam's request in the original bug.
31156
31157         * DumpRenderTree/PixelDumpSupport.cpp:
31158         (dumpWebViewAsPixelsAndCompareWithExpected):
31159         * DumpRenderTree/cg/ImageDiffCG.cpp:
31160         (main):
31161         * DumpRenderTree/mac/DumpRenderTree.mm:
31162         (dump):
31163         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
31164         (restoreMainDisplayColorProfile):
31165         (setupMainDisplayColorProfile):
31166         * Scripts/webkitpy/layout_tests/port/server_process.py:
31167         * Scripts/webkitpy/layout_tests/port/webkit.py:
31168         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
31169
31170 2011-10-20  Tony Chang  <tony@chromium.org>
31171
31172         [chromium] Remove <stdint.h> from ImageDiff and use
31173         unsigned int instead of uint32_t.
31174
31175         Unreviewed, fixing the chromium win build.
31176
31177         * DumpRenderTree/chromium/ImageDiff.cpp:
31178         (Image::pixelAt):
31179         (Image::setPixelAt):
31180         (maxOf3):
31181         (getRedComponent):
31182         (getGreenComponent):
31183         (getBlueComponent):
31184         (weightedPercentageDifferent):
31185         (createImageDiff):
31186
31187 2011-10-20  Hao Zheng  <zhenghao@chromium.org>
31188
31189         [Chromium] Reduce dependencies of ImageDiff to compile it for Android.
31190         https://bugs.webkit.org/show_bug.cgi?id=69997
31191
31192         Reviewed by Tony Chang.
31193
31194         This change is required to make ImageDiff for Android, and can benefit
31195         other platforms, too. On Android, most targets are built as
31196         toolsets:target. while ImageDiff needs to be built as toolsets:host.
31197         Currently, building the standalone target of ImageDiff depends on about
31198         85 other targets (try  make ImageDiff'), which is inefficient. After the
31199         change, ImageDiff only depends on webkit_support_gfx, which in turn
31200         depends on libpng and zlib.
31201
31202         * DumpRenderTree/chromium/ImageDiff.cpp:
31203         (main):
31204
31205 2011-10-20  Leandro Pereira  <leandro@profusion.mobi>
31206
31207         [EFL] Unreviewed DumpRenderTree build fix.
31208
31209         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
31210         (LayoutTestController::addChromeInputField): Add stub.
31211         (LayoutTestController::removeChromeInputField): Ditto.
31212         (LayoutTestController::focusWebView): Ditto.
31213         (LayoutTestController::setBackingScaleFactor): Ditto.
31214
31215 2011-10-20  Leandro Pereira  <leandro@profusion.mobi>
31216
31217         [EFL] Plug ImageDiff/DumpRenderTree on CMake build system
31218         https://bugs.webkit.org/show_bug.cgi?id=70142
31219
31220         Reviewed by Gustavo Noronha Silva.
31221
31222         * CMakeListsEfl.txt: Include DRT CMakeLists.
31223         * DumpRenderTree/efl/CMakeLists.txt: Added.
31224
31225 2011-10-20  Philippe Normand  <pnormand@igalia.com>
31226
31227         [style] Allow usage of NULL in gst_*
31228         https://bugs.webkit.org/show_bug.cgi?id=70498
31229
31230         Reviewed by David Levin.
31231
31232         * Scripts/webkitpy/style/checkers/cpp.py: Simplified the detection
31233         of gst_ calls. Now just ignore NULL in all of them.
31234         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Test for above change.
31235
31236 2011-10-20  Leandro Pereira  <leandro@profusion.mobi>
31237
31238         [EFL] Unreviewed. Build fix after r97043.
31239
31240         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
31241         (DumpRenderTreeChrome::resetDefaultsToConsistentValues): Use ewk_view_scale_set() instead of ewk_view_page_scale().
31242         * DumpRenderTree/efl/EventSender.cpp:
31243         (scalePageByCallback): Ditto.
31244
31245 2011-10-20  Philippe Normand  <pnormand@igalia.com>
31246
31247         Unreviewed. Adding myself to watchlists.
31248         * Scripts/webkitpy/common/config/watchlist:
31249
31250 2011-10-19  Eric Seidel  <eric@webkit.org>
31251
31252         Reviewed by Adam Barth.
31253
31254         Teach new-run-webkit-tests about #CRASHED and #CRASHED - WebProcess
31255         https://bugs.webkit.org/show_bug.cgi?id=63683
31256
31257         * Scripts/webkitpy/common/net/layouttestresults.py:
31258         * Scripts/webkitpy/common/net/resultsjsonparser.py:
31259         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
31260         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
31261         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
31262         * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
31263         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
31264         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
31265         * Scripts/webkitpy/layout_tests/port/base.py:
31266         * Scripts/webkitpy/layout_tests/port/server_process.py:
31267         * Scripts/webkitpy/layout_tests/port/webkit.py:
31268         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
31269
31270 2011-10-19  Jochen Eisinger  <jochen@chromium.org>
31271
31272         Chromium doesn't support git branch builds, so don't add the branch to the product dir
31273         https://bugs.webkit.org/show_bug.cgi?id=70449
31274
31275         Reviewed by Eric Seidel.
31276
31277         * Scripts/webkitdirs.pm:
31278         (determineBaseProductDir):
31279
31280 2011-10-19  Ojan Vafai  <ojan@chromium.org>
31281
31282         Unreviewed. Adding myself to watchlists.
31283         * Scripts/webkitpy/common/config/watchlist:
31284
31285 2011-10-19  Tom Zakrajsek  <tomz@codeaurora.org>
31286
31287         Add a suggest-nominations command to webkit-patch for computing potential committer/reviewer nominations
31288         https://bugs.webkit.org/show_bug.cgi?id=62166
31289
31290         Reviewed by Eric Seidel.
31291
31292         Included options to control committer/reviewer patch count requirements,
31293         an age-limit on patches, and verbose output for more in-depth analysis.
31294
31295         * Scripts/webkitpy/common/checkout/changelog.py:
31296         * Scripts/webkitpy/tool/commands/__init__.py:
31297         * Scripts/webkitpy/tool/commands/suggestnominations.py: Added.
31298         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py: Added.
31299
31300 2011-10-19  Eric Seidel  <eric@webkit.org>
31301
31302         new-run-webkit-tests -2 was crashing due to both "java" and "java/" being listed in Skipped files.
31303         Make NRWT normalize directory names in Skipped files during parsing.
31304
31305         Unreviewed.  Very simple (tested) change.
31306
31307         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
31308         * Scripts/webkitpy/layout_tests/port/webkit.py:
31309
31310 2011-10-19  David Levin  <levin@chromium.org>
31311
31312         watchlist: Should be more robust to bad regex.
31313         https://bugs.webkit.org/show_bug.cgi?id=69486
31314
31315         Reviewed by Adam Barth.
31316
31317         * Scripts/webkitpy/common/config/watchlist: Change the instructions due to
31318           watchlist being checked by check-webkit-style (bug 69487) and remove the .* from file
31319           patterns since they are no longer anchored on the right hand side.
31320         * Scripts/webkitpy/common/watchlist/amountchangedpattern.py: Change *pattern to take a compiled regex directly.
31321         * Scripts/webkitpy/common/watchlist/amountchangedpattern_unittest.py: Ditto.
31322         * Scripts/webkitpy/common/watchlist/changedlinepattern.py: Ditto.
31323         * Scripts/webkitpy/common/watchlist/changedlinepattern_unittest.py: Ditto.
31324         * Scripts/webkitpy/common/watchlist/filenamepattern.py: Ditto.
31325         * Scripts/webkitpy/common/watchlist/filenamepattern_unittest.py: Ditto and change a test now that
31326         filenames are no longer anchored on the right hand side.
31327         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Catch regex errors and log them as errors.
31328         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Add some tests to verify that bad regexes
31329         don't kill everything.
31330
31331 2011-10-19  David Levin  <levin@chromium.org>
31332
31333         watchlist: Add a stylecheck to do validity checks for the watchlist config.
31334         https://bugs.webkit.org/show_bug.cgi?id=69487
31335
31336         Reviewed by Adam Barth.
31337
31338         * Scripts/webkitpy/style/checker.py: Add the watchlist file type.
31339         * Scripts/webkitpy/style/checkers/watchlist.py: Added.
31340         * Scripts/webkitpy/style/checkers/watchlist_unittest.py: Added.
31341
31342 2011-10-19  Eric Seidel  <eric@webkit.org>
31343
31344         NRWT ServerProcess can't read lines from stderr and stdio separately
31345         https://bugs.webkit.org/show_bug.cgi?id=70435
31346
31347         Reviewed by Adam Barth.
31348
31349         This is the underlying bug behind our lack of WK2 support, and timeout detection on Windows.
31350         DRT expects RWT to read one line at a time from stderr and stdout independently.
31351         This allows DRT to communicate errors over stderr and have them responded to immediately
31352         regardless of what state the stdio stream may be in.  Previously NRWT's ServerProcess
31353         class only exposed a read_line function which would read a line from stdout
31354         and batch all output from stderr into an error buffer.  Callers would only be able
31355         to respond to commands over stderr if they happened to correspond with a stdout line boundary.
31356
31357         * Scripts/webkitpy/layout_tests/port/server_process.py:
31358         * Scripts/webkitpy/layout_tests/port/webkit.py:
31359
31360 2011-10-19  Chang Shu  <cshu@webkit.org>
31361
31362         [Qt] Support WK1-only Skipped list
31363         https://bugs.webkit.org/show_bug.cgi?id=70254
31364
31365         Reviewed by Csaba Osztrogonác.
31366
31367         Added a new search path qt-wk1 for skipping WK1-only tests.
31368
31369         * Scripts/webkitpy/layout_tests/port/qt.py: NRWT
31370         * Scripts/old-run-webkit-tests: ORWT
31371
31372 2011-10-19  Gabor Rapcsanyi  <rgabor@webkit.org>
31373
31374         [GTK] Enable to use built-product-archive on GTK platform
31375         https://bugs.webkit.org/show_bug.cgi?id=70319
31376
31377         Reviewed by Csaba Osztrogonác.
31378
31379         * BuildSlaveSupport/built-product-archive:
31380
31381 2011-10-18  David Levin  <levin@chromium.org>
31382
31383         watchlist: Should try to run if it can and not throw on mistakes.
31384         https://bugs.webkit.org/show_bug.cgi?id=70358
31385
31386         Reviewed by Adam Barth.
31387
31388         * Scripts/webkitpy/common/system/outputcapture.py: Add the ability to capture log output.
31389         * Scripts/webkitpy/common/watchlist/watchlistloader_unittest.py: Adapt to the logging of errors.
31390         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Change to log problems and fix problems when found.
31391         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Adapt to the logging of errors.
31392         * Scripts/webkitpy/common/watchlist/watchlistrule.py: Expose a way to remove instructions.
31393         * Scripts/webkitpy/common/watchlist/watchlistrule_unittest.py: Test the new function.
31394
31395 2011-10-18  Sam Weinig  <sam@webkit.org>
31396
31397         Move uses of C-SPI out of WKView.h and into WKViewPrivate.h
31398         https://bugs.webkit.org/show_bug.cgi?id=70387
31399
31400         Reviewed by Dan Bernstein.
31401
31402         * MiniBrowser/mac/BrowserWindowController.m:
31403         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
31404         * TestWebKitAPI/mac/JavaScriptTestMac.mm:
31405         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
31406         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
31407         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
31408         Update to include WKViewPrivate.h where necessary.
31409
31410 2011-10-18  Joseph Pecoraro  <joepeck@webkit.org>
31411
31412         Web Inspector: Some localizedStrings.js Updates
31413         https://bugs.webkit.org/show_bug.cgi?id=70365
31414
31415         Reviewed by Darin Adler.
31416
31417         * Scripts/check-inspector-strings:
31418         Updated to the new webkitpy way to determine checkout root.
31419
31420         * Scripts/webkitdirs.pm:
31421         (copyInspectorFrontendFiles):
31422         Made it so build-webkit --inspector-frontend copies over
31423         the localizedStrings.js file as well as the frontend files.
31424
31425 2011-10-18  Raphael Kubo da Costa  <kubo@profusion.mobi>
31426
31427         [EFL] DRT: Clear list of visited pages before each test.
31428         https://bugs.webkit.org/show_bug.cgi?id=70355
31429
31430         Reviewed by Antonio Gomes.
31431
31432         r97596 uncovered a bug in the implementation: the list of visited
31433         links was not cleared between tests, which caused tests such as
31434         fast/repaint/outline-repaint-glitch.html to be flaky (the link color
31435         changed depending on whether fast/repaint/border-repaint-glitch.html
31436         was visited before or not).
31437
31438         Call ewk_history_clear to make sure the visited links list does not
31439         persist between tests.
31440
31441         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
31442         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
31443
31444 2011-10-18  Dimitri Glazkov  <dglazkov@chromium.org>
31445
31446         Split TestExpectationsEditor into its own file.
31447         https://bugs.webkit.org/show_bug.cgi?id=70348
31448
31449         Reviewed by Adam Barth.
31450
31451         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor.py: Copied from Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py.
31452         * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py.
31453         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Adjusted for change.
31454         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Ditto.
31455         * Scripts/webkitpy/tool/servers/gardeningserver.py: Ditto.
31456
31457 2011-10-18  Ryosuke Niwa  <rniwa@webkit.org>
31458
31459         [Chromium] buildbot runs nrwt with --chromium instead of --chromium-cg-mac
31460         https://bugs.webkit.org/show_bug.cgi?id=70313
31461
31462         Reviewed by Adam Barth.
31463
31464         Fixed the bug by passing --platform --chromium-cg-mac in RunWebKitTests. We can't always add
31465         this parameter because build-webkit and other scripts don't accept it.
31466
31467         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
31468
31469 2011-10-18  Adam Barth  <abarth@webkit.org>
31470
31471         Subscribe myself to WebIDL changes
31472         https://bugs.webkit.org/show_bug.cgi?id=70341
31473
31474         Reviewed by David Levin.
31475
31476         I've also added some documentation and refactored my previous
31477         subscriptions to make it eaiser for others to subscribe as well.
31478
31479         * Scripts/webkitpy/common/config/watchlist:
31480
31481 2011-10-18  Dimitri Glazkov  <dglazkov@chromium.org>
31482
31483         Add myself to the newfangled watchlist plumbing.
31484         https://bugs.webkit.org/show_bug.cgi?id=70338
31485
31486         Reviewed by David Levin.
31487
31488         * Scripts/webkitpy/common/config/watchlist: Added sheepishly.
31489
31490 2011-10-18  Dimitri Glazkov  <dglazkov@chromium.org>
31491
31492         Fix a unit test in TestFailures.
31493         https://bugs.webkit.org/show_bug.cgi?id=70337
31494
31495         Reviewed by Adam Barth.
31496
31497         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/NewBugForm_unittests.js: Turns out,
31498             the value of a method property should always be lowercase.
31499
31500 2011-10-18  Adam Barth  <abarth@webkit.org>
31501
31502         Always enable ENABLE(XPATH)
31503         https://bugs.webkit.org/show_bug.cgi?id=70217
31504
31505         Reviewed by Eric Seidel.
31506
31507         * Scripts/build-webkit:
31508
31509 2011-10-18  Dimitri Glazkov  <dglazkov@chromium.org>
31510
31511         garden-o-matic should not report flaking in expected failures as failures.
31512         https://bugs.webkit.org/show_bug.cgi?id=70279
31513
31514         Reviewed by Adam Barth.
31515
31516         On the bots, flakes that are already expected to fail aren't reported as failures (they keep the bot green).
31517         For example, if TEXT failure is expected, a TEXT TIMEOUT result will not cause the redness. We should do the
31518         same for garden-o-matic.
31519
31520         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js: Spuriously changed to use Array iterators rather than jQuery APIs,
31521             rewrote the logic for determining expected or unexpected failures as a central analysis tool.
31522         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js: Added unit tests.
31523
31524 2011-10-18  Zan Dobersek  <zandobersek@gmail.com>
31525
31526         [Gtk] Support for client-based geolocation
31527         https://bugs.webkit.org/show_bug.cgi?id=64970
31528
31529         Reviewed by Martin Robinson.
31530
31531         Add support for testing client-based geolocation tests in DumpRenderTree.
31532
31533         * DumpRenderTree/gtk/DumpRenderTree.cpp:
31534         (resetDefaultsToConsistentValues): Reset GeolocationClientMock.
31535         (createWebView): Create web view after declaring DumpRenderTree mode.
31536         That way a mock client for geolocation is used instead of a GeoClue
31537         client if a web view is created when testing.
31538         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Implement functions for
31539         geolocation layout tests.
31540         (LayoutTestController::setMockGeolocationPosition):
31541         (LayoutTestController::setMockGeolocationError):
31542         (LayoutTestController::setGeolocationPermission):
31543         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
31544         * Scripts/build-webkit: Note that the Gtk port is using client-based
31545         geolocation, even though changing this flag has no effect on compilation.
31546
31547 2011-10-07  Andrey Kosyakov  <caseq@chromium.org>
31548
31549         [Chromium] suppress console output from DevTools window
31550         https://bugs.webkit.org/show_bug.cgi?id=69632
31551
31552         Reviewed by Pavel Feldman.
31553
31554         * DumpRenderTree/chromium/TestShell.cpp:
31555         (TestShell::showDevTools):
31556         * DumpRenderTree/chromium/WebViewHost.cpp:
31557         (WebViewHost::didAddMessageToConsole):
31558         (WebViewHost::reset):
31559         (WebViewHost::setLogConsoleOutput):
31560         * DumpRenderTree/chromium/WebViewHost.h:
31561
31562 2011-10-18  Sheriff Bot  <webkit.review.bot@gmail.com>
31563
31564         Unreviewed, rolling out r97735.
31565         http://trac.webkit.org/changeset/97735
31566         https://bugs.webkit.org/show_bug.cgi?id=70317
31567
31568         some people apparently use build-jsc with the qt port without
31569         building webkit first (Requested by torarne on #webkit).
31570
31571         * Scripts/build-webkit:
31572         * Scripts/webkitdirs.pm:
31573         (buildQMakeProject):
31574         (buildQMakeQtProject):
31575
31576 2011-10-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
31577
31578         [Qt] Remove dead code in build-webkit
31579
31580         build-webkit will iterate over a list of subdirectories to build,
31581         but this feature is only used by the Apple ports. For QtWebKit we
31582         always pass an empty directory to buildQMakeProject, which makes
31583         the logic for dealing with sub-projects in buildQMakeProject just
31584         added noise.
31585
31586         If we do want this feature at some point, we should redo it in
31587         the context of the upcoming build system changes for Qt.
31588
31589         Reviewed by Simon Hausmann.
31590
31591         * Scripts/build-webkit:
31592         * Scripts/webkitdirs.pm:
31593         (buildQt):
31594
31595 2011-10-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
31596
31597         Remove traces of Symbian support from the build scripts
31598
31599         Reviewed by Simon Hausmann.
31600
31601         * Scripts/build-webkit:
31602         * Scripts/webkitdirs.pm:
31603         (determineBaseProductDir):
31604         (argumentsForConfiguration):
31605         (usesPerConfigurationBuildDirectory):
31606         (buildQMakeProject):
31607
31608 2011-10-18  Ryosuke Niwa  <rniwa@webkit.org>
31609
31610         Build fix after r97672.
31611
31612         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
31613
31614 2011-10-17  Kent Tamura  <tkent@chromium.org>
31615
31616         A follow-up of r97716.
31617         https://bugs.webkit.org/show_bug.cgi?id=68803
31618
31619         * DumpRenderTree/chromium/LayoutTestController.cpp:
31620         (LayoutTestController::reset): Initialize m_dumpCreateView.
31621
31622 2011-10-17  Jochen Eisinger  <jochen@chromium.org>
31623
31624         [chromium] add LayoutTestController.dumpCreateView() to monitor calls to WebViewClient::createView
31625         https://bugs.webkit.org/show_bug.cgi?id=68803
31626
31627         Reviewed by Nate Chapin.
31628
31629         * DumpRenderTree/chromium/LayoutTestController.cpp:
31630         (LayoutTestController::LayoutTestController):
31631         (LayoutTestController::dumpCreateView):
31632         * DumpRenderTree/chromium/LayoutTestController.h:
31633         (LayoutTestController::shouldDumpCreateView):
31634         * DumpRenderTree/chromium/WebViewHost.cpp:
31635         (WebViewHost::createView):
31636
31637 2011-10-17  Nate Chapin  <japhet@chromium.org>
31638
31639         Add myself to watchlists, and add a watch
31640         for Source/WebCore/loader/.
31641         https://bugs.webkit.org/show_bug.cgi?id=70263
31642
31643         Reviewed by David Levin.
31644
31645         * Scripts/webkitpy/common/config/watchlist:
31646
31647 2011-10-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
31648
31649         [EFL] DRT: Make non-recognized keys work in events as well.
31650         https://bugs.webkit.org/show_bug.cgi?id=69860
31651
31652         Reviewed by Antonio Gomes.
31653
31654         fast/forms/select-type-ahead-non-latin.html is the canonical case we fix
31655         here: it has a select box with a few non-latin options, and one of them
31656         is selected via the keyboard.
31657
31658         In this specific case, we need to make EventHandler::keyEvent send a
31659         keyPressEvent to SelectElement, so that
31660         SelectElement::defaultEventHandler calls typeAheadFind(). This happens
31661         only when PlatformKeyEvent::text() is not empty, which was not the case
31662         so far.
31663
31664         * DumpRenderTree/efl/EventSender.cpp:
31665         (keyDownCallback):
31666
31667 2011-10-17  Alok Priyadarshi  <alokp@chromium.org>
31668
31669         Add layout tests for WebPlugin compositor path
31670         https://bugs.webkit.org/show_bug.cgi?id=69027
31671
31672         Reviewed by James Robinson.
31673
31674         * DumpRenderTree/DumpRenderTree.gypi:
31675         * DumpRenderTree/chromium/TestWebPlugin.cpp: Added.
31676         (premultiplyAlpha):
31677         (TestWebPlugin::TestWebPlugin):
31678         (TestWebPlugin::~TestWebPlugin):
31679         (TestWebPlugin::mimeType):
31680         (TestWebPlugin::initialize):
31681         (TestWebPlugin::destroy):
31682         (TestWebPlugin::updateGeometry):
31683         (TestWebPlugin::parsePrimitive):
31684         (TestWebPlugin::parseColor):
31685         (TestWebPlugin::parseOpacity):
31686         (TestWebPlugin::initScene):
31687         (TestWebPlugin::drawScene):
31688         (TestWebPlugin::destroyScene):
31689         (TestWebPlugin::initProgram):
31690         (TestWebPlugin::initPrimitive):
31691         (TestWebPlugin::drawPrimitive):
31692         (TestWebPlugin::loadShader):
31693         (TestWebPlugin::loadProgram):
31694         * DumpRenderTree/chromium/TestWebPlugin.h: Added.
31695         (TestWebPlugin::scriptableObject):
31696         (TestWebPlugin::paint):
31697         (TestWebPlugin::updateFocus):
31698         (TestWebPlugin::updateVisibility):
31699         (TestWebPlugin::acceptsInputEvents):
31700         (TestWebPlugin::handleInputEvent):
31701         (TestWebPlugin::didReceiveResponse):
31702         (TestWebPlugin::didReceiveData):
31703         (TestWebPlugin::didFinishLoading):
31704         (TestWebPlugin::didFailLoading):
31705         (TestWebPlugin::didFinishLoadingFrameRequest):
31706         (TestWebPlugin::didFailLoadingFrameRequest):
31707         (TestWebPlugin::Scene::Scene):
31708         * DumpRenderTree/chromium/WebViewHost.cpp:
31709         (WebViewHost::createPlugin):
31710
31711 2011-10-17  Ryosuke Niwa  <rniwa@webkit.org>
31712
31713         [nrwt] Add new category for MISSING
31714         https://bugs.webkit.org/show_bug.cgi?id=69990
31715
31716         Reviewed by Dirk Pranke.
31717
31718         Treat missing results as a new category in summerize_results.
31719
31720         Because Chromium port wants to turn bots red when there are tests with missing results,
31721         extracted the logic to compute the exit code as exit_code_from_summarized_results in
31722         base and chromium ports.
31723
31724         * Scripts/webkitpy/layout_tests/controllers/manager.py:
31725         * Scripts/webkitpy/layout_tests/port/base.py:
31726         * Scripts/webkitpy/layout_tests/port/chromium.py:
31727         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
31728
31729 2011-10-17  Dimitri Glazkov  <dglazkov@chromium.org>
31730
31731         garden-o-matic operations fail because of CSP.
31732         https://bugs.webkit.org/show_bug.cgi?id=70249
31733
31734         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Added gardening server to the policy.
31735
31736 2011-10-17  Ada Chan  <adachan@apple.com>
31737
31738         Add a test to call WKPageLoadAlternateHTMLString() with a non-directory URL.
31739         https://bugs.webkit.org/show_bug.cgi?id=70168
31740
31741         Reviewed by Alexey Proskuryakov.
31742
31743         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp: Added.
31744         (TestWebKitAPI::didFinishLoadForFrame):
31745         (TestWebKitAPI::TEST): Call WKPageLoadAlternateHTMLString() with a file URL and make sure it finishes loading.
31746
31747         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
31748         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
31749         Add the new file.
31750
31751 2011-10-17  Darin Adler  <darin@apple.com>
31752
31753         Add some more *.pyc ignores in directories with Python scripts.
31754
31755         * QueueStatusServer: Added property svn:ignore.
31756         * Scripts/webkitpy/common/watchlist: Added property svn:ignore.
31757         * Scripts/webkitpy/layout_tests/controllers: Added property svn:ignore.
31758         * Scripts/webkitpy/layout_tests/views: Added property svn:ignore.
31759
31760 2011-10-17  Alexis Menard  <alexis.menard@openbossa.org>
31761
31762         [Qt][WK2][meta] Fix failing API tests
31763         https://bugs.webkit.org/show_bug.cgi?id=70236
31764
31765         Reviewed by Csaba Osztrogonác.
31766
31767         In order to run WebKit2 API tests we need the WebProcess to be in
31768         the path so let's add the bin directory when running the API tests of Qt.
31769
31770         * Scripts/run-qtwebkit-tests:
31771
31772 2011-10-17  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
31773
31774         [Qt][WK2] Build dependency problems
31775         https://bugs.webkit.org/show_bug.cgi?id=68456
31776
31777         Reviewed by Csaba Osztrogonác.
31778
31779         * Scripts/webkitdirs.pm:
31780         (buildQMakeProject):
31781
31782 2011-10-17  Holger Hans Peter Freyther  <holger@moiji-mobile.com>
31783
31784         [build] Introduce Qt/SH4 buildbot
31785         https://bugs.webkit.org/show_bug.cgi?id=70227
31786
31787         Reviewed by Adam Roben.
31788
31789         Add buildslave for Linux/Qt/SH4.
31790
31791         * BuildSlaveSupport/build.webkit.org-config/config.json:
31792
31793 2011-10-16  Adam Barth  <abarth@webkit.org>
31794
31795         Always enable ENABLE(DOM_STORAGE)
31796         https://bugs.webkit.org/show_bug.cgi?id=70189
31797
31798         Reviewed by Eric Seidel.
31799
31800         * Scripts/build-webkit:
31801         * waf/build/settings.py:
31802
31803 2011-10-15  Adam Barth  <abarth@webkit.org>
31804
31805         Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
31806         https://bugs.webkit.org/show_bug.cgi?id=70194
31807
31808         Reviewed by Daniel Bates.
31809
31810         * Scripts/build-webkit:
31811
31812 2011-10-15  Ojan Vafai  <ojan@chromium.org>
31813
31814         run-webkit-tests should accept --child-processes
31815         https://bugs.webkit.org/show_bug.cgi?id=69713
31816
31817         Reviewed by Adam Barth.
31818
31819         Only set --child-processes=1 if --child-processes it not
31820         passed on the commandline.
31821
31822         * Scripts/run-webkit-tests:
31823
31824 2011-10-15  Daniel Bates  <dbates@webkit.org>
31825
31826         Extract common gdb code into its own function; Remove script gdb-safari
31827         https://bugs.webkit.org/show_bug.cgi?id=68499
31828
31829         Reviewed by David Kilzer.
31830
31831         Almost identical code is used in webkitdirs::{debugMiniBrowser, debugWebKitTestRunner,
31832         runSafari}() and in the script gdb-safari to launch gdb to debug an application.
31833         We should extract the common parts into a function that can be shared by all callers
31834         so as to remove duplicate code.
31835
31836         As a side effect of removing duplicate code we can remove the script gdb-safari since
31837         its code has been incorporated into webkitdirs::debugSafari() which is called by the
31838         script debug-safari.
31839
31840         * Scripts/debug-safari: Modified to call webkitdirs::debugSafari().
31841         * Scripts/gdb-safari: Removed.
31842         * Scripts/webkitdirs.pm:
31843         (execMacWebKitAppForDebugging): Added; Extracted common debugging code from
31844         debugMiniBrowser(), debugWebKitTestRunner(), runSafari() and
31845         script gdb-safari to here.
31846         (debugSafari): Added.
31847         (runSafari): Extracted debugging code to debugSafari() and debugMacWebKitApp();
31848         Also, return the exit status of WebKit launcher (WebKit.exe) on Windows. Currently,
31849         runSafari() always returns 1 on Windows and the script run-safari exits using this
31850         value as its exit status. Hence, the script run-safari always exits with a nonzero
31851         exit status (i.e. abnormal termination) on Windows. Instead, we should return the
31852         exit status of the WebKit launcher application.
31853         (debugMiniBrowser): Modified to call debugMacWebKitApp().
31854         (debugWebKitTestRunner): Ditto.
31855
31856 2011-10-15  Robert Hogan  <robert@webkit.org>
31857
31858         [webkit-patch] Put Source/Tools changes at the top of patches, LayoutTests at the bottom
31859         https://bugs.webkit.org/show_bug.cgi?id=70056
31860
31861         Reviewed by Adam Barth.
31862
31863         The preferred file-order for patches is LayoutTests at the end and
31864         ChangeLogs before everything else in a subdirectory. Specify this in a git 'orderfile' and use 
31865         it when creating patches for review and landing.
31866
31867         * Scripts/webkitpy/common/checkout/scm/git.py:
31868         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
31869         * Scripts/webkitpy/common/config/orderfile: Added.
31870
31871 2011-10-15  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
31872
31873         [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
31874         https://bugs.webkit.org/show_bug.cgi?id=69920
31875
31876         Reviewed by Kenneth Rohde Christiansen.
31877
31878         * DumpRenderTree/qt/DumpRenderTree.pro:
31879         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
31880         (WebCore::DumpRenderTree::open):
31881         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
31882         * QtTestBrowser/QtTestBrowser.pro:
31883         * QtTestBrowser/launcherwindow.cpp:
31884         (LauncherWindow::screenshot):
31885         (LauncherWindow::showFPS):
31886         (LauncherWindow::updateFPS):
31887         * QtTestBrowser/launcherwindow.h:
31888         (WindowOptions::WindowOptions):
31889         * QtTestBrowser/mainwindow.cpp:
31890         (MainWindow::buildUI):
31891         * Scripts/webkitpy/style/checker.py: Remove rules for the
31892         WebKit/qt/symbian/platformplugin directory.
31893         * Scripts/webkitpy/style/checker_unittest.py:
31894         * Tools.pro:
31895         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
31896         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
31897         (WTR::LayoutTestController::platformInitialize):
31898         * WebKitTestRunner/qt/TestControllerQt.cpp:
31899         (WTR::isExistingLibrary):
31900         * WebKitTestRunner/qt/WebKitTestRunner.pro:
31901
31902 2011-10-15  Adam Barth  <abarth@webkit.org>
31903
31904         Fix typo in webkitpy help
31905         https://bugs.webkit.org/show_bug.cgi?id=70169
31906
31907         Reviewed by Eric Seidel.
31908
31909         * Scripts/webkitpy/tool/commands/upload.py:
31910
31911 2011-10-15  Tony Chang  <tony@chromium.org>
31912
31913         fix another typo in treemap.html
31914         https://bugs.webkit.org/show_bug.cgi?id=70149
31915
31916         Reviewed by Ojan Vafai.
31917
31918         Fixes a bug where #treemapfocus=LayoutTests%2Fhttp didn't focus the http tests.
31919
31920         * TestResultServer/static-dashboards/treemap.html:
31921
31922 2011-10-14  Adam Barth  <abarth@webkit.org>
31923
31924         Hide status bubbles from queues which are very far behind
31925         https://bugs.webkit.org/show_bug.cgi?id=70133
31926
31927         Reviewed by Eric Seidel.
31928
31929         The mac-ews is so far behind that we shouldn't show its status bubble.
31930         The status bubble just makes contributors sad.
31931
31932         * QueueStatusServer/handlers/statusbubble.py:
31933
31934 2011-10-14  Dimitri Glazkov  <dglazkov@chromium.org>
31935
31936         Write unit test to ensure style-checker-filter option is passed properly in webkit-patch
31937         https://bugs.webkit.org/show_bug.cgi?id=70143
31938
31939         Reviewed by Adam Barth.
31940
31941         * Scripts/webkitpy/tool/commands/download_unittest.py: Added a test for land-cowboy. Not so cowboy after all.
31942         * Scripts/webkitpy/tool/steps/checkstyle.py: Fixed a bug, discovered by the newly added test.
31943
31944 2011-10-14  David Levin  <levin@chromium.org>
31945
31946         watchlist: Add a validation check for the email names in the list.
31947         https://bugs.webkit.org/show_bug.cgi?id=70154
31948
31949         Reviewed by Adam Barth.
31950
31951         If an email is listed which doesn't have a bugzilla log in, then any emails
31952         added to the bug along with that email will fail to happen, so try to prevent this
31953         from happening by validating that emails added to the watchlist are known to be
31954         contributors.
31955
31956         * Scripts/webkitpy/common/config/committers.py: Add my other email aliases for bugzilla.
31957         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Add the check.
31958         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: A unit test for the check.
31959
31960 2011-10-14  David Levin  <levin@chromium.org>
31961
31962         watchlist: If the style check fails, then the watchlist will not be run.
31963         https://bugs.webkit.org/show_bug.cgi?id=69484
31964
31965         Reviewed by Adam Barth.
31966
31967         * Scripts/webkitpy/tool/commands/queues.py: Run the watch list even
31968         if the style part fails and don't allow watch list failures turn the
31969         bot run red.
31970         * Scripts/webkitpy/tool/commands/queues_unittest.py: Appropriate unit tests.
31971         * Scripts/webkitpy/tool/mocktool.py: Add support to make an executive command throw.
31972
31973 2011-10-14  Dimitri Glazkov  <dglazkov@chromium.org>
31974
31975         Plumb style-checker filter up to command options and make land-cowboy use it.
31976         https://bugs.webkit.org/show_bug.cgi?id=70119
31977
31978         Reviewed by Adam Barth.
31979
31980         * Scripts/webkitpy/style/checker.py: Added ChangeLogChecker categories to the big list.
31981         * Scripts/webkitpy/style/checkers/changelog.py: Declared categories, used in ChangeLogChecker.
31982         * Scripts/webkitpy/tool/commands/download.py: Made LandCowboy use filter.
31983         * Scripts/webkitpy/tool/commands/download_unittest.py: Tweaked the test.
31984         * Scripts/webkitpy/tool/commands/upload_unittest.py: Ditto.
31985         * Scripts/webkitpy/tool/steps/checkstyle.py: Made check_style_filter work.
31986         * Scripts/webkitpy/tool/steps/options.py: Added new option, check-style-filter.
31987
31988 2011-10-14  Sam Weinig  <sam@webkit.org>
31989
31990         Remove the Leopard slaves.
31991
31992         Reviewed by Adam Roben.
31993
31994         * BuildSlaveSupport/build.webkit.org-config/config.json:
31995
31996 2011-10-14  Peter Beverloo  <peter@chromium.org>
31997
31998         [Chromium] Inherit settings from Chromium's envsetup.sh, address a NDK todo
31999         https://bugs.webkit.org/show_bug.cgi?id=70028
32000
32001         Reviewed by Adam Barth.
32002
32003         * Scripts/update-webkit-chromium:
32004         * Scripts/webkitdirs.pm:
32005         (buildChromiumMakefile):
32006         (buildChromium):
32007
32008 2011-10-14  Leandro Pereira  <leandro@profusion.mobi>
32009
32010         Unreviewed; add missing #includes.
32011
32012         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
32013         * DumpRenderTree/efl/EventSender.cpp:
32014
32015 2011-10-14  Raphael Kubo da Costa  <kubo@profusion.mobi>
32016
32017         [EFL] Correctly get the absolute URL in LayoutTestController::queueLoad()
32018         https://bugs.webkit.org/show_bug.cgi?id=69770
32019
32020         Reviewed by Antonio Gomes.
32021
32022         We were just appending the given URL to the absolute URI of the main
32023         frame, which resulted in "file:///foo/bar/baz.htmltheother/url.html"
32024         instead of "file:///foo/bar/theother/url.html".
32025
32026         This should make fast/dom/navigation-type-navigate.html behave
32027         better (it still fails, but later).
32028
32029         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
32030         (LayoutTestController::queueLoad):
32031
32032 2011-10-13  Arko Saha  <arko@motorola.com>
32033
32034         Microdata: Basic implementation of document.getItems() method.
32035         https://bugs.webkit.org/show_bug.cgi?id=68610
32036
32037         Reviewed by Ryosuke Niwa.
32038
32039         Added ENABLE(MICRODATA) feature flag. Implement document.getItems() DOM API.
32040         Spec : http://www.whatwg.org/specs/web-apps/current-work/complete/microdata.html
32041
32042         * Scripts/build-webkit:
32043
32044 2011-10-14  Csaba Osztrogonác  <ossy@webkit.org>
32045
32046         new-run-webkit-tests does not support qt-4.8 results
32047         https://bugs.webkit.org/show_bug.cgi?id=64071
32048
32049         Roll-back second part of r97252. :)
32050
32051         * Scripts/webkitpy/layout_tests/port/qt.py:
32052
32053 2011-10-14  Raphael Kubo da Costa  <kubo@profusion.mobi>
32054
32055         [EFL] DRT: Do not use OwnFastMallocPtr to manage char*'s.
32056         https://bugs.webkit.org/show_bug.cgi?id=70106
32057
32058         Reviewed by Antonio Gomes.
32059
32060         OwnFastMallocPtr was being used as a smart pointer that automatically called
32061         free() on the strings returned by the EFL or by ewk.
32062
32063         However, when WTF is built in release mode, it uses its own memory management
32064         code instead of using the system malloc(), free() and friends. This means bad
32065         things will happen when one uses WTF's free() on memory allocated with system
32066         malloc() by the EFL or ewk.
32067
32068         The easiest way to solve this is to call free() ourselves.
32069
32070         * DumpRenderTree/efl/DumpRenderTree.cpp:
32071         (dumpFramesAsText):
32072         (getFinalTestURL):
32073
32074 2011-10-14  Raphael Kubo da Costa  <kubo@profusion.mobi>
32075
32076         [EFL] Add DumpRenderTreeSupportEfl
32077         https://bugs.webkit.org/show_bug.cgi?id=68458
32078
32079         Reviewed by Kenneth Rohde Christiansen.
32080
32081         Make the calls in DumpRenderTree use DumpRenderTreeSupportEfl.
32082
32083         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
32084         (DumpRenderTreeChrome::initialize): Turn on mock scrollbars.
32085         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
32086         (DumpRenderTreeChrome::onWindowObjectCleared):
32087         (DumpRenderTreeChrome::onDocumentLoadFinished):
32088         * DumpRenderTree/efl/GCControllerEfl.cpp:
32089         (GCController::collect):
32090         (GCController::collectOnAlternateThread):
32091         (GCController::getJSObjectCount):
32092         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
32093         (LayoutTestController::counterValueForElementById):
32094         (LayoutTestController::pageNumberForElementById):
32095         (LayoutTestController::numberOfPages):
32096         (LayoutTestController::workerThreadCount):
32097         (LayoutTestController::findString):
32098         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
32099         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
32100         (LayoutTestController::sampleSVGAnimationForElementAtTime):
32101         (LayoutTestController::numberOfActiveAnimations):
32102         (LayoutTestController::suspendAnimations):
32103         (LayoutTestController::resumeAnimations):
32104         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
32105         (createBitmapContextFromWebView):
32106
32107 2011-10-14  Csaba Osztrogonác  <ossy@webkit.org>
32108
32109         [Qt] Enable NRWT for Qt 4.8 version too, because it is supported after r97461.
32110
32111         Unreviewed.
32112
32113         * Scripts/run-webkit-tests:
32114         (useNewRunWebKitTests):
32115
32116 2011-10-14  Csaba Osztrogonác  <ossy@webkit.org>
32117
32118         new-run-webkit-tests does not support qt-4.8 results
32119         https://bugs.webkit.org/show_bug.cgi?id=64071
32120
32121         Roll-back r97252 with unit test fix.
32122
32123         Reviewed by Csaba Osztrogonác.
32124
32125         * Scripts/webkitpy/layout_tests/port/qt.py:
32126         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
32127
32128 2011-10-13  Ojan Vafai  <ojan@chromium.org>
32129
32130         Make filter-build-webkit exit 1 if the build fails.
32131         https://bugs.webkit.org/show_bug.cgi?id=70080
32132
32133         Reviewed by Eric Seidel.
32134
32135         This only works if you redirect stderr to stdout, but it at least makes it possible.
32136         This is useful if you want to run a followup command (e.g. run-webkit-tests) but
32137         only if the build succeeds.
32138
32139         * Scripts/filter-build-webkit:
32140
32141 2011-10-13  Dimitri Glazkov  <dglazkov@chromium.org>
32142
32143         land-cowboy should at least check style.
32144         https://bugs.webkit.org/show_bug.cgi?id=70073
32145
32146         Reviewed by Adam Barth.
32147
32148         * Scripts/webkitpy/tool/commands/download.py: Added CheckStyle step to LandCowboy command.
32149
32150 2011-10-13  Tony Chang  <tony@chromium.org>
32151
32152         fix regex in layout test times dashboard
32153         https://bugs.webkit.org/show_bug.cgi?id=70059
32154
32155         This fixes the treemapfocus query param.
32156
32157         Reviewed by Ojan Vafai.
32158
32159         * TestResultServer/static-dashboards/treemap.html:
32160
32161 2011-10-13  Beth Dakin  <bdakin@apple.com>
32162
32163         https://bugs.webkit.org/show_bug.cgi?id=70050
32164         DRT and WRT should have HiDPI testing capabilities
32165
32166         Reviewed by Darin Adler.
32167
32168         New layoutTestController function setBackingScaleFactor takes a double for a scale 
32169         factor and a callback function to call once the backing scale factor has 
32170         successfully been set for the view.
32171         * DumpRenderTree/LayoutTestController.cpp:
32172         (setBackingScaleFactorCallback):
32173         (LayoutTestController::staticFunctions):
32174
32175         On Mac, setBackingScaleFactor calls WebView _setCustomBackingScaleFactor. Other 
32176         platforms do nothing.
32177         * DumpRenderTree/LayoutTestController.h:
32178         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
32179         (LayoutTestController::setBackingScaleFactor):
32180         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
32181         (LayoutTestController::setBackingScaleFactor):
32182         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
32183         (LayoutTestController::setBackingScaleFactor):
32184
32185         Reset the backing scale factor by calling _setCutsomBackingScaleFactor with a 
32186         value of 0, which resets to the system default.
32187         * DumpRenderTree/mac/DumpRenderTree.mm:
32188         (resetWebViewToConsistentStateBeforeTesting):
32189
32190         When generating the pixel dump, create a Bitmap of the appropriate size based on 
32191         the backing scale factor. If it is a HiDPI view, paint into the context using 
32192         displayRectIgnoringOpacity.
32193         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
32194         (createBitmapContextFromWebView):
32195
32196         And now the same stuff for WK2. Again, new layoutTestController function 
32197         setBackingScaleFactor takes a double for a scale factor and a callback function. 
32198         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
32199         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
32200         (WTR::LayoutTestController::setBackingScaleFactor):
32201         (WTR::LayoutTestController::callSetBackingScaleFactorCallback):
32202         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
32203
32204         The InjectedBundle sends a message to the UI process to set the backing scale 
32205         factor. It also processes a message the UI process will send back once it 
32206         completes this task, and at that time, the InjectedBundle calls the callback.
32207         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
32208         (WTR::InjectedBundle::didReceiveMessage):
32209         (WTR::InjectedBundle::postSetBackingScaleFactor):
32210         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
32211
32212         Again, reset the backing scale factor by calling WKPageSetCustomBackingScaleFactor 
32213         with a value of 0, which resets to the system default.
32214         * WebKitTestRunner/TestController.cpp:
32215         (WTR::TestController::resetStateToConsistentValues):
32216
32217         Upon receiving the SetBackingScaleFactor message, call 
32218         WKPageSetCustomBackingScaleFactor to the given scale factor, and post a message 
32219         back to InjectedBundle to say it has been done.
32220         * WebKitTestRunner/TestInvocation.cpp:
32221         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
32222         
32223         Don't use window snapshotting for the HiDPI tests. We don't have a way to fake a 
32224         window's scale factor so we have to avoid that.
32225         * WebKitTestRunner/cg/TestInvocationCG.cpp:
32226         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
32227
32228 2011-10-13  John Knottenbelt  <jknotten@chromium.org>
32229
32230         [Chromium] Allow building without speech input enabled.
32231         https://bugs.webkit.org/show_bug.cgi?id=69867
32232
32233         Reviewed by Darin Fisher.
32234
32235         * DumpRenderTree/chromium/LayoutTestController.cpp:
32236         (LayoutTestController::addMockSpeechInputResult):
32237
32238 2011-10-13  Kent Tamura  <tkent@chromium.org>
32239
32240         [Chromium] A DRT fix for r97348.
32241
32242         * DumpRenderTree/chromium/LayoutTestController.cpp:
32243         (LayoutTestController::overridePreference):
32244         Ignore overridePreference() for "WebKitWebAudioEnabled", and don't
32245         print an error message.
32246
32247 2011-10-12  Lucas Forschler  <lforschler@apple.com>
32248
32249         Update kill-old-processes logic.
32250         https://bugs.webkit.org/show_bug.cgi?id=63651
32251
32252         Reviewed by Ryosuke Niwa.
32253
32254         Remove unused mac platform specific folder.
32255         Update master.config to use new kill-old-processes.
32256
32257         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
32258         * BuildSlaveSupport/kill-old-processes:
32259         * BuildSlaveSupport/mac: Removed.
32260
32261 2011-10-12  Ryosuke Niwa  <rniwa@webkit.org>
32262
32263         [NRWT] New tests without expected files are reported as flakey tests
32264         https://bugs.webkit.org/show_bug.cgi?id=67268
32265
32266         Reviewed by Dirk Pranke.
32267
32268         The bug was caused by summarize_results's regarding all tests that have an entry in result_summary
32269         and no entry in retry_summary as flaky. Since we don't retry missing tests, there will be no entries
32270         for missing results in retry_summary.
32271
32272         Fixed the bug by treating missing results separately.
32273
32274         * Scripts/webkitpy/layout_tests/controllers/manager.py:
32275         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
32276
32277 2011-10-12  Adam Barth  <abarth@webkit.org>
32278
32279         Remove ENABLE(XHTMLMP) and associated code
32280         https://bugs.webkit.org/show_bug.cgi?id=69729
32281
32282         Reviewed by David Levin.
32283
32284         * Scripts/build-webkit:
32285         * Scripts/old-run-webkit-tests:
32286         * Scripts/webkitperl/features.pm:
32287         * Scripts/webkitpy/layout_tests/port/webkit.py:
32288         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
32289
32290 2011-10-12  Ryosuke Niwa  <rniwa@webkit.org>
32291
32292         Kill old run-webkit-tests processes in kill-process on Mac
32293         https://bugs.webkit.org/show_bug.cgi?id=69976
32294
32295         Reviewed by Dirk Pranke.
32296
32297         Add a system call to remove all python processes running run-webkit-tests.
32298
32299         * BuildSlaveSupport/kill-old-processes:
32300         * BuildSlaveSupport/mac: Removed.
32301
32302 2011-10-12  Simon Fraser  <simon.fraser@apple.com>
32303
32304         Many WK2 snapshots are blank
32305         https://bugs.webkit.org/show_bug.cgi?id=69953
32306
32307         Reviewed by Beth Dakin.
32308         
32309         Two fixes:
32310         1. negating a size_t in CGContextTranslateCTM() fails, because
32311         size_t is unsigned. Fix by casing to CGFloat before negation.
32312         
32313         2. Turn on window autodisplay, so that compositing tests snapshot correctly.
32314         Autodisplay is necessary to kick off Core Animation rendering.
32315
32316         * WebKitTestRunner/cg/TestInvocationCG.cpp:
32317         (WTR::createCGContextFromImage):
32318         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
32319         (WTR::PlatformWebView::PlatformWebView):
32320
32321 2011-10-12  Adam Barth  <abarth@webkit.org>
32322
32323         commit-queue doesn't have a friendly error message when the reviewer line is messed up
32324         https://bugs.webkit.org/show_bug.cgi?id=69979
32325
32326         Reviewed by Eric Seidel.
32327
32328         Rather than combining the ChangeLog validation with a more complicated
32329         command, this patch has the commit-queue run it as a separate command,
32330         which will give us more control over the error message.
32331
32332         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
32333         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
32334         * Scripts/webkitpy/tool/commands/download.py:
32335         * Scripts/webkitpy/tool/commands/queues_unittest.py:
32336         * Scripts/webkitpy/tool/steps/validatechangelogs.py:
32337         * Scripts/webkitpy/tool/steps/validatereviewer.py:
32338
32339 2011-10-12  Eric Seidel  <eric@webkit.org>
32340
32341         Layout tests asserting in LayoutTestController::pathToLocalResource()
32342         https://bugs.webkit.org/show_bug.cgi?id=69898
32343
32344         Reviewed by Simon Fraser.
32345
32346         old-run-webkit-tests just didn't know to set LOCAL_RESOURCE_ROOT, oops.
32347
32348         * Scripts/old-run-webkit-tests:
32349         (openDumpTool):
32350
32351 2011-10-12  Adam Barth  <abarth@webkit.org>
32352
32353         The commit-queue doesn't tell me which tests my patch broke
32354         https://bugs.webkit.org/show_bug.cgi?id=69975
32355
32356         Reviewed by Eric Seidel.
32357
32358         We now print the list of newly failing tests, like we do for the EWS.
32359
32360         * Scripts/webkitpy/tool/commands/queues.py:
32361         * Scripts/webkitpy/tool/commands/queues_unittest.py:
32362
32363 2011-10-10  Alice Boxhall  <aboxhall@chromium.org>
32364
32365         Added myself as a committer.
32366
32367         * Scripts/webkitpy/common/config/committers.py:
32368
32369 2011-10-12  Adam Barth  <abarth@webkit.org>
32370
32371         _run_tests is a confusing variable name in webkitpy
32372         https://bugs.webkit.org/show_bug.cgi?id=69971
32373
32374         Reviewed by Eric Seidel.
32375
32376         Eric and I thought this was a function.
32377
32378         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py:
32379
32380 2011-10-12  Tony Chang  <tony@chromium.org>
32381
32382         Fix test-webkitpy after r97307 and r97293.
32383
32384         * Scripts/webkitpy/layout_tests/port/chromium.py: options.time_out_ms
32385           is None during tests so add back the check.
32386         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py: The
32387           output directory is now build/Debug.
32388
32389 2011-10-12  Tony Chang  <tony@chromium.org>
32390
32391         [chromium] remove old build dirs on chromium-win
32392         https://bugs.webkit.org/show_bug.cgi?id=69961
32393
32394         Reviewed by Adam Barth.
32395
32396         * Scripts/webkitpy/layout_tests/port/chromium_win.py: Output is now
32397           always in build and never in chrome or webkit.
32398
32399 2011-10-12  Dimitri Glazkov  <dglazkov@chromium.org>
32400
32401         garden-o-matic's "Expect Failure" button does not work correctly, so we should remove it until the plumbing is fixed to avoid landmines.
32402         https://bugs.webkit.org/show_bug.cgi?id=69954
32403
32404         Also renamed the action and associated event name to address an FIXME.
32405
32406         Reviewed by Adam Barth.
32407
32408         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Renamed event name.
32409         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js: Renamed the action.
32410         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js: Removed action temporarily.
32411
32412 2011-10-12  Tony Chang  <tony@chromium.org>
32413
32414         stop spamming 'stopping test driver timed out, killing it' when running rwt
32415         https://bugs.webkit.org/show_bug.cgi?id=69938
32416
32417         Reviewed by Adam Barth.
32418
32419         In http://trac.webkit.org/changeset/95875 , we made the timeout for
32420         stopping the driver based on time_out_ms, but we based it on the wrong
32421         default times.
32422
32423         * Scripts/webkitpy/layout_tests/port/chromium.py:
32424
32425 2011-10-12  Simon Fraser  <simon.fraser@apple.com>
32426
32427         3D transforms are flattened in WebKit2 snapshots
32428         https://bugs.webkit.org/show_bug.cgi?id=68276
32429
32430         Reviewed by Adam Roben.
32431         
32432         Fix WKImage leak noticed by Adam.
32433
32434         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
32435         (WTR::PlatformWebView::windowSnapshotImage):
32436
32437 2011-10-12  Dimitri Glazkov  <dglazkov@chromium.org>
32438
32439         garden-o-matic should color-code test failure types.
32440         https://bugs.webkit.org/show_bug.cgi?id=69945
32441
32442         Reviewed by Adam Barth.
32443
32444         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js: Added an extra span for styling.
32445         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js: Updated tests.
32446         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Ditto.
32447         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css: Added color-coding.
32448
32449 2011-10-12  Adam Barth  <abarth@webkit.org>
32450
32451         webkitpy tests are failing on Mac bots
32452         https://bugs.webkit.org/show_bug.cgi?id=69929
32453
32454         Reviewed by Simon Fraser.
32455
32456         Admit that Lion exists.
32457
32458         * Scripts/webkitpy/layout_tests/port/chromium.py:
32459         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
32460
32461 2011-10-12  Simon Fraser  <simon.fraser@apple.com>
32462
32463         Improve output of run-api-tests to make time-outs more obvious
32464         https://bugs.webkit.org/show_bug.cgi?id=69788
32465
32466         Reviewed by Adam Roben.
32467         
32468         List the tests that failed and timed out at the bottom of the output,
32469         if run with --verbose.
32470
32471         * Scripts/run-api-tests:
32472         (runAllTests):
32473         (runTest):
32474
32475 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
32476
32477         Unreviewed, rolling out r97252.
32478         http://trac.webkit.org/changeset/97252
32479         https://bugs.webkit.org/show_bug.cgi?id=69944
32480
32481         Broke test-webkpy (Requested by abarth on #webkit).
32482
32483         * Scripts/webkitpy/layout_tests/port/qt.py:
32484         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
32485
32486 2011-10-12  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
32487
32488         new-run-webkit-tests does not support qt-4.8 results
32489         https://bugs.webkit.org/show_bug.cgi?id=64071
32490
32491         Reviewed by Csaba Osztrogonác.
32492
32493         * Scripts/webkitpy/layout_tests/port/qt.py:
32494         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
32495
32496 2011-10-10  Martin Robinson  <mrobinson@igalia.com>
32497
32498         [GTK] [WebKit2] Make adding another unit test easier
32499         https://bugs.webkit.org/show_bug.cgi?id=69409
32500
32501         Reviewed by Gustavo Noronha Silva.
32502
32503         * Scripts/run-gtk-tests: Update run-gtk-tests to be able to execute
32504         new WebKit2 tests.
32505
32506 2011-10-11  Takashi Toyoshima  <toyoshim@chromium.org>
32507
32508         [WebSocket] update pywebsocket to 0.6b6.
32509         https://bugs.webkit.org/show_bug.cgi?id=69824
32510
32511         Reviewed by Kent Tamura.
32512
32513         WebKit supports WebSocket with version 8 based protocol for now.
32514         We should update its protocol to version 13 based one like hybi-17.
32515         pywebsocket 0.6b6 supports both of version 8 and 13.
32516
32517         * Scripts/webkitpy/thirdparty/__init__.py:
32518
32519 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
32520
32521         WebKitTestRunner needs to link with WebKit for NSURL category methods
32522         https://bugs.webkit.org/show_bug.cgi?id=69892
32523
32524         Reviewed by Sam Weinig.
32525         
32526         WebDragClient::declareAndWriteDragImage() was throwing an Obj-C exception on 10.6 because
32527         the +_web_originalDataAsString selector on NSURL was not recognized. Link with
32528         WebKit.framework to fix this.
32529
32530         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
32531
32532 2011-10-11  Adam Barth  <abarth@webkit.org>
32533
32534         sheriffbot takes too long to acknowledge rollout commands
32535         https://bugs.webkit.org/show_bug.cgi?id=69871
32536
32537         Reviewed by Eric Seidel.
32538
32539         We used to update the working copy before acknowledging the command
32540         because we wanted to ping all the relevant IRC nicks.  That's caused a
32541         bunch of frustration because folks don't know whether the bot has heard
32542         their commands.
32543
32544         This patch makes the bot reply immediately before updating the working
32545         copy.  All the relevenat folks are still pinged when the bot finishes
32546         preparing the rollout.
32547
32548         * Scripts/webkitpy/tool/bot/irc_command.py:
32549         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
32550
32551 2011-10-11  Adam Barth  <abarth@webkit.org>
32552
32553         test-webkitpy fails on Lion
32554         https://bugs.webkit.org/show_bug.cgi?id=69873
32555
32556         Reviewed by Eric Seidel.
32557
32558         This patch fixes one of the two failures.  I'll need to track down the
32559         other failure another time.
32560
32561         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
32562
32563 2011-10-11  Adam Barth  <abarth@webkit.org>
32564
32565         garden-o-matic should warn me when run-webkit-tests errors out (e.g., due to python screw-ups)
32566         https://bugs.webkit.org/show_bug.cgi?id=65230
32567
32568         Reviewed by Dimitri Glazkov.
32569
32570         This patch causes us to treat crashed or hung run-webkit-tests runs
32571         similarly to how we treat compile failures.  In some sense, they're
32572         similar because they prevent us from getting test coverage.
32573
32574         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
32575         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
32576
32577 2011-10-11  Adam Barth  <abarth@webkit.org>
32578
32579         Failing builder display in garden-o-matic should have the same visual style as the failure grid
32580         https://bugs.webkit.org/show_bug.cgi?id=69876
32581
32582         Reviewed by Dimitri Glazkov.
32583
32584         This patch generalizes the view we use for failing builders in the
32585         FailureGrid so that we can use it for the list of builders that aren't
32586         compiling.
32587
32588         One downside of this patch is that it makes it harder to tell when
32589         debug builders are failing (as opposed to release builders) because
32590         that information isn't presented in this view.  A future patch will
32591         improve this aspect.
32592
32593         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
32594         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
32595         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
32596         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
32597         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/failures.css:
32598         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
32599
32600 2011-10-11  Filip Pizlo  <fpizlo@apple.com>
32601
32602         Some API tests are timing out in Release
32603         https://bugs.webkit.org/show_bug.cgi?id=69787
32604
32605         Reviewed by Mark Rowe.
32606         
32607         NDEBUG must be set in release builds. Otherwise the world breaks. Also added some
32608         magic to ensure that GTest builds in release mode in clang with NDEBUG set.
32609
32610         * TestWebKitAPI/Configurations/Base.xcconfig:
32611         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
32612         * TestWebKitAPI/config.h:
32613
32614 2011-10-11  Adam Barth  <abarth@webkit.org>
32615
32616         garden-o-matic links to flakiness dashboard should open in a new tab
32617         https://bugs.webkit.org/show_bug.cgi?id=69864
32618
32619         Reviewed by Dimitri Glazkov.
32620
32621         This bug was obvious in the first five minutes of using this new
32622         feature.  :)
32623
32624         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
32625         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
32626
32627 2011-10-11  Adam Barth  <abarth@webkit.org>
32628
32629         Tweak the Content-Security-Policy for garden-o-matic.  It turns out
32630         that * doesn't really mean "all".  I've emailed the W3C working group
32631         about changing the spec.
32632
32633         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
32634
32635 2011-10-11  Adam Barth  <abarth@webkit.org>
32636
32637         garden-o-matic should link to the flakiness dashboard
32638         https://bugs.webkit.org/show_bug.cgi?id=69862
32639
32640         Reviewed by Dimitri Glazkov.
32641
32642         The flakiness dashboard has lots of great information about the failure
32643         history of each test.  This patch adds a link from garden-o-matic to
32644         the flakiness dashboard so the gardener can look at this information.
32645
32646         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
32647         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
32648         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
32649
32650 2011-10-11  David Levin  <levin@chromium.org>
32651
32652         watchlist: assertRaisesRegexp implementation should be compatible with python 2.7.
32653         https://bugs.webkit.org/show_bug.cgi?id=69789
32654
32655         Reviewed by Eric Seidel.
32656
32657         Made the signature of _assertRaisesRegexp match that of Python 2.7.
32658
32659         * Scripts/webkitpy/common/watchlist/watchlistloader_unittest.py: Adjusted to be compatible with Python 2.7.
32660         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Ditto.
32661         * Scripts/webkitpy/common/webkitunittest.py: Ditto.
32662         * Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py: Ditto.
32663
32664 2011-10-11  Raphael Kubo da Costa  <kubo@profusion.mobi>
32665
32666         [EFL] DRT: Do not abort() when an unknown key is pressed.
32667         https://bugs.webkit.org/show_bug.cgi?id=69856
32668
32669         Reviewed by Antonio Gomes.
32670
32671         A lot of tests crash due to the previous behaviour. Just using the
32672         received name of the pressed key works most of the time, and when it
32673         does not the failing tests should tell us.
32674
32675         * DumpRenderTree/efl/EventSender.cpp:
32676         (keyPadNameFromJSValue):
32677         (keyNameFromJSValue):
32678         (keyDownCallback):
32679
32680 2011-10-11  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
32681
32682         [Qt] [WK2] NRWT failed to launch MiniBrowser after test run
32683         https://bugs.webkit.org/show_bug.cgi?id=68016
32684
32685         Reviewed by Chang Shu.
32686
32687         * Scripts/webkitpy/layout_tests/port/qt.py:
32688
32689 2011-10-11  Raphael Kubo da Costa  <kubo@profusion.mobi>
32690
32691         [EFL] DRT: Return the right window count in LayoutTestController.
32692         https://bugs.webkit.org/show_bug.cgi?id=69764
32693
32694         Reviewed by Antonio Gomes.
32695
32696         Follow-up to r96943: now that we have DumpRenderTreeChrome and
32697         DumpRenderTreeView in the tree, we can correctly count the number of
32698         open windows in DRT.
32699
32700         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
32701         (LayoutTestController::windowCount):
32702
32703 2011-10-11  Jer Noble  <jer.noble@apple.com>
32704
32705         REGRESSION (r96770-r96777): fast/dom/Window/window-properties.html, fast/dom/prototype-inheritance-2.html, fast/js/global-constructors.html failing on SnowLeopard Intel Release (Tests)
32706         https://bugs.webkit.org/show_bug.cgi?id=69800
32707
32708         Reviewed by Csaba Osztrogonác.
32709
32710         Enable WEB_AUDIO at runtime.
32711
32712         * DumpRenderTree/mac/DumpRenderTree.mm:
32713         (resetDefaultsToConsistentValues):
32714
32715 2011-10-11  Raphael Kubo da Costa  <kubo@profusion.mobi>
32716
32717         [EFL] DRT: Make sure IconDatabase is closed before trying to open it again.
32718         https://bugs.webkit.org/show_bug.cgi?id=69769
32719
32720         Reviewed by Antonio Gomes.
32721
32722         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
32723         (LayoutTestController::setIconDatabaseEnabled):
32724
32725 2011-10-11  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
32726
32727         [Qt] Remove all references to QTDIR_build and standalone_package
32728
32729         Qt is now modularized, which means we no longer import WebKit into
32730         the Qt source tree. Instead we use git submodules, and building
32731         QtWebKit as "part of Qt" is really building QtWebKit as from trunk.
32732
32733         To decrease the number of buildsystem configurations we also remove
32734         the standalone_package code-path used when we were providing tarballs
32735         with the derived sources pre-generated.
32736
32737         Reviewed by Simon Hausmann.
32738
32739         * MiniBrowser/qt/MiniBrowser.pro:
32740         * QtTestBrowser/QtTestBrowser.pro:
32741         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
32742
32743 2011-10-11  Dominic Mazzoni  <dmazzoni@google.com>
32744
32745         Update Chromium accessibility support in DRT.
32746         https://bugs.webkit.org/show_bug.cgi?id=69676
32747
32748         Reviewed by Chris Fleizach.
32749
32750         Adds several missing properties and methods to enable more
32751         tests to pass, and in particular adds support for notification
32752         callbacks.
32753
32754         * DumpRenderTree/chromium/AccessibilityController.cpp:
32755         (AccessibilityController::AccessibilityController):
32756         (AccessibilityController::reset):
32757         (AccessibilityController::getFocusedElement):
32758         (AccessibilityController::shouldLogAccessibilityEvents):
32759         (AccessibilityController::notificationReceived):
32760         (AccessibilityController::logAccessibilityEventsCallback):
32761         * DumpRenderTree/chromium/AccessibilityController.h:
32762         * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
32763         (getHelpText):
32764         (getStringValue):
32765         (getOrientation):
32766         (AccessibilityUIElement::AccessibilityUIElement):
32767         (AccessibilityUIElement::getChildAtIndex):
32768         (AccessibilityUIElement::isEqual):
32769         (AccessibilityUIElement::notificationReceived):
32770         (AccessibilityUIElement::roleGetterCallback):
32771         (AccessibilityUIElement::titleGetterCallback):
32772         (AccessibilityUIElement::descriptionGetterCallback):
32773         (AccessibilityUIElement::helpTextGetterCallback):
32774         (AccessibilityUIElement::stringValueGetterCallback):
32775         (AccessibilityUIElement::xGetterCallback):
32776         (AccessibilityUIElement::yGetterCallback):
32777         (AccessibilityUIElement::widthGetterCallback):
32778         (AccessibilityUIElement::heightGetterCallback):
32779         (AccessibilityUIElement::intValueGetterCallback):
32780         (AccessibilityUIElement::minValueGetterCallback):
32781         (AccessibilityUIElement::maxValueGetterCallback):
32782         (AccessibilityUIElement::childrenCountGetterCallback):
32783         (AccessibilityUIElement::insertionPointLineNumberGetterCallback):
32784         (AccessibilityUIElement::selectedTextRangeGetterCallback):
32785         (AccessibilityUIElement::isEnabledGetterCallback):
32786         (AccessibilityUIElement::isRequiredGetterCallback):
32787         (AccessibilityUIElement::isFocusedGetterCallback):
32788         (AccessibilityUIElement::isFocusableGetterCallback):
32789         (AccessibilityUIElement::isSelectedGetterCallback):
32790         (AccessibilityUIElement::isSelectableGetterCallback):
32791         (AccessibilityUIElement::isMultiSelectableGetterCallback):
32792         (AccessibilityUIElement::isExpandedGetterCallback):
32793         (AccessibilityUIElement::isCheckedGetterCallback):
32794         (AccessibilityUIElement::isVisibleGetterCallback):
32795         (AccessibilityUIElement::isOffScreenGetterCallback):
32796         (AccessibilityUIElement::isCollapsedGetterCallback):
32797         (AccessibilityUIElement::hasPopupGetterCallback):
32798         (AccessibilityUIElement::isValidGetterCallback):
32799         (AccessibilityUIElement::orientationGetterCallback):
32800         (AccessibilityUIElement::showMenuCallback):
32801         (AccessibilityUIElement::pressCallback):
32802         (AccessibilityUIElement::isEqualCallback):
32803         (AccessibilityUIElement::addNotificationListenerCallback):
32804         (AccessibilityUIElement::removeNotificationListenerCallback):
32805         (AccessibilityUIElement::takeFocusCallback):
32806         (AccessibilityUIElement::fallbackCallback):
32807         (RootAccessibilityUIElement::getChildAtIndex):
32808         (AccessibilityUIElementList::getOrCreate):
32809         * DumpRenderTree/chromium/AccessibilityUIElement.h:
32810         * DumpRenderTree/chromium/CppVariant.cpp:
32811         (CppVariant::invokeDefault):
32812         * DumpRenderTree/chromium/CppVariant.h:
32813         * DumpRenderTree/chromium/LayoutTestController.cpp:
32814         (LayoutTestController::LayoutTestController):
32815         (LayoutTestController::reset):
32816         * DumpRenderTree/chromium/LayoutTestController.h:
32817         * DumpRenderTree/chromium/WebViewHost.cpp:
32818         (WebViewHost::postAccessibilityNotification):
32819
32820 2011-10-10  Adam Klein  <adamk@chromium.org>
32821
32822         Support Distributed-CompileC as an action name in filter-build-webkit
32823         https://bugs.webkit.org/show_bug.cgi?id=69783
32824
32825         Reviewed by Ojan Vafai.
32826
32827         * Scripts/filter-build-webkit:
32828
32829 2011-10-10  Simon Fraser  <simon.fraser@apple.com>
32830
32831         3D transforms are flattened in WebKit2 snapshots
32832         https://bugs.webkit.org/show_bug.cgi?id=68276
32833
32834         Reviewed by Anders Carlsson.
32835         
32836         Use a snapshot of the window, rather than an image from the web process
32837         for pixel testing in WebKitTestRunner. This correctly captures compositing
32838         layers, so works for 3D transform tests.
32839
32840         * WebKitTestRunner/PlatformWebView.h: Add a windowSnapshotImage() method.
32841         * WebKitTestRunner/cg/TestInvocationCG.cpp:
32842         (WTR::createCGContextFromImage): Add a param to optionally flip the image when drawing.
32843         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Call windowSnapshotImage(), and if it returns an image,
32844         use that instead of the image we get from the web process.
32845         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
32846         (WTR::PlatformWebView::windowSnapshotImage): Stub out the new method.
32847         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
32848         (WTR::PlatformWebView::windowSnapshotImage): Ditto.
32849         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
32850         (WTR::PlatformWebView::windowSnapshotImage): Ditto.
32851         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
32852         (WTR::PlatformWebView::windowSnapshotImage): Ditto.
32853
32854 2011-10-10  David Levin  <levin@chromium.org>
32855
32856         Quick fix for watchlist unit test failures when using Python 2.7+
32857         Reviewed by Adam Barth.
32858
32859         Filed bug https://bugs.webkit.org/show_bug.cgi?id=69789 about a
32860         better fix.
32861
32862         * Scripts/webkitpy/common/webkitunittest.py: Always use our
32863         version of assertRaisesRegexp.
32864
32865 2011-10-10  Sheriff Bot  <webkit.review.bot@gmail.com>
32866
32867         Unreviewed, rolling out r97082.
32868         http://trac.webkit.org/changeset/97082
32869         https://bugs.webkit.org/show_bug.cgi?id=69784
32870
32871         broke Windows build (Requested by smfr on #webkit).
32872
32873         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
32874         * WebKitTestRunner/cg/TestInvocationCG.cpp: Renamed from Tools/WebKitTestRunner/cg/TestInvocationCG.mm.
32875         (WTR::createCGContextFromImage):
32876         (WTR::computeMD5HashStringForContext):
32877         (WTR::dumpBitmap):
32878         (WTR::paintRepaintRectOverlay):
32879         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
32880         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
32881         (WTR::PlatformWebView::PlatformWebView):
32882
32883 2011-10-10  Simon Fraser  <simon.fraser@apple.com>
32884
32885         3D transforms are flattened in WebKit2 snapshots
32886         https://bugs.webkit.org/show_bug.cgi?id=68276
32887
32888         Reviewed by Anders Carlsson.
32889         
32890         The WKImage passed from the WebProcess when pixel dumping is created by painting compositing layers
32891         flattened, which flattens 3D transforms. Instead, use CGWindowListCreateImage() to get a snapshot of
32892         the window when doing pixel tests.
32893         
32894         Also allow the window to auto-display, so that Core Animation layers are rendered, and animate.
32895
32896         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: TestInvocationCG became a .mm file
32897         * WebKitTestRunner/cg/TestInvocationCG.mm: Renamed from Tools/WebKitTestRunner/cg/TestInvocationCG.cpp.
32898         (WTR::createBitmapCGContext): Utility function to create a bitmap context.
32899         (WTR::computeMD5HashStringForContext):
32900         (WTR::dumpBitmap):
32901         (WTR::paintRepaintRectOverlay):
32902         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Use CGWindowListCreateImage() to
32903         grap a snapshot of the window, rather than relying on the WKImage which was passed from the web process.
32904         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
32905         (WTR::PlatformWebView::PlatformWebView): Remove the line that turned off autoDisplay for the NSWindow.
32906         We need the window to autodisplay for Core Animation to render layers and start animations.
32907
32908 2011-10-10  Simon Fraser  <simon.fraser@apple.com>
32909
32910         WebKitTestRunner needs layoutTestController.setWindowIsKey
32911         https://bugs.webkit.org/show_bug.cgi?id=42688
32912
32913         Reviewed by Anders Carlsson.
32914
32915         Implement layoutTestController.setWindowIsKey() in WebKitTestRunner.
32916         This sets a flag that the platform layer uses to indicate that
32917         the window is the key window, which fixes focus ring drawing
32918         in pixel results.
32919         
32920         Also focus the web view when we get a 'didCommitLoad' for the main
32921         frame, as DumpRenderTree does.
32922
32923         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
32924         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
32925         (WTR::InjectedBundle::postSetWindowIsKey):
32926         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
32927         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
32928         (WTR::cacheLayoutTestControllerCallback): Replace some magic numbers with an enum.
32929         (WTR::LayoutTestController::addChromeInputField):
32930         (WTR::LayoutTestController::removeChromeInputField):
32931         (WTR::LayoutTestController::focusWebView):
32932         (WTR::LayoutTestController::setWindowIsKey):
32933         (WTR::LayoutTestController::callAddChromeInputFieldCallback):
32934         (WTR::LayoutTestController::callRemoveChromeInputFieldCallback):
32935         (WTR::LayoutTestController::callFocusWebViewCallback):
32936         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
32937         * WebKitTestRunner/PlatformWebView.h: Add an NSWindow subclass
32938         so that we can override -isKeyWindow. Use a boolean member variable
32939         to track window key status.
32940         (WTR::PlatformWebView::setWindowIsKey):
32941         (WTR::PlatformWebView::windowIsKey):
32942         * WebKitTestRunner/TestController.cpp:
32943         (WTR::TestController::runModal): Change the window key status when showing a modal alert, as DRT does.
32944         (WTR::closeOtherPage): Use the same cast as other functions.
32945         (WTR::focus): Implement to call setWindowIsKey(true)
32946         (WTR::unfocus): Implement to call setWindowIsKey(false)
32947         (WTR::TestController::createOtherPage): Add page callbacks for focus and unfocus.
32948         (WTR::TestController::initialize):
32949         (WTR::TestController::didCommitLoadForFrame): Hook up callback to focus the web view, as DRT does.
32950         * WebKitTestRunner/TestController.h:
32951         * WebKitTestRunner/TestInvocation.cpp:
32952         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
32953         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
32954         (WTR::PlatformWebView::PlatformWebView):
32955         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
32956         (-[WebKitTestRunnerWindow isKeyWindow]):
32957         (WTR::PlatformWebView::PlatformWebView): Make a WebKitTestRunnerWindow.
32958         (WTR::PlatformWebView::~PlatformWebView): Clean up the back pointer on the NSWindow subclass, in case it outlives us.
32959         (WTR::PlatformWebView::focus): Set the view as the first responder, and the window as the key window, as DRT does.
32960         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
32961         (WTR::PlatformWebView::PlatformWebView):
32962         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
32963         (WTR::PlatformWebView::PlatformWebView):
32964
32965 2011-10-10  Raphael Kubo da Costa  <kubo@profusion.mobi>
32966
32967         check-webkit-style: Add readability exception for Ewk_* data types.
32968         https://bugs.webkit.org/show_bug.cgi?id=69763
32969
32970         Reviewed by David Levin.
32971
32972         Many EFL-related files (such as EditorClientEfl.h or
32973         DumpRenderTreeSupportEfl.h) need to have declarations such as "typedef
32974         struct _Ewk_Foo Ewk_Foo", which currently produce false positives in
32975         check-webkit-style.
32976
32977         Add an exception for them, just like there are exceptions for
32978         Evas_*, Ecore_* and others.
32979
32980         * Scripts/webkitpy/style/checkers/cpp.py:
32981         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
32982
32983 2011-10-10  Dominic Mazzoni  <dmazzoni@google.com>
32984
32985         [Chromium] Get rid of WebAccessibilityCache.
32986         https://bugs.webkit.org/show_bug.cgi?id=68224
32987
32988         Reviewed by Dimitri Glazkov.
32989
32990         * DumpRenderTree/chromium/AccessibilityController.cpp:
32991         (AccessibilityController::bindToJavascript):
32992
32993 2011-10-09  Adam Barth  <abarth@webkit.org>
32994
32995         Remove "near miss" XSS vulnerabilities in garden-o-matic
32996         https://bugs.webkit.org/show_bug.cgi?id=69708
32997
32998         Reviewed by David Levin.
32999
33000         Collin Jackson did a security audit of garden-o-matic.  He hasn't found
33001         any actual vulnerabilities yet, but he did identify a couple "near
33002         misses" where a slight change in garden-o-matic could lead to a
33003         vulnerability.  This patch removes those potential issues.
33004
33005         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Bugzilla.js:
33006         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
33007
33008 2011-10-07  Adam Barth  <abarth@webkit.org>
33009
33010         Add a Content-Security-Policy to garden-o-matic
33011         https://bugs.webkit.org/show_bug.cgi?id=69668
33012
33013         Reviewed by David Levin.
33014
33015         This will help mitigate cross-site script and will also help us dogfood CSP.
33016
33017         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
33018
33019 2011-10-07  Raphael Kubo da Costa  <kubo@profusion.mobi>
33020
33021         [EFL] DRT: Add DumpRenderTreeChrome.{cpp,h}
33022         https://bugs.webkit.org/show_bug.cgi?id=66380
33023
33024         Reviewed by Antonio Gomes.
33025
33026         This encapsulates EWebKit into an object that manages multiple windows
33027         and provides a cleaner interface to EFL's DumpRenderTree.
33028
33029         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp: Added.
33030         (DumpRenderTreeChrome::create):
33031         (DumpRenderTreeChrome::DumpRenderTreeChrome):
33032         (DumpRenderTreeChrome::~DumpRenderTreeChrome):
33033         (DumpRenderTreeChrome::createNewWindow):
33034         (DumpRenderTreeChrome::createView):
33035         (DumpRenderTreeChrome::removeWindow):
33036         (DumpRenderTreeChrome::initialize):
33037         (DumpRenderTreeChrome::extraViews):
33038         (DumpRenderTreeChrome::mainFrame):
33039         (DumpRenderTreeChrome::mainView):
33040         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
33041         (DumpRenderTreeChrome::onWindowObjectCleared):
33042         (DumpRenderTreeChrome::onLoadStarted):
33043         (DumpRenderTreeChrome::processWork):
33044         (DumpRenderTreeChrome::onLoadFinished):
33045         (DumpRenderTreeChrome::onStatusbarTextSet):
33046         (DumpRenderTreeChrome::onTitleChanged):
33047         (DumpRenderTreeChrome::onDocumentLoadFinished):
33048         * DumpRenderTree/efl/DumpRenderTreeChrome.h: Added.
33049         * DumpRenderTree/efl/EventSender.cpp:
33050         (sendClick): Use browser->mainFrame() instead of mainFrame.
33051         (mouseDownCallback): Ditto.
33052         (mouseUpCallback): Ditto.
33053         (mouseMoveToCallback): Ditto.
33054         (mouseScrollByCallback): Ditto.
33055         (keyDownCallback): Ditto.
33056         (scalePageByCallback): Ditto.
33057         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
33058         (LayoutTestController::counterValueForElementById): Use
33059         browser->mainFrame() instead of mainFrame.
33060         (LayoutTestController::pageNumberForElementById): Ditto.
33061         (LayoutTestController::numberOfPages): Ditto.
33062         (LayoutTestController::pauseAnimationAtTimeOnElementWithId): Ditto.
33063         (LayoutTestController::pauseTransitionAtTimeOnElementWithId): Ditto.
33064         (LayoutTestController::sampleSVGAnimationForElementAtTime): Ditto.
33065         (LayoutTestController::numberOfActiveAnimations): Ditto.
33066         (LayoutTestController::suspendAnimations): Ditto.
33067         (LayoutTestController::resumeAnimations): Ditto.
33068         (LayoutTestController::setWebViewEditable): Ditto.
33069         (LayoutTestController::webHistoryItemCount): Use browser->mainView()
33070         instead of browser.
33071         (LayoutTestController::queueLoad): Ditto.
33072         (LayoutTestController::setAcceptsEditing): Ditto.
33073         (LayoutTestController::setUserStyleSheetEnabled): Ditto.
33074         (LayoutTestController::setPrivateBrowsingEnabled): Ditto.
33075         (LayoutTestController::setFrameFlatteningEnabled): Ditto.
33076         (LayoutTestController::setSpatialNavigationEnabled): Ditto.
33077         (LayoutTestController::setPluginsEnabled): Ditto.
33078         (LayoutTestController::findString): Ditto.
33079         (LayoutTestController::setDeveloperExtrasEnabled): Ditto.
33080         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
33081         (createBitmapContextFromWebView): Use browser->mainFrame() instead of
33082         mainFrame.
33083         * DumpRenderTree/efl/WorkQueueItemEfl.cpp:
33084         (LoadItem::invoke): Ditto.
33085         (LoadHTMLStringItem::invoke): Ditto.
33086         (ScriptItem::invoke): Ditto.
33087         (ReloadItem::invoke): Use browser->mainView() instead of browser.
33088
33089 2011-10-07  Simon Hausmann  <simon.hausmann@nokia.com>
33090
33091         [Qt][WK2] Touch mocking is broken with Qt 5 post refactor merge
33092         https://bugs.webkit.org/show_bug.cgi?id=69617
33093
33094         Reviewed by Andreas Kling.
33095
33096         Injecting fake touch events using qt_translateRawTouchEvent does not work anymore, as it sends
33097         the touch events to widgets only. The QML view however is a QWindow. Therefore the fake touch
33098         events have to be dispatched through QWindowSystemInterface::handleTouchEvent. As a result the
33099         events appear to be spontaenous, which required adjusting the are-we-on-a-real-touch-device
33100         logic.
33101
33102         * MiniBrowser/qt/MiniBrowserApplication.cpp:
33103         (MiniBrowserApplication::MiniBrowserApplication):
33104         (MiniBrowserApplication::notify):
33105         * MiniBrowser/qt/MiniBrowserApplication.h:
33106
33107 2011-10-06  Adam Barth  <abarth@webkit.org>
33108
33109         Port PixelZoomer to work in garden-o-matic
33110         https://bugs.webkit.org/show_bug.cgi?id=69577
33111
33112         Reviewed by David Levin.
33113
33114         This implementation of PixelZoomer is basically a fork of the
33115         implementation used by results.html.  These two apps have different
33116         requirements on where this code lives.  results.html wants to be
33117         self-contained whereas garden-o-matic wants to live in the public_html
33118         folder of the buildbot.  We could do something fancy here to share the
33119         code, but that's not likely to be of much benefit.
33120
33121         I had to change a few things about pixelzoomer to accounter for the
33122         differences in DOM between results.html and garden-o-matic, but
33123         surprisingly little.  I also moved all the code into an anonymous
33124         function, which is the style we're suing for module separation in
33125         garden-o-matic.  Finally, some jQuery-ims snuck in because I didn't
33126         want to drag along too many extra functions from results.html.
33127
33128         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
33129         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
33130         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/pixelzoomer.js: Added.
33131         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
33132         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/pixelzoomer.css: Added.
33133         (.pixel-zoom-container):
33134         (.pixel-zoom-container > *):
33135         (.pixel-zoom-container .scaled-image-container):
33136         (.scaled-image-container > img):
33137
33138 2011-10-06  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
33139
33140         [EFL] Change data type of parameter in ewk_view_viewport_attributes_get().
33141         https://bugs.webkit.org/show_bug.cgi?id=69505
33142
33143         Reviewed by Andreas Kling.
33144
33145         * EWebLauncher/main.c: Use *int* variables for width and height of viewport meta tag.
33146         (on_viewport_changed):
33147
33148 2011-10-06  Brent Fulgham  <bfulgham@webkit.org>
33149
33150         [WinCairo] Unreviewed test correction.
33151
33152         * Scripts/webkitdirs.pm:
33153         (argumentsForConfiguration): Add 'wincairo' option to the set of
33154         configuration flags used by run-javascript-core tests, so that it
33155         does not attempt to run Apple's release version.
33156
33157 2011-10-06  Brent Fulgham  <bfulgham@webkit.org>
33158
33159         [WinCairo] Unreviewed test correction.
33160
33161         * BuildSlaveSupport/test-result-archive: Add 'wincairo' to the set
33162          of known build slave types so that test-result-archive won't fail
33163          when running tests.
33164
33165 2011-10-06  Martin Robinson  <mrobinson@igalia.com>
33166
33167         The GTK+ WebKit2 headers produce a lot of style warnings
33168         https://bugs.webkit.org/show_bug.cgi?id=69481
33169
33170         Reviewed by David Levin.
33171
33172         Prevent emitting so many style warnings for GTK+ API. We skip header
33173         files in the WebKit2 GTK+ API directory and also avoid warnings about
33174         identifier names that begin with "webkit_" in files that contain the
33175         string "gtk".
33176
33177         * Scripts/webkitpy/style/checker.py: Do not check header files in
33178         Source/WebKit2/UIProcess/API/gtk that do not end in Private.h. This required
33179         adding the ability to specify a regular expression in the skip list. Remove
33180         a few files from the skipped list that no longer exist.
33181         * Scripts/webkitpy/style/checker_unittest.py: Added a test for this behavior.
33182         * Scripts/webkitpy/style/checkers/cpp.py: If a path contains "gtk" don't warn
33183         about identifiers that begin with "webkit_".
33184         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added a test for this behavior.
33185
33186 2011-10-06  Brent Fulgham  <bfulgham@webkit.org>
33187
33188         [WinCairo] Correct config.json for WinCairo Test builds.
33189         https://bugs.webkit.org/show_bug.cgi?id=69272
33190
33191         Reviewed by Ryosuke Niwa.
33192
33193         * BuildSlaveSupport/build.webkit.org-config/config.json: Remove
33194          old 'WinCairo Debug (Build)' label and replace with correct
33195          'WinCairo Release' label.
33196
33197 2011-10-06  David Levin  <levin@chromium.org>
33198
33199         Add a style checker watchlist definition and add myself to it.
33200         https://bugs.webkit.org/show_bug.cgi?id=69564
33201
33202         Reviewed by Daniel Bates.
33203
33204         * Scripts/webkitpy/common/config/watchlist:
33205
33206 2011-10-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
33207
33208         [EFL] DRT: Create icon database path in LayoutTestController::setIconDatabaseEnabled.
33209         https://bugs.webkit.org/show_bug.cgi?id=69450
33210
33211         Reviewed by Ryosuke Niwa.
33212
33213         This should avoid stderr messages when running
33214         webarchive/test-link-rel-icon.html.
33215
33216         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
33217         (LayoutTestController::setIconDatabaseEnabled):
33218
33219 2011-10-06  Alejandro G. Castro  <alex@igalia.com>
33220
33221         [WK2] [GTK] Add Skipped file for Webkit2 test runner
33222         https://bugs.webkit.org/show_bug.cgi?id=69517
33223
33224         Use the shared WK2 skipped file also in GTK port.
33225
33226         Reviewed by Martin Robinson.
33227
33228         * Scripts/old-run-webkit-tests:
33229         (readSkippedFiles):
33230
33231 2011-10-06  Elliot Poger  <epoger@google.com>
33232
33233         allow new-run-webkit-tests to run on Lion
33234         https://bugs.webkit.org/show_bug.cgi?id=69429
33235
33236         Add fallback lists for chromium-mac-lion, and add chromium-mac-snowleopard
33237         directory to fallback lists (even though that directory doesn't exist yet)
33238
33239         Reviewed by Adam Barth.
33240
33241         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
33242         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
33243
33244 2011-10-03  Hans Wennborg  <hans@chromium.org>
33245
33246         IndexedDB: Remove SQLite-LevelDB migration code
33247         https://bugs.webkit.org/show_bug.cgi?id=69264
33248
33249         Reviewed by Tony Chang.
33250
33251         Remove setOverrideIndexedDBBackingStore. It was used in the layout
33252         test for migration.
33253
33254         * DumpRenderTree/chromium/LayoutTestController.cpp:
33255         (LayoutTestController::LayoutTestController):
33256         * DumpRenderTree/chromium/LayoutTestController.h:
33257
33258 2011-10-05  James Robinson  <jamesr@chromium.org>
33259
33260         [chromium] Add a command line option to DumpRenderTree and run_webkit_tests.py to enable threaded compositing mode
33261         https://bugs.webkit.org/show_bug.cgi?id=69498
33262
33263         Reviewed by Adam Barth.
33264
33265         * DumpRenderTree/chromium/DumpRenderTree.cpp:
33266         (main):
33267         * DumpRenderTree/chromium/TestShell.cpp:
33268         (TestShell::TestShell):
33269         (TestShell::resetWebSettings):
33270         * DumpRenderTree/chromium/TestShell.h:
33271         (TestShell::setThreadedCompositingEnabled):
33272         * DumpRenderTree/chromium/WebPreferences.cpp:
33273         (WebPreferences::reset):
33274         (WebPreferences::applyTo):
33275         * DumpRenderTree/chromium/WebPreferences.h:
33276         * Scripts/webkitpy/layout_tests/port/chromium.py:
33277         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
33278
33279 2011-10-05  Erik Arvidsson  <arv@chromium.org>
33280
33281         [QT] Fix DRT after r96779
33282
33283         unreviewed.
33284
33285         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
33286         (WebCore::dumpHistoryItem):
33287
33288 2011-10-05  Erik Arvidsson  <arv@chromium.org>
33289
33290         window.location.href and others needlessly decodes URI-encoded characters
33291         https://bugs.webkit.org/show_bug.cgi?id=30225
33292
33293         Reviewed by Darin Adler.
33294
33295         * DumpRenderTree/chromium/TestShell.cpp:
33296         (normalizeLayoutTestURLInternal): Remove extra encode.
33297
33298 2011-10-05  Darin Adler  <darin@apple.com>
33299
33300         Fix build.
33301
33302         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
33303         (TestWebKitAPI::TEST): Remove underscore prefix from call to
33304         WKContextRegisterURLSchemeAsEmptyDocument.
33305
33306 2011-10-05  Brent Fulgham  <bfulgham@webkit.org>
33307
33308         [WinCairo] Switch to building Release target, and activate tests.
33309         https://bugs.webkit.org/show_bug.cgi?id=69272
33310
33311         Reviewed by Adam Barth.
33312
33313         * BuildSlaveSupport/build.webkit.org-config/config.json:
33314         Change from debug to release target. Switch from "Build" to
33315         "BuildAndTest"
33316
33317 2011-10-05  Simon Fraser  <simon.fraser@apple.com>
33318
33319         In WebKitTestRunner, text has font smoothing in pixel snapshots
33320         https://bugs.webkit.org/show_bug.cgi?id=69396
33321
33322         Reviewed by Darin Adler.
33323         
33324         Call the new WKContext method that disables font smoothing in
33325         WebKitTestRunner, so that pixel snapshots don't have font smoothing
33326         enabled. Remove leading underscore from a WKContext function call.
33327
33328         * WebKitTestRunner/TestController.cpp:
33329         (WTR::TestController::resetStateToConsistentValues):
33330
33331 2011-10-05  David Levin  <levin@chromium.org>
33332
33333         Improve the watchlist for threading entries.
33334         https://bugs.webkit.org/show_bug.cgi?id=69463
33335
33336         Reviewed by Adam Barth.
33337
33338         * Scripts/webkitpy/common/config/watchlist:
33339
33340 2011-10-05  Adam Roben  <aroben@apple.com>
33341
33342         Add tests for using RetainPtrs inside HashMap and HashSet
33343
33344         Fixes <http://webkit.org/b/69414> <rdar://problem/10236833> Using RetainPtr as the key type
33345         in HashMap/HashSet fails to compile
33346
33347         Reviewed by John Sullivan.
33348
33349         * TestWebKitAPI/Tests/WTF/cf/RetainPtrHashing.cpp: Added.
33350         (TestWebKitAPI::TEST): Show that RetainPtr can be used inside HashSet and as both the key
33351         and value type of HashMap.
33352
33353         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
33354         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
33355         Added new file.
33356
33357 2011-10-05  Adam Barth  <abarth@webkit.org>
33358
33359         Mark as Expected in garden-o-matic is confusing
33360         https://bugs.webkit.org/show_bug.cgi?id=69452
33361
33362         Reviewed by David Levin.
33363
33364         krit didn't understand the difference between this button and the
33365         Rebaseline button because both of them seem to indicate that the new
33366         behavior is expected.  This patch renames "Mark as Expected" to "Expect
33367         Failure" to make it clear that we're just expecting the test to fail
33368         rather than accepting the new results as passing.  We might need to
33369         iterate on these names a bit more if folks continue to find them
33370         confusing.
33371
33372         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
33373
33374 2011-10-05  Adam Barth  <abarth@webkit.org>
33375
33376         Add watchlist entries for abarth
33377         https://bugs.webkit.org/show_bug.cgi?id=69461
33378
33379         Reviewed by David Levin.
33380
33381         I might have gone a bit overboard.  We'll see if this is too much spam
33382         for me.
33383
33384         * Scripts/webkitpy/common/config/watchlist:
33385
33386 2011-10-05  Brent Fulgham  <bfulgham@webkit.org>
33387
33388         [WinCairo] Teach old-run-webkit-tests about wincairo.
33389         https://bugs.webkit.org/show_bug.cgi?id=69280
33390
33391         Reviewed by Adam Roben.
33392
33393         * Scripts/old-run-webkit-tests: Handle wincairo case.
33394         (buildPlatformResultHierarchy):
33395         (readSkippedFiles): Ditto
33396         * Scripts/webkitdirs.pm: Deal with wincairo build case.
33397         (determineConfiguration):
33398
33399 2011-10-05  Chang Shu  <cshu@webkit.org>
33400
33401         [WK2] Support setMarkedText/hasMarkedText/unmarkText/insertText for WTR TextInputController
33402         https://bugs.webkit.org/show_bug.cgi?id=68924
33403
33404         Added TextInputController files and JS interfaces for the above functions.
33405
33406         Reviewed by Darin Adler.
33407
33408         * WebKitTestRunner/DerivedSources.make:
33409         * WebKitTestRunner/DerivedSources.pro:
33410         * WebKitTestRunner/GNUmakefile.am:
33411         * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl: Added.
33412         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
33413         (WTR::InjectedBundle::beginTesting):
33414         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
33415         (WTR::InjectedBundle::textInputController):
33416         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
33417         (WTR::InjectedBundlePage::didClearWindowForFrame):
33418         * WebKitTestRunner/InjectedBundle/TextInputController.cpp: Added.
33419         (WTR::TextInputController::create):
33420         (WTR::TextInputController::TextInputController):
33421         (WTR::TextInputController::~TextInputController):
33422         (WTR::TextInputController::wrapperClass):
33423         (WTR::TextInputController::makeWindowObject):
33424         (WTR::TextInputController::setMarkedText):
33425         (WTR::TextInputController::hasMarkedText):
33426         (WTR::TextInputController::unmarkText):
33427         (WTR::TextInputController::insertText):
33428         * WebKitTestRunner/InjectedBundle/TextInputController.h: Added.
33429         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
33430         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
33431         * WebKitTestRunner/win/InjectedBundle.vcproj:
33432
33433 2011-10-04  Oliver Hunt  <oliver@apple.com>
33434
33435         Add rudimentary filtering to write barriers
33436         https://bugs.webkit.org/show_bug.cgi?id=69392
33437
33438         Reviewed by Filip Pizlo.
33439
33440         When we're recording gc phase times Heap.o picks up
33441         some exit time destructors, so we'll just ignore Heap.o
33442         in this check.
33443
33444         * Scripts/check-for-exit-time-destructors:
33445
33446 2011-10-05  Chang Shu  <cshu@webkit.org>
33447
33448         [WK2] WebKitTestRunner needs LayoutTestController.dumpConfigurationForViewport
33449         https://bugs.webkit.org/show_bug.cgi?id=69365
33450
33451         Reviewed by Darin Adler.
33452
33453         Added js API in WTR LayoutTestController.
33454
33455         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
33456         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
33457         (WTR::LayoutTestController::dumpConfigurationForViewport):
33458         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
33459
33460 2011-10-05  Raphael Kubo da Costa  <kubo@profusion.mobi>
33461
33462         [EFL] ImageDiff: Do not clear the image before it is processed and compared
33463         https://bugs.webkit.org/show_bug.cgi?id=69378
33464
33465         Reviewed by Antonio Gomes.
33466
33467         Commit 61836 to Evas added a few cleanup calls to some
33468         evas_object_image functions which effectively made ImageDiff consider
33469         all images to be equal.
33470
33471         It turns out that now evas_object_image_colorspace_set clears any
33472         data set, so the call to evas_object_image_data_set was not having any
33473         effect.
33474
33475         * DumpRenderTree/efl/ImageDiff.cpp:
33476         (readImageFromStdin): Call evas_object_image_data_set after
33477         evas_object_image_colorspace_set.
33478
33479 2011-10-05  Raphael Kubo da Costa  <kubo@profusion.mobi>
33480
33481         [EFL] Fix Evas_Object_Image reference counts and file descriptor leakage in ImageDiff.
33482         https://bugs.webkit.org/show_bug.cgi?id=68449
33483
33484         Reviewed by Antonio Gomes.
33485
33486         evas_render() must be called to close up temporary files and unmap unused
33487         resources. evas_object_image_data_set() must be called after an
33488         evas_object_image_data_get() to balance an internal reference count.
33489
33490         * DumpRenderTree/efl/ImageDiff.cpp:
33491         (differenceImageFromDifferenceBuffer):
33492         (calculateDifference):
33493         (printImage):
33494         (printImageDifferences):
33495
33496 2011-10-05  Balazs Kelemen  <kbalazs@webkit.org>
33497
33498         [Qt][WK2] Unreviewed build fix.
33499
33500         Don't use WebCore directly in WTR.
33501
33502         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
33503         (WTR::PlatformWebView::addChromeInputField):
33504         (WTR::PlatformWebView::removeChromeInputField):
33505         (WTR::PlatformWebView::makeWebViewFirstResponder):
33506
33507 2011-10-05  David Levin  <levin@chromium.org>
33508
33509         watchlist: Add more rules for chromium public api and sort the file.
33510         https://bugs.webkit.org/show_bug.cgi?id=69323
33511
33512         Reviewed by Adam Barth.
33513
33514         * Scripts/webkitpy/common/config/watchlist:
33515
33516 2011-10-05  David Levin  <levin@chromium.org>
33517
33518         watchlist: Don't add the same message to a bug more than once.
33519         https://bugs.webkit.org/show_bug.cgi?id=69303
33520
33521         Reviewed by Adam Barth.
33522
33523         * Scripts/webkitpy/common/net/bugzilla/bug.py: Added a way to determine
33524         if a message is in the comments already.
33525         * Scripts/webkitpy/common/net/bugzilla/bug_unittest.py: A test for the above.
33526         * Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py:
33527         Pick a bug supplied by the mock. Change the test due to different output
33528         from the mock watch list tool.
33529         * Scripts/webkitpy/tool/mocktool.py: Change the mock watch list to return
33530         another email so it will be filtered out, fix bugs to have the cc and comment fields,
33531         and fix fetch_bug to handle bug_id's which are text (because that took me way too long
33532         to debug).
33533         * Scripts/webkitpy/tool/steps/applywatchlist.py: Change to filter out comments
33534         and/or cc's that are already in the bug.
33535         * Scripts/webkitpy/tool/steps/applywatchlist_unittest.py: Pick a bug supplied by the mock,
33536         and remove a comment that is filtered out.
33537
33538 2011-10-05  Balazs Kelemen  <kbalazs@webkit.org>
33539
33540         [Qt][WK2] Unreviewed build fix after r96643.
33541
33542         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
33543         (WTR::PlatformWebView::addChromeInputField):
33544         (WTR::PlatformWebView::removeChromeInputField):
33545         (WTR::PlatformWebView::makeWebViewFirstResponder):
33546
33547 2011-10-04  Kent Tamura  <tkent@chromium.org>
33548
33549         Introduce feature flags for incomplete input types
33550         https://bugs.webkit.org/show_bug.cgi?id=68971
33551
33552         Reviewed by Hajime Morita.
33553
33554         * Scripts/build-webkit:
33555         Add --input-type-{date,datetime,datetimelocal,month,time,week} flags.
33556         They are disabled by default.
33557
33558 2011-10-04  Adam Barth  <abarth@webkit.org>
33559
33560         garden-o-matic doesn't launch it's UI on Lion
33561         https://bugs.webkit.org/show_bug.cgi?id=69349
33562
33563         Reviewed by Darin Adler.
33564
33565         It turns out that Lion is a bit more picky about file URLs.  This patch
33566         switches us from using a path to using an actual file URL, silencing
33567         the warning and making the tool actually launch on Lion.
33568
33569         * Scripts/webkitpy/tool/servers/gardeningserver.py:
33570
33571 2011-10-04  Daniel Bates  <dbates@rim.com>
33572
33573         Fix Perl undefined variable warning when using run-safari after
33574         <http://trac.webkit.org/changeset/96448> (https://bugs.webkit.org/show_bug.cgi?id=68662)
33575
33576         Rubber-stamped by Alexey Proskuryakov.
33577
33578         * Scripts/webkitdirs.pm:
33579         (runMacWebKitApp): Check that the optional function argument $useOpenCommand
33580         is defined before using it in a comparison operation.
33581
33582 2011-10-04  Scott Graham  <scottmg@chromium.org>
33583
33584         Add GAMEPAD feature flag
33585         https://bugs.webkit.org/show_bug.cgi?id=66859
33586
33587         Reviewed by Darin Fisher.
33588
33589         * Scripts/build-webkit:
33590
33591 2011-10-04  Jon Lee  <jonlee@apple.com>
33592
33593         REGRESSION (WK2): (Shift-)option-tabbing skips over elements when transitioning from chrome to webview
33594         https://bugs.webkit.org/show_bug.cgi?id=68412
33595         <rdar://problem/9988252>
33596
33597         Reviewed by Darin Adler.
33598
33599         In order to create a test for the bug, I had to update DRT and WKTR to create some
33600         widget that allows first responder status to move away from the main web view.
33601
33602         Three methods were added to layoutTestController: addChromeInputField,
33603         removeChromeInputField, and focusWebView. addChromeInputField adds a text field
33604         that is a sibling to the web view, and sets up the key event loop between the two.
33605         removeChromeInputField removes that field. focusWebView moves first responder
33606         status to the web view.
33607
33608         The test makes the call via layoutTestController and passes a callback that it
33609         assumes will be executed once the task is completed. In DRT the callback is called
33610         synchronously. In WKTR this is handled with message passing between the two
33611         processes.
33612
33613         * DumpRenderTree/LayoutTestController.cpp:
33614         (addChromeInputFieldCallback):
33615         (removeChromeInputFieldCallback):
33616         (focusWebViewCallback):
33617         (LayoutTestController::staticFunctions):
33618         * DumpRenderTree/LayoutTestController.h:
33619         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
33620         (LayoutTestController::addChromeInputField):
33621         (LayoutTestController::removeChromeInputField):
33622         (LayoutTestController::focusWebView):
33623         * DumpRenderTree/mac/DumpRenderTree.mm:
33624         (resetWebViewToConsistentStateBeforeTesting): When resetting for the next test,
33625         make sure to remove the chrome input field.
33626         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
33627         (LayoutTestController::addChromeInputField):
33628         (LayoutTestController::removeChromeInputField):
33629         (LayoutTestController::focusWebView):
33630         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
33631         (LayoutTestController::addChromeInputField):
33632         (LayoutTestController::removeChromeInputField):
33633         (LayoutTestController::focusWebView):
33634         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
33635         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
33636         (WTR::InjectedBundle::didReceiveMessage):
33637         (WTR::InjectedBundle::postAddChromeInputField):
33638         (WTR::InjectedBundle::postRemoveChromeInputField):
33639         (WTR::InjectedBundle::postFocusWebView):
33640         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
33641         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
33642         (WTR::callbackMap): Create a hash map that keeps track of the callbacks provided
33643         through JS.
33644         (WTR::cacheLayoutTestControllerCallback):
33645         (WTR::callLayoutTestControllerCallback):
33646         (WTR::LayoutTestController::addChromeInputField):
33647         (WTR::LayoutTestController::removeChromeInputField):
33648         (WTR::LayoutTestController::focusWebView):
33649         (WTR::LayoutTestController::callAddChromeInputFieldCallback):
33650         (WTR::LayoutTestController::callRemoveChromeInputFieldCallback):
33651         (WTR::LayoutTestController::callFocusWebViewCallback):
33652         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
33653         * WebKitTestRunner/PlatformWebView.h:
33654         * WebKitTestRunner/TestController.cpp:
33655         (WTR::TestController::resetStateToConsistentValues):
33656         * WebKitTestRunner/TestInvocation.cpp:
33657         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
33658         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
33659         (WTR::PlatformWebView::addChromeInputField):
33660         (WTR::PlatformWebView::removeChromeInputField):
33661         (WTR::PlatformWebView::makeWebViewFirstResponder):
33662         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
33663         (WTR::PlatformWebView::addChromeInputField):
33664         (WTR::PlatformWebView::removeChromeInputField):
33665         (WTR::PlatformWebView::makeWebViewFirstResponder):
33666         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
33667         (WTR::PlatformWebView::addChromeInputField):
33668         (WTR::PlatformWebView::removeChromeInputField):
33669         (WTR::PlatformWebView::makeWebViewFirstResponder):
33670
33671         * DumpRenderTree/mac/LayoutTestControllerMac.mm: These functions have nothing to do
33672         with the patch-- just cleaning up style.
33673         (LayoutTestController::addDisallowedURL):
33674         (originsArrayToJS):
33675         (LayoutTestController::queueLoad):
33676         (LayoutTestController::setMockDeviceOrientation):
33677         (LayoutTestController::setIconDatabaseEnabled):
33678         (LayoutTestController::setEditingBehavior):
33679
33680 2011-10-04  Simon Fraser  <simon.fraser@apple.com>
33681
33682         Move font-fixup code in WebKitTestRunner to a better place
33683         https://bugs.webkit.org/show_bug.cgi?id=69356
33684
33685         Reviewed by Sam Weinig.
33686         
33687         Move code that swizzles NSFontManager methods to ActivateFonts.mm, which
33688         already contains font-related code.
33689
33690         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
33691         (WTR::InjectedBundle::initialize):
33692         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
33693         (WTR::allowedFontFamilySet):
33694         (WTR::drt_NSFontManager_availableFontFamilies):
33695         (WTR::drt_NSFontManager_availableFonts):
33696         (WTR::swizzleNSFontManagerMethods):
33697         (WTR::activateFonts):
33698         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
33699         (WTR::InjectedBundle::platformInitialize):
33700
33701 2011-10-04  Raphael Kubo da Costa  <kubo@profusion.mobi>
33702
33703         [EFL] DRT: Add DumpRenderTree.cpp
33704         https://bugs.webkit.org/show_bug.cgi?id=62034
33705
33706         Reviewed by Antonio Gomes.
33707
33708         This is the main implementation file for EFL's DumpRenderTree.
33709
33710         * DumpRenderTree/efl/DumpRenderTree.cpp: Added.
33711         (dumpFramesAsText):
33712         (dumpFrameScrollPosition):
33713         (shouldLogFrameLoadDelegates):
33714         (shouldDumpAsText):
33715         (sendPixelResultsEOF):
33716         (invalidateAnyPreviousWaitToDumpWatchdog):
33717         (onEcoreEvasResize):
33718         (onCloseWindow):
33719         (useLongRunningServerMode):
33720         (parseCommandLineOptions):
33721         (getFinalTestURL):
33722         (getExpectedPixelHash):
33723         (createLayoutTestController):
33724         (runTest):
33725         (runTestingServerLoop):
33726         (adjustOutputTypeByMimeType):
33727         (dumpFrameContentsAsText):
33728         (shouldDumpFrameScrollPosition):
33729         (shouldDumpPixelsAndCompareWithExpected):
33730         (shouldDumpBackForwardList):
33731         (initEfl):
33732         (shutdownEfl):
33733         (displayWebView):
33734         (dump):
33735         (initEcoreEvas):
33736         (main):
33737
33738 2011-10-03  Adam Barth  <abarth@webkit.org>
33739
33740         garden-o-matic should remove builders from the failure grid once they start to pass
33741         https://bugs.webkit.org/show_bug.cgi?id=69309
33742
33743         Unreviewed.  dglazkov is on vacation.  I need to interest someone else
33744         in reviewing these patches.
33745
33746         This patch follows the update/purge model from UpdateTracker.  This
33747         patch is less awesome than it could be because it causes the UI to
33748         flash slightly.  In a future patch, we'll want to use these
33749         update/purge notifications to update the UI without flashing.  However,
33750         that's not such a big deal because this UI is hidden in the default
33751         view.
33752
33753         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
33754         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
33755         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
33756         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
33757
33758 2011-10-03  David Levin  <levin@chromium.org>
33759
33760         webkitpy: Expose cc_emails and comments from bug.py
33761         https://bugs.webkit.org/show_bug.cgi?id=69308
33762
33763         Reviewed by Adam Barth.
33764
33765         * Scripts/webkitpy/common/net/bugzilla/bug.py: Expose cc_emails and comments .
33766         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: Add parsing support for comments.
33767         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py: Fix the unit test due
33768         to comments being exposed.
33769
33770 2011-10-03  James Robinson  <jamesr@chromium.org>
33771
33772         Add myself to the watchlist for platform/graphics/chromium
33773         https://bugs.webkit.org/show_bug.cgi?id=69297
33774
33775         Reviewed by David Levin.
33776
33777         * Scripts/webkitpy/common/config/watchlist:
33778
33779 2011-10-03  Anders Carlsson  <andersca@apple.com>
33780
33781         Remove custom scrollbar painting hooks
33782         https://bugs.webkit.org/show_bug.cgi?id=69163
33783
33784         Reviewed by Alexey Proskuryakov.
33785
33786         * DumpRenderTree/chromium/WebPreferences.cpp:
33787         (WebPreferences::applyTo):
33788         No need to enable custom scrollbar painting.
33789
33790 2011-10-03  David Levin  <levin@chromium.org>
33791
33792         watchlist: Make watchlist run on a bot.
33793         https://bugs.webkit.org/show_bug.cgi?id=68974
33794
33795         Reviewed by Adam Barth.
33796
33797         * Scripts/webkitpy/tool/commands/queues.py: Add the watchlist to the style bot.
33798         * Scripts/webkitpy/tool/commands/queues_unittest.py:
33799         Change to log what is run so that we can see the style command
33800         and the watchlist command being run.
33801
33802 2011-10-03  David Levin  <levin@chromium.org>
33803
33804         watchlist: Allow specified a bug to attach the watchlist info to.
33805         https://bugs.webkit.org/show_bug.cgi?id=69288
33806
33807         Reviewed by Eric Seidel.
33808
33809         * Scripts/webkitpy/tool/commands/applywatchlistlocal.py: Add support for bugid.
33810         * Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py:
33811         Add tests and fix an existing test because the unit tests do not go through the
33812         normal command line processing (so the -g argument remained when we determined bug ids).
33813         * Scripts/webkitpy/tool/commands/commandtest.py: Change the derivation to
33814         get the assert raises regex method.
33815         * Scripts/webkitpy/tool/commands/download.py: Fix the command help to be more unixy.
33816
33817 2011-10-03  Leandro Pereira  <leandro@profusion.mobi>
33818
33819         [EFL] DRT: Add JSStringUtils.{cpp,h}
33820         https://bugs.webkit.org/show_bug.cgi?id=66397
33821
33822         Reviewed by Ryosuke Niwa.
33823         
33824         Adds helper functions to compare the equality of C-style strings and
33825         JSStringRef objects.
33826
33827         * DumpRenderTree/efl/JSStringUtils.cpp: Added.
33828         (equals):
33829         * DumpRenderTree/efl/JSStringUtils.h: Added.
33830
33831 2011-10-03  Adam Barth  <abarth@webkit.org>
33832
33833         garden-o-matic should work in Safari 5.1
33834         https://bugs.webkit.org/show_bug.cgi?id=69290
33835
33836         Reviewed by Sam Weinig.
33837
33838         My old implementation of bind was too clever by half.  This one seems
33839         to work better, at least according to this test.
33840
33841         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
33842         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
33843
33844 2011-09-29  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
33845
33846         Unreviewed: change my e-mail in commiters.py
33847
33848         (I'm leaving the company and my @openbossa.org will be no more)
33849
33850         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
33851
33852 2011-10-01  Brent Fulgham  <bfulgham@webkit.org>
33853
33854         Correct post-build step for WinCairo test runs.
33855         https://bugs.webkit.org/show_bug.cgi?id=69191 
33856
33857         Reviewed by Brian Weinstein.
33858
33859         * DumpRenderTree/win/DumpRenderTreePostBuild.cmd: Add additional
33860         shell case to handle the CFLite build.
33861
33862 2011-10-01  Filip Pizlo  <fpizlo@apple.com>
33863
33864         Added myself to reviewers, because I'm now a reviewer.
33865
33866         * Scripts/webkitpy/common/config/committers.py:
33867
33868 2011-10-01  Filip Pizlo  <fpizlo@apple.com>
33869
33870         Bencher script makes it difficult to do automated performance testing
33871         https://bugs.webkit.org/show_bug.cgi?id=69207
33872
33873         Reviewed by Sam Weinig.
33874         
33875         This adds two new features:
33876         
33877         The ability to disable automatic VM detection, which is flaky if any
33878         profiling features are enabled in jsc.
33879         
33880         The ability to compute, and report, a scaled result for all benchmark
33881         suites. It is the geometric mean of three numbers: SunSpider's
33882         arithmetic mean, V8's geometric mean, and Kraken's arithmetic mean.
33883         It is also possible to turn off all other output from bencher and just
33884         get this number with the --brief option.
33885
33886         * Scripts/bencher:
33887
33888 2011-10-01  Sam Weinig  <sam@webkit.org>
33889
33890         WTR is not successfully changing the NSUserDefaults
33891         https://bugs.webkit.org/show_bug.cgi?id=69204
33892
33893         Reviewed by Dan Bernstein.
33894
33895         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
33896         (WTR::InjectedBundle::platformInitialize):
33897         Use -setVolatileDomain:forName:NSArgumentDomain instead of registerDefaults to
33898         get our overrides picked up.
33899
33900 2011-09-30  Daniel Bates  <dbates@rim.com>
33901
33902         Cleanup: Extract code to launch a Mac WebKit application into a common function
33903         https://bugs.webkit.org/show_bug.cgi?id=68662
33904
33905         Reviewed by Adam Roben.
33906
33907         Extracts common code to launch a WebKit application on Mac OS X into a function
33908         so that we can remove duplicate code.
33909
33910         * Scripts/run-webkit-app: Modified to use webkitdirs::runMacWebKitApp().
33911         * Scripts/webkitdirs.pm: Sorted @EXPORT list and added constant USE_OPEN_COMMAND.
33912         (runMacWebKitApp): Added.
33913         (runSafari): Modified to use webkitdirs::runMacWebKitApp().
33914         (runMiniBrowser): Ditto.
33915         (runWebKitTestRunner): Ditto.
33916         (runTestWebKitAPI): Ditto.
33917
33918 2011-09-29  David Levin  <levin@chromium.org>
33919
33920         watchlist: Add webkit-patch command to run watchlist.
33921         https://bugs.webkit.org/show_bug.cgi?id=68973
33922
33923         Reviewed by Eric Seidel.
33924
33925         * Scripts/webkitpy/common/host.py: Exposed the watch_list.
33926         * Scripts/webkitpy/common/watchlist/watchlist.py: Changed to return
33927         the cc and messages as sorted lists. To allow for deterministic ordering.
33928         * Scripts/webkitpy/common/watchlist/watchlist_unittest.py: Ditto.
33929         * Scripts/webkitpy/tool/commands/__init__.py: Add ApplyWatchListLocal so
33930         that it will be exposed as a command by webkit-patch.
33931         * Scripts/webkitpy/tool/commands/applywatchlistlocal.py: Added.
33932         * Scripts/webkitpy/tool/commands/applywatchlistlocal_unittest.py: Added.
33933         * Scripts/webkitpy/tool/commands/download.py: Added ApplyWatchList which mimics CheckStyle.
33934         * Scripts/webkitpy/tool/commands/download_unittest.py: Added an appropriate test.
33935         * Scripts/webkitpy/tool/mocktool.py: Mock out the watch list.
33936         * Scripts/webkitpy/tool/steps/__init__.py: Added ApplyWatchList.
33937         * Scripts/webkitpy/tool/steps/applywatchlist.py: Added.
33938         * Scripts/webkitpy/tool/steps/applywatchlist_unittest.py: Added.
33939
33940 2011-09-30  David Levin  <levin@chromium.org>
33941
33942         watchlist: Add a way to detect a net increase or decrease of a pattern (in a file).
33943         https://bugs.webkit.org/show_bug.cgi?id=69031
33944
33945         Reviewed by Adam Barth.
33946
33947         * Scripts/webkitpy/common/config/watchlist: Added usage of the new pattern,
33948         a comment to explain something important about the email addresses, and
33949         a comment to let emacs know to treat the file as a python file.
33950         * Scripts/webkitpy/common/watchlist/amountchangedpattern.py: Added.
33951         Detects increases or decreases in a pattern.
33952         * Scripts/webkitpy/common/watchlist/amountchangedpattern_unittest.py: Added.
33953         * Scripts/webkitpy/common/watchlist/watchlist_unittest.py:
33954         Added unit tests for watchlist which has "more" or "less".
33955         * Scripts/webkitpy/common/watchlist/watchlistparser.py:
33956         Added support for "more" or "less".
33957
33958 2011-09-30  Sam Weinig  <sam@webkit.org>
33959
33960         Add support for eventSender.mouseScrollBy in WTR
33961         https://bugs.webkit.org/show_bug.cgi?id=69189
33962
33963         Add implementation of eventSender.mouseScrollBy for the mac.
33964
33965         Reviewed by Simon Fraser.
33966
33967         * WebKitTestRunner/EventSenderProxy.h:
33968         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
33969         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
33970         (WTR::EventSendingController::keyDown):
33971         (WTR::EventSendingController::mouseScrollBy):
33972         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
33973         * WebKitTestRunner/TestController.cpp:
33974         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
33975         * WebKitTestRunner/mac/EventSenderProxy.mm:
33976         (WTR::EventSenderProxy::mouseScrollBy):
33977
33978 2011-09-30  Simon Fraser  <simon.fraser@apple.com>
33979
33980         fast/forms/text-control-intrinsic-widths.html fails on Mac if Word/Office fonts are installed
33981         https://bugs.webkit.org/show_bug.cgi?id=35273
33982
33983         Reviewed by Dan Bernstein.
33984         
33985         There are two types of font issue that can cause layout test failure.
33986         First, the user may have non-standard fonts installed that affect the layout
33987         of some tests. For example, some tests use the MS Gothic font if installed.
33988         
33989         Secondly, the user may have duplicate fonts installed in ~/Library/Fonts,
33990         which override the system fonts (e.g. a copy of Arial from MS Office). For
33991         some tests, this can affect font metrics or fallback behavior.
33992         
33993         This change addresses the first problem only. It limits the set of fonts
33994         available through NSFontManager, by swizzling some methods to return
33995         a list of fonts or font families which only include fonts from a hardcoded
33996         whitelist.
33997         
33998         * DumpRenderTree/mac/DumpRenderTree.mm:
33999         (allowedFontFamilySet):
34000         (drt_NSFontManager_availableFontFamilies):
34001         (drt_NSFontManager_availableFonts):
34002         (swizzleNSFontManagerMethods):
34003         (activateTestingFonts):
34004         (adjustFonts):
34005         (createWebViewAndOffscreenWindow):
34006         (prepareConsistentTestingEnvironment):
34007         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
34008         (WTR::allowedFontFamilySet):
34009         (WTR::drt_NSFontManager_availableFontFamilies):
34010         (WTR::drt_NSFontManager_availableFonts):
34011         (WTR::swizzleNSFontManagerMethods):
34012         (WTR::InjectedBundle::platformInitialize):
34013
34014 2011-09-30  David Levin  <levin@chromium.org>
34015
34016         Need to skip webkitpy.common.checkout.baselineoptimizer_unittest.BaselineOptimizerTest on Windows..
34017         https://bugs.webkit.org/show_bug.cgi?id=69039
34018
34019         Reviewed by Adam Barth.
34020
34021         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
34022         Actually skip only one specific test that is failing on Windows.
34023
34024 2011-09-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
34025
34026         [Qt] Prevent qDebug() output from DRT and WTR unless --verbose
34027
34028         For DRT we didn't install the message handler early enough to
34029         catch output while constructing the QApplication. For WTR we
34030         didn't even install a message handler.
34031
34032         Since the UI process will forward any output from the web process
34033         we set an environment variable QT_WEBKIT_SUPPRESS_WEB_PROCESS_OUTPUT
34034         in WTR before the web process is started. This is picked up by the
34035         web process which installs its own message handler.
34036
34037         The environment variable can be overriden on the command line if you
34038         want to see output from the web process, or you can pass --verbose to
34039         WTR to see output from both processes.
34040
34041         https://bugs.webkit.org/show_bug.cgi?id=69132
34042
34043         Reviewed by Andreas Kling.
34044
34045         * DumpRenderTree/qt/main.cpp:
34046         * WebKitTestRunner/qt/main.cpp:
34047
34048 2011-09-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
34049
34050         [Qt] Make sure WTR sizes the window and item correctly
34051
34052         Revision 96345 changed the logic for how the view and
34053         window was created, but missed a vital part, setting
34054         the size.
34055
34056         We now use a QSGView for the window, that has a simple
34057         item as its root object that is always resized to fit
34058         within the window. The webview is then parented to the
34059         root object and set to anchors.fill: parent. That way
34060         any window geometry changes will propagate to the web
34061         view.
34062
34063         https://bugs.webkit.org/show_bug.cgi?id=69134
34064
34065         Reviewed by Andreas Kling.
34066
34067         * WebKitTestRunner/PlatformWebView.h:
34068         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
34069
34070 2011-09-30  Raphael Kubo da Costa  <kubo@profusion.mobi>
34071
34072         [EFL] Only save the current viewport in PixelDumpSupportEfl.
34073         https://bugs.webkit.org/show_bug.cgi?id=68450
34074
34075         Reviewed by Antonio Gomes.
34076
34077         The previous implementation saved the whole page contents in the final
34078         PNG, however the baselines and expectations in the tree only want the
34079         current viewport (with a scrollbar, if needed), so we now only save the
34080         currently visible contents.
34081
34082         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
34083         (createBitmapContextFromWebView): Use
34084         ewk_frame_visible_content_geometry_get instead of
34085         ewk_frame_contents_size_get.
34086
34087 2011-09-30  Raphael Kubo da Costa  <kubo@profusion.mobi>
34088
34089         [EFL] Support and keep track of extra windows (views).
34090         https://bugs.webkit.org/show_bug.cgi?id=68454
34091
34092         Reviewed by Antonio Gomes.
34093
34094         So far, window.open and related JavaScript code would not work, as
34095         DRTView did not implementation
34096         Ewk_View_Smart_Class::window_{open,close}. The default implementation
34097         in ewk just returns the current window/view, which broke any
34098         layouttest which relied on window.open.
34099
34100         We now properly create and remove these new views. Unfortunately, the
34101         current way ewk works (and due to the fact that we cannot pass class
34102         methods as function pointers to the EFL functions), DRTView needs to
34103         know that DRTChrome exists and call `browser' directly in some points.
34104
34105         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
34106         (onWindowCreate):
34107         (onWindowCloseDelayed):
34108         (onWindowClose):
34109         (drtViewTiledAdd):
34110
34111 2011-09-30  Qi Zhang  <qi.2.zhang@nokia.com>
34112
34113         WebKitTestRunner needs layoutTestController.setAppCacheMaximumSize
34114         https://bugs.webkit.org/show_bug.cgi?id=42698
34115
34116         Reviewed by Andreas Kling.
34117
34118         Implemented layoutTestController.setAppCacheMaximumSize and layoutTestController.clearApplicationCache,
34119         and call clearApplicationCache when layoutTest start up.
34120
34121         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
34122         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
34123         (WTR::InjectedBundle::beginTesting):
34124         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
34125         (WTR::LayoutTestController::clearAllApplicationCaches):
34126         (WTR::LayoutTestController::setAppCacheMaximumSize):
34127         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
34128
34129 2011-09-30  Zeno Albisser  <zeno.albisser@nokia.com>
34130
34131         [Qt][WK2] Change WebKitTestRunner to use QMouseEvents instead of QGraphicsSceneMouseEvents
34132         https://bugs.webkit.org/show_bug.cgi?id=69145
34133
34134         This is a follow up to https://bugs.webkit.org/show_bug.cgi?id=69105
34135         Due to refactorings in Qt5, QMouseEvent now supports floating point coordinates
34136         and is perfectly suitable for SceneGraph as well. GraphicsScene events
34137         will not be available in QtGui anymore in future. Therefore we also have to change
34138         QtWebKit to use QMouseEvents instead of QGraphicsSceneMouseEvents.
34139
34140         Reviewed by Chang Shu.
34141
34142         * WebKitTestRunner/EventSenderProxy.h:
34143         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
34144         (WTR::EventSenderProxy::createMouseEvent):
34145         (WTR::EventSenderProxy::mouseDown):
34146         (WTR::EventSenderProxy::mouseUp):
34147         (WTR::EventSenderProxy::mouseMoveTo):
34148
34149 2011-09-30  James Robinson  <jamesr@chromium.org>
34150
34151         [chromium] Add WebKit API for sending input events to the compositor thread
34152         https://bugs.webkit.org/show_bug.cgi?id=69117
34153
34154         Reviewed by Darin Fisher.
34155
34156         Adds support for creating and setting a compositor thread in DRT.
34157
34158         * DumpRenderTree/chromium/WebViewHost.cpp:
34159         (WebViewHost::WebViewHost):
34160         * DumpRenderTree/chromium/WebViewHost.h:
34161
34162 2011-09-29  David Levin  <levin@chromium.org>
34163
34164         watchlist: Add cross-checks for WatchList once it is filled.
34165         https://bugs.webkit.org/show_bug.cgi?id=68975
34166
34167         Reviewed by Eric Seidel.
34168
34169         * Scripts/webkitpy/common/watchlist/watchlist.py: Made the data members public
34170         instead of having trivial getter and setters.
34171         * Scripts/webkitpy/common/watchlist/watchlist_unittest.py: Fix the unit tests to
34172         pass the validation checks.
34173         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Add validation checks
34174         and fix a few style nits.
34175         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Add tests for the
34176         validation checks.
34177         * Scripts/webkitpy/common/watchlist/watchlistrule.py: Make definitions_to_match public.
34178
34179 2011-09-29  Xianzhu Wang  <wangxianzhu@chromium.org>
34180
34181         run-api-tests fails on chromium-win bot
34182         https://bugs.webkit.org/show_bug.cgi?id=69121
34183
34184         On Windows running a perl script needs the interpreter.
34185
34186         Reviewed by Adam Barth.
34187
34188         * Scripts/run-api-tests:
34189         (buildTestTool):
34190
34191 2011-09-29  Adam Barth  <abarth@webkit.org>
34192
34193         Attempt to make this tool work on Windows.
34194
34195         * Scripts/run-api-tests:
34196         (buildTestTool):
34197
34198 2011-09-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
34199
34200         [Qt] Try to fix the minial build
34201
34202         * QtTestBrowser/launcherwindow.cpp:
34203         * QtTestBrowser/webpage.cpp:
34204
34205 2011-09-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
34206
34207         [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
34208
34209         QWidget and friends now live in the QtWidgets library. We update
34210         includes in implementation files and private headers to us the
34211         non-module-prefixed path, and leave the lookup for the include
34212         path. For public headers we have to ifdef the includes as the
34213         user might now have the modules we need in his QT config.
34214
34215         Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
34216         have to update our code and use windowHandle() for setting the
34217         parent relationships.
34218
34219         https://bugs.webkit.org/show_bug.cgi?id=68687
34220
34221         Reviewed by Andreas Kling.
34222
34223         * DumpRenderTree/qt/DumpRenderTree.pro:
34224         * DumpRenderTree/qt/ImageDiff.pro:
34225         * MiniBrowser/qt/BrowserView.cpp:
34226         * MiniBrowser/qt/BrowserView.h:
34227         * MiniBrowser/qt/BrowserWindow.cpp:
34228         * MiniBrowser/qt/BrowserWindow.h:
34229         * MiniBrowser/qt/MiniBrowser.pro:
34230         * MiniBrowser/qt/MiniBrowserApplication.h:
34231         * MiniBrowser/qt/main.cpp:
34232         * QtTestBrowser/QtTestBrowser.pro:
34233         * QtTestBrowser/launcherwindow.cpp:
34234         * QtTestBrowser/launcherwindow.h:
34235         * QtTestBrowser/locationedit.h:
34236         * QtTestBrowser/main.cpp:
34237         * QtTestBrowser/mainwindow.cpp:
34238         * QtTestBrowser/mainwindow.h:
34239         * QtTestBrowser/webinspector.h:
34240         * QtTestBrowser/webpage.cpp:
34241         * QtTestBrowser/webview.cpp:
34242         * WebKitTestRunner/PlatformWebView.h:
34243         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
34244
34245 2011-09-29  Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com>
34246
34247         Initial implementation of WebInspector for WebKit2 GTK port.
34248         https://bugs.webkit.org/show_bug.cgi?id=68235
34249
34250         Reviewed by Martin Robinson.
34251
34252         * MiniBrowser/gtk/BrowserWindow.c:
34253         (browserWindowConstructed): Set the developer extra flags to true to enable inspect element.
34254
34255 2011-09-29  Adam Barth  <abarth@webkit.org>
34256
34257         Unbreak the "update expectatations" button by using the existing
34258         machinery to create the failureInfo objects.
34259
34260         Unbreak the "close" button on the progress dialog by using |this|
34261         instead of the old name of the object.
34262
34263         Teach the controllers unit test not to talk to the actual network.
34264
34265         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
34266         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers_unittests.js:
34267         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
34268
34269 2011-09-29  Hans Wennborg  <hans@chromium.org>
34270
34271         IndexedDB: Use LevelDB also for in-memory databases
34272         https://bugs.webkit.org/show_bug.cgi?id=68903
34273
34274         Reviewed by Steve Block.
34275
34276         Remove the temporary dir that was necessary before LevelDB supported
34277         in-memory databases.
34278
34279         * DumpRenderTree/chromium/TestShell.cpp:
34280         (TestShell::TestShell):
34281         * DumpRenderTree/chromium/TestShell.h:
34282
34283 2011-09-28  Xianzhu Wang  <wangxianzhu@chromium.org>
34284
34285         Run TestWebKitAPI on Chromium buildbots
34286         https://bugs.webkit.org/show_bug.cgi?id=68678
34287
34288         Reviewed by Tony Chang.
34289
34290         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
34291
34292 2011-09-28  Dimitri Glazkov  <dglazkov@chromium.org>
34293
34294         garden-o-matic results should anticipate 0 unexpected failures.
34295         https://bugs.webkit.org/show_bug.cgi?id=69036
34296
34297         Also fixes controllers: UnexpectedFailures test.
34298
34299         Reviewed by Adam Barth.
34300
34301         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js: Tweaked.
34302
34303 2011-09-28  Dirk Pranke  <dpranke@chromium.org>
34304
34305         Modify new-run-webkit-tests to return the percentage difference in image diffs where possible.
34306
34307         https://bugs.webkit.org/show_bug.cgi?id=67253
34308
34309         Reviewed by Eric Seidel.
34310
34311         Nearly all of the work in this was done by Simon Fraser; I'm
34312         just repackaging it and cleaning it up a bit. This change
34313         modifies port.diff_image() to return a tuple of (pass/fail,
34314         %age), adds the value to the FailureImageHashMismatch, and
34315         writes the value into the full_results.json files to be
34316         displayed in the results page.
34317
34318         * Scripts/webkitpy/layout_tests/controllers/manager.py:
34319         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
34320         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
34321         * Scripts/webkitpy/layout_tests/models/test_failures.py:
34322         * Scripts/webkitpy/layout_tests/port/base.py:
34323         * Scripts/webkitpy/layout_tests/port/chromium.py:
34324         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
34325         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
34326         * Scripts/webkitpy/layout_tests/port/test.py:
34327         * Scripts/webkitpy/layout_tests/port/webkit.py:
34328         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
34329
34330 2011-09-25  Kentaro Hara  <haraken@chromium.org>
34331
34332         Unreviewed. Adding myself to committers.py.
34333
34334         * Scripts/webkitpy/common/config/committers.py:
34335
34336 2011-09-28  Adam Barth  <abarth@webkit.org>
34337
34338         garden-o-matic shouldn't depend on test-results.appspot.com
34339         https://bugs.webkit.org/show_bug.cgi?id=69019
34340
34341         Reviewed by Dimitri Glazkov.
34342
34343         This patch moves garden-o-matic from getting full_results.json from
34344         test-results.appspot.com to getting that information directly from the
34345         buildbot.  This patch improve the load time and accuracy of
34346         garden-o-matic because test-results.appspot.com is slow and is dropping
34347         a significant number of writes (see
34348         https://bugs.webkit.org/show_bug.cgi?id=68748).
34349
34350         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/net.js:
34351         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
34352         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
34353
34354 2011-09-28  David Levin  <levin@chromium.org>
34355
34356         watchlist: Add a way to load the watchlist from config.
34357         https://bugs.webkit.org/show_bug.cgi?id=68991
34358
34359         Reviewed by Eric Seidel.
34360
34361         * Scripts/webkitpy/common/config/watchlist: Added.
34362         * Scripts/webkitpy/common/watchlist/watchlistloader.py: Added.
34363         Support for loading the watch list.
34364         * Scripts/webkitpy/common/watchlist/watchlistloader_unittest.py: Added.
34365         Tests for the loading.
34366         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
34367         Adjusted to use the common base class.
34368         * Scripts/webkitpy/common/webkitunittest.py: Added.
34369         Made a common base class for functionality used in more than one.
34370
34371 2011-09-28  David Levin  <levin@chromium.org>
34372
34373         Attempt fix for Leopard python unit test run.
34374
34375         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
34376
34377 2011-09-27  Dimitri Glazkov  <dglazkov@chromium.org>
34378
34379         REGRESSION(r95573): Crash when loading SVG documents in a flattened frame or any SVG document in Chromium/Mac.
34380         https://bugs.webkit.org/show_bug.cgi?id=68938
34381
34382         Made Chromium/Mac DRT better match how Chromium/Mac queries WebKit.
34383
34384         Reviewed by David Hyatt.
34385
34386         * DumpRenderTree/chromium/WebViewHost.cpp:
34387         (WebViewHost::didUpdateLayout): Added width/height queries.
34388         * DumpRenderTree/chromium/WebViewHost.h: Updated defs.
34389
34390 2011-09-28  Mihai Parparita  <mihaip@chromium.org>
34391
34392         Get rebaseline server running again
34393         https://bugs.webkit.org/show_bug.cgi?id=69020
34394
34395         Reviewed by Adam Barth.
34396
34397         Make rebaseline server run again after r90337 (missing format_date_time
34398         import, results_json wasn't outputting anything).
34399
34400         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
34401         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
34402
34403 2011-09-28  David Grogan  <dgrogan@chromium.org>
34404
34405         Move dgrogan from contributor to committer
34406         https://bugs.webkit.org/show_bug.cgi?id=69021
34407
34408         * Scripts/webkitpy/common/config/committers.py:
34409
34410 2011-09-28  Mihai Parparita  <mihaip@chromium.org>
34411
34412         Add Mac Skia GPU bots to builders.py
34413         https://bugs.webkit.org/show_bug.cgi?id=69016
34414
34415         Reviewed by Eric Seidel.
34416
34417         This allows wwebkit-patch rebaseline-expectations to work with Mac Skia
34418         GPU tests.
34419
34420         * Scripts/webkitpy/layout_tests/port/builders.py:
34421         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
34422
34423 2011-09-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
34424
34425         Second try at fixing the GTK+ build.
34426
34427         * GNUmakefile.am:
34428
34429 2011-09-28  Xianzhu Wang  <wangxianzhu@chromium.org>
34430
34431         Let TestWebKitAPI and webkit_unit_tests work for chromium-win
34432         https://bugs.webkit.org/show_bug.cgi?id=68680
34433
34434         Reviewed by Tony Chang.
34435
34436         * Scripts/run-chromium-webkit-unit-tests:
34437         * Scripts/webkitdirs.pm:
34438         (determineBaseProductDir):
34439
34440 2011-09-28  Kaustubh Atrawalkar  <kaustubh@motorola.com>
34441
34442         [Gtk] Implement textInputController.doCommand
34443         https://bugs.webkit.org/show_bug.cgi?id=66496
34444
34445         Reviewed by Martin Robinson.
34446
34447         * DumpRenderTree/gtk/TextInputController.cpp:
34448         (doCommandCallback): Callback function for textInputController.doCommand
34449
34450 2011-09-28  David Levin  <levin@chromium.org>
34451
34452         watchlist: Suggest corrections for typos and improve error message consistency.
34453         https://bugs.webkit.org/show_bug.cgi?id=68976
34454
34455         Reviewed by Adam Barth.
34456
34457         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Add suggestions
34458         for typos and improve consistency of the error messages.
34459         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Add tests
34460         and improve the regex that were already present.
34461
34462 2011-09-28  David Levin  <levin@chromium.org>
34463
34464         watchlist: Add support for matching added or deleted lines.
34465         https://bugs.webkit.org/show_bug.cgi?id=68972
34466
34467         Reviewed by Adam Barth.
34468
34469         * Scripts/webkitpy/common/watchlist/changedlinepattern.py: Added.
34470         * Scripts/webkitpy/common/watchlist/changedlinepattern_unittest.py: Added.
34471         * Scripts/webkitpy/common/watchlist/watchlist.py: Comment fix up and fix input
34472         to the pattern match to only have the diff lines instead of the DiffFile.
34473         * Scripts/webkitpy/common/watchlist/watchlist_unittest.py:
34474         Add tests for the new patterns and combinations of the patterns.
34475         * Scripts/webkitpy/common/watchlist/watchlistparser.py:
34476         Sort imports. Add changeline support.
34477
34478 2011-09-28  Carlos Garcia Campos  <cgarcia@igalia.com>
34479
34480         [GTK] Add WebKitError to GTK+ WebKit2 API
34481         https://bugs.webkit.org/show_bug.cgi?id=68508
34482
34483         Reviewed by Martin Robinson.
34484
34485         * GNUmakefile.am: Add path to webkitgtk derived sources to the
34486         include path.
34487
34488 2011-09-28  Philippe Normand  <pnormand@igalia.com>
34489
34490         [GTK] missing WebKit2 support in run-gtk-tests
34491         https://bugs.webkit.org/show_bug.cgi?id=68992
34492
34493         Rubber-stamped by Andreas Kling.
34494
34495         * Scripts/run-gtk-tests: Get the WebKit2 tests to run from the
34496         webkit2 directory.
34497
34498 2011-09-27  Philippe Normand  <pnormand@igalia.com>
34499
34500         [GTK] build-webkit --no-webkit2 still builds WebKit2
34501         https://bugs.webkit.org/show_bug.cgi?id=68892
34502
34503         Reviewed by Martin Robinson.
34504
34505         Take the --no-webkit2 option in account when building WebKitGTK+.
34506
34507         * Scripts/build-webkit:
34508         * Scripts/webkitdirs.pm:
34509         (buildAutotoolsProject):
34510         (buildGtkProject):
34511
34512 2011-09-28  Ryosuke Niwa  <rniwa@webkit.org>
34513
34514         Make Chromium Win Release (Tests) a core builder
34515         https://bugs.webkit.org/show_bug.cgi?id=68906
34516
34517         Reviewed by Adam Barth.
34518
34519         Add Chromium Win Release (Tests) to the list of core builders.
34520
34521         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
34522         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
34523
34524 2011-09-27  Adam Barth  <abarth@webkit.org>
34525
34526         garden-o-matic should load faster and inform the user what is happening
34527         https://bugs.webkit.org/show_bug.cgi?id=68954
34528
34529         Reviewed by Dimitri Glazkov.
34530
34531         This test disables the expected failures tab.  The web inspector showed
34532         that loading the data for this tab was slowing down the loading time
34533         for the whole app.  We need to find a way to load that data lazily.
34534
34535         This patch also improves the update message to better describe the
34536         progress the app is making analyzing data from the buildbot.
34537
34538         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
34539         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
34540         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
34541
34542 2011-09-27  Adam Barth  <abarth@webkit.org>
34543
34544         garden-o-matic should show the first result when examining results
34545         https://bugs.webkit.org/show_bug.cgi?id=68960
34546
34547         Reviewed by Dimitri Glazkov.
34548
34549         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
34550
34551 2011-09-27  David Levin  <levin@chromium.org>
34552
34553         watchlist: Add support for cc and message rules.
34554         https://bugs.webkit.org/show_bug.cgi?id=68950
34555
34556         Reviewed by Adam Barth.
34557
34558         * Scripts/webkitpy/common/watchlist/watchlist.py: Added support to get
34559         the cc's and messages for a patch.
34560         * Scripts/webkitpy/common/watchlist/watchlist_unittest.py: Tests for the above.
34561         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Parsing support
34562         for the rules.
34563         * Scripts/webkitpy/common/watchlist/watchlistrule.py: Copied from Tools/Scripts/webkitpy/common/watchlist/watchlist.py.
34564         A generic encapsulation of either a message list or a cc list.
34565         * Scripts/webkitpy/common/watchlist/watchlistrule_unittest.py: Copied from Tools/Scripts/webkitpy/common/watchlist/watchlist.py.
34566
34567 2011-09-27  Tom Zakrajsek  <tomz@codeaurora.org>
34568
34569         webkit-patch doesn't like UTF-8 characters in reviewers names
34570         https://bugs.webkit.org/show_bug.cgi?id=63452
34571
34572         Reviewed by Eric Seidel.
34573
34574         * Scripts/webkit-patch:
34575
34576 2011-09-27  Adam Barth  <abarth@webkit.org>
34577
34578         garden-o-matic examine buttons shows both expected and unexpected failures
34579         https://bugs.webkit.org/show_bug.cgi?id=68918
34580
34581         Reviewed by Dimitri Glazkov.
34582
34583         This was a copy/paste error when I refactored this classes to share
34584         more code.
34585
34586         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
34587
34588 2011-09-27  Ryosuke Niwa  <rniwa@webkit.org>
34589
34590         Add Kaustubh Atrawalkar to the list of contributors.
34591
34592         * Scripts/webkitpy/common/config/committers.py:
34593
34594 2011-09-27  Mihai Parparita  <mihaip@chromium.org>
34595
34596         [Chromium] Fixed layout mode tests break subsequent tests
34597         https://bugs.webkit.org/show_bug.cgi?id=68923
34598         
34599         Reviewed by Adam Barth.        
34600
34601         Reset fixed layout mode between tests, so that tests that run after
34602         platform/chromium/fast/repaint/fixed-layout-360x240.html still have the
34603         regular 800x600 non-fixed layout.
34604
34605         * DumpRenderTree/chromium/TestShell.cpp:
34606         (TestShell::resetTestController):
34607
34608 2011-09-27  David Levin  <levin@chromium.org>
34609
34610         watchlist: Add the filename pattern for definitions.
34611         https://bugs.webkit.org/show_bug.cgi?id=68917
34612
34613         Reviewed by Adam Barth.
34614
34615         * Scripts/webkitpy/common/watchlist/filenamepattern.py: Added.
34616         * Scripts/webkitpy/common/watchlist/filenamepattern_unittest.py: Added.
34617         * Scripts/webkitpy/common/watchlist/watchlist.py: Added the filename pattern
34618         for definitions.
34619         * Scripts/webkitpy/common/watchlist/watchlist_unittest.py: Added tests.
34620         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Typo fix.
34621
34622 2011-09-27  Adam Barth  <abarth@webkit.org>
34623
34624         garden-o-matic results view should sort test and builder names
34625         https://bugs.webkit.org/show_bug.cgi?id=68488
34626
34627         Reviewed by Andy Estes.
34628
34629         Previously, the test and builder names were displayed in an arbitrary
34630         order that changed from time to time.  That confused one user study
34631         participant.  This patch sorts the lists so that they occur in a
34632         predictable order.
34633
34634         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
34635
34636 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
34637
34638         Unreviewed, rolling out r96108, r96111, r96113, and r96116.
34639         http://trac.webkit.org/changeset/96108
34640         http://trac.webkit.org/changeset/96111
34641         http://trac.webkit.org/changeset/96113
34642         http://trac.webkit.org/changeset/96116
34643         https://bugs.webkit.org/show_bug.cgi?id=68913
34644
34645         Wait for working Qt5 (Requested by ossy on #webkit).
34646
34647         * DumpRenderTree/qt/DumpRenderTree.pro:
34648         * DumpRenderTree/qt/ImageDiff.pro:
34649         * MiniBrowser/qt/BrowserView.cpp:
34650         (BrowserView::BrowserView):
34651         * MiniBrowser/qt/BrowserView.h:
34652         * MiniBrowser/qt/BrowserWindow.cpp:
34653         (BrowserWindow::BrowserWindow):
34654         (BrowserWindow::urlChanged):
34655         (BrowserWindow::~BrowserWindow):
34656         * MiniBrowser/qt/BrowserWindow.h:
34657         * MiniBrowser/qt/MiniBrowser.pro:
34658         * MiniBrowser/qt/MiniBrowserApplication.h:
34659         * MiniBrowser/qt/main.cpp:
34660         * QtTestBrowser/QtTestBrowser.pro:
34661         * QtTestBrowser/launcherwindow.cpp:
34662         * QtTestBrowser/launcherwindow.h:
34663         * QtTestBrowser/locationedit.h:
34664         * QtTestBrowser/main.cpp:
34665         * QtTestBrowser/mainwindow.cpp:
34666         * QtTestBrowser/mainwindow.h:
34667         * QtTestBrowser/webinspector.h:
34668         * QtTestBrowser/webpage.cpp:
34669         * QtTestBrowser/webview.cpp:
34670         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
34671         * WebKitTestRunner/PlatformWebView.h:
34672         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
34673         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
34674         (WTR::WebView::wkView):
34675         (WTR::WebView::pageRef):
34676         (WTR::WebView::~WebView):
34677         (WTR::WebView::WebView):
34678         (WTR::PlatformWebView::PlatformWebView):
34679         (WTR::PlatformWebView::sendEvent):
34680         (WTR::PlatformWebView::postEvent):
34681         * WebKitTestRunner/qt/WebKitTestRunner.pro:
34682
34683 2011-09-27  Carlos Garcia Campos  <cgarcia@igalia.com>
34684
34685         [GTK] Rename WebKit2 GTK+ API main header as webkit2.h
34686         https://bugs.webkit.org/show_bug.cgi?id=65178
34687
34688         Reviewed by Martin Robinson.
34689
34690         * GNUmakefile.am:
34691         * GtkLauncher/main.c: Include <webkit2/webkit2.h>.
34692
34693 2011-09-27  Csaba Osztrogonác  <ossy@webkit.org>
34694
34695         [Qt][WK2] Buildfix after r96108.
34696
34697         Rubber-stamped by Andreas Kling.
34698
34699         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
34700         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
34701         * WebKitTestRunner/qt/WebKitTestRunner.pro:
34702
34703 2011-09-27  David Levin  <levin@chromium.org>
34704
34705         watchlist: Change watchlistparser.py to be class based.
34706         https://bugs.webkit.org/show_bug.cgi?id=68869
34707
34708         Reviewed by Eric Seidel.
34709
34710         * Scripts/webkitpy/common/watchlist/watchlistparser.py:
34711         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
34712
34713 2011-09-27  David Levin  <levin@chromium.org>
34714
34715         watchlist: Break out the diff boilerplate to allow for re-use.
34716         https://bugs.webkit.org/show_bug.cgi?id=68871
34717
34718         Reviewed by Eric Seidel.
34719
34720         * Scripts/webkitpy/common/checkout/diff_parser_unittest.py:
34721         Break out the diff into a new file.
34722         * Scripts/webkitpy/common/checkout/diff_test_data.py: Added.
34723
34724 2011-09-27  Ilya Tikhonovsky  <loislo@chromium.org>
34725
34726         Web Inspector: UI performance: introduce heap size tracking stats.
34727         https://bugs.webkit.org/show_bug.cgi?id=68901
34728
34729         It is interesting how much the heap memory is used by Inspector in order of running the test.
34730
34731         Reviewed by Yury Semikhatsky.
34732
34733         * DumpRenderTree/chromium/TestShell.cpp:
34734         (TestShell::showDevTools):
34735         (TestShell::closeDevTools):
34736
34737 2011-09-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
34738
34739         [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
34740
34741         QWidget and friends now live in the QtWidgets library. We update
34742         includes in implementation files and private headers to us the
34743         non-module-prefixed path, and leave the lookup for the include
34744         path. For public headers we have to ifdef the includes as the
34745         user might now have the modules we need in his QT config.
34746
34747         Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
34748         have to update our code and use windowHandle() for setting the
34749         parent relationships.
34750
34751         https://bugs.webkit.org/show_bug.cgi?id=68687
34752
34753         Reviewed by Andreas Kling.
34754
34755         * DumpRenderTree/qt/DumpRenderTree.pro:
34756         * DumpRenderTree/qt/ImageDiff.pro:
34757         * MiniBrowser/qt/BrowserView.cpp:
34758         * MiniBrowser/qt/BrowserView.h:
34759         * MiniBrowser/qt/BrowserWindow.cpp:
34760         * MiniBrowser/qt/BrowserWindow.h:
34761         * MiniBrowser/qt/MiniBrowser.pro:
34762         * MiniBrowser/qt/MiniBrowserApplication.h:
34763         * MiniBrowser/qt/main.cpp:
34764         * QtTestBrowser/QtTestBrowser.pro:
34765         * QtTestBrowser/launcherwindow.cpp:
34766         * QtTestBrowser/launcherwindow.h:
34767         * QtTestBrowser/locationedit.h:
34768         * QtTestBrowser/main.cpp:
34769         * QtTestBrowser/mainwindow.cpp:
34770         * QtTestBrowser/mainwindow.h:
34771         * QtTestBrowser/webinspector.h:
34772         * QtTestBrowser/webpage.cpp:
34773         * QtTestBrowser/webview.cpp:
34774         * WebKitTestRunner/PlatformWebView.h:
34775         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
34776
34777 2011-09-26  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
34778
34779         [Qt][WK2] Add support for hover API in Qt WebKit2
34780         https://bugs.webkit.org/show_bug.cgi?id=68369
34781
34782         Reviewed by Andreas Kling.
34783
34784         Change the statusbar to show the link URL when hovering links in
34785         MiniBrowser using QDesktopWebView.
34786
34787         * MiniBrowser/qt/BrowserWindow.cpp:
34788         (BrowserWindow::BrowserWindow):
34789         (BrowserWindow::onLinkHovered):
34790         * MiniBrowser/qt/BrowserWindow.h:
34791
34792 2011-09-26  Dimitri Glazkov  <dglazkov@chromium.org>
34793
34794         garden-o-matic's commit data on summary page should not crowd itself or twitch when hovered over.
34795         https://bugs.webkit.org/show_bug.cgi?id=68864
34796
34797         Reviewed by Adam Barth.
34798
34799         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary-mock.js: Updated mocks to work.
34800         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Changed the structure of commit data to keep commit revision apart from the rest of details.
34801         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Adjusted unit tests.
34802         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css: Made things look shiny.
34803
34804 2011-09-26  Csaba Osztrogonác  <ossy@webkit.org>
34805
34806         [Qt][WK2] One more unreviewed buildfix after r96005.
34807
34808         * WebKitTestRunner/qt/TestInvocationQt.cpp: Missing include added.
34809
34810 2011-09-26  Csaba Osztrogonác  <ossy@webkit.org>
34811
34812         [Qt][WK2] Unreviewed buildfix after r96005.
34813
34814         * WebKitTestRunner/qt/TestInvocationQt.cpp:
34815         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
34816
34817 2011-09-26  Dimitri Glazkov  <dglazkov@chromium.org>
34818
34819         garden-o-matic should be pretty in Open Sans.
34820         https://bugs.webkit.org/show_bug.cgi?id=68845
34821
34822         Reviewed by Adam Barth.
34823
34824         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css: Tweaked to bring back teh fonts.
34825
34826 2011-09-26  Dimitri Glazkov  <dglazkov@chromium.org>
34827
34828         garden-o-matic should not say "Just now" when it doesn't actually know when an event happened.
34829         https://bugs.webkit.org/show_bug.cgi?id=68841
34830
34831         Reviewed by Adam Barth.
34832
34833         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js: Changed ui.RelativeTime to not initialize with current time.
34834         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Adjusted unit tests.
34835         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js: Ditto.
34836
34837 2011-09-26  David Levin  <levin@chromium.org>
34838
34839         watchlist: Add parsing for definition section.
34840         https://bugs.webkit.org/show_bug.cgi?id=68850
34841
34842         Reviewed by Adam Barth.
34843
34844         * Scripts/webkitpy/common/watchlist/watchlist.py:
34845         * Scripts/webkitpy/common/watchlist/watchlistparser.py:
34846         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
34847
34848 2011-09-26  Simon Fraser  <simon.fraser@apple.com>
34849
34850         Fix WebKitTestRunner builds for Cairo, Windows and Qt.
34851
34852         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
34853         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
34854         * WebKitTestRunner/win/TestInvocationWin.cpp:
34855         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
34856
34857 2011-09-26  Simon Fraser  <simon.fraser@apple.com>
34858
34859         Repaint tests don't work in WebKit2
34860         https://bugs.webkit.org/show_bug.cgi?id=68453
34861
34862         Reviewed by Sam Weinig.
34863         
34864         Convert DumpRenderTree to use use the repaint rects
34865         exposed via WebKit API when generating the repaint test
34866         overlay.
34867         
34868         Fix WebKitTestRunner to work with repaint tests, again
34869         using the repaint rects exposed from WK2.
34870         
34871         In both cases, layoutTestController.display() now just
34872         forces a display of the web view, and turns on repaint
34873         rect tracking on the main FrameView.
34874         
34875         Later, when pixel results are requested, the alpha overlay
34876         that shows the repaint rects is generated using the list
34877         of rects supplied by WebCore.
34878
34879         * DumpRenderTree/mac/DumpRenderTree.mm:
34880         (resetDefaultsToConsistentValues):
34881         (resetWebViewToConsistentStateBeforeTesting):
34882         (displayWebView):
34883         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
34884         (paintRepaintRectOverlay):
34885         (createBitmapContextFromWebView):
34886         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
34887         (WTR::InjectedBundle::beginTesting):
34888         (WTR::InjectedBundle::done):
34889         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
34890         (WTR::InjectedBundle::setRepaintRects):
34891         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
34892         (WTR::InjectedBundlePage::reset):
34893         (WTR::InjectedBundlePage::dump):
34894         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
34895         (WTR::LayoutTestController::display):
34896         * WebKitTestRunner/TestInvocation.cpp:
34897         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
34898         * WebKitTestRunner/TestInvocation.h:
34899         * WebKitTestRunner/cg/TestInvocationCG.cpp:
34900         (WTR::paintRepaintRectOverlay):
34901         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
34902
34903 2011-09-26  Nayan Kumar K  <nayankk@motorola.com>
34904
34905         Get hover'ed element URL from HitTest.
34906
34907         mouseDidMoveOverElement now gets the hover'ed element link using
34908         WKHitTestResult API's.
34909         https://bugs.webkit.org/show_bug.cgi?id=68426 
34910
34911         Reviewed by Anders Carlsson.
34912
34913         * MiniBrowser/gtk/BrowserWindow.c:
34914         (mouseDidMoveOverElement):
34915
34916 2011-09-26  David Levin  <levin@chromium.org>
34917
34918         Add skeleton parsing for a WatchList.
34919         https://bugs.webkit.org/show_bug.cgi?id=68823
34920
34921         Reviewed by Adam Barth.
34922
34923         * Scripts/webkitpy/common/watchlist/watchlistparser.py: Added.
34924         Parses the top level watch list sections -- none are defined yet -- and
34925         throws an exception if an invalid one is listed.
34926         * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py: Added.
34927         Verify the exception for an invalid section in a watch list.
34928         * Scripts/webkitpy/common/watchlist/watchlist.py: Added.
34929
34930 2011-09-26  Adam Roben  <aroben@apple.com>
34931
34932         Clean up code imported from WebKitAPITest
34933
34934         Fixes <http://webkit.org/b/68799> WebViewDestruction tests and related code don't match
34935         TestWebKitAPI conventions
34936
34937         Reviewed by David Levin.
34938
34939         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Changed tests to use gtest macros
34940         and to share functionality via test fixtures. Prefixed Win32 API calls with ::. Updated
34941         namespace name.
34942
34943         (TestWebKitAPI::WebViewDestruction::SetUp):
34944         (TestWebKitAPI::WebViewDestruction::webViewCount):
34945         (TestWebKitAPI::WebViewDestructionWithHostWindow::SetUp):
34946         (TestWebKitAPI::WebViewDestruction::runMessagePump):
34947         (TestWebKitAPI::WebViewDestruction::TearDown):
34948         (TestWebKitAPI::WebViewDestructionWithHostWindow::TearDown):
34949         Moved functionality from free functions into these new test fixtures.
34950
34951         * TestWebKitAPI/win/HostWindow.cpp:
34952         * TestWebKitAPI/win/HostWindow.h:
34953         Prefixed Win32 API calls with ::. Updated namespace name.
34954
34955 2011-09-23  Adam Roben  <aroben@apple.com>
34956
34957         Merge WebKitAPITest into TestWebKitAPI
34958
34959         This also means that our formerly-WebKitAPITest tests will be run on the bots!
34960
34961         I made the minimal changes necessary to get the tests to run in TestWebKitAPI. I'll make
34962         them more idiomatic in a separate pass.
34963
34964         Fixes <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate
34965         functionality (and names!)
34966
34967         Reviewed by Anders Carlsson.
34968
34969         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Renamed from Tools/WebKitAPITest/tests/WebViewDestruction.cpp.
34970         * TestWebKitAPI/win/HostWindow.cpp: Renamed from Tools/WebKitAPITest/HostWindow.cpp.
34971         * TestWebKitAPI/win/HostWindow.h: Renamed from Tools/WebKitAPITest/HostWindow.h.
34972
34973         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added new files.
34974
34975         * TestWebKitAPI/win/main.cpp:
34976         (main): Added a call to ::OleInitialize to make WebKit1 work. This came from WebKitAPITest.
34977
34978         * WebKitAPITest: Removed this directory and its contents.
34979
34980 2011-09-23  Adam Roben  <aroben@apple.com>
34981
34982         Remove two failing WebKitAPITest tests
34983
34984         The failures are covered by <http://webkit.org/b/33162> and <http://webkit.org/b/32868>.
34985
34986         Reviewed by Anders Carlsson.
34987
34988         * WebKitAPITest/tests/WebViewDestruction.cpp: Removed the NoCloseOrDestroyViewWindow and
34989         MainFrameAfterClose tests.
34990
34991 2011-09-25  Adam Barth  <abarth@webkit.org>
34992
34993         Finish removing PLATFORM(BREWMP) by removing associated code
34994         https://bugs.webkit.org/show_bug.cgi?id=68779
34995
34996         Reviewed by Sam Weinig.
34997
34998         * Scripts/webkitpy/common/config/build.py:
34999         * waf/build/settings.py:
35000
35001 2011-09-21  Ai Makabi  <makabi@google.com>
35002
35003         Provides a simple LRU cache class in Python.
35004
35005         https://bugs.webkit.org/show_bug.cgi?id=67823
35006
35007         Reviewed by Tony Chang.
35008
35009         * Scripts/webkitpy/common/lru_cache.py:
35010         * Scripts/webkitpy/common/lru_cache_unittest.py:
35011
35012 2011-09-25  Adam Barth  <abarth@webkit.org>
35013
35014         Remove PLATFORM(HAIKU) and associated code
35015         https://bugs.webkit.org/show_bug.cgi?id=68774
35016
35017         Reviewed by Sam Weinig.
35018
35019         * Scripts/webkitpy/common/config/build.py:
35020         * waf/build/settings.py:
35021
35022 2011-09-24  Adam Barth  <abarth@webkit.org>
35023
35024         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
35025         https://bugs.webkit.org/show_bug.cgi?id=68767
35026
35027         Reviewed by Eric Seidel.
35028
35029         * Scripts/build-webkit:
35030
35031 2011-09-24  Adam Barth  <abarth@webkit.org>
35032
35033         Remove ENABLE(WCSS) and associated code
35034         https://bugs.webkit.org/show_bug.cgi?id=68759
35035
35036         Reviewed by Darin Adler.
35037
35038         * Scripts/build-webkit:
35039         * Scripts/old-run-webkit-tests:
35040         * Scripts/webkitperl/features.pm:
35041         (hasFeature):
35042         * Scripts/webkitpy/layout_tests/port/webkit.py:
35043         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
35044
35045 2011-09-24  Alejandro G. Castro  <alex@igalia.com>
35046
35047         Fixed GTK compilation after r95878, the operator== was defined
35048         twice when USE_WEBPROCESS_EVENT_SIMULATION is defined.
35049
35050         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
35051
35052 2011-09-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
35053
35054         [DRT] Include the right config file for EFL's DRT.
35055         https://bugs.webkit.org/show_bug.cgi?id=67042
35056
35057         Reviewed by Martin Robinson.
35058
35059         Ports which use CMake as their buildsystem (such as the EFL one) also
35060         have config.h files, but they are named differently, so include the
35061         right one depending on the buildsystem being used.
35062
35063         * DumpRenderTree/config.h:
35064
35065 2011-09-23  Adam Klein  <adamk@chromium.org>
35066
35067         Add ENABLE_MUTATION_OBSERVERS feature flag
35068         https://bugs.webkit.org/show_bug.cgi?id=68732
35069
35070         Reviewed by Ojan Vafai.
35071
35072         This flag will guard an implementation of the "Mutation Observers" proposed in
35073         http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html
35074
35075         * Scripts/build-webkit:
35076
35077 2011-09-23  Chang Shu  <cshu@webkit.org>
35078
35079         [WK2] [Qt] Implement MouseDown/MouseUp/MouseMoveTo functions for WebKit2 EventSender
35080         https://bugs.webkit.org/show_bug.cgi?id=68556
35081
35082         Implement the MouseDown/MouseUp/MouseMoveTo functions on Qt platform.
35083
35084         Reviewed by Darin Adler.
35085
35086         * WebKitTestRunner/EventSenderProxy.h:
35087         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
35088         * WebKitTestRunner/PlatformWebView.h:
35089         * WebKitTestRunner/mac/EventSenderProxy.mm:
35090         (WTR::EventSenderProxy::EventSenderProxy):
35091         (WTR::EventSenderProxy::leapForward):
35092         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
35093         (WTR::EventSenderProxy::EventSenderProxy):
35094         (WTR::getMouseButton):
35095         (WTR::getModifiers):
35096         (WTR::EventSenderProxy::updateClickCountForButton):
35097         (WTR::EventSenderProxy::createGraphicsSceneMouseEvent):
35098         (WTR::EventSenderProxy::mouseDown):
35099         (WTR::EventSenderProxy::mouseUp):
35100         (WTR::EventSenderProxy::mouseMoveTo):
35101         (WTR::EventSenderProxy::leapForward):
35102         (WTR::EventSenderProxy::sendOrQueueEvent):
35103         (WTR::EventSenderProxy::replaySavedEvents):
35104         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
35105         (WTR::PlatformWebView::postEvent):
35106         * WebKitTestRunner/qt/WebKitTestRunner.pro:
35107
35108 2011-09-23  Lei Zhang  <thestig@chromium.org>
35109
35110         [chromium] Make the layout test script's kill timeout proportional to --time-out-ms
35111         https://bugs.webkit.org/show_bug.cgi?id=68026
35112
35113         Reviewed by Dirk Pranke.
35114
35115         * Scripts/webkitpy/layout_tests/port/chromium.py:
35116
35117 2011-09-23  Elliot Poger  <epoger@google.com>
35118
35119         update layout_tests to account for new default of use_skia=1
35120         https://bugs.webkit.org/show_bug.cgi?id=68698
35121
35122         Rolls Source/WebKit/chromium/DEPS to pick up new default use_skia=1
35123         from http://src.chromium.org/viewvc/chrome?view=rev&revision=102532
35124         (Chromium-on-Mac now uses the Skia graphics library instead of
35125         Core Graphics).
35126
35127         Also updates layout_test code to work with that change.
35128
35129         Reviewed by Mihai Parparita.
35130
35131         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
35132         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
35133
35134 2011-09-23  Mark Rowe  <mrowe@apple.com>
35135
35136         Fix the build.
35137         
35138         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp: Define operator<<(std::ostream&, const WTF::String&) inside
35139         the WTF namespace.
35140
35141 2011-09-22  Dirk Pranke  <dpranke@chromium.org>
35142
35143         enable NRWT for run-webkit-tests on Lion
35144         https://bugs.webkit.org/show_bug.cgi?id=68673
35145
35146         Reviewed by Eric Seidel.
35147
35148         * Scripts/run-webkit-tests:
35149         (useNewRunWebKitTests):
35150
35151 2011-09-22  Xianzhu Wang  <wangxianzhu@chromium.org>
35152
35153         Add unit test for existing StringBuilder
35154         https://bugs.webkit.org/show_bug.cgi?id=67080
35155
35156         Reviewed by Darin Adler.
35157
35158         * TestWebKitAPI/TestWebKitAPI.gypi:
35159         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
35160         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp: Added.
35161         (operator<<):
35162         (TestWebKitAPI::expectBuilderContent):
35163         (TestWebKitAPI::expectEmpty):
35164         (TestWebKitAPI::TEST):
35165
35166 2011-09-22  Raphael Kubo da Costa  <kubo@profusion.mobi>
35167
35168         [EFL] Use ewk_view to navigate in history instead of ewk_history.
35169         https://bugs.webkit.org/show_bug.cgi?id=68455
35170
35171         Reviewed by Antonio Gomes.
35172
35173         BackForwardItem::invoke() was using ewk_history functions to navigate
35174         in history; however, this will only call WebCore::BackForwardListImpl
35175         and not move between pages at all. We now call ewk_view_navigate and
35176         its siblings to make sure the navigation actually happens.
35177
35178         This should make tests like fast/dom/navigation-type-back-forward.html
35179         stop timing out.
35180
35181         * DumpRenderTree/efl/WorkQueueItemEfl.cpp:
35182         (BackForwardItem::invoke):
35183
35184 2011-09-22  Dean Jackson  <dino@apple.com>
35185
35186         Add ENABLE_CSS_FILTERS
35187         https://bugs.webkit.org/show_bug.cgi?id=68652
35188
35189         Reviewed by Simon Fraser.
35190
35191         * Scripts/build-webkit:
35192
35193 2011-09-22  Anders Carlsson  <andersca@apple.com>
35194
35195         EventSenderProxy::mouseUp should call -[WKView mouseUp:] instead of -[WKView mouseDown:]
35196         https://bugs.webkit.org/show_bug.cgi?id=68660
35197
35198         Reviewed by Adam Barth.
35199
35200         * WebKitTestRunner/mac/EventSenderProxy.mm:
35201         (WTR::EventSenderProxy::mouseUp):
35202
35203 2011-09-22  Adam Roben  <aroben@apple.com>
35204
35205         Remove FindSafari
35206
35207         It isn't used or built anymore.
35208
35209         Fixes <http://webkit.org/b/68628>
35210
35211         Reviewed by Darin Adler.
35212
35213         * FindSafari: Removed this directory and its contents.
35214
35215 2011-09-22  Adam Roben  <aroben@apple.com>
35216
35217         Remove FindSafari from all our .sln files
35218
35219         It isn't used anymore, so there's no point in building it.
35220
35221         Part of <http://webkit.org/b/68628> Remove FindSafari
35222
35223         Reviewed by Steve Falkenburg.
35224
35225         * DumpRenderTree/DumpRenderTree.sln:
35226         * WebKitTestRunner/WebKitTestRunner.sln:
35227
35228 2011-09-22  Adam Roben  <aroben@apple.com>
35229
35230         Remove all uses of FindSafari
35231
35232         It isn't really needed anymore.
35233
35234         Fixes <http://webkit.org/b/68626>.
35235
35236         Reviewed by Darin Adler.
35237
35238         * Scripts/old-run-webkit-tests: Moved read/writeRegistryString from here to webkitdirs.pm.
35239
35240         * Scripts/run-webkit-nightly.cmd: Removed. This used to be used to launch nightly builds of
35241         WebKit, but now we use WebKit.exe for that.
35242
35243         * Scripts/webkitdirs.pm:
35244         (installedSafariPath): Changed to use readRegistryString instead of invoking FindSafari to
35245         do the same thing.
35246
35247         (readRegistryString):
35248         (writeRegistryString):
35249         Moved here from old-run-webkit-tests.
35250
35251 2011-09-22  Adam Roben  <aroben@apple.com>
35252
35253         Use the "direct object" form of system() to run WebKit.exe
35254
35255         This prevents the shell from parsing (and possibly splitting, if it contains spaces) the
35256         path to WebKit.exe.
35257
35258         Fixes <http://webkit.org/b/68623> run-safari doesn't work if there are spaces in the path to
35259         %WEBKITOUTPUTDIR%
35260
35261         Reviewed by Steve Falkenburg.
35262
35263         * Scripts/webkitdirs.pm:
35264         (runSafari):
35265
35266 2011-09-22  Adam Roben  <aroben@apple.com>
35267
35268         Quote the WEBKITLIBRARIESDIR path before passing it to the shell/cygpath
35269
35270         Fixes <http://webkit.org/b/68621> build-webkit goes totally haywire on Windows if there are
35271         spaces in the path to the WebKit source tree
35272
35273         Reviewed by John Sullivan.
35274
35275         * Scripts/webkitdirs.pm:
35276         (setupCygwinEnv):
35277
35278 2011-09-22  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
35279
35280         [Qt] Use same DPI for application font as rest of app in DRT and WTR
35281
35282         QApplication will initialize the default application font based
35283         on the application DPI at construction time, but we then override
35284         the application DPI using QX11Info (hard-coding it to 96 for
35285         consistency). This hard-coding is not reflected in the application
35286         font, so we explicitly have update the font ourselves.
35287
35288         The 6 test results that are updated were originally produced with
35289         a DPI of 75, as this is the default fallback DPI when a QFont is
35290         constructed before QApplication. This was wrong, and the results
35291         are updated to match a DPI of 96.
35292
35293         Reviewed by Csaba Osztrogonác.
35294
35295         * DumpRenderTree/qt/main.cpp:
35296         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
35297
35298 2011-09-21  Anna Cavender  <annacc@chromium.org>
35299
35300         Update committers.py with a new contributor contact        
35301         https://bugs.webkit.org/show_bug.cgi?id=68565
35302
35303         Reviewed by Eric Carlson.
35304
35305         * Scripts/webkitpy/common/config/committers.py:
35306
35307 2011-09-21  Chang Shu  <cshu@webkit.org>
35308
35309         [WK2] [Mac] Implement a more-complete MouseDown/MouseUp/MouseMoveTo functions for WebKit2 EventSender
35310         https://bugs.webkit.org/show_bug.cgi?id=68108
35311
35312         This patch implements the event sender mouse events through WebKit2 UIProcess which is
35313         closer to the real simulation than a WebProcess-only approach. The patch only supports Mac
35314         platform as the first step so the existing code is still kept for other platforms.
35315
35316         Reviewed by Darin Adler.
35317
35318         * WebKitTestRunner/EventSenderProxy.h:
35319         (WTR::EventSenderProxy::EventSenderProxy):
35320         (WTR::EventSenderProxy::leapForward):
35321         (WTR::EventSenderProxy::currentEventTime):
35322         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
35323         (WTR::EventSendingController::EventSendingController):
35324         (WTR::EventSendingController::mouseDown):
35325         (WTR::EventSendingController::mouseUp):
35326         (WTR::EventSendingController::mouseMoveTo):
35327         (WTR::EventSendingController::leapForward):
35328         (WTR::EventSendingController::keyDown):
35329         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
35330         * WebKitTestRunner/TestController.cpp:
35331         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
35332         * WebKitTestRunner/mac/EventSenderProxy.mm:
35333         (WTR::eventTypeForMouseButtonAndAction):
35334         (WTR::operator==):
35335         (WTR::EventSenderProxy::updateClickCountForButton):
35336         (WTR::EventSenderProxy::mouseDown):
35337         (WTR::EventSenderProxy::mouseUp):
35338         (WTR::EventSenderProxy::mouseMoveTo):
35339         (WTR::EventSenderProxy::keyDown):
35340         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
35341         (WTR::EventSenderProxy::keyDown):
35342         (WTR::EventSenderProxy::mouseDown):
35343         (WTR::EventSenderProxy::mouseUp):
35344         (WTR::EventSenderProxy::mouseMoveTo):
35345
35346 2011-09-21  Dan Bernstein  <mitz@apple.com>
35347
35348         Tools part of: Prevent the WebKit frameworks from defining inappropriately-named Objective-C classes
35349         https://bugs.webkit.org/show_bug.cgi?id=68451
35350
35351         Reviewed by Darin Adler.
35352
35353         * Scripts/check-for-inappropriate-objc-class-names: Added. Checks for
35354         Objective-C classes with names not having one of a list of prefixes
35355         passed on the command line.
35356
35357 2011-09-21  Xianzhu Wang  <wangxianzhu@chromium.org>
35358
35359         Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
35360         https://bugs.webkit.org/show_bug.cgi?id=68206
35361
35362         Reviewed by Tony Chang.
35363
35364         * Scripts/webkitdirs.pm:
35365         (determineBaseProductDir): add support for chromium-mac
35366         * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
35367         * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp:
35368
35369 2011-09-21  Adam Barth  <abarth@webkit.org>
35370
35371         garden-o-matic command should explain that it is starting a local server
35372         https://bugs.webkit.org/show_bug.cgi?id=68486
35373
35374         Reviewed by Dimitri Glazkov.
35375
35376         In the user study, both participants didn't understand why the
35377         garden-o-matic command appeared to hang.  This patch adds an
35378         explaination of what's going on.  It also adds a confirmation prompt
35379         before launching the browser to give the user a chance to read the
35380         text.  If that's too much of a speed bump, we can iterate.
35381
35382         * Scripts/webkitpy/tool/commands/gardenomatic.py:
35383
35384 2011-09-21  Chang Shu  <cshu@webkit.org>
35385
35386         [Qt] Implement KeyDown function for WebKit2 EventSender.
35387         https://bugs.webkit.org/show_bug.cgi?id=56485
35388
35389         Implement the KeyDown function on Qt platform.
35390
35391         Reviewed by Andreas Kling.
35392
35393         * WebKitTestRunner/PlatformWebView.h:
35394         * WebKitTestRunner/TestController.cpp:
35395         (WTR::TestController::TestController):
35396         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
35397         * WebKitTestRunner/qt/EventSenderProxyQt.cpp: Added.
35398         (WTR::getModifiers):
35399         (WTR::EventSenderProxy::keyDown):
35400         (buildModifierFlags):
35401         (EventSenderProxy::keyDown):
35402         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
35403         (WTR::PlatformWebView::sendEvent):
35404         * WebKitTestRunner/qt/WebKitTestRunner.pro:
35405
35406 2011-09-20  Adam Barth  <abarth@webkit.org>
35407
35408         garden-o-matic unit test fail because Safari 5.1 doesn't enumerate dictionaries in the same order as V8
35409         https://bugs.webkit.org/show_bug.cgi?id=68496
35410
35411         Reviewed by Dimitri Glazkov.
35412
35413         This patch adds a bunch of sorting to make sure things happen in a
35414         predictable order in both JavaScriptCore and V8.  We've talked before
35415         about whether these two JavaScript engines should enumerate
35416         dictionaries in the same order, but the consensus has been that they
35417         shouldn't.  Personally, I disagree with that consensus, but such is life.
35418
35419         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
35420         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
35421         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
35422         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
35423
35424 2011-09-20  Adam Barth  <abarth@webkit.org>
35425
35426         garden-o-matic doesn't work in Safari 5.1 because Safari 5.1 lacks Function.prototype.bind
35427         https://bugs.webkit.org/show_bug.cgi?id=68495
35428
35429         Reviewed by Dimitri Glazkov.
35430
35431         This patch adds an implementation of Function.prototype.bind if the browser lacks one.
35432
35433         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
35434
35435 2011-09-20  Eric Seidel  <eric@webkit.org>
35436
35437         [NRWT] REGRESSION: Local loader tests are failing on machines that lost /tmp/LayoutTests symlink
35438         https://bugs.webkit.org/show_bug.cgi?id=65781
35439
35440         Reviewed by Ryosuke Niwa.
35441
35442         Instead of making NRWT create the symlink, I made DumpRenderTree smart enough
35443         to resolve the passed in url relative to the absolute url for the test.
35444         For http tests, since the test url is an http url, we can't resolve relative
35445         to the test path, and thus use a new LOCAL_RESOURCE_ROOT environment variable
35446         for resolving.
35447
35448         I believe this is a better approach than the on used in the Qt and Chromium DRT's
35449         (which resolves the path relative to the built location of the DRT executable)
35450         and we should move this new code into a shared location in a follow-up patch.
35451
35452         It turns out that there was a second use for pathToLocalResource, used by one
35453         test (http/tests/plugins/post-url-file.html) used for getting a path to /tmp.
35454         To support this test I made the new pathToLocalResource smart enough to map
35455         /tmp to DUMPRENDERTREE_TEMP (which is already defined for all ports).
35456
35457         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
35458         (LayoutTestController::pathToLocalResource):
35459         * Scripts/webkitpy/layout_tests/port/webkit.py: Set LOCAL_RESOURCE_ROOT for use by DRT.
35460
35461 2011-09-20  Tom Zakrajsek  <tomz@codeaurora.org>
35462
35463         Need to specify a django version, instead of using default
35464         https://bugs.webkit.org/show_bug.cgi?id=68398
35465
35466         Reviewed by Eric Seidel.
35467
35468         * QueueStatusServer/__init__.py:
35469         * QueueStatusServer/main.py:
35470
35471 2011-09-20  Tom Zakrajsek  <tomz@codeaurora.org>
35472
35473         Update committers.py with a few more contributor contacts
35474         https://bugs.webkit.org/show_bug.cgi?id=68487
35475
35476         Reviewed by Eric Seidel.
35477
35478         * Scripts/webkitpy/common/config/committers.py:
35479
35480 2011-09-20  Leandro Pereira  <leandro@profusion.mobi>
35481
35482         Fix webkitpy unit tests after 95547 and 95549
35483         https://bugs.webkit.org/show_bug.cgi?id=68483
35484
35485         Reviewed by Adam Barth.
35486         
35487         Fix tests for ChangeLog.touched_files() and ChangeLog.parse_entries_from_file().
35488
35489         * Scripts/webkitpy/common/checkout/changelog_unittest.py: While testing
35490         parse_entries_from_file(), use StringIO and entry.reviewer_text().
35491         While testing parse_latest_entry_from_file(), expect the correct
35492         touched_files() list.
35493
35494 2011-09-20  Adam Barth  <abarth@webkit.org>
35495
35496         garden-o-matic makes it hard to compare images when scroll bars appear
35497         https://bugs.webkit.org/show_bug.cgi?id=68482
35498
35499         Reviewed by Eric Seidel.
35500
35501         Because we autoscale image width, the images rescale if we overflow
35502         vertically and get a scrollbar.  That makes it hard to compare two sets
35503         of images.  This patch reserves space for the scrollbar so we won't
35504         have the layout change.
35505
35506         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css:
35507
35508 2011-09-20  Sheriff Bot  <webkit.review.bot@gmail.com>
35509
35510         Unreviewed, rolling out r95565.
35511         http://trac.webkit.org/changeset/95565
35512         https://bugs.webkit.org/show_bug.cgi?id=68470
35513
35514         Broke builds (Requested by andersca on #webkit).
35515
35516         * MiniBrowser/gtk/BrowserWindow.c:
35517         (mouseDidMoveOverElement):
35518
35519 2011-09-20  Nayan Kumar K  <nayankk@motorola.com>
35520
35521         Get hover'ed element URL from HitTest.
35522         
35523         mouseDidMoveOverElement now gets the hover'ed element link using
35524         WKHitTestResult API's.
35525         https://bugs.webkit.org/show_bug.cgi?id=68426
35526
35527         Reviewed by Anders Carlsson.
35528
35529         * MiniBrowser/gtk/BrowserWindow.c:
35530         (mouseDidMoveOverElement):
35531
35532 2011-09-20  Leandro Pereira  <leandro@profusion.mobi>
35533
35534         Changelog class should have a method to return all entries
35535         https://bugs.webkit.org/show_bug.cgi?id=68399
35536         
35537         Implement ChangeLog.parse_entries_from_file(). This method returns a generator
35538         of ChangeLogEntry objects, ordered from the latest to the oldest entry in the file.
35539
35540         Reviewed by Ryosuke Niwa.
35541
35542         * Scripts/webkitpy/common/checkout/changelog.py: Copy parse_latest_entry_from_file()
35543         and adapt it to become a generator.
35544         * Scripts/webkitpy/common/checkout/changelog_unittest.py: Add test case.
35545
35546 2011-09-20  Jarred Nicholls  <jarred@sencha.com>
35547
35548         [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
35549         https://bugs.webkit.org/show_bug.cgi?id=51159
35550
35551         Permit any URL with a local scheme to set a user style sheet. Allow qrc
35552         resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
35553         
35554         Add DRT/WKTR qrc resource to test loading user style sheets from a qrc URL.
35555
35556         Reviewed by Kenneth Rohde Christiansen.
35557
35558         * DumpRenderTree/qt/DumpRenderTree.pro:
35559         * DumpRenderTree/qt/DumpRenderTree.qrc: Added.
35560         * DumpRenderTree/qt/resources/user.css: Added.
35561         (body):
35562         * WebKitTestRunner/qt/WebKitTestRunner.pro:
35563         * WebKitTestRunner/qt/WebKitTestRunner.qrc: Added.
35564         * WebKitTestRunner/qt/resources/user.css: Added.
35565         (body):
35566
35567 2011-09-20  Leandro Pereira  <leandro@profusion.mobi>
35568
35569         ChangeLogEntry class should contain a list of touched files
35570         https://bugs.webkit.org/show_bug.cgi?id=68115
35571
35572         Reviewed by Eric Seidel.
35573         
35574         Add method to return the list of files touched in a ChangeLog entry.
35575
35576         * Scripts/webkitpy/common/checkout/changelog.py: Add
35577         touched_files_regexp and touched_files() method.
35578         * Scripts/webkitpy/common/checkout/changelog_unittest.py: Implement
35579         unit tests for touched_files() method.
35580
35581 2011-09-20  Sheriff Bot  <webkit.review.bot@gmail.com>
35582
35583         Unreviewed, rolling out r95526 and r95541.
35584         http://trac.webkit.org/changeset/95526
35585         http://trac.webkit.org/changeset/95541
35586         https://bugs.webkit.org/show_bug.cgi?id=68443
35587
35588         It broke 6 tests (Requested by ossy_ on #webkit).
35589
35590         * DumpRenderTree/qt/main.cpp:
35591         (main):
35592         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
35593         (WTR::activateFonts):
35594
35595 2011-09-20  Tom Zakrajsek  <tomz@codeaurora.org>
35596
35597         Fix patch and bug numbering in the mocktool simulation code
35598         https://bugs.webkit.org/show_bug.cgi?id=68374
35599
35600         Reviewed by Adam Barth.
35601
35602         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
35603         * Scripts/webkitpy/tool/bot/feeders_unittest.py:
35604         * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
35605         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
35606         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
35607         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
35608         * Scripts/webkitpy/tool/commands/download_unittest.py:
35609         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
35610         * Scripts/webkitpy/tool/commands/queries_unittest.py:
35611         * Scripts/webkitpy/tool/commands/queues_unittest.py:
35612         * Scripts/webkitpy/tool/commands/queuestest.py:
35613         * Scripts/webkitpy/tool/commands/upload_unittest.py:
35614         * Scripts/webkitpy/tool/mocktool.py:
35615         * Scripts/webkitpy/tool/steps/steps_unittest.py:
35616         * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
35617
35618 2011-09-20  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
35619
35620         [Qt] Don't override default QApplication font for DRT and WTR
35621
35622         Revision 95526 moved the relevant code below the QApplication
35623         constructor, to fix a potential crash, and that made the code
35624         take effect, breaking 6 tests.
35625
35626         We should rely on the QWebSettings to set default fonts, and
35627         this QApplication::setFont() is a relic from when we didn't
35628         have that option, so we remove the code.
35629
35630         Reviewed by Csaba Osztrogonác.
35631
35632         * DumpRenderTree/qt/main.cpp:
35633         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
35634
35635 2011-09-20  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
35636
35637         WebKitTestRunner: Provide usage if run without arguments
35638
35639         If WTR is run without either one or more filenames, or
35640         a '-' to indicate server mode, we don't need to start
35641         up the test machinery. Doing so might actually crash,
35642         as we'll exit the application immedeatly after anyways.
35643
35644         Reviewed by Simon Hausmann.
35645
35646         * WebKitTestRunner/TestController.cpp:
35647         (WTR::TestController::initialize):
35648
35649 2011-09-20  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
35650
35651         [Qt] Don't use QFont before initializing QApplication
35652
35653         Could potentially result in crash.
35654
35655         Reviewed by Simon Hausmann.
35656
35657         * DumpRenderTree/qt/main.cpp:
35658         (main):
35659
35660 2011-09-19  Adam Barth  <abarth@webkit.org>
35661
35662         Always enable ENABLE(EVENTSOURCE)
35663         https://bugs.webkit.org/show_bug.cgi?id=68414
35664
35665         Reviewed by Eric Seidel.
35666
35667         * Scripts/build-webkit:
35668
35669 2011-09-19  David Levin  <levin@chromium.org>
35670
35671         Sheriffbot rollout should be more intuitive.
35672         https://bugs.webkit.org/show_bug.cgi?id=68415
35673
35674         Reviewed by Adam Barth.
35675
35676         * Scripts/webkitpy/tool/bot/irc_command.py: Add support for revert and comma separated args.
35677         * Scripts/webkitpy/tool/bot/irc_command_unittest.py: Add parsing tests for comma separated args
35678           and a few others cases.
35679         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: Verify that revert works.
35680
35681 2011-09-19  David Levin  <levin@chromium.org>
35682
35683         check-webkit-style generates bogus warning for StructuredExceptionHandlerSupressor.h
35684         https://bugs.webkit.org/show_bug.cgi?id=68391
35685
35686         Reviewed by Darin Adler.
35687
35688         * Scripts/webkitpy/style/checkers/cpp.py: Skip __asm lines when doing style checks on a line.
35689         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added a test for this.
35690
35691 2011-09-19  Alexis Menard  <alexis.menard@openbossa.org>
35692
35693         Style checker should not check public Qt WK2 API for parameter_name.
35694         https://bugs.webkit.org/show_bug.cgi?id=68359
35695
35696         Reviewed by Andreas Kling.
35697
35698         The public Qt WK2 APIs have different rules than WebKit for parameters of methods in h files.
35699         Add an exception in the style checker to disable the check. Also added the test for it.
35700
35701         * Scripts/webkitpy/style/checker.py:
35702         * Scripts/webkitpy/style/checker_unittest.py:
35703
35704 2011-09-19  Leandro Pereira  <leandro@profusion.mobi>
35705
35706         GTK DRT leaks memory while comparing history items
35707         https://bugs.webkit.org/show_bug.cgi?id=68086
35708
35709         Reviewed by Martin Robinson.
35710         
35711         webkit_web_history_item_get_target() returns a g_strdup()'d string,
35712         so memory must be freed before compareHistoryItems() returns.
35713
35714         * DumpRenderTree/gtk/DumpRenderTree.cpp:
35715         (compareHistoryItems): Use GOwnPtr to manage memory automatically.
35716
35717 2011-09-19  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
35718
35719         Buildbot marks a nrwt bot red when tests are missing results
35720         https://bugs.webkit.org/show_bug.cgi?id=64812
35721
35722         Reviewed by Ryosuke Niwa.
35723
35724         * Scripts/webkitpy/layout_tests/controllers/manager.py:
35725         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
35726
35727 2011-09-19  Jessie Berlin  <jberlin@apple.com>
35728
35729         Sites that use history pushState or replaceState are recorded in history in Private Browsing
35730         mode.
35731         https://bugs.webkit.org/show_bug.cgi?id=68208
35732
35733         Reviewed by Brady Eidson.
35734
35735         Add a test that the WKContextDidNavigateWithNavigationDataCallback (which is invoked by
35736         updateGlobalHistory) is not called in Private Browsing when the page does history.pushState.
35737
35738         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp: Added.
35739         (TestWebKitAPI::didNavigateWithNavigationData):
35740         This is a context history client callback, so it should not be called when in Private
35741         Browsing. Add a call to FAIL().
35742         (TestWebKitAPI::didSameDocumentNavigationForFrame):
35743         This is a page load client callback that happens after the didNavigateWithNavigationData
35744         callback. End the test.
35745         (TestWebKitAPI::TEST):
35746         Enable Private Browsing and load a page that uses history.pushState.
35747
35748         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
35749         Add PrivateBrowsingPushStateNoHistoryCallback.cpp and push-state.html.
35750         * TestWebKitAPI/Tests/WebKit2/push-state.html: Added.
35751         Ditto.
35752         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
35753         Ditto.
35754         * TestWebKitAPI/win/copy-resources.cmd:
35755         Ditto.
35756
35757 2011-09-16  Elliot Poger  <epoger@google.com>
35758
35759         add non-CG Webkit-Mac builds to flakiness dashboard
35760         https://bugs.webkit.org/show_bug.cgi?id=68265
35761
35762         Reviewed by Adam Barth.
35763
35764         As Chromium-on-Mac approaches the switchover from Core Graphics to
35765         Skia, we need to add the Skia version to the flakiness dashboard.
35766
35767         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
35768         * TestResultServer/static-dashboards/builders.js:
35769         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
35770
35771 2011-09-16  Jochen Eisinger  <jochen@chromium.org>
35772
35773         Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
35774         https://bugs.webkit.org/show_bug.cgi?id=68071
35775
35776         Reviewed by Adam Barth.
35777
35778         * DumpRenderTree/chromium/WebPermissions.cpp:
35779         (WebPermissions::allowImage):
35780         * DumpRenderTree/chromium/WebPermissions.h:
35781
35782 2011-09-16  Tom Zakrajsek  <tomz@codeaurora.org>
35783
35784         update-webkit-chromium should retry the gclient call if it fails once
35785         https://bugs.webkit.org/show_bug.cgi?id=68252
35786
35787         Reviewed by Adam Barth.
35788
35789         * Scripts/update-webkit-chromium:
35790
35791 2011-09-16  Rob Buis  <rbuis@rim.com>
35792
35793         Add Eli's rim address and change the nick.
35794
35795         * Scripts/webkitpy/common/config/committers.py:
35796
35797 2011-09-16  Anders Carlsson  <andersca@apple.com>
35798
35799         Add back the WKHitTestResultRef parameter to mouseDidMoveOverElement in an ABI preserving way
35800         https://bugs.webkit.org/show_bug.cgi?id=68269
35801
35802         Reviewed by Geoffrey Garen.
35803
35804         Update client function signatures.
35805
35806         * MiniBrowser/gtk/BrowserWindow.c:
35807         (browserWindowUIClientInit):
35808         * MiniBrowser/mac/BrowserWindowController.m:
35809         (mouseDidMoveOverElement):
35810         (-[BrowserWindowController awakeFromNib]):
35811         * MiniBrowser/win/BrowserView.cpp:
35812         (BrowserView::create):
35813         * WebKitTestRunner/TestController.cpp:
35814         (WTR::TestController::createOtherPage):
35815         (WTR::TestController::initialize):
35816
35817 2011-09-16  Anders Carlsson  <andersca@apple.com>
35818
35819         Temporarily remove the WKHitTestResultRef parameter to avoid breaking the WK2 ABI/API
35820         https://bugs.webkit.org/show_bug.cgi?id=68266
35821
35822         Reviewed by John Sullivan.
35823
35824         * MiniBrowser/mac/BrowserWindowController.m:
35825         (mouseDidMoveOverElement):
35826
35827 2011-09-16  Vincent Scheib  <scheib@chromium.org>
35828
35829         Add Vincent Scheib to the committers list.
35830
35831         * Scripts/webkitpy/common/config/committers.py:
35832
35833 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
35834
35835         Unreviewed, rolling out r95285.
35836         http://trac.webkit.org/changeset/95285
35837         https://bugs.webkit.org/show_bug.cgi?id=68247
35838
35839         It broke a webkitpy test (Requested by ossy on #webkit).
35840
35841         * Scripts/webkitpy/layout_tests/controllers/manager.py:
35842
35843 2011-09-16  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
35844
35845         Buildbot marks a nrwt bot red when tests are missing results
35846         https://bugs.webkit.org/show_bug.cgi?id=64812
35847
35848         Reviewed by Dirk Pranke.
35849
35850         * Scripts/webkitpy/layout_tests/controllers/manager.py:
35851
35852 2011-09-16  Martin Robinson  <mrobinson@igalia.com>
35853
35854         [GTK] Disable WebKit2 by default in configure.ac, but enable it with build-webkit
35855         https://bugs.webkit.org/show_bug.cgi?id=68178
35856
35857         Reviewed by Xan Lopez.
35858
35859         Add a work-around to enable WebKit2 when using build-webkit.
35860
35861         * Scripts/webkitdirs.pm:
35862         (buildAutotoolsProject): 
35863
35864 2011-09-15  James Robinson  <jamesr@chromium.org>
35865
35866         Add Antoine Labour and Shawn Singh to the contributors-but-not-committers list.
35867
35868         * Scripts/webkitpy/common/config/committers.py:
35869
35870 2011-09-15  Tom Zakrajsek  <tomz@codeaurora.org>
35871
35872         UpdateChangeLogsWithReviewer should be able to determine reviewer of latest reviewed patch in a bug
35873         https://bugs.webkit.org/show_bug.cgi?id=68003
35874
35875         Reviewed by Adam Barth.
35876
35877         * Scripts/webkitpy/tool/mocktool.py:
35878         * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
35879         * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
35880
35881 2011-09-15  Tom Zakrajsek  <tomz@codeaurora.org>
35882
35883         Python version check is confusing in test-webkitpy
35884         https://bugs.webkit.org/show_bug.cgi?id=68004
35885
35886         Reviewed by Adam Barth.
35887
35888         * Scripts/test-webkitpy:
35889
35890 2011-09-15  Eric Seidel  <eric@webkit.org>
35891
35892         Reviewed by Adam Barth.
35893
35894         webkit-patch should be able to find users and add them to bugzilla groups
35895         https://bugs.webkit.org/show_bug.cgi?id=63351
35896
35897         These are both very basic commands.  But it's now possible to find
35898         all users matching a regexp, as well as add all users matching a regexp
35899         to a set of groups.
35900
35901         bugzilla.py already knew how to find users (for validate-committer-lists)
35902         but now it has the ability to modify the user records.
35903
35904         I split some of the logic out into a new EditUsersParser class
35905         to try and reduce the amount of code in Bugzilla/BugzillaQueries.
35906
35907         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
35908         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
35909         * Scripts/webkitpy/tool/commands/__init__.py:
35910         * Scripts/webkitpy/tool/commands/adduserstogroups.py: Added.
35911         * Scripts/webkitpy/tool/commands/findusers.py: Added.
35912
35913 2011-09-15  Eric Seidel  <eric@webkit.org>
35914
35915         Remove ENABLE(SVG_AS_IMAGE) since all major ports have it on by default
35916         https://bugs.webkit.org/show_bug.cgi?id=68182
35917
35918         Reviewed by Adam Barth.
35919
35920         * Scripts/build-webkit:
35921         * waf/build/settings.py:
35922
35923 2011-09-15  Eric Seidel  <eric@webkit.org>
35924
35925         Unreviewed.  Make contributor email look-up case-insensitive.
35926
35927         validate-committer-list was incorrectly reporting that "chang.shu@nokia.com"
35928         was missing from committers.py due to case sensitivity.
35929
35930         This also includes a test expectations update to committers_unittest.py
35931         after my previous change.
35932
35933         * Scripts/webkitpy/common/config/committers.py:
35934         * Scripts/webkitpy/common/config/committers_unittest.py:
35935         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
35936
35937 2011-09-15  Eric Seidel  <eric@webkit.org>
35938
35939         Unreviewed.  Updated this based on webkit-patch suggest-nominations and validate-committer-list output.
35940
35941         Add a bunch of email aliases to committers.py for regular contributors
35942         who are committing using other email addresses than they have listed in the file.
35943
35944         * Scripts/webkitpy/common/config/committers.py:
35945
35946 2011-09-15  Eric Seidel  <eric@webkit.org>
35947
35948         Remove ENABLE_SVG_ANIMATION as all major ports have it on by default
35949         https://bugs.webkit.org/show_bug.cgi?id=68022
35950
35951         Reviewed by Ryosuke Niwa.
35952
35953         * Scripts/build-webkit:
35954         * waf/build/settings.py:
35955
35956 2011-09-15  Anders Carlsson  <andersca@apple.com>
35957
35958         Fix Mac build by including config.h where needed.
35959
35960         * TestWebKitAPI/Tests/TestWebKitAPI/mac/InstanceMethodSwizzler.mm:
35961         * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
35962         * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp:
35963         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
35964         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp:
35965         * TestWebKitAPI/Tests/mac/DOMRangeOfString.mm:
35966         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
35967         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
35968         * TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm:
35969         * TestWebKitAPI/mac/InstanceMethodSwizzler.mm:
35970         * TestWebKitAPI/mac/JavaScriptTestMac.mm:
35971         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
35972         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
35973         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
35974         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
35975         * TestWebKitAPI/mac/main.mm:
35976
35977 2011-09-15  Xianzhu Wang  <wangxianzhu@chromium.org>
35978
35979         Let TestWebKitAPI work for chromium
35980         https://bugs.webkit.org/show_bug.cgi?id=67756
35981
35982         Reviewed by Sam Weinig.
35983
35984         * Scripts/build-api-tests:
35985         * Scripts/run-api-tests:
35986         (isSupportedPlatform):
35987         (runTest):
35988         (populateTests):
35989         * Scripts/webkitdirs.pm:
35990         (determineBaseProductDir):
35991         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
35992         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
35993         * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
35994         * TestWebKitAPI/InjectedBundleController.cpp:
35995         * TestWebKitAPI/InjectedBundleMain.cpp:
35996         * TestWebKitAPI/JavaScriptTest.cpp:
35997         * TestWebKitAPI/PlatformUtilities.cpp:
35998         * TestWebKitAPI/TestWebKitAPI.gypi: Added.
35999         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
36000         * TestWebKitAPI/TestWebKitAPIPrefix.h: Removed.
36001         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
36002         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
36003         * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
36004         * TestWebKitAPI/Tests/WTF/VectorReverse.cpp:
36005         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
36006         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
36007         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
36008         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
36009         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
36010         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
36011         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
36012         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
36013         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
36014         * TestWebKitAPI/Tests/WebKit2/Find.cpp:
36015         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
36016         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
36017         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
36018         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
36019         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
36020         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
36021         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
36022         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp:
36023         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp:
36024         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
36025         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp:
36026         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
36027         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
36028         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
36029         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
36030         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp:
36031         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
36032         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
36033         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
36034         * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
36035         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
36036         * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
36037         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
36038         * TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
36039         * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
36040         * TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp:
36041         * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
36042         * TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp:
36043         * TestWebKitAPI/TestsController.cpp:
36044         * TestWebKitAPI/config.h: Copied from TestWebKitAPI/TestWebKitAPIPrefix.h.
36045         * TestWebKitAPI/win/InjectedBundleControllerWin.cpp:
36046         * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
36047         * TestWebKitAPI/win/PlatformWebViewWin.cpp:
36048         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
36049         * TestWebKitAPI/win/main.cpp:
36050
36051 2011-09-15  Jochen Eisinger  <jochen@chromium.org>
36052
36053         [chromium] extract normalization of LayoutTests URLs to a method of TestShell
36054         https://bugs.webkit.org/show_bug.cgi?id=68145
36055
36056         This will allow for other classes in DumpRenderTree to reuse this functionality
36057
36058         Reviewed by David Levin.
36059
36060         * DumpRenderTree/chromium/TestShell.cpp:
36061         (normalizeLayoutTestURLInternal):
36062         (dumpHistoryItem):
36063         (TestShell::normalizeLayoutTestURL):
36064         * DumpRenderTree/chromium/TestShell.h:
36065
36066 2011-09-14  Ada Chan  <adachan@apple.com>
36067
36068         Add test for WKBundleFrameCopyWebArchive().
36069         https://bugs.webkit.org/show_bug.cgi?id=67857
36070
36071         Reviewed by Anders Carlsson.
36072
36073         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp: Added.
36074         (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Do some basic sanity checks to make sure
36075         the returned data is a valid webarchive.
36076         (TestWebKitAPI::setInjectedBundleClient):
36077         (TestWebKitAPI::didFinishLoadForFrame):
36078         (TestWebKitAPI::TEST): Load simple.html in a WebView.  Wait for it to finish loading, and then ask the
36079         injected bundle for the webarchive and check the returned webarchive.
36080         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp: Added.
36081         (TestWebKitAPI::WebArchiveTest::WebArchiveTest):
36082         (TestWebKitAPI::WebArchiveTest::didReceiveMessage): Handle the "GetWebArchive" message and return
36083         the web archive.
36084
36085         Add files to project.
36086         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Also let Visual Studio reorder a file.
36087         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
36088         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
36089
36090 2011-09-14  Ryosuke Niwa  <rniwa@webkit.org>
36091
36092         committers.py should support multiple IRC nicknames
36093         https://bugs.webkit.org/show_bug.cgi?id=68110
36094
36095         Reviewed by Eric Seidel.
36096
36097         Add multiple IRC nickname support to committers.py
36098
36099         * Scripts/webkitpy/common/config/committers.py:
36100         * Scripts/webkitpy/common/config/committers_unittest.py:
36101         * Scripts/webkitpy/tool/bot/irc_command.py:
36102         * Scripts/webkitpy/tool/bot/sheriff.py:
36103
36104 2011-09-14  Jon Lee  <jonlee@apple.com>
36105
36106         Implement globalFlag for WebKitTestRunner
36107         https://bugs.webkit.org/show_bug.cgi?id=68033
36108         <rdar://problem/10119204>
36109
36110         Reviewed by Sam Weinig.
36111
36112         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Porting globalFlag from DRT
36113         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
36114         (WTR::LayoutTestController::LayoutTestController): initialize m_globalFlag to false
36115         * WebKitTestRunner/InjectedBundle/LayoutTestController.h: add m_globalFlag
36116         (WTR::LayoutTestController::globalFlag): simple getter
36117         (WTR::LayoutTestController::setGlobalFlag): simple setter
36118
36119 2011-09-13  Eric Seidel  <eric@webkit.org>
36120
36121         Remove ENABLE_SVG_USE as <use> is required by HTML5
36122         https://bugs.webkit.org/show_bug.cgi?id=68019
36123
36124         Reviewed by Ryosuke Niwa.
36125
36126         * Scripts/build-webkit:
36127         * waf/build/settings.py:
36128
36129 2011-09-14  Ryosuke Niwa  <rniwa@webkit.org>
36130
36131         Remove Jan Erik Hanssen (added in my r95078) from the list for now
36132         since I can't confirm acceptable his committership.
36133
36134         * Scripts/webkitpy/common/config/committers.py:
36135
36136 2011-09-14  Jochen Eisinger  <jochen@chromium.org>
36137
36138         [chromium] Remove obsolete WebViewClient methods from DumpRenderTree.
36139         https://bugs.webkit.org/show_bug.cgi?id=68066
36140
36141         Reviewed by Adam Barth.
36142
36143         * DumpRenderTree/chromium/WebViewHost.cpp:
36144         * DumpRenderTree/chromium/WebViewHost.h:
36145
36146 2011-09-13  Ryosuke Niwa  <rniwa@webkit.org>
36147
36148         committers.py is missing some contributors
36149         https://bugs.webkit.org/show_bug.cgi?id=68059
36150
36151         Reviewed by Adam Barth.
36152
36153         Add David Barr, Jan Erik Hanssen, and Kim Grönholm.
36154
36155         Also add nicks of Alejandro G. Castro, Collin Jackson, and Matt Lilek.
36156
36157         * Scripts/webkitpy/common/config/committers.py:
36158
36159 2011-09-13  Ryosuke Niwa  <rniwa@webkit.org>
36160
36161         Fix webkit python test after r95061.
36162
36163         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
36164
36165 2011-09-13  Xianzhu Wang  <wangxianzhu@chromium.org>
36166
36167         Add myself as a contributor. No review needed.
36168
36169         * Scripts/webkitpy/common/config/committers.py:
36170
36171 2011-09-13  Adam Barth  <abarth@webkit.org>
36172
36173         garden-o-matic has unfriendly error messages when the local server is not available
36174         https://bugs.webkit.org/show_bug.cgi?id=68042
36175
36176         Reviewed by Dimitri Glazkov.
36177
36178         This patch moves us from using alert to showing the error inline in the
36179         progress dialog.
36180
36181         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
36182         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
36183         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
36184         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
36185         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
36186
36187 2011-09-13  Adam Barth  <abarth@webkit.org>
36188
36189         FailureGrid in garden-o-matic should link to the builder's waterfall page
36190         https://bugs.webkit.org/show_bug.cgi?id=68036
36191
36192         Reviewed by Dimitri Glazkov.
36193
36194         One of the users in the user study thought the configurations names in
36195         the failure grid would link to the underlying bots.  That makes sense,
36196         so this patch adds the behavior.
36197
36198         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
36199         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
36200         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
36201         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
36202
36203 2011-09-13  Adam Barth  <abarth@webkit.org>
36204
36205         garden-o-matic should be able to mark failures as expected
36206         https://bugs.webkit.org/show_bug.cgi?id=68027
36207
36208         Reviewed by Dimitri Glazkov.
36209
36210         All the back-end infrastructure exists for this operation.  This patch
36211         just adds some UI to the front-end and wires that UI up to the back
36212         end.  This exact UI will likely need some more polish, but this should
36213         be a reasonable first cut.
36214
36215         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
36216         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
36217         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
36218         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
36219         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
36220
36221 2011-09-13  Adam Barth  <abarth@webkit.org>
36222
36223         garden-o-matic should tell you about the progress of your rebaseline
36224         https://bugs.webkit.org/show_bug.cgi?id=67967
36225
36226         Reviewed by Dimitri Glazkov.
36227
36228         This patch adds ui.MessageBox, which is a light wrapper around jQuery
36229         UI's dialog widget.  We then use ui.MessageBox to show status messages
36230         about in-progress rebaselines.  As each baseline is downloaded, the
36231         MessageBox updates.  This UI replaces our temporary "alert"-based UI.
36232
36233         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
36234         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
36235         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
36236         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
36237         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
36238         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
36239
36240 2011-09-13  Leandro Pereira  <leandro@profusion.mobi>
36241
36242         GTK DumpRenderTree uses inefficient idioms to iterate over G[S]Lists
36243         https://bugs.webkit.org/show_bug.cgi?id=68024
36244
36245         Reviewed by Gustavo Noronha Silva.
36246         
36247         Using g_list_count() and g_list_nth_data() together on a loop is
36248         inneficient since they're both O(n). Iterate over lists in a saner
36249         way.
36250
36251         * DumpRenderTree/gtk/DumpRenderTree.cpp:
36252         (dumpHistoryItem): Reduce the scope for the 'kids' variable, and
36253         iterate on it using g_list_next(). Free the list after done with it.
36254         (dumpBackForwardListForWebView): Instead of appending (which is
36255         expensive in GLists) history items and then iterating from the tail
36256         of the itemsToPrint list, prepend items and walk forwards as usual.
36257         (dumpBackForwardListForAllWebViews): Walk the list in a saner way,
36258         remove the (unneeded) viewList variable.
36259
36260 2011-09-13  Ryosuke Niwa  <rniwa@webkit.org>
36261
36262         Add Eric's IRC nick.
36263
36264         * Scripts/webkitpy/common/config/committers.py:
36265
36266 2011-09-13  Anders Carlsson  <andersca@apple.com>
36267
36268         Disable C++ exceptions when building with clang
36269         https://bugs.webkit.org/show_bug.cgi?id=68031
36270         <rdar://problem/9556880>
36271
36272         Reviewed by Mark Rowe.
36273
36274         * MiniBrowser/Configurations/Base.xcconfig:
36275         * TestWebKitAPI/Configurations/Base.xcconfig:
36276         * WebKitTestRunner/Configurations/Base.xcconfig:
36277
36278 2011-09-13  Ojan Vafai  <ojan@chromium.org>
36279
36280         [chromium] fix flakiness dashboard for chromium interactive tests
36281         https://bugs.webkit.org/show_bug.cgi?id=68029
36282
36283         Reviewed by Tony Chang.
36284
36285         * TestResultServer/static-dashboards/flakiness_dashboard.html:
36286         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
36287
36288 2011-09-13  Ryosuke Niwa  <rniwa@webkit.org>
36289
36290         Add Alice and Aryeh to the list of contributors.
36291
36292         * Scripts/webkitpy/common/config/committers.py:
36293
36294 2011-09-13  Ryosuke Niwa  <rniwa@webkit.org>
36295
36296         sheriffbot whois should also tell us email addresses
36297         https://bugs.webkit.org/show_bug.cgi?id=67975
36298
36299         Reviewed by Eric Seidel and David Levin.
36300
36301         Taught sheriffbot how to tell us contributor's email addresses.
36302
36303         * Scripts/webkitpy/tool/bot/irc_command.py:
36304         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
36305
36306 2011-09-13  Eric Seidel  <eric@webkit.org>
36307
36308         Remove ENABLE_SVG_FOREIGN_OBJECT as it is a required part of HTML5
36309         https://bugs.webkit.org/show_bug.cgi?id=68018
36310
36311         Reviewed by Ryosuke Niwa.
36312
36313         * Scripts/build-webkit:
36314         * waf/build/settings.py:
36315
36316 2011-09-13  Chang Shu  <cshu@webkit.org>
36317
36318         [WK2] [Mac] Implement KeyDown function for WebKit2 EventSender.
36319         https://bugs.webkit.org/show_bug.cgi?id=57515
36320
36321         The code change in WebKitTestRunner first sends keydown event from InjectedBundle to
36322         TestController synchronously. The latter then sends simulated event to WebKit2 module,
36323         which is synchronous, too.
36324
36325         Reviewed by Darin Adler.
36326
36327         * WebKitTestRunner/EventSenderProxy.h: Added.
36328         (WTR::EventSenderProxy::EventSenderProxy):
36329         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
36330         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
36331         (WTR::EventSendingController::keyDown):
36332         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
36333         * WebKitTestRunner/PlatformWebView.h:
36334         (WTR::PlatformWebView::platformWindow):
36335         * WebKitTestRunner/TestController.cpp:
36336         (WTR::TestController::TestController):
36337         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
36338         * WebKitTestRunner/TestController.h:
36339         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
36340         * WebKitTestRunner/mac/EventSenderProxy.mm: Added.
36341         (WTR::buildModifierFlags):
36342         (WTR::EventSenderProxy::keyDown):
36343
36344 2011-09-12  Leandro Pereira  <leandro@profusion.mobi>
36345
36346         [EFL] DRT: Add DumpRenderTreeEfl.h
36347         https://bugs.webkit.org/show_bug.cgi?id=63993
36348
36349         Reviewed by Eric Seidel.
36350         
36351         This header contains some global variables used by EFL's
36352         DumpRenderTree implementation.
36353
36354         * DumpRenderTree/DumpRenderTree.h: Include DumpRenderTreeEfl.h when
36355         appropriate.
36356         * DumpRenderTree/efl/DumpRenderTreeEfl.h: Added.
36357
36358 2011-09-12  Raphael Kubo da Costa  <kubo@profusion.mobi>
36359
36360         [EFL] Send the right key names for PageUp and PageDown.
36361         https://bugs.webkit.org/show_bug.cgi?id=67044
36362
36363         Reviewed by Kenneth Rohde Christiansen.
36364
36365         PlatformKeyboardEventEfl uses "Prior" and "Next" to refer to PageUp and
36366         PageDown (which is close to the defines in WindowsKeyboardCodes.h).
36367         However, EventSender was sending "Page_Up" and "Page_Down", so tests
36368         such as editing/input/page-up-down-scrolls.html were timing out due to
36369         the right key down events not being sent.
36370
36371         * DumpRenderTree/efl/EventSender.cpp:
36372         (keyPadNameFromJSValue):
36373         (keyNameFromJSValue):
36374
36375 2011-09-12  Eric Seidel  <eric@webkit.org>
36376
36377         sheriffbot whois is case sensitive
36378         https://bugs.webkit.org/show_bug.cgi?id=67972
36379
36380         Reviewed by Adam Barth.
36381
36382         I also fixed a typo in the "More than 5 contributors" message
36383         from my previous commit.
36384
36385         * Scripts/webkitpy/common/config/committers.py:
36386         * Scripts/webkitpy/common/config/committers_unittest.py:
36387         * Scripts/webkitpy/tool/bot/irc_command.py:
36388         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
36389
36390 2011-09-12  Eric Seidel  <eric@webkit.org>
36391
36392         sheriffbot whois should be smarter
36393         https://bugs.webkit.org/show_bug.cgi?id=67971
36394
36395         Reviewed by Adam Barth.
36396
36397         This makes sheriffbot whois basically grep the committers list
36398         making it much easier to find a contributor by name.
36399
36400         Unfortunately the current unittests depend on the real committers.py
36401         file, so as we add more eric's to the project, this unittest result will
36402         change.  I think that's OK for now.  We'll fix it when it breaks.
36403
36404         * Scripts/webkitpy/common/config/committers.py:
36405         * Scripts/webkitpy/tool/bot/irc_command.py:
36406         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
36407
36408 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
36409
36410         Unreviewed, rolling out r94976.
36411         http://trac.webkit.org/changeset/94976
36412         https://bugs.webkit.org/show_bug.cgi?id=67953
36413
36414         Broke a bunch of security/load& tests (Requested by rniwa on
36415         #webkit).
36416
36417         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
36418         (LayoutTestController::pathToLocalResource):
36419
36420 2011-09-12  Eric Seidel  <eric@webkit.org>
36421
36422         Rubber-stamped by Adam Barth.
36423
36424         Remove the "the tree is burning!" warning previously shown
36425         when landing patches.  It was a dream.  But it's just noise now.
36426
36427         Some bots will require a restart to notice the removal of the option
36428         so I've left the --ignore-builders option in for now.
36429
36430         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
36431         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
36432         * Scripts/webkitpy/tool/commands/download.py:
36433         * Scripts/webkitpy/tool/commands/download_unittest.py:
36434         * Scripts/webkitpy/tool/commands/queues_unittest.py:
36435         * Scripts/webkitpy/tool/steps/__init__.py:
36436         * Scripts/webkitpy/tool/steps/commit.py:
36437         * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py: Removed.
36438         * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
36439
36440 2011-09-12  Eric Seidel  <eric@webkit.org>
36441
36442         [NRWT] REGRESSION: Local loader tests are failing on machines that lost /tmp/LayoutTests symlink
36443         https://bugs.webkit.org/show_bug.cgi?id=65781
36444
36445         Reviewed by Ryosuke Niwa.
36446
36447         Instead of making NRWT create the symlink, I just made DumpRenderTree smart enough
36448         to resolve the passed in url relative to the absolute url for the test.
36449
36450         I believe this is a better approach than the on used in the Qt and Chromium DRT's
36451         (which resolves the path relative to the built location of the DRT executable)
36452         and we should move this new code into a shared location in a follow-up patch.
36453
36454         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
36455         (LayoutTestController::pathToLocalResource):
36456
36457 2011-09-12  Eric Seidel  <eric@webkit.org>
36458
36459         Reshuffle some code in WebKitDriver._read_block in preparation for reading stderr/stdout separately
36460         https://bugs.webkit.org/show_bug.cgi?id=67530
36461
36462         Reviewed by Adam Barth.
36463
36464         I believe I've fixed the bug in the original patch which prompted the rollout.
36465         The previous patch was using the wrong deadline for the initial read,
36466         subtracting time.time() twice from the deadline value.
36467
36468         * Scripts/webkitpy/layout_tests/port/webkit.py:
36469         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
36470
36471 2011-09-12  Balazs Kelemen  <kbalazs@webkit.org>
36472
36473         [Qt][WK2] WebKitTestRunner does not produce crash logs
36474         https://bugs.webkit.org/show_bug.cgi?id=67714
36475
36476         Reviewed by Chang Shu.
36477
36478         Added a simple way of generating backtrace on crash
36479         to the web process. The implementation is similar what
36480         we have in DRT. It depends on GNU libc functionality
36481         so it is only enabled where we are running in such an environment.
36482
36483         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
36484         (WTR::printBacktrace):
36485         (WTR::crashHandler):
36486         (WTR::InjectedBundle::platformInitialize):
36487
36488 2011-09-11  Filip Pizlo  <fpizlo@apple.com>
36489
36490         Added my IRC nick to the committers file.
36491
36492         * Scripts/webkitpy/common/config/committers.py:
36493
36494 2011-09-01  Filip Pizlo  <fpizlo@apple.com>
36495
36496         The executable allocator makes it difficult to free individual
36497         chunks of executable memory
36498         https://bugs.webkit.org/show_bug.cgi?id=66363
36499
36500         Reviewed by Oliver Hunt.
36501         
36502         Introduced a best-fit, balanced-tree based allocator. The allocator
36503         required a balanced tree that does not allocate memory and that
36504         permits the removal of individual nodes directly (as opposed to by
36505         key); neither AVLTree nor WebCore's PODRedBlackTree supported this.
36506         Changed all references to executable code to use a reference counted
36507         handle.
36508
36509         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
36510         * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp: Added.
36511         (TestWebKitAPI::TEST_F):
36512         * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp: Added.
36513         (TestWebKitAPI::Pair::findExact):
36514         (TestWebKitAPI::Pair::remove):
36515         (TestWebKitAPI::Pair::findLeastGreaterThanOrEqual):
36516         (TestWebKitAPI::Pair::assertFoundAndRemove):
36517         (TestWebKitAPI::Pair::assertEqual):
36518         (TestWebKitAPI::Pair::assertSameValuesForKey):
36519         (TestWebKitAPI::Pair::testDriver):
36520         (TestWebKitAPI::TEST_F):
36521
36522 2011-09-10  Andy Estes  <aestes@apple.com>
36523
36524         Move myself from committers_unable_to_review to reviewers_list.
36525
36526         * Scripts/webkitpy/common/config/committers.py:
36527
36528 2011-09-10  Kevin Ollivier  <kevino@theolliviers.com>
36529
36530         [wx] Unreviewed build fix. MSW build fixes.
36531
36532         * DumpRenderTree/config.h:
36533         * waf/build/wxpresets.py:
36534
36535 2011-09-10  Andreas Kling  <kling@webkit.org>
36536
36537         Crash beneath WKURLIsEqual() when reloading in MiniBrowser.
36538         https://bugs.webkit.org/show_bug.cgi?id=59328
36539
36540         Reviewed by Kenneth Rohde Christiansen.
36541
36542         * MiniBrowser/mac/BrowserWindowController.m:
36543         (-[BrowserWindowController updateProvisionalURLForFrame:]): Add missing null check.
36544
36545 2011-09-10  Adam Barth  <abarth@webkit.org>
36546
36547         Build fix for Android.  DumpRenderTree is a client of the WebKit API
36548         and does not have access to notImplemented().
36549
36550         * DumpRenderTree/chromium/TestShellAndroid.cpp:
36551         (openStartupDialog):
36552
36553 2011-09-09  Alexey Proskuryakov  <ap@apple.com>
36554
36555         Add a script to create a monolithic script-test
36556         https://bugs.webkit.org/show_bug.cgi?id=67747
36557
36558         Reviewed by Darin Adler.
36559
36560         * Scripts/make-new-script-test: Added.
36561
36562 2011-09-09  Luiz Agostini  <luiz@webkit.org>
36563
36564         Adding myself to the reviewers list.
36565
36566         * Scripts/webkitpy/common/config/committers.py:
36567
36568 2011-09-09  Ryosuke Niwa  <rniwa@webkit.org>
36569
36570         Buildbot may use RunWebKitTest's evaluateCommand on bots that run nrwt
36571         https://bugs.webkit.org/show_bug.cgi?id=67855
36572
36573         Reviewed by Dirk Pranke.
36574
36575         The bug was caused by the fact some ports use RunWebKitTests instead of NewRunWebKitTests to run tests,
36576         and using RunWebKitTests.evaluateCommand after calling _parseNewRunWebKitTestsOutput.
36577
36578         Fixed the bug by merging evaluateCommand of RunWebKitTests and NewRunWebKitTests.
36579
36580         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
36581
36582 2011-09-09  Mark Hahnenberg  <mhahnenberg@apple.com>
36583
36584         Add myself to committers.py
36585         https://bugs.webkit.org/show_bug.cgi?id=67853
36586
36587         Reviewed by Darin Adler.
36588
36589         * Scripts/webkitpy/common/config/committers.py:
36590
36591 2011-09-09  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
36592
36593         [Qt] Remove common.pri
36594         https://bugs.webkit.org/show_bug.cgi?id=67814
36595
36596         Reviewed by Andreas Kling.
36597
36598         * Tools.pro:
36599
36600 2011-09-09  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
36601
36602         [NRWT] the nrwt check httpd with --no-http option
36603         https://bugs.webkit.org/show_bug.cgi?id=67835
36604
36605         Reviewed by Tony Chang.
36606
36607         * Scripts/webkitpy/layout_tests/controllers/manager.py:
36608         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
36609
36610 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
36611
36612         [chromium] Implement DRT support for Android.
36613         https://bugs.webkit.org/show_bug.cgi?id=67590
36614
36615         Reviewed by Tony Chang.
36616
36617         Add 2 mechanism to make DRT interaction more robust on Android:
36618         - Send 'QUIT' to DRT to make it stop.
36619         - Wait until receiving '#READY' from DRT, so that DRT won't miss any
36620         input commands before it starts.
36621         And LayoutTestController.cpp needs to include <cctype> for 'tolower'
36622         and <clocale> for 'LC_ALL' to compile on Android.
36623
36624         Also change to use sigaction instead of signal for TestShellGtk.cpp,
36625         as signal() man page recommends using sigaction().
36626
36627         * DumpRenderTree/DumpRenderTree.gypi:
36628         * DumpRenderTree/chromium/DumpRenderTree.cpp:
36629         (main):
36630         * DumpRenderTree/chromium/LayoutTestController.cpp:
36631         * DumpRenderTree/chromium/TestShellAndroid.cpp: Added.
36632         (AlarmHandler):
36633         (TestShell::waitTestFinished):
36634         (platformInit):
36635         (openStartupDialog):
36636         (checkLayoutTestSystemDependencies):
36637         * DumpRenderTree/chromium/TestShellGtk.cpp:
36638         (AlarmHandler):
36639         (TestShell::waitTestFinished):
36640
36641 2011-09-09  Kevin Ollivier  <kevino@theolliviers.com>
36642
36643         [wx] Unreviewed build fix. Add Source/JavaScriptCore/dfg directory to the build.
36644
36645         * waf/build/settings.py:
36646
36647 2011-09-09  Sheriff Bot  <webkit.review.bot@gmail.com>
36648
36649         Unreviewed, rolling out r94851.
36650         http://trac.webkit.org/changeset/94851
36651         https://bugs.webkit.org/show_bug.cgi?id=67847
36652
36653         It broke a webkitpy test (Requested by ossy on #webkit).
36654
36655         * Scripts/webkitpy/layout_tests/controllers/manager.py:
36656
36657 2011-09-09  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
36658
36659         [NRWT] the nrwt check httpd with --no-http option
36660         https://bugs.webkit.org/show_bug.cgi?id=67835
36661
36662         Reviewed by Csaba Osztrogonác.
36663
36664         * Scripts/webkitpy/layout_tests/controllers/manager.py:
36665
36666 2011-09-08  Brian Weinstein  <bweinstein@apple.com>
36667
36668         WebKit2: Assertion when calling didPerform*Redirect on null source/destination URL string
36669         https://bugs.webkit.org/show_bug.cgi?id=67794
36670         <rdar://problem/9892024>
36671         
36672         Add a test that we don't send a didPerformServerRedirect when a load is cancelled from willSendRequest.
36673
36674         Reviewed by Brady Eidson.
36675
36676         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp: Added.
36677         (TestWebKitAPI::didFinishLoadForFrame): Set flags on whether we've loaded the main frame, iframe, or both.
36678         (TestWebKitAPI::didPerformServerRedirect): Set a flag for whether we've performed a server redirect.
36679         (TestWebKitAPI::TEST): Set up a WKPageLoaderClient and WKContextHistoryClient, and load simple-iframe.html.
36680             Once both frames have loaded (main frame and blocked iframe), make sure that we have never called
36681             didPerformServerRedirect.
36682
36683         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp: Added.
36684         (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::LoadCanceledNoServerRedirectCallbackTest): Initialize
36685             our InjectedBundleTest.
36686         (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::willSendRequestForFrame): If we are dealing with a request
36687             from the main frame (the main resource in simple-iframe.html), allow it. If not (dealing with the iframe), block
36688             the request.
36689         (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::didCreatePage): Set up the WKBundlePageResourceLoadClient.
36690
36691         * TestWebKitAPI/Tests/WebKit2/simple-iframe.html: Added.
36692         
36693         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new files.
36694         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Ditto.
36695         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Ditto.
36696         * TestWebKitAPI/win/copy-resources.cmd: Ditto.
36697
36698 2011-09-08  David Levin  <levin@chromium.org>
36699
36700         check-webkit-style: Ref|Own Ptr& should be allowed as a parameter.
36701         https://bugs.webkit.org/show_bug.cgi?id=67797
36702
36703         Reviewed by Eric Seidel.
36704
36705         * Scripts/webkitpy/style/checkers/cpp.py: Allow Ref/Own Ptr when it ends with &.
36706         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added test cases for this.
36707
36708 2011-09-08  Fady Samuel  <fsamuel@chromium.org>
36709
36710         Fixed Layout Mode should be adjustable from layoutTestController for testing on Chromium platforms
36711         https://bugs.webkit.org/show_bug.cgi?id=67723
36712
36713         Reviewed by Adam Barth.
36714
36715         * DumpRenderTree/chromium/EventSender.h:
36716         * DumpRenderTree/chromium/LayoutTestController.cpp:
36717         (LayoutTestController::LayoutTestController):
36718         (LayoutTestController::enableFixedLayoutMode):
36719         (LayoutTestController::setFixedLayoutSize):
36720         * DumpRenderTree/chromium/LayoutTestController.h:
36721
36722 2011-09-07  Matthew Delaney  <mdelaney@apple.com>
36723
36724         Add standalone script that filters the output of build-webkit to be more human-readable
36725         https://bugs.webkit.org/show_bug.cgi?id=44081
36726
36727         Reviewed by Daniel Bates.
36728
36729         * Scripts/filter-build-webkit: Added. Just need to feed it the output of
36730         a build script (e.g. build-webkit) and it spits out a prettier version.
36731         * Scripts/VCSUtils.pm: Refactored "possiblyColored" out of run-api-tests into VCSUtils.
36732         * Scripts/run-api-tests: Now includes VCSUtils to use "possiblyColored"
36733
36734 2011-09-07  Noel Gordon  <noel.gordon@gmail.com>
36735
36736         Add myself to committers.py                 
36737         https://bugs.webkit.org/show_bug.cgi?id=67696
36738
36739         Reviewed by Kent Tamura.
36740
36741         * Scripts/webkitpy/common/config/committers.py:
36742
36743 2011-09-07  Adam Barth  <abarth@webkit.org>
36744
36745         rebaseline button in garden-o-matic details view should work
36746         https://bugs.webkit.org/show_bug.cgi?id=67738
36747
36748         Reviewed by Dimitri Glazkov.
36749
36750         This patch wires up the rebaseline button in garden-o-matic results
36751         details view.  The button is current per-test, so there isn't a way to
36752         rebaseline individual bots.  This is a place to start.  If we decide we
36753         want per-bot rebaselining, we'll need to think of some better UI.
36754
36755         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
36756         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
36757         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
36758         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
36759
36760 2011-09-07  Eric Seidel  <eric@webkit.org>
36761
36762         Teach the PortFactory object how to pass along executive/user/filesystem to port objects (which fixes the failing rebaseline_test on bots)
36763         https://bugs.webkit.org/show_bug.cgi?id=67737
36764
36765         Reviewed by Adam Barth.
36766
36767         I got a little over-eager when deprecating host.port_factory in the previous commit.
36768         Turns out that Host.port_factory was already the "modern" port/factory.py
36769         it was just the Module object.  I un-deprecated the variable, and changed it from
36770         being the module to being an actual PortFactory, passing it a host object.
36771         I also taught PortFactory how to set user/executive/filesystem in the kwargs
36772         when instantiating a new Port object.
36773         This magically fixed the test_rebaseline test, since its now no longer talking
36774         to the real filesystem.
36775
36776         * Scripts/webkitpy/common/host.py:
36777         * Scripts/webkitpy/layout_tests/port/factory.py:
36778         * Scripts/webkitpy/tool/commands/queries.py:
36779         * Scripts/webkitpy/tool/mocktool.py:
36780
36781 2011-09-07  Eric Seidel  <eric@webkit.org>
36782
36783         Add a new PortFactory class for creating new-style ports and deprecate the old PortFactory
36784         https://bugs.webkit.org/show_bug.cgi?id=67734
36785
36786         Reviewed by Adam Barth.
36787
36788         Right now every place that creates a Port object has to be very careful
36789         to pass in a MockSCM/MockUser/MockFilesystem when appropriate.
36790         The correct fix is for port/factory.py (which creates most port objects)
36791         to know how to pass these in automatically.  However, currently all port/factory.py
36792         functions are free functions instead of being on an object.  This patch
36793         adds a new PortFactory object and deprecates the PortFactory for the old-style Port objects.
36794
36795         In a follow-up patch I will add PortFactory to the Host object and teach PortFactory how to
36796         pass along the proper scm/user/filesystem to the Port object.
36797
36798         * Scripts/webkitpy/common/host.py:
36799         * Scripts/webkitpy/layout_tests/port/factory.py:
36800         * Scripts/webkitpy/tool/commands/queries.py:
36801         * Scripts/webkitpy/tool/mocktool.py:
36802
36803 2011-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
36804
36805         Unreviewed, rolling out r94441.
36806         http://trac.webkit.org/changeset/94441
36807         https://bugs.webkit.org/show_bug.cgi?id=67731
36808
36809         "MacEWSes are backed up due to new machines not able to reach
36810         git.webkit.org.  Disabling tests for now" (Requested by
36811         eseidel2 on #webkit).
36812
36813         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
36814
36815 2011-09-07  Elliot Poger  <epoger@google.com>
36816
36817         filter test_expectations properly for chromium-mac vs chromium-cg-mac
36818         https://bugs.webkit.org/show_bug.cgi?id=67324
36819
36820         Reviewed by Dirk Pranke.
36821
36822         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
36823         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
36824         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
36825         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
36826         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
36827
36828 2011-09-07  Eric Boren  <borenet@gmail.com>
36829
36830         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
36831         https://bugs.webkit.org/show_bug.cgi?id=66800
36832
36833         Reviewed by Darin Fisher.
36834
36835         * DumpRenderTree/chromium/EventSender.cpp:
36836         (EventSender::sendCurrentTouchEvent):
36837
36838 2011-09-07  Jarred Nicholls  <jarred@sencha.com>
36839
36840         [Qt][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResource()
36841         https://bugs.webkit.org/show_bug.cgi?id=67254
36842
36843         Reviewed by Csaba Osztrogonác.
36844
36845         Translate file:///tmp/LayoutTests/* urls into the repository LayoutTests directory, which is
36846         derived from the running location of DumpRenderTree binary.
36847
36848         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
36849         (LayoutTestController::pathToLocalResource):
36850         (LayoutTestController::setUserStyleSheetLocation): pass the url through pathToLocalResource
36851
36852 2011-09-07  Csaba Osztrogonác  <ossy@webkit.org>
36853
36854         REGRESSION(r94288) build-webkit doesn't work on Symbian
36855         https://bugs.webkit.org/show_bug.cgi?id=67706
36856
36857         * Scripts/webkitdirs.pm: Disable automatic clean build on Symbian, because it doesn't support shadow build.
36858         (buildQMakeProject):
36859
36860 2011-09-07  Csaba Osztrogonác  <ossy@webkit.org>
36861
36862         REGRESSION(r94288) build-webkit doesn't work on Windows
36863         https://bugs.webkit.org/show_bug.cgi?id=67646
36864
36865         Roll back r94655 with a small fix.
36866
36867         * Scripts/webkitdirs.pm:
36868         (buildQMakeProject):
36869
36870 2011-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
36871
36872         Unreviewed, rolling out r94635.
36873         http://trac.webkit.org/changeset/94635
36874         https://bugs.webkit.org/show_bug.cgi?id=67704
36875
36876         Linux Touch build is failing to compile this change.
36877         (Requested by loislo on #webkit).
36878
36879         * DumpRenderTree/chromium/EventSender.cpp:
36880         (EventSender::sendCurrentTouchEvent):
36881
36882 2011-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
36883
36884         Unreviewed, rolling out r94655.
36885         http://trac.webkit.org/changeset/94655
36886         https://bugs.webkit.org/show_bug.cgi?id=67703
36887
36888         It broke Leopard debug bot (Requested by ossy on #webkit).
36889
36890         * Scripts/webkitdirs.pm:
36891
36892 2011-09-07  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
36893
36894         REGRESSION(r94288) build-webkit doesn't work on Windows
36895         https://bugs.webkit.org/show_bug.cgi?id=67646
36896
36897         Reviewed by Csaba Osztrogonác.
36898
36899         * Scripts/webkitdirs.pm:
36900
36901 2011-09-06  Eric Boren  <borenet@gmail.com>
36902
36903         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
36904         https://bugs.webkit.org/show_bug.cgi?id=66800
36905
36906         Reviewed by Darin Fisher.
36907
36908         * DumpRenderTree/chromium/EventSender.cpp:
36909         (EventSender::sendCurrentTouchEvent):
36910
36911 2011-09-06  Adam Barth  <abarth@webkit.org>
36912
36913         garden-o-matic details view should having working rebaseline and next/previous buttons
36914         https://bugs.webkit.org/show_bug.cgi?id=67659
36915
36916         Reviewed by Dimitri Glazkov.
36917
36918         This patch wires up basic back/forward buttons that let you traverse
36919         through the results we're examining in the details view.  This ended up
36920         being more code than I expected, but I wanted to keep all the state
36921         information in the DOM itself.
36922
36923         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
36924         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
36925         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
36926
36927 2011-09-01  Dirk Pranke  <dpranke@chromium.org>
36928
36929         fix MockFileSystem.glob(), refactor filesystem tests
36930         https://bugs.webkit.org/show_bug.cgi?id=67462
36931
36932         Reviewed by Eric Seidel.
36933
36934         In debugging why my proposed change for MockFileSystem.glob()
36935         in bug 66228 didn't work, I stumbled across two real bugs
36936         that cancelled each other out for the unit tests. I fixed those
36937         (glob shouldn't recurse into subdirs, and we weren't populating
36938         self.dirs from self.files properly).
36939
36940         I have also created a "mixin" class for tests that can be shared
36941         between the real filesystem and the mock filesystem - MockFileSystem
36942         is being used enough it needs its own tests.
36943
36944         * Scripts/webkitpy/common/system/filesystem_mock.py:
36945         * Scripts/webkitpy/common/system/filesystem_mock_unittest.py: Added.
36946         * Scripts/webkitpy/common/system/filesystem_unittest.py:
36947
36948 2011-09-06  Anders Carlsson  <andersca@apple.com>
36949
36950         Move NPAPI headers in bridge to plugins
36951         https://bugs.webkit.org/show_bug.cgi?id=67661
36952
36953         Update forwarding headers.
36954
36955         * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h:
36956         * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h:
36957
36958 2011-09-06  Tony Chang  <tony@chromium.org>
36959
36960         [chromium] Check in 'build' for compiled binaries first
36961         https://bugs.webkit.org/show_bug.cgi?id=67549
36962
36963         Reviewed by Dirk Pranke.
36964
36965         I'm working on moving the windows build output to a common location
36966         rather than relative to the sln file.  Because of that, we need to
36967         check those build locations first for DumpRenderTree.exe.
36968
36969         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
36970
36971 2011-09-06  Adam Barth  <abarth@webkit.org>
36972
36973         Use a hierarchial structure for the garden-o-matic results view
36974         https://bugs.webkit.org/show_bug.cgi?id=67620
36975
36976         Reviewed by Dimitri Glazkov.
36977
36978         This patch re-organizes the results view to use a hierachial structure
36979         for selection.  At the top-level are sections for each test.  Expanding
36980         the test section shows a tab selector for builders.
36981
36982         This structure prepares us for wiring up various actions to this view.
36983
36984         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
36985         (.):
36986         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
36987         ():
36988         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
36989         (.):
36990         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
36991         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
36992         (.results-view>.toolbar):
36993         (.results-view>.toolbar ul.actions):
36994         (.results-view>.toolbar ul.actions li):
36995         (.results-grid table):
36996         (.results-grid table td, .results-view table th):
36997         (.results-grid table th):
36998         (.results-grid .text-result):
36999         (.results-grid .image-result):
37000
37001 2011-09-06  Adam Barth  <abarth@webkit.org>
37002
37003         garden-o-matic's base.probe generates spam in the JavaScript console
37004         https://bugs.webkit.org/show_bug.cgi?id=67622
37005
37006         Reviewed by Dimitri Glazkov.
37007
37008         Now that we have CORS set up on the buildbot, we can use XMLHttpRequest
37009         instead of HTMLScriptElement to test whether results exist.  This
37010         reduces the console.log spam and saves bandwidth because we can use a
37011         HEAD request instead of a GET request.
37012
37013         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/net.js:
37014
37015 2011-09-05  Adam Barth  <abarth@webkit.org>
37016
37017         Add a tab to garden-o-matic for viewing expected failures
37018         https://bugs.webkit.org/show_bug.cgi?id=67619
37019
37020         Reviewed by Dimitri Glazkov.
37021
37022         This patch adds a basic tab to garden-o-matic that shows all the tests
37023         failing on the bots, including the expected failures.  This patch
37024         mostly involves refactoring existing classes to allow new subclasses.
37025
37026         This view is useful for when gardeners mark tests as expected to fail
37027         and then rebaseline them later.
37028
37029         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
37030         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
37031         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
37032         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary-mock.js:
37033         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
37034         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
37035         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
37036
37037 2011-09-05  Adam Barth  <abarth@webkit.org>
37038
37039         Fix global variable leak in garden-o-matic
37040         https://bugs.webkit.org/show_bug.cgi?id=67617
37041
37042         Reviewed by Dimitri Glazkov.
37043
37044         Caught by running the unit tests with noglobals turned on.
37045
37046         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
37047
37048 2011-09-05  Balazs Kelemen  <kbalazs@webkit.org>
37049
37050         [Qt][WK2] Add pixel test support
37051         https://bugs.webkit.org/show_bug.cgi?id=66283
37052
37053         Reviewed by Andreas Kling.
37054
37055         Implemented pixel result generation by reusing the logic
37056         that we have in DumpRenderTree.
37057         * WebKitTestRunner/qt/TestInvocationQt.cpp:
37058         (WTR::dumpImage):
37059         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
37060
37061 2011-09-04  Robin Dunn  <robin@alldunn.com>
37062
37063         [wx] Enable wxWebKit to run using the wxGC Cairo backend on platforms other than GTK.
37064         https://bugs.webkit.org/show_bug.cgi?id=67577
37065
37066         Reviewed by Kevin Ollivier.
37067
37068         * waf/build/settings.py:
37069
37070 2011-09-03  Kevin Ollivier  <kevino@theolliviers.com>
37071
37072         [wx] Unreviewed build fix. Add wtf/dtoa directory to build.
37073
37074         * waf/build/settings.py:
37075
37076 2011-09-03  Dan Bernstein  <mitz@apple.com>
37077
37078         32-bit build fix.
37079
37080         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
37081         (TestWebKitAPI::Util::toSTD):
37082
37083 2011-09-03  Dan Bernstein  <mitz@apple.com>
37084
37085         Move testStringByEvaluatingJavaScriptFromString() from DumpRenderTree to TestWebKitAPI
37086         https://bugs.webkit.org/show_bug.cgi?id=67559
37087
37088         Reviewed by Darin Adler.
37089
37090         * DumpRenderTree/mac/DumpRenderTree.mm:
37091         (dumpRenderTree): Moved testStringByEvaluatingJavaScriptFromString() from here and removed
37092         the call to it.
37093         * TestWebKitAPI/PlatformUtilities.h: Declared Util::toSTD(NSString *)
37094         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added StringByEvaluatingJavaScriptFromString.mm.
37095         * TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm: Added.
37096         (TestWebKitAPI::TEST): Added. Moved testStringByEvaluatingJavaScriptFromString() to here.
37097         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
37098         (TestWebKitAPI::Util::toSTD): Added.
37099
37100 2011-09-03  Adam Barth  <abarth@webkit.org>
37101
37102         garden-o-matic results view should have a better results selector
37103         https://bugs.webkit.org/show_bug.cgi?id=67542
37104
37105         Reviewed by Dimitri Glazkov.
37106
37107         This patch adds a basic grid-based results selector to the results
37108         view.  Currently, this grid just shows how the tests fail on the
37109         various bots.  A future patch will let you select which failure to view
37110         and to mark the failures for rebaselining.
37111
37112         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
37113         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
37114           - Add some more basic functions for manipulating dictionaries.
37115         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
37116         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
37117         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
37118
37119 2011-09-03  Adam Barth  <abarth@webkit.org>
37120
37121         garden-o-matic results view should show Actual and Expected results for text failures
37122         https://bugs.webkit.org/show_bug.cgi?id=67536
37123
37124         Reviewed by Eric Seidel.
37125
37126         In the past, we didn't show actual and expected text results (we just
37127         showed the diff) because we didn't have the awesome six-by-two results
37128         grid.  Now that we do, we can move show these results.
37129
37130         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
37131         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
37132           - Fixed some typos that were preventing these unit tests from running.
37133         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
37134         (.):
37135         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
37136           - Report -actual.txt and -expected.txt as possible results URLs.
37137
37138 2011-09-03  Adam Barth  <abarth@webkit.org>
37139
37140         garden-o-matic shows "ghost" failures that are already fixed
37141         https://bugs.webkit.org/show_bug.cgi?id=67535
37142
37143         Reviewed by Eric Seidel.
37144
37145         About 10% of writes fail to stick on test-results.appspot.com.  This
37146         patch causes us to fetch the full_results.json blob directly from
37147         build.chromium.org rather than relying upon AppEngine.
37148
37149         Unforuntately, we still need to get historical information from
37150         AppEngine.  That will take several patches to fix becuase I need to
37151         change the bots to write the full_results.json file to the
37152         build-specific directory in addition to the zip file.
37153
37154         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
37155         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
37156         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
37157
37158 2011-09-03  Sheriff Bot  <webkit.review.bot@gmail.com>
37159
37160         Unreviewed, rolling out r94458.
37161         http://trac.webkit.org/changeset/94458
37162         https://bugs.webkit.org/show_bug.cgi?id=67558
37163
37164         Caused appcache test to fail on various bots (Requested by
37165         rniwa on #webkit).
37166
37167         * Scripts/webkitpy/layout_tests/port/webkit.py:
37168         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
37169
37170 2011-09-03  Sheriff Bot  <webkit.review.bot@gmail.com>
37171
37172         Unreviewed, rolling out r94453.
37173         http://trac.webkit.org/changeset/94453
37174         https://bugs.webkit.org/show_bug.cgi?id=67557
37175
37176         Caused appcache test to fail on various bots (Requested by
37177         rniwa on #webkit).
37178
37179         * Scripts/webkitpy/layout_tests/port/webkit.py:
37180
37181 2011-09-02  Michael Saboff  <msaboff@apple.com>
37182
37183         Add JSC:RegExp functional tests
37184         https://bugs.webkit.org/show_bug.cgi?id=67339
37185
37186         New perl script to build JavaScriptCore and run the RegExp tests.
37187
37188         Reviewed by Gavin Barraclough.
37189
37190         * Scripts/run-regexp-tests: Added.
37191
37192 2011-09-02  Michael Saboff  <msaboff@apple.com>
37193
37194         Add JSC:RegExp functional tests
37195         https://bugs.webkit.org/show_bug.cgi?id=67339
37196
37197         New perl script to build JavaScriptCore and run the RegExp tests.
37198
37199         Reviewed by Gavin Barraclough.
37200
37201         * Scripts/run-regexp-tests: Added.
37202
37203 2011-09-02  Eric Seidel  <eric@webkit.org>
37204
37205         Reshuffle some code in WebKitDriver._read_block in preparation for reading stderr/stdout separately
37206         https://bugs.webkit.org/show_bug.cgi?id=67530
37207
37208         Unreviewed.  Fixing typo from previous commit.
37209
37210         Turns out there was *no* unittesting of WebKitDriver.  Added a basic test of _read_block
37211         which exercises the code I previously made a typo in.
37212
37213         * Scripts/webkitpy/layout_tests/port/webkit.py:
37214         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
37215
37216 2011-09-02  Eric Seidel  <eric@webkit.org>
37217
37218         Reshuffle some code in WebKitDriver._read_block in preparation for reading stderr/stdout separately
37219         https://bugs.webkit.org/show_bug.cgi?id=67530
37220
37221         Reviewed by Adam Barth.
37222
37223         No functional change, just reshuffling code.
37224
37225         * Scripts/webkitpy/layout_tests/port/webkit.py:
37226
37227 2011-09-02  Darin Adler  <darin@apple.com>
37228
37229         Added Subversion ignore for .pyc generated files.
37230
37231         * Scripts/webkitpy/layout_tests/models: Added property svn:ignore.
37232         * Scripts/webkitpy/layout_tests/servers: Added property svn:ignore.
37233         * Scripts/webkitpy/tool/servers: Added property svn:ignore.
37234
37235 2011-09-02  Adam Barth  <abarth@webkit.org>
37236
37237         Enable testing on mac-ews
37238         https://bugs.webkit.org/show_bug.cgi?id=67505
37239
37240         Reviewed by Eric Seidel.
37241
37242         This patch enables testing on the Mac EWS, which should help
37243         contributors not turn the Mac bots red.
37244
37245         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
37246
37247 2011-09-01  Beth Dakin  <bdakin@apple.com>
37248
37249         https://bugs.webkit.org/show_bug.cgi?id=67451
37250         Add a test for going back to a cached page after changing the device scale factor
37251
37252         Reviewed by Adam Roben.
37253
37254         New test DeviceScaleFactorOnBack.mm inherits from WebKitAgnosticTest.
37255         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
37256         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm: Added.
37257         (TestWebKitAPI::DeviceScaleFactorOnBack::url):
37258         (TestWebKitAPI::DeviceScaleFactorOnBack::didLoadURL):
37259         (TestWebKitAPI::DeviceScaleFactorOnBack::createWindow):
37260         (TestWebKitAPI::DeviceScaleFactorOnBack::initializeView):
37261         (TestWebKitAPI::DeviceScaleFactorOnBack::runTest):
37262         (TestWebKitAPI::TEST_F):
37263
37264         Added new function to WebKitAgnosticTest to goBack. Separated 
37265         waitForLoadToFinish() into its own function (instead of being a part of 
37266         loadAndWaitUntilFinished()) so that it can be called from goBack as 
37267         well. Also added initializeView() so we can set the cache model.
37268         * TestWebKitAPI/mac/WebKitAgnosticTest.h:
37269         (TestWebKitAPI::WebKitAgnosticTest::initializeView):
37270         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
37271         (TestWebKitAPI::WebKitAgnosticTest::WebKitAgnosticTest):
37272         (TestWebKitAPI::WebKitAgnosticTest::runWebKit1Test):
37273         (TestWebKitAPI::WebKitAgnosticTest::runWebKit2Test):
37274         (TestWebKitAPI::WebKitAgnosticTest::loadURL):
37275         (TestWebKitAPI::WebKitAgnosticTest::goBack):
37276         (TestWebKitAPI::WebKitAgnosticTest::waitForLoadToFinish):
37277
37278 2011-09-02  Anders Carlsson  <andersca@apple.com>
37279
37280         Build fix.
37281
37282         * DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp:
37283         (PrivateBrowsing::ScriptableObject::pluginTest):
37284
37285 2011-09-02  Anders Carlsson  <andersca@apple.com>
37286
37287         Move private browsing test to a PluginTest subclass
37288         https://bugs.webkit.org/show_bug.cgi?id=67498
37289
37290         Reviewed by Darin Adler.
37291
37292         * DumpRenderTree/DumpRenderTree.gypi:
37293         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
37294         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
37295         (pluginGetProperty):
37296         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
37297         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
37298         (PluginTest::NPP_SetValue):
37299         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
37300         * DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp: Added.
37301         (PrivateBrowsing::PrivateBrowsing):
37302         (PrivateBrowsing::privateBrowsingEnabled):
37303         (PrivateBrowsing::cachedPrivateBrowsingEnabled):
37304         (PrivateBrowsing::ScriptableObject::hasProperty):
37305         (PrivateBrowsing::ScriptableObject::getProperty):
37306         (PrivateBrowsing::ScriptableObject::pluginTest):
37307         (PrivateBrowsing::NPP_New):
37308         (PrivateBrowsing::NPP_GetValue):
37309         (PrivateBrowsing::NPP_SetValue):
37310         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
37311         (NPP_New):
37312         (NPP_SetValue):
37313         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
37314         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
37315         * GNUmakefile.am:
37316
37317 2011-09-02  Csaba Osztrogonác  <ossy@webkit.org>
37318
37319         [Qt] Build dependency problems
37320         https://bugs.webkit.org/show_bug.cgi?id=38054
37321
37322         Trivial fix after r94288.
37323
37324         Rubber-stamped by Andras Becsi.
37325
37326         * Scripts/webkitdirs.pm: We should read the whole defaults.txt, not only the first two lines.
37327         (buildQMakeProject):
37328
37329 2011-09-02  Andras Becsi  <andras.becsi@nokia.com>
37330
37331         Remove my old e-mail address and add my new one.
37332
37333         Rubber-stamped by Tor Arne Vestbø.
37334
37335         * Scripts/webkitpy/common/config/committers.py:
37336
37337 2011-09-02  Philippe Normand  <pnormand@igalia.com>
37338
37339         [GTK] run-gtk-tests leaves a zombie Xvfb process
37340         https://bugs.webkit.org/show_bug.cgi?id=67389
37341
37342         Reviewed by Martin Robinson.
37343
37344         * Scripts/run-gtk-tests: Properly close STDIN and STDERR on the
37345         child process instead of doing shell redirection.
37346
37347 2011-09-01  Mark Rowe  <mrowe@apple.com>
37348
37349         Fix the build by adding some more missing return types.
37350
37351         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
37352         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
37353
37354 2011-09-01  Eric Seidel  <eric@webkit.org>
37355
37356         REGRESSION (NRWT): Leaks Viewer can't load leaks from test runs that used NRWT
37357         https://bugs.webkit.org/show_bug.cgi?id=66228
37358
37359         Reviewed by Dirk Pranke.
37360
37361         ORWT used $(PROCESS)$(NUMBER)-leaks.txt for leaks filenames.
37362         The LeaksViewer tool globs for all *-leaks.txt files.
37363         This patch makes NRWT output $(PROCESS)-$(PID)-leaks.txt which should match.
37364
37365         In order to test this I had to fix a limitation in our MockFileSystem.glob
37366         method.  However, doing so uncovered a typo and bug in the integration tests.
37367         I've disabled the offending integration tests.
37368
37369         * Scripts/webkitpy/common/system/filesystem_mock.py:
37370         * Scripts/webkitpy/layout_tests/port/leakdetector.py:
37371         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
37372
37373 2011-09-01  Dominic Mazzoni  <dmazzoni@google.com>
37374
37375         Adds a LayoutTestController method to make it possible to test
37376         starting speech input via an API call.
37377         https://bugs.webkit.org/show_bug.cgi?id=60170
37378
37379         Reviewed by Dimitri Glazkov.
37380
37381         * DumpRenderTree/LayoutTestController.h:
37382         * DumpRenderTree/chromium/LayoutTestController.cpp:
37383         (LayoutTestController::LayoutTestController):
37384         (LayoutTestController::startSpeechInput):
37385         * DumpRenderTree/chromium/LayoutTestController.h:
37386         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
37387         (LayoutTestController::startSpeechInput):
37388         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
37389         (LayoutTestController::startSpeechInput):
37390         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
37391         (LayoutTestController::startSpeechInput):
37392         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
37393         (LayoutTestController::startSpeechInput):
37394         * DumpRenderTree/qt/LayoutTestControllerQt.h:
37395         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
37396         (LayoutTestController::startSpeechInput):
37397         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
37398         (LayoutTestController::startSpeechInput):
37399
37400 2011-09-01  Tim Horton  <hortont424@gmail.com>
37401
37402         Fix TestWebKitAPI build on clang-2.0
37403
37404         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
37405
37406 2011-09-01  Adam Barth  <abarth@webkit.org>
37407
37408         Remove unused "extension" parameter from rebaseline gardeningserver handler
37409         https://bugs.webkit.org/show_bug.cgi?id=67384
37410
37411         Reviewed by James Robinson.
37412
37413         This parameter hasn't done anything in a while.
37414
37415         * Scripts/webkitpy/tool/commands/rebaseline.py:
37416         * Scripts/webkitpy/tool/servers/gardeningserver.py:
37417         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
37418
37419 2011-09-01  Eric Seidel  <eric@webkit.org>
37420
37421         Unreviewed.
37422
37423         Fix a typo in unittests.  Unfortunately fixing it
37424         caused several assertions.  Just disabling the test
37425         instead, since it was providing no value before due to the typo.
37426
37427         * Scripts/webkitpy/layout_tests/port/test.py:
37428
37429 2011-09-01  Adam Barth  <abarth@webkit.org>
37430
37431         Add a "rebaseline" button to the garden-o-matic summary page
37432         https://bugs.webkit.org/show_bug.cgi?id=67382
37433
37434         Reviewed by Dimitri Glazkov.
37435
37436         As much as we might wish folks to not rebaseline entire test groups at
37437         once, the truth is that doing so is a common operation.  Adding a
37438         button for this operation is likely to make folks happy.
37439
37440         This patch also cleans up a bunch of plumbing surrounding failureInfo
37441         objects.
37442
37443         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
37444         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
37445         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
37446         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
37447         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
37448         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
37449         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
37450         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
37451         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
37452         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
37453
37454 2011-09-01  Adam Barth  <abarth@webkit.org>
37455
37456         garden-o-matic should let the gardener assign blame for a group of test failures
37457         https://bugs.webkit.org/show_bug.cgi?id=67379
37458
37459         Reviewed by Dimitri Glazkov.
37460
37461         If a group of test failures has a large revision range, the gardener
37462         might wish to blame a specific revision for the failure.  Currently,
37463         this only effect of assigning blame in this way is to hide the other
37464         suspect commits.
37465
37466         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
37467         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
37468         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
37469
37470 2011-09-01  Adam Barth  <abarth@webkit.org>
37471
37472         Hide garden-o-matic failure table until hover
37473         https://bugs.webkit.org/show_bug.cgi?id=67376
37474
37475         Reviewed by Dimitri Glazkov.
37476
37477         This patch removes the failure table for build failures (because it
37478         does not make sense) and hides the failure table for test groups until
37479         the user hovers over the test failure block, reducing visual noise.
37480
37481         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
37482         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
37483         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
37484
37485 2011-09-01  Adam Barth  <abarth@webkit.org>
37486
37487         Switch garden-o-matic from commitData.title to commitData.summary
37488         https://bugs.webkit.org/show_bug.cgi?id=67375
37489
37490         Reviewed by Dimitri Glazkov.
37491
37492         commitData.title is a string provided by Trac, which isn't great in all
37493         cases.  commitData.summary is my attempt to find the most important
37494         one-line summary of the commit.  This patch switches garden-o-matic
37495         over to summary.
37496
37497         Also, this patch tweaks a bunch of CSS to tighten up the summary page
37498         and reduce visual noise.
37499
37500         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
37501         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
37502         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
37503
37504 2011-09-01  Adam Barth  <abarth@webkit.org>
37505
37506         Group failing tests in garden-o-matic if there are more than three in a folder
37507         https://bugs.webkit.org/show_bug.cgi?id=67373
37508
37509         Reviewed by Dimitri Glazkov.
37510
37511         Sometimes a failure will cause many tests in a given directory to fail.
37512         When that happens, it's better to list the directory as a single item
37513         (with a count) rather than spamming all the test names.
37514
37515         (This patch also updates a bunch of unit test expected results after my last commit.)
37516
37517         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
37518         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
37519         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
37520         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
37521         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
37522
37523 2011-09-01  Adam Barth  <abarth@webkit.org>
37524
37525         Lower the visual noise from the failing builders display
37526         https://bugs.webkit.org/show_bug.cgi?id=67369
37527
37528         Reviewed by Dimitri Glazkov.
37529
37530         This patch ensures that the "Building" row in the failing builders
37531         display is always last and dims it by 50% to reduce visual noise.  This
37532         lets the gardener focus on the actual failures.
37533
37534         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
37535         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
37536         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/failures.css: Added.
37537
37538 2011-09-01  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
37539
37540         [Qt] Build dependency problems
37541         https://bugs.webkit.org/show_bug.cgi?id=38054
37542
37543         Make clean build after the defines are changed.
37544
37545         Reviewed by Csaba Osztrogonác.
37546
37547         * Scripts/webkitdirs.pm:
37548         (buildQMakeProject):
37549
37550 2011-08-31  Adam Barth  <abarth@webkit.org>
37551
37552         Move DumpRenderTree to WebKitPlatformSupport
37553         https://bugs.webkit.org/show_bug.cgi?id=67331
37554
37555         Reviewed by Darin Fisher.
37556
37557         This patch update DumpRenderTree to account for the WebKitClient =>
37558         WebKitPlatformSupport rename.
37559
37560         * DumpRenderTree/chromium/NotificationPresenter.cpp:
37561         (NotificationPresenter::show):
37562         * DumpRenderTree/chromium/Task.cpp:
37563         (postTask):
37564
37565 2011-08-31  Eric Seidel  <eric@webkit.org>
37566
37567         Add queues.webkit.org/active-bots page to make it easy to see which bots are down
37568         https://bugs.webkit.org/show_bug.cgi?id=67314
37569
37570         Reviewed by Adam Barth.
37571
37572         Very simple page.  Just lists all the bots, what queue they belong to and what we last heard from them.
37573         If we haven't heard from a bot in the last 500 messages (last day or so), then it won't show up here.
37574         This makes it very easy for me to see which of my cr-jail bots might be down at any one time.
37575
37576         I also moved a bunch of code into dashboard.css which belonged there.
37577
37578         * QueueStatusServer/handlers/activebots.py: Added.
37579         * QueueStatusServer/main.py:
37580         * QueueStatusServer/stylesheets/dashboard.css:
37581         (.queue_bubble):
37582         (.queue_name):
37583         (.last_heard_from):
37584         (.status_text):
37585         (.alive):
37586         (.behind):
37587         (.dead):
37588         * QueueStatusServer/templates/activebots.html: Added.
37589         * QueueStatusServer/templates/dashboard.html:
37590         * QueueStatusServer/templates/recentstatus.html:
37591
37592 2011-08-31  Oliver Hunt  <oliver@apple.com>
37593
37594         Move CheckedArithmeticOperations.cpp to the intended location
37595
37596         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
37597         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp: Renamed from Tools/TestWebKitAPI/Tests/CheckedArithmeticOperations.cpp.
37598
37599 2011-08-31  Elliot Poger  <epoger@google.com>
37600
37601         add unittest to validate the complete set of Chromium configurations
37602         https://bugs.webkit.org/show_bug.cgi?id=67211
37603
37604         Reviewed by Adam Barth.
37605
37606         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
37607
37608 2011-08-31  Nico Weber  <thakis@chromium.org>
37609
37610         Make ScrollAnimator(Chromium)?Mac check scrollAnimatorEnabled()
37611         https://bugs.webkit.org/show_bug.cgi?id=67297
37612
37613         Reviewed by Tony Chang.
37614
37615         Explicitly disable smooth scrolling in chromium's DRT.
37616
37617         * DumpRenderTree/chromium/WebPreferences.cpp:
37618         (WebPreferences::applyTo):
37619
37620 2011-08-31  Oliver Hunt  <oliver@apple.com>
37621
37622         Add Checked<> tests to windows build
37623
37624         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
37625
37626 2011-08-30  Oliver Hunt  <oliver@apple.com>
37627
37628         Add support for checked arithmetic
37629         https://bugs.webkit.org/show_bug.cgi?id=67095
37630
37631         Reviewed by Sam Weinig.
37632
37633         Add test cases for Checked<>
37634
37635         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
37636         * TestWebKitAPI/Tests/CheckedArithmeticOperations.cpp: Added.
37637
37638 2011-08-31  Adam Barth  <abarth@webkit.org>
37639
37640         Move summary.html to garden-o-matic.html.
37641
37642         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html.
37643         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js.
37644         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js: Removed.
37645         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Removed.
37646
37647 2011-08-31  Noel Gordon  <noel.gordon@gmail.com>
37648
37649         [chromium] DRT linux should pass nativeKeyCode to plugins
37650         https://bugs.webkit.org/show_bug.cgi?id=66679
37651
37652         Reviewed by Tony Chang.
37653
37654         * DumpRenderTree/chromium/EventSender.cpp:
37655         (EventSender::keyDown):  Call a Chromium Linux GTK helper routine that returns the
37656         (simulated) nativeKeyCode for the given input keyboard code.
37657
37658 2011-08-31  Adam Barth  <abarth@webkit.org>
37659
37660         Tighen up UI for garden-o-matic tab strip
37661         https://bugs.webkit.org/show_bug.cgi?id=67266
37662
37663         Reviewed by Dimitri Glazkov.
37664
37665         This patch add CSS to move the tab strip to the edges of the page and
37666         to remove some gratuitous border-radius.
37667
37668         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css:
37669         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
37670
37671 2011-08-31  Adam Barth  <abarth@webkit.org>
37672
37673         garden-o-matic results view shouldn't be horrifically ugly
37674         https://bugs.webkit.org/show_bug.cgi?id=67264
37675
37676         Reviewed by Dimitri Glazkov.
37677
37678         Minor tweak to the results view CSS to make it fit in better with the new tabbed UI.
37679
37680         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
37681         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
37682         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
37683
37684 2011-08-31  Adam Barth  <abarth@webkit.org>
37685
37686         garden-o-matic needs a tabstrip
37687         https://bugs.webkit.org/show_bug.cgi?id=67263
37688
37689         Reviewed by Dimitri Glazkov.
37690
37691         This patch adds a basic tabstrip to garden-o-matic.  The results
37692         details view now opens in the "Results" tab, and the user can flip back
37693         and forth between the Summary and the Results tab quickly.  There's
37694         also a stub for a "Commits" tab, which is disabled.
37695
37696         This patch isn't the most beautiful in the world, but it gets the ball
37697         rolling on a multi-modal UI.
37698
37699         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
37700         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js:
37701         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
37702         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css:
37703         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
37704
37705 2011-08-31  Ai Makabi  <makabi@google.com>
37706
37707         Extract reference links from reftest test file.
37708         https://bugs.webkit.org/show_bug.cgi?id=66838
37709
37710         Reviewed by Shinichiro Hamaji.
37711
37712         * Scripts/webkitpy/layout_tests/reftests/__init__.py: Added.
37713         * Scripts/webkitpy/layout_tests/reftests/extract_reference_link.py: Added.
37714         * Scripts/webkitpy/layout_tests/reftests/extract_reference_link_unittest.py: Added.
37715
37716 2011-08-03  Philippe Normand  <pnormand@igalia.com>
37717
37718         [webkitpy] missing log import in common/net/resultsjsonparser.py
37719         https://bugs.webkit.org/show_bug.cgi?id=65606
37720
37721         Reviewed by Martin Robinson.
37722
37723         * Scripts/webkitpy/common/net/resultsjsonparser.py: Import the logging module.
37724
37725 2011-08-30  Philippe Normand  <pnormand@igalia.com>
37726
37727         [stylechecker] complains about NULL usage in some gst_structure_ calls
37728         https://bugs.webkit.org/show_bug.cgi?id=67194
37729
37730         Reviewed by Martin Robinson.
37731
37732         Don't warn about NULL in some gst_structure_ calls. 0 can't be
37733         used for these, a proper sentinel is required.
37734
37735         * Scripts/webkitpy/style/checkers/cpp.py:
37736         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
37737
37738 2011-08-30  Adam Barth  <abarth@webkit.org>
37739
37740         Remove old-style UI from garden-o-matic
37741         https://bugs.webkit.org/show_bug.cgi?id=67257
37742
37743         Reviewed by Dimitri Glazkov.
37744
37745         This code is nowhere near as awesome as the new hotness.  Let's remove
37746         it so it doesn't weigh us down.
37747
37748         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Removed.
37749         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/main.js: Removed.
37750         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
37751         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
37752         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/unexpected-passes.js: Removed.
37753         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.html: Removed.
37754
37755 2011-08-30  Takashi Toyoshima  <toyoshim@chromium.org>
37756
37757         [WebSocket] update pywebsocket to 0.6b5.
37758         https://bugs.webkit.org/show_bug.cgi?id=66924
37759
37760         Reviewed by Kent Tamura.
37761
37762         pywebsocket 0.6b2 supported minimum features of Hybi-08 specification.
37763         Now, pywebsocket 0.6b5 supports full features of Hybi-10 specification.
37764         0.6b3 or later supports a closing handshake handler and it is useful to
37765         verify client's closing handshake implementation.
37766         0.6b4 supports AbortedByUserException. It is useful to eliminate
37767         unnecessary server warning messages on intended abnormal closures.
37768         0.6b5 supports Python 2.5.1 or Mac 10.5.
37769
37770         * Scripts/webkitpy/thirdparty/__init__.py:
37771         Update download URL and directory path.
37772
37773 2011-08-30  Dan Bernstein  <mitz@apple.com>
37774
37775         Test for <rdar://problem/9281695> Add text search API for getting the DOM range of a text match
37776         https://bugs.webkit.org/show_bug.cgi?id=67230
37777
37778         Reviewed by Darin Adler.
37779
37780         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
37781         * TestWebKitAPI/Tests/mac/DOMRangeOfString.html: Added.
37782         * TestWebKitAPI/Tests/mac/DOMRangeOfString.mm: Added.
37783         (-[DOMRangeOfStringFrameLoadDelegate webView:didFinishLoadForFrame:]):
37784         (TestWebKitAPI::TEST):
37785
37786 2011-08-30  Aaron Colwell  <acolwell@chromium.org>
37787
37788         Add MediaSource API to HTMLMediaElement
37789         https://bugs.webkit.org/show_bug.cgi?id=64731
37790
37791         Reviewed by Eric Carlson.
37792
37793         * Scripts/build-webkit:
37794
37795 2011-08-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
37796
37797         Emit last progress notification before calling dispatchDidFinishLoad
37798         https://bugs.webkit.org/show_bug.cgi?id=28851
37799
37800         Reviewed by Adam Barth.
37801
37802         Implement dumpProgressFinishedCallback() in the layoutTestController for Qt,
37803         Chromium and GTK ports. The first two were simple changes.
37804
37805         Some refactoring was needed in GTK port to assure that the dumps are emitted
37806         correctly and the processing after the page load finished is in the right place.
37807
37808         To detect the load finished, we use the callback for the "load-status" notifier
37809         signal of the top loading frame. And we use the deprecated "load-finished" signal
37810         for dumping (if enabled) the progress finished expected output.
37811
37812         * DumpRenderTree/LayoutTestController.cpp:
37813         (LayoutTestController::LayoutTestController):
37814         (dumpProgressFinishedCallbackCallback):
37815         (LayoutTestController::staticFunctions):
37816         * DumpRenderTree/LayoutTestController.h:
37817         (LayoutTestController::dumpProgressFinishedCallback):
37818         (LayoutTestController::setDumpProgressFinishedCallback):
37819         * DumpRenderTree/chromium/LayoutTestController.cpp:
37820         (LayoutTestController::LayoutTestController):
37821         (LayoutTestController::dumpProgressFinishedCallback):
37822         (LayoutTestController::reset):
37823         * DumpRenderTree/chromium/LayoutTestController.h:
37824         (LayoutTestController::shouldDumpProgressFinishedCallback):
37825         (LayoutTestController::setShouldDumpProgressFinishedCallback):
37826         * DumpRenderTree/chromium/WebViewHost.cpp:
37827         (WebViewHost::didStopLoading):
37828         * DumpRenderTree/gtk/DumpRenderTree.cpp:
37829         (webViewLoadFinished):
37830         (topLoadingFrameLoadFinished):
37831         (webFrameLoadStatusNotified):
37832         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
37833         (LayoutTestController::reset):
37834         (LayoutTestController::dumpProgressFinishedCallback):
37835         * DumpRenderTree/qt/LayoutTestControllerQt.h:
37836
37837 2011-08-30  Filip Pizlo  <fpizlo@apple.com>
37838
37839         JavaScriptCore does not have a good mechanism for performance
37840         regression testing
37841         https://bugs.webkit.org/show_bug.cgi?id=67177
37842
37843         Reviewed by Darin Adler.
37844         
37845         Added a new script, which allows for testing one, two, or more VMs
37846         at once on SunSpider, V8, and Kraken benchmarks.  Benchmark/VM runs
37847         are interleaved at random to minimize systematics.  The results
37848         that bencher prints includes all possible relevant information about
37849         how bencher was invoked.  Bencher can be easily used to measure
37850         performance changes down to fractions of a percent.
37851         
37852         Bencher also includes experimental support for running benchmarks in
37853         a DumpRenderTree release build.  This works in SunSpider and V8, but
37854         not yet in Kraken.  Running benchmarks in DumpRenderTree more
37855         closely mimics the performance when running in browser.
37856
37857         * Scripts/bencher: Added.
37858
37859 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
37860
37861         DumpRenderTree should begin each test with an empty cookie store
37862         https://bugs.webkit.org/show_bug.cgi?id=63545
37863         <rdar://problem/5666907>
37864
37865         Reviewed by Darin Adler.
37866
37867         * DumpRenderTree/mac/DumpRenderTree.mm:
37868         (resetDefaultsToConsistentValues):
37869         (setDefaultsToConsistentValuesForTesting):
37870         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
37871         (LayoutTestController::setAlwaysAcceptCookies):
37872         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
37873         (WTR::InjectedBundle::beginTesting):
37874         Use new SPIs to manipulate sessions.
37875
37876 2011-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
37877
37878         Unreviewed, rolling out r94055 and r94057.
37879         http://trac.webkit.org/changeset/94055
37880         http://trac.webkit.org/changeset/94057
37881         https://bugs.webkit.org/show_bug.cgi?id=67191
37882
37883         Many failures on Mac 10.5 (Requested by toyoshim on #webkit).
37884
37885         * Scripts/webkitpy/thirdparty/__init__.py:
37886
37887 2011-08-30  Adam Barth  <abarth@webkit.org>
37888
37889         Chromium Android should not be a core builder
37890         https://bugs.webkit.org/show_bug.cgi?id=67184
37891
37892         Reviewed by Ryosuke Niwa.
37893
37894         This bot hasn't been consistently green yet because it has never actually run!
37895
37896         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
37897         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
37898
37899 2011-08-30  Takashi Toyoshima  <toyoshim@chromium.org>
37900
37901         [WebSocket] update pywebsocket to 0.6b4.
37902         https://bugs.webkit.org/show_bug.cgi?id=66924
37903
37904         Reviewed by Kent Tamura.
37905
37906         pywebsocket 0.6b2 supported minimum features of Hybi-08 specification.
37907         Now, pywebsocket 0.6b4 supports full features of Hybi-10 specification.
37908         0.6b3 or later supports a closing handshake handler and it is useful to
37909         verify client's closing handshake implementation.
37910         0.6b4 supports AbortedByUserException. It is useful to eliminate
37911         unnecessary server warning messages on intended abnormal closures.
37912
37913         * Scripts/webkitpy/thirdparty/__init__.py:
37914         Update download URL and directory path.
37915
37916 2011-08-29  Tom Zakrajsek  <tomz@codeaurora.org>
37917
37918         sheriffbot "usage" help statements are wrong
37919         https://bugs.webkit.org/show_bug.cgi?id=67170
37920
37921         Reviewed by Adam Barth.
37922
37923         * Scripts/webkitpy/tool/bot/irc_command.py:
37924         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
37925         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
37926
37927 2011-08-29  Adam Barth  <abarth@webkit.org>
37928
37929         Add support for chomium-mac (non-CoreGraphics) baselines
37930         https://bugs.webkit.org/show_bug.cgi?id=67163
37931
37932         Reviewed by Eric Seidel.
37933
37934         This patch teaches the non-CG chromium-mac bots to look at non-CG
37935         baselines.  However, the patch still leaves CG as the default set of
37936         baselines.
37937
37938         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
37939         * Scripts/webkitpy/common/config/build.py:
37940         * Scripts/webkitpy/common/config/build_unittest.py:
37941         * Scripts/webkitpy/layout_tests/port/builders.py:
37942         * Scripts/webkitpy/layout_tests/port/chromium.py:
37943         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
37944         * Scripts/webkitpy/layout_tests/port/factory.py:
37945         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
37946         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
37947         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
37948         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
37949
37950 2011-08-29  Shawn Singh  <shawnsingh@chromium.org>
37951
37952         Small fix in chromium port of new-run-webkit-tests.
37953         https://bugs.webkit.org/show_bug.cgi?id=67078
37954
37955         Reviewed by Dirk Pranke.
37956
37957         * Scripts/webkitpy/layout_tests/port/chromium.py:
37958
37959 2011-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
37960
37961         Unreviewed, rolling out r93987, r93992, r93995, r93998, and
37962         r93999.
37963         http://trac.webkit.org/changeset/93987
37964         http://trac.webkit.org/changeset/93992
37965         http://trac.webkit.org/changeset/93995
37966         http://trac.webkit.org/changeset/93998
37967         http://trac.webkit.org/changeset/93999
37968         https://bugs.webkit.org/show_bug.cgi?id=67147
37969
37970         Many failing tests (Requested by ap on #webkit).
37971
37972         * DumpRenderTree/mac/DumpRenderTree.mm:
37973         (setDefaultsToConsistentValuesForTesting):
37974         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
37975         (WTR::InjectedBundle::beginTesting):
37976
37977 2011-08-26  Alexey Proskuryakov  <ap@apple.com>
37978
37979         DumpRenderTree should begin each test with an empty cookie store
37980         https://bugs.webkit.org/show_bug.cgi?id=63545
37981         <rdar://problem/5666907>
37982
37983         Reviewed by Darin Adler.
37984
37985         * DumpRenderTree/mac/DumpRenderTree.mm:
37986         (setDefaultsToConsistentValuesForTesting):
37987         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
37988         (WTR::InjectedBundle::beginTesting):
37989         Tell WebCore to use a temporary session, starting with a clean cookie store.
37990
37991 2011-08-23  Chris Marrin  <cmarrin@apple.com>
37992
37993         [mac] requestAnimationFrame support for mac port
37994         https://bugs.webkit.org/show_bug.cgi?id=59146
37995
37996         Reviewed by Simon Fraser.
37997
37998         Add support for request-animation-callback flag
37999
38000         * Scripts/build-webkit:
38001
38002 2011-08-27  Peter Beverloo  <peter@chromium.org>
38003
38004         Add a build bot for Chromium with OS(ANDROID)
38005         https://bugs.webkit.org/show_bug.cgi?id=66687
38006
38007         Reviewed by Adam Barth.
38008
38009         * BuildSlaveSupport/build.webkit.org-config/config.json:
38010
38011 2011-08-27  Peter Beverloo  <peter@chromium.org>
38012
38013         Update the master build bot configuration script to properly
38014         deal with the --chromium-android switch.
38015         https://bugs.webkit.org/show_bug.cgi?id=66687
38016
38017         The --chromium-android switch is needed when running
38018         update-webkit-chromium and build-webkit, as it'll tell the
38019         scripts to pull in the right dependencies and cross-compile
38020         WebKit using the Android NDK.
38021
38022         Reviewed by Adam Barth.
38023
38024         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
38025
38026 2011-08-27  Peter Beverloo  <peter@chromium.org>
38027
38028         Teach the update and build scripts how to handle dependencies
38029         and cross-compiling rules for the Chromium port on OS(ANDROID).
38030         https://bugs.webkit.org/show_bug.cgi?id=66687
38031
38032         Reviewed by Adam Barth.
38033
38034         * Scripts/build-webkit:
38035         * Scripts/update-webkit:
38036         * Scripts/update-webkit-chromium:
38037         * Scripts/webkitdirs.pm:
38038         (argumentsForConfiguration):
38039         (isChromium):
38040         (isChromiumAndroid):
38041         (determineIsChromiumAndroid):
38042         (buildChromium):
38043
38044 2011-08-26  Adam Barth  <abarth@webkit.org>
38045
38046         garden-o-matic should let me know that I need to run the local server
38047         https://bugs.webkit.org/show_bug.cgi?id=66985
38048
38049         Reviewed by Dimitri Glazkov.
38050
38051         The patch triggers an alert dialog whenever the user tries to use a
38052         feature that requires the local server.
38053
38054         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
38055         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
38056         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js:
38057
38058 2011-08-26  Dimitri Glazkov  <dglazkov@chromium.org>
38059
38060         garden-o-matic summary view should have pretty commit data information.
38061         https://bugs.webkit.org/show_bug.cgi?id=67069
38062
38063         Reviewed by Adam Barth.
38064
38065         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Added support for styling commit data.
38066         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Changed tests.
38067         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css: Defined global anchor color.
38068         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css: Styled commit data.
38069
38070 2011-08-26  Dimitri Glazkov  <dglazkov@chromium.org>
38071
38072         Tweak the use of Open Sans in garden-o-matic summary view to make it look decent on Windows and Linux.
38073         https://bugs.webkit.org/show_bug.cgi?id=67066
38074
38075         Reviewed by Adam Barth.
38076
38077         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary-mock.html: Tweaked.
38078         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Ditto.
38079
38080 2011-08-26  Raphael Kubo da Costa  <kubo@profusion.mobi>
38081
38082         [DRT] Include cairo.h in PixelDumpSupportCairo.h for EFL too.
38083         https://bugs.webkit.org/show_bug.cgi?id=67041
38084
38085         Reviewed by Martin Robinson.
38086
38087         This is a follow-up to r89053: EFL's PixelDumpSupportEfl.cpp includes
38088         PixelDumpSupportCairo.h, but the latter was #including cairo.h only
38089         when the GTK+ port was being built.
38090
38091         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
38092
38093 2011-08-26  Dimitri Glazkov  <dglazkov@chromium.org>
38094
38095         Clean up and line up layout in garden-o-matic summary view.
38096         https://bugs.webkit.org/show_bug.cgi?id=67057
38097
38098         1) Renamed ui.notifications.TestFailures to ui.notifications.TestsFailing to match BuildersFailing;
38099         2) Rearranged DOM structure a bit to accommodate recent changes;
38100         3) Added minimal CSS to line things up.
38101
38102         Reviewed by Adam Barth.
38103
38104         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Renamed TestFailures to TestsFailing.
38105         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary-mock.js: Added mocks for BuildersFailing.
38106         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js: Renamed TestFailures to TestsFailing.
38107         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js: Updated tests.
38108         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Changed DOM structure.
38109         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Updated tests.
38110         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css: Tweaked common appearance.
38111         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css: Added minimal layout/style.
38112         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary-mock.html: Added Google Web Fonts hook.
38113         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Ditto.
38114
38115 2011-08-26  Alice Liu  <alice.liu@apple.com>
38116
38117         https://bugs.webkit.org/show_bug.cgi?id=66823
38118         Add the request info to the WebPageProxy::CreateNewPage message
38119
38120         Reviewed by Anders Carlsson.
38121
38122         Update function declarations with additional parameter:
38123         * MiniBrowser/gtk/BrowserWindow.c:
38124         (createNewPage):
38125         * MiniBrowser/mac/BrowserWindowController.m:
38126         (createNewPage):
38127         * MiniBrowser/win/BrowserView.cpp:
38128         (createNewPage):
38129         * WebKitTestRunner/TestController.cpp:
38130         (WTR::TestController::createOtherPage):
38131         * WebKitTestRunner/TestController.h:
38132
38133 2011-08-26  Noel Gordon  <noel.gordon@gmail.com>
38134
38135         Make show-pretty-diff work on linux
38136         https://bugs.webkit.org/show_bug.cgi?id=67017
38137
38138         Reviewed by Adam Barth.
38139
38140         * Scripts/show-pretty-diff:
38141
38142 2011-08-25  Dimitri Glazkov  <dglazkov@chromium.org>
38143
38144         Reorganize garden-o-matic CSS files to match JS-built views.
38145         https://bugs.webkit.org/show_bug.cgi?id=66998
38146
38147         Reviewed by Adam Barth.
38148
38149         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css: Added.
38150         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css: Added.
38151         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css: Added.
38152         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/summary.css: Removed.
38153         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary-mock.html: Changed to use new CSS files.
38154         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Ditto.
38155
38156 2011-08-25  Adam Barth  <abarth@webkit.org>
38157
38158         garden-o-matic should be able to roll out patches
38159         https://bugs.webkit.org/show_bug.cgi?id=66982
38160
38161         Reviewed by Dimitri Glazkov.
38162
38163         This patch just wires the rollout event through the controller to the
38164         local server, which is already set up to perform rollouts.
38165
38166         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
38167         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
38168         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
38169         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
38170
38171 2011-08-25  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
38172
38173         [Qt] [WK2] Assert in computeViewportAttributes when MiniBrowser started with -touch
38174         https://bugs.webkit.org/show_bug.cgi?id=66951
38175
38176         Reviewed by Andreas Kling.
38177
38178         Function computeViewportAttributes() gets called when height is still 0 because MiniBrowser sets
38179         width and height one by one and setWidth cause geometryChange event in QTouchWebView. 
38180
38181         * MiniBrowser/qt/BrowserView.cpp:
38182         (BrowserView::resizeEvent):
38183
38184 2011-08-25  Dimitri Glazkov  <dglazkov@chromium.org>
38185
38186         garden-o-matic summary view should provide information on builders still in flight.
38187         https://bugs.webkit.org/show_bug.cgi?id=66992
38188
38189         Reviewed by Adam Barth.
38190
38191         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Added grabbing the list of in-flight builders.
38192         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js: Added buildersInFlightForRevision.
38193         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model_unittests.js: Added tests.
38194         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Split off updating builder results to own method.
38195         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Added tests.
38196
38197 2011-08-25  Adam Barth  <abarth@webkit.org>
38198
38199         webkit-patch rebaseline-expectations don't work when run outside the root
38200         https://bugs.webkit.org/show_bug.cgi?id=66966
38201
38202         Reviewed by Eric Seidel.
38203
38204         Turns out tool.path() used to be relative, which caused problems when
38205         running webkit-patch outside the root directory.  This patch makes it
38206         absolute.  I checked all callers, and they all appear to want this
38207         behavior.
38208
38209         It was unclear to me how to test this change because we only really
38210         have a testing strategy for webkitpy, not for the main script.
38211
38212         * Scripts/webkit-patch:
38213
38214 2011-08-25  Dimitri Glazkov  <dglazkov@chromium.org>
38215
38216         garden-o-matic summary needs a mock view that could be used for working on styling
38217         https://bugs.webkit.org/show_bug.cgi?id=66971
38218
38219         Reviewed by Adam Barth.
38220
38221         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary-mock.js: Added.
38222         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary-mock.html: Added.
38223
38224 2011-08-25  Anders Carlsson  <andersca@apple.com>
38225
38226         Return the correct value for NPNVsupportsCarbonBool
38227         https://bugs.webkit.org/show_bug.cgi?id=66964
38228
38229         Add a test.
38230
38231         Reviewed by Adam Roben.
38232
38233         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
38234         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/SupportsCarbonEventModel.cpp: Added.
38235         (SupportsCarbonEventModel::SupportsCarbonEventModel):
38236         (SupportsCarbonEventModel::testConvert):
38237         (SupportsCarbonEventModel::runTest):
38238         (SupportsCarbonEventModel::NPP_New):
38239
38240 2011-08-25  Dimitri Glazkov  <dglazkov@chromium.org>
38241
38242         garden-o-matic summary view should not be broken.
38243
38244         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/summary.css:
38245         (table.comparison): Added more specificity.
38246
38247 2011-08-25  Adam Barth  <abarth@webkit.org>
38248
38249         This command has been broken for a while.  This patch updates the
38250         callsite to the new API.
38251
38252         * Scripts/webkitpy/tool/commands/rebaseline.py:
38253
38254 2011-08-25  Dimitri Glazkov  <dglazkov@chromium.org>
38255
38256         garden-o-matic needs a way to report where and how tests are failing in the summary view.
38257         https://bugs.webkit.org/show_bug.cgi?id=66955
38258
38259         Introduce FailureGrid, your one-stop failure-indicating destination. 
38260
38261         Reviewed by Adam Barth.
38262
38263         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html: Added new scripts.
38264         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js: Added.
38265         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js: Added.
38266         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Updated to use FailureGrid.
38267         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Updated tests.
38268         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Added new scripts.
38269
38270 2011-08-25  Igor Oliveira  <igor.oliveira@openbossa.org>
38271
38272         Add myself to the committers list
38273         https://bugs.webkit.org/show_bug.cgi?id=66941
38274
38275         Reviewed by Andreas Kling.
38276
38277         * Scripts/webkitpy/common/config/committers.py:
38278
38279 2011-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>
38280
38281         Unreviewed, rolling out r93767.
38282         http://trac.webkit.org/changeset/93767
38283         https://bugs.webkit.org/show_bug.cgi?id=66931
38284
38285         Broke Qt bot. (Requested by yutak on #webkit).
38286
38287         * Scripts/webkitpy/thirdparty/__init__.py:
38288
38289 2011-08-25  Takashi Toyoshima  <toyoshim@chromium.org>
38290
38291         [WebSocket] update pywebsocket to 0.6b3 which supports closing handshake test
38292         https://bugs.webkit.org/show_bug.cgi?id=66924
38293
38294         Reviewed by Kent Tamura.
38295
38296         * Scripts/webkitpy/thirdparty/__init__.py:
38297
38298 2011-08-24  Adam Barth  <abarth@webkit.org>
38299
38300         The user can't close the details view in garden-o-matic
38301         https://bugs.webkit.org/show_bug.cgi?id=66911
38302
38303         Reviewed by Dimitri Glazkov.
38304
38305         In addition to adding a close button, this patch changes the test
38306         selector to use a <select> element and refactors the test selector to
38307         share code with the builder selector.
38308
38309         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
38310         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
38311         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions_unittests.js:
38312         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
38313
38314 2011-08-24  James Robinson  <jamesr@chromium.org>
38315
38316         [chromium] Stacktrace not in test output when a test crashes
38317         https://bugs.webkit.org/show_bug.cgi?id=66806
38318
38319         Reviewed by Dirk Pranke.
38320
38321         Appends the .error and .text output when a test crashes since on chromium the .text contains the actual stack
38322         trace.
38323
38324         * Scripts/webkitpy/layout_tests/port/chromium.py:
38325
38326 2011-08-24  Adam Barth  <abarth@webkit.org>
38327
38328         Remove empty directory.
38329
38330         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui: Removed.
38331
38332 2011-08-24  Adam Barth  <abarth@webkit.org>
38333
38334         Finish writing up details-view in garden-o-matic
38335         https://bugs.webkit.org/show_bug.cgi?id=66891
38336
38337         Reviewed by Dimitri Glazkov.
38338
38339         This patch mostly just copies a bunch of CSS from main.css to
38340         summary.css.  Presumably we'll delete main.css soon.
38341
38342         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
38343         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
38344         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions_unittests.js:
38345         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/summary.css:
38346         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
38347
38348 2011-08-24  James Robinson  <jamesr@chromium.org>
38349
38350         Some compositing LayoutTests flakily crashing on Mac 10.6
38351         https://bugs.webkit.org/show_bug.cgi?id=66740
38352
38353         Reviewed by Adam Barth.
38354
38355         Null-check obj->pluginTest before dereferencing it. This can be null in chromium if the plugin load fails, for
38356         example if the test attempts to load a PDF plugin the load will fail since we don't have such a thing in the
38357         chromium configuration.
38358
38359         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
38360         (NPP_Destroy):
38361
38362 2011-08-24  Anton D'Auria  <adauria@apple.com>
38363
38364         No review necessary.
38365
38366         Adding myself to list of committers.
38367
38368         * Scripts/webkitpy/common/config/committers.py:
38369
38370 2011-08-24  Avi Drissman  <avi@google.com>
38371
38372         Crash when restoring NSGraphicsContext when running the Chromium GPU layout tests on Mac
38373         https://bugs.webkit.org/show_bug.cgi?id=66875
38374
38375         Reviewed by James Robinson.
38376
38377         * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
38378         (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
38379
38380 2011-08-23  Dimitri Glazkov  <dglazkov@chromium.org>
38381
38382         Make notifications appear in time order again.
38383         https://bugs.webkit.org/show_bug.cgi?id=66815
38384
38385         Reviewed by Adam Barth.
38386
38387         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Added setting index of the notification.
38388         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Updated the test.
38389
38390 2011-08-23  James Robinson  <jamesr@chromium.org>
38391
38392         [chromium] Need a way to test lost compositor context recovery
38393         https://bugs.webkit.org/show_bug.cgi?id=66820
38394
38395         Reviewed by Kenneth Russell.
38396
38397         Exposes a LayoutTestController interface in chromium to simulate a
38398         lost compositor context.
38399
38400         * DumpRenderTree/chromium/LayoutTestController.cpp:
38401         (LayoutTestController::LayoutTestController):
38402         (LayoutTestController::loseCompositorContext):
38403         * DumpRenderTree/chromium/LayoutTestController.h:
38404
38405 2011-08-23  Dimitri Glazkov  <dglazkov@chromium.org>
38406
38407         Change garden-o-matic frontend builder array to be a configuration map.
38408         https://bugs.webkit.org/show_bug.cgi?id=66816
38409
38410         Reviewed by Adam Barth.
38411
38412         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js: Made kBuilders a map, with value being a configuration object.
38413         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js: Adjusted callsites to expect a map.
38414         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/main.js: Ditto.
38415         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js: Ditto.
38416         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js: Ditto.
38417
38418 2011-08-23  Cary Clark  <caryclark@google.com>
38419
38420         Turn WebCanvas into CGContext before drawing scrollbar (DRT using Skia on Mac)
38421         https://bugs.webkit.org/show_bug.cgi?id=66803
38422
38423         This fixes the WebKit Canaries, in particular avoids a crash on tests
38424         like css1/basic/comments.html.
38425
38426         Reviewed by James Robinson.
38427
38428         * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
38429         (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
38430         The NSGraphicsContext call graphicsContextWithGraphicsPort takes a void*
38431         parameter, so it took a WebCanvas* (mapped to SkCanvas* in Skia-land)
38432         and treated it as if it were a CGContextRef.
38433
38434 2011-08-23  Patrick Gansterer  <paroga@webkit.org>
38435
38436         Fix mergeChangeLogs test on native windows
38437         https://bugs.webkit.org/show_bug.cgi?id=66797
38438
38439         Reviewed by Adam Roben.
38440
38441         Windows has no /tmp/ directory and the "TMPDIR" environment variable isn't set in the default setup.
38442         Add the "TEMP" environment variable as additional source for the temporary directory used in writeTempFile.
38443
38444         * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
38445         (writeTempFile):
38446
38447 2011-08-23  Dimitri Glazkov  <dglazkov@chromium.org>
38448
38449         garden-o-matic relative time is wrong and updates too frequently.
38450         https://bugs.webkit.org/show_bug.cgi?id=66802
38451
38452         Reviewed by Adam Barth.
38453
38454         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js: Changed to account for rounding correctly.
38455         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js: Updated tests.
38456         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js: Upped the interval to 1 minute.
38457
38458 2011-08-23  Patrick Gansterer  <paroga@webkit.org>
38459
38460         Add missing quotes around filenames in mergeChangeLogs
38461         https://bugs.webkit.org/show_bug.cgi?id=66794
38462
38463         Reviewed by Adam Roben.
38464
38465         * Scripts/VCSUtils.pm:
38466         (mergeChangeLogs):
38467
38468 2011-08-23  Patrick Gansterer  <paroga@webkit.org>
38469
38470         webkit-perl tests fail on win32 Perl due to lack of list form of pipe open implementation
38471         https://bugs.webkit.org/show_bug.cgi?id=49080
38472
38473         Reviewed by Adam Roben.
38474
38475         Use the string form of pipe open instead (like we do at all other places).
38476
38477         * Scripts/VCSUtils.pm:
38478         (mergeChangeLogs):
38479
38480 2011-08-23  Adam Barth  <abarth@webkit.org>
38481
38482         garden-o-matic summary should be able to examine failures
38483         https://bugs.webkit.org/show_bug.cgi?id=66748
38484
38485         Reviewed by Dimitri Glazkov.
38486
38487         This patch refactors a bunch of code from summary.js to independent
38488         controllers in controllers.js.  This patch also contains the first
38489         iteration of binding the "examine" event to a the behavior showing the
38490         details view for the tests.  There's more work to do here to make this
38491         work properly (and elegantly), but this patch is a start.
38492
38493         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
38494         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
38495         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
38496         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers/rebaseline.js:
38497         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js:
38498         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
38499         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
38500         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
38501         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
38502
38503 2011-08-23  Adam Barth  <abarth@webkit.org>
38504
38505         webkitpy/common/config/build.py shouldn't mention non-existant Android directory
38506         https://bugs.webkit.org/show_bug.cgi?id=66737
38507
38508         Reviewed by Steve Block.
38509
38510         This directory doesn't exist anymore now that the Android port shares
38511         more code with Chromium.
38512
38513         * Scripts/webkitpy/common/config/build.py:
38514
38515 2011-08-22  Eric Seidel  <eric@webkit.org>
38516
38517         Hack start-queue.sh in an attempt to resurrect the cr-jail-1 cr-mac-ews bot.
38518         I won't have ssh access to the bot again for a couple days, so
38519         attempting to fix by changing this script.  If this doesn't
38520         work we'll just live with the it hung for now.
38521
38522         Unreviewed.
38523
38524         * EWSTools/start-queue.sh:
38525
38526 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
38527
38528         webkit-patch rebaseline-expectations command should not rearrange the entire test_expectations.txt file.
38529         https://bugs.webkit.org/show_bug.cgi?id=66727
38530
38531         Reviewed by Adam Barth.
38532
38533         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Made it possible to run TestExpectationSerializer without a TestConfigurationConverter,
38534             in which case the serializer treats all expectations as unparsed.
38535         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added unit tests.
38536
38537 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
38538
38539         Update unit test expectations after r93530.
38540
38541         * Scripts/webkitpy/layout_tests/port/factory_unittest.py: Updated.
38542         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py: Ditto.
38543
38544 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
38545
38546         [Chromium] Expand CPU/GPU/Skia/CG into a matrix in graphics_type.
38547         https://bugs.webkit.org/show_bug.cgi?id=66705
38548
38549         Reviewed by Adam Barth.
38550
38551         * Scripts/webkitpy/layout_tests/port/chromium.py: Added plumbing for CG graphics types.
38552         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Adjusted unit test.
38553
38554 2011-08-22  James Robinson  <jamesr@chromium.org>
38555
38556         [chromium] Update builder names for chromium gpu bots due to CG switchover
38557         https://bugs.webkit.org/show_bug.cgi?id=66693
38558
38559         Reviewed by Dirk Pranke.
38560
38561         Update the port and builder names for the chromium mac gpu bots to
38562         account for the CG transition.
38563
38564         * Scripts/webkitpy/layout_tests/port/builders.py:
38565
38566 2011-08-22  Dirk Pranke  <dpranke@chromium.org>
38567
38568         fix the GPU bot names on the layout test dashboard
38569         https://bugs.webkit.org/show_bug.cgi?id=66697
38570
38571         Reviewed by Dimitri Glazkov.
38572
38573         * TestResultServer/static-dashboards/builders.js:
38574
38575 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
38576
38577         garden-o-matic's relative time display should be updated regularly.
38578         https://bugs.webkit.org/show_bug.cgi?id=66682
38579
38580         Reviewed by Adam Barth.
38581
38582         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js: Moved Time to ui.Time, added code for regular updates.
38583         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Changed to use ui.Time.
38584         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js: Added tests.
38585
38586 2011-08-22  Xianzhu Wang  <wangxianzhu@chromium.org>
38587
38588         Pass --makeargs of build-webkit to chromium linux builder
38589         https://bugs.webkit.org/show_bug.cgi?id=66361
38590
38591         Reviewed by Tony Chang.
38592
38593         * Scripts/build-webkit:
38594         * Scripts/webkitdirs.pm:
38595         (buildChromiumMakefile):
38596         (buildChromium):
38597
38598 2011-08-22  Peter Beverloo  <peter@chromium.org>
38599
38600         Add myself to the contributor list.
38601         https://bugs.webkit.org/show_bug.cgi?id=66674
38602
38603         Reviewed by Tony Gentilcore.
38604
38605         * Scripts/webkitpy/common/config/committers.py:
38606
38607 2011-08-22  Balazs Kelemen  <kbalazs@webkit.org>
38608
38609         [Qt] ImageDiff does not consider --tolerance
38610         https://bugs.webkit.org/show_bug.cgi?id=66299
38611
38612         Reviewed by Csaba Osztrogonác.
38613
38614         * DumpRenderTree/qt/ImageDiff.cpp:
38615         (main):
38616
38617 2011-08-22  Csaba Osztrogonác  <ossy@webkit.org>
38618
38619         Update contributor list.
38620
38621         Reviewed by Zoltan Herczeg.
38622
38623         * Scripts/webkitpy/common/config/committers.py:
38624
38625 2011-08-22  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
38626
38627         [ORWT] Fix --reset-results --add-platform-exceptions combo
38628         https://bugs.webkit.org/show_bug.cgi?id=65464
38629
38630         Reviewed by Csaba Osztrogonác.
38631
38632         * Scripts/old-run-webkit-tests:
38633
38634 2011-08-20  Adam Barth  <abarth@webkit.org>
38635
38636         garden-o-matic summary.html should have UI for examining failures
38637         https://bugs.webkit.org/show_bug.cgi?id=66625
38638
38639         Reviewed by Dimitri Glazkov.
38640
38641         This patch introduces the notion of UI actions and converts our
38642         existing manual <button> manipulation with this new abstraction.  The
38643         patch also adds an Examine button to failure notifications.  In a
38644         future patch, I'll add a controller that wires this button up to
38645         something useful.
38646
38647         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
38648         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
38649         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js: Added.
38650         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions_unittests.js: Added.
38651         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
38652         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
38653         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
38654         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
38655
38656 2011-08-20  Adam Barth  <abarth@webkit.org>
38657
38658         garden-o-matic summary page should indiciate compile failures
38659         https://bugs.webkit.org/show_bug.cgi?id=66624
38660
38661         Reviewed by Dimitri Glazkov.
38662
38663         This patch creates a notification-based UI for build failures.  The new
38664         UI displays the same information that used to be displayed in the
38665         infobar.  There's lots of room for improvement in surfacing more
38666         information, but this is a start.
38667
38668         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js:
38669         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
38670         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
38671
38672 2011-08-19  James Robinson  <jamesr@chromium.org>
38673
38674         [chromium] Default to experimental-fully-parallel mode for chromium gpu port
38675         https://bugs.webkit.org/show_bug.cgi?id=66606
38676
38677         Reviewed by Dirk Pranke.
38678
38679         The chromium GPU configuration does not (currently) contain any tests
38680         incompatible with --experimental-fully-parallel, and this flag is a
38681         significan speedup because of the directory canvas/philip/tests which
38682         contains 802 tests in the same directory. Setting this option by
38683         default on this configuration is a 2x speed in release, 44s to 22s,
38684         and a 3x speedup in debug, 223s to 77s, on linux on a 16 core machine.
38685
38686         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
38687         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
38688         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
38689
38690 2011-08-19  Sheriff Bot  <webkit.review.bot@gmail.com>
38691
38692         Unreviewed, rolling out r93426.
38693         http://trac.webkit.org/changeset/93426
38694         https://bugs.webkit.org/show_bug.cgi?id=66607
38695
38696         Broke the Mac build by not building gtest.framework anymore
38697         (Requested by andersca on #webkit).
38698
38699         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
38700
38701 2011-08-19  James Robinson  <jamesr@chromium.org>
38702
38703         [chromium] Chromium GPU layout tests should use the normal process number selection, not force 1 worker
38704         https://bugs.webkit.org/show_bug.cgi?id=66603
38705
38706         Reviewed by Dirk Pranke.
38707
38708         The various ChromiumGpu ports should use the same child worker
38709         selection logic as other ports so they can run with full
38710         parallelization on multicore systems.
38711
38712         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
38713         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
38714
38715 2011-08-19  Alok Priyadarshi  <alokp@chromium.org>
38716
38717         [chromium] Remove dependency of WebThemeControlDRTWin on skia::PlatformCanvas
38718         https://bugs.webkit.org/show_bug.cgi?id=66570
38719
38720         Reviewed by Mihai Parparita.
38721
38722         * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:
38723         (WebThemeControlDRTWin::draw):
38724         (WebThemeControlDRTWin::drawTextField):
38725         (WebThemeControlDRTWin::drawProgressBar):
38726         * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
38727
38728 2011-08-18  Dmitry Lomov  <dslomov@google.com>
38729
38730         TestWebKitAPI breaks on Windows due to fast malloc incompatibility.
38731         https://bugs.webkit.org/show_bug.cgi?id=66521
38732
38733         This patch ensures that gtest uses new and delete operators that are defined in JavaScriptCore.
38734
38735         Reviewed by David Levin.
38736
38737         * TestWebKitAPI/Tests/WTF/StringOperators.cpp: Removed redefinition of JS_EXPORTDATA.
38738
38739 2011-08-19  Adam Roben  <aroben@apple.com>
38740
38741         Add project file changes I left out in r93417
38742
38743         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
38744
38745 2011-08-19  Adam Roben  <aroben@apple.com>
38746
38747         Add a helper class for swizzling ObjC instance methods to TestWebKitAPI
38748
38749         Fixes <http://webkit.org/b/66565> TestWebKitAPI needs a way to override instance methods of
38750         NSScreen
38751
38752         Reviewed by Anders Carlsson.
38753
38754         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
38755
38756         * TestWebKitAPI/Tests/TestWebKitAPI/mac/InstanceMethodSwizzler.mm: Added.
38757         (-[SimpleObject setValue:]): Original implementation.
38758
38759         (TestWebKitAPI::setValue2):
38760         (TestWebKitAPI::setValue3):
38761         Swizzled implementations.
38762
38763         (TestWebKitAPI::TEST): Test that we can swizzle and re-swizzle and un-swizzle an ObjC
38764         instance method.
38765
38766         * TestWebKitAPI/mac/InstanceMethodSwizzler.h: Added.
38767         * TestWebKitAPI/mac/InstanceMethodSwizzler.mm: Added.
38768         (TestWebKitAPI::InstanceMethodSwizzler::InstanceMethodSwizzler): Swizzle the method.
38769         (TestWebKitAPI::InstanceMethodSwizzler::~InstanceMethodSwizzler): Unswizzle the method.
38770
38771 2011-08-19  Tom Zakrajsek  <tomz@codeaurora.org>
38772
38773         Fix _path_to_apache() error reporting
38774         https://bugs.webkit.org/show_bug.cgi?id=66486
38775
38776         Reviewed by Ryosuke Niwa.
38777
38778         * Scripts/webkitpy/layout_tests/port/webkit.py:
38779
38780 2011-08-19  Adam Roben  <aroben@apple.com>
38781
38782         Windows build fix after r93404
38783
38784         * TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp: Added missing #include.
38785
38786 2011-08-19  Tony Gentilcore  <tonyg@chromium.org>
38787
38788         Add leandrogracia to the committers list
38789         https://bugs.webkit.org/show_bug.cgi?id=66552
38790
38791         Also fix line endings in file.
38792
38793         No reviewed required.
38794
38795         * Scripts/webkitpy/common/config/committers.py:
38796
38797 2011-08-19  Amruth Raj  <amruthraj@motorola.com>
38798
38799         Fix compilation issue in WebKitTestRunner
38800         https://bugs.webkit.org/show_bug.cgi?id=66554
38801
38802         Reviewed by Martin Robinson.
38803
38804         * WebKitTestRunner/PixelDumpSupport.cpp:
38805
38806 2011-08-19  Adam Roben  <aroben@apple.com>
38807
38808         Pull some of DynamicDeviceScaleFactor's code up into a shareable base class
38809
38810         This will make it easier to write other WebKit-agnostic tests
38811
38812         Fixes <http://webkit.org/b/66558> Would like to be able to reuse DynamicDeviceScaleFactor's
38813         code in other WebKit-agnostic tests
38814
38815         Reviewed by Anders Carlsson.
38816
38817         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
38818
38819         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm: Fixed copyright. Moved a bunch of
38820         code to WebKitAgnosticTest.h/mm. Changed to inherit from WebKitAgnosticTest.
38821         (TestWebKitAPI::DynamicDeviceScaleFactor::url): Simple getter.
38822         (TestWebKitAPI::DynamicDeviceScaleFactor::didLoadURL): Calls through to runTest.
38823         (TestWebKitAPI::DynamicDeviceScaleFactor::runTest): Removed loading code which
38824         WebKitAgnosticTest handles for us.
38825         (TestWebKitAPI::TEST_F): Removed view-creation code which WebKitAgnosticTest handles for us.
38826
38827         * TestWebKitAPI/mac/WebKitAgnosticTest.h: Added. Code came from DynamicDeviceScaleFactor.
38828         (TestWebKitAPI::WebKitAgnosticTest::loadAndWaitUntilDone): Code came from
38829         DynamicDeviceScaleFactor::runTest.
38830
38831         * TestWebKitAPI/mac/WebKitAgnosticTest.mm: Copied from Tools/TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm.
38832         (TestWebKitAPI::WebKitAgnosticTest::runWebKit1Test): Code came from
38833         DynamicDeviceScaleFactor.WebKit.
38834         (TestWebKitAPI::WebKitAgnosticTest::runWebKit2Test): Code came from
38835         DynamicDeviceScaleFactor.WebKit2.
38836
38837 2011-08-19  Adam Roben  <aroben@apple.com>
38838
38839         Clean up #includes in TestWebKitAPI
38840
38841         Fixes <http://webkit.org/b/66556> TestWebKitAPI's prefix header isn't very helpful
38842
38843         Reviewed by Anders Carlsson.
38844
38845         * TestWebKitAPI/TestWebKitAPIPrefix.h: Added wtf/Platform.h. Added gtest/gtest.h for C++
38846         files and WebKit/WebKit.h for ObjC files.
38847
38848         * TestWebKitAPI/InjectedBundleController.cpp:
38849         * TestWebKitAPI/JavaScriptTest.h:
38850         * TestWebKitAPI/PlatformUtilities.h:
38851         * TestWebKitAPI/PlatformWebView.h:
38852         * TestWebKitAPI/Test.h:
38853         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
38854         * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
38855         * TestWebKitAPI/Tests/WTF/VectorReverse.cpp:
38856         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
38857         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
38858         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
38859         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
38860         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
38861         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
38862         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
38863         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
38864         * TestWebKitAPI/Tests/WebKit2/Find.cpp:
38865         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
38866         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
38867         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
38868         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
38869         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
38870         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
38871         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
38872         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
38873         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
38874         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
38875         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
38876         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
38877         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
38878         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
38879         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
38880         * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
38881         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
38882         * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
38883         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
38884         * TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
38885         * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
38886         * TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp:
38887         * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
38888         * TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp:
38889         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
38890         * TestWebKitAPI/TestsController.cpp:
38891         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
38892         Removed now-unnecessary #includes. Moved #includes of Test.h in with the rest of the
38893         #includes since it is no longer a special header.
38894
38895 2011-08-18  Dirk Pranke  <dpranke@chromium.org>
38896
38897         new-run-webkit-tests hung while acquiring http lock on snow leopard bots
38898         https://bugs.webkit.org/show_bug.cgi?id=64886
38899
38900         Temporarily disable the http locking to work around the issue.
38901         I'm not actually sure if this is going to work or improve things
38902         much.
38903
38904         Reviewed by Ryosuke Niwa.
38905
38906         * Scripts/webkitpy/layout_tests/port/mac.py:
38907
38908 2011-08-18  Tony Chang  <tony@chromium.org>
38909
38910         add embedded png checksums to WebKitTestRunner
38911         https://bugs.webkit.org/show_bug.cgi?id=66494
38912
38913         Looks like WebKitTestRunner has never supported embedded checksums.  This copies
38914         some code from DRT and adds it to the WebKitTestRunner.
38915
38916         Reviewed by Darin Adler.
38917
38918         * WebKitTestRunner/CyclicRedundancyCheck.cpp: Copied from Tools/DumpRenderTree
38919         * WebKitTestRunner/CyclicRedundancyCheck.h: Copied from Tools/DumpRenderTree
38920         * WebKitTestRunner/GNUmakefile.am: Add new files
38921         * WebKitTestRunner/PixelDumpSupport.cpp: Copied from Tools/DumpRenderTree
38922         * WebKitTestRunner/PixelDumpSupport.h: Copied from Tools/DumpRenderTree
38923         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Add new files
38924         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
38925         (WTR::dumpBitmap): Refactor to use PixelDumpSupport.
38926         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
38927         * WebKitTestRunner/cg/TestInvocationCG.cpp:
38928         (WTR::dumpBitmap): Refactor to use PixelDumpSupport.
38929         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
38930         * WebKitTestRunner/win/WebKitTestRunner.vcproj: Add new files
38931
38932 2011-08-18  Shawn Singh  <shawnsingh@chromium.org>
38933
38934         https://bugs.webkit.org/show_bug.cgi?id=47240
38935
38936         Fixed a cygwin path problem in the chromium port of diff_image;
38937         Also made the return values of the diff_image function more consistent.
38938
38939         Reviewed by Dirk Pranke.
38940
38941         * Scripts/webkitpy/layout_tests/port/chromium.py:
38942
38943 2011-08-17  Alejandro G. Castro  <alex@igalia.com>
38944
38945         [GTK] Fix compilation problems with deprecations in gtk+
38946         https://bugs.webkit.org/show_bug.cgi?id=66073
38947
38948         Reviewed by Martin Robinson.
38949
38950         * DumpRenderTree/gtk/DumpRenderTree.cpp:
38951         (main): G_CONST_RETURN was deprecated
38952         * GtkLauncher/main.c:
38953         (createWindow): Added gtk_box_new conditional compilation for
38954         gtk+-3.
38955         * MiniBrowser/gtk/BrowserWindow.c:
38956         (browser_window_init): Replaced gtk_vbox_new with gtk_box_new, we
38957         are just supporting gtk+-3 for WebKit2.
38958
38959 2011-08-18  Anders Carlsson  <andersca@apple.com>
38960
38961         Fix libc++ C++0x build
38962         https://bugs.webkit.org/show_bug.cgi?id=66479
38963
38964         Reviewed by Adam Roben.
38965
38966         Add missing includes.
38967
38968         * DumpRenderTree/LayoutTestController.cpp:
38969         * DumpRenderTree/mac/CheckedMalloc.cpp:
38970
38971 2011-08-18  Adam Roben  <aroben@apple.com>
38972
38973         Test that WebKit updates style when a WebView is moved between differently-scaled windows
38974
38975         Test for <http://webkit.org/b/66412> <rdar://problem/9971958> WebKit doesn't react when a
38976         WebView is moved between windows with different backing scale factors
38977
38978         Reviewed by Anders Carlsson.
38979
38980         * TestWebKitAPI/JavaScriptTest.cpp:
38981         (TestWebKitAPI::runJSTest): Moved a little bit of code from here...
38982         (TestWebKitAPI::compareJSResult): ...to here. Also made the error message more similar to
38983         gtest's built-in error messages.
38984
38985         * TestWebKitAPI/JavaScriptTest.h: Added overloads of runJSTest that take a WebView * and
38986         WKView * for convenience on Mac. Added compareJSResult helper function for implementing
38987         those overloads.
38988
38989         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
38990
38991         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm: Added.
38992         (-[FrameLoadDelegate initWithDidFinishLoadBoolean:]): Simple initializer.
38993         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]): Record that the load finished.
38994         (TestWebKitAPI::didFinishLoadForFrame): Record that the load finished.
38995         (TestWebKitAPI::setPageLoaderClient): Set up the client.
38996         (TestWebKitAPI::DynamicDeviceScaleFactor::DynamicDeviceScaleFactor): Simple constructor.
38997         (TestWebKitAPI::DynamicDeviceScaleFactor::createWindow): Creates a
38998         SyntheticBackingScaleFactorWindow and returns it.
38999         (TestWebKitAPI::DynamicDeviceScaleFactor::runTest): Loads devicePixelRatio.html and checks
39000         that WebKit uses the correct scale factor when the WebView is not in a window, is put in a
39001         window, is moved to a differently-scaled window, and is taken out of the window.
39002         (TestWebKitAPI::DynamicDeviceScaleFactor::loadURL): Helper function with overloads for
39003         WebKit1 and WebKit2.
39004         (TestWebKitAPI::TEST_F): Runs the test, with overloads for WebKit1 and WebKit2.
39005
39006         * TestWebKitAPI/Tests/mac/devicePixelRatio.html: Added.
39007
39008         * TestWebKitAPI/mac/JavaScriptTestMac.mm: Added.
39009         (TestWebKitAPI::runJSTest): Fairly simple overloads for WebView * and WKView *.
39010
39011         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.h: Added.
39012         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m: Added.
39013         (-[SyntheticBackingScaleFactorWindow initWithContentRect:styleMask:backing:defer:]): Simple
39014         initializer.
39015         (-[SyntheticBackingScaleFactorWindow setBackingScaleFactor:]): Simple setter.
39016
39017         (-[SyntheticBackingScaleFactorWindow backingScaleFactor]):
39018         (-[SyntheticBackingScaleFactorWindow userSpaceScaleFactor]):
39019         Overrides of NSWindow methods that WebKit uses to determine the device scale factor.
39020
39021 2011-08-18  Dmitry Lomov  <dslomov@google.com>
39022
39023         https://bugs.webkit.org/show_bug.cgi?id=66425
39024         check-webkit-style should detect incorrectly formatted file change descriptions.
39025         Description, if present, should be separated from colon with a space.
39026
39027         Reviewed by David Levin.
39028
39029         * Scripts/webkitpy/style/checkers/changelog.py: Fix.
39030         * Scripts/webkitpy/style/checkers/changelog_unittest.py: Unit tests.
39031
39032 2011-08-18  Adam Barth  <abarth@webkit.org>
39033
39034         webkit-patch pretty-diff should be shown in main help
39035         https://bugs.webkit.org/show_bug.cgi?id=66404
39036
39037         Reviewed by Dimitri Glazkov.
39038
39039         As requested by dglazkov.
39040
39041         * Scripts/webkitpy/tool/commands/prettydiff.py:
39042
39043 2011-08-17  Dmitry Lomov  <dslomov@google.com>
39044
39045         https://bugs.webkit.org/show_bug.cgi?id=66400
39046         Fix TestWebKitAPI build on Mac OS.
39047
39048         Reviewed by David Levin.
39049
39050         * TestWebKitAPI/Configurations/Base.xcconfig: Added ICU headers to the HEADER_SEARCH_PATH.
39051
39052 2011-08-17  Dimitri Glazkov  <dglazkov@chromium.org>
39053
39054         garden-o-matic spring cleaning: move scripts, styles, and images in the respective directories.
39055         https://bugs.webkit.org/show_bug.cgi?id=66427
39056
39057         Reviewed by Adam Barth.
39058
39059         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js: Removed.
39060         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot.js: Removed.
39061         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot_unittests.js: Removed.
39062         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js: Removed.
39063         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js: Removed.
39064         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js: Removed.
39065         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js: Removed.
39066         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js: Removed.
39067         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector_unittests.js: Removed.
39068         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm.js: Removed.
39069         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm_unittests.js: Removed.
39070         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js: Removed.
39071         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js: Removed.
39072         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NRWTResultsParser.js: Removed.
39073         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm.js: Removed.
39074         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm_unittests.js: Removed.
39075         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ORWTResultsParser.js: Removed.
39076         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/PersistentCache.js: Removed.
39077         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css: Removed.
39078         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm.js: Removed.
39079         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm_unittests.js: Removed.
39080         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js: Removed.
39081         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js: Removed.
39082         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities_unittests.js: Removed.
39083         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js: Removed.
39084         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBugzilla.js: Removed.
39085         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBuildbot.js: Removed.
39086         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Removed.
39087         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Removed.
39088         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/bugzilla_unittests.js: Removed.
39089         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js: Removed.
39090         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders_unittests.js: Removed.
39091         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js: Removed.
39092         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout_unittests.js: Removed.
39093         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js: Removed.
39094         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers: Removed.
39095         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers.js: Removed.
39096         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers/rebaseline.js: Removed.
39097         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/favicon-green.png: Removed.
39098         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/favicon-red.png: Removed.
39099         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
39100         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/images: Added.
39101         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/images/favicon-green.png: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/favicon-green.png.
39102         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/images/favicon-red.png: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/favicon-red.png.
39103         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html:
39104         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css: Removed.
39105         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js: Removed.
39106         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js: Removed.
39107         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model_unittests.js: Removed.
39108         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net.js: Removed.
39109         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js: Removed.
39110         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/rebaseline.html:
39111         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js: Removed.
39112         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js: Removed.
39113         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
39114         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Bugzilla.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js.
39115         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Buildbot.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot.js.
39116         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Buildbot_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot_unittests.js.
39117         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Builder.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js.
39118         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Builder_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js.
39119         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/FailingTestsBugForm.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js.
39120         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/FailingTestsBugForm_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js.
39121         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/FlakyLayoutTestDetector.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js.
39122         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/FlakyLayoutTestDetector_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector_unittests.js.
39123         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/FlakyTestBugForm.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm.js.
39124         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/FlakyTestBugForm_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm_unittests.js.
39125         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/LayoutTestHistoryAnalyzer.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js.
39126         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/LayoutTestResultsLoader.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js.
39127         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/NRWTResultsParser.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NRWTResultsParser.js.
39128         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/NewBugForm.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm.js.
39129         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/NewBugForm_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm_unittests.js.
39130         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ORWTResultsParser.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ORWTResultsParser.js.
39131         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/PersistentCache.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/PersistentCache.js.
39132         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/TestRelatedBugForm.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm.js.
39133         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/TestRelatedBugForm_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm_unittests.js.
39134         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Trac.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js.
39135         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Utilities.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js.
39136         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Utilities_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities_unittests.js.
39137         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ViewController.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js.
39138         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/WebKitBugzilla.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBugzilla.js.
39139         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/WebKitBuildbot.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBuildbot.js.
39140         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js.
39141         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js.
39142         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/bugzilla_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/bugzilla_unittests.js.
39143         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js.
39144         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders_unittests.js.
39145         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js.
39146         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout_unittests.js.
39147         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js.
39148         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers.
39149         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers.js.
39150         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/main.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js.
39151         ():
39152         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js.
39153         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model_unittests.js.
39154         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/net.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net.js.
39155         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/net_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js.
39156         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js.
39157         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js.
39158         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/trac_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/trac_unittests.js.
39159         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js.
39160         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results.js.
39161         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results_unittests.js.
39162         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js.
39163         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/unexpected-passes.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.js.
39164         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/TestFailures.css: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css.
39165         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/main.css: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css.
39166         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
39167         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/trac_unittests.js: Removed.
39168         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js: Removed.
39169         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results.js: Removed.
39170         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results_unittests.js: Removed.
39171         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js: Removed.
39172         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.html:
39173         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.js: Removed.
39174
39175 2011-08-17  Jochen Eisinger  <jochen@chromium.org>
39176
39177         Make SVNTest.test_svn_apply use the same timezone logic as VCSUtils.pm
39178         https://bugs.webkit.org/show_bug.cgi?id=65877
39179
39180         Reviewed by Eric Seidel.
39181
39182         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
39183
39184 2011-08-17  Dimitri Glazkov  <dglazkov@chromium.org>
39185
39186         Remove base.keys and replace it with Object.keys.
39187         https://bugs.webkit.org/show_bug.cgi?id=66422
39188
39189         Reviewed by Adam Barth.
39190
39191         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Removed base.keys.
39192         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Removed unit tests for it.
39193         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js: Replaced with Object.keys
39194
39195 2011-08-17  Dimitri Glazkov  <dglazkov@chromium.org>
39196
39197         garden-o-matic Summary view should have items in descending chronological order.
39198         https://bugs.webkit.org/show_bug.cgi?id=66403
39199
39200         Reviewed by Adam Barth.
39201
39202         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js: Renamed "push" to "add" for clarity, cleaned up some stuff.
39203         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Rewrote add to insert DOM elements in order.
39204         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Added unit tests.
39205
39206 2011-08-17  Dimitri Glazkov  <dglazkov@chromium.org>
39207
39208         Fix a few errors in garden-o-matic frontend unit tests.
39209         https://bugs.webkit.org/show_bug.cgi?id=66421
39210
39211         Reviewed by Adam Barth.
39212
39213         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Changed my excellent test to view time as variable continuum.
39214         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders_unittests.js: Tweaked the test to accommodate new builder names.
39215         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Hurriedly covered up my prior sins.
39216
39217 2011-08-17  Adam Barth  <abarth@webkit.org>
39218
39219         Update Tools to account for (CG) being added to Chromium builder names
39220         https://bugs.webkit.org/show_bug.cgi?id=66410
39221
39222         Reviewed by Adam Barth.
39223
39224         Some of these names will change back once we turn on Skia bots.
39225
39226         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders_unittests.js:
39227         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
39228         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
39229         * Scripts/webkitpy/layout_tests/port/builders.py:
39230         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
39231         * TestResultServer/static-dashboards/builders.js:
39232         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
39233
39234 2011-08-16  Dimitri Glazkov  <dglazkov@chromium.org>
39235
39236         Wire up relative time to garden-o-matic summary view.
39237         https://bugs.webkit.org/show_bug.cgi?id=66343
39238
39239         Reviewed by Adam Barth.
39240
39241         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js: Add time to the commitData object. 
39242         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model_unittests.js: Adjusted unit tests.
39243         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Wired up relative date.
39244         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Updated unit tests.
39245         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/trac_unittests.js: Adjusted unit tests.
39246
39247 2011-08-17  Adam Roben  <aroben@apple.com>
39248
39249         Make run-api-tests run tests in alphabetical order
39250
39251         Fixes <http://webkit.org/b/66401> run-api-tests runs tests in a semi-random order
39252
39253         Reviewed by David Kilzer.
39254
39255         * Scripts/run-api-tests:
39256         (runAllTests):
39257         (runAllTestsInSuite):
39258         Sort the lists of tests and suites before iterating over them.
39259
39260 2011-08-17  Adam Barth  <abarth@webkit.org>
39261
39262         garden-o-matic should be able to rebaseline expected failures
39263         https://bugs.webkit.org/show_bug.cgi?id=66204
39264
39265         Reviewed by Dimitri Glazkov.
39266
39267         This patch introduces a new view for displaying expect, actual, and
39268         differences between results.  The new view also has a fledgling
39269         controller that handles some basic operations.  The new view is
39270         exercised by rebaseline.html, which lets you rebaselines expected
39271         failures, but the new view is not fully integrated into
39272         garden-o-matic.html
39273
39274         More patches will be required to make this stuff fully working, but
39275         this patch was already somewhat spiraling out of control.  Hopefully
39276         this patch will serve as a good starting point for further development.
39277
39278         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers: Added.
39279         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers.js: Added.
39280         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/controllers/rebaseline.js: Added.
39281         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
39282         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
39283         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
39284         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/rebaseline.html: Added.
39285         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
39286         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
39287         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
39288         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results.js:
39289         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results_unittests.js: Added.
39290
39291 2011-08-16  Chang Shu  <cshu@webkit.org>
39292
39293         Support reset in WebCore::Internals
39294         https://bugs.webkit.org/show_bug.cgi?id=66307
39295
39296         Reviewed by Dimitri Glazkov.
39297
39298         Added call to resetInternalsObject in DRT.
39299
39300         * DumpRenderTree/chromium/TestShell.cpp:
39301         (TestShell::resetTestController):
39302         * DumpRenderTree/mac/DumpRenderTree.mm:
39303         (resetWebViewToConsistentStateBeforeTesting):
39304         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
39305         (WebCore::WebPage::resetSettings):
39306
39307 2011-08-17  Alexis Menard  <alexis.menard@openbossa.org>
39308
39309         Add a new build slave for the Qt port on Mac OS SnowLeopard.
39310         https://bugs.webkit.org/show_bug.cgi?id=66392
39311
39312         Modify the config file to include the new build slave.
39313
39314         Reviewed by Adam Roben.
39315
39316         * BuildSlaveSupport/build.webkit.org-config/config.json:
39317
39318 2011-08-17  Sam White  <samuel.white@rochester.edu>
39319
39320         AccessibilityObject levels are inconsistent
39321         https://bugs.webkit.org/show_bug.cgi?id=66180
39322         
39323         Added the ability to get numeric attribute values using numberAttributeValue. This
39324         function complements the existing stringAttributeValue and boolAttributeValue functions.
39325         The addition of numberAttributeValue was necessary because the stringAttributeValue
39326         function does a type check and will only return strings. This limitation made it
39327         impossible to get values for attributes that returned an NSNumber.
39328
39329         Reviewed by Chris Fleizach.
39330
39331         * DumpRenderTree/AccessibilityUIElement.cpp:
39332         (numberAttributeValueCallback):
39333         (AccessibilityUIElement::getJSClass):
39334         * DumpRenderTree/AccessibilityUIElement.h:
39335         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
39336         (AccessibilityUIElement::numberAttributeValue):
39337         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
39338         (AccessibilityUIElement::numberAttributeValue):
39339         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
39340         (AccessibilityUIElement::numberAttributeValue):
39341
39342 2011-08-17  Adam Roben  <aroben@apple.com>
39343
39344         Tell Trac logs always to display all specified revisions in a single page
39345
39346         Trac imposes a default limit of 100 revisions per log page. We need to tell it to allow more
39347         revisions than that.
39348
39349         Fixes <http://webkit.org/b/66373> Links to Trac from TestFailures page don't always show all
39350         relevant revisions
39351
39352         Reviewed by Daniel Bates.
39353
39354         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
39355         (trac.logURL): Add a limit parameter to the log URL that allows all revisions to be seen in
39356         a single page.
39357
39358         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js:
39359         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/trac_unittests.js:
39360         Updated tests for the above.
39361
39362 2011-08-17  Adam Roben  <aroben@apple.com>
39363
39364         Fix TestFailures's link to file a bug about TestFailures itself
39365
39366         Fixes <http://webkit.org/b/66387> REGRESSION (r92135): TestFailures page's link to file a
39367         bug about itself is broken
39368
39369         Reviewed by Dan Bates.
39370
39371         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
39372         (ViewController.prototype._domForAuxiliaryUIElements): Added a path separator to separate
39373         the host from the path.
39374
39375 2011-08-17  Adam Roben  <aroben@apple.com>
39376
39377         Teach TestFailures to ignore unbelievably short test runs
39378
39379         Fixes <http://webkit.org/b/66385> TestFailures page thinks all tests passed in
39380         http://build.webkit.org/builders/Windows%207%20Release%20(Tests)/builds/14956
39381
39382         Reviewed by Dan Bates.
39383
39384         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
39385         (Builder.prototype.getNumberOfFailingTests): If it looks like all tests passed, but
39386         run-webkit-tests took less than 10 seconds to run, assume that some weird error occurred
39387         that caused it not to run any tests at all (as happened for a while due to
39388         <http://webkit.org/b/64988>). Bumped the cache version to evict old, buggy cached data.
39389
39390         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
39391         Test for the above.
39392
39393         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
39394         (LayoutTestResultsLoader.prototype.start): Bumped the cache version to evict old, buggy cached data.
39395
39396 2011-08-16  Adam Barth  <abarth@webkit.org>
39397
39398         Add a CG qualifier similar to the GPU qualifier
39399         https://bugs.webkit.org/show_bug.cgi?id=66359
39400
39401         Reviewed by Eric Seidel.
39402
39403         Once we have a Skia configuration on Chromium Mac, we'll use this CG
39404         qualifier to note that expectations apply only to the CG configuration.
39405
39406         * Scripts/webkitpy/layout_tests/port/chromium.py:
39407         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
39408
39409 2011-08-16  Eric Seidel  <eric@webkit.org>
39410
39411         REGRESSION(92717): WinPort needs to parse version information from port_name
39412         https://bugs.webkit.org/show_bug.cgi?id=66325
39413
39414         Unreviewed.  Fixing an exception/typo seen on the bots (and testing to make sure it works).
39415
39416         * Scripts/webkitpy/layout_tests/port/mac.py:
39417         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
39418
39419 2011-08-16  Adam Barth  <abarth@webkit.org>
39420
39421         Change webkit-patch analyze-baselines to print in a more unix-friendly way
39422         https://bugs.webkit.org/show_bug.cgi?id=66349
39423
39424         Reviewed by James Robinson.
39425
39426         As requested by jamesr.
39427
39428         * Scripts/webkitpy/tool/commands/rebaseline.py:
39429
39430 2011-08-16  Eric Seidel  <eric@webkit.org>
39431
39432         REGRESSION(92717): WinPort needs to parse version information from port_name
39433         https://bugs.webkit.org/show_bug.cgi?id=66325
39434
39435         Reviewed by Adam Barth.
39436
39437         WinPort didn't have any port_name parsing logic.
39438         Seemed it was best to just share the logic from MacPort.
39439         Sharing the logic from MacPort seemed easiest with a shared superclass.
39440         Once I created ApplePort (the superclass) there was a bunch of logic to share.
39441         I found LeakDetector was just in the way when switching back and forth
39442         between win.py and mac.py so I moved it into its own file.
39443
39444         The only logic change here is that WinPort should now be
39445         able to parse port_name values like MacPort (and other ports)
39446         can.  The fact that ports do this in their constructors is
39447         wrong and a source of many bugs.  But at least now WinPort
39448         matches the status-quo.
39449
39450         * Scripts/webkitpy/layout_tests/port/apple.py: Added.
39451         * Scripts/webkitpy/layout_tests/port/leakdetector.py: Added.
39452         * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py: Added.
39453         * Scripts/webkitpy/layout_tests/port/mac.py:
39454         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
39455         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
39456         * Scripts/webkitpy/layout_tests/port/win.py:
39457         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
39458
39459 2011-08-16  Adam Barth  <abarth@webkit.org>
39460
39461         Add webkit-patch analyze-baselines, as requested by jamesr.
39462
39463         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
39464         * Scripts/webkitpy/tool/commands/rebaseline.py:
39465
39466 2011-08-16  Adam Barth  <abarth@webkit.org>
39467
39468         Fold bulk-optimize-baselines into optimize-baselines
39469         https://bugs.webkit.org/show_bug.cgi?id=66345
39470
39471         Reviewed by James Robinson.
39472
39473         bulk-optimize-baselines is now a superset of optimize-baselines, so
39474         they can be combined.
39475
39476         * Scripts/webkitpy/tool/commands/rebaseline.py:
39477
39478 2011-08-16  Adam Barth  <abarth@webkit.org>
39479
39480         Move chromium-mac to chromium-cg-mac to prepare for Skia switchover
39481         https://bugs.webkit.org/show_bug.cgi?id=66334
39482
39483         Reviewed by Tony Chang.
39484
39485         This patch moves us closer to switching the Chromium port from
39486         CoreGraphics to Skia.  This patch teaches our tools that the current
39487         Chromium Mac configuration is actually chromium-cg-mac, which makes
39488         room for a future chromium-mac configuration that uses Skia.
39489
39490         Shortly after this patch lands, I'll do a server-side move of the
39491         chromium-mac and chromium-mac-leopard directories to chromium-cg-mac
39492         and chromium-cg-mac-leopard.
39493
39494         * BuildSlaveSupport/build.webkit.org-config/config.json:
39495         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
39496         * Scripts/webkitpy/common/config/build.py:
39497         * Scripts/webkitpy/common/config/build_unittest.py:
39498         * Scripts/webkitpy/layout_tests/port/base.py:
39499         * Scripts/webkitpy/layout_tests/port/builders.py:
39500         * Scripts/webkitpy/layout_tests/port/chromium.py:
39501         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
39502         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
39503         * Scripts/webkitpy/layout_tests/port/dryrun.py:
39504         * Scripts/webkitpy/layout_tests/port/factory.py:
39505         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
39506         * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
39507         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
39508         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
39509         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
39510         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
39511         * TestResultServer/static-dashboards/flakiness_dashboard.html:
39512
39513 2011-08-16  Dimitri Glazkov  <dglazkov@chromium.org>
39514
39515         garden-o-matic frontend needs a friendly relative time description method.
39516         https://bugs.webkit.org/show_bug.cgi?id=66324
39517
39518         Reviewed by Adam Barth.
39519
39520         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Added base.relativizeTime method.
39521         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Added unit tests.
39522         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Wired up Time widget to use it.
39523
39524 2011-08-16  Dimitri Glazkov  <dglazkov@chromium.org>
39525
39526         Summary view should not add multiple entries for the same test failure.
39527         https://bugs.webkit.org/show_bug.cgi?id=66318
39528
39529         Reviewed by Adam Barth.
39530
39531         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js: Added a simplistic updating button.
39532         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Added ways to check for
39533             equality of ui.notifications.FailingTest, and whether ui.notifications.TestFailures already contains a given failure analysis.
39534         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Added tests.
39535
39536 2011-08-16  Adam Roben  <aroben@apple.com>
39537
39538         Teach TestFailures that tests that have failed or passed many times in a row are not flaky
39539
39540         The basic strategy here is that once a test has failed or passed many times in a row we
39541         never again consider it as a possibly flaky test. It's a simple strategy but seems to result
39542         in many fewer false positives than our current behavior.
39543
39544         Fixes <http://webkit.org/b/66327> TestFailures page considers far too many tests to be
39545         flaky, including tests that failed for a while but then were fixed
39546
39547         Reviewed by Dan Bates.
39548
39549         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js:
39550         (FlakyLayoutTestDetector): Initialize new _buildCount property, which is used to track the
39551         number of non-too-many-failure builds we've seen.
39552         (FlakyLayoutTestDetector.prototype.incorporateTestResults): Don't track tests which haven't
39553         failed in the _maximumFailOrPassCount most recent builds. For other not-yet-considered-flaky
39554         tests, keep track of how many times they have passed or failed in a row. If they pass or
39555         fail more than _maximumFailOrPassCount times, consider them to be non-flaky. (Once a test is
39556         considered flaky it doesn't matter how many times it passes or fails.)
39557
39558         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector_unittests.js:
39559         Added tests for the above.
39560
39561 2011-08-16  Dimitri Glazkov  <dglazkov@chromium.org>
39562
39563         garden-o-matic needs a summary view with actions for each problem.
39564         https://bugs.webkit.org/show_bug.cgi?id=66144
39565
39566         Reviewed by Adam Barth.
39567
39568         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html: Added notifications tests.
39569         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js: Added.
39570         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js: Added.
39571         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js: Added.
39572         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/summary.css: Added.
39573         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Added.
39574
39575 2011-08-16  Dean Jackson  <dino@apple.com>
39576
39577         Adding Ted "hober" O'Connor as a non-committing contributor.
39578
39579         * Scripts/webkitpy/common/config/committers.py:
39580
39581 2011-08-16  Adam Roben  <aroben@apple.com>
39582
39583         Teach TestFailures how to interpret unfinished test runs
39584
39585         Fixes <http://webkit.org/b/66309> TestFailures thinks all tests passed in
39586         http://build.webkit.org/builders/Lion%20Intel%20Debug%20(Tests)/builds/136
39587
39588         Reviewed by David Kilzer.
39589
39590         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
39591         (Builder.prototype.getNumberOfFailingTests): Look for "isFinished" in the layout-test step
39592         rather than "isStarted" so that we don't count builds for which the test run never finished.
39593         Bumped the cache version to evict old, buggy cached data.
39594
39595         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
39596         Added a test for the above, and made a somewhat synthetic test more realistic by including
39597         more of the actual JSON data from build.webkit.org.
39598
39599         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
39600         (LayoutTestResultsLoader.prototype.start): Bumped the cache version to evict old, buggy
39601         cached data.
39602
39603 2011-08-16  Adam Roben  <aroben@apple.com>
39604
39605         Make Apple's Windows port fall back to Lion results instead of SnowLeopard
39606
39607         Apple's Windows port now uses Lion-era versions of CoreFoundation, ICU, etc., so in theory
39608         should match Lion's behavior.
39609
39610         Fixes <http://webkit.org/b/66302> Apple's Windows port matches Lion for some test results,
39611         but doesn't use Lion results
39612
39613         Reviewed by David Kilzer.
39614
39615         * Scripts/old-run-webkit-tests:
39616         (expectedDirectoryForTest):
39617         * Scripts/webkitpy/layout_tests/port/win.py:
39618         (WinPort.baseline_search_path):
39619         * Scripts/webkitpy/layout_tests/port/win_unittest.py:
39620         (WinPortTest.test_baseline_search_path):
39621         Replaced mac-snowleopard with mac-lion.
39622
39623         * Scripts/webkitpy/common/config/build.py:
39624         (_should_file_trigger_build): Added an entry for the LayoutTests/platform/mac-lion
39625         directory, which all Apple Mac platforms and Apple Win platforms could potentially use
39626         results from. Removed Apple Win from being affected by mac-snowleopard changes, since it
39627         will no longer look there for results.
39628
39629         * Scripts/webkitpy/common/config/build_unittest.py:
39630         (ShouldBuildTest.test_should_build): Tests for the above changes.
39631
39632 2011-08-16  Dean Jackson  <dino@apple.com>
39633
39634         Move me from contributor to reviewer.
39635
39636         * Scripts/webkitpy/common/config/committers.py:
39637
39638 2011-08-15  Dimitri Glazkov  <dglazkov@chromium.org>
39639
39640         garden-o-matic frontend needs model.commitDataForRevisionRange function.
39641         https://bugs.webkit.org/show_bug.cgi?id=66252
39642
39643         Reviewed by Adam Barth.
39644
39645         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js: Added commitDataForRevisionRange method.
39646         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model_unittests.js: Added tests.
39647
39648 2011-08-15  Dimitri Glazkov  <dglazkov@chromium.org>
39649
39650         garden-o-matic frontend needs a generic way to track updates.
39651         https://bugs.webkit.org/show_bug.cgi?id=66245
39652
39653         Reviewed by Adam Barth.
39654
39655         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Added UpdateTracker.
39656         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Added tests.
39657
39658 2011-08-15  Adam Roben  <aroben@apple.com>
39659
39660         Teach TestWebKitAPI/gtest how to print JavaScript failures nicely
39661
39662         Failures now give output of the form: foo should be bar but is baz
39663
39664         Fixes <http://webkit.org/b/66240> It's hard to tell what the actual result of a failed JS
39665         test is in TestWebKitAPI's output
39666
39667         Reviewed by David Levin.
39668
39669         * TestWebKitAPI/JavaScriptTest.cpp:
39670         (TestWebKitAPI::JavaScriptCallbackContext::JavaScriptCallbackContext): Removed now-unused
39671         members.
39672         (TestWebKitAPI::javaScriptCallback): Changed to just store the result string in the context
39673         object, rather than doing any testing of it here.
39674         (TestWebKitAPI::runJSTest): Made this function a gtest predicate-formatter. This allows us
39675         to use a pretty error message when the test fails.
39676
39677         * TestWebKitAPI/JavaScriptTest.h: Changed runJSTest to a predicate-formatter, and added nice
39678         gtest-style macros that wrap it.
39679
39680         * TestWebKitAPI/Test.h: Removed now-unused TEST_ASSERT_RETURN.
39681
39682         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
39683         (TestWebKitAPI::TEST): Changed to use the new macros.
39684
39685         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
39686         (TestWebKitAPI::createSessionStateContainingFormData): Ditto. Note that this function no
39687         longer returns 0 when the JS test fails. That shouldn't have any effect on whether or not
39688         the test passes, though. Returning early seems to have been an unnecessary optimization.
39689
39690         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
39691         (TestWebKitAPI::TEST): Changed to use the new macros.
39692
39693 2011-08-15  Eric Seidel  <eric@webkit.org>
39694
39695         Move the Leaks bot back to ORWT until I can fix LeaksViewer regressions filed by Adam Roben in bug 66227 and 66228.
39696
39697         Unreviewed.
39698
39699         * Scripts/run-webkit-tests:
39700         (usingLeaks):
39701         (useNewRunWebKitTests):
39702
39703 2011-08-14  Adam Barth  <abarth@webkit.org>
39704
39705         Switch results detail view over to new-style object-oriented UI widgets
39706         https://bugs.webkit.org/show_bug.cgi?id=66200
39707
39708         Reviewed by Dimitri Glazkov.
39709
39710         This patch replaces my goofy template-based UI for the results
39711         comparison screen with new object-oriented UI widgets.
39712
39713         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
39714         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
39715         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
39716         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
39717         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
39718         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results.js: Added.
39719         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
39720
39721 2011-08-13  Dimitri Glazkov  <dglazkov@chromium.org>
39722
39723         garden-o-matic's analyzeUnexpectedFailures needs a completion callback.
39724         https://bugs.webkit.org/show_bug.cgi?id=66166
39725
39726         Also changed base.RequestTracker to:
39727         a) fire callback immediately if requestsInFlight is 0;
39728         b) not barf if callback is not supplied.
39729
39730         Reviewed by Adam Barth.
39731
39732         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js: Started using completion callback.
39733         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js: Added completion callback.
39734         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Changed RequestTracker.
39735         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittest.js: Added unit tests.
39736
39737 2011-08-12  Mark Rowe  <mrowe@apple.com>
39738
39739         Be more forward-looking in the choice of compiler.
39740
39741         Rubber-stamped by Jon Honeycutt.
39742
39743         * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig:
39744         * MiniBrowser/Configurations/CompilerVersion.xcconfig:
39745         * TestWebKitAPI/Configurations/CompilerVersion.xcconfig:
39746         * WebKitTestRunner/Configurations/CompilerVersion.xcconfig:
39747
39748 2011-08-12  Sadrul Habib Chowdhury  <sadrul@chromium.org>
39749
39750         DRT: Add support for gesture events.
39751         https://bugs.webkit.org/show_bug.cgi?id=66105
39752
39753         Reviewed by Darin Fisher.
39754
39755         * DumpRenderTree/chromium/EventSender.cpp:
39756         (EventSender::EventSender):
39757         (EventSender::gestureScrollBegin):
39758         (EventSender::gestureScrollEnd):
39759         (EventSender::gestureTap):
39760         (EventSender::gestureEvent):
39761         * DumpRenderTree/chromium/EventSender.h:
39762
39763 2011-08-12  Andy Estes  <aestes@apple.com>
39764
39765         allowRoundingHacksCallback uses the wrong argument for 'thisObject'.
39766         https://bugs.webkit.org/show_bug.cgi?id=66158
39767
39768         Reviewed by Dan Bernstein.
39769
39770         * DumpRenderTree/LayoutTestController.cpp:
39771         (allowRoundingHacksCallback): The third argument is the 'this'
39772         JSObjectRef, not the second.
39773
39774 2011-08-12  Andy Estes  <aestes@apple.com>
39775
39776         Cancel in onbeforeunload dialog sometime causes a button to stop working.
39777         https://bugs.webkit.org/show_bug.cgi?id=26211
39778
39779         Reviewed by Alexey Proskuryakov.
39780
39781         Implement a new LayoutTestController method that a test can call to set
39782         the return value of DumpRenderTree's beforeunload UI delegate.
39783
39784         * DumpRenderTree/LayoutTestController.cpp:
39785         (LayoutTestController::LayoutTestController): Initialize
39786         m_shouldStayOnPageAfterHandlingBeforeUnload.
39787         (setShouldStayOnPageAfterHandlingBeforeUnloadCallback): Call
39788         LayoutTestController::setShouldStayOnPageAfterHandlingBeforeUnload().
39789         (LayoutTestController::staticFunctions): Register
39790         'setShouldStayOnPageAfterHandlingBeforeUnload' as a static function.
39791         * DumpRenderTree/LayoutTestController.h: 
39792         (LayoutTestController::shouldStayOnPageAfterHandlingBeforeUnload):
39793         (LayoutTestController::setShouldStayOnPageAfterHandlingBeforeUnload):
39794         * DumpRenderTree/chromium/LayoutTestController.cpp:
39795         (LayoutTestController::LayoutTestController): Initialize
39796         m_shouldStayOnPageAfterHandlingBeforeUnload and bind
39797         'setShouldStayOnPageAfterHandlingBeforeUnload' to its c++ setter.
39798         (LayoutTestController::reset): Reset
39799         m_shouldStayOnPageAfterHandlingBeforeUnload to false.
39800         (LayoutTestController::setShouldStayOnPageAfterHandlingBeforeUnload):
39801         Set m_shouldStayOnPageAfterHandlingBeforeUnload to the value passed in
39802         from JavaScript.
39803         * DumpRenderTree/chromium/LayoutTestController.h:
39804         (LayoutTestController::shouldStayOnPageAfterHandlingBeforeUnload):
39805         * DumpRenderTree/chromium/WebViewHost.cpp:
39806         (WebViewHost::runModalBeforeUnloadDialog): Add the correct logging and
39807         return the inverse of
39808         LayoutTestController::shouldStayOnPageAfterHandlingBeforeUnload().
39809         * DumpRenderTree/mac/UIDelegate.mm:
39810         (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]): Ditto.
39811         * DumpRenderTree/win/UIDelegate.cpp:
39812         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage): Ditto.
39813         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
39814         Define setShouldStayOnPageAfterHandlingBeforeUnload().
39815         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
39816         (WTR::InjectedBundle::postNewBeforeUnloadReturnValue): Post a message
39817         to the Test Controller telling it what value it should return in its
39818         onbeforeunload UI delegate.
39819         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
39820         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
39821         (WTR::LayoutTestController::setShouldStayOnPageAfterHandlingBeforeUnload):
39822         Call InjectedBundle::postNewBeforeUnloadReturnValue().
39823         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
39824         * WebKitTestRunner/TestController.cpp:
39825         (WTR::TestController::TestController): Initialize
39826         m_beforeUnloadReturnValue to true.
39827         (WTR::runBeforeUnloadConfirmPanel): Add the correct logging and return
39828         the value of TestController::beforeUnloadReturnValue().
39829         (WTR::TestController::resetStateToConsistentValues): Reset
39830         m_beforeUnloadReturnValue to true.
39831         * WebKitTestRunner/TestController.h:
39832         (WTR::TestController::beforeUnloadReturnValue):
39833         (WTR::TestController::setBeforeUnloadReturnValue):
39834         * WebKitTestRunner/TestInvocation.cpp:
39835         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Handle the
39836         message posted from the injected bundle by retrieving the message body
39837         as a WKBoolean and calling TestController::setBeforeUnloadReturnValue().
39838
39839 2011-08-12  Sam Weinig  <sam@webkit.org>
39840
39841         Move compiler specific macros to their own header
39842         https://bugs.webkit.org/show_bug.cgi?id=66119
39843
39844         Reviewed by Anders Carlsson.
39845
39846         * DumpRenderTree/ForwardingHeaders/wtf/Compiler.h: Added.
39847
39848 2011-08-11  Dimitri Glazkov  <dglazkov@chromium.org>
39849
39850         Add a way to extend DOM objects in garden-o-matic.
39851         https://bugs.webkit.org/show_bug.cgi?id=66096
39852
39853         Reviewed by Adam Barth.
39854
39855         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Added base.extends.
39856         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Added tests.
39857
39858 2011-08-11  MORITA Hajime  <morrita@google.com>
39859
39860         [Chromium][DRT] editing/spelling/spelling-backspace-between-lines.html fails
39861         https://bugs.webkit.org/show_bug.cgi?id=45438
39862
39863         Reviewed by Kent Tamura.
39864
39865         MockSpellCheck was assuming the input of spellCheckWord() is a word.
39866         But it can be a series of word. This change made spellCheckWord()
39867         understand simple word boundary which appears in tests.
39868         
39869         * DumpRenderTree/chromium/MockSpellCheck.cpp:
39870         (MockSpellCheck::spellCheckWord):
39871
39872 2011-08-11  Mark Rowe  <mrowe@apple.com>
39873
39874         Rework some Makefile logic to remove a double-negative.
39875
39876         Reviewed by Jon Honeycutt.
39877
39878         * DumpRenderTree/mac/PerlSupport/Makefile:
39879
39880 2011-08-11  Anders Carlsson  <andersca@apple.com>
39881
39882         Add a FIXME.
39883
39884         * TestWebKitAPI/TestsController.cpp:
39885         (TestWebKitAPI::TestsController::TestsController):
39886
39887 2011-08-11  Anders Carlsson  <andersca@apple.com>
39888
39889         Initialize threading before running any tests
39890         https://bugs.webkit.org/show_bug.cgi?id=66112
39891
39892         Reviewed by Adam Barth.
39893
39894         * TestWebKitAPI/TestsController.cpp:
39895         (TestWebKitAPI::TestsController::TestsController):
39896
39897 2011-08-11  Adam Barth  <abarth@webkit.org>
39898
39899         Add unexpected-passes.html to TestFailures for marking tests as passing
39900         https://bugs.webkit.org/show_bug.cgi?id=66102
39901
39902         Reviewed by Dimitri Glazkov.
39903
39904         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
39905         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
39906             - Move some code into the library so it can be shared.
39907         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
39908         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
39909         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
39910             - Add round-trip unit tests.
39911         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.html: Added.
39912         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.js: Added.
39913             - I'm not entirely sure this feature should remain a separate HTML
39914               file, but it seemed better than cluttering up the main HTML file
39915               with too much extra stuff.
39916         * Scripts/webkitpy/tool/servers/gardeningserver.py:
39917         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
39918             - The gardening server couldn't handle adding PASS expectations.  Now it can.
39919
39920 2011-08-11  Eric Seidel  <eric@webkit.org>
39921
39922         NRWT has wrong fallback order for Mac now that Lion exists
39923         https://bugs.webkit.org/show_bug.cgi?id=66093
39924
39925         Reviewed by Adam Barth.
39926
39927         ORWT used a different system for fallback orders than NRWT did.
39928         I moved win.py to match ORWT fallback orders in bug 64486.
39929         This bug moves mac.py to match ORWT fallback order
39930         and adds 'lion' as a supported OS version.
39931
39932         Because ChromiumMac shares OS version detection code with AppleMac
39933         this also added support for 'lion' to chromium mac.  Hopefully that's a good thing.
39934
39935         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
39936         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
39937         * Scripts/webkitpy/layout_tests/port/mac.py:
39938         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
39939         * Scripts/webkitpy/layout_tests/port/win.py:
39940
39941 2011-08-11  Adam Barth  <abarth@webkit.org>
39942
39943         Update test results now that we use absolute URLs.
39944
39945         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout_unittests.js:
39946
39947 2011-08-11  Adam Barth  <abarth@webkit.org>
39948
39949         garden-o-matic should be able to determine when tests unexpectedly pass
39950         https://bugs.webkit.org/show_bug.cgi?id=66092
39951
39952         Reviewed by Dimitri Glazkov.
39953
39954         This patch just contains the library methods for extracting this
39955         information.  I'll add some UI in a subsequent patch.
39956
39957         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
39958         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
39959
39960 2011-08-11  Dimitri Glazkov  <dglazkov@chromium.org>
39961
39962         New expectation entries should be placed next to existing ones.
39963         https://bugs.webkit.org/show_bug.cgi?id=66066
39964
39965         Reviewed by Adam Barth.
39966
39967         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Added the notion of insertion point,
39968             which is computed as the last found reference to the same test.
39969         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added and adjusted unit tests.
39970
39971 2011-08-11  Dimitri Glazkov  <dglazkov@chromium.org>
39972
39973         Unreviewed, rolling out r92847.
39974         http://trac.webkit.org/changeset/92847
39975         https://bugs.webkit.org/show_bug.cgi?id=65986
39976
39977         Broke check-webkit-style
39978
39979         * Scripts/webkitpy/style/checker.py:
39980         * Scripts/webkitpy/style/checker_unittest.py:
39981
39982 2011-08-11  Dimitri Glazkov  <dglazkov@chromium.org>
39983
39984         Unreviewed, rolling out r92847.
39985         http://trac.webkit.org/changeset/92847
39986         https://bugs.webkit.org/show_bug.cgi?id=65986
39987
39988         Broke check-webkit-style
39989
39990         * Scripts/webkitpy/style/checker.py:
39991         * Scripts/webkitpy/style/checker_unittest.py:
39992
39993 2011-08-11  Pierre Rossi  <pierre.rossi@gmail.com>
39994
39995         [Qt] autotests shouldn't require config.h in the style check
39996         https://bugs.webkit.org/show_bug.cgi?id=65986
39997
39998         Remove the include rules from the style-check for Qt tests.
39999         Since for the most part it's just a matter of using the
40000         API provided by QtWebKit, enforcing the WebCore set of rules
40001         only seems to make sense in the case of MIMESniffing.
40002
40003         Reviewed by Benjamin Poulain.
40004
40005         * Scripts/webkitpy/style/checker.py:
40006         * Scripts/webkitpy/style/checker_unittest.py:
40007
40008 2011-08-11  Zsolt Fehér  <h490267@stud.u-szeged.hu>
40009
40010         [WK2] Implement waitForPolicyDelegate
40011         https://bugs.webkit.org/show_bug.cgi?id=42330
40012
40013         Reviewed by Csaba Osztrogonác.
40014
40015         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
40016         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
40017         (WTR::navigationTypeToString):
40018         (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
40019         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
40020         (WTR::LayoutTestController::LayoutTestController):
40021         (WTR::LayoutTestController::setCustomPolicyDelegate):
40022         (WTR::LayoutTestController::waitForPolicyDelegate):
40023         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
40024         (WTR::LayoutTestController::isPolicyDelegateEnabled):
40025         (WTR::LayoutTestController::isPolicyDelegatePermissive):
40026
40027 2011-08-11  Adam Barth  <abarth@webkit.org>
40028
40029         rebaseline-expectations should use the release bots, not the debug
40030         bots.  The debug bots don't all run all the tests.  Also, delay
40031         updating test_expectations a long as possible to avoid clearing out
40032         lines that we'll need for other ports.
40033
40034         * Scripts/webkitpy/layout_tests/port/builders.py:
40035         * Scripts/webkitpy/tool/commands/rebaseline.py:
40036         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
40037
40038 2011-08-10  Ryosuke Niwa  <rniwa@webkit.org>
40039
40040         r92792 inadvertently removed PlatformSpecificScheduler for all Snow Leopard bots.
40041         Revert it partially so that the remaining Snow Leopard bots can fulfill their duty.
40042
40043         * BuildSlaveSupport/build.webkit.org-config/config.json:
40044
40045 2011-08-10  Eric Seidel  <eric@webkit.org>
40046
40047         new-run-webkit-test's WinPort has no fallback logic
40048         https://bugs.webkit.org/show_bug.cgi?id=64486
40049
40050         Unreviewed.
40051
40052         Turns out that we've long had a subtle bug whereby if you didn't
40053         already have DumpRenderTree built, we might end up running unsupported tests
40054         because the DumpRenderTree --print-supported-features check would silently fail.
40055
40056         When I moved the call from using popen to using Executive.run_command, this silent
40057         failure became noisy.  (Breaking some bots.)
40058
40059         This re-orders our steps so that we always build DRT before collecting expectations,
40060         as well as adds a warning message when DumpRenderTree can't be found.
40061
40062         * Scripts/webkitpy/layout_tests/port/webkit.py:
40063         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
40064
40065 2011-08-10  Eric Seidel  <eric@webkit.org>
40066
40067         new-run-webkit-test's WinPort has no fallback logic
40068         https://bugs.webkit.org/show_bug.cgi?id=64486
40069
40070         Unreviewed.  Fix test-webkitpy under Python 2.5.
40071
40072         * Scripts/webkitpy/layout_tests/port/win.py:
40073
40074 2011-08-10  Benjamin Poulain  <benjamin@webkit.org>
40075
40076         [Qt][WK2] MiniBrowser is firing twice the QDesktopWebView::mousePressEvent method
40077         https://bugs.webkit.org/show_bug.cgi?id=65875
40078
40079         Reviewed by Kenneth Rohde Christiansen.
40080
40081         For some reason, QWidget send fake mouse event on some platform, under certains conditions.
40082
40083         This causes mouse events to be sent twice in some cases. We work around the problem
40084         by defining the first touch point to be a primary touch point (case which hit some
40085         weird condition in QWidget, skipping the generation of fake mouse events).
40086
40087         * MiniBrowser/qt/MiniBrowserApplication.cpp:
40088         (MiniBrowserApplication::notify):
40089
40090 2011-08-10  David Hyatt  <hyatt@apple.com>
40091
40092         https://bugs.webkit.org/show_bug.cgi?id=66004
40093
40094         Remove the regions and exclusions bots and also the flags in build-webkit, since I'm just turning
40095         the code on by default.
40096
40097         Reviewed by Adam Roben.
40098
40099         * BuildSlaveSupport/build.webkit.org-config/config.json:
40100         * Scripts/build-webkit:
40101
40102 2011-08-10  Oliver Hunt  <oliver@apple.com>
40103
40104         JSEvaluteScript does not return the correct object when given JSONP data
40105         https://bugs.webkit.org/show_bug.cgi?id=66003
40106
40107         Reviewed by Gavin Barraclough.
40108
40109         Add a test case.
40110
40111         * DumpRenderTree/mac/DumpRenderTree.mm:
40112         (testStringByEvaluatingJavaScriptFromString):
40113
40114 2011-08-10  Eric Seidel  <eric@webkit.org>
40115
40116         WIN: NRWT runs compositing tests on configurations that don't support compositing
40117         https://bugs.webkit.org/show_bug.cgi?id=64472
40118
40119         Reviewed by Adam Barth.
40120
40121         I think the code was just wrong.  It was never splitting the string
40122         into list pieces before.
40123         I've now tested the supported_features code and theoretically it
40124         should now work with Windows DRT.
40125
40126         I also made the list-lookup functions always return lists, to make
40127         it possible to clean up the list-transform code in the future
40128         (I opted not to do that cleanup in this patch, but at least now
40129         both types of feature lookup functions match return types.)
40130
40131         * Scripts/webkitpy/layout_tests/port/webkit.py:
40132         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
40133
40134 2011-08-10  Eric Seidel  <eric@webkit.org>
40135
40136         Clean up ChromiumDriver a little
40137         https://bugs.webkit.org/show_bug.cgi?id=65995
40138
40139         Unreviewed.
40140
40141         Fix NRWT for chromium.  Silly python.
40142
40143         * Scripts/webkitpy/layout_tests/port/chromium.py:
40144
40145 2011-08-10  Eric Seidel  <eric@webkit.org>
40146
40147         Clean up ChromiumDriver a little
40148         https://bugs.webkit.org/show_bug.cgi?id=65995
40149
40150         Reviewed by Adam Barth.
40151
40152         - We no longer support threading, so remove threading specific code.
40153         - Add FIXMEs about using ServerProcess instead.
40154         - Condense option-mapping if-cascade into a for loop.
40155         - Unindent long if blocks by using early return.
40156         - Unwrap lines which are needlessly wrapped.
40157
40158         There should be no functional changes here, just code cleanup/dead-code removal.
40159
40160         * Scripts/webkitpy/layout_tests/port/chromium.py:
40161
40162 2011-08-10  Dimitri Glazkov  <dglazkov@chromium.org>
40163
40164         Unmuddle construction options for TestConfiguration.
40165         https://bugs.webkit.org/show_bug.cgi?id=65988
40166
40167         The TestConfiguration instance is now constructed only using actual values.
40168         Port-based construction is split into a "from_port" class method.
40169
40170         Reviewed by Eric Seidel.
40171
40172         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added TestConfiguration.from_port
40173         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Adjusted code to accommodate the change.
40174         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Ditto.
40175         * Scripts/webkitpy/layout_tests/port/base.py: Ditto.
40176         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Ditto.
40177
40178 2011-08-10  Eric Seidel  <eric@webkit.org>
40179
40180         Leaks bot shows python logging prefixes as part of summary display
40181         https://bugs.webkit.org/show_bug.cgi?id=65931
40182
40183         Reviewed by Adam Barth.
40184
40185         The big part of this change is adding a unittesting system for
40186         master.cfg, so mere-mortals can make changes to build.webkit.org
40187         with greatly-reduced risk of breaking the world.
40188
40189         Turns out that in typing up my trival logging fix I made 2 typos,
40190         so hopefully the hour spent getting master.cfg to load was worth it. :)
40191
40192         I also tried to make mastercfg_unittest run as part of test-webkitpy
40193         but right now test-webkitpy requires that unittest files be located in
40194         a module-name-compatible directory.  'build.webkit.org-config' is not
40195         a valid module name.
40196
40197         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
40198          - Fixed _parseNewRunWebKitTestsOutput to strip NRWT's python formatter prefix
40199            by using a new _strip_python_logging_prefix function.
40200          - Also fixed this function to file to work with a more modern
40201            simplejson version (which returns unicode objects instead of str objects)
40202            and filed a related bug with buildbot.net due to their handling of unicode builder names.
40203         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Added.
40204          - BuildBotConfigLoader is a huge pile of code just to get master.cfg to load.
40205          - The actual tiny unittest of the new _parseNewRunWebKitTestsOutput logic.
40206         * Scripts/webkitpy/thirdparty/__init__.py:
40207          - Add autoinstallation of buildbot (and jinja2) for use by mastercfg_unittest.py
40208
40209 2011-08-09  Dimitri Glazkov  <dglazkov@chromium.org>
40210
40211         garden-o-matic should extrapolate failures given a set of known results
40212         https://bugs.webkit.org/show_bug.cgi?id=65882
40213
40214         Reviewed by Adam Barth.
40215
40216         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Spuriously covered my old sins.
40217         * Scripts/webkitpy/layout_tests/port/builders.py: Augmented builders dictionary to contain build coverage specifiers,
40218             adjusted all call sites.
40219         * Scripts/webkitpy/tool/servers/gardeningserver.py: Added BuildCoverageExtrapolator, a thing that
40220             makes wider net for specific failures.
40221         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added unit tests.
40222
40223 2011-08-10  Adam Barth  <abarth@webkit.org>
40224
40225         The URL we were computing for retrieving baselines was missing a slash
40226         character because our mocks had an extra slash character.  I've
40227         corrected both the code and the mock.
40228
40229         * Scripts/webkitpy/tool/commands/rebaseline.py:
40230         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
40231         * Scripts/webkitpy/tool/mocktool.py:
40232
40233 2011-08-09  Adam Barth  <abarth@webkit.org>
40234
40235         Move the quote mark to the right place.
40236
40237         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40238
40239 2011-08-09  Adam Barth  <abarth@webkit.org>
40240
40241         garden-o-matic should use huerstics to narrow regression range
40242         https://bugs.webkit.org/show_bug.cgi?id=65948
40243
40244         Reviewed by Dimitri Glazkov.
40245
40246         When analyzing a regression range, if one of the commit messages
40247         mentions the test in question, we now hueristically assume that
40248         revision caused the failure.  (I'm shamelessly stealing this idea from
40249         TestFailures.)
40250
40251         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
40252
40253 2011-07-13  Eric Seidel  <eric@webkit.org>
40254
40255         new-run-webkit-test's WinPort has no fallback logic
40256         https://bugs.webkit.org/show_bug.cgi?id=64486
40257
40258         Reviewed by Adam Roben.
40259
40260         I've tried to write a patch for bug 64439 twice now, and both times
40261         I've ended up re-writing half the port system.  So I'm breaking
40262         things up into smaller pieces, this being the first.
40263
40264         WinPort still does not have any port_name parsing, so when instantiated
40265         with the name "win-xp" (i.e. by the rebaseline server) it will just behave as the 'win' port.
40266         I'll fix this in a second pass when I standardize port_name parsing for all webkit ports.
40267
40268         Otherwise this should "just work" for windows.  I've not been able to test the
40269         version detection on my mac, but the unit tests show the code behaving as designed.
40270
40271         * Scripts/webkitpy/layout_tests/port/win.py:
40272         * Scripts/webkitpy/layout_tests/port/win_unittest.py: Added.
40273
40274 2011-08-09  Adam Barth  <abarth@webkit.org>
40275
40276         Teach build.webkit.org's garden-o-matic how to talk to the local server
40277         https://bugs.webkit.org/show_bug.cgi?id=65940
40278
40279         Reviewed by Dimitri Glazkov.
40280
40281         After this patch, the version of garden-o-matic on build.webkit.org is
40282         fully functional.  It can interact with the local server via CORS.
40283
40284         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40285         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
40286         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40287         * Scripts/webkitpy/tool/commands/gardenomatic.py:
40288         * Scripts/webkitpy/tool/servers/gardeningserver.py:
40289
40290 2011-08-09  Adam Barth  <abarth@webkit.org>
40291
40292         Enable CORS for garden-o-matic
40293         https://bugs.webkit.org/show_bug.cgi?id=65936
40294
40295         Reviewed by Dimitri Glazkov.
40296
40297         This patch will allow the hosted instance of garden-o-matic to
40298         communicate with the local server.
40299
40300         * Scripts/webkitpy/tool/servers/gardeningserver.py:
40301         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
40302
40303 2011-08-09  Adam Barth  <abarth@webkit.org>
40304
40305         Upgrade jquery in TestFailures
40306         https://bugs.webkit.org/show_bug.cgi?id=65935
40307
40308         Reviewed by Dimitri Glazkov.
40309
40310         Upgrade to a newer version of jQuery with better support for CORS and CSP.
40311
40312         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
40313         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html:
40314         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40315
40316 2011-08-09  Sheriff Bot  <webkit.review.bot@gmail.com>
40317
40318         Unreviewed, rolling out r92683.
40319         http://trac.webkit.org/changeset/92683
40320         https://bugs.webkit.org/show_bug.cgi?id=65921
40321
40322          "Breaks Qt --minimal build. Revert pending update of the Qt
40323         minimal configuration" (Requested by simathur on #webkit).
40324
40325         * QtTestBrowser/cookiejar.cpp:
40326         (TestBrowserCookieJar::TestBrowserCookieJar):
40327         * QtTestBrowser/launcherwindow.cpp:
40328         (LauncherWindow::createChrome):
40329         (LauncherWindow::setDiskCache):
40330         * QtTestBrowser/main.cpp:
40331         (LauncherApplication::handleUserOptions):
40332         * QtTestBrowser/webpage.cpp:
40333         (WebPage::openUrlInDefaultBrowser):
40334
40335 2011-08-09  Siddharth Mathur  <siddharth.mathur@nokia.com>
40336
40337         [Qt] Simplify code by removing QT_NO_DESKTOPSERVICES and QT_NO_NETWORKDISKCACHE
40338         https://bugs.webkit.org/show_bug.cgi?id=65880
40339
40340         Reviewed by Andreas Kling.
40341
40342         QDesktopServices and QNetworkDiskCache have been around for a while now. Kill flags which 
40343         check for their feature flags. Assume that any reasonable Qt build provides them. 
40344         * QtTestBrowser/cookiejar.cpp:
40345         (TestBrowserCookieJar::TestBrowserCookieJar):
40346         * QtTestBrowser/launcherwindow.cpp:
40347         (LauncherWindow::createChrome):
40348         (LauncherWindow::setDiskCache):
40349         * QtTestBrowser/main.cpp:
40350         (LauncherApplication::handleUserOptions):
40351         * QtTestBrowser/webpage.cpp:
40352         (WebPage::openUrlInDefaultBrowser):
40353
40354 2011-08-09  Adam Barth  <abarth@webkit.org>
40355
40356         BaselineOptimizer created the wrong baseline for fast/js/regexp-overflow.html
40357         https://bugs.webkit.org/show_bug.cgi?id=65891
40358
40359         Reviewed by Eric Seidel.
40360
40361         The problem was that platform/chromium contained a bogus expectation
40362         file that needed to be removed, but by the time we got around to
40363         removing it, we'd already moved the correct baseline into its place.
40364         After this patch, we copy the gold results into memory before
40365         reshuffling things on disk (and we delete bad things before adding good
40366         things).
40367
40368         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
40369         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
40370
40371 2011-08-08  Adam Barth  <abarth@webkit.org>
40372
40373         Chromium Windows bots can't figure out what SVN revision they're running
40374         https://bugs.webkit.org/show_bug.cgi?id=65893
40375
40376         Reviewed by Eric Seidel.
40377
40378         The comment in _engage_awesome_windows_hacks explains why we're making
40379         this change.  It's ugly and rediculous, but this approach seems better
40380         than using shell=True when calling popen.
40381
40382         * Scripts/webkitpy/common/checkout/scm/svn.py:
40383         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
40384
40385 2011-08-08  Adam Barth  <abarth@webkit.org>
40386
40387         Remove deduplicate-tests
40388         https://bugs.webkit.org/show_bug.cgi?id=65886
40389
40390         Reviewed by Tony Chang.
40391
40392         This script is redundant with "webkit-patch bulk-optimize-baselines",
40393         which can find many more duplicates than deduplicate-tests because
40394         bulk-optimize-baselines can move results around whereas
40395         deduplicate-tests can only remove results.
40396
40397         * Scripts/deduplicate-tests: Removed.
40398         * Scripts/webkitpy/to_be_moved/deduplicate_tests.py: Removed.
40399         * Scripts/webkitpy/to_be_moved/deduplicate_tests_unittest.py: Removed.
40400
40401 2011-08-08  Adam Barth  <abarth@webkit.org>
40402
40403         scm.delete should delete empty parent directories as well
40404         https://bugs.webkit.org/show_bug.cgi?id=65878
40405
40406         Reviewed by Eric Seidel.
40407
40408         This behavior makes SVN match GIT (which has no concept of empty
40409         directories).  This bug comes up a lot when optimizing baselines, which
40410         often create empty directories when we're able to optimize everything
40411         out of a given folder.
40412
40413         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
40414         * Scripts/webkitpy/common/checkout/scm/svn.py:
40415
40416 2011-08-08  Lucas Forschler  <lforschler@apple.com>
40417
40418         Add triggers for Lion WK2 test bots.
40419
40420         Reviewed by Stephanie Lewis.
40421
40422         * BuildSlaveSupport/build.webkit.org-config/config.json:
40423
40424 2011-08-08  Adam Barth  <abarth@webkit.org>
40425
40426         bulk-optimize-baselines should take directories on the command line
40427         https://bugs.webkit.org/show_bug.cgi?id=65879
40428
40429         Reviewed by Dimitri Glazkov.
40430
40431         Passing lists of tests via stdin is a pain.  It's easier if the command
40432         takes a list of tests on the command line, like run-webkit-tests.
40433
40434         * Scripts/webkitpy/tool/commands/rebaseline.py:
40435
40436 2011-08-08  Adam Barth  <abarth@webkit.org>
40437
40438         Deprecate rebaseline-chromium-webkit-tests
40439         https://bugs.webkit.org/show_bug.cgi?id=65873
40440
40441         Reviewed by Dimitri Glazkov.
40442
40443         This script never worked correctly and now is redundant with more
40444         modern infrastructure for rebaselining tests.  This patch deprecates
40445         the script in order to flush out any issues with the new tools.  Once
40446         folks are happy with the new tools, we'll delete this script.
40447
40448         * Scripts/rebaseline-chromium-webkit-tests:
40449
40450 2011-08-08  Dimitri Glazkov  <dglazkov@chromium.org>
40451
40452         garden-o-matic should only touch expectations that need updating.
40453         https://bugs.webkit.org/show_bug.cgi?id=65876
40454
40455         Reviewed by Adam Barth.
40456
40457         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Added reconstitute_only_these to TestExpectationSerializer.list_to_string,
40458             so that a caller could influence which lines to serialize from values.
40459         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added tests.
40460         * Scripts/webkitpy/tool/servers/gardeningserver.py: Started using reconstitute_only_these.
40461         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added tests.
40462
40463 2011-08-08  Dimitri Glazkov  <dglazkov@chromium.org>
40464
40465         TestExpectationsEditor should return a list of updated expectations.
40466         https://bugs.webkit.org/show_bug.cgi?id=65872
40467
40468         Reviewed by Adam Barth.
40469
40470         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Added a list to store lines that are being updated.
40471         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Changed tests to account for updated lines.
40472
40473 2011-08-08  Jochen Eisinger  <jochen@chromium.org>
40474
40475         Fix SCM webkitpy unit test failures
40476         https://bugs.webkit.org/show_bug.cgi?id=65823
40477
40478         Reviewed by Eric Seidel.
40479
40480         * Scripts/webkitpy/common/checkout/scm/git.py:
40481         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
40482
40483 2011-08-08  Eric Seidel  <eric@webkit.org>
40484
40485         Move the --leaks bot back over to NRWT now that I'm back
40486         from vacation and able to debug it.
40487
40488         Unreviewed.
40489
40490         * Scripts/run-webkit-tests:
40491         (usingWebKit2):
40492         (useNewRunWebKitTests):
40493
40494 2011-08-05  Dimitri Glazkov  <dglazkov@chromium.org>
40495
40496         Wire up updating expectations in garden-o-matic.
40497         https://bugs.webkit.org/show_bug.cgi?id=65794
40498
40499         Reviewed by Adam Barth.
40500
40501         * Scripts/webkitpy/layout_tests/port/factory.py: Moved _port_for_builder from rebaseline.py to here, rename to get_from_builder_name.
40502         * Scripts/webkitpy/tool/commands/rebaseline.py: Adapted callsites to new location.
40503         * Scripts/webkitpy/tool/servers/gardeningserver.py: Added GardeningExpectationsUpdater, which knows how to update expectations.
40504         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added loads of tests.
40505
40506 2011-08-08  Jochen Eisinger  <jochen@chromium.org>
40507
40508         webkit-patch doesn't get along with renamed files
40509         https://bugs.webkit.org/show_bug.cgi?id=48075
40510
40511         Possibly a bit heavy handed - I removed all instances of -C and
40512         changed every instance of -M with '--no-renames' in git.py. This
40513         forces git to not try to tell us about renames at all, which is
40514         ultimately the behaviour we want. The old file is shown deleted,
40515         then the new file is shown added, followed by any changes that
40516         occurred. Also gets rid of the problem where deleting one file
40517         and adding another file which has similar content would
40518         unexpectedly show up as a rename, and fall out of a diff.
40519
40520         Based on a patch by Wyatt Carss.
40521
40522         Reviewed by Eric Seidel.
40523
40524         * Scripts/webkitpy/common/checkout/scm/git.py:
40525
40526 2011-08-07  Sam White  <samuel.white@rochester.edu>
40527
40528         Add the ability to search the AccessibilityObject cache
40529         https://bugs.webkit.org/show_bug.cgi?id=64994
40530         
40531         Added testing support for AccessibilityObject cache searching. Currently,
40532         only the mac platform is full supported and has had API exposed. Other
40533         platforms have only have this new functionality stubbed. Full implementation
40534         is a job suited only for an accessibility expert of each respective platform.
40535
40536         Reviewed by Chris Fleizach.
40537
40538         * DumpRenderTree/AccessibilityUIElement.cpp:
40539         (uiElementForSearchPredicateCallback):
40540         (AccessibilityUIElement::getJSClass):
40541         * DumpRenderTree/AccessibilityUIElement.h:
40542         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
40543         (AccessibilityUIElement::uiElementForSearchPredicate):
40544         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
40545         (AccessibilityUIElement::uiElementForSearchPredicate):
40546         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
40547         (AccessibilityUIElement::uiElementForSearchPredicate):
40548
40549 2011-08-06  Adam Barth  <abarth@webkit.org>
40550
40551         Remove dead code in webkitpy
40552         https://bugs.webkit.org/show_bug.cgi?id=65818
40553
40554         Reviewed by Dimitri Glazkov.
40555
40556         This code was added to support the rebaseline2 command six months ago,
40557         but the rebaseline2 command was never finished and no one else has used
40558         this code since it was landed.  This patch removes the dead code.  If
40559         we revive rebaseline2, then we can revert this patch and recover the
40560         code.  Until then, this code is just dead weight.
40561
40562         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
40563         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
40564         * Scripts/webkitpy/common/net/testoutput.py: Removed.
40565         * Scripts/webkitpy/common/net/testoutput_unittest.py: Removed.
40566         * Scripts/webkitpy/common/net/testoutputset.py: Removed.
40567         * Scripts/webkitpy/common/net/testoutputset_unittest.py: Removed.
40568         * Scripts/webkitpy/common/system/directoryfileset.py: Removed.
40569         * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Removed.
40570         * Scripts/webkitpy/layout_tests/port/base.py:
40571         * Scripts/webkitpy/layout_tests/port/chromium.py:
40572         * Scripts/webkitpy/layout_tests/port/webkit.py:
40573
40574 2011-08-06  Adam Barth  <abarth@webkit.org>
40575
40576         webkit-patch optimize-baselines can't handle promotions to base results directory
40577         https://bugs.webkit.org/show_bug.cgi?id=65819
40578
40579         Reviewed by Dimitri Glazkov.
40580
40581         This bug came up when testing the optimizer on some editing baselines.
40582
40583         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
40584         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
40585
40586 2011-08-06  Adam Barth  <abarth@webkit.org>
40587
40588         Add a small command to optimize baselines in bulk.
40589
40590         * Scripts/webkitpy/tool/commands/rebaseline.py:
40591
40592 2011-08-05  Dimitri Glazkov  <dglazkov@chromium.org>
40593
40594         Fix unit test breakage by plumbing convert_404_to_None in MockWeb.
40595
40596         * Scripts/webkitpy/tool/mocktool.py: Added missing parameter to MockWeb.get_binary
40597
40598 2011-08-05  Dimitri Glazkov  <dglazkov@chromium.org>
40599
40600         Garden-o-matic updateexpectations needs a unit test.
40601         https://bugs.webkit.org/show_bug.cgi?id=65780
40602
40603         Reviewed by Adam Barth.
40604
40605         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added unit test.
40606
40607 2011-08-05  Anders Carlsson  <andersca@apple.com>
40608
40609         Future proof an Objective-C test
40610         https://bugs.webkit.org/show_bug.cgi?id=65788
40611
40612         Reviewed by Dan Bernstein.
40613
40614         Add isObjectInstanceOf to ObjCController.
40615
40616         * DumpRenderTree/mac/ObjCController.m:
40617         (+[ObjCController isSelectorExcludedFromWebScript:]):
40618         (+[ObjCController webScriptNameForSelector:]):
40619         (-[ObjCController isObject:instanceOf:]):
40620
40621 2011-08-05  Adam Barth  <abarth@webkit.org>
40622
40623         trac.js needs unittests
40624         https://bugs.webkit.org/show_bug.cgi?id=65673
40625
40626         Reviewed by Dimitri Glazkov.
40627
40628         This tests also have somewhat large fixtures.  I've trimmed the example
40629         XML down a bunch while still hitting interesting cases in the parsing.
40630
40631         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40632         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/trac_unittests.js: Added.
40633
40634 2011-08-05  Adam Barth  <abarth@webkit.org>
40635
40636         Rebuild rebaseline-chromium-webkit-tests on top of modern infrastructure
40637         https://bugs.webkit.org/show_bug.cgi?id=65759
40638
40639         Reviewed by Dimitri Glazkov.
40640
40641         rebaseline-chromium-webkit-tests doesn't really fit into webkitpy's
40642         architecture, is poorly tested, and has a bunch of quirks.  This patch
40643         rebuilds the core functionality of rebaseline-chromium-webkit-tests on
40644         top of more modern infrastructure.  In the process, we get more code
40645         re-use and better testing.
40646
40647         Once we're satisfied with this new implementation, we can delete the
40648         old implementation.
40649
40650         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
40651         * Scripts/webkitpy/common/net/web.py:
40652         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
40653         * Scripts/webkitpy/layout_tests/port/builders.py:
40654         * Scripts/webkitpy/layout_tests/port/chromium.py:
40655         * Scripts/webkitpy/layout_tests/port/factory.py:
40656         * Scripts/webkitpy/layout_tests/port/webkit.py:
40657         * Scripts/webkitpy/tool/commands/rebaseline.py:
40658         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
40659
40660 2011-08-05  Anders Carlsson  <andersca@apple.com>
40661
40662         Remove PluginHalter
40663         https://bugs.webkit.org/show_bug.cgi?id=65729
40664
40665         Reviewed by Darin Adler.
40666
40667         Remove call to set the allowed plug-in run time.
40668
40669         * DumpRenderTree/mac/DumpRenderTree.mm:
40670         (resetDefaultsToConsistentValues):
40671
40672 2011-08-05  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
40673
40674         Unreviewed build fix for Qt-Minimal buildbot
40675
40676         Use ~/.QtTestBrowser for the cookiejar when QDesktopServices
40677         is disabled.
40678
40679         Rubber-stamped by Holger Freyther.
40680
40681         * QtTestBrowser/cookiejar.cpp:
40682         (TestBrowserCookieJar::TestBrowserCookieJar):
40683
40684 2011-08-05  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>
40685
40686         [Qt] QtTestBrowser: Add support for saving cookies on disk
40687         https://bugs.webkit.org/show_bug.cgi?id=65328
40688
40689         Simple cookiejar that saves cookies on disk.
40690
40691         Added menu options to clear cookies (Edit->Clear cookies) and
40692         disable disk cookies (Settings->[ ]Save Cookies on Disk).
40693
40694         Option -no-disk-cookies is also available.
40695
40696         Reviewed by Andreas Kling.
40697
40698         * QtTestBrowser/QtTestBrowser.pro:
40699         * QtTestBrowser/cookiejar.cpp: Added.
40700         * QtTestBrowser/cookiejar.h: Added.
40701         * QtTestBrowser/launcherwindow.cpp:
40702         * QtTestBrowser/launcherwindow.h:
40703         * QtTestBrowser/main.cpp:
40704
40705 2011-08-04  Adam Barth  <abarth@webkit.org>
40706
40707         model.js needs some unit testing
40708         https://bugs.webkit.org/show_bug.cgi?id=65730
40709
40710         Reviewed by Dimitri Glazkov.
40711
40712         These tests do not cover all the functions exported by the model
40713         module.  We'll need to add the remaining ones in the future.
40714
40715         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model_unittests.js: Added.
40716         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40717
40718 2011-08-04  Adam Barth  <abarth@webkit.org>
40719
40720         Another speculative fix for the "svn revision on Windows" problem.
40721
40722         * Scripts/webkitpy/common/checkout/scm/git.py:
40723
40724 2011-08-04  Mark Rowe  <mrowe@apple.com>
40725
40726         Future-proof Xcode configuration settings.
40727
40728         * DumpRenderTree/mac/Configurations/Base.xcconfig:
40729         * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig:
40730         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
40731         * MiniBrowser/Configurations/Base.xcconfig:
40732         * MiniBrowser/Configurations/CompilerVersion.xcconfig:
40733         * MiniBrowser/Configurations/DebugRelease.xcconfig:
40734         * TestWebKitAPI/Configurations/Base.xcconfig:
40735         * TestWebKitAPI/Configurations/CompilerVersion.xcconfig:
40736         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
40737         * WebKitTestRunner/Configurations/Base.xcconfig:
40738         * WebKitTestRunner/Configurations/CompilerVersion.xcconfig:
40739         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
40740
40741 2011-08-04  Adam Barth  <abarth@webkit.org>
40742
40743         Fancier debug logging.
40744
40745         * Scripts/webkitpy/layout_tests/controllers/manager.py:
40746
40747 2011-08-04  David Levin  <levin@chromium.org>
40748
40749         [chromium] Fix assertion failure in ThreadIdentifierData::identifier in TestShell.
40750         https://bugs.webkit.org/show_bug.cgi?id=65685
40751
40752         Reviewed by Dmitry Titov.
40753
40754         * DumpRenderTree/chromium/WebViewHost.cpp:
40755         (WebViewHost::WebViewHost): Intialize WTF threading before
40756         anything in WTF is used. Usually this is done by WebViewImpl::WebViewImpl
40757         but in some cases code may use WTF without creating WebViewImpl and
40758         WTF code functionality may call WTF::currentThread, which requires
40759         this initialization now.
40760
40761 2011-08-04  Adam Barth  <abarth@webkit.org>
40762
40763         An educated guess at causing the Windows bots on build.webkit.org to
40764         find the SVN revision number.
40765
40766         * Scripts/webkitpy/layout_tests/controllers/manager.py:
40767         * Scripts/webkitpy/layout_tests/port/base.py:
40768
40769 2011-08-04  Adam Barth  <abarth@webkit.org>
40770
40771         More logging to help debug the "no SVN rev on Chromium Windows bots"
40772         bug.  My current theory is that we're trying to detect the SCM system
40773         in the wrong directory.
40774
40775         * Scripts/webkitpy/layout_tests/port/base.py:
40776
40777 2011-08-04  Dimitri Glazkov  <dglazkov@chromium.org>
40778
40779         Speed up webkit-patch optimize-expectations significantly by not collecting test files.
40780         https://bugs.webkit.org/show_bug.cgi?id=65697
40781
40782         I neglected to realize that collecting test names is not necessary for this operation.
40783
40784         Reviewed by Adam Barth.
40785
40786         * Scripts/webkitpy/tool/commands/expectations.py: Changed to pass an empty list of test files.
40787
40788 2011-08-04  Adam Barth  <abarth@webkit.org>
40789
40790         checkout_unittest.js should have better coverage of checkout.js
40791         https://bugs.webkit.org/show_bug.cgi?id=65671
40792
40793         Reviewed by Dimitri Glazkov.
40794
40795         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40796             - Remove unused functions.
40797         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout_unittests.js:
40798             - Test remaining public functions in the checkout module.
40799
40800 2011-08-04  Dmitry Lomov  <dslomov@google.com>
40801
40802         https://bugs.webkit.org/show_bug.cgi?id=65706
40803         Run run-unit-tests on release mode test bots.
40804         Reenabling after 61812 is fixed.
40805
40806         Reviewed by Adam Roben.
40807
40808         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
40809
40810 2011-08-04  Adam Barth  <abarth@webkit.org>
40811
40812         builders.js needs unit tests
40813         https://bugs.webkit.org/show_bug.cgi?id=65670
40814
40815         Reviewed by Dimitri Glazkov.
40816
40817         This test requires somewhat large test fixtures, but using real
40818         examples seemed better than trimming them down too much.
40819
40820         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js:
40821         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders_unittests.js: Added.
40822         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40823             - Note: trac_unittests.js doesn't exist (yet!).
40824
40825 2011-08-04  Alexis Menard  <alexis.menard@openbossa.org>
40826
40827         [Qt] Make navigation actions properly usable in QML.
40828         https://bugs.webkit.org/show_bug.cgi?id=65624
40829
40830         Fix compilation after the introduction of QWebNavigationController.
40831
40832         Reviewed by Benjamin Poulain.
40833
40834         * MiniBrowser/qt/BrowserView.cpp:
40835         (BrowserView::navigationAction):
40836
40837 2011-08-04  Adam Barth  <abarth@webkit.org>
40838
40839         Another subtle bug due to lack of testing in main.js.  :(
40840
40841         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40842
40843 2011-08-04  Adam Barth  <abarth@webkit.org>
40844
40845         Fix types.  Sadly, main.js has no test coverage.  (I need to think
40846         about how to test this part of the code.)
40847
40848         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40849
40850 2011-08-04  Adam Barth  <abarth@webkit.org>
40851
40852         bugzilla.js is missing unit tests
40853         https://bugs.webkit.org/show_bug.cgi?id=65656
40854
40855         Reviewed by Adam Roben.
40856
40857         Testing makes perfect.
40858
40859         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/bugzilla_unittests.js: Added.
40860         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js:
40861         (NetworkSimulator.prototype.runTest.get if):
40862         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40863
40864 2011-08-04  Adam Barth  <abarth@webkit.org>
40865
40866         Add missing license blocks to garden-o-matic
40867         https://bugs.webkit.org/show_bug.cgi?id=65654
40868
40869         Reviewed by Dimitri Glazkov.
40870
40871         This patch is entirely boilerplate.
40872
40873         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
40874         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
40875         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js:
40876         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js:
40877         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40878         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout_unittests.js:
40879         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
40880         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
40881         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
40882         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40883         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
40884         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net.js:
40885         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js:
40886         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
40887         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
40888         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40889         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
40890         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
40891
40892 2011-08-04  Adam Barth  <abarth@webkit.org>
40893
40894         garden-o-matic needs a way to mock out the network
40895         https://bugs.webkit.org/show_bug.cgi?id=65653
40896
40897         Reviewed by Dimitri Glazkov.
40898
40899         This patch introduces the net module, which is a useful mock point for
40900         abstracting away the network.  Future patches will use this
40901         infrastructure to test some currently untested code.
40902
40903         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
40904         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
40905         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
40906         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js:
40907         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40908         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
40909         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html:
40910         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net.js: Added.
40911         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js: Added.
40912         (NetworkSimulator):
40913         (NetworkSimulator.prototype.scheduleCallback):
40914         (NetworkSimulator.prototype.runTest):
40915         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
40916         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
40917         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
40918         * Scripts/webkitpy/tool/servers/gardeningserver.py:
40919
40920 2011-08-03  Adam Barth  <abarth@webkit.org>
40921
40922         Use failureInfo more pervasively in garden-o-matic
40923         https://bugs.webkit.org/show_bug.cgi?id=65650
40924
40925         Reviewed by Dimitri Glazkov.
40926
40927         These three variable appears in concert together many places.  This
40928         patch unifies the remaining uses into being failureInfo objects, which
40929         saves some marshalling.
40930
40931         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40932         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
40933         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
40934         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
40935         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
40936
40937 2011-08-03  Adam Barth  <abarth@webkit.org>
40938
40939         garden-o-matic should be able to update expecations from the details pane
40940         https://bugs.webkit.org/show_bug.cgi?id=65648
40941
40942         Reviewed by Dimitri Glazkov.
40943
40944         The new button queues up the updates, which get executed all at once.
40945
40946         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
40947         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40948         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
40949
40950 2011-08-03  Adam Barth  <abarth@webkit.org>
40951
40952         Add UI to garden-o-matic for updating expectations
40953         https://bugs.webkit.org/show_bug.cgi?id=65644
40954
40955         Reviewed by Dimitri Glazkov.
40956
40957         The patch plumbs the UI back to the gardening server, but the gardening
40958         server endpoint is just a stub at this point.
40959
40960         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40961         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
40962         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40963         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
40964         * Scripts/webkitpy/tool/servers/gardeningserver.py:
40965         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
40966
40967 2011-08-03  Adam Barth  <abarth@webkit.org>
40968
40969         garden-o-matic details view should queue rebaselines for later execution
40970         https://bugs.webkit.org/show_bug.cgi?id=65636
40971
40972         Reviewed by Dimitri Glazkov.
40973
40974         This patch doesn't contain any confirmation UI, but we'll probably want
40975         that at some point.
40976
40977         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
40978         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
40979         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
40980         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
40981
40982 2011-08-03  Kentaro Hara  <haraken@google.com>
40983
40984         Implement EventSender.scalePageBy()
40985         https://bugs.webkit.org/show_bug.cgi?id=58013
40986
40987         Reviewed by Darin Fisher.
40988
40989         Implemented EventSender.scalePageBy(f, x, y), which scales a page by a factor of f
40990         and then sets a scroll position to (x, y). Enabled the tests that had been waiting
40991         for the implementation of EventSender.scalePageBy(f, x, y).
40992
40993         Tests: compositing/scaling/tiled-layer-recursion.html
40994                fast/repaint/scale-page-shrink.html
40995                fast/dom/Element/scale-page-client-rects.html
40996                fast/dom/Range/scale-page-client-rects.html
40997                fast/events/scroll-in-scaled-page-with-overflow-hidden.html
40998                fast/dom/Element/scale-page-bounding-client-rect.html
40999                fast/dom/Range/scale-page-bounding-client-rect.html
41000
41001         * DumpRenderTree/chromium/EventSender.cpp:
41002         (EventSender::EventSender): Added bindings for scalePageBy().
41003         (EventSender::scalePageBy): A wrapper method for scalePage() in WebView.
41004         * DumpRenderTree/chromium/EventSender.h:
41005         * DumpRenderTree/chromium/TestShell.cpp:
41006         (TestShell::resetTestController): Resets the scale factor to 1.
41007
41008 2011-08-03  David Levin  <levin@chromium.org>
41009
41010         Rename WEBKIT_API to WEBKIT_EXPORT in check-webkit-style.
41011         https://bugs.webkit.org/show_bug.cgi?id=65652
41012
41013         Reviewed by Adam Barth.
41014
41015         * Scripts/webkitpy/style/checkers/cpp.py:
41016         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
41017
41018 2011-08-03  Filip Pizlo  <fpizlo@apple.com>
41019
41020         Adding Filip Pizlo to committer list.
41021
41022         Unreviewed.
41023
41024         * Scripts/webkitpy/common/config/committers.py:
41025
41026 2011-08-03  Dimitri Glazkov  <dglazkov@chromium.org>
41027
41028         Add "optimize-expectations" command to webkit-patch.
41029         https://bugs.webkit.org/show_bug.cgi?id=65633
41030
41031         For now, only operates on Chromium test_expectations.txt and does not report errors/warnings.
41032
41033         Reviewed by Adam Barth.
41034
41035         * Scripts/webkitpy/tool/commands/__init__.py: Added command.
41036         * Scripts/webkitpy/tool/commands/expectations.py: Added.
41037
41038 2011-08-03  Dimitri Glazkov  <dglazkov@chromium.org>
41039
41040         Allow multiple bug identifiers in test expectations.
41041         https://bugs.webkit.org/show_bug.cgi?id=65642
41042
41043         Reviewed by Adam Barth.
41044
41045         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Tweaked to allow multiple bug ids.
41046         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added tests.
41047
41048 2011-08-03  Dimitri Glazkov  <dglazkov@chromium.org>
41049
41050         Teach BuilderToPort to distinguish between Release and Debug builders.
41051         https://bugs.webkit.org/show_bug.cgi?id=65628
41052
41053         Reviewed by Adam Barth.
41054
41055         * Scripts/webkitpy/tool/commands/rebaseline.py: Added a smart options object and passed it to port factory.
41056         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py: Added tests.
41057
41058 2011-08-03  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
41059
41060         [Qt] Fix running qmltests for WK2 in the bot
41061         https://bugs.webkit.org/show_bug.cgi?id=65621
41062
41063         Reviewed by Csaba Osztrogonác.
41064
41065         The path for QML_IMPORT_PATH was assuming we were running the WK1 tests,
41066         but now there's the case for WK2 UIProcess tests as well.
41067
41068         * Scripts/run-qtwebkit-tests: add both possible paths to the QML_IMPORT_PATH.
41069
41070 2011-08-02  Dimitri Glazkov  <dglazkov@chromium.org>
41071
41072         Add a way to edit test expectations.
41073         https://bugs.webkit.org/show_bug.cgi?id=64922
41074
41075         Implements a TestExpectationsEditor, which provides a standard way to
41076         update and remove test expectations.
41077
41078         Reviewed by Adam Barth.
41079
41080         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Changed TestExpectationSerializer to skip lines that match no test configurations,
41081             added TestExpectationLine.is_flaky, added BugManager, a simple interface to be fleshed out later, and a TestExpectationsEditor, the big
41082             enchilada.
41083         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Loads of tests to capture desired behavior.
41084
41085 2011-08-03  Andreas Kling  <kling@webkit.org>
41086
41087         [Qt] MiniBrowser: Unbreak load progress indication.
41088         https://bugs.webkit.org/show_bug.cgi?id=65614
41089
41090         Reviewed by Kenneth Rohde Christiansen.
41091
41092         loadProgress() was renamed to loadProgressChanged().
41093
41094         * MiniBrowser/qt/BrowserWindow.cpp:
41095         (BrowserWindow::BrowserWindow):
41096         (BrowserWindow::onLoadProgressChanged):
41097         * MiniBrowser/qt/BrowserWindow.h:
41098
41099 2011-08-03  Martin Robinson  <mrobinson@igalia.com>
41100
41101         Build fix for WebKit2GTK+.
41102
41103         * WebKitTestRunner/GNUmakefile.am: Include libInternals as one of
41104         of the library dependencies of the injected bundle.
41105
41106 2011-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
41107
41108         [GTK] Install web and plugin processes in libexecdir instead of bindir
41109         https://bugs.webkit.org/show_bug.cgi?id=65600
41110
41111         Reviewed by Martin Robinson.
41112
41113         Set WEBKIT_EXEC_PATH environment variable to use web and plugin
41114         process from current directory instead of the intalled ones.
41115
41116         * MiniBrowser/gtk/GNUmakefile.am:
41117         * MiniBrowser/gtk/main.c:
41118         (main):
41119         * WebKitTestRunner/GNUmakefile.am:
41120         * WebKitTestRunner/gtk/main.cpp:
41121         (main):
41122
41123 2011-08-02  Anders Carlsson  <andersca@apple.com>
41124
41125         Add mac-lion platform to old-run-webkit-tests
41126         https://bugs.webkit.org/show_bug.cgi?id=65577
41127
41128         * Scripts/old-run-webkit-tests:
41129         * Scripts/webkitdirs.pm:
41130         (isLion):
41131
41132 2011-08-02  Alexandru Chiculita  <achicu@adobe.com>
41133
41134         Buildbot: The Properties object has no "hasProperty" method in buildbot 8.3
41135         https://bugs.webkit.org/show_bug.cgi?id=65554
41136
41137         Using "has_key" instead of "hasProperty" in order to support buildbot 8.3.
41138
41139         Reviewed by Adam Roben.
41140
41141         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
41142
41143 2011-08-02  Jochen Eisinger  <jochen@chromium.org>
41144
41145         Implement WebPermissionClient::allowPlugins for layout tests
41146         https://bugs.webkit.org/show_bug.cgi?id=33991
41147
41148         Reviewed by Adam Barth.
41149
41150         * DumpRenderTree/chromium/LayoutTestController.cpp:
41151         (LayoutTestController::LayoutTestController):
41152         (LayoutTestController::setPluginsAllowed):
41153         * DumpRenderTree/chromium/LayoutTestController.h:
41154         * DumpRenderTree/chromium/WebPermissions.cpp:
41155         (WebPermissions::allowPlugins):
41156         (WebPermissions::setPluginsAllowed):
41157         (WebPermissions::reset):
41158         * DumpRenderTree/chromium/WebPermissions.h:
41159
41160 2011-08-02  Adam Barth  <abarth@webkit.org>
41161
41162         TestFailures unit tests leak a global variable
41163         https://bugs.webkit.org/show_bug.cgi?id=65500
41164
41165         Reviewed by Adam Roben.
41166
41167         qunit detects the leak if you check the "noglobals" box on run-unittests.html.
41168
41169         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
41170
41171 2011-08-02  Alexandru Chiculita  <achicu@adobe.com>
41172
41173         CSS Regions build bot should archive and upload output files
41174         https://bugs.webkit.org/show_bug.cgi?id=65200
41175
41176         Until now the buildbots would only upload the result archive if the 'trigger' parameters was specified. The
41177         upload was needed, because the testbots needed to download and use the archive. For CSS Regions we don't have
41178         a testbot yet, but we want to save the archive on the server for manual testing. Added new parameter
41179         in config.json, called "upload" that when set to "true" will force the upload to the buildmaster server.
41180
41181         The "features" argument is now taken into account when determining the name of the archive on the server. That
41182         was needed in order to avoid the CSS Regions Mac buildbot overwrite the SnowLeopard Mac build.
41183
41184         Reviewed by Adam Roben.
41185
41186         * BuildSlaveSupport/build.webkit.org-config/config.json:
41187         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
41188
41189 2011-08-02  Patrick Gansterer  <paroga@webkit.org>
41190
41191         Fix _win32_check_running_pid on 64bit windows python
41192         https://bugs.webkit.org/show_bug.cgi?id=64950
41193
41194         Reviewed by Adam Roben.
41195
41196         Use the correct types for the PROCESSENTRY32 struct.
41197         th32DefaultHeapID is declared as ULONG_PTR and not as DWORD.
41198         Using 32bit for pointers instead of 64bit results in an ERROR_BAD_LENGTH
41199         failure, when calling the Process32First function.
41200         This is covered by the executive unittest.
41201
41202         * Scripts/webkitpy/common/system/executive.py:
41203
41204 2011-08-01  Adam Barth  <abarth@webkit.org>
41205
41206         garden-o-matic should call optimize-baselines when rebaselining tests
41207         https://bugs.webkit.org/show_bug.cgi?id=65499
41208
41209         Reviewed by Dimitri Glazkov.
41210
41211         I took the opportunity to modernize this code to use some of our more
41212         powerful primitives from base.
41213
41214         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
41215         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js:
41216         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
41217         * Scripts/webkitpy/tool/servers/gardeningserver.py:
41218         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
41219
41220 2011-08-01  Stephanie Lewis  <slewis@apple.com>
41221
41222         Finish reconfiguration started by Lucas Forschler
41223         Reconfigured slaves:
41224         Removed Leopard Intel Release (Build)
41225         Removed Leopard Intel Release (Tests)
41226         Remove apple-pixel-1
41227         Added Lion slaves from disabled Leopard slaves
41228
41229         Added builders:
41230         Lion Intel Release (Build)
41231         Lion Intel Debug (Build)
41232         Lion Intel Release (Tests)
41233         Lion Intel Release WK2 (Tests)
41234         Lion Intel Debug (Tests)
41235         Lion Intel Debug WK2 (Tests)
41236
41237         Added triggers:
41238         lion-intel-debug-tests
41239         lion-intel-debug-test-wk2
41240         lion-intel-release-tests
41241         lion-intel-release-tests-wk2
41242         
41243         Removed trigger:
41244         leopard-intel-release-tests
41245
41246         Added PlatformSpecificScheduler:
41247         mac-lion
41248
41249         Added "mac-lion" to build.py and build_unitttest.py
41250
41251         Reviewed by Mark Rowe.
41252
41253         * BuildSlaveSupport/build.webkit.org-config/config.json:
41254         * Scripts/webkitpy/common/config/build.py:
41255         * Scripts/webkitpy/common/config/build_unittest.py:
41256
41257  
41258 2011-08-01  Adam Barth  <abarth@webkit.org>
41259
41260         webkit-patch needs to be able to "optimize" the storage of baselines on disk
41261         https://bugs.webkit.org/show_bug.cgi?id=65418
41262
41263         Reviewed by Dimitri Glazkov.
41264
41265         If we're not careful when rebaselining tests, we can end up with lots
41266         of duplicate expected results files in the tree.  This patch adds a
41267         webkit-patch command that optimizes the storage of expected results on
41268         disk.
41269
41270         This command is similar to deduplicate-tests, except that it can move
41271         test results around rather than just remove duplicate results.
41272
41273         Unfortunately, this problem is very tricky because the baseline search
41274         structure is a hypergraph.  This patch include a huerstic optimizer
41275         that appears to work on a bunch of examples I've tried.  We'll likely
41276         need to refine it as gain experience.
41277
41278         * Scripts/webkitpy/common/system/filesystem.py:
41279         * Scripts/webkitpy/tool/commands/rebaseline.py:
41280
41281 2011-08-01  Dimitri Glazkov  <dglazkov@chromium.org>
41282
41283         Teach TestExpectationSerializer about parsed expectations.
41284         https://bugs.webkit.org/show_bug.cgi?id=65444
41285
41286         This is a bit largish in size, but the essentials are:
41287         * TestExpectationSerializer, given a parsed TestExpectationLine, can now spit out a pretty string.
41288         * We now store original content of the expectation line on TestExpectationLine.
41289         * Lots of tests.
41290
41291         Reviewed by Adam Barth.
41292
41293         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Fixed an issue where we didn't
41294             populate macros correctly, also fixed an issue where we incorrectly returned an empty list
41295             for all configurations.
41296         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added tests for those.
41297         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Removed vestiges of code long gone,
41298             refactored TestExpectationsSerializer to recognize and correctly serialize parsed TestExpectationLine instances,
41299             changed to store and use TestExpectationLine.original_string.
41300         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added tests.
41301
41302 2011-08-01  Adam Barth  <abarth@webkit.org>
41303
41304         Remove unused functionality from gardeningserver
41305         https://bugs.webkit.org/show_bug.cgi?id=65479
41306
41307         Reviewed by Dimitri Glazkov.
41308
41309         We now handle these operations directly from the front-end.  That means
41310         they work even without the gardening server running!
41311
41312         Also, add some missing files to the list of static files.
41313
41314         * Scripts/webkitpy/tool/servers/gardeningserver.py:
41315         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
41316
41317 2011-08-01  Dimitri Glazkov  <dglazkov@chromium.org>
41318
41319         Introduce SpecifierSorter, a thing that knows how specifiers should be ordered.
41320         https://bugs.webkit.org/show_bug.cgi?id=65413
41321
41322         Reviewed by Adam Barth.
41323
41324         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added SpecifierSorter and converted
41325             existing code to use it.
41326         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added unit tests and cleaned up a bit.
41327
41328 2011-08-01  Adam Barth  <abarth@webkit.org>
41329
41330         Refactor bugzilla.js for use by garden-o-matic
41331         https://bugs.webkit.org/show_bug.cgi?id=65450
41332
41333         Reviewed by Dimitri Glazkov.
41334
41335         This patch refactors bugzilla.js to use the AsynchronousCache and
41336         updates the style to use a module instead of an object.  This patch
41337         then fixes all the existing code that uses this class to use the new
41338         API style.
41339
41340         This main benefit of this patch is we remove the tricky manual caching
41341         and this code is now available to use in garden-o-matic (since the
41342         dependency on Utilities.js is now gone).
41343
41344         I ran all the unit tests and poked around in TestFailures a bit to see
41345         that everything seemed to be working properly.
41346
41347         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
41348         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js:
41349         (FailingTestsBugForm):
41350         (FailingTestsBugForm.prototype._createBugTitle):
41351         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js:
41352         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm.js:
41353         (FlakyTestBugForm):
41354         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm_unittests.js:
41355         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm.js:
41356         (NewBugForm):
41357         (NewBugForm.prototype.domElement):
41358         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm_unittests.js:
41359         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm.js:
41360         (TestRelatedBugForm):
41361         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm_unittests.js:
41362         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
41363         (ViewController.prototype._displayBuilder.start):
41364         (ViewController.prototype._displayBuilder):
41365         (ViewController.prototype._domForAuxiliaryUIElements):
41366         (ViewController.prototype._domForNewAndExistingBugs.bugzilla.quickSearch):
41367         (ViewController.prototype._domForPossiblyFlakyTests.flakyList.appendChildren):
41368         (ViewController.prototype._domForPossiblyFlakyTests):
41369         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
41370         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
41371         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html:
41372
41373 2011-08-01  Adam Barth  <abarth@webkit.org>
41374
41375         garden-o-matic shouldn't require local server to determine if compile failed
41376         https://bugs.webkit.org/show_bug.cgi?id=65446
41377
41378         Reviewed by Dimitri Glazkov.
41379
41380         This patch adds some basic bindings for the buildbot JSON API.  I
41381         wanted to use Buildbot.js an Builder.js from the original TestFailures,
41382         but they make a number of WebKit-specific assumptions.  We'll
41383         eventually need to reconcile these pieces of code.
41384
41385         I should really add tests for this code, but that will require me to
41386         build a better mock network.  I'll be happy to do that in a follow-up
41387         patch.
41388
41389         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js: Added.
41390             - It's very unclear to me whether didFail is correct.  Supposedly
41391               the first entry here is the exit code of the step, which is 0 on
41392               success.  I suspect we'll need to improve this function over time.
41393         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
41394         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
41395         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
41396
41397 2011-08-01  Adam Barth  <abarth@webkit.org>
41398
41399         garden-o-matic should show all failures, even ones that it can't find a regression range for
41400         https://bugs.webkit.org/show_bug.cgi?id=65447
41401
41402         Reviewed by Dimitri Glazkov.
41403
41404         Previously, we just wouldn't display test failures that we couldn't
41405         identify a regression range for (or whose regression range had fallen
41406         off the page).  This patch just displays them at the end of the list,
41407         which is slightly (but not much) better.
41408
41409         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
41410
41411 2011-08-01  Jeff Miller  <jeffm@apple.com>
41412
41413         Windows build fix after r92096.
41414
41415         * TestWebKitAPI/win/InjectedBundleControllerWin.cpp: Use #include, not #import, and don't include Foundation.h.
41416         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Add InjectedBundleControllerWin.cpp.
41417
41418 2011-07-31  Anders Carlsson  <andersca@apple.com>
41419
41420         DownloadDecideDestinationCrash WebKit2 API tests crashes
41421         https://bugs.webkit.org/show_bug.cgi?id=65442
41422
41423         Reviewed by Sam Weinig.
41424
41425         Copy the 18-characters.html file to the destination directory so we won't
41426         crash trying to make an URL for it.
41427
41428         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
41429
41430 2011-07-31  Anders Carlsson  <andersca@apple.com>
41431
41432         Fix SpacebarScrolling WebKit2 API test
41433         https://bugs.webkit.org/show_bug.cgi?id=65431
41434
41435         Reviewed by Sam Weinig.
41436
41437         Add a way to do platform-specific bundle initialization, and use it to disable smooth
41438         scrolling. Also make it possible for a test to load the injected bundle without actually running
41439         a test from it.
41440
41441         * TestWebKitAPI/InjectedBundleController.cpp:
41442         (TestWebKitAPI::InjectedBundleController::initialize):
41443         * TestWebKitAPI/InjectedBundleController.h:
41444         * TestWebKitAPI/PlatformUtilities.cpp:
41445         (TestWebKitAPI::Util::createContextWithInjectedBundle):
41446         * TestWebKitAPI/PlatformUtilities.h:
41447         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
41448         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
41449         (TestWebKitAPI::TEST):
41450         * TestWebKitAPI/mac/InjectedBundleControllerMac.mm: Added.
41451         (TestWebKitAPI::InjectedBundleController::platformInitialize):
41452         * TestWebKitAPI/win/InjectedBundleControllerWin.cpp: Added.
41453         (TestWebKitAPI::InjectedBundleController::platformInitialize):
41454         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
41455
41456 2011-07-31  Dimitri Glazkov  <dglazkov@chromium.org>
41457
41458         Use set comparison to find duplicate or overlapping specifiers in test expectations.
41459         https://bugs.webkit.org/show_bug.cgi?id=65430
41460
41461         Reviewed by Adam Barth.
41462
41463         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Changed to use set comparisons, because length
41464             of a set is wrong.
41465         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Added some unit tests to actually catch
41466             regressions.
41467
41468 2011-07-31  Xan Lopez  <xlopez@igalia.com>
41469
41470         Group dependencies CFLAGS together.
41471
41472         * GNUmakefile.am: ditto.
41473
41474 2011-07-31  Daniel Bates  <dbates@webkit.org>
41475
41476         Attempt to fix the GTK build after <http://trac.webkit.org/changeset/92059>
41477         (https://bugs.webkit.org/show_bug.cgi?id=65419).
41478
41479         * GNUmakefile.am: Add $(CAIRO_CFLAGS) to libWebCoreInternals_la_CPPFLAGS.
41480
41481 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
41482
41483         Fix ports_unittest.py on native windows
41484         https://bugs.webkit.org/show_bug.cgi?id=64959
41485
41486         Reviewed by Adam Barth.
41487
41488         Replace WebKitPort.script_path with WebKitPort.script_shell_command.
41489         The latter includes the interpreter executable required on native windows.
41490
41491         * Scripts/webkitpy/common/config/ports_unittest.py:
41492
41493 2011-07-30  Adam Barth  <abarth@webkit.org>
41494
41495         Properly escape regular expressions.  (Maybe these shouldn't be regular
41496         expressions?)
41497
41498         * Scripts/webkitpy/tool/commands/rebaseline.py:
41499
41500 2011-07-30  Adam Barth  <abarth@webkit.org>
41501
41502         Add support for Win7 to garden-o-matic.
41503
41504         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
41505         * Scripts/webkitpy/tool/commands/rebaseline.py:
41506
41507 2011-07-30  Adam Barth  <abarth@webkit.org>
41508
41509         garden-o-matic regression ranges expand after fast bots start passing
41510         https://bugs.webkit.org/show_bug.cgi?id=65406
41511
41512         Reviewed by Dimitri Glazkov.
41513
41514         Once the gardener has fixed a problem, the fast bots pick up the fix,
41515         which means we end up using the slow bots to compute the regression
41516         range.  Unfortunately, the slow bots give us large regression ranges,
41517         leading to this strange effect where the regression range quality
41518         degrades as fixes roll in.
41519
41520         This patch causes us to remember the previous regression ranges we've
41521         seen and to use that information in the future, as long as it's
41522         consistent with the new information we receive.
41523
41524         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
41525
41526 2011-07-30  Adam Barth  <abarth@webkit.org>
41527
41528         garden-o-matic should have a Refresh button to update its display
41529         https://bugs.webkit.org/show_bug.cgi?id=65403
41530
41531         Reviewed by Dimitri Glazkov.
41532
41533         The refresh button should be faster and less disruptive than the browser's reload button.
41534
41535         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
41536         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
41537
41538 2011-07-30  Adam Barth  <abarth@webkit.org>
41539
41540         garden-o-matic should look for the "patch by" line in revisions ostensibly authored by the commit-queue
41541         https://bugs.webkit.org/show_bug.cgi?id=65231
41542
41543         Reviewed by Dimitri Glazkov.
41544
41545         The human readable name is easier to understand, especially when the patch is landed by the commit-queue.
41546
41547         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
41548
41549 2011-07-30  Adam Barth  <abarth@webkit.org>
41550
41551         garden-o-matic should strikeout revisions that have been rolled out
41552         https://bugs.webkit.org/show_bug.cgi?id=65227
41553
41554         Reviewed by Dimitri Glazkov.
41555
41556         This helps gardeners keep track of which problems have been solved.
41557
41558         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
41559         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
41560         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
41561         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
41562
41563 2011-07-30  Adam Barth  <abarth@webkit.org>
41564
41565         Add missing files to the server.
41566
41567         * Scripts/webkitpy/tool/servers/gardeningserver.py:
41568
41569 2011-07-29  Adam Barth  <abarth@webkit.org>
41570
41571         Actually import the logging module!
41572
41573         * Scripts/webkitpy/common/checkout/scm/git.py:
41574
41575 2011-07-29  Adam Barth  <abarth@webkit.org>
41576
41577         More debug logging.  Maybe we're running the git version of this
41578         function somehow?  (That would explain why it doesn't work!)
41579
41580         * Scripts/webkitpy/common/checkout/scm/git.py:
41581
41582 2011-07-29  Adam Barth  <abarth@webkit.org>
41583
41584         Add some temporary debug logging messages to try to understand why the
41585         windows bots can't figure out their current SVN revision.
41586
41587         * Scripts/webkitpy/common/checkout/scm/svn.py:
41588
41589 2011-07-29  Adam Barth  <abarth@webkit.org>
41590
41591         Chromium try servers should use downstream test_expectations
41592         https://bugs.webkit.org/show_bug.cgi?id=65390
41593
41594         Reviewed by Dirk Pranke.
41595
41596         Otherwise the try servers will report bogus failures.
41597
41598         * Scripts/webkitpy/layout_tests/port/chromium.py:
41599
41600 2011-07-29  Dimitri Glazkov  <dglazkov@chromium.org>
41601
41602         Fix an error in macro collapsing, refactor code to be pretty.
41603         https://bugs.webkit.org/show_bug.cgi?id=65387
41604
41605         My set math was wrong.
41606
41607         Reviewed by Adam Barth.
41608
41609         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Moved collapsing into a classmethod, fixed the math to be correct.
41610         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added unit tests.
41611
41612 2011-07-27  Ryuan Choi  <ryuan.choi@samsung.com>
41613
41614         Style bot complains about EFL-specific forward declaration naming.
41615         https://bugs.webkit.org/show_bug.cgi?id=64680
41616
41617         Exclude EFL-specific forward declarations from indentifiers with underscores checks.
41618
41619         Reviewed by Adam Barth.
41620
41621         * Scripts/webkitpy/style/checkers/cpp.py:
41622         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
41623
41624 2011-07-27  Adam Roben  <aroben@apple.com>
41625
41626         Use wacky !svn/bc URLs consistently in Leaks Viewer
41627
41628         This ensures that any resources loaded via relative URLs will still get pulled from the same
41629         revision of Subversion.
41630
41631         Fixes <http://webkit.org/b/65267> Focus/exclude button glyphs don't load on Leaks Viewer
41632
41633         Reviewed by David Kilzer.
41634
41635         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Use the
41636         !svn/bc-style URL for inspector.css, too, just like we do for all other resources we pull
41637         from Subversion.
41638
41639 2011-07-27  Raphael Kubo da Costa  <kubo@profusion.mobi>
41640
41641         [EFL] Drop WorkQueueItemEfl.h in favour of the general WorkQueueItem.h
41642         https://bugs.webkit.org/show_bug.cgi?id=65269
41643
41644         Reviewed by Kent Tamura.
41645
41646         WorkQueueItemEfl.h was being included by efl's
41647         LayoutTestControllerEfl.cpp, however the top-level
41648         LayoutTestController still included WorkQueueItem.h, causing a lot of
41649         type mismatches when running the WorkQueueItem code.
41650
41651         We can stick to the original WorkQueueItem header by making a few
41652         changes to EFL's LayoutTestController.
41653
41654         This should make tests such as
41655         fast/loader/non-deferred-substitute-load.html stop crashing.
41656
41657         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
41658         (LayoutTestController::queueLoad):
41659         * DumpRenderTree/efl/WorkQueueItemEfl.cpp:
41660         (LoadItem::invoke):
41661         (LoadHTMLStringItem::invoke):
41662         (ScriptItem::invoke):
41663         * DumpRenderTree/efl/WorkQueueItemEfl.h: Removed.
41664
41665 2011-07-27  Dimitri Glazkov  <dglazkov@chromium.org>
41666
41667         Re-add unit tests I accidentally zapped in r91878.
41668
41669         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Re-added unit tests.
41670
41671 2011-07-27  Dimitri Glazkov  <dglazkov@chromium.org>
41672
41673         Replace SpecificityCalculator with TestConfiguration-driven logic.
41674         https://bugs.webkit.org/show_bug.cgi?id=65206
41675
41676         Use our newly-acquired ability to expand modifiers into a set of
41677         matching TestConfiguration instances to calculate specificity and
41678         determine whether expectation applies to a given test configuration.
41679
41680         Also, store bug modifier on TestExpectationsLine.
41681
41682         Reviewed by Adam Barth.
41683
41684         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Replaced the logic of calculating specificity with
41685             test configuration matching, removed a bunch of code.
41686         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Removed a bunch of tests that aren't useful anymore.
41687
41688
41689 2011-07-27  Dimitri Glazkov  <dglazkov@chromium.org>
41690
41691         Allow ports to specify their own test expectation specifier macros.
41692         https://bugs.webkit.org/show_bug.cgi?id=65291
41693
41694         Reviewed by Adam Barth.
41695
41696         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Changed SpecificityCalculator to use port macros.
41697         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Ditto.
41698         * Scripts/webkitpy/layout_tests/port/base.py: Added configuration_specifier_macros to retrieve the macros.
41699         * Scripts/webkitpy/layout_tests/port/chromium.py: Overrode it to return Chromium's macros.
41700         * Scripts/webkitpy/layout_tests/port/test.py: Added test macros.
41701
41702 2011-07-27  Dimitri Glazkov  <dglazkov@chromium.org>
41703
41704         Allow TestConfigurationConverter report conversion errors.
41705         https://bugs.webkit.org/show_bug.cgi?id=65287
41706
41707         Also, fix a few miscellaneous testing issues.
41708
41709         Reviewed by Adam Barth.
41710
41711         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added a way to report unknown modifier errors.
41712         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added a test for reporting errors.
41713         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: Fixed an error where an invalid TestConfiguration instance
41714             was created. 'default' is not a valid build type.
41715         * Scripts/webkitpy/layout_tests/port/test.py: Ditto. '' is not a valid version.
41716
41717 2011-07-27  Dimitri Glazkov  <dglazkov@chromium.org>
41718
41719         Teach all ports about their test configurations.
41720         https://bugs.webkit.org/show_bug.cgi?id=65278
41721
41722         Each Port object should return a valid set of all TestConfiguration instances,
41723         available for this port.
41724
41725         Reviewed by Philippe Normand.
41726
41727         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Removed TestConfiguration.all_test_configurations,
41728             since it is different for each port.
41729         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Removed related test.
41730         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Changed SpecificityCalculator to take a list of
41731             all test configurations as a param.
41732         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Adjusted arguments accordingly.
41733         * Scripts/webkitpy/layout_tests/port/base.py: Forced all ports to override generation of all test configurations.
41734         * Scripts/webkitpy/layout_tests/port/chromium.py: Implemented _generate_all_test_configurations for the port.
41735         * Scripts/webkitpy/layout_tests/port/gtk.py: Ditto.
41736         * Scripts/webkitpy/layout_tests/port/mac.py: Ditto.
41737         * Scripts/webkitpy/layout_tests/port/qt.py: Ditto.
41738         * Scripts/webkitpy/layout_tests/port/win.py:
41739         * Scripts/webkitpy/layout_tests/port/port_testcase.py: Added an extra test to ensure we're generating a good set.
41740         * Scripts/webkitpy/layout_tests/port/test.py: Implemented a fixed-in-time all_test_configurations for testing.
41741         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added a mock all_test_configurations implementation.
41742         * Scripts/webkitpy/layout_tests/port/win_unittest.py: Added a unit test for the port.
41743
41744 2011-07-27  Benjamin Poulain  <benjamin@webkit.org>
41745
41746         [WK2][Qt] Move from QGraphicsView to Qt Scene Graph
41747         https://bugs.webkit.org/show_bug.cgi?id=62969
41748
41749         Reviewed by Andreas Kling.
41750
41751         Co-authored with Simon Hausmann  <simon.hausmann@nokia.com>
41752
41753         With the scene graph, the interface to have a window on screen is
41754         QSGCanvas. QGraphicsView is not used, and openGL is an enforced
41755         dependency.
41756
41757         Both the BrowserView and the WebKitTest runner are changed from
41758         QGraphicsView to QSGCanvas.
41759
41760         * MiniBrowser/qt/BrowserView.cpp:
41761         (BrowserView::BrowserView):
41762         (BrowserView::resizeEvent):
41763         (BrowserView::view):
41764         * MiniBrowser/qt/BrowserView.h:
41765         * MiniBrowser/qt/BrowserWindow.cpp:
41766         (BrowserWindow::BrowserWindow):
41767         (BrowserWindow::urlChanged):
41768         (BrowserWindow::~BrowserWindow):
41769         * MiniBrowser/qt/BrowserWindow.h:
41770         * MiniBrowser/qt/MiniBrowser.pro:
41771         * MiniBrowser/qt/main.cpp:
41772         (main):
41773         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
41774         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
41775         (WTR::WebView::WebView):
41776         (WTR::PlatformWebView::PlatformWebView):
41777         * WebKitTestRunner/qt/WebKitTestRunner.pro:
41778
41779 2011-07-27  Sheriff Bot  <webkit.review.bot@gmail.com>
41780
41781         Unreviewed, rolling out r91792.
41782         http://trac.webkit.org/changeset/91792
41783         https://bugs.webkit.org/show_bug.cgi?id=65242
41784
41785         It broke NRWT on Qt and GTK (Requested by Ossy_night on
41786         #webkit).
41787
41788         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
41789         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py:
41790         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
41791         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
41792         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
41793         * Scripts/webkitpy/layout_tests/port/test.py:
41794
41795 2011-07-26  Adam Barth  <abarth@webkit.org>
41796
41797         Switch to an older idiom that works on Python 2.5.
41798
41799         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
41800
41801 2011-07-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
41802
41803         Add an exception to coding style check for EFL port.
41804         https://bugs.webkit.org/show_bug.cgi?id=65162
41805
41806         Add an exception of whitespace/declaration for EFL port. Because,
41807         '*' operator is next to variable in EFL coding style.
41808
41809         Reviewed by Kent Tamura.
41810
41811         * Scripts/webkitpy/style/checker.py:
41812
41813 2011-07-26  Keith Kyzivat  <keith.kyzivat@nokia.com>
41814
41815         [Qt] Add option to turn on disk caching in QtTestBrowser
41816         https://bugs.webkit.org/show_bug.cgi?id=65007
41817
41818         Reviewed by Noam Rosenthal.
41819
41820         Add menu item and command line option to turn on disk caching in
41821         QtTestBrowser. Simple QNetworkDiskCache added to the page's
41822         QNetworkAccssManager.
41823
41824         * QtTestBrowser/launcherwindow.cpp:
41825         (LauncherWindow::initializeView):
41826         (LauncherWindow::createChrome):
41827         (LauncherWindow::setDiskCache):
41828         * QtTestBrowser/launcherwindow.h:
41829         (WindowOptions::WindowOptions):
41830         * QtTestBrowser/main.cpp:
41831         (LauncherApplication::handleUserOptions):
41832
41833 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
41834
41835         Add support for download='filename' attribute in anchors.
41836         https://bugs.webkit.org/show_bug.cgi?id=64580
41837
41838         Reviewed by Adam Barth.
41839
41840         * DumpRenderTree/chromium/WebViewHost.cpp:
41841         (WebViewHost::loadURLExternally):
41842         * DumpRenderTree/chromium/WebViewHost.h:
41843
41844 2011-07-26  Dan Bernstein  <mitz@apple.com>
41845
41846         Rubber-stamped by Anders Carlsson.
41847
41848         Update DumpRenderTree and API tests for the pictograph font family preference.
41849
41850         * DumpRenderTree/mac/DumpRenderTree.mm:
41851         (resetDefaultsToConsistentValues):
41852         * DumpRenderTree/win/DumpRenderTree.cpp:
41853         (resetDefaultsToConsistentValues):
41854         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
41855         (TestWebKitAPI::TEST):
41856         * WebKitTestRunner/TestController.cpp:
41857         (WTR::TestController::resetStateToConsistentValues):
41858
41859 2011-07-26  Dimitri Glazkov  <dglazkov@chromium.org>
41860
41861         Replace SpecificityCalculator with TestConfiguration-driven logic.
41862         https://bugs.webkit.org/show_bug.cgi?id=65206
41863
41864         Use our newly-acquired ability to expand modifiers into a set of
41865         matching TestConfiguration instances to calculate specificity and
41866         determine whether expectation applies to a given test configuration.
41867
41868         Also, store bug modifier on TestExpectationsLine.
41869
41870         Reviewed by Adam Barth.
41871
41872         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added a way to report unknown modifier errors.
41873         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added a test for reporting errors.
41874         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Replaced the logic of calculating specificity with
41875             test configuration matching, removed a bunch of code.
41876         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Removed a bunch of tests that aren't useful anymore.
41877         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: Fixed an error where an invalid TestConfiguration instance
41878             was created. 'default' is not a valid build type.
41879         * Scripts/webkitpy/layout_tests/port/test.py: Ditto. '' is not a valid version.
41880
41881 2011-07-26  Adam Barth  <abarth@webkit.org>
41882
41883         Increase the information density in garden-o-matic
41884         https://bugs.webkit.org/show_bug.cgi?id=65141
41885
41886         Reviewed by Dimitri Glazkov.
41887
41888         This patch changes lets us show each revision on a single line,
41889         allowing use to show an entire day's worth of commits at once.
41890
41891         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
41892         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js:
41893         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
41894
41895 2011-07-26  Dimitri Glazkov  <dglazkov@chromium.org>
41896
41897         TestConfigurationConverter should not barf on invalid specifiers.
41898         https://bugs.webkit.org/show_bug.cgi?id=65194
41899
41900         Reviewed by Adam Barth.
41901
41902         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Refactored TestConfigurationConverter.to_config_set a bit,
41903             made it return empty set whenever an invalid specifier is encountered.
41904         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added corresponding tests.
41905
41906 2011-07-26  Dimitri Glazkov  <dglazkov@chromium.org>
41907
41908         Introduce a way to convert between specifier lists and TestConfiguration sets.
41909         https://bugs.webkit.org/show_bug.cgi?id=65094
41910
41911         Add TestConfigurationConverter, a facility to convert:
41912         1) a set of specifiers into a set of TestConfiguration instances;
41913         2) a set of TestConfiguration instances into a list of sets of specifiers.
41914
41915         Reviewed by Adam Barth.
41916
41917         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added TestConfigurationConverter.
41918         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added tests for it.
41919
41920 2011-07-26  Alexandru Chiculita  <achicu@adobe.com>
41921
41922         CSS Regions build bot should build with "--css-regions" and "--css-exclusion" flags
41923         https://bugs.webkit.org/show_bug.cgi?id=65171
41924
41925         Added "features" parameter in config.json for "builder" objects. The parameter is optional and must be an array. All the items
41926         of the array will be passed to the build-webkit script. The items will automatically be prefixed with "--".
41927
41928         Reviewed by Adam Roben.
41929
41930         * BuildSlaveSupport/build.webkit.org-config/config.json:
41931         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
41932
41933 2011-07-26  Chris Rogers  <crogers@google.com>
41934
41935         Avoid outputting #EOF twice for web audio tests in chromium DRT
41936         https://bugs.webkit.org/show_bug.cgi?id=65201
41937
41938         Reviewed by Dirk Pranke.
41939
41940         * DumpRenderTree/chromium/TestShell.cpp:
41941         (TestShell::dump):
41942
41943 2011-07-26  Adam Barth  <abarth@webkit.org>
41944
41945         Windows bots on build.chromium.org can't figure out the head_svn_revision
41946         https://bugs.webkit.org/show_bug.cgi?id=65156
41947
41948         Reviewed by Tony Chang.
41949
41950         This patch is a bit of a guess as to the issue based on the
41951         investigation in https://bugs.webkit.org/show_bug.cgi?id=65148.  I'm
41952         not sure whether it will fix the issue, but it seems worth a try.
41953
41954         * Scripts/webkitpy/common/checkout/scm/svn.py:
41955
41956 2011-07-26  Carlos Garcia Campos  <cgarcia@igalia.com>
41957
41958         Unreviewed. Fix WebKitGtk build with GTK+ 3.x after r91707.
41959
41960         * DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp:
41961         (getPreferredSizeMethod):
41962
41963 2011-07-26  MORITA Hajime  <morrita@google.com>
41964
41965         [Chromium][DRT] MockSpellCheck.cpp should be clang clean
41966         https://bugs.webkit.org/show_bug.cgi?id=65166
41967
41968         Reviewed by Kent Tamura.
41969
41970         * DumpRenderTree/chromium/MockSpellCheck.cpp:
41971         (MockSpellCheck::spellCheckWord): -Wsign-compare warning.
41972
41973 2011-07-25  Patrick Gansterer  <paroga@webkit.org>
41974
41975         Ignore line endings in ChangeLogTests
41976         https://bugs.webkit.org/show_bug.cgi?id=64956
41977
41978         Reviewed by Adam Barth.
41979
41980         Split the lines of the ChangeLog text before comparing them.
41981         This fixes 3 tests on windows, since only the content importent.
41982
41983         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
41984         * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
41985
41986 2011-07-25  Adam Barth  <abarth@webkit.org>
41987
41988         Add some debug logging to NRWT to diagnose why the windows bots can't determine their SVN revision
41989         https://bugs.webkit.org/show_bug.cgi?id=65148
41990
41991         Reviewed by Tony Chang.
41992
41993         * Scripts/webkitpy/layout_tests/controllers/manager.py:
41994
41995 2011-07-25  Ojan Vafai  <ojan@chromium.org>
41996
41997         Tweak whitespace wrapping to improve readability.
41998         * TestResultServer/static-dashboards/flakiness_dashboard.html:
41999
42000 2011-07-25  Ojan Vafai  <ojan@chromium.org>
42001
42002         Minor tweak to wrap label elements as atomic units.
42003
42004         * TestResultServer/static-dashboards/dashboard_base.js:
42005         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42006
42007 2011-07-25  Ojan Vafai  <ojan@chromium.org>
42008
42009         always show flakiness details on the builder page
42010         https://bugs.webkit.org/show_bug.cgi?id=65139
42011
42012         Reviewed by Tony Chang.
42013
42014         In order to simplify the UI, we hide the flakiness details by default,
42015         but there's no actual use-case for this page without the flakiness details.
42016         So get rid of that option and always show the flakiness details.
42017
42018         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42019
42020 2011-07-25  Ojan Vafai  <ojan@chromium.org>
42021
42022         simplify the UI of the header above the test list table
42023         https://bugs.webkit.org/show_bug.cgi?id=65136
42024
42025         Reviewed by Adam Barth.
42026
42027         Use checkboxes instead of links since this is really about which tests to include.
42028         Ends up using less text and put the checkboxes to the right of the header instead of below it.
42029
42030         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42031         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42032
42033 2011-07-25  Chris Rogers  <crogers@google.com>
42034
42035         Update new-run-webkit-tests to accomodate binary audio data
42036         https://bugs.webkit.org/show_bug.cgi?id=65135
42037
42038         Reviewed by Dirk Pranke.
42039
42040         * Scripts/webkitpy/layout_tests/port/chromium.py:
42041
42042 2011-07-25  Chris Rogers  <crogers@google.com>
42043
42044         Update Chromium DRT to output binary (instead of base64-encoded) data for web audio testing
42045         https://bugs.webkit.org/show_bug.cgi?id=65039
42046
42047         Reviewed by Tony Chang.
42048
42049         * DumpRenderTree/chromium/LayoutTestController.cpp:
42050         (LayoutTestController::LayoutTestController):
42051         (LayoutTestController::setAudioData):
42052         * DumpRenderTree/chromium/LayoutTestController.h:
42053         (LayoutTestController::audioData):
42054         * DumpRenderTree/chromium/TestEventPrinter.cpp:
42055         (DRTPrinter::handleAudioHeader):
42056         (TestShellPrinter::handleAudioHeader):
42057         * DumpRenderTree/chromium/TestShell.cpp:
42058         (TestShell::dump):
42059
42060 2011-06-07  Martin Robinson  <mrobinson@igalia.com>
42061
42062         Reviewed by Gustavo Noronha Silva.
42063
42064         [GTK] Use WebCore scrollbars for the DRT instead of GtkScrolledWindow
42065         https://bugs.webkit.org/show_bug.cgi?id=62252
42066
42067         Add a new subclass of WebKitWebView that overrides the size request to
42068         return 1 pixel by 1 pixel. This ensure that it operates properly when
42069         not packed into a GtkScrolledWindow. Also construct the WebKitWebView
42070         with self-scrolling set to true.
42071
42072         * DumpRenderTree/gtk/DumpRenderTree.cpp:
42073         (webInspectorInspectWebView): Use the new SelfScrollingWebKitWebview class here.
42074         (createWebView): Ditto.
42075         (main): Pack the widget into a GtkBox instead of a GtkScrolledWindow.
42076         * DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp: Added.
42077         (self_scrolling_webkit_web_view_class_init):
42078         (self_scrolling_webkit_web_view_init):
42079         (self_scrolling_webkit_web_view_new):
42080         (sizeRequestMethod):
42081         (getPreferredSizeMethod):
42082         * DumpRenderTree/gtk/SelfScrollingWebKitWebView.h: Added.
42083         * GNUmakefile.am: Added SelfScrollingWebKitWebView files to the source list.
42084
42085 2011-07-25  Ojan Vafai  <ojan@chromium.org>
42086
42087         by default hide tests that have passes for all recorded runs
42088         https://bugs.webkit.org/show_bug.cgi?id=65127
42089
42090         Reviewed by Adam Barth.
42091
42092         This is part of simplifying the default views of the dashboard to
42093         make it show less information for the common use cases.
42094
42095         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42096         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42097
42098 2011-07-25  Ojan Vafai  <ojan@chromium.org>
42099
42100         stop generating expectations.json now that it's unused
42101         https://bugs.webkit.org/show_bug.cgi?id=65130
42102
42103         Reviewed by Adam Barth.
42104
42105         * Scripts/webkitpy/layout_tests/controllers/manager.py:
42106         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
42107         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
42108         * TestResultServer/handlers/menu.py:
42109         * TestResultServer/static-dashboards/dashboard_base.js:
42110         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42111
42112 2011-07-25  Ojan Vafai  <ojan@chromium.org>
42113
42114         don't show builders in the flakiness dashboard that have stopped running a given test suite
42115         https://bugs.webkit.org/show_bug.cgi?id=65126
42116
42117         Reviewed by Mihai Parparita.
42118
42119         * TestResultServer/static-dashboards/dashboard_base.js:
42120
42121 2011-07-25  Adam Barth  <abarth@webkit.org>
42122
42123         Overhaul garden-o-matic frontend to integrate revision history and failures
42124         https://bugs.webkit.org/show_bug.cgi?id=65089
42125
42126         Reviewed by Dimitri Glazkov.
42127
42128         This is a major overhaul of the garden-o-matic frontend.  The new UI
42129         integrates the revision history information with failures.  Failures
42130         appear in context adjacent to the revisions that caused them (which are
42131         highlighted).  Each buildbot receives a collumn to the left, which
42132         indicates which revisions that bot has tested and whether that bot
42133         showed the indicated failures.
42134
42135         Failures are selectable with checkboxes, and can then either be
42136         examined or rebaselined.
42137
42138         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
42139         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
42140         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
42141         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
42142         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
42143         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
42144         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
42145         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
42146         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
42147
42148 2011-07-25  Holger Hans Peter Freyther  <zecke@selfish.org>
42149
42150         [buildbot] Add Qt Linux MIPSEL Configuration
42151         https://bugs.webkit.org/show_bug.cgi?id=65116
42152
42153         Reviewed by Adam Roben.
42154
42155         Introduce a Qt Linux MIPS EL build slave. The configuration
42156         is a build only configuration.
42157
42158         * BuildSlaveSupport/build.webkit.org-config/config.json: Add MIPS buildbot.
42159
42160 2011-07-25  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
42161
42162         [Qt][WK2] Add multi-point touch mocking to MiniBrowser
42163         https://bugs.webkit.org/show_bug.cgi?id=64374
42164
42165         Reviewed by Benjamin Poulain.
42166
42167         Each mouse button generate a touch point. The touch point stay
42168         virtually on screen if the mouse release happened while the Ctrl
42169         modifier was pressed.
42170
42171         * MiniBrowser/qt/MiniBrowserApplication.cpp:
42172         (MiniBrowserApplication::notify):
42173         * MiniBrowser/qt/MiniBrowserApplication.h:
42174
42175 2011-07-25  Balazs Kelemen  <kbalazs@webkit.org>
42176
42177         [Qt][WK2] Use NRWT for Qt-WK2
42178         https://bugs.webkit.org/show_bug.cgi?id=65097
42179
42180         Reviewed by Andreas Kling.
42181
42182         * Scripts/run-webkit-tests:
42183         (useNewRunWebKitTests):
42184
42185 2011-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
42186
42187         Unreviewed, rolling out r91635.
42188         http://trac.webkit.org/changeset/91635
42189         https://bugs.webkit.org/show_bug.cgi?id=65083
42190
42191         It broke the minimal build (Requested by Ossy___OFFLINE on
42192         #webkit).
42193
42194         * QtTestBrowser/launcherwindow.cpp:
42195         (LauncherWindow::initializeView):
42196         (LauncherWindow::createChrome):
42197         * QtTestBrowser/launcherwindow.h:
42198         (WindowOptions::WindowOptions):
42199         * QtTestBrowser/main.cpp:
42200         (LauncherApplication::handleUserOptions):
42201
42202 2011-07-24  Adam Barth  <abarth@webkit.org>
42203
42204         Rename garden-o-matic "alert" to "infobar" and increase the width to 100%.
42205
42206         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
42207         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
42208         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
42209         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
42210         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
42211         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:
42212
42213 2011-07-23  Dimitri Glazkov  <dglazkov@chromium.org>
42214
42215         TestConfiguration should be hashable and comparable for equality.
42216         https://bugs.webkit.org/show_bug.cgi?id=65070
42217
42218         Reviewed by Adam Barth.
42219
42220         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added __hash__ and __eq__ methods.
42221         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added unit tests.
42222
42223 2011-07-23  Dimitri Glazkov  <dglazkov@chromium.org>
42224
42225         Extract TestConfiguration from base and write a few unit tests to capture current behavior.
42226         https://bugs.webkit.org/show_bug.cgi?id=65066
42227
42228         Reviewed by Adam Barth.
42229
42230         * Scripts/webkitpy/layout_tests/models/test_configuration.py: Added.
42231         * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added.
42232         * Scripts/webkitpy/layout_tests/port/base.py: Moved code to test_configuration.py
42233
42234 2011-07-23  Alok Priyadarshi  <alokp@chromium.org>
42235
42236         Switching off acceleration for small canvas broke gpu tests
42237         https://bugs.webkit.org/show_bug.cgi?id=65053
42238
42239         Reviewed by Stephen White.
42240
42241         * DumpRenderTree/chromium/WebPreferences.cpp:
42242         (WebPreferences::reset):
42243         (WebPreferences::applyTo):
42244         * DumpRenderTree/chromium/WebPreferences.h:
42245
42246 2011-07-23  Keith Kyzivat  <keith.kyzivat@nokia.com>
42247
42248         [Qt] Add option to turn on disk caching in QtTestBrowser
42249         https://bugs.webkit.org/show_bug.cgi?id=65007
42250
42251         Reviewed by Noam Rosenthal.
42252
42253         Add menu item and command line option to turn on disk caching in
42254         QtTestBrowser. Simple QNetworkDiskCache added to the page's
42255         QNetworkAccssManager.
42256
42257         * QtTestBrowser/launcherwindow.cpp:
42258         (LauncherWindow::initializeView):
42259         (LauncherWindow::createChrome):
42260         (LauncherWindow::setDiskCache):
42261         * QtTestBrowser/launcherwindow.h:
42262         (WindowOptions::WindowOptions):
42263         * QtTestBrowser/main.cpp:
42264         (LauncherApplication::handleUserOptions):
42265
42266 2011-07-22  Ojan Vafai  <ojan@chromium.org>
42267
42268         Don't match 'DEBUG' when trying to filter BUG modifiers.
42269         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42270         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42271
42272 2011-07-22  Ojan Vafai  <ojan@chromium.org>
42273
42274         Fix issue loading gtests since there's no g_expectations.
42275         Also, make filing a bug file a webkit.org bug, not a crbug since
42276         the link is only shown for layout tests.
42277         * TestResultServer/static-dashboards/dashboard_base.js:
42278         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42279
42280 2011-07-22  Ojan Vafai  <ojan@chromium.org>
42281
42282         pull test expectations into the dashboard from wvn.webkit.org
42283         https://bugs.webkit.org/show_bug.cgi?id=65054
42284
42285         Reviewed by Adam Barth.
42286
42287         Now that svn.webkit.org supports cors headers, we can just grab the txt
42288         file from there instead of generating a JSON file that we upload
42289         to appengine. We'll stop generating the JSON file in a followup patch.
42290
42291         * TestResultServer/static-dashboards/dashboard_base.js:
42292         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42293         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42294
42295 2011-07-22  Adam Barth  <abarth@webkit.org>
42296
42297         Fix typo so the tool works on a case-sensitive file system.
42298
42299         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
42300
42301 2011-07-22  Adam Barth  <abarth@webkit.org>
42302
42303         garden-o-matic should know what patches are landing
42304         https://bugs.webkit.org/show_bug.cgi?id=64978
42305
42306         Reviewed by Dimitri Glazkov.
42307
42308         This patch adds a display of the recently committed patches to
42309         garden-o-matic.  The UI needs iteration, but this patch establishes the
42310         plumbing.
42311
42312         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
42313             - Teach trac how to extract more information from the commit log.
42314         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
42315             - Add a data attribute for storing the revision.
42316         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
42317             - Add a container for the recent commit history.
42318         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
42319             - CSS for displaying non-ugly commit history.
42320         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
42321             - Wire up trac to the UI container.
42322         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
42323             - A basic, compact display for a list of commits.
42324
42325 2011-07-22  Ojan Vafai  <ojan@chromium.org>
42326
42327         Fix bug when switching from layout-tests to another test-type if
42328         ToT webkit.org is the selected group.
42329         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42330
42331 2011-07-22  Ojan Vafai  <ojan@chromium.org>
42332
42333         Add back in line accidentally deleted in http://trac.webkit.org/changeset/91612.
42334         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42335
42336 2011-07-22  Ojan Vafai  <ojan@chromium.org>
42337
42338         simplify the flakiness dashboard to only show modifiers/expectations for the current builder
42339         https://bugs.webkit.org/show_bug.cgi?id=65049
42340
42341         Reviewed by Tony Chang.
42342
42343         This communicates less information, but probably makes the dashboard more usable.
42344         Also make it show that bug lines that don't point to bug numbers still
42345         show up in the bugs column (e.g. BUG_TONY) and stop showing the extra/missing
42346         columns in any view. The data is still used, but only in the view that updates
42347         the test_expectations.txt file.
42348
42349         * TestResultServer/static-dashboards/dashboard_base.js:
42350         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42351         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42352
42353 2011-07-21  Ojan Vafai  <ojan@chromium.org>
42354
42355         hook in the rest of the bots to the dashboard now they run NRWT
42356         https://bugs.webkit.org/show_bug.cgi?id=64985
42357
42358         Reviewed by Adam Barth.
42359
42360         * TestResultServer/static-dashboards/builders.js:
42361
42362 2011-07-22  Alexey Proskuryakov  <ap@apple.com>
42363
42364         Adding Tim Horton to contributor list for Bugzilla auto-completion. He is CC'ed quite frequently.
42365
42366         Unreviewed.
42367
42368         * Scripts/webkitpy/common/config/committers.py:
42369
42370 2011-07-22  Michal Pakula vel Rutka  <m.pakula@samsung.com>
42371
42372         [EFL] ewk_frame_hit_test_new enchancement
42373         https://bugs.webkit.org/show_bug.cgi?id=64260
42374
42375         Apply changes done in ewk_frame_hit_test_new in EWebLauncher:
42376         Replacing Ewk_Hit_Test_Result_Context structure 'flags'
42377         in hit test output to by enum 'context'.
42378
42379         Reviewed by Antonio Gomes.
42380
42381         * EWebLauncher/main.c:
42382         (on_key_down):
42383
42384 2011-07-21  Adam Roben  <aroben@apple.com>
42385
42386         Fix typo in TestFailures
42387
42388         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
42389
42390 2011-07-21  Ojan Vafai  <ojan@chromium.org>
42391
42392         simplify gtest display now that we strip modifiers from the JSON
42393         https://bugs.webkit.org/show_bug.cgi?id=64990
42394
42395         Reviewed by Adam Barth.
42396
42397         Now that names are normalized, we can remove all the code that
42398         handles gtest name changes (e.g. for adding modifiers like DISABLED_).
42399         Instead, if you try to list a test with a modifier in it, we need
42400         to strip the modifier so we get the normalized value.
42401
42402         We also get rid of the concept of extra/missing expectations for gtests.
42403         In a patch soon, we'll stop showing extra/missing expectations from the UI
42404         entirely and only leave it for the special updating test_expectations.txt
42405         view of the dashboard, which doesn't apply to gtests.
42406
42407         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42408         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42409
42410 2011-07-21  Adam Barth  <abarth@webkit.org>
42411
42412         Refactor Trac.js for use in garden-o-matic
42413         https://bugs.webkit.org/show_bug.cgi?id=64998
42414
42415         Reviewed by Adam Roben.
42416
42417         This patch refactors Trac.js to match the architecture and style of
42418         garden-o-matic.  I've also factored AsynchronousCache out of Trac (and
42419         moved it to base) because it was redundant with some other code we
42420         already had.
42421
42422         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js:
42423         (FailingTestsBugForm):
42424         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js:
42425         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
42426         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
42427         (ViewController.prototype._displayBuilder.start):
42428         (ViewController.prototype._displayBuilder):
42429         (ViewController.prototype._domForRegressionRange.trac.getCommitDataForRevisionRange):
42430         (ViewController.prototype._domForRegressionRange):
42431         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
42432         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
42433         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html:
42434         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
42435         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
42436
42437 2011-07-21  Ojan Vafai  <ojan@chromium.org>
42438
42439         Fix issue throwing a 500 to the bots. We were modifying
42440         the dictionary during an iteration over it's keys and would get
42441         RuntimeError: dictionary changed size during iteration
42442
42443         * TestResultServer/model/jsonresults.py:
42444
42445 2011-07-21  Adam Barth  <abarth@webkit.org>
42446
42447         ORWT fails to consume some NRWT arguments
42448         https://bugs.webkit.org/show_bug.cgi?id=64988
42449
42450         Reviewed by Adam Roben.
42451
42452         * Scripts/old-run-webkit-tests:
42453
42454 2011-07-21  Adam Barth  <abarth@webkit.org>
42455
42456         Merge TestFailures and garden-o-matic unit tests harness
42457         https://bugs.webkit.org/show_bug.cgi?id=64984
42458
42459         Reviewed by Adam Roben.
42460
42461         One unit testing framework is better than two.
42462
42463         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-more-unittests.html: Removed.
42464         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
42465
42466 2011-07-21  Adam Barth  <abarth@webkit.org>
42467
42468         Rubber-stamped by Adam Roben.
42469
42470         Move garden-o-matic files into the same directory as TestFailures to
42471         make it easier to integrate the codebases.
42472
42473         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/base.js.
42474         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/base_unittests.js.
42475         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/checkout.js.
42476         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout_unittests.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/checkout_unittests.js.
42477         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/config.js.
42478         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/favicon-green.png: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-green.png.
42479         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/favicon-red.png: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-red.png.
42480         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/index.html.
42481         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/main.css.
42482         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/main.js.
42483         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/partytime.gif: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/partytime.gif.
42484         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/results.js.
42485         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js.
42486         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-more-unittests.html: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html.
42487         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js.
42488         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js: Copied from Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js.
42489         * Scripts/webkitpy/tool/commands/abstractlocalservercommand.py:
42490         * Scripts/webkitpy/tool/commands/gardenomatic.py:
42491         * Scripts/webkitpy/tool/servers/data/gardeningserver: Removed.
42492         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js: Removed.
42493         * Scripts/webkitpy/tool/servers/data/gardeningserver/base_unittests.js: Removed.
42494         * Scripts/webkitpy/tool/servers/data/gardeningserver/checkout.js: Removed.
42495         * Scripts/webkitpy/tool/servers/data/gardeningserver/checkout_unittests.js: Removed.
42496         * Scripts/webkitpy/tool/servers/data/gardeningserver/config.js: Removed.
42497         * Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-green.png: Removed.
42498         * Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-red.png: Removed.
42499         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html: Removed.
42500         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css: Removed.
42501         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js: Removed.
42502         * Scripts/webkitpy/tool/servers/data/gardeningserver/partytime.gif: Removed.
42503         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js: Removed.
42504         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js: Removed.
42505         * Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html: Removed.
42506         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js: Removed.
42507         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js: Removed.
42508         * Scripts/webkitpy/tool/servers/gardeningserver.py:
42509
42510 2011-07-19  Ojan Vafai  <ojan@chromium.org>
42511
42512         fix links on the flakiness dashboard
42513         https://bugs.webkit.org/show_bug.cgi?id=64832
42514
42515         Reviewed by Tony Chang.
42516
42517         Make them actual anchor tags and linkify the test name instead of
42518         adding an extra link. Also simplify the update view since we now
42519         show the linkified test name.
42520
42521         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42522
42523 2011-07-21  Adam Barth  <abarth@webkit.org>
42524
42525         webkit.org builders should upload results to test-results AppEngine instance
42526         https://bugs.webkit.org/show_bug.cgi?id=64979
42527
42528         Reviewed by Adam Roben.
42529
42530         The master just needs to pass some flags to NRWT.  This patch also lets
42531         ORWT consume the flags (ignoring them) so we can pass the flags
42532         unconditionally.
42533
42534         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
42535         * Scripts/old-run-webkit-tests:
42536
42537 2011-07-21  Ojan Vafai  <ojan@chromium.org>
42538
42539         normalize gtest names in the result json
42540         https://bugs.webkit.org/show_bug.cgi?id=64971
42541
42542         Reviewed by Eric Seidel.
42543
42544         This will make the resulting JSON smaller and make the
42545         flakiness dashboard much more sane (e.g. we won't need to
42546         show you the FLAKY_ version and the normal version).
42547
42548         * TestResultServer/model/jsonresults.py:
42549         * TestResultServer/model/jsonresults_unittest.py:
42550
42551 2011-07-21  Eric Seidel  <eric@webkit.org>
42552
42553         Unreviewed.  Reenable ORWT for the --leaks bot.
42554         Something is still wrong with the leaks summarizing
42555         but I'm about to head out on vacation for 2 weeks,
42556         so it's best to just revert back to ORWT until I'm back.
42557
42558         * Scripts/run-webkit-tests:
42559         (usingLeaks):
42560         (useNewRunWebKitTests):
42561
42562 2011-07-21  Ojan Vafai  <ojan@chromium.org>
42563
42564         cleanup jsonresults.py style in preparation for making some changes
42565         https://bugs.webkit.org/show_bug.cgi?id=64968
42566
42567         Reviewed by Adam Barth.
42568
42569         No code changes. Unittest still passes. Mostly just removing
42570         useless comments and 80 character wrapping.
42571
42572         * TestResultServer/model/jsonresults.py:
42573         * TestResultServer/model/jsonresults_unittest.py:
42574
42575 2011-07-21  Adam Barth  <abarth@webkit.org>
42576
42577         Add missing column header.
42578
42579         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
42580
42581 2011-07-21  Eric Seidel  <eric@webkit.org>
42582
42583         Unreviewed.  Just fixing (and unittesting) a previous typo.
42584
42585         Fix typo in print_leaks_summary regexp which was causing
42586         leaks summarizing to fail on the --leaks bot.
42587
42588         * Scripts/webkitpy/layout_tests/port/mac.py:
42589         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
42590
42591 2011-07-21  Adam Barth  <abarth@webkit.org>
42592
42593         garden-o-matic should be able to rebaseline many tests at once
42594         https://bugs.webkit.org/show_bug.cgi?id=64963
42595
42596         Reviewed by Dimitri Glazkov.
42597
42598         This patch contains some UI for rebaselining tests in bulk.  I don't
42599         expect this UI to be the final UI, but the underlying infrastructure
42600         will be useful.
42601
42602         * Scripts/webkitpy/tool/servers/data/gardeningserver/checkout.js:
42603         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
42604         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
42605         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
42606         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
42607
42608 2011-07-21  Adam Barth  <abarth@webkit.org>
42609
42610         garden-o-matic has trouble when the same test fails in different ways on diffrent bots
42611         https://bugs.webkit.org/show_bug.cgi?id=64830
42612
42613         Unreviewed.  (Missing the patch is blocking me from fixing the tree.)
42614
42615         This patch is just some minor bug fixes.  One of the bugs results from
42616         the sadness of having two representations (a list and a space-separated
42617         string) for the set of failure types.
42618
42619         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
42620         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
42621         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
42622         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
42623
42624 2011-07-20  Ryosuke Niwa  <rniwa@webkit.org>
42625
42626         Buildbot marks a nrwt bot red when tests are missing results
42627         https://bugs.webkit.org/show_bug.cgi?id=64812
42628
42629         Reviewed by Adam Barth.
42630
42631         The bug was caused by multiple expressions matching on the single output.
42632         Fixed it by exiting the loop as soon as one expression matches.
42633
42634         Because the regular expression for 'failures' is most general,
42635         moved it to the end of the list to avoid it catching other cases.
42636
42637         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
42638
42639 2011-07-20  Chang Shu  <cshu@webkit.org>
42640
42641         Adding myself to the reviewers list; No review needed.
42642
42643         * Scripts/webkitpy/common/config/committers.py:
42644
42645 2011-07-20  Eric Seidel  <eric@webkit.org>
42646
42647         new-run-webkit-tests --leaks does not restart DumpRenderTree often enough
42648         https://bugs.webkit.org/show_bug.cgi?id=64912
42649
42650         Reviewed by Adam Barth.
42651
42652         The bug was that set_default_option only works if the option's value
42653         is "None".  So I fixed --batch-size to default to None instead of 0
42654         (which kinda makes sense).
42655
42656         * Scripts/webkitpy/layout_tests/controllers/worker.py:
42657         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
42658
42659 2011-07-20  Eric Seidel  <eric@webkit.org>
42660
42661         Make kill-old-processes kill httpd on mac
42662         https://bugs.webkit.org/show_bug.cgi?id=64898
42663
42664         Reviewed by Adam Barth.
42665
42666         * BuildSlaveSupport/kill-old-processes:
42667          - The line endings seem to have flipped again,
42668            Thus making this diff gigantic.  The only line
42669            changed is the "httpd" line.  I suspect we'll need
42670            to set the line ending style from an svn checkout.
42671
42672 2011-07-20  Ojan Vafai  <ojan@chromium.org>
42673
42674         show a list of average test times in the treemap
42675         https://bugs.webkit.org/show_bug.cgi?id=64899
42676
42677         Reviewed by Adam Roben.
42678
42679         For now, you click a link and it replaces the treemap
42680         with a reverse sorted list of directories based on
42681         average test runtime within that directory.
42682
42683         To cut some of the noise, we don't show directories
42684         that only have one test in them or where the average
42685         runtime is less than 100ms.
42686
42687         * TestResultServer/static-dashboards/treemap.html:
42688
42689 2011-07-20  Eric Seidel  <eric@webkit.org>
42690
42691         Teach build.webkit.org how to identify leaks in NRWT output
42692         https://bugs.webkit.org/show_bug.cgi?id=64891
42693
42694         Reviewed by Adam Barth.
42695
42696         This was the last remaining piece blocking turning on
42697         NRWT for the leaks bot, so I did that in this change too.
42698         If for some reason we see trouble on the bots, I'll
42699         revert that part of this change.
42700
42701         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
42702         * Scripts/run-webkit-tests:
42703
42704 2011-07-20  Ojan Vafai  <ojan@chromium.org>
42705
42706         make the treemap display more human friendly
42707         https://bugs.webkit.org/show_bug.cgi?id=64896
42708
42709         Reviewed by Tony Chang.
42710
42711         * TestResultServer/static-dashboards/treemap.html:
42712
42713 2011-07-20  Eric Seidel  <eric@webkit.org>
42714
42715         Move HttpLock to using a FileSystem object
42716         https://bugs.webkit.org/show_bug.cgi?id=64885
42717
42718         Reviewed by Adam Barth.
42719
42720         I made a typo in my previous change, taking the value
42721         of read_text_file(pid_file) and setting it to lock_pid_file
42722         instead of current_pid.  Fixed now. :)
42723
42724         In order to test my new change I had to overhaul the unittests
42725         for this class to create a separate set of tests which work off
42726         of Mock objects instead of the real filesystem.
42727
42728         Since Executive doesn't yet wrap os.getpid() I added a FIXME
42729         in several places where we're currently calling os.getpid().  I
42730         felt adding Executive.getpid was outside of the scope of this change
42731         but once it exists some of this code will be much simpler to mock.
42732
42733         * Scripts/webkitpy/layout_tests/port/http_lock.py:
42734         * Scripts/webkitpy/layout_tests/port/http_lock_unittest.py:
42735         * Scripts/webkitpy/tool/mocktool.py:
42736
42737 2011-07-20  Adam Roben  <aroben@apple.com>
42738
42739         Fix typo in TestFailures's Bugzilla constants
42740
42741         This was preventing the "Version" field from being pre-filled when filing new bugs.
42742
42743         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBugzilla.js:
42744
42745 2011-07-20  Eric Seidel  <eric@webkit.org>
42746
42747         Move HttpLock to using a FileSystem object
42748         https://bugs.webkit.org/show_bug.cgi?id=64885
42749
42750         Reviewed by Adam Barth.
42751
42752         There is no functional change here.  Just moving off
42753         of direct os.foo calls to their filesystem equivalent.
42754
42755         This makes it possible to now unittest HttpLock using a
42756         MockFileSystem instead of needing to talk to the filesystem directly.
42757
42758         This also will have changed any port test cases which were using a
42759         mock file system to now have an HttpLock based on a mock filesystem
42760         instead.  I saw no change in the unittests so it's possible
42761         we're not testing that configuration (or more likely that it "just works").
42762
42763         * Scripts/webkitpy/layout_tests/port/base.py:
42764         * Scripts/webkitpy/layout_tests/port/http_lock.py:
42765         * Scripts/webkitpy/layout_tests/port/http_lock_unittest.py:
42766
42767 2011-07-20  Adam Barth  <abarth@webkit.org>
42768
42769         NRWT results uses too much space per run
42770         https://bugs.webkit.org/show_bug.cgi?id=64845
42771
42772         Reviewed by Ojan Vafai.
42773
42774         Removing these files saves about 750K per build.
42775
42776         * Scripts/webkitpy/layout_tests/controllers/manager.py:
42777
42778 2011-07-20  Zan Dobersek  <zandobersek@gmail.com>
42779
42780         [Gtk] [NRWT] Xvfb produces a lot of stderr output
42781         https://bugs.webkit.org/show_bug.cgi?id=64669
42782
42783         Reviewed by Philippe Normand.
42784
42785         Redirect the stderr output of the driver's Xvfb process
42786         to /dev/null to suppress unneeded output.
42787
42788         * Scripts/webkitpy/layout_tests/port/gtk.py:
42789
42790 2011-07-19  Eric Seidel  <eric@webkit.org>
42791
42792         parse-malloc-history always exits 1, causing NRWT to fail
42793         https://bugs.webkit.org/show_bug.cgi?id=64835
42794
42795         Reviewed by Adam Barth.
42796
42797         ORWT just never checked the return code. :)
42798
42799         * Scripts/parse-malloc-history:
42800         (main):
42801         * Scripts/webkitpy/layout_tests/port/mac.py:
42802
42803 2011-07-19  Kevin Ollivier  <kevino@theolliviers.com>
42804
42805         [wx] Unreviewed build fix, don't add the debug prefix as 2.9 no longer uses one.
42806
42807         * waf/build/wxpresets.py:
42808
42809 2011-07-19  Eric Seidel  <eric@webkit.org>
42810
42811         new-run-webkit-tests should only enable MallocStackLogging for DRT
42812         https://bugs.webkit.org/show_bug.cgi?id=64792
42813
42814         Reviewed by Adam Barth.
42815
42816         The previous code would enable it for all servers launched
42817         by the port, which included Apache, the python websocket server
42818         as well as ImageDiff.  Now only DumpRenderTree will have
42819         MallocStackLogging enabled or the GuardMalloc library injected.
42820
42821         I also cleaned up the websocket_server code to use filesystem
42822         while I was in it.
42823
42824         I also made DRT restart every 1000 tests when running with
42825         --leaks enabled.  I believe this made the --leaks run slightly
42826         faster, but it still takes over an hour on my machine. :(
42827
42828         * Scripts/webkitpy/layout_tests/controllers/worker.py:
42829         * Scripts/webkitpy/layout_tests/port/base.py:
42830         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
42831         * Scripts/webkitpy/layout_tests/port/gtk.py:
42832         * Scripts/webkitpy/layout_tests/port/mac.py:
42833         * Scripts/webkitpy/layout_tests/port/qt.py:
42834         * Scripts/webkitpy/layout_tests/port/server_process.py:
42835         * Scripts/webkitpy/layout_tests/port/webkit.py:
42836         * Scripts/webkitpy/layout_tests/servers/http_server.py:
42837         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
42838
42839 2011-07-19  Ojan Vafai  <ojan@chromium.org>
42840
42841         remove the concept of platform fallbacks
42842         https://bugs.webkit.org/show_bug.cgi?id=64829
42843
42844         Reviewed by Adam Barth.
42845         
42846         In the process, wrote tests for this code and fixed a pretty major
42847         bug (now covered by the test).
42848
42849         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42850         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42851
42852 2011-07-19  Ojan Vafai  <ojan@chromium.org>
42853
42854         cleanup some of the PLATFORM logic in the flakiness dashboard
42855         https://bugs.webkit.org/show_bug.cgi?id=64821
42856
42857         Reviewed by Adam Barth.
42858
42859         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42860         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42861
42862 2011-07-19  Ojan Vafai  <ojan@chromium.org>
42863
42864         cleanup some of the PLATFORM logic in the flakiness dashboard
42865         https://bugs.webkit.org/show_bug.cgi?id=64821
42866
42867         Reviewed by Adam Barth.
42868
42869         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42870         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42871
42872 2011-07-19  Dimitri Glazkov  <dglazkov@chromium.org>
42873
42874         Store line number on TestExpectationLine.
42875         https://bugs.webkit.org/show_bug.cgi?id=64800
42876
42877         Reviewed by Adam Barth.
42878
42879         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Refactored to store line number on TestExpectationLine instances.
42880
42881 2011-07-19  Ojan Vafai  <ojan@chromium.org>
42882
42883         fix flakiness dashboard for XP bots with XP in the name instead of WIN
42884         https://bugs.webkit.org/show_bug.cgi?id=64826
42885
42886         Reviewed by Mihai Parparita.
42887
42888         * TestResultServer/static-dashboards/flakiness_dashboard.html:
42889         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
42890
42891 2011-07-19  Cary Clark  <caryclark@google.com>
42892
42893         add myself to committers.py
42894         https://bugs.webkit.org/show_bug.cgi?id=64816
42895
42896         No review needed.
42897
42898         * Scripts/webkitpy/common/config/committers.py:
42899
42900 2011-07-19  Daniel Bates  <dbates@webkit.org>
42901
42902         Rename variable isEmptyTextPatch in svn-{apply, unapply}
42903         https://bugs.webkit.org/show_bug.cgi?id=64648
42904
42905         Reviewed by Adam Roben.
42906
42907         Rename the variable isEmptyTextPatch to hasTextChunks, which is
42908         more descriptive and makes its usage read well in control statements.
42909
42910         * Scripts/svn-apply:
42911         (patch):
42912         * Scripts/svn-unapply:
42913         (patch):
42914
42915 2011-07-19  Adam Roben  <aroben@apple.com>
42916
42917         Make TestFailures show existing bugs and a new bug link for flaky tests
42918
42919         Fixes <http://webkit.org/b/63728> TestFailures page should make it easy to file bugs about
42920         flaky tests
42921         and
42922         <http://webkit.org/b/63830> TestFailures page doesn't show related bugs for possibly-flaky
42923         tests, but should
42924
42925         Reviewed by Sam Weinig.
42926
42927         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm.js:
42928         Added. This is what's used to file new bugs about flaky tests.
42929         (FlakyTestBugForm): Calls up to the base class, stores the arguments, and sets our
42930         title, description, and URL.
42931
42932         (FlakyTestBugForm.prototype._createBugDescription):
42933         (FlakyTestBugForm.prototype._createBugTitle):
42934         These do what they say.
42935
42936         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyTestBugForm_unittests.js:
42937         Added. Tests of the above.
42938
42939         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
42940         (#failure-history > li):
42941         (#possibly-flaky-tests > li):
42942         (#failure-history > li, #possibly-flaky-tests > li):
42943         (#possibly-flaky-tests > li > :first-child):
42944         (.flakiness-examples-list):
42945         Styling to account for the new elements.
42946
42947         (.expandable):
42948         (.expanded > .expandable):
42949         Generalized the .flakiness-example-list code to a generic .expandable class. Removed the
42950         transition properties because we can't transition to/from 'auto' (but really would like
42951         to!).
42952
42953         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
42954         (ViewController.prototype._displayBuilder): Moved code to create the FailingTestsBugForm
42955         here from _domForNewAndExistingBugs. Updated for changes to _domForPossiblyFlakyTests.
42956         (ViewController.prototype._domForNewAndExistingBugs): Changed to take a NewBugForm as an
42957         argument instead of creating one ourselves.
42958         (ViewController.prototype._domForPossiblyFlakyTests): Changed to take all analyzed builds as
42959         an argument instead of just the number of analyzed builds. Put the examples list inside a
42960         container <div>, which is also used to hold the new/existing bugs UI. Removed code to deal
42961         with animating the height of the examples list; we don't do this anymore because it's hard
42962         to make it work correctly with the asynchronous loading of existing bugs. When we populate
42963         the examples list, also set up the new/existing bug UI.
42964
42965         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
42966         FlakyTestBugForm.
42967
42968         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
42969         Pull in FlakyTestBugForm and its tests.
42970
42971 2011-07-19  Ryosuke Niwa  <rniwa@webkit.org>
42972
42973         Buildbot marks a nrwt bot red when tests are missing results
42974         https://bugs.webkit.org/show_bug.cgi?id=64812
42975
42976         Reviewed by Tony Chang.
42977
42978         Added "missing results" label for tests that are missing results.
42979
42980         buildbot Now reports shows a label "X missing results" on a run when X tests were missing
42981         expected results on that run.
42982
42983         Also rephrased "X failed" and "X were flaky" to "X failures" and "X flakes".
42984
42985         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
42986
42987 2011-07-19  Adam Roben  <aroben@apple.com>
42988
42989         Extract some of FailingTestsBugForm's code into a base class
42990
42991         Prep work for fixing <http://webkit.org/b/63728> TestFailures page should make it easy to
42992         file bugs about flaky tests
42993
42994         Reviewed by Sam Weinig.
42995
42996         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js:
42997         Moved BugzillaConstants to new WebKitBugzilla file. Moved a bunch of other code from here to
42998         TestRelatedBugForm.js.
42999
43000         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js:
43001         Moved some tests to TestRelatedBugForm_unittests.js.
43002
43003         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm.js: Added.
43004         (TestRelatedBugForm):
43005         (TestRelatedBugForm.prototype.domElement):
43006         (TestRelatedBugForm.prototype._computeOperatingSystem):
43007         (TestRelatedBugForm.prototype._computePlatform):
43008         Code came from FailingTestsBugForm.
43009
43010         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestRelatedBugForm_unittests.js:
43011         Added. Tests came from FailingTestsBugForm_unittests.js
43012
43013         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBugzilla.js:
43014         Added. Code came from FailingTestsBugForm.js.
43015
43016         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
43017         TestRelatedBugForm.js and WebKitBugzilla.js. Moved Bugzilla.js out of the list of files that
43018         need to be pulled in early for parsing reasons.
43019
43020         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
43021         Pull in TestRelatedBugForm and tests and WebKitBugzilla.
43022
43023 2011-07-19  Sam Weinig  <sam@webkit.org>
43024
43025         Remove obsolete Mac NRWT test bots
43026         https://bugs.webkit.org/show_bug.cgi?id=64806
43027
43028         Reviewed by Adam Roben.
43029
43030         Remove "Leopard Intel Release (NRWT)" and "SnowLeopard Intel Release (NRWT)"
43031         which have been disconnected for some time and have been obsoleted by
43032         the main testers using NRWT.
43033
43034         * BuildSlaveSupport/build.webkit.org-config/config.json:
43035
43036 2011-07-19  Sam Weinig  <sam@webkit.org>
43037
43038         webkit-patch rebaseline crashes on use
43039         https://bugs.webkit.org/show_bug.cgi?id=64775
43040
43041         Reviewed by Adam Roben.
43042
43043         Fix incorrectly spelled attribute name.
43044
43045         * Scripts/webkitpy/common/net/layouttestresults.py:
43046         The attribute is test_name, not filename.
43047
43048         * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
43049         Add test for tests_matching_failure_types.
43050
43051 2011-07-18  Eric Seidel  <eric@webkit.org>
43052
43053         new-run-webkit-tests should support --leaks
43054         https://bugs.webkit.org/show_bug.cgi?id=63832
43055
43056         Reviewed by Dirk Pranke.
43057
43058         This may not be sufficient to actually transition over the leaks bot,
43059         but this is a huge step in the right direction.
43060
43061         I had to make parse-malloc-history understand being passed more than
43062         one file (to avoid the silly cat | nonsense in old-run-webkit-tests).
43063
43064         I removed some dead code relating to previous iterations of our crash detection.
43065
43066         I created a new class "LeakDetector" to encapsulate all this logic.
43067         Eventually we should consider pulling that class out of mac.py and
43068         sharing with other ports.  However given that ORWT has had
43069         --leaks support on Mac for almost 7 years and no other port has added
43070         it, leaves me to believe we're in no rush to move LeakDetector.
43071
43072         I've tested --leaks locally.  I suspect there are more bugs to shake out
43073         but it seems to work well enough to start.
43074
43075         I also added support for --guard-malloc, but have not tested it much.  It
43076         should be viewed as experimental at this time.
43077
43078         I also fixed various os.path uses to self._filesystem as I was reading
43079         through the various files to understand how best to fix this bug.
43080
43081         * Scripts/old-run-webkit-tests:
43082         (parseLeaksandPrintUniqueLeaks):
43083         * Scripts/parse-malloc-history:
43084         (main):
43085         * Scripts/webkitpy/common/system/crashlogs.py:
43086         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43087         * Scripts/webkitpy/layout_tests/controllers/worker.py:
43088         * Scripts/webkitpy/layout_tests/port/base.py:
43089         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
43090         * Scripts/webkitpy/layout_tests/port/gtk.py:
43091         * Scripts/webkitpy/layout_tests/port/mac.py:
43092         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
43093         * Scripts/webkitpy/layout_tests/port/server_process.py:
43094         * Scripts/webkitpy/layout_tests/port/webkit.py:
43095         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
43096
43097 2011-07-19  Adam Barth  <abarth@webkit.org>
43098
43099         garden-o-matic should have a "Triage Failures" button for iterating over failures
43100         https://bugs.webkit.org/show_bug.cgi?id=64769
43101
43102         Reviewed by Eric Seidel.
43103
43104         This patch adds some global static state and refactors things a bit so
43105         that we can iterate over all the failures in the details pane.
43106
43107         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js:
43108             - Add a generic callback iterator to iterate through a series of
43109               callbacks. We use this to iterate through the failures we want to
43110               display the details of.
43111         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
43112             - Add a toolbar for the results summary and change the buttons to
43113               be real buttons.
43114         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43115             - Make the detail pane 75% of the window.
43116             - Make the buttons pretty.
43117             - Allow the failure type badges to apply to the details pane as well.
43118         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
43119             - Restructure how we bring up the details pane so we can iterate
43120               through a bunch of failures.
43121             - Remove the transition between results details because it's
43122               annoying when you want to click through a bunch of failures.
43123         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
43124             - Add some more structure to the title bar for the results details
43125               so it's clearer which results we're currently displaying.
43126
43127 2011-07-19  Adam Barth  <abarth@webkit.org>
43128
43129         garden-o-matic should live update as conditions change on the buildbot
43130         https://bugs.webkit.org/show_bug.cgi?id=64646
43131
43132         Reviewed by Eric Seidel.
43133
43134         This patch causes the garden-o-matic display to update every 10 minutes
43135         to show the latest failures.  This patch required a moderately large
43136         refactoring of main.js to make the display incremental instead of
43137         all-at-once.
43138
43139         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js:
43140         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43141         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
43142         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
43143
43144 2011-07-18  Tab Atkins  <jackalmage@gmail.com>
43145
43146         Tab Atkins is not in committers.py (as a non-committer)
43147         https://bugs.webkit.org/show_bug.cgi?id=64770
43148
43149         Reviewed by Eric Seidel.
43150
43151         * Scripts/webkitpy/common/config/committers.py:
43152
43153 2011-07-18  Ojan Vafai  <ojan@chromium.org>
43154
43155         Load ToT chromium bots by default in the flakiness dashboard
43156         https://bugs.webkit.org/show_bug.cgi?id=64756
43157
43158         Reviewed by Adam Barth.
43159
43160         For now, these are the most useful bots to look at. Eventually,
43161         we may want to load the build.webkit.org bots by default once
43162         most of the bots there upload results.
43163
43164         * TestResultServer/static-dashboards/dashboard_base.js:
43165
43166 2011-07-13  Jon Honeycutt  <jhoneycutt@apple.com>
43167
43168         Focus and selection events are not fired when a <select>'s selection
43169         changes
43170         https://bugs.webkit.org/show_bug.cgi?id=64504
43171         <rdar://problem/9319881>
43172
43173         Reviewed by Alice Liu.
43174
43175         * DumpRenderTree/AccessibilityController.h:
43176         Added m_notificationsEventHook for addNotificationListener().
43177         m_allEventsHook will now be used for setLogAccessibilityEvents().
43178
43179         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
43180         (AccessibilityController::AccessibilityController):
43181         Initialize m_notificationsEventHook.
43182         (AccessibilityController::~AccessibilityController):
43183         Turn off logging of all accessibility events. If
43184         m_notificationsEventHook is non-null, unhook it.
43185         (logEventProc):
43186         Add handling of EVENT_OBJECT_SELECTION.
43187         (AccessibilityController::setLogAccessibilityEvents):
43188         If the state of logging is not changing, return early. If we're turning
43189         off logging, unhook m_allEventsHook, and zero it out. Otherwise, add a
43190         hook for all events.
43191         (AccessibilityController::addNotificationListener):
43192         Use m_notificationsEventHook rather than m_allEventsHook.
43193
43194 2011-07-18  Eric Seidel  <eric@webkit.org>
43195
43196         webkit-patch apply-attachment does not work when not called from the root of the checkout
43197         https://bugs.webkit.org/show_bug.cgi?id=64751
43198
43199         Unreviewed.  Just updating unit test results after bug 64751.
43200
43201         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
43202         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
43203
43204 2011-07-18  Adam Barth  <abarth@webkit.org>
43205
43206         simplejson has trouble on chromium-linux
43207         https://bugs.webkit.org/show_bug.cgi?id=64757
43208
43209         Reviewed by Eric Seidel.
43210
43211         Use the native JSON, if available.
43212
43213         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
43214
43215 2011-07-18  Ojan Vafai  <ojan@chromium.org>
43216
43217         update the flakiness dashboard to understand the new platforms/formats in test_expectations
43218         https://bugs.webkit.org/show_bug.cgi?id=64743
43219
43220         Reviewed by Adam Barth.
43221
43222         The test expectations format changed a long time ago and the flakiness dashboard
43223         was never updated to match.
43224
43225         * TestResultServer/static-dashboards/dashboard_base.js:
43226         * TestResultServer/static-dashboards/flakiness_dashboard.html:
43227         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
43228         * TestResultServer/static-dashboards/timeline_explorer.html:
43229
43230 2011-07-18  Eric Seidel  <eric@webkit.org>
43231
43232         webkit-patch apply-attachment does not work when not called from the root of the checkout
43233         https://bugs.webkit.org/show_bug.cgi?id=64751
43234
43235         Reviewed by Adam Barth.
43236
43237         Last week I removed a os.chdir in EnsureWorkingDirectoryClean, which
43238         is a step that we run for most commands (as one of the earliest steps).
43239         EnsureWorkingDirectoryClean was incorrectly calling os.chdir to change
43240         the CWD to the checkout root.  This magically made a bunch of otherwise
43241         wrong code work.
43242
43243         When I realized that apply-attachment no longer worked as expected today,
43244         I went and fixed the bug, then realizing that we were not testing
43245         what the cwd was when running various commands.  I fixed our MockExecutive
43246         to always log what the cwd is and fixed a whole bunch of places
43247         where we needed to be setting the cwd.
43248
43249         Hopefully this will solve our cwd problems once and for-all, and webkit-patch
43250         will again correctly work when called from any directory (including outside
43251         of a webkit checkout).
43252
43253         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
43254         * Scripts/webkitpy/common/system/executive.py:
43255         * Scripts/webkitpy/common/system/workspace_unittest.py:
43256         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
43257         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
43258         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
43259         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
43260         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
43261         * Scripts/webkitpy/tool/bot/irc_command.py:
43262         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
43263         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
43264         * Scripts/webkitpy/tool/commands/download_unittest.py:
43265         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
43266         * Scripts/webkitpy/tool/commands/queues.py:
43267         * Scripts/webkitpy/tool/commands/queues_unittest.py:
43268         * Scripts/webkitpy/tool/commands/queuestest.py:
43269         * Scripts/webkitpy/tool/mocktool.py:
43270         * Scripts/webkitpy/tool/servers/gardeningserver.py:
43271         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
43272         * Scripts/webkitpy/tool/steps/build.py:
43273         * Scripts/webkitpy/tool/steps/checkstyle.py:
43274         * Scripts/webkitpy/tool/steps/editchangelog.py:
43275         * Scripts/webkitpy/tool/steps/preparechangelog.py:
43276         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
43277         * Scripts/webkitpy/tool/steps/runtests.py:
43278         * Scripts/webkitpy/tool/steps/steps_unittest.py:
43279         * Scripts/webkitpy/tool/steps/update.py:
43280
43281 2011-07-18  Adam Barth  <abarth@webkit.org>
43282
43283         Increase information garden-o-matic information density by switching to a table
43284         https://bugs.webkit.org/show_bug.cgi?id=64642
43285
43286         Reviewed by Dimitri Glazkov.
43287
43288         The old layout couldn't handle the large number of failures we had
43289         today.  This patch switches garden-o-matic to a table-based layout,
43290         which can handle many more failures gracefully.  (I expect we'll need
43291         more UI iterations.)
43292
43293         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43294         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
43295         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
43296         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
43297
43298 2011-07-18  Adam Barth  <abarth@webkit.org>
43299
43300         garden-o-matic should be able to determine when compile breaks
43301         https://bugs.webkit.org/show_bug.cgi?id=64190
43302
43303         Reviewed by Dimitri Glazkov.
43304
43305         This patch adds a red-ish box to the top of the page whenever there is
43306         a compile error on the bots.  The box automatically opens and closes as
43307         appropriate and links to the waterfall display.  In the future, we
43308         might want to compute a regression range.
43309
43310         * Scripts/webkitpy/tool/servers/data/gardeningserver/config.js:
43311             - Add the build-only bots to the config.  We use these to check
43312               whether the build failed, which is faster than waiting for the
43313               tester bots to cycle.
43314         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
43315             - Add DOM for the alert bar.
43316         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43317             - CSS to support the alert bar.
43318         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
43319             - Wiring up events to poll the buildbot to see whether compile has
43320               failed.
43321         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
43322             - Infrastructure for fetching and parsing the buildbot status JSON
43323               blob.  This code could be better factored for testability.  :(
43324         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
43325             - UI for displaying compile errors.
43326         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
43327
43328 2011-07-18  Sheriff Bot  <webkit.review.bot@gmail.com>
43329
43330         Unreviewed, rolling out r91132 and r91135.
43331         http://trac.webkit.org/changeset/91132
43332         http://trac.webkit.org/changeset/91135
43333         https://bugs.webkit.org/show_bug.cgi?id=64681
43334
43335         Broke GTK and Chromium debug bots (Requested by rniwa on
43336         #webkit).
43337
43338         * DumpRenderTree/AccessibilityController.h:
43339         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
43340         (AccessibilityController::AccessibilityController):
43341         (AccessibilityController::~AccessibilityController):
43342         (logEventProc):
43343         (AccessibilityController::setLogAccessibilityEvents):
43344         (AccessibilityController::addNotificationListener):
43345
43346 2011-07-17  Philippe Normand  <pnormand@igalia.com>
43347
43348         test-webkitpy failing with Python 2.5
43349         https://bugs.webkit.org/show_bug.cgi?id=64594
43350
43351         Reviewed by Eric Seidel.
43352
43353         Updated simplejson to version 2.1.6 that fixes an issue when
43354         dumping slashes. Also use cgi.parse_qs instead of the urlparse
43355         version to be compatible with Python2.5. Verified the fix with
43356         test-webkitpy on python 2.5 and python 2.6.
43357
43358         * Scripts/webkitpy/thirdparty/simplejson/README.txt:
43359         * Scripts/webkitpy/thirdparty/simplejson/__init__.py:
43360         * Scripts/webkitpy/thirdparty/simplejson/_speedups.c:
43361         (json_PyOS_string_to_double):
43362         (_convertPyInt_AsSsize_t):
43363         (_convertPyInt_FromSsize_t):
43364         (ascii_escape_char):
43365         (ascii_escape_unicode):
43366         (ascii_escape_str):
43367         (raise_errmsg):
43368         (join_list_unicode):
43369         (join_list_string):
43370         (_build_rval_index_tuple):
43371         (scanstring_str):
43372         (scanstring_unicode):
43373         (py_scanstring):
43374         (py_encode_basestring_ascii):
43375         (scanner_dealloc):
43376         (scanner_traverse):
43377         (scanner_clear):
43378         (_parse_object_str):
43379         (_parse_object_unicode):
43380         (_parse_array_str):
43381         (_parse_array_unicode):
43382         (_parse_constant):
43383         (_match_number_str):
43384         (_match_number_unicode):
43385         (scan_once_str):
43386         (scan_once_unicode):
43387         (scanner_call):
43388         (scanner_new):
43389         (scanner_init):
43390         (encoder_new):
43391         (encoder_init):
43392         (encoder_call):
43393         (_encoded_const):
43394         (encoder_encode_float):
43395         (encoder_encode_string):
43396         (_steal_list_append):
43397         (encoder_listencode_obj):
43398         (encoder_listencode_dict):
43399         (encoder_listencode_list):
43400         (encoder_dealloc):
43401         (encoder_traverse):
43402         (encoder_clear):
43403         (init_speedups):
43404         * Scripts/webkitpy/thirdparty/simplejson/decoder.py:
43405         * Scripts/webkitpy/thirdparty/simplejson/encoder.py:
43406         * Scripts/webkitpy/thirdparty/simplejson/ordered_dict.py: Added.
43407         * Scripts/webkitpy/thirdparty/simplejson/scanner.py:
43408         * Scripts/webkitpy/thirdparty/simplejson/tool.py: Added.
43409         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
43410
43411 2011-07-17  Dimitri Glazkov  <dglazkov@chromium.org>
43412
43413         Rename ModifierMatcher to SpecificityCalculator.
43414         https://bugs.webkit.org/show_bug.cgi?id=64660
43415
43416         It's a little longer than before, but it is much clearer.
43417
43418         Reviewed by Adam Barth.
43419
43420         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Renamed and adjusted
43421             all callsites, also rewrote the comments.
43422         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Adjusted callsites
43423             and renamed tests.
43424
43425 2011-07-15  Adam Barth  <abarth@webkit.org>
43426
43427         gardening server should proxy buildbot status for garden-o-matic
43428         https://bugs.webkit.org/show_bug.cgi?id=64588
43429
43430         Reviewed by Eric Seidel.
43431
43432         This information will be used to detect build breaks.  I took this
43433         opportunity to make ChromiumBuildBot non-static.
43434
43435         * Scripts/webkitpy/common/host.py:
43436         * Scripts/webkitpy/tool/commands/rebaseline.py:
43437         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
43438         * Scripts/webkitpy/tool/mocktool.py:
43439         * Scripts/webkitpy/tool/servers/gardeningserver.py:
43440         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
43441
43442 2011-07-15  Julien Chaffraix  <jchaffraix@webkit.org>
43443
43444         [NRWT] Add support for --no-http
43445         https://bugs.webkit.org/show_bug.cgi?id=64564
43446
43447         Reviewed by Dirk Pranke.
43448
43449         Added support for --no-http, which disables both HTTP and websockets tests.
43450         It also matches the old-run-webkit-tests behavior if --force is used.
43451
43452         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43453         Fixed HTTP_SUBDIR and WEBSOCKET_SUBDIR as tests do not start with a leading separator.
43454         We check if --no-http is set and add the HTTP / websockets tests to the skipped list prior to looking
43455         at the expectation file. Fixed the  _test_requires_lock function to use the same code path to determine
43456         what is worth have an HTTP lock as --no-http to avoid badness.
43457
43458         * Scripts/webkitpy/layout_tests/port/test.py: Added 2 new tests to our mock filesystem to validate that
43459         we do skip properly HTTP / websocket tests inside platform/.
43460
43461         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
43462         Added tests that we properly skip all the tests.
43463
43464         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
43465         Added checks for the command line arguments.
43466
43467 2011-07-13  Jon Honeycutt  <jhoneycutt@apple.com>
43468
43469         Focus and selection events are not fired when a <select>'s selection
43470         changes
43471         https://bugs.webkit.org/show_bug.cgi?id=64504
43472         <rdar://problem/9319881>
43473
43474         Reviewed by Alice Liu.
43475
43476         * DumpRenderTree/AccessibilityController.h:
43477         Added m_notificationsEventHook for addNotificationListener().
43478         m_allEventsHook will now be used for setLogAccessibilityEvents().
43479
43480         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
43481         (AccessibilityController::AccessibilityController):
43482         Initialize m_notificationsEventHook.
43483         (AccessibilityController::~AccessibilityController):
43484         Turn off logging of all accessibility events. If
43485         m_notificationsEventHook is non-null, unhook it.
43486         (logEventProc):
43487         Add handling of EVENT_OBJECT_SELECTION.
43488         (AccessibilityController::setLogAccessibilityEvents):
43489         If the state of logging is not changing, return early. If we're turning
43490         off logging, unhook m_allEventsHook, and zero it out. Otherwise, add a
43491         hook for all events.
43492         (AccessibilityController::addNotificationListener):
43493         Use m_notificationsEventHook rather than m_allEventsHook.
43494
43495 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43496
43497         Refactor TestExpectationModel to use TestExpectationLine as data item.
43498         https://bugs.webkit.org/show_bug.cgi?id=64635
43499
43500         This is a bit largish in scope. Does the following things:
43501
43502         1) Adds "path" member to TestExpectationLine to hold normalized path to test, computed at parsing,
43503            and changes code that used Port.normalize_test_name to rely on TestExpectationLine.path. As a result, TestExpectationModel no longer
43504            needs to have any port knowledge.
43505
43506         2) Adds "create_passing_expectation" class method to TestExpectationLine to generate a pristine passing expectation out of a test name,
43507            and changes TestExpectations._process_tests_without_expectations to use it, thus eliminating the need for a special API entry point.
43508            Now all expectations are added to the model in the same way!
43509
43510         3) Changes TestExpectationModel's main test index to store a tuple consisting of line number and TestExpectationLine instance.
43511
43512         Reviewed by Adam Barth.
43513
43514         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Refactored code.
43515
43516 2011-07-15  Adam Roben  <aroben@apple.com>
43517
43518         Teach TestFailures how to detect interrupted build steps
43519
43520         Fixes <http://webkit.org/b/64619> TestFailures page thinks all tests passed in
43521         http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20(WebKit2%20Tests)/builds/13401
43522
43523         Reviewed by Daniel Bates.
43524
43525         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
43526         (Builder.prototype.getNumberOfFailingTests): If the build step has a result code of 4, the
43527         build step was interrupted. Treat it as an error (by returning a failureCount of -1).
43528
43529         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
43530         Added a test for the above.
43531
43532         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
43533         (LayoutTestResultsLoader.prototype.start): Bumped the cache version to evict old, buggy
43534         cache data that was afflicted by the above bug.
43535
43536 2011-07-15  Eric Seidel  <eric@webkit.org>
43537
43538         new-run-webkit-tests crashes on Apple's Windows port when trying to launch Apache
43539         https://bugs.webkit.org/show_bug.cgi?id=64533
43540
43541         Reviewed by Adam Roben.
43542
43543         Blind removal of Chromium-specific code (now that Chromium does not use this file).
43544
43545         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
43546
43547 2011-07-15  Adam Roben  <aroben@apple.com>
43548
43549         Make TestFailures's list of possibly-flaky tests not so tall
43550
43551         Fixes <http://webkit.org/b/64618> TestFailures page's list of flaky tests takes up way too
43552         much room
43553
43554         Reviewed by Daniel Bates.
43555
43556         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
43557         Removed a no-longer-used .flakiness-example-separator selector.
43558
43559         (#failure-history > li):
43560         (#possibly-flaky-tests > li):
43561         (#failure-history > li, #possibly-flaky-tests > li):
43562         Use a lot less padding for the possibly-flaky tests.
43563
43564 2011-07-15  Tony Chang  <tony@chromium.org>
43565
43566         [chromium] land linux selection color layout test
43567         https://bugs.webkit.org/show_bug.cgi?id=64631
43568
43569         Reviewed by Ojan Vafai.
43570
43571         I had removed this code in r76620 because I thought it wasn't used.
43572         Turns out there was a layout test in the chromium tree that never
43573         got migrated that used it.  Re-add the code and land the layout
43574         test (I will remove it from the chromium tree soon).
43575
43576         * DumpRenderTree/chromium/LayoutTestController.cpp:
43577         (LayoutTestController::LayoutTestController):
43578         (LayoutTestController::forceRedSelectionColors):
43579         * DumpRenderTree/chromium/LayoutTestController.h:
43580
43581 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43582
43583         Revert http://trac.webkit.org/changeset/91091, since Python 2.5
43584         does not support enumerate() start argument.
43585
43586         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Reverted.
43587
43588 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43589
43590         Clean up test_expectations.py after refactorings.
43591         https://bugs.webkit.org/show_bug.cgi?id=64620
43592
43593         * Renamed all variables holding TestExpectationLine to expectation_line to avoid confusion with
43594           its sub-part, the actual expectation.
43595         * Renamed all references to options to modifier to eliminate dual terminology.
43596         * Made a bunch of parser constants and changed all callsites to use them.
43597         * Various other minor clean-ups.
43598
43599         Reviewed by Adam Barth.
43600
43601         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Cleaned up stuff.
43602         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Changed callsites after cleanup.
43603         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Ditto.
43604
43605 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43606
43607         Move expectation parsing code to TestExpectationParser.
43608         https://bugs.webkit.org/show_bug.cgi?id=64605
43609
43610         This is a somewhat mechanical move, with two interesting bits:
43611         
43612         1) TestExpectationParser.parse methods renamed to tokenize, to better
43613         reflect what they do
43614
43615         2) TestExpectationLine now carries all of its info, from tokens to parsed data,
43616         and even the list of tests that it matches (a line may refer to more than one test).
43617
43618         Reviewed by Adam Barth.
43619
43620         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Moved parsing-related TestExpectaions methods
43621             to TestExpectationParser, added more members to TestExpectationLine to carry parsed info, renamed existing parse methods
43622             to "tokenize", changed callsites to use new code.
43623         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Changed unit tests to reflect renames.
43624
43625 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43626
43627         Switch to use Python enumerate function to enumerate line numbers.
43628         https://bugs.webkit.org/show_bug.cgi?id=64602
43629
43630         Reviewed by Adam Barth.
43631
43632         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Changed to use enumerate.
43633
43634 2011-07-15  Martin Robinson  <mrobinson@igalia.com>
43635
43636         Build fixes for WebKit2. Ensure that all generated sources are
43637         on nodist primaries, that they are on forward declared variables
43638         so that BUILT_SOURCES is calculated properly and that zlib is 
43639         included during linking (for WOFF support).
43640
43641         * WebKitTestRunner/GNUmakefile.am:
43642
43643 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43644
43645         Store error and warning information on TestExpectationLine.
43646         https://bugs.webkit.org/show_bug.cgi?id=64565
43647
43648         Keeping errors and warnings on the TestExpectationLine instance allows us to decouple storing errors
43649         from various parsing and validation mechanisms and have more flexibility in reporting and understanding the origin of the errors.
43650
43651         Reviewed by Adam Barth.
43652
43653         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Added TestExpectationLine.warnings list to keep track of non-fatal errors,
43654             converted the code to add errors and warnings to corresponding TestExpectationLine instances, removed the code that used to store
43655             this info on TestExpectations. In the process, had to refactor ModifierMatcher a bit to take in a TestExpdectationLine instance.
43656         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Changed ModifierMatcher callsite.
43657
43658 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43659
43660         Plumb the use of TestExpectationLine deeper, clean up.
43661         https://bugs.webkit.org/show_bug.cgi?id=64559
43662
43663         Instead of carrying various bits of TestExpectationLine, plumb it down to its consumers,
43664         also cleaning up names and remove an unused TestExpectations._get_options_list member.
43665
43666         Reviewed by Adam Barth.
43667
43668         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
43669
43670 2011-07-15  Dimitri Glazkov  <dglazkov@chromium.org>
43671
43672         Remove the notion of TestExpectationLine.valid, start storing parsing errors in expectations themselves.
43673         https://bugs.webkit.org/show_bug.cgi?id=64554
43674
43675         This moves us toward the world where errors are collected on the expectations, which allows us to
43676         easily enumerate them, keep association with the point of origin, and freely pass TestExpectationLine instances around.
43677
43678         Also eliminate the validator idea, since validation is a context-dependent concept and has to be decoupled from initial
43679         parsing.
43680
43681         Reviewed by Adam Barth.
43682
43683         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Removed TestExpectation.valid, validator,
43684             changed TestExpectationParser to collect errors in TestExpectationLine, refactored surrounding code.
43685         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Changed tests to accommodate changes.
43686         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Ditto.
43687
43688 2011-07-15  Adam Roben  <aroben@apple.com>
43689
43690         Rename TestFailureBugForm to FailingTestsBugForm
43691
43692         The new name will match better with a forthcoming FlakyTestBugForm class.
43693
43694         Fixes <http://webkit.org/b/64598> TestFailures page's TestFailureBugForm class has a bad
43695         name
43696
43697         Reviewed by Daniel Bates.
43698
43699         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm.js.
43700         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm_unittests.js.
43701
43702         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
43703         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
43704         Updated for renames.
43705
43706         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Ditto, and
43707         reordered <script>s to put files which others depend on for parsing first.
43708
43709 2011-07-15  Adam Barth  <abarth@webkit.org>
43710
43711         NRWT stores the Chromium revision number in full_results.json
43712         https://bugs.webkit.org/show_bug.cgi?id=64586
43713
43714         I have no earthly idea how to test this change.
43715
43716         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43717         * Scripts/webkitpy/layout_tests/port/base.py:
43718
43719 2011-07-14  Ojan Vafai  <ojan@chromium.org>
43720
43721         fix remaining style issues in the static-dashboards directory
43722         https://bugs.webkit.org/show_bug.cgi?id=64561
43723
43724         Reviewed by Adam Barth.
43725
43726         * TestResultServer/static-dashboards/aggregate_results.html:
43727         * TestResultServer/static-dashboards/builders.js:
43728         * TestResultServer/static-dashboards/dashboard_base.js:
43729         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
43730         * TestResultServer/static-dashboards/timeline_explorer.html:
43731         * TestResultServer/static-dashboards/treemap.html:
43732
43733 2011-07-14  Yuta Kitamura  <yutak@chromium.org>
43734
43735         WebSocket: Introduce pywebsocket-0.6b2
43736         https://bugs.webkit.org/show_bug.cgi?id=64534
43737
43738         Reviewed by Kent Tamura.
43739
43740         * Scripts/webkitpy/thirdparty/__init__.py:
43741
43742 2011-07-14  Dimitri Glazkov  <dglazkov@chromium.org>
43743
43744         Introduce TestExpectationsModel, split out of TestExpectations.
43745         https://bugs.webkit.org/show_bug.cgi?id=64531
43746
43747         This is a simple split-and-make-work refactoring, a first step among many.
43748
43749         Reviewed by Adam Barth.
43750
43751         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Moved all model-related members
43752             out of TestExpectations and into TestExpectationsModel.
43753
43754 2011-07-14  Eric Seidel  <eric@webkit.org>
43755
43756         Move webkitpy off of loose mocks
43757         https://bugs.webkit.org/show_bug.cgi?id=64508
43758
43759         Unreviewed.  Fixing a test which fails under test-webkitpy --all (but not in a normal run).
43760
43761         * Scripts/webkitpy/common/checkout/scm/git.py:
43762
43763 2011-07-14  Adam Barth  <abarth@webkit.org>
43764
43765         garden-o-matic should have a "rebaseline" button
43766         https://bugs.webkit.org/show_bug.cgi?id=64446
43767
43768         Reviewed by Ojan Vafai.
43769
43770         This patch adds a basic Rebaseline button that copies the baselines
43771         displayed in the results pane into the appropriate directory in your
43772         working copy.
43773
43774         There are two main limitations:
43775
43776         1) There is no UI for actually committing the baselines.
43777
43778         2) The baselines are not optimized for redundancy (meaning you can have
43779            identical baselines in both chromium-mac and chromium-win).
43780
43781         * Scripts/webkitpy/tool/commands/rebaseline.py:
43782             - Turns out we need to create the directory for the baseline if it doesn't exist yet.
43783         * Scripts/webkitpy/tool/servers/data/gardeningserver/checkout.js:
43784             - Add an programatic API to call the server.
43785         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
43786             - Add the rebaseline button itself.
43787         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43788             - Change the CSS so that the Rebaseline and Close buttons can
43789               appear in the normal order in the DOM.
43790         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
43791             - Bind the event and translate the parameters.
43792             - Hide/show the rebaseline button, as appropriate.
43793         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
43794             - Add some helpful utility functions for manipulating failure types.
43795         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
43796
43797 2011-07-14  Ryosuke Niwa  <rniwa@webkit.org>
43798
43799         REGRESSION: webkit-patch roll-chromium-deps is broken
43800         https://bugs.webkit.org/show_bug.cgi?id=64568
43801
43802         Reviewed by Dirk Pranke
43803
43804         Use _filesystem.join.
43805
43806         * Scripts/webkitpy/common/checkout/checkout.py:
43807         * Scripts/webkitpy/common/checkout/checkout_unittests.py:
43808
43809 2011-07-14  Noam Rosenthal  <noam.rosenthal@nokia.com>
43810
43811         Adding myself to the reviewers list; No review needed.
43812
43813         * Scripts/webkitpy/common/config/committers.py:
43814
43815 2011-07-14  Adam Roben  <aroben@apple.com>
43816
43817         Don't use Element.prototype.classList in TestFailures
43818
43819         Safari 5 doesn't support it.
43820
43821         Fixes <http://webkit.org/b/64550> Can't expand flaky tests on TestFailures page in Safari 5
43822
43823         Reviewed by Daniel Bates.
43824
43825         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
43826         (Element.prototype.hasStyleClass):
43827         (Element.prototype.addStyleClass):
43828         (Element.prototype.removeStyleClass):
43829         (Element.prototype.toggleStyleClass):
43830         Added these helper functions which simulate classList functionality.
43831
43832         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities_unittests.js:
43833         Added. Tests for the above.
43834
43835         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
43836         (ViewController.prototype._domForPossiblyFlakyTests): Changed to use
43837         toggleStyleClass/hasStyleClass instead of classList.
43838
43839         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
43840         Added Utilities_unittests.js, and reordered the tested files to be in
43841         roughly dependency order (i.e., the lowest-level files are imported
43842         and tested first).
43843
43844 2011-07-14  Eric Seidel  <eric@webkit.org>
43845
43846         NRWT doesn't store the svn revision in full_results.json on chromium-win
43847         https://bugs.webkit.org/show_bug.cgi?id=64492
43848
43849         Unreviewed.  Just fixing my test-webkitpy regression.
43850
43851         Fix the unit tests.  Unfortunately scm does not use a filesystem
43852         object so we can't control the result of detect_scm_system.
43853         When detect_scm_system would fail, we would log, which would
43854         cause all passing_run integration tests to fail.
43855
43856         * Scripts/webkitpy/common/checkout/scm/scm.py:
43857         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43858         * Scripts/webkitpy/layout_tests/port/base.py:
43859         * Scripts/webkitpy/layout_tests/port/test.py:
43860         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
43861
43862 2011-07-14  Eric Seidel  <eric@webkit.org>
43863
43864         NRWT doesn't store the svn revision in full_results.json on chromium-win
43865         https://bugs.webkit.org/show_bug.cgi?id=64492
43866
43867         Reviewed by Ojan Vafai.
43868
43869         This should fix the bug.  Unfortunately this code is currently
43870         impossible to test since it's impossible to mock detect_scm_system at the
43871         moment.  I started re-writing scm.detection.py to be mockable, but decided that
43872         was best left for another day.
43873
43874         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43875         * Scripts/webkitpy/layout_tests/port/base.py:
43876
43877 2011-07-14  Ojan Vafai  <ojan@chromium.org>
43878
43879         fix coding style of dashboard_base.js
43880         https://bugs.webkit.org/show_bug.cgi?id=64545
43881
43882         Reviewed by Adam Roben.
43883
43884         The code changes to the files other than dashboard_base.js
43885         are just fallout from renaming globals in dashboard_base.js.
43886
43887         * TestResultServer/static-dashboards/aggregate_results.html:
43888         * TestResultServer/static-dashboards/builders.js:
43889         * TestResultServer/static-dashboards/dashboard_base.js:
43890         * TestResultServer/static-dashboards/flakiness_dashboard.html:
43891         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
43892         * TestResultServer/static-dashboards/timeline_explorer.html:
43893         * TestResultServer/static-dashboards/treemap.html:
43894
43895 2011-07-14  Carlos Garcia Campos  <cgarcia@igalia.com>
43896
43897         Unreviewed. Fix WebKit2 GTK build after r90953.
43898
43899         * WebKitTestRunner/GNUmakefile.am:
43900
43901 2011-07-14  Adam Barth  <abarth@webkit.org>
43902
43903         garden-o-matic results pane should be more discoverable
43904         https://bugs.webkit.org/show_bug.cgi?id=64513
43905
43906         Reviewed by Eric Seidel.
43907
43908         This patch causes us to trigger the results pane on mouse clicks
43909         instead of mousein.  Also, handle the case of no results details more
43910         elegantly.
43911
43912         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43913         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
43914             - Change the binding to "click".
43915         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
43916             - Handle the "no results URLs" case explicitly instead of never
43917               calling the callback.
43918         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
43919         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
43920             - Show a message when there are no result details to show.
43921         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
43922
43923 2011-07-14  Adam Barth  <abarth@webkit.org>
43924
43925         garden-o-matic should badge TIMEOUT failures
43926         https://bugs.webkit.org/show_bug.cgi?id=64435
43927
43928         Reviewed by Eric Seidel.
43929
43930         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
43931         (.regression .what a[draggable].TIMEOUT::before):
43932             - Add TIMEOUT.
43933
43934 2011-07-14  Adam Barth  <abarth@webkit.org>
43935
43936         Fix Python exception blocking the commit-queue.
43937
43938         * Scripts/webkitpy/common/checkout/scm/git.py:
43939
43940 2011-07-13  Eric Seidel  <eric@webkit.org>
43941
43942         Move webkitpy off of loose mocks
43943         https://bugs.webkit.org/show_bug.cgi?id=64508
43944
43945         Reviewed by Adam Barth.
43946
43947         Using Mock has caused us more pain than help.
43948         It's possible that there was a cleaner way to use it
43949         (maybe Mock(class) instead of inheriting from it?).
43950         But for now, I've removed all uses of Mock from mocktool.py.
43951
43952         I also moved run_command into the only 3 files which call it
43953         instead of leaving the deprecated method in executive.py.
43954
43955         I changed various direct calls to os.* to use filesystem instead.
43956
43957         * Scripts/webkitpy/common/checkout/checkout.py:
43958         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
43959         * Scripts/webkitpy/common/checkout/scm/git.py:
43960         * Scripts/webkitpy/common/checkout/scm/scm.py:
43961         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
43962         * Scripts/webkitpy/common/checkout/scm/svn.py:
43963         * Scripts/webkitpy/common/system/executive.py:
43964         * Scripts/webkitpy/common/system/executive_unittest.py:
43965         * Scripts/webkitpy/tool/mocktool.py:
43966         * Scripts/webkitpy/tool/steps/cleanworkingdirectory_unittest.py:
43967         * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
43968
43969 2011-07-13  Eric Seidel  <eric@webkit.org>
43970
43971         NRWT doesn't store the svn revision in full_results.json on chromium-win
43972         https://bugs.webkit.org/show_bug.cgi?id=64492
43973
43974         Reviewed by Adam Barth.
43975
43976         Add a warning message in the revision='' case to help us diagnose
43977         what's going wrong on the bot.
43978
43979         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43980
43981 2011-07-13  Dirk Pranke  <dpranke@chromium.org>
43982
43983         new-run-webkit-tests: print baseline search path as part of config output
43984         https://bugs.webkit.org/show_bug.cgi?id=64499
43985
43986         Reviewed by Eric Seidel.
43987
43988         * Scripts/webkitpy/layout_tests/controllers/manager.py:
43989         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
43990
43991 2011-07-13  Adam Barth  <abarth@webkit.org>
43992
43993         gardening server should have an API for parsing changelogs
43994         https://bugs.webkit.org/show_bug.cgi?id=64495
43995
43996         Reviewed by Eric Seidel.
43997
43998         This patch exposes much of the same information from CommitInfo in a
43999         dictionary form, which is easier to send over-the-wire as JSON to the
44000         frontend.
44001
44002         * Scripts/webkitpy/common/checkout/checkout.py:
44003         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
44004         * Scripts/webkitpy/tool/mocktool.py:
44005         * Scripts/webkitpy/tool/servers/gardeningserver.py:
44006         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
44007         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
44008
44009 2011-07-13  Eric Seidel  <eric@webkit.org>
44010
44011         REGRESSION: GitTestWithMock.test_create_patch fails
44012         https://bugs.webkit.org/show_bug.cgi?id=62945
44013
44014         Reviewed by Daniel Bates.
44015
44016         I was not able to reproduce the exact failure seen in the bug,
44017         however this test was failing on my machine for other reasons.
44018
44019         I went through and did an audit of our run_command usage, it's
44020         entirely in scm classes after this change.  (Not surprising given
44021         that scm.py was the second file ever created in webkit.py.)
44022
44023         The real bug I'm fixing here is that we were setting executive.should_log
44024         when the value had changed to executive._should_log.  Now we set the right one
44025         and the test works again.
44026
44027         * Scripts/webkitpy/common/checkout/checkout.py:
44028         * Scripts/webkitpy/common/checkout/scm/git.py:
44029         * Scripts/webkitpy/common/checkout/scm/scm.py:
44030         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
44031         * Scripts/webkitpy/common/checkout/scm/svn.py:
44032
44033 2011-07-13  Ilya Sherman  <isherman@chromium.org>
44034
44035         Fix WTF header guard style check
44036         https://bugs.webkit.org/show_bug.cgi?id=64488
44037
44038         Reviewed by David Levin.
44039
44040         * Scripts/webkitpy/style/checkers/cpp.py:
44041         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Verify that we don't *always* suggest "WTF_" as a prefix
44042
44043 2011-07-13  Ojan Vafai  <ojan@chromium.org>
44044
44045         bring flakiness_dashboard.html closer to webkit style
44046         https://bugs.webkit.org/show_bug.cgi?id=64477
44047
44048         Reviewed by Adam Barth.
44049
44050         * TestResultServer/static-dashboards/dashboard_base.js:
44051         Fix bad variable name that would hit only when running the tests.
44052         * TestResultServer/static-dashboards/flakiness_dashboard.html:
44053         No code/logic changes. All moving/removing brackets, indents and moving things
44054         to one line.
44055
44056 2011-07-13  Xan Lopez  <xlopez@igalia.com>
44057
44058         [GTK] Fix distcheck
44059
44060         Reviewed by Martin Robinson.
44061
44062         * WebKitTestRunner/GNUmakefile.am: mark built sources as nodist.
44063
44064 2011-07-13  Joseph Pecoraro  <joepeck@webkit.org>
44065
44066         Unreviewed fix. Add a "\n" to a printf that somehow got lost.
44067
44068         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
44069         (WebCore::DumpRenderTree::dumpApplicationCacheQuota):
44070
44071 2011-07-13  Joseph Pecoraro  <joepeck@webkit.org>
44072
44073         ApplicationCache Quota Output is Flakey
44074         https://bugs.webkit.org/show_bug.cgi?id=64410
44075
44076         Reviewed by Alexey Proskuryakov.
44077
44078         Unify the delegate logging for reaching application cache
44079         quotas. Truncate the space needed to the nearest 10000
44080         for less flakey test output. This also better supports
44081         printing NSUInteger on non-64 bit systems by casting to
44082         an unsigned long.
44083
44084         * DumpRenderTree/mac/UIDelegate.mm:
44085         (-[UIDelegate webView:exceededApplicationCacheOriginQuotaForSecurityOrigin:totalSpaceNeeded:]):
44086         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
44087         (WebCore::DumpRenderTree::dumpApplicationCacheQuota):
44088
44089 2011-07-13  Dimitri Glazkov  <dglazkov@chromium.org>
44090
44091         Remove unused TestExpectations._overrides.
44092         https://bugs.webkit.org/show_bug.cgi?id=64470
44093
44094         Reviewed by Adam Barth.
44095
44096         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Removed unused member.
44097
44098 2011-07-13  Dimitri Glazkov  <dglazkov@chromium.org>
44099
44100         Introduce TestExpectationSerializer.list_to_string.
44101         https://bugs.webkit.org/show_bug.cgi?id=64462
44102
44103         Reviewed by Adam Barth.
44104
44105         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Added list_to_string and change the relevant callsite to use it.
44106         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added tests for it.
44107
44108 2011-07-13  Dimitri Glazkov  <dglazkov@chromium.org>
44109
44110         Consolidate expectations parsing code.
44111         https://bugs.webkit.org/show_bug.cgi?id=64460
44112
44113         Reviewed by Adam Barth.
44114
44115         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Folded TestExpectationParser._split_expectation_string into TestExpectationParser.parse.
44116
44117 2011-07-12  Brent Fulgham  <bfulgham@webkit.org>
44118
44119         Standardize WinCairo conditionalized code under PLATFORM macro.
44120         https://bugs.webkit.org/show_bug.cgi?id=64377
44121
44122         Reviewed by Maciej Stachowiak.
44123
44124         Update compile-time conditions that had previously used #ifdef
44125         of WIN_CAIRO to consistently use PLATFORM(WIN_CAIRO).
44126
44127         * DumpRenderTree/config.h: Switch to PLATFORM(WIN_CAIRO)
44128         * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Remove redundant
44129           define of WIN_CAIRO=1.
44130         * DumpRenderTree/win/DumpRenderTreeDebugCairoCFLite.vsprops: Add
44131           WinCairo.vsprops to set (to match Release build).
44132
44133 2011-07-13  Dimitri Glazkov  <dglazkov@chromium.org>
44134
44135         Eliminate TestExpectationsFile.
44136         https://bugs.webkit.org/show_bug.cgi?id=64458
44137
44138         Turns out, we can just use a Python list.
44139
44140         Reviewed by Adam Barth.
44141
44142         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Folded TestExpectationsFile.append into TestExpectationParser.parse_list,
44143             removed TestExpectationsFile.
44144         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Moved tests to better reflect new names, removed iterator test,
44145             since there's no more custom iterator machinery.
44146
44147 2011-07-13  Philippe Normand  <pnormand@igalia.com>
44148
44149         Unreviewed, added my other email addresses.
44150
44151         * Scripts/webkitpy/common/config/committers.py:
44152
44153 2011-07-13  Adam Barth  <abarth@webkit.org>
44154
44155         Folks should only be listed once.
44156
44157         * Scripts/webkitpy/common/config/committers.py:
44158
44159 2011-07-13  Philippe Normand  <pnormand@igalia.com>
44160
44161         Unreviewed, adding myself as Reviewer.
44162
44163         * Scripts/webkitpy/common/config/committers.py:
44164
44165 2011-07-13  Adam Barth  <abarth@webkit.org>
44166
44167         Fix flickering bug introduced by my previous patch.  I forgot to change
44168         the name of the class everywhere.
44169
44170         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44171
44172 2011-07-12  Philippe Normand  <pnormand@igalia.com>
44173
44174         [GTK] media/media-blocked-by-willsendrequest.html fails
44175         https://bugs.webkit.org/show_bug.cgi?id=63699
44176
44177         Reviewed by Martin Robinson.
44178
44179         * DumpRenderTree/gtk/DumpRenderTree.cpp:
44180         (willSendRequestCallback): Abort the request if explicitely asked
44181         by the LayoutTestController's willSendRequestReturnsNull() function.
44182
44183 2011-07-13  Adam Barth  <abarth@webkit.org>
44184
44185         Remove "Dismiss" button from garden-o-matic butterbar
44186         https://bugs.webkit.org/show_bug.cgi?id=64443
44187
44188         Reviewed by Dimitri Glazkov.
44189
44190         We don't have any persistent butter bar messages yet, so the dismiss
44191         button is premature (and fairly heavy, visually).
44192
44193         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
44194         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44195
44196 2011-07-13  Adam Barth  <abarth@webkit.org>
44197
44198         Refine garden-o-matic status pane
44199         https://bugs.webkit.org/show_bug.cgi?id=64442
44200
44201         Reviewed by Dimitri Glazkov.
44202
44203         This patch makes two improvements to the status pane:
44204
44205         1) We only query the server for failure types that we're expecting.
44206            This dramatically reduces the number of HTTP requests, making
44207            loading the status pane faster.
44208
44209         2) The status pane now displays which test and which builder it is
44210            showing results for.
44211
44212         * Scripts/webkitpy/tool/servers/data/gardeningserver/config.js:
44213         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
44214         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
44215         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44216         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44217         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44218         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44219
44220 2011-07-13  Adam Barth  <abarth@webkit.org>
44221
44222         garden-o-matic should show test results
44223         https://bugs.webkit.org/show_bug.cgi?id=64440
44224
44225         Reviewed by Adam Roben.
44226
44227         This patch introduces the results detail pane, which appears at the
44228         bottom of the window and contains test results from the bots.
44229         Currently, you can activate the pane by mousing over one of the builder
44230         names associated with a failing test.
44231
44232         This is just a first iteration of the UI.  There's no way to resize or
44233         zoom in on elements of the details pane, and images likely aren't sized
44234         correctly, but it's a place to start.
44235
44236         * Scripts/webkitpy/tool/servers/data/gardeningserver/config.js:
44237             - Add constants for our data attributes so we don't typo them!
44238         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
44239             - Add DOM structure for the details pane.
44240         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
44241         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44242             - Bind events for showing and hiding the details pane.
44243         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44244             - Reduce the number of result types that we query for to avoid
44245               overfilling the details pane.  We'll probably need another
44246               solution here in the long-term.  For example, we could use tabs
44247               to pack more results into the pane.
44248         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44249         * Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html:
44250             - Now that we're using the config package during testing, we need
44251               to include it in the testing HTML.
44252         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44253         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44254             - Change the DOM structure of the results detail to make it fit
44255               nicely in the details pane (rather than flowing freely in the
44256               body, as it did before).
44257
44258 2011-07-13  Adam Roben  <aroben@apple.com>
44259
44260         Make TestFailures show every time a possibly-flaky test failed, but hide it by default
44261
44262         It's useful to be able to see every time a flaky test failed to see whether it failed the
44263         same way every time. But doing so takes a lot of space, so the list of failures is now
44264         collapsed by default and can be revealed using a disclosure triangle.
44265
44266         Fixes <http://webkit.org/b/64455> TestFailures page doesn't show as much information for
44267         flaky tests as I would like, even though the page is already so long
44268
44269         Reviewed by Dimitri Glazkov.
44270
44271         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js:
44272         (FlakyLayoutTestDetector.prototype.allFailures): Replaced flakinessExamples with this
44273         function. Now returns all failures for the given test.
44274
44275         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector_unittests.js:
44276         Added. This just contains some simple tests of the FlakyLayoutTestDetector class. We'll add
44277         more over time.
44278
44279         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
44280         (LayoutTestHistoryAnalyzer.prototype.start): Updated the documentation comment to reflect
44281         that we no longer return passing builds for possibly-flaky tests.
44282
44283         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
44284         (.existing-bugs-list, .suspect-revisions-list, .flakiness-examples-list): Make the list of
44285         flakiness examples small, too, since it can get quite long.
44286
44287         (.disclosure-triangle):
44288         (.expanded > .disclosure-triangle):
44289         Simple styles for the disclosure triangle.
44290
44291         (.flakiness-examples-list): Collapse the list by default.
44292
44293         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
44294         (ViewController.prototype._displayBuilder): Pass the total number of builds analyzed to
44295         _domForPossiblyFlakyTests.
44296         (ViewController.prototype._domForPossiblyFlakyTests): Put a disclosure triangle to the left
44297         of each test name, and the number of failures to the right. When the disclosure triangle is
44298         clicked for the first time, we build up the list of failures and expand the element. After
44299         that we just collapse or expand the element on subsequent clicks.
44300
44301         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
44302         Pulled in new tests.
44303
44304 2011-07-13  Adam Roben  <aroben@apple.com>
44305         
44306         Teach TestFailures to understand NRWT's output when it exits early due to too many failures
44307
44308         Fixes <http://webkit.org/b/64456> TestFailures page reports way too many failures when NRWT
44309         exits early
44310
44311         Reviewed by Dimitri Glazkov.
44312
44313         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
44314         (Builder.prototype.getNumberOfFailingTests): Relaxed the "Exiting early" test not to require
44315         it to be at the beginning of the line, since NRWT prints a bunch of junk earlier in the
44316         line. Tightened up the regex that's used to parse the number of failing tests to require the
44317         leading number to be followed by whitespace so that we won't parse the "2011" in
44318         "2011-07-13" as a number of failures.
44319
44320         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
44321         Added a test for the above.
44322
44323 2011-07-12  Dimitri Glazkov  <dglazkov@chromium.org>
44324
44325         Extract model-like TestExpectationLine and TestExpectationFile from TestExpectations.
44326         https://bugs.webkit.org/show_bug.cgi?id=64386
44327
44328         This is the first step in converting TestExpectations to a real model.
44329         * TestExpectationsLine represents a line in the test_expectations.txt file, and
44330         * TestExpectationsFile represents the file, which is a collection of lines.
44331
44332         Reviewed by Adam Barth.
44333
44334         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
44335         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
44336         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
44337
44338 2011-07-13  Xan Lopez  <xlopez@igalia.com>
44339
44340         [GTK] Do not grab focus too early in DRT.
44341
44342         Reviewed by Gustavo Noronha.
44343
44344         It causes a layout to happen and a progress signal to be emitted
44345         since r90900, but at this point we don't have a
44346         LayoutTestController object and we'll eventually crash. Since we
44347         already grab focus at the beginning of runTest() this is
44348         redundant, so get rid of it to fix the crash.
44349
44350         * DumpRenderTree/gtk/DumpRenderTree.cpp:
44351         (main): remove call to grab_focus
44352
44353 2011-07-13  Sheriff Bot  <webkit.review.bot@gmail.com>
44354
44355         Unreviewed, rolling out r90893 and r90894.
44356         http://trac.webkit.org/changeset/90893
44357         http://trac.webkit.org/changeset/90894
44358         https://bugs.webkit.org/show_bug.cgi?id=64441
44359
44360         NRWT still doesn't work on qt-mac platform (Requested by Ossy
44361         on #webkit).
44362
44363         * Scripts/run-webkit-tests:
44364         (useNewRunWebKitTests):
44365
44366 2011-07-13  Csaba Osztrogonác  <ossy@webkit.org>
44367
44368         [Qt] NRWT should pick up the right httpd config file
44369         https://bugs.webkit.org/show_bug.cgi?id=64086
44370
44371         * Scripts/run-webkit-tests: Enable NRWT on qt-mac platform after r90810.
44372         (useNewRunWebKitTests):
44373
44374 2011-07-12  Mark Rowe  <mrowe@apple.com>
44375
44376         Fix the 32-bit build.
44377
44378         * DumpRenderTree/mac/UIDelegate.mm:
44379         (-[UIDelegate webView:exceededApplicationCacheOriginQuotaForSecurityOrigin:totalSpaceNeeded:]):
44380         Cast the NSUInteger value to unsigned long to match the format specifier.
44381
44382 2011-07-12  Adam Barth  <abarth@webkit.org>
44383
44384         Improve garden-o-matic UI when the bots fail to report revision numbers
44385         https://bugs.webkit.org/show_bug.cgi?id=64427
44386
44387         Reviewed by Dimitri Glazkov.
44388
44389         At least Win (dbg)(2) seems to fail to report the SVN revision number
44390         in full_results.json.  This patch makes garden-o-matic more robust to
44391         missing revision numbers.
44392
44393         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44394         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44395         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44396         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44397         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44398
44399 2011-07-12  Adam Barth  <abarth@webkit.org>
44400
44401         Adjust garden-o-matic layout to use fewer lines
44402         https://bugs.webkit.org/show_bug.cgi?id=64422
44403
44404         Reviewed by Ojan Vafai.
44405
44406         This patch effectively merges the test name line with the list of
44407         builders on which the test fails.  Each test failure now occupies two
44408         lines instead of three.
44409
44410         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
44411         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44412         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44413
44414 2011-07-12  Adam Barth  <abarth@webkit.org>
44415
44416         garden-o-matic should label tests failures of new tests as such
44417         https://bugs.webkit.org/show_bug.cgi?id=64421
44418
44419         Reviewed by Ojan Vafai.
44420
44421         Also, we shouldn't dim failures of new tests, even if we've only seen
44422         them once because they're likely to be real problems that need
44423         attention.
44424
44425         * Scripts/webkitpy/tool/servers/data/gardeningserver/base_unittests.js:
44426         * Scripts/webkitpy/tool/servers/data/gardeningserver/checkout.js: Added.
44427         * Scripts/webkitpy/tool/servers/data/gardeningserver/checkout_unittests.js: Added.
44428         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
44429         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
44430         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44431         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44432         * Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html:
44433         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44434         * Scripts/webkitpy/tool/servers/gardeningserver.py:
44435
44436 2011-07-12  Adam Barth  <abarth@webkit.org>
44437
44438         garden-o-matic should display how many times we've seen a failure
44439         https://bugs.webkit.org/show_bug.cgi?id=64417
44440
44441         Reviewed by Ojan Vafai.
44442
44443         This patch adds some UI to display how many times we've seen a given
44444         failure, which can be helpful for determining whether that failure is a
44445         real failure or a flaky test.
44446
44447         When a failure has only been seen once (i.e., only a single run on a
44448         single bot), we set the opacity of to 50% to avoid distracting the
44449         gardener.
44450
44451         This patch also refactors the failure walker to have a simpler API
44452         internally by moving from an object-oriented paradigm to a functional
44453         paradigm.
44454
44455         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
44456         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44457         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44458         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44459         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44460         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44461
44462 2011-07-12  Chris Rogers  <crogers@google.com>
44463
44464         Enable Web Audio for chromium DRT
44465         https://bugs.webkit.org/show_bug.cgi?id=64409
44466
44467         Reviewed by James Robinson.
44468
44469         * DumpRenderTree/chromium/TestShell.cpp:
44470         (TestShell::TestShell):
44471
44472 2011-07-12  Adam Barth  <abarth@webkit.org>
44473
44474         Tweak some UI in garden-o-matic now that the tree actually has a
44475         failure and I can see what this all looks like.
44476
44477         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
44478         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44479         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44480
44481 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
44482
44483         Unreviewed. Skipping a few tests which fail due to differing output
44484            Unit tests shouldn't be hitting the disk anyway.  It's possible Config should move off of Port and onto Tool/Host directly.
44485         * Scripts/webkitpy/layout_tests/port/factory.py:
44486         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
44487         * Scripts/webkitpy/layout_tests/port/gtk.py:
44488         * Scripts/webkitpy/layout_tests/port/gtk_unittest.py: Added.
44489         * Scripts/webkitpy/layout_tests/port/mac.py:
44490         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
44491         * Scripts/webkitpy/layout_tests/port/qt.py:
44492         * Scripts/webkitpy/layout_tests/port/qt_unittest.py:
44493         * Scripts/webkitpy/layout_tests/port/webkit.py:
44494
44495 2011-07-12  Adam Roben  <aroben@apple.com>
44496
44497         Teach TestFailures to recognize when run-webkit-tests gets killed by buildbot
44498
44499         Fixes <http://webkit.org/b/64358> TestFailures page thinks all tests passed in
44500         http://build.webkit.org/builders/Windows%207%20Release%20(Tests)/builds/14672
44501
44502         Reviewed by Daniel Bates.
44503
44504         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
44505         (Builder.prototype.getNumberOfFailingTests): If run-webkit-tests exited with a non-zero
44506         exit status but we didn't find any failure counts, assume that there was some error that
44507         caused run-webkit-tests to die early (like being killed by buildbot due to a timeout).
44508
44509         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
44510         Added a new test that shows that we get a failingTestCount of -1 when run-webkit-tests dies
44511         early.
44512         (runGetNumberOfFailingTestsTest): Moved most code here from the only pre-existing test in this
44513         file.
44514
44515         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
44516         (LayoutTestResultsLoader.prototype.start): Bump the cache number so old cached data that was
44517         tainted by the bug fixed in this patch will be evicted.
44518
44519 2011-07-12  Adam Barth  <abarth@webkit.org>
44520
44521         cr-linux-ews complains about tests that aren't actually failing
44522         https://bugs.webkit.org/show_bug.cgi?id=64367
44523
44524         The underlying problem here is that full_results.json doesn't have
44525         enough information to determine whether a given test result was
44526         expected because whether an actual result is expected depends on
44527         whether full_results.json was generated duing a test run that included
44528         pixel tests.
44529
44530         The right long-term solution is to make full_results.json a complete
44531         description of what happened durning a test run.  In this patch
44532         however, to stop the spam, this patch makes the jsonresultsparser
44533         ignore pixel failures.
44534
44535         (I'm landing this patch unreviewed in order to stop the bots from
44536         spamming.  I'll happily address any review comments in a follow-up
44537         patch.)
44538
44539         * Scripts/webkitpy/common/net/resultsjsonparser.py:
44540         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
44541
44542 2011-07-12  Adam Barth  <abarth@webkit.org>
44543
44544         Re-work garden-o-matic UI to begin to look like the mocks
44545         https://bugs.webkit.org/show_bug.cgi?id=64334
44546
44547         Reviewed by Dimitri Glazkov.
44548
44549         This patch changes how we display failures to be more like the mock the
44550         dglazkov made. We now can display the same information much more
44551         compactly.
44552
44553         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js:
44554         * Scripts/webkitpy/tool/servers/data/gardeningserver/base_unittests.js:
44555         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
44556         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.css: Added.
44557         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44558         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44559         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44560         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44561         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44562         * Scripts/webkitpy/tool/servers/gardeningserver.py:
44563
44564 2011-07-11  Adam Roben  <aroben@apple.com>
44565
44566         Extract TestFailures's bug-filing code into two new classes
44567
44568         Fixes <http://webkit.org/b/64300> TestFailures page's new-bug-filing code is a mess!
44569
44570         Reviewed by Darin Adler and Adam Barth.
44571
44572         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot.js:
44573         (Buildbot.prototype.resultsDirectoryURL): Changed to return a URI-encoded URL. Otherwise the
44574         URL isn't valid (and it's harder to mock this function).
44575
44576         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot_unittests.js:
44577         Added. Just tests the above change (for now).
44578
44579         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
44580         Added a license header, enclosed everything in a closure to avoid polluting the global
44581         namespace, changed the test name to actually describe the passing condition, and replaced
44582         uses of equals() with equal(). (The latter is the actual name of the function, and matches
44583         deepEqual, etc.)
44584
44585         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm.js: Added.
44586         (NewBugForm): This class knows how to construct a <form> used for filing new bugs in
44587         Bugzilla based on some parameters.
44588         (NewBugForm.prototype.domElement): Creates and returns the <form> element. Code came from
44589         ViewController.prototype._domForNewAndExistingBugs.
44590
44591         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NewBugForm_unittests.js:
44592         Added. Tests the above code.
44593
44594         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm.js: Added.
44595         (TestFailureBugForm): This class knows how to construct a <form> element used for filing new
44596         bugs specifically about test failures. Code came from
44597         ViewController.prototype._domForNewAndExistingBugs.
44598         (TestFailureBugForm.prototype.domElement): Slightly customizes the <form> element returned
44599         by NewBugForm.
44600         (TestFailureBugForm.prototype._computeOperatingSystem):
44601         (TestFailureBugForm.prototype._computePlatform):
44602         (TestFailureBugForm.prototype._createBugTitle):
44603         (TestFailureBugForm.prototype._failingResultsHTMLURL):
44604         (TestFailureBugForm.prototype._failingRevision):
44605         (TestFailureBugForm.prototype._passingRevision):
44606         (TestFailureBugForm.prototype._regressionRangeString):
44607         Code came from ViewController.prototype._domForNewAndExistingBugs. I broke it out into
44608         separate functions to break up the rat's nest a bit.
44609
44610         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm_unittests.js:
44611         Added. Tests the above code.
44612
44613         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
44614         (ViewController.prototype._domForNewAndExistingBugs): Moved code from here to
44615         TestFailureBugForm/NewBugForm, and changed this code to use a TestFailureBugForm.
44616
44617         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
44618         NewBugForm/TestFailureBugForm.js.
44619
44620         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
44621         Added new tests and required files.
44622
44623 2011-07-12  Adam Roben  <aroben@apple.com>
44624
44625         Test that no intermediate WTF::Strings are created when concatenating with string literals
44626
44627         Test for <http://webkit.org/b/63330> Concatenating string literals and WTF::Strings using
44628         operator+ is suboptimal
44629
44630         Reviewed by Darin Adler.
44631
44632         * TestWebKitAPI/Tests/WTF/StringOperators.cpp: Added.
44633         (TestWebKitAPI::TEST): Test that a bunch of different string concatenation expressions don't
44634         create any intermediate WTF::Strings while they're being evaluated.
44635
44636         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
44637         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
44638         Added new file.
44639
44640 2011-07-12  Eric Seidel  <eric@webkit.org>
44641
44642         [Qt] NRWT should pick up the right httpd config file
44643         https://bugs.webkit.org/show_bug.cgi?id=64086
44644
44645         Reviewed by Adam Barth.
44646
44647         This is more fall-out from the Port class inappropriately encapsulating
44648         both platform and port knowledge.  We need to split out some of this
44649         platform knowledge into a separate class which can be better shared
44650         between ports.
44651
44652         The fix was to move all the _path_to_apache_config_file logic down
44653         into the WebKitPort baseclass so that all of the ports can find the
44654         right apache config file, regardless of what platform they may be running on.
44655
44656         I did not move this down into base.Port (even though I considered it).
44657         Chromium duplicates some of this logic, but since they have separate
44658         subclasses for each port-OS combination (e.g. ChromiumMac, ChromiumWin)
44659         they wouldn't notice the change.  Eventually we'll move this logic
44660         out of Port entirely, and then it will be shared by all ports.
44661
44662         I also cleaned up the http-config logic for ORWT while I was there,
44663         although since we're killing that code, I'm happy to revert that part
44664         of the change if changing it is viewed as needlessly risky.
44665
44666         During this cleanup, I noticed that no ports use the "default" httpd.conf
44667         which is left over from Mac OS X Tiger (and old linux distros) which used
44668         Apache 1.3.  I've removed httpd.conf (and associated support in ORWT) since
44669         we no longer support any ports which use this httpd.conf.
44670
44671         * Scripts/webkitperl/httpd.pm:
44672         (getHTTPDConfigPathForTestDirectory):
44673         * Scripts/webkitpy/layout_tests/port/base.py:
44674         * Scripts/webkitpy/layout_tests/port/gtk.py:
44675         * Scripts/webkitpy/layout_tests/port/mac.py:
44676         * Scripts/webkitpy/layout_tests/port/qt.py:
44677         * Scripts/webkitpy/layout_tests/port/webkit.py:
44678         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
44679         * Scripts/webkitpy/layout_tests/port/win.py:
44680         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
44681
44682 2011-07-11  Hironori Bono  <hbono@chromium.org>
44683
44684         Reviewed by Adam Roben.
44685
44686         Implement layoutTestController.setTextDirection for WebKit2 and Windows.
44687         https://bugs.webkit.org/show_bug.cgi?id=61931
44688
44689         This change implements layoutTextController.setTextDirection for WebKit2
44690         and Windows so we can run a layout test added by r87770 on them. Each
44691         implementation adds a wrapper function for Editor::setBaseWritingDirection()
44692         so LayoutTestController can call it.
44693
44694         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
44695         (LayoutTestController::setTextDirection): Implemented the binding function
44696         for layoutTestController.setTextDirection (Windows).
44697         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
44698         Added a binding function for layoutTestController.setTextDirection (WebKit2).
44699         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: ditto.
44700         (WTR::LayoutTestController::setTextDirection):
44701         * WebKitTestRunner/InjectedBundle/LayoutTestController.h: ditto.
44702
44703 2011-07-11  Raphael Kubo da Costa  <kubo@profusion.mobi>
44704
44705         [EFL] ImageDiff: Make sure gEcoreEvas is destroyed at the right time.
44706         https://bugs.webkit.org/show_bug.cgi?id=64293
44707
44708         Reviewed by Kent Tamura.
44709
44710         gEcoreEvas was being destroyed after shutdownEfl() was called, so the
44711         call to ecore_evas_free() failed.
44712
44713         We now shut it down manually before shutdownEfl() is called.
44714
44715         * DumpRenderTree/efl/ImageDiff.cpp:
44716         (main): Destroy gEcoreEvas before shutting down the EFL.
44717
44718 2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
44719
44720         Make Chromium Mac and Linux tests bot core builders
44721         https://bugs.webkit.org/show_bug.cgi?id=63196
44722
44723         Reviewed by Adam Barth.
44724
44725         Added Chromium Mac and Linux Release Tests bots core builders.
44726
44727         Also rearranged the order of bots so that test bots show up right next to
44728         respective builders.
44729
44730         * BuildSlaveSupport/build.webkit.org-config/config.json:
44731         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
44732         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
44733
44734 2011-07-11  Raphael Kubo da Costa  <kubo@profusion.mobi>
44735
44736         [EFL] DRT: Add code related to font management.
44737         https://bugs.webkit.org/show_bug.cgi?id=63989
44738
44739         Reviewed by Kent Tamura.
44740
44741         The added files are responsible for managing fontconfig and adding the
44742         fonts required by some layout tests to fontconfig's path.
44743
44744         * DumpRenderTree/efl/FontManagement.cpp: Added.
44745         (getFontDirectories):
44746         (getFontFiles):
44747         (addFontDirectories):
44748         (addFontFiles):
44749         (addFontsToEnvironment):
44750         * DumpRenderTree/efl/FontManagement.h: Added.
44751
44752 2011-07-08  Dirk Pranke  <dpranke@chromium.org>
44753
44754         nrwt: linting fixes
44755         https://bugs.webkit.org/show_bug.cgi?id=64225
44756
44757         Reviewed by Eric Siedel.
44758
44759         Miscellaneous linting fixes. The most notable change is that
44760         we add public attributes for user, executive, filesystem, and
44761         options on the Port object, so we don't have to refer to the
44762         "protected" versions all over the place".
44763
44764         * Scripts/webkitpy/layout_tests/controllers/manager.py:
44765         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
44766         * Scripts/webkitpy/layout_tests/controllers/message_broker.py:
44767         * Scripts/webkitpy/layout_tests/controllers/message_broker_unittest.py:
44768         * Scripts/webkitpy/layout_tests/controllers/worker.py:
44769         * Scripts/webkitpy/layout_tests/port/base.py:
44770         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
44771
44772 2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
44773
44774         webkit-patch roll-chromium-deps no longer works
44775         https://bugs.webkit.org/show_bug.cgi?id=64324
44776
44777         Reviewed by James Robinson.
44778
44779         Lower the minimum commit message length to 10.
44780
44781         * Scripts/webkitpy/tool/steps/commit.py:
44782
44783 2011-07-11  Alice Boxhall  <aboxhall@chromium.org>
44784
44785         Convert json_results_generator.py to output version 4 JSON.
44786         https://bugs.webkit.org/show_bug.cgi?id=60869
44787
44788         Reviewed by Ojan Vafai.
44789
44790         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
44791         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
44792         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
44793
44794 2011-07-11  Martin Robinson  <mrobinson@igalia.com>
44795
44796         [GTK] [NRWT] Pixel tests do not work
44797         https://bugs.webkit.org/show_bug.cgi?id=64091
44798
44799         Reviewed by Eric Seidel.
44800
44801         Fix pixel test runs for GTK+ new-run-webkit-tests by exposing the
44802         path to the ImageDiff binary.
44803
44804         * Scripts/webkitpy/layout_tests/port/gtk.py: Implement _path_to_image_diff.
44805
44806 2011-07-11  Dirk Pranke  <dpranke@chromium.org>
44807
44808         Fix hang on win32 in a multiprocessing test that shouldn't have been running.
44809
44810         Unreviewed, build fix.
44811
44812         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
44813
44814 2011-07-11  Adam Roben  <aroben@apple.com>
44815
44816         Don't count leaks as test failures on TestFailures's front page
44817
44818         As a bonus, this patch adds our first unit test.
44819
44820         Fixes <http://webkit.org/b/64303> REGRESSION (r90489): TestFailures page says far more tests
44821         are failing on the Leaks bot than actually are
44822
44823         Reviewed by Adam Barth.
44824
44825         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
44826         (Builder.prototype.getNumberOfFailingTests): Exclude lines containing "leak" when summing
44827         failure counts.
44828
44829         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder_unittests.js:
44830         Added. Contains a simple test to show that leaks aren't counted as test failures.
44831
44832         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
44833         Added. This is the test harness.
44834
44835 2011-06-14  Mike Stegeman  <mrstegeman@gmail.com>
44836
44837         [GTK] Add API to allow setting local storage database path
44838         https://bugs.webkit.org/show_bug.cgi?id=62091
44839
44840         Reviewed by Martin Robinson and Gustavo Noronha.
44841
44842         Expose the path of the localStorage databases through a setting
44843         to allow HTML5 localStorage to be persistent. New setting is:
44844         html5-local-storage-database-path
44845
44846         * DumpRenderTree/gtk/DumpRenderTree.cpp:
44847         (resetDefaultsToConsistentValues):
44848
44849 2011-07-11  Adam Barth  <abarth@webkit.org>
44850
44851         garden-o-matic should be able to rebaseline tests
44852         https://bugs.webkit.org/show_bug.cgi?id=64186
44853
44854         Reviewed by Eric Seidel.
44855
44856         This patch contains a simple HTTP server binding for the
44857         rebaseline-test command.  The frontend will appear in another patch.
44858
44859         * Scripts/webkitpy/tool/servers/gardeningserver.py:
44860         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
44861         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
44862
44863 2011-07-11  Adam Barth  <abarth@webkit.org>
44864
44865         Add some basic UI for showing regression ranges
44866         https://bugs.webkit.org/show_bug.cgi?id=64243
44867
44868         Reviewed by Eric Seidel.
44869
44870         This UI is all temporary.  It exists mostly just to have some buttons
44871         to click to exercise the code.
44872
44873         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
44874         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44875         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44876         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
44877         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
44878
44879 2011-07-11  Adam Barth  <abarth@webkit.org>
44880
44881         garden-o-matic should be able to determine which revisions caused a given failure
44882         https://bugs.webkit.org/show_bug.cgi?id=64189
44883
44884         Reviewed by Adam Roben.
44885
44886         Walking the failure history looking for failures turns out to be
44887         slightly tricky because the network requests are asynchronous.
44888         Currently we do all the fetches serially and our cache is unbounded.
44889         We'll probably optimize both those parameters eventually.
44890
44891         This patch also generalizes some functionality in the unit testing
44892         framework to make testing this sort of code easier.
44893
44894         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js:
44895         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
44896         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
44897
44898 2011-07-11  Adam Barth  <abarth@webkit.org>
44899
44900         Add a webkit-patch command for rebaselining an individual test
44901         https://bugs.webkit.org/show_bug.cgi?id=64246
44902
44903         Reviewed by Eric Seidel.
44904
44905         This patch introduces a command that's able to rebaseline a single
44906         test.  Currently, the command works only with the build.chromium.org
44907         buildbots, but extending it to work with the build.webkit.org bots
44908         shouldn't be that hard.
44909
44910         A complete rebaseling tool should also include an "optimize baselines"
44911         command (which moves/deletes baselines in order to reduce the number of
44912         expected results files), but that will come in a future patch.
44913
44914         Really BuilderToPort should be merged into builders.py, but I'm going
44915         to save that for a future patch as well.  (We need to stop shaving yaks
44916         at some point.)
44917
44918         * Scripts/webkitpy/tool/commands/rebaseline.py:
44919
44920 2011-07-11  Adam Barth  <abarth@webkit.org>
44921
44922         garden-o-matic should be able to roll out patches
44923         https://bugs.webkit.org/show_bug.cgi?id=64185
44924
44925         Reviewed by Eric Seidel.
44926
44927         This gardening server API is simply a binding to the rollout machinery
44928         already present in webkit-patch.
44929
44930         * Scripts/webkitpy/tool/commands/gardenomatic.py:
44931         * Scripts/webkitpy/tool/servers/gardeningserver.py:
44932         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added.
44933
44934 2011-07-11  Csaba Osztrogonác  <ossy@webkit.org>
44935
44936         [Qt][Mac] Unreviewed fix after r90746.
44937
44938         * Scripts/run-webkit-tests:
44939         (useNewRunWebKitTests): Really disable NRWT for qt-mac platform.
44940
44941 2011-07-11  Adam Roben  <aroben@apple.com>
44942
44943         Teach TestFailures that ORWT's results.html file might be missing due to all tests passing
44944
44945         There are three reasons why we might fail to fetch ORWT's results.html:
44946           - All tests passed, so no results.html was generated
44947           - Some error during the test run caused results.html not to be generated (e.g., ORWT
44948             timed out)
44949           - Some network error occurred when fetching results.html
44950
44951         We were failing to account for the first possibility in some cases. For test runs before
44952         r89610, we first check build.webkit.org/json to determine how many tests failed and whether
44953         ORWT exited early due to too many failures; if all tests passed then we don't fetch
44954         results.html at all. r89610 changed ORWT to put information in results.html about exiting
44955         early due to too many failures, so we no longer needed to check build.webkit.org/json to get
44956         that information, and in r89619 I changed TestFailures to do just that. But I forgot that we
44957         still needed to check build.webkit.org/json to find out if all tests passed!
44958
44959         Now, for test runs after r89610, we check results.html first, and then check
44960         build.webkit.org/json if we fail to fetch results.html. This lets us distinguish between all
44961         tests passing and the error cases.
44962
44963         Fixes <http://webkit.org/b/64280> TestFailures page can't pinpoint that r90699 caused 13
44964         tests to fail on Windows 7 Release (WebKit2 Tests)
44965
44966         Reviewed by David Kilzer.
44967
44968         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
44969         (LayoutTestResultsLoader.prototype.start): Bumped the cache version so that old, buggy
44970         cached data will get evicted. We were marking builds where all tests passed as errors!
44971         (LayoutTestResultsLoader.prototype._fetchAndParseORWTResults): Added success/error callback
44972         parameters to the fetchAndParseResultsHTML helper function, and added a similar
44973         fetchNumberOfFailingTests function that fetches data from build.webkit.org/json (code came
44974         from later in the function). For test runs before r89610, we first check
44975         build.webkit.org/json then check results.html. For builds after r89610, we first check
44976         results.html and then check build.webkit.org/json if we couldn't fetch results.html.
44977
44978 2011-07-11  Csaba Osztrogonác  <ossy@webkit.org>
44979
44980         new-run-webkit-tests does not support qt-arm or qt-4.8 results
44981         https://bugs.webkit.org/show_bug.cgi?id=64071
44982
44983         [Qt] NRWT should pick up the right httpd config file
44984         https://bugs.webkit.org/show_bug.cgi?id=64086
44985
44986         Reviewed by Zoltán Herczeg.
44987
44988         * Scripts/run-webkit-tests: Disable NRWT for qt-mac, qt-arm and qt-4.8 platforms until fix.
44989         (useNewRunWebKitTests):
44990
44991 2011-07-11  Kenichi Ishibashi  <bashi@chromium.org>
44992
44993         Add TestNetscapePlugIn/Tests/FormValue.cpp to DRT build files
44994         https://bugs.webkit.org/show_bug.cgi?id=64248
44995
44996         Reviewed by Kent Tamura.
44997
44998         * DumpRenderTree/DumpRenderTree.gypi: Added FormValue.cpp.
44999         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Ditto.
45000         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: Ditto.
45001         * GNUmakefile.am: Ditto.
45002
45003 2011-07-10  Kenichi Ishibashi  <bashi@chromium.org>
45004
45005         Let plugins participate in form submission
45006         https://bugs.webkit.org/show_bug.cgi?id=13061
45007
45008         Adds NPPVformValue support to the testing plugin.
45009
45010         Reviewed by Anders Carlsson.
45011
45012         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added FormValue.cpp
45013         * DumpRenderTree/TestNetScapePlugIn/Tests/FormValue.cpp: Added.
45014         (FormValue::FormValue): Ditto.
45015         (FormValue::NPP_GetValue): Ditto.
45016
45017 2011-07-11  Roland Steiner  <rolandsteiner@chromium.org>
45018
45019         Reviewed by Tony Chang.
45020
45021         Complete functions in filesystem.py
45022         https://bugs.webkit.org/show_bug.cgi?id=63528
45023
45024         - missing text file functions added
45025         - functions sorted
45026         - removed 'append' optional parameters (were unused)
45027         - adapted filesystem_mock in the same way
45028
45029         * Scripts/webkitpy/common/system/filesystem.py:
45030         * Scripts/webkitpy/common/system/filesystem_mock.py:
45031         * Scripts/webkitpy/common/system/filesystem_unittest.py:
45032
45033 2011-07-10  Adam Barth  <abarth@webkit.org>
45034
45035         Clean up style in fallback path calculation
45036         https://bugs.webkit.org/show_bug.cgi?id=64239
45037
45038         Reviewed by Daniel Bates.
45039
45040         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
45041         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
45042         * Scripts/webkitpy/layout_tests/port/mac.py:
45043         * Scripts/webkitpy/layout_tests/port/win.py:
45044
45045 2011-07-10  Balazs Kelemen  <kbalazs@webkit.org>
45046
45047         [Qt][WK2] Implement the rest of WTR::PlatformWebView
45048         https://bugs.webkit.org/show_bug.cgi?id=63630
45049
45050         Reviewed by Kenneth Rohde Christiansen.
45051
45052         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
45053         (WTR::PlatformWebView::windowFrame):
45054         (WTR::PlatformWebView::setWindowFrame):
45055
45056 2011-07-10  Mark Rowe  <mrowe@apple.com>
45057
45058         Teach build-webkit how to find the latest WebKitSystemInterface binary.
45059
45060         * Scripts/build-webkit:
45061
45062 2011-07-09  Adam Roben  <aroben@apple.com>
45063
45064         Teach TestFailures to abbreviate the examples of test flakiness
45065
45066         These lists can get quite long, and it's not really helpful in most cases to have soooooo
45067         many examples of flakiness.
45068
45069         Fixes <http://webkit.org/b/64203> Lists of flaky revisions on TestFailures page can get so
45070         long they're hard to navigate
45071
45072         Reviewed by Dan Bates.
45073
45074         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js:
45075         (FlakyLayoutTestDetector.prototype.flakinessExamples): If we have more than a certain number
45076         of examples, replace the middle items with a separator.
45077
45078         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
45079         (.flakiness-example-separator): Added styles for the separator.
45080
45081         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
45082         (ViewController.prototype._domForPossiblyFlakyTests): Use a vertical ellipsis to represent
45083         the separator.
45084
45085 2011-07-09  Dirk Pranke  <dpranke@chromium.org>
45086
45087         nrwt: stack traces from worker-side exceptions aren't very useful inside test-webkitpy
45088         https://bugs.webkit.org/show_bug.cgi?id=64218
45089
45090         Reviewed by Eric Seidel.
45091
45092         Exceptions aren't picklable and can't be sent across the
45093         manager/worker message queue without losing information. NRWT
45094         handles this by turning the stack trace into a set of strings,
45095         and logging the strings when we receive an exception from the
45096         worker. However, when you are running tests and something
45097         crashes on the worker side, test-webkitpy prints the
45098         manager-side stack trace, which is just confusing and useless.
45099
45100         This patch changes the logic so that exceptions are passed
45101         through as-is when the worker and manager are in the same
45102         process (the --worker-model=inline option). This increases the
45103         code paths slightly but makes crashes much more useful.
45104
45105         * Scripts/webkitpy/layout_tests/controllers/manager.py:
45106         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
45107         * Scripts/webkitpy/layout_tests/controllers/message_broker.py:
45108         * Scripts/webkitpy/layout_tests/controllers/worker.py:
45109         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
45110
45111 2011-07-09  Darin Fisher  <darin@chromium.org>
45112
45113         Eliminate bad dependency on gfx::Point.
45114         https://bugs.webkit.org/show_bug.cgi?id=64228
45115
45116         Reviewed by Kent Tamura.
45117
45118         * DumpRenderTree/chromium/EventSender.cpp:
45119         (initMouseEvent):
45120
45121 2011-07-08  Ojan Vafai  <ojan@chromium.org>
45122
45123         pull static dashboard files into the appengine server from the chromium repository
45124         https://bugs.webkit.org/show_bug.cgi?id=64208
45125
45126         Reviewed by Dirk Pranke.
45127
45128         These files belong in the WebKit repo since they are tied primarily to the webkit tests.
45129         They have some extra bits to support chromium's gtests, but that seems fine.
45130         Mainly, this will allow other WebKit hackers to hack on the dashboards.
45131
45132         As a nice side-effect, we can now push the dashboard files when we do appengine pushes
45133         instead of the weird thing we used to do of pulling them from the Chromium repository
45134         and storing them in the appengine datastore. This allows for cleaning up a lot of code
45135         and will likely make the dashboards load a bit faster.
45136
45137         The new JS files don't fully match WebKit style, but I'd like to clean that up in a
45138         followup patch if possible to maintain my sanity with this patch.
45139
45140         * TestResultServer/app.yaml:
45141         * TestResultServer/handlers/dashboardhandler.py: Removed.
45142         * TestResultServer/handlers/menu.py:
45143         * TestResultServer/main.py:
45144         * TestResultServer/model/dashboardfile.py: Removed.
45145         * TestResultServer/static-dashboards/LICENSE.dygraph.txt: Added.
45146         * TestResultServer/static-dashboards/README.dygraph.txt: Added.
45147         * TestResultServer/static-dashboards/README.webtreemap.txt: Added.
45148         * TestResultServer/static-dashboards/aggregate_results.html: Added.
45149         * TestResultServer/static-dashboards/builders.js: Added.
45150         * TestResultServer/static-dashboards/dashboard_base.js: Added.
45151         * TestResultServer/static-dashboards/dygraph-combined.js: Added.
45152         * TestResultServer/static-dashboards/flakiness_dashboard.html: Added.
45153         * TestResultServer/static-dashboards/flakiness_dashboard_tests.js: Added.
45154         * TestResultServer/static-dashboards/timeline_explorer.html: Added.
45155         * TestResultServer/static-dashboards/treemap.html: Added.
45156         * TestResultServer/static-dashboards/webtreemap.css: Added.
45157         * TestResultServer/static-dashboards/webtreemap.js: Added.
45158         * TestResultServer/stylesheets/dashboardfile.css: Removed.
45159         * TestResultServer/stylesheets/menu.css:
45160         * TestResultServer/templates/dashboardfilelist.html: Removed.
45161         * TestResultServer/templates/menu.html:
45162
45163 2011-07-08  Adam Roben  <aroben@apple.com>
45164
45165         Make TestFailures's list of flaky tests look more like the list of non-flaky tests
45166
45167         Fixes <http://webkit.org/b/64204> TestFailures page's flaky tests list is ugly!
45168
45169         Reviewed by Daniel Bates.
45170
45171         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
45172         (#failure-history, #possibly-flaky-tests): Expanded this rule to apply to the list of flaky
45173         tests.
45174         (#failure-history > li, #possibly-flaky-tests > li): Ditto, but moved the 50px left padding
45175         from here...
45176         (#failure-history > li): ...to here.
45177
45178         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
45179         (ViewController.prototype._domForPossiblyFlakyTests): Give the list an id attribute for
45180         styling purposes.
45181
45182 2011-07-08  Jeffrey Pfau  <jpfau@apple.com>
45183
45184         Unreviewed, add myself as committer.
45185
45186         * Scripts/webkitpy/common/config/committers.py:
45187
45188 2011-07-08  Adam Barth  <abarth@webkit.org>
45189
45190         TestResultsServer should keep old test results
45191         https://bugs.webkit.org/show_bug.cgi?id=64199
45192
45193         Reviewed by Ojan Vafai.
45194
45195         Having historical data will help us do failure archeology.
45196
45197         * TestResultServer/handlers/testfilehandler.py:
45198         * TestResultServer/model/testfile.py:
45199         * TestResultServer/templates/showfilelist.jsonp: Added.
45200
45201 2011-07-08  Adam Roben  <aroben@apple.com>
45202
45203         Remove commit-log-editor's dependency on Module::Load::Conditional
45204
45205         This module isn't available in Perl 5.8.8 (the version used on Leopard).
45206
45207         Fixes <http://webkit.org/b/64198> REGRESSION (r90583):
45208         webkitpy.common.checkout.checkout_unittest failing on Leopard
45209
45210         Reviewed by Daniel Bates.
45211
45212         * Scripts/commit-log-editor: Use the new loadTermReadKey() function instead of
45213         Module::Load::Conditional::can_load.
45214         (loadTermReadKey): Added. Tries to load Term::ReadKey and returns true if it's successful.
45215
45216 2011-07-08  Adam Roben  <aroben@apple.com>
45217
45218         Make checkout_unittest more robust against files moving around
45219
45220         Fixes <http://webkit.org/b/64197> checkout_unittest contains ugly, fragile code to find the
45221         Scripts directory
45222
45223         Reviewed by Adam Barth.
45224
45225         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
45226         (CommitMessageForThisCommitTest.test_commit_message_for_this_commit): Instantiate a real SCM
45227         object and use it to get the path to the Scripts directory, rather than hard-coding the
45228         relative path from this file to Scripts.
45229
45230 2011-07-08  Adam Roben  <aroben@apple.com>
45231
45232         Make TestFailures remember that run-webkit-tests timed out, even across reloads
45233
45234         Fixes <http://webkit.org/b/64193> TestFailures page incorrectly thinks all tests passed in
45235         http://build.webkit.org/builders/Windows%207%20Release%20(Tests)/builds/14589 after a reload
45236
45237         Reviewed by Daniel Bates.
45238
45239         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
45240         (LayoutTestResultsLoader.prototype.start): Store an "error" attribute in the cached data.
45241         When true, it indicates that there was an error retrieving the results for this build and
45242         that the errorCallback should be called.
45243
45244 2011-07-08  Adam Barth  <abarth@webkit.org>
45245
45246         Teach garden-o-matic how to display test results
45247         https://bugs.webkit.org/show_bug.cgi?id=64141
45248
45249         Reviewed by Ojan Vafai.
45250
45251         This patch includes basic infrastructure for probing build.chromium.org
45252         for test results.  We only handle text and image tests, not anything
45253         complicated like reftests.  Also, we're using the revision/build
45254         independent results store on the server, so we're avoiding that
45255         complication for now.
45256
45257         It's slightly hacky that we need to probe the server to see what kinds
45258         of results exist.  A better solution would be to add CORS support to
45259         the server or to use the local server to help.
45260
45261         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js:
45262         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
45263         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
45264         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
45265         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
45266         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
45267
45268 2011-07-08  Dirk Pranke  <dpranke@chromium.org>
45269
45270         REGRESSION(90419) NRWT's httpd locking is broken for --child-processes=1
45271         https://bugs.webkit.org/show_bug.cgi?id=64092
45272
45273         Reviewed by Tony Chang.
45274
45275         The code was incorrectly creating empty shards in the
45276         shard_in_two case.
45277
45278         * Scripts/webkitpy/layout_tests/controllers/manager.py:
45279         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
45280
45281 2011-07-08  Adam Roben  <aroben@apple.com>
45282
45283         Teach buildbot to figure out how many webkitpy/webkitperl tests failed
45284
45285         Fixes <http://webkit.org/b/64192> It's hard to tell how many test-webkitpy/test-webkitperl
45286         tests failed when looking at build.webkit.org
45287
45288         Reviewed by Eric Seidel.
45289
45290         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
45291         (TestWithFailureCount): New class that represents a test build step which has an associated
45292         failure count. Eventually we should move more of our test classes to deriving from this.
45293         (TestWithFailureCount.countFailures): Method for subclasses to override to say how many
45294         failures occurred.
45295
45296         (TestWithFailureCount.commandComplete):
45297         (TestWithFailureCount.evaluateCommand):
45298         (TestWithFailureCount.getText):
45299         (TestWithFailureCount.getText2):
45300         These were all based on RunGtkAPITests.
45301
45302         (RunPythonTests): Changed to inherit from TestWithFailureCount.
45303         (RunPythonTests.countFailures): Parses the test-webkitpy output looking for the count of
45304         failures.
45305         (RunPerlTests): Changed to inherit from TestWithFailureCount.
45306         (RunPerlTests.countFailures): Parses the test-webkitperl output looking for the count of
45307         failures.
45308
45309 2011-07-08  Adam Roben  <aroben@apple.com>
45310
45311         Ensure $CHANGE_LOG_EMAIL_ADDRESS is set when testing webkitpy's commit-log-editor integration
45312
45313         Fixes <http://webkit.org/b/64180> REGRESSION (r90564): test-webkitpy failing on multiple
45314         bots due to commit-log-editor errors
45315
45316         Reviewed by Adam Barth.
45317
45318         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
45319         (CommitMessageForThisCommitTest.test_commit_message_for_this_commit): Set
45320         $CHANGE_LOG_EMAIL_ADDRESS to the patch author's email address. This ensures that
45321         commit-log-editor can find a value for the committer's email, and that the committer and
45322         author email addresses match, which will prevent commit-log-editor from inserting a "Patch
45323         by" line in the commit message.
45324
45325 2011-07-08  Andreas Kling  <kling@webkit.org>
45326
45327         [Qt][WK2] Views should expose QActions for basic navigation.
45328         https://bugs.webkit.org/show_bug.cgi?id=64174
45329
45330         Reviewed by Benjamin Poulain.
45331
45332         Bring the toolbar in Qt's MiniBrowser back to life.
45333
45334         * MiniBrowser/qt/BrowserView.cpp:
45335         (BrowserView::navigationAction):
45336         * MiniBrowser/qt/BrowserView.h:
45337         * MiniBrowser/qt/BrowserWindow.cpp:
45338         (BrowserWindow::BrowserWindow):
45339
45340 2011-07-08  Adam Roben  <aroben@apple.com>
45341
45342         Teach TestFailures how to find test names in commit-log-editor-style commit messages
45343
45344         TestFailures was relying on Trac turning the list of modified files in our commit messages
45345         into an HTML list. But Trac only does this when the list of modified files is indented.
45346         commit-log-editor doesn't indent the file list, so the list wasn't being turned into an HTML
45347         list, which was confusing TestFailures.
45348
45349         TestFailures now does much simpler parsing of the commit message (i.e., just a substring
45350         search) without relying at all on its structure.
45351
45352         Fixes <http://webkit.org/b/64173> TestFailures page fails to blame r90608 for breaking
45353         fast/dom/HTMLProgressElement/progress-element-markup.html on Windows
45354
45355         Reviewed by David Kilzer.
45356
45357         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
45358         (Trac.prototype.getCommitDataForRevisionRange): Instead of trying to parse the commit
45359         message, just return its text.
45360
45361         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
45362         (ViewController.prototype._domForRegressionRange): Instead of searching for test names in
45363         each commit's list of modified files, just search for test names anywhere in the commit's
45364         message.
45365
45366 2011-07-08  Adam Barth  <abarth@webkit.org>
45367
45368         sheriffbot is too spammy in IRC
45369         https://bugs.webkit.org/show_bug.cgi?id=64153
45370
45371         Reviewed by Eric Seidel.
45372
45373         Reporting failures in IRC worked well when the tree was greener than it
45374         is today.  Nowadays, this feature mostly just results in spam about
45375         false positives.  If we reach a greener state, we can bring this code
45376         back.
45377
45378         (Another possibility is to restrict this feature to builder bots,
45379         rather than including testers, as we did before this patch.)
45380
45381         * Scripts/webkitpy/tool/commands/sheriffbot.py:
45382         * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
45383
45384 2011-07-08  Adam Roben  <aroben@apple.com>
45385
45386         Ensure commit-log-editor adds a "Patch by" line when the author and committer are different
45387
45388         Previously we were only adding a "Patch by" line when the ChangeLog contained a "Reviewed
45389         by" line. But some patches (like rollout patches) don't contain that line. Now we always add
45390         "Patch by" to the commit log regardless of the ChangeLog's contents.
45391
45392         Fixes <http://webkit.org/b/64127> Committer for r90588 is commit-queue@webkit.org, but
45393         should have been abarth@webkit.org
45394
45395         Reviewed by Anders Carlsson.
45396
45397         * Scripts/commit-log-editor:
45398         (createCommitMessage): Try to put the "Patch by" line just above the "Reviewed by" line, as
45399         before. If there is no "Reviewed by" line, try to put it just above the first modified file.
45400         If all else fails, put it at the end of the commit message.
45401         (patchAuthorshipString): Added. Code came from createCommitMessage.
45402
45403 2011-07-08  Herczeg Zoltan  <zherczeg@webkit.org>
45404
45405         Reviewed by Andreas Kling.
45406
45407         Adding myself as a reviewer.
45408
45409         * Scripts/webkitpy/common/config/committers.py:
45410
45411 2011-07-07  Kevin Ollivier  <kevino@theolliviers.com>
45412
45413         [wx] Unreviewed build fix, remove old files from the tree and update paths to new ones.
45414
45415         * wx/build: Removed.
45416         * wx/build/build_utils.py: Removed.
45417         * wx/build/settings.py: Removed.
45418         * wx/build/waf_extensions.py: Removed.
45419         * wx/build/wxpresets.py: Removed.
45420         * wx/packaging/build-mac-installer.py:
45421
45422 2011-07-07  Kevin Ollivier  <kevino@theolliviers.com>
45423
45424         [wx] Unreviewed build fix, more fixes for install name issues.
45425
45426         * wx/packaging/build-mac-installer.py:
45427
45428 2011-07-07  Dirk Pranke  <dpranke@chromium.org>
45429
45430         test-webkitpy fails on chromium win
45431         https://bugs.webkit.org/show_bug.cgi?id=64137
45432
45433         Reviewed by Eric Seidel.
45434
45435         test-webkitpy doesn't play nicely with the multiprocessing
45436         module on win32. An earlier change actually reenabled the tests
45437         on win32 by mistake.
45438
45439         This patch also fixes a few cases where path names will trip
45440         things up on win32 (e.g., by testing unix paths on windows).
45441         We do not lose any real coverage here with those fixes.
45442
45443         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
45444         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
45445         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
45446         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
45447
45448 2011-07-07  Leandro Pereira  <leandro@profusion.mobi>
45449
45450         [ImageDiff] Calculate/print difference right after reading baseline image.
45451         https://bugs.webkit.org/show_bug.cgi?id=64117
45452
45453         Reviewed by Kent Tamura.
45454
45455         Otherwise, ImageDiff will block on fgets() until the universe ends or you ^C
45456         it.  Whichever happens first.
45457
45458         * DumpRenderTree/efl/ImageDiff.cpp:
45459         (main):
45460
45461 2011-07-07  Raphael Kubo da Costa  <kubo@profusion.mobi>
45462
45463         [EFL] DRT: Leak cairo_t to make the pixel tests stop crashing
45464         https://bugs.webkit.org/show_bug.cgi?id=64107
45465
45466         Reviewed by Kent Tamura.
45467
45468         The pointer is later managed by BitmapContext, but it was being
45469         de-refed and deleted earlier by our RefPtr, causing crashes in all
45470         pixel tests.
45471
45472         We now call leakRef() to make sure it is not removed when our
45473         createBitmapContextFromWebView goes out of context.
45474
45475         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
45476         (createBitmapContextFromWebView):
45477
45478 2011-07-07  Adam Roben  <aroben@apple.com>
45479
45480         Update TestFailures's title and header immediately upon navigation
45481
45482         Fixes <http://webkit.org/b/64125> TestFailures page seems slow to react on link clicks
45483
45484         Reviewed by Daniel Bates.
45485
45486         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
45487         (ViewController.prototype.loaded): Create and store an h1 element for displaying the page's
45488         title.
45489         (ViewController.prototype._displayBuilder): Set the page's title and clear out any old
45490         content immediately instead of waiting for the first set of results for the history
45491         analyzer. As we receive new results from the analyzer we'll just clear out the main content
45492         area and replace it with the new info.
45493         (ViewController.prototype._displayTesters): Set the page's title and clear out any old
45494         content immediately instead of waiting for the list of testers from the buildbot. Sprinkled
45495         in a little use of our removeAllChildren helper, too.
45496         (ViewController.prototype._setTitle): Added. Set's the page's title and the header text.
45497
45498 2011-07-07  Adam Roben  <aroben@apple.com>
45499
45500         Make Checkout use SCM's Executive instead of conjuring up its own
45501
45502         This will improve integration with the rest of webkitpy, particularly when invoked via
45503         webkit-patch.
45504
45505         Fixes <http://webkit.org/b/64115> REGRESSION (r90564): webkitpy's Checkout class uses
45506         Executive inappropriately
45507
45508         Reviewed by Adam Barth.
45509
45510         * Scripts/webkitpy/common/checkout/checkout.py:
45511         (Checkout.commit_message_for_this_commit): Use SCM.run instead of creating an Executive for
45512         our own use. SCM might have some super-special Executive that it uses under the covers, and
45513         we want to use it, too!
45514
45515         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
45516         (CommitMessageForThisCommitTest.test_commit_message_for_this_commit): Mock the SCM.run
45517         method to call through to Executive.run_command.
45518
45519 2011-07-07  Adam Roben  <aroben@apple.com>
45520
45521         Make Term/ReadKey.pm an optional dependency of commit-log-editor
45522
45523         When Term/ReadKey.pm isn't present, the --regenerate-log switch will be non-functional.
45524
45525         Fixes <http://webkit.org/b/64113> REGRESSION (r90564):
45526         webkitpy.common.checkout.checkout_unittest failing on GTK bots due to missing
45527         Term/ReadKey.pm module
45528
45529         Reviewed by Xan Lopez.
45530
45531         * Scripts/commit-log-editor: Use Module::Load::Conditional::can_load to only load
45532         Term/ReadKey.pm if it's present. If it isn't present, ignore the --regenerate-log switch so
45533         that existing commit messages will be preserved. (Users can manually remove existing commit
45534         messages using git-reset.)
45535
45536 2011-07-07  Adam Roben  <aroben@apple.com>
45537
45538         Keep testing that commit messages containing Unicode are handled properly by webkitpy
45539
45540         Fixes <http://webkit.org/b/64109> REGRESSION (r90571): test-webkitpy no longer tests that we
45541         correctly handle Unicode in commit messages
45542
45543         Reviewed by Eric Seidel.
45544
45545         * Scripts/webkitpy/common/checkout/checkout_unittest.py: Put some Unicode characters in
45546         places in the ChangeLog that will end up being included in the commit message.
45547
45548 2011-07-07  Andreas Kling  <kling@webkit.org>
45549
45550         [Qt][WK2] Remove Symbian code.
45551         https://bugs.webkit.org/show_bug.cgi?id=64101
45552
45553         Reviewed by Benjamin Poulain.
45554
45555         * MiniBrowser/qt/BrowserWindow.cpp:
45556         (BrowserWindow::BrowserWindow):
45557         (BrowserWindow::screenshot):
45558         * MiniBrowser/qt/MiniBrowser.pro:
45559         * MiniBrowser/qt/MiniBrowserApplication.h:
45560         (WindowOptions::WindowOptions):
45561
45562 2011-07-07  Andreas Kling  <kling@webkit.org>
45563
45564         [Qt][WK2] Don't support ridiculous matrix of QT_NO_FEATURE combinations.
45565         https://bugs.webkit.org/show_bug.cgi?id=64099
45566
45567         Reviewed by Benjamin Poulain.
45568
45569         * MiniBrowser/qt/BrowserWindow.cpp:
45570         (BrowserWindow::openFile):
45571         (BrowserWindow::screenshot):
45572         (BrowserWindow::loadURLListFromFile):
45573
45574 2011-07-07  Adam Roben  <aroben@apple.com>
45575
45576         Completely ignore too-many-failures builds in TestFailures in most circumstances
45577
45578         Because a semi-arbitrary subset of tests are run in a too-many-failures build, we can't
45579         really use them to perform regression analysis. The only time we want to pay attention to
45580         too-many-failures builds is when we're trying to explain when the current bout of
45581         too-many-failures started.
45582
45583         Fixes <http://webkit.org/b/64106> TestFailures page sometimes claims a test started failing
45584         in a build that didn't even run it (because it exited early due to too many failues)
45585
45586         Reviewed by David Kilzer.
45587
45588         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
45589         (LayoutTestHistoryAnalyzer.prototype._incorporateBuildHistory): Removed old, broken
45590         too-many-failures handling that would cause us to blame builds that didn't even run a given
45591         test for breaking it. Instead, skip over all too-many-failures builds unless the most recent
45592         build was itself a too-many-failures build.
45593
45594 2011-07-07  Adam Roben  <aroben@apple.com>
45595
45596         Teach webkitpy's Checkout class to use commit-log-editor to create commit messages
45597
45598         Fixes <http://webkit.org/b/26755> webkit-patch's commit messages are less readable than
45599         commit-log-editor's
45600
45601         Reviewed by David Kilzer.
45602
45603         * Scripts/webkitpy/common/checkout/checkout.py:
45604         (Checkout.commit_message_for_this_commit): Run commit-log-editor, passing it the paths of
45605         the modified ChangeLogs, to generate the commit message, rather than trying to generate one
45606         ourselves.
45607
45608         * Scripts/webkitpy/common/checkout/checkout_unittest.py: Updated the expected commit message
45609         to match commit-log-editor's format.
45610         (CommitMessageForThisCommitTest.setUp): Write the ChangeLogs into Tools and LayoutTests
45611         directories so we can see how the various entries get labeled in the commit message.
45612         (CommitMessageForThisCommitTest.test_commit_message_for_this_commit): Create a mock SCM
45613         instance that knows how to find commit-log-editor and pass it to our Checkout instance.
45614         Don't bother capturing output, since there shouldn't be any.
45615
45616 2011-07-07  Adam Roben  <aroben@apple.com>
45617
45618         Add a --print-log option to commit-log-editor
45619
45620         When specified, commit-log-editor takes a set of ChangeLog paths on the command line,
45621         generates a commit message from those ChangeLogs, prints it to stdout, and exits.
45622
45623         Prep work for fixing <http://webkit.org/b/26755> webkit-patch's commit messages are less
45624         readable than commit-log-editor's
45625
45626         Reviewed by David Kilzer.
45627
45628         * Scripts/commit-log-editor: Changed to use Getopt::Long to parse options. Added --print-log
45629         option, which calls through to createCommitMessage, prints the result, and exits.
45630         (printUsageAndExit): Renamed from "usage" for clarity. Beefed up the usage statement to
45631         explain commit-log-editor's 2.5 (normal, --print-log, and --help) modes of operation.
45632
45633 2011-07-07  Adam Roben  <aroben@apple.com>
45634
45635         Extract commit-log-editor's commit-message-generation code into a separate function
45636
45637         As a bonus, we now skip a bunch of work in the case where we are generating a commit message
45638         for staged git changes.
45639
45640         Prep work for fixing <http://webkit.org/b/26755> webkit-patch's commit messages are less
45641         readable than commit-log-editor's
45642
45643         Reviewed by David Kilzer.
45644
45645         * Scripts/commit-log-editor: Moved the default definition of $endl up toward the top of the
45646         file so that it will be defined even if we aren't operating on an existing log message.
45647         Moved a bunch of top-level code to generate the commit message from here...
45648         (createCommitMessage): ...to here.
45649
45650 2011-07-07  Carlos Garcia Campos  <cgarcia@igalia.com>
45651
45652         [GTK] Open links in a new window when clicking with the middle button in MiniBrowser
45653         https://bugs.webkit.org/show_bug.cgi?id=63988
45654
45655         Reviewed by Martin Robinson.
45656
45657         * MiniBrowser/gtk/BrowserWindow.c:
45658         (browserWindowConstructed):
45659         (decidePolicyForNavigationAction): Ignore the action if a link is
45660         clicked with the middle buttonm and open the link in a new window.
45661         (browserWindowPolicyClientInit):
45662
45663 2011-07-07  Adam Barth  <abarth@webkit.org>
45664
45665         Remove style_references.py
45666         https://bugs.webkit.org/show_bug.cgi?id=64070
45667
45668         Reviewed by Eric Seidel.
45669
45670         We never really adopted the _references design, and this file is a bit
45671         of an orphan at this point.
45672
45673         * Scripts/check-webkit-style:
45674         * Scripts/webkitpy/style/checker.py:
45675         * Scripts/webkitpy/style/checker_unittest.py:
45676         * Scripts/webkitpy/style/checkers/python.py:
45677         * Scripts/webkitpy/style/checkers/test_expectations.py:
45678         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
45679         * Scripts/webkitpy/style/main_unittest.py:
45680         * Scripts/webkitpy/style_references.py: Removed.
45681
45682 2011-07-07  Eric Seidel  <eric@webkit.org>
45683
45684         Fix WebKit2 expected results search paths for Mac and Qt under new-run-webkit-tests
45685         https://bugs.webkit.org/show_bug.cgi?id=64056
45686
45687         Unreviewed.
45688
45689         I had written this unittest prior to landing my change, but
45690         had named it qt_unitest.py, so it wasn't running (nor was
45691         it added to my git repo).
45692
45693         Once I fixe the name of the unittest file, it was very easy
45694         to fix the error in webkit.py (which already had a FIXME).
45695
45696         * Scripts/webkitpy/layout_tests/port/qt_unittest.py: Added.
45697         * Scripts/webkitpy/layout_tests/port/webkit.py:
45698
45699 2011-07-07  Eric Seidel  <eric@webkit.org>
45700
45701         Unreviewed.  Add more debug logging about which test expectations we're using.
45702
45703         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
45704         * Scripts/webkitpy/layout_tests/port/webkit.py:
45705
45706 2011-07-06  Adam Barth  <abarth@webkit.org>
45707
45708         Remove unexpected_results.json
45709         https://bugs.webkit.org/show_bug.cgi?id=64065
45710
45711         Reviewed by Eric Seidel.
45712
45713         No one should be using this file any more.  This patch removes it from
45714         the face of the earth.  This patch also removes two NRWT-specific
45715         command line options that were implemented using
45716         unexpected_results.json.
45717
45718         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
45719         * Scripts/webkitpy/layout_tests/controllers/manager.py:
45720         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
45721         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
45722         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
45723         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
45724         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
45725
45726 2011-07-07  Adam Barth  <abarth@webkit.org>
45727
45728         REGRESSION(90520): chromium GPU tests produce output in the LayoutTests directory
45729         https://bugs.webkit.org/show_bug.cgi?id=64067
45730
45731         Reviewed by Eric Seidel.
45732
45733         The author of r90520 forgot to change the chromium_gpu.py implemenation
45734         of this method as well.
45735
45736         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
45737
45738 2011-07-06  Eric Seidel  <eric@webkit.org>
45739
45740         Fix WebKit2 expected results search paths for Mac and Qt under new-run-webkit-tests
45741         https://bugs.webkit.org/show_bug.cgi?id=64056
45742
45743         Reviewed by Adam Barth.
45744
45745         This fixes the MacPort's version of baseline_search_path to include
45746         wk2 fallback like WebKitPort's does.  This also re-works the QtPort
45747         to set self._name (as other ports do) so that WebKitPort's default
45748         implementations will understand Qt operating system flavors correctly
45749         (including when running wk2 tests).
45750
45751         In trying to test this, I realized that nearly all of our port-tests
45752         use the default FileSystem(), User() and Executive() objects, which
45753         is really bad, because they expose details of your system in the unittest results!
45754
45755         Once I fixed many of the Port() calls to pass MockFileSystem(), then
45756         MacPort.test_tests_for_other_platforms started failing, and I had to
45757         teach MockFileSystem.glob how to handle directories to make it work again.
45758
45759         I removed the useless PortTestCase.test_baseline_search_path and replaced
45760         it with more useful test_baseline_search_path tests in MacPortTest and QtPortTest.
45761
45762         * Scripts/webkitpy/common/config/ports.py:
45763         * Scripts/webkitpy/common/system/filesystem_mock.py:
45764         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
45765         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
45766         * Scripts/webkitpy/layout_tests/port/mac.py:
45767         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
45768         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
45769         * Scripts/webkitpy/layout_tests/port/qt.py:
45770         * Scripts/webkitpy/layout_tests/port/test_files.py:
45771         * Scripts/webkitpy/layout_tests/port/win.py:
45772         * Scripts/webkitpy/to_be_moved/deduplicate_tests.py:
45773         * Scripts/webkitpy/tool/mocktool.py:
45774
45775 2011-07-06  Adam Barth  <abarth@webkit.org>
45776
45777         Wean rebaseline-server off unexpected_results.json
45778         https://bugs.webkit.org/show_bug.cgi?id=64063
45779
45780         Reviewed by Eric Seidel.
45781
45782         In the process of changing this code to use full_results.json, I
45783         noticed that the code was broken (because it wasn't tested).  This
45784         patch also adds test coverage for the broken code.
45785
45786         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
45787         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
45788         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
45789
45790 2011-07-06  Adam Barth  <abarth@webkit.org>
45791
45792         Wean resultsjsonparser off unexpected_results.json
45793         https://bugs.webkit.org/show_bug.cgi?id=64061
45794
45795         Reviewed by Eric Seidel.
45796
45797         We're about to delete unexpected_results.json, so we need to remove all
45798         the users.
45799
45800         * Scripts/webkitpy/common/config/ports.py:
45801         * Scripts/webkitpy/common/net/resultsjsonparser.py:
45802         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
45803         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
45804
45805 2011-07-06  Adam Barth  <abarth@webkit.org>
45806
45807         Cleanup result_summary.py
45808         https://bugs.webkit.org/show_bug.cgi?id=64057
45809
45810         Reviewed by Eric Seidel.
45811
45812         This class had a bunch of out-of-date docstrings that no longer make
45813         any sense.
45814
45815         * Scripts/webkitpy/layout_tests/models/result_summary.py:
45816
45817 2011-07-06  Adam Barth  <abarth@webkit.org>
45818
45819         Tweak the ChangeLog for DEPS rolls to say "Unreviewed" so that the
45820         patches can be landed by the commit-queue.
45821
45822         * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py:
45823
45824 2011-07-06  Adam Barth  <abarth@webkit.org>
45825
45826         Normalize callers of logging.getLogger to use __name__
45827         https://bugs.webkit.org/show_bug.cgi?id=64054
45828
45829         Reviewed by Eric Seidel.
45830
45831         Most callers were already using __name__.  This patch makes everyone
45832         consistent.
45833
45834         * Scripts/webkitpy/common/checkout/diff_parser.py:
45835         * Scripts/webkitpy/common/checkout/scm/svn.py:
45836         * Scripts/webkitpy/common/net/statusserver.py:
45837         * Scripts/webkitpy/common/system/executive.py:
45838         * Scripts/webkitpy/common/system/file_lock.py:
45839         * Scripts/webkitpy/common/system/user.py:
45840         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
45841         * Scripts/webkitpy/layout_tests/models/result_summary.py:
45842         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
45843         * Scripts/webkitpy/layout_tests/port/chromium.py:
45844         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
45845         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
45846         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
45847         * Scripts/webkitpy/layout_tests/port/gtk.py:
45848         * Scripts/webkitpy/layout_tests/port/http_lock.py:
45849         * Scripts/webkitpy/layout_tests/port/mac.py:
45850         * Scripts/webkitpy/layout_tests/port/qt.py:
45851         * Scripts/webkitpy/layout_tests/port/server_process.py:
45852         * Scripts/webkitpy/layout_tests/port/webkit.py:
45853         * Scripts/webkitpy/layout_tests/port/win.py:
45854         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
45855         * Scripts/webkitpy/layout_tests/servers/http_server.py:
45856         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
45857         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
45858         * Scripts/webkitpy/layout_tests/views/printing.py:
45859         * Scripts/webkitpy/python24/versioning.py:
45860         * Scripts/webkitpy/style/checker.py:
45861         * Scripts/webkitpy/style/checkers/test_expectations.py:
45862         * Scripts/webkitpy/style/patchreader.py:
45863         * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:
45864
45865 2011-07-06  Adam Barth  <abarth@webkit.org>
45866
45867         Move model classes out of layout_package and into models
45868         https://bugs.webkit.org/show_bug.cgi?id=64053
45869
45870         Reviewed by Eric Seidel.
45871
45872         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
45873         * Scripts/webkitpy/common/net/layouttestresults.py:
45874         * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
45875         * Scripts/webkitpy/common/net/resultsjsonparser.py:
45876         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
45877         * Scripts/webkitpy/layout_tests/controllers/manager.py:
45878         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
45879         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
45880         * Scripts/webkitpy/layout_tests/controllers/worker.py:
45881         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
45882         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
45883         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
45884         * Scripts/webkitpy/layout_tests/layout_package/result_summary.py: Removed.
45885         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Removed.
45886         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py: Removed.
45887         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Removed.
45888         * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py: Removed.
45889         * Scripts/webkitpy/layout_tests/layout_package/test_input.py: Removed.
45890         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
45891         * Scripts/webkitpy/layout_tests/layout_package/test_results.py: Removed.
45892         * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py: Removed.
45893         * Scripts/webkitpy/layout_tests/models: Added.
45894         * Scripts/webkitpy/layout_tests/models/__init__.py: Added.
45895         * Scripts/webkitpy/layout_tests/models/result_summary.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/result_summary.py.
45896         * Scripts/webkitpy/layout_tests/models/test_expectations.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_expectations.py.
45897         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py.
45898         * Scripts/webkitpy/layout_tests/models/test_failures.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_failures.py.
45899         * Scripts/webkitpy/layout_tests/models/test_failures_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py.
45900         * Scripts/webkitpy/layout_tests/models/test_input.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_input.py.
45901         * Scripts/webkitpy/layout_tests/models/test_results.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results.py.
45902         * Scripts/webkitpy/layout_tests/models/test_results_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py.
45903         * Scripts/webkitpy/layout_tests/port/chromium.py:
45904         * Scripts/webkitpy/layout_tests/views/printing.py:
45905         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
45906         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
45907         * Scripts/webkitpy/style_references.py:
45908         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
45909         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
45910         * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
45911         * Scripts/webkitpy/tool/commands/queues_unittest.py:
45912         * Scripts/webkitpy/tool/commands/rebaseline.py:
45913
45914 2011-07-06  Dirk Pranke  <dpranke@chromium.org>
45915
45916         nrwt: fix typo preventing http startup on windows
45917         https://bugs.webkit.org/show_bug.cgi?id=64050
45918
45919         Reviewed by Eric Siedel.
45920
45921         NRWT checks whether it needs to start the servers by looking
45922         for "/http/" in the test names. After r90520, the leading slash
45923         is not present, so the check isn't quite right.
45924
45925         * Scripts/webkitpy/layout_tests/controllers/manager.py:
45926         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
45927
45928 2011-07-06  Dirk Pranke  <dpranke@chromium.org>
45929
45930         nrwt: remove --use-apache from the command line
45931         https://bugs.webkit.org/show_bug.cgi?id=63358
45932
45933         Reviewed by Adam Barth.
45934
45935         Re-land the fix in bug 63358 - the prior fix was flawed in that
45936         we were trying to start the http server during check_sys_deps()
45937         but not actually setting up the environment properly. This
45938         broken prior to this change, but exposed by it, since the patch
45939         changes the chromium port to call the base class's checks.
45940
45941         * Scripts/webkitpy/common/system/executive.py:
45942         * Scripts/webkitpy/layout_tests/port/base.py:
45943         * Scripts/webkitpy/layout_tests/port/chromium.py:
45944         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
45945         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
45946         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
45947         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
45948         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
45949         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
45950
45951 2011-07-06  Adam Barth  <abarth@webkit.org>
45952
45953         Move view-related code out of layout_package and into views
45954         https://bugs.webkit.org/show_bug.cgi?id=64051
45955
45956         Reviewed by Eric Seidel.
45957
45958         * Scripts/webkitpy/layout_tests/controllers/manager.py:
45959         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
45960         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
45961         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
45962         * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Removed.
45963         * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py: Removed.
45964         * Scripts/webkitpy/layout_tests/layout_package/printing.py: Removed.
45965         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: Removed.
45966         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
45967         * Scripts/webkitpy/layout_tests/views: Added.
45968         * Scripts/webkitpy/layout_tests/views/__init__.py: Added.
45969         * Scripts/webkitpy/layout_tests/views/metered_stream.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/metered_stream.py.
45970         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py.
45971         * Scripts/webkitpy/layout_tests/views/printing.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/printing.py.
45972         * Scripts/webkitpy/layout_tests/views/printing_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py.
45973
45974 2011-07-06  Adam Barth  <abarth@webkit.org>
45975
45976         Add goofy comments to explain why we have these files.
45977
45978         * Scripts/webkitpy/layout_tests/controllers/__init__.py:
45979         * Scripts/webkitpy/layout_tests/layout_package/__init__.py:
45980
45981 2011-07-06  Adam Barth  <abarth@webkit.org>
45982
45983         Move a bunch of classes out of layout_tests.layout_package and into layout_tests.controllers
45984         https://bugs.webkit.org/show_bug.cgi?id=64048
45985
45986         Reviewed by Eric Seidel.
45987
45988         * Scripts/webkitpy/layout_tests/controllers: Added.
45989         * Scripts/webkitpy/layout_tests/controllers/__init__.py: Added.
45990         * Scripts/webkitpy/layout_tests/controllers/manager.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager.py.
45991         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py.
45992         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py.
45993         * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py.
45994         * Scripts/webkitpy/layout_tests/controllers/message_broker.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/message_broker.py.
45995         * Scripts/webkitpy/layout_tests/controllers/message_broker_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py.
45996         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py.
45997         * Scripts/webkitpy/layout_tests/controllers/worker.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/worker.py.
45998         * Scripts/webkitpy/layout_tests/layout_package/manager.py: Removed.
45999         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py: Removed.
46000         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py: Removed.
46001         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py: Removed.
46002         * Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Removed.
46003         * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: Removed.
46004         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
46005         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: Removed.
46006         * Scripts/webkitpy/layout_tests/layout_package/worker.py: Removed.
46007         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
46008
46009 2011-07-06  Adam Barth  <abarth@webkit.org>
46010
46011         Attempt to fix unittest on Leopard.  Let's enumerate the keys in sorted
46012         order so the test results are predictable.
46013
46014         * Scripts/webkitpy/tool/bot/irc_command.py:
46015         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
46016
46017 2011-07-06  Dirk Pranke  <dpranke@chromium.org>
46018
46019         Reviewed by Eric Siedel.
46020
46021         nrwt: make the code be consistent about using test names instead of filenames or paths
46022
46023         https://bugs.webkit.org/show_bug.cgi?id=63597
46024
46025         It can be hard to figure out where in the code we're assuming
46026         test names are listed as unix-style relative filenames and where
46027         they are either absolute paths or relative paths following the
46028         host filesystem convention.
46029
46030         This patch changes things so that everything outside of the
46031         Port object uses (and must assume) unix-style relative
46032         filenames (with one exception, which is specifying host-local
46033         filenames as a list of test arguments on the command line).
46034
46035         This should make things clearer and more consistent, and also
46036         removes a lot of path conversion calls.
46037
46038         The changes in this patch outside of port/base.py are largely
46039         cosmetic changes of "filename" to "test". We add a few routines
46040         to the base Port implementation to manipulate test names to
46041         split them, figure out if we're referring to a directory of
46042         tests, etc.
46043
46044         * Scripts/webkitpy/common/net/layouttestresults.py:
46045         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
46046         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
46047         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
46048         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
46049         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
46050         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
46051         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
46052         * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
46053         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
46054         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
46055         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
46056         * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
46057         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
46058         * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
46059         * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
46060         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
46061         * Scripts/webkitpy/layout_tests/port/base.py:
46062         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
46063         * Scripts/webkitpy/layout_tests/port/chromium.py:
46064         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
46065         * Scripts/webkitpy/layout_tests/port/dryrun.py:
46066         * Scripts/webkitpy/layout_tests/port/test.py:
46067         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
46068         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
46069         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
46070         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
46071         * Scripts/webkitpy/tool/bot/flakytestreporter.py:
46072         * Scripts/webkitpy/tool/commands/rebaseline.py:
46073         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
46074
46075 2011-07-06  Chris Guillory  <ctguil@chromium.org>
46076
46077         No review necessary.
46078
46079         Adding myself to committers list in committers.py.
46080         https://bugs.webkit.org/show_bug.cgi?id=63478
46081
46082         * Scripts/webkitpy/common/config/committers.py:
46083
46084 2011-07-06  Johnny Ding  <jnd@chromium.org>
46085
46086         https://bugs.webkit.org/show_bug.cgi?id=63857
46087         Implement createPopupMenu for Chromium DRT.
46088
46089         Reviewed by Tony Chang.
46090
46091         * DumpRenderTree/chromium/WebViewHost.cpp:
46092         (WebViewHost::createPopupMenu):
46093         (WebViewHost::~WebViewHost):
46094         * DumpRenderTree/chromium/WebViewHost.h:
46095
46096 2011-07-06  Mihai Parparita  <mihaip@chromium.org>
46097
46098         Unreviewed, rolling out r90503.
46099         http://trac.webkit.org/changeset/90503
46100         https://bugs.webkit.org/show_bug.cgi?id=63358
46101
46102         Makes Chromium Windows canary bots hang.
46103
46104         * Scripts/webkitpy/layout_tests/port/base.py:
46105         * Scripts/webkitpy/layout_tests/port/chromium.py:
46106         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
46107         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
46108         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
46109         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
46110         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
46111         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
46112
46113 2011-07-06  Adam Barth  <abarth@webkit.org>
46114
46115         Move buildbot URL in webkitpy to config.urls
46116         https://bugs.webkit.org/show_bug.cgi?id=64041
46117
46118         Reviewed by Eric Seidel.
46119
46120         This patch prepares for using the buildbot class to talk to the
46121         Chromium buildbots.
46122
46123         * Scripts/webkitpy/common/config/urls.py:
46124         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
46125         * Scripts/webkitpy/tool/commands/download_unittest.py:
46126         * Scripts/webkitpy/tool/commands/queries.py:
46127         * Scripts/webkitpy/tool/mocktool.py:
46128         * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
46129
46130 2011-07-06  Kevin Ollivier  <kevino@theolliviers.com>
46131
46132         [wx] Unreviewed build fix, add the correct path to the waf build settings.
46133         
46134         * wx/packaging/build-win-installer.py:
46135
46136 2011-07-06  Adam Barth  <abarth@webkit.org>
46137
46138         Add missing include.
46139
46140         * Scripts/webkitpy/tool/bot/irc_command.py:
46141
46142 2011-07-06  Adam Barth  <abarth@webkit.org>
46143
46144         Add roll-chromium-deps command to sheriff-bot
46145         https://bugs.webkit.org/show_bug.cgi?id=64037
46146
46147         Reviewed by Eric Seidel.
46148
46149         Lo, and the DEPS were rolled on command.
46150
46151         * Scripts/webkitpy/tool/bot/irc_command.py:
46152         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
46153         * Scripts/webkitpy/tool/bot/sheriff.py:
46154         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
46155         * Scripts/webkitpy/tool/commands/roll.py:
46156         * Scripts/webkitpy/tool/commands/roll_unittest.py:
46157         * Scripts/webkitpy/tool/steps/updatechromiumdeps.py:
46158
46159 2011-07-06  Eric Seidel  <eric@webkit.org>
46160
46161         Split Driver, DriverOutput and DriverInput out into a new driver.py file
46162         https://bugs.webkit.org/show_bug.cgi?id=64031
46163
46164         Reviewed by Adam Barth.
46165
46166         This ended up kinda large and I'm happy to break it up if desired.
46167
46168         As part of cleaning up the Port module, I split Driver, DriverInput and DriverOutput
46169         out into its own driver.py file.
46170
46171         I also cleaned up how we import Port objects, by making port/__init__.py
46172         expose Port, Driver, DriverInput, and DriverOutput.  I removed exposure of
46173         some various test objects as they were causing circular dependencies.
46174         base.py is now an implementation detail of port.  No longer is "base" referenced
46175         anywhere in the code.
46176
46177         I also made Driver.__init__ non-virtual so that sub-classers could all share
46178         the data storage on Driver.  This more closely matches how other subclasses
46179         work throughout our python code.
46180
46181         Standard line-unwrapping and doc-string removal as I went through the code.
46182
46183         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
46184         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
46185         * Scripts/webkitpy/layout_tests/port/__init__.py:
46186         * Scripts/webkitpy/layout_tests/port/base.py:
46187         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
46188         * Scripts/webkitpy/layout_tests/port/chromium.py:
46189         * Scripts/webkitpy/layout_tests/port/driver.py: Added.
46190         * Scripts/webkitpy/layout_tests/port/dryrun.py:
46191         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
46192         * Scripts/webkitpy/layout_tests/port/test.py:
46193         * Scripts/webkitpy/layout_tests/port/webkit.py:
46194         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
46195         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
46196         * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
46197
46198 2011-07-06  Adam Roben  <aroben@apple.com>
46199
46200         Clear TestFailures's getNumberOfFailingTests cache
46201
46202         Now that we support NRWT, we need to clear out old zero values for the NRWT bots that might
46203         have been cached by old versions of TestFailures.
46204
46205         Fixes <http://webkit.org/b/64029> TestFailures page still doesn't show NRWT bots if you've
46206         used it recently
46207
46208         Reviewed by Adam Barth.
46209
46210         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
46211         (Builder.prototype.getNumberOfFailingTests): Added a .version property to the cache data
46212         that must match the current version. Otherwise we'll ignore the cached data.
46213
46214 2011-06-24  Dirk Pranke  <dpranke@chromium.org>
46215
46216         Reviewed by Adam Barth.
46217
46218         nrwt: remove --use-apache from the command line
46219         https://bugs.webkit.org/show_bug.cgi?id=63358
46220
46221         This change removes the --use-apache command line argument. It
46222         was initially put in when we were trying to get the cygwin
46223         apache instance to work with Chromium win, but that code has
46224         bitrotted and doesn't work at all now.
46225
46226         Arguably we should remove all of the code to allow for a choice
46227         of web servers, but since we may still want to switch off of
46228         LigHTTPd at some point on Windows, I'll leave the rest in for
46229         now (or at least yank it in a different change.)
46230
46231         * Scripts/webkitpy/layout_tests/port/base.py:
46232         * Scripts/webkitpy/layout_tests/port/chromium.py:
46233         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
46234         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
46235         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
46236         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
46237
46238 2011-07-06  Dimitri Glazkov  <dglazkov@chromium.org>
46239
46240         garden-o-matic should use a favicon to indicate current state.
46241         https://bugs.webkit.org/show_bug.cgi?id=64027
46242
46243         Reviewed by Adam Barth.
46244
46245         * Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-green.png: Added.
46246         * Scripts/webkitpy/tool/servers/data/gardeningserver/favicon-red.png: Added.
46247         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html: Added blurb about icons.
46248         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js: Added setting icon state.
46249         * Scripts/webkitpy/tool/servers/gardeningserver.py: Allowed the use of favicons.
46250
46251 2011-07-06  Daniel Bates  <dbates@rim.com>
46252
46253         Fix webkitpy error after changeset 90483 <http://trac.webkit.org/changeset/90483>; Add missing
46254         parameter to _fetch_file_from_results lamdba function.
46255
46256         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
46257
46258 2011-07-06  Kevin Ollivier  <kevino@theolliviers.com>
46259
46260         [wx] Unreviewed build fix. Generate the proper install_name for dylibs on Mac.
46261
46262         * wx/packaging/build-mac-installer.py:
46263
46264 2011-07-06  Xan Lopez  <xlopez@igalia.com>
46265
46266         [GTK] Only set env. variables in start when strictly needed
46267         https://bugs.webkit.org/show_bug.cgi?id=64026
46268
46269         Reviewed by Eric Seidel.
46270
46271         * Scripts/webkitpy/layout_tests/port/gtk.py: add a
46272         setup_environ_for_server method in GtkPort and set as many
46273         env. variables as possible there.
46274
46275 2011-07-06  Adam Roben  <aroben@apple.com>
46276
46277         Teach TestFailures how to load, parse, and interpret NRWT test results
46278
46279         Fixes <http://webkit.org/b/61877> TestFailures page doesn't show testers that use
46280         new-run-webkit-tests
46281
46282         Reviewed by Adam Barth.
46283
46284         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
46285         (Builder.prototype.failureDiagnosisTextAndURL): Added support for the new 'flaky' failure
46286         type. For now we don't account for image-only flakes (but TestFailures doesn't deal with
46287         pixel tests at all currently).
46288         (Builder.prototype.getNumberOfFailingTests): Relaxed the regex used for parsing the number
46289         of failing tests from the buildbot output. Make sure not to count "new passes" (a new
46290         category introduced by NRWT) as failures.
46291
46292         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
46293         (LayoutTestResultsLoader.prototype.start): Moved a bunch of code from here to
46294         _fetchAndParseORWTResults. This function now attempts to load NRWT results, then falls back
46295         to loading ORWT results.
46296         (LayoutTestResultsLoader.prototype._fetchAndParseNRWTResults): Added. Tries to load and
46297         parse the full_results.json file for the given build.
46298         (LayoutTestResultsLoader.prototype._fetchAndParseORWTResults): Added. Code came from start.
46299         Fixed a bug along the way where we were sometimes calling the error callback instead of the
46300         success callback when all tests passed.
46301
46302         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/NRWTResultsParser.js: Added.
46303         (NRWTResultsParser): Do-nothing constructor.
46304         (NRWTResultsParser.prototype.parse): Uses eval() (eww!) to get the test results out of the
46305         JS string, then iterates over all the tests in the results data and builds up a data
46306         structure matching what ORWTResultsParser returns.
46307
46308         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
46309         (Array.prototype.contains):
46310         (String.prototype.contains):
46311         Added these simple helper functions.
46312
46313         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
46314         NRWTResultsParser.js.
46315
46316 2011-07-06  Adam Roben  <aroben@apple.com>
46317
46318         Extract code to parse ORWT's results.html file into its own class
46319
46320         Prep work for fixing <http://webkit.org/b/61877> TestFailures page doesn't show testers that
46321         use new-run-webkit-tests
46322
46323         Reviewed by Adam Barth.
46324
46325         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
46326         (LayoutTestResultsLoader.prototype.start): Moved a bunch of code from here...
46327
46328         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ORWTResultsParser.js: Added.
46329         (ORWTResultsParser):
46330         (ORWTResultsParser.prototype.parse):
46331         ...to here.
46332
46333         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
46334         ORWTResultsParser.js.
46335
46336 2011-07-06  Eric Seidel  <eric@webkit.org>
46337
46338         Unreviewed.  Fix a unittest from hitting the network. :)
46339
46340         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
46341
46342 2011-07-06  Eric Seidel  <eric@webkit.org>
46343
46344         Unreviewed.  Fixing an exception in test-webkitpy, caused by bug 64006.
46345
46346         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
46347
46348 2011-07-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
46349
46350         Run an Xvfb instance to run the API tests on, like we do for the
46351         layout tests.
46352
46353         Reviewed by Xan Lopez.
46354
46355         * Scripts/run-gtk-tests:
46356
46357 2011-07-06  Daniel Bates  <dbates@webkit.org>
46358
46359         Make SCM unit tests faster
46360         https://bugs.webkit.org/show_bug.cgi?id=63883
46361
46362         Speeds up the SCM unit tests by a factor of 4. Currently, we create a
46363         mock SVN repo for each test_ method in SVNTest and GitTest and creating
46364         this repo is expensive.
46365
46366         Instead, it is significantly faster to create the mock SVN repo once
46367         and then perform a filesystem copy of it for each test_ method.
46368
46369         Note, Python 2.7's unittest module implements support for per class and
46370         per module setup and tear down methods which could be used to implement
46371         similar functionality. At the time of writing, test-webkitpy is designed
46372         to support Python 2.5. So, we can't take advantage of these Python 2.7
46373         features :(
46374
46375         Reviewed by Eric Seidel.
46376
46377         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
46378
46379 2011-07-06  Adam Barth  <abarth@webkit.org>
46380
46381         Remove unused parameter from _add_test in test_expectations.py
46382         https://bugs.webkit.org/show_bug.cgi?id=64008
46383
46384         Reviewed by Eric Seidel.
46385
46386         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
46387
46388 2011-07-06  Adam Barth  <abarth@webkit.org>
46389
46390         Use old-run-webkit-tests when --leaks is present
46391         https://bugs.webkit.org/show_bug.cgi?id=64012
46392
46393         Reviewed by Adam Roben.
46394
46395         We'll remove this branch once support of --leaks is added to
46396         new-run-webkit-tests.
46397
46398         * Scripts/run-webkit-tests:
46399
46400 2011-07-06  Benjamin Poulain  <benjamin@webkit.org>
46401
46402         [Qt] [WK2] Add touch mocking to Qt's MiniBrowser
46403         https://bugs.webkit.org/show_bug.cgi?id=63995
46404
46405         Reviewed by Andreas Kling.
46406
46407         The mouse events are intercepted through QCoreApplication::notify(),
46408         and fake touch events are generated for mouse events when necessary.
46409
46410         If touch events are received from the platform, we assume the current
46411         hardware has a touch screen and we stop generating fake events.
46412
46413         * MiniBrowser/qt/MiniBrowserApplication.cpp:
46414         (isTouchEvent):
46415         (isMouseEvent):
46416         (MiniBrowserApplication::MiniBrowserApplication):
46417         (MiniBrowserApplication::notify):
46418         * MiniBrowser/qt/MiniBrowserApplication.h:
46419
46420 2011-07-06  Xan Lopez  <xlopez@igalia.com>
46421
46422         Reviewed by Gustavo Noronha.
46423
46424         * Scripts/webkitpy/layout_tests/port/gtk.py: use Popen correctly.
46425
46426 2011-07-06  Eric Seidel  <eric@webkit.org>
46427
46428         webkit-patch failure-reason does not understand NRWT results
46429         https://bugs.webkit.org/show_bug.cgi?id=64006
46430
46431         Reviewed by Adam Barth.
46432
46433         Adam Barth tells me failure-reason should be deleted soon,
46434         but aroben's fancy new TestFailures/ page doesn't work for
46435         NRWT yet, and I needed to know when
46436         third-party-cookie-relaxing started failing.
46437
46438         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
46439         * Scripts/webkitpy/tool/commands/queries.py:
46440
46441 2011-07-06  Xan Lopez  <xlopez@igalia.com>
46442
46443         [GTK] Add missing environment variables in NWRT
46444         https://bugs.webkit.org/show_bug.cgi?id=64004
46445
46446         Reviewed by Gustavo Noronha Silva.
46447
46448         Add missing environment variables needed by the GTK+ port.
46449
46450         * Scripts/webkitpy/layout_tests/port/gtk.py: ditto.
46451
46452 2011-07-06  Adam Roben  <aroben@apple.com>
46453
46454         Make run-api-tests output intelligible on the bots
46455
46456         run-api-tests's output on the bots was very hard to read for two reasons:
46457           1) It was mixing its own output with gtest's
46458           2) It was using ANSI escape sequences to print colored text, but the bots don't support
46459              that
46460
46461         Now, the --verbose flag turns off almost all of run-api-tests's own output so that gtest's
46462         output will not be obscured. We still print "Timeout" messages even in verbose mode, since
46463         gtest doesn't have any native support for timeouts. Also, when our output is being
46464         redirected to a file, we don't print ANSI escape sequences.
46465
46466         Fixes <http://webkit.org/b/63996> It's very hard to read run-api-tests output on the bots
46467
46468         Reviewed by Sam Weinig.
46469
46470         * Scripts/run-api-tests: Don't use the :constants interface of Term::ANSIColor. We want to
46471         use the colored function instead.
46472         (runAllTestsInSuite): Don't print out suite names in verbose mode; gtest will give us enough
46473         context that they aren't needed.
46474         (runTest): Don't print out test names or pass/fail messages in verbose mode; gtest will do
46475         that for us. Also, use the new possiblyColored function instead of always coloring output.
46476         (possiblyColored): Added. When printing to a tty, returns the string with the appropriate
46477         ANSI color escape sequences added. Otherwise just returns the string unmodified.
46478
46479 2011-07-06  Xan Lopez  <xlopez@igalia.com>
46480
46481         Reviewed by Gustavo Noronha.
46482
46483         Launch Xvfb (mostly) the same way we were launching it in the
46484         bots, for maximum compatibility.
46485
46486         * Scripts/webkitpy/layout_tests/port/gtk.py:
46487
46488 2011-07-06  Andreas Kling  <kling@webkit.org>
46489
46490         [Qt][WK2] Split Qt API into two different web views (touch and desktop)
46491         https://bugs.webkit.org/show_bug.cgi?id=63950
46492
46493         Co-authored with Benjamin Poulain <benjamin@webkit.org>.
46494
46495         Reviewed by Kenneth Rohde Christiansen.
46496
46497         Port WTR/Qt to use QDesktopWebView and force a 800x600 viewport.
46498
46499         The Qt MiniBrowser now defaults to QDesktopWebView but can be started
46500         in QTouchWebView mode by passing -touch on the command line.
46501
46502         A lot of functionality has been removed and/or disabled from
46503         MiniBrowser until we reintroduce the necessary API's.
46504
46505         * MiniBrowser/qt/BrowserView.cpp:
46506         (BrowserView::BrowserView):
46507         (BrowserView::~BrowserView):
46508         (BrowserView::load):
46509         (BrowserView::view):
46510         (BrowserView::touchWebView):
46511         (BrowserView::desktopWebView):
46512         * MiniBrowser/qt/BrowserView.h:
46513         * MiniBrowser/qt/BrowserWindow.cpp:
46514         (newPageFunction):
46515         (BrowserWindow::BrowserWindow):
46516         (BrowserWindow::webView):
46517         (BrowserWindow::newWindow):
46518         (BrowserWindow::showUserAgentDialog):
46519         (BrowserWindow::updateUserAgentList):
46520         * MiniBrowser/qt/BrowserWindow.h:
46521         * MiniBrowser/qt/MiniBrowserApplication.cpp:
46522         (MiniBrowserApplication::handleUserOptions):
46523         * MiniBrowser/qt/MiniBrowserApplication.h:
46524         (WindowOptions::WindowOptions):
46525         * MiniBrowser/qt/UrlLoader.cpp:
46526         (UrlLoader::UrlLoader):
46527         * MiniBrowser/qt/main.cpp:
46528         (main):
46529         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
46530         (WTR::WebView::wkView):
46531         (WTR::WebView::pageRef):
46532         (WTR::WebView::WebView):
46533         (WTR::PlatformWebView::page):
46534         (WTR::PlatformWebView::windowFrame):
46535         (WTR::PlatformWebView::setWindowFrame):
46536
46537 2011-07-06  Eric Seidel  <eric@webkit.org>
46538
46539         Unreviewed..
46540
46541         * Scripts/run-webkit-tests:
46542         (useNewRunWebKitTests):
46543          - Fix the pass-thru of --gtk and --qt for old-run-webkit-tests,
46544            it was previously broken by the existence of isGtk/isQt checks which
46545            removed the --gtk/--qt args from @ARGV.
46546
46547 2011-07-06  Eric Seidel  <eric@webkit.org>
46548
46549         new-run-webkit-tests uses a 35s timeout for Mac and 6s for all other ports
46550         https://bugs.webkit.org/show_bug.cgi?id=63983
46551
46552         Reviewed by Xan Lopez.
46553
46554         All WebKit ports want to use a 35s timeout.  Only chromium currently
46555         uses a 6s timeout.  Eventually we'll move all WebKit ports to 6s too
46556         to further speed up new-run-webkit-tests runs, but that's going to be a while.
46557
46558         * Scripts/webkitpy/layout_tests/port/mac.py:
46559         * Scripts/webkitpy/layout_tests/port/webkit.py:
46560         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
46561
46562 2011-07-06  Xan Lopez  <xlopez@igalia.com>
46563
46564         Unreviewed.
46565
46566         NWRT actually seems to work locally, so it should work in the bots
46567         as long as we take care of the TIMEOUT issue (which is being fixed
46568         as I write this). Let's give this another shot and fix whatever
46569         breaks.
46570
46571         * Scripts/run-webkit-tests:
46572         (useNewRunWebKitTests):
46573
46574 2011-07-06  Xan Lopez  <xlopez@igalia.com>
46575
46576         Unreviewed.
46577
46578         Disable NWRT on GTK. At the very least it needs an updated exected
46579         results file since NWRT is more sensitive to timeouts, not sure
46580         what the exact problem is.
46581
46582         * Scripts/run-webkit-tests:
46583         (useNewRunWebKitTests):
46584
46585 2011-07-06  Adam Barth  <abarth@webkit.org>
46586
46587         Fix global variable leak detected by noglobals.
46588
46589         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
46590
46591 2011-07-06  Adam Barth  <abarth@webkit.org>
46592
46593         garden-o-matic shouldn't show flaky tests by default
46594         https://bugs.webkit.org/show_bug.cgi?id=63979
46595
46596         Reviewed by Ojan Vafai.
46597
46598         If any of the actual test results are PASS, the test is flaky and we
46599         can ignore it (at least for now).  If we get awesome at dealing with
46600         failing tests, we might want to tackle flaky tests by refering the user
46601         to the flakiness dashboard, which is way more awesome at dealing with
46602         flaky tests that this tool ever will be.
46603
46604         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
46605         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
46606
46607 2011-07-05  Adam Barth  <abarth@webkit.org>
46608
46609         garden-o-matic should list the failing tests
46610         https://bugs.webkit.org/show_bug.cgi?id=63978
46611
46612         Reviewed by Eric Seidel.
46613
46614         * Scripts/webkitpy/tool/servers/data/gardeningserver/config.js: Added.
46615         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
46616         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
46617         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
46618         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js:
46619         * Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html:
46620         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js: Added.
46621         * Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js: Added.
46622         * Scripts/webkitpy/tool/servers/gardeningserver.py:
46623
46624
46625 2011-07-05  Eric Seidel  <eric@webkit.org>
46626
46627         Re-enable NRWT on Leopard now that bug 63973 is fixed.
46628
46629         Reviewed by Adam Barth.
46630
46631         I also made the should-enable expression a black-list instead
46632         of a white-list since every bot on build.webkit.org is
46633         now using NRWT except windows and WebKit2 bots.
46634
46635         * Scripts/run-webkit-tests:
46636         (useNewRunWebKitTests):
46637
46638 2011-07-05  Eric Seidel  <eric@webkit.org>
46639
46640         Perl string concat failure on Leopard (causes NRWT to fail)
46641         https://bugs.webkit.org/show_bug.cgi?id=63973
46642
46643         Reviewed by Daniel Bates.
46644
46645         Leopard's "xcodebuild -version" has a different format from Snow Leopard/Lion
46646         thus the version parsing logic in webkitdirs.pm seems to fail.
46647
46648         Default to "3.0" instead of undef when we can't parse the version number.
46649         This should send us down the correct path for Leopard.
46650
46651         * Scripts/webkitdirs.pm:
46652         (determineBaseProductDir):
46653
46654 2011-07-05  Kevin Ollivier  <kevino@theolliviers.com>
46655
46656         [wx] Unreviewed build fix after addition of Source/WebCore/xml/parser dir.
46657
46658         * waf/build/settings.py:
46659
46660 2011-07-05  Eric Seidel  <eric@webkit.org>
46661
46662         Disable NRWT for Leopard until https://bugs.webkit.org/show_bug.cgi?id=63973 can be fixed.
46663
46664         Reviewed by Adam Barth.
46665
46666         * Scripts/run-webkit-tests:
46667         (useNewRunWebKitTests):
46668
46669 2011-07-05  Eric Seidel  <eric@webkit.org>
46670
46671         Make run-webkit-tests pass --verbose to new-run-webkit-tests on qt/gtk bots.
46672
46673         Reviewed by Adam Barth.
46674
46675         * Scripts/run-webkit-tests:
46676         (runningOnBuildBot):
46677
46678 2011-07-05  Adam Barth  <abarth@webkit.org>
46679
46680         Add results_unittests.js to garden-o-matic
46681         https://bugs.webkit.org/show_bug.cgi?id=63971
46682
46683         Reviewed by Eric Seidel.
46684
46685         Adding these unit tests forced me to commit to an API for the results
46686         module.  I'm not sure if this is the API we'll end up with, but it's
46687         something not entirely unreasonable.
46688
46689         Also, I've changed results.js over to WebKit style, as discussed previously.
46690
46691         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
46692         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
46693         * Scripts/webkitpy/tool/servers/data/gardeningserver/results_unittests.js: Added.
46694         * Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html:
46695
46696 2011-07-05  Eric Seidel  <eric@webkit.org>
46697
46698         Teach run-webkit-tests how to translate --qt and --gtk for new-run-webkit-tests.
46699
46700         Reviewed by Adam Barth.
46701
46702         * Scripts/run-webkit-tests:
46703
46704 2011-07-05  Adam Barth  <abarth@webkit.org>
46705
46706         Add first unit tests for garden-o-matic
46707         https://bugs.webkit.org/show_bug.cgi?id=63969
46708
46709         Reviewed by Eric Seidel.
46710
46711         I've also reformated base.js to match WebKit style, as discussed in the
46712         previous bug.
46713
46714         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js:
46715         * Scripts/webkitpy/tool/servers/data/gardeningserver/base_unittests.js: Added.
46716         * Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html: Added.
46717
46718 2011-07-05  Eric Seidel  <eric@webkit.org>
46719
46720         Move Qt, Gtk and Leopard to NRWT.
46721
46722         We'll roll out any of these if we see problems.
46723
46724         Reviewed by Adam Barth.
46725
46726         * Scripts/run-webkit-tests:
46727         (useNewRunWebKitTests):
46728
46729 2011-07-05  Adam Barth  <abarth@webkit.org>
46730
46731         garden-o-matic should understand which tests have unexpected failures
46732         https://bugs.webkit.org/show_bug.cgi?id=63965
46733
46734         Reviewed by Eric Seidel.
46735
46736         Currently, this code just logs the list of unexpected failures to the
46737         console.  A future patch will do something useful with this
46738         information.  A testing harness will also come in the next patch.
46739
46740         * Scripts/webkitpy/tool/servers/data/gardeningserver/base.js: Added.
46741         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
46742         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
46743         * Scripts/webkitpy/tool/servers/gardeningserver.py:
46744
46745 2011-07-05  Adam Barth  <abarth@webkit.org>
46746
46747         garden-o-matic should know how to fetch test results from the (NRWT) bots
46748         https://bugs.webkit.org/show_bug.cgi?id=63959
46749
46750         Reviewed by Eric Seidel.
46751
46752         Currently, this code just fetches the results and expectations JSON
46753         blob for Linux from the server and logs it to the console.
46754
46755         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
46756         * Scripts/webkitpy/tool/servers/data/gardeningserver/results.js: Added.
46757         * Scripts/webkitpy/tool/servers/gardeningserver.py:
46758
46759 2011-07-05  Dirk Pranke  <dpranke@chromium.org>
46760
46761         Reviewed by Eric Seidel.
46762
46763         Python tests are failing on leopard
46764         https://bugs.webkit.org/show_bug.cgi?id=63842
46765
46766         Fix the missing flush() call that appears to be needed by the
46767         logging package in python 2.5. Also fix the regressions
46768         introduced in the run_webkit_test tests when we switched from
46769         thread to processes (since processes aren't available on 2.5).
46770
46771         Also fix a missing "from __future__ import with_statement' in
46772         testfilehandler (unreviewed).
46773
46774         * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
46775         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
46776         * TestResultServer/handlers/testfilehandler.py:
46777
46778 2011-07-05  Eric Seidel  <eric@webkit.org>
46779
46780         Reviewed by Adam Barth.
46781
46782         re-enabling new-run-webkit-tests on the Snow Leopard WebKit1 bots
46783         now that we believe the stray http-server issue to be solved.
46784
46785         * Scripts/run-webkit-tests:
46786         (useNewRunWebKitTests):
46787
46788 2011-07-05  Adam Barth  <abarth@webkit.org>
46789
46790         Turns out we need to support numerals too because that's what jQuery
46791         uses by default.
46792
46793         * TestResultServer/handlers/testfilehandler.py:
46794
46795 2011-07-05  Dirk Pranke  <dpranke@chromium.org>
46796
46797         nrwt: allow for multiple http shards
46798         https://bugs.webkit.org/show_bug.cgi?id=63116
46799
46800         Reviewed by Tony Chang.
46801
46802         This modifies the sharding logic to support multiple http
46803         shards, but for now we clamp to one shard until we can test
46804         perf impact and flakiness impact.
46805
46806         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
46807         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
46808
46809 2011-07-05  Dirk Pranke  <dpranke@chromium.org>
46810
46811         Re-land nrwt: make sharding tests needing locks less hard-coded
46812         https://bugs.webkit.org/show_bug.cgi?id=63112
46813
46814         Reviewed by Ojan Vafai.
46815
46816         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
46817         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
46818
46819 2011-07-05  Adam Barth  <abarth@webkit.org>
46820
46821         TestResultServer should support callback parameter for JSON
46822         https://bugs.webkit.org/show_bug.cgi?id=63961
46823
46824         Reviewed by Ojan Vafai.
46825
46826         This makes using jQuery.ajax so much more pleasant.
46827
46828         * TestResultServer/handlers/testfilehandler.py:
46829
46830 2011-07-05  Eric Seidel  <eric@webkit.org>
46831
46832         buildbot needs to understand whether NRWT exited early after having too many failures
46833         https://bugs.webkit.org/show_bug.cgi?id=63839
46834
46835         Reviewed by Adam Barth.
46836
46837         Fix-up the exited early messages printed by NRWT so that
46838         the buildbot can parse them as expected.
46839         It looks for lines using "if line.find('Exiting early') >= 0:"
46840
46841         I also plumbed the "early exit" status through to results.json
46842         in the form of an "interrupted" bool.  It was unclear to me
46843         if results.json already had enough information to compute this bool
46844         itself.  It's possible Ojan could come up with a better fix.
46845
46846         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
46847         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
46848         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
46849         * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
46850
46851 2011-07-05  Eric Seidel  <eric@webkit.org>
46852
46853         new-run-webkit-tests fails to start http server if one is already running
46854         https://bugs.webkit.org/show_bug.cgi?id=63956
46855
46856         Reviewed by Adam Barth.
46857
46858         * BuildSlaveSupport/kill-old-processes:
46859          - Removed ^M line endings and sorted the process names.
46860          - There are no functional changes to this file.
46861            (except that now that its using unix line endings it can be executed directly!)
46862         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
46863          - Change the name to 'httpd' to match old-run-webkit-test paths.
46864
46865 2011-07-05  Adam Barth  <abarth@webkit.org>
46866
46867         Add basic ajax support to garden-o-matic
46868         https://bugs.webkit.org/show_bug.cgi?id=63874
46869
46870         Reviewed by Eric Seidel.
46871
46872         This patch adds some basic infrastructure to garden-o-matic.
46873         Currently, the infrastructure is just used to make the "quit" command
46874         use Ajax, but in the future, this infrastructure will be used to do
46875         more sophistocated remote proceedure calls.
46876
46877         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
46878         * Scripts/webkitpy/tool/servers/data/gardeningserver/main.js: Added.
46879         * Scripts/webkitpy/tool/servers/gardeningserver.py:
46880         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
46881
46882 2011-07-05  Adam Barth  <abarth@webkit.org>
46883
46884         Add trivial garden-o-matic command (with server)
46885         https://bugs.webkit.org/show_bug.cgi?id=63872
46886
46887         Reviewed by Eric Seidel.
46888
46889         This patch adds a trivial "Hello, world" garden-o-matic command,
46890         complete with an HTTP server.  This command re-uses a bunch of code
46891         from the existing rebaseline-server command.  Over time, this command
46892         will grow to be a tool useful for gardening the WebKit tree.
46893
46894         * Scripts/webkitpy/tool/commands/__init__.py:
46895         * Scripts/webkitpy/tool/commands/abstractservercommand.py: Added.
46896         * Scripts/webkitpy/tool/commands/gardenomatic.py: Added.
46897         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
46898         * Scripts/webkitpy/tool/servers/data/gardeningserver/index.html: Added.
46899         * Scripts/webkitpy/tool/servers/gardeningserver.py: Added.
46900         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
46901
46902 2011-07-05  Adam Roben  <aroben@apple.com>
46903
46904         Make prepare-ChangeLog include modified Perl functions in its ChangeLog template
46905
46906         This is a very simple first cut. Functions must start with a line that starts with "sub "
46907         and end with a line that starts with a closing brace. No leading whitespace is allowed.
46908         Package names aren't parsed at all.
46909
46910         Fixes <http://webkit.org/b/21591> prepare-ChangeLog should know how to find functions in
46911         Perl files
46912
46913         Reviewed by David Kilzer.
46914
46915         * Scripts/prepare-ChangeLog: Removed redundant code that ignored certain files when
46916         searching for function line ranges. This is already done inside the get_function_line_ranges
46917         function.
46918         (get_function_line_ranges): Cleaned up coding style a little bit. Call
46919         get_function_line_ranges_for_perl for files with .pl and .pm extensions. For files with an
46920         unknown extension or no extension, read the shebang line to try to determine the script
46921         interpreter. Call get_function_line_ranges_for_perl if the interpreter seems to be Perl.
46922         (get_function_line_ranges_for_perl): Added. Does extremely basic parsing of the file to find
46923         lines starting with "sub " or "}".
46924
46925 2011-07-05  Adam Roben  <aroben@apple.com>
46926
46927         Clean up run-api-tests output on Windows
46928
46929         We were mixing run-api-tests output with gtest output, and the result was a mess.
46930
46931         Fixes <http://webkit.org/b/63954> run-api-tests output is very confusing on Windows
46932
46933         Reviewed by Dan Bates.
46934
46935         * Scripts/run-api-tests:
46936         (runTest):
46937         (populateTests):
46938         Made Windows use the formerly-Mac-only codepaths which correctly suppress gtest output
46939         except in verbose mode. Most changes are due to indentation. Use of the arch utility is now
46940         the only Mac-specific thing in these functions. Some other platform-specific code was moved
46941         from here...
46942
46943         (prepareEnvironmentForRunningTestTool):
46944         (testToolPath):
46945         ...to here.
46946
46947 2011-07-04  Gavin Barraclough  <barraclough@apple.com>
46948
46949         Reviewed by Sam Weinig.
46950
46951         https://bugs.webkit.org/show_bug.cgi?id=16652
46952         Firefox and JavaScriptCore differ in Number.toString(integer)
46953
46954         Added forwarding header.
46955
46956         * DumpRenderTree/ForwardingHeaders/wtf/StdLibExtras.h: Added.
46957
46958 2011-07-04  Anders Carlsson  <andersca@apple.com>
46959
46960         Try to fix Qt build.
46961
46962         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp:
46963
46964 2011-07-04  Anders Carlsson  <andersca@apple.com>
46965
46966         NP_RemoveProperty is not called back by Safari when delete npObject.prop is encountered in JavaScript
46967         https://bugs.webkit.org/show_bug.cgi?id=63915
46968         <rdar://problem/7124300>
46969
46970         Reviewed by Sam Weinig.
46971
46972         Extend the NPRuntimeRemoveProperty to handle delete object.property from JavaScript.
46973
46974         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
46975         (PluginTest::NPN_IdentifierIsString):
46976         (PluginTest::NPN_UTF8FromIdentifier):
46977         (PluginTest::NPN_IntFromIdentifier):
46978         (PluginTest::NPN_RetainObject):
46979         (PluginTest::NPN_ReleaseObject):
46980         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
46981         (PluginTest::Object::removeProperty):
46982         (PluginTest::Object::identifierIs):
46983         (PluginTest::Object::NP_RemoveProperty):
46984         (PluginTest::Object::npClass):
46985         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp:
46986         (NPRuntimeRemoveProperty::TestObject::TestObject):
46987         (NPRuntimeRemoveProperty::TestObject::hasProperty):
46988         (NPRuntimeRemoveProperty::TestObject::getProperty):
46989         (NPRuntimeRemoveProperty::TestObject::removeProperty):
46990         (NPRuntimeRemoveProperty::PluginObject::PluginObject):
46991         (NPRuntimeRemoveProperty::PluginObject::~PluginObject):
46992         (NPRuntimeRemoveProperty::PluginObject::hasMethod):
46993         (NPRuntimeRemoveProperty::PluginObject::invoke):
46994         (NPRuntimeRemoveProperty::PluginObject::hasProperty):
46995         (NPRuntimeRemoveProperty::PluginObject::getProperty):
46996         (NPRuntimeRemoveProperty::NPP_GetValue):
46997
46998 2011-07-04  Leandro Pereira  <leandro@profusion.mobi>
46999
47000         Reviewed by Kent Tamura.
47001
47002         [EFL] Add LayoutTestControllerEfl.
47003         https://bugs.webkit.org/show_bug.cgi?id=61974
47004
47005         Only the core features are implemented. Most functions are actually
47006         stubs and will be implemented as soon as its features are needed.
47007         Build system changes will be made as soon as DRT is completely
47008         upstreamed.
47009
47010         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp: Added.
47011         (LayoutTestController::~LayoutTestController):
47012         (LayoutTestController::addDisallowedURL):
47013         (LayoutTestController::clearBackForwardList):
47014         (LayoutTestController::copyDecodedHostName):
47015         (LayoutTestController::copyEncodedHostName):
47016         (LayoutTestController::dispatchPendingLoadRequests):
47017         (LayoutTestController::display):
47018         (LayoutTestController::counterValueForElementById):
47019         (LayoutTestController::keepWebHistory):
47020         (LayoutTestController::computedStyleIncludingVisitedInfo):
47021         (LayoutTestController::nodesFromRect):
47022         (LayoutTestController::layerTreeAsText):
47023         (LayoutTestController::pageNumberForElementById):
47024         (LayoutTestController::numberOfPages):
47025         (LayoutTestController::pageProperty):
47026         (LayoutTestController::isPageBoxVisible):
47027         (LayoutTestController::pageSizeAndMarginsInPixels):
47028         (LayoutTestController::webHistoryItemCount):
47029         (LayoutTestController::workerThreadCount):
47030         (LayoutTestController::notifyDone):
47031         (LayoutTestController::pathToLocalResource):
47032         (LayoutTestController::queueLoad):
47033         (LayoutTestController::setAcceptsEditing):
47034         (LayoutTestController::setAlwaysAcceptCookies):
47035         (LayoutTestController::setCustomPolicyDelegate):
47036         (LayoutTestController::waitForPolicyDelegate):
47037         (LayoutTestController::setScrollbarPolicy):
47038         (LayoutTestController::addOriginAccessWhitelistEntry):
47039         (LayoutTestController::removeOriginAccessWhitelistEntry):
47040         (LayoutTestController::setMainFrameIsFirstResponder):
47041         (LayoutTestController::setTabKeyCyclesThroughElements):
47042         (LayoutTestController::setUseDashboardCompatibilityMode):
47043         (LayoutTestController::setUserStyleSheetEnabled):
47044         (LayoutTestController::setUserStyleSheetLocation):
47045         (LayoutTestController::setValueForUser):
47046         (LayoutTestController::setViewModeMediaFeature):
47047         (LayoutTestController::setWindowIsKey):
47048         (LayoutTestController::setSmartInsertDeleteEnabled):
47049         (waitToDumpWatchdogFired):
47050         (LayoutTestController::setWaitToDump):
47051         (LayoutTestController::windowCount):
47052         (LayoutTestController::setPrivateBrowsingEnabled):
47053         (LayoutTestController::setJavaScriptCanAccessClipboard):
47054         (LayoutTestController::setXSSAuditorEnabled):
47055         (LayoutTestController::setFrameFlatteningEnabled):
47056         (LayoutTestController::setSpatialNavigationEnabled):
47057         (LayoutTestController::setAllowUniversalAccessFromFileURLs):
47058         (LayoutTestController::setAllowFileAccessFromFileURLs):
47059         (LayoutTestController::setAuthorAndUserStylesEnabled):
47060         (LayoutTestController::setAutofilled):
47061         (LayoutTestController::disableImageLoading):
47062         (LayoutTestController::setMockDeviceOrientation):
47063         (LayoutTestController::setMockGeolocationPosition):
47064         (LayoutTestController::setMockGeolocationError):
47065         (LayoutTestController::setGeolocationPermission):
47066         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
47067         (LayoutTestController::addMockSpeechInputResult):
47068         (LayoutTestController::setIconDatabaseEnabled):
47069         (LayoutTestController::setJavaScriptProfilingEnabled):
47070         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
47071         (LayoutTestController::setPopupBlockingEnabled):
47072         (LayoutTestController::setPluginsEnabled):
47073         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
47074         (LayoutTestController::execCommand):
47075         (LayoutTestController::findString):
47076         (LayoutTestController::isCommandEnabled):
47077         (LayoutTestController::setCacheModel):
47078         (LayoutTestController::setPersistentUserStyleSheetLocation):
47079         (LayoutTestController::clearPersistentUserStyleSheet):
47080         (LayoutTestController::clearAllApplicationCaches):
47081         (LayoutTestController::setApplicationCacheOriginQuota):
47082         (LayoutTestController::clearApplicationCacheForOrigin):
47083         (LayoutTestController::localStorageDiskUsageForOrigin):
47084         (LayoutTestController::originsWithApplicationCache):
47085         (LayoutTestController::applicationCacheDiskUsageForOrigin):
47086         (LayoutTestController::clearAllDatabases):
47087         (LayoutTestController::setDatabaseQuota):
47088         (LayoutTestController::originsWithLocalStorage):
47089         (LayoutTestController::deleteAllLocalStorage):
47090         (LayoutTestController::deleteLocalStorageForOrigin):
47091         (LayoutTestController::observeStorageTrackerNotifications):
47092         (LayoutTestController::syncLocalStorage):
47093         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
47094         (LayoutTestController::goBack):
47095         (LayoutTestController::setDefersLoading):
47096         (LayoutTestController::setAppCacheMaximumSize):
47097         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
47098         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
47099         (LayoutTestController::sampleSVGAnimationForElementAtTime):
47100         (LayoutTestController::numberOfActiveAnimations):
47101         (LayoutTestController::suspendAnimations):
47102         (LayoutTestController::resumeAnimations):
47103         (LayoutTestController::overridePreference):
47104         (LayoutTestController::addUserScript):
47105         (LayoutTestController::addUserStyleSheet):
47106         (LayoutTestController::setDeveloperExtrasEnabled):
47107         (LayoutTestController::setAsynchronousSpellCheckingEnabled):
47108         (LayoutTestController::showWebInspector):
47109         (LayoutTestController::closeWebInspector):
47110         (LayoutTestController::evaluateInWebInspector):
47111         (LayoutTestController::evaluateScriptInIsolatedWorld):
47112         (LayoutTestController::removeAllVisitedLinks):
47113         (LayoutTestController::callShouldCloseOnWebView):
47114         (LayoutTestController::apiTestNewWindowDataLoadBaseURL):
47115         (LayoutTestController::apiTestGoToCurrentBackForwardItem):
47116         (LayoutTestController::setWebViewEditable):
47117         (LayoutTestController::markerTextForListItem):
47118         (LayoutTestController::authenticateSession):
47119         (LayoutTestController::setEditingBehavior):
47120         (LayoutTestController::abortModal):
47121         (LayoutTestController::hasSpellingMarker):
47122         (LayoutTestController::hasGrammarMarker):
47123         (LayoutTestController::dumpConfigurationForViewport):
47124         (LayoutTestController::setSerializeHTTPLoads):
47125         (LayoutTestController::setMinimumTimerInterval):
47126         (LayoutTestController::setTextDirection):
47127         (LayoutTestController::allowRoundingHacks):
47128
47129 2011-06-24  Vsevolod Vlasov  <vsevik@chromium.org>
47130
47131         Unreviewed, add myself as committer.
47132
47133         * Scripts/webkitpy/common/config/committers.py:
47134
47135 2011-07-03  Sheriff Bot  <webkit.review.bot@gmail.com>
47136
47137         Unreviewed, rolling out r90347.
47138         http://trac.webkit.org/changeset/90347
47139         https://bugs.webkit.org/show_bug.cgi?id=63886
47140
47141         Build breaks on Leopard, Chromium-win, WinCairo, and WinCE.
47142         (Requested by tkent on #webkit).
47143
47144         * DumpRenderTree/ForwardingHeaders/wtf/StdLibExtras.h: Removed.
47145
47146 2011-07-03  Daniel Bates  <dbates@webkit.org>
47147
47148         Import Checkout in scm_unittests.py and logging in svn.py to fix
47149         Python missing global variable errors
47150
47151         Rubber-stamped by Adam Barth.
47152
47153         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: Import Checkout.
47154         * Scripts/webkitpy/common/checkout/scm/svn.py: Import logging.
47155
47156 2011-07-02  Gavin Barraclough  <barraclough@apple.com>
47157
47158         Reviewed by Sam Weinig.
47159
47160         https://bugs.webkit.org/show_bug.cgi?id=16652
47161         Firefox and JavaScriptCore differ in Number.toString(integer)
47162
47163         Added forwarding header.
47164
47165         * DumpRenderTree/ForwardingHeaders/wtf/StdLibExtras.h: Added.
47166
47167 2011-04-02  Robert Hogan  <robert@webkit.org>
47168
47169         Reviewed by Benjamin Poulain.
47170
47171         [Qt] Support third-party cookie policy for Qt clients
47172         https://bugs.webkit.org/show_bug.cgi?id=45455
47173
47174         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
47175         (LayoutTestController::reset):
47176         (LayoutTestController::setAlwaysAcceptCookies):
47177         (LayoutTestController::setAlwaysBlockCookies):
47178         * DumpRenderTree/qt/LayoutTestControllerQt.h:
47179
47180 2011-07-03  Adam Barth  <abarth@webkit.org>
47181
47182         Factor ReflectionHandler out of the rebaseline server.  Just code motion.
47183
47184         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
47185         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
47186         * Scripts/webkitpy/tool/servers/reflectionhandler.py: Added.
47187
47188 2011-07-03  Adam Barth  <abarth@webkit.org>
47189
47190         Move the rebaseline server out of the commands package and into the
47191         (new) servers package.  This patch prepares for refactoring this code
47192         to share server infrastructure with the (forthcoming) garden-o-matic
47193         command.
47194
47195         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
47196         * Scripts/webkitpy/tool/servers/__init__.py: Added.
47197         * Scripts/webkitpy/tool/servers/data/rebaselineserver/loupe.js:
47198         * Scripts/webkitpy/tool/servers/data/rebaselineserver/main.css:
47199         * Scripts/webkitpy/tool/servers/data/rebaselineserver/queue.js:
47200         * Scripts/webkitpy/tool/servers/rebaselineserver.py: Added.
47201
47202 2011-07-01  Adam Barth  <abarth@webkit.org>
47203
47204         Fix typo in master.cfg, hoping to trigger a master restart.
47205
47206         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
47207
47208 2011-07-01  Adam Barth  <abarth@webkit.org>
47209
47210         Turn off new-run-webkit-tests and remove some debug logging.
47211
47212         * Scripts/run-webkit-tests:
47213         * Scripts/webkitpy/layout_tests/port/http_lock.py:
47214
47215 2011-07-01  Adam Barth  <abarth@webkit.org>
47216
47217         Add some more debug logging to try to understand why we're getting
47218         stuck acquring the HTTP lock.
47219
47220         * Scripts/webkitpy/layout_tests/port/http_lock.py:
47221
47222 2011-07-01  Adam Barth  <abarth@webkit.org>
47223
47224         Refactor NRWT parsing logic in master.cfg to understand that run-webkit-tests might run NRWT
47225         https://bugs.webkit.org/show_bug.cgi?id=63854
47226
47227         Reviewed by Dirk Pranke.
47228
47229         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
47230
47231 2011-07-01  Eric Seidel  <eric@webkit.org>
47232
47233         new-run-webkit-tests results does not understand that mac uses test_expectations files
47234         https://bugs.webkit.org/show_bug.cgi?id=63838
47235
47236         Reviewed by Adam Barth.
47237
47238         We've decided to "enable" test_expectations for the Mac port for now.
47239         It makes the results.html results much more confusing to read, but at least they're
47240         no longer lying to us.
47241
47242         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47243         * Scripts/webkitpy/layout_tests/port/base.py:
47244         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
47245
47246 2011-07-01  Adam Barth  <abarth@webkit.org>
47247
47248         Temporarily disable waiting for ReportCrash to see how this code
47249         affects performance on the bots.
47250
47251         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47252         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
47253
47254 2011-07-01  Dmitry Lomov  <dslomov@google.com>
47255
47256         Reviewed by Adam Roben.
47257
47258         https://bugs.webkit.org/show_bug.cgi?id=63818
47259         Test bots shouldn't attempt to build TestWebKitAPI on Windows.
47260         TestWebKitAPI builds as a part of general webkit build and is a
47261         part of build products archive.
47262
47263         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
47264         * Scripts/run-api-tests:
47265
47266 2011-07-01  Adam Barth  <abarth@webkit.org>
47267
47268         We shouldn't wait for ReportCrash while the timeout is running
47269         https://bugs.webkit.org/show_bug.cgi?id=63837
47270
47271         Reviewed by Eric Seidel.
47272
47273         Instead, we should move this check to worker.py.
47274
47275         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
47276         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
47277
47278 2011-07-01  Adam Roben  <aroben@apple.com>
47279
47280         Stop setting unsafe headers on POSTs via XHR from TestFailures page
47281
47282         Fixes <http://webkit.org/b/63833> TestFailures page causes a bunch of spew in the
47283         Inspector's console about unsafe headers
47284
47285         Reviewed by Dan Bates.
47286
47287         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
47288         (fetchResource): Removed unnecessary code to set Content-Length and Connection headers.
47289
47290 2011-07-01  Eric Seidel  <eric@webkit.org>
47291
47292         Reviewed by Adam Barth.
47293
47294         Switch Snow Leopard over to new-run-webkit-tests (except for wk2)
47295         https://bugs.webkit.org/show_bug.cgi?id=63786
47296
47297         We're down to one bug blocking the "move to NRWT" bug:
47298         https://bugs.webkit.org/show_bug.cgi?id=34984
47299         so we're trying transitioning Snow Leopard to NRWT as an experiment.
47300
47301         If we run into any blocking issues we'll of course roll this back out
47302         (or anyone reading this should feel encouraged to).
47303
47304         * Scripts/run-webkit-tests:
47305
47306 2011-07-01  Adam Barth  <abarth@webkit.org>
47307
47308         Add a compat shim for --leaks.  Support for --leaks will be added in
47309         https://bugs.webkit.org/show_bug.cgi?id=63832.
47310
47311         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
47312
47313 2011-07-01  Adam Barth  <abarth@webkit.org>
47314
47315         Reviewed by Darin Adler.
47316
47317         ReportCrash destabilizes new-run-webkit-tests
47318         https://bugs.webkit.org/show_bug.cgi?id=63795
47319
47320         ReportCrash chews up too many system resources that it destablizes
47321         tests run concurrently.  This patch causes us to spin down all the
47322         worker processes when ReportCrash is running.
47323
47324         Also, this patch causes the master process to tell the user we're
47325         waiting for the crash reporter rather than having that be the worker's
47326         job.  This stops the user from getting spammed with too many "waiting
47327         for crash reporter" messages and also cleans up some minor UI issues
47328         with the meter.
47329
47330         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47331         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
47332         * Scripts/webkitpy/layout_tests/port/base.py:
47333         * Scripts/webkitpy/layout_tests/port/server_process.py:
47334
47335 2011-07-01  Adam Roben  <aroben@apple.com>
47336
47337         Teach webkitpy about the new format of our ChangeLog template
47338
47339         r90229 moved the "Need a short description and bug URL" line to the top of the ChangeLog
47340         template. But webkitpy didn't know this, so the various rollout-related commands were
47341         leaving that line in the ChangeLog.
47342
47343         Fixes <http://webkit.org/b/63815> REGRESSION (r90229): webkit-patch rollout and sheriffbot
47344         rollout are broken
47345
47346         Reviewed by Dan Bates.
47347
47348         * Scripts/webkitpy/common/checkout/changelog.py:
47349         (ChangeLog.update_with_unreviewed_message): Changed to look for the "Need a short
47350         description and bug URL" line instead of the "Reviewed by" line as the first line of the
47351         ChangeLog template.
47352
47353         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
47354         (ChangeLogTest): Updated _new_entry_boilerplate to match what prepare-ChangeLog now
47355         generates.
47356
47357 2011-07-01  Adam Roben  <aroben@apple.com>
47358
47359         Make TestFailures stop loading old builds once we've explained all current failures
47360
47361         We used to do this, but some refactoring in r90165 broke this logic.
47362
47363         Fixes <http://webkit.org/b/63808> REGRESSION (r90165): TestFailures page always loads all
47364         builds back to the beginning of time
47365
47366         Reviewed by Dan Bates.
47367
47368         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
47369         (LayoutTestHistoryAnalyzer.prototype.start): Stop fetching old builds once we're told that
47370         all current failures have been explained.
47371
47372 2011-07-01  Adam Roben  <aroben@apple.com>
47373
47374         commit-log-editor reorders ChangeLog entries in unexpected ways
47375         https://bugs.webkit.org/show_bug.cgi?id=63804
47376
47377         Reviewed by Darin Adler.
47378
47379         commit-log-editor was changed in r46899 to move the bug title and URL to the top of the
47380         commit message in order to make git-based tools, which expect the first line of the commit
47381         message to be a summary of the change, to work better. But this reordering of the ChangeLog
47382         entry was unpredictable and unexpected.
47383
47384         I changed prepare-ChangeLog to put the bug title and URL at the top of the ChangeLog entry
47385         so that commit-log-editor doesn't have to move them. Then I changed commit-log-editor not to
47386         try to move them.
47387
47388         * Scripts/commit-log-editor: Partially reverted r46899. We no longer save the "Reviewed by"
47389         line and try to move it down below the bug title and URL. The order of the text in the
47390         ChangeLog is now preserved, except that we insert a "Patch by" line just above the "Reviewed
47391         by" line in cases where the committer and author are not the same person.
47392
47393         * Scripts/prepare-ChangeLog: Moved the "Reviewed by" line down below the bug title and URL.
47394
47395 2011-07-01  Mihnea Ovidenie  <mihnea@adobe.com>
47396
47397         Reviewed by Adam Roben.
47398
47399         [CSSRegions] Add build slave
47400         https://bugs.webkit.org/show_bug.cgi?id=62372
47401
47402         * BuildSlaveSupport/build.webkit.org-config/config.json:
47403         Add an entry for a release build of Mac.
47404
47405 2011-07-01  Sheriff Bot  <webkit.review.bot@gmail.com>
47406
47407         Unreviewed, rolling out r90213.
47408         http://trac.webkit.org/changeset/90213
47409         https://bugs.webkit.org/show_bug.cgi?id=63792
47410
47411         The SL bot has an errant HTTP server holding port 8080
47412         (Requested by abarth on #webkit).
47413
47414         * Scripts/run-webkit-tests:
47415
47416 2011-07-01  Carlos Garcia Campos  <cgarcia@igalia.com>
47417
47418         Unreviewed. Fix WebKit2 GTK build after r90163.
47419
47420         * MiniBrowser/gtk/WebBundle/WebBundleMain.c:
47421         (didCreatePage):
47422
47423 2011-07-01  Adam Barth  <abarth@webkit.org>
47424
47425         Exit faster when we get a keyboard interrupt.  Previously, we'd open
47426         Safari if you ^C NRWT after it found a failure.
47427
47428         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47429
47430 2011-07-01  Eric Seidel  <eric@webkit.org>
47431
47432         Reviewed by Adam Barth.
47433
47434         Switch Snow Leopard over to new-run-webkit-tests (except for wk2)
47435         https://bugs.webkit.org/show_bug.cgi?id=63786
47436
47437         We're down to one bug blocking the "move to NRWT" bug:
47438         https://bugs.webkit.org/show_bug.cgi?id=34984
47439         so we're trying transitioning Snow Leopard to NRWT as an experiment.
47440
47441         If we run into any blocking issues we'll of course roll this back out
47442         (or anyone reading this should feel encouraged to).
47443
47444         * Scripts/run-webkit-tests:
47445
47446 2011-07-01  Sheriff Bot  <webkit.review.bot@gmail.com>
47447
47448         Unreviewed, rolling out r90192.
47449         http://trac.webkit.org/changeset/90192
47450         https://bugs.webkit.org/show_bug.cgi?id=63788
47451
47452         Appears to have caused NRWT on Chromium WebKit Vista to hang
47453         (Requested by abarth on #webkit).
47454
47455         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47456         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
47457
47458 2011-06-30  Adam Barth  <abarth@webkit.org>
47459
47460         Reviewed by Eric Seidel.
47461
47462         Remove the concept of "being wedged" from new-run-webkit-tests
47463         https://bugs.webkit.org/show_bug.cgi?id=63767
47464
47465         Worker processes shouldn't ever become wedged.  My understanding is
47466         that this code was originally motivated by the old threading-based
47467         design but no longer servers any purpose.
47468
47469         Note: If we actually have a problem with the test harness getting
47470         stuck, buildbot will kill us.
47471
47472         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47473         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
47474         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
47475
47476 2011-06-30  Adam Barth  <abarth@webkit.org>
47477
47478         The win32 implementation of fork is sad about forking test-webkitpy.
47479         Hopefully this will heal the bot.
47480
47481         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
47482
47483 2011-06-30  Eric Seidel  <eric@webkit.org>
47484
47485         Reviewed by Adam Barth.
47486
47487         Update new-run-webkit-tests now that the wk2 shared skipped list has moved
47488         https://bugs.webkit.org/show_bug.cgi?id=63780
47489
47490         The shared list was moved from mac-wk2 to wk2 as part of
47491         http://trac.webkit.org/changeset/90125.
47492
47493         * Scripts/webkitpy/layout_tests/port/webkit.py:
47494         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
47495
47496 2011-06-30  Kenichi Ishibashi  <bashi@chromium.org>
47497
47498         Reviewed by Darin Adler.
47499
47500         Style Checker should flag removal of "developmentRegion = English;" from project.pbxproj.
47501         https://bugs.webkit.org/show_bug.cgi?id=62022
47502
47503         Adds XcodeProjectFileChecker to check removal of "developmentRegion".
47504
47505         * Scripts/webkitpy/style/checker.py: Added XcodeProjectFileChecker as a checker for *.pbxproj.
47506         * Scripts/webkitpy/style/checkers/xcodeproj.py: Added.
47507         * Scripts/webkitpy/style/checkers/xcodeproj_unittest.py: Added.
47508
47509 2011-06-30  Dirk Pranke  <dpranke@chromium.org>
47510
47511         Reviewed by Ojan Vafai.
47512
47513         nrwt: make sharding tests needing locks less hard-coded
47514         https://bugs.webkit.org/show_bug.cgi?id=63112
47515
47516         This change also changes the manager logic so that it will
47517         drop the server lock as soon as all of the shards requiring
47518         the lock have completed.
47519
47520         This change includes some minor namespace/import changes in the
47521         unit tests, and also makes the Manager a new-style object, which
47522         it should've been all along.
47523
47524         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47525         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
47526
47527 2011-06-30  Adam Barth  <abarth@webkit.org>
47528
47529         Reviewed by Eric Seidel.
47530
47531         Remove threaded mode from new-run-webkit-tests
47532         https://bugs.webkit.org/show_bug.cgi?id=63771
47533
47534         This mode is not used and is buggy.  Rather than carry around a bunch
47535         of unused buggy code, we should rip it out and focus on the
47536         multiprocess implementation.
47537
47538         * Scripts/webkitpy/common/system/executive.py:
47539         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
47540         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
47541         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
47542         * Scripts/webkitpy/layout_tests/port/base.py:
47543         * Scripts/webkitpy/layout_tests/port/chromium.py:
47544         * Scripts/webkitpy/layout_tests/port/mac.py:
47545         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
47546         * Scripts/webkitpy/layout_tests/port/server_process.py:
47547         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
47548         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
47549
47550 2011-06-30  Adam Barth  <abarth@webkit.org>
47551
47552         Reviewed by Darin Adler.
47553
47554         Clean up output from new-run-webkit-tests
47555         https://bugs.webkit.org/show_bug.cgi?id=63759
47556
47557         Printing messages from the child process looks super ugly because of
47558         the way the pretty-printer works.  Printing a blank line first is a
47559         hack, but it makes things at least partially sane.
47560
47561         Also, handle the case where calling sample throws an exception.
47562
47563         * Scripts/webkitpy/layout_tests/port/server_process.py:
47564         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
47565
47566 2011-06-27  Diego Gonzalez  <diegohcg@webkit.org>
47567
47568         Reviewed by Antonio Gomes.
47569
47570         [Qt] DRT: Provide LayoutTestController::setDefersLoading and ::goBack support
47571         https://bugs.webkit.org/show_bug.cgi?id=63489
47572
47573         Unskipped:
47574             loader/navigation-while-deferring-loads.html
47575
47576         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
47577         (LayoutTestController::goBack):
47578         (LayoutTestController::setDefersLoading):
47579         * DumpRenderTree/qt/LayoutTestControllerQt.h:
47580
47581 2011-06-30  Adam Barth  <abarth@webkit.org>
47582
47583         Reviewed by Dirk Pranke.
47584
47585         new-run-webkit-tests should stop when I ^C it
47586         https://bugs.webkit.org/show_bug.cgi?id=63763
47587
47588         It still doesn't stop fast enough, but at least with this patch it
47589         doesn't run more tests.
47590
47591         Also, I tweaked the UI that happens when there's a keyboard interrupt
47592         to not be amazingly ugly.  There's still a garbage "Te" left on the
47593         console, but that's a problem for another day.
47594
47595         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
47596
47597 2011-06-30  Adam Roben  <aroben@apple.com>
47598
47599         Make TestFailures never treat a too-many-failures build as a last-passing build for a test
47600
47601         Fixes <http://webkit.org/b/63758> TestFailures sometimes incorrectly says that a build was
47602         the last passing build for a test, when in fact the test wasn't run due to too many failures
47603         causing old-run-webkit-tests to exit early
47604
47605         Reviewed by Anders Carlsson.
47606
47607         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
47608         (LayoutTestHistoryAnalyzer.prototype._incorporateBuildHistory): If there were too many
47609         failures in this build, assume that all the tests failed in the last build would have failed
47610         in this build, too, had they been run. Introduced some new local variables to reduce typing,
47611         and used them throughout.
47612
47613         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
47614         (LayoutTestResultsLoader.prototype.start): Fix a regression from r89841 where we wouldn't
47615         correctly remember whether old-run-webkit-tests exited early due to too many failures for
47616         builds older than r89610. Also removed an unused parameter while I was at it.
47617
47618 2011-06-30  Adam Roben  <aroben@apple.com>
47619
47620         Make TestFaiulres only load old-results directories as needed
47621
47622         Fixes <http://webkit.org/b/63752> Tester pages on TestFailures page load very slowly
47623
47624         Reviewed by Anders Carlsson.
47625
47626         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
47627         (Builder.prototype.getBuildNames): Moved up into the API section of the class. Now just
47628         calls through to _getBuildNamesFromResultsDirectory.
47629         (Builder.prototype.getOldBuildNames): Added. Just calls through to
47630         _getBuildNamesFromResultsDirectory.
47631         (Builder.prototype._getBuildNamesFromResultsDirectory): Renamed from getBuildNames. Now
47632         takes the directory URL as an argument and only fetches that single URL.
47633
47634         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
47635         (LayoutTestHistoryAnalyzer.prototype.start): Moved most logic to _analyzeBuilds. First
47636         analyzes builds from Builder.getBuildNames, then from Builder.getOldBuildNames if needed.
47637         (LayoutTestHistoryAnalyzer.prototype._analyzeBuilds): Moved logic here from start. (Most
47638         changes are just indentation.) Now takes a callback to call when we've finished analyzing
47639         all builds in buildNames so that we can try to fetch more build names if needed.
47640
47641 2011-06-30  Mark Rowe  <mrowe@apple.com>
47642
47643         Reviewed by Anders Carlsson.
47644
47645         Update MiniBrowser and WebKitTestRunner to use the client version constants.
47646
47647         * MiniBrowser/gtk/BrowserWindow.c:
47648         (browserWindowLoaderClientInit):
47649         (browserWindowUIClientInit):
47650         * MiniBrowser/gtk/WebBundle/WebBundleMain.c:
47651         (didCreatePage):
47652         (WKBundleInitialize):
47653         * MiniBrowser/gtk/main.c:
47654         (createWKContextWithInjectedBundle):
47655         * MiniBrowser/mac/AppDelegate.m:
47656         (-[BrowserAppDelegate init]):
47657         * MiniBrowser/mac/BrowserWindowController.m:
47658         (-[BrowserWindowController awakeFromNib]):
47659         * MiniBrowser/mac/WebBundle/WebBundleMain.m:
47660         (WKBundleInitialize):
47661         * MiniBrowser/win/BrowserView.cpp:
47662         (BrowserView::create):
47663         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
47664         (WTR::InjectedBundle::initialize):
47665         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
47666         (WTR::InjectedBundlePage::InjectedBundlePage):
47667         * WebKitTestRunner/TestController.cpp:
47668         (WTR::TestController::createOtherPage):
47669         (WTR::TestController::initialize):
47670
47671 2011-06-30  Adam Roben  <aroben@apple.com>
47672
47673         Identify revisions that modified failing tests on TestFailures page
47674
47675         Fixes <http://webkit.org/b/63716> TestFailures page should try to infer which commit caused
47676         a failure by looking at commit logs
47677
47678         Reviewed by David Kilzer.
47679
47680         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
47681         (.existing-bugs-list, .suspect-revisions-list): Made this rule apply to the suspect
47682         revisions list, too.
47683
47684         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
47685         (Trac): Initialize our memory cache.
47686         (Trac.prototype.getCommitDataForRevisionRange): Added. Fetches the commit log in RSS form,
47687         then parses out the revision number, Trac's idea of the commit title, and the files modified
47688         by the commit. (To get the modified files, we rely on the commit message including a
47689         prepare-ChangeLog-style file list.)
47690         (Trac.prototype.logURL): Added a new formatAsRSS parameter.
47691
47692         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
47693         (removePathExtension): Added. Returns a new string with the last dot and everything after it
47694         removed.
47695         (sorted): Added sortFunction parameter.
47696         (Node.prototype.removeAllChildren): Added. Does what it says.
47697
47698         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47699         (ViewController.prototype._displayBuilder): Updated for change to _domForRegressionRange.
47700         (ViewController.prototype._domForRegressionRange): Changed argument order to match
47701         _domForNewAndExistingBugs. Now takes the list of failing tests and uses it to figure out
47702         which revisions modified the failing tests and displays the suspect revisions in a list.
47703
47704 2011-06-30  Eric Seidel  <eric@webkit.org>
47705
47706         Reviewed by Adam Barth.
47707
47708         Rename should_kill_dump_render_tree to driver_needs_restart in preparation for supporting WebKitTestRunner
47709         https://bugs.webkit.org/show_bug.cgi?id=63743
47710
47711         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
47712         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
47713
47714 2011-06-30  Martin Robinson  <mrobinson@igalia.com>
47715
47716         Reviewed by Anders Carlsson.
47717
47718         [GTK] Crash observed with nspluginwrapper and flash
47719         https://bugs.webkit.org/show_bug.cgi?id=62249
47720
47721         Added a TestNetscapePlugin test which verifies that WebKit properly
47722         handles situations where InvalidateRect is called with a null instance.
47723
47724         * DumpRenderTree/TestNetscapePlugIn/Tests/x11/CallInvalidateRectWithNullNPPArgument.cpp: Added.
47725         (CallInvalidateRectWithNullNPPArgument::CallInvalidateRectWithNullNPPArgument):
47726         (CallInvalidateRectWithNullNPPArgument::NPP_New):
47727         * GNUmakefile.am: Add the new file to sources list.
47728
47729 2011-06-30  Eric Seidel  <eric@webkit.org>
47730
47731         Reviewed by Adam Barth.
47732
47733         Remove redundant tests in TestFailuresTest
47734         https://bugs.webkit.org/show_bug.cgi?id=63742
47735
47736         These tests are all already covered by TestFailuresTest.test_loads.
47737         I also added the missing "T" from TestFailuresest. :)
47738
47739         * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
47740
47741 2011-06-30  Adam Barth  <abarth@webkit.org>
47742
47743         Reviewed by Eric Seidel.
47744
47745         REGRESSION(r84294): new-run-webkit-tests results.html generate links to diffs.html or diff.png that don't exist
47746         https://bugs.webkit.org/show_bug.cgi?id=63494
47747
47748         This patch does two things:
47749
47750         1) Refactor diff_image to return the image diff instead of writing the
47751         diff to a file.  This fixes a bunch of hacks and disentangles a bunch
47752         of code.
47753
47754         2) When there's a checksum mismatch but not image diff, we no longer
47755         report an IMAGE failure to results.html.  That fixes the bug in
47756         question because results.html won't try to link to a non-existent image
47757         diff.
47758
47759         * Scripts/webkitpy/common/system/executive_mock.py:
47760         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
47761         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
47762         * Scripts/webkitpy/layout_tests/port/base.py:
47763         * Scripts/webkitpy/layout_tests/port/chromium.py:
47764         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
47765         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
47766         * Scripts/webkitpy/layout_tests/port/test.py:
47767         * Scripts/webkitpy/layout_tests/port/webkit.py:
47768         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
47769         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
47770
47771 2011-06-28  Hans Wennborg  <hans@chromium.org>
47772
47773         Reviewed by Tony Chang.
47774
47775         IndexedDB: Prepare for running layout tests with LevelDB
47776         https://bugs.webkit.org/show_bug.cgi?id=63593
47777
47778         The TestShell must always provide a temporary folder for LevelDB,
47779         not just when the backing store type is overridden.
47780
47781         * DumpRenderTree/chromium/LayoutTestController.cpp:
47782         (LayoutTestController::setOverrideIndexedDBBackingStore):
47783         (LayoutTestController::clearAllDatabases):
47784         * DumpRenderTree/chromium/LayoutTestController.h:
47785         * DumpRenderTree/chromium/TestShell.cpp:
47786         (TestShell::TestShell):
47787         * DumpRenderTree/chromium/TestShell.h:
47788
47789 2011-06-30  Zsolt Fehér  <h490267@stud.u-szeged.hu>
47790
47791         Reviewed by Csaba Osztrogonác.
47792
47793         [WK2] Create a general wk2 specific LayoutTests/platform/wk2 platform
47794         qt-wk2, win-wk2, mac-wk2 use this common Skipped list too
47795         https://bugs.webkit.org/show_bug.cgi?id=61785 
47796
47797         * Scripts/old-run-webkit-tests:
47798
47799 2011-06-30  Adam Roben  <aroben@apple.com>
47800
47801         Use a colon to separate test names from failure info on TestFailures
47802
47803         This matches how the "Possibly Flaky Tests" list works, and is much prettier when the
47804         failure info itself includes parentheses.
47805
47806         Fixes <http://webkit.org/b/63722> Crashing symbols on TestFailures page look ugly due to
47807         double parentheses
47808
47809         Reviewed by Darin Adler.
47810
47811         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47812         (ViewController.prototype._domForFailedTest): Use a colon instead of surrounding the failure
47813         info in parentheses.
47814
47815 2011-06-30  Adam Roben  <aroben@apple.com>
47816
47817         Robustify PersistentCache against cached data that contains the string ': '
47818
47819         Fixes <http://webkit.org/b/63721> Exceptions thrown while loading TestFailures page due to
47820         passing a bad string to JSON.parse
47821
47822         Reviewed by Darin Adler.
47823
47824         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/PersistentCache.js:
47825         (PersistentCache._parseDateAndJSONFromString): Manually split the string on the separator
47826         using indexOf and substring. (String.prototype.split always splits on all instances of the
47827         separator.)
47828
47829 2011-06-30  Adam Roben  <aroben@apple.com>
47830
47831         Include the crashing symbol in crash logs links on TestFailures
47832
47833         Fixes <http://webkit.org/b/63465> Links to crash logs on TestFailures page should include
47834         the crashing symbol (like links in results.html do)
47835
47836         Reviewed by David Kilzer.
47837
47838         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
47839         (LayoutTestResultsLoader.prototype.start): Bumped the cache version because we now store
47840         crashing symbols for crashing tests. Renamed testsForResultTable to parseResultTable because
47841         it now returns more than just the test names. Specifically, it now looks for crash log links
47842         and extracts the crashing symbol name from them. Updated callers of parseResultTable to
47843         match its new behavior. Changed to store the crashing symbol along with the failure type in
47844         the data we pass to the callback for tests which crashed.
47845
47846         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
47847         (code): Make <code> elements a little smaller because their contents can be quite long.
47848
47849         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47850         (ViewController.prototype._domForFailureDiagnosis): Include the crashing symbol inside a
47851         <code> element in the link, if there is a crashing symbol.
47852
47853 2011-06-30  Adam Roben  <aroben@apple.com>
47854
47855         Use objects instead of strings to represent a test result in TestFailures code
47856
47857         This will eventually allow us to store more than just the type of failure for each test.
47858         (E.g., we can store the name of the crashing symbol for tests which crashed.)
47859
47860         Prep work for <http://webkit.org/b/63465> Links to crash logs on TestFailures page should
47861         include the crashing symbol (like links in results.html do)
47862
47863         Reviewed by David Kilzer.
47864
47865         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
47866         (Builder.prototype.failureDiagnosisTextAndURL): Changed to expect a testResult object
47867         instead of just a failureType string.
47868
47869         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js:
47870         (FlakyLayoutTestDetector.prototype.incorporateTestResults): Changed to store a
47871         testResult-like object for passing tests.
47872         (FlakyLayoutTestDetector.prototype.flakinessExamples): Changed to expect testResult-like
47873         objects.
47874
47875         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
47876         (LayoutTestResultsLoader.prototype.start): Store a version number along with the cached data
47877         so we can throw away cached data that's in an old format. Store a testResult object for each
47878         test instead of just its failure type.
47879
47880         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47881         (ViewController.prototype._domForFailedTest):
47882         (ViewController.prototype._domForFailureDiagnosis):
47883         Changed to expect testResult objects instead of failureType strings.
47884
47885 2011-06-30  Adam Roben  <aroben@apple.com>
47886
47887         Show full commit logs when visiting Trac from TestFailures page
47888
47889         Fixes <http://webkit.org/b/63715> Links to Trac on TestFailures page
47890         should show full commit logs
47891
47892         Reviewed by David Kilzer.
47893
47894         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
47895         (Trac.prototype.logURL): Added new 'showFullCommitLogs' parameter. When specified, we add
47896         verbose=on to the log URL to tell Trac to show full commit logs.
47897
47898         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47899         (ViewController.prototype._domForRegressionRange): Specify true for showFullCommitLogs.
47900
47901 2011-06-30  Adam Roben  <aroben@apple.com>
47902
47903         Add a link to file a bug about TestFailures to the TestFailures page
47904
47905         Fixes <http://webkit.org/b/63466> TestFailures page should include a link to file a bug
47906         about TestFailures itself
47907
47908         Reviewed by Anders Carlsson.
47909
47910         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
47911         (aside): Added some styles for the new link. It is positioned in the upper-right and
47912         hopefully not to glaringly obvious.
47913
47914         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47915         (ViewController.prototype.loaded): Set up our main content element and auxiliary UI.
47916
47917         (ViewController.prototype._displayBuilder):
47918         (ViewController.prototype._displayTesters):
47919         Modify the main content element instead of the entire body, as there are other things in the
47920         body that we want to preserve.
47921
47922         (ViewController.prototype._domForAuxiliaryUIElements): Create and return an <aside> element
47923         that contains a link to file a bug about the TestFailures page.
47924
47925 2011-06-30  Adam Roben  <aroben@apple.com>
47926
47927         Ignore callbacks that correspond to old navigations of the TestFailures page
47928
47929         Fixes <http://webkit.org/b/63711> TestFailures page sometimes ignores back/forward
47930         navigations
47931
47932         Reviewed by Anders Carlsson.
47933
47934         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
47935         (LayoutTestHistoryAnalyzer.prototype.start): Check the return value of the callback. If the
47936         callback returns false, stop fetching more data.
47937
47938         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
47939         (ViewController): Initialize new _navigationID member. This member is used to assign each
47940         navigation by the user a unique ID.
47941         (ViewController.prototype.parseHash): Increment the navigation ID.
47942
47943         (ViewController.prototype._displayBuilder):
47944         (ViewController.prototype._displayTesters):
47945         At the start of these functions, record the current navigation ID. Bail out from callbacks
47946         if the navigation ID has changed, indicating that the user has navigated elsewhere.
47947
47948 2011-06-30  Carlos Garcia Campos  <cgarcia@igalia.com>
47949
47950         Reviewed by Martin Robinson.
47951
47952         [GTK] Add back/forward menu to MiniBrowser toolbar
47953         https://bugs.webkit.org/show_bug.cgi?id=63445
47954
47955         * MiniBrowser/gtk/BrowserWindow.c:
47956         (browser_window_init): Use a GtkMenuToolButton for navigation
47957         widgets.
47958         (browserWindowConstructed): Get the page BackForwardList.
47959         (browserWindowHistoryItemActivated): Go to activated history item.
47960         (browserWindowHistoryItemSelected): Show the url of currently
47961         selected history item in the statusbar.
47962         (createGtkActionFromBackForwardItem): Create a GtkAction from a
47963         WKBackForwardListItemRef.
47964         (browserWindowCreateMenuItemFromBackForwardItem): Create a
47965         GtkMenuItem from a WKBackForwardListItemRef.
47966         (browserWindowCreateBackForwardMenu): Create a GtkMenu with the
47967         given history items.
47968         (browserWindowUpdateNavigationActions): Update navigation widgets
47969         sensitivity and history menus.
47970         (didChangeBackForwardList): Call
47971         browserWindowUpdateNavigationActions().
47972         (browserWindowLoaderClientInit): Add didChangeBackForwardList
47973         callback.
47974
47975 2011-06-30  Dmitry Lomov  <dslomov@google.com>
47976
47977         Reviewed by Adam Roben.
47978
47979         https://bugs.webkit.org/show_bug.cgi?id=63660
47980         This enables unit-tests step on Windows and MacOS SnowLeopard.
47981
47982         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
47983
47984 2011-06-30  Balazs Kelemen  <kbalazs@webkit.org>
47985
47986         Reviewed by Kenneth Rohde Christiansen.
47987
47988         [Qt][WK2] Implement the rest of WTR::PlatformWebView
47989         https://bugs.webkit.org/show_bug.cgi?id=63630
47990
47991         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
47992         (WTR::PlatformWebView::windowFrame):
47993         (WTR::PlatformWebView::setWindowFrame):
47994
47995 2011-06-29  Dirk Pranke  <dpranke@chromium.org>
47996
47997         Reviewed by Adam Barth.
47998
47999         test-webkitpy is spamming lots of messages about updating test expectations
48000         https://bugs.webkit.org/show_bug.cgi?id=63680
48001
48002         This patch changes the passing_run() function to capture the
48003         output to stdout and stderr and assert that it is empty, and
48004         also specifies --no-new-test-results by default to avoid getting
48005         "generating baseline" messages for the expected-missing results.
48006
48007         Also check that we are logging messages when we generate new
48008         baselines.
48009
48010         Also fix a minor bug in the way test_tolerance() was
48011         checking for whether the tests were passing or not.
48012
48013         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
48014
48015 2011-06-29  Yuta Kitamura  <yutak@chromium.org>
48016
48017         Reviewed by Kent Tamura.
48018
48019         DRT: Make Hixie76WebSocketProtocolEnabled preference flag configurable from LayoutTestController
48020         https://bugs.webkit.org/show_bug.cgi?id=63532
48021
48022         LayoutTestController::overridePreference() will be used to change the value of
48023         the Hixie76WebSocketProtocolEnabled preference flag from layout tests. In this way,
48024         we can avoid writing a lot of boilerplate code in each port's DumpRenderTree, but
48025         at least we need to reset preference values in DumpRenderTree every time we start
48026         a new test because preference values changed in some test should not be leaked
48027         to the next test.
48028
48029         * DumpRenderTree/chromium/LayoutTestController.cpp:
48030         (LayoutTestController::overridePreference):
48031         The name of preference key is defined in WebKit/{mac/WebView,win}/WebPreferenceKeysPrivate.h.
48032         * DumpRenderTree/chromium/WebPreferences.cpp:
48033         (WebPreferences::reset):
48034         Set the default value. This will be called from TestShell::resetTestController().
48035         (WebPreferences::applyTo):
48036         * DumpRenderTree/chromium/WebPreferences.h:
48037         * DumpRenderTree/mac/DumpRenderTree.mm:
48038         (resetDefaultsToConsistentValues): Set the default value.
48039         * DumpRenderTree/win/DumpRenderTree.cpp:
48040         (resetDefaultsToConsistentValues): Ditto.
48041
48042 2011-06-29  Kenichi Ishibashi  <bashi@chromium.org>
48043
48044         Reviewed by Adam Barth.
48045
48046         check-webkit-style fails to detect https://webkit.org/b/XXXXX as a bug number
48047         https://webkit.org/b/57360
48048
48049         Modify the regular expression to match https scheme.
48050
48051         * Scripts/webkitpy/common/checkout/changelog_unittest.py: Added a test case for https://webkit.org/b/XXXXX.
48052         * Scripts/webkitpy/common/config/urls.py: Modified bug_url_short to match https scheme.
48053
48054 2011-06-29  Adam Barth  <abarth@webkit.org>
48055
48056         Reviewed by Eric Seidel.
48057
48058         new-run-webkit-tests: images page switch actual and expected images before they're loaded
48059         https://bugs.webkit.org/show_bug.cgi?id=63199
48060
48061         We now preload the images and keep the DOM nodes in memory instead of
48062         going back to the MemoryCache all the time.  (Also, remove some nutty
48063         </img> HTML.)
48064
48065         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
48066
48067 2011-06-29  Adam Barth  <abarth@webkit.org>
48068
48069         Reviewed by Eric Seidel.
48070
48071         new-run-webkit-tests should tell you when it creates new expectations
48072         https://bugs.webkit.org/show_bug.cgi?id=63675
48073
48074         Unforunately, this patch creates a bunch of test-webkitpy spam because
48075         we don't understand how Python logging works well enough to stop the
48076         spam.  :(
48077
48078         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
48079
48080 2011-06-29  Eric Seidel  <eric@webkit.org>
48081
48082         Reviewed by Adam Barth.
48083
48084         Refactor WebKitDriver.run_test into smaller pieces
48085         https://bugs.webkit.org/show_bug.cgi?id=63673
48086
48087         There is no functional change here.  Just moving code around.
48088         This is in preparation for adding support for #CRASHED and #CRASHED - WebProcess
48089
48090         * Scripts/webkitpy/layout_tests/port/webkit.py:
48091
48092 2011-06-29  Eric Seidel  <eric@webkit.org>
48093
48094         Reviewed by Adam Barth.
48095
48096         Simplify skipped file finding in preparation for adding wk2 skipped list fallback
48097         https://bugs.webkit.org/show_bug.cgi?id=63501
48098
48099         Re-landing after fixing a bug in WebKitPort.baseline_search_path which broke
48100         the rebaselineserver unit tests.  Also fixed nits brought up by Dirk after previous landing.
48101
48102         The goal was to add support for wk2 skipped lists.
48103         However, I found that our skipped list computation was a
48104         manual hack (which only worked for the mac port).
48105
48106         So I fixed a FIXME to move the skipped list finding
48107         into WebKitPort instead of MacPort.
48108         Doing so required the concept of a "port_name", since previously
48109         the only name accessible from a port object was name()
48110         which includes many things beyond "mac" or "chromium", etc.
48111
48112         Eventually I believe we'll want to re-think the way that we pass
48113         in a port_name argument to Port subclasses and expect them to parse
48114         it.  But for now I just added a cls.port_name variable which contains
48115         the static information needed to compute wk2 names as well as
48116         compute Skipped list fallback which works for Mac/Win/Qt and Gtk.
48117
48118         In order to test my new _skipped_file_search_paths method, I
48119         fixed another FIXME by making it return relative paths.
48120
48121         I also fixed the test_expectations_path code in WebKitPort to use port_name.
48122         It was using name() which would return PORT-VERSION so MacPort was overriding
48123         it to use just PORT.  After fixing test_expectations_path to use port_name
48124         (and making it aware of webkit2) I was able to remove the MacPort implementation.
48125
48126         * Scripts/webkitpy/layout_tests/port/base.py:
48127          - Add port_name() to access "mac", since name() returns "mac-leopard" etc.
48128          - Document that real_name() seems to have no purpose.
48129         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
48130          - Add _parse_port_name(), eventually we might call this from WebKitPort directly.
48131         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
48132          - Add _parse_port_name.
48133         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
48134          - Add _parse_port_name.
48135         * Scripts/webkitpy/layout_tests/port/gtk.py:
48136         * Scripts/webkitpy/layout_tests/port/mac.py:
48137          - Move Skipped-file finding code down to WebKitPort
48138         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
48139         * Scripts/webkitpy/layout_tests/port/qt.py:
48140         * Scripts/webkitpy/layout_tests/port/webkit.py:
48141         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48142
48143 2011-06-29  Sheriff Bot  <webkit.review.bot@gmail.com>
48144
48145         Unreviewed, rolling out r90070.
48146         http://trac.webkit.org/changeset/90070
48147         https://bugs.webkit.org/show_bug.cgi?id=63676
48148
48149         Broke test-webkitpy rebaseline tests (Requested by eseidel2 on
48150         #webkit).
48151
48152         * Scripts/webkitpy/layout_tests/port/base.py:
48153         * Scripts/webkitpy/layout_tests/port/chromium.py:
48154         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
48155         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
48156         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
48157         * Scripts/webkitpy/layout_tests/port/gtk.py:
48158         * Scripts/webkitpy/layout_tests/port/mac.py:
48159         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
48160         * Scripts/webkitpy/layout_tests/port/qt.py:
48161         * Scripts/webkitpy/layout_tests/port/webkit.py:
48162         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48163         * Scripts/webkitpy/layout_tests/port/win.py:
48164         * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
48165
48166 2011-06-29  Adam Barth  <abarth@webkit.org>
48167
48168         Reviewed by Eric Seidel.
48169
48170         new-run-webkit-tests doesn't support sample-on-timeout
48171         https://bugs.webkit.org/show_bug.cgi?id=56731
48172
48173         * Scripts/webkitpy/layout_tests/port/server_process.py:
48174         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
48175         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
48176
48177 2011-06-29  Eric Seidel  <eric@webkit.org>
48178
48179         Reviewed by Adam Barth.
48180
48181         Simplify skipped file finding in preparation for adding wk2 skipped list fallback
48182         https://bugs.webkit.org/show_bug.cgi?id=63501
48183
48184         The goal was to add support for wk2 skipped lists.
48185         However, I found that our skipped list computation was a
48186         manual hack (which only worked for the mac port).
48187
48188         So I fixed a FIXME to move the skipped list finding
48189         into WebKitPort instead of MacPort.
48190         Doing so required the concept of a "port_name", since previously
48191         the only name accessible from a port object was name()
48192         which includes many things beyond "mac" or "chromium", etc.
48193
48194         Eventually I believe we'll want to re-think the way that we pass
48195         in a port_name argument to Port subclasses and expect them to parse
48196         it.  But for now I just added a cls.port_name variable which contains
48197         the static information needed to compute wk2 names as well as
48198         compute Skipped list fallback which works for Mac/Win/Qt and Gtk.
48199
48200         In order to test my new _skipped_file_search_paths method, I
48201         fixed another FIXME by making it return relative paths.
48202
48203         I also fixed the test_expectations_path code in WebKitPort to use port_name.
48204         It was using name() which would return PORT-VERSION so MacPort was overriding
48205         it to use just PORT.  After fixing test_expectations_path to use port_name
48206         (and making it aware of webkit2) I was able to remove the MacPort implementation.
48207
48208         * Scripts/webkitpy/layout_tests/port/base.py:
48209          - Add port_name() to access "mac", since name() returns "mac-leopard" etc.
48210          - Document that real_name() seems to have no purpose.
48211         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
48212          - Add _parse_port_name(), eventually we might call this from WebKitPort directly.
48213         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
48214          - Add _parse_port_name.
48215         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
48216          - Add _parse_port_name.
48217         * Scripts/webkitpy/layout_tests/port/gtk.py:
48218         * Scripts/webkitpy/layout_tests/port/mac.py:
48219          - Move Skipped-file finding code down to WebKitPort
48220         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
48221         * Scripts/webkitpy/layout_tests/port/qt.py:
48222         * Scripts/webkitpy/layout_tests/port/webkit.py:
48223         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48224
48225 2011-06-29  Adam Barth  <abarth@webkit.org>
48226
48227         Reviewed by Dirk Pranke.
48228
48229         new-run-webkit-tests complains about missing pixel results instead of plopping down new expectations
48230         https://bugs.webkit.org/show_bug.cgi?id=38063
48231
48232         This patch changes new-run-webkit-tests to match old-run-webkit-tests
48233         in generating new expected results when the expected results are
48234         missing.
48235
48236         There are still a couple details that are different:
48237
48238         1) Image baselines aren't generated unless you run with -p.
48239         2) Render tree dumps are places in the cross-platform directory instead
48240         of the platform-specific directory.
48241
48242         I'm inclined to deal with both of these issues in follow-up patches.
48243
48244         * Scripts/webkitpy/common/net/layouttestresults.py:
48245         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
48246         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
48247         * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
48248         * Scripts/webkitpy/layout_tests/port/test.py:
48249         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
48250         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
48251
48252 2011-06-29  Adam Roben  <aroben@apple.com>
48253
48254         Teach TestFailures to detect possibly flaky tests and list them separately
48255
48256         Fixes <http://webkit.org/b/61061> <rdar://problem/9452796> TestFailures page blames
48257         arbitrary revisions for breaking flaky tests
48258
48259         Reviewed by Dan Bates.
48260
48261         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FlakyLayoutTestDetector.js: Added.
48262         (FlakyLayoutTestDetector): This class identifies flaky tests when given the test results
48263         from various builds (in reverse-chronological order).
48264         (FlakyLayoutTestDetector.prototype.incorporateTestResults): Detects flaky tests. Tests move
48265         monotonically through three states: LastSeenFailing, LastSeenPassing, and PossiblyFlaky.
48266         (FlakyLayoutTestDetector.prototype.flakinessExamples): Finds examples of flakiness for the
48267         given test. Essentially, finds all the transitions from passing to failing (or vice-versa)
48268         and puts them in an array in reverse-chronological order.
48269         (FlakyLayoutTestDetector.prototype.get possiblyFlakyTests): Returns all tests we've detected
48270         to be possibly flaky.
48271
48272         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
48273         (LayoutTestHistoryAnalyzer): Initialize new members.
48274         (LayoutTestHistoryAnalyzer.prototype.start): Now passes the callback an object with two
48275         properties: history and possiblyFlaky. history holds the data this function used to pass to
48276         the callback, while possiblyFlaky lists all tests that might be flaky and examples of their
48277         flakiness. Updated documentation comment to match.
48278         (LayoutTestHistoryAnalyzer.prototype._incorporateBuildHistory): Now uses a
48279         FlakyLayoutTestDetector to identify possibly flaky tests. Any possibly flaky tests are
48280         removed from the failure history, since when they started failing is no longer meaningful.
48281         We tell our caller to keep calling until all current failures have been explained and we've
48282         gone through 5 builds without any new flaky tests being identified.
48283
48284         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
48285         (sorted): New helper function to return a sorted copy of an array.
48286         (Array.prototype.findLast): New helper function. Like findFirst, but finds the last item
48287         that matches the predicate.
48288
48289         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
48290         (ViewController.prototype._displayBuilder): Updated for change in the object passed to us by
48291         the analyzer. Now puts the list of possibly flaky tests after the failure history.
48292         (ViewController.prototype._domForFailedTest): Moved some code from here...
48293         (ViewController.prototype._domForFailureDiagnosis): ...to here.
48294         (ViewController.prototype._domForPossiblyFlakyTests): New function, builds up a list of
48295         possibly flaky tests and examples of their flakiness and returns it.
48296
48297         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
48298         FlakyLayoutTestDetector.js.
48299
48300 2011-06-29  Eric Seidel  <eric@webkit.org>
48301
48302         Adam says cowboys don't review (or unit test).
48303
48304         * Scripts/webkitpy/tool/commands/download.py:
48305
48306 2011-06-29  Eric Seidel  <eric@webkit.org>
48307
48308         Reviewed by Adam Barth.
48309
48310         Make port/config.py mockable for easier unit testing
48311         https://bugs.webkit.org/show_bug.cgi?id=63661
48312
48313         Fix an exception from the unit tests.
48314
48315         * Scripts/webkitpy/layout_tests/port/config.py:
48316
48317 2011-06-29  Brent Fulgham  <bfulgham@webkit.org>
48318
48319         Unreviewed build correction.
48320
48321         * DumpRenderTree/win/ImageDiffWinCairoCommon.vsprops:
48322         Link against zlib1.dll, not the static zlib.lib.
48323
48324 2011-06-29  Eric Seidel  <eric@webkit.org>
48325
48326         Reviewed by Adam Barth.
48327
48328         Make port/config.py mockable for easier unit testing
48329         https://bugs.webkit.org/show_bug.cgi?id=63661
48330
48331         Right now config.py leaks real system paths for
48332         webkit_base_dir due to using __file__.  This patch
48333         adds a filsystem.py wrapper around __file__ so that
48334         we don't have to jump through hoops in webkit_unittest.py
48335         to avoid leaking local paths to the unit test results.
48336
48337         There are probably many more places where we should now
48338         use filesystem.path_for_module, but starting with just this one.
48339
48340         * Scripts/webkitpy/common/system/filesystem.py:
48341         * Scripts/webkitpy/common/system/filesystem_mock.py:
48342         * Scripts/webkitpy/layout_tests/port/config.py:
48343         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48344         * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
48345
48346 2011-06-29  Eric Seidel  <eric@webkit.org>
48347
48348         Reviewed by Adam Barth.
48349
48350         Remove duplicate methods in filesystem.py
48351         https://bugs.webkit.org/show_bug.cgi?id=63658
48352
48353         Looks like there was a bad merge at some point.
48354
48355         I also removed a bunch of redundant docstrings.
48356
48357         * Scripts/webkitpy/common/system/filesystem.py:
48358
48359 2011-06-29  Adam Barth  <abarth@webkit.org>
48360
48361         Reviewed by Eric Seidel.
48362
48363         Pass --no-new-test-results to NRWT on build.webkit.org
48364         https://bugs.webkit.org/show_bug.cgi?id=63653
48365
48366         This is in preparation for https://bugs.webkit.org/show_bug.cgi?id=38063.
48367
48368         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
48369
48370 2011-06-29  Xan Lopez  <xlopez@igalia.com>
48371
48372         Reviewed by Adam Barth.
48373
48374         [GTK] overlapping drag&drop tests fail on NRWT
48375         https://bugs.webkit.org/show_bug.cgi?id=57640
48376
48377         Make a GTK test driver that spawns one Xvfb instance per
48378         thread. This avoids bad interactions in DnD tests between threads.
48379
48380         * Scripts/webkitpy/layout_tests/port/gtk.py:
48381
48382 2011-06-29  Sheriff Bot  <webkit.review.bot@gmail.com>
48383
48384         Unreviewed, rolling out r89888.
48385         http://trac.webkit.org/changeset/89888
48386         https://bugs.webkit.org/show_bug.cgi?id=63609
48387
48388          "Seems to be causing merging issues on the dashboard, e.g.
48389         http://test-
48390         results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20chromium.org&tests=fast%2Fcanvas"
48391         (Requested by aboxhall on #webkit).
48392
48393         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
48394         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
48395         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
48396
48397 2011-06-29  Philippe Normand  <pnormand@igalia.com>
48398
48399         Reviewed by Martin Robinson.
48400
48401         [webkitpy] Executive.running_pids() sometimes doesn't correctly process "ps" output
48402         https://bugs.webkit.org/show_bug.cgi?id=63624
48403
48404         * Scripts/webkitpy/common/system/executive.py: In some cases the
48405         ps output lines can contain one or more leading white-spaces, so
48406         strip it before splitting the pid and command name.
48407
48408 2011-06-29  Noel Gordon  <noel.gordon@gmail.com>
48409
48410         Reviewed by Kent Tamura.
48411
48412         [Chromium] [DRT] ImageDiff should compile in VS2010
48413         https://bugs.webkit.org/show_bug.cgi?id=63614
48414
48415         * DumpRenderTree/chromium/ImageDiff.cpp: Include <iterator> for back_inserter.
48416
48417 2011-06-27  Diego Gonzalez  <diegohcg@webkit.org>
48418
48419         Reviewed by Kenneth Rohde Christiansen.
48420
48421         [Qt] DRT support for setInteractiveFormValidationEnabled
48422         https://bugs.webkit.org/show_bug.cgi?id=63496
48423
48424         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
48425         (WebCore::DumpRenderTree::DumpRenderTree):
48426
48427 2011-06-28  Eric Seidel  <eric@webkit.org>
48428
48429         Reviewed by Adam Barth.
48430
48431         Make new-run-webkit-tests -2 actually use WebKitTestRunner
48432         https://bugs.webkit.org/show_bug.cgi?id=63572
48433
48434         new-run-webkit-tests -2 works with this change.  However a zillion
48435         tests fail since it can't find the right skipped lists for wk2.
48436         The Skipped-list fixing is covered in bug 63501.
48437
48438         * Scripts/webkitpy/layout_tests/port/gtk.py:
48439         * Scripts/webkitpy/layout_tests/port/qt.py:
48440         * Scripts/webkitpy/layout_tests/port/webkit.py:
48441
48442 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
48443
48444         Reviewed by Adam Roben.
48445
48446         Add more machines to Chromium Mac Release and Chromium Mac Release (Tests)
48447         https://bugs.webkit.org/show_bug.cgi?id=63500
48448
48449         Added google-mac-3 and google-mac-4.
48450
48451         * BuildSlaveSupport/build.webkit.org-config/config.json:
48452
48453 2011-06-28  Eric Seidel  <eric@webkit.org>
48454
48455         Reviewed by Dirk Pranke.
48456
48457         Remove webkitpy's tiger support now that WebKit no longer supports tiger
48458         https://bugs.webkit.org/show_bug.cgi?id=63568
48459
48460         I don't think our support actually fully worked anyway.  Regardless
48461         tiger is dead now (thankfully)!
48462
48463         I also unwrapped some short lines and added a couple FIXMEs while
48464         touring the code.
48465
48466         No new tests, only removing old ones which tested our Tiger support.
48467
48468         * Scripts/webkitpy/layout_tests/port/base.py:
48469         * Scripts/webkitpy/layout_tests/port/builders.py:
48470         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
48471         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
48472         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
48473         * Scripts/webkitpy/layout_tests/port/mac.py:
48474         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
48475         * Scripts/webkitpy/tool/commands/rebaseline.py:
48476         * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
48477
48478 2011-06-28  Eric Seidel  <eric@webkit.org>
48479
48480         Unreviewed, just fixing a typo.
48481
48482         Fix misspellings of "thead" to "thread".
48483
48484         * Scripts/webkitpy/common/checkout/scm/git.py:
48485         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
48486
48487 2011-06-28  Eric Seidel  <eric@webkit.org>
48488
48489         Reviewed by Tony Chang.
48490
48491         new-run-webkit-tests needs a --webkit-test-runner option
48492         https://bugs.webkit.org/show_bug.cgi?id=63439
48493
48494         This was accidentally fixed in bug 63501 as well.
48495         The root problem here was that the webkit unit tests were not using
48496         enough mocks.  I've fixed them here to use more mocks
48497         which should unbreak windows.
48498
48499         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48500
48501 2011-06-28  Eric Seidel  <eric@webkit.org>
48502
48503         Reviewed by Tony Chang.
48504
48505         new-run-webkit-tests should not run mthml tests when MHTML support is disabled
48506         https://bugs.webkit.org/show_bug.cgi?id=63549
48507
48508         This way mhtml tests won't show up as "missing" results on all non-chromium platforms.
48509         I happen to go looking for what code was deciding that .mht was a supported
48510         extension, found test_files.py and then removed some redundant doc-strings and
48511         if branching.
48512
48513         * Scripts/webkitpy/layout_tests/port/test_files.py:
48514         * Scripts/webkitpy/layout_tests/port/webkit.py:
48515         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48516
48517 2011-06-28  Roland Steiner  <rolandsteiner@chromium.org>
48518
48519         Reviewed by Tony Chang.
48520
48521         Fix filesystem_unittest.FileSystemTest test_read_and_write_file()
48522         https://bugs.webkit.org/show_bug.cgi?id=63514
48523
48524         - change write_text_file to write_binary_file
48525         - check that text_path and binary_path are actually existant files
48526         - change cleanup block from 'except' to 'finally'
48527
48528         * Scripts/webkitpy/common/system/filesystem_unittest.py:
48529
48530 2011-06-28  Adam Roben  <aroben@apple.com>
48531
48532         Roll out r89924 and r89925
48533
48534         I didn't mean to commit them!
48535
48536         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
48537         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
48538         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
48539
48540 2011-06-27  Adam Barth  <abarth@webkit.org>
48541
48542         Reviewed by Eric Seidel.
48543
48544         NRWT should wait for ReportCrash
48545         https://bugs.webkit.org/show_bug.cgi?id=63495
48546
48547         When a test crashes on Mac, ReportCrash confuses us into thinking the
48548         test times out.
48549
48550         I'm not sure how to test this in a meaningful way in our current test
48551         harness...
48552
48553         * Scripts/webkitpy/common/system/crashlogs.py:
48554         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
48555         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
48556         * Scripts/webkitpy/layout_tests/port/base.py:
48557         * Scripts/webkitpy/layout_tests/port/mac.py:
48558         * Scripts/webkitpy/layout_tests/port/server_process.py:
48559         * Scripts/webkitpy/tool/commands/queries.py:
48560
48561 2011-06-27  Sheriff Bot  <webkit.review.bot@gmail.com>
48562
48563         Unreviewed, rolling out r89881.
48564         http://trac.webkit.org/changeset/89881
48565         https://bugs.webkit.org/show_bug.cgi?id=63513
48566
48567         Makes Qt massively slow (Requested by abarth on #webkit).
48568
48569         * Scripts/webkitpy/common/system/crashlogs.py:
48570         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
48571         * Scripts/webkitpy/common/system/executive.py:
48572         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
48573         * Scripts/webkitpy/layout_tests/port/base.py:
48574         * Scripts/webkitpy/layout_tests/port/mac.py:
48575         * Scripts/webkitpy/layout_tests/port/server_process.py:
48576         * Scripts/webkitpy/tool/commands/queries.py:
48577
48578 2011-06-27  Alice Boxhall  <aboxhall@chromium.org>
48579
48580         Reviewed by Ojan Vafai.
48581
48582         Convert json_results_generator.py to output version 4 JSON.
48583         https://bugs.webkit.org/show_bug.cgi?id=60869
48584
48585         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
48586         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
48587         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
48588
48589 2011-06-27  Adam Barth  <abarth@webkit.org>
48590
48591         Reviewed by Eric Seidel.
48592
48593         NRWT should wait for ReportCrash
48594         https://bugs.webkit.org/show_bug.cgi?id=63495
48595
48596         When a test crashes on Mac, ReportCrash confuses us into thinking the
48597         test times out.
48598
48599         I'm not sure how to test this in a meaningful way in our current test
48600         harness...
48601
48602         * Scripts/webkitpy/common/system/crashlogs.py:
48603         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
48604         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
48605         * Scripts/webkitpy/layout_tests/port/base.py:
48606         * Scripts/webkitpy/layout_tests/port/mac.py:
48607         * Scripts/webkitpy/layout_tests/port/server_process.py:
48608         * Scripts/webkitpy/tool/commands/queries.py:
48609
48610 2011-06-27  Adam Barth  <abarth@webkit.org>
48611
48612         Reviewed by Eric Seidel.
48613
48614         new-run-webkit-tests should upload crash logs
48615         https://bugs.webkit.org/show_bug.cgi?id=55907
48616
48617         NRWT used to have a different name for crash logs.  I've changed the
48618         name to patch ORWT.
48619
48620         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
48621         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
48622
48623 2011-06-27  Eric Seidel  <eric@webkit.org>
48624
48625         Reviewed by Adam Barth.
48626
48627         new-run-webkit-tests needs a --webkit-test-runner option
48628         https://bugs.webkit.org/show_bug.cgi?id=63439
48629
48630         NRWT doesn't actually know how to run with the WebKitTestRunner yet
48631         but it does have a --webkit-test-runner option and will build WebKitTestRunner correctly.
48632
48633         There is a bunch of other little cleanup in this patch which I added as I
48634         took a tour through all of our hard-coded DumpRenderTree strings.
48635
48636         * Scripts/webkitpy/common/net/layouttestresults.py: Added FIXME.
48637         * Scripts/webkitpy/common/system/outputcapture.py: Fixed spacing to pass PEP8.
48638         * Scripts/webkitpy/layout_tests/layout_package/manager.py: Made the FIXME slightly stronger (bad bug).
48639         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: test_shell is dead.
48640         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Unwrapped silly wrapping.
48641         * Scripts/webkitpy/layout_tests/port/base.py: Removed two dead methods.
48642         * Scripts/webkitpy/layout_tests/port/config.py:
48643          - build_dumprendertree had no business in this class, removed it.
48644          - Exposed _FLAGS_FROM_CONFIGURATIONS through flag_for_configuration()
48645          - Exposed _script_path as script_path() (this probably belongs elsewhere).
48646         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
48647          - Moved these tests to webkit_unittests.
48648         * Scripts/webkitpy/layout_tests/port/webkit.py:
48649          - Now respects the --webkit-test-runner option.
48650          - setup_test_run is empty in base.py too, no need to override it.
48651         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48652          - Test the new hotness.
48653          - Bad, bad, bad!  The old code was using a real Executive during unit-testing!
48654            I think this code is still hitting disk during the unit tests. :(
48655         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
48656          - Add the option.
48657         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
48658          - Remove optional args option.
48659         * Scripts/webkitpy/tool/commands/commandtest.py:
48660          - Remove optional args option.
48661         * Scripts/webkitpy/tool/commands/queues_unittest.py:
48662          - Remove optional args option.
48663
48664 2011-06-27  Adam Barth  <abarth@webkit.org>
48665
48666         Reviewed by Dirk Pranke.
48667
48668         new-run-webkit-tests does not report stderr output
48669         https://bugs.webkit.org/show_bug.cgi?id=37739
48670
48671         Almost all the infrastructure appears to be in place to report stderr
48672         in results.html.  We just need to wire up a bool to tell results.html
48673         to create the hyperlink.
48674
48675         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
48676         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
48677         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
48678         * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
48679         * Scripts/webkitpy/layout_tests/port/base.py:
48680
48681 2011-06-27  Adam Barth  <abarth@webkit.org>
48682
48683         Reviewed by Dirk Pranke.
48684
48685         webkitpy unit tests should have more descriptive names than just "Test"
48686         https://bugs.webkit.org/show_bug.cgi?id=63479
48687
48688         Luckily we kept these classes in separate namespaces in the harness so
48689         we were actually running them all even though they had the same name.
48690
48691         * Scripts/webkitpy/common/system/stack_utils_unittest.py:
48692         * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
48693         * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
48694
48695 2011-06-27  Greg Simon  <gregsimon@chromium.org>
48696
48697         No review necessary.
48698
48699         Add email addr to contributor list
48700         https://bugs.webkit.org/show_bug.cgi?id=63478
48701
48702         * Scripts/webkitpy/common/config/committers.py:
48703
48704 2011-06-27  Sheriff Bot  <webkit.review.bot@gmail.com>
48705
48706         Unreviewed, rolling out r89834.
48707         http://trac.webkit.org/changeset/89834
48708         https://bugs.webkit.org/show_bug.cgi?id=63476
48709
48710         Broke test-webkitpy (Requested by abarth on #webkit).
48711
48712         * Scripts/webkitpy/common/net/layouttestresults.py:
48713         * Scripts/webkitpy/common/system/outputcapture.py:
48714         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
48715         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
48716         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
48717         * Scripts/webkitpy/layout_tests/port/base.py:
48718         * Scripts/webkitpy/layout_tests/port/config.py:
48719         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
48720         * Scripts/webkitpy/layout_tests/port/webkit.py:
48721         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48722         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
48723         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
48724         * Scripts/webkitpy/tool/commands/commandtest.py:
48725         * Scripts/webkitpy/tool/commands/queues_unittest.py:
48726
48727 2011-06-27  Jeff Miller  <jeffm@apple.com>
48728
48729         Reviewed by Adam Roben.
48730
48731         Stop copying obsolete WebKit libraries on Windows
48732         https://bugs.webkit.org/show_bug.cgi?id=63474
48733         
48734         Don't copy obsolete WebKit library directories and files on Windows, they no longer exist and just generate extraneous warnings. These include the CharacterSets directory, dnssd.dll, and icudt40.dll.
48735
48736         * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
48737         * MiniBrowser/MiniBrowserPostBuild.cmd:
48738         * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
48739
48740 2011-06-27  Ryosuke Niwa  <rniwa@webkit.org>
48741
48742         Add Wyatt Carss to the list of non-committer contributors.
48743
48744         * Scripts/webkitpy/common/config/committers.py:
48745
48746 2011-06-27  Adam Barth  <abarth@webkit.org>
48747
48748         Reviewed by Eric Seidel.
48749
48750         webkitpy should understand crash logs
48751         https://bugs.webkit.org/show_bug.cgi?id=63468
48752
48753         We're planning to use this functionality to upload crash logs along
48754         with test results for new-run-webkit-tests.
48755
48756         * Scripts/webkitpy/common/system/crashlog.py: Added.
48757         * Scripts/webkitpy/common/system/crashlog_unittest.py: Added.
48758         * Scripts/webkitpy/common/system/executive.py:
48759         * Scripts/webkitpy/common/system/executive_unittest.py:
48760         * Scripts/webkitpy/common/system/filesystem.py:
48761         * Scripts/webkitpy/common/system/filesystem_mock.py:
48762         * Scripts/webkitpy/tool/commands/queries.py:
48763
48764 2011-06-27  Adam Roben  <aroben@apple.com>
48765
48766         Make LayoutTestResultsLoader cache whether old-run-webkit-tests exited early due to too many
48767         failures
48768
48769         Fixes <http://webkit.org/b/63470> TestFailures page for a particular builder forgets
48770         old-run-webkit-tests exited early after reload
48771
48772         Reviewed by Anders Carlsson.
48773
48774         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
48775         (LayoutTestResultsLoader.prototype.start): Store both the set of failing tests and whether
48776         old-run-webkit-tests exited early due to too many failures in PersistentCache.
48777
48778 2011-06-27  Adam Roben  <aroben@apple.com>
48779
48780         Make TestFailures load build names from build.webkit.org/old-results too
48781
48782         Build results are periodically moved from results to old-results. This change makes those
48783         builds still visible to TestFailures.
48784
48785         Fixes <http://webkit.org/b/63453> TestFailures page doesn't show information for builds that
48786         have been moved to build.webkit.org/old-results
48787
48788         Reviewed by Anders Carlsson.
48789
48790         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
48791         (Builder.prototype.getBuildNames): Extracted code to parse build names from a
48792         build.webkit.org directory listing into a separate function. Instead of omitting .zip files,
48793         we now only include directory entries whose names are parseable as build names (since
48794         old-results sometimes contains other random files/directories from who knows what). We now
48795         fetch both results and old-results (with a FIXME about loading old-results on demand),
48796         extract build names from each, and concatenate the two sets of names.
48797
48798         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBuildbot.js:
48799         (WebKitBuildbot.prototype.parseBuildName): Changed to return null when the build name isn't
48800         parseable, rather than throwing an exception.
48801
48802 2011-06-26  Adam Roben  <aroben@apple.com>
48803
48804         Store analyzed history directly in LayoutTestHistoryAnalyzer instead of in a generic cache
48805
48806         It seems silly to have a whole generic cache just to store a single object.
48807
48808         Fixes <http://webkit.org/b/63407> LayoutTestHistoryAnalyzer has a generic cache but doesn't
48809         need one
48810
48811         Reviewed by Anders Carlsson.
48812
48813         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
48814         (LayoutTestHistoryAnalyzer): Replaced this._cache with this._history.
48815         (LayoutTestHistoryAnalyzer.prototype.start): Ditto.
48816         (LayoutTestHistoryAnalyzer.prototype._incorporateBuildHistory): Ditto, and removed the
48817         no-longer-needed history argument.
48818
48819 2011-06-26  Adam Roben  <aroben@apple.com>
48820
48821         Move some inappropriate code out of Builder
48822
48823         Fixes <http://webkit.org/b/63406> TestFailure page's Builder class has a bunch of code that
48824         isn't really about a builder
48825
48826         Reviewed by Anders Carlsson.
48827
48828         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
48829         (Builder.prototype.getBuildNames): Renamed from _getBuildNames, since it now needs to be
48830         called by other objects.
48831
48832         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestHistoryAnalyzer.js:
48833         Added. Code came from Builder.
48834         (LayoutTestHistoryAnalyzer):
48835         (LayoutTestHistoryAnalyzer.prototype.start):
48836         (LayoutTestHistoryAnalyzer.prototype._incorporateBuildHistory):
48837
48838         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/LayoutTestResultsLoader.js:
48839         Added. Code came from Builder.
48840         (LayoutTestResultsLoader):
48841         (LayoutTestResultsLoader.prototype.start):
48842
48843         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
48844         (ViewController.prototype._displayBuilder): Changed to use LayoutTestHistoryAnalyzer.
48845
48846         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in new
48847         scripts.
48848
48849 2011-05-17  Nat Duca  <nduca@chromium.org>
48850
48851         Reviewed by James Robinson.
48852
48853         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
48854         https://bugs.webkit.org/show_bug.cgi?id=58408
48855
48856         * DumpRenderTree/chromium/WebViewHost.cpp:
48857         (WebViewHost::paintInvalidatedRegion):
48858
48859 2011-06-27  Eric Seidel  <eric@webkit.org>
48860
48861         Reviewed by Adam Barth.
48862
48863         new-run-webkit-tests needs a --webkit-test-runner option
48864         https://bugs.webkit.org/show_bug.cgi?id=63439
48865
48866         NRWT doesn't actually know how to run with the WebKitTestRunner yet
48867         but it does have a --webkit-test-runner option and will build WebKitTestRunner correctly.
48868
48869         There is a bunch of other little cleanup in this patch which I added as I
48870         took a tour through all of our hard-coded DumpRenderTree strings.
48871
48872         * Scripts/webkitpy/common/net/layouttestresults.py: Added FIXME.
48873         * Scripts/webkitpy/common/system/outputcapture.py: Fixed spacing to pass PEP8.
48874         * Scripts/webkitpy/layout_tests/layout_package/manager.py: Made the FIXME slightly stronger (bad bug).
48875         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: test_shell is dead.
48876         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Unwrapped silly wrapping.
48877         * Scripts/webkitpy/layout_tests/port/base.py: Removed two dead methods.
48878         * Scripts/webkitpy/layout_tests/port/config.py:
48879          - build_dumprendertree had no business in this class, removed it.
48880          - Exposed _FLAGS_FROM_CONFIGURATIONS through flag_for_configuration()
48881          - Exposed _script_path as script_path() (this probably belongs elsewhere).
48882         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
48883          - Moved these tests to webkit_unittests.
48884         * Scripts/webkitpy/layout_tests/port/webkit.py:
48885          - Now respects the --webkit-test-runner option.
48886          - setup_test_run is empty in base.py too, no need to override it.
48887         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
48888          - Test the new hotness.
48889          - Bad, bad, bad!  The old code was using a real Executive during unit-testing!
48890            I think this code is still hitting disk during the unit tests. :(
48891         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
48892          - Add the option.
48893         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
48894          - Remove optional args option.
48895         * Scripts/webkitpy/tool/commands/commandtest.py:
48896          - Remove optional args option.
48897         * Scripts/webkitpy/tool/commands/queues_unittest.py:
48898          - Remove optional args option.
48899
48900 2011-06-27  Chang Shu  <cshu@webkit.org>
48901
48902         Reviewed by Darin Adler.
48903
48904         [WK2] WebKitTestRunner should reset FrameFlattening flag to disable before each test
48905         https://bugs.webkit.org/show_bug.cgi?id=63457
48906
48907         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
48908         (WTR::InjectedBundle::beginTesting):
48909
48910 2011-06-27  Raphael Kubo da Costa  <kubo@profusion.mobi>
48911
48912         Reviewed by Kent Tamura.
48913
48914         [EFL] DRT: Add an ewk_view specialization for EFL's DumpRenderTree.
48915         It will be plugged into the build system as soon as the rest of the
48916         DRT code is fully upstreamed.
48917         https://bugs.webkit.org/show_bug.cgi?id=63086
48918
48919         * DumpRenderTree/efl/DumpRenderTreeView.cpp: Added.
48920         (onConsoleMessage):
48921         (onJavaScriptAlert):
48922         (onJavaScriptConfirm):
48923         (onJavaScriptPrompt):
48924         (drtViewTiledAdd):
48925         * DumpRenderTree/efl/DumpRenderTreeView.h: Added.
48926
48927 2011-06-27  Leandro Pereira  <leandro@profusion.mobi>
48928
48929         Reviewed by Kent Tamura.
48930
48931         [EFL] Add an EventSender implementation to EFL's DumpRenderTree along
48932         with support files.
48933         Build system changes will be made as soon as the whole DumpRenderTree
48934         is upstreamed.
48935         https://bugs.webkit.org/show_bug.cgi?id=61962
48936
48937         * DumpRenderTree/efl/EventSender.cpp: Added.
48938         (setEvasModifiers):
48939         (translateMouseButtonNumber):
48940         (sendMouseEvent):
48941         (sendClick):
48942         (scheduleAsynchronousClickCallback):
48943         (updateClickCount):
48944         (modifierFromJSValue):
48945         (modifiersFromJSValue):
48946         (mouseDownCallback):
48947         (mouseUpCallback):
48948         (mouseMoveToCallback):
48949         (evasMouseEventFromHorizontalAndVerticalOffsets):
48950         (mouseScrollByCallback):
48951         (continuousMouseScrollByCallback):
48952         (keyPadNameFromJSValue):
48953         (keyNameFromJSValue):
48954         (keyDownCallback):
48955         (scalePageByCallback):
48956         (getClass):
48957         (makeEventSender):
48958         * DumpRenderTree/efl/EventSender.h: Added.
48959
48960 2011-06-27  Eric Seidel  <eric@webkit.org>
48961
48962         Reviewed by Adam Barth.
48963
48964         Remove evil uses of hasattr
48965         https://bugs.webkit.org/show_bug.cgi?id=63430
48966
48967         For some reason these classes believe that they may be called with
48968         various flavors of "option" elements and so carefully check to make
48969         sure that the options element has their option before checking it.
48970
48971         We had a set_option_default method which was never called, so I made it
48972         do what callsites seemed to want it to do and replaced 3 callers
48973         who previously used hasattr manually to use set_option_default instead.
48974
48975         * Scripts/webkitpy/layout_tests/port/base.py:
48976         * Scripts/webkitpy/layout_tests/port/webkit.py:
48977
48978 2011-06-27  Kent Tamura  <tkent@chromium.org>
48979
48980         Reviewed by Hajime Morita.
48981
48982         [Chromium] WebViewHost should be destructed before LayoutTestController, etc.
48983         https://bugs.webkit.org/show_bug.cgi?id=63427
48984
48985         ~WebViewHost() navigates to about:blank, so it calls some
48986         callbacks and LayoutTestController functions.
48987
48988         * DumpRenderTree/chromium/TestShell.h:
48989          Move m_printer upper and move m_webViewHost lower.
48990
48991 2011-06-27  Adam Barth  <abarth@webkit.org>
48992
48993         Reviewed by Eric Seidel.
48994
48995         Move server config files to webkitpy.layout_tests.servers
48996         https://bugs.webkit.org/show_bug.cgi?id=63436
48997
48998         The config files belong with the servers.
48999
49000         * Scripts/webkitpy/layout_tests/port/httpd2.pem: Removed.
49001         * Scripts/webkitpy/layout_tests/port/lighttpd.conf: Removed.
49002         * Scripts/webkitpy/layout_tests/servers/http_server.py:
49003         * Scripts/webkitpy/layout_tests/servers/httpd2.pem: Copied from Tools/Scripts/webkitpy/layout_tests/port/httpd2.pem.
49004         * Scripts/webkitpy/layout_tests/servers/lighttpd.conf: Copied from Tools/Scripts/webkitpy/layout_tests/port/lighttpd.conf.
49005
49006 2011-06-27  Adam Barth  <abarth@webkit.org>
49007
49008         Reviewed by Eric Seidel.
49009
49010         Move websocket_server and http_server to webkitpy.layout_package.servers
49011         https://bugs.webkit.org/show_bug.cgi?id=63434
49012
49013         These classes do not represent ports.  They represent servers.
49014
49015         * Scripts/new-run-webkit-httpd:
49016         * Scripts/new-run-webkit-websocketserver:
49017         * Scripts/webkitpy/layout_tests/port/base.py:
49018         * Scripts/webkitpy/layout_tests/port/chromium.py:
49019         * Scripts/webkitpy/layout_tests/port/http_server.py: Removed.
49020         * Scripts/webkitpy/layout_tests/port/http_server_base.py: Removed.
49021         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Removed.
49022         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
49023         * Scripts/webkitpy/layout_tests/port/websocket_server.py: Removed.
49024         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
49025         * Scripts/webkitpy/layout_tests/servers/http_server.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/http_server.py.
49026         * Scripts/webkitpy/layout_tests/servers/http_server_base.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/http_server_base.py.
49027         * Scripts/webkitpy/layout_tests/servers/http_server_integrationtest.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py.
49028         * Scripts/webkitpy/layout_tests/servers/websocket_server.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/websocket_server.py.
49029
49030 2011-06-27  Eric Seidel  <eric@webkit.org>
49031
49032         Reviewed by Adam Barth.
49033
49034         Remove Chromium and ChromiumMac implementations of driver_name now that everything uses DumpRenderTree
49035         https://bugs.webkit.org/show_bug.cgi?id=63428
49036
49037         * Scripts/webkitpy/layout_tests/port/chromium.py:
49038         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
49039
49040 2011-06-27  Adam Barth  <abarth@webkit.org>
49041
49042         Reviewed by Eric Seidel.
49043
49044         Move apache_http_server.py to webkitpy.layout_package.servers
49045         https://bugs.webkit.org/show_bug.cgi?id=63433
49046
49047         The apache_http_server.py is a server, not a port.
49048
49049         * Scripts/webkitpy/layout_tests/port/apache_http_server.py: Removed.
49050         * Scripts/webkitpy/layout_tests/port/base.py:
49051         * Scripts/webkitpy/layout_tests/servers: Added.
49052         * Scripts/webkitpy/layout_tests/servers/__init__.py: Added.
49053         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py: Copied from Tools/Scripts/webkitpy/layout_tests/port/apache_http_server.py.
49054
49055 2011-06-27  Adam Barth  <abarth@webkit.org>
49056
49057         Reviewed by Eric Seidel.
49058
49059         Move rebaseline-chromium-webkit-tests.py to webkitpy.to_be_moved
49060         https://bugs.webkit.org/show_bug.cgi?id=63432
49061
49062         This code isn't in the dependency cone of new-run-webkit-tests. It's
49063         unclear what it's final home should be, but this patch moves it out of
49064         layout_tests to simply the package.
49065
49066         * Scripts/rebaseline-chromium-webkit-tests:
49067         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Removed.
49068         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py: Removed.
49069         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py: Copied from Tools/Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py.
49070         * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py.
49071
49072 2011-06-27  Adam Barth  <abarth@webkit.org>
49073
49074         Reviewed by Eric Seidel.
49075
49076         Move update_webgl_conformance_tests.py to webkitpy.to_be_moved
49077         https://bugs.webkit.org/show_bug.cgi?id=63429
49078
49079         This package as nothing to do with the layout_tests package.
49080
49081         * Scripts/update-webgl-conformance-tests:
49082         * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py: Removed.
49083         * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests_unittest.py: Removed.
49084         * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py: Copied from Tools/Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py.
49085         * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/update_webgl_conformance_tests_unittest.py.
49086
49087 2011-06-27  Adam Barth  <abarth@webkit.org>
49088
49089         Reviewed by Eric Seidel.
49090
49091         Move deduplicate_tests.py into webkitpy.to_be_moved
49092         https://bugs.webkit.org/show_bug.cgi?id=63426
49093
49094         deduplicate_tests.py doesn't haven anything to do with layout tests.
49095         It's really a separate script.  This patch moves it to the (new)
49096         to_be_moved package so that it doesn't distract us when working on NRWT.
49097
49098         * Scripts/deduplicate-tests:
49099         * Scripts/webkitpy/layout_tests/deduplicate_tests.py: Removed.
49100         * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py: Removed.
49101         * Scripts/webkitpy/test/main.py:
49102         * Scripts/webkitpy/to_be_moved: Added.
49103         * Scripts/webkitpy/to_be_moved/__init__.py: Added.
49104         * Scripts/webkitpy/to_be_moved/deduplicate_tests.py: Copied from Tools/Scripts/webkitpy/layout_tests/deduplicate_tests.py.
49105         * Scripts/webkitpy/to_be_moved/deduplicate_tests_unittest.py: Copied from Tools/Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py.
49106
49107 2011-06-26  Adam Barth  <abarth@webkit.org>
49108
49109         Rubber-stamped by Eric Seidel.
49110
49111         Remove empty directory.
49112
49113         * Scripts/webkitpy/layout_tests/test_types: Removed.
49114
49115 2011-06-25  Naoki Takano  <honten@chromium.org>
49116
49117         Reviewed by Eric Seidel.
49118
49119         Change my entry from contributors to committers.
49120         https://bugs.webkit.org/show_bug.cgi?id=63043
49121
49122         * Scripts/webkitpy/common/config/committers.py: Change my e-mail from takano.naoki@gmail.com to honten@chromium.org. And move the entry to commiters from contributors.
49123
49124 2011-06-25  Adam Barth  <abarth@webkit.org>
49125
49126         Reviewed by Eric Seidel.
49127
49128         [Chromium] Update WebKit for WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
49129         https://bugs.webkit.org/show_bug.cgi?id=63394
49130
49131         * DumpRenderTree/chromium/LayoutTestController.cpp:
49132         (LayoutTestController::queueLoad):
49133
49134 2011-06-25  Brent Fulgham  <bfulgham@webkit.org>
49135
49136         Unreviewed build correction after r89426.
49137
49138         * WebKitTestRunner/Configurations/WebKitTestRunnerCFLite.vsprops:
49139           Link with Cairo DLL for new functionality.
49140         * WebKitTestRunner/cairo/TestInvocationCairo.cpp: Include compatibility
49141           code for snprintf.
49142
49143 2011-06-25  Dimitri Glazkov  <dglazkov@chromium.org>
49144
49145         Reviewed by Adam Barth.
49146
49147         run-bindings-tests does not work on Chromium Windows.
49148         https://bugs.webkit.org/show_bug.cgi?id=63382
49149
49150         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed run-bindings-tests as a build step for cr-win.
49151
49152 2011-06-25  Dan Bernstein  <mitz@apple.com>
49153
49154         Try to fix the Qt and Chromium builds.
49155
49156         * DumpRenderTree/chromium/LayoutTestController.cpp:
49157         (LayoutTestController::setEncodedAudioData):
49158         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
49159
49160 2011-06-24  Dan Bernstein  <mitz@apple.com>
49161
49162         Reviewed by Anders Carlsson.
49163
49164         Add an option to enable legacy rounding hacks
49165         https://bugs.webkit.org/show_bug.cgi?id=63363
49166
49167         Added layoutTestController.allowRoundingHacks() and implemented it
49168         on OS X.
49169
49170         * DumpRenderTree/LayoutTestController.cpp:
49171         (allowRoundingHacksCallback):
49172         (LayoutTestController::staticFunctions):
49173         * DumpRenderTree/LayoutTestController.h:
49174         * DumpRenderTree/chromium/LayoutTestController.cpp:
49175         (LayoutTestController::allowRoundingHacks):
49176         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
49177         (LayoutTestController::allowRoundingHacks):
49178         * DumpRenderTree/mac/DumpRenderTree.mm:
49179         (resetWebViewToConsistentStateBeforeTesting):
49180         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
49181         (LayoutTestController::allowRoundingHacks):
49182         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
49183         (LayoutTestController::allowRoundingHacks):
49184         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
49185         (LayoutTestController::allowRoundingHacks):
49186         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
49187         (LayoutTestController::allowRoundingHacks):
49188
49189 2011-06-24  Adam Roben  <aroben@apple.com>
49190
49191         Include the directory containing the failing tests in titles of bugs filed from TestFailures
49192         when all the tests won't fit
49193
49194         Fixes <http://webkit.org/b/63350> Short bug titles from TestFailures page give no indication
49195         which tests are failing
49196
49197         Reviewed by David Kilzer.
49198
49199         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
49200         (longestCommonPathPrefix): Added. Given a set of paths, returns the longest common prefix
49201         that ends in a path separator.
49202
49203         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49204         (ViewController.prototype._domForNewAndExistingBugs): When we can't fit all the test names
49205         in the title, first try to include the longest common prefix of the test names, then, if
49206         that's still too long or there's no common prefix, fall back to not including any
49207         information about which tests are failing.
49208
49209 2011-06-24  Adam Roben  <aroben@apple.com>
49210
49211         Include links to Trac in bugs filed from TestFailures
49212
49213         Fixes <http://webkit.org/b/63348> Bugs filed from TestFailures page should include links to
49214         Trac for suspect revisions
49215
49216         Reviewed by David Kilzer.
49217
49218         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
49219         (Trac.prototype.changesetURL): New function, returns the URL for a particular revision in
49220         Trac.
49221
49222         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49223         (ViewController.prototype._domForNewAndExistingBugs): If there's only one suspect revision,
49224         include a link to Trac for it in the first sentence of the description. Otherwise include a
49225         link to the suspect range after the list of failing tests.
49226
49227 2011-06-24  Nat Duca  <nduca@chromium.org>
49228
49229         Unreviewed, rolling out r89694.
49230         http://trac.webkit.org/changeset/89694
49231         https://bugs.webkit.org/show_bug.cgi?id=58408
49232
49233         Test shell still not ready for animate changes.
49234
49235         * DumpRenderTree/chromium/WebViewHost.cpp:
49236         (WebViewHost::paintInvalidatedRegion):
49237
49238 2011-06-24  Adam Roben  <aroben@apple.com>
49239
49240         Fix typos introduced in r89696
49241
49242         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
49243         (Builder.prototype.getNumberOfFailingTests): Pass the result data's constituent parts to the
49244         callback, since that's what it expects.
49245
49246 2011-06-24  Adam Roben  <aroben@apple.com>
49247
49248         Make TestFailures correctly remember whether old-run-webkit-tests exited early
49249
49250         Fixes <http://webkit.org/b/63342> TestFailures page incorrectly claims test run ran to
49251         completion after reload
49252
49253         Reviewed by David Kilzer.
49254
49255         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
49256         (Builder.prototype.getNumberOfFailingTests): Instead of just storing the number of failures
49257         in the PeristentCache, store an object that contains both the number of failures and whether
49258         old-run-webkit-tests exited early.
49259
49260 2011-06-24  Adam Roben  <aroben@apple.com>
49261
49262         Add links to regression ranges in Trac to the TestFailures page
49263
49264         Fixes <http://webkit.org/b/61060> <rdar://problem/9452153> TestFailures page should provide
49265         links to regression ranges in Trac
49266
49267         Reviewed by David Kilzer.
49268
49269         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js: Added.
49270         (Trac): This new class represents a particular instance of Trac for a single project.
49271         (Trac.prototype.logURL): Returns the URL that can be used to see the log of the given
49272         repository path between the two specified revisions
49273         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49274         (ViewController): Added new trac argument.
49275         (ViewController.prototype._displayBuilder): Moved code to create the DOM for the
49276         passed/failed builds from here...
49277         (ViewController.prototype._domForRegressionRange): ...to here. Now also includes a link to
49278         Trac if there are multiple suspect revisions.
49279
49280         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
49281         Trac.js and pass a Trac instance for trac.webkit.org to the ViewController.
49282
49283 2011-05-17  Nat Duca  <nduca@chromium.org>
49284
49285         Reviewed by James Robinson.
49286
49287         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
49288         https://bugs.webkit.org/show_bug.cgi?id=58408
49289
49290         * DumpRenderTree/chromium/WebViewHost.cpp:
49291         (WebViewHost::paintInvalidatedRegion):
49292
49293 2011-06-24  Dominic Cooney   <dominicc@chromium.org>
49294
49295         Reviewed by Dimitri Glazkov.
49296
49297         Convert shadow DOM-related tests to use window.internals
49298         https://bugs.webkit.org/show_bug.cgi?id=61671
49299
49300         Remove ensureShadowRoot, shadowRoot, shadowPseudoId and
49301         removeShadowRoot from layoutTestController; these have been
49302         replaced by equivalents in window.internals instead.
49303
49304         * DumpRenderTree/LayoutTestController.cpp:
49305         (LayoutTestController::staticFunctions):
49306         * DumpRenderTree/LayoutTestController.h:
49307         * DumpRenderTree/chromium/LayoutTestController.cpp:
49308         (LayoutTestController::LayoutTestController):
49309         * DumpRenderTree/chromium/LayoutTestController.h:
49310         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
49311         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
49312         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
49313         * DumpRenderTree/qt/LayoutTestControllerQt.h:
49314         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
49315         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
49316         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
49317         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
49318         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
49319
49320 2011-06-24  Csaba Osztrogonác  <ossy@webkit.org>
49321
49322         Reviewed by Dirk Schulze.
49323
49324         Make run-bindings-tests remove its temporary directories.
49325         https://bugs.webkit.org/show_bug.cgi?id=63320
49326
49327         * Scripts/run-bindings-tests:
49328
49329 2011-06-23  MORITA Hajime  <morrita@google.com>
49330
49331         Reviewed by Kent Tamura.
49332
49333         [Chromium] Invalid write inside WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld
49334         https://bugs.webkit.org/show_bug.cgi?id=63216
49335
49336         Deleted m_webViewHost which looks leaked.
49337         
49338         * DumpRenderTree/chromium/TestShell.h:
49339         * DumpRenderTree/chromium/TestShell.cpp:
49340         (TestShell::~TestShell):
49341
49342 2011-06-24  Carlos Garcia Campos  <cgarcia@igalia.com>
49343
49344         Unreviewed. Fix WebKit2 GTK build.
49345
49346         * WebKitTestRunner/GNUmakefile.am:
49347
49348 2011-06-23  Ryuan Choi  <ryuan.choi@samsung.com>
49349
49350         Unreviewed, add myself as committer.
49351
49352         * Scripts/webkitpy/common/config/committers.py:
49353
49354 2011-06-23  Nat Duca  <nduca@chromium.org>
49355
49356         Unreviewed, add myself as committer.
49357
49358         * Scripts/webkitpy/common/config/committers.py:
49359
49360 2011-06-23  Dirk Pranke  <dpranke@chromium.org>
49361
49362         Reviewed by Tony Chang.
49363
49364         nrwt: move http locking code into manager
49365         https://bugs.webkit.org/show_bug.cgi?id=63103
49366
49367         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
49368         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
49369
49370 2011-06-23  Alok Priyadarshi  <alokp@chromium.org>
49371
49372         Reviewed by James Robinson.
49373
49374         [chromium] Add support for running layout tests with accelerated rendering
49375         https://bugs.webkit.org/show_bug.cgi?id=63274
49376
49377         * Scripts/webkitpy/layout_tests/port/chromium.py:
49378         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
49379
49380 2011-06-23  Adam Roben  <aroben@apple.com>
49381
49382         Avoid fetching JSON data when possible on TestFailures page to determine if
49383         old-run-webkit-tests exited early
49384
49385         As of r89610, results.html includes information about whether old-run-webkit-tests exited
49386         early, so we don't need to look at JSON data to get this information for builds newer than
49387         that.
49388
49389         Fixes <http://webkit.org/b/63281> TestFailures page fetches build JSON for every build,
49390         which is slow and limits history to the last build master restart
49391
49392         Reviewed by David Kilzer.
49393
49394         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
49395         (Builder.prototype._getFailingTests): Moved code dealing with results.html into a new
49396         function. If we're dealing with a build that has early-exit information in results.html,
49397         don't bother fetching JSON data and go straight to parsing results.html. Otherwise first use
49398         the JSON data to determine if old-run-webkit-tests exited early, and then parse results.html
49399         (as before).
49400
49401 2011-06-23  Eric Seidel  <eric@webkit.org>
49402
49403         Reviewed by Adam Barth.
49404
49405         sheriffbot can no longer restart
49406         https://bugs.webkit.org/show_bug.cgi?id=63221
49407
49408         Fixed and unit tested.
49409
49410         * Scripts/webkitpy/tool/bot/queueengine.py:
49411         * Scripts/webkitpy/tool/bot/sheriffircbot.py:
49412         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
49413
49414 2011-06-23  Martin Robinson  <mrobinson@igalia.com>
49415
49416         Reviewed by Xan Lopez.
49417
49418         [GTK] [WebKit2] WebKitTestRunner does not properly load TestNetscapePlugin
49419         https://bugs.webkit.org/show_bug.cgi?id=63287
49420
49421         Send the path to the TestNetscapePlugin to the WKTR via an environment variable
49422         so that the plugin loads properly.
49423
49424         * Scripts/old-run-webkit-tests: Pass the appropriate environment variable to WKTR.
49425         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
49426         (WTR::getEnvironmentVariableAsUTF8String): Added this helper which abstracts away some
49427         of the work for getting an environment variable and converting it to UTF-8.
49428         (WTR::TestController::initializeInjectedBundlePath): Use the helper.
49429         (WTR::TestController::initializeTestPluginDirectory): Get the path from an environment variable now.
49430
49431 2011-06-23  Adam Roben  <aroben@apple.com>
49432
49433         Record whether old-run-webkit-tests aborted early in results.html
49434
49435         Fixes <http://webkit.org/b/63280> results.html gives no indication of whether
49436         old-run-webkit-tests stopped running tests early
49437
49438         Reviewed by David Kilzer.
49439
49440         * Scripts/old-run-webkit-tests:
49441         (top level): Switched to heredoc syntax for printing the start of results.html for clarity.
49442         Added a <style> element with some styles for the new message. If we stopped running early,
49443         put the reason why at the top of results.html.
49444         (stopRunningTestsEarlyIfNeeded): Store the message we print in the new
49445         $stoppedRunningEarlyMessage global.
49446
49447 2011-06-23  Adam Roben  <aroben@apple.com>
49448
49449         Cache some of the TestFailures page's data in localStorage
49450
49451         This makes reloading TestFailures much faster. Right now we only store the number of failing
49452         tests and the list of failing tests for each build. We may choose to store more later, but
49453         it's easy to run up against quota limits.
49454
49455         Fixes <http://webkit.org/b/61520> TestFailures page should take advantage of LocalStorage
49456         APIs (or similar) to improve loading performance
49457
49458         Reviewed by David Kilzer.
49459
49460         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
49461         (Builder.prototype.getNumberOfFailingTests): Changed to use the new PersistentCache object.
49462         (Builder.prototype.startFetchingBuildHistory): Changed to pass whether or not we're still
49463         fetching data to the callback.
49464         (Builder.prototype._getFailingTests): Changed to use the new PersistentCache object. We now
49465         store the tests in the cache just before calling the callback. (The previous code in this
49466         function relied on being able to modify the tests object after storing it in the cache and
49467         having the cached version be updated. This worked while it was a non-serialized cache, but
49468         PersistentCache uses serialization.)
49469
49470         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/PersistentCache.js: Added.
49471         (PersistentCache): This object wraps localStorage. It uses JSON to serialize/deserialize
49472         values, and stores the date that each value was initially stored along with it. This is
49473         later used for pruning the cache.
49474         (PersistentCache.contains): Checks whether the key exists in localStorage.
49475         (PersistentCache.get): Fetch the string we stored in localStorage and extract the original
49476         value out of it.
49477         (PersistentCache.set): Serialize the value, add the date to it, and store it in
49478         localStorage. If this fails due to quota limits, empty the whole cache and try again.
49479         (PersistentCache.prune): Delete any cached data that is deemed old enough.
49480         (PersistentCache._addDateToJSONString): Prepend the current date to the string.
49481         (PersistentCache._emptyCache): Delete everything from localStorage.
49482         (PersistentCache._parseDateAndJSONFromString): Split apart the date and the JSON string and
49483         return them.
49484
49485         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49486         (ViewController.prototype._displayBuilder): Updated for change to callback signature. When
49487         we finish fetching data, prune the PersistentCache. While I was here I also fixed a bug
49488         where we'd never show the new bug link for tests for which we couldn't determine a passing
49489         revision.
49490
49491         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in
49492         PersistentCache.js.
49493
49494 2011-06-23  Adam Roben  <aroben@apple.com>
49495
49496         Make finding existing bugs and filing new bugs work on TestFailures even when lots of tests are failing
49497
49498         One bug this fixes is <http://webkit.org/b/61660> New bug links on TestFailures page often
49499         contain titles that are so long they are rejected by Bugzilla
49500
49501         Reviewed by David Kilzer.
49502
49503         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
49504         (Bugzilla.prototype.quickSearch): Use fetchResource to POST the search query rather than
49505         using a query string on the URL. If the search query is very long, using a query string can
49506         cause the request to be rejected due to the URL being too long. POSTing avoids this issue.
49507         (Bugzilla.maximumBugTitleLength): Added this constant based on Bugzilla's implementation.
49508
49509         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
49510         (.new-bug-form): Hide the form that we secretly use to file a new bug.
49511
49512         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
49513         (fetchResource): Added. Code came from getResource. If we're using a GET request, add the
49514         query parameters to the URL. Otherwise, send them as the body of the request along with the
49515         appropriate headers.
49516         (getResource): Now just calls through to fetchResource.
49517         (urlEncodedQueryParameters): Added. Moved some code here...
49518         (addQueryParametersToURL): ...from here.
49519
49520         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49521         (ViewController.prototype._domForNewAndExistingBugs): Shorten the title to just mention the
49522         number of failing tests if mentioning all the tests would make the title too long. Improved
49523         the description for large numbers of failures by listing the tests one-per-line instead of
49524         just having them be comma-separated, which was hard to read. Use a form to file the new bug
49525         instead of a link so that we can POST the form data. (Using a URL with a query string can
49526         result in the URL being too long.) The new bug link now just submits the form.
49527
49528 2011-06-23  Adam Roben  <aroben@apple.com>
49529
49530         Show closed bugs on the TestFailures page in addition to open ones
49531
49532         Fixes <http://webkit.org/b/63194> TestFailures page should show closed bugs, too
49533
49534         Reviewed by David Kilzer.
49535
49536         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
49537         (Bugzilla.prototype.quickSearch): Added code to extract the bug's status and store it in the
49538         returned data.
49539         (Bugzilla.isOpenStatus): New function, returns true if the passed-in status indicates that
49540         the associated bug is still open.
49541
49542         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
49543         (addQueryParametersToURL): Add a missing semicolon.
49544         (Node.prototype.appendChildren): New function, like appendChild but takes an array-like
49545         object and appends each of the values stored within.
49546
49547         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49548         (ViewController.prototype._domForNewAndExistingBugs): Prepend 'ALL' to the query so closed
49549         bugs will be included in the results. Split the returned bugs into two sets: those which are
49550         open, and those which are closed. Put the open bugs at the top level of the list, and the
49551         closed bugs in a second level.
49552
49553 2011-06-23  Adam Roben  <aroben@apple.com>
49554
49555         Don't count new tests as failures on the TestFailures page
49556
49557         Fixes <http://webkit.org/b/63254> TestFailures page calls new tests "failures", even though
49558         they aren't
49559
49560         Reviewed by Anders Carlsson.
49561
49562         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
49563         (Builder.prototype.getNumberOfFailingTests): Don't add the number of new tests to the number
49564         of failures.
49565
49566 2011-06-23  Dirk Pranke  <dpranke@chromium.org>
49567
49568         Reviewed by Eric Seidel.
49569
49570         nrwt: make TestInput objects printable
49571         https://bugs.webkit.org/show_bug.cgi?id=63225
49572
49573         This makes debugging slighlty easier.
49574
49575         * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
49576
49577 2011-06-22  Daniel Bates  <dbates@webkit.org>
49578
49579         Reviewed by Adam Barth.
49580
49581         test-webkitpy --all errors out because scm_unittest.py can't find module checkout
49582         https://bugs.webkit.org/show_bug.cgi?id=62943
49583
49584         Remove "from .checkout import Checkout" from scm_unittest.py since it's included
49585         by Scripts/webkitpy/common/checkout/__init__.py.
49586
49587         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
49588
49589 2011-06-22  Dominic Cooney  <dominicc@chromium.org>
49590
49591         Reviewed by Mark Rowe.
49592
49593         Add window.internals to WebKit2's WebKitTestRunner.
49594         https://bugs.webkit.org/show_bug.cgi?id=61073
49595
49596         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pxbproj:
49597         * WebKitTestRunner/Configurations/Base.xcconfig:
49598         * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops:
49599         * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
49600         * WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops:
49601         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
49602         (WTR::InjectedBundlePage::didClearWindowForFrame):
49603         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
49604         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
49605
49606 2011-06-22  Eric Seidel  <eric@webkit.org>
49607
49608         Reviewed by Adam Barth.
49609
49610         Make sheriff-bot rollout messages a little nicer
49611         https://bugs.webkit.org/show_bug.cgi?id=63107
49612
49613         itertools.chain.from_iterable is new in 2.6,
49614         use itertools.chain(*list) for 2.5 compat.
49615
49616         * Scripts/webkitpy/tool/bot/irc_command.py:
49617
49618 2011-06-22  Eric Seidel  <eric@webkit.org>
49619
49620         Reviewed by Adam Barth.
49621
49622         Make sheriff-bot robust against exceptions from commands
49623         https://bugs.webkit.org/show_bug.cgi?id=63211
49624
49625         sheriff-bot was acting strange this afternoon.
49626         We don't know if this will fix the cause, but
49627         at least it adds some unit tests and catches
49628         one possible cause.
49629
49630         * Scripts/webkitpy/tool/bot/sheriffircbot.py:
49631         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
49632
49633 2011-06-22  Mark Rowe  <mrowe@apple.com>
49634
49635         Reviewed by David Levin.
49636
49637         <http://webkit.org/b/63212> TestWebKitAPI Xcode project has bogus settings since r86287
49638
49639         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Fix the reference to libgtest.a to
49640         be relative to the built products directory rather than using a hard-coded path. Remove the
49641         explicit settings of FRAMEWORK_SEARCH_PATHS, HEADER_SEARCH_PATHS and LIBRARY_SEARCH_PATHS
49642         as they're all unnecessary. If they were necessary they should be set in the .xcconfig file
49643         rather than in the .xcodeproj directly.
49644
49645 2011-06-22  Dirk Pranke  <dpranke@chromium.org>
49646
49647         Reviewed by Ojan Vafai.
49648
49649         new-run-webkit-tests: remove obsolete port.shut_down_http_server method
49650         https://bugs.webkit.org/show_bug.cgi?id=59993
49651
49652         * Scripts/webkitpy/layout_tests/port/base.py:
49653         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
49654         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
49655         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
49656         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
49657         * Scripts/webkitpy/layout_tests/port/gtk.py:
49658         * Scripts/webkitpy/layout_tests/port/mac.py:
49659         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
49660         * Scripts/webkitpy/layout_tests/port/qt.py:
49661         * Scripts/webkitpy/layout_tests/port/win.py:
49662
49663 2011-06-22  Luke Macpherson   <macpherson@chromium.org>
49664
49665         Reviewed by Andreas Kling.
49666
49667         Move macpherson from contributor list to committer list.
49668         https://bugs.webkit.org/show_bug.cgi?id=63179
49669
49670         * Scripts/webkitpy/common/config/committers.py:
49671         Move macpherson from contributor list to committer list.
49672
49673 2011-06-22  David Levin  <levin@chromium.org>
49674
49675         Reviewed by Adam Barth.
49676
49677         check-webkit-style should detect returning (Own|Ref)Ptr instead of the Pass*Ptr version.
49678         https://bugs.webkit.org/show_bug.cgi?id=63204
49679
49680         * Scripts/webkitpy/style/checkers/cpp.py: Added a check for the return value and combined
49681           with similar code for the parameter checking.
49682         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Removed pass_ptr checks from
49683           those done for single lines since they don't make sense in that case (variable decls look like function decls).
49684           Removed some redundant comments (one of which was slightly wrong).
49685           Added checks for the new functionality and minor other test changes.
49686
49687 2011-06-22  Nate Chapin  <japhet@chromium.org>
49688
49689         Reviewed by Adam Barth.
49690
49691         Add libsoup to libWebCoreInternals build.
49692         https://bugs.webkit.org/show_bug.cgi?id=62066
49693
49694         * GNUmakefile.am:
49695
49696 2011-06-22  Dirk Pranke  <dpranke@chromium.org>
49697
49698         Reviewed by Tony Chang.
49699
49700         nrwt: handle missing httpd cleanly
49701         https://bugs.webkit.org/show_bug.cgi?id=62027
49702
49703         We had reverted the change in r89414, so this adds it back in
49704         (modifying check_sys_deps() in port/base.py to check for an
49705         installed web server).
49706
49707         This change then fixes the change in r89414 to stub out the
49708         check_sys_deps() in the test port so that the unit tests run correctly.
49709
49710         * Scripts/webkitpy/layout_tests/port/base.py:
49711         * Scripts/webkitpy/layout_tests/port/test.py:
49712
49713 2011-06-22  David Levin  <levin@chromium.org>
49714
49715         Reviewed by Adam Barth.
49716
49717         check-webkit-style should check for invalid uses of RefPtr/OwnPtr as parameters.
49718         https://bugs.webkit.org/show_bug.cgi?id=63188
49719
49720         * Scripts/webkitpy/style/checkers/cpp.py: Added the check.
49721         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
49722
49723 2011-06-22  Tony Chang  <tony@chromium.org>
49724
49725         Reviewed by Ojan Vafai.
49726
49727         Add a buildbot for testing ENABLE(CSS3_FLEXBOX)
49728         https://bugs.webkit.org/show_bug.cgi?id=62891
49729
49730         * BuildSlaveSupport/build.webkit.org-config/config.json:
49731
49732 2011-06-22  Dirk Pranke  <dpranke@chromium.org>
49733
49734         Reviewed by Ojan Vafai.
49735
49736         nrwt: don't look for http lock when running the test port
49737         https://bugs.webkit.org/show_bug.cgi?id=63158
49738
49739         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
49740         * Scripts/webkitpy/layout_tests/port/test.py:
49741
49742 2011-06-22  Balazs Kelemen  <kbalazs@webkit.org>
49743
49744         Reviewed by Andreas Kling.
49745
49746         [Qt][WK2] Set up plugin tests
49747         https://bugs.webkit.org/show_bug.cgi?id=63066
49748
49749         * WebKitTestRunner/qt/TestControllerQt.cpp:
49750         (WTR::TestController::initializeTestPluginDirectory):
49751         Use the QTWEBKIT_PLUGIN_PATH environment variable as the path
49752         of the test plugin like DRT does.
49753
49754 2011-06-22  Eric Seidel  <eric@webkit.org>
49755
49756         Reviewed by Ojan Vafai.
49757
49758         Make sheriff-bot rollout messages a little nicer
49759         https://bugs.webkit.org/show_bug.cgi?id=63107
49760
49761         It annoyed me this afternoon that I had to convert sheriff-bots "r12345" revisions
49762         into urls myself.  So I have now fixed its "preparing" message to include a url.
49763
49764         I also figured that I should make the messages mention all of the responsible parties
49765         so that rollouts are never surprises.  If you're in the channel and were involved
49766         in a patch, you will see if someone is using sheriff-bot to rollout a patch.
49767
49768         As part of doing this I also changed (and tested) _parse_args to fail-fast
49769         when given invalid args.
49770
49771         * Scripts/webkitpy/tool/bot/irc_command.py:
49772         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
49773         * Scripts/webkitpy/tool/bot/sheriff.py:
49774         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
49775
49776 2011-06-22  Dirk Pranke  <dpranke@chromium.org>
49777
49778         Reviewed by Tony Chang.
49779
49780         run-webkit-websocketserver fails to stop websocket server
49781         https://bugs.webkit.org/show_bug.cgi?id=63123
49782
49783         There's a ten-character change in new-run-webkit-websocketserver
49784         that fixes the actual bug, and then we update the code in
49785         new-run-webkit-httpd to do the actual stop call, and add more tests
49786         (refactoring the existing test code so that it is shared).
49787
49788         * Scripts/new-run-webkit-httpd:
49789         * Scripts/new-run-webkit-websocketserver:
49790         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py:
49791
49792 2011-06-22  Adam Roben  <aroben@apple.com>
49793
49794         Add links to existing bugs related to failing tests on TestFailures page
49795
49796         I changed the layout of the page a little to make it easier to read with all the new
49797         information. Passing/failing revisions have been moved down below the list of tests to be
49798         closer to the existing bugs and the new bug link. And each set of tests and its relevant
49799         information is in a light gray box.
49800
49801         Fixes <http://webkit.org/b/61665> TestFailures page should link to existing bugs when
49802         possible
49803
49804         Reviewed by Darin Adler.
49805
49806         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js: Added.
49807         (Bugzilla): This new class represents a single Bugzilla instance.
49808         (Bugzilla.prototype.quickSearch): Searches Bugzilla using its Quick Search functionality,
49809         passing the resulting bug titles and URLs to the callback when complete. If called multiple
49810         times with the same query before the query returns, caches the callbacks so that only one
49811         query is sent over the wire. When the query completes, all pending callbacks are called.
49812
49813         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
49814         (#failure-history): Reduce the margin/padding on the top-level list a bit.
49815         (#failure-history > li): Put each set of tests in a gray box, and indent most information
49816         inside the box.
49817         (.test-list): Unindent the list of failing tests so it is visually at the top level.
49818         (.new-and-existing-bugs): Reduce the space at the bottom of this area so that the bottom of
49819         each box isn't a big empty space.
49820         (.existing-bugs-list): Use a smaller text size for existing bugs, since their titles can be
49821         quite long.
49822
49823         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
49824         (addQueryParametersToURL): New function extracted from
49825         ViewController.prototype._domForNewAndExistingBugs.
49826
49827         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
49828         (ViewController): Take and store an optional Bugzilla instance.
49829         (ViewController.prototype._displayBuilder): Give the top-level list an id for styling
49830         purposes and move the list of failing tests above all other information. Only show bug
49831         information once we've determined the most-recent passing revision for a set of tests. It's
49832         not that useful to file a new bug before this information has been determined, and searching
49833         for existing bugs before we've figured out which tests started failing at the same time
49834         would end up giving you information about a bunch of unrelated tests.
49835         (ViewController.prototype._domForNewAndExistingBugs): Renamed from _domForNewBugLink. Now
49836         returns a DocumentFragment instead of an HTMLParagraphElement. If we don't have a Bugzilla
49837         instance, just returns an empty DocumentFragment. Starts a search for bugs related to the
49838         failing tests, and adds links to the bugs when the search completes.
49839
49840         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pass a
49841         Bugzilla instance for bugs.webkit.org to the ViewController.
49842
49843 2011-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
49844
49845         Reviewed by Martin Robinson.
49846
49847         [GTK] Apply current view settings to newly created views in GtkLauncher
49848         https://bugs.webkit.org/show_bug.cgi?id=63142
49849
49850         * GtkLauncher/main.c:
49851         (createWebViewCb):
49852
49853 2011-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
49854
49855         Reviewed by Martin Robinson.
49856
49857         [GTK] Use GOption to parse main arguments in GtkLauncher
49858         https://bugs.webkit.org/show_bug.cgi?id=63060
49859
49860         Instead of getting the settings from the view, create a new
49861         settings object not associated with any view so that we can parse
49862         the command line arguments before creating the view. It will also
49863         allows to use the same settings for more than one view if we
49864         eventually support passing more than one uri from the command
49865         line.
49866
49867         * GtkLauncher/main.c:
49868         (parseOptionEntryCallback): Make this function static. Also use
49869         g_ascii_strtoll/g_ascii_strtod to parse int/float values instead
49870         of atoi/atof to provide better error messages. And always fill the
49871         error struct when the function fails.
49872         (getOptionEntriesFromWebKitWebSettings): Use an array of
49873         GOptionEntry structs instead of a GArray, since that is what
49874         g_option_group_add_entries() expects and the array size doesn't
49875         change.
49876         (addWebSettingsGroupToContext): Helper function to add the
49877         websettings group to the option context.
49878         (main): Create the option context to parse command line arguments.
49879
49880 2011-06-22  Martin Robinson  <mrobinson@igalia.com>
49881
49882         Reviewed by Adam Roben.
49883
49884         [GTK] Implement pixel dump support for WebKitTestRunner
49885         https://bugs.webkit.org/show_bug.cgi?id=58242
49886
49887         * DumpRenderTree/gtk/GNUmakefile.ImageDiff.am: Added.
49888         * GNUmakefile.am: Separate out the ImageDiff bits of the GNUmakefile.
49889         * Scripts/old-run-webkit-tests: Update to add support for the GTK+ port.
49890         * WebKitTestRunner/GNUmakefile.am: Added Cairo specific files to the build.
49891         * WebKitTestRunner/TestInvocation.cpp: Moved this code to the platform-independent
49892         file so that we can share it across platforms.
49893         (WTR::TestInvocation::compareActualHashToExpectedAndDumpResults):
49894         * WebKitTestRunner/TestInvocation.h: Updated method list.
49895         * WebKitTestRunner/cairo/TestInvocationCairo.cpp: Added Cairo implementation.
49896         * WebKitTestRunner/cg/TestInvocationCG.cpp:
49897         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Updated to use new helper.
49898
49899 2011-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>
49900
49901         Unreviewed, rolling out r89414.
49902         http://trac.webkit.org/changeset/89414
49903         https://bugs.webkit.org/show_bug.cgi?id=63130
49904
49905         It broke webkitpy tests (Requested by Ossy on #webkit).
49906
49907         * Scripts/webkitpy/layout_tests/port/base.py:
49908
49909 2011-06-22  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
49910
49911         Reviewed by Dirk Pranke.
49912
49913         [NRWT] Print error message when there is no httpd present on the system
49914         https://bugs.webkit.org/show_bug.cgi?id=62027
49915
49916         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
49917
49918 2011-06-21  Dirk Pranke  <dpranke@chromium.org>
49919
49920         Unreviewed, build fix.
49921         Fix crashes in new-run-webkit-tests resulting from the
49922         change to the http_server logic in r89400. Python 2.5
49923         on Mac 10.5 has some weird error paths.
49924
49925         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
49926         * Scripts/webkitpy/common/system/executive.py:
49927
49928 2011-06-21  MORITA Hajime  <morrita@google.com>
49929
49930         Unreviewed, rolling out r89401 and r89403.
49931         http://trac.webkit.org/changeset/89401
49932         http://trac.webkit.org/changeset/89403
49933         https://bugs.webkit.org/show_bug.cgi?id=62970
49934
49935         Breaks mac build and mistakenly enables the spellcheck API
49936
49937         * Scripts/build-webkit:
49938         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
49939
49940 2011-06-21  Kent Tamura  <tkent@chromium.org>
49941
49942         [Mac] Sort Xcode project files.
49943
49944         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
49945
49946 2011-06-20  MORITA Hajime  <morrita@google.com>
49947
49948         Reviewed by Kent Tamura.
49949
49950         Spellcheck API should be build-able.
49951         https://bugs.webkit.org/show_bug.cgi?id=62970
49952
49953         * Scripts/build-webkit:
49954
49955 2011-06-21  Dirk Pranke  <dpranke@chromium.org>
49956
49957         Reviewed by Tony Chang.
49958
49959         nrwt: attempt #3 at fixing server startup/shutdown
49960         https://bugs.webkit.org/show_bug.cgi?id=62829
49961
49962         Attempt yet again to make starting and stopping servers
49963         reliable. It turns out that apache has races between when the
49964         ctl process exists and when it writes/removes the pid file.
49965         This change accounts for the races.
49966
49967         * Scripts/new-run-webkit-httpd:
49968         * Scripts/webkitpy/common/system/executive.py:
49969         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
49970         * Scripts/webkitpy/layout_tests/port/base.py:
49971         * Scripts/webkitpy/layout_tests/port/http_server.py:
49972         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
49973         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Added.
49974         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
49975         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
49976
49977 2011-06-21  Dmitry Lomov  <dslomov@google.com>
49978
49979         Reviewed by Adam Roben.
49980
49981         https://bugs.webkit.org/show_bug.cgi?id=63080
49982         Unit-tests step on test-only bot is broken.
49983         Removing the step until run-api-tests is fixed.
49984
49985         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
49986
49987 2011-06-20  Dmitry Lomov  <dslomov@google.com>
49988
49989         Reviewed by David Levin.
49990
49991         https://bugs.webkit.org/show_bug.cgi?id=63017
49992         "Unit tests" step on bots should provide more information in case of failure.
49993
49994         * BuildSlaveSupport/build.webkit.org-config/master.cfg: added --verbose flag to UnitTests step.
49995
49996 2011-06-20  Dirk Pranke  <dpranke@chromium.org>
49997
49998         Reviewed by Ojan Vafai.
49999
50000         new-run-webkit-tests: order shards by name, not number of tests
50001         https://bugs.webkit.org/show_bug.cgi?id=62753
50002
50003         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
50004
50005 2011-06-20  Dirk Pranke  <dpranke@chromium.org>
50006
50007         Reviewed by Ojan Vafai.
50008
50009         we should only log the test names to the tests_run.txt files during layout_tests
50010         https://bugs.webkit.org/show_bug.cgi?id=62751
50011
50012         * Scripts/old-run-webkit-tests:
50013         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
50014
50015 2011-06-20  Eric Seidel  <eric@webkit.org>
50016
50017         Reviewed by Adam Barth.
50018
50019         commit-queue/ews-bots should run run-bindings-tests for every patch
50020         https://bugs.webkit.org/show_bug.cgi?id=63010
50021
50022         * Scripts/webkitpy/common/config/ports.py:
50023         * Scripts/webkitpy/tool/commands/download_unittest.py:
50024         * Scripts/webkitpy/tool/steps/runtests.py:
50025         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
50026         * Scripts/webkitpy/tool/steps/steps_unittest.py:
50027
50028 2011-06-20  Chang Shu  <cshu@webkit.org>
50029
50030         Reviewed by Adam Barth.
50031
50032         fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code tests fail when showModalDialog isn't supported
50033         https://bugs.webkit.org/show_bug.cgi?id=53676
50034
50035         * WebKitTestRunner/TestController.cpp:
50036         (WTR::TestController::initialize):
50037
50038 2011-06-20  Eric Seidel  <eric@webkit.org>
50039
50040         Reviewed by Adam Barth.
50041
50042         buildbots should run run-bindings-tests
50043         https://bugs.webkit.org/show_bug.cgi?id=63001
50044
50045         run-bindings-tests takes 2.4 seconds on my machine, so
50046         I expect this will not be noticeable on the bots.
50047
50048         I also removed tiger-specific checks since Tiger is no
50049         longer a supported platform for webkit.
50050
50051         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
50052
50053 2011-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
50054
50055         Unreviewed. Fix WebKit2 GTK build after r89249.
50056
50057         * GtkLauncher/main.c:
50058         (main):
50059
50060 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
50061
50062         Reviewed by Yury Semikhatsky.
50063
50064         Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
50065         https://bugs.webkit.org/show_bug.cgi?id=62994
50066
50067         * DumpRenderTree/LayoutTestController.cpp:
50068         (closeWebInspectorCallback):
50069         (LayoutTestController::staticFunctions):
50070         * DumpRenderTree/LayoutTestController.h:
50071         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
50072         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
50073         * DumpRenderTree/chromium/LayoutTestController.cpp:
50074         (LayoutTestController::LayoutTestController):
50075         * DumpRenderTree/chromium/LayoutTestController.h:
50076         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
50077         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
50078         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50079         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50080         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
50081         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
50082         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
50083         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
50084         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
50085
50086 2011-06-20  Lukasz Slachciak  <l.slachciak@samsung.com>
50087
50088         Reviewed by Martin Robinson.
50089
50090         [GTK] General mechanism for adjusting WebKitWebSettings in GtkLauncher.
50091         https://bugs.webkit.org/show_bug.cgi?id=55308
50092
50093         * GtkLauncher/main.c: Added general mechanism for adjusting WebKitWebSettings.
50094         (parseOptionEntryCallback): Callback for parsing option entry.
50095         (getOptionEntriesFromWebKitWebSettings): Basing on the WebKitWebSettings properties prepare
50096         list of option entries.
50097         (transformStringToBoolean): Transform function for boolean convertion used by parseOptionEntryCallback.
50098         (transformStringToInt): Transform function for int convertion used by parseOptionEntryCallback.
50099         (transformStringToFloat): Transform function for float convertion used by parseOptionEntryCallback.
50100         (parseAdditionalOptions): Help function parsing additional commandline options.
50101         (main): Added call to parseAdditionalOptions.
50102
50103 2011-06-20  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
50104
50105         Reviewed by Andreas Kling.
50106
50107         [Qt] [WK2] Compile error in ActivateFontsQt.cpp on Mac
50108         https://bugs.webkit.org/show_bug.cgi?id=62869
50109
50110         Add QFont include to fix "incomlete type QFont" error.
50111
50112         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
50113
50114 2011-06-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
50115
50116         Reviewed by Martin Robinson.
50117
50118         [GTK] Enable Media Stream feature and make it default on
50119         https://bugs.webkit.org/show_bug.cgi?id=60394
50120
50121         * Scripts/build-webkit:
50122
50123 2011-06-19  Sheriff Bot  <webkit.review.bot@gmail.com>
50124
50125         Unreviewed, rolling out r89198.
50126         http://trac.webkit.org/changeset/89198
50127         https://bugs.webkit.org/show_bug.cgi?id=62953
50128
50129         Chromium breakage on "Linux Tests" (Requested by senorblanco
50130         on #webkit).
50131
50132         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
50133         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
50134         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
50135
50136 2011-06-18  Daniel Bates  <dbates@webkit.org>
50137
50138         Reviewed by Eric Seidel.
50139
50140         Git.push_local_commits_to_server() should use passed username and
50141         password when we don't have cached credentials
50142         https://bugs.webkit.org/show_bug.cgi?id=62941
50143
50144         Fixes a issue where Git.push_local_commits_to_server() would always look
50145         for cached credentials regardless of whether a username and password
50146         were passed as arguments. Instead, if given both a username and password
50147         then we shouldn't look for cached credentials (since we were explicitly given
50148         credentials).
50149
50150         * Scripts/webkitpy/common/checkout/scm/git.py:
50151         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: Added unit tests.
50152
50153 2011-06-18  Daniel Bates  <dbates@rim.com>
50154
50155         Rubber-stamped by Eric Seidel.
50156
50157         Remove run-javascriptcore-tests --skip-build option; Instead add --build/no-build options
50158         https://bugs.webkit.org/show_bug.cgi?id=62767
50159
50160         Part 3 of 3
50161
50162         Remove the command-line option --skip-build now that the master BuildBot has been restarted
50163         following <http://trac.webkit.org/changeset/89138>.
50164
50165         Instead, specify --no-build to get analogous functionality.
50166
50167         * Scripts/run-javascriptcore-tests:
50168
50169 2011-06-18  Dirk Pranke  <dpranke@chromium.org>
50170
50171         Reviewed by Tony Chang.
50172
50173         new-run-webkit-tests: fix test sorting
50174         https://bugs.webkit.org/show_bug.cgi?id=58691
50175
50176         This changes the sorting to use a "natural" sort order such that
50177         foo2.html sorts before foo13.html, and sorts the tests so
50178         that all the tests in a directory are run before any test in a
50179         subdirectory.
50180
50181         This change also adds a split() method to the filesystem since
50182         that is needed to cluster files into a directory otherwise.
50183
50184         * Scripts/webkitpy/common/system/filesystem.py:
50185         * Scripts/webkitpy/common/system/filesystem_mock.py:
50186         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
50187         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py:
50188
50189 2011-06-18  Evan Martin  <evan@chromium.org>
50190
50191         Reviewed by Darin Adler.
50192
50193         Compiler warning in double->int conversion in TestNetscapePlugIn
50194         https://bugs.webkit.org/show_bug.cgi?id=51554
50195
50196         This code is providing a JS API for removing a property by numeric ID.
50197         We get it from JS as a double, and must convert it to an int before using it.
50198
50199         Test: LayoutTests/plugins/npruntime/remove-property.html
50200
50201         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp:
50202         (NPRuntimeRemoveProperty::TestObject::invoke):
50203
50204 2011-06-18  Patrick Gansterer  <paroga@webkit.org>
50205
50206         Reviewed by Eric Seidel.
50207
50208         Don't exit webkit-patch when running on Win32 python
50209         https://bugs.webkit.org/show_bug.cgi?id=55811
50210
50211         Most of the basic actions work in the meantime,
50212         so let people play with in on Win32 now.
50213
50214         * Scripts/webkit-patch:
50215
50216 2011-06-18  Alice Boxhall  <aboxhall@chromium.org>
50217
50218         Reviewed by Ojan Vafai.
50219
50220         Convert json_results_generator.py to output version 4 JSON.
50221         https://bugs.webkit.org/show_bug.cgi?id=60869
50222
50223         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
50224         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
50225         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
50226
50227 2011-06-18  Berend-Jan Wever  <skylined@chromium.org>
50228
50229         Reviewed by Eric Seidel.
50230
50231         Some names with spaces are incorrectly reported as not containing spaces
50232         while running prepare-ChangeLog
50233         https://bugs.webkit.org/show_bug.cgi?id=55572
50234
50235         * Scripts/VCSUtils.pm: Updated CHANGE_LOG_NAME check for spaces to allow
50236           non-alphanumeric characters in names.
50237
50238 2011-06-18  Michael Saboff  <msaboff@apple.com>
50239
50240         Reviewed by Eric Seidel.
50241
50242         Enhancement: New Script to Format malloc_history output as tree
50243         https://bugs.webkit.org/show_bug.cgi?id=56378
50244
50245         New script to process malloc_history output to tree format.
50246
50247         * Scripts/malloc-tree: Added.
50248
50249 2011-06-17  Dmitry Lomov  <dslomov@google.com>
50250
50251         Reviewed by Daniel Bates.
50252
50253         https://bugs.webkit.org/show_bug.cgi?id=62918 
50254         Pass configuration to UnitTests step in master.cfg
50255
50256         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
50257
50258 2011-06-17  Leandro Pereira  <leandro@profusion.mobi>
50259
50260         Reviewed by Eric Seidel.
50261
50262         [EFL] Add Evas-based ImageDiff implementation.
50263         https://bugs.webkit.org/show_bug.cgi?id=61942
50264
50265         Build system changes will be performed as soon as the complete
50266         DumpRenderTree implementation is upstreamed.
50267
50268         * DumpRenderTree/efl/ImageDiff.cpp: Added.
50269         (pixelFromImageData):
50270         (differenceImageFromDifferenceBuffer):
50271         (computeDistanceBetweenPixelComponents):
50272         (calculatePixelDifference):
50273         (calculateDifference):
50274         (getTemporaryFile):
50275         (printImage):
50276         (printImageDifferences):
50277         (resizeEcoreEvasIfNeeded):
50278         (readImageFromStdin):
50279         (parseCommandLineOptions):
50280         (shutdownEfl):
50281         (abortWithErrorMessage):
50282         (initEfl):
50283         (main):
50284
50285 2011-06-17  Tony Chang  <tony@chromium.org>
50286
50287         Reviewed by Dirk Pranke.
50288
50289         [chromium] force rebaseline-chromium-webkit-tests to use the chromium port
50290         https://bugs.webkit.org/show_bug.cgi?id=62907
50291
50292         This fixes a bug where the ImageDiff on the user's machine doesn't
50293         match the logic used on the Chromium buildbots.  This has the downside
50294         of requiring that the Chromium ImageDiff is built, but it turns out
50295         that even with --tolerance 0, the CG ImageDiff will allow small pixel
50296         differences through.
50297
50298         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
50299
50300 2011-06-17  Brent Fulgham  <bfulgham@webkit.org>
50301
50302         [WinCairo] Unreviewed build correction.
50303
50304         * DumpRenderTree/win/DumpRenderTreeCairo.vsprops:
50305         Update WinCairo property sheet to link against the Cairo DLL,
50306         now that we are using a more recent Cairo build. 
50307
50308 2011-06-17  Brent Fulgham  <bfulgham@webkit.org>
50309
50310         Reviewed by Brian Weinstein.
50311
50312         Create a simple example of using the COM-based C++ listeners.
50313         A new onclick event is attached (via C++) to the WebKit logo
50314         in the default test pattern displayed on startup.  Clicking on
50315         the logo causes a message box to be displayed.
50316         https://bugs.webkit.org/show_bug.cgi?id=61885
50317
50318         * WinLauncher/DOMDefaultImpl.h: Added.  Stub implementation of
50319           the WebScriptObject and DOMEventListener.
50320         * WinLauncher/WinLauncher.cpp:
50321         (SimpleEventListener::SimpleEventListener): Example implementation
50322           of a simple DOM event listener.
50323         (SimpleEventListener::handleEvent): 
50324         (WinLauncherWebHost::didFinishLoadForFrame): Added implementation
50325          to bind a C++ method to the 'onclick' event for the WebKit logo.
50326         (_tWinMain):
50327         * WinLauncher/WinLauncher.h:
50328         * WinLauncher/WinLauncher.vcproj: Add new DOMDefaultImpl.h file.
50329
50330 2011-06-17  Chang Shu  <cshu@webkit.org>
50331
50332         Reviewed by Andreas Kling.
50333
50334         [Qt] [WK2] Support undo/redo in MiniBrowser
50335         https://bugs.webkit.org/show_bug.cgi?id=62809
50336
50337         * MiniBrowser/qt/BrowserWindow.cpp:
50338         (BrowserWindow::BrowserWindow):
50339
50340 2011-06-17  Daniel Bates  <dbates@rim.com>
50341
50342         Rubber-stamped by Eric Seidel.
50343
50344         Remove run-javascriptcore-tests --skip-build option; Instead add --build/no-build options
50345         https://bugs.webkit.org/show_bug.cgi?id=62767
50346
50347         Part 2 of 3
50348
50349         Update the BuildBot master.cfg to use the new --no-build run-javascriptcore-tests
50350         command line option instead of --skip-build.
50351
50352         We'll remove --skip-build from run-javascriptcore-test in a follow up patch once the
50353         master buildbot picks up the change.
50354
50355         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
50356
50357 2011-06-17  Daniel Bates  <dbates@rim.com>
50358
50359         Rubber-stamped by Eric Seidel.
50360
50361         Remove run-javascriptcore-tests --skip-build option; Instead add --build/no-build options
50362         https://bugs.webkit.org/show_bug.cgi?id=62767
50363
50364         Part 1 of 3
50365
50366         Towards renaming the option --skip-build to --no-build. Add --build/--no-build options to
50367         run-javascriptcore-tests. Also, add a remark about these options to the usage message
50368         printed by run-javascriptcore-tests.
50369
50370         We'll remove --skip-build in a follow up patch once the master buildbot picks up the changes.
50371
50372         * Scripts/run-javascriptcore-tests: Additionally, remove unnecessary initialization
50373           of $showHelp.
50374
50375 2011-06-17  Joone Hur  <joone.hur@collabora.co.uk>
50376
50377         Reviewed by Martin Robinson.
50378
50379         [GTK] Replace GdkRectangle by cairo_rectangle_int_t
50380         https://bugs.webkit.org/show_bug.cgi?id=60687
50381
50382         Replace GdkRectangle by cairo_rectangle_int_t.
50383
50384         * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: Replace GdkRectangle by cairo_rectangle_int_t.
50385         (createBitmapContextFromWebView):
50386         * DumpRenderTree/gtk/TextInputController.cpp: Ditto.
50387         (firstRectForCharacterRangeCallback):
50388
50389 2011-06-16  Dmitry Lomov  <dslomov@google.com>
50390
50391         Reviewed by David Levin.
50392
50393         https://bugs.webkit.org/show_bug.cgi?id=62603
50394         Run run-api-tests on bots in debug mode.
50395         Release mode is disabled due to https://bugs.webkit.org/show_bug.cgi?id=61812.
50396
50397         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
50398
50399 2011-06-16  Leandro Pereira  <leandro@profusion.mobi>
50400
50401         Reviewed by Eric Seidel.
50402
50403         [EFL] DumpRenderTree: Add GCController, PixelDumpSupport and
50404         WorkQueueItem.
50405         They will be plugged into the build system once the EFL's DRT is
50406         fully upstreamed.
50407         https://bugs.webkit.org/show_bug.cgi?id=61958
50408
50409         * DumpRenderTree/efl: Added.
50410         * DumpRenderTree/efl/GCControllerEfl.cpp: Added.
50411         (GCController::collect):
50412         (GCController::collectOnAlternateThread):
50413         (GCController::getJSObjectCount):
50414         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp: Added.
50415         (createBitmapContextFromWebView):
50416         * DumpRenderTree/efl/WorkQueueItemEfl.cpp: Added.
50417         (LoadItem::invoke):
50418         (LoadHTMLStringItem::invoke):
50419         (ReloadItem::invoke):
50420         (ScriptItem::invoke):
50421         (BackForwardItem::invoke):
50422         * DumpRenderTree/efl/WorkQueueItemEfl.h: Added.
50423         (WorkQueueItem::~WorkQueueItem):
50424         (LoadItem::LoadItem):
50425         (LoadHTMLStringItem::LoadHTMLStringItem):
50426         (ScriptItem::ScriptItem):
50427         (LoadingScriptItem::LoadingScriptItem):
50428         (LoadingScriptItem::invoke):
50429         (NonLoadingScriptItem::NonLoadingScriptItem):
50430         (NonLoadingScriptItem::invoke):
50431         (BackForwardItem::BackForwardItem):
50432         (BackItem::BackItem):
50433         (ForwardItem::ForwardItem):
50434
50435 2011-06-16  Kevin Ollivier  <kevino@theolliviers.com>
50436
50437         [wx] Unreviewed build fix, make sure the waf build checks the webKitBranchBuild
50438         preference like the perl scripts do.
50439
50440         * waf/build/build_utils.py:
50441         * waf/build/settings.py:
50442
50443 2011-06-16  Tommy Widenflycht  <tommyw@google.com>
50444
50445         Reviewed by Tony Gentilcore.
50446
50447         MediaStream API: Runtime enabled features
50448         https://bugs.webkit.org/show_bug.cgi?id=62798
50449
50450         Add the WebRuntimeFeatures API for Media Streams and enable the feature by default in DumpRenderTree.
50451
50452         * DumpRenderTree/chromium/TestShell.cpp:
50453         (TestShell::TestShell):
50454
50455 2011-06-16  Torsten Kurbad  <gentoo@tk-webart.de>
50456
50457         Reviewed by Eric Seidel.
50458
50459         Add support for sys.platform == 'linux3' by relaxing
50460         conditional statements and/or extending lookup dicts.
50461         This way, Linux kernels >=3.0-rc1 get supported in the
50462         build process.
50463         https://bugs.webkit.org/show_bug.cgi?id=62730
50464
50465         * Scripts/webkitpy/common/system/executive.py:
50466         * Scripts/webkitpy/common/system/file_lock.py:
50467         * Scripts/webkitpy/common/system/path_unittest.py:
50468         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
50469         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
50470         * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
50471         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
50472         * Scripts/webkitpy/layout_tests/port/factory.py:
50473         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
50474         * Scripts/webkitpy/layout_tests/port/qt.py:
50475         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
50476
50477 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
50478
50479         Unreviewed, rolling out r88796.
50480         http://trac.webkit.org/changeset/88796
50481         https://bugs.webkit.org/show_bug.cgi?id=62790
50482
50483         It made fast/dom/nodesFromRect-basic.html time out on Qt,
50484         64-bit, debug mode (Requested by Ossy on #webkit).
50485
50486         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50487         (LayoutTestController::nodesFromRect):
50488         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50489         * DumpRenderTree/qt/PlainTextControllerQt.cpp:
50490         (PlainTextController::plainText):
50491         * DumpRenderTree/qt/PlainTextControllerQt.h:
50492
50493 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50494
50495         Unreviewed, build fix.
50496
50497         Revert the patches in r88995 and r88999; the http servers don't
50498         seem to be shutting down reliably.
50499
50500         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50501         * Scripts/webkitpy/layout_tests/port/base.py:
50502         * Scripts/webkitpy/layout_tests/port/http_server.py:
50503         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
50504         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Removed.
50505         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
50506         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50507
50508 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50509
50510         Unreviewed, build fix.
50511
50512         Add some debugging messages to triage problems introduced in
50513         r88995.
50514
50515         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
50516
50517 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50518
50519         Reviewed by Tony Chang.
50520
50521         nrwt: should clean up stale server processes from a previous run
50522         https://bugs.webkit.org/show_bug.cgi?id=62615
50523
50524         This change fixes cases where NRWT might start a server and then
50525         exit, leaving the server still running. Now NRWT should detect
50526         this case and clean up on the next run, without shutting down
50527         any processes it didn't start.
50528
50529         This change also fixes a bug in executive.kill_process on UNIX
50530         where zombies weren't being handled properly.
50531
50532         * Scripts/webkitpy/common/system/executive.py:
50533         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50534         * Scripts/webkitpy/layout_tests/port/base.py:
50535         * Scripts/webkitpy/layout_tests/port/http_server.py:
50536         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
50537         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
50538         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50539
50540 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50541
50542         Reviewed by Tony Chang.
50543
50544         nrwt: fix http, websocket server startup, shutdown
50545         https://bugs.webkit.org/show_bug.cgi?id=62180
50546
50547         This change refactors all of the server-related code to
50548         have consistent semantics. It pushes the start()/stop()
50549         logic into the base class and adds four much smaller routines
50550         for specialization:
50551         _prepare_config() - for optionally writing config files etc.
50552             to disk prior to starting the server
50553         _remove_stale_log_files()
50554         _spawn_process() - the actual launch of the subprocess
50555         _cleanup_after_stop() - and custom cleanup code
50556
50557         Prior to this change the three server implementations were
50558         fairly inconsistent, leading to lots of weirdness on the bots
50559         with servers being left around, etc.
50560
50561         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50562         * Scripts/webkitpy/layout_tests/port/http_server.py:
50563         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
50564         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50565
50566 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50567
50568         Reviewed by Tony Chang.
50569
50570         webkitpy: clean up code prior to functional changes for server startup/shutdown
50571         https://bugs.webkit.org/show_bug.cgi?id=62256
50572
50573         This patch does a bunch of minor cleanup of the code, but there
50574         should be no functional changes except that all of the modules
50575         will now use the same exception type. Other changes include
50576         removing unused code paths and functions, pushing 'name' and
50577         'pid_file' into the base class of the server objects, and using
50578         the Filesystem object instead of the codecs, tempfile, and
50579         shutils modules.
50580
50581         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50582         * Scripts/webkitpy/layout_tests/port/http_server.py:
50583         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
50584         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50585
50586 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50587
50588         Reviewed by Tony Chang.
50589
50590         webkitpy: add integration tests for new-run-webkit-httpd, stop calling shut_down_http_server
50591         https://bugs.webkit.org/show_bug.cgi?id=62251
50592
50593         shut_down_http_server() was a total hack that was only used by
50594         new-run-webkit-httpd, so I've moved the code there and switched
50595         to using executive.kill_process() for the common case. The
50596         method itself will be removed in the patch on bug 59993.
50597
50598         * Scripts/new-run-webkit-httpd:
50599         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50600         * Scripts/webkitpy/layout_tests/port/http_server.py:
50601         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Added.
50602         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50603
50604 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50605
50606         Unreviewed, build fix.
50607
50608         Fix test-webkitpy failure introduced in r88986.
50609
50610         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
50611
50612 2011-06-15  Dirk Pranke  <dpranke@chromium.org>
50613
50614         Reviewed by Eric Seidel.
50615
50616         NRWT: doesn't support webarchives, has stale skipping logic.
50617         https://bugs.webkit.org/show_bug.cgi?id=58293
50618
50619         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
50620         * Scripts/webkitpy/layout_tests/port/base.py:
50621         * Scripts/webkitpy/layout_tests/port/webkit.py:
50622
50623 2011-06-15  Jeremy Orlow  <jorlow@webkit.org>
50624
50625         Change my email to @webkit.org
50626
50627         * Scripts/webkitpy/common/config/committers.py:
50628
50629 2011-06-15  Nikolas Zimmermann  <nzimmermann@rim.com>
50630
50631         Reviewed by David Hyatt.
50632
50633         CSS 2.1: Support replaced elements with relative intrinsic sizes
50634         https://bugs.webkit.org/show_bug.cgi?id=15849
50635
50636         CSS 2.1 failure: html4/replaced-intrinsic-ratio-001
50637         https://bugs.webkit.org/show_bug.cgi?id=53099
50638
50639         Recognize *.htm tests in the old & new DRT implementation, needed for the vanilla css2.1 html4 tests.
50640
50641         * Scripts/old-run-webkit-tests:
50642         * Scripts/webkitpy/layout_tests/port/test_files.py:
50643
50644 2011-06-15  Carlos Garcia Campos  <cgarcia@igalia.com>
50645
50646         Reviewed by Martin Robinson.
50647
50648         [GTK] Add a statusbar to MiniBrowser
50649         https://bugs.webkit.org/show_bug.cgi?id=62634
50650
50651         It shows the url of the current hovered link.
50652
50653         * MiniBrowser/gtk/BrowserWindow.c:
50654         (browserWindowConstructed): Create the GtkSatusbar.
50655         (mouseDidMoveOverElement): Update statusbar text.
50656         (browserWindowUIClientInit): Add implementation for
50657         mouseDidMoveOverElement().
50658         * MiniBrowser/gtk/GNUmakefile.am: Add new files to compilation.
50659         * MiniBrowser/gtk/WebBundle/WebBundleMain.c: Added.
50660         (mouseDidMoveOverElement): Pass the url of the current hovered
50661         link to the UI process.
50662         (didCreatePage): Set the UI client adding an implementation for
50663         mouseDidMoveOverElement().
50664         (WKBundleInitialize):
50665         * MiniBrowser/gtk/main.c:
50666         (createWKContextWithInjectedBundle): Create a global context with
50667         the injected bundle.
50668         (loadURI): Use the global context.
50669         (main):
50670
50671 2011-06-14  Lucas Forschler  <lforschler@apple.com>
50672
50673         Reviewed by Stephanie Lewis.
50674
50675         https://bugs.webkit.org/show_bug.cgi?id=62495
50676         Bug 62495 - combine windows and mac kill-old-processes script
50677         Add a platform agnostic script.  Remove the recently added mac flavor.
50678         Note: Leaving the windows one alone, since it is currently used by the WebKit bots.
50679         
50680         * BuildSlaveSupport/kill-old-processes: Added.
50681         * BuildSlaveSupport/mac: Removed.
50682         * BuildSlaveSupport/mac/kill-old-processes: Removed.
50683
50684 2011-06-14  Dirk Pranke  <dpranke@chromium.org>
50685
50686         Reviewed by Tony Chang.
50687
50688         nrwt: handle worker exceptions cleanly
50689         https://bugs.webkit.org/show_bug.cgi?id=62614
50690
50691         This change modifiers new-run-webkit-tests to handle exceptions
50692         raised by worker threads better, by:
50693         - capturing the worker's stack and logging it in the manager
50694         - propagating the worker's exception in the caller correctly
50695         - attempting to cancel the workers and clean up even when
50696           we get an unexpected exception
50697
50698         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
50699         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
50700         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
50701         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
50702
50703 2011-06-14  Qi Zhang  <qi.2.zhang@nokia.com>
50704
50705         Reviewed by Laszlo Gombos.
50706
50707         [Qt] fast/dom/HTMLScriptElement/nested-execution.html failed
50708         https://bugs.webkit.org/show_bug.cgi?id=62227
50709
50710         QtWebkit does not yet support different CacheModels. This change will 
50711         expose setCacheModel() with a stub implementation, which is enough to pass the LayoutTest.
50712
50713         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50714         (LayoutTestController::setCacheModel):
50715         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50716
50717 2011-06-14  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
50718
50719         Reviewed by Andreas Kling.
50720
50721         [Qt] tst_QWebFrame::overloadedSlots() fails
50722         https://bugs.webkit.org/show_bug.cgi?id=37319
50723
50724         Since we don't implictly convert 'document' object to QWebElement
50725         in metacalls anymore, change the controller to expect QVariantMap instead.
50726
50727         The method plainText() was updated to use QVariantMap as well to let the bridge
50728         do the conversion directly for us.
50729
50730         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50731         (LayoutTestController::nodesFromRect):
50732         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50733         * DumpRenderTree/qt/PlainTextControllerQt.cpp:
50734         (PlainTextController::plainText):
50735         * DumpRenderTree/qt/PlainTextControllerQt.h:
50736
50737 2011-06-14  Andras Becsi  <abecsi@webkit.org>
50738
50739         Reviewed by Csaba Osztrogonác.
50740
50741         Remove dead code in DumpRenderTree/TestNetscapePlugIn/main.cpp
50742         https://bugs.webkit.org/show_bug.cgi?id=62630
50743
50744         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
50745         (NPP_New): remove dead variable 'forceCarbon'
50746
50747 2011-06-13  Hayato Ito  <hayato@chromium.org>
50748
50749         Reviewed by Ojan Vafai.
50750
50751         [NRWT] Fix a WebKitDriver so that it returns an actual hash value if DRT returns that.
50752         https://bugs.webkit.org/show_bug.cgi?id=59188
50753
50754         A current WebKitDriver doesn't try to return an actual hash value if DRT does not return an image.
50755         WebKitDriver should always return an actual hash value if DRT returns that.
50756
50757         No tests since I'll add sample reftests to make sure mismatch reftests work later,
50758         which should be in a separate patch.
50759
50760         * Scripts/webkitpy/layout_tests/port/webkit.py:
50761
50762 2011-06-13  Kent Tamura  <tkent@chromium.org>
50763
50764         [Chromium-win] Fix two wrong assertions exposed by r88757.
50765
50766         * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
50767         (WebThemeEngineDRTWin::paintTrackbar):
50768
50769 2011-06-13  Alexey Proskuryakov  <ap@apple.com>
50770
50771         Added an updated e-mail address for Matt Lilek, to make Bugzilla autocomplete
50772         and commit queue happy.
50773
50774         * Scripts/webkitpy/common/config/committers.py:
50775
50776 2011-06-13  Chris Rogers  <crogers@google.com>
50777
50778         Unreviewed build fix.
50779
50780         Build fix to chromium DRT until we can rebaseline some tests
50781         https://bugs.webkit.org/show_bug.cgi?id=62608
50782
50783         * DumpRenderTree/chromium/TestShell.cpp:
50784         (TestShell::TestShell):
50785
50786 2011-06-13  Chris Rogers  <crogers@google.com>
50787
50788         Reviewed by Dirk Pranke.
50789
50790         Add Web Audio support to chromium DRT
50791         https://bugs.webkit.org/show_bug.cgi?id=62306
50792
50793         * DumpRenderTree/chromium/LayoutTestController.cpp:
50794         (LayoutTestController::LayoutTestController):
50795         (LayoutTestController::reset):
50796         (LayoutTestController::setEncodedAudioData):
50797         * DumpRenderTree/chromium/LayoutTestController.h:
50798         (LayoutTestController::encodedAudioData):
50799         (LayoutTestController::shouldDumpAsAudio):
50800         (LayoutTestController::setShouldDumpAsAudio):
50801         * DumpRenderTree/chromium/TestEventPrinter.cpp:
50802         (DRTPrinter::handleAudioHeader):
50803         (TestShellPrinter::handleAudioHeader):
50804         * DumpRenderTree/chromium/TestEventPrinter.h:
50805         * DumpRenderTree/chromium/TestShell.cpp:
50806         (TestShell::TestShell):
50807         (TestShell::dump):
50808
50809 2011-06-13  Jaehun Lim  <ljaehun.lim@samsung.com>
50810
50811         Reviewed by Eric Seidel.
50812
50813         [EFL] Add load error handler to EWebLauncher
50814         https://bugs.webkit.org/show_bug.cgi?id=62347
50815
50816         Add a handler function of "load,error" to EWebLauncher.
50817         EWebLauncher now displays a simple error page on load errors.
50818
50819         * EWebLauncher/main.c:
50820         (on_load_error):
50821         (browserCreate):
50822
50823 2011-06-13  Martin Robinson  <mrobinson@igalia.com>
50824
50825         Reviewed by Eric Seidel.
50826
50827         [GTK] [Qt] Eliminate duplicate TestNetscapePlugin implementation
50828         https://bugs.webkit.org/show_bug.cgi?id=62385
50829
50830         Remove duplicate TestNetscapePlugIn implementation. Having two copies
50831         of this code makes keeping it in sync much more difficult. The files are
50832         almost identical and this change ports the X11 changes to main.cpp.
50833
50834         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
50835         (NPP_New): Do not set the plugin as windowless always. Doing this breaks
50836         some results on Qt and this seems to be unnecessary for the moment.
50837         (keyEventToChar): Added this helper which converts a X11 keycode into a char.
50838         (handleEventX11): Use the handler to properly convert the keycode. Do not print
50839         adjustCursorEvent output. The tests currently do not trigger this for Cocoa and thus
50840         it should not be in the results.
50841         (NPP_GetValue): Properly handle NPPVpluginNeedsXEmbed and make it clearer why the
50842         XP_UNIX block is first by guarding against using a null instance.
50843         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: Update source list add
50844         the XP_UNIX define for Linux.
50845         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: Removed.
50846         * GNUmakefile.am: Update source list.
50847
50848 2011-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
50849
50850         Unreviewed, rolling out r88671.
50851         http://trac.webkit.org/changeset/88671
50852         https://bugs.webkit.org/show_bug.cgi?id=62591
50853
50854         "didn't work" (Requested by dpranke on #webkit).
50855
50856         * Scripts/new-run-webkit-httpd:
50857         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50858         * Scripts/webkitpy/layout_tests/port/http_server.py:
50859         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
50860         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Removed.
50861         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
50862         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50863
50864 2011-06-13  Nate Chapin  <japhet@chromium.org>
50865
50866         Reviewed by Darin Fisher.
50867
50868         New test method on TestNetscapePlugin for https://bugs.webkit.org/show_bug.cgi?id=61482.
50869
50870         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
50871
50872 2011-06-13  Dirk Pranke  <dpranke@chromium.org>
50873
50874         Reviewed by Tony Chang.
50875
50876         webkitpy: add integration tests for new-run-webkit-httpd, stop calling shut_down_http_server
50877         https://bugs.webkit.org/show_bug.cgi?id=62251
50878
50879         shut_down_http_server() was a total hack that was only used by
50880         new-run-webkit-httpd, so I've moved the code there and switched
50881         to using executive.kill_process() for the common case. The
50882         method itself will be removed in the patch on bug 59993.
50883
50884         * Scripts/new-run-webkit-httpd:
50885         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
50886         * Scripts/webkitpy/layout_tests/port/http_server.py:
50887         * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Added.
50888         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
50889
50890 2011-06-13  Tony Chang  <tony@chromium.org>
50891
50892         Reviewed by Dimitri Glazkov.
50893
50894         rename ENABLE_NEW_FLEXBOX to ENABLE_CSS3_FLEXBOX
50895         https://bugs.webkit.org/show_bug.cgi?id=62578
50896
50897         * Scripts/build-webkit:
50898
50899 2011-06-13  Tony Chang  <tony@chromium.org>
50900
50901         Reviewed by Adam Barth.
50902
50903         rename ENABLE_FLEXBOX to ENABLE_NEW_FLEXBOX
50904         https://bugs.webkit.org/show_bug.cgi?id=62545
50905
50906         * Scripts/build-webkit:
50907
50908 2011-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
50909
50910         Reviewed by Martin Robinson.
50911
50912         [GTK] Export an API similar to WebKit1
50913         https://bugs.webkit.org/show_bug.cgi?id=57820
50914
50915         Build GtkLauncher2 for WebKit2. It's actually the same GtkLauncher
50916         code, but linking to libwebkit2gtk.
50917
50918         * GNUmakefile.am:
50919         * GtkLauncher/main.c:
50920         (createBrowser):
50921         (main):
50922
50923 2011-06-12  MORITA Hajime  <morrita@google.com>
50924
50925         Unreviewed, rolling out r88625.
50926         http://trac.webkit.org/changeset/88625
50927         https://bugs.webkit.org/show_bug.cgi?id=61073
50928
50929         Breaks SL Webkit2 Tests
50930
50931         * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops:
50932         * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
50933         * WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops:
50934         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
50935         (WTR::InjectedBundlePage::didClearWindowForFrame):
50936         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
50937
50938 2011-06-12  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
50939
50940         Reviewed by Antonio Gomes.
50941
50942         [Qt] LayoutTestController needs setTextDirection implementation
50943         https://bugs.webkit.org/show_bug.cgi?id=62442
50944
50945         Implements LayoutController.setTextDirection.
50946
50947         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50948         (LayoutTestController::setTextDirection):
50949         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50950
50951 2011-06-12  Dominic Cooney  <dominicc@chromium.org>
50952
50953         Reviewed by Hajime Morita.
50954
50955         Add window.internals to WebKit2's WebKitTestRunner.
50956         https://bugs.webkit.org/show_bug.cgi?id=61073
50957
50958         Test: fast/harness/internals-object.html
50959
50960         * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops:
50961         * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
50962         * WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops:
50963         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
50964         (WTR::InjectedBundlePage::didClearWindowForFrame): initialize window.internals
50965         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
50966
50967 2011-06-12  Sheriff Bot  <webkit.review.bot@gmail.com>
50968
50969         Unreviewed, rolling out r88616.
50970         http://trac.webkit.org/changeset/88616
50971         https://bugs.webkit.org/show_bug.cgi?id=62517
50972
50973         It broke editing/text-iterator/findString.html (Requested by
50974         tonikitoo on #webkit).
50975
50976         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50977         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50978
50979 2011-06-12  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
50980
50981         Reviewed by Antonio Gomes.
50982
50983         [Qt] LayoutTestController needs setTextDirection implementation
50984         https://bugs.webkit.org/show_bug.cgi?id=62442
50985
50986         Implements LayoutController.setTextDirection.
50987
50988         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
50989         (LayoutTestController::setTextDirection):
50990         * DumpRenderTree/qt/LayoutTestControllerQt.h:
50991
50992 2011-06-10  Ryosuke Niwa  <rniwa@webkit.org>
50993
50994         Reviewed by Ojan Vafai.
50995
50996         new-run-webkit-tests: 'images' links on results.html don't work
50997         https://bugs.webkit.org/show_bug.cgi?id=62194
50998
50999         Use relative path when generating images-diffs.html
51000
51001         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
51002         Added _output_testname.
51003
51004 2011-06-10  Lucas Forschler  <lforschler@apple.com>
51005
51006         Reviewed by Stephanie Lewis.
51007
51008         Script to kill old processes on Mac.
51009         This matches the windows version.
51010         https://bugs.webkit.org/show_bug.cgi?id=62479  
51011         
51012         * BuildSlaveSupport/mac: Added.
51013         * BuildSlaveSupport/mac/kill-old-processes: Added.
51014
51015 2011-06-10  Adam Barth  <abarth@webkit.org>
51016
51017         Reviewed by James Robinson.
51018
51019         When sheriffbot reports failures on IRC instead of saying "(and more..)" it should say the number of tests that are failing
51020         https://bugs.webkit.org/show_bug.cgi?id=62489
51021
51022         * Scripts/webkitpy/tool/bot/sheriff.py:
51023         * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
51024
51025 2011-06-10  Tony Chang  <tony@chromium.org>
51026
51027         Reviewed by Ojan Vafai.
51028
51029         add a compile guard ENABLE(FLEXBOX)
51030         https://bugs.webkit.org/show_bug.cgi?id=62049
51031
51032         * Scripts/build-webkit:
51033
51034 2011-06-10  Mark Rowe  <mrowe@apple.com>
51035
51036         Reviewed by Dimitri Glazkov.
51037
51038         <rdar://problem/9562114> Fix DumpRenderTree build for production configuration.
51039
51040         Ensure that DumpRenderTree can find libWebCoreTestSupport.dylib and the associated
51041         header file.
51042
51043         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
51044         * DumpRenderTree/mac/Configurations/Base.xcconfig:
51045
51046 2011-06-09  Csaba Osztrogonác  <ossy@webkit.org>
51047
51048         Unreviewed rolling out r88471, because it broke plugin tests on Qt.
51049
51050         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
51051         (handleEventX11):
51052         (NPP_GetValue):
51053         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
51054         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: Added.
51055         (webkit_test_plugin_new_instance):
51056         (webkit_test_plugin_destroy_instance):
51057         (webkit_test_plugin_set_window):
51058         (executeScript):
51059         (webkit_test_plugin_new_stream):
51060         (webkit_test_plugin_destroy_stream):
51061         (webkit_test_plugin_stream_as_file):
51062         (webkit_test_plugin_write_ready):
51063         (webkit_test_plugin_write):
51064         (webkit_test_plugin_print):
51065         (keyEventToChar):
51066         (webkit_test_plugin_handle_event):
51067         (webkit_test_plugin_url_notify):
51068         (webkit_test_plugin_get_value):
51069         (webkit_test_plugin_set_value):
51070         (NP_GetMIMEDescription):
51071         (NP_Initialize):
51072         (NP_Shutdown):
51073         (NP_GetValue):
51074         * GNUmakefile.am:
51075
51076 2011-06-09  Martin Robinson  <mrobinson@igalia.com>
51077
51078         Reviewed by Eric Seidel.
51079
51080         [GTK] Implement the next bit of the TextInputController (hasMarkedText and markedRange)
51081         https://bugs.webkit.org/show_bug.cgi?id=55603
51082
51083         Add callbacks to support hasMarkedText and markedRange and also clean up existing 
51084         TextInputController support.
51085
51086         * DumpRenderTree/gtk/TextInputController.cpp:
51087         (setMarkedTextCallback): Accept parameters in terms of start and length, instead
51088         of start and end. This matches the other ports. Do not use GLib style early returns.
51089         (hasMarkedTextCallback): Added.
51090         (markedRangeCallback): Added.
51091         (insertTextCallback): Cleanup as described above.
51092         (unmarkTextCallback): Cleanup as described above.
51093         (firstRectForCharacterRangeCallback): Cleanup as described above.
51094         (selectedRangeCallback): Cleanup as described above.
51095
51096 2011-06-09  Dirk Pranke  <dpranke@chromium.org>
51097
51098         Reviewed by Tony Chang.
51099
51100         nrwt: support webaudio in chromium driver
51101         https://bugs.webkit.org/show_bug.cgi?id=62226
51102
51103         * Scripts/webkitpy/layout_tests/port/chromium.py:
51104
51105 2011-06-09  Dan Bernstein  <mitz@apple.com>
51106
51107         Reviewed by Anders Carlsson.
51108
51109         Added a test for Vector::reverse()
51110         https://bugs.webkit.org/show_bug.cgi?id=62393
51111
51112         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
51113         * TestWebKitAPI/Tests/WTF/VectorReverse.cpp: Added.
51114         (TestWebKitAPI::TEST):
51115         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
51116
51117 2011-06-09  Martin Robinson  <mrobinson@igalia.com>
51118
51119         Reviewed by Andreas Kling.
51120
51121         [GTK] [Qt] Eliminate duplicate TestNetscapePlugin implementation
51122         https://bugs.webkit.org/show_bug.cgi?id=62385
51123
51124         Remove duplicate TestNetscapePlugIn implementation. Having two copies
51125         of this code makes keeping it in sync much more difficult. The files are
51126         almost identical and this change ports the X11 changes to main.cpp.
51127
51128         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
51129         (keyEventToChar): Added this helper which converts a X11 keycode into a char.
51130         (handleEventX11): Use the handler to properly convert the keycode. Do not print
51131         adjustCursorEvent output. The tests currently do not trigger this for Cocoa and thus
51132         it should not be in the results.
51133         (NPP_GetValue): Properly handle NPPVpluginNeedsXEmbed.
51134         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: Update source list.
51135         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: Removed.
51136         * GNUmakefile.am: Update source list.
51137
51138 2011-06-09  Noel Gordon  <noel.gordon@gmail.com>
51139
51140         Reviewed by Tony Chang.
51141
51142         Test plugin should support event logging on the windows port.
51143         https://bugs.webkit.org/show_bug.cgi?id=61721
51144
51145         The WebKit win port interprets a 0 return from plugin NPP_HandleEvent()
51146         calls to mean the plugin handled the event.
51147
51148         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
51149         (handleEventWin): Return 0 for each event on windows.
51150
51151 2011-06-09  Chang Shu  <cshu@webkit.org>
51152
51153         Reviewed by Andreas Kling.
51154
51155         [Qt] [WK2] Many editing tests failed on missing shouldBeginEditingInDOMRange:range printout
51156         https://bugs.webkit.org/show_bug.cgi?id=62381
51157
51158         Activate QGraphicsScene and setFocus on QGraphicsItem to make sure the view has the focus.
51159         QWKPagePrivate::isViewFocused() will check it later.
51160
51161         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
51162         (WTR::PlatformWebView::PlatformWebView):
51163
51164 2011-06-09  Robert Hogan  <robert@webkit.org>
51165
51166         Reviewed by Andreas Kling.
51167
51168         Teach Qt about window.internals
51169         https://bugs.webkit.org/show_bug.cgi?id=61074
51170
51171         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
51172         (WebCore::DumpRenderTree::initJSObjects):
51173
51174 2011-06-09  Eric Seidel  <eric@webkit.org>
51175
51176         Reviewed by Adam Barth.
51177
51178         Disable running layout tests on Mac EWS bots (and fix cr-linux bots to run them again)
51179         https://bugs.webkit.org/show_bug.cgi?id=62362
51180
51181         The mac bots are failing inspector tests.  We don't know why yet.
51182         So for now, turning run-webkit-tests off for the mac-ews.
51183
51184         Also noticed that due to the wrong variable name the cr-linux
51185         bots weren't running tests!
51186
51187         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
51188
51189 2011-06-09  Zoltan Herczeg  <zherczeg@inf.u-szeged.hu>
51190
51191         Reviewed by Csaba Osztrogonac.
51192
51193         [Qt][WK2] Canvas tests make css2.1 ones failing
51194         https://bugs.webkit.org/show_bug.cgi?id=53427
51195
51196         Adding a workaround for this issue by mimicing the behaviour of DumpRenderTree.
51197         Since the Qt port should eventually go to QRawFont, this issue will be resolved
51198         in the future. Both clearMemoryCaches() and removeAllApplicationFonts() are
51199         needed for the workaround.
51200
51201         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
51202         (WTR::LayoutTestController::platformInitialize):
51203
51204 2011-06-09  Mario Sanchez Prada  <msanchez@igalia.com>
51205
51206         Reviewed by Chris Fleizach.
51207
51208         [GTK] Provide a way in DRT to check the platform name
51209         https://bugs.webkit.org/show_bug.cgi?id=56855
51210
51211         Patch for adding 'platformName' static property to DRT's
51212         LayoutController and provide platform specific implementations.
51213
51214         In principle, this feature will be only of interest for writing
51215         accessibility tests, so that's why it's only implemented in the
51216         Mac, Gtk and Win platforms.
51217
51218         * DumpRenderTree/LayoutTestController.h: New method platformName().
51219         * DumpRenderTree/LayoutTestController.cpp:
51220         (getPlatformNameCallback): New callback for 'platformName'.
51221         (LayoutTestController::staticValues): New static property.
51222
51223         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
51224         (LayoutTestController::platformName): Implemented.
51225
51226         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
51227         (LayoutTestController::platformName): Implemented.
51228
51229         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
51230         (LayoutTestController::platformName): Implemented.
51231
51232 2011-06-08  Mike Lawther  <mikelawther@chromium.org>
51233
51234         Reviewed by James Robinson.
51235
51236         Add mikelawther to committers.py
51237         https://bugs.webkit.org/show_bug.cgi?id=62354
51238
51239         * Scripts/webkitpy/common/config/committers.py:
51240
51241 2011-06-08  Kent Tamura  <tkent@chromium.org>
51242
51243         [Chromium] Fix a typo.
51244
51245         * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:
51246         (WebThemeControlDRTWin::draw):
51247
51248 2011-06-08  Kent Tamura  <tkent@chromium.org>
51249
51250         Reviewed by Hajime Morita.
51251
51252         [Chromium] Support vertical sliders in Windows DRT
51253         https://bugs.webkit.org/show_bug.cgi?id=62352
51254
51255         * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:
51256         (WebThemeControlDRTWin::draw):
51257           Paint VerticalSliderThumbType and VerticalSliderTrackType.
51258         * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
51259           Add VerticalSliderTrackType and VerticalSliderThumbType.
51260         * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
51261         (WebThemeEngineDRTWin::paintTrackbar):
51262           Convert Windows identifiers to the internal identifiers for vertical sliders.
51263
51264 2011-06-08  Ojan Vafai  <ojan@chromium.org>
51265
51266         Reviewed by Tony Chang.
51267
51268         add a short-flag for --experimental-fully-parallel
51269         https://bugs.webkit.org/show_bug.cgi?id=62321
51270
51271         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
51272
51273 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
51274
51275         Reviewed by Tony Chang.
51276
51277         new-run-webkit-tests: don't turn the tree red when there are new passes
51278         https://bugs.webkit.org/show_bug.cgi?id=62311
51279
51280         Look for "new passes" instead of "passed unexpectedly" in evaluateCommand
51281         to match commandComplete.
51282
51283         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
51284
51285 2011-06-08  Tom Hudson  <tomhudson@google.com>
51286
51287         Reviewed by Mihai Parparita.
51288
51289         Allow sorting in RebaselineServer based on 'metric' field in unexpected_results.json
51290         https://bugs.webkit.org/show_bug.cgi?id=60964
51291
51292         * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
51293         Add 'Sort tests by metric' link.
51294         * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
51295         (disableSorting): Activate 'Sort tests by metric' link.
51296         (enableSorting): Deactivate 'Sort tests by metric' link.
51297         (selectDirectory): Call enableSorting()/disableSorting() depending
51298         on currently selected failure type, and sort tests if requested.
51299         * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
51300         New .disabled-control class for deactivated links.
51301
51302 2011-06-08  Tom Sepez  <tsepez@chromium.org>
51303
51304         Reviewed by Adam Barth.
51305
51306         Add web permissions callbacks for mixed content blocking.
51307         https://bugs.webkit.org/show_bug.cgi?id=61946
51308
51309         * DumpRenderTree/chromium/LayoutTestController.cpp:
51310         (LayoutTestController::setAllowDisplayOfInsecureContent):
51311         (LayoutTestController::setAllowRunningOfInsecureContent):
51312         (LayoutTestController::overridePreference):
51313         * DumpRenderTree/chromium/WebPermissions.cpp:
51314         (WebPermissions::allowDisplayingInsecureContent):
51315         (WebPermissions::allowRunningInsecureContent):
51316         (WebPermissions::setDisplayingInsecureContentAllowed):
51317         (WebPermissions::setRunningInsecureContentAllowed):
51318         (WebPermissions::reset):
51319         * DumpRenderTree/chromium/WebPermissions.h:
51320
51321 2011-06-08  Dirk Pranke  <dpranke@chromium.org>
51322
51323         Reviewed by Tony Chang.
51324
51325         webkitpy: fix typo causing us to skip the port unit tests in chromium_linux
51326         https://bugs.webkit.org/show_bug.cgi?id=62259
51327
51328         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
51329
51330 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
51331
51332         Reviewed by Tony Chang.
51333
51334         new-run-webkit-tests: master.cfg errors when nrwt successfully runs test
51335         https://bugs.webkit.org/show_bug.cgi?id=62303
51336
51337         Access self.incorrectLayoutLines instead of incorrectLayoutLines in evaluateCommand.
51338
51339         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
51340
51341 2011-06-08  Greg Simon  <gregsimon@chromium.org>
51342
51343         Reviewed by Dimitri Glazkov.
51344
51345         Control Indexeddb backends from LayoutTestController
51346         https://bugs.webkit.org/show_bug.cgi?id=61000
51347
51348         * DumpRenderTree/chromium/LayoutTestController.cpp:
51349         (LayoutTestController::LayoutTestController):
51350         (LayoutTestController::setOverrideIndexedDBBackingStore):
51351         (LayoutTestController::clearAllDatabases):
51352         * DumpRenderTree/chromium/LayoutTestController.h:
51353
51354 2011-06-08  Andreas Kling  <kling@webkit.org>
51355
51356         Add Pierre Rossi to contributors list for EZ-CC.
51357
51358         * Scripts/webkitpy/common/config/committers.py:
51359
51360 2011-06-08  Ilya Sherman  <isherman@chromium.org>
51361
51362         Reviewed by Andreas Kling.
51363
51364         Add Ilya Sherman to list of committers
51365         https://bugs.webkit.org/show_bug.cgi?id=62270
51366
51367         * Scripts/webkitpy/common/config/committers.py:
51368
51369 2011-06-07  Ryosuke Niwa  <rniwa@webkit.org>
51370
51371         Reviewed by Tony Chang.
51372
51373         new-run-webkit-tests: Bot master should print useful information on waterfall/console for nrwt
51374         https://bugs.webkit.org/show_bug.cgi?id=62178
51375
51376         Added commandComplete and evaluateCommand for NewRunWebKitTests class
51377         to parse new-run-webkit-tests' results.
51378
51379         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
51380
51381 2011-06-07  Dirk Pranke  <dpranke@chromium.org>
51382
51383         Reviewed by Eric Seidel.
51384
51385         webkitpy: add a popen() call to executive
51386         https://bugs.webkit.org/show_bug.cgi?id=62179
51387
51388         This change adds a popen() wrapper call to the Executive object.
51389         This will allow other webkitpy scripts that currently call
51390         subprocess directly to use Executive, instead.
51391
51392         No additional tests are necessary (the existing tests cover the code).
51393
51394         * Scripts/webkitpy/common/system/executive.py:
51395
51396 2011-06-07  Sam Weinig  <sam@webkit.org>
51397
51398         Reviewed by Anders Carlsson.
51399
51400         Remove repeated IPC traffic from SetRenderTreeSize message
51401         https://bugs.webkit.org/show_bug.cgi?id=62244
51402
51403         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
51404         (WTR::InjectedBundlePage::InjectedBundlePage):
51405         Add stub for didLayoutForFrame.
51406
51407 2011-06-07  Dirk Pranke  <dpranke@chromium.org>
51408
51409         Reviewed by Tony Chang.
51410
51411         rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64
51412         https://bugs.webkit.org/show_bug.cgi?id=62241
51413
51414         * Scripts/webkitpy/layout_tests/port/chromium.py:
51415
51416 2011-06-07  Adam Barth  <abarth@webkit.org>
51417
51418         Rubber-stamped by Eric Seidel.
51419
51420         Enable tests on the mac-ews
51421
51422         When we bring the mac-ews back up, we're going to try running tests!
51423
51424         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
51425
51426 2011-06-07  Dmitry Lomov  <dslomov@google.com>
51427
51428         Reviewed by David Levin.
51429
51430         https://bugs.webkit.org/show_bug.cgi?id=62215
51431         Allow comparisons with 0 in LIKELY and UNLIKELY macros.
51432
51433         * Scripts/webkitpy/style/checkers/cpp.py:
51434         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
51435
51436 2011-06-07  Nico Weber  <thakis@chromium.org>
51437
51438         Reviewed by Dimitri Glazkov.
51439
51440         [chromium] -Wdelete-non-virtual-dtor pass for DumpRenderTree
51441         https://bugs.webkit.org/show_bug.cgi?id=62210
51442
51443         The change to TestEventPrinter fixes a latent bug, because
51444         objects are deleted through the TestEventPrinter type, but none
51445         of the subclasses have destructors or non-POD members.
51446
51447         The changes to NotificationPresenter and WebViewHost do _not_ to fix a
51448         real bug, they just make clang's -Wdelete-non-virtual-dtor happy. As
51449         discussed at http://codereview.chromium.org/7094005/, we prefer making
51450         leaf class destructors virtual over making the leaf classes final.
51451
51452         * DumpRenderTree/chromium/NotificationPresenter.cpp:
51453         (NotificationPresenter::~NotificationPresenter):
51454         * DumpRenderTree/chromium/NotificationPresenter.h:
51455         * DumpRenderTree/chromium/TestEventPrinter.cpp:
51456         (TestEventPrinter::~TestEventPrinter):
51457         * DumpRenderTree/chromium/TestEventPrinter.h:
51458         * DumpRenderTree/chromium/WebViewHost.h:
51459
51460 2011-06-06  Ryosuke Niwa  <rniwa@webkit.org>
51461
51462         Reviewed by Dirk Pranke.
51463
51464         [chromium] Chromium bots on build.webkit.org don't upload results.html
51465         https://bugs.webkit.org/show_bug.cgi?id=61961
51466
51467         Don't fix the path on chromium port erroneously.
51468
51469         * BuildSlaveSupport/test-result-archive:
51470
51471 2011-06-06  Martin Robinson  <mrobinson@igalia.com>
51472
51473         Fix the GTK+ build by ensuring that the autogenerated sources
51474         necessary for libWebCoreInternals are recorded in a predeclared
51475         variable before assigning to BUILT_SOURCES.
51476
51477         * GNUmakefile.am: Predeclare libwebcoreinternals_built_sources.
51478
51479 2011-06-06  Yong Li  <yoli@rim.com>
51480
51481         Reviewed by Eric Seidel.
51482
51483         https://bugs.webkit.org/show_bug.cgi?id=62097
51484         Fix the problem that integral bitfield check incorrectly barked at ?: expressions.
51485
51486         * Scripts/webkitpy/style/checkers/cpp.py:
51487         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
51488
51489 2011-06-06  Xan Lopez  <xlopez@igalia.com>
51490
51491         Reviewed by Martin Robinson.
51492
51493         [GTK] Enable feature/symbol detection in NWRT/GTK
51494         https://bugs.webkit.org/show_bug.cgi?id=62136
51495
51496         Disable feature detection through DRT, since we don't support it,
51497         and set the libwebcore patch correctly so that symbol detection
51498         through 'nm' works.
51499
51500         * Scripts/webkitpy/layout_tests/port/gtk.py:
51501
51502 2011-06-06  Shishir Agrawal  <shishir@chromium.org>
51503
51504         Reviewed by Tony Gentilcore.
51505
51506         Add a "prerender" state for page visibility.
51507         https://bugs.webkit.org/show_bug.cgi?id=62062
51508
51509         * DumpRenderTree/chromium/LayoutTestController.cpp:
51510         (LayoutTestController::setPageVisibility):
51511
51512 2011-06-06  Csaba Osztrogonác  <ossy@webkit.org>
51513
51514         [Qt] Implement download feature for QtTestBrowser
51515         https://bugs.webkit.org/show_bug.cgi?id=61865
51516
51517         Buildfix for --minimal and CONFIG+=qt_minimal build after r88161.
51518
51519         * QtTestBrowser/launcherwindow.cpp:
51520         (LauncherWindow::LauncherWindow):
51521         * QtTestBrowser/launcherwindow.h:
51522
51523 2011-06-06  Barát Tibor  <Barat.Tibor@stud.u-szeged.hu>
51524
51525         Reviewed by Csaba Osztrogonác.
51526
51527         [Qt] Implement download feature for QtTestBrowser
51528         https://bugs.webkit.org/show_bug.cgi?id=61865
51529
51530         * QtTestBrowser/launcherwindow.cpp:
51531         (LauncherWindow::LauncherWindow):
51532         (LauncherWindow::downloadRequest):
51533         (LauncherWindow::fileDownloadFinished):
51534         * QtTestBrowser/launcherwindow.h:
51535
51536 2011-06-04  Dominic Cooney  <dominicc@chromium.org>
51537
51538         Reviewed by Dimitri Glazkov.
51539
51540         Make DumpRenderTree initialize window.internals.
51541         https://bugs.webkit.org/show_bug.cgi?id=61076
51542
51543         * DumpRenderTree/win/DumpRenderTreeCommon.vsprops: link WebCoreTestSupport.
51544         * DumpRenderTree/win/FrameLoadDelegate.cpp:
51545         (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld):
51546
51547 2011-06-06  Alexandru Chiculita  <achicu@adobe.com>
51548
51549         Reviewed by Kent Tamura.
51550
51551         Add ENABLE_CSS_EXCLUSIONS support for build-webkit script
51552         https://bugs.webkit.org/show_bug.cgi?id=61628
51553
51554         * Scripts/build-webkit:
51555
51556 2011-06-06  Mihnea Ovidenie  <mihnea@adobe.com>
51557
51558         Reviewed by Kent Tamura.
51559
51560         Add ENABLE(CSS_REGIONS) guard for CSS Regions support
51561         https://bugs.webkit.org/show_bug.cgi?id=61631
51562
51563         * Scripts/build-webkit:
51564
51565 2011-06-06  Carlos Garcia Campos  <cgarcia@igalia.com>
51566
51567         Unreviewed. Fix the GTK+ build.
51568
51569         * GNUmakefile.am: Use javascriptcore_cflags when building libWebCoreInternals.
51570
51571 2011-06-05  Alexey Proskuryakov  <ap@apple.com>
51572
51573         Add an e-mail address for Cameron McCormack that matches Bugzilla (so that auto-completion
51574         works properly).
51575
51576         * Scripts/webkitpy/common/config/committers.py:
51577
51578 2011-06-04  Kevin Ollivier  <kevino@theolliviers.com>
51579
51580         [wx] Unreviewed build fix. Update git branch build dir handling to match what other
51581         WebKit scripts expect, so other scripts work properly with wx.
51582
51583         * waf/build/build_utils.py:
51584         * waf/build/settings.py:
51585
51586 2011-06-04  Kevin Ollivier  <kevino@theolliviers.com>
51587
51588         [wx] Unreviewed build fix. Restore the PPC build and allow users to specify architectures
51589         to build on Mac.
51590
51591         * waf/build/settings.py:
51592         * wx/install-unix-extras:
51593
51594 2011-06-04  Kevin Ollivier  <kevino@theolliviers.com>
51595
51596         [wx] Unreviewed build fixes for recent trunk changes.
51597
51598         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
51599         (LayoutTestController::setTextDirection):
51600         * waf/build/settings.py:
51601
51602 2011-06-04  Martin Robinson  <mrobinson@igalia.com>
51603
51604         Fix the GTK+ build.
51605
51606         * GNUmakefile.am: Add some missing newline escape.
51607
51608 2011-06-03  Martin Robinson  <mrobinson@igalia.com>
51609
51610         Try to fix the GTK+ bulid.
51611
51612         * GNUmakefile.am: Add JSDOMWrapper.cpp to the libWebCoreInternals
51613         source list.
51614
51615 2011-06-03  Dirk Pranke  <dpranke@chromium.org>
51616
51617         Reviewed by Adam Barth.
51618
51619         nrwt: should skip chromium test expectation overrides on upstream bots
51620         https://bugs.webkit.org/show_bug.cgi?id=61888
51621
51622         * Scripts/webkitpy/layout_tests/port/chromium.py:
51623         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
51624
51625 2011-06-03  Dirk Pranke  <dpranke@chromium.org>
51626
51627         Reviewed by Ojan Vafai.
51628
51629         new-run-webkit-tests: minor logging, code cleanup
51630         https://bugs.webkit.org/show_bug.cgi?id=62055
51631
51632         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
51633         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
51634
51635 2011-06-03  Martin Robinson  <mrobinson@igalia.com>
51636
51637         Try to fix the build failure on the GTK+ 32-bit Release bot.
51638
51639         * GNUmakefile.am: Add JSInternal.{cpp,h} to the BUILT_SOURCES list.
51640
51641 2011-05-31  Martin Robinson  <mrobinson@igalia.com>
51642
51643         Reviewed by Ryosuke Niwa.
51644
51645         [GTK] Support smart replace for the pasteboard
51646         https://bugs.webkit.org/show_bug.cgi?id=61734
51647
51648         Call into the DumpRenderTreeSupportGtk hooks to toggle smart replace.
51649         This is required to produce consistent test results.
51650
51651         * DumpRenderTree/gtk/DumpRenderTree.cpp:
51652         (resetDefaultsToConsistentValues): Set the smart replace setting to on by default.
51653         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
51654         (LayoutTestController::setSmartInsertDeleteEnabled): Added an implementation of this
51655         methods which calls into DumpRenderTreeSupportGtk.
51656
51657 2011-06-03  Martin Robinson  <mrobinson@igalia.com>
51658
51659         Reviewed by Dimitri Glazkov.
51660
51661         Teach Gtk build about window.internals
51662         https://bugs.webkit.org/show_bug.cgi?id=61071
51663
51664         * DumpRenderTree/gtk/DumpRenderTree.cpp:
51665         (webViewWindowObjectCleared): Inject the new internals object when the
51666         window object clears.
51667         * GNUmakefile.am: Add new source files and includes necessary for window.internals.
51668         Also do a little bit of cleanup.
51669
51670 2011-06-03  Dirk Pranke  <dpranke@chromium.org>
51671
51672         Reviewed by Tony Chang.
51673
51674         Worker may not be stopped after LT.
51675         https://bugs.webkit.org/show_bug.cgi?id=61847
51676
51677         Re-submit a variant of the first fix for this bug. It's possible
51678         that actually calling cleanup() in the worker threads was taking
51679         too long and we triggered the assertions in the manager thread.
51680
51681         I've bumped up the timeout in the manager and added better
51682         diagnostics. I also cleaned up the cleanup() code a bit because
51683         there was some unnecessary if-checks.
51684
51685         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
51686         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
51687
51688 2011-06-03  Dirk Pranke  <dpranke@chromium.org>
51689
51690         Reviewed by Tony Chang.
51691
51692         nrwt: fix duplicate logging regression
51693         https://bugs.webkit.org/show_bug.cgi?id=61981
51694
51695         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
51696
51697 2011-06-03  Robert Kroeger  <rjkroege@chromium.org>
51698
51699         Reviewed by Adam Barth.
51700
51701         Modified addTouchPoint to correctly re-use touchPoint id values starting
51702         from the lowest not-un-use touchPoint id as is done by the embedder
51703         APIs. (Fixes BUGCR36415)
51704
51705         https://bugs.webkit.org/show_bug.cgi?id=62016
51706
51707         * DumpRenderTree/chromium/EventSender.cpp:
51708         (EventSender::addTouchPoint):
51709
51710 2011-06-03  Cary Clark  <caryclark@google.com>
51711
51712         Reviewed by Eric Seidel.
51713
51714         Draw DRT scroll bar thumb with CG when WebKit renders with Skia
51715         https://bugs.webkit.org/show_bug.cgi?id=61534
51716
51717         Skia on Mac uses Skia to render WebKit, and CG
51718         to render UI elements. The CG elements need a
51719         transcribed graphics context that preserves the
51720         canvas matrix, and the canvas clip.
51721
51722         The SkiaBitLocker utility class sets up a CGContext
51723         from the SkCanvas, locks the bitmap's bits, and
51724         releases the lock when the class goes out of scope.
51725
51726         The SkiaBitLocker implementation is described by
51727         this patch:
51728         http://codereview.chromium.org/7031006/
51729
51730         When WebKit uses Skia for rendering, the WebCanvas
51731         is an SkCanvas. Create an equivalent CGContext to
51732         draw the scrollbar thumb.
51733
51734         As the Chrome Mac port does not yet use Skia, this
51735         patch has no effect and requires no tests.
51736
51737         * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
51738         (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
51739
51740 2011-06-03  Andras Becsi  <abecsi@webkit.org>
51741
51742         Unreviewed build fix.
51743
51744         Fix typo.
51745
51746         * Scripts/old-run-webkit-tests:
51747
51748 2011-06-03  Andras Becsi  <abecsi@webkit.org>
51749
51750         Reviewed by Csaba Osztrogonác.
51751
51752         Print error message when there is no httpd present on the system
51753         https://bugs.webkit.org/show_bug.cgi?id=61939
51754
51755         * Scripts/old-run-webkit-tests: Propose to run with --no-httpd.
51756         * Scripts/webkitperl/httpd.pm:
51757
51758 2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>
51759
51760         Reviewed by Yury Semikhatsky.
51761
51762         Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
51763         https://bugs.webkit.org/show_bug.cgi?id=61533
51764
51765         Skip cpu-profiler-profiling in debug, implement a fast headless alternative.
51766
51767         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
51768         (DRTDevToolsAgent::setJavaScriptProfilingEnabled):
51769         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
51770         * DumpRenderTree/chromium/LayoutTestController.cpp:
51771         (LayoutTestController::LayoutTestController):
51772         (LayoutTestController::setJavaScriptProfilingEnabled):
51773         * DumpRenderTree/chromium/LayoutTestController.h:
51774         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
51775         (LayoutTestController::setJavaScriptProfilingEnabled):
51776         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
51777         (WTR::LayoutTestController::setJavaScriptProfilingEnabled):
51778         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
51779
51780 2011-06-02  Dirk Pranke  <dpranke@chromium.org>
51781
51782         Reviewed by Tony Chang.
51783
51784         NRWT needs a way to log to a file without including backspaces without needing --verbose
51785         https://bugs.webkit.org/show_bug.cgi?id=60328
51786
51787         This change modifies NRWT so that if it can tell if it is
51788         writing to a terminal, it will overwrite any messages printed
51789         in the 'one-line-progress' and 'updates' print options, and if
51790         not (or if --verbose was specified) the messages will be printed
51791         without backspaces.
51792
51793         If the overwriting updates are disabled, one-line-progress will
51794         only print every 10 seconds instead of on every update. This
51795         ensures that we still get updates once in a while while the
51796         tests are running, even if we're not in --verbose mode. Note
51797         that one-line-progress will now still be printed in --verbose,
51798         since it's useful as long as you're not flooded with the
51799         updates.
51800
51801         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
51802         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
51803         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
51804
51805 2011-06-02  Martin Robinson  <mrobinson@igalia.com>
51806
51807         Reviewed by Gustavo Noronha Silva.
51808
51809         [GTK] autogen.sh is run twice for each buld on the bots
51810         https://bugs.webkit.org/show_bug.cgi?id=61951
51811
51812         * Scripts/webkitdirs.pm: Only check the previous autotools arguments
51813         for the WebKit project. This prevents build-jsc runs from forcing subsequent
51814         build-webkit runs to re-rerun autogen.sh.
51815
51816 2011-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
51817
51818         Unreviewed, rolling out r87946.
51819         http://trac.webkit.org/changeset/87946
51820         https://bugs.webkit.org/show_bug.cgi?id=61965
51821
51822         Cause NRWT to break (Requested by abarth|gardener on #webkit).
51823
51824         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
51825
51826 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
51827
51828         Reviewed by Darin Adler.
51829
51830         Add build logistics and plumbing for window.internals object.
51831         https://bugs.webkit.org/show_bug.cgi?id=60313
51832
51833         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
51834         * DumpRenderTree/chromium/TestShell.cpp:
51835         (TestShell::bindJSObjectsToWindow): Added injection code.
51836         * DumpRenderTree/mac/FrameLoadDelegate.mm:
51837         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.
51838
51839 2011-06-02  Hao Zheng  <zhenghao@chromium.org>
51840
51841         Reviewed by Dirk Pranke.
51842
51843         Call cleanup() explicitly at the end of worker.run().
51844         https://bugs.webkit.org/show_bug.cgi?id=61847
51845
51846         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
51847
51848 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
51849
51850         Unreviewed, rolling out r87926.
51851         http://trac.webkit.org/changeset/87926
51852         https://bugs.webkit.org/show_bug.cgi?id=60313
51853
51854         Fails to find WebCoreTestSupport.dylib on bots.
51855
51856         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
51857         * DumpRenderTree/chromium/TestShell.cpp:
51858         (TestShell::bindJSObjectsToWindow):
51859         * DumpRenderTree/mac/FrameLoadDelegate.mm:
51860         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
51861
51862 2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
51863
51864         Reviewed by Darin Adler.
51865
51866         Add build logistics and plumbing for window.internals object.
51867         https://bugs.webkit.org/show_bug.cgi?id=60313
51868
51869         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
51870         * DumpRenderTree/chromium/TestShell.cpp:
51871         (TestShell::bindJSObjectsToWindow): Added injection code.
51872         * DumpRenderTree/mac/FrameLoadDelegate.mm:
51873         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.
51874
51875 2011-06-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
51876
51877         Reviewed by Eric Seidel.
51878
51879         Adjust efl coding style to more efl directories
51880         https://bugs.webkit.org/show_bug.cgi?id=61903
51881
51882         * Scripts/webkitpy/style/checker.py: Adjust efl coding style to efl directories.
51883
51884 2011-06-01  Dirk Pranke  <dpranke@chromium.org>
51885
51886         Reviewed by Tony Chang.
51887
51888         old-run-webkit-tests: add support for audio files
51889         https://bugs.webkit.org/show_bug.cgi?id=57992
51890
51891         * Scripts/old-run-webkit-tests:
51892
51893 2011-06-01  Jochen Eisinger  <jochen@chromium.org>
51894
51895         Reviewed by Adam Barth.
51896
51897         Implement layoutTestController.setImagesAllowed for controlling the respective behavior of the WebPermissionClient
51898         https://bugs.webkit.org/show_bug.cgi?id=34314
51899
51900         * DumpRenderTree/DumpRenderTree.gypi:
51901         * DumpRenderTree/chromium/LayoutTestController.cpp:
51902         (LayoutTestController::LayoutTestController):
51903         (LayoutTestController::setImagesAllowed):
51904         (LayoutTestController::setStorageAllowed):
51905         * DumpRenderTree/chromium/LayoutTestController.h:
51906         * DumpRenderTree/chromium/WebPermissions.cpp: Copied from Tools/DumpRenderTree/chromium/WebPermissions.h.
51907         (WebPermissions::WebPermissions):
51908         (WebPermissions::~WebPermissions):
51909         (WebPermissions::allowImages):
51910         (WebPermissions::allowStorage):
51911         (WebPermissions::setImagesAllowed):
51912         (WebPermissions::setStorageAllowed):
51913         (WebPermissions::reset):
51914         * DumpRenderTree/chromium/WebPermissions.h:
51915
51916 2011-06-01  Noel Gordon  <noel.gordon@gmail.com>
51917
51918         Reviewed by Tony Chang.
51919
51920         Test plugin should support event logging on the windows port.
51921         https://bugs.webkit.org/show_bug.cgi?id=61721
51922
51923         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
51924         (handleEventWin): Well, handle them.
51925
51926 2011-06-01  Daniel Cheng  <dcheng@chromium.org>
51927
51928         Reviewed by Tony Chang.
51929
51930         [chromium] Use correct file name for dragging out images.
51931         https://bugs.webkit.org/show_bug.cgi?id=24887
51932
51933         * DumpRenderTree/chromium/EventSender.cpp:
51934         (EventSender::EventSender):
51935         (EventSender::dumpFilenameBeingDragged):
51936         * DumpRenderTree/chromium/EventSender.h:
51937
51938 2011-06-01  Dirk Pranke  <dpranke@chromium.org>
51939
51940         Reviewed by Tony Chang.
51941
51942         nrwt: make webaudio work w/o content-length header
51943         https://bugs.webkit.org/show_bug.cgi?id=61819
51944
51945         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
51946         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
51947         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
51948         * Scripts/webkitpy/layout_tests/port/webkit.py:
51949
51950 2011-06-01  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
51951
51952         Reviewed by Andreas Kling.
51953
51954         [Qt][WK2] Add QGLWidget viewport support to MiniBrowser
51955         https://bugs.webkit.org/show_bug.cgi?id=61802
51956
51957         Add command line parameter and menu item to MiniBrowser application 
51958         enabling use of QGLWidget for browser viewport.
51959
51960         * MiniBrowser/qt/BrowserWindow.cpp:
51961         (BrowserWindow::BrowserWindow):
51962         (BrowserWindow::toggleGLViewport):
51963         * MiniBrowser/qt/BrowserWindow.h:
51964         * MiniBrowser/qt/MiniBrowserApplication.cpp:
51965         (MiniBrowserApplication::handleUserOptions):
51966         * MiniBrowser/qt/MiniBrowserApplication.h:
51967         (WindowOptions::WindowOptions):
51968
51969 2011-06-01  Martin Robinson  <mrobinson@igalia.com>
51970
51971         Reviewed by Xan Lopez.
51972
51973         Print out autogen arguments when they differ from the last set, to help
51974         with debugging build issues.
51975
51976         * Scripts/webkitdirs.pm: Print out previous and current build arguments
51977         when they differ.
51978
51979 2011-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
51980
51981         Reviewed by Martin Robinson.
51982
51983         [GTK] run-launcher should run MiniBrowser in WebKit2
51984         https://bugs.webkit.org/show_bug.cgi?id=61858
51985
51986         * Scripts/run-launcher: Check whether -2 command line option has
51987         been passed and run MiniBrowser instead of GtkLauncher.
51988
51989 2011-05-31  Hao Zheng  <zhenghao@chromium.org>
51990
51991         Reviewed by Dirk Pranke.
51992
51993         Fix exception in verbose printing mode.
51994         https://bugs.webkit.org/show_bug.cgi?id=61723
51995
51996         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
51997
51998 2011-05-31  Yong Li  <yoli@rim.com>
51999
52000         Reviewed by Eric Seidel.
52001
52002         https://bugs.webkit.org/show_bug.cgi?id=54807
52003         We have been assuming plain bitfields (like "int a : 31") are always signed integers.
52004         However some compilers can treat them as unsigned. For example, RVCT 4.0 states plain
52005         bitfields (declared without either signed or unsigned qualifiers) are treats as unsigned.
52006         http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0348c/Babjddhe.html
52007         Although we can use "--signed-bitfields" flag to make RVCT 4.0 behave as most other compilers,
52008         always using "signed"/"unsigned" qualifier to declare integral type bitfields is still a good
52009         rule we should have in order to make our code independent from compilers and compiler flags.
52010
52011         * Scripts/webkitpy/style/checkers/cpp.py:
52012
52013 2011-05-31  Hironori Bono  <hbono@chromium.org>
52014
52015         Reviewed by Eric Seidel.
52016
52017         Add a JavaScript function layoutTestController.setTextDirection().
52018         https://bugs.webkit.org/show_bug.cgi?id=50952
52019
52020         This change adds a new JavaScript function setTextDirection() to the
52021         LayoutTestController class of Safari and Chrome to write layout tests
52022         that changes the text direction of an editable element.
52023
52024         * DumpRenderTree/LayoutTestController.cpp:
52025         (setTextDirectionCallback):
52026         (LayoutTestController::staticFunctions):
52027         * DumpRenderTree/LayoutTestController.h:
52028         * DumpRenderTree/chromium/LayoutTestController.cpp:
52029         (LayoutTestController::LayoutTestController):
52030         (LayoutTestController::setTextDirection):
52031         * DumpRenderTree/chromium/LayoutTestController.h:
52032         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
52033         (LayoutTestController::setTextDirection):
52034         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
52035         (LayoutTestController::setTextDirection):
52036         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
52037         (LayoutTestController::setTextDirection):
52038
52039 2011-05-31  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>
52040
52041         Reviewed by Simon Hausmann.
52042
52043         [Qt] User-agent list of Qt test browsers is very outdated
52044         https://bugs.webkit.org/show_bug.cgi?id=61531
52045
52046         The user can edit the user-agent manually, so there's no need to have
52047         a super complete and up to date list, but it's nice to have it
52048         minimally updated.
52049
52050         * MiniBrowser/qt/useragentlist.txt:
52051         * QtTestBrowser/useragentlist.txt:
52052
52053 2011-03-30  Martin Robinson  <mrobinson@igalia.com>
52054
52055         Reviewed by Adam Roben.
52056
52057         [GTK] [WebKit2] Implement a basic WebKitTestRunner
52058         https://bugs.webkit.org/show_bug.cgi?id=57068
52059
52060         Add an implementation of WebKitTestRunner for GTK+.
52061
52062         * Scripts/build-webkittestrunner: Added knowledge of GTK+ TestRunner.
52063         * Scripts/old-run-webkit-tests: Ditto.
52064         * Scripts/run-launcher: Ditto.
52065         * Scripts/webkitdirs.pm: Ditto.
52066         * WebKitTestRunner/GNUmakefile.am: Added.
52067         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
52068         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp: Added.
52069         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleGtk.cpp: Copied from Source/WebKit2/WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp.
52070         * WebKitTestRunner/InjectedBundle/gtk/LayoutTestControllerGtk.cpp: Copied from Source/WebKit2/WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp.
52071         * WebKitTestRunner/PlatformWebView.h:
52072         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp: Added.
52073         * WebKitTestRunner/gtk/TestControllerGtk.cpp: Added.
52074         * WebKitTestRunner/gtk/TestInvocationGtk.cpp: Copied from Source/WebKit2/WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp.
52075         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
52076         * WebKitTestRunner/gtk/main.cpp: Copied from Source/WebKit2/WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp.
52077         (main): Added.
52078
52079 2011-05-31  Dirk Pranke  <dpranke@chromium.org>
52080
52081         Reviewed by Tony Chang.
52082
52083         new-run-webkit-tests: doesn't wait for children if it gets a ctrl-c
52084         https://bugs.webkit.org/show_bug.cgi?id=60241
52085
52086         * Scripts/new-run-webkit-tests:
52087
52088 2011-05-31  Eric Seidel  <eric@webkit.org>
52089
52090         Reviewed by David Kilzer.
52091
52092         webkitpy should create zips with zip -9
52093         https://bugs.webkit.org/show_bug.cgi?id=61789
52094
52095         Dave Kilzer suggested we add this to make zips uploaded to bugzilla smaller.
52096
52097         * Scripts/webkitpy/common/system/workspace.py:
52098         * Scripts/webkitpy/common/system/workspace_unittest.py:
52099
52100 2011-05-31  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
52101
52102         Reviewed by Csaba Osztrogonác.
52103
52104         [Qt] Implement find feature for QtTestBrowser
52105         https://bugs.webkit.org/show_bug.cgi?id=61425
52106
52107         Buildfix for --minimal and CONFIG+=qt_minimal build.
52108
52109         * QtTestBrowser/launcherwindow.cpp:
52110         (LauncherWindow::LauncherWindow):
52111         (LauncherWindow::createChrome):
52112         * QtTestBrowser/launcherwindow.h:
52113
52114 2011-05-31  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
52115
52116         Reviewed by Csaba Osztrogonác.
52117
52118         [Qt] Implement find feature for QtTestBrowser
52119         https://bugs.webkit.org/show_bug.cgi?id=61425
52120
52121         * QtTestBrowser/launcherwindow.cpp:
52122         (LauncherWindow::LauncherWindow):
52123         (LauncherWindow::createChrome):
52124         (LauncherWindow::showFindBar):
52125         (LauncherWindow::find):
52126         * QtTestBrowser/launcherwindow.h:
52127
52128 2011-05-30  Carlos Garcia Campos  <cgarcia@igalia.com>
52129
52130         Reviewed by Martin Robinson.
52131
52132         [GTK] Implement JavaScript dialogs in MiniBrowser
52133         https://bugs.webkit.org/show_bug.cgi?id=61725
52134
52135         * MiniBrowser/gtk/BrowserWindow.c:
52136         (WKStringGetCString): Helper function to get a UTF-8 c string from
52137         a WKStringRef.
52138         (WKURLGetCString): Helper function to get a UTF-8 c string from a
52139         WKURLRef.
52140         (browserWindowUpdateURL): Update to use WKURLGetCString.
52141         (didReceiveTitleForFrame): Update to use WKStringGetCString.
52142         (createMessageDialog): Create a GtkMessageDialog.
52143         (runJavaScriptAlert):
52144         (runJavaScriptConfirm):
52145         (runJavaScriptPrompt):
52146         (browserWindowUIClientInit):
52147
52148 2011-05-29  Yuta Kitamura  <yutak@chromium.org>
52149
52150         Reviewed by Kent Tamura.
52151
52152         WebSocket closing handshake
52153         https://bugs.webkit.org/show_bug.cgi?id=35721
52154
52155         * Scripts/webkitpy/thirdparty/__init__.py:
52156         Pull in pywebsocket 0.6b1. We need to update pywebsocket
52157         to get the right behavior of closing handshake.
52158
52159 2011-05-29  Daniel Bates  <dbates@rim.com>
52160
52161         Reviewed by David Kilzer.
52162
52163         REGRESSION (r86515): svn-apply ignores diffs that omit line count in chunk range
52164         https://bugs.webkit.org/show_bug.cgi?id=61162
52165
52166         Fixes an issue where svn-apply may ignore a diff that contains a chunk range line
52167         that omits a line count. In particular, the chunk range regular expression does
52168         not match a chunk range line that omits a line count. GNU diff(1) will omit the
52169         line count in the chunk range if the line count is exactly 1. For example, appending
52170         a new line to the end of an existing file F that contains exactly one line of text will
52171         be represented in a diff with a chunk range line that omits the line count for F.
52172
52173         * Scripts/VCSUtils.pm:
52174           (parseChunkRange): Added.
52175         * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl: Added.
52176         * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
52177           - Added unit test "Git: Append new line to the end of an existing file".
52178
52179 2011-05-28  Adam Barth  <abarth@webkit.org>
52180
52181         Reviewed by Eric Seidel.
52182
52183         EWS builds patches that fail to build twice, which seems useless and slows down the bots
52184         https://bugs.webkit.org/show_bug.cgi?id=55585
52185
52186         This patch switches all the early warning system bots over to the new
52187         PatchAnalysisTask-based infrastructure.  This patch makes these bots
52188         more efficient (in the case where patches fail to build) and paves the
52189         way for running tests on these bots!
52190
52191         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
52192         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py:
52193         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
52194         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
52195         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
52196         * Scripts/webkitpy/tool/commands/queues.py:
52197
52198 2011-05-28  Kenichi Ishibashi  <bashi@chromium.org>
52199
52200         Reviewed by Kent Tamura.
52201
52202         Add bashi as a committer.
52203
52204         https://bugs.webkit.org/show_bug.cgi?id=61685
52205
52206         * Scripts/webkitpy/common/config/committers.py:
52207
52208 2011-05-27  Adam Barth  <abarth@webkit.org>
52209
52210         Reviewed by Eric Seidel.
52211
52212         When checking whether the tree is red, the EWS posts a link to the wrong log
52213         https://bugs.webkit.org/show_bug.cgi?id=61072
52214
52215         We need to cache the original script error because that contains the
52216         failure log we want to upload.  If we don't cache that script error,
52217         self._script_error will get overwritten when we sanity check the clean
52218         tree (and it also has test failures).
52219
52220         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
52221             - This testing approach is slightly goofy.  We'd like to use
52222               assertRaisesRegexp, but that's not available until Python 2.7.
52223         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
52224
52225 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
52226
52227         Reviewed by Adam Barth.
52228
52229         Add layoutTestController.setStorageAllowed() to control whether access
52230         to the localStorage API is enabled via the WebPermissionClient
52231         https://bugs.webkit.org/show_bug.cgi?id=61581
52232
52233         * DumpRenderTree/chromium/LayoutTestController.cpp:
52234         (LayoutTestController::LayoutTestController):
52235         (LayoutTestController::setStorageAllowed):
52236         * DumpRenderTree/chromium/LayoutTestController.h:
52237         * DumpRenderTree/chromium/TestShell.cpp:
52238         (TestShell::TestShell):
52239         (TestShell::createNewWindow):
52240         * DumpRenderTree/chromium/TestShell.h:
52241         * DumpRenderTree/chromium/WebPermissions.h: Added.
52242         (WebPermissions::WebPermissions):
52243         (WebPermissions::allowStorage):
52244         (WebPermissions::setStorageAllowed):
52245         (WebPermissions::reset):
52246
52247 2011-05-27  Dirk Pranke  <dpranke@chromium.org>
52248
52249         Reviewed by Eric Seidel.
52250
52251         NRWT: clean up metered_stream code in preparation for 'nooverwriting' patch
52252         https://bugs.webkit.org/show_bug.cgi?id=60326
52253
52254         This patch removes a lot of the complexity from the
52255         metered_stream implementation that was unnecessary since there
52256         was only one caller and the logic could be coordinated better.
52257
52258         There should be no functional changes in this patch, just code
52259         getting deleted and cleaned up.
52260
52261         * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
52262         * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py:
52263         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
52264         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
52265
52266 2011-05-27  Dirk Pranke  <dpranke@chromium.org>
52267
52268         Reviewed by Eric Seidel.
52269
52270         NRWT: minor cleanup in printing module
52271         https://bugs.webkit.org/show_bug.cgi?id=60329
52272
52273         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
52274
52275 2011-05-27  Steve Lacey  <sjl@chromium.org>
52276
52277         Reviewed by David Levin.
52278
52279         Add sjl@chromium.org as a committer.
52280
52281         https://bugs.webkit.org/show_bug.cgi?id=61672
52282
52283         * Scripts/webkitpy/common/config/committers.py:
52284
52285 2011-05-27  Dirk Pranke  <dpranke@chromium.org>
52286
52287         Reviewed by Adam Barth.
52288
52289         NRWT: remove --print detailed-progress
52290         https://bugs.webkit.org/show_bug.cgi?id=60324
52291
52292         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
52293         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
52294         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
52295         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
52296
52297 2011-05-27  Dirk Pranke  <dpranke@chromium.org>
52298
52299         Reviewed by Ojan Vafai.
52300
52301         NRWT: debug messages from the workers are being logged twice
52302         https://bugs.webkit.org/show_bug.cgi?id=60428
52303
52304         It looks like when the workers are run in separate processes
52305         we end up getting two copies of every log message they print.
52306         This has to do with the multiprocessing module on UNIX cloning
52307         the log configuration in a way I wasn't expecting, and so two
52308         log handlers end up getting registered.
52309
52310         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
52311         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
52312         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
52313         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
52314
52315 2011-05-27  Adam Roben  <aroben@apple.com>
52316
52317         Always decode tester names from location.hash
52318
52319         When navigating directly to a tester-specific URL (e.g.,
52320         <http://build.webkit.org/TestFailures/#/Windows%207%20Release%20(Tests)>), you could end up
52321         with a URL-encoded tester name in the page, and then the encoded name could make its way
52322         into Bugzilla bugs. Bad!
52323
52324         Reviewed by David Kilzer.
52325
52326         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
52327         (ViewController.prototype.parseHash): Pass the tester name we got from location.hash through
52328         decodeURIComponent before trying to use it.
52329
52330 2011-05-27  Adam Roben  <aroben@apple.com>
52331
52332         Remove testing code that snuck into r87528
52333
52334         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
52335         (ViewController.prototype._domForNewBugLink): Remove a line I was using for some testing.
52336
52337 2011-05-27  Adam Roben  <aroben@apple.com>
52338
52339         Add links to TestFailures to easily file bugs about failing tests
52340
52341         Fixes <http://webkit.org/b/61636> <rdar://problem/9514886> TestFailures page should have
52342         links to file bugs for failing tests
52343
52344         Reviewed by David Kilzer.
52345
52346         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
52347         (Builder.prototype.resultsPageURL): New helper function to return the URL to results.html
52348         for a particular build.
52349         (Builder.prototype._getFailingTests): Use resultsPageURL.
52350
52351         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
52352         (ViewController.prototype._displayBuilder): Add links to file bugs about each set of
52353         failures.
52354         (ViewController.prototype._domForBuildName): Use resultsPageURL.
52355         (ViewController.prototype._domForNewBugLink): Added. Creates an element that represents the
52356         new bug link. The bug has a title, description, and URL already filled in for you!
52357
52358 2011-05-27  Sheriff Bot  <webkit.review.bot@gmail.com>
52359
52360         Unreviewed, rolling out r87464.
52361         http://trac.webkit.org/changeset/87464
52362         https://bugs.webkit.org/show_bug.cgi?id=61643
52363
52364         client-close/server-close tests are flaky on Chromium Mac and
52365         Windows (Requested by aklein on #webkit).
52366
52367         * Scripts/webkitpy/thirdparty/__init__.py:
52368
52369 2011-05-27  Alexey Proskuryakov  <ap@apple.com>
52370
52371         Added Douglas Davidson to contributors list for easier CC'ing.
52372
52373         * Scripts/webkitpy/common/config/committers.py:
52374
52375 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
52376
52377         Reviewed by Adam Barth.
52378
52379         Fix worldID and destinationDomain argument names
52380         https://bugs.webkit.org/show_bug.cgi?id=61571
52381
52382         As part of working on r87423, I noticed a couple of inconsistencies in
52383         argument names:
52384         - We would use worldId in .h files but worldID in .cpp files.
52385           Standardize on the latter
52386         - SecurityOrigin::addOriginAccessWhitelistEntry would take a
52387           destinationDomains argument, even though the actual parameter was for
52388           a single domain (renamed to be singular).
52389
52390         * DumpRenderTree/LayoutTestController.h:
52391         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
52392         (LayoutTestController::evaluateScriptInIsolatedWorld):
52393
52394 2011-05-26  Yuta Kitamura  <yutak@chromium.org>
52395
52396         Reviewed by Kent Tamura.
52397
52398         WebSocket closing handshake
52399         https://bugs.webkit.org/show_bug.cgi?id=35721
52400
52401         * Scripts/webkitpy/thirdparty/__init__.py:
52402         Pull in pywebsocket 0.6b1. We need to update pywebsocket
52403         to get the right behavior of closing handshake.
52404
52405 2011-05-26  Qi Zhang  <qi.2.zhang@nokia.com>
52406
52407         Reviewed by Andreas Kling.
52408
52409         WebKitTestRunner needs layoutTestController.setAuthorAndUserStylesEnabled
52410         https://bugs.webkit.org/show_bug.cgi?id=42676
52411
52412         Implemented layoutTestController.setAuthorAndUserStylesEnabled for WebKitTestRunner.
52413
52414         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
52415         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
52416         (WTR::InjectedBundle::beginTesting):
52417         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
52418         (WTR::LayoutTestController::setAuthorAndUserStylesEnabled):
52419         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
52420
52421 2011-05-26  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
52422
52423         Reviewed by Andreas Kling.
52424
52425         [Qt] QtTestBrowser "Switch User Agent" dialog is broken
52426         https://bugs.webkit.org/show_bug.cgi?id=61527
52427
52428         The setMaximumHeight() call is unecessary and breaks the dialog at
52429         least on my setup.
52430
52431         * QtTestBrowser/launcherwindow.cpp:
52432         (LauncherWindow::showUserAgentDialog):
52433
52434 2011-05-02  Robert Hogan  <robert@webkit.org>
52435
52436         Reviewed by Adam Roben.
52437
52438         [Qt] Allow popup windows from plugins when initiated by a user gesture
52439
52440         https://bugs.webkit.org/show_bug.cgi?id=41292
52441
52442         Support parameters introduced in plugin-initiate-popup-window.html
52443
52444         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
52445         (webkit_test_plugin_new_instance):
52446         (webkit_test_plugin_handle_event):
52447
52448 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
52449
52450         Reviewed by Adam Barth.
52451
52452         Support cross-origin XMLHttpRequest in isolated worlds
52453         https://bugs.webkit.org/show_bug.cgi?id=59843
52454
52455         Expose setIsolatedWorldSecurityOrigin in LayoutTestController.
52456
52457         * DumpRenderTree/chromium/LayoutTestController.cpp:
52458         (LayoutTestController::LayoutTestController):
52459         (LayoutTestController::setIsolatedWorldSecurityOrigin):
52460         * DumpRenderTree/chromium/LayoutTestController.h:
52461
52462 2011-05-25  Brian Weinstein  <bweinstein@apple.com>
52463
52464         Reviewed by Adam Roben.
52465
52466         WebKit2: Status bar, toolbar, and menu bar checks should be in the injected bundle
52467         https://bugs.webkit.org/show_bug.cgi?id=61474
52468         <rdar://problem/9468337>
52469
52470         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
52471         (WTR::InjectedBundlePage::InjectedBundlePage): Add empty entries in the WKBundlePageUIClient.
52472
52473 2011-05-26  Andreas Kling  <kling@webkit.org>
52474
52475         Unreviewed, correct address to webkit-committers mailing list.
52476
52477         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
52478
52479 2011-05-25  Adam Roben  <aroben@apple.com>
52480
52481         Don't assume that builds finish in the order they were started
52482
52483         Fixes <http://webkit.org/b/61464> TestFailures page shows failures from a not-most-recent
52484         build when one slave is taking a long time to finish a build
52485
52486         Reviewed by Antti Koivisto.
52487
52488         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
52489         (Builder.prototype.getMostRecentCompletedBuildNumber): Don't assume that all builds that are
52490         newer than the oldest in-progress build are also themselves in progress. Just check whether
52491         each build is actually in progress (as signified by its presence in the currentBuilds set).
52492
52493 2011-05-25  Adam Roben  <aroben@apple.com>
52494
52495         Correctly detect cases where only a single test failed/crashed/timed out
52496
52497         Fixes <http://webkit.org/b/61463> TestFailures page doesn't show testers with only a single
52498         failing test
52499
52500         Reviewed by Darin Adler.
52501
52502         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
52503         (Builder.prototype.getNumberOfFailingTests): Don't require "test cases" to be plural. It
52504         will be singular when only a single test fails/crashes/times out.
52505
52506         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
52507         (ViewController.prototype._displayTesters): Only pluralize "test" when more than one test
52508         failed/crashed/timed out.
52509
52510 2011-05-26  Tom Hudson  <tomhudson@google.com>
52511
52512         Reviewed by Tony Chang.
52513
52514         Add flags to Chromium ImageDiff to write image comparison metrics on
52515         stdout.
52516         https://bugs.webkit.org/show_bug.cgi?id=60569
52517
52518         * DumpRenderTree/chromium/ImageDiff.cpp:
52519         (Image::createFromStdin): Fix spelling.
52520         (maxOf3): New function to do 3-way maximum.
52521         (getRedComponent): Extract red component from ABGR packed encoding.
52522         (getGreenComponent): Extract green component from ABGR packed encoding.
52523         (getBlueComponent): Extract blue component from ABGR packed encoding.
52524         (weightedPercentageDifferent): Determine % of pixels different in two
52525         images multiplied by intensity difference of each pixel.
52526         (printHelp): Document new arguments.
52527         (compareImages): Parameterize.
52528         (untestedCompareImages): Parameterize.
52529         (diffImages): Parameterize; write results on stdout if requested.
52530         (main): Parse new arguments.
52531
52532 2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>
52533
52534         Reviewed by Simon Hausmann.
52535
52536         WebKitTestRunner needs layoutTestController.setPrivateBrowsingEnabled
52537         https://bugs.webkit.org/show_bug.cgi?id=42697
52538
52539         Implemented layoutTestController.setPrivateBrowsingEnabled for WebKitTestRunner.
52540
52541         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
52542         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
52543         (WTR::InjectedBundle::beginTesting):
52544         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
52545         (WTR::LayoutTestController::setPrivateBrowsingEnabled):
52546         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
52547
52548 2011-05-25  Jon Honeycutt  <jhoneycutt@apple.com>
52549
52550         REGRESSION (WebKit2): Crash in Flash on USA Today photo gallery
52551         https://bugs.webkit.org/show_bug.cgi?id=61428
52552         <rdar://problem/9457006>
52553
52554         Reviewed by Adam Roben.
52555
52556         The crash occurs when Flash posts a message to a window that it
52557         creates, and in processing the message, it calls NPN_Evaluate to
52558         evaluate JavaScript that removes the plug-in from the page. Flash then
52559         crashes when we return to Flash code.
52560
52561         This test emulates that behavior.
52562
52563         * DumpRenderTree/TestNetscapePlugIn/win/CallJSThatDestroysPlugin.cpp: Added.
52564         (CallJSThatDestroysPlugin::CallJSThatDestroysPlugin):
52565         Initialize member vars.
52566         (CallJSThatDestroysPlugin::~CallJSThatDestroysPlugin):
52567         Remove our custom property from the message window, and destroy it.
52568         (CallJSThatDestroysPlugin::NPP_Destroy):
52569         Set m_isDestroyed, log that the plug-in was destroyed, and notify the
52570         layout test controller that we're done.
52571         (wndProc):
52572         Get the PluginTest object, and call its runTest() function.
52573         (CallJSThatDestroysPlugin::NPP_New):
52574         Setup the test: register a class for the message-only window, create
52575         it, and post a message to it to run the test.
52576         (CallJSThatDestroysPlugin::runTest):
52577         Execute JS that removes the plug-in from the page, and if we're not
52578         destroyed, log a success message.
52579
52580         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
52581         Add new test to project.
52582
52583 2011-05-25  Tony Chang  <tony@chromium.org>
52584
52585         Reviewed by Adam Barth.
52586
52587         webkitpy's NetworkTransaction shouldn't use mechanize
52588         https://bugs.webkit.org/show_bug.cgi?id=61450
52589
52590         mechanize.HTTPError is just an alias for urllib2.HTTPError, so
52591         use urllib2 directly.  Re-add NetworkTransaction to
52592         test_results_uploader.py (reverting r87124).
52593
52594         * Scripts/webkitpy/common/net/networktransaction.py:
52595         * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
52596
52597 2011-05-25  Kevin Ollivier  <kevino@theolliviers.com>
52598
52599         [Chromium] Unreviewed build fix. Do not define WTF/JS_EXPORT_PRIVATE to JS_EXPORTDATA
52600         until the port begins using those export macros.
52601
52602         * DumpRenderTree/chromium/config.h:
52603
52604 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
52605
52606         Unreviewed, rolling out r87257.
52607         http://trac.webkit.org/changeset/87257
52608         https://bugs.webkit.org/show_bug.cgi?id=61457
52609
52610         This broke layout tests, see bug 61431. (Requested by
52611         hwennborg on #webkit).
52612
52613         * DumpRenderTree/chromium/LayoutTestController.cpp:
52614         (LayoutTestController::LayoutTestController):
52615         (LayoutTestController::clearAllDatabases):
52616         * DumpRenderTree/chromium/LayoutTestController.h:
52617
52618 2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>
52619
52620         Reviewed by Andreas Kling.
52621
52622         [Qt] fast/css/disabled-author-styles.html failed
52623         https://bugs.webkit.org/show_bug.cgi?id=61438
52624
52625         Implemented API setAuthorAndUserStylesEnabled in LayoutTestControllerQt.
52626
52627         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
52628         (WebCore::WebPage::resetSettings):
52629         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
52630         (LayoutTestController::setAuthorAndUserStylesEnabled):
52631         * DumpRenderTree/qt/LayoutTestControllerQt.h:
52632
52633 2011-05-25  Adam Roben  <aroben@apple.com>
52634
52635         Identify, rather than skip, builds where run-webkit-tests exited early due to too many failures
52636
52637         Fixes <http://webkit.org/b/61441> TestFailures page should show when run-webkit-tests
52638         started exiting early due to too many crashes, timeouts, or failures
52639
52640         Reviewed by David Kilzer.
52641
52642         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
52643         (Builder.prototype.getNumberOfFailingTests): Rather than returning -1 ("unknown") when
52644         run-webkit-tests exits early due to too many failures, pass that information in another
52645         argument to the callback.
52646         (Builder.prototype.startFetchingBuildHistory): Updated the documentation comment to reflect
52647         the new structure of the object passed to the callback.
52648         (Builder.prototype._getFailingTests): Updated to expect a tooManyFailures boolean from
52649         getNumberOfFailingTests and to pass that along to our own callbacks.
52650         (Builder.prototype._incorporateBuildHistory): Updated to expect a tooManyFailures boolean
52651         from _getFailingTests and to store that value in the history object.
52652
52653         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
52654         (.info): Added.
52655
52656         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
52657         (ViewController.prototype._displayBuilder): Updated for change in structure to the history
52658         object and to add a note when run-webkit-tests exited early due to too many failures.
52659         (ViewController.prototype._displayTesters): Renamed testersAndFailureCounts to
52660         latestBuildInfos since each entry now contains more than just the tester and failure count.
52661         Now displays a message for testers where the latest build exited early due to too many
52662         failures. Updated to expect a tooManyFailures boolean from getNumberOfFailingTests and to
52663         store that value in latestBuildInfos.
52664
52665 2011-05-24  Keishi Hattori  <keishi@webkit.org>
52666
52667         Reviewed by Kent Tamura.
52668
52669         Disable textfield implementation of <input type=color>. Add INPUT_COLOR feature flag. Add input color sanitizer.
52670         https://bugs.webkit.org/show_bug.cgi?id=61273
52671
52672         * Scripts/build-webkit: Added INPUT_COLOR feature flag.
52673
52674 2011-05-24  Greg Simon  <gregsimon@chromium.org>
52675
52676         Reviewed by Dimitri Glazkov.
52677
52678         Control Indexeddb backends from LayoutTestController
52679         https://bugs.webkit.org/show_bug.cgi?id=61000
52680
52681         * DumpRenderTree/chromium/LayoutTestController.cpp:
52682         (LayoutTestController::LayoutTestController):
52683         (LayoutTestController::setOverrideIndexedDBBackingStore):
52684         (LayoutTestController::clearAllDatabases):
52685         * DumpRenderTree/chromium/LayoutTestController.h:
52686
52687 2011-05-24  Robert Hogan  <robert@webkit.org>
52688
52689         Reviewed by Ryosuke Niwa.
52690
52691         [Qt] Fix fast/events/selectstart-by-single-click-with-shift.html
52692         https://bugs.webkit.org/show_bug.cgi?id=61393
52693
52694         * DumpRenderTree/qt/EventSenderQt.h:
52695         * DumpRenderTree/qt/EventSenderQt.cpp:
52696         (getModifiers): static function for interpreting modifiers
52697         (EventSender::mouseDown): Respect keyboard modifiers
52698         (EventSender::keyDown): use new static function
52699         (EventSender::sendOrQueueEvent): whitespace fix
52700
52701 2011-05-24  Jay Civelli  <jcivelli@chromium.org>
52702
52703         Reviewed by Adam Barth.
52704
52705         Adding MHTML reading support.
52706         https://bugs.webkit.org/show_bug.cgi?id=7168
52707
52708         * Scripts/build-webkit:
52709         * Scripts/old-run-webkit-tests:
52710         * Scripts/webkitperl/features.pm:
52711         * Scripts/webkitpy/layout_tests/port/test_files.py:
52712         * Scripts/webkitpy/layout_tests/port/webkit.py:
52713
52714 2011-05-24  Stephen White  <senorblanco@chromium.org>
52715
52716         Reviewed by Kenneth Russell.
52717
52718         Remove most style checks on Source/ThirdParty/glu, since it doesn't
52719         follow WebKit style.
52720         https://bugs.webkit.org/show_bug.cgi?id=61365
52721
52722         * Scripts/webkitpy/style/checker.py:
52723
52724 2011-05-24  Adam Roben  <aroben@apple.com>
52725
52726         Don't allow forcing builds through the build.webkit.org web interface
52727
52728         Someone has been forcing bogus builds.
52729
52730         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
52731
52732 2011-05-24  Qi Zhang  <qi.2.zhang@nokia.com>
52733
52734         Reviewed by Adam Roben.
52735
52736         WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
52737         https://bugs.webkit.org/show_bug.cgi?id=42669
52738
52739         Fixes the regression issue caused by patch 94265. The patch didn't intialize the setting before the 
52740         layouttest starting, it will make the test cases after editing/execCommand/clipboard-access.html failed.
52741         Because that case changed the setting.
52742
52743         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
52744         (WTR::InjectedBundle::beginTesting):
52745
52746 2011-05-24  Csaba Osztrogonác  <ossy@webkit.org>
52747
52748         Reviewed by Kenneth Rohde Christiansen.
52749
52750         [ORWT]Make --skipped=only option work with parameters with LayoutTests/ prefix
52751         https://bugs.webkit.org/show_bug.cgi?id=61052
52752
52753         * Scripts/old-run-webkit-tests:
52754
52755 2011-05-24  Adam Roben  <aroben@apple.com>
52756
52757         Make TestFailures show how many tests are failing on each tester, and omit testers with no failures
52758
52759         Fixes <http://webkit.org/b/61063> <rdar://problem/9460533> TestFailures page shows testers
52760         that don't have any failing tests, which isn't useful
52761
52762         Reviewed by David Kilzer.
52763
52764         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot.js:
52765         (Buildbot.prototype.getTesters): Renamed from getTesterNames. Now returns Builder objects
52766         instead of name strings.
52767         (Buildbot.prototype._buildersForNames): Added. Helper function to convert an array of
52768         builder names into an array of builders.
52769
52770         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
52771         (Builder.prototype.getMostRecentCompletedBuildNumber): Added. Returns the build number of
52772         the most recently completed build, or -1 if there is no such build.
52773         (Builder.prototype.getNumberOfFailingTests): Added. Returns the number of tests that failed
52774         in the given build, or -1 if the number could not be determined. Some of this code came from
52775         _getFailingTests.
52776         (Builder.prototype._getBuildJSON): Added. Code came from _getFailingTests.
52777         (Builder.prototype._getFailingTests): Changed to use new _getBuildJSON and
52778         getNumberOfFailingTests functions.
52779
52780         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
52781         (ViewController.prototype._displayTesters): Get the current number of test failures for each
52782         tester and show it in the list. Omit testers that have no failures at all. We keep the
52783         testers and failure counts in an array and sort it before displaying the current data, as
52784         the order in which data will be fetched is unpredictable.
52785
52786 2011-05-23  Tony Chang  <tony@chromium.org>
52787
52788         Reviewed by Ojan Vafai.
52789
52790         [nrwt] don't use NetworkTranslation when uploading results
52791         https://bugs.webkit.org/show_bug.cgi?id=61315
52792
52793         This avoids autoinstalling mechanize.  It didn't matter anyway
52794         because test_results_uploader.py wasn't using mechanize to make the
52795         request so NetworkTransaction::run wasn't doing anything extra
52796         (it only matters if it catches mechanize.HTTPError).
52797
52798         * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
52799
52800 2011-05-23  Tony Chang  <tony@chromium.org>
52801
52802         Reviewed by Dirk Pranke.
52803
52804         [chromium] fix the rebaseline tool to work with Linux GPU failures
52805         https://bugs.webkit.org/show_bug.cgi?id=61312
52806
52807         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
52808
52809 2011-05-23  Darin Adler  <darin@apple.com>
52810
52811         Ignore generated .pyc files in a directory full of python code.
52812
52813         * Scripts/webkitpy/common/checkout/scm: Added property svn:ignore.
52814
52815 2011-05-23  Adam Barth  <abarth@webkit.org>
52816
52817         Reviewed by Eric Seidel.
52818
52819         sheriffbot should give more details about the failures in IRC
52820         https://bugs.webkit.org/show_bug.cgi?id=61233
52821
52822         With this patch, sheriffbot will annonce the set of failing tests,
52823         which might help folks triage the problem.
52824
52825         * Scripts/webkitpy/tool/commands/sheriffbot.py:
52826         * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
52827
52828 2011-05-23  Sheriff Bot  <webkit.review.bot@gmail.com>
52829
52830         Unreviewed, rolling out r87078.
52831         http://trac.webkit.org/changeset/87078
52832         https://bugs.webkit.org/show_bug.cgi?id=61294
52833
52834         Patch contains errors and seems likely to break a bunch of
52835         bots (Requested by abarth on #webkit).
52836
52837         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
52838         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
52839         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
52840
52841 2011-05-23  Alice Boxhall  <aboxhall@chromium.org>
52842
52843         Reviewed by Ojan Vafai.
52844
52845         Convert json_results_generator.py to output version 4 JSON.
52846         https://bugs.webkit.org/show_bug.cgi?id=60869
52847
52848         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
52849         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
52850         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
52851
52852 2011-05-23  Patrick Gansterer  <paroga@webkit.org>
52853
52854         Reviewed by Adam Barth.
52855
52856         Move generation of shell_command from port to executive
52857         https://bugs.webkit.org/show_bug.cgi?id=61251
52858
52859         After move it's possible to use the code in other places too.
52860
52861         * Scripts/webkitpy/common/config/ports.py:
52862         * Scripts/webkitpy/common/system/executive.py:
52863
52864 2011-05-23  Qi Zhang  <qi.2.zhang@nokia.com>
52865
52866         Reviewed by Darin Adler.
52867
52868         WebKitTestRunner needs layoutTestController.setJavaScriptCanAccessClipboard
52869         https://bugs.webkit.org/show_bug.cgi?id=42669
52870
52871         Implement setJavaScriptCanAccessClipboard in WebKitTestRunner.
52872
52873         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
52874         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
52875         (WTR::LayoutTestController::setJavaScriptCanAccessClipboard):
52876         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
52877
52878 2011-05-22  Robert Hogan  <robert@webkit.org>
52879
52880         Reviewed by Kenneth Rohde Christiansen.
52881
52882         Fix policyDelegate in Qt DRT
52883         https://bugs.webkit.org/show_bug.cgi?id=61247
52884
52885         Use the 'policy delegate' implemented in FrameLoaderClient
52886         for layout tests. The partial implementation in DumpRenderTreeQt
52887         is redundant, so remove it.
52888
52889         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
52890         (WebCore::WebPage::acceptNavigationRequest):
52891         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
52892         (LayoutTestController::waitForPolicyDelegate):
52893
52894 2011-05-22  Patrick Gansterer  <paroga@webkit.org>
52895
52896         Reviewed by Darin Adler.
52897
52898         Use double quotes for filename arguments
52899         https://bugs.webkit.org/show_bug.cgi?id=61250
52900
52901         Windows does not support single quotes on the command line,
52902         so replace them with double quotes.
52903
52904         * Scripts/prepare-ChangeLog:
52905
52906 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
52907
52908         Reviewed by Sam Weinig.
52909
52910         WebKitTestRunner needs layoutTestController.pauseTransitionAtTimeOnElementWithId
52911         https://bugs.webkit.org/show_bug.cgi?id=42550
52912         
52913         Implement pauseTransitionAtTimeOnElementWithId in WebKitTestRunner.
52914
52915         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
52916         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
52917         Copy the code for pausing animations, FIXME comments and all.
52918         (WTR::LayoutTestController::pauseTransitionAtTimeOnElementWithId):
52919         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
52920
52921 2011-05-20  Alok Priyadarshi  <alokp@chromium.org>
52922
52923         Reviewed by Stephen White.
52924
52925         Adding myself to the committers list.
52926
52927         * Scripts/webkitpy/common/config/committers.py:
52928
52929 2011-05-19  Adam Roben  <aroben@apple.com>
52930
52931         Test that the WebKit2 UI process doesn't crash when starting a download
52932
52933         Test for <http://webkit.org/b/61142> <rdar://problem/9471680> REGRESSION (r86812): Crash
52934         (preceded by assertion) in fastMalloc when downloading a file
52935
52936         Reviewed by Darin Adler.
52937
52938         * TestWebKitAPI/Tests/WebKit2/18-characters.html: Added.
52939
52940         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp: Added.
52941         (TestWebKitAPI::decidePolicyForNavigationAction): Start a download.
52942         (TestWebKitAPI::decideDestinationWithSuggestedFilename): Record that the download was
52943         started, cancel the download, and return a bogus string.
52944
52945         (TestWebKitAPI::setContextDownloadClient):
52946         (TestWebKitAPI::setPagePolicyClient):
52947         Simple helper functions.
52948
52949         (TestWebKitAPI::TEST): Load 18-characters.html, which should trigger a download thanks to
52950         our policy client, and run until we know that the download was started. If we haven't
52951         crashed, we win!
52952
52953         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
52954         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
52955         * TestWebKitAPI/win/copy-resources.cmd:
52956         Added new files.
52957
52958 2011-05-20  Kent Tamura  <tkent@chromium.org>
52959
52960         Reviewed by Ryosuke Niwa.
52961
52962         Fix style errors in DumpRenderTree/chromium/.
52963         https://bugs.webkit.org/show_bug.cgi?id=61172
52964
52965         * DumpRenderTree/chromium/CppBoundClass.cpp:
52966         (CppBoundClass::getAsCppVariant):
52967         (CppBoundClass::bindToJavascript):
52968         * DumpRenderTree/chromium/CppBoundClass.h:
52969         (CppBoundClass::GetterCallback::~GetterCallback):
52970         (CppBoundClass::CppBoundClass):
52971         (CppBoundClass::Callback::~Callback):
52972         (CppBoundClass::MemberCallback::MemberCallback):
52973         (CppBoundClass::MemberCallback::~MemberCallback):
52974         (CppBoundClass::MemberGetterCallback::MemberGetterCallback):
52975         (CppBoundClass::MemberGetterCallback::~MemberGetterCallback):
52976         * DumpRenderTree/chromium/CppVariant.h:
52977         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
52978         (DRTDevToolsAgent::~DRTDevToolsAgent):
52979         * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
52980         (DRTDevToolsClient::sendFrontendLoaded):
52981         * DumpRenderTree/chromium/DRTDevToolsClient.h:
52982         * DumpRenderTree/chromium/DumpRenderTree.cpp:
52983         (main):
52984         * DumpRenderTree/chromium/EventSender.cpp:
52985         (SavedEvent::SavedEvent):
52986         (EventSender::EventSender):
52987         (EventSender::keyDown):
52988         * DumpRenderTree/chromium/EventSender.h:
52989         * DumpRenderTree/chromium/ImageDiff.cpp:
52990         (Image::Image):
52991         * DumpRenderTree/chromium/LayoutTestController.cpp:
52992         (LayoutTestController::LayoutTestController):
52993         (LayoutTestController::WorkQueue::reset):
52994         (WorkItemBackForward::WorkItemBackForward):
52995         (WorkItemLoadingScript::WorkItemLoadingScript):
52996         (WorkItemNonLoadingScript::WorkItemNonLoadingScript):
52997         (WorkItemLoad::WorkItemLoad):
52998         (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
52999         (LayoutTestController::pathToLocalResource):
53000         * DumpRenderTree/chromium/LayoutTestController.h:
53001         (LayoutTestController::WorkItem::~WorkItem):
53002         (LayoutTestController::WorkQueue::WorkQueue):
53003         * DumpRenderTree/chromium/MockSpellCheck.cpp:
53004         (MockSpellCheck::MockSpellCheck):
53005         (MockSpellCheck::~MockSpellCheck):
53006         * DumpRenderTree/chromium/MockSpellCheck.h:
53007         * DumpRenderTree/chromium/NotificationPresenter.h:
53008         (NotificationPresenter::NotificationPresenter):
53009         * DumpRenderTree/chromium/Task.cpp:
53010         (WebTask::WebTask):
53011         * DumpRenderTree/chromium/Task.h:
53012         (TaskList::TaskList):
53013         * DumpRenderTree/chromium/TestEventPrinter.cpp:
53014         (DRTPrinter::DRTPrinter):
53015         (TestShellPrinter::TestShellPrinter):
53016         * DumpRenderTree/chromium/TestNavigationController.cpp:
53017         (TestNavigationEntry::TestNavigationEntry):
53018         (TestNavigationEntry::~TestNavigationEntry):
53019         (TestNavigationController::TestNavigationController):
53020         (TestNavigationController::reload):
53021         (TestNavigationController::loadEntry):
53022         (TestNavigationController::didNavigateToEntry):
53023         * DumpRenderTree/chromium/TestNavigationController.h:
53024         (TestShellExtraData::TestShellExtraData):
53025         * DumpRenderTree/chromium/TestShell.cpp:
53026         (dumpHistoryItem):
53027         * DumpRenderTree/chromium/TestShell.h:
53028         (TestParams::TestParams):
53029         * DumpRenderTree/chromium/TestShellWin.cpp:
53030         (TestShell::waitTestFinished):
53031         * DumpRenderTree/chromium/TestWebWorker.h:
53032         (TestWebWorker::startWorkerContext):
53033         (TestWebWorker::terminateWorkerContext):
53034         (TestWebWorker::postMessageToWorkerContext):
53035         (TestWebWorker::clientDestroyed):
53036         (TestWebWorker::postMessageToWorkerObject):
53037         (TestWebWorker::postExceptionToWorkerObject):
53038         (TestWebWorker::postConsoleMessageToWorkerObject):
53039         (TestWebWorker::confirmMessageFromWorkerObject):
53040         (TestWebWorker::reportPendingActivity):
53041         (TestWebWorker::workerContextClosed):
53042         (TestWebWorker::~TestWebWorker):
53043         * DumpRenderTree/chromium/TextInputController.cpp:
53044         * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
53045         * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
53046         * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
53047         (WebThemeEngineDRTWin::paintButton):
53048         (WebThemeEngineDRTWin::paintMenuList):
53049         (WebThemeEngineDRTWin::paintTrackbar):
53050         * DumpRenderTree/chromium/WebThemeEngineDRTWin.h:
53051         (WebThemeEngineDRTWin::WebThemeEngineDRTWin):
53052         * DumpRenderTree/chromium/WebViewHost.cpp:
53053         (WebViewHost::navigate):
53054         (WebViewHost::updateSessionHistory):
53055         (WebViewHost::paintInvalidatedRegion):
53056         * DumpRenderTree/chromium/WebViewHost.h:
53057
53058 2011-05-19  Dmitry Lomov  <dslomov@google.com>
53059
53060         Reviewed by Adam Roben.
53061
53062         Detect hangs in run-api-tests
53063         https://bugs.webkit.org/show_bug.cgi?id=48043
53064
53065         * Scripts/run-api-tests: Added test timeouts
53066
53067 2011-05-19  Dmitry Lomov  <dslomov@google.com>
53068
53069         Reviewed by Adam Roben.
53070
53071         run-api-tests should run one test per process
53072         https://bugs.webkit.org/show_bug.cgi?id=61088
53073
53074         * Scripts/run-api-tests: Resurrecting the previous revison of this file, with fixes to system call under Windows, 
53075         return code, and parsing GTest output format.
53076
53077 2011-05-15  Robert Hogan  <robert@webkit.org>
53078
53079         Reviewed by Antonio Gomes.
53080
53081         [Qt][GTK] plugins/get-url-with-javascript-url.html fails
53082         https://bugs.webkit.org/show_bug.cgi?id=60834
53083         Fix unix test plugin for plugins/get-url-with-javascript-url.html
53084
53085         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53086         (webkit_test_plugin_new_stream):
53087         (webkit_test_plugin_write_ready):
53088         (webkit_test_plugin_write):
53089
53090 2011-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
53091
53092         Unreviewed, rolling out r86869, r86873, r86875, and r86877.
53093         http://trac.webkit.org/changeset/86869
53094         http://trac.webkit.org/changeset/86873
53095         http://trac.webkit.org/changeset/86875
53096         http://trac.webkit.org/changeset/86877
53097         https://bugs.webkit.org/show_bug.cgi?id=61139
53098
53099         broke builds and debug DRT (Requested by rniwa on #webkit).
53100
53101         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
53102         * DumpRenderTree/chromium/TestShell.cpp:
53103         (TestShell::bindJSObjectsToWindow):
53104         * DumpRenderTree/mac/FrameLoadDelegate.mm:
53105         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
53106
53107 2011-05-18  Dimitri Glazkov  <dglazkov@chromium.org>
53108
53109         Reviewed by Darin Adler.
53110
53111         Add build logistics and plumbing for window.internals object.
53112         https://bugs.webkit.org/show_bug.cgi?id=60313
53113
53114         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
53115         * DumpRenderTree/chromium/TestShell.cpp:
53116         (TestShell::bindJSObjectsToWindow): Added injection code.
53117         * DumpRenderTree/mac/FrameLoadDelegate.mm:
53118         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.
53119
53120 2011-05-19  Zsolt Fehér  <h490267@stud.u-szeged.hu>
53121
53122         Reviewed by Csaba Osztrogonác.
53123
53124         [Qt] Implement eventSender.scalePageBy
53125         https://bugs.webkit.org/show_bug.cgi?id=60015
53126
53127         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
53128         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
53129         * DumpRenderTree/qt/EventSenderQt.cpp:
53130         (EventSender::scalePageBy):
53131         * DumpRenderTree/qt/EventSenderQt.h:
53132
53133 2011-05-19  Kenichi Ishibashi  <bashi@chromium.org>
53134
53135         Reviewed by Kent Tamura.
53136
53137         [Chromium] IME candidate window appears wrong position in an iframe
53138         https://bugs.webkit.org/show_bug.cgi?id=61023
53139
53140         Call the focused frame's firstRectForCharacterRange() instead of the
53141         main frame so that DRT behaves as the same as Chromium.
53142
53143         * DumpRenderTree/chromium/TextInputController.cpp:
53144         (TextInputController::firstRectForCharacterRange):
53145
53146 2011-05-18  Adam Roben  <aroben@apple.com>
53147
53148         Add a new page to build.webkit.org to help find when tests started failing
53149
53150         The page is accessible at <http://build.webkit.org/TestFailures/>. It is pretty minimalist
53151         right now, but already shows some useful information. It's somewhat similar to webkit-patch
53152         failure-reason and sheriffbot, and perhaps can be combined with them eventually. It's a
53153         little more convenient than either of them, though, because it's all done in the browser
53154         (and thus it's easy to go directly to the relevant test results).
53155
53156         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Buildbot.js: Added.
53157         (Buildbot): This class represents a Buildbot server.
53158         (Buildbot.prototype.buildURL): Returns the URL for the summary page for a particular build.
53159         (Buildbot.prototype.builderNamed): Returns a Builder with the given name.
53160         (Buildbot.prototype.getTesterNames): Fetches the names of all testers and passes them to the
53161         callback.
53162         (Buildbot.prototype.parseBuildName): Breaks up a build name into its constituent parts. Must
53163         be implemented by a derived class that understands this server's build naming scheme.
53164         (Buildbot.prototype.resultsDirectoryURL): Returns the URL for the results directory for a
53165         particular build.
53166
53167         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js: Added.
53168         (Builder): This class represents one builder on the buildbot.
53169         (Builder.prototype.buildURL): Returns the URL for the summary page for a particular build.
53170         (Builder.prototype.failureDiagnosisTextAndURL): Returns data that provides a little more
53171         information about a particular test failure.
53172         (Builder.prototype.startFetchingBuildHistory): Periodically calls the callback with
53173         information about when tests started failing.
53174         (Builder.prototype.resultsDirectoryURL): Returns the URL for the results directory for a
53175         particular build.
53176         (Builder.prototype._getBuildNames): Fetches the names of all builds and passes them to the
53177         callback.
53178         (Builder.prototype._getFailingTests): Fetches the results.html page for the given build and
53179         extracts all the failing tests listed in it, passing them to the callback.
53180         (Builder.prototype._incorporateBuildHistory): Gets the failing tests for the specified
53181         build, merges them into the build history, and calls the callback telling it whether the
53182         next build should be fetched to provide more information.
53183
53184         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
53185         Added. Just some simple styles.
53186
53187         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js: Added.
53188         (createDefinitionList): Takes an array of pairs and turns them into a DL element.
53189         (getResource): Wrapper around XMLHttpRequest.
53190         (Array.prototype.findFirst): Finds the first element matching the given predicate and
53191         returns it.
53192         (Array.prototype.last): Returns the last element of the array.
53193
53194         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js: Added.
53195         (ViewController): This class contains the main logic for displaying the page.
53196         (ViewController.loaded): Just calls through to parseHash.
53197         (ViewController.parseHash): Either starts analyzing failures on a particular builder, or
53198         shows the list of all testers so one can be chosen. This function is called when the page
53199         loads and whenever we get a hashchange event.
53200         (ViewController._displayBuilder): Asks the builder to fetch build history, and displays it
53201         as it is fetched. The display ends up grouping tests by when they started failing.
53202         (ViewController._displayTesters): Gets the list of testers and displays it.
53203
53204         (ViewController._domForBuildName):
53205         (ViewController._domForFailedTest):
53206         Helper functions to create descriptions and links for a particular build or failed test.
53207
53208         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/WebKitBuildbot.js: Added.
53209         (WebKitBuildbot): Calls up to the base class constructor with the correct base URL.
53210         (WebKitBuildbot.prototype.parseBuildName): Parses a build.webkit.org-style build name.
53211
53212         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Added. Just
53213         loads all the files and sets up a ViewController, which does the rest.
53214
53215         * BuildSlaveSupport/build.webkit.org-config/templates/root.html: Added a link to the new
53216         page.
53217
53218 2011-05-18  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
53219
53220         Reviewed by Csaba Osztrogonác.
53221
53222         [Qt] Implement layoutTestController.setValueForUser()
53223         https://bugs.webkit.org/show_bug.cgi?id=60956
53224
53225         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
53226         (LayoutTestController::setValueForUser):
53227         * DumpRenderTree/qt/LayoutTestControllerQt.h:
53228
53229 2011-05-16  Robert Hogan  <robert@webkit.org>
53230
53231         Reviewed by Kenneth Rohde Christiansen.
53232
53233         plugins/invalidate_rect.html fails on linux ports
53234
53235         - Make the unix test netscape plugin recognize the onPaintEvent
53236           and windowedPlugin parameters.
53237
53238         https://bugs.webkit.org/show_bug.cgi?id=54051
53239
53240         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
53241         (handleEventX11):
53242         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
53243         (LayoutTestController::displayInvalidatedRegion):
53244         * DumpRenderTree/qt/LayoutTestControllerQt.h:
53245         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53246         (webkit_test_plugin_new_instance):
53247         (webkit_test_plugin_handle_event):
53248
53249 2011-05-17  Tony Chang  <tony@chromium.org>
53250
53251         Reviewed by Ojan Vafai.
53252
53253         [chromium] move Lucid 64 bit results into LayoutTests/platform/chromium-linux
53254         https://bugs.webkit.org/show_bug.cgi?id=60895
53255
53256         Update the tools to handle the move.  Lucid 32 results now go in
53257         chromium-linux-x86 and the default platform on Linux is now x86_64.
53258
53259         * Scripts/webkitpy/layout_tests/deduplicate_tests.py: Default to x86_64
53260         * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
53261         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Default to Lucid
53262         * Scripts/webkitpy/layout_tests/port/base.py: ditto
53263         * Scripts/webkitpy/layout_tests/port/chromium_linux.py: Update directory fallback and default to Lucid 64
53264         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
53265         * Scripts/webkitpy/layout_tests/port/test.py: Update tests to default to x86_64
53266         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Update bot names.
53267         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py: Whitespace cleanup.
53268
53269 2011-05-17  Adam Roben  <aroben@apple.com>
53270
53271         Make run-api-tests work on Windows when there are spaces in the path
53272
53273         Fixes <http://webkit.org/b/60954> REGRESSION (r86511): run-api-tests fails if there are
53274         spaces in the path to TestWebKitAPI.exe
53275
53276         Reviewed by David Levin.
53277
53278         * Scripts/run-api-tests:
53279         (runTestTool): Use the "direct object" form of system() to avoid having the path to
53280         TestWebKitAPI.exe be split by the shell.
53281
53282 2011-05-16  Ian Henderson  <ianh@apple.com>
53283
53284         Reviewed by Joseph Pecoraro.
53285
53286         Page::goToItem doesn't work while loading is deferred
53287         https://bugs.webkit.org/show_bug.cgi?id=60412
53288
53289         Add setDefersLoading and goBack methods to LayoutTestController.  We
53290         need to use goBack() instead of history.back() because the latter goes
53291         through NavigationScheduler, hence doesn't exhibit the bug.
53292
53293         * DumpRenderTree/LayoutTestController.cpp:
53294         (goBackCallback):
53295         (setDefersLoadingCallback):
53296         (LayoutTestController::staticFunctions):
53297         * DumpRenderTree/LayoutTestController.h:
53298         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
53299         (LayoutTestController::goBack):
53300         (LayoutTestController::setDefersLoading):
53301         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
53302         (LayoutTestController::goBack):
53303         (LayoutTestController::setDefersLoading):
53304         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
53305         (LayoutTestController::goBack):
53306         (LayoutTestController::setDefersLoading):
53307         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
53308         (LayoutTestController::goBack):
53309         (LayoutTestController::setDefersLoading):
53310
53311 2011-05-16  Sam Weinig  <sam@webkit.org>
53312
53313         Reviewed by Anders Carlsson.
53314
53315         TestWebKitAPI should build with clang if it can
53316         https://bugs.webkit.org/show_bug.cgi?id=60918
53317
53318         * TestWebKitAPI/Configurations/CompilerVersion.xcconfig:
53319         Update CompilerVersion.xcconfig to match others.
53320
53321         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
53322         Add CompilerVersion.xcconfig to the project.
53323
53324         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
53325         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
53326         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
53327         (TestWebKitAPI::didSameDocumentNavigationForFrame):
53328         Add some casts to quiet warnings from clang.
53329
53330 2011-05-16  Dirk Pranke  <dpranke@chromium.org>
53331
53332         Reviewed by David Levin.
53333
53334         add dpranke as a reviewer
53335         https://bugs.webkit.org/show_bug.cgi?id=60919
53336
53337         * Scripts/webkitpy/common/config/committers.py:
53338
53339 2011-05-16  Robert Hogan  <robert@webkit.org>
53340
53341         Reviewed by Anders Carlsson.
53342
53343         [Gtk] plugins/get-url-notify-with-url-that-fails-to-load.html crashes on buildbot
53344
53345         https://bugs.webkit.org/show_bug.cgi?id=60838
53346
53347         The unix test plugin needs to call the test's NPP_URLNotify
53348         rather than the browsers.
53349
53350         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53351         (webkit_test_plugin_url_notify):
53352
53353 2011-05-16  Brent Fulgham  <bfulgham@webkit.org>
53354
53355         Rubber-stamped by Adam Roben.
53356
53357         Adding myself as a reviewer.
53358         * Scripts/webkitpy/common/config/committers.py:
53359
53360 2011-05-16  Sam Weinig  <sam@webkit.org>
53361
53362         Fix typo pointed out by Dave Levin.
53363
53364         * TestWebKitAPI/PlatformUtilities.h:
53365         (TestWebKitAPI::Util::assertWKStringEqual):
53366         Strig -> String.
53367
53368 2011-05-16  Sam Weinig  <sam@webkit.org>
53369
53370         Reviewed by David Levin.
53371
53372         Convert api tester over to using gtest expectations directly
53373         https://bugs.webkit.org/show_bug.cgi?id=60862
53374
53375         * TestWebKitAPI/PlatformUtilities.cpp:
53376         (TestWebKitAPI::Util::toSTD):
53377         * TestWebKitAPI/PlatformUtilities.h:
53378         (TestWebKitAPI::Util::assertWKStrigEqual):
53379         Add convenience macro to compare WK2 strings. Add some overloads of toSTD to make
53380         the implementation of the macro simpler.
53381
53382         * TestWebKitAPI/Test.h:
53383         Remove TEST_ASSERT forwarder.
53384
53385         [Test changes elided]
53386
53387 2011-05-16  David Kilzer  <ddkilzer@apple.com>
53388
53389         <http://webkit.org/b/60913> C++ exceptions should not be enabled when building with llvm-gcc-4.2
53390         <rdar://problem/9446430>
53391
53392         Reviewed by Mark Rowe.
53393
53394         * MiniBrowser/Configurations/Base.xcconfig: Fixed typo.
53395         * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
53396         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
53397
53398 2011-05-16  Jon Lee  <jonlee@apple.com>
53399
53400         Reviewed by Simon Fraser.
53401
53402         Can't horizontally scroll iframes and overflow because wheel events are always accepted
53403         https://bugs.webkit.org/show_bug.cgi?id=60779
53404
53405         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
53406         (WTR::InjectedBundlePage::InjectedBundlePage): Set new default method to nil.
53407
53408 2011-05-16  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
53409
53410         Reviewed by Csaba Osztrogonác.
53411
53412         [Qt] Tools.pro misses include(common.pri)
53413         https://bugs.webkit.org/show_bug.cgi?id=60883
53414
53415         It includes features.pri, which depends on common.pri (the build is
53416         not broken today with the default options, but this is the right
53417         thing to do).
53418
53419         * Tools.pro:
53420
53421 2011-05-15  Dominic Cooney  <dominicc@chromium.org>
53422
53423         Unreviewed: adding myself to committers.py.
53424
53425         * Scripts/webkitpy/common/config/committers.py:
53426
53427 2011-05-15  Daniel Bates  <dbates@webkit.org>
53428
53429         Reviewed by Chris Jerdonek.
53430
53431         svn-apply can't handle Git diff that only changes executable bit
53432         https://bugs.webkit.org/show_bug.cgi?id=60848
53433
53434         Fixes an issue where svn-{apply, unapply} fail to handle a Git diff for a file
53435         that only has an executable bit change.
53436
53437         * Scripts/VCSUtils.pm:
53438           - Modified regex $chunkRangeRegEx to match chunk range with ending text, say: @@ -2,6 +2,18 @@ foo().
53439         (parseDiff): Modified to count the number of text chunks in the diff. This should also help towards
53440         fixing <https://bugs.webkit.org/show_bug.cgi?id=29684>.
53441         * Scripts/svn-apply:
53442         (patch): Only use standard patch tool if the patch is non-empty and for a text file (i.e. not a binary patch).
53443         * Scripts/svn-unapply:
53444         (patch): Ditto.
53445         * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
53446           - Updated expected results for test cases to account for numTextChunks.
53447           - Fixed malformed chunk range in test cases: "Git: simple", and "Git: Git diff followed by SVN diff".
53448           - Added test case "Git: file that only has an executable bit change".
53449         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
53450           - Updated expected results for test cases to account for numTextChunks.
53451
53452 2011-05-15  Sam Weinig  <sam@webkit.org>
53453
53454         Fix windows build.
53455
53456         * TestWebKitAPI/win/main.cpp:
53457         (main):
53458
53459 2011-05-15  Sam Weinig  <sam@webkit.org>
53460
53461         Reviewed by David Levin.
53462
53463         Make API tester more gtest friendly
53464         https://bugs.webkit.org/show_bug.cgi?id=60859
53465
53466         * Scripts/run-api-tests:
53467         Numerous changes:
53468         - Remove logic to run tests one at a time.
53469         - Remove logic to build up a list of tests, instead just pass --gtest_list_tests to 
53470           the test runner and allow gtest to print it for us.
53471         - Forward stdout from the test tool to stdout, even in non-verbose runs.
53472         - Run test tool from the current working directory instead of the root webkit
53473           directory.
53474
53475         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
53476         Move plist to be with other bundle sources.
53477
53478         * TestWebKitAPI/TestsController.cpp:
53479         (TestWebKitAPI::TestsController::TestsController):
53480         (TestWebKitAPI::TestsController::run):
53481         * TestWebKitAPI/TestsController.h:
53482         * TestWebKitAPI/mac/main.mm:
53483         Simplify TestController down to a single run function. We should consider removing the class
53484         entirely at some point.
53485
53486 2011-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
53487
53488         Unreviewed, rolling out r86504.
53489         http://trac.webkit.org/changeset/86504
53490         https://bugs.webkit.org/show_bug.cgi?id=60853
53491
53492         "Broke Qt EventSender in editing/selection tests" (Requested
53493         by mwenge on #webkit).
53494
53495         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
53496         (WebCore::WebPage::WebPage):
53497         (WebCore::DumpRenderTree::DumpRenderTree):
53498         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
53499         (WebCore::DumpRenderTree::initJSObjects):
53500         * DumpRenderTree/qt/DumpRenderTreeQt.h:
53501         (WebCore::DumpRenderTree::eventSender):
53502         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53503         (webkit_test_plugin_new_instance):
53504         (webkit_test_plugin_set_window):
53505         (webkit_test_plugin_handle_event):
53506
53507 2011-05-12  Robert Hogan  <robert@webkit.org>
53508
53509         Reviewed by Benjamin Poulain.
53510
53511         [Qt] fix http/tests/plugins/plugin-document-has-focus.html
53512
53513         The support for this test added to the unix test plugin here
53514         may allow other platforms to pass it (nearly everyone
53515         skips it). On Qt it required a bit of trickiness with
53516         the page's EventSender object to get it working fully though,
53517         so only unskipping Qt here.
53518
53519         https://bugs.webkit.org/show_bug.cgi?id=60722
53520
53521         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
53522         (WebCore::WebPage::WebPage):
53523         (WebCore::WebPage::eventSender):
53524         (WebCore::DumpRenderTree::DumpRenderTree):
53525         (WebCore::DumpRenderTree::initJSObjects):
53526         (WebCore::DumpRenderTree::createWindow):
53527         * DumpRenderTree/qt/DumpRenderTreeQt.h:
53528         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53529         (webkit_test_plugin_new_instance):
53530         (webkit_test_plugin_set_window):
53531         (webkit_test_plugin_handle_event):
53532
53533 2011-05-14  Arno Renevier  <arno@renevier.net>
53534
53535         Reviewed by Martin Robinson.
53536
53537         make run-gtk-tests executable
53538         https://bugs.webkit.org/show_bug.cgi?id=59278
53539
53540         * Scripts/run-gtk-tests:
53541
53542 2011-05-14  Anders Carlsson  <andersca@apple.com>
53543
53544         Reviewed by Kevin Decker.
53545
53546         NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
53547         https://bugs.webkit.org/show_bug.cgi?id=60823
53548         <rdar://problem/9430386>
53549
53550         Add test that calls NPN_GetURLNotify on a URL that can't be loaded, and checks if NPP_URLNotify is called.
53551
53552         * DumpRenderTree/DumpRenderTree.gypi:
53553         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
53554         * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp: Added.
53555         (GetURLNotifyWithURLThatFailsToLoad::GetURLNotifyWithURLThatFailsToLoad):
53556         (GetURLNotifyWithURLThatFailsToLoad::NPP_New):
53557         (GetURLNotifyWithURLThatFailsToLoad::NPP_URLNotify):
53558         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
53559         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
53560         * GNUmakefile.am:
53561
53562 2011-05-14  Sheriff Bot  <webkit.review.bot@gmail.com>
53563
53564         Unreviewed, rolling out r86476.
53565         http://trac.webkit.org/changeset/86476
53566         https://bugs.webkit.org/show_bug.cgi?id=60832
53567
53568         It made plugins/get-url-notify-with-url-that-fails-to-
53569         load.html crash on GTK (Requested by Ossy on #webkit).
53570
53571         * DumpRenderTree/DumpRenderTree.gypi:
53572         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
53573         * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp: Removed.
53574         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
53575         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
53576         * GNUmakefile.am:
53577
53578 2011-05-13  Anders Carlsson  <andersca@apple.com>
53579
53580         Reviewed by Sam Weinig.
53581
53582         NPP_URLNotify is not called if a URL passed to NPN_GetURLNotify fails to load
53583         https://bugs.webkit.org/show_bug.cgi?id=60823
53584         <rdar://problem/9430386>
53585
53586         Add test that calls NPN_GetURLNotify on a URL that can't be loaded, and checks if NPP_URLNotify is called.
53587
53588         * DumpRenderTree/DumpRenderTree.gypi:
53589         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
53590         * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp: Added.
53591         (GetURLNotifyWithURLThatFailsToLoad::GetURLNotifyWithURLThatFailsToLoad):
53592         (GetURLNotifyWithURLThatFailsToLoad::NPP_New):
53593         (GetURLNotifyWithURLThatFailsToLoad::NPP_URLNotify):
53594         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
53595         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
53596         * GNUmakefile.am:
53597
53598 2011-05-13  Anders Carlsson  <andersca@apple.com>
53599
53600         Build fix.
53601
53602         * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp:
53603
53604 2011-05-13  Anders Carlsson  <andersca@apple.com>
53605
53606         Reviewed by Sam Weinig.
53607
53608         NPN_GetURL with a javascript: URL doesn't send back the result in the stream
53609         https://bugs.webkit.org/show_bug.cgi?id=60810
53610
53611         Add a test that calls NPN_GetURL on a javascript: URL and checks that it gets back the expected result.
53612
53613         * DumpRenderTree/DumpRenderTree.gypi:
53614         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
53615         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
53616         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
53617         * GNUmakefile.am:
53618         Add files.
53619
53620         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
53621         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
53622         Add new NPN and NPP wrappers and sort them according to the order they appear in npfunctions.h
53623
53624         * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURL.cpp: Added.
53625         (GetURLWithJavaScriptURL::GetURLWithJavaScriptURL):
53626         (GetURLWithJavaScriptURL::NPP_New):
53627         (GetURLWithJavaScriptURL::NPP_NewStream):
53628         (GetURLWithJavaScriptURL::NPP_DestroyStream):
53629         (GetURLWithJavaScriptURL::NPP_WriteReady):
53630         (GetURLWithJavaScriptURL::NPP_Write):
53631         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
53632         (NPP_NewStream):
53633         (NPP_WriteReady):
53634         (NPP_Write):
53635         (NPP_URLNotify):
53636         call the PluginTest NPP wrappers.
53637
53638 2011-05-13  Sheriff Bot  <webkit.review.bot@gmail.com>
53639
53640         Unreviewed, rolling out r86447.
53641         http://trac.webkit.org/changeset/86447
53642         https://bugs.webkit.org/show_bug.cgi?id=60809
53643
53644         "Broke some uses of EventSender object on Qt" (Requested by
53645         mwenge on #webkit).
53646
53647         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
53648         (WebCore::WebPage::WebPage):
53649         (WebCore::DumpRenderTree::DumpRenderTree):
53650         (WebCore::DumpRenderTree::initJSObjects):
53651         (WebCore::DumpRenderTree::createWindow):
53652         * DumpRenderTree/qt/DumpRenderTreeQt.h:
53653         (WebCore::DumpRenderTree::eventSender):
53654         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53655         (webkit_test_plugin_new_instance):
53656         (webkit_test_plugin_set_window):
53657         (webkit_test_plugin_handle_event):
53658
53659 2011-05-13  Robert Hogan  <robert@webkit.org>
53660
53661         Reviewed by Benjamin Poulain.
53662
53663         [Qt] fix http/tests/plugins/plugin-document-has-focus.html
53664
53665         The support for this test added to the unix test plugin here
53666         may allow other platforms to pass it (nearly everyone
53667         skips it). On Qt it required a bit of trickiness with
53668         the page's EventSender object to get it working fully though,
53669         so only unskipping Qt here.
53670
53671         https://bugs.webkit.org/show_bug.cgi?id=60722
53672
53673         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
53674         (WebCore::WebPage::WebPage):
53675         (WebCore::WebPage::eventSender):
53676         (WebCore::DumpRenderTree::DumpRenderTree):
53677         (WebCore::DumpRenderTree::initJSObjects):
53678         (WebCore::DumpRenderTree::createWindow):
53679         * DumpRenderTree/qt/DumpRenderTreeQt.h:
53680         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
53681         (webkit_test_plugin_new_instance):
53682         (webkit_test_plugin_set_window):
53683         (webkit_test_plugin_handle_event):
53684
53685 2011-05-13  Adam Roben  <aroben@apple.com>
53686
53687         Exclude the Leopard NRWT bot from the core builder set
53688
53689         Fixes <http://webkit.org/b/60392> Leopard Intel Release (NRWT) shouldn't be a core builder
53690
53691         Reviewed by Darin Adler.
53692
53693         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
53694         (BuildBot.__init__): Tighten up the Leopard regexp to only allow the non-NRWT Leopard bots
53695         in the core builder set.
53696
53697         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
53698         (BuildBotTest.test_builder_name_regexps): Updated to match the current set of builders and
53699         regexps.
53700
53701 2011-05-13  Adam Roben  <aroben@apple.com>
53702
53703         Group all the NRWT bots together
53704
53705         This also gets the new NRWT bots out of the middle of Apple's bots. Since these new NRWT
53706         bots are experimental, it seems best not to clutter up the non-experimental bots with
53707         experimental ones.
53708
53709         Fixes <http://webkit.org/b/60769> New "(NRWT)" bots are right in the middle of Apple's bots
53710         on build.webkit.org
53711
53712         Reviewed by Dan Bernstein.
53713
53714         * BuildSlaveSupport/build.webkit.org-config/config.json: Moved the "(NRWT)" bots next to the
53715         Chromium testers, which also use new-run-webkit-tests.
53716
53717 2011-05-13  Adam Roben  <aroben@apple.com>
53718
53719         Add a plugin test that dumps the plugin window's rect
53720
53721         Part of the test for <http://webkit.org/b/60194> <rdar://problem/9383760> REGRESSION
53722         (r79167): Windowed plugins in Google Reader don't move when the article list is scrolled
53723
53724         Reviewed by Dan Bernstein.
53725
53726         * DumpRenderTree/TestNetscapePlugIn/Tests/win/DumpWindowRect.cpp: Added.
53727         (DumpWindowRect::DumpWindowRect): Just call up to the base class.
53728         (DumpWindowRect::performWindowGeometryTest): Find our window rect relative to the test
53729         harness window and log it.
53730
53731         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added DumpWindowRect.
53732
53733 2011-05-13  Adam Roben  <aroben@apple.com>
53734
53735         Move code required for most tests of plugin window geometry into a base class
53736
53737         WebKit2's asynchronous plugin window positioning makes testing window geometry tricky. By
53738         having all the trickiness in a shared base class, writing new window geometry tests will be
53739         much easier.
53740
53741         Fixes <http://webkit.org/b/60776> It's hard to write tests that check plugin window geometry
53742
53743         Reviewed by Anders Carlsson.
53744
53745         * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowRegionIsSetToClipRect.cpp:
53746         (WindowRegionIsSetToClipRect::WindowRegionIsSetToClipRect): Changed to inherit from the new
53747         WindowGeometryTest base class. Most of the code from this class was moved to the new base
53748         class.
53749         (WindowRegionIsSetToClipRect::performWindowGeometryTest): Renamed from checkWindowRegion.
53750         This is called by the base class when it is safe to check the window's geometry. Note that
53751         the m_didCheckWindowRegion logic was removed completely; it has never been needed and was
53752         just vestigial code from an earlier version of this test.
53753
53754         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added new
53755         WindowGeometryTest class.
53756
53757         * DumpRenderTree/TestNetscapePlugIn/win/WindowGeometryTest.cpp: Added. Code came from
53758         WindowRegionIsSetToClipRect.
53759         (WindowGeometryTest::finishTest): This is the only change from WindowRegionIsSetToClipRect.
53760         We now call the new virtual performWindowGeometryTest function instead of checkWindowRegion.
53761         Subclasses can implement that function to perform their own tests.
53762
53763         * DumpRenderTree/TestNetscapePlugIn/win/WindowGeometryTest.h: Added.
53764
53765 2011-05-13  Zoltan Herczeg  <zherczeg@webkit.org>
53766
53767         Reviewed by Csaba Osztrogonác.
53768
53769         Missing 2nd #EOF if WebProcess is killed.
53770         https://bugs.webkit.org/show_bug.cgi?id=60761
53771
53772         If the WebProcess is killed, only one #EOF is yielded
53773         by WebKitTestRunner. However, run-webkit-test wait for
53774         a second #EOF, which signals the finishing of pixel dump.
53775         Since this never happens, run-webkit-test waits forever.
53776
53777         * WebKitTestRunner/TestInvocation.cpp:
53778         (WTR::TestInvocation::dump):
53779         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
53780         * WebKitTestRunner/TestInvocation.h:
53781
53782 2011-05-13  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
53783
53784         Reviewed by Csaba Osztrogonác.
53785
53786         [NRWT] chromium-linux tests shouldn't run on other platforms
53787         https://bugs.webkit.org/show_bug.cgi?id=60162
53788
53789         Remove _tests_for_other_platforms defs because r82753
53790         implemented it properly in the baseclass in webkit.py.
53791
53792         * Scripts/webkitpy/layout_tests/port/gtk.py:
53793         * Scripts/webkitpy/layout_tests/port/qt.py:
53794         * Scripts/webkitpy/layout_tests/port/win.py:
53795
53796 2011-05-12  Ryuan Choi  <ryuan.choi@samsung.com>
53797
53798         Reviewed by Antonio Gomes.
53799
53800         [EFL] Remove unused option of EWeblauncher
53801         https://bugs.webkit.org/show_bug.cgi?id=60747
53802
53803         Remove sudo-workaround option.
53804         This option is not used and make other option wrong.
53805
53806         * EWebLauncher/main.c:
53807
53808 2011-05-12  Lucas Forschler  <lforschler@apple.com>
53809
53810         Reviewed by Stephanie Lewis.
53811
53812         Fix config.json to address missing WK2 builder/tester config.
53813         Fix naming of machines (xserve not macpro)
53814
53815         * BuildSlaveSupport/build.webkit.org-config/config.json:
53816
53817 2011-05-12  Lucas Forschler  <lforschler@apple.com>
53818
53819         Reviewed by Stephanie Lewis.
53820
53821         Add SnowLeopard Debug builder and Test bot.
53822         apple-xserve-8 = SL Debug Tester.
53823         apple-xserve-9 = SL Debug Builder.
53824         
53825         * BuildSlaveSupport/build.webkit.org-config/config.json:
53826
53827 2011-05-12  Adam Barth  <abarth@webkit.org>
53828
53829         This patch disables sheriffbot's bug postings.  He's just been way too
53830         spammy recently due to test flakiness.
53831
53832         * Scripts/webkitpy/tool/commands/sheriffbot.py:
53833         * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
53834
53835 2011-05-11  Brian Weinstein  <bweinstein@apple.com>
53836
53837         Reviewed by Anders Carlsson.
53838
53839         After relaunching an unresponsive web process, web page stops responding to mouse movement
53840         https://bugs.webkit.org/show_bug.cgi?id=60669
53841         <rdar://problem/9409934>
53842         
53843         This test follows the steps needed to reproduce this bug:
53844         1) Hang the web process
53845         2) While the web process is hung, move the mouse (so WebPageProxy thinks it is processing a mouse move event)
53846         3) Kill and restart the WebProcess
53847         4) Move the mouse
53848         
53849         We are testing that we receive mouse move events after the WebProcess has restarted.
53850
53851         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp: Added.
53852         (TestWebKitAPI::didFinishLoadForFrame): Set a flag that we finished loading.
53853         (TestWebKitAPI::processDidBecomeUnresponsive): Kill the web process once we become unresponsive.
53854         (TestWebKitAPI::processDidCrash): Reload the page when the process crashes, which restarts the web process.
53855         (TestWebKitAPI::setPageLoaderClient):
53856         (TestWebKitAPI::TEST):
53857         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp: Added.
53858         (TestWebKitAPI::MouseMoveAfterCrashTest::MouseMoveAfterCrashTest):
53859         (TestWebKitAPI::MouseMoveAfterCrashTest::didReceiveMessage):
53860         * TestWebKitAPI/Tests/WebKit2/mouse-move-listener.html: Added.
53861
53862         * TestWebKitAPI/PlatformWebView.h:
53863         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
53864         (TestWebKitAPI::PlatformWebView::simulateMouseMove): Sends the messages that simulate a mouse move.
53865         * TestWebKitAPI/win/PlatformWebViewWin.cpp:
53866         (TestWebKitAPI::PlatformWebView::simulateMouseMove): Ditto.
53867
53868         Add new files.
53869         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
53870         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
53871         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
53872         * TestWebKitAPI/win/copy-resources.cmd:
53873
53874 2011-05-12  Tomasz Morawski  <t.morawski@samsung.com>
53875
53876         Reviewed by Antonio Gomes.
53877
53878         [EFL] Added initialization/shutdown for ecore_file library
53879         https://bugs.webkit.org/show_bug.cgi?id=60457
53880
53881         Added initialization and shuthown for ecore_file library and replaced
53882         realpath function to ecore_file_realpath.
53883
53884         * EWebLauncher/main.c:
53885         (quit):
53886         (findThemePath):
53887         (main):
53888
53889 2011-05-12  Young Han Lee  <joybro@company100.net>
53890
53891         Reviewed by Kenneth Rohde Christiansen.
53892
53893         [Qt] Implement layoutTestController.layerTreeAsText()
53894         https://bugs.webkit.org/show_bug.cgi?id=60367
53895
53896         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
53897         (LayoutTestController::layerTreeAsText):
53898         * DumpRenderTree/qt/LayoutTestControllerQt.h:
53899
53900 2011-05-11  Eric Seidel  <eric@webkit.org>
53901
53902         Reviewed by David Levin.
53903
53904         Teach validate-committer-lists how to validate committers bugzilla_email()
53905         https://bugs.webkit.org/show_bug.cgi?id=60651
53906
53907         It turns out we currently have 9 committers with invalid values for their
53908         bugzilla_email field (meaning we don't know what email is their bugzilla account).
53909         "Alexander Kellett" <lypanov@mac.com>
53910         "Andre Boule" <aboule@apple.com>
53911         "Cameron McCormack" <cam@webkit.org>
53912         "Chris Petersen" <cpetersen@apple.com>
53913         "Eli Fidler" <eli@staikos.net>
53914         "Matt Lilek" <webkit@mattlilek.com>
53915         "Pierre d'Herbemont" <pdherbemont@free.fr>
53916         "Scott Violet" <sky@chromium.org>
53917         "Adam Treat" <treat@kde.org>
53918
53919         Most of those haven't committed in a very long time, so it's not suprising
53920         that we haven't noticed that their bugzilla emails are bogus.
53921
53922         * Scripts/validate-committer-lists:
53923         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
53924         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
53925
53926 2011-05-11  Dmitry Lomov  <dslomov@google.com>
53927
53928         Reviewed by David Levin.
53929
53930         https://bugs.webkit.org/show_bug.cgi?id=59561
53931         Switch TestWebKitAPI to GTest
53932
53933         Fixes Makefiles and WinCairo build as well
53934
53935         * Makefile:
53936         * Scripts/build-api-tests:
53937         * Scripts/run-api-tests:
53938         * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
53939         * TestWebKitAPI/Test.h:
53940         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
53941         * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
53942         (TestWebKitAPI::TEST):
53943         * TestWebKitAPI/TestsController.cpp:
53944         (TestWebKitAPI::TestsController::TestsController):
53945         (TestWebKitAPI::TestsController::dumpTestNames):
53946         (TestWebKitAPI::TestsController::runTestNamed):
53947         (TestWebKitAPI::TestsController::runAllTests):
53948         * TestWebKitAPI/TestsController.h:
53949         * TestWebKitAPI/mac/main.mm:
53950         (main):
53951
53952 2011-05-11  Eric Seidel  <eric@webkit.org>
53953
53954         Reviewed by Alexey Proskuryakov.
53955
53956         Add Luke Macpherson to committers.py as a Contributor
53957         https://bugs.webkit.org/show_bug.cgi?id=60639
53958
53959         * Scripts/webkitpy/common/config/committers.py:
53960
53961 2011-05-11  Noam Rosenthal  <noam.rosenthal@nokia.com>
53962
53963         Reviewed by Kenneth Rohde Christiansen.
53964
53965         [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
53966         https://bugs.webkit.org/show_bug.cgi?id=60439
53967
53968         Patch 4/12: Update the build script to enable 3D rendering by default for Qt.
53969
53970         * Scripts/build-webkit:
53971
53972 2011-05-11  Brian Weinstein  <bweinstein@apple.com>
53973
53974         Reviewed by Adam Roben.
53975
53976         REGRESSION (r86161): WKPreferences API test failing on Windows
53977         https://bugs.webkit.org/show_bug.cgi?id=60658
53978
53979         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
53980         (TestWebKitAPI::TEST):
53981
53982 2011-05-11  Alice Boxhall  <aboxhall@chromium.org>
53983
53984         Reviewed by Ojan Vafai.
53985
53986         Modify jsonresults_unittest.py to use a dict format for its test data, and modify jsonresults.py to flatten hierarchical directory structures in input JSON.
53987         https://bugs.webkit.org/show_bug.cgi?id=60521
53988
53989         First steps towards making the results JSON all hierarchical.
53990
53991         * TestResultServer/model/jsonresults.py:
53992         * TestResultServer/model/jsonresults_unittest.py:
53993
53994 2011-05-11  Kevin Ollivier  <kevino@theolliviers.com>
53995
53996         [wx] Build fix, adding new LayoutTestController method stubs.
53997
53998         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
53999         (LayoutTestController::localStorageDiskUsageForOrigin):
54000         (LayoutTestController::applicationCacheDiskUsageForOrigin):
54001
54002 2011-05-11  Jessie Berlin  <jberlin@apple.com>
54003
54004         Reviewed by Darin Adler.
54005
54006         [WebKit2] exceededDatabaseQuota function on WKPageUIClient needs to provide information
54007         about the usage for both the origin overall and the database in question.
54008         https://bugs.webkit.org/show_bug.cgi?id=60573
54009
54010         * WebKitTestRunner/TestController.cpp:
54011         (WTR::exceededDatabaseQuota):
54012
54013 2011-05-10  Stephen White  <senorblanco@chromium.org>
54014
54015         Reviewed by David Levin.
54016
54017         Adding myself as a reviewer.
54018         https://bugs.webkit.org/show_bug.cgi?id=60587
54019
54020         * Scripts/webkitpy/common/config/committers.py:
54021
54022 2011-05-11  Eric Seidel  <eric@webkit.org>
54023
54024         Reviewed by Csaba Osztrogonác.
54025
54026         queues.webkit.org should show 1000+ instead of 1000 when we hit the query limit
54027         https://bugs.webkit.org/show_bug.cgi?id=60614
54028
54029         AppEngine has a result limit of 1000.  We hit that when trying
54030         to find out how many patches the style-queue (and other queues)
54031         have passed in the last 30 days.  So lets display 1000+ instead
54032         of 1000 to avoid confusion. (Ossy was asking about this in #webkit tonight.)
54033
54034         I also made the status pages show "never" instead of just "ago" when we
54035         haven't seen a pass or boot message in the last 1000 messages.
54036
54037         * QueueStatusServer/handlers/queuestatus.py:
54038         * QueueStatusServer/templates/queuestatus.html:
54039
54040 2011-05-11  Adam Barth  <abarth@webkit.org>
54041
54042         Reviewed by Eric Seidel.
54043
54044         sheriffbot shouldn't spam bugs when it can't figure out who to blame
54045         https://bugs.webkit.org/show_bug.cgi?id=60613
54046
54047         This patch limits the number of bugs sheriffbot will spam to three.
54048         Ideally, we'd come up with some smarter huerstics, but hopefully this
54049         will cut down on the bugmail spam for slow bots.
54050
54051         * Scripts/webkitpy/tool/commands/sheriffbot.py:
54052
54053 2011-05-10  Eric Seidel  <eric@webkit.org>
54054
54055         Reviewed by Adam Barth.
54056
54057         EWS bots should be robust against test-webkitpy hangs
54058         https://bugs.webkit.org/show_bug.cgi?id=60579
54059
54060         Added a killAfterTimeout subroutine, which takes a child_pid
54061         and timeout, and will setup a watchdog process to kill that child
54062         after the timeout.  killAfterTimeout will waitpid on the child.
54063
54064         * EWSTools/start-queue.sh:
54065
54066 2011-05-10  MORITA Hajime  <morrita@google.com>
54067
54068         Unreviewed, moved myself to the reviewers list.
54069
54070         * Scripts/webkitpy/common/config/committers.py:
54071
54072 2011-05-10  Anton D'Auria  <adauria@apple.com>
54073
54074         Reviewed by David Levin.
54075
54076         StorageTracker should report actual local storage usage on disk
54077         https://bugs.webkit.org/show_bug.cgi?id=60558
54078
54079         * DumpRenderTree/LayoutTestController.cpp:
54080         (localStorageDiskUsageForOriginCallback):
54081         (LayoutTestController::staticFunctions):
54082         * DumpRenderTree/LayoutTestController.h:
54083         * DumpRenderTree/chromium/LayoutTestController.cpp:
54084         (LayoutTestController::LayoutTestController):
54085         (LayoutTestController::localStorageDiskUsageForOrigin):
54086         * DumpRenderTree/chromium/LayoutTestController.h:
54087         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
54088         (LayoutTestController::localStorageDiskUsageForOrigin):
54089         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
54090         (LayoutTestController::localStorageDiskUsageForOrigin):
54091         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
54092         (LayoutTestController::localStorageDiskUsageForOrigin):
54093         * DumpRenderTree/qt/LayoutTestControllerQt.h:
54094         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
54095         (LayoutTestController::localStorageDiskUsageForOrigin):
54096
54097 2011-05-10  Anton D'Auria  <adauria@apple.com>
54098
54099         Reviewed by Alexey Proskuryakov.
54100
54101         Add ApplicationCache API to get disk usage per origin
54102         https://bugs.webkit.org/show_bug.cgi?id=57127
54103
54104         Added test that loads two frames with ~15Kb image, checks usage,
54105         deletes app cache, verifies usage is 0.
54106
54107         * DumpRenderTree/LayoutTestController.cpp:
54108         (applicationCacheDiskUsageForOriginCallback):
54109         (LayoutTestController::staticFunctions):
54110         * DumpRenderTree/LayoutTestController.h:
54111         * DumpRenderTree/chromium/LayoutTestController.cpp: Added stub.
54112         (LayoutTestController::LayoutTestController):
54113         (LayoutTestController::applicationCacheDiskUsageForOrigin):
54114         * DumpRenderTree/chromium/LayoutTestController.h:
54115         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added stub.
54116         (LayoutTestController::applicationCacheDiskUsageForOrigin):
54117         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
54118         (LayoutTestController::applicationCacheDiskUsageForOrigin):
54119         * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added stub.
54120         (LayoutTestController::applicationCacheDiskUsageForOrigin):
54121         * DumpRenderTree/qt/LayoutTestControllerQt.h:
54122         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added stub.
54123         (LayoutTestController::applicationCacheDiskUsageForOrigin):
54124
54125 2011-05-10  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
54126
54127         Unreviewed, adding Rafael Antognolli as a committer.
54128
54129         * Scripts/webkitpy/common/config/committers.py:
54130
54131 2011-05-10  Chris Evans  <cevans@chromium.org>
54132
54133         Reviewed by Adam Barth.
54134
54135         Add WebCore::Setting to block displaying and/or running insecure content on secure pages
54136         https://bugs.webkit.org/show_bug.cgi?id=58378
54137
54138         * DumpRenderTree/chromium/LayoutTestController.cpp:
54139         (LayoutTestController::LayoutTestController):
54140         (LayoutTestController::setAllowDisplayOfInsecureContent):
54141         (LayoutTestController::setAllowRunningOfInsecureContent):
54142         * DumpRenderTree/chromium/LayoutTestController.h:
54143         * DumpRenderTree/chromium/WebPreferences.cpp:
54144         (WebPreferences::reset):
54145         (WebPreferences::applyTo):
54146         * DumpRenderTree/chromium/WebPreferences.h:
54147         Add plumbing for new settings to Chromium DRT.
54148
54149 2011-05-10  Enrica Casucci  <enrica@apple.com>
54150
54151         Reviewed by Beth Dakin.
54152
54153         Added my name to the reviewers list and removed my name from
54154         to committer-only list.
54155
54156         * Scripts/webkitpy/common/config/committers.py:
54157
54158 2011-05-10  David Levin  <levin@chromium.org>
54159
54160         Reviewed by Shinichiro Hamaji.
54161
54162         check-webkit-style shouldn't filter the errors using the modified lines for the xml and test expectations checkers.
54163         https://bugs.webkit.org/show_bug.cgi?id=60466
54164
54165         * Scripts/webkitpy/style/checker.py: (unrelated) style fix.
54166         * Scripts/webkitpy/style/checker_unittest.py: Remove the file_path check since
54167           that property was removed.
54168         * Scripts/webkitpy/style/checkers/test_expectations.py: Turn off the line
54169           filtering for errors.
54170         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Add testing to
54171           verify that the line filtering is turned off.
54172         * Scripts/webkitpy/style/checkers/xml.py: Turn off the line filtering for errors
54173           and remove the unused file_path parameter.
54174         * Scripts/webkitpy/style/checkers/xml_unittest.py: Add testing to verify that the
54175           line filtering is turned off (and fix test_no_error).
54176         * Scripts/webkitpy/style/error_handlers.py: Added a way to turn off the filtering
54177           of errors based on the lines changed in the patch.
54178         * Scripts/webkitpy/style/error_handlers_unittest.py: Added a test for turning off
54179           the filtering.
54180
54181 2011-05-10  Adam Roben  <aroben@apple.com>
54182
54183         Update some plugin tests to work with WebKit2's asynchronous windowed plugin positioning on Windows
54184
54185         Fixes <http://webkit.org/b/60442> <rdar://problem/9403200> REGRESSION (r85795):
54186         platform/win/plugins/window-geometry-initialized-before-set-window.html and
54187         platform/win/plugins/window-region-is-set-to-clip-rect.html failing on Windows 7 Release
54188         (WebKit2 Tests)
54189
54190         Reviewed by Anders Carlsson.
54191
54192         * DumpRenderTree/TestNetscapePlugIn/Tests/win/NPNInvalidateRectInvalidatesWindow.cpp:
54193         (NPNInvalidateRectInvalidatesWindow::NPP_SetWindow): Moved some code from here to the new
54194         WindowedPluginTest::testHarnessWindow function.
54195
54196         * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp:
54197         (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Only check the window's size, not
54198         its position. In WebKit2, the position won't have been set yet, so we can't test it. But it
54199         turns out only the size mattered for <http://webkit.org/b/46716>, which this test was
54200         created for.
54201
54202         * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowRegionIsSetToClipRect.cpp:
54203         (WindowRegionIsSetToClipRect::WindowRegionIsSetToClipRect): Converted to be a
54204         WindowedPluginTest, and initialized new members.
54205         (WindowRegionIsSetToClipRect::startTest): Make our plugin window visible, and set things up
54206         to ensure we get a WM_WINDOWPOSCHANGED message about it becoming visible.
54207         (WindowRegionIsSetToClipRect::finishTest): Check that the window region is what we expect,
54208         then clean up and tell the test harness we're done.
54209         (WindowRegionIsSetToClipRect::checkWindowRegion): Moved code to check the window region here
54210         from NPP_SetWindow. Changed to use the fancy new log() function instead of pluginLog().
54211         (WindowRegionIsSetToClipRect::showTestHarnessWindowIfNeeded): Show the test harness's window
54212         if it is hidden. This is needed to ensure we get a WM_WINDOWPOSCHANGED message when our own
54213         window becomes visible.
54214         (WindowRegionIsSetToClipRect::hideTestHarnessWindowIfNeeded): Hide the test harness's window
54215         if it was hidden at the start of the test.
54216         (WindowRegionIsSetToClipRect::wndProc): When our timer fires, tell the UI process to paint.
54217         This should cause our window to become visible and our window region to get set. When we get
54218         a WM_WINDOWPOSCHANGED message, we can finally finish the test.
54219         (WindowRegionIsSetToClipRect::NPP_GetValue): Return our script object.
54220         (WindowRegionIsSetToClipRect::ScriptObject::hasMethod): We only have one method:
54221         "startTest".
54222         (WindowRegionIsSetToClipRect::ScriptObject::invoke): Call through to the PluginTest object.
54223
54224         * DumpRenderTree/TestNetscapePlugIn/win/WindowedPluginTest.cpp:
54225         (WindowedPluginTest::testHarnessWindow):
54226         * DumpRenderTree/TestNetscapePlugIn/win/WindowedPluginTest.h:
54227         Added this helper function. Code came from NPNInvalidateRectInvalidatesWindow.
54228
54229 2011-05-10  Csaba Osztrogonác  <ossy@webkit.org>
54230
54231         Reviewed by Kenneth Rohde Christiansen.
54232
54233         [Qt] Add new qt-4.8 platform for layout testing
54234         https://bugs.webkit.org/show_bug.cgi?id=60544
54235
54236         * Scripts/old-run-webkit-tests:
54237         * Scripts/webkitdirs.pm:
54238
54239 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
54240
54241         Unreviewed, rolling out r86108.
54242         http://trac.webkit.org/changeset/86108
54243         https://bugs.webkit.org/show_bug.cgi?id=60533
54244
54245         Broke makefile based builds and Cairo (Requested by weinig on
54246         #webkit).
54247
54248         * Scripts/build-api-tests:
54249         * Scripts/run-api-tests:
54250         * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
54251         * TestWebKitAPI/Test.h:
54252         (TestWebKitAPI::Test::~Test):
54253         (TestWebKitAPI::Test::name):
54254         (TestWebKitAPI::Test::Register::Register):
54255         (TestWebKitAPI::Test::Register::create):
54256         (TestWebKitAPI::Test::Test):
54257         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
54258         * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
54259         (TestWebKitAPI::TEST):
54260         * TestWebKitAPI/TestsController.cpp:
54261         (TestWebKitAPI::TestsController::TestsController):
54262         (TestWebKitAPI::TestsController::dumpTestNames):
54263         (TestWebKitAPI::TestsController::runTestNamed):
54264         (TestWebKitAPI::TestsController::testFailed):
54265         (TestWebKitAPI::TestsController::registerCreateTestFunction):
54266         * TestWebKitAPI/TestsController.h:
54267         * TestWebKitAPI/mac/main.mm:
54268         (main):
54269
54270 2011-05-09  Hayato Ito  <hayato@chromium.org>
54271
54272         Reviewed by Ojan Vafai.
54273
54274         Skip reftests if pixel tests are disabled.
54275
54276         https://bugs.webkit.org/show_bug.cgi?id=59078
54277
54278         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
54279         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
54280         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
54281         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
54282
54283 2011-05-09  Chang Shu  <cshu@webkit.org>
54284
54285         Reviewed by Kenneth Rohde Christiansen.
54286
54287         [Qt] DumpRenderTreeQt needs an implementation of unmarkText
54288         https://bugs.webkit.org/show_bug.cgi?id=60499
54289
54290         The implementation is similar to gtk.
54291
54292         * DumpRenderTree/qt/TextInputControllerQt.cpp:
54293         (TextInputController::unmarkText):
54294         * DumpRenderTree/qt/TextInputControllerQt.h:
54295
54296 2011-05-09  James Robinson  <jamesr@chromium.org>
54297
54298         Reviewed by Eric Seidel.
54299
54300         [chromium] Teach new-run-webkit-tests to follow symlinks when trying to determine the arch of DumpRenderTree on linux
54301         https://bugs.webkit.org/show_bug.cgi?id=60520
54302
54303         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
54304
54305 2011-05-09  Dmitry Lomov  <dslomov@google.com>
54306
54307         Reviewed by Sam Weinig.
54308
54309         Switch TestWebKitAPI to GTest
54310         https://bugs.webkit.org/show_bug.cgi?id=59561
54311
54312         * Scripts/build-api-tests:
54313         * Scripts/run-api-tests:
54314         * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
54315         * TestWebKitAPI/Test.h:
54316         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
54317         * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
54318         (TestWebKitAPI::TEST):
54319         * TestWebKitAPI/TestsController.cpp:
54320         (TestWebKitAPI::TestsController::TestsController):
54321         (TestWebKitAPI::TestsController::dumpTestNames):
54322         (TestWebKitAPI::TestsController::runTestNamed):
54323         (TestWebKitAPI::TestsController::runAllTests):
54324         * TestWebKitAPI/TestsController.h:
54325         * TestWebKitAPI/mac/main.mm:
54326         (main):
54327
54328 2011-05-09  Igor Oliveira  <igor.oliveira@openbossa.org>
54329
54330         Reviewed by Andreas Kling.
54331
54332         [Qt] DRT eventSender.addTouchPoint method is not setting the start position
54333         https://bugs.webkit.org/show_bug.cgi?id=60487
54334
54335         When adding a new touch point, the start position of this point needs to be set.
54336
54337         * DumpRenderTree/qt/EventSenderQt.cpp:
54338         (EventSender::addTouchPoint):
54339
54340 2011-05-09  Robert Hogan  <robert@webkit.org>
54341
54342         Reviewed by Adam Roben.
54343
54344         https://bugs.webkit.org/show_bug.cgi?id=57137
54345
54346         Unskip plugins/embed-prefers-plugins-for-images.html
54347
54348         Add image/png mime-type to test netscape plugin on Unix.
54349
54350         * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
54351         (NP_GetMIMEDescription):
54352
54353 2011-05-09  Alice Boxhall  <aboxhall@chromium.org>
54354
54355         Reviewed by Ojan Vafai.
54356
54357         Pull jsonresults_unittest test cases out into separate test methods.
54358         https://bugs.webkit.org/show_bug.cgi?id=60418
54359
54360         * TestResultServer/model/jsonresults_unittest.py:
54361
54362 2011-05-09  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
54363
54364         Reviewed by Andreas Kling.
54365
54366         [Qt] fix fast/dom/Geolocation/window-close-crash.html
54367         https://bugs.webkit.org/show_bug.cgi?id=60458
54368
54369         Update all pages with Mock position/error/permission.
54370
54371         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
54372         (LayoutTestController::setGeolocationPermission):
54373         (LayoutTestController::setMockGeolocationError):
54374         (LayoutTestController::setMockGeolocationPosition):
54375
54376 2011-05-09  Shishir Agrawal  <shishir@chromium.org>
54377
54378         Reviewed by Tony Gentilcore.
54379
54380         Implement Page Visibility API.
54381         https://bugs.webkit.org/show_bug.cgi?id=54181
54382
54383         * DumpRenderTree/LayoutTestController.cpp:
54384         (setPageVisibilityCallback):
54385         (resetPageVisibilityCallback):
54386         (LayoutTestController::staticFunctions):
54387         * DumpRenderTree/LayoutTestController.h:
54388         (LayoutTestController::setPageVisibility):
54389         (LayoutTestController::resetPageVisibility):
54390         * DumpRenderTree/chromium/LayoutTestController.cpp:
54391         (LayoutTestController::LayoutTestController):
54392         (LayoutTestController::resetPageVisibility):
54393         (LayoutTestController::setPageVisibility):
54394         * DumpRenderTree/chromium/LayoutTestController.h:
54395
54396 2011-05-07  Adam Barth  <abarth@webkit.org>
54397
54398         Reviewed by Eric Seidel.
54399
54400         Testing EWS spins on patches with a large number of failures
54401         https://bugs.webkit.org/show_bug.cgi?id=60441
54402
54403         In cases where the tree has a small number of persistent failures but a
54404         patch has a large number of failures, we weren't believing any results.
54405         That lead to us retrying the patch forever while we waited for
54406         trustworthy results that would never come.
54407
54408         This patch loosens the semantics of unexpected_failures to return a
54409         subset (rather than the exact set) of unexpected failures.  In the case
54410         where the tree has a bounded number of failures and the patch has an
54411         unbounded number of failures, we can accurately compute such a subset
54412         and reject the patch.
54413
54414         * Scripts/webkitpy/tool/bot/expectedfailures.py:
54415         * Scripts/webkitpy/tool/bot/expectedfailures_unittest.py:
54416         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
54417         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
54418         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
54419
54420 2011-05-07  Joe Mason  <jmason@rim.com>
54421
54422         Reviewed by Daniel Bates.
54423
54424         FrameLoader::isProcessingUserGesture is wrong in dispatchWillPerformClientRedirect
54425         https://bugs.webkit.org/show_bug.cgi?id=52211
54426
54427         Dump isUserProcessingGesture in willPerformClientRedirect so that the layout tests can be extended.
54428         (For the Mac and Chromium ports - other ports don't support dumping user gestures in DRT.)
54429
54430         * DumpRenderTree/chromium/WebViewHost.cpp:
54431         (WebViewHost::willPerformClientRedirect):
54432         (WebViewHost::didStartProvisionalLoad):
54433         * DumpRenderTree/mac/FrameLoadDelegate.mm:
54434         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
54435
54436 2011-05-07  Daniel Bates  <dbates@webkit.org>
54437
54438         Attempt to fix the build; remove some more references to isTiger(), which was removed in changeset 86007
54439         <http://trac.webkit.org/changeset/86007> (bug #60438).
54440
54441         * Scripts/old-run-webkit-tests:
54442           - Removed reference to isTiger() from openDumpTool(), captureSavedCrashLog(), and
54443             file local variable. 
54444
54445 2011-05-07  Pratik Solanki  <psolanki@apple.com>
54446
54447         Reviewed by Darin Adler.
54448
54449         Remove references to Tiger in scripts
54450         https://bugs.webkit.org/show_bug.cgi?id=60438
54451
54452         Remove isTiger() and all of the code that depends on it.
54453
54454         * Scripts/build-webkit:
54455         * Scripts/ensure-valid-python:
54456         * Scripts/gdb-safari:
54457         * Scripts/webkitdirs.pm:
54458
54459 2011-05-06  David Grogan  <dgrogan@chromium.org>
54460
54461         Reviewed by Eric Seidel.
54462
54463         update link to message about mac 64bit git binaries
54464         https://bugs.webkit.org/show_bug.cgi?id=60411
54465
54466         The original message implied (correctly, at-the-time) that
54467         http://code.google.com/p/git-osx-installer/ doesn't provide 64-bit
54468         binaries. The new message notes that they do. This might prevent someone
54469         else from spending a few minutes confused.
54470
54471         * Scripts/webkitpy/common/checkout/scm/git.py:
54472
54473 2011-05-06  Dirk Pranke  <dpranke@chromium.org>
54474
54475         Reviewed by Ojan Vafai.
54476
54477         new-run-webkit-tests: crashes in race with crashing DRT
54478         https://bugs.webkit.org/show_bug.cgi?id=60238
54479
54480         This fixes a race where if we wrote the URL to DRT and
54481         DRT crashed immediately, we could get a broken pipe
54482         error back during the write() and not handle it correctly,
54483         causing NRWT to also crash.
54484
54485         * Scripts/webkitpy/layout_tests/port/server_process.py:
54486         * Scripts/webkitpy/layout_tests/port/webkit.py:
54487
54488 2011-05-06  Adam Barth  <abarth@webkit.org>
54489
54490         Reviewed by Eric Seidel.
54491
54492         Add a --skip-integrationtests mode to test-webkitpy
54493         https://bugs.webkit.org/show_bug.cgi?id=60354
54494
54495         These two test suites account for 2/3 of test-webkitpy's running time
54496         because they're not actually unit tests.  They're integration tests.
54497         This patch adds the ability to skip integration tests by passing a
54498         command line argument to test-webkitpy.  The buildbots will continue to
54499         run these integration tests to make sure they don't regress.  This
54500         option is for use by developers when working on parts of the code that
54501         are well-covered by unit tests.
54502
54503         * Scripts/webkitpy/common/system/file_lock_integrationtest.py: Copied from Tools/Scripts/webkitpy/common/system/file_lock_unittest.py.
54504         * Scripts/webkitpy/common/system/file_lock_unittest.py: Removed.
54505         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py: Copied from Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py.
54506         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: Removed.
54507         * Scripts/webkitpy/test/main.py:
54508
54509 2011-05-06  Adam Barth  <abarth@webkit.org>
54510
54511         Reviewed by Eric Seidel.
54512
54513         The results.zip generated by the Chromium EWS are too big
54514         https://bugs.webkit.org/show_bug.cgi?id=60352
54515
54516         Currently results.zip created by the Chromium EWS bot contain roughly
54517         1000 tests that we expect to fail.  These test results are not helpful
54518         to contributors.
54519
54520         There are several approaches to solving this problem:
54521
54522         1) We could be more selective about which files to include in the zip.
54523         2) We could ask new-run-webkit-tests not to generate results for
54524            expected failures.
54525         3) We could ask new-run-webkit-tests not to run tests that we expect to
54526            fail.
54527
54528         This patch takes approach (3).  Currently, we're ignoring the outcome
54529         of failing tests anyway, so there's not much point in actually running
54530         them.  As a side benefit, this will speed up the test run by about 6%.
54531         In the future, we might revisit this decision and choose another
54532         approach.
54533
54534         * Scripts/webkitpy/common/config/ports.py:
54535         * Scripts/webkitpy/common/config/ports_unittest.py:
54536
54537 2011-05-06  Gabor Rapcsanyi  <rgabor@webkit.org>
54538
54539         Reviewed by Csaba Osztrogonác.
54540
54541         [Qt] Use qt-arm platform instead of qt-linux on ARM platform.
54542
54543         * Scripts/old-run-webkit-tests:
54544
54545 2011-05-06  Adam Barth  <abarth@webkit.org>
54546
54547         Reviewed by Ojan Vafai.
54548
54549         Add an option to NRWT to skip failing tests
54550         https://bugs.webkit.org/show_bug.cgi?id=60295
54551
54552         This option is similar to the way old-run-webkit-tests works.  We're
54553         planning to use this option on the testing EWS bots because they don't
54554         use information from failing tests yet.
54555
54556         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
54557         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
54558         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
54559
54560 2011-05-04  Philippe Normand  <pnormand@igalia.com>
54561
54562         Reviewed by Dimitri Glazkov.
54563
54564         Implement LayoutTestController::pseudoShadowId()
54565         https://bugs.webkit.org/show_bug.cgi?id=60034
54566
54567         shadowPseudoId support in the various LayoutTestController
54568         implementations.
54569
54570         * DumpRenderTree/LayoutTestController.cpp:
54571         (shadowPseudoIdCallback):
54572         (LayoutTestController::staticFunctions):
54573         * DumpRenderTree/LayoutTestController.h:
54574         * DumpRenderTree/chromium/LayoutTestController.cpp:
54575         (LayoutTestController::LayoutTestController):
54576         (LayoutTestController::shadowPseudoId):
54577         * DumpRenderTree/chromium/LayoutTestController.h:
54578         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
54579         (LayoutTestController::shadowPseudoId):
54580         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
54581         (LayoutTestController::shadowPseudoId):
54582         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
54583         (LayoutTestController::shadowPseudoId):
54584         * DumpRenderTree/qt/LayoutTestControllerQt.h:
54585         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
54586         (LayoutTestController::shadowPseudoId):
54587         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
54588         (LayoutTestController::shadowPseudoId):
54589         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
54590         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
54591         (WTR::LayoutTestController::shadowPseudoId):
54592         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
54593
54594 2011-05-06  Adam Barth  <abarth@webkit.org>
54595
54596         EWS can't reject patches
54597         https://bugs.webkit.org/show_bug.cgi?id=60345
54598
54599         We're supposed to use patch.id() for the attachment ID, silly.
54600
54601         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
54602         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
54603
54604 2011-05-05  Steve Lacey  <sjl@chromium.org>
54605
54606         Reviewed by Ojan Vafai.
54607
54608         Fix generation of results html file by passing relative path to scm
54609         methods.
54610         Generate diff images for results html file.
54611
54612         https://bugs.webkit.org/show_bug.cgi?id=60086
54613
54614         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
54615         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
54616
54617 2011-05-05  Andy Estes  <aestes@apple.com>
54618
54619         Reviewed by Daniel Bates.
54620
54621         update-webkit should handle Internal using a different VCS than OpenSource.
54622         https://bugs.webkit.org/show_bug.cgi?id=60310
54623
54624         isGit() and isSVN() cache their results, so Internal will always be
54625         updated using the VCS commands used for OpenSource. If Internal uses a
54626         different VCS, this will fail. Fix this by calling isGitDirectory() and
54627         isSVNDirectory() instead, which do not cache their results.
54628
54629         * Scripts/update-webkit:
54630
54631 2011-05-05  Dirk Pranke  <dpranke@chromium.org>
54632
54633         Reviewed by Ojan Vafai.
54634
54635         nrwt: revamp integration tests incl. tests for servers
54636         https://bugs.webkit.org/show_bug.cgi?id=59985
54637
54638         This change adds the ability to run "integration tests" that
54639         depend on (and affect) the local environment on your machine.
54640         These tests can be run manually by invoking python on the
54641         test file in question and passing the '-i' flag, but are
54642         not run automatically as part of test-webkitpy.
54643
54644         Integration tests are identified by being methods named as
54645         "integration_test_*" instead of "test_*", and we use a
54646         custom TestLoader instead of the default one provided by
54647         unittest.
54648
54649         This change also adds a protected "_default_to_apache" method
54650         to the port object so we can do the right thing when starting
54651         and stopping web servers with less mechanism.
54652
54653         * Scripts/webkitpy/layout_tests/port/base.py:
54654         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
54655         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
54656         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
54657         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
54658         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
54659
54660 2011-05-05  Adam Roben  <aroben@apple.com>
54661
54662         Robustify DRT's pixel-dumping code against semi-random alpha channel values on Windows
54663
54664         DRT generates a pixel dump on Windows using the WM_PRINT message. This message (just like
54665         most of GDI) doesn't write anything meaningful into the alpha channel. In some cases, the
54666         alpha channel will even get filled with zeros (like when ::GradientFill is used). To
54667         safeguard against this, we fill the alpha channel with constant full opacity after the
54668         WM_PRINT message is handled to ensure we end up with an opaque image. (Note that we can't
54669         just ignore the alpha channel when creating the PNG; Mac's pixel results have an alpha
54670         channel, and we want to be able to compare Mac and Windows pixel results, so Windows pixel
54671         results need an alpha channel, too.)
54672
54673         Fixes <http://webkit.org/b/60300> draws-gradient.html's pixel results can't be correctly
54674         generated due to alpha channel weirdness
54675
54676         Reviewed by Sam Weinig.
54677
54678         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
54679         (makeAlphaChannelOpaque): Added this helper function to fill a bitmap's alpha channel with
54680         constant full opacity.
54681         (createBitmapContextFromWebView): Make the bitmap's alpha channel opaque before wrapping it
54682         in a CGContext or cairo_surface.
54683
54684 2011-05-05  Adam Roben  <aroben@apple.com>
54685
54686         Add support for layoutTestController.dumpAsText(true) to WebKitTestRunner
54687
54688         Passing true tells the test harness to dump pixels even though we're not dumping a render
54689         tree.
54690
54691         Fixes <http://webkit.org/b/60298> Calling layoutTestController.dumpAsText(true) in
54692         WebKitTestRunner doesn't result in pixel results being generated
54693
54694         Reviewed by Sam Weinig.
54695
54696         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added dumpPixels
54697         argument to dumpAsText.
54698
54699         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
54700         (WTR::InjectedBundlePage::dump): Updated for dumpAsText change.
54701
54702         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
54703         (WTR::LayoutTestController::dumpAsText): Store the dumpPixels argument.
54704
54705         * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Updated for IDL change.
54706
54707         * WebKitTestRunner/win/InjectedBundle.vcproj: Added .idl files as a convenience for Windows
54708         developers.
54709
54710 2011-05-05  Dirk Pranke  <dpranke@chromium.org>
54711
54712         Reviewed by Ojan Vafai.
54713
54714         new-run-webkit-tests: merge os, version fields in test config
54715         https://bugs.webkit.org/show_bug.cgi?id=60004
54716
54717         This change removes the 'o/s' field from the TestConfiguration
54718         object, and changes the 'MAC', 'WIN', and 'LINUX' modifiers in
54719         the expectations file to macros that expand to the version names
54720         for each platform.
54721
54722         This means that you can once again put any subset of the
54723         operating system versions on a single line, e.g.:
54724           BUGX LEOPARD XP LINUX : fast/html/foo.html = FAIL
54725
54726         This change will break any existing test_expectations.txt
54727         file that uses the "OS-VERSION" macros, which are no longer
54728         needed. It turns out they were never needed, as just VERSION
54729         by itself was sufficient. The test_expectations.txt file should
54730         be updated accordingly prior to landing this change.
54731
54732         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
54733         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
54734         * Scripts/webkitpy/layout_tests/port/base.py:
54735
54736 2011-05-05  Tony Chang  <tony@chromium.org>
54737
54738         Reviewed by Adam Barth.
54739
54740         [chromium] switch from Lucida to free fonts for Hindi and Thai
54741         https://bugs.webkit.org/show_bug.cgi?id=60287
54742
54743         The fonts are provided by the ttf-thai-tlwg and ttf-indic-fonts
54744         packages on Lucid. There are actually multiple Thai fonts in the
54745         package, so I just picked one.
54746
54747         * DumpRenderTree/chromium/TestShellGtk.cpp:
54748         (setupFontconfig):
54749
54750 2011-05-05  Tony Chang  <tony@chromium.org>
54751
54752         Reviewed by Ojan Vafai.
54753
54754         [chromium] google-chrome-64 builds should now fallback to chromium-linux-x86_64 results
54755         https://bugs.webkit.org/show_bug.cgi?id=60290
54756
54757         It used to be that google-chrome-32 was hardy32, google-chrome-64 was
54758         hardy64, chromium-linux was hardy32 and chromium-linux-x86_64 was
54759         lucid64.  Because of that, google-chrome-64 used to skip the
54760         chromium-linux-x86_64 results since they were more incorrect.
54761
54762         Now that we're switching to lucid for google-chrome, we want
54763         google-chrome-64 to fall back to chromium-linux-x86_64.
54764
54765         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
54766
54767 2011-05-05  Dirk Pranke  <dpranke@chromium.org>
54768
54769         Reviewed by Ojan Vafai.
54770
54771         new-run-webkit-tests: merge TestExpectations, TestExpectationsFile classes
54772         https://bugs.webkit.org/show_bug.cgi?id=60002
54773
54774         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
54775         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
54776         * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
54777         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
54778         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
54779         * Scripts/webkitpy/style/checkers/test_expectations.py:
54780
54781 2011-05-05  Eric Seidel  <eric@webkit.org>
54782
54783         Reviewed by Adam Barth.
54784
54785         commit-queue should reject patches which fail ewses
54786         https://bugs.webkit.org/show_bug.cgi?id=47534
54787
54788         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
54789         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
54790         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
54791
54792 2011-05-05  Chang Shu  <cshu@webkit.org>
54793
54794         Reviewed by Andreas Kling.
54795
54796         [Qt][WK2] Support PageGroup in QGraphicsWKView/QWKPage constructors
54797         https://bugs.webkit.org/show_bug.cgi?id=59638
54798
54799         1. Call QGraphicsWKView constructor with pageGroupRef.
54800         2. Disable setFontFamily calls as it breaks Qt test fonts.
54801
54802         * WebKitTestRunner/TestController.cpp:
54803         (WTR::TestController::resetStateToConsistentValues):
54804         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
54805         (WTR::WebView::WebView):
54806         (WTR::PlatformWebView::PlatformWebView):
54807
54808 2011-05-05  Joseph Pecoraro  <joepeck@webkit.org>
54809
54810         Reviewed by David Kilzer.
54811
54812         Add --only-webkit option to build-webkit
54813         https://bugs.webkit.org/show_bug.cgi?id=60245
54814
54815         * Scripts/build-webkit: If --only-webkit was specified
54816         just build the WebKit project, and not its dependencies.
54817
54818 2011-05-05  Jeff Miller  <jeffm@apple.com>
54819
54820         Reviewed by Darin Adler.
54821
54822         Add didNotHandleWheelEvent callback to WKPageUIClient
54823         https://bugs.webkit.org/show_bug.cgi?id=60203
54824
54825         * MiniBrowser/gtk/BrowserWindow.c:
54826         (browserWindowUIClientInit): Stub out didNotHandleWheelEvent callback.
54827         * MiniBrowser/mac/BrowserWindowController.m:
54828         (-[BrowserWindowController awakeFromNib]): Stub out didNotHandleWheelEvent callback.
54829         * MiniBrowser/win/BrowserView.cpp:
54830         (BrowserView::create): Stub out didNotHandleWheelEvent callback.
54831         * WebKitTestRunner/TestController.cpp:
54832         (WTR::TestController::createOtherPage): Stub out didNotHandleWheelEvent callback.
54833         (WTR::TestController::initialize): Stub out didNotHandleWheelEvent callback.
54834
54835 2011-05-04  Eric Seidel  <eric@webkit.org>
54836
54837         Reviewed by Adam Barth.
54838
54839         Add more missing imports from scm refactor
54840         https://bugs.webkit.org/show_bug.cgi?id=60239
54841
54842         * Scripts/webkitpy/common/checkout/scm/git.py:
54843         * Scripts/webkitpy/common/checkout/scm/svn.py:
54844
54845 2011-05-04  Eric Seidel  <eric@webkit.org>
54846
54847         Reviewed by Adam Barth.
54848
54849         sheriff-bot is having more exception trouble
54850         https://bugs.webkit.org/show_bug.cgi?id=60233
54851
54852         A webpage-forced build was causing SB to throw an exception.
54853         We've long had this bug, but we just didn't notice it until now.
54854
54855         In debugging this I found we fetch an absurd amount of data now
54856         that we use buildbot's json (instead of xmlrpc), so I added
54857         the filter=1 parameter to reduce it a little.  That required
54858         me to handle the case where filter=1 would strip
54859         result=0 in some cases (it's unclear why it does that).
54860
54861         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
54862         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
54863
54864 2011-05-04  Cris Neckar  <cdn@chromium.org>
54865
54866         Unreviewed, Adding Cris Neckar as a committer
54867
54868         * Scripts/webkitpy/common/config/committers.py:
54869
54870 2011-05-04  Siddharth Mathur  <siddharth.mathur@nokia.com>
54871
54872         Reviewed by Laszlo Gombos.
54873
54874         [Qt][Wk2][Symbian] Capabilities for Qt MiniBrowser and QtWebProcess on Symbian
54875         https://bugs.webkit.org/show_bug.cgi?id=59462
54876
54877         * MiniBrowser/qt/MiniBrowser.pro: Add Symbian OS capabilities to executable. Also enable data paging. 
54878
54879 2011-05-04  Eric Seidel  <eric@webkit.org>
54880
54881         Reviewed by Adam Barth.
54882
54883         The testing EWS bots should upload layout-test-results.zip to bugs after failures
54884         https://bugs.webkit.org/show_bug.cgi?id=60223
54885
54886         This required sharing a bit of code between the commit-queue
54887         (which already knew how to do this) and the new EWS testing bots.
54888
54889         In the process I also cleaned up EWS testing a little and
54890         removed some dead code from the commit-queue.
54891
54892         * Scripts/webkitpy/common/config/committervalidator.py:
54893         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
54894         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
54895         * Scripts/webkitpy/tool/commands/queues.py:
54896         * Scripts/webkitpy/tool/commands/queues_unittest.py:
54897
54898 2011-05-04  James Kozianski  <koz@chromium.org>
54899
54900         Reviewed by Eric Seidel.
54901
54902         Add method to make a Port able to retrieve TestOutputSets from its builders.
54903         https://bugs.webkit.org/show_bug.cgi?id=58211
54904
54905         This will be used in the new rebaseline script - TestOutputs are
54906         potential new baselines.
54907
54908         * Scripts/webkitpy/common/config/urls.py:
54909         * Scripts/webkitpy/layout_tests/port/base.py:
54910         * Scripts/webkitpy/layout_tests/port/chromium.py:
54911         * Scripts/webkitpy/layout_tests/port/factory.py:
54912         * Scripts/webkitpy/layout_tests/port/webkit.py:
54913
54914 2011-05-04  Eric Seidel  <eric@webkit.org>
54915
54916         Reviewed by Ojan Vafai.
54917
54918         sheriff-bot can't parse results.html
54919         https://bugs.webkit.org/show_bug.cgi?id=60196
54920
54921         The problem was that the NRWT bots are currently core
54922         and so sheriff-bot was trying to diagnose failures on
54923         them.  It was trying to parse their results.html file
54924         and BeautifulSoup was throwing an exception.
54925
54926         It seems our version of BeautifulSoup was quite old
54927         and unable to handle <script> tags correctly.
54928         This moves us to 3.2 which doesn't seem to have this bug.
54929
54930         * Scripts/webkitpy/thirdparty/BeautifulSoup.py:
54931
54932 2011-05-04  Adam Barth  <abarth@webkit.org>
54933
54934         Reviewed by Eric Seidel.
54935
54936         Make the EWS test logging less verbose
54937         https://bugs.webkit.org/show_bug.cgi?id=60201
54938
54939         This should help us generate less than a hundred MB of logs per hour.
54940
54941         * Scripts/webkitpy/common/config/ports.py:
54942         * Scripts/webkitpy/common/config/ports_unittest.py:
54943
54944 2011-05-04  Tao Bai  <michaelbai@chromium.org>
54945
54946         Reviewed by David Kilzer.
54947
54948         Populate touch-icon url to FrameLoaderClient
54949         https://bugs.webkit.org/show_bug.cgi?id=59143
54950
54951         Disable touch icon by default. 
54952
54953         * Scripts/build-webkit:
54954
54955 2011-05-04  Justin Novosad  <junov@chromium.org>
54956
54957         Reviewed by Kenneth Russell.
54958
54959         [Chromium] Add gpu acceleration flags to DumpRenderTree
54960         https://bugs.webkit.org/show_bug.cgi?id=60168
54961         Adding support for command line flags 
54962         enable-accelerated-2d-canvas an
54963         enable-accelerated-drawing in DumpRenderTree.
54964
54965         * DumpRenderTree/chromium/DumpRenderTree.cpp:
54966         (main):
54967         * DumpRenderTree/chromium/TestShell.cpp:
54968         (TestShell::TestShell):
54969         (TestShell::resetWebSettings):
54970         * DumpRenderTree/chromium/TestShell.h:
54971         (TestShell::setLegacyAccelerated2dCanvasEnabled):
54972         (TestShell::setAcceleratedDrawingEnabled):
54973         * DumpRenderTree/chromium/WebPreferences.cpp:
54974         (WebPreferences::reset):
54975         (WebPreferences::applyTo):
54976         * DumpRenderTree/chromium/WebPreferences.h:
54977
54978 2011-05-04  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
54979
54980         Reviewed by Csaba Osztrogonác.
54981
54982         [Qt] run-qtwebkit-tests misses exec bit
54983         https://bugs.webkit.org/show_bug.cgi?id=60188
54984
54985         Also removing an unecessary import (mostly to let this bugfix goes
54986         through the system, as this is just a chmod).
54987
54988         * Scripts/run-qtwebkit-tests:
54989
54990 2011-05-04  Adam Barth  <abarth@webkit.org>
54991
54992         Fix import of ircproxy module to actually import the module.  I don't
54993         really understand how this code could have worked before.
54994
54995         * Scripts/webkitpy/common/host.py:
54996
54997 2011-05-04  Siddharth Mathur  <siddharth.mathur@nokia.com>
54998
54999         Reviewed by Andreas Kling.
55000
55001         [Qt][Wk2][Symbian] Minor UI facelift for MiniBrowser
55002         https://bugs.webkit.org/show_bug.cgi?id=60172
55003
55004         * MiniBrowser/qt/BrowserWindow.cpp: Bring in UI layout changes from QtTestBrowser
55005         (BrowserWindow::BrowserWindow):
55006
55007 2011-05-04  Mihai Parparita  <mihaip@chromium.org>
55008
55009         Reviewed by Ojan Vafai.
55010
55011         [NRWT] --new-baseline should put baselines in the directory specified by --additional-platform-directory
55012         https://bugs.webkit.org/show_bug.cgi?id=60088
55013         
55014         Makes --new-baseline put new baselines into the first entry in the
55015         baseline search path, including any additional directories passed in via
55016         --additional-platform-directory.
55017         
55018         Simplifies baseline_path() by making it return the first entry in the
55019         baseline search path instead of requiring each port to have an
55020         implementation (should not result in any behavior change).
55021
55022         * Scripts/webkitpy/layout_tests/port/base.py:
55023         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
55024         * Scripts/webkitpy/layout_tests/port/chromium.py:
55025         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
55026         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
55027         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
55028         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
55029         * Scripts/webkitpy/layout_tests/port/mac.py:
55030         * Scripts/webkitpy/layout_tests/port/test.py:
55031         * Scripts/webkitpy/layout_tests/port/webkit.py:
55032
55033 2011-05-04  Adam Barth  <abarth@webkit.org>
55034
55035         Reviewed by Eric Seidel.
55036
55037         Fix circular dependency in webkitpy
55038         https://bugs.webkit.org/show_bug.cgi?id=60075
55039
55040         These functions don't belong in bugzilla.py.  They only exist there
55041         because they are old.  Really, these functions shouldn't be free
55042         functions at all, but that's a patch for another day.
55043
55044         * Scripts/webkitpy/common/checkout/changelog.py:
55045         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
55046         * Scripts/webkitpy/common/checkout/checkout.py:
55047         * Scripts/webkitpy/common/config/urls.py:
55048         * Scripts/webkitpy/common/net/bugzilla/__init__.py:
55049         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
55050         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
55051         * Scripts/webkitpy/style/checkers/changelog.py:
55052         * Scripts/webkitpy/tool/bot/irc_command.py:
55053         * Scripts/webkitpy/tool/bot/sheriff.py:
55054         * Scripts/webkitpy/tool/commands/upload.py:
55055
55056 2011-05-03  Pratik Solanki  <psolanki@apple.com>
55057
55058         Reviewed by Dan Bernstein.
55059
55060         https://bugs.webkit.org/show_bug.cgi?id=60141
55061         Remove reference to libWebKitSystemInterfaceTiger.a from build-webkit
55062
55063         * Scripts/build-webkit:
55064
55065 2011-05-03  Mihai Parparita  <mihaip@chromium.org>
55066
55067         Reviewed by Ojan Vafai.
55068
55069         Update rebaseline queue server to handle hierarchical test results
55070         https://bugs.webkit.org/show_bug.cgi?id=60063
55071         
55072         Update test result parsing done by the rebaseline queue server to handle
55073         the hierarchical test result output that is generated as of r85254.
55074
55075         * RebaselineQueueServer/templates/builder-queue-edit.html:
55076
55077 2011-05-03  Eric Seidel  <eric@webkit.org>
55078
55079         Reviewed by Adam Roben.
55080
55081         webkit-patch post-commits HEAD^.. throws an exception
55082         https://bugs.webkit.org/show_bug.cgi?id=60027
55083
55084         * Scripts/webkitpy/common/checkout/scm/git.py:
55085
55086 2011-05-03  Luiz Agostini  <luiz.agostini@openbossa.org>
55087
55088         Reviewed by Kenneth Rohde Christiansen.
55089
55090         [Qt] Layout tests may timeout if loadFinished receives false
55091         https://bugs.webkit.org/show_bug.cgi?id=60064
55092
55093         When using layoutTestController.queueLoad(), if QWebPage::loadFinished(bool) receives false
55094         then the layout test may timout. It happens that QWebPage::loadFinished() receives false when
55095         a response is ignored, like it should be for 204 responses. It is a problem for creating
55096         tests for 204 responses for example.
55097
55098         This change has been tested and it causes no regressions in layout tests.
55099
55100         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
55101         (LayoutTestController::maybeDump):
55102
55103 2011-05-03  Dirk Pranke  <dpranke@chromium.org>
55104
55105         Unreviewed, rolling out r85659.
55106         http://trac.webkit.org/changeset/85659
55107         https://bugs.webkit.org/show_bug.cgi?id=59977
55108
55109         restarting isn't working correctly
55110
55111         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
55112         * Scripts/webkitpy/layout_tests/port/http_server.py:
55113         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
55114         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
55115
55116 2011-05-03  Dirk Pranke  <dpranke@chromium.org>
55117
55118         Reviewed by Ojan Vafai.
55119
55120         new-run-webkit-tests: fix http server startup/shutdown
55121
55122         Previous versions of the code had three problems that made startup
55123         and shutdown flaky. The first is that it would throw exceptions
55124         if it couldn't delete stale log files, which was overly
55125         paranoid. The second is that some of the exceptions weren't
55126         defined properly. The third, and most important, is that it was
55127         using urllib to check if ports were available, which was leaving
55128         sockets in a half-closed state, and keeping ports from being
55129         reused. By switching to raw sockets, we are able to now reliably
55130         restart.
55131
55132         This change also switches the code to using Executives to stop
55133         processes, which will let us delete a bunch of code in the
55134         port/* implementations and fix a weird layering problem in a
55135         subsequent patch.
55136
55137         https://bugs.webkit.org/show_bug.cgi?id=59977
55138
55139         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
55140         * Scripts/webkitpy/layout_tests/port/http_server.py:
55141         * Scripts/webkitpy/layout_tests/port/http_server_base.py:
55142         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
55143
55144 2011-05-03  Dirk Pranke  <dpranke@chromium.org>
55145
55146         Reviewed by Adam Barth.
55147
55148         fix failing printing_unittest on win32
55149         https://bugs.webkit.org/show_bug.cgi?id=59963
55150
55151         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
55152
55153 2011-05-03  Adam Roben  <aroben@apple.com>
55154
55155         Fix most strict PassOwnPtr violations on Windows
55156
55157         Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr
55158         enabled
55159
55160         Reviewed by Anders Carlsson.
55161
55162         * WebKitAPITest/Test.h: Use adoptPtr.
55163
55164 2011-05-03  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
55165
55166         Reviewed by Andreas Kling.
55167
55168         Add myself to the committers list.
55169
55170         * Scripts/webkitpy/common/config/committers.py:
55171
55172 2011-05-03  James Robinson  <jamesr@chromium.org>
55173
55174         Reviewed by Kenneth Russell.
55175
55176         [chromium] Layout test animations/3d/replace-filling-transform.html failing
55177         https://bugs.webkit.org/show_bug.cgi?id=59839
55178
55179         Add animations/3d to the list of tests run in the chromium-gpu configuration since these tests exercise the compositor.
55180
55181         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
55182
55183 2011-05-03  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
55184
55185         Unreviewed, rolling out r85471.
55186         http://trac.webkit.org/changeset/85471
55187         https://bugs.webkit.org/show_bug.cgi?id=59922
55188
55189         The rule of thumb in EFL is that you init in all the places
55190         you use it. So, if in your application you call ecore_evas_*
55191         functions, you have to call ecore_evas_init() first.
55192
55193         * EWebLauncher/main.c: always call *_init() functions when you use
55194         that namespace.
55195         (quit):
55196         (main):
55197
55198 2011-05-02  Ojan Vafai  <ojan@chromium.org>
55199
55200         Reviewed by Tony Chang.
55201
55202         remove no longer used method
55203         https://bugs.webkit.org/show_bug.cgi?id=59981
55204
55205         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
55206         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
55207
55208 2011-05-02  Ojan Vafai  <ojan@chromium.org>
55209
55210         Reviewed by Tony Chang.
55211
55212         add image toggling behavior from old-run-webkit-tests
55213         https://bugs.webkit.org/show_bug.cgi?id=59978
55214
55215         Output -diffs.html files. This matches old-run-webkit-tests.
55216         In theory, we could use data urls in the results.html file, but
55217         data urls don't currently have access to local files.
55218
55219         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
55220
55221 2011-05-02  Tony Chang  <tony@chromium.org>
55222
55223         Reviewed by Ojan Vafai.
55224
55225         [nrwt] remove some obsolete references to .checksum files
55226         https://bugs.webkit.org/show_bug.cgi?id=59971
55227
55228         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
55229         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
55230         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
55231         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
55232         * Scripts/webkitpy/layout_tests/port/test.py:
55233         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
55234
55235 2011-05-02  Adam Roben  <aroben@apple.com>
55236
55237         Take advantage of implicit nullptr_t -> PassOwnPtr conversion
55238
55239         Fixes <http://webkit.org/b/59964> Implicit conversion from std::nullptr_t to PassOwnPtr
55240         doesn't work, but should
55241
55242         Reviewed by Adam Barth.
55243
55244         * DumpRenderTree/chromium/CppBoundClass.h:
55245         * DumpRenderTree/chromium/WebViewHost.cpp:
55246
55247 2011-05-02  Martin Robinson  <mrobinson@igalia.com>
55248
55249         Reviewed by Xan Lopez.
55250
55251         [GTK] Compiler warning in Tools/MiniBrowser/main.c
55252         https://bugs.webkit.org/show_bug.cgi?id=59986
55253
55254         Remove a compiler warning.
55255
55256         * MiniBrowser/gtk/main.c: Use full array initializers to prevent some compilers
55257         from complaining.
55258
55259 2011-05-02  Adam Barth  <abarth@webkit.org>
55260
55261         Reviewed by Eric Seidel.
55262
55263         Add runtests_unittest.py
55264         https://bugs.webkit.org/show_bug.cgi?id=59955
55265
55266         I forgot to add this file in a previous patch.
55267
55268         * Scripts/webkitpy/tool/steps/runtests_unittest.py: Added.
55269
55270 2011-05-02  Adam Barth  <abarth@webkit.org>
55271
55272         Change the testing EWS to log failures explicitly to avoid an infinite loop.
55273
55274         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
55275
55276 2011-05-02  Adrienne Walker  <enne@google.com>
55277
55278         Unreviewed, fix misspelled contributor name.
55279
55280         * Scripts/webkitpy/common/config/committers.py:
55281
55282 2011-05-02  Adam Barth  <abarth@webkit.org>
55283
55284         Reviewed by Eric Seidel.
55285
55286         cr-linux-ews should run tests
55287         https://bugs.webkit.org/show_bug.cgi?id=59272
55288
55289         This patch turns on testing for the cr-linux-ews.  Yay!
55290
55291         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
55292         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
55293         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
55294         * Scripts/webkitpy/tool/steps/runtests.py:
55295         * Scripts/webkitpy/tool/steps/steps_unittest.py:
55296
55297 2011-05-02  Martin Robinson  <mrobinson@igalia.com>
55298
55299         Incorporate a review comment that I mistakenly omitted from my last commit.
55300
55301         * DumpRenderTree/gtk/EventSender.cpp: Use unsigned here instead of unsigned int.
55302
55303 2011-05-02  Adam Barth  <abarth@webkit.org>
55304
55305         Reviewed by Eric Seidel.
55306
55307         EWS should report the list of unexpected failures
55308         https://bugs.webkit.org/show_bug.cgi?id=59923
55309
55310         We cache the results of the first layout test results run on the task
55311         so the EWS can grab them later.  Another option is to include them in
55312         the exception that's thrown, but this approach seemed slightly more
55313         aesthetic.
55314
55315         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
55316         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
55317
55318 2011-05-02  Adam Barth  <abarth@webkit.org>
55319
55320         Reviewed by Eric Seidel.
55321
55322         Add base case for a test-running EWS
55323         https://bugs.webkit.org/show_bug.cgi?id=59920
55324
55325         Later I will subclass this to run the Chromium Linux EWS.
55326
55327         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py: Added.
55328         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
55329         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
55330
55331 2011-05-02  Anders Carlsson  <andersca@apple.com>
55332
55333         Build fix.
55334
55335         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
55336         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
55337
55338 2011-05-02  Nico Weber  <thakis@chromium.org>
55339
55340         Reviewed by Mihai Parparita.
55341
55342         Add --no-webkit2 to the output of "build-webkit -h"
55343         https://bugs.webkit.org/show_bug.cgi?id=59942
55344
55345         * Scripts/build-webkit:
55346
55347 2011-05-02  Martin Robinson  <mrobinson@igalia.com>
55348
55349         Reviewed by Xan Lopez.
55350
55351         [GTK] old-run-webkit-tests should disable the Ubuntu overlay scrollbar
55352         https://bugs.webkit.org/show_bug.cgi?id=59943
55353
55354         Disable the Ubuntu overlay scrollbar while testing, by injecting the
55355         LIBOVERLAY_SCROLLBAR=0 environment variable.
55356
55357         * Scripts/old-run-webkit-tests:
55358
55359 2011-05-02  Martin Robinson  <mrobinson@igalia.com>
55360
55361         Reviewed by Eric Seidel.
55362
55363         [GTK] editing/selection/select-out-of-editable.html failing after r83967
55364         https://bugs.webkit.org/show_bug.cgi?id=58667
55365
55366         Do not trigger mouse down events when the EventSender knows that a mouse button is
55367         already down. These type of situations can confuse Xvfb and cause dragging failures.
55368
55369         * DumpRenderTree/gtk/EventSender.cpp:
55370         (mouseDownCallback): Do not trigger another mouse button down event if the mouse button
55371         is already down. This can interfere with drags in Xvfb.
55372
55373 2011-05-02  Zsolt Fehér  <h490267@stud.u-szeged.hu>
55374
55375         Reviewed by Csaba Osztrogonác.
55376
55377         DRT sideeffect revealed by r71268.
55378         https://bugs.webkit.org/show_bug.cgi?id=48958
55379
55380         Reset QWebSettings::ZoomTextOnly attribute before all tests. 
55381
55382         Call setTextSizeMultiplier(1.0) to reset TextZoomFactor and 
55383         PageZoomFactor too. It should be done before resetsettings() 
55384         to guarantee resetting QWebSettings::ZoomTextOnly correctly.
55385
55386         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
55387         (WebCore::WebPage::resetSettings):
55388         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
55389
55390 2011-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>
55391
55392         Unreviewed, rolling out r85469.
55393         http://trac.webkit.org/changeset/85469
55394         https://bugs.webkit.org/show_bug.cgi?id=59928
55395
55396         Broke  webkitpy-tests on Windows 7, GTK and Qt. (Requested by
55397         bbandix on #webkit).
55398
55399         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py: Removed.
55400         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
55401         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
55402
55403 2011-05-02  Tomasz Morawski  <t.morawski@samsung.com>
55404
55405         Reviewed by Kenneth Rohde Christiansen.
55406
55407         Cleanup EFL initialization/shutdown in the EWebLauncher
55408         https://bugs.webkit.org/show_bug.cgi?id=59922
55409
55410         Removed ecore_evas_init and edje_init form main function due to they
55411         are also called in the ewk_init. Moved ewk_shutdown to quit function.
55412
55413         * EWebLauncher/main.c:
55414         (quit):
55415         (main):
55416
55417 2011-05-02  Adam Barth  <abarth@webkit.org>
55418
55419         Reviewed by Eric Seidel.
55420
55421         Add base case for a test-running EWS
55422         https://bugs.webkit.org/show_bug.cgi?id=59920
55423
55424         Later I will subclass this to run the Chromium Linux EWS.
55425
55426         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py: Added.
55427         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
55428         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
55429
55430 2011-05-02  Adam Barth  <abarth@webkit.org>
55431
55432         Reviewed by Eric Seidel.
55433
55434         Add the ability to skip python and perl unit tests on EC2
55435         https://bugs.webkit.org/show_bug.cgi?id=59918
55436
55437         * Scripts/webkitpy/common/config/ports.py:
55438             - This is slightly ugly, but it's useful...
55439         * Scripts/webkitpy/common/config/ports_unittest.py:
55440         * Scripts/webkitpy/tool/mocktool.py:
55441         * Scripts/webkitpy/tool/steps/runtests.py:
55442
55443 2011-05-02  Adam Barth  <abarth@webkit.org>
55444
55445         Reviewed by Eric Seidel.
55446
55447         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
55448
55449 2011-04-29  Kevin Ollivier  <kevino@theolliviers.com>
55450
55451         [wx] Unreviewed build fix, add new directory to the build.
55452
55453         * waf/build/settings.py:
55454
55455 2011-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>
55456
55457         Reviewed by Martin Robinson.
55458
55459         [GTK] Implement UI client in minibrowser
55460         https://bugs.webkit.org/show_bug.cgi?id=58416
55461
55462         It also allows to open more than one minibrowser window from the
55463         command line.
55464
55465         * MiniBrowser/gtk/BrowserWindow.c:
55466         (browserWindowFinalize):
55467         (browser_window_init):
55468         (browserWindowConstructed):
55469         (createNewPage):
55470         (showPage):
55471         (closePage):
55472         (runJavaScriptAlert):
55473         (browserWindowUIClientInit):
55474         * MiniBrowser/gtk/main.c:
55475         (loadURI):
55476         (main):
55477
55478 2011-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>
55479
55480         Reviewed by Martin Robinson.
55481
55482         [GTK] Implement page loader client in MiniBrowser
55483         https://bugs.webkit.org/show_bug.cgi?id=58024
55484
55485         A new class BrowserWindow has been added to implement the page
55486         loader client. It makes supporting multiple windows easier. Window
55487         title and url entry are now updated during the loading process.
55488
55489         * MiniBrowser/gtk/BrowserWindow.c: Added.
55490         (activateUriEntryCallback):
55491         (goBackCallback):
55492         (goForwardCallback):
55493         (browserWindowFinalize):
55494         (browserWindowGetProperty):
55495         (browserWindowSetProperty):
55496         (browser_window_init):
55497         (browserWindowConstructed):
55498         (browser_window_class_init):
55499         (browserWindowUpdateTitle):
55500         (browserWindowSetTitle):
55501         (browserWindowSetLoadProgress):
55502         (browserWindowUpdateURL):
55503         (didStartProvisionalLoadForFrame):
55504         (didReceiveServerRedirectForProvisionalLoadForFrame):
55505         (didFailProvisionalLoadWithErrorForFrame):
55506         (didCommitLoadForFrame):
55507         (didFinishDocumentLoadForFrame):
55508         (didFinishLoadForFrame):
55509         (didFailLoadWithErrorForFrame):
55510         (didReceiveTitleForFrame):
55511         (didFirstLayoutForFrame):
55512         (didFirstVisuallyNonEmptyLayoutForFrame):
55513         (didRemoveFrameFromHierarchy):
55514         (didStartProgress):
55515         (didChangeProgress):
55516         (didFinishProgress):
55517         (didBecomeUnresponsive):
55518         (didBecomeResponsive):
55519         (browserWindowLoaderClientInit):
55520         (browser_window_new):
55521         (browser_window_get_view):
55522         * MiniBrowser/gtk/BrowserWindow.h: Added.
55523         * MiniBrowser/gtk/GNUmakefile.am:
55524         * MiniBrowser/gtk/main.c:
55525         (createWindow):
55526
55527 2011-04-28  Stephanie Lewis  <slewis@apple.com>
55528
55529         Reviewed by Mark Rowe.
55530
55531         http://bugs.webkit.org/show_bug.cgi?id=59743
55532         <rdar://problem/9040413> Add an install target for production builds.
55533
55534         * DumpRenderTree/mac/PerlSupport/Makefile:
55535
55536 2011-04-28  Adam Roben  <aroben@apple.com>
55537
55538         Stop and restart ATSServer before each test run on Leopard
55539
55540         This is to work around an ATSServer leak that eventually causes tests
55541         to fail.
55542
55543         Fixes <http://webkit.org/b/51807> <rdar://problem/9273894>
55544         fast/blockflow/broken-ideograph-[small-caps|font].html sometimes fails on Leopard buildbots
55545         (due to ATSServer leak)
55546
55547         Reviewed by Dan Bernstein.
55548
55549         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
55550         (StopATSServer):
55551         (StartATSServer):
55552         Added these new commands to stop and start ATSServer.
55553
55554         (TestFactory.__init__): Stop and start ATSServer on Leopard before running tests.
55555
55556 2011-04-28  Dirk Pranke  <dpranke@chromium.org>
55557
55558         Reviewed by Adam Roben.
55559
55560         add Leopard NRWT bot to the scheduler
55561         https://bugs.webkit.org/show_bug.cgi?id=59766
55562
55563         * BuildSlaveSupport/build.webkit.org-config/config.json:
55564
55565 2011-04-28  Sam Weinig  <sam@webkit.org>
55566
55567         Fix WebKitTestRunner build.
55568
55569         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
55570         The Derived Sources target needs a product name.
55571
55572 2011-04-28  Sam Weinig  <sam@webkit.org>
55573
55574         Reviewed by Mark Rowe.
55575
55576         Add install support for WebKitTestRunner.
55577         <rdar://problem/9349055>
55578
55579         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
55580         Add missing CompilerVersion.xcconfig.
55581
55582         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
55583         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
55584         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
55585         Add install path and tell it not to skip installation.
55586
55587         Add missing CompilerVersion.xcconfig.
55588
55589 2011-04-28  David Levin  <levin@chromium.org>
55590
55591         Reviewed by Adam Barth.
55592
55593         Remove IMAGE_RESIZER related code.
55594         https://bugs.webkit.org/show_bug.cgi?id=59735
55595
55596         * Scripts/build-webkit:
55597
55598 2011-04-28  Sam Weinig  <sam@webkit.org>
55599
55600         Reviewed by Adam Roben.
55601
55602         Make reading skipped files from additional platform
55603         directories work in WebKit2 mode.
55604
55605         * Scripts/old-run-webkit-tests:
55606         (buildPlatformTestHierarchy): Simplify logic to always use the first
55607         and last platforms in the build hierarchy as the test hierarchy, and to
55608         insert the WebKit2 platform in the middle if it exists. Yum.
55609
55610 2011-04-28  Adam Barth  <abarth@webkit.org>
55611
55612         Reviewed by Eric Seidel.
55613
55614         Remove WML
55615         https://bugs.webkit.org/show_bug.cgi?id=59678
55616
55617         Remove build system integration and test harness integration for WML.
55618
55619         * Scripts/build-webkit:
55620         * Scripts/old-run-webkit-tests:
55621         * Scripts/webkitperl/features.pm:
55622         * Scripts/webkitpy/layout_tests/port/webkit.py:
55623         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
55624
55625 2011-04-28  Ojan Vafai  <ojan@chromium.org>
55626
55627         Reviewed by Mihai Parparita.
55628
55629         use a hierarchical data structure to store results json
55630         https://bugs.webkit.org/show_bug.cgi?id=59736
55631
55632         Instead of a map from test name to results dict, we now store a hierarchical
55633         data structure.
55634
55635         Old: { foo/bar/baz.html: results_dict, foo/bar/baz2.html: results_dict }
55636         New:
55637         { foo: {
55638             bar: {
55639               baz.html: results_dict,
55640               baz2.html: results_dict } } }
55641
55642         This cut ~52% of the size of times_ms.json. I expect it will cut
55643         30-40% of full_results.json and unexpected_results.json.
55644
55645         * Scripts/webkitpy/common/net/resultsjsonparser.py:
55646         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
55647         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
55648         Using os.sep was just wrong since relative_test_filename canonicalizes separators.
55649         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
55650         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
55651         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
55652         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
55653         Instead of plumbing through the change to all of the rebaselineserver
55654         python and JS, just convert to the old format after reading in the json.
55655
55656 2011-04-28  Eric Seidel  <eric@webkit.org>
55657
55658         Reviewed by Adam Barth.
55659
55660         EWS Bubbles should show commit-queue position when patch is in the commit-queue
55661         https://bugs.webkit.org/show_bug.cgi?id=59744
55662
55663         Add target="_top" to the bubble links.  This was
55664         forgotten when I moved from using an onclick to a normal link.
55665
55666         * QueueStatusServer/templates/statusbubble.html:
55667
55668 2011-04-28  Eric Seidel  <eric@webkit.org>
55669
55670         Reviewed by Adam Barth.
55671
55672         EWS bubbles should show "submit to ews" button if they've not been processed
55673         https://bugs.webkit.org/show_bug.cgi?id=59751
55674
55675         * QueueStatusServer/handlers/statusbubble.py:
55676         * QueueStatusServer/handlers/submittoews.py:
55677         * QueueStatusServer/templates/statusbubble.html:
55678         * QueueStatusServer/templates/submittoews.html:
55679
55680 2011-04-28  Eric Seidel  <eric@webkit.org>
55681
55682         Reviewed by Adam Barth.
55683
55684         EWS Bubbles should show commit-queue position when patch is in the commit-queue
55685         https://bugs.webkit.org/show_bug.cgi?id=59744
55686
55687         This was actually just a 2 line change to statusbubble.py.
55688         I also cleaned up statusbubble.html a little while I was there
55689         (the links are now actual <a> tags and have hover).
55690
55691         * QueueStatusServer/handlers/statusbubble.py:
55692         * QueueStatusServer/templates/statusbubble.html:
55693
55694 2011-04-28  Dirk Pranke  <dpranke@chromium.org>
55695
55696         Reviewed by Eric Seidel.
55697
55698         add a mac leopard release NRWT bot
55699         https://bugs.webkit.org/show_bug.cgi?id=59733
55700
55701         * BuildSlaveSupport/build.webkit.org-config/config.json:
55702
55703 2011-04-28  Ojan Vafai  <ojan@chromium.org>
55704
55705         Avoid crashing when running new-run-webkit-tests outside of
55706         version control.
55707
55708         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
55709
55710 2011-04-28  Xan Lopez  <xlopez@igalia.com>
55711
55712         Unreviewed build fix.
55713
55714         * GNUmakefile.am:
55715
55716 2011-04-28  Ojan Vafai  <ojan@chromium.org>
55717
55718         Reviewed by Eric Seidel.
55719
55720         fix python printing test
55721         https://bugs.webkit.org/show_bug.cgi?id=59719
55722
55723         Now that we run scm commands in summarize_results, --verbose prints
55724         debug logging to stderr.
55725
55726         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
55727
55728 2011-04-28  Ojan Vafai  <ojan@chromium.org>
55729
55730         Reviewed by Tony Chang.
55731
55732         link to tests at a specific revision in the results.html file
55733         https://bugs.webkit.org/show_bug.cgi?id=59711
55734
55735         * Scripts/webkitpy/common/checkout/scm.py:
55736         Add a method to get the head svn revision.
55737         * Scripts/webkitpy/common/checkout/scm_unittest.py:
55738         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
55739         Include the svn revision in the results json.
55740
55741 2011-04-28  Carlos Garcia Campos  <cgarcia@igalia.com>
55742
55743         Reviewed by Sam Weinig.
55744
55745         [GTK] Remove WKURLCreateWithURL()
55746         https://bugs.webkit.org/show_bug.cgi?id=59691
55747
55748         Use WKURLCreateWithUTF8CString() instead of WKURLCreateWithURL().
55749
55750         * MiniBrowser/gtk/main.c:
55751         (activateUriEntryCallback):
55752         (main):
55753
55754 2011-04-28  Carlos Garcia Campos  <cgarcia@igalia.com>
55755
55756         Reviewed by Martin Robinson.
55757
55758         [GTK] WKView should be a GtkWidget
55759         https://bugs.webkit.org/show_bug.cgi?id=59603
55760
55761         Don't use WKViewGetWindow(), use WKView as a GtkWidget instead.
55762
55763         * MiniBrowser/gtk/main.c:
55764         (createWindow):
55765         (main):
55766
55767 2011-04-28  Gabor Rapcsanyi  <rgabor@webkit.org>
55768
55769         Reviewed by Csaba Osztrogonác.
55770
55771         [Qt] Add ARM specific Skipped list
55772         https://bugs.webkit.org/show_bug.cgi?id=59680
55773
55774         * Scripts/old-run-webkit-tests:
55775         * Scripts/webkitdirs.pm:
55776
55777 2011-04-27  Eric Seidel  <eric@webkit.org>
55778
55779         Reviewed by Adam Barth.
55780
55781         error_log.txt should include PHP errors
55782         https://bugs.webkit.org/show_bug.cgi?id=59643
55783
55784         Turns out this was really easy after I finally learned
55785         enough about PHP to do it...
55786
55787         I'm adding this in hopes of better tracking down
55788         our random http failures.
55789
55790         * Scripts/webkitperl/httpd.pm:
55791
55792 2011-04-27  David Levin  <levin@chromium.org>
55793
55794         Reviewed by Adam Barth.
55795
55796         check-webkit-style should flags spacing errors for braces on the same line.
55797         https://bugs.webkit.org/show_bug.cgi?id=59665
55798
55799         * Scripts/webkitpy/style/checkers/cpp.py: Added the check.
55800         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added some tests for the check
55801           and fixed some test cases to not trigger this error since it isn't what they are verifying.
55802
55803 2011-04-27  David Levin  <levin@chromium.org>
55804
55805         Reviewed by Adam Barth.
55806
55807         check-webkit-style error for spaces after periods in a comment has a bad error
55808         message and warns about end of line spaces.
55809         https://bugs.webkit.org/show_bug.cgi?id=59663
55810
55811         * Scripts/webkitpy/style/checkers/cpp.py: Fix both issues.
55812         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for spaces at the end of line
55813         and changed the error messages.
55814
55815 2011-04-27  Ojan Vafai  <ojan@chromium.org>
55816
55817         remove assertion now that platform/mac-tiger no longer exists
55818         https://bugs.webkit.org/show_bug.cgi?id=59660
55819
55820         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
55821
55822 2011-04-27  Ojan Vafai  <ojan@chromium.org>
55823
55824         Reviewed by Eric Seidel.
55825
55826         remove test that didn't make sense
55827         https://bugs.webkit.org/show_bug.cgi?id=59658
55828
55829         It was artifically saying the test wasn't expected to pass,
55830         but the expectations string was empty. The case of unexpected
55831         passes with a real expectations string is tested later in the
55832         same test.
55833
55834         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
55835
55836 2011-04-27  Sam Weinig  <sam@webkit.org>
55837
55838         Reviewed by Adam Roben.
55839
55840         WebKit2 needs to notify the client when a plugin fails to initialize
55841         https://bugs.webkit.org/show_bug.cgi?id=59657
55842
55843         * MiniBrowser/mac/BrowserWindowController.m:
55844         (-[BrowserWindowController awakeFromNib]):
55845         * WebKitTestRunner/TestController.cpp:
55846         (WTR::TestController::initialize):
55847         Add stubs.
55848
55849 2011-04-26  Sam Weinig  <sam@webkit.org>
55850
55851         Reviewed by David Levin.
55852
55853         Add a few more missing options to new-run-webkit-tests
55854         https://bugs.webkit.org/show_bug.cgi?id=59567
55855
55856         Add support for:
55857             --threaded
55858             --gc-between-tests
55859             --complex-text
55860
55861         * Scripts/webkitpy/layout_tests/port/webkit.py:
55862         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
55863         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
55864
55865 2011-04-27  Mark Rowe  <mrowe@apple.com>
55866
55867         Build fix.
55868
55869         Fix an OwnPtr-related issue that was missed before the strictness was turned on.
55870         
55871         * WebKitTestRunner/TestController.cpp:
55872         (WTR::TestController::runTest):
55873
55874 2011-04-27  Ojan Vafai  <ojan@chromium.org>
55875
55876         Forgot to upload the new times_ms.json file after splitting
55877         it out from full_results.json.
55878
55879         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
55880
55881 2011-04-27  Ojan Vafai  <ojan@chromium.org>
55882
55883         Fix snafu in generating the JSON for the chromium tests.
55884
55885         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
55886
55887 2011-04-27  Ojan Vafai  <ojan@chromium.org>
55888
55889         Fix bad merge. This broke the chromium tests generating JSON files.
55890         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
55891
55892 2011-04-27  Mark Rowe  <mrowe@apple.com>
55893
55894         Rubber-stamped by Geoff Garen.
55895
55896         Don't look for results in a location that no longer exists.
55897
55898         * Scripts/old-run-webkit-tests:
55899
55900 2011-04-27  Adrienne Walker  <enne@google.com>
55901
55902         Unreviewed, add Chrome GPU folks to contributors that I'm tired of manually CCing
55903
55904         * Scripts/webkitpy/common/config/committers.py:
55905
55906 2011-04-22  Ojan Vafai  <ojan@chromium.org>
55907
55908         Reviewed by Tony Chang.
55909
55910         only include failures in full_results.json
55911         https://bugs.webkit.org/show_bug.cgi?id=59256
55912
55913         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
55914
55915 2011-04-22  Ojan Vafai  <ojan@chromium.org>
55916
55917         Reviewed by Adam Roben.
55918
55919         move times into their own json file
55920         https://bugs.webkit.org/show_bug.cgi?id=59239
55921
55922         The test runtimes are the only case where we need an entry for
55923         every test that was run, including passing tests. Move them into
55924         their own json file so we can prune the other json files to only
55925         include failing tests.
55926
55927         Use a trie-like data structure to hold the tests to avoid including
55928         full test paths. This cuts 52% of the filesize. The end result is ~700k
55929         pre-gzip.
55930
55931         * Scripts/webkitpy/common/net/resultsjsonparser.py:
55932         Exclude times from the parsed TestResults.
55933         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
55934         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
55935         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
55936         * Scripts/webkitpy/layout_tests/layout_package/manager.py:
55937
55938 2011-04-27  Anders Carlsson  <andersca@apple.com>
55939
55940         More casts and more clang++ build fixes.
55941
55942         * DumpRenderTree/mac/DumpRenderTree.mm:
55943         (createWebViewAndOffscreenWindow):
55944         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
55945         (TestWebKitAPI::PlatformWebView::PlatformWebView):
55946         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
55947         (WTR::PlatformWebView::PlatformWebView):
55948
55949 2011-04-27  Tony Chang  <tony@chromium.org>
55950
55951         Reviewed by Ojan Vafai.
55952
55953         lazily autoinstall thirdparty python libraries
55954         https://bugs.webkit.org/show_bug.cgi?id=55723
55955
55956         This helps by only having pywebsocket installed when the bots run.  It
55957         doesn't help much for devs since webkit-patch pulls in almost everything.
55958
55959         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
55960         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
55961         * Scripts/webkitpy/common/net/networktransaction.py:
55962         * Scripts/webkitpy/common/net/networktransaction_unittest.py:
55963         * Scripts/webkitpy/common/net/statusserver.py:
55964         * Scripts/webkitpy/layout_tests/port/websocket_server.py:
55965         * Scripts/webkitpy/thirdparty/__init__.py: Add an import hook so we can install based on
55966             the import command rather than just installing everything.
55967         * Scripts/webkitpy/thirdparty/__init___unittest.py: Added.
55968
55969 2011-04-27  Girish Ramakrishnan  <girish@forwardbias.in>
55970
55971         Add my IRC nick.
55972
55973         * Scripts/webkitpy/common/config/committers.py:
55974
55975 2011-04-27  Eric Seidel  <eric@webkit.org>
55976
55977         Reviewed by Mihai Parparita.
55978
55979         sherrifbot create-bug shouldn't assign bugs to webkit.review.bot
55980         https://bugs.webkit.org/show_bug.cgi?id=59545
55981
55982         To do this, I needed a way to look up contributors by irc-name
55983         (since anyone in #webkit who might use this command may not be a committer).
55984         To lookup contributors, I had to make Contributor a real object.
55985         Which led me to redesign parts of committers.py...
55986         and finally fix one spot in changelog.py where we wanted to be
55987         looking up contributors and not committers.
55988
55989         Overall a pretty simple fix, once you wade through the yak-hair.
55990
55991         This may not prevent *all* possible ways that bugs would get assigned
55992         to webkit.review.bot.  If we don't recognize the requester we will
55993         go through the previous code path (which shouldn't change the assignee
55994         on the bug from the default as far as I can tell).
55995
55996         * Scripts/webkitpy/common/checkout/changelog.py:
55997         * Scripts/webkitpy/common/config/committers.py:
55998         * Scripts/webkitpy/common/config/committers_unittest.py:
55999         * Scripts/webkitpy/tool/bot/irc_command.py:
56000         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
56001
56002 2011-04-27  Yi Shen  <yi.4.shen@nokia.com>
56003
56004         Reviewed by Kenneth Rohde Christiansen.
56005
56006         [Qt] Upstream Symbian platform plugin
56007         https://bugs.webkit.org/show_bug.cgi?id=58435
56008
56009         Exempting directory WebKit/qt/symbian/platformplugin from style guide.
56010
56011         * Scripts/webkitpy/style/checker.py:
56012         * Scripts/webkitpy/style/checker_unittest.py:
56013
56014 2011-04-27  Jeff Miller  <jeffm@apple.com>
56015
56016         Correct my IRC nickname.
56017
56018         * Scripts/webkitpy/common/config/committers.py:
56019
56020 2011-04-27  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
56021
56022         Reviewed by Darin Adler.
56023
56024         Change the email used on bugzilla
56025         https://bugs.webkit.org/show_bug.cgi?id=59582
56026
56027         * Scripts/webkitpy/common/config/committers.py:
56028
56029 2011-04-27  James Kozianski  <koz@chromium.org>
56030
56031         Reviewed by Ojan Vafai.
56032
56033         Extract map from port to builder name.
56034         https://bugs.webkit.org/show_bug.cgi?id=58301
56035
56036         * Scripts/webkitpy/layout_tests/port/__init__.py:
56037         * Scripts/webkitpy/layout_tests/port/builders.py: Added.
56038         * Scripts/webkitpy/layout_tests/port/builders_unittest.py: Added.
56039         * Scripts/webkitpy/layout_tests/port/factory.py:
56040
56041 2011-04-27  Ryuan Choi  <ryuan.choi@samsung.com>
56042
56043         Reviewed by Martin Robinson.
56044
56045         [GTK] Add proxy support to GtkLauncher
56046         https://bugs.webkit.org/show_bug.cgi?id=58852
56047
56048         Add SOUP_TYPE_PROXY_RESOLVER_DEFAULT feature or set SOUP_SESSION_PROXY_URI for developers behind proxy.
56049
56050         * GNUmakefile.am:
56051         * GtkLauncher/main.c:
56052         (main):
56053
56054 2011-04-27  Annie Sullivan  <sullivan@chromium.org>
56055
56056         Reviewed by David Levin.
56057
56058         Adding myself as a Chromium contributor to committers.py.
56059
56060         https://bugs.webkit.org/show_bug.cgi?id=59576
56061
56062         * Scripts/webkitpy/common/config/committers.py:
56063
56064 2011-04-26  David Grogan  <dgrogan@chromium.org>
56065
56066         Reviewed by David Levin.
56067
56068         Adding myself to Chromium contributors list in committers.py
56069         https://bugs.webkit.org/show_bug.cgi?id=59565
56070
56071         * Scripts/webkitpy/common/config/committers.py:
56072
56073 2011-04-26  Chang Shu  <cshu@webkit.org>
56074
56075         Reviewed by Laszlo Gombos.
56076
56077         WebKitTestRunner needs layoutTestController.addOriginAccessWhitelistEntry
56078         https://bugs.webkit.org/show_bug.cgi?id=42544
56079
56080         Also implemented removeOriginAccessWhitelistEntry and resetOriginAccessWhitelists.
56081
56082         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
56083         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
56084         (WTR::InjectedBundle::beginTesting):
56085         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
56086         (WTR::LayoutTestController::addOriginAccessWhitelistEntry):
56087         (WTR::LayoutTestController::removeOriginAccessWhitelistEntry):
56088         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
56089
56090 2011-04-26  Chris Fleizach  <cfleizach@apple.com>
56091
56092         Reviewed by Adele Peterson.
56093
56094         AX: Add more text marker routines to DRT
56095         https://bugs.webkit.org/show_bug.cgi?id=58949
56096
56097         Add a few more methods to help test the text marker system, including nextMarker, previousMarker and
56098         stringForMarkerRange.
56099
56100         * DumpRenderTree/AccessibilityUIElement.cpp:
56101         (nextTextMarkerCallback):
56102         (previousTextMarkerCallback):
56103         (stringForTextMarkerRangeCallback):
56104         (AccessibilityUIElement::previousTextMarker):
56105         (AccessibilityUIElement::nextTextMarker):
56106         (AccessibilityUIElement::stringForTextMarkerRange):
56107         (AccessibilityUIElement::getJSClass):
56108         * DumpRenderTree/AccessibilityUIElement.h:
56109         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
56110         (AccessibilityUIElement::previousTextMarker):
56111         (AccessibilityUIElement::nextTextMarker):
56112         (AccessibilityUIElement::stringForTextMarkerRange):
56113
56114 2011-04-26  Dan Bernstein  <mitz@apple.com>
56115
56116         Build fix.
56117
56118         * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig:
56119         * MiniBrowser/Configurations/CompilerVersion.xcconfig:
56120         * WebKitTestRunner/Configurations/CompilerVersion.xcconfig:
56121
56122 2011-04-26  Kevin Ollivier  <kevino@theolliviers.com>
56123
56124         Rubberstamped by Eric Seidel.
56125
56126         Enable waf to be used to build other ports
56127         https://bugs.webkit.org/show_bug.cgi?id=58213
56128
56129         * Scripts/build-webkit:
56130         * Scripts/webkitdirs.pm:
56131         * waf: Added.
56132         * waf/build: Added.
56133         * waf/build/build_utils.py: Added.
56134         * waf/build/settings.py: Added.
56135         * waf/build/waf_extensions.py: Added.
56136         * waf/build/wxpresets.py: Added.
56137
56138 2011-04-26  Sam Weinig  <sam@webkit.org>
56139
56140         Reviewed by David Hyatt.
56141
56142         Remove Datagrid from the tree
56143         https://bugs.webkit.org/show_bug.cgi?id=59543
56144
56145         * Scripts/build-webkit:
56146         Remove feature.
56147
56148         * iExploder/iexploder-1.3.2/htdocs/htmltags.in:
56149         * iExploder/iexploder-1.7.2/src/html-tags/webkit:
56150         Remove from fuzzer.
56151
56152 2011-04-26  Brent Fulgham  <bfulgham@webkit.org>
56153
56154         Reviewed by Adam Roben.
56155
56156         Update WinLauncher with command-line arguments to allow the
56157         transparency to be tested.  Use --transparent to create a
56158         transparent view.  Use --desktop to have the view fill the
56159         desktop area of the screen.
56160         https://bugs.webkit.org/show_bug.cgi?id=58300
56161
56162         * WinLauncher/WinLauncher.cpp:
56163         (usesLayeredWebView): New method to indicate that the
56164         program is running with layered windows (alpha-blended
56165         transparent windows).
56166         (shouldUseFullDesktop): New method to indicate that the
56167         program is running across the full desktop (less any
56168         task bars.)
56169         (resizeSubViews): Layered window mode doesn't have any
56170         winapi child windows, so this routine is exited early
56171         for that case.
56172         (subclassForLayeredWindow): Subclass the window so we can
56173         override its defaut message loop.
56174         (computeFullDesktopFrame): Convenience function to get the
56175         desktop region and update the frame dimensions appropriately.
56176         (_tWinMain): Updated to accept the new '--transparent' and
56177         '--desktop' arguments.
56178         (InitInstance): Modified to exit early for the transparent
56179         background case.  WebKit will construct our primary window (with
56180         appropriate settings) so we don't need to create one ourselves.
56181         (WndProc): 
56182         (TransparentWndProc): New message loop for transparent windows,
56183         since they need special handling to support dragging.
56184
56185 2011-04-26  Alexandre MAzari  <amazari@igalia.com>
56186
56187         Reviewed by Xan Lopez.
56188
56189         [Gtk] Implement LayoutTestController::setPluginsEnabled
56190         https://bugs.webkit.org/show_bug.cgi?id=59184
56191
56192         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
56193         (LayoutTestController::setPluginsEnabled):
56194
56195 2011-04-26  Chang Shu  <cshu@webkit.org>
56196
56197         Reviewed by Laszlo Gombos.
56198
56199         WebKitTestRunner needs layoutTestController.setAllowFileAccessFromFileURLs
56200         https://bugs.webkit.org/show_bug.cgi?id=57572
56201
56202         Remove the unnecessary code that updates preference.
56203
56204         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
56205         (WTR::InjectedBundle::beginTesting):
56206         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
56207         (WTR::LayoutTestController::setAllowUniversalAccessFromFileURLs):
56208
56209 2011-04-26  Mario Sanchez Prada  <msanchez@igalia.com>
56210
56211         Reviewed by Eric Seidel.
56212
56213         [GTK] accessibility/aria-combobox-expected.txt
56214         https://bugs.webkit.org/show_bug.cgi?id=59399
56215
56216         Implement isExpanded(), as it's used in the layout test.
56217
56218         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
56219         (AccessibilityUIElement::isExpanded): Implemented.
56220
56221 2011-04-26  Adrienne Walker  <enne@google.com>
56222
56223         Reviewed by Kent Tamura.
56224
56225         [chromium] Fix memory leak in DRT due to OwnPtr<T*>
56226         https://bugs.webkit.org/show_bug.cgi?id=59489
56227
56228         * DumpRenderTree/chromium/WebViewHost.h:
56229
56230 2011-04-26  Mario Sanchez Prada  <msanchez@igalia.com>
56231
56232         Reviewed by Eric Seidel.
56233
56234         [GTK] Implement isChecked in DRT
56235         https://bugs.webkit.org/show_bug.cgi?id=59385
56236
56237         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
56238         (AccessibilityUIElement::isChecked): Implemented.
56239
56240 2011-04-26  Alejandro G. Castro  <alex@igalia.com>
56241
56242         Unreviewed, rolling out r84949.
56243         http://trac.webkit.org/changeset/84949
56244         https://bugs.webkit.org/show_bug.cgi?id=58852
56245
56246         Broke GTK+ compilation
56247
56248         * GtkLauncher/main.c:
56249         (main):
56250
56251 2011-04-26  Eric Seidel  <eric@webkit.org>
56252
56253         Reviewed by Mihai Parparita.
56254
56255         sheriff-bot should have a create-bug command
56256         https://bugs.webkit.org/show_bug.cgi?id=59491
56257
56258         This patch has some stderr unittest spew, but I will
56259         fix it after my live demo.
56260
56261         * Scripts/webkitpy/tool/bot/irc_command.py:
56262         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
56263         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
56264
56265 2011-04-26  Ryuan Choi  <ryuan.choi@samsung.com>
56266
56267         Reviewed by Martin Robinson.
56268
56269         [GTK] Add proxy support to GtkLauncher
56270         https://bugs.webkit.org/show_bug.cgi?id=58852
56271
56272         Add SOUP_TYPE_PROXY_RESOLVER_DEFAULT feature or set SOUP_SESSION_PROXY_URI for developers behind proxy.
56273
56274         * GtkLauncher/main.c:
56275         (main):
56276
56277 2011-04-26  Dan Bernstein  <mitz@apple.com>
56278
56279         Reviewed by Mark Rowe.
56280
56281         Choose the compiler based on the Xcode version for Snow Leopard debug builds.
56282
56283         * DumpRenderTree/mac/Configurations/Base.xcconfig:
56284         * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig: Added.
56285         * MiniBrowser/Configurations/Base.xcconfig:
56286         * MiniBrowser/Configurations/CompilerVersion.xcconfig: Added.
56287         * TestWebKitAPI/Configurations/Base.xcconfig:
56288         * TestWebKitAPI/Configurations/CompilerVersion.xcconfig: Added.
56289         * WebKitTestRunner/Configurations/Base.xcconfig:
56290         * WebKitTestRunner/Configurations/CompilerVersion.xcconfig: Added.
56291
56292 2011-04-26  Finnur Thorarinsson  <finnur.webkit@gmail.com>
56293
56294         Reviewed by David Levin.
56295
56296         Adding myself as a Chromium contributors to committers.py.
56297
56298         https://bugs.webkit.org/show_bug.cgi?id=59444
56299
56300         * Scripts/webkitpy/common/config/committers.py:
56301
56302 2011-04-26  Adam Barth  <abarth@webkit.org>
56303
56304         Reviewed by Eric Seidel.
56305
56306         DumpRenderTree/chromium should play nice with strict OwnPtrs
56307         https://bugs.webkit.org/show_bug.cgi?id=59458
56308
56309         All these changes are pretty straight forward.
56310
56311         * DumpRenderTree/chromium/CppBoundClass.cpp:
56312         (GetterPropertyCallback::GetterPropertyCallback):
56313         (CppBoundClass::bindGetterCallback):
56314         * DumpRenderTree/chromium/CppBoundClass.h:
56315         (CppBoundClass::bindProperty):
56316         (CppBoundClass::bindFallbackCallback):
56317         (CppBoundClass::bindFallbackMethod):
56318         * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
56319         (DRTDevToolsClient::DRTDevToolsClient):
56320         * DumpRenderTree/chromium/TestEventPrinter.cpp:
56321         (TestEventPrinter::createDRTPrinter):
56322         (TestEventPrinter::createTestShellPrinter):
56323         * DumpRenderTree/chromium/TestEventPrinter.h:
56324         * DumpRenderTree/chromium/TestShell.cpp:
56325         (TestShell::TestShell):
56326         (TestShell::createMainWindow):
56327         (TestShell::createDRTDevToolsClient):
56328         * DumpRenderTree/chromium/WebViewHost.cpp:
56329         (WebViewHost::geolocationClientMock):
56330         (WebViewHost::speechInputController):
56331         (WebViewHost::deviceOrientationClientMock):
56332         (WebViewHost::reset):
56333         (WebViewHost::navigate):
56334         (WebViewHost::setPendingExtraData):
56335         (WebViewHost::canvas):
56336         * DumpRenderTree/chromium/WebViewHost.h:
56337
56338 2011-04-26  Adam Roben  <aroben@apple.com>
56339
56340         Make DRT/win log loading errors the same way DRT/mac does
56341
56342         Fixes <http://webkit.org/b/59303> [Windows WebKit1 Tests]
56343         http/tests/misc/will-send-request-returns-null-on-redirect.html failing since r84742
56344
56345         Reviewed by Alexey Proskuryakov.
56346
56347         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
56348         (ResourceLoadDelegate::descriptionSuitableForTestResult): Removed the workaround for
56349         <rdar://problem/5064234>, which has long since been fixed, and then made this function match
56350         -[NSError(DRTExtras) _drt_descriptionSuitableForTestResult] more closely.
56351
56352 2011-04-26  Dan Bernstein  <mitz@apple.com>
56353
56354         REGRESSION (84876): build-webkit produces an error message
56355         https://bugs.webkit.org/show_bug.cgi?id=59460
56356
56357         * Scripts/webkitdirs.pm:
56358
56359 2011-04-26  Mihai Parparita  <mihaip@chromium.org>
56360
56361         Reviewed by Eric Seidel.
56362
56363         Fix timestamp comparison in check-for-weak-vtables-and-externals
56364         https://bugs.webkit.org/show_bug.cgi?id=59416
56365         
56366         We should only re-run the check-for-weak-vtables-and-externals script
56367         if the executable is more recent than the last run.
56368
56369         * Scripts/check-for-weak-vtables-and-externals:
56370
56371 2011-04-26  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
56372
56373         Reviewed by Csaba Osztrogonác.
56374
56375         [Qt] Implement LayoutTestController::setAutofilled
56376         https://bugs.webkit.org/show_bug.cgi?id=59439
56377
56378         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
56379         (LayoutTestController::setAutofilled):
56380         * DumpRenderTree/qt/LayoutTestControllerQt.h:
56381
56382 2011-04-25  Dan Bernstein  <mitz@apple.com>
56383
56384         Reviewed by Mark Rowe.
56385
56386         Teach build-webkit where newer Xcode versions store the application-wide build settings user default.
56387
56388         * Scripts/webkitdirs.pm:
56389
56390 2011-04-25  Sam Weinig  <sam@webkit.org>
56391
56392         Reviewed by Adam Roben.
56393
56394         Leaks Viewer throws "Cannot post cyclic structures" in Safari 5
56395         https://bugs.webkit.org/show_bug.cgi?id=56090
56396
56397         Make LeaksViewer work with versions of browsers that don't support message
56398         passing of cyclic structures.
56399
56400         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParser.js:
56401         (LeaksParser.this._worker.onmessage):
56402         (LeaksParser):
56403         (LeaksParser.prototype.addLeaksFile):
56404         Use LeaksParserImpl directly if we don't support passing cyclic structures.
56405
56406         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserImpl.js: Copied from BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js.
56407         (LeaksParserImpl):
56408         (LeaksParserImpl.prototype.addLeaksFile):
56409         (LeaksParserImpl.prototype._incorporateLeaks):
56410         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
56411         (onmessage):
56412         Factor out LeaksParser implementation into LeaksParserImpl.js.
56413
56414         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
56415         (workersSupportCyclicStructures):
56416         Add function to detect if workers support passing cyclic structures.
56417
56418         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:
56419         Add LeaksParserImpl.js include.
56420
56421 2011-04-25  Jeff Miller  <jeffm@apple.com>
56422
56423         Reviewed by Timothy Hatcher.
56424
56425         Treat strings defined with UI_STRING_LOCALIZE_LATER_KEY() as debugging strings in extract-localizable-strings
56426         https://bugs.webkit.org/show_bug.cgi?id=59373
56427
56428         * Scripts/extract-localizable-strings: Add UI_STRING_LOCALIZE_LATER_KEY() to isDebugMacro var.
56429
56430 2011-04-25  Andrew Scherkus  <scherkus@chromium.org>
56431
56432         Reviewed by Dimitri Glazkov.
56433
56434         Adding a few Chromium contributors to committers.py.
56435
56436         https://bugs.webkit.org/show_bug.cgi?id=59327
56437
56438         * Scripts/webkitpy/common/config/committers.py:
56439
56440 2011-04-23  Dominic Cooney  <dominicc@chromium.org>
56441
56442         Reviewed by Dimitri Glazkov.
56443
56444         [V8] Nodes in shadow DOM should not be GCed while their hosts are alive
56445         https://bugs.webkit.org/show_bug.cgi?id=59284
56446
56447         Chromium DRT over-refcounted the NPObject wrappers it used to
56448         marshal shadowRoot nodes back to tests (WebBindings::makeNode
56449         births NPObjects with referenceCount == 1). This masked the GC bug
56450         59284 in tests by making shadowRoot nodes live forever.
56451
56452         * DumpRenderTree/chromium/LayoutTestController.cpp:
56453         (LayoutTestController::shadowRoot):
56454         (LayoutTestController::ensureShadowRoot):
56455
56456 2011-04-23  Kevin Ollivier  <kevino@theolliviers.com>
56457
56458         [wx] Unreviewed build fixes. Add new methods to wx LayoutTestController,
56459         and update the URL for downloading waf.
56460         
56461         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
56462         (LayoutTestController::ensureShadowRoot):
56463         (LayoutTestController::removeShadowRoot):
56464         * Scripts/webkitdirs.pm:
56465
56466 2011-04-22  Sheriff Bot  <webkit.review.bot@gmail.com>
56467
56468         Unreviewed, rolling out r84627.
56469         http://trac.webkit.org/changeset/84627
56470         https://bugs.webkit.org/show_bug.cgi?id=59271
56471
56472         It broke Symbian build (Requested by Ossy on #webkit).
56473
56474         * Scripts/webkitpy/style/checker.py:
56475         * Scripts/webkitpy/style/checker_unittest.py:
56476
56477 2011-04-22  Dirk Pranke  <dpranke@chromium.org>
56478
56479         Reviewed by Adam Barth.
56480
56481         rebaseline-chromium-webkit-tests: clean up output
56482         https://bugs.webkit.org/show_bug.cgi?id=59240
56483
56484         This change dramatically changes the output the tool provides
56485         by default. The previous output (more or less) is still there
56486         in -v / verbose / debug mode, but the default output is
56487         way terser and more readable. It mostly says which files are
56488         updated, which are duplicates, and which are not found in an
56489         archive. Feedback desired :).
56490
56491         This change also adds a scm.exists() method to the SCM object
56492         so that we can cleanly figure out what we're doing while
56493         rebaselining.
56494
56495         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
56496         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
56497         * Scripts/webkitpy/common/system/filesystem_mock.py:
56498         * Scripts/webkitpy/common/checkout/scm.py:
56499         * Scripts/webkitpy/common/checkout/scm_unittest.py:
56500
56501 2011-04-22  Ilya Sherman  <isherman@chromium.org>
56502
56503         Reviewed by Alexey Proskuryakov.
56504
56505         Add Ilya Sherman (isherman@chromium.org) to the list of contributors
56506         https://bugs.webkit.org/show_bug.cgi?id=59231
56507
56508         * Scripts/webkitpy/common/config/committers.py:
56509
56510 2011-04-22  Yuta Kitamura  <yutak@chromium.org>
56511
56512         Reviewed by Ojan Vafai.
56513
56514         new-run-webkit-tests: Exception raised when stderr contains binary data
56515         https://bugs.webkit.org/show_bug.cgi?id=59083
56516
56517         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
56518         Use write_binary_file() instead of write_text_file().
56519
56520 2011-04-22  Chang Shu  <cshu@webkit.org>
56521
56522         Reviewed by Kenneth Rohde Christiansen.
56523
56524         WebKitTestRunner needs layoutTestController.setFrameFlatteningEnabled
56525         https://bugs.webkit.org/show_bug.cgi?id=42536
56526
56527         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
56528         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
56529         (WTR::LayoutTestController::setFrameFlatteningEnabled):
56530         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
56531
56532 2011-04-22  Adam Barth  <abarth@webkit.org>
56533
56534         Reviewed by Eric Seidel.
56535
56536         CommitQueue should remember the expected failures from patch to patch
56537         https://bugs.webkit.org/show_bug.cgi?id=59253
56538
56539         Previously, we stored the set of expected failures on the task object,
56540         which meant the commit-queue forgot about them after each patch.  This
56541         patch moves them to the CommitQueue object so they will have a longer
56542         lifetime.
56543
56544         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
56545         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
56546         * Scripts/webkitpy/tool/commands/queues.py:
56547
56548 2011-04-22  Sam Weinig  <sam@webkit.org>
56549
56550         Reviewed by Brian Weinstein.
56551
56552         WebKit2: Implement JavaScript unresponsiveness timer/callbacks
56553         https://bugs.webkit.org/show_bug.cgi?id=59248
56554
56555         Stub out shouldInterruptJavaScript callbacks.
56556
56557         * MiniBrowser/mac/BrowserWindowController.m:
56558         (-[BrowserWindowController awakeFromNib]):
56559         * MiniBrowser/win/BrowserView.cpp:
56560         (BrowserView::create):
56561         * WebKitTestRunner/TestController.cpp:
56562         (WTR::TestController::createOtherPage):
56563         (WTR::TestController::initialize):
56564
56565 2011-04-22  Daniel Bates  <dbates@webkit.org>
56566
56567         Reviewed by Csaba Osztrogonác.
56568
56569         webkit-patch land hangs if svn prompts for credentials
56570         https://bugs.webkit.org/show_bug.cgi?id=31500
56571
56572         Make has_authorization_for_realm() return True only if there exists a credentials file
56573         that contains either the word "password" or "passtype". We assume that these words don't
56574         coincide with the actual credential data (e.g. a person's username is "password").
56575
56576         * Scripts/webkitpy/common/checkout/scm.py:
56577         * Scripts/webkitpy/common/checkout/scm_unittest.py:
56578           - Added test cases:
56579             test_has_authorization_for_realm_using_credentials_with_passtype(),
56580             test_has_authorization_for_realm_using_credentials_with_password(),
56581             test_not_have_authorization_for_realm_with_credentials_missing_password_and_passtype()
56582           - Renamed test_not_have_authorization_for_realm() to test_not_have_authorization_for_realm_when_missing_credentials_file()
56583             to better describe what it's testing.
56584           - Repurposed test_has_authorization_for_realm() to take realm and credential data to use
56585             and return the result of calling has_authorization_for_realm() so that the caller can
56586             assert the result; Renamed to _test_has_authorization_for_realm_using_credentials() to
56587             better reflect its new purpose.
56588
56589 2011-04-22  Adam Barth  <abarth@webkit.org>
56590
56591         Remove double-negative.  (Sorry this was bugging me.)
56592
56593         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
56594
56595 2011-04-22  Adam Barth  <abarth@webkit.org>
56596
56597         Reviewed by Eric Seidel.
56598
56599         Factor LayoutTestResultsReader out of CommitQueue
56600         https://bugs.webkit.org/show_bug.cgi?id=59244
56601
56602         This code will be shared with the EWS when they start running tests.
56603
56604         * Scripts/webkitpy/tool/bot/layouttestresultsreader.py: Added.
56605         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py: Added.
56606         * Scripts/webkitpy/tool/commands/queues.py:
56607         * Scripts/webkitpy/tool/commands/queues_unittest.py:
56608
56609 2011-04-22  Eric Seidel  <eric@webkit.org>
56610
56611         Reviewed by Dimitri Glazkov.
56612
56613         webkit-patch rebaseline is broken
56614         https://bugs.webkit.org/show_bug.cgi?id=59207
56615
56616         My recent changes to how LayoutTestResults.results_from_string
56617         uncovered a bug in our use of urllib2.
56618         We now are treating the return value from _fetch_results_html()
56619         (which returns urllib2.openurl()) as a string.  That's incorrect,
56620         the return value is a file-like object (which auto-converts to a
56621         string in most cases).
56622
56623         I've updated our urllib2-using code to correctly call .read() on the
56624         resulting object before treating it like a string.
56625         Unfortunately there is no easy way to test this mis-understanding
56626         of the openurl() semantics.
56627
56628         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
56629
56630 2011-04-22  Adam Barth  <abarth@webkit.org>
56631
56632         Reviewed by Eric Seidel.
56633
56634         Factor PatchAnalysis task out of CommitQueueTask
56635         https://bugs.webkit.org/show_bug.cgi?id=59220
56636
56637         This is a first step towards teaching the EWS to run tests.
56638
56639         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
56640         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
56641         * Scripts/webkitpy/tool/bot/patchanalysistask.py: Added.
56642
56643 2011-04-22  Philippe Normand  <pnormand@igalia.com>
56644
56645         Reviewed by Martin Robinson.
56646
56647         [GTK] DRT: implement eventSender.scalePageBy
56648         https://bugs.webkit.org/show_bug.cgi?id=59082
56649
56650         * DumpRenderTree/gtk/EventSender.cpp:
56651         (scalePageByCallback): scalePageBy() support.
56652
56653 2011-04-21  Eric Seidel  <eric@webkit.org>
56654
56655         Reviewed by Adam Barth.
56656
56657         LayoutTestResults should know how to handle NRWT json files
56658         https://bugs.webkit.org/show_bug.cgi?id=59168
56659
56660         LayoutTestResults was originally created to be a parallel
56661         to existing NRWT architecture for dealing with results files.
56662         But then it turns out that NRWT has no such architecture. :(
56663         So this patch writes the necessary code to handle reading
56664         full_results.json and unexpected_results.json files from
56665         NRWT layout-test-results directories.
56666
56667         LayoutTestResults has thus morphed from being ORWT-only to
56668         supporting both ORWT and NRWT.  It's possible at some future
56669         point that other pieces of the NRWT architecture will learn
56670         how to read JSON files in which case this can go away.
56671
56672         This is all done for making it possible for the commit-queue
56673         to run the tests using NWRT and be able to understand the results
56674         (for flaky test reporting, etc.)
56675
56676         * Scripts/webkitpy/common/net/layouttestresults.py:
56677         * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
56678         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
56679         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
56680         * Scripts/webkitpy/common/net/resultsjsonparser.py: Added.
56681         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py: Added.
56682
56683 2011-04-22  Yi Shen  <yi.4.shen@nokia.com>
56684
56685         Reviewed by Kenneth Rohde Christiansen.
56686
56687         [Qt] Upstream Symbian platform plugin
56688         https://bugs.webkit.org/show_bug.cgi?id=58435
56689
56690         Exempting directory WebKit/qt/symbian/platformplugin from style guide.
56691
56692         * Scripts/webkitpy/style/checker.py:
56693         * Scripts/webkitpy/style/checker_unittest.py:
56694
56695 2011-04-22  Balazs Kelemen  <kbalazs@webkit.org>
56696
56697         Reviewed by Csaba Osztrogonác.
56698
56699         [Qt][WK2] Qt should use the mac-wk2 skipped list
56700         https://bugs.webkit.org/show_bug.cgi?id=58536
56701
56702         * Scripts/old-run-webkit-tests:
56703
56704 2011-04-21  Tony Chang  <tony@chromium.org>
56705
56706         Reviewed by Mihai Parparita.
56707
56708         Remove find-mismatched-layout-test-results since it's not needed in a
56709         checksum free world.
56710         https://bugs.webkit.org/show_bug.cgi?id=59156
56711
56712         * Scripts/find-mismatched-layout-test-results: Removed.
56713
56714 2011-04-21  Brent Fulgham  <bfulgham@webkit.org>
56715
56716         Reviewed by Martin Robinson.
56717
56718         Teach build-webkit and update-webkit that the WinCairo port does
56719         not need the non-redistributable WebKitSupportLibraries.zip file.
56720         Also append the _Cairo_CFLite label to the build target for the
56721         default (no argument) case when building with '--wincairo'
56722     
56723         https://bugs.webkit.org/show_bug.cgi?id=58801
56724
56725         * Scripts/build-webkit: Don't die if WebKitSupportLibraries.zip
56726           doesn't exist.
56727         * Scripts/webkitdirs.pm: Append '_Cairo_CFLite' to the default
56728           'Release' build target when passed the '--wincairo' flag.
56729         * Scripts/update-webkit: Don't die if WebKitSupportLibraries.zip
56730           doesn't exist.
56731
56732 2011-04-21  Dirk Pranke  <dpranke@chromium.org>
56733
56734         Reviewed by Eric Seidel.
56735
56736         new-run-webkit-tests: obsolete old code, part 5: rename message_broker2 to message_broker
56737         https://bugs.webkit.org/show_bug.cgi?id=58758
56738
56739         Since worker_mixin is now only used by worker, there's no point
56740         in having it split across two files.
56741
56742         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
56743         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
56744         * Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Added
56745         * Scripts/webkitpy/layout_tests/layout_package/message_broker2.py: Removed.
56746         * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: * Added
56747         * Scripts/webkitpy/layout_tests/layout_package/message_broker2_unittest.py: Removed.
56748
56749 2011-04-21  Dirk Pranke  <dpranke@chromium.org>
56750
56751         Reviewed by Tony Chang.
56752
56753         new-run-webkit-tests: obsolete old code, part 4: merge worker_mixin into worker
56754         https://bugs.webkit.org/show_bug.cgi?id=58756
56755
56756         Since worker_mixin is now only used by worker, there's no point
56757         in having it split across two files.
56758
56759         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
56760         * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py: Removed.
56761
56762 2011-04-21  Dirk Pranke  <dpranke@chromium.org>
56763
56764         Reviewed by Tony Chang.
56765
56766         new-run-webkit-tests: obsolete old code, part 3 - rename test_runner to manager
56767         https://bugs.webkit.org/show_bug.cgi?id=58754
56768
56769         test_runner hasn't been a great name for some time, since all of
56770         the test running is actually done in worker and
56771         single_test_runner. Rename to manager to match the terminology
56772         elsewhere.
56773
56774         * Scripts/webkitpy/layout_tests/layout_package/manager.py: Added.
56775         * Scripts/webkitpy/layout_tests/layout_package/manager_unittest.py: Added.
56776         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
56777         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py: Removed.
56778         * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py: Removed.
56779         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
56780
56781 2011-04-21  Dirk Pranke  <dpranke@chromium.org>
56782
56783         Reviewed by Tony Chang.
56784
56785         new-run-webkit-tests: obsolete old threading code, part 2
56786         https://bugs.webkit.org/show_bug.cgi?id=58753
56787
56788         This merges the test_runner2 code back into test_runner since
56789         there's only a single type of test runner now.
56790
56791         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
56792         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py: Removed.
56793         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
56794
56795 2011-04-21  Maciej Stachowiak  <mjs@apple.com>
56796
56797         Reviewed by Adam Roben.
56798
56799         Add a feature define to allow <details> and <summary> to be disabled
56800         https://bugs.webkit.org/show_bug.cgi?id=59118
56801         <rdar://problem/9257045>
56802
56803         * Scripts/build-webkit:
56804         * Tools.pro:
56805
56806 2011-04-21  Adam Barth  <abarth@webkit.org>
56807
56808         Reviewed by Eric Seidel.
56809
56810         webkit-patch upload should assign the bug to you
56811         https://bugs.webkit.org/show_bug.cgi?id=33699
56812
56813         This patch only re-assigns the bug if it is currently unassigned.  We
56814         can be more aggressive in the future if people want us to be more
56815         agressive.
56816
56817         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
56818         * Scripts/webkitpy/tool/commands/upload_unittest.py:
56819         * Scripts/webkitpy/tool/mocktool.py:
56820         * Scripts/webkitpy/tool/steps/postdiff.py:
56821
56822 2011-04-21  Ojan Vafai  <ojan@chromium.org>
56823
56824         Reviewed by Tony Chang.
56825
56826         move json_results.html over to LayoutTests/fast/harness
56827         https://bugs.webkit.org/show_bug.cgi?id=59154
56828
56829         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
56830
56831 2011-04-21  Adam Barth  <abarth@webkit.org>
56832
56833         Reviewed by Eric Seidel.
56834
56835         ValidateChangeLogs doesn't work on SVN
56836         https://bugs.webkit.org/show_bug.cgi?id=59115
56837
56838         svn-create-patch lies about the diff in the working copy by moving
56839         ChangeLog entries to the top of the diff.  That's fine on most cases,
56840         but causes problems for ValidateChangeLogs, which is trying validate
56841         the where the ChangeLog entry appears.
56842
56843         I haven't added a test for this change because I couldn't figure out
56844         how to write one.  The issue is more of an integration issue, which
56845         we're not really set up to test in our unit testing framework.  If this
56846         patch had worked around the output from svn-create-patch, then I could
56847         have tested that we behave correctly on sample svn-create-patch output,
56848         but, in this case, I've removed the dependency on svn-create-patch.  I
56849         could test that we behave correctly on "svn diff" output, but we
56850         already have those tests.
56851
56852         * Scripts/webkitpy/tool/commands/download_unittest.py:
56853         * Scripts/webkitpy/tool/mocktool.py:
56854         * Scripts/webkitpy/tool/steps/validatechangelogs.py:
56855
56856 2011-04-21  Tony Chang  <tony@chromium.org>
56857
56858         Reviewed by Ojan Vafai.
56859
56860         old-run-webkit-tests/new-run-webkit-tests shouldn't read or write .checksum files
56861         https://bugs.webkit.org/show_bug.cgi?id=58402
56862
56863         * Scripts/old-run-webkit-tests: Don't read or write .checksum files.
56864         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: Don't write .checksum files.
56865         * Scripts/webkitpy/layout_tests/port/base.py: Don't read .checksum files.
56866         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
56867         * Scripts/webkitpy/layout_tests/port/test.py: Update passing pngs to include a checksum.
56868         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
56869
56870 2011-04-21  Ojan Vafai  <ojan@chromium.org>
56871
56872         Reviewed by Tony Chang.
56873
56874         final tests for results.html file
56875         https://bugs.webkit.org/show_bug.cgi?id=59150
56876
56877         This gets us close to 100% code coverage. Once this is
56878         checked in, I'll move this file over to LayoutTests/fast/harness
56879         and make it a proper layout test.
56880
56881         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
56882         * Scripts/webkitpy/layout_tests/layout_package/json_results_test.js:
56883
56884 2011-04-21  Ojan Vafai  <ojan@chromium.org>
56885
56886         Reviewed by Tony Chang.
56887
56888         only expand visible rows
56889         https://bugs.webkit.org/show_bug.cgi?id=59130
56890
56891         For the chromium port, where there are many expected failures,
56892         expanding all of them is quite slow. Only expand the visible ones.
56893         This makes the default case. Also, make the expanding async to
56894         avoid totally killing the process.
56895
56896         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
56897         * Scripts/webkitpy/layout_tests/layout_package/json_results_test.js:
56898
56899 2011-04-21  Martin Robinson  <mrobinson@igalia.com>
56900
56901         [GTK] DRT: implement eventSender.scalePageBy
56902         https://bugs.webkit.org/show_bug.cgi?id=59082
56903
56904         Rolling out r84507 since it broke many GTK+ tests.
56905
56906         * DumpRenderTree/gtk/EventSender.cpp:
56907
56908 2011-04-21  Sam Weinig  <sam@webkit.org>
56909
56910         Reviewed by Simon Fraser.
56911
56912         Add way to garbage collect between each test when running layout tests
56913         https://bugs.webkit.org/show_bug.cgi?id=59126
56914
56915         * DumpRenderTree/mac/DumpRenderTree.mm:
56916         (initializeGlobalsFromCommandLineOptions):
56917         (runTest):
56918         * Scripts/old-run-webkit-tests:
56919         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
56920         (WTR::InjectedBundle::didReceiveMessage):
56921         * WebKitTestRunner/TestController.cpp:
56922         (WTR::TestController::TestController):
56923         (WTR::TestController::initialize):
56924         (WTR::TestController::resetStateToConsistentValues):
56925         * WebKitTestRunner/TestController.h:
56926
56927 2011-04-21  Ojan Vafai  <ojan@chromium.org>
56928
56929         Reviewed by Mihai Parparita.
56930
56931         fix another innocuous JS error in expand/collapseAllExpectations
56932         https://bugs.webkit.org/show_bug.cgi?id=59122
56933
56934         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
56935         * Scripts/webkitpy/layout_tests/layout_package/json_results_test.js:
56936
56937 2011-04-20  Ojan Vafai  <ojan@chromium.org>
56938
56939         Reviewed by Tony Chang.
56940
56941         put unexpected passes into their own table
56942         https://bugs.webkit.org/show_bug.cgi?id=59016
56943
56944         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
56945
56946 2011-04-20  Ojan Vafai  <ojan@chromium.org>
56947
56948         Reviewed by Tony Chang.
56949
56950         initial set of tests for new results.html file
56951         https://bugs.webkit.org/show_bug.cgi?id=59031
56952
56953         Also, fix the bugs (mostly innocuous JS errors) the tests found.
56954
56955         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
56956         * Scripts/webkitpy/layout_tests/layout_package/json_results_test.js: Added.
56957
56958 2011-04-21  Philippe Normand  <pnormand@igalia.com>
56959
56960         Reviewed by Martin Robinson.
56961
56962         [GTK] missing LayoutTestController::callShouldCloseOnWebView()
56963         https://bugs.webkit.org/show_bug.cgi?id=59086
56964
56965         callShouldCloseOnWebView() implementation.
56966
56967         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
56968         (LayoutTestController::callShouldCloseOnWebView):
56969
56970 2011-04-21  Philippe Normand  <pnormand@igalia.com>
56971
56972         Reviewed by Martin Robinson.
56973
56974         [GTK] DRT: implement eventSender.scalePageBy
56975         https://bugs.webkit.org/show_bug.cgi?id=59082
56976
56977         * DumpRenderTree/gtk/EventSender.cpp:
56978         (scalePageByCallback): scalePageBy() support.
56979
56980 2011-04-20  Dominic Cooney  <dominicc@chromium.org>
56981
56982         Reviewed by Dimitri Glazkov.
56983
56984         layoutTestController can create and destroy shadow DOM
56985         https://bugs.webkit.org/show_bug.cgi?id=59058
56986
56987         Chromium, Mac, GTK and Qt DRT; and WK2 test runner.
56988
56989         * DumpRenderTree/LayoutTestController.cpp:
56990         (ensureShadowRootCallback):
56991         (removeShadowRootCallback):
56992         (LayoutTestController::staticFunctions):
56993         * DumpRenderTree/LayoutTestController.h:
56994         * DumpRenderTree/chromium/LayoutTestController.cpp:
56995         (LayoutTestController::LayoutTestController):
56996         (LayoutTestController::ensureShadowRoot):
56997         (LayoutTestController::removeShadowRoot):
56998         * DumpRenderTree/chromium/LayoutTestController.h:
56999         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
57000         (LayoutTestController::ensureShadowRoot):
57001         (LayoutTestController::removeShadowRoot):
57002         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
57003         (LayoutTestController::shadowRoot):
57004         (LayoutTestController::ensureShadowRoot):
57005         (LayoutTestController::removeShadowRoot):
57006         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
57007         (LayoutTestController::ensureShadowRoot):
57008         (LayoutTestController::removeShadowRoot):
57009         * DumpRenderTree/qt/LayoutTestControllerQt.h:
57010         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
57011         (LayoutTestController::ensureShadowRoot):
57012         (LayoutTestController::removeShadowRoot):
57013         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
57014         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
57015         (WTR::LayoutTestController::shadowRoot):
57016         (WTR::LayoutTestController::ensureShadowRoot):
57017         (WTR::LayoutTestController::removeShadowRoot):
57018         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
57019
57020 2011-04-20  Dirk Pranke  <dpranke@chromium.org>
57021
57022         Reviewed by Eric Seidel.
57023
57024         new-run-webkit-tests: handle ctrl-c more cleanly
57025         https://bugs.webkit.org/show_bug.cgi?id=58849
57026
57027         * Scripts/new-run-webkit-tests:
57028         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
57029
57030 2011-04-20  Sheriff Bot  <webkit.review.bot@gmail.com>
57031
57032         Unreviewed, rolling out r84431.
57033         http://trac.webkit.org/changeset/84431
57034         https://bugs.webkit.org/show_bug.cgi?id=59061
57035
57036         Breaks for folks who don't have editbugs (Requested by abarth
57037         on #webkit).
57038
57039         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
57040         * Scripts/webkitpy/tool/commands/upload_unittest.py:
57041         * Scripts/webkitpy/tool/mocktool.py:
57042         * Scripts/webkitpy/tool/steps/postdiff.py:
57043
57044 2011-04-20  Leo Yang  <leo.yang@torchmobile.com.cn>
57045
57046         Unreviewed.
57047
57048         Adding myself to committers.py.
57049
57050         * Scripts/webkitpy/common/config/committers.py:
57051
57052 2011-04-20  Adam Barth  <abarth@webkit.org>
57053
57054         Reviewed by Eric Seidel.
57055
57056         webkit-patch upload should assign the bug to you
57057         https://bugs.webkit.org/show_bug.cgi?id=33699
57058
57059         This patch only re-assigns the bug if it is currently unassigned.  We
57060         can be more aggressive in the future if people want us to be more
57061         agressive.
57062
57063         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
57064         * Scripts/webkitpy/tool/commands/upload_unittest.py:
57065         * Scripts/webkitpy/tool/mocktool.py:
57066         * Scripts/webkitpy/tool/steps/postdiff.py:
57067
57068 2011-04-20 Peter Gal <galpeter@inf.u-szeged.hu>
57069
57070         Reviewed by Csaba Osztrogonác.
57071
57072         Modify builder.html template to allow easy access
57073         to list more builds on the builder's page.
57074
57075         https://bugs.webkit.org/show_bug.cgi?id=59008
57076
57077         * BuildSlaveSupport/build.webkit.org-config/templates/builder.html:
57078
57079 2011-04-20  Peter Gal  <galpeter@inf.u-szeged.hu>
57080
57081         Reviewed by Csaba Osztrogonác.
57082
57083         Add the default template for builder page.
57084
57085         https://bugs.webkit.org/show_bug.cgi?id=59008
57086
57087         * BuildSlaveSupport/build.webkit.org-config/templates/builder.html: Added.
57088
57089 2011-04-20  Ojan Vafai  <ojan@chromium.org>
57090
57091         Reviewed by Eric Seidel.
57092
57093         move page generation into a single function
57094         https://bugs.webkit.org/show_bug.cgi?id=59027
57095
57096         Now executing the script doesn't create any state. We should then
57097         be able to write tests for this by setting custom results data.
57098
57099         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57100
57101 2011-04-20  Ojan Vafai  <ojan@chromium.org>
57102
57103         Reviewed by Eric Seidel.
57104
57105         move global state into a shared object
57106         https://bugs.webkit.org/show_bug.cgi?id=59023
57107
57108         This makes the code more testable.
57109
57110         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57111
57112 2011-04-20  Ojan Vafai  <ojan@chromium.org>
57113
57114         Reviewed by Tony Chang.
57115
57116         move global state into a shared object
57117         https://bugs.webkit.org/show_bug.cgi?id=59023
57118
57119         This makes the code more testable.
57120
57121         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57122
57123 2011-04-20  Ojan Vafai  <ojan@chromium.org>
57124
57125         Reviewed by Eric Seidel.
57126
57127         add expandAll/collapseAll links
57128         https://bugs.webkit.org/show_bug.cgi?id=59011
57129
57130         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57131
57132 2011-04-20  Kevin Ollivier  <kevino@theolliviers.com>
57133
57134         [wx] Unreviewed build fixes for wx 2.9.1, Cocoa and 64-bit builds.
57135
57136         * Scripts/webkitdirs.pm:
57137         * wx/build/build_utils.py:
57138         * wx/build/settings.py:
57139         * wx/install-unix-extras:
57140         * wx/packaging/build-mac-installer.py:
57141         * wx/packaging/build-win-installer.py:
57142
57143 2011-04-20  Adam Roben  <aroben@apple.com>
57144
57145         Replace old-run-webkit-tests's win-7 platform with win-7sp0
57146
57147         It was an error that we had a win-7 platform to begin with. Windows 7 was the most recent
57148         version of Windows we cared about, so its results should just go in win. But now that
57149         Windows 7 SP1 exists (and has different results for some tests), we need a place to store
57150         results for Windows 7 without SP1 (and older versions of Windows).
57151
57152         Part of <http://webkit.org/b/56617> Several tests fail on Windows 7 SP1 due to font
57153         differences from Windows 7 "SP0"
57154
57155         Reviewed by David Kilzer.
57156
57157         * Scripts/old-run-webkit-tests: Replaced win-7 with win-7sp0. Newer versions of Windows 7
57158         will just use "win".
57159
57160         * Scripts/webkitdirs.pm:
57161         (isWindows7SP0): Added. Replaces isWindows7, because that function had no remaining callers.
57162
57163 2011-04-20  Adam Roben  <aroben@apple.com>
57164
57165         Teach webkitdirs::winVersion about build numbers
57166
57167         The build number isn't currently used, but soon will be.
57168
57169         As a bonus, winVersion now works on non-Cygwin variants of Perl!
57170
57171         Fixes <http://webkit.org/b/58991> Need a way to distinguish between Windows 7 and Windows 7
57172         SP1
57173
57174         Reviewed by Anders Carlsson.
57175
57176         * Scripts/webkitdirs.pm:
57177         (isAnyWindows): Added. Returns true if we're running on any Windows-ish Perl.
57178         (determineWinVersion): Use `cmd /c ver` to get the version number, including the build
57179         number. Parse the version number into a hash, similar to how osXVersion() works.
57180
57181         (isWindows7):
57182         (isWindowsVista):
57183         (isWindowsXP):
57184         Updated for changes to winVersion().
57185
57186 2011-04-20  W. James MacLean  <wjmaclean@chromium.org>
57187
57188         Reviewed by Kenneth Russell.
57189
57190         Add support for composite-to-texture to DumpRenderTree.
57191         https://bugs.webkit.org/show_bug.cgi?id=58675
57192
57193         * DumpRenderTree/chromium/DumpRenderTree.cpp:
57194         (main):
57195         * DumpRenderTree/chromium/TestShell.cpp:
57196         (TestShell::TestShell):
57197         (TestShell::resetWebSettings):
57198         * DumpRenderTree/chromium/TestShell.h:
57199         (TestShell::setCompositeToTexture):
57200         * DumpRenderTree/chromium/WebPreferences.cpp:
57201         (WebPreferences::reset):
57202         (WebPreferences::applyTo):
57203         * DumpRenderTree/chromium/WebPreferences.h:
57204
57205 2011-04-19  Eric Seidel  <eric@webkit.org>
57206
57207         Reviewed by Adam Barth.
57208
57209         The commit-queue is confused when non-layout tests fail
57210         https://bugs.webkit.org/show_bug.cgi?id=58955
57211
57212         As seen in http://queues.webkit.org/results/8474435
57213
57214         It fails to create an archive of the layout test results
57215         and then throws an exception.
57216
57217         I've fixed this by making it catch the exception as well
57218         as made it so it never calls that path in the common case.
57219
57220         I've updated MockFileSystem to understand rmtree's affect on
57221         directories as well as files.
57222
57223         * Scripts/webkitpy/common/system/filesystem_mock.py:
57224         * Scripts/webkitpy/common/system/workspace.py:
57225         * Scripts/webkitpy/tool/commands/queues.py:
57226         * Scripts/webkitpy/tool/commands/queues_unittest.py:
57227         * Scripts/webkitpy/tool/mocktool.py:
57228
57229 2011-04-19  Ojan Vafai  <ojan@chromium.org>
57230
57231         Fix check for whether a failure is expected to deal with
57232         flaky tests and FAIL expectations.
57233         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57234
57235 2011-04-19  Ojan Vafai  <ojan@chromium.org>
57236
57237         Reviewed by Eric Seidel.
57238
57239         don't show missing text results for tests that only dump image results
57240         https://bugs.webkit.org/show_bug.cgi?id=58931
57241
57242         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57243         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57244
57245 2011-04-19  Ojan Vafai  <ojan@chromium.org>
57246
57247         Reviewed by Eric Seidel.
57248
57249         don't show failures table if there are only new tests
57250         https://bugs.webkit.org/show_bug.cgi?id=58929
57251
57252         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57253
57254 2011-04-19  Ojan Vafai  <ojan@chromium.org>
57255
57256         Reviewed by Eric Seidel.
57257
57258         don't show failures table if there are only new tests
57259         https://bugs.webkit.org/show_bug.cgi?id=58929
57260
57261         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57262
57263 2011-04-19  Ojan Vafai  <ojan@chromium.org>
57264
57265         Fix unittest failures from http://trac.webkit.org/changeset/84294.
57266
57267         * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
57268         * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
57269
57270 2011-04-18  Ojan Vafai  <ojan@chromium.org>
57271
57272         Reviewed by Eric Seidel.
57273
57274         switch new-run-webkit-tests to using the new results file
57275         https://bugs.webkit.org/show_bug.cgi?id=58861
57276
57277         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
57278         * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
57279         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57280
57281 2011-04-19  Renata Hodovan  <reni@webkit.org>
57282
57283         Reviewed by Eric Seidel.
57284
57285         Move the alignment related macros from Vector.h to new Alignment.h.
57286         https://bugs.webkit.org/show_bug.cgi?id=56000
57287
57288         Adding the new file to the forwarding headers of Tools.
57289
57290         * DumpRenderTree/ForwardingHeaders/wtf/Alignment.h: Added.
57291
57292 2011-04-19  Kevin Ollivier  <kevino@theolliviers.com>
57293
57294         [wx] Unreviewed build fix for Win / wx 2.9 wxPython installation.
57295
57296         * wx/packaging/build-win-installer.py:
57297         * wx/packaging/wxWebKitInstaller.iss.in:
57298
57299 2011-04-19  Adam Roben  <aroben@apple.com>
57300
57301         Skip another accelerated-compositing-sensitive test when accelerated compositing is disabled
57302
57303         * Scripts/old-run-webkit-tests: Skip media/controls-without-preload.html on Windows when
57304         accelerated compositing is disabled.
57305
57306 2011-04-19  Ojan Vafai  <ojan@chromium.org>
57307
57308         Remove accidentally committed debug code.
57309         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57310
57311 2011-04-19  Brent Fulgham  <bfulgham@webkit.org>
57312
57313         Unreviewed build correction.
57314
57315         Avoid duplicate stub implementation of test routine
57316         for WinCairo build.
57317
57318         * WebKitTestRunner/win/TestInvocationWin.cpp: Exclude
57319         WinCairo from using this stub.
57320
57321 2011-04-18  Ojan Vafai  <ojan@chromium.org>
57322
57323         Reviewed by Eric Seidel.
57324
57325         make results file work with audio and reftests
57326         https://bugs.webkit.org/show_bug.cgi?id=58860
57327
57328         Also fix bug with timeout tests and store a bit in the JSON
57329         for new image tests instead of loading the image result to check if it's there.
57330
57331         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57332         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57333
57334 2011-04-19  Jer Noble  <jer.noble@apple.com>
57335
57336         Reviewed by Adam Roben.
57337
57338         REGRESSION (r84206): 50 tests failing on SnowLeopard Intel Release (WebKit2 Tests) due to extra "supportsFullScreen() == true" output
57339         https://bugs.webkit.org/show_bug.cgi?id=58890
57340
57341         Add a layoutTestController flag which controls when full screen callbacks are written to stdout.
57342         Defaults to false.
57343
57344         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added dumpFullScreenCallbacks().
57345         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
57346         (WTR::InjectedBundlePage::supportsFullScreen): Only write to stdout if shouldDumpFullScreenCallbacks is set.
57347         (WTR::InjectedBundlePage::enterFullScreenForElement): Ditto.
57348         (WTR::InjectedBundlePage::exitFullScreenForElement): Ditto.
57349         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
57350         (WTR::LayoutTestController::LayoutTestController): Initialize new ivar.
57351         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
57352         (WTR::LayoutTestController::dumpFullScreenCallbacks): Added.
57353         (WTR::LayoutTestController::shouldDumpFullScreenCallbacks): Added.
57354
57355 2011-04-19  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
57356
57357         Reviewed by Andreas Kling.
57358
57359         [Qt] fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html fails (DRT sideeffect)
57360         https://bugs.webkit.org/show_bug.cgi?id=35086
57361
57362         fast/xmlhttprequest/xmlhttprequest-no-file-access.html caused
57363         a DRT sideeffect problem, because the resetSettings didn't set
57364         the default value of LocalContentCanAccessFileUrls.
57365
57366         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
57367         (WebCore::WebPage::resetSettings):
57368
57369 2011-04-18  Zan Dobersek  <zandobersek@gmail.com>
57370
57371         Reviewed by Martin Robinson.
57372
57373         [GTK] Need support for dumping focus rectangles in pixel results
57374         https://bugs.webkit.org/show_bug.cgi?id=53647
57375
57376         Dump the selection rect if it has been requested.
57377
57378         * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
57379         (createBitmapContextFromWebView):
57380
57381 2011-04-18  Eric Seidel  <eric@webkit.org>
57382
57383         Reviewed by Adam Barth.
57384
57385         test-webkitpy should run the ActiveWorkItems tests
57386         https://bugs.webkit.org/show_bug.cgi?id=58859
57387
57388         Also make the unit tests pass. :)
57389
57390         * QueueStatusServer/model/activeworkitems.py:
57391         * QueueStatusServer/model/queue.py:
57392         * QueueStatusServer/model/workitems.py:
57393
57394 2011-04-18  Eric Seidel  <eric@webkit.org>
57395
57396         Reviewed by Adam Barth.
57397
57398         queues.webkit.org should show trailing-days pass counts for queues
57399         https://bugs.webkit.org/show_bug.cgi?id=58812
57400
57401         This lets us see if each bot is pulling its own weight or not.
57402         Before I wrote this patch our suspicious was that one of the
57403         cq bots was doing most of the work.  Turns out they're actually
57404         pretty even in their recent pass counts.
57405
57406         * QueueStatusServer/handlers/queuestatus.py:
57407         * QueueStatusServer/index.yaml:
57408         * QueueStatusServer/templates/queuestatus.html:
57409
57410 2011-04-18  Dirk Pranke  <dpranke@chromium.org>
57411
57412         Reviewed by Eric Seidel.
57413
57414         new-run-webkit-tests: obsolete old threading code, part 1
57415         https://bugs.webkit.org/show_bug.cgi?id=58752
57416
57417         This patch removes support for the 'old-inline' and
57418         'old-threads' worker models, and deletes the corresponding code.
57419         Now that the new code is stable, this stuff is no longer
57420         necessary.
57421
57422         * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: Removed.
57423         * Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Removed.
57424         * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: Removed.
57425         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57426         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
57427         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
57428
57429 2011-04-18  Dirk Pranke  <dpranke@chromium.org>
57430
57431         Reviewed by Eric Seidel.
57432
57433         new-run-webkit-tests: add an --additional-drt-flag option
57434         https://bugs.webkit.org/show_bug.cgi?id=58680
57435
57436         NRWT has a bunch of command line flags that exist to pass
57437         custom flags to DRT, especially on chromium. It would be nice
57438         if there was a generic mechanism to pass through flags so we
57439         didn't have all the custom ones.
57440
57441         * Scripts/webkitpy/layout_tests/port/chromium.py:
57442         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
57443         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
57444         * Scripts/webkitpy/layout_tests/port/test.py:
57445         * Scripts/webkitpy/layout_tests/port/webkit.py:
57446         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
57447
57448 2011-04-05  Jer Noble  <jer.noble@apple.com>
57449
57450         Reviewed by Sam Weinig.
57451
57452         WebKit2: WKTR should support WebKit2 full screen APIs
57453         https://bugs.webkit.org/show_bug.cgi?id=56318
57454
57455         Respond to enterFullScreenForElement() and exitFullScreenForElement(), allowing 
57456         WKTR to test the LayoutTest/fullscreen/ tests.
57457
57458         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
57459         (WTR::InjectedBundlePage::InjectedBundlePage): Add support for WKBundlePageFullScreenClient.
57460         (WTR::InjectedBundlePage::supportsFullScreen): Added.
57461         (WTR::InjectedBundlePage::enterFullScreenForElement): Added.
57462         (WTR::InjectedBundlePage::exitFullScreenForElement): Added.
57463         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
57464         * WebKitTestRunner/TestController.cpp:
57465         (WTR::TestController::resetStateToConsistentValues): Enable the full screen preference.
57466
57467 2011-04-18  Dirk Pranke  <dpranke@chromium.org>
57468
57469         Reviewed by Tony Chang.
57470
57471         new-run-webkit-tests: remove chromium-specific relpath hack for --results-directory
57472         https://bugs.webkit.org/show_bug.cgi?id=58388
57473
57474         * Scripts/webkitpy/layout_tests/port/chromium.py:
57475
57476 2011-04-18  Evan Martin  <evan@chromium.org>
57477
57478         Reviewed by Eric Seidel.
57479
57480         [chromium] expose title direction to webkit client
57481         https://bugs.webkit.org/show_bug.cgi?id=58823
57482
57483         * DumpRenderTree/chromium/LayoutTestController.cpp:
57484         (LayoutTestController::LayoutTestController):
57485         (LayoutTestController::reset):
57486         * DumpRenderTree/chromium/LayoutTestController.h:
57487         (LayoutTestController::setTitleTextDirection):
57488         Add member and setter to let us stash the title direction at load time.
57489
57490         * DumpRenderTree/chromium/WebViewHost.cpp:
57491         (WebViewHost::didReceiveTitle):
57492         * DumpRenderTree/chromium/WebViewHost.h:
57493         Adapt to new API; push the title into layoutTestController when we
57494         receive it.
57495
57496 2011-04-18  Dirk Pranke  <dpranke@chromium.org>
57497
57498         Unreviewed.
57499
57500         Re-land r84112. It was rolled out in r84127 but it didn't need
57501         to be. Only r84111 actually broke things.
57502
57503         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
57504         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
57505
57506 2011-04-18  Dirk Pranke  <dpranke@chromium.org>
57507
57508         Reviewed by Tony Chang.
57509
57510         new-run-webkit-tests: don't run more processes than necessary
57511         https://bugs.webkit.org/show_bug.cgi?id=58751
57512
57513         Previously NRWT would start up 1 process for each processor on
57514         the machine by default, which was a waste if we were only
57515         running a few shards of tests.
57516
57517         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57518         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
57519         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
57520
57521 2011-04-18  Ojan Vafai  <ojan@chromium.org>
57522
57523         Reviewed by Eric Seidel.
57524
57525         include links to actual.png files for new pixel tests
57526         https://bugs.webkit.org/show_bug.cgi?id=58831
57527
57528         Load image elements to confirm whether the files exist.
57529         Image elements will load without being appended to the DOM.
57530
57531         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57532
57533 2011-04-18  Ojan Vafai  <ojan@chromium.org>
57534
57535         Reviewed by Eric Seidel.
57536
57537         add a zoomed view for pixel results to the new results html file
57538         https://bugs.webkit.org/show_bug.cgi?id=58827
57539
57540         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57541
57542 2011-04-18  Ojan Vafai  <ojan@chromium.org>
57543
57544         Reviewed by Eric Seidel.
57545
57546         add labels to results html page
57547         https://bugs.webkit.org/show_bug.cgi?id=58803
57548
57549         -fix iframe size to be the size of the png results
57550         -fix a bunch of aesthetic nits
57551         -fix some incorrectly styled code
57552
57553         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57554
57555 2011-04-18  Chang Shu  <cshu@webkit.org>
57556
57557         Reviewed by Eric Seidel.
57558
57559         WebKitTestRunner needs layoutTestController.pathToLocalResource
57560         https://bugs.webkit.org/show_bug.cgi?id=42541
57561
57562         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
57563         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
57564         * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
57565         (WTR::LayoutTestController::pathToLocalResource):
57566         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
57567         (WTR::LayoutTestController::pathToLocalResource):
57568         * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
57569         (WTR::LayoutTestController::pathToLocalResource):
57570
57571 2011-04-18  Timothy Hatcher  <timothy@apple.com>
57572
57573         Make update-webkit-localizable-strings put WebKit/win strings in WebCore
57574         now that all localized strings in WebKit/win use WEB_UI_STRING.
57575
57576         https://webkit.org/b/58747
57577
57578         Reviewed by Dan Bernstein.
57579
57580         * Scripts/update-webkit-localizable-strings: Remove the code that updated WebKit/win differently.
57581
57582 2011-04-18  Patrick Gansterer  <paroga@webkit.org>
57583
57584         Reviewed by Adam Roben.
57585
57586         [WIN] Use WCHAR instead of TCHAR
57587         https://bugs.webkit.org/show_bug.cgi?id=58755
57588
57589         We always use the UNICODE versions of windows functions, so
57590         the usage of TCHAR makes no sense and mixing them is bad style.
57591
57592         * WinLauncher/PrintWebUIDelegate.cpp:
57593           Also fix various style issues (including indentation and removal of ugly C-casts).
57594         * WinLauncher/WinLauncher.cpp:
57595
57596 2011-04-18  Dominic Cooney  <dominicc@chromium.org>
57597
57598         Reviewed by Andreas Kling.
57599
57600         Add layoutTestController.shadowRoot to Qt DRT.
57601         https://bugs.webkit.org/show_bug.cgi?id=58759
57602
57603         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
57604         (LayoutTestController::shadowRoot): Added.
57605         * DumpRenderTree/qt/LayoutTestControllerQt.h:
57606
57607 2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>
57608
57609         Unreviewed, rolling out r84111.
57610         http://trac.webkit.org/changeset/84111
57611         https://bugs.webkit.org/show_bug.cgi?id=58771
57612
57613         Chromium linux layout tests are broken. (Requested by loislo2
57614         on #webkit).
57615
57616         * Scripts/webkitpy/layout_tests/port/chromium.py:
57617         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
57618         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
57619
57620 2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>
57621
57622         Unreviewed, rolling out r84112.
57623         http://trac.webkit.org/changeset/84112
57624         https://bugs.webkit.org/show_bug.cgi?id=58770
57625
57626         Chromium linux layout tests are broken. (Requested by loislo2
57627         on #webkit).
57628
57629         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
57630         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
57631
57632 2011-04-17  Daniel Bates  <dbates@webkit.org>
57633
57634         Reviewed by Eric Seidel and Adam Barth.
57635
57636         webkit-patch land hangs if svn prompts for credentials
57637         https://bugs.webkit.org/show_bug.cgi?id=31500
57638
57639         Prompt for username and password when using git-svn and there aren't cached SVN credentials.
57640
57641         * Scripts/webkitpy/common/checkout/scm.py:
57642           - Added mixin class SVNRepository and made both class SVN and Git inherit from it.
57643           - Moved SVN.has_authorization_for_realm() to class SVNRepository and removed default value
57644             for argument realm; modified call sites as needed.
57645           - Modified AuthenticationError constructor to take optional prompt_for_password argument.
57646           - Modified {SCM, SVN, Git}.commit_with_message() to take optional password argument.
57647           - Modified Git._commit_on_branch() to take optional username and password argument.
57648           - Modified Git.push_local_commits_to_server() to take optional username and password
57649             argument and to call has_authorization_for_realm().
57650         * Scripts/webkitpy/common/checkout/scm_unittest.py:
57651           - Modified SVNTest.test_commit_without_authorization() to take dummy realm argument.
57652           - Modified SVNTest.test_not_have_authorization_for_realm() to pass realm argument to
57653             SVN.has_authorization_for_realm().
57654         * Scripts/webkitpy/common/net/credentials.py:
57655           - Modified Credentials.read_credentials() to call User.prompt_password() instead
57656             of using getpass.getpass() directly.
57657         * Scripts/webkitpy/common/system/user.py:
57658           - Added User.prompt_password().
57659         * Scripts/webkitpy/tool/steps/commit.py:
57660           - Modified Commit.run() to prompt for a password if needed.
57661
57662 2011-04-17  Dirk Pranke  <dpranke@chromium.org>
57663
57664         Reviewed by Ojan Vafai.
57665
57666         new-run-webkit-tests: save stderr into the layout-test-results dir
57667         https://bugs.webkit.org/show_bug.cgi?id=58690
57668
57669         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
57670         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
57671
57672 2011-04-17  Dirk Pranke  <dpranke@chromium.org>
57673
57674         Reviewed by Ojan Vafai.
57675
57676         new-run-webkit-tests: read stderr from chromium DRT separately
57677         https://bugs.webkit.org/show_bug.cgi?id=58708
57678
57679         * Scripts/webkitpy/layout_tests/port/chromium.py:
57680         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
57681         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
57682
57683 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
57684
57685         Reviewed by Adam Barth.
57686
57687         Rename PLATFORM(CA) to USE(CA)
57688         https://bugs.webkit.org/show_bug.cgi?id=58742
57689
57690         * DumpRenderTree/mac/DumpRenderTree.mm:
57691         (resetDefaultsToConsistentValues):
57692
57693 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
57694
57695         Reviewed by Adam Barth.
57696
57697         Rename PLATFORM(CG) to USE(CG)
57698         https://bugs.webkit.org/show_bug.cgi?id=58729
57699
57700         * DumpRenderTree/PixelDumpSupport.cpp:
57701         * DumpRenderTree/chromium/WebViewHost.cpp:
57702         (WebViewHost::paintRect):
57703         * DumpRenderTree/config.h:
57704         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
57705         (createBitmapContextFromWebView):
57706         * TestWebKitAPI/PlatformWebView.h:
57707         * WebKitTestRunner/config.h:
57708         * WebKitTestRunner/win/TestInvocationWin.cpp:
57709
57710 2011-04-16  Patrick Gansterer  <paroga@webkit.org>
57711
57712         Reviewed by Eric Seidel.
57713
57714         Rename PLATFORM(CAIRO) to USE(CAIRO)
57715         https://bugs.webkit.org/show_bug.cgi?id=55192
57716
57717         * DumpRenderTree/PixelDumpSupport.cpp:
57718         * DumpRenderTree/config.h:
57719         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
57720         (createBitmapContextFromWebView):
57721         * WebKitTestRunner/config.h:
57722
57723 2011-04-16  Ojan Vafai  <ojan@chromium.org>
57724
57725         Reviewed by Eric Seidel.
57726
57727         show diffs+test inline in the results page
57728         https://bugs.webkit.org/show_bug.cgi?id=58723
57729         
57730         Put each row in it's own tbody and sort based on tbodies. That way
57731         we can append the results to the tbody inline as another table row.
57732
57733         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57734
57735 2011-04-16  Ojan Vafai  <ojan@chromium.org>
57736
57737         Reviewed by Eric Seidel.
57738
57739         handle new tests in the new results html file
57740         https://bugs.webkit.org/show_bug.cgi?id=58715
57741
57742         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57743
57744 2011-04-15  Dirk Pranke  <dpranke@chromium.org>
57745
57746         Reviewed by Ojan Vafai.
57747
57748         old-run-webkit-tests: save the list of tests actually run to a file
57749         https://bugs.webkit.org/show_bug.cgi?id=58692
57750
57751         * Scripts/old-run-webkit-tests:
57752
57753 2011-04-15  Dirk Pranke  <dpranke@chromium.org>
57754
57755         Reviewed by Ojan Vafai.
57756
57757         fix MockFileSystem.abspath() on windows
57758         https://bugs.webkit.org/show_bug.cgi?id=58713
57759
57760         The existing code was borked on Windows if a path was passed
57761         in using a drive letter (e.g., "d:\foo.txt"), and would go
57762         into an infinite recursive loop. While win paths shouldn't
57763         normally be passed into the mock filesystem, this just
57764         bulletproofs things a bit (note that "/foo.txt" is considered
57765         an absolute path on windows python as well.
57766
57767         * Scripts/webkitpy/common/system/filesystem_mock.py:
57768
57769 2011-04-15  Ojan Vafai  <ojan@chromium.org>
57770
57771         Reviewed by Eric Seidel.
57772
57773         show stderr files and httpd log files
57774         https://bugs.webkit.org/show_bug.cgi?id=58714
57775
57776         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57777         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57778
57779 2011-04-15  Shishir Agrawal  <shishir@chromium.org>
57780
57781         Reviewed by James Robinson.
57782
57783         Add a flag to guard Page Visibility API changes.
57784         https://bugs.webkit.org/show_bug.cgi?id=58464
57785
57786         * Scripts/build-webkit:
57787
57788 2011-04-15  Chang Shu  <cshu@webkit.org>
57789
57790         Reviewed by Alexey Proskuryakov.
57791
57792         When a message with url embedded is added to console, the "file:" scheme
57793         and path should be stripped.
57794         https://bugs.webkit.org/show_bug.cgi?id=58665
57795
57796         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
57797         (WTR::lastFileURLPathComponent):
57798         (WTR::InjectedBundlePage::willAddMessageToConsole):
57799
57800 2011-04-15  Jeff Miller  <jeffm@apple.com>
57801
57802         Reviewed by Sam Weinig.
57803
57804         Add takeFocus callback to WKPageUIClient
57805         https://bugs.webkit.org/show_bug.cgi?id=58686
57806
57807         Add empty WKPageUIClient entries for the takeFocus callback in the MiniBrowser and WebKitTestRunner.
57808
57809         * MiniBrowser/mac/BrowserWindowController.m:
57810         (-[BrowserWindowController awakeFromNib]): Added empty takeFocus entry.
57811         * MiniBrowser/win/BrowserView.cpp:
57812         (BrowserView::create): Added empty takeFocus entry.
57813         * WebKitTestRunner/TestController.cpp:
57814         (WTR::TestController::createOtherPage): Added empty takeFocus entry.
57815         (WTR::TestController::initialize): Added empty takeFocus entry.
57816
57817 2011-04-15  Ojan Vafai  <ojan@chromium.org>
57818
57819         Reviewed by Eric Seidel.
57820
57821         only show pretty-diff/wdiff if they were generated
57822         https://bugs.webkit.org/show_bug.cgi?id=58682
57823
57824         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57825         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57826         * Scripts/webkitpy/layout_tests/port/base.py:
57827
57828 2011-04-15  Andreas Kling  <kling@webkit.org>
57829
57830         Reviewed by Antonio Gomes.
57831
57832         [Qt] DRT: Default custom policy delegate decision should be Ignore.
57833
57834         If layoutTestController.setCustomPolicyDelegate() is called with only
57835         one argument, the second ("permissive") should default to false.
57836
57837         * DumpRenderTree/qt/LayoutTestControllerQt.h:
57838
57839 2011-04-15  Ojan Vafai  <ojan@chromium.org>
57840
57841         Reviewed by Eric Seidel.
57842
57843         fix path to layout test in new results file
57844         https://bugs.webkit.org/show_bug.cgi?id=58618
57845
57846         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57847         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57848
57849 2011-04-15  Ojan Vafai  <ojan@chromium.org>
57850
57851         Reviewed by Eric Seidel.
57852
57853         fix sorting in new results file
57854         https://bugs.webkit.org/show_bug.cgi?id=58616
57855
57856         -Fix the custom sort to return -1, 0, 1 instead of true/false.
57857         -Secondary sort by test name when sort values are equal.
57858         -Sort by test name by default.
57859
57860         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57861
57862 2011-04-15  Dmitry Lomov  <dslomov@google.com>
57863
57864         Reviewed by David Levin.
57865
57866         check-webkit-style shouldn't complain about not including a primary header file 
57867         if none exists
57868         https://bugs.webkit.org/show_bug.cgi?id=39514
57869
57870         * Scripts/webkitpy/style/checkers/cpp.py:
57871         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
57872
57873 2011-04-15  Eric Seidel  <eric@webkit.org>
57874
57875         Reviewed by Mihai Parparita.
57876
57877         queues.webkit.org should display when a bot last rebooted
57878         https://bugs.webkit.org/show_bug.cgi?id=58562
57879
57880         There is more repeated code here than I would like.  I fear
57881         my django-fu isn't quite up to snuff.
57882
57883         * QueueStatusServer/handlers/queuestatus.py:
57884         * QueueStatusServer/templates/queuestatus.html:
57885
57886 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
57887
57888         Reviewed by Adam Barth.
57889
57890         Remove dependency on chromium skia::PlatformCanvas
57891         https://bugs.webkit.org/show_bug.cgi?id=57563
57892         
57893         Fixed compile error on Mac when using Core Graphics.
57894
57895         * DumpRenderTree/chromium/WebViewHost.cpp:
57896         (WebViewHost::paintRect):
57897
57898 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
57899
57900         Reviewed by James Robinson.
57901
57902         Remove dependency on chromium skia::PlatformCanvas
57903         https://bugs.webkit.org/show_bug.cgi?id=57563
57904
57905         * DumpRenderTree/chromium/TestShell.cpp:
57906         (makeCanvasOpaque):
57907         (TestShell::dumpImage):
57908         * DumpRenderTree/chromium/TestShell.h:
57909         * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:
57910         (WebThemeControlDRTWin::WebThemeControlDRTWin):
57911         (WebThemeControlDRTWin::draw):
57912         (WebThemeControlDRTWin::drawTextField):
57913         (WebThemeControlDRTWin::drawProgressBar):
57914         * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
57915         * DumpRenderTree/chromium/WebViewHost.cpp:
57916         (WebViewHost::canvas):
57917         * DumpRenderTree/chromium/WebViewHost.h:
57918
57919 2011-04-14  Keith Kyzivat  <keith.kyzivat@nokia.com>
57920
57921         Reviewed by Laszlo Gombos.
57922
57923         [Qt] Add -maximize flag to QtTestBrowser and MiniBrowser
57924         https://bugs.webkit.org/show_bug.cgi?id=58007
57925
57926         Adds flag to start the test browsers maximized.
57927         Symbian started maximized on QtTestBrowser - made MiniBrowser follow
57928         suit.
57929         Also fixes some ToggleFullScreen issues so that prior window state is
57930         restored.
57931
57932         * MiniBrowser/qt/BrowserWindow.cpp:
57933         (BrowserWindow::BrowserWindow):
57934         (BrowserWindow::toggleFullScreenMode):
57935         * MiniBrowser/qt/MiniBrowserApplication.cpp:
57936         (MiniBrowserApplication::handleUserOptions):
57937         * MiniBrowser/qt/MiniBrowserApplication.h:
57938         (WindowOptions::WindowOptions):
57939         * QtTestBrowser/launcherwindow.cpp:
57940         (LauncherWindow::init):
57941         (LauncherWindow::toggleFullScreenMode):
57942         * QtTestBrowser/launcherwindow.h:
57943         (WindowOptions::WindowOptions):
57944         * QtTestBrowser/main.cpp:
57945         (LauncherApplication::handleUserOptions):
57946
57947 2011-04-14  Ojan Vafai  <ojan@chromium.org>
57948
57949         Reviewed by Eric Seidel.
57950
57951         add checkbox to only show unexpected results to new results file
57952         https://bugs.webkit.org/show_bug.cgi?id=58606
57953
57954         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57955
57956 2011-04-13  Brent Fulgham  <bfulgham@webkit.org>
57957
57958         Reviewed by Martin Robinson.
57959
57960         [WinCairo] Implement ImageDiff Logic.
57961         http://bugs.webkit.org/show_bug.cgi?id=58486
57962
57963         * DumpRenderTree/win/ImageDiffCairo.cpp: Added.
57964         (strtof):
57965         (readFromData):
57966         (createImageFromStdin):
57967         (releaseMallocBuffer):
57968         (createDifferenceImage):
57969         (imageHasAlpha):
57970         (writeToData):
57971         (main):
57972         * DumpRenderTree/win/ImageDiff.vcproj: Updated for new
57973           ImageDiffCairo.cpp (excluding from Apple builds).
57974         * DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops: Use
57975           new ImageDiffWinCairoCommon.vsprops file.
57976         * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops: Use
57977           new ImageDiffWinCairoCommon.vsprops file.
57978         * DumpRenderTree/win/ImageDiffWinCairoCommon.vsprops: Added.
57979         * Scripts/old-run-webkit-tests: Make sure proper executable
57980           is built and executed for WinCairo port.
57981
57982 2011-04-14  Ojan Vafai  <ojan@chromium.org>
57983
57984         Reviewed by Eric Seidel.
57985
57986         only show expected failure type for ports that use an expectations file
57987         https://bugs.webkit.org/show_bug.cgi?id=58588
57988
57989         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
57990         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
57991
57992 2011-04-14  Eric Seidel  <eric@webkit.org>
57993
57994         Reviewed by Adam Barth.
57995
57996         commit-queue fails to catch IOError when results.html is missing
57997         https://bugs.webkit.org/show_bug.cgi?id=58589
57998
57999         * Scripts/webkitpy/tool/commands/queues.py:
58000         * Scripts/webkitpy/tool/commands/queues_unittest.py:
58001
58002 2011-04-14  Kevin Ollivier  <kevino@theolliviers.com>
58003
58004         [wx] Unreviewed build fix for Mac installation script.
58005
58006         * wx/packaging/build-mac-installer.py:
58007
58008 2011-04-14  Ojan Vafai  <ojan@chromium.org>
58009
58010         Reviewed by Tony Chang.
58011
58012         sort columns in the new json_results.html file
58013         https://bugs.webkit.org/show_bug.cgi?id=58581
58014
58015         Also fix padding on TDs and the path to layout tests.
58016
58017         * Scripts/webkitpy/layout_tests/layout_package/json_results.html:
58018
58019 2011-04-14  Eric Seidel  <eric@webkit.org>
58020
58021         Reviewed by Dimitri Glazkov.
58022
58023         queues.webkit.org should display when a bot last passed a patch
58024         https://bugs.webkit.org/show_bug.cgi?id=58546
58025
58026         I am suspicious that some of our commit-queue instances are never
58027         actually passing anything.
58028
58029         This will let us know if those bots are never passing patches.
58030
58031         * QueueStatusServer/handlers/queuestatus.py:
58032         * QueueStatusServer/index.yaml:
58033         * QueueStatusServer/templates/queuestatus.html:
58034
58035 2011-04-14  Dirk Pranke  <dpranke@chromium.org>
58036
58037         Reviewed by Adam Roben.
58038
58039         REGRESSION (r83764): webkitpy.layout_tests.port.chromium_win_unittest.ChromiumWinTest.test_default_worker_model fails on apple-windows-13
58040         https://bugs.webkit.org/show_bug.cgi?id=58545
58041
58042         Remove platform-specific overrides; the default behavior should
58043         be working everywhere now, I think.
58044
58045         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
58046         * Scripts/webkitpy/layout_tests/port/mac.py:
58047
58048 2011-04-14  Eric Seidel  <eric@webkit.org>
58049
58050         Reviewed by Adam Barth.
58051
58052         commit-queues are hitting an exception trying to land when the tree is red
58053         https://bugs.webkit.org/show_bug.cgi?id=58558
58054
58055         Just an un-tested (and thus broken) code path from yesterday's changes.
58056
58057         * Scripts/webkitpy/common/net/layouttestresults.py:
58058         * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
58059         * Scripts/webkitpy/tool/commands/queues.py:
58060         * Scripts/webkitpy/tool/commands/queues_unittest.py:
58061
58062 2011-04-14  Kevin Ollivier  <kevino@theolliviers.com>
58063
58064         [wx] Unreviewed build fixes for wxMSW and wx 2.9.1.1.
58065
58066         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
58067         (LayoutTestController::shadowRoot):
58068         * wx/build/wxpresets.py:
58069
58070 2011-04-14  Victoria Kirst  <vrk@google.com>
58071
58072         Reviewed by James Robinson.
58073
58074         [chromium] Failing GPU video tests
58075         https://bugs.webkit.org/show_bug.cgi?id=57926
58076
58077         Added/updated GPU directory names for rebaseline tool.
58078
58079         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
58080
58081 2011-04-13  Daniel Bates  <dbates@rim.com>
58082
58083         Reviewed by Adam Barth.
58084
58085         Perl unit test removeEOL.pl should print test case name on failure
58086         https://bugs.webkit.org/show_bug.cgi?id=58513
58087
58088         * Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl: Pass $title as
58089           second argument of Test::Simple::ok().
58090
58091 2011-04-13  Kent Tamura  <tkent@chromium.org>
58092
58093         Reviewed by Eric Seidel.
58094
58095         gdb-safari should pass arguments to safari.
58096         https://bugs.webkit.org/show_bug.cgi?id=58439
58097
58098         We can do:
58099           gdb-safari --debug LayoutTests/.../foo.html
58100
58101         * Scripts/gdb-safari: Passing @ARGV to Safari via gdb --arg.
58102
58103 2011-04-13  Dirk Pranke  <dpranke@chromium.org>
58104
58105         Unreviewed, build fix.
58106         https://bugs.webkit.org/show_bug.cgi?id=52763
58107
58108         r83799 broke test-webkitpy because it assumed we always have
58109         access to a real filesystem (we don't during the unit tests).
58110         Stubbing out the copy for now but we might need a better
58111         solution at some point.
58112
58113         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
58114
58115 2011-04-13  Dirk Pranke  <dpranke@chromium.org>
58116
58117         Reviewed by Tony Chang.
58118
58119         new-run-webkit-tests --run-singly option is busted
58120         https://bugs.webkit.org/show_bug.cgi?id=55909
58121
58122         Python's broken lexical scoping strikes again :(.
58123
58124         * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py:
58125         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
58126
58127 2011-04-13  Ojan Vafai  <ojan@chromium.org>
58128
58129         Reviewed by Eric Seidel.
58130
58131         generated unexpected_results.html from unexpected_results.json
58132         https://bugs.webkit.org/show_bug.cgi?id=52763
58133
58134         Eventually, we'll merge this with results.html and have a single richer results page.
58135         For now, I just want to get something checked in that we can iterate on.
58136
58137         * Scripts/webkitpy/layout_tests/layout_package/json_results.html: Added.
58138         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
58139
58140 2011-04-13  Eric Seidel  <eric@webkit.org>
58141
58142         Reviewed by Adam Barth.
58143
58144         Up the failure limit to allow the commit-queue to actually land when the tree is red
58145         https://bugs.webkit.org/show_bug.cgi?id=58499
58146
58147         This change increases the --exit-after-N-failures limit used by the commit-queue
58148         from 1 to 10.  This will cause the code added in bug 58494 to actually get
58149         exercised and the queues should start being able to land when the trees are red.
58150
58151         When testing I found that test_runtests_leopard_commit_queue_hack_command was the
58152         only unit test to actually detect this change!  Since we don't actually
58153         run on leopard anymore, I removed the hack code and repurposed the test.
58154
58155         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
58156         * Scripts/webkitpy/tool/steps/runtests.py:
58157         * Scripts/webkitpy/tool/steps/steps_unittest.py:
58158
58159 2011-04-13  Eric Seidel  <eric@webkit.org>
58160
58161         Reviewed by Adam Barth.
58162
58163         commit-queue should be able to land when tree is red
58164         https://bugs.webkit.org/show_bug.cgi?id=58494
58165
58166         There is some yak hair on my hands, I will admit.
58167
58168         This change is mostly about adding an ExpectedFailures
58169         class to track when the bots are red and we should be
58170         ignoring failures when landing from the commit-queue.
58171
58172         However, to make intelligent decisions about patches we
58173         need to know whether the run hit the --exit-after-N-failures limit
58174         or not.  Right now that information is not saved off in results.html
58175         so we have to pull the information from RunTests.
58176
58177         I've plumbed the --exit-after-N-failures information into
58178         LayoutTestResults for now to make the ExpectedFailures code cleaner.
58179
58180         As a result of adding all these additional calls to delegate.layout_test_results()
58181         I broke some of our flaky test detection tests and had to re-write them
58182         to not depend on the number of layout_test_results code.
58183
58184         At the same time I updated the commit-queue to use the newer filesystem
58185         API (to allow us to use MockFileSystem) which required further changes
58186         to the layout tests.  Changes were required in either case, since
58187         we're now calling layout_test_results() in more cases, which previously
58188         would try and hit the disk (until I moved it to use tool.filesystem).
58189
58190         I should note that *all* of this code is disabled for now, since our
58191         --exit-after-N-failures limit is currently 1!  (Thus were always in the
58192         case where we can't actually tell if the layout test results are legit.)
58193         I will up that limit in a second patch (which may require a couple more unit test tweaks).
58194
58195         * Scripts/webkitpy/common/net/layouttestresults.py:
58196         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
58197         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
58198         * Scripts/webkitpy/tool/bot/expectedfailures.py: Added.
58199         * Scripts/webkitpy/tool/bot/expectedfailures_unittest.py: Added.
58200         * Scripts/webkitpy/tool/commands/queues.py:
58201         * Scripts/webkitpy/tool/commands/queues_unittest.py:
58202         * Scripts/webkitpy/tool/commands/queuestest.py:
58203         * Scripts/webkitpy/tool/steps/runtests.py:
58204
58205 2011-04-13  Brent Fulgham  <bfulgham@webkit.org>
58206
58207         Unreviewed build correction.
58208
58209         * TestWebKitAPI/PlatformWebView.h: Limit include of
58210           <CoreGraphics/CGGeometry> to PLATFORM(CG) users.
58211
58212 2011-04-13  Mihai Parparita  <mihaip@chromium.org>
58213
58214         Reviewed by Eric Seidel.
58215
58216         [NRWT] Rename --baseline-search-patch to --additional-platform-directory to match ORWT
58217         https://bugs.webkit.org/show_bug.cgi?id=58489
58218         
58219         r83743 added --additional-platform-directory to old-run-webkit-tests,
58220         rename the equivalent flag in new-run-webkit-tests to be consistent.
58221
58222         * Scripts/webkitpy/layout_tests/port/base.py:
58223         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
58224         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
58225         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
58226
58227 2011-04-13  Mihai Parparita  <mihaip@chromium.org>
58228
58229         Reviewed by Eric Seidel.
58230
58231         Rebaseline queue server
58232         https://bugs.webkit.org/show_bug.cgi?id=57891
58233
58234         Adds a simple rebaseline queue server (meant to run at
58235         http://rebaseline-queue.appspot.com/). It presents a list of all (NRWT)
58236         builders and their failing tests, and allows those tests to be added to
58237         a per-builer rebaseline queue.
58238
58239         A subsequent change will add a mode to NRWT (and/or a wrapper script)
58240         for pulling the tests to be rebaselined from the server and running them
58241         with --reset-results (the initial use-case is for the GPU hardware bots,
58242         which do not have checked-in baselines, therefore there is no need for a
58243         check-in step yet).
58244
58245         * RebaselineQueueServer/app.yaml: Added.
58246         * RebaselineQueueServer/handlers/__init__.py: Added.
58247         * RebaselineQueueServer/handlers/builderqueue.py: Added.
58248         * RebaselineQueueServer/handlers/pages.py: Added.
58249         * RebaselineQueueServer/index.yaml: Added.
58250         * RebaselineQueueServer/main.py: Added.
58251         * RebaselineQueueServer/model/__init__.py: Added.
58252         * RebaselineQueueServer/model/queueentry.py: Added.
58253         * RebaselineQueueServer/static/builder-frame-empty.html: Added.
58254         * RebaselineQueueServer/static/styles.css: Added.
58255         * RebaselineQueueServer/templates/builder-picker.html: Added.
58256         * RebaselineQueueServer/templates/builder-queue-edit.html: Added.
58257         * RebaselineQueueServer/templates/builder-queue-list.html: Added.
58258         * RebaselineQueueServer/templates/home.html: Added.
58259
58260 2011-04-13  Dirk Pranke  <dpranke@chromium.org>
58261
58262         Reviewed by Mihai Parparita.
58263
58264         nrwt: enable multiple processes by default on Chromium Win.
58265         https://bugs.webkit.org/show_bug.cgi?id=55163
58266
58267         Re-land r79268; it should be more stable now and will hopefully
58268         work.
58269
58270         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
58271         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
58272
58273 2011-04-13  Dirk Pranke  <dpranke@chromium.org>
58274
58275         Reviewed by Ojan Vafai.
58276
58277         new-run-webkit-tests: configure logging in child processes properly
58278         https://bugs.webkit.org/show_bug.cgi?id=58296
58279
58280         Logging propagated properly from manager to worker processes on
58281         Unix but not on Windows; this fixes that.
58282
58283         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
58284         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
58285
58286 2011-04-13  Dirk Pranke  <dpranke@chromium.org>
58287
58288         Reviewed by Ojan Vafai.
58289
58290         new-run-webkit-tests: suppress extraneous pretty patch warnings
58291         https://bugs.webkit.org/show_bug.cgi?id=58295
58292
58293         NRWT wasn't being careful about when it logged messages from
58294         PrettyPatch not being available; it should only log during
58295         check_build(), and be silent otherwise. This was causing us to
58296         get multiple errors at runtime, which was confusing.
58297
58298         * Scripts/webkitpy/layout_tests/port/base.py:
58299         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
58300         * Scripts/webkitpy/layout_tests/port/chromium.py:
58301
58302 2011-04-13  Dirk Pranke  <dpranke@chromium.org>
58303
58304         Reviewed by Jian Li.
58305
58306         add chromium-linux-x86_64 to rebaseline-chromium-webkit-tests
58307         https://bugs.webkit.org/show_bug.cgi?id=58461
58308
58309         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
58310
58311 2011-04-13  Tony Chang  <tony@chromium.org>
58312
58313         Unreviewed, fix NRWT.  Stack:
58314
58315             return super(ChromiumPort, self).results_directory(self)
58316         TypeError: results_directory() takes exactly 1 argument (2 given)
58317
58318         * Scripts/webkitpy/layout_tests/port/chromium.py:
58319
58320 2011-04-13  Adam Roben  <aroben@apple.com>
58321
58322         Teach ORWT about extra platform-specific directories to be searched before the default ones
58323
58324         Fixes <http://webkit.org/b/58446> ORWT needs a way to look in a user-specified directory for
58325         platform-specific results
58326
58327         Reviewed by Anders Carlsson.
58328
58329         * Scripts/old-run-webkit-tests:
58330         (top-level): Added @additionalPlatformDirectories and hooked up
58331         --additional-platform-directories to populate it.
58332         (buildPlatformResultHierarchy): Prepend the additional platform directories to the default
58333         list (after filtering out any of the additional directories that don't exist).
58334
58335 2011-04-13  Lucas Forschler  <lforschler@apple.com>
58336
58337         Reviewed by Adam Roben.
58338
58339         Add the /T command to taskkill.exe.
58340         This will kill spawned child processes.
58341         
58342         * BuildSlaveSupport/win/kill-old-processes:
58343
58344 2011-04-13  Lucas Forschler  <lforschler@apple.com>
58345
58346         Reviewed by Adam Roben.
58347
58348         Sort kill list alphabeticaly.
58349         Fixed capitalization on VcBuildHelper.  
58350
58351         * BuildSlaveSupport/win/kill-old-processes:
58352
58353 2011-04-13  Lucas Forschler  <lforschler@apple.com>
58354
58355         Reviewed by Adam Roben.
58356
58357         https://bugs.webkit.org/show_bug.cgi?id=58384
58358         Update kill-old-processes to include a few new ones.
58359         
58360         * BuildSlaveSupport/win/kill-old-processes:
58361
58362 2011-04-13  Gustavo Noronha Silva  <gns@gnome.org>
58363
58364         Reviewed by Martin Robinson.
58365
58366         [GTK] PluginPackage should check whether a plugin mixes GTK+ 2 and 3 symbols itself
58367         https://bugs.webkit.org/show_bug.cgi?id=58297
58368
58369         Do not disable flash specifically when built with GTK+ 3 -
58370         PluginPackage should do the right thing while loading plugins.
58371
58372         * GtkLauncher/main.c:
58373         (main):
58374
58375 2011-04-12  Kent Tamura  <tkent@chromium.org>
58376
58377         Reviewed by Dimitri Glazkov.
58378
58379         [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
58380         https://bugs.webkit.org/show_bug.cgi?id=57426
58381
58382         * DumpRenderTree/chromium/WebPreferences.cpp:
58383         (WebPreferences::applyTo): Disable the validation message timer.
58384
58385 2011-04-12  James Kozianski  <koz@chromium.org>
58386
58387         Unreviewed.
58388
58389         Adding myself to committers.py.
58390
58391         * Scripts/webkitpy/common/config/committers.py:
58392
58393 2011-04-12  Brent Fulgham  <bfulgham@webkit.org>
58394
58395         Unreviewed build correction for WinCairo bot after r83639.
58396         https://bugs.webkit.org/show_bug.cgi?id=51790
58397
58398         Correct typo for the new "update-webkit-wincairo-libs" script.
58399
58400         * Scripts/build-webkit: Incorrectly calling the
58401           update-webkit-cairo-libs which does not exist.
58402
58403 2011-04-12  Alice Liu  <alice.liu@apple.com>
58404
58405         Reviewed by Jon Honeycutt.
58406
58407         A change that should have been part of http://trac.webkit.org/changeset/83628
58408
58409         * DumpRenderTree/win/DumpRenderTree.cpp:
58410         (resetDefaultsToConsistentValues): Setting should be off for most tests. Reset to false.
58411
58412 2011-04-12  Dirk Pranke  <dpranke@chromium.org>
58413
58414         Reviewed by Tony Chang.
58415
58416         new-run-webkit-tests: --results-directory is relative to builddir, not $PWD
58417         https://bugs.webkit.org/show_bug.cgi?id=58272
58418
58419         NRWT was interpreting the --results-directory cmd line arg as
58420         relative to the build directory, not the current working
58421         directory (ORWT uses the latter, which is much more intuitive).
58422         
58423         This patch fixes the base case, but includes an override for
58424         Chromium that is needed until the bots can be updated.
58425
58426         * Scripts/webkitpy/layout_tests/port/base.py:
58427         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
58428         * Scripts/webkitpy/layout_tests/port/chromium.py:
58429         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
58430         * Scripts/webkitpy/layout_tests/port/test.py:
58431         * Scripts/webkitpy/layout_tests/port/webkit.py:
58432         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
58433         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
58434
58435 2011-04-12  Philippe Normand  <pnormand@igalia.com>
58436
58437         Unreviewed, roll out r83621 as it broke the GTK build.
58438
58439         [GTK] arguments passed to build-jsc and build-webkit scripts are not taken into account
58440         https://bugs.webkit.org/show_bug.cgi?id=58333
58441
58442         * Scripts/build-jsc:
58443         * Scripts/build-webkit:
58444
58445 2011-04-12  Carl Lobo  <carllobo@gmail.com> and Brent Fulgham <bfulgham@webkit.org>
58446
58447         Reviewed by Adam Roben.
58448
58449         Patch to download the WinCairo dependancies as part of build-webkit.
58450         https://bugs.webkit.org/show_bug.cgi?id=51790
58451
58452         This patch downloads the dependancies from 
58453             http://idisk.mac.com/bfulgham-Public/WinCairoRequirements.zip 
58454         checking the modification timestamp etc. 
58455
58456         * Tools/Scripts/build-webkit
58457         * Tools/Scripts/update-webkit: Modified to understand the --wincairo
58458           flag, and to update WinCairo dependencies when used.
58459         * Tools/Scripts/update-webkit-cairo-libs: added
58460         * Tools/Scripts/update-webkit-dependency: added
58461         * Tools/Scripts/update-webkit-auxiliary-libs
58462
58463 2011-04-12  Jeff Miller  <jeffm@apple.com>
58464
58465         Reviewed by Adam Roben.
58466
58467         WebKit2: Pressing Tab in Web Inspector's console does not cycle through completion options
58468         https://bugs.webkit.org/show_bug.cgi?id=56020
58469
58470         Don't call TranslateMessage() in the MiniBrowser or TestWebKitAPI for key messages destined for a WebKit2 view,
58471         since WebKit will do this for us.  If we didn't do this, TranslateMessage() would be called twice,
58472         which would generate two characters for every keypress (for example).  I didn't bother doing this for
58473         WebKitTestRunner, since it doesn't get any WM_KEYDOWN events.
58474         
58475         Add new WebKit2/TranslateMessageGeneratesWMChar test to test expected TranslateMessage() behavior.
58476
58477         * MiniBrowser/win/main.cpp:
58478         (shouldTranslateMessage): Added.
58479         (_tWinMain): Don't call TranslateMessage() unless shouldTranslateMessage() says to.
58480         * TestWebKitAPI/PlatformUtilities.h: Added shouldTranslateMessage() on Windows.
58481         * TestWebKitAPI/PlatformWebView.h: Added simulateAKeyDown().
58482         * TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp: Added.
58483         (TestWebKitAPI::didNotHandleKeyEventCallback): Added.
58484         (TestWebKitAPI::runAndWatchForWMChar): Added.
58485         (TestWebKitAPI::TEST): Added.
58486         * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
58487         (TestWebKitAPI::Util::run): Don't call TranslateMessage() unless shouldTranslateMessage() says to.
58488         (TestWebKitAPI::Util::shouldTranslateMessage): Added.
58489         * TestWebKitAPI/win/PlatformWebViewWin.cpp:
58490         (TestWebKitAPI::PlatformWebView::simulateAKeyDown): Added.
58491         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added TranslateMessageGeneratesWMChar.cpp.
58492
58493 2011-04-12  Dirk Pranke  <dpranke@chromium.org>
58494
58495         Reviewed by Tony Chang.
58496
58497         new-run-webkit-tests: update code to use port.results_directory() instead of options.results_directory
58498         https://bugs.webkit.org/show_bug.cgi?id=58290
58499
58500         This is some preliminary refactoring for bug 58272.
58501
58502         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
58503         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
58504         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
58505         * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py:
58506         * Scripts/webkitpy/layout_tests/port/test.py:
58507         * Scripts/webkitpy/layout_tests/port/chromium.py:
58508         * Scripts/webkitpy/layout_tests/port/base.py:
58509         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
58510
58511 2011-04-12  Dirk Pranke  <dpranke@chromium.org>
58512
58513         Reviewed by Eric Seidel.
58514
58515         webkitpy: fix mock_filesystem abspath to handle relative paths
58516         and add filesystem.chdir() and filesystem.getcwd() to be able
58517         to test this and mock it out.
58518
58519         https://bugs.webkit.org/show_bug.cgi?id=58288
58520
58521         * Scripts/webkitpy/common/system/filesystem.py:
58522         * Scripts/webkitpy/common/system/filesystem_mock.py:
58523         * Scripts/webkitpy/common/system/filesystem_unittest.py:
58524
58525 2011-04-12  Alice Liu  <alice.liu@apple.com>
58526
58527         Reviewed by Sam Weinig.
58528
58529         https://bugs.webkit.org/show_bug.cgi?id=58292
58530         Provide new setting to allow site icon loading despite disabling automatic image loading in general.
58531
58532         * DumpRenderTree/mac/DumpRenderTree.mm:
58533         (resetDefaultsToConsistentValues): Setting should be off for most tests. Reset to false.
58534
58535 2011-04-12  Thouraya ANDOLSI  <thouraya.andolsi@st.com>
58536
58537         Reviewed by Eric Seidel.
58538
58539         [Qt] Enable JIT build for SH4 platforms.
58540         https://bugs.webkit.org/show_bug.cgi?id=58317
58541
58542
58543         * DumpRenderTree/qt/DumpRenderTree.pro:
58544         * QtTestBrowser/QtTestBrowser.pro:
58545         * Scripts/webkitdirs.pm:
58546
58547 2011-04-12  Tony Chang  <tony@chromium.org>
58548
58549         Reviewed by Andreas Kling.
58550
58551         [Qt] embed checksums in PNGs written by Qt-DRT
58552         https://bugs.webkit.org/show_bug.cgi?id=58173
58553
58554         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
58555         (WebCore::DumpRenderTree::dump):
58556
58557 2011-04-12  Eric Seidel  <eric@webkit.org>
58558
58559         Reviewed by Adam Barth.
58560
58561         commit-queue should upload failure diffs when tests fail
58562         https://bugs.webkit.org/show_bug.cgi?id=58348
58563
58564         This change was mostly just plumbing.  We were already saving
58565         this information for flaky test reporting.  I just made it possible
58566         for normal failures to report archives as well.
58567
58568         I did a little abstraction work to try and share some code between
58569         flakytestreporter.py and this new code.  There is still more we could do.
58570
58571         In making this change I also went through and updated the various
58572         places we have urls hard-coded in our python and pointed them at
58573         common.config.urls.
58574
58575         * Scripts/webkitpy/common/checkout/scm.py:
58576         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
58577         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
58578         * Scripts/webkitpy/common/net/statusserver.py:
58579         * Scripts/webkitpy/layout_tests/port/base.py:
58580         * Scripts/webkitpy/tool/bot/botinfo.py: Added.
58581         * Scripts/webkitpy/tool/bot/botinfo_unittest.py: Added.
58582         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
58583         * Scripts/webkitpy/tool/bot/flakytestreporter.py:
58584         * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
58585         * Scripts/webkitpy/tool/commands/queues.py:
58586
58587 2011-04-12  Daniel Bates  <dbates@rim.com>
58588
58589         Rubber-stamped by Eric Seidel.
58590
58591         svn-apply and/or patch(1) has trouble applying patches that makes changes to files
58592         with Windows line endings
58593         https://bugs.webkit.org/show_bug.cgi?id=53625
58594
58595         Fixes an issue where a patch made on a SCM checkout on a Unix file system cannot be
58596         applied to an SCM checkout on a Windows file system and vice-versa.
58597
58598         This issue manifests itself due to custom SCM settings as well as differences in
58599         gitattributes support in older versions of Git (e.g. 1.7.0.3). We implement support
58600         into svn-apply/unapply to compensate for differences in line endings by converting
58601         the line endings in a patch to match the line endings in the target file (if it exists).
58602
58603         * Scripts/VCSUtils.pm:
58604           - Added parseFirstEOL(), which returns the first end-of-line character(s) that appear in the
58605             content read from the specified file handle. Obviously, this heuristic will not work
58606             for files with mixed line endings, but I don't envision such files to be the norm. If
58607             this turns out to be an issue then we can improve the heuristic.
58608           - Added firstEOLInFile().
58609           - Modified parsePatch() and parseDiff() to take an optional hash reference to an options hash.
58610             In particular, added the hash key shouldNotUseIndexPathEOL to control whether to use the line
58611             endings in the diff instead of the line endings in the target file.
58612           - Extracted local variable $chunkRangeRegEx from fixChangeLogPatch() so that it can be
58613             re-used in parseDiff().
58614         * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: Modified to pass {shouldNotUseIndexPathEOL => 1}
58615           to parsePatch() since these unit tests don't create mock files. Instead, created unit tests that use
58616           mock files in file VCSUtils_unittest/parseDiffWithMockFiles.pl.
58617         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl: Added.
58618         * Scripts/webkitperl/VCSUtils_unittest/parseFirstEOL.pl: Added.
58619
58620 2011-04-12  Sam Weinig  <sam@webkit.org>
58621
58622         Reviewed by Adam Roben.
58623
58624         REGRESSION (r83550): Multiple http tests crashing in the web process in SQLite beneath CFNetwork on Windows 7 Release (WebKit2 Tests)
58625         https://bugs.webkit.org/show_bug.cgi?id=58336
58626
58627         * WebKitTestRunner/TestController.cpp:
58628         (WTR::TestController::resetStateToConsistentValues):
58629         Remove cache clearing as that is causing tests to crash on Windows 7.
58630
58631 2011-04-11  Sam Weinig  <sam@webkit.org>
58632
58633         Reviewed by Anders Carlsson.
58634
58635         REGRESSION(r77974): http/tests/security/aboutBlank/security-context-window-open.html is failing
58636         <rdar://problem/8981346>
58637         https://bugs.webkit.org/show_bug.cgi?id=54159
58638
58639         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
58640         (WTR::InjectedBundlePage::InjectedBundlePage):
58641         (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
58642         (WTR::InjectedBundlePage::decidePolicyForNewWindowAction):
58643         (WTR::InjectedBundlePage::decidePolicyForResponse):
58644         (WTR::InjectedBundlePage::unableToImplementPolicy):
58645         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
58646         Add short-circuited policy client which matches WebKit1.
58647
58648         * WebKitTestRunner/TestController.cpp:
58649         (WTR::TestController::resetStateToConsistentValues):
58650         Clear the cache between tests to ensure consistent results.
58651
58652 2011-04-11  George Guo  <George.Guo@nokia.com>
58653
58654         Reviewed by Eric Seidel.
58655
58656         prepare-ChangeLog support email input but -h did not show the option
58657         https://bugs.webkit.org/show_bug.cgi?id=58164
58658
58659         Add email option to -h to improve the usability
58660
58661         * Scripts/prepare-ChangeLog:
58662
58663 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
58664
58665         Reviewed by Eric Carlson.
58666
58667         Rename MediaControls to MediaControlRootElement.
58668         https://bugs.webkit.org/show_bug.cgi?id=58250
58669
58670         * Scripts/do-webcore-rename: Documented the renaming.
58671
58672 2011-04-11  Sam Weinig  <sam@webkit.org>
58673
58674         Fix Windows build.
58675
58676         * MiniBrowser/win/BrowserView.cpp:
58677         (BrowserView::create):
58678
58679 2011-04-11  Sam Weinig  <sam@webkit.org>
58680
58681         Reviewed by Anders Carlsson.
58682
58683         Move focus management out of WebKit via  the UIClient
58684         <rdar://problem/8784068>
58685         https://bugs.webkit.org/show_bug.cgi?id=58278
58686
58687         * MiniBrowser/mac/BrowserWindowController.m:
58688         (-[BrowserWindowController awakeFromNib]):
58689         * WebKitTestRunner/TestController.cpp:
58690         (WTR::TestController::createOtherPage):
58691         (WTR::TestController::initialize):
58692         Add stubs for new UIClient functions.
58693
58694 2011-02-03  Martin Robinson  <mrobinson@igalia.com>
58695
58696         Reviewed by Eric Seidel.
58697
58698         [GTK] The GTK+ DRT needs an implementation of the PlainTextController
58699         https://bugs.webkit.org/show_bug.cgi?id=53605
58700
58701         Add an implementation of the PlainTextController for the GTK+ DRT.
58702
58703         * DumpRenderTree/gtk/DumpRenderTree.cpp:
58704         (addControllerToWindow): Added this helper method.
58705         (webViewWindowObjectCleared): Use the new helper to add EventSender
58706         and the PlainTextController to the window object.
58707         * GNUmakefile.am: Added PlainTextController source files.
58708         * DumpRenderTree/gtk/PlainTextController.cpp: Added. This will rely
58709         on DumpRenderTreeSupportGtk to convert a JSValueRef into a WebKitDOMRange
58710         until that functionality exists somewhere in the WebKitGTK+ stack.
58711         * DumpRenderTree/gtk/PlainTextController.h: Added.
58712
58713 2011-04-11  Yael Aharon  <yael.aharon@nokia.com>
58714
58715         Unreviewed.
58716
58717         Adding my IRC nick.
58718
58719         * Scripts/webkitpy/common/config/committers.py:
58720
58721 2011-04-11  Dirk Pranke  <dpranke@chromium.org>
58722
58723         Reviewed by Adam Roben.
58724
58725         new-run-webkit-tests: fix crash when running under windows cmd.exe
58726         https://bugs.webkit.org/show_bug.cgi?id=58197
58727
58728         We would intermittently crash when running NRWT directly under
58729         cmd.exe on windows because we were sharing the stdin file
58730         descriptor between the python process and the http server.
58731         cmd.exe really didn't like that, and there was no reason to
58732         share the descriptor, so we now use a PIPE instead.
58733
58734         * Scripts/webkitpy/layout_tests/port/http_server.py:
58735
58736 2011-04-11  Dirk Pranke  <dpranke@chromium.org>
58737
58738         Reviewed by Ojan Vafai.
58739
58740         new-run-webkit-tests: add unit tests for Port.diff_image()
58741         https://bugs.webkit.org/show_bug.cgi?id=58196
58742
58743         Add the unit tests for the fix in bug 58195.
58744
58745         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
58746         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
58747         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
58748
58749 2011-04-11  Dirk Pranke  <dpranke@chromium.org>
58750
58751         Reviewed by Tony Chang.
58752
58753         new-run-webkit-tests: implement support for audio, take two
58754         https://bugs.webkit.org/show_bug.cgi?id=58195
58755
58756         Attempt to re-land the fix for bug 58101 (which was initially
58757         landed in r83330, but rolled out). This is the same patch but
58758         fixes crashes in Port.diff_image() caused by the change for
58759         empty image files being None instead of ''.
58760
58761         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
58762         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
58763         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
58764         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
58765         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
58766         * Scripts/webkitpy/layout_tests/port/base.py:
58767         * Scripts/webkitpy/layout_tests/port/chromium.py:
58768         * Scripts/webkitpy/layout_tests/port/dryrun.py:
58769         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
58770         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
58771         * Scripts/webkitpy/layout_tests/port/test.py:
58772         * Scripts/webkitpy/layout_tests/port/webkit.py:
58773
58774 2011-04-11  Mario Sanchez Prada  <msanchez@igalia.com>
58775
58776         Reviewed by Xan Lopez.
58777
58778         [GTK] Implement AccessibilityUIElement::{row|column}IndexRange in DRT
58779         https://bugs.webkit.org/show_bug.cgi?id=57854
58780
58781         Implement missing features in GTK's DRT.
58782
58783         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
58784         (indexRangeInTable): New helper function to get the range string
58785         for the current cell inside the parent table, either from the
58786         point of view of rows or columns.
58787         (AccessibilityUIElement::rowIndexRange): Implemented by relying on
58788         the new helper function indexRangeInTable().
58789         (AccessibilityUIElement::columnIndexRange): Ditto.
58790
58791 2011-04-11  Mario Sanchez Prada  <msanchez@igalia.com>
58792
58793         Reviewed by Chris Fleizach.
58794
58795         [GTK] Implement AccessibilityUIElement::cellForColumnAndRow in DRT
58796         https://bugs.webkit.org/show_bug.cgi?id=57826
58797
58798         Implement missing feature in GTK's DRT.
58799
58800         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
58801         (AccessibilityUIElement::cellForColumnAndRow): Implemented, by
58802         relying on the analogous function from the AtkTable interface.
58803
58804 2011-04-05  Timothy Hatcher  <timothy@apple.com>
58805
58806         Fix the extract-localizable-strings script errors that started after
58807         WEB_UI_STRING was added to LocalizedStrings.h in WebCore.
58808
58809         * Scripts/extract-localizable-strings: Skip LocalizedStrings.h.
58810
58811 2011-04-11  Tony Chang  <tony@chromium.org>
58812
58813         Reviewed by Eric Seidel.
58814
58815         fix crc computation on 64 bit machines
58816         https://bugs.webkit.org/show_bug.cgi?id=58243
58817
58818         unsigned long is dependenct on CPU architecture, so use unsigned which is always 32 bits
58819
58820         * DumpRenderTree/CyclicRedundancyCheck.cpp:
58821         (makeCrcTable):
58822         (computeCrc):
58823         * DumpRenderTree/CyclicRedundancyCheck.h:
58824         * DumpRenderTree/PixelDumpSupport.cpp:
58825         (appendIntToVector):
58826         (convertChecksumToPNGComment):
58827
58828 2011-04-10  Kimmo Kinnunen  <kimmo.t.kinnunen@nokia.com>
58829
58830         Reviewed by Eric Seidel.
58831
58832         Require no undefined symbols during compilation.
58833
58834         [Qt] [WK2] WebKitTestRunner, QtWebProcess and WTRInjectBundle should fail to compile when there's undefined symbols
58835         https://bugs.webkit.org/show_bug.cgi?id=54896
58836
58837         Add -Wl,--no-undefined to catch missing symbols early.
58838
58839         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
58840         * WebKitTestRunner/qt/WebKitTestRunner.pro:
58841
58842 2011-04-10  Kevin Ollivier  <kevino@theolliviers.com>
58843
58844         [wx] Unreviewed build fix. Remove collector dirs from the list of build dirs.
58845
58846         * wx/build/settings.py:
58847
58848 2011-04-10  Kevin Ollivier  <kevino@theolliviers.com>
58849
58850         [wx] Unreviewed build fix. Add Source/JavaScriptCore/heap to the list of directories.
58851
58852         * wx/build/settings.py:
58853
58854 2011-04-10  David Levin  <levin@chromium.org>
58855
58856         Reviewed by Dimitri Glazkov.
58857
58858         REGRESSION(r83384): Change to chromium.py is resulting in failures of the test framework on linux.
58859         https://bugs.webkit.org/show_bug.cgi?id=58201
58860
58861         * Scripts/webkitpy/layout_tests/port/chromium.py: Commented out the assert for now,
58862         and filed bug 58202.
58863
58864 2011-04-09  David Levin  <levin@chromium.org>
58865
58866         Unreviewed, rolling out r83394.
58867         http://trac.webkit.org/changeset/83394
58868         https://bugs.webkit.org/show_bug.cgi?id=53625
58869
58870         Patch was incorrect as noted in the bug.
58871
58872         * Scripts/svn-apply:
58873
58874 2011-04-09  David Levin  <levin@chromium.org>
58875
58876         Reviewed by Adam Barth.
58877
58878         svn-apply and/or patch(1) has trouble applying patches that makes changes to files with Windows line endings
58879         https://bugs.webkit.org/show_bug.cgi?id=53625
58880
58881         * Scripts/svn-apply: Ensure that the portions of patches
58882         which are for vcproj/vsprops files has DOS line endings.
58883
58884 2011-04-09  Dirk Pranke  <dpranke@chromium.org>
58885
58886         Reviewed by Tony Chang.
58887
58888         It looks like NRWT has not been stopping DRT/TestShell
58889         instances properly on windows, probably for a long time.
58890         This would go a long way to explaining why we often have
58891         processes lying around :)
58892
58893         https://bugs.webkit.org/show_bug.cgi?id=57807
58894
58895         * Scripts/webkitpy/layout_tests/port/chromium.py:
58896         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
58897
58898 2011-04-09  Keith Kyzivat  <keith.kyzivat@nokia.com>
58899
58900         Reviewed by Laszlo Gombos.
58901
58902         [Qt] Don't link against fontconfig or X11 if embedded
58903         https://bugs.webkit.org/show_bug.cgi?id=58104
58904
58905         * DumpRenderTree/qt/DumpRenderTree.pro: fontconfig !included in embedded
58906         * QtTestBrowser/QtTestBrowser.pro: ditto
58907         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: ditto
58908         * WebKitTestRunner/qt/WebKitTestRunner.pro: ditto
58909
58910 2011-04-08  Jon Honeycutt  <jhoneycutt@apple.com>
58911
58912         http/tests/loading/preload-append-scan.php is failing on Windows
58913         https://bugs.webkit.org/show_bug.cgi?id=58178
58914
58915         Reviewed by Brian Weinstein.
58916
58917         * DumpRenderTree/win/DumpRenderTree.cpp:
58918         (lastPathComponent):
58919         Use CFURL API to find the last path component, rather than
58920         PathFindFileName(), because the latter will include the query string.
58921
58922 2011-04-08  Jian Li  <jianli@chromium.org>
58923
58924         Unreviewed, rolling out r83327, r83330 since these patches are very
58925         likely to break chromium webkit mac10.6 builders.
58926
58927         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
58928         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
58929         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
58930         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
58931         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
58932         * Scripts/webkitpy/layout_tests/port/base.py:
58933         * Scripts/webkitpy/layout_tests/port/chromium.py:
58934         * Scripts/webkitpy/layout_tests/port/dryrun.py:
58935         * Scripts/webkitpy/layout_tests/port/mock_drt.py:
58936         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
58937         * Scripts/webkitpy/layout_tests/port/test.py:
58938         * Scripts/webkitpy/layout_tests/port/webkit.py:
58939
58940 2011-04-08  Vincent Scheib  <scheib@chromium.org>
58941
58942         Reviewed by Eric Seidel.
58943
58944         add chromium-gpu-linux-x86_64 to the recognized list of ports
58945         https://bugs.webkit.org/show_bug.cgi?id=58099
58946
58947         Add chromium-gpu-linux-x86_64 to fix assert.
58948
58949         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
58950
58951 2011-04-08  Alpha Lam  <hclam@chromium.org>
58952
58953         Unreviewed, rolling out r83335.
58954         http://trac.webkit.org/changeset/83335
58955         https://bugs.webkit.org/show_bug.cgi?id=53556
58956
58957         GTK and QT bots are broken
58958
58959         * Scripts/build-webkit:
58960
58961 2011-04-07  Anna Cavender  <annacc@chromium.org>
58962
58963         Reviewed by Eric Carlson.
58964
58965         Setup ENABLE(TRACK) feature define
58966         https://bugs.webkit.org/show_bug.cgi?id=53556
58967
58968         * Scripts/build-webkit:
58969
58970 2011-04-08  Dirk Pranke  <dpranke@chromium.org>
58971
58972         Reviewed by Adam Roben.
58973
58974         new-run-webkit-tests: configure a NRWT test bot for Mac SL
58975         https://bugs.webkit.org/show_bug.cgi?id=58114
58976
58977         This change removes the old new-run-webkit-tests entry and
58978         updates it for a new test-only bot.
58979
58980         * BuildSlaveSupport/build.webkit.org-config/config.json:
58981
58982 2011-04-08  Dominic Cooney  <dominicc@google.com>
58983
58984         Reviewed by Adam Roben.
58985
58986         Make layoutTestController.shadowRoot return null, not undefined,
58987         when its argument is invalid.
58988         https://bugs.webkit.org/show_bug.cgi?id=58121
58989
58990         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
58991         (LayoutTestController::shadowRoot):
58992         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
58993         (WTR::LayoutTestController::shadowRoot):
58994
58995 2011-04-08  Pere Martir  <pere.martir4@gmail.com>
58996
58997         Reviewed by Adam Roben.
58998
58999         Locate NSTD.EXE in 64-bit Windows
59000         https://bugs.webkit.org/show_bug.cgi?id=57847
59001
59002         * Scripts/old-run-webkit-tests:
59003
59004 2011-04-08  Adam Roben  <aroben@apple.com>
59005
59006         Qt build fix
59007
59008         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h: Pull in stdarg.h for va_list.
59009
59010 2011-04-07  Adam Roben  <aroben@apple.com>
59011
59012         Test that NPP_SetWindow is passed a null window handle during plugin destruction on non-Mac platforms
59013
59014         Test for <http://webkit.org/b/47009> WebKit2 needs to call NPP_SetWindow when destroying a
59015         plugin
59016
59017         Reviewed by Anders Carlsson.
59018
59019         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
59020         (pluginLogWithArguments): Moved code to format and log the message here...
59021         (pluginLog): ...from here.
59022
59023         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h: Added pluginLogWithArguments.
59024
59025         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
59026         (PluginTest::log): Added. Calls through to pluginLogWithArguments.
59027
59028         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added log.
59029
59030         * DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp: Added.
59031         (NPPSetWindowCalledDuringDestruction::setWillBeDestroyed): Records that destruction is about
59032         to begin.
59033         (NPPSetWindowCalledDuringDestruction::NPPSetWindowCalledDuringDestruction): Simple
59034         constructor.
59035         (NPPSetWindowCalledDuringDestruction::NPP_GetValue): Creates and returns a ScriptObject that
59036         can be used to invoke our setWillBeDestroyed function.
59037         (NPPSetWindowCalledDuringDestruction::NPP_SetWindow): Records what has happened (and logs if
59038         anything unexpected happens).
59039         (NPPSetWindowCalledDuringDestruction::NPP_Destroy): On Mac, logs a failure message if
59040         NPP_SetWindow was called during destruction. On other platforms, logs a failure message if
59041         NPP_SetWindow was *not* called during destruction.
59042         (NPPSetWindowCalledDuringDestruction::ScriptObject::hasMethod): Return true for our only
59043         method, setWillBeDestroyed.
59044         (NPPSetWindowCalledDuringDestruction::ScriptObject::invoke): Call through to the PluginTest
59045         object.
59046
59047         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
59048         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
59049         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
59050         * GNUmakefile.am:
59051         Added new test.
59052
59053         * Scripts/old-run-webkit-tests: Skip the new test when using out-of-process plugins with
59054         WebKit1 on Mac, since it can't work properly due to <http://webkit.org/b/58077>.
59055
59056 2011-04-08  Mario Sanchez Prada  <msanchez@igalia.com>
59057
59058         Reviewed by Martin Robinson.
59059
59060         [GTK] Implement increment() and decrement() functions in DRT's AccessibilityUIElement
59061         https://bugs.webkit.org/show_bug.cgi?id=58039
59062
59063         Implement missing functions in GTK's DRT.
59064
59065         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
59066         (AccessibilityUIElement::increment): Implemented.
59067         (AccessibilityUIElement::decrement): Implemented.
59068
59069 2011-04-08  Dominic Cooney  <dominicc@google.com>
59070
59071         Reviewed by Kent Tamura.
59072
59073         Make WK2 layoutTestController.shadowRoot return undefined, not
59074         null, when its argument is not an element.
59075         https://bugs.webkit.org/show_bug.cgi?id=58121
59076
59077         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59078         (WTR::LayoutTestController::shadowRoot):
59079
59080 2011-04-07  Dirk Pranke  <dpranke@chromium.org>
59081
59082         Reviewed by Mihai Parparita.
59083
59084         Change reference port for Mac GPU baselines from
59085         Leopard to SnowLeopard, XP to Win7, and Linux-x86
59086         to Linux x86-64.
59087
59088         https://bugs.webkit.org/show_bug.cgi?id=58099
59089
59090         * Scripts/webkitpy/layout_tests/port/chromium.py:
59091
59092 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
59093
59094         Revert ENABLE_TRACK patch due to compile failures.
59095
59096         * Scripts/build-webkit:
59097
59098 2011-04-07  Tony Chang  <tony@chromium.org>
59099
59100         Reviewed by Eric Seidel.
59101
59102         update DRT to embed checksums in png files
59103         https://bugs.webkit.org/show_bug.cgi?id=57871
59104
59105         We insert the bytes for the comment in printPNG rather than at encode
59106         time because each platform does its own PNG encoding (either using CG
59107         or cairo).  Putting this in pringPNG avoids having to duplicate this
59108         code, although it's not as clean as doing it at encoding time.
59109
59110         We insert the comment right after the IHDR chunk of the PNG.
59111
59112         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
59113         * DumpRenderTree/CyclicRedundancyCheck.cpp: Added.
59114         (makeCrcTable): Ported from LayoutTests/fast/canvas/webgl/resources/pnglib.js
59115         (computeCrc): Ported from LayoutTests/fast/canvas/webgl/resources/pnglib.js
59116         * DumpRenderTree/CyclicRedundancyCheck.h: Added.
59117         * DumpRenderTree/PixelDumpSupport.cpp:
59118         (dumpWebViewAsPixelsAndCompareWithExpected):
59119         (convertChecksumToPNGComment): Generate the bytes to insert.
59120         (printPNG): Insert the png comment before the first IDAT section.
59121         * DumpRenderTree/PixelDumpSupport.h:
59122         * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp:
59123         (printPNG):
59124         (dumpBitmap):
59125         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
59126         (printPNG):
59127         (dumpBitmap):
59128         * DumpRenderTree/win/DumpRenderTree.vcproj:
59129         * GNUmakefile.am:
59130
59131 2011-04-07  Jeff Miller  <jeffm@apple.com>
59132
59133         Reviewed by Adam Roben.
59134
59135         Replace WKStringGetCharactersPtr() with WKStringGetCharacters()
59136         https://bugs.webkit.org/show_bug.cgi?id=58058
59137
59138         * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
59139         (TestWebKitAPI::TEST): Add tests for  WKStringGetLength() and WKStringGetCharactersPtr().
59140
59141 2011-04-07  Chang Shu  <cshu@webkit.org>
59142
59143         Reviewed by Darin Adler.
59144
59145         WebKitTestRunner needs layoutTestController.isPageBoxVisible
59146         https://bugs.webkit.org/show_bug.cgi?id=42695
59147
59148         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59149         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59150         (WTR::LayoutTestController::isPageBoxVisible):
59151         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59152
59153 2011-04-07  Adam Roben  <aroben@apple.com>
59154
59155         Build fix
59156
59157         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added a missing import.
59158
59159 2011-04-07  Adam Roben  <aroben@apple.com>
59160
59161         Move ExtractTestResults[AndLeaks]'s summarizing code back from commandComplete() to finished()
59162
59163         commandComplete() is never called for MasterShellCommands like ExtractTestResults[AndLeaks].
59164         (Unfortunately the buildbot documentation does not make this clear.) finished() is the only
59165         hook we have, so we have to do our work there. I added a new addCustomURLs method which can
59166         be overridden by subclasses to provide extra URLs before we call up to the base class (after
59167         which adding more URLs is no longer possible).
59168
59169         Really hopefully fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks
59170         bot results page
59171
59172         Reviewed by John Sullivan.
59173
59174         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
59175         (ExtractTestResults.addCustomURLs): Moved code to add the "view results" URL here...
59176         (ExtractTestResults.finished): ...from here. This replaces commandComplete, since that
59177         method is never called for MasterShellCommands.
59178         (ExtractTestResultsAndLeaks.addCustomURLs): Replaced commandComplete (which is never called)
59179         with this method (which is).
59180
59181 2011-04-07  Adam Roben  <aroben@apple.com>
59182
59183         Move ExtractTestResults[AndLeaks]'s summarizing code from finished() to commandComplete()
59184
59185         This matches how most of our other build steps work, so is good just for improving
59186         consistency between build steps. It should also make it possible for
59187         ExtractTestResultsAndLeaks to successfully add a URL to Leaks Viewer. (Previously we were
59188         trying to do this in finished() after we had called up to the base class, but that was
59189         apparently too late to add more URLs.)
59190
59191         Hopefully fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks bot
59192         results page
59193
59194         Reviewed by John Sullivan.
59195
59196         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
59197         (ExtractTestResults): Added a descriptionDone property so that we don't have to manually
59198         call setText to get the right text to show up for this step. This matches how most of our
59199         other build steps work.
59200         (ExtractTestResults.commandComplete): Replaced our override of finished with this function.
59201         This is how most of our other build steps work.
59202         (ExtractTestResultsAndLeaks.commandComplete): Replaced our override of finished with this
59203         function, to match the base class.
59204
59205 2011-04-07  Adam Barth  <abarth@webkit.org>
59206
59207         Reviewed by Maciej Stachowiak.
59208
59209         webkit-patch shouldn't state the whole working copy when calling check-webkit-style
59210         https://bugs.webkit.org/show_bug.cgi?id=58022
59211
59212         Previously, we were ignoring the args variable!  This patch fixes the
59213         regression introduced in http://trac.webkit.org/changeset/82771.
59214
59215         * Scripts/webkitpy/tool/commands/download_unittest.py:
59216         * Scripts/webkitpy/tool/mocktool.py:
59217         * Scripts/webkitpy/tool/steps/checkstyle.py:
59218
59219 2011-04-07  Maciej Stachowiak  <mjs@apple.com>
59220
59221         Reviewed by Adam Barth.
59222
59223         REGRESSION: "webkit-patch land" doesn't work correctly in SVN subdirectories
59224         https://bugs.webkit.org/show_bug.cgi?id=58017
59225
59226         * Scripts/webkitpy/common/checkout/scm.py:
59227         * Scripts/webkitpy/common/checkout/scm_unittest.py:
59228
59229 2011-04-06  Chang Shu  <cshu@webkit.org>
59230
59231         Reviewed by Darin Adler.
59232
59233         WebKitTestRunner needs layoutTestController.pageSizeAndMarginsInPixels
59234         https://bugs.webkit.org/show_bug.cgi?id=57984
59235
59236         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59237         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59238         (WTR::LayoutTestController::pageSizeAndMarginsInPixels):
59239         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59240
59241 2011-04-06  Chris Rogers  <crogers@google.com>
59242
59243         Reviewed by Tony Chang.
59244
59245         Add web audio support to DumpRenderTree (mac port)
59246         https://bugs.webkit.org/show_bug.cgi?id=57969
59247
59248         * DumpRenderTree/LayoutTestController.cpp:
59249         (LayoutTestController::LayoutTestController):
59250         (setEncodedAudioDataCallback):
59251         (LayoutTestController::staticFunctions):
59252         * DumpRenderTree/LayoutTestController.h:
59253         (LayoutTestController::dumpAsAudio):
59254         (LayoutTestController::setDumpAsAudio):
59255         (LayoutTestController::encodedAudioData):
59256         (LayoutTestController::setEncodedAudioData):
59257         * DumpRenderTree/mac/DumpRenderTree.mm:
59258         (dumpAudio):
59259         (dump):
59260
59261 2011-04-06  Benjamin Poulain  <benjamin.poulain@nokia.com>
59262
59263         Reviewed by Kenneth Rohde Christiansen.
59264
59265         [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests
59266         https://bugs.webkit.org/show_bug.cgi?id=56086
59267
59268         Add the missing method.
59269
59270         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
59271         (WebCore::DumpRenderTree::getAllPages): Add a method to return all the pages allocated for the current test.
59272         * DumpRenderTree/qt/DumpRenderTreeQt.h:
59273         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
59274         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
59275
59276 2011-04-06  Dai Mikurube  <dmikurube@chromium.org>
59277
59278         Reviewed by David Levin.
59279
59280         Add QUOTA build flag for unified quota API
59281         https://bugs.webkit.org/show_bug.cgi?id=57918
59282
59283         * Scripts/build-webkit: Added QUOTA build flag
59284
59285 2011-04-06  Dirk Pranke  <dpranke@chromium.org>
59286
59287         Reviewed by Tony Chang.
59288
59289         Adjust the apple webkit port's default timeout to match
59290         old-run-webkit-tests at 35 seconds.
59291
59292         https://bugs.webkit.org/show_bug.cgi?id=37738
59293
59294         * Scripts/webkitpy/layout_tests/port/mac.py:
59295
59296 2011-04-06  Scott Cameron  <sccameron@rim.com>
59297
59298         Reviewed by Eric Seidel.
59299
59300         Remove global variable $httpdPath and replace with the return value of
59301         getHTTPDPath().  Also remove unnecessary calls to getHTTPDPath().
59302         https://bugs.webkit.org/show_bug.cgi?id=53499
59303
59304         * Scripts/run-iexploder-tests:
59305         * Scripts/webkitperl/httpd.pm:
59306
59307 2011-04-06  Kevin Ollivier  <kevino@theolliviers.com>
59308
59309         Reviewed by Darin Adler.
59310
59311         Make sure JS_EXPORT_PRIVATE is an empty define when we aren't using the export macros.
59312         
59313         https://bugs.webkit.org/show_bug.cgi?id=27551
59314         
59315         * DumpRenderTree/config.h:
59316         * WebKitAPITest/config.h:
59317         * WebKitTestRunner/config.h:
59318
59319 2011-04-06  Tony Chang  <tony@chromium.org>
59320
59321         Reviewed by Darin Adler.
59322
59323         teach run-webkit-tests to read checksums from png files
59324         https://bugs.webkit.org/show_bug.cgi?id=57993
59325
59326         * Scripts/old-run-webkit-tests: Read the first 2k of a .png if there's
59327           no .checksum and look for the checksum in there.
59328
59329 2011-04-06  David Dorwin  <ddorwin@chromium.org>
59330
59331         Reviewed by David Levin.
59332
59333         Enable fullscreen layout tests for Chromium
59334         https://bugs.webkit.org/show_bug.cgi?id=55726
59335
59336         Make DumpRenderTree always run with fullscreen enabled (equivalent of --enable-fullscreen).
59337
59338         * DumpRenderTree/chromium/WebPreferences.cpp:
59339         (WebPreferences::applyTo):
59340
59341 2011-04-06  Adam Roben  <aroben@apple.com>
59342
59343         Add a "view leaks" link to builds on SnowLeopard Intel Leaks
59344
59345         Fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks bot results page
59346
59347         Reviewed by David Kilzer.
59348
59349         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
59350         (ExtractTestResults.resultDirectoryURL): Added. Moved code to calculate the URL for the
59351         build's results directory here...
59352         (ExtractTestResults.finished): ...from here.
59353         (ExtractTestResultsAndLeaks): New class that's used by the leaks builder
59354         (ExtractTestResultsAndLeaks.finished): Calls up to the base class, but also adds a "view
59355         leaks" link to point to Leaks Viewer for this build.
59356         (TestFactory): Added ExtractTestResultsClass abstraction. This isn't overridden anywhere,
59357         but it seemed good to add for consistency with BuildAndTestFactory.
59358         (BuildAndTestFactory): Added ExtractTestResultsClass abstraction.
59359         (BuildAndTestLeaksFactory): Use ExtractTestResultsAndLeaks as our ExtractTestResultsClass so
59360         that we'll get a "view leaks" link.
59361
59362 2011-04-06  Zan Dobersek  <zandobersek@gmail.com>
59363
59364         Reviewed by Eric Seidel.
59365
59366         [Gtk] plugins/set-status.html fails
59367         https://bugs.webkit.org/show_bug.cgi?id=57844
59368
59369         Allow an empty status text to be dumped.
59370
59371         * DumpRenderTree/gtk/DumpRenderTree.cpp:
59372         (webViewStatusBarTextChanged):
59373
59374 2011-04-06  Chang Shu  <cshu@webkit.org>
59375
59376         Reviewed by Darin Adler.
59377
59378         WebKitTestRunner needs layoutTestController.pageNumberForElementById
59379         https://bugs.webkit.org/show_bug.cgi?id=42329
59380
59381         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59382         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59383         (WTR::LayoutTestController::pageNumberForElementById):
59384         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59385
59386 2011-04-06  Sergio Villar Senin  <svillar@igalia.com>
59387
59388         Reviewed by Martin Robinson.
59389
59390         [GTK] DumpRenderTree: do not try to free NULL SoupURIs
59391         https://bugs.webkit.org/show_bug.cgi?id=57932
59392
59393         Some Layout tests have invalid URIs that do not generate valid
59394         SoupURI instances. Do not try to free those NULL SoupURIs.
59395
59396         * DumpRenderTree/gtk/DumpRenderTree.cpp:
59397         (willSendRequestCallback):
59398
59399 2011-04-06  Csaba Osztrogonác  <ossy@webkit.org>
59400
59401         Reviewed by Andreas Kling.
59402
59403         ORWT shouldn't generate diff files for tests without expected files
59404         https://bugs.webkit.org/show_bug.cgi?id=57846
59405
59406         * Scripts/old-run-webkit-tests:
59407
59408 2011-04-05  Kevin Ollivier  <kevino@theolliviers.com>
59409
59410         [wx] Mac build fix. Handle cases where 10.4 SDK is not installed, and also add x86_64 arch
59411         to deps.
59412
59413         * wx/install-unix-extras:
59414
59415 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
59416
59417         Unreviewed, rolling out r82978, r82999, and r83001.
59418         http://trac.webkit.org/changeset/82978
59419         http://trac.webkit.org/changeset/82999
59420         http://trac.webkit.org/changeset/83001
59421         https://bugs.webkit.org/show_bug.cgi?id=57913
59422
59423         Does not work in Python 2.5 (Requested by abarth on #webkit).
59424
59425         * Scripts/webkitpy/common/system/executive.py:
59426         * Scripts/webkitpy/common/system/executive_unittest.py:
59427
59428 2011-04-05  Chang Shu  <cshu@webkit.org>
59429
59430         Reviewed by Darin Adler.
59431
59432         WebKitTestRunner needs layoutTestController.numberOfPages
59433         https://bugs.webkit.org/show_bug.cgi?id=42694
59434
59435         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59436         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59437         (WTR::LayoutTestController::numberOfPages):
59438         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59439
59440 2011-04-05  Tony Chang  <tony@chromium.org>
59441
59442         Reviewed by Mihai Parparita.
59443
59444         [chromium] stop putting results downloaded from WebKit Linux in chromium-linux-x86_64
59445         https://bugs.webkit.org/show_bug.cgi?id=57889
59446
59447         * Scripts/webkitpy/layout_tests/port/chromium.py:
59448         * Scripts/webkitpy/layout_tests/port/test.py:
59449         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
59450
59451 2011-04-05  Adam Barth  <abarth@webkit.org>
59452
59453         Silly with statement, from the future!
59454
59455         * Scripts/webkitpy/common/system/executive.py:
59456
59457 2011-04-05  Adam Barth  <abarth@webkit.org>
59458
59459         Reviewed by Tony Chang.
59460
59461         Don't use Exception.message because it's deprecated
59462         https://bugs.webkit.org/show_bug.cgi?id=57892
59463
59464         Suppress the warning for now.  When we move to Python 3, we might need
59465         to something more dramatic.
59466
59467         * Scripts/webkitpy/common/system/executive.py:
59468
59469 2011-04-05  Mihai Parparita  <mihaip@chromium.org>
59470
59471         Reviewed by Ojan Vafai.
59472
59473         Add builders.js to dashboard file list
59474         https://bugs.webkit.org/show_bug.cgi?id=57899
59475
59476         Add file added by http://crrev.com/80538 to dashboard file list.
59477
59478         * TestResultServer/handlers/dashboardhandler.py:
59479
59480 2011-04-05  MORITA Hajime  <morrita@google.com>
59481
59482         Reviewed by Adam Barth.
59483
59484         webkit-patch should print git's stderr when git svn dcommit fail
59485         http://webkit.org/b/57861
59486
59487         * Scripts/webkitpy/common/checkout/scm.py:
59488
59489 2011-04-05  Mihai Parparita  <mihaip@chromium.org>
59490
59491         Reviewed by Tony Chang.
59492
59493         Add --baseline-search-path to NRWT
59494         https://bugs.webkit.org/show_bug.cgi?id=56233
59495         
59496         Add NRWT option to specify additional directories to look for baselines
59497         (will be used by hardware GPU bots which will have local per-bot
59498         expectations for some tests)
59499
59500         * Scripts/webkitpy/common/system/filesystem_mock.py:
59501         * Scripts/webkitpy/layout_tests/port/base.py:
59502         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
59503         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
59504
59505 2011-04-05  Adam Roben  <aroben@apple.com>
59506
59507         Strip off /results.html from results URLs before trying to load leaks files from them
59508
59509         r82734 changed build.webkit.org's "view results" URLs to point straight to the results.html
59510         files, rather than pointing to the directory that contains them. This is more convenient for
59511         people browsing build.webkit.org, but confused Leaks Viewer.
59512
59513         Fixes <http://webkit.org/b/57869> REGRESSION (r82734): Links in Leaks Viewer's Recent Builds
59514         list don't work
59515
59516         Reviewed by Joseph Pecoraro.
59517
59518         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
59519         (RecentBuildsLoader.prototype.start): Strip off "/results.html" from the results URL.
59520
59521 2011-04-05  Carol Szabo  <carol@webkit.org>
59522
59523         Unreviewed.
59524
59525         Updated my info in committers.py
59526
59527         Scripts\webkitpy\common\config\committers.py 
59528
59529 2011-04-05  Csaba Osztrogonác  <ossy@webkit.org>
59530
59531         Reviewed by Laszlo Gombos.
59532
59533         [Qt] Make WebKitLibraries optional for building QtWebKit
59534         https://bugs.webkit.org/show_bug.cgi?id=57542
59535
59536         * Scripts/build-webkit:
59537
59538 2011-04-05  Chang Shu  <cshu@webkit.org>
59539
59540         Reviewed by Laszlo Gombos.
59541
59542         [Qt] MiniBrowser defaultUrl does not work
59543         https://bugs.webkit.org/show_bug.cgi?id=57021
59544
59545         Match the behavior and coding of MiniBrowser to QtTestBrowser.
59546         * MiniBrowser/qt/main.cpp:
59547         (main):
59548
59549 2011-04-05  Jade Han  <jade.han@nokia.com>
59550
59551         Reviewed by Laszlo Gombos.
59552
59553         [Qt] [Symbian] Disable WebKitTestRunner for Symbian
59554         https://bugs.webkit.org/show_bug.cgi?id=54977
59555
59556         This change is a preparation to enable building webkit2 for Symbian.
59557         Bug 57834 is filed to fix and enable WebKitTestRunner for Symbian.
59558
59559         * Tools.pro:
59560
59561 2011-04-05  Zoltan Horvath  <zoltan@webkit.org>
59562
59563         Reviewed by Andreas Kling.
59564
59565         [Qt] Fix timeoutTimer of MiniBrowser's UrlLoader
59566         https://bugs.webkit.org/show_bug.cgi?id=57832
59567
59568         Only QWKPage has loadFinished signal so connect to it instead of BrowserWindow.
59569
59570         * MiniBrowser/qt/UrlLoader.cpp:
59571         (UrlLoader::UrlLoader):
59572
59573 2011-04-05  Zoltan Horvath  <zoltan@webkit.org>
59574
59575         [Qt] Linux Release minimal build fix after r82919.
59576
59577         * MiniBrowser/qt/BrowserWindow.cpp:
59578         (BrowserWindow::loadURLListFromFile):
59579         * QtTestBrowser/launcherwindow.cpp:
59580         (LauncherWindow::loadURLListFromFile):
59581
59582 2011-04-05  Zoltan Horvath  <zoltan@webkit.org>
59583
59584         Reviewed by Andreas Kling.
59585
59586         [Qt] Make URL loader accessible from testbrowser's menus
59587         https://bugs.webkit.org/show_bug.cgi?id=57823
59588
59589         Add "Load URLs from file" to QtTestBrowser's and to MiniBrowser's menu.
59590
59591         * MiniBrowser/qt/BrowserWindow.cpp:
59592         (BrowserWindow::BrowserWindow):
59593         (BrowserWindow::loadURLListFromFile):
59594         (BrowserWindow::~BrowserWindow):
59595         * MiniBrowser/qt/BrowserWindow.h:
59596         * QtTestBrowser/launcherwindow.cpp:
59597         (LauncherWindow::LauncherWindow):
59598         (LauncherWindow::~LauncherWindow):
59599         (LauncherWindow::createChrome):
59600         (LauncherWindow::loadURLListFromFile):
59601         * QtTestBrowser/launcherwindow.h:
59602
59603 2011-04-04  Sam Weinig  <sam@webkit.org>
59604
59605         Reviewed by Brian Weinstein.
59606
59607         Remove duplicate API from WKContext
59608         <rdar://problem/8727879>
59609         https://bugs.webkit.org/show_bug.cgi?id=57815
59610
59611         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
59612         * TestWebKitAPI/Tests/WebKit2/SendingMessagesToTheWebProcessBeforeItIsValid.cpp: Removed.
59613         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
59614         Remove SendingMessagesToTheWebProcessBeforeItIsValid since the API it was testing is now removed.
59615
59616 2011-04-04  Tony Chang  <tony@chromium.org>
59617
59618         Reviewed by Ojan Vafai.
59619
59620         [chromium] don't write .checksum files if a fallback platform has an embedded checksum
59621         https://bugs.webkit.org/show_bug.cgi?id=57783
59622
59623         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
59624         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
59625
59626 2011-04-04  Kevin Ollivier  <kevino@theolliviers.com>
59627
59628         [wx] Unreviewed build fix, run uninstall when cleaning to remove built files
59629         from WebKitBuild.
59630
59631         * Scripts/webkitdirs.pm:
59632
59633 2011-04-04  Martin Robinson  <mrobinson@igalia.com>
59634
59635         Reviewed by Gustavo Noronha Silva.
59636
59637         [GTK] WebGL support
59638         https://bugs.webkit.org/show_bug.cgi?id=31517
59639
59640         Add support to the DRT for turning on WebGL when a layout tests requests it.
59641
59642         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
59643         (LayoutTestController::overridePreference): Allow turning on WebGL from tests.
59644
59645 2011-04-04  Chang Shu  <cshu@webkit.org>
59646
59647         Reviewed by Darin Adler.
59648
59649         WebKitTestRunner needs layoutTestController.setAllowFileAccessFromFileURLs
59650         https://bugs.webkit.org/show_bug.cgi?id=57572
59651
59652         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59653         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59654         (WTR::LayoutTestController::setAllowFileAccessFromFileURLs):
59655         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59656
59657 2011-04-04  Keith Kyzivat  <keith.kyzivat@nokia.com>
59658
59659         Reviewed by Csaba Osztrogonác.
59660
59661         [Qt] DumpRenderTree breaks compilation in some uClibc environments
59662         https://bugs.webkit.org/show_bug.cgi?id=57602
59663
59664         * DumpRenderTree/qt/main.cpp:
59665         (get_backtrace):
59666
59667 2011-04-04  Kevin Ollivier  <kevino@theolliviers.com>
59668
59669         [wx] Unreviewed build fix, add new LayoutTestController method stub to wx.
59670
59671         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
59672         (LayoutTestController::shadowRoot):
59673
59674 2011-04-04  Pavel Podivilov  <podivilov@chromium.org>
59675
59676         Unreviewed, fix exception in rebaseline tool.
59677
59678         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
59679
59680 2011-04-02  Beth Dakin  <bdakin@apple.com>
59681
59682         Rubber-stamped by Geoff Garen.
59683
59684         For Dan!
59685         * DumpRenderTree/mac/DumpRenderTree.mm:
59686         (resetWebViewToConsistentStateBeforeTesting):
59687
59688 2011-04-02  Beth Dakin  <bdakin@apple.com>
59689
59690         Rubber-stamped by Geoff Garen.
59691
59692         Need to reset the scale, much like zoom.
59693         * DumpRenderTree/mac/DumpRenderTree.mm:
59694         (resetWebViewToConsistentStateBeforeTesting):
59695
59696 2011-04-02  Sam Weinig  <sam@webkit.org>
59697
59698         Reviewed by Beth Dakin.
59699
59700         https://bugs.webkit.org/show_bug.cgi?id=57605
59701         Frame::pageScaleFactor() should not affect getBoundingClientRect() or 
59702         getClientRects()
59703         -and corresponding-
59704         <rdar://problem/9194541>
59705
59706         Add DRT support for the scaleWebView SPI.
59707         * DumpRenderTree/mac/EventSendingController.mm:
59708         (+[EventSendingController isSelectorExcludedFromWebScript:]):
59709         (+[EventSendingController webScriptNameForSelector:]):
59710         (-[EventSendingController scalePageBy:atX:andY:]):
59711         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
59712         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
59713         (WTR::EventSendingController::scalePageBy):
59714         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
59715         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
59716         (WTR::InjectedBundlePage::reset):
59717
59718 2011-04-02  Dominic Cooney  <dominicc@google.com>
59719
59720         Reviewed by Martin Robinson.
59721
59722         Add layoutTestController.shadowRoot to GTK DumpRenderTree.
59723         https://bugs.webkit.org/show_bug.cgi?id=57551
59724
59725         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
59726         (LayoutTestController::shadowRoot):
59727
59728 2011-04-02  Patrick Gansterer  <paroga@webkit.org>
59729
59730         Reviewed by Eric Seidel.
59731
59732         Remove AbstractStep._run_script and move script names to ports.py
59733         https://bugs.webkit.org/show_bug.cgi?id=57704
59734
59735         Replace deprecated _run_script with _tool.executive.run_and_throw_if_fail.
59736
59737         * Scripts/webkitpy/common/config/ports.py:
59738         * Scripts/webkitpy/tool/commands/download_unittest.py:
59739         * Scripts/webkitpy/tool/commands/roll_unittest.py:
59740         * Scripts/webkitpy/tool/commands/upload_unittest.py:
59741         * Scripts/webkitpy/tool/steps/abstractstep.py:
59742         * Scripts/webkitpy/tool/steps/checkstyle.py:
59743         * Scripts/webkitpy/tool/steps/preparechangelog.py:
59744         * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py:
59745         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
59746
59747 2011-04-02  Patrick Gansterer  <paroga@webkit.org>
59748
59749         Reviewed by Eric Seidel.
59750
59751         Emulate shebang on Win32
59752         https://bugs.webkit.org/show_bug.cgi?id=55927
59753
59754         Scripts on Windows work only if they are called with the explicit interpreter.
59755         Read the first line of scripts to detect the correct executable.
59756
59757         * Scripts/webkitpy/common/config/ports.py:
59758         * Scripts/webkitpy/common/system/executive.py: Added interpreter_for_script().
59759         * Scripts/webkitpy/common/system/executive_unittest.py:
59760
59761 2011-04-01  Adam Barth  <abarth@webkit.org>
59762
59763         Reviewed by Eric Seidel.
59764
59765         apos entities shouldn't show up in ChangeLogs when using webkit-patch
59766         https://bugs.webkit.org/show_bug.cgi?id=57692
59767
59768         Previously, we were using BeautifulSoup to process XML from
59769         bugs.webkit.org, but that's incorrect.  We should be using
59770         BeautifulStoneSoup to process the XML.  We were getting the &apos;
59771         entity wrong because &apos; is an XML entity but not an HTML entity.
59772
59773         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
59774         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
59775
59776 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
59777
59778         Unreviewed, rolling out r82721.
59779         http://trac.webkit.org/changeset/82721
59780         https://bugs.webkit.org/show_bug.cgi?id=57687
59781
59782         This patch introduced assertion failures on the GTK+ bots.
59783         (Requested by mrobinson on #webkit).
59784
59785         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
59786         (LayoutTestController::shadowRoot):
59787
59788 2011-04-01  Csaba Osztrogonác  <ossy@webkit.org>
59789
59790         Unreviewed buildfix.
59791
59792         [Qt][WK2] Build Webkit2 using "-2" option on Qt
59793         https://bugs.webkit.org/show_bug.cgi?id=55074
59794
59795         * Scripts/build-webkit: Ensure that "-2" isn't passed to qmake.
59796         (The isWK2() function removes it from @ARGV, but not from @options.)
59797
59798 2011-04-01  Keith Kyzivat  <keith.kyzivat@nokia.com>
59799
59800         Reviewed by Csaba Osztrogonác.
59801
59802         [Qt] [WK2] MiniBrowser.qrc not found - regression from rev 82671
59803         https://bugs.webkit.org/show_bug.cgi?id=57666
59804
59805         * MiniBrowser/qt/MiniBrowser.qrc: Renamed from Tools/MiniBrowser/MiniBrowser.qrc.
59806
59807 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
59808
59809         Reviewed by Adam Barth.
59810
59811         new-run-webkit-tests: fix feature detection, skipped platform lists on mac
59812
59813         We apparently never implemented the code to skip tests based on
59814         what was compiled into DRT. Also, change the logic used to skip
59815         platform directories to match what old-run-webkit-tests does: 
59816         skip every test not in a directory in the baseline search path.
59817
59818         https://bugs.webkit.org/show_bug.cgi?id=57662
59819
59820         * Scripts/webkitpy/layout_tests/port/mac.py:
59821         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
59822         * Scripts/webkitpy/layout_tests/port/webkit.py:
59823
59824 2011-03-29  Mark Rowe  <mrowe@apple.com>
59825
59826         Reviewed by Jon Honeycutt.
59827
59828         <http://webkit.org/b/56730> new-run-webkit-tests fails on Lion seed
59829
59830         Teach new-run-webkit-tests about the concept of an unreleased version of Mac OS X.
59831
59832         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
59833         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
59834         * Scripts/webkitpy/layout_tests/port/mac.py:
59835         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
59836
59837 2011-04-01  Chang Shu  <cshu@webkit.org>
59838
59839         Reviewed by Csaba Osztrogonác.
59840
59841         [Qt][WK2] Build Webkit2 using "-2" option on Qt
59842         https://bugs.webkit.org/show_bug.cgi?id=55074
59843
59844         * Scripts/build-webkit:
59845
59846 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
59847
59848         Reviewed by Tony Chang.
59849
59850         new-run-webkit-tests: remove spurious port version override in webkit.py
59851         base.py provides a default implementation so this is just
59852         breaking things.
59853
59854         https://bugs.webkit.org/show_bug.cgi?id=57667
59855
59856         * Scripts/webkitpy/layout_tests/port/webkit.py:
59857         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
59858
59859 2011-04-01  Csaba Osztrogonác  <ossy@webkit.org>
59860
59861         Reviewed by Adam Roben.
59862
59863         Make view results on waterfall direct link to results.html
59864         https://bugs.webkit.org/show_bug.cgi?id=57671
59865
59866         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add "/results.html" to the URL.
59867         * Scripts/old-run-webkit-tests: Add links to httpd access and error logs.
59868
59869 2011-04-01  Sam Weinig  <sam@webkit.org>
59870
59871         Fix windows build.
59872
59873         * TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
59874         (TestWebKitAPI::TEST):
59875         * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
59876         (TestWebKitAPI::flushMessages):
59877
59878 2011-04-01  Sam Weinig  <sam@webkit.org>
59879
59880         Reviewed by Adam Roben.
59881
59882         Add adoptWK to WKRetainPtr.h
59883         https://bugs.webkit.org/show_bug.cgi?id=57670
59884
59885         * TestWebKitAPI/PlatformUtilities.h:
59886         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
59887         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
59888         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
59889         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
59890         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
59891         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
59892         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
59893         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
59894         (TestWebKitAPI::createSessionStateContainingFormData):
59895         * WebKitTestRunner/StringFunctions.h:
59896         Replace custom versions of adoptWK with the API on in WebKit2/WKRetainPtr.h.
59897
59898 2011-04-01  Sam Weinig  <sam@webkit.org>
59899
59900         Reviewed by Adam Roben.
59901
59902         Fix leak noticed by Adam Roben in LayoutTestController::shadowRoot.
59903
59904         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59905         (WTR::LayoutTestController::shadowRoot):
59906         Make judicious use of adoptWK().
59907
59908 2011-04-01  Sam Weinig  <sam@webkit.org>
59909
59910         Reviewed by Timothy Hatcher.
59911
59912         Fix extract-localizable-strings for macro change from UI_STRING -> WEB_UI_STRING.
59913
59914         * Scripts/extract-localizable-strings:
59915
59916 2011-04-01  Anders Carlsson  <andersca@apple.com>
59917
59918         Reviewed by Sam Weinig.
59919
59920         Shockwave plug-in doesn't accept mouse events
59921         https://bugs.webkit.org/show_bug.cgi?id=57653
59922         <rdar://problem/8483273>
59923
59924         Add a plug-in test.
59925
59926         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
59927         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
59928         (PluginTest::indicateTestFailure):
59929         Move code from NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject here.
59930
59931         (PluginTest::NPN_ConvertPoint):
59932         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
59933         * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
59934         (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
59935         Call indicateTestFailure.
59936
59937         * DumpRenderTree/TestNetscapePlugIn/Tests/mac: Added.
59938         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp: Added.
59939         (ConvertPoint::ConvertPoint):
59940         (ConvertPoint::testConvert):
59941         (ConvertPoint::NPP_New):
59942
59943 2011-04-01  Dominic Cooney  <dominicc@google.com>
59944
59945         Reviewed by Martin Robinson.
59946
59947         Add layoutTestController.shadowRoot to GTK DumpRenderTree.
59948         https://bugs.webkit.org/show_bug.cgi?id=57551
59949
59950         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
59951         (LayoutTestController::shadowRoot):
59952
59953 2011-04-01  Sam Weinig  <sam@webkit.org>
59954
59955         Reviewed by Anders Carlsson.
59956
59957         WebKitTestRunner needs layoutTestController.shadowRoot
59958         https://bugs.webkit.org/show_bug.cgi?id=57661
59959
59960         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59961         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59962         (WTR::LayoutTestController::shadowRoot):
59963         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59964         Implement layoutTestController.shadowRoot for WebKit2.
59965
59966 2011-04-01  Chang Shu  <cshu@webkit.org>
59967
59968         Reviewed by Darin Adler.
59969
59970         WebKitTestRunner needs layoutTestController.setDatabaseQuota
59971         https://bugs.webkit.org/show_bug.cgi?id=57568
59972
59973         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
59974         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
59975         (WTR::LayoutTestController::setDatabaseQuota):
59976         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
59977
59978 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
59979
59980         Reviewed by Tony Chang.
59981
59982         This patch completes the cleanup of
59983         rebaseline-chromium-webkit-tests to work with all of the
59984         variants of a platform (we can now rebaseline gpu- and non-gpu
59985         files at the same time).
59986
59987         When the rebaselining is complete, any lines declared as
59988         REBASELINE in the expectations file that matches a test that was
59989         actually rebaselined will be deleted, even if only one of the
59990         variants was actually rebaselined. This may cause odd problems,
59991         but is better than where we're at today.
59992
59993         This change removes the -g flag and deprecates -w. The -g flag is gone
59994         because GPU baselines are handled just like any other variant.
59995         The -w flag is deprecated because this tool now only works
59996         against the canaries, since that's the only place we have a full
59997         set of bots. It will be trivial to change this to
59998         build.webkit.org if we decide that's where we want them to be.
59999
60000         Also, this patch deletes a lot of cruft that is no longer needed
60001         in the test_expectations code and the port-specific code.
60002
60003         https://bugs.webkit.org/show_bug.cgi?id=55191
60004
60005         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
60006         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
60007         * Scripts/webkitpy/layout_tests/port/base.py:
60008         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
60009         * Scripts/webkitpy/layout_tests/port/chromium.py:
60010         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
60011         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
60012         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
60013         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
60014         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
60015         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
60016         * Scripts/webkitpy/layout_tests/port/mac.py:
60017         * Scripts/webkitpy/layout_tests/port/test.py:
60018         * Scripts/webkitpy/layout_tests/port/webkit.py:
60019         * Scripts/webkitpy/layout_tests/port/win.py:
60020         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
60021         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
60022
60023 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
60024
60025         Reviewed by Adam Barth.
60026
60027         rebaseline-chromium-webkit-tests does not work correctly with
60028         version-specific baselines. This patch updates the tool to use
60029         all of the version-specific bots on the canaries, and will now
60030         attempt to rebaseline all of the versions by default, although
60031         it will not update both GPU and CPU versions.
60032         
60033         Also, it will no longer modify the test_expectations.txt file
60034         *at all*. You will have to manually delete the REBASELINE lines
60035         after running the tool and determining that it did what you
60036         wanted it to do. This should be fixed in a separate bug - see
60037         webkit bug #55191.
60038
60039         https://bugs.webkit.org/show_bug.cgi?id=55608
60040
60041         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
60042         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
60043         * Scripts/webkitpy/layout_tests/port/chromium.py:
60044         * Scripts/webkitpy/layout_tests/port/test.py:
60045         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
60046         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
60047
60048 2011-03-31  Tony Chang  <tony@chromium.org>
60049
60050         Reviewed by Ojan Vafai.
60051
60052         [chromium] update the rebaseline tool to know about pngs with checksums
60053         https://bugs.webkit.org/show_bug.cgi?id=57481
60054
60055         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Skip over .checksum files if the checksum is already in the png
60056         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
60057
60058 2011-04-01  Adam Roben  <aroben@apple.com>
60059
60060         Retrieve revision numbers from the build's got_revision property in Leaks Viewer
60061
60062         Previously, we were getting the revision of the first revision that triggered a build.
60063         Choosing the last revision would have been more accurate. But got_revision is what is used
60064         everywhere else on build.webkit.org, and should work even when there were no changes that
60065         triggered a build (e.g., if someone clicked the Force Build button).
60066
60067         Fixes <http://webkit.org/b/57630> Leaks viewer gets some revision numbers wrong in the
60068         recent builds list
60069
60070         Reviewed by Anders Carlsson.
60071
60072         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
60073         (RecentBuildsLoader.prototype.start): Pull the revision number out of the got_revision
60074         property, rather than out of the first (i.e., earliest) change in the sourceStamp object.
60075
60076         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
60077         (Array.prototype.first): Added this helper function to return the first element in an array
60078         that matches the given predicate, or null if no such element exists.
60079
60080 2011-03-31  Adam Roben  <aroben@apple.com>
60081
60082         Prefer (but don't require) bug URLs to be on their own line when parsing bug numbers from ChangeLogs
60083
60084         Fixes <http://webkit.org/b/57579> webkit-patch is too strict about bug URL formatting
60085
60086         Reviewed by Darin Adler.
60087
60088         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
60089         (parse_bug_id_from_changelog): Fall back to parse_bug_id if we weren't able to find a bug
60090         URL on its own line.
60091
60092         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
60093         (BugzillaTest.test_parse_bug_id_from_changelog): Updated expected results for test
60094         progression, and added a new test that uses a short bug URL while I was at it.
60095
60096 2011-04-01  Adam Roben  <aroben@apple.com>
60097
60098         Mark .vcproj/.vsprops/.sln files as being Windows-only
60099
60100         Fixes <http://webkit.org/b/57489> Mac builders built 82512, but shouldn't have
60101
60102         Reviewed by Anders Carlsson.
60103
60104         * Scripts/webkitpy/common/config/build.py:
60105         (_should_file_trigger_build): Added patterns to mark .vcproj/.vsprops/.sln files and .vcproj
60106         directories as Windows-only.
60107
60108         * Scripts/webkitpy/common/config/build_unittest.py:
60109         (ShoulBuildTest): Added test cases for the above.
60110
60111 2011-04-01  Keith Kyzivat  <keith.kyzivat@nokia.com>
60112
60113         Reviewed by Laszlo Gombos.
60114
60115         [Qt] Build MiniBrowser for Symbian
60116         https://bugs.webkit.org/show_bug.cgi?id=56319
60117
60118         Have MiniBrowser reference it's own copy of useragentlist.txt instead
60119         of copying QtTestBrowser's.
60120         Remove Tools/MiniBrowser/DerivedSources.pro
60121         This reduces complexity in the Tools scripts due to Symbian limitations.
60122
60123         * DerivedSources.pro:
60124         * MiniBrowser/DerivedSources.pro: Removed.
60125         * MiniBrowser/MiniBrowser.qrc:
60126         * MiniBrowser/qt/MiniBrowser.pro:
60127         * Scripts/webkitdirs.pm:
60128
60129 2011-03-31  Chang Shu  <cshu@webkit.org>
60130
60131         Reviewed by Darin Adler.
60132
60133         WebKitTestRunner needs layoutTestController.clearAllDatabases
60134         https://bugs.webkit.org/show_bug.cgi?id=42540
60135
60136         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
60137         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
60138         (WTR::InjectedBundle::beginTesting):
60139         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
60140         (WTR::LayoutTestController::clearAllDatabases):
60141         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
60142
60143 2011-03-31  Chang Shu  <cshu@webkit.org>
60144
60145         Reviewed by Darin Adler.
60146
60147         WebKitTestRunner needs layoutTestController.setAllowUniversalAccessFromFileURLs
60148         https://bugs.webkit.org/show_bug.cgi?id=42692
60149
60150         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
60151
60152 2011-03-31  Darin Adler  <darin@apple.com>
60153
60154         Reviewed by Sam Weinig.
60155
60156         Implement mouseDown, mouseUp, and mouseMoveTo in WebKitTestRunner
60157         https://bugs.webkit.org/show_bug.cgi?id=57573
60158
60159         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
60160         Added real definitions for mouseDown, mouseUp, mouseMoveTo and leapForward.
60161         Removed fake definitions of keyDown and contextClick.
60162
60163         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
60164         (WTR::operator==): Added. So we can compare two WKPoint structs.
60165         (WTR::parseModifier): Added.
60166         (WTR::parseModifierArray): Added.
60167         (WTR::EventSendingController::EventSendingController): Initialize the
60168         new data members.
60169         (WTR::EventSendingController::mouseDown): Added. Calls
60170         WKBundlePageSimulateMouseDown.
60171         (WTR::EventSendingController::mouseUp): Added. Calls
60172         WKBundlePageSimulateMouseUp.
60173         (WTR::EventSendingController::mouseMoveTo): Added. Calls
60174         WKBundlePageSimulateMouseMotion.
60175         (WTR::EventSendingController::leapForward): Added.
60176         (WTR::EventSendingController::updateClickCount): Added. Used by the
60177         mouseDown/Up functions to create a click count.
60178
60179         * WebKitTestRunner/InjectedBundle/EventSendingController.h: Updated
60180         for the changes above.
60181
60182 2011-03-31  Sergio Villar Senin  <svillar@igalia.com>
60183
60184         Reviewed by Martin Robinson.
60185
60186         [GTK] implement LayoutTestController::setWillSendRequestReturnsNull
60187         https://bugs.webkit.org/show_bug.cgi?id=57362
60188
60189         Do not generate DRT output if willSendRequestReturnsNull is set.
60190
60191         * DumpRenderTree/gtk/DumpRenderTree.cpp:
60192         (willSendRequestCallback):
60193
60194 2011-03-31  Vamshikrishna.Yellenki  <vamshi@motorola.com> and Alejandro G. Castro  <alex@igalia.com>
60195
60196         Reviewed by Martin Robinson.
60197
60198         Implement MiniBrowser for Gtk port.
60199         https://bugs.webkit.org/show_bug.cgi?id=48512
60200
60201         Initial implementation of the Gtk MiniBrowser.
60202
60203         * MiniBrowser/gtk/GNUmakefile.am: Added.
60204         * MiniBrowser/gtk/main.c: Added.
60205         (activateUriEntryCallback):
60206         (destroyCallback):
60207         (goBackCallback):
60208         (goForwardCallback):
60209         (createToolbar):
60210         (createWebView):
60211         (createWindow):
60212         (argumentToURL):
60213         (main):
60214
60215 2011-03-30  Dominic Cooney  <dominicc@google.com>
60216
60217         Reviewed by Dimitri Glazkov.
60218
60219         Adds layoutTestController.shadowRoot accessor to Mac DRT.
60220         https://bugs.webkit.org/show_bug.cgi?id=57415
60221
60222         * DumpRenderTree/LayoutTestController.cpp:
60223         (shadowRootCallback):
60224         (LayoutTestController::staticFunctions):
60225         * DumpRenderTree/LayoutTestController.h:
60226         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
60227         (LayoutTestController::shadowRoot):
60228         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
60229         (LayoutTestController::shadowRoot):
60230
60231 2011-03-30  Matthew Delaney  <mdelaney@apple.com>
60232
60233         Reviewed by Chris Marrin.
60234
60235         Update fast/canvas tests to avoid dumping the render tree when possible
60236         https://bugs.webkit.org/show_bug.cgi?id=57493
60237
60238         * DumpRenderTree/mac/DumpRenderTree.mm: Make DRT aware of new default values for
60239           accelerated drawing and accelerated drawing for canvas
60240
60241 2011-03-30  Adam Roben  <aroben@apple.com>
60242
60243         Stop ignoring leaks in CGGradientCreateWithColorStops
60244
60245         Fixes <rdar://problem/7888547>.
60246
60247         Rubber-stamped by John Sullivan.
60248
60249         * Scripts/old-run-webkit-tests:
60250         (countAndPrintLeaks): Removed some code to ignore those leaks.
60251
60252 2011-03-30  Timur Iskhodzhanov  <timurrrr@google.com>
60253
60254         Reviewed by Alexey Proskuryakov.
60255
60256         Add some dynamic annotations to JavaScriptCore/wtf
60257         https://bugs.webkit.org/show_bug.cgi?id=53747
60258
60259         By using these annotations we can improve the precision of finding
60260         WebKit errors using dynamic analysis tools like ThreadSanitizer and Valgrind.
60261         These annotations don't affect the compiled binaries unless USE(DYNAMIC_ANNOTATIONS) is "1".
60262
60263         These files don't add new functionality, so don't need extra tests.
60264
60265         * DumpRenderTree/ForwardingHeaders/wtf/DynamicAnnotations.h: Added.
60266
60267 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
60268
60269         Reviewed by Adam Roben.
60270
60271         Share most vsprops between Release and Production builds in releaseproduction.vsprops
60272         https://bugs.webkit.org/show_bug.cgi?id=57508
60273
60274         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops:
60275         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginRelease.vsprops:
60276         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseCairoCFLite.vsprops:
60277         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops:
60278         * DumpRenderTree/win/DumpRenderTreeRelease.vsprops:
60279         * DumpRenderTree/win/DumpRenderTreeReleaseCairoCFLite.vsprops:
60280         * DumpRenderTree/win/ImageDiffProduction.vsprops:
60281         * DumpRenderTree/win/ImageDiffRelease.vsprops:
60282         * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops:
60283         * FindSafari/FindSafariProduction.vsprops:
60284         * FindSafari/FindSafariRelease.vsprops:
60285         * FindSafari/FindSafariReleaseCairoCFLite.vsprops:
60286         * FindSafari/FindSafariReleasePGO.vsprops:
60287         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops:
60288         * MiniBrowser/Configurations/MiniBrowserRelease.vsprops:
60289         * MiniBrowser/Configurations/MiniBrowserReleaseCairoCFLite.vsprops:
60290         * TestWebKitAPI/Configurations/TestWebKitAPIRelease.vsprops:
60291         * TestWebKitAPI/Configurations/TestWebKitAPIReleaseCairoCFLite.vsprops:
60292         * WebKitAPITest/WebKitAPITestProduction.vsprops:
60293         * WebKitAPITest/WebKitAPITestRelease.vsprops:
60294         * WebKitAPITest/WebKitAPITestReleaseCairoCFLite.vsprops:
60295         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops:
60296         * WebKitLauncherWin/WebKitLauncherWinRelease.vsprops:
60297         * WebKitLauncherWin/WebKitLauncherWinReleaseCairoCFLite.vsprops:
60298         * WebKitTestRunner/win/InjectedBundleProduction.vsprops:
60299         * WebKitTestRunner/win/InjectedBundleRelease.vsprops:
60300         * WebKitTestRunner/win/InjectedBundleReleaseCairoCFLite.vsprops:
60301         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops:
60302         * WebKitTestRunner/win/WebKitTestRunnerRelease.vsprops:
60303         * WebKitTestRunner/win/WebKitTestRunnerReleaseCairoCFLite.vsprops:
60304         * WinLauncher/WinLauncherProduction.vsprops:
60305         * WinLauncher/WinLauncherRelease.vsprops:
60306         * WinLauncher/WinLauncherReleaseCairoCFLite.vsprops:
60307         * record-memory-win/record-memory-winProduction.vsprops:
60308         * record-memory-win/record-memory-winRelease.vsprops:
60309         * record-memory-win/record-memory-winReleaseCairoCFLite.vsprops:
60310
60311 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
60312
60313         Reviewed by Adam Roben.
60314
60315         Update Windows production build logic for new production configurations
60316         https://bugs.webkit.org/show_bug.cgi?id=57494
60317
60318         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops:
60319         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops:
60320         * DumpRenderTree/win/ImageDiffProduction.vsprops:
60321         * FindSafari/FindSafariProduction.vsprops:
60322         * FindSafari/FindSafariReleasePGO.vsprops:
60323         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops:
60324         * WebKitAPITest/WebKitAPITestProduction.vsprops:
60325         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops:
60326         * WebKitTestRunner/win/InjectedBundleProduction.vsprops:
60327         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops:
60328         * WinLauncher/WinLauncherProduction.vsprops:
60329         * record-memory-win/record-memory-winProduction.vsprops:
60330
60331 2011-03-30  Robert Hogan  <robert@webkit.org>
60332
60333         Reviewed by Antonio Gomes.
60334
60335         [Qt] Fix LoadHTMLStringItem::invoke() after r75966
60336         Unskip http/tests/navigation/go-back-to-error-page.html
60337
60338         Also add the location of DumpRenderTreeSupportQt.h
60339         to DRT's include paths.
60340
60341         https://bugs.webkit.org/show_bug.cgi?id=52614
60342
60343         * DumpRenderTree/qt/DumpRenderTree.pro:
60344         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
60345         * DumpRenderTree/qt/DumpRenderTreeQt.h:
60346         * DumpRenderTree/qt/GCControllerQt.cpp:
60347         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
60348         (LayoutTestController::queueLoadHTMLString):
60349         * DumpRenderTree/qt/LayoutTestControllerQt.h:
60350         * DumpRenderTree/qt/PlainTextControllerQt.cpp:
60351         * DumpRenderTree/qt/TextInputControllerQt.cpp:
60352         * DumpRenderTree/qt/WorkQueueItemQt.cpp:
60353         (LoadAlternateHTMLStringItem::invoke):
60354         * DumpRenderTree/qt/WorkQueueItemQt.h:
60355         (LoadAlternateHTMLStringItem::LoadAlternateHTMLStringItem):
60356         * QtTestBrowser/QtTestBrowser.pro:
60357         * QtTestBrowser/launcherwindow.h:
60358
60359 2011-03-30  Adam Barth  <abarth@webkit.org>
60360
60361         Reviewed by Adam Roben.
60362
60363         SheriffBot rollouts take too long
60364         https://bugs.webkit.org/show_bug.cgi?id=57498
60365
60366         We used to build before landing rollouts via the commit-queue to
60367         prevent further breakage, but now that our individual commit-queue
60368         machines are slower, building takes too long.  I can't remember the
60369         last time a rollout broke compile.  It seems like just landing the
60370         patch is the better trade-off.
60371
60372         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
60373         * Scripts/webkitpy/tool/commands/queues_unittest.py:
60374
60375 2011-03-30  Adam Barth  <abarth@webkit.org>
60376
60377         Remove platform/chromium-mac-snowleopard
60378         https://bugs.webkit.org/show_bug.cgi?id=57486
60379
60380         This directory no longer exists, so we can remove it from the fallback
60381         chain.
60382
60383         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
60384
60385 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
60386
60387         Reviewed by Adam Roben.
60388
60389         Rename Windows configuration Release_LTCG to Production for clarity
60390         https://bugs.webkit.org/show_bug.cgi?id=57465
60391
60392         * DumpRenderTree/DumpRenderTree.sln:
60393         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
60394         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops: Copied from Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops.
60395         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops: Removed.
60396         * DumpRenderTree/win/DumpRenderTree.vcproj:
60397         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops: Copied from Tools/DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops.
60398         * DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops: Removed.
60399         * DumpRenderTree/win/ImageDiff.vcproj:
60400         * DumpRenderTree/win/ImageDiffProduction.vsprops: Copied from Tools/DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops.
60401         * DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops: Removed.
60402         * FindSafari/FindSafari.vcproj:
60403         * FindSafari/FindSafariProduction.vsprops: Copied from Tools/FindSafari/FindSafariReleaseLTCG.vsprops.
60404         * FindSafari/FindSafariReleaseLTCG.vsprops: Removed.
60405         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops: Copied from Tools/MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops.
60406         * MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops: Removed.
60407         * MiniBrowser/MiniBrowser.vcproj:
60408         * Scripts/webkitdirs.pm:
60409         * TestWebKitAPI/win/TestWebKitAPI.sln:
60410         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
60411         * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
60412         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
60413         * WebKitAPITest/WebKitAPITest.vcproj:
60414         * WebKitAPITest/WebKitAPITestProduction.vsprops: Copied from Tools/WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops.
60415         * WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops: Removed.
60416         * WebKitLauncherWin/WebKitLauncherWin.vcproj:
60417         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops: Copied from Tools/WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops.
60418         * WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops: Removed.
60419         * WebKitTestRunner/WebKitTestRunner.sln:
60420         * WebKitTestRunner/win/InjectedBundle.vcproj:
60421         * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
60422         * WebKitTestRunner/win/InjectedBundleProduction.vsprops: Copied from Tools/WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops.
60423         * WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops: Removed.
60424         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
60425         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops: Copied from Tools/WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops.
60426         * WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops: Removed.
60427         * WinLauncher/WinLauncher.vcproj:
60428         * WinLauncher/WinLauncherProduction.vsprops: Copied from Tools/WinLauncher/WinLauncherReleaseLTCG.vsprops.
60429         * WinLauncher/WinLauncherReleaseLTCG.vsprops: Removed.
60430         * record-memory-win/record-memory-win.vcproj:
60431         * record-memory-win/record-memory-winProduction.vsprops: Copied from Tools/record-memory-win/record-memory-winReleaseLTCG.vsprops.
60432         * record-memory-win/record-memory-winReleaseLTCG.vsprops: Removed.
60433
60434 2011-03-30  MORITA Hajime  <morrita@google.com>
60435
60436         Reviewed by Dimitri Glazkov.
60437
60438         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
60439         https://bugs.webkit.org/show_bug.cgi?id=56573
60440
60441         Added LayoutTestController.shadowRoot() to Chromium DRT.
60442
60443         * DumpRenderTree/chromium/LayoutTestController.cpp:
60444         (LayoutTestController::LayoutTestController):
60445         (LayoutTestController::shadowRoot):
60446         * DumpRenderTree/chromium/LayoutTestController.h:
60447
60448 2011-03-30  Yuta Kitamura  <yutak@chromium.org>
60449
60450         Reviewed by Kent Tamura.
60451
60452         [Chromium] DumpRenderTree: Implement LayoutTestController::setPluginsEnabled
60453         https://bugs.webkit.org/show_bug.cgi?id=57430
60454
60455         * DumpRenderTree/chromium/LayoutTestController.cpp:
60456         (LayoutTestController::LayoutTestController):
60457         (LayoutTestController::setPluginsEnabled):
60458         * DumpRenderTree/chromium/LayoutTestController.h:
60459
60460 2011-03-30  Maciej Stachowiak  <mjs@apple.com>
60461
60462         Reviewed by Adam Barth.
60463
60464         make webkit-patch upload respect -d
60465         https://bugs.webkit.org/show_bug.cgi?id=57425
60466
60467         * Scripts/webkitpy/common/checkout/scm.py:
60468         * Scripts/webkitpy/tool/steps/commit.py:
60469
60470 2011-03-30  Maciej Stachowiak  <mjs@apple.com>
60471
60472         Reviewed by Adam Barth.
60473
60474         Make "webkit-patch --dry-run --verbose land" log the SVN command it's going to use
60475         https://bugs.webkit.org/show_bug.cgi?id=57429
60476
60477         * Scripts/webkitpy/common/checkout/scm.py:
60478
60479 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
60480
60481         Unreviewed, rolling out r82383.
60482         http://trac.webkit.org/changeset/82383
60483         https://bugs.webkit.org/show_bug.cgi?id=57417
60484
60485         "nrwt isn't shutting down cleanly" (Requested by dpranke on
60486         #webkit).
60487
60488         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
60489         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
60490         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
60491
60492 2011-03-29  Kent Tamura  <tkent@chromium.org>
60493
60494         Reviewed by Dimitri Glazkov.
60495
60496         Make validation message bubble testable
60497         https://bugs.webkit.org/show_bug.cgi?id=57290
60498
60499         * DumpRenderTree/mac/DumpRenderTree.mm:
60500         (createWebViewAndOffscreenWindow): Change a setting so that validation
60501           bubbles isn't hidden automatically.
60502
60503 2011-03-29  Dirk Pranke  <dpranke@chromium.org>
60504
60505         Reviewed by Ojan Vafai.
60506
60507         new-run-webkit-tests: use 'threads' on win instead of 'old-threads'
60508
60509         It's a bit unclear whether multiple threads or multiple
60510         processes will be a better model on windows. This change will
60511         test threads for now while we're still working out the bugs in
60512         multiple-processes.
60513
60514         https://bugs.webkit.org/show_bug.cgi?id=57410
60515
60516         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
60517         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
60518         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
60519
60520 2011-03-29  David Levin  <levin@chromium.org>
60521
60522         Reviewed by Shinichiro Hamaji.
60523
60524         check-webkit-style confused by two ChangeLog entries in a row from same user
60525         https://bugs.webkit.org/show_bug.cgi?id=57250
60526
60527         * Scripts/webkitpy/style/checker.py: Add the line should be checked function to ChangeLogChecker.
60528         * Scripts/webkitpy/style/checker_unittest.py: Fix test due to that new function.
60529         * Scripts/webkitpy/style/checkers/changelog.py: Made this code aware of what lines were being checked.
60530           It basically assumes only one ChangeLog entry is being processed because that is the standard case and
60531           checking more than that would be very messey.
60532         * Scripts/webkitpy/style/checkers/changelog_unittest.py: Add testing to catch the broken case.
60533         * Scripts/webkitpy/style/error_handlers.py: Added should_line_be_checked.
60534
60535 2011-03-29  Kent Tamura  <tkent@chromium.org>
60536
60537         Reviewed by Dimitri Glazkov.
60538
60539         [Mac] Enable interactive-validation tests on Mac DRT
60540         https://bugs.webkit.org/show_bug.cgi?id=57308
60541
60542         * DumpRenderTree/mac/DumpRenderTree.mm:
60543         (createWebViewAndOffscreenWindow): Enable the form interactive validation feature.
60544
60545 2011-03-29  Chang Shu  <cshu@webkit.org>
60546
60547         Reviewed by Kenneth Rohde Christiansen.
60548
60549         WebKitTestRunner needs layoutTestController.setAllowUniversalAccessFromFileURLs
60550         https://bugs.webkit.org/show_bug.cgi?id=42692
60551
60552         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
60553         (WTR::InjectedBundle::beginTesting):
60554         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
60555         (WTR::LayoutTestController::setAllowUniversalAccessFromFileURLs):
60556         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
60557
60558 2011-03-24  Martin Robinson  <mrobinson@igalia.com>
60559
60560         Reviewed by Xan Lopez.
60561
60562         [GTK] [DRT] GtkScrolledWindow adds three pixels of padding between the WebView and the scrollbar
60563         https://bugs.webkit.org/show_bug.cgi?id=57067
60564
60565         Eliminate extra spacing between the DRT GtkScrolledWindow and the DRT WebView. This
60566         will allow WebKit1GTK+ and WebKit2GTK+ to share test results. Followup commits will
60567         update DRT and pixel results as hundreds of results will need to be updated.
60568
60569         * DumpRenderTree/gtk/DumpRenderTree.cpp:
60570         (setDefaultsToConsistentStateValuesForTesting): Eliminate spacing on the GtkScrolledWindow
60571         by overriding the theme RC/CSS files.
60572
60573 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
60574
60575         Reviewed by Adam Roben.
60576
60577         Use per-configuration vsprops in tools projects to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
60578         https://bugs.webkit.org/show_bug.cgi?id=57394
60579
60580         Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
60581         InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
60582         the IDE. To avoid this, add a separate vsprops file for each project configuration that
60583         contains the required inherited property sheets.
60584
60585         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
60586         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebug.vsprops: Added.
60587         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebugAll.vsprops: Added.
60588         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebugCairoCFLite.vsprops: Added.
60589         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginRelease.vsprops: Added.
60590         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseCairoCFLite.vsprops: Added.
60591         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops: Added.
60592         * DumpRenderTree/win/DumpRenderTree.vcproj:
60593         * DumpRenderTree/win/DumpRenderTreeDebug.vsprops: Added.
60594         * DumpRenderTree/win/DumpRenderTreeDebugAll.vsprops: Added.
60595         * DumpRenderTree/win/DumpRenderTreeDebugCairoCFLite.vsprops: Added.
60596         * DumpRenderTree/win/DumpRenderTreeRelease.vsprops: Added.
60597         * DumpRenderTree/win/DumpRenderTreeReleaseCairoCFLite.vsprops: Added.
60598         * DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops: Added.
60599         * DumpRenderTree/win/ImageDiff.vcproj:
60600         * DumpRenderTree/win/ImageDiffDebug.vsprops: Added.
60601         * DumpRenderTree/win/ImageDiffDebugAll.vsprops: Added.
60602         * DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops: Added.
60603         * DumpRenderTree/win/ImageDiffRelease.vsprops: Added.
60604         * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops: Added.
60605         * DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops: Added.
60606         * FindSafari/FindSafari.vcproj:
60607         * FindSafari/FindSafariDebug.vsprops: Added.
60608         * FindSafari/FindSafariDebugAll.vsprops: Added.
60609         * FindSafari/FindSafariDebugCairoCFLite.vsprops: Added.
60610         * FindSafari/FindSafariRelease.vsprops: Added.
60611         * FindSafari/FindSafariReleaseCairoCFLite.vsprops: Added.
60612         * FindSafari/FindSafariReleaseLTCG.vsprops: Added.
60613         * FindSafari/FindSafariReleasePGO.vsprops: Added.
60614         * MiniBrowser/Configurations/MiniBrowserDebug.vsprops: Added.
60615         * MiniBrowser/Configurations/MiniBrowserDebugAll.vsprops: Added.
60616         * MiniBrowser/Configurations/MiniBrowserDebugCairoCFLite.vsprops: Added.
60617         * MiniBrowser/Configurations/MiniBrowserRelease.vsprops: Added.
60618         * MiniBrowser/Configurations/MiniBrowserReleaseCairoCFLite.vsprops: Added.
60619         * MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops: Added.
60620         * MiniBrowser/MiniBrowser.vcproj:
60621         * WebKitAPITest/WebKitAPITest.vcproj:
60622         * WebKitAPITest/WebKitAPITestDebug.vsprops: Added.
60623         * WebKitAPITest/WebKitAPITestDebugAll.vsprops: Added.
60624         * WebKitAPITest/WebKitAPITestDebugCairoCFLite.vsprops: Added.
60625         * WebKitAPITest/WebKitAPITestRelease.vsprops: Added.
60626         * WebKitAPITest/WebKitAPITestReleaseCairoCFLite.vsprops: Added.
60627         * WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops: Added.
60628         * WebKitLauncherWin/WebKitLauncherWin.vcproj:
60629         * WebKitLauncherWin/WebKitLauncherWinDebug.vsprops: Added.
60630         * WebKitLauncherWin/WebKitLauncherWinDebugAll.vsprops: Added.
60631         * WebKitLauncherWin/WebKitLauncherWinDebugCairoCFLite.vsprops: Added.
60632         * WebKitLauncherWin/WebKitLauncherWinRelease.vsprops: Added.
60633         * WebKitLauncherWin/WebKitLauncherWinReleaseCairoCFLite.vsprops: Added.
60634         * WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops: Added.
60635         * WebKitTestRunner/win/InjectedBundle.vcproj:
60636         * WebKitTestRunner/win/InjectedBundleDebug.vsprops: Added.
60637         * WebKitTestRunner/win/InjectedBundleDebugAll.vsprops: Added.
60638         * WebKitTestRunner/win/InjectedBundleDebugCairoCFLite.vsprops: Added.
60639         * WebKitTestRunner/win/InjectedBundleRelease.vsprops: Added.
60640         * WebKitTestRunner/win/InjectedBundleReleaseCairoCFLite.vsprops: Added.
60641         * WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops: Added.
60642         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
60643         * WebKitTestRunner/win/WebKitTestRunnerDebug.vsprops: Added.
60644         * WebKitTestRunner/win/WebKitTestRunnerDebugAll.vsprops: Added.
60645         * WebKitTestRunner/win/WebKitTestRunnerDebugCairoCFLite.vsprops: Added.
60646         * WebKitTestRunner/win/WebKitTestRunnerRelease.vsprops: Added.
60647         * WebKitTestRunner/win/WebKitTestRunnerReleaseCairoCFLite.vsprops: Added.
60648         * WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops: Added.
60649         * WinLauncher/WinLauncher.vcproj:
60650         * WinLauncher/WinLauncherDebug.vsprops: Added.
60651         * WinLauncher/WinLauncherDebugAll.vsprops: Added.
60652         * WinLauncher/WinLauncherDebugCairoCFLite.vsprops: Added.
60653         * WinLauncher/WinLauncherRelease.vsprops: Added.
60654         * WinLauncher/WinLauncherReleaseCairoCFLite.vsprops: Added.
60655         * WinLauncher/WinLauncherReleaseLTCG.vsprops: Added.
60656         * record-memory-win/record-memory-win.vcproj:
60657         * record-memory-win/record-memory-winDebug.vsprops: Added.
60658         * record-memory-win/record-memory-winDebugAll.vsprops: Added.
60659         * record-memory-win/record-memory-winDebugCairoCFLite.vsprops: Added.
60660         * record-memory-win/record-memory-winRelease.vsprops: Added.
60661         * record-memory-win/record-memory-winReleaseCairoCFLite.vsprops: Added.
60662         * record-memory-win/record-memory-winReleaseLTCG.vsprops: Added.
60663
60664 2011-03-29  Adam Barth  <abarth@webkit.org>
60665
60666         Reviewed by Darin Adler.
60667
60668         test_runner2.py can crash due to undefined variable
60669         https://bugs.webkit.org/show_bug.cgi?id=57356
60670
60671         Replace reference to undefined variable with a variable that's actually
60672         defined.  AFAICT, there's no way to test this code.
60673
60674         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
60675
60676 2011-03-29  Tony Chang  <tony@chromium.org>
60677
60678         Reviewed by Eric Seidel.
60679
60680         cleanup rebaseline-chromium-webkit-tests
60681         https://bugs.webkit.org/show_bug.cgi?id=57375
60682
60683         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
60684             - Split _extract_and_add_new_baselines into 3 functions
60685             - Reduce the amount of line wrapping (the file already has lines
60686               over 80 col, so may as well try to make the file consistent)
60687             - Remove unnecessary ()s
60688
60689 2011-03-29  Brent Fulgham  <bfulgham@webkit.org>
60690
60691         Reviewed by Adam Roben.
60692
60693         Make WinCairo a core builder.
60694         https://bugs.webkit.org/show_bug.cgi?id=57373
60695
60696         * Scripts/webkitpy/common/net/buildbot/buildbot.py: Add WinCairo.
60697         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: Add WinCairo.
60698
60699 2011-03-29  Timothy Hatcher  <timothy@apple.com>
60700
60701         Update update-webkit-localizable-strings to understand that WebKit and
60702         WebKit2 strings go in WebCore.
60703
60704         Also make extract-localizable-strings optionally use an exclude file. No individual
60705         warnings are produced about unlocalized strings when there is no exclude file. This
60706         is needed for WebCore, since there are too many bare strings.
60707
60708         https://webkit.org/b/57354
60709
60710         Reviewed by Sam Weinig.
60711
60712         * Scripts/extract-localizable-strings: Support "-" to mean no exclude file.
60713         * Scripts/update-webkit-localizable-strings: Update paths to scan WebCore and WebKit2.
60714
60715 2011-03-29  Darin Adler  <darin@apple.com>
60716
60717         Reviewed by Adam Roben.
60718
60719         WebKit2 bundle page needs to offer generated file hooks
60720         https://bugs.webkit.org/show_bug.cgi?id=57279
60721
60722         (Land missing part of the original patch after r82289.)
60723
60724         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
60725         (WTR::InjectedBundlePage::InjectedBundlePage): Added new callbacks.
60726
60727 2011-03-29  Tony Chang  <tony@chromium.org>
60728
60729         Reviewed by Ojan Vafai.
60730
60731         [chromium] NRWT should be able to read checksums from png comments
60732         https://bugs.webkit.org/show_bug.cgi?id=57280
60733
60734         * Scripts/read-checksum-from-png: Added. Utility script to read the checksum
60735             from a file.
60736         * Scripts/webkitpy/common/system/filesystem.py: Add open_binary_file_for_reading
60737         * Scripts/webkitpy/common/system/filesystem_mock.py:
60738         * Scripts/webkitpy/layout_tests/port/base.py: When loading a checksum,
60739             if the -checksum.txt file doesn't exist, try looking in the png.
60740         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
60741         * Scripts/webkitpy/layout_tests/port/test.py:
60742         * Scripts/webkitpy/layout_tests/read_checksum_from_png.py: Added. Scan the first
60743             2k for a png comment with the checksum
60744         * Scripts/webkitpy/layout_tests/read_checksum_from_png_unittest.py: Added.
60745
60746 2011-03-29  Philippe Normand  <pnormand@igalia.com>
60747
60748         Rubber-stamped by Gustavo Noronha Silva.
60749
60750         [GTK] http/tests/uri/username-with-no-hostname.html fails
60751         https://bugs.webkit.org/show_bug.cgi?id=57325
60752
60753         * DumpRenderTree/gtk/DumpRenderTree.cpp:
60754         (willSendRequestCallback): URI host value check done case-insensitively.
60755
60756 2011-03-29  Philippe Normand  <pnormand@igalia.com>
60757
60758         Reviewed by Martin Robinson.
60759
60760         [GTK] http/tests/uri/username-with-no-hostname.html fails
60761         https://bugs.webkit.org/show_bug.cgi?id=57325
60762
60763         * DumpRenderTree/gtk/DumpRenderTree.cpp:
60764         (willSendRequestCallback): Check URI before submitting the request
60765         to WebCore.
60766
60767 2011-03-29  Noel Gordon  <noel.gordon@gmail.com>
60768
60769         Reviewed by Ojan Vafai.
60770
60771         [chromium] DRT EventSender: remove identity from dragTargetDragEnter() calls
60772         https://bugs.webkit.org/show_bug.cgi?id=57303
60773
60774         * DumpRenderTree/chromium/EventSender.cpp:
60775         (EventSender::doDragDrop):
60776         (EventSender::beginDragWithFiles):
60777
60778 2011-03-29  Zoltan Horvath  <zoltan@webkit.org>
60779
60780         Reviewed by Andreas Kling.
60781
60782         [Qt] Add -print-loaded-urls option to Qt's MiniBrowser and to QtTestBrowser
60783         https://bugs.webkit.org/show_bug.cgi?id=57314
60784
60785         Provide possibility to print loaded urls to the standard output.
60786
60787         * MiniBrowser/qt/BrowserWindow.cpp:
60788         (BrowserWindow::BrowserWindow):
60789         (BrowserWindow::printURL):
60790         * MiniBrowser/qt/BrowserWindow.h:
60791         * MiniBrowser/qt/MiniBrowserApplication.cpp:
60792         (MiniBrowserApplication::handleUserOptions):
60793         * MiniBrowser/qt/MiniBrowserApplication.h:
60794         (WindowOptions::WindowOptions):
60795         * QtTestBrowser/launcherwindow.cpp:
60796         (LauncherWindow::initializeView):
60797         (LauncherWindow::printURL):
60798         (LauncherWindow::cloneWindow):
60799         * QtTestBrowser/launcherwindow.h:
60800         (WindowOptions::WindowOptions):
60801         * QtTestBrowser/main.cpp:
60802         (LauncherApplication::handleUserOptions):
60803
60804 2011-03-29  Gabor Loki  <loki@webkit.org>
60805
60806         Rubber-stamped by Csaba Osztrogonác.
60807
60808         [Qt] Teach build-jsc how to build JavaScriptCore on Qt
60809         https://bugs.webkit.org/show_bug.cgi?id=56918
60810
60811         * Scripts/build-jsc: Remove duplicated --qt options to avoid passing them to qmake.
60812
60813 2011-03-28  Gabor Loki  <loki@webkit.org>
60814
60815         Reviewed by Csaba Osztrogonác.
60816
60817         [Qt] Teach build-jsc how to build JavaScriptCore on Qt
60818         https://bugs.webkit.org/show_bug.cgi?id=56918
60819
60820         * Scripts/build-jsc:
60821         * Scripts/webkitdirs.pm:
60822
60823 2011-03-28  Andrew Foster  <andrewf@chromium.org>
60824
60825         Reviewed by Ojan Vafai.
60826
60827         webkit-patch should be more intelligent about whether a bug applies to a patch
60828         Create a new function, parse_bug_id_from_changelog() which determines
60829         that a bug is related to a patch by parsing the output generated from
60830         prepare-ChangeLog, rather than arbitrarily matching a URL to a bug in
60831         the description of a patch.
60832         https://bugs.webkit.org/show_bug.cgi?id=56989
60833
60834         * Scripts/webkitpy/common/checkout/api.py:
60835         * Scripts/webkitpy/common/checkout/changelog.py:
60836         * Scripts/webkitpy/common/net/bugzilla/__init__.py:
60837         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
60838         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
60839         * Scripts/webkitpy/style/checkers/changelog.py:
60840         * Scripts/webkitpy/tool/commands/upload.py:
60841
60842 2011-03-28  Maciej Stachowiak  <mjs@apple.com>
60843
60844         Revert accidentally commited change.
60845
60846         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
60847         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
60848
60849 2011-03-28  Tony Chang  <tony@chromium.org>
60850
60851         Reviewed by Adam Barth.
60852
60853         [chromium] have DRT write the png checksum into a png comment
60854         https://bugs.webkit.org/show_bug.cgi?id=57255
60855
60856         * DumpRenderTree/chromium/TestShell.cpp:
60857         (TestShell::dumpImage):
60858
60859 2011-03-28  Adele Peterson  <adele@apple.com>
60860
60861         Removing Qt stub, since it doesn't use the same header as the others.
60862
60863         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
60864
60865 2011-03-28  Adele Peterson  <adele@apple.com>
60866
60867         Added a few more stubs.
60868
60869         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
60870         (LayoutTestController::hasGrammarMarker):
60871         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
60872         (LayoutTestController::hasGrammarMarker):
60873         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
60874         (LayoutTestController::hasGrammarMarker):
60875
60876 2011-03-28  Adele Peterson  <adele@apple.com>
60877
60878         Build fix.
60879
60880         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
60881         (LayoutTestController::hasGrammarMarker):
60882
60883 2011-03-28  Adele Peterson  <adele@apple.com>
60884
60885         Reviewed by Eric Seidel.
60886
60887         Testing support for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type
60888         https://bugs.webkit.org/show_bug.cgi?id=57173
60889
60890         * DumpRenderTree/LayoutTestController.cpp:
60891         (hasGrammarMarkerCallback): Added.
60892         (LayoutTestController::staticFunctions): Added case for hasGrammarMarker.
60893         * DumpRenderTree/LayoutTestController.h:
60894         * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): Call setGrammarCheckingEnabled.
60895         * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::hasGrammarMarker): Added. Call new hasGrammarMarker method.
60896
60897 2011-03-28  Csaba Osztrogonác  <ossy@webkit.org>
60898
60899         Reviewed by Benjamin Poulain.
60900
60901         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
60902         https://bugs.webkit.org/show_bug.cgi?id=57087
60903
60904         Trivial typo fix after r82082.
60905
60906         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
60907         (WTR::activateFonts):
60908
60909 2011-03-28  Alexis Menard  <alexis.menard@openbossa.org>
60910
60911         Reviewed by Andreas Kling.
60912
60913         Add myself to the committers list.
60914
60915         * Scripts/webkitpy/common/config/committers.py:
60916
60917 2011-03-28  Simon Fraser  <simon.fraser@apple.com>
60918
60919         Reviewed by Sam Weinig.
60920
60921         WebKit2 unfortunately uses code from WebKit, so MiniBrowser needs
60922         to link against WebKit.framework for now.
60923
60924         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
60925
60926 2011-03-28  Benjamin Poulain  <benjamin.poulain@nokia.com>
60927
60928         Reviewed by Andreas Kling.
60929
60930         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
60931         https://bugs.webkit.org/show_bug.cgi?id=57087
60932
60933         Disable QT_ASCII_CAST_WARNINGS for applications.
60934
60935         * DumpRenderTree/qt/DumpRenderTree.pro:
60936         * DumpRenderTree/qt/ImageDiff.pro:
60937         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
60938         * MiniBrowser/qt/MiniBrowser.pro:
60939         * QtTestBrowser/QtTestBrowser.pro:
60940         * WebKitTestRunner/qt/WebKitTestRunner.pro:
60941
60942 2011-03-28  Andreas Kling  <kling@webkit.org>
60943
60944         Reviewed by Kenneth Rohde Christiansen.
60945
60946         [Qt] QtTestBrowser doesn't reset its window title when opening about:blank
60947         https://bugs.webkit.org/show_bug.cgi?id=57224
60948
60949         * QtTestBrowser/mainwindow.cpp:
60950         (MainWindow::buildUI):
60951         (MainWindow::onTitleChanged):
60952         * QtTestBrowser/mainwindow.h:
60953
60954 2011-03-27  Jer Noble  <jer.noble@apple.com>
60955
60956         Reviewed by Maciej Stachowiak.
60957
60958         Full Screen: disable keyboard access by default
60959         https://bugs.webkit.org/show_bug.cgi?id=56684
60960
60961         Accept the withKeyboard parameter to supportsFullScreenForElement.
60962
60963         * DumpRenderTree/mac/UIDelegate.mm:
60964         (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]):
60965
60966 2011-03-27  Patrick Gansterer  <paroga@webkit.org>
60967
60968         Reviewed by David Levin.
60969
60970         check-webkit-style should check ChangeLog for a valid bug number
60971         https://bugs.webkit.org/show_bug.cgi?id=57184
60972
60973         * Scripts/webkitpy/style/checker.py:
60974         * Scripts/webkitpy/style/checker_unittest.py:
60975         * Scripts/webkitpy/style/checkers/changelog.py: Added.
60976         * Scripts/webkitpy/style/checkers/changelog_unittest.py: Added.
60977
60978 2011-03-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
60979
60980         Reviewed by Andreas Kling.
60981
60982         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
60983         https://bugs.webkit.org/show_bug.cgi?id=57087
60984
60985         Use explicit conversion for string to avoid depending on the default codec
60986         installed by the user code.
60987
60988         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
60989         (WTR::activateFonts):
60990
60991 2011-03-26  Maciej Stachowiak  <mjs@apple.com>
60992
60993         Revert inadvertantly committed changes.
60994
60995         * Scripts/old-run-webkit-tests:
60996         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
60997
60998 2011-03-26  Andreas Kling  <kling@webkit.org>
60999
61000         Reviewed by Kenneth Rohde Christiansen.
61001
61002         [Qt] Show page icons (favicons) in QtTestBrowser location bar.
61003         https://bugs.webkit.org/show_bug.cgi?id=57162
61004
61005         * QtTestBrowser/QtTestBrowser.qrc:
61006         * QtTestBrowser/favicon.png: Added.
61007         * QtTestBrowser/locationedit.cpp:
61008         (defaultPageIcon):
61009         (LocationEdit::LocationEdit):
61010         (LocationEdit::setPageIcon):
61011         (LocationEdit::resizeEvent):
61012         (LocationEdit::updateInternalGeometry):
61013         * QtTestBrowser/locationedit.h:
61014         * QtTestBrowser/mainwindow.cpp:
61015         (MainWindow::buildUI):
61016         (MainWindow::onIconChanged):
61017         (MainWindow::onLoadStarted):
61018         * QtTestBrowser/mainwindow.h:
61019
61020 2011-03-23  Martin Robinson  <mrobinson@igalia.com>
61021
61022         Reviewed by Xan Lopez.
61023
61024         [GTK] Force DumpRenderTree to use 96 DPI
61025         https://bugs.webkit.org/show_bug.cgi?id=56866
61026
61027         Make sure that GTK+ is set to use 96 DPI when running tests. This ensures
61028         broader compatibility with WebKit2 and makes setting font sizes more straightforward.
61029
61030         * DumpRenderTree/gtk/DumpRenderTree.cpp:
61031         (initializeGtkFontSettings): Set the screen resolution and GTK+ xft property to 96 DPI.
61032         (resetDefaultsToConsistentValues):Remove the call which repeatedly set the GDK screen resolution.
61033         (setDefaultsToConsistentStateValuesForTesting): Update the font sizes to reflect the new DPI.
61034
61035 2011-03-25  Andy Estes  <aestes@apple.com>
61036
61037         Reviewed by Adele Peterson.
61038
61039         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
61040         https://bugs.webkit.org/show_bug.cgi?id=49016
61041
61042         TestNetscapePlugIn needs to register support for an image MIME type so
61043         we can test that the embed tag prefers plug-ins to render image MIME
61044         types.
61045
61046         * DumpRenderTree/TestNetscapePlugIn/mac/Info.plist: Register image/png.
61047         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
61048         (NP_GetMIMEDescription): Ditto.
61049         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Ditto.
61050
61051 2011-03-25  Jessie Berlin  <jberlin@apple.com>
61052
61053         Reviewed by Sam Weinig.
61054
61055         WebKit2: Need to be able to set and get the Cookie Storage Policy.
61056         https://bugs.webkit.org/show_bug.cgi?id=50780
61057
61058         Add a test for getting and setting the HTTP Cookie Accept Policy in WebKit2.
61059
61060         The test is named "CookieManager" so that we can eventually exercise more of the
61061         CookieManager functionality in the test.
61062
61063         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp: Added.
61064         (TestWebKitAPI::didGetTestHTTPCookieAcceptPolicy):
61065         Assert that the policy returned is equal to the policy set in
61066         didGetUserHTTPCookieAcceptPolicy, and then restore the user's policy.
61067         (TestWebKitAPI::didGetUserHTTPCookieAcceptPolicy):
61068         Set the policy to something different than the user's policy and get the policy again.
61069         (TestWebKitAPI::didFinishLoadForFrame):
61070         Get the user's policy so that it can be restored at the end of the test.
61071         (TestWebKitAPI::TEST):
61072         Load about:blank so that the Web Process gets instatiated (needed to get the
61073         CookieManager).
61074
61075         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
61076         Add CookieManager.cpp.
61077
61078 2011-03-24  Kevin Ollivier  <kevino@theolliviers.com>
61079
61080         [wx] Fix the build so that gcc-4.1 and up can be used to build on SnowLeopard.
61081
61082         * wx/build/settings.py:
61083
61084 2011-03-24  Ilya Sherman  <isherman@chromium.org>
61085
61086         Reviewed by Adam Roben.
61087
61088         Implement layoutTestController.setAutoFilled in DRT on Windows
61089         https://bugs.webkit.org/show_bug.cgi?id=56828
61090
61091         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
61092         (LayoutTestController::setAutofilled): Implemented.
61093
61094 2011-03-24  Brent Fulgham  <bfulgham@webkit.org>
61095
61096         Unreviewed build correction.
61097
61098         Correct vsprops file for Debug variant of the CFLite build.
61099         Disable a CFNETWORK-specific test when building for CFLite.
61100
61101         * TestWebKitAPI/Configurations/TestWebKitAPIDebugCairoCFLite.vsprops:
61102         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
61103
61104 2011-03-24  Dirk Pranke  <dpranke@chromium.org>
61105
61106         Reviewed by Adam Barth.
61107
61108         fix regressions introduced in 81908 - there were a couple of
61109         code paths that only fired under python 2.5 that I missed.
61110
61111         Also change a couple of 'python' references to sys.executable
61112         in order to handle runing test-webkitpy with a binary other than
61113         something called 'python'.
61114
61115         https://bugs.webkit.org/show_bug.cgi?id=57063
61116
61117         * Scripts/webkitpy/layout_tests/port/mac.py:
61118         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
61119         * Scripts/webkitpy/test/cat.py:
61120         * Scripts/webkitpy/test/echo.py:
61121
61122 2011-03-24  Brent Fulgham  <bfulgham@webkit.org>
61123
61124         Unreviewed build correction.
61125
61126         Add a stub implementation of the TestInvocation dumping logic.
61127         Update project files to reflect new file.
61128
61129         * WebKitTestRunner/cairo: Added.
61130         * WebKitTestRunner/cairo/TestInvocationCairo.cpp: Added.
61131         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
61132         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
61133
61134 2011-03-24  Dirk Pranke  <dpranke@chromium.org>
61135
61136         Reviewed by Tony Chang.
61137
61138         new-run-webkit-tests: clean up worker model defaults. This
61139         changes the default behavior to 'threads' instead of
61140         'old-threads', and clarifies that chromium-win-* and
61141         chromium-mac-leopard are exceptions.
61142
61143         https://bugs.webkit.org/show_bug.cgi?id=56971
61144
61145         * Scripts/webkitpy/layout_tests/port/base.py:
61146         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
61147         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
61148         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
61149         * Scripts/webkitpy/layout_tests/port/test.py:
61150         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
61151
61152 2011-03-23  Leandro Gracia Gil  <leandrogracia@chromium.org>
61153
61154         Reviewed by Darin Adler.
61155
61156         Media Stream API: fix the order of the options in build-webkit.
61157         https://bugs.webkit.org/show_bug.cgi?id=56949
61158
61159         Fix the order of the options in build-webkit.
61160
61161         * Scripts/build-webkit:
61162
61163 2011-03-23  Adam Klein  <adamk@chromium.org>
61164
61165         Reviewed by Mihai Parparita.
61166
61167         Add an option to new-run-webkit-httpd to allow overriding the location of LayoutTests directory
61168         https://bugs.webkit.org/show_bug.cgi?id=56884
61169
61170         This option will be utilized by Chromium's ui_tests to allow
61171         referencing js-test-resources from a layout test over HTTP.
61172
61173         * Scripts/new-run-webkit-httpd:
61174         Added --layout_tests_dir option.
61175         * Scripts/webkitpy/layout_tests/port/http_server.py:
61176         Plumbed through as layout_tests_dir param.
61177
61178 2011-03-23  Dirk Pranke  <dpranke@chromium.org>
61179
61180         Reviewed by Mihai Parparita.
61181
61182         new-run-webkit-tests: run tests in ascending alphabetical order per
61183         dir. This is a second attempt at the fix; the first attempt, in 
61184         r81597, broke the behavior on the old-inline and old-threads
61185         worker models.
61186
61187         https://bugs.webkit.org/show_bug.cgi?id=56760
61188
61189         * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
61190         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
61191         * Scripts/webkitpy/layout_tests/port/test.py:
61192         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
61193
61194 2011-03-23  Mario Sanchez Prada  <msanchez@igalia.com>
61195
61196         Reviewed by Martin Robinson.
61197
61198         [GTK] GTK's DRT to ouput detail's string for the 'property-change' signal
61199         https://bugs.webkit.org/show_bug.cgi?id=56953
61200
61201         Print the string for the detail of 'property-change' signal.
61202
61203         * DumpRenderTree/gtk/AccessibilityCallbacks.cpp:
61204         (axObjectEventListener): Print the detail string.
61205
61206 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
61207
61208         Reviewed by Pavel Feldman.
61209
61210         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
61211         https://bugs.webkit.org/show_bug.cgi?id=56843
61212
61213         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
61214         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
61215
61216 2011-03-22  Eric Seidel  <eric@webkit.org>
61217
61218         Reviewed by Adam Barth.
61219
61220         Teach update-webkit about gyp
61221         https://bugs.webkit.org/show_bug.cgi?id=56881
61222
61223         This makes it possible for someone who builds from Xcode
61224         to just run update-webkit --gyp and have the project files
61225         generated after update automatically.
61226
61227         I also added a stand-alone "generate-project-files" script
61228         wrapping Source/gyp/configure.  This makes running gyp simpler
61229         since most people will not have gyp or Source/gyp in their path.
61230
61231         * Scripts/build-webkit:
61232         * Scripts/generate-project-files: Added.
61233         * Scripts/update-webkit:
61234
61235 2011-03-22  Anton D'Auria  <adauria@apple.com>
61236
61237         Reviewed by Alexey Proskuryakov.
61238
61239         Add +[WebApplicationCache getOriginsWithCache]
61240         https://bugs.webkit.org/show_bug.cgi?id=56722
61241
61242         * DumpRenderTree/LayoutTestController.cpp:
61243         (originsWithApplicationCacheCallback):
61244         (LayoutTestController::staticFunctions):
61245         * DumpRenderTree/LayoutTestController.h:
61246         * DumpRenderTree/chromium/LayoutTestController.cpp: Added stub.
61247         (LayoutTestController::originsWithApplicationCache):
61248         * DumpRenderTree/chromium/LayoutTestController.h:
61249         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added stub.
61250         (LayoutTestController::originsWithApplicationCache):
61251         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Pass array of origin's database identifiers.
61252         (originsArrayToJS): Helper function for converting array of WebSecurityOrigins to a JS array of origin identifiers.
61253         (LayoutTestController::originsWithApplicationCache):
61254         (LayoutTestController::originsWithLocalStorage):
61255         * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added stub.
61256         (LayoutTestController::originsWithApplicationCache):
61257         * DumpRenderTree/qt/LayoutTestControllerQt.h:
61258         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added stub.
61259         (LayoutTestController::originsWithApplicationCache):
61260         * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added stub.
61261         (LayoutTestController::originsWithApplicationCache):
61262
61263 2011-03-22  Eric Seidel  <eric@webkit.org>
61264
61265         Reviewed by Adam Barth.
61266
61267         Add support to build-webkit for building with gyp-generated project files
61268         https://bugs.webkit.org/show_bug.cgi?id=56877
61269
61270         build-webkit is a cesspool.  This change just hacks in --gyp support for Mac.
61271         Eventually we'll want to support gyp-generated projects in a more general manner.
61272
61273         * Scripts/build-webkit:
61274
61275 2011-03-22  David Kilzer  <ddkilzer@apple.com>
61276
61277         <http://webkit.org/b/56781> Add --dsym switch to enable dsym generation when building with Xcode
61278
61279         Reviewed by Joseph Pecoraro.
61280
61281         * Scripts/build-webkit: Updated usage statement to include
61282         --dsym.
61283         * Scripts/webkitdirs.pm: Added $generateDsym variable.
61284         (generateDsym): Added. Call determineGenerateDsym() and
61285         return $generateDsym.
61286         (determineGenerateDsym): Added.  Parse @ARGV for --dsym and set
61287         $generateDsym.
61288         (argumentsForXcode): Added.  Returns additional arguments for
61289         xcodebuild based on command-line switches.
61290         (XcodeOptions): Updated to include argumentsForXcode() in the
61291         array returned.
61292
61293 2011-03-22  Adam Roben  <aroben@apple.com>
61294
61295         Make Leopard Debug bots and Windows XP Debug (Tests) core builders
61296
61297         These bots are consistently green again.
61298
61299         Fixes <http://webkit.org/b/56830> Leopard Debug bots and Windows XP Debug (Tests) should be
61300         core builders
61301
61302         Rubber-stamped by Antti Koivisto.
61303
61304         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
61305         (BuildBot.__init__): Loosened the regexps for Leopard and Windows.
61306
61307         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
61308         (BuildBotTest.test_builder_name_regexps): Updated expectations.
61309
61310 2011-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
61311
61312         Unreviewed, rolling out r81597.
61313         http://trac.webkit.org/changeset/81597
61314         https://bugs.webkit.org/show_bug.cgi?id=56801
61315
61316         Change results in lots of unexpected flaky on the dashboard.
61317         (Requested by pfeldman on #webkit).
61318
61319         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
61320         * Scripts/webkitpy/layout_tests/port/test.py:
61321         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
61322
61323 2011-03-21  Sam Weinig  <sam@webkit.org>
61324
61325         Fix failing tests on the WebKit2 bots.
61326
61327         * WebKitTestRunner/TestController.cpp:
61328         (WTR::TestController::resetStateToConsistentValues):
61329
61330 2011-03-21  Daniel Sievers  <sievers@google.com>
61331
61332         Reviewed by Simon Fraser.
61333
61334         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
61335         https://bugs.webkit.org/show_bug.cgi?id=56139
61336
61337         * DumpRenderTree/chromium/DumpRenderTree.cpp:
61338         (main):
61339         * DumpRenderTree/chromium/LayoutTestController.cpp:
61340         (LayoutTestController::LayoutTestController):
61341         (LayoutTestController::layerTreeAsText):
61342         * DumpRenderTree/chromium/LayoutTestController.h:
61343         (LayoutTestController::setShowDebugLayerTree):
61344         * DumpRenderTree/chromium/TestShell.cpp:
61345         (TestShell::runFileTest):
61346         (TestShell::dump):
61347         * DumpRenderTree/chromium/TestShell.h:
61348         (TestParams::TestParams):
61349
61350 2011-03-21  Adam Roben  <aroben@apple.com>
61351
61352         Try again to get buildbot to show run-javascriptcore-tests's actual.html as an HTML file
61353
61354         Fixes <http://webkit.org/b/56746> build.webkit.org shows run-javascriptcore-tests's HTML
61355         output as plain text
61356
61357         Reviewed by David Kilzer.
61358
61359         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
61360         (RunJavaScriptCoreTests): List actual.html as one of our log files so it will get uploaded
61361         to the master.
61362         (RunJavaScriptCoreTests.commandComplete): Reading the actual.html file here won't work,
61363         since we're running on the build master, not the slave. Instead, turn the raw source of
61364         actual.html which the build slave uploaded into an HTML log.
61365
61366 2011-03-21  Dirk Pranke  <dpranke@chromium.org>
61367
61368         Reviewed by Mihai Parparita.
61369
61370         new-run-webkit-tests: run tests in ascending alphabetical order per dir
61371         https://bugs.webkit.org/show_bug.cgi?id=56760
61372
61373         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
61374         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
61375         * Scripts/webkitpy/layout_tests/port/test.py:
61376
61377 2011-03-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
61378
61379         Reviewed by Steve Block.
61380
61381         Media Stream API patch 0: adding compilation guards.
61382         https://bugs.webkit.org/show_bug.cgi?id=56458
61383
61384         Adding options to enable the media stream API feature in Chromium.
61385
61386         * Scripts/build-webkit:
61387
61388 2011-03-21  Qi Zhang  <qi.2.zhang@nokia.com>
61389
61390         Reviewed by Laszlo Gombos.
61391
61392         [Qt] Add a command line option to capture stdout and stderr for DumpRenderTree
61393         https://bugs.webkit.org/show_bug.cgi?id=56323
61394
61395         Using freopen to redirect STDOUT and STDERR when DumpRenderTree command line provide 
61396         "--stdout" or "--stderr" option.
61397
61398         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
61399         (WebCore::DumpRenderTree::~DumpRenderTree):
61400         (WebCore::DumpRenderTree::processArgsLine):
61401         (WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
61402         * DumpRenderTree/qt/DumpRenderTreeQt.h:
61403         (WebCore::DumpRenderTree::setRedirectOutputFileName):
61404         (WebCore::DumpRenderTree::setRedirectErrorFileName):
61405         * DumpRenderTree/qt/main.cpp:
61406         (isOption):
61407         (takeOptionValue):
61408         (printUsage):
61409         (main):
61410
61411 2011-03-21  Adam Roben  <aroben@apple.com>
61412
61413         Fix exceptions on the buildbot due to my last change
61414
61415         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
61416         (RunJavaScriptCoreTests.commandComplete): Catch exceptions due to actual.html not existing.
61417
61418 2011-03-21  Adam Roben  <aroben@apple.com>
61419
61420         Teach buildbot to treat run-javascriptcore-tests's actual.html as an HTML file
61421
61422         Fixes <http://webkit.org/b/56746> build.webkit.org shows run-javascriptcore-tests's HTML
61423         output as plain text
61424
61425         Reviewed by Darin Adler.
61426
61427         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
61428         (RunJavaScriptCoreTests): Removed the logfiles variable, which can only handle plaintext
61429         logs.
61430         (RunJavaScriptCoreTests.commandComplete): Use the addHTMLLog method to upload actual.html to
61431         the build master. This will correctly treat it as HTML.
61432
61433 2011-03-20  Bill Budge  <bbudge@chromium.org>
61434
61435         Reviewed by Adam Barth.
61436
61437         Rename ThreadSafeShared to ThreadSafeRefCounted
61438         https://bugs.webkit.org/show_bug.cgi?id=56714
61439
61440         No new tests. Exposes no new functionality.
61441
61442         * DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeRefCounted.h: Copied from DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h.
61443         * DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h: Removed.
61444         * Scripts/do-webcore-rename:
61445
61446 2011-03-19  Anton D'Auria  <adauria@apple.com>
61447
61448         Reviewed by Dan Bernstein.
61449
61450         Add stub to LayoutTestControllerGtk.cpp to fix GTK build
61451         https://bugs.webkit.org/show_bug.cgi?id=56719
61452
61453         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Adding stub.
61454         (LayoutTestController::clearApplicationCacheForOrigin):
61455
61456 2011-03-19  Anton D'Auria  <adauria@apple.com>
61457
61458         Reviewed by Alexey Proskuryakov.
61459
61460         ApplicationCacheGroup is not obsolete after being deleted via ApplicationCacheStorage::deleteEntriesForOrigin
61461         https://bugs.webkit.org/show_bug.cgi?id=56415
61462
61463         * DumpRenderTree/LayoutTestController.cpp:
61464         (clearApplicationCacheForOriginCallback):
61465         (LayoutTestController::staticFunctions):
61466         * DumpRenderTree/LayoutTestController.h:
61467         * DumpRenderTree/chromium/LayoutTestController.cpp: Adding stubs.
61468         (LayoutTestController::LayoutTestController):
61469         (LayoutTestController::clearAllApplicationCaches):
61470         (LayoutTestController::clearApplicationCacheForOrigin): 
61471         * DumpRenderTree/chromium/LayoutTestController.h:
61472         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Adding stub.
61473         (LayoutTestController::clearApplicationCacheForOrigin):
61474         * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Adding stub.
61475         (LayoutTestController::clearApplicationCacheForOrigin):
61476         * DumpRenderTree/qt/LayoutTestControllerQt.h:
61477         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Adding stub.
61478         (LayoutTestController::clearApplicationCacheForOrigin):
61479         * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Adding stub.
61480         (LayoutTestController::clearApplicationCacheForOrigin):
61481
61482 2011-03-18  Dan Bernstein  <mitz@apple.com>
61483
61484         Revised build fix for r81135.
61485
61486         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
61487         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
61488
61489 2011-03-18  Adam Roben  <aroben@apple.com>
61490
61491         Windows build fix
61492
61493         * WebKitTestRunner/config.h: Add a missing #endif.
61494
61495 2011-03-18  Andreas Kling  <kling@webkit.org>
61496
61497         Unbreak Qt build after r81494.
61498
61499         * WebKitTestRunner/qt/TestInvocationQt.cpp:
61500         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
61501
61502 2011-03-18  Sam Weinig  <sam@webkit.org>
61503
61504         Fix windows build. This was really Adam Roben's fault. I swear!
61505
61506         * WebKitTestRunner/config.h:
61507
61508 2011-03-18  Sam Weinig  <sam@webkit.org>
61509
61510         Reviewed by Adam Roben.
61511
61512         Pixel tests don't work in WebKitTestRunner on Windows
61513         https://bugs.webkit.org/show_bug.cgi?id=56630
61514
61515         Cross-platformize (Mac and Windows CG) the pixel dumping code in WebKitTestRunner to use WebKit2
61516         built-in snapshotting instead of using the window server on the Mac.
61517
61518         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
61519         (WTR::InjectedBundle::InjectedBundle):
61520         (WTR::InjectedBundle::didReceiveMessage):
61521         (WTR::InjectedBundle::beginTesting):
61522         (WTR::InjectedBundle::done):
61523         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
61524         (WTR::InjectedBundle::setPixelResult):
61525         (WTR::InjectedBundle::shouldDumpPixels):
61526         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
61527         (WTR::InjectedBundlePage::dump):
61528         Take the snapshot in the bundle and send it to the UIProcess for dumping.
61529
61530         * WebKitTestRunner/TestInvocation.cpp:
61531         (WTR::TestInvocation::invoke):
61532         (WTR::TestInvocation::dump):
61533         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
61534         * WebKitTestRunner/TestInvocation.h:
61535         * WebKitTestRunner/cg: Added.
61536         * WebKitTestRunner/cg/TestInvocationCG.cpp: Copied from WebKitTestRunner/mac/TestInvocationMac.mm.
61537         (WTR::createCGContextFromImage):
61538         (WTR::computeMD5HashStringForContext):
61539         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
61540         * WebKitTestRunner/mac/TestInvocationMac.mm: Removed.
61541         Making pixel dumping code shared for CG ports. Also use the WTF/MD5 instead of platform specific code.
61542
61543         * WebKitTestRunner/win/TestInvocationWin.cpp:
61544         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
61545         Keep stub for Cairo build.
61546
61547         * WebKitTestRunner/Configurations/WebKitTestRunnerCoreGraphics.vsprops: Added.
61548         Add CG configuration.
61549
61550         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
61551         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
61552         Add new files.
61553
61554 2011-03-18  Adam Roben  <aroben@apple.com>
61555
61556         Don't allow Leaks Viewer's vertical scrollbar to cover up long function names
61557
61558         Rubber-stamped by Simon Fraser.
61559
61560         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
61561         (.data-grid .data-container): Use overflow-y:auto instead of the Inspector's default
61562         overflow-y:overlay so that the scrollbar doesn't overlay the content.
61563
61564 2011-03-18  Adam Roben  <aroben@apple.com>
61565
61566         Don't ellipsize long or indented function names in Leaks Viewer
61567
61568         Fixes <http://webkit.org/b/56037> Leaks viewer needs horizontal
61569         scrollbar
61570
61571         Reviewed by Simon Fraser.
61572
61573         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
61574         (.data-grid .data-container):
61575         (.data-grid td > div, .data-grid th > div):
61576         Allow the contents to extend to the right.
61577
61578 2011-03-18  Adam Roben  <aroben@apple.com>
61579
61580         Fix some leaks in DRT seen on the leaks bot
61581
61582         Fixes <http://webkit.org/b/56638> addURLToRedirectCallback and
61583         setWillSendRequestClearHeaderCallback in DRT are leaky
61584
61585         Reviewed by Alexey Proskuryakov.
61586
61587         * DumpRenderTree/ForwardingHeaders/wtf/OwnArrayPtr.h: Added.
61588
61589         * DumpRenderTree/LayoutTestController.cpp:
61590         (addURLToRedirectCallback):
61591         (setWillSendRequestClearHeaderCallback):
61592         Use OwnArrayPtr to cause the strings to be deleted.
61593
61594 2011-03-18  Adam Roben  <aroben@apple.com>
61595
61596         Fix a NSURLCredential leak seen on the leaks bot
61597
61598         Fixes <http://webkit.org/b/56637> -[SynchronousLoader
61599         connection:didReceiveAuthenticationChallenge:] is leaky
61600
61601         Reviewed by John Sullivan.
61602
61603         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
61604         (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]): Use a RetainPtr to
61605         cause the NSURLCredential to be released.
61606
61607 2011-03-18  John Knottenbelt  <jknotten@chromium.org>
61608
61609         Unreviewed.
61610
61611         Remove unnecessary brackets around my email address.
61612
61613         * Scripts/webkitpy/common/config/committers.py:
61614
61615 2011-03-18  Adam Roben  <aroben@apple.com>
61616         
61617         Remove some files I accidentally added in r81454
61618
61619         * WebKitTestRunner/Configurations/WebKitTestRunnerCoreGraphics.vsprops: Removed.
61620         * WebKitTestRunner/cg/TestInvocationCG.cpp: Removed.
61621
61622 2011-03-18  Adam Roben  <aroben@apple.com>
61623
61624         Ignore an NSNumberFormatter leak on SnowLeopard
61625
61626         * Scripts/old-run-webkit-tests:
61627         (countAndPrintLeaks): Ignore leaks in -[NSNumberFormatter
61628         getObjectValue:forString:errorDescription:].
61629
61630 2011-03-18  Adam Roben  <aroben@apple.com>
61631
61632         Fix a leak beneath LayoutTestController::authenticateSession seen on the bots
61633
61634         Rubber-stamped by Mark Rowe.
61635
61636         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
61637         (LayoutTestController::authenticateSession): Use a RetainPtr to cause the NSURLRequest to be
61638         released.
61639
61640 2011-03-17  Adam Roben  <aroben@apple.com>
61641
61642         Address a review comment I missed in r81445
61643
61644         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
61645         (LeaksParserWorker.prototype._parseLeaks): Anchor the RegExp used to find the number of
61646         leaked bytes to speed up searching on long lines.
61647
61648 2011-03-17  Adam Roben  <aroben@apple.com>
61649
61650         Mark leaky builds orange, even if all regression tests passed
61651
61652         Fixes <http://webkit.org/b/56609> SnowLeopard Intel Leaks bot appears green on
61653         build.webkit.org when all tests pass even though there are still leaks
61654
61655         Reviewed by Dan Bernstein.
61656
61657         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
61658         (RunWebKitLeakTests): Set the warnOnWarnings property to True so that the entire build will
61659         be marked orange if this build step generates warnings.
61660
61661 2011-03-17  Adam Roben  <aroben@apple.com>
61662
61663         Allow values in Leaks Viewer to be shown as percentages
61664
61665         Double-clicking on a column will toggle between showing percentages and showing real values.
61666
61667         Fixes <http://webkit.org/b/56628> Would like to view values as percentages of the total
61668         number of leaked bytes in Leaks Viewer
61669
61670         Reviewed by Joe Pecoraro.
61671
61672         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
61673         (LeaksParserWorker.prototype._incorporateLeaks): Calculate the (never-shown) top-level
61674         node's totalTime, which is used in calculating percentages.
61675
61676         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js:
61677         (monkeyPatchInspectorObjects): Only format values as bytes if we aren't supposed to be
61678         showing them as percentages.
61679
61680 2011-03-17  Adam Roben  <aroben@apple.com>
61681
61682         Show the number of leaked bytes, not just leaked allocations, in Leaks Viewer
61683
61684         The Self and Total columns now report the number of leaked bytes. The new Calls column shows
61685         the number of leaked allocations. And the new Average column shows the average number of
61686         leaked bytes per call.
61687
61688         Fixes <http://webkit.org/b/56344> Leaks Viewer should show how many bytes were leaked, not
61689         just how many allocations
61690
61691         Reviewed by Joe Pecoraro.
61692
61693         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
61694         (LeaksParserWorker.prototype._parseLeaks): Parse the number of leaked bytes from the "Leak:"
61695         line and store it with the leak stack.
61696         (LeaksParserWorker.prototype._createNode): Initialize the averageTime and numberOfCalls
61697         properties.
61698         (LeaksParserWorker.prototype._incorporateLeaks): Updated to get the stack from the .stack
61699         property, and changed to store the number of leaked bytes in .selfTime/.totalTime.
61700         .numberOfCalls now holds the number of leaked allocations.
61701
61702         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js:
61703         (Preferences): Set samplingCPUProfiler to false so that the Average and Calls columns will
61704         appear.
61705         (monkeyPatchInspectorObjects): Format the values as bytes.
61706
61707 2011-03-17  Adam Roben  <aroben@apple.com>
61708
61709         Make Leaks Viewer able to count leaks in builds that didn't fail any regression tests
61710
61711         Fixes <http://webkit.org/b/56626> Leaks Viewer omits recent builds which didn't fail any
61712         regression tests
61713
61714         Reviewed by James Robinson.
61715
61716         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
61717         (RecentBuildsLoader.prototype.start): Get the number of leaks out of the "text" array, which
61718         is always populated, even when all regression tests pass.
61719
61720 2011-03-10  Hayato Ito  <hayato@chromium.org>
61721
61722         Reviewed by Tony Chang.
61723
61724         Add a check logic for reftests in case that a reftest is marked AS REBASELINE.
61725
61726         https://bugs.webkit.org/show_bug.cgi?id=56076
61727
61728         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
61729
61730 2011-03-17  Adam Roben  <aroben@apple.com>
61731
61732         Skip a compositing-sensitive test when accelerated compositing is disabled
61733
61734         Reviewed by Sam Weinig.
61735
61736         * Scripts/old-run-webkit-tests: Skip media/media-document-audio-repaint.html when
61737         accelerated compositing is disabled.
61738
61739 2011-03-17  Adam Roben  <aroben@apple.com>
61740
61741         Start using PlatformSpecificScheduler for the Mac builders
61742
61743         The current set of file/directory patterns should work for Mac builders. We may discover
61744         that there are more files and directories we can exclude from the Mac builds, but they can
61745         be added later.
61746
61747         Fixes <http://webkit.org/b/56593> Mac builders do lots of unnecessary builds
61748
61749         Reviewed by Mark Rowe.
61750
61751         * BuildSlaveSupport/build.webkit.org-config/config.json: Moved the Mac builders into two
61752         PlatformSpecificSchedulers: one for Leopard, and one for SnowLeopard.
61753
61754         * Scripts/webkitpy/common/config/build.py:
61755         (_should_file_trigger_build): Allow "mac-leopard" and "mac-snowleopard" platforms, and
61756         cleaned up patterns a little bit.
61757
61758         * Scripts/webkitpy/common/config/build_unittest.py:
61759         (ShouldBuildTest): Fixed some expected results.
61760         (ShouldBuildTest.test_should_build): Start testing "mac-leopard" and "mac-snowleopard"
61761         platforms.
61762
61763 2011-03-17  Jeff Miller  <jeffm@apple.com>
61764
61765         Use a consistent set of file patterns in the svn:ignore property for all .xcodeproj directories, specifically:
61766         
61767         *.mode*
61768         *.pbxuser
61769         *.perspective*
61770         project.xcworkspace
61771         xcuserdata
61772
61773         * DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
61774         * MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
61775         * TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
61776         * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
61777         * WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
61778
61779 2011-03-17  Adam Roben  <aroben@apple.com>
61780
61781         Make old-run-webkit-tests pick up mac-wk2 results when running in WebKit2 mode on Windows
61782
61783         Fixes <http://webkit.org/b/56563> Running WebKit2 tests on Windows should use results from
61784         mac-wk2
61785
61786         Reviewed by Anders Carlsson.
61787
61788         * Scripts/old-run-webkit-tests:
61789         (expectedDirectoryForTest): Clean up the code to search in extra Mac platform result
61790         directories on Windows. Add mac-wk2 to the set of extra platforms we look in on Windows when
61791         we're running in WebKit2 mode.
61792
61793 2011-03-17  Mikhail Naganov  <mnaganov@chromium.org>
61794
61795         Reviewed by Yury Semikhatsky.
61796
61797         Web Inspector: Clean up Inspector strings.
61798         https://bugs.webkit.org/show_bug.cgi?id=56557
61799
61800         Modify the script to deal correctly with "\xNN" escapes, and to
61801         check strings in Chromium's DevTools.js.
61802
61803         * Scripts/check-inspector-strings:
61804
61805 2011-03-17  Keith Kyzivat  <keith.kyzivat@nokia.com>
61806
61807         Reviewed by Benjamin Poulain.
61808
61809         Update autoinstall to install mechanize 0.2.4
61810         https://bugs.webkit.org/show_bug.cgi?id=56499
61811
61812         Newer versions of mechanize support HTTPS proxies, which is necessary
61813         for people using webkit-patch behind firewalls.
61814
61815         * Scripts/webkitpy/common/system/autoinstall.py:
61816         * Scripts/webkitpy/thirdparty/__init__.py:
61817
61818 2011-03-16  Sam Weinig  <sam@webkit.org>
61819
61820         Reviewed by Adam Roben.
61821
61822         REGRESSION (r81084): media/invalid-media-url-crash.html and editing/execCommand/indent-paragraphs.html failing on WebKit2
61823         https://bugs.webkit.org/show_bug.cgi?id=56541
61824
61825         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
61826         (WTR::InjectedBundlePage::willSendRequestForFrame):
61827         Check for an empty host in addition to a null host.  This bug was introduced
61828         when porting off of the KURL code and onto the WKURLRef version.
61829
61830 2011-03-16  Sam Weinig  <sam@webkit.org>
61831
61832         Reviewed by Adam Roben.
61833
61834         Add Lucas Forschler to the list of WebKit committers.
61835
61836         * Scripts/webkitpy/common/config/committers.py:
61837
61838 2011-03-16  Sam Weinig  <sam@webkit.org>
61839
61840         Reviewed upon and dictated through Adam Roben.
61841
61842         Escape crashing function names in results.html. This fixes an issue
61843         when a crash involves a type with templates.
61844
61845         * Scripts/old-run-webkit-tests:
61846
61847 2011-03-16  Daniel Sievers  <sievers@google.com>
61848
61849         Reviewed by James Robinson.
61850
61851         Add setting to always force compositing mode
61852         https://bugs.webkit.org/show_bug.cgi?id=56156
61853
61854         * DumpRenderTree/chromium/DumpRenderTree.cpp:
61855         (main):
61856         * DumpRenderTree/chromium/TestShell.cpp:
61857         (TestShell::TestShell):
61858         (TestShell::resetWebSettings):
61859         * DumpRenderTree/chromium/TestShell.h:
61860         (TestShell::setForceCompositingMode):
61861         * DumpRenderTree/chromium/WebPreferences.cpp:
61862         (WebPreferences::reset):
61863         (WebPreferences::applyTo):
61864         * DumpRenderTree/chromium/WebPreferences.h:
61865
61866 2011-03-15  Hayato Ito  <hayato@chromium.org>
61867
61868         Reviewed by Ojan Vafai.
61869
61870         Ignore files that will be used by reftests in old-run-webkit-tests.
61871
61872         https://bugs.webkit.org/show_bug.cgi?id=55936
61873
61874         * Scripts/old-run-webkit-tests:
61875
61876 2011-03-15  Felipe Oliveira da Silva Netto  <f.dachshund@gmail.com>
61877
61878         Reviewed by Adam Roben.
61879
61880         Function relativeScriptsDir doesn't return the correct relative
61881         Scripts directory.
61882
61883         * Scripts/webkitdirs.pm:
61884         (relativeScriptsDir): Ensure we use the directory that contains
61885         webkitdirs.pm, not the one that contains the original script that
61886         was invoked.
61887
61888 2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
61889
61890         [wx] Build fixes for long linker commands on Win and method return error, plus a Mac
61891         fix to link against the Security framework after recent WebKitSystemInterface changes.
61892
61893         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
61894         (LayoutTestController::originsWithLocalStorage):
61895         * wx/build/settings.py:
61896         * wx/build/waf_extensions.py:
61897
61898 2011-03-15  Sam Weinig  <sam@webkit.org>
61899
61900         Reviewed by Darin Adler.
61901
61902         Add script to convert a patch to a prettypatch and show in the default browser
61903         https://bugs.webkit.org/show_bug.cgi?id=56416
61904
61905         This can be used either like
61906             $ svn-create-patch | show-pretty-diff
61907         or
61908             $ show-pretty-diff patch.diff
61909
61910         * Scripts/show-pretty-diff: Added.
61911
61912 2011-03-15  Brian Weinstein  <bweinstein@apple.com>
61913
61914         Rubber-stamped by Adam Roben.
61915
61916         Adding myself as a reviewer.
61917
61918         * Scripts/webkitpy/common/config/committers.py:
61919
61920 2011-03-15  Anders Carlsson  <andersca@apple.com>
61921
61922         Try to fix the Windows build.
61923
61924         * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
61925         (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
61926
61927 2011-03-15  Anders Carlsson  <andersca@apple.com>
61928
61929         Reviewed by Sam Weinig.
61930
61931         Make sure that NP_Shutdown is always the last NPP function called
61932         https://bugs.webkit.org/show_bug.cgi?id=56391
61933
61934         Add a test that times out if an NP_Deallocate object is called after NP_Shutdown.
61935
61936         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
61937         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
61938         (PluginTest::PluginTest):
61939         (PluginTest::NP_Shutdown):
61940         (PluginTest::registerNPShutdownFunction):
61941         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
61942         * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp: Added.
61943         (NPDeallocateCalledBeforeNPShutdown::NPDeallocateCalledBeforeNPShutdown):
61944         (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
61945         (NPDeallocateCalledBeforeNPShutdown::ScriptableObject::hasProperty):
61946         (NPDeallocateCalledBeforeNPShutdown::ScriptableObject::getProperty):
61947         (NPDeallocateCalledBeforeNPShutdown::NPP_New):
61948         (NPDeallocateCalledBeforeNPShutdown::NPP_GetValue):
61949         (NPDeallocateCalledBeforeNPShutdown::shutdown):
61950         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
61951         (NP_Shutdown):
61952         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
61953         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
61954         * GNUmakefile.am:
61955
61956 2011-03-15  Ilya Sherman  <isherman@chromium.org>
61957
61958         Reviewed by Tony Chang.
61959
61960         Autofilled form elements are assigned fixed background color but not text color
61961         https://bugs.webkit.org/show_bug.cgi?id=48382
61962
61963         * DumpRenderTree/LayoutTestController.cpp:
61964         (setAutofilledCallback): Added.
61965         (LayoutTestController::staticFunctions):
61966         * DumpRenderTree/LayoutTestController.h:
61967         * DumpRenderTree/chromium/LayoutTestController.cpp:
61968         (LayoutTestController::LayoutTestController):
61969         (LayoutTestController::setAutofilled): Added.
61970         * DumpRenderTree/chromium/LayoutTestController.h:
61971         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
61972         (LayoutTestController::setAutofilled): Added.
61973         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
61974         (LayoutTestController::setAutofilled): Added.
61975         (LayoutTestController::setValueForUser): Style tweak.
61976         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
61977         (LayoutTestController::setAutofilled): Added (stub).
61978         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
61979         (LayoutTestController::setAutofilled): Added (stub).
61980
61981 2011-03-15  Dan Bernstein  <mitz@apple.com>
61982
61983         Build fix after r81135.
61984
61985         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
61986
61987 2011-03-15  Dan Bernstein  <mitz@apple.com>
61988
61989         Build fix after r81135.
61990
61991         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
61992         * WebKitTestRunner/mac/TestControllerMac.mm:
61993         * WebKitTestRunner/mac/TestInvocationMac.mm:
61994         * WebKitTestRunner/mac/main.mm:
61995
61996 2011-03-15  Balazs Kelemen  <kbalazs@webkit.org>
61997
61998         Reviewed by Adam Barth.
61999
62000         REGRESSION(80977): breaks Qt ARMv7 Linux Release bot
62001         https://bugs.webkit.org/show_bug.cgi?id=56349
62002
62003         * QtTestBrowser/QtTestBrowser.pro: Link against fontconfig
62004         on platforms where we use it. Copied from DumpRenderTree.pro.
62005
62006 2011-03-15  Dan Bernstein  <mitz@apple.com>
62007
62008         Build fix after r81135.
62009
62010         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
62011         * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
62012
62013 2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
62014
62015         Reviewed by Darin Adler.
62016
62017         Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
62018         info into the headers rather than in export symbol definition files, but disable it on 
62019         all platforms initially so we can deal with port build issues one port at a time.
62020         
62021         https://bugs.webkit.org/show_bug.cgi?id=27551
62022
62023         * DumpRenderTree/cg/ImageDiffCG.cpp:
62024         * DumpRenderTree/chromium/config.h:
62025         * DumpRenderTree/config.h:
62026         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
62027         * TestWebKitAPI/TestWebKitAPIPrefix.h:
62028         * WebKitAPITest/HostWindow.cpp:
62029         * WebKitAPITest/TestsController.cpp:
62030         * WebKitAPITest/config.h: Added.
62031         * WebKitAPITest/main.cpp:
62032         * WebKitAPITest/tests/WebViewDestruction.cpp:
62033         * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:
62034         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
62035         * WebKitTestRunner/InjectedBundle/GCController.cpp:
62036         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
62037         * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
62038         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
62039         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
62040         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
62041         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
62042         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
62043         * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp:
62044         * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp:
62045         * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
62046         * WebKitTestRunner/TestController.cpp:
62047         * WebKitTestRunner/TestInvocation.cpp:
62048         * WebKitTestRunner/config.h: Added.
62049         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
62050         * WebKitTestRunner/qt/TestControllerQt.cpp:
62051         * WebKitTestRunner/qt/TestInvocationQt.cpp:
62052         * WebKitTestRunner/qt/main.cpp:
62053         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
62054         * WebKitTestRunner/win/TestControllerWin.cpp:
62055         * WebKitTestRunner/win/TestInvocationWin.cpp:
62056         * WebKitTestRunner/win/main.cpp:
62057         * wx/build/settings.py:
62058
62059 2011-03-15  Hayato Ito  <hayato@chromium.org>
62060
62061         Reviewed by Shinichiro Hamaji.
62062
62063         [NRWT] Add support for reftests to new-run-webkit-tests.
62064
62065         https://bugs.webkit.org/show_bug.cgi?id=55457
62066
62067         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
62068         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
62069         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
62070         * Scripts/webkitpy/layout_tests/port/base.py:
62071         * Scripts/webkitpy/layout_tests/port/dryrun.py:
62072         * Scripts/webkitpy/layout_tests/port/test.py:
62073         * Scripts/webkitpy/layout_tests/port/test_files.py:
62074         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
62075
62076 2011-03-15  Alejandro G. Castro  <alex@igalia.com>
62077
62078         Reviewed by Martin Robinson.
62079
62080         [GTK] Fix compilation warning after r80892
62081         https://bugs.webkit.org/show_bug.cgi?id=56302
62082
62083         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
62084         (LayoutTestController::originsWithLocalStorage):
62085
62086 2011-03-15  Robert Hogan  <robert@webkit.org>
62087
62088         Reviewed by Adam Barth.
62089
62090         Document the qmakearg argument, and hint how to build webkit2 on Qt
62091         https://bugs.webkit.org/show_bug.cgi?id=56326
62092
62093         * Scripts/build-webkit: add --qmakearg to build-webkit --help
62094
62095 2011-03-15  Adam Roben  <aroben@apple.com>
62096
62097         Make Windows 7 Release (Tests) a core builder
62098
62099         We can probably make Windows XP Debug (Tests) a core builder, too, but we should probably
62100         give it a few more days of greenness first.
62101
62102         Fixes <http://webkit.org/b/55665> Windows 7 Release (Tests) should be a core builder
62103
62104         Reviewed by Sam Weinig.
62105
62106         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
62107         (BuildBot): Added a regexp to match Windows 7 Release (Tests).
62108
62109         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
62110         (BuildBotTest): Updated the list of builders to match the current list on build.webkit.org.
62111         Updated the core regexps to match the buildbot module. Updated the expected results to match
62112         the current set of core builders.
62113
62114 2011-03-14  Adam Roben  <aroben@apple.com>
62115
62116         Add forgotten file from r81116
62117
62118         * TestWebKitAPI/Configurations/TestWebKitAPICFNetwork.vsprops: Added.
62119
62120 2011-03-14  Sam Weinig  <sam@webkit.org>
62121
62122         Reviewed by Adam Roben.
62123
62124         about:blank fake responses don't get serialized when sent the UIProcess
62125         <rdar://problem/9108119>
62126         https://bugs.webkit.org/show_bug.cgi?id=56357
62127
62128         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp: Added.
62129         (TestWebKitAPI::decidePolicyForResponse):
62130         (TestWebKitAPI::TEST):
62131         Add test that loads of about:blank have a response with a MIMEType of text/html.
62132
62133         * TestWebKitAPI/PlatformUtilities.h:
62134         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
62135         (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
62136         * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
62137         (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
62138         Add helper to get the MIMEType from a WKURLResponse.
62139
62140         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
62141         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
62142         Add new files.
62143
62144 2011-03-14  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
62145
62146         Reviewed by Kenneth Rohde Christiansen.
62147
62148         [Qt] Command-line options for QGLWidget and WebGL to QtTestBrowser
62149         https://bugs.webkit.org/show_bug.cgi?id=56006
62150
62151         * QtTestBrowser/launcherwindow.cpp:
62152         (LauncherWindow::initializeView):
62153         * QtTestBrowser/main.cpp:
62154         (LauncherApplication::handleUserOptions):
62155
62156 2011-03-14  James Kozianski  <koz@chromium.org>
62157
62158         Reviewed by Ojan Vafai.
62159
62160         Add method to make BuildBot return test outputs
62161         https://bugs.webkit.org/show_bug.cgi?id=54374
62162
62163         The Builder.latest_cached_build will be used by the new rebaseline
62164         script to determine the build to use baselines from.
62165
62166         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
62167         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
62168
62169 2011-03-14  Adam Roben  <aroben@apple.com>
62170
62171         Test that WKBundlePageCanHandleRequest returns true for empty document URLs
62172
62173         Reviewed by Sam Weinig.
62174
62175         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp: Added.
62176         (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Store the result of the test.
62177         (TestWebKitAPI::setInjectedBundleClient): Hook up our callback.
62178         (TestWebKitAPI::TEST): Register "emptyscheme" as an empty document scheme, load a page to
62179         ensure the web process is initialized, then ask the bundle to run the test and assert that
62180         it succeeded.
62181
62182         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp: Added.
62183         (TestWebKitAPI::CanHandleRequestTest::CanHandleRequestTest): Just call up to the base class.
62184         (TestWebKitAPI::canHandleURL): Helper function to test whether WebKit2 claims to be able to
62185         handle a given URL.
62186         (TestWebKitAPI::runTest): Check that empty document URLs can be handled (and that an unknown
62187         URL type cannot be handled).
62188         (TestWebKitAPI::CanHandleRequestTest::didReceiveMessage): Run the test and return the
62189         result.
62190
62191         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
62192         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
62193         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
62194         Added new files to the project.
62195
62196 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
62197
62198         Unreviewed, rolling out r81094.
62199         http://trac.webkit.org/changeset/81094
62200         https://bugs.webkit.org/show_bug.cgi?id=56355
62201
62202         Broke the chromium DRT related build. (Requested by dave_levin
62203         on #webkit).
62204
62205         * DumpRenderTree/chromium/DumpRenderTree.cpp:
62206         (main):
62207         * DumpRenderTree/chromium/LayoutTestController.cpp:
62208         (LayoutTestController::LayoutTestController):
62209         (LayoutTestController::layerTreeAsText):
62210         * DumpRenderTree/chromium/LayoutTestController.h:
62211         * DumpRenderTree/chromium/TestShell.cpp:
62212         (TestShell::runFileTest):
62213         (TestShell::dump):
62214         * DumpRenderTree/chromium/TestShell.h:
62215         (TestParams::TestParams):
62216
62217 2011-03-14  Daniel Sievers  <sievers@google.com>
62218
62219         Reviewed by Simon Fraser.
62220
62221         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
62222         https://bugs.webkit.org/show_bug.cgi?id=56139
62223
62224         * DumpRenderTree/chromium/DumpRenderTree.cpp:
62225         (main):
62226         * DumpRenderTree/chromium/LayoutTestController.cpp:
62227         (LayoutTestController::LayoutTestController):
62228         (LayoutTestController::layerTreeAsText):
62229         * DumpRenderTree/chromium/LayoutTestController.h:
62230         (LayoutTestController::setShowDebugLayerTree):
62231         * DumpRenderTree/chromium/TestShell.cpp:
62232         (TestShell::runFileTest):
62233         (TestShell::dump):
62234         * DumpRenderTree/chromium/TestShell.h:
62235         (TestParams::TestParams):
62236
62237 2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
62238
62239         Reviewed by Adam Roben.
62240
62241         [Qt][WK2]Unbreak InjectedBundle on Qt
62242         https://bugs.webkit.org/show_bug.cgi?id=54109
62243
62244         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
62245         (WTR::InjectedBundlePage::willSendRequestForFrame): Use new WebKit2
62246         API's instead of KURL to analyze the URL.
62247         * WebKitTestRunner/StringFunctions.h:
62248         (WTR::adoptWK): Moved from InjectedBundlePage.cpp to make it available globally
62249         in the WebKitTestRunner project.
62250         (WTR::toWK): Use adoptWK.
62251         (WTR::operator<<): Added helper for printing a WKURL.
62252         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Do not link
62253         against WebCore.
62254
62255 2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
62256
62257         Reviewed by Kenneth Rohde Christiansen.
62258
62259         check-webkit-style falsely should not complain about WebKit2 API headers in the Shared directory
62260         https://bugs.webkit.org/show_bug.cgi?id=56321
62261
62262         * Scripts/webkitpy/style/checker.py: Add the patch "Source/WebKit2/Shared/API/c"
62263         to the list of exceptions for WebKit2 C API headers.
62264
62265 2011-03-14  Adam Roben  <aroben@apple.com>
62266
62267         Show the list of recent leaky builds in reverse chronological order
62268
62269         Previously they were being shown in a deterministic but surprising order based on
62270         lexicographically sorting the build offsets (-1, -10, -2, -3...).
62271
62272         Fixes <http://webkit.org/b/56342> Leaks Viewer shows recent builds in a strange order
62273
62274         Reviewed by Darin Adler.
62275
62276         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
62277         (RecentBuildsLoader.prototype.start): Sort the builds by revision before passing them to our
62278         callback.
62279
62280 2011-03-14  Adam Roben  <aroben@apple.com>
62281
62282         Show a list of up to 10 recent leaky builds when Leaks Viewer loads
62283
62284         Fixes <http://webkit.org/b/56043> Leaks Viewer should present a list of recent builds to
62285         analyze
62286
62287         Reviewed by David Kilzer and Joe Pecoraro.
62288
62289         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
62290         (#url-prompt): Made this a bit taller to make room for the list of builds.
62291
62292         (#recent-builds-loading-indicator):
62293         (#recent-builds-list):
62294         Added styles for the build list and loading indicator.
62295
62296         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
62297         (LeaksViewer.loaded): Pass the URL from the query through decodeURIComponent before loading
62298         it. This will unescape it.
62299         (LeaksViewer.urlPromptButtonClicked): Moved code from here to _urlChosenFromPrompt.
62300         (LeaksViewer._didLoadRecentBuilds): Added. Stores the builds and updates the prompt.
62301         (LeaksViewer._displayURLPrompt): Start loading the recent leaky builds.
62302         (LeaksViewer._updateURLPrompt): Create a list of the recent leaky builds and add them to the
62303         prompt UI.
62304         (LeaksViewer._urlChosenFromPrompt): Added. Code came from urlPromptButtonClicked. This is
62305         now also used when a recent build is clicked.
62306
62307         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js: Added.
62308         (RecentBuildsLoader): Store the callback.
62309         (RecentBuildsLoader.prototype.start): Load the N most recent builds from the specified
62310         builder. Find the revision number, leak count, and results URL for each one. Pass the
62311         resulting info to our callback.
62312
62313         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
62314         (range): Added this helper function to return an array containing the integers [0, n).
62315
62316         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added
62317         RecentBuildsLoader.js and added text to the prompt UI to show the recent builds.
62318
62319 2011-03-14  Mark Rowe  <mrowe@apple.com>
62320
62321         Reviewed by Adam Roben.
62322
62323         Fix two memory leaks within LayoutTestController's storage support.
62324
62325         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
62326         (LayoutTestController::originsWithLocalStorage): Don't leak the JSStringRef that is returned
62327         by JSStringCreateWithCFString.
62328         (LayoutTestController::deleteLocalStorageForOrigin): Don't leak the WebSecurityOrigin that we
62329         allocate.
62330
62331 2011-03-14  Mark Rowe  <mrowe@apple.com>
62332
62333         Reviewed by Oliver Hunt.
62334
62335         <http://webkit.org/b/56304> REGRESSION(r80892): 100,000+ leaks seen on the build bot
62336
62337         * DumpRenderTree/LayoutTestController.cpp:
62338         (LayoutTestController::staticFunctions): Remove duplicate entries.
62339
62340 2011-03-14  Alice Liu  <alice.liu@apple.com>
62341
62342         Reviewed by Dan Bernstein.
62343
62344         DumpRenderTree Perl Support fails to build with ARCHS="i386 x86_64"
62345
62346         * DumpRenderTree/mac/PerlSupport/Makefile:
62347         Add whitespace when joining "-arch" with the architectures passed in as arguments.
62348
62349 2011-03-14  Daniel Bates  <dbates@rim.com>
62350
62351         https://bugs.webkit.org/show_bug.cgi?id=55438
62352         Add double quotes around value of -DCMAKE_WINCE_SDK that I inadvertently did not add
62353         when landing changeset 81041 <http://trac.webkit.org/changeset/81041>.
62354
62355         * Scripts/build-webkit:
62356
62357 2011-03-14  Daniel Bates  <dbates@rim.com>
62358
62359         Reviewed by David Kilzer.
62360
62361         Cleanup: Separate port-specific implementation details from webkitdirs::buildCMakeProject()
62362         https://bugs.webkit.org/show_bug.cgi?id=55438
62363
62364         Separate out the EFL- and WinCE-specific logic from the port-independent logic in
62365         webkitdirs::buildCMakeProject(). Also, remove redundant code for generating the
62366         CMake arguments for feature defines.
62367
62368         * Scripts/build-webkit:
62369           - Added cMakeArgsFromFeatures() to convert the @features array to CMake arguments.
62370           - Modified EFL and WinCE-specific building logic to call buildCMakeProjectOrExit().
62371           - Sorted forward declarations.
62372           - Initialize $makeArgs with the empty string so as to simplify its use in string operations;
62373             Modified call sites as needed.
62374         * Scripts/webkitdirs.pm:
62375           - Added cleanCMakeGeneratedProject() to clean a CMake build.
62376           - Added buildCMakeGeneratedProject() to build using generated build system.
62377           - Added buildCMakeProjectOrExit() which is a facade for building a CMake project.
62378           - Added generateBuildSystemFromCMakeProject() to generate the build system from
62379             a CMake project.
62380           - Removed buildCMakeProject(). This functionality is in buildCMakeProjectOrExit().
62381
62382 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
62383
62384         Reviewed by Steve Block.
62385
62386         Detach Geolocation from Frame when Page destroyed.
62387         https://bugs.webkit.org/show_bug.cgi?id=52877
62388
62389         Extend the layout test controller to expose the number of pending
62390         geolocation requests, so that we can test that the requests have
62391         been cancelled on page close.
62392
62393         * DumpRenderTree/LayoutTestController.cpp:
62394         (numberOfPendingGeolocationPermissionRequestsCallback):
62395         (LayoutTestController::staticFunctions):
62396         * DumpRenderTree/LayoutTestController.h:
62397         * DumpRenderTree/chromium/LayoutTestController.cpp:
62398         (LayoutTestController::LayoutTestController):
62399         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62400         * DumpRenderTree/chromium/LayoutTestController.h:
62401         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
62402         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62403         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
62404         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62405         * DumpRenderTree/mac/UIDelegate.h:
62406         * DumpRenderTree/mac/UIDelegate.mm:
62407         (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
62408         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
62409         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62410         * DumpRenderTree/qt/LayoutTestControllerQt.h:
62411         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
62412         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62413         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
62414         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62415
62416
62417 2011-03-14  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
62418
62419         Unreviewed. Modify my email address in committers.py.
62420
62421         * Scripts/webkitpy/common/config/committers.py:
62422
62423 2011-03-13  Joe Wild  <joseph.wild@nokia.com>
62424
62425         Reviewed by Kenneth Rohde Christiansen.
62426
62427         [Qt] QtLauncher does not load the same set of fonts as the DRT
62428         https://bugs.webkit.org/show_bug.cgi?id=34959
62429
62430         This patch adds the option "-use-test-fonts" to the QtTestBrowser.
62431         When this option is used the webkit fonts are loaded the same
62432         as they are in DumpRenderTree.  This option can be used on
62433         QtTestBrowser and run-launcher.  It can only be used
62434         on Linux systems with FcInit and is configured as such.
62435
62436         * QtTestBrowser/launcherwindow.h:
62437         (WindowOptions::WindowOptions):
62438         * QtTestBrowser/main.cpp:
62439         (initWebKitTestFonts):
62440         (launcherMain):
62441         (LauncherApplication::handleUserOptions):
62442
62443 2011-03-12  Dan Bernstein  <mitz@apple.com>
62444
62445         Reviewed by Mark Rowe.
62446
62447         <rdar://problem/8995822> Build DumpRenderTree perl support only for the architectures
62448         DumpRenderTree is being built for.
62449
62450         * DumpRenderTree/mac/PerlSupport/Makefile:
62451
62452 2011-03-12  Dan Bernstein  <mitz@apple.com>
62453
62454         Suggested by Mark Rowe.
62455
62456         * DumpRenderTree/mac/Configurations/Base.xcconfig: Leave C++ exceptions enabled
62457         as they were before r80915.
62458
62459 2011-03-12  Anders Carlsson  <andersca@apple.com>
62460
62461         Reviewed by Sam Weinig.
62462
62463         Should be able to download a PDF to the Downloads folder
62464         https://bugs.webkit.org/show_bug.cgi?id=56256
62465
62466         * MiniBrowser/mac/BrowserWindowController.m:
62467         (-[BrowserWindowController awakeFromNib]):
62468         * WebKitTestRunner/TestController.cpp:
62469         (WTR::TestController::createOtherPage):
62470         (WTR::TestController::initialize):
62471         Update for API changes.
62472
62473 2011-03-11  Anton D'Auria  <adauria@apple.com>
62474
62475         Reviewed and landed by Brady Eidson.
62476
62477         https://bugs.webkit.org/show_bug.cgi?id=51878
62478         Add WebKit1 API to view and delete local storage
62479
62480         Added tests that write to LocalStorage, delete one origin, get list of origins with local storage, delete all origins.
62481
62482         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
62483         * DumpRenderTree/LayoutTestController.cpp:
62484         (syncLocalStorageCallback):
62485         (observeStorageTrackerNotificationsCallback):
62486         (deleteAllLocalStorageCallback):
62487         (deleteLocalStorageForOriginCallback):
62488         (originsWithLocalStorageCallback):
62489         (LayoutTestController::staticFunctions):
62490         * DumpRenderTree/LayoutTestController.h:
62491         * DumpRenderTree/StorageTrackerDelegate.h: Added.
62492         * DumpRenderTree/StorageTrackerDelegate.mm: Added.
62493         (-[StorageTrackerDelegate init]):
62494         (-[StorageTrackerDelegate logNotifications:controller:]):
62495         (-[StorageTrackerDelegate originModified:]):
62496         (-[StorageTrackerDelegate dealloc]):
62497         (-[StorageTrackerDelegate setControllerToNotifyDone:]):
62498         * DumpRenderTree/chromium/LayoutTestController.cpp:
62499         (LayoutTestController::LayoutTestController):
62500         (LayoutTestController::deleteAllLocalStorage):
62501         (LayoutTestController::originsWithLocalStorage):
62502         (LayoutTestController::deleteLocalStorageForOrigin):
62503         (observeStorageTrackerNotifications):
62504         (syncLocalStorage):
62505         * DumpRenderTree/chromium/LayoutTestController.h:
62506         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
62507         (LayoutTestController::originsWithLocalStorage):
62508         (LayoutTestController::deleteAllLocalStorage):
62509         (LayoutTestController::deleteLocalStorageForOrigin):
62510         (LayoutTestController::observeStorageTrackerNotifications):
62511         (LayoutTestController::syncLocalStorage):
62512         * DumpRenderTree/mac/DumpRenderTree.mm:
62513         (resetDefaultsToConsistentValues):
62514         (allocateGlobalControllers):
62515         (releaseGlobalControllers):
62516         * DumpRenderTree/mac/DumpRenderTreeMac.h:
62517         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
62518         (LayoutTestController::syncLocalStorage):
62519         (LayoutTestController::observeStorageTrackerNotifications):
62520         (LayoutTestController::deleteAllLocalStorage):
62521         (LayoutTestController::originsWithLocalStorage):
62522         (LayoutTestController::deleteLocalStorageForOrigin):
62523         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
62524         (LayoutTestController::originsWithLocalStorage):
62525         (LayoutTestController::deleteAllLocalStorage):
62526         (LayoutTestController::deleteLocalStorageForOrigin):
62527         (LayoutTestController::observeStorageTrackerNotifications):
62528         (LayoutTestController::syncLocalStorage):
62529         * DumpRenderTree/qt/LayoutTestControllerQt.h:
62530         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
62531         (LayoutTestController::clearAllApplicationCaches):
62532         (LayoutTestController::syncLocalStorage):
62533         (LayoutTestController::observeStorageTrackerNotifications):
62534         (LayoutTestController::clearAllDatabases):
62535         (LayoutTestController::deleteAllLocalStorage):
62536         (LayoutTestController::originsWithLocalStorage):
62537         (LayoutTestController::deleteLocalStorageForOrigin):
62538         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
62539         (LayoutTestController::syncLocalStorage):
62540         (LayoutTestController::observeStorageTrackerNotifications):
62541         (LayoutTestController::clearAllDatabases):
62542         (LayoutTestController::deleteAllLocalStorage):
62543         (LayoutTestController::originsWithLocalStorage):
62544         (LayoutTestController::deleteLocalStorageForOrigin):
62545
62546 2011-03-11  Jessie Berlin  <jberlin@apple.com>
62547
62548         Reviewed by Adam Roben.
62549
62550         Crash calling WebContext::clearResourceCaches(InMemoryResourceCachesOnly) before the Web
62551         Process has finished launching.
62552         https://bugs.webkit.org/show_bug.cgi?id=56208
62553
62554         * TestWebKitAPI/Tests/WebKit2/SendingMessagesToTheWebProcessBeforeItIsValid.cpp: Added.
62555         (TestWebKitAPI::TEST):
62556         Test that calling WKContextClearResourceCaches works with both options when called before
62557         the Web Process is valid.
62558
62559         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
62560         Add the new test.
62561         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
62562         Ditto.
62563
62564 2011-03-11  Adam Roben  <aroben@apple.com>
62565
62566         Make it possible to view all leaks from a build at once in Leaks Viewer
62567
62568         You can now give Leaks Viewer the URL of a build results page (e.g.,
62569         <http://build.webkit.org/results/SnowLeopard%20Intel%20Leaks/r80847%20(15493)/>), and it
62570         will load all the leaks files from that build.
62571
62572         Fixes <http://webkit.org/b/56030> Leaks Viewer: Would like to be able to look at all leaks
62573         files from a particular build at once, rather than one at a time
62574
62575         Reviewed by David Kilzer.
62576
62577         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksLoader.js: Added.
62578         (LeaksLoader): Initialize our properties.
62579         (LeaksLoader.prototype.start): If the URL ends in .txt, assume it's a single leaks file and
62580         load it. Otherwise assume it's a build results page URL and start fetching the leaks files
62581         from that page.
62582         (LeaksLoader.prototype._loadLeaksFiles): Tell our client how many leaks files we're loading
62583         so it can provide feedback. Then load each one and pass it to the client.
62584         (LeaksLoader.prototype._loadLeaksFromResultsPage): Load the HTML of the results page, parse
62585         it into a DOM, pull out all the links to leaks files, and load each one.
62586
62587         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParser.js: Added.
62588         (LeaksParser): Initialize our worker.
62589         (LeaksParser.prototype.addLeaksFile): Tell the worker about the leaks file's contents.
62590
62591         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js: Added.
62592         This code mostly came from Worker.js.
62593         (LeaksParserWorker): Initialize our profile.
62594         (LeaksParserWorker.prototype.addLeaksFile): Parse the leaks file and incorporate it into our
62595         profile.
62596         (LeaksParserWorker.prototype._parseLeaks):
62597         (LeaksParserWorker.prototype._createNode):
62598         (LeaksParserWorker.prototype._incorporateLeaks):
62599         Moved these functions here from LeaksViewer. _incorporateLeaks is essentially just a renamed
62600         version of createProfile which adds to this.profile instead of making a new profile each
62601         time.
62602         (onmessage): Parse the file and send back the new profile.
62603
62604         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
62605         (#loading-indicator):
62606         (#spinner):
62607         (#loading-indicator-label):
62608         Tweaked styles to accomodate a longer label.
62609
62610         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
62611         (LeaksViewer.loaded): Set up a loader and parser.
62612
62613         (LeaksViewer.get filesLeftToParse):
62614         (LeaksViewer.set filesLeftToParse):
62615         Added these simple accessors.
62616
62617         (LeaksViewer._didCountLeaksFiles): Callback from LeaksLoader. Stores the count.
62618         (LeaksViewer._didLoadLeaksFile): Callback from LeaksLoader. Passes the file contents off to
62619         the parser.
62620         (LeaksViewer._didParseLeaksFile): Callback from LeaksParser. If all files have been parsed,
62621         tell the ProfilerAgent and mark that we're done loading. (Code came from the old
62622         _loadLeaksFromURL function).
62623         (LeaksViewer._loadLeaksFromURL): Now just calls through to the loader.
62624         (LeaksViewer._loadingIndicatorText): Added. Returns the text that should show up in the
62625         loading indicator, including the number of files being loaded.
62626         (LeaksViewer._loadingStatusChanged): Update the loading indicator's label, too.
62627         (LeaksViewer._updateLoadingIndicatorLabel): Added. Just updates the label!
62628         (LeaksViewer._updateTitle): Moved code to compute the "Loading" text to
62629         _loadingIndicatorText.
62630
62631         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js: Added.
62632         (getResource): Moved here from LeaksViewer.js.
62633
62634         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Worker.js: Subsumed by
62635         LeaksParserWorker.js.
62636
62637         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added new JS
62638         files, added a #loading-indicator-label element, and tweaked the prompt wording.
62639
62640 2011-03-11  Adam Roben  <aroben@apple.com>
62641
62642         Don't trigger a build when build.webkit.org's HTML files are modified
62643
62644         Fixes <http://webkit.org/b/56190> Windows bots shouldn't have built r80848/r80851, but did
62645
62646         Reviewed by Dan Bernstein.
62647
62648         * Scripts/webkitpy/common/config/build.py:
62649         (_should_file_trigger_build): Added build.webkit.org's public_html directory to the list of
62650         directories that shouldn't trigger builds. Re-sorted the list.
62651
62652         * Scripts/webkitpy/common/config/build_unittest.py:
62653         (ShouldBuildTest): Added a test to cover the above change.
62654
62655 2011-03-11  Adam Roben  <aroben@apple.com>
62656
62657         Roll out r80848
62658
62659         It was accidentally committed.
62660
62661         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
62662         (LeaksViewer._loadLeaksFromURL):
62663
62664 2011-03-11  Tony Chang  <tony@chromium.org>
62665
62666         Reviewed by Ojan Vafai.
62667
62668         kill hung lighttpd processes on the chromium win bot
62669         https://bugs.webkit.org/show_bug.cgi?id=56152
62670
62671         Sometimes this process doesn't exit and it holds on to
62672         a log file that we can't delete or copy, causing the tests
62673         to go red.
62674
62675         * BuildSlaveSupport/win/kill-old-processes:
62676
62677 2011-03-11  Ilya Sherman  <isherman@chromium.org>
62678
62679         Reviewed by Kent Tamura.
62680
62681         [Chromium] missing HTMLInputElement::setValueForUser() to tests
62682         https://bugs.webkit.org/show_bug.cgi?id=55854
62683
62684         * DumpRenderTree/chromium/LayoutTestController.cpp:
62685         (LayoutTestController::LayoutTestController):
62686         (LayoutTestController::setValueForUser): Added.
62687         * DumpRenderTree/chromium/LayoutTestController.h:
62688
62689 2011-03-10  Peter Kasting  <pkasting@google.com>
62690
62691         Reviewed by Dimitri Glazkov.
62692
62693         Clean up some gross code in TestShellWin.cpp.  No functional change.
62694         https://bugs.webkit.org/show_bug.cgi?id=56048
62695
62696         * DumpRenderTree/chromium/TestShellWin.cpp:
62697         (checkLayoutTestSystemDependencies):
62698
62699 2011-03-10  Keith Kyzivat  <keith.kyzivat@nokia.com>
62700
62701         Reviewed by Laszlo Gombos.
62702
62703         [Qt] Buildfix for platforms where X11 is not available (e.g. Symbian)
62704
62705         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
62706         (WTR::activateFonts): Guard X11-specific code with Q_WS_X11.
62707
62708 2011-03-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
62709
62710         Reviewed by Kenneth Rohde Christiansen.
62711
62712         [EFL] Make single backing store the default for EWebLauncher
62713         https://bugs.webkit.org/show_bug.cgi?id=55753
62714
62715         Set single backing store the default for EWebLauncher.
62716
62717         * EWebLauncher/main.c:
62718         (main):
62719
62720 2011-03-10  Adam Roben  <aroben@apple.com>
62721
62722         Ignore errors from files being held open when creating a test result archive
62723
62724         Fixes <http://webkit.org/b/55581> Test results don't get uploaded if test-result-archive
62725         fails to delete the results directory
62726
62727         Reviewed by Mark Rowe.
62728
62729         * BuildSlaveSupport/test-result-archive:
62730         (archiveTestResults): Ignore errno 2 when deleting the results directory, since it can be
62731         thrown when a process is holding a file open.
62732
62733 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
62734
62735         Unreviewed, rolling out r80701.
62736         http://trac.webkit.org/changeset/80701
62737         https://bugs.webkit.org/show_bug.cgi?id=56126
62738
62739         fast/dom/Geolocation/window-close-crash.html fails on Snow
62740         Leopard release builds (Requested by mihaip on #webkit).
62741
62742         * DumpRenderTree/LayoutTestController.cpp:
62743         (LayoutTestController::staticFunctions):
62744         * DumpRenderTree/LayoutTestController.h:
62745         * DumpRenderTree/chromium/LayoutTestController.cpp:
62746         (LayoutTestController::LayoutTestController):
62747         * DumpRenderTree/chromium/LayoutTestController.h:
62748         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
62749         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
62750         * DumpRenderTree/mac/UIDelegate.h:
62751         * DumpRenderTree/mac/UIDelegate.mm:
62752         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
62753         * DumpRenderTree/qt/LayoutTestControllerQt.h:
62754         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
62755         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
62756
62757 2011-03-10  Philippe Normand  <pnormand@igalia.com>
62758
62759         Reviewed by Gustavo Noronha Silva.
62760
62761         [GTK] run-gtk-tests doesn't fail if a test crashes
62762         https://bugs.webkit.org/show_bug.cgi?id=56089
62763
62764         * Scripts/run-gtk-tests: gtester -k exits with a 0 exit status
62765         even if a test crashes. So run the tests individually and if a
62766         test fails remember its exit code so run-gtk-test fails too, if
62767         required.
62768
62769 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
62770
62771         Reviewed by Dmitry Titov.
62772
62773         Detach Geolocation from Frame when Page destroyed.
62774         https://bugs.webkit.org/show_bug.cgi?id=52877
62775
62776         Extend the layout test controller to expose the number of pending
62777         geolocation requests, so that we can test that the requests have
62778         been cancelled on page close.
62779
62780         * DumpRenderTree/LayoutTestController.cpp:
62781         (numberOfPendingGeolocationPermissionRequestsCallback):
62782         (LayoutTestController::staticFunctions):
62783         * DumpRenderTree/LayoutTestController.h:
62784         * DumpRenderTree/chromium/LayoutTestController.cpp:
62785         (LayoutTestController::LayoutTestController):
62786         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62787         * DumpRenderTree/chromium/LayoutTestController.h:
62788         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
62789         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62790         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
62791         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62792         * DumpRenderTree/mac/UIDelegate.h:
62793         * DumpRenderTree/mac/UIDelegate.mm:
62794         (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
62795         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
62796         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62797         * DumpRenderTree/qt/LayoutTestControllerQt.h:
62798         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
62799         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62800         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
62801         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
62802
62803
62804 2011-03-09  Adam Roben  <aroben@apple.com>
62805
62806         Hide Leaks Viewer's URL prompt by default
62807
62808         We will show it as needed. I think I left it visible by default by accident after doing some
62809         testing.
62810
62811         Fixes <http://webkit.org/b/56031> Leaks Viewer: URL prompt overlay shouldn't appear when a
62812         URL is passed as a query parameter, but does
62813
62814         Reviewed by Simon Fraser.
62815
62816         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:
62817
62818 2011-03-09  Adam Roben  <aroben@apple.com>
62819
62820         Don't use Element.classList or box-shadow in Leaks Viewer
62821
62822         They aren't supported by Safari 5. Luckily we have substitutes for them!
62823
62824         Fixes <http://webkit.org/b/56035> Leaks viewer doesn't work in Safari 5
62825
62826         Reviewed by Simon Fraser.
62827
62828         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
62829         (#url-prompt): Use -webkit-box-shadow instead of box-shadow.
62830
62831         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
62832         (LeaksViewer.urlPromptButtonClicked):
62833         (LeaksViewer._displayURLPrompt):
62834         (LeaksViewer._setLoadingIndicatorHidden):
62835         Use add/removeStyleClass (from utilities.js) instead of Element.classList.
62836
62837 2011-03-09  Adam Roben  <aroben@apple.com>
62838
62839         Add a link to the Leaks Viewer tool on the build.webkit.org homepage
62840
62841         Rubber-stamped by David Kilzer.
62842
62843         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
62844
62845 2011-03-09  Adam Roben  <aroben@apple.com>
62846
62847         Add a Leaks Viewer tool to build.webkit.org
62848
62849         This tool parses leaks from the files generated by the leaks bot and displays them in a
62850         view similar to the Web Inspector's Profiles pane (in fact, it uses the Web Inspector's
62851         code).
62852
62853         The URL of the leaks file can be entered in a prompt when the tools is first shown, or can
62854         be passed to the tool via the "url" query parameter.
62855
62856         Only one leaks file can be viewed at a time for now. Only the number of leaks, as opposed to
62857         the number of leaked bytes, is shown. And this tool has made apparent some bugs in the Web
62858         Inspector's Heavy profile view. But it's still pretty useful as-is.
62859
62860         Fixes <http://webkit.org/b/56028> Would like a Shark-like tool for viewing leaks from leak bots
62861
62862         Reviewed by Darin Adler.
62863
62864         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css: Added.
62865         (#url-prompt-container): This is the dark overlay that is shown behind the URL prompt.
62866         (#url-prompt): This is the prompt itself.
62867
62868         (#loading-indicator):
62869         (#loading-indicator > img):
62870         These show a spinner in the bottom-right when we're loading a leaks file.
62871
62872         (.percent-time-status-bar-item): Hide the Percent button since we never want to show leaks
62873         as percentages.
62874
62875         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js: Added.
62876         (LeaksViewer.loaded): Initialize ourselves and start loading the leaks file (or prompt for a
62877         URL if one wasn't given to us as a query parameter).
62878
62879         (LeaksViewer.get loading):
62880         (LeaksViewer.set loading):
62881         (LeaksViewer.get url):
62882         (LeaksViewer.set url):
62883         Pretty simple accessors.
62884
62885         (LeaksViewer.urlPromptButtonClicked): Start loading the URL from the prompt and hide the
62886         prompt.
62887         (LeaksViewer._displayURLPrompt): Show the prompt and focus the URL input.
62888         (LeaksViewer._loadLeaksFromURL): Start fetching the leaks file. When we've retrieved the
62889         file, hand it off to a Web Worker that will parse it into a fake "profile", then hand off
62890         the profile to the Web Inspector code once it's been created.
62891         (LeaksViewer._loadingStatusChanged): Update our loading indicator and title.
62892         (LeaksViewer._setLoadingIndicatorHidden): Simply hide or show the indicator.
62893         (LeaksViewer._updateTitle): Set our title based on our URL and loading status.
62894         (getResource): Helper function to fetch a resource via XHR and pass it to a callback.
62895
62896         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js: Added.
62897         (WebInspector.UIString): Just a simple implementation since this tool isn't localized.
62898         (ProfilerAgent.getProfile): Store the callback.
62899         (ProfilerAgent.profileReady): Call the callback.
62900         (monkeyPatchInspectorObjects): Fix up WebInspector.ProfileDataGridNode to show the self leak
62901         count and total leak counts as real values, not percentages or milliseconds.
62902
62903         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Worker.js: Added.
62904         (onmessage): Create a profile based on the leaks file and pass it back to our caller.
62905         (parseLeaks): Extract call stacks out of a leaks file.
62906         (createNode): Helper function to create a new empty profile node.
62907         (createProfile): Take the leak stacks and turn them into a fake "profile" for consumption by
62908         WebInspector.ProfileView.
62909
62910         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added.
62911
62912 2011-03-09  Dan Bernstein  <mitz@apple.com>
62913
62914         Reviewed by Adam Roben.
62915
62916         Combine multiple --ignore-tests values
62917         https://bugs.webkit.org/show_bug.cgi?id=56016
62918
62919         * Scripts/old-run-webkit-tests:
62920
62921 2011-03-08  Kenji Imasaki  <imasaki@chromium.org>
62922
62923         Reviewed by David Levin.
62924
62925         Adding myself to the committer file.
62926
62927         * Scripts/webkitpy/common/config/committers.py:
62928
62929 2011-03-08  Jessie Berlin  <jberlin@apple.com>
62930
62931         Rubber-stamped by Adam Roben.
62932
62933         Fix two leaks I introduced into the API tests.
62934
62935         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
62936         (TestWebKitAPI::TEST):
62937
62938 2011-03-08  Jessie Berlin  <jberlin@apple.com>
62939
62940         Reviewed by Anders Carlsson.
62941
62942         Crash in CFNetwork visiting google.com
62943         https://bugs.webkit.org/show_bug.cgi?id=55958
62944
62945         Add a test for not trying to copy a null CFURLResponse.
62946
62947         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp: Added.
62948         (TestWebKitAPI::TEST):
62949         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
62950
62951 2011-03-08  Hayato Ito  <hayato@chromium.org>
62952
62953         Reviewed by Ojan Vafai.
62954
62955         [NRWT] Renamed a FailureWithType class to a ComparisonTestFailure class.
62956
62957         FailureWithType is a confusing naming because we have removed test_type/* classes in r79840.
62958
62959         https://bugs.webkit.org/show_bug.cgi?id=55450
62960
62961         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
62962
62963 2011-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
62964
62965         Reviewed by Martin Robinson.
62966
62967         [GTK] Add layoutTestController.setValueForUser() after r80412
62968         https://bugs.webkit.org/show_bug.cgi?id=55862
62969
62970         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
62971         (LayoutTestController::setValueForUser): Implement setValueForUser()
62972
62973 2011-03-08  Patrick Gansterer  <paroga@webkit.org>
62974
62975         Reviewed by Adam Barth.
62976
62977         Add script_shell_command to WebKitPort
62978         https://bugs.webkit.org/show_bug.cgi?id=55925
62979
62980         Add a central place where we generate the shell command from the script name.
62981         This function will be used later to detect the correct script interpreter on Win32.
62982
62983         * Scripts/webkitpy/common/config/ports.py:
62984         * Scripts/webkitpy/layout_tests/port/base.py:
62985         * Scripts/webkitpy/tool/steps/abstractstep.py:
62986         * Scripts/webkitpy/tool/steps/preparechangelog.py:
62987
62988 2011-03-07  Ojan Vafai  <ojan@chromium.org>
62989
62990         Reviewed by Adam Barth.
62991
62992         add webkit-patch attach-to-bug for posting to bugzilla from the commandline
62993         https://bugs.webkit.org/show_bug.cgi?id=55749
62994
62995         * Scripts/webkitpy/tool/commands/upload.py:
62996         * Scripts/webkitpy/tool/commands/upload_unittest.py:
62997         * Scripts/webkitpy/tool/steps/__init__.py:
62998         * Scripts/webkitpy/tool/steps/attachtobug.py: Added.
62999         * Scripts/webkitpy/tool/steps/options.py:
63000
63001 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
63002
63003         Reviewed by David Levin.
63004
63005         Add support for DataTransferItems
63006         https://bugs.webkit.org/show_bug.cgi?id=55115
63007
63008         Enable data transfer items in DRT.
63009
63010         * DumpRenderTree/chromium/TestShell.cpp:
63011         (TestShell::TestShell):
63012
63013 2011-03-06  Ojan Vafai  <ojan@chromium.org>
63014
63015         Reviewed by Tony Chang.
63016
63017         [test dashboard] pull treemap files
63018         https://bugs.webkit.org/show_bug.cgi?id=55852
63019
63020         * TestResultServer/handlers/dashboardhandler.py:
63021
63022 2011-03-03  Hayato Ito  <hayato@chromium.org>
63023
63024         Reviewed by Mihai Parparita.
63025
63026         [NRWT] Clear output image file used by DumpRenderTree to make sure the
63027         previous image should not be used in the ChromiumDriver.
63028
63029         Also make sure that output image from the ChromiumDriver should be ''
63030         (empty string) if a test crashes for consistency with the WebKitDriver
63031         implementation.
63032
63033         https://bugs.webkit.org/show_bug.cgi?id=55746
63034
63035         * Scripts/webkitpy/layout_tests/port/chromium.py:
63036
63037 2011-03-07  Zan Dobersek  <zandobersek@gmail.com>
63038
63039         Reviewed by Martin Robinson.
63040
63041         [Gtk] fast/js/navigator-language.html fails locally
63042         https://bugs.webkit.org/show_bug.cgi?id=55880
63043
63044         Add LANG variable to the clean environment when running
63045         old-run-webkit-tests script.
63046
63047         * Scripts/old-run-webkit-tests:
63048
63049 2011-03-07  Tony Chang  <tony@chromium.org>
63050
63051         Reviewed by Mihai Parparita.
63052
63053         [Chromium] Find .checksum files without .pngs and vice-versa
63054         https://bugs.webkit.org/show_bug.cgi?id=55236
63055
63056         * Scripts/find-mismatched-layout-test-results: Added. A script for finding
63057             mismatched results.
63058
63059 2011-03-07  Chris Fleizach  <cfleizach@apple.com>
63060
63061         Reviewed by Beth Dakin.
63062
63063         AX: WK1 needs to use the ScrollView attachment for AXScrollArea, WK2 should not use this element.
63064         https://bugs.webkit.org/show_bug.cgi?id=55706
63065
63066         The rootElement in DRT should point to the scroll view. In WK1, that will be the parent of the rootObject.
63067
63068         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
63069         (AccessibilityController::focusedElement):
63070            Remove FIXME comment about caching the focusedElement. In fact, we shouldn't cache this 
63071            because it could change at any time.
63072         (AccessibilityController::rootElement):
63073
63074 2011-03-07  Sam Weinig  <sam@webkit.org>
63075
63076         Reviewed by Anders Carlsson.
63077
63078         Add unableToImplementPolicy callback for WebKit2 policy client
63079         <rdar://problem/9071902>
63080         https://bugs.webkit.org/show_bug.cgi?id=55884
63081
63082         * MiniBrowser/mac/BrowserWindowController.m:
63083         (-[BrowserWindowController awakeFromNib]):
63084         Update policy client initialization struct for new member.
63085
63086 2011-03-07  Sam Weinig  <sam@webkit.org>
63087
63088         Reviewed by Anders Carlsson.
63089
63090         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
63091         https://bugs.webkit.org/show_bug.cgi?id=55827
63092
63093         * MiniBrowser/mac/BrowserWindowController.m:
63094         (decidePolicyForResponse):
63095         (-[BrowserWindowController awakeFromNib]):
63096         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
63097         (TestWebKitAPI::decidePolicyForResponse):
63098         (TestWebKitAPI::TEST):
63099         Update tools for new name.
63100
63101 2011-03-06  Daniel Bates  <dbates@rim.com>
63102
63103         Reviewed by Eric Seidel and David Kilzer.
63104
63105         Fix misspelled word in build-webkit's checkForJavaSDK() and sort forward declarations
63106         https://bugs.webkit.org/show_bug.cgi?id=55503
63107
63108         Fix misspelled word "Dowloads" [sic] in the message printed to standard output
63109         in checkForJavaSDK().
63110
63111         Also, remove extraneous space in function prototype for unlinkZeroFiles.
63112
63113         * Scripts/build-webkit:
63114
63115 2011-03-05  Brian Weinstein  <bweinstein@apple.com>
63116
63117         Reviewed by Sam Weinig.
63118
63119         Fix Web Process crashes caused by https://bugs.webkit.org/show_bug.cgi?id=53919.
63120
63121         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
63122         (WTR::InjectedBundlePage::willSendRequestForFrame): Retain the WKURLRequestRef returned
63123             by willSendRequestForFrame. The API expects a retained reference to the URL request.
63124
63125 2011-03-05  Ilya Sherman  <isherman@chromium.org>
63126
63127         Reviewed by Darin Adler.
63128
63129         HTMLInputElement::setValue() should schedule change event when the element is focused
63130         In service of https://code.google.com/p/chromium/issues/detail?id=42716
63131         https://bugs.webkit.org/show_bug.cgi?id=53160
63132
63133         * DumpRenderTree/LayoutTestController.cpp:
63134         (setValueForUserCallback):
63135         (LayoutTestController::staticFunctions):
63136         * DumpRenderTree/LayoutTestController.h:
63137         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
63138         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
63139         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
63140         (LayoutTestController::setValueForUser): Expose HTMLInputElement::setValueForUser() to tests
63141         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
63142         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
63143         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
63144         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
63145         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
63146         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
63147
63148 2011-03-04  Mark Rowe  <mrowe@apple.com>
63149
63150         Reviewed by Alexey Proskuryakov.
63151
63152         <rdar://problem/9055252> DumpRenderTree is crashing with GuardMalloc
63153
63154         GuardMalloc does not expect the memory containing its malloc_zone_t to ever be read-only.
63155         
63156         * DumpRenderTree/mac/CheckedMalloc.cpp:
63157         (protectionOfRegion): Retrieve the protection flags for the VM region containing the given address.
63158         (makeLargeMallocFailSilently): Save the initial protection flags, temporarily make the region writeable,
63159         and then restore the initial protection flags when we're done.
63160
63161 2011-03-04  Evan Martin  <evan@chromium.org>
63162
63163         Reviewed by Tony Chang.
63164
63165         [gdb] pretty-print KURL in gdb
63166         https://bugs.webkit.org/show_bug.cgi?id=55788
63167
63168         * gdb/webkit.py: extend the pretty-printers to print WTF::CString
63169         and KURLGooglePrivate.  As always, "p/r" can be used to sidestep
63170         pretty-printing.
63171
63172 2011-03-03  Timothy Hatcher  <timothy@apple.com>
63173
63174         Update the tests that use WKPageRunJavaScriptInMainFrame use the WKSerializedScriptValueRef.
63175
63176         Reviewed by Darin Adler.
63177
63178         * TestWebKitAPI/JavaScriptTest.cpp:
63179         (TestWebKitAPI::javaScriptCallback):
63180         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
63181         (TestWebKitAPI::didRunJavaScript):
63182         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
63183         (TestWebKitAPI::nullJavaScriptCallback):
63184         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
63185         (TestWebKitAPI::didRunJavaScript):
63186
63187 2011-03-03  Timothy Hatcher  <timothy@apple.com>
63188
63189         Make run-api-tests show failed if a test fails.
63190
63191         https://webkit.org/b/55725
63192
63193         Reviewed by Sam Weinig.
63194
63195         * Scripts/run-api-tests:
63196         (runTest): Remove "my" from the nested $result assignment so the
63197         check outside the condition sees the real result.
63198
63199 2011-03-02  MORITA Hajime  <morrita@google.com>
63200
63201         Reviewed by Kent Tamura.
63202
63203         [Chromium][DRT] WebTask should use webkit_support::TaskAdaptor
63204         https://bugs.webkit.org/show_bug.cgi?id=55434
63205
63206         Changed WebTask to be a subclass of webkit_support::TaskAdaptor
63207         and passed the object webkit_support::PostDelayedTask directly.
63208
63209         Note that the change keeps postTask() as is because it has a
63210         semantics taht webkit_support::PostDelayedTask() has; It jumps to
63211         the main thread.
63212
63213         * DumpRenderTree/chromium/Task.cpp:
63214         (postDelayedTask):
63215         * DumpRenderTree/chromium/Task.h:
63216         (WebTask::Run):
63217
63218 2011-03-03  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
63219
63220         Reviewed by Kenneth Rohde Christiansen.
63221
63222         [QT] Implement mock client-based geolocation for layout testing
63223         https://bugs.webkit.org/show_bug.cgi?id=54334
63224
63225         Implement testing for Client-Based geolocation for QtWebkit.
63226
63227         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
63228         (WebCore::DumpRenderTree::DumpRenderTree):
63229         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
63230         (LayoutTestController::reset):
63231         (LayoutTestController::setGeolocationPermission):
63232         (LayoutTestController::setMockGeolocationError):
63233         (LayoutTestController::setMockGeolocationPosition):
63234
63235 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
63236
63237         Unreviewed, rolling out r80237.
63238         http://trac.webkit.org/changeset/80237
63239         https://bugs.webkit.org/show_bug.cgi?id=55714
63240
63241         Windows bots aren't ready to be core (Requested by aroben on
63242         #webkit).
63243
63244         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
63245         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
63246
63247 2011-03-03  Mihai Parparita  <mihaip@chromium.org>
63248
63249         Reviewed by Tony Chang.
63250
63251         NRWT: AttributeError: TestRunner2 instance has no attribute '_cancel_workers'
63252         https://bugs.webkit.org/show_bug.cgi?id=55694
63253         
63254         Fixes for interruptions in NRWT:
63255         - Make TestRunInterruptedException be pickleable correctly (the base
63256           Exception class defines a __reduce__ that does not include the reason)
63257         - Fix ordering of returned arguments from TestRunner2._run_tests
63258           (interrupted and keyboard_interrupted were reversed)
63259         - Fix cancel_workers callsites (was using old name).
63260         - In handle_exception re-raise actual exception instance that was thrown
63261
63262         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
63263         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
63264         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
63265         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
63266
63267 2011-03-03  Qi Zhang  <qi.2.zhang@nokia.com>
63268
63269         Unreviewed.
63270
63271         Adding myself as a committer.
63272
63273         * Scripts/webkitpy/common/config/committers.py:
63274
63275 2011-03-03  Tony Gentilcore  <tonyg@chromium.org>
63276
63277         Reviewed by Mihai Parparita.
63278
63279         Teach sheriffbot to answer whois commands
63280         https://bugs.webkit.org/show_bug.cgi?id=55687
63281
63282         * Scripts/webkitpy/tool/bot/irc_command.py:
63283         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
63284         * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
63285
63286 2011-03-03  Victoria Kirst  <vrk@google.com>
63287
63288         Reviewed by Eric Carlson.
63289
63290         Enable media tests in chromium-gpu/test_expectations
63291         https://bugs.webkit.org/show_bug.cgi?id=53608
63292
63293         Add media folder to the list of GPU test paths.
63294
63295         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
63296
63297 2011-03-03  Adam Roben  <aroben@apple.com>
63298
63299         Work around a bug in KURL's parsing of Windows-style absolute file: URLs
63300
63301         Fixes <http://webkit.org/b/55674> Many tests fail in WebKit2 mode on Windows due to
63302         incorrect parsing of absolute Windows-style file: URLs
63303
63304         Reviewed by Tim Hatcher.
63305
63306         * WebKitTestRunner/TestInvocation.cpp:
63307         (WTR::createWKURL): Add a "localhost" host to file: URLs we create to work around
63308         <http://webkit.org/b/55683>.
63309
63310 2011-03-03  Tony Chang  <tony@chromium.org>
63311
63312         Reviewed by Dimitri Glazkov.
63313
63314         [chromium] Run kill-old-processes on the chromium-win bot too
63315         https://bugs.webkit.org/show_bug.cgi?id=55630
63316
63317         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
63318         * BuildSlaveSupport/win/kill-old-processes: Add wdiff.exe to the kill list.
63319
63320 2011-03-03  Carlos Garcia Campos  <cgarcia@igalia.com>
63321
63322         Reviewed by Martin Robinson.
63323
63324         [GTK] DRT needs implementation of EventSender.scheduleAsynchronousClick
63325         https://bugs.webkit.org/show_bug.cgi?id=53960
63326
63327         * DumpRenderTree/gtk/EventSender.cpp:
63328         (sendClick):
63329         (scheduleAsynchronousClickCallback):
63330
63331 2011-03-03  Adam Roben  <aroben@apple.com>
63332
63333         Look for Windows-style paths when checking whether a test is an Inspector test
63334
63335         WTR part of <http://webkit.org/b/55672> <rdar://problem/9080867> All inspector tests time
63336         out or crash on Windows 7 Release (WebKit2 Tests)
63337
63338         Reviewed by Darin Adler.
63339
63340         * WebKitTestRunner/TestInvocation.cpp:
63341         (WTR::shouldOpenWebInspector): Also look for backslashes, since that's what we'll get on
63342         Windows.
63343
63344 2011-03-03  Adam Roben  <aroben@apple.com>
63345
63346         Make Windows 7 Release (Tests) a core builder
63347
63348         We can probably make Windows XP Debug (Tests) a core builder, too, but we should probably
63349         give it a few more days of greenness first.
63350
63351         Fixes <http://webkit.org/b/55665> Windows 7 Release (Tests) should be a core builder
63352
63353         Reviewed by Andreas Kling.
63354
63355         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
63356         (BuildBot): Added a regexp to match Windows 7 Release (Tests).
63357
63358         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
63359         (BuildBotTest): Updated the list of builders to match the current list on build.webkit.org.
63360         Updated the core regexps to match the buildbot module. Updated the expected results to match
63361         the current set of core builders.
63362
63363 2011-03-03  Benjamin Poulain  <benjamin.poulain@nokia.com>
63364
63365         Reviewed by Andreas Kling.
63366
63367         Adding myself as a reviewer.
63368
63369         * Scripts/webkitpy/common/config/committers.py:
63370
63371 2011-03-03  Lukasz Slachciak  <l.slachciak@samsung.com>
63372
63373         Reviewed by Xan Lopez.
63374
63375         [GTK] Extended application cache database API and added unit tests file.
63376         https://bugs.webkit.org/show_bug.cgi?id=55335
63377
63378         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: removed external declaration
63379         of webkit_application_cache_set_maximum_size due to API exposal.
63380
63381 2011-03-02  Ojan Vafai  <ojan@chromium.org>
63382
63383         Reviewed by Adam Barth.
63384
63385         make webkit-patch upload work for security bugs
63386         https://bugs.webkit.org/show_bug.cgi?id=55655
63387
63388         The problem is that we shell out to prepare-ChangeLog,
63389         which does not authenticate with bugzilla. All it needs from
63390         bugzilla is the bug title though. We just pass it through from
63391         webkit-patch instead.
63392
63393         * Scripts/prepare-ChangeLog:
63394         * Scripts/webkitpy/common/net/bugzilla/bug.py:
63395         * Scripts/webkitpy/tool/steps/preparechangelog.py:
63396
63397 2011-03-01  Ojan Vafai  <ojan@chromium.org>
63398
63399         Reviewed by Tony Chang.
63400
63401         [test-dashboard] make gtest JSON match layout-tests JSON
63402         https://bugs.webkit.org/show_bug.cgi?id=55556
63403
63404         http://trac.webkit.org/changeset/80090 stopped converting time_ms to t.
63405         Make this code match.
63406
63407         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
63408
63409 2011-03-02  Dirk Pranke  <dpranke@chromium.org>
63410
63411         Reviewed by Tony Chang.
63412
63413         NRWT - implement Linux Hardy 64-bit port support. This involves
63414         adding support for non-'x86' architectures and updating the
63415         "deduplicate_tests" script to correctly understand that
63416         port.name() is not always equal to basename(port.baseline_path()).
63417
63418         This change introduces two new port names: 'chromium-linux-x86'
63419         and 'chromium-linux-x86_64'. Using the prior 'chromium-linux'
63420         flag will cause the code to determine which one to use at
63421         runtime, just like we currently do with 'chromium-win'.
63422
63423         https://bugs.webkit.org/show_bug.cgi?id=55535
63424
63425         * Scripts/webkitpy/common/system/executive_mock.py:
63426           Handle 'return_stderr' keyword arg to run_command()
63427         * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
63428         * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
63429         * Scripts/webkitpy/layout_tests/port/base.py:
63430         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
63431         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
63432         * Scripts/webkitpy/layout_tests/port/factory.py:
63433         * Scripts/webkitpy/layout_tests/port/google_chrome.py:
63434
63435 2011-03-02  Kevin Ollivier  <kevino@theolliviers.com>
63436
63437         [wx] Build fix, make sure we put the wxWebKit dylib in the right directory and
63438         update symlinks accordingly.
63439
63440         * wx/packaging/build-mac-installer.py:
63441
63442 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
63443
63444         Unreviewed, rolling out r80139.
63445         http://trac.webkit.org/changeset/80139
63446         https://bugs.webkit.org/show_bug.cgi?id=55620
63447
63448         failing and crashing tests on Snow Leopard bot (Requested by
63449         mihaip1 on #webkit).
63450
63451         * DumpRenderTree/LayoutTestController.cpp:
63452         (LayoutTestController::staticFunctions):
63453         * DumpRenderTree/LayoutTestController.h:
63454         * DumpRenderTree/chromium/LayoutTestController.cpp:
63455         (LayoutTestController::LayoutTestController):
63456         * DumpRenderTree/chromium/LayoutTestController.h:
63457         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
63458         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
63459         * DumpRenderTree/mac/UIDelegate.h:
63460         * DumpRenderTree/mac/UIDelegate.mm:
63461         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
63462         * DumpRenderTree/qt/LayoutTestControllerQt.h:
63463         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
63464         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
63465
63466 2011-03-02  Adam Roben  <aroben@apple.com>
63467
63468         Wait for force a paint in WebKitTestRunner until we're actually ready to dump the output
63469
63470         This matches DumpRenderTree on Windows.
63471
63472         Fixes <http://webkit.org/b/55469> <rdar://problem/9068539> REGRESSION (r79863): Lots of
63473         dom/html/level2/html/HTMLFrameElement*.html tests crashing in FrameView::paintOverhangAreas
63474         in WebKit2
63475
63476         Reviewed by Beth Dakin.
63477
63478         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
63479         (WTR::InjectedBundlePage::dump): Moved code to force a paint here...
63480         (WTR::InjectedBundlePage::didFinishLoadForFrame): ...from here.
63481
63482 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
63483
63484         Reviewed by David Levin.
63485
63486         Add feature define for data transfer items
63487         https://bugs.webkit.org/show_bug.cgi?id=55510
63488
63489         * Scripts/build-webkit:
63490
63491 2011-03-02  Adam Roben  <aroben@apple.com>
63492
63493         Look in the new-to-SnowLeopard location for crash logs on SnowLeopard and newer
63494
63495         ReportCrash saves logs to ~/Library/Logs/CrashReporter on Leopard, but to
63496         ~/Library/Logs/DiagnosticReports on SnowLeopard. old-run-webkit-tests was only looking in
63497         the former location, but was getting lucky on some SnowLeopard machines because symlinks
63498         were being created there pointing into DiagnosticReports. For machines without these
63499         symlinks, crash logs were not getting captured.
63500
63501         Fixes <http://webkit.org/b/55607> old-run-webkit-tests doesn't capture crash logs on some
63502         SnowLeopard machines
63503
63504         Reviewed by Eric Seidel.
63505
63506         * Scripts/old-run-webkit-tests:
63507         (captureSavedCrashLog): Look in ~/Library/Logs/DiagnosticReports on SnowLeopard and newer.
63508
63509 2011-03-02  Adam Roben  <aroben@apple.com>
63510
63511         Don't try to capture crash logs on platforms that haven't implemented that feature
63512
63513         Fixes <http://webkit.org/b/55504> Use of uninitialized value in numeric lt (<) at
63514         Tools/Scripts/old-run-webkit-tests line 1778 seen on Qt bots after a crash
63515
63516         Reviewed by Joseph Pecoraro.
63517
63518         * Scripts/old-run-webkit-tests:
63519         (captureSavedCrashLog): Bail if we don't have a crash log glob.
63520         (findNewestFileMatchingGlob): Fix a buggy test for when no paths match the glob. This isn't
63521         strictly required to fix bug 55504, but seems worthwhile.
63522
63523 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
63524
63525         Reviewed by Dmitry Titov.
63526
63527         Detach Geolocation from Frame when Page destroyed.
63528         https://bugs.webkit.org/show_bug.cgi?id=52877
63529
63530         Extend the layout test controller to expose the number of pending
63531         geolocation requests, so that we can test that the requests have
63532         been cancelled on page close.
63533
63534         * DumpRenderTree/LayoutTestController.cpp:
63535         (numberOfPendingGeolocationPermissionRequestsCallback):
63536         (LayoutTestController::staticFunctions):
63537         * DumpRenderTree/LayoutTestController.h:
63538         * DumpRenderTree/chromium/LayoutTestController.cpp:
63539         (LayoutTestController::LayoutTestController):
63540         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
63541         * DumpRenderTree/chromium/LayoutTestController.h:
63542         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
63543         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
63544         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
63545         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
63546         * DumpRenderTree/mac/UIDelegate.h:
63547         * DumpRenderTree/mac/UIDelegate.mm:
63548         (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
63549         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
63550         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
63551         * DumpRenderTree/qt/LayoutTestControllerQt.h:
63552         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
63553         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
63554         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
63555         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
63556
63557
63558 2011-03-01  Kent Tamura  <tkent@chromium.org>
63559
63560         Reviewed by Dimitri Glazkov.
63561
63562         Assertion fails when a form validation bubble appears
63563         https://bugs.webkit.org/show_bug.cgi?id=55550
63564
63565         Test: fast/forms/interactive-validation-attach-assertion.html
63566
63567         * DumpRenderTree/chromium/WebPreferences.cpp:
63568         (WebPreferences::applyTo): Enable the interactive validation feature by
63569           default. This matches to Chromium browser.
63570
63571 2011-03-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
63572
63573         Reviewed by Kent Tamura.
63574
63575         Remove efl port style exception of Webcore/JavaScriptCore
63576         https://bugs.webkit.org/show_bug.cgi?id=55549
63577
63578         WebCore and JavaScriptCore need to adhere WebKit coding style.
63579
63580         * Scripts/webkitpy/style/checker.py:
63581
63582 2011-03-01  Tony Chang  <tony@chromium.org>
63583
63584         Reviewed by Ojan Vafai.
63585
63586         [chromium] clean up temp files on chromium-mac builder too
63587         https://bugs.webkit.org/show_bug.cgi?id=55525
63588
63589         * BuildSlaveSupport/chromium/remove-crash-logs:
63590
63591 2011-02-28  Ojan Vafai  <ojan@chromium.org>
63592
63593         Reviewed by Tony Chang.
63594
63595         wrap json in a function call to afford cross-domain loading
63596         https://bugs.webkit.org/show_bug.cgi?id=55353
63597
63598         Also delete the code that compacts the JSON. It turns out this
63599         breaks the rebaseline tool and is probably a premature optimization anyways.
63600
63601         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
63602         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
63603         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
63604         * Scripts/webkitpy/tool/commands/rebaselineserver.py:
63605
63606 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
63607
63608         Unreviewed, rolling out r80079.
63609         http://trac.webkit.org/changeset/80079
63610         https://bugs.webkit.org/show_bug.cgi?id=55547
63611
63612         "Broke the Win debug build?" (Requested by dcheng on #webkit).
63613
63614         * Scripts/build-webkit:
63615
63616 2011-03-01  Mark Rowe  <mrowe@apple.com>
63617
63618         Reviewed by Sam Weinig.
63619
63620         Update verification scripts to handle WebKit2.
63621
63622         * Scripts/check-for-global-initializers: Skip object files that use RefCountedLeakChecker.
63623         * Scripts/check-for-inappropriate-files-in-framework: Add some inappropriate file types for
63624         WebKit2.
63625
63626 2011-03-01  Daniel Cheng  <dcheng@chromium.org>
63627
63628         Reviewed by David Levin.
63629
63630         Add feature define for data transfer items
63631         https://bugs.webkit.org/show_bug.cgi?id=55510
63632
63633         * Scripts/build-webkit:
63634
63635 2011-02-23  Joseph Pecoraro  <joepeck@webkit.org>
63636
63637         Reviewed by Timothy Hatcher.
63638
63639         All Console Messages should be passed to ChromeClients.
63640         https://bugs.webkit.org/show_bug.cgi?id=54926
63641
63642         Update DumpRenderTree's UIDelegate to use the new console message delegate.
63643
63644         * DumpRenderTree/mac/UIDelegate.mm:
63645         (-[UIDelegate webView:addMessageToConsole:withSource:]):
63646
63647 2011-03-01  Dirk Pranke  <dpranke@chromium.org>
63648
63649         Reviewed by Adam Barth.
63650
63651         Tragically, we stopped running the python unit tests
63652         on Chromium Win just as I was getting them to be green.
63653         This patch turns them back on.
63654
63655         https://bugs.webkit.org/show_bug.cgi?id=55521
63656
63657         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
63658
63659 2011-03-01  Dirk Pranke  <dpranke@chromium.org>
63660
63661         Reviewed by Adam Roben.
63662
63663         Disable
63664         webkitpy.common.system.executive_unittest.ExecutiveTest.\
63665            test_kill_all fails on win until it can be properly triaged.
63666
63667         https://bugs.webkit.org/show_bug.cgi?id=54790
63668
63669         * Scripts/webkitpy/common/system/executive_unittest.py:
63670
63671     2011-03-01  Helder Correia  <helder@sencha.com>
63672
63673             Unreviewed. Add myself to committers.py.
63674
63675             * Scripts/webkitpy/common/config/committers.py:
63676
63677 2011-03-01  Adam Roben  <aroben@apple.com>
63678
63679         Give up if a crash log for the web process is taking too long to be saved on Windows
63680
63681         This should keep the bots from getting stuck while waiting for a crash log, if writing a
63682         crash log ever hangs or the UI process for some reason doesn't notice it's finished.
63683
63684         Fixes <http://webkit.org/b/55499> WebKitTestRunner can hang forever waiting for a crash log
63685         to be saved for the web process
63686
63687         Reviewed by Steve Falkenburg.
63688
63689         * WebKitTestRunner/win/TestControllerWin.cpp:
63690         (WTR::runRunLoopUntil): Moved code to run the run loop here here from platformRunUntil.
63691         Generalized the code slightly to handle the optional object to wait on.
63692         (WTR::TestController::platformRunUntil): Use the new runRunLoopUntil function, and also use
63693         it (with a timeout) when waiting for a crash log for the web process to be saved. This will
63694         prevent us from waiting forever.
63695
63696 2011-03-01  Adam Roben  <aroben@apple.com>
63697
63698         Give WebKitLauncherWin's PDB file a name different from WebKit's
63699
63700         WebKitLauncherWin (which builds WebKit.exe) and WebKit (which builds WebKit.dll) were
63701         fighting over the same PDB file, meaning that one of them was going to lose and not have
63702         symbols. WebKitLauncherWin's PDB file is now named WebKitLauncherWin.pdb.
63703
63704         Fixes <http://webkit.org/b/55495> Crashes in WebKit.dll have bad backtraces for some test
63705         runs (due to missing symbols)
63706
63707         Reviewed by David Kilzer.
63708
63709         * WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Use the project name,
63710         "WebKitLauncherWin", instead of the target name, "WebKit", when naming the PDB file.
63711
63712 2011-03-01  Adam Roben  <aroben@apple.com>
63713
63714         Count web process crashes toward the --exit-after-n-crashes-or-timeouts limit
63715
63716         Fixes <http://webkit.org/b/55492> Web process crashes aren't counted toward the
63717         --exit-after-n-crashes-or-timeouts limit
63718
63719         Reviewed by David Kilzer.
63720
63721         * Scripts/old-run-webkit-tests:
63722         (stopRunningTestsEarlyIfNeeded): Include web process crashes in the computation, and print
63723         the number of tests that caused the web process to crash when exiting early.
63724
63725 2011-03-01  Adam Roben  <aroben@apple.com>
63726
63727         Save a crash log when the web process crashes
63728
63729         On Windows, WebKitTestRunner now detects when the web process is crashing and waits to exit
63730         until it has finished crashing, which guarantees that the crash log will have had time to be
63731         saved, too. On Mac, we always wait until ReportCrash has exited before capturing the crash
63732         log, so all we have to do is choose the right crash log out of the CrashReporter directory.
63733
63734         Fixes <http://webkit.org/b/44121> <rdar://problem/8320759> When the web process crashes and
63735         a crash log is being saved, WebKitTestRunner thinks the web process has become unresponsive
63736
63737         Reviewed by Sam Weinig.
63738
63739         * Scripts/old-run-webkit-tests:
63740         (testCrashedOrTimedOut): Don't kill WebKitTestRunner when the web process crashes. It will
63741         kill itself. On Windows, this will cause us to wait until the crash log has been saved. On
63742         Mac, it should have no effect. Capture saved crash logs for web process crashes, too.
63743         (captureSavedCrashLog): Added $webProcessCrashed argument. On Mac, look for
63744         WebProces_*.crash files when the web process crashes.
63745
63746         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
63747         (WTR::InjectedBundle::initialize): Added an initializationUserData argument. Updated for
63748         initializePlatformDefaults -> platformInitialize rename. Pass the initializationUserData
63749         along to platformInitialize.
63750
63751         * WebKitTestRunner/InjectedBundle/InjectedBundle.h: See above.
63752
63753         * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
63754         (WKBundleInitialize): Pass along the initializationUserData to the InjectedBundle.
63755
63756         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
63757         (WTR::InjectedBundle::platformInitialize):
63758         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
63759         (WTR::InjectedBundle::platformInitialize):
63760         Updated function signature.
63761
63762         * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp:
63763         (WTR::exceptionFilter): Added. Tells the UI process we're crashing by signaling the
63764         webProcessCrashingEvent, then lets the crash continue as normal.
63765
63766         (WTR::InjectedBundle::platformInitialize): Hook up exceptionFilter. Retrieve the name of the
63767         event we should use to tell the UI process we're crashing from the initializationUserData,
63768         and get a handle to that event.
63769
63770         * WebKitTestRunner/TestController.cpp:
63771         (WTR::TestController::TestController): Initialize new members.
63772         (WTR::TestController::processDidCrash): Removed unnecessary WKPageRef argument. Changed to
63773         only print the "#CRASHED - WebProcess" message once, since this can be called more than once
63774         when a crash log is being saved on Windows. Exit right away if specified. (This is the
63775         default.)
63776
63777         * WebKitTestRunner/TestController.h: Added new members.
63778
63779         * WebKitTestRunner/win/TestControllerWin.cpp:
63780         (WTR::TestController::platformInitialize): Set up the event the web process will use to tell
63781         us it's crashing.
63782         (WTR::TestController::platformRunUntil): Pass MWMO_INPUTAVAILABLE to
63783         ::MsgWaitForMultipleObjectsEx so we'll process messages that have already been seen by
63784         ::PeekMessage. (This is unrelated to the bug fix.) Notice when the webProcessCrashingEvent
63785         has been signaled. When this happens, print the "#CRASHED - WebProcess" message right away
63786         so the test harness will know the web process has crashed and not try to kill us, then wait
63787         for the web process to finish crashing so a crash log will have time to be saved.
63788         (WTR::toWK): Simple hepler function.
63789         (WTR::TestController::platformInitializeContext): Pass along the name of the event the web
63790         process should use to tell us it is crashing in the context's initialization user data.
63791
63792 2011-03-01  Dimitri Glazkov  <dglazkov@chromium.org>
63793
63794         Reviewed by Tony Gentilcore.
63795
63796         Move the checks to exclude Python/Perl tests for Chromium Win build to the right place.
63797         https://bugs.webkit.org/show_bug.cgi?id=55476
63798
63799         Chromium Win uses BuildAndTestFactory, not TestFactory.
63800
63801         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Moved to the right place.
63802
63803 2011-03-01  Adam Roben  <aroben@apple.com>
63804
63805         Test that the WebKit2 responsiveness timer doesn't fire too early
63806
63807         Test for <http://webkit.org/b/55417> <rdar://problem/9065287> RunLoop::Timer fires 1000x too
63808         early on Windows
63809
63810         Reviewed by Anders Carlsson.
63811
63812         * TestWebKitAPI/PlatformUtilities.h: Added sleep().
63813
63814         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp: Added.
63815         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
63816         (TestWebKitAPI::didFinishLoadForFrame):
63817         (TestWebKitAPI::processDidBecomeUnresponsive):
63818         (TestWebKitAPI::setInjectedBundleClient):
63819         (TestWebKitAPI::setPageLoaderClient):
63820         Simple helper functions.
63821
63822         (TestWebKitAPI::TEST): Load an HTML file to make sure the web process is initialized. Then
63823         tell the web process to pause and press the spacebar key. The spacebar keypress should cause
63824         the responsiveness timer to start, but the web process should unpause before it has a chance
63825         to fire. Run until the web process has unpaused, and assert that the timer didn't fire.
63826
63827         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp: Added.
63828         (TestWebKitAPI::ResponsivenessTimerDoesntFireEarlyTest::ResponsivenessTimerDoesntFireEarlyTest):
63829         Call up to the base class.
63830         (TestWebKitAPI::ResponsivenessTimerDoesntFireEarlyTest::didReceiveMessage): When asked to
63831         pause, sleep for 0.5 seconds, then send back a message saying we paused.
63832
63833         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
63834         (TestWebKitAPI::Util::sleep): Added. Calls through to usleep.
63835         * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
63836         (TestWebKitAPI::Util::sleep): Added. Calls through to ::Sleep.
63837
63838         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
63839         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
63840         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
63841         Added new files.
63842
63843 2011-03-01  Andras Becsi  <abecsi@webkit.org>
63844
63845         Reviewed by Csaba Osztrogonác.
63846
63847         [Qt] Clean up the project files and move common options to WebKit.pri.
63848
63849         * WebKitTestRunner/qt/WebKitTestRunner.pro: Deduplicate.
63850
63851
63852 2011-03-01  Adam Roben  <aroben@apple.com>
63853
63854         Skip another multiprocessing test on Windows
63855
63856         It is sometimes failing (and may be leaving child Python processes around).
63857         <http://webkit.org/b/55087> tracks the failure.
63858
63859         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
63860         (FuncitonTests.test_get__processes): Skip this test on Windows.
63861
63862 2011-03-01  Ilya Tikhonovsky  <loislo@chromium.org>
63863
63864         Reviewed by Pavel Feldman.
63865
63866         Web Inspector: reduce inspector tests flakiness.
63867         https://bugs.webkit.org/show_bug.cgi?id=55401
63868
63869         * DumpRenderTree/chromium/TestShell.cpp:
63870         (TestShell::runFileTest):
63871         * DumpRenderTree/chromium/WebPreferences.cpp:
63872         (WebPreferences::reset):
63873
63874 2011-02-28  Mihai Parparita  <mihaip@chromium.org>
63875
63876         Reviewed by James Robinson.
63877
63878         NRWT should still upload results when it exits early due to too many failures
63879         https://bugs.webkit.org/show_bug.cgi?id=55432
63880         
63881         Only keyboard interrupts should prevent results from being uploaded.
63882
63883         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
63884         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
63885
63886 2011-02-28  Alice Liu  <alice.liu@apple.com>
63887
63888         Reviewed by Adam Roben and Gavin Barraclough.
63889
63890         Test for https://bugs.webkit.org/show_bug.cgi?id=54898
63891         InjectedBundleNodeHandle dies too early in WKBundleHitTestResultGetNodeHandle.
63892
63893         * TestWebKitAPI/InjectedBundleController.h:
63894         (TestWebKitAPI::InjectedBundleController::bundle):
63895         * TestWebKitAPI/PlatformWebView.h:
63896         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp: Added.
63897         (TestWebKitAPI::didFinishLoadForFrame):
63898         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
63899         (TestWebKitAPI::setPageLoaderClient):
63900         (TestWebKitAPI::TEST):
63901         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp: Added.
63902         (TestWebKitAPI::HitTestResultNodeHandleTest::HitTestResultNodeHandleTest):
63903         (TestWebKitAPI::HitTestResultNodeHandleTest::getContextMenuFromDefaultMenu):
63904         (TestWebKitAPI::HitTestResultNodeHandleTest::didCreatePage):
63905         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
63906         (TestWebKitAPI::PlatformWebView::simulateRightClick):
63907         * TestWebKitAPI/win/PlatformWebViewWin.cpp:
63908         (TestWebKitAPI::PlatformWebView::simulateRightClick):
63909         
63910         Added files to:
63911         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
63912         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
63913         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
63914
63915 2011-02-28  Adam Roben  <aroben@apple.com>
63916
63917         Start running InjectedBundle API tests on Windows
63918
63919         A new project, TestWebKitAPIInjectedBundle, builds the injected bundle DLL.
63920
63921         Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
63922
63923         Reviewed by Darin Adler.
63924
63925         * TestWebKitAPI/Configurations/TestWebKitAPIDebug.vsprops: Added.
63926         * TestWebKitAPI/Configurations/TestWebKitAPIDebugAll.vsprops: Added.
63927         * TestWebKitAPI/Configurations/TestWebKitAPIDebugCairoCFLite.vsprops: Added.
63928         * TestWebKitAPI/Configurations/TestWebKitAPIRelease.vsprops: Added.
63929         * TestWebKitAPI/Configurations/TestWebKitAPIReleaseCairoCFLite.vsprops: Added.
63930         These are just extracted from TestWebKitAPI.vcproj.
63931
63932         * TestWebKitAPI/Configurations/TestWebKitAPIInjectedBundleCommon.vsprops: Added. Just sets
63933         up the DLL's filename.
63934
63935         * TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Fixed DLL name.
63936         (TestWebKitAPI::Util::createInjectedBundlePath): Changed to use kCFAllocatorNull instead of
63937         0 (== kCFAllocatorDefault) so that CF won't try to deallocate our C string.
63938
63939         * TestWebKitAPI/win/TestWebKitAPI.sln: Added TestWebKitAPIInjectedBundle. Removed the bogus
63940         "all" configuration.
63941
63942         * TestWebKitAPI/win/TestWebKitAPI.vcproj: Changed to use the new .vsprops files. Added
63943         injected bundle tests. Let VS resort things.
63944
63945         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Copied from Tools/TestWebKitAPI/win/TestWebKitAPI.vcproj.
63946
63947 2011-02-28  Adam Roben  <aroben@apple.com>
63948
63949         Add a test for the paint rect passed via WM_PAINT to windowless plugins
63950
63951         Test for <http://webkit.org/b/55365> <rdar://problem/9031089> REGRESSION (r79040): WebKit2:
63952         Large portions of pages with plugins paint black
63953
63954         Reviewed by Anders Carlsson.
63955
63956         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
63957         (PluginTest::NPP_HandleEvent):
63958         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
63959         Added NPP_HandleEvent. Just returns 0 at this level.
63960
63961         * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowlessPaintRectCoordinates.cpp: Added.
63962         (WindowlessPaintRectCoordinates::WindowlessPaintRectCoordinates): Call up to the base class.
63963         (WindowlessPaintRectCoordinates::NPP_New): Mark ourselves as windowless.
63964         (WindowlessPaintRectCoordinates::NPP_HandleEvent): Check that the paint rect passed via
63965         WM_PAINT has the expected coordinates.
63966
63967         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
63968         (NPP_HandleEvent): Give the PluginTest a chance to handle the event before doing anything
63969         else.
63970
63971         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added new file, let VS
63972         resort things.
63973
63974         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
63975         (WTR::InjectedBundlePage::didFinishLoadForFrame): Added a call to WKBundlePageForceRepaint.
63976         This is roughly equivalent to the call to -[WebView displayIfNeeded] in -[FrameLoadDelegate
63977         webView:didFinishLoadForFrame:] in DumpRenderTree.
63978
63979         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
63980         (WTR::PlatformWebView::PlatformWebView): Tell the WKView it's in a window so that plugins
63981         can start running.
63982
63983 2011-02-28  Adam Roben  <aroben@apple.com>
63984
63985         Tell MiniBrowser's WKViews that they're in a window
63986
63987         Fixes <http://webkit.org/b/55364> Plugins don't work in MiniBrowser on Windows
63988
63989         Reviewed by Anders Carlsson.
63990
63991         * MiniBrowser/win/BrowserView.cpp:
63992         (BrowserView::create): Call WKViewSetIsInWindow after creating the view.
63993
63994 2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
63995
63996         Reviewed by Csaba Osztrogonác.
63997
63998         The new QML tests require QML_IMPORT_PATH variable to be set in order to
63999         load the proper plugin.
64000
64001         * Scripts/run-qtwebkit-tests:
64002
64003 2011-02-28  Joone Hur  <joone.hur@collabora.co.uk>
64004
64005         Unreviewed, fix spelling mistake.
64006
64007         hardware-accelated => hardware-accelerated.
64008
64009         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
64010
64011 2011-02-28  Kristian Amlie  <kristian.amlie@nokia.com>
64012
64013         Reviewed by Andreas Kling.
64014
64015         Made sure that the build-webkit --qmake argument is always respected.
64016
64017         Previously, it would be respected during the build, but not during
64018         the early feature detection. The build would also fail if qmake was
64019         not in your path, even if you specified --qmake with a valid qmake
64020         binary.
64021
64022         [Qt] WebKit patches required to work with a modularized version of Qt
64023         https://bugs.webkit.org/show_bug.cgi?id=53916
64024
64025         * Scripts/build-webkit:
64026         * Scripts/webkitdirs.pm:
64027
64028 2011-02-27  Ojan Vafai  <ojan@chromium.org>
64029
64030         Fix failing tests from http://trac.webkit.org/changeset/79837.
64031
64032         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
64033         This was just a mistake that would break if someone tried printing with this configuration.
64034         * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
64035         Method signature changed. Didn't notice that this method was being calling in a unittest.
64036
64037 2011-02-24  Hayato Ito  <hayato@chromium.org>
64038
64039         Reviewed by Eric Seidel.
64040
64041         [NRWT] Remove test_types/* classes.
64042
64043         This is the last patch in the series of efforts which tried to remove test_types classes.
64044         A single_test_runner module will take over responsibilities of test_type classes.
64045
64046         From this patch, we won't display statistics per test_type even if a '--verbose' option is given.
64047
64048         https://bugs.webkit.org/show_bug.cgi?id=55123
64049
64050         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
64051         * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
64052         * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
64053         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
64054         * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py:
64055         * Scripts/webkitpy/layout_tests/test_types/__init__.py: Removed.
64056         * Scripts/webkitpy/layout_tests/test_types/image_diff.py: Removed.
64057         * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: Removed.
64058         * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py: Removed.
64059         * Scripts/webkitpy/layout_tests/test_types/text_diff.py: Removed.
64060
64061 2011-02-25  Ojan Vafai  <ojan@chromium.org>
64062
64063         Reviewed by Tony Chang.
64064
64065         Change results.json format to the one used by unexpected_results.json
64066         https://bugs.webkit.org/show_bug.cgi?id=52267
64067
64068         Also add runtimes in milliseconds to the JSON and make the output format more compact.
64069         Named the file full_results.json to avoid conflicting with the results.json
64070         file the test-results server currently serves up.
64071
64072         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
64073         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
64074         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
64075         * Scripts/webkitpy/layout_tests/layout_package/printing.py:
64076         * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
64077         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
64078
64079 2011-02-27  Adam Roben  <aroben@apple.com>
64080
64081         Followup fix to r79827
64082
64083         * DumpRenderTree/win/UIDelegate.cpp:
64084         (UIDelegate::webViewAddMessageToConsole): Replaced call to urlSuitableForTestResult with
64085         lastPathComponent. This matches what we did here before r79827, and matches Mac.
64086
64087 2011-02-27  Dan Bernstein  <mitz@apple.com>
64088
64089         Reviewed by Adam Roben.
64090
64091         Make bisect-builds print a trac link for the regression range
64092         https://bugs.webkit.org/show_bug.cgi?id=55331
64093
64094         * Scripts/bisect-builds:
64095
64096 2011-02-27  Adam Roben  <aroben@apple.com>
64097
64098         Use iswalpha instead of isalpha when dealing with wchar_ts in EditingDelegate
64099
64100         Fixes <http://webkit.org/b/55062> <rdar://problem/9059907> Crash beneath
64101         EditingDelegate::checkSpellingOfString when running fast/forms/input-text-maxlength.html or
64102         fast/forms/input-text-paste-maxlength.html on Windows with full page heap enabled
64103
64104         Reviewed by Anders Carlsson.
64105
64106         * DumpRenderTree/win/EditingDelegate.cpp:
64107         (indexOfFirstWordCharacter):
64108         (wordLength):
64109         Use iswalpha instead of isalpha, since TCHAR is really just wchar_t.
64110
64111 2011-02-27  Adam Roben  <aroben@apple.com>
64112
64113         Make ResourceLoadDelegate print URLs relative to the main resource on Windows
64114
64115         This matches Mac. (In fact, the code was ported from Mac!)
64116
64117         Fixes <http://webkit.org/b/55328> URLs printed by ResourceLoadDelegate on Windows don't
64118         match Mac
64119
64120         Reviewed by Anders Carlsson.
64121
64122         * DumpRenderTree/win/DumpRenderTree.cpp:
64123         (substringFromIndex): Added. Emulates -[NSString substringFromIndex:].
64124         (urlSuitableForTestResult): Ported code from -[NSURL(DRTExtras)
64125         _drt_descriptionSuitableForTestResult].
64126         (cfStringRefToWString): Moved here from LayoutTestControllerWin.cpp.
64127
64128         * DumpRenderTree/win/DumpRenderTreeWin.h: Added declaration of cfStringRefToWString.
64129
64130         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Moved cfStringRefToWString to
64131         DumpRenderTree.cpp.
64132
64133 2011-02-27  Adam Roben  <aroben@apple.com>
64134
64135         Change the order of Chang Shu's email addresses so the first one is their Bugzilla username
64136
64137         This makes Bugzilla autocompletion work correctly.
64138
64139         * Scripts/webkitpy/common/config/committers.py:
64140
64141 2011-02-27  Patrick Gansterer  <paroga@webkit.org>
64142
64143         Reviewed by Andreas Kling.
64144
64145         [Qt] fast/loader/user-stylesheet-fast-path.html fails
64146         https://bugs.webkit.org/show_bug.cgi?id=50911
64147
64148         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
64149         (LayoutTestController::setUserStyleSheetLocation):
64150         Use QUrl::fromEncoded since the passed string is already encoded.
64151
64152 2011-02-27  Adam Roben  <aroben@apple.com>
64153
64154         Ensure $testResultsDirectory is an absolute path before setting up Windows crash log saving
64155
64156         Windows 7 (and maybe Vista?) launches the post-mortem debugger with a working directory that
64157         is different from old-run-webkit-test's. Because of this, the path to the crash log file
64158         (which is relative to $testResultsDirectory) must be an absolute path. See the bug for more
64159         details.
64160
64161         Fixes <http://webkit.org/b/55318> Crash logs aren't saved on Windows 7 when a relative
64162         --results-directory path is used (like on the test slaves)
64163
64164         Reviewed by Dan Bernstein.
64165
64166         * Scripts/old-run-webkit-tests: Moved the call to setUpWindowsCrashLogSaving after we've
64167         made $testResultsDirectory an absolute path.
64168
64169 2011-02-26  Dominic Mazzoni  <dmazzoni@google.com>
64170
64171         Reviewed by Adam Barth.
64172
64173         m_dumpAccessibilityNotifications should be initialized.
64174         https://bugs.webkit.org/show_bug.cgi?id=54874
64175
64176         * DumpRenderTree/chromium/AccessibilityController.cpp:
64177         (AccessibilityController::AccessibilityController):
64178
64179 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
64180
64181         Reviewed by Pavel Feldman.
64182
64183         DumpRenderTree should reset frame opener between tests.
64184         https://bugs.webkit.org/show_bug.cgi?id=54874
64185
64186         Added clearOpener() calls between tests.
64187         Some tests are using window.open() to change current window location.
64188         This changes window.opener property whose nullity is checked before
64189         showing xml viewer.
64190
64191         * DumpRenderTree/chromium/TestShell.cpp:
64192         (TestShell::resetTestController):
64193         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64194         (resetDefaultsToConsistentValues):
64195         * DumpRenderTree/mac/DumpRenderTree.mm:
64196         (resetWebViewToConsistentStateBeforeTesting):
64197         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
64198         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
64199         * DumpRenderTree/win/DumpRenderTree.cpp:
64200         (resetWebViewToConsistentStateBeforeTesting):
64201         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
64202         (WTR::InjectedBundlePage::reset):
64203
64204 2011-02-26  Yael Aharon  <yael.aharon@nokia.com>
64205
64206         Reviewed by Andreas Kling.
64207
64208         [Qt] Fix the focus in MiniBrowser.
64209         https://bugs.webkit.org/show_bug.cgi?id=55288
64210
64211         Give focus to the web view when a load starts.
64212
64213         * MiniBrowser/qt/BrowserWindow.cpp:
64214         (BrowserWindow::urlChanged):
64215
64216 2011-02-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
64217
64218         Reviewed by Adam Barth.
64219
64220         [EFL] Add coding style exceptions for EFL port
64221         https://bugs.webkit.org/show_bug.cgi?id=54733
64222
64223         The EFL APIs use EFL naming style, which includes both lower-cased and camel-cased,
64224         underscore-sparated values. But, style checking rule have found parameter_name errors
64225         in efl directories so far.
64226
64227         * Scripts/webkitpy/style/checker.py: Add prameter_name rule's exception and efl directories.
64228
64229 2011-02-26  David Levin  <levin@chromium.org>
64230
64231         Reviewed by Darin Adler.
64232
64233         check-webkit-style should check for spaces after periods in comments
64234         https://bugs.webkit.org/show_bug.cgi?id=55253
64235
64236         * Scripts/webkitpy/style/checkers/cpp.py: Added the check.
64237         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests
64238           and fixed the name of one related test.
64239
64240 2011-02-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
64241
64242         Reviewed by Andreas Kling.
64243
64244         Make it possible to test the targetdensity-dpi support
64245         https://bugs.webkit.org/show_bug.cgi?id=55142
64246
64247         Test the viewport meta tag feature targetdensity-dpi by
64248         adding extra arguments to dumpConfigurationForViewport
64249
64250         Add the new arguments to the shared header and all
64251         implementation.
64252
64253         * DumpRenderTree/LayoutTestController.cpp:
64254         (dumpConfigurationForViewportCallback):
64255         * DumpRenderTree/LayoutTestController.h:
64256         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
64257         (LayoutTestController::dumpConfigurationForViewport):
64258         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
64259         (LayoutTestController::dumpConfigurationForViewport):
64260         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
64261         (LayoutTestController::dumpConfigurationForViewport):
64262         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
64263         (LayoutTestController::dumpConfigurationForViewport):
64264         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
64265         (LayoutTestController::dumpConfigurationForViewport):
64266         * DumpRenderTree/qt/LayoutTestControllerQt.h:
64267
64268 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
64269
64270         Unreviewed, rolling out r79764.
64271         http://trac.webkit.org/changeset/79764
64272         https://bugs.webkit.org/show_bug.cgi?id=55295
64273
64274         "broke Chromium builds" (Requested by rniwa on #webkit).
64275
64276         * DumpRenderTree/chromium/TestShell.cpp:
64277         (TestShell::resetTestController):
64278         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64279         (resetDefaultsToConsistentValues):
64280         * DumpRenderTree/mac/DumpRenderTree.mm:
64281         (resetWebViewToConsistentStateBeforeTesting):
64282         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
64283         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
64284         * DumpRenderTree/win/DumpRenderTree.cpp:
64285         (resetWebViewToConsistentStateBeforeTesting):
64286         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
64287         (WTR::InjectedBundlePage::reset):
64288
64289 2011-02-26  Yongjun Zhang  <yongjun_zhang@apple.com>
64290
64291         Reviewed by David Kilzer.
64292
64293         https://bugs.webkit.org/show_bug.cgi?id=48781
64294
64295         Add a resource load delegate method to query if WebCore should paint the default broken image for failed images.
64296
64297         Add a new resource load client method (shouldPaintBrokenImage).  WebKit client can decide if WebCore
64298         should paint the default broken image when an image fails to load or decode.
64299
64300         * DumpRenderTree/LayoutTestController.cpp:
64301         (LayoutTestController::LayoutTestController):
64302         (setShouldPaintBrokenImageCallback):
64303         (LayoutTestController::staticFunctions):
64304         (LayoutTestController::setShouldPaintBrokenImage):
64305         * DumpRenderTree/LayoutTestController.h:
64306         (LayoutTestController::shouldPaintBrokenImage):
64307         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
64308         (-[ResourceLoadDelegate webView:shouldPaintBrokenImageForURL:]):
64309
64310 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
64311
64312         Reviewed by Pavel Feldman.
64313
64314         DumpRenderTree should reset frame opener between tests.
64315         https://bugs.webkit.org/show_bug.cgi?id=54874
64316
64317         Added clearOpener() calls between tests.
64318         Some tests are using window.open() to change current window location.
64319         This changes window.opener property whose nullity is checked before
64320         showing xml viewer.
64321
64322         * DumpRenderTree/chromium/TestShell.cpp:
64323         (TestShell::resetTestController):
64324         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64325         (resetDefaultsToConsistentValues):
64326         * DumpRenderTree/mac/DumpRenderTree.mm:
64327         (resetWebViewToConsistentStateBeforeTesting):
64328         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
64329         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
64330         * DumpRenderTree/win/DumpRenderTree.cpp:
64331         (resetWebViewToConsistentStateBeforeTesting):
64332         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
64333         (WTR::InjectedBundlePage::reset):
64334
64335 2011-02-25  Lukasz Slachciak  <l.slachciak@samsung.com>
64336
64337         Reviewed by Kenneth Rohde Christiansen.
64338
64339         [EFL] Added EWebLauncher command line option to turn on/off frame flattening
64340         https://bugs.webkit.org/show_bug.cgi?id=54809
64341
64342         * EWebLauncher/main.c: Handling -f option added.
64343         (on_key_down):
64344         (browserCreate):
64345         (main):
64346
64347 2011-02-25  Sheriff Bot  <webkit.review.bot@gmail.com>
64348
64349         Unreviewed, rolling out r79324.
64350         http://trac.webkit.org/changeset/79324
64351         https://bugs.webkit.org/show_bug.cgi?id=55260
64352
64353         Leopard Debug is once again running out of address space while
64354         linking (Requested by aroben on #webkit).
64355
64356         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
64357         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
64358
64359 2011-02-25  Tony Chang  <tony@chromium.org>
64360
64361         Reviewed by James Robinson.
64362
64363         Clean up temp files left by crashing DRTs on chromium-win
64364         https://bugs.webkit.org/show_bug.cgi?id=55182
64365
64366         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
64367         * BuildSlaveSupport/chromium/remove-crash-logs: Added.
64368
64369 2011-02-25  Adam Roben  <aroben@apple.com>
64370
64371         Double-check that modifying the registry worked
64372
64373         On Windows Vista/7 with UAC enabled, regtool will fail to modify the registry, but it will
64374         still return a successful exit code. So we double-check here that the value we tried to
64375         write to the registry was really written.
64376
64377         Fixes <http://webkit.org/b/55227> old-run-webkit-tests falsely claims to be saving crash
64378         logs on Windows Vista/7
64379
64380         Reviewed by Darin Adler.
64381
64382         * Scripts/old-run-webkit-tests:
64383         (writeRegistryString): After trying to write the string value, check that it was really
64384         written.
64385
64386 2011-02-25  Adam Roben  <aroben@apple.com>
64387
64388         Set the 32-bit post-mortem debugger on 64-bit OSes
64389
64390         The post-mortem debugger is controlled by some registry values in
64391         HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug. On 64-bit OSes, you can either
64392         set the values in that key, which will be used for 64-bit apps, or in the equivalent key
64393         under Wow6432Node, which will be used for 32-bit apps. Since DumpRenderTree and
64394         WebKitTestRunner are 32-bit, we want to use the latter location.
64395
64396         Fixes <http://webkit.org/b/55225> old-run-webkit-tests sets the post-mortem debugger for
64397         64-bit apps, but should set it for 32-bit apps instead
64398
64399         Reviewed by Darin Adler.
64400
64401         * Scripts/old-run-webkit-tests:
64402         (readRegistryString):
64403         (writeRegistryString):
64404         Pass --wow32 to regtool so it will get/set values beneath Wow6432Node, which is where
64405         Windows looks for the post-mortem debugger values when a 32-bit app crashes on a 64-bit OS.
64406         Passing --wow32 on a 32-bit OS will not have any effect.
64407
64408 2011-02-25  Adam Roben  <aroben@apple.com>
64409
64410         Clean up code to set up crash log saving on Windows
64411
64412         Fixes <http://webkit.org/b/55224> old-run-webkit-test's Windows registry code is ugly
64413
64414         Reviewed by David Kilzer.
64415
64416         * Scripts/old-run-webkit-tests:
64417         (readRegistryString):
64418         (writeRegistryString):
64419         Moved code to read strings from and write strings to the registry here...
64420
64421         (setUpWindowsCrashLogSaving): ...from here.
64422
64423 2011-02-25  Adam Roben  <aroben@apple.com>
64424
64425         Work around Cygwin's crash-suppression behavior
64426
64427         Cygwin calls ::SetErrorMode(SEM_FAILCRITICALERRORS), which any processes it launches will
64428         inherit. This is bad for testing/debugging, as it causes the post-mortem debugger not to be
64429         invoked. (Cygwin does this because it makes crashes more UNIX-y.) We reset the error mode
64430         when our test apps launch to work around Cygwin's behavior.
64431
64432         Fixes <http://webkit.org/b/55222> Test apps crash silently (without invoking post-mortem
64433         debugger) when launched from Cygwin 1.7
64434
64435         Reviewed by Darin Adler.
64436
64437         * DumpRenderTree/win/DumpRenderTree.cpp:
64438         (main):
64439         * TestWebKitAPI/win/main.cpp:
64440         (main):
64441         * WebKitAPITest/main.cpp:
64442         (main):
64443         * WebKitTestRunner/win/TestControllerWin.cpp:
64444         (WTR::TestController::platformInitialize):
64445         Call ::SetErrorMode(0) to undo Cygwin's folly.
64446
64447 2011-02-24  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
64448
64449         Reviewed by Andreas Kling.
64450
64451         [Qt] Revert the support for QNAM affined to a different thread.
64452         https://bugs.webkit.org/show_bug.cgi?id=55149
64453
64454         Qt 4.8 will have QNAM use its own thread internally by default,
64455         no need to keep this complexity in WebKit.
64456
64457         This mainly reverts:
64458         http://trac.webkit.org/changeset/73710
64459         http://trac.webkit.org/changeset/73712
64460
64461         * QtTestBrowser/launcherwindow.cpp:
64462         (LauncherWindow::~LauncherWindow):
64463         (LauncherWindow::initializeView):
64464         (LauncherWindow::createChrome):
64465         * QtTestBrowser/launcherwindow.h:
64466         (WindowOptions::WindowOptions):
64467         * QtTestBrowser/webpage.cpp:
64468         (WebPage::WebPage):
64469         * QtTestBrowser/webpage.h:
64470
64471 2011-02-24  Adam Barth  <abarth@webkit.org>
64472
64473         Reviewed by Eric Seidel.
64474
64475         Add a script for creating gypi files
64476         https://bugs.webkit.org/show_bug.cgi?id=55113
64477
64478         This is a trivial script to create gypi files from the source code in
64479         the current directory.
64480
64481         * Scripts/make-gypi: Added.
64482
64483 2011-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
64484
64485         Unreviewed, rolling out r79628.
64486         http://trac.webkit.org/changeset/79628
64487         https://bugs.webkit.org/show_bug.cgi?id=55195
64488
64489         "broke chromium win tests" (Requested by dpranke on #webkit).
64490
64491         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
64492         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
64493
64494 2011-02-24  Dirk Pranke  <dpranke@chromium.org>
64495
64496         Reviewed by Mihai Parparita.
64497
64498         rebaseline-chromium-webkit-tests can't handle GPU variants
64499         https://bugs.webkit.org/show_bug.cgi?id=55002
64500
64501         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
64502         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
64503
64504 2011-02-24  Dirk Pranke  <dpranke@chromium.org>
64505
64506         Reviewed by Mihai Parparita.
64507
64508         nrwt: log command used to start web server to --verbose
64509
64510         https://bugs.webkit.org/show_bug.cgi?id=55188
64511
64512         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
64513         * Scripts/webkitpy/layout_tests/port/http_server.py:
64514
64515 2011-02-24  Victoria Kirst  <vrk@google.com>
64516
64517         Reviewed by Mihai Parparita.
64518
64519         [chromium] Move media-file.js and video-test.js back to media/ for UILayoutTests
64520         https://bugs.webkit.org/show_bug.cgi?id=55089
64521
64522         This adds an alias into the media/ directory so that http/tests/media
64523         tests can access the media resources when running in an httpd process.
64524
64525         * Scripts/webkitperl/httpd.pm:
64526         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
64527         * Scripts/webkitpy/layout_tests/port/http_server.py:
64528
64529 2011-02-24  Dirk Pranke  <dpranke@chromium.org>
64530
64531         Reviewed by Mihai Parparita.
64532
64533         nrwt: enable multiple processes by default on Chromium Win.
64534
64535         https://bugs.webkit.org/show_bug.cgi?id=55163
64536
64537         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
64538         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
64539
64540 2011-02-24  Sam Weinig  <sam@webkit.org>
64541
64542         Attempt to fix Qt.
64543
64544         * WebKitTestRunner/TestInvocation.cpp:
64545
64546 2011-02-24  James Robinson  <jamesr@chromium.org>
64547
64548         Unreviewed, rolling out r79598.
64549         http://trac.webkit.org/changeset/79598
64550         https://bugs.webkit.org/show_bug.cgi?id=55089
64551
64552         Appears to be causing trouble with httpd on windows
64553
64554         * Scripts/webkitperl/httpd.pm:
64555         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
64556         * Scripts/webkitpy/layout_tests/port/http_server.py:
64557
64558 2011-02-24  Sam Weinig  <sam@webkit.org>
64559
64560         Reviewed by Darin Adler.
64561
64562         Add basic pixel testing support to WebKitTestRunner
64563         https://bugs.webkit.org/show_bug.cgi?id=55161
64564
64565         * Scripts/old-run-webkit-tests:
64566         Don't print color space information when using WebKitTestRunner since
64567         we don't need to change the screen.
64568
64569         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
64570         (WTR::InjectedBundle::initialize):
64571         Add call to initializePlatformDefaults.
64572         
64573         (WTR::InjectedBundle::done):
64574         Return a dictionary on completion with both the text output and pixel dump override.
64575
64576         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
64577         Add declaration for initializePlatformDefaults.
64578
64579         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
64580         (WTR::LayoutTestController::LayoutTestController):
64581         (WTR::LayoutTestController::dumpAsText):
64582         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
64583         (WTR::LayoutTestController::shouldDumpPixels):
64584         Make setting dumpAsText override the dump pixels preference.
64585
64586         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: Added.
64587         (WTR::InjectedBundle::initializePlatformDefaults):
64588         Set platform defaults matching DumpRenderTree.
64589
64590         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp: Added.
64591         (WTR::InjectedBundle::initializePlatformDefaults):
64592         * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp: Added.
64593         (WTR::InjectedBundle::initializePlatformDefaults):
64594         Add stubs for initializePlatformDefaults.
64595
64596         * WebKitTestRunner/TestController.cpp:
64597         (WTR::TestController::runTest):
64598         (WTR::TestController::runTestingServerLoop):
64599         (WTR::TestController::run):
64600         Parse expected pixel results out of stdin and setup the invocation with it.
64601
64602         * WebKitTestRunner/TestInvocation.cpp:
64603         (WTR::TestInvocation::TestInvocation):
64604         Initialize new members.
64605
64606         (WTR::TestInvocation::~TestInvocation):
64607         (WTR::TestInvocation::setIsPixelTest):
64608         (WTR::sizeWebViewForCurrentTest):
64609         (WTR::TestInvocation::invoke):
64610         (WTR::TestInvocation::dump):
64611         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
64612         * WebKitTestRunner/TestInvocation.h:
64613         Dump pixels in addition to text by calling dumpPixelsAndCompareWithExpected.
64614
64615         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
64616         (WTR::PlatformWebView::PlatformWebView):
64617         Use -[NSColorSpace genericRGBColorSpace] instead of the main screen color space.
64618
64619         * WebKitTestRunner/mac/TestInvocationMac.mm: Added.
64620         (WTR::createCGContextFromPlatformView):
64621         (WTR::computeMD5HashStringForContext):
64622         (WTR::dumpBitmap):
64623         (WTR::forceRepaintFunction):
64624         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
64625         Add mac specific pixel dumping support. Right now, we always pull pixels
64626         from the window server.
64627
64628         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
64629         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
64630         * WebKitTestRunner/qt/WebKitTestRunner.pro:
64631         * WebKitTestRunner/win/InjectedBundle.vcproj:
64632         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
64633         Add new files.
64634
64635 2011-02-24  Chang Shu  <cshu@webkit.org>
64636
64637         Reviewed by Kenneth Rohde Christiansen.
64638
64639         [Qt] Launch MiniBrowser if the test run is WebKit2. 
64640         https://bugs.webkit.org/show_bug.cgi?id=55145
64641
64642         * Scripts/old-run-webkit-tests:
64643         * Scripts/run-launcher:
64644         * Scripts/webkitdirs.pm:
64645
64646 2011-02-24  Victoria Kirst  <vrk@google.com>
64647
64648         Reviewed by Mihai Parparita.
64649
64650         [chromium] Move media-file.js and video-test.js back to media/ for UILayoutTests
64651         https://bugs.webkit.org/show_bug.cgi?id=55089
64652
64653         This adds an alias into the media/ directory so that http/tests/media
64654         tests can access the media resources when running in an httpd process.
64655
64656         * Scripts/webkitperl/httpd.pm:
64657         * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
64658         * Scripts/webkitpy/layout_tests/port/http_server.py:
64659
64660 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
64661
64662         Unreviewed, rolling out r79570.
64663         http://trac.webkit.org/changeset/79570
64664         https://bugs.webkit.org/show_bug.cgi?id=54874
64665
64666         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
64667         was not updated
64668
64669         * DumpRenderTree/chromium/TestShell.cpp:
64670         (TestShell::resetTestController):
64671         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64672         (resetDefaultsToConsistentValues):
64673         * DumpRenderTree/mac/DumpRenderTree.mm:
64674         (resetWebViewToConsistentStateBeforeTesting):
64675         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
64676         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
64677         * DumpRenderTree/win/DumpRenderTree.cpp:
64678         (resetWebViewToConsistentStateBeforeTesting):
64679         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
64680         (WTR::InjectedBundlePage::reset):
64681
64682 2011-02-24  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
64683
64684         Reviewed by Laszlo Gombos.
64685
64686         [Qt] add android 2.2 user agent to QtTestBrowser
64687         https://bugs.webkit.org/show_bug.cgi?id=55085
64688
64689         Credit to Forrest Hodgkins to find right user-agent which works for youtube.
64690         * QtTestBrowser/useragentlist.txt:
64691
64692 2011-02-24  Adam Roben  <aroben@apple.com>
64693
64694         Change FrameLoadDelegate to support any number of delegates with delayed work to process
64695
64696         This makes our behavior match Mac more closely, and allows us to remove an incorrect
64697         assertion that was firing during some tests. (The assertion was claiming that there was
64698         never more than one delegate with delayed work to process, but that was not the case.)
64699
64700         Fixes <http://webkit.org/b/55146> Assertion failure in FrameLoadDelegate::locationChangeDone
64701         when running http/tests/navigation/back-twice-without-commit.html
64702
64703         Reviewed by Eric Carlson.
64704
64705         * DumpRenderTree/win/FrameLoadDelegate.cpp:
64706         (delegatesWithDelayedWork): Added. Returns all FrameLoadDelegates that have delayed work to
64707         process. A single delegate may appear in this Vector more than once (just as, on Mac, a
64708         single delegate may have multiple performSelector requests).
64709         (processWorkTimer): Pass the HWND to ::KillTimer, for pedantic brownie points. Added an
64710         assertion that the timer firing is the shared process work timer. Instead of using the
64711         single, global "delegate waiting for timer" delegate, give all delegates that have delayed
64712         work to process a chance to process their work.
64713         (FrameLoadDelegate::locationChangeDone): If we don't already have an active timer for
64714         processing delayed work, create one. Then add ourselves to the delegatesWithDelayedWork
64715         Vector so our processWork function will be called when the timer fires.
64716
64717 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
64718
64719         Reviewed by Alexey Proskuryakov.
64720
64721         DumpRenderTree should reset frame opener between tests.
64722         https://bugs.webkit.org/show_bug.cgi?id=54874
64723
64724         Added clearOpener() calls between tests.
64725         Some tests are using window.open() to change current window location.
64726         This changes window.opener property whose nullity is checked before
64727         showing xml viewer.
64728
64729         * DumpRenderTree/chromium/TestShell.cpp:
64730         (TestShell::resetTestController):
64731         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64732         (resetDefaultsToConsistentValues):
64733         * DumpRenderTree/mac/DumpRenderTree.mm:
64734         (resetWebViewToConsistentStateBeforeTesting):
64735         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
64736         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
64737         * DumpRenderTree/win/DumpRenderTree.cpp:
64738         (resetWebViewToConsistentStateBeforeTesting):
64739         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
64740         (WTR::InjectedBundlePage::reset):
64741
64742 2011-02-24  Adam Roben  <aroben@apple.com>
64743
64744         Don't trigger Windows builds for changes to WebCore.exp.in or the top-level GNUmakefile.am
64745
64746         Fixes <http://webkit.org/b/55144> Windows builders should not have built r79343 or r79440,
64747         but did
64748
64749         Reviewed by Anders Carlsson.
64750
64751         * Scripts/webkitpy/common/config/build.py:
64752         (_should_file_trigger_build): Loosened the pattern for GNUmakefile.am to include the
64753         top-level GNUmakefile.am, and loosened the pattern for .exp files to include WebCore.exp.in.
64754
64755         * Scripts/webkitpy/common/config/build_unittest.py:
64756         (ShouldBuildTest): Added some more tests.
64757
64758 2011-02-24  Andras Becsi  <abecsi@webkit.org>
64759
64760         Reviewed by Laszlo Gombos.
64761
64762         [Qt] MinGW build fails to link
64763         https://bugs.webkit.org/show_bug.cgi?id=55050
64764
64765         Prepend the libraries of subcomponents instead of appending them
64766         to fix the library order according to the dependency of the libraries
64767
64768         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
64769         * WebKitTestRunner/qt/WebKitTestRunner.pro:
64770
64771 2011-02-24  Gabor Loki  <loki@webkit.org>
64772
64773         Reviewed by Csaba Osztrogonác.
64774
64775         [Qt] Remove ARMv5 Release buildbot.
64776
64777         Remove ARMv5 Release buildbot, because there is very little difference
64778         between ARMv5 and ARMv7 Release bots, and there is also very little
64779         interest in ARMv5 build slave (compared to ARMv7).
64780
64781         * BuildSlaveSupport/build.webkit.org-config/config.json:
64782         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
64783
64784 2011-02-22  Ojan Vafai  <ojan@chromium.org>
64785
64786         Reviewed by Tony Chang.
64787
64788         fix revision number finding when creating git patches
64789         https://bugs.webkit.org/show_bug.cgi?id=55024
64790
64791         HEAD~n does not walk merge commits correctly. git log however does.
64792
64793         * Scripts/webkitpy/common/checkout/scm.py:
64794         * Scripts/webkitpy/common/checkout/scm_unittest.py:
64795
64796 2011-02-23  Kenneth Russell  <kbr@google.com>
64797
64798         Unreviewed, rolling out r79387.
64799         https://bugs.webkit.org/show_bug.cgi?id=54885
64800
64801         Reapply the code changes from r79038 since they weren't the root
64802         cause of the test timeouts.
64803
64804         * DumpRenderTree/chromium/WebViewHost.cpp:
64805         (WebViewHost::reset):
64806
64807 2011-02-23  Siddharth Mathur  <siddharth.mathur@nokia.com>
64808
64809         Reviewed by Laszlo Gombos.
64810
64811         [Qt] Make sure Symbian binary UIDs are unique
64812
64813         * MiniBrowser/qt/MiniBrowser.pro: Resolve the UID collision with
64814         QtTestBrowser.pro by changing the UID.
64815
64816 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
64817
64818         Reviewed by Darin Adler.
64819
64820         Rename PLATFORM(CF) to USE(CF)
64821         https://bugs.webkit.org/show_bug.cgi?id=53540
64822
64823         * DumpRenderTree/config.h:
64824
64825 2011-02-23  Dirk Pranke  <dpranke@chromium.org>
64826
64827         Reviewed by Ojan Vafai.
64828
64829         nrwt: turn on multiprocessing on chromium_linux, clean up unit tests for worker model defaults
64830         https://bugs.webkit.org/show_bug.cgi?id=55016
64831
64832         * Scripts/webkitpy/layout_tests/port/base.py:
64833         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
64834         * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py: Added.
64835         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
64836         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
64837         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
64838         * Scripts/webkitpy/layout_tests/port/mac.py:
64839         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
64840         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
64841         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
64842
64843 2011-02-23  Tony Chang  <tony@chromium.org>
64844
64845         Reviewed by Kent Tamura.
64846
64847         [chromium] DumpRenderTree --check-layout-test-sys-deps leaks 4 temp dirs
64848         https://bugs.webkit.org/show_bug.cgi?id=55004
64849
64850         * DumpRenderTree/chromium/DumpRenderTree.cpp:
64851         (WebKitSupportTestEnvironment::WebKitSupportTestEnvironment):
64852         (WebKitSupportTestEnvironment::~WebKitSupportTestEnvironment):
64853         (main): Use a C++ object to ensure that TearDownTestEnvironment
64854             gets called when --check-layout-test-sys-deps is called
64855
64856 2011-02-23  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
64857
64858         Reviewed by Anders Carlsson.
64859
64860         [Qt] [Qt] check webkit style fails in qt/tests
64861         https://bugs.webkit.org/show_bug.cgi?id=54998
64862
64863         check-webkit-style was complaining about missing config.h in WebKit/qt/test/qdeclarativewebview. This patch was originally part of 50222. Reviewer suggested to split and create a separate patch for checker.
64864
64865         * Scripts/webkitpy/style/checker.py:
64866
64867 2011-02-22  Vsevolod Vlasov  <vsevik@chromium.org>
64868
64869         Reviewed by Pavel Feldman.
64870
64871         DumpRenderTree should dump as text if test path contains "dumpAsText/"
64872         https://bugs.webkit.org/show_bug.cgi?id=54873
64873
64874         * DumpRenderTree/chromium/LayoutTestController.h:
64875         (LayoutTestController::setShouldDumpAsText):
64876         (LayoutTestController::setShouldGeneratePixelResults):
64877         * DumpRenderTree/chromium/TestShell.cpp:
64878         (TestShell::runFileTest):
64879         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64880         (shouldDumpAsText):
64881         (dump):
64882         (runTest):
64883         * DumpRenderTree/mac/DumpRenderTree.mm:
64884         (shouldDumpAsText):
64885         (runTest):
64886         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
64887         (WebCore::isDumpAsTextTest):
64888         (WebCore::DumpRenderTree::open):
64889         * DumpRenderTree/win/DumpRenderTree.cpp:
64890         (shouldDumpAsText):
64891         (runTest):
64892         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
64893         (WTR::InjectedBundlePage::dump):
64894
64895 2011-02-22  Kenneth Russell  <kbr@google.com>
64896
64897         Reviewed by James Robinson.
64898
64899         Many tests started timing out on the chrome mac canaries around r79035
64900         https://bugs.webkit.org/show_bug.cgi?id=54885
64901
64902         Revert the code changes, but not the Chromium DEPS roll, from
64903         r79038 to see whether this clears up the timing-out tests. Was not
64904         able to reproduce the timeouts locally with a Release mode build
64905         of DRT (on Snow Leopard).
64906
64907         * DumpRenderTree/chromium/WebViewHost.cpp:
64908         (WebViewHost::reset):
64909
64910 2011-02-22  Dirk Pranke  <dpranke@chromium.org>
64911
64912         Reviewed by James Robinson.
64913
64914         nrwt: --platform chromium-gpu doesn't work with --worker-model=processes
64915         https://bugs.webkit.org/show_bug.cgi?id=55009
64916
64917         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
64918
64919 2011-02-18  Mihai Parparita  <mihaip@chromium.org>
64920
64921         Reviewed by Ojan Vafai.
64922
64923         Default to 500 for --exit-after-n-failures
64924         https://bugs.webkit.org/show_bug.cgi?id=54773
64925
64926         Make 500 the default value for --exit-after-n-failures (ORWT bots
64927         already default to this as of r75726). Similarly, change the default for
64928         --exit-after-n-crashes-or-timeouts to 20.
64929
64930         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
64931
64932 2011-02-02  Martin Robinson  <mrobinson@igalia.com>
64933
64934         Reviewed by Xan Lopez.
64935
64936         [GTK] DRT needs an implementation of LayoutTestController.setSelectTrailingWhitespace
64937         https://bugs.webkit.org/show_bug.cgi?id=53603
64938
64939         Add support for LayoutTestController.setSelectTrailingWhitespace by calling through
64940         to DumpRenderTreeSupportGtk for this functionality.
64941
64942         * DumpRenderTree/gtk/DumpRenderTree.cpp:
64943         (resetDefaultsToConsistentValues): Always call LayoutTestController.setSelectTrailingWhitespace to
64944         false when reseting values between tests.
64945         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
64946         (LayoutTestController::setSelectTrailingWhitespaceEnabled): Call LayoutTestController.setSelectTrailingWhitespace
64947         with the appropriate value.
64948
64949 2011-02-22  Adam Roben  <aroben@apple.com>
64950
64951         Don't trigger a Windows build when the top-level ChangeLog changes
64952
64953         r79320 is an example of a change that shouldn't have built on Windows, but did, because of
64954         this bug.
64955
64956         Fixes <http://webkit.org/b/54957> Windows bots build when top-level ChangeLog changes, but
64957         shouldn't
64958
64959         Reviewed by Anders Carlsson.
64960
64961         * Scripts/webkitpy/common/config/build.py:
64962         (_should_file_trigger_build): Modified the ChangeLog pattern to match the top-level
64963         ChangeLog, and re-sorted it in the list.
64964
64965         * Scripts/webkitpy/common/config/build_unittest.py:
64966         (ShouldBuildTest): Added a test that ChangeLogs don't trigger builds.
64967
64968 2011-02-22  Sheriff Bot  <webkit.review.bot@gmail.com>
64969
64970         Unreviewed, rolling out r78691.
64971         http://trac.webkit.org/changeset/78691
64972         https://bugs.webkit.org/show_bug.cgi?id=54956
64973
64974         Leopard Debug is successfully building again (Requested by
64975         aroben on #webkit).
64976
64977         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
64978         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
64979
64980 2011-02-22  Ilya Tikhonovsky  <loislo@chromium.org>
64981
64982         Reviewed by Pavel Feldman.
64983
64984         Web Inspector: flakyness of inspector tests.
64985         https://bugs.webkit.org/show_bug.cgi?id=54729
64986
64987         As far as we have the protocol with sequence numbers we can simplify test harness support
64988         and drop out chomium specific methods.
64989
64990         * DumpRenderTree/DumpRenderTree.gypi:
64991         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
64992         (DRTDevToolsAgent::sendMessageToInspectorFrontend):
64993         (DRTDevToolsAgent::runtimePropertyChanged):
64994         (DRTDevToolsAgent::asyncCall):
64995         (DRTDevToolsAgent::call):
64996         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
64997         * DumpRenderTree/chromium/DRTDevToolsCallArgs.cpp: Removed.
64998         * DumpRenderTree/chromium/DRTDevToolsCallArgs.h: Removed.
64999         * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
65000         (DRTDevToolsClient::sendMessageToBackend):
65001         (DRTDevToolsClient::asyncCall):
65002         (DRTDevToolsClient::call):
65003         * DumpRenderTree/chromium/DRTDevToolsClient.h:
65004
65005 2011-02-22  Andras Becsi  <abecsi@webkit.org>
65006
65007         Reviewed by Laszlo Gombos.
65008
65009         [Qt] Redesign the build system
65010         https://bugs.webkit.org/show_bug.cgi?id=51339
65011
65012         Part 2.
65013
65014         Build WebCore as a static library, compile the WebKit API and WebKit2 API
65015         in a final step and link to WebKit2, WebCore and JSC libraries to fix
65016         linking issues resulting from stripped away symbols.
65017
65018         * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Remove superfluous includepaths.
65019
65020 2011-02-21  Lukasz Slachciak  <l.slachciak@samsung.com>
65021
65022         Reviewed by Antonio Gomes.
65023
65024         [EFL] Restored spatial navigation option in EWebLauncher since #18662 bug is closed
65025         https://bugs.webkit.org/show_bug.cgi?id=54806
65026
65027         * EWebLauncher/main.c:
65028         (on_key_down): calling ewk_view_setting_spatial_navigation_set when "F12" pressed added.
65029
65030 2011-02-21  Dirk Pranke  <dpranke@chromium.org>
65031
65032         Reviewed by Kent Tamura.
65033
65034         nrwt: revert behavior on 10.5 to "old-threads". It's possible
65035         that r79062 has introduced a bunch of flakiness, although I
65036         can't explain why right now. This change should restore the
65037         old behavior, and then we can look at the build logs to see
65038         if the tests stop timing out or being flaky.
65039
65040         https://bugs.webkit.org/show_bug.cgi?id=54925
65041
65042         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
65043         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
65044         * Scripts/webkitpy/layout_tests/port/mac.py:
65045         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
65046
65047 2011-02-21  Dirk Pranke  <dpranke@chromium.org>
65048
65049         Reviewed by Dimitri Glazkov.
65050
65051         nrwt: fix typo causing us to try and repeatedly shut down the servers
65052         https://bugs.webkit.org/show_bug.cgi?id=54904
65053
65054         * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py:
65055
65056 2011-02-21  Alejandro G. Castro  <alex@igalia.com>
65057
65058         Reviewed by Csaba Osztrogonác.
65059
65060         REGRESSION(r79157):
65061         plugins/get-url-with-javascript-destroying-plugin.html make the
65062         next test crash
65063         https://bugs.webkit.org/show_bug.cgi?id=54863
65064
65065         * GNUmakefile.am:
65066
65067 2011-02-20  Dirk Pranke  <dpranke@chromium.org>
65068
65069         Reviewed by Ojan Vafai.
65070
65071         test-webkitpy: stop skipping a bunch of tests on win32
65072         https://bugs.webkit.org/show_bug.cgi?id=54788
65073
65074         * Scripts/webkitpy/common/net/testoutputset_unittest.py:
65075         * Scripts/webkitpy/test/main.py:
65076
65077 2011-02-20  Dirk Pranke  <dpranke@chromium.org>
65078
65079         Reviewed by Ojan Vafai.
65080
65081         Fix various bugs related to handling of dir separators and real
65082         vs. fake filesystems that were causing test-webkitpy to fail
65083         tests on win32. These bugs have a variety of causes but are
65084         lumped together because they should be easy to review.
65085
65086         https://bugs.webkit.org/show_bug.cgi?id=54700
65087
65088         * Scripts/webkitpy/common/net/testoutput.py:
65089           Here we were using os.path.sep but not escaping it prior to
65090           using in a regexp, which  caused bad things on win32.
65091         * Scripts/webkitpy/common/net/testoutput_unittest.py:
65092           Same here.
65093         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
65094           Here we were using the native filesystem instead of the mock
65095           filesystem, making some tests unnecessarily platform dependent.
65096           Also we weren't setting the default configuration for the
65097           TestChromiumWinPort.
65098         * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py:
65099           Here we *shouldn't* use os.path.join(), just so the code becomes
65100           less platform dependent.
65101         * Scripts/webkitpy/style/checker.py:
65102           Here we should be using os.path.sep instead of "/"; the tests
65103           require the native filesystem.
65104         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
65105           Here the underlying code is using os.path.sep, so we probably
65106           should as well.
65107         * Scripts/webkitpy/style/test_expectations_unittest.py:
65108           Here we should be using the filesystem hanging of the port
65109           object (which is the mocked filesystem) rather than the native
65110           one.
65111
65112 2011-02-20  Anders Carlsson  <andersca@apple.com>
65113
65114         Reviewed by Maciej Stachowiak.
65115
65116         Crash when a plug-in requests a javascript: url that destroys the plug-in
65117         https://bugs.webkit.org/show_bug.cgi?id=54837
65118         <rdar://problem/9005475>
65119
65120         Add new plug-in test.
65121
65122         * DumpRenderTree/DumpRenderTree.gypi:
65123         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
65124         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
65125         (PluginTest::NPN_GetURL):
65126         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
65127         * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp: Added.
65128         (GetURLWithJavaScriptURLDestroyingPlugin::GetURLWithJavaScriptURLDestroyingPlugin):
65129         (GetURLWithJavaScriptURLDestroyingPlugin::NPP_New):
65130         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
65131         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
65132
65133 2011-02-19  Patrick Gansterer  <paroga@webkit.org>
65134
65135         Reviewed by Andreas Kling.
65136
65137         Make WinCE a core builder
65138         https://bugs.webkit.org/show_bug.cgi?id=54801
65139
65140         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
65141         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
65142
65143 2011-02-19  Lukasz Slachciak  <l.slachciak@samsung.com>
65144
65145         Reviewed by Andreas Kling.
65146
65147         Fixed problem with launching EWebLauncher with "run-launcher --efl". Incorrect path referring to non-existing .libs directory ws set.
65148         https://webkit.org/b/54778
65149
65150         * Scripts/webkitdirs.pm:
65151
65152 2011-02-18  David Levin  <levin@chromium.org>
65153
65154         Reviewed by Eric Seidel.
65155
65156         check-webkit-style: Misses brace style error when the line with the { has a } in it.
65157         https://bugs.webkit.org/show_bug.cgi?id=54769
65158
65159         * Scripts/webkitpy/style/checkers/cpp.py: Fixed the check for the close brace
65160           to only look after the last open brace, so that the open brace in this line
65161           "} else {" will still be able to trigger the error.
65162         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added related unit tests.
65163
65164 2011-02-18  Zan Dobersek  <zandobersek@gmail.com>
65165
65166         Reviewed by Martin Robinson.
65167
65168         [Gtk] Re-enable meter tag support
65169         https://bugs.webkit.org/show_bug.cgi?id=54762
65170
65171         Meter tag is supported on the Gtk port, enable it by default.
65172
65173         * Scripts/build-webkit:
65174
65175 2011-02-18  David Levin  <levin@chromium.org>
65176
65177         Reviewed by Eric Seidel.
65178
65179         check-webkit-style falsely complains about WebKitGTK+ public headers
65180         https://bugs.webkit.org/show_bug.cgi?id=54650
65181
65182         * Scripts/webkitpy/style/checker.py: Add some exceptions for the gtk files.
65183         * Scripts/webkitpy/style/checkers/cpp.py: Restrict the checks for WEBKIT_API
65184           to the chromium directory (and improved the checks slightly).
65185         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added corresponding tests.
65186
65187 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65188
65189         Reviewed by James Robinson.
65190
65191         new-run-webkit-tests: enable multiple processes by default on
65192         mac. This change removes the artificial restrictions we placed
65193         on the # of child processes we used with the old threading
65194         model, and switches to the new message-based model and multiple
65195         processes, where available. If multiple processes are not
65196         available (Leopard / Python 2.5), then we use the 'inline' model
65197         instead of the 'old-threads' model on the 'mac' port or one
65198         process on the 'chromium-mac' port. We need additional testing
65199         to see if the new 'threads' model works reliably and is worth
65200         supporting, or if we should just live with things being slightly
65201         slow.
65202
65203         https://bugs.webkit.org/show_bug.cgi?id=54596
65204
65205         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
65206         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
65207         * Scripts/webkitpy/layout_tests/port/mac.py:
65208         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
65209         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
65210
65211 2011-02-18  Andrew Wilson  <atwilson@chromium.org>
65212
65213         Unreviewed, rolling out r79047.
65214         http://trac.webkit.org/changeset/79047
65215         https://bugs.webkit.org/show_bug.cgi?id=54596
65216
65217         Broke canary bots - please watch the canaries the next time
65218         you land this
65219
65220         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
65221         * Scripts/webkitpy/layout_tests/port/mac.py:
65222
65223 2011-02-18  Emil A Eklund  <eae@chromium.org>
65224
65225         Reviewed by Darin Adler.
65226
65227         Crash in EventHandler::sendContextMenuEventForKey
65228         https://bugs.webkit.org/show_bug.cgi?id=54495
65229
65230         Add support for the context menu key (VK_APPS) to EventSender for
65231         platforms that support the key.
65232
65233         * DumpRenderTree/chromium/EventSender.cpp:
65234         (EventSender::keyDown):
65235         * DumpRenderTree/gtk/EventSender.cpp:
65236         (keyDownCallback):
65237         * DumpRenderTree/qt/EventSenderQt.cpp:
65238         (EventSender::keyDown):
65239         * DumpRenderTree/win/EventSender.cpp:
65240         (keyDownCallback):
65241
65242 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65243
65244         Reviewed by Ojan Vafai.
65245
65246         new-run-webkit-tests: enable multiple processes by default on mac
65247         https://bugs.webkit.org/show_bug.cgi?id=54596
65248
65249         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
65250         * Scripts/webkitpy/layout_tests/port/mac.py:
65251
65252 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65253
65254         Reviewed by Adam Roben.
65255
65256         Skip pretty patch unit tests if ruby isn't installed.
65257
65258         https://bugs.webkit.org/show_bug.cgi?id=54699
65259
65260         * Scripts/webkitpy/common/prettypatch_unittest.py:
65261
65262 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65263
65264         Reviewed by Adam Roben.
65265
65266         Skip mac.test_skipped_file_paths() when running on win32; the
65267         test has hardcoded '/' directory separators and since it's a
65268         port-specific test and we have coverage on other ports it's not
65269         worth it to make the test more generic.
65270
65271         https://bugs.webkit.org/show_bug.cgi?id=54698
65272
65273         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
65274
65275 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65276
65277         Reviewed by Adam Roben.
65278
65279         Fix webkitpy.layout_tests.port.config_unittest to work on Win32.
65280
65281         https://bugs.webkit.org/show_bug.cgi?id=54703
65282
65283         * Scripts/webkitpy/layout_tests/port/config_unittest.py:
65284
65285 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65286
65287         Reviewed by Adam Roben.
65288
65289         Change the default port we're mocking out on win32 when we
65290         run mock_drt_unittest. Normally we'd default to the
65291         port-specific default, but that would be "win", which doesn't
65292         currently work.
65293
65294         https://bugs.webkit.org/show_bug.cgi?id=54708
65295
65296         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
65297
65298 2011-02-18  Kenneth Russell  <kbr@google.com>
65299
65300         Reviewed by James Robinson.
65301
65302         [chromium] Clean up initialization of minimum timer interval
65303         https://bugs.webkit.org/show_bug.cgi?id=54772
65304
65305         Use new GetForegroundTabTimerInterval function in webkit_support
65306         to reset the minimum timer interval before each test.
65307
65308         * DumpRenderTree/chromium/WebViewHost.cpp:
65309         (WebViewHost::reset):
65310
65311 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65312
65313         Reviewed by Adam Roben.
65314
65315         r78494 fixed the chromium_win unittest failing under win32,
65316         but not cygwin. This fixes cygwin as well.
65317
65318         https://bugs.webkit.org/show_bug.cgi?id=54652
65319
65320         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
65321
65322 2011-02-18  Dirk Pranke  <dpranke@chromium.org>
65323
65324         Reviewed by Ojan Vafai, Mihai Parparita.
65325
65326         new-run-webkit-tests: r78522 made it impossible to create a
65327         'chromium-win' or 'chromium-mac' port; they would always get the
65328         version tacked on to the end. It turns out that we actually need
65329         to be able to create these ports in order for
65330         rebaseline-chromium-webkit-tests to work correctly given the
65331         broken coverage of our layout bots. As soon as we get SL and
65332         Win 7 bots running reliably on the canaries, we can get rid of
65333         this change. Note that we only need to change the chromium_mac
65334         and win ports because linux doesn't yet use versions and that
65335         script doesn't work with non-chromium ports.
65336
65337         Also, this change fixes a bug where we were using
65338         "platform/chromium-win-win7" and
65339         "platform/chromium-mac-snowleopard" as the baseline dirs for
65340         Win 7 and SL; we should've been using the generic directories
65341         instead since they are the newest versions of the os's.
65342
65343         https://bugs.webkit.org/show_bug.cgi?id=54691
65344
65345         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
65346         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
65347         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
65348         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
65349         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
65350
65351 2011-02-16  MORITA Hajime  <morrita@google.com>
65352
65353         Reviewed by Kent Tamura.
65354
65355         [Chromium][DRT] some PostDelayedTask() accesses possibly dangling this pointer.
65356         http://webkit.org/b/53899
65357
65358         Replaced static invocation wrappers with MethodTask objects,
65359         which are removed on WebViewHost destructor.
65360         
65361         * DumpRenderTree/chromium/WebViewHost.cpp:
65362         (WebViewHost::requestCheckingOfText):
65363         (WebViewHost::scheduleAnimation):
65364         (WebViewHost::closeWidgetSoon):
65365         * DumpRenderTree/chromium/WebViewHost.h:
65366         (WebViewHost::HostMethodTask::HostMethodTask):
65367         (WebViewHost::HostMethodTask::runIfValid):
65368         (WebViewHost::taskList):
65369
65370 2011-02-07  Hayato Ito  <hayato@chromium.org>
65371
65372         Reviewed by Ojan Vafai.
65373
65374         Get rid of code which writes test results from test_type's
65375         compare_output() method.
65376         Writing test results now happens in single_test_runner, using
65377         newly introduced test_result_writer module.
65378
65379         Subsequent patches will eliminate test_type/* classes.
65380
65381         https://bugs.webkit.org/show_bug.cgi?id=53908
65382
65383         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
65384         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py: Added.
65385         * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
65386         * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
65387         * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
65388
65389 2011-02-17  Dirk Pranke  <dpranke@chromium.org>
65390
65391         Reviewed by Adam Roben.
65392
65393         Add blacklist of remaining webkitpy/* modules that fail on
65394         Win32, so that test-webkitpy will at least run cleanly.
65395
65396         https://bugs.webkit.org/show_bug.cgi?id=54709
65397
65398         * Scripts/webkitpy/layout_tests/test/main.py:
65399
65400 2011-02-17  Simon Fraser  <simon.fraser@apple.com>
65401
65402         Reviewed by Sam Weinig.
65403
65404         Set a preference to ensure that scrollbars are in a predictable
65405         state for DRT.
65406
65407         * DumpRenderTree/mac/DumpRenderTree.mm:
65408         (resetDefaultsToConsistentValues):
65409
65410 2011-02-17  Dirk Pranke  <dpranke@chromium.org>
65411
65412         Reviewed by Adam Roben.
65413
65414         test-webkitpy doesn't work with the multiprocessing module on win32
65415         or cygwin, so we skip it for now.
65416
65417         https://bugs.webkit.org/show_bug.cgi?id=54520
65418
65419         * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
65420         * Scripts/webkitpy/layout_tests/layout_package/run_webkit_tests_unittest.py:
65421
65422 2011-02-17  Dirk Pranke  <dpranke@chromium.org>
65423
65424         Reviewed by Adam Roben.
65425
65426         Fix version, baseline_search_path for chromium-win-win7. Also
65427         fix chromium_win_unittests, and fix port_testcase.make_port()
65428         to correctly use the options passed into it and only set
65429         results_directory() if necessary.
65430
65431         https://bugs.webkit.org/show_bug.cgi?id=54652
65432
65433         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
65434         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
65435         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
65436
65437 2011-02-17  Dirk Pranke  <dpranke@chromium.org>
65438
65439         Reviewed by Ojan Vafai.
65440
65441         Fix a hang in new-run-webkit-tests when run with
65442         --dry-run --worker-model=processes
65443
65444         https://bugs.webkit.org/show_bug.cgi?id=54595
65445
65446         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
65447         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
65448
65449 2011-02-17  Kevin Ollivier  <kevino@theolliviers.com>
65450
65451         [wx] Build fixes after recent changes.
65452
65453         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
65454         (LayoutTestController::setMinimumTimerInterval):
65455         * wx/build/settings.py:
65456
65457 2011-02-17  Csaba Osztrogonác  <ossy@webkit.org>
65458
65459         Reviewed by Andreas Kling.
65460
65461         [Qt] ImageDiff sometimes hangs
65462         https://bugs.webkit.org/show_bug.cgi?id=54641
65463
65464         * DumpRenderTree/qt/ImageDiff.cpp: Clear actualImage and baselineImage after all comparison.
65465         (main):
65466
65467 2011-02-17  Peter Varga  <pvarga@webkit.org>
65468
65469         Reviewed by Csaba Osztrogonác.
65470
65471         The run-sunspider --v8-suite doesn't work
65472         https://bugs.webkit.org/show_bug.cgi?id=54660
65473
65474         * Scripts/run-sunspider:
65475
65476 2011-02-17  Gabor Rapcsanyi  <rgabor@webkit.org>
65477
65478         Reviewed by Csaba Osztrogonác.
65479
65480         [NRWT] Fix environment setup on Qt port.
65481         https://bugs.webkit.org/show_bug.cgi?id=54549
65482
65483         * Scripts/webkitpy/layout_tests/port/qt.py:
65484
65485 2011-02-16  Yael Aharon  <yael.aharon@nokia.com>
65486
65487         Reviewed by Andreas Kling.
65488
65489         [Qt] Enable tiled backing store by default in MiniBrowser.
65490         https://bugs.webkit.org/show_bug.cgi?id=54581
65491
65492         Instead of a flag to turn it on, a new flag is defined to turn
65493         tiled backing store off.
65494
65495         * MiniBrowser/qt/MiniBrowserApplication.cpp:
65496         (MiniBrowserApplication::handleUserOptions):
65497         * MiniBrowser/qt/MiniBrowserApplication.h:
65498         (WindowOptions::WindowOptions):
65499
65500 2011-02-16  Eric Seidel  <eric@webkit.org>
65501
65502         Reviewed by Mihai Parparita.
65503
65504         flaky test archive uploads are always 22 bytes long
65505         https://bugs.webkit.org/show_bug.cgi?id=54593
65506
65507         Speculative fix for the 22-bytes bug.
65508
65509         * Scripts/webkitpy/tool/bot/flakytestreporter.py:
65510
65511 2011-02-16  Anna Cavender  <annacc@chromium.org>
65512
65513         Reviewed by Mihai Parparita.
65514
65515         http/tests/media should be served over HTTP (not from local file)
65516         https://bugs.webkit.org/show_bug.cgi?id=54028
65517
65518         Removed special file:// treatment of http/tests/media
65519
65520         * Scripts/old-run-webkit-tests:
65521         * Scripts/webkitpy/layout_tests/port/base.py:
65522
65523 2011-02-16  Mihai Parparita  <mihaip@chromium.org>
65524
65525         Reviewed by Ojan Vafai.
65526
65527         ChangeLog.parse_latest_entry_from_file does not handle rolled over ChangeLogs
65528         https://bugs.webkit.org/show_bug.cgi?id=54609
65529         
65530         r78737 rolled over ChangeLogs, and webkit-patch complains when landing
65531         patches such as this one that are the first to add an entry to the
65532         ChangeLog (since they don't see a second date line to know where the
65533         entry ends).
65534
65535         * Scripts/webkitpy/common/checkout/changelog.py:
65536         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
65537
65538 == Rolled over to ChangeLog-2011-02-16 ==