1 2012-06-21 Yong Li <yoli@rim.com>
3 Unreviewed. Moving myself from committer to reviewer.
5 * Scripts/webkitpy/common/config/committers.py:
7 2012-06-21 Sergio Villar Senin <svillar@igalia.com>
9 [GTK] Add a new webkit2 tests slave bot
10 https://bugs.webkit.org/show_bug.cgi?id=89336
12 Reviewed by Philippe Normand.
14 Slave configuration for a new GTK bot that will run WebKit2 tests.
16 * BuildSlaveSupport/build.webkit.org-config/config.json:
18 2012-06-21 Thiago Marcos P. Santos <thiago.santos@intel.com>
20 [Qt] Add a custom Color Chooser widget to MiniBrowser
21 https://bugs.webkit.org/show_bug.cgi?id=87988
23 Reviewed by Alexis Menard.
25 Added custom color chooser example for the MiniBrowser.
27 * MiniBrowser/qt/MiniBrowser.qrc:
28 * MiniBrowser/qt/qml/BrowserWindow.qml:
29 * MiniBrowser/qt/qml/ColorChooser.qml: Added.
31 2012-06-21 Vivek Galatage <vivekgalatage@gmail.com>
33 Remove the warning "File not found" in MiniBrowser post-build event
34 https://bugs.webkit.org/show_bug.cgi?id=89601
36 Reviewed by Adam Roben.
38 * MiniBrowser/MiniBrowserPostBuild.cmd:
40 2012-06-21 Balazs Kelemen <kbalazs@webkit.org>
42 [Qt] DRT in standalone mode hangs after the first test
43 https://bugs.webkit.org/show_bug.cgi?id=89613
45 Reviewed by Csaba Osztrogonác.
47 Break an inline signal slot chain that ends up in setting
48 LayoutTestController::m_hasDumped too early. In LayoutTestController::maybeDump()
49 we emit done() which starts the chain that finishes in DumpRenderTree::open().
50 The next line in maybeDump sets m_hasDumped to true. We could simply reorder
51 these two lines but it seems to be wrong in general to start the next load
52 from this call chain. The server mode (when DRT is runned by the test harness)
53 also uses a queued connection to read the next test from stdin.
55 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
56 (WebCore::DumpRenderTree::processArgsLine):
58 2012-06-20 Hans Wennborg <hans@chromium.org>
60 Speech JavaScript API: SpeechRecognition should hook up with ActiveDOMObject more
61 https://bugs.webkit.org/show_bug.cgi?id=89217
63 Reviewed by Adam Barth.
65 Add a method for checking whether the mock speech
66 recognition was aborted.
68 Also redo the way the mock posts tasks. Instead of posting them all at once,
69 maintain an internal queue of task objects, and call postTask() for them
70 once at the time. This means that for example when the page is navigated
71 away and abort() is called, that call doesn't end up after a bunch
72 of previously posted events on the event loop.
74 * DumpRenderTree/chromium/LayoutTestController.cpp:
75 (LayoutTestController::LayoutTestController):
76 (LayoutTestController::wasMockSpeechRecognitionAborted):
77 * DumpRenderTree/chromium/LayoutTestController.h:
78 (LayoutTestController):
79 * DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:
80 (WebKit::ClientCallTask::ClientCallTask):
81 (WebKit::ResultTask::ResultTask):
82 (WebKit::NoMatchTask::NoMatchTask):
83 (WebKit::ErrorTask::ErrorTask):
84 (MockWebSpeechRecognizer::start):
85 (MockWebSpeechRecognizer::abort):
86 (MockWebSpeechRecognizer::setError):
87 (MockWebSpeechRecognizer::MockWebSpeechRecognizer):
88 (MockWebSpeechRecognizer::startTaskQueue):
89 (MockWebSpeechRecognizer::StepTask::runIfValid):
90 * DumpRenderTree/chromium/MockWebSpeechRecognizer.h:
91 (MockWebSpeechRecognizer::hasBeenAborted):
92 (MockWebSpeechRecognizer):
93 (MockWebSpeechRecognizer::taskList):
95 (MockWebSpeechRecognizer::Task::Task):
96 (MockWebSpeechRecognizer::Task::~Task):
98 (MockWebSpeechRecognizer::StepTask::StepTask):
100 2012-06-21 Mario Sanchez Prada <msanchez@igalia.com>
102 [GTK] Add support for window.showModalDialog in WebKit2GTK+
103 https://bugs.webkit.org/show_bug.cgi?id=79500
105 Reviewed by Carlos Garcia Campos.
107 Add support for modal dialogs in GTK's MiniBrowser.
109 * MiniBrowser/gtk/BrowserWindow.c:
112 (webViewDecidePolicy):
113 (browser_window_new):
114 * MiniBrowser/gtk/BrowserWindow.h:
115 * MiniBrowser/gtk/main.c:
116 (createBrowserWindow):
118 2012-06-20 Brent Fulgham <bfulgham@webkit.org>
120 [WinCairo] Unreviewed build fix.
121 The wrapper script that launched new- and old-run-webkit-tests
122 was discarding the --wincairo argument needed to get the proper
123 test infrastructure to build under WinCairo.
125 * Scripts/run-webkit-tests: Emulate the Qt, Wx, Chromium, etc.,
126 behavior to chain the --wincairo flag through to the new build
129 2012-06-20 Mark Rowe <mrowe@apple.com>
131 <http://webkit.org/b/89606> Teach run-safari and debug-safari to work with a Safari.app that has entitlements
133 Reviewed by Dan Bernstein.
135 * Scripts/webkitdirs.pm:
136 (executableHasEntitlements):
137 (safariPathFromSafariBundle):
139 2012-06-20 Sheriff Bot <webkit.review.bot@gmail.com>
141 Unreviewed, rolling out r120821.
142 http://trac.webkit.org/changeset/120821
143 https://bugs.webkit.org/show_bug.cgi?id=89605
145 It made duplicated reviewer entries (Requested by Ossy on
148 * Scripts/webkitpy/common/checkout/changelog.py:
149 (ChangeLog.set_reviewer):
150 * Scripts/webkitpy/common/checkout/changelog_unittest.py:
152 (test_set_short_description_and_bug_url):
154 2012-06-20 Dirk Pranke <dpranke@chromium.org>
156 nrwt outputs empty files for wdiff output if wdiff is not installed
157 https://bugs.webkit.org/show_bug.cgi?id=88709
159 Reviewed by Tony Chang.
161 Reviewed by Tony Chang.
163 Don't write -wdiff or -pretty.html files if wdiff or prettypatch
164 aren't available, and clean up the handling for them in the port
167 * Scripts/webkitpy/run_webkit_tests_integrationtest.py:
168 (MainTest.test_output_diffs):
169 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
170 (TestResultWriter.create_text_diff_and_write_result):
171 * Scripts/webkitpy/layout_tests/port/base.py:
172 (Port.check_pretty_patch):
174 (Port._wdiff_missing_message):
175 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
176 (ChromiumLinuxPort.check_build):
177 (ChromiumLinuxPort._wdiff_missing_message):
178 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
179 (ChromiumMacPort.check_build):
181 (ChromiumMacPort._wdiff_missing_message):
182 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
183 (ChromiumMacPortTest):
185 2012-06-20 Dirk Pranke <dpranke@chromium.org>
187 nrwt: fix unit tests for ensuring svn revision is correct
188 https://bugs.webkit.org/show_bug.cgi?id=89498
190 Reviewed by Eric Seidel.
192 Reviewed by Eric Seidel.
194 Fix the unit tests for testing that we are embedding the SVN
195 revision in the results json for NRWT properly; this was broken
196 in r120646 but because the MockHost worked differently than the
197 real one (by always initializing the MockSCM object) we didn't
198 notice. Unfortunately, just changing the default breaks all
199 sorts of unit tests ...
201 * Scripts/webkitpy/common/host_mock.py:
203 (MockHost._initialize_scm):
204 * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
205 (ResultSummaryTest.test_no_svn_revision):
206 (ResultSummaryTest.test_svn_revision):
208 2012-06-20 Dirk Pranke <dpranke@chromium.org>
210 new-run-webkit-tests appends "/Debug" or "/Release" to $WEBKITOUTPUTDIR
211 https://bugs.webkit.org/show_bug.cgi?id=69360
213 Reviewed by Eric Seidel.
215 Reviewed by Eric Seidel.
217 Propagate the 'port_implementation' part of the platform (i.e.,
218 gtk,qt,chromium) to webkit-build-directory so that we can pick
219 up the gtk-specific handling of WEBKITOUTPUTDIR ...
221 I didn't write any additional tests for this; testing it
222 properly is an integration test between the python code and the
223 perl code, which I verified by hand.
225 * Scripts/webkitpy/layout_tests/port/base.py:
227 * Scripts/webkitpy/layout_tests/port/config.py:
229 (Config.build_directory):
230 * Scripts/webkitpy/layout_tests/port/config_mock.py:
231 (MockConfig.__init__):
232 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
233 (ConfigTest.test_build_directory_passes_port_implementation):
235 2012-06-20 Dirk Pranke <dpranke@chromium.org>
237 Fix import sorting missed in r120846
239 Reviewed by Tony Chang.
241 * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
243 2012-06-20 Dirk Pranke <dpranke@chromium.org>
245 Fix chromium win http servers after breakage introduced in r120846.
247 Unreviewed, build fix.
249 * Scripts/webkitpy/layout_tests/port/base.py:
250 (Port.to.start_http_server):
251 * Scripts/webkitpy/layout_tests/servers/http_server.py:
254 2012-06-20 Dirk Pranke <dpranke@chromium.org>
256 tweak output of webkit-patch print-{baselines,expectations}
257 https://bugs.webkit.org/show_bug.cgi?id=89588
259 Reviewed by Tony Chang.
261 Minor tweaks to the output to make it more readable, including
262 turning off csv by default for print-baselines with multiple ports.
264 * Scripts/webkitpy/layout_tests/port/test.py:
266 * Scripts/webkitpy/tool/commands/queries.py:
267 (PrintExpectations.execute):
268 (PrintBaselines.execute):
269 * Scripts/webkitpy/tool/commands/queries_unittest.py:
270 (PrintExpectationsTest.run_test):
271 (PrintExpectationsTest.test_multiple):
272 (PrintBaselinesTest.setUp):
273 (PrintBaselinesTest.test_multiple):
275 2012-06-18 Dirk Pranke <dpranke@chromium.org>
277 new-run-webkit-tests should spin-up enough httpd processes to avoid timeouts
278 https://bugs.webkit.org/show_bug.cgi?id=88134
280 Reviewed by Tony Chang.
282 Change NRWT to spin up 2*min(child_processes, locked_shards)
283 http servers by default so that we are less likely to get a
284 bunch of http timeouts at the beginning of a test run.
286 Note that I had to tweak executive_mock to support mocked stderr
287 because the apache_http_server code reads stderr when starting a
288 process to ensure it started okay.
290 * Scripts/webkitpy/common/system/executive_mock.py:
291 (MockProcess.__init__):
292 * Scripts/webkitpy/common/system/outputcapture.py:
293 * Scripts/webkitpy/layout_tests/controllers/manager.py:
294 (Manager._run_tests):
295 (Manager.start_servers_with_lock):
296 * Scripts/webkitpy/layout_tests/port/base.py:
297 (Port.to.start_http_server):
298 * Scripts/webkitpy/layout_tests/port/test.py:
299 (TestPort.start_http_server):
300 (TestPort._path_to_apache):
302 (TestPort._path_to_apache_config_file):
303 * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
304 (LayoutTestApacheHttpd.__init__):
305 * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py: Added
306 (LayoutTestApacheHttpd.__init__):
307 * Scripts/webkitpy/layout_tests/servers/http_server.py:
309 * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
310 (HttpServerBase.__init__):
312 2012-06-20 Tom Zakrajsek <tomz@codeaurora.org>
314 Unreviewed: Back out accidentally checked in debug print which broke a test
316 * Scripts/webkitpy/performance_tests/perftest.py:
317 (PerfTest.parse_output):
319 2012-06-20 Tom Zakrajsek <tomz@codeaurora.org>
321 Import themaninblue.com/experiment/AnimationBenchmark/ as performance tests
322 https://bugs.webkit.org/show_bug.cgi?id=78789
324 Reviewed by Ryosuke Niwa.
326 Updated parser to include fps as a valid unit.
328 * Scripts/webkitpy/performance_tests/perftest.py:
330 (PerfTest.parse_output):
332 2012-06-20 Balazs Ankes <bank@inf.u-szeged.hu>
334 webkit-patch should add reviewer if "Reviewed by NOBODY ..." is missing
335 https://bugs.webkit.org/show_bug.cgi?id=67935
337 Reviewed by Ryosuke Niwa.
339 * Scripts/webkitpy/common/checkout/changelog.py:
340 (ChangeLog.set_reviewer):
341 * Scripts/webkitpy/common/checkout/changelog_unittest.py:
343 (test_set_short_description_and_bug_url):
345 2012-06-20 Simon Hausmann <simon.hausmann@nokia.com>
347 Unreviewed trivial permissions fix.
349 * qmake/mkspecs/features/features.prf: Don't mark this file as executable.
351 2012-06-19 Ryuan Choi <ryuan.choi@samsung.com>
353 [EFL][Regression] Build break after r120786
354 https://bugs.webkit.org/show_bug.cgi?id=89549
356 Unreviewed build fix for Efl port.
358 * DumpRenderTree/efl/CMakeLists.txt: Added disassembler in includes.
360 2012-06-19 Dirk Pranke <dpranke@chromium.org>
362 NRWT spins up and down the WebSocket server when running a single HTTP test from the command line
363 https://bugs.webkit.org/show_bug.cgi?id=64489
365 Reviewed by Tony Chang.
367 This change changes NRWT so that we don't start the websocket
368 server if we aren't running websocket tests and don't start the
369 HTTP server if we aren't running http tests.
371 * Scripts/webkitpy/layout_tests/controllers/manager.py:
372 (Manager._websocket_tests):
373 (Manager.start_servers_with_lock):
374 (Manager.stop_servers_with_lock):
375 * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
376 (ManagerTest.test_servers_started):
378 2012-06-19 Dirk Pranke <dpranke@chromium.org>
380 test-webkitpy: add a -p flag to pass through captured output to enable debugging
381 https://bugs.webkit.org/show_bug.cgi?id=89158
383 Reviewed by Eric Seidel.
385 Normally when outputcapture runs it intercepts stdout/stderr,
386 which makes running under the debugger difficult and mostly
387 pointless (since you can't see any output). This change adds a
388 flag to test-webkitpy (-p) that will cause outputcapture to pass
389 through the output as well as capture it.
391 * Scripts/webkitpy/common/system/outputcapture.py:
392 (OutputCapture.stream_wrapper):
393 (OutputCapture._capture_output_with_name):
394 * Scripts/webkitpy/common/system/outputcapture_unittest.py:
395 (OutputCaptureTest.setUp):
396 * Scripts/webkitpy/test/main.py:
397 (Tester._parse_args):
399 (Tester._log_exception):
400 (_CaptureAndPassThroughStream):
401 (_CaptureAndPassThroughStream.__init__):
402 (_CaptureAndPassThroughStream.write):
403 (_CaptureAndPassThroughStream._message_is_from_pdb):
404 (_CaptureAndPassThroughStream.flush):
405 (_CaptureAndPassThroughStream.getvalue):
407 2012-06-19 Adam Barth <abarth@webkit.org>
409 garden-o-matic fails to rebaseline tests with MISSING results
410 https://bugs.webkit.org/show_bug.cgi?id=89521
412 Reviewed by Kenneth Russell.
414 If the bots report "MISSING", we should try to find PNG and TXT results on the server.
416 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
418 2012-06-19 Adam Barth <abarth@webkit.org>
420 svn.delete_list fails to delete empty parent directories
421 https://bugs.webkit.org/show_bug.cgi?id=89520
423 Reviewed by Dirk Pranke.
425 These functions were calling scm.delete and scm.add, which already
426 delete the parent directory. We'd get an exception when we tried to
427 delete the parent directory again.
429 * Scripts/webkitpy/common/checkout/scm/svn.py:
430 (SVN._add_parent_directories):
431 (SVN._delete_parent_directories):
433 2012-06-19 Thiago Marcos P. Santos <thiago.santos@intel.com>
435 webkitpy: Simplify fetch_bugs_matching_search()
436 https://bugs.webkit.org/show_bug.cgi?id=89497
438 Reviewed by Adam Barth.
440 Removed parameter with default value. It's not being used
441 and the handling of the parameter was wrong. Saves a check.
443 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
444 (BugzillaQueries.fetch_bugs_matching_search):
445 * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
446 (MockBugzillaQueries.fetch_bugs_matching_search):
448 2012-06-19 Dirk Pranke <dpranke@chromium.org>
450 webkitpy: remove unneeded imports in layout_tests/port/chromium.py
451 https://bugs.webkit.org/show_bug.cgi?id=89522
453 Reviewed by Eric Seidel.
455 They were no longer being used. No tests necessary.
457 * Scripts/webkitpy/layout_tests/port/chromium.py:
459 2012-06-19 Adam Barth <abarth@webkit.org>
461 Missing results aren't shown in garden-o-matic
463 Reviewed by Kenneth Russell.
465 Previously we didn't know to look for text and image results when the
466 bot told us that results were missing.
468 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
470 2012-06-19 Dirk Pranke <dpranke@chromium.org>
472 Fix regression introduced in r120646 where the svn revision isn't saved in results.json
474 Unreviewed, build fix.
476 It turns out that we store the svn revision two different ways
477 in the JSON, and I only caught one of them :(. This should fix
480 Also, this part of the code is poorly tested. I will investigate
481 adding at least a basic test for this in a separate fix.
483 * Scripts/webkitpy/layout_tests/controllers/manager.py:
486 2012-06-19 Dirk Pranke <dpranke@chromium.org>
488 REGRESSION (NRWT): Results for new non-text-only tests are always put in the most-specific platform directory
489 https://bugs.webkit.org/show_bug.cgi?id=78127
491 Reviewed by Ryosuke Niwa.
493 Add the --add-platform-exceptions flag from ORWT, and ensure
494 that --new-baseline is equivalent to --reset-results
495 --add-platform-exceptions. Also fix the default logic for where to
496 put PNGs and render tree dumps if --new-test-results is true:
497 if --add-platform-exceptions is False, baselines should go in
498 the least-specific platform directory (e.g., platform/mac)
499 rather than the most-specific (platform/mac-snowleopard).
501 * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
503 (SingleTestRunner.run):
504 (SingleTestRunner._run_rebaseline):
505 (SingleTestRunner._add_missing_baselines):
506 (SingleTestRunner._location_for_new_baseline):
507 (SingleTestRunner._overwrite_baselines):
508 (SingleTestRunner._save_baseline_data):
509 * Scripts/webkitpy/layout_tests/port/base.py:
510 (Port.baseline_path):
512 (Port.baseline_platform_dir):
513 (Port.baseline_version_dir):
514 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
515 (_set_up_derived_options):
517 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
518 (RebaselineTest.assertBaselines):
519 (RebaselineTest.test_reset_results):
520 (RebaselineTest.test_missing_results):
521 (RebaselineTest.test_new_baseline):
523 2012-06-19 Dirk Pranke <dpranke@chromium.org>
525 NRWT should not take memory used as disk cache into account when deciding how many processes to launch
526 https://bugs.webkit.org/show_bug.cgi?id=81379
528 Reviewed by Eric Seidel.
530 The 'free memory' calculation we were running on the mac seemed
531 to underestimate how many children we can run in parallel, and
532 it was complex. This patch replaces that calculation with a
533 simpler one that reserves 2GB for overhead and assumes 256MB per
534 DRT/WTR, so if we had 4GB of RAM we can run up to 8 DRTs.
536 Also, there was a bug where we were truncating the memory
537 installed on the machine to 4GB by casting to an int instead of
538 a long; this was probably the source of some of the earlier
539 problems when using total memory.
541 This patch also removes the no-longer-needed restrictions on the
542 number of workers on beefy Lion boxes for both Apple Mac and Chromium
543 Mac; we should now use all of the cores by default.
545 The memory calculations have only been implemented on the mac;
546 having the calculation in base.default_child_processes() was IMO
547 misleading, and so this patch also moves the computation into
548 the MacPort. I have not heard of the # of workers being an issue
549 on any other ports, so this should be fine.
551 * Scripts/webkitpy/common/system/platforminfo.py:
552 (PlatformInfo.total_bytes_memory):
553 * Scripts/webkitpy/common/system/platforminfo_mock.py:
554 (PlatformInfo.total_bytes_memory):
555 (PlatformInfo.total_bytes_memory):
556 (PlatformInfo._win_version_tuple_from_cmd):
557 * Scripts/webkitpy/common/system/platforminfo_unittest.py:
558 (TestPlatformInfo.test_total_bytes_memory):
559 * Scripts/webkitpy/layout_tests/port/base.py:
560 (Port.default_child_processes):
561 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
562 (PortTest.test_default_child_processes):
563 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
564 (ChromiumMacPort.operating_system):
565 * Scripts/webkitpy/layout_tests/port/mac.py:
566 (MacPort.default_child_processes):
567 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
568 (TestMacPort.test_default_child_processes):
570 2012-06-19 Dirk Pranke <dpranke@chromium.org>
572 new-run-webkit-tests reports unexpected pass of pixel tests when pixel testing is disabled
573 https://bugs.webkit.org/show_bug.cgi?id=85446
575 Reviewed by Simon Fraser.
577 Embed whether pixel testing was enabled into the results.json.
579 * Scripts/webkitpy/layout_tests/controllers/manager.py:
582 2012-06-19 Zoltan Horvath <zoltan@webkit.org>
584 [Qt] Modify HTTPS port to 8443 for performance tests
585 https://bugs.webkit.org/show_bug.cgi?id=89442
587 Reviewed by Ryosuke Niwa.
589 We should be consistent with the default HTTPS port and with the changelog of r119188.
591 * Scripts/webkitpy/performance_tests/perftest.py:
592 (ReplayServer.__init__):
594 2012-06-19 Mike West <mkwst@chromium.org>
596 Introduce ENABLE_CSP_NEXT configuration flag.
597 https://bugs.webkit.org/show_bug.cgi?id=89300
599 Reviewed by Adam Barth.
601 The 1.0 draft of the Content Security Policy spec is just about to
602 move to Last Call. We'll hide work on the upcoming 1.1 spec behind
603 this ENABLE flag, disabled by default.
605 Spec: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html
607 * Scripts/webkitperl/FeatureList.pm:
608 * qmake/mkspecs/features/features.pri:
610 2012-06-19 Christophe Dumez <christophe.dumez@intel.com>
612 [EFL] EFL's LayoutTestController does not support setTextDirection
613 https://bugs.webkit.org/show_bug.cgi?id=87481
615 Reviewed by Hajime Morita.
617 Implement setTextDirection in EFL's LayoutTestController and
618 properly reset its value between test cases to avoid flakiness.
620 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
621 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
622 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
623 (LayoutTestController::setTextDirection):
625 2012-06-19 Kristóf Kosztyó <kkristof@inf.u-szeged.hu>
627 [Qt] Temporarily disable xvfb driver in nrwt
628 https://bugs.webkit.org/show_bug.cgi?id=88414
630 Reviewed by Csaba Osztrogonác.
632 * Scripts/webkitpy/layout_tests/port/qt.py:
633 (QtPort._build_driver):
635 2012-06-18 Joone Hur <joone.hur@intel.com>
637 [EFL] Fontconfig can't be linked properly
638 https://bugs.webkit.org/show_bug.cgi?id=89418
640 Unreviewed build fix.
642 Make Fontconfig be linked correctly.
644 * MiniBrowser/efl/CMakeLists.txt: add FONTCONFIG_LIBRARIES to MiniBrowser_LIBRARIES.
646 2012-06-18 Joone Hur <joone.hur@intel.com>
648 Unreviewed. Updating email for committers.py script.
650 * Scripts/webkitpy/common/config/committers.py:
652 2012-06-18 Simon Fraser <simon.fraser@apple.com>
654 Fix a typo that caused TestFailures to have a syntax error.
656 Sadly TestFailures is broken for another reason now too:
657 https://bugs.webkit.org/show_bug.cgi?id=89419
659 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ViewController.js:
660 (ViewController.prototype._domForBuildName):
662 2012-06-18 Simon Fraser <simon.fraser@apple.com>
664 Provide bug links for suspicious commits
665 https://bugs.webkit.org/show_bug.cgi?id=89408
667 Reviewed by Adam Barth.
669 Add links to bugs for the suspicious commits if we have bug data.
671 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/Bugzilla.js:
672 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
673 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
674 (ol.notifications>li ul.causes>li>div.description>span>span.bugID::before):
675 (ol.notifications>li ul.causes>li>div.description>span>span.bugID>a):
677 2012-06-18 Amy Ousterhout <aousterh@chromium.org>
679 [Chromium] DeviceOrientation Cleanup
680 https://bugs.webkit.org/show_bug.cgi?id=89354
682 Reviewed by Kent Tamura.
684 * DumpRenderTree/chromium/WebViewHost.h: added OVERRIDE specifier for virtual function
687 2012-06-18 James Robinson <jamesr@chromium.org>
689 [chromium] Stop passing deprecated 'direct' parameter to webkit_support::CreateGraphicsContext3D
690 https://bugs.webkit.org/show_bug.cgi?id=89254
692 Reviewed by Adrienne Walker.
694 This parameter doesn't mean anything since this codepath is only used for onscreen contexts and is deprecated
697 * DumpRenderTree/chromium/WebViewHost.cpp:
698 (WebViewHost::createGraphicsContext3D):
700 2012-06-18 Simon Fraser <simon.fraser@apple.com>
702 Minor fix suggested by Adam Barth.
704 Use $(this._what).empty(); rather than removing children one at a time.
705 For some reason removeAllChildren() is undefined on this node.
707 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
709 2012-06-18 Simon Fraser <simon.fraser@apple.com>
711 Show TOT revision in garden-o-matic, and make the revisions into links
712 https://bugs.webkit.org/show_bug.cgi?id=89396
714 Reviewed by Adam Barth.
716 The "latest revision" notification now reads "Latest revision processed by every bot: NN (trunk is at NN)"
717 where the revisions are links to trac.
719 To avoid setting innerHTML, I made base.createLinkNode() and used it in a bunch of places, which had
720 the knock-on effect of flipping the target and href attributes for anchors in some test output.
722 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ViewController.js:
723 (ViewController.prototype._displayTesters.updateList.list):
724 (ViewController.prototype._displayTesters.updateList):
725 (ViewController.prototype._domForRegressionRange.trac.commitDataForRevisionRange):
726 (ViewController.prototype._domForRegressionRange):
727 (ViewController.prototype._domForAuxiliaryUIElements):
728 (ViewController.prototype._domForBuildName):
729 (ViewController.prototype):
730 (ViewController.prototype.):
731 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
732 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
733 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
734 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
735 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
737 2012-06-18 Csaba Osztrogonác <ossy@webkit.org>
739 REGRESSION(r100558): NRWT should work without SVN or GIT
740 https://bugs.webkit.org/show_bug.cgi?id=76630
742 Reviewed by Dirk Pranke.
744 NRWT is not supposed to have a requirement that we have an
745 actual SVN or Git checkout, and we were unnecessarily
746 initializing the checkout. This patch removes that line :).
748 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
751 2012-06-18 Zan Dobersek <zandobersek@gmail.com>
753 [garden-o-matic] Add support for the GTK builders
754 https://bugs.webkit.org/show_bug.cgi?id=89360
756 Reviewed by Adam Barth.
758 Add the 'gtk' platform, essentially a copy of the 'apple' platform since
759 both get their data from build.webkit.org.
761 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
764 2012-06-18 Nico Weber <thakis@chromium.org>
766 [chromium/mac] Unbreak smooth scrolling.
767 https://bugs.webkit.org/show_bug.cgi?id=89327
769 Reviewed by Dimitri Glazkov.
771 Broken by Sam in r115589 / r115591.
773 * DumpRenderTree/mac/DumpRenderTree.mm:
774 (resetDefaultsToConsistentValues):
775 * TestWebKitAPI/mac/InjectedBundleControllerMac.mm:
776 (TestWebKitAPI::InjectedBundleController::platformInitialize):
777 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
778 (WTR::InjectedBundle::platformInitialize):
780 2012-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
782 Unreviewed, rolling out r120541, r120547, and r120548.
783 http://trac.webkit.org/changeset/120541
784 http://trac.webkit.org/changeset/120547
785 http://trac.webkit.org/changeset/120548
786 https://bugs.webkit.org/show_bug.cgi?id=89383
788 This approach doesn't work for WebKit2 (Requested by abarth on
791 * DumpRenderTree/LayoutTestController.cpp:
792 (setBackingScaleFactorCallback):
793 (LayoutTestController::staticFunctions):
794 * DumpRenderTree/LayoutTestController.h:
795 (LayoutTestController):
796 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
797 (LayoutTestController::setBackingScaleFactor):
798 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
799 (LayoutTestController::setBackingScaleFactor):
800 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
801 (LayoutTestController::setBackingScaleFactor):
802 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
803 (LayoutTestController::setBackingScaleFactor):
804 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
805 (LayoutTestController::setBackingScaleFactor):
806 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
807 (LayoutTestController::setBackingScaleFactor):
808 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
809 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
810 (WTR::InjectedBundle::didReceiveMessage):
811 (WTR::InjectedBundle::postSetBackingScaleFactor):
813 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
815 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
816 (WTR::LayoutTestController::setBackingScaleFactor):
818 (WTR::LayoutTestController::callSetBackingScaleFactorCallback):
819 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
820 (LayoutTestController):
821 * WebKitTestRunner/TestInvocation.cpp:
822 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
824 2012-06-18 Zan Dobersek <zandobersek@gmail.com>
826 REGRESSION(r120546): It made 3 webkitpy tests fail
827 https://bugs.webkit.org/show_bug.cgi?id=89332
829 Reviewed by Adam Barth.
831 Update the BaselineOptimizer unittest after r120546.
833 * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
834 (BaselineOptimizerTest.test_no_add_mac_future):
835 (BaselineOptimizerTest.test_mac_future):
836 (BaselineOptimizerTest.test_complex_shadowing):
838 2012-06-18 Dirk Pranke <dpranke@chromium.org>
840 new-run-webkit-tests output gets confused when logging
841 https://bugs.webkit.org/show_bug.cgi?id=63793
843 Reviewed by Adam Barth.
845 Ship all of the log messages generated in the worker back
846 to the manager; this allows the messages to be properly
847 serialized to stderr and for the meter to flush its output correctly.
849 Note however that this will likely result in messages to be
850 logged out of order between workers; I'm not sure that there's
851 an easy way to fix this short of buffering a potentially
852 unbounded amount of data. It might be better to just log through
853 stderr unless we're in 'metering' mode, but it's also worth
854 noting that we already get messages out of order through stderr
857 * Scripts/webkitpy/layout_tests/controllers/manager.py:
858 (Manager.handle_done):
859 (Manager.handle_finished_test):
860 (Manager._log_messages):
861 * Scripts/webkitpy/layout_tests/controllers/worker.py:
863 (Worker._set_up_logging):
867 (Worker.run_single_test):
869 (_WorkerLogHandler.__init__):
870 (_WorkerLogHandler.emit):
871 * Scripts/webkitpy/layout_tests/views/metered_stream.py:
872 (MeteredStream.write):
873 (MeteredStream.writeln):
874 * Scripts/webkitpy/layout_tests/views/printing.py:
877 2012-06-18 Zan Dobersek <zandobersek@gmail.com>
879 [garden-o-matic] Builder names without underscores cause incorrect BuildSelector behavior
880 https://bugs.webkit.org/show_bug.cgi?id=89362
882 Reviewed by Simon Fraser.
884 Replace white spaces, braces and dots in the builder name with underscores. This
885 way the JQuery tabs will be properly matched with the according container.
887 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
889 2012-06-18 Dirk Pranke <dpranke@chromium.org>
891 nrwt: metered output doesn't handle ^C cleanly
892 https://bugs.webkit.org/show_bug.cgi?id=89249
894 Reviewed by Tony Chang.
896 If you ctrl-c a running nrwt (w/o --verbose), then all but
897 two characters of the last update are erased, and then we print
898 "interrupted, exiting" as an update, which itself then gets
899 erased. Fix this so that we flush the meter (making the last
900 update persistent, so that we print the ^C for a visual clue),
901 print the interrupt message, and move on ...
903 * Scripts/webkitpy/layout_tests/controllers/manager.py:
904 (Manager._run_tests):
905 * Scripts/webkitpy/layout_tests/views/metered_stream.py:
906 (MeteredStream.flush):
907 * Scripts/webkitpy/layout_tests/views/printing.py:
912 2012-06-18 Xianzhu Wang <wangxianzhu@chromium.org>
914 [Chromium] Change back "linuxish" to "linux" and include WebFontRendering.cpp on Android
915 https://bugs.webkit.org/show_bug.cgi?id=89228
917 Reviewed by Tony Chang.
919 * DumpRenderTree/chromium/LayoutTestController.cpp:
920 * DumpRenderTree/chromium/TestShellAndroid.cpp:
922 2012-06-18 Mario Sanchez Prada <msanchez@igalia.com>
924 [GTK] Get rid of DumpRenderTreeSupportGtk::{in|de}crementAccessibilityValue
925 https://bugs.webkit.org/show_bug.cgi?id=89226
927 Reviewed by Martin Robinson.
929 Implement increment() and decrement() functions in term of the AtkValue interface,
930 instead of using DumpRenderTreeSupportGtk helper class.
932 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
933 (AccessibilityUIElement::intValue):
934 (AccessibilityUIElement::minValue):
935 (AccessibilityUIElement::maxValue):
937 (AccessibilityUIElement::increment):
938 (AccessibilityUIElement::decrement):
940 2012-06-17 Simon Fraser <simon.fraser@apple.com>
942 garden-o-matic 'Results' panel is broken for the Apple platform
943 https://bugs.webkit.org/show_bug.cgi?id=89310
945 Reviewed by Adam Barth.
947 For platforms that don't use accumulated build directories on the server,
948 carry along buildLocation data with buildInfo, so that we know where to
949 look for the test results files for a given test.
951 Renamed historicalResultsSummaryURLs to historicalResultsLocations because
952 it now returns an array of objects with buildNumber, revision and url info.
954 Fixed results.fetchResultsURLs() to use this data to find results.
956 Fixed the results display to not scroll when you click on a test to see the results.
957 Made the h3s look less ugly
959 Don't try to show the flakiness dashboard for the Apple platform.
961 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
962 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
963 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
964 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
965 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
966 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
967 (.results-view .top-panel):
970 2012-06-16 Simon Fraser <simon.fraser@apple.com>
972 Make garden-o-matic work for the Apple Mac port
973 https://bugs.webkit.org/show_bug.cgi?id=84642
975 Reviewed by Adam Barth.
977 Make garden-o-matic work for the Apple, webkit.org-hosted builders and testers. This involved
978 educating the scripts in various ways:
979 * Wrap up platform-related differences in config.kPlatforms[]
980 * Add a <select> to switch between platforms, and support a url parameter, ?platform=chromium/apple
981 * The webkit.org bots don't accumulate test results into a single directory like the chromium.org ones do,
982 so add config.haveBuilderAccumulatedResults and logic in fetchResultsByBuilder() to find the most
983 recent build with valid results.
984 * The webkit.org bots often generate results directories with no layout test data (e.g. when testers
985 try to test a build that has already been deleted). Make walkHistory() more robust here.
986 * webkit.org uses differently named test result directories, that include the SVN revision as
987 well as the build number. That forces us to fetch more build info before we can get the
988 result directory URL.
989 * chromium.org serves raw directory listings for a builder's results directories. webkit.org serves
990 those with Twisted, so rather than scrape directory listings, we use buildbot JSON to find results
992 * Various URLs differ between webkit.org and chromium.org
993 * Better UI for the failures info, so that some info is visible even when not hovered.
995 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
996 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/LayoutTestResultsLoader.js:
997 (LayoutTestResultsLoader.prototype.set _fetchAndParseNRWTResults):
998 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
999 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
1000 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
1001 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/net.js:
1002 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
1003 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
1004 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary-mock.js:
1005 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
1006 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
1007 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
1008 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf.js:
1009 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
1010 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
1011 (ol.notifications>li table.failures):
1012 (ol.notifications>li:hover table.failures):
1013 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css:
1014 (#onebar #platform-picker):
1015 * Scripts/webkitpy/layout_tests/port/builders.py:
1017 2012-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
1019 Unreviewed, rolling out r120536.
1020 http://trac.webkit.org/changeset/120536
1021 https://bugs.webkit.org/show_bug.cgi?id=89296
1023 Does not compile on chromium-linux (Requested by abarth on
1026 * DumpRenderTree/chromium/LayoutTestController.cpp:
1027 (LayoutTestController::reset):
1028 (LayoutTestController::setTextSubpixelPositioning):
1029 * DumpRenderTree/chromium/TestShellAndroid.cpp:
1031 2012-06-16 Adam Barth <abarth@webkit.org>
1033 layoutTestController.setBackingScaleFactor is redundant with (and less awesome than) internals.settings.setDeviceScaleFactor
1034 https://bugs.webkit.org/show_bug.cgi?id=89274
1036 Reviewed by Levi Weintraub.
1038 Delete (mostly stub) implementations of layoutTestController.setBackingScaleFactor.
1039 Note: The WebKit2 API that setBackingScaleFactor exercises is still
1040 tested by API-level tests.
1042 * DumpRenderTree/LayoutTestController.cpp:
1043 (LayoutTestController::staticFunctions):
1044 * DumpRenderTree/LayoutTestController.h:
1045 (LayoutTestController):
1046 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
1047 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1048 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1049 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1050 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1051 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1052 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
1053 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1054 (WTR::InjectedBundle::didReceiveMessage):
1056 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1058 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1060 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
1061 (LayoutTestController):
1062 * WebKitTestRunner/TestInvocation.cpp:
1063 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1065 2012-06-16 Xianzhu Wang <wangxianzhu@chromium.org>
1067 [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
1068 https://bugs.webkit.org/show_bug.cgi?id=89228
1070 Reviewed by Tony Chang.
1072 * DumpRenderTree/chromium/LayoutTestController.cpp:
1073 (LayoutTestController::reset):
1074 (LayoutTestController::setTextSubpixelPositioning):
1075 * DumpRenderTree/chromium/TestShellAndroid.cpp:
1077 2012-06-15 Adam Barth <abarth@webkit.org>
1079 garden-o-matic's results.js should use RequestTracker
1080 https://bugs.webkit.org/show_bug.cgi?id=89257
1082 Reviewed by Dimitri Glazkov.
1084 We wrote results.js before we recognized the RequestTracker pattern.
1085 This patch replaces the manual implementations of RequestTracker with
1088 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
1090 2012-06-15 Darin Adler <darin@apple.com>
1092 * Scripts/webkitpy/bindings: Added property svn:ignore.
1094 2012-06-15 Sheriff Bot <webkit.review.bot@gmail.com>
1096 Unreviewed, rolling out r120511.
1097 http://trac.webkit.org/changeset/120511
1098 https://bugs.webkit.org/show_bug.cgi?id=89255
1100 Breaks at least Android builder (Requested by wangxianzhu on
1103 * DumpRenderTree/chromium/LayoutTestController.cpp:
1104 (LayoutTestController::reset):
1105 (LayoutTestController::setTextSubpixelPositioning):
1107 2012-06-15 Xianzhu Wang <wangxianzhu@chromium.org>
1109 [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
1110 https://bugs.webkit.org/show_bug.cgi?id=89228
1112 Reviewed by Tony Chang.
1114 * DumpRenderTree/chromium/LayoutTestController.cpp:
1115 (LayoutTestController::reset):
1116 (LayoutTestController::setTextSubpixelPositioning):
1118 2012-06-15 Dirk Pranke <dpranke@chromium.org>
1120 webkitpy: remove DummyOptions and clean up the code in Port.get_option() and Port.set_option_default()
1121 https://bugs.webkit.org/show_bug.cgi?id=89135
1123 Re-land change in r120370 with fix in
1124 PortFactory.get_from_builder_name() that changes BuilderOptions
1125 to an actual optparse.Values object.
1127 * Scripts/webkitpy/layout_tests/port/base.py:
1130 (Port.set_option_default):
1131 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
1132 (ChromiumWinTest.test_setup_environ_for_server_register_cygwin):
1133 * Scripts/webkitpy/layout_tests/port/factory.py:
1135 (PortFactory.get_from_builder_name):
1136 * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
1137 (FactoryTest.test_get_from_builder_name):
1138 * Scripts/webkitpy/style/checkers/test_expectations.py:
1139 (TestExpectationsChecker._determine_port_from_expectations_path):
1140 * Scripts/webkitpy/tool/mocktool.py:
1141 (MockOptions.ensure_value):
1143 2012-06-15 Bill Budge <bbudge@chromium.org>
1145 Add bbudge@chromium.org to committers.py
1149 * Scripts/webkitpy/common/config/committers.py:
1151 2012-06-15 Csaba Osztrogonác <ossy@webkit.org>
1153 Unreviewed style fix after r120351.
1155 * BuildSlaveSupport/build.webkit.org-config/public_html/default.css:
1158 2012-06-15 Csaba Osztrogonác <ossy@webkit.org>
1160 master.cfg cleanup, remove unnecessary workaround
1161 https://bugs.webkit.org/show_bug.cgi?id=88994
1163 Reviewed by Lucas Forschler.
1165 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1166 (loadBuilderConfig):
1168 2012-06-15 Dirk Pranke <dpranke@chromium.org>
1170 webkit-patch rebaseline-expectations should only rebaseline the appropriate suffixes for the failure in question
1171 https://bugs.webkit.org/show_bug.cgi?id=88581
1173 Reviewed by Adam Barth.
1175 Make sure we only optimize the suffixes we rebaselined during
1176 rebaseline-expectations, and not all suffixes for a test.
1177 While optimizing is somewhere between harmless and good, it's also confusing :)
1179 * Scripts/webkitpy/tool/commands/rebaseline.py:
1180 (RebaselineExpectations._rebaseline_port):
1181 (RebaselineExpectations.execute):
1182 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1184 2012-06-15 Csaba Osztrogonác <ossy@webkit.org>
1186 Update builder.html template for newer buildmaster
1187 https://bugs.webkit.org/show_bug.cgi?id=89207
1189 Rebasing builder.html template from v0.8.3 to v0.8.6p1.
1191 Reviewed by Zoltan Herczeg.
1193 * BuildSlaveSupport/build.webkit.org-config/templates/builder.html:
1195 2012-06-15 Csaba Osztrogonác <ossy@webkit.org>
1197 Add ForceScheduler to build.webkit.org
1198 https://bugs.webkit.org/show_bug.cgi?id=88982
1200 Reviewed by Ryosuke Niwa.
1202 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1203 (loadBuilderConfig):
1205 2012-06-15 Christophe Dumez <christophe.dumez@intel.com>
1207 [EFL][WK2] Add title support to Ewk_View
1208 https://bugs.webkit.org/show_bug.cgi?id=89095
1210 Reviewed by Kenneth Rohde Christiansen.
1212 Update the MiniBrowser so it listens for the "title,change"
1213 signal on the view and keeps the browser window title
1216 * MiniBrowser/efl/main.c:
1220 2012-06-15 Christophe Dumez <christophe.dumez@intel.com>
1222 [WK2][EFL] Implement navigation back/forward in Ewk_View
1223 https://bugs.webkit.org/show_bug.cgi?id=89173
1225 Reviewed by Kenneth Rohde Christiansen.
1227 Implement navigation back / forward in MiniBrowser. Use
1228 'F1' to navigate back and 'F2' to navigate forward.
1230 * MiniBrowser/efl/main.c:
1233 2012-06-15 Christophe Dumez <christophe.dumez@intel.com>
1235 [EFL] EFL's LayoutTestController does not support titleTextDirection
1236 https://bugs.webkit.org/show_bug.cgi?id=86475
1238 Reviewed by Hajime Morita.
1240 Add titleTextDirection getter and setter to LayoutTestController and
1241 expose its value to JavaScript.
1242 Update the titleTextDirection value from EFL's "title,changed"
1243 callback in DumpRenderTree.
1245 * DumpRenderTree/LayoutTestController.cpp:
1246 (LayoutTestController::LayoutTestController):
1247 (getTitleTextDirectionCallback):
1248 (LayoutTestController::staticValues):
1249 * DumpRenderTree/LayoutTestController.h:
1250 (LayoutTestController::titleTextDirection):
1251 (LayoutTestController::setTitleTextDirection):
1252 (LayoutTestController):
1253 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1254 (DumpRenderTreeChrome::onFrameTitleChanged):
1256 2012-06-15 Christophe Dumez <christophe.dumez@intel.com>
1258 [EFL][WK2] Implement reload / stop in Ewk_View
1259 https://bugs.webkit.org/show_bug.cgi?id=89168
1261 Reviewed by Kenneth Rohde Christiansen.
1263 Implement view reload / stop loading in MiniBrowser.
1264 Use 'F5' for reload and 'F6' for stopping the load.
1266 * MiniBrowser/efl/main.c:
1270 2012-06-15 Hironori Bono <hbono@chromium.org>
1272 Allow platforms to choose whether to remove markers on editing
1273 https://bugs.webkit.org/show_bug.cgi?id=88838
1275 Reviewed by Hajime Morita.
1277 This change implements WebViewHost::checkTextOfParagraph so DumpRenderTree can
1280 * DumpRenderTree/chromium/WebViewHost.cpp:
1281 (WebViewHost::checkTextOfParagraph): Implement this function with our mock spell checker and grammar checker.
1282 * DumpRenderTree/chromium/WebViewHost.h:
1283 (WebViewHost): Override WebSpellCheckClient::checkTextOfParagraph.
1285 2012-06-15 Sheriff Bot <webkit.review.bot@gmail.com>
1287 Unreviewed, rolling out r120370.
1288 http://trac.webkit.org/changeset/120370
1289 https://bugs.webkit.org/show_bug.cgi?id=89183
1291 Broke webkit-patch rebaseline (Requested by zdobersek on
1294 * Scripts/webkitpy/layout_tests/port/base.py:
1296 (DummyOptions.__init__):
1297 (DummyOptions.__init__.this):
1300 (Port.set_option_default):
1301 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
1302 (ChromiumWinTest.RegisterCygwinOption):
1303 (ChromiumWinTest.RegisterCygwinOption.__init__):
1304 (ChromiumWinTest.test_setup_environ_for_server_register_cygwin):
1305 * Scripts/webkitpy/style/checkers/test_expectations.py:
1306 (TestExpectationsChecker._determine_port_from_expectations_path):
1307 * Scripts/webkitpy/tool/mocktool.py:
1308 (MockOptions.update):
1310 2012-06-14 Xianzhu Wang <wangxianzhu@chromium.org>
1312 [Chromium-Android] Initialize font rendering in DumpRenderTree
1313 https://bugs.webkit.org/show_bug.cgi?id=89133
1315 Reviewed by Adam Barth.
1317 * DumpRenderTree/chromium/LayoutTestController.cpp:
1318 (LayoutTestController::reset):
1319 (LayoutTestController::setTextSubpixelPositioning):
1320 * DumpRenderTree/chromium/TestShellAndroid.cpp:
1323 2012-06-14 Dongwoo Im <dw.im@samsung.com>
1325 [EFL] [DRT] Reset the WebAudio setting on DumpRenderTree
1326 https://bugs.webkit.org/show_bug.cgi?id=88622
1328 Reviewed by Philippe Normand.
1330 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp: Reset the setting of the Web Audio feature as default.
1331 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1333 2012-06-14 Xianzhu Wang <wangxianzhu@chromium.org>
1335 [Chromium-Android] Should retry a few times when failed to start DumpRenderTree
1336 https://bugs.webkit.org/show_bug.cgi?id=89124
1338 Reviewed by Dirk Pranke.
1340 * Scripts/webkitpy/layout_tests/port/chromium_android.py:
1341 (ChromiumAndroidDriver._start):
1342 (ChromiumAndroidDriver):
1343 (ChromiumAndroidDriver._start_once):
1345 2012-06-14 Tony Gentilcore <tonyg@chromium.org>
1347 Update webpagereplay to 1.1.2
1348 https://bugs.webkit.org/show_bug.cgi?id=89118
1350 This includes the following patch which avoids pkg_resources import errors:
1351 http://code.google.com/p/web-page-replay/source/detail?r=476
1353 Reviewed by Dirk Pranke.
1355 * Scripts/webkitpy/thirdparty/__init__.py:
1356 (AutoinstallImportHook._install_webpagereplay):
1358 2012-06-14 Ryosuke Niwa <rniwa@webkit.org>
1360 Get rid of FAIL test expectation
1361 https://bugs.webkit.org/show_bug.cgi?id=89137
1363 Reviewed by Dirk Pranke.
1365 * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
1366 (ResultSummaryTest.test_summarized_results_wontfix):
1367 * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
1368 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1369 (JSONLayoutResultsGenerator):
1370 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1371 (result_was_expected):
1372 (suffixes_for_expectations):
1373 (TestExpectationsModel._add_test):
1375 (TestExpectations.get_rebaselining_failures):
1376 (TestExpectations.remove_configuration_from_test):
1377 * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
1378 (FunctionsTest.test_result_was_expected):
1379 (FunctionsTest.test_suffixes_for_expectations):
1380 (TestExpectationSerializerTests.test_parsed_expectations_string):
1381 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
1382 (test_test_expectations):
1383 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
1384 (TestExpectationsTestCase.test_valid_expectations):
1386 2012-06-14 Dirk Pranke <dpranke@chromium.org>
1388 webkitpy: remove DummyOptions and clean up the code in Port.get_option() and Port.set_option_default()
1389 https://bugs.webkit.org/show_bug.cgi?id=89135
1391 Reviewed by Ryosuke Niwa.
1393 This patch is just some minor cleanup and simplification. There
1394 should be no functional changes here.
1396 * Scripts/webkitpy/layout_tests/port/base.py:
1399 (Port.set_option_default):
1400 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
1401 (ChromiumWinTest.test_setup_environ_for_server_register_cygwin):
1402 * Scripts/webkitpy/style/checkers/test_expectations.py:
1403 (TestExpectationsChecker._determine_port_from_expectations_path):
1404 * Scripts/webkitpy/tool/mocktool.py:
1405 (MockOptions.ensure_value):
1407 2012-06-14 Ian Vollick <vollick@chromium.org>
1409 [chromium] Certain settings in CCSettings could be global
1410 https://bugs.webkit.org/show_bug.cgi?id=88384
1412 Reviewed by James Robinson.
1414 * DumpRenderTree/chromium/TestShell.cpp:
1415 (TestShell::TestShell):
1416 (TestShell::resetWebSettings):
1417 (TestShell::setPerTilePaintingEnabled):
1418 * DumpRenderTree/chromium/TestShell.h:
1420 * DumpRenderTree/chromium/WebPreferences.cpp:
1421 (WebPreferences::reset):
1422 (WebPreferences::applyTo):
1423 * DumpRenderTree/chromium/WebPreferences.h:
1426 2012-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
1428 Unreviewed, rolling out r120352.
1429 http://trac.webkit.org/changeset/120352
1430 https://bugs.webkit.org/show_bug.cgi?id=89120
1432 It seems something is still wrong with it :/ (Requested by
1435 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1437 (BuildFactory.__init__):
1438 (TestFactory.__init__):
1439 (BuildAndTestFactory.__init__):
1440 (BuildAndPerfTestFactory.__init__):
1441 (BuildAndPerfTestWebKit2Factory.__init__):
1442 (DownloadAndPerfTestFactory.__init__):
1443 (DownloadAndPerfTestWebKit2Factory.__init__):
1445 2012-06-14 Jia Pu <jpu@apple.com>
1447 Mark text with text alternative with blue underline.
1448 https://bugs.webkit.org/show_bug.cgi?id=83047
1450 Reviewed by NOBODY Enrica Casucci.
1452 * DumpRenderTree/mac/TextInputController.m:
1453 (+[TextInputController isSelectorExcludedFromWebScript:]):
1454 (+[TextInputController webScriptNameForSelector:]):
1455 (-[TextInputController dictatedStringWithPrimaryString:alternative:alternativeOffset:alternativeLength:]):
1457 2012-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
1459 Unreviewed, rolling out r120353.
1460 http://trac.webkit.org/changeset/120353
1461 https://bugs.webkit.org/show_bug.cgi?id=89119
1463 It seems we still need this workaround (Requested by Ossy on
1466 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1467 (loadBuilderConfig):
1469 2012-06-14 Csaba Osztrogonác <ossy@webkit.org>
1471 master.cfg cleanup, remove unnecessary workaround
1472 https://bugs.webkit.org/show_bug.cgi?id=88994
1474 Reviewed by Lucas Forschler.
1476 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1477 (loadBuilderConfig):
1479 2012-06-14 Csaba Osztrogonác <ossy@webkit.org>
1481 master.cfg cleanup, pass BuildStep instances instead of BuildStep subclasses
1482 https://bugs.webkit.org/show_bug.cgi?id=89001
1484 Reviewed by Lucas Forschler.
1486 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1488 (BuildFactory.__init__):
1489 (TestFactory.__init__):
1490 (BuildAndTestFactory.__init__):
1491 (BuildAndPerfTestFactory.__init__):
1492 (BuildAndPerfTestWebKit2Factory.__init__):
1493 (DownloadAndPerfTestFactory.__init__):
1494 (DownloadAndPerfTestWebKit2Factory.__init__):
1496 2012-06-14 Csaba Osztrogonác <ossy@webkit.org>
1498 Unhide login form on the build.webkit.org
1499 https://bugs.webkit.org/show_bug.cgi?id=88981
1501 Reviewed by Lucas Forschler.
1503 * BuildSlaveSupport/build.webkit.org-config/public_html/default.css:
1505 2012-06-14 Zan Dobersek <zandobersek@gmail.com>
1507 [Gtk] Add support in DumpRenderTree for tracking repaints
1508 https://bugs.webkit.org/show_bug.cgi?id=87658
1510 Reviewed by Martin Robinson.
1512 Reimplement the displayWebView method in DumpRenderTree - force a
1513 repaint before starting tracking repaints and resetting them.
1515 When gathering pixel output from a web view, if tracking repaints,
1516 paint an overlay over the output with the overlay being clear in the
1517 areas where the repaints occurred.
1519 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1521 (resetDefaultsToConsistentValues):
1522 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
1524 (fillRepaintOverlayIntoContext):
1525 (createBitmapContextFromWebView):
1527 2012-06-14 Dirk Pranke <dpranke@chromium.org>
1529 new-run-webkit-tests doesn't find similar platform tests for a keyword
1530 https://bugs.webkit.org/show_bug.cgi?id=37956
1532 Reviewed by Ryosuke Niwa.
1534 This patches adds support for NRWT so that if you type
1535 "new-run-webkit-tests foo" it will run all the tests in foo as
1536 well as platform/foo for all of the platforms that are normally
1537 searched (this only applies to directories, not to individual tests).
1539 * Scripts/webkitpy/layout_tests/controllers/manager.py:
1540 (Manager.collect_tests):
1541 * Scripts/webkitpy/layout_tests/port/base.py:
1544 (Port._expanded_paths):
1545 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1546 (MainTest.test_no_http_tests):
1548 (MainTest.test_platform_tests_are_found):
1550 2012-06-14 Dirk Pranke <dpranke@chromium.org>
1552 NRWT should honor --skipped=[default|ignore|only], like ORWT does
1553 https://bugs.webkit.org/show_bug.cgi?id=66308
1555 Reviewed by Ryosuke Niwa.
1557 This patch adds support for ORWT's --skipped=(default|ignore|only)
1558 flag and cleans up the interaction between that and --ignore.
1560 Individual tests (but not directories) explicitly listed on the
1561 command line will always be run regardless of what is passed
1562 for --skipped and --ignore.
1564 This patch also changes the "found" and "running" log messages
1565 since it wasn't clear how the skipped tests were included in those numbers.
1567 * Scripts/webkitpy/layout_tests/controllers/manager.py:
1569 (Manager.collect_tests):
1570 (Manager.prepare_lists_and_print_output):
1571 * Scripts/webkitpy/layout_tests/port/test.py:
1572 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1573 (_set_up_derived_options):
1575 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1576 (MainTest.test_ignore_flag):
1578 (MainTest.test_skipped_flag):
1580 2012-06-14 Takashi Toyoshima <toyoshim@chromium.org>
1582 new-run-webkit-websocketserver must handle TLS related arguments
1583 https://bugs.webkit.org/show_bug.cgi?id=89079
1585 Reviewed by Dirk Pranke.
1587 PyWebSocket class must accept private_key, certificate, and
1588 ca_certificate arguments and pass them to launching pywebsocket.
1589 Also add ca_certificate handling to new-run-webkit-websocketserver.
1591 * Scripts/new-run-webkit-websocketserver:
1593 * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
1594 (PyWebSocket.__init__):
1595 (PyWebSocket._prepare_config):
1597 2012-06-14 Qi Zhang <qi.2.zhang@nokia.com>
1599 Unreviewed. Update my email.
1601 * Scripts/webkitpy/common/config/committers.py:
1603 2012-06-14 Takashi Toyoshima <toyoshim@chromium.org>
1605 Update pywebsocket to 0.7.6 from 0.7.4
1606 https://bugs.webkit.org/show_bug.cgi?id=88975
1608 Reviewed by Kent Tamura.
1610 This new version of pywebsocket introduce following features.
1611 - Allow handlers to send a close frame with empty body in response of
1612 a client initiated closing handshake
1613 - Implement perframe compression extension
1614 - Support client certificate authentication
1616 * Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING:
1617 * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py:
1618 (_create_control_frame):
1619 (Stream._receive_frame):
1620 (Stream.send_message):
1621 (Stream.receive_message):
1622 (Stream._send_closing_handshake):
1623 (Stream.close_connection):
1624 * Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py:
1625 (ExtensionParsingException):
1626 (ExtensionParsingException.__init__):
1627 (_parse_extension_param):
1631 (format_extensions):
1632 * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
1633 (_parse_compression_method):
1634 (_create_accepted_method_desc):
1635 (PerFrameCompressionExtensionProcessor):
1636 (PerFrameCompressionExtensionProcessor.__init__):
1637 (PerFrameCompressionExtensionProcessor._lookup_compression_processor):
1638 (PerFrameCompressionExtensionProcessor._get_compression_processor_response):
1639 (PerFrameCompressionExtensionProcessor.get_extension_response):
1640 (PerFrameCompressionExtensionProcessor.setup_stream_options):
1641 (PerFrameCompressionExtensionProcessor.get_compression_processor):
1642 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py:
1644 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py:
1645 (Handshaker._parse_extensions):
1646 (Handshaker._send_handshake):
1647 * Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py:
1648 (WebSocketServer._create_sockets):
1649 (_get_logger_from_class):
1650 (_configure_logging):
1651 (_build_option_parser):
1653 * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
1654 (RepeatedXorMasker.mask):
1656 2012-06-14 Zoltan Horvath <zoltan@webkit.org>
1658 [Qt] Remove USE(QT_IMAGE_DECODER) macro, since we don't use it anymore
1660 Reviewed by Noam Rosenthal.
1662 * qmake/mkspecs/features/features.prf:
1664 2012-06-14 Christophe Dumez <christophe.dumez@intel.com>
1666 [WK2] Add implementation for registerIntentService in WebFrameLoaderClient
1667 https://bugs.webkit.org/show_bug.cgi?id=88399
1669 Reviewed by Kenneth Rohde Christiansen.
1671 Update initialization of WKPageLoaderClient.
1673 * MiniBrowser/mac/BrowserWindowController.m:
1674 (-[BrowserWindowController awakeFromNib]):
1675 * WebKitTestRunner/TestController.cpp:
1676 (WTR::TestController::initialize):
1678 2012-06-14 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
1680 [EFL] [DRT] Implement setDomainRelaxationForbiddenForURLScheme in EFL DRT
1681 https://bugs.webkit.org/show_bug.cgi?id=84577
1683 Reviewed by Ryosuke Niwa.
1685 Add missing implementation setDomainRelaxationForbiddenForURLScheme to EFL's
1686 LayoutTestController.
1688 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1689 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
1691 2012-06-13 Christophe Dumez <christophe.dumez@intel.com>
1693 [WK2] Add implementation for dispatchIntent in WebFrameLoaderClient
1694 https://bugs.webkit.org/show_bug.cgi?id=88340
1696 Reviewed by Kenneth Rohde Christiansen.
1698 Update initialization of WKPageLoaderClient.
1700 * MiniBrowser/mac/BrowserWindowController.m:
1701 (-[BrowserWindowController awakeFromNib]):
1702 * WebKitTestRunner/TestController.cpp:
1703 (WTR::TestController::initialize):
1705 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
1707 Unreviewed, rolling out r120268.
1708 http://trac.webkit.org/changeset/120268
1709 https://bugs.webkit.org/show_bug.cgi?id=89060
1711 WebCompositor::setPerTilePaintingEnabled hits an assertion in
1712 DEBUG (Requested by dominicc|work on #webkit).
1714 * DumpRenderTree/chromium/WebPreferences.cpp:
1715 (WebPreferences::applyTo):
1717 2012-06-13 Tim Horton <timothy_horton@apple.com>
1719 REGRESSION (r120252): run-webkit-tests on Mac fails
1720 https://bugs.webkit.org/show_bug.cgi?id=89057
1722 Reviewed by Dan Bernstein.
1724 get_option will happily return None (the default only kicks in if
1725 the option is actually *not set*). We should instead check get_option's
1726 return value and default to "x86_64" architecture ourselves.
1728 * Scripts/webkitpy/layout_tests/port/mac.py:
1731 2012-06-13 Ian Vollick <vollick@chromium.org>
1733 [chromium] Certain settings in CCSettings could be global
1734 https://bugs.webkit.org/show_bug.cgi?id=88384
1736 Reviewed by James Robinson.
1738 * DumpRenderTree/chromium/WebPreferences.cpp:
1739 (WebPreferences::applyTo):
1741 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1743 new-run-webkit-tests does not support --32-bit like ORWT did
1744 https://bugs.webkit.org/show_bug.cgi?id=71634
1746 Reviewed by Ojan Vafai.
1748 This patch adds support for 32-bit apple mac builds, adding the
1749 --32-bit flag for compatibility with ORWT and fixing the port
1750 architecture() definition to actually return the correct values.
1752 * Scripts/webkitpy/layout_tests/port/apple.py:
1753 (ApplePort._generate_all_test_configurations):
1754 * Scripts/webkitpy/layout_tests/port/factory.py:
1756 * Scripts/webkitpy/layout_tests/port/mac.py:
1759 (MacPort._build_driver_flags):
1760 (MacPort.setup_environ_for_server):
1761 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
1762 (test_sample_process_throws_exception):
1764 (test_32bit.run_script):
1766 (test_64bit.run_script):
1767 * Scripts/webkitpy/layout_tests/port/webkit.py:
1768 (WebKitPort._build_driver):
1769 (WebKitPort._build_driver_flags):
1770 * Scripts/webkitpy/layout_tests/port/win.py:
1773 2012-06-13 Ryosuke Niwa <rniwa@webkit.org>
1775 Remove webkitpy code to support legacy test_expectations.txt files
1776 https://bugs.webkit.org/show_bug.cgi?id=89038
1778 Reviewed by Dirk Pranke.
1780 * Scripts/webkitpy/layout_tests/port/base.py:
1781 (Port.path_to_test_expectations_file):
1782 (Port.expectations_dict):
1783 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1784 (PortTest.test_uses_test_expectations_file):
1785 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
1786 (WebKitPortTest.test_path_to_test_expectations_file):
1787 (test_test_expectations):
1788 * Scripts/webkitpy/style/checker.py:
1789 (CheckerDispatcher.should_skip_without_warning):
1790 (CheckerDispatcher._create_checker):
1791 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
1792 (TestExpectationsTestCase._expect_port_for_expectations_path):
1793 * Scripts/webkitpy/tool/steps/commit.py:
1794 (Commit._check_test_expectations):
1795 * Scripts/webkitpy/tool/steps/commit_unittest.py:
1796 (CommitTest.test_check_test_expectations):
1798 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1800 nrwt: remove port.test_expectations() and port.test_expectations_overrides()
1801 https://bugs.webkit.org/show_bug.cgi?id=88948
1803 Reviewed by Ojan Vafai.
1805 In the final patch of this run, we remove the
1806 test_expectations() and test_expectation_overrides() methods
1807 from the Port class - callers must now use just
1808 expectations_dict().
1810 Note that support for the cascade in new-run-webkit-tests is
1811 complete but only Chromium uses it; webkit-patch
1812 rebaseline-expectations still does not support updating entries
1813 in any file other than the first expectations file, however.
1815 * Scripts/webkitpy/layout_tests/port/base.py:
1816 (Port.path_to_test_expectations_file):
1817 (Port.uses_test_expectations_file):
1818 (Port.expectations_files):
1819 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1820 (PortTest.test_additional_expectations):
1821 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
1822 (ChromiumPortTest.test_expectations_files):
1823 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
1824 (TestGoogleChromePort.test_get_google_chrome_port):
1825 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
1826 (test_test_expectations):
1827 (test_legacy_test_expectations):
1829 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1831 nrwt: implement the actual cascade of TestExpectations
1832 https://bugs.webkit.org/show_bug.cgi?id=88947
1834 Reviewed by Ojan Vafai.
1836 This change implements the actual cascade by removing the
1837 concept of 'overrides' from the TestExpectations object and
1838 parsing each file separately.
1840 There is an actual semantic change in this patch, in that
1841 setting an expectation on a directory in one file will override
1842 the expectations on any individual tests set in prior files. The
1843 test_overrides__directory() unit test verifies this.
1845 Otherwise, this patch mostly consists of deleting code :).
1847 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1848 (TestExpectationsModel.__init__):
1849 (TestExpectationsModel.add_expectation_line):
1850 (TestExpectationsModel._add_test):
1851 (TestExpectationsModel._already_seen_better_match):
1852 (TestExpectations.__init__):
1853 (TestExpectations._add_expectations):
1854 * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
1855 (test_overrides__directory):
1857 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1859 webkitpy: update callers to use port.expectation_dict() instead of test_expectations() and test_expectations_overrides()
1860 https://bugs.webkit.org/show_bug.cgi?id=88946
1862 Reviewed by Ojan Vafai.
1864 In preparation for fully supporting cascading expectations files
1865 and removing the 'overrides' concept.
1867 There should be no functional changes in this patch.
1869 * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
1870 (ManagerTest.test_update_summary_with_result):
1871 (ResultSummaryTest.get_result_summary):
1872 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1873 (TestExpectations.__init__):
1874 * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
1876 (SkippedTests.check):
1877 (RemoveConfigurationsTest.test_remove):
1879 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1880 (LintTest.test_all_configurations.FakePort.__init__):
1881 (LintTest.test_all_configurations.FakePort.expectations_dict):
1882 (LintTest.test_lint_test_files__errors):
1883 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1884 (test_overrides_are_included_correctly):
1886 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1888 webkitpy: rework the TestExpectations style checker in preparation for the cascade
1889 https://bugs.webkit.org/show_bug.cgi?id=88945
1891 Reviewed by Ojan Vafai.
1893 This patch changes the style checker to call the
1894 TestExpectations parser directly and be oblivious as to what the
1895 port's actual expectations are.
1897 * Scripts/webkitpy/style/checkers/test_expectations.py:
1898 (TestExpectationsChecker.__init__):
1899 (TestExpectationsChecker.check_test_expectations):
1901 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1903 nrwt: restructure the port classes to handle multiple expectations files
1904 https://bugs.webkit.org/show_bug.cgi?id=88944
1906 Reviewed by Ojan Vafai.
1908 This patch restructures the Port classes so that each port
1909 returns a list of TestExpectations files to be used (in a new, public,
1910 expectations_files() method), and the base implementation rolls them
1911 up into the ordered expectations_dict(), which becomes a public
1914 port.path_to_test_expectations_file(), port.test_expectations(),
1915 and port.test_expectations_overrides() are then reimplemented as
1916 wrappers around port.expectations_dict().
1917 port.test_expectations() and port.test_expectations_overrides()
1918 will eventually be removed when the cascade is fully completed,
1919 and port.path_to_test_expectations_file() will be removed when
1920 the rebaselining tool supports the cascade
1921 (expectations_files() may also become private at that point).
1923 There should be no functional changes in this patch, but a bunch
1924 of custom logic gets deleted!
1926 * Scripts/webkitpy/layout_tests/port/base.py:
1927 (Port.expectations_dict):
1929 (Port.expectations_files):
1930 (Port.test_expectations):
1931 (Port.test_expectations_overrides):
1932 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1933 (PortTest.test_additional_expectations):
1934 (PortTest.test_uses_test_expectations_file):
1935 * Scripts/webkitpy/layout_tests/port/chromium.py:
1936 (ChromiumPort.all_baseline_variants):
1937 (ChromiumPort.expectations_files):
1938 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
1939 (ChromiumPortTest.test_overrides_and_builder_names):
1940 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
1941 (_expectations_files):
1942 (GoogleChromeLinux32Port.expectations_files):
1943 (GoogleChromeLinux64Port.expectations_files):
1944 (GoogleChromeMacPort.expectations_files):
1945 (GoogleChromeWinPort.expectations_files):
1946 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
1947 (TestGoogleChromePort._verify_expectations_overrides):
1948 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1949 (PortTestCase.test_expectations_ordering):
1950 * Scripts/webkitpy/layout_tests/port/webkit.py:
1951 (WebKitPort._skipped_file_search_paths):
1952 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1953 (TestRebaseline.test_rebaseline_updates_expectations_file_noop):
1954 (test_rebaseline_updates_expectations_file):
1955 (test_rebaseline_does_not_include_overrides):
1956 (test_rebaseline_expectations):
1957 (test_overrides_are_included_correctly):
1959 2012-06-13 Brent Fulgham <bfulgham@webkit.org>
1961 [WinCairo] Update URL of WinCairoRequirements.zip download.
1962 https://bugs.webkit.org/show_bug.cgi?id=89009
1964 Reviewed by Martin Robinson.
1966 * Tools/Scripts/update-webkit-dependency: Put fallback code
1967 to download a "last update" time from servers that don't properly
1968 report Last-Modified in their HTTP header.
1969 * Tools/Scripts/update-webkit-wincairo-libs: Change download link
1970 for the WinCairo build requirements bundle.
1972 2012-06-13 Dirk Pranke <dpranke@chromium.org>
1974 nrwt: preliminary cleanup before supporting cascading expectations files
1975 https://bugs.webkit.org/show_bug.cgi?id=88942
1977 Reviewed by Ojan Vafai.
1979 This change just prepares the TestExpectations parser to get filenames
1980 along with the expectations, and improves the warning messages so that
1981 they contain the filenames along with the line numbers.
1983 There should be no functional changes in this patch.
1985 * Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
1986 (TestExpectationEditorTests.make_parsed_expectation_lines):
1987 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1988 (TestExpectationParser.parse):
1989 (TestExpectationParser.expectation_for_skipped_test):
1990 (TestExpectationParser._tokenize):
1991 (TestExpectationParser._tokenize_list):
1992 (TestExpectationLine):
1993 (TestExpectationsModel.__init__):
1994 (TestExpectationsModel._already_seen_better_match):
1995 (TestExpectations.__init__):
1996 (TestExpectations._shorten_filename):
1997 (TestExpectations._report_warnings):
1998 (TestExpectations._add_skipped_tests):
1999 * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
2000 (TestExpectationParserTests._tokenize):
2001 (TestExpectationParserTests.test_tokenize_blank):
2002 (TestExpectationParserTests.test_tokenize_missing_colon):
2003 (TestExpectationParserTests.test_tokenize_extra_colon):
2004 (TestExpectationParserTests.test_tokenize_empty_comment):
2005 (TestExpectationParserTests.test_tokenize_comment):
2006 (TestExpectationParserTests.test_tokenize_missing_equal):
2007 (TestExpectationParserTests.test_tokenize_extra_equal):
2008 (TestExpectationParserTests.test_tokenize_valid):
2009 (TestExpectationParserTests.test_tokenize_valid_with_comment):
2010 (TestExpectationParserTests.test_tokenize_valid_with_multiple_modifiers):
2011 (TestExpectationParserTests.test_parse_empty_string):
2012 (TestExpectationSerializerTests._tokenize):
2013 (TestExpectationSerializerTests.assert_round_trip):
2014 (TestExpectationSerializerTests.assert_list_round_trip):
2015 * Scripts/webkitpy/tool/servers/gardeningserver.py:
2016 (GardeningExpectationsUpdater.update_expectations):
2018 2012-06-13 Zan Dobersek <zandobersek@gmail.com>
2020 [Gtk] Enable link prefetch support in the developer builds
2021 https://bugs.webkit.org/show_bug.cgi?id=89011
2023 Reviewed by Martin Robinson.
2025 Enable the link prefetch support for Gtk by default in developer
2028 * Scripts/webkitperl/FeatureList.pm:
2030 2012-06-13 Csaba Osztrogonác <ossy@webkit.org>
2032 Update buildbot master in autoinstaller to match build.webkit.org
2033 https://bugs.webkit.org/show_bug.cgi?id=88992
2035 Reviewed by Adam Barth.
2037 * Scripts/webkitpy/thirdparty/__init__.py:
2038 (AutoinstallImportHook._install_buildbot):
2040 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
2042 Unreviewed, rolling out r120209.
2043 http://trac.webkit.org/changeset/120209
2044 https://bugs.webkit.org/show_bug.cgi?id=89007
2046 Broke the WebKit2 mac build. (Requested by andersca on
2049 * MiniBrowser/mac/BrowserWindowController.m:
2050 (-[BrowserWindowController awakeFromNib]):
2051 * WebKitTestRunner/TestController.cpp:
2052 (WTR::TestController::initialize):
2054 2012-06-13 Zoltan Horvath <zoltan@webkit.org>
2056 check-webkit-style needs to respect Qt API coding style
2057 https://bugs.webkit.org/show_bug.cgi?id=88995
2059 Reviewed by Csaba Osztrogonác.
2061 Add -whitespace/declaration exception to Qt API files.
2063 * Scripts/webkitpy/style/checker.py:
2065 2012-06-13 Christophe Dumez <christophe.dumez@intel.com>
2067 [WK2] Add implementation for dispatchIntent in WebFrameLoaderClient
2068 https://bugs.webkit.org/show_bug.cgi?id=88340
2070 Reviewed by Kenneth Rohde Christiansen.
2072 Update initialization of WKPageLoaderClient.
2074 * MiniBrowser/mac/BrowserWindowController.m:
2075 (-[BrowserWindowController awakeFromNib]):
2076 * WebKitTestRunner/TestController.cpp:
2077 (WTR::TestController::initialize):
2079 2012-06-13 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2081 [Qt] Handle multiple held buttons in touch mocking.
2082 https://bugs.webkit.org/show_bug.cgi?id=88865
2084 Reviewed by Kenneth Rohde Christiansen.
2086 Add handling for multiple held mouse-buttons in the appropiate places.
2087 To do this last-pos and start-pos are now also read from the last recorded
2088 touch-point instead from object-global variables.
2090 * MiniBrowser/qt/MiniBrowserApplication.cpp:
2091 (MiniBrowserApplication::notify):
2092 (MiniBrowserApplication::updateTouchPoint):
2093 * MiniBrowser/qt/MiniBrowserApplication.h:
2094 (MiniBrowserApplication):
2096 2012-06-13 Simon Hausmann <simon.hausmann@nokia.com>
2098 [Qt] Make it possible to disable -Werror in production builds
2100 Reviewed by Tor Arne Vestbø.
2102 Don't do -Werror if build-webkit is called with --qmakearg=CONFIG+=production_build,
2103 something qt5.git's qtwebkit.pri will soon do.
2105 * qmake/mkspecs/features/unix/default_post.prf:
2107 2012-06-13 Dominik Röttsches <dominik.rottsches@intel.com>
2109 [EFL] Store and compare md5sum of jhbuild files to trigger cleaning Dependencies
2110 https://bugs.webkit.org/show_bug.cgi?id=85790
2112 Reviewed by Gustavo Noronha Silva.
2114 Add md5 checks for jhbuild configuration for EFL, reusing the gtk jhbuild related
2115 code in webkitdirs.pm.
2117 * Scripts/webkitdirs.pm:
2118 (jhbuildConfigurationChanged):
2121 (buildAutotoolsProject):
2122 (generateBuildSystemFromCMakeProject):
2124 2012-06-13 Qi Zhang <qi.2.zhang@nokia.com>
2126 [Qt] Add configure test for zlib and set WTF_USE_ZLIB if found
2127 https://bugs.webkit.org/show_bug.cgi?id=88763
2129 Add configure test for zlib and set WTF_USE_ZLIB if found to enable websocket
2132 Reviewed by Simon Hausmann.
2134 * qmake/config.tests/libzlib: Added.
2135 * qmake/config.tests/libzlib/libzlib.cpp: Added.
2137 * qmake/config.tests/libzlib/libzlib.pro: Added.
2138 * qmake/mkspecs/features/features.prf:
2139 * qmake/sync.profile:
2141 2012-06-13 Robin Cao <robin.cao@torchmobile.com.cn>
2143 [BlackBerry] Enable MEDIA_STREAM by default
2144 https://bugs.webkit.org/show_bug.cgi?id=88849
2146 Reviewed by Antonio Gomes.
2148 * Scripts/webkitperl/FeatureList.pm:
2150 2012-06-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2152 Prevent stderr output from messing up detection of build path
2154 https://bugs.webkit.org/show_bug.cgi?id=88075
2156 Warnings such as 'perl: warning: Setting locale failed' will otherwise
2157 end up as the build path when calling out to webkit-build-directory.
2159 Reviewed by Ojan Vafai.
2161 * Scripts/webkitpy/layout_tests/port/config.py:
2162 (Config.build_directory):
2164 2012-06-13 Ryosuke Niwa <rniwa@webkit.org>
2166 Update the builder name for Apple Lion builders.
2168 * Scripts/webkitpy/layout_tests/port/builders.py:
2170 2012-06-13 Joel Dillon <joel.dillon@codethink.co.uk>
2172 [Qt][Win]QtTestBrowser somehow picks up DumpRenderTree's main.cpp, causing a failure to link
2173 https://bugs.webkit.org/show_bug.cgi?id=88874
2175 Reviewed by Simon Hausmann.
2177 Rename main.cpp in QtTestBrowser because on Windows
2178 it conflicts with main.cpp from DumpRenderTree.
2180 * QtTestBrowser/QtTestBrowser.pro:
2181 * QtTestBrowser/qttestbrowser.cpp: Renamed from Tools/QtTestBrowser/main.cpp.
2183 (LauncherApplication):
2184 (LauncherApplication::urls):
2185 (LauncherApplication::isRobotized):
2186 (LauncherApplication::robotTimeout):
2187 (LauncherApplication::robotExtraTime):
2188 (LauncherApplication::applyDefaultSettings):
2189 (LauncherApplication::LauncherApplication):
2190 (requiresGraphicsView):
2191 (LauncherApplication::handleUserOptions):
2194 2012-06-12 Lucas Forschler <lforschler@apple.com>
2196 Wrap bot types inside ().
2197 https://bugs.webkit.org/show_bug.cgi?id=88893
2199 Reviewed by Stephanie Lewis.
2201 * BuildSlaveSupport/build.webkit.org-config/config.json:
2203 2012-06-12 Christophe Dumez <christophe.dumez@intel.com>
2205 [soup] Prevent setting or editing httpOnly cookies from JavaScript
2206 https://bugs.webkit.org/show_bug.cgi?id=88760
2208 Reviewed by Gustavo Noronha Silva.
2210 Update libsoup to v2.39.2, glib to v2.33.2 and glib-networking
2211 to v2.33.2 for both GTK and EFL ports.
2213 * efl/jhbuild.modules:
2214 * gtk/jhbuild.modules:
2216 2012-06-12 Christophe Dumez <christophe.dumez@intel.com>
2218 [EFL] Enable SHADOW_DOM flag
2219 https://bugs.webkit.org/show_bug.cgi?id=87732
2221 Reviewed by Kentaro Hara.
2223 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2224 (DumpRenderTreeChrome::resetDefaultsToConsistentValues): Enable
2225 SHADOW_DOM by default in DRT.
2226 * DumpRenderTree/efl/DumpRenderTreeView.cpp:
2227 (onFocusCanCycle): Enable focus cycling in EFL DRT to behave like
2228 Chromium and Mac ports.
2230 * Scripts/webkitperl/FeatureList.pm: Enable SHADOW_DOM flag by default
2231 at compile time for EFL port.
2233 2012-06-12 Ashod Nakashian <ashodnakashian@yahoo.com>
2235 WinLauncher should show loading errors
2236 https://bugs.webkit.org/show_bug.cgi?id=80760
2238 Reviewed by Brent Fulgham.
2240 * WinLauncher/WinLauncher.cpp: Added load-fail handler to show messagebox with error.
2241 (WinLauncherWebHost::didFailProvisionalLoadWithError):
2242 * WinLauncher/WinLauncher.h:
2243 (WinLauncherWebHost::didFailProvisionalLoadWithError):
2244 (WinLauncherWebHost):
2246 2012-06-12 Ryuan Choi <ryuan.choi@samsung.com>
2248 [EFL][WK2] Add MiniBrowserEfl.
2249 https://bugs.webkit.org/show_bug.cgi?id=61850
2251 Reviewed by Chang Shu.
2253 Implement MiniBrowser for EFL.
2256 * MiniBrowser/efl/CMakeLists.txt: Added.
2257 * MiniBrowser/efl/main.c: Added.
2260 (on_ecore_evas_resize):
2264 2012-06-12 Helder Correia <helder.correia@nokia.com>
2266 Unreviewed. Update my email address in committers.py.
2268 * Scripts/webkitpy/common/config/committers.py:
2270 2012-06-12 Dominik Röttsches <dominik.rottsches@intel.com>
2272 [EFL] Resolve CMake warnings on overlapping search paths for EFL jhbuild-enabled build
2273 https://bugs.webkit.org/show_bug.cgi?id=84707
2275 Fixing CMAKE prefix path for 64bit systems to avoid CMAKE warnings on those.
2276 use_lib64 variable is preconfigured to True by jhbuild.
2278 Reviewed by Dirk Pranke.
2282 2012-06-12 Dana Jansens <danakj@chromium.org>
2284 Add zlieber@chromium.org to contributors list
2285 https://bugs.webkit.org/show_bug.cgi?id=88904
2289 * Scripts/webkitpy/common/config/committers.py:
2291 2012-06-12 Lucas Forschler <lforschler@apple.com>
2293 Rename Apple bots to a standard convention.
2294 https://bugs.webkit.org/show_bug.cgi?id=88893
2296 Note: This has the side effect of grouping all of the Apple bots together in the waterfall.
2298 Reviewed by Simon Fraser.
2300 * BuildSlaveSupport/build.webkit.org-config/config.json:
2302 2012-06-12 Mike West <mkwst@chromium.org>
2304 Make document.documentURI readonly from JavaScript
2305 https://bugs.webkit.org/show_bug.cgi?id=65187
2307 Reviewed by Alexey Proskuryakov.
2309 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2310 * TestWebKitAPI/Tests/mac/SetDocumentURI.html: Added.
2311 * TestWebKitAPI/Tests/mac/SetDocumentURI.mm: Added.
2312 (-[SetDocumentURITest webView:didFinishLoadForFrame:]):
2314 (TestWebKitAPI::TEST):
2316 2012-06-12 Christophe Dumez <christophe.dumez@intel.com>
2318 [EFL] enable LEGACY_WEBKIT_BLOB_BUILDER flag
2319 https://bugs.webkit.org/show_bug.cgi?id=88715
2321 Reviewed by Noam Rosenthal.
2323 Enable LEGACY_WEBKIT_BLOB_BUILDER flag by default on EFL port.
2325 * Scripts/webkitperl/FeatureList.pm:
2327 2012-06-12 Csaba Osztrogonác <ossy@webkit.org>
2329 [Qt] Fix -Werror for the buildbots
2330 https://bugs.webkit.org/show_bug.cgi?id=88223
2332 Rubber-stamped by Tor Arne Vestbø.
2334 Revert a part of r119269 to enable Werror again for non qt-developer-builds. (for bots for example)
2336 * qmake/mkspecs/features/unix/default_post.prf:
2338 2012-06-12 Balazs Kelemen <kbalazs@webkit.org>
2340 [REGRESSION][WTR] Build fail with werror after r120054
2341 https://bugs.webkit.org/show_bug.cgi?id=88862
2343 Reviewed by Csaba Osztrogonác.
2345 Some static helpers become unused after counterValueForElementById
2346 has moved to Internals. Let's remove them.
2348 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2351 2012-06-12 Csaba Osztrogonác <ossy@webkit.org>
2353 [Qt] Slave losts cause build break on bots
2354 https://bugs.webkit.org/show_bug.cgi?id=38980
2356 Minor fix after r59261.
2358 Reviewed by Tor Arne Vestbø.
2360 * Scripts/build-webkit:
2361 (unlinkZeroFiles): Don't remove 0 byte sized directories, because they are always 0 byte sized on Windows.
2363 2012-06-11 Kaustubh Atrawalkar <kaustubh@motorola.com>
2365 [DRT] LTC:: counterValueForElementById() could be moved to Internals.
2366 https://bugs.webkit.org/show_bug.cgi?id=84406
2368 Reviewed by Hajime Morita.
2370 Move the counterValueForElementById from LayoutTestCotroller to Internals and
2371 remove the old platform specific implementations as it exclusively tests WebCore functionality.
2373 * DumpRenderTree/LayoutTestController.cpp:
2374 (LayoutTestController::staticFunctions):
2375 * DumpRenderTree/LayoutTestController.h:
2376 (LayoutTestController):
2377 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
2378 * DumpRenderTree/chromium/LayoutTestController.cpp:
2379 (LayoutTestController::LayoutTestController):
2380 (LayoutTestController::setPOSIXLocale):
2381 * DumpRenderTree/chromium/LayoutTestController.h:
2382 (LayoutTestController):
2383 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2384 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2385 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2386 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2387 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2388 (LayoutTestController):
2389 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2390 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2391 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
2392 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2394 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
2395 (LayoutTestController):
2397 2012-06-11 Hans Wennborg <hans@chromium.org>
2399 Speech JavaScript API: Make SpeechRecognitionError an Event
2400 https://bugs.webkit.org/show_bug.cgi?id=88784
2402 Reviewed by Adam Barth.
2404 Make it possible to have MockWebSpeechRecognizer fire error events.
2406 * DumpRenderTree/chromium/LayoutTestController.cpp:
2407 (LayoutTestController::LayoutTestController):
2408 (LayoutTestController::setMockSpeechRecognitionError):
2409 * DumpRenderTree/chromium/LayoutTestController.h:
2410 (LayoutTestController):
2411 * DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp:
2414 (WebKit::ErrorTask::ErrorTask):
2415 (MockWebSpeechRecognizer::addMockResult):
2416 (MockWebSpeechRecognizer::setError):
2417 * DumpRenderTree/chromium/MockWebSpeechRecognizer.h:
2418 (MockWebSpeechRecognizer):
2420 2012-06-11 Ojan Vafai <ojan@chromium.org>
2422 Don't show the ASAN builders in garden-o-matic since they don't get block WebKit rolls.
2423 https://bugs.webkit.org/show_bug.cgi?id=88836
2425 Reviewed by Dirk Pranke.
2427 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
2428 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
2430 2012-06-11 Christophe Dumez <christophe.dumez@intel.com>
2432 [EFL] Remove CMakeCache.txt before building
2433 https://bugs.webkit.org/show_bug.cgi?id=88717
2435 Reviewed by Antonio Gomes.
2437 Remove CMake cache file before every build to avoid using outdated
2438 build flags when new features get enabled. This will avoid unexpected
2439 failures on the bots due to outdated build flags.
2441 * Scripts/webkitdirs.pm:
2442 (generateBuildSystemFromCMakeProject):
2444 2012-06-11 Vincent Scheib <scheib@chromium.org>
2446 Add new Pointer Lock spec attribute webkitPointerLockElement.
2447 https://bugs.webkit.org/show_bug.cgi?id=88799
2449 Reviewed by Dimitri Glazkov.
2451 Part of a series of refactoring changes to update pointer lock API to
2452 the fullscreen locking style. https://bugs.webkit.org/show_bug.cgi?id=84402
2454 New attribute webkitPointerLockElement added. Follow up patches
2455 will remove the previous isLocked attribute. Tests updated to use
2458 WebViewHost logic required modification to correctly repond to
2459 a lock, unlock, pointerLockElement call series. Specifically,
2460 unlocking must be queued after a lock command is issued always
2461 as the lock state may not be set yet with a lock request in flight.
2463 * DumpRenderTree/chromium/WebViewHost.cpp:
2464 (WebViewHost::requestPointerUnlock): Always post didLosePointerLock task.
2465 (WebViewHost::didLosePointerLock): Signal didLosePointerLock only if pointer was locked.
2467 2012-06-11 Alexis Menard <alexis.menard@openbossa.org>
2469 [CSS3 Backgrounds and Borders] Protect box-decoration-break behind a feature flag.
2470 https://bugs.webkit.org/show_bug.cgi?id=88804
2472 Reviewed by Tony Chang.
2474 Protect box-decoration-break behind a feature flag enabled by default.
2476 * Scripts/webkitperl/FeatureList.pm:
2477 * qmake/mkspecs/features/features.pri:
2479 2012-06-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2481 [CMAKE][EFL] Remove duplicated executable output path
2482 https://bugs.webkit.org/show_bug.cgi?id=88765
2484 Reviewed by Daniel Bates.
2486 CMake files for EFL port have redefined executable output path. However, EFL port doesn't
2487 need to define again because it is already defined in top-level CMake file.
2489 * DumpRenderTree/efl/CMakeLists.txt:
2490 * EWebLauncher/CMakeLists.txt:
2492 2012-06-11 Ojan Vafai <ojan@chromium.org>
2494 Don't consider show warnings in the garden-o-matic UI for non-layout test failures
2495 https://bugs.webkit.org/show_bug.cgi?id=88816
2497 Reviewed by Dirk Pranke.
2499 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
2500 Expose a way to clear AsynchronousCaches.
2501 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
2502 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
2503 Clear the buildInfo cache at the beginning of each test in order to avoid having one test affect another.
2505 2012-06-11 Dirk Pranke <dpranke@chromium.org>
2507 nrwt exits early too frequently
2508 https://bugs.webkit.org/show_bug.cgi?id=73843
2510 Reviewed by Ryosuke Niwa.
2512 Change the defaults for new-run-webkit-tests for both
2513 --exit-after-n-failures and --exit-after-n-crashes-or-timeouts
2514 to zero (i.e., we will never exit early by default).
2516 If people want their buildbots to exit early it is their
2517 responsibility to update their buildbot configs appropriately.
2519 Note that we have tests that ensure that these flags work for
2520 non-zero numbers, but we don't have tests that either test the
2521 default or ensure that zero means "run all of the tests". I
2522 think that's okay but can add tests if others disagree.
2524 Also note that it looks like no changes on the build.webkit.org
2525 master.cfg are necessary; all of the bots seem to be using the
2526 RunWebKitTests wrapper which is already setting the flags. There
2527 is a NewRunWebKitTests wrapper, but that looks to be unused; I
2528 will delete that in a separate patch.
2530 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2533 2012-06-11 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
2535 [EFL] [DRT] Reset CacheModel before running each test
2536 https://bugs.webkit.org/show_bug.cgi?id=87534
2538 Reviewed by Gustavo Noronha Silva.
2540 Reset cache model to default before running each test to fix some
2541 flaky tests on EFL build bots. Also fix case value in setCacheModel.
2543 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2544 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
2545 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2546 (LayoutTestController::setCacheModel):
2548 2012-06-11 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
2550 [GTK] Memory leaks in DRT EventSender.cpp
2551 https://bugs.webkit.org/show_bug.cgi?id=88774
2553 Reviewed by Martin Robinson.
2555 Fix a few possible memory leaks in EventSender code.
2557 * DumpRenderTree/gtk/EventSender.cpp:
2558 (contextClickCallback): Free the event returned by gdk_event_new().
2559 (mouseDownCallback): Ditto.
2560 (mouseUpCallback): Ditto.
2562 2012-06-11 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
2564 [EFL] REGRESSION (r119788): tests rely on pathToLocalResource are failing after r119788
2565 https://bugs.webkit.org/show_bug.cgi?id=88661
2567 Reviewed by Dirk Pranke.
2569 Pass string length explicitly when creating String object from
2570 non-null-terminated UChar* returned by characters().
2572 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2573 (LayoutTestController::pathToLocalResource):
2575 2012-06-11 David Dorwin <ddorwin@chromium.org>
2577 [chromium] Provide access to the WebPlugin created by the helper plugin widget
2578 https://bugs.webkit.org/show_bug.cgi?id=88028
2580 Reviewed by Adam Barth.
2582 Added isPlaceholder() to WebPlugin.
2584 * DumpRenderTree/chromium/TestWebPlugin.h:
2585 (TestWebPlugin::isPlaceholder):
2587 2012-06-11 Tony Chang <tony@chromium.org>
2589 rebaseline from garden-o-matic leaves N processes each time it is run
2590 https://bugs.webkit.org/show_bug.cgi?id=88586
2592 Reviewed by Dirk Pranke.
2594 This appears to only be a problem on python 2.7. Maybe a bug causing
2595 pools to not be garbage collected?
2597 * Scripts/webkitpy/common/system/executive.py:
2598 (Executive.run_in_parallel): close() and join() the process pool.
2599 * Scripts/webkitpy/common/system/executive_unittest.py:
2600 (ExecutiveTest.test_run_in_parallel):
2602 2012-06-11 Zoltan Horvath <zoltan@webkit.org>
2604 [Qt] Add config tests for WEBP imagedecoder library, modify HAVE(decoderlibrary) to USE(...)
2605 https://bugs.webkit.org/show_bug.cgi?id=87841
2607 Reviewed by Simon Hausmann.
2609 * qmake/config.tests/libwebp/libwebp.cpp: Added.
2611 * qmake/config.tests/libwebp/libwebp.pro: Added.
2612 * qmake/sync.profile:
2614 2012-06-10 Ryosuke Niwa <rniwa@webkit.org>
2616 Expose layoutTestController as testRunner
2617 https://bugs.webkit.org/show_bug.cgi?id=88210
2619 Reviewed by Darin Adler.
2621 * DumpRenderTree/LayoutTestController.cpp:
2622 (LayoutTestController::makeWindowObject):
2623 * DumpRenderTree/chromium/TestShell.cpp:
2624 (TestShell::bindJSObjectsToWindow):
2625 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2626 (WebCore::DumpRenderTree::initJSObjects):
2627 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2628 (WTR::LayoutTestController::makeWindowObject):
2630 2012-06-09 Dominic Cooney <dominicc@chromium.org>
2632 [Chromium] Remove JavaScriptCore dependencies from gyp
2633 https://bugs.webkit.org/show_bug.cgi?id=88510
2635 Reviewed by Adam Barth.
2637 Chromium doesn't support JSC any more and there doesn't seem to be
2638 a strong interest in using GYP as the common build system in other
2641 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2642 * Scripts/generate-project-files: Removed.
2644 2012-06-09 Sukolsak Sakshuwong <sukolsak@google.com>
2646 Add UNDO_MANAGER flag
2647 https://bugs.webkit.org/show_bug.cgi?id=87908
2649 Reviewed by Tony Chang.
2651 * Scripts/webkitperl/FeatureList.pm:
2652 * qmake/mkspecs/features/features.pri:
2654 2012-06-08 Ryosuke Niwa <rniwa@webkit.org>
2656 webkit-patch land-safely should set cq? if the patch author is not in committers.py
2657 https://bugs.webkit.org/show_bug.cgi?id=88689
2659 Reviewed by Dirk Pranke.
2661 When posting a patch on Bugzilla, trun cq+ into cq? if the Bugzilla login is not listed
2662 in committers.py or the contributor cannot commit. If anything, the contributor can still
2663 set cq+ on thier patches manually so I don't think this will be an issue for people who
2664 don't list their Bugzille email on committers.py.
2666 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2667 (Bugzilla._commit_queue_flag):
2668 * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
2669 (test_commit_queue_flag):
2670 (test_commit_queue_flag.assert_commit_queue_flag):
2672 2012-06-08 Dirk Pranke <dpranke@chromium.org>
2674 remove obsolete NewRunWebKitTests buildbot master factory classes
2675 https://bugs.webkit.org/show_bug.cgi?id=88693
2677 Reviewed by Ryosuke Niwa.
2679 I believe these aren't used any more ...
2681 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2682 (RunWebKitTests.getText2):
2683 (BuildAndTestLeaksFactory):
2685 2012-06-08 Xianzhu Wang <wangxianzhu@chromium.org>
2687 [Chromium-Android] Build DumpRenderTree with Android SDK
2688 https://bugs.webkit.org/show_bug.cgi?id=88598
2690 Change WebKit side of DRT related code according to some recent changes at chromium side.
2692 Reviewed by Adam Barth.
2694 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2695 * Scripts/webkitpy/layout_tests/port/chromium_android.py:
2696 (ChromiumAndroidPort.__init__):
2697 (ChromiumAndroidPort._path_to_driver):
2699 2012-06-08 Wei James <james.wei@intel.com>
2701 Add app_abi option for DumpRenderTree_apk
2702 https://bugs.webkit.org/show_bug.cgi?id=88626
2704 Reviewed by Adam Barth.
2706 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2708 2012-06-08 Carlos Garcia Campos <cgarcia@igalia.com>
2710 [GTK] Add API to get the library version to WebKit2 GTK+
2711 https://bugs.webkit.org/show_bug.cgi?id=88426
2713 Reviewed by Martin Robinson.
2715 * gtk/generate-gtkdoc:
2716 (get_webkit2_options): Add built sources to the list of files, but
2717 ignore enum types and marshallers.
2719 2012-06-07 Vincent Scheib <scheib@chromium.org>
2721 Layout Test pointer-lock/pointerlockchange-pointerlockerror-events.html is failing
2722 https://bugs.webkit.org/show_bug.cgi?id=88604
2724 Reviewed by Kent Tamura.
2726 DumpRenderTree fixed to not call didLosePointerLock if pointer is not currently locked.
2727 Fixes debug only assert crash in pointer-lock/pointerlockchange-pointerlockerror-events.html test.
2729 * DumpRenderTree/chromium/WebViewHost.cpp:
2730 (WebViewHost::requestPointerUnlock):
2732 2012-06-08 Hans Wennborg <hans@chromium.org>
2734 Speech JavaScript API: mock WebSpeechRecognizer for DumpRenderTree
2735 https://bugs.webkit.org/show_bug.cgi?id=87976
2737 Reviewed by Kent Tamura.
2739 Provide a mock implementation of WebSpeechRecognizer for
2740 DumpRenderTree. This will allow better testing of the API via layout
2743 * DumpRenderTree/DumpRenderTree.gypi:
2744 * DumpRenderTree/chromium/LayoutTestController.cpp:
2745 (LayoutTestController::LayoutTestController):
2746 (LayoutTestController::addMockSpeechRecognitionResult):
2747 * DumpRenderTree/chromium/LayoutTestController.h:
2748 (LayoutTestController):
2749 * DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp: Added.
2750 (MockWebSpeechRecognizer::create):
2751 (MockWebSpeechRecognizer::start):
2752 (MockWebSpeechRecognizer::stop):
2753 (MockWebSpeechRecognizer::abort):
2754 (MockWebSpeechRecognizer::MockWebSpeechRecognizer):
2755 (MockWebSpeechRecognizer::~MockWebSpeechRecognizer):
2756 (MockWebSpeechRecognizer::ResultTask::runIfValid):
2757 * DumpRenderTree/chromium/MockWebSpeechRecognizer.h: Added.
2759 (MockWebSpeechRecognizer):
2760 (MockWebSpeechRecognizer::addMockResult):
2761 (MockWebSpeechRecognizer::taskList):
2763 (MockWebSpeechRecognizer::ClientCallTask::ClientCallTask):
2765 (MockWebSpeechRecognizer::ResultTask::ResultTask):
2767 (MockWebSpeechRecognizer::NoMatchTask::NoMatchTask):
2768 * DumpRenderTree/chromium/WebViewHost.cpp:
2769 (WebViewHost::speechRecognizer):
2770 * DumpRenderTree/chromium/WebViewHost.h:
2772 (WebViewHost::mockSpeechRecognizer):
2774 2012-06-07 Kinuko Yasuda <kinuko@chromium.org>
2776 check-webkit-style needs to be taught about <public/Foo.h>
2777 https://bugs.webkit.org/show_bug.cgi?id=88524
2779 Reviewed by David Levin.
2781 * Scripts/webkitpy/style/checkers/cpp.py:
2782 (_classify_include):
2783 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2784 (OrderOfIncludesTest.test_public_primary_header):
2785 (OrderOfIncludesTest.test_classify_include):
2787 2012-06-07 Joshua Lock <joshua.lock@intel.com>
2789 [EFL][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResource()
2790 https://bugs.webkit.org/show_bug.cgi?id=67255
2792 Reviewed by Dirk Pranke.
2794 Implement pathToLocalResource to redirect file:///tmp URL's to
2795 DUMPRENDERTREE_TEMP and file:///tmp/LayoutTests to point to the
2796 LayoutTests sub-directory of the WebKit source tree.
2798 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2799 (LayoutTestController::pathToLocalResource):
2801 2012-06-07 Tony Payne <tpayne@chromium.org>
2803 [chromium] Allow LayoutTests under new git workflow
2804 https://bugs.webkit.org/show_bug.cgi?id=88575
2806 On Windows, chromium indirects through git.bat. Adds the same hack that
2807 is currently used for discovering svn.bat to support the new git
2810 Reviewed by Dirk Pranke.
2812 * Scripts/webkitpy/common/checkout/scm/git.py:
2813 (Git): Replaces all hard-coded references to 'git' with the class
2814 variable executable_name.
2815 (Git._check_git_architecture):
2816 (Git.in_working_directory):
2817 (Git.find_checkout_root):
2818 (Git.read_git_config):
2819 (Git.discard_local_commits):
2820 (Git.local_commits):
2821 (Git.working_directory_is_clean):
2822 (Git.clean_working_directory):
2823 (Git.status_command):
2827 (Git._current_branch):
2828 (Git.changed_files):
2829 (Git._changes_files_for_commit):
2830 (Git.revisions_changing_file):
2831 (Git.conflicted_files):
2834 (Git._run_git_svn_find_rev):
2835 (Git.contents_at_revision):
2836 (Git.diff_for_file):
2838 (Git.committer_email_for_revision):
2839 (Git.apply_reverse_diff):
2841 (Git.commit_with_message):
2842 (Git._commit_on_branch):
2843 (Git.svn_commit_log):
2844 (Git.last_svn_commit_log):
2846 (Git._branch_ref_exists):
2847 (Git.delete_branch):
2848 (Git.remote_merge_base):
2849 (Git.commit_locally_with_message):
2850 (Git.push_local_commits_to_server):
2851 (Git.commit_ids_from_commitish_arguments):
2852 (Git.commit_message_for_local_commit):
2853 (Git.files_changed_summary_for_commit):
2854 * Scripts/webkitpy/common/host.py:
2855 (Host._engage_awesome_windows_hacks): Adds an awesome 'git.bat' hack
2856 that duplicates the logic in the existing 'svn.bat' hack.
2858 2012-06-07 Ojan Vafai <ojan@chromium.org>
2860 Style build architectures like build versions for non-layout test failures
2861 https://bugs.webkit.org/show_bug.cgi?id=88590
2863 Reviewed by Tony Chang.
2865 Since we show the list of failing tests after the architecture, we want the
2866 buildtype and architecture to be grouped together visually.
2868 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/failures.css:
2869 (.effects a.failing-builder>span.architecture):
2871 2012-06-07 Xianzhu Wang <wangxianzhu@chromium.org>
2873 [Chromium] Remove header dependency of ImageDiff to WTF
2874 https://bugs.webkit.org/show_bug.cgi?id=88422
2876 Reviewed by Ryosuke Niwa.
2878 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
2879 * DumpRenderTree/chromium/ImageDiff.cpp:
2880 (untestedCompareImages):
2882 2012-06-07 Dongwoo Im <dw.im@samsung.com>
2884 [EFL] [DRT] DRT enables WebAudio when WebAudio feature is enabled.
2885 https://bugs.webkit.org/show_bug.cgi?id=88491
2887 Reviewed by Dirk Pranke.
2889 DRT should enable WebAudio when WebAudio feature is enabled,
2890 so that the WebAudio feature could be tested by the Layouttest.
2892 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp: Enable WebAudio when WebAudio feature is enabled.
2893 (LayoutTestController::overridePreference):
2895 2012-06-07 Dirk Pranke <dpranke@chromium.org>
2897 webkit-patch rebaseline-expectations should only rebaseline the appropriate suffixes for the failure in question
2898 https://bugs.webkit.org/show_bug.cgi?id=88581
2900 Reviewed by Ojan Vafai.
2902 webkit-paptch rebaseline-expectations was ignoring what the
2903 expected results for a test were and pulling down all the result
2904 files from a bot. This could lead to us pulling down old,
2905 incorrect .txt or .png files. With this patch we will now only
2906 pull down expectations of the appropriate file types (so an
2907 IMAGE failure will only pull the png and not the txt file).
2909 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2910 (has_pixel_failures):
2911 (suffixes_for_expectations):
2912 * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
2913 (FunctionsTest.test_suffixes_for_expectations):
2914 * Scripts/webkitpy/tool/commands/rebaseline.py:
2915 (AbstractRebaseliningCommand.__init__):
2916 (RebaselineExpectations._is_supported_port):
2917 (RebaselineExpectations._update_expectations_file):
2918 (RebaselineExpectations._tests_to_rebaseline):
2919 (RebaselineExpectations._rebaseline_port):
2920 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2921 (test_overrides_are_included_correctly):
2923 2012-06-07 Ojan Vafai <ojan@chromium.org>
2925 Fix recent null pointer error regression in the flakiness dashboard
2926 https://bugs.webkit.org/show_bug.cgi?id=88573
2928 Reviewed by Dirk Pranke.
2930 * TestResultServer/static-dashboards/builders.js:
2931 (requestBuilderList):
2932 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2934 2012-06-07 Konrad Piascik <kpiascik@rim.com>
2936 Add Konrad Piascik to committers.py
2937 https://bugs.webkit.org/show_bug.cgi?id=88560
2941 * Scripts/webkitpy/common/config/committers.py:
2943 2012-06-07 Tony Chang <tony@chromium.org>
2945 [chromium] Win mock scrollbars appear to overflow by a pixel to the right and bottom
2946 https://bugs.webkit.org/show_bug.cgi?id=77368
2948 Reviewed by Ojan Vafai.
2950 It doesn't look like we ever get a rect with width or height of 0.
2951 I ran css1, css2.1, fast/forms, and tables without any crashes.
2953 * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp:
2954 (webRectToSkIRect): Correctly convert a WebRect to a SkIRect.
2956 2012-06-07 Dirk Pranke <dpranke@chromium.org>
2958 run-webkit-tests --lint-test-files gives an error when run on linux
2959 https://bugs.webkit.org/show_bug.cgi?id=88551
2961 Reviewed by Ojan Vafai.
2963 We weren't mapping the expectations properly for the
2964 google-chrome ports.
2966 * Scripts/webkitpy/layout_tests/port/base.py:
2967 (Port.path_to_test_expectations_file):
2968 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
2969 (TestGoogleChromePort.test_path_to_expectations):
2971 2012-06-07 Daniel Erat <derat@chromium.org>
2973 [chromium] Add LayoutTestController::setTextSubpixelPositioning() for Linux.
2974 https://bugs.webkit.org/show_bug.cgi?id=88263
2976 Reviewed by Tony Chang.
2978 * DumpRenderTree/chromium/LayoutTestController.cpp:
2979 (LayoutTestController::LayoutTestController):
2980 (LayoutTestController::reset):
2981 (LayoutTestController::setTextSubpixelPositioning):
2982 * DumpRenderTree/chromium/LayoutTestController.h:
2983 (LayoutTestController):
2984 * DumpRenderTree/chromium/fonts.conf:
2986 2012-06-07 Zan Dobersek <zandobersek@gmail.com>
2988 [Gtk] Assertions in gtk_widget_draw when acquiring pixel output
2989 https://bugs.webkit.org/show_bug.cgi?id=88060
2991 Reviewed by Martin Robinson.
2993 Spin the main loop before acquiring the pixel content. This ensures things
2994 like late size allocations are finished before calling gtk_widget_draw,
2995 avoiding assertions and subsequent empty pixel results.
2997 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
2998 (createBitmapContextFromWebView):
3000 2012-06-06 Kenneth Rohde Christiansen <kenneth@webkit.org>
3002 [Qt] Improve the visual of the viewport info box
3003 https://bugs.webkit.org/show_bug.cgi?id=88410
3005 Reviewed by Tor Arne Vestbø.
3007 Improve the visual and make it possible to see the content more easy.
3009 * MiniBrowser/qt/qml/ViewportInfoItem.qml:
3011 2012-06-06 Mariusz Grzegorczyk <mariusz.g@samsung.com>
3013 [EFL][WK2] Compile webkit1 and webkit2 by default.
3014 https://bugs.webkit.org/show_bug.cgi?id=85041
3016 Reviewed by Chang Shu.
3018 Compile webkit1 and webkit2 while running Tools/Scripts/build-webkit --efl.
3019 Webkit2 build can be skipped by adding --no-webkit2 option to build-webkit script.
3021 * Scripts/build-webkit:
3023 2012-06-06 Sheriff Bot <webkit.review.bot@gmail.com>
3025 Unreviewed, rolling out r119662.
3026 http://trac.webkit.org/changeset/119662
3027 https://bugs.webkit.org/show_bug.cgi?id=88487
3029 Broke builds (Requested by rniwa on #webkit).
3031 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
3032 * DumpRenderTree/chromium/ImageDiff.cpp:
3033 (untestedCompareImages):
3035 2012-06-06 Xianzhu Wang <wangxianzhu@chromium.org>
3037 [Chromium] Remove header dependency of ImageDiff to WTF
3038 https://bugs.webkit.org/show_bug.cgi?id=88422
3040 Reviewed by Adam Barth.
3042 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
3043 * DumpRenderTree/chromium/ImageDiff.cpp:
3044 (untestedCompareImages):
3046 2012-06-06 Amy Ousterhout <aousterh@chromium.org>
3048 [WebKit] DeviceOrientation cleanup
3049 https://bugs.webkit.org/show_bug.cgi?id=88406
3051 Reviewed by Kent Tamura.
3053 Updated LayoutTestController to use new public default constructor in WebDeviceOrientation.h.
3055 * DumpRenderTree/chromium/LayoutTestController.cpp:
3056 (LayoutTestController::setMockDeviceOrientation):
3058 2012-05-29 Dirk Pranke <dpranke@chromium.org>
3060 webkitpy: add support for an ordered dict of test expectations
3061 https://bugs.webkit.org/show_bug.cgi?id=87802
3063 Reviewed by Ojan Vafai.
3065 As per https://bugs.webkit.org/show_bug.cgi?id=65834 we want to
3066 support a cascaded list of test expectations files. An easy way
3067 to think of this is as an ordered dictionary of name -> contents
3068 for files, where the name is usually a path on disk (I say
3069 usually because we want to support other kinds of expectations
3070 like the compile-time skips for unsupported features in
3071 webkit.py, and we want to continue to support "in-memory" test
3072 expectations that don't require a filesystem).
3074 Conveniently there is an OrderedDict implementation in Python
3075 2.7+ and it is available as a backport, so the first step in
3076 adding this support is to use that implementation. Subsequent
3077 patches will update the test_expectations.py module (and other
3078 callers) to access the dict directly.
3080 This patch just changes the base internal implementation and
3081 provides wrappers for compatibility. The derived ports
3082 (WebKitPort, TestPort, etc.) still need to be updated.
3084 * Scripts/webkitpy/layout_tests/port/base.py:
3085 (Port._expectations_dict):
3086 (Port.test_expectations):
3088 (Port._expectations_overrides_dict):
3089 (Port.test_expectations_overrides):
3090 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
3091 (PortTestCase.test_expectations_ordering):
3093 (PortTestCase.test_expectations_overrides_ordering):
3094 * Scripts/webkitpy/thirdparty/ordered_dict.py: Added.
3096 (OrderedDict.__init__):
3097 (OrderedDict.clear):
3098 (OrderedDict.__setitem__):
3099 (OrderedDict.__delitem__):
3100 (OrderedDict.__iter__):
3101 (OrderedDict.__reversed__):
3102 (OrderedDict.popitem):
3103 (OrderedDict.__reduce__):
3104 (OrderedDict.__repr__):
3106 (OrderedDict.fromkeys):
3108 2012-06-06 Mario Sanchez Prada <msanchez@igalia.com>
3110 Unreviewed gardening. Unit test fails on GTK 64bit debug bot.
3112 * gtk/run-api-tests:
3113 (TestRunner): Skip TestWebKitAPI/WTF/TestHashMap.
3115 2012-06-06 Dirk Pranke <dpranke@chromium.org>
3117 nrwt should look in 'out' for binaries on chromium win to support ninja
3118 https://bugs.webkit.org/show_bug.cgi?id=88273
3120 Reviewed by Tony Chang.
3122 This patch standardizes the search algorithm the chromium ports
3123 use to figure out which driver to run. We will look in a
3124 chromium location before a webkit location (e.g., in
3125 Source/WebKit/chromium/out before out/) and we will look in the
3126 "legacy" directory (xcodebuild) before the directory ninja uses
3129 Unfortunately due to the way the test code is set up testing the
3130 properly requires some duplication of test code. I will fix that
3131 in a followup patch.
3133 * Scripts/webkitpy/layout_tests/port/chromium.py:
3135 (ChromiumPort._static_build_path):
3136 (ChromiumPort._build_path):
3137 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
3138 (ChromiumLinuxPort):
3139 (ChromiumLinuxPort._determine_driver_path_statically):
3140 * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
3141 (ChromiumLinuxPortTest.test_build_path):
3142 (ChromiumLinuxPortTest):
3143 (ChromiumLinuxPortTest.test_driver_name_option):
3144 (ChromiumLinuxPortTest.path_to_image_diff):
3145 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
3147 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
3148 (ChromiumMacPortTest.test_build_path):
3149 (ChromiumMacPortTest):
3150 (ChromiumMacPortTest.test_driver_name_option):
3151 (ChromiumMacPortTest.path_to_image_diff):
3152 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3153 (ChromiumPortTest.test_overrides_and_builder_names):
3154 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
3156 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
3157 (ChromiumWinTest.test_build_path):
3158 (ChromiumWinTest.test_operating_system):
3160 (ChromiumWinTest.test_driver_name_option):
3161 (ChromiumWinPortTest.path_to_image_diff):
3162 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
3163 (PortTestCase.assert_build_path):
3165 2012-06-06 Jessie Berlin <jberlin@apple.com>
3167 Remove very red Windows WebKit2 testers
3168 https://bugs.webkit.org/show_bug.cgi?id=88452
3170 Reviewed by Steve Falkenburg.
3172 Remove the Windows 7 Release WK2 testers so that the hardware can be repurposed. We are
3173 need to focus on getting the WK1 testers green.
3175 * BuildSlaveSupport/build.webkit.org-config/config.json:
3177 2012-06-06 Dirk Pranke <dpranke@chromium.org>
3179 get rebaselining tools to kinda work with the skia overrides file
3180 https://bugs.webkit.org/show_bug.cgi?id=88456
3182 Reviewed by Ryosuke Niwa.
3184 Update rebaseline-expectations so that we read in the overrides
3185 when looking for tests to rebaseline, but don't read in the
3186 overrides when we are writing the expectations file back out.
3187 This prevents the overrides from getting written into the main
3188 file. This is kind of a hack but will have to do until we
3189 support multiple expectations files properly.
3191 * Scripts/webkitpy/tool/commands/rebaseline.py:
3192 (RebaselineExpectations._expectations):
3193 (RebaselineExpectations._update_expectations_file):
3194 (RebaselineExpectations._tests_to_rebaseline):
3195 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
3196 (test_overrides_are_included_correctly):
3198 2012-06-06 Dirk Pranke <dpranke@chromium.org>
3200 webkitpy: two manager_worker_broker_unittest tests are broken
3201 https://bugs.webkit.org/show_bug.cgi?id=88445
3203 Reviewed by Ojan Vafai.
3205 These tests were never updated when we removed the
3206 --worker-model argument, and we were passing 'inline' instead of
3207 1 (for the number of workers) :(. As a result we were creating
3208 multiprocessing queues unnecessarily and that was failing on cygwin.
3210 * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
3211 (InterfaceTest.test_managerconnection_is_abstract):
3212 (InterfaceTest.test_workerconnection_is_abstract):
3214 2012-06-06 Ryosuke Niwa <rniwa@webkit.org>
3216 REGRESSION(r117789): "webkit-patch rebaseline-expectations" copies contents in skia_test_expectations.txt into test_expectations.txt
3217 https://bugs.webkit.org/show_bug.cgi?id=87406
3219 Reviewed by Dirk Pranke.
3221 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3222 (TestExpectations.__init__):
3223 * Scripts/webkitpy/tool/commands/rebaseline.py:
3224 (RebaselineTest._update_expectations_file):
3225 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
3226 (test_rebaseline_does_not_include_overrides):
3228 2012-06-06 Dirk Pranke <dpranke@chromium.org>
3230 webkitpy: perf tests unit tests fail on chromium win
3231 https://bugs.webkit.org/show_bug.cgi?id=88279
3233 Reviewed by Ryosuke Niwa.
3235 I'm seeing weird failures running the unit tests in my win32
3236 checkout, and we don't really expect webpagereplay to work on
3237 win32 anyway, so I'm skipping the import of that module for now
3238 and adding a warning.
3240 * Scripts/run-perf-tests:
3241 * Scripts/webkitpy/performance_tests/perftest.py:
3243 2012-06-06 Yong Li <yoli@rim.com>
3245 Unreviewed. Update my email address in committers.py.
3247 * Scripts/webkitpy/common/config/committers.py:
3249 2012-06-06 Robert Kroeger <rjkroege@chromium.org>
3251 Add Robert Kroeger to commiters.py
3252 https://bugs.webkit.org/show_bug.cgi?id=88415
3256 * Scripts/webkitpy/common/config/committers.py:
3258 2012-06-06 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
3260 [EFL][DRT] http/tests/globalhistory testcases do not pass
3261 https://bugs.webkit.org/show_bug.cgi?id=82579
3263 Reviewed by Csaba Osztrogonác.
3265 DRT has provided callbacks for ewk_view "global history delegate" signals.
3267 * DumpRenderTree/efl/DumpRenderTree.cpp:
3268 (isGlobalHistoryTest): Aux function to ident global history testcase.
3269 (createLayoutTestController):
3270 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3271 (DumpRenderTreeChrome::createView):
3272 (DumpRenderTreeChrome::onTitleChanged): Handles also some global history testcases.
3273 (DumpRenderTreeChrome::onWebViewNavigatedWithData): New callback function.
3274 (DumpRenderTreeChrome::onWebViewServerRedirect): Ditto.
3275 (DumpRenderTreeChrome::onWebViewClientRedirect): Ditto.
3276 (DumpRenderTreeChrome::onWebViewPopulateVisitedLinks): Ditto.
3277 * DumpRenderTree/efl/DumpRenderTreeChrome.h:
3278 (DumpRenderTreeChrome):
3280 2012-06-06 János Badics <jbadics@inf.u-szeged.hu>
3282 [Qt] run-qtwebkit-tests hangs with -j1
3283 run-qtwebkit-tests used to hang when wk2 API tests were run with -j1 and --timeout.
3284 This could happen due to an uncancelled timer after results were returned. This timer was
3285 started only if --timeout was set.
3286 https://bugs.webkit.org/show_bug.cgi?id=85475
3288 Reviewed by Csaba Osztrogonác.
3290 * Scripts/run-qtwebkit-tests:
3293 2012-06-06 Michael Brüning <michael.bruning@nokia.com>
3295 [Qt][WK2] Add preferredMinimumContentsWidth to the viewport info in MiniBrowser.
3296 https://bugs.webkit.org/show_bug.cgi?id=88327
3298 Reviewed by Kenneth Rohde Christiansen.
3300 * MiniBrowser/qt/MiniBrowser.qrc: Added contents_width.png.
3301 * MiniBrowser/qt/icons/contents_width.png: Added.
3302 * MiniBrowser/qt/qml/BrowserWindow.qml: Added button for toggling preferredMinimumContentsWidth.
3303 * MiniBrowser/qt/qml/ViewportInfoItem.qml: Added display of preferredMinimumContentsWidth.
3305 2012-06-05 Jon Lee <jonlee@apple.com>
3309 * BuildSlaveSupport/build.webkit.org-config/master.cfg: We lose the type attribute earlier
3310 in the function. Store in a local variable.
3311 (loadBuilderConfig):
3313 2012-06-05 Jon Lee <jonlee@apple.com>
3317 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3318 (loadBuilderConfig):
3320 2012-06-04 Dirk Pranke <dpranke@chromium.org>
3322 webkitpy: clean up win-specific path handling and tests
3323 https://bugs.webkit.org/show_bug.cgi?id=88281
3325 Reviewed by Adam Barth.
3327 There was a bunch of inconsistent logic for handling path
3328 conversions for win32 and cygwin paths due to us sometimes
3329 looking at sys.platform and sometimes using mock hosts. This
3330 patch cleans everything up so that we are required to pass
3331 PlatformInfo objects to the path module and stop trying to do
3332 different things when running on cygwin or win32 hosts (except
3333 in the path_unittest module itself).
3335 This may slightly reduce test coverage for the win32 code paths
3336 but will be a lot easier to follow and maintain.
3338 * Scripts/webkitpy/common/system/path.py:
3341 * Scripts/webkitpy/common/system/path_unittest.py:
3342 (AbspathTest.platforminfo):
3343 (AbspathTest.test_abspath_to_uri_cygwin):
3344 (AbspathTest.test_abspath_to_uri_unixy):
3345 (AbspathTest.test_abspath_to_uri_win):
3346 (AbspathTest.test_abspath_to_uri_escaping_unixy):
3347 (AbspathTest.test_abspath_to_uri_escaping_cygwin):
3348 (AbspathTest.test_stop_cygpath_subprocess):
3349 * Scripts/webkitpy/common/system/platforminfo.py:
3350 (PlatformInfo.__init__):
3351 (PlatformInfo.is_cygwin):
3352 * Scripts/webkitpy/common/system/platforminfo_mock.py:
3353 (MockPlatformInfo.is_cygwin):
3354 * Scripts/webkitpy/layout_tests/port/base.py:
3355 (Port.to.show_results_html_file):
3356 * Scripts/webkitpy/layout_tests/port/driver.py:
3357 (Driver.test_to_uri):
3358 (Driver.uri_to_test):
3359 * Scripts/webkitpy/layout_tests/port/driver_unittest.py:
3360 (DriverTest.test_test_to_uri):
3361 (DriverTest.test_uri_to_test):
3362 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
3363 (MockDRTPortTest.make_port):
3364 (MockDRTTest.input_line):
3365 (MockChromiumDRTTest.test_pixeltest__fails):
3366 * Scripts/webkitpy/layout_tests/port/test.py:
3367 * Scripts/webkitpy/layout_tests/port/win.py:
3368 (WinPort.show_results_html_file):
3369 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3370 (MainTest.test_unexpected_failures):
3371 (MainTest.test_results_directory_absolute):
3372 (MainTest.test_results_directory_default):
3373 (MainTest.test_results_directory_relative):
3375 2012-06-05 Jon Lee <jonlee@apple.com>
3377 Workaround buildbot bug when merging build requests.
3378 https://bugs.webkit.org/show_bug.cgi?id=88158
3380 Reviewed by Mark Rowe.
3382 For expediency, we still want testers to pick the latest build to test, but to ensure
3383 that the builders are reporting the correct revision number, we should let the building bots
3384 run as they normally would. That is, the builder picks the oldest revision, and merges
3385 subsequent requests. Because merged requests get appended to the list of changes for a given
3386 build, the last change in that list is also the latest change. When we used pickLatestBuild
3387 for the builders, this was not the case (it would always report the penultimate change).
3389 http://trac.buildbot.net/ticket/2309 is tracking the buildbot bug.
3391 * BuildSlaveSupport/build.webkit.org-config/config.json: Remove the mergeRequests override
3392 for all Apple builders.
3393 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Have only non-building bots pick
3394 the latest build to run.
3395 (loadBuilderConfig):
3397 2012-06-05 Jessie Berlin <jberlin@apple.com>
3399 [Win] DumpRenderTree should call resetInternalsObject
3400 https://bugs.webkit.org/show_bug.cgi?id=88346
3402 Reviewed by Simon Fraser.
3404 Invoke it on Windows in the same place it is invoked on Mac.
3406 * DumpRenderTree/win/DumpRenderTree.cpp:
3407 (resetWebViewToConsistentStateBeforeTesting):
3409 2012-06-05 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
3411 [GTK] Fix two more memory leaks in DRT
3412 https://bugs.webkit.org/show_bug.cgi?id=88255
3414 Reviewed by Martin Robinson.
3416 Fixed memory leaks in GTK's DRT code.
3418 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3419 (dumpHistoryItem): webkit_web_history_item_get_target() returns a
3420 g_strdup()'d string. So, use GOwnPtr to manage memory automatically.
3421 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
3422 (createBitmapContextFromWebView): Free the cairo surface.
3424 2012-06-05 Allan Sandfeld Jensen <allan.jensen@nokia.com>
3426 [Qt] Building when a top directory is named Source
3427 https://bugs.webkit.org/show_bug.cgi?id=77727
3429 Reviewed by Tor Arne Vestbø.
3431 Change regex to only replace the last instance of OUT_PWD.
3433 * qmake/mkspecs/features/default_pre.prf:
3435 2012-06-05 Dongwoo Im <dw.im@samsung.com>
3437 Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
3438 https://bugs.webkit.org/show_bug.cgi?id=73176
3440 Reviewed by Adam Barth.
3442 Two more APIs are added in Custom Scheme Handler specification.
3443 http://dev.w3.org/html5/spec/Overview.html#custom-handlers
3444 One is 'isProtocolHandlerRegistered' to query whether the specific URL
3445 is registered or not.
3446 The other is 'unregisterProtocolHandler' to remove the registered URL.
3448 * Scripts/webkitperl/FeatureList.pm: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
3450 2012-06-05 Mario Sanchez Prada <msanchez@igalia.com>
3452 [GTK][WK2] Implement API for Geolocation permission requests in the GTK port
3453 https://bugs.webkit.org/show_bug.cgi?id=83879
3455 Reviewed by Carlos Garcia Campos.
3457 Make minibrowser connect to the new 'permission requests' signal
3458 to allow users handle the Geolocation permission requests.
3460 * MiniBrowser/gtk/BrowserWindow.c:
3461 (geolocationRequestDialogCallback): Callback for the dialog asking
3462 the user for allowing or not geolocation permission requests.
3463 (webViewDecidePermissionRequest): Launch a dialog to ask the user
3464 whether to allow or deny geolocation permission requests.
3465 (browserWindowConstructed): Connect to 'permission-request' signal.
3467 2012-06-04 Chase Phillips <cmp@google.com>
3469 Make a builder group support+expect multiple loads.
3470 https://bugs.webkit.org/show_bug.cgi?id=88260
3472 Change BuilderGroup to allow expecting multiple
3473 loads. This allows merging results for a given set
3474 of builders into one group.
3476 Add a test that verifies that the group count
3477 increments correctly based on successful and failed
3480 Reviewed by Ojan Vafai.
3482 * TestResultServer/static-dashboards/builders.js:
3484 (BuilderGroup.prototype.setbuilder):
3485 (BuilderGroup.prototype.append):
3486 (BuilderGroup.prototype.loaded):
3487 (requestBuilderList.xhr.onload):
3488 (requestBuilderList.xhr.onerror):
3489 (onErrorLoadingBuilderList):
3491 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3493 * TestResultServer/static-dashboards/run-unittests.html:
3495 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
3497 Python test fix attempt for Chromium Windows.
3499 * Scripts/webkitpy/layout_tests/port/driver.py:
3500 (Driver.uri_to_test):
3502 2012-06-04 Hugo Parente Lima <hugo.lima@openbossa.org>
3504 Turn LEGACY_VIEWPORT_ADAPTION USE flag into an ENABLE flag.
3505 https://bugs.webkit.org/show_bug.cgi?id=88243
3507 Reviewed by Adam Barth.
3509 * qmake/mkspecs/features/features.prf:
3511 2012-06-04 Dirk Pranke <dpranke@chromium.org>
3513 webkitpy.layout_tests.port.server_process_unittest.TestServerProcess.test_basic is flaky
3514 https://bugs.webkit.org/show_bug.cgi?id=88280
3516 Unreviewed, build fix.
3518 * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
3519 (TestServerProcess.test_basic):
3521 2012-06-04 Dirk Pranke <dpranke@chromium.org>
3523 test-webkitpy is hanging under cygwin
3524 https://bugs.webkit.org/show_bug.cgi?id=88269
3526 Reviewed by Ryosuke Niwa.
3528 The 'multiprocessing' module doesn't work correctly under Cygwin yet,
3529 so we need to skip any tests that use it.
3531 * Scripts/webkitpy/common/system/executive.py:
3532 (Executive.run_in_parallel):
3533 * Scripts/webkitpy/common/system/executive_unittest.py:
3534 (ExecutiveTest.test_run_in_parallel):
3536 2012-06-04 Dirk Pranke <dpranke@chromium.org>
3538 test-webkitpy is failing on win32 after r115054
3539 https://bugs.webkit.org/show_bug.cgi?id=88264
3541 Reviewed by Ryosuke Niwa.
3543 The failing http_server test was improperly suppressed (the
3544 tuple was missing a comma, and so wasn't a tuple at all, just a
3545 string) and so we were skipping *all* tests on win32. The right
3546 way to skip a single test is to disable it inside the test
3549 * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
3550 (TestHttpServer.test_start_cmd):
3551 * Scripts/webkitpy/test/test_finder.py:
3552 (TestFinder._default_names):
3553 * Scripts/webkitpy/test/main.py:
3554 (Tester.run): Add error message if we don't find any tests to run.
3555 * Scripts/webkitpy/test/main_unittest.py:
3558 2012-06-04 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
3560 [GTK] Memory leaks in AccessibilityUIElementGtk.cpp
3561 https://bugs.webkit.org/show_bug.cgi?id=88215
3563 Reviewed by Martin Robinson.
3565 Fixed memory leaks in AccessibilityUIElement by using GOwnPtr
3566 for newly allocated strings.
3568 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3569 (attributeSetToString):
3570 (AccessibilityUIElement::allAttributes):
3572 2012-06-04 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
3574 [GTK] Memory leaks in DumpRenderTree.cpp
3575 https://bugs.webkit.org/show_bug.cgi?id=88213
3577 Reviewed by Martin Robinson.
3579 Fixed memory leaks in DumpRenderTree.
3581 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3582 (appendString): Accepts const gchar* as the second argument.
3583 (dumpFramesAsText): Free the string returned by g_strdup_printf().
3584 (dumpHistoryItem): Free the string returned by g_uri_parse_scheme().
3586 2012-06-04 David Dorwin <ddorwin@chromium.org>
3588 Enable Chromium media player to instantiate a plugin
3589 https://bugs.webkit.org/show_bug.cgi?id=87399
3591 Reviewed by Kent Tamura.
3593 Adds WebHelperPlugin, an off-screen widget that contains an <object> tag.
3595 * DumpRenderTree/chromium/WebViewHost.cpp:
3596 (WebViewHost::createPopupMenu):
3598 2012-06-04 Mario Sanchez Prada <msanchez@igalia.com>
3600 [GTK][WK2] Implement geolocation provider for the GTK port
3601 https://bugs.webkit.org/show_bug.cgi?id=83877
3603 Reviewed by Carlos Garcia Campos.
3605 * gtk/generate-gtkdoc:
3606 (get_webkit2_options): Ignore WebKitGeolocationProvider files.
3608 2012-06-04 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
3610 [EFL] Reset "WebKitTabToLinksPreferenceKey" in DumpRenderTreeChrome::resetDefaultsToConsistentValues
3611 https://bugs.webkit.org/show_bug.cgi?id=87668
3613 Reviewed by Ryosuke Niwa.
3615 Layout test controller "WebKitTabToLinksPreferenceKey" setting should be reset to false
3616 otherwise LayoutTests/fast/html/tab-order.html is failing as it has a link inside the test description which might
3617 be included in focus chain (if "WebKitTabToLinksPreferenceKey" setting is set to true).
3619 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3620 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
3622 2012-06-04 Tomasz Morawski <t.morawski@samsung.com>
3624 [EFL] Refactor ewk_view_context_paint code.
3625 https://bugs.webkit.org/show_bug.cgi?id=85588
3627 Reviewed by Hajime Morita.
3629 * DumpRenderTree/efl/CMakeLists.txt: Added include directory.
3631 2012-06-04 Christophe Dumez <christophe.dumez@intel.com>
3633 [EFL] Compilation warning in DumpRenderTreeView.cpp on 64-Bit
3634 https://bugs.webkit.org/show_bug.cgi?id=87869
3636 Reviewed by Andreas Kling.
3638 Replace %lld by PRId64 macro to print an int64_t value and silent a
3639 compilation warning on 64-Bit.
3641 * DumpRenderTree/efl/DumpRenderTreeView.cpp:
3642 (onExceededApplicationCacheQuota):
3644 2012-06-03 Varun Jain <varunjain@google.com>
3646 [chromium] Add new gesture type (two finger tap) that triggers context menu.
3647 https://bugs.webkit.org/show_bug.cgi?id=88173
3649 Reviewed by Adam Barth.
3651 * DumpRenderTree/chromium/EventSender.cpp:
3652 (EventSender::EventSender):
3653 (EventSender::gestureTwoFingerTap):
3654 (EventSender::gestureEvent):
3655 * DumpRenderTree/chromium/EventSender.h:
3658 2012-06-02 Zeno Albisser <zeno@webkit.org>
3660 Fix and enable WebGL for WebKit2 on Qt.
3661 https://bugs.webkit.org/show_bug.cgi?id=86214
3663 Enable WebGL by default for Qt MiniBrowser.
3665 Reviewed by Noam Rosenthal.
3667 * MiniBrowser/qt/qml/BrowserWindow.qml:
3669 2012-06-02 Ryosuke Niwa <rniwa@webkit.org>
3671 Teach svn-apply how to apply changes in test_expectations.txt to TestExpectations
3672 https://bugs.webkit.org/show_bug.cgi?id=88164
3674 Reviewed by Kentaro Hara.
3676 Just like r74856, adjust git/svn headers from test_expectations.txt to TestExpectations.
3677 Also replace all occurrences of /test_expectations.txt: by /TestExpectations: in change log entries.
3679 * Scripts/VCSUtils.pm:
3680 (adjustPathForRecentRenamings):
3681 (fixChangeLogPatch):
3683 2012-06-01 Ryosuke Niwa <rniwa@webkit.org>
3685 Rename test_expectations.txt to TestExpectations
3686 https://bugs.webkit.org/show_bug.cgi?id=86690
3688 Reviewed by Dirk Pranke.
3690 Make webkitpy aware of both test_expectations.txt and TestExpectations while we rename files.
3691 We can the code to read test_expectations.txt once we've successfully transitioned.
3693 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3694 (TestExpectationParser._check_path_does_not_exist):
3695 (TestExpectationParser._tokenize):
3696 (TestExpectations): Removed TEST_LIST, which is not used anywhere.
3697 * Scripts/webkitpy/layout_tests/port/base.py:
3698 (Port.path_to_test_expectations_file): Moved from WebKitPort and ChromiumPort. Returns the path to
3699 test_expectations.txt if one exists and the path to TestExpectations otherwise.
3700 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3701 (PortTest.test_virtual_methods): path_to_test_expectations_file and test_expectations are no longer
3703 * Scripts/webkitpy/layout_tests/port/chromium.py:
3704 (ChromiumPort.path_from_chromium_base):
3705 * Scripts/webkitpy/layout_tests/port/chromium_android.py:
3706 (ChromiumAndroidPort.test_expectations):
3707 * Scripts/webkitpy/layout_tests/port/test.py:
3708 (add_unit_tests_to_mock_filesystem): Use TestExpectations instead of test_expectations.txt.
3709 (TestPort.__init__):
3710 * Scripts/webkitpy/layout_tests/port/webkit.py:
3711 (WebKitPort.baseline_search_path):
3712 (WebKitPort.test_expectations):
3713 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added some test cases. We should move these
3714 tests to base as a follow up.
3715 (WebKitPortTest.test_path_to_test_expectations_file):
3716 (test_test_expectations):
3717 (test_legacy_test_expectations):
3718 * Scripts/webkitpy/style/checker.py:
3719 (CheckerDispatcher.should_skip_without_warning): Replace the check for legacy drt_expectations.txt
3720 with one for TestExpectations.
3721 * Scripts/webkitpy/style/checkers/test_expectations.py:
3722 (TestExpectationsChecker): Accept both test_expectations.txt and TestExpectations in warning outputs.
3723 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
3724 (TestExpectationsTestCase._expect_port_for_expectations_path): Test both TestExpectations and
3725 test_expectations.txt.
3726 (TestExpectationsTestCase.test_determine_port_from_expectations_path):
3727 (TestExpectationsTestCase.assert_lines_lint):
3728 * Scripts/webkitpy/tool/commands/queries.py:
3729 (PrintExpectations.__init__):
3730 * Scripts/webkitpy/tool/commands/rebaseline.py:
3731 (RebaselineExpectations):
3732 * Scripts/webkitpy/tool/steps/commit.py:
3733 (Commit._check_test_expectations):
3734 * Scripts/webkitpy/tool/steps/commit_unittest.py:
3735 (CommitTest._test_check_test_expectations): Extracted from test_check_test_expectations.
3736 (CommitTest.test_check_test_expectations): For TestExpectations.
3737 (CommitTest.test_check_legacy_test_expectations): For test_expectations.txt
3738 * TestResultServer/static-dashboards/dashboard_base.js:
3739 (requestExpectationsFile): Look for TestExpectations first, and fallback to test_expectations.txt.
3740 Error only when neither exists.
3741 * TestResultServer/static-dashboards/flakiness_dashboard.js:
3742 (processMissingAndExtraExpectations):
3743 (htmlForTestsWithExpectationsButNoFailures):
3744 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3746 2012-06-01 Xianzhu Wang <wangxianzhu@chromium.org>
3748 Remove dependency from ImageDiff to WTF
3749 https://bugs.webkit.org/show_bug.cgi?id=88147
3751 Reviewed by Adam Barth.
3753 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
3755 2012-06-01 Dirk Pranke <dpranke@chromium.org>
3757 NRWT seems to leak (more?) temp dirs
3758 https://bugs.webkit.org/show_bug.cgi?id=88126
3760 Re-land r119297 with chromium fix (weren't calling the
3761 super() method if not in --test-shell mode in start().
3762 Add unit tests to chromium_unittest as well to check.
3764 * Scripts/webkitpy/layout_tests/port/chromium.py:
3765 (ChromiumDriver.start):
3766 * Scripts/webkitpy/layout_tests/port/webkit.py:
3767 (WebKitDriver.__del__):
3768 (WebKitDriver._start):
3769 (WebKitDriver.run_test):
3770 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
3771 (WebKitDriverTest.test_check_for_driver_crash):
3772 (WebKitDriverTest.test_stop_cleans_up_properly):
3774 (WebKitDriverTest.test_two_starts_cleans_up_properly):
3775 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3776 (ChromiumDriverTest.test_stop_cleans_up_properly):
3777 (ChromiumDriverTest.test_two_starts_cleans_up_properly):
3779 2012-06-01 Tim Horton <timothy_horton@apple.com>
3781 Lots of "failed download-built-product" on Apple bots
3782 https://bugs.webkit.org/show_bug.cgi?id=88158
3784 Reviewed by Jessie Berlin.
3786 Disable mergeRequests on all Apple builders. This is a speculative fix.
3788 * BuildSlaveSupport/build.webkit.org-config/config.json:
3790 2012-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
3792 Unreviewed, rolling out r119297.
3793 http://trac.webkit.org/changeset/119297
3794 https://bugs.webkit.org/show_bug.cgi?id=88156
3796 May have broken Chromium bots (Requested by rniwa on #webkit).
3798 * Scripts/webkitpy/layout_tests/port/webkit.py:
3799 (WebKitDriver.__del__):
3800 (WebKitDriver.run_test):
3801 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
3802 (WebKitDriverTest.test_check_for_driver_crash):
3803 (WebKitDriverTest.test_stop_cleans_up_properly):
3805 2012-06-01 Dirk Pranke <dpranke@chromium.org>
3807 nrwt seems to leak tmpdirs
3808 https://bugs.webkit.org/show_bug.cgi?id=88126
3810 Reviewed by Ojan Vafai.
3812 Fix leak possibly introduced in r118979 - we now will
3813 make sure we clean up any stale temp directories during the
3814 start routine and attempt to clean up again in __del__. It
3815 turns out that asserting in __del__ logs a message but is
3816 caught by the runtime, so it's mostly useless.
3818 * Scripts/webkitpy/layout_tests/port/webkit.py:
3819 (WebKitDriver.__del__):
3820 (WebKitDriver._start):
3821 (WebKitDriver.run_test):
3822 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
3823 (WebKitDriverTest.test_check_for_driver_crash):
3824 (WebKitDriverTest.test_stop_cleans_up_properly):
3826 (WebKitDriverTest.test_two_starts_cleans_up_properly):
3828 2012-06-01 Michael Saboff <msaboff@apple.com>
3830 WebFrame::_stringByEvaluatingJavaScriptFromString methods don't handle nil string
3831 https://bugs.webkit.org/show_bug.cgi?id=88109
3833 Reviewed by Geoffrey Garen.
3835 Additional test case.
3837 * TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm:
3838 (TestWebKitAPI::TEST):
3840 2012-06-01 Simon Hausmann <simon.hausmann@nokia.com>
3842 [Qt] Use -Werror only in developer builds
3844 Rubber-stamped by Tor Arne Vestbø.
3846 In production builds -Werror with custom toolchains and wierd system
3847 headers, -Werror is of no use and just creates confusion. So use it
3848 only if Qt is configured with -developer-build.
3850 * qmake/mkspecs/features/default_pre.prf: Move qt_developer_build determination here...
3851 * qmake/mkspecs/features/unix/default_post.prf: ... so that we can use it here to do -Werror
3852 only if qt_developer_build is set.
3854 2012-06-01 Jochen Eisinger <jochen@chromium.org>
3856 [watchlist] Add myself to loader and v8 bindings changes
3857 https://bugs.webkit.org/show_bug.cgi?id=88112
3859 Reviewed by Adam Barth.
3861 * Scripts/webkitpy/common/config/watchlist:
3863 2012-06-01 Jacky Jiang <zhajiang@rim.com>
3865 Adding Jacky Jiang to committers.py
3866 https://bugs.webkit.org/show_bug.cgi?id=88122
3868 Reviewed by Rob Buis.
3870 Adding myself to committers.py as a Committer.
3872 * Scripts/webkitpy/common/config/committers.py:
3874 2012-06-01 Jessie Berlin <jberlin@apple.com>
3878 * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
3880 2012-06-01 Jessie Berlin <jberlin@apple.com>
3882 Windows WK2 MouseMoveAfterCrash API test failing
3883 https://bugs.webkit.org/show_bug.cgi?id=69982
3885 Disable the test on Windows to get the bots greener.
3887 * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
3888 (TestWebKitAPI::TEST):
3890 2012-06-01 Christophe Dumez <christophe.dumez@intel.com>
3892 [EFL] EFL port does not enable WEB_INTENTS_TAG flag
3893 https://bugs.webkit.org/show_bug.cgi?id=86866
3895 Reviewed by Adam Barth.
3897 Catch new "intent,service,register" signal on the frame and print out
3898 information about the Web Intent service in EFL's DumpRenderTree.
3900 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3901 (DumpRenderTreeChrome::createView):
3902 (DumpRenderTreeChrome::onFrameCreated):
3903 (DumpRenderTreeChrome::onFrameIntentServiceRegistration):
3904 * DumpRenderTree/efl/DumpRenderTreeChrome.h:
3905 (DumpRenderTreeChrome):
3907 2012-06-01 Martin Robinson <mrobinson@igalia.com>
3909 The ChangeLog parser cannot handle reviewers with initials in their name
3910 https://bugs.webkit.org/show_bug.cgi?id=87864
3912 Reviewed by Ryosuke Niwa.
3914 Add support in the ChangeLog parser for reviewer names that have
3917 * Scripts/webkitpy/common/checkout/changelog.py:
3918 (ChangeLogEntry): Add a new group of regular expressions that need a backreference
3919 in the replacement string. This allows for matching the word characters before a
3920 period, without totally throwing them away.
3921 (ChangeLogEntry._parse_reviewer_text): Use the new regular expression.
3922 * Scripts/webkitpy/common/checkout/changelog_unittest.py:
3923 (test_fuzzy_reviewer_match_initial): Add a test for a reviewer name that has an initial.
3925 2012-06-01 Christophe Dumez <christophe.dumez@intel.com>
3927 [EFL] EFL's LayoutTestController needs to implement deliverWebIntent
3928 https://bugs.webkit.org/show_bug.cgi?id=86865
3930 Reviewed by Adam Barth.
3932 Add deliverWebIntent method to LayoutTestController and provide
3933 implementation for EFL port.
3935 * DumpRenderTree/LayoutTestController.cpp:
3936 (deliverWebIntentCallback):
3937 (LayoutTestController::staticFunctions):
3938 * DumpRenderTree/LayoutTestController.h:
3939 (LayoutTestController):
3940 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
3941 (LayoutTestController::deliverWebIntent):
3942 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
3943 (LayoutTestController::deliverWebIntent):
3944 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3945 (LayoutTestController::deliverWebIntent):
3946 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3947 (LayoutTestController::deliverWebIntent):
3948 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3949 (LayoutTestController::deliverWebIntent):
3950 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3951 (LayoutTestController::deliverWebIntent):
3953 2012-06-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3955 [Qt] Make Qt Creator aware of files in webkitpy/perl for easy editing
3957 Reviewed by Simon Hausmann.
3961 2012-06-01 Ryosuke Niwa <rniwa@webkit.org>
3963 Add public page loading performance tests using web-page-replay
3964 https://bugs.webkit.org/show_bug.cgi?id=84008
3966 Reviewed by Dirk Pranke.
3968 Add the primitive implementation of replay performance tests. We use web-page-replay (http://code.google.com/p/web-page-replay/)
3969 to cache data locally. Each replay test is represented by a text file with .replay extension containing a single URL.
3970 To hash out bugs and isolate them from the rest of performance tests, replay tests are hidden behind --replay flag.
3972 Run "run-perf-tests --replay PerformanceTests/Replay" after changing the system network preference to forward HTTP and HTTPS requests
3973 to localhost:8080 and localhost:8443 respectively (i.e. configure the system as if there are HTTP proxies at ports 8080 and 8443)
3974 excluding: *.webkit.org, *.googlecode.com, *.sourceforge.net, pypi.python.org, and www.adambarth.com for thirdparty Python dependencies.
3975 run-perf-tests starts web-page-replay, which provides HTTP proxies at ports 8080 and 8443 to replay pages.
3977 * Scripts/webkitpy/layout_tests/port/driver.py:
3978 (Driver.is_external_http_test): Added.
3979 * Scripts/webkitpy/layout_tests/port/webkit.py:
3980 (WebKitDriver._command_from_driver_input): Allow test names that starts with http:// or https://.
3981 * Scripts/webkitpy/performance_tests/perftest.py:
3982 (PerfTest.__init__): Takes port.
3983 (PerfTest.prepare): Added. Overridden by ReplayPerfTest.
3985 (PerfTest.run): Calls run_single.
3986 (PerfTest.run_single): Extracted from PageLoadingPerfTest.run.
3987 (ChromiumStylePerfTest.__init__):
3988 (PageLoadingPerfTest.__init__):
3989 (PageLoadingPerfTest.run):
3990 (ReplayServer): Added. Responsible for starting and stopping replay.py in the web-page-replay.
3991 (ReplayServer.__init__):
3992 (ReplayServer.wait_until_ready): Wait until port 8080 is ready. I have tried looking at the piped output from web-page-replay
3993 but it caused a dead lock on some web pages.
3994 (ReplayServer.stop):
3995 (ReplayServer.__del__):
3997 (ReplayPerfTest.__init__):
3998 (ReplayPerfTest._start_replay_server):
3999 (ReplayPerfTest.prepare): Creates test.wpr and test-expected.png to cache the page when a replay test is ran for the first time.
4000 The subsequent runs of the same test will just use test.wpr.
4001 (ReplayPerfTest.run_single):
4003 (PerfTestFactory.create_perf_test):
4004 * Scripts/webkitpy/performance_tests/perftest_unittest.py:
4005 (MainTest.test_parse_output):
4006 (MainTest.test_parse_output_with_failing_line):
4007 (TestPageLoadingPerfTest.test_run):
4008 (TestPageLoadingPerfTest.test_run_with_bad_output):
4009 (TestReplayPerfTest):
4010 (TestReplayPerfTest.ReplayTestPort):
4011 (TestReplayPerfTest.ReplayTestPort.__init__):
4012 (TestReplayPerfTest.ReplayTestPort.__init__.ReplayTestDriver):
4013 (TestReplayPerfTest.ReplayTestPort.__init__.ReplayTestDriver.run_test):
4014 (TestReplayPerfTest.ReplayTestPort._driver_class):
4015 (TestReplayPerfTest.MockReplayServer):
4016 (TestReplayPerfTest.MockReplayServer.__init__):
4017 (TestReplayPerfTest.MockReplayServer.stop):
4018 (TestReplayPerfTest._add_file):
4019 (TestReplayPerfTest._setup_test):
4020 (TestReplayPerfTest.test_run_single):
4021 (TestReplayPerfTest.test_run_single.run_test):
4022 (TestReplayPerfTest.test_run_single_fails_without_webpagereplay):
4023 (TestReplayPerfTest.test_prepare_fails_when_wait_until_ready_fails):
4024 (TestReplayPerfTest.test_run_single_fails_when_output_has_error):
4025 (TestReplayPerfTest.test_run_single_fails_when_output_has_error.run_test):
4026 (TestReplayPerfTest.test_prepare):
4027 (TestReplayPerfTest.test_prepare.run_test):
4028 (TestReplayPerfTest.test_prepare_calls_run_single):
4029 (TestReplayPerfTest.test_prepare_calls_run_single.run_single):
4030 (TestPerfTestFactory.test_regular_test):
4031 (TestPerfTestFactory.test_inspector_test):
4032 (TestPerfTestFactory.test_page_loading_test):
4033 * Scripts/webkitpy/performance_tests/perftestsrunner.py:
4035 (PerfTestsRunner._parse_args): Added --replay flag to enable replay tests.
4036 (PerfTestsRunner._collect_tests): Collect .replay files when replay tests are enabled.
4037 (PerfTestsRunner._collect_tests._is_test_file):
4038 (PerfTestsRunner.run): Exit early if one of calls to prepare() fails.
4039 * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
4042 (_tests_for_runner):
4043 (test_run_test_set):
4044 (test_run_test_set_kills_drt_per_run):
4045 (test_run_test_pause_before_testing):
4046 (test_run_test_set_for_parser_tests):
4047 (test_run_test_set_with_json_output):
4048 (test_run_test_set_with_json_source):
4049 (test_run_test_set_with_multiple_repositories):
4050 (test_run_with_upload_json):
4052 (test_upload_json.MockFileUploader.upload_single_text_file):
4054 (test_collect_tests):
4055 (test_collect_tests_with_multile_files):
4056 (test_collect_tests_with_multile_files.add_file):
4057 (test_collect_tests_with_skipped_list):
4058 (test_collect_tests_with_page_load_svg):
4059 (test_collect_tests_should_ignore_replay_tests_by_default):
4060 (test_collect_tests_with_replay_tests):
4062 * Scripts/webkitpy/thirdparty/__init__.py: Added the dependency for web-page-replay version 1.1.1.
4063 (AutoinstallImportHook.find_module):
4064 (AutoinstallImportHook._install_webpagereplay):
4066 2012-05-31 Yaron Friedman <yfriedman@chromium.org>
4068 Support building the Android port of chromium with Ninja
4069 https://bugs.webkit.org/show_bug.cgi?id=87545
4071 Reviewed by Adam Barth.
4073 Ensures that shared libraries are looked up in a generator-agnostic
4074 way and that output is placed in the correct directory.
4076 Depends on http://codereview.chromium.org/10386188/
4078 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
4080 2012-05-31 Ryosuke Niwa <rniwa@webkit.org>
4082 [Chromium] Chromium DRT should be able to load external resources
4083 https://bugs.webkit.org/show_bug.cgi?id=87893
4085 Reviewed by Dirk Pranke.
4087 Allow external resources to be loaded when the main frame's URL is also an external resource.
4088 This change is analogous to r118231 for Mac port.
4090 * DumpRenderTree/chromium/WebViewHost.cpp:
4093 (hostIsUsedBySomeTestsToGenerateError):
4094 (WebViewHost::willSendRequest):
4096 2012-05-31 Anders Carlsson <andersca@apple.com>
4100 Disable the C++11 extensions warning.
4102 * DumpRenderTree/mac/Configurations/Base.xcconfig:
4103 * TestWebKitAPI/Configurations/Base.xcconfig:
4104 * WebKitTestRunner/Configurations/Base.xcconfig:
4106 2012-05-31 Alexey Proskuryakov <ap@apple.com>
4108 [WK2] window.internals settings are not reset between tests
4109 https://bugs.webkit.org/show_bug.cgi?id=87783
4111 Reviewed by Mihai Parparita.
4113 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
4114 (WTR::InjectedBundle::done): Call resetAfterTest().
4116 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
4117 (WTR::InjectedBundlePage::prepare): Renamed from "reset" for clarity.
4118 (WTR::InjectedBundlePage::resetAfterTest): Added a function that resets internals.
4119 This needs to be done after a tets, because the code assumes that there is an object
4120 with this name in global scope.
4122 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
4124 2012-05-31 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
4126 [EFL][DRT] EFL's DRT navigation_policy_decision implementation
4127 https://bugs.webkit.org/show_bug.cgi?id=85006
4129 Reviewed by Tor Arne Vestbø.
4131 Added navigation_policy_decision implementation for DumpRenderTreeView.
4132 Added LayoutTestController::setCustomPolicyDelegate implementation.
4133 Modified LayoutTestController::waitForPolicyDelegate.
4135 * DumpRenderTree/efl/DumpRenderTree.cpp:
4136 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
4137 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
4138 * DumpRenderTree/efl/DumpRenderTreeEfl.h:
4139 * DumpRenderTree/efl/DumpRenderTreeView.cpp:
4140 (navigationTypeToString): aux function
4141 (onNavigationPolicyDecision): navigation_policy_decision implementation
4143 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4144 (LayoutTestController::setCustomPolicyDelegate):
4145 (LayoutTestController::waitForPolicyDelegate):
4147 2012-05-31 Jussi Kukkonen <jussi.kukkonen@intel.com>
4149 [EFL][DRT] LayoutTestController does not implement clearApplicationCacheForOrigin
4150 https://bugs.webkit.org/show_bug.cgi?id=86195
4152 Reviewed by Gustavo Noronha Silva.
4154 Implement clearApplicationCacheForOrigin in EFL
4155 LayoutTestController.
4157 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4158 (LayoutTestController::clearApplicationCacheForOrigin):
4160 2012-05-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
4162 [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
4163 https://bugs.webkit.org/show_bug.cgi?id=87955
4165 Reviewed by Simon Hausmann.
4167 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
4168 * DumpRenderTree/qt/EventSenderQt.cpp:
4169 * DumpRenderTree/qt/QtInitializeTestFonts.cpp:
4170 * DumpRenderTree/qt/main.cpp:
4171 * QtTestBrowser/cookiejar.cpp:
4172 * QtTestBrowser/launcherwindow.cpp:
4173 * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
4174 * qmake/mkspecs/features/default_post.prf:
4176 2012-05-31 Zoltan Horvath <zoltan@webkit.org>
4178 [Qt] Don't enforce the version of libpng for the config test when passing the option to the linker
4180 Rubber-stamped by Kenneth Rohde Christiansen.
4182 * qmake/config.tests/libpng/libpng.pro:
4184 2012-05-30 Peter Beverloo <peter@chromium.org>
4186 [Chromium] Automatically install 64-bit linker for Android
4187 https://bugs.webkit.org/show_bug.cgi?id=79780
4189 Reviewed by Adam Barth.
4191 Change the update-webkit-chromium script to check whether the 64-bit
4192 linker needs to be installed as part of the update process. The actual
4193 code for doing these checks and "installing" it has been added to the
4194 webkitdirs.pm script.
4196 The linker itself is part of the third_party/aosp repository, which
4197 will be pulled in through the DEPS change.
4199 * Scripts/update-webkit-chromium:
4200 * Scripts/webkitdirs.pm:
4201 (chromiumInstall64BitAndroidLinkerIfNeeded):
4202 (chromiumReplaceAndroidLinkerIfNeeded):
4204 2012-05-30 Stephanie Lewis <slewis@apple.com>
4206 https://bugs.webkit.org/show_bug.cgi?id=87803
4207 Layout tests often fail trying to stat nonexistent logs
4209 Reviewed by Dirk Pranke.
4211 CrashReporter removes logs using a heuristic to conserve space. Wrap a
4212 try/catch block around accessing the logs as a precaution.
4214 * Scripts/webkitpy/common/system/crashlogs.py:
4215 (CrashLogs._find_newest_log_darwin):
4217 2012-05-30 Gavin Peters <gavinp@chromium.org>
4219 Add a LayoutTest for prerender remove after stop.
4220 https://bugs.webkit.org/show_bug.cgi?id=87860
4222 These very boring mocks in DumpRenderTree mean that the basic Prerendering API
4223 can be tested by LayoutTests now.
4225 Reviewed by Adam Barth.
4227 * DumpRenderTree/DumpRenderTree.gypi:
4228 * DumpRenderTree/chromium/MockWebPrerenderingSupport.cpp: Added.
4229 (MockWebPrerenderingSupport::MockWebPrerenderingSupport):
4230 (MockWebPrerenderingSupport::~MockWebPrerenderingSupport):
4231 (MockWebPrerenderingSupport::add):
4232 (MockWebPrerenderingSupport::cancel):
4233 (MockWebPrerenderingSupport::abandon):
4234 * DumpRenderTree/chromium/MockWebPrerenderingSupport.h: Added.
4235 (MockWebPrerenderingSupport):
4236 * DumpRenderTree/chromium/TestShell.cpp:
4237 (TestShell::initialize):
4238 * DumpRenderTree/chromium/TestShell.h:
4240 * DumpRenderTree/chromium/WebViewHost.cpp:
4241 (WebViewHost::willAddPrerender):
4242 (WebViewHost::setWebWidget):
4243 * DumpRenderTree/chromium/WebViewHost.h:
4246 2012-05-30 Stephanie Lewis <slewis@apple.com>
4248 https://bugs.webkit.org/show_bug.cgi?id=87717
4249 Unresponsive WebProcesses can be mistaken for WebProcess crashes.
4251 Reviewed by Dirk Pranke.
4253 Change the error message from #CRASHED to #UNRESPONSIVE PROCESS
4254 If there isn't a crash log found for the process add a message saying
4255 the process was unresponsive.
4257 * Scripts/webkitpy/layout_tests/port/webkit.py:
4258 (WebKitDriver.__init__):
4259 (WebKitDriver._check_for_driver_crash):
4260 (WebKitDriver.run_test):
4261 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
4262 (WebKitDriverTest.test_check_for_driver_crash.assert_crash):
4264 (WebKitDriverTest.test_check_for_driver_crash):
4265 * WebKitTestRunner/TestController.cpp:
4267 (WTR::TestController::runTest):
4269 2012-05-30 Stephanie Lewis <slewis@apple.com>
4271 https://bugs.webkit.org/show_bug.cgi?id=87714
4272 Mac crash logs can take a really long time to be written out.
4274 Reviewed by Dirk Pranke.
4276 Make a second pass looking for crash logs after the tests have completed running.
4278 * Scripts/webkitpy/layout_tests/controllers/manager.py:
4279 (use_trac_links_in_results_html):
4281 * Scripts/webkitpy/layout_tests/port/base.py:
4282 (Port.repository_paths):
4283 (Port.look_for_new_crash_logs):
4284 * Scripts/webkitpy/layout_tests/port/mac.py:
4285 (MacPort.look_for_new_crash_logs):
4286 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
4287 (test_get_crash_log):
4288 (test_look_for_new_crash_logs):
4289 (test_look_for_new_crash_logs.fake_time_cb):
4291 2012-05-30 Kevin Ollivier <kevino@theolliviers.com>
4293 [wx] Fix 2.9 issues with c_str() type by using the wx fprintf wrapper.
4295 * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
4296 (LayoutWebViewEventHandler::OnAlertEvent):
4297 (LayoutWebViewEventHandler::OnConfirmEvent):
4298 (LayoutWebViewEventHandler):
4299 (LayoutWebViewEventHandler::OnPromptEvent):
4300 (LayoutWebViewEventHandler::OnConsoleMessageEvent):
4301 (LayoutWebViewEventHandler::OnReceivedTitleEvent):
4303 2012-05-30 Ojan Vafai <ojan@chromium.org>
4305 Only give lint errors for -expected.png png files that lack a checksum
4306 https://bugs.webkit.org/show_bug.cgi?id=87875
4308 Reviewed by Tony Chang.
4310 We have other pngs in the tree, e.g. for the inspector, that legitimately
4313 * Scripts/webkitpy/style/checkers/png.py:
4315 * Scripts/webkitpy/style/checkers/png_unittest.py:
4316 (PNGCheckerTest.test_check):
4318 2012-05-30 Dirk Pranke <dpranke@chromium.org>
4320 nrwt: seems to leak temp dirs
4321 https://bugs.webkit.org/show_bug.cgi?id=87795
4323 Reviewed by Ojan Vafai.
4325 There appears to be a bug where the chromium bots are creating
4326 temporary directories and not cleaning them up that started
4327 after the switch to WebKitDriver. It's possible that __del__
4328 wasn't getting called in a timely manner (or at all), and it's
4329 generally bad style to rely on __del__ being called, so this
4330 code changes things so that we create a temp dir in
4331 driver.start() and remove it in driver.stop(). We could be
4332 paranoid and leave the __del__ code in, but there doesn't seem
4333 to be much advantage to it. If there are bugs that result in
4334 drivers being started but not stopped, we have other problems.
4336 * Scripts/webkitpy/common/system/filesystem_mock.py:
4337 (MockFileSystem.__init__):
4338 (MockFileSystem._mktemp):
4339 (MockFileSystem.mkdtemp):
4340 * Scripts/webkitpy/layout_tests/port/webkit.py:
4341 (WebKitDriver.__init__):
4342 (WebKitDriver._start):
4343 (WebKitDriver.stop):
4344 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
4345 (WebKitDriverTest.test_check_for_driver_crash):