1 2010-08-30 Zoltan Horvath <zoltan@webkit.org>
3 Reviewed by Kenneth Rohde Christiansen.
5 [Qt] Add new window menu to MiniBrowser
7 Implement newWindow function and add a menu item for opening new window in MiniBrowser.
9 * MiniBrowser/qt/BrowserWindow.cpp:
10 (BrowserWindow::BrowserWindow):
11 (BrowserWindow::newWindow):
12 * MiniBrowser/qt/BrowserWindow.h:
13 * MiniBrowser/qt/main.cpp:
16 2010-08-29 James Robinson <jamesr@chromium.org>
18 Reviewed by David Levin.
20 Make failing the download step fail the build
21 https://bugs.webkit.org/show_bug.cgi?id=44298
23 If the download step fails on a test bot, this ensures that
24 the build goes red instead of only the download step going red
25 and the overall build staying green.
27 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
29 2010-08-29 Kent Tamura <tkent@chromium.org>
31 Reviewed by Dimitri Glazkov.
33 [DRT/Chromium] Remove dependency to base/keyboard_codes.h
34 https://bugs.webkit.org/show_bug.cgi?id=44847
36 * DumpRenderTree/chromium/EventSender.cpp:
37 Use webkit_support::VKEY_* instead of base::VKEY_*.
39 2010-08-29 Darin Adler <darin@apple.com>
41 https://bugs.webkit.org/show_bug.cgi?id=40589
43 * Scripts/prepare-ChangeLog: Only prepend namespaces to non-empty
46 2010-08-26 Holger Hans Peter Freyther <holger@moiji-mobile.com>
48 Reviewed by Darin Adler.
50 [iExploder] Add new CSS Properties and HTML Attributes
51 https://bugs.webkit.org/show_bug.cgi?id=44746
53 Updated the files with the update-iexploder-cssproperties script
54 and manually readded the -webkit-binding CSS Property to the list.
56 * iExploder/htdocs/cssproperties.in:
57 * iExploder/htdocs/htmlattrs.in:
58 * iExploder/htdocs/htmltags.in:
60 2010-08-26 Holger Hans Peter Freyther <holger@moiji-mobile.com>
62 Reviewed by Darin Adler.
64 Fix Coverage build after the addition of ANGLE
65 https://bugs.webkit.org/show_bug.cgi?id=44744
67 ANGLE is using libtool to build a static library and the version of
68 libtool on Leopard refuses to handle the -fprofile-arcs and -ftest-coverage
69 parameters. The easiest way to handle this is to not build ANGLE with
72 This is achieved by applying the XCode options for each project
73 separately and exclude ANGLE.
75 * Scripts/build-webkit: Remove -framework AppKit due link errors.
76 * Scripts/webkitdirs.pm: Do not apply the XCode options for ANGLE.
78 2010-08-28 Kevin Ollivier <kevino@theolliviers.com>
80 [wx] Build fix after directory addition.
82 * wx/build/settings.py:
84 2010-08-28 Chris Guillory <chris.guillory@google.com>
86 Reviewed by Chris Fleizach.
88 Add AX notification for childrenChanged
89 https://bugs.webkit.org/show_bug.cgi?id=44472
91 * DumpRenderTree/chromium/AccessibilityController.cpp:
92 (AccessibilityController::AccessibilityController):
93 (AccessibilityController::reset):
94 (AccessibilityController::getRootElement):
95 (AccessibilityController::dumpAccessibilityNotifications):
96 * DumpRenderTree/chromium/AccessibilityController.h:
97 (AccessibilityController::shouldDumpAccessibilityNotifications):
98 * DumpRenderTree/chromium/WebViewHost.cpp:
99 (WebViewHost::didChangeAccessibilityObjectChildren):
100 * DumpRenderTree/chromium/WebViewHost.h:
102 2010-08-28 Eric Seidel <eric@webkit.org>
104 Reviewed by Adam Barth.
106 Update commit-queue failure message
107 https://bugs.webkit.org/show_bug.cgi?id=44798
109 The commit-queue auto-restarts itself and has for a very long time.
110 No need for people to email me to request a restart anymore.
112 * Scripts/webkitpy/common/net/bugzilla.py:
113 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
114 * Scripts/webkitpy/tool/commands/queues_unittest.py:
116 2010-07-27 Jer Noble <jer.noble@apple.com>
118 Reviewed by Eric Carlson.
120 Add JavaScript API to allow a page to go fullscreen.
121 rdar://problem/6867795
123 Added basic full screen support to DumpRenderTree: when a webView requests
124 that DumpRenderTree go "full screen", just call the provided callback listener object's
125 will/did Enter/Exit full screen methods. Also, register a new user default which
126 enables full screen support.
128 * DumpRenderTree/mac/DumpRenderTree.mm:
129 (resetDefaultsToConsistentValues):
130 * DumpRenderTree/mac/UIDelegate.mm:
131 (-[UIDelegate webView:supportsFullscreenForElement:]):
132 (-[UIDelegate webView:enterFullscreenForElement:listener:]):
133 (-[UIDelegate webView:exitFullscreenForElement:listener:]):
135 2010-08-27 Benjamin Poulain <benjamin.poulain@nokia.com>
137 Unreviewed. Add myself to the committers list.
139 * Scripts/webkitpy/common/config/committers.py:
141 2010-08-27 Kent Tamura <tkent@chromium.org>
143 Reviewed by Pavel Feldman.
145 [DRT/Chromium] Fix inspector test failures
146 https://bugs.webkit.org/show_bug.cgi?id=44748
148 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
149 (DRTDevToolsAgent::createClientMessageLoop):
150 Returns a valid WebKitClientMessageLoop instance
151 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
153 2010-08-26 Jon Honeycutt <jhoneycutt@apple.com>
155 Add Windows WebKit2 Tester to buildbot
156 <rdar://problem/7887703>
158 Reviewed by Dan Bernstein.
160 * BuildSlaveSupport/build.webkit.org-config/config.json:
162 2010-08-26 Philippe Normand <pnormand@igalia.com>
164 Reviewed by Martin Robinson.
166 [GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
167 https://bugs.webkit.org/show_bug.cgi?id=42152
169 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
170 (LoadHTMLStringItem::invoke): Implementation using
171 webkit_web_frame_load_string().
173 2010-08-25 Jon Honeycutt <jhoneycutt@apple.com>
175 <rdar://problem/8334338> run-webkit-tests sometimes hangs when using
176 WebKitTestRunner (44331)
178 Reviewed by Darin Adler.
180 * WebKitTestRunner/TestController.cpp:
181 (WTR::TestController::initialize):
182 The hang occurs when WebKitTestRunner begins launching the WebKit2
183 web process then exits before it finishes launching. Work around this by
184 looking for the --print-supported-features argument and exiting without
185 creating the web process.
187 2010-08-26 Dirk Pranke <dpranke@chromium.org>
189 Reviewed by Tony Chang.
191 new-run-webkit-tests: add rebaselining tests for test_expectations
193 This patch adds more unit tests for the rebaselining code in the
194 test_expectations module. It doesn't add any tests for
195 rebaseline_chromium_webkit_tests itself; that will come some other
198 https://bugs.webkit.org/show_bug.cgi?id=44648
200 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
201 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
203 2010-08-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
205 Reviewed by Martin Robinson.
207 [GTK] Add HTTP caching support
208 https://bugs.webkit.org/show_bug.cgi?id=44261
210 Ignore new soup API that we decided to merge into the soup backend
211 while it is being cooked. It follows the libsoup style, and will
212 be removed from WebKit as soon as it is merged into libsoup.
214 * Scripts/webkitpy/style/checker.py:
216 2010-08-26 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
218 Reviewed by Kenneth Rohde Christiansen.
220 [Qt] DumpRenderTree runs only one test from command mode
221 https://bugs.webkit.org/show_bug.cgi?id=44012
223 Enables support to run multiple test files and single
224 folder containing html files in stand alone mode
226 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
227 (WebCore::DumpRenderTree::DumpRenderTree):
228 (WebCore::DumpRenderTree::processArgsLine):
229 (WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
230 (WebCore::DumpRenderTree::processLine):
231 (WebCore::DumpRenderTree::dump):
232 * DumpRenderTree/qt/DumpRenderTreeQt.h:
233 (WebCore::DumpRenderTree::setStandAloneMode):
234 (WebCore::DumpRenderTree::isStandAloneMode):
235 * DumpRenderTree/qt/main.cpp:
238 2010-08-25 Martin Robinson <mrobinson@igalia.com>
240 Updating webkitpy test expectations.
242 * Scripts/webkitpy/tool/steps/steps_unittest.py:
244 2010-08-25 Ojan Vafai <ojan@chromium.org>
246 Reviewed by Eric Seidel.
248 fix the always squash git config
249 https://bugs.webkit.org/show_bug.cgi?id=44651
251 Fix help text and apparently underscores are not allowed
254 * Scripts/webkitpy/common/checkout/scm.py:
255 * Scripts/webkitpy/tool/steps/commit.py:
257 2010-08-25 Darin Adler <darin@apple.com>
259 Reviewed by John Sullivan.
261 * Scripts/commit-log-editor: Fix perl warning for people who have no
262 value for SVN_LOG_EDITOR or CVS_LOG_EDITOR.
264 2010-08-25 Ojan Vafai <ojan@chromium.org>
266 Reviewed by Eric Seidel.
268 stop blocking commits when the bots are red
269 https://bugs.webkit.org/show_bug.cgi?id=44644
271 This check currently is just annoying. It doesn't actually
272 help keep the tree green. We can always add it back later
273 if we decide the tree is generally more green.
275 * Scripts/webkitpy/tool/commands/download_unittest.py:
276 * Scripts/webkitpy/tool/mocktool.py:
277 * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
279 2010-08-25 Eric Seidel <eric@webkit.org>
281 Reviewed by Simon Fraser.
283 REGRESSION: media/video-loop.html is timing out on the commit-queue Leopard Bot
284 https://bugs.webkit.org/show_bug.cgi?id=38912
286 I know of nothing else to do but skip all media tests for the cq.
288 * Scripts/webkitpy/tool/steps/runtests.py:
290 2010-08-25 Dirk Pranke <dpranke@chromium.org>
292 Reviewed by Ojan Vafai.
294 new-run-webkit-tests: add more unit tests for test_expectations
295 This adds unit tests to cover (almost?) all of the non-rebaselining
298 https://bugs.webkit.org/show_bug.cgi?id=44579
300 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
301 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
303 2010-08-25 Dirk Pranke <dpranke@chromium.org>
305 Reviewed by Ojan Vafai.
307 new-run-webkit-tests: add more unit tests
309 This change adds more unit tests for the image_diff, test_failures,
310 and test_files modules, bringing them to 100% coverage (and adds a
311 couple tests to run_webkit_tests while we're at it).
313 This test also turns on the "dryrun" port for testing when run on
314 the mac, increasing coverage in a few other places.
316 https://bugs.webkit.org/show_bug.cgi?id=44578
318 * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.checksum: Added.
319 * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.png: Added.
320 * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.txt: Added.
321 * Scripts/webkitpy/layout_tests/data/failures/expected/checksum.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html.
322 * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.png: Added.
323 * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.txt: Added.
324 * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html.
325 * Scripts/webkitpy/layout_tests/data/failures/expected/timeout.html: Added.
326 * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
327 * Scripts/webkitpy/layout_tests/data/resources/README.txt: Added.
328 * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
329 * Scripts/webkitpy/layout_tests/port/test.py:
330 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
332 2010-08-25 Dirk Pranke <dpranke@chromium.org>
334 Reviewed by Ojan Vafai.
336 new-run-webkit-tests: add more unit tests for layout_package/printing.py
338 This change adds more unit tests to get the test coverage to 100%
339 for the printing module. This code is actually pretty crufty and
340 has some layering violations that need to be cleaned up but I'll
341 save that for another CL after we get all the unit tests written and
342 we fix the multithreading issues. At least now we'll be able to tell
345 https://bugs.webkit.org/show_bug.cgi?id=44576
347 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
348 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
350 2010-08-25 Ojan Vafai <ojan@chromium.org>
352 Reviewed by Adam Barth.
354 new-run-webkit-tests should respect set-webkit-configuration
355 https://bugs.webkit.org/show_bug.cgi?id=44633
357 Moves the getting of the configuration into the base Port so that
358 chromium ports use it as well. In the downstream chromium port,
359 this should still just return Release.
361 * Scripts/webkitpy/layout_tests/port/base.py:
362 * Scripts/webkitpy/layout_tests/port/webkit.py:
364 2010-08-25 Tony Chang <tony@chromium.org>
366 Not reviewed, changing svn props for a script.
368 * Scripts/deduplicate-tests: Added properties svn:executable and svn:eol-style.
370 2010-08-25 Adam Barth <abarth@webkit.org>
372 Reviewed by Eric Seidel.
374 Remove WebKit2 from core builders
375 https://bugs.webkit.org/show_bug.cgi?id=44625
377 This builder was added to the core builders by accident. It doesn't
378 appear to be green enough to be a core builder yet.
380 * Scripts/webkitpy/common/net/buildbot.py:
381 * Scripts/webkitpy/common/net/buildbot_unittest.py:
383 2010-08-19 Adam Roben <aroben@apple.com>
385 Test that NP_Initialize and NP_GetEntryPoints are called in the
388 The order differs between Mac and Windows (see r38858).
390 Fixes <http://webkit.org/b/44270> <rdar://problem/8330393> Crash in
391 NP_Initialize when loading QuickTime when running
392 plugins/embed-attributes-setting.html in WebKit2 on Windows
394 Reviewed by John Sullivan.
396 * DumpRenderTree/TestNetscapePlugIn/main.cpp: Added a CRASH macro and
397 a boolean to record whether NP_GetEntryPoints has been called.
398 (NP_Initialize): Crash on Windows if NP_GetEntryPoints hasn't been
399 called yet. This matches Flash and QuickTime's behavior.
400 (NP_GetEntryPoints): Crash on Mac if NP_Initialize hasn't been called
401 yet. This matches Silverlight's behavior.
403 2010-08-25 Martin Robinson <mrobinson@igalia.com>
405 Reviewed by Gustavo Noronha Silva.
407 Cairo and EFL port shouldn't depend on glib.
408 https://bugs.webkit.org/show_bug.cgi?id=44354
410 Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
413 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
414 (AccessibilityUIElement::isSelected):
416 2010-08-25 Ojan Vafai <ojan@chromium.org>
418 Fix order of Timothy's email address. The script, and
419 other tools all assume that the first email is the bugzilla address.
421 * Scripts/webkitpy/common/config/committers.py:
423 2010-08-24 Kent Tamura <tkent@chromium.org>
425 Reviewed by Pavel Feldman.
427 [DRT/Chromium] Fix 26 inspector test crashes
428 https://bugs.webkit.org/show_bug.cgi?id=44580
430 - DRTDevToolsAgent has a reference to the main WebView. So we
431 should not clear it in closeDevTools() and should clear it in
433 - DRTDevToolsClient has a reference to a DevTools WebView and no
434 way to update it. So we should delete DRTDevToolsClient instances
437 * DumpRenderTree/chromium/TestShell.cpp:
438 (TestShell::~TestShell):
439 (TestShell::closeDevTools):
441 2010-08-24 Eric Seidel <eric@webkit.org>
443 Reviewed by Adam Barth.
445 unicode(Exception(\u"0x1234")) is busted in python 2.5, disable tests which hit this
446 https://bugs.webkit.org/show_bug.cgi?id=44584
448 * Scripts/webkitpy/tool/commands/queues_unittest.py:
450 2010-08-24 Eric Seidel <eric@webkit.org>
452 Reviewed by Adam Barth.
454 commit-queue and EWS bots should report all failures
455 https://bugs.webkit.org/show_bug.cgi?id=41820
457 Right now commit-queue/EWS only report failures when the
458 patch under testing fails. We should report all failures
459 to the status server so that we can diagnose when the bots
460 are wedged w/o needing to log into the machines.
462 I also reduced the amount of data we upload since we've seen
463 timeouts during status upload.
465 * Scripts/webkitpy/common/system/executive.py:
466 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
467 * Scripts/webkitpy/tool/commands/queues.py:
468 * Scripts/webkitpy/tool/commands/queues_unittest.py:
470 2010-08-24 Eric Seidel <eric@webkit.org>
472 Reviewed by Adam Barth.
474 Remove HTML5 parser testing infrastructure now that we don't need it
475 https://bugs.webkit.org/show_bug.cgi?id=44581
477 * DumpRenderTree/mac/DumpRenderTree.mm:
478 (resetDefaultsToConsistentValues):
479 (initializeGlobalsFromCommandLineOptions):
480 * Scripts/old-run-webkit-tests:
481 * Scripts/test-html5-parser: Removed.
483 2010-08-24 Kent Tamura <tkent@chromium.org>
485 Reviewed by Dimitri Glazkov.
487 [DRT/Chromium] Fix 28 inspector test crashes
488 https://bugs.webkit.org/show_bug.cgi?id=44574
490 Reset DevToolsClient and DevToolsAgent before closing a DevTools
491 WebView in order to avoid accessing to a deleted WebView instance.
493 * DumpRenderTree/chromium/TestShell.cpp:
494 (TestShell::closeDevTools):
496 2010-08-24 Dirk Pranke <dpranke@chromium.org>
498 Reviewed by Ojan Vafai.
500 new-run-webkit-tests: clean up code for test_types, test_failures
502 Add a bunch of unit tests for webkitpy.layout_tests.test_types and
503 webkitpy.layout_tests.layout_package.test_failures, and remove
504 some dead code and otherwise clean up things.
506 https://bugs.webkit.org/show_bug.cgi?id=44559
508 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
509 * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py: Added.
510 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
511 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
512 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
513 * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py: Added.
514 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
516 2010-08-24 Dirk Pranke <dpranke@chromium.org>
518 Reviewed by Eric Seidel.
520 new-run-webkit-tests: revise unit testing strategy for test failures
522 This change revamps the way we store test data for new-run-webkit-tests.
523 Previously we had a few copies of test files from the main test tree.
524 Now we have a bunch of completely fake test data and use the test
525 data to generate different kinds of test failures, getting
526 much better coverage.
528 https://bugs.webkit.org/show_bug.cgi?id=44556
530 * Scripts/webkitpy/layout_tests/data/failures/expected/crash.html: Added.
531 * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.checksum: Added.
532 * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.png: Added.
533 * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.txt: Added.
534 * Scripts/webkitpy/layout_tests/data/failures/expected/image.html: Added.
535 * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.checksum: Added.
536 * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.png: Added.
537 * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.txt: Added.
538 * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html: Added.
539 * Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html: Added.
540 * Scripts/webkitpy/layout_tests/data/failures/expected/missing_text.html: Added.
541 * Scripts/webkitpy/layout_tests/data/failures/expected/text-expected.txt: Added.
542 * Scripts/webkitpy/layout_tests/data/failures/expected/text.html: Added.
543 * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.checksum: Added.
544 * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.png: Added.
545 * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.txt: Added.
546 * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum.html: Added.
547 * Scripts/webkitpy/layout_tests/data/image/canvas-bg.html: Removed.
548 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.checksum: Removed.
549 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.png: Removed.
550 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.txt: Removed.
551 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom.html: Removed.
552 * Scripts/webkitpy/layout_tests/data/misc/crash-expected.txt: Removed.
553 * Scripts/webkitpy/layout_tests/data/misc/crash.html: Removed.
554 * Scripts/webkitpy/layout_tests/data/misc/missing-expectation.html: Removed.
555 * Scripts/webkitpy/layout_tests/data/misc/passing-expected.txt: Removed.
556 * Scripts/webkitpy/layout_tests/data/misc/passing.html: Removed.
557 * Scripts/webkitpy/layout_tests/data/passes/image-expected.checksum: Added.
558 * Scripts/webkitpy/layout_tests/data/passes/image-expected.png: Added.
559 * Scripts/webkitpy/layout_tests/data/passes/image-expected.txt: Added.
560 * Scripts/webkitpy/layout_tests/data/passes/image.html: Added.
561 * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.checksum: Added.
562 * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.png: Added.
563 * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.txt: Added.
564 * Scripts/webkitpy/layout_tests/data/passes/platform_image.html: Added.
565 * Scripts/webkitpy/layout_tests/data/passes/text-expected.txt: Added.
566 * Scripts/webkitpy/layout_tests/data/passes/text.html: Added.
567 * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.checksum: Removed.
568 * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.png: Removed.
569 * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.txt: Removed.
570 * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.checksum: Added.
571 * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.png: Added.
572 * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.txt: Added.
573 * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
574 * Scripts/webkitpy/layout_tests/data/text/article-element-expected.txt: Removed.
575 * Scripts/webkitpy/layout_tests/data/text/article-element.html: Removed.
576 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
577 * Scripts/webkitpy/layout_tests/port/test.py:
578 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
579 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
581 2010-08-24 Dirk Pranke <dpranke@chromium.org>
583 Reviewed by Eric Seidel.
585 speed up new-run-webkit-tests unit tests
587 Add a --no-record-results flag that turns off generating the JSON
588 results file on every test run. Generating the file requires us to
589 fetch the old results down from the bots, which can be slow. This
590 flag is off by default.
592 Reduce the sleep time in wait_for_threads_to_finish from 0.1s to 0.01s.
594 These changes together shorten the test cycle from ~4.5s to ~1.5s
597 https://bugs.webkit.org/show_bug.cgi?id=44553
599 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
600 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
602 2010-08-24 Tony Chang <tony@chromium.org>
604 Reviewed by Eric Seidel.
606 [chromium] fix the platform result fallback order on mac/win
607 https://bugs.webkit.org/show_bug.cgi?id=44483
609 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
611 2010-08-24 Xan Lopez <xlopez@igalia.com>
613 Reviewed by Martin Robinson.
615 Set a device to the event struct when building with GTK+ 3.x, it's
618 * DumpRenderTree/gtk/EventSender.cpp:
621 2010-08-24 Martin Robinson <mrobinson@igalia.com>
623 Reviewed by Xan Lopez.
625 [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
626 https://bugs.webkit.org/show_bug.cgi?id=44534
628 Fix two double-frees introduced in my previous commit.
630 * DumpRenderTree/gtk/EventSender.cpp:
631 (contextClickCallback): Copy the event before using it again.
632 (keyDownCallback): Ditto.
634 2010-08-24 Martin Robinson <mrobinson@igalia.com>
636 Reviewed by Xan Lopez.
638 [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
639 https://bugs.webkit.org/show_bug.cgi?id=44534
641 * DumpRenderTree/gtk/EventSender.cpp:
642 (prepareMouseButtonEvent): Use gdk_event_new and reference the reference the GdkWindow
643 when setting it on the event. It is dereferenced by gdk_event_free(...).
644 (contextClickCallback): Ditto.
645 (mouseDownCallback): Ditto.
646 (mouseUpCallback): Ditto.
647 (mouseMoveToCallback): Ditto.
648 (mouseWheelToCallback): Ditto.
649 (sendOrQueueEvent): Take a GdkEvent* instead of a GdkEvent.
650 (dispatchEvent): Ditto. Also free the event when we are done with it.
651 (keyDownCallback): Use gdk_event_new and reference the GdkWindow.
653 2010-08-24 Andras Becsi <abecsi@webkit.org>
655 [Qt] WebKit2 build fix.
657 * Scripts/enumerate-included-framework-headers:
658 Remove stray global option form sed.
660 2010-08-24 Kent Tamura <tkent@chromium.org>
662 Reviewed by Jeremy Orlow.
664 [DRT/Chromium] Support for IndexedDB tests
665 https://bugs.webkit.org/show_bug.cgi?id=44490
667 * DumpRenderTree/chromium/TestShell.cpp:
668 (TestShell::TestShell): Enable IndexedDB.
670 2010-08-23 Martin Robinson <mrobinson@igalia.com>
672 Reviewed by Gustavo Noronha Silva.
674 [GTK] The 64-bit Release bot is showing crashes on tests that use mouse buttons
675 https://bugs.webkit.org/show_bug.cgi?id=44465
677 Initialize the axes field of mouse button and motion events to null.
678 This is the value that should be used for events originating from the
681 * DumpRenderTree/gtk/EventSender.cpp:
682 (prepareMouseButtonEvent): Initalize button event axes field to null.
683 (mouseMoveToCallback): Initialize motion event axes field to null.
685 2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>
687 Unreviewed, rolling out r65703.
688 http://trac.webkit.org/changeset/65703
689 https://bugs.webkit.org/show_bug.cgi?id=44460
691 "Causing lots of crashes on Snow Leopard when running the
692 layout tests" (Requested by eseidel2 on #webkit).
694 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
698 2010-08-23 Jon Honeycutt <jhoneycutt@apple.com>
700 Layout tests do not run when using WebKitTestRunner in a Debug build.
701 https://bugs.webkit.org/show_bug.cgi?id=44409
703 Reviewed by Dan Bernstein.
705 * WebKitTestRunner/win/TestControllerWin.cpp:
706 (WTR::TestController::initializeInjectedBundlePath):
707 Use InjectedBundle_debug.dll when building Debug.
709 2010-08-23 Xan Lopez <xlopez@igalia.com>
711 Reviewed by Martin Robinson.
713 [GTK] run-launcher fails if WebKitGTK+ compiled with GTK+-3.0 support
714 https://bugs.webkit.org/show_bug.cgi?id=42026
716 If a GTK+ 3.x build is present return that as the library to use,
717 otherwise fallback to the GTK+ 2.x build.
719 * Scripts/webkitdirs.pm:
721 2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>
723 Reviewed by Ariya Hidayat.
725 [Qt] Find needed forwarding headers for WebKit2 automatically
726 https://bugs.webkit.org/show_bug.cgi?id=44336
728 * MiniBrowser/qt/BrowserWindow.cpp: Use normal (not framework style) includes here.
729 The new script does not satisfy the needs of this file however using normal includes
730 is generally better here.
731 * MiniBrowser/qt/MiniBrowser.pro: Added include paths.
732 * Scripts/enumerate-included-framework-headers: Enumerates headers included from the
733 given frameworks by files in the current directory (and subdirectories).
734 In the future this needs to be rewritten in perl for being able to use on Windows.
736 2010-08-22 No'am Rosenthal <noam.rosenthal@nokia.com>
738 Reviewed by Ariya Hidayat.
740 [Qt] Qt test browser: enable a QGLWidget viewport with a command line argument
741 https://bugs.webkit.org/show_bug.cgi?id=43010
743 * QtTestBrowser/launcherwindow.cpp:
744 (LauncherWindow::applyPrefs):
745 * QtTestBrowser/main.cpp:
746 (LauncherApplication::handleUserOptions):
748 2010-08-21 Sam Weinig <sam@webkit.org>
750 Reviewed by Dan Bernstein.
752 Remove specialized retain/release functions in favor of a single one for WKTypeRefs
753 https://bugs.webkit.org/show_bug.cgi?id=44386
755 * MiniBrowser/mac/AppDelegate.m:
756 (didRecieveMessageFromInjectedBundle):
757 (didNavigateWithNavigationData):
758 (-[BrowserAppDelegate init]):
759 (-[BrowserAppDelegate applicationWillTerminate:]):
760 * MiniBrowser/mac/BrowserStatisticsWindowController.m:
761 (-[BrowserStatisticsWindowController initWithThreadedWKContextRef:processWKContextRef:]):
762 (-[BrowserStatisticsWindowController dealloc]):
763 * MiniBrowser/mac/BrowserWindowController.m:
764 (-[BrowserWindowController initWithPageNamespace:]):
765 (-[BrowserWindowController fetch:]):
766 (-[BrowserWindowController windowWillClose:]):
767 (-[BrowserWindowController applicationTerminating]):
769 (runJavaScriptAlert):
770 (runJavaScriptConfirm):
771 (runJavaScriptPrompt):
772 (-[BrowserWindowController updateProvisionalURLForFrame:]):
773 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
774 (didClearWindowObjectForFrame):
775 * MiniBrowser/win/BrowserView.cpp:
776 (BrowserView::goToURL):
777 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
778 (WTR::PlatformWebView::~PlatformWebView):
780 2010-08-20 Benjamin Poulain <benjamin.poulain@nokia.com>
782 Reviewed by Kenneth Rohde Christiansen.
784 WebKit does not build with Python 2.3
785 https://bugs.webkit.org/show_bug.cgi?id=44373
787 Replaced the function sorted() by a call to sort()
789 The function sorted() has been added to Python 2.4.
790 The function method sort() of List works with older
793 * Scripts/create-html-entity-table:
795 2010-08-20 Martin Robinson <mrobinson@igalia.com>
797 Reviewed by Pavel Feldman.
799 Web Inspector: Inspector tests were disabled for GTK.
800 https://bugs.webkit.org/show_bug.cgi?id=43977
802 * Scripts/old-run-webkit-tests: Set the WEBKIT_INSPECTOR_PATH to the appropriate
803 path before running tests.
805 2010-08-20 Daniel Bates <dbates@rim.com>
807 Reviewed by Eric Seidel.
809 svn-apply doesn't detect empty line with Windows line endings
811 https://bugs.webkit.org/show_bug.cgi?id=43981
815 Add unit tests that were not landed in the first commit.
817 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
818 - Added the following test cases:
819 "SVN: binary file (isBinary true) using Windows line endings"
820 "SVN: property diff, followed by file change diff using Windows line endings"
821 "SVN: two consecutive property diffs using Windows line endings"
822 "SVN: binary file with executable bit change usng Windows line endings"
823 "SVN: binary file followed by property change on different file using Windows line endings"
824 "SVN: binary file followed by file change on different file using Windows line endings"
825 "SVN: file change diff with property change, followed by property change diff using Windows line endings"
826 "SVN: file change diff with property change, followed by file change diff using Windows line endings"
827 * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
828 - Added the following test cases:
829 "add svn:executable, followed by empty line and start of next diff using Windows line endings"
830 "add svn:executable, followed by empty line and start of next property diff using Windows line endings"
831 "multi-line '+' change, followed by empty line and start of next diff using Windows line endings"
832 "multi-line '+' change, followed by empty line and start of next property diff using Windows line endings"
833 "add svn:executable, followed by empty line and start of binary patch using Windows line endings"
834 "multi-line '+' change, followed by empty line and start of binary patch using Windows line endings"
835 "multi-line '-' change, followed by multi-line '+' change, empty line, and start of binary patch using Windows line endings"
836 "single-line '+' with trailing new line using Windows line endings"
837 "single-line '+' with trailing new line, followed by empty line and start of binary patch using Windows line endings"
838 "single-line '-' change with trailing new line, and single-line '+' change using Windows line endings"
839 "multi-line '-' change with trailing new line, and multi-line '+' change using Windows line endings"
840 * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
841 - Added the following test cases:
842 "single-line '-' change followed by empty line with Windows line endings"
843 "multi-line '+' change and start of binary patch with Windows line endings"
845 2010-08-20 Daniel Bates <dbates@rim.com>
847 Reviewed by Eric Seidel.
849 svn-apply doesn't detect empty line with Windows line endings
851 https://bugs.webkit.org/show_bug.cgi?id=43981
853 Fixes an issue where an empty line following the property value
854 in an SVN property change diff would not be detected if it had
855 Windows line endings (i.e. ended in CRLF). Hence it was consumed
856 as if it was part of a multi-line property value.
858 * Scripts/VCSUtils.pm:
859 - Modified parseSvnPropertyValue() to detect empty line
860 with Windows line endings.
861 - Added toWindowsLineEndings().
862 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
863 - Added the following test cases:
864 "SVN: binary file (isBinary true) using Windows line endings"
865 "SVN: property diff, followed by file change diff using Windows line endings"
866 "SVN: two consecutive property diffs using Windows line endings"
867 "SVN: binary file with executable bit change usng Windows line endings"
868 "SVN: binary file followed by property change on different file using Windows line endings"
869 "SVN: binary file followed by file change on different file using Windows line endings"
870 "SVN: file change diff with property change, followed by property change diff using Windows line endings"
871 "SVN: file change diff with property change, followed by file change diff using Windows line endings"
872 * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
873 - Added the following test cases:
874 "add svn:executable, followed by empty line and start of next diff using Windows line endings"
875 "add svn:executable, followed by empty line and start of next property diff using Windows line endings"
876 "multi-line '+' change, followed by empty line and start of next diff using Windows line endings"
877 "multi-line '+' change, followed by empty line and start of next property diff using Windows line endings"
878 "add svn:executable, followed by empty line and start of binary patch using Windows line endings"
879 "multi-line '+' change, followed by empty line and start of binary patch using Windows line endings"
880 "multi-line '-' change, followed by multi-line '+' change, empty line, and start of binary patch using Windows line endings"
881 "single-line '+' with trailing new line using Windows line endings"
882 "single-line '+' with trailing new line, followed by empty line and start of binary patch using Windows line endings"
883 "single-line '-' change with trailing new line, and single-line '+' change using Windows line endings"
884 "multi-line '-' change with trailing new line, and multi-line '+' change using Windows line endings"
885 * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
886 - Added the following test cases:
887 "single-line '-' change followed by empty line with Windows line endings"
888 "multi-line '+' change and start of binary patch with Windows line endings"
890 2010-08-19 David Kilzer <ddkilzer@apple.com>
892 BUILD FIX: Fix Mac build after Windows WebKit2 changes for Netscape Plug-ins
894 * MiniBrowser/mac/BrowserWindowController.m:
895 (decidePolicyForNavigationAction): Updated method signature.
896 (decidePolicyForNewWindowAction): Updated method signature.
898 2010-08-19 Adam Roben <aroben@apple.com>
900 Test that NP_Initialize and NP_GetEntryPoints are called in the
903 The order differs between Mac and Windows (see r38858).
905 Fixes <http://webkit.org/b/44270> <rdar://problem/8330393> Crash in
906 NP_Initialize when loading QuickTime when running
907 plugins/embed-attributes-setting.html in WebKit2 on Windows
909 Reviewed by Sam Weinig.
911 * DumpRenderTree/TestNetscapePlugIn/main.cpp: Added a CRASH macro and
912 a boolean to record whether NP_GetEntryPoints has been called.
913 (NP_Initialize): Crash on Windows if NP_GetEntryPoints hasn't been
914 called yet. This matches Flash and QuickTime's behavior. Crash on Mac
915 if NP_GetEntryPoints has been called already. This matches
916 Silverlight's behavior.
918 2010-08-19 Adam Roben <aroben@apple.com>
920 Make build-webkittestrunner build TestNetscapePlugIn on Windows
922 Fixes <http://webkit.org/b/44268> <rdar://problem/8330388>
924 Reviewed by Sam Weinig.
926 * WebKitTestRunner/WebKitTestRunner.sln: Added TestNetscapePlugIn.
927 Threaded it in between ImageDiff and InjectedBundleGenerated.
929 2010-08-19 Ojan Vafai <ojan@chromium.org>
931 Reviewed by Adam Barth.
933 install rietveld's upload script from a versioned url
934 https://bugs.webkit.org/show_bug.cgi?id=44291
936 autoinstall expects the file at a given URL to never change.
937 In order to be able to update the file, we need to be able to
940 * Scripts/webkitpy/thirdparty/__init__.py:
942 2010-08-19 Ojan Vafai <ojan@chromium.org>
944 Reviewed by Adam Barth.
946 add --webkit_patch_id to reitveld uploads
947 https://bugs.webkit.org/show_bug.cgi?id=44289
949 This is the first step in having rietveld store which
950 patches have been uploaded and getting rid of the
953 * Scripts/webkitpy/common/net/rietveld.py:
954 * Scripts/webkitpy/tool/mocktool.py:
955 * Scripts/webkitpy/tool/steps/postcodereview.py:
957 2010-08-19 Kenneth Russell <kbr@google.com>
959 Reviewed by David Levin.
961 Adjust my status from committer to reviewer
962 https://bugs.webkit.org/show_bug.cgi?id=44277
964 * Scripts/webkitpy/common/config/committers.py:
966 2010-08-19 Pavel Feldman <pfeldman@chromium.org>
968 Reviewed by Yury Semikhatsky.
970 Chromium DevTools: remove injected script fetcher from test harness.
971 https://bugs.webkit.org/show_bug.cgi?id=44266
973 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
974 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
976 2010-08-19 Pavel Feldman <pfeldman@chromium.org>
978 Reviewed by Yury Semikhatsky.
980 Chromium DevTools: There is no need in resource-based InjectedScript.js source.
981 Now that we populate front-end after its onload handler, we don't need
982 to install injected script early. Exposing injected script source on the WebCore
984 https://bugs.webkit.org/show_bug.cgi?id=44029
986 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
987 (DRTDevToolsAgent::runtimePropertyChanged):
988 (DRTDevToolsAgent::delayedFrontendLoaded):
989 (DRTDevToolsAgent::frontendLoaded):
990 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
992 2010-08-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
994 Reviewed by Kenneth Rohde Christiansen.
996 [Gtk] Enable view mode media feature layout test
997 https://bugs.webkit.org/show_bug.cgi?id=43278
999 Add view mode media feature testing infrastructure, and add
1000 placeholder methods for the other platforms'
1001 LayoutTestControllers.
1003 * DumpRenderTree/LayoutTestController.cpp:
1004 (setViewModeMediaFeatureCallback):
1005 (LayoutTestController::staticFunctions):
1006 * DumpRenderTree/LayoutTestController.h:
1007 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1008 (LayoutTestController::setViewModeMediaFeature):
1009 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1010 (LayoutTestController::setViewModeMediaFeature):
1011 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1012 (LayoutTestController::setViewModeMediaFeature):
1013 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1014 (LayoutTestController::setViewModeMediaFeature):
1016 2010-08-18 Mark Rowe <mrowe@apple.com>
1018 Reviewed by Sam Weinig.
1020 Make it so the WebKit2 test slave runs the WebKit2 tests
1022 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1024 2010-08-18 Sam Weinig <sam@webkit.org>
1026 Reviewed by Mark Rowe.
1028 Make run-webkit-tests --webkit-test-runner build DumpRenderTree
1029 in addition to WebKitTestRunner to get the DumpRenderTreeSupport
1030 module and the TestNetscapePlugin.
1032 * Scripts/old-run-webkit-tests:
1034 2010-08-18 Adam Roben <aroben@apple.com>
1036 Fix hang when saving crash logs on Windows
1038 * Scripts/old-run-webkit-tests:
1039 (setUpWindowsCrashLogSaving):
1041 Pass -s to regtool so it will write the Auto value as a string instead
1042 of as a number. This was causing a "do you want to debug?" dialog to
1045 2010-08-17 Victor Wang <victorw@chromium.org>
1047 Unreviewed. Fixed chromium incremental test json upload.
1048 Quote builder name and test results server in url.
1050 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1052 2010-08-17 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1054 Reviewed by Ariya Hidayat.
1056 [Qt] [Symbian] Consistently use Q_OS_SYMBIAN to guard all Symbian platform dependencies
1057 https://bugs.webkit.org/show_bug.cgi?id=44124
1059 Q_WS_S60 is not defined for Symbian^4 devices as Q_WS_S60 used to guard
1060 Avkon UI framework dependencies. Use Q_OS_SYMBIAN everywhere to mark
1061 Symbian dependencies.
1063 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1064 (WebCore::DumpRenderTree::open):
1065 * QtTestBrowser/launcherwindow.cpp:
1066 (LauncherWindow::init):
1067 (LauncherWindow::toggleFullScreenMode):
1068 (LauncherWindow::showFPS):
1069 (LauncherWindow::updateFPS):
1070 * QtTestBrowser/launcherwindow.h:
1071 (WindowOptions::WindowOptions):
1072 * QtTestBrowser/mainwindow.cpp:
1073 (MainWindow::buildUI):
1075 2010-08-17 Dirk Pranke <dpranke@chromium.org>
1077 Reviewed by David Levin.
1079 new-run-webkit-tests: remove --show-sources option
1081 --show-sources is pretty much obsolete with --trace everything, so
1084 Also rename a couple of methods in the TestTextDiff class to make their
1085 intended visibility (private) more obvious.
1087 https://bugs.webkit.org/show_bug.cgi?id=44143
1089 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
1090 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1091 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
1092 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
1093 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
1095 2010-08-17 Dirk Pranke <dpranke@chromium.org>
1097 Reviewed by David Levin.
1099 remove --fuzzy-image-diff in new-run-webkit-tests (it doesn't work)
1101 This code bit-rotted at some point more than a year ago, and nobody seems
1102 to miss it. old-run-webkit-tests has a --tolerance flag that new-run-webkit-tests
1103 should support instead, making this flag unnecessary anyway.
1105 https://bugs.webkit.org/show_bug.cgi?id=44141
1107 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
1108 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1109 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Removed.
1111 2010-08-17 Victor Wang <victorw@chromium.org>
1113 Reviewed by Ojan Vafai.
1115 Update json results generator to have incremental json including
1116 results for tests that pass in current run but failed before.
1118 https://bugs.webkit.org/show_bug.cgi?id=44119
1120 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1121 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1122 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1124 2010-08-17 Dirk Pranke <dpranke@chromium.org>
1126 Reviewed by Eric Seidel.
1128 fix test-webkitpy, add easy way to find a checkout root
1130 test-webkitpy currently doesn't work right if run from someplace other
1131 than the checkout root, and it spews a bunch of debug logging because
1132 the deduplicate_tests tests contaminates the test environment.
1134 This patch cleans up the deduplicate_tests unit tests, and creates
1135 two new methods in scm.py: find_checkout_root() and default_scm(),
1136 both of which use a single algorithm for guessing what checkout root
1137 to use if you aren't explicitly told one from a path.
1139 https://bugs.webkit.org/show_bug.cgi?id=44001
1141 * Scripts/deduplicate-tests:
1142 * Scripts/webkitpy/common/checkout/scm.py:
1143 * Scripts/webkitpy/common/checkout/scm_unittest.py:
1144 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
1145 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
1146 * Scripts/webkitpy/layout_tests/port/test.py:
1147 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
1148 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
1149 * Scripts/webkitpy/tool/main.py:
1151 2010-08-17 Victor Wang <victorw@chromium.org>
1153 Reviewed by Ojan Vafai.
1155 Add support to the test results server for downloading json that
1156 contains test list only.
1158 This is for json results generator to generate incremental json
1159 results so that it includes results not only for tests failed in
1160 current run, but also tests failed before.
1162 Also set the results type to "N" (no data) instead of "P" (pass)
1163 if test results cannot be found in incremental json file.
1165 https://bugs.webkit.org/show_bug.cgi?id=44117
1167 * TestResultServer/handlers/testfilehandler.py:
1168 * TestResultServer/model/jsonresults.py:
1169 * TestResultServer/model/jsonresults_unittest.py:
1171 2010-08-17 Adam Roben <aroben@apple.com>
1173 Use the right path style
1175 * Scripts/old-run-webkit-tests:
1177 2010-08-17 Adam Roben <aroben@apple.com>
1181 * Scripts/old-run-webkit-tests:
1183 2010-08-17 Adam Roben <aroben@apple.com>
1185 Don't hang when running run-webkit-tests as a non-Administrator on
1188 * Scripts/old-run-webkit-tests:
1189 (setUpWindowsCrashLogSaving): Use regtool to set NTSD as the
1190 post-mortem debugger, rather than using NTSD itself. The latter waits
1191 for user input when it fails to set the registry values; the former
1194 2010-08-17 Adam Roben <aroben@apple.com>
1196 Teach run-webkit-tests, DumpRenderTree, and WebKitTestRunner how to
1197 save crash logs on Windows
1199 The crash logs are saved to /tmp/layout-test-results and have names
1200 like CrashLog_02bc_2010-08-17_14-36-20-108.txt.
1202 Unfortunately, crashes in the WebKit2 web process are recorded as
1203 time-outs by run-webkit-tests. Fixing this is covered by
1204 <http://webkit.org/b/44121>.
1206 Fixes <http://webkit.org/b/37859> <rdar://problem/7883560>
1207 DumpRenderTree should save a stack trace and/or dump file when it
1210 Reviewed by Sam Weinig.
1212 * DumpRenderTree/win/DumpRenderTree.cpp:
1215 * WebKitTestRunner/win/TestControllerWin.cpp:
1216 (WTR::exceptionFilter):
1217 (WTR::TestController::platformInitialize):
1218 These changes set up an exception filter that prints #CRASHED to
1219 stderr, then lets the exception propagate normally. This allows
1220 run-webkit-tests to detect when we've crashed even when a post-mortem
1221 debugger attaches to the process.
1223 * Scripts/old-run-webkit-tests:
1224 (top level): Declared some variables used by the crash-log-saving
1226 (openDumpTool): Copy _NT_SYMBOL_PATH into the clean environment so
1227 that the post-mortem debugger has access to it.
1228 (toCygwinPath): Added. This is the opposite of toWindowsPath.
1229 (readFromDumpToolWithTimer): If the dump tool prints #CRASHED to
1230 stderr, consider it a crash.
1231 (setUpWindowsCrashLogSaving): Added. Saves the current post-mortem
1232 debugger, then sets ntsd as the post-mortem debugger. ntsd is
1233 configured to save a crash log and then quit automatically.
1234 (END): Added. Restores the previous post-mortem debugger when the
1237 2010-08-17 Victor Wang <victorw@chromium.org>
1239 Reviewed by ojan@chromium.org.
1241 Update test results server:
1242 1. Normalize test results and times after merging (prune tests where
1243 all runs pass or do not have data, truncate all test items to max
1245 2. times should be int not string.
1246 3. when inserting a new test item, should keep old data regardless
1247 whether or not they have same item type with new one.
1249 https://bugs.webkit.org/show_bug.cgi?id=43861
1251 * TestResultServer/model/jsonresults.py:
1252 * TestResultServer/model/jsonresults_unittest.py:
1254 2010-08-16 Sam Weinig <sam@webkit.org>
1256 Reviewed by Mark Rowe.
1258 Add WebKit2 Mac tester to buildbot.
1260 * BuildSlaveSupport/build.webkit.org-config/config.json:
1261 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1263 2010-08-16 Paul Sawaya <psawaya@apple.com>
1265 Reviewed by Chris Marrin.
1267 Added shader validation via ANGLE
1268 https://bugs.webkit.org/show_bug.cgi?id=42405
1270 Added ANGLE to webkit build
1272 * Scripts/build-webkit:
1274 2010-08-16 Kevin Ollivier <kevino@theolliviers.com>
1276 [wx] Build fix, do not build WebCore as a convenience library as this leads to
1277 errors in the Win build w/export symbols and causes problems with DOM bindings
1280 * DumpRenderTree/wscript:
1281 * Scripts/build-webkit:
1282 * wx/browser/wscript:
1283 * wx/build/settings.py:
1284 * wx/build/waf_extensions.py:
1286 2010-08-16 Dan Bernstein <mitz@apple.com>
1290 * WebKitTestRunner/TestController.cpp:
1291 (WTR::createOtherPage): Initialize the contentsSizeChanged member.
1292 (WTR::TestController::initialize): Ditto.
1294 2010-08-16 Balazs Kelemen <kb@inf.u-szeged.hu>
1296 Reviewed by Kenneth Rohde Christiansen.
1298 Handle content size change in WebKit2
1299 Re-landing after fix.
1301 https://bugs.webkit.org/show_bug.cgi?id=43198
1303 * MiniBrowser/mac/BrowserWindowController.m:
1304 (-[BrowserWindowController awakeFromNib]): Initialize WKPageUICallback::contetsSizeChanged to 0.
1305 * MiniBrowser/win/BrowserView.cpp:
1306 (BrowserView::create): Initialize WKPageUICallback::contetsSizeChanged to 0.
1308 2010-08-16 Sheriff Bot <webkit.review.bot@gmail.com>
1310 Unreviewed, rolling out r65419.
1311 http://trac.webkit.org/changeset/65419
1312 https://bugs.webkit.org/show_bug.cgi?id=44053
1314 Broke the Windows build (Requested by bbandix on #webkit).
1316 * MiniBrowser/mac/BrowserWindowController.m:
1317 (-[BrowserWindowController awakeFromNib]):
1318 * MiniBrowser/win/BrowserView.cpp:
1319 (BrowserView::create):
1321 2010-08-16 Balazs Kelemen <kb@inf.u-szeged.hu>
1323 Reviewed by Kenneth Rohde Christiansen.
1325 Handle content size change in WebKit2
1327 https://bugs.webkit.org/show_bug.cgi?id=43198
1329 * MiniBrowser/mac/BrowserWindowController.m:
1330 (-[BrowserWindowController awakeFromNib]): Initialize WKPageUICallback::contetsSizeChanged to 0.
1331 * MiniBrowser/win/BrowserView.cpp:
1332 (BrowserView::create): Initialize WKPageUICallback::contetsSizeChanged to 0.
1334 2010-08-16 Ariya Hidayat <ariya@sencha.com>
1336 Add my new email address to committers.py.
1338 * Scripts/webkitpy/common/config/committers.py:
1340 2010-08-16 Zoltan Horvath <zoltan@webkit.org>
1342 Add my old e-mail addresses to committers.py.
1344 * Scripts/webkitpy/common/config/committers.py:
1346 2010-08-15 Jon Honeycutt <jhoneycutt@apple.com>
1348 WebEditorClient::didBeginEditing is never called in WebKit2
1349 https://bugs.webkit.org/show_bug.cgi?id=42939
1351 Reviewed by Sam Weinig.
1353 * WebKitTestRunner/PlatformWebView.h:
1356 * WebKitTestRunner/TestController.cpp:
1357 (WTR::TestController::resetStateToConsistentValues):
1358 Focus the PlatformWebView.
1360 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1361 (WTR::PlatformWebView::focus):
1364 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
1365 (WTR::PlatformWebView::focus):
1368 2010-08-15 Jon Honeycutt <jhoneycutt@apple.com>
1370 run-webkit-tests should not strip editing callbacks when using
1371 WebKitTestRunner on Windows
1372 https://bugs.webkit.org/show_bug.cgi?id=44000
1374 Reviewed by Mark Rowe.
1376 * Scripts/old-run-webkit-tests:
1377 Leave $stripEditingCallbacks undefined until we look for command-line
1378 arguments. If using WebKit2, set it to 0 if not explicity set on the
1379 command line. Later, set it to isCygwin() to match old behavior if it is
1382 2010-08-15 Kevin Ollivier <kevino@theolliviers.com>
1384 [wx] Build fix, remove define always set to the correct value by wtf/Platform.h.
1386 * wx/build/settings.py:
1388 2010-08-14 Martin Robinson <mrobinson@igalia.com>
1390 Reviewed by Kenneth Rohde Christiansen.
1392 [GTK] autogen.sh not executed if build-webkit options change
1393 https://bugs.webkit.org/show_bug.cgi?id=42266
1395 Rerun autogen.sh in situations where the arguments to build-webkit have
1396 changed since the previous build. This will fix some issues on the bots
1397 where the build does not notice changes to default build-webkit arguments.
1399 * Scripts/webkitdirs.pm: Add special logic for detecting changes to build-webkit arguments.
1401 2010-08-14 Eric Seidel <eric@webkit.org>
1403 Unreviewed. Another fix to support python 2.3.
1405 Add support for MathML entities
1406 https://bugs.webkit.org/show_bug.cgi?id=43949
1408 * Scripts/webkitpy/thirdparty/simplejson/decoder.py:
1409 - It looks like our simplejson is version 1.7.3 which
1410 should be python 2.3 compatible. But someone modified
1411 our copy slightly from the original source.
1412 I've removed the relative import in hopes this fixes
1415 2010-08-13 Eric Seidel <eric@webkit.org>
1417 Unreviewed. Build fix only.
1419 Add support for MathML entities
1420 https://bugs.webkit.org/show_bug.cgi?id=43949
1422 * Scripts/create-html-entity-table:
1423 - Hack sys.path to avoid executing 2.5 dependent python
1424 on systems (like chromium-win and Tiger) which do not have 2.5 python.
1426 2010-08-13 Adam Barth <abarth@webkit.org>
1428 Reviewed by Eric Seidel.
1430 Rename some concepts in HTML entity search to be more self-documenting
1431 https://bugs.webkit.org/show_bug.cgi?id=44004
1433 Reflect name change in generator script.
1435 * Scripts/create-html-entity-table:
1437 2010-08-12 Adam Barth <abarth@webkit.org>
1439 Reviewed by Eric Seidel.
1441 Add support for MathML entities
1442 https://bugs.webkit.org/show_bug.cgi?id=43949
1444 A script for generating the C++ state data structure describing all the
1445 entities from a JSON description.
1447 * Scripts/create-html-entity-table: Added.
1449 2010-08-13 Dirk Pranke <dpranke@chromium.org>
1451 Reviewed by Eric Seidel.
1453 Rewrite new-run-webkit-test's wait_for_threads_to_finish loop to
1454 check for exceptions on all threads, not just the first thread.
1456 This change also changes the logging behavior for wedged threads
1457 to only dump the stacks of threads that are actually wedged.
1459 Refactor the thread classes in the dump_render_tree_thread module
1460 to make the contract between TestRunner and TestShellThread clearer.
1462 Added a bunch of unit tests.
1463 https://bugs.webkit.org/show_bug.cgi?id=38561
1465 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1466 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1467 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1469 2010-08-13 Kenichi Ishibashi <bashi@google.com>
1471 Reviewed by Shinichiro Hamaji.
1473 Add test_expectations.txt syntax checker to check-webkit-style.
1474 https://bugs.webkit.org/show_bug.cgi?id=43899
1476 Just utilizing layout_tests/layout_package/test_expectations.py for checking
1477 the syntax of test_expectations.txt.
1478 This change also moves tab checking class from style/checkers/text.py to
1479 style/checkers/common.py for sharing code.
1481 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
1482 * Scripts/webkitpy/style/checker.py:
1483 * Scripts/webkitpy/style/checkers/common.py:
1484 * Scripts/webkitpy/style/checkers/common_unittest.py:
1485 * Scripts/webkitpy/style/checkers/test_expectations.py: Added.
1486 * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Added.
1487 * Scripts/webkitpy/style/checkers/text.py:
1488 * Scripts/webkitpy/style_references.py:
1490 2010-08-12 Jon Honeycutt <jhoneycutt@apple.com>
1492 WebKitTestRunner does not correctly resize WebView for W3C SVG tests
1493 https://bugs.webkit.org/show_bug.cgi?id=43945
1495 Reviewed by Sam Weinig.
1497 * WebKitTestRunner/TestInvocation.cpp:
1498 (WTR::sizeWebViewForCurrentTest):
1499 Allow for a Windows-style path.
1501 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
1502 (WTR::PlatformWebView::resizeTo):
1503 Call SetWindowPos to resize the view window.
1505 2010-08-12 David Levin <levin@chromium.org>
1509 * WebKitTestRunner/TestController.cpp:
1510 (WTR::TestController::resetStateToConsistentValues): Removed usage
1511 of a variable that doesn't exist in the class.
1513 2010-08-12 Jon Honeycutt <jhoneycutt@apple.com>
1515 WebKitTestRunner needs to run tests without using native controls
1516 https://bugs.webkit.org/show_bug.cgi?id=43772
1518 Reviewed by Sam Weinig.
1520 * WebKitTestRunner/TestController.cpp:
1521 (WTR::TestController::initialize):
1522 Call platformInitializeContext().
1524 * WebKitTestRunner/TestController.h:
1525 Declare platformInitializeContext().
1527 * WebKitTestRunner/mac/TestControllerMac.mm:
1528 (WTR::TestController::platformInitializeContext):
1531 * WebKitTestRunner/win/TestControllerWin.cpp:
1532 (WTR::TestController::platformInitializeContext):
1533 Call WKContextSetShouldPaintNativeControls() to disable native control
1536 2010-08-12 Sam Weinig <sam@webkit.org>
1538 Reviewed by Alexey Proskuryakov.
1540 WebKitTestRunner should be more aggressive about ensuring consistent state between tests
1541 https://bugs.webkit.org/show_bug.cgi?id=43653
1543 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1544 (WTR::InjectedBundle::InjectedBundle):
1545 (WTR::InjectedBundle::didReceiveMessage):
1546 (WTR::InjectedBundle::beginTesting):
1547 (WTR::InjectedBundle::done):
1548 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1549 (WTR::InjectedBundle::isTestRunning):
1550 (WTR::InjectedBundle::):
1551 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1552 (WTR::InjectedBundlePage::stopLoading):
1553 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
1554 (WTR::InjectedBundlePage::dump):
1555 (WTR::InjectedBundlePage::didFinishLoadForFrame):
1556 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
1557 (WTR::InjectedBundlePage::didReceiveTitleForFrame):
1558 (WTR::InjectedBundlePage::didClearWindowForFrame):
1559 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
1560 (WTR::InjectedBundlePage::willAddMessageToConsole):
1561 (WTR::InjectedBundlePage::willSetStatusbarText):
1562 (WTR::InjectedBundlePage::willRunJavaScriptAlert):
1563 (WTR::InjectedBundlePage::willRunJavaScriptConfirm):
1564 (WTR::InjectedBundlePage::shouldBeginEditing):
1565 (WTR::InjectedBundlePage::shouldEndEditing):
1566 (WTR::InjectedBundlePage::shouldInsertNode):
1567 (WTR::InjectedBundlePage::shouldInsertText):
1568 (WTR::InjectedBundlePage::shouldDeleteRange):
1569 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
1570 (WTR::InjectedBundlePage::shouldApplyStyle):
1571 (WTR::InjectedBundlePage::didBeginEditing):
1572 (WTR::InjectedBundlePage::didEndEditing):
1573 (WTR::InjectedBundlePage::didChange):
1574 (WTR::InjectedBundlePage::didChangeSelection):
1575 Don't do any work if we are not currently running a test.
1577 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1578 * WebKitTestRunner/StringFunctions.h:
1580 Add conversion function for WKURLRef -> CFURLRef
1582 * WebKitTestRunner/TestController.cpp:
1583 (WTR::TestController::TestController):
1584 (WTR::TestController::initialize):
1585 (WTR::TestController::resetStateToConsistentValues):
1586 (WTR::TestController::runTest):
1587 (WTR::TestController::didFinishLoadForFrame):
1588 * WebKitTestRunner/TestController.h:
1589 (WTR::TestController::):
1590 * WebKitTestRunner/TestInvocation.cpp:
1591 (WTR::TestInvocation::invoke):
1592 * WebKitTestRunner/TestInvocation.h:
1593 Move resetting code to TestController.
1595 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1596 * WebKitTestRunner/mac/TestControllerMac.mm:
1597 (WTR::TestController::runUntil):
1598 * WebKitTestRunner/mac/TestInvocationMac.mm: Removed.
1599 * WebKitTestRunner/win/TestControllerWin.cpp:
1600 (WTR::TestController::runUntil):
1601 * WebKitTestRunner/win/TestInvocationWin.cpp: Removed.
1602 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1603 Move runUntil to TestController.
1605 2010-08-12 Lucas De Marchi <lucas.demarchi@profusion.mobi>
1609 Adding myself to the committers list.
1611 * Scripts/webkitpy/common/config/committers.py:
1613 2010-08-12 Hayato Ito <hayato@chromium.org>
1615 Reviewed by Tony Chang.
1617 Merge pretty printers for gdb.
1618 https://bugs.webkit.org/show_bug.cgi?id=43850
1620 We need to update webcore.py because basic string classes have moved to WTF from WebCore.
1621 It is good timing to merge webcore.py and wtf.py and name it 'webkit.py'.
1622 webcore.py is left for backward compatibility.
1625 * gdb/webkit.py: Added.
1626 * gdb/wtf.py: Removed.
1628 2010-08-11 Tony Chang <tony@chromium.org>
1630 Reviewed by David Levin.
1632 [chromium] add google-chrome layout test result directories
1633 https://bugs.webkit.org/show_bug.cgi?id=43889
1635 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
1636 * Scripts/webkitpy/layout_tests/port/factory.py:
1637 * Scripts/webkitpy/layout_tests/port/google_chrome.py: Added.
1638 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
1640 2010-08-11 Kent Tamura <tkent@chromium.org>
1642 Reviewed by Dimitri Glazkov.
1644 [DRT/Chromium] Disable accelerated compositing
1645 https://bugs.webkit.org/show_bug.cgi?id=43894
1647 Disable accelerated compositing because DRT is not ready for
1648 it. This change fixes hundreds of test crashes on Windows and
1651 * DumpRenderTree/chromium/TestShell.cpp:
1652 (TestShell::resetWebSettings):
1654 2010-08-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1656 Unreviewed. Adding my Collabora personality to the list.
1658 * Scripts/webkitpy/common/config/committers.py:
1660 2010-08-11 Martin Robinson <mrobinson@igalia.com>
1662 Adding myself as a reviewer.
1664 * Scripts/webkitpy/common/config/committers.py:
1666 2010-08-11 Daniel Bates <dbates@rim.com>
1668 Reviewed by Darin Adler.
1670 Perl warnings when running commit-log-editor
1671 https://bugs.webkit.org/show_bug.cgi?id=43856
1673 Fixes Perl warnings introduced by the patch for Bug #40548.
1675 Perl doesn't have symbolic names for True/False. Instead, we
1676 should use boolean values. Moreover, the variable installedEditorApplication
1677 is not be used and should be renamed builtEditorApplication so that it
1678 uses the existing machinery to set the commit log editor application.
1680 * Scripts/commit-log-editor:
1682 2010-08-11 Adam Barth <abarth@webkit.org>
1684 Reviewed by Eric Seidel.
1686 Trying waiting for httpd lock in the EWS
1687 https://bugs.webkit.org/show_bug.cgi?id=43833
1689 If this works, we can probably run the tests on the mac-ews, which
1690 would be very exciting. :)
1692 * Scripts/webkitpy/tool/steps/runtests.py:
1694 2010-08-11 Marcus Bulach <bulach@chromium.org>
1696 Reviewed by Eric Seidel.
1698 Check in a script to list redundant test outputs.
1699 https://bugs.webkit.org/show_bug.cgi?id=37630
1701 If e.g. platform/mac-leopard is missing an expected test output, we
1702 fall back on platform/mac. This means it's possible to grow redundant
1703 test outputs, where we have the same expected data in both a platform
1704 directory and another platform it falls back on.
1705 (original patch by Evan Marting <evan@chromium.org> https://bugs.webkit.org/attachment.cgi?id=53398)
1707 * Scripts/deduplicate-tests: Added.
1708 * Scripts/webkitpy/layout_tests/deduplicate_tests.py: Added.
1709 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py: Added.
1711 2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
1713 Reviewed by Ariya Hidayat.
1715 [Qt] QtTestBrowser: after switching between QWebView and QGraphicsWebView, rotation actions get broken
1716 https://bugs.webkit.org/show_bug.cgi?id=43853
1718 LauncherWindow::createChrome is connecting menu itens to WebViewGraphicsBased's slots directly.
1719 It behaviors badly when user launches the QtTestBrowser in QWebView mode, since then switching to
1720 QGraphicsWebView mode, createChrome is not called again, and menu items end up not getting connected
1723 * QtTestBrowser/launcherwindow.cpp:
1724 (LauncherWindow::createChrome):
1725 (LauncherWindow::animatedFlip):
1726 (LauncherWindow::animatedYFlip):
1727 * QtTestBrowser/launcherwindow.h:
1729 2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
1731 Reviewed by Simon Hausmann.
1733 [Qt] QtTestBrowser: switching between QWebView and QGraphicsWebView modes is broken
1734 https://bugs.webkit.org/show_bug.cgi?id=43851
1736 All window options data (including the bool holding if the view is either QWebView or
1737 QGraphicsWebView based) is stored in m_windowOptions, a class member of LauncherWindow.
1738 When toggle the view from QWebView to QGraphicsWebView based (and vice-versa), we were
1739 not updating LauncherWindow::WindowOptions::m_useGraphicsView bit, and then things were
1742 Patch addresses this issue.
1744 * QtTestBrowser/launcherwindow.cpp:
1745 (LauncherWindow::createChrome):
1746 (LauncherWindow::toggleWebView):
1747 (LauncherWindow::toggleAcceleratedCompositing):
1749 2010-08-10 Antonio Gomes <tonikitoo@webkit.org>
1751 Reviewed by Ariya Hidayat.
1753 [Qt] QtTestBrowser: lazy instantiate "YRotation" state machine and related objects
1754 https://bugs.webkit.org/show_bug.cgi?id=43831
1756 Only instantiate QStateMachine and friends associated to the YRotation action on demand.
1758 * QtTestBrowser/webview.cpp:
1759 (WebViewGraphicsBased::WebViewGraphicsBased):
1760 (WebViewGraphicsBased::animatedYFlip):
1762 2010-08-11 Darin Adler <darin@apple.com>
1764 Reviewed by John Sullivan.
1766 Improved editor options for prepare-ChangeLog and commit-log-editor
1767 https://bugs.webkit.org/show_bug.cgi?id=40548
1769 * Scripts/commit-log-editor: Split editor strings on spaces so EDITOR
1770 values like "xed --launch --wait" work properly.
1772 * Scripts/prepare-ChangeLog: Added a new CHANGE_LOG_EDITOR so we can
1773 use a command line tool with the $openChangeLogs feature.
1775 2010-08-11 Yury Semikhatsky <yurys@chromium.org>
1777 Reviewed by Pavel Feldman.
1779 Web Inspector: remove InjectDispatch.js
1780 https://bugs.webkit.org/show_bug.cgi?id=43835
1782 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
1783 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
1785 2010-08-10 Dirk Pranke <dpranke@chromium.org>
1787 Reviewed by Eric Seidel.
1789 webkit-patch should refuse to run under Win32 Python
1790 https://bugs.webkit.org/show_bug.cgi?id=40962
1792 Given that there are lots of places in webkit-patch's code that
1793 assume unix-style filenames (forward slashes), webkit-patch fails
1794 with weird file-not-found errors when run under a native windows
1795 Python. It would be nice if we just trapped this and errored out
1796 at the beginning, rather than producing unpredictable errors.
1798 * Scripts/webkit-patch:
1800 2010-08-10 Kent Tamura <tkent@chromium.org>
1802 Unreviewed, build fix.
1804 Chromium build fix for r65107.
1806 * DumpRenderTree/chromium/LayoutTestController.cpp:
1807 (LayoutTestController::suspendAnimations):
1808 (LayoutTestController::resumeAnimations):
1810 2010-08-10 Sergio Villar Senin <svillar@igalia.com>
1812 Reviewed by Xan Lopez.
1814 [GTK] http/tests/media/video-cookie.html fails
1815 https://bugs.webkit.org/show_bug.cgi?id=42240
1817 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1818 (LayoutTestController::setAlwaysAcceptCookies): create the
1819 SoupCookieJar if it does not exist. Otherwise the accept policy
1822 2010-08-10 Chris Marrin <cmarrin@apple.com>
1824 Reviewed by Oliver Hunt.
1826 Add suspendAnimations/resumeAnimation API to DRT
1827 https://bugs.webkit.org/show_bug.cgi?id=43733
1829 Adds suspendAnimations() and resumeAnimations() to LayoutTestController.
1830 Calls functions with the same names on AnimationController for the
1833 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1834 * DumpRenderTree/LayoutTestController.cpp:
1835 (suspendAnimationsCallback):
1836 (resumeAnimationsCallback):
1837 (LayoutTestController::staticFunctions):
1838 * DumpRenderTree/LayoutTestController.h:
1839 * DumpRenderTree/chromium/LayoutTestController.cpp:
1840 (LayoutTestController::LayoutTestController):
1841 (LayoutTestController::suspendAnimations):
1842 (LayoutTestController::resumeAnimations):
1843 * DumpRenderTree/chromium/LayoutTestController.h:
1844 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1845 (LayoutTestController::suspendAnimations):
1846 (LayoutTestController::resumeAnimations):
1847 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1848 (LayoutTestController::suspendAnimations):
1849 (LayoutTestController::resumeAnimations):
1850 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1851 (LayoutTestController::suspendAnimations):
1852 (LayoutTestController::resumeAnimations):
1853 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1854 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1855 (LayoutTestController::suspendAnimations):
1856 (LayoutTestController::resumeAnimations):
1857 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1858 (LayoutTestController::suspendAnimations):
1859 (LayoutTestController::resumeAnimations):
1861 2010-08-10 Dimitri Glazkov <dglazkov@chromium.org>
1863 Reviewed by Ojan Vafai.
1865 [Chromium/DRT] Enable saving layout test results.
1866 https://bugs.webkit.org/show_bug.cgi?id=43796
1868 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added more
1869 parameters to the new-run-webkit-tests, including the name
1870 of the test results server.
1872 2010-08-10 Jian Li <jianli@chromium.org>
1874 More chromium build fix.
1876 * DumpRenderTree/chromium/MockSpellCheck.cpp:
1877 (MockSpellCheck::spellCheckWord):
1878 (MockSpellCheck::initializeIfNeeded):
1879 * DumpRenderTree/chromium/NotificationPresenter.cpp:
1880 (NotificationPresenter::grantPermission):
1881 (NotificationPresenter::show):
1882 (NotificationPresenter::checkPermission):
1884 2010-08-10 Jian Li <jianli@chromium.org>
1888 * DumpRenderTree/chromium/MockSpellCheck.cpp:
1889 * DumpRenderTree/chromium/NotificationPresenter.cpp:
1891 2010-08-10 Victor Wang <victorw@chromium.org>
1893 Reviewed by Ojan Vafai.
1895 Update test results server merge logic so the aggregated
1896 results and times are updated for tests that are
1897 in aggragated json but not in incremental json.
1899 Also update unittest to test this case.
1901 https://bugs.webkit.org/show_bug.cgi?id=43769
1903 * TestResultServer/model/jsonresults.py:
1904 * TestResultServer/model/jsonresults_unittest.py:
1906 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
1908 Reviewed by Ariya Hidayat.
1910 [Qt] QtTestBrowser: proper set scene rect
1912 When resizesToContents is ON scene's rect is set to the boundary of
1913 the mainFrame. However, navigating to other web page should keep resizing
1914 scene's rect according to the new document loaded. Patch addresses this issue.
1916 Now resizesToContents and scrolling properly work on QtTestBrowser.
1918 * QtTestBrowser/webview.cpp:
1919 (WebViewGraphicsBased::setPage):
1920 (WebViewGraphicsBased::contentsSizeChanged):
1921 (WebViewGraphicsBased::setResizesToContents):
1922 (WebViewGraphicsBased::resizeEvent):
1923 * QtTestBrowser/webview.h:
1925 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
1927 Reviewed by Ariya Hidayat.
1929 [Qt] QtTestBrowser: Clean up LauncherWindow code.
1931 * QtTestBrowser/launcherwindow.cpp:
1932 (LauncherWindow::LauncherWindow): Moves applyPrefs methods call from the constructor to init().
1933 (LauncherWindow::init): Fixed comments.
1934 (LauncherWindow::applyPrefs): Move the method around.
1935 (LauncherWindow::createChrome): Move more code of this method around, for grouping, and fixing up comments.
1937 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
1939 Reviewed by Ariya Hidayat.
1941 [Qt] QtTestBrowser: make reset-zooming to animate when tiled backing store is on.
1943 It gets control+0 the same visual effect as control++ or control-.
1945 * QtTestBrowser/launcherwindow.cpp:
1946 (LauncherWindow::toggleZoomTextOnly):
1948 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
1950 Reviewed by Ariya Hidayat.
1952 [Qt] QtTestBrowser:: make m_zoomLevels a static member.
1954 Not all instances of LauncherWindow need its own m_zoomLevel.
1956 * QtTestBrowser/launcherwindow.cpp:
1957 * QtTestBrowser/launcherwindow.h:
1959 2010-08-09 Sam Weinig <sam@webkit.org>
1961 Reviewed by Geoffrey Garen.
1963 Add zoom support for injected bundle
1964 https://bugs.webkit.org/show_bug.cgi?id=43759
1966 Use zoom factor SPI to implement zoom related eventSender functions.
1968 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1969 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1970 (WTR::EventSendingController::textZoomIn):
1971 (WTR::EventSendingController::textZoomOut):
1972 (WTR::EventSendingController::zoomPageIn):
1973 (WTR::EventSendingController::zoomPageOut):
1974 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1975 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1976 (WTR::InjectedBundlePage::reset): Reset zoom mode and level for each test.
1978 2010-08-09 Gavin Barraclough <barraclough@apple.com>
1980 Speculative chromium build fix III.
1982 * DumpRenderTree/chromium/MockSpellCheck.h:
1983 * DumpRenderTree/chromium/NotificationPresenter.h:
1984 * DumpRenderTree/chromium/WebViewHost.h:
1985 (WebViewHost::addClearHeader):
1986 (WebViewHost::clearHeaders):
1988 2010-08-09 Ojan Vafai <ojan@chromium.org>
1990 Reviewed by Tony Chang.
1992 increase the number of test results that we save
1993 https://bugs.webkit.org/show_bug.cgi?id=43763
1995 Now that we do incremental uploads, we can increase the number of
1996 results that we save for http://test-results.appspot.com/dashboards/flakiness_dashboard.html.
1998 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
2000 2010-08-09 Evan Martin <evan@chromium.org>
2002 Reviewed by Tony Chang.
2004 [chromium] DRT error print statement incorrectly tries to print a FILE*
2005 https://bugs.webkit.org/show_bug.cgi?id=43747
2007 * DumpRenderTree/chromium/ImageDiff.cpp:
2008 (writeFile): pass the correct pointer.
2010 2010-08-09 Victor Wang <victorw@chromium.org>
2012 Reviewed by Ojan Vafai.
2014 Upload incremental test results json to server by default.
2016 https://bugs.webkit.org/show_bug.cgi?id=43743
2018 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2020 2010-08-09 Eric Seidel <eric@webkit.org>
2022 Reviewed by Adam Barth.
2024 EWS bots wait 2 minutes between patches
2025 https://bugs.webkit.org/show_bug.cgi?id=43731
2027 * Scripts/webkitpy/tool/bot/queueengine.py:
2028 - Don't sleep after failures. This was a hold-over from
2030 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
2031 - EWS bots were not properly reporting true/false from process_work_item.
2032 They were always returning None, thus false, thus always logging
2033 as a failure and sleeping 2 minutes after each patch.
2035 2010-08-09 Sam Weinig <sam@webkit.org>
2037 Reviewed by Anders Carlsson.
2039 Stub out EventSender for WebKitTestRunner
2040 https://bugs.webkit.org/show_bug.cgi?id=43703
2042 * WebKitTestRunner/DerivedSources.make:
2043 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2044 Add ability to pass javascript arguments to the wrapped object.
2046 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added.
2047 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp: Added.
2048 (WTR::EventSendingController::create):
2049 (WTR::EventSendingController::EventSendingController):
2050 (WTR::EventSendingController::~EventSendingController):
2051 (WTR::EventSendingController::wrapperClass):
2052 (WTR::setExceptionForString):
2053 (WTR::EventSendingController::mouseDown):
2054 (WTR::EventSendingController::mouseUp):
2055 (WTR::EventSendingController::mouseMoveTo):
2056 (WTR::EventSendingController::keyDown):
2057 (WTR::EventSendingController::contextClick):
2058 (WTR::EventSendingController::leapForward):
2059 (WTR::EventSendingController::textZoomIn):
2060 (WTR::EventSendingController::textZoomOut):
2061 (WTR::EventSendingController::zoomPageIn):
2062 (WTR::EventSendingController::zoomPageOut):
2063 (WTR::EventSendingController::makeWindowObject):
2064 * WebKitTestRunner/InjectedBundle/EventSendingController.h: Added.
2065 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2066 (WTR::InjectedBundle::reset):
2067 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2068 (WTR::InjectedBundle::eventSendingController):
2069 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2070 (WTR::InjectedBundlePage::didClearWindowForFrame):
2071 Add stubbed out EventSenderController.
2073 * WebKitTestRunner/InjectedBundle/GCController.h:
2074 Remove incorrect comment.
2076 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2077 * WebKitTestRunner/win/InjectedBundle.vcproj:
2080 2010-08-08 Kent Tamura <tkent@chromium.org>
2082 Unreviewed, trivial fix.
2084 Fix "WindowsError: [Error 32] The process cannot access the file
2085 because it is being used by another process" introduced by r64959.
2087 * BuildSlaveSupport/test-result-archive:
2089 2010-08-08 Kent Tamura <tkent@chromium.org>
2091 Reviewed by Tony Chang.
2093 Chromium buildbot: Avoid "zip" command dependency
2094 https://bugs.webkit.org/show_bug.cgi?id=43470
2096 * BuildSlaveSupport/test-result-archive:
2097 For Chromium port, creates a zip archive with zipfile package of Python
2098 instead of external "zip" command. We'd like to avoid additional
2099 command installation.
2101 2010-08-08 Jon Honeycutt <jhoneycutt@apple.com>
2103 WebKitTestRunner should add the QuickTime dir to the PATH environment
2105 https://bugs.webkit.org/show_bug.cgi?id=43686
2107 Reviewed by Dan Bernstein.
2109 * WebKitTestRunner/win/TestControllerWin.cpp:
2110 (WTR::addQTDirToPATH):
2112 (WTR::TestController::platformInitialize):
2113 Call addQTDirToPath().
2114 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
2115 Link to shlwapi.lib for SHGetValue.
2117 2010-08-07 Sam Weinig <sam@webkit.org>
2119 Reviewed by Maciej Stachowiak.
2121 WebKitTestRunner needs layoutTestController.dumpTitleChanges
2122 <rdar://problem/8213861>
2123 https://bugs.webkit.org/show_bug.cgi?id=42683
2125 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
2126 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2127 (WTR::InjectedBundlePage::didReceiveTitleForFrame):
2128 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
2129 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2130 (WTR::LayoutTestController::LayoutTestController):
2131 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
2132 (WTR::LayoutTestController::dumpTitleChanges):
2133 (WTR::LayoutTestController::shouldDumpTitleChanges):
2135 2010-08-07 Sam Weinig <sam@webkit.org>
2137 Reviewed by Anders Carlsson.
2139 WebKitTestRunner needs to print onunload handler information
2140 <rdar://problem/8213831>
2141 https://bugs.webkit.org/show_bug.cgi?id=42703
2143 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2145 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
2147 2010-08-07 Sam Weinig <sam@webkit.org>
2149 Reviewed by Anders Carlsson.
2151 Add additional loader client functions need to complete WebKitTestRunner
2152 https://bugs.webkit.org/show_bug.cgi?id=43684
2154 Remove unnecessary and jarring underscores as well.
2156 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
2157 (didClearWindowObjectForFrame):
2159 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2160 (WTR::InjectedBundlePage::InjectedBundlePage):
2161 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
2162 (WTR::InjectedBundlePage::didReceiveServerRedirectForProvisionalLoadForFrame):
2163 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
2164 (WTR::InjectedBundlePage::didCommitLoadForFrame):
2165 (WTR::InjectedBundlePage::didFinishLoadForFrame):
2166 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
2167 (WTR::InjectedBundlePage::didReceiveTitleForFrame):
2168 (WTR::InjectedBundlePage::didClearWindowForFrame):
2169 (WTR::InjectedBundlePage::didCancelClientRedirectForFrame):
2170 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
2171 (WTR::InjectedBundlePage::didChangeLocationWithinPageForFrame):
2172 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
2173 (WTR::InjectedBundlePage::didHandleOnloadEventsForFrame):
2174 (WTR::InjectedBundlePage::didDisplayInsecureContentForFrame):
2175 (WTR::InjectedBundlePage::didRunInsecureContentForFrame):
2176 (WTR::InjectedBundlePage::willAddMessageToConsole):
2177 (WTR::InjectedBundlePage::willSetStatusbarText):
2178 (WTR::InjectedBundlePage::willRunJavaScriptAlert):
2179 (WTR::InjectedBundlePage::willRunJavaScriptConfirm):
2180 (WTR::InjectedBundlePage::willRunJavaScriptPrompt):
2181 (WTR::InjectedBundlePage::shouldBeginEditing):
2182 (WTR::InjectedBundlePage::shouldEndEditing):
2183 (WTR::InjectedBundlePage::shouldInsertNode):
2184 (WTR::InjectedBundlePage::shouldInsertText):
2185 (WTR::InjectedBundlePage::shouldDeleteRange):
2186 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
2187 (WTR::InjectedBundlePage::shouldApplyStyle):
2188 (WTR::InjectedBundlePage::didBeginEditing):
2189 (WTR::InjectedBundlePage::didEndEditing):
2190 (WTR::InjectedBundlePage::didChange):
2191 (WTR::InjectedBundlePage::didChangeSelection):
2192 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
2194 2010-08-07 Dan Bernstein <mitz@apple.com>
2198 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Made the references
2199 to JSGCController.{cpp,h} relative to the build root.
2201 2010-08-07 Sam Weinig <sam@webkit.org>
2203 Reviewed by Anders Carlsson.
2205 WebKitTestRunner needs GCController
2206 <rdar://problem/8213834>
2207 https://bugs.webkit.org/show_bug.cgi?id=42701
2209 * WebKitTestRunner/DerivedSources.make:
2210 * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl: Added.
2211 * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h:
2213 * WebKitTestRunner/InjectedBundle/GCController.cpp: Added.
2214 (WTR::GCController::create):
2215 (WTR::GCController::GCController):
2216 (WTR::GCController::~GCController):
2217 (WTR::GCController::wrapperClass):
2218 (WTR::GCController::collect):
2219 (WTR::GCController::collectOnAlternateThread):
2220 (WTR::GCController::getJSObjectCount):
2221 (WTR::GCController::makeWindowObject):
2222 * WebKitTestRunner/InjectedBundle/GCController.h: Added.
2223 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2224 (WTR::InjectedBundle::reset):
2225 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2226 (WTR::InjectedBundle::bundle):
2227 (WTR::InjectedBundle::gcController):
2228 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2229 (WTR::InjectedBundlePage::didClearWindowForFrame):
2230 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2231 (WTR::LayoutTestController::keepWebHistory):
2232 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
2233 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2234 * WebKitTestRunner/win/InjectedBundle.vcproj:
2236 2010-08-05 Jon Honeycutt <jhoneycutt@apple.com>
2238 WebKitTestRunner needs to be able to set the font smoothing type
2239 https://bugs.webkit.org/show_bug.cgi?id=43406
2241 Reviewed by Adam Roben.
2243 * WebKitTestRunner/TestInvocation.cpp:
2244 (WTR::TestInvocation::resetPreferencesToConsistentValues):
2245 Set the font smoothing level to
2246 kWKFontSmoothingLevelNoSubpixelAntiAliasing to match DRT.
2248 2010-08-06 Jon Honeycutt <jhoneycutt@apple.com>
2250 Fix a missed variable rename.
2254 * Scripts/old-run-webkit-tests:
2256 2010-08-06 Jon Honeycutt <jhoneycutt@apple.com>
2258 mac-wk2/Skipped should be used on Windows when running regression tests
2259 https://bugs.webkit.org/show_bug.cgi?id=43494
2261 Reviewed by Adam Roben.
2263 * Scripts/old-run-webkit-tests:
2264 If the platform is win-wk2, also read the mac-wk2 skipped list.
2266 2010-08-06 Kent Tamura <tkent@chromium.org>
2268 Reviewed by Dimitri Glazkov.
2270 [DRT/Chromium] Should revoke scheduled tasks
2271 https://bugs.webkit.org/show_bug.cgi?id=43560
2273 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
2274 (DRTDevToolsAgent::reset): Calls RevokeAll().
2275 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
2276 * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
2277 (DRTDevToolsClient::reset): Calls RevokeAll().
2278 * DumpRenderTree/chromium/DRTDevToolsClient.h:
2279 * DumpRenderTree/chromium/EventSender.cpp:
2280 (EventSender::reset): Calls RevokeAll().
2281 * DumpRenderTree/chromium/LayoutTestController.cpp:
2282 (LayoutTestController::reset): Calls RevokeAll().
2283 * DumpRenderTree/chromium/TestShell.cpp:
2284 (TestShell::resetTestController): Calls DRTDevToolsAgent::reset() and DRTDevToolsClient::reset().
2286 2010-08-06 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2288 Reviewed by Antonio Gomes.
2290 [Qt] Fix the DRT build on Mac OS X
2292 * DumpRenderTree/qt/DumpRenderTree.pro:
2294 2010-08-06 Jochen Eisinger <jochen@chromium.org>
2296 Reviewed by Pavel Feldman.
2298 Rietvield's upload.py moved to a different location.
2299 https://bugs.webkit.org/show_bug.cgi?id=43613
2301 * Scripts/webkitpy/thirdparty/__init__.py:
2303 2010-05-23 Eric Seidel <eric@webkit.org>
2305 Reviewed by Adam Barth.
2307 QueueStatusServer needs better queue-status pages
2308 https://bugs.webkit.org/show_bug.cgi?id=39562
2310 The primary goal of this patch is to display queue
2311 positions somewhere on the site so that it's easier
2312 for commit-queue users to know when their pach will
2313 be landed. I also tried to improve the root page
2314 to be more useful than the previous wall of status text.
2316 * QueueStatusServer/handlers/recentstatus.py:
2317 * QueueStatusServer/main.py:
2318 * QueueStatusServer/model/queues.py:
2319 * QueueStatusServer/templates/recentstatus.html:
2321 2010-08-05 Victor Wang <victorw@chromium.org>
2323 Reviewed by Ojan Vafai.
2325 Add option to generate/upload incremental json results to test result server.
2326 Also refactor the json results generator unittest code to test
2327 incremental and aggregated json results.
2329 https://bugs.webkit.org/show_bug.cgi?id=43519
2331 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
2332 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
2333 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
2334 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2336 2010-08-05 Jian Li <jianli@chromium.org>
2338 Reviewed by David Levin.
2340 Unify blob related feature defines to ENABLE(BLOB).
2341 https://bugs.webkit.org/show_bug.cgi?id=43081
2343 * Scripts/build-webkit:
2345 2010-08-05 Satish Sampath <satish@chromium.org>
2347 Reviewed by Jeremy Orlow.
2349 Add speech input controller mock in WebKit and a layout test.
2350 https://bugs.webkit.org/show_bug.cgi?id=43477
2352 Added LayoutTestController::setMockSpeechInputResultCallback method.
2354 * DumpRenderTree/LayoutTestController.cpp:
2355 (setMockSpeechInputResultCallback): Wrapper invoking the member function.
2356 (LayoutTestController::staticFunctions):
2357 * DumpRenderTree/LayoutTestController.h:
2358 * DumpRenderTree/chromium/LayoutTestController.cpp:
2359 (LayoutTestController::LayoutTestController):
2360 (LayoutTestController::setMockSpeechInputResult): Sets the mock result.
2361 (LayoutTestController::speechInputController): Creates the mock controller.
2362 * DumpRenderTree/chromium/LayoutTestController.h:
2363 * DumpRenderTree/chromium/WebViewHost.cpp:
2364 (WebViewHost::speechInputController): Creates the mock controller.
2365 * DumpRenderTree/chromium/WebViewHost.h:
2366 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2367 (LayoutTestController::setMockSpeechInputResult): dummy method.
2368 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2369 (LayoutTestController::setMockSpeechInputResult): dummy method.
2370 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2371 (LayoutTestController::setMockSpeechInputResult): dummy method.
2372 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2373 * DumpRenderTree/win/LayoutTestControllerWin.cpp: dummy method.
2374 (LayoutTestController::setMockSpeechInputResult):
2375 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: dummy method.
2376 (LayoutTestController::setMockSpeechInputResult):
2378 2010-08-04 Adam Roben <aroben@apple.com>
2380 Fix the path to TestNetscapePlugin's directory on Windows
2382 Fixes <http://webkit.org/b/43513> WebKitTestRunner on Windows fails to
2383 load TestNetscapePlugin
2385 Reviewed by Jon Honeycutt.
2387 * WebKitTestRunner/win/TestControllerWin.cpp:
2388 (WTR::TestController::initializeTestPluginDirectory):
2389 TestNetscapePlugin is in a TestNetscapePlugin[_Debug] directory that's
2390 next to WebKitTestRunner.exe. Previously we were passing the directory
2391 that contains WebKitTestRunner.exe. Also fixed some leaks.
2393 2010-08-05 Kenichi Ishibashi <bashi@google.com>
2395 Reviewed by Shinichiro Hamaji.
2397 check-webkit-style returns non-zero when patch is entirely minus lines.
2398 https://bugs.webkit.org/show_bug.cgi?id=38169
2400 * Scripts/check-webkit-style:
2401 Check whether a patch contains modified files that are entirely minus lines.
2402 * Scripts/webkitpy/style/filereader.py:
2403 Add a variable that holds number of files that contain only deleted lines.
2404 * Scripts/webkitpy/style/patchreader.py:
2405 Count up modified files that contain only deleted lines.
2407 2010-08-05 Pavel Feldman <pfeldman@chromium.org>
2409 Reviewed by Yury Semikhatsky.
2411 DevTools: get rid of delayed command dispatching on front-end side.
2413 https://bugs.webkit.org/show_bug.cgi?id=43479
2415 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
2416 (DRTDevToolsAgent::detach):
2417 (DRTDevToolsAgent::frontendLoaded):
2418 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
2419 * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
2420 (DRTDevToolsClient::~DRTDevToolsClient):
2421 (DRTDevToolsClient::sendFrontendLoaded):
2422 * DumpRenderTree/chromium/DRTDevToolsClient.h:
2424 2010-08-04 Kenichi Ishibashi <bashi@google.com>
2426 Reviewed by Shinichiro Hamaji.
2428 Fixes check-webkit-style false positive on "new uint32_t."
2429 https://bugs.webkit.org/show_bug.cgi?id=43077
2431 * Scripts/webkitpy/style/checkers/cpp.py:
2432 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2434 2010-08-04 Kent Tamura <tkent@chromium.org>
2436 Reviewed by Dimitri Glazkov.
2438 [DRT/Chromium] Remove base/linked_ptr.h dependency
2439 https://bugs.webkit.org/show_bug.cgi?id=43472
2441 Replace linked_ptr<TestNavigationEntry> with RefPtr<TestNavigationEntry>.
2442 We need to use RefPtr<> because m_pendingEntry points an object in
2443 m_entries or not in m_entries.
2445 * DumpRenderTree/chromium/TestNavigationController.cpp:
2446 (TestNavigationEntry::create): Added.
2447 (TestNavigationController::activeEntry):
2448 (TestNavigationController::didNavigateToEntry):
2449 (TestNavigationController::discardPendingEntry):
2450 (TestNavigationController::insertEntry):
2451 (TestNavigationController::navigateToPendingEntry):
2452 * DumpRenderTree/chromium/TestNavigationController.h:
2453 * DumpRenderTree/chromium/WebViewHost.cpp:
2454 (WebViewHost::loadURLForFrame):
2455 Use TestNavigationEntry::create().
2456 (WebViewHost::updateURL):
2458 (WebViewHost::updateSessionHistory):
2459 Remove unnecessary static_cast<>.
2461 2010-08-04 Kent Tamura <tkent@chromium.org>
2463 Reviewed by Dimitri Glazkov.
2465 Fix a problem that "archived test results" step doesn't work on Chromium buildbots
2466 https://bugs.webkit.org/show_bug.cgi?id=43333
2468 * BuildSlaveSupport/test-result-archive:
2469 - Make layoutTestResultsDir local and pass it to archiveTestResults()
2470 - Adjust layoutTestResultsDir for Chromium
2472 2010-08-04 Kent Tamura <tkent@chromium.org>
2474 Reviewed by Dimitri Glazkov.
2476 NRWT: websocket_server startup detection failure
2477 https://bugs.webkit.org/show_bug.cgi?id=43466
2479 * Scripts/webkitpy/layout_tests/port/websocket_server.py:
2480 Increase timeout value: 5 second -> 10 second
2482 2010-08-04 Victor Wang <victorw@chromium.org>
2484 Reviewed by Ojan Vafai.
2486 -. Add result.json incremental merging functionality to test results app engine.
2487 -. blobstore is not suitable for AE data merging and there is no API to
2488 programatically edit existing blob or write a new one yet, so replace blobstore
2489 with datastore. If file is oversize (>1000*1000 bytes), store file data in
2490 multiple datastore entries.
2493 Test: jsonresults_unittest to test merging logics.
2495 https://bugs.webkit.org/show_bug.cgi?id=38599
2497 * TestResultServer/handlers/dashboardhandler.py:
2498 * TestResultServer/handlers/menu.py:
2499 * TestResultServer/handlers/testfilehandler.py:
2500 * TestResultServer/main.py:
2501 * TestResultServer/model/dashboardfile.py:
2502 * TestResultServer/model/datastorefile.py: Added.
2503 * TestResultServer/model/jsonresults.py: Added.
2504 * TestResultServer/model/jsonresults_unittest.py: Added.
2505 * TestResultServer/model/testfile.py:
2506 * TestResultServer/templates/uploadform.html:
2508 2010-08-04 Antonio Gomes <tonikitoo@webkit.org>
2510 Reviewed by Kenneth Christiansen.
2512 [Qt] [QtTestBrowser] Remove unneeded QAction class members
2513 https://bugs.webkit.org/show_bug.cgi?id=43518
2515 LauncherWindow class has two totally unneeded class members: m_flopAnimated and
2516 m_flipYAnimated. Also, in initializeView method there are some dead code block
2517 trying to connect them at the wrong time, when they have not been instanciated.
2521 - removes the two cited class members in favor of local variables in createChrome method;
2522 - removes the dead code block.
2524 * QtTestBrowser/launcherwindow.cpp:
2525 (LauncherWindow::LauncherWindow):
2526 (LauncherWindow::initializeView):
2527 (LauncherWindow::createChrome):
2528 * QtTestBrowser/launcherwindow.h:
2530 2010-08-04 Antonio Gomes <tonikitoo@webkit.org>
2532 Reviewed by Simon Hausmann and Kenneth Christiansen.
2534 [Qt] [QtTestBrowser] Clean up static and global menu state controls
2535 https://bugs.webkit.org/show_bug.cgi?id=43448
2537 After LauncherWindow class was refactored out of from main.cpp, all global variables that
2538 were hanging in main.cpp became temporarily public static class members of newly added
2539 LauncherWindow class. This design was not properly handling the initial purpose of the
2540 global variables: newly created launcher windows should inherit the settings of the originating
2543 In order to properly fix the problem, this patch introduces a WindowOptions class, as a POD. It
2544 comprises all data needed to handling the goal described above.
2546 * QtTestBrowser/launcherwindow.cpp:
2547 (LauncherWindow::LauncherWindow): The class now receives an optional WindowOptions pointer object
2548 holding all user settings configured in the menus and command line.
2549 It also receices an optional QGraphicsScene points in case we are doing
2551 (LauncherWindow::init): Removed the usesGraphics parameter because the class member m_userData holds its
2553 (LauncherWindow::initializeView): Ditto.
2554 (LauncherWindow::createChrome): Changed all references to gXXX to m_userData.XXX
2555 (LauncherWindow::applyPrefs): Removed the "LauncherWindow* source" parameter. All data needed to properly
2556 apply the preferences is provided by m_userData.
2557 (LauncherWindow::toggleAcceleratedCompositing): Change gXXX by m_userData.XXX
2558 (LauncherWindow::toggleResizesToContents): Ditto.
2559 (LauncherWindow::toggleWebGL): Ditto.
2560 (LauncherWindow::toggleFrameFlattening): Ditto.
2561 (LauncherWindow::toggleQGLWidgetViewport): Ditto.
2562 (LauncherWindow::changeViewportUpdateMode): Ditto.
2563 (LauncherWindow::showFPS): Ditto.
2564 (LauncherWindow::newWindow): Changed to pass the userData.
2565 (LauncherWindow::cloneWindow): Ditto.
2566 * QtTestBrowser/launcherwindow.h:
2567 (WindowOptions::WindowOptions):
2568 * QtTestBrowser/main.cpp:
2569 (requiresGraphicsView):
2570 (LauncherApplication::handleUserOptions):
2573 2010-08-04 Kevin Ollivier <kevino@theolliviers.com>
2575 [wx] Build fix for gcc not importing all symbols from convenience libraries.
2576 Works on 10.6 only for Mac until the build system is reworked.
2578 * wx/build/settings.py:
2580 2010-08-04 Markus Goetz <Markus.Goetz@nokia.com>
2582 Reviewed by Simon Hausmann.
2584 [Qt] Change wording in QtTestBrowser
2585 https://bugs.webkit.org/show_bug.cgi?id=43241
2587 * QtTestBrowser/launcherwindow.cpp:
2588 (LauncherWindow::createChrome):
2590 2010-08-04 Aaron Boodman <aa@chromium.org>
2592 Reviewed by Eric Seidel.
2594 prepare-ChangeLog fails mysteriously if curl doesn't support ssl
2595 https://bugs.webkit.org/show_bug.cgi?id=43460
2597 * Scripts/prepare-ChangeLog:
2599 2010-08-03 MORITA Hajime <morrita@google.com>
2601 Reviewed by Tony Chang.
2603 [DRT] Assertion failed when drag and move a draggable element.
2604 https://bugs.webkit.org/show_bug.cgi?id=41695
2606 mouseMoveToX() did call [WebHTMLView mouseDragged] even if dragging started.
2607 But Cocoa doesn't call mouseDragged() until dragging is done.
2608 Other part of DumpRenderTree also assumes Cocoa behavior and an assertion
2609 on UIDelegate failed when mouseDragged() is called during dragging.
2610 This change eliminated the mouseDragged() call when dragging begins,
2611 which is implicated by draggingInfo instance.
2613 * DumpRenderTree/mac/EventSendingController.mm:
2614 (-[EventSendingController mouseMoveToX:Y:]):
2616 Test: fast/events/dragging-mouse-moves.html
2618 2010-08-02 Steve Block <steveblock@google.com>
2620 Reviewed by Alexey Proskuryakov.
2622 Adds Geolocation LayoutTests for the case where permission is not granted or denied immediately
2623 https://bugs.webkit.org/show_bug.cgi?id=40002
2625 The code in LayoutTestController::setGeolocationPermission() was moved to
2626 setGeolocationPermissionCommon() to allow each port to provide its own
2627 implementation of setGeolocationPermission().
2629 For the Mac port, setGeolocationPermission() notifies the UIDelegate of the
2630 new permission, so it can call back to WebCore if permission requests are in
2631 progress and are waiting for a response. A minor fix to the Mac
2632 MockGeolocationProvider was also required to make sure that the mock provider
2633 calls back to WebCore when it is first started.
2635 For other ports, LayoutTestController::setGeolocationPermission() is not
2638 * DumpRenderTree/LayoutTestController.cpp:
2639 (LayoutTestController::setGeolocationPermissionCommon):
2640 * DumpRenderTree/LayoutTestController.h:
2641 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2642 (LayoutTestController::setGeolocationPermission):
2643 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2644 (LayoutTestController::setGeolocationPermission):
2645 * DumpRenderTree/mac/MockGeolocationProvider.mm:
2646 (-[MockGeolocationProvider registerWebView:]):
2647 * DumpRenderTree/mac/UIDelegate.h:
2648 * DumpRenderTree/mac/UIDelegate.mm:
2649 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
2650 (-[UIDelegate setGeolocationPermission:]):
2651 (-[UIDelegate dealloc]):
2652 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2653 (LayoutTestController::setGeolocationPermission):
2654 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2655 (LayoutTestController::setGeolocationPermission):
2657 2010-08-03 Kent Tamura <tkent@chromium.org>
2659 Reviewed by Dimitri Glazkov.
2661 [DRT/Chromium] Implement --testshell-startup-dialog
2662 https://bugs.webkit.org/show_bug.cgi?id=40616
2664 * DumpRenderTree/chromium/DumpRenderTree.cpp:
2665 (main): Check --testshell-startup-dialog, and call openStartUpDialog()
2667 * DumpRenderTree/chromium/TestShell.h:
2668 Declare openStartUpDialog().
2669 * DumpRenderTree/chromium/TestShellGtk.cpp:
2670 (openStartupDialog):
2671 * DumpRenderTree/chromium/TestShellMac.mm:
2672 (openStartupDialog):
2673 * DumpRenderTree/chromium/TestShellWin.cpp:
2674 (openStartupDialog):
2676 2010-08-03 Kent Tamura <tkent@chromium.org>
2678 Reviewed by Dimitri Glazkov.
2680 [DRT/Chromium] Remove dependency of base/md5.h
2681 https://bugs.webkit.org/show_bug.cgi?id=43403
2683 * DumpRenderTree/chromium/TestShell.cpp:
2684 (TestShell::dumpImage): Use wtf/MD5.h
2686 2010-08-03 Joseph Pecoraro <joepeck@webkit.org>
2688 Reviewed by David Kilzer.
2690 Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
2691 https://bugs.webkit.org/show_bug.cgi?id=40627
2693 Part 6 - LayoutTest and Cleanup
2695 Allow tests to delete application caches and set application cache
2696 origin quotas, so they can be tested.
2698 * DumpRenderTree/LayoutTestController.cpp:
2699 (LayoutTestController::LayoutTestController):
2700 (dumpApplicationCacheDelegateCallbacksCallback): JavaScript callback, delegates to the controller.
2701 (clearAllApplicationCachesCallback): should delete all application caches.
2702 (setApplicationCacheOriginQuotaCallback): should set the origin quota for the localhost tests.
2703 (LayoutTestController::staticFunctions):
2704 * DumpRenderTree/LayoutTestController.h:
2705 (LayoutTestController::dumpApplicationCacheDelegateCallbacks): accessor to see if application cache callbacks should be output.
2706 (LayoutTestController::setDumpApplicationCacheDelegateCallbacks): enable or disable debug output when the application cache quota is reached.
2710 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2711 (LayoutTestController::clearAllApplicationCaches): delete application caches.
2712 (LayoutTestController::setApplicationCacheOriginQuota): set the quota for localhost.
2713 * DumpRenderTree/mac/UIDelegate.mm:
2714 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): style fix.
2715 (-[UIDelegate webView:exceededApplicationCacheOriginQuotaForSecurityOrigin:]): reset the quota.
2717 Stub implementations for other platforms.
2719 * DumpRenderTree/chromium/LayoutTestController.cpp:
2720 (LayoutTestController::LayoutTestController):
2721 (LayoutTestController::clearAllApplicationCaches):
2722 (LayoutTestController::setApplicationCacheOriginQuota):
2723 * DumpRenderTree/chromium/LayoutTestController.h:
2724 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2725 (LayoutTestController::clearAllApplicationCaches):
2726 (LayoutTestController::setApplicationCacheOriginQuota):
2727 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2728 (LayoutTestController::clearAllApplicationCaches):
2729 (LayoutTestController::setApplicationCacheOriginQuota):
2730 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2731 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2732 (LayoutTestController::clearAllApplicationCaches):
2733 (LayoutTestController::setApplicationCacheOriginQuota):
2734 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2735 (LayoutTestController::clearAllApplicationCaches):
2736 (LayoutTestController::setApplicationCacheOriginQuota):
2738 2010-08-03 Joseph Pecoraro <joepeck@webkit.org>
2740 Reviewed by David Kilzer.
2742 Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
2743 https://bugs.webkit.org/show_bug.cgi?id=40627
2745 Part 5 - Refactor Quota Management in WebSecurityOrigin into Managers
2747 Change old style calls to make use of the managers.
2749 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2750 (LayoutTestController::setDatabaseQuota):
2751 * DumpRenderTree/mac/UIDelegate.mm:
2752 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
2754 2010-08-03 Mark Rowe <mrowe@apple.com>
2756 Add a new Leopard build slave to run the release tests.
2758 * BuildSlaveSupport/build.webkit.org-config/config.json:
2760 2010-08-03 Jon Honeycutt <jhoneycutt@apple.com>
2762 WebKitTestRunner needs to activate the Mac font ascent hack
2763 https://bugs.webkit.org/show_bug.cgi?id=43404
2765 Reviewed by Darin Adler.
2767 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2768 (WTR::InjectedBundle::initialize):
2769 Call WKBundleActivateMacFontAscentHack().
2771 2010-08-03 Alex Milowski <alex@milowski.com>
2773 Reviewed by Beth Dakin.
2775 Changed the default for MathML support so that is is enabled by default.
2777 * Scripts/build-webkit:
2779 2010-08-03 Sam Weinig <sam@webkit.org>
2781 Roll r64566 back in this time with all the overloads in place..
2783 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2784 (WTR::InjectedBundlePage::shouldInsertNode):
2785 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2786 * WebKitTestRunner/StringFunctions.h:
2787 * WebKitTestRunner/TestInvocation.cpp:
2788 (WTR::TestInvocation::resetPreferencesToConsistentValues):
2789 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2790 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2792 2010-08-03 Sam Weinig <sam@webkit.org>
2794 Rollout r64566. It broke all the WebKit2 tests.
2796 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2798 (WTR::InjectedBundlePage::shouldInsertNode):
2799 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2800 * WebKitTestRunner/StringFunctions.h: Removed.
2801 * WebKitTestRunner/TestInvocation.cpp:
2803 (WTR::WKStringToUTF8):
2804 (WTR::TestInvocation::resetPreferencesToConsistentValues):
2805 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2806 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2808 2010-08-03 Sam Weinig <sam@webkit.org>
2810 Reviewed by Anders Carlsson.
2812 WTR: Move all the utility functions for working with strings to a shared header.
2813 https://bugs.webkit.org/show_bug.cgi?id=43386
2815 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2816 (WTR::InjectedBundlePage::shouldInsertNode):
2817 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2818 * WebKitTestRunner/StringFunctions.h: Added.
2819 * WebKitTestRunner/TestInvocation.cpp:
2820 (WTR::TestInvocation::resetPreferencesToConsistentValues):
2821 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2822 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2824 2010-08-02 Antonio Gomes <tonikitoo@webkit.org>
2826 Reviewed by Kenneth Christiansen.
2828 [Qt] QtTestBrowser not setting preferredContentsSize for resizesToContents
2829 https://bugs.webkit.org/show_bug.cgi?id=43168
2831 QGraphicsWebView resizesToContents property has to work together with QWebPage's
2832 setPreferredContentsSize as stated by the docs. Patch addresses that for QtTestBrowser.
2834 * QtTestBrowser/launcherwindow.cpp:
2835 (LauncherWindow::applyPrefs):
2836 * QtTestBrowser/webview.cpp:
2837 (WebViewGraphicsBased::setResizesToContents): Properly handle scene, webview and viewport sizes
2838 needed when toggle resizesToContents on/off.
2839 (WebViewGraphicsBased::resizeEvent):
2840 * QtTestBrowser/webview.h:
2841 (WebViewGraphicsBased::setCustomLayoutSize): Setter helper.
2842 (WebViewGraphicsBased::customLayoutSize): Getter helper.
2844 2010-08-03 Jochen Eisinger <jochen@chromium.org>
2846 Unreviewed. Adding myself as committer.
2848 * Scripts/webkitpy/common/config/committers.py:
2850 2010-08-02 Pavel Feldman <pfeldman@chromium.org>
2852 Reviewed by Yury Semikhatsky.
2854 Chromium DevTools: Get rid of DevTools RPC.
2856 https://bugs.webkit.org/show_bug.cgi?id=43335
2858 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
2859 (DRTDevToolsAgent::sendMessageToInspectorFrontend):
2860 (DRTDevToolsAgent::call):
2861 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
2862 * DumpRenderTree/chromium/DRTDevToolsCallArgs.h:
2863 (DRTDevToolsCallArgs::DRTDevToolsCallArgs):
2864 * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
2865 (DRTDevToolsClient::sendMessageToBackend):
2866 (DRTDevToolsClient::call):
2867 * DumpRenderTree/chromium/DRTDevToolsClient.h:
2869 2010-08-02 Kent Tamura <tkent@chromium.org>
2871 Reviewed by Dimitri Glazkov.
2873 [DRT/Chromium] Remove dependencies to some Chromium headers
2874 https://bugs.webkit.org/show_bug.cgi?id=43396
2876 * DumpRenderTree/chromium/CppVariant.h:
2877 Remove base/basictypes.h because webkit_support.h contains it.
2878 * DumpRenderTree/chromium/EventSender.cpp:
2879 (getCurrentEventTimeSec): Use new wrapper function.
2880 * DumpRenderTree/chromium/TestNavigationController.h:
2881 Remove base/basictypes.h because webkit_support.h contains it.
2882 * DumpRenderTree/chromium/TestShell.cpp:
2883 (dumpHistoryItem): Use new wrapper function.
2884 * DumpRenderTree/chromium/WebViewHost.cpp:
2885 (WebViewHost::cancelledError): Use new wrapper function.
2886 (WebViewHost::didFailResourceLoad): Use new wrapper function.
2888 2010-08-02 Martin Robinson <mrobinson@igalia.com>
2890 Reviewed by Xan Lopez.
2892 [GTK] DRT implement execCommand()
2893 https://bugs.webkit.org/show_bug.cgi?id=35351
2895 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2896 (LayoutTestController::execCommand): Implement using webkit_web_view_execute_core_command_by_name.
2897 (LayoutTestController::isCommandEnabled): Implement using webkit_web_view_is_command_enabled.
2898 (LayoutTestController::setCacheModel): Move below LayoutTestController::isCommandEnabled.
2900 2010-08-02 Sam Weinig <sam@webkit.org>
2902 Reviewed by Anders Carlsson.
2904 Add alias for run-webkit-tests --webkit-test-runner (run-webkit-tests -2).
2906 * Scripts/old-run-webkit-tests:
2908 2010-08-02 Jon Honeycutt <jhoneycutt@apple.com>
2910 WebKitTestRunner needs to support loading custom fonts (via the
2911 WEBKIT_TESTFONTS environment variable)
2912 https://bugs.webkit.org/show_bug.cgi?id=42782
2914 Reviewed by Adam Roben.
2916 * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp:
2918 Copied from DRT code. Removed the fallback to DumpRenderTree.resources/,
2919 as this directory doesn't appear to be created anymore.
2920 (WTR::activateFonts):
2921 Loop through the fonts, and call AddFontResourceExW() for each.
2923 2010-08-02 Jon Honeycutt <jhoneycutt@apple.com>
2925 Restore the WebKitTestRunner.sln that was removed, and remove the
2928 Rubber-stamped by Sam Weinig.
2930 * WebKitTestRunner/WebKitTestRunner.sln: Added.
2931 * WebKitTestRunner/win/WebKitTestRunner.sln: Removed.
2933 2010-08-02 Jon Honeycutt <jhoneycutt@apple.com>
2935 Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.
2937 Remove the unused WebKitTestRunner.sln.
2939 Reviewed by Sam Weinig.
2941 * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
2942 * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: Removed.
2943 * WebKitTestRunner/WebKitTestRunner.sln: Removed.
2944 * WebKitTestRunner/win/InjectedBundle.vcproj: Added.
2945 * WebKitTestRunner/win/WebKitTestRunner.sln:
2947 2010-08-02 Sam Weinig <sam@webkit.org>
2949 Fix the windows build.
2951 * WebKitTestRunner/win/main.cpp:
2953 2010-07-29 Jon Honeycutt <jhoneycutt@apple.com>
2955 Add a Skipped list on Windows, and have run-webkit-tests respect it.
2957 Part of <rdar://problem/8233237> Fill WebKit2 Windows skipped list so
2958 there are zero tests failing
2959 https://bugs.webkit.org/show_bug.cgi?id=43374
2961 Reviewed by Adam Roben.
2963 * Scripts/old-run-webkit-tests:
2964 If using WebKitTestRunner and Apple Windows WebKit, set the platform to
2965 win-wk2. When building the result hierarchy, if the platform is win-wk2,
2966 add it first to the list of platforms.
2968 2010-08-02 Darin Adler <darin@apple.com>
2970 Reviewed by Sam Weinig.
2972 WebKitTestRunner needs layoutTestController.setCanOpenWindows
2973 https://bugs.webkit.org/show_bug.cgi?id=42321
2975 WebKitTestRunner needs layoutTestController.setCloseRemainingWindowsWhenComplete
2976 https://bugs.webkit.org/show_bug.cgi?id=42779
2978 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added
2979 setCanOpenWindows, setCloseRemainingWindowsWhenComplete, and windowCount
2981 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2982 (WTR::InjectedBundle::InjectedBundle): Initialize m_mainPage to 0 instead of
2983 waiting for the first call to didCreatePage.
2984 (WTR::InjectedBundle::didCreatePage): Set m_mainPage only when the first page
2985 is created. Put other pages into a map.
2986 (WTR::InjectedBundle::willDestroyPage): Added code to handle the destruction
2988 (WTR::InjectedBundle::closeOtherPages): Added. Closes all the pages other than
2990 * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Added pageCount and
2991 closeOtherPages functions.
2993 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2994 (WTR::InjectedBundlePage::didFinishLoadForFrame): Don't let pages other than
2995 the main page affect dumping.
2996 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame): Ditto.
2998 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2999 (WTR::LayoutTestController::LayoutTestController): Initialize the new
3000 m_shouldCloseExtraWindows member.
3001 (WTR::LayoutTestController::setCanOpenWindows): Added. Empty for now.
3002 (WTR::LayoutTestController::windowCount): Added.
3004 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
3005 Added setCanOpenWindows, setCloseRemainingWindowsWhenComplete,
3006 windowCount, shouldCloseExtraWindowsAfterRunningTest, and
3007 m_shouldCloseExtraWindows.
3009 * WebKitTestRunner/TestController.cpp:
3010 (WTR::TestController::shared): Return a pointer to the shared copy, but
3011 don't allocate and leak it. This seemed cleaner than adding an explicit
3012 finalize call to go along with the explicit initialize call.
3013 (WTR::TestController::TestController): Added calls to the initialize and
3014 run function, which are now done automatically.
3015 (WTR::TestController::~TestController): Added, since it's called now.
3016 (WTR::closeOtherPage): Added. Used to close pages other than the main page.
3017 (WTR::createOtherPage): Added. Used to create pages other than the main page.
3018 (WTR::TestController::initialize): Added code to set up createOtherPage.
3019 (WTR::TestController::run): Removed unused return value.
3020 * WebKitTestRunner/TestController.h: Made constructor and destructor public,
3021 and initialize and run private. Changed m_mainWebView to be an OwnPtr.
3023 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3024 (WTR::PlatformWebView::PlatformWebView): Added a call to setReleasedWhenClosed
3025 to avoid releasing the window twice. Another way to handle it would be to
3026 remove the release, but this approach is slightly more robust because it works
3027 even if some other code calls the close method an extra time.
3029 * WebKitTestRunner/mac/main.mm:
3030 (main): Use a stack-allocated TestController object instead of calling
3031 initalize and run on a globally allocated one.
3033 2010-08-02 Tony Chang <tony@chromium.org>
3035 Reviewed by David Levin.
3037 add myself to the reviewers list
3038 https://bugs.webkit.org/show_bug.cgi?id=43366
3040 * Scripts/webkitpy/common/config/committers.py:
3042 2010-08-02 Anders Carlsson <andersca@apple.com>
3044 Reviewed by Sam Weinig.
3046 Cache JSNPObjects and fix bugs in the object map
3047 https://bugs.webkit.org/show_bug.cgi?id=43368
3049 Test that we correctly throw exceptions when trying to do things to a JSObject that used to
3050 wrap an NPObject that came from a plug-in that is now destroyed.
3052 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3053 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
3054 (PluginTest::Object::getProperty):
3055 (PluginTest::Object::NP_GetProperty):
3056 (PluginTest::Object::npClass):
3057 * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp: Added.
3058 (NPRuntimeObjectFromDestroyedPlugin::NPRuntimeObjectFromDestroyedPlugin):
3059 (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::hasProperty):
3060 (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::getProperty):
3061 (NPRuntimeObjectFromDestroyedPlugin::NPP_GetValue):
3062 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3063 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3066 2010-08-02 Martin Robinson <mrobinson@igalia.com>
3068 Reviewed by Xan Lopez.
3070 [Gtk] DOM listeners get wrong keycodes for some keys
3071 https://bugs.webkit.org/show_bug.cgi?id=35170
3073 Add support to all event senders for simulating keypad insert
3074 and print screen keys.
3076 * DumpRenderTree/chromium/EventSender.cpp:
3077 (EventSender::keyDown): Add support for generating keypad insert and print screen.
3078 * DumpRenderTree/gtk/EventSender.cpp:
3079 (keyDownCallback): Ditto.
3080 * DumpRenderTree/mac/EventSendingController.mm:
3081 (-[EventSendingController keyDown:withModifiers:withLocation:]): Ditto.
3082 * DumpRenderTree/qt/EventSenderQt.cpp:
3083 (EventSender::keyDown): Ditto.
3084 * DumpRenderTree/win/EventSender.cpp:
3085 (keyDownCallback): Ditto.
3087 2010-08-02 Martin Robinson <mrobinson@igalia.com>
3089 Build fix for building against development versions of GTK+. GTK 2.22
3090 has not yet been released, so these function definitions must be conditionalized
3091 on the development version.
3093 * DumpRenderTree/gtk/EventSender.cpp: Fix GTK+ 2.21 build.
3095 2010-08-02 Tony Chang <tony@chromium.org>
3097 Reviewed by Kent Tamura.
3099 [chromium] use ChromiumDriver on Linux when running webkit tests
3100 https://bugs.webkit.org/show_bug.cgi?id=43273
3102 * Scripts/webkitpy/layout_tests/port/chromium.py:
3104 2010-08-02 Kent Tamura <tkent@chromium.org>
3106 Reviewed by Dimitri Glazkov.
3108 [DRT/Chromium] Always initialize GTK
3109 https://bugs.webkit.org/show_bug.cgi?id=43327
3111 Call gtk_init() in order to fix plugin test crash.
3113 * DumpRenderTree/chromium/DumpRenderTree.cpp:
3114 (main): Pass argc/argv to platformInit().
3115 * DumpRenderTree/chromium/TestShell.h:
3116 * DumpRenderTree/chromium/TestShellGtk.cpp:
3117 (platformInit): Update parameters, call gtk_init().
3118 * DumpRenderTree/chromium/TestShellMac.mm:
3119 (platformInit): Update parameters.
3120 * DumpRenderTree/chromium/TestShellWin.cpp:
3121 (platformInit): Update parameters.
3123 2010-08-02 Balazs Kelemen <kb@inf.u-szeged.hu>
3125 Reviewed by Simon Hausmann.
3127 [Qt] Generate forwarding headers for WebKit2
3129 https://bugs.webkit.org/show_bug.cgi?id=43336
3131 * Scripts/webkitdirs.pm: Call make on WebKit2/Makefile.DerivedSources.
3133 2010-08-02 Fumitoshi Ukai <ukai@chromium.org>
3135 Reviewed by Kent Tamura.
3137 WebSocket server should start with SO_REUSEADDR
3138 https://bugs.webkit.org/show_bug.cgi?id=43329
3140 Pulls in pywebsocket-0.5.2.
3141 pywebsocket-0.5.2 includes a small fix to start server with SO_REUSE_ADDR.
3142 http://code.google.com/p/pywebsocket/source/detail?r=273
3144 * Scripts/webkitpy/thirdparty/__init__.py: Bump pywebsocket version
3146 2010-08-01 Kent Tamura <tkent@chromium.org>
3148 Reviewed by Dimitri Glazkov.
3150 [DRT/Chromium] Remove string_util.h dependency
3151 https://bugs.webkit.org/show_bug.cgi?id=43312
3153 * DumpRenderTree/chromium/LayoutTestController.cpp:
3154 (LayoutTestController::pathToLocalResource):
3155 Use string::find() instead of StartsWithASCII().
3156 (LayoutTestController::cppVariantToInt32):
3157 Use strtol() instead of StringToNumber().
3159 2010-08-01 Sam Weinig <sam@webkit.org>
3161 Reviewed by Anders Carlsson.
3163 Add ability to reset frame names for WebKitTestRunner
3164 https://bugs.webkit.org/show_bug.cgi?id=43316
3166 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3167 (WTR::InjectedBundle::reset):
3168 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3169 (WTR::InjectedBundlePage::reset):
3170 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3172 2010-08-01 Anders Carlsson <andersca@apple.com>
3174 Reviewed by Sam Weinig.
3176 Implement NPN_RemoveProperty
3177 https://bugs.webkit.org/show_bug.cgi?id=43315
3179 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3180 Add NPRuntimeRemoveProperty.cpp
3182 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
3183 (PluginTest::NPN_GetStringIdentifier):
3184 (PluginTest::NPN_GetIntIdentifier):
3185 (PluginTest::NPN_RemoveProperty):
3188 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
3189 Support more NPClass functions.
3191 * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp: Added.
3192 (NPRuntimeRemoveProperty::NPRuntimeRemoveProperty):
3193 Test for NPN_RemoveProperty.
3195 (NPRuntimeRemoveProperty::TestObject::hasMethod):
3196 (NPRuntimeRemoveProperty::TestObject::invoke):
3197 Add a testRemoveProperty method.
3199 (NPRuntimeRemoveProperty::NPP_GetValue):
3200 Return the test object.
3202 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3203 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3205 Add NPRuntimeRemoveProperty.cpp
3207 2010-07-30 Anders Carlsson <andersca@apple.com>
3209 Reviewed by Sam Weinig.
3211 Add an NPObject class template helper to TestNetscapePlugin
3212 https://bugs.webkit.org/show_bug.cgi?id=43288
3214 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
3215 Add some template magic to be able to figure out if a class has a member function of a given type.
3217 (PluginTest::Object::create):
3220 (PluginTest::Object::invokeDefault):
3221 Add dummy function, this should never be called.
3223 (PluginTest::Object::Object):
3224 Initialize m_pluginTest to 0.
3226 (PluginTest::Object::~Object):
3227 Add virtual destructor.
3229 (PluginTest::Object::NP_Allocate):
3230 Create a new object.
3232 (PluginTest::Object::NP_Deallocate):
3235 (PluginTest::Object::NP_InvokeDefault):
3238 (PluginTest::Object::npClass):
3239 Initialize the NPClass struct.
3241 * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
3242 (DocumentOpenInDestroyStream::NPP_DestroyStream):
3245 * DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp:
3246 (PluginScriptableNPObjectInvokeDefault::NPObjectWithInvokeDefault::invokeDefault):
3247 (PluginScriptableNPObjectInvokeDefault::NPP_GetValue):
3248 Use the PluginTest::Object class template.
3250 2010-07-31 Sam Weinig <sam@webkit.org>
3252 Reviewed by Dan Bernstein.
3254 Patch for https://bugs.webkit.org/show_bug.cgi?id=43305
3255 Add back WKBundleFrameCopyInnerText to fix ~50 test failures
3256 due to SVGElements not having the innerText function.
3258 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3259 (WTR::dumpFrameText):
3261 2010-07-30 Sam Weinig <sam@webkit.org>
3263 Reviewed by Maciej Stachowiak.
3265 Patch for https://bugs.webkit.org/show_bug.cgi?id=43290
3266 Add structured message passing from the injected bundle to UIProcess
3268 * MiniBrowser/mac/AppDelegate.m:
3269 (didRecieveMessageFromInjectedBundle):
3270 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
3271 (didClearWindowForFrame):
3272 (didRecieveMessage):
3273 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3274 (WTR::InjectedBundle::done):
3275 (WTR::InjectedBundle::didReceiveMessage):
3276 * WebKitTestRunner/TestController.cpp:
3277 (WTR::TestController::initialize):
3278 (WTR::TestController::didReceiveMessageFromInjectedBundle):
3279 * WebKitTestRunner/TestController.h:
3280 * WebKitTestRunner/TestInvocation.cpp:
3281 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3282 * WebKitTestRunner/TestInvocation.h:
3283 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3285 2010-07-30 Sam Weinig <sam@webkit.org>
3287 Reviewed by Anders Carlsson.
3289 Patch for https://bugs.webkit.org/show_bug.cgi?id=43275
3290 Make WKArrayRef more usable.
3292 Remove now unnecessary const_casts.
3294 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3295 (WTR::dumpDescendantFrameScrollPositions):
3296 (WTR::dumpDescendantFramesText):
3298 2010-07-30 Sam Weinig <sam@webkit.org>
3300 Reviewed by Anders Carlsson.
3302 Patch for https://bugs.webkit.org/show_bug.cgi?id=43274
3303 Add first pass of structured message passing.
3305 Update Minibrowser and WebKitTestRunner to work with the new post message
3308 * MiniBrowser/mac/AppDelegate.m:
3309 (didRecieveMessageFromInjectedBundle):
3310 (-[BrowserAppDelegate init]):
3311 * MiniBrowser/mac/MiniBrowser_Prefix.pch:
3312 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
3313 (didStartProvisionalLoadForFrame):
3314 (didReceiveServerRedirectForProvisionalLoadForFrame):
3315 (didFailProvisionalLoadWithErrorForFrame):
3316 (didCommitLoadForFrame):
3317 (didFinishLoadForFrame):
3318 (didFailLoadWithErrorForFrame):
3319 (didReceiveTitleForFrame):
3320 (didClearWindowForFrame):
3323 (didRecieveMessage):
3324 (WKBundleInitialize):
3325 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3326 (WTR::InjectedBundle::_didReceiveMessage):
3327 (WTR::InjectedBundle::didReceiveMessage):
3328 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3329 * WebKitTestRunner/TestInvocation.cpp:
3330 (WTR::TestInvocation::invoke):
3331 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3333 2010-07-30 Anders Carlsson <andersca@apple.com>
3335 Try to fix the layout test failures.
3337 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
3338 (webkit_test_plugin_get_value):
3340 2010-07-29 Anders Carlsson <andersca@apple.com>
3342 Reviewed by Adam Roben.
3344 Replace plugins/npruntime/bindings-test.html with a more sophisticated test
3345 https://bugs.webkit.org/show_bug.cgi?id=43232
3347 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3348 Add PluginScriptableNPObjectInvokeDefault.cpp.
3350 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3351 Remove invokeDefault callback function.
3353 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
3354 (PluginTest::create):
3355 Move this to the top of the file.
3357 (PluginTest::NPP_GetValue):
3358 Add default implementation.
3360 (PluginTest::NPN_CreateObject):
3363 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
3364 (PluginTest::identifier):
3365 Add identifier getter.
3367 * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
3368 (DocumentOpenInDestroyStream::DocumentOpenInDestroyStream):
3369 Add "using namespace std".
3371 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
3373 Give PluginTest a chance to return a value.
3375 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3376 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3378 Add PluginScriptableNPObjectInvokeDefault.cpp.
3380 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
3381 (webkit_test_plugin_get_value):
3382 Give PluginTest a chance to return a value.
3384 2010-07-30 Steve Block <steveblock@google.com>
3386 Reviewed by Steve Block.
3388 Add LayoutTestController methods to test DeviceOrientation
3389 https://bugs.webkit.org/show_bug.cgi?id=39589
3391 * DumpRenderTree/LayoutTestController.cpp:
3392 (setMockDeviceOrientationCallback):
3393 (LayoutTestController::staticFunctions):
3394 * DumpRenderTree/LayoutTestController.h:
3395 * DumpRenderTree/chromium/LayoutTestController.cpp:
3396 (LayoutTestController::LayoutTestController):
3397 (LayoutTestController::setMockDeviceOrientation):
3398 * DumpRenderTree/chromium/LayoutTestController.h:
3399 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3400 (LayoutTestController::setMockDeviceOrientation):
3401 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3402 (LayoutTestController::setMockDeviceOrientation):
3403 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3404 (LayoutTestController::setMockDeviceOrientation):
3405 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3406 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3407 (LayoutTestController::setMockDeviceOrientation):
3408 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3409 (LayoutTestController::setMockDeviceOrientation):
3410 * Scripts/build-webkit:
3412 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
3414 Reviewed by Kenneth Christiansen.
3416 [Qt] QtTestBrowser: -resizes-to-contents command line parameter is broken
3417 https://bugs.webkit.org/show_bug.cgi?id=43209
3419 When -resizes-to-content was being passed as a command line parameter it was simply
3420 not being set (although the corresponding menu item was marked as ON).
3421 User had to toggle the menu OFF and then ON again for it to take place.
3423 Reason: LauncherWindow::applyPrefs method sets many user options passed in from
3424 the command line, but not resizesToContents. Patch addresses that.
3426 * QtTestBrowser/launcherwindow.cpp:
3427 (LauncherWindow::createChrome):
3428 (LauncherWindow::applyPrefs):
3429 (LauncherWindow::toggleResizesToContents):
3430 * QtTestBrowser/webview.h:
3431 (WebViewGraphicsBased::resizesToContents):
3433 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
3435 Rubber-stamped by Simon Fraser.
3437 [Qt] QtTestBrowser: more method grouping and clean ups.
3439 Moving blocks of code around. Basically grouping related methods close to each.
3441 * QtTestBrowser/launcherwindow.cpp:
3442 (LauncherWindow::initializeView):
3443 (LauncherWindow::createChrome):
3444 (LauncherWindow::changeViewportUpdateMode):
3445 (LauncherWindow::showFPS):
3446 (LauncherWindow::newWindow):
3447 (LauncherWindow::cloneWindow):
3448 * QtTestBrowser/launcherwindow.h:
3450 2010-07-30 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
3452 Reviewed by Tor Arne Vestbø.
3454 [QT][Symbian] QtTestBrowser missing location capabilities
3455 https://bugs.webkit.org/show_bug.cgi?id=43235
3457 QtTestBrowser missing capabilities to use QtMobility::QLocation.
3459 * QtTestBrowser/QtTestBrowser.pro:
3461 2010-07-29 Anders Carlsson <andersca@apple.com>
3465 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3467 2010-07-29 Dirk Pranke <dpranke@chromium.org>
3469 Reviewed by Eric Seidel.
3471 Update download URLs for python irclib package; the old URLs
3472 pointed at a specific mirror host and not the general sourceforge
3475 https://bugs.webkit.org/show_bug.cgi?id=43228
3477 * Scripts/webkitpy/thirdparty/__init__.py:
3479 2010-07-29 Anders Carlsson <andersca@apple.com>
3483 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3485 2010-07-29 Anders Carlsson <andersca@apple.com>
3487 Another attempt at fixing the Qt and GTK+ build.
3489 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
3490 (webkit_test_plugin_new_instance):
3491 (webkit_test_plugin_destroy_stream):
3493 2010-07-29 Anders Carlsson <andersca@apple.com>
3495 Another build fix attempt.
3497 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
3498 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3499 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
3500 (webkit_test_plugin_new_instance):
3503 2010-07-29 Anders Carlsson <andersca@apple.com>
3505 Try to fix Windows and Unix builds.
3507 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3508 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
3509 (webkit_test_plugin_new_instance):
3510 (webkit_test_plugin_destroy_stream):
3512 2010-07-29 Anders Carlsson <andersca@apple.com>
3514 Reviewed by Sam Weinig.
3516 Refactor TestNetscapePlugin so tests can be split in separate files
3517 https://bugs.webkit.org/show_bug.cgi?id=43220
3519 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3520 Add PluginTest.cpp, PluginTest.h and Tests/DocumentOpenInDestroyStream.cpp.
3522 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3524 Initialize pluginTest to 0. Remove testDocumentOpenInDestroyStream.
3526 * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
3527 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp: Added.
3528 (PluginTest::PluginTest):
3529 Initialize m_npp and the test identifier.
3531 (PluginTest::createTestFunctions):
3532 Return the map from identifiers to createTest functions.
3534 (PluginTest::registerCreateTestFunction):
3535 Insert the identifier and create function pair in the map.
3537 (PluginTest::create):
3538 Look for a createTest function. If one is found, call it. Otherwise create a vanilla PluginTest object.
3540 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added.
3541 (PluginTest::Register::Register):
3542 Helper class template for registering plug-in tests.
3544 (PluginTest::Register::create):
3545 Create a new test of the given type.
3547 * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp: Added.
3548 (DocumentOpenInDestroyStream::DocumentOpenInDestroyStream):
3549 Add a test that calls testDocumentOpen from its NPP_DestroyStream callback.
3551 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
3553 Create a PluginTest given the identifier. Remove the check for "testdocumentopenindestroystream".
3555 (NPP_DestroyStream):
3556 Call the plug-in test NPP_DestroyStream member function.
3558 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3559 Add PluginTest.cpp, PluginTest.h and Tests/DocumentOpenInDestroyStream.cpp.
3561 2010-07-29 Martin Robinson <mrobinson@igalia.com>
3563 Unreviewed build fix.
3565 Add missing second argument to assert_lint in new style checker tests.
3567 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3569 2010-07-29 Anders Carlsson <andersca@apple.com>
3571 Reviewed by Adam Roben.
3573 check-webkit-style shouldn't complain about NPAPI functions
3574 https://bugs.webkit.org/show_bug.cgi?id=43211
3576 Allow underscores in functions that start with NPN_, NPP_ or NP_.
3578 * Scripts/webkitpy/style/checkers/cpp.py:
3579 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3581 2010-07-29 Victor Wang <victorw@chromium.org>
3583 Unreviewed, rolling out r64270.
3584 http://trac.webkit.org/changeset/64270
3585 https://bugs.webkit.org/show_bug.cgi?id=39589
3587 The patch breaks chromium webkit unittest
3589 * DumpRenderTree/LayoutTestController.cpp:
3590 (LayoutTestController::staticFunctions):
3591 * DumpRenderTree/LayoutTestController.h:
3592 * DumpRenderTree/chromium/LayoutTestController.cpp:
3593 (LayoutTestController::LayoutTestController):
3594 * DumpRenderTree/chromium/LayoutTestController.h:
3595 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3596 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3597 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3598 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3599 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3600 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3601 * Scripts/build-webkit:
3603 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
3605 Reviewed by Kenneth Christiansen.
3607 [Qt] QtTestBrowser: Move WebPage class methods definitions from main.cpp to webpage.cpp
3608 https://bugs.webkit.org/show_bug.cgi?id=43199
3610 There is no sense in keeping WebPage method definitions in main.cpp once
3611 webpage.cpp already exists.
3615 * QtTestBrowser/main.cpp:
3616 * QtTestBrowser/webpage.cpp:
3617 (WebPage::createWindow):
3618 (WebPage::createPlugin):
3620 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
3622 Reviewed by Kenneth Christiansen.
3624 [Qt] Factor out LauncherWindow class out of main.cpp (QtTestBrowser)
3625 https://bugs.webkit.org/show_bug.cgi?id=43170
3627 Moving LauncherWindow class out of main.cpp to its own .cpp and .h files:
3628 launcherwindow.{cpp|h}
3632 Also changed all global static variables (named "gXXX") from main.cpp to
3633 static public variables of the LauncherWindow class.
3635 * QtTestBrowser/QtTestBrowser.pro:
3636 * QtTestBrowser/launcherwindow.cpp: Added.
3637 * QtTestBrowser/launcherwindow.h: Added.
3638 * QtTestBrowser/main.cpp:
3639 (LauncherApplication::handleUserOptions):
3642 2010-07-29 Martin Robinson <mrobinson@igalia.com>
3644 Reviewed by Xan Lopez.
3646 Build fix for building against GTK+ 3.x. GSEAL requires that we
3647 access internals of the GdkDragContext via methods. For older versions
3648 of GTK+, define those methods.
3650 * DumpRenderTree/gtk/EventSender.cpp:
3651 (gdk_drag_context_get_selected_action): Added.
3652 (gdk_drag_context_get_actions): Added.
3653 (dispatchEvent): Use the two new accessor methods.
3655 2010-07-29 Adam Roben <aroben@apple.com>
3657 Always say "plugins directory" when referring to a directory
3658 containing one or more plugins
3660 Fixes <http://webkit.org/b/43197> WebKit2 often says "plugin
3661 directory" when it means "plugins directory"
3663 Reviewed by John Sullivan.
3665 * WebKitTestRunner/TestController.cpp:
3666 (WTR::TestController::initialize): Updated for rename.
3668 2010-07-29 Adam Roben <aroben@apple.com>
3670 Always say "directory" when referring to a plugin directory
3672 Fixes <http://webkit.org/b/43195> WebKit2 often says "plugin path"
3673 when it means "plugin directory"
3675 Reviewed by John Sullivan.
3677 * WebKitTestRunner/TestController.cpp:
3678 (WTR::TestController::initialize): Updated for renames.
3680 * WebKitTestRunner/TestController.h: Renamed m_testPluginPath to
3681 m_testPluginDirectory.
3682 (WTR::TestController::testPluginDirectory): Renamed from
3685 * WebKitTestRunner/mac/TestControllerMac.mm:
3686 (WTR::TestController::initializeTestPluginDirectory):
3687 * WebKitTestRunner/win/TestControllerWin.cpp:
3688 (WTR::TestController::initializeTestPluginDirectory):
3689 Renamed from initializeTestPluginPath and updated for rename.
3691 2010-07-29 Csaba Osztrogonác <ossy@webkit.org>
3693 Reviewed by Antonio Gomes.
3695 Initialize all members of NPClass struct.
3696 https://bugs.webkit.org/show_bug.cgi?id=43193
3698 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3700 2010-07-29 Csaba Osztrogonác <ossy@webkit.org>
3702 Reviewed by Antonio Gomes.
3704 Warning fix on platforms where XP_MACOSX is undefined.
3705 https://bugs.webkit.org/show_bug.cgi?id=43192
3707 * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
3708 Use #if defined(XP_MACOSX) instead of #if XP_MACOSX .
3710 2010-07-29 Adam Roben <aroben@apple.com>
3712 Give find-included-framework-headers our standard license
3714 * Scripts/find-included-framework-headers: Used the license from
3715 WebCore/LICENSE-APPLE.
3717 2010-07-29 Adam Roben <aroben@apple.com>
3719 Speed up find-included-framework-headers
3721 We only do one invocation of find now, no longer pipe to grep, and
3722 replace uniq with sort -u.
3724 Also added a license header.
3726 * Scripts/find-included-framework-headers:
3728 2010-07-29 Steve Block <steveblock@google.com>
3730 Reviewed by Jeremy Orlow.
3732 Add LayoutTestController methods to test DeviceOrientation
3733 https://bugs.webkit.org/show_bug.cgi?id=39589
3735 * DumpRenderTree/LayoutTestController.cpp:
3736 (setMockDeviceOrientationCallback):
3737 (LayoutTestController::staticFunctions):
3738 * DumpRenderTree/LayoutTestController.h:
3739 * DumpRenderTree/chromium/LayoutTestController.cpp:
3740 * DumpRenderTree/chromium/LayoutTestController.h:
3741 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3742 (LayoutTestController::setMockDeviceOrientation):
3743 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3744 (LayoutTestController::setMockDeviceOrientation):
3745 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3746 (LayoutTestController::setMockDeviceOrientation):
3747 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3748 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3749 (LayoutTestController::setMockDeviceOrientation):
3750 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3751 (LayoutTestController::setMockDeviceOrientation):
3752 * Scripts/build-webkit:
3754 2010-07-28 Kenichi Ishibashi <bashi@google.com>
3756 Reviewed by Shinichiro Hamaji.
3758 Fixed <https://bugs.webkit.org/show_bug.cgi?id=33814>
3759 check-webkit-style gives false positives in single-line functions.
3761 * Scripts/webkitpy/style/checkers/cpp.py:
3762 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3764 2010-07-28 Darin Adler <darin@apple.com>
3766 Reviewed by Sam Weinig.
3768 WebKitTestRunner needs to support layoutTestController.execCommand
3769 <https://bugs.webkit.org/show_bug.cgi?id=42538>
3771 WebKitTestRunner needs layoutTestController.isCommandEnabled
3772 <https://bugs.webkit.org/show_bug.cgi?id=42671>
3774 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
3775 Added execCommand and isCommandEnabled.
3776 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
3777 (WTR::LayoutTestController::execCommand): Added.
3778 (WTR::LayoutTestController::isCommandEnabled): Added.
3779 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Ditto.
3781 2010-07-28 Kent Tamura <tkent@chromium.org>
3783 Reviewed by Dimitri Glazkov.
3785 [DRT/Chromium] Introduce drt_expectations.txt for NRWT
3786 https://bugs.webkit.org/show_bug.cgi?id=43123
3788 Introduce LayoutTests/platform/chromium/drt_expectations.txt,
3789 which overrides test expectations only for DumpRenderTree, in
3790 order to manage what problems are investigated.
3791 This change will be reverted when we switch to DRT completely.
3793 * Scripts/webkitpy/layout_tests/port/chromium.py:
3794 Add drt_expectations.txt content to the result of
3795 test_expectations_overrides() if --use-drt is specified.
3797 2010-07-28 Brady Eidson <beidson@apple.com>
3799 Reviewed by Darin Adler.
3801 First pass at visited link support for WK2
3802 https://bugs.webkit.org/show_bug.cgi?id=43157
3804 * MiniBrowser/mac/AppDelegate.m:
3805 (didNavigateWithNavigationData):
3806 (didPerformClientRedirect):
3807 (didPerformServerRedirect):
3808 (didUpdateHistoryTitle):
3809 (populateVisitedLinks): Added for the new version of the HistoryClient.
3810 (-[BrowserAppDelegate init]): Set the HistoryClient right after creating the context(s)
3812 * MiniBrowser/mac/BrowserWindowController.m:
3813 (-[BrowserWindowController awakeFromNib]):
3815 2010-07-28 Robin Dunn <robin@alldunn.com>
3817 Reviewed by Kevin Ollivier.
3819 Add DOM bindings support for wx port.
3821 * DumpRenderTree/wscript:
3822 * wx/browser/wscript:
3823 * wx/build/settings.py:
3825 2010-07-28 Tony Chang <tony@chromium.org>
3827 Reviewed by Kent Tamura.
3829 [chromium] cleanup temp files left by Linux DRT
3830 https://bugs.webkit.org/show_bug.cgi?id=43062
3832 * BuildSlaveSupport/build.webkit.org-config/config.json: Rename the chromium bots to include the OS
3833 * BuildSlaveSupport/build.webkit.org-config/master.cfg: add a step on chromium-linux to delete temp files left
3836 2010-07-28 Antonio Gomes <tonikitoo@webkit.org>
3838 Rubber-stamped by Kenneth Christiansen.
3840 More Developer menu items reordering.
3842 Grouping related menu items together, visually and logically (in the code).
3846 * QtTestBrowser/main.cpp:
3847 (LauncherWindow::createChrome):
3849 2010-07-27 Kinuko Yasuda <kinuko@chromium.org>
3851 Reviewed by Ojan Vafai.
3853 Add FILE_SYSTEM build flag for FileSystem API
3854 https://bugs.webkit.org/show_bug.cgi?id=42915
3856 * Scripts/build-webkit:
3858 2010-07-27 Martin Robinson <mrobinson@igalia.com>
3860 Reviewed by David Levin.
3862 Stylebot should not complain about NULL usage in calls to gdk_pixbuf_save_to
3863 https://bugs.webkit.org/show_bug.cgi?id=43090
3865 * Scripts/webkitpy/style/checkers/cpp.py: Add exemption for some GdkPixbuf methods.
3866 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added some tests for this behavior.
3868 2010-07-27 Kent Tamura <tkent@chromium.org>
3870 Unreviewed, trivial typo fix.
3872 * Scripts/webkitpy/layout_tests/port/chromium.py:
3873 Fix a wrong method name committed by r64109.
3875 2010-07-27 Sam Weinig <sam@webkit.org>
3877 Reviewed by Anders Carlsson.
3879 Patch for https://bugs.webkit.org/show_bug.cgi?id=43087
3880 Clean up handling of strings at the WebKit2 API layer.
3882 * MiniBrowser/mac/BrowserWindowController.m:
3883 (runJavaScriptAlert):
3884 (runJavaScriptConfirm):
3885 (runJavaScriptPrompt):
3886 (didNavigateWithNavigationData):
3887 (-[BrowserWindowController updateProvisionalURLForFrame:]):
3888 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
3889 (_didClearWindowForFrame):
3891 2010-07-27 Ojan Vafai <ojan@chromium.org>
3893 Reviewed by Eric Seidel.
3895 webkit-patch post-commits is broken: AttributeError: Values instance has no attribute 'no_squash'
3896 https://bugs.webkit.org/show_bug.cgi?id=42984
3898 squash and no_squash have been intentionally erroring for a couple weeks now.
3899 But post-commits was just broken. Just remove squash/no_squash.
3901 * Scripts/webkitpy/tool/steps/abstractstep.py:
3902 * Scripts/webkitpy/tool/steps/options.py:
3904 2010-07-27 Kevin Ollivier <kevino@theolliviers.com>
3906 [wx] Build fix after introduction of EXECUTABLE_ALLOCATOR_DEMAND.
3908 * wx/build/settings.py:
3910 2010-07-27 Adam Roben <aroben@apple.com>
3914 * MiniBrowser/mac/BrowserWindowController.m:
3916 (-[BrowserWindowController awakeFromNib]):
3917 Added processDidExit support.
3919 2010-07-26 Antonio Gomes <tonikitoo@webkit.org>
3921 Rubber-stamped by Simon Hausmann.
3923 [Qt] Reorder some items in Developers' menu so QGraphicsView one is easier accessible.
3925 Move some less useful menu items on Developers menu from the top to the bottom, so
3926 QGraphicsView menu goes to the top, and becomes more quickly accessible.
3928 * QtTestBrowser/main.cpp:
3929 (LauncherWindow::createChrome):
3931 2010-07-26 Adam Roben <aroben@apple.com>
3933 Fix the path to InjectedBundle.dll in Debug_Internal builds
3935 Fixes <http://webkit.org/b/42994> WebKitTestRunner fails to load
3936 InjectedBundle.dll in the Debug_Internal configuration
3938 Reviewed by Anders Carlsson.
3940 * WebKitTestRunner/win/TestControllerWin.cpp:
3941 (WTR::TestController::initializeInjectedBundlePath): Add the _debug
3942 suffix only in Debug_All builds.
3944 2010-07-25 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
3946 Reviewed by Darin Adler.
3948 https://bugs.webkit.org/show_bug.cgi?id=42947
3949 Check for WEBKIT_TESTFONTS for qt, gtk and windows port and throw
3950 error. Without which dumpRenderTree crashes.
3952 * Scripts/old-run-webkit-tests:
3954 2010-07-27 Kent Tamura <tkent@chromium.org>
3956 Reviewed by Dimitri Glazkov.
3958 https://bugs.webkit.org/show_bug.cgi?id=42956
3959 [DRT/Chromium] Fix "out of sync" assertion error
3961 Fix an assertion error on Windows like the following:
3962 100721 20:16:46 chromium.py:386 CRITICAL Test got out of sync:
3963 |file:///c:/WebKitBuildSlave2/chromium-win-release-tests/build/LayoutTests/http/tests/local/blob/send-data-blob.html|
3964 |file:///C:/WebKitBuildSlave2/chromium-win-release-tests/build/LayoutTests/http/tests/local/blob/send-data-blob.html|
3966 * Scripts/webkitpy/layout_tests/port/chromium.py:
3967 If the url matches with "file:///[a-z]:", does case-ignore comparison.
3968 GURL capitalize the driver letter of a file: URL.
3970 2010-07-26 Darin Adler <darin@apple.com>
3972 Reviewed by Sam Weinig.
3974 WebKitTestRunner needs to support layoutTestController.counterValueForElementById
3975 https://bugs.webkit.org/show_bug.cgi?id=42537
3977 WebKitTestRunner needs layoutTestController.markerTextForListItem
3978 https://bugs.webkit.org/show_bug.cgi?id=42549
3980 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3981 Fixed _paramterExpression typo. Improved support for string type as a
3982 return value, so we don't try to include DOMString.h and we can convert
3983 the string to a JSValue by calling JSValueMakeStringOrNull.
3985 * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
3986 Added JSValueMakeStringOrNull, used by the code generator.
3988 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
3989 Added counterValueForElementById and markerTextForListItem.
3991 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
3992 Moved constant to the top of the file.
3993 (WTR::toCF): Added. Converts strings to CFStringRef.
3994 (WTR::toWK): Added. Converts strings to WKStringRef.
3995 (WTR::toJS): Added. Converts strings to JSStringRef.
3996 (WTR::setProperty): Moved this function to the top of the file
3997 rather than having it down where it's used inside the class. Also
3998 renamed it so it's a separate function rather than an overload of
3999 JSObjectSetProperty.
4000 (WTR::propertyValue): Copied this here from InjectedBundlePage.cpp.
4001 Should move it somewhere we can share it.
4002 (WTR::propertyObject): Ditto.
4003 (WTR::getElementById): Added. Calls getElementById through the magic
4005 (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId):
4006 Chagned to use toWK instead of four local variables.
4007 (WTR::LayoutTestController::counterValueForElementById): Added.
4008 Calls WKBundleFrameCopyCounterValue.
4009 (WTR::LayoutTestController::markerTextForListItem): Added.
4010 Calls WKBundleFrameCopyMarkerText.
4012 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
4013 Added counterValueForElementById and markerTextForListItem.
4015 2010-07-26 Martin Robinson <mrobinson@igalia.com>
4017 Reviewed by Gustavo Noronha Silva.
4019 [GTK] The EventSender should support simulating drop events
4020 https://bugs.webkit.org/show_bug.cgi?id=39844
4022 Add initial dropping support to the GTK+ EventSender.
4024 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4025 (createWebView): Listen for some new drag-and-drop signals.
4026 * DumpRenderTree/gtk/EventSender.cpp: Add currentDragSourceContext.
4028 Detect situations where a drag is either starting or ending and massage
4029 GTK+ into sending the appropriate signals to the WebView.
4030 (replaySavedEvents): Remove comment.
4031 (makeEventSender): Clear the currentDragSourceContext when creating a new EventSender.
4032 (dragBeginCallback): Capture the new currentDragSourceContext when a drag begins.
4033 (dragEndCallback): Clear the currentDragSourceContext when a drag ends.
4034 (dragFailedCallback): Disable the GTK+ drag failed animation.
4035 * DumpRenderTree/gtk/EventSender.h: Add declarations for new signal callbacks.
4037 2010-07-26 Daniel Bates <dbates@rim.com>
4039 Reviewed by Darin Adler.
4041 svn-unapply warns of uninitialized variable when unapplying
4042 a patch that describes an svn move operation
4043 https://bugs.webkit.org/show_bug.cgi?id=42036
4045 Fixes Perl uninitialized variable warnings when un-applying
4046 a patch that moves a file.
4048 * Scripts/svn-unapply:
4049 - Modified patch() so that it initializes $patch to the empty
4050 string when we don't have svnConvertedText (such as when
4051 reversing a diff that represents a svn copy/move operation).
4053 2010-07-26 Sam Weinig <sam@webkit.org>
4055 Reviewed by Anders Carlsson.
4057 Move some non-APIish functions into private headers.
4059 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
4060 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
4062 2010-07-26 Sam Weinig <sam@webkit.org>
4064 Reviewed by Anders Carlsson.
4066 Fix for https://bugs.webkit.org/show_bug.cgi?id=42986
4067 Add prompt and confirm client functions to WebKit2
4069 * MiniBrowser/mac/BrowserWindowController.m:
4070 (-[BrowserWindowController awakeFromNib]):
4072 2010-07-26 Adam Roben <aroben@apple.com>
4076 * MiniBrowser/MiniBrowser.vcproj:
4077 * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj:
4078 Removed empty attributes so the values will be picked up from the
4079 vsprops files. (Also removed a couple of attributes that accidentally
4080 duplicated values from the vsprops files.)
4082 2010-07-26 Brian Weinstein <bweinstein@apple.com>
4084 Rubber-stamped by Adam Roben.
4086 Touch MiniBrowser's stdafx to fix the build.
4088 * MiniBrowser/win/stdafx.h:
4090 2010-07-26 Hayato Ito <hayato@chromium.org>
4092 Reviewed by Shinichiro Hamaji.
4094 Add pretty printer of WTF::Vector for GDB 7.
4096 https://bugs.webkit.org/show_bug.cgi?id=40909
4098 * gdb/wtf.py: Added.
4100 2010-07-26 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
4102 Reviewed by Simon Hausmann.
4104 [Qt] Fix feature detection regexp
4106 We were missing the last feature
4108 * Scripts/webkitdirs.pm:
4110 2010-07-25 Darin Adler <darin@apple.com>
4112 Reviewed by Dan Bernstein.
4114 WebKitTestRunner needs to support layoutTestController.dumpSelectionRect
4115 https://bugs.webkit.org/show_bug.cgi?id=42326
4117 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
4118 Added dumpSelectionRect.
4120 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
4121 (WTR::LayoutTestController::dumpSelectionRect): Added. For now, this
4122 does nothing because its purpose is to change pixel test output and
4123 we do not have pixel tests implemented yet.
4125 2010-07-25 Darin Adler <darin@apple.com>
4127 Reviewed by Maciej Stachowiak.
4129 WebKitTestRunner needs to support layoutTestController.keepWebHistory
4130 https://bugs.webkit.org/show_bug.cgi?id=42323
4132 Added keepWebHistory and computedStyleIncludingVisitedInfo.
4134 Also fixed misspellings of the word "receive".
4136 Also tweaked the names of some of the LayoutTestController members.
4138 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
4139 Added support for a type named "object" that is passed and returns as
4142 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
4143 Added keepWebHistory and computedStyleIncludingVisitedInfo. Also
4144 put setAcceptsEditing up nearer the top.
4146 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
4147 (WTR::InjectedBundle::_didReceiveMessage): Fixed mispellings of receive.
4148 (WTR::InjectedBundle::initialize): Ditto.
4149 (WTR::InjectedBundle::didReceiveMessage): Ditto.
4150 (WTR::InjectedBundle::reset): Reset the state of visited links between
4151 tests. Also eliminated the unused argument to the LayoutTestController
4153 (WTR::InjectedBundle::setShouldTrackVisitedLinks): Added.
4154 * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Ditto.
4156 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
4157 (WTR::InjectedBundlePage::shouldBeginEditing): Call shouldAllowEditing
4158 instead of acceptsEditing.
4159 (WTR::InjectedBundlePage::shouldEndEditing): Ditto.
4160 (WTR::InjectedBundlePage::shouldInsertNode): Ditto.
4161 (WTR::InjectedBundlePage::shouldInsertText): Ditto.
4162 (WTR::InjectedBundlePage::shouldDeleteRange): Ditto.
4163 (WTR::InjectedBundlePage::shouldChangeSelectedRange): Ditto.
4164 (WTR::InjectedBundlePage::shouldApplyStyle): Ditto.
4166 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
4167 (WTR::LayoutTestController::create): Removed uneeded argument.
4168 (WTR::LayoutTestController::LayoutTestController): Removed unneeded
4169 argument. Updated for rename of m_acceptsEditing to m_shouldAllowEditing.
4170 (WTR::LayoutTestController::numberOfActiveAnimations): Added some FIXMEs
4171 about the fact that this works on the main frame.
4172 (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId): Ditto.
4173 (WTR::LayoutTestController::keepWebHistory): Added.
4174 (WTR::LayoutTestController::computedStyleIncludingVisitedInfo): Added.
4175 (WTR::JSObjectSetProperty): Added. Helper to make the function below
4177 (WTR::LayoutTestController::makeWindowObject): Changed to use the
4178 overload of JSObjectSetProperty above.
4180 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Changes to
4183 * WebKitTestRunner/TestController.cpp:
4184 (WTR::TestController::initialize): Fixed mispellings of receive.
4185 (WTR::TestController::_didReceiveMessageFromInjectedBundle): Ditto.
4186 (WTR::TestController::didReceiveMessageFromInjectedBundle): Ditto.
4187 * WebKitTestRunner/TestController.h: Ditto.
4188 * WebKitTestRunner/TestInvocation.cpp:
4189 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Ditto.
4190 * WebKitTestRunner/TestInvocation.h: Ditto.
4192 2010-07-25 Alexey Proskuryakov <ap@apple.com>
4194 Reviewed by Sam Weinig.
4196 https://bugs.webkit.org/show_bug.cgi?id=42193
4197 Support layoutTestController.dumpEditingDelegates in WebKitTestRunner
4199 Step 2 - add the rest of editing delegates.
4201 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
4202 (WTR::operator<<): Fixed to not crash when range is null.
4203 (WTR::InjectedBundlePage::InjectedBundlePage):
4204 (WTR::InjectedBundlePage::_shouldEndEditing):
4205 (WTR::InjectedBundlePage::_shouldInsertNode):
4206 (WTR::InjectedBundlePage::_shouldInsertText):
4207 (WTR::InjectedBundlePage::_shouldDeleteRange):
4208 (WTR::InjectedBundlePage::_shouldChangeSelectedRange):
4209 (WTR::InjectedBundlePage::_shouldApplyStyle):
4210 (WTR::InjectedBundlePage::_didBeginEditing):
4211 (WTR::InjectedBundlePage::_didEndEditing):
4212 (WTR::InjectedBundlePage::_didChange):
4213 (WTR::InjectedBundlePage::_didChangeSelection):
4214 (WTR::InjectedBundlePage::shouldEndEditing):
4215 (WTR::InjectedBundlePage::shouldInsertNode):
4216 (WTR::InjectedBundlePage::shouldInsertText):
4217 (WTR::InjectedBundlePage::shouldDeleteRange):
4218 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
4219 (WTR::InjectedBundlePage::shouldApplyStyle):
4220 (WTR::InjectedBundlePage::didBeginEditing):
4221 (WTR::InjectedBundlePage::didEndEditing):
4222 (WTR::InjectedBundlePage::didChange):
4223 (WTR::InjectedBundlePage::didChangeSelection):