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