1 2011-02-03 Adam Roben <aroben@apple.com>
3 Include the crashing function in the link to a crash log
5 Fixes <http://webkit.org/b/53739> Crash log links in results.html should include the
8 Reviewed by David Kilzer.
10 * Scripts/old-run-webkit-tests:
11 (crashLocation): Added. Returns the location of the crash.
12 (linksForErrorTest): Include the crash location in the link text for the crash log, if one
15 2011-02-03 Dirk Pranke <dpranke@chromium.org>
17 Unreviewed, build fix.
19 Actually make the changes suggested by Mihai in his review
22 https://bugs.webkit.org/show_bug.cgi?id=53720
24 * Scripts/webkitpy/layout_tests/port/test_files.py:
25 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
27 2011-02-03 Dirk Pranke <dpranke@chromium.org>
29 Reviewed by Mihai Parparita.
31 new-run-webkit-tests: Fix bug introduced in r77434 that was
32 causing us to run the canvas GPU tests on the Mac GPU port. This
33 bug revealed that we were not setting the port.name() field
34 properly in many cases, so I've cleaned up all of that code, and
35 removed a few comments about "version-specific" GPU ports that
36 don't exist and just confused things.
38 Testing also revealed that port.abspath_for_test() wasn't
39 normalizing paths on Windows properly, so I fixed that as well.
41 https://bugs.webkit.org/show_bug.cgi?id=53719
43 * Scripts/webkitpy/layout_tests/port/base.py:
44 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
45 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
47 2011-02-03 Dirk Pranke <dpranke@chromium.org>
49 Reviewed by Mihai Parparita.
51 new-run-webkit-tests: fix normalization of paths on windows when gathering files
53 r77434 introduced a bug that was causing the test expectations
54 for the GPU ports to not be treated properly. It turns out that
55 when we gathered the list of test files on Windows, we would
56 return paths of the form "c:\LayoutTests/fast/canvas", and the
57 mixture of backslashes and forward slashes was confusing things.
59 This patch normalizes all of the filenames returned from
60 test_files.find(), and adds better tests for this (fixing a
61 couple of other bugs found in the meantime).
63 https://bugs.webkit.org/show_bug.cgi?id=53720
65 * Scripts/webkitpy/layout_tests/port/test.py:
66 * Scripts/webkitpy/layout_tests/port/test_files.py:
67 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
69 2011-02-03 Adam Roben <aroben@apple.com>
71 Add links to Windows crash logs in results.html
73 Fixes <http://webkit.org/b/53718> run-webkit-tests should link to Windows crash logs in
76 Reviewed by David Kilzer.
78 * Scripts/old-run-webkit-tests:
79 (top level): Added $crashLogTag and $windowsCrashLogFilePrefix (which came from
80 createDebuggerCommandFile).
81 (testCrashedOrTimedOut): If the test crashed, capture any saved crash log after the dump
83 (captureSavedCrashLog): Added. Finds the crash log for the test that just crashed and moves
84 it into the test results directory tree. Only implemented for Cygwin currently.
85 (findNewestFileMatchingGlob): Added. Does what it says.
86 (htmlForResultsSection): Only link to files that exist.
87 (linksForErrorTest): Add a link to the crash log.
88 (deleteExpectedAndActualResults): Delete any old crash log for this test.
89 (createDebuggerCommandFile): Use the new $windowsCrashLogFilePrefix constant instead of
92 2011-02-03 Adam Roben <aroben@apple.com>
94 Tell the debugger the path to the WebKit source tree when saving a crash log
96 This allows the debugger to include the crashing line of code in the log.
98 Fixes <http://webkit.org/b/53678> Crash logs from buildslaves don't show the crashing line
101 Reviewed by Sam Weinig.
103 * Scripts/old-run-webkit-tests:
104 (createDebuggerCommandFile): Added. Saves commands that we'd like the debugger to run to a
105 file and returns the path to that file. The commands we pass came from
106 setUpWindowsCrashLogSaving, but I've added a .srcpath command to tell the debugger where the
107 WebKit source code lives.
108 (setUpWindowsCrashLogSaving): Instead of specifying the commands directly on the command
109 line using -c, save them to a file and specify the path to that file using -cf. This works
110 around what is presumably a bug in Windows's command line parsing, where having multiple
111 quoted paths in the debugger commands causes the post-mortem debugger not to be invoked at
112 all. Also pulled the options we pass to the debugger out into a list that is then join()ed
113 together to make them easier to modify in the future.
115 2011-02-02 Sam Weinig <sam@webkit.org>
117 Reviewed by Anders Carlsson.
119 Add notification of the end of a rubber band.
120 <rdar://problem/8940648>
122 * MiniBrowser/mac/BrowserWindowController.m:
123 (-[BrowserWindowController awakeFromNib]):
124 * WebKitTestRunner/TestController.cpp:
125 (WTR::TestController::createOtherPage):
126 (WTR::TestController::initialize):
127 Stub out the new WKUIClient function.
129 2011-02-03 Gabor Rapcsanyi <rgabor@webkit.org>
133 Adding myself to committers.py.
135 * Scripts/webkitpy/common/config/committers.py:
137 2011-02-03 Balazs Kelemen <kbalazs@webkit.org>
139 Reviewed by Csaba Osztrogonác.
141 [Qt][WK2] MiniBrowser's window size should be 800x600
142 https://bugs.webkit.org/show_bug.cgi?id=53670
144 Make layout test failure debugging easier.
145 * MiniBrowser/qt/BrowserWindow.cpp:
146 (BrowserWindow::BrowserWindow):
148 2011-02-02 Andy Estes <aestes@apple.com>
150 Reviewed by Mark Rowe.
152 'update-webkit' should handle OpenSource and Internal using different
155 * Scripts/update-webkit: Re-check the VCS type when updating Apple's
158 2011-02-02 Dirk Pranke <dpranke@chromium.org>
160 Reviewed by Mihai Parparita.
162 new-run-webkit-tests: hardcode the directories to scan for tests
163 for GPU bots instead of SKIPping them. See bug 53562 for some
164 context, but we will now hard-code the list of directories to
165 use by default instead of skipping over directories in the
166 expectations file. We do this so that we will be able to merge
167 the expectations files without getting conflicting SKIP
168 directives. Note that this change will reduce the # of tests
169 being run on the Mac GPU bots, because we're accidentally
170 including some today.
172 https://bugs.webkit.org/show_bug.cgi?id=53631
174 * Scripts/webkitpy/layout_tests/port/base.py:
175 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
176 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
178 2011-02-02 Sam Weinig <sam@webkit.org>
180 Reviewed by Beth Dakin.
182 Add ChromeClient function to paint custom overhang areas.
183 https://bugs.webkit.org/show_bug.cgi?id=53639
185 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
186 (WTR::InjectedBundlePage::InjectedBundlePage):
187 Stub out new callback.
189 2011-02-02 Dirk Pranke <dpranke@chromium.org>
191 Reviewed by Tony Chang.
193 new-run-webkit-tests: support chromium code paths in mock_drt
195 https://bugs.webkit.org/show_bug.cgi?id=53471
197 * Scripts/webkitpy/layout_tests/port/mock_drt.py:
198 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
200 2011-02-02 Adam Klein <adamk@chromium.org>
202 Reviewed by Tony Chang.
204 Update new-run-webkit-tests --chromium to put output under Source/...
205 https://bugs.webkit.org/show_bug.cgi?id=53612
207 * BuildSlaveSupport/test-result-archive:
208 * Scripts/webkitpy/layout_tests/port/chromium.py:
210 2011-01-28 Tony Chang <tony@chromium.org>
212 Reviewed by Eric Seidel.
214 [chromium] remove --use-test-shell from NRWT
215 https://bugs.webkit.org/show_bug.cgi?id=53346
217 I've already started removing some of the bindings like eventSender so
218 this already doesn't work isn't useful. Also updated some comments to
219 refer to DRT instead of test_shell.
221 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
222 * Scripts/webkitpy/layout_tests/port/chromium.py:
223 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
224 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
225 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
226 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
227 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
228 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
230 2011-02-02 Steve Lacey <sjl@chromium.org>
232 Reviewed by Eric Carlson.
234 Implement basic media statistics on media elements.
235 https://bugs.webkit.org/show_bug.cgi?id=53322
237 * Scripts/build-webkit:
239 2011-02-02 Kevin Ollivier <kevino@theolliviers.com>
241 [wx] Build fixes for wxWebKit.
243 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
244 (LayoutTestController::setSerializeHTTPLoads):
245 * wx/browser/wscript:
246 * wx/build/build_utils.py:
247 * wx/build/settings.py:
249 2011-02-01 Dirk Pranke <dpranke@chromium.org>
251 Reviewed by Mihai Parparita.
253 new-run-webkit-tests: stop skipping so many tests
255 r77163 introduced a regression where we weren't resetting test
256 expectations properly and were skipping too many tests as a
257 result. This patch fixes that and adds a test for it.
259 https://bugs.webkit.org/show_bug.cgi?id=53551
261 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
262 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
264 2011-02-01 Dirk Pranke <dpranke@chromium.org>
266 Reviewed by Tony Chang.
268 new-run-webkit-tests: add first stub of test_runner2. This
269 will add support for the 'inline', 'threads', and 'processes'
270 flags to --worker-model, but for now the implementatios just
271 fall back on the old ones.
273 https://bugs.webkit.org/show_bug.cgi?id=53157
275 * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
276 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
278 2011-02-01 Mihai Parparita <mihaip@chromium.org>
280 Reviewed by James Robinson.
282 [Chromium] run-chromium-webkit-unit-tests looks for binaries in the wrong place
283 https://bugs.webkit.org/show_bug.cgi?id=53522
285 * Scripts/run-chromium-webkit-unit-tests:
287 2011-02-01 Adam Barth <abarth@webkit.org>
289 Reviewed by Mihai Parparita.
291 Using Control-C to cancel webkit-patch or other python tools causes
292 unpleasant traceback console spew
293 https://bugs.webkit.org/show_bug.cgi?id=53462
295 Catch the exception and don't print the stack trace.
297 * Scripts/webkit-patch:
299 2011-02-01 Scott Cameron <sccameron@rim.com>
301 Reviewed by Daniel Bates.
303 Use Windows format for MinGW HTTPD path.
304 https://bugs.webkit.org/show_bug.cgi?id=53503
306 * Scripts/webkitperl/httpd.pm:
307 - Use single-quotes around MySys value for $httpdPath in getHTTPDPath()
308 so that we don't have to escape the space characters in the path. Also,
309 changed path to Windows-style path and removed FIXME comment.
311 2011-02-01 Balazs Kelemen <kbalazs@webkit.org>
313 Reviewed by Andreas Kling.
315 [Qt][WK2] Add a way to use shared process model in MiniBrowser
316 https://bugs.webkit.org/show_bug.cgi?id=53090
318 * MiniBrowser/qt/BrowserView.cpp:
319 (BrowserView::BrowserView): Removed the m_context member.
320 From now the context is guaranteed to be non-null and we
321 don't need to store that in the object.
322 * MiniBrowser/qt/BrowserView.h:
323 * MiniBrowser/qt/BrowserWindow.cpp:
324 Added static bool to determine that new windows need to be
325 created with their own context or not. Use the same context
326 and web process by default to be inilne with the other ports.
327 (BrowserWindow::BrowserWindow):
328 (BrowserWindow::newWindow):
329 * MiniBrowser/qt/BrowserWindow.h:
330 * MiniBrowser/qt/main.cpp:
331 (main): Added command line switch to be able to use the
332 non-shared process model. Simplify the handling of the command line
333 switches a little bit.
335 2011-02-01 Zoltan Horvath <zoltan@webkit.org>
337 Reviewed by Andreas Kling.
339 [Qt] Add Window menu and Toggle FullScreen action to MiniBrowser.
340 https://bugs.webkit.org/show_bug.cgi?id=53491
342 * MiniBrowser/qt/BrowserWindow.cpp:
343 (BrowserWindow::BrowserWindow):
344 (BrowserWindow::toggleFullScreenMode):
345 * MiniBrowser/qt/BrowserWindow.h:
347 2011-02-01 Zoltan Horvath <zoltan@webkit.org>
349 Reviewed by Andreas Kling.
351 [Qt] Add Toggle Frame Flattening, Auto Load Images and Disable JavaScript actions to MiniBrowser.
352 https://bugs.webkit.org/show_bug.cgi?id=53489
354 Add Toggle Frame Flattening action to Develop menu. Add Auto Load Images and Disable JavaScript actions
357 * MiniBrowser/qt/BrowserWindow.cpp:
358 (BrowserWindow::BrowserWindow):
359 (BrowserWindow::toggleFrameFlattening):
360 (BrowserWindow::toggleDisableJavaScript):
361 (BrowserWindow::toggleAutoLoadImages):
362 * MiniBrowser/qt/BrowserWindow.h:
364 2011-01-31 Mihai Parparita <mihaip@chromium.org>
366 Reviewed by Tony Chang.
368 [Chromium] Switch chromium-mac to use ChromiumDriver
369 https://bugs.webkit.org/show_bug.cgi?id=53461
371 For the sake of consistency with the other Chromium platforms (and so
372 that chromium-mac picks up special flags like --enable-hardware-gpu),
373 switch chromium-mac from the WebKitDriver to ChromiumDriver.
375 * Scripts/webkitpy/layout_tests/port/chromium.py:
377 2011-01-31 Dirk Pranke <dpranke@chromium.org>
379 Reviewed by Mihai Parparita.
381 The current modifier parsing code in test_expectations is
382 fragile and hard-coded, so it's not easy to understand the logic
383 or easily add new types of modifiers (like GPU vs. CPU testing
384 for graphics tests, or 32-bit vs. 64-bit differences).
386 This is the first of two patches that will add in more generic
387 support and then eliminate the GPU-specific test expectations
390 This patch adds two standalone objects for handling modifiers. The
391 rules for interpreting modifiers, precedence, and conflicts are
392 given in the docstring to the ModifierMatcher class, which
393 returns ModifierMatchResult objects.
395 This patch also adds routines to the Port interface and a
396 default set of values in the base object, in order to obtain the
397 values needed on a given test run. These values are then passed
398 to the expectation parser. This also allows us to clean up the
399 logic used to lint all of the different configurations in a
400 single test_expectations.txt file.
402 The next patch will merge in the separate GPU expectations file.
404 https://bugs.webkit.org/show_bug.cgi?id=51222
406 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
407 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
408 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
409 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
410 * Scripts/webkitpy/layout_tests/port/base.py:
411 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
412 * Scripts/webkitpy/layout_tests/port/chromium.py:
413 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
414 * Scripts/webkitpy/layout_tests/port/test.py:
415 * Scripts/webkitpy/layout_tests/port/webkit.py:
416 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
417 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
418 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
419 * Tools/Scripts/webkitpy/style/checkers/test_expectations.py:
420 * Tools/Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
422 2011-01-31 Scott Cameron <sccameron@rim.com>
424 Reviewed by Daniel Bates.
426 update run-webkit-httpd to be able to launch Apache2.2 in a MSYS environment
427 https://bugs.webkit.org/show_bug.cgi?id=50036
429 This will add an Apache2.2 configuration file and modifies scripts to allow
430 running an httpd server in an MSYS environment.
432 The default Apache2.2 installation path has been preserved and PHP5 modules disabled
433 in order to allow for simple installation/execution. Simply install the latest
434 Apache2.2 version with OpenSSL from http://httpd.apache.org/download.cgi#apache22 to
435 be able to execute run-webkit-httpd.
438 * Scripts/run-webkit-httpd:
439 * Scripts/webkitperl/httpd.pm:
441 2011-01-31 Tony Chang <tony@chromium.org>
443 Reviewed by Eric Seidel.
445 mac DRT should report RTL scroll offset relative to top right corner
446 https://bugs.webkit.org/show_bug.cgi?id=53324
448 * DumpRenderTree/mac/DumpRenderTree.mm:
449 (dumpFrameScrollPosition):
451 2011-01-31 Zoltan Horvath <zoltan@webkit.org>
453 Reviewed by Andreas Kling.
455 [Qt] Add Take Screen Shot action to MiniBrowser
456 https://bugs.webkit.org/show_bug.cgi?id=53422
458 Add Take Screen Shot action to MiniBrowser's view menu.
460 * MiniBrowser/qt/BrowserWindow.cpp:
461 (BrowserWindow::BrowserWindow):
462 (BrowserWindow::screenshot):
463 * MiniBrowser/qt/BrowserWindow.h:
465 2011-01-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
467 Reviewed by Xan Lopez.
469 [GTK] REGRESSION: http/tests/media/video-{cookie,referer}.html failing
470 https://bugs.webkit.org/show_bug.cgi?id=53379
472 Remove left over #ifdef's. I thought all of the conditional code
473 had been freed from the condition, but I forgot to check DRT.
475 * DumpRenderTree/gtk/DumpRenderTree.cpp:
476 (resetDefaultsToConsistentValues):
477 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
478 (LayoutTestController::setAlwaysAcceptCookies):
480 2011-01-30 Dirk Pranke <dpranke@chromium.org>
482 Unreviewed, build fix.
484 Fix regression introduced in r77093 - path.rsplit() doesn't
485 take keyword arguments.
487 https://bugs.webkit.org/show_bug.cgi?id=53326
489 * Scripts/webkitpy/common/system/filesystem_mock.py:
491 2011-01-30 Dirk Pranke <dpranke@chromium.org>
493 Reviewed by Mihai Parparita.
495 Add more unit tests for rebaseline-chromium-webkit-tests. This
496 change involves restructuring a bunch of r-c-w-t code to make it
497 more testable as well. We also add wrapper classes for handling
498 testing zip files and fetching URLs.
500 https://bugs.webkit.org/show_bug.cgi?id=53040
502 * Scripts/webkitpy/common/system/urlfetcher.py:
503 * Scripts/webkitpy/common/system/urlfetcher_mock.py:
504 * Scripts/webkitpy/common/system/zipfileset_mock.py:
505 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
506 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
507 * Scripts/webkitpy/tool/mocktool.py:
509 2011-01-30 Dirk Pranke <dpranke@chromium.org>
511 Reviewed by Eric Seidel.
513 Clean up of the filesystem-related modules used in webkitpy.
514 I've added relpath() to the filesystem interface, modified
515 ospath.relpath() so that it could work with the filesystem
516 interface, and modified the fileset* routines to use the
517 filesystem interface consistently.
519 This patch also adds a close() routine to the fileset routines
520 to indicate that the caller is done with the fileset. This
521 allows zipfileset to clean up after itself when it creates
522 tempfiles to store downloads.
524 https://bugs.webkit.org/show_bug.cgi?id=53326
526 * Scripts/webkitpy/common/system/directoryfileset.py:
527 * Scripts/webkitpy/common/system/fileset.py:
528 * Scripts/webkitpy/common/system/filesystem.py:
529 * Scripts/webkitpy/common/system/filesystem_mock.py:
530 * Scripts/webkitpy/common/system/filesystem_unittest.py:
531 * Scripts/webkitpy/common/system/ospath.py:
532 * Scripts/webkitpy/common/system/zipfileset.py:
533 * Scripts/webkitpy/common/system/zipfileset_unittest.py:
535 2011-01-30 Balazs Kelemen <kbalazs@webkit.org>
537 Reviewed by Csaba Osztrogonác.
539 [Qt][WK2]REGRESSION (r76991): Fix build errors
540 https://bugs.webkit.org/show_bug.cgi?id=53400
542 Revert the temporary build fix (http://trac.webkit.org/changeset/77088)
543 and remove WebKit2Prefix.h from the build.
544 * MiniBrowser/qt/MiniBrowser.pro:
546 2011-01-30 Csaba Osztrogonác <ossy@webkit.org>
552 * MiniBrowser/qt/MiniBrowser.pro:
554 2011-01-28 Simon Fraser <simon.fraser@apple.com>
556 Reviewed by Adam Roben.
558 define NOMINMAX when building ImageDiff, as we do elsewhere.
560 Add various clampToInt() methods to MathExtras.h
561 https://bugs.webkit.org/show_bug.cgi?id=52910
563 * DumpRenderTree/win/ImageDiffCommon.vsprops:
565 2011-01-28 Maciej Stachowiak <mjs@apple.com>
567 Reviewed by Darin Adler.
569 WebKitTestRunner needs layoutTestController.setPOSIXLocale
570 https://bugs.webkit.org/show_bug.cgi?id=42682
572 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
573 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
574 (WTR::InjectedBundle::resetLocalSettings):
575 (WTR::InjectedBundle::didReceiveMessage):
576 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
577 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
578 (WTR::LayoutTestController::setPOSIXLocale):
579 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
581 2011-01-28 Dirk Pranke <dpranke@chromium.org>
583 Reviewed by Mihai Parparita.
585 test-webkitpy: fix webkitpy.layout_tests.port.mac_unittest.MacTest.test_skipped_file_paths
587 This patch re-enables this test and changes it to
588 handle all of the mac platform versions, not just the one
591 https://bugs.webkit.org/show_bug.cgi?id=53356
593 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
595 2011-01-28 Dirk Pranke <dpranke@chromium.org>
597 Unreviewed, build fix.
599 Take two. The fix in 77023 didn't work, because we were
600 still calling path.abspath_to_uri, which calls _cygpath under
601 the covers, and it appears the cygpath on the bots does
602 something different than it does on my machine. This patch
603 removes the calls to path.abspath_to_uri, so it should be safe.
604 If it doesn't work, I'll roll it out along with r76982 and 77023.
606 https://bugs.webkit.org/show_bug.cgi?id=53126
608 * Scripts/webkitpy/layout_tests/port/test.py:
610 2011-01-28 David Kilzer <ddkilzer@apple.com>
612 <rdar://problem/8930699> build-webkit gives a bogus warning with newer versions of Xcode
613 <http://webkit.org/b/53353>
615 Reviewed by Mark Rowe.
617 * Scripts/webkitdirs.pm:
618 (checkRequiredSystemConfig): Check the Xcode marketing version
619 in addition to the DevCoreTools build version before complaining
620 about an old version of Xcode. Also make the Mac OS X version
621 check use Perl's built-in version string comparitor.
623 2011-01-28 Dirk Pranke <dpranke@chromium.org>
625 Unreviewed, build fix.
627 Work around breakage on Win 7 Release bot caused by r76982
628 and the fact that windows ports use "file:////" instead of
629 "file:///". Ideally the test code should be isolated from
630 this, but it isn't yet. Will fix properly in a bit.
632 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
634 2011-01-28 Dirk Pranke <dpranke@chromium.org>
636 Reviewed by Tony Chang.
638 new-run-webkit-tests: change worker model values to
639 "old-inline", "old-threads" in preparation for test_runner2 /
640 multiprocessing changes.
642 https://bugs.webkit.org/show_bug.cgi?id=53156
644 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
645 * Scripts/webkitpy/layout_tests/port/base.py:
646 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
647 * Scripts/webkitpy/layout_tests/port/mac.py:
648 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
650 2011-01-28 Dirk Pranke <dpranke@chromium.org>
652 Reviewed by Tony Chang.
654 committers.py - add an IRC nickname for dpranke
655 https://bugs.webkit.org/show_bug.cgi?id=53335
657 * Scripts/webkitpy/common/config/committers.py:
659 2011-01-28 Dirk Pranke <dpranke@chromium.org>
661 Reviewed by Tony Chang.
663 new-run-webkit-tests: add a "mock DRT" port implementation
664 and a separate class that emulates what we expect the
665 DumpRenderTree behavior to be.
667 This will eventually replace port/dryrun.py and allow us to get
668 better test coverage of the new-run-webkit-tests code as well as
669 a reference for what new-run-webkit-tests expects from DRT.
671 This is the first attempt at this, and it is pretty bare-boned. It
672 really only has been tested on the 'mac' port (and a little on
673 the 'chromium-mac' port.
675 https://bugs.webkit.org/show_bug.cgi?id=53126
677 * Scripts/webkitpy/common/system/filesystem_mock.py:
678 * Scripts/webkitpy/layout_tests/port/dryrun.py:
679 * Scripts/webkitpy/layout_tests/port/factory.py:
680 * Scripts/webkitpy/layout_tests/port/mock_drt.py: Added.
681 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Added.
682 * Scripts/webkitpy/layout_tests/port/test.py:
684 2011-01-28 Pratik Solanki <psolanki@apple.com>
686 Unreviewed. Removing .swp file checked in by mistake.
688 * Scripts/.webkitdirs.pm.swp: Removed.
690 2011-01-28 Pratik Solanki <psolanki@apple.com>
692 Reviewed by David Kilzer.
694 Space not necessary for undefined feature
695 https://bugs.webkit.org/show_bug.cgi?id=53317
697 * Scripts/build-webkit:
699 2011-01-28 Chang Shu <chang.shu@nokia.com>
701 Reviewed by Andreas Kling.
703 Reset NetworkAccessManager to clean up credentials from previous tests.
704 This change causes no performance overhead either.
705 https://bugs.webkit.org/show_bug.cgi?id=36688
707 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
708 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
709 (WebCore::DumpRenderTree::open):
710 * DumpRenderTree/qt/DumpRenderTreeQt.h:
712 2011-01-28 Zoltan Horvath <zoltan@webkit.org>
714 Reviewed by Andreas Kling.
716 [Qt] Add Zoom Text Only action to MiniBrowser
717 https://bugs.webkit.org/show_bug.cgi?id=53297
719 Add Zoom Text Only action to MiniBrowser's view menu, change zoom levels to avoid unnecessary divides.
721 * MiniBrowser/qt/BrowserWindow.cpp:
722 (BrowserWindow::BrowserWindow):
723 (BrowserWindow::zoomIn):
724 (BrowserWindow::zoomOut):
725 (BrowserWindow::resetZoom):
726 (BrowserWindow::toggleZoomTextOnly):
727 (BrowserWindow::applyZoom):
728 * MiniBrowser/qt/BrowserWindow.h:
730 2011-01-28 Adam Barth <abarth@webkit.org>
732 Reviewed by Eric Seidel.
734 Add webkit-patch roll-chromium-deps
735 https://bugs.webkit.org/show_bug.cgi?id=53288
737 This command updates the Source/WebKit/chromium/DEPS file with the
738 last-known good revision of Chromium (or a revision specified on the
739 command line). I'd eventually like to turn this into a SheriffBot
740 command, but this is the first step.
742 This patch somewhat sprawled because I needed to move a bunch of code
743 out of ChangeLog that should never have been there in the first place.
744 Also, I had to fix a bug in MockUser in order to test the new command.
746 * Scripts/webkitpy/common/checkout/api.py:
747 * Scripts/webkitpy/common/checkout/changelog.py:
748 * Scripts/webkitpy/common/checkout/changelog_unittest.py:
749 * Scripts/webkitpy/common/checkout/deps.py: Added.
750 * Scripts/webkitpy/common/config/urls.py:
751 * Scripts/webkitpy/tool/commands/__init__.py:
752 * Scripts/webkitpy/tool/commands/download_unittest.py:
753 * Scripts/webkitpy/tool/commands/roll.py: Added.
754 * Scripts/webkitpy/tool/commands/roll_unittest.py: Added.
755 * Scripts/webkitpy/tool/commands/upload_unittest.py:
756 * Scripts/webkitpy/tool/mocktool.py:
757 * Scripts/webkitpy/tool/steps/__init__.py:
758 * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py: Added.
759 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
760 * Scripts/webkitpy/tool/steps/preparechangelogforrevert_unittest.py: Added.
761 * Scripts/webkitpy/tool/steps/suggestreviewers_unittest.py:
762 * Scripts/webkitpy/tool/steps/updatechromiumdeps.py: Added.
763 * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
765 2011-01-27 Greg Coletta <greg.coletta@nokia.com>
767 Reviewed by Laszlo Gombos.
769 Get rid of prefix header dependency for WebKit2 build system
770 https://bugs.webkit.org/show_bug.cgi?id=50174
772 Change the style checker so that it enforces config.h include for
775 * Scripts/webkitpy/style/checker.py:
777 2011-01-27 Maciej Stachowiak <mjs@apple.com>
779 Reviewed by Darin Adler.
781 execCommand("Paste") doesn't work in WebKitTestRunner
782 https://bugs.webkit.org/show_bug.cgi?id=52785
784 Enable both of the settings needed to allow paste.
786 * WebKitTestRunner/TestController.cpp:
787 (WTR::TestController::resetStateToConsistentValues):
789 2011-01-27 Jacob Dinu <dinu.jacob@nokia.com>
791 Reviewed by Andreas Kling.
793 [Qt] QtTestBrowser: User input lost when toggling use of QGraphicsView
794 https://bugs.webkit.org/show_bug.cgi?id=48440
796 Preserve user input when toggling use of QGraphicsView
798 * QtTestBrowser/launcherwindow.cpp:
799 (LauncherWindow::initializeView):
800 (LauncherWindow::loadFinished):
801 * QtTestBrowser/launcherwindow.h:
802 * QtTestBrowser/mainwindow.cpp:
803 (MainWindow::addressUrl):
804 * QtTestBrowser/mainwindow.h:
806 2011-01-27 Dirk Pranke <dpranke@chromium.org>
808 Reviewed by Mihai Parparita.
810 new-run-webkit-tests: turn off pixel tests correctly by default
811 for webkit-based ports. r70013 (bug 47510) used
812 port.set_option_default() to attempt to set default values, but
813 that didn't work correctly. I have removed set_option_default
814 for now since it was only being used in two places and in three
815 useless unit tests. There is a separate bug open to fix the
816 option parsing (48095), so this workaround is fine for now.
818 https://bugs.webkit.org/show_bug.cgi?id=53217
820 * Scripts/webkitpy/layout_tests/port/webkit.py:
821 * Scripts/webkitpy/layout_tests/port/base.py:
822 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
824 2011-01-27 Balazs Kelemen <kbalazs@webkit.org>
826 Rubber-stamped by Ariya Hidayat.
828 Trivial crash fix in WTR.
830 * WebKitTestRunner/TestController.cpp:
831 (WTR::TestController::initialize): Increase the size
832 of the vector by one to be able to store the null character.
834 2011-01-27 Balazs Kelemen <kbalazs@webkit.org>
836 Reviewed by Csaba Osztrogonác.
838 [Qt][WK2] WTR should be initialized in the same way as DRT
839 https://bugs.webkit.org/show_bug.cgi?id=53240
841 * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
842 (WTR::activateFonts): Added missing initialization steps.
844 2011-01-27 Joone Hur <joone.hur@collabora.co.uk>
848 Adding myself to committers.py.
850 * Scripts/webkitpy/common/config/committers.py:
852 2011-01-27 Laszlo Gombos <laszlo.1.gombos@nokia.com>
854 Reviewed by Csaba Osztrogonác.
856 [Qt] [Symbian] Move project files into Source
857 https://bugs.webkit.org/show_bug.cgi?id=52891
859 Fix the Symbian build after the project files
860 are moved to Source directory. On Symbian qmake
861 needs to run in the same directory where the main
862 pro files (WebKit.pro, Tools.pro) are located.
864 * Scripts/webkitdirs.pm: Change to the directory where the pro file
865 is located before running qmake for Symbian. Qmake on Symbian
866 does not properly honor the "-o" option, work it around by setting
867 the name of the Makefile to bld.inf.
869 2011-01-27 Zoltan Horvath <zoltan@webkit.org>
871 Reviewed by Andreas Kling.
873 [Qt] Add simple zooming features to MiniBrowser
874 https://bugs.webkit.org/show_bug.cgi?id=53231
876 Add View menu and Zoom In, Zoom Out, Zoom Reset actions to MiniBrowser.
878 * MiniBrowser/qt/BrowserWindow.cpp:
879 (BrowserWindow::BrowserWindow):
880 (BrowserWindow::zoomIn):
881 (BrowserWindow::zoomOut):
882 (BrowserWindow::resetZoom):
883 (BrowserWindow::updateUserAgentList):
884 (BrowserWindow::applyZoom):
885 * MiniBrowser/qt/BrowserWindow.h:
887 2011-01-26 Maciej Stachowiak <mjs@apple.com>
889 Reviewed by Dan Bernstein.
891 WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
892 https://bugs.webkit.org/show_bug.cgi?id=42319
894 Add evaluateInWebInspector and other APIs needed for inspector tests to run.
896 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
897 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
898 (WTR::LayoutTestController::showWebInspector):
899 (WTR::LayoutTestController::closeWebInspector):
900 (WTR::LayoutTestController::evaluateInWebInspector):
901 (WTR::LayoutTestController::setTimelineProfilingEnabled):
902 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
903 * WebKitTestRunner/TestInvocation.cpp:
904 (WTR::shouldOpenWebInspector):
905 (WTR::TestInvocation::invoke):
906 * WebKitTestRunner/WebKitTestRunnerPrefix.h:
908 2011-01-26 Martin Robinson <mrobinson@igalia.com>
910 Reviewed by Xan Lopez.
912 [GTK] Pixel dumps do not include scrollbars in output images
913 https://bugs.webkit.org/show_bug.cgi?id=53216
915 Show scrollbars in pixel dumps. This will fix pixel dumps for tests
916 that have scrollbars.
918 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
919 (createBitmapContextFromWebView): Take the snapshot of the containing GtkScrolledWindow
920 instead of the web view itself.
922 2011-01-26 Dirk Pranke <dpranke@chromium.org>
924 Reviewed by Mihai Parparita.
926 Fix regression introduced in r76322 ... new-run-webkit-tests
927 was attempting to save the image diff output as a UTF-8-encoded
930 https://bugs.webkit.org/show_bug.cgi?id=53210
932 * Scripts/webkitpy/layout_tests/port/webkit.py:
934 2011-01-26 Sheriff Bot <webkit.review.bot@gmail.com>
936 Unreviewed, rolling out r76709.
937 http://trac.webkit.org/changeset/76709
938 https://bugs.webkit.org/show_bug.cgi?id=53194
940 "broke python tests on non-snowleopard platforms" (Requested
941 by dpranke on #webkit).
943 * Scripts/webkitpy/layout_tests/port/factory.py:
944 * Scripts/webkitpy/layout_tests/port/mock_drt.py: Removed.
945 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Removed.
947 2011-01-26 Dirk Pranke <dpranke@chromium.org>
949 Reviewed by Tony Chang.
951 new-run-webkit-tests: add a "mock DRT" port implementation
952 and a separate class that emulates what we expect the
953 DumpRenderTree behavior to be.
955 This will eventually replace port/dryrun.py and allow us to get
956 better test coverage of the new-run-webkit-tests code as well as
957 a reference for what new-run-webkit-tests expects from DRT.
959 This is the first attempt at this, and it is pretty bare-boned. It
960 really only has been tested on the 'mac' port (and a little on
961 the 'chromium-mac' port.
963 https://bugs.webkit.org/show_bug.cgi?id=53126
965 * Scripts/webkitpy/layout_tests/port/mock_drt.py: Added.
966 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Added.
967 * Scripts/webkitpy/layout_tests/port/factory.py:
969 2011-01-26 Xianzhu Wang <wangxianzhu@google.com>
971 Reviewed by Tony Chang.
973 Add '--no-timeout' option to Chromium DRT to ease debugging.
974 https://bugs.webkit.org/show_bug.cgi?id=52873
976 * DumpRenderTree/chromium/DumpRenderTree.cpp:
979 2011-01-26 Csaba Osztrogonác <ossy@webkit.org>
981 Reviewed by Andreas Kling.
983 [Qt] Fix qt_minimal build
984 https://bugs.webkit.org/show_bug.cgi?id=53172
986 * QtTestBrowser/locationedit.h:
988 2011-01-26 Mansi Mithal <mansi.mithal@nokia.com>
990 Reviewed by Antonio Gomes.
992 QtTestBrowser should have a UI Setting to disable plugins
993 https://bugs.webkit.org/show_bug.cgi?id=52408
995 Added a new action item named "Disable Plugins"
996 under the "Settings" menu.
998 * QtTestBrowser/launcherwindow.cpp:
999 (LauncherWindow::createChrome):
1000 (LauncherWindow::togglePlugins):
1001 * QtTestBrowser/launcherwindow.h:
1003 2011-01-25 Patrick Gansterer <paroga@webkit.org>
1005 Reviewed by Adam Barth.
1007 Move main CMakeLists.txt into Source directory
1008 https://bugs.webkit.org/show_bug.cgi?id=52888
1010 * Scripts/webkitdirs.pm:
1012 2011-01-25 Patrick Gansterer <paroga@webkit.org>
1014 Reviewed by Eric Seidel.
1016 Improve label text in submit-to-ews
1017 https://bugs.webkit.org/show_bug.cgi?id=53130
1019 * QueueStatusServer/templates/submittoews.html:
1021 2011-01-25 Mansi Mithal <mansi.mithal@nokia.com>
1023 Reviewed by Antonio Gomes.
1025 QtTestBrowser should have a UI Settings to prevent loading images
1026 https://bugs.webkit.org/show_bug.cgi?id=52409
1028 Added a new action item named "DisableAutoLoadImages"
1029 under the "Settings" menu
1031 * QtTestBrowser/launcherwindow.cpp:
1032 (LauncherWindow::createChrome):
1033 (LauncherWindow::toggleAutoLoadImages):
1034 * QtTestBrowser/launcherwindow.h:
1036 2011-01-25 Dirk Pranke <dpranke@chromium.org>
1038 Reviewed by Tony Chang.
1040 Minor bug fixes and cleanup for filesystem wrappers, port/* test
1041 classes, test_expectations.py. This change adds "test-win" and
1042 "test-mac" variants to the test port so that we can better test
1043 rebaselining, and adds a MockUser() object for reuse in testing.
1045 https://bugs.webkit.org/show_bug.cgi?id=53036
1047 * Scripts/webkitpy/common/system/filesystem.py:
1048 * Scripts/webkitpy/common/system/filesystem_mock.py:
1049 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
1050 * Scripts/webkitpy/layout_tests/port/factory.py:
1051 * Scripts/webkitpy/layout_tests/port/base.py:
1052 * Scripts/webkitpy/layout_tests/port/test.py:
1053 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1054 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
1055 * Scripts/webkitpy/tool/mocktool.py:
1057 2011-01-25 Tony Chang <tony@chromium.org>
1059 Reviewed by Dimitri Glazkov.
1061 [chromium] remove unused layoutTestController callback
1062 https://bugs.webkit.org/show_bug.cgi?id=53103
1064 This method is used by a test_shell_test, but not needed by DRT.
1066 * DumpRenderTree/chromium/LayoutTestController.cpp:
1067 (LayoutTestController::LayoutTestController):
1068 * DumpRenderTree/chromium/LayoutTestController.h:
1070 2011-01-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1072 Reviewed by Andreas Kling.
1074 [GTK] Remove 64 bits release bot from the buildbot master
1075 https://bugs.webkit.org/show_bug.cgi?id=52899
1077 Removes the 64 bits release slave from the buildbot configuration,
1078 so that we can use it as an EWS.
1080 * BuildSlaveSupport/build.webkit.org-config/config.json:
1082 2011-01-24 Maciej Stachowiak <mjs@apple.com>
1084 Reviewed by Dan Bernstein.
1086 Implement database quota callback to fix storage tests on WebKit2 bot
1087 https://bugs.webkit.org/show_bug.cgi?id=53064
1089 * WebKitTestRunner/TestController.cpp:
1090 (WTR::exceededDatabaseQuota):
1091 (WTR::TestController::createOtherPage):
1092 (WTR::TestController::initialize):
1094 2011-01-24 Maciej Stachowiak <mjs@apple.com>
1096 Reviewed by Anders Carlsson.
1098 Use designated temp directory for the database for WebKit2
1099 https://bugs.webkit.org/show_bug.cgi?id=53052
1101 Adopt the new WK2 API for this.
1103 * WebKitTestRunner/TestController.cpp:
1104 (WTR::TestController::libraryPathForTesting):
1105 (WTR::TestController::initialize):
1106 * WebKitTestRunner/TestController.h:
1107 * WebKitTestRunner/mac/TestControllerMac.mm:
1108 (WTR::TestController::platformLibraryPathForTesting):
1109 * WebKitTestRunner/qt/TestControllerQt.cpp:
1110 (WTR::TestController::platformLibraryPathForTesting):
1111 * WebKitTestRunner/win/TestControllerWin.cpp:
1112 (WTR::TestController::platformLibraryPathForTesting):
1114 2011-01-24 Lucas Forschler <lforschler@apple.com>
1116 Reviewed by Stephanie Lewis.
1118 Add a new Leopard test bot.
1120 * BuildSlaveSupport/build.webkit.org-config/config.json:
1122 2011-01-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1124 Reviewed by Adam Barth.
1126 Add EFL Builder to core waterfall
1127 https://bugs.webkit.org/show_bug.cgi?id=52704
1129 Add EFL Builder to the core waterfall again.
1131 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
1132 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
1134 2011-01-24 Xianzhu Wang <wangxianzhu@google.com>
1136 Reviewed by Tony Chang.
1138 new-run-webkit-tests fails to start HTTP server if there are proxy settings
1139 https://bugs.webkit.org/show_bug.cgi?id=52872
1141 Force disabling proxy to resolve the problem.
1143 * Scripts/webkitpy/layout_tests/port/http_server_base.py:
1144 * Scripts/webkitpy/layout_tests/port/websocket_server.py:
1146 2011-01-24 Andreas Kling <kling@webkit.org>
1148 Reviewed by Darin Adler.
1150 check-webkit-style: Update exemptions following Source/ move.
1151 https://bugs.webkit.org/show_bug.cgi?id=53017
1153 * Scripts/webkitpy/style/checker.py:
1154 * Scripts/webkitpy/style/checker_unittest.py:
1156 2011-01-24 Andras Becsi <abecsi@webkit.org>
1158 Rubber-stamped by Csaba Osztrogonác.
1160 [Qt] Move project files into Source
1161 https://bugs.webkit.org/show_bug.cgi?id=52891
1163 * DumpRenderTree/qt/ImageDiff.pro: Add missing "Source" to WebKit.pri path
1165 2011-01-24 Mikhail Naganov <mnaganov@chromium.org>
1167 Reviewed by Yury Semikhatsky.
1169 Web Inspector: Find duplicate strings in localizedStrings.js
1171 https://bugs.webkit.org/show_bug.cgi?id=53005
1173 * Scripts/check-inspector-strings:
1175 2011-01-24 Zoltan Horvath <zoltan@webkit.org>
1177 Reviewed by Andreas Kling.
1179 [Qt] Regroup MiniBrowser's menubar and add open file action
1180 https://bugs.webkit.org/show_bug.cgi?id=53000
1182 Add File and Develop menu to MiniBrowser's menubar and add open file action to File menu.
1184 * MiniBrowser/qt/BrowserWindow.cpp:
1185 (BrowserWindow::BrowserWindow):
1186 (BrowserWindow::openFile):
1187 (BrowserWindow::~BrowserWindow):
1188 * MiniBrowser/qt/BrowserWindow.h:
1190 2011-01-24 Csaba Osztrogonác <ossy@webkit.org>
1192 Unreviewed fix after r76496
1194 [Qt] Move project files into Source
1195 https://bugs.webkit.org/show_bug.cgi?id=52891
1197 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Remove unnecessary "Source" from the path.
1198 * BuildSlaveSupport/built-product-archive: Remove unnecessary "Source" from the path.
1199 * Scripts/webkitdirs.pm: Add the accidentally removed slash to the path.
1201 2011-01-24 Andras Becsi <abecsi@webkit.org>
1203 Reviewed by Csaba Osztrogonác.
1205 [Qt] Move project files into Source
1206 https://bugs.webkit.org/show_bug.cgi?id=52891
1208 * DerivedSources.pro: Renamed from DerivedSources.pro.
1209 * DumpRenderTree/qt/DumpRenderTree.pro:
1210 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1211 * MiniBrowser/DerivedSources.pro:
1212 * MiniBrowser/qt/MiniBrowser.pro:
1213 * QtTestBrowser/QtTestBrowser.pro:
1214 * Scripts/webkitdirs.pm:
1216 * WebKitTestRunner/DerivedSources.pro:
1217 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1218 * WebKitTestRunner/qt/WebKitTestRunner.pro:
1220 2011-01-22 Geoffrey Garen <ggaren@apple.com>
1222 Reviewed by Dan Bernstein.
1224 Beefed up --threaded mode to catch even more kinds of errors.
1225 https://bugs.webkit.org/show_bug.cgi?id=52971
1227 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Use a shared
1228 context group to force JSC to mark multiple threads. (This used to be
1229 the default, but it changed in SnowLeopard.)
1230 (runJavaScriptThread): Do more locking and unlocking, and more allocation,
1231 to give threading mistakes more chances to show themselves.
1232 (startJavaScriptThreads):
1233 (stopJavaScriptThreads):
1235 2011-01-22 Robert Hogan <robert@webkit.org>
1237 Reviewed by Andreas Kling.
1239 [Qt] Support layoutTestController.addURLToRedirect()
1240 https://bugs.webkit.org/show_bug.cgi?id=52956
1242 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1243 (LayoutTestController::addURLToRedirect):
1244 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1246 2011-01-22 Robert Hogan <robert@webkit.org>
1248 Reviewed by Kenneth Rohde Christiansen.
1250 [Qt] REGRESSION (r72360): http/tests/security/aboutBlank/xss-DENIED-* tests fail
1251 https://bugs.webkit.org/show_bug.cgi?id=49802
1253 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1254 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1255 (WebCore::DumpRenderTree::open):
1257 2011-01-21 Adam Barth <abarth@webkit.org>
1259 Reviewed by Maciej Stachowiak.
1261 Disable mac_unittest.py that fails on some of the Mac bots
1262 https://bugs.webkit.org/show_bug.cgi?id=52947
1264 As noted in the comment, this test does not appear to be correct
1265 because the function this test is testing returns different results
1266 depending on which flavor of Mac the test is run on. This patch
1267 disable the test. Hopefully we can re-enable the test once we've
1268 probably insulated the test from its environment.
1270 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
1272 2011-01-21 Dirk Pranke <dpranke@chromium.org>
1274 Reviewed by Mihai Parparita.
1276 Fix bug introduced in r76322 that caused NRWT to not actually
1277 read the Skipped files properly.
1279 https://bugs.webkit.org/show_bug.cgi?id=52771
1281 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
1282 * Scripts/webkitpy/layout_tests/port/webkit.py:
1283 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
1285 2011-01-21 Sam Weinig <sam@webkit.org>
1287 Reviewed by Geoffrey Sean Garen and Mark Rowe.
1289 WebKitTestRunner needs the HOME environment variable to be set.
1290 <rdar://problem/8896573>
1292 * Scripts/old-run-webkit-tests: Set the HOME environment variable if
1295 2011-01-21 Dirk Pranke <dpranke@chromium.org>
1297 Reviewed by Eric Seidel.
1299 Suppress a few remaining integration tests so that none of the
1300 layout_test unit tests ever read from the filesystem or launch
1301 subprocesses that aren't part of the unit tests.
1303 Also fix a minor bug in the printing unit tests that was
1304 incorrectly relying on sys.argv.
1306 https://bugs.webkit.org/show_bug.cgi?id=52863
1308 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1309 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1310 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1312 2011-01-21 Darin Adler <darin@apple.com>
1316 * MiniBrowser/mac/BrowserWindowController.m:
1317 (-[BrowserWindowController awakeFromNib]): Pass 0 for runModal function.
1319 2011-01-20 Darin Adler <darin@apple.com>
1321 Reviewed by Dan Bernstein.
1323 WebKit2: Implement showModalDialog
1324 https://bugs.webkit.org/show_bug.cgi?id=52855
1326 This fixes WebKitTestRunner to compile, but more work is probably
1327 needed to get it to pass the tests.
1329 * WebKitTestRunner/TestController.cpp:
1330 (WTR::TestController::runModal): Added. Calls through to the
1331 platform-specific version of runModal.
1332 (WTR::TestController::createOtherPage): Changed to be a private
1333 static member function so it can refer to runModal, which is
1334 a private static member function.
1335 (WTR::TestController::initialize): Pass 0 for the runModal
1336 function since we don't need to run the main window modal.
1337 I suspect this is wrong and will need to change.
1338 * WebKitTestRunner/TestController.h: Added declarations for
1339 the functions added above.
1340 * WebKitTestRunner/mac/TestControllerMac.mm:
1341 (WTR::TestController::runModal): Added. Untested implementation.
1342 * WebKitTestRunner/qt/TestControllerQt.cpp:
1343 (WTR::TestController::runModal): Added.
1344 * WebKitTestRunner/win/TestControllerWin.cpp:
1345 (WTR::TestController::runModal): Added.
1347 2011-01-21 Eric Seidel <eric@webkit.org>
1349 Reviewed by Adam Barth.
1351 Split Host object off from WebKitPatch for easier re-use
1352 https://bugs.webkit.org/show_bug.cgi?id=52284
1354 new-run-webkit-tests and other tools are eventually going to want one of these.
1355 Basically you need to inherit from this class if you want to pretend to be a
1356 self.tool object for Steps/Commands.
1358 * Scripts/webkitpy/common/host.py: Added.
1359 * Scripts/webkitpy/tool/main.py:
1361 2011-01-20 Dirk Pranke <dpranke@chromium.org>
1363 Reviewed by Adam Barth.
1365 Disable the tests that start and stop the http server and web
1366 server, so that we don't have to worry about port collisions on
1369 https://bugs.webkit.org/show_bug.cgi?id=52861
1371 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1373 2011-01-20 Dirk Pranke <dpranke@chromium.org>
1375 Reviewed by Eric Seidel.
1377 nrwt: rewrite google_chrome_unittest to use mock filesystem.
1379 https://bugs.webkit.org/show_bug.cgi?id=52772
1381 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
1383 2011-01-20 Dirk Pranke <dpranke@chromium.org>
1385 Reviewed by Eric Siedel.
1387 nrwt: clean up almost all remaining port references, remove
1388 unnecessary import clauses. The only remaining references are
1389 in places where a mock filesystem makes no sense or can't be
1390 used, and in one routine in port/google_chrome_unittest that
1391 I'll rewrite in a separate patch.
1393 https://bugs.webkit.org/show_bug.cgi?id=52771
1395 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1396 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
1397 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
1398 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
1399 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
1400 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
1401 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
1402 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
1403 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
1404 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
1405 * Scripts/webkitpy/layout_tests/port/gtk.py:
1406 * Scripts/webkitpy/layout_tests/port/mac.py:
1407 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1408 * Scripts/webkitpy/layout_tests/port/qt.py:
1409 * Scripts/webkitpy/layout_tests/port/webkit.py:
1410 * Scripts/webkitpy/layout_tests/port/win.py:
1411 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
1413 2011-01-20 Dirk Pranke <dpranke@chromium.org>
1415 Reviewed by Mihai Parparita.
1417 remove fs refs from run_webkit_tests, rebaseline_chromium_webkit_tests
1419 https://bugs.webkit.org/show_bug.cgi?id=52762
1421 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1422 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1424 2011-01-20 Tony Chang <tony@chromium.org>
1426 Reviewed by Ojan Vafai.
1428 [chromium] fix the paths used for the rebaseline tool
1429 https://bugs.webkit.org/show_bug.cgi?id=52857
1431 Some of the bots were renamed so the path to grab the results zip
1434 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
1436 2011-01-20 Dirk Pranke <dpranke@chromium.org>
1438 Reviewed by Tony Chang.
1440 Fix bug introduced in r72688 / bug 52768 that broke the
1441 generation of the output filename links in the results.html
1442 output. Apparently none of the unit tests actually checked to
1443 make sure the generated links were correct :(
1445 https://bugs.webkit.org/show_bug.cgi?id=52854
1447 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1448 * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
1450 2011-01-20 Alexey Proskuryakov <ap@apple.com>
1452 Reviewed by Darin Adler.
1454 https://bugs.webkit.org/show_bug.cgi?id=52849
1455 Make window.print work with WebKit2
1457 * MiniBrowser/mac/BrowserWindowController.m:
1458 (-[BrowserWindowController awakeFromNib]):
1459 * WebKitTestRunner/TestController.cpp:
1460 (WTR::createOtherPage):
1461 (WTR::TestController::initialize):
1462 Added zeroes to WKPageUIClient structures to avoid build failures.
1464 2011-01-20 Dirk Pranke <dpranke@chromium.org>
1466 Reviewed by Eric Seidel.
1468 nrwt: remove fs refs from printing, test_failures, test_expectations, text_diff
1470 https://bugs.webkit.org/show_bug.cgi?id=52756
1472 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
1473 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1474 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
1475 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
1476 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1477 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
1479 2011-01-20 Mansi Mithal <mansi.mithal@nokia.com>
1481 Reviewed by Antonio Gomes.
1483 QtTestBrowser should have a seperate menu for Settings
1484 https://bugs.webkit.org/show_bug.cgi?id=52817
1486 Added a new menu item named "Settings"
1487 and moved the "Enable interrupting js scripts" and "Enable js pop up windows" under the "Settings" menu
1489 * QtTestBrowser/launcherwindow.cpp:
1490 (LauncherWindow::createChrome):
1492 2011-01-20 Sam Weinig <sam@webkit.org>
1494 Reviewed by John Sullivan.
1496 Update update-webkit-localizable-strings with new path to WebKit.
1498 * Scripts/update-webkit-localizable-strings:
1500 2011-01-20 James Robinson <jamesr@chromium.org>
1502 Reviewed by Darin Fisher.
1504 Implement mozilla's requestAnimationFrame API
1505 https://bugs.webkit.org/show_bug.cgi?id=51218
1507 Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.
1509 * DumpRenderTree/chromium/WebViewHost.cpp:
1510 (invokeScheduleComposite):
1511 (WebViewHost::scheduleAnimation):
1512 (WebViewHost::paintInvalidatedRegion):
1513 * DumpRenderTree/chromium/WebViewHost.h:
1515 2011-01-20 Maciej Stachowiak <mjs@apple.com>
1517 Reviewed by Adam Roben.
1519 WebKitTestRunner needs to support layoutTestController.evaluateScriptInIsolatedWorld
1520 https://bugs.webkit.org/show_bug.cgi?id=42327
1522 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm: Add support
1523 for methods that take their normal arguments but also a JSContextRef.
1524 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: IDL definition
1525 for evaluateScriptInIsolatedWorld.
1526 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1527 (WTR::InjectedBundlePage::didClearWindowForFrame): Set a magic variable only if
1528 this call is for an isolated world.
1529 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1530 (WTR::worldMap): Helper to create a world map.
1531 (WTR::LayoutTestController::worldIDForWorld): Map from an ID to a world.
1532 (WTR::LayoutTestController::evaluateScriptInIsolatedWorld): The newly
1533 added LayoutTestController API.
1534 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
1536 2011-01-19 Adam Roben <aroben@apple.com>
1538 Convert paths in environment variables back to msys-style inside commit-log-editor
1540 When this script gets run from inside git commit, msys-style paths in the environment will
1541 have been turned into Windows-style paths with forward slashes. This screws up functions
1542 like File::Spec->rel2abs, which seem to rely on $PWD having an msys-style path. We convert
1543 the paths back to msys-style before doing anything else.
1545 Fixes <http://webkit.org/b/48527> commit-log-editor uses full paths for section headers when
1546 using msysgit's Perl and multiple ChangeLogs have been edited
1548 Reviewed by David Kilzer.
1550 * Scripts/commit-log-editor: Call fixEnvironment before doing anything else.
1551 (fixEnvironment): Added. When run in msys in conjunction with git (i.e., when invoked from
1552 inside git commit), convert Windows-style paths in the environment back to msys-style paths.
1554 2011-01-20 Zoltan Horvath <zoltan@webkit.org>
1556 [Win] Unreviewed build fix after r76248.
1558 * DumpRenderTree/ForwardingHeaders/wtf/FastAllocBase.h: Added.
1560 2011-01-20 Zoltan Horvath <zoltan@webkit.org>
1562 Reviewed by Csaba Osztrogonác.
1564 Refactoring of the custom allocation framework
1565 https://bugs.webkit.org/show_bug.cgi?id=49897
1567 Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
1568 The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
1569 equivalent macro implementation at the necessary places.
1570 2011-01-20 Yi Shen <yi.4.shen@nokia.com>
1574 Adding myself to committers.py.
1576 * Scripts/webkitpy/common/config/committers.py:
1578 2011-01-20 Adam Barth <abarth@webkit.org>
1580 Reviewed by Tony Chang.
1582 Chromium builders don't delete unversioned directories when DEPS change
1583 https://bugs.webkit.org/show_bug.cgi?id=52745
1585 If we pass this option to gclient sync, gclient will delete directories
1586 that are no longer part of DEPS instead of leaving them around to
1587 confuse us later. Apparently, the downstream buildbots use this option
1590 * Scripts/update-webkit-chromium:
1592 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1594 Unreviewed, build fix - I pulled this patch in to fix an issue
1595 revealed by r76195 running on some new bots). Also fix a couple
1596 of other issues revealed in testing.
1598 nrwt: remove fs refs from layout_package/json*
1600 https://bugs.webkit.org/show_bug.cgi?id=52754
1602 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1603 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1604 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
1605 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1606 * Scripts/webkitpy/layout_tests/port/base.py:
1608 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1610 Unreviewed, build fix.
1612 Fix a couple of minor bugs discovered while bringing up new bots
1615 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1616 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1618 2011-01-19 James Robinson <jamesr@chromium.org>
1620 Unreviewed, rolling out r76194.
1621 http://trac.webkit.org/changeset/76194
1622 https://bugs.webkit.org/show_bug.cgi?id=51218
1624 Caused mysterious compile failure on the chromium win
1625 build.webkit.org bots
1627 * DumpRenderTree/chromium/WebViewHost.cpp:
1628 (WebViewHost::paintInvalidatedRegion):
1629 * DumpRenderTree/chromium/WebViewHost.h:
1631 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1633 Reviewed by Mihai Parparita.
1635 remove fs refs from test_runner, dump_render_tree_thread
1637 https://bugs.webkit.org/show_bug.cgi?id=52753
1639 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1640 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1641 * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
1642 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1644 2011-01-19 James Robinson <jamesr@chromium.org>
1646 Reviewed by Darin Fisher.
1648 Implement mozilla's requestAnimationFrame API
1649 https://bugs.webkit.org/show_bug.cgi?id=51218
1651 Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.
1653 * DumpRenderTree/chromium/WebViewHost.cpp:
1654 (invokeScheduleComposite):
1655 (WebViewHost::scheduleAnimation):
1656 (WebViewHost::paintInvalidatedRegion):
1657 * DumpRenderTree/chromium/WebViewHost.h:
1659 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1661 Unreviewed, build fix.
1663 Fix a few incorrect "self._filesystem" references introduced in
1666 * Scripts/webkitpy/layout_tests/port/chromium.py:
1667 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
1669 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1671 Reviewed by Mihai Parparita.
1673 add a .sep property, abspath(), isabs(), mtime(), and
1674 open_text_file_for_writing() to filesystem modules. Some of
1675 these properties are not needed in this patch but will be needed
1676 in subsequent patches (I'm doing this to avoid having to track
1677 multiple versions of a single file).
1679 Also, change most of the port/* modules to use the filesystem
1680 objects instead of referencing the filesystem directly.
1682 https://bugs.webkit.org/show_bug.cgi?id=52748
1684 * Scripts/webkitpy/common/system/filesystem.py:
1685 * Scripts/webkitpy/common/system/filesystem_mock.py:
1686 * Scripts/webkitpy/layout_tests/port/__init__.py:
1687 * Scripts/webkitpy/layout_tests/port/base.py:
1688 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1689 * Scripts/webkitpy/layout_tests/port/chromium.py:
1690 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
1691 * Scripts/webkitpy/layout_tests/port/config.py:
1692 * Scripts/webkitpy/layout_tests/port/test.py:
1693 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
1695 2011-01-19 Maciej Stachowiak <mjs@apple.com>
1697 Reviewed by Anders Carlsson.
1699 If resetting between tests times out, treat it as a WebProcess crash
1700 https://bugs.webkit.org/show_bug.cgi?id=52757
1702 * WebKitTestRunner/TestController.cpp:
1703 (WTR::TestController::runTest):
1705 2011-01-19 Alexey Proskuryakov <ap@apple.com>
1707 Reviewed by Darin Adler.
1709 https://bugs.webkit.org/show_bug.cgi?id=52739
1710 Make it possible for a WebKit2 client to print headers and footers
1712 Added dummy implementations for new printing UIClient calls.
1714 * MiniBrowser/mac/BrowserWindowController.m:
1715 (-[BrowserWindowController awakeFromNib]):
1716 * WebKitTestRunner/TestController.cpp:
1717 (WTR::createOtherPage):
1718 (WTR::TestController::initialize):
1720 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1722 Reviewed by Ojan Vafai.
1724 Change webkitpy/layout_tests/port/test.py to use the
1725 in-memory filesystem for cleaner unit testing. This
1726 change allows us to kill a lot of code that was
1727 specific to the test port, at the cost of being a
1728 little less clear about how things would work if
1729 you didn't have a filesystem.
1731 https://bugs.webkit.org/show_bug.cgi?id=52605
1733 * Scripts/webkitpy/layout_tests/port/test.py:
1735 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1737 Unreviewed, build fix.
1739 Fix test failure caused by committing attachment 79368 instead
1740 of attachment 79461 on bug 52604.
1742 * Scripts/webkitpy/common/system/filesystem_mock.py:
1744 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1746 Reviewed by Mihai Parparita.
1748 new-run-webkit-tests: remove use of os.walk, use mock filesystem for better
1749 unit testing. os.walk() is too much of a hassle to implement on
1750 top of the in-memory mock filesystem and adding the necessary
1751 interface to files_under() gives clients a cleaner API anyway
1752 (for this particular usage model).
1754 https://bugs.webkit.org/show_bug.cgi?id=52691
1756 * Scripts/webkitpy/common/system/filesystem.py:
1757 * Scripts/webkitpy/common/system/filesystem_mock.py:
1758 * Scripts/webkitpy/layout_tests/port/test_files.py:
1759 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
1761 2011-01-19 Dirk Pranke <dpranke@chromium.org>
1763 Reviewed by Tony Chang.
1765 Change more modules in the layout-tests code to use the
1766 filesystem wrapper for cleaner unit testing.
1768 This patch also adds the glob() wrapper to the filesystem
1771 https://bugs.webkit.org/show_bug.cgi?id=52604
1773 * Scripts/webkitpy/layout_tests/port/test_files.py:
1774 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
1775 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
1776 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1777 * Scripts/webkitpy/common/system/filesystem.py:
1778 * Scripts/webkitpy/common/system/filesystem_mock.py:
1780 2011-01-19 Levi Weintraub <leviw@chromium.org>
1784 Updating my email addresses and irc nick.
1786 * Scripts/webkitpy/common/config/committers.py:
1788 2011-01-19 Tony Chang <tony@chromium.org>
1790 Reviewed by Mihai Parparita.
1792 [chromium] [linux] if check-sys-deps fails, output the failure reason
1793 https://bugs.webkit.org/show_bug.cgi?id=52671
1795 * Scripts/webkitpy/common/system/executive_mock.py: Add support for
1796 error handler functions.
1797 * Scripts/webkitpy/layout_tests/port/chromium.py:
1798 output the error text from --check-sys-deps
1799 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
1801 2011-01-19 Aparna Nandyal <aparna.nand@wipro.com>
1803 Reviewed by Andreas Kling.
1805 [Qt] QtTestBrowser crashes when closing if Facebook is opened
1806 https://bugs.webkit.org/show_bug.cgi?id=52554
1808 QtNetworkAccessManager is created in a thread and set as
1809 member variable in QWebPage. When the thread is destroyed
1810 the object is still used. So fix will set the object to
1811 NULL once the thread is destroyed.
1813 * QtTestBrowser/launcherwindow.cpp:
1814 (LauncherWindow::~LauncherWindow):
1816 2011-01-18 Maciej Stachowiak <mjs@apple.com>
1818 Rubber stamped by Csaba Osztrogonac
1820 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Removed unncessary inculde of WKStringCF.h
1822 2011-01-18 Dirk Pranke <dpranke@chromium.org>
1824 Reviewed by Tony Chang.
1826 new-run-webkit-tests: add a --build-directory command line argument
1828 Official Google Chrome builds use a non-standard build directory
1829 location. This patch adds a --build-directory argument that
1830 allows that location to be specified on the command line. Only
1831 Chromium-based builds will use this flag for now, but anyone can
1834 There are no unit tests for this since it's difficult to test
1835 until mock filesystems are fully supported in the code. This was
1836 tested by hand for now.
1838 https://bugs.webkit.org/show_bug.cgi?id=52694
1840 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
1841 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
1842 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
1843 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1845 2011-01-18 Maciej Stachowiak <mjs@apple.com>
1847 Not reviewed. Bot fix.
1849 Remove an inadvertently committed debugging print.
1851 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1852 (LayoutTestController::notifyDone):
1854 2011-01-18 Maciej Stachowiak <mjs@apple.com>
1856 Reviewed by Sam Weinig.
1858 WebKitTestRunner should track loading more like DumpRenderTree
1859 https://bugs.webkit.org/show_bug.cgi?id=52692
1861 Change load tracking to track the current top loading frame, in the manner of DumpRenderTree.
1862 This makes some tests that call notifyDone multiple times pass.
1864 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1865 (WTR::InjectedBundle::InjectedBundle):
1866 (WTR::InjectedBundle::done):
1867 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1868 (WTR::InjectedBundle::topLoadingFrame):
1869 (WTR::InjectedBundle::setTopLoadingFrame):
1870 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1871 (WTR::InjectedBundlePage::InjectedBundlePage):
1872 (WTR::InjectedBundlePage::stopLoading):
1873 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
1874 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
1875 (WTR::InjectedBundlePage::didFinishLoadForFrame):
1876 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
1877 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1878 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1879 (WTR::LayoutTestController::notifyDone):
1880 * WebKitTestRunner/TestController.cpp:
1881 (WTR::TestController::didReceiveMessageFromInjectedBundle):
1883 2011-01-18 Mihai Parparita <mihaip@chromium.org>
1885 Reviewed by Kent Tamura.
1887 [Chromium] NRWT looking for DRT binary in the wrong path on Mac
1888 https://bugs.webkit.org/show_bug.cgi?id=52678
1890 Update path now that WebKit is inside Source.
1892 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
1894 2011-01-18 Robert Hogan <robert@webkit.org>
1896 Reviewed by Simon Hausmann.
1898 [Qt] http/tests/incremental/slow-utf8-text.pl fails
1899 https://bugs.webkit.org/show_bug.cgi?id=44282
1901 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1902 (WebCore::DumpRenderTree::dump):
1904 2011-01-18 Dirk Pranke <dpranke@chromium.org>
1906 Reviewed by Mihai Parparita.
1908 Fix a small race condition that could cause the unit tests for
1909 new-run-webkit-tests to fail in a multithreaded environment.
1910 There was a small window in the code where one thread would
1911 check to see if a thread had raised an exception, do something,
1912 and then check to see if the thread was alive. If the other
1913 thread raised an exception and exited in between these two
1914 steps, the exception would be lost. Flipping the order of the
1915 two checks fixes the race, since we will now always check for an
1916 exception on the thread before exiting.
1918 https://bugs.webkit.org/show_bug.cgi?id=51579
1920 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
1922 2011-01-18 Eric Seidel <eric@webkit.org>
1924 Reviewed by Adam Barth.
1926 commit-queue dies when test archiving fails
1927 https://bugs.webkit.org/show_bug.cgi?id=52617
1929 I looked at the machine and it had 10 archives already
1930 thus find_unused_name was returning None. I've upped
1931 the limit to 100 (per bug) and tested the case where
1932 find_unused_name returns None (making archive return None).
1934 * Scripts/webkitpy/common/system/workspace.py:
1935 * Scripts/webkitpy/common/system/workspace_unittest.py:
1936 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1937 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1938 * Scripts/webkitpy/tool/commands/queues.py:
1940 2011-01-18 Dirk Pranke <dpranke@chromium.org>
1942 Reviewed by Ojan Vafai.
1944 Update rebaseline-chromium-webkit-tests unit tests to use a mock
1945 filesystem. Also fix a couple of "with" statements missed by
1948 https://bugs.webkit.org/show_bug.cgi?id=52487
1950 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
1952 2011-01-18 Sergio Villar Senin <svillar@igalia.com>
1954 Reviewed by Martin Robinson.
1956 [Gtk] Build fixes for gtk3 build
1957 https://bugs.webkit.org/show_bug.cgi?id=52648
1959 * DumpRenderTree/gtk/EventSender.cpp:
1960 (beginDragWithFilesCallback):
1962 2011-01-18 Dirk Pranke <dpranke@chromium.org>
1964 Reviewed by Mihai Parparita.
1966 Update rebaseline-chromium-webkit-tests to use filesystem objects
1967 instead of direct references to os.path, shutil, tempfile, etc.
1969 This patch doesn't change anything, but will allow subsequent
1970 patches to change the unit tests to no longer use the real
1973 This patch adds a bunch more methods to the filesystem object as
1976 https://bugs.webkit.org/show_bug.cgi?id=52482
1978 * Scripts/webkitpy/common/system/filesystem.py:
1979 * Scripts/webkitpy/common/system/filesystem_mock.py:
1980 * Scripts/webkitpy/tool/commands/queues.py:
1981 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
1982 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
1984 2011-01-18 Dirk Pranke <dpranke@chromium.org>
1986 Reviewed by Mihai Parparita.
1988 new-run-webkit-tests shouldn't crash when you try to run a
1989 directory containing only skipped files.
1991 https://bugs.webkit.org/show_bug.cgi?id=52478
1993 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1994 * Scripts/webkitpy/layout_tests/port/test.py:
1995 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1997 2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com>
1999 Reviewed by Gustavo Noronha Silva.
2001 [GTK] The GTK+ EventSender needs support for beginDragWithFiles
2002 https://bugs.webkit.org/show_bug.cgi?id=40833
2004 * DumpRenderTree/gtk/EventSender.cpp: Add a beginDragWithFiles implementation for the
2006 (dragWithFilesDragDataGetCallback): Added.
2007 (dragWithFilesDragEndCallback): Added.
2008 (beginDragWithFilesCallback): Added.
2010 2011-01-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2012 Reviewed by Adam Barth.
2014 ews: Add additional watcher to efl ews
2015 https://bugs.webkit.org/show_bug.cgi?id=52613
2017 Add gyuyoung.kim@samsung.com to watcher list of efl-ews.
2019 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
2021 2011-01-17 Tony Gentilcore <tonyg@chromium.org>
2023 Reviewed by Alexey Proskuryakov.
2025 Fix some headers with missing or misspelled #ifndef guards
2026 https://bugs.webkit.org/show_bug.cgi?id=52545
2028 * DumpRenderTree/chromium/TestEventPrinter.h:
2029 * DumpRenderTree/chromium/WebPreferences.h:
2031 2011-01-17 Jessie Berlin <jberlin@apple.com>
2033 Reviewed by Anders Carlsson.
2035 REGRESSION: Assertion failure in FrameLoader::continueLoadAfterWillSubmitForm() when
2036 navigating back to an unreachable URL
2037 https://bugs.webkit.org/show_bug.cgi?id=52388
2039 Add a third parameter (unreachableURL) to queueLoadHTMLString.
2041 * DumpRenderTree/LayoutTestController.cpp:
2042 (queueLoadHTMLStringCallback):
2043 (LayoutTestController::queueLoadHTMLString):
2044 (LayoutTestController::queueLoadAlternateHTMLString):
2045 * DumpRenderTree/LayoutTestController.h:
2047 * DumpRenderTree/WorkQueueItem.h:
2048 (LoadHTMLStringItem::LoadHTMLStringItem):
2050 * DumpRenderTree/chromium/LayoutTestController.cpp:
2051 (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
2052 (WorkItemLoadHTMLString::run):
2053 (LayoutTestController::queueLoadHTMLString):
2055 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2056 (LoadHTMLStringItem::invoke):
2057 * DumpRenderTree/mac/WorkQueueItemMac.mm:
2058 (LoadHTMLStringItem::invoke):
2059 * DumpRenderTree/win/WorkQueueItemWin.cpp:
2060 (LoadHTMLStringItem::invoke):
2062 2011-01-17 Dan Bernstein <mitz@apple.com>
2064 Rubber-stamped by Mark Rowe.
2066 Update xcodeproj svn:ignore to include xcuserdata.
2068 * DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
2069 * MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
2070 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
2071 * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
2072 * WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
2074 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
2076 Unreviewed fix after r75908.
2078 Move WebKit into Source
2079 https://bugs.webkit.org/show_bug.cgi?id=52530
2081 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add Source to the path for Qt API tests.
2083 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
2087 Remove accidentally committed debug printing after r75908.
2089 * Scripts/webkitdirs.pm:
2091 2011-01-17 John Knottenbelt <jknotten@chromium.org>
2095 Add myself to committers list
2096 https://bugs.webkit.org/show_bug.cgi?id=52566
2098 * Scripts/webkitpy/common/config/committers.py:
2100 2011-01-17 John Knottenbelt <jknotten@chromium.org>
2102 Reviewed by Jeremy Orlow.
2104 GeolocationController should call stopUpdating on destruction
2105 https://bugs.webkit.org/show_bug.cgi?id=52216
2107 fast/dom/Geolocation/window-close-crash.html requires that a
2108 Geolocation watch be started in a secondary window. Consequently,
2109 we need to allow geolocation permission and provide a mock
2110 geolocation position for the secondary window's
2111 GeolocationClientMock.
2113 * DumpRenderTree/chromium/LayoutTestController.cpp:
2114 (LayoutTestController::setGeolocationPermission):
2115 (LayoutTestController::setMockGeolocationPosition):
2116 (LayoutTestController::setMockGeolocationError):
2117 * DumpRenderTree/chromium/TestShell.h:
2118 (TestShell::windowList):
2120 2011-01-16 Adam Barth <abarth@webkit.org>
2122 Update more include paths to reflect WebKit move.
2124 * DumpRenderTree/chromium/EventSender.cpp:
2125 (EventSender::keyDown):
2126 (EventSender::needsShiftModifier):
2127 * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
2128 * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
2130 2011-01-16 Kent Tamura <tkent@chromium.org>
2132 Unreviewed, Chromium build fix.
2134 * Scripts/update-webkit-chromium: Webkit/chromium -> Source/WebKit/chromium
2136 2011-01-16 Martin Robinson <mrobinson@igalia.com>
2138 Build fix for GTK+ after source directory movement.
2140 * GNUmakefile.am: Correct include paths.
2142 2011-01-16 Adam Barth <abarth@webkit.org>
2144 Teach svn-apply about WebKit move.
2146 * Scripts/VCSUtils.pm:
2148 2011-01-16 Adam Barth <abarth@webkit.org>
2150 Rubber-stamped by Eric Seidel.
2152 Move WebKit into Source
2153 https://bugs.webkit.org/show_bug.cgi?id=52530
2155 * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h:
2156 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2157 * DumpRenderTree/qt/DumpRenderTreeQt.h:
2158 * DumpRenderTree/qt/GCControllerQt.cpp:
2159 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2160 * DumpRenderTree/qt/PlainTextControllerQt.cpp:
2161 * DumpRenderTree/qt/TextInputControllerQt.cpp:
2162 * DumpRenderTree/wscript:
2163 * QtTestBrowser/launcherwindow.h:
2164 * Scripts/build-webkit:
2165 * Scripts/webkitdirs.pm:
2167 2011-01-15 Adam Barth <abarth@webkit.org>
2169 Teach svn-apply about WebKit2 move.
2171 * Scripts/VCSUtils.pm:
2173 2011-01-15 Adam Barth <abarth@webkit.org>
2175 Rubber-stamped by Eric Seidel.
2177 Move WebKit2 into Source
2178 https://bugs.webkit.org/show_bug.cgi?id=52438
2180 * MiniBrowser/qt/MiniBrowser.pro:
2181 * Scripts/build-webkit:
2182 * Scripts/do-file-rename:
2183 * Scripts/do-webcore-rename:
2184 * Scripts/test-webkitpy:
2185 * Scripts/webkitdirs.pm:
2186 * Scripts/webkitpy/style/checker.py:
2187 * WebKitTestRunner/DerivedSources.pro:
2188 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
2189 * WebKitTestRunner/qt/WebKitTestRunner.pro:
2191 2011-01-15 Jochen Eisinger <jochen@chromium.org>
2193 Reviewed by David Levin.
2195 [chromium] remove obsolete createView method
2196 https://bugs.webkit.org/show_bug.cgi?id=52437
2198 * DumpRenderTree/chromium/WebViewHost.cpp:
2199 (WebViewHost::createView):
2200 * DumpRenderTree/chromium/WebViewHost.h:
2202 2011-01-14 Brian Weinstein <bweinstein@apple.com>
2204 Reviewed by Geoff Garen.
2206 ShouldLoadResourceForFrame should use strings, not URLs.
2207 https://bugs.webkit.org/show_bug.cgi?id=52476
2209 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2210 (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Update to use a WKStringRef.
2211 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
2213 2011-01-14 Tony Gentilcore <tonyg@chromium.org>
2215 Reviewed by David Levin.
2217 Add Tony Gentilcore as a reviewer
2218 https://bugs.webkit.org/show_bug.cgi?id=52480
2220 * Scripts/webkitpy/common/config/committers.py:
2222 2011-01-14 David Levin <levin@chromium.org>
2224 Reviewed by Eric Seidel.
2226 check-webkit-style: _FunctionState should keep track of where the function name starts.
2227 https://bugs.webkit.org/show_bug.cgi?id=52454
2229 * Scripts/webkitpy/style/checkers/cpp.py: Added function_name_start_position to
2230 _FunctionState and logic for setting it correctly.
2231 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
2233 2011-01-14 Vincent Scheib <scheib@chromium.org>
2235 Reviewed by David Levin.
2237 Add support to DumpRenderTree to use the GPU rather than software renderer
2238 https://bugs.webkit.org/show_bug.cgi?id=52333
2240 * DumpRenderTree/chromium/DumpRenderTree.cpp:
2242 * Scripts/webkitpy/layout_tests/port/chromium.py:
2243 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2245 2011-01-14 Tony Chang <tony@chromium.org>
2247 Reviewed by Kent Tamura.
2249 [chromium] update fonts.conf to fix 6 linux tests in drt
2250 https://bugs.webkit.org/show_bug.cgi?id=52411
2252 * DumpRenderTree/chromium/fonts.conf: Update to match the copy in
2253 chromium's src/webkit/tools/test_shell/resources/fonts.conf
2255 2011-01-14 Eric Seidel <eric@webkit.org>
2257 Original patch from Peter Gal <galpater@inf.u-szeged.hu>
2259 Reviewed by Adam Barth.
2261 Fix when running Tools/Scripts/check-webkit-style without arguments.
2262 https://bugs.webkit.org/show_bug.cgi?id=52261#c16
2264 * Scripts/webkitpy/common/checkout/scm.py: Handle None for changed_files argument better in Git.create_patch method.
2265 * Scripts/webkitpy/common/checkout/scm_unittest.py:
2267 2011-01-04 Jochen Eisinger <jochen@chromium.org>
2269 Reviewed by David Levin.
2271 Store the tempdir object in a variable so it doesn't get deleted too early.
2272 https://bugs.webkit.org/show_bug.cgi?id=51875
2274 * Scripts/update-webkit-auxiliary-libs:
2275 * Scripts/update-webkit-support-libs:
2277 2011-01-14 Eric Seidel <eric@webkit.org>
2279 Unreviewed. Make it work in python 2.5.
2281 webkit-patch suggest-reviewers dies when ChangeLogs are missing
2282 https://bugs.webkit.org/show_bug.cgi?id=49158
2284 * Scripts/webkitpy/common/checkout/api_unittest.py:
2286 2011-01-14 Sheriff Bot <webkit.review.bot@gmail.com>
2288 Unreviewed, rolling out r75774.
2289 http://trac.webkit.org/changeset/75774
2290 https://bugs.webkit.org/show_bug.cgi?id=52431
2292 gtk builds were broken (Requested by loislo2 on #webkit).
2294 * Scripts/webkitpy/common/checkout/scm.py:
2296 2011-01-14 David Levin <levin@chromium.org>
2298 Reviewed by Shinichiro Hamaji.
2300 check-webkit-style: _FunctionState should detect pure functions.
2301 https://bugs.webkit.org/show_bug.cgi?id=52428
2303 * Scripts/webkitpy/style/checkers/cpp.py: Added detection for if a function declaration
2304 is a pure virtual function.
2305 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for verifying that pure
2306 virtual functions are correctly detected.
2308 2011-01-13 Ilya Tikhonovsky <loislo@chromium.org>
2310 Reviewed by Yury Semikhatsky.
2312 Just small fix for problem with check-webkit-style.
2313 It just didn't work for this patch.
2314 Old code can't concatenate a list of strings with None.
2316 * Scripts/webkitpy/common/checkout/scm.py:
2318 2011-01-13 David Levin <levin@chromium.org>
2320 Reviewed by Shinichiro Hamaji.
2322 check-webkit-style: _FunctionState should use Position to know where items are.
2323 https://bugs.webkit.org/show_bug.cgi?id=52424
2325 * Scripts/webkitpy/style/checkers/cpp.py:
2326 (_FunctionState.*): Changed _FunctionState to use Position instead of line numbers.
2327 (detect_functions): Changed to pass Position's to _FunctionState.begin and
2328 did some minor clean-up.
2329 (*): Other changes are simply about converting to use the Position's in_FunctionState
2330 instead of line numbers.
2331 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Changed the test code
2332 to verify the positions stored in _FunctionState.
2334 2011-01-13 Eric Seidel <eric@webkit.org>
2336 Reviewed by David Levin.
2338 webkit-patch suggest-reviewers dies when ChangeLogs are missing
2339 https://bugs.webkit.org/show_bug.cgi?id=49158
2341 This is not the most elegant, but it is a very safe fix to this bug.
2342 One advantage of catching ScriptError like this instead of adding a
2343 new added_or_modified_files or fixing all changed_files callers
2344 to use a more specific change_files variant, is that we catch
2345 all kinds of ScriptErrors which might cause our (non-essential)
2346 suggest-reviewers code to fail out. This should make passing
2347 --suggest-reviewers to webkit-patch upload much more robust
2348 and may even make it possible for us to make it default.
2350 The root of the problem here is that SCM.changed_files includes
2351 deleted ChangeLog paths (from moves, etc) which then when we ask
2352 SVN/Git for the contents of the file at that revision, the command
2353 errors out and Executive.run_command raises a ScriptError.
2355 In the future we might fix this differently by making all current
2356 callers of chagned_files use a more specific method for requesting
2357 what types of changes they're interested in (adds, modifies, deletes, etc.)
2359 * Scripts/webkitpy/common/checkout/api.py:
2360 * Scripts/webkitpy/common/checkout/api_unittest.py:
2362 2011-01-13 Dan Bernstein <mitz@apple.com>
2364 Reviewed by Alexey Proskuryakov.
2366 <rdar://problem/8827065> REGRESSION (r71884): Cross-origin XHR fails if willSendRequest changes the URL
2367 https://bugs.webkit.org/show_bug.cgi?id=52419
2369 Allow to further control the behavior of the willSendRequest delegate callback by making it
2370 set a different URL in the new request.
2372 * DumpRenderTree/LayoutTestController.cpp:
2373 (addURLToRedirectCallback): Added.
2374 (LayoutTestController::staticFunctions): Added addURLToRedirect.
2375 (LayoutTestController::addURLToRedirect): Added. Adds the redirection to the map.
2376 (LayoutTestController::redirectionDestinationForURL): Added this getter.
2377 * DumpRenderTree/LayoutTestController.h:
2378 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2379 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): Check
2380 if there is a redirection for the request’s URL, established by addURLToRedirect(), and if so,
2381 change the URL in the new request to the redirect destination.
2383 2011-01-13 Eric Seidel <eric@webkit.org>
2385 Reviewed by Mihai Parparita.
2387 webkit-patch suggest-reviewers fails due to invalid utf8 in ChangeLog files
2388 https://bugs.webkit.org/show_bug.cgi?id=52416
2390 Example: webkit-patch suggest-reviewers -g ca3890fe74d94d85d6bfa48f9ea497b094d8e717
2391 UnicodeDecodeError: 'utf8' codec can't decode bytes in position 536-538: invalid data
2393 I also added FIXMEs about the changed_files returning deleted files problem
2394 which is causing the other most common exception for suggest-reviewers
2395 (and is probably breaking sheriff-bots blame detection).
2397 * Scripts/webkitpy/common/checkout/api.py:
2398 * Scripts/webkitpy/common/checkout/api_unittest.py:
2399 * Scripts/webkitpy/common/checkout/scm.py:
2401 2011-01-13 Eric Seidel <eric@webkit.org>
2403 Reviewed by Adam Barth.
2405 results archives from commit-queue are too large to upload
2406 https://bugs.webkit.org/show_bug.cgi?id=52405
2408 * Scripts/webkitpy/common/system/filesystem.py:
2409 * Scripts/webkitpy/common/system/filesystem_mock.py:
2410 * Scripts/webkitpy/tool/commands/queues.py:
2412 2011-01-13 Alejandro G. Castro <alex@igalia.com>
2414 Reviewed by Martin Robinson.
2416 [gtk] Zero-sized font does not yet work
2417 https://bugs.webkit.org/show_bug.cgi?id=49793
2419 Set minimum-font-size to 0 for the DRT.
2421 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2422 (resetDefaultsToConsistentValues):
2424 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
2426 Reviewed by Darin Adler.
2428 Make old-run-webkit-tests more robust on buildbots
2429 https://bugs.webkit.org/show_bug.cgi?id=52364
2431 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Pass --exit-after-n-failures 500 to old-run-webkit-tests script.
2433 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
2435 Reviewed by Darin Adler.
2437 Make old-run-webkit-tests more robust on buildbots
2438 https://bugs.webkit.org/show_bug.cgi?id=52364
2440 * Scripts/old-run-webkit-tests: Ensure that testResultsDirectory is empty.
2442 2011-01-13 Tony Chang <tony@chromium.org>
2444 Reviewed by Kent Tamura.
2446 [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
2447 https://bugs.webkit.org/show_bug.cgi?id=52332
2449 Forked Info.plist is not longer needed.
2451 * DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist: Removed.
2453 2011-01-13 Mikhail Naganov <mnaganov@chromium.org>
2455 Reviewed by Timothy Hatcher.
2457 Web Inspector: Cleanup after r75613 -- make all UI-facing strings
2458 to be passed directly to WebInspector.UIString
2460 https://bugs.webkit.org/show_bug.cgi?id=52365
2462 * Scripts/check-inspector-strings:
2464 2011-01-13 Sheriff Bot <webkit.review.bot@gmail.com>
2466 Unreviewed, rolling out r74881.
2467 http://trac.webkit.org/changeset/74881
2468 https://bugs.webkit.org/show_bug.cgi?id=52357
2470 The EFL builder has been red for days (Requested by abarth on
2473 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2474 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2476 2011-01-12 Maciej Stachowiak <mjs@apple.com>
2478 Reviewed by David Levin.
2480 Add beforeunload support to WebKitTestRunner
2481 https://bugs.webkit.org/show_bug.cgi?id=52353
2483 This makes a number of currently failing tests pass.
2485 * WebKitTestRunner/TestController.cpp:
2486 (WTR::runBeforeUnloadConfirmPanel):
2487 (WTR::createOtherPage):
2488 (WTR::TestController::initialize):
2490 2011-01-12 Maciej Stachowiak <mjs@apple.com>
2492 Reviewed by Sam Weinig.
2494 Detect, identify and recover from WebProcess crashes in run-webkit-tests
2495 https://bugs.webkit.org/show_bug.cgi?id=52330
2497 * Scripts/old-run-webkit-tests: Detect when the regression test tool reports
2498 a web process crash.
2499 * WebKitTestRunner/TestController.cpp:
2500 (WTR::TestController::initialize): Set up a processDidCrash
2502 (WTR::TestController::processDidCrash): Report that the Web process
2504 * WebKitTestRunner/TestController.h:
2506 2011-01-12 David Levin <levin@chromium.org>
2508 Reviewed by Shinichiro Hamaji.
2510 check-webkit-style -- close_expression function doesn't work correctly.
2511 https://bugs.webkit.org/show_bug.cgi?id=52272
2513 * Scripts/webkitpy/style/checkers/cpp.py:
2514 (Position.__str__): Added a way to convert it to a string which is useful in tests.
2515 (Position.__cmp__): Added a way to compare Position which is useful in tests and
2516 generally useful (for upcoming code changes).
2517 (close_expression): Changed to use Position for input and output.
2518 Also, fixed many bugs such as only working correctly for parenthesis,
2519 not working correctly if given an offset in a line and not finding
2520 the real closing element if there were multiple closing elements in
2522 (detect_functions): Adjusted due to the change in arguments for
2524 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2525 (CppStyleTestBase.assert_positions_equal): Added a way to verify that
2526 two positions are the same.
2527 (CppStyleTest.test_position): Added tests for the __str_ and __cmp__ methods.
2528 (CppStyleTest.test_close_expression): Added tests to catch the issues
2531 2011-01-12 Sheriff Bot <webkit.review.bot@gmail.com>
2533 Unreviewed, rolling out r75576.
2534 http://trac.webkit.org/changeset/75576
2535 https://bugs.webkit.org/show_bug.cgi?id=52304
2537 broke rebaseline-chromium-webkit-test (Requested by thakis on
2540 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
2541 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
2542 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
2543 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
2544 * Scripts/webkitpy/layout_tests/port/base.py:
2545 * Scripts/webkitpy/layout_tests/port/chromium.py:
2546 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2547 * Scripts/webkitpy/layout_tests/port/test.py:
2548 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2549 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2550 * Scripts/webkitpy/style/checkers/test_expectations.py:
2551 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
2553 2011-01-12 Maciej Stachowiak <mjs@apple.com>
2555 Reviewed by Darin Adler.
2557 Add a no-build option to run-webkit-tests, to avoid building DRT/WKTR
2558 https://bugs.webkit.org/show_bug.cgi?id=52307
2560 * Scripts/old-run-webkit-tests:
2562 2011-01-12 Koan-Sin Tan <koansin.tan@gmail.com>
2564 Reviewed by Martin Robinson.
2566 [Gtk] WebKitGtk+ doesn't build on Mac OS X 10.6
2567 https://bugs.webkit.org/show_bug.cgi?id=50867
2569 Fixed library extention for Mac in webkitdirs.pm and type conflict in
2570 TestNetscapePlugin.cpp
2572 * GNUmakefile.am: Don't use AppKit when compiling TestNetscapePlugin for GTK+
2573 * Scripts/webkitdirs.pm:
2575 2011-01-12 Mikhail Naganov <mnaganov@chromium.org>
2577 Reviewed by Pavel Feldman.
2579 Add check-inspector-strings script.
2581 https://bugs.webkit.org/show_bug.cgi?id=52295
2583 * Scripts/check-inspector-strings: Added.
2585 2011-01-12 Adam Roben <aroben@apple.com>
2587 Advertise the .testnetscape file extension on Windows
2589 Fixes <http://webkit.org/b/52298>
2590 plugins/no-mime-with-valid-extension.html fails on Windows
2592 Reviewed by Dan Bernstein.
2594 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Added a
2595 FileExtents field to map the .testnetscape file extension to the
2596 application/x-webkit-test-netscape MIME type, just as we do on Mac.
2598 2011-01-12 Adam Barth <abarth@webkit.org>
2600 Reviewed by Eric Seidel.
2602 Make webkit-patch support subdirectories for SVN checkouts
2603 https://bugs.webkit.org/show_bug.cgi?id=52261
2605 os.relpath does not exist on Python 2.5, so we need to call our version
2608 * Scripts/webkitpy/common/checkout/scm.py:
2610 2011-01-11 Maciej Stachowiak <mjs@apple.com>
2612 Reviewed by Eric Seidel.
2614 Close additional pages opened during a test once the test completes.
2615 https://bugs.webkit.org/show_bug.cgi?id=52276
2617 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2618 (WTR::InjectedBundle::done):
2620 2011-01-11 David Levin <levin@chromium.org>
2622 Reviewed by Eric Seidel.
2624 Errors should be separated from the command line in bot messages.
2625 https://bugs.webkit.org/show_bug.cgi?id=52275
2627 * Scripts/webkitpy/common/system/executive.py:
2628 (ScriptError.message_with_output): Added a newline to separate the command
2629 line from the errors.
2630 * Scripts/webkitpy/common/system/executive_unittest.py:
2631 (ScriptErrorTest.test_message_with_output): Added tests for the various code
2632 paths in message_with_output.
2634 2011-01-11 Eric Seidel <eric@webkit.org>
2638 commit-queue should know how to upload archived results (for test flakes or general failures)
2639 https://bugs.webkit.org/show_bug.cgi?id=52048
2641 The zips are mostly empty due to forgetting -r.
2642 Expected diffs were not being pulled from the archive due
2643 to the archive having longer paths than I realized.
2645 * Scripts/webkitpy/common/system/workspace.py:
2646 * Scripts/webkitpy/common/system/workspace_unittest.py:
2647 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
2648 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
2650 2011-01-11 Dirk Pranke <dpranke@chromium.org>
2652 Reviewed by Ojan Vafai.
2654 The current modifier parsing code in test_expectations is
2655 fragile and hard-coded, so it's not easy to understand the logic
2656 or easily add new types of modifiers (like GPU vs. CPU testing
2657 for graphics tests, or 32-bit vs. 64-bit differences).
2659 This is the first of two patches that will add in more generic
2660 support and then eliminate the GPU-specific test expectations
2663 This patch adds two standalone objects for handling modifiers. The
2664 rules for interpreting modifiers, precedence, and conflicts are
2665 given in the docstring to the ModifierMatcher class, which
2666 returns ModifierMatchResult objects.
2668 This patch also adds routines to the Port interface and a
2669 default set of values in the base object, in order to obtain the
2670 values needed on a given test run. These values are then passed
2671 to the expectation parser. This also allows us to clean up the
2672 logic used to lint all of the different configurations in a
2673 single test_expectations.txt file.
2675 The next patch will merge in the separate GPU expectations file.
2677 https://bugs.webkit.org/show_bug.cgi?id=51222
2679 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
2680 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
2681 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
2682 * Scripts/webkitpy/layout_tests/port/base.py:
2683 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2684 * Scripts/webkitpy/layout_tests/port/chromium.py:
2685 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2686 * Scripts/webkitpy/layout_tests/port/test.py:
2687 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2688 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2690 2011-01-11 Maciej Stachowiak <mjs@apple.com>
2692 Reviewed by Adam Barth.
2694 Make webkit-patch support subdirectories for SVN checkouts
2695 https://bugs.webkit.org/show_bug.cgi?id=52261
2697 * Scripts/webkitpy/common/checkout/scm.py:
2698 * Scripts/webkitpy/style_references.py:
2699 * Scripts/webkitpy/tool/main.py:
2700 * Scripts/webkitpy/tool/steps/preparechangelog.py:
2702 2011-01-11 Eric Seidel <eric@webkit.org>
2706 commit-queue should know how to upload archived results (for test flakes or general failures)
2707 https://bugs.webkit.org/show_bug.cgi?id=52048
2709 I changed the API for archive_last_layout_test_results w/o updating the implementation. Oops.
2710 This fixes an exception seen on the commit-queue when attempting to report flaky tests.
2712 * Scripts/webkitpy/common/system/workspace.py:
2713 * Scripts/webkitpy/common/system/workspace_unittest.py:
2714 * Scripts/webkitpy/tool/commands/queues.py:
2716 2011-01-11 Sam Weinig <sam@webkit.org>
2718 Roll r75474 back in.
2720 2011-01-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2722 Reviewed by Kenneth Rohde Christiansen.
2724 [Qt] Remove uses of QFuture since it isn't supported on all platforms.
2725 https://bugs.webkit.org/show_bug.cgi?id=51204
2727 * QtTestBrowser/webpage.h:
2728 (QtNAMThread::QtNAMThread):
2729 (QtNAMThread::networkAccessManager):
2732 2011-01-11 Peter Varga <pvarga@webkit.org>
2736 Add myself to committers' list.
2738 * Scripts/webkitpy/common/config/committers.py:
2740 2011-01-11 Eric Seidel <eric@webkit.org>
2742 Reviewed by Adam Barth.
2744 commit-queue should know how to upload archived results (for test flakes or general failures)
2745 https://bugs.webkit.org/show_bug.cgi?id=52048
2747 Now the queue will always upload results. Either the entire zip, or just
2748 the diffs.txt in the case of text failures.
2750 This should make understanding flakes much easier, and paves the way
2751 for having the EWS run layout tests (and upload failures).
2753 In order to upload .zip files I had to teach bugzilla.py to autodetect
2754 mime types from the filename. Since mimetypes.py doesn't include a mapping
2755 for .patch files, I have it add one before calling guess_type.
2757 We may find that always uploading the whole zip instead of just the -diffs.txt
2758 file is preferable, but for now I'm keeping the old behavior because it makes
2759 quickly understanding text failures easy.
2761 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2762 * Scripts/webkitpy/common/system/workspace.py: Added.
2763 * Scripts/webkitpy/common/system/workspace_unittest.py: Added.
2764 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
2765 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
2766 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
2767 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
2768 * Scripts/webkitpy/tool/commands/queues.py:
2769 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2771 2011-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
2773 Unreviewed, rolling out r75464.
2774 http://trac.webkit.org/changeset/75464
2775 https://bugs.webkit.org/show_bug.cgi?id=52193
2777 Followup rollout for 75474 (Requested by Ossy on #webkit).
2779 * MiniBrowser/mac/BrowserWindowController.m:
2780 (-[BrowserWindowController awakeFromNib]):
2781 * MiniBrowser/win/BrowserView.cpp:
2782 (BrowserView::create):
2783 * WebKitTestRunner/TestController.cpp:
2784 (WTR::createOtherPage):
2785 (WTR::TestController::initialize):
2787 2011-01-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2789 Reviewed by Csaba Osztrogonác.
2791 [Qt] Baseline qt_minimal configuration
2792 https://bugs.webkit.org/show_bug.cgi?id=51313
2794 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2795 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Add
2796 QT_NO_UNDOSTACK guard.
2798 * QtTestBrowser/launcherwindow.cpp:
2799 (LauncherWindow::createChrome): Add QT_NO_SHORTCUT and QT_NO_PRINTER
2801 (LauncherWindow::applyZoom): Add QT_NO_ANIMATION guard.
2802 (LauncherWindow::screenshot): Add QT_NO_FILEDIALOG guard.
2803 (LauncherWindow::selectElements): Add QT_NO_INPUTDIALOG guard.
2804 (LauncherWindow::showUserAgentDialog): Add QT_NO_COMBOBOX guard.
2806 * QtTestBrowser/launcherwindow.h:
2807 * QtTestBrowser/locationedit.cpp: Add QT_NO_INPUTDIALOG guard.
2808 * QtTestBrowser/locationedit.h: Ditto.
2810 * QtTestBrowser/mainwindow.cpp:
2811 (MainWindow::buildUI): Add QT_NO_INPUTDIALOG, QT_NO_SHORTCUT and
2812 QT_NO_UNDOSTACK guards.
2813 (MainWindow::setAddressUrl): Add QT_NO_INPUTDIALOG guard.
2814 (MainWindow::changeLocation): Ditto.
2815 (MainWindow::openFile): Add QT_NO_FILEDIALOG guard.
2816 (MainWindow::openLocation): Add QT_NO_INPUTDIALOG guard.
2818 * QtTestBrowser/webpage.cpp:
2819 (WebPage::openUrlInDefaultBrowser): Add QT_NO_DESKTOPSERVICES guard.
2820 (WebPage::authenticationRequired): Add QT_NO_LINEEDIT guard.
2822 * QtTestBrowser/webview.cpp:
2823 (WebViewGraphicsBased::animatedFlip): Add QT_NO_ANIMATION guard.
2824 (WebViewGraphicsBased::animatedYFlip): Ditto.
2826 2011-01-10 Sam Weinig <sam@webkit.org>
2830 * MiniBrowser/mac/BrowserWindowController.m:
2831 (-[BrowserWindowController awakeFromNib]):
2832 * MiniBrowser/win/BrowserView.cpp:
2833 (BrowserView::create):
2834 * WebKitTestRunner/TestController.cpp:
2835 (WTR::createOtherPage):
2836 (WTR::TestController::initialize):
2838 2011-01-10 Eric Seidel <eric@webkit.org>
2840 Reviewed by Ojan Vafai.
2842 style-queue messages are way too long for big patches
2843 https://bugs.webkit.org/show_bug.cgi?id=52161
2845 We definitely could build much fancier list-to-string-with-limit functions
2846 but this should be sufficient for our needs at the moment.
2848 * Scripts/webkitpy/common/system/executive.py:
2849 * Scripts/webkitpy/common/system/executive_unittest.py:
2851 2011-01-10 Tony Chang <tony@chromium.org>
2853 Unreviewed, rolling out r75398.
2854 http://trac.webkit.org/changeset/75398
2855 https://bugs.webkit.org/show_bug.cgi?id=52008
2857 Some layout tests are crashing on Chromium Win.
2859 * DumpRenderTree/chromium/WebViewHost.cpp:
2860 (WebViewHost::updatePaintRect):
2861 * DumpRenderTree/chromium/WebViewHost.h:
2863 2011-01-10 Adam Roben <aroben@apple.com>
2867 It isn't needed now that r75289 has been rolled out.
2869 * Scripts/run-javascriptcore-tests:
2871 2011-01-10 Maciej Stachowiak <mjs@apple.com>
2873 Reviewed by Anders Carlsson.
2875 WebKitTestRunner uses crazy amounts of CPU, making layout tests slow and flaky
2876 https://bugs.webkit.org/show_bug.cgi?id=52160
2878 * WebKitTestRunner/mac/TestControllerMac.mm:
2879 (WTR::TestController::platformRunUntil): Instead of busy-looping, wait for the timeout.
2880 Anything that can make runUntil() conditions turn true will happen on a run loop cycle
2883 2011-01-10 Tony Chang <tony@chromium.org>
2885 Reviewed by Mihai Parparita.
2887 [chromium] fix for animated gif layout tests
2888 https://bugs.webkit.org/show_bug.cgi?id=52008
2890 * DumpRenderTree/chromium/WebViewHost.cpp: Schedule a paint when we update the paint rect
2891 to trigger gif animations.
2892 (WebViewHostPaintTask::WebViewHostPaintTask):
2893 (WebViewHostPaintTask::runIfValid):
2894 (WebViewHost::updatePaintRect):
2895 * DumpRenderTree/chromium/WebViewHost.h:
2896 (WebViewHost::taskList):
2898 2011-01-10 Alejandro G. Castro <alex@igalia.com>
2900 Reviewed by Xan Lopez.
2902 [GTK] Fix gtk2 compilation for master
2903 https://bugs.webkit.org/show_bug.cgi?id=51885
2905 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
2906 (createBitmapContextFromWebView): Replaced the old
2907 gdk_drawable_get_size with gdk_pixmap_get_size.
2909 2011-01-10 Patrick Gansterer <paroga@webkit.org>
2911 Reviewed by Laszlo Gombos.
2913 [WINCE] Reenable NPAPI after r75203
2914 https://bugs.webkit.org/show_bug.cgi?id=52109
2916 Remove the !isWinCE() check for ENABLE_NETSCAPE_PLUGIN_API and replace
2917 it with !isEfl(), because EFL port does not support NPAPI (yet).
2919 * Scripts/build-webkit:
2921 2011-01-10 Adam Roben <aroben@apple.com>
2923 Skip some asserting JS tests
2925 See <http://webkit.org/b/52156>.
2927 * Scripts/run-javascriptcore-tests:
2929 2011-01-10 Martin Robinson <mrobinson@igalia.com>
2931 Reviewed by Xan Lopez.
2933 [GTK] build-webkit disable Blob support via arguments passed to automake
2934 https://bugs.webkit.org/show_bug.cgi?id=52097
2936 * Scripts/build-webkit: Enable Blob support when building WebKitGTK+ via
2939 2011-01-10 Adam Roben <aroben@apple.com>
2941 Use the same name and description for TestNetscapePlugin on Windows and
2944 Fixes <http://webkit.org/b/52151>
2945 fast/frames/iframe-reparenting-plugins.html fails on Windows
2947 Reviewed by Steve Falkenburg.
2949 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Copied
2950 the name and description from Mac's Info.plist.
2952 2011-01-10 Siddharth Mathur <siddharth.mathur@nokia.com>
2954 Reviewed by Laszlo Gombos.
2956 [Qt][WK2] Guard gcc-specific syntax
2958 Non-gcc based compliers choke on the "-include"
2959 syntax for preinclude, place guard around it.
2961 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
2962 * WebKitTestRunner/qt/WebKitTestRunner.pro:
2964 2011-01-10 Andreas Kling <kling@webkit.org>
2966 Reviewed by Simon Hausmann.
2968 [Qt] [WK2] MiniBrowser does not load pages opened in new windows
2969 https://bugs.webkit.org/show_bug.cgi?id=52111
2971 When getting a createNewPage() callback from QWKPage, create the
2972 new page with the same QWKContext as the page that is passed to
2975 * MiniBrowser/qt/BrowserView.h:
2976 * MiniBrowser/qt/BrowserWindow.cpp:
2978 (BrowserWindow::BrowserWindow):
2979 * MiniBrowser/qt/BrowserWindow.h:
2981 2011-01-10 Andreas Kling <kling@webkit.org>
2983 Reviewed by Kenneth Rohde Christiansen.
2985 [Qt] MiniBrowser: Remove superfluous createNewPage() callback
2987 BrowserView set its own useless createNewPage() callback on QWKPage.
2988 This was immediately overridden by BrowserWindow anyway, so remove
2989 the BrowserView one.
2991 * MiniBrowser/qt/BrowserView.cpp:
2992 (BrowserView::BrowserView):
2994 2011-01-10 John Knottenbelt <jknotten@chromium.org>
2996 Reviewed by Jeremy Orlow.
2998 [Chromium] Remove non-client-based Geolocation code
2999 https://bugs.webkit.org/show_bug.cgi?id=50921
3001 * DumpRenderTree/chromium/LayoutTestController.cpp:
3002 (LayoutTestController::setGeolocationPermission):
3003 (LayoutTestController::setMockGeolocationPosition):
3004 (LayoutTestController::setMockGeolocationError):
3005 * DumpRenderTree/chromium/WebViewHost.cpp:
3006 (WebViewHost::geolocationClientMock):
3007 (WebViewHost::reset):
3008 * DumpRenderTree/chromium/WebViewHost.h:
3010 2011-01-10 Eric Seidel <eric@webkit.org>
3012 Reviewed by Adam Barth.
3014 Commit bot tried to land r? cq+ patch
3015 https://bugs.webkit.org/show_bug.cgi?id=36638
3017 It should now be possible to post a patch with r? and cq+ and the
3018 commit-queue will correctly wait for the r+ before attempting to land the patch.
3019 (This was a feature requested by several users.)
3021 One caveat: We don't actually reject r-, cq+ patches from the queue
3022 (we just ignore them), but I think that's OK for now.
3024 I also noticed that setting r- once a commit-queue node had grabbed
3025 a patch would not properly cancel the landing. That's fixed and
3026 tested in this patch.
3028 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3029 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
3030 * Scripts/webkitpy/tool/bot/feeders.py:
3031 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
3033 2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
3035 Reviewed by Kenneth Rohde Christiansen.
3037 [Qt] QtWebKit crashes when using XMLHttpRequest from the unload event
3038 https://bugs.webkit.org/show_bug.cgi?id=51934
3040 When accessing the network from the destructor of QWebPage, the network access manager
3041 was already deleted because the object WebPage was already destructed.
3043 This solve the problem by linking the lifetime of the network access manager to WebPage's QObject.
3044 The object is now destructed in the destructor of QObject.
3046 * QtTestBrowser/webpage.cpp:
3048 (WebPage::setQnamThreaded):
3049 * QtTestBrowser/webpage.h:
3050 (QtNAMThread::QtNAMThread):
3052 2011-01-08 Eric Seidel <eric@webkit.org>
3054 Reviewed by Ojan Vafai.
3056 test_failures.py should not mention TestShell (long live DumpRenderTree!)
3057 https://bugs.webkit.org/show_bug.cgi?id=52067
3059 I ran test-webkitpy, but didn't bother adding a unit test for this string change.
3060 https://bugs.webkit.org/show_bug.cgi?id=51138#c3 is an example of why this is needed.
3062 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
3064 2011-01-08 Eric Seidel <eric@webkit.org>
3066 Reviewed by Mihai Parparita.
3068 commit-queue hangs when the ChangeLog diff is bad
3069 https://bugs.webkit.org/show_bug.cgi?id=52072
3071 * Scripts/webkitpy/tool/steps/validatechangelogs.py:
3072 * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
3074 2011-01-08 Adam Barth <abarth@webkit.org>
3076 Teach svn-apply how to re-write WebCore to Source/WebCore.
3078 * Scripts/VCSUtils.pm:
3080 2011-01-07 Adam Barth <abarth@webkit.org>
3082 Rubber-stamped by Eric Seidel.
3084 Move WebCore to Source
3085 https://bugs.webkit.org/show_bug.cgi?id=52050
3087 Update the tools to understand WebCore's new location.
3089 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3090 * DumpRenderTree/wscript:
3092 * Scripts/build-webkit:
3093 * Scripts/do-file-rename:
3094 * Scripts/do-webcore-rename:
3095 * Scripts/generate-qt-inspector-resource:
3096 * Scripts/prepare-ChangeLog:
3097 * Scripts/run-bindings-tests:
3098 * Scripts/update-iexploder-cssproperties:
3099 * Scripts/update-sources-list.py:
3100 * Scripts/update-webkit-localizable-strings:
3101 * Scripts/webkitdirs.pm:
3102 * Scripts/webkitpy/common/config/build.py:
3103 * Scripts/webkitpy/common/config/build_unittest.py:
3104 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
3105 * Scripts/webkitpy/style/checker.py:
3106 * Scripts/webkitpy/style/checker_unittest.py:
3107 * WebKitTestRunner/DerivedSources.pro:
3108 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
3109 * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh:
3110 * wx/browser/wscript:
3111 * wx/build/settings.py:
3113 2011-01-07 Maciej Stachowiak <mjs@apple.com>
3115 Reviewed by Sam Weinig.
3117 Make WebKitTestRunner rest between loads more robust to avoid test crashes
3118 https://bugs.webkit.org/show_bug.cgi?id=52086
3120 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3121 (WTR::InjectedBundle::didReceiveMessage):
3122 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
3123 (WTR::LayoutTestController::notifyDone):
3124 * WebKitTestRunner/TestController.cpp:
3125 (WTR::TestController::resetStateToConsistentValues):
3126 (WTR::TestController::run):
3128 2011-01-07 James Robinson <jamesr@chromium.org>
3130 Revert "Implement mozilla's animationTime property"
3131 https://bugs.webkit.org/show_bug.cgi?id=51952
3133 This approach isn't quite right.
3135 * DumpRenderTree/chromium/WebViewHost.cpp:
3136 (WebViewHost::paintInvalidatedRegion):
3138 2011-01-07 Adam Roben <aroben@apple.com>
3142 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3143 (RunWebKitTests.start): Don't try to concatenate a list and a string.
3145 2011-01-07 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
3147 Reviewed by Csaba Osztrogonác.
3149 run-qtwebkit-tests should be able to kill a testsuite.
3151 Add new option in the script that can setup a timeout for a test.
3152 If the test execution takes more then specified time then the test
3153 would be terminated.
3155 [Qt] run-qtwebkit-tests needs timeout
3156 https://bugs.webkit.org/show_bug.cgi?id=51894
3158 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3159 * Scripts/run-qtwebkit-tests:
3161 2011-01-07 Csaba Osztrogonác <ossy@webkit.org>
3163 Unreviewed fix after r75233.
3165 Based on idea from Eric Seidel.
3167 Add remote zip file handling to webkitpy.
3168 https://bugs.webkit.org/show_bug.cgi?id=50901
3170 * Scripts/webkitpy/common/system/fileset.py: Make python 2.5 happy.
3172 2011-01-07 Shane Stephens <shanestephens@google.com>
3174 Reviewed by Eric Seidel.
3176 svn-apply: should support git binary delta diffs
3177 https://bugs.webkit.org/show_bug.cgi?id=38864
3179 * Scripts/VCSUtils.pm:
3180 * Scripts/svn-apply:
3182 2011-01-06 Julie Parent <jparent@chromium.org>
3184 Reviewed by Eric Seidel.
3186 Test Result Server not removing old results.
3187 https://bugs.webkit.org/show_bug.cgi?id=52012
3189 * TestResultServer/model/jsonresults.py:
3190 Fix off-by-one: Truncate if >= num_runs, not just >.
3191 * TestResultServer/model/jsonresults_unittest.py:
3192 Add unit test to test that merging in a new result with the same value
3193 as the last result causes previous result to fall off.
3195 2011-01-06 James Kozianski <koz@chromium.org>
3197 Reviewed by Mihai Parparita.
3199 Add classes to provide a consistent interface to a set of files.
3200 https://bugs.webkit.org/show_bug.cgi?id=50901
3202 These classes allow us to write code that is agnostic to whether a
3203 particular set of files resides in a local directory or in a zip file
3204 on a remote machine.
3206 * Scripts/webkitpy/common/system/directoryfileset.py: Added.
3207 * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Added.
3208 * Scripts/webkitpy/common/system/fileset.py: Added.
3209 * Scripts/webkitpy/common/system/filesystem.py:
3210 * Scripts/webkitpy/common/system/filesystem_mock.py:
3211 * Scripts/webkitpy/common/system/zipfileset.py: Added.
3212 * Scripts/webkitpy/common/system/zipfileset_unittest.py: Added.
3214 2011-01-06 Eric Seidel <eric@webkit.org>
3216 Reviewed by Adam Barth.
3218 NetworkTransaction should log the url it is retrying
3219 https://bugs.webkit.org/show_bug.cgi?id=52043
3221 * Scripts/webkitpy/common/net/networktransaction.py:
3222 * Scripts/webkitpy/common/net/networktransaction_unittest.py:
3224 2011-01-06 Steve Falkenburg <sfalken@apple.com>
3227 Import os before using it.
3229 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3231 2011-01-06 Eric Seidel <eric@webkit.org>
3233 Reviewed by Adam Barth.
3235 StyleQueue fails to report errors when patches have many files
3236 https://bugs.webkit.org/show_bug.cgi?id=52042
3238 This is one of at least two errors preventing style error reporting at the moment.
3239 When we moved to passing the list of files to check explicitly,
3240 we started to exceed the 500 character TEXT field limit for our AppEngine model object.
3241 We could change the type of the QueueStatus.message type, or we could
3242 just teach statusserver.py how to clamp values (and warn when it does).
3243 I chose the latter path.
3245 * Scripts/webkitpy/common/net/statusserver.py:
3247 2011-01-06 Steve Falkenburg <sfalken@apple.com>
3249 Reviewed by Stephanie Lewis.
3251 Fix syntax error in script.
3253 Windows bots need to archive/unarchive builds to/from configuration-specific directories
3254 https://bugs.webkit.org/show_bug.cgi?id=51996
3256 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3258 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3260 Unreviewed, fixing WinCE build after r75196.
3262 WinCE port does not (yet) support NPAPI.
3264 * Scripts/build-webkit:
3266 2011-01-06 Xan Lopez <xlopez@igalia.com>
3268 Reviewed by Darin Adler.
3270 File::Spec->rel2abs in sunspider-compare-results mangles parameters
3271 https://bugs.webkit.org/show_bug.cgi?id=52015
3273 * Scripts/sunspider-compare-results: call rel2abs on our arguments
3274 after the platform has been detected, otherwise the script will
3275 mangle things like '--gtk' into '/a/path/--gtk', breaking the
3278 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3280 Reviewed by Eric Seidel.
3282 Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
3283 https://bugs.webkit.org/show_bug.cgi?id=51346
3285 * Scripts/build-webkit:
3287 2011-01-06 Steve Falkenburg <sfalken@apple.com>
3289 Reviewed by Adam Roben.
3291 Windows bots need to archive/unarchive builds to/from configuration-specific directories
3292 https://bugs.webkit.org/show_bug.cgi?id=51996
3294 After the configuration directory change, we were archiving the incorrect directory for
3295 build product, so we were running tests on the wrong binaries.
3297 This change archives the correct directory, and also unarchives it into a configuration-
3300 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
3301 * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.
3303 2011-01-06 Eric Seidel <eric@webkit.org>
3305 Reviewed by Mihai Parparita.
3307 commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
3308 https://bugs.webkit.org/show_bug.cgi?id=52002
3310 See an example of this here:
3311 https://bugs.webkit.org/show_bug.cgi?id=51314#c2
3313 It's due to the fact that we pass around TestFailure() instance
3314 objects and yet expect them to all compare to be the same.
3316 This is bad. We should either have shared instances of these values
3317 or we should just pass around the class names. There are already hacks
3318 in place to make TestFailure objects pass equality tests, I just added
3319 a __hash__ implementation so they can be used in sets as expected.
3321 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
3322 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
3324 2011-01-06 Evan Martin <evan@chromium.org>
3326 Reviewed by Tony Chang.
3328 [gdb] handle inaccessible memory and UChar*
3329 https://bugs.webkit.org/show_bug.cgi?id=52003
3331 To pretty-print a UChar*, we just grope around in the memory
3332 looking for a terminating NUL. We need to handle the exception
3333 that can occur when we poke into an invalid location.
3335 Additionally, the logic for choosing which pretty-printer would
3336 early return before hitting the point where we'd use the UChar*
3337 printer. (Did this ever work? How did it regress?)
3341 2011-01-05 Brian Weinstein <bweinstein@apple.com>
3343 Reviewed by Ada Chan.
3345 WebKit2: Should be able to call into injected bundle to ask if we should allow resource loads
3346 https://bugs.webkit.org/show_bug.cgi?id=51969
3348 Add shouldLoadResourceForFrame to WTR::InjectedBundlePage.
3350 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3351 (WTR::InjectedBundlePage::InjectedBundlePage):
3352 (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Stub implementation.
3353 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3355 2011-01-06 James Robinson <jamesr@chromium.org>
3357 Reviewed by Simon Fraser.
3359 Implement mozilla's animationTime property
3360 https://bugs.webkit.org/show_bug.cgi?id=51952
3362 Chromium DRT support for webkitAnimationTime.
3364 * DumpRenderTree/chromium/WebViewHost.cpp:
3365 (WebViewHost::paintInvalidatedRegion):
3367 2011-01-06 Julie Parent <jparent@chromium.org>
3369 Reviewed by Tony Chang.
3371 Test Result Server always truncates number of results to JSON_RESULTS_MAX_BUILDS
3372 https://bugs.webkit.org/show_bug.cgi?id=51217
3374 * TestResultServer/model/jsonresults.py:
3375 Pass num_runs through to _remove_items_over_max_number_of_builds, and use the value.
3376 Adds missing documentation.
3377 * TestResultServer/model/jsonresults_unittest.py:
3378 Add unit test to test that truncation happens at smaller value than JSON_RESULTS_MAX_BUILDS.
3379 Update test_merge to take a number of builds to truncate at.
3381 2011-01-06 Adam Barth <abarth@webkit.org>
3383 Reviewed by Eric Seidel.
3385 The EWS should log outside of the working directory
3386 https://bugs.webkit.org/show_bug.cgi?id=51986
3388 This patch prepare us for using git clean -x -d -f in the EWS wrapper
3389 script, which will actually clean the working copy back to a pristine
3390 state instead of leaving untracked directories and ignored files.
3392 * Scripts/webkitpy/tool/commands/queues.py:
3393 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3395 2011-01-05 Steve Falkenburg <sfalken@apple.com>
3398 Back out attempted change to built-product-archive.
3400 * BuildSlaveSupport/built-product-archive:
3402 2011-01-05 Steve Falkenburg <sfalken@apple.com>
3405 Include configuration name when unpacking a build archive.
3407 Needed, since we split Windows build results into configuration-specific directories
3408 under WebKitOutputDir.
3410 * BuildSlaveSupport/built-product-archive:
3412 2011-01-05 Steve Falkenburg <sfalken@apple.com>
3414 Reviewed by Darin Adler.
3416 Debug and Release builds on Windows clobber each other
3417 https://bugs.webkit.org/show_bug.cgi?id=49185
3419 Changes the structure of WebKitBuild build products directory so we
3420 completely separate each build configuration into independent directories.
3422 Although we previously had per-configuration directories for obj, this change adds
3423 per-configuration directories for bin, lib, obj, and include. Each configuration's
3424 build products are stored within a directory inside of WebKitBuild.
3426 Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
3427 defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
3429 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
3430 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd:
3431 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd:
3432 * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
3433 * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
3434 * DumpRenderTree/win/DumpRenderTreePreBuild.cmd:
3435 * DumpRenderTree/win/ImageDiffCommon.vsprops:
3436 * DumpRenderTree/win/ImageDiffPostBuild.cmd:
3437 * DumpRenderTree/win/ImageDiffPreBuild.cmd:
3438 * FindSafari/FindSafari.vcproj:
3439 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
3440 * MiniBrowser/MiniBrowserPostBuild.cmd:
3441 * MiniBrowser/MiniBrowserPreBuild.cmd:
3442 * Scripts/webkitdirs.pm:
3443 * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
3444 * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops:
3445 * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd:
3446 * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd:
3447 * TestWebKitAPI/win/copy-resources.cmd:
3448 * WebKitAPITest/WebKitAPITestCommon.vsprops:
3449 * WebKitAPITest/WebKitAPITestPostBuild.cmd:
3450 * WebKitAPITest/WebKitAPITestPreBuild.cmd:
3451 * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
3452 * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
3453 * WebKitTestRunner/win/InjectedBundle.vcproj:
3454 * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops:
3455 * WebKitTestRunner/win/InjectedBundlePostBuild.cmd:
3456 * WebKitTestRunner/win/InjectedBundlePreBuild.cmd:
3457 * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
3458 * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd:
3459 * WinLauncher/WinLauncherCommon.vsprops:
3460 * WinLauncher/WinLauncherPostBuild.cmd:
3461 * WinLauncher/WinLauncherPreBuild.cmd:
3463 2011-01-05 Jan Erik Hanssen <jhanssen@sencha.com>
3465 Reviewed by Ariya Hidayat.
3467 [Qt] TestNetscapePlugin doesn't link on OS X
3468 https://bugs.webkit.org/show_bug.cgi?id=51948
3470 Only add a dependency on libX11 on X11 systems
3472 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3474 2011-01-05 Jeff Miller <jeffm@apple.com>
3476 Reviewed by Adam Roben.
3478 check-webkit-style should allow unnecessary parameter names in WebKit2 APIs because we're matching CF's header style
3479 https://bugs.webkit.org/show_bug.cgi?id=51970
3481 * Scripts/webkitpy/style/checker.py:
3482 Add -readability/naming for WebKit2 C API directories.
3484 2011-01-05 Eric Seidel <eric@webkit.org>
3486 Unreviewed, just fixing one more log error from my previous python patch.
3488 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
3489 https://bugs.webkit.org/show_bug.cgi?id=51802
3491 webkit-patch failure-reason was logging about parsing errors
3492 due to my misunderstanding of how BeautifulSoup.findAll worked.
3494 Fixed, and added a unit test.
3496 * Scripts/webkitpy/common/net/layouttestresults.py:
3497 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
3499 2011-01-05 Benjamin Poulain <benjamin.poulain@nokia.com>
3501 Reviewed by Kenneth Rohde Christiansen.
3503 [Qt] [WK2] Add the possibility to open window from the WebProcess in Minibrowser
3504 https://bugs.webkit.org/show_bug.cgi?id=51951
3506 Set a function to QWKPage::setCreateNewPageFunction() in Minibrowser so there is a way
3507 to create new window from WebKit.
3509 * MiniBrowser/qt/BrowserWindow.cpp:
3511 (BrowserWindow::BrowserWindow):
3512 (BrowserWindow::page): Added to avoid the indirect access to QWKPage spread in the class
3513 (BrowserWindow::newWindow):
3514 (BrowserWindow::updateUserAgentList):
3515 (BrowserWindow::showUserAgentDialog):
3516 * MiniBrowser/qt/BrowserWindow.h: Add the global variable backingStoreTypeForNewWindow to
3517 define the type of the backing store used for new windows.
3518 * MiniBrowser/qt/main.cpp:
3521 2011-01-05 Eric Seidel <eric@webkit.org>
3523 Reviewed by Ojan Vafai.
3525 commit-queue should report failure type when reporting flaky tests
3526 https://bugs.webkit.org/show_bug.cgi?id=51900
3528 This patch was a ridiculous amount of plumbing. In the end I like
3529 the NRWT-style TestResult class even less. But now we're passing
3530 a list of TestResult objects from the queue to the FlakyTestReporter.
3531 Thus the FlakyTestReporter can more easily report what type of failure
3534 In the process, I found that I was not alone in finding TestResult
3535 cumbersome to use. A bunch of code was trying to create a TestResult
3536 object with default values. However since the constructor didn't make
3537 this easy, some places were getting it wrong (including the TestResult unit test)!
3538 I've fixed the TestResult constructor to have default values for non-essential
3541 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
3542 * Scripts/webkitpy/common/net/layouttestresults.py:
3543 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
3544 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3545 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
3546 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
3547 * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
3548 * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
3549 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
3550 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3551 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
3552 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3553 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
3554 * Scripts/webkitpy/tool/commands/queues.py:
3555 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3557 2011-01-05 Eric Seidel <eric@webkit.org>
3561 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
3562 https://bugs.webkit.org/show_bug.cgi?id=51802
3564 Add another unit test to cover a previously missing import.
3566 * Scripts/webkitpy/common/net/layouttestresults.py:
3567 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
3569 2011-01-05 Mihai Parparita <mihaip@chromium.org>
3571 Reviewed by David Levin.
3573 Add mihaip@chromium.org as a reviewer
3574 https://bugs.webkit.org/show_bug.cgi?id=51966
3576 Add myself as a reviewer.
3578 * Scripts/webkitpy/common/config/committers.py:
3580 2011-01-05 James Simonsen <simonjam@chromium.org>
3582 Unreviewed. Adding myself to the list of committers.
3584 * Scripts/webkitpy/common/config/committers.py:
3586 2011-01-05 Eric Seidel <eric@webkit.org>
3590 Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
3591 https://bugs.webkit.org/show_bug.cgi?id=51802
3593 Fix two exceptions seen on the bots after my original commit.
3595 * Scripts/webkitpy/common/net/layouttestresults.py:
3596 * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
3598 2011-01-05 Kundu Suchismita <suchi.kundu@nokia.com>
3600 Reviewed by Andreas Kling.
3602 [Qt]Add local storage settings to QtTestBrowser command line arguments
3603 https://bugs.webkit.org/show_bug.cgi?id=51750
3605 * QtTestBrowser/main.cpp:
3606 (LauncherApplication::handleUserOptions):
3607 Local storage settings can be enable form command line arguments for
3610 2011-01-05 Chris Fleizach <cfleizach@apple.com>
3612 Reviewed by Martin Robinson.
3614 GTK: AX: DRT needs to use correct root object method.
3615 https://bugs.webkit.org/show_bug.cgi?id=51911
3617 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3618 (AccessibilityController::rootElement):
3620 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
3622 Rubber-stamped by Csaba Osztrogonác.
3624 Based on idea from Péter Gál.
3626 * Scripts/webkitpy/tool/bot/sheriff.py: Remove unnecessary apostrophes around revision numbers.
3628 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
3630 Reviewed by Adam Barth.
3632 sheriff-bot should be able to do multi-revision rollouts
3633 https://bugs.webkit.org/show_bug.cgi?id=51176
3635 * Scripts/webkitpy/tool/bot/irc_command.py:
3636 * Scripts/webkitpy/tool/bot/sheriff.py:
3637 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
3639 2011-01-05 Eric Seidel <eric@webkit.org>
3641 Reviewed by Adam Barth.
3643 queues.webkit.org should have per-bot status pages
3644 https://bugs.webkit.org/show_bug.cgi?id=51906
3646 Just adds a /queue-status/QUEUE_NAME/bots/BOT_ID page to show
3647 statuses from a single queue. Now that we have many bots servicing
3648 some queues (commit-queue, win-ews, etc.) its easy to have the messages
3649 you care about scroll off the end of the 15-message limit on the main page.
3651 Eventually we should probably rename /queue-status to /queue or /queues,
3652 but that's fodder for another patch.
3654 * QueueStatusServer/handlers/queuestatus.py:
3655 * QueueStatusServer/index.yaml:
3656 * QueueStatusServer/main.py:
3657 * QueueStatusServer/templates/includes/singlequeuestatus.html:
3658 - This probably should use a custom filter instead of hard-coding
3659 the URL scheme here, but I couldn't figure out how to easily
3660 create such a filter. Most filters work with "strings" so we can't
3661 pass the status object. We could add a method to the status
3662 object and call that, but that seemed a bit strange too.
3663 * QueueStatusServer/templates/queuestatus.html:
3665 2011-01-05 Carlos Garcia Campos <cgarcia@igalia.com>
3667 Unreviewed. Adding myself to the list of committers.
3669 * Scripts/webkitpy/common/config/committers.py:
3671 2011-01-04 Koan-Sin Tan <koansin.tan@gmail.com>
3673 Reviewed by David Levin.
3675 check-webkit-style treated some macros with parentheses after #elif as function calls
3676 https://bugs.webkit.org/show_bug.cgi?id=51695
3678 Ingore function call space checking in any preprocessor directives
3679 (things starting with #). Change search() to match() because
3680 preprocessor directives are supposed to be in the beginning of lines.
3682 * Scripts/webkitpy/style/checkers/cpp.py:
3683 * Scripts/webkitpy/style/checkers/cpp_unittest.py: make sure there is no false positives for #elif cases
3685 2011-01-04 Søren Gjesse <sgjesse@chromium.org>
3687 Reviewed by Tony Chang.
3689 Change the --multi-load test option to --stress-opt
3690 https://bugs.webkit.org/show_bug.cgi?id=50751
3692 * DumpRenderTree/chromium/DumpRenderTree.cpp:
3695 * DumpRenderTree/chromium/TestShell.cpp:
3696 (TestShell::TestShell):
3697 * DumpRenderTree/chromium/TestShell.h:
3698 (TestShell::stressOpt):
3699 (TestShell::setStressOpt):
3700 (TestShell::stressDeopt):
3701 (TestShell::setStressDeopt):
3702 (TestShell::javaScriptFlags):
3703 (TestShell::setJavaScriptFlags):
3704 * Scripts/webkitpy/layout_tests/port/chromium.py:
3705 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3707 2011-01-04 Chris Fleizach <cfleizach@apple.com>
3709 Reviewed by Sam Weinig.
3711 WK2: Support Accessibility
3712 https://bugs.webkit.org/show_bug.cgi?id=51859
3714 Use rootObject() method to get top of accessibility tree.
3716 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3717 (AccessibilityController::focusedElement):
3718 (AccessibilityController::rootElement):
3720 2011-01-03 Martin Robinson <mrobinson@igalia.com>
3722 Reviewed by Darin Adler.
3724 Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
3725 https://bugs.webkit.org/show_bug.cgi?id=51846
3727 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Change usage of PlatformRefPtr
3730 2011-01-04 Zhe Su <suzhe@chromium.org>
3732 Reviewed by Kenneth Russell.
3734 Fix insertText, setMarkedText and unmarkText methods of
3735 TextInputController to call corresponding methods of WebKit::WebView
3736 rather than WebKit::WebFrame. This change matches the behavior of
3738 insertText corresponds to WebView::confirmComposition(text)
3739 setMarkedText corresponds to WebView::setComposition(...)
3740 unmarkText corresponds to WebView::confirmComposition()
3741 https://bugs.webkit.org/show_bug.cgi?id=51693
3743 * DumpRenderTree/chromium/TextInputController.cpp:
3744 (TextInputController::insertText):
3745 (TextInputController::setMarkedText):
3746 (TextInputController::unmarkText):
3748 2011-01-04 Dihan Wickremasuriya <dihan.wickremasuriya@nokia.com>
3750 Reviewed by Laszlo Gombos.
3752 [Qt] [Symbian] Do not remove 0 byte sized files from productDir
3754 On Symbian productDir points to the source directory. Removing all the
3755 empty files from the productDir directory corrupts the svn repository.
3757 * Scripts/build-webkit:
3759 2011-01-03 Yi Shen <yi.4.shen@nokia.com>
3761 Reviewed by Adam Barth.
3763 [Qt] Add SelectAll option to the context menu for the editor
3764 https://bugs.webkit.org/show_bug.cgi?id=50049
3766 Set shortcut for the SelectAll action.
3768 * QtTestBrowser/mainwindow.cpp:
3769 (MainWindow::buildUI):
3771 2011-01-03 David Levin <levin@chromium.org>
3773 Reviewed by Eric Seidel.
3775 check-webkit-style shouldn't consider "value" automatically to be a meaningless name.
3776 https://bugs.webkit.org/show_bug.cgi?id=51842
3778 * Scripts/webkitpy/style/checkers/cpp.py: Remove the check for value.
3779 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Remove the test for value.
3781 2011-01-03 Patrick Gansterer <paroga@webkit.org>
3783 Reviewed by David Kilzer.
3785 [WINCE] Adds a build slave.