1 2009-11-28 Adam Barth <abarth@webkit.org>
3 Reviewed by Eric Seidel.
5 [bzt] style-queue shouldn't reject patches from the commit-queue
6 https://bugs.webkit.org/show_bug.cgi?id=31944
8 Currently the style-queue subprocess gets confused and thinks its the
9 commit-queue. If the patch has an error, it rejects it from the
10 commit-queue. Instead, we should have style-queue specific logic.
11 This patch doesn't add that logic, but it gives us a callback we can
12 use to add that logic.
14 * Scripts/modules/buildsteps.py:
15 * Scripts/modules/commands/queues.py:
16 * Scripts/modules/landingsequence.py:
18 2009-11-27 Adam Barth <abarth@webkit.org>
20 Rubber stamped by Eric Seidel.
22 Rename CommitQueueStatus to QueueStatusServer to allow for more queues.
24 * CommitQueueStatus: Removed.
25 * CommitQueueStatus/app.yaml: Removed.
26 * CommitQueueStatus/filters: Removed.
27 * CommitQueueStatus/filters/__init__.py: Removed.
28 * CommitQueueStatus/filters/webkit_extras.py: Removed.
29 * CommitQueueStatus/index.html: Removed.
30 * CommitQueueStatus/index.yaml: Removed.
31 * CommitQueueStatus/queue_status.py: Removed.
32 * CommitQueueStatus/stylesheets: Removed.
33 * CommitQueueStatus/stylesheets/main.css: Removed.
34 * CommitQueueStatus/update_status.html: Removed.
35 * QueueStatusServer: Copied from WebKitTools/CommitQueueStatus.
37 2009-11-27 Adam Barth <abarth@webkit.org>
39 Reviewed by Eric Seidel.
41 style-queue should only process each patch once
42 https://bugs.webkit.org/show_bug.cgi?id=31939
44 Actually address reviewer comments!
46 * Scripts/bugzilla-tool:
48 2009-11-27 Adam Barth <abarth@webkit.org>
50 Reviewed by Eric Seidel.
52 [bzt] style-queue fails to apply a bunch of patches for no reason
53 https://bugs.webkit.org/show_bug.cgi?id=31942
55 By passing --non-interactive to check-style, we convince check-style
56 to pass --force to svn-apply, which lets it apply more patches.
58 * Scripts/modules/commands/queues.py:
60 2009-11-27 Adam Barth <abarth@webkit.org>
62 Reviewed by Eric Seidel.
64 [bzt] Support --status-host in style-queue
65 https://bugs.webkit.org/show_bug.cgi?id=31941
67 * Scripts/modules/commands/queues.py:
68 * Scripts/modules/statusbot.py:
70 2009-11-27 Adam Barth <abarth@webkit.org>
72 Reviewed by Eric Seidel.
74 style-queue should only process each patch once
75 https://bugs.webkit.org/show_bug.cgi?id=31939
77 Before processing a patch, the try-queues now ask the web service
78 whether they have already processed the patch. This is an initial cut
79 of this functionality. I expect we're make it richer over time.
81 * Scripts/bugzilla-tool:
82 * Scripts/modules/commands/queues.py:
83 * Scripts/modules/patchcollection.py:
85 2009-11-27 Adam Barth <abarth@webkit.org>
87 Reviewed by Eric Seidel.
89 PatchStatus does not return status
90 https://bugs.webkit.org/show_bug.cgi?id=31938
92 We need to parse attachment_id as an int. Otherwise, we can't find
93 anything in the datastore.
95 * CommitQueueStatus/queue_status.py:
97 2009-11-27 Adam Barth <abarth@webkit.org>
99 Reviewed by Eric Seidel.
101 Make commit-queue status not throw an exception where there is not
103 https://bugs.webkit.org/show_bug.cgi?id=31936
105 We need to actually fetch the results of the query to see what's in the
108 * CommitQueueStatus/queue_status.py:
110 2009-11-27 Adam Barth <abarth@webkit.org>
112 Reviewed by Eric Seidel.
114 [bzt] unit test ApplyPatches and ApplyAttachment
115 https://bugs.webkit.org/show_bug.cgi?id=31935
117 * Scripts/modules/commands/download.py:
118 * Scripts/modules/commands/download_unittest.py:
120 2009-11-27 Adam Barth <abarth@webkit.org>
122 Reviewed by Eric Seidel.
124 [bzt] Unit test download commands
125 https://bugs.webkit.org/show_bug.cgi?id=31923
127 Adds download_unittest and fixes a bug found while testing.
129 * Scripts/modules/commands/commandtest.py:
130 * Scripts/modules/commands/download.py:
131 Fixed a bug where we'd throw an error because [].append returns
133 * Scripts/modules/commands/download_unittest.py: Added.
134 * Scripts/modules/mock_bugzillatool.py:
135 * Scripts/run-webkit-unittests:
137 2009-11-27 Adam Barth <abarth@webkit.org>
139 Unreviewed "build" fix found while writing unit tests.
141 * Scripts/modules/commands/download.py:
143 2009-11-27 Adam Barth <abarth@webkit.org>
145 Reviewed by Eric Seidel.
147 [bzt] Kill WebKitLandingScripts
148 https://bugs.webkit.org/show_bug.cgi?id=31904
150 Step 6: Kill the rest.
152 * Scripts/modules/buildsteps.py:
153 * Scripts/modules/commands/download.py:
154 * Scripts/modules/commands/queries.py:
155 * Scripts/modules/commands/upload.py:
156 * Scripts/modules/landingsequence.py:
157 * Scripts/modules/scm.py:
158 * Scripts/modules/webkitlandingscripts.py: Removed.
160 2009-11-27 Adam Barth <abarth@webkit.org>
162 Reviewed by Eric Seidel.
164 [bzt] Unit test upload commands
165 https://bugs.webkit.org/show_bug.cgi?id=31903
167 Adds unit tests for all but two of the upload commands. The two
168 remaining ones are more difficult. I'll return to them later. The
169 goal of these tests is just to run the commands. We can test more
170 detailed behavior later.
172 * Scripts/modules/commands/commandtest.py:
173 * Scripts/modules/commands/upload.py:
174 * Scripts/modules/commands/upload_unittest.py:
175 * Scripts/modules/mock.py: Added.
176 * Scripts/modules/mock_bugzillatool.py:
178 2009-11-26 Adam Barth <abarth@webkit.org>
180 Reviewed by Eric Seidel.
182 [bzt] Kill WebKitLandingScripts
183 https://bugs.webkit.org/show_bug.cgi?id=31904
185 Step 5: Kill run_and_throw_if_fail.
187 * Scripts/modules/buildsteps.py:
188 * Scripts/modules/processutils.py: Added.
189 * Scripts/modules/webkitlandingscripts.py:
191 2009-11-26 Adam Barth <abarth@webkit.org>
193 Reviewed by Eric Seidel.
195 [bzt] Kill WebKitLandingScripts
196 https://bugs.webkit.org/show_bug.cgi?id=31904
198 Step 4: Kill run_webkit_script.
200 * Scripts/modules/buildsteps.py:
201 * Scripts/modules/commands/download.py:
202 * Scripts/modules/webkitlandingscripts.py:
204 2009-11-26 Adam Barth <abarth@webkit.org>
206 Reviewed by Eric Seidel.
208 [bzt] Kill WebKitLandingScripts
209 https://bugs.webkit.org/show_bug.cgi?id=31904
211 Step 3: Kill build_webkit.
213 * Scripts/modules/buildsteps.py:
214 * Scripts/modules/landingsequence.py:
215 * Scripts/modules/webkitlandingscripts.py:
217 2009-11-26 Adam Barth <abarth@webkit.org>
219 Reviewed by Eric Seidel.
221 [bzt] Kill WebKitLandingScripts
222 https://bugs.webkit.org/show_bug.cgi?id=31904
224 Step 2: Kill ensure_builders_are_green.
226 * Scripts/modules/buildsteps.py:
227 * Scripts/modules/commands/download.py:
228 * Scripts/modules/landingsequence.py:
229 * Scripts/modules/webkitlandingscripts.py:
231 2009-11-26 Adam Barth <abarth@webkit.org>
233 Reviewed by Eric Seidel.
235 [bzt] Kill WebKitLandingScripts
236 https://bugs.webkit.org/show_bug.cgi?id=31904
238 Step 1: Kill prepare_clean_working_directory and run_webkit_tests.
240 * Scripts/bugzilla-tool:
241 * Scripts/modules/buildsteps.py: Added.
242 * Scripts/modules/commands/download.py:
243 * Scripts/modules/landingsequence.py:
244 * Scripts/modules/webkitlandingscripts.py:
246 2009-11-26 Zoltan Horvath <zoltan@webkit.org>
248 Reviewed by Adam Barth.
250 Remove directory prefixes from linux commands
252 SCM unittests can cause errors on some systems if we use absolute reference to
253 the commands, so directory prefixes have been removed.
255 * Scripts/modules/scm_unittest.py:
257 2009-11-21 Holger Hans Peter Freyther <zecke@selfish.org>
259 Reviewed by Kenneth Rohde Christiansen.
261 Link DumpRenderTree to the Qt Ui Tools
262 https://bugs.webkit.org/show_bug.cgi?id=31203
264 Implement QWebPage::createPlugin using the Qt Ui Tools
265 to be able to create classes like QProgressBar from within
266 the <object></object> tags This is required for the
267 new automatic test of Qt Plugins.
269 * DumpRenderTree/qt/DumpRenderTree.cpp:
270 (WebCore::WebPage::createPlugin):
271 * DumpRenderTree/qt/DumpRenderTree.h:
272 * DumpRenderTree/qt/DumpRenderTree.pro:
274 2009-11-25 Yuzo Fujishima <yuzo@google.com>
276 Reviewed by Eric Seidel.
278 Update pywebsocket to 0.4.2
280 Update pywebsocket to 0.4.2
281 https://bugs.webkit.org/show_bug.cgi?id=31861
283 * pywebsocket/example/echo_client.py:
284 * pywebsocket/example/echo_wsh.py:
285 * pywebsocket/mod_pywebsocket/__init__.py:
286 * pywebsocket/mod_pywebsocket/dispatch.py:
287 * pywebsocket/mod_pywebsocket/msgutil.py:
288 * pywebsocket/mod_pywebsocket/standalone.py:
289 * pywebsocket/setup.py:
290 * pywebsocket/test/test_dispatch.py:
291 * pywebsocket/test/test_msgutil.py:
293 2009-11-25 Adam Barth <abarth@webkit.org>
295 Reviewed by Eric Seidel.
297 Add unit test for mark-fixed
298 https://bugs.webkit.org/show_bug.cgi?id=31896
300 * Scripts/modules/commands/commandtest.py: Added.
301 * Scripts/modules/commands/queries_unittest.py:
302 * Scripts/modules/commands/upload_unittest.py: Added.
303 * Scripts/modules/mock_bugzillatool.py:
304 * Scripts/run-webkit-unittests:
306 2009-11-25 Adam Barth <abarth@webkit.org>
308 Reviewed by Eric Seidel.
310 bugzilla-tool should have a mark-fixed command
311 https://bugs.webkit.org/show_bug.cgi?id=31853
315 * Scripts/modules/commands/upload.py:
317 2009-11-25 Eric Seidel <eric@webkit.org>
319 Reviewed by Adam Barth.
321 'bugzilla-tool help' should only show common commands like how 'git help' does
322 https://bugs.webkit.org/show_bug.cgi?id=31772
324 I also took this opportunity to make 'help' a real Command.
325 Making 'help' a real command required adding Command.tool (which we've wanted to do for a while).
327 * Scripts/bugzilla-tool:
328 - change should_show_command_help to should_show_in_main_help
329 * Scripts/modules/commands/download.py:
330 - Mark commands as being shown in main help or not.
331 - show_in_main_help = False is not required (default is false),
332 but it seemed to make the commands more self-documenting.
333 * Scripts/modules/commands/queries.py: ditto
334 * Scripts/modules/commands/queues.py: ditto
335 * Scripts/modules/commands/upload.py: ditto
336 * Scripts/modules/multicommandtool.py:
337 - Make Command hold a pointer to tool in self.tool. Most Command
338 subclasses do not take advantage of this yet, but it was required
339 for HelpCommand to be able to reach the tool from _help_epilog().
340 - Move MultiCommandTool._standalone_help_for_command to Command.standalone_help
341 - Move MultiCommandTool._help_epilog to Command._help_epilog
342 - Move "help" logic into HelpCommand.execute()
343 - Change should_show_command_help to should_show_in_main_help and add a default implementation.
344 * Scripts/modules/multicommandtool_unittest.py:
345 - Test hiding of Commands in --help, and that all commands are shown in 'help --all-commands'
347 2009-11-25 Brian Weinstein <bweinstein@apple.com>
349 Reviewed by Dan Bernstein.
353 The buildbots are failing on Windows because when they were upgraded
354 to 4.0.4, Apple Application Support was not in their path. Add it to
355 the path to fix the buildots.
357 * Scripts/webkitdirs.pm:
359 2009-11-25 Csaba Osztrogonác <ossy@webkit.org>
361 Reviewed by David Kilzer.
363 run-webkit-tests doesn't accept directories/files with --skipped=only parameter
364 https://bugs.webkit.org/show_bug.cgi?id=31799
366 * Scripts/run-webkit-tests: Fixed.
368 2009-11-25 Zoltan Horvath <zoltan@webkit.org>
370 Reviewed by Eric Seidel.
372 Change run_command to give back stderr by default
373 https://bugs.webkit.org/show_bug.cgi?id=31734
375 Change run_command to give back stderr by default.
376 Set run_commands's 'svn-create-patch' calling to put only the stdout into the patches.
377 Change the related unittest call.
379 * Scripts/modules/scm.py:
380 * Scripts/modules/scm_unittest.py:
382 2009-11-25 Eric Seidel <eric@webkit.org>
384 Reviewed by Adam Barth.
386 Centralize required argument parsing in Command
387 https://bugs.webkit.org/show_bug.cgi?id=31872
389 * Scripts/modules/commands/download.py: remove custom required arg message.
390 * Scripts/modules/commands/upload.py: ditto.
391 * Scripts/modules/multicommandtool.py:
392 - Add _parse_required_arguments.
393 - Pass program name off to OptionParser.
394 - Add name() for access to tool name.
395 - Add check_arguments_and_execute and make it return a return code.
396 - Replace a couple uses of + with %.
397 * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments
399 2009-11-25 Eric Seidel <eric@webkit.org>
401 Reviewed by Adam Barth.
403 Abstract out capturing stdout/stderr into a new OutputCapture class for re-use among the various unit tests.
404 https://bugs.webkit.org/show_bug.cgi?id=31870
406 * Scripts/modules/commands/queries_unittest.py: Use the new class.
407 * Scripts/modules/multicommandtool_unittest.py: Ditto.
408 * Scripts/modules/outputcapture.py: Added.
410 2009-11-24 Dmitry Titov <dimich@chromium.org>
412 Reviewed by Eric Seidel.
414 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
415 https://bugs.webkit.org/show_bug.cgi?id=31444
417 * Scripts/build-webkit:
419 2009-11-24 Chris Marrin <cmarrin@apple.com>
421 Reviewed by Simon Fraser.
423 Changes the way 3D_RENDERING and ACCELERATED_COMPOSITING related tests are excluded
424 https://bugs.webkit.org/show_bug.cgi?id=27314
426 Now the script allows the directories with these tests to be included on all
427 platforms but Mac, where they behave the same as always. For all other platforms
428 the tests need to be excluded using the Skipped files, which is currently done
429 for all platforms (including win since we're not turned on yet)
431 * Scripts/webkitdirs.pm:
433 2009-11-24 Eric Seidel <eric@webkit.org>
435 Reviewed by Adam Barth.
437 queries_unittest.py should test command output
438 https://bugs.webkit.org/show_bug.cgi?id=31845
440 * Scripts/modules/commands/queries_unittest.py:
441 - Capture stdout and stderr and compare with expected strings.
443 2009-11-24 Simon Fraser <simon.fraser@apple.com>
447 Fix spelling error ("depenedencies").
449 * Scripts/build-webkit:
451 2009-11-24 Mark Rowe <mrowe@apple.com>
453 Land the configuration that includes the two debug GTK Linux builders.
455 * BuildSlaveSupport/build.webkit.org-config/config.json:
457 2009-11-24 David Kilzer <ddkilzer@apple.com>
459 <http://webkit.org/b/31840> bisect-builds broke after r50080
461 Reviewed by Dan Bernstein.
463 * Scripts/bisect-builds:
464 (mountAndRunNightly): Switched back to using backticks to run
465 the hdiutil command since exec() will terminate the existing
466 script, which is not what we want. Store the output of
467 File::Spec->devnull() in a variable for use in the hdiutil
470 2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
472 Reviewed by Kenneth Rohde Christiansen.
474 Include "config.h" to meet Coding Style Guidelines
475 https://bugs.webkit.org/show_bug.cgi?id=31792
477 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
478 * DumpRenderTree/qt/jsobjects.cpp:
479 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
481 2009-11-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
483 Reviewed by Oliver Hunt.
485 Implement new required function to pass test we used to pass. This
486 change is required since r51294.
488 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
489 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
491 2009-11-23 Jakub Wieczorek <faw217@gmail.com>
493 Reviewed by Kenneth Rohde Christiansen.
495 [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
496 https://bugs.webkit.org/show_bug.cgi?id=31775
498 LayoutTestController::dumpBackForwardList() should work with local URLs
499 as well as with normal URLs (in http tests for instance).
500 Currently it does not output the latter properly.
502 Unskip a bunch of passing http/navigation tests.
504 * DumpRenderTree/qt/DumpRenderTree.cpp:
505 (WebCore::dumpHistoryItem):
507 2009-11-22 Chris Fleizach <cfleizach@apple.com>
509 Reviewed by Oliver Hunt.
511 ARIA: support aria-flowto
512 https://bugs.webkit.org/show_bug.cgi?id=31762
514 * DumpRenderTree/AccessibilityUIElement.cpp:
515 (ariaFlowToElementAtIndexCallback):
516 (AccessibilityUIElement::getJSClass):
517 * DumpRenderTree/AccessibilityUIElement.h:
518 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
519 (AccessibilityUIElement::ariaFlowToElementAtIndex):
520 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
521 (AccessibilityUIElement::ariaFlowToElementAtIndex):
522 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
523 (AccessibilityUIElement::ariaFlowToElementAtIndex):
525 2009-11-22 Antonio Gomes <tonikitoo@webkit.org>
527 Reviewed by Kenneth Christiansen.
529 [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen
530 https://bugs.webkit.org/show_bug.cgi?id=31638
532 Unfreeze WorkQueue after each test execution.
534 * DumpRenderTree/qt/DumpRenderTree.cpp:
535 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
537 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
539 Reviewed by Adam Barth.
541 [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
542 for localhost and 127.0.0.1.
543 https://bugs.webkit.org/show_bug.cgi?id=31783
545 Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
547 * DumpRenderTree/qt/DumpRenderTree.cpp:
548 (WebCore::NetworkAccessManager::NetworkAccessManager):
549 (WebCore::NetworkAccessManager::sslErrorsEncountered):
550 (WebCore::WebPage::WebPage):
551 * DumpRenderTree/qt/DumpRenderTree.h:
553 2009-11-22 Chris Evans <cevans@chromium.org>
555 Reviewed by Adam Barth.
557 Disable access to file:/// directory listings
558 https://bugs.webkit.org/show_bug.cgi?id=31329
560 Implemented setAllowUniversalAccessFromFileURLs to support testing of
563 * DumpRenderTree/LayoutTestController.cpp:
564 (setAllowUniversalAccessFromFileURLsCallback):
565 (LayoutTestController::staticFunctions):
566 * DumpRenderTree/LayoutTestController.h:
567 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
568 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
569 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
570 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
571 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
572 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
573 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
574 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
576 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
578 Reviewed by Kenneth Rohde Christiansen.
580 [Qt] Fix the timeout of fast/frames/frame-navigation.html
581 https://bugs.webkit.org/show_bug.cgi?id=31638
583 The test is timeouting, because it uses the WorkQueue to load a document in one
584 of the child frames and once the loading is finished, the DRT does not dump the
585 tree. This is because it waits for the QWebFrame::loadFinished() signal from
586 the main frame, while it should connect to QWebPage::loadFinished().
588 * DumpRenderTree/qt/DumpRenderTree.cpp:
589 (WebCore::DumpRenderTree::DumpRenderTree):
591 2009-11-21 Eric Seidel <eric@webkit.org>
593 Reviewed by Adam Barth.
595 bugzilla-tool --help spews way too much text
596 https://bugs.webkit.org/show_bug.cgi?id=31771
598 * Scripts/bugzilla-tool:
599 - Remove self.cached_scm initialization hack.
600 * Scripts/modules/buildbot.py:
601 - Make default_host accessible to callers.
602 * Scripts/modules/commands/download.py:
603 - Phrase help for all commands consistently and remove spurious help text punctuation.
604 * Scripts/modules/commands/queries.py: Ditto.
605 * Scripts/modules/commands/queues.py: Ditto.
606 * Scripts/modules/commands/upload.py: Ditto.
607 * Scripts/modules/multicommandtool.py:
608 - Add HelpPrintingOptionParser.format_epilog to replace
609 NonWrappingEpilogIndentedHelpFormatter and allow us to lazily initialize
610 per-command help (thus removing the need for the cached_scm hack in BugzillaTool).
611 - Make --help only show a list of commands like "svn help" and "git help" do --
612 previously --help was listing all commands and options.
613 - Sort list of commands alphabetically.
615 2009-11-21 Eric Seidel <eric@webkit.org>
617 No review. Fixing a typo from the previous patch for bug 31767.
619 AbstractQueue.run_bugzilla_tool throws an exception
620 https://bugs.webkit.org/show_bug.cgi?id=31769
622 * Scripts/modules/commands/queues.py:
624 2009-11-21 Eric Seidel <eric@webkit.org>
626 Reviewed by Adam Barth.
628 commit-queue fails to run with "permissions error" due to bad bugzilla-tool path
629 https://bugs.webkit.org/show_bug.cgi?id=31767
631 What we really want to test is BugzillaTool.path() instead of TrivialTool.path().
632 Since we don't have a good way to test BugzillaTool pieces, I've
633 left out a test for now.
635 * Scripts/bugzilla-tool:
636 - Add a path() implementation to expose bugzilla-tool's __file__ path to commit-queue.
637 * Scripts/modules/commands/queues.py:
638 - Use tool.path() instead of __file__.
639 * Scripts/modules/multicommandtool.py:
640 - Add a new path() method to MultiComandTool.
641 * Scripts/modules/multicommandtool_unittest.py:
642 - Provide a path() method. Little point in testing this mock implementation.
644 2009-11-21 Adam Barth <abarth@webkit.org>
646 Unreviewed "build" fix. Turns out I was testing the wrong copy of
649 * Scripts/modules/commands/download.py:
651 2009-11-21 Adam Barth <abarth@webkit.org>
653 Reviewed by Eric Seidel.
655 Convert check-style to use LandingSequence
656 https://bugs.webkit.org/show_bug.cgi?id=31763
658 Instead of manipulating the working copy by hand, we should use the
659 LandingSequence in CheckStyle. This will make this code eaiser to
662 * Scripts/modules/commands/download.py:
664 2009-11-20 Adam Barth <abarth@webkit.org>
666 Reviewed by Eric Seidel.
668 Unit test query commands
669 https://bugs.webkit.org/show_bug.cgi?id=31755
671 These tests are pretty rough, but hopefully they'll grow.
673 * Scripts/modules/commands/queries_unittest.py: Added.
674 * Scripts/modules/mock_bugzillatool.py: Added.
675 * Scripts/run-webkit-unittests:
677 2009-11-20 Eric Seidel <eric@webkit.org>
679 Reviewed by Adam Barth.
681 Fix a bunch of unit test regressions from our recent bugzilla-toll hacking
682 https://bugs.webkit.org/show_bug.cgi?id=31758
684 * Scripts/modules/multicommandtool.py:
685 - Allow passing of explicit commands to MultiCommandTool.__init__
686 * Scripts/modules/multicommandtool_unittest.py:
687 - Use new Command.name naming system.
688 - Test Command auto-discovery.
689 * Scripts/modules/workqueue.py:
690 - bug_id no longer exists, use patch['bug_id'] instead.
691 * Scripts/modules/workqueue_unittest.py:
692 - WorkQueues require names now.
693 - should_proceed_with_work_item must return a patch object.
695 2009-11-20 Chris Fleizach <cfleizach@apple.com>
697 Reviewed by Beth Dakin.
699 WAI-ARIA: add support for aria-owns
700 https://bugs.webkit.org/show_bug.cgi?id=31702
702 * DumpRenderTree/AccessibilityUIElement.cpp:
703 (ariaOwnsElementAtIndexCallback):
704 (AccessibilityUIElement::getJSClass):
705 * DumpRenderTree/AccessibilityUIElement.h:
706 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
707 (AccessibilityUIElement::ariaOwnsElementAtIndex):
708 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
709 (AccessibilityUIElement::ariaOwnsElementAtIndex):
710 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
711 (AccessibilityUIElement::ariaOwnsElementAtIndex):
713 2009-11-20 Eric Seidel <eric@webkit.org>
715 Reviewed by Adam Barth.
717 Fix exception thrown when running the commit-queue.
719 * Scripts/modules/statusbot.py: patch is optional.
720 * Scripts/modules/workqueue.py: WorkQUeue requires a name.
722 2009-11-20 Eric Seidel <eric@webkit.org>
724 Reviewed by Adam Barth.
726 Teach the StatusBot how to support more than just the commit-queue
727 https://bugs.webkit.org/show_bug.cgi?id=31754
729 * Scripts/modules/workqueue.py: Another typo.
731 2009-11-20 Eric Seidel <eric@webkit.org>
733 Reviewed by Adam Barth.
735 Teach the StatusBot how to support more than just the commit-queue
736 https://bugs.webkit.org/show_bug.cgi?id=31754
738 * Scripts/modules/commands/queues.py: Fix silly typo.
740 2009-11-20 Eric Seidel <eric@webkit.org>
742 Reviewed by Adam Barth.
744 Teach the StatusBot how to support more than just the commit-queue
745 https://bugs.webkit.org/show_bug.cgi?id=31754
747 * CommitQueueStatus/index.yaml:
748 - Add indices required for the new queries.
749 * CommitQueueStatus/queue_status.py:
750 - Add a patch-status page and move update_status to update-status.
751 - Only display "commit-queue" status records for the commit-queue.
752 - Add support for a queue_name property on status records.
753 - Fix _int_from_request to actually work.
754 * CommitQueueStatus/update_status.html:
755 - Add support for a queue_name on status records.
756 - Remove unused list of bug ids.
757 * Scripts/modules/commands/queues.py
758 - Make the queues pass the patch instead of the bug_id to StatusBot.
759 * Scripts/modules/statusbot.py:
760 - Support passing the queue_name to the status updates.
761 - Support fetching patch status with patch_status().
762 * Scripts/modules/workqueue.py:
763 - Pass the patch to the StatusBot instead of the bug_id.
764 - Let WorkQueues have a name.
766 2009-11-20 Adam Barth <abarth@webkit.org>
768 Reviewed by Eric Seidel.
770 Move bugzilla-tool commands into their own file
771 https://bugs.webkit.org/show_bug.cgi?id=31752
773 This will let us write unit tests.
775 * Scripts/bugzilla-tool:
776 * Scripts/modules/commands/__init__.py: Added.
777 * Scripts/modules/commands/download.py: Added.
778 * Scripts/modules/commands/queries.py: Added.
779 * Scripts/modules/commands/queues.py: Added.
780 * Scripts/modules/commands/upload.py: Added.
781 * Scripts/modules/grammar.py: Added.
783 2009-11-20 Adam Barth <abarth@webkit.org>
785 Reviewed by Eric Seidel.
787 BuildQueue should check if the tree is currently buildable
788 https://bugs.webkit.org/show_bug.cgi?id=31744
790 * Scripts/bugzilla-tool:
791 * Scripts/modules/landingsequence.py:
792 * Scripts/modules/webkitlandingscripts.py:
794 2009-11-20 Adam Barth <abarth@webkit.org>
796 Reviewed by Eric Seidel.
798 Move prepare_clean_working_directory into the LandingSequence
799 https://bugs.webkit.org/show_bug.cgi?id=31743
801 * Scripts/bugzilla-tool:
802 * Scripts/modules/landingsequence.py:
804 2009-11-20 Yael Aharon <yael.aharon@nokia.com>
806 Reviewed by Kenneth Rohde Christiansen.
808 NPN_ReloadPlugins does not reload the page even if reloadPages is true.
809 https://bugs.webkit.org/show_bug.cgi?id=30460
811 Added code for calling NPN_ReloadPlugins with reloadPages true and false.
813 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
816 2009-11-20 Adam Barth <abarth@webkit.org>
818 Reviewed by Eric Seidel.
820 Pass the port information to the child process
821 https://bugs.webkit.org/show_bug.cgi?id=31736
823 We need to do this so the child process knows what to build!
825 * Scripts/bugzilla-tool:
826 * Scripts/modules/landingsequence.py:
827 * Scripts/modules/webkitport.py:
828 * Scripts/modules/webkitport_unittest.py:
830 2009-11-20 Adam Barth <abarth@webkit.org>
832 Reviewed by Eric Seidel.
834 Support Qt port in build-queue
835 https://bugs.webkit.org/show_bug.cgi?id=31733
837 * Scripts/bugzilla-tool:
839 2009-11-20 Adam Barth <abarth@webkit.org>
841 Reviewed by Eric Seidel.
843 Implement a build-queue
844 https://bugs.webkit.org/show_bug.cgi?id=31725
846 Currently this just builds the first 10 patches in the review queue.
847 We'll want to do something smarter soon.
849 * Scripts/bugzilla-tool:
851 2009-11-20 Adam Barth <abarth@webkit.org>
853 Reviewed by Eric Seidel.
855 Make commit-queue and style-queue show up in help
856 https://bugs.webkit.org/show_bug.cgi?id=31724
858 We need to store their names on their class to make these commands
859 properly register themselves with MultiCommandTool.
861 * Scripts/bugzilla-tool:
863 2009-11-20 Adam Barth <abarth@webkit.org>
865 Reviewed by Eric Seidel.
867 Implement bugzilla-tool build-attachment
868 https://bugs.webkit.org/show_bug.cgi?id=31722
870 This command builds an attachment from bugzilla. It leaves the built
871 patch in the working copy.
873 * Scripts/bugzilla-tool:
874 * Scripts/modules/landingsequence.py:
875 * Scripts/modules/webkitlandingscripts.py:
877 2009-11-20 Alejandro G. Castro <alex@igalia.com>
879 Reviewed by Xan Lopez.
881 [GTK] DRT release event does not create the state correctly
882 https://bugs.webkit.org/show_bug.cgi?id=31717
884 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
886 2009-11-20 Eric Seidel <eric@webkit.org>
888 Reviewed by Adam Barth.
890 MultiCommandTool should find Command objects automatically instead of with a manual list
891 https://bugs.webkit.org/show_bug.cgi?id=31710
893 * Scripts/bugzilla-tool:
894 * Scripts/modules/multicommandtool.py:
895 - Use some wild python-fu to crawl all the known subclasses of Command.
897 2009-11-20 Adam Barth <abarth@webkit.org>
899 Unreviewed "build" fix. Added missing import.
901 * Scripts/bugzilla-tool:
903 2009-11-20 Adam Barth <abarth@webkit.org>
905 Unreviewed "build" fix. I failed to update LandingSequence.test
908 * Scripts/modules/landingsequence.py:
910 2009-11-20 Adam Barth <abarth@webkit.org>
912 Reviewed by Eric Seidel.
914 Create LandingSequence as the all-sing, all-dance landing class
915 https://bugs.webkit.org/show_bug.cgi?id=31709
917 Client can inherit from this class to carefully control exactly which
918 steps they wish to have happen in the landing sequence.
920 * Scripts/bugzilla-tool:
921 * Scripts/modules/landingsequence.py: Added.
922 * Scripts/modules/webkitlandingscripts.py: Added.
924 2009-11-19 Adam Barth <abarth@webkit.org>
926 Reviewed by Eric Seidel.
928 Abstract AbstractPatchProcessingCommand from AbstractPatchLandingCommand
929 https://bugs.webkit.org/show_bug.cgi?id=31707
931 This is to help when we implement build-attachment.
933 * Scripts/bugzilla-tool:
935 2009-11-19 Adam Barth <abarth@webkit.org>
937 Reviewed by Eric Seidel.
939 Support Qt port in bugzilla-tool
940 https://bugs.webkit.org/show_bug.cgi?id=31701
942 Now we support building with Qt!
944 * Scripts/bugzilla-tool:
945 * Scripts/modules/webkitport.py: Added.
946 * Scripts/modules/webkitport_unittest.py: Added.
947 * Scripts/run-webkit-unittests:
949 2009-11-19 Zoltan Horvath <zoltan@webkit.org>
951 Reviewed by Adam Barth.
953 Remove inserting stderr into patch in bugzilla-tool
954 https://bugs.webkit.org/show_bug.cgi?id=29914
956 Modify SCM python module's run_command function to avoid return of stderr
957 by default, so stderr won't be inserted into the patches.
958 Modify the related unit test.
960 * Scripts/modules/scm.py:
961 * Scripts/modules/scm_unittest.py:
963 2009-11-19 Eric Seidel <eric@webkit.org>
965 Reviewed by Adam Barth.
967 bugzilla-tool needs per-command help
968 https://bugs.webkit.org/show_bug.cgi?id=31697
970 Added support for "bugzilla-tool help command-name"
971 and a unit test to make sure it works.
973 * Scripts/modules/multicommandtool.py:
974 * Scripts/modules/multicommandtool_unittest.py:
976 2009-11-19 Eric Seidel <eric@webkit.org>
978 Reviewed by Adam Barth.
980 Move MultiCommandTool and Command into a separate file and add some basic unit tests
981 https://bugs.webkit.org/show_bug.cgi?id=31695
983 * Scripts/bugzilla-tool:
984 * Scripts/modules/multicommandtool.py: Added.
985 * Scripts/modules/multicommandtool_unittest.py: Added.
986 * Scripts/run-webkit-unittests:
988 2009-11-19 Eric Seidel <eric@webkit.org>
990 No review, just adding a FIXME.
992 Split out command parsing and help printing from BugzillaTool
993 https://bugs.webkit.org/show_bug.cgi?id=31688
995 * Scripts/bugzilla-tool: Add an extra comment about current design failures.
997 2009-11-19 Eric Seidel <eric@webkit.org>
999 Reviewed by Adam Barth.
1001 Split out command parsing and help printing from BugzillaTool
1002 https://bugs.webkit.org/show_bug.cgi?id=31688
1004 * Scripts/bugzilla-tool:
1005 - Add new MultiCommandTool class to contain option parsing and help printing logic.
1006 - Rename private methods to use _ pattern.
1007 - MultiCommandTool has two abstract methods should_show_command_help and should_execute_command.
1010 2009-11-19 Eric Seidel <eric@webkit.org>
1012 Reviewed by Adam Barth.
1014 Re-factor help printing to use modern python idioms
1015 https://bugs.webkit.org/show_bug.cgi?id=31685
1017 * Scripts/bugzilla-tool:
1019 2009-11-19 Eric Seidel <eric@webkit.org>
1021 Reviewed by Darin Adler.
1023 commit-queue empty queue logs twice
1024 https://bugs.webkit.org/show_bug.cgi?id=31679
1026 * Scripts/bugzilla-tool:
1028 2009-11-19 Eric Seidel <eric@webkit.org>
1030 Reviewed by Darin Adler.
1032 bugzilla-tool's reviewer/committer rejection message should be clearer
1033 https://bugs.webkit.org/show_bug.cgi?id=31126
1035 Add more explanatory prose to bugzilla-tool's flag permission rejection message.
1037 * Scripts/modules/bugzilla.py:
1039 2009-11-19 Eric Z. Ayers <zundel@google.com>
1041 Reviewed by Pavel Feldman.
1043 Forces a WM_PAINT event on calling layoutTestController.display()
1044 in order to enable the timeline-paint.html test on Windows.
1045 ::UpdateWindow() does not force an event becaue the window is
1048 https://bugs.webkit.org/show_bug.cgi?id=31402
1050 * DumpRenderTree/win/DumpRenderTree.cpp:
1053 2009-11-19 Michelangelo De Simone <michelangelo@webkit.org>
1057 Added myself to committers list.
1059 * Scripts/modules/committers.py:
1061 2009-11-19 Adam Barth <abarth@webkit.org>
1063 Reviewed by Eric Seidel.
1065 Bugzilla-tool command classes should match command names
1066 https://bugs.webkit.org/show_bug.cgi?id=31666
1068 I renamed all the commands except CommitMessageForCurrentDiff because
1069 the new name would conflict with an existing class.
1071 * Scripts/bugzilla-tool:
1073 2009-11-19 Pavel Feldman <pfeldman@chromium.org>
1075 Reviewed by Gustavo Noronha Silva.
1077 Web Inspector: Implement "show inspector" in WebKit GTK
1078 API and enable console tests.
1080 https://bugs.webkit.org/show_bug.cgi?id=31669
1082 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1083 (LayoutTestController::showWebInspector):
1085 2009-11-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
1087 Reviewed by Simon Hausmann.
1089 Minor refactoring + more documentation.
1091 * DumpRenderTree/qt/DumpRenderTree.cpp:
1092 (WebCore::clearHistory):
1093 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1095 2009-11-19 Fumitoshi Ukai <ukai@chromium.org>
1097 Reviewed by Eric Seidel.
1099 Ignore websocket tests when --no-http is specified.
1100 https://bugs.webkit.org/show_bug.cgi?id=31662
1102 * Scripts/run-webkit-tests:
1104 2009-11-18 Adam Barth <abarth@webkit.org>
1106 Reviewed by Eric Seidel.
1108 Normalize ' and " in bugzilla-tool
1109 https://bugs.webkit.org/show_bug.cgi?id=31655
1111 We decided " is better than ' and we should be consistent.
1113 * Scripts/bugzilla-tool:
1115 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1117 Reviewed by Kenneth Rohde Christiansen.
1119 [Qt] Remove support for Qt v4.3 or older versions
1120 https://bugs.webkit.org/show_bug.cgi?id=29469
1122 * DumpRenderTree/qt/DumpRenderTree.pro:
1123 * DumpRenderTree/qt/ImageDiff.pro:
1125 2009-11-18 Shinichiro Hamaji <hamaji@chromium.org>
1127 Reviewed by Eric Seidel.
1129 GitTest.test_create_binary_patch fails if /tmp is symlink
1130 https://bugs.webkit.org/show_bug.cgi?id=31536
1132 * Scripts/modules/scm_unittest.py:
1134 2009-11-18 Yaar Schnitman <yaar@chromium.org>
1136 Reviewed by Darin Adler.
1138 Configuration for Chromium Build Slaves.
1140 https://bugs.webkit.org/show_bug.cgi?id=31442
1142 * BuildSlaveSupport/build.webkit.org-config/config.json:
1143 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1145 2009-11-18 Eric Seidel <eric@webkit.org>
1147 Reviewed by Darin Adler.
1149 workqueue.py results in totally broken commit-queue UI
1150 https://bugs.webkit.org/show_bug.cgi?id=31645
1152 * Scripts/bugzilla-tool:
1153 - Remove unneeded use of PatchCollection.
1154 - Grab a new copy of the cq'd patches every run of the queue.
1156 2009-11-18 Sam Weinig <sam@webkit.org>
1158 Reviewed by Anders Carlsson.
1160 Make the Mac Geolocation API async.
1162 Update DRT to use the new async Mac Geolocation API.
1164 * DumpRenderTree/mac/UIDelegate.mm:
1165 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
1167 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1169 Reviewed by Kenneth Rohde Christiansen.
1171 Add and option to toggle HTML5 datalist support to build-webkit
1172 https://bugs.webkit.org/show_bug.cgi?id=31599
1174 * Scripts/build-webkit:
1176 2009-11-18 Kevin Watters <kevinwatters@gmail.com>
1178 Reviewed by Kevin Ollivier.
1180 Enable wx plugin support using the Windows implementation as a base.
1182 https://bugs.webkit.org/show_bug.cgi?id=31636
1184 * wx/build/settings.py:
1186 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1188 Reviewed by Simon Hausmann.
1190 Change the initialization order so that the controllers
1191 will be created before exporting them to the JS DOM window.
1193 * DumpRenderTree/qt/DumpRenderTree.cpp:
1194 (WebCore::DumpRenderTree::DumpRenderTree):
1196 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1198 Reviewed by Simon Hausmann.
1200 Fix a code copy and paste error. m_page should be page.
1202 * DumpRenderTree/qt/DumpRenderTree.cpp:
1203 (WebCore::DumpRenderTree::createWindow):
1205 2009-11-17 Mark Rowe <mrowe@apple.com>
1207 Reviewed by Alexey Proskuryakov.
1209 <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X
1211 * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file.
1212 This prevents symlinks from confusing the descendant check.
1214 2009-11-17 Mark Rowe <mrowe@apple.com>
1216 Reviewed by Alexey Proskuryakov.
1218 <http://webkit.org/b/31602> Failing to start the WebSocket server shouldn’t terminate entire test run
1220 If the WebSocket server fails to start have DRT load an error page in place of tests that require the
1221 server to be up rather than having run-webkit-tests abort immediately.
1223 * Scripts/run-webkit-tests:
1225 2009-11-17 Eric Seidel <eric@webkit.org>
1227 Reviewed by Darin Adler.
1229 commit-queue is failing to set reviewer in ChangeLogs
1230 https://bugs.webkit.org/show_bug.cgi?id=31592
1232 * Scripts/bugzilla-tool: Clarify the "applying" log message.
1233 * Scripts/modules/bugzilla.py:
1234 - Add a new _validate_committer_and_reviewer function as a
1235 temporary solution until we can make a real Attachment object
1236 which knows how to fill in its committer/reviewer fields automatically.
1238 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
1240 Unreviewed buildbot fix.
1242 Revert part of earlier patch and add comment, as it
1243 was causing timeouts on the buildbot.
1245 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1246 (LayoutTestController::notifyDone):
1248 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
1250 Reviewed by Oliver Hunt.
1252 Make the timeout 15 sec as for the other DRT's and make
1253 it print out the same output when a test timeout.
1255 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1256 (LayoutTestController::waitUntilDone):
1257 (LayoutTestController::notifyDone):
1258 (LayoutTestController::timerEvent):
1260 2009-11-17 Joseph Pecoraro <joepeck@webkit.org>
1262 Reviewed by Timothy Hatcher.
1264 Fixed typos in comments.
1266 * Scripts/modules/committers.py:
1268 2009-11-17 Pavel Feldman <pfeldman@chromium.org>
1270 Reviewed by Timothy Hatcher.
1272 Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
1273 - Updated DRT to show/close inspector for all tests under /inspector
1274 - Introduced LayoutTestController::setTimelineProfilingEnabled and
1275 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
1276 - Removed reload on each inspector test
1277 - Renamed fast/inspector to fast/inspector-support in order not to trigger
1278 inspector for those.
1279 - Reimplemented timeline tests in order to get rid of reload there.
1280 - Moved tests that don't require harness into the fast group.
1282 https://bugs.webkit.org/show_bug.cgi?id=31472
1284 * DumpRenderTree/LayoutTestController.cpp:
1285 (setTimelineProfilingEnabledCallback):
1286 (closeWebInspectorCallback):
1287 (LayoutTestController::staticFunctions):
1288 * DumpRenderTree/LayoutTestController.h:
1289 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1290 (shouldOpenWebInspector):
1292 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1293 (LayoutTestController::setTimelineProfilingEnabled):
1294 * DumpRenderTree/mac/DumpRenderTree.mm:
1295 (shouldOpenWebInspector):
1297 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1298 (LayoutTestController::setTimelineProfilingEnabled):
1299 * DumpRenderTree/win/DumpRenderTree.cpp:
1300 (shouldOpenWebInspector):
1302 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1303 (LayoutTestController::setTimelineProfilingEnabled):
1305 2009-11-17 Oliver Hunt <oliver@apple.com>
1307 Reviewed by Maciej Stachowiak.
1309 Incorrect use of JavaScriptCore API in DumpRenderTree
1310 https://bugs.webkit.org/show_bug.cgi?id=31577
1312 Return undefined rather than a literal null.
1314 * DumpRenderTree/AccessibilityUIElement.cpp:
1315 (setSelectedTextRangeCallback):
1316 (incrementCallback):
1317 (decrementCallback):
1320 2009-11-16 Chris Fleizach <cfleizach@apple.com>
1322 Reviewed by Beth Dakin.
1324 AX: aria-labelledby duplicates some of its WAI-ARIA label
1325 https://bugs.webkit.org/show_bug.cgi?id=31565
1327 * DumpRenderTree/AccessibilityUIElement.cpp:
1328 (titleUIElementCallback):
1329 (getIsValidCallback):
1330 (AccessibilityUIElement::getJSClass):
1332 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
1334 Reviewed by Simon Hausmann.
1336 r50942 broke output from created windows. Make the
1337 m_enableTextOutput a member of the DRT and not the
1340 * DumpRenderTree/qt/DumpRenderTree.cpp:
1341 (WebCore::WebPage::WebPage):
1342 (WebCore::WebPage::javaScriptAlert):
1343 (WebCore::WebPage::javaScriptConsoleMessage):
1344 (WebCore::WebPage::javaScriptConfirm):
1345 (WebCore::WebPage::javaScriptPrompt):
1346 (WebCore::WebPage::acceptNavigationRequest):
1347 (WebCore::DumpRenderTree::DumpRenderTree):
1348 (WebCore::DumpRenderTree::open):
1349 (WebCore::DumpRenderTree::createWindow):
1350 * DumpRenderTree/qt/DumpRenderTree.h:
1351 (WebCore::DumpRenderTree::setTextOutputEnabled):
1352 (WebCore::DumpRenderTree::isTextOutputEnabled):
1353 (WebCore::WebPage::shouldInterruptJavaScript):
1354 (WebCore::WebPage::isTextOutputEnabled):
1355 (WebCore::WebPage::setViewGeometry):
1357 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
1359 Reviewed by Gustavo Noronha Silva.
1361 Moved DumpRenderTree/gtk/TestNetscapePlugin to DumpRenderTree/unix/TestNetscapePlugin
1362 as the implementation is being used by at least Qt and Gtk+.
1364 Update buildsystems as well.
1366 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1367 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h:
1368 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h:
1369 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h:
1370 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
1373 2009-11-16 Yuzo Fujishima <yuzo@google.com>
1375 Reviewed by Alexey Proskuryakov.
1377 Disable wss until all platforms support pyOpenSSL
1379 https://bugs.webkit.org/show_bug.cgi?id=31479
1381 * Scripts/run-webkit-tests:
1383 2009-11-14 Antonio Gomes <tonikitoo@webkit.org>
1385 Reviewed by Kenneth Christiansen.
1387 [Qt] Implement load error pages support for Qt's DRT.
1388 https://bugs.webkit.org/show_bug.cgi?id=31509
1390 For now, it will not be a default feature, and layout tests
1391 that want to make use of this have to explicitily call
1392 'handleErrorPages();' for the test source.
1394 Any of the other DumpRenderTree's (mac, win and gtk)
1395 support handling error pages. Qt's will be the first.
1397 * DumpRenderTree/qt/DumpRenderTree.cpp:
1398 (WebCore::WebPage::supportsExtension):
1399 (WebCore::WebPage::extension):
1400 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1401 (LayoutTestController::reset):
1402 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1403 (LayoutTestController::shouldHandleErrorPages):
1404 (LayoutTestController::handleErrorPages):
1406 2009-11-16 Eric Seidel <eric@webkit.org>
1408 Reviewed by Adam Barth.
1410 Rename the --commit-queue flag on land-* now that the commit-queue needs no special treatment
1411 https://bugs.webkit.org/show_bug.cgi?id=31549
1413 Renamed --commit-queue to --non-interactive in most places
1414 and remove the code in land-patches which is no longer needed.
1416 * Scripts/bugzilla-tool:
1418 2009-11-16 Eric Seidel <eric@webkit.org>
1420 Reviewed by Adam Barth.
1422 The commit-queue should use land-attachment
1423 https://bugs.webkit.org/show_bug.cgi?id=31548
1425 * Scripts/bugzilla-tool:
1427 2009-11-16 Adam Barth <abarth@webkit.org>
1429 Reviewed by Eric Seidel.
1431 Convert CommitQueue over to PatchCollection
1432 https://bugs.webkit.org/show_bug.cgi?id=31547
1434 Also fixes a bug in workqueue and adds a test!
1436 * Scripts/bugzilla-tool:
1437 * Scripts/modules/workqueue.py:
1438 * Scripts/modules/workqueue_unittest.py:
1440 2009-11-16 Adam Barth <abarth@webkit.org>
1442 Reviewed by Eric Seidel.
1444 Move StyleQueue over to using PatchCollection
1445 https://bugs.webkit.org/show_bug.cgi?id=31544
1447 That's what the class it's for.
1449 * Scripts/bugzilla-tool:
1450 * Scripts/modules/patchcollection.py:
1451 * Scripts/modules/patchcollection_unittest.py:
1453 2009-11-16 Eric Seidel <eric@webkit.org>
1455 Reviewed by Adam Barth.
1457 bugzilla-tool needs a land-attachment command
1458 https://bugs.webkit.org/show_bug.cgi?id=31546
1460 * Scripts/bugzilla-tool:
1461 - Move all the logic into AbstractLandingCommand and
1462 add a new LandAttachment command subclass.
1463 - Split out _collect_patches_by_bug logging from _fetch_list_of_patches_to_land.
1465 2009-11-16 Eric Seidel <eric@webkit.org>
1467 Reviewed by Adam Barth.
1469 Move more patch-landing code into WebKitLandingScripts in preparation for land-attachment
1470 https://bugs.webkit.org/show_bug.cgi?id=31543
1472 Just moving code and updating the one caller to use WebKitLandingScripts instead of 'self'.
1474 * Scripts/bugzilla-tool:
1476 2009-11-16 Eric Seidel <eric@webkit.org>
1478 Reviewed by Adam Barth.
1480 Disable the style queue from posting to the commit queue status page.
1482 * Scripts/bugzilla-tool:
1484 2009-11-16 Adam Barth <abarth@webkit.org>
1486 Reviewed by Eric Seidel.
1488 Implement PatchCollection
1489 https://bugs.webkit.org/show_bug.cgi?id=31541
1491 This class holds a set of patches and lets clients iterate through
1492 them. Optionally, clients can install a filter.
1494 * Scripts/modules/patchcollection.py: Added.
1495 * Scripts/modules/patchcollection_unittest.py: Added.
1496 * Scripts/run-webkit-unittests:
1498 2009-11-16 Eric Seidel <eric@webkit.org>
1500 Reviewed by Adam Barth.
1502 bugzilla-tool land-patches will close bugs with patches r=?
1503 https://bugs.webkit.org/show_bug.cgi?id=28230
1505 The commit-queue shouldn't close patches with outstanding reviews on them,
1506 even if many reviewers seem to be against multi-patch bugs.
1508 * Scripts/bugzilla-tool:
1510 2009-11-16 Eric Seidel <eric@webkit.org>
1512 Reviewed by Adam Barth.
1514 bugzilla-tool check-style should work with attachment ids instead of bug ids
1515 https://bugs.webkit.org/show_bug.cgi?id=31540
1517 * Scripts/bugzilla-tool:
1519 2009-11-16 Eric Seidel <eric@webkit.org>
1521 Reviewed by Adam Barth.
1523 WorkQueue is the only place that should know about special exit codes
1524 https://bugs.webkit.org/show_bug.cgi?id=31534
1526 Move LandPatchesFromBugs.handled_error to WorkQueue.exit_after_handled_error
1527 and add tests for handling exit codes.
1528 I also cleaned up workqueue_unittest.py more.
1530 * Scripts/bugzilla-tool:
1531 * Scripts/modules/workqueue.py:
1532 * Scripts/modules/workqueue_unittest.py:
1534 2009-11-16 Eric Seidel <eric@webkit.org>
1536 Reviewed by Adam Barth.
1538 Re-factor workqueue_unittest to allow for more than one test.
1539 https://bugs.webkit.org/show_bug.cgi?id=31535
1541 * Scripts/modules/workqueue_unittest.py:
1543 2009-11-16 Eric Seidel <eric@webkit.org>
1545 Reviewed by Adam Barth.
1547 land-patches needs to be re-factored into smaller chunks
1548 https://bugs.webkit.org/show_bug.cgi?id=31532
1550 * Scripts/bugzilla-tool: fix a couple obvious typos.
1552 2009-11-16 Eric Seidel <eric@webkit.org>
1554 Reviewed by Adam Barth.
1556 land-patches needs to be re-factored into smaller chunks
1557 https://bugs.webkit.org/show_bug.cgi?id=31532
1559 The next patch will move these methods into WebKitLandingScripts.
1561 * Scripts/bugzilla-tool:
1562 - Split out _land_patch and _close_bug_if_no_active_patches.
1564 2009-11-16 Adam Barth <abarth@webkit.org>
1566 Reviewed by Eric Seidel.
1568 Fix silly copy-and-paste code. I am a terrible coder.
1570 * Scripts/modules/bugzilla.py:
1572 2009-11-16 Adam Barth <abarth@webkit.org>
1574 Reviewed by Eric Seidel.
1576 Implement a StyleQueue
1577 https://bugs.webkit.org/show_bug.cgi?id=31537
1579 The first iteration of the style queue only produces output locally.
1580 There is also a limit of 10 patches because it's not that useful to
1581 iterate through the entire review queue at this point. We can remove
1584 * Scripts/bugzilla-tool:
1585 * Scripts/modules/bugzilla.py:
1587 2009-11-16 Adam Barth <abarth@webkit.org>
1589 Reviewed by Eric Seidel.
1592 https://bugs.webkit.org/show_bug.cgi?id=31531
1594 Adds basic unit testing for WorkQueue. Just runs through one cycle.
1596 * Scripts/bugzilla-tool:
1597 * Scripts/modules/statusbot.py:
1598 * Scripts/modules/workqueue.py:
1599 * Scripts/modules/workqueue_unittest.py: Added.
1600 * Scripts/run-webkit-unittests:
1602 2009-11-16 Eric Seidel <eric@webkit.org>
1604 Reviewed by Adam Barth.
1606 bugzilla-tool land-diff should know how to parse bug ids out of ChangeLogs
1607 https://bugs.webkit.org/show_bug.cgi?id=31530
1609 * Scripts/bugzilla-tool:
1611 2009-11-16 Eric Seidel <eric@webkit.org>
1613 Reviewed by Adam Barth.
1615 bugzilla-tool needs apply-attachment
1616 https://bugs.webkit.org/show_bug.cgi?id=31528
1618 * Scripts/bugzilla-tool:
1619 - Add ApplyAttachment command.
1620 - Abstract applying code into WebKitApplyingScripts.
1621 - Rename setup_for_landing to prepare_clean_working_directory and make local_commit checking optional.
1622 * Scripts/modules/bugzilla.py:
1623 - Add fetch_attachment and bug_id_for_attachment_id.
1624 * Scripts/modules/bugzilla_unittest.py:
1625 - Add test for new parsing.
1626 - Fix previous parsing test which broke with Adam's check-style patch (bug 31515).
1628 2009-11-16 Eric Seidel <eric@webkit.org>
1630 Reviewed by Adam Barth.
1632 Document check-style's use of force_clean.
1634 * Scripts/bugzilla-tool:
1635 * Scripts/modules/scm.py:
1637 2009-11-16 Adam Barth <abarth@webkit.org>
1639 Reviewed by Eric Seidel.
1641 Move WorkQueue to its own file
1642 https://bugs.webkit.org/show_bug.cgi?id=31529
1644 WorkQueue and WorkQueueDelegate are separate concerns from
1645 bugzilla-tool. Also added a missing include to logging.py.
1647 * Scripts/bugzilla-tool:
1648 * Scripts/modules/logging.py:
1649 * Scripts/modules/workqueue.py:
1651 2009-11-16 Adam Barth <abarth@webkit.org>
1653 Reviewed by Eric Seidel.
1655 Move OutputTee to logging.py.
1657 * Scripts/bugzilla-tool:
1658 * Scripts/modules/logging.py:
1660 2009-11-15 Adam Barth <abarth@webkit.org>
1662 Reviewed by Eric Seidel.
1664 Refactor bugzilla-tool to allow for multiple queues
1665 https://bugs.webkit.org/show_bug.cgi?id=31513
1667 Divide the commit queue class into three class to make creating
1668 additional queues easier.
1670 * Scripts/bugzilla-tool:
1672 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
1674 Reviewed by Eric Seidel.
1676 svn-apply may not handle git patches created by bugzilla-tool
1677 https://bugs.webkit.org/show_bug.cgi?id=31457
1679 * Scripts/modules/scm.py:
1680 * Scripts/modules/scm_unittest.py:
1682 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
1684 Reviewed by Eric Seidel.
1686 bugzilla-tool should post git binary diff
1687 https://bugs.webkit.org/show_bug.cgi?id=31458
1689 Add --binary option to Git.create_patch.
1691 * Scripts/modules/scm.py:
1692 * Scripts/modules/scm_unittest.py:
1694 2009-11-15 Adam Barth <abarth@webkit.org>
1696 Reviewed by Darin Adler.
1698 Add bugzilla-tool check-style
1699 https://bugs.webkit.org/show_bug.cgi?id=31515
1701 * Scripts/bugzilla-tool:
1702 * Scripts/modules/bugzilla.py:
1704 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
1706 Reviewed by Simon Hausmann.
1708 Make the Qt Linux only --valgrind feature, suppress errors
1709 defined in the SuppressedValgrindErrors file.
1711 * Scripts/run-webkit-tests:
1713 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
1715 Reviewed by Simon Hausmann.
1717 Set the locale to C and not to the current one in use on the system.
1719 * DumpRenderTree/qt/DumpRenderTree.cpp:
1720 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1722 2009-11-13 Adam Roben <aroben@apple.com>
1725 http/tests/security/isolatedWorld/didClearWindowObject.html
1727 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
1728 window objects in isolated worlds are cleared
1730 Reviewed by Dave Hyatt.
1732 * DumpRenderTree/mac/DumpRenderTreeMac.h: Declared worldIDForWorld.
1734 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1735 (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
1736 Added. Moved code here from -webView:didClearWindowObject:forFrame:.
1737 (-[FrameLoadDelegate didClearWindowObjectForFrame:inIsolatedWorld:]):
1738 Added. Sets a __worldID property on the global object whose value is
1739 the ID of this world.
1740 (-[FrameLoadDelegate webView:didClearWindowObjectForFrame:inScriptWorld:]):
1741 Respond to this new delegate callback by calling through to one of the
1743 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1744 (worldMap): Added. Returns a HashMap containing all the worlds we've
1746 (worldIDForWorld): Added. Returns the ID for this world, or 0 if we
1747 haven't kept track of this world.
1748 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
1749 instead of declaring our own.
1751 * DumpRenderTree/win/DumpRenderTreeWin.h: Declared worldIDForWorld.
1753 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1754 (FrameLoadDelegate::didClearWindowObject): Moved code from hear to
1755 didClearWindowObjectForFrameInStandardWorld.
1756 (FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld):
1757 Respond to this new delegate callback by calling through to one of the
1759 (FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld):
1760 Added. Sets a __worldID property on the gobal object whose value is
1761 the ID of this world.
1762 (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld):
1763 Added. Moved code here from didClearWindowObject.
1765 * DumpRenderTree/win/FrameLoadDelegate.h: Added the
1766 didClearWindowObjectForFrame* functions.
1768 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1769 (worldMap): Added. Returns a HashMap containing all the worlds we've
1771 (worldIDForWorld): Added. Returns the ID of this world, or 0 if we
1772 haven't kept track of this world.
1773 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
1774 instead of declaring our own.
1776 2009-11-13 Adam Roben <aroben@apple.com>
1778 Finish replacing worldIDs with world objects
1780 The only remaining use of worldIDs was in a method only used by DRT
1781 for the isolated worlds tests.
1783 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects
1785 Reviewed by Mark Rowe.
1787 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1788 (LayoutTestController::evaluateScriptInIsolatedWorld):
1789 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1790 (LayoutTestController::evaluateScriptInIsolatedWorld):
1791 Updated for changes to WebFrame. Now holds the map of worldID -> world
1792 at this level instead of making WebKit do it.
1794 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1796 Reviewed by Simon Hausmann.
1798 [Qt] Ensure the DRT does not output anything until first test is run
1800 * DumpRenderTree/qt/DumpRenderTree.cpp:
1801 * DumpRenderTree/qt/DumpRenderTree.h:
1803 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
1805 Reviewed by Tor Arne Vestbø.
1807 Clear the undo stack in before each new test run.
1809 Locally fixes 3 incorrect layouts, 9 timeouts and 7 crashes.
1811 * DumpRenderTree/qt/DumpRenderTree.cpp:
1812 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1814 2009-11-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
1816 Reviewed by Kenneth Rohde Christiansen.
1818 [Qt] Add WebKitUsesPageCachePreferenceKey overriding support to DRT's LayoutTestController.
1820 * DumpRenderTree/qt/DumpRenderTree.cpp:
1821 (WebCore::WebPage::resetSettings):
1822 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1823 (LayoutTestController::overridePreference):
1825 2009-11-13 Eric Seidel <eric@webkit.org>
1827 Reviewed by Adam Barth.
1829 Update committers.py based on svn records
1830 https://bugs.webkit.org/show_bug.cgi?id=31366
1832 This list was generated using validate-committer-lists from
1833 https://bugs.webkit.org/show_bug.cgi?id=30970
1834 and makes committers.py current for committers who have
1835 committed in the last 3 years.
1837 * Scripts/modules/committers.py:
1839 2009-11-12 Anantanarayanan G Iyengar <ananta@chromium.org>
1841 Reviewed by Adam Barth.
1843 The document-open.html test was flaky at times. The test invokes the layout test plugin
1844 which in its destroy stream handler opens a new document. This basically tears down the
1845 stream and the associated plugin instance. The pluginLog function in the layout test
1846 plugin attempts to retrieve the window script object on a torn down plugin instance
1847 which crashed consistently on windows in the debugger. The functions which issue
1848 these logs already have a valid window script object. We now have variants of the pluginLog
1849 function which take in a window script object with and without variable arguments.
1851 https://bugs.webkit.org/show_bug.cgi?id=31067
1853 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1854 (pluginLogWithWindowObject):
1855 (pluginLogWithWindowObjectVariableArgs):
1857 (notifyTestCompletion):
1861 2009-11-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
1863 Reviewed by Gustavo Noronha Silva.
1865 https://bugs.webkit.org/show_bug.cgi?id=30997
1866 [Gtk] Implemment AtkDocument
1868 Added testing support.
1870 * DumpRenderTree/AccessibilityUIElement.cpp:
1871 * DumpRenderTree/AccessibilityUIElement.h:
1872 (getDocumentEncodingCallback):
1873 (getDocumentURICallback):
1874 (AccessibilityUIElement::getJSClass):
1875 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1876 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1877 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1878 (AccessibilityUIElement::documentEncoding):
1879 (AccessibilityUIElement::documentURI):
1881 2009-11-12 Adam Roben <aroben@apple.com>
1883 Replace worldIDs with world objects
1885 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
1886 user scripts/stylesheets and isolated worlds
1888 Reviewed by Sam Weinig.
1890 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1891 (LayoutTestController::addUserScript):
1892 (LayoutTestController::addUserStyleSheet):
1893 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1894 (LayoutTestController::addUserScript):
1895 (LayoutTestController::addUserStyleSheet):
1896 Changed these functions to create a new WebJSWorld each time they're
1897 called and to pass that world to WebKit.
1899 2009-11-11 Chris Fleizach <cfleizach@apple.com>
1901 Reviewed by Oliver Hunt.
1903 need to implement aria tree roles
1904 https://bugs.webkit.org/show_bug.cgi?id=31284
1906 * DumpRenderTree/AccessibilityUIElement.cpp:
1907 (disclosedRowAtIndexCallback):
1908 (selectedRowAtIndexCallback):
1910 (isAttributeSettableCallback):
1911 (isActionSupportedCallback):
1912 (disclosedByRowCallback):
1913 (hierarchicalLevelCallback):
1914 (AccessibilityUIElement::getJSClass):
1915 * DumpRenderTree/AccessibilityUIElement.h:
1916 (AccessibilityUIElement::isEqual):
1917 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1918 (AccessibilityUIElement::hierarchicalLevel):
1919 (AccessibilityUIElement::disclosedRowAtIndex):
1920 (AccessibilityUIElement::selectedRowAtIndex):
1921 (AccessibilityUIElement::disclosedByRow):
1922 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1923 (AccessibilityUIElement::getChildAtIndex):
1924 (AccessibilityUIElement::disclosedRowAtIndex):
1925 (AccessibilityUIElement::selectedRowAtIndex):
1926 (AccessibilityUIElement::titleUIElement):
1927 (AccessibilityUIElement::parentElement):
1928 (AccessibilityUIElement::disclosedByRow):
1929 (AccessibilityUIElement::hierarchicalLevel):
1930 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1931 (AccessibilityUIElement::hierarchicalLevel):
1932 (AccessibilityUIElement::disclosedRowAtIndex):
1933 (AccessibilityUIElement::selectedRowAtIndex):
1934 (AccessibilityUIElement::disclosedByRow):
1936 2009-11-11 Shinichiro Hamaji <hamaji@chromium.org>
1938 Reviewed by Darin Adler.
1940 svn-apply can not handle git binary diffs
1941 https://bugs.webkit.org/show_bug.cgi?id=26830
1943 Support "literal" type git binary diffs.
1945 * Scripts/VCSUtils.pm:
1946 * Scripts/modules/scm_unittest.py:
1947 * Scripts/svn-apply:
1949 2009-11-11 Dmitry Titov <dimich@chromium.org>
1951 Not reviewed, removing duplicate entry for myself in committers.py.
1953 * Scripts/modules/committers.py:
1955 2009-11-11 Alexey Proskuryakov <ap@apple.com>
1957 Reviewed by Darin Adler and Mark Rowe.
1959 https://bugs.webkit.org/show_bug.cgi?id=31200
1960 Tests in http/tests/security/mixedContent start to fail when new tests are added
1962 * DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): Added a workaround for Tiger bug.
1964 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1966 Reviewed by Jan Alonzo.
1968 Create, and display a window for the inspector, for inspector
1971 Need to also show/hide the inspector window to avoid having
1972 problems with code assuming it is realized
1973 https://bugs.webkit.org/show_bug.cgi?id=31347
1975 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1976 (webInspectorShowWindow):
1977 (webInspectorCloseWindow):
1978 (webInspectorInspectWebView):
1981 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
1983 Unreviewed Qt buildbot fix.
1985 My previous fix was wrong, so revert that change and fix it by
1986 returning when the document of the frame has no document element.
1987 Idea is borrowed from mac and win DRT.
1989 * DumpRenderTree/qt/DumpRenderTree.cpp:
1990 (WebCore::DumpRenderTree::dumpFramesAsText):
1992 2009-11-11 Eric Seidel <eric@webkit.org>
1994 Reviewed byg Kenneth Rohde Christiansen.
1996 Update Kenneth's committer record to include the email he
1997 uses on lists.webkit.org.
1999 * Scripts/modules/committers.py:
2001 2009-11-11 Eric Seidel <eric@webkit.org>
2003 Reviewed by Gustavo Noronha Silva.
2005 Several committers use separate email addresses for bugzilla and svn.webkit.org
2006 https://bugs.webkit.org/show_bug.cgi?id=31364
2008 Update records for existing committers to include email addresses
2009 used in svn.webkit.org and lists.webkit.org.
2010 Most committers use the same email address in all 3 places, but some use
2011 separate addresses. committers.py needs record of each of these addresses.
2013 * Scripts/modules/committers.py:
2015 2009-11-11 Eric Seidel <eric@webkit.org>
2017 No review, adding second email address for an existing committer.
2019 Add Yong Li's second bugzilla account to his committer record.
2020 See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27
2022 * Scripts/modules/committers.py:
2024 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2026 Reviewed by Simon Hausmann.
2028 If the frame has no innerText don't append it, and
2029 do not add a newline which breaks some cross platform
2032 * DumpRenderTree/qt/DumpRenderTree.cpp:
2033 (WebCore::DumpRenderTree::dumpFramesAsText):
2035 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2037 Reviewed by Simon Hausmann.
2039 Implement missing functionality in the Gtk/Qt TestNetscapePlugin.
2041 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2042 (webkit_test_plugin_new_instance):
2043 (webkit_test_plugin_destroy_instance):
2044 (webkit_test_plugin_destroy_stream):
2046 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2048 Reviewed by Mark Rowe.
2050 Implement the functionality needed by plugins/window-open.html
2052 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2053 (webkit_test_plugin_new_instance):
2054 (webkit_test_plugin_set_window):
2056 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2058 Reviewed by Simon Hausmann.
2060 [Qt] Force -graphicssystem raster and -style windows when running DRT
2062 * DumpRenderTree/qt/main.cpp:
2063 * Scripts/run-webkit-tests:
2065 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2067 Reviewed by Simon Hausmann.
2069 Compute correct library paths for Qt
2071 * Scripts/webkitdirs.pm:
2073 2009-11-10 Mark Rowe <mrowe@apple.com>
2075 Reviewed by Sam Weinig.
2077 <http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added
2079 The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
2080 about the validity of the self-signed certificates used in the regression tests. We would then add the
2081 host to the ignore list for SSL certificate errors and retry the request. If this happened during a test
2082 that had enabled frame load delegate logging this would result in extra log messages being generated,
2083 causing the test to fail.
2085 We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
2088 * DumpRenderTree/mac/DumpRenderTree.mm:
2090 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2091 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2093 2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2095 Reviewed by Kenneth Rohde Christiansen.
2097 [Qt] Remove obsolete scrollbar policy settings from DRT constructor.
2099 * DumpRenderTree/qt/DumpRenderTree.cpp:
2100 (WebCore::DumpRenderTree::DumpRenderTree):
2102 2009-11-10 Philippe Normand <pnormand@igalia.com>
2104 Reviewed by Jan Alonzo.
2106 [GTK] Remove WebSocket configuration from WebKitWebSettings
2107 https://bugs.webkit.org/show_bug.cgi?id=31244
2109 Follow-up of r50724. Don't set the enable-web-socket property
2112 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2113 (resetDefaultsToConsistentValues):
2115 2009-11-10 Oliver Hunt <oliver@apple.com>
2117 Reviewed by Maciej Stachowiak.
2119 Rename 3D Canvas related classes to use WebGL prefix
2120 https://bugs.webkit.org/show_bug.cgi?id=29095
2122 Checkin new version of do-webcore-rename used to do the WebGL type rename,
2123 and upate webkitdirs script to new method of testing for WebGL.
2125 * Scripts/do-webcore-rename:
2126 * Scripts/webkitdirs.pm:
2128 2009-11-09 Oliver Hunt <oliver@apple.com>
2130 Reviewed by Geoff Garen.
2132 Make do-webcore-rename work with git.
2134 * Scripts/do-webcore-rename:
2136 2009-11-09 Simon Hausmann <simon.hausmann@nokia.com>
2138 Adding Kenneth to the reviewers list.
2140 * Scripts/modules/committers.py:
2142 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
2144 Reviewed by Jan Alonzo.
2146 [GTK] Expose Page::tabKeyCyclesThroughElements in the API
2147 https://bugs.webkit.org/show_bug.cgi?id=30482
2149 LayoutTestControllerGtk now uses the exposed
2150 Page::tabKeyCyclesThroughElements API
2152 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2153 (LayoutTestController::setTabKeyCyclesThroughElements):
2155 2009-11-08 Shu Chang <Chang.Shu@nokia.com>
2157 Reviewed by Holger Freyther.
2159 [Qt] Added support for key code 8 (backspace) in EventSenderQt.
2160 This helps to pass the test case below. Also replaced hardcoded
2161 code numbers with defined constants.
2162 https://bugs.webkit.org/show_bug.cgi?id=31185
2164 Test: editing/undo/undo-deleteWord.html
2166 * DumpRenderTree/qt/EventSenderQt.cpp:
2167 (EventSender::keyDown):
2169 2009-11-07 Antonio Gomes <tonikitoo@webkit.org>
2171 Reviewed by Holger Freyther.
2173 [Qt] [DRT] Fix wrong logic in LayoutTestController processWork
2174 https://bugs.webkit.org/show_bug.cgi?id=31164
2176 Fixed wrong logic to assume WorkQueue is done in QT's DRT.
2178 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2179 (LayoutTestController::processWork):
2181 2009-11-05 Antonio Gomes <tonikitoo@webkit.org>
2183 Reviewed by Holger Freyther.
2185 [Qt][DRT] Replace queueScript by queueNonLoadingScript and queueLoadingScript method
2186 https://bugs.webkit.org/show_bug.cgi?id=31158
2188 By invoking a script queue'd by queueScript(), 'true' was beeing returned
2189 always, which from WorkQueue prospective means that a load has been started
2190 and the queue processing should stop and wait for the load to finish.
2191 Spinning it off into a loading and a non-loading variants was the solution
2192 adopted by Mac's DRT to work around this problem. The former keeps returning
2193 'true' while the later executes the script synchronously and returns 'false'
2194 making it possible to the WorkQueue to proceed right away.
2196 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2197 (LayoutTestController::processWork):
2198 (LayoutTestController::queueLoadingScript):
2199 (LayoutTestController::queueNonLoadingScript):
2200 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2201 * DumpRenderTree/qt/WorkQueueItem.h:
2202 (LoadingScriptItem::LoadingScriptItem):
2203 (LoadingScriptItem::invoke):
2204 (NonLoadingScriptItem::NonLoadingScriptItem):
2205 (NonLoadingScriptItem::invoke):
2207 2009-11-07 Mark Rowe <mrowe@apple.com>
2209 Rubber-stamped by Cameron Zwarich.
2211 Invoke prepare-ChangeLog via an absolute path rather than assuming it can be found in PATH.
2213 * Scripts/commit-log-editor:
2215 2009-11-07 Mark Rowe <mrowe@apple.com>
2217 Reviewed by Darin Adler.
2219 Fix <https://bugs.webkit.org/show_bug.cgi?id=28168>.
2220 commit-log-editor does not support all the email address configurations that prepare-Changelog supports
2222 Move logic for determining the name and email address to use in a ChangeLog entry from
2223 prepare-ChangeLog to VCSUtils so that commit-log-editor can use it. It wants to check
2224 whether the author of the patch matches committer, and therefore needs access to the
2225 email address that would be used in a ChangeLog entry.
2227 Based on a patch by Pierre d'Herbemont.
2229 * Scripts/VCSUtils.pm:
2230 * Scripts/commit-log-editor:
2231 * Scripts/prepare-ChangeLog:
2232 * Scripts/webkitdirs.pm:
2234 2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
2236 Reviewed by Adam Barth.
2238 Added functionality to the layout test plugin to invoke document.open and
2239 window.open with default arguments. The associated webkit bug is
2240 https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
2241 window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
2242 work in Chromium (V8) if there is no calling javascript context. To achieve this
2243 effect we invoke these functions in the layout test plugin in the NPP_SetWindow
2244 for the window.open test case and in NPP_DestroyStream for the document.open test case.
2246 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2250 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2251 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2254 (NPP_DestroyStream):
2255 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
2259 (NPP_DestroyStream):
2261 2009-11-06 Eric Seidel <eric@webkit.org>
2263 Reviewed by Adam Barth.
2265 bugzilla-tool crashed with exception
2266 https://bugs.webkit.org/show_bug.cgi?id=31092
2268 * Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
2270 2009-11-04 Eric Seidel <eric@webkit.org>
2272 No review, just add a line which got left out of the patch uploaded for commit.
2274 commit-queue is crashing when trying to reject patches after unknown failures
2275 https://bugs.webkit.org/show_bug.cgi?id=31091
2277 * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
2279 2009-11-04 Adam Roben <aroben@apple.com>
2281 Remove bogus else clause in bugzilla-tool
2283 Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
2284 create-bug raises exception after entering bug description
2286 Reviewed by David Kilzer.
2288 * Scripts/bugzilla-tool:
2289 (CreateBug): else clauses are only hit if no exception is raised, so
2290 it makes no sense to try to re-raise the exception in an else clause.
2291 The exception will automatically be re-raised if it doesn't match any
2292 of the except clauses, so we don't have to do anything special here at
2293 all to get the desired behavior.
2295 2009-11-04 Eric Seidel <eric@webkit.org>
2297 Reviewed by David Kilzer.
2299 svn-apply's fixChangeLogPatch function seems broken
2300 https://bugs.webkit.org/show_bug.cgi?id=30683
2302 Update fixChangeLogPatch to be able to handle patches which
2303 don't start at line 1.
2304 Add unit tests for svn-apply to scm_unittest.py.
2306 * Scripts/VCSUtils.pm:
2307 * Scripts/modules/scm_unittest.py:
2309 2009-11-04 Chris Fleizach <cfleizach@apple.com>
2311 Reviewed by Beth Dakin.
2313 Need to implement ARIA role="combobox"
2314 https://bugs.webkit.org/show_bug.cgi?id=31096
2316 * DumpRenderTree/AccessibilityUIElement.cpp:
2318 (getIsExpandedCallback):
2319 (AccessibilityUIElement::getJSClass):
2320 * DumpRenderTree/AccessibilityUIElement.h:
2321 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2322 (AccessibilityUIElement::isExpanded):
2323 (AccessibilityUIElement::showMenu):
2324 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2325 (AccessibilityUIElement::isExpanded):
2326 (AccessibilityUIElement::showMenu):
2327 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2328 (AccessibilityUIElement::isSelected):
2329 (AccessibilityUIElement::isExpanded):
2330 (AccessibilityUIElement::showMenu):
2332 2009-11-04 Eric Seidel <eric@webkit.org>
2334 Reviewed by Adam Barth.
2336 commit-queue is crashing when trying to reject patches after unknown failures
2337 https://bugs.webkit.org/show_bug.cgi?id=31091
2339 * Scripts/bugzilla-tool:
2340 - patch['id'] was a copy/paste mistake. This code has no 'patch' variable
2341 so we have to find out what the current patch is by asking bugzilla again.
2342 - Discovered that this code was also leaking file descriptors, so fixed that.
2344 2009-11-04 Adam Roben <aroben@apple.com>
2346 Make run-webkit-tests work for the Debug_Internal Windows
2349 In Debug_Internal, DumpRenderTree.exe and ImageDiff.exe have no _debug
2352 Fixes <http://webkit.org/b/31123>.
2354 Reviewed by Sam Weinig.
2356 * Scripts/run-webkit-tests: Don't add the _debug suffix in
2357 Debug_Internal, either.
2359 2009-11-04 Eric Seidel <eric@webkit.org>
2361 Reviewed by Adam Barth.
2363 committers.py needs a way to store non-bugzilla email addresses
2364 https://bugs.webkit.org/show_bug.cgi?id=31037
2366 Make Committer and Reviewer constructors take a single email or a list of emails.
2367 Change committer_by_bugzilla_email functions to committer_by_email to support lookup by any email.
2368 Expose reviewers(), used by validate-committer-lists on bug 30970.
2370 * Scripts/modules/committers.py:
2371 * Scripts/modules/committers_unittest.py: Added tests for the new code.
2373 2009-11-03 Yuzo Fujishima <yuzo@google.com>
2375 Reviewed by David Levin.
2377 Start/Stop Web Socket and Web Socket Secure servers for layout tests.
2378 https://bugs.webkit.org/show_bug.cgi?id=27491
2380 The test path determination logic is changed to handle websocket and websocket/ssl cases.
2381 The logic for non-http (and now also non-websocket) tests is moved toward the end of the if-elsif statement.
2383 Functions to start or stop Web Socket servers are added.
2385 * Scripts/run-webkit-tests:
2387 2009-11-03 Eric Seidel <eric@webkit.org>
2389 No review, just changing wording of log message.
2391 Change log string to say "failed" instead of "rejected"
2392 when a commit fails due to an out of date checkout.
2393 This makes grepping the commit-queue log for rejected patches easier.
2395 * Scripts/bugzilla-tool:
2397 2009-11-03 Eric Seidel <eric@webkit.org>
2399 No review, adding commonly known committers missing from the file.
2401 * Scripts/modules/committers.py: Add committers found by looking at SVN records.
2403 2009-11-03 Eric Seidel <eric@webkit.org>
2405 No review, just sort-order cleanup.
2407 * Scripts/modules/committers.py: Sort committers/reviewers alphabetically.
2409 2009-11-03 Stephen White <senorblanco@chromium.org>
2413 Add myself to committers.py.
2415 * Scripts/modules/committers.py:
2417 2009-11-03 Robin Dunn <robin@alldunn.com>
2419 Reviewed by Kevin Ollviier.
2421 Add packaging scripts for Debian-based Linux distros.
2423 https://bugs.webkit.org/show_bug.cgi?id=31075
2425 * wx/packaging/build-debian-installer.py: Added.
2426 * wx/packaging/debian: Added.
2428 2009-11-03 Dan Bernstein <mitz@apple.com>
2430 Reviewed by Anders Carlsson and Beth Dakin.
2432 https://bugs.webkit.org/show_bug.cgi?id=31070
2434 Added an 'ondestroy' parameter to the test plug-in. When the plug-in is
2435 destroyed, it executes the value of the 'ondestroy' parameter as a
2438 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2439 (pluginAllocate): Initialize onDestroy.
2440 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Define
2442 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2443 (NPP_New): Set onDestroy to the value of the 'ondestroy' parameter, if
2445 (NPP_Destroy): Execute the value of 'ondestroy' as a script.
2447 2009-11-02 Joanmarie Diggs <joanmarie.diggs@gmail.com>
2449 Reviewed by Xan Lopez.
2451 https://bugs.webkit.org/show_bug.cgi?id=31035
2452 [GTK] some accessibility tests hitting assertion in debug builds
2454 Get the correct Gtk+ object before attempting to turn it into an AtkObject.
2456 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2457 (AccessibilityController::rootElement):
2459 2009-11-02 Chris Fleizach <cfleizach@apple.com>
2461 Reviewed by Beth Dakin.
2463 Support ARIA "tab" roles
2464 https://bugs.webkit.org/show_bug.cgi?id=30842
2466 * DumpRenderTree/AccessibilityUIElement.cpp:
2467 * DumpRenderTree/AccessibilityUIElement.h:
2468 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2469 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2470 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2472 2009-11-01 Eric Seidel <eric@webkit.org>
2474 Reviewed by David Levin.
2476 buildbots should use --exit-after-N-failures
2477 https://bugs.webkit.org/show_bug.cgi?id=30809
2479 Make the bots exit after 20 failures to prevent never-ending
2480 test runs where every test spends a minute crashing.
2482 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2484 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2486 Reviewed by Eric Seidel.
2488 Turn on warnings for QtWebKit for gcc
2489 https://bugs.webkit.org/show_bug.cgi?id=30958
2491 * DumpRenderTree/qt/main.cpp:
2492 (crashHandler): Mark function NO_RETURN
2494 2009-11-01 Jessie Berlin <jberlin@webkit.org>
2496 Adding myself to the committers list.
2498 * Scripts/modules/committers.py:
2500 2009-10-30 Jon Honeycutt <jhoneycutt@apple.com>
2502 Fix an issue that Adam noticed in DRT.
2504 Reviewed by Darin Adler.
2506 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2507 (AccessibilityUIElement::role):
2508 Get the length of the role text, and create a buffer dynamically.
2510 2009-10-30 Eric Seidel <eric@webkit.org>
2512 No review, rolling out r50105.
2513 http://trac.webkit.org/changeset/50105
2515 This commit was causing:
2516 https://bugs.webkit.org/show_bug.cgi?id=30869
2517 We'll re-implement the feature a different way.
2519 * Scripts/bugzilla-tool:
2521 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2523 Test for MSAA: Accessibility of headings is not correct
2525 https://bugs.webkit.org/show_bug.cgi?id=30937
2527 Reviewed by Adam Roben.
2529 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2530 (AccessibilityUIElement::role):
2531 Allow the role returned to be a BSTR.
2532 (AccessibilityUIElement::description):
2533 Fix a copy/paste error.
2535 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2537 Test for MSAA: Accessibility of links is wrong
2539 https://bugs.webkit.org/show_bug.cgi?id=30928
2541 Reviewed by Darin Adler.
2543 * DumpRenderTree/AccessibilityUIElement.cpp:
2544 (getAccessibilityValueCallback):
2545 Return the accessibility value.
2546 (AccessibilityUIElement::getJSClass):
2547 Added "accessibilityValue" value.
2549 * DumpRenderTree/AccessibilityUIElement.h:
2551 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2552 (AccessibilityUIElement::accessibilityValue):
2555 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2556 (AccessibilityUIElement::accessibilityValue):
2559 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2560 (AccessibilityUIElement::accessibilityValue):
2561 Get the object's value, and return it as a JS string.
2563 2009-10-30 Kevin Ollivier <kevino@theolliviers.com>
2565 Fix typo in command name used by wx build system.
2567 * wx/build/build_utils.py:
2569 2009-10-30 Adam Barth <abarth@webkit.org>
2571 Reviewed by Darin Adler.
2573 Patch v1 is a dumb default name for patches
2574 https://bugs.webkit.org/show_bug.cgi?id=30952
2576 Let's use "Patch" instead.
2578 * Scripts/bugzilla-tool:
2580 2009-10-30 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2582 Unreviewed trivial buildfix.
2584 [Qt] Buildfix for r50333.
2586 * DumpRenderTree/qt/DumpRenderTree.pro:
2588 2009-10-30 Antonio Gomes <tonikitoo@webkit.org>
2590 Reviewed by Holger Freyther.
2592 [Qt] Remove qt/WorkQueue.cpp|h in favor of platform independent WorkQueue
2593 https://bugs.webkit.org/show_bug.cgi?id=30953
2595 DumpRenderTree/WorkQueue and DumpRenderTree/qt/WorkQueue share mostly the
2596 same implementation. Some Q_ASSERTs differ from ASSERTs basically. Patch
2597 makes qt DRT to share this implementation (as gtk and mac ports do).
2599 * DumpRenderTree/qt/DumpRenderTree.pro:
2600 * DumpRenderTree/qt/WorkQueue.cpp: Removed.
2601 * DumpRenderTree/qt/WorkQueue.h: Removed.
2603 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
2605 Unreviewed potential buildbot fix.
2607 Second try: Reset page history before running each test.
2609 Apparently the QWebHistory::clear() keeps the current page
2610 in history which is not what we want, so we not additionally
2611 sets the history capacity to 0 (forces removing everything)
2612 and then sets it back to its original value.
2614 * DumpRenderTree/qt/DumpRenderTree.cpp:
2615 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2617 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
2619 Unreviewed potential buildbot fix.
2621 Reset page history before running each test.
2623 * DumpRenderTree/qt/DumpRenderTree.cpp:
2624 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2626 2009-10-30 Roland Steiner <rolandsteiner@chromium.org>
2628 Reviewed by Eric Seidel.
2630 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
2632 Bug 28420 - Implement HTML5 <ruby> rendering
2633 (https://bugs.webkit.org/show_bug.cgi?id=28420)
2635 No new tests (no functional change).
2637 * Scripts/build-webkit:
2639 2009-10-29 Dan Bernstein <mitz@apple.com>
2641 Reviewed by Mark Rowe.
2643 Fix “Undefined subroutine” errors in svn-*apply by moving the removeEOL subroutine
2644 from the two scripts that define it but don’t use it to the script that uses it but doesn’t
2647 * Scripts/VCSUtils.pm:
2648 * Scripts/svn-apply:
2649 * Scripts/svn-unapply:
2651 2009-10-29 Xan Lopez <xlopez@igalia.com>
2653 Reviewed by Gustavo Noronha.
2655 Use the GTK+ main loop instead of rolling our own mini-version of
2658 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2661 (webViewLoadFinished):
2663 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
2665 Reviewed by Oliver Hunt.
2667 Implement the Qt version of DRT dumpBackForwardList().
2669 * DumpRenderTree/qt/DumpRenderTree.cpp:
2670 (WebCore::dumpHistoryItem):
2671 (WebCore::DumpRenderTree::dumpBackForwardList):
2673 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
2675 Reviewed by Adam Roben.
2677 Implement DRT functionality for Qt introduced in
2680 - Implemented pathToLocalResource which exposes the functionality of
2681 converting a given unix path to the correct location on Windows.
2682 - Implemented a way to remove machine-dependent information from paths
2683 in layout test results.
2685 * DumpRenderTree/qt/DumpRenderTree.cpp:
2686 (WebCore::urlSuitableForTestResult):
2687 (WebCore::WebPage::javaScriptConsoleMessage):
2688 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2689 (LayoutTestController::pathToLocalResource):
2690 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2692 2009-10-28 Roland Steiner <rolandsteiner@chromium.org>
2694 Adding myself to the committers list.
2696 * Scripts/modules/committers.py:
2698 2009-10-28 Chris Fleizach <cfleizach@apple.com>
2700 Adding myself to the committers list.
2702 * Scripts/modules/committers.py:
2704 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2706 Reviewed by Jan Alonzo.
2708 [GTK] API to start inspector for a WebView
2709 https://bugs.webkit.org/show_bug.cgi?id=22551
2711 Use the new inspector API to implement the LayoutTestController
2712 interfaces used to test the inspector.
2714 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2715 (webInspectorInspectWebView):
2717 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2718 (LayoutTestController::showWebInspector):
2719 (LayoutTestController::closeWebInspector):
2720 (LayoutTestController::evaluateInWebInspector):
2722 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org>
2724 Reviewed by Eric Seidel.
2726 [Qt] WebFrame::counterValueForElementById must not be exposed
2727 https://bugs.webkit.org/show_bug.cgi?id=30882
2729 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2730 (LayoutTestController::counterValueForElementById):
2732 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
2734 Rubberstamped by Oliver Hunt.
2738 "warning: ignoring return value of 'char* getcwd(char*, size_t)',
2739 declared with attribute warn_unused_result".
2741 by actually checking the result. In the case it is null, an
2742 error has occoured, so treat it as the other fatal errors.
2744 * DumpRenderTree/qt/DumpRenderTree.cpp:
2745 (WebCore::DumpRenderTree::initializeFonts):
2747 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
2749 Reviewed by Darin Adler.
2751 Provide a way to get counter values with layoutTestContoller
2752 https://bugs.webkit.org/show_bug.cgi?id=30555
2754 Define layoutTestContoller.counterValueForElementById.
2756 * DumpRenderTree/LayoutTestController.cpp:
2757 (counterValueForElementByIdCallback):
2758 (LayoutTestController::staticFunctions):
2759 * DumpRenderTree/LayoutTestController.h:
2760 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2761 (LayoutTestController::counterValueForElementById):
2763 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
2765 Rubberstamped by Oliver Hunt.
2767 Change two methods to be internal for DRT use only.
2769 Part of [Qt] Review all new API in Qt 4.6
2770 https://bugs.webkit.org/show_bug.cgi?id=29843#c11
2772 * DumpRenderTree/qt/DumpRenderTree.cpp:
2773 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2774 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2775 (LayoutTestController::whiteListAccessFromOrigin):
2777 2009-10-27 Eric Seidel <eric@webkit.org>
2779 Reviewed by Adam Barth.
2781 REGRESSION: svn-apply exits(1) when applying a patch with a file add
2782 https://bugs.webkit.org/show_bug.cgi?id=30826
2784 * Scripts/svn-apply:
2785 - Add () around all system() calls.
2786 - Use the correct system() == 0 or die instead of system() or die
2787 - Add descriptive messages to all die statements.
2789 2009-10-27 Steve Block <steveblock@google.com>
2793 Adds steveblock@google.com to list of committers.
2795 * Scripts/modules/committers.py: Adds steveblock@google.com to list of committers.
2797 2009-10-27 Eric Seidel <eric@webkit.org>
2799 Reviewed by Adam Barth.
2801 svn-apply can exit(0) even on patch failure
2802 https://bugs.webkit.org/show_bug.cgi?id=29622
2804 * Scripts/svn-apply:
2805 - Add a bunch of "or die" statements, hopefully catching all
2806 possible cases where failure could still exit(0).
2808 2009-10-27 Eric Seidel <eric@webkit.org>
2810 Reviewed by Adam Barth.
2812 svn-* scripts should share code through VCSUtils.pm
2813 https://bugs.webkit.org/show_bug.cgi?id=30791
2815 Just moving code into a shared location.
2817 * Scripts/VCSUtils.pm:
2818 * Scripts/prepare-ChangeLog:
2819 * Scripts/resolve-ChangeLogs:
2820 * Scripts/svn-apply:
2821 * Scripts/svn-create-patch:
2822 * Scripts/svn-unapply:
2823 * Scripts/update-webkit:
2825 2009-10-27 Vadim Zeitlin <vadim@wxwidgets.org>
2827 Suppress a huge number of MSVC warnings when building wxWebKit.
2829 * wx/build/settings.py:
2831 2009-10-26 Eric Seidel <eric@webkit.org>
2833 No review, just adding Mike Belshe to the committers list.
2835 * Scripts/modules/committers.py:
2837 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2839 Reviewed by Darin Adler.
2841 Make .rc files compile on Windows without depending on MFC headers
2842 https://bugs.webkit.org/show_bug.cgi?id=30750
2844 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: Use
2845 windows.h instead of afxres.h because it exists even when MFC is not
2846 installed, and is all that's needed here.
2848 * FindSafari/FindSafari.rc: Ditto
2850 2009-10-24 Eric Seidel <eric@webkit.org>
2852 Reviewed by Adam Barth.
2854 bugzilla-tool post-diff should know how to mark commit-queue=?
2855 https://bugs.webkit.org/show_bug.cgi?id=29202
2857 * Scripts/bugzilla-tool:
2858 - Add --commit-queue option to post-diff, post-commits and create-bug.
2859 * Scripts/modules/bugzilla.py:
2860 - Added support for --commit-queue to add_patch_to_bug and create_bug_with_patch.
2861 - Added _fill_attachment_form to share code between add_patch_to_bug and create_bug_with_patch.
2863 2009-10-23 Eric Seidel <eric@webkit.org>
2865 Reviewed by Adam Barth.
2867 bugzilla-tool commit-queue does not notice modifications to committers.py
2868 https://bugs.webkit.org/show_bug.cgi?id=30084
2870 * Scripts/bugzilla-tool:
2871 - Make commit-queue re-exec itself instead of using while(1).
2872 - Add a --is-relaunch parameter to commit-queue to bypass initialization on re-launch.
2873 - Add a _next_patch() method which calls exec() (and could eventually call update-webkit too).
2875 2009-10-22 Eric Seidel <eric@webkit.org>
2877 Reviewed by Adam Barth.
2879 commit-queue will get stuck on patches if land-patches terminates unexpectedly
2880 https://bugs.webkit.org/show_bug.cgi?id=30634
2882 * Scripts/bugzilla-tool:
2883 - Add a way for land-patches to exit(2) to indicate an error, but one it has handled.
2884 - Make commit-queue auto cq- any patch where land-patches exited anything other than '0' or '2'.
2886 2009-10-26 Yuzo Fujishima <yuzo@google.com>
2888 Reviewed by Eric Seidel.
2890 Upgrade pywebsocket to 0.4.1. This will make reusing LayoutTests/fast/js/resources easier, for example.
2892 https://bugs.webkit.org/show_bug.cgi?id=30763
2894 * pywebsocket/mod_pywebsocket/__init__.py:
2895 * pywebsocket/mod_pywebsocket/dispatch.py:
2896 * pywebsocket/mod_pywebsocket/headerparserhandler.py:
2897 * pywebsocket/mod_pywebsocket/standalone.py:
2898 * pywebsocket/setup.py:
2899 * pywebsocket/test/test_dispatch.py:
2901 2009-10-26 Carol Szabo <carol.szabo@nokia.com>
2903 Reviewed by David Levin.
2905 REGRESSION: 2 failures in run-webkit-unittests
2906 https://bugs.webkit.org/show_bug.cgi?id=30645
2908 * Scripts/modules/cpp_style_unittest.py:
2909 Fixed a few test scenarios which apparently lost some spaces from
2912 2009-10-26 Kevin Ollivier <kevino@theolliviers.com>
2914 wx build fix. Make sure isQt() doesn't return true if --wx was passed to build-webkit.
2916 * Scripts/webkitdirs.pm:
2918 2009-10-26 Csaba Osztrogonác <ossy@webkit.org>
2920 Reviewed by Darin Adler.
2922 Unification of using null device in perl scripts.
2923 https://bugs.webkit.org/show_bug.cgi?id=30572
2925 * Scripts/VCSUtils.pm:
2926 * Scripts/bisect-builds:
2927 * Scripts/resolve-ChangeLogs:
2928 * Scripts/run-iexploder-tests:
2930 * Scripts/run-mangleme-tests:
2931 * Scripts/run-webkit-tests:
2932 * Scripts/webkitdirs.pm:
2933 Using File::Spec->devnull() instead of hard coded /dev/null.
2935 2009-10-26 Eric Seidel <eric@webkit.org>
2937 Reviewed by Holger Freyther.
2939 Reviewers are missing from committers.py
2940 https://bugs.webkit.org/show_bug.cgi?id=30733
2942 * Scripts/modules/committers.py:
2944 2009-10-23 Eric Seidel <eric@webkit.org>
2946 No review, only adding Alice to the list of reviewers.
2948 * Scripts/modules/committers.py:
2950 2009-10-23 Eric Seidel <eric@webkit.org>
2952 Reviewed by Eric Carlson.
2954 fast/media/mq-transform-02.html failed on Leopard Commit Bot
2955 https://bugs.webkit.org/show_bug.cgi?id=30700
2957 * DumpRenderTree/mac/DumpRenderTree.mm:
2958 (resetDefaultsToConsistentValues): Update QuickTime version check.
2960 2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
2962 wxMac 10.4 build fix, needs to link against WebKitSystemInterfaceTiger to get
2963 character measurement APIs that are private on Tiger.
2965 * wx/build/settings.py:
2967 2009-10-22 Gavin Barraclough <barraclough@apple.com>
2969 Reviewed by NOBODY (build fix).
2970 Build fix following bug #30696.
2972 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2973 (LayoutTestController::evaluateScriptInIsolatedWorld):
2975 2009-10-22 Gavin Barraclough <barraclough@apple.com>
2977 Reviewed by Sam Weinig & Geoff Garen.
2979 https://bugs.webkit.org/show_bug.cgi?id=30696
2980 Enable isolated-worlds tests on mac.
2982 Add private interface for DRT to invoke execution in a given world.
2984 * DumpRenderTree/LayoutTestController.cpp:
2985 (evaluateScriptInIsolatedWorldCallback):
2986 (LayoutTestController::staticFunctions):
2987 * DumpRenderTree/LayoutTestController.h:
2988 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2989 (LayoutTestController::evaluateScriptInIsolatedWorld):
2990 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2991 (LayoutTestController::evaluateScriptInIsolatedWorld):
2993 2009-10-21 Eric Seidel <eric@webkit.org>
2995 Reviewed by Adam Barth.
2997 bugzilla-tool's "patch failed to download an apply" error should give more information
2998 https://bugs.webkit.org/show_bug.cgi?id=30632
3000 * Scripts/modules/scm.py:
3001 - Use the common run_command method instead of custom POpen code.
3002 - Make run_command know how to take pipes as input.
3003 * Scripts/modules/scm_unittest.py:
3004 - Add new tests to cover change.
3005 - Also move test_error_handlers into new SCMClassTests so we don't run it 3 times.
3007 2009-10-21 Kent Tamura <tkent@chromium.org>
3009 Unreviewed. Adding myself to the committers list.
3011 * Scripts/modules/committers.py:
3013 2009-10-21 Robin Dunn <robin@alldunn.com>
3015 Reviewed by Kevin Ollivier.
3017 Update the Windows installer builder to work with Vista / Win 7 and with git.
3019 https://bugs.webkit.org/show_bug.cgi?id=30649
3021 * wx/build/build_utils.py:
3022 * wx/packaging/build-mac-installer.py:
3023 * wx/packaging/build-win-installer.py:
3024 * wx/packaging/wxWebKitInstaller.iss.in:
3026 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3028 Reviewed by Gustavo Noronha.
3030 [GTK] Added conditional code to avoid using
3031 gdk_window_get_root_coords if we do not have a gtk+ release newer
3033 https://bugs.webkit.org/show_bug.cgi?id=30636
3035 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3037 2009-10-21 Shu Chang <Chang.Shu@nokia.com>
3039 Reviewed by Eric Seidel.
3041 [Qt] Added dummy implementation for keepWebHistory()
3042 https://bugs.webkit.org/show_bug.cgi?id=30592
3044 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3045 (LayoutTestController::keepWebHistory):
3046 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3048 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3050 Reviewed by Xan Lopez.
3052 [GTK] Fixed the double click condition, it is not double click if
3053 we move in just in one direction.
3054 https://bugs.webkit.org/show_bug.cgi?id=30636
3056 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3058 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3060 Reviewed by Xan Lopez.
3062 [GTK] Initialize the events completly before emitting them.
3063 https://bugs.webkit.org/show_bug.cgi?id=30633
3065 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3067 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
3069 wx build fix. Fix for when linking using --as-needed with gcc.
3071 * wx/browser/wscript:
3073 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
3075 wxMac 10.4 build fix. Build and link against a version of libcurl new enough
3076 to support all the features used by CURL backend.
3078 * wx/build/settings.py:
3079 * wx/install-unix-extras:
3081 2009-10-20 Anton Muhin <antonm@chromium.org>
3083 Reviewed by Adam Barth.
3085 Add {ager,antonm,yurys}@chromium.org into committers.py
3086 https://bugs.webkit.org/show_bug.cgi?id=30560
3088 * Scripts/modules/committers.py:
3090 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
3092 Reviewed by Tor Arne Vestbø.
3094 Make the Netscape Test plugin available to the Qt launcher.
3096 * Scripts/run-launcher:
3098 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
3100 Reviewed by David Levin.
3102 Removed WebSocket runtime settings.
3103 https://bugs.webkit.org/show_bug.cgi?id=29896
3105 WebSocket runtime configuration is supported by chromium/v8 only.
3107 * DumpRenderTree/mac/DumpRenderTree.mm:
3108 (resetDefaultsToConsistentValues):
3109 * DumpRenderTree/win/DumpRenderTree.cpp:
3110 (resetDefaultsToConsistentValues):
3112 2009-10-19 Nate Chapin <japhet@chromium.org>
3114 Reviewed by Adam Barth.
3116 Add testFail() to test plugin so we can test our handling of a
3117 plugin invoke call returning false.
3119 https://bugs.webkit.org/show_bug.cgi?id=30239
3121 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add testFail().
3123 (testIdentifierToString): Always return true, since returning false will now cause an exception to be thrown.
3125 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
3127 Reviewed by Gustavo Noronha.
3129 Enable DOM pasting when running layout tests.
3131 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3132 (resetDefaultsToConsistentValues):
3134 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
3136 Reviewed by Simon Hausmann.
3138 Use the setPreferredContentsSize method instead
3139 of setFixedContentsSize, as the method has been renamed.
3141 * DumpRenderTree/qt/DumpRenderTree.cpp:
3142 (WebCore::DumpRenderTree::open):
3143 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3144 (LayoutTestController::setFixedContentsSize):
3146 2009-10-16 Steve Falkenburg <sfalken@apple.com>
3148 Reviewed by Dan Bernstein.
3150 https://bugs.webkit.org/show_bug.cgi?id=30456
3151 Fixes for new Debug_All Windows build configuration.
3153 * DumpRenderTree/win/DumpRenderTree.cpp:
3154 (sharedCFURLCache): Use new DEBUG_ALL preprocessor define for library naming.
3155 * DumpRenderTree/win/DumpRenderTree.vcproj: Remove unused DEBUG_WEBKIT_HAS_SUFFIX.
3157 2009-10-16 Eric Seidel <eric@webkit.org>
3159 Reviewed by Adam Barth.
3161 commit-queue status bot should list which buildbot is blocking the queue
3162 https://bugs.webkit.org/show_bug.cgi?id=30452
3164 Add new methods and testing.
3166 * Scripts/bugzilla-tool:
3167 * Scripts/modules/buildbot.py:
3168 * Scripts/modules/buildbot_unittest.py:
3170 2009-10-16 Eric Seidel <eric@webkit.org>
3172 Reviewed by Adam Barth.
3174 run-webkit-tests fails when CWD is not inside a WebKit checkout
3175 https://bugs.webkit.org/show_bug.cgi?id=30451
3177 * Scripts/modules/scm.py: in_working_directory shouldn't throw exceptions on failure.
3178 * Scripts/modules/scm_unittest.py:
3179 - Remove use of original_path (we don't need to restore the CWD).
3180 - Don't use '.' to find the webkit checkout, use __file__ instead.
3182 2009-10-16 Steve Falkenburg <sfalken@apple.com>
3184 Reviewed by Adam Roben.
3186 Add a Debug_All configuration to build entire stack as debug.
3187 Change Debug_Internal to:
3188 - stop using _debug suffix for all WebKit/Safari binaries
3189 - not use _debug as a DLL naming suffix
3190 - use non-debug C runtime lib.
3192 * DumpRenderTree/DumpRenderTree.sln: Add Debug_All configuration.
3193 * DumpRenderTree/win/DumpRenderTree.vcproj: Add Debug_All configuration.
3194 * DumpRenderTree/win/ImageDiff.vcproj: Add Debug_All configuration.
3195 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3196 Add missing debug.vsprops inherited property sheet.
3197 Add Debug_All configuration.
3198 * FindSafari/FindSafari.vcproj: Renamed single configuration from "Release" to "all".
3199 * WinLauncher/WinLauncher.vcproj:
3200 Removed extraneous definitions inherited from vsprops.
3201 Add Debug_All configuration.
3203 2009-10-16 Carol Szabo <carol.szabo@nokia.com>
3205 Reviewed by David Levin.
3207 check-webkit-style is wrong about indent checking in namespaces
3208 in header files and a few other things
3209 https://bugs.webkit.org/show_bug.cgi?id=30362
3211 The few other things include:
3212 + check-webkit-style does not require spaces around the equal sign
3213 inside 'if' statements and around binary operators that take
3215 + check-webkit-style reports false errors for the / operator
3216 when part of a filename in the #include directive.
3218 * Scripts/modules/cpp_style.py:
3219 Improved indentation checking and space checking around
3220 binary operators. While the checks are still not perfect,
3221 they are clearly better than before.
3222 * Scripts/modules/cpp_style_unittest.py:
3223 Added test cases for the newly supported checks and modified old
3224 test cases to match the new guidelines
3226 2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
3228 wxMSW build fix. Link to MSW library needed by PluginPackageWin.cpp.
3230 * wx/build/settings.py:
3232 2009-10-15 Yuzo Fujishima <yuzo@google.com>
3234 Reviewed by David Levin.
3236 Add mod_pywebsocket to test Web Sockets.
3237 http://code.google.com/p/pywebsocket/
3238 https://bugs.webkit.org/show_bug.cgi?id=27490
3240 * pywebsocket/COPYING: Added.
3241 * pywebsocket/MANIFEST.in: Added.
3242 * pywebsocket/README: Added.
3243 * pywebsocket/example/echo_client.py: Added.
3244 * pywebsocket/example/echo_wsh.py: Added.
3245 * pywebsocket/mod_pywebsocket/__init__.py: Added.
3246 * pywebsocket/mod_pywebsocket/dispatch.py: Added.
3247 * pywebsocket/mod_pywebsocket/handshake.py: Added.
3248 * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
3249 * pywebsocket/mod_pywebsocket/msgutil.py: Added.
3250 * pywebsocket/mod_pywebsocket/standalone.py: Added.
3251 * pywebsocket/mod_pywebsocket/util.py: Added.
3252 * pywebsocket/setup.py: Added.
3253 * pywebsocket/test/config.py: Added.
3254 * pywebsocket/test/mock.py: Added.
3255 * pywebsocket/test/run_all.py: Added.
3256 * pywebsocket/test/test_dispatch.py: Added.
3257 * pywebsocket/test/test_handshake.py: Added.
3258 * pywebsocket/test/test_mock.py: Added.
3259 * pywebsocket/test/test_msgutil.py: Added.
3260 * pywebsocket/test/test_util.py: Added.
3261 * pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
3262 * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
3263 * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
3264 * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
3265 * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
3266 * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
3267 * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
3268 * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
3270 2009-10-15 James Robinson <jamesr@google.com>
3272 Reviewed by David Levin.
3274 Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file.
3276 https://bugs.webkit.org/show_bug.cgi?id=30426
3278 * Scripts/modules/cpp_style.py:
3279 * Scripts/modules/cpp_style_unittest.py:
3281 2009-10-15 Brian Weinstein <bweinstein@apple.com>
3283 Reviewed by Adam Roben.
3285 Fixes <http://webkit.org/b/30411>.
3286 REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows.
3288 Added a check for isChromium() in pdevenv, and pass /useenv if we are not
3293 2009-10-15 Robin Dunn <robin@alldunn.com>
3295 Reviewed by Kevin Ollivier.
3297 Add Mac package building scripts for wx.
3299 https://bugs.webkit.org/show_bug.cgi?id=30405
3301 * wx/build/build_utils.py:
3302 * wx/build/settings.py:
3303 * wx/packaging/build-mac-installer.py: Added.
3305 2009-10-15 Zan Dobersek <zandobersek@gmail.com>
3307 Reviewed by Gustavo Noronha.
3309 Enable Web Sockets support when running layout tests.
3311 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3312 (resetDefaultsToConsistentValues):
3314 2009-10-15 Xan Lopez <xlopez@igalia.com>
3316 Reviewed by Gustavo Noronha.
3318 Need to initialize event.button.button, since in most cases a
3319 button number is not passed as an argument.
3321 * DumpRenderTree/gtk/EventSender.cpp:
3322 (mouseDownCallback):
3325 2009-10-15 Kevin Ollivier <kevino@theolliviers.com>
3327 wx build fix. More SDK fixes for Mac, make sure we use the SDK corresponding to
3328 the OS if none was explicitly set.
3330 * wx/build/settings.py:
3332 2009-10-14 Pavel Feldman <pfeldman@chromium.org>
3334 Reviewed by Timothy Hatcher.
3336 Web Inspector: enable developers extras within inspector layout tests.
3338 https://bugs.webkit.org/show_bug.cgi?id=30014
3340 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3341 (LayoutTestController::showWebInspector):
3342 (LayoutTestController::closeWebInspector):
3343 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3344 (LayoutTestController::showWebInspector):
3345 (LayoutTestController::closeWebInspector):
3347 2009-10-14 José Millán Soto <jmillan@igalia.com>
3349 Reviewed by Jan Alonzo.
3351 GtkLauncher is using a deprecated signal
3352 https://bugs.webkit.org/show_bug.cgi?id=30364
3354 Modified GtkLauncher to use notify::title signal instead of
3355 deprecated title-changed signal
3357 * GtkLauncher/main.c:
3361 2009-10-14 Brady Eidson <beidson@apple.com>
3363 Reviewed by Sam Weinig.
3365 Don't set the history delegate on new windows that are opened during a test, as the history delegate:
3366 1 - Disables WebHistory
3367 2 - Doesn't make sense in that context anyway.
3369 * DumpRenderTree/win/DumpRenderTree.cpp:
3370 (createWebViewAndOffscreenWindow):
3372 2009-10-14 Kevin Ollivier <kevino@theolliviers.com>
3374 wxMac build fix. Ensure 10.4 compatibility for deps, and allow the user to specify
3375 the SDK to use since Python overrides any user-set value of MACOSX_DEPLOYMENT_TARGET.
3377 * wx/build/settings.py:
3378 * wx/install-unix-extras:
3380 2009-10-14 Brady Eidson <beidson@apple.com>
3382 Reviewed by Sam Weinig.
3384 WebKit Win API should provide a delegate interface for global history.
3385 https://bugs.webkit.org/show_bug.cgi?id=29905
3387 * DumpRenderTree/LayoutTestController.cpp:
3388 (LayoutTestController::LayoutTestController):
3389 * DumpRenderTree/LayoutTestController.h:
3390 (LayoutTestController::dumpHistoryDelegateCallbacks):
3391 (LayoutTestController::setDumpHistoryDelegateCallbacks):
3393 * DumpRenderTree/win/DumpRenderTree.cpp:
3394 (shouldLogHistoryDelegates):
3396 (createWebViewAndOffscreenWindow):
3398 * DumpRenderTree/win/DumpRenderTree.vcproj:
3400 Add the IWebHistoryDelegate to DRT Windows:
3401 * DumpRenderTree/win/HistoryDelegate.cpp: Added.
3403 (HistoryDelegate::HistoryDelegate):
3404 (HistoryDelegate::~HistoryDelegate):
3405 (HistoryDelegate::QueryInterface):
3406 (HistoryDelegate::AddRef):
3407 (HistoryDelegate::Release):
3408 (HistoryDelegate::didNavigateWithNavigationData):
3409 (HistoryDelegate::didPerformClientRedirectFromURL):
3410 (HistoryDelegate::didPerformServerRedirectFromURL):
3411 (HistoryDelegate::updateHistoryTitle):
3412 (HistoryDelegate::populateVisitedLinksForWebView):
3413 * DumpRenderTree/win/HistoryDelegate.h: Added.
3415 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3416 (LayoutTestController::removeAllVisitedLinks):
3418 2009-10-14 Shu Chang <Chang.Shu@nokia.com>
3420 Reviewed by Simon Hausmann.
3422 [Qt] Implement support for setPOSIXLocale on Qt.
3423 https://bugs.webkit.org/show_bug.cgi?id=30268
3425 * DumpRenderTree/qt/DumpRenderTree.cpp:
3426 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3427 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3428 (LayoutTestController::setPOSIXLocale):
3429 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3431 2009-10-13 Stephanie Lewis <slewis@apple.com>
3433 Unreviewed, adding myself to reviewers list.
3435 * Scripts/modules/committers.py:
3437 2009-10-13 Stephanie Lewis <slewis@apple.com>
3439 Reviewed by Mark Rowe.
3441 Fix null assignment so root tests work again.
3443 * Scripts/webkitdirs.pm:
3445 2009-10-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
3447 Reviewed by Simon Hausmann.
3449 [Qt] Refactor LayoutTestController, EventSender, TextInputController and WorkQueueItem classes
3450 out of jsobjects into separate files to get a more structured DumpRenderTree implementation.
3451 This is done in preparation of implementing missing features in DRT.
3452 No functionality changes made yet.
3454 * DumpRenderTree/qt/DumpRenderTree.cpp:
3455 * DumpRenderTree/qt/DumpRenderTree.pro:
3456 * DumpRenderTree/qt/EventSenderQt.cpp: Added.
3457 (EventSender::EventSender):
3458 (EventSender::mouseDown):
3459 (EventSender::mouseUp):
3460 (EventSender::mouseMoveTo):
3461 (EventSender::leapForward):
3462 (EventSender::keyDown):
3463 (EventSender::contextClick):
3464 (EventSender::scheduleAsynchronousClick):
3465 (EventSender::frameUnderMouse):
3466 * DumpRenderTree/qt/EventSenderQt.h: Added.
3467 (EventSender::clearKillRing):
3468 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added.
3469 (LayoutTestController::LayoutTestController):
3470 (LayoutTestController::reset):
3471 (LayoutTestController::processWork):
3472 (LayoutTestController::maybeDump):
3473 (LayoutTestController::waitUntilDone):
3474 (LayoutTestController::notifyDone):
3475 (LayoutTestController::windowCount):
3476 (LayoutTestController::clearBackForwardList):
3477 (LayoutTestController::dumpEditingCallbacks):
3478 (LayoutTestController::dumpResourceLoadCallbacks):
3479 (LayoutTestController::queueBackNavigation):
3480 (LayoutTestController::queueForwardNavigation):
3481 (LayoutTestController::queueLoad):
3482 (LayoutTestController::queueReload):
3483 (LayoutTestController::queueScript):
3484 (LayoutTestController::provisionalLoad):
3485 (LayoutTestController::timerEvent):
3486 (LayoutTestController::encodeHostName):
3487 (LayoutTestController::decodeHostName):
3488 (LayoutTestController::setJavaScriptProfilingEnabled):
3489 (LayoutTestController::setFixedContentsSize):
3490 (LayoutTestController::setPrivateBrowsingEnabled):
3491 (LayoutTestController::setPopupBlockingEnabled):
3492 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
3493 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
3494 (LayoutTestController::numberOfActiveAnimations):
3495 (LayoutTestController::disableImageLoading):
3496 (LayoutTestController::dispatchPendingLoadRequests):
3497 (LayoutTestController::setDatabaseQuota):
3498 (LayoutTestController::clearAllDatabases):
3499 (LayoutTestController::whiteListAccessFromOrigin):
3500 (LayoutTestController::waitForPolicyDelegate):
3501 (LayoutTestController::overridePreference):
3502 * DumpRenderTree/qt/LayoutTestControllerQt.h: Added.
3503 (LayoutTestController::isLoading):
3504 (LayoutTestController::setLoading):
3505 (LayoutTestController::shouldDumpAsText):
3506 (LayoutTestController::shouldDumpBackForwardList):
3507 (LayoutTestController::shouldDumpChildrenAsText):
3508 (LayoutTestController::shouldDumpDatabaseCallbacks):
3509 (LayoutTestController::shouldDumpStatusCallbacks):
3510 (LayoutTestController::shouldWaitUntilDone):
3511 (LayoutTestController::canOpenWindows):
3512 (LayoutTestController::shouldDumpTitleChanges):
3513 (LayoutTestController::waitForPolicy):
3514 (LayoutTestController::dumpAsText):
3515 (LayoutTestController::dumpChildFramesAsText):
3516 (LayoutTestController::dumpDatabaseCallbacks):
3517 (LayoutTestController::dumpStatusCallbacks):
3518 (LayoutTestController::setCanOpenWindows):
3519 (LayoutTestController::dumpBackForwardList):
3520 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3521 (LayoutTestController::display):
3522 (LayoutTestController::dumpTitleChanges):
3523 (LayoutTestController::dumpSelectionRect):
3524 * DumpRenderTree/qt/TextInputControllerQt.cpp: Added.
3525 (TextInputController::TextInputController):
3526 (TextInputController::doCommand):
3527 * DumpRenderTree/qt/TextInputControllerQt.h: Added.
3528 * DumpRenderTree/qt/WorkQueue.cpp:
3529 * DumpRenderTree/qt/WorkQueue.h:
3530 * DumpRenderTree/qt/WorkQueueItem.h:
3531 * DumpRenderTree/qt/WorkQueueItemQt.cpp: Added.
3534 (ReloadItem::invoke):
3535 (ScriptItem::invoke):
3536 (BackForwardItem::invoke):
3537 * DumpRenderTree/qt/jsobjects.cpp: Move all the above classes into separate files
3538 * DumpRenderTree/qt/jsobjects.h:
3540 2009-10-13 Dmitry Titov <dimich@chromium.org>
3542 Not reviewed, adding myself to the list of reviewers.
3544 * Scripts/modules/committers.py:
3546 2009-10-13 Anders Carlsson <andersca@apple.com>
3548 Reviewed by Sam Weinig.
3550 <rdar://problem/6660507> Add "privacy mode" to Netscape Plug-in API
3552 Make the private browsing mode testable by the test plug-in.
3554 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3555 (pluginGetProperty):
3556 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3557 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3561 2009-10-13 Pavel Feldman <pfeldman@chromium.org>
3563 No review, just adding self to the list of reviewers.
3565 * Scripts/modules/committers.py:
3567 2009-10-12 Pavel Feldman <pfeldman@chromium.org>
3569 Reviewed by Adam Roben.
3571 Web Inspector: Use proper web view in inspector layout
3574 https://bugs.webkit.org/show_bug.cgi?id=30298
3576 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3577 (LayoutTestController::showWebInspector):
3578 (LayoutTestController::closeWebInspector):
3579 (LayoutTestController::evaluateInWebInspector):
3581 2009-10-12 Fumitoshi Ukai <ukai@chromium.org>
3583 Reviewed by Sam Weinig.
3585 Enable experimentalWebSocket in DumpRenderTree for LayoutTest.
3586 https://bugs.webkit.org/show_bug.cgi?id=29841
3588 * DumpRenderTree/mac/DumpRenderTree.mm:
3589 (resetDefaultsToConsistentValues):
3590 * DumpRenderTree/win/DumpRenderTree.cpp:
3591 (resetDefaultsToConsistentValues):
3593 2009-10-12 Yaar Schnitman <yaar@chromium.org>
3595 Reviewed by Dimitri Glazkov.
3597 Chromium Port - Windows
3598 https://bugs.webkit.org/show_bug.cgi?id=29969
3600 * Scripts/pdevenv: removed msvc's /useenv for chromium builds
3601 * Scripts/webkitdirs.pm:
3603 2009-10-12 Csaba Osztrogonac <ossy@webkit.org>
3605 Reviewed by Darin Adler.
3607 jsc scripts cleanup and Qt/GTK fix
3608 https://bugs.webkit.org/show_bug.cgi?id=30288
3610 Duplicated jscPath() moved to webkitdirs.pm.
3611 New jscProductDir() added to webkitdirs.pm instead of duplicated codes.
3612 Configuration added (release/debug) to path for Qt-port on Windows.
3614 * Scripts/run-javascriptcore-tests:
3616 * Scripts/run-sunspider:
3617 * Scripts/sunspider-compare-results:
3618 * Scripts/webkitdirs.pm:
3620 2009-10-11 Adam Barth <abarth@webkit.org>
3622 Unreviewed. Add Collin to committers.py.
3624 * Scripts/modules/committers.py:
3626 2009-10-11 Kevin Ollivier <kevino@theolliviers.com>
3628 wx build fix, add bindings to source/include dirs now that there are sources there.
3630 * wx/build/settings.py:
3632 2009-10-09 Mark Rowe <mrowe@apple.com>
3634 Reviewed by Brady Eidson.
3636 Enable plug-in halting in DumpRenderTree.
3638 We drop the plug-in halting delay to 1 second and opt in the delegate method to never halt plug-ins.
3639 This is sufficient to ensure that the crash covered by <rdar://problem/7290671> no longer occurs.
3641 * DumpRenderTree/mac/DumpRenderTree.mm:
3642 (resetDefaultsToConsistentValues):
3643 * DumpRenderTree/mac/UIDelegate.mm:
3644 (-[UIDelegate webView:shouldHaltPlugin:]):
3646 2009-10-08 Brady Eidson <beidson@apple.com>
3648 Reviewed by Dan Bernstein.
3650 Ask the History Delegate to populate the visited links hash.
3651 <rdar://problem/7285293> and https://webkit.org/b/29904
3653 Add the ability for LayoutTestController to clear all visited links.
3654 Also lets the History Delegate dump visited links, but only if this test specifically cleared them.
3656 * DumpRenderTree/LayoutTestController.cpp:
3657 (LayoutTestController::LayoutTestController):
3658 (removeAllVisitedLinksCallback):
3659 (LayoutTestController::staticFunctions):
3660 * DumpRenderTree/LayoutTestController.h:
3661 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3662 (LayoutTestController::removeAllVisitedLinks):
3664 * DumpRenderTree/mac/HistoryDelegate.mm:
3665 (-[HistoryDelegate populateVisitedLinksForWebView:]):
3667 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3668 (LayoutTestController::removeAllVisitedLinks):
3669 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3670 (LayoutTestController::removeAllVisitedLinks):
3671 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3672 (LayoutTestController::removeAllVisitedLinks):
3675 2009-10-08 Daniel Bates <dbates@webkit.org>
3677 Reviewed by Adam Roben.
3679 https://bugs.webkit.org/show_bug.cgi?id=30175
3681 The Windows DRT equivalent of DoDragDrop (i.e. UIDelegate::doDragDrop) does not return
3682 the OLE drag-and-drop return value like the function it emulates. Currently,
3683 UIDelegate::doDragDrop returns a hard-coded S_OK. Hence, the caller cannot determine
3684 whether the drag-and-drop operation was successful or was cancelled.
3686 This patch fixes this issue by having UIDe