1 2011-03-09 Adam Roben <aroben@apple.com>
3 Add a link to the Leaks Viewer tool on the build.webkit.org homepage
5 Rubber-stamped by David Kilzer.
7 * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
9 2011-03-09 Adam Roben <aroben@apple.com>
11 Add a Leaks Viewer tool to build.webkit.org
13 This tool parses leaks from the files generated by the leaks bot and displays them in a
14 view similar to the Web Inspector's Profiles pane (in fact, it uses the Web Inspector's
17 The URL of the leaks file can be entered in a prompt when the tools is first shown, or can
18 be passed to the tool via the "url" query parameter.
20 Only one leaks file can be viewed at a time for now. Only the number of leaks, as opposed to
21 the number of leaked bytes, is shown. And this tool has made apparent some bugs in the Web
22 Inspector's Heavy profile view. But it's still pretty useful as-is.
24 Fixes <http://webkit.org/b/56028> Would like a Shark-like tool for viewing leaks from leak bots
26 Reviewed by Darin Adler.
28 * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css: Added.
29 (#url-prompt-container): This is the dark overlay that is shown behind the URL prompt.
30 (#url-prompt): This is the prompt itself.
33 (#loading-indicator > img):
34 These show a spinner in the bottom-right when we're loading a leaks file.
36 (.percent-time-status-bar-item): Hide the Percent button since we never want to show leaks
39 * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js: Added.
40 (LeaksViewer.loaded): Initialize ourselves and start loading the leaks file (or prompt for a
41 URL if one wasn't given to us as a query parameter).
43 (LeaksViewer.get loading):
44 (LeaksViewer.set loading):
45 (LeaksViewer.get url):
46 (LeaksViewer.set url):
47 Pretty simple accessors.
49 (LeaksViewer.urlPromptButtonClicked): Start loading the URL from the prompt and hide the
51 (LeaksViewer._displayURLPrompt): Show the prompt and focus the URL input.
52 (LeaksViewer._loadLeaksFromURL): Start fetching the leaks file. When we've retrieved the
53 file, hand it off to a Web Worker that will parse it into a fake "profile", then hand off
54 the profile to the Web Inspector code once it's been created.
55 (LeaksViewer._loadingStatusChanged): Update our loading indicator and title.
56 (LeaksViewer._setLoadingIndicatorHidden): Simply hide or show the indicator.
57 (LeaksViewer._updateTitle): Set our title based on our URL and loading status.
58 (getResource): Helper function to fetch a resource via XHR and pass it to a callback.
60 * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js: Added.
61 (WebInspector.UIString): Just a simple implementation since this tool isn't localized.
62 (ProfilerAgent.getProfile): Store the callback.
63 (ProfilerAgent.profileReady): Call the callback.
64 (monkeyPatchInspectorObjects): Fix up WebInspector.ProfileDataGridNode to show the self leak
65 count and total leak counts as real values, not percentages or milliseconds.
67 * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Worker.js: Added.
68 (onmessage): Create a profile based on the leaks file and pass it back to our caller.
69 (parseLeaks): Extract call stacks out of a leaks file.
70 (createNode): Helper function to create a new empty profile node.
71 (createProfile): Take the leak stacks and turn them into a fake "profile" for consumption by
72 WebInspector.ProfileView.
74 * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added.
76 2011-03-09 Dan Bernstein <mitz@apple.com>
78 Reviewed by Adam Roben.
80 Combine multiple --ignore-tests values
81 https://bugs.webkit.org/show_bug.cgi?id=56016
83 * Scripts/old-run-webkit-tests:
85 2011-03-08 Kenji Imasaki <imasaki@chromium.org>
87 Reviewed by David Levin.
89 Adding myself to the committer file.
91 * Scripts/webkitpy/common/config/committers.py:
93 2011-03-08 Jessie Berlin <jberlin@apple.com>
95 Rubber-stamped by Adam Roben.
97 Fix two leaks I introduced into the API tests.
99 * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
100 (TestWebKitAPI::TEST):
102 2011-03-08 Jessie Berlin <jberlin@apple.com>
104 Reviewed by Anders Carlsson.
106 Crash in CFNetwork visiting google.com
107 https://bugs.webkit.org/show_bug.cgi?id=55958
109 Add a test for not trying to copy a null CFURLResponse.
111 * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp: Added.
112 (TestWebKitAPI::TEST):
113 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
115 2011-03-08 Hayato Ito <hayato@chromium.org>
117 Reviewed by Ojan Vafai.
119 [NRWT] Renamed a FailureWithType class to a ComparisonTestFailure class.
121 FailureWithType is a confusing naming because we have removed test_type/* classes in r79840.
123 https://bugs.webkit.org/show_bug.cgi?id=55450
125 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
127 2011-03-08 Carlos Garcia Campos <cgarcia@igalia.com>
129 Reviewed by Martin Robinson.
131 [GTK] Add layoutTestController.setValueForUser() after r80412
132 https://bugs.webkit.org/show_bug.cgi?id=55862
134 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
135 (LayoutTestController::setValueForUser): Implement setValueForUser()
137 2011-03-08 Patrick Gansterer <paroga@webkit.org>
139 Reviewed by Adam Barth.
141 Add script_shell_command to WebKitPort
142 https://bugs.webkit.org/show_bug.cgi?id=55925
144 Add a central place where we generate the shell command from the script name.
145 This function will be used later to detect the correct script interpreter on Win32.
147 * Scripts/webkitpy/common/config/ports.py:
148 * Scripts/webkitpy/layout_tests/port/base.py:
149 * Scripts/webkitpy/tool/steps/abstractstep.py:
150 * Scripts/webkitpy/tool/steps/preparechangelog.py:
152 2011-03-07 Ojan Vafai <ojan@chromium.org>
154 Reviewed by Adam Barth.
156 add webkit-patch attach-to-bug for posting to bugzilla from the commandline
157 https://bugs.webkit.org/show_bug.cgi?id=55749
159 * Scripts/webkitpy/tool/commands/upload.py:
160 * Scripts/webkitpy/tool/commands/upload_unittest.py:
161 * Scripts/webkitpy/tool/steps/__init__.py:
162 * Scripts/webkitpy/tool/steps/attachtobug.py: Added.
163 * Scripts/webkitpy/tool/steps/options.py:
165 2011-03-07 Daniel Cheng <dcheng@chromium.org>
167 Reviewed by David Levin.
169 Add support for DataTransferItems
170 https://bugs.webkit.org/show_bug.cgi?id=55115
172 Enable data transfer items in DRT.
174 * DumpRenderTree/chromium/TestShell.cpp:
175 (TestShell::TestShell):
177 2011-03-06 Ojan Vafai <ojan@chromium.org>
179 Reviewed by Tony Chang.
181 [test dashboard] pull treemap files
182 https://bugs.webkit.org/show_bug.cgi?id=55852
184 * TestResultServer/handlers/dashboardhandler.py:
186 2011-03-03 Hayato Ito <hayato@chromium.org>
188 Reviewed by Mihai Parparita.
190 [NRWT] Clear output image file used by DumpRenderTree to make sure the
191 previous image should not be used in the ChromiumDriver.
193 Also make sure that output image from the ChromiumDriver should be ''
194 (empty string) if a test crashes for consistency with the WebKitDriver
197 https://bugs.webkit.org/show_bug.cgi?id=55746
199 * Scripts/webkitpy/layout_tests/port/chromium.py:
201 2011-03-07 Zan Dobersek <zandobersek@gmail.com>
203 Reviewed by Martin Robinson.
205 [Gtk] fast/js/navigator-language.html fails locally
206 https://bugs.webkit.org/show_bug.cgi?id=55880
208 Add LANG variable to the clean environment when running
209 old-run-webkit-tests script.
211 * Scripts/old-run-webkit-tests:
213 2011-03-07 Tony Chang <tony@chromium.org>
215 Reviewed by Mihai Parparita.
217 [Chromium] Find .checksum files without .pngs and vice-versa
218 https://bugs.webkit.org/show_bug.cgi?id=55236
220 * Scripts/find-mismatched-layout-test-results: Added. A script for finding
223 2011-03-07 Chris Fleizach <cfleizach@apple.com>
225 Reviewed by Beth Dakin.
227 AX: WK1 needs to use the ScrollView attachment for AXScrollArea, WK2 should not use this element.
228 https://bugs.webkit.org/show_bug.cgi?id=55706
230 The rootElement in DRT should point to the scroll view. In WK1, that will be the parent of the rootObject.
232 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
233 (AccessibilityController::focusedElement):
234 Remove FIXME comment about caching the focusedElement. In fact, we shouldn't cache this
235 because it could change at any time.
236 (AccessibilityController::rootElement):
238 2011-03-07 Sam Weinig <sam@webkit.org>
240 Reviewed by Anders Carlsson.
242 Add unableToImplementPolicy callback for WebKit2 policy client
243 <rdar://problem/9071902>
244 https://bugs.webkit.org/show_bug.cgi?id=55884
246 * MiniBrowser/mac/BrowserWindowController.m:
247 (-[BrowserWindowController awakeFromNib]):
248 Update policy client initialization struct for new member.
250 2011-03-07 Sam Weinig <sam@webkit.org>
252 Reviewed by Anders Carlsson.
254 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
255 https://bugs.webkit.org/show_bug.cgi?id=55827
257 * MiniBrowser/mac/BrowserWindowController.m:
258 (decidePolicyForResponse):
259 (-[BrowserWindowController awakeFromNib]):
260 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
261 (TestWebKitAPI::decidePolicyForResponse):
262 (TestWebKitAPI::TEST):
263 Update tools for new name.
265 2011-03-06 Daniel Bates <dbates@rim.com>
267 Reviewed by Eric Seidel and David Kilzer.
269 Fix misspelled word in build-webkit's checkForJavaSDK() and sort forward declarations
270 https://bugs.webkit.org/show_bug.cgi?id=55503
272 Fix misspelled word "Dowloads" [sic] in the message printed to standard output
273 in checkForJavaSDK().
275 Also, remove extraneous space in function prototype for unlinkZeroFiles.
277 * Scripts/build-webkit:
279 2011-03-05 Brian Weinstein <bweinstein@apple.com>
281 Reviewed by Sam Weinig.
283 Fix Web Process crashes caused by https://bugs.webkit.org/show_bug.cgi?id=53919.
285 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
286 (WTR::InjectedBundlePage::willSendRequestForFrame): Retain the WKURLRequestRef returned
287 by willSendRequestForFrame. The API expects a retained reference to the URL request.
289 2011-03-05 Ilya Sherman <isherman@chromium.org>
291 Reviewed by Darin Adler.
293 HTMLInputElement::setValue() should schedule change event when the element is focused
294 In service of https://code.google.com/p/chromium/issues/detail?id=42716
295 https://bugs.webkit.org/show_bug.cgi?id=53160
297 * DumpRenderTree/LayoutTestController.cpp:
298 (setValueForUserCallback):
299 (LayoutTestController::staticFunctions):
300 * DumpRenderTree/LayoutTestController.h:
301 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
302 (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
303 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
304 (LayoutTestController::setValueForUser): Expose HTMLInputElement::setValueForUser() to tests
305 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
306 (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
307 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
308 (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
309 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
310 (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
312 2011-03-04 Mark Rowe <mrowe@apple.com>
314 Reviewed by Alexey Proskuryakov.
316 <rdar://problem/9055252> DumpRenderTree is crashing with GuardMalloc
318 GuardMalloc does not expect the memory containing its malloc_zone_t to ever be read-only.
320 * DumpRenderTree/mac/CheckedMalloc.cpp:
321 (protectionOfRegion): Retrieve the protection flags for the VM region containing the given address.
322 (makeLargeMallocFailSilently): Save the initial protection flags, temporarily make the region writeable,
323 and then restore the initial protection flags when we're done.
325 2011-03-04 Evan Martin <evan@chromium.org>
327 Reviewed by Tony Chang.
329 [gdb] pretty-print KURL in gdb
330 https://bugs.webkit.org/show_bug.cgi?id=55788
332 * gdb/webkit.py: extend the pretty-printers to print WTF::CString
333 and KURLGooglePrivate. As always, "p/r" can be used to sidestep
336 2011-03-03 Timothy Hatcher <timothy@apple.com>
338 Update the tests that use WKPageRunJavaScriptInMainFrame use the WKSerializedScriptValueRef.
340 Reviewed by Darin Adler.
342 * TestWebKitAPI/JavaScriptTest.cpp:
343 (TestWebKitAPI::javaScriptCallback):
344 * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
345 (TestWebKitAPI::didRunJavaScript):
346 * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
347 (TestWebKitAPI::nullJavaScriptCallback):
348 * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
349 (TestWebKitAPI::didRunJavaScript):
351 2011-03-03 Timothy Hatcher <timothy@apple.com>
353 Make run-api-tests show failed if a test fails.
355 https://webkit.org/b/55725
357 Reviewed by Sam Weinig.
359 * Scripts/run-api-tests:
360 (runTest): Remove "my" from the nested $result assignment so the
361 check outside the condition sees the real result.
363 2011-03-02 MORITA Hajime <morrita@google.com>
365 Reviewed by Kent Tamura.
367 [Chromium][DRT] WebTask should use webkit_support::TaskAdaptor
368 https://bugs.webkit.org/show_bug.cgi?id=55434
370 Changed WebTask to be a subclass of webkit_support::TaskAdaptor
371 and passed the object webkit_support::PostDelayedTask directly.
373 Note that the change keeps postTask() as is because it has a
374 semantics taht webkit_support::PostDelayedTask() has; It jumps to
377 * DumpRenderTree/chromium/Task.cpp:
379 * DumpRenderTree/chromium/Task.h:
382 2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
384 Reviewed by Kenneth Rohde Christiansen.
386 [QT] Implement mock client-based geolocation for layout testing
387 https://bugs.webkit.org/show_bug.cgi?id=54334
389 Implement testing for Client-Based geolocation for QtWebkit.
391 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
392 (WebCore::DumpRenderTree::DumpRenderTree):
393 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
394 (LayoutTestController::reset):
395 (LayoutTestController::setGeolocationPermission):
396 (LayoutTestController::setMockGeolocationError):
397 (LayoutTestController::setMockGeolocationPosition):
399 2011-03-03 Sheriff Bot <webkit.review.bot@gmail.com>
401 Unreviewed, rolling out r80237.
402 http://trac.webkit.org/changeset/80237
403 https://bugs.webkit.org/show_bug.cgi?id=55714
405 Windows bots aren't ready to be core (Requested by aroben on
408 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
409 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
411 2011-03-03 Mihai Parparita <mihaip@chromium.org>
413 Reviewed by Tony Chang.
415 NRWT: AttributeError: TestRunner2 instance has no attribute '_cancel_workers'
416 https://bugs.webkit.org/show_bug.cgi?id=55694
418 Fixes for interruptions in NRWT:
419 - Make TestRunInterruptedException be pickleable correctly (the base
420 Exception class defines a __reduce__ that does not include the reason)
421 - Fix ordering of returned arguments from TestRunner2._run_tests
422 (interrupted and keyboard_interrupted were reversed)
423 - Fix cancel_workers callsites (was using old name).
424 - In handle_exception re-raise actual exception instance that was thrown
426 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
427 * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
428 * Scripts/webkitpy/layout_tests/layout_package/worker.py:
429 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
431 2011-03-03 Qi Zhang <qi.2.zhang@nokia.com>
435 Adding myself as a committer.
437 * Scripts/webkitpy/common/config/committers.py:
439 2011-03-03 Tony Gentilcore <tonyg@chromium.org>
441 Reviewed by Mihai Parparita.
443 Teach sheriffbot to answer whois commands
444 https://bugs.webkit.org/show_bug.cgi?id=55687
446 * Scripts/webkitpy/tool/bot/irc_command.py:
447 * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
448 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
450 2011-03-03 Victoria Kirst <vrk@google.com>
452 Reviewed by Eric Carlson.
454 Enable media tests in chromium-gpu/test_expectations
455 https://bugs.webkit.org/show_bug.cgi?id=53608
457 Add media folder to the list of GPU test paths.
459 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
461 2011-03-03 Adam Roben <aroben@apple.com>
463 Work around a bug in KURL's parsing of Windows-style absolute file: URLs
465 Fixes <http://webkit.org/b/55674> Many tests fail in WebKit2 mode on Windows due to
466 incorrect parsing of absolute Windows-style file: URLs
468 Reviewed by Tim Hatcher.
470 * WebKitTestRunner/TestInvocation.cpp:
471 (WTR::createWKURL): Add a "localhost" host to file: URLs we create to work around
472 <http://webkit.org/b/55683>.
474 2011-03-03 Tony Chang <tony@chromium.org>
476 Reviewed by Dimitri Glazkov.
478 [chromium] Run kill-old-processes on the chromium-win bot too
479 https://bugs.webkit.org/show_bug.cgi?id=55630
481 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
482 * BuildSlaveSupport/win/kill-old-processes: Add wdiff.exe to the kill list.
484 2011-03-03 Carlos Garcia Campos <cgarcia@igalia.com>
486 Reviewed by Martin Robinson.
488 [GTK] DRT needs implementation of EventSender.scheduleAsynchronousClick
489 https://bugs.webkit.org/show_bug.cgi?id=53960
491 * DumpRenderTree/gtk/EventSender.cpp:
493 (scheduleAsynchronousClickCallback):
495 2011-03-03 Adam Roben <aroben@apple.com>
497 Look for Windows-style paths when checking whether a test is an Inspector test
499 WTR part of <http://webkit.org/b/55672> <rdar://problem/9080867> All inspector tests time
500 out or crash on Windows 7 Release (WebKit2 Tests)
502 Reviewed by Darin Adler.
504 * WebKitTestRunner/TestInvocation.cpp:
505 (WTR::shouldOpenWebInspector): Also look for backslashes, since that's what we'll get on
508 2011-03-03 Adam Roben <aroben@apple.com>
510 Make Windows 7 Release (Tests) a core builder
512 We can probably make Windows XP Debug (Tests) a core builder, too, but we should probably
513 give it a few more days of greenness first.
515 Fixes <http://webkit.org/b/55665> Windows 7 Release (Tests) should be a core builder
517 Reviewed by Andreas Kling.
519 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
520 (BuildBot): Added a regexp to match Windows 7 Release (Tests).
522 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
523 (BuildBotTest): Updated the list of builders to match the current list on build.webkit.org.
524 Updated the core regexps to match the buildbot module. Updated the expected results to match
525 the current set of core builders.
527 2011-03-03 Benjamin Poulain <benjamin.poulain@nokia.com>
529 Reviewed by Andreas Kling.
531 Adding myself as a reviewer.
533 * Scripts/webkitpy/common/config/committers.py:
535 2011-03-03 Lukasz Slachciak <l.slachciak@samsung.com>
537 Reviewed by Xan Lopez.
539 [GTK] Extended application cache database API and added unit tests file.
540 https://bugs.webkit.org/show_bug.cgi?id=55335
542 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: removed external declaration
543 of webkit_application_cache_set_maximum_size due to API exposal.
545 2011-03-02 Ojan Vafai <ojan@chromium.org>
547 Reviewed by Adam Barth.
549 make webkit-patch upload work for security bugs
550 https://bugs.webkit.org/show_bug.cgi?id=55655
552 The problem is that we shell out to prepare-ChangeLog,
553 which does not authenticate with bugzilla. All it needs from
554 bugzilla is the bug title though. We just pass it through from
555 webkit-patch instead.
557 * Scripts/prepare-ChangeLog:
558 * Scripts/webkitpy/common/net/bugzilla/bug.py:
559 * Scripts/webkitpy/tool/steps/preparechangelog.py:
561 2011-03-01 Ojan Vafai <ojan@chromium.org>
563 Reviewed by Tony Chang.
565 [test-dashboard] make gtest JSON match layout-tests JSON
566 https://bugs.webkit.org/show_bug.cgi?id=55556
568 http://trac.webkit.org/changeset/80090 stopped converting time_ms to t.
569 Make this code match.
571 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
573 2011-03-02 Dirk Pranke <dpranke@chromium.org>
575 Reviewed by Tony Chang.
577 NRWT - implement Linux Hardy 64-bit port support. This involves
578 adding support for non-'x86' architectures and updating the
579 "deduplicate_tests" script to correctly understand that
580 port.name() is not always equal to basename(port.baseline_path()).
582 This change introduces two new port names: 'chromium-linux-x86'
583 and 'chromium-linux-x86_64'. Using the prior 'chromium-linux'
584 flag will cause the code to determine which one to use at
585 runtime, just like we currently do with 'chromium-win'.
587 https://bugs.webkit.org/show_bug.cgi?id=55535
589 * Scripts/webkitpy/common/system/executive_mock.py:
590 Handle 'return_stderr' keyword arg to run_command()
591 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
592 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
593 * Scripts/webkitpy/layout_tests/port/base.py:
594 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
595 * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
596 * Scripts/webkitpy/layout_tests/port/factory.py:
597 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
599 2011-03-02 Kevin Ollivier <kevino@theolliviers.com>
601 [wx] Build fix, make sure we put the wxWebKit dylib in the right directory and
602 update symlinks accordingly.
604 * wx/packaging/build-mac-installer.py:
606 2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>
608 Unreviewed, rolling out r80139.
609 http://trac.webkit.org/changeset/80139
610 https://bugs.webkit.org/show_bug.cgi?id=55620
612 failing and crashing tests on Snow Leopard bot (Requested by
615 * DumpRenderTree/LayoutTestController.cpp:
616 (LayoutTestController::staticFunctions):
617 * DumpRenderTree/LayoutTestController.h:
618 * DumpRenderTree/chromium/LayoutTestController.cpp:
619 (LayoutTestController::LayoutTestController):
620 * DumpRenderTree/chromium/LayoutTestController.h:
621 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
622 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
623 * DumpRenderTree/mac/UIDelegate.h:
624 * DumpRenderTree/mac/UIDelegate.mm:
625 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
626 * DumpRenderTree/qt/LayoutTestControllerQt.h:
627 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
628 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
630 2011-03-02 Adam Roben <aroben@apple.com>
632 Wait for force a paint in WebKitTestRunner until we're actually ready to dump the output
634 This matches DumpRenderTree on Windows.
636 Fixes <http://webkit.org/b/55469> <rdar://problem/9068539> REGRESSION (r79863): Lots of
637 dom/html/level2/html/HTMLFrameElement*.html tests crashing in FrameView::paintOverhangAreas
640 Reviewed by Beth Dakin.
642 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
643 (WTR::InjectedBundlePage::dump): Moved code to force a paint here...
644 (WTR::InjectedBundlePage::didFinishLoadForFrame): ...from here.
646 2011-03-02 Daniel Cheng <dcheng@chromium.org>
648 Reviewed by David Levin.
650 Add feature define for data transfer items
651 https://bugs.webkit.org/show_bug.cgi?id=55510
653 * Scripts/build-webkit:
655 2011-03-02 Adam Roben <aroben@apple.com>
657 Look in the new-to-SnowLeopard location for crash logs on SnowLeopard and newer
659 ReportCrash saves logs to ~/Library/Logs/CrashReporter on Leopard, but to
660 ~/Library/Logs/DiagnosticReports on SnowLeopard. old-run-webkit-tests was only looking in
661 the former location, but was getting lucky on some SnowLeopard machines because symlinks
662 were being created there pointing into DiagnosticReports. For machines without these
663 symlinks, crash logs were not getting captured.
665 Fixes <http://webkit.org/b/55607> old-run-webkit-tests doesn't capture crash logs on some
668 Reviewed by Eric Seidel.
670 * Scripts/old-run-webkit-tests:
671 (captureSavedCrashLog): Look in ~/Library/Logs/DiagnosticReports on SnowLeopard and newer.
673 2011-03-02 Adam Roben <aroben@apple.com>
675 Don't try to capture crash logs on platforms that haven't implemented that feature
677 Fixes <http://webkit.org/b/55504> Use of uninitialized value in numeric lt (<) at
678 Tools/Scripts/old-run-webkit-tests line 1778 seen on Qt bots after a crash
680 Reviewed by Joseph Pecoraro.
682 * Scripts/old-run-webkit-tests:
683 (captureSavedCrashLog): Bail if we don't have a crash log glob.
684 (findNewestFileMatchingGlob): Fix a buggy test for when no paths match the glob. This isn't
685 strictly required to fix bug 55504, but seems worthwhile.
687 2011-01-26 John Knottenbelt <jknotten@chromium.org>
689 Reviewed by Dmitry Titov.
691 Detach Geolocation from Frame when Page destroyed.
692 https://bugs.webkit.org/show_bug.cgi?id=52877
694 Extend the layout test controller to expose the number of pending
695 geolocation requests, so that we can test that the requests have
696 been cancelled on page close.
698 * DumpRenderTree/LayoutTestController.cpp:
699 (numberOfPendingGeolocationPermissionRequestsCallback):
700 (LayoutTestController::staticFunctions):
701 * DumpRenderTree/LayoutTestController.h:
702 * DumpRenderTree/chromium/LayoutTestController.cpp:
703 (LayoutTestController::LayoutTestController):
704 (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
705 * DumpRenderTree/chromium/LayoutTestController.h:
706 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
707 (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
708 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
709 (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
710 * DumpRenderTree/mac/UIDelegate.h:
711 * DumpRenderTree/mac/UIDelegate.mm:
712 (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
713 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
714 (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
715 * DumpRenderTree/qt/LayoutTestControllerQt.h:
716 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
717 (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
718 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
719 (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
722 2011-03-01 Kent Tamura <tkent@chromium.org>
724 Reviewed by Dimitri Glazkov.
726 Assertion fails when a form validation bubble appears
727 https://bugs.webkit.org/show_bug.cgi?id=55550
729 Test: fast/forms/interactive-validation-attach-assertion.html
731 * DumpRenderTree/chromium/WebPreferences.cpp:
732 (WebPreferences::applyTo): Enable the interactive validation feature by
733 default. This matches to Chromium browser.
735 2011-03-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
737 Reviewed by Kent Tamura.
739 Remove efl port style exception of Webcore/JavaScriptCore
740 https://bugs.webkit.org/show_bug.cgi?id=55549
742 WebCore and JavaScriptCore need to adhere WebKit coding style.
744 * Scripts/webkitpy/style/checker.py:
746 2011-03-01 Tony Chang <tony@chromium.org>
748 Reviewed by Ojan Vafai.
750 [chromium] clean up temp files on chromium-mac builder too
751 https://bugs.webkit.org/show_bug.cgi?id=55525
753 * BuildSlaveSupport/chromium/remove-crash-logs:
755 2011-02-28 Ojan Vafai <ojan@chromium.org>
757 Reviewed by Tony Chang.
759 wrap json in a function call to afford cross-domain loading
760 https://bugs.webkit.org/show_bug.cgi?id=55353
762 Also delete the code that compacts the JSON. It turns out this
763 breaks the rebaseline tool and is probably a premature optimization anyways.
765 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
766 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
767 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
768 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
770 2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
772 Unreviewed, rolling out r80079.
773 http://trac.webkit.org/changeset/80079
774 https://bugs.webkit.org/show_bug.cgi?id=55547
776 "Broke the Win debug build?" (Requested by dcheng on #webkit).
778 * Scripts/build-webkit:
780 2011-03-01 Mark Rowe <mrowe@apple.com>
782 Reviewed by Sam Weinig.
784 Update verification scripts to handle WebKit2.
786 * Scripts/check-for-global-initializers: Skip object files that use RefCountedLeakChecker.
787 * Scripts/check-for-inappropriate-files-in-framework: Add some inappropriate file types for
790 2011-03-01 Daniel Cheng <dcheng@chromium.org>
792 Reviewed by David Levin.
794 Add feature define for data transfer items
795 https://bugs.webkit.org/show_bug.cgi?id=55510
797 * Scripts/build-webkit:
799 2011-02-23 Joseph Pecoraro <joepeck@webkit.org>
801 Reviewed by Timothy Hatcher.
803 All Console Messages should be passed to ChromeClients.
804 https://bugs.webkit.org/show_bug.cgi?id=54926
806 Update DumpRenderTree's UIDelegate to use the new console message delegate.
808 * DumpRenderTree/mac/UIDelegate.mm:
809 (-[UIDelegate webView:addMessageToConsole:withSource:]):
811 2011-03-01 Dirk Pranke <dpranke@chromium.org>
813 Reviewed by Adam Barth.
815 Tragically, we stopped running the python unit tests
816 on Chromium Win just as I was getting them to be green.
817 This patch turns them back on.
819 https://bugs.webkit.org/show_bug.cgi?id=55521
821 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
823 2011-03-01 Dirk Pranke <dpranke@chromium.org>
825 Reviewed by Adam Roben.
828 webkitpy.common.system.executive_unittest.ExecutiveTest.\
829 test_kill_all fails on win until it can be properly triaged.
831 https://bugs.webkit.org/show_bug.cgi?id=54790
833 * Scripts/webkitpy/common/system/executive_unittest.py:
835 2011-03-01 Helder Correia <helder@sencha.com>
837 Unreviewed. Add myself to committers.py.
839 * Scripts/webkitpy/common/config/committers.py:
841 2011-03-01 Adam Roben <aroben@apple.com>
843 Give up if a crash log for the web process is taking too long to be saved on Windows
845 This should keep the bots from getting stuck while waiting for a crash log, if writing a
846 crash log ever hangs or the UI process for some reason doesn't notice it's finished.
848 Fixes <http://webkit.org/b/55499> WebKitTestRunner can hang forever waiting for a crash log
849 to be saved for the web process
851 Reviewed by Steve Falkenburg.
853 * WebKitTestRunner/win/TestControllerWin.cpp:
854 (WTR::runRunLoopUntil): Moved code to run the run loop here here from platformRunUntil.
855 Generalized the code slightly to handle the optional object to wait on.
856 (WTR::TestController::platformRunUntil): Use the new runRunLoopUntil function, and also use
857 it (with a timeout) when waiting for a crash log for the web process to be saved. This will
858 prevent us from waiting forever.
860 2011-03-01 Adam Roben <aroben@apple.com>
862 Give WebKitLauncherWin's PDB file a name different from WebKit's
864 WebKitLauncherWin (which builds WebKit.exe) and WebKit (which builds WebKit.dll) were
865 fighting over the same PDB file, meaning that one of them was going to lose and not have
866 symbols. WebKitLauncherWin's PDB file is now named WebKitLauncherWin.pdb.
868 Fixes <http://webkit.org/b/55495> Crashes in WebKit.dll have bad backtraces for some test
869 runs (due to missing symbols)
871 Reviewed by David Kilzer.
873 * WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Use the project name,
874 "WebKitLauncherWin", instead of the target name, "WebKit", when naming the PDB file.
876 2011-03-01 Adam Roben <aroben@apple.com>
878 Count web process crashes toward the --exit-after-n-crashes-or-timeouts limit
880 Fixes <http://webkit.org/b/55492> Web process crashes aren't counted toward the
881 --exit-after-n-crashes-or-timeouts limit
883 Reviewed by David Kilzer.
885 * Scripts/old-run-webkit-tests:
886 (stopRunningTestsEarlyIfNeeded): Include web process crashes in the computation, and print
887 the number of tests that caused the web process to crash when exiting early.
889 2011-03-01 Adam Roben <aroben@apple.com>
891 Save a crash log when the web process crashes
893 On Windows, WebKitTestRunner now detects when the web process is crashing and waits to exit
894 until it has finished crashing, which guarantees that the crash log will have had time to be
895 saved, too. On Mac, we always wait until ReportCrash has exited before capturing the crash
896 log, so all we have to do is choose the right crash log out of the CrashReporter directory.
898 Fixes <http://webkit.org/b/44121> <rdar://problem/8320759> When the web process crashes and
899 a crash log is being saved, WebKitTestRunner thinks the web process has become unresponsive
901 Reviewed by Sam Weinig.
903 * Scripts/old-run-webkit-tests:
904 (testCrashedOrTimedOut): Don't kill WebKitTestRunner when the web process crashes. It will
905 kill itself. On Windows, this will cause us to wait until the crash log has been saved. On
906 Mac, it should have no effect. Capture saved crash logs for web process crashes, too.
907 (captureSavedCrashLog): Added $webProcessCrashed argument. On Mac, look for
908 WebProces_*.crash files when the web process crashes.
910 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
911 (WTR::InjectedBundle::initialize): Added an initializationUserData argument. Updated for
912 initializePlatformDefaults -> platformInitialize rename. Pass the initializationUserData
913 along to platformInitialize.
915 * WebKitTestRunner/InjectedBundle/InjectedBundle.h: See above.
917 * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
918 (WKBundleInitialize): Pass along the initializationUserData to the InjectedBundle.
920 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
921 (WTR::InjectedBundle::platformInitialize):
922 * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
923 (WTR::InjectedBundle::platformInitialize):
924 Updated function signature.
926 * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp:
927 (WTR::exceptionFilter): Added. Tells the UI process we're crashing by signaling the
928 webProcessCrashingEvent, then lets the crash continue as normal.
930 (WTR::InjectedBundle::platformInitialize): Hook up exceptionFilter. Retrieve the name of the
931 event we should use to tell the UI process we're crashing from the initializationUserData,
932 and get a handle to that event.
934 * WebKitTestRunner/TestController.cpp:
935 (WTR::TestController::TestController): Initialize new members.
936 (WTR::TestController::processDidCrash): Removed unnecessary WKPageRef argument. Changed to
937 only print the "#CRASHED - WebProcess" message once, since this can be called more than once
938 when a crash log is being saved on Windows. Exit right away if specified. (This is the
941 * WebKitTestRunner/TestController.h: Added new members.
943 * WebKitTestRunner/win/TestControllerWin.cpp:
944 (WTR::TestController::platformInitialize): Set up the event the web process will use to tell
946 (WTR::TestController::platformRunUntil): Pass MWMO_INPUTAVAILABLE to
947 ::MsgWaitForMultipleObjectsEx so we'll process messages that have already been seen by
948 ::PeekMessage. (This is unrelated to the bug fix.) Notice when the webProcessCrashingEvent
949 has been signaled. When this happens, print the "#CRASHED - WebProcess" message right away
950 so the test harness will know the web process has crashed and not try to kill us, then wait
951 for the web process to finish crashing so a crash log will have time to be saved.
952 (WTR::toWK): Simple hepler function.
953 (WTR::TestController::platformInitializeContext): Pass along the name of the event the web
954 process should use to tell us it is crashing in the context's initialization user data.
956 2011-03-01 Dimitri Glazkov <dglazkov@chromium.org>
958 Reviewed by Tony Gentilcore.
960 Move the checks to exclude Python/Perl tests for Chromium Win build to the right place.
961 https://bugs.webkit.org/show_bug.cgi?id=55476
963 Chromium Win uses BuildAndTestFactory, not TestFactory.
965 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Moved to the right place.
967 2011-03-01 Adam Roben <aroben@apple.com>
969 Test that the WebKit2 responsiveness timer doesn't fire too early
971 Test for <http://webkit.org/b/55417> <rdar://problem/9065287> RunLoop::Timer fires 1000x too
974 Reviewed by Anders Carlsson.
976 * TestWebKitAPI/PlatformUtilities.h: Added sleep().
978 * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp: Added.
979 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
980 (TestWebKitAPI::didFinishLoadForFrame):
981 (TestWebKitAPI::processDidBecomeUnresponsive):
982 (TestWebKitAPI::setInjectedBundleClient):
983 (TestWebKitAPI::setPageLoaderClient):
984 Simple helper functions.
986 (TestWebKitAPI::TEST): Load an HTML file to make sure the web process is initialized. Then
987 tell the web process to pause and press the spacebar key. The spacebar keypress should cause
988 the responsiveness timer to start, but the web process should unpause before it has a chance
989 to fire. Run until the web process has unpaused, and assert that the timer didn't fire.
991 * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp: Added.
992 (TestWebKitAPI::ResponsivenessTimerDoesntFireEarlyTest::ResponsivenessTimerDoesntFireEarlyTest):
993 Call up to the base class.
994 (TestWebKitAPI::ResponsivenessTimerDoesntFireEarlyTest::didReceiveMessage): When asked to
995 pause, sleep for 0.5 seconds, then send back a message saying we paused.
997 * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
998 (TestWebKitAPI::Util::sleep): Added. Calls through to usleep.
999 * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
1000 (TestWebKitAPI::Util::sleep): Added. Calls through to ::Sleep.
1002 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1003 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1004 * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
1007 2011-03-01 Andras Becsi <abecsi@webkit.org>
1009 Reviewed by Csaba Osztrogonác.
1011 [Qt] Clean up the project files and move common options to WebKit.pri.
1013 * WebKitTestRunner/qt/WebKitTestRunner.pro: Deduplicate.
1016 2011-03-01 Adam Roben <aroben@apple.com>
1018 Skip another multiprocessing test on Windows
1020 It is sometimes failing (and may be leaving child Python processes around).
1021 <http://webkit.org/b/55087> tracks the failure.
1023 * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
1024 (FuncitonTests.test_get__processes): Skip this test on Windows.
1026 2011-03-01 Ilya Tikhonovsky <loislo@chromium.org>
1028 Reviewed by Pavel Feldman.
1030 Web Inspector: reduce inspector tests flakiness.
1031 https://bugs.webkit.org/show_bug.cgi?id=55401
1033 * DumpRenderTree/chromium/TestShell.cpp:
1034 (TestShell::runFileTest):
1035 * DumpRenderTree/chromium/WebPreferences.cpp:
1036 (WebPreferences::reset):
1038 2011-02-28 Mihai Parparita <mihaip@chromium.org>
1040 Reviewed by James Robinson.
1042 NRWT should still upload results when it exits early due to too many failures
1043 https://bugs.webkit.org/show_bug.cgi?id=55432
1045 Only keyboard interrupts should prevent results from being uploaded.
1047 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1048 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1050 2011-02-28 Alice Liu <alice.liu@apple.com>
1052 Reviewed by Adam Roben and Gavin Barraclough.
1054 Test for https://bugs.webkit.org/show_bug.cgi?id=54898
1055 InjectedBundleNodeHandle dies too early in WKBundleHitTestResultGetNodeHandle.
1057 * TestWebKitAPI/InjectedBundleController.h:
1058 (TestWebKitAPI::InjectedBundleController::bundle):
1059 * TestWebKitAPI/PlatformWebView.h:
1060 * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp: Added.
1061 (TestWebKitAPI::didFinishLoadForFrame):
1062 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
1063 (TestWebKitAPI::setPageLoaderClient):
1064 (TestWebKitAPI::TEST):
1065 * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp: Added.
1066 (TestWebKitAPI::HitTestResultNodeHandleTest::HitTestResultNodeHandleTest):
1067 (TestWebKitAPI::HitTestResultNodeHandleTest::getContextMenuFromDefaultMenu):
1068 (TestWebKitAPI::HitTestResultNodeHandleTest::didCreatePage):
1069 * TestWebKitAPI/mac/PlatformWebViewMac.mm:
1070 (TestWebKitAPI::PlatformWebView::simulateRightClick):
1071 * TestWebKitAPI/win/PlatformWebViewWin.cpp:
1072 (TestWebKitAPI::PlatformWebView::simulateRightClick):
1075 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1076 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1077 * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
1079 2011-02-28 Adam Roben <aroben@apple.com>
1081 Start running InjectedBundle API tests on Windows
1083 A new project, TestWebKitAPIInjectedBundle, builds the injected bundle DLL.
1085 Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
1087 Reviewed by Darin Adler.
1089 * TestWebKitAPI/Configurations/TestWebKitAPIDebug.vsprops: Added.
1090 * TestWebKitAPI/Configurations/TestWebKitAPIDebugAll.vsprops: Added.
1091 * TestWebKitAPI/Configurations/TestWebKitAPIDebugCairoCFLite.vsprops: Added.
1092 * TestWebKitAPI/Configurations/TestWebKitAPIRelease.vsprops: Added.
1093 * TestWebKitAPI/Configurations/TestWebKitAPIReleaseCairoCFLite.vsprops: Added.
1094 These are just extracted from TestWebKitAPI.vcproj.
1096 * TestWebKitAPI/Configurations/TestWebKitAPIInjectedBundleCommon.vsprops: Added. Just sets
1097 up the DLL's filename.
1099 * TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Fixed DLL name.
1100 (TestWebKitAPI::Util::createInjectedBundlePath): Changed to use kCFAllocatorNull instead of
1101 0 (== kCFAllocatorDefault) so that CF won't try to deallocate our C string.
1103 * TestWebKitAPI/win/TestWebKitAPI.sln: Added TestWebKitAPIInjectedBundle. Removed the bogus
1104 "all" configuration.
1106 * TestWebKitAPI/win/TestWebKitAPI.vcproj: Changed to use the new .vsprops files. Added
1107 injected bundle tests. Let VS resort things.
1109 * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Copied from Tools/TestWebKitAPI/win/TestWebKitAPI.vcproj.
1111 2011-02-28 Adam Roben <aroben@apple.com>
1113 Add a test for the paint rect passed via WM_PAINT to windowless plugins
1115 Test for <http://webkit.org/b/55365> <rdar://problem/9031089> REGRESSION (r79040): WebKit2:
1116 Large portions of pages with plugins paint black
1118 Reviewed by Anders Carlsson.
1120 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
1121 (PluginTest::NPP_HandleEvent):
1122 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
1123 Added NPP_HandleEvent. Just returns 0 at this level.
1125 * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowlessPaintRectCoordinates.cpp: Added.
1126 (WindowlessPaintRectCoordinates::WindowlessPaintRectCoordinates): Call up to the base class.
1127 (WindowlessPaintRectCoordinates::NPP_New): Mark ourselves as windowless.
1128 (WindowlessPaintRectCoordinates::NPP_HandleEvent): Check that the paint rect passed via
1129 WM_PAINT has the expected coordinates.
1131 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1132 (NPP_HandleEvent): Give the PluginTest a chance to handle the event before doing anything
1135 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added new file, let VS
1138 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1139 (WTR::InjectedBundlePage::didFinishLoadForFrame): Added a call to WKBundlePageForceRepaint.
1140 This is roughly equivalent to the call to -[WebView displayIfNeeded] in -[FrameLoadDelegate
1141 webView:didFinishLoadForFrame:] in DumpRenderTree.
1143 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
1144 (WTR::PlatformWebView::PlatformWebView): Tell the WKView it's in a window so that plugins
1147 2011-02-28 Adam Roben <aroben@apple.com>
1149 Tell MiniBrowser's WKViews that they're in a window
1151 Fixes <http://webkit.org/b/55364> Plugins don't work in MiniBrowser on Windows
1153 Reviewed by Anders Carlsson.
1155 * MiniBrowser/win/BrowserView.cpp:
1156 (BrowserView::create): Call WKViewSetIsInWindow after creating the view.
1158 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
1160 Reviewed by Csaba Osztrogonác.
1162 The new QML tests require QML_IMPORT_PATH variable to be set in order to
1163 load the proper plugin.
1165 * Scripts/run-qtwebkit-tests:
1167 2011-02-28 Joone Hur <joone.hur@collabora.co.uk>
1169 Unreviewed, fix spelling mistake.
1171 hardware-accelated => hardware-accelerated.
1173 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1175 2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>
1177 Reviewed by Andreas Kling.
1179 Made sure that the build-webkit --qmake argument is always respected.
1181 Previously, it would be respected during the build, but not during
1182 the early feature detection. The build would also fail if qmake was
1183 not in your path, even if you specified --qmake with a valid qmake
1186 [Qt] WebKit patches required to work with a modularized version of Qt
1187 https://bugs.webkit.org/show_bug.cgi?id=53916
1189 * Scripts/build-webkit:
1190 * Scripts/webkitdirs.pm:
1192 2011-02-27 Ojan Vafai <ojan@chromium.org>
1194 Fix failing tests from http://trac.webkit.org/changeset/79837.
1196 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
1197 This was just a mistake that would break if someone tried printing with this configuration.
1198 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
1199 Method signature changed. Didn't notice that this method was being calling in a unittest.
1201 2011-02-24 Hayato Ito <hayato@chromium.org>
1203 Reviewed by Eric Seidel.
1205 [NRWT] Remove test_types/* classes.
1207 This is the last patch in the series of efforts which tried to remove test_types classes.
1208 A single_test_runner module will take over responsibilities of test_type classes.
1210 From this patch, we won't display statistics per test_type even if a '--verbose' option is given.
1212 https://bugs.webkit.org/show_bug.cgi?id=55123
1214 * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
1215 * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
1216 * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
1217 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1218 * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py:
1219 * Scripts/webkitpy/layout_tests/test_types/__init__.py: Removed.
1220 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: Removed.
1221 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: Removed.
1222 * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py: Removed.
1223 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: Removed.
1225 2011-02-25 Ojan Vafai <ojan@chromium.org>
1227 Reviewed by Tony Chang.
1229 Change results.json format to the one used by unexpected_results.json
1230 https://bugs.webkit.org/show_bug.cgi?id=52267
1232 Also add runtimes in milliseconds to the JSON and make the output format more compact.
1233 Named the file full_results.json to avoid conflicting with the results.json
1234 file the test-results server currently serves up.
1236 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1237 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1238 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
1239 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
1240 * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
1241 * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1243 2011-02-27 Adam Roben <aroben@apple.com>
1245 Followup fix to r79827
1247 * DumpRenderTree/win/UIDelegate.cpp:
1248 (UIDelegate::webViewAddMessageToConsole): Replaced call to urlSuitableForTestResult with
1249 lastPathComponent. This matches what we did here before r79827, and matches Mac.
1251 2011-02-27 Dan Bernstein <mitz@apple.com>
1253 Reviewed by Adam Roben.
1255 Make bisect-builds print a trac link for the regression range
1256 https://bugs.webkit.org/show_bug.cgi?id=55331
1258 * Scripts/bisect-builds:
1260 2011-02-27 Adam Roben <aroben@apple.com>
1262 Use iswalpha instead of isalpha when dealing with wchar_ts in EditingDelegate
1264 Fixes <http://webkit.org/b/55062> <rdar://problem/9059907> Crash beneath
1265 EditingDelegate::checkSpellingOfString when running fast/forms/input-text-maxlength.html or
1266 fast/forms/input-text-paste-maxlength.html on Windows with full page heap enabled
1268 Reviewed by Anders Carlsson.
1270 * DumpRenderTree/win/EditingDelegate.cpp:
1271 (indexOfFirstWordCharacter):
1273 Use iswalpha instead of isalpha, since TCHAR is really just wchar_t.
1275 2011-02-27 Adam Roben <aroben@apple.com>
1277 Make ResourceLoadDelegate print URLs relative to the main resource on Windows
1279 This matches Mac. (In fact, the code was ported from Mac!)
1281 Fixes <http://webkit.org/b/55328> URLs printed by ResourceLoadDelegate on Windows don't
1284 Reviewed by Anders Carlsson.
1286 * DumpRenderTree/win/DumpRenderTree.cpp:
1287 (substringFromIndex): Added. Emulates -[NSString substringFromIndex:].
1288 (urlSuitableForTestResult): Ported code from -[NSURL(DRTExtras)
1289 _drt_descriptionSuitableForTestResult].
1290 (cfStringRefToWString): Moved here from LayoutTestControllerWin.cpp.
1292 * DumpRenderTree/win/DumpRenderTreeWin.h: Added declaration of cfStringRefToWString.
1294 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Moved cfStringRefToWString to
1297 2011-02-27 Adam Roben <aroben@apple.com>
1299 Change the order of Chang Shu's email addresses so the first one is their Bugzilla username
1301 This makes Bugzilla autocompletion work correctly.
1303 * Scripts/webkitpy/common/config/committers.py:
1305 2011-02-27 Patrick Gansterer <paroga@webkit.org>
1307 Reviewed by Andreas Kling.
1309 [Qt] fast/loader/user-stylesheet-fast-path.html fails
1310 https://bugs.webkit.org/show_bug.cgi?id=50911
1312 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1313 (LayoutTestController::setUserStyleSheetLocation):
1314 Use QUrl::fromEncoded since the passed string is already encoded.
1316 2011-02-27 Adam Roben <aroben@apple.com>
1318 Ensure $testResultsDirectory is an absolute path before setting up Windows crash log saving
1320 Windows 7 (and maybe Vista?) launches the post-mortem debugger with a working directory that
1321 is different from old-run-webkit-test's. Because of this, the path to the crash log file
1322 (which is relative to $testResultsDirectory) must be an absolute path. See the bug for more
1325 Fixes <http://webkit.org/b/55318> Crash logs aren't saved on Windows 7 when a relative
1326 --results-directory path is used (like on the test slaves)
1328 Reviewed by Dan Bernstein.
1330 * Scripts/old-run-webkit-tests: Moved the call to setUpWindowsCrashLogSaving after we've
1331 made $testResultsDirectory an absolute path.
1333 2011-02-26 Dominic Mazzoni <dmazzoni@google.com>
1335 Reviewed by Adam Barth.
1337 m_dumpAccessibilityNotifications should be initialized.
1338 https://bugs.webkit.org/show_bug.cgi?id=54874
1340 * DumpRenderTree/chromium/AccessibilityController.cpp:
1341 (AccessibilityController::AccessibilityController):
1343 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
1345 Reviewed by Pavel Feldman.
1347 DumpRenderTree should reset frame opener between tests.
1348 https://bugs.webkit.org/show_bug.cgi?id=54874
1350 Added clearOpener() calls between tests.
1351 Some tests are using window.open() to change current window location.
1352 This changes window.opener property whose nullity is checked before
1355 * DumpRenderTree/chromium/TestShell.cpp:
1356 (TestShell::resetTestController):
1357 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1358 (resetDefaultsToConsistentValues):
1359 * DumpRenderTree/mac/DumpRenderTree.mm:
1360 (resetWebViewToConsistentStateBeforeTesting):
1361 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1362 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1363 * DumpRenderTree/win/DumpRenderTree.cpp:
1364 (resetWebViewToConsistentStateBeforeTesting):
1365 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1366 (WTR::InjectedBundlePage::reset):
1368 2011-02-26 Yael Aharon <yael.aharon@nokia.com>
1370 Reviewed by Andreas Kling.
1372 [Qt] Fix the focus in MiniBrowser.
1373 https://bugs.webkit.org/show_bug.cgi?id=55288
1375 Give focus to the web view when a load starts.
1377 * MiniBrowser/qt/BrowserWindow.cpp:
1378 (BrowserWindow::urlChanged):
1380 2011-02-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1382 Reviewed by Adam Barth.
1384 [EFL] Add coding style exceptions for EFL port
1385 https://bugs.webkit.org/show_bug.cgi?id=54733
1387 The EFL APIs use EFL naming style, which includes both lower-cased and camel-cased,
1388 underscore-sparated values. But, style checking rule have found parameter_name errors
1389 in efl directories so far.
1391 * Scripts/webkitpy/style/checker.py: Add prameter_name rule's exception and efl directories.
1393 2011-02-26 David Levin <levin@chromium.org>
1395 Reviewed by Darin Adler.
1397 check-webkit-style should check for spaces after periods in comments
1398 https://bugs.webkit.org/show_bug.cgi?id=55253
1400 * Scripts/webkitpy/style/checkers/cpp.py: Added the check.
1401 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests
1402 and fixed the name of one related test.
1404 2011-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
1406 Reviewed by Andreas Kling.
1408 Make it possible to test the targetdensity-dpi support
1409 https://bugs.webkit.org/show_bug.cgi?id=55142
1411 Test the viewport meta tag feature targetdensity-dpi by
1412 adding extra arguments to dumpConfigurationForViewport
1414 Add the new arguments to the shared header and all
1417 * DumpRenderTree/LayoutTestController.cpp:
1418 (dumpConfigurationForViewportCallback):
1419 * DumpRenderTree/LayoutTestController.h:
1420 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1421 (LayoutTestController::dumpConfigurationForViewport):
1422 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1423 (LayoutTestController::dumpConfigurationForViewport):
1424 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1425 (LayoutTestController::dumpConfigurationForViewport):
1426 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1427 (LayoutTestController::dumpConfigurationForViewport):
1428 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1429 (LayoutTestController::dumpConfigurationForViewport):
1430 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1432 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
1434 Unreviewed, rolling out r79764.
1435 http://trac.webkit.org/changeset/79764
1436 https://bugs.webkit.org/show_bug.cgi?id=55295
1438 "broke Chromium builds" (Requested by rniwa on #webkit).
1440 * DumpRenderTree/chromium/TestShell.cpp:
1441 (TestShell::resetTestController):
1442 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1443 (resetDefaultsToConsistentValues):
1444 * DumpRenderTree/mac/DumpRenderTree.mm:
1445 (resetWebViewToConsistentStateBeforeTesting):
1446 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1447 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1448 * DumpRenderTree/win/DumpRenderTree.cpp:
1449 (resetWebViewToConsistentStateBeforeTesting):
1450 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1451 (WTR::InjectedBundlePage::reset):
1453 2011-02-26 Yongjun Zhang <yongjun_zhang@apple.com>
1455 Reviewed by David Kilzer.
1457 https://bugs.webkit.org/show_bug.cgi?id=48781
1459 Add a resource load delegate method to query if WebCore should paint the default broken image for failed images.
1461 Add a new resource load client method (shouldPaintBrokenImage). WebKit client can decide if WebCore
1462 should paint the default broken image when an image fails to load or decode.
1464 * DumpRenderTree/LayoutTestController.cpp:
1465 (LayoutTestController::LayoutTestController):
1466 (setShouldPaintBrokenImageCallback):
1467 (LayoutTestController::staticFunctions):
1468 (LayoutTestController::setShouldPaintBrokenImage):
1469 * DumpRenderTree/LayoutTestController.h:
1470 (LayoutTestController::shouldPaintBrokenImage):
1471 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1472 (-[ResourceLoadDelegate webView:shouldPaintBrokenImageForURL:]):
1474 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
1476 Reviewed by Pavel Feldman.
1478 DumpRenderTree should reset frame opener between tests.
1479 https://bugs.webkit.org/show_bug.cgi?id=54874
1481 Added clearOpener() calls between tests.
1482 Some tests are using window.open() to change current window location.
1483 This changes window.opener property whose nullity is checked before
1486 * DumpRenderTree/chromium/TestShell.cpp:
1487 (TestShell::resetTestController):
1488 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1489 (resetDefaultsToConsistentValues):
1490 * DumpRenderTree/mac/DumpRenderTree.mm:
1491 (resetWebViewToConsistentStateBeforeTesting):
1492 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1493 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1494 * DumpRenderTree/win/DumpRenderTree.cpp:
1495 (resetWebViewToConsistentStateBeforeTesting):
1496 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1497 (WTR::InjectedBundlePage::reset):
1499 2011-02-25 Lukasz Slachciak <l.slachciak@samsung.com>
1501 Reviewed by Kenneth Rohde Christiansen.
1503 [EFL] Added EWebLauncher command line option to turn on/off frame flattening
1504 https://bugs.webkit.org/show_bug.cgi?id=54809
1506 * EWebLauncher/main.c: Handling -f option added.
1511 2011-02-25 Sheriff Bot <webkit.review.bot@gmail.com>
1513 Unreviewed, rolling out r79324.
1514 http://trac.webkit.org/changeset/79324
1515 https://bugs.webkit.org/show_bug.cgi?id=55260
1517 Leopard Debug is once again running out of address space while
1518 linking (Requested by aroben on #webkit).
1520 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
1521 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
1523 2011-02-25 Tony Chang <tony@chromium.org>
1525 Reviewed by James Robinson.
1527 Clean up temp files left by crashing DRTs on chromium-win
1528 https://bugs.webkit.org/show_bug.cgi?id=55182
1530 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1531 * BuildSlaveSupport/chromium/remove-crash-logs: Added.
1533 2011-02-25 Adam Roben <aroben@apple.com>
1535 Double-check that modifying the registry worked
1537 On Windows Vista/7 with UAC enabled, regtool will fail to modify the registry, but it will
1538 still return a successful exit code. So we double-check here that the value we tried to
1539 write to the registry was really written.
1541 Fixes <http://webkit.org/b/55227> old-run-webkit-tests falsely claims to be saving crash
1542 logs on Windows Vista/7
1544 Reviewed by Darin Adler.
1546 * Scripts/old-run-webkit-tests:
1547 (writeRegistryString): After trying to write the string value, check that it was really
1550 2011-02-25 Adam Roben <aroben@apple.com>
1552 Set the 32-bit post-mortem debugger on 64-bit OSes
1554 The post-mortem debugger is controlled by some registry values in
1555 HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug. On 64-bit OSes, you can either
1556 set the values in that key, which will be used for 64-bit apps, or in the equivalent key
1557 under Wow6432Node, which will be used for 32-bit apps. Since DumpRenderTree and
1558 WebKitTestRunner are 32-bit, we want to use the latter location.
1560 Fixes <http://webkit.org/b/55225> old-run-webkit-tests sets the post-mortem debugger for
1561 64-bit apps, but should set it for 32-bit apps instead
1563 Reviewed by Darin Adler.
1565 * Scripts/old-run-webkit-tests:
1566 (readRegistryString):
1567 (writeRegistryString):
1568 Pass --wow32 to regtool so it will get/set values beneath Wow6432Node, which is where
1569 Windows looks for the post-mortem debugger values when a 32-bit app crashes on a 64-bit OS.
1570 Passing --wow32 on a 32-bit OS will not have any effect.
1572 2011-02-25 Adam Roben <aroben@apple.com>
1574 Clean up code to set up crash log saving on Windows
1576 Fixes <http://webkit.org/b/55224> old-run-webkit-test's Windows registry code is ugly
1578 Reviewed by David Kilzer.
1580 * Scripts/old-run-webkit-tests:
1581 (readRegistryString):
1582 (writeRegistryString):
1583 Moved code to read strings from and write strings to the registry here...
1585 (setUpWindowsCrashLogSaving): ...from here.
1587 2011-02-25 Adam Roben <aroben@apple.com>
1589 Work around Cygwin's crash-suppression behavior
1591 Cygwin calls ::SetErrorMode(SEM_FAILCRITICALERRORS), which any processes it launches will
1592 inherit. This is bad for testing/debugging, as it causes the post-mortem debugger not to be
1593 invoked. (Cygwin does this because it makes crashes more UNIX-y.) We reset the error mode
1594 when our test apps launch to work around Cygwin's behavior.
1596 Fixes <http://webkit.org/b/55222> Test apps crash silently (without invoking post-mortem
1597 debugger) when launched from Cygwin 1.7
1599 Reviewed by Darin Adler.
1601 * DumpRenderTree/win/DumpRenderTree.cpp:
1603 * TestWebKitAPI/win/main.cpp:
1605 * WebKitAPITest/main.cpp:
1607 * WebKitTestRunner/win/TestControllerWin.cpp:
1608 (WTR::TestController::platformInitialize):
1609 Call ::SetErrorMode(0) to undo Cygwin's folly.
1611 2011-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1613 Reviewed by Andreas Kling.
1615 [Qt] Revert the support for QNAM affined to a different thread.
1616 https://bugs.webkit.org/show_bug.cgi?id=55149
1618 Qt 4.8 will have QNAM use its own thread internally by default,
1619 no need to keep this complexity in WebKit.
1621 This mainly reverts:
1622 http://trac.webkit.org/changeset/73710
1623 http://trac.webkit.org/changeset/73712
1625 * QtTestBrowser/launcherwindow.cpp:
1626 (LauncherWindow::~LauncherWindow):
1627 (LauncherWindow::initializeView):
1628 (LauncherWindow::createChrome):
1629 * QtTestBrowser/launcherwindow.h:
1630 (WindowOptions::WindowOptions):
1631 * QtTestBrowser/webpage.cpp:
1633 * QtTestBrowser/webpage.h:
1635 2011-02-24 Adam Barth <abarth@webkit.org>
1637 Reviewed by Eric Seidel.
1639 Add a script for creating gypi files
1640 https://bugs.webkit.org/show_bug.cgi?id=55113
1642 This is a trivial script to create gypi files from the source code in
1643 the current directory.
1645 * Scripts/make-gypi: Added.
1647 2011-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
1649 Unreviewed, rolling out r79628.
1650 http://trac.webkit.org/changeset/79628
1651 https://bugs.webkit.org/show_bug.cgi?id=55195
1653 "broke chromium win tests" (Requested by dpranke on #webkit).
1655 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
1656 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
1658 2011-02-24 Dirk Pranke <dpranke@chromium.org>
1660 Reviewed by Mihai Parparita.
1662 rebaseline-chromium-webkit-tests can't handle GPU variants
1663 https://bugs.webkit.org/show_bug.cgi?id=55002
1665 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
1666 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
1668 2011-02-24 Dirk Pranke <dpranke@chromium.org>
1670 Reviewed by Mihai Parparita.
1672 nrwt: log command used to start web server to --verbose
1674 https://bugs.webkit.org/show_bug.cgi?id=55188
1676 * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
1677 * Scripts/webkitpy/layout_tests/port/http_server.py:
1679 2011-02-24 Victoria Kirst <vrk@google.com>
1681 Reviewed by Mihai Parparita.
1683 [chromium] Move media-file.js and video-test.js back to media/ for UILayoutTests
1684 https://bugs.webkit.org/show_bug.cgi?id=55089
1686 This adds an alias into the media/ directory so that http/tests/media
1687 tests can access the media resources when running in an httpd process.
1689 * Scripts/webkitperl/httpd.pm:
1690 * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
1691 * Scripts/webkitpy/layout_tests/port/http_server.py:
1693 2011-02-24 Dirk Pranke <dpranke@chromium.org>
1695 Reviewed by Mihai Parparita.
1697 nrwt: enable multiple processes by default on Chromium Win.
1699 https://bugs.webkit.org/show_bug.cgi?id=55163
1701 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
1702 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
1704 2011-02-24 Sam Weinig <sam@webkit.org>
1708 * WebKitTestRunner/TestInvocation.cpp:
1710 2011-02-24 James Robinson <jamesr@chromium.org>
1712 Unreviewed, rolling out r79598.
1713 http://trac.webkit.org/changeset/79598
1714 https://bugs.webkit.org/show_bug.cgi?id=55089
1716 Appears to be causing trouble with httpd on windows
1718 * Scripts/webkitperl/httpd.pm:
1719 * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
1720 * Scripts/webkitpy/layout_tests/port/http_server.py:
1722 2011-02-24 Sam Weinig <sam@webkit.org>
1724 Reviewed by Darin Adler.
1726 Add basic pixel testing support to WebKitTestRunner
1727 https://bugs.webkit.org/show_bug.cgi?id=55161
1729 * Scripts/old-run-webkit-tests:
1730 Don't print color space information when using WebKitTestRunner since
1731 we don't need to change the screen.
1733 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1734 (WTR::InjectedBundle::initialize):
1735 Add call to initializePlatformDefaults.
1737 (WTR::InjectedBundle::done):
1738 Return a dictionary on completion with both the text output and pixel dump override.
1740 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1741 Add declaration for initializePlatformDefaults.
1743 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1744 (WTR::LayoutTestController::LayoutTestController):
1745 (WTR::LayoutTestController::dumpAsText):
1746 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
1747 (WTR::LayoutTestController::shouldDumpPixels):
1748 Make setting dumpAsText override the dump pixels preference.
1750 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: Added.
1751 (WTR::InjectedBundle::initializePlatformDefaults):
1752 Set platform defaults matching DumpRenderTree.
1754 * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp: Added.
1755 (WTR::InjectedBundle::initializePlatformDefaults):
1756 * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp: Added.
1757 (WTR::InjectedBundle::initializePlatformDefaults):
1758 Add stubs for initializePlatformDefaults.
1760 * WebKitTestRunner/TestController.cpp:
1761 (WTR::TestController::runTest):
1762 (WTR::TestController::runTestingServerLoop):
1763 (WTR::TestController::run):
1764 Parse expected pixel results out of stdin and setup the invocation with it.
1766 * WebKitTestRunner/TestInvocation.cpp:
1767 (WTR::TestInvocation::TestInvocation):
1768 Initialize new members.
1770 (WTR::TestInvocation::~TestInvocation):
1771 (WTR::TestInvocation::setIsPixelTest):
1772 (WTR::sizeWebViewForCurrentTest):
1773 (WTR::TestInvocation::invoke):
1774 (WTR::TestInvocation::dump):
1775 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1776 * WebKitTestRunner/TestInvocation.h:
1777 Dump pixels in addition to text by calling dumpPixelsAndCompareWithExpected.
1779 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1780 (WTR::PlatformWebView::PlatformWebView):
1781 Use -[NSColorSpace genericRGBColorSpace] instead of the main screen color space.
1783 * WebKitTestRunner/mac/TestInvocationMac.mm: Added.
1784 (WTR::createCGContextFromPlatformView):
1785 (WTR::computeMD5HashStringForContext):
1787 (WTR::forceRepaintFunction):
1788 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1789 Add mac specific pixel dumping support. Right now, we always pull pixels
1790 from the window server.
1792 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1793 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1794 * WebKitTestRunner/qt/WebKitTestRunner.pro:
1795 * WebKitTestRunner/win/InjectedBundle.vcproj:
1796 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1799 2011-02-24 Chang Shu <cshu@webkit.org>
1801 Reviewed by Kenneth Rohde Christiansen.
1803 [Qt] Launch MiniBrowser if the test run is WebKit2.
1804 https://bugs.webkit.org/show_bug.cgi?id=55145
1806 * Scripts/old-run-webkit-tests:
1807 * Scripts/run-launcher:
1808 * Scripts/webkitdirs.pm:
1810 2011-02-24 Victoria Kirst <vrk@google.com>
1812 Reviewed by Mihai Parparita.
1814 [chromium] Move media-file.js and video-test.js back to media/ for UILayoutTests
1815 https://bugs.webkit.org/show_bug.cgi?id=55089
1817 This adds an alias into the media/ directory so that http/tests/media
1818 tests can access the media resources when running in an httpd process.
1820 * Scripts/webkitperl/httpd.pm:
1821 * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
1822 * Scripts/webkitpy/layout_tests/port/http_server.py:
1824 2011-02-24 Andrew Wilson <atwilson@chromium.org>
1826 Unreviewed, rolling out r79570.
1827 http://trac.webkit.org/changeset/79570
1828 https://bugs.webkit.org/show_bug.cgi?id=54874
1830 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
1833 * DumpRenderTree/chromium/TestShell.cpp:
1834 (TestShell::resetTestController):
1835 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1836 (resetDefaultsToConsistentValues):
1837 * DumpRenderTree/mac/DumpRenderTree.mm:
1838 (resetWebViewToConsistentStateBeforeTesting):
1839 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1840 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1841 * DumpRenderTree/win/DumpRenderTree.cpp:
1842 (resetWebViewToConsistentStateBeforeTesting):
1843 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1844 (WTR::InjectedBundlePage::reset):
1846 2011-02-24 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
1848 Reviewed by Laszlo Gombos.
1850 [Qt] add android 2.2 user agent to QtTestBrowser
1851 https://bugs.webkit.org/show_bug.cgi?id=55085
1853 Credit to Forrest Hodgkins to find right user-agent which works for youtube.
1854 * QtTestBrowser/useragentlist.txt:
1856 2011-02-24 Adam Roben <aroben@apple.com>
1858 Change FrameLoadDelegate to support any number of delegates with delayed work to process
1860 This makes our behavior match Mac more closely, and allows us to remove an incorrect
1861 assertion that was firing during some tests. (The assertion was claiming that there was
1862 never more than one delegate with delayed work to process, but that was not the case.)
1864 Fixes <http://webkit.org/b/55146> Assertion failure in FrameLoadDelegate::locationChangeDone
1865 when running http/tests/navigation/back-twice-without-commit.html
1867 Reviewed by Eric Carlson.
1869 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1870 (delegatesWithDelayedWork): Added. Returns all FrameLoadDelegates that have delayed work to
1871 process. A single delegate may appear in this Vector more than once (just as, on Mac, a
1872 single delegate may have multiple performSelector requests).
1873 (processWorkTimer): Pass the HWND to ::KillTimer, for pedantic brownie points. Added an
1874 assertion that the timer firing is the shared process work timer. Instead of using the
1875 single, global "delegate waiting for timer" delegate, give all delegates that have delayed
1876 work to process a chance to process their work.
1877 (FrameLoadDelegate::locationChangeDone): If we don't already have an active timer for
1878 processing delayed work, create one. Then add ourselves to the delegatesWithDelayedWork
1879 Vector so our processWork function will be called when the timer fires.
1881 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
1883 Reviewed by Alexey Proskuryakov.
1885 DumpRenderTree should reset frame opener between tests.
1886 https://bugs.webkit.org/show_bug.cgi?id=54874
1888 Added clearOpener() calls between tests.
1889 Some tests are using window.open() to change current window location.
1890 This changes window.opener property whose nullity is checked before
1893 * DumpRenderTree/chromium/TestShell.cpp:
1894 (TestShell::resetTestController):
1895 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1896 (resetDefaultsToConsistentValues):
1897 * DumpRenderTree/mac/DumpRenderTree.mm:
1898 (resetWebViewToConsistentStateBeforeTesting):
1899 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1900 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1901 * DumpRenderTree/win/DumpRenderTree.cpp:
1902 (resetWebViewToConsistentStateBeforeTesting):
1903 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1904 (WTR::InjectedBundlePage::reset):
1906 2011-02-24 Adam Roben <aroben@apple.com>
1908 Don't trigger Windows builds for changes to WebCore.exp.in or the top-level GNUmakefile.am
1910 Fixes <http://webkit.org/b/55144> Windows builders should not have built r79343 or r79440,
1913 Reviewed by Anders Carlsson.
1915 * Scripts/webkitpy/common/config/build.py:
1916 (_should_file_trigger_build): Loosened the pattern for GNUmakefile.am to include the
1917 top-level GNUmakefile.am, and loosened the pattern for .exp files to include WebCore.exp.in.
1919 * Scripts/webkitpy/common/config/build_unittest.py:
1920 (ShouldBuildTest): Added some more tests.
1922 2011-02-24 Andras Becsi <abecsi@webkit.org>
1924 Reviewed by Laszlo Gombos.
1926 [Qt] MinGW build fails to link
1927 https://bugs.webkit.org/show_bug.cgi?id=55050
1929 Prepend the libraries of subcomponents instead of appending them
1930 to fix the library order according to the dependency of the libraries
1932 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
1933 * WebKitTestRunner/qt/WebKitTestRunner.pro:
1935 2011-02-24 Gabor Loki <loki@webkit.org>
1937 Reviewed by Csaba Osztrogonác.
1939 [Qt] Remove ARMv5 Release buildbot.
1941 Remove ARMv5 Release buildbot, because there is very little difference
1942 between ARMv5 and ARMv7 Release bots, and there is also very little
1943 interest in ARMv5 build slave (compared to ARMv7).
1945 * BuildSlaveSupport/build.webkit.org-config/config.json:
1946 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
1948 2011-02-22 Ojan Vafai <ojan@chromium.org>
1950 Reviewed by Tony Chang.
1952 fix revision number finding when creating git patches
1953 https://bugs.webkit.org/show_bug.cgi?id=55024
1955 HEAD~n does not walk merge commits correctly. git log however does.
1957 * Scripts/webkitpy/common/checkout/scm.py:
1958 * Scripts/webkitpy/common/checkout/scm_unittest.py:
1960 2011-02-23 Kenneth Russell <kbr@google.com>
1962 Unreviewed, rolling out r79387.
1963 https://bugs.webkit.org/show_bug.cgi?id=54885
1965 Reapply the code changes from r79038 since they weren't the root
1966 cause of the test timeouts.
1968 * DumpRenderTree/chromium/WebViewHost.cpp:
1969 (WebViewHost::reset):
1971 2011-02-23 Siddharth Mathur <siddharth.mathur@nokia.com>
1973 Reviewed by Laszlo Gombos.
1975 [Qt] Make sure Symbian binary UIDs are unique
1977 * MiniBrowser/qt/MiniBrowser.pro: Resolve the UID collision with
1978 QtTestBrowser.pro by changing the UID.
1980 2011-02-23 Patrick Gansterer <paroga@webkit.org>
1982 Reviewed by Darin Adler.
1984 Rename PLATFORM(CF) to USE(CF)
1985 https://bugs.webkit.org/show_bug.cgi?id=53540
1987 * DumpRenderTree/config.h:
1989 2011-02-23 Dirk Pranke <dpranke@chromium.org>
1991 Reviewed by Ojan Vafai.
1993 nrwt: turn on multiprocessing on chromium_linux, clean up unit tests for worker model defaults
1994 https://bugs.webkit.org/show_bug.cgi?id=55016
1996 * Scripts/webkitpy/layout_tests/port/base.py:
1997 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
1998 * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py: Added.
1999 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2000 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
2001 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
2002 * Scripts/webkitpy/layout_tests/port/mac.py:
2003 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
2004 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
2005 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2007 2011-02-23 Tony Chang <tony@chromium.org>
2009 Reviewed by Kent Tamura.
2011 [chromium] DumpRenderTree --check-layout-test-sys-deps leaks 4 temp dirs
2012 https://bugs.webkit.org/show_bug.cgi?id=55004
2014 * DumpRenderTree/chromium/DumpRenderTree.cpp:
2015 (WebKitSupportTestEnvironment::WebKitSupportTestEnvironment):
2016 (WebKitSupportTestEnvironment::~WebKitSupportTestEnvironment):
2017 (main): Use a C++ object to ensure that TearDownTestEnvironment
2018 gets called when --check-layout-test-sys-deps is called
2020 2011-02-23 Gopal Raghavan <gopal.1.raghavan@nokia.com>
2022 Reviewed by Anders Carlsson.
2024 [Qt] [Qt] check webkit style fails in qt/tests
2025 https://bugs.webkit.org/show_bug.cgi?id=54998
2027 check-webkit-style was complaining about missing config.h in WebKit/qt/test/qdeclarativewebview. This patch was originally part of 50222. Reviewer suggested to split and create a separate patch for checker.
2029 * Scripts/webkitpy/style/checker.py:
2031 2011-02-22 Vsevolod Vlasov <vsevik@chromium.org>
2033 Reviewed by Pavel Feldman.
2035 DumpRenderTree should dump as text if test path contains "dumpAsText/"
2036 https://bugs.webkit.org/show_bug.cgi?id=54873
2038 * DumpRenderTree/chromium/LayoutTestController.h:
2039 (LayoutTestController::setShouldDumpAsText):
2040 (LayoutTestController::setShouldGeneratePixelResults):
2041 * DumpRenderTree/chromium/TestShell.cpp:
2042 (TestShell::runFileTest):
2043 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2047 * DumpRenderTree/mac/DumpRenderTree.mm:
2050 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2051 (WebCore::isDumpAsTextTest):
2052 (WebCore::DumpRenderTree::open):
2053 * DumpRenderTree/win/DumpRenderTree.cpp:
2056 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2057 (WTR::InjectedBundlePage::dump):
2059 2011-02-22 Kenneth Russell <kbr@google.com>
2061 Reviewed by James Robinson.
2063 Many tests started timing out on the chrome mac canaries around r79035
2064 https://bugs.webkit.org/show_bug.cgi?id=54885
2066 Revert the code changes, but not the Chromium DEPS roll, from
2067 r79038 to see whether this clears up the timing-out tests. Was not
2068 able to reproduce the timeouts locally with a Release mode build
2069 of DRT (on Snow Leopard).
2071 * DumpRenderTree/chromium/WebViewHost.cpp:
2072 (WebViewHost::reset):
2074 2011-02-22 Dirk Pranke <dpranke@chromium.org>
2076 Reviewed by James Robinson.
2078 nrwt: --platform chromium-gpu doesn't work with --worker-model=processes
2079 https://bugs.webkit.org/show_bug.cgi?id=55009
2081 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
2083 2011-02-18 Mihai Parparita <mihaip@chromium.org>
2085 Reviewed by Ojan Vafai.
2087 Default to 500 for --exit-after-n-failures
2088 https://bugs.webkit.org/show_bug.cgi?id=54773
2090 Make 500 the default value for --exit-after-n-failures (ORWT bots
2091 already default to this as of r75726). Similarly, change the default for
2092 --exit-after-n-crashes-or-timeouts to 20.
2094 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2096 2011-02-02 Martin Robinson <mrobinson@igalia.com>
2098 Reviewed by Xan Lopez.
2100 [GTK] DRT needs an implementation of LayoutTestController.setSelectTrailingWhitespace
2101 https://bugs.webkit.org/show_bug.cgi?id=53603
2103 Add support for LayoutTestController.setSelectTrailingWhitespace by calling through
2104 to DumpRenderTreeSupportGtk for this functionality.
2106 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2107 (resetDefaultsToConsistentValues): Always call LayoutTestController.setSelectTrailingWhitespace to
2108 false when reseting values between tests.
2109 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2110 (LayoutTestController::setSelectTrailingWhitespaceEnabled): Call LayoutTestController.setSelectTrailingWhitespace
2111 with the appropriate value.
2113 2011-02-22 Adam Roben <aroben@apple.com>
2115 Don't trigger a Windows build when the top-level ChangeLog changes
2117 r79320 is an example of a change that shouldn't have built on Windows, but did, because of
2120 Fixes <http://webkit.org/b/54957> Windows bots build when top-level ChangeLog changes, but
2123 Reviewed by Anders Carlsson.
2125 * Scripts/webkitpy/common/config/build.py:
2126 (_should_file_trigger_build): Modified the ChangeLog pattern to match the top-level
2127 ChangeLog, and re-sorted it in the list.
2129 * Scripts/webkitpy/common/config/build_unittest.py:
2130 (ShouldBuildTest): Added a test that ChangeLogs don't trigger builds.
2132 2011-02-22 Sheriff Bot <webkit.review.bot@gmail.com>
2134 Unreviewed, rolling out r78691.
2135 http://trac.webkit.org/changeset/78691
2136 https://bugs.webkit.org/show_bug.cgi?id=54956
2138 Leopard Debug is successfully building again (Requested by
2141 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2142 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2144 2011-02-22 Ilya Tikhonovsky <loislo@chromium.org>
2146 Reviewed by Pavel Feldman.
2148 Web Inspector: flakyness of inspector tests.
2149 https://bugs.webkit.org/show_bug.cgi?id=54729
2151 As far as we have the protocol with sequence numbers we can simplify test harness support
2152 and drop out chomium specific methods.
2154 * DumpRenderTree/DumpRenderTree.gypi:
2155 * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
2156 (DRTDevToolsAgent::sendMessageToInspectorFrontend):
2157 (DRTDevToolsAgent::runtimePropertyChanged):
2158 (DRTDevToolsAgent::asyncCall):
2159 (DRTDevToolsAgent::call):
2160 * DumpRenderTree/chromium/DRTDevToolsAgent.h:
2161 * DumpRenderTree/chromium/DRTDevToolsCallArgs.cpp: Removed.
2162 * DumpRenderTree/chromium/DRTDevToolsCallArgs.h: Removed.
2163 * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
2164 (DRTDevToolsClient::sendMessageToBackend):
2165 (DRTDevToolsClient::asyncCall):
2166 (DRTDevToolsClient::call):
2167 * DumpRenderTree/chromium/DRTDevToolsClient.h:
2169 2011-02-22 Andras Becsi <abecsi@webkit.org>
2171 Reviewed by Laszlo Gombos.
2173 [Qt] Redesign the build system
2174 https://bugs.webkit.org/show_bug.cgi?id=51339
2178 Build WebCore as a static library, compile the WebKit API and WebKit2 API
2179 in a final step and link to WebKit2, WebCore and JSC libraries to fix
2180 linking issues resulting from stripped away symbols.
2182 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Remove superfluous includepaths.
2184 2011-02-21 Lukasz Slachciak <l.slachciak@samsung.com>
2186 Reviewed by Antonio Gomes.
2188 [EFL] Restored spatial navigation option in EWebLauncher since #18662 bug is closed
2189 https://bugs.webkit.org/show_bug.cgi?id=54806
2191 * EWebLauncher/main.c:
2192 (on_key_down): calling ewk_view_setting_spatial_navigation_set when "F12" pressed added.
2194 2011-02-21 Dirk Pranke <dpranke@chromium.org>
2196 Reviewed by Kent Tamura.
2198 nrwt: revert behavior on 10.5 to "old-threads". It's possible
2199 that r79062 has introduced a bunch of flakiness, although I
2200 can't explain why right now. This change should restore the
2201 old behavior, and then we can look at the build logs to see
2202 if the tests stop timing out or being flaky.
2204 https://bugs.webkit.org/show_bug.cgi?id=54925
2206 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2207 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
2208 * Scripts/webkitpy/layout_tests/port/mac.py:
2209 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
2211 2011-02-21 Dirk Pranke <dpranke@chromium.org>
2213 Reviewed by Dimitri Glazkov.
2215 nrwt: fix typo causing us to try and repeatedly shut down the servers
2216 https://bugs.webkit.org/show_bug.cgi?id=54904
2218 * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py:
2220 2011-02-21 Alejandro G. Castro <alex@igalia.com>
2222 Reviewed by Csaba Osztrogonác.
2225 plugins/get-url-with-javascript-destroying-plugin.html make the
2227 https://bugs.webkit.org/show_bug.cgi?id=54863
2231 2011-02-20 Dirk Pranke <dpranke@chromium.org>
2233 Reviewed by Ojan Vafai.
2235 test-webkitpy: stop skipping a bunch of tests on win32
2236 https://bugs.webkit.org/show_bug.cgi?id=54788
2238 * Scripts/webkitpy/common/net/testoutputset_unittest.py:
2239 * Scripts/webkitpy/test/main.py:
2241 2011-02-20 Dirk Pranke <dpranke@chromium.org>
2243 Reviewed by Ojan Vafai.
2245 Fix various bugs related to handling of dir separators and real
2246 vs. fake filesystems that were causing test-webkitpy to fail
2247 tests on win32. These bugs have a variety of causes but are
2248 lumped together because they should be easy to review.
2250 https://bugs.webkit.org/show_bug.cgi?id=54700
2252 * Scripts/webkitpy/common/net/testoutput.py:
2253 Here we were using os.path.sep but not escaping it prior to
2254 using in a regexp, which caused bad things on win32.
2255 * Scripts/webkitpy/common/net/testoutput_unittest.py:
2257 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
2258 Here we were using the native filesystem instead of the mock
2259 filesystem, making some tests unnecessarily platform dependent.
2260 Also we weren't setting the default configuration for the
2261 TestChromiumWinPort.
2262 * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py:
2263 Here we *shouldn't* use os.path.join(), just so the code becomes
2264 less platform dependent.
2265 * Scripts/webkitpy/style/checker.py:
2266 Here we should be using os.path.sep instead of "/"; the tests
2267 require the native filesystem.
2268 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2269 Here the underlying code is using os.path.sep, so we probably
2271 * Scripts/webkitpy/style/test_expectations_unittest.py:
2272 Here we should be using the filesystem hanging of the port
2273 object (which is the mocked filesystem) rather than the native
2276 2011-02-20 Anders Carlsson <andersca@apple.com>
2278 Reviewed by Maciej Stachowiak.
2280 Crash when a plug-in requests a javascript: url that destroys the plug-in
2281 https://bugs.webkit.org/show_bug.cgi?id=54837
2282 <rdar://problem/9005475>
2284 Add new plug-in test.
2286 * DumpRenderTree/DumpRenderTree.gypi:
2287 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2288 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
2289 (PluginTest::NPN_GetURL):
2290 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
2291 * DumpRenderTree/TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp: Added.
2292 (GetURLWithJavaScriptURLDestroyingPlugin::GetURLWithJavaScriptURLDestroyingPlugin):
2293 (GetURLWithJavaScriptURLDestroyingPlugin::NPP_New):
2294 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
2295 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2297 2011-02-19 Patrick Gansterer <paroga@webkit.org>
2299 Reviewed by Andreas Kling.
2301 Make WinCE a core builder
2302 https://bugs.webkit.org/show_bug.cgi?id=54801
2304 * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2305 * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2307 2011-02-19 Lukasz Slachciak <l.slachciak@samsung.com>
2309 Reviewed by Andreas Kling.
2311 Fixed problem with launching EWebLauncher with "run-launcher --efl". Incorrect path referring to non-existing .libs directory ws set.
2312 https://webkit.org/b/54778
2314 * Scripts/webkitdirs.pm:
2316 2011-02-18 David Levin <levin@chromium.org>
2318 Reviewed by Eric Seidel.
2320 check-webkit-style: Misses brace style error when the line with the { has a } in it.
2321 https://bugs.webkit.org/show_bug.cgi?id=54769
2323 * Scripts/webkitpy/style/checkers/cpp.py: Fixed the check for the close brace
2324 to only look after the last open brace, so that the open brace in this line
2325 "} else {" will still be able to trigger the error.
2326 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added related unit tests.
2328 2011-02-18 Zan Dobersek <zandobersek@gmail.com>
2330 Reviewed by Martin Robinson.
2332 [Gtk] Re-enable meter tag support
2333 https://bugs.webkit.org/show_bug.cgi?id=54762
2335 Meter tag is supported on the Gtk port, enable it by default.
2337 * Scripts/build-webkit:
2339 2011-02-18 David Levin <levin@chromium.org>
2341 Reviewed by Eric Seidel.
2343 check-webkit-style falsely complains about WebKitGTK+ public headers
2344 https://bugs.webkit.org/show_bug.cgi?id=54650
2346 * Scripts/webkitpy/style/checker.py: Add some exceptions for the gtk files.
2347 * Scripts/webkitpy/style/checkers/cpp.py: Restrict the checks for WEBKIT_API
2348 to the chromium directory (and improved the checks slightly).
2349 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added corresponding tests.
2351 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2353 Reviewed by James Robinson.
2355 new-run-webkit-tests: enable multiple processes by default on
2356 mac. This change removes the artificial restrictions we placed
2357 on the # of child processes we used with the old threading
2358 model, and switches to the new message-based model and multiple
2359 processes, where available. If multiple processes are not
2360 available (Leopard / Python 2.5), then we use the 'inline' model
2361 instead of the 'old-threads' model on the 'mac' port or one
2362 process on the 'chromium-mac' port. We need additional testing
2363 to see if the new 'threads' model works reliably and is worth
2364 supporting, or if we should just live with things being slightly
2367 https://bugs.webkit.org/show_bug.cgi?id=54596
2369 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2370 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
2371 * Scripts/webkitpy/layout_tests/port/mac.py:
2372 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
2373 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2375 2011-02-18 Andrew Wilson <atwilson@chromium.org>
2377 Unreviewed, rolling out r79047.
2378 http://trac.webkit.org/changeset/79047
2379 https://bugs.webkit.org/show_bug.cgi?id=54596
2381 Broke canary bots - please watch the canaries the next time
2384 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2385 * Scripts/webkitpy/layout_tests/port/mac.py:
2387 2011-02-18 Emil A Eklund <eae@chromium.org>
2389 Reviewed by Darin Adler.
2391 Crash in EventHandler::sendContextMenuEventForKey
2392 https://bugs.webkit.org/show_bug.cgi?id=54495
2394 Add support for the context menu key (VK_APPS) to EventSender for
2395 platforms that support the key.
2397 * DumpRenderTree/chromium/EventSender.cpp:
2398 (EventSender::keyDown):
2399 * DumpRenderTree/gtk/EventSender.cpp:
2401 * DumpRenderTree/qt/EventSenderQt.cpp:
2402 (EventSender::keyDown):
2403 * DumpRenderTree/win/EventSender.cpp:
2406 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2408 Reviewed by Ojan Vafai.
2410 new-run-webkit-tests: enable multiple processes by default on mac
2411 https://bugs.webkit.org/show_bug.cgi?id=54596
2413 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2414 * Scripts/webkitpy/layout_tests/port/mac.py:
2416 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2418 Reviewed by Adam Roben.
2420 Skip pretty patch unit tests if ruby isn't installed.
2422 https://bugs.webkit.org/show_bug.cgi?id=54699
2424 * Scripts/webkitpy/common/prettypatch_unittest.py:
2426 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2428 Reviewed by Adam Roben.
2430 Skip mac.test_skipped_file_paths() when running on win32; the
2431 test has hardcoded '/' directory separators and since it's a
2432 port-specific test and we have coverage on other ports it's not
2433 worth it to make the test more generic.
2435 https://bugs.webkit.org/show_bug.cgi?id=54698
2437 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
2439 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2441 Reviewed by Adam Roben.
2443 Fix webkitpy.layout_tests.port.config_unittest to work on Win32.
2445 https://bugs.webkit.org/show_bug.cgi?id=54703
2447 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
2449 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2451 Reviewed by Adam Roben.
2453 Change the default port we're mocking out on win32 when we
2454 run mock_drt_unittest. Normally we'd default to the
2455 port-specific default, but that would be "win", which doesn't
2458 https://bugs.webkit.org/show_bug.cgi?id=54708
2460 * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
2462 2011-02-18 Kenneth Russell <kbr@google.com>
2464 Reviewed by James Robinson.
2466 [chromium] Clean up initialization of minimum timer interval
2467 https://bugs.webkit.org/show_bug.cgi?id=54772
2469 Use new GetForegroundTabTimerInterval function in webkit_support
2470 to reset the minimum timer interval before each test.
2472 * DumpRenderTree/chromium/WebViewHost.cpp:
2473 (WebViewHost::reset):
2475 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2477 Reviewed by Adam Roben.
2479 r78494 fixed the chromium_win unittest failing under win32,
2480 but not cygwin. This fixes cygwin as well.
2482 https://bugs.webkit.org/show_bug.cgi?id=54652
2484 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2486 2011-02-18 Dirk Pranke <dpranke@chromium.org>
2488 Reviewed by Ojan Vafai, Mihai Parparita.
2490 new-run-webkit-tests: r78522 made it impossible to create a
2491 'chromium-win' or 'chromium-mac' port; they would always get the
2492 version tacked on to the end. It turns out that we actually need
2493 to be able to create these ports in order for
2494 rebaseline-chromium-webkit-tests to work correctly given the
2495 broken coverage of our layout bots. As soon as we get SL and
2496 Win 7 bots running reliably on the canaries, we can get rid of
2497 this change. Note that we only need to change the chromium_mac
2498 and win ports because linux doesn't yet use versions and that
2499 script doesn't work with non-chromium ports.
2501 Also, this change fixes a bug where we were using
2502 "platform/chromium-win-win7" and
2503 "platform/chromium-mac-snowleopard" as the baseline dirs for
2504 Win 7 and SL; we should've been using the generic directories
2505 instead since they are the newest versions of the os's.
2507 https://bugs.webkit.org/show_bug.cgi?id=54691
2509 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2510 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
2511 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2512 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
2513 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2515 2011-02-16 MORITA Hajime <morrita@google.com>
2517 Reviewed by Kent Tamura.
2519 [Chromium][DRT] some PostDelayedTask() accesses possibly dangling this pointer.
2520 http://webkit.org/b/53899
2522 Replaced static invocation wrappers with MethodTask objects,
2523 which are removed on WebViewHost destructor.
2525 * DumpRenderTree/chromium/WebViewHost.cpp:
2526 (WebViewHost::requestCheckingOfText):
2527 (WebViewHost::scheduleAnimation):
2528 (WebViewHost::closeWidgetSoon):
2529 * DumpRenderTree/chromium/WebViewHost.h:
2530 (WebViewHost::HostMethodTask::HostMethodTask):
2531 (WebViewHost::HostMethodTask::runIfValid):
2532 (WebViewHost::taskList):
2534 2011-02-07 Hayato Ito <hayato@chromium.org>
2536 Reviewed by Ojan Vafai.
2538 Get rid of code which writes test results from test_type's
2539 compare_output() method.
2540 Writing test results now happens in single_test_runner, using
2541 newly introduced test_result_writer module.
2543 Subsequent patches will eliminate test_type/* classes.
2545 https://bugs.webkit.org/show_bug.cgi?id=53908
2547 * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
2548 * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py: Added.
2549 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
2550 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
2551 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
2553 2011-02-17 Dirk Pranke <dpranke@chromium.org>
2555 Reviewed by Adam Roben.
2557 Add blacklist of remaining webkitpy/* modules that fail on
2558 Win32, so that test-webkitpy will at least run cleanly.
2560 https://bugs.webkit.org/show_bug.cgi?id=54709
2562 * Scripts/webkitpy/layout_tests/test/main.py:
2564 2011-02-17 Simon Fraser <simon.fraser@apple.com>
2566 Reviewed by Sam Weinig.
2568 Set a preference to ensure that scrollbars are in a predictable
2571 * DumpRenderTree/mac/DumpRenderTree.mm:
2572 (resetDefaultsToConsistentValues):
2574 2011-02-17 Dirk Pranke <dpranke@chromium.org>
2576 Reviewed by Adam Roben.
2578 test-webkitpy doesn't work with the multiprocessing module on win32
2579 or cygwin, so we skip it for now.
2581 https://bugs.webkit.org/show_bug.cgi?id=54520
2583 * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
2584 * Scripts/webkitpy/layout_tests/layout_package/run_webkit_tests_unittest.py:
2586 2011-02-17 Dirk Pranke <dpranke@chromium.org>
2588 Reviewed by Adam Roben.
2590 Fix version, baseline_search_path for chromium-win-win7. Also
2591 fix chromium_win_unittests, and fix port_testcase.make_port()
2592 to correctly use the options passed into it and only set
2593 results_directory() if necessary.
2595 https://bugs.webkit.org/show_bug.cgi?id=54652
2597 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2598 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
2599 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2601 2011-02-17 Dirk Pranke <dpranke@chromium.org>
2603 Reviewed by Ojan Vafai.
2605 Fix a hang in new-run-webkit-tests when run with
2606 --dry-run --worker-model=processes
2608 https://bugs.webkit.org/show_bug.cgi?id=54595
2610 * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
2611 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2613 2011-02-17 Kevin Ollivier <kevino@theolliviers.com>
2615 [wx] Build fixes after recent changes.
2617 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2618 (LayoutTestController::setMinimumTimerInterval):
2619 * wx/build/settings.py:
2621 2011-02-17 Csaba Osztrogonác <ossy@webkit.org>
2623 Reviewed by Andreas Kling.
2625 [Qt] ImageDiff sometimes hangs
2626 https://bugs.webkit.org/show_bug.cgi?id=54641
2628 * DumpRenderTree/qt/ImageDiff.cpp: Clear actualImage and baselineImage after all comparison.
2631 2011-02-17 Peter Varga <pvarga@webkit.org>
2633 Reviewed by Csaba Osztrogonác.
2635 The run-sunspider --v8-suite doesn't work
2636 https://bugs.webkit.org/show_bug.cgi?id=54660
2638 * Scripts/run-sunspider:
2640 2011-02-17 Gabor Rapcsanyi <rgabor@webkit.org>
2642 Reviewed by Csaba Osztrogonác.
2644 [NRWT] Fix environment setup on Qt port.
2645 https://bugs.webkit.org/show_bug.cgi?id=54549
2647 * Scripts/webkitpy/layout_tests/port/qt.py:
2649 2011-02-16 Yael Aharon <yael.aharon@nokia.com>
2651 Reviewed by Andreas Kling.
2653 [Qt] Enable tiled backing store by default in MiniBrowser.
2654 https://bugs.webkit.org/show_bug.cgi?id=54581
2656 Instead of a flag to turn it on, a new flag is defined to turn
2657 tiled backing store off.
2659 * MiniBrowser/qt/MiniBrowserApplication.cpp:
2660 (MiniBrowserApplication::handleUserOptions):
2661 * MiniBrowser/qt/MiniBrowserApplication.h:
2662 (WindowOptions::WindowOptions):
2664 2011-02-16 Eric Seidel <eric@webkit.org>
2666 Reviewed by Mihai Parparita.
2668 flaky test archive uploads are always 22 bytes long
2669 https://bugs.webkit.org/show_bug.cgi?id=54593
2671 Speculative fix for the 22-bytes bug.
2673 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
2675 2011-02-16 Anna Cavender <annacc@chromium.org>
2677 Reviewed by Mihai Parparita.
2679 http/tests/media should be served over HTTP (not from local file)
2680 https://bugs.webkit.org/show_bug.cgi?id=54028
2682 Removed special file:// treatment of http/tests/media
2684 * Scripts/old-run-webkit-tests:
2685 * Scripts/webkitpy/layout_tests/port/base.py:
2687 2011-02-16 Mihai Parparita <mihaip@chromium.org>
2689 Reviewed by Ojan Vafai.
2691 ChangeLog.parse_latest_entry_from_file does not handle rolled over ChangeLogs
2692 https://bugs.webkit.org/show_bug.cgi?id=54609
2694 r78737 rolled over ChangeLogs, and webkit-patch complains when landing
2695 patches such as this one that are the first to add an entry to the
2696 ChangeLog (since they don't see a second date line to know where the
2699 * Scripts/webkitpy/common/checkout/changelog.py:
2700 * Scripts/webkitpy/common/checkout/changelog_unittest.py:
2702 == Rolled over to ChangeLog-2011-02-16 ==