1 2010-10-08 Balazs Kelemen <kbalazs@webkit.org>
3 Reviewed by Andreas Kling.
5 [Qt] TestController needs its platform dependent methods
6 https://bugs.webkit.org/show_bug.cgi?id=47413
8 * WebKitTestRunner/qt/TestControllerQt.cpp:
9 (WTR::TestController::initializeInjectedBundlePath):
10 If the WTR_INJECTEDBUNDLE_PATH environmental variable is
11 set then use that otherwise use the path where the bundle
12 lives in a normal trunk build.
13 (WTR::TestController::initializeTestPluginDirectory):
14 Set the bundle's value. It is not used currently.
15 (WTR::TestController::platformInitializeContext):
16 * WebKitTestRunner/qt/WebKitTestRunner.pro:
18 2010-10-08 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
20 Reviewed by Kenneth Rohde Christiansen.
22 WTR: Prevent sending the Done message twice on test timeout.
23 https://bugs.webkit.org/show_bug.cgi?id=47410
25 When InjectedBundle::done() calls stopLoading, this may trigger
26 InjectedBundlePage::didFailLoadWithErrorForFrame which calls
27 InjectedBundle::done() itself later in the stack.
28 This would output the timeout failure message twice and confuse
29 the run-webkit-tests script.
31 This patch adds a third state, Stopping, which prevents WebCore
32 errors to trigger done() when testing is over.
34 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
35 (WTR::InjectedBundle::done):
36 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
38 2010-10-08 Andras Becsi <abecsi@webkit.org>
40 Reviewed by Kenneth Rohde Christiansen.
42 [Qt] Add an activateFonts() implementation similar to DRT's initializeFonts().
43 Original code by Simon Hausmann.
44 https://bugs.webkit.org/show_bug.cgi?id=47402
46 * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp: Added.
49 2010-10-08 Andras Becsi <abecsi@webkit.org>
51 Reviewed by Csaba Osztrogonác.
53 [Qt] Add support for Qt's WebKitTestRunner to old-run-webkit-tests.
54 https://bugs.webkit.org/show_bug.cgi?id=47401
56 * Scripts/build-webkittestrunner:
57 * Scripts/old-run-webkit-tests:
59 2010-10-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
61 Reviewed by Kenneth Rohde Christiansen.
63 [Qt] WTR first compile: fix compile issues.
64 https://bugs.webkit.org/show_bug.cgi?id=47343
66 * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
67 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
68 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
69 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
70 * WebKitTestRunner/TestController.cpp:
71 * WebKitTestRunner/TestInvocation.cpp:
73 2010-10-07 Antonio Gomes <agomes@rim.com>
75 Reviewed by Simon Fraser.
77 [Mac] [DRT] implement setSpatialNavigationEnabled
78 https://bugs.webkit.org/show_bug.cgi?id=47291
80 Implemented LayoutTestController::setSpatialNavigationEnabled for Mac's DRT
81 so it can track regression on the existing implementation and future improvements
84 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
85 (LayoutTestController::setSpatialNavigationEnabled):
87 2010-10-07 Dirk Pranke <dpranke@chromium.org>
89 Reviewed by Adam Barth.
91 rebaseline-chromium-webkit-tests relied on the filename_to_uri()
92 hook in the Port infrastructure to generate URIs for the files
93 in its summary HTML report; however, that method is supposed to only
94 be used for test files (and should really be renamed), so this would
97 This change adds a new "path" module to the system package with a
98 routine called abspath_to_uri() that handles converting paths to
99 file: URIs independently of anything in the layout_tests package,
100 and changes the code to use this. At some point in the near future
101 the layout_tests/port/* code should use this as well.
103 This change also deletes a bunch of unused code and fixes some
104 comments in rebaseline_chromium_webkit_tests.py.
106 https://bugs.webkit.org/show_bug.cgi?id=47319
108 * Scripts/webkitpy/common/system/path.py: Added.
109 * Scripts/webkitpy/common/system/path_unittest.py: Added.
110 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
111 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
113 2010-10-07 Martin Robinson <mrobinson@igalia.com>
115 Reviewed by Gustavo Noronha Silva.
117 [GTK] The FreeType backend does not respect the FC_EMBOLDEN property
118 https://bugs.webkit.org/show_bug.cgi?id=46216
120 Fix my latest commit, as it contained some bad changes from a merge gone wrong.
122 * DumpRenderTree/gtk/DumpRenderTree.cpp:
123 (initializeFonts): Also initialize the DevaVu Sans font.
125 2010-10-07 Daniel Cheng <dcheng@chromium.org>
127 Reviewed by Tony Chang.
129 [chromium] Minor naming cleanup in WebDragData, part 2
130 https://bugs.webkit.org/show_bug.cgi?id=47227
132 Update DRT to use the renamed methods.
134 * DumpRenderTree/chromium/EventSender.cpp:
135 (EventSender::beginDragWithFiles):
136 * DumpRenderTree/chromium/WebViewHost.cpp:
137 (addDRTFakeFileToDataObject):
139 2010-10-07 Anders Carlsson <andersca@apple.com>
141 Reviewed by Sam Weinig.
143 Add a WKPageFindClient, hook up WKPageCountStringMatches
144 https://bugs.webkit.org/show_bug.cgi?id=47373
146 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
147 Remove hard coded paths.
149 * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
150 (TestWebKitAPI::TEST):
153 * TestWebKitAPI/Tests/WebKit2/Find.cpp: Added.
154 (TestWebKitAPI::didFinishLoadForFrame):
155 (TestWebKitAPI::didCountStringMatches):
156 (TestWebKitAPI::TEST):
157 * TestWebKitAPI/Tests/WebKit2/find.html: Added.
158 Add test for WKPageCountStringMatches.
160 2010-09-21 Martin Robinson <mrobinson@igalia.com>
162 Reviewed by Chris Fleizach.
164 [GTK] The FreeType backend does not respect the FC_EMBOLDEN property
165 https://bugs.webkit.org/show_bug.cgi?id=46216
167 * DumpRenderTree/gtk/fonts/fonts.conf: Add a setting which enables FC_EMBOLDEN
168 for DejaVu Serif when there is no bold version available. This is necessary to
169 properly test the property in layout tests.
171 2010-10-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Andras Becsi <abecsi@webkit.org>, Balazs Kelemen <kbalazs@webkit.org>
173 Reviewed by Kenneth Rohde Christiansen.
175 [Qt] Add WTR's InjectedBundle build files.
176 https://bugs.webkit.org/show_bug.cgi?id=47333
178 * Scripts/webkitdirs.pm:
179 * WebKitTestRunner/DerivedSources.pro: Added.
180 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Added.
181 * WebKitTestRunner/WebKitTestRunner.pro: Added.
182 * WebKitTestRunner/qt/DerivedSources.pro: Removed.
183 Content merged in ../DerivedSources.pro
185 2010-10-07 Sheriff Bot <webkit.review.bot@gmail.com>
187 Unreviewed, rolling out r69315.
188 http://trac.webkit.org/changeset/69315
189 https://bugs.webkit.org/show_bug.cgi?id=47363
191 Forgot to add the new files (Requested by kbalazs on #webkit).
193 * Scripts/webkitdirs.pm:
194 * WebKitTestRunner/qt/DerivedSources.pro: Added.
196 2010-10-07 Sam Weinig <sam@webkit.org>
198 Reviewed by Anders Carlsson.
200 Change API tester to ask the executable for the list of all
201 tests instead of relying on the directory structure.
202 https://bugs.webkit.org/show_bug.cgi?id=47359
204 * Scripts/run-test-webkit-api: Added.
205 * Scripts/webkitdirs.pm:
206 Add additional script to just launch the api tester with the correct settings.
208 * Scripts/run-api-tests:
209 Change to use the new --dump-tests options to build the list of tests and change
210 output to reflect a (suite, testcase) tuple for each test. Also adds some color.
212 * TestWebKitAPI/Test.h:
213 (TestWebKitAPI::Test::Register::Register):
214 * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
215 (TestWebKitAPI::TEST):
216 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
217 (TestWebKitAPI::TEST):
218 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
219 (TestWebKitAPI::TEST):
220 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
221 (TestWebKitAPI::TEST):
222 * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
223 (TestWebKitAPI::TEST):
224 * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
225 (TestWebKitAPI::TEST):
226 Give each test a suite name in addition to the test name.
228 * TestWebKitAPI/TestsController.cpp:
229 (TestWebKitAPI::TestsController::dumpTestNames):
230 (TestWebKitAPI::TestsController::runTestNamed):
231 * TestWebKitAPI/TestsController.h:
232 * TestWebKitAPI/mac/main.mm:
234 Add option to print all registered tests.
236 2010-10-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Andras Becsi <abecsi@webkit.org>, Balazs Kelemen <kbalazs@webkit.org>
238 Reviewed by Kenneth Rohde Christiansen.
240 [Qt] Add WTR's InjectedBundle build files.
241 https://bugs.webkit.org/show_bug.cgi?id=47333
243 * Scripts/webkitdirs.pm:
244 * WebKitTestRunner/DerivedSources.pro: Added.
245 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Added.
246 * WebKitTestRunner/WebKitTestRunner.pro: Added.
247 * WebKitTestRunner/qt/DerivedSources.pro: Removed.
248 Content merged in ../DerivedSources.pro
250 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
252 Unreviewed. Do a renaming that was recommended by the reviewer
253 (Kenneth) but I forgot to do before landing (http://trac.webkit.org/changeset/69253)
255 * WebKitTestRunner/qt/TestControllerQt.cpp:
256 (WTR::RunUntilConditionLoop::start):
257 (WTR::RunUntilConditionLoop::RunUntilConditionLoop):
258 (WTR::TestController::runUntil):
260 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
262 Reviewed by Kenneth Rohde Christiansen.
264 [Qt] Watchdog timer implementation for WTR
265 https://bugs.webkit.org/show_bug.cgi?id=47337
267 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Factor out
268 the definition of the timer type to a typedef.
269 * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp: Added.
270 Timer implementation with QTimer and a helper QObject class.
271 (WTR::WatchdogTimerHelper::instance):
272 (WTR::WatchdogTimerHelper::timerFired):
273 (WTR::WatchdogTimerHelper::WatchdogTimerHelper):
274 (WTR::LayoutTestController::platformInitialize):
275 (WTR::LayoutTestController::invalidateWaitToDumpWatchdogTimer):
276 (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
278 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
280 Unreviewed buildfix for 69297 again
282 * WebKitTestRunner/TestController.cpp:
285 2010-10-07 Balazs Kelemen <Balazs Kelemen>
287 Unreviewed trivial build fix for r69297
289 * WebKitTestRunner/TestController.cpp:
292 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
294 Reviewed by Kenneth Rohde Christiansen.
296 WebKitTestRunner should be portable
297 https://bugs.webkit.org/show_bug.cgi?id=45393
299 Use only the WebKit API for working with urls.
300 * WebKitTestRunner/StringFunctions.h:
302 * WebKitTestRunner/TestController.cpp:
304 (WTR::TestController::resetStateToConsistentValues):
305 (WTR::TestController::didFinishLoadForFrame):
307 2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
309 Reviewed by Xan Lopez.
311 [GTK] Use gtk_widget_draw() instead of gtk_widget_get_snapshot() in PixelDumpSupportGtk when building with gtk3
312 https://bugs.webkit.org/show_bug.cgi?id=47332
314 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
315 (createBitmapContextFromWebView):
317 2010-10-06 Chris Guillory <chris.guillory@google.com>
319 Reviewed by Chris Fleizach.
321 Remove unused accessibility functions from webkit.
322 https://bugs.webkit.org/attachment.cgi?bugid=46707
324 * DumpRenderTree/chromium/WebViewHost.cpp:
325 (WebViewHost::postAccessibilityNotification):
326 * DumpRenderTree/chromium/WebViewHost.h:
328 2010-10-06 Lucas Forschler <lforschler@apple.com>
330 Reviewed by Adam Roben.
332 Fix the sunspider-compare-results to actually use the passed in value for $root.
334 * Scripts/sunspider-compare-results:
336 2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
338 Reviewed by Kenneth Rohde Christiansen.
340 [Qt] Runloop implementation for WTR
341 https://bugs.webkit.org/show_bug.cgi?id=47280
343 * WebKitTestRunner/qt/TestControllerQt.cpp:
344 Implemented TestController::runUntil by a timerEvent
345 and a QEventLoop. We step into the event loop from runUntil.
346 While we are waiting in the loop a timerEvent is periodically
347 checking the value of the condition. Once the condition has
348 becoming true the timerEvent wakes us up.
349 (WTR::RunUntilLoop::start):
350 (WTR::RunUntilLoop::RunUntilLoop):
351 (WTR::RunUntilLoop::run):
352 (WTR::RunUntilLoop::timerEvent):
353 (WTR::TestController::platformInitialize):
354 (WTR::TestController::runUntil):
355 * WebKitTestRunner/qt/main.cpp:
356 Start the main event loop first and creating the TestController later.
357 (Launcher::Launcher):
358 (Launcher::~Launcher):
359 (Launcher::launch): Creating the TestController.
360 (main): Setting up a timer for calling Launcher::launch from
363 2010-10-06 Dirk Pranke <dpranke@chromium.org>
365 Reviewed by Kenneth Russell.
367 new-run-webkit-tests: fix typo in chromium-gpu that was trying to
368 enable 'accelerated-composting' instead of 'accelerated-compositing'.
370 https://bugs.webkit.org/show_bug.cgi?id=47312
372 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
373 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
375 2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
377 Reviewed by Kenneth Rohde Christiansen.
379 [Qt] PlatformWebView implementation for WebKitTestRunner
380 https://bugs.webkit.org/show_bug.cgi?id=47276
382 The implementation follows the way how
383 we use the API in MiniBrowser.
384 * WebKitTestRunner/PlatformWebView.h:
385 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
386 (WTR::WebView::wkView):
387 (WTR::WebView::~WebView):
388 (WTR::WebView::WebView):
389 (WTR::PlatformWebView::PlatformWebView):
390 (WTR::PlatformWebView::~PlatformWebView):
391 (WTR::PlatformWebView::resizeTo):
392 (WTR::PlatformWebView::page):
393 (WTR::PlatformWebView::focus):
394 * WebKitTestRunner/qt/WebKitTestRunner.pro:
396 2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
398 Reviewed by Kenneth Rohde Christiansen.
400 [Qt] Add WebKitTestRunner's build files
401 https://bugs.webkit.org/show_bug.cgi?id=44155
403 Parts was taken by Zoltan Horvath's patch.
405 * Scripts/generate-forwarding-headers.pl: Moved from WebKit2.
406 * Scripts/webkitdirs.pm: Make the generated files needed by WTR.
407 * WebKitTestRunner/PlatformWebView.h: Addeed typedefs for
408 PlatformWKView and PlatformWindow (void* for now).
409 Buildfix the case when __APPLE__ is not defined.
410 * WebKitTestRunner/qt/DerivedSources.pro: Added.
411 * WebKitTestRunner/qt/PlatformWebViewQt.cpp: Added.
412 Empty stub implementation.
413 (WTR::registerWindowClass):
414 (WTR::PlatformWebView::PlatformWebView):
415 (WTR::PlatformWebView::~PlatformWebView):
416 (WTR::PlatformWebView::resizeTo):
417 (WTR::PlatformWebView::page):
418 (WTR::PlatformWebView::focus):
419 * WebKitTestRunner/qt/TestControllerQt.cpp: Added.
420 Empty stub implementation.
421 (WTR::registerWindowClass):
422 (WTR::TestController::runUntil):
423 (WTR::TestController::platformInitialize):
424 (WTR::TestController::initializeInjectedBundlePath):
425 (WTR::TestController::initializeTestPluginDirectory):
426 (WTR::TestController::platformInitializeContext):
427 * WebKitTestRunner/qt/WebKitTestRunner.pro: Added.
428 * WebKitTestRunner/qt/main.cpp: Added.
431 2010-10-06 Tony Chang <tony@chromium.org>
433 Unreviewed, rolling out r69202.
434 http://trac.webkit.org/changeset/69202
435 https://bugs.webkit.org/show_bug.cgi?id=46937
437 Broke compile of test_shell
439 * DumpRenderTree/chromium/EventSender.cpp:
440 (EventSender::beginDragWithFiles):
441 * DumpRenderTree/chromium/WebViewHost.cpp:
442 (addDRTFakeFileToDataObject):
444 2010-10-06 Daniel Cheng <dcheng@chromium.org>
446 Reviewed by Tony Chang.
448 [chromium] Minor naming cleanup in WebDragData, part 2
449 https://bugs.webkit.org/show_bug.cgi?id=46937
451 Update DRT to use the renamed methods.
453 * DumpRenderTree/chromium/EventSender.cpp:
454 (EventSender::beginDragWithFiles):
455 * DumpRenderTree/chromium/WebViewHost.cpp:
456 (addDRTFakeFileToDataObject):
458 2010-10-06 David Kilzer <ddkilzer@apple.com>
460 <http://webkit.org/b/47270> Move WebArchive serialization code into its own file
462 Reviewed by Adam Roben.
464 This is the first step in making webarchive tests work on
467 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added
468 new files to the project.
469 * DumpRenderTree/mac/DumpRenderTree.mm: Removed code that moved
470 to WebArchiveDumpSupport.mm.
471 * DumpRenderTree/mac/WebArchiveDumpSupport.h: Added.
472 * DumpRenderTree/mac/WebArchiveDumpSupport.mm: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm.
473 (serializeWebArchiveToXML):
475 2010-10-05 Daniel Bates <dbates@rim.com>
477 Reviewed by David Kilzer.
479 Add infrastructure to towards detecting change log diffs that aren't at the top of the ChangeLog
480 https://bugs.webkit.org/show_bug.cgi?id=46058
482 Make VCSUtils::fixChangeLogPatch() return a reference to a hash
483 structure so as to support returning additional information
484 about a change log diff.
486 Currently, VCSUtils::fixChangeLogPatch() returns a string that
487 represents the change log diff. Towards supporting the return
488 of additional information, such as whether the change log diff
489 inserts an entry at the top of the ChangeLog file, we need to
490 make VCSUtils::fixChangeLogPatch() return a reference to hash
493 * Scripts/VCSUtils.pm:
494 - Modified fixChangeLogPatch() to return a reference to a
496 - Added documentation to fixChangeLogPatch().
497 - Modified call site in mergeChangeLogs() as necessary.
499 - Modified call site in patch() as necessary.
500 * Scripts/svn-create-patch:
501 - Modified call site in generateDiff() as necessary.
502 * Scripts/svn-unapply:
503 - Modified call site in patch() as necessary.
504 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
505 - Modified the unit tests as necessary.
507 2010-10-05 Tony Chang <tony@chromium.org>
509 Reviewed by Darin Adler.
511 fix the link to the expected image on windows
512 https://bugs.webkit.org/show_bug.cgi?id=47228
514 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: On
515 windows, the file must be opened in binary mode when writing
518 2010-10-05 Adam Barth <abarth@webkit.org>
520 Update expected result of unittest to match Tony's change below.
522 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
524 2010-10-05 Tony Chang <tony@chromium.org>
526 Reviewed by Ojan Vafai (over the shoulder).
528 Paper over errors in image_diff so we don't crash the whole test run.
530 * Scripts/webkitpy/layout_tests/port/chromium.py:
532 2010-10-05 Tony Chang <tony@chromium.org>
534 Unreviewed, make shutil.rmtree more resiliant to errors
535 since windows was raising WindowsError: The process cannot access the file because it
536 is being used by another process.
538 * Scripts/webkitpy/layout_tests/port/chromium.py:
540 2010-10-05 Tony Chang <tony@chromium.org>
542 Reviewed by Ojan Vafai.
544 [chromium] fix image diffing in NRWT
545 https://bugs.webkit.org/show_bug.cgi?id=47128
547 * Scripts/webkitpy/layout_tests/port/chromium.py: Stop using
548 NamedTemporaryFile since it doesn't work on Windows.
549 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
551 2010-10-05 Kenneth Russell <kbr@google.com>
553 Reviewed by Tony Chang.
555 [chromium] Implement layerTreeAsText in DumpRenderTree
556 https://bugs.webkit.org/show_bug.cgi?id=47216
558 Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
559 make it callable from DumpRenderTree.
561 No new tests; verified with existing compositor layout tests.
563 * DumpRenderTree/chromium/LayoutTestController.cpp:
564 (LayoutTestController::LayoutTestController):
565 (LayoutTestController::layerTreeAsText):
566 * DumpRenderTree/chromium/LayoutTestController.h:
568 2010-10-05 Brent Fulgham <bfulgham@webkit.org>
570 Unreviewed build correction.
572 * DumpRenderTree/win/ImageDiff.vcproj: Use WinCairo debug
573 property sheet so proper libraries are linked.
575 2010-10-05 Robert Hogan <robert@webkit.org>
577 Reviewed by Andreas Kling.
579 [Qt] Fix url conversion in QWebHistory
581 Converting from KURL to WFT::String to QUrl does not
582 permit proper percent encoding later.
584 https://bugs.webkit.org/show_bug.cgi?id=47048
586 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
587 (WebCore::dumpHistoryItem):
589 2010-10-05 Anders Carlsson <andersca@apple.com>
591 Reviewed by Sam Weinig.
593 REGRESSION (r68966?): All dumpAsText test fail on WebKit2
594 https://bugs.webkit.org/show_bug.cgi?id=47188
595 <rdar://problem/8514104>
597 When constructing the std::string, use the real string length instead of the maximum buffer size.
599 * TestWebKitAPI/PlatformUtilities.h:
600 (TestWebKitAPI::Util::toSTD):
601 * WebKitTestRunner/StringFunctions.h:
604 2010-10-04 Sam Weinig <sam@webkit.org>
606 Reviewed by Mark Rowe.
608 Add MIMEType accessor to WKFrame
609 <rdar://problem/8347683>
610 https://bugs.webkit.org/show_bug.cgi?id=47138
612 * TestWebKitAPI/PlatformUtilities.h:
613 (TestWebKitAPI::Util::toSTD):
614 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
615 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp: Added.
616 (TestWebKitAPI::didStartProvisionalLoadForFrame):
617 (TestWebKitAPI::didCommitLoadForFrame):
618 (TestWebKitAPI::didFinishLoadForFrame):
619 (TestWebKitAPI::TEST):
620 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp: Added.
621 (TestWebKitAPI::didStartProvisionalLoadForFrame):
622 (TestWebKitAPI::didCommitLoadForFrame):
623 (TestWebKitAPI::didFinishLoadForFrame):
624 (TestWebKitAPI::TEST):
625 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
626 (TestWebKitAPI::TEST):
627 * TestWebKitAPI/Tests/WebKit2/basic-1.html: Removed.
628 * TestWebKitAPI/Tests/WebKit2/icon.png: Added.
629 * TestWebKitAPI/Tests/WebKit2/simple.html: Added.
630 * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
631 (TestWebKitAPI::Util::createURLForResource):
633 2010-10-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
635 Reviewed by Ojan Vafai.
637 [NRWT] Rename current_dir to current_group because it's not a directory
638 https://bugs.webkit.org/show_bug.cgi?id=47169
640 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
641 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
643 2010-10-04 Dirk Pranke <dpranke@chromium.org>
645 Unreviewed, build fix.
647 r69065 broke test-webkitpy by trying to create a '/tmp-X' directory,
648 which can't always be done. This test uses tempfile.mkdtemp(), which
651 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
653 2010-10-04 Dirk Pranke <dpranke@chromium.org>
655 Unreviewed, build fix.
657 Add missing "from __future__ import with_statement" that was
658 breaking test-webkitpy on the Leopard bots (broke in r69040).
660 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
662 2010-10-04 Sheriff Bot <webkit.review.bot@gmail.com>
664 Unreviewed, rolling out r69066.
665 http://trac.webkit.org/changeset/69066
666 https://bugs.webkit.org/show_bug.cgi?id=47163
668 Made NRWT reliability worse. (Requested by tkent on #webkit).
670 * Scripts/webkitpy/layout_tests/port/chromium.py:
671 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
673 2010-10-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
675 Reviewed by Tony Chang.
677 [NRWT] Reverse the http tests to alphabetical order.
678 https://bugs.webkit.org/show_bug.cgi?id=47075
680 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
682 2010-10-04 Robert Hogan <robert@webkit.org>
684 Reviewed by Andreas Kling.
686 [Qt] Fix timeout on http/tests/navigation/post-goback2.html and postredirect-goback2.html
688 We need to queue back and forward navigations in the DRT from the
689 LayoutTestController so that maybeDump() knows about them.
691 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
692 (LayoutTestController::queueBackNavigation):
693 (LayoutTestController::queueForwardNavigation):
695 2010-10-04 Tony Chang <tony@chromium.org>
697 Reviewed by Kent Tamura.
699 [chromium] fix image diffing in NRWT
700 https://bugs.webkit.org/show_bug.cgi?id=47128
702 * Scripts/webkitpy/layout_tests/port/chromium.py: Flush data to the
703 temp file and check the image_diff error code more carefully
704 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
706 2010-10-04 Dirk Pranke <dpranke@chromium.org>
708 Reviewed by Adam Barth.
710 aroben's change in r68792 actually broke new-run-webkit-tests when
711 running the DRT code path. His change was intended to fix the
712 way we were converting windows paths to URIs when running under
713 Cygwin (the paths were getting one too many "/" on the front).
714 However, the change ended up breaking the chromium_win port, which
715 had slightly different logic.
717 This patch removes the port-specific code and adds tests to make
718 sure we're getting the behavior we expect. The Port object no longer
719 exposes a get_absolute_path() method that can be used outside of
720 of converting test filenames, because it's unreliable otherwise
721 (we don't have the right context to know which conversion is intended).
723 https://bugs.webkit.org/show_bug.cgi?id=47140
725 * Scripts/webkitpy/layout_tests/port/base.py:
726 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
727 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
728 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
729 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
731 2010-10-04 Dirk Pranke <dpranke@chromium.org>
733 Unreviewed, build fix.
735 Handle crash introduced in r69040 if we are not running in a
738 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
740 2010-10-04 Dirk Pranke <dpranke@chromium.org>
742 Reviewed by Tony Chang.
744 Add a way for us to have test expectations that are specific to the
745 official builds of Google Chrome (as opposed to Chromium). This change
746 looks for an additional "test_expectations_chrome.txt" file in
747 Chromium's repository (webkit/tools/layout_tests), and uses the
748 concatenation of that file and the regular test_expectations.txt
749 file for test overrides.
751 https://bugs.webkit.org/show_bug.cgi?id=46854
753 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
754 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
756 2010-10-04 Simon Fraser <simon.fraser@apple.com>
758 Color tests in the list based on existing pass/fail result.
760 Fix the summary data to account for htmlOnly and nonHTML tests.
762 * CSSTestSuiteHarness/harness/harness.css:
763 (#test-list > option.pass):
764 (#test-list > option.fail):
765 (#test-list > option.skipped):
766 * CSSTestSuiteHarness/harness/harness.js:
768 (Test.prototype.statusForFormat):
769 (TestSuite.prototype.fillTestList):
770 (TestSuite.prototype.updateTestList):
771 (TestSuite.prototype.recordResult):
772 (TestSuite.prototype.markTestCompleted):
773 (TestSuite.prototype.countTestsWithFlag):
774 (TestSuite.prototype.queryDatabaseForSummary.this.db.transaction):
775 (TestSuite.prototype.queryDatabaseForSummary):
777 2010-10-04 Chris Fleizach <cfleizach@apple.com>
779 Reviewed by Beth Dakin.
781 AX: doAXRangeForLine does not work
782 https://bugs.webkit.org/show_bug.cgi?id=47101
784 DRT support to handle NSAccessibilityRangeForLineParameterizedAttribute.
786 * DumpRenderTree/AccessibilityUIElement.cpp:
787 (rangeForLineCallback):
788 (AccessibilityUIElement::rangeForLine):
789 (AccessibilityUIElement::getJSClass):
790 * DumpRenderTree/AccessibilityUIElement.h:
791 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
792 (AccessibilityUIElement::rangeForLine):
794 2010-10-04 Andrey Kosyakov <caseq@chromium.org>
796 Unreviewed. Adding myself to the committers list.
798 * Scripts/webkitpy/common/config/committers.py:
800 2010-10-04 Sam Weinig <sam@webkit.org>
802 Reviewed by Anders Carlsson.
804 Add ability to set the CacheModel in Webkit2
805 https://bugs.webkit.org/show_bug.cgi?id=47066
807 * MiniBrowser/mac/AppDelegate.m:
808 (-[BrowserAppDelegate init]): Opt minibrowser into
809 a PrimaryWebBrowser cache model.
811 2010-10-03 Simon Fraser <simon.fraser@apple.com>
813 Make sure to enter all tests when creating the database
816 When migrating to a new version of the suite, be sure to
817 sync up the database and testinfo.data by removing old
818 tests, and inserting new ones.
820 * CSSTestSuiteHarness/harness/harness.js:
821 (TestSuite.prototype.openDatabase.creation):
822 (TestSuite.prototype.databaseCreated):
823 (TestSuite.prototype.populateDatabaseFromTestInfoData):
824 (TestSuite.prototype.insertTest):
826 2010-10-03 Simon Fraser <simon.fraser@apple.com>
828 More work on treating HTML4 and XHTML1 independently; when
829 changing the format, rebuild the test list, and update the
830 numbers in the chapter popup.
832 * CSSTestSuiteHarness/harness/harness.js:
834 (Test.prototype.runForFormat):
835 (Test.prototype.completedForFormat):
837 (ChapterSection.prototype.countTests):
839 (Chapter.prototype.description):
840 (Chapter.prototype.countTests):
841 (Chapter.prototype.testCount):
842 (Chapter.prototype.untestedCount):
843 (TestSuite.prototype.buildChapters):
844 (TestSuite.prototype.loadCurrentTest):
845 (TestSuite.prototype.updateProgressLabel):
846 (TestSuite.prototype.processFlags):
847 (TestSuite.prototype.formatChanged):
849 2010-10-03 Simon Fraser <simon.fraser@apple.com>
851 Update test suite version 20101001.
853 Handle database migration, and delete tests from the db that are
854 not present in testinfo.data.
856 Load about:blank into the test frame before the test url, to make
857 missing tests more obvious.
859 * CSSTestSuiteHarness/harness/harness.js:
860 (TestSuite.prototype.loadTest):
861 (TestSuite.prototype.openDatabase.creation):
862 (TestSuite.prototype.openDatabase.migration1_0To1_1):
863 (TestSuite.prototype.openDatabase.if.return):
864 (TestSuite.prototype.databaseReady):
865 (TestSuite.prototype.populateDatabaseFromTestInfoData):
866 (TestSuite.prototype.syncDatabaseWithTestInfoData.this.db.transaction):
867 (TestSuite.prototype.syncDatabaseWithTestInfoData):
869 2010-10-02 Simon Fraser <simon.fraser@apple.com>
871 Add the ability to jump to a specific test.
873 * CSSTestSuiteHarness/harness/harness.html:
874 * CSSTestSuiteHarness/harness/harness.js:
875 (TestSuite.prototype.goToTestByName):
876 (TestSuite.prototype.switchToFormat):
878 2010-10-02 Simon Fraser <simon.fraser@apple.com>
880 For a ref test, load the ref in the same format (HTML4 vs XHTML1)
883 * CSSTestSuiteHarness/harness/harness.js:
884 (TestSuite.prototype.loadRef):
886 2010-10-02 Simon Fraser <simon.fraser@apple.com>
888 Update the UI to reflect the fact that each test needs to be tested
889 in both HTML4 and XHTML1 format.
891 * CSSTestSuiteHarness/harness/harness.js:
893 (Chapter.prototype.description):
894 (Chapter.prototype.untestedCount):
895 (TestSuite.prototype.fillChapterPopup):
896 (TestSuite.prototype.updateChapterPopup):
897 (TestSuite.prototype.fillTestList):
898 (TestSuite.prototype.updateTestList):
899 (TestSuite.prototype.goToNextIncompleteTest):
900 (TestSuite.prototype.firstIncompleteTestIndex):
901 (TestSuite.prototype.recordResult):
902 (TestSuite.prototype.formatChanged):
903 (TestSuite.prototype.markTestCompleted):
904 (TestSuite.prototype.resetTestStatus):
906 2010-10-01 Simon Fraser <simon.fraser@apple.com>
908 Add the ability to remove results for re-testing, and
911 * CSSTestSuiteHarness/harness/harness.css:
916 (.overlay-contents textarea):
917 (.overlay-contents .buttons):
918 (.overlay-contents .note):
919 (.overlay-contents .buttons button):
920 * CSSTestSuiteHarness/harness/harness.html:
921 * CSSTestSuiteHarness/harness/harness.js:
922 (TestSuite.prototype.importResults):
923 (TestSuite.prototype.clearResults):
924 (TestSuite.prototype.markTestCompleted):
925 (TestSuite.prototype.resetTestStatus):
926 (TestSuite.prototype.storeTestResult):
927 (TestSuite.prototype.importTestResults):
928 (TestSuite.prototype.clearTestResults):
930 2010-10-01 Sam Weinig <sam@webkit.org>
932 Reviewed by Jon Honeycutt.
934 Deploy the new WKString functions to remove most uses of CF from
935 the WebKitTestRunner.
937 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
938 (WTR::InjectedBundle::didReceiveMessage):
939 (WTR::InjectedBundle::done):
940 * WebKitTestRunner/StringFunctions.h:
945 (WTR::copyURLString):
946 * WebKitTestRunner/TestController.cpp:
947 (WTR::TestController::resetStateToConsistentValues):
948 (WTR::TestController::didFinishLoadForFrame):
949 * WebKitTestRunner/TestInvocation.cpp:
950 (WTR::TestInvocation::invoke):
951 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
953 2010-10-01 Mihai Parparita <mihaip@chromium.org>
955 Unreviewed TestResultsServer change.
957 Add files introduced by http://crrev.com/61273 to the list of dashboard
960 * TestResultServer/handlers/dashboardhandler.py:
962 2010-10-01 Brian Weinstein <bweinstein@apple.com>
964 Build Fix for Windows.
966 * WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
967 WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
968 ForwardingHeaders to the include path.
970 2010-10-01 Sam Weinig <sam@webkit.org>
972 Reviewed by Anders Carlsson.
974 Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.
976 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
977 * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
978 (TestWebKitAPI::TEST):
979 * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp: Added.
980 (TestWebKitAPI::TEST):
982 2010-10-01 Sam Weinig <sam@webkit.org>
984 Reviewed by Kenneth Rohde Christiansen.
986 Add additional WKString API
987 https://bugs.webkit.org/show_bug.cgi?id=46958
989 Add basic WKStringRef tests.
991 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
992 * TestWebKitAPI/Tests/WebKit2/WKString.cpp: Added.
994 2010-10-01 Sam Weinig <sam@webkit.org>
996 Reviewed by Dan Bernstein.
998 Add makefile for TestWebKitAPI and call it from the base makefile.
1001 * TestWebKitAPI/Makefile: Added.
1003 2010-10-01 Sam Weinig <sam@webkit.org>
1005 Reviewed by Adam Roben.
1007 Remove unnecessary ForwardingHeaders from test runners.
1008 https://bugs.webkit.org/show_bug.cgi?id=47010
1010 * TestWebKitAPI/Configurations/Base.xcconfig:
1011 * TestWebKitAPI/ForwardingHeaders: Removed.
1012 * WebKitTestRunner/Configurations/Base.xcconfig:
1013 * WebKitTestRunner/ForwardingHeaders: Removed.
1015 2010-09-30 Adam Barth <abarth@webkit.org>
1017 Reviewed by Eric Seidel.
1019 WebSocket tests are flaky
1020 https://bugs.webkit.org/show_bug.cgi?id=46956
1022 Update these tools to understand how to run the WebSocket tests off the
1025 * Scripts/old-run-webkit-tests:
1026 * Scripts/webkitpy/layout_tests/port/base.py:
1027 * Scripts/webkitpy/layout_tests/port/websocket_server.py:
1028 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1030 2010-10-01 Adam Roben <aroben@apple.com>
1032 Encode Executive command arguments using UTF-8 on Cygwin
1034 Cygwin's Python's os.execv doesn't support unicode command arguments.
1035 Cygwin's execv expects arguments to be encoded using the current code
1036 page. But code pages are limited in what characters they can handle,
1037 and our tests include characters that the English code page can't
1038 handle. So for now we'll just encode everything in UTF-8 on Cygwin,
1039 which can handle all characters but might confuse some commands, for
1040 expediency's sake. I'm sure we'll run into cases where UTF-8 isn't
1041 good enough, but we can deal with that when the problem arises.
1043 Reviewed by Adam Barth.
1045 Fixes <http://webkit.org/b/46892> <rdar://problem/8496639>
1046 webkitpy.common.system.executive_unittest.ExecutiveTest.test_run_command_with_unicode
1049 * Scripts/webkitpy/common/system/executive.py:
1050 (Executive._run_command_with_teed_output):
1051 (Executive.run_command):
1052 On Cygwin, encode arguments using UTF-8.
1054 2010-10-01 Sam Weinig <sam@webkit.org>
1056 Reviewed by Adam Roben.
1058 Add simple API tester for WebKit2
1059 https://bugs.webkit.org/show_bug.cgi?id=46953
1061 This adds a very simple testing infrastructure for testing APIs exposed
1062 through the WebKit project. It consists of two parts: 1) a project that
1063 builds the all the tests 2) a script that searches the tests directory and
1064 calls the tester once for each test.
1066 This adds the infrastructure and two tests:
1067 - Tests/WTF/Vector1.cpp - A proof of concept test of WTF data-structures.
1068 - Tests/WebKit2/BasicTest1.cpp - A proof of concept test of WebKit2 API.
1070 This currently only works on the mac, but is designed to be easily ported
1073 * Scripts/run-api-tests: Added.
1074 * Scripts/build-api-tests: Added.
1075 Scripts to build/run the tests.
1077 * TestWebKitAPI: Added.
1078 * TestWebKitAPI/Configurations: Added.
1079 * TestWebKitAPI/Configurations/Base.xcconfig: Added.
1080 * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Added.
1081 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Added.
1082 * TestWebKitAPI/ForwardingHeaders: Added.
1083 * TestWebKitAPI/ForwardingHeaders/wtf: Added.
1084 * TestWebKitAPI/PlatformUtilities.h: Added.
1085 * TestWebKitAPI/PlatformWebView.h: Added.
1086 (TestWebKitAPI::PlatformWebView::platformView):
1087 * TestWebKitAPI/StringFunctions.h: Added.
1088 * TestWebKitAPI/Test.h: Added.
1089 (TestWebKitAPI::Test::~Test):
1090 (TestWebKitAPI::Test::name):
1091 (TestWebKitAPI::Test::Register::Register):
1092 (TestWebKitAPI::Test::Register::create):
1093 (TestWebKitAPI::Test::Test):
1094 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Added.
1095 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added.
1096 * TestWebKitAPI/TestWebKitAPIPrefix.h: Added.
1097 * TestWebKitAPI/TestsController.cpp: Added.
1098 (TestWebKitAPI::TestsController::shared):
1099 (TestWebKitAPI::TestsController::TestsController):
1100 (TestWebKitAPI::TestsController::runTestNamed):
1101 (TestWebKitAPI::TestsController::testFailed):
1102 (TestWebKitAPI::TestsController::registerCreateTestFunction):
1103 * TestWebKitAPI/TestsController.h: Added.
1104 * TestWebKitAPI/mac: Added.
1105 * TestWebKitAPI/mac/PlatformUtilitiesMac.mm: Added.
1106 (TestWebKitAPI::Util::run):
1107 (TestWebKitAPI::Util::createURLForResource):
1108 * TestWebKitAPI/mac/PlatformWebViewMac.mm: Added.
1109 (TestWebKitAPI::PlatformWebView::PlatformWebView):
1110 (TestWebKitAPI::PlatformWebView::resizeTo):
1111 (TestWebKitAPI::PlatformWebView::~PlatformWebView):
1112 (TestWebKitAPI::PlatformWebView::page):
1113 (TestWebKitAPI::PlatformWebView::focus):
1114 * TestWebKitAPI/mac/main.mm: Added.
1117 * TestWebKitAPI/Tests: Added.
1118 * TestWebKitAPI/Tests/WTF: Added.
1119 * TestWebKitAPI/Tests/WTF/Vector1.cpp: Added.
1120 * TestWebKitAPI/Tests/WebKit2: Added.
1121 * TestWebKitAPI/Tests/WebKit2/BasicTest1.cpp: Added.
1122 (TestWebKitAPI::State::State):
1123 * TestWebKitAPI/Tests/WebKit2/basic-1.html: Added.
1124 Proof of concept tests.
1126 2010-10-01 Adam Roben <aroben@apple.com>
1128 Don't assume AccessibleObjectFromEvent succeeds
1130 Fixes <http://webkit.org/b/44136> <rdar://problem/8321684> Crash in
1131 DumpRenderTree!notificationListenerProc when running
1132 plugins/access-after-page-destroyed.html
1134 Reviewed by Sam Weinig.
1136 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1137 (notificationListenerProc): Check both the return value of
1138 AccessibleObjectFromEvent and the object it returns, as MSDN
1141 2010-10-01 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
1143 Reviewed by Tony Chang.
1145 [NRWT] Put the http and websocket tests first in the test list.
1146 https://bugs.webkit.org/show_bug.cgi?id=46453
1148 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1149 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1151 2010-10-01 Fady Samuel <fsamuel@chromium.org>
1153 Unreviewed, adding myself to the committer list.
1155 * Scripts/webkitpy/common/config/committers.py:
1157 2010-10-01 Adam Roben <aroben@apple.com>
1159 Test NPN_GetValue(NPNVnetscapeWindow)
1161 Test for <http://webkit.org/b/46726> <rdar://problem/8486319>
1162 Right-clicking on windowless Flash plugin in WebKit2 makes a context
1163 menu appear in the bottom-right corner of the screen
1165 Reviewed by Anders Carlsson.
1167 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
1168 (PluginTest::NPN_GetValue): Added. Calls through to the browser.
1170 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added NPN_GetValue.
1172 * DumpRenderTree/TestNetscapePlugIn/Tests/win/GetValueNetscapeWindow.cpp: Added.
1173 (GetValueNetscapeWindow::GetValueNetscapeWindow): Initialize members.
1174 (GetValueNetscapeWindow::NPP_SetWindow): Test that
1175 NPN_GetValue(NPNVnetscapeWindow) returns a valid HWND and that it
1178 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1179 Added GetValueNetscapeWindow.
1181 2010-10-01 Andreas Kling <andreas.kling@nokia.com>
1183 Unreviewed, adding my webkit.org identity to reviewer list.
1185 * Scripts/webkitpy/common/config/committers.py:
1187 2010-09-30 Adam Barth <abarth@webkit.org>
1189 Reviewed by Eric Seidel.
1191 The WebSocket server should flush its logs
1192 https://bugs.webkit.org/show_bug.cgi?id=46946
1194 The WebSocket server logs are truncated because the driver just
1195 terminates the child. It should run Python without buffering so we can
1196 see the end of the log.
1198 * Scripts/webkitpy/layout_tests/port/websocket_server.py:
1200 2010-09-30 Simon Fraser <simon.fraser@apple.com>
1202 Add a button to jump to the next untested test.
1204 * CSSTestSuiteHarness/harness/harness.css:
1207 * CSSTestSuiteHarness/harness/harness.html:
1208 * CSSTestSuiteHarness/harness/harness.js:
1209 (Chapter.prototype.description):
1210 (Chapter.prototype.untestedCount):
1211 (TestSuite.prototype.testInfoDataLoaded):
1212 (TestSuite.prototype.fillChapterPopup):
1213 (TestSuite.prototype.updateChapterPopup):
1214 (TestSuite.prototype.buildTestListForChapter):
1215 (TestSuite.prototype.goToNextIncompleteTest):
1216 (TestSuite.prototype.firstIncompleteTestIndex):
1217 (TestSuite.prototype.testCompletionStateChanged):
1219 2010-09-29 Jon Honeycutt <jhoneycutt@apple.com>
1221 WebKit2 on Windows should use Windows fonts for the various standard
1223 https://bugs.webkit.org/show_bug.cgi?id=43499
1224 <rdar://problem/8272758>
1226 Reviewed by Adam Roben.
1228 * WebKitTestRunner/TestController.cpp:
1229 (WTR::TestController::resetStateToConsistentValues):
1230 Use the Mac fonts for running tests. This matches DRT behavior.
1232 2010-09-30 Adam Barth <abarth@webkit.org>
1234 Third attempt. We need a better integration test environment.
1236 * Scripts/webkitpy/common/net/failuremap.py:
1237 * Scripts/webkitpy/common/net/failuremap_unittest.py:
1239 2010-09-30 Robert Hogan <robert@webkit.org>
1241 Reviewed by Andreas Kling.
1243 [Qt] Support for PlainTextController
1245 Unskip editing/text-iterator/basic-iteration.html
1247 https://bugs.webkit.org/show_bug.cgi?id=38805
1249 * DumpRenderTree/qt/DumpRenderTree.pro:
1250 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1251 (WebCore::DumpRenderTree::DumpRenderTree):
1252 (WebCore::DumpRenderTree::initJSObjects):
1253 * DumpRenderTree/qt/DumpRenderTreeQt.h:
1254 * DumpRenderTree/qt/PlainTextControllerQt.cpp: Added.
1255 (PlainTextController::PlainTextController):
1256 (PlainTextController::plainText):
1257 * DumpRenderTree/qt/PlainTextControllerQt.h: Added.
1259 2010-09-30 Adam Barth <abarth@webkit.org>
1261 Unreviewed. Second attempt to fix sheriffbot.
1263 * Scripts/webkitpy/common/net/buildbot.py:
1265 2010-09-30 Adam Barth <abarth@webkit.org>
1269 This patch should stop the sheriffbot from throwing an exception.
1271 * Scripts/webkitpy/common/net/buildbot.py:
1273 2010-09-30 Brian Weinstein <bweinstein@apple.com>
1275 Reviewed by Adam Roben.
1277 The same bots shouldn't run both Windows Debug Tests and Windows Release Tests.
1278 https://bugs.webkit.org/show_bug.cgi?id=46926
1280 * BuildSlaveSupport/build.webkit.org-config/config.json: Have two bots running Windows
1281 Release Tests, and two bots running Windows Debug Tests, instead of four running both.
1283 2010-09-30 Adam Barth <abarth@webkit.org>
1285 Reviewed by Eric Seidel.
1287 webkit-patch find-flaky-tests should print results URLs
1288 https://bugs.webkit.org/show_bug.cgi?id=46917
1290 Printing out the results URL makes find-flaky-tests more actionable
1291 because you can see what happens when a test fails. The output from
1292 the script is still pretty noisy, but it seems useful.
1294 * Scripts/webkitpy/tool/commands/queries.py:
1296 2010-09-30 Chris Marrin <cmarrin@apple.com>
1298 Reviewed by Simon Fraser.
1300 Make 2D accelerated canvas rendering build on Mac
1301 https://bugs.webkit.org/show_bug.cgi?id=46007
1303 Added ACCELERATED_2D_CANVAS to build-webkit
1305 * Scripts/build-webkit:
1307 2010-09-29 Kenneth Russell <kbr@google.com>
1309 Reviewed by Dimitri Glazkov.
1311 [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
1312 https://bugs.webkit.org/show_bug.cgi?id=46849
1314 Added offscreen code path for WebGraphicsContext3DDefaultImpl which
1315 works with the compositor integration in both DumpRenderTree and
1316 test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint
1317 and thereby trigger the compositor's readback code path. Added support
1318 for --enable-accelerated-compositing to DumpRenderTree.
1320 Tested in both test_shell and DumpRenderTree on Linux, the latter by
1321 modifying a compositing layout test, dumping the pixels and verifying
1322 that they matched the output when the compositor was active.
1324 * DumpRenderTree/chromium/DumpRenderTree.cpp:
1326 * DumpRenderTree/chromium/TestShell.cpp:
1327 (TestShell::TestShell):
1328 (TestShell::resetWebSettings):
1329 * DumpRenderTree/chromium/TestShell.h:
1330 (TestShell::setAcceleratedCompositingEnabled):
1331 * DumpRenderTree/chromium/WebPreferences.cpp:
1332 (WebPreferences::reset):
1333 (WebPreferences::applyTo):
1334 * DumpRenderTree/chromium/WebPreferences.h:
1335 * DumpRenderTree/chromium/WebViewHost.cpp:
1336 (WebViewHost::scheduleComposite):
1337 * DumpRenderTree/chromium/WebViewHost.h:
1339 2010-09-30 Adam Roben <aroben@apple.com>
1341 Ensure that QueueEngine cleans up its log files when its delegate
1342 tells it to stop processing work
1344 Reviewed by Adam Barth.
1346 Fixes <http://webkit.org/b/46891> <rdar://problem/8496638> Many tests
1347 in webkitpy.tool.bot.queueengine_unittest.QueueEngineTest crash on
1350 * Scripts/webkitpy/tool/bot/queueengine.py:
1351 (QueueEngine.run): Stop ourselves normally (including cleaning up log
1352 files) when the delegate tells us to stop processing work.
1354 * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
1355 (LoggingDelegate.__init__): Moved code here from
1356 RaisingDelegate.__init__.
1357 (LoggingDelegate.expeced_callbacks): Added the stop_work_queue
1359 (LoggingDelegate.stop_work_queue): Moved here from RaisingDelegate.
1360 (RaisingDelegate.__init__): Removed code that LoggingDelegate takes
1362 (QueueEngineTest.test_trivial): Make sure we got the expected stop
1364 (QueueEngineTest.test_not_safe_to_proceed): Changed to explicitly
1365 remove the callbacks that are related to processing a single work
1366 item, rather than removing all callbacks after a certain point, as
1367 there are now more callbacks we expect to receive at the end.
1369 2010-09-30 Adam Roben <aroben@apple.com>
1371 Fix path -> URL conversion on Cygwin
1373 Reviewed by Adam Barth.
1375 Fixes <http://webkit.org/b/46890> <rdar://problem/8496637> Many tests
1376 in webkitpy.layout_tests.run_webkit_tests_unittest assert on Windows
1378 * Scripts/webkitpy/layout_tests/port/base.py:
1379 (Port.filename_to_uri): Treat Cygwin like other UNIX-y platforms by
1380 assuming paths already have a leading slash.
1382 2010-09-30 Adam Roben <aroben@apple.com>
1384 Teach WindowGeometryInitializedBeforeSetWindow that NPP_SetWindow can
1385 be called more than once
1387 The NPP_SetWindow call made when the plugin is torn down was confusing
1388 us, and was causing us to spew an error into the next test.
1390 Fixes <http://webkit.org/b/46900> <rdar://problem/8496888> REGRESSION
1391 (r68520): plugins/access-after-page-destroyed.html failing on Windows
1393 Reviewed by Anders Carlsson.
1395 * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp:
1396 (WindowGeometryInitializedBeforeSetWindow::WindowGeometryInitializedBeforeSetWindow):
1398 (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Bail if
1399 this isn't the first time this is called.
1401 2010-09-30 Eric Seidel <eric@webkit.org>
1403 Reviewed by Adam Barth.
1405 webkit-patch upload warns that I'm using Xcode when I'm not
1406 https://bugs.webkit.org/show_bug.cgi?id=46869
1408 String.find returns -1 when not found, so switched to "in".
1410 * Scripts/webkitpy/common/system/user.py:
1411 * Scripts/webkitpy/common/system/user_unittest.py:
1413 2010-09-30 Eric Seidel <eric@webkit.org>
1415 Reviewed by Adam Barth.
1417 webkit-patch failure-reason dies if non-trunk commits are in the blame range
1418 https://bugs.webkit.org/show_bug.cgi?id=46866
1420 I also made failure-reason use RegressionWindow in a cleaner way.
1422 * Scripts/webkitpy/tool/commands/queries.py:
1424 2010-09-29 Adam Barth <abarth@webkit.org>
1426 Reviewed by Eric Seidel.
1428 webkit-patch find-flaky-tests
1429 https://bugs.webkit.org/show_bug.cgi?id=46876
1431 This command helps us find flaky tests so we can squash them.
1433 * Scripts/webkitpy/tool/commands/queries.py:
1435 2010-09-29 Simon Fraser <simon.fraser@apple.com>
1437 Fix export to use '?' instead of 'null' for
1438 tests with no results.
1440 * CSSTestSuiteHarness/harness/harness.js:
1442 2010-09-29 Simon Fraser <simon.fraser@apple.com>
1444 Add a warning when a test requires special steps.
1445 Add a Print Preview button for 'paged' tests that
1446 brings up the print dialog, allowing the user to
1447 judge paged media tests.
1449 * CSSTestSuiteHarness/harness/harness.css:
1450 * CSSTestSuiteHarness/harness/harness.html:
1451 * CSSTestSuiteHarness/harness/harness.js:
1452 (TestSuite.prototype.loadTest):
1453 (TestSuite.prototype.processFlags):
1455 2010-09-29 Adam Barth <abarth@webkit.org>
1457 Reviewed by Eric Seidel.
1459 Remove revisions_casuing_failures
1460 https://bugs.webkit.org/show_bug.cgi?id=46872
1462 This function exists only to be unit tested.
1464 * Scripts/webkitpy/common/net/failuremap.py:
1465 * Scripts/webkitpy/common/net/failuremap_unittest.py:
1466 * Scripts/webkitpy/tool/mocktool.py:
1468 2010-09-29 Adam Barth <abarth@webkit.org>
1470 Reviewed by Eric Seidel.
1472 SheriffBot should post the list of failing tests to bugs
1473 https://bugs.webkit.org/show_bug.cgi?id=46871
1475 * Scripts/webkitpy/common/net/buildbot.py:
1476 * Scripts/webkitpy/common/net/failuremap.py:
1477 * Scripts/webkitpy/common/net/regressionwindow.py:
1478 * Scripts/webkitpy/tool/bot/sheriff.py:
1479 * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
1480 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
1481 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1482 * Scripts/webkitpy/tool/commands/sheriffbot.py:
1483 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
1484 * Scripts/webkitpy/tool/commands/upload_unittest.py:
1485 * Scripts/webkitpy/tool/mocktool.py:
1487 2010-09-29 Brent Fulgham <bfulgham@webkit.org>
1489 Reviewed by Martin Robinson, Eric Seidel, and Mark Rowe.
1491 [WinCairo] Adds a build slave.
1492 https://bugs.webkit.org/show_bug.cgi?id=46360
1494 * BuildSlaveSupport/build.webkit.org-config/config.json: Add
1495 entries for a debug build of the WinCairo port.
1496 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add
1497 platform flag to configuration for wincairo (like gtk, chromium, etc.)
1498 * Scripts/build-webkit: Change 'cairo-win32' labeling to 'wincairo'
1499 * Scripts/webkitdirs.pm: Change 'cairo-win32' labeling to 'wincairo'
1501 2010-09-29 Adam Barth <abarth@webkit.org>
1503 Reviewed by Eric Seidel.
1505 Move more SheriffBot smarts into FailureMap
1506 https://bugs.webkit.org/show_bug.cgi?id=46703
1508 This patch pushes the FailureMap model object further into the
1509 SheriffBot machine. In addition, it moves a couple operations on this
1510 object from SheriffBot itself to the model.
1512 Eventually, FailureMap will be the canonical context object for
1513 SheriffBot operations. FailureMap represents a map of the current
1514 failures on the bots that might require remediation.
1516 * Scripts/webkitpy/common/net/failuremap.py:
1517 * Scripts/webkitpy/common/net/regressionwindow.py:
1518 * Scripts/webkitpy/tool/commands/queries.py:
1519 * Scripts/webkitpy/tool/commands/sheriffbot.py:
1520 * Scripts/webkitpy/tool/mocktool.py:
1522 2010-09-29 Tony Chang <tony@chromium.org>
1524 Reviewed by James Robinson.
1526 [chromium] enable -Werror for DRT and webkit_unit_tests on Linux
1527 https://bugs.webkit.org/show_bug.cgi?id=46829
1529 * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
1530 (DRTDevToolsClient::DRTDevToolsClient):
1531 * DumpRenderTree/chromium/TestShell.cpp:
1532 (TestShell::TestShell):
1533 * DumpRenderTree/chromium/WebViewHost.cpp:
1534 (WebViewHost::postAccessibilityNotification):
1535 (WebViewHost::WebViewHost):
1537 2010-09-29 Chris Fleizach <cfleizach@apple.com>
1539 Reviewed by Darin Adler.
1541 AX: implement CSS3 Speech "speak"
1542 https://bugs.webkit.org/show_bug.cgi?id=46827
1544 * DumpRenderTree/AccessibilityUIElement.cpp:
1546 (AccessibilityUIElement::speak):
1547 (AccessibilityUIElement::getJSClass):
1548 * DumpRenderTree/AccessibilityUIElement.h:
1549 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1550 (AccessibilityUIElement::speak):
1552 2010-09-29 Mihai Parparita <mihaip@chromium.org>
1554 Reviewed by Adam Barth.
1556 Record bot ID when updating queue status
1557 https://bugs.webkit.org/show_bug.cgi?id=46764
1559 Since we now have multiple bots handling patches from the commit queue,
1560 we need to differentiate status updates from them, so that we can group
1561 the queue status page in a less confusing way.
1563 * QueueStatusServer/handlers/updatestatus.py: Accept bot_id as input
1564 * QueueStatusServer/model/queuestatus.py: Add bot_id property
1565 * QueueStatusServer/templates/updatestatus.html: Add bot_id input
1566 * Scripts/webkitpy/common/net/bugzilla_unittest.py: Extract MockBrowser
1567 * Scripts/webkitpy/common/net/statusserver.py: Add bot_id
1568 * Scripts/webkitpy/common/net/statusserver_unittest.py: Added.
1569 * Scripts/webkitpy/tool/main.py: Add --bot-id
1570 * Scripts/webkitpy/tool/mocktool.py: Add MockBrowser
1572 2010-09-29 Simon Fraser <simon.fraser@apple.com>
1576 References always refert to a file in .xht format, even
1577 for HTML tests, so fix their loading.
1579 * CSSTestSuiteHarness/harness/harness.js:
1580 (TestSuite.prototype.loadRef):
1582 2010-09-28 Johnny Ding <jnd@chromium.org>
1584 Reviewed by Adam Barth.
1586 https://bugs.webkit.org/show_bug.cgi?id=41292
1587 Add a new parameter to the test plugin to allow specifying a script
1588 and a mouse/keyboard event. The specified script will be evaluated
1589 in the browser when the specified event is received by the plugin.
1591 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1593 * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
1594 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1596 (handleEventCarbon):
1599 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1601 Fix export by adding missing argument.
1603 * CSSTestSuiteHarness/harness/harness.js:
1604 (TestSuite.prototype.showResultsForAllTests):
1606 2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
1608 [wx] Build fix, add missing import.
1610 * wx/packaging/build-win-installer.py:
1612 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1616 Show which tests have been run by dimming them out in the test list.
1618 Adjust some element sizes.
1620 * CSSTestSuiteHarness/harness/harness.css:
1621 (#test-list > option.untested):
1622 (#test-list > option.completed):
1625 * CSSTestSuiteHarness/harness/harness.js:
1627 (TestSuite.prototype.fillTestList):
1628 (TestSuite.prototype.updateTestList):
1629 (TestSuite.prototype.setSelectedChapter):
1630 (TestSuite.prototype.recordResult):
1631 (TestSuite.prototype.markTestCompleted):
1632 (TestSuite.prototype.testCompletionStateChanged):
1633 (TestSuite.prototype.loadTestStatus):
1635 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1639 Implement export of various queries on the test database, sharing
1640 code with that which displays results inline.
1642 * CSSTestSuiteHarness/harness/harness.js:
1644 (TestSuite.prototype.exportResultsCompletion.var):
1645 (TestSuite.prototype.exportResultsCompletion):
1646 (TestSuite.prototype.showResultsForCompletedTests):
1647 (TestSuite.prototype.exportResultsForCompletedTests):
1648 (TestSuite.prototype.showResultsForAllTests):
1649 (TestSuite.prototype.exportResultsForAllTests):
1650 (TestSuite.prototype.exportResultsForTestsNotRun):
1651 (TestSuite.prototype.exportResultsForTestsWithStatus):
1652 (TestSuite.prototype.exportResultsForTestsWithMismatchedResults):
1654 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1658 Work around uncertainty about the order of database
1659 transactions when creating the database, so that we don't
1660 try to query the table before it has been created.
1662 * CSSTestSuiteHarness/harness/harness.js:
1664 (TestSuite.prototype.databaseCreated):
1665 (TestSuite.prototype.storeTestResult):
1666 (TestSuite.prototype.populateDatabaseFromTestInfoData):
1667 (TestSuite.prototype.queryDatabaseForTestsWithStatus):
1668 (TestSuite.prototype.queryDatabaseForTestsWithMixedStatus):
1669 (TestSuite.prototype.queryDatabaseForCompletedTests):
1670 (TestSuite.prototype.queryDatabaseForTestsNotRun):
1672 2010-09-28 Tony Chang <tony@chromium.org>
1674 Reviewed by Eric Seidel.
1676 add python keyring support to webkit-patch
1677 https://bugs.webkit.org/show_bug.cgi?id=41269
1679 * Scripts/webkitpy/common/net/credentials.py: Add the ability to read passwords using
1680 the python keyring module
1681 * Scripts/webkitpy/common/net/credentials_unittest.py:
1682 * Scripts/webkitpy/common/system/user.py: Allow confirm() to default to no and add testing params.
1683 * Scripts/webkitpy/common/system/user_unittest.py:
1684 * Scripts/webkitpy/tool/mocktool.py:
1686 2010-09-28 Martin Robinson <mrobinson@igalia.com>
1688 Reviewed by Gustavo Noronha Silva.
1690 [Cairo] FreeType fonts should obey FontConfig hinting/anti-aliasing settings
1691 https://bugs.webkit.org/show_bug.cgi?id=46740
1693 * DumpRenderTree/gtk/fonts/fonts.conf: Add specialized variants of common
1694 fonts which can be used to fully test FontConfig rendering settings.
1696 2010-09-28 Martin Robinson <mrobinson@igalia.com>
1698 Reviewed by Gustavo Noronha Silva.
1700 [gtk] Fedora has a different path for the liberation fonts
1701 https://bugs.webkit.org/show_bug.cgi?id=46709
1703 When searching for DRT fonts, also look in the path where those fonts
1704 are commonly found on Fedora systems.
1706 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1707 (initializeFonts): Include logic for looking for Fedora-style font paths.
1709 2010-09-28 Martin Robinson <mrobinson@igalia.com>
1711 Reviewed by Andreas Kling.
1713 run-webkit-tests needs an updated list of directories with webgl tests
1714 https://bugs.webkit.org/show_bug.cgi?id=46747
1716 Update the list of directories containing WebGL tests and a unit test
1717 which depends on this list.
1719 * Scripts/old-run-webkit-tests: Update the list of directories.
1720 * Scripts/webkitpy/layout_tests/port/webkit.py: Ditto.
1721 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Update the expected result.
1723 2010-09-28 Adam Barth <abarth@webkit.org>
1725 Reviewed by Eric Seidel.
1727 Introduce FailureMap to summaries the failures status of all the bots
1728 https://bugs.webkit.org/show_bug.cgi?id=46700
1730 This patch gives the SheriffBot a handle on the list of failing tests.
1732 * Scripts/webkitpy/common/net/buildbot.py:
1733 * Scripts/webkitpy/common/net/failuremap.py: Added.
1734 * Scripts/webkitpy/tool/commands/queries.py:
1735 * Scripts/webkitpy/tool/commands/sheriffbot.py:
1736 * Scripts/webkitpy/tool/mocktool.py:
1738 2010-09-28 Adam Roben <aroben@apple.com>
1740 Update for the addition of WKPageUIClient::didNotHandleKeyEvent
1742 Fixes <http://webkit.org/b/46660> <rdar://problem/8483465> Need API to
1743 tell a WebKit2 client application that a key event was not handled
1745 Reviewed by Kenneth Rohde Christiansen and Sam Weinig.
1747 * MiniBrowser/mac/BrowserWindowController.m:
1748 (-[BrowserWindowController awakeFromNib]):
1749 * MiniBrowser/win/BrowserView.cpp:
1750 (BrowserView::create):
1751 * WebKitTestRunner/TestController.cpp:
1752 (WTR::createOtherPage):
1753 (WTR::TestController::initialize):
1755 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1759 Update the CSSTestSuiteHarness to not scrape the XHTML chapter files
1760 for the test order, but instead use information from testinfo.data.
1762 * CSSTestSuiteHarness/harness/harness.html:
1763 * CSSTestSuiteHarness/harness/harness.js:
1765 2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
1767 [wx] Build fix, don't try to get the svn revision from the git repo when packaging,
1768 it causes the process to hang on the gitorious repo.
1770 * wx/packaging/build-mac-installer.py:
1771 * wx/packaging/build-win-installer.py:
1773 2010-09-28 Adam Roben <aroben@apple.com>
1775 Test that a plugin's HWND is sized/positioned before NPP_SetWindow is
1778 Reviewed by Anders Carlsson.
1780 Test for <http://webkit.org/b/46716> <rdar://problem/8482014>
1781 Full-page Adobe Reader does not paint until window is resized
1783 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
1784 (PluginTest::NPP_SetWindow): Added. Just returns NPERR_NO_ERROR at
1787 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Declared
1790 * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp: Added.
1791 (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Checks that
1792 the plugin's HWND has a non-zero size and that its size/position
1793 matches that specified in the NPWindow.
1795 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1796 (NPP_SetWindow): Call through to the PluginTest.
1798 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1799 Added WindowGeometryInitializedBeforeSetWindow.cpp, and let VS reorder
1800 the files as it saw fit.
1802 2010-09-28 Benjamin Poulain <benjamin.poulain@nokia.com>
1804 Reviewed by Andreas Kling.
1806 [Qt] Remove support for Qt 4.5
1807 https://bugs.webkit.org/show_bug.cgi?id=46718
1809 Remove the code for versions of Qt prior to 4.6.
1811 * DumpRenderTree/qt/EventSenderQt.cpp:
1812 (EventSender::addTouchPoint):
1813 (EventSender::updateTouchPoint):
1814 (EventSender::setTouchModifier):
1815 (EventSender::touchStart):
1816 (EventSender::touchMove):
1817 (EventSender::touchEnd):
1818 (EventSender::clearTouchPoints):
1819 (EventSender::releaseTouchPoint):
1820 (EventSender::sendTouchEvent):
1821 * DumpRenderTree/qt/EventSenderQt.h:
1822 * DumpRenderTree/qt/TextInputControllerQt.cpp:
1823 (TextInputController::setMarkedText):
1824 * QtTestBrowser/launcherwindow.cpp:
1825 (LauncherWindow::LauncherWindow):
1826 (LauncherWindow::initializeView):
1827 (LauncherWindow::createChrome):
1828 (LauncherWindow::sendTouchEvent):
1829 (LauncherWindow::eventFilter):
1830 (LauncherWindow::applyZoom):
1831 (LauncherWindow::setTouchMocking):
1832 * QtTestBrowser/launcherwindow.h:
1833 * QtTestBrowser/utils.cpp:
1835 * QtTestBrowser/webview.cpp:
1836 (WebViewGraphicsBased::animatedFlip):
1837 (WebViewGraphicsBased::animatedYFlip):
1838 * QtTestBrowser/webview.h:
1839 (WebViewGraphicsBased::setYRotation):
1841 2010-09-28 İsmail Dönmez <ismail@namtrac.org>
1843 Reviewed by Andreas Kling.
1845 Fix DRT compilation on WinCE. Introduce a WCECOMPAT variable
1846 which should point to wcecompat installation. Needs wcecompat
1847 library from http://github.com/mauricek/wcecompat .
1849 * DumpRenderTree/qt/DumpRenderTree.pro:
1850 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1851 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1853 2010-09-28 Daniel Bates <dbates@rim.com>
1855 Rollout changeset 68493 <http://trac.webkit.org/changeset/68493>
1856 <https://bugs.webkit.org/show_bug.cgi?id=39136>
1858 Rollout changeset 68493 because it broke Sheriffbot's rollout feature.
1859 In particular, this change caused Sheriffbot to raise an exception when
1860 trying to parse the bug id on a bug page. We need to look into this
1863 * Scripts/webkitpy/common/net/bugzilla.py:
1864 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
1865 * Scripts/webkitpy/tool/bot/sheriff.py:
1866 * Scripts/webkitpy/tool/commands/download.py:
1867 * Scripts/webkitpy/tool/commands/queues.py:
1868 * Scripts/webkitpy/tool/commands/upload.py:
1869 * Scripts/webkitpy/tool/steps/closebug.py:
1870 * Scripts/webkitpy/tool/steps/obsoletepatches.py:
1871 * Scripts/webkitpy/tool/steps/preparechangelog.py:
1872 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
1874 2010-09-28 Adam Barth <abarth@webkit.org>
1876 Reviewed by Eric Seidel.
1878 Move RegressionWindow further up the dependency chain
1879 https://bugs.webkit.org/show_bug.cgi?id=46698
1881 Baby steps towards pushing this information into bug posts.
1883 * Scripts/webkitpy/common/net/buildbot.py:
1884 * Scripts/webkitpy/common/net/buildbot_unittest.py:
1885 * Scripts/webkitpy/common/net/regressionwindow.py:
1886 * Scripts/webkitpy/tool/commands/queries.py:
1888 2010-09-27 Daniel Bates <dbates@rim.com>
1890 Reviewed by Adam Barth.
1892 sheriffbot can't roll out security patches
1893 https://bugs.webkit.org/show_bug.cgi?id=39136
1895 Make SheriffBot determine if it's authorized to view a bug
1896 whose change it wants to rollout before it tries to rollout
1899 Moreover, make both webkit-patch and Sheriffbot provide human-
1900 readable error messages when they are not authorized to view
1901 a bug and when a bug number is invalid.
1903 Currently, Sheriffbot does not parse Bugzilla bugs for
1904 <bug error="...">, which indicates an error when retrieving
1905 a bug. In particular, error="NotPermitted" if a person (or bot)
1906 is not authorized to view a bug. For such error="NotPermitted" bugs,
1907 Sheriffbot raises an exception when parsing the bug report and
1908 this exception does not explicitly indicate Sheriffbot's lack
1909 of authorization. Instead, Sheriffbot should explicitly check
1910 for the presence <bug error="..."> before operating on a bug
1911 and error with a human-readable message if it's not permitted
1914 * Scripts/webkitpy/common/net/bugzilla.py: Added BugzillaError class.
1915 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
1916 - Added unit test test_bug_parsing_for_bugzilla_not_permitted_error().
1917 - Added unit test test_bug_parsing_for_bugzilla_not_found_error().
1918 - Added unit test test_bug_parsing_for_bugzilla_invalid_bug_id_error().
1919 * Scripts/webkitpy/tool/bot/sheriff.py: Modified to catch BugzillaError.
1920 * Scripts/webkitpy/tool/commands/download.py: Ditto.
1921 * Scripts/webkitpy/tool/commands/queues.py: Ditto.
1922 * Scripts/webkitpy/tool/commands/upload.py: Ditto.
1923 * Scripts/webkitpy/tool/steps/closebug.py: Ditto.
1924 * Scripts/webkitpy/tool/steps/obsoletepatches.py: Ditto.
1925 * Scripts/webkitpy/tool/steps/preparechangelog.py: Ditto.
1926 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: Ditto.
1928 2010-09-27 Adam Barth <abarth@webkit.org>
1930 Reviewed by Eric Seidel.
1932 Expose more more failure information from Buildbot to SheriffBot
1933 https://bugs.webkit.org/show_bug.cgi?id=46697
1935 This patch moves the information about what tests failured closer to
1936 SheriffBot. There are still a couple more patches to go before
1937 SheriffBot can post this information to bugs, but this is a step in
1938 that direction. Yay for unit tests, which caught some bugs in earlier
1939 versions of this patch.
1941 * Scripts/webkitpy/common/net/buildbot.py:
1942 * Scripts/webkitpy/common/net/buildbot_unittest.py:
1943 * Scripts/webkitpy/common/net/regressionwindow.py: Added.
1944 * Scripts/webkitpy/tool/commands/queries.py:
1946 2010-09-27 Eric Seidel <eric@webkit.org>
1948 Unreviewed. Fixing 500 error seen in the status server.
1950 It turns out that a = b = []; b.append(1); then a[0] will be 1!
1951 This should have been obvious to me, I guess, but it was not what I was expecting.
1953 * QueueStatusServer/model/activeworkitems.py:
1955 2010-09-27 Adam Barth <abarth@webkit.org>
1957 Reviewed by Eric Seidel.
1959 commit-queue should reject patches that fail to land
1960 https://bugs.webkit.org/show_bug.cgi?id=46694
1962 This can happen, for example, if there's no reviewer. Without this
1963 patch, we'll keep retrying the patch.
1965 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1966 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1968 2010-09-27 Simon Fraser <simon.fraser@apple.com>
1970 Rubber-stamped by Adele Peterson.
1972 Add a harness for running the CSS 2.1 test suite.
1974 This harness assumes that you've got a local a copy of the suite
1975 adjacent to the 'harness' directory.
1977 The harness lets you go through the tests in chapter order,
1978 denoting pass/fail/skipped for each test.
1980 It uses a client-side database to store the results of testing.
1982 * CSSTestSuiteHarness/harness/harness.css: Added.
1983 * CSSTestSuiteHarness/harness/harness.html: Added.
1984 * CSSTestSuiteHarness/harness/harness.js: Added.
1986 2010-09-27 Eric Seidel <eric@webkit.org>
1988 Reviewed by Adam Barth.
1990 Patch locks should expire if a patch is marked for retry
1991 https://bugs.webkit.org/show_bug.cgi?id=46682
1993 This was part Adam's original CommitQueueTask design,
1994 but support for it was missing from the server.
1995 I added the support, but triggering lock-release based on this
1996 special "retry" status feels a bit strange so I added a FIXME.
1998 I also changed the text in queuestatus.html to say "Lock Acquired"
1999 since "Last Activity" isn't really true. We only update the lock
2000 date when the patch is started, not on every status update.
2002 I also noticed an exception in next-patch, which I fixed by re-writing
2003 the unzip logic in activeworkitems.py again.
2005 * QueueStatusServer/handlers/updatestatus.py:
2006 * QueueStatusServer/model/activeworkitems.py:
2007 * QueueStatusServer/templates/queuestatus.html:
2009 2010-09-27 Tony Chang <tony@chromium.org>
2011 Reviewed by David Levin.
2013 [chromium] fix a warning when compiling DRT on 32-bit linux
2014 https://bugs.webkit.org/show_bug.cgi?id=46641
2016 * DumpRenderTree/chromium/TestEventPrinter.cpp:
2017 (DRTPrinter::handleImage):
2019 2010-09-27 Eric Seidel <eric@webkit.org>
2021 Reviewed by Adam Barth.
2023 queue-status should report when the patch was last locked to a queue
2024 https://bugs.webkit.org/show_bug.cgi?id=46674
2026 This isn't necessarily the best way to expose this information
2027 but having this accessible via the web interface is very
2028 useful until we come up with a nicer way to display this.
2030 I also cleaned up the code in activeworkitems.py a little
2031 to use list comprehensions and to have the code work with
2032 pairs instead of two lists at once. Eventually I think those
2033 item/time pairs need to be their own little helper class.
2035 * QueueStatusServer/handlers/queuestatus.py:
2036 * QueueStatusServer/model/activeworkitems.py:
2037 * QueueStatusServer/templates/queuestatus.html:
2039 2010-09-27 Tony Chang <tony@chromium.org>
2041 Reviewed by David Levin.
2043 [chromium] fix detection of missing fonts on DRT
2044 https://bugs.webkit.org/show_bug.cgi?id=46651
2046 * DumpRenderTree/chromium/TestShellGtk.cpp:
2047 (setupFontconfig): Only print an error message if lohit isn't found in both locations.
2049 2010-09-27 Tony Chang <tony@chromium.org>
2051 Reviewed by Dimitri Glazkov.
2053 add webkit unit tests to the chromium testers
2054 https://bugs.webkit.org/show_bug.cgi?id=46669
2056 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2057 * Scripts/run-chromium-webkit-unit-tests: Fix a bug where we weren't using the right configuration.
2059 2010-09-27 Kwang Yul Seo <skyul@company100.net>
2063 Adding myself to the committers list.
2065 * Scripts/webkitpy/common/config/committers.py:
2067 2010-09-27 Mihai Parparita <mihaip@chromium.org>
2069 Reviewed by Eric Seidel.
2071 webkitpy.common.system.user_unittest.UserTest.test_prompt_with_list spams the console
2072 https://bugs.webkit.org/show_bug.cgi?id=46634
2074 Use OutputCapture to prevent console spam (and also check for expected
2077 * Scripts/webkitpy/common/system/user_unittest.py:
2079 2010-09-27 Eric Seidel <eric@webkit.org>
2081 Reviewed by James Robinson.
2083 start-commit-queue should abort any rebases in progress
2084 https://bugs.webkit.org/show_bug.cgi?id=46640
2086 webkit-patch commit-queue would do this itself, but this just
2087 helps ensure that the commit-queue script is properly updated
2088 before we run it (in the case where a previous rebase is in
2089 progress the git svn rebase would not work before we run the
2092 * EWSTools/start-commit-queue.sh:
2094 2010-09-18 Martin Robinson <mrobinson@igalia.com>
2096 Reviewed by Gustavo Noronha Silva.
2098 [GTK] Clean up the DRT fonts.conf and switch to Liberation
2099 https://bugs.webkit.org/show_bug.cgi?id=46038
2101 Switch to Liberation fonts for GTK+ layout tests. This will make our
2102 test results metric-compatible with many Windows/Chromium results. It
2103 also simplifies the fonts.conf that we load and prepares the way for
2104 fixing many font bugs.
2106 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2107 (initializeFonts): Initialize a known list of fonts instead of loading
2108 every font in the WEBKIT_TESTFONTS directory.
2109 * DumpRenderTree/gtk/fonts.conf: Removed.
2110 * DumpRenderTree/gtk/fonts/AHEM____.TTF: Copied from WebKitTools/DumpRenderTree/qt/fonts/AHEM____.TTF.
2111 * DumpRenderTree/gtk/fonts/fonts.conf: Added.
2112 * GNUmakefile.am: Modify FONTS_CONF_FILE to be FONTS_CONF_DIR, so that
2113 we can load both fonts.conf and AHEM____.TTF from this location.
2114 * Scripts/old-run-webkit-tests: Remove the check for WEBKIT_TESTFONTS, since
2115 it is no longer used.
2117 2010-09-26 Mihai Parparita <mihaip@chromium.org>
2119 Reviewed by Ojan Vafai.
2121 new-run-webkit-httpd fails if Perl is not installed
2122 https://bugs.webkit.org/show_bug.cgi?id=46602
2124 Make Port._read_configuration catch all exceptions, since trying to run
2125 perl (because of _webkit_build_directory) when it's not installed throws
2126 a WindowsError or OSError, not an IOError (this became an issue after
2127 r68268, since ChromiumPort ends up calling Port.default_configuration in
2128 its constructor, which means that we're ending up on this codepath in
2129 non-NRWT cases too, e.g. for the Chromium NaCl tests, which use
2130 new-run-webkit-httpd).
2132 * Scripts/webkitpy/layout_tests/port/base.py:
2133 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2135 2010-09-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2137 Reviewed by Antonio Gomes.
2139 [EFL] Add setting API to set a local storage database path.
2140 https://bugs.webkit.org/show_bug.cgi?id=45446
2142 Add a setting API to set local storage database path.
2144 * EWebLauncher/main.c:
2149 2010-09-26 Sam Weinig <sam@webkit.org>
2151 Reviewed by Anders Carlsson.
2153 Move shared WebKit2 API (used by both bundle and main API) to WebKit2/Shared/API
2154 https://bugs.webkit.org/show_bug.cgi?id=46587
2156 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2158 2010-09-26 Antonio Gomes <agomes@rim.com>
2160 Reviewed by Kenneth Rohde Christiansen.
2162 DRT/Mac nodesFromRect support
2164 [Mac][DRT] Implement LayoutTestController::nodesFromRect
2165 https://bugs.webkit.org/show_bug.cgi?id=46580
2167 Implements LayoutTestController::nodesFromRect for Mac DRT, and
2168 adding stubs for GTK+ and Windows.
2170 * DumpRenderTree/LayoutTestController.cpp:
2171 (nodesFromRectCallback):
2172 (LayoutTestController::staticFunctions):
2173 * DumpRenderTree/LayoutTestController.h:
2174 (LayoutTestController::LayoutTestController::nodesFromRect):
2175 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2176 (LayoutTestController::nodesFromRect):
2178 2010-09-25 Nicolas Weber <thakis@chromium.org>
2180 Reviewed by Adam Barth.
2182 https://bugs.webkit.org/show_bug.cgi?id=46555
2183 Fix typo in prepare-ChangeLog's help output.
2185 * Scripts/prepare-ChangeLog:
2187 2010-09-24 Sam Weinig <sam@webkit.org>
2189 Reviewed by Darin Adler.
2191 Implement WebKit2 callback equivalent to -[WebUIDelegate mouseDidMoveOverElement:modifierFlags:]
2192 <rdar://problem/8359279>
2193 https://bugs.webkit.org/show_bug.cgi?id=46546
2195 * MiniBrowser/mac/BrowserWindowController.m:
2196 (mouseDidMoveOverElement):
2197 (-[BrowserWindowController awakeFromNib]):
2198 * MiniBrowser/win/BrowserView.cpp:
2199 (mouseDidMoveOverElement):
2200 (BrowserView::create):
2201 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2202 (WTR::InjectedBundlePage::InjectedBundlePage):
2203 * WebKitTestRunner/TestController.cpp:
2204 (WTR::createOtherPage):
2205 (WTR::TestController::initialize):
2207 2010-09-24 Mihai Parparita <mihaip@chromium.org>
2209 Reviewed by Adam Barth.
2211 Allow rebaselines for webkit-patch rebaseline to be chosen
2212 https://bugs.webkit.org/show_bug.cgi?id=46407
2214 Instead of always rebaselining all failing tests, allow a subset to be
2217 * Scripts/webkitpy/common/system/user.py:
2218 * Scripts/webkitpy/tool/commands/rebaseline.py:
2220 2010-09-24 Ryosuke Niwa <rniwa@webkit.org>
2222 Reviewed by Tony Chang.
2224 [chromium] Implement TextInputController::firstRectForCharacterRange
2225 https://bugs.webkit.org/show_bug.cgi?id=38100
2227 Implemented TextInputController::firstRectForCharacterRange for chromium platform.
2228 No new tests are added since we need to implement the same feature in chromium side
2229 in order to enable any tests that uses this function.
2231 * DumpRenderTree/chromium/TextInputController.cpp:
2232 (TextInputController::firstRectForCharacterRange): Added.
2234 2010-09-24 Adam Barth <abarth@webkit.org>
2236 Reviewed by Eric Seidel.
2238 commit-queue reports land failures as "PASS"
2239 https://bugs.webkit.org/show_bug.cgi?id=46530
2241 We were ignoring the return value of land instead of passing it back to
2242 CommitQueue. Of course, this was the one case I forgot to test!
2244 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
2245 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
2247 2010-09-24 Kenichi Ishibashi <bashi@google.com>
2249 Reviewed by Eric Seidel.
2251 new-run-webkit-tests prints out nothing when build-dumprendertree fails
2252 https://bugs.webkit.org/show_bug.cgi?id=37563
2254 Print error message when build-dumprendertree fails.
2256 * Scripts/webkitpy/layout_tests/port/webkit.py:
2257 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2259 2010-09-24 Mihai Parparita <mihaip@chromium.org>
2261 Reviewed by Tony Chang.
2263 NRWT doesn't respect config set with set-webkit-configuration
2264 https://bugs.webkit.org/show_bug.cgi?id=46278
2266 Use Port.default_configuration() instead of hardcoding Release in
2267 ChromiumPort configuration initialization, so that we still inherit the
2268 configuration set by set-webkit-configuration.
2270 * Scripts/webkitpy/layout_tests/port/chromium.py:
2271 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
2273 2010-09-24 Chang Shu <chang.shu@nokia.com>
2275 Reviewed by Csaba Osztrogonác.
2277 [Qt] Fix the code to check file existence.
2278 https://bugs.webkit.org/show_bug.cgi?id=46465
2280 * QtTestBrowser/main.cpp:
2283 2010-09-23 Tony Chang <tony@chromium.org>
2285 Unreviewed, rolling out r68232.
2286 http://trac.webkit.org/changeset/68232
2288 Broken NRWT on the canary bots.
2290 * Scripts/webkitpy/layout_tests/port/chromium.py:
2292 2010-09-23 Dirk Pranke <dpranke@chromium.org>
2294 Unreviewed, build fix.
2296 r68008 broke new-run-webkit-tests in that the chromium ports no
2297 longer respect set-webkit-configuration. The correct fix for this
2298 is being pursued in bug 46278 (along with a bunch of unit tests),
2299 but in the meantime I'm reverting the particular lines that broke
2300 things. This was tested by hand.
2302 * Scripts/webkitpy/layout_tests/port/chromium.py:
2304 2010-09-23 Sam Weinig <sam@webkit.org>
2306 Reviewed by Anders Carlsson.
2308 WebKit2 API: Need way to know when a frame is removed from the hierarchy
2309 <rdar://problem/8414062>
2310 https://bugs.webkit.org/show_bug.cgi?id=46432
2312 * MiniBrowser/mac/BrowserWindowController.m:
2313 (didRemoveFrameFromHierarchy):
2314 (-[BrowserWindowController awakeFromNib]):
2315 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2316 (WTR::InjectedBundlePage::InjectedBundlePage):
2317 * WebKitTestRunner/TestController.cpp:
2318 (WTR::TestController::initialize):
2320 2010-09-23 Tony Chang <tony@chromium.org>
2322 Reviewed by Dimitri Glazkov.
2324 [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime
2325 https://bugs.webkit.org/show_bug.cgi?id=46426
2327 * DumpRenderTree/chromium/LayoutTestController.cpp:
2328 (LayoutTestController::LayoutTestController):
2329 (LayoutTestController::sampleSVGAnimationForElementAtTime):
2330 * DumpRenderTree/chromium/LayoutTestController.h:
2332 2010-09-23 Martin Robinson <mrobinson@igalia.com>
2334 Reviewed by Nate Chapin.
2336 [GTK] r68199 introduced two test failures
2337 https://bugs.webkit.org/show_bug.cgi?id=46424
2339 Fix a regression handling preference overrides that are attached to boolean properties.
2341 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2342 (LayoutTestController::overridePreference): g_strcasecmp returns 0 when strings match
2343 so we must check for that when converting a string to a boolean.
2345 2010-09-23 Dimitri Glazkov <dglazkov@chromium.org>
2347 Reviewed by David Levin.
2349 Fix a condition check in ServerProcess, which becomes relevant when reading binary data.
2350 https://bugs.webkit.org/show_bug.cgi?id=46406
2352 This breaks when the method is called with specified size of data (image data), and the
2353 buffer hasn't yet reached this size.
2355 * Scripts/webkitpy/layout_tests/port/server_process.py: Changed to check for values of
2356 index larger than 0.
2358 2010-09-23 Martin Robinson <mrobinson@igalia.com>
2360 Reviewed by Nate Chapin.
2362 [GTK] Some tests from r68174 fail on the GTK+ bots
2363 https://bugs.webkit.org/show_bug.cgi?id=46396
2365 Simplify LayoutTestController::overridePreference to make it easier for
2366 people unfamiliar with the code to keep the list of preferences up to date.
2367 Add the conversion for enable-hyperlink-auditing.
2369 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2370 (LayoutTestController::overridePreference): Use a simple if-else block to determine
2371 out the property name for overrridePreference. Also simplify the logic for setting
2372 string properties. Add the conversion for enable-hyperlink-auditing.
2374 2010-09-23 Tony Chang <tony@chromium.org>
2376 Reviewed by David Levin.
2378 [chromium] add caretBrowsingEnabled to WebSettings and DRT
2379 https://bugs.webkit.org/show_bug.cgi?id=46388
2381 * DumpRenderTree/chromium/LayoutTestController.cpp:
2382 (LayoutTestController::overridePreference):
2383 * DumpRenderTree/chromium/WebPreferences.cpp:
2384 (WebPreferences::reset):
2385 (WebPreferences::applyTo):
2386 * DumpRenderTree/chromium/WebPreferences.h:
2388 2010-09-23 Nate Chapin <japhet@chromium.org>
2390 Reviewed by Darin Fisher.
2392 Allow DRT to toggle hyperlink auditing (i.e., <a ping>).
2393 https://bugs.webkit.org/show_bug.cgi?id=30458
2395 * DumpRenderTree/chromium/LayoutTestController.cpp:
2396 (LayoutTestController::overridePreference):
2397 * DumpRenderTree/chromium/WebPreferences.cpp:
2398 (WebPreferences::reset):
2399 (WebPreferences::applyTo):
2400 * DumpRenderTree/chromium/WebPreferences.h:
2401 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2402 (resetDefaultsToConsistentValues):
2403 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2404 (LayoutTestController::overridePreference):
2406 2010-09-21 Stephen White <senorblanco@chromium.org>
2408 Reviewed by David Levin.
2410 Implement --enable-accelerated-2d-canvas flag in DumpRenderTree.
2411 https://bugs.webkit.org/show_bug.cgi?id=46208
2413 This flag allows the layout tests to be run with or without accelerated
2414 2D canvas rendering.
2416 * DumpRenderTree/chromium/DumpRenderTree.cpp:
2418 Declare the new flag string, and check for it on startup.
2419 * DumpRenderTree/chromium/TestShell.cpp:
2420 (TestShell::TestShell):
2421 Add a boolean for the new flag, in order to preserve its value over
2423 (TestShell::resetWebSettings):
2424 Set the new flag to the stored value on reset.
2425 * DumpRenderTree/chromium/TestShell.h:
2426 (TestShell::setAccelerated2dCanvasEnabled):
2427 Add an accessor for the new flag.
2428 * DumpRenderTree/chromium/WebPreferences.cpp:
2429 (WebPreferences::reset):
2430 Initialize the new flag to false.
2431 (WebPreferences::applyTo):
2432 Copy the flag's value to the WebSettings.
2433 * DumpRenderTree/chromium/WebPreferences.h:
2436 2010-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2438 Reviewed by Simon Hausmann.
2440 [Qt] Refactor QtWebKitPlatformPlugin interface
2442 Make it easier to keep source-compability for the
2443 QtWebKitPlatformPlugin interface, and run qmake
2444 on the example (but not build) for convenience.
2446 https://bugs.webkit.org/show_bug.cgi?id=46345
2448 * Scripts/webkitdirs.pm:
2450 2010-09-23 Adam Barth <abarth@webkit.org>
2452 Reviewed by Eric Seidel.
2454 Tweak some status messages that Eric thought were confusing
2455 https://bugs.webkit.org/show_bug.cgi?id=46342
2457 * Scripts/webkitpy/tool/commands/queues.py:
2458 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2460 2010-09-22 Adam Barth <abarth@webkit.org>
2462 Reviewed by Eric Seidel.
2465 https://bugs.webkit.org/show_bug.cgi?id=46339
2467 We were missing a "self". The real problem is that we didn't have an
2468 integration test for the failure case.
2470 * Scripts/webkitpy/tool/commands/queues.py:
2471 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2473 2010-09-22 Adam Barth <abarth@webkit.org>
2475 Reviewed by Eric Seidel.
2477 commit-queue should log more detailed messages to the QueueStatusServer
2478 https://bugs.webkit.org/show_bug.cgi?id=46333
2480 When I created CommitQueueTask, I removed most of the previous logging.
2481 This patch adds back more detailed logging so folks can see their patch
2482 progress through the queue.
2484 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
2485 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
2486 * Scripts/webkitpy/tool/commands/queues.py:
2487 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2489 2010-09-22 Mihai Parparita <mihaip@chromium.org>
2491 Reviewed by Darin Fisher.
2493 [Chromium] User style layout tests don't pass on Chromium
2494 https://bugs.webkit.org/show_bug.cgi?id=46069
2496 Fix a typo in LayoutTestController::addUserStyleSheet that was causing a
2497 crash the Chromium DRT. Pass InjectInExistingDocuments to mimic DRT
2498 behavior from other ports.
2500 * DumpRenderTree/chromium/LayoutTestController.cpp:
2501 (LayoutTestController::addUserStyleSheet):
2503 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
2505 Reviewed by Martin Robinson.
2507 [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
2508 https://bugs.webkit.org/show_bug.cgi?id=46303.
2510 * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops: Added.
2511 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Moved
2512 CoreFoundation-specific stuff to new MiniBrowserCoreFoundation
2514 * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops: Added.
2515 * MiniBrowser/MiniBrowser.vcproj: Updated configuration to use
2516 appropriate property sheet for the build types.
2517 * WebKitTestRunner/win/WebKitTestRunner.vcproj: Updated the
2518 configuration to use appropriate property sheet for CoreFoundation
2519 and CFLite-style builds.
2521 2010-09-22 Adam Barth <abarth@webkit.org>
2523 Reviewed by Eric Seidel.
2525 Optimize commit-queue performance for green trees
2526 https://bugs.webkit.org/show_bug.cgi?id=46254
2528 This patch redesigns the controller logic for the commit-queue. In the
2529 new design, the controller exercises much finer-grained control over
2530 the landing process. In particular:
2532 - Patches that fail to apply now get rejected almost immediately.
2533 - Patches that fail to build get rejects after two builds (instead of
2534 three builds and one test run).
2535 - Patches that run into a flaky test now get accepted after one build
2536 and two test runs instead of three full build-and-test runs.
2538 The main cost of these optimizations is that we don't find out the tree
2539 has a failing test until the very end of the process, but if the tree
2540 has a busted test, there's not much we can do anyway. We might as well
2541 burn commit-queue resources spinning optimisticly.
2543 * Scripts/webkitpy/tool/bot/commitqueuetask.py: Added.
2544 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py: Added.
2545 * Scripts/webkitpy/tool/commands/queues.py:
2547 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
2549 Reviewed by Martin Robinson.
2551 [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.
2552 https://bugs.webkit.org/show_bug.cgi?id=46303.
2554 * DumpRenderTree/win/DumpRenderTree.vcproj: Disable local MD5 sources
2555 for Cairo build. Copy wtf MD5 header to ForwardingHeaders for the
2557 * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops: Added.
2558 * WebKitTestRunner/win/InjectedBundle.vcproj: Update win new *_Cairo
2559 build targets that use the new InjectedBundleCFLite.vsprops file.
2561 2010-09-22 Dirk Pranke <dpranke@chromium.org>
2563 Unreviewed, build fix.
2565 Fix bustage of rebaseline-chromium-webkit-tests resulting from
2566 r67974. Really need better unit tests for this tool :(
2568 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2570 2010-09-22 Adam Roben <aroben@apple.com>
2572 Unbreak test-webkitpy
2574 * Scripts/webkitpy/test/main.py:
2575 (Tester.run_tests): Add a line that mysteriously got deleted.
2577 2010-09-22 Adam Roben <aroben@apple.com>
2579 Make test-webkitpy test WebKit2's scripts
2581 These scripts can't be in WebKitTools due to limitations of Apple's
2582 build process. But that doesn't mean we can't test them!
2584 Fixes <http://webkit.org/b/46297> test-webkitpy should test code in
2587 Reviewed by Adam Barth.
2589 * Scripts/test-webkitpy:
2590 (_clean_packages_with_test): Renamed from _clean_webkitpy_with_test.
2591 Now takes an external_package_paths parameter and cleans both webkitpy
2592 and any external packages.
2593 (init): Added an external_package_paths parameter which we pass along
2594 to _clean_packages_with_test.
2595 (top level): Add WebKit2/Scripts/webkit2 as our only external package
2596 and pass it along to init and Tester.run_tests.
2598 * Scripts/webkitpy/test/main.py:
2599 (Tester.run_tests): Added an optional external_package_paths
2600 parameter. We modify sys.path so that the external packages can be
2601 imported, and search for unittest files inside all external packages
2602 in addition to inside webkitpy.
2604 2010-09-22 Dirk Pranke <dpranke@chromium.org>
2606 Reviewed by Tony Chang.
2608 new-run-webkit-tests: r68063 broke linux python tests
2610 Add a missing "from __future__ import with_statement" to this
2611 new file; the perils of testing only on the Mac and by review :(
2613 https://bugs.webkit.org/show_bug.cgi?id=46293
2615 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
2617 2010-09-22 Dirk Pranke <dpranke@chromium.org>
2619 Reviewed by Tony Chang.
2621 Add a 'chromium-gpu' set of ports that will test the accelerated
2622 GPU paths. This patch adds:
2624 - support for the '--accelerated-compositing' and
2625 'accelerated-2d-canvas' flags to new-run-webkit-tests (and the
2627 - adds a new set of Ports that will look under
2628 platform/chromium-gpu-$OS/ for baselines before looking in the
2629 regular chromium search path
2630 - adds a new test_expectations.txt file in platform/chromium-gpu
2631 that skips all but the tests we actually want to run with
2634 This patch will allow us to run both with and without acceleration
2635 and to change the defaults for both the regular and -gpu options
2636 as the code evolves.
2638 We plan to add both --chromium-$OS and --chromium-gpu-$OS runs to
2641 https://bugs.webkit.org/show_bug.cgi?id=46225
2643 * Scripts/webkitpy/layout_tests/port/chromium.py:
2644 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
2645 * Scripts/webkitpy/layout_tests/port/factory.py:
2646 * Scripts/webkitpy/layout_tests/port/webkit.py:
2648 2010-09-22 Jamey Hicks <jamey.hicks@nokia.com>
2650 Reviewed by Kenneth Rohde Christiansen.
2652 [Qt] Web Inspector: Remote Web Inspector support for QtWebKit
2653 https://bugs.webkit.org/show_bug.cgi?id=43988
2655 Runs a web debug server on port specified by QtTestBrowser
2656 argument -remote-inspector-port. Property
2657 _q_webInspectorServerPort of the QWebPage instance will be set
2658 according to the argument. All pages with that property set will
2659 be remotely inspectable.
2661 URL for remote inspection of first QWebPage is
2662 http://localhost:9222/webkit/inspector/inspector.html?page=1
2663 where 1 is the number of the QWebPage instance.
2665 The base URL yields an index page with links to the individual inspectors:
2666 http://localhost:9222/
2668 * QtTestBrowser/launcherwindow.cpp:
2669 (LauncherWindow::init):
2670 * QtTestBrowser/launcherwindow.h:
2671 * QtTestBrowser/main.cpp:
2672 (LauncherApplication::handleUserOptions):
2674 2010-09-22 Adam Roben <aroben@apple.com>
2676 Fix webkit-patch failure-reason now that build.webkit.org has been
2679 Fixes <http://webkit.org/b/46273> webkit-patch failure-reason crashes
2682 Reviewed by Eric Seidel.
2684 * Scripts/webkitpy/common/net/buildbot.py:
2685 (BuildBot._file_cell_text): Added. Travels down the firstChild chain
2686 looking for an element that contains text, then returns it.
2687 (BuildBot._parse_twisted_file_row): Use _file_cell_text to get the
2688 text out of the cells. This way it doesn't matter whether the cells
2689 have <b> children (as for cells in directory rows) or not (as for
2691 (BuildBot._parse_twisted_directory_listing): Look for rows that have
2692 the "directory" or "file" class, rather than rows with any class,
2693 since header rows now have a class attribute.
2695 * Scripts/webkitpy/common/net/buildbot_unittest.py:
2696 (BuildBotTest._example_directory_listing): Updated to more closely
2697 match the markup that build.webkit.org is producing now.
2699 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2701 Unreviewed, build fix.
2703 new-run-webkit-tests: fix bug introduced in r68008 where if you
2704 specify --chromium and no --platform, and you're running on
2705 windows, you use the 'chromium-win' port by default instead of the
2706 version-specific port. This breaks the buildbots.
2708 It will be good for this refactoring to settle down so I can
2709 rewrite the logic for default ports and the unit tests to be
2710 clearer (and the testing more comprehensive).
2712 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2714 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2716 Reviewed by Adam Barth.
2718 Modify the Port interface to take only a series of keyword arguments
2719 in the constructor, and modify Port/factory.get() to accomodate that,
2720 and to accept user=XXX as an argument so we can pass
2721 webkitpy.common.system.user.User objects in.
2723 Then, modify new-run-webkit-tests and rebaseline-chromium-webkit-tests
2724 to use the common routine in webkitpy.common.system.user.open_url()
2725 to display HTML files.
2727 There was a routine in the Port interface to do the same thing,
2728 but I see no need for a port-specific hook for this, since it is
2729 something that will always be executed by the host environment
2730 and displaying web pages has nothing to do with running layout tests.
2732 Note that new-run-webkit-tests used to use test_shell to display
2733 the page; this is potentially useful so that you can actually click
2734 from a result to the broken page; however, since DumpRenderTree
2735 doesn't support this functionality, it will be going away eventually.
2737 https://bugs.webkit.org/show_bug.cgi?id=46128
2739 * Scripts/webkitpy/layout_tests/port/base.py:
2740 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2741 * Scripts/webkitpy/layout_tests/port/chromium.py:
2742 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
2743 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2744 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
2745 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2746 * Scripts/webkitpy/layout_tests/port/dryrun.py:
2747 * Scripts/webkitpy/layout_tests/port/factory.py:
2748 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
2749 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
2750 * Scripts/webkitpy/layout_tests/port/gtk.py:
2751 * Scripts/webkitpy/layout_tests/port/mac.py:
2752 * Scripts/webkitpy/layout_tests/port/qt.py:
2753 * Scripts/webkitpy/layout_tests/port/test.py:
2754 * Scripts/webkitpy/layout_tests/port/webkit.py:
2755 * Scripts/webkitpy/layout_tests/port/win.py:
2756 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2757 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2758 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2760 2010-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
2762 Reviewed by Kenneth Rohde Christiansen.
2764 [EFL] Get fresh theme when running EWebLauncher
2765 https://bugs.webkit.org/show_bug.cgi?id=46210
2767 If user tried to run EWebLauncher outside of the build tree, it would
2768 not find the theme and fallback to the installed one. However, since
2769 EWebLauncher is not installed, we always want to take the theme from
2770 the just compiled source code. If user had never installed WebKit's
2771 EFL port it could even receive a segv since no theme would be found.
2773 Now EWebLauncher does not fallback to the installed theme and CMake
2774 gives as DATA_DIR the directory of the theme it has just built.
2776 * CMakeListsEfl.txt: Pass the build directory as DATA_DIR to
2778 * EWebLauncher/main.c: Use only the theme from build director. Do not
2779 fallback to others as this could hide real bugs.
2785 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2787 Unreviewed, build fix.
2789 Don't pass the --test-shell arg to the Chromium Mac port of DRT;
2790 it just confuses it.
2792 https://bugs.webkit.org/show_bug.cgi?id=46230
2794 * Scripts/webkitpy/layout_tests/port/webkit.py:
2796 2010-09-21 Lucas Forschler <lforschler@apple.com>
2798 Reviewed by Stephanie Lewis.
2800 Make a new buildbot for Leopard Debug Test
2802 * BuildSlaveSupport/build.webkit.org-config/config.json:
2804 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2806 Unreviewed, build fix.
2808 Fix breakage of Chromium Mac DRT port caused by r67905.
2810 https://bugs.webkit.org/show_bug.cgi?id=46230
2812 * Scripts/webkitpy/layout_tests/port/webkit.py:
2814 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2816 Unreviewed, build fix.
2818 Add missing import of 'tempfile'.
2820 * Scripts/webkitpy/layout_tests/port/chromium.py:
2822 2010-09-17 Dirk Pranke <dpranke@chromium.org>
2824 Reviewed by Ojan Vafai.
2826 new-run-webkit-tests: pull the list of tests from the Port, and
2827 make it possible to run with no actual test files in the filesystem.
2829 This set of changes allows us to delete the special
2830 webkitpy/layout_tests/data directory and test the generic code without
2831 touching the filesystem (except to write results). This speeds up
2832 test-webkitpy substantially.
2834 This also cleans up and removes several code paths in the generic
2835 code and fixes some minor bugs, notably in the test_expectations
2836 parsing, which was previously fragile if the tests weren't present.
2838 We also change the way we diff image results to be able to do so
2839 in memory, without relying on files. This slows down chromium
2840 test_shell, which always writes images to files, but should speed
2841 up DRT and ImageDiff-based implementations slightly.
2843 Note that pulling the list of tests to run from the Port will allow
2844 ports to specify what tests to run as an inclusive list; previously
2845 you could only do this as an exclusive list by using a
2846 test_expectations file or Skipped files; nothing actually uses this
2847 feature yet and it's unclear if it should be used.
2849 Note that there are no functional changes -- apart from now
2850 always printing out the location of the checksum file when we are
2851 tracing test runs -- and the total number of lines of non-test code
2852 actually drops by two.
2854 There is some more cleanup that can be done in the Port/Driver
2855 interface and in some handling of filenames, but I'll save that
2858 https://bugs.webkit.org/show_bug.cgi?id=45801
2860 * Scripts/webkitpy/layout_tests/data/*: Removed.
2861 - no longer need special mock layout_tests_directory in the
2863 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
2864 - add code to display missing text files, checksums when tracing
2865 - update to not look at the filesystem directly.
2866 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
2867 - add more unit tests
2868 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
2869 - remove tests_are_present flag
2870 - update with changes in Port interface - no longer access
2871 the filesystem directly, although we still use os.path for
2872 filename manipulation.
2873 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
2874 - add more unit tests
2875 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Removed.
2876 - renamed to port/test_files.py
2877 * Scripts/webkitpy/layout_tests/port/base.py:
2878 - change diff_image() to expect actual image data, not filenames
2879 - add expected_checksum(), expected_image(), expected_text() to
2880 return the content of the files so that we don't need a filesystem
2881 - add path_exists(), path_isdir() for filesystem-like access.
2882 - add test_dirs() to keep clobber-test-results from needing to
2883 actually look at a real layout tests dir
2884 - add tests() to return the list of tests to run on the port
2885 (calls port/test_files to do the work).
2886 - add update_baseline() to be able to save new baselines
2887 - add uri_to_test_name() from port/dryrun.py so we can easily check
2889 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2890 - add more unit tests
2891 * Scripts/webkitpy/layout_tests/port/chromium.py:
2892 - change diff_image() to accept image content, not filenames.
2893 This will be slower for test_shell/image_diff, but faster
2895 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
2896 - add more unit tests
2897 * Scripts/webkitpy/layout_tests/port/dryrun.py:
2899 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2900 - add more unit tests
2901 * Scripts/webkitpy/layout_tests/port/test.py:
2902 - massive rewrite to use in-script list of tests and expectations
2903 * Scripts/webkitpy/layout_tests/port/test_files.py:
2904 - rename from layout_package/test_files.
2905 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
2907 * Scripts/webkitpy/layout_tests/port/webkit.py:
2908 - update diff_image() to take image contents, not files. Should
2909 make things slightly faster.
2910 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2911 - update with changes to diff_image()
2912 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
2913 - update with changes to diff_image()
2914 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2915 - remove tests_are_present from test_expectations
2916 - pull the list of tests from port.tests() instead
2917 of calling test_files.py directly.
2918 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2920 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
2921 - update with changes to
2922 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
2923 - update with change in Port interface
2924 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
2925 - update with change in Port interface
2926 * Scripts/webkitpy/style/checkers/test_expectations.py:
2927 - remove the tests_are_present flag
2929 2010-09-21 Anders Carlsson <andersca@apple.com>
2933 * MiniBrowser/mac/MiniBrowser_Prefix.pch:
2935 2010-09-21 Tony Chang <tony@chromium.org>
2937 Reviewed by Kent Tamura.
2939 add a script for running webkit_unit_tests
2940 https://bugs.webkit.org/show_bug.cgi?id=46014
2942 * Scripts/run-chromium-webkit-unit-tests: Added.
2944 2010-09-21 Fridrich Strba <fridrich.strba@bluewin.ch>
2946 Reviewed by Martin Robinson.
2948 Fix linking problems on Windows.
2949 https://bugs.webkit.org/show_bug.cgi?id=45844
2951 * GNUmakefile.am: link the executables with winmm.dll
2953 2010-09-21 Adam Barth <abarth@webkit.org>
2955 Reviewed by Eric Seidel.
2957 feeder-queue svn updates more often than needed
2958 https://bugs.webkit.org/show_bug.cgi?id=46171
2960 We don't need to poll SVN every time we feed the feeders. Rather, we
2961 can count on the wrapper shell script to auto-update the queue.
2963 * Scripts/webkitpy/tool/commands/queues.py:
2964 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2966 2010-09-21 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2968 Reviewed by Andreas Kling.
2970 [Qt] Add robot loader timeout and extra time options.
2971 https://bugs.webkit.org/show_bug.cgi?id=46172
2973 [-robot-timeout <s>]: Load the next page after s seconds if the current
2974 page didn't finish loading.
2975 [-robot-extra-time <s>]: Wait s seconds after the current page finished
2976 loading before loading the next one. This should allow some time for the
2977 page's JavaScript to execute.
2979 * QtTestBrowser/launcherwindow.cpp:
2980 (LauncherWindow::applyPrefs):
2981 * QtTestBrowser/main.cpp:
2982 (LauncherApplication::robotTimeout):
2983 (LauncherApplication::robotExtraTime):
2984 (LauncherApplication::LauncherApplication):
2985 (LauncherApplication::handleUserOptions):
2987 * QtTestBrowser/urlloader.cpp:
2988 (UrlLoader::UrlLoader):
2989 (UrlLoader::loadNext):
2990 (UrlLoader::loadUrlList):
2991 * QtTestBrowser/urlloader.h:
2993 2010-09-21 Pavel Podivilov <podivilov@chromium.org>
2997 Adding myself to the committers list.
2999 * Scripts/webkitpy/common/config/committers.py:
3001 2010-09-20 Philippe Normand <pnormand@igalia.com>
3003 Reviewed by Eric Carlson.
3005 [GTK] enhanced context menu for media elements
3006 https://bugs.webkit.org/show_bug.cgi?id=45021
3008 EventSender::contextClick() now returns an array of js
3009 objects. Each object has a title property and a click() method.
3011 * DumpRenderTree/gtk/EventSender.cpp:
3012 (getMenuItemTitleCallback):
3013 (setMenuItemTitleCallback):
3014 (menuItemClickCallback):
3016 (contextClickCallback):
3018 2010-09-20 Hayato Ito <hayato@chromium.org>
3021 Adding myself to the committers list.
3023 * Scripts/webkitpy/common/config/committers.py:
3025 2010-09-20 Adam Barth <abarth@webkit.org>
3027 Reviewed by Eric Seidel.
3029 The tool member variable should be called _tool
3030 https://bugs.webkit.org/show_bug.cgi?id=46160
3032 Created by find-and-replace.
3034 * Scripts/webkitpy/tool/commands/download.py:
3035 * Scripts/webkitpy/tool/commands/openbugs.py:
3036 * Scripts/webkitpy/tool/commands/queries.py:
3037 * Scripts/webkitpy/tool/commands/queues.py:
3038 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3039 * Scripts/webkitpy/tool/commands/rebaseline.py:
3040 * Scripts/webkitpy/tool/commands/sheriffbot.py:
3041 * Scripts/webkitpy/tool/commands/upload.py:
3042 * Scripts/webkitpy/tool/multicommandtool.py:
3044 2010-09-20 Adam Barth <abarth@webkit.org>
3046 I ran the tests before landing but ignored the fact that they failed. :(
3048 * Scripts/webkitpy/tool/commands/queues.py:
3050 2010-09-20 Adam Barth <abarth@webkit.org>
3052 Reviewed by Eric Seidel.
3054 Add a feeder queue that polls bugs.webkit.org for the commit-cluster
3055 https://bugs.webkit.org/show_bug.cgi?id=46141
3057 The feeder-queue polls bugs.webkit.org every 30 seconds and updates the
3058 list of work items on the status server. The individual commit-cluster
3059 nodes then grab the patches from the server and process them.
3061 * Scripts/webkitpy/tool/bot/feeders.py: Added.
3062 * Scripts/webkitpy/tool/bot/feeders_unittest.py: Added.
3063 * Scripts/webkitpy/tool/commands/queues.py:
3064 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3065 * Scripts/webkitpy/tool/commands/queuestest.py:
3067 2010-09-20 Leandro Pereira <leandro@profusion.mobi>
3069 Reviewed by Darin Adler.
3071 build-webkit: Add support for CMake build system
3072 https://bugs.webkit.org/show_bug.cgi?id=44979
3074 * Scripts/build-webkit: Add "--efl" command-line option to build the
3076 * Scripts/webkitdirs.pm: Define buildCMakeProject() and
3077 buildEflCMakeProject() subroutines.
3079 2010-09-20 Dirk Pranke <dpranke@chromium.org>
3081 Reviewed by Ojan Vafai.
3083 new-run-webkit-tests: refactor command line args getting passed to DRT
3085 This change cleans up some argument parsing between functions to get
3086 rid of some overlapping data structures. There should be no functional
3087 changes in this patch; it is pure refactoring in preparation for
3088 landing the Chrome GPU port and adding a generic way to pass
3089 args to DRT/TestShell.
3091 https://bugs.webkit.org/show_bug.cgi?id=46135
3093 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3094 - pass the options argument explicitly to the threads and drivers,
3095 also consolidate the passing of options to the driver.
3096 - pass options directly to process_output() to remove a couple
3097 parameters (minor cleanup).
3098 * Scripts/webkitpy/layout_tests/port/base.py:
3099 - pass the options argument to Port.create_driver().
3100 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3101 - update Port.create_driver() test
3102 * Scripts/webkitpy/layout_tests/port/chromium.py:
3103 - pass the options argument to Port.create_driver(), and clean up
3104 building of the cmd line for DRT.
3105 * Scripts/webkitpy/layout_tests/port/dryrun.py:
3106 - pass the options argument to Port.create_driver()
3107 * Scripts/webkitpy/layout_tests/port/test.py:
3108 - pass the options argument to Port.create_driver()
3109 * Scripts/webkitpy/layout_tests/port/webkit.py:
3110 - pass the options argument to Port.create_driver(), and clean up
3111 building of the cmd line for DRT.
3112 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3113 - consolidate args in _get_dump_render_tree_args and rename to
3114 _get_test_args(); move all of the command-line args to the
3115 Port implementations.
3117 2010-09-20 Andrew Wilson <atwilson@chromium.org>
3119 Revert change which was accidentally committed along with some expectation changes.
3121 * Scripts/webkitpy/layout_tests/port/base.py:
3123 2010-09-20 Mihai Parparita <mihaip@chromium.org>
3125 Reviewed by Adam Barth.
3127 Add explicit --force-patch flag to webkitpy tools
3128 https://bugs.webkit.org/show_bug.cgi?id=46103
3130 It wasn't obvious until I read the applypatch.py source code that
3131 --non-interfactive implies passing --force to patch. Add --force-patch
3132 as an alias to the flag, so that this behavior is more discoverable.
3134 * Scripts/webkitpy/tool/steps/applypatch.py:
3135 * Scripts/webkitpy/tool/steps/options.py:
3137 2010-09-20 Eric Seidel <eric@webkit.org>
3139 Unreviewed, adding a line which got dropped and is trivially correct (and tested).
3141 commit-queue can't land patches
3142 https://bugs.webkit.org/show_bug.cgi?id=46138
3144 Add a line of code I forgot in my last commit.
3146 * Scripts/webkitpy/common/net/bugzilla.py:
3147 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
3149 2010-09-20 Adam Barth <abarth@webkit.org>
3151 Reviewed by Eric Seidel.
3153 The commit-cluster bots still race to lock patch_ids
3154 https://bugs.webkit.org/show_bug.cgi?id=46130
3156 It turns out we need to use a transaction object to make the
3157 read/modify/write lock operation atomic. From reading the AppEngine
3158 documentation, I think this patch should do what we want. It's hard to
3159 test locally because the test instance isn't distributed in the same
3160 way the production instance is.
3162 * QueueStatusServer/handlers/nextpatch.py:
3163 * QueueStatusServer/model/activeworkitems.py: Added.
3165 2010-09-20 Andy Estes <aestes@apple.com>
3167 Reviewed by Adam Barth.
3169 REGRESSION (HTML5 Parser): Pages broken due to <tag<tag> parsing changes
3170 https://bugs.webkit.org/show_bug.cgi?id=40961
3172 Implement WebKitUsePreHTML5ParserQuirks preference.
3174 * DumpRenderTree/mac/DumpRenderTree.mm:
3175 (resetDefaultsToConsistentValues): Reset WebKitUsePreHTML5ParserQuirks
3176 to false after a test finishes.
3178 2010-09-20 Adam Roben <aroben@apple.com>
3182 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Put
3183 $(WebKitOutputDir)\include before $(WebKitLibrariesDir)\include so
3184 we'll pick up the most recent versions of the headers.
3186 2010-09-20 Eric Seidel <eric@webkit.org>
3188 Reviewed by Adam Barth.
3190 commit-queue should check commit-queue+ again just before committing
3191 https://bugs.webkit.org/show_bug.cgi?id=32679
3193 Added a _revalidate_patch check, right before landing.
3195 Since _revalidate_patch passes the patch_id from the work item
3196 back to bugzilla, I had to fix all of the previous queue tests to
3197 use valid attachment ids (that's the majority of this change).
3199 In order to validate that the bug was still open, I had to teach
3200 bugzilla.Bug about open/closed states.
3202 * Scripts/webkitpy/common/net/bugzilla.py:
3203 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
3204 * Scripts/webkitpy/tool/commands/queues.py:
3205 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3206 * Scripts/webkitpy/tool/commands/queuestest.py:
3207 * Scripts/webkitpy/tool/mocktool.py:
3209 2010-09-20 Mihai Parparita <mihaip@chromium.org>
3213 Adding myself as a comitter.
3215 * Scripts/webkitpy/common/config/committers.py:
3217 2010-09-20 Adam Barth <abarth@webkit.org>
3219 Reviewed by Eric Seidel.
3221 Two instances of commit-queue try to process the same patch
3222 https://bugs.webkit.org/show_bug.cgi?id=46113
3224 This patch makes next-patch atomic so that the server won't vend the
3225 same patch twice in the same hour.
3227 * QueueStatusServer/handlers/nextpatch.py:
3229 2010-09-20 Adam Roben <aroben@apple.com>
3231 Make WebKitTestRunner's wait-to-dump watchdog timer work on Windows
3233 We were previously trying to use a CFRunLoopTimer, but since Windows
3234 doesn't use CFRunLoop on most threads this doesn't work. Now we use a
3235 Windows-style timer on Windows.
3237 I also replaced all uses of "watchdog" with "watchdog timer".
3239 Fixes <http://webkit.org/b/46101> WebKitTestRunner's wait-to-dump
3240 watchdog timer doesn't work on Windows
3242 Reviewed by Anders Carlsson.
3244 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3245 (WTR::InjectedBundlePage::dump): Updated for rename.
3247 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: Removed
3248 platform-specific functions.
3249 (WTR::LayoutTestController::LayoutTestController): Added call to
3251 (WTR::LayoutTestController::waitUntilDone): Changed to call
3252 initializeWaitToDumpWatchdogTimerIfNeeded instead of doing the work
3253 right in this function.
3254 (WTR::LayoutTestController::waitToDumpWatchdogTimerFired): Updated for
3257 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Added new
3258 members needed to support the watchdog timer abstraction. Replaced
3259 some "watchdog"s with "watchdog timer".
3261 * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
3263 (WTR::LayoutTestController::platformInitialize): Does nothing on this
3265 (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Moved here
3266 from LayoutTestController.cpp and changed to use an early return.
3267 (WTR::waitUntilDoneWatchdogTimerFired): Moved here from
3268 LayoutTestController.cpp.
3269 (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
3270 Moved code here from LayoutTestController::waitUntilDone and changed
3271 to use an early return.
3273 * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
3275 (WTR::LayoutTestController::platformInitialize): Initialize our
3277 (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Added.
3278 Kills and clears the watchdog timer.
3279 (WTR::waitToDumpWatchdogTimerFired): Added. Calls through to the
3280 LayoutTestController member function of the same name.
3281 (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
3282 Added. Sets up the timer if it isn't already set.
3284 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added
3285 LayoutTestControllerMac.mm.
3287 * WebKitTestRunner/win/InjectedBundle.vcproj: Added
3288 LayoutTestControllerWin.cpp.
3290 2010-09-20 Martin Robinson <mrobinson@igalia.com>
3292 Reviewed by Daniel Bates.
3294 [GTK] fast/forms/listbox-selection.html fails
3295 https://bugs.webkit.org/show_bug.cgi?id=45942
3297 Use the gdkModifersFromJSValue helper to parse all appropriate modifier
3298 strings in keyDownCallback.
3300 * DumpRenderTree/gtk/EventSender.cpp:
3301 (keyDownCallback): Use the gdkModifersFromJSValue instead of duplicating the
3302 modifier parsing logic.
3304 2010-09-19 Sam Weinig <sam@webkit.org>
3306 Reviewed by Anders Carlsson.
3308 WebKit2 decidePolicyForNavigationAction should include mouse button information
3309 <rdar://problem/8413165>
3310 https://bugs.webkit.org/show_bug.cgi?id=46060
3312 * MiniBrowser/mac/BrowserWindowController.m:
3313 (decidePolicyForNavigationAction):
3314 (decidePolicyForNewWindowAction):
3316 2010-09-19 Daniel Bates <dbates@rim.com>
3318 Reviewed by Martin Robinson.
3320 Add unit tests for diffs that delete or modify a change log entry
3321 or describe changes that are far apart
3322 https://bugs.webkit.org/show_bug.cgi?id=46046
3324 Add additional unit tests to test change log diffs that contain
3325 deletions or changes that are far apart from each other in the
3328 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
3329 - Added the following unit tests:
3330 "fixChangeLogPatch: [no change] In-place change."
3331 "fixChangeLogPatch: [no change] Remove first entry."
3332 "fixChangeLogPatch: [no change] Remove entry in the middle."
3333 "fixChangeLogPatch: [no change] Far apart changes (i.e. more than one chunk)."
3335 2010-09-19 Sam Weinig <sam@webkit.org>
3337 Reviewed by Anders Carlsson.
3339 Replace WKBundleRangeRef with WKBundleRangeHandleRef.
3340 https://bugs.webkit.org/show_bug.cgi?id=46054
3342 The new one acts like WKBundleNodeHandleRef and allows for getting a
3343 wrapper in a specific world for the handle.
3345 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3346 (WTR::propertyValue):
3347 (WTR::propertyValueDouble):
3348 (WTR::propertyValueInt):
3349 (WTR::numericWindowPropertyValue):
3351 (WTR::InjectedBundlePage::shouldBeginEditing):
3352 (WTR::InjectedBundlePage::shouldEndEditing):
3353 (WTR::InjectedBundlePage::shouldInsertNode):
3354 (WTR::InjectedBundlePage::shouldInsertText):
3355 (WTR::InjectedBundlePage::shouldDeleteRange):
3356 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
3357 (WTR::InjectedBundlePage::shouldApplyStyle):
3358 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3360 2010-09-19 Kent Tamura <tkent@chromium.org>
3362 Unreviewed. Fix WebGL test regressions by r67809.
3364 * DumpRenderTree/chromium/WebPreferences.cpp:
3365 (WebPreferences::applyTo): Call setExperimentalWebGLEnabled().
3367 2010-09-19 Kent Tamura <tkent@chromium.org>
3369 Reviewed by Adam Barth.
3371 [DRT/Chromium] Fix a WebSettings handling bug
3372 https://bugs.webkit.org/show_bug.cgi?id=45945
3374 Before this change, Chromium DRT reset WebSettings for every new
3375 window. It was wrong.
3376 If new window is not the first one, we have to apply the same
3377 settings as the first window. So, we introduce WebPreference to
3378 store the current settings, and apply it to new windows. It's same
3379 as test_shell's behavior.
3381 * DumpRenderTree/DumpRenderTree.gypi:
3382 * DumpRenderTree/chromium/LayoutTestController.cpp:
3383 Use WebPreferences instead of WebSettings.
3384 (LayoutTestController::setUserStyleSheetEnabled):
3385 (LayoutTestController::setUserStyleSheetLocation):
3386 (LayoutTestController::setAuthorAndUserStylesEnabled):
3387 (LayoutTestController::setPopupBlockingEnabled):
3388 (LayoutTestController::disableImageLoading):
3389 (LayoutTestController::setJavaScriptCanAccessClipboard):
3390 (LayoutTestController::setXSSAuditorEnabled):
3391 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
3392 (LayoutTestController::setAllowFileAccessFromFileURLs):
3393 (LayoutTestController::overridePreference):
3394 (LayoutTestController::setEditingBehavior):
3395 * DumpRenderTree/chromium/TestShell.cpp:
3396 (TestShell::resetWebSettings): Use WebPreferences.
3397 (TestShell::runFileTest): ditto.
3398 (TestShell::createNewWindow): Apply existing WebPreferences to a new WebView.
3399 * DumpRenderTree/chromium/TestShell.h:
3400 (TestShell::preferences):
3401 (TestShell::applyPreferences):
3402 * DumpRenderTree/chromium/WebPreferences.cpp: Added.
3403 * DumpRenderTree/chromium/WebPreferences.h: Added.
3405 2010-09-18 Prasad Tammana <prasadt@chromium.org>
3407 Reviewed by David Levin.
3409 update-webkit --chromium spitting out a spurious error
3410 https://bugs.webkit.org/show_bug.cgi?id=45868
3412 * Scripts/update-webkit-chromium: Use commandExists() function to check for existence of gclient.
3414 2010-09-18 Sam Weinig <sam@webkit.org>
3416 Reviewed by Dan Bernstein.
3418 Improve/unify the PageLoadClient interfaces
3419 https://bugs.webkit.org/show_bug.cgi?id=46043
3421 * MiniBrowser/mac/BrowserWindowController.m:
3422 (didStartProvisionalLoadForFrame):
3423 (didReceiveServerRedirectForProvisionalLoadForFrame):
3424 (didFailProvisionalLoadWithErrorForFrame):
3425 (didCommitLoadForFrame):
3426 (didFinishDocumentLoadForFrame):
3427 (didFinishLoadForFrame):
3428 (didFailLoadWithErrorForFrame):
3429 (didReceiveTitleForFrame):
3430 (didFirstLayoutForFrame):
3431 (didFirstVisuallyNonEmptyLayoutForFrame):
3432 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3433 (WTR::InjectedBundlePage::InjectedBundlePage):
3434 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
3435 (WTR::InjectedBundlePage::didReceiveServerRedirectForProvisionalLoadForFrame):
3436 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
3437 (WTR::InjectedBundlePage::didCommitLoadForFrame):
3438 (WTR::InjectedBundlePage::didFinishLoadForFrame):
3439 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
3440 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
3441 (WTR::InjectedBundlePage::didReceiveTitleForFrame):
3442 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3443 * WebKitTestRunner/TestController.cpp:
3444 (WTR::TestController::didReceiveMessageFromInjectedBundle):
3445 (WTR::TestController::didFinishLoadForFrame):
3446 * WebKitTestRunner/TestController.h:
3448 2010-09-17 Eric Seidel <eric@webkit.org>
3450 Unreviewed. Adding a shell script I use to run the
3451 commit-queue. Now that multiple machines run the cq,
3452 it makes sense to share the script between them.
3454 * EWSTools/start-commit-queue.sh: Added.
3456 2010-09-17 Brian Weinstein <bweinstein@apple.com>
3458 Reviewed by Jon Honeycutt.
3460 The colors on the new build.webkit.org (after upgrading the master to 0.8.1) are
3461 slightly harder to read, so this reverts the previous background colors for various
3462 states, making it easier to read.
3464 * BuildSlaveSupport/build.webkit.org-config/public_html/default.css:
3469 (.start,.running,td.building):
3470 (.offline,td.offline):
3472 2010-09-17 Sheriff Bot <webkit.review.bot@gmail.com>
3474 Unreviewed, rolling out r67692.
3475 http://trac.webkit.org/changeset/67692
3476 https://bugs.webkit.org/show_bug.cgi?id=46011
3478 broke layout test dashboard (Requested by johnny_g on
3481 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
3482 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
3483 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3485 2010-09-17 Martin Robinson <mrobinson@igalia.com>
3487 Reviewed by Oliver Hunt.
3489 Style bot complains about cairo forward declaration naming
3490 https://bugs.webkit.org/show_bug.cgi?id=45867
3492 Exclude Cairo forward declarations from indentifiers with underscores checks.
3494 * Scripts/webkitpy/style/checkers/cpp.py: Add exclusion for Cairo forward-declarations.
3495 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
3497 2010-09-16 Kinuko Yasuda <kinuko@chromium.org>
3499 Reviewed by Ojan Vafai.
3501 Include detailed test modifiers (e.g. FLAKY) in results.json for failing non-layout tests
3502 https://bugs.webkit.org/show_bug.cgi?id=45408
3504 This change also tries to remove duplicated upload_results_json methods
3505 in run_webkit_tests.py and json_results_generator.py.
3507 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
3508 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
3509 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3511 2010-09-16 Antonio Gomes <tonikitoo@webkit.org>
3513 Reviewed by Andreas Kling.
3515 [Qt] When switching views (WebViewGraphicsBased <--> WebViewTraditional), QWebPage signals and QActions have to be re-set.
3517 Recently r67554 changed the way different views use the WebPage class: it was previously being shared between
3518 different views, but now for each view switch, a new WebPage class is constructed and set. Signals and QAction's
3519 were not being set to the new WebPage though. Patch fix that, by re constructing the toolbar, and then re-hooking
3520 all page specific stuff to the UI.
3522 * QtTestBrowser/launcherwindow.cpp:
3523 (LauncherWindow::initializeView):
3524 * QtTestBrowser/mainwindow.cpp:
3525 (MainWindow::MainWindow):
3526 (MainWindow::buildUI):
3527 (MainWindow::setPage):
3528 * QtTestBrowser/mainwindow.h:
3530 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3532 Reviewed by Andreas Kling.
3534 Make all accesses to m_item (GraphicsWebView) done by WebViewGraphicsBased class happen though graphicsWebView getter method.
3536 This patch is mostly a preparation for another commit, where the ownership of the m_item/GraphicsWebView
3537 object will move to the qgraphicsscene instead of the qgraphicsview.
3539 * QtTestBrowser/webview.cpp:
3540 (WebViewGraphicsBased::setPage):
3541 (WebViewGraphicsBased::setResizesToContents):
3542 (WebViewGraphicsBased::resizeEvent):
3543 (WebViewGraphicsBased::animatedFlip):
3544 * QtTestBrowser/webview.h:
3545 (WebViewGraphicsBased::setItemCacheMode):
3546 (WebViewGraphicsBased::itemCacheMode):
3548 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3550 Reviewed by Andreas Kling.
3552 Moved setYRotation method body out of the class (WebViewGraphicsBased) definition.
3554 We usually separate methods whose body are larger than a few lines from the class definition.
3556 * QtTestBrowser/webview.h:
3557 (WebViewGraphicsBased::yRotation):
3558 (WebViewGraphicsBased::setYRotation):
3560 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3562 Reviewed by Andreas Kling.
3564 Make initializeView method of LauncherWindow private.
3566 No one else needs to be able to call it but LauncherWindow.
3567 Also moving the declation of isGraphicsBased method down in the same file, in order
3568 to better group related methods.
3570 * QtTestBrowser/launcherwindow.h:
3572 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3574 Reviewed by Andreas Kling.
3576 Make the getter 'page' method of MainWindow const.
3578 * QtTestBrowser/mainwindow.cpp:
3580 * QtTestBrowser/mainwindow.h:
3582 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3584 Reviewed by Andreas Kling.
3586 Remove useless parameter from MainWindow class' constructor.
3588 The parameter defaults to an empty URL and is not being used by any caller. Apart from that it is also
3589 not referred in the constructor body and does not make much sense.
3591 * QtTestBrowser/mainwindow.cpp:
3592 (MainWindow::MainWindow):
3593 * QtTestBrowser/mainwindow.h:
3595 2010-09-15 Tony Chang <tony@chromium.org>
3597 Reviewed by Kent Tamura.
3599 [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
3600 https://bugs.webkit.org/show_bug.cgi?id=42151
3602 * DumpRenderTree/chromium/LayoutTestController.cpp:
3603 (LayoutTestController::LayoutTestController):
3604 (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
3605 (WorkItemLoadHTMLString::run):
3606 (LayoutTestController::queueLoadHTMLString):
3607 (LayoutTestController::reset):
3608 (LayoutTestController::setDeferMainResourceDataLoad):
3609 * DumpRenderTree/chromium/LayoutTestController.h:
3610 (LayoutTestController::deferMainResourceDataLoad):
3611 * DumpRenderTree/chromium/WebViewHost.cpp:
3612 (WebViewHost::didCreateDataSource):
3614 2010-09-16 Adrienne Walker <enne@google.com>
3616 Reviewed by Kenneth Russell.
3618 Add script to synchronize WebKit and Khronos WebGL tests
3619 https://bugs.webkit.org/show_bug.cgi?id=42336
3621 * Scripts/update-webgl-conformance-tests: Added.
3622 * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py: Added.
3623 * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests_unittest.py: Added.
3625 2010-09-16 Sam Weinig <sam@webkit.org>
3627 Reviewed by Anders Carlsson.
3629 Add support for sending synchronous messages from the InjectedBundle to the WKContext
3630 <rdar://problem/8365320>
3631 https://bugs.webkit.org/show_bug.cgi?id=44785
3633 * MiniBrowser/mac/AppDelegate.m:
3634 (didReceiveSynchronousMessageFromInjectedBundle):
3635 (-[BrowserAppDelegate init]):
3636 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
3638 * WebKitTestRunner/TestController.cpp:
3639 (WTR::TestController::initialize):
3641 2010-09-16 Leonid Ebril <leonid.ebril@nokia.com>
3643 Reviewed by Andreas Kling.
3645 [Qt] QtTestBrowser: Disable creation of a new window for screenshot on Symbian platform.
3646 https://bugs.webkit.org/show_bug.cgi?id=45885
3648 Avoid creation of an additional window for screenshot to prevent overlapping with original window.
3650 * QtTestBrowser/launcherwindow.cpp:
3651 (LauncherWindow::screenshot):
3653 2010-09-16 Anders Carlsson <andersca@apple.com>
3657 * MiniBrowser/mac/BrowserWindowController.m:
3658 (-[BrowserWindowController zoomIn:]):
3659 (-[BrowserWindowController zoomOut:]):
3660 (-[BrowserWindowController resetZoom:]):
3661 Remove trailing semicolons.
3663 2010-09-16 Sheriff Bot <webkit.review.bot@gmail.com>
3665 Unreviewed, rolling out r67628.
3666 http://trac.webkit.org/changeset/67628
3667 https://bugs.webkit.org/show_bug.cgi?id=45904
3669 broke the build (Requested by eric_carlson on #webkit).
3671 * DumpRenderTree/gtk/EventSender.cpp:
3672 (contextClickCallback):
3674 2010-09-16 Balazs Kelemen <kbalazs@webkit.org>
3678 Adding myself as a comitter.
3680 * Scripts/webkitpy/common/config/committers.py:
3682 2010-09-15 Philippe Normand <pnormand@igalia.com>
3684 Reviewed by Eric Carlson.
3686 [GTK] enhanced context menu for media elements
3687 https://bugs.webkit.org/show_bug.cgi?id=45021
3689 EventSender::contextClick() now returns an array of js
3690 objects. Each object has a title property and a click() method.
3692 * DumpRenderTree/gtk/EventSender.cpp:
3693 (getMenuItemTitleCallback):
3694 (setMenuItemTitleCallback):
3695 (menuItemClickCallback):
3697 (contextClickCallback):
3699 2010-09-14 Philippe Normand <pnormand@igalia.com>
3701 Reviewed by Eric Carlson and Martin Robinson.
3703 [GTK] eventSender.contextClick() should return the contents of the context menu
3704 https://bugs.webkit.org/show_bug.cgi?id=39102
3706 Make the eventSender use the new private WebKitGtk+ API to
3707 retrieve the context-menu item titles and store them in an array.
3709 * DumpRenderTree/gtk/EventSender.cpp:
3710 (contextClickCallback):
3712 2010-09-16 Eric Uhrhane <ericu@chromium.org>
3714 Reviewed by Jian Li.
3716 Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
3717 https://bugs.webkit.org/show_bug.cgi?id=45798
3719 * Scripts/build-webkit:
3721 2010-09-16 Robert Hogan <robert@webkit.org>
3723 Reviewed by Antonio Gomes.
3725 [Qt] Support globalhistory tests
3726 https://bugs.webkit.org/show_bug.cgi?id=45774
3728 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3729 (WebCore::isGlobalHistoryTest):
3730 (WebCore::DumpRenderTree::open):
3731 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3732 (LayoutTestController::reset):
3733 (LayoutTestController::dumpHistoryCallbacks):
3734 (LayoutTestController::removeAllVisitedLinks):
3735 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3737 2010-09-10 Tony Chang <tony@chromium.org>
3739 Reviewed by Eric Seidel.
3741 deduplicate-tests should be runnable from any WebKit directory
3742 https://bugs.webkit.org/show_bug.cgi?id=44709
3744 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
3745 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
3747 2010-09-15 Tony Chang <tony@chromium.org>
3749 Reviewed by Kent Tamura.
3751 [chromium] sort testing methods in DRT
3752 https://bugs.webkit.org/show_bug.cgi?id=45850
3754 * DumpRenderTree/chromium/EventSender.cpp:
3755 (EventSender::EventSender):
3756 * DumpRenderTree/chromium/LayoutTestController.cpp:
3757 (LayoutTestController::LayoutTestController):
3758 * DumpRenderTree/chromium/TextInputController.cpp:
3759 (TextInputController::TextInputController):
3761 2010-09-15 Mihai Parparita <mihaip@chromium.org>
3763 Reviewed by Adam Barth.
3765 CQ status shows items out of order
3766 https://bugs.webkit.org/show_bug.cgi?id=45846
3768 Only group consecutive status items with the same patch ID into the same
3769 group, so that overall item ordering is preserved.
3771 Also don't indent status items that only have a single item in their
3774 * QueueStatusServer/handlers/queuestatus.py:
3775 * QueueStatusServer/templates/includes/singlequeuestatus.html: Added.
3776 * QueueStatusServer/templates/queuestatus.html:
3778 2010-09-15 Eric Seidel <eric@webkit.org>
3780 Reviewed by Adam Barth.
3782 Add queue start/stop messages
3783 https://bugs.webkit.org/show_bug.cgi?id=45853
3785 I ended up needing to clean up a bunch of our unit testing
3786 in order to test this new code path nicely.
3788 There are also a few PEP8 changes needed to pass check-webkit-style.
3790 * Scripts/webkitpy/tool/bot/queueengine.py:
3791 * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
3792 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
3793 * Scripts/webkitpy/tool/commands/queues.py:
3794 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3795 * Scripts/webkitpy/tool/commands/queuestest.py:
3796 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
3798 2010-09-15 Simon Fraser <simon.fraser@apple.com>
3800 https://bugs.webkit.org/show_bug.cgi?id=45849
3801 WKURLCreateWithCFURL crashes with null url
3803 Fix MiniBrowser crash when the url is not parseable.
3805 * MiniBrowser/mac/BrowserWindowController.m:
3806 (-[BrowserWindowController fetch:]):
3808 2010-09-15 Patrick Gansterer <paroga@paroga.com>
3812 Adding myself to the committers list.
3814 * Scripts/webkitpy/common/config/committers.py:
3816 2010-09-14 Eric Seidel <eric@webkit.org>
3818 Reviewed by Adam Barth.
3820 Make it possible to run more than one commit-queue instance
3821 https://bugs.webkit.org/show_bug.cgi?id=45786
3823 Mostly we need to make sure the two (or more) instances get
3824 different patches to work on. To do this, I re-worked
3825 the code responsible for getting the next work item to
3826 round trip through the status server. The status server only
3827 vends patches from the work items list, only if those patches
3828 have not had status reported for them in the last hour.
3830 This is another step towards making all queues go through the
3831 status server, thus making it possible to run more than one
3832 instance of various EWS bots (as requested in bug 44292).
3834 The webkitpy changes are already covered by existing unit tests.
3835 The QueueStatusSever sadly has no testing infrastructure yet. :(
3837 * QueueStatusServer/handlers/nextpatch.py: Added.
3838 * QueueStatusServer/index.yaml:
3839 * QueueStatusServer/main.py:
3840 * Scripts/webkitpy/tool/commands/queues.py:
3842 2010-09-15 Mihai Parparita <mihaip@chromium.org>
3844 Reviewed by Tony Chang.
3846 NRWT fails with UnicodeDecodeError on editing/selection/mixed-editability-10.html
3847 https://bugs.webkit.org/show_bug.cgi?id=45791
3849 Force filenames to be raw bytes before running difflib.unified_diff.
3851 * Scripts/webkitpy/layout_tests/port/base.py:
3852 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3854 2010-09-15 Simon Hausmann <simon.hausmann@nokia.com>
3856 Reviewed by Tor Arne Vestbø.
3858 [Qt] QtTestBrowser crashes when enabling QGraphicsView mode after first loading page without it enabled
3859 https://bugs.webkit.org/show_bug.cgi?id=35247
3861 The main issue when changing the views is that the plugins and any other components that
3862 depend on view specific attributes such as the native window id are not teared down.
3863 Even if we had a tear-down procedure, we'd have to re-initialize the plugin after
3864 switching to the new view (QGraphicsWebView). This is a rather uncommon situation, so
3865 we decided to work around this in QtTestBrowser by making toggling between QWebView
3866 and QGraphicsWebView also re-create the page.
3868 * QtTestBrowser/launcherwindow.cpp:
3869 (LauncherWindow::initializeView):
3870 * QtTestBrowser/mainwindow.h:
3872 2010-09-14 Mihai Parparita <mihaip@chromium.org>
3874 Reviewed by Adam Barth.
3876 Send webkit accessibility notifications to Chromium
3877 https://bugs.webkit.org/show_bug.cgi?id=45156
3879 Move printf inside shouldDumpAccessibilityNotifications check.
3881 * DumpRenderTree/chromium/WebViewHost.cpp:
3882 (WebViewHost::postAccessibilityNotification):
3884 2010-09-14 Tony Chang <tony@chromium.org>
3886 Reviewed by Kent Tamura.
3888 [chromium] fix http/tests/security/local-user-CSS-from-remote.html
3889 https://bugs.webkit.org/show_bug.cgi?id=45788
3891 * DumpRenderTree/chromium/LayoutTestController.cpp:
3892 (LayoutTestController::setUserStyleSheetLocation): use a base64 url like in Chrome
3894 2010-09-14 Tony Chang <tony@chromium.org>
3896 Reviewed by Ojan Vafai.
3898 [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed
3899 https://bugs.webkit.org/show_bug.cgi?id=45768
3901 * DumpRenderTree/chromium/TestShell.cpp:
3902 (TestShell::dumpImage): new baselines are checked in and Linux will match Windows going forward.
3904 2010-09-14 Kevin Ollivier <kevino@theolliviers.com>
3906 [wx] Build fix, add newly added directories to the directory list.
3908 * wx/build/settings.py:
3910 2010-09-14 Sam Weinig <sam@webkit.org>
3912 Reviewed by Anders Carlsson.
3914 Remove WKBundleNodeRef, replacing uses with WKBundleNodeHandleRef.
3915 https://bugs.webkit.org/show_bug.cgi?id=45785
3917 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3918 (WTR::propertyValue):
3919 (WTR::numericWindowPropertyValue):
3923 (WTR::InjectedBundlePage::InjectedBundlePage):
3924 (WTR::InjectedBundlePage::shouldInsertNode):
3925 (WTR::InjectedBundlePage::shouldBeginEditing):
3926 (WTR::InjectedBundlePage::shouldEndEditing):
3927 (WTR::InjectedBundlePage::shouldInsertText):
3928 (WTR::InjectedBundlePage::shouldDeleteRange):
3929 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
3930 (WTR::InjectedBundlePage::shouldApplyStyle):
3931 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3933 2010-09-14 Adam Barth <abarth@webkit.org>
3935 Fix two typos in commit-queue. The first is harmless. The second
3936 causes the queue to reject patches when the build is broken. :(
3938 * Scripts/webkitpy/tool/commands/queues.py:
3939 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3941 2010-09-14 Chris Guillory <chris.guillory@google.com>
3943 Reviewed by Chris Fleizach.
3945 Send all accessibility notifications to Chromium.
3946 https://bugs.webkit.org/show_bug.cgi?id=45156
3948 * DumpRenderTree/chromium/WebViewHost.cpp:
3949 (WebViewHost::postAccessibilityNotification):
3950 * DumpRenderTree/chromium/WebViewHost.h:
3952 2010-09-14 Adam Barth <abarth@webkit.org>
3954 Reviewed by Eric Seidel.
3956 commit-queue is slow during the day
3957 https://bugs.webkit.org/show_bug.cgi?id=45780
3959 Thanks to the new logging, we've noticed that checkout-is-out-of-date
3960 errors in the first pass of landing don't retry the land. Instead,
3961 they're treated as failures and cause the commit-queue to do two more
3962 builds before really trying to land the patch. Worse, in the second
3963 build, we can get bitten by a flaky test.
3965 This patch takes a slightly different approach to the commit-queue's
3966 main control logic. We now use a separate subprocess for building and
3967 testing and for landing. This means we should very rarely see the
3968 checkout-is-out-of-date error, and when we do see it, we should retry
3969 more quickly. If my understanding is correct, this should be a big
3970 speed win for the commit-queue.
3972 * Scripts/webkitpy/tool/commands/download.py:
3973 * Scripts/webkitpy/tool/commands/queues.py:
3974 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3976 2010-09-14 Tony Chang <tony@chromium.org>
3978 Reviewed by Dimitri Glazkov.
3980 [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme
3981 https://bugs.webkit.org/show_bug.cgi?id=45762
3983 * DumpRenderTree/chromium/LayoutTestController.cpp:
3984 (LayoutTestController::LayoutTestController):
3985 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
3986 * DumpRenderTree/chromium/LayoutTestController.h:
3988 2010-09-14 Csaba Osztrogonác <ossy@webkit.org>
3990 Adding myself as a reviewer.
3992 * Scripts/webkitpy/common/config/committers.py:
3994 2010-09-14 Zoltan Horvath <zoltan@webkit.org>
3996 Reviewed by Kenneth Rohde Christiansen.
3998 [Qt] Build-webkit shows a warning when WebKitBuild directory is not exist
3999 https://bugs.webkit.org/show_bug.cgi?id=45736
4001 Build-webkit has showed a warning when WebKitBuild didn't exist, add
4002 an additional condition to avoid it.
4004 * Scripts/build-webkit:
4006 2010-09-13 Eric Seidel <eric@webkit.org>
4008 Reviewed by Adam Barth.
4010 commit-queue should log when it's retrying due to checkout out of date error
4011 https://bugs.webkit.org/show_bug.cgi?id=45725
4013 This will allow us to better track how often we see these errors
4014 and how long it takes the queue to recover from them.
4016 In order to pass the tests, I had to correct an error
4017 from a previous change. The UnitTestPort should not have
4018 ever been using the base port method as that will read
4019 a file from disk. If the unit tests haven't passed the contents
4020 it should raise an IOError as though the file doesn't exist.
4022 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
4023 * Scripts/webkitpy/tool/commands/queues.py:
4024 * Scripts/webkitpy/tool/commands/queues_unittest.py:
4026 2010-09-13 Mihai Parparita <mihaip@chromium.org>
4028 Reviewed by Adam Barth.
4030 Upload results when cq patch landing fails
4031 https://bugs.webkit.org/show_bug.cgi?id=45683
4033 Include script errors when CommitQueue._land fails.
4035 * Scripts/webkitpy/tool/commands/queues.py:
4037 2010-09-13 Chris Fleizach <cfleizach@apple.com>
4039 Reviewed by David Kilzer.
4041 AX: accessibilityIsIgnored is returning nil when return value expects a BOOL
4042 https://bugs.webkit.org/show_bug.cgi?id=45548
4044 * DumpRenderTree/AccessibilityUIElement.cpp:
4045 (isIgnoredCallback):
4046 (AccessibilityUIElement::getJSClass):
4047 * DumpRenderTree/AccessibilityUIElement.h:
4048 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
4049 (AccessibilityUIElement::isIgnored):
4050 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4051 (AccessibilityUIElement::isIgnored):
4052 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
4053 (AccessibilityUIElement::isIgnored):
4055 2010-09-13 Csaba Osztrogonác <ossy@webkit.org>
4057 Reviewed by Andreas Kling.
4059 jscPath() is incorrect in Windows' cmd.exe shell
4060 https://bugs.webkit.org/show_bug.cgi?id=45651
4062 * Scripts/webkitdirs.pm: Add ".exe" suffix to $jscName on Windows.
4064 2010-09-13 Chris Fleizach <cfleizach@apple.com>
4066 Reviewed by Darin Adler.
4068 REGRESSION (r64816-r64889): Crash in WebCore::AccessibilityRenderObject
4069 https://bugs.webkit.org/show_bug.cgi?id=43807
4071 * DumpRenderTree/AccessibilityUIElement.cpp:
4072 (textMarkerForPointCallback):
4073 (AccessibilityUIElement::textMarkerForPoint):
4074 (AccessibilityUIElement::getJSClass):
4075 * DumpRenderTree/AccessibilityUIElement.h:
4076 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4077 (AccessibilityUIElement::textMarkerForPoint):
4079 2010-09-13 Andreas Kling <andreas.kling@nokia.com>
4081 Reviewed by Kenneth Rohde Christiansen.
4083 [Qt] build-webkit: Add --v8 option to build against V8
4085 Note that V8 is picked up from QtScript, so this currently requires building
4086 against the experimental qt-script-v8 branch.
4088 * Scripts/build-webkit:
4090 2010-09-13 Hans Wennborg <hans@chromium.org>
4092 Reviewed by Jeremy Orlow.
4094 Add WebDeviceOrientationClientMock::create() and use it from DRT.
4095 https://bugs.webkit.org/show_bug.cgi?id=45650
4097 Do not use the WebDeviceOrientationClientMock constructor directly,
4098 but use the create() member function.
4100 This should fix the linker errors for the multi-DLL Chromium DRT build.
4102 * DumpRenderTree/chromium/LayoutTestController.cpp:
4103 (LayoutTestController::setMockDeviceOrientation):
4104 (LayoutTestController::deviceOrientationClient):
4106 2010-08-27 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
4108 Reviewed by Antti Koivisto.
4110 Add support for testing the viewport meta tag algorithm,
4111 based on the following draft spec:
4113 http://people.opera.com/rune/TR/ED-css-viewport-20100806/
4115 Add common handling of viewport meta tag based on new Opera spec
4116 https://bugs.webkit.org/show_bug.cgi?id=44201
4118 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4119 (LayoutTestController::dumpConfigurationForViewport):
4120 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4122 2010-09-12 Kent Tamura <tkent@chromium.org>
4124 Reviewed by Tony Chang.
4126 [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
4127 https://bugs.webkit.org/show_bug.cgi?id=45517
4129 Use webkit_support_gfx.h for PNG encoding/decoding instead of png_codec.h
4131 * DumpRenderTree/chromium/ImageDiff.cpp:
4132 (Image::craeteFromStdin):
4133 (Image::createFromFilename):
4135 * DumpRenderTree/chromium/TestShell.cpp:
4136 (TestShell::dumpImage):
4138 2010-09-10 MORITA Hajime <morrita@google.com>
4140 Reviewed by Tony Chang.
4142 [Chromium] Implement textInputController.hasSpellingMarker() for Chromium
4143 https://bugs.webkit.org/show_bug.cgi?id=45441
4145 Added TextInputController::hasSpellingMarker().
4147 * DumpRenderTree/chromium/TextInputController.cpp:
4148 (TextInputController::TextInputController):
4149 (TextInputController::hasSpellingMarker):
4150 * DumpRenderTree/chromium/TextInputController.h:
4152 2010-09-12 Dirk Pranke <dpranke@chromium.org>
4154 Unreviewed, build fix.
4156 My last change accidentally contained a local change to the
4157 rebaselinig script; webkit-patch land picked it up without telling
4158 me and committed it :(
4160 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
4162 2010-09-11 Maciej Stachowiak <mjs@apple.com>
4164 Reviewed by Anders Carlsson.
4166 Attempt to fix Windows MiniBrowser build (untested)
4167 https://bugs.webkit.org/show_bug.cgi?id=45609
4169 * MiniBrowser/win/BrowserView.cpp:
4170 (runJavaScriptConfirm):
4171 (runJavaScriptPrompt):
4173 2010-09-11 Sam Weinig <sam@webkit.org>
4175 Reviewed by Maciej Stachowiak.
4177 Fix zoom related tests when testing WebKit2.
4179 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
4180 (WTR::EventSendingController::zoomPageIn): Zoom in and zoom out are not the same.
4182 2010-09-11 Sam Weinig <sam@webkit.org>
4184 Reviewed by Dan Bernstein.
4186 Implement WebKit2 callback equivalent to - [WebUIDelegate webView:setStatusText:]
4187 <rdar://problem/8359252>
4188 https://bugs.webkit.org/show_bug.cgi?id=45605
4190 * MiniBrowser/mac/BrowserWindowController.m:
4192 (contentsSizeChanged):
4193 (-[BrowserWindowController awakeFromNib]):
4194 * MiniBrowser/win/BrowserView.cpp:
4195 (runJavaScriptConfirm):
4196 (runJavaScriptPrompt):
4198 (contentsSizeChanged):
4199 (BrowserView::create):
4200 * WebKitTestRunner/TestController.cpp:
4201 (WTR::createOtherPage):
4202 (WTR::TestController::initialize):
4204 2010-09-11 Sam Weinig <sam@webkit.org>
4206 Reviewed by Dan Bernstein.
4208 Add callback mechanism for the getting the source of a frame
4209 <rdar://problem/8364681>
4210 https://bugs.webkit.org/show_bug.cgi?id=45604
4212 Add ability to dump the main frame's source to the console.
4214 * MiniBrowser/mac/BrowserWindowController.h:
4215 * MiniBrowser/mac/BrowserWindowController.m:
4216 (-[BrowserWindowController dumpSourceToConsole:]):
4217 * MiniBrowser/mac/MainMenu.xib:
4219 2010-09-11 Eric Seidel <eric@webkit.org>
4221 Reviewed by Adam Barth.
4223 Remove unneeded Empty Queue messages
4224 https://bugs.webkit.org/show_bug.cgi?id=45602
4226 We already have a /gc job to delete these.
4227 recentstatus.py is already smart enough to use the
4228 most recent of the workitems last update or the most recent status,
4229 so removing these should not change the _last_status_date() return
4230 value more than a few milliseconds.
4232 These messages just spam the recent status log.
4234 * Scripts/webkitpy/tool/commands/queues.py:
4236 2010-09-11 Mihai Parparita <mihaip@chromium.org>
4238 Reviewed by Adam Barth.
4240 Fix Python exception when generating synthetic patch IDs
4241 https://bugs.webkit.org/show_bug.cgi?id=45592