f07e0188143a5d80ebc198fa9e4d44eb3cd0a28e
[WebKit-https.git] / Tools / ChangeLog
1 2012-11-01  Peter Beverloo  <peter@chromium.org>
2
3         [Chromium-Android] Apache doesn't properly clean up ipc semaphores after a layout test run
4         https://bugs.webkit.org/show_bug.cgi?id=100950
5
6         Reviewed by Dirk Pranke.
7
8         When a test run would fail to complete due to an exception in one of
9         the workers, the HTTP server wouldn't get a chance to gracefully shut
10         down. This caused too much IPC semaphores to be left on the server,
11         causing Apache to fail to start in subsequent runs.
12
13         By unifying the Android-specific code with other ports, we no longer
14         fail to call the ChromiumPort/Base setup_test_run() and clean_up_test_run()
15         methods either. Furthermore, the number_of_servers argument for starting
16         the HTTP server is now available as well.
17
18         Because not all tests require an HTTP server, it's not guaranteed that
19         it will be started. Android depends on this, so add a new method to Port
20         and override it for Android: requires_http_server().
21
22         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
23         (LayoutTestRunner.run_tests):
24         * Scripts/webkitpy/layout_tests/controllers/manager.py:
25         (Manager._run_tests):
26         * Scripts/webkitpy/layout_tests/port/base.py:
27         (Port.to.requires_http_server):
28         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
29         (PortTest.test_dont_require_http_server):
30         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
31         (ChromiumAndroidPort.requires_http_server):
32         (ChromiumAndroidPort.start_http_server):
33         * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
34         (ChromiumAndroidPortTest.test_must_require_http_server):
35
36 2012-11-01  Adam Roben  <aroben@webkit.org>
37
38         Crash beneath WKRelease after failed load in MiniBrowser
39         https://bugs.webkit.org/show_bug.cgi?id=100954
40
41         Reviewed by Sam Weinig.
42
43         There were just some simple retain/release bugs.
44
45         * MiniBrowser/mac/WK2BrowserWindowController.m:
46         (-[WK2BrowserWindowController updateTextFieldFromURL:]):
47         (-[WK2BrowserWindowController updateProvisionalURLForFrame:]):
48         Don't try to release null URLs.
49
50         (-[WK2BrowserWindowController updateCommittedURLForFrame:]): Don't
51         release a URL for which we don't have ownership.
52
53 2012-10-31  Rob Buis  <rbuis@rim.com>
54
55         [BlackBerry] Fix editing/text-iterator/findString-expected.html fail
56         https://bugs.webkit.org/show_bug.cgi?id=100902
57
58         Reviewed by Yong Li.
59
60         PR 210039
61
62         Fix the test my using the Page::findString method instead of our own in-page searcher.
63         This also syncs some of the changes we did regarding String usage.
64
65         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
66         (BlackBerry::WebKit::DumpRenderTree::dumpFramesAsText):
67         (BlackBerry::WebKit::dumpHistoryItem):
68         (BlackBerry::WebKit::dumpBackForwardListForWebView):
69         (BlackBerry::WebKit::DumpRenderTree::dump):
70         (BlackBerry::WebKit::DumpRenderTree::didFinishDocumentLoadForFrame):
71         (BlackBerry::WebKit::DumpRenderTree::didReceiveTitleForFrame):
72         (BlackBerry::WebKit::DumpRenderTree::runJavaScriptAlert):
73         * DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:
74         (DumpRenderTree):
75         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
76         (TestRunner::setMockGeolocationError):
77         (TestRunner::layerTreeAsText):
78         (TestRunner::findString):
79         (TestRunner::setStorageDatabaseIdleInterval):
80
81 2012-11-01  Christophe Dumez  <christophe.dumez@intel.com>
82
83         [EFL][WK2] Add File Chooser dialog support to MiniBrowser
84         https://bugs.webkit.org/show_bug.cgi?id=100822
85
86         Reviewed by Kenneth Rohde Christiansen.
87
88         Add very basic file picker dialog to MiniBrowser so that
89         the user can select a file from the file system when
90         clicking an input element of type "file".
91
92         * MiniBrowser/efl/main.c:
93         (close_file_picker):
94         (on_filepicker_deletion):
95         (on_fileselector_done):
96         (on_file_chooser_request):
97         (window_create):
98
99 2012-11-01  Yael Aharon  <yael.aharon@intel.com>
100
101         Unreviewed. Change my email address.
102
103         * Scripts/webkitpy/common/config/committers.py:
104
105 2012-11-01  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
106
107         [Qt] Double clicks/taps aren't passed down to the page
108         https://bugs.webkit.org/show_bug.cgi?id=100949
109
110         Reviewed by Kenneth Rohde Christiansen.
111
112         Touch mocking shouldn't transform double click events as well,
113         this adds an extra touch update between clicks which prevents
114         double-tap detection from triggering on web pages.
115
116         Tested on the mobile version of Google maps.
117
118         * MiniBrowser/qt/MiniBrowserApplication.cpp:
119         (MiniBrowserApplication::notify):
120
121 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
122
123         NRWT: lint warnings don't show up by default
124         https://bugs.webkit.org/show_bug.cgi?id=100914
125
126         Reviewed by Ryosuke Niwa.
127
128         NRWT wasn't printing any warnings if you had errors in your
129         TestExpectations files; this means you would only notice this
130         with --lint-test-files, which is probably bad. I'm not sure
131         when this requested, but perhaps when we changed the
132         warnings to not be fatal if you weren't linting the files.
133
134         Now they're still not fatal, but at least we print them.
135
136         Also fix one warning message where we were printing the test name twice.
137
138         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
139         (TestExpectationsModel._already_seen_better_match):
140         (TestExpectations._report_warnings):
141         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
142         (MiscTests.test_parse_warnings_are_logged_if_not_in_lint_mode(self): Added.
143
144 2012-10-31  Terry Anderson  <tdanderson@chromium.org>
145
146         Missing stderr output when using run-webkit-tests
147         https://bugs.webkit.org/show_bug.cgi?id=100709
148
149         Reviewed by Dirk Pranke.
150
151         Appends #EOF to the end of the stderr output only at the end of a test,
152         not possibly part-way through. This will allow all of the stderr output 
153         to appear on the results page after running run-webkit-tests.
154
155         * DumpRenderTree/chromium/TestEventPrinter.cpp:
156         (TestEventPrinter::handleTextFooter):
157         (TestEventPrinter::handleTestFooter):
158
159 2012-10-30  Mark Lam  <mark.lam@apple.com>
160
161         A JSC printf (support for %J+s and %b).
162         https://bugs.webkit.org/show_bug.cgi?id=100566.
163
164         Reviewed by Michael Saboff.
165
166         Added regression tests for VMInspector::fprintf() sprintf() and snprintf().
167
168         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
169         * TestWebKitAPI/Tests/JavaScriptCore: Added.
170         * TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp: Added.
171
172 2012-10-31  Thiago Marcos P. Santos  <thiago.santos@intel.com>
173
174         Added viewport at-rule to the CSS parser and tokenizer
175         https://bugs.webkit.org/show_bug.cgi?id=95961
176
177         Reviewed by Kenneth Rohde Christiansen.
178
179         Enable CSS Device Adaptation by default on EFL.
180
181         * Scripts/webkitperl/FeatureList.pm:
182
183 2012-10-31  Terry Anderson  <tdanderson@chromium.org>
184
185         [touchadjustment] touch-links-two-finger-tap test pass incorrectly
186         https://bugs.webkit.org/show_bug.cgi?id=100619
187
188         Reviewed by Antonio Gomes.
189
190         Store the touch area when sending a GestureTwoFingerTap event.
191
192         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
193         (WebTestRunner):
194         (WebTestRunner::EventSender::gestureEvent):
195
196 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
197
198         nrwt is not killing stuck DRTs on chromium win
199         https://bugs.webkit.org/show_bug.cgi?id=100886
200
201         Unreviewed, build fix.
202
203         In the original implementation of NRWT for Chromium, we used
204         to assume that DRT would always manage to exit on its own and
205         so NRWT wouldn't attempt to kill DRT if it was stuck (this was the
206         "hung worker" problem, and meant that if DRT hung, NRWT would hang).
207
208         Eventually, we merged the chromium code with the other ports and
209         now will always try to shut down DRTs if a test times out, but as
210         part of that merge we left in a code path where we wouldn't
211         shut the driver down on windows. This was resulting in stray
212         DRTs being left around, and NRWT sometimes not exiting cleanly as
213         a result.
214
215         No unit tests added because this was a windows-only code path (hence
216         hard to test) and that is now gone.
217
218         * Scripts/webkitpy/layout_tests/port/server_process.py:
219         (ServerProcess.stop):
220
221 2012-10-31  Ami Fischman  <fischman@chromium.org>
222
223         [chromium] DRT and WTR should clear the cache between tests
224         https://bugs.webkit.org/show_bug.cgi?id=93195
225
226         Reviewed by Tony Chang.
227
228         This change makes chromium DRT match the GTK+, Qt, and EFL ports.
229
230         * DumpRenderTree/chromium/TestShell.cpp:
231         (TestShell::resetTestController): added a WebCache::clear() call to achieve the goal of the bug.
232
233 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
234
235         Fix typos introduced in r133061.
236         Unreviewed, build fix.
237
238         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
239         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
240         (ReflectionHandler._serve_file):
241
242 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
243
244         garden-o-matic should work for local results
245         https://bugs.webkit.org/show_bug.cgi?id=100805
246
247         Reviewed by Adam Barth.
248
249         This is the next step in making garden-o-matic replace
250         'webkit-patch rebaseline-server' and be able to deal with local
251         results. garden-o-matic now accepts a '--results-directory' option
252         that will point to a layout-test-results directory. At the moment
253         this will only work if you are also filtering to a single bot/
254         platform at a time (we can't handle multiple bots' worth of local
255         results, but that is a logical next step).
256
257         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
258         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
259         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
260         * Scripts/webkitpy/tool/commands/gardenomatic.py:
261         (GardenOMatic.__init__):
262         (GardenOMatic.execute):
263         * Scripts/webkitpy/tool/commands/rebaseline.py:
264         (AbstractRebaseliningCommand):
265         (RebaselineTest.__init__):
266         (RebaselineTest._rebaseline_test):
267         (RebaselineTest._rebaseline_test_and_update_expectations):
268         (RebaselineTest.execute):
269         (AbstractParallelRebaselineCommand._rebaseline_commands):
270         (AbstractParallelRebaselineCommand._rebaseline):
271         (RebaselineJson.__init__):
272         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
273         (_BaseTestCase):
274         (test_rebaseline_updates_expectations_file):
275         (test_rebaseline_does_not_include_overrides):
276         (test_rebaseline_test):
277         (test_rebaseline_test_and_print_scm_changes):
278         (test_rebaseline_and_copy_test):
279         (test_rebaseline_and_copy_test_no_existing_result):
280         (test_rebaseline_and_copy_test_with_lion_result):
281         (test_rebaseline_and_copy_no_overwrite_test):
282         (test_rebaseline_test_internal_with_move_overwritten_baselines_to):
283         (TestRebaselineJson.test_rebaseline_all):
284         (TestRebaselineJson.test_rebaseline_debug):
285         (TestRebaselineJson.test_move_overwritten):
286         (TestRebaselineJson.test_no_optimize):
287         (TestRebaselineExpectations.test_rebaseline_expectations):
288         * Scripts/webkitpy/tool/servers/gardeningserver.py:
289         (GardeningHTTPRequestHandler.rebaselineall):
290         (GardeningHTTPRequestHandler):
291         (GardeningHTTPRequestHandler.localresult):
292         * Scripts/webkitpy/tool/servers/reflectionhandler.py:
293         (ReflectionHandler.do_POST):
294         (ReflectionHandler):
295         (ReflectionHandler.do_HEAD):
296
297 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
298
299         garden-o-matic should support gardening a single port and specifying how to deal with overwritten baselines
300         https://bugs.webkit.org/show_bug.cgi?id=100563
301
302         Reviewed by Ojan Vafai.
303
304         This patch starts the process of making garden-o-matic more useful for
305         bringing up a single new port in two ways. The goal is to fully
306         obsolete webkit-patch rebaseline-server.
307         
308         First, it adds support for the --platform arguments to garden-o-matic
309         (so that the UI will default to the right cluster of bots), and if the platform arg
310         specifies a single bot, filters the results down to just that bot.
311
312         Second, it adds support for --move-overwritten-baselines and changes
313         the implementation of the move_overwritten_baselines setting in builders.py
314         so that it is only used if this flag is provided.
315
316         Future patches will make it possible to use local copies of the build
317         results (rather than going to the bots) and other optimizations to make
318         it faster to review lots of changes on a single bot.
319
320         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
321         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
322         (.):
323         * Scripts/webkitpy/layout_tests/port/builders.py:
324         * Scripts/webkitpy/tool/commands/gardenomatic.py:
325         (GardenOMatic):
326         (GardenOMatic.execute):
327         * Scripts/webkitpy/tool/commands/rebaseline.py:
328         (AbstractRebaseliningCommand):
329         (AbstractRebaseliningCommand.__init__):
330         (RebaselineTest):
331         (OptimizeBaselines):
332         (AnalyzeBaselines):
333         (AbstractParallelRebaselineCommand):
334         (AbstractParallelRebaselineCommand._rebaseline_commands):
335         (AbstractParallelRebaselineCommand._rebaseline):
336         (Rebaseline.__init__):
337         * Scripts/webkitpy/tool/servers/gardeningserver.py:
338         (GardeningHTTPServer.url):
339         (GardeningHTTPRequestHandler.rebaselineall):
340
341 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
342
343         test-webkitpy: fix running modules and classes on the command line
344         https://bugs.webkit.org/show_bug.cgi?id=100787
345
346         Reviewed by Eric Seidel.
347
348         Handling modules and classes are arguments on the command line
349         was broken due to the way we were parsing test names looking for
350         parallel and serial tests.
351
352         * Scripts/webkitpy/test/main.py:
353         (Tester._test_names):
354         (_Loader):
355         * Scripts/webkitpy/test/main_unittest.py:
356         (TestStubs.integration_test_empty):
357         (TestStubs):
358         (TestStubs.serial_test_empty):
359         (TestStubs.serial_integration_test_empty):
360         (TesterTest._find_test_names):
361         (TesterTest):
362         (TesterTest.test_individual_names_are_not_run_twice):
363         (TesterTest.test_integration_tests_are_not_found_by_default):
364         (TesterTest.test_integration_tests_are_found):
365
366 2012-10-31  Dirk Pranke  <dpranke@chromium.org>
367
368         webkitpy: refactor common command line arguments for --platform, rebaseline commands
369         https://bugs.webkit.org/show_bug.cgi?id=100800
370
371         Reviewed by Ojan Vafai.
372
373         This change shuffles around how we share command-line options
374         between NRWT and the various webkit-patch rebaselining commands.
375
376         There are no functional changes in this patch but it should make
377         things clearer and will be useful in a couple of upcoming patches.
378
379         * Scripts/webkitpy/layout_tests/port/__init__.py:
380         * Scripts/webkitpy/layout_tests/port/factory.py:
381         (platform_options):
382         (configuration_options):
383         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
384         (parse_args):
385         * Scripts/webkitpy/tool/commands/queries.py:
386         (PrintExpectations.__init__):
387         (PrintBaselines.__init__):
388         * Scripts/webkitpy/tool/commands/rebaseline.py:
389         (AbstractRebaseliningCommand):
390         (AbstractRebaseliningCommand.__init__):
391         (RebaselineTest.__init__):
392         (OptimizeBaselines.__init__):
393         (AnalyzeBaselines.__init__):
394         (AbstractParallelRebaselineCommand):
395         (RebaselineJson.__init__):
396         (RebaselineExpectations.__init__):
397         (Rebaseline.__init__):
398
399 2012-10-31  Thiago Marcos P. Santos  <thiago.santos@intel.com>
400
401         [NRWT] Xvfb driver is leaking application cache files
402         https://bugs.webkit.org/show_bug.cgi?id=100864
403
404         Reviewed by Kenneth Rohde Christiansen.
405
406         Application Cache looks for XDG_CACHE_HOME which is now
407         prepended with DUMPRENDERTREE_TEMP and cleaned up when
408         the test worker finishes his job.
409
410         * Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
411         (XvfbDriver._start):
412
413 2012-10-31  Thiago Marcos P. Santos  <thiago.santos@intel.com>
414
415         [EFL] DRT doesn't clean up after itself
416         https://bugs.webkit.org/show_bug.cgi?id=100346
417
418         Reviewed by Kenneth Rohde Christiansen.
419
420         The test driver exports an environment variable DUMPRENDERTREE_TEMP
421         which is used by both DRT and WTR as the folder for storing icons,
422         databases, application cache, etc, overriding the default XDG_* path.
423
424         We don't need to create these folders because in fact, they are never
425         used and also never cleaned. Things created inside DUMPRENDERTREE_TEMP
426         are automatically removed after the test run.
427
428         * Scripts/webkitpy/layout_tests/port/efl.py:
429         (EflPort.setup_environ_for_server):
430
431 2012-10-31  Thiago Marcos P. Santos  <thiago.santos@intel.com>
432
433         [WTR] WebKitTestRunner is not cleaning up the icon database
434         https://bugs.webkit.org/show_bug.cgi?id=100678
435
436         Reviewed by Kenneth Rohde Christiansen.
437
438         The icon database was not being set to the temporary folder created for
439         the test runner by the test driver, which is removed automatically
440         after the run.
441
442         * WebKitTestRunner/TestController.cpp:
443         (WTR::TestController::initialize):
444
445 2012-10-31  Mike West  <mkwst@chromium.org>
446
447         Script run from an isolated world should bypass a page's CSP.
448         https://bugs.webkit.org/show_bug.cgi?id=97398
449
450         Reviewed by Adam Barth.
451
452         * DumpRenderTree/chromium/DRTTestRunner.cpp:
453         (DRTTestRunner::DRTTestRunner):
454         (DRTTestRunner::setIsolatedWorldContentSecurityPolicy):
455         * DumpRenderTree/chromium/DRTTestRunner.h:
456         (DRTTestRunner):
457             Adding a mechanism to set the Content Security Policy for an
458             isolated world to Chromium's testRunner.
459
460 2012-10-31  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
461
462         [EFL][DRT] EventSender requires contextClick implementation
463         https://bugs.webkit.org/show_bug.cgi?id=86091
464
465         Reviewed by Gyuyoung Kim.
466
467         Add contextClick for DumpRenderTreeEventSender basing on WebKit GTK
468         implementation.
469
470         * DumpRenderTree/efl/EventSender.cpp:
471         (getMenuItemTitleCallback):
472         (setMenuItemTitleCallback):
473         (menuItemClickCallback):
474         (contextClickCallback):
475
476 2012-10-30  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
477
478         [WTR] Memory leaks in TestWebKitAPI::didReceiveMessageFromInjectedBundle()
479         https://bugs.webkit.org/show_bug.cgi?id=100770
480
481         Reviewed by Sam Weinig.
482
483         Adopt strings returned by WKStringCreateWithUTF8CString() in
484         didReceiveMessageFromInjectedBundle() to avoid memory leaks.
485
486         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent.cpp:
487         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
488
489 2012-10-30  Kangil Han  <kangil.han@samsung.com>
490
491         Fix broken python unit test
492         https://bugs.webkit.org/show_bug.cgi?id=100810
493
494         Reviewed by Dirk Pranke.
495
496         BUG 100755 has broken python unit test, e.g. assertion fail, since it modified baseline path.
497         Therefore, this patch fixes it.
498
499         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
500         (TestRebaselineTest.test_baseline_directory):
501
502 2012-10-30  Dirk Pranke  <dpranke@chromium.org>
503
504         webkit-patch rebaseline*: add more helpful logging
505         https://bugs.webkit.org/show_bug.cgi?id=100562
506
507         Reviewed by Ojan Vafai.
508
509         This change rewires the garden-o-matic and rebaseline* commands
510         in webkit-patch so that --verbose propagates through all the
511         subcommand invocations properly, and cleans up the logging so
512         that you can actually tell what is happening. For now, we
513         leave all of the logging at the logging.DEBUG level, which
514         means that it gets mixed in will all the other debug logging noise
515         and is harder to read, but we'll fix that in subsequent patches.
516
517         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
518         (BaselineOptimizer._platform):
519         (BaselineOptimizer._move_baselines):
520         (BaselineOptimizer.optimize):
521         * Scripts/webkitpy/tool/commands/gardenomatic.py:
522         (GardenOMatic.execute):
523         * Scripts/webkitpy/tool/commands/rebaseline.py:
524         (RebaselineTest._copy_existing_baseline):
525         (RebaselineTest._rebaseline_test):
526         (OptimizeBaselines._optimize_baseline):
527         (OptimizeBaselines.execute):
528         (AbstractParallelRebaselineCommand._run_webkit_patch):
529         (AbstractParallelRebaselineCommand._rebaseline_commands):
530         (AbstractParallelRebaselineCommand._files_to_add):
531         (AbstractParallelRebaselineCommand._optimize_baselines):
532         (AbstractParallelRebaselineCommand._rebaseline):
533         (RebaselineExpectations._add_tests_to_rebaseline_for_port):
534         (Rebaseline.execute):
535         * Scripts/webkitpy/tool/servers/gardeningserver.py:
536         (GardeningHTTPServer.__init__):
537         (GardeningHTTPRequestHandler):
538         (GardeningHTTPRequestHandler._run_webkit_patch):
539         (GardeningHTTPRequestHandler.rebaselineall):
540
541 2012-10-30  Dirk Pranke  <dpranke@chromium.org>
542
543         clean up tests for webkit-patch rebaseline* commands
544         https://bugs.webkit.org/show_bug.cgi?id=100793
545
546         Reviewed by Ojan Vafai.
547
548         The tests in rebaseline_unittest.py had a lot of code cloning,
549         and many of the tests tested whether things passed or failed by
550         looking at what was logged instead of what was actually done;
551         as a result the tests were kinda hard to understand and harder to
552         maintain.
553
554         This patch adds hooks to MockWeb() and MockExecutive() so we can
555         directly see which URLs were fetched and calls invoked, and
556         then reworks all of the unit tests to be easier to follow and
557         maintain and not sensitive to the logging. Also there were a
558         couple of tests that were redundant.
559
560         There are no functional changes in this patch, and I verified that
561         the coverage remains the same.
562
563         * Scripts/webkitpy/common/net/web_mock.py:
564         (MockWeb.__init__):
565         (MockWeb.get_binary):
566         * Scripts/webkitpy/common/system/executive_mock.py:
567         (MockExecutive.__init__):
568         (MockExecutive.run_command):
569         (MockExecutive.kill_all):
570         (MockExecutive):
571         (MockExecutive.kill_process):
572         (MockExecutive.popen):
573         (MockExecutive.run_in_parallel):
574         (MockExecutive2):
575         (MockExecutive2.__init__):
576         (MockExecutive2.run_command):
577         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
578         (_BaseTestCase):
579         (_BaseTestCase.setUp):
580         (_BaseTestCase._expand):
581         (_BaseTestCase._read):
582         (_BaseTestCase._write):
583         (_BaseTestCase._zero_out_test_expectations):
584         (TestRebaselineTest):
585         (TestRebaselineTest.test_baseline_directory):
586         (TestRebaselineTest.test_rebaseline_updates_expectations_file_noop):
587         (test_rebaseline_updates_expectations_file):
588         (test_rebaseline_does_not_include_overrides):
589         (test_rebaseline_test):
590         (test_rebaseline_test_and_print_scm_changes):
591         (test_rebaseline_and_copy_test):
592         (test_rebaseline_and_copy_test_no_existing_result):
593         (test_rebaseline_and_copy_test_with_lion_result):
594         (test_rebaseline_and_copy_no_overwrite_test):
595         (test_rebaseline_test_internal_with_move_overwritten_baselines_to):
596         (TestRebaselineJson):
597         (TestRebaselineJson.setUp):
598         (TestRebaselineJson.tearDown):
599         (TestRebaselineJson.test_rebaseline_all):
600         (TestRebaselineJson.test_rebaseline_debug):
601         (TestRebaseline):
602         (TestRebaseline.test_tests_to_update):
603         (TestRebaseline.test_rebaseline):
604         (TestRebaseline.test_rebaseline.rebaseline_stub):
605         (TestRebaselineExpectations):
606         (TestRebaselineExpectations.setUp):
607         (TestRebaselineExpectations.test_rebaseline_expectations):
608         (TestRebaselineExpectations.test_rebaseline_expectations_noop):
609         (TestRebaselineExpectations.disabled_test_overrides_are_included_correctly):
610
611 2012-10-30  Dirk Pranke  <dpranke@chromium.org>
612
613         test-webkitpy: fix import of coverage so that it works in a clean install
614         https://bugs.webkit.org/show_bug.cgi?id=100780
615
616         Reviewed by Tony Chang.
617
618         The coverage module is written so that the parent directory needs
619         to be in PYTHONPATH; work around that ...
620
621         * Scripts/webkitpy/test/main_unittest.py:
622         (TestStubs.test_empty):
623         (TesterTest.test_individual_names_are_not_run_twice):
624         (TesterTest):
625         (TesterTest.integration_test_coverage_works):
626         * Scripts/webkitpy/thirdparty/__init__.py:
627         (AutoinstallImportHook._install_coverage):
628
629 2012-10-30  Anders Carlsson  <andersca@apple.com>
630
631         Another build fix.
632
633         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
634         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
635
636 2012-10-30  Anders Carlsson  <andersca@apple.com>
637
638         Build fix.
639
640         * WebKitTestRunner/mac/EventSenderProxy.mm:
641         (WTR::EventSenderProxy::mouseScrollBy):
642
643 2012-10-30  Rick Byers  <rbyers@chromium.org>
644
645         [touchadjustment] touch-links-longpress tests passes incorrectly
646         https://bugs.webkit.org/show_bug.cgi?id=96810
647
648         Reviewed by Antonio Gomes.
649
650         Add support for suppling width/height information for longpress
651         gesture (as for other gestures like tapDown) for the purposes
652         of touch adjustment.
653
654         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
655         (WebTestRunner):
656         (WebTestRunner::EventSender::gestureEvent):
657
658 2012-10-29  Anders Carlsson  <andersca@apple.com>
659
660         Build WebKit as C++11 on Mac
661         https://bugs.webkit.org/show_bug.cgi?id=100720
662
663         Reviewed by Daniel Bates.
664
665         * DumpRenderTree/mac/Configurations/Base.xcconfig:
666         * MiniBrowser/Configurations/Base.xcconfig:
667         * TestWebKitAPI/Configurations/Base.xcconfig:
668         * WebKitTestRunner/Configurations/Base.xcconfig:
669         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
670
671 2012-10-30  Christophe Dumez  <christophe.dumez@intel.com>
672
673         [EFL][JHBUILD] Update EFL libraries to v1.7.1 stable release
674         https://bugs.webkit.org/show_bug.cgi?id=100759
675
676         Reviewed by Kenneth Rohde Christiansen.
677
678         Update Bump EFL libraries to the new stable release (v1.7.1)
679         in JHBuild to pull the latest bug fixes.
680
681         * efl/jhbuild.modules:
682
683 2012-10-29  Anders Carlsson  <andersca@apple.com>
684
685         String::createCFString should return a RetainPtr
686         https://bugs.webkit.org/show_bug.cgi?id=100419
687
688         Reviewed by Andreas Kling.
689
690         Update callers of String::createCFString.
691
692         * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
693         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
694
695 2012-10-30  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
696
697         [WK2][WTR] WebKitTestRunner needs testRunner.queueLoadHTMLString
698         https://bugs.webkit.org/show_bug.cgi?id=100747
699
700         Reviewed by Kenneth Rohde Christiansen.
701
702         Added testRunner.queueLoadHTMLString implementation.
703
704         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
705         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
706         (WTR::InjectedBundle::queueLoadHTMLString):
707         (WTR):
708         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
709         (InjectedBundle):
710         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
711         (WTR::TestRunner::queueLoadHTMLString):
712         (WTR):
713         * WebKitTestRunner/InjectedBundle/TestRunner.h:
714         (TestRunner):
715         * WebKitTestRunner/TestInvocation.cpp:
716         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
717         * WebKitTestRunner/WorkQueueManager.cpp:
718         (WTR::WorkQueueManager::queueLoadHTMLString):
719         (WTR):
720         * WebKitTestRunner/WorkQueueManager.h:
721         (WorkQueueManager):
722
723 2012-10-30  Kangil Han  <kangil.han@samsung.com>
724
725         [EFL] Baseline search path should consider both WK1 and WK2 on layout test.
726         https://bugs.webkit.org/show_bug.cgi?id=100755
727
728         Reviewed by Gyuyoung Kim.
729
730         Current implementation doesn't consider WK1 case in baseline search path.
731         Therefore, this patch fixes it.
732
733         * Scripts/webkitpy/layout_tests/port/efl.py:
734         (EflPort.default_baseline_search_path):
735
736 2012-10-30  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
737
738         [QT][DRT] Remove unneeded testRunner.setMediaType() implementation
739         https://bugs.webkit.org/show_bug.cgi?id=100740
740
741         Reviewed by Kenneth Rohde Christiansen.
742
743         Removed unneeded testRunner.setMediaType() implementation, as tests use
744         cross-platform window.internals.settings.setMediaTypeOverride instead.
745
746         * DumpRenderTree/qt/TestRunnerQt.cpp:
747         * DumpRenderTree/qt/TestRunnerQt.h:
748         (TestRunner):
749
750 2012-10-30  Kangil Han  <kangil.han@samsung.com>
751
752         [EFL][DRT] Bitmap should show whole view area.
753         https://bugs.webkit.org/show_bug.cgi?id=100642
754
755         Reviewed by Gyuyoung Kim.
756
757         css sticky position test cases haven't been passed even though implementation has been landed by BUG 95182.
758         This is because current create bitmap implementation refers to geometry position that considers scroll movement even though
759         paint does it. Therefore, this patch always reflects current view size and remove duplicated graphic operation to dump correct bitmap image.
760
761         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
762         (createBitmapContextFromWebView):
763
764 2012-10-30  Jinwoo Song  <jinwoo7.song@samsung.com>
765
766         [EFL] Refactor tooltip callback signal in WebKit1
767         https://bugs.webkit.org/show_bug.cgi?id=100571
768
769         Reviewed by Gyuyoung Kim.
770
771         Separate tooltip callback signal into 'tooltip,text,set'
772         and 'tooltip,text,unset' to be consistent with WebKit2.
773
774         * EWebLauncher/main.c:
775         (on_tooltip_text_set):
776         (on_tooltip_text_unset):
777         (browserCreate):
778
779 2012-10-29  Csaba Osztrogonác  <ossy@webkit.org>
780
781         Unreviewed, rolling out r132819.
782         http://trac.webkit.org/changeset/132819
783         https://bugs.webkit.org/show_bug.cgi?id=100388
784
785         It made layout testing 40% slower and storage tests assert
786
787         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
788         (WebCore::DumpRenderTree::DumpRenderTree):
789         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
790         (WebCore::DumpRenderTree::dump):
791         * DumpRenderTree/qt/DumpRenderTreeQt.h:
792         (DumpRenderTree):
793         * DumpRenderTree/qt/TestRunnerQt.cpp:
794         (TestRunner::reset):
795         * DumpRenderTree/qt/TestRunnerQt.h:
796         (TestRunner):
797
798 2012-10-29  Jochen Eisinger  <jochen@chromium.org>
799
800         [chromium] TestRunner needs to compile ChromiumCurrentTime and ChromiumThreading in components build
801         https://bugs.webkit.org/show_bug.cgi?id=100658
802
803         Reviewed by Tony Chang.
804
805         Before, this was compiled into DumpRenderTree. I also dropped the
806         include_dirs and dependencies block as TestRunner already has them.
807
808         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
809
810 2012-10-29  Takashi Sakamoto  <tasak@google.com>
811
812         Unreviewed. Adding myself as a committer.
813
814         * Scripts/webkitpy/common/config/committers.py:
815
816 2012-10-28  Mark Rowe  <mrowe@apple.com>
817
818         Simplify Xcode configuration settings that used to vary between OS versions.
819
820         Reviewed by Dan Bernstein.
821
822         * DumpRenderTree/mac/Configurations/Base.xcconfig:
823         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
824         * MiniBrowser/Configurations/Base.xcconfig:
825         * MiniBrowser/Configurations/DebugRelease.xcconfig:
826         * TestWebKitAPI/Configurations/Base.xcconfig:
827         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
828         * WebKitTestRunner/Configurations/Base.xcconfig:
829         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
830
831 2012-10-28  Mark Rowe  <mrowe@apple.com>
832
833         Remove references to unsupported OS and Xcode versions.
834
835         Reviewed by Anders Carlsson.
836
837         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
838         * DumpRenderTree/mac/Configurations/Base.xcconfig:
839         * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig: Removed.
840         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
841         * MiniBrowser/Configurations/Base.xcconfig:
842         * MiniBrowser/Configurations/CompilerVersion.xcconfig: Removed.
843         * MiniBrowser/Configurations/DebugRelease.xcconfig:
844         * TestWebKitAPI/Configurations/Base.xcconfig:
845         * TestWebKitAPI/Configurations/CompilerVersion.xcconfig: Removed.
846         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
847         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
848         * WebKitTestRunner/Configurations/Base.xcconfig:
849         * WebKitTestRunner/Configurations/CompilerVersion.xcconfig: Removed.
850         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
851         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
852
853 2012-10-26  Dirk Pranke  <dpranke@chromium.org>
854
855         webkitpy: change non-verbose log format for webkit-patch
856         https://bugs.webkit.org/show_bug.cgi?id=100561
857
858         Reviewed by Ojan Vafai.
859
860         Logging the module name and the log level is annoying and nearly useless.
861         For starters, this change removes that unless you are doing verbose/
862         debug logging. In the future we should split out the concepts of
863         verbose and debug logging (like we did in test-webkitpy and
864         run-webkit-tests) so that you could get this in debug logging.
865
866         * Scripts/webkitpy/common/system/logutils.py:
867         (_default_handlers):
868         (configure_logging):
869         * Scripts/webkitpy/common/system/logutils_unittest.py:
870         (ConfigureLoggingTest.test_info_message):
871         (ConfigureLoggingTest):
872         (ConfigureLoggingTest.test_debug_message):
873         (ConfigureLoggingTest.test_two_messages):
874         (ConfigureLoggingVerboseTest):
875         (ConfigureLoggingVerboseTest._logging_level):
876         (ConfigureLoggingVerboseTest.test_info_message):
877         (ConfigureLoggingVerboseTest.test_debug_message):
878         (ConfigureLoggingCustomLevelTest.test_logged_message):
879
880 2012-10-29  Christophe Dumez  <christophe.dumez@intel.com>
881
882         [CMAKE] Add TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp to CMakeLists.txt
883         https://bugs.webkit.org/show_bug.cgi?id=100681
884
885         Reviewed by Anders Carlsson.
886
887         Add TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp to CMake since
888         it is needed by plugins/npruntime/npruntime-calls-with-null-npp.html
889         layout test.
890
891         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
892
893 2012-10-29  Allan Sandfeld Jensen  <allan.jensen@digia.com>
894
895         [Qt] Flaky security tests
896         https://bugs.webkit.org/show_bug.cgi?id=100388
897
898         Reviewed by Jocelyn Turcotte.
899
900         Disable text dumping and load a blank URL to ensure the documentLoader is cleared 
901         before we start dumping text for the new page. Otherwise messages from the old page
902         may end up in the text output of the new test.
903
904         This matches what WebKitTestRunner does, and reuses the Qt code for waiting for flag.
905
906         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
907         (WebCore::DumpRenderTree::DumpRenderTree):
908         (WebCore::runUntil):
909         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
910         (WebCore::DumpRenderTree::finishedResetting):
911         (WebCore::DumpRenderTree::dump):
912         * DumpRenderTree/qt/DumpRenderTreeQt.h:
913         (DumpRenderTree):
914         * DumpRenderTree/qt/TestRunnerQt.cpp:
915         (TestRunner::resetDumping):
916         (TestRunner::reset):
917         * DumpRenderTree/qt/TestRunnerQt.h:
918         (TestRunner):
919
920 2012-10-29  Christophe Dumez  <christophe.dumez@intel.com>
921
922         [WK2][WKTR] Enable Shadow DOM at runtime if compiled with SHADOW_DOM support
923         https://bugs.webkit.org/show_bug.cgi?id=100668
924
925         Reviewed by Kenneth Rohde Christiansen.
926
927         Enable Shadow DOM functionality at run time in WebKitTestRunner
928         if compiled with SHADOW_DOM flag set. This is needed to run
929         the Shadow DOM layout tests.
930
931         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
932         (WTR::InjectedBundle::beginTesting):
933
934 2012-10-29  Yael Aharon  <yael.aharon@intel.com>
935
936         [EFL][AC] Fix bugs preventing us from running layout tests with AC turned on
937         https://bugs.webkit.org/show_bug.cgi?id=100598
938
939         Reviewed by Kenneth Rohde Christiansen.
940
941         Make sure to use opengl_x11 engine when AC is turned on and X11 is in use.
942         We cannot create a gl context otherwise.
943
944         * MiniBrowser/efl/main.c:
945         (elm_main):
946         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
947         (WTR::initEcoreEvas):
948         * DumpRenderTree/efl/DumpRenderTree.cpp:
949         (initEcoreEvas):
950         * EWebLauncher/efl/main.c:
951         (windowCreate):
952
953 2012-10-29  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
954
955         [EFL][WK2] REGRESSION(r132342): fast/events/frame-tab-focus.html fails
956         https://bugs.webkit.org/show_bug.cgi?id=100646
957
958         Reviewed by Kenneth Rohde Christiansen.
959
960         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
961         (WTR::PlatformWebView::focus): Improve the check we perform to
962         decide whether the focus should be taken out of the view before
963         focusing it again so that we do not unnecessarily unfocus it and
964         cause blur/focus events to be triggered. Instead of just verifying
965         if the Evas_Object representing the view has focus, use the WK C
966         API to check that the currently focused frame is not the main
967         frame.
968
969 2012-10-29  Sheriff Bot  <webkit.review.bot@gmail.com>
970
971         Unreviewed, rolling out r132782.
972         http://trac.webkit.org/changeset/132782
973         https://bugs.webkit.org/show_bug.cgi?id=100653
974
975         It made 400+ tests fail and 180 tests flakey on Qt (Requested
976         by Ossy on #webkit).
977
978         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
979         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
980
981 2012-10-29  Allan Sandfeld Jensen  <allan.jensen@digia.com>
982
983         [Qt] Flaky security tests
984         https://bugs.webkit.org/show_bug.cgi?id=100388
985
986         Reviewed by Jocelyn Turcotte.
987
988         Disable text output and load a blank URL to ensure the documentLoader is cleared
989         before we start dumping text for the new page. Otherwise messages from the old page
990         may end up in the text output of the new test.
991
992         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
993         (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
994
995 2012-10-29  Jochen Eisinger  <jochen@chromium.org>
996
997         [chromium] remove remaining usages of webkit_support from the TestRunner library
998         https://bugs.webkit.org/show_bug.cgi?id=100344
999
1000         Reviewed by Adam Barth.
1001
1002         The most important part is to not rely on calling out to gdk/X11 to
1003         translate keycodes to hardware keycodes, as this is not possible inside
1004         the sandbox.
1005
1006         * DumpRenderTree/DumpRenderTree.gypi:
1007         * DumpRenderTree/chromium/DRTTestRunner.h:
1008         (WebKit):
1009         (webkit_support):
1010         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
1011         (WebTestDelegate):
1012         * DumpRenderTree/chromium/TestRunner/src/CppVariant.h:
1013         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
1014         (WebTestRunner):
1015         (WebTestRunner::EventSender::doDragDrop):
1016         (WebTestRunner::EventSender::updateClickCountForButton):
1017         (WebTestRunner::EventSender::mouseDown):
1018         (WebTestRunner::EventSender::mouseUp):
1019         (WebTestRunner::EventSender::mouseMoveTo):
1020         (WebTestRunner::EventSender::keyDown):
1021         (WebTestRunner::EventSender::replaySavedEvents):
1022         (WebTestRunner::EventSender::contextClick):
1023         (WebTestRunner::EventSender::beginDragWithFiles):
1024         (WebTestRunner::EventSender::sendCurrentTouchEvent):
1025         (WebTestRunner::EventSender::handleMouseWheel):
1026         (WebTestRunner::EventSender::gestureEvent):
1027         (WebTestRunner::EventSender::gestureFlingCancel):
1028         (WebTestRunner::EventSender::gestureFlingStart):
1029         * DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.cpp: Added.
1030         (WebTestRunner):
1031         (WebTestRunner::NativeKeyCodeForWindowsKeyCode):
1032         * DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h.
1033         (WebTestRunner):
1034         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
1035         (TestDelegate):
1036         * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
1037         * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
1038         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
1039         (WebTestInterfaces::Internal):
1040         (WebTestRunner::WebTestInterfaces::Internal::getCurrentTimeInMillisecond):
1041         (WebTestRunner):
1042         (WebTestRunner::WebTestInterfaces::Internal::getAbsoluteWebStringFromUTF8Path):
1043         * DumpRenderTree/chromium/WebViewHost.cpp:
1044         (WebViewHost::getCurrentTimeInMillisecond):
1045         (WebViewHost::getAbsoluteWebStringFromUTF8Path):
1046         * DumpRenderTree/chromium/WebViewHost.h:
1047         (WebViewHost):
1048
1049 2012-10-29  Jonathan Dong  <jonathan.dong@torchmobile.com.cn>
1050
1051         Unreviewed. Add jonathan.dong@torchmobile.com.cn as a committer.
1052         https://bugs.webkit.org/show_bug.cgi?id=100629
1053
1054         * Scripts/webkitpy/common/config/committers.py:
1055
1056 2012-10-27  Dan Bernstein  <mitz@apple.com>
1057
1058         REAL_PLATFORM_NAME build setting is no longer needed
1059         https://bugs.webkit.org/show_bug.cgi?id=100587
1060
1061         Reviewed by Mark Rowe.
1062
1063         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1064         to PLATFORM_NAME.
1065
1066         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1067         * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig:
1068         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1069         * MiniBrowser/Configurations/Base.xcconfig:
1070         * MiniBrowser/Configurations/CompilerVersion.xcconfig:
1071         * TestWebKitAPI/Configurations/Base.xcconfig:
1072         * TestWebKitAPI/Configurations/CompilerVersion.xcconfig:
1073         * WebKitTestRunner/Configurations/Base.xcconfig:
1074         * WebKitTestRunner/Configurations/CompilerVersion.xcconfig:
1075         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1076
1077 2012-10-26  Anders Carlsson  <andersca@apple.com>
1078
1079         Crash when making NPRuntime calls with a null NPP pointer
1080         https://bugs.webkit.org/show_bug.cgi?id=100569
1081
1082         Reviewed by Darin Adler.
1083
1084         Add new NPRuntimeCallsWithNullNPP plug-in test.
1085
1086         * DumpRenderTree/DumpRenderTree.gypi:
1087         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1088         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
1089         (PluginTest::NPN_ReleaseVariantValue):
1090         (PluginTest::netscapeFuncs):
1091         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
1092         (PluginTest):
1093         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp: Added.
1094         (NPRuntimeCallsWithNullNPP):
1095         (NPRuntimeCallsWithNullNPP::NPRuntimeCallsWithNullNPP):
1096         (NPRuntimeCallsWithNullNPP::NPP_New):
1097         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1098         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1099         * GNUmakefile.am:
1100
1101 2012-10-26  Dominic Mazzoni  <dmazzoni@google.com>
1102
1103         AX: Notification should be sent when accessibilityIsIgnored changes
1104         https://bugs.webkit.org/show_bug.cgi?id=99547
1105
1106         Reviewed by Chris Fleizach.
1107
1108         Add additional accessibility notifications.
1109
1110         * DumpRenderTree/chromium/WebViewHost.cpp:
1111         (WebViewHost::postAccessibilityNotification):
1112
1113 2012-10-25  Roger Fong  <roger_fong@apple.com>
1114
1115         Get rid of (<X%) failing output for old-run-webkit-tests.
1116         https://bugs.webkit.org/show_bug.cgi?id=100447
1117
1118         Reviewed by Jessie Berlin.
1119
1120         Not a particularly useful piece of information. It's pretty much never above 1%.
1121         new-run-webkit-tests does not output this either.
1122
1123         * Scripts/old-run-webkit-tests:
1124         (printResults):
1125
1126 2012-10-26  Xianzhu Wang  <wangxianzhu@chromium.org>
1127
1128         Build bot gives incorrect link to EWS build failure
1129         https://bugs.webkit.org/show_bug.cgi?id=100436
1130
1131         Reviewed by Adam Barth.
1132
1133         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1134         (MockCommitQueue.__init__):
1135         (MockCommitQueue.command_failed): Return incremental failure_status_id
1136         (CommitQueueTaskTest.test_red_tree_patch_rejection): Check failure_status_id
1137         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
1138         (PatchAnalysisTask._test_patch): Use the failure_status_id of test with patch when test without patch fails and test with patch has unexpected failures.
1139
1140 2012-10-26  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1141
1142         webkitpy: Pass the `Listen' Apache directive from webkitpy, not the httpd.conf files.
1143         https://bugs.webkit.org/show_bug.cgi?id=98602
1144
1145         Reviewed by Dirk Pranke.
1146
1147         Unify all the different `Listen' directives present in the several
1148         httpd.conf files we have in LayoutTests/http/conf. For one, we
1149         were already passing `Listen 127.0.0.1:8000' via webkitpy before,
1150         and opening the other ports from the conf files.
1151
1152         The configuration files differed mostly in the way they handled
1153         IPV6 ports. Some of them did not listen to IPV6 ports because the
1154         systems which used them sometimes did not have IPV6 support. The
1155         `http_server_supports_ipv6' method has been added to Port to
1156         address that. cygwin, on its turn, still seems to use Apache 1.3,
1157         which does not support IPV6 at all; the newly-added method has a
1158         special case for that. Plus, perform a socket.getaddrinfo() call
1159         the same way Apache itself does so we are sure we only enable IPV6
1160         when setting that up in the httpd server is not going to fail.
1161
1162         * Scripts/webkitpy/common/system/platforminfo_mock.py:
1163         (MockPlatformInfo.is_cygwin):
1164         * Scripts/webkitpy/layout_tests/port/base.py:
1165         (Port.baseline_version_dir):
1166         (Port.to.start_websocket_server):
1167         (Port.to):
1168         (Port.to.http_server_supports_ipv6):
1169         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1170         (PortTest.test_http_server_supports_ipv6):
1171         (PortTest.test_build_path):
1172         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1173         (LayoutTestApacheHttpd):
1174         (LayoutTestApacheHttpd.__init__):
1175
1176 2012-10-26  David Barton  <dbarton@mathscribe.com>
1177
1178         Unreviewed. Update my IRC nickname to a registered one.
1179
1180         * Scripts/webkitpy/common/config/committers.py:
1181
1182 2012-10-26  Simon Hausmann  <simon.hausmann@digia.com>
1183
1184         [Qt] Fix the LLInt build on Windows
1185         https://bugs.webkit.org/show_bug.cgi?id=97648
1186
1187         Reviewed by Tor Arne Vestbø.
1188
1189         Added BIN_EXTENSION variable - similar to automake - that expands to .exe as suffix for
1190         executable programs on Windows. Empty otherwise. Also added support for force_build_all
1191         to allow overriding us disabling build_all for TEMPLATE = app.
1192
1193         * qmake/mkspecs/features/default_pre.prf:
1194
1195 2012-10-26  Xiaobo Wang  <xbwang@torchmobile.com.cn>
1196
1197         [BlackBerry] Support pixel tests for BlackBerry DRT
1198         https://bugs.webkit.org/show_bug.cgi?id=100210
1199
1200         Reviewed by Rob Buis.
1201
1202         (The following 2 files are missed in previous patch(r132582), adding them
1203         again.)
1204
1205         * DumpRenderTree/blackberry/build: Added.
1206         * DumpRenderTree/blackberry/src.pro: Added.
1207         Adds 2 files for building ImageDiff, by Christopher Wells.
1208
1209 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1210
1211         Add feature flags for CSS Device Adaptation
1212         https://bugs.webkit.org/show_bug.cgi?id=95960
1213
1214         Reviewed by Kenneth Rohde Christiansen.
1215
1216         * Scripts/webkitperl/FeatureList.pm:
1217
1218 2012-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1219
1220         Unreviewed, rolling out r132552.
1221         http://trac.webkit.org/changeset/132552
1222         https://bugs.webkit.org/show_bug.cgi?id=100486
1223
1224         Makes typeahead tests crash in debug. (Requested by pfeldman
1225         on #webkit).
1226
1227         * DumpRenderTree/DumpRenderTree.gypi:
1228         * DumpRenderTree/chromium/DRTTestRunner.h:
1229         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
1230         (WebTestDelegate):
1231         * DumpRenderTree/chromium/TestRunner/src/CppVariant.h:
1232         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
1233         (WebTestRunner):
1234         (WebTestRunner::EventSender::doDragDrop):
1235         (WebTestRunner::EventSender::updateClickCountForButton):
1236         (WebTestRunner::EventSender::mouseDown):
1237         (WebTestRunner::EventSender::mouseUp):
1238         (WebTestRunner::EventSender::mouseMoveTo):
1239         (WebTestRunner::EventSender::keyDown):
1240         (WebTestRunner::EventSender::replaySavedEvents):
1241         (WebTestRunner::EventSender::contextClick):
1242         (WebTestRunner::EventSender::beginDragWithFiles):
1243         (WebTestRunner::EventSender::sendCurrentTouchEvent):
1244         (WebTestRunner::EventSender::handleMouseWheel):
1245         (WebTestRunner::EventSender::gestureEvent):
1246         (WebTestRunner::EventSender::gestureFlingCancel):
1247         (WebTestRunner::EventSender::gestureFlingStart):
1248         * DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.cpp: Removed.
1249         * DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.h: Removed.
1250         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
1251         (TestDelegate):
1252         * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
1253         * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
1254         (WebKit):
1255         (webkit_support):
1256         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
1257         (WebTestInterfaces::Internal):
1258         * DumpRenderTree/chromium/WebViewHost.cpp:
1259         * DumpRenderTree/chromium/WebViewHost.h:
1260         (WebViewHost):
1261
1262 2012-10-26  Xiaobo Wang  <xbwang@torchmobile.com.cn>
1263
1264         [BlackBerry] Support pixel tests for BlackBerry DRT
1265         https://bugs.webkit.org/show_bug.cgi?id=100210
1266
1267         Reviewed by Rob Buis.
1268
1269         The implementation is based on the patch from Christopher Wells.
1270
1271         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
1272         (BlackBerry::WebKit::DumpRenderTree::DumpRenderTree):
1273         (BlackBerry::WebKit::DumpRenderTree::runTest):
1274         (BlackBerry::WebKit::DumpRenderTree::runCurrentTest):
1275         (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
1276         (BlackBerry::WebKit::DumpRenderTree::runTests):
1277         (BlackBerry::WebKit::DumpRenderTree::dump):
1278         * DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:
1279         (DumpRenderTree):
1280
1281         * DumpRenderTree/blackberry/PNGImageEncoder.cpp:
1282         (BGRAtoRGBA):
1283         (encodeBitmapToPNG):
1284         * DumpRenderTree/blackberry/PNGImageEncoder.h:
1285         The changes to PNGImageEncoder files are from master_40, patched by Tyler
1286         Abbott and Rob Buis.
1287
1288         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp:
1289         (createBitmapContextFromWebView):
1290         (computeMD5HashStringForBitmapContext):
1291         (printPNG):
1292         (dumpBitmap):
1293         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.h:
1294         (BitmapContext::createByAdoptingData):
1295         (BitmapContext::~BitmapContext):
1296         (BitmapContext):
1297         (BitmapContext::BitmapContext):
1298
1299         * DumpRenderTree/blackberry/build: Added.
1300         * DumpRenderTree/blackberry/src.pro: Added.
1301         Adds 2 files for building ImageDiff, by Christopher Wells.
1302
1303 2012-10-25  Min Qin  <qinmin@chromium.org>
1304
1305         Fix a layout test crash if a TestWebkitPlugin is put inside an iframe
1306         https://bugs.webkit.org/show_bug.cgi?id=100406
1307
1308         Reviewed by Adam Barth.
1309
1310         Resize the context with an empty rect will cause a gl_error in gles2_cmd_decoder.cc.
1311         Don't paint the plugin if m_rect is empty.
1312
1313         * DumpRenderTree/chromium/TestWebPlugin.cpp:
1314         (TestWebPlugin::updateGeometry):
1315
1316 2012-10-25  Jinwoo Song  <jinwoo7.song@samsung.com>
1317
1318         [EFL][WK2] Display tooltip in MiniBrowser
1319         https://bugs.webkit.org/show_bug.cgi?id=99322
1320
1321         Reviewed by Kenneth Rohde Christiansen.
1322
1323         Display tooltip in MiniBrowser using elm_object_tooltip_text_set().
1324
1325         * MiniBrowser/efl/main.c:
1326         (on_tooltip_text_set):
1327         (on_tooltip_text_unset):
1328         (window_create):
1329
1330 2012-10-25  Jochen Eisinger  <jochen@chromium.org>
1331
1332         [chromium] remove remaining usages of webkit_support from the TestRunner library
1333         https://bugs.webkit.org/show_bug.cgi?id=100344
1334
1335         Reviewed by Adam Barth.
1336
1337         The most important part is to not rely on calling out to gdk/X11 to
1338         translate keycodes to hardware keycodes, as this is not possible inside
1339         the sandbox.
1340
1341         * DumpRenderTree/DumpRenderTree.gypi:
1342         * DumpRenderTree/chromium/DRTTestRunner.h:
1343         (WebKit):
1344         (webkit_support):
1345         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
1346         (WebTestDelegate):
1347         * DumpRenderTree/chromium/TestRunner/src/CppVariant.h:
1348         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
1349         (WebTestRunner):
1350         (WebTestRunner::EventSender::doDragDrop):
1351         (WebTestRunner::EventSender::updateClickCountForButton):
1352         (WebTestRunner::EventSender::mouseDown):
1353         (WebTestRunner::EventSender::mouseUp):
1354         (WebTestRunner::EventSender::mouseMoveTo):
1355         (WebTestRunner::EventSender::keyDown):
1356         (WebTestRunner::EventSender::replaySavedEvents):
1357         (WebTestRunner::EventSender::contextClick):
1358         (WebTestRunner::EventSender::beginDragWithFiles):
1359         (WebTestRunner::EventSender::sendCurrentTouchEvent):
1360         (WebTestRunner::EventSender::handleMouseWheel):
1361         (WebTestRunner::EventSender::gestureEvent):
1362         (WebTestRunner::EventSender::gestureFlingCancel):
1363         (WebTestRunner::EventSender::gestureFlingStart):
1364         * DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.cpp: Added.
1365         (WebTestRunner):
1366         (WebTestRunner::NativeKeyCodeForWindowsKeyCode):
1367         * DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h.
1368         (WebTestRunner):
1369         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
1370         (TestDelegate):
1371         * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
1372         * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
1373         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
1374         (WebTestInterfaces::Internal):
1375         (WebTestRunner::WebTestInterfaces::Internal::getCurrentTimeInMillisecond):
1376         (WebTestRunner):
1377         (WebTestRunner::WebTestInterfaces::Internal::getAbsoluteWebStringFromUTF8Path):
1378         * DumpRenderTree/chromium/WebViewHost.cpp:
1379         (WebViewHost::getCurrentTimeInMillisecond):
1380         (WebViewHost::getAbsoluteWebStringFromUTF8Path):
1381         * DumpRenderTree/chromium/WebViewHost.h:
1382         (WebViewHost):
1383
1384 2012-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1385
1386         Unreviewed, rolling out r132514.
1387         http://trac.webkit.org/changeset/132514
1388         https://bugs.webkit.org/show_bug.cgi?id=100440
1389
1390         "Broke chromium content_browsertests AccessibilityAriaMenu
1391         AccessibilityInputRange AccessibilityListMarkers" (Requested
1392         by scheib on #webkit).
1393
1394         * DumpRenderTree/chromium/WebViewHost.cpp:
1395         (WebViewHost::postAccessibilityNotification):
1396
1397 2012-10-25  Dirk Pranke  <dpranke@chromium.org>
1398
1399         rwt --lint-test-files doesn't handle the cascade properly
1400         https://bugs.webkit.org/show_bug.cgi?id=100315
1401
1402         Reviewed by Ojan Vafai.
1403
1404         We were only linting the first file in each port's list of
1405         expectations.
1406
1407         This change pushes more of the logic for linting files into
1408         the TestExpectations classes themselves, but it's still a bit of
1409         a hack. A better solution will require splitting out the actual
1410         parsing of the files from the TestExpectations constructor.
1411
1412         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1413         (TestExpectations):
1414         (TestExpectations.__init__):
1415         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
1416         (parse_exp):
1417         (SkippedTests.check):
1418         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1419         (lint):
1420         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1421         (LintTest.test_all_configurations.FakePort.__init__):
1422         (LintTest.test_all_configurations):
1423         (LintTest.test_lint_test_files__errors):
1424         * Scripts/webkitpy/style/checkers/test_expectations.py:
1425         (TestExpectationsChecker.check_test_expectations):
1426
1427 2012-10-25  Zan Dobersek  <zandobersek@gmail.com>
1428
1429         Unreviewed GTK gardening.
1430
1431         Skipping the atspi-basic-hierarchy test case in the TestWebKitAccessibility
1432         WebKit2 API test since the test is currently failing.
1433
1434         * Scripts/run-gtk-tests:
1435         (TestRunner):
1436
1437 2012-10-25  Dominic Mazzoni  <dmazzoni@google.com>
1438
1439         AX: Notification should be sent when accessibilityIsIgnored changes
1440         https://bugs.webkit.org/show_bug.cgi?id=99547
1441
1442         Reviewed by Chris Fleizach.
1443
1444         Add additional accessibility notifications.
1445
1446         * DumpRenderTree/chromium/WebViewHost.cpp:
1447         (WebViewHost::postAccessibilityNotification):
1448
1449 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
1450
1451         Conditionalize XHR timeout support
1452         https://bugs.webkit.org/show_bug.cgi?id=100356
1453
1454         Reviewed by Adam Barth.
1455
1456         Adding XHR_TIMEOUT feature in perl and qmake files.
1457
1458         * Scripts/webkitperl/FeatureList.pm:
1459         * qmake/mkspecs/features/features.pri:
1460
1461 2012-10-25  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1462
1463         Unreviewed. Update my contact info.
1464
1465         * Scripts/webkitpy/common/config/committers.py:
1466
1467 2012-10-25  Terry Anderson  <tdanderson@chromium.org>
1468
1469         Unreviewed. Adding myself as a committer.
1470
1471         * Scripts/webkitpy/common/config/committers.py:
1472
1473 2012-10-25  Zeno Albisser  <zeno@webkit.org>
1474
1475         [Qt] Adjust library name in webkitdirs.pm after r131300.
1476         https://bugs.webkit.org/show_bug.cgi?id=100376
1477
1478         The library was renamed from QtWebKit to QtWebKitWidgets.
1479         run-launcher was still looking for QtWebKit.
1480
1481         Reviewed by Simon Hausmann.
1482
1483         * Scripts/webkitdirs.pm:
1484         (builtDylibPathForName):
1485
1486 2012-10-22  Mikhail Naganov  <mnaganov@chromium.org>
1487
1488         [Chromium] Add supportMultipleWindows setting, needed for Android
1489         https://bugs.webkit.org/show_bug.cgi?id=99716
1490
1491         Reviewed by Adam Barth.
1492
1493         Add supportMultipleWindows settings for reusing the same view when
1494         opening popups. This is required for emulating the behavior of
1495         Android WebView. Adding into WebCore, as other ports might want to
1496         use this setting in the future.
1497
1498         * DumpRenderTree/chromium/DRTTestRunner.cpp:
1499         (DRTTestRunner::overridePreference):
1500         * DumpRenderTree/chromium/WebPreferences.cpp:
1501         (WebPreferences::reset):
1502         (WebPreferences::applyTo):
1503         * DumpRenderTree/chromium/WebPreferences.h:
1504         (WebPreferences):
1505
1506 2012-10-25  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
1507
1508         [EFL][WK2] JavaScript popups are not focused when opened
1509         https://bugs.webkit.org/show_bug.cgi?id=100354
1510
1511         Reviewed by Kenneth Rohde Christiansen.
1512
1513         Move focus to the JavaScript popups when opened so that the key events
1514         are forwarded to the popups instead of web view.
1515
1516         * MiniBrowser/efl/main.c:
1517         (on_javascript_alert):
1518         (on_javascript_confirm):
1519         (on_javascript_prompt):
1520
1521 2012-10-25  Eugene Klyuchnikov  <eustas.bug@gmail.com>
1522
1523         Web Inspector: Fix "check-inspector-strings" script and fix localized strings.
1524         https://bugs.webkit.org/show_bug.cgi?id=100090
1525
1526         Reviewed by Vsevolod Vlasov.
1527
1528         Script "check-inspector-strings" seems to be broken.
1529         Fixed it, refined search algorithm.
1530
1531         * Scripts/check-inspector-strings: Fixed and refined.
1532
1533 2012-10-24  Dirk Pranke  <dpranke@chromium.org>
1534
1535         nrwt: fix a couple of minor crashing issues under cygwin
1536         https://bugs.webkit.org/show_bug.cgi?id=100309
1537
1538         Reviewed by Ojan Vafai.
1539
1540         Cygwin was crashing on a null object reference and then
1541         an oserror in kill().
1542
1543         * Scripts/webkitpy/common/system/executive.py:
1544         (Executive.kill_process):
1545         * Scripts/webkitpy/layout_tests/port/server_process.py:
1546         (ServerProcess.stop):
1547
1548 2012-10-24  Dirk Pranke  <dpranke@chromium.org>
1549
1550         nrwt: truncate meter lines properly on windows
1551         https://bugs.webkit.org/show_bug.cgi?id=100062
1552
1553         Reviewed by Tony Chang.
1554
1555         This change adds the code to figure out the terminal width
1556         on windows (it was already there for Unixen) and moves it
1557         to a platform-specific object.
1558
1559         * Scripts/webkitpy/common/system/platforminfo.py:
1560         (PlatformInfo.terminal_width):
1561         * Scripts/webkitpy/common/system/platforminfo_mock.py:
1562         (MockPlatformInfo.total_bytes_memory):
1563         (MockPlatformInfo):
1564         (MockPlatformInfo.terminal_width):
1565         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
1566         (MeteredStream.__init__):
1567         (MeteredStream.number_of_columns):
1568         (MeteredStream.flush):
1569         * Scripts/webkitpy/layout_tests/views/printing.py:
1570         (Printer.__init__):
1571         (Printer._test_status_line):
1572
1573 2012-10-24  Dirk Pranke  <dpranke@chromium.org>
1574
1575         tweak debug logging in webkit-patch optimize-baselines
1576         https://bugs.webkit.org/show_bug.cgi?id=100294
1577
1578         Reviewed by Ojan Vafai.
1579
1580         This changes the logging to print out the baselines found
1581         (and their checksums) even when we don't do anything.
1582
1583         * Scripts/webkitpy/common/checkout/baselineoptimizer.py:
1584         (BaselineOptimizer.optimize):
1585
1586 2012-10-24  Sailesh Agrawal  <sail@chromium.org>
1587
1588         Incorrect keycodes for numpad /, -, +, .
1589         https://bugs.webkit.org/show_bug.cgi?id=99188
1590
1591         Reviewed by Tony Chang.
1592
1593         Add key mappings for all numpad keys.
1594
1595         * DumpRenderTree/mac/EventSendingController.mm:
1596         (KeyMappingEntry):
1597         (-[EventSendingController keyDown:withModifiers:withLocation:]): Added all numpad keys.
1598
1599 2012-10-24  Dirk Pranke  <dpranke@chromium.org>
1600
1601         webkitpy: clean up references to Skipped files
1602         https://bugs.webkit.org/show_bug.cgi?id=100045
1603
1604         Reviewed by Ojan Vafai.
1605
1606         Since they are no longer used or needed ...
1607
1608         * Scripts/webkitpy/layout_tests/port/apple.py:
1609         (ApplePort._generate_all_test_configurations):
1610         * Scripts/webkitpy/layout_tests/port/base.py:
1611         (Port.skipped_layout_tests):
1612         (Port.expectations_files):
1613         (Port._wk2_port_name):
1614         * Scripts/webkitpy/layout_tests/port/gtk.py:
1615         (GtkPort):
1616         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
1617         (MacTest.test_default_timeout_ms):
1618         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1619         (test_expectations_files):
1620         (test_expectations_files.platform_dirs):
1621         * Scripts/webkitpy/layout_tests/port/qt.py:
1622         (QtPort.__init__):
1623
1624 2012-10-24  Jochen Eisinger  <jochen@chromium.org>
1625
1626         [chromium] Use include paths relative to Source/ in the TestRunner's public API
1627         https://bugs.webkit.org/show_bug.cgi?id=100079
1628
1629         Reviewed by Adam Barth.
1630
1631         For a inside-chromium build, we usually don't add the WebKit API paths
1632         as include paths, so including files by name only does not work.
1633
1634         Eventually we might want to move to a model where all includes are
1635         relative to Source/, so we're using that here already now.
1636
1637         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
1638         * DumpRenderTree/chromium/TestRunner/public/WebEventSender.h:
1639         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
1640
1641 2012-10-24  Ojan Vafai  <ojan@chromium.org>
1642
1643         Show an error when there are no completed builds in the past 20 runs
1644         https://bugs.webkit.org/show_bug.cgi?id=100266
1645
1646         Reviewed by Dimitri Glazkov.
1647
1648         Right now we get a cryptic JS error in the console when loading the gtk port. This at least gives an error in
1649         the notification stream. We should probably tweak this UI to make it so we can make
1650         errors in the notification stream stick out (e.g. make the text red).
1651
1652         We should also consider making the number of runs to load dynamic (e.g. if 20 runs don't work,
1653         try 40).
1654
1655         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
1656         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
1657         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
1658
1659 2012-10-24  Ian Vollick  <vollick@chromium.org>
1660
1661         [chromium] Explicitly disable accelerated animations in DRT
1662         https://bugs.webkit.org/show_bug.cgi?id=100241
1663
1664         Reviewed by Adrienne Walker.
1665
1666         Disable accelerated animations by default in DRT.        
1667
1668         * DumpRenderTree/chromium/DumpRenderTree.cpp:
1669         (main):
1670         * DumpRenderTree/chromium/TestShell.cpp:
1671         (TestShell::setAcceleratedAnimationEnabled):
1672         * DumpRenderTree/chromium/TestShell.h:
1673         (TestShell):
1674
1675 2012-10-24  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
1676
1677         [Qt] Move the QQuickWebViewExperimental pointer to QQuickWebViewPrivate
1678         https://bugs.webkit.org/show_bug.cgi?id=100253
1679
1680         Reviewed by Kenneth Rohde Christiansen.
1681
1682         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
1683         (WTR::WrapperWindow::handleStatusChanged):
1684         Use QQuickWebView::experimental rather than creating a new instance.
1685
1686 2012-10-24  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1687
1688         [EFL] run-webkit-tests writes garbage on stderr when running on Xvfb
1689         https://bugs.webkit.org/show_bug.cgi?id=100243
1690
1691         Reviewed by Kenneth Rohde Christiansen.
1692
1693         These errors generate noise on the reports and in some cases, like when
1694         running perf tests, makes the test fail. By using Xext, we can add a
1695         dummy handler to ignore these errors.
1696
1697         We could have added this handler on the top level EWK API, but that
1698         would be intrusive and could override handlers defined by the user.
1699
1700         * WebKitTestRunner/PlatformEfl.cmake:
1701         * WebKitTestRunner/efl/main.cpp:
1702         (dummyExtensionErrorHandler):
1703         (main):
1704
1705 2012-10-24  Carlos Garcia Campos  <cgarcia@igalia.com>
1706
1707         Unreviewed. Fix the GTK+ build.
1708
1709         * TestWebKitAPI/GNUmakefile.am: Add GTK_FLAGS to
1710         libTestWebKitAPIMain and webcore cflags to TestGtk.
1711
1712 2012-10-24  Zeno Albisser  <zeno@webkit.org>
1713
1714         Implement GraphicsSurface for Windows.
1715         https://bugs.webkit.org/show_bug.cgi?id=98147
1716
1717         Reviewed by Kenneth Rohde Christiansen.
1718
1719         * qmake/mkspecs/features/features.prf:
1720                 Activate GraphicsSurface on windows in case opengles2 (ANGLE)
1721                 is available in QT_CONFIG.
1722
1723 2012-10-24  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1724
1725         [EFL][WK2] fast/repaint/delete-into-nested-block.html and fast/repaint/4776765.html are flaky
1726         https://bugs.webkit.org/show_bug.cgi?id=100010
1727
1728         Reviewed by Kenneth Rohde Christiansen.
1729
1730         Force the main view to receive focus even if Evas already
1731         considers it to be focused.
1732
1733         It might happen that a different frame is focused by a page and
1734         the focus change notification does not reach Evas. When another
1735         test is run, the main frame is then not considered to be focused
1736         by WebCore, and things such as focus rings are not drawn as
1737         expected.
1738
1739         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1740         (WTR::PlatformWebView::focus):
1741
1742 2012-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1743
1744         Unreviewed, rolling out r132333.
1745         http://trac.webkit.org/changeset/132333
1746         https://bugs.webkit.org/show_bug.cgi?id=100234
1747
1748         Crashes many tests on the EFL-WK2 bot. (Requested by rakuco on
1749         #webkit).
1750
1751         * WebKitTestRunner/TestController.cpp:
1752         (WTR::TestController::resetStateToConsistentValues):
1753         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1754         (WTR::TestController::platformInitializeContext):
1755
1756 2012-10-24  Dongwoo Joshua Im  <dw.im@samsung.com>
1757
1758         [GTK] Fix build break - undefined reference to 'gtk_init'
1759         https://bugs.webkit.org/show_bug.cgi?id=100221
1760
1761         Unreviewed build fix.
1762
1763         GTK_LIBS is needed for TestWTF.
1764
1765         * TestWebKitAPI/GNUmakefile.am:
1766
1767 2012-10-24  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
1768
1769         WebKitTestRunner needs to turn on 'setContinuousSpellCheckingEnabled'
1770         https://bugs.webkit.org/show_bug.cgi?id=93611
1771
1772         Reviewed by Hajime Morita.
1773
1774         WebKitTestRunner enables spelling feature to pass the layout tests from editing/spelling.
1775
1776         * WebKitTestRunner/TestController.cpp:
1777         (WTR::TestController::resetStateToConsistentValues):
1778         Enables spelling by WebKit2 C API.
1779
1780         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1781         (WTR::TestController::platformInitializeContext):
1782         Attaches WKTextChecker's client and sets default language for WebKit2-EFL port.
1783
1784 2012-10-24  Mario Sanchez Prada  <mario@webkit.org>
1785
1786         [WK2] [GTK] TestWebKitAccessibility is not being run
1787         https://bugs.webkit.org/show_bug.cgi?id=100102
1788
1789         Reviewed by Carlos Garcia Campos.
1790
1791         Removed wrong early return in _start_accessibility_daemons().
1792
1793         * Scripts/run-gtk-tests:
1794         (TestRunner._lookup_atspi2_binary): Removed wrong line.
1795
1796 2012-10-24  Noel Gordon  <noel.gordon@gmail.com>
1797
1798         [chromium] Plumb DRT WebkitShouldRespectImageOrientation through to page settings 
1799         https://bugs.webkit.org/show_bug.cgi?id=100197
1800
1801         Reviewed by Kent Tamura.
1802
1803         fast/images/exif-orientation.html and fast/images/exif-orientation-css.html require a DRT
1804         WebkitShouldRespectImageOrientation preference.  Add the chromium implementation for this
1805         preference and plumb it through to page settings.
1806
1807         * DumpRenderTree/chromium/DRTTestRunner.cpp:
1808         (DRTTestRunner::overridePreference): Update the tests WebkitShouldRespectImageOrientation
1809         setting in DRT prefs.
1810         * DumpRenderTree/chromium/WebPreferences.cpp:
1811         (WebPreferences::reset): Disable the preference before and after each test.
1812         (WebPreferences::applyTo): Apply the preference to the page settings of each test.
1813         * DumpRenderTree/chromium/WebPreferences.h:
1814         (WebPreferences):
1815
1816 2012-10-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1817
1818         [GTK] TestWebKitAPI/TestWebKit2 and TestWebKitAPI/TestGtk link to the installed libs
1819         https://bugs.webkit.org/show_bug.cgi?id=100134
1820
1821         Reviewed by Martin Robinson.
1822
1823         Do not share the LDADD variable among TestWTF, TestWebKit2 and
1824         TestGtk.
1825
1826         * TestWebKitAPI/GNUmakefile.am:
1827
1828 2012-10-23  Kihong Kwon  <kihong.kwon@samsung.com>
1829
1830         Unreviewed. Adding myself as committer.
1831
1832         * Scripts/webkitpy/common/config/committers.py:
1833
1834 2012-10-23  Dan Bernstein  <mitz@apple.com>
1835
1836         Tools changes for <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1837         https://bugs.webkit.org/show_bug.cgi?id=100188
1838
1839         Reviewed by Sam Weinig.
1840
1841         Disable kerning and ligatures by default when running the tests.
1842
1843         * DumpRenderTree/mac/DumpRenderTree.mm:
1844         (resetDefaultsToConsistentValues): Set a value of NO for the
1845         WebKitKerningAndLigaturesEnabledByDefault user default.
1846         * WebKitTestRunner/mac/main.mm:
1847         (main): Register a value of NO for the WebKitKerningAndLigaturesEnabledByDefault user
1848         default.
1849
1850 2012-10-23  Simon Fraser  <simon.fraser@apple.com>
1851
1852         Allow tests to run with a tile cache, and optionally dump the tile cache via layerTreeAsText()
1853         https://bugs.webkit.org/show_bug.cgi?id=100159
1854
1855         Reviewed by Tim Horton.
1856
1857         Make WebKitTestRunner use a WKView with a tile cache for tests run in a directory
1858         whose path includes "tiled-drawing". It does this by passing around a WKDictionary 
1859         of options, and if the current PlatformWebView doesn't support those options, it will
1860         create a new one.
1861
1862         * WebKitTestRunner/PlatformWebView.h:
1863         (PlatformWebView): Add a WKDictionaryRef options dictionary argument.
1864         (WTR::PlatformWebView::viewSupportsOptions): Returns true if the view
1865         supports the options in the WKDictionaryRef.
1866         * WebKitTestRunner/TestController.cpp:
1867         (WTR::TestController::initialize): Call createWebViewWithOptions() with
1868         no options in the normal case.
1869         (WTR::TestController::createWebViewWithOptions): Moved code into this fuction
1870         so we can call it in two places.
1871         (WTR::TestController::ensureViewSupportsOptions): If the current view
1872         doesn't support the given options, throw it away and makea  new one that does.
1873         * WebKitTestRunner/TestController.h:
1874         * WebKitTestRunner/TestInvocation.cpp:
1875         (WTR::shouldUseTiledDrawing): Return true if the directory contains "tiled-drawing".
1876         (WTR::updateTiledDrawingForCurrentTest): Tell the TestController to check whether
1877         the view supports the given options. No-op for non-Mac platforms.
1878         (WTR::TestInvocation::invoke): Call updateTiledDrawingForCurrentTest().
1879         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1880         (WTR::PlatformWebView::PlatformWebView): New constructor parameter.
1881         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1882         (WTR::PlatformWebView::PlatformWebView):  New constructor parameter.
1883         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1884         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:useTiledDrawing:]):
1885         (-[TestRunnerWKView _shouldUseTiledDrawingArea]): Subclass the WKView so we can return
1886         a custom value from this method.
1887         (WTR::PlatformWebView::PlatformWebView):
1888         (WTR::PlatformWebView::viewSupportsOptions):
1889         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
1890         (WTR::PlatformWebView::PlatformWebView): New constructor parameter.
1891         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
1892         (WTR::PlatformWebView::PlatformWebView): New constructor parameter.
1893
1894 2012-10-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1895
1896         Unreviewed, rolling out r132276.
1897         http://trac.webkit.org/changeset/132276
1898         https://bugs.webkit.org/show_bug.cgi?id=100189
1899
1900         It broke the Qt-WK2 build intentionally (Requested by
1901         Ossy_night on #webkit).
1902
1903         * WebKitTestRunner/PlatformWebView.h:
1904         (PlatformWebView):
1905         * WebKitTestRunner/TestController.cpp:
1906         (WTR::TestController::initialize):
1907         * WebKitTestRunner/TestController.h:
1908         (TestController):
1909         * WebKitTestRunner/TestInvocation.cpp:
1910         (WTR):
1911         (WTR::TestInvocation::invoke):
1912         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1913         (WTR::PlatformWebView::PlatformWebView):
1914         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1915         (WTR::PlatformWebView::PlatformWebView):
1916         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1917         (WTR::PlatformWebView::PlatformWebView):
1918         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
1919         (WTR::PlatformWebView::PlatformWebView):
1920         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
1921         (WTR::PlatformWebView::PlatformWebView):
1922
1923 2012-10-23  Martin Robinson  <mrobinson@igalia.com>
1924
1925         [GTK][Soup] Implement the default authentication dialog via WebCoreSupport
1926         https://bugs.webkit.org/show_bug.cgi?id=99351
1927
1928         Reviewed by Carlos Garcia Campos.
1929
1930         We no longer need to turn off the soup authentication dialog soup feature,
1931         because it's not installed.
1932
1933         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1934         (setDefaultsToConsistentStateValuesForTesting): Don't turn off the feature any longer.
1935
1936 2012-10-23  Simon Fraser  <simon.fraser@apple.com>
1937
1938         Allow tests to run with a tile cache, and optionally dump the tile cache via layerTreeAsText()
1939         https://bugs.webkit.org/show_bug.cgi?id=100159
1940
1941         Reviewed by Tim Horton.
1942
1943         Make WebKitTestRunner use a WKView with a tile cache for tests run in a directory
1944         whose path includes "tiled-drawing". It does this by passing around a WKDictionary 
1945         of options, and if the current PlatformWebView doesn't support those options, it will
1946         create a new one.
1947
1948         * WebKitTestRunner/PlatformWebView.h:
1949         (PlatformWebView): Add a WKDictionaryRef options dictionary argument.
1950         (WTR::PlatformWebView::viewSupportsOptions): Returns true if the view
1951         supports the options in the WKDictionaryRef.
1952         * WebKitTestRunner/TestController.cpp:
1953         (WTR::TestController::initialize): Call createWebViewWithOptions() with
1954         no options in the normal case.
1955         (WTR::TestController::createWebViewWithOptions): Moved code into this fuction
1956         so we can call it in two places.
1957         (WTR::TestController::ensureViewSupportsOptions): If the current view
1958         doesn't support the given options, throw it away and makea  new one that does.
1959         * WebKitTestRunner/TestController.h:
1960         * WebKitTestRunner/TestInvocation.cpp:
1961         (WTR::shouldUseTiledDrawing): Return true if the directory contains "tiled-drawing".
1962         (WTR::updateTiledDrawingForCurrentTest): Tell the TestController to check whether
1963         the view supports the given options. No-op for non-Mac platforms.
1964         (WTR::TestInvocation::invoke): Call updateTiledDrawingForCurrentTest().
1965         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1966         (WTR::PlatformWebView::PlatformWebView): New constructor parameter.
1967         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1968         (WTR::PlatformWebView::PlatformWebView):  New constructor parameter.
1969         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1970         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:useTiledDrawing:]):
1971         (-[TestRunnerWKView _shouldUseTiledDrawingArea]): Subclass the WKView so we can return
1972         a custom value from this method.
1973         (WTR::PlatformWebView::PlatformWebView):
1974         (WTR::PlatformWebView::viewSupportsOptions):
1975         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
1976         (WTR::PlatformWebView::PlatformWebView): New constructor parameter.
1977         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
1978         (WTR::PlatformWebView::PlatformWebView): New constructor parameter.
1979
1980 2012-10-23  David Barton  <dbarton@mathscribe.com>
1981
1982         [MathML] Symbol font uses greek letters for roman ones on linux and Windows
1983         https://bugs.webkit.org/show_bug.cgi?id=99921
1984
1985         Reviewed by Eric Seidel.
1986
1987         Enable the STIXSizeOneSym font for testing.
1988
1989         * DumpRenderTree/mac/DumpRenderTree.mm:
1990         (allowedFontFamilySet):
1991         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
1992         (WTR::allowedFontFamilySet):
1993
1994 2012-10-23  Tony Chang  <tony@chromium.org>
1995
1996         [chromium] Chromium window build system does not rebuild correctly when enabling/disabling a feature
1997         https://bugs.webkit.org/show_bug.cgi?id=38926
1998
1999         Reviewed by Eric Seidel.
2000
2001         Remove hack for clobbering build when features.gypi changes. Now that
2002         Chromium requires VS2010 or newer, this bug has gone away.
2003
2004         * Scripts/update-webkit:
2005
2006 2012-10-23  Jochen Eisinger  <jochen@chromium.org>
2007
2008         [chromium] remove the const qualifier from WebTestDelegate::printMessage
2009         https://bugs.webkit.org/show_bug.cgi?id=100082
2010
2011         Reviewed by Adam Barth.
2012
2013         There's no reason the method should be const, and indeed for
2014         content_shell we want to send an IPC which is a non-const operation.
2015
2016         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
2017         (WebTestDelegate):
2018         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
2019         (TestDelegate):
2020         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
2021         (WebTestInterfaces::Internal):
2022         (WebTestRunner::WebTestInterfaces::Internal::printMessage):
2023         * DumpRenderTree/chromium/WebViewHost.cpp:
2024         (WebViewHost::printMessage):
2025         * DumpRenderTree/chromium/WebViewHost.h:
2026         (WebViewHost):
2027
2028 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2029
2030         Add support for resolution media query
2031         https://bugs.webkit.org/show_bug.cgi?id=99077
2032
2033         Reviewed by Antti Koivisto.
2034
2035         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
2036
2037         * Scripts/webkitperl/FeatureList.pm:
2038         * qmake/mkspecs/features/features.pri:
2039
2040 2012-10-23  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
2041
2042         Adding myself to commiters.py
2043         https://bugs.webkit.org/show_bug.cgi?id=100122
2044
2045         Unreviewed update to commiters.py.
2046
2047         * Scripts/webkitpy/common/config/committers.py:
2048
2049 2012-10-23  Timothy Hatcher  <timothy@apple.com>
2050
2051         Unreviewed watchlist change to monitor Inspector IDLs.
2052
2053         * Scripts/webkitpy/common/config/watchlist:
2054
2055 2012-10-23  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2056
2057         [WK2] [WTR] WebKitTestRunner needs testRunner.queueForwardNavigation
2058         https://bugs.webkit.org/show_bug.cgi?id=99700
2059
2060         Reviewed by Kenneth Rohde Christiansen.
2061
2062         Implemented testRunner.queueForwardNavigation, made little refactoring in Work Queue
2063         to obviate code duplication.
2064
2065         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2066         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2067         (WTR::InjectedBundle::queueBackNavigation):
2068         (WTR):
2069         (WTR::InjectedBundle::queueForwardNavigation):
2070         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2071         (InjectedBundle):
2072         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2073         (WTR::TestRunner::queueForwardNavigation):
2074         (WTR):
2075         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2076         (TestRunner):
2077         * WebKitTestRunner/TestInvocation.cpp:
2078         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2079         * WebKitTestRunner/WorkQueueManager.cpp:
2080         (NavigationItem):
2081         (WTR::NavigationItem::NavigationItem):
2082         (WTR::NavigationItem::invoke):
2083         (WTR):
2084         (WTR::WorkQueueManager::queueBackNavigation):
2085         (WTR::WorkQueueManager::queueForwardNavigation):
2086         * WebKitTestRunner/WorkQueueManager.h:
2087         (WorkQueueManager):
2088
2089 2012-10-23  Simon Hausmann  <simon.hausmann@digia.com>
2090
2091         Unreviewed trivial Qt build fix: Fix build without USE_3D_GRAPHICS
2092
2093         Disable USE_GRAPHICS_SURFACE if we don't have USE_3D_GRAPHICS because
2094         GraphicsSurface.h needs GraphicsContext3D.
2095
2096         * qmake/mkspecs/features/features.prf:
2097
2098 2012-10-23  Simon Pena  <spena@igalia.com>
2099
2100         Unreviewed. Adding myself as committer.
2101
2102         * Scripts/webkitpy/common/config/committers.py:
2103
2104 2012-10-22  Jochen Eisinger  <jochen@chromium.org>
2105
2106         [chromium] Move the call to RegisterIsolatedFileSystem to the WebTestDelegate interface
2107         https://bugs.webkit.org/show_bug.cgi?id=100048
2108
2109         Reviewed by Adam Barth.
2110
2111         The call needs to be done outside of the sandbox.
2112
2113         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
2114         (WebTestDelegate):
2115         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
2116         (WebTestRunner):
2117         (WebTestRunner::EventSender::beginDragWithFiles):
2118         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
2119         (TestDelegate):
2120         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
2121         (WebTestInterfaces::Internal):
2122         (WebTestRunner::WebTestInterfaces::Internal::registerIsolatedFileSystem):
2123         (WebTestRunner):
2124         * DumpRenderTree/chromium/WebViewHost.cpp:
2125         (WebViewHost::registerIsolatedFileSystem):
2126         * DumpRenderTree/chromium/WebViewHost.h:
2127         (WebViewHost):
2128
2129 2012-10-22  Dirk Pranke  <dpranke@chromium.org>
2130
2131         webkitpy: remove unneeded debug messages from find_files()
2132         https://bugs.webkit.org/show_bug.cgi?id=100041
2133
2134         Reviewed by Adam Barth.
2135
2136         This routine gets called all the time when loading the virtual
2137         suites, and the debug messages were spamming me.
2138
2139         * Scripts/webkitpy/common/find_files.py:
2140         (_normalized_find):
2141
2142 2012-10-22  Tony Chang  <tony@chromium.org>
2143
2144         [chromium] Add Mac 10.7 Debug bot since it's on the waterfall
2145         https://bugs.webkit.org/show_bug.cgi?id=100028
2146
2147         Reviewed by Eric Seidel.
2148
2149         garden-o-matic can't baseline without this entry.
2150
2151         * Scripts/webkitpy/layout_tests/port/builders.py:
2152
2153 2012-10-22  Jochen Eisinger  <jochen@chromium.org>
2154
2155         [chromium] introduce WebTask to the TestRunner library
2156         https://bugs.webkit.org/show_bug.cgi?id=99964
2157
2158         Reviewed by Adam Barth.
2159
2160         I'm also removing the dependency on webkit_support, and instead go
2161         through the WebTestDelegate interface.
2162
2163         * DumpRenderTree/DumpRenderTree.gypi:
2164         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
2165         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
2166         (DRTDevToolsAgent::taskList):
2167         * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
2168         * DumpRenderTree/chromium/DRTDevToolsClient.h:
2169         (DRTDevToolsClient::taskList):
2170         * DumpRenderTree/chromium/DRTTestRunner.cpp:
2171         (InvokeCallbackTask::InvokeCallbackTask):
2172         * DumpRenderTree/chromium/DRTTestRunner.h:
2173         (DRTTestRunner::taskList):
2174         (DRTTestRunner::WorkQueue::taskList):
2175         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
2176         (RTCSessionDescriptionRequestSuccededTask::RTCSessionDescriptionRequestSuccededTask):
2177         (RTCSessionDescriptionRequestFailedTask::RTCSessionDescriptionRequestFailedTask):
2178         (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
2179         (RTCVoidRequestTask::RTCVoidRequestTask):
2180         (StringDataTask::StringDataTask):
2181         (CharPtrDataTask::CharPtrDataTask):
2182         (DataChannelReadyStateTask::DataChannelReadyStateTask):
2183         (RTCPeerConnectionReadyStateTask::RTCPeerConnectionReadyStateTask):
2184         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
2185         (MockWebRTCPeerConnectionHandler):
2186         (MockWebRTCPeerConnectionHandler::taskList):
2187         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
2188         (MockWebSpeechInputController::SpeechTask::SpeechTask):
2189         * DumpRenderTree/chromium/MockWebSpeechInputController.h:
2190         (MockWebSpeechInputController::taskList):
2191         (MockWebSpeechInputController):
2192         * DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:
2193         * DumpRenderTree/chromium/MockWebSpeechRecognizer.h:
2194         (MockWebSpeechRecognizer::taskList):
2195         (MockWebSpeechRecognizer):
2196         (MockWebSpeechRecognizer::StepTask::StepTask):
2197         * DumpRenderTree/chromium/Task.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/Task.cpp.
2198         (WebTestRunner):
2199         (WebTestRunner::invokeTask):
2200         (TaskWrapper):
2201         (WebTestRunner::TaskWrapper::TaskWrapper):
2202         (WebTestRunner::TaskWrapper::~TaskWrapper):
2203         (WebTestRunner::TaskWrapper::Run):
2204         (postTask):
2205         (postDelayedTask):
2206         * DumpRenderTree/chromium/Task.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.h.
2207         (WebTestRunner):
2208         * DumpRenderTree/chromium/TestRunner/public/WebTask.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/src/Task.h.
2209         (WebTestRunner):
2210         (WebTask):
2211         (WebTaskList):
2212         (WebMethodTask):
2213         (WebTestRunner::WebMethodTask::WebMethodTask):
2214         (WebTestRunner::WebMethodTask::~WebMethodTask):
2215         (WebTestRunner::WebMethodTask::run):
2216         (WebTestRunner::WebMethodTask::cancel):
2217         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
2218         (WebTestRunner):
2219         (WebTestDelegate):
2220         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
2221         (WebTestRunner):
2222         (WebTestRunner::EventSender::scheduleAsynchronousClick):
2223         (WebTestRunner::KeyDownTask::KeyDownTask):
2224         (WebTestRunner::EventSender::scheduleAsynchronousKeyDown):
2225         * DumpRenderTree/chromium/TestRunner/src/EventSender.h:
2226         (WebTestRunner::EventSender::taskList):
2227         (EventSender):
2228         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
2229         (WebTestRunner):
2230         (TestDelegate):
2231         * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
2232         * DumpRenderTree/chromium/TestRunner/src/WebTask.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/src/Task.cpp.
2233         (WebTestRunner):
2234         (WebTestRunner::WebTask::WebTask):
2235         (WebTestRunner::WebTask::~WebTask):
2236         (WebTestRunner::WebTaskList::WebTaskList):
2237         (WebTestRunner::WebTaskList::~WebTaskList):
2238         (WebTestRunner::WebTaskList::registerTask):
2239         (WebTestRunner::WebTaskList::unregisterTask):
2240         (WebTestRunner::WebTaskList::revokeAll):
2241         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
2242         (WebTestInterfaces::Internal):
2243         (WebTestRunner::WebTestInterfaces::Internal::postTask):
2244         (WebTestRunner):
2245         (WebTestRunner::WebTestInterfaces::Internal::postDelayedTask):
2246         * DumpRenderTree/chromium/TestShell.cpp:
2247         (TestShell::initialize):
2248         * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
2249         (UserMediaRequestTask::UserMediaRequestTask):
2250         * DumpRenderTree/chromium/WebUserMediaClientMock.h:
2251         (WebUserMediaClientMock::taskList):
2252         (WebUserMediaClientMock):
2253         * DumpRenderTree/chromium/WebViewHost.cpp:
2254         (WebViewHost::postTask):
2255         (WebViewHost::postDelayedTask):
2256         * DumpRenderTree/chromium/WebViewHost.h:
2257         (WebViewHost):
2258         (WebViewHost::taskList):
2259         (WebViewHost::HostMethodTask::HostMethodTask):
2260
2261 2012-10-22  Ojan Vafai  <ojan@chromium.org>
2262
2263         Update flakiness dashboard to match the state of the builders.
2264         * TestResultServer/static-dashboards/builders.js:
2265         (isChromiumDepsGTestRunner):
2266         Broaden the filter since Chromium naming scheme is not consistent.
2267         (loadBuildersList):
2268         The main Chromium master now only runs builders, no tests.
2269         * TestResultServer/static-dashboards/dashboard_base.js:
2270         Remove test suites that no longer run on any of these masters.
2271
2272 2012-10-22  Jochen Eisinger  <jochen@chromium.org>
2273
2274         [chromium] add a method for printing message to the WebTestDelegate
2275         https://bugs.webkit.org/show_bug.cgi?id=99960
2276
2277         Reviewed by Adam Barth.
2278
2279         When using the TestRunner library from the content_shell, we can't print
2280         message directly but need to send them to the browser process.
2281
2282         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
2283         (WebTestDelegate):
2284         * DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp:
2285         (WebTestRunner::AccessibilityController::fallbackCallback):
2286         * DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h:
2287         (WebTestRunner::AccessibilityController::setDelegate):
2288         (AccessibilityController):
2289         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
2290         (WebTestRunner):
2291         (WebTestRunner::EventSender::dumpFilenameBeingDragged):
2292         * DumpRenderTree/chromium/TestRunner/src/GamepadController.cpp:
2293         (GamepadController::connect):
2294         (GamepadController::disconnect):
2295         (GamepadController::setId):
2296         (GamepadController::setButtonCount):
2297         (GamepadController::setButtonData):
2298         (GamepadController::setAxisCount):
2299         (GamepadController::setAxisData):
2300         (GamepadController::fallbackCallback):
2301         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
2302         (TestDelegate):
2303         * DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp:
2304         (TestInterfaces::~TestInterfaces):
2305         (TestInterfaces::setDelegate):
2306         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
2307         (WebTestInterfaces::Internal):
2308         (WebTestRunner::WebTestInterfaces::Internal::printMessage):
2309         (WebTestRunner):
2310         * DumpRenderTree/chromium/WebViewHost.cpp:
2311         (WebViewHost::didBeginEditing):
2312         (WebViewHost::lastContextMenuData):
2313         (WebViewHost::clearContextMenuData):
2314         (WebViewHost::setEditCommand):
2315         (WebViewHost::clearEditCommand):
2316         (WebViewHost::fillSpellingSuggestionList):
2317         (WebViewHost::setGamepadData):
2318         (WebViewHost::printMessage):
2319         * DumpRenderTree/chromium/WebViewHost.h:
2320         (WebViewHost):
2321
2322 2012-10-22  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2323
2324         I now only watch Selectors instead of all of CSS.
2325
2326         Unreviewed update of watchlist.
2327
2328         * Scripts/webkitpy/common/config/watchlist:
2329
2330 2012-10-22  Yury Semikhatsky  <yurys@chromium.org>
2331
2332         Make sure base and derived class pointers are different in MemoryInstrumentationTest.instrumentedWithMultipleAncestors
2333         https://bugs.webkit.org/show_bug.cgi?id=99987
2334
2335         Reviewed by Alexander Pavlov.
2336
2337         * TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp: changed first parent
2338         class in the list so that it has virtual table as well as the second one. This
2339         way we may be sure that pointer to the second ancestor class will differ from
2340         the pointer to the derived class.
2341
2342 2012-10-22  Yury Semikhatsky  <yurys@chromium.org>
2343
2344         Unreviewed. Fix compilation after r132059.
2345
2346         * TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp:
2347
2348 2012-10-22  Dominik Röttsches  <dominik.rottsches@intel.com>
2349
2350         Adding Cairo and Harfbuzz watchlist entries
2351
2352         Unreviewed watchlist update.
2353
2354         Added myself to these new ones and SVG.
2355
2356         * Scripts/webkitpy/common/config/watchlist:
2357
2358 2012-10-22  Yury Semikhatsky  <yurys@chromium.org>
2359
2360         Web Inspector: do not double count memory of objects with multiple ancestors
2361         https://bugs.webkit.org/show_bug.cgi?id=99958
2362
2363         Reviewed by Alexander Pavlov.
2364
2365         * TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp: Test that there
2366         is no double counting in case of multiple inheritance.
2367
2368 2012-10-22  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2369
2370         [Qt] Basic gesture event handling
2371         https://bugs.webkit.org/show_bug.cgi?id=66173
2372
2373         Reviewed by Simon Hausmann.
2374
2375         Add support for eventSender.gestureLongPress.
2376
2377         * DumpRenderTree/qt/EventSenderQt.cpp:
2378         (EventSender::EventSender):
2379         (EventSender::gestureLongPress):
2380         * DumpRenderTree/qt/EventSenderQt.h:
2381         (EventSender):
2382
2383 2012-10-22  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2384
2385         [WTR] Properly initialize TestRunner::m_dumpSelectionRect.
2386         https://bugs.webkit.org/show_bug.cgi?id=99970
2387
2388         Reviewed by Kenneth Rohde Christiansen.
2389
2390         Follow-up to r131476: actually initialize m_dumpSelectionRect to
2391         some value to avoid some flakyness in the tests.
2392
2393         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2394         (WTR::TestRunner::TestRunner):
2395
2396 2012-10-22  Tor Arne Vestbø  <tor.arne.vestbo@digia.com>
2397
2398         [Qt] Don't build any of the tools in production_build
2399
2400         Reviewed by Simon Hausmann.
2401
2402         * Tools.pro:
2403         * qmake/mkspecs/features/configure.prf:
2404
2405 2012-10-22  Tor Arne Vestbø  <tor.arne.vestbo@digia.com>
2406
2407         [Qt] Move OBJECTS_DIR and friends to default_pre.prf
2408
2409         The introduction of load(qt_build_config) in .qmake.conf meant
2410         that we started loading qtmodule.pri, which in turn set both
2411         MOC_DIR, RCC_DIR, and OBJECTS_DIR.
2412
2413         We were setting OBJECTS_DIR in default_post under a isEmpty() guard
2414         so that project files could override the objects dir. Instead of
2415         using the isEmpty() check we move it to defaul_pre, which will
2416         override the qtmodule.pri settings, but still allow project files
2417         to override it.
2418
2419         Reviewed by Ossy.
2420
2421         * qmake/mkspecs/features/default_post.prf:
2422         * qmake/mkspecs/features/default_pre.prf:
2423
2424 2012-10-22  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2425
2426         WebKitTestRunner needs testRunner.queueLoadingScript and testRunner.queueNonLoadingScript
2427         https://bugs.webkit.org/show_bug.cgi?id=42675
2428
2429         Reviewed by Kenneth Rohde Christiansen.
2430
2431         Added implementation of testRunner.queueLoadingScript and testRunner.queueNonLoadingScript.
2432
2433         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2434         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2435         (WTR::InjectedBundle::queueLoadingScript):
2436         (WTR):
2437         (WTR::InjectedBundle::queueNonLoadingScript):
2438         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2439         (InjectedBundle):
2440         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2441         (WTR::TestRunner::queueLoadingScript):
2442         (WTR):
2443         (WTR::TestRunner::queueNonLoadingScript):
2444         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2445         (TestRunner):
2446         * WebKitTestRunner/TestInvocation.cpp:
2447         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2448         * WebKitTestRunner/WorkQueueManager.cpp:
2449         (WTR):
2450         (WTR::runJavaScriptFunction):
2451         (ScriptItem):
2452         (WTR::ScriptItem::ScriptItem):
2453         (WTR::ScriptItem::invoke):
2454         (WTR::WorkQueueManager::queueBackNavigation):
2455         (WTR::WorkQueueManager::queueLoadingScript):
2456         (WTR::WorkQueueManager::queueNonLoadingScript):
2457         * WebKitTestRunner/WorkQueueManager.h:
2458         (WorkQueueManager):
2459
2460 2012-10-22  Zan Dobersek  <zandobersek@gmail.com>
2461
2462         Unreviewed, a follow-up to r132034 where I forgot to address
2463         Ojan's review comment about the race condition in handleLocationChange.
2464
2465         * TestResultServer/static-dashboards/dashboard_base.js:
2466         (handleLocationChange):
2467
2468 2012-10-22  Zan Dobersek  <zandobersek@gmail.com>
2469
2470         [TestResultServer] Move the resource loading into a dedicated class
2471         https://bugs.webkit.org/show_bug.cgi?id=99246
2472
2473         Reviewed by Ojan Vafai.
2474
2475         A new 'loader' namespace is created, containing the request method (previously located in dashboard_base.js)
2476         and the new Loader object, which handles the loading of all the necessary data the dashboard might require.
2477
2478         * TestResultServer/static-dashboards/aggregate_results.html: Include the loader.js source file.
2479         * TestResultServer/static-dashboards/builders.js:
2480         (requestBuilderList): Use the request method located in the loader namespace instead of the removed doXHR method.
2481         (onBuilderListLoad): Now parses the response text of the passed-in XHR. When all the builder lists are loaded the
2482         resource loader object is notified appropriately.
2483         (onErrorLoadingBuilderList): The partial function that calls this function also adds an XHR parameter.
2484         * TestResultServer/static-dashboards/dashboard_base.js: Much of the resource loading-related code is moved to loader.js.
2485         The Loader object is now used to load all the required resources.
2486         (parseParameters): Don't push the 'builder' parameter into the current state if the unit tests are being run.
2487         (resourceLoadingComplete): This method gets called when all the resources are loaded and the dashboard should
2488         proceed with generating the page.
2489         (handleLocationChange):
2490         * TestResultServer/static-dashboards/flakiness_dashboard.html: Include the loader.js source file.
2491         * TestResultServer/static-dashboards/flakiness_dashboard.js: The request method has been relocated to the loader namespace.
2492         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: The affected test cases are modified appropriately.
2493         (test):
2494         * TestResultServer/static-dashboards/loader.js: Added.
2495         (.): A new namespace is introduced, publicly exporting the request method that performs an XHR operation and a Loader object
2496         which oversees resource loading. The loading is done in steps, first loading the builders list, after that the results files
2497         the current dashboard needs, and lastly the TestExpectations files if they are required by the dashboard. When done the loader
2498         calls the resourceLoadingComplete method located in dashboard_base.js. This signals the dashboard all resources are available
2499         and it can proceed with generating the dashboard page.
2500         * TestResultServer/static-dashboards/loader_unittests.js: Added. Contains unit tests for the Loader object, covering the
2501         incremental loading and the loading of results files and TestExpectations files. The builders list loading is currently not
2502         tested as the unit tests page overrides related methods that possibly affect other tests' behavior.
2503         * TestResultServer/static-dashboards/run-unittests.html: Now includes the loader.js and loader_unittests.js source file.
2504         Refactors the code a bit due to changes in how onBuilderListLoad behaves.
2505         * TestResultServer/static-dashboards/timeline_explorer.html: Now includes the loader.js source file.
2506         * TestResultServer/static-dashboards/treemap.html: Ditto. Also refactors the code to take into account
2507         that all the test files are now loaded before generating the dashboard page.
2508
2509 2012-10-21  Jochen Eisinger  <jochen@chromium.org>
2510
2511         [chromium] introduce a public API for the TestRunner library
2512         https://bugs.webkit.org/show_bug.cgi?id=99904
2513
2514         Reviewed by Adam Barth.
2515
2516         The API decouples the public API from the underlying implementation, so
2517         embedders can depend on it. I'm also changing DRT to consume the
2518         TestRunner API through the public API, except for DRTTestRunner and all
2519         places that require Task.h. These two will be migrated in later changes.
2520
2521         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2522         * DumpRenderTree/DumpRenderTree.gypi:
2523         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
2524         * DumpRenderTree/chromium/DRTDevToolsClient.h:
2525         * DumpRenderTree/chromium/MockSpellCheck.cpp:
2526         (MockSpellCheck::fillSuggestionList):
2527         * DumpRenderTree/chromium/MockSpellCheck.h:
2528         (MockSpellCheck):
2529         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
2530         * DumpRenderTree/chromium/MockWebSpeechInputController.h:
2531         * DumpRenderTree/chromium/MockWebSpeechRecognizer.h:
2532         * DumpRenderTree/chromium/TestRunner/public/WebAccessibilityController.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
2533         (WebKit):
2534         (WebTestRunner):
2535         (WebAccessibilityController):
2536         * DumpRenderTree/chromium/TestRunner/public/WebEventSender.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
2537         (WebKit):
2538         (WebTestRunner):
2539         (WebEventSender):
2540         * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
2541         (WebKit):
2542         (WebTestRunner):
2543         (WebTestDelegate):
2544         * DumpRenderTree/chromium/TestRunner/public/WebTestInterfaces.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h.
2545         (WebKit):
2546         (WebTestRunner):
2547         (WebTestInterfaces):
2548         * DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp:
2549         (WebTestRunner):
2550         * DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h:
2551         (WebTestRunner):
2552         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
2553         (WebTestRunner):
2554         (WebTestRunner::makeMenuItemStringsFor):
2555         * DumpRenderTree/chromium/TestRunner/src/EventSender.h:
2556         (WebTestRunner):
2557         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
2558         (TestDelegate):
2559         * DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp:
2560         * DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h:
2561         (TestInterfaces):
2562         * DumpRenderTree/chromium/TestRunner/src/WebAccessibilityController.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
2563         (WebTestRunner):
2564         (WebTestRunner::WebAccessibilityController::WebAccessibilityController):
2565         (WebTestRunner::WebAccessibilityController::setFocusedElement):
2566         (WebTestRunner::WebAccessibilityController::notificationReceived):
2567         (WebTestRunner::WebAccessibilityController::shouldLogAccessibilityEvents):
2568         * DumpRenderTree/chromium/TestRunner/src/WebEventSender.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
2569         (WebTestRunner):
2570         (WebTestRunner::WebEventSender::WebEventSender):
2571         (WebTestRunner::WebEventSender::doDragDrop):
2572         * DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp: Added.
2573         (WebTestRunner):
2574         (WebTestInterfaces::Internal):
2575         (WebTestRunner::WebTestInterfaces::Internal::testInterfaces):
2576         (WebTestRunner::WebTestInterfaces::Internal::accessibilityController):
2577         (WebTestRunner::WebTestInterfaces::Internal::eventSender):
2578         (WebTestRunner::WebTestInterfaces::Internal::Internal):
2579         (WebTestRunner::WebTestInterfaces::Internal::~Internal):
2580         (WebTestRunner::WebTestInterfaces::Internal::setDelegate):
2581         (WebTestRunner::WebTestInterfaces::Internal::clearContextMenuData):
2582         (WebTestRunner::WebTestInterfaces::Internal::clearEditCommand):
2583         (WebTestRunner::WebTestInterfaces::Internal::fillSpellingSuggestionList):
2584         (WebTestRunner::WebTestInterfaces::Internal::setEditCommand):
2585         (WebTestRunner::WebTestInterfaces::Internal::lastContextMenuData):
2586         (WebTestRunner::WebTestInterfaces::Internal::setGamepadData):
2587         (WebTestRunner::WebTestInterfaces::WebTestInterfaces):
2588         (WebTestRunner::WebTestInterfaces::~WebTestInterfaces):
2589         (WebTestRunner::WebTestInterfaces::setWebView):
2590         (WebTestRunner::WebTestInterfaces::setDelegate):
2591         (WebTestRunner::WebTestInterfaces::bindTo):
2592         (WebTestRunner::WebTestInterfaces::resetAll):
2593         (WebTestRunner::WebTestInterfaces::accessibilityController):
2594         (WebTestRunner::WebTestInterfaces::eventSender):
2595         * DumpRenderTree/chromium/TestShell.cpp:
2596         (TestShell::initialize):
2597         * DumpRenderTree/chromium/TestShell.h:
2598         (TestShell::eventSender):
2599         (TestShell::accessibilityController):
2600         (TestShell):
2601         * DumpRenderTree/chromium/WebUserMediaClientMock.h:
2602         * DumpRenderTree/chromium/WebViewHost.cpp:
2603         (WebViewHost::finishLastTextCheck):
2604         (WebViewHost::fillSpellingSuggestionList):
2605         * DumpRenderTree/chromium/WebViewHost.h:
2606         (WebViewHost):
2607
2608 2012-10-21  Viatcheslav Ostapenko  <v.ostapenko@samsung.com>
2609
2610         Unreviewed. Updating my emails.
2611
2612         * Scripts/webkitpy/common/config/committers.py:
2613
2614 2012-10-20  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2615
2616         [EFL][DRT] Implement tracking and painting repaint rectangles.
2617         https://bugs.webkit.org/show_bug.cgi?id=99838
2618
2619         Reviewed by Gyuyoung Kim.
2620
2621         Implement displayWebView() and start tracking/painting the repaint
2622         rectangles for the repaint tests that rely on it.
2623
2624         * DumpRenderTree/efl/DumpRenderTree.cpp:
2625         (displayWebView):
2626         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2627         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
2628         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
2629         (createBitmapContextFromWebView):
2630
2631 2012-10-19  Dan Bernstein  <mitz@apple.com>
2632
2633         Add bundle API for hit-testing
2634         https://bugs.webkit.org/show_bug.cgi?id=99907
2635
2636         Reviewed by Sam Weinig.
2637
2638         Added an API test for WKBundleFrameCreateHitTest().
2639
2640         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added InjectedBundleFrameHitTest.cpp,
2641         InjectedBundleFrameHitTest_bundle.cpp, and link-with-title.html.
2642
2643         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp: Added.
2644         (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Checks that the message contains the
2645         title of the link in link-with-title.html.
2646         (TestWebKitAPI::setInjectedBundleClient):
2647         (TestWebKitAPI::TEST):
2648         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp: Added.
2649         (TestWebKitAPI::InjectedBundleFrameHitTestTest::InjectedBundleFrameHitTestTest):
2650         (TestWebKitAPI::didFinishLoadForFrameCallback): Hit tests at (50, 50) and sends the link title
2651         from the result back to the UI process.
2652         (TestWebKitAPI::InjectedBundleFrameHitTestTest::didCreatePage):
2653         (TestWebKitAPI::InjectedBundleFrameHitTestTest::frameLoadFinished):
2654         * TestWebKitAPI/Tests/WebKit2/link-with-title.html: Added.
2655
2656 2012-10-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2657
2658         Unreviewed, rolling out r131944.
2659         http://trac.webkit.org/changeset/131944
2660         https://bugs.webkit.org/show_bug.cgi?id=99891
2661
2662         On second thoughts, not such a great idea (Requested by jamesr
2663         on #webkit).
2664
2665         * DumpRenderTree/chromium/TestShell.cpp:
2666         (TestShell::createNewWindow):
2667
2668 2012-10-19  Alexandre Elias  <aelias@chromium.org>
2669
2670         [chromium] API to pass impl thread via WebLayerTreeView
2671         https://bugs.webkit.org/show_bug.cgi?id=99863
2672
2673         Reviewed by James Robinson.
2674
2675         This adds an API to pass the compositor impl thread via WebView and
2676         WebLayerTreeView. This is currently a no-op change, but in the future
2677         this codepath will supercede WebCompositor. The goal is to avoid statics
2678         in compositor initialization.
2679
2680         * DumpRenderTree/chromium/TestShell.cpp:
2681         (TestShell::createNewWindow):
2682
2683 2012-10-19  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2684
2685         [Cairo][WTR] Implement the painting of repaint rectangles.
2686         https://bugs.webkit.org/show_bug.cgi?id=99839
2687
2688         Reviewed by Martin Robinson.
2689
2690         Implement the required code to paint the gray overlay with
2691         transparent regions for the repaint rectangles, as other ports
2692         already do and as is already done in most WK1 ports.
2693
2694         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2695         (WTR::paintRepaintRectOverlay):
2696         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2697
2698 2012-09-08  Alpha Lam  <hclam@chromium.org>
2699
2700         [chromium] Implement deferred image decoding
2701         https://bugs.webkit.org/show_bug.cgi?id=94240
2702
2703         Reviewed by Stephen White.
2704
2705         Add --enable-deferred-image-decoding to DRT.
2706
2707         * DumpRenderTree/chromium/DumpRenderTree.cpp:
2708         (main):
2709         * DumpRenderTree/chromium/TestShell.cpp:
2710         (TestShell::TestShell):
2711         (TestShell::resetWebSettings):
2712         * DumpRenderTree/chromium/TestShell.h:
2713         (TestShell::setDeferredImageDecodingEnabled):
2714         (TestShell):
2715         * DumpRenderTree/chromium/WebPreferences.cpp:
2716         (WebPreferences::reset):
2717         (WebPreferences::applyTo):
2718         * DumpRenderTree/chromium/WebPreferences.h:
2719         (WebPreferences):
2720         * Scripts/webkitpy/layout_tests/port/chromium.py:
2721         (ChromiumPort.virtual_test_suites):
2722
2723 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
2724
2725         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
2726         https://bugs.webkit.org/show_bug.cgi?id=99804
2727
2728         Reviewed by Julien Chaffraix.
2729
2730         CSS3 text related properties will be implemented under this flag,
2731         including text decoration, text-align-last, and text-justify.
2732
2733         * Scripts/webkitperl/FeatureList.pm:
2734         * qmake/mkspecs/features/features.pri:
2735
2736 2012-10-19  Balazs Kelemen  <kbalazs@webkit.org>
2737
2738         [Qt][WTR] renderToOffscreenBuffer should not be set if the real render loop is active
2739         https://bugs.webkit.org/show_bug.cgi?id=99831
2740
2741         Reviewed by Jocelyn Turcotte.
2742
2743         Do not set renderToOffscreenBuffer if we have called setRenderWithoutShowing.
2744         We do not need it in this case and these things are actually conflicting.
2745
2746         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
2747         (WTR::WrapperWindow::handleStatusChanged):
2748         (WTR::PlatformWebView::PlatformWebView):
2749         (WTR::PlatformWebView::windowShapshotEnabled): Added a comment
2750         describing why this workaround is needed.
2751
2752 2012-10-19  Zan Dobersek  <zandobersek@gmail.com>
2753
2754         [WK2][GTK] Fullscreen tests timing out in bots
2755         https://bugs.webkit.org/show_bug.cgi?id=93973
2756
2757         Reviewed by Philippe Normand.
2758
2759         Add webcore_cppflags to the CPPFLAGS for WebKitTestRunner and the
2760         injected bundle library. webcore_cppflags contains all the feature
2761         defines' macros so the ENABE(*) compilation guards should now work
2762         properly (i.e. enable the code behind them when the feature is enabled).
2763
2764         * WebKitTestRunner/GNUmakefile.am:
2765
2766 2012-10-19  Simon Hausmann  <simon.hausmann@digia.com>
2767
2768         Unreviewed, rolling out r131734.
2769         http://trac.webkit.org/changeset/131734
2770
2771         Broke ANGLE build where we end up with @echo foo && @echo -n
2772
2773         * qmake/mkspecs/features/default_post.prf:
2774
2775 2012-10-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2776
2777         REGRESSION (r130640 - r130644): TestCookieManager API test is failing
2778         https://bugs.webkit.org/show_bug.cgi?id=98738
2779
2780         Reviewed by Philippe Normand.
2781
2782         * Scripts/run-gtk-tests:
2783         (TestRunner): Unskip /webkit2/WebKitCookieManager/accept-policy.
2784
2785 2012-10-19  Tommy Widenflycht  <tommyw@google.com>
2786
2787         MediaStream API: Update the RuntimeEnabledFeatures flags
2788         https://bugs.webkit.org/show_bug.cgi?id=99714
2789
2790         Reviewed by Adam Barth.
2791
2792         Enabling the DeprecatedPeerConnection so that all tests still run.
2793
2794         * DumpRenderTree/chromium/TestShell.cpp:
2795         (TestShell::TestShell):
2796
2797 2012-10-18  Dominic Mazzoni  <dmazzoni@google.com>
2798
2799         AX: labelForElement is slow when there are a lot of DOM elements
2800         https://bugs.webkit.org/show_bug.cgi?id=97825
2801
2802         Reviewed by Ryosuke Niwa.
2803
2804         Implement titleUIElement in the chromium port of DRT, and
2805         fix getAccessibleElementById so that it ensures the backing store
2806         is up-to-date.
2807
2808         * DumpRenderTree/chromium/TestRunner/AccessibilityControllerChromium.cpp:
2809         (AccessibilityController::getAccessibleElementById):
2810         * DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
2811         (AccessibilityUIElement::titleUIElementCallback):
2812
2813 2012-10-17  Ilya Tikhonovsky  <loislo@chromium.org>
2814
2815         Web Inspector: NMI provide data for mixing with tcmalloc heap dumps.
2816         https://bugs.webkit.org/show_bug.cgi?id=99457
2817
2818         Reviewed by Yury Semikhatsky.
2819
2820         countObjectSize now requires pointer to object as the first argument.
2821
2822         * TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp:
2823
2824 2012-10-18  Dirk Pranke  <dpranke@chromium.org>
2825
2826         make move_overwritten_baselines_to work again while rebaselining
2827         https://bugs.webkit.org/show_bug.cgi?id=99793
2828
2829         Reviewed by Ojan Vafai.
2830
2831         We used to have code that would help when rebaselining results
2832         for new ports (e.g., when moving from Lion to Mountain Lion) but
2833         it appears that code bitrotted during all the refactoring since
2834         the last time we needed this. This patch makes things work
2835         again, adds more tests that will hopefully make clearer what
2836         is supposed to work, and renames various parameters to be
2837         consistent.
2838
2839         * Scripts/webkitpy/layout_tests/port/builders.py:
2840         (move_overwritten_baselines_to):
2841         (builder_path_for_port_name):
2842         * Scripts/webkitpy/tool/commands/rebaseline.py:
2843         (RebaselineTest.__init__):
2844         (RebaselineTest._copy_existing_baseline):
2845         (RebaselineTest._rebaseline_test):
2846         (RebaselineTest.execute):
2847         (AbstractParallelRebaselineCommand._rebaseline_commands):
2848         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2849         (test_rebaseline_json_with_move_overwritten_baselines_to):
2850         (test_rebaseline_test_internal_with_move_overwritten_baselines_to):
2851         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
2852         (GardeningServerTest.test_rebaselineall):
2853
2854 2012-10-18  Roger Fong  <roger_fong@apple.com>
2855
2856         Unreviewed. Skip really old flaky failing jscore date test. 
2857         There's a bug tracking it here: https://bugs.webkit.org/show_bug.cgi?id=53712.
2858
2859         * Scripts/run-javascriptcore-tests:
2860
2861 2012-10-18  Byungwoo Lee  <bw80.lee@samsung.com>
2862
2863         Fix build warning.
2864         https://bugs.webkit.org/show_bug.cgi?id=99788
2865
2866         Reviewed by Kentaro Hara.
2867
2868         Use return value of mktemp() for removing -Wunused-result.
2869
2870         * MiniBrowser/efl/main.c:
2871         (on_download_request):
2872
2873 2012-10-18  Benjamin Poulain  <bpoulain@apple.com>
2874
2875         [WK2] WebKit2 does not build without PLUGIN_PROCESS on Mac
2876         https://bugs.webkit.org/show_bug.cgi?id=99771
2877
2878         Reviewed by Anders Carlsson.
2879
2880         * DumpRenderTree/mac/MockWebNotificationProvider.mm: The file was not including config.h,
2881         effectively breaking feature flags.
2882
2883 2012-10-18  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2884
2885         [EFL][DRT] Make textareas resizable by default.
2886         https://bugs.webkit.org/show_bug.cgi?id=99719
2887
2888         Reviewed by Gyuyoung Kim.
2889
2890         Enable painting the textarea resizer at the corner by default,
2891         just as it already is the case for WK2. This eases the work needed
2892         to get the pixel tests in shape and run by the bots, as both the
2893         WK1 and WK2 ports will have more similar results.
2894
2895         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2896         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
2897
2898 2012-10-18  Jochen Eisinger  <jochen@chromium.org>
2899
2900         [chromium] Add a webkit_test_support target that WebTestingSupport
2901         https://bugs.webkit.org/show_bug.cgi?id=99772
2902
2903         Reviewed by Adam Barth.
2904
2905         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2906
2907 2012-10-18  Jochen Eisinger  <jochen@chromium.org>
2908
2909         [chromium] move TestRunner files into a src/ sub directory
2910         https://bugs.webkit.org/show_bug.cgi?id=99776
2911
2912         Reviewed by Adam Barth.
2913
2914         This is in preparation of adding a public API to the TestRunner library.
2915
2916         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2917         * DumpRenderTree/DumpRenderTree.gypi:
2918         * DumpRenderTree/chromium/DRTTestRunner.h:
2919         * DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/AccessibilityControllerChromium.cpp.
2920         * DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/AccessibilityControllerChromium.h.
2921         * DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp.
2922         * DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.h.
2923         * DumpRenderTree/chromium/TestRunner/src/CppBoundClass.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp.
2924         * DumpRenderTree/chromium/TestRunner/src/CppBoundClass.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/CppBoundClass.h.
2925         * DumpRenderTree/chromium/TestRunner/src/CppVariant.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/CppVariant.cpp.
2926         * DumpRenderTree/chromium/TestRunner/src/CppVariant.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/CppVariant.h.
2927         * DumpRenderTree/chromium/TestRunner/src/EventSender.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp.
2928         * DumpRenderTree/chromium/TestRunner/src/EventSender.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/EventSender.h.
2929         * DumpRenderTree/chromium/TestRunner/src/GamepadController.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/GamepadController.cpp.
2930         * DumpRenderTree/chromium/TestRunner/src/GamepadController.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/GamepadController.h.
2931         * DumpRenderTree/chromium/TestRunner/src/Task.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/Task.cpp.
2932         * DumpRenderTree/chromium/TestRunner/src/Task.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/Task.h.
2933         * DumpRenderTree/chromium/TestRunner/src/TestDelegate.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TestDelegate.h.
2934         * DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp.
2935         * DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TestInterfaces.h.
2936         * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TestRunner.cpp.
2937         * DumpRenderTree/chromium/TestRunner/src/TestRunner.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TestRunner.h.
2938         * DumpRenderTree/chromium/TestRunner/src/TextInputController.cpp: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TextInputController.cpp.
2939         * DumpRenderTree/chromium/TestRunner/src/TextInputController.h: Renamed from Tools/DumpRenderTree/chromium/TestRunner/TextInputController.h.
2940
2941 2012-10-18  Dirk Pranke  <dpranke@chromium.org>
2942
2943         [chromium] garden-o-matic should ignore the 10.8 Tests bot
2944         https://bugs.webkit.org/show_bug.cgi?id=99765
2945
2946         Reviewed by Adam Barth.
2947
2948         It's really more of an FYI bot at this point and can be safely
2949         ignored like the Content Shell bots.
2950
2951         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
2952         (.):
2953
2954 2012-10-18  Jochen Eisinger  <jochen@chromium.org>
2955
2956         [chromium] Simplify TestInterfaces, as this class won't be directly exposed in the TestRunner library's interface
2957         https://bugs.webkit.org/show_bug.cgi?id=99766
2958
2959         Reviewed by Adam Barth.
2960
2961         This reverts http://trac.webkit.org/changeset/123240
2962
2963         * DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp:
2964         (TestInterfaces::TestInterfaces):
2965         (TestInterfaces::~TestInterfaces):
2966         (TestInterfaces::setWebView):
2967         (TestInterfaces::setDelegate):
2968         (TestInterfaces::bindTo):
2969         (TestInterfaces::resetAll):
2970         (TestInterfaces::accessibilityController):
2971         (TestInterfaces::eventSender):
2972         * DumpRenderTree/chromium/TestRunner/TestInterfaces.h:
2973         (TestInterfaces):
2974
2975 2012-10-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2976
2977         Unreviewed, rolling out r131810.
2978         http://trac.webkit.org/changeset/131810
2979         https://bugs.webkit.org/show_bug.cgi?id=99762
2980
2981         Broke linux debug webkit_unit_tests (Requested by
2982         danakj|gardening on #webkit).
2983
2984         * DumpRenderTree/chromium/DumpRenderTree.cpp:
2985         (main):
2986         * DumpRenderTree/chromium/TestShell.cpp:
2987         (TestShell::TestShell):
2988         (TestShell::resetWebSettings):
2989         * DumpRenderTree/chromium/TestShell.h:
2990         (TestShell):
2991         * DumpRenderTree/chromium/WebPreferences.cpp:
2992         (WebPreferences::reset):
2993         (WebPreferences::applyTo):
2994         * DumpRenderTree/chromium/WebPreferences.h:
2995         (WebPreferences):
2996         * Scripts/webkitpy/layout_tests/port/chromium.py:
2997         (ChromiumPort.virtual_test_suites):
2998
2999 2012-10-18  Alpha Lam  <hclam@chromium.org>
3000
3001         [chromium] Implement deferred image decoding
3002         https://bugs.webkit.org/show_bug.cgi?id=94240
3003
3004         Reviewed by Stephen White.
3005
3006         Add --enable-deferred-image-decoding to DRT.
3007
3008         * DumpRenderTree/chromium/DumpRenderTree.cpp:
3009         (main):
3010         * DumpRenderTree/chromium/TestShell.cpp:
3011         (TestShell::TestShell):
3012         (TestShell::resetWebSettings):
3013         * DumpRenderTree/chromium/TestShell.h:
3014         (TestShell::setDeferredImageDecodingEnabled):
3015         (TestShell):
3016         * DumpRenderTree/chromium/WebPreferences.cpp:
3017         (WebPreferences::reset):
3018         (WebPreferences::applyTo):
3019         * DumpRenderTree/chromium/WebPreferences.h:
3020         (WebPreferences):
3021         * Scripts/webkitpy/layout_tests/port/chromium.py:
3022         (ChromiumPort.virtual_test_suites):
3023
3024 2012-10-18  Dirk Pranke  <dpranke@chromium.org>
3025
3026         webkitpy: fix chromium bot configs in builders.py
3027         https://bugs.webkit.org/show_bug.cgi?id=99638
3028
3029         Reviewed by Ojan Vafai.
3030
3031         Updating after the great bot-renaming and deleting a test case
3032         that is no longer needed.
3033
3034         * Scripts/webkitpy/layout_tests/port/builders.py:
3035         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
3036         (BuildCoverageExtrapolatorTest.test_extrapolate):
3037
3038 2012-10-18  Dirk Pranke  <dpranke@chromium.org>
3039
3040         [chromium] Add 10.8 bot into fallback path, make work with garden-o-matic
3041         https://bugs.webkit.org/show_bug.cgi?id=99748
3042
3043         Reviewed by Ryosuke Niwa.
3044
3045         Subject pretty much says it all ...
3046
3047         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
3048         * Scripts/webkitpy/layout_tests/port/builders.py:
3049         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
3050         (ChromiumMacPort):
3051         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
3052         (ChromiumMacPortTest.test_versions):
3053         (ChromiumMacPortTest.test_baseline_path):
3054         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
3055         (TestRebaseline.test_baseline_directory):
3056         (test_rebaseline_and_copy_test_with_lion_result):
3057         (test_rebaseline_expectations):
3058
3059 2012-10-18  Timothy Hatcher  <timothy@apple.com>
3060
3061         Teach prepare-ChangeLog how to handle non-function properties in JavaScript prototypes.
3062
3063         https://bugs.webkit.org/show_bug.cgi?id=99747
3064
3065         Reviewed by Joseph Pecoraro.
3066
3067         * Scripts/prepare-ChangeLog:
3068         (get_function_line_ranges_for_javascript): Clear currentIdentifiers when comma is encountered
3069         so it does not tack those identifiers onto the next changed function.
3070
3071 2012-10-18  James Simonsen  <simonjam@chromium.org>
3072
3073         Add a script for exporting http/tests/w3c/webperf/submission to W3C
3074         https://bugs.webkit.org/show_bug.cgi?id=99675
3075
3076         Reviewed by Tony Gentilcore.
3077
3078         This does the inverse of Scripts/import-w3c-performance-wg-tests.
3079
3080         * Scripts/export-w3c-performance-wg-tests: Added.
3081
3082 2012-10-18  Pablo Flouret  <pablof@motorola.com>
3083
3084         Implement css3-conditional's @supports rule
3085         https://bugs.webkit.org/show_bug.cgi?id=86146
3086
3087         Reviewed by Antti Koivisto.
3088
3089         * Scripts/webkitperl/FeatureList.pm:
3090         * qmake/mkspecs/features/features.pri:
3091             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
3092
3093 2012-10-18  Xiaobo Wang  <xbwang@torchmobile.com.cn>
3094
3095         [BlackBerry] Dump DRT output to stdout if test is passed as command line argument
3096         https://bugs.webkit.org/show_bug.cgi?id=99150
3097
3098         Reviewed by Rob Buis.
3099
3100         Fixed some code style errors as well.
3101
3102         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
3103         (BlackBerry::WebKit::DumpRenderTree::runTest):
3104         (BlackBerry::WebKit::DumpRenderTree::runRemainingTests):
3105         (BlackBerry::WebKit::DumpRenderTree::runTests):
3106         (BlackBerry::WebKit::DumpRenderTree::isHTTPTest):
3107         (BlackBerry::WebKit::DumpRenderTree::dump):
3108         (BlackBerry::WebKit::DumpRenderTree::addMessageToConsole):
3109         * DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:
3110         (DumpRenderTree):
3111
3112 2012-10-18  Simon Hausmann  <simon.hausmann@digia.com>
3113
3114         [Qt] Improved support for silent builds
3115
3116         Reviewed by Tor Arne Vestbø.
3117
3118         Silence our extra compilers when CONFIG+=silent is set.
3119
3120         * qmake/mkspecs/features/default_post.prf:
3121
3122 2012-10-18  Simon Hausmann  <simon.hausmann@digia.com>
3123
3124         [Qt] Reduce memory pressure at link time with less compromise on speed of linking
3125
3126         Reviewed by Csaba Osztrogonác.
3127
3128         Revert r131718 that made us pass -fno-keep-memory to the linker for any
3129         i386 builds. The downside of passing that option is that it slows down
3130         the process of linking and as Ossy determined, release builds do _not_
3131         take as much memory (2.x GB) for linking but much less (~350MB).
3132
3133         However there is one condition where even release builds do take up too
3134         much memory, and that is when Qt is configured with
3135         -separate-debug-info, because it adds a -g next to -O2. The recent
3136         introduction of loading qt_build_config enabled us to read qmodule.pri,
3137         which adds the -g if Qt is configured with -separate-debug-info. So
3138         instead of playing with -fno-keep-memory (which is a last resort
3139         measure for debug builds) we should tweak our existing mechanism of
3140         dealing with the debug info:
3141
3142         production_build.prf tries to ensure that we use -g only in static
3143         libraries that contain API facing code, so that we get nice backtraces
3144         at least into the API layer. For other static libraries such as WebCore
3145         we skip -g via CONFIG += no_debug_info. One of the conditions for
3146         enabling this tweak is CONFIG(debug, debug|release). This patch adds
3147         contains(QT_CONFIG,separate_debug_info) to the conditions.
3148
3149         The patch also extend the CONFIG += no_debug_info part with the removal
3150         of no_separate_debug_info. There is no point in running an extra
3151         build step to strip out debug info into a separate file if at the same
3152         time we tell the compiler to not generate any debug info altogether.
3153
3154         * qmake/mkspecs/features/production_build.prf:
3155         * qmake/mkspecs/features/unix/default_post.prf:
3156
3157 2012-10-18  Balazs Kelemen  <kbalazs@webkit.org>
3158
3159         [Qt] OpenGL rendering is not possible on bots using Xvfb
3160         https://bugs.webkit.org/show_bug.cgi?id=99463
3161
3162         Reviewed by Jocelyn Turcotte.
3163
3164         Added a workaround to be able to disallow UI side OpenGL rendering
3165         if the environment is not suitable because it can be extremely slow
3166         with a software backend.
3167
3168         * Scripts/webkitpy/layout_tests/port/qt.py:
3169         (QtPort.setup_environ_for_server): Let the environment variable
3170         QT_WEBKIT_DISABLE_UIPROCESS_DUMPPIXELS reach the driver. This variable
3171         should be defined on bots that don't have a suitable OpenGL environment.
3172         * WebKitTestRunner/PlatformWebView.h:
3173         (PlatformWebView):
3174         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3175         (WTR::WrapperWindow::handleStatusChanged): Don't try to create an OpenGL
3176         surface and set the setRenderWithoutShowing flag on the window if the
3177         variable is set.
3178         (WTR::PlatformWebView::windowSnapshotImage):
3179         (WTR::PlatformWebView::windowShapshotEnabled):
3180         (WTR):
3181         * WebKitTestRunner/qt/TestInvocationQt.cpp:
3182         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Use the old method
3183         of evaluating pixel results if the snapshot is not supported, that is to check
3184         the image we got from the web process. This is necessary for the bots to be able
3185         to run ref tests.
3186
3187 2012-10-15  Balazs Kelemen  <kbalazs@webkit.org>
3188
3189         [Qt] Implement pixel snapshot generation in WTR
3190         https://bugs.webkit.org/show_bug.cgi?id=95992
3191
3192         Reviewed by Jocelyn Turcotte.
3193
3194         Switch the Qt implementation of the PlatformWebView to use
3195         QQuickWindow::grabWindow to generate the pixel results. This way
3196         we will go through the scenegraph and test the actual rendering backend.
3197         We use QQuickWindowPrivate::setRenderWithoutShowing to avoid the need of
3198         showing the window.
3199
3200         * WebKitTestRunner/Target.pri: Had to added a bunch
3201         of modules to be able to use QQuickWindowPrivate.
3202         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3203         (WTR::WrapperWindow::handleStatusChanged):
3204         (WTR::PlatformWebView::windowSnapshotImage):
3205
3206 2012-10-15  Balazs Kelemen  <kbalazs@webkit.org>
3207
3208         [Qt][WTR] Do a forced repaint before generating pixel results
3209         https://bugs.webkit.org/show_bug.cgi?id=98654
3210
3211         Reviewed by Jocelyn Turcotte.
3212
3213         Do a forced repaint before grabbing the pixel snapshot. This extra
3214         synchronisation is necessary with the CoordinatedGraphics rendering
3215         backend because it has a fully asynchronous nature. This patch make
3216         us using the window snapshot for pixel results which is necessary to
3217         capture animations and other dynamic content. The actual grabbing of
3218         the window has not been implemented in this patch. It will come in
3219         a follow-up.
3220
3221         * WebKitTestRunner/TestInvocation.cpp:
3222         (WTR::TestInvocation::invoke):
3223         (WTR::TestInvocation::dump): Store results in member variables.
3224         Don't close output channels yet.
3225         (WTR::TestInvocation::dumpResults): Added. This is where we dump
3226         the results if no error happened.
3227         (WTR):
3228         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3229         * WebKitTestRunner/TestInvocation.h:
3230         (TestInvocation):
3231         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3232         (WTR::PlatformWebView::windowSnapshotImage):
3233         * WebKitTestRunner/qt/TestInvocationQt.cpp:
3234         (WTR::TestInvocation::forceRepaintDoneCallback):
3235         (WTR):
3236         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
3237
3238 2012-10-18  Simon Hausmann  <simon.hausmann@digia.com>
3239
3240         [Qt] Clean up variables controlling Qt module creation/handling
3241
3242         Reviewed by Tor Arne Vestbø.
3243
3244         We now depend on a Qt 5 version that is new enough to allow us to
3245         clean this up. Qt's default_pre.prf uses MODULE_QMAKE_OUTDIR, but
3246         the other MODULE_BASE_* variables are onl used in qmodule.prf.
3247
3248         * qmake/mkspecs/features/default_pre.prf:
3249
3250 2012-10-18  Simon Hausmann  <simon.hausmann@digia.com>
3251
3252         [Qt] Reduce memory pressure during link time
3253
3254         Reviewed by Tor Arne Vestbø.
3255
3256         If possible always pass -fkeep-memory to the linker on i386. The
3257         library has grown so big that we need this not only for i386 debug
3258         builds but at least also for release.
3259
3260         * qmake/mkspecs/features/unix/default_post.prf:
3261
3262 2012-10-17  Tor Arne Vestbø  <tor.arne.vestbo@digia.com>
3263
3264         [Qt] Modularize documentation for QtWebKit
3265
3266         Running 'make docs' would fail unless 'make qmake_all' was ran first,
3267         but qmake_all involved generating all the derived sources, which seems
3268         overly complex just for building documentation.
3269
3270         We solve this by preventing all subdirs except QtWebKit from having a
3271         docs target. This would normally work fine on its own, but since we
3272         use CONFIG += ordered, there's now a missing doc target for the
3273         immediate dependency of the QtWebKit subdir. We solve this by adding
3274         a dummy-target ourselves.
3275
3276         Finally, we clean up the qdocconf file to match the rest of the Qt
3277         documentation modularization efforts.
3278
3279         Reviewed by Simon Hausmann.
3280
3281         * qmake/mkspecs/features/default_post.prf:
3282
3283 2012-10-17  Zoltan Horvath  <zoltan@webkit.org>
3284
3285         Remove the JSHeap memory measurement of the PageLoad performacetests since it creates bogus JSGlobalDatas
3286         https://bugs.webkit.org/show_bug.cgi?id=99609 
3287
3288         Reviewed by Ryosuke Niwa.
3289
3290         Remove the implementation since it creates bogus JSGlobalDatas in the layout tests.
3291
3292         * DumpRenderTree/mac/DumpRenderTree.mm:
3293         (dump):
3294
3295 2012-10-17  Dirk Pranke  <dpranke@chromium.org>
3296
3297         [chromium] stop falling back to platform/mac for LayoutTest results
3298         https://bugs.webkit.org/show_bug.cgi?id=99666
3299
3300         Reviewed by James Robinson.
3301
3302         Previously the Chromium ports would fall back to results in
3303         platform/mac if a result was not found in platform/chromium-*.
3304         This allowed us to share a lot of results w/ the Apple Mac port,
3305         but often surprised people (especially at Apple ;) when changing
3306         something in that directory would break a Chromium build.
3307
3308         The tests that are deleted in baselineoptimizer were for cases
3309         that are no longer relevant or possible in the current fallback
3310         graph.
3311
3312         * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
3313         (BaselineOptimizerTest.test_move_baselines):
3314         (BaselineOptimizerTest.test_chromium_covers_mac_win_linux):
3315         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
3316         (ChromiumAndroidPort):
3317         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
3318         (ChromiumLinuxPort):
3319         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
3320         (ChromiumMacPort):
3321         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
3322         (ChromiumWinPort):
3323         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3324
3325 2012-10-17  Shashi Shekhar  <shashishekhar@google.com>
3326
3327         Remove redundant sdk_build parameter.
3328         https://bugs.webkit.org/show_bug.cgi?id=99648
3329
3330         Reviewed by Adam Barth.
3331
3332         sdk_build parameter is no longer needed.
3333
3334         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
3335         * TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp:
3336
3337 2012-10-17  Joanmarie Diggs  <jdiggs@igalia.com>
3338
3339         [GTK] AccessibilityUIElement::role() should be consistent across platforms wherever possible
3340         https://bugs.webkit.org/show_bug.cgi?id=99640
3341
3342         Reviewed by Chris Fleizach.
3343
3344         Convert AtkRole instances to the Mac/Safari-style AXRole string.
3345
3346         * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3347         (roleToString): New method to convert AtkRole instances to the Mac/Safari-style AXRole string
3348         (AccessibilityUIElement::role): Output the Mac/Safair-style AXRole string rather than the AtkRole's name
3349
3350 2012-10-17  Anders Carlsson  <andersca@apple.com>
3351
3352         Clean up Vector.h
3353         https://bugs.webkit.org/show_bug.cgi?id=99622
3354
3355         Reviewed by Benjamin Poulain.
3356
3357         Remove ReversedProxy test.
3358
3359         * TestWebKitAPI/Tests/WTF/Vector.cpp:
3360
3361 2012-10-17  Scott Graham  <scottmg@chromium.org>
3362
3363         Integer overflows/underflows in all Gamepad controller api calls.
3364         https://bugs.webkit.org/show_bug.cgi?id=97262
3365
3366         Reviewed by Abhishek Arya.
3367
3368         Range check controller inputs. This code is not exposed to the web,
3369         but makes fuzzers try less hard to break uninteresting code.
3370
3371         * DumpRenderTree/chromium/TestRunner/GamepadController.cpp:
3372         (GamepadController::setButtonCount):
3373         (GamepadController::setButtonData):
3374         (GamepadController::setAxisCount):
3375         (GamepadController::setAxisData):
3376
3377 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
3378
3379         Unreviewed watchlist email change.
3380
3381         * Scripts/webkitpy/common/config/watchlist:
3382
3383 2012-10-17  Dan Carney  <dcarney@google.com>
3384
3385         Bind isolatedWorldSecurityOrigin to world
3386         https://bugs.webkit.org/show_bug.cgi?id=99582
3387
3388         Reviewed by Adam Barth.
3389
3390         Added ability to unset isolatedWorldSecurityOrigin.
3391
3392         * DumpRenderTree/chromium/DRTTestRunner.cpp:
3393         (DRTTestRunner::setIsolatedWorldSecurityOrigin):
3394
3395 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
3396
3397         Unreviewed watchlist addition.
3398
3399         * Scripts/webkitpy/common/config/watchlist:
3400
3401 2012-10-17  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3402
3403         plugins: Allow a plugin to dictate whether it can receive drag events or not.
3404         https://bugs.webkit.org/show_bug.cgi?id=99355
3405
3406         Reviewed by Tony Chang.
3407
3408         Update the TestWebPlugin to implement the new |canProcessDrag| interface.
3409
3410         * DumpRenderTree/chromium/TestWebPlugin.h:
3411         (TestWebPlugin::canProcessDrag):
3412
3413 2012-10-17  Dominic Mazzoni  <dmazzoni@google.com>
3414
3415         Unreviewed. Create an accessibility watchlist.
3416
3417         * Scripts/webkitpy/common/config/committers.py:
3418         * Scripts/webkitpy/common/config/watchlist:
3419
3420 2012-10-17  Jochen Eisinger  <jochen@chromium.org>
3421
3422         [gyp] fix bundle resources for DumpRenderTree on mac
3423         https://bugs.webkit.org/show_bug.cgi?id=99558
3424
3425         Reviewed by Adam Barth.
3426
3427         mac_bundle_resources doesn't propagate to targets that depend on it,
3428         so I'm wrapping it in an all_dependent_settings block.
3429
3430         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
3431
3432 2012-10-17  Harald Alvestrand  <hta@google.com>
3433
3434         Add myself to the MediaStream watchlist
3435         https://bugs.webkit.org/show_bug.cgi?id=99589
3436
3437         Reviewed by Adam Barth.
3438
3439         * Scripts/webkitpy/common/config/watchlist:
3440
3441 2012-10-17  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3442
3443         [WK2][WTR] InjectedBundlePage::decidePolicyForNavigationAction() should print only filename part of local URLs
3444         https://bugs.webkit.org/show_bug.cgi?id=99581
3445
3446         Reviewed by Kenneth Rohde Christiansen.
3447
3448         Now InjectedBundlePage::decidePolicyForNavigationAction() prints only filename part of local URLs (URLs where scheme
3449         equals to 'file').
3450
3451         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3452         (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
3453
3454 2012-10-17  Harald Alvestrand  <hta@google.com>
3455
3456         Implement the Selector argument to RTCPeerConnection.getStats
3457         https://bugs.webkit.org/show_bug.cgi?id=99460
3458
3459         Reviewed by Adam Barth.
3460
3461         The MockWebRTCPeerConnectionHandler will return one object only
3462         when it gets a selector, and an even number when there is no selector.
3463         This allows to verify that the argument is passed, but not its value.
3464
3465         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
3466         (MockWebRTCPeerConnectionHandler::getStats):
3467
3468 2012-10-17  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3469
3470         WebKitTestRunner needs layoutTestController.queueReload
3471         https://bugs.webkit.org/show_bug.cgi?id=42672
3472
3473         Reviewed by Kenneth Rohde Christiansen.
3474
3475         Added implementation of testRunner.queueReload().
3476
3477         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3478         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3479         (WTR::InjectedBundle::queueReload):
3480         (WTR):
3481         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3482         (InjectedBundle):
3483         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3484         (WTR::TestRunner::queueReload):
3485         (WTR):
3486         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3487         (TestRunner):
3488         * WebKitTestRunner/TestInvocation.cpp:
3489         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3490         * WebKitTestRunner/WorkQueueManager.cpp:
3491         (WTR::WorkQueueManager::queueReload):
3492         (WTR):
3493         * WebKitTestRunner/WorkQueueManager.h:
3494         (WorkQueueManager):
3495
3496 2012-10-17  Mark Rowe  <mrowe@apple.com>
3497
3498         Fix the build with a newer version of clang.
3499
3500         Reviewed by Dan Bernstein.
3501
3502         Update to accommodate the renamed methods in WebCoreStatistics.
3503
3504         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3505         (createPagedBitmapContext):
3506
3507 2012-10-17  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3508
3509         WebKitTestRunner needs testRunner.queueLoad
3510         https://bugs.webkit.org/show_bug.cgi?id=42674
3511
3512         Reviewed by Kenneth Rohde Christiansen.
3513
3514         Added testRunner.queueLoad() and testRunner.queueBackNavigation() implementation to WTR including
3515         Work Queue implementation. Work Queue is managed by WorkQueueManager which belongs to UI process
3516         (as the needed functionality, like loading initiation, has to be invoked from UI process) and
3517         exchanges messages with Injected bundle.
3518
3519         * WebKitTestRunner/CMakeLists.txt:
3520         * WebKitTestRunner/GNUmakefile.am:
3521         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3522         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3523         (WTR::InjectedBundle::InjectedBundle):
3524         (WTR::InjectedBundle::didReceiveMessage):
3525         (WTR::InjectedBundle::done):
3526         (WTR::InjectedBundle::shouldProcessWorkQueue):
3527         (WTR):
3528         (WTR::InjectedBundle::processWorkQueue):
3529         (WTR::InjectedBundle::queueBackNavigation):
3530         (WTR::InjectedBundle::queueLoad):
3531         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3532         (InjectedBundle):
3533         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3534         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
3535         (WTR::InjectedBundlePage::didFinishLoadForFrame):
3536         (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
3537         (WTR::InjectedBundlePage::locationChangeForFrame):
3538         (WTR):
3539         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3540         (InjectedBundlePage):
3541         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3542         (WTR::TestRunner::queueBackNavigation):
3543         (WTR):
3544         (WTR::TestRunner::queueLoad):
3545         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3546         (TestRunner):
3547         * WebKitTestRunner/Target.pri:
3548         * WebKitTestRunner/TestController.cpp:
3549         (WTR::TestController::resetStateToConsistentValues):
3550         * WebKitTestRunner/TestController.h:
3551         (WTR::TestController::workQueueManager):
3552         (TestController):
3553         * WebKitTestRunner/TestInvocation.cpp:
3554         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3555         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
3556         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3557         * WebKitTestRunner/WorkQueueManager.cpp: Added.
3558         (WTR):
3559         (WTR::mainPage):
3560         (WTR::goToItemAtIndex):
3561         (WTR::WorkQueueManager::WorkQueueManager):
3562         (WTR::WorkQueueManager::clearWorkQueue):
3563         (WTR::WorkQueueManager::processWorkQueue):
3564         (WTR::WorkQueueManager::queueLoad):
3565         (WTR::WorkQueueManager::queueBackNavigation):
3566         (WTR::WorkQueueManager::enqueue):
3567         * WebKitTestRunner/WorkQueueManager.h: Added.
3568         (WTR):
3569         (WorkQueueManager):
3570         (WTR::WorkQueueManager::isWorkQueueEmpty):
3571         (WorkQueueItem):
3572         (WTR::WorkQueueManager::WorkQueueItem::~WorkQueueItem):
3573         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
3574
3575 2012-10-16  Andy Estes  <aestes@apple.com>
3576
3577         [WebKit2] Create Objective-C API for adding and removing user scripts
3578         https://bugs.webkit.org/show_bug.cgi?id=99528
3579
3580         Reviewed by Anders Carlsson.
3581
3582         Add three new API tests.
3583
3584         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
3585         (expectScriptValueIsString):
3586         (expectScriptValueIsBoolean):
3587         (expectScriptValueIsUndefined):
3588
3589 2012-10-16  Dirk Pranke  <dpranke@chromium.org>
3590
3591         [chromium] add Mountain Lion baselines
3592         https://bugs.webkit.org/show_bug.cgi?id=99505
3593
3594         Reviewed by Ojan Vafai.
3595
3596         This change adds a temporary 10.8/MountainLion-specific
3597         expectations file for Chromium so that the bot can be green
3598         while we are updating all the baselines and triaging failures.
3599
3600         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
3601         (ChromiumMacPort.expectations_files):
3602         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
3603         (ChromiumMacPortTest.test_ml_expectations):
3604
3605 2012-10-16  Dima Gorbik  <dgorbik@apple.com>
3606
3607         Remove Platform.h include from the header files.
3608         https://bugs.webkit.org/show_bug.cgi?id=98665
3609
3610         Reviewed by Eric Seidel.
3611
3612         We don't want other clients that include WebKit headers to know about Platform.h.
3613
3614         * DumpRenderTree/mac/MockGeolocationProvider.mm:
3615
3616 2012-10-16  Tommy Widenflycht  <tommyw@google.com>
3617
3618         MediaStream API: Add the chromium API for RTCDataChannel
3619         https://bugs.webkit.org/show_bug.cgi?id=99435
3620
3621         Reviewed by Adam Barth.
3622
3623         Adding mock support for WebRTCDataChannel.
3624
3625         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
3626         (StringDataTask):
3627         (StringDataTask::StringDataTask):
3628         (CharPtrDataTask):
3629         (CharPtrDataTask::CharPtrDataTask):
3630         (DataChannelReadyStateTask):
3631         (DataChannelReadyStateTask::DataChannelReadyStateTask):
3632         (RTCPeerConnectionReadyStateTask):
3633         (RTCPeerConnectionReadyStateTask::RTCPeerConnectionReadyStateTask):
3634         (MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
3635         (MockWebRTCPeerConnectionHandler::initialize):
3636         (MockWebRTCPeerConnectionHandler::stop):
3637         (MockWebRTCPeerConnectionHandler::openDataChannel):
3638         (MockWebRTCPeerConnectionHandler::closeDataChannel):
3639         (MockWebRTCPeerConnectionHandler::sendStringData):
3640         (MockWebRTCPeerConnectionHandler::sendRawData):
3641         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
3642         (MockWebRTCPeerConnectionHandler):
3643
3644 2012-10-16  Chris Rogers  <crogers@google.com>
3645
3646         Rename some AudioNodes
3647         https://bugs.webkit.org/show_bug.cgi?id=99358
3648
3649         Reviewed by Daniel Bates.
3650
3651         * Scripts/do-webcore-rename:
3652
3653 2012-10-16  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
3654
3655         Implement testRunner.dumpSelectionRect() in WebKitTestRunner
3656         https://bugs.webkit.org/show_bug.cgi?id=69545
3657
3658         Reviewed by Simon Fraser.
3659
3660         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3661         (WTR::InjectedBundlePage::dump): Set the
3662         kWKSnapshotOptionsPaintSelectionRectangle option if
3663         testRunner.dumpSelectionRect() is called.
3664         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3665         (WTR::TestRunner::dumpSelectionRect):
3666         (WTR::TestRunner::shouldDumpSelectionRect):
3667         (TestRunner):
3668
3669 2012-10-16  Sheriff Bot  <webkit.review.bot@gmail.com>
3670
3671         Unreviewed, rolling out r131461.
3672         http://trac.webkit.org/changeset/131461
3673         https://bugs.webkit.org/show_bug.cgi?id=99474
3674
3675         Broke win7 bots (Requested by danakj|gardening on #webkit).
3676
3677         * DumpRenderTree/chromium/TestEventPrinter.cpp:
3678         * DumpRenderTree/chromium/TestEventPrinter.h:
3679         (TestEventPrinter):
3680         * DumpRenderTree/chromium/TestShell.cpp:
3681         (TestShell::dump):
3682
3683 2012-10-16  Zoltan Horvath  <zoltan@webkit.org>
3684
3685         [chromium] Provide used JSHeap size in chromium's DRT for pageloadtest memory measurements
3686         https://bugs.webkit.org/show_bug.cgi?id=99288
3687
3688         Reviewed by Ryosuke Niwa.
3689
3690         Provide used JSHeap size as we did it for the Apple port.
3691
3692         * DumpRenderTree/chromium/TestEventPrinter.cpp:
3693         (TestEventPrinter::handleDumpMemoryHeader): Add new function to print the JSHeap memory result.
3694         * DumpRenderTree/chromium/TestEventPrinter.h:
3695         (TestEventPrinter): handleDumpMemoryHeader declaration.
3696         * DumpRenderTree/chromium/TestShell.cpp:
3697         (TestShell::dump): Dump JSHeap value.
3698
3699 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
3700
3701         [Qt] Fix nmake wipeclean on Windows
3702
3703         Reviewed by Tor Arne Vestbø.
3704
3705         Delete all subdirectories and no files instead of ".".
3706
3707         * qmake/mkspecs/features/configure.prf:
3708
3709 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
3710
3711         [Qt] Fix wipeclean on Windows
3712
3713         Reviewed by Csaba Osztrogonác.
3714
3715         Make sure to close the .qmake.cache file after opening it, otherwise it cannot be deleted on
3716         a clean build because this process (build-webkit) is still using it due to Windows' exclusive
3717         way of opening files.
3718
3719         * Scripts/webkitdirs.pm:
3720         (buildQMakeProjects):
3721
3722 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
3723
3724         [Qt] Fix determination of changed files from SVN revisions
3725
3726         Reviewed by Csaba Osztrogonác.
3727
3728         isSVN() doesn't work from within the build directory, so change to the source directory before
3729         doing any VCS operations.
3730
3731         * Scripts/VCSUtils.pm:
3732         * Scripts/webkitdirs.pm:
3733         (buildQMakeProjects):
3734
3735 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
3736
3737         Fix build-webkit bailing out of !isSVN() and !isGit()
3738
3739         Reviewed by Tor Arne Vestbø.
3740
3741         Added missing else case with early return.
3742
3743         * Scripts/VCSUtils.pm:
3744
3745 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>, Tor Arne Vestbø <tor.arne.vestbo@digia.com>
3746
3747         [Qt] Add logic for triggering clean builds on changes to build system files
3748
3749         Reviewed by Csaba Osztrogonác.
3750
3751         Re-use the existing logic that gives us a range between old and new SVN revision and
3752         parse the summarized output of diff to see if any of the changed files include files
3753         that are part of the Qt build system. If they change we likely need a clean build and
3754         trigger it just to be on the safe side and reduce the amount of manual intervention
3755         needed on the Qt build bots.
3756
3757         * Scripts/VCSUtils.pm:
3758         * Scripts/webkitdirs.pm:
3759         (buildQMakeProjects):
3760
3761 2012-10-16  Allan Sandfeld Jensen  <allan.jensen@digia.com>
3762
3763         Fix the paths for QtGraphics related WebKit2 files.
3764
3765         Unreviewed update of watchlist.
3766
3767         * Scripts/webkitpy/common/config/watchlist:
3768
3769 2012-10-16  Allan Sandfeld Jensen  <allan.jensen@digia.com>
3770
3771         CSS and TouchAdjustment - I am watching you!
3772
3773         Unreviewed update of watchlist.
3774
3775         * Scripts/webkitpy/common/config/watchlist:
3776
3777 2012-10-16  Simon Hausmann  <simon.hausmann@digia.com>
3778
3779         [Qt] Silence C++11 warnings with older versions of clang
3780
3781         Rubber-stamped by Tor Arne Vestbø.
3782
3783         Some clang versions support -Wno-c++11-extensions and some use -Wno-c++0x-extensions.
3784         We cater both :)
3785
3786         * qmake/mkspecs/features/unix/default_post.prf:
3787
3788 2012-10-16  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3789
3790         [WK2] Provide WKURL API for resolving the relative URL with the given base URL
3791         https://bugs.webkit.org/show_bug.cgi?id=99317
3792
3793         Reviewed by Kenneth Rohde Christiansen.
3794
3795         Added API test for newly added WKURLCreateWithBaseURL().
3796
3797         * TestWebKitAPI/PlatformEfl.cmake:
3798         * TestWebKitAPI/Tests/WebKit2/WKURL.cpp: Added.
3799         (TestWebKitAPI):
3800         (TestWebKitAPI::TEST):
3801
3802 2012-10-16  Zan Dobersek  <zandobersek@gmail.com>
3803
3804         [GTK] Decrease the Cario jhbuild dep version back to 1.10.2
3805         https://bugs.webkit.org/show_bug.cgi?id=99443
3806
3807         Reviewed by Philippe Normand.
3808
3809         Crashes started to occur after the Cairo version in the JHBuild dependencies
3810         was bumped up to 1.12.4. This change brings it back down to 1.10.2, which
3811         worked fine.
3812
3813         * gtk/jhbuild.modules:
3814
3815 2012-10-16  Szilard Ledan  <szledan@inf.u-szeged.hu>
3816
3817         Separate WebKit2 instances use the same local storage
3818         https://bugs.webkit.org/show_bug.cgi?id=89666
3819
3820         Reviewed by Simon Hausmann.
3821
3822         TestController has been modified to get the local storage from
3823         DUMPRENDERTREE_TEMP environment variable. If it's undefined
3824         then it works with the default directory. The aim is for the parallelly
3825         started WTRs to use separate directories. It was implemented for WK1
3826         long time ago and it works fine.
3827
3828         * WebKitTestRunner/TestController.cpp:
3829         (WTR::TestController::initialize):
3830
3831 2012-10-15  Christophe Dumez  <christophe.dumez@intel.com>
3832
3833         [EFL][WK2] Display page favicons in MiniBrowser
3834         https://bugs.webkit.org/show_bug.cgi?id=99265
3835
3836         Reviewed by Gyuyoung Kim.
3837
3838         Display current page favicon in the URL bar.
3839         This uses the new favicon database API in
3840         EFL WebKit2.
3841
3842         * MiniBrowser/efl/main.c:
3843         (on_favicon_received):
3844         (on_view_icon_changed):
3845         (window_create):
3846
3847 2012-10-15  Simon Fraser  <simon.fraser@apple.com>
3848
3849         Update the url bar in MiniBrowser when getting the committed URL
3850         https://bugs.webkit.org/show_bug.cgi?id=99388
3851
3852         Reviewed by Sam Weinig.
3853
3854         Fix both WK1 and WK2 window controllers to update the URL in the 
3855         text field when transitioning to the committed URL. This fixes
3856         the URL when dragging local files into the window.
3857
3858         * MiniBrowser/mac/WK1BrowserWindowController.m:
3859         (-[WK1BrowserWindowController webView:didCommitLoadForFrame:]):
3860         * MiniBrowser/mac/WK2BrowserWindowController.m:
3861         (-[WK2BrowserWindowController updateTextFieldFromURL:]):
3862         (-[WK2BrowserWindowController updateProvisionalURLForFrame:]):
3863         (-[WK2BrowserWindowController updateCommittedURLForFrame:]):
3864         (-[WK2BrowserWindowController didCommitLoadForFrame:]):
3865
3866 2012-10-15  Ojan Vafai  <ojan@chromium.org>
3867
3868         Don't show the content shell and android test bots for webkit ToT
3869         https://bugs.webkit.org/show_bug.cgi?id=99380
3870
3871         Reviewed by Dirk Pranke.
3872
3873         Content shell used to coincidentally be skipped because it spelled WebKit correctly.
3874         Now skip it explicitly. The Android bot is up and running, but only has a stub for
3875         running tests. Skip it so we don't show a false error.
3876         * TestResultServer/static-dashboards/builders.js:
3877         (isChromiumWebkitTipOfTreeTestRunner):
3878
3879 2012-10-15  Zoltan Horvath  <zoltan@webkit.org>
3880
3881         Add MountainLion Performance-bot to the Performance bots waterfall link
3882         https://bugs.webkit.org/show_bug.cgi?id=99378
3883
3884         Reviewed by Dirk Pranke.
3885
3886         Add MountainLion Performance-bot to the Performance bots waterfall link on the buildbots frontpage.
3887
3888         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
3889
3890 2012-10-15  Yael Aharon  <yael.aharon@intel.com>
3891
3892         [EFL][WK2] Cannot set evas engine from command line
3893         https://bugs.webkit.org/show_bug.cgi?id=99286
3894
3895         Reviewed by Kenneth Rohde Christiansen.
3896
3897         If an engine name is passed on the command line, pass it along to evas.
3898
3899         * MiniBrowser/efl/main.c:
3900         (elm_main):
3901
3902 2012-10-15  Ojan Vafai  <ojan@chromium.org>
3903
3904         Lower the minimum time required to keep a test in the test results json
3905         https://bugs.webkit.org/show_bug.cgi?id=99346
3906
3907         Reviewed by Eric Seidel.
3908
3909         On the run-webkit-tests side, we floor the time. So, 5 seconds is too close to
3910         the 6 second timeout. Lower the time so that we can get a better sense of tests
3911         that are close to timing out.
3912
3913         * TestResultServer/model/jsonresults.py:
3914         * TestResultServer/model/jsonresults_unittest.py:
3915         (JsonResultsTest.test_merge_keep_test_with_all_pass_but_slow_time):
3916
3917 2012-10-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3918
3919         Unreviewed, rolling out r131306 and r131307.
3920         http://trac.webkit.org/changeset/131306
3921         http://trac.webkit.org/changeset/131307
3922         https://bugs.webkit.org/show_bug.cgi?id=99354
3923
3924         It made layout testing extremely slow again (Requested by
3925         Ossy_night on #webkit).
3926
3927         * WebKitTestRunner/Target.pri:
3928         * WebKitTestRunner/TestInvocation.cpp:
3929         (WTR::TestInvocation::invoke):
3930         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3931         * WebKitTestRunner/TestInvocation.h:
3932         (TestInvocation):
3933         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3934         (WTR::WrapperWindow::handleStatusChanged):
3935         (WTR::PlatformWebView::windowSnapshotImage):
3936         * WebKitTestRunner/qt/TestInvocationQt.cpp:
3937         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
3938
3939 2012-10-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3940
3941         Unreviewed, rolling out r131327.
3942         http://trac.webkit.org/changeset/131327
3943         https://bugs.webkit.org/show_bug.cgi?id=99353
3944
3945         broke the build (Requested by danakj|gardening on #webkit).
3946
3947         * DumpRenderTree/chromium/TestEventPrinter.cpp:
3948         * DumpRenderTree/chromium/TestEventPrinter.h:
3949         (TestEventPrinter):
3950         * DumpRenderTree/chromium/TestShell.cpp:
3951         (TestShell::dump):
3952
3953 2012-10-15  Kenichi Ishibashi  <bashi@chromium.org>
3954
3955         [WebSocket] Update pywebsocket to 0.7.8
3956         https://bugs.webkit.org/show_bug.cgi?id=99293
3957
3958         Reviewed by Yuta Kitamura.
3959
3960         Version 0.7.8 supports WebSocket frames and messages compression
3961         with blocks in which BFINAL bit is set to 1.
3962         We need this feature to add a test case of compression extension.
3963
3964         * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
3965         (DeflateFrameExtensionProcessor.__init__):
3966         (DeflateFrameExtensionProcessor.set_bfinal):
3967         (DeflateFrameExtensionProcessor._outgoing_filter):
3968         (DeflateMessageProcessor.__init__):
3969         (DeflateMessageProcessor.set_bfinal):
3970         (DeflateMessageProcessor._process_outgoing_message):
3971         * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
3972         (_Deflater.compress_and_finish):
3973         (_RFC1979Deflater.filter):
3974
3975 2012-10-15  Zan Dobersek  <zandobersek@gmail.com>
3976
3977         [TestResultServer] TestExpectations should only be loaded for the flakiness dashboard
3978         https://bugs.webkit.org/show_bug.cgi?id=99245
3979
3980         Reviewed by Ojan Vafai.
3981
3982         Only load the TestExpectations when using the flakiness dashboard. Other dashboards
3983         don't need them so there's no reason to load them.
3984
3985         * TestResultServer/static-dashboards/dashboard_base.js:
3986         (isFlakinessDashboard):
3987         (appendJSONScriptElements):
3988
3989 2012-10-15  Zoltan Horvath  <zoltan@webkit.org>
3990
3991         [chromium] Provide used JSHeap size in chromium's DRT for pageloadtest memory measurements 
3992         https://bugs.webkit.org/show_bug.cgi?id=99288
3993
3994         Reviewed by Ryosuke Niwa.
3995
3996         Provide used JSHeap size as we did it for the Apple port.
3997
3998         * DumpRenderTree/chromium/TestEventPrinter.cpp:
3999         (TestEventPrinter::handleDumpMemoryHeader): Add new function to print the JSHeap memory result.
4000         * DumpRenderTree/chromium/TestEventPrinter.h:
4001         (TestEventPrinter): handleDumpMemoryHeader declaration.
4002         * DumpRenderTree/chromium/TestShell.cpp:
4003         (TestShell::dump): Dump JSHeap value.
4004
4005 2012-10-15  George Staikos  <staikos@webkit.org>
4006
4007         [BlackBerry] Adapt to Platform API changes in string handling
4008         https://bugs.webkit.org/show_bug.cgi?id=99248
4009
4010         Reviewed by Yong Li.
4011
4012         Convert usage of WebString, char* and std::string to BlackBerry::Platform::String.
4013
4014         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
4015         (BlackBerry::WebKit::DumpRenderTree::runTest):
4016         * DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp:
4017         (LoadHTMLStringItem::invoke):
4018         (ScriptItem::invoke):
4019
4020 2012-10-15  Kangil Han  <kangil.han@samsung.com>
4021
4022         [EFL][EWebLauncher] Add encoding detector option.
4023         https://bugs.webkit.org/show_bug.cgi?id=98726
4024
4025         Reviewed by Gyuyoung Kim.
4026
4027         Added an option to test WebCore's encoding detector functionality on EWebLauncher.
4028         With this patch, EWebLauncher would display text correctly even if web page wouldn't specify charset information.
4029
4030         * EWebLauncher/main.c:
4031         (_User_Arguments):
4032         (windowCreate):
4033         (parseUserArguments):
4034
4035 2012-10-15  Ilya Tikhonovsky  <loislo@chromium.org>
4036
4037         Build fix for Mac debug build.
4038
4039         * TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp:
4040
4041 2012-10-15  Balazs Kelemen  <kbalazs@webkit.org>
4042
4043         [Qt] Implement pixel snapshot generation in WTR
4044         https://bugs.webkit.org/show_bug.cgi?id=95992
4045
4046         Reviewed by Jocelyn Turcotte.
4047
4048         Switch the Qt implementation of the PlatformWebView to use
4049         QQuickWindow::grabWindow to generate the pixel results. This way
4050         we will go through the scenegraph and test the actual rendering backend.
4051         We use QQuickWindowPrivate::setRenderWithoutShowing to avoid the need of
4052         showing the window.
4053
4054         * WebKitTestRunner/Target.pri: Had to added a bunch
4055         of modules to be able to use QQuickWindowPrivate.
4056         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
4057         (WTR::WrapperWindow::handleStatusChanged):
4058         (WTR::PlatformWebView::windowSnapshotImage):
4059
4060 2012-10-15  Balazs Kelemen  <kbalazs@webkit.org>
4061
4062         [Qt][WTR] Do a forced repaint before generating pixel results
4063         https://bugs.webkit.org/show_bug.cgi?id=98654
4064
4065         Reviewed by Jocelyn Turcotte.
4066
4067         Do a forced repaint before grabbing the pixel snapshot. This extra
4068         synchronisation is necessary with the CoordinatedGraphics rendering
4069         backend because it has a fully asynchronous nature. This patch make
4070         us using the window snapshot for pixel results which is necessary to
4071         capture animations and other dynamic content. The actual grabbing of
4072         the window has not been implemented in this patch. It will come in
4073         a follow-up.
4074
4075         * WebKitTestRunner/TestInvocation.cpp:
4076         (WTR::TestInvocation::invoke):
4077         (WTR::TestInvocation::dump): Store results in member variables.
4078         Don't close output channels yet.
4079         (WTR::TestInvocation::dumpResults): Added. This is where we dump
4080         the results if no error happened.
4081         (WTR):
4082         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
4083         * WebKitTestRunner/TestInvocation.h:
4084         (TestInvocation):
4085         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
4086         (WTR::PlatformWebView::windowSnapshotImage):
4087         * WebKitTestRunner/qt/TestInvocationQt.cpp:
4088         (WTR::TestInvocation::forceRepaintDoneCallback):
4089         (WTR):
4090         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
4091
4092 2012-10-15  Simon Hausmann  <simon.hausmann@digia.com>
4093
4094         [Qt] Separate Qt WebKit into Qt WebKit and Qt WebKit Widgets
4095         https://bugs.webkit.org/show_bug.cgi?id=88162
4096
4097         Reviewed by Kenneth Rohde Christiansen.
4098
4099         Rename the QtWebKit module to QtWebKitWidgets.
4100
4101         * DumpRenderTree/qt/DumpRenderTree.pro:
4102         * MiniBrowser/qt/MiniBrowser.pro:
4103         * MiniBrowser/qt/raw/Target.pri:
4104         * QtTestBrowser/QtTestBrowser.pro:
4105         * Scripts/webkitpy/layout_tests/port/qt.py:
4106         (QtPort._path_to_webcore_library):
4107         * WebKitTestRunner/InjectedBundle/Target.pri:
4108         * WebKitTestRunner/Target.pri:
4109         * qmake/mkspecs/features/default_post.prf:
4110         * qmake/mkspecs/features/webkit_modules.prf:
4111         * qmake/mkspecs/features/win32/default_post.prf:
4112
4113 2012-10-11  Kinuko Yasuda  <kinuko@chromium.org>
4114
4115         [chromium] Removes unnecessary dependencies in DumpRenderTree.gyp
4116         https://bugs.webkit.org/show_bug.cgi?id=99132
4117
4118         Reviewed by Kent Tamura.
4119
4120         Removing webkit_support:blob dependency for DumpRenderTree target as it doesn't seem necessary.
4121
4122         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
4123
4124 2012-10-15  Csaba Osztrogonác  <ossy@webkit.org>
4125
4126         [Qt][WK2] Buildfix for newer Qt5.
4127         https://bugs.webkit.org/show_bug.cgi?id=99303
4128
4129         Reviewed by Simon Hausmann.
4130
4131         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
4132         (WTR::PlatformWebView::resizeTo):
4133
4134 2012-10-14  Jon Lee  <jonlee@apple.com>
4135
4136         Allow notification origin permission request when no js callback is provided
4137         https://bugs.webkit.org/show_bug.cgi?id=63615
4138         <rdar://problem/11059590>
4139
4140         Reviewed by Sam Weinig.
4141
4142         Teach DRT to look at the existing entries in the permission hash map when permission is requested.
4143
4144         * DumpRenderTree/mac/MockWebNotificationProvider.h: Expose policyForOrigin.
4145         * DumpRenderTree/mac/MockWebNotificationProvider.mm:
4146         (-[MockWebNotificationProvider setWebNotificationOrigin:permission:]):
4147         * DumpRenderTree/mac/UIDelegate.mm:
4148         (-[UIDelegate webView:decidePolicyForNotificationRequestFromOrigin:listener:]): Look at whether a
4149         policy for the origin already exists. If so, accept or deny the request as appropriate. Otherwise,
4150         accept by default.
4151
4152 2012-10-13  Zan Dobersek  <zandobersek@gmail.com>
4153
4154         [TestResultServer] Unit tests require an update after r131239
4155         https://bugs.webkit.org/show_bug.cgi?id=99236
4156
4157         Reviewed by Ojan Vafai.
4158
4159         Replacing 'Webkit' with 'WebKit' in builder names througout the unit tests
4160         after the Chromium builders have been renamed recently.
4161
4162         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
4163
4164 2012-10-12  Zan Dobersek  <zandobersek@gmail.com>
4165
4166         [TestResultServer] Add support for non-Chromium TestExpectations files
4167         https://bugs.webkit.org/show_bug.cgi?id=98422
4168
4169         Reviewed by Ojan Vafai.
4170
4171         Loads TestExpectations files for several other non-Chromium ports, parses them and
4172         properly distributes them per various platforms.
4173
4174         * TestResultServer/static-dashboards/dashboard_base.js: g_expectations is replaced by
4175         g_expectationsByPlatform, an object that holds raw TestExpectations file contents for
4176         various platforms.
4177         (requestExpectationsFiles): First traverses through the platforms tree to gather all
4178         the TestExpectations files that should be loaded, then loads them in parallel.
4179         (appendJSONScriptElements):
4180         * TestResultServer/static-dashboards/flakiness_dashboard.js: The platforms tree is reorganized
4181         to describe each platform and possible subplatforms plainly yet in detail. The PLATFORM_FALLBACKS
4182         object is removed as it's not used anywhere. g_allTestsByPlatformAndBuildType is now filled by
4183         traversing the platforms tree.
4184         (traversePlatformsTree.traverse):
4185         (traversePlatformsTree): A helper function that traverses the platforms tree, invoking
4186         callback on each leaf node.
4187         (determineWKPlatform): A helper function to determine whether the builder is running WebKit1 or
4188         WebKit2 layer of a given platform.
4189         (chromiumPlatform): Chromium-specific platforms are now properly prefixed with 'CHROMIUM_'.
4190         (TestTrie): A new class that holds all the tests in a trie. The trie is constructed by iterating
4191         through the tests for each builder, adding each test to the trie.
4192         (TestTrie.prototype.forEach.traverse):
4193         (TestTrie.prototype.forEach): A helper function that traverses the tests trie, invoking callback on each leaf.
4194         (TestTrie.prototype._addTest): Aligns the test into the specified trie based on the test's path.
4195         (getAllTestsTrie): Instead of in list, the problematic tests from each builder are now stored in a trie.
4196         (individualTestsForSubstringList): Modified to traverse the trie instead of iterating the list.
4197         (allTestsWithResult): Ditto.
4198         (platformObjectForName): Splits the platform name by underscores and finds the appropriate platform object.
4199         (getParsedExpectations): Now operates on the passed-in parameter rather than on a global variable.
4200         (addTestToAllExpectationsForPlatform): Links expectations and modifiers to the test on the specified platform
4201         and any build type the modifiers might apply to (or all build types if there are no such modifiers).
4202         (processExpectationsForPlatform): Determines if the expectation should actually be processed for the given
4203         platform by checking if any platform's fallback platforms support platform modifier unions and if any modifiers
4204         represent such an union. If so, the expectation is then only processed if the given platform is in the union
4205         the modifier presents or there are no such modifiers.
4206         (processExpectations): Processes all acquired expectations by traversing the platforms tree and taking into
4207         account possible fallback platforms.
4208         (processTestRunsForBuilder):
4209         (realModifiers.return.modifiers.filter):
4210         (realModifiers): Modifiers other than build configurations and bug handles are now filtered out only if they
4211         are present in the platform's platform modifier unions or represent subplatforms of a platform that supports
4212         platform modifier unions.
4213         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: The test cases are updated and expanded
4214         where necessary to cover the changes.
4215         (resetGlobals):
4216         (test): Added a TestTrie test.
4217
4218 2012-10-12  Dirk Pranke  <dpranke@chromium.org>
4219
4220         Update chromium bot names in garden-o-matic.
4221
4222         Unreviewed, build fix.
4223
4224         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
4225
4226 2012-10-12  Ojan Vafai  <ojan@chromium.org>
4227
4228         Fix bot name filters now that the Chromium bots have been renamed.
4229         * TestResultServer/static-dashboards/builders.js:
4230         (isChromiumWebkitTipOfTreeTestRunner):
4231         (isChromiumWebkitDepsTestRunner):
4232         (isChromiumTipOfTreeGTestRunner):
4233
4234 2012-10-12  Dirk Pranke  <dpranke@chromium.org>
4235
4236         [chromium] add ML bot and update bot names
4237         https://bugs.webkit.org/show_bug.cgi?id=99209
4238
4239         Reviewed by Eric Seidel.
4240
4241         This change adds proper baseline support for Mac10.8 (Mountain
4242         Lion or ML) to chromium and updates the bot names from "Webkit" 
4243         to "WebKit" and ensures that all the bots have the OS version in
4244         the name on Mac and Win.
4245
4246         We don't yet include a ML bot in garden-o-matic since it isn't
4247         green yet.
4248
4249         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
4250         (.):
4251         * Scripts/webkitpy/layout_tests/port/builders.py:
4252         * Scripts/webkitpy/layout_tests/port/chromium.py:
4253         (ChromiumPort):
4254         * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
4255         (FactoryTest.test_get_from_builder_name):
4256         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
4257         (TestRebaseline.test_baseline_directory):
4258         (TestRebaseline.test_rebaseline_updates_expectations_file_noop):
4259         (test_rebaseline_updates_expectations_file):
4260         (test_rebaseline_does_not_include_overrides):
4261         (test_rebaseline_test):
4262         (test_rebaseline_test_and_print_scm_changes):
4263         (test_rebaseline_and_copy_test):
4264         (test_rebaseline_and_copy_test_with_lion_result):
4265         (test_rebaseline_and_copy_no_overwrite_test):
4266         (test_rebaseline_expectations):
4267         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
4268         (BuildCoverageExtrapolatorTest.test_extrapolate):
4269
4270 2012-10-12  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
4271
4272         [Qt][WK2] REGRESSION(r131057): It made plugins/plugin-document-back-forward.html timeout
4273         https://bugs.webkit.org/show_bug.cgi?id=99152
4274
4275         Reviewed by Simon Fraser.
4276
4277         Even though Response was already checked in WTR WKBundlePagePolicyClient decidePolicyForResponse callback,
4278         this check did not take plugins into consideration when deciding whether we can show the given MIME type or not
4279         so added another check in WTR UI process which also includes plugins.
4280
4281         * WebKitTestRunner/TestController.cpp:
4282         (WTR::TestController::decidePolicyForResponse):
4283         * WebKitTestRunner/TestController.h:
4284         (TestController):
4285
4286 2012-10-12  Rob Buis  <rbuis@rim.com>
4287
4288         [BlackBerry] Add tests of WebSocketEnabled preference
4289         https://bugs.webkit.org/show_bug.cgi?id=84982
4290
4291         Reviewed by Yong Li.
4292
4293         PR 209265.
4294