1 2010-10-06 Tony Chang <tony@chromium.org>
3 Unreviewed, rolling out r69202.
4 http://trac.webkit.org/changeset/69202
5 https://bugs.webkit.org/show_bug.cgi?id=46937
7 Broke compile of test_shell
9 * DumpRenderTree/chromium/EventSender.cpp:
10 (EventSender::beginDragWithFiles):
11 * DumpRenderTree/chromium/WebViewHost.cpp:
12 (addDRTFakeFileToDataObject):
14 2010-10-06 Daniel Cheng <dcheng@chromium.org>
16 Reviewed by Tony Chang.
18 [chromium] Minor naming cleanup in WebDragData, part 2
19 https://bugs.webkit.org/show_bug.cgi?id=46937
21 Update DRT to use the renamed methods.
23 * DumpRenderTree/chromium/EventSender.cpp:
24 (EventSender::beginDragWithFiles):
25 * DumpRenderTree/chromium/WebViewHost.cpp:
26 (addDRTFakeFileToDataObject):
28 2010-10-06 David Kilzer <ddkilzer@apple.com>
30 <http://webkit.org/b/47270> Move WebArchive serialization code into its own file
32 Reviewed by Adam Roben.
34 This is the first step in making webarchive tests work on
37 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added
38 new files to the project.
39 * DumpRenderTree/mac/DumpRenderTree.mm: Removed code that moved
40 to WebArchiveDumpSupport.mm.
41 * DumpRenderTree/mac/WebArchiveDumpSupport.h: Added.
42 * DumpRenderTree/mac/WebArchiveDumpSupport.mm: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm.
43 (serializeWebArchiveToXML):
45 2010-10-05 Daniel Bates <dbates@rim.com>
47 Reviewed by David Kilzer.
49 Add infrastructure to towards detecting change log diffs that aren't at the top of the ChangeLog
50 https://bugs.webkit.org/show_bug.cgi?id=46058
52 Make VCSUtils::fixChangeLogPatch() return a reference to a hash
53 structure so as to support returning additional information
54 about a change log diff.
56 Currently, VCSUtils::fixChangeLogPatch() returns a string that
57 represents the change log diff. Towards supporting the return
58 of additional information, such as whether the change log diff
59 inserts an entry at the top of the ChangeLog file, we need to
60 make VCSUtils::fixChangeLogPatch() return a reference to hash
63 * Scripts/VCSUtils.pm:
64 - Modified fixChangeLogPatch() to return a reference to a
66 - Added documentation to fixChangeLogPatch().
67 - Modified call site in mergeChangeLogs() as necessary.
69 - Modified call site in patch() as necessary.
70 * Scripts/svn-create-patch:
71 - Modified call site in generateDiff() as necessary.
72 * Scripts/svn-unapply:
73 - Modified call site in patch() as necessary.
74 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
75 - Modified the unit tests as necessary.
77 2010-10-05 Tony Chang <tony@chromium.org>
79 Reviewed by Darin Adler.
81 fix the link to the expected image on windows
82 https://bugs.webkit.org/show_bug.cgi?id=47228
84 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: On
85 windows, the file must be opened in binary mode when writing
88 2010-10-05 Adam Barth <abarth@webkit.org>
90 Update expected result of unittest to match Tony's change below.
92 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
94 2010-10-05 Tony Chang <tony@chromium.org>
96 Reviewed by Ojan Vafai (over the shoulder).
98 Paper over errors in image_diff so we don't crash the whole test run.
100 * Scripts/webkitpy/layout_tests/port/chromium.py:
102 2010-10-05 Tony Chang <tony@chromium.org>
104 Unreviewed, make shutil.rmtree more resiliant to errors
105 since windows was raising WindowsError: The process cannot access the file because it
106 is being used by another process.
108 * Scripts/webkitpy/layout_tests/port/chromium.py:
110 2010-10-05 Tony Chang <tony@chromium.org>
112 Reviewed by Ojan Vafai.
114 [chromium] fix image diffing in NRWT
115 https://bugs.webkit.org/show_bug.cgi?id=47128
117 * Scripts/webkitpy/layout_tests/port/chromium.py: Stop using
118 NamedTemporaryFile since it doesn't work on Windows.
119 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
121 2010-10-05 Kenneth Russell <kbr@google.com>
123 Reviewed by Tony Chang.
125 [chromium] Implement layerTreeAsText in DumpRenderTree
126 https://bugs.webkit.org/show_bug.cgi?id=47216
128 Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
129 make it callable from DumpRenderTree.
131 No new tests; verified with existing compositor layout tests.
133 * DumpRenderTree/chromium/LayoutTestController.cpp:
134 (LayoutTestController::LayoutTestController):
135 (LayoutTestController::layerTreeAsText):
136 * DumpRenderTree/chromium/LayoutTestController.h:
138 2010-10-05 Brent Fulgham <bfulgham@webkit.org>
140 Unreviewed build correction.
142 * DumpRenderTree/win/ImageDiff.vcproj: Use WinCairo debug
143 property sheet so proper libraries are linked.
145 2010-10-05 Robert Hogan <robert@webkit.org>
147 Reviewed by Andreas Kling.
149 [Qt] Fix url conversion in QWebHistory
151 Converting from KURL to WFT::String to QUrl does not
152 permit proper percent encoding later.
154 https://bugs.webkit.org/show_bug.cgi?id=47048
156 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
157 (WebCore::dumpHistoryItem):
159 2010-10-05 Anders Carlsson <andersca@apple.com>
161 Reviewed by Sam Weinig.
163 REGRESSION (r68966?): All dumpAsText test fail on WebKit2
164 https://bugs.webkit.org/show_bug.cgi?id=47188
165 <rdar://problem/8514104>
167 When constructing the std::string, use the real string length instead of the maximum buffer size.
169 * TestWebKitAPI/PlatformUtilities.h:
170 (TestWebKitAPI::Util::toSTD):
171 * WebKitTestRunner/StringFunctions.h:
174 2010-10-04 Sam Weinig <sam@webkit.org>
176 Reviewed by Mark Rowe.
178 Add MIMEType accessor to WKFrame
179 <rdar://problem/8347683>
180 https://bugs.webkit.org/show_bug.cgi?id=47138
182 * TestWebKitAPI/PlatformUtilities.h:
183 (TestWebKitAPI::Util::toSTD):
184 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
185 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp: Added.
186 (TestWebKitAPI::didStartProvisionalLoadForFrame):
187 (TestWebKitAPI::didCommitLoadForFrame):
188 (TestWebKitAPI::didFinishLoadForFrame):
189 (TestWebKitAPI::TEST):
190 * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp: Added.
191 (TestWebKitAPI::didStartProvisionalLoadForFrame):
192 (TestWebKitAPI::didCommitLoadForFrame):
193 (TestWebKitAPI::didFinishLoadForFrame):
194 (TestWebKitAPI::TEST):
195 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
196 (TestWebKitAPI::TEST):
197 * TestWebKitAPI/Tests/WebKit2/basic-1.html: Removed.
198 * TestWebKitAPI/Tests/WebKit2/icon.png: Added.
199 * TestWebKitAPI/Tests/WebKit2/simple.html: Added.
200 * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
201 (TestWebKitAPI::Util::createURLForResource):
203 2010-10-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
205 Reviewed by Ojan Vafai.
207 [NRWT] Rename current_dir to current_group because it's not a directory
208 https://bugs.webkit.org/show_bug.cgi?id=47169
210 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
211 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
213 2010-10-04 Dirk Pranke <dpranke@chromium.org>
215 Unreviewed, build fix.
217 r69065 broke test-webkitpy by trying to create a '/tmp-X' directory,
218 which can't always be done. This test uses tempfile.mkdtemp(), which
221 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
223 2010-10-04 Dirk Pranke <dpranke@chromium.org>
225 Unreviewed, build fix.
227 Add missing "from __future__ import with_statement" that was
228 breaking test-webkitpy on the Leopard bots (broke in r69040).
230 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
232 2010-10-04 Sheriff Bot <webkit.review.bot@gmail.com>
234 Unreviewed, rolling out r69066.
235 http://trac.webkit.org/changeset/69066
236 https://bugs.webkit.org/show_bug.cgi?id=47163
238 Made NRWT reliability worse. (Requested by tkent on #webkit).
240 * Scripts/webkitpy/layout_tests/port/chromium.py:
241 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
243 2010-10-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
245 Reviewed by Tony Chang.
247 [NRWT] Reverse the http tests to alphabetical order.
248 https://bugs.webkit.org/show_bug.cgi?id=47075
250 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
252 2010-10-04 Robert Hogan <robert@webkit.org>
254 Reviewed by Andreas Kling.
256 [Qt] Fix timeout on http/tests/navigation/post-goback2.html and postredirect-goback2.html
258 We need to queue back and forward navigations in the DRT from the
259 LayoutTestController so that maybeDump() knows about them.
261 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
262 (LayoutTestController::queueBackNavigation):
263 (LayoutTestController::queueForwardNavigation):
265 2010-10-04 Tony Chang <tony@chromium.org>
267 Reviewed by Kent Tamura.
269 [chromium] fix image diffing in NRWT
270 https://bugs.webkit.org/show_bug.cgi?id=47128
272 * Scripts/webkitpy/layout_tests/port/chromium.py: Flush data to the
273 temp file and check the image_diff error code more carefully
274 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
276 2010-10-04 Dirk Pranke <dpranke@chromium.org>
278 Reviewed by Adam Barth.
280 aroben's change in r68792 actually broke new-run-webkit-tests when
281 running the DRT code path. His change was intended to fix the
282 way we were converting windows paths to URIs when running under
283 Cygwin (the paths were getting one too many "/" on the front).
284 However, the change ended up breaking the chromium_win port, which
285 had slightly different logic.
287 This patch removes the port-specific code and adds tests to make
288 sure we're getting the behavior we expect. The Port object no longer
289 exposes a get_absolute_path() method that can be used outside of
290 of converting test filenames, because it's unreliable otherwise
291 (we don't have the right context to know which conversion is intended).
293 https://bugs.webkit.org/show_bug.cgi?id=47140
295 * Scripts/webkitpy/layout_tests/port/base.py:
296 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
297 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
298 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
299 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
301 2010-10-04 Dirk Pranke <dpranke@chromium.org>
303 Unreviewed, build fix.
305 Handle crash introduced in r69040 if we are not running in a
308 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
310 2010-10-04 Dirk Pranke <dpranke@chromium.org>
312 Reviewed by Tony Chang.
314 Add a way for us to have test expectations that are specific to the
315 official builds of Google Chrome (as opposed to Chromium). This change
316 looks for an additional "test_expectations_chrome.txt" file in
317 Chromium's repository (webkit/tools/layout_tests), and uses the
318 concatenation of that file and the regular test_expectations.txt
319 file for test overrides.
321 https://bugs.webkit.org/show_bug.cgi?id=46854
323 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
324 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
326 2010-10-04 Simon Fraser <simon.fraser@apple.com>
328 Color tests in the list based on existing pass/fail result.
330 Fix the summary data to account for htmlOnly and nonHTML tests.
332 * CSSTestSuiteHarness/harness/harness.css:
333 (#test-list > option.pass):
334 (#test-list > option.fail):
335 (#test-list > option.skipped):
336 * CSSTestSuiteHarness/harness/harness.js:
338 (Test.prototype.statusForFormat):
339 (TestSuite.prototype.fillTestList):
340 (TestSuite.prototype.updateTestList):
341 (TestSuite.prototype.recordResult):
342 (TestSuite.prototype.markTestCompleted):
343 (TestSuite.prototype.countTestsWithFlag):
344 (TestSuite.prototype.queryDatabaseForSummary.this.db.transaction):
345 (TestSuite.prototype.queryDatabaseForSummary):
347 2010-10-04 Chris Fleizach <cfleizach@apple.com>
349 Reviewed by Beth Dakin.
351 AX: doAXRangeForLine does not work
352 https://bugs.webkit.org/show_bug.cgi?id=47101
354 DRT support to handle NSAccessibilityRangeForLineParameterizedAttribute.
356 * DumpRenderTree/AccessibilityUIElement.cpp:
357 (rangeForLineCallback):
358 (AccessibilityUIElement::rangeForLine):
359 (AccessibilityUIElement::getJSClass):
360 * DumpRenderTree/AccessibilityUIElement.h:
361 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
362 (AccessibilityUIElement::rangeForLine):
364 2010-10-04 Andrey Kosyakov <caseq@chromium.org>
366 Unreviewed. Adding myself to the committers list.
368 * Scripts/webkitpy/common/config/committers.py:
370 2010-10-04 Sam Weinig <sam@webkit.org>
372 Reviewed by Anders Carlsson.
374 Add ability to set the CacheModel in Webkit2
375 https://bugs.webkit.org/show_bug.cgi?id=47066
377 * MiniBrowser/mac/AppDelegate.m:
378 (-[BrowserAppDelegate init]): Opt minibrowser into
379 a PrimaryWebBrowser cache model.
381 2010-10-03 Simon Fraser <simon.fraser@apple.com>
383 Make sure to enter all tests when creating the database
386 When migrating to a new version of the suite, be sure to
387 sync up the database and testinfo.data by removing old
388 tests, and inserting new ones.
390 * CSSTestSuiteHarness/harness/harness.js:
391 (TestSuite.prototype.openDatabase.creation):
392 (TestSuite.prototype.databaseCreated):
393 (TestSuite.prototype.populateDatabaseFromTestInfoData):
394 (TestSuite.prototype.insertTest):
396 2010-10-03 Simon Fraser <simon.fraser@apple.com>
398 More work on treating HTML4 and XHTML1 independently; when
399 changing the format, rebuild the test list, and update the
400 numbers in the chapter popup.
402 * CSSTestSuiteHarness/harness/harness.js:
404 (Test.prototype.runForFormat):
405 (Test.prototype.completedForFormat):
407 (ChapterSection.prototype.countTests):
409 (Chapter.prototype.description):
410 (Chapter.prototype.countTests):
411 (Chapter.prototype.testCount):
412 (Chapter.prototype.untestedCount):
413 (TestSuite.prototype.buildChapters):
414 (TestSuite.prototype.loadCurrentTest):
415 (TestSuite.prototype.updateProgressLabel):
416 (TestSuite.prototype.processFlags):
417 (TestSuite.prototype.formatChanged):
419 2010-10-03 Simon Fraser <simon.fraser@apple.com>
421 Update test suite version 20101001.
423 Handle database migration, and delete tests from the db that are
424 not present in testinfo.data.
426 Load about:blank into the test frame before the test url, to make
427 missing tests more obvious.
429 * CSSTestSuiteHarness/harness/harness.js:
430 (TestSuite.prototype.loadTest):
431 (TestSuite.prototype.openDatabase.creation):
432 (TestSuite.prototype.openDatabase.migration1_0To1_1):
433 (TestSuite.prototype.openDatabase.if.return):
434 (TestSuite.prototype.databaseReady):
435 (TestSuite.prototype.populateDatabaseFromTestInfoData):
436 (TestSuite.prototype.syncDatabaseWithTestInfoData.this.db.transaction):
437 (TestSuite.prototype.syncDatabaseWithTestInfoData):
439 2010-10-02 Simon Fraser <simon.fraser@apple.com>
441 Add the ability to jump to a specific test.
443 * CSSTestSuiteHarness/harness/harness.html:
444 * CSSTestSuiteHarness/harness/harness.js:
445 (TestSuite.prototype.goToTestByName):
446 (TestSuite.prototype.switchToFormat):
448 2010-10-02 Simon Fraser <simon.fraser@apple.com>
450 For a ref test, load the ref in the same format (HTML4 vs XHTML1)
453 * CSSTestSuiteHarness/harness/harness.js:
454 (TestSuite.prototype.loadRef):
456 2010-10-02 Simon Fraser <simon.fraser@apple.com>
458 Update the UI to reflect the fact that each test needs to be tested
459 in both HTML4 and XHTML1 format.
461 * CSSTestSuiteHarness/harness/harness.js:
463 (Chapter.prototype.description):
464 (Chapter.prototype.untestedCount):
465 (TestSuite.prototype.fillChapterPopup):
466 (TestSuite.prototype.updateChapterPopup):
467 (TestSuite.prototype.fillTestList):
468 (TestSuite.prototype.updateTestList):
469 (TestSuite.prototype.goToNextIncompleteTest):
470 (TestSuite.prototype.firstIncompleteTestIndex):
471 (TestSuite.prototype.recordResult):
472 (TestSuite.prototype.formatChanged):
473 (TestSuite.prototype.markTestCompleted):
474 (TestSuite.prototype.resetTestStatus):
476 2010-10-01 Simon Fraser <simon.fraser@apple.com>
478 Add the ability to remove results for re-testing, and
481 * CSSTestSuiteHarness/harness/harness.css:
486 (.overlay-contents textarea):
487 (.overlay-contents .buttons):
488 (.overlay-contents .note):
489 (.overlay-contents .buttons button):
490 * CSSTestSuiteHarness/harness/harness.html:
491 * CSSTestSuiteHarness/harness/harness.js:
492 (TestSuite.prototype.importResults):
493 (TestSuite.prototype.clearResults):
494 (TestSuite.prototype.markTestCompleted):
495 (TestSuite.prototype.resetTestStatus):
496 (TestSuite.prototype.storeTestResult):
497 (TestSuite.prototype.importTestResults):
498 (TestSuite.prototype.clearTestResults):
500 2010-10-01 Sam Weinig <sam@webkit.org>
502 Reviewed by Jon Honeycutt.
504 Deploy the new WKString functions to remove most uses of CF from
505 the WebKitTestRunner.
507 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
508 (WTR::InjectedBundle::didReceiveMessage):
509 (WTR::InjectedBundle::done):
510 * WebKitTestRunner/StringFunctions.h:
515 (WTR::copyURLString):
516 * WebKitTestRunner/TestController.cpp:
517 (WTR::TestController::resetStateToConsistentValues):
518 (WTR::TestController::didFinishLoadForFrame):
519 * WebKitTestRunner/TestInvocation.cpp:
520 (WTR::TestInvocation::invoke):
521 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
523 2010-10-01 Mihai Parparita <mihaip@chromium.org>
525 Unreviewed TestResultsServer change.
527 Add files introduced by http://crrev.com/61273 to the list of dashboard
530 * TestResultServer/handlers/dashboardhandler.py:
532 2010-10-01 Brian Weinstein <bweinstein@apple.com>
534 Build Fix for Windows.
536 * WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
537 WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
538 ForwardingHeaders to the include path.
540 2010-10-01 Sam Weinig <sam@webkit.org>
542 Reviewed by Anders Carlsson.
544 Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.
546 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
547 * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
548 (TestWebKitAPI::TEST):
549 * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp: Added.
550 (TestWebKitAPI::TEST):
552 2010-10-01 Sam Weinig <sam@webkit.org>
554 Reviewed by Kenneth Rohde Christiansen.
556 Add additional WKString API
557 https://bugs.webkit.org/show_bug.cgi?id=46958
559 Add basic WKStringRef tests.
561 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
562 * TestWebKitAPI/Tests/WebKit2/WKString.cpp: Added.
564 2010-10-01 Sam Weinig <sam@webkit.org>
566 Reviewed by Dan Bernstein.
568 Add makefile for TestWebKitAPI and call it from the base makefile.
571 * TestWebKitAPI/Makefile: Added.
573 2010-10-01 Sam Weinig <sam@webkit.org>
575 Reviewed by Adam Roben.
577 Remove unnecessary ForwardingHeaders from test runners.
578 https://bugs.webkit.org/show_bug.cgi?id=47010
580 * TestWebKitAPI/Configurations/Base.xcconfig:
581 * TestWebKitAPI/ForwardingHeaders: Removed.
582 * WebKitTestRunner/Configurations/Base.xcconfig:
583 * WebKitTestRunner/ForwardingHeaders: Removed.
585 2010-09-30 Adam Barth <abarth@webkit.org>
587 Reviewed by Eric Seidel.
589 WebSocket tests are flaky
590 https://bugs.webkit.org/show_bug.cgi?id=46956
592 Update these tools to understand how to run the WebSocket tests off the
595 * Scripts/old-run-webkit-tests:
596 * Scripts/webkitpy/layout_tests/port/base.py:
597 * Scripts/webkitpy/layout_tests/port/websocket_server.py:
598 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
600 2010-10-01 Adam Roben <aroben@apple.com>
602 Encode Executive command arguments using UTF-8 on Cygwin
604 Cygwin's Python's os.execv doesn't support unicode command arguments.
605 Cygwin's execv expects arguments to be encoded using the current code
606 page. But code pages are limited in what characters they can handle,
607 and our tests include characters that the English code page can't
608 handle. So for now we'll just encode everything in UTF-8 on Cygwin,
609 which can handle all characters but might confuse some commands, for
610 expediency's sake. I'm sure we'll run into cases where UTF-8 isn't
611 good enough, but we can deal with that when the problem arises.
613 Reviewed by Adam Barth.
615 Fixes <http://webkit.org/b/46892> <rdar://problem/8496639>
616 webkitpy.common.system.executive_unittest.ExecutiveTest.test_run_command_with_unicode
619 * Scripts/webkitpy/common/system/executive.py:
620 (Executive._run_command_with_teed_output):
621 (Executive.run_command):
622 On Cygwin, encode arguments using UTF-8.
624 2010-10-01 Sam Weinig <sam@webkit.org>
626 Reviewed by Adam Roben.
628 Add simple API tester for WebKit2
629 https://bugs.webkit.org/show_bug.cgi?id=46953
631 This adds a very simple testing infrastructure for testing APIs exposed
632 through the WebKit project. It consists of two parts: 1) a project that
633 builds the all the tests 2) a script that searches the tests directory and
634 calls the tester once for each test.
636 This adds the infrastructure and two tests:
637 - Tests/WTF/Vector1.cpp - A proof of concept test of WTF data-structures.
638 - Tests/WebKit2/BasicTest1.cpp - A proof of concept test of WebKit2 API.
640 This currently only works on the mac, but is designed to be easily ported
643 * Scripts/run-api-tests: Added.
644 * Scripts/build-api-tests: Added.
645 Scripts to build/run the tests.
647 * TestWebKitAPI: Added.
648 * TestWebKitAPI/Configurations: Added.
649 * TestWebKitAPI/Configurations/Base.xcconfig: Added.
650 * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Added.
651 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Added.
652 * TestWebKitAPI/ForwardingHeaders: Added.
653 * TestWebKitAPI/ForwardingHeaders/wtf: Added.
654 * TestWebKitAPI/PlatformUtilities.h: Added.
655 * TestWebKitAPI/PlatformWebView.h: Added.
656 (TestWebKitAPI::PlatformWebView::platformView):
657 * TestWebKitAPI/StringFunctions.h: Added.
658 * TestWebKitAPI/Test.h: Added.
659 (TestWebKitAPI::Test::~Test):
660 (TestWebKitAPI::Test::name):
661 (TestWebKitAPI::Test::Register::Register):
662 (TestWebKitAPI::Test::Register::create):
663 (TestWebKitAPI::Test::Test):
664 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Added.
665 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added.
666 * TestWebKitAPI/TestWebKitAPIPrefix.h: Added.
667 * TestWebKitAPI/TestsController.cpp: Added.
668 (TestWebKitAPI::TestsController::shared):
669 (TestWebKitAPI::TestsController::TestsController):
670 (TestWebKitAPI::TestsController::runTestNamed):
671 (TestWebKitAPI::TestsController::testFailed):
672 (TestWebKitAPI::TestsController::registerCreateTestFunction):
673 * TestWebKitAPI/TestsController.h: Added.
674 * TestWebKitAPI/mac: Added.
675 * TestWebKitAPI/mac/PlatformUtilitiesMac.mm: Added.
676 (TestWebKitAPI::Util::run):
677 (TestWebKitAPI::Util::createURLForResource):
678 * TestWebKitAPI/mac/PlatformWebViewMac.mm: Added.
679 (TestWebKitAPI::PlatformWebView::PlatformWebView):
680 (TestWebKitAPI::PlatformWebView::resizeTo):
681 (TestWebKitAPI::PlatformWebView::~PlatformWebView):
682 (TestWebKitAPI::PlatformWebView::page):
683 (TestWebKitAPI::PlatformWebView::focus):
684 * TestWebKitAPI/mac/main.mm: Added.
687 * TestWebKitAPI/Tests: Added.
688 * TestWebKitAPI/Tests/WTF: Added.
689 * TestWebKitAPI/Tests/WTF/Vector1.cpp: Added.
690 * TestWebKitAPI/Tests/WebKit2: Added.
691 * TestWebKitAPI/Tests/WebKit2/BasicTest1.cpp: Added.
692 (TestWebKitAPI::State::State):
693 * TestWebKitAPI/Tests/WebKit2/basic-1.html: Added.
694 Proof of concept tests.
696 2010-10-01 Adam Roben <aroben@apple.com>
698 Don't assume AccessibleObjectFromEvent succeeds
700 Fixes <http://webkit.org/b/44136> <rdar://problem/8321684> Crash in
701 DumpRenderTree!notificationListenerProc when running
702 plugins/access-after-page-destroyed.html
704 Reviewed by Sam Weinig.
706 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
707 (notificationListenerProc): Check both the return value of
708 AccessibleObjectFromEvent and the object it returns, as MSDN
711 2010-10-01 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
713 Reviewed by Tony Chang.
715 [NRWT] Put the http and websocket tests first in the test list.
716 https://bugs.webkit.org/show_bug.cgi?id=46453
718 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
719 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
721 2010-10-01 Fady Samuel <fsamuel@chromium.org>
723 Unreviewed, adding myself to the committer list.
725 * Scripts/webkitpy/common/config/committers.py:
727 2010-10-01 Adam Roben <aroben@apple.com>
729 Test NPN_GetValue(NPNVnetscapeWindow)
731 Test for <http://webkit.org/b/46726> <rdar://problem/8486319>
732 Right-clicking on windowless Flash plugin in WebKit2 makes a context
733 menu appear in the bottom-right corner of the screen
735 Reviewed by Anders Carlsson.
737 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
738 (PluginTest::NPN_GetValue): Added. Calls through to the browser.
740 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added NPN_GetValue.
742 * DumpRenderTree/TestNetscapePlugIn/Tests/win/GetValueNetscapeWindow.cpp: Added.
743 (GetValueNetscapeWindow::GetValueNetscapeWindow): Initialize members.
744 (GetValueNetscapeWindow::NPP_SetWindow): Test that
745 NPN_GetValue(NPNVnetscapeWindow) returns a valid HWND and that it
748 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
749 Added GetValueNetscapeWindow.
751 2010-10-01 Andreas Kling <andreas.kling@nokia.com>
753 Unreviewed, adding my webkit.org identity to reviewer list.
755 * Scripts/webkitpy/common/config/committers.py:
757 2010-09-30 Adam Barth <abarth@webkit.org>
759 Reviewed by Eric Seidel.
761 The WebSocket server should flush its logs
762 https://bugs.webkit.org/show_bug.cgi?id=46946
764 The WebSocket server logs are truncated because the driver just
765 terminates the child. It should run Python without buffering so we can
766 see the end of the log.
768 * Scripts/webkitpy/layout_tests/port/websocket_server.py:
770 2010-09-30 Simon Fraser <simon.fraser@apple.com>
772 Add a button to jump to the next untested test.
774 * CSSTestSuiteHarness/harness/harness.css:
777 * CSSTestSuiteHarness/harness/harness.html:
778 * CSSTestSuiteHarness/harness/harness.js:
779 (Chapter.prototype.description):
780 (Chapter.prototype.untestedCount):
781 (TestSuite.prototype.testInfoDataLoaded):
782 (TestSuite.prototype.fillChapterPopup):
783 (TestSuite.prototype.updateChapterPopup):
784 (TestSuite.prototype.buildTestListForChapter):
785 (TestSuite.prototype.goToNextIncompleteTest):
786 (TestSuite.prototype.firstIncompleteTestIndex):
787 (TestSuite.prototype.testCompletionStateChanged):
789 2010-09-29 Jon Honeycutt <jhoneycutt@apple.com>
791 WebKit2 on Windows should use Windows fonts for the various standard
793 https://bugs.webkit.org/show_bug.cgi?id=43499
794 <rdar://problem/8272758>
796 Reviewed by Adam Roben.
798 * WebKitTestRunner/TestController.cpp:
799 (WTR::TestController::resetStateToConsistentValues):
800 Use the Mac fonts for running tests. This matches DRT behavior.
802 2010-09-30 Adam Barth <abarth@webkit.org>
804 Third attempt. We need a better integration test environment.
806 * Scripts/webkitpy/common/net/failuremap.py:
807 * Scripts/webkitpy/common/net/failuremap_unittest.py:
809 2010-09-30 Robert Hogan <robert@webkit.org>
811 Reviewed by Andreas Kling.
813 [Qt] Support for PlainTextController
815 Unskip editing/text-iterator/basic-iteration.html
817 https://bugs.webkit.org/show_bug.cgi?id=38805
819 * DumpRenderTree/qt/DumpRenderTree.pro:
820 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
821 (WebCore::DumpRenderTree::DumpRenderTree):
822 (WebCore::DumpRenderTree::initJSObjects):
823 * DumpRenderTree/qt/DumpRenderTreeQt.h:
824 * DumpRenderTree/qt/PlainTextControllerQt.cpp: Added.
825 (PlainTextController::PlainTextController):
826 (PlainTextController::plainText):
827 * DumpRenderTree/qt/PlainTextControllerQt.h: Added.
829 2010-09-30 Adam Barth <abarth@webkit.org>
831 Unreviewed. Second attempt to fix sheriffbot.
833 * Scripts/webkitpy/common/net/buildbot.py:
835 2010-09-30 Adam Barth <abarth@webkit.org>
839 This patch should stop the sheriffbot from throwing an exception.
841 * Scripts/webkitpy/common/net/buildbot.py:
843 2010-09-30 Brian Weinstein <bweinstein@apple.com>
845 Reviewed by Adam Roben.
847 The same bots shouldn't run both Windows Debug Tests and Windows Release Tests.
848 https://bugs.webkit.org/show_bug.cgi?id=46926
850 * BuildSlaveSupport/build.webkit.org-config/config.json: Have two bots running Windows
851 Release Tests, and two bots running Windows Debug Tests, instead of four running both.
853 2010-09-30 Adam Barth <abarth@webkit.org>
855 Reviewed by Eric Seidel.
857 webkit-patch find-flaky-tests should print results URLs
858 https://bugs.webkit.org/show_bug.cgi?id=46917
860 Printing out the results URL makes find-flaky-tests more actionable
861 because you can see what happens when a test fails. The output from
862 the script is still pretty noisy, but it seems useful.
864 * Scripts/webkitpy/tool/commands/queries.py:
866 2010-09-30 Chris Marrin <cmarrin@apple.com>
868 Reviewed by Simon Fraser.
870 Make 2D accelerated canvas rendering build on Mac
871 https://bugs.webkit.org/show_bug.cgi?id=46007
873 Added ACCELERATED_2D_CANVAS to build-webkit
875 * Scripts/build-webkit:
877 2010-09-29 Kenneth Russell <kbr@google.com>
879 Reviewed by Dimitri Glazkov.
881 [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
882 https://bugs.webkit.org/show_bug.cgi?id=46849
884 Added offscreen code path for WebGraphicsContext3DDefaultImpl which
885 works with the compositor integration in both DumpRenderTree and
886 test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint
887 and thereby trigger the compositor's readback code path. Added support
888 for --enable-accelerated-compositing to DumpRenderTree.
890 Tested in both test_shell and DumpRenderTree on Linux, the latter by
891 modifying a compositing layout test, dumping the pixels and verifying
892 that they matched the output when the compositor was active.
894 * DumpRenderTree/chromium/DumpRenderTree.cpp:
896 * DumpRenderTree/chromium/TestShell.cpp:
897 (TestShell::TestShell):
898 (TestShell::resetWebSettings):
899 * DumpRenderTree/chromium/TestShell.h:
900 (TestShell::setAcceleratedCompositingEnabled):
901 * DumpRenderTree/chromium/WebPreferences.cpp:
902 (WebPreferences::reset):
903 (WebPreferences::applyTo):
904 * DumpRenderTree/chromium/WebPreferences.h:
905 * DumpRenderTree/chromium/WebViewHost.cpp:
906 (WebViewHost::scheduleComposite):
907 * DumpRenderTree/chromium/WebViewHost.h:
909 2010-09-30 Adam Roben <aroben@apple.com>
911 Ensure that QueueEngine cleans up its log files when its delegate
912 tells it to stop processing work
914 Reviewed by Adam Barth.
916 Fixes <http://webkit.org/b/46891> <rdar://problem/8496638> Many tests
917 in webkitpy.tool.bot.queueengine_unittest.QueueEngineTest crash on
920 * Scripts/webkitpy/tool/bot/queueengine.py:
921 (QueueEngine.run): Stop ourselves normally (including cleaning up log
922 files) when the delegate tells us to stop processing work.
924 * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
925 (LoggingDelegate.__init__): Moved code here from
926 RaisingDelegate.__init__.
927 (LoggingDelegate.expeced_callbacks): Added the stop_work_queue
929 (LoggingDelegate.stop_work_queue): Moved here from RaisingDelegate.
930 (RaisingDelegate.__init__): Removed code that LoggingDelegate takes
932 (QueueEngineTest.test_trivial): Make sure we got the expected stop
934 (QueueEngineTest.test_not_safe_to_proceed): Changed to explicitly
935 remove the callbacks that are related to processing a single work
936 item, rather than removing all callbacks after a certain point, as
937 there are now more callbacks we expect to receive at the end.
939 2010-09-30 Adam Roben <aroben@apple.com>
941 Fix path -> URL conversion on Cygwin
943 Reviewed by Adam Barth.
945 Fixes <http://webkit.org/b/46890> <rdar://problem/8496637> Many tests
946 in webkitpy.layout_tests.run_webkit_tests_unittest assert on Windows
948 * Scripts/webkitpy/layout_tests/port/base.py:
949 (Port.filename_to_uri): Treat Cygwin like other UNIX-y platforms by
950 assuming paths already have a leading slash.
952 2010-09-30 Adam Roben <aroben@apple.com>
954 Teach WindowGeometryInitializedBeforeSetWindow that NPP_SetWindow can
955 be called more than once
957 The NPP_SetWindow call made when the plugin is torn down was confusing
958 us, and was causing us to spew an error into the next test.
960 Fixes <http://webkit.org/b/46900> <rdar://problem/8496888> REGRESSION
961 (r68520): plugins/access-after-page-destroyed.html failing on Windows
963 Reviewed by Anders Carlsson.
965 * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp:
966 (WindowGeometryInitializedBeforeSetWindow::WindowGeometryInitializedBeforeSetWindow):
968 (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Bail if
969 this isn't the first time this is called.
971 2010-09-30 Eric Seidel <eric@webkit.org>
973 Reviewed by Adam Barth.
975 webkit-patch upload warns that I'm using Xcode when I'm not
976 https://bugs.webkit.org/show_bug.cgi?id=46869
978 String.find returns -1 when not found, so switched to "in".
980 * Scripts/webkitpy/common/system/user.py:
981 * Scripts/webkitpy/common/system/user_unittest.py:
983 2010-09-30 Eric Seidel <eric@webkit.org>
985 Reviewed by Adam Barth.
987 webkit-patch failure-reason dies if non-trunk commits are in the blame range
988 https://bugs.webkit.org/show_bug.cgi?id=46866
990 I also made failure-reason use RegressionWindow in a cleaner way.
992 * Scripts/webkitpy/tool/commands/queries.py:
994 2010-09-29 Adam Barth <abarth@webkit.org>
996 Reviewed by Eric Seidel.
998 webkit-patch find-flaky-tests
999 https://bugs.webkit.org/show_bug.cgi?id=46876
1001 This command helps us find flaky tests so we can squash them.
1003 * Scripts/webkitpy/tool/commands/queries.py:
1005 2010-09-29 Simon Fraser <simon.fraser@apple.com>
1007 Fix export to use '?' instead of 'null' for
1008 tests with no results.
1010 * CSSTestSuiteHarness/harness/harness.js:
1012 2010-09-29 Simon Fraser <simon.fraser@apple.com>
1014 Add a warning when a test requires special steps.
1015 Add a Print Preview button for 'paged' tests that
1016 brings up the print dialog, allowing the user to
1017 judge paged media tests.
1019 * CSSTestSuiteHarness/harness/harness.css:
1020 * CSSTestSuiteHarness/harness/harness.html:
1021 * CSSTestSuiteHarness/harness/harness.js:
1022 (TestSuite.prototype.loadTest):
1023 (TestSuite.prototype.processFlags):
1025 2010-09-29 Adam Barth <abarth@webkit.org>
1027 Reviewed by Eric Seidel.
1029 Remove revisions_casuing_failures
1030 https://bugs.webkit.org/show_bug.cgi?id=46872
1032 This function exists only to be unit tested.
1034 * Scripts/webkitpy/common/net/failuremap.py:
1035 * Scripts/webkitpy/common/net/failuremap_unittest.py:
1036 * Scripts/webkitpy/tool/mocktool.py:
1038 2010-09-29 Adam Barth <abarth@webkit.org>
1040 Reviewed by Eric Seidel.
1042 SheriffBot should post the list of failing tests to bugs
1043 https://bugs.webkit.org/show_bug.cgi?id=46871
1045 * Scripts/webkitpy/common/net/buildbot.py:
1046 * Scripts/webkitpy/common/net/failuremap.py:
1047 * Scripts/webkitpy/common/net/regressionwindow.py:
1048 * Scripts/webkitpy/tool/bot/sheriff.py:
1049 * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
1050 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
1051 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1052 * Scripts/webkitpy/tool/commands/sheriffbot.py:
1053 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
1054 * Scripts/webkitpy/tool/commands/upload_unittest.py:
1055 * Scripts/webkitpy/tool/mocktool.py:
1057 2010-09-29 Brent Fulgham <bfulgham@webkit.org>
1059 Reviewed by Martin Robinson, Eric Seidel, and Mark Rowe.
1061 [WinCairo] Adds a build slave.
1062 https://bugs.webkit.org/show_bug.cgi?id=46360
1064 * BuildSlaveSupport/build.webkit.org-config/config.json: Add
1065 entries for a debug build of the WinCairo port.
1066 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add
1067 platform flag to configuration for wincairo (like gtk, chromium, etc.)
1068 * Scripts/build-webkit: Change 'cairo-win32' labeling to 'wincairo'
1069 * Scripts/webkitdirs.pm: Change 'cairo-win32' labeling to 'wincairo'
1071 2010-09-29 Adam Barth <abarth@webkit.org>
1073 Reviewed by Eric Seidel.
1075 Move more SheriffBot smarts into FailureMap
1076 https://bugs.webkit.org/show_bug.cgi?id=46703
1078 This patch pushes the FailureMap model object further into the
1079 SheriffBot machine. In addition, it moves a couple operations on this
1080 object from SheriffBot itself to the model.
1082 Eventually, FailureMap will be the canonical context object for
1083 SheriffBot operations. FailureMap represents a map of the current
1084 failures on the bots that might require remediation.
1086 * Scripts/webkitpy/common/net/failuremap.py:
1087 * Scripts/webkitpy/common/net/regressionwindow.py:
1088 * Scripts/webkitpy/tool/commands/queries.py:
1089 * Scripts/webkitpy/tool/commands/sheriffbot.py:
1090 * Scripts/webkitpy/tool/mocktool.py:
1092 2010-09-29 Tony Chang <tony@chromium.org>
1094 Reviewed by James Robinson.
1096 [chromium] enable -Werror for DRT and webkit_unit_tests on Linux
1097 https://bugs.webkit.org/show_bug.cgi?id=46829
1099 * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
1100 (DRTDevToolsClient::DRTDevToolsClient):
1101 * DumpRenderTree/chromium/TestShell.cpp:
1102 (TestShell::TestShell):
1103 * DumpRenderTree/chromium/WebViewHost.cpp:
1104 (WebViewHost::postAccessibilityNotification):
1105 (WebViewHost::WebViewHost):
1107 2010-09-29 Chris Fleizach <cfleizach@apple.com>
1109 Reviewed by Darin Adler.
1111 AX: implement CSS3 Speech "speak"
1112 https://bugs.webkit.org/show_bug.cgi?id=46827
1114 * DumpRenderTree/AccessibilityUIElement.cpp:
1116 (AccessibilityUIElement::speak):
1117 (AccessibilityUIElement::getJSClass):
1118 * DumpRenderTree/AccessibilityUIElement.h:
1119 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1120 (AccessibilityUIElement::speak):
1122 2010-09-29 Mihai Parparita <mihaip@chromium.org>
1124 Reviewed by Adam Barth.
1126 Record bot ID when updating queue status
1127 https://bugs.webkit.org/show_bug.cgi?id=46764
1129 Since we now have multiple bots handling patches from the commit queue,
1130 we need to differentiate status updates from them, so that we can group
1131 the queue status page in a less confusing way.
1133 * QueueStatusServer/handlers/updatestatus.py: Accept bot_id as input
1134 * QueueStatusServer/model/queuestatus.py: Add bot_id property
1135 * QueueStatusServer/templates/updatestatus.html: Add bot_id input
1136 * Scripts/webkitpy/common/net/bugzilla_unittest.py: Extract MockBrowser
1137 * Scripts/webkitpy/common/net/statusserver.py: Add bot_id
1138 * Scripts/webkitpy/common/net/statusserver_unittest.py: Added.
1139 * Scripts/webkitpy/tool/main.py: Add --bot-id
1140 * Scripts/webkitpy/tool/mocktool.py: Add MockBrowser
1142 2010-09-29 Simon Fraser <simon.fraser@apple.com>
1146 References always refert to a file in .xht format, even
1147 for HTML tests, so fix their loading.
1149 * CSSTestSuiteHarness/harness/harness.js:
1150 (TestSuite.prototype.loadRef):
1152 2010-09-28 Johnny Ding <jnd@chromium.org>
1154 Reviewed by Adam Barth.
1156 https://bugs.webkit.org/show_bug.cgi?id=41292
1157 Add a new parameter to the test plugin to allow specifying a script
1158 and a mouse/keyboard event. The specified script will be evaluated
1159 in the browser when the specified event is received by the plugin.
1161 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1163 * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
1164 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1166 (handleEventCarbon):
1169 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1171 Fix export by adding missing argument.
1173 * CSSTestSuiteHarness/harness/harness.js:
1174 (TestSuite.prototype.showResultsForAllTests):
1176 2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
1178 [wx] Build fix, add missing import.
1180 * wx/packaging/build-win-installer.py:
1182 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1186 Show which tests have been run by dimming them out in the test list.
1188 Adjust some element sizes.
1190 * CSSTestSuiteHarness/harness/harness.css:
1191 (#test-list > option.untested):
1192 (#test-list > option.completed):
1195 * CSSTestSuiteHarness/harness/harness.js:
1197 (TestSuite.prototype.fillTestList):
1198 (TestSuite.prototype.updateTestList):
1199 (TestSuite.prototype.setSelectedChapter):
1200 (TestSuite.prototype.recordResult):
1201 (TestSuite.prototype.markTestCompleted):
1202 (TestSuite.prototype.testCompletionStateChanged):
1203 (TestSuite.prototype.loadTestStatus):
1205 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1209 Implement export of various queries on the test database, sharing
1210 code with that which displays results inline.
1212 * CSSTestSuiteHarness/harness/harness.js:
1214 (TestSuite.prototype.exportResultsCompletion.var):
1215 (TestSuite.prototype.exportResultsCompletion):
1216 (TestSuite.prototype.showResultsForCompletedTests):
1217 (TestSuite.prototype.exportResultsForCompletedTests):
1218 (TestSuite.prototype.showResultsForAllTests):
1219 (TestSuite.prototype.exportResultsForAllTests):
1220 (TestSuite.prototype.exportResultsForTestsNotRun):
1221 (TestSuite.prototype.exportResultsForTestsWithStatus):
1222 (TestSuite.prototype.exportResultsForTestsWithMismatchedResults):
1224 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1228 Work around uncertainty about the order of database
1229 transactions when creating the database, so that we don't
1230 try to query the table before it has been created.
1232 * CSSTestSuiteHarness/harness/harness.js:
1234 (TestSuite.prototype.databaseCreated):
1235 (TestSuite.prototype.storeTestResult):
1236 (TestSuite.prototype.populateDatabaseFromTestInfoData):
1237 (TestSuite.prototype.queryDatabaseForTestsWithStatus):
1238 (TestSuite.prototype.queryDatabaseForTestsWithMixedStatus):
1239 (TestSuite.prototype.queryDatabaseForCompletedTests):
1240 (TestSuite.prototype.queryDatabaseForTestsNotRun):
1242 2010-09-28 Tony Chang <tony@chromium.org>
1244 Reviewed by Eric Seidel.
1246 add python keyring support to webkit-patch
1247 https://bugs.webkit.org/show_bug.cgi?id=41269
1249 * Scripts/webkitpy/common/net/credentials.py: Add the ability to read passwords using
1250 the python keyring module
1251 * Scripts/webkitpy/common/net/credentials_unittest.py:
1252 * Scripts/webkitpy/common/system/user.py: Allow confirm() to default to no and add testing params.
1253 * Scripts/webkitpy/common/system/user_unittest.py:
1254 * Scripts/webkitpy/tool/mocktool.py:
1256 2010-09-28 Martin Robinson <mrobinson@igalia.com>
1258 Reviewed by Gustavo Noronha Silva.
1260 [Cairo] FreeType fonts should obey FontConfig hinting/anti-aliasing settings
1261 https://bugs.webkit.org/show_bug.cgi?id=46740
1263 * DumpRenderTree/gtk/fonts/fonts.conf: Add specialized variants of common
1264 fonts which can be used to fully test FontConfig rendering settings.
1266 2010-09-28 Martin Robinson <mrobinson@igalia.com>
1268 Reviewed by Gustavo Noronha Silva.
1270 [gtk] Fedora has a different path for the liberation fonts
1271 https://bugs.webkit.org/show_bug.cgi?id=46709
1273 When searching for DRT fonts, also look in the path where those fonts
1274 are commonly found on Fedora systems.
1276 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1277 (initializeFonts): Include logic for looking for Fedora-style font paths.
1279 2010-09-28 Martin Robinson <mrobinson@igalia.com>
1281 Reviewed by Andreas Kling.
1283 run-webkit-tests needs an updated list of directories with webgl tests
1284 https://bugs.webkit.org/show_bug.cgi?id=46747
1286 Update the list of directories containing WebGL tests and a unit test
1287 which depends on this list.
1289 * Scripts/old-run-webkit-tests: Update the list of directories.
1290 * Scripts/webkitpy/layout_tests/port/webkit.py: Ditto.
1291 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Update the expected result.
1293 2010-09-28 Adam Barth <abarth@webkit.org>
1295 Reviewed by Eric Seidel.
1297 Introduce FailureMap to summaries the failures status of all the bots
1298 https://bugs.webkit.org/show_bug.cgi?id=46700
1300 This patch gives the SheriffBot a handle on the list of failing tests.
1302 * Scripts/webkitpy/common/net/buildbot.py:
1303 * Scripts/webkitpy/common/net/failuremap.py: Added.
1304 * Scripts/webkitpy/tool/commands/queries.py:
1305 * Scripts/webkitpy/tool/commands/sheriffbot.py:
1306 * Scripts/webkitpy/tool/mocktool.py:
1308 2010-09-28 Adam Roben <aroben@apple.com>
1310 Update for the addition of WKPageUIClient::didNotHandleKeyEvent
1312 Fixes <http://webkit.org/b/46660> <rdar://problem/8483465> Need API to
1313 tell a WebKit2 client application that a key event was not handled
1315 Reviewed by Kenneth Rohde Christiansen and Sam Weinig.
1317 * MiniBrowser/mac/BrowserWindowController.m:
1318 (-[BrowserWindowController awakeFromNib]):
1319 * MiniBrowser/win/BrowserView.cpp:
1320 (BrowserView::create):
1321 * WebKitTestRunner/TestController.cpp:
1322 (WTR::createOtherPage):
1323 (WTR::TestController::initialize):
1325 2010-09-28 Simon Fraser <simon.fraser@apple.com>
1329 Update the CSSTestSuiteHarness to not scrape the XHTML chapter files
1330 for the test order, but instead use information from testinfo.data.
1332 * CSSTestSuiteHarness/harness/harness.html:
1333 * CSSTestSuiteHarness/harness/harness.js:
1335 2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
1337 [wx] Build fix, don't try to get the svn revision from the git repo when packaging,
1338 it causes the process to hang on the gitorious repo.
1340 * wx/packaging/build-mac-installer.py:
1341 * wx/packaging/build-win-installer.py:
1343 2010-09-28 Adam Roben <aroben@apple.com>
1345 Test that a plugin's HWND is sized/positioned before NPP_SetWindow is
1348 Reviewed by Anders Carlsson.
1350 Test for <http://webkit.org/b/46716> <rdar://problem/8482014>
1351 Full-page Adobe Reader does not paint until window is resized
1353 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
1354 (PluginTest::NPP_SetWindow): Added. Just returns NPERR_NO_ERROR at
1357 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Declared
1360 * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp: Added.
1361 (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Checks that
1362 the plugin's HWND has a non-zero size and that its size/position
1363 matches that specified in the NPWindow.
1365 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1366 (NPP_SetWindow): Call through to the PluginTest.
1368 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1369 Added WindowGeometryInitializedBeforeSetWindow.cpp, and let VS reorder
1370 the files as it saw fit.
1372 2010-09-28 Benjamin Poulain <benjamin.poulain@nokia.com>
1374 Reviewed by Andreas Kling.
1376 [Qt] Remove support for Qt 4.5
1377 https://bugs.webkit.org/show_bug.cgi?id=46718
1379 Remove the code for versions of Qt prior to 4.6.
1381 * DumpRenderTree/qt/EventSenderQt.cpp:
1382 (EventSender::addTouchPoint):
1383 (EventSender::updateTouchPoint):
1384 (EventSender::setTouchModifier):
1385 (EventSender::touchStart):
1386 (EventSender::touchMove):
1387 (EventSender::touchEnd):
1388 (EventSender::clearTouchPoints):
1389 (EventSender::releaseTouchPoint):
1390 (EventSender::sendTouchEvent):
1391 * DumpRenderTree/qt/EventSenderQt.h:
1392 * DumpRenderTree/qt/TextInputControllerQt.cpp:
1393 (TextInputController::setMarkedText):
1394 * QtTestBrowser/launcherwindow.cpp:
1395 (LauncherWindow::LauncherWindow):
1396 (LauncherWindow::initializeView):
1397 (LauncherWindow::createChrome):
1398 (LauncherWindow::sendTouchEvent):
1399 (LauncherWindow::eventFilter):
1400 (LauncherWindow::applyZoom):
1401 (LauncherWindow::setTouchMocking):
1402 * QtTestBrowser/launcherwindow.h:
1403 * QtTestBrowser/utils.cpp:
1405 * QtTestBrowser/webview.cpp:
1406 (WebViewGraphicsBased::animatedFlip):
1407 (WebViewGraphicsBased::animatedYFlip):
1408 * QtTestBrowser/webview.h:
1409 (WebViewGraphicsBased::setYRotation):
1411 2010-09-28 İsmail Dönmez <ismail@namtrac.org>
1413 Reviewed by Andreas Kling.
1415 Fix DRT compilation on WinCE. Introduce a WCECOMPAT variable
1416 which should point to wcecompat installation. Needs wcecompat
1417 library from http://github.com/mauricek/wcecompat .
1419 * DumpRenderTree/qt/DumpRenderTree.pro:
1420 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1421 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1423 2010-09-28 Daniel Bates <dbates@rim.com>
1425 Rollout changeset 68493 <http://trac.webkit.org/changeset/68493>
1426 <https://bugs.webkit.org/show_bug.cgi?id=39136>
1428 Rollout changeset 68493 because it broke Sheriffbot's rollout feature.
1429 In particular, this change caused Sheriffbot to raise an exception when
1430 trying to parse the bug id on a bug page. We need to look into this
1433 * Scripts/webkitpy/common/net/bugzilla.py:
1434 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
1435 * Scripts/webkitpy/tool/bot/sheriff.py:
1436 * Scripts/webkitpy/tool/commands/download.py:
1437 * Scripts/webkitpy/tool/commands/queues.py:
1438 * Scripts/webkitpy/tool/commands/upload.py:
1439 * Scripts/webkitpy/tool/steps/closebug.py:
1440 * Scripts/webkitpy/tool/steps/obsoletepatches.py:
1441 * Scripts/webkitpy/tool/steps/preparechangelog.py:
1442 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
1444 2010-09-28 Adam Barth <abarth@webkit.org>
1446 Reviewed by Eric Seidel.
1448 Move RegressionWindow further up the dependency chain
1449 https://bugs.webkit.org/show_bug.cgi?id=46698
1451 Baby steps towards pushing this information into bug posts.
1453 * Scripts/webkitpy/common/net/buildbot.py:
1454 * Scripts/webkitpy/common/net/buildbot_unittest.py:
1455 * Scripts/webkitpy/common/net/regressionwindow.py:
1456 * Scripts/webkitpy/tool/commands/queries.py:
1458 2010-09-27 Daniel Bates <dbates@rim.com>
1460 Reviewed by Adam Barth.
1462 sheriffbot can't roll out security patches
1463 https://bugs.webkit.org/show_bug.cgi?id=39136
1465 Make SheriffBot determine if it's authorized to view a bug
1466 whose change it wants to rollout before it tries to rollout
1469 Moreover, make both webkit-patch and Sheriffbot provide human-
1470 readable error messages when they are not authorized to view
1471 a bug and when a bug number is invalid.
1473 Currently, Sheriffbot does not parse Bugzilla bugs for
1474 <bug error="...">, which indicates an error when retrieving
1475 a bug. In particular, error="NotPermitted" if a person (or bot)
1476 is not authorized to view a bug. For such error="NotPermitted" bugs,
1477 Sheriffbot raises an exception when parsing the bug report and
1478 this exception does not explicitly indicate Sheriffbot's lack
1479 of authorization. Instead, Sheriffbot should explicitly check
1480 for the presence <bug error="..."> before operating on a bug
1481 and error with a human-readable message if it's not permitted
1484 * Scripts/webkitpy/common/net/bugzilla.py: Added BugzillaError class.
1485 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
1486 - Added unit test test_bug_parsing_for_bugzilla_not_permitted_error().
1487 - Added unit test test_bug_parsing_for_bugzilla_not_found_error().
1488 - Added unit test test_bug_parsing_for_bugzilla_invalid_bug_id_error().
1489 * Scripts/webkitpy/tool/bot/sheriff.py: Modified to catch BugzillaError.
1490 * Scripts/webkitpy/tool/commands/download.py: Ditto.
1491 * Scripts/webkitpy/tool/commands/queues.py: Ditto.
1492 * Scripts/webkitpy/tool/commands/upload.py: Ditto.
1493 * Scripts/webkitpy/tool/steps/closebug.py: Ditto.
1494 * Scripts/webkitpy/tool/steps/obsoletepatches.py: Ditto.
1495 * Scripts/webkitpy/tool/steps/preparechangelog.py: Ditto.
1496 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: Ditto.
1498 2010-09-27 Adam Barth <abarth@webkit.org>
1500 Reviewed by Eric Seidel.
1502 Expose more more failure information from Buildbot to SheriffBot
1503 https://bugs.webkit.org/show_bug.cgi?id=46697
1505 This patch moves the information about what tests failured closer to
1506 SheriffBot. There are still a couple more patches to go before
1507 SheriffBot can post this information to bugs, but this is a step in
1508 that direction. Yay for unit tests, which caught some bugs in earlier
1509 versions of this patch.
1511 * Scripts/webkitpy/common/net/buildbot.py:
1512 * Scripts/webkitpy/common/net/buildbot_unittest.py:
1513 * Scripts/webkitpy/common/net/regressionwindow.py: Added.
1514 * Scripts/webkitpy/tool/commands/queries.py:
1516 2010-09-27 Eric Seidel <eric@webkit.org>
1518 Unreviewed. Fixing 500 error seen in the status server.
1520 It turns out that a = b = []; b.append(1); then a[0] will be 1!
1521 This should have been obvious to me, I guess, but it was not what I was expecting.
1523 * QueueStatusServer/model/activeworkitems.py:
1525 2010-09-27 Adam Barth <abarth@webkit.org>
1527 Reviewed by Eric Seidel.
1529 commit-queue should reject patches that fail to land
1530 https://bugs.webkit.org/show_bug.cgi?id=46694
1532 This can happen, for example, if there's no reviewer. Without this
1533 patch, we'll keep retrying the patch.
1535 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1536 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1538 2010-09-27 Simon Fraser <simon.fraser@apple.com>
1540 Rubber-stamped by Adele Peterson.
1542 Add a harness for running the CSS 2.1 test suite.
1544 This harness assumes that you've got a local a copy of the suite
1545 adjacent to the 'harness' directory.
1547 The harness lets you go through the tests in chapter order,
1548 denoting pass/fail/skipped for each test.
1550 It uses a client-side database to store the results of testing.
1552 * CSSTestSuiteHarness/harness/harness.css: Added.
1553 * CSSTestSuiteHarness/harness/harness.html: Added.
1554 * CSSTestSuiteHarness/harness/harness.js: Added.
1556 2010-09-27 Eric Seidel <eric@webkit.org>
1558 Reviewed by Adam Barth.
1560 Patch locks should expire if a patch is marked for retry
1561 https://bugs.webkit.org/show_bug.cgi?id=46682
1563 This was part Adam's original CommitQueueTask design,
1564 but support for it was missing from the server.
1565 I added the support, but triggering lock-release based on this
1566 special "retry" status feels a bit strange so I added a FIXME.
1568 I also changed the text in queuestatus.html to say "Lock Acquired"
1569 since "Last Activity" isn't really true. We only update the lock
1570 date when the patch is started, not on every status update.
1572 I also noticed an exception in next-patch, which I fixed by re-writing
1573 the unzip logic in activeworkitems.py again.
1575 * QueueStatusServer/handlers/updatestatus.py:
1576 * QueueStatusServer/model/activeworkitems.py:
1577 * QueueStatusServer/templates/queuestatus.html:
1579 2010-09-27 Tony Chang <tony@chromium.org>
1581 Reviewed by David Levin.
1583 [chromium] fix a warning when compiling DRT on 32-bit linux
1584 https://bugs.webkit.org/show_bug.cgi?id=46641
1586 * DumpRenderTree/chromium/TestEventPrinter.cpp:
1587 (DRTPrinter::handleImage):
1589 2010-09-27 Eric Seidel <eric@webkit.org>
1591 Reviewed by Adam Barth.
1593 queue-status should report when the patch was last locked to a queue
1594 https://bugs.webkit.org/show_bug.cgi?id=46674
1596 This isn't necessarily the best way to expose this information
1597 but having this accessible via the web interface is very
1598 useful until we come up with a nicer way to display this.
1600 I also cleaned up the code in activeworkitems.py a little
1601 to use list comprehensions and to have the code work with
1602 pairs instead of two lists at once. Eventually I think those
1603 item/time pairs need to be their own little helper class.
1605 * QueueStatusServer/handlers/queuestatus.py:
1606 * QueueStatusServer/model/activeworkitems.py:
1607 * QueueStatusServer/templates/queuestatus.html:
1609 2010-09-27 Tony Chang <tony@chromium.org>
1611 Reviewed by David Levin.
1613 [chromium] fix detection of missing fonts on DRT
1614 https://bugs.webkit.org/show_bug.cgi?id=46651
1616 * DumpRenderTree/chromium/TestShellGtk.cpp:
1617 (setupFontconfig): Only print an error message if lohit isn't found in both locations.
1619 2010-09-27 Tony Chang <tony@chromium.org>
1621 Reviewed by Dimitri Glazkov.
1623 add webkit unit tests to the chromium testers
1624 https://bugs.webkit.org/show_bug.cgi?id=46669
1626 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1627 * Scripts/run-chromium-webkit-unit-tests: Fix a bug where we weren't using the right configuration.
1629 2010-09-27 Kwang Yul Seo <skyul@company100.net>
1633 Adding myself to the committers list.
1635 * Scripts/webkitpy/common/config/committers.py:
1637 2010-09-27 Mihai Parparita <mihaip@chromium.org>
1639 Reviewed by Eric Seidel.
1641 webkitpy.common.system.user_unittest.UserTest.test_prompt_with_list spams the console
1642 https://bugs.webkit.org/show_bug.cgi?id=46634
1644 Use OutputCapture to prevent console spam (and also check for expected
1647 * Scripts/webkitpy/common/system/user_unittest.py:
1649 2010-09-27 Eric Seidel <eric@webkit.org>
1651 Reviewed by James Robinson.
1653 start-commit-queue should abort any rebases in progress
1654 https://bugs.webkit.org/show_bug.cgi?id=46640
1656 webkit-patch commit-queue would do this itself, but this just
1657 helps ensure that the commit-queue script is properly updated
1658 before we run it (in the case where a previous rebase is in
1659 progress the git svn rebase would not work before we run the
1662 * EWSTools/start-commit-queue.sh:
1664 2010-09-18 Martin Robinson <mrobinson@igalia.com>
1666 Reviewed by Gustavo Noronha Silva.
1668 [GTK] Clean up the DRT fonts.conf and switch to Liberation
1669 https://bugs.webkit.org/show_bug.cgi?id=46038
1671 Switch to Liberation fonts for GTK+ layout tests. This will make our
1672 test results metric-compatible with many Windows/Chromium results. It
1673 also simplifies the fonts.conf that we load and prepares the way for
1674 fixing many font bugs.
1676 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1677 (initializeFonts): Initialize a known list of fonts instead of loading
1678 every font in the WEBKIT_TESTFONTS directory.
1679 * DumpRenderTree/gtk/fonts.conf: Removed.
1680 * DumpRenderTree/gtk/fonts/AHEM____.TTF: Copied from WebKitTools/DumpRenderTree/qt/fonts/AHEM____.TTF.
1681 * DumpRenderTree/gtk/fonts/fonts.conf: Added.
1682 * GNUmakefile.am: Modify FONTS_CONF_FILE to be FONTS_CONF_DIR, so that
1683 we can load both fonts.conf and AHEM____.TTF from this location.
1684 * Scripts/old-run-webkit-tests: Remove the check for WEBKIT_TESTFONTS, since
1685 it is no longer used.
1687 2010-09-26 Mihai Parparita <mihaip@chromium.org>
1689 Reviewed by Ojan Vafai.
1691 new-run-webkit-httpd fails if Perl is not installed
1692 https://bugs.webkit.org/show_bug.cgi?id=46602
1694 Make Port._read_configuration catch all exceptions, since trying to run
1695 perl (because of _webkit_build_directory) when it's not installed throws
1696 a WindowsError or OSError, not an IOError (this became an issue after
1697 r68268, since ChromiumPort ends up calling Port.default_configuration in
1698 its constructor, which means that we're ending up on this codepath in
1699 non-NRWT cases too, e.g. for the Chromium NaCl tests, which use
1700 new-run-webkit-httpd).
1702 * Scripts/webkitpy/layout_tests/port/base.py:
1703 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1705 2010-09-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1707 Reviewed by Antonio Gomes.
1709 [EFL] Add setting API to set a local storage database path.
1710 https://bugs.webkit.org/show_bug.cgi?id=45446
1712 Add a setting API to set local storage database path.
1714 * EWebLauncher/main.c:
1719 2010-09-26 Sam Weinig <sam@webkit.org>
1721 Reviewed by Anders Carlsson.
1723 Move shared WebKit2 API (used by both bundle and main API) to WebKit2/Shared/API
1724 https://bugs.webkit.org/show_bug.cgi?id=46587
1726 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1728 2010-09-26 Antonio Gomes <agomes@rim.com>
1730 Reviewed by Kenneth Rohde Christiansen.
1732 DRT/Mac nodesFromRect support
1734 [Mac][DRT] Implement LayoutTestController::nodesFromRect
1735 https://bugs.webkit.org/show_bug.cgi?id=46580
1737 Implements LayoutTestController::nodesFromRect for Mac DRT, and
1738 adding stubs for GTK+ and Windows.
1740 * DumpRenderTree/LayoutTestController.cpp:
1741 (nodesFromRectCallback):
1742 (LayoutTestController::staticFunctions):
1743 * DumpRenderTree/LayoutTestController.h:
1744 (LayoutTestController::LayoutTestController::nodesFromRect):
1745 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1746 (LayoutTestController::nodesFromRect):
1748 2010-09-25 Nicolas Weber <thakis@chromium.org>
1750 Reviewed by Adam Barth.
1752 https://bugs.webkit.org/show_bug.cgi?id=46555
1753 Fix typo in prepare-ChangeLog's help output.
1755 * Scripts/prepare-ChangeLog:
1757 2010-09-24 Sam Weinig <sam@webkit.org>
1759 Reviewed by Darin Adler.
1761 Implement WebKit2 callback equivalent to -[WebUIDelegate mouseDidMoveOverElement:modifierFlags:]
1762 <rdar://problem/8359279>
1763 https://bugs.webkit.org/show_bug.cgi?id=46546
1765 * MiniBrowser/mac/BrowserWindowController.m:
1766 (mouseDidMoveOverElement):
1767 (-[BrowserWindowController awakeFromNib]):
1768 * MiniBrowser/win/BrowserView.cpp:
1769 (mouseDidMoveOverElement):
1770 (BrowserView::create):
1771 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1772 (WTR::InjectedBundlePage::InjectedBundlePage):
1773 * WebKitTestRunner/TestController.cpp:
1774 (WTR::createOtherPage):
1775 (WTR::TestController::initialize):
1777 2010-09-24 Mihai Parparita <mihaip@chromium.org>
1779 Reviewed by Adam Barth.
1781 Allow rebaselines for webkit-patch rebaseline to be chosen
1782 https://bugs.webkit.org/show_bug.cgi?id=46407
1784 Instead of always rebaselining all failing tests, allow a subset to be
1787 * Scripts/webkitpy/common/system/user.py:
1788 * Scripts/webkitpy/tool/commands/rebaseline.py:
1790 2010-09-24 Ryosuke Niwa <rniwa@webkit.org>
1792 Reviewed by Tony Chang.
1794 [chromium] Implement TextInputController::firstRectForCharacterRange
1795 https://bugs.webkit.org/show_bug.cgi?id=38100
1797 Implemented TextInputController::firstRectForCharacterRange for chromium platform.
1798 No new tests are added since we need to implement the same feature in chromium side
1799 in order to enable any tests that uses this function.
1801 * DumpRenderTree/chromium/TextInputController.cpp:
1802 (TextInputController::firstRectForCharacterRange): Added.
1804 2010-09-24 Adam Barth <abarth@webkit.org>
1806 Reviewed by Eric Seidel.
1808 commit-queue reports land failures as "PASS"
1809 https://bugs.webkit.org/show_bug.cgi?id=46530
1811 We were ignoring the return value of land instead of passing it back to
1812 CommitQueue. Of course, this was the one case I forgot to test!
1814 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
1815 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
1817 2010-09-24 Kenichi Ishibashi <bashi@google.com>
1819 Reviewed by Eric Seidel.
1821 new-run-webkit-tests prints out nothing when build-dumprendertree fails
1822 https://bugs.webkit.org/show_bug.cgi?id=37563
1824 Print error message when build-dumprendertree fails.
1826 * Scripts/webkitpy/layout_tests/port/webkit.py:
1827 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1829 2010-09-24 Mihai Parparita <mihaip@chromium.org>
1831 Reviewed by Tony Chang.
1833 NRWT doesn't respect config set with set-webkit-configuration
1834 https://bugs.webkit.org/show_bug.cgi?id=46278
1836 Use Port.default_configuration() instead of hardcoding Release in
1837 ChromiumPort configuration initialization, so that we still inherit the
1838 configuration set by set-webkit-configuration.
1840 * Scripts/webkitpy/layout_tests/port/chromium.py:
1841 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
1843 2010-09-24 Chang Shu <chang.shu@nokia.com>
1845 Reviewed by Csaba Osztrogonác.
1847 [Qt] Fix the code to check file existence.
1848 https://bugs.webkit.org/show_bug.cgi?id=46465
1850 * QtTestBrowser/main.cpp:
1853 2010-09-23 Tony Chang <tony@chromium.org>
1855 Unreviewed, rolling out r68232.
1856 http://trac.webkit.org/changeset/68232
1858 Broken NRWT on the canary bots.
1860 * Scripts/webkitpy/layout_tests/port/chromium.py:
1862 2010-09-23 Dirk Pranke <dpranke@chromium.org>
1864 Unreviewed, build fix.
1866 r68008 broke new-run-webkit-tests in that the chromium ports no
1867 longer respect set-webkit-configuration. The correct fix for this
1868 is being pursued in bug 46278 (along with a bunch of unit tests),
1869 but in the meantime I'm reverting the particular lines that broke
1870 things. This was tested by hand.
1872 * Scripts/webkitpy/layout_tests/port/chromium.py:
1874 2010-09-23 Sam Weinig <sam@webkit.org>
1876 Reviewed by Anders Carlsson.
1878 WebKit2 API: Need way to know when a frame is removed from the hierarchy
1879 <rdar://problem/8414062>
1880 https://bugs.webkit.org/show_bug.cgi?id=46432
1882 * MiniBrowser/mac/BrowserWindowController.m:
1883 (didRemoveFrameFromHierarchy):
1884 (-[BrowserWindowController awakeFromNib]):
1885 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1886 (WTR::InjectedBundlePage::InjectedBundlePage):
1887 * WebKitTestRunner/TestController.cpp:
1888 (WTR::TestController::initialize):
1890 2010-09-23 Tony Chang <tony@chromium.org>
1892 Reviewed by Dimitri Glazkov.
1894 [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime
1895 https://bugs.webkit.org/show_bug.cgi?id=46426
1897 * DumpRenderTree/chromium/LayoutTestController.cpp:
1898 (LayoutTestController::LayoutTestController):
1899 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1900 * DumpRenderTree/chromium/LayoutTestController.h:
1902 2010-09-23 Martin Robinson <mrobinson@igalia.com>
1904 Reviewed by Nate Chapin.
1906 [GTK] r68199 introduced two test failures
1907 https://bugs.webkit.org/show_bug.cgi?id=46424
1909 Fix a regression handling preference overrides that are attached to boolean properties.
1911 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1912 (LayoutTestController::overridePreference): g_strcasecmp returns 0 when strings match
1913 so we must check for that when converting a string to a boolean.
1915 2010-09-23 Dimitri Glazkov <dglazkov@chromium.org>
1917 Reviewed by David Levin.
1919 Fix a condition check in ServerProcess, which becomes relevant when reading binary data.
1920 https://bugs.webkit.org/show_bug.cgi?id=46406
1922 This breaks when the method is called with specified size of data (image data), and the
1923 buffer hasn't yet reached this size.
1925 * Scripts/webkitpy/layout_tests/port/server_process.py: Changed to check for values of
1926 index larger than 0.
1928 2010-09-23 Martin Robinson <mrobinson@igalia.com>
1930 Reviewed by Nate Chapin.
1932 [GTK] Some tests from r68174 fail on the GTK+ bots
1933 https://bugs.webkit.org/show_bug.cgi?id=46396
1935 Simplify LayoutTestController::overridePreference to make it easier for
1936 people unfamiliar with the code to keep the list of preferences up to date.
1937 Add the conversion for enable-hyperlink-auditing.
1939 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1940 (LayoutTestController::overridePreference): Use a simple if-else block to determine
1941 out the property name for overrridePreference. Also simplify the logic for setting
1942 string properties. Add the conversion for enable-hyperlink-auditing.
1944 2010-09-23 Tony Chang <tony@chromium.org>
1946 Reviewed by David Levin.
1948 [chromium] add caretBrowsingEnabled to WebSettings and DRT
1949 https://bugs.webkit.org/show_bug.cgi?id=46388
1951 * DumpRenderTree/chromium/LayoutTestController.cpp:
1952 (LayoutTestController::overridePreference):
1953 * DumpRenderTree/chromium/WebPreferences.cpp:
1954 (WebPreferences::reset):
1955 (WebPreferences::applyTo):
1956 * DumpRenderTree/chromium/WebPreferences.h:
1958 2010-09-23 Nate Chapin <japhet@chromium.org>
1960 Reviewed by Darin Fisher.
1962 Allow DRT to toggle hyperlink auditing (i.e., <a ping>).
1963 https://bugs.webkit.org/show_bug.cgi?id=30458
1965 * DumpRenderTree/chromium/LayoutTestController.cpp:
1966 (LayoutTestController::overridePreference):
1967 * DumpRenderTree/chromium/WebPreferences.cpp:
1968 (WebPreferences::reset):
1969 (WebPreferences::applyTo):
1970 * DumpRenderTree/chromium/WebPreferences.h:
1971 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1972 (resetDefaultsToConsistentValues):
1973 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1974 (LayoutTestController::overridePreference):
1976 2010-09-21 Stephen White <senorblanco@chromium.org>
1978 Reviewed by David Levin.
1980 Implement --enable-accelerated-2d-canvas flag in DumpRenderTree.
1981 https://bugs.webkit.org/show_bug.cgi?id=46208
1983 This flag allows the layout tests to be run with or without accelerated
1984 2D canvas rendering.
1986 * DumpRenderTree/chromium/DumpRenderTree.cpp:
1988 Declare the new flag string, and check for it on startup.
1989 * DumpRenderTree/chromium/TestShell.cpp:
1990 (TestShell::TestShell):
1991 Add a boolean for the new flag, in order to preserve its value over
1993 (TestShell::resetWebSettings):
1994 Set the new flag to the stored value on reset.
1995 * DumpRenderTree/chromium/TestShell.h:
1996 (TestShell::setAccelerated2dCanvasEnabled):
1997 Add an accessor for the new flag.
1998 * DumpRenderTree/chromium/WebPreferences.cpp:
1999 (WebPreferences::reset):
2000 Initialize the new flag to false.
2001 (WebPreferences::applyTo):
2002 Copy the flag's value to the WebSettings.
2003 * DumpRenderTree/chromium/WebPreferences.h:
2006 2010-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2008 Reviewed by Simon Hausmann.
2010 [Qt] Refactor QtWebKitPlatformPlugin interface
2012 Make it easier to keep source-compability for the
2013 QtWebKitPlatformPlugin interface, and run qmake
2014 on the example (but not build) for convenience.
2016 https://bugs.webkit.org/show_bug.cgi?id=46345
2018 * Scripts/webkitdirs.pm:
2020 2010-09-23 Adam Barth <abarth@webkit.org>
2022 Reviewed by Eric Seidel.
2024 Tweak some status messages that Eric thought were confusing
2025 https://bugs.webkit.org/show_bug.cgi?id=46342
2027 * Scripts/webkitpy/tool/commands/queues.py:
2028 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2030 2010-09-22 Adam Barth <abarth@webkit.org>
2032 Reviewed by Eric Seidel.
2035 https://bugs.webkit.org/show_bug.cgi?id=46339
2037 We were missing a "self". The real problem is that we didn't have an
2038 integration test for the failure case.
2040 * Scripts/webkitpy/tool/commands/queues.py:
2041 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2043 2010-09-22 Adam Barth <abarth@webkit.org>
2045 Reviewed by Eric Seidel.
2047 commit-queue should log more detailed messages to the QueueStatusServer
2048 https://bugs.webkit.org/show_bug.cgi?id=46333
2050 When I created CommitQueueTask, I removed most of the previous logging.
2051 This patch adds back more detailed logging so folks can see their patch
2052 progress through the queue.
2054 * Scripts/webkitpy/tool/bot/commitqueuetask.py:
2055 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
2056 * Scripts/webkitpy/tool/commands/queues.py:
2057 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2059 2010-09-22 Mihai Parparita <mihaip@chromium.org>
2061 Reviewed by Darin Fisher.
2063 [Chromium] User style layout tests don't pass on Chromium
2064 https://bugs.webkit.org/show_bug.cgi?id=46069
2066 Fix a typo in LayoutTestController::addUserStyleSheet that was causing a
2067 crash the Chromium DRT. Pass InjectInExistingDocuments to mimic DRT
2068 behavior from other ports.
2070 * DumpRenderTree/chromium/LayoutTestController.cpp:
2071 (LayoutTestController::addUserStyleSheet):
2073 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
2075 Reviewed by Martin Robinson.
2077 [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
2078 https://bugs.webkit.org/show_bug.cgi?id=46303.
2080 * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops: Added.
2081 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Moved
2082 CoreFoundation-specific stuff to new MiniBrowserCoreFoundation
2084 * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops: Added.
2085 * MiniBrowser/MiniBrowser.vcproj: Updated configuration to use
2086 appropriate property sheet for the build types.
2087 * WebKitTestRunner/win/WebKitTestRunner.vcproj: Updated the
2088 configuration to use appropriate property sheet for CoreFoundation
2089 and CFLite-style builds.
2091 2010-09-22 Adam Barth <abarth@webkit.org>
2093 Reviewed by Eric Seidel.
2095 Optimize commit-queue performance for green trees
2096 https://bugs.webkit.org/show_bug.cgi?id=46254
2098 This patch redesigns the controller logic for the commit-queue. In the
2099 new design, the controller exercises much finer-grained control over
2100 the landing process. In particular:
2102 - Patches that fail to apply now get rejected almost immediately.
2103 - Patches that fail to build get rejects after two builds (instead of
2104 three builds and one test run).
2105 - Patches that run into a flaky test now get accepted after one build
2106 and two test runs instead of three full build-and-test runs.
2108 The main cost of these optimizations is that we don't find out the tree
2109 has a failing test until the very end of the process, but if the tree
2110 has a busted test, there's not much we can do anyway. We might as well
2111 burn commit-queue resources spinning optimisticly.
2113 * Scripts/webkitpy/tool/bot/commitqueuetask.py: Added.
2114 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py: Added.
2115 * Scripts/webkitpy/tool/commands/queues.py:
2117 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
2119 Reviewed by Martin Robinson.
2121 [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.
2122 https://bugs.webkit.org/show_bug.cgi?id=46303.
2124 * DumpRenderTree/win/DumpRenderTree.vcproj: Disable local MD5 sources
2125 for Cairo build. Copy wtf MD5 header to ForwardingHeaders for the
2127 * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops: Added.
2128 * WebKitTestRunner/win/InjectedBundle.vcproj: Update win new *_Cairo
2129 build targets that use the new InjectedBundleCFLite.vsprops file.
2131 2010-09-22 Dirk Pranke <dpranke@chromium.org>
2133 Unreviewed, build fix.
2135 Fix bustage of rebaseline-chromium-webkit-tests resulting from
2136 r67974. Really need better unit tests for this tool :(
2138 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2140 2010-09-22 Adam Roben <aroben@apple.com>
2142 Unbreak test-webkitpy
2144 * Scripts/webkitpy/test/main.py:
2145 (Tester.run_tests): Add a line that mysteriously got deleted.
2147 2010-09-22 Adam Roben <aroben@apple.com>
2149 Make test-webkitpy test WebKit2's scripts
2151 These scripts can't be in WebKitTools due to limitations of Apple's
2152 build process. But that doesn't mean we can't test them!
2154 Fixes <http://webkit.org/b/46297> test-webkitpy should test code in
2157 Reviewed by Adam Barth.
2159 * Scripts/test-webkitpy:
2160 (_clean_packages_with_test): Renamed from _clean_webkitpy_with_test.
2161 Now takes an external_package_paths parameter and cleans both webkitpy
2162 and any external packages.
2163 (init): Added an external_package_paths parameter which we pass along
2164 to _clean_packages_with_test.
2165 (top level): Add WebKit2/Scripts/webkit2 as our only external package
2166 and pass it along to init and Tester.run_tests.
2168 * Scripts/webkitpy/test/main.py:
2169 (Tester.run_tests): Added an optional external_package_paths
2170 parameter. We modify sys.path so that the external packages can be
2171 imported, and search for unittest files inside all external packages
2172 in addition to inside webkitpy.
2174 2010-09-22 Dirk Pranke <dpranke@chromium.org>
2176 Reviewed by Tony Chang.
2178 new-run-webkit-tests: r68063 broke linux python tests
2180 Add a missing "from __future__ import with_statement" to this
2181 new file; the perils of testing only on the Mac and by review :(
2183 https://bugs.webkit.org/show_bug.cgi?id=46293
2185 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
2187 2010-09-22 Dirk Pranke <dpranke@chromium.org>
2189 Reviewed by Tony Chang.
2191 Add a 'chromium-gpu' set of ports that will test the accelerated
2192 GPU paths. This patch adds:
2194 - support for the '--accelerated-compositing' and
2195 'accelerated-2d-canvas' flags to new-run-webkit-tests (and the
2197 - adds a new set of Ports that will look under
2198 platform/chromium-gpu-$OS/ for baselines before looking in the
2199 regular chromium search path
2200 - adds a new test_expectations.txt file in platform/chromium-gpu
2201 that skips all but the tests we actually want to run with
2204 This patch will allow us to run both with and without acceleration
2205 and to change the defaults for both the regular and -gpu options
2206 as the code evolves.
2208 We plan to add both --chromium-$OS and --chromium-gpu-$OS runs to
2211 https://bugs.webkit.org/show_bug.cgi?id=46225
2213 * Scripts/webkitpy/layout_tests/port/chromium.py:
2214 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
2215 * Scripts/webkitpy/layout_tests/port/factory.py:
2216 * Scripts/webkitpy/layout_tests/port/webkit.py:
2218 2010-09-22 Jamey Hicks <jamey.hicks@nokia.com>
2220 Reviewed by Kenneth Rohde Christiansen.
2222 [Qt] Web Inspector: Remote Web Inspector support for QtWebKit
2223 https://bugs.webkit.org/show_bug.cgi?id=43988
2225 Runs a web debug server on port specified by QtTestBrowser
2226 argument -remote-inspector-port. Property
2227 _q_webInspectorServerPort of the QWebPage instance will be set
2228 according to the argument. All pages with that property set will
2229 be remotely inspectable.
2231 URL for remote inspection of first QWebPage is
2232 http://localhost:9222/webkit/inspector/inspector.html?page=1
2233 where 1 is the number of the QWebPage instance.
2235 The base URL yields an index page with links to the individual inspectors:
2236 http://localhost:9222/
2238 * QtTestBrowser/launcherwindow.cpp:
2239 (LauncherWindow::init):
2240 * QtTestBrowser/launcherwindow.h:
2241 * QtTestBrowser/main.cpp:
2242 (LauncherApplication::handleUserOptions):
2244 2010-09-22 Adam Roben <aroben@apple.com>
2246 Fix webkit-patch failure-reason now that build.webkit.org has been
2249 Fixes <http://webkit.org/b/46273> webkit-patch failure-reason crashes
2252 Reviewed by Eric Seidel.
2254 * Scripts/webkitpy/common/net/buildbot.py:
2255 (BuildBot._file_cell_text): Added. Travels down the firstChild chain
2256 looking for an element that contains text, then returns it.
2257 (BuildBot._parse_twisted_file_row): Use _file_cell_text to get the
2258 text out of the cells. This way it doesn't matter whether the cells
2259 have <b> children (as for cells in directory rows) or not (as for
2261 (BuildBot._parse_twisted_directory_listing): Look for rows that have
2262 the "directory" or "file" class, rather than rows with any class,
2263 since header rows now have a class attribute.
2265 * Scripts/webkitpy/common/net/buildbot_unittest.py:
2266 (BuildBotTest._example_directory_listing): Updated to more closely
2267 match the markup that build.webkit.org is producing now.
2269 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2271 Unreviewed, build fix.
2273 new-run-webkit-tests: fix bug introduced in r68008 where if you
2274 specify --chromium and no --platform, and you're running on
2275 windows, you use the 'chromium-win' port by default instead of the
2276 version-specific port. This breaks the buildbots.
2278 It will be good for this refactoring to settle down so I can
2279 rewrite the logic for default ports and the unit tests to be
2280 clearer (and the testing more comprehensive).
2282 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2284 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2286 Reviewed by Adam Barth.
2288 Modify the Port interface to take only a series of keyword arguments
2289 in the constructor, and modify Port/factory.get() to accomodate that,
2290 and to accept user=XXX as an argument so we can pass
2291 webkitpy.common.system.user.User objects in.
2293 Then, modify new-run-webkit-tests and rebaseline-chromium-webkit-tests
2294 to use the common routine in webkitpy.common.system.user.open_url()
2295 to display HTML files.
2297 There was a routine in the Port interface to do the same thing,
2298 but I see no need for a port-specific hook for this, since it is
2299 something that will always be executed by the host environment
2300 and displaying web pages has nothing to do with running layout tests.
2302 Note that new-run-webkit-tests used to use test_shell to display
2303 the page; this is potentially useful so that you can actually click
2304 from a result to the broken page; however, since DumpRenderTree
2305 doesn't support this functionality, it will be going away eventually.
2307 https://bugs.webkit.org/show_bug.cgi?id=46128
2309 * Scripts/webkitpy/layout_tests/port/base.py:
2310 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2311 * Scripts/webkitpy/layout_tests/port/chromium.py:
2312 * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
2313 * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
2314 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
2315 * Scripts/webkitpy/layout_tests/port/chromium_win.py:
2316 * Scripts/webkitpy/layout_tests/port/dryrun.py:
2317 * Scripts/webkitpy/layout_tests/port/factory.py:
2318 * Scripts/webkitpy/layout_tests/port/google_chrome.py:
2319 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
2320 * Scripts/webkitpy/layout_tests/port/gtk.py:
2321 * Scripts/webkitpy/layout_tests/port/mac.py:
2322 * Scripts/webkitpy/layout_tests/port/qt.py:
2323 * Scripts/webkitpy/layout_tests/port/test.py:
2324 * Scripts/webkitpy/layout_tests/port/webkit.py:
2325 * Scripts/webkitpy/layout_tests/port/win.py:
2326 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2327 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2328 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2330 2010-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
2332 Reviewed by Kenneth Rohde Christiansen.
2334 [EFL] Get fresh theme when running EWebLauncher
2335 https://bugs.webkit.org/show_bug.cgi?id=46210
2337 If user tried to run EWebLauncher outside of the build tree, it would
2338 not find the theme and fallback to the installed one. However, since
2339 EWebLauncher is not installed, we always want to take the theme from
2340 the just compiled source code. If user had never installed WebKit's
2341 EFL port it could even receive a segv since no theme would be found.
2343 Now EWebLauncher does not fallback to the installed theme and CMake
2344 gives as DATA_DIR the directory of the theme it has just built.
2346 * CMakeListsEfl.txt: Pass the build directory as DATA_DIR to
2348 * EWebLauncher/main.c: Use only the theme from build director. Do not
2349 fallback to others as this could hide real bugs.
2355 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2357 Unreviewed, build fix.
2359 Don't pass the --test-shell arg to the Chromium Mac port of DRT;
2360 it just confuses it.
2362 https://bugs.webkit.org/show_bug.cgi?id=46230
2364 * Scripts/webkitpy/layout_tests/port/webkit.py:
2366 2010-09-21 Lucas Forschler <lforschler@apple.com>
2368 Reviewed by Stephanie Lewis.
2370 Make a new buildbot for Leopard Debug Test
2372 * BuildSlaveSupport/build.webkit.org-config/config.json:
2374 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2376 Unreviewed, build fix.
2378 Fix breakage of Chromium Mac DRT port caused by r67905.
2380 https://bugs.webkit.org/show_bug.cgi?id=46230
2382 * Scripts/webkitpy/layout_tests/port/webkit.py:
2384 2010-09-21 Dirk Pranke <dpranke@chromium.org>
2386 Unreviewed, build fix.
2388 Add missing import of 'tempfile'.
2390 * Scripts/webkitpy/layout_tests/port/chromium.py:
2392 2010-09-17 Dirk Pranke <dpranke@chromium.org>
2394 Reviewed by Ojan Vafai.
2396 new-run-webkit-tests: pull the list of tests from the Port, and
2397 make it possible to run with no actual test files in the filesystem.
2399 This set of changes allows us to delete the special
2400 webkitpy/layout_tests/data directory and test the generic code without
2401 touching the filesystem (except to write results). This speeds up
2402 test-webkitpy substantially.
2404 This also cleans up and removes several code paths in the generic
2405 code and fixes some minor bugs, notably in the test_expectations
2406 parsing, which was previously fragile if the tests weren't present.
2408 We also change the way we diff image results to be able to do so
2409 in memory, without relying on files. This slows down chromium
2410 test_shell, which always writes images to files, but should speed
2411 up DRT and ImageDiff-based implementations slightly.
2413 Note that pulling the list of tests to run from the Port will allow
2414 ports to specify what tests to run as an inclusive list; previously
2415 you could only do this as an exclusive list by using a
2416 test_expectations file or Skipped files; nothing actually uses this
2417 feature yet and it's unclear if it should be used.
2419 Note that there are no functional changes -- apart from now
2420 always printing out the location of the checksum file when we are
2421 tracing test runs -- and the total number of lines of non-test code
2422 actually drops by two.
2424 There is some more cleanup that can be done in the Port/Driver
2425 interface and in some handling of filenames, but I'll save that
2428 https://bugs.webkit.org/show_bug.cgi?id=45801
2430 * Scripts/webkitpy/layout_tests/data/*: Removed.
2431 - no longer need special mock layout_tests_directory in the
2433 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
2434 - add code to display missing text files, checksums when tracing
2435 - update to not look at the filesystem directly.
2436 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
2437 - add more unit tests
2438 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
2439 - remove tests_are_present flag
2440 - update with changes in Port interface - no longer access
2441 the filesystem directly, although we still use os.path for
2442 filename manipulation.
2443 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
2444 - add more unit tests
2445 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Removed.
2446 - renamed to port/test_files.py
2447 * Scripts/webkitpy/layout_tests/port/base.py:
2448 - change diff_image() to expect actual image data, not filenames
2449 - add expected_checksum(), expected_image(), expected_text() to
2450 return the content of the files so that we don't need a filesystem
2451 - add path_exists(), path_isdir() for filesystem-like access.
2452 - add test_dirs() to keep clobber-test-results from needing to
2453 actually look at a real layout tests dir
2454 - add tests() to return the list of tests to run on the port
2455 (calls port/test_files to do the work).
2456 - add update_baseline() to be able to save new baselines
2457 - add uri_to_test_name() from port/dryrun.py so we can easily check
2459 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2460 - add more unit tests
2461 * Scripts/webkitpy/layout_tests/port/chromium.py:
2462 - change diff_image() to accept image content, not filenames.
2463 This will be slower for test_shell/image_diff, but faster
2465 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
2466 - add more unit tests
2467 * Scripts/webkitpy/layout_tests/port/dryrun.py:
2469 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
2470 - add more unit tests
2471 * Scripts/webkitpy/layout_tests/port/test.py:
2472 - massive rewrite to use in-script list of tests and expectations
2473 * Scripts/webkitpy/layout_tests/port/test_files.py:
2474 - rename from layout_package/test_files.
2475 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
2477 * Scripts/webkitpy/layout_tests/port/webkit.py:
2478 - update diff_image() to take image contents, not files. Should
2479 make things slightly faster.
2480 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2481 - update with changes to diff_image()
2482 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
2483 - update with changes to diff_image()
2484 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2485 - remove tests_are_present from test_expectations
2486 - pull the list of tests from port.tests() instead
2487 of calling test_files.py directly.
2488 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2490 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
2491 - update with changes to
2492 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
2493 - update with change in Port interface
2494 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
2495 - update with change in Port interface
2496 * Scripts/webkitpy/style/checkers/test_expectations.py:
2497 - remove the tests_are_present flag
2499 2010-09-21 Anders Carlsson <andersca@apple.com>
2503 * MiniBrowser/mac/MiniBrowser_Prefix.pch:
2505 2010-09-21 Tony Chang <tony@chromium.org>
2507 Reviewed by Kent Tamura.
2509 add a script for running webkit_unit_tests
2510 https://bugs.webkit.org/show_bug.cgi?id=46014
2512 * Scripts/run-chromium-webkit-unit-tests: Added.
2514 2010-09-21 Fridrich Strba <fridrich.strba@bluewin.ch>
2516 Reviewed by Martin Robinson.
2518 Fix linking problems on Windows.
2519 https://bugs.webkit.org/show_bug.cgi?id=45844
2521 * GNUmakefile.am: link the executables with winmm.dll
2523 2010-09-21 Adam Barth <abarth@webkit.org>
2525 Reviewed by Eric Seidel.
2527 feeder-queue svn updates more often than needed
2528 https://bugs.webkit.org/show_bug.cgi?id=46171
2530 We don't need to poll SVN every time we feed the feeders. Rather, we
2531 can count on the wrapper shell script to auto-update the queue.
2533 * Scripts/webkitpy/tool/commands/queues.py:
2534 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2536 2010-09-21 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2538 Reviewed by Andreas Kling.
2540 [Qt] Add robot loader timeout and extra time options.
2541 https://bugs.webkit.org/show_bug.cgi?id=46172
2543 [-robot-timeout <s>]: Load the next page after s seconds if the current
2544 page didn't finish loading.
2545 [-robot-extra-time <s>]: Wait s seconds after the current page finished
2546 loading before loading the next one. This should allow some time for the
2547 page's JavaScript to execute.
2549 * QtTestBrowser/launcherwindow.cpp:
2550 (LauncherWindow::applyPrefs):
2551 * QtTestBrowser/main.cpp:
2552 (LauncherApplication::robotTimeout):
2553 (LauncherApplication::robotExtraTime):
2554 (LauncherApplication::LauncherApplication):
2555 (LauncherApplication::handleUserOptions):
2557 * QtTestBrowser/urlloader.cpp:
2558 (UrlLoader::UrlLoader):
2559 (UrlLoader::loadNext):
2560 (UrlLoader::loadUrlList):
2561 * QtTestBrowser/urlloader.h:
2563 2010-09-21 Pavel Podivilov <podivilov@chromium.org>
2567 Adding myself to the committers list.
2569 * Scripts/webkitpy/common/config/committers.py:
2571 2010-09-20 Philippe Normand <pnormand@igalia.com>
2573 Reviewed by Eric Carlson.
2575 [GTK] enhanced context menu for media elements
2576 https://bugs.webkit.org/show_bug.cgi?id=45021
2578 EventSender::contextClick() now returns an array of js
2579 objects. Each object has a title property and a click() method.
2581 * DumpRenderTree/gtk/EventSender.cpp:
2582 (getMenuItemTitleCallback):
2583 (setMenuItemTitleCallback):
2584 (menuItemClickCallback):
2586 (contextClickCallback):
2588 2010-09-20 Hayato Ito <hayato@chromium.org>
2591 Adding myself to the committers list.
2593 * Scripts/webkitpy/common/config/committers.py:
2595 2010-09-20 Adam Barth <abarth@webkit.org>
2597 Reviewed by Eric Seidel.
2599 The tool member variable should be called _tool
2600 https://bugs.webkit.org/show_bug.cgi?id=46160
2602 Created by find-and-replace.
2604 * Scripts/webkitpy/tool/commands/download.py:
2605 * Scripts/webkitpy/tool/commands/openbugs.py:
2606 * Scripts/webkitpy/tool/commands/queries.py:
2607 * Scripts/webkitpy/tool/commands/queues.py:
2608 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2609 * Scripts/webkitpy/tool/commands/rebaseline.py:
2610 * Scripts/webkitpy/tool/commands/sheriffbot.py:
2611 * Scripts/webkitpy/tool/commands/upload.py:
2612 * Scripts/webkitpy/tool/multicommandtool.py:
2614 2010-09-20 Adam Barth <abarth@webkit.org>
2616 I ran the tests before landing but ignored the fact that they failed. :(
2618 * Scripts/webkitpy/tool/commands/queues.py:
2620 2010-09-20 Adam Barth <abarth@webkit.org>
2622 Reviewed by Eric Seidel.
2624 Add a feeder queue that polls bugs.webkit.org for the commit-cluster
2625 https://bugs.webkit.org/show_bug.cgi?id=46141
2627 The feeder-queue polls bugs.webkit.org every 30 seconds and updates the
2628 list of work items on the status server. The individual commit-cluster
2629 nodes then grab the patches from the server and process them.
2631 * Scripts/webkitpy/tool/bot/feeders.py: Added.
2632 * Scripts/webkitpy/tool/bot/feeders_unittest.py: Added.
2633 * Scripts/webkitpy/tool/commands/queues.py:
2634 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2635 * Scripts/webkitpy/tool/commands/queuestest.py:
2637 2010-09-20 Leandro Pereira <leandro@profusion.mobi>
2639 Reviewed by Darin Adler.
2641 build-webkit: Add support for CMake build system
2642 https://bugs.webkit.org/show_bug.cgi?id=44979
2644 * Scripts/build-webkit: Add "--efl" command-line option to build the
2646 * Scripts/webkitdirs.pm: Define buildCMakeProject() and
2647 buildEflCMakeProject() subroutines.
2649 2010-09-20 Dirk Pranke <dpranke@chromium.org>
2651 Reviewed by Ojan Vafai.
2653 new-run-webkit-tests: refactor command line args getting passed to DRT
2655 This change cleans up some argument parsing between functions to get
2656 rid of some overlapping data structures. There should be no functional
2657 changes in this patch; it is pure refactoring in preparation for
2658 landing the Chrome GPU port and adding a generic way to pass
2659 args to DRT/TestShell.
2661 https://bugs.webkit.org/show_bug.cgi?id=46135
2663 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
2664 - pass the options argument explicitly to the threads and drivers,
2665 also consolidate the passing of options to the driver.
2666 - pass options directly to process_output() to remove a couple
2667 parameters (minor cleanup).
2668 * Scripts/webkitpy/layout_tests/port/base.py:
2669 - pass the options argument to Port.create_driver().
2670 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
2671 - update Port.create_driver() test
2672 * Scripts/webkitpy/layout_tests/port/chromium.py:
2673 - pass the options argument to Port.create_driver(), and clean up
2674 building of the cmd line for DRT.
2675 * Scripts/webkitpy/layout_tests/port/dryrun.py:
2676 - pass the options argument to Port.create_driver()
2677 * Scripts/webkitpy/layout_tests/port/test.py:
2678 - pass the options argument to Port.create_driver()
2679 * Scripts/webkitpy/layout_tests/port/webkit.py:
2680 - pass the options argument to Port.create_driver(), and clean up
2681 building of the cmd line for DRT.
2682 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2683 - consolidate args in _get_dump_render_tree_args and rename to
2684 _get_test_args(); move all of the command-line args to the
2685 Port implementations.
2687 2010-09-20 Andrew Wilson <atwilson@chromium.org>
2689 Revert change which was accidentally committed along with some expectation changes.
2691 * Scripts/webkitpy/layout_tests/port/base.py:
2693 2010-09-20 Mihai Parparita <mihaip@chromium.org>
2695 Reviewed by Adam Barth.
2697 Add explicit --force-patch flag to webkitpy tools
2698 https://bugs.webkit.org/show_bug.cgi?id=46103
2700 It wasn't obvious until I read the applypatch.py source code that
2701 --non-interfactive implies passing --force to patch. Add --force-patch
2702 as an alias to the flag, so that this behavior is more discoverable.
2704 * Scripts/webkitpy/tool/steps/applypatch.py:
2705 * Scripts/webkitpy/tool/steps/options.py:
2707 2010-09-20 Eric Seidel <eric@webkit.org>
2709 Unreviewed, adding a line which got dropped and is trivially correct (and tested).
2711 commit-queue can't land patches
2712 https://bugs.webkit.org/show_bug.cgi?id=46138
2714 Add a line of code I forgot in my last commit.
2716 * Scripts/webkitpy/common/net/bugzilla.py:
2717 * Scripts/webkitpy/common/net/bugzilla_unittest.py:
2719 2010-09-20 Adam Barth <abarth@webkit.org>
2721 Reviewed by Eric Seidel.
2723 The commit-cluster bots still race to lock patch_ids
2724 https://bugs.webkit.org/show_bug.cgi?id=46130
2726 It turns out we need to use a transaction object to make the
2727 read/modify/write lock operation atomic. From reading the AppEngine
2728 documentation, I think this patch should do what we want. It's hard to
2729 test locally because the test instance isn't distributed in the same
2730 way the production instance is.
2732 * QueueStatusServer/handlers/nextpatch.py:
2733 * QueueStatusServer/model/activeworkitems.py: Added.
2735 2010-09-20 Andy Estes <aestes@apple.com>
2737 Reviewed by Adam Barth.
2739 REGRESSION (HTML5 Parser): Pages broken due to <tag<tag> parsing changes
2740 https://bugs.webkit.org/show_bug.cgi?id=40961
2742 Implement WebKitUsePreHTML5ParserQuirks preference.
2744 * DumpRenderTree/mac/DumpRenderTree.mm:
2745 (resetDefaultsToConsistentValues): Reset WebKitUsePreHTML5ParserQuirks
2746 to false after a test finishes.
2748 2010-09-20 Adam Roben <aroben@apple.com>
2752 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Put
2753 $(WebKitOutputDir)\include before $(WebKitLibrariesDir)\include so
2754 we'll pick up the most recent versions of the headers.
2756 2010-09-20 Eric Seidel <eric@webkit.org>
2758 Reviewed by Adam Barth.
2760 commit-queue should check commit-queue+ again just before committing
2761 https://bugs.webkit.org/show_bug.cgi?id=32679
2763 Added a _revalidate_patch check, right before landing.
2765 Since _revalidate_patch passes the patch_id from the work item
2766 back to bugzilla, I had to fix all of the previous queue tests to
2767 use valid attachment ids (that's the majority of this change).
2769 In order to validate that the bug was still open, I had to teach
2770 bugzilla.Bug about open/closed states.
2772 * Scripts/webkitpy/common/net/bugzilla.py:
2773 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
2774 * Scripts/webkitpy/tool/commands/queues.py:
2775 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2776 * Scripts/webkitpy/tool/commands/queuestest.py:
2777 * Scripts/webkitpy/tool/mocktool.py:
2779 2010-09-20 Mihai Parparita <mihaip@chromium.org>
2783 Adding myself as a comitter.
2785 * Scripts/webkitpy/common/config/committers.py:
2787 2010-09-20 Adam Barth <abarth@webkit.org>
2789 Reviewed by Eric Seidel.
2791 Two instances of commit-queue try to process the same patch
2792 https://bugs.webkit.org/show_bug.cgi?id=46113
2794 This patch makes next-patch atomic so that the server won't vend the
2795 same patch twice in the same hour.
2797 * QueueStatusServer/handlers/nextpatch.py:
2799 2010-09-20 Adam Roben <aroben@apple.com>
2801 Make WebKitTestRunner's wait-to-dump watchdog timer work on Windows
2803 We were previously trying to use a CFRunLoopTimer, but since Windows
2804 doesn't use CFRunLoop on most threads this doesn't work. Now we use a
2805 Windows-style timer on Windows.
2807 I also replaced all uses of "watchdog" with "watchdog timer".
2809 Fixes <http://webkit.org/b/46101> WebKitTestRunner's wait-to-dump
2810 watchdog timer doesn't work on Windows
2812 Reviewed by Anders Carlsson.
2814 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2815 (WTR::InjectedBundlePage::dump): Updated for rename.
2817 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: Removed
2818 platform-specific functions.
2819 (WTR::LayoutTestController::LayoutTestController): Added call to
2821 (WTR::LayoutTestController::waitUntilDone): Changed to call
2822 initializeWaitToDumpWatchdogTimerIfNeeded instead of doing the work
2823 right in this function.
2824 (WTR::LayoutTestController::waitToDumpWatchdogTimerFired): Updated for
2827 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Added new
2828 members needed to support the watchdog timer abstraction. Replaced
2829 some "watchdog"s with "watchdog timer".
2831 * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
2833 (WTR::LayoutTestController::platformInitialize): Does nothing on this
2835 (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Moved here
2836 from LayoutTestController.cpp and changed to use an early return.
2837 (WTR::waitUntilDoneWatchdogTimerFired): Moved here from
2838 LayoutTestController.cpp.
2839 (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
2840 Moved code here from LayoutTestController::waitUntilDone and changed
2841 to use an early return.
2843 * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
2845 (WTR::LayoutTestController::platformInitialize): Initialize our
2847 (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Added.
2848 Kills and clears the watchdog timer.
2849 (WTR::waitToDumpWatchdogTimerFired): Added. Calls through to the
2850 LayoutTestController member function of the same name.
2851 (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
2852 Added. Sets up the timer if it isn't already set.
2854 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added
2855 LayoutTestControllerMac.mm.
2857 * WebKitTestRunner/win/InjectedBundle.vcproj: Added
2858 LayoutTestControllerWin.cpp.
2860 2010-09-20 Martin Robinson <mrobinson@igalia.com>
2862 Reviewed by Daniel Bates.
2864 [GTK] fast/forms/listbox-selection.html fails
2865 https://bugs.webkit.org/show_bug.cgi?id=45942
2867 Use the gdkModifersFromJSValue helper to parse all appropriate modifier
2868 strings in keyDownCallback.
2870 * DumpRenderTree/gtk/EventSender.cpp:
2871 (keyDownCallback): Use the gdkModifersFromJSValue instead of duplicating the
2872 modifier parsing logic.
2874 2010-09-19 Sam Weinig <sam@webkit.org>
2876 Reviewed by Anders Carlsson.
2878 WebKit2 decidePolicyForNavigationAction should include mouse button information
2879 <rdar://problem/8413165>
2880 https://bugs.webkit.org/show_bug.cgi?id=46060
2882 * MiniBrowser/mac/BrowserWindowController.m:
2883 (decidePolicyForNavigationAction):
2884 (decidePolicyForNewWindowAction):
2886 2010-09-19 Daniel Bates <dbates@rim.com>
2888 Reviewed by Martin Robinson.
2890 Add unit tests for diffs that delete or modify a change log entry
2891 or describe changes that are far apart
2892 https://bugs.webkit.org/show_bug.cgi?id=46046
2894 Add additional unit tests to test change log diffs that contain
2895 deletions or changes that are far apart from each other in the
2898 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
2899 - Added the following unit tests:
2900 "fixChangeLogPatch: [no change] In-place change."
2901 "fixChangeLogPatch: [no change] Remove first entry."
2902 "fixChangeLogPatch: [no change] Remove entry in the middle."
2903 "fixChangeLogPatch: [no change] Far apart changes (i.e. more than one chunk)."
2905 2010-09-19 Sam Weinig <sam@webkit.org>
2907 Reviewed by Anders Carlsson.
2909 Replace WKBundleRangeRef with WKBundleRangeHandleRef.
2910 https://bugs.webkit.org/show_bug.cgi?id=46054
2912 The new one acts like WKBundleNodeHandleRef and allows for getting a
2913 wrapper in a specific world for the handle.
2915 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2916 (WTR::propertyValue):
2917 (WTR::propertyValueDouble):
2918 (WTR::propertyValueInt):
2919 (WTR::numericWindowPropertyValue):
2921 (WTR::InjectedBundlePage::shouldBeginEditing):
2922 (WTR::InjectedBundlePage::shouldEndEditing):
2923 (WTR::InjectedBundlePage::shouldInsertNode):
2924 (WTR::InjectedBundlePage::shouldInsertText):
2925 (WTR::InjectedBundlePage::shouldDeleteRange):
2926 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
2927 (WTR::InjectedBundlePage::shouldApplyStyle):
2928 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
2930 2010-09-19 Kent Tamura <tkent@chromium.org>
2932 Unreviewed. Fix WebGL test regressions by r67809.
2934 * DumpRenderTree/chromium/WebPreferences.cpp:
2935 (WebPreferences::applyTo): Call setExperimentalWebGLEnabled().
2937 2010-09-19 Kent Tamura <tkent@chromium.org>
2939 Reviewed by Adam Barth.
2941 [DRT/Chromium] Fix a WebSettings handling bug
2942 https://bugs.webkit.org/show_bug.cgi?id=45945
2944 Before this change, Chromium DRT reset WebSettings for every new
2945 window. It was wrong.
2946 If new window is not the first one, we have to apply the same
2947 settings as the first window. So, we introduce WebPreference to
2948 store the current settings, and apply it to new windows. It's same
2949 as test_shell's behavior.
2951 * DumpRenderTree/DumpRenderTree.gypi:
2952 * DumpRenderTree/chromium/LayoutTestController.cpp:
2953 Use WebPreferences instead of WebSettings.
2954 (LayoutTestController::setUserStyleSheetEnabled):
2955 (LayoutTestController::setUserStyleSheetLocation):
2956 (LayoutTestController::setAuthorAndUserStylesEnabled):
2957 (LayoutTestController::setPopupBlockingEnabled):
2958 (LayoutTestController::disableImageLoading):
2959 (LayoutTestController::setJavaScriptCanAccessClipboard):
2960 (LayoutTestController::setXSSAuditorEnabled):
2961 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
2962 (LayoutTestController::setAllowFileAccessFromFileURLs):
2963 (LayoutTestController::overridePreference):
2964 (LayoutTestController::setEditingBehavior):
2965 * DumpRenderTree/chromium/TestShell.cpp:
2966 (TestShell::resetWebSettings): Use WebPreferences.
2967 (TestShell::runFileTest): ditto.
2968 (TestShell::createNewWindow): Apply existing WebPreferences to a new WebView.
2969 * DumpRenderTree/chromium/TestShell.h:
2970 (TestShell::preferences):
2971 (TestShell::applyPreferences):
2972 * DumpRenderTree/chromium/WebPreferences.cpp: Added.
2973 * DumpRenderTree/chromium/WebPreferences.h: Added.
2975 2010-09-18 Prasad Tammana <prasadt@chromium.org>
2977 Reviewed by David Levin.
2979 update-webkit --chromium spitting out a spurious error
2980 https://bugs.webkit.org/show_bug.cgi?id=45868
2982 * Scripts/update-webkit-chromium: Use commandExists() function to check for existence of gclient.
2984 2010-09-18 Sam Weinig <sam@webkit.org>
2986 Reviewed by Dan Bernstein.
2988 Improve/unify the PageLoadClient interfaces
2989 https://bugs.webkit.org/show_bug.cgi?id=46043
2991 * MiniBrowser/mac/BrowserWindowController.m:
2992 (didStartProvisionalLoadForFrame):
2993 (didReceiveServerRedirectForProvisionalLoadForFrame):
2994 (didFailProvisionalLoadWithErrorForFrame):
2995 (didCommitLoadForFrame):
2996 (didFinishDocumentLoadForFrame):
2997 (didFinishLoadForFrame):
2998 (didFailLoadWithErrorForFrame):
2999 (didReceiveTitleForFrame):
3000 (didFirstLayoutForFrame):
3001 (didFirstVisuallyNonEmptyLayoutForFrame):
3002 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3003 (WTR::InjectedBundlePage::InjectedBundlePage):
3004 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
3005 (WTR::InjectedBundlePage::didReceiveServerRedirectForProvisionalLoadForFrame):
3006 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
3007 (WTR::InjectedBundlePage::didCommitLoadForFrame):
3008 (WTR::InjectedBundlePage::didFinishLoadForFrame):
3009 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
3010 (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
3011 (WTR::InjectedBundlePage::didReceiveTitleForFrame):
3012 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3013 * WebKitTestRunner/TestController.cpp:
3014 (WTR::TestController::didReceiveMessageFromInjectedBundle):
3015 (WTR::TestController::didFinishLoadForFrame):
3016 * WebKitTestRunner/TestController.h:
3018 2010-09-17 Eric Seidel <eric@webkit.org>
3020 Unreviewed. Adding a shell script I use to run the
3021 commit-queue. Now that multiple machines run the cq,
3022 it makes sense to share the script between them.
3024 * EWSTools/start-commit-queue.sh: Added.
3026 2010-09-17 Brian Weinstein <bweinstein@apple.com>
3028 Reviewed by Jon Honeycutt.
3030 The colors on the new build.webkit.org (after upgrading the master to 0.8.1) are
3031 slightly harder to read, so this reverts the previous background colors for various
3032 states, making it easier to read.
3034 * BuildSlaveSupport/build.webkit.org-config/public_html/default.css:
3039 (.start,.running,td.building):
3040 (.offline,td.offline):
3042 2010-09-17 Sheriff Bot <webkit.review.bot@gmail.com>
3044 Unreviewed, rolling out r67692.
3045 http://trac.webkit.org/changeset/67692
3046 https://bugs.webkit.org/show_bug.cgi?id=46011
3048 broke layout test dashboard (Requested by johnny_g on
3051 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
3052 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
3053 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3055 2010-09-17 Martin Robinson <mrobinson@igalia.com>
3057 Reviewed by Oliver Hunt.
3059 Style bot complains about cairo forward declaration naming
3060 https://bugs.webkit.org/show_bug.cgi?id=45867
3062 Exclude Cairo forward declarations from indentifiers with underscores checks.
3064 * Scripts/webkitpy/style/checkers/cpp.py: Add exclusion for Cairo forward-declarations.
3065 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
3067 2010-09-16 Kinuko Yasuda <kinuko@chromium.org>
3069 Reviewed by Ojan Vafai.
3071 Include detailed test modifiers (e.g. FLAKY) in results.json for failing non-layout tests
3072 https://bugs.webkit.org/show_bug.cgi?id=45408
3074 This change also tries to remove duplicated upload_results_json methods
3075 in run_webkit_tests.py and json_results_generator.py.
3077 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
3078 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
3079 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3081 2010-09-16 Antonio Gomes <tonikitoo@webkit.org>
3083 Reviewed by Andreas Kling.
3085 [Qt] When switching views (WebViewGraphicsBased <--> WebViewTraditional), QWebPage signals and QActions have to be re-set.
3087 Recently r67554 changed the way different views use the WebPage class: it was previously being shared between
3088 different views, but now for each view switch, a new WebPage class is constructed and set. Signals and QAction's
3089 were not being set to the new WebPage though. Patch fix that, by re constructing the toolbar, and then re-hooking
3090 all page specific stuff to the UI.
3092 * QtTestBrowser/launcherwindow.cpp:
3093 (LauncherWindow::initializeView):
3094 * QtTestBrowser/mainwindow.cpp:
3095 (MainWindow::MainWindow):
3096 (MainWindow::buildUI):
3097 (MainWindow::setPage):
3098 * QtTestBrowser/mainwindow.h:
3100 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3102 Reviewed by Andreas Kling.
3104 Make all accesses to m_item (GraphicsWebView) done by WebViewGraphicsBased class happen though graphicsWebView getter method.
3106 This patch is mostly a preparation for another commit, where the ownership of the m_item/GraphicsWebView
3107 object will move to the qgraphicsscene instead of the qgraphicsview.
3109 * QtTestBrowser/webview.cpp:
3110 (WebViewGraphicsBased::setPage):
3111 (WebViewGraphicsBased::setResizesToContents):
3112 (WebViewGraphicsBased::resizeEvent):
3113 (WebViewGraphicsBased::animatedFlip):
3114 * QtTestBrowser/webview.h:
3115 (WebViewGraphicsBased::setItemCacheMode):
3116 (WebViewGraphicsBased::itemCacheMode):
3118 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3120 Reviewed by Andreas Kling.
3122 Moved setYRotation method body out of the class (WebViewGraphicsBased) definition.
3124 We usually separate methods whose body are larger than a few lines from the class definition.
3126 * QtTestBrowser/webview.h:
3127 (WebViewGraphicsBased::yRotation):
3128 (WebViewGraphicsBased::setYRotation):
3130 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3132 Reviewed by Andreas Kling.
3134 Make initializeView method of LauncherWindow private.
3136 No one else needs to be able to call it but LauncherWindow.
3137 Also moving the declation of isGraphicsBased method down in the same file, in order
3138 to better group related methods.
3140 * QtTestBrowser/launcherwindow.h:
3142 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3144 Reviewed by Andreas Kling.
3146 Make the getter 'page' method of MainWindow const.
3148 * QtTestBrowser/mainwindow.cpp:
3150 * QtTestBrowser/mainwindow.h:
3152 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
3154 Reviewed by Andreas Kling.
3156 Remove useless parameter from MainWindow class' constructor.
3158 The parameter defaults to an empty URL and is not being used by any caller. Apart from that it is also
3159 not referred in the constructor body and does not make much sense.
3161 * QtTestBrowser/mainwindow.cpp:
3162 (MainWindow::MainWindow):
3163 * QtTestBrowser/mainwindow.h:
3165 2010-09-15 Tony Chang <tony@chromium.org>
3167 Reviewed by Kent Tamura.
3169 [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
3170 https://bugs.webkit.org/show_bug.cgi?id=42151
3172 * DumpRenderTree/chromium/LayoutTestController.cpp:
3173 (LayoutTestController::LayoutTestController):
3174 (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
3175 (WorkItemLoadHTMLString::run):
3176 (LayoutTestController::queueLoadHTMLString):
3177 (LayoutTestController::reset):
3178 (LayoutTestController::setDeferMainResourceDataLoad):
3179 * DumpRenderTree/chromium/LayoutTestController.h:
3180 (LayoutTestController::deferMainResourceDataLoad):
3181 * DumpRenderTree/chromium/WebViewHost.cpp:
3182 (WebViewHost::didCreateDataSource):
3184 2010-09-16 Adrienne Walker <enne@google.com>
3186 Reviewed by Kenneth Russell.
3188 Add script to synchronize WebKit and Khronos WebGL tests
3189 https://bugs.webkit.org/show_bug.cgi?id=42336
3191 * Scripts/update-webgl-conformance-tests: Added.
3192 * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py: Added.
3193 * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests_unittest.py: Added.
3195 2010-09-16 Sam Weinig <sam@webkit.org>
3197 Reviewed by Anders Carlsson.
3199 Add support for sending synchronous messages from the InjectedBundle to the WKContext
3200 <rdar://problem/8365320>
3201 https://bugs.webkit.org/show_bug.cgi?id=44785
3203 * MiniBrowser/mac/AppDelegate.m:
3204 (didReceiveSynchronousMessageFromInjectedBundle):
3205 (-[BrowserAppDelegate init]):
3206 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
3208 * WebKitTestRunner/TestController.cpp:
3209 (WTR::TestController::initialize):
3211 2010-09-16 Leonid Ebril <leonid.ebril@nokia.com>
3213 Reviewed by Andreas Kling.
3215 [Qt] QtTestBrowser: Disable creation of a new window for screenshot on Symbian platform.
3216 https://bugs.webkit.org/show_bug.cgi?id=45885
3218 Avoid creation of an additional window for screenshot to prevent overlapping with original window.
3220 * QtTestBrowser/launcherwindow.cpp:
3221 (LauncherWindow::screenshot):
3223 2010-09-16 Anders Carlsson <andersca@apple.com>
3227 * MiniBrowser/mac/BrowserWindowController.m:
3228 (-[BrowserWindowController zoomIn:]):
3229 (-[BrowserWindowController zoomOut:]):
3230 (-[BrowserWindowController resetZoom:]):
3231 Remove trailing semicolons.
3233 2010-09-16 Sheriff Bot <webkit.review.bot@gmail.com>
3235 Unreviewed, rolling out r67628.
3236 http://trac.webkit.org/changeset/67628
3237 https://bugs.webkit.org/show_bug.cgi?id=45904
3239 broke the build (Requested by eric_carlson on #webkit).
3241 * DumpRenderTree/gtk/EventSender.cpp:
3242 (contextClickCallback):
3244 2010-09-16 Balazs Kelemen <kbalazs@webkit.org>
3248 Adding myself as a comitter.
3250 * Scripts/webkitpy/common/config/committers.py:
3252 2010-09-15 Philippe Normand <pnormand@igalia.com>
3254 Reviewed by Eric Carlson.
3256 [GTK] enhanced context menu for media elements
3257 https://bugs.webkit.org/show_bug.cgi?id=45021
3259 EventSender::contextClick() now returns an array of js
3260 objects. Each object has a title property and a click() method.
3262 * DumpRenderTree/gtk/EventSender.cpp:
3263 (getMenuItemTitleCallback):
3264 (setMenuItemTitleCallback):
3265 (menuItemClickCallback):
3267 (contextClickCallback):
3269 2010-09-14 Philippe Normand <pnormand@igalia.com>
3271 Reviewed by Eric Carlson and Martin Robinson.
3273 [GTK] eventSender.contextClick() should return the contents of the context menu
3274 https://bugs.webkit.org/show_bug.cgi?id=39102
3276 Make the eventSender use the new private WebKitGtk+ API to
3277 retrieve the context-menu item titles and store them in an array.
3279 * DumpRenderTree/gtk/EventSender.cpp:
3280 (contextClickCallback):
3282 2010-09-16 Eric Uhrhane <ericu@chromium.org>
3284 Reviewed by Jian Li.
3286 Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
3287 https://bugs.webkit.org/show_bug.cgi?id=45798
3289 * Scripts/build-webkit:
3291 2010-09-16 Robert Hogan <robert@webkit.org>
3293 Reviewed by Antonio Gomes.
3295 [Qt] Support globalhistory tests
3296 https://bugs.webkit.org/show_bug.cgi?id=45774
3298 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3299 (WebCore::isGlobalHistoryTest):
3300 (WebCore::DumpRenderTree::open):
3301 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3302 (LayoutTestController::reset):
3303 (LayoutTestController::dumpHistoryCallbacks):
3304 (LayoutTestController::removeAllVisitedLinks):
3305 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3307 2010-09-10 Tony Chang <tony@chromium.org>
3309 Reviewed by Eric Seidel.
3311 deduplicate-tests should be runnable from any WebKit directory
3312 https://bugs.webkit.org/show_bug.cgi?id=44709
3314 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
3315 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
3317 2010-09-15 Tony Chang <tony@chromium.org>
3319 Reviewed by Kent Tamura.
3321 [chromium] sort testing methods in DRT
3322 https://bugs.webkit.org/show_bug.cgi?id=45850
3324 * DumpRenderTree/chromium/EventSender.cpp:
3325 (EventSender::EventSender):
3326 * DumpRenderTree/chromium/LayoutTestController.cpp:
3327 (LayoutTestController::LayoutTestController):
3328 * DumpRenderTree/chromium/TextInputController.cpp:
3329 (TextInputController::TextInputController):
3331 2010-09-15 Mihai Parparita <mihaip@chromium.org>
3333 Reviewed by Adam Barth.
3335 CQ status shows items out of order
3336 https://bugs.webkit.org/show_bug.cgi?id=45846
3338 Only group consecutive status items with the same patch ID into the same
3339 group, so that overall item ordering is preserved.
3341 Also don't indent status items that only have a single item in their
3344 * QueueStatusServer/handlers/queuestatus.py:
3345 * QueueStatusServer/templates/includes/singlequeuestatus.html: Added.
3346 * QueueStatusServer/templates/queuestatus.html:
3348 2010-09-15 Eric Seidel <eric@webkit.org>
3350 Reviewed by Adam Barth.
3352 Add queue start/stop messages
3353 https://bugs.webkit.org/show_bug.cgi?id=45853
3355 I ended up needing to clean up a bunch of our unit testing
3356 in order to test this new code path nicely.
3358 There are also a few PEP8 changes needed to pass check-webkit-style.
3360 * Scripts/webkitpy/tool/bot/queueengine.py:
3361 * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
3362 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
3363 * Scripts/webkitpy/tool/commands/queues.py:
3364 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3365 * Scripts/webkitpy/tool/commands/queuestest.py:
3366 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
3368 2010-09-15 Simon Fraser <simon.fraser@apple.com>
3370 https://bugs.webkit.org/show_bug.cgi?id=45849
3371 WKURLCreateWithCFURL crashes with null url
3373 Fix MiniBrowser crash when the url is not parseable.
3375 * MiniBrowser/mac/BrowserWindowController.m:
3376 (-[BrowserWindowController fetch:]):
3378 2010-09-15 Patrick Gansterer <paroga@paroga.com>
3382 Adding myself to the committers list.
3384 * Scripts/webkitpy/common/config/committers.py:
3386 2010-09-14 Eric Seidel <eric@webkit.org>
3388 Reviewed by Adam Barth.
3390 Make it possible to run more than one commit-queue instance
3391 https://bugs.webkit.org/show_bug.cgi?id=45786
3393 Mostly we need to make sure the two (or more) instances get
3394 different patches to work on. To do this, I re-worked
3395 the code responsible for getting the next work item to
3396 round trip through the status server. The status server only
3397 vends patches from the work items list, only if those patches
3398 have not had status reported for them in the last hour.
3400 This is another step towards making all queues go through the
3401 status server, thus making it possible to run more than one
3402 instance of various EWS bots (as requested in bug 44292).
3404 The webkitpy changes are already covered by existing unit tests.
3405 The QueueStatusSever sadly has no testing infrastructure yet. :(
3407 * QueueStatusServer/handlers/nextpatch.py: Added.
3408 * QueueStatusServer/index.yaml:
3409 * QueueStatusServer/main.py:
3410 * Scripts/webkitpy/tool/commands/queues.py:
3412 2010-09-15 Mihai Parparita <mihaip@chromium.org>
3414 Reviewed by Tony Chang.
3416 NRWT fails with UnicodeDecodeError on editing/selection/mixed-editability-10.html
3417 https://bugs.webkit.org/show_bug.cgi?id=45791
3419 Force filenames to be raw bytes before running difflib.unified_diff.
3421 * Scripts/webkitpy/layout_tests/port/base.py:
3422 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3424 2010-09-15 Simon Hausmann <simon.hausmann@nokia.com>
3426 Reviewed by Tor Arne Vestbø.
3428 [Qt] QtTestBrowser crashes when enabling QGraphicsView mode after first loading page without it enabled
3429 https://bugs.webkit.org/show_bug.cgi?id=35247
3431 The main issue when changing the views is that the plugins and any other components that
3432 depend on view specific attributes such as the native window id are not teared down.
3433 Even if we had a tear-down procedure, we'd have to re-initialize the plugin after
3434 switching to the new view (QGraphicsWebView). This is a rather uncommon situation, so
3435 we decided to work around this in QtTestBrowser by making toggling between QWebView
3436 and QGraphicsWebView also re-create the page.
3438 * QtTestBrowser/launcherwindow.cpp:
3439 (LauncherWindow::initializeView):
3440 * QtTestBrowser/mainwindow.h:
3442 2010-09-14 Mihai Parparita <mihaip@chromium.org>
3444 Reviewed by Adam Barth.
3446 Send webkit accessibility notifications to Chromium
3447 https://bugs.webkit.org/show_bug.cgi?id=45156
3449 Move printf inside shouldDumpAccessibilityNotifications check.
3451 * DumpRenderTree/chromium/WebViewHost.cpp:
3452 (WebViewHost::postAccessibilityNotification):
3454 2010-09-14 Tony Chang <tony@chromium.org>
3456 Reviewed by Kent Tamura.
3458 [chromium] fix http/tests/security/local-user-CSS-from-remote.html
3459 https://bugs.webkit.org/show_bug.cgi?id=45788
3461 * DumpRenderTree/chromium/LayoutTestController.cpp:
3462 (LayoutTestController::setUserStyleSheetLocation): use a base64 url like in Chrome
3464 2010-09-14 Tony Chang <tony@chromium.org>
3466 Reviewed by Ojan Vafai.
3468 [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed
3469 https://bugs.webkit.org/show_bug.cgi?id=45768
3471 * DumpRenderTree/chromium/TestShell.cpp:
3472 (TestShell::dumpImage): new baselines are checked in and Linux will match Windows going forward.
3474 2010-09-14 Kevin Ollivier <kevino@theolliviers.com>
3476 [wx] Build fix, add newly added directories to the directory list.
3478 * wx/build/settings.py:
3480 2010-09-14 Sam Weinig <sam@webkit.org>
3482 Reviewed by Anders Carlsson.
3484 Remove WKBundleNodeRef, replacing uses with WKBundleNodeHandleRef.
3485 https://bugs.webkit.org/show_bug.cgi?id=45785
3487 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3488 (WTR::propertyValue):
3489 (WTR::numericWindowPropertyValue):
3493 (WTR::InjectedBundlePage::InjectedBundlePage):
3494 (WTR::InjectedBundlePage::shouldInsertNode):
3495 (WTR::InjectedBundlePage::shouldBeginEditing):
3496 (WTR::InjectedBundlePage::shouldEndEditing):
3497 (WTR::InjectedBundlePage::shouldInsertText):
3498 (WTR::InjectedBundlePage::shouldDeleteRange):
3499 (WTR::InjectedBundlePage::shouldChangeSelectedRange):
3500 (WTR::InjectedBundlePage::shouldApplyStyle):
3501 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3503 2010-09-14 Adam Barth <abarth@webkit.org>
3505 Fix two typos in commit-queue. The first is harmless. The second
3506 causes the queue to reject patches when the build is broken. :(
3508 * Scripts/webkitpy/tool/commands/queues.py:
3509 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3511 2010-09-14 Chris Guillory <chris.guillory@google.com>
3513 Reviewed by Chris Fleizach.
3515 Send all accessibility notifications to Chromium.
3516 https://bugs.webkit.org/show_bug.cgi?id=45156
3518 * DumpRenderTree/chromium/WebViewHost.cpp:
3519 (WebViewHost::postAccessibilityNotification):
3520 * DumpRenderTree/chromium/WebViewHost.h:
3522 2010-09-14 Adam Barth <abarth@webkit.org>
3524 Reviewed by Eric Seidel.
3526 commit-queue is slow during the day
3527 https://bugs.webkit.org/show_bug.cgi?id=45780
3529 Thanks to the new logging, we've noticed that checkout-is-out-of-date
3530 errors in the first pass of landing don't retry the land. Instead,
3531 they're treated as failures and cause the commit-queue to do two more
3532 builds before really trying to land the patch. Worse, in the second
3533 build, we can get bitten by a flaky test.
3535 This patch takes a slightly different approach to the commit-queue's
3536 main control logic. We now use a separate subprocess for building and
3537 testing and for landing. This means we should very rarely see the
3538 checkout-is-out-of-date error, and when we do see it, we should retry
3539 more quickly. If my understanding is correct, this should be a big
3540 speed win for the commit-queue.
3542 * Scripts/webkitpy/tool/commands/download.py:
3543 * Scripts/webkitpy/tool/commands/queues.py:
3544 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3546 2010-09-14 Tony Chang <tony@chromium.org>
3548 Reviewed by Dimitri Glazkov.
3550 [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme
3551 https://bugs.webkit.org/show_bug.cgi?id=45762
3553 * DumpRenderTree/chromium/LayoutTestController.cpp:
3554 (LayoutTestController::LayoutTestController):
3555 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
3556 * DumpRenderTree/chromium/LayoutTestController.h:
3558 2010-09-14 Csaba Osztrogonác <ossy@webkit.org>
3560 Adding myself as a reviewer.
3562 * Scripts/webkitpy/common/config/committers.py:
3564 2010-09-14 Zoltan Horvath <zoltan@webkit.org>
3566 Reviewed by Kenneth Rohde Christiansen.
3568 [Qt] Build-webkit shows a warning when WebKitBuild directory is not exist
3569 https://bugs.webkit.org/show_bug.cgi?id=45736
3571 Build-webkit has showed a warning when WebKitBuild didn't exist, add
3572 an additional condition to avoid it.
3574 * Scripts/build-webkit:
3576 2010-09-13 Eric Seidel <eric@webkit.org>
3578 Reviewed by Adam Barth.
3580 commit-queue should log when it's retrying due to checkout out of date error
3581 https://bugs.webkit.org/show_bug.cgi?id=45725
3583 This will allow us to better track how often we see these errors
3584 and how long it takes the queue to recover from them.
3586 In order to pass the tests, I had to correct an error
3587 from a previous change. The UnitTestPort should not have
3588 ever been using the base port method as that will read
3589 a file from disk. If the unit tests haven't passed the contents
3590 it should raise an IOError as though the file doesn't exist.
3592 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3593 * Scripts/webkitpy/tool/commands/queues.py:
3594 * Scripts/webkitpy/tool/commands/queues_unittest.py:
3596 2010-09-13 Mihai Parparita <mihaip@chromium.org>
3598 Reviewed by Adam Barth.
3600 Upload results when cq patch landing fails
3601 https://bugs.webkit.org/show_bug.cgi?id=45683
3603 Include script errors when CommitQueue._land fails.
3605 * Scripts/webkitpy/tool/commands/queues.py:
3607 2010-09-13 Chris Fleizach <cfleizach@apple.com>
3609 Reviewed by David Kilzer.
3611 AX: accessibilityIsIgnored is returning nil when return value expects a BOOL
3612 https://bugs.webkit.org/show_bug.cgi?id=45548
3614 * DumpRenderTree/AccessibilityUIElement.cpp:
3615 (isIgnoredCallback):
3616 (AccessibilityUIElement::getJSClass):
3617 * DumpRenderTree/AccessibilityUIElement.h:
3618 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3619 (AccessibilityUIElement::isIgnored):
3620 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3621 (AccessibilityUIElement::isIgnored):
3622 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3623 (AccessibilityUIElement::isIgnored):
3625 2010-09-13 Csaba Osztrogonác <ossy@webkit.org>
3627 Reviewed by Andreas Kling.
3629 jscPath() is incorrect in Windows' cmd.exe shell
3630 https://bugs.webkit.org/show_bug.cgi?id=45651
3632 * Scripts/webkitdirs.pm: Add ".exe" suffix to $jscName on Windows.
3634 2010-09-13 Chris Fleizach <cfleizach@apple.com>
3636 Reviewed by Darin Adler.
3638 REGRESSION (r64816-r64889): Crash in WebCore::AccessibilityRenderObject
3639 https://bugs.webkit.org/show_bug.cgi?id=43807
3641 * DumpRenderTree/AccessibilityUIElement.cpp:
3642 (textMarkerForPointCallback):
3643 (AccessibilityUIElement::textMarkerForPoint):
3644 (AccessibilityUIElement::getJSClass):
3645 * DumpRenderTree/AccessibilityUIElement.h:
3646 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3647 (AccessibilityUIElement::textMarkerForPoint):
3649 2010-09-13 Andreas Kling <andreas.kling@nokia.com>
3651 Reviewed by Kenneth Rohde Christiansen.
3653 [Qt] build-webkit: Add --v8 option to build against V8
3655 Note that V8 is picked up from QtScript, so this currently requires building
3656 against the experimental qt-script-v8 branch.
3658 * Scripts/build-webkit:
3660 2010-09-13 Hans Wennborg <hans@chromium.org>
3662 Reviewed by Jeremy Orlow.
3664 Add WebDeviceOrientationClientMock::create() and use it from DRT.
3665 https://bugs.webkit.org/show_bug.cgi?id=45650
3667 Do not use the WebDeviceOrientationClientMock constructor directly,
3668 but use the create() member function.
3670 This should fix the linker errors for the multi-DLL Chromium DRT build.
3672 * DumpRenderTree/chromium/LayoutTestController.cpp:
3673 (LayoutTestController::setMockDeviceOrientation):
3674 (LayoutTestController::deviceOrientationClient):
3676 2010-08-27 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
3678 Reviewed by Antti Koivisto.
3680 Add support for testing the viewport meta tag algorithm,
3681 based on the following draft spec:
3683 http://people.opera.com/rune/TR/ED-css-viewport-20100806/
3685 Add common handling of viewport meta tag based on new Opera spec
3686 https://bugs.webkit.org/show_bug.cgi?id=44201
3688 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3689 (LayoutTestController::dumpConfigurationForViewport):
3690 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3692 2010-09-12 Kent Tamura <tkent@chromium.org>
3694 Reviewed by Tony Chang.
3696 [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
3697 https://bugs.webkit.org/show_bug.cgi?id=45517
3699 Use webkit_support_gfx.h for PNG encoding/decoding instead of png_codec.h
3701 * DumpRenderTree/chromium/ImageDiff.cpp:
3702 (Image::craeteFromStdin):
3703 (Image::createFromFilename):
3705 * DumpRenderTree/chromium/TestShell.cpp:
3706 (TestShell::dumpImage):
3708 2010-09-10 MORITA Hajime <morrita@google.com>
3710 Reviewed by Tony Chang.
3712 [Chromium] Implement textInputController.hasSpellingMarker() for Chromium
3713 https://bugs.webkit.org/show_bug.cgi?id=45441
3715 Added TextInputController::hasSpellingMarker().
3717 * DumpRenderTree/chromium/TextInputController.cpp:
3718 (TextInputController::TextInputController):
3719 (TextInputController::hasSpellingMarker):
3720 * DumpRenderTree/chromium/TextInputController.h:
3722 2010-09-12 Dirk Pranke <dpranke@chromium.org>
3724 Unreviewed, build fix.
3726 My last change accidentally contained a local change to the
3727 rebaselinig script; webkit-patch land picked it up without telling
3728 me and committed it :(
3730 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
3732 2010-09-11 Maciej Stachowiak <mjs@apple.com>
3734 Reviewed by Anders Carlsson.
3736 Attempt to fix Windows MiniBrowser build (untested)
3737 https://bugs.webkit.org/show_bug.cgi?id=45609
3739 * MiniBrowser/win/BrowserView.cpp:
3740 (runJavaScriptConfirm):
3741 (runJavaScriptPrompt):
3743 2010-09-11 Sam Weinig <sam@webkit.org>
3745 Reviewed by Maciej Stachowiak.
3747 Fix zoom related tests when testing WebKit2.
3749 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3750 (WTR::EventSendingController::zoomPageIn): Zoom in and zoom out are not the same.
3752 2010-09-11 Sam Weinig <sam@webkit.org>
3754 Reviewed by Dan Bernstein.
3756 Implement WebKit2 callback equivalent to - [WebUIDelegate webView:setStatusText:]
3757 <rdar://problem/8359252>
3758 https://bugs.webkit.org/show_bug.cgi?id=45605
3760 * MiniBrowser/mac/BrowserWindowController.m:
3762 (contentsSizeChanged):
3763 (-[BrowserWindowController awakeFromNib]):
3764 * MiniBrowser/win/BrowserView.cpp:
3765 (runJavaScriptConfirm):
3766 (runJavaScriptPrompt):
3768 (contentsSizeChanged):
3769 (BrowserView::create):
3770 * WebKitTestRunner/TestController.cpp:
3771 (WTR::createOtherPage):
3772 (WTR::TestController::initialize):
3774 2010-09-11 Sam Weinig <sam@webkit.org>
3776 Reviewed by Dan Bernstein.
3778 Add callback mechanism for the getting the source of a frame
3779 <rdar://problem/8364681>
3780 https://bugs.webkit.org/show_bug.cgi?id=45604
3782 Add ability to dump the main frame's source to the console.
3784 * MiniBrowser/mac/BrowserWindowController.h:
3785 * MiniBrowser/mac/BrowserWindowController.m:
3786 (-[BrowserWindowController dumpSourceToConsole:]):
3787 * MiniBrowser/mac/MainMenu.xib:
3789 2010-09-11 Eric Seidel <eric@webkit.org>
3791 Reviewed by Adam Barth.
3793 Remove unneeded Empty Queue messages
3794 https://bugs.webkit.org/show_bug.cgi?id=45602
3796 We already have a /gc job to delete these.
3797 recentstatus.py is already smart enough to use the
3798 most recent of the workitems last update or the most recent status,
3799 so removing these should not change the _last_status_date() return
3800 value more than a few milliseconds.
3802 These messages just spam the recent status log.
3804 * Scripts/webkitpy/tool/commands/queues.py:
3806 2010-09-11 Mihai Parparita <mihaip@chromium.org>
3808 Reviewed by Adam Barth.
3810 Fix Python exception when generating synthetic patch IDs
3811 https://bugs.webkit.org/show_bug.cgi?id=45592
3813 Can't concatenate strings and numbers directly.
3815 * QueueStatusServer/handlers/queuestatus.py:
3817 2010-09-11 Mihai Parparita <mihaip@chromium.org>
3819 Reviewed by Adam Barth.
3821 Group statuses in queue status by patch ID
3822 https://bugs.webkit.org/show_bug.cgi?id=45588
3824 Group statuses by patch ID so that the status page is easier
3827 * QueueStatusServer/handlers/queuestatus.py:
3828 * QueueStatusServer/stylesheets/dashboard.css:
3832 (.status-group ul li):
3833 (.status-group ul li:hover):
3835 (.status-cell:hover):
3836 (.status-cell.pass):
3837 (.status-cell.fail):
3838 (.status-cell.pending):
3839 (.status-cell.error):
3840 * QueueStatusServer/templates/dashboard.html:
3841 * QueueStatusServer/templates/queuestatus.html:
3843 2010-09-11 Mihai Parparita <mihaip@chromium.org>
3845 Reviewed by Tony Chang.
3847 Implement layoutTestController.dumpResourceResponseMIMETypes in Chromium DRT
3848 https://bugs.webkit.org/show_bug.cgi?id=45479
3850 Implement layoutTestController.dumpResourceResponseMIMETypes (modelled after
3851 implementation in ResourceLoadDelegate in the Mac port).
3853 * DumpRenderTree/chromium/LayoutTestController.cpp:
3854 (LayoutTestController::LayoutTestController):
3855 (LayoutTestController::dumpResourceResponseMIMETypes):
3856 (LayoutTestController::reset):
3857 * DumpRenderTree/chromium/LayoutTestController.h:
3858 (LayoutTestController::setShouldDumpResourceResponseMIMETypes):
3859 (LayoutTestController::shouldDumpResourceResponseMIMETypes):
3860 * DumpRenderTree/chromium/TestShell.h:
3861 (TestShell::shouldDumpResourceResponseMIMETypes):
3862 * DumpRenderTree/chromium/WebViewHost.cpp:
3863 (WebViewHost::didReceiveResponse):
3865 2010-09-11 Eric Seidel <eric@webkit.org>
3867 Reviewed by Adam Barth.
3869 queues.webkit.org should expose /remote_api for data upload/download
3870 https://bugs.webkit.org/show_bug.cgi?id=45559
3872 * QueueStatusServer/app.yaml:
3873 - /remote_api is a standard app-engine service which allows use of
3874 the bulk uploader for data upload/download. Exposing this
3875 (for admin access only) allows us to use
3877 2010-09-10 Sam Weinig <sam@webkit.org>
3879 Reviewed by Dan Bernstein.
3881 Add zoom support to WebKit2 API
3882 <rdar://problem/7660657>
3883 https://bugs.webkit.org/show_bug.cgi?id=45585
3885 - Add zoom options to MiniBrowser that mimic Safari's options using
3886 the new WebKit2 zoom APIs.
3887 - Switch uses of float for the zoom APIs to use double.
3889 * MiniBrowser/mac/BrowserWindowController.h:
3890 * MiniBrowser/mac/BrowserWindowController.m:
3891 (-[BrowserWindowController initWithPageNamespace:]):
3892 (-[BrowserWindowController validateMenuItem:]):
3893 (-[BrowserWindowController validateUserInterfaceItem:]):
3894 (-[BrowserWindowController currentZoomFactor]):
3895 (-[BrowserWindowController setCurrentZoomFactor:]):
3896 (-[BrowserWindowController canZoomIn]):
3897 (-[BrowserWindowController zoomIn:]):
3898 (-[BrowserWindowController canZoomOut]):
3899 (-[BrowserWindowController zoomOut:]):
3900 (-[BrowserWindowController canResetZoom]):
3901 (-[BrowserWindowController resetZoom:]):
3902 (-[BrowserWindowController toggleZoomMode:]):
3903 * MiniBrowser/mac/MainMenu.xib:
3904 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3905 (WTR::EventSendingController::textZoomIn):
3906 (WTR::EventSendingController::textZoomOut):
3907 (WTR::EventSendingController::zoomPageIn):
3908 (WTR::EventSendingController::zoomPageOut):
3910 2010-09-10 Robert Hogan <robert@webkit.org>
3912 Reviewed by Andreas Kling.
3914 [Qt] Fix crash in DRT in standalone mode
3916 https://bugs.webkit.org/show_bug.cgi?id=45454
3918 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3919 (WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
3921 2010-09-10 Sam Weinig <sam@webkit.org>
3923 Reviewed by Darin Adler.
3925 Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
3926 Precursor to <rdar://problem/7660657>
3927 https://bugs.webkit.org/show_bug.cgi?id=45522
3929 Update for changes to the Bundle API to allow separate control of page and text zoom
3932 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3933 (WTR::EventSendingController::textZoomIn):
3934 (WTR::EventSendingController::textZoomOut):
3935 (WTR::EventSendingController::zoomPageIn):
3936 (WTR::EventSendingController::zoomPageOut):
3937 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3938 (WTR::InjectedBundlePage::reset):
3940 2010-09-10 Yael Aharon <yael.aharon@nokia.com>
3942 Reviewed by Andreas Kling.
3944 [Qt] Support click event for notifications
3945 https://bugs.webkit.org/show_bug.cgi?id=44836
3947 Add support for simulateDesktopNotificationClick by calling
3948 back to DumpRenderTreeSupportQt.cpp.
3950 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3951 (LayoutTestController::simulateDesktopNotificationClick):
3952 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3954 2010-09-10 Mihai Parparita <mihaip@chromium.org>
3956 Reviewed by Eric Seidel.
3958 Update queue status when patches fail their first land attempt
3959 https://bugs.webkit.org/show_bug.cgi?id=45583
3961 Add a few more _update_status calls to make it more obvious if a patch is
3962 being retried because tests failed.
3964 * Scripts/webkitpy/tool/commands/queues.py:
3966 2010-09-10 Balazs Kelemen <kb@inf.u-szeged.hu>
3968 Reviewed by Andreas Kling.
3970 [Qt] MiniBrowser crashes with multiply windows when closing one of them
3971 https://bugs.webkit.org/show_bug.cgi?id=45536
3973 * MiniBrowser/qt/BrowserView.cpp:
3974 (BrowserView::BrowserView): Reference the context instead of adopting it
3975 because it can be shared across different views.
3977 2010-09-10 Tony Chang <tony@chromium.org>
3979 Unreviewed, rolling out r67241.
3980 http://trac.webkit.org/changeset/67241
3981 https://bugs.webkit.org/show_bug.cgi?id=44709
3983 Accidentally committed.
3985 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
3986 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
3988 2010-09-10 Tony Chang <tony@chromium.org>
3990 Reviewed by Ojan Vafai.
3992 deduplicate-tests should be runnable from any WebKit directory
3993 https://bugs.webkit.org/show_bug.cgi?id=44709
3995 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
3996 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
3998 2010-09-10 Tony Chang <tony@chromium.org>
4000 Unreviewed, rolling out r67216.
4001 http://trac.webkit.org/changeset/67216
4002 https://bugs.webkit.org/show_bug.cgi?id=44709
4006 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
4007 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
4009 2010-09-10 Tony Chang <tony@chromium.org>
4011 Reviewed by Ojan Vafai.
4013 deduplicate-tests should be runnable from any WebKit directory
4014 https://bugs.webkit.org/show_bug.cgi?id=44709
4016 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
4017 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
4019 2010-09-09 Hans Wennborg <hans@chromium.org>
4021 Reviewed by Jeremy Orlow.
4023 Hook up LayoutTestController.setMockDeviceOrientation() in Chromium DumpRenderTree.
4024 https://bugs.webkit.org/show_bug.cgi?id=45460
4026 This enables DumpRenderTree to run layout tests for DeviceOrientation.
4028 Also declare the LayoutTestController destructor out-of-line.
4029 Otherwise the implicit destructor would cause compiler errors because
4030 of the OwnPtr<WebKit::WebDeviceOrientationClientMock> member.
4032 * DumpRenderTree/chromium/LayoutTestController.cpp:
4033 (LayoutTestController::~LayoutTestController):
4034 (LayoutTestController::setMockDeviceOrientation):
4035 (LayoutTestController::deviceOrientationClient):
4036 * DumpRenderTree/chromium/LayoutTestController.h:
4037 * DumpRenderTree/chromium/WebViewHost.cpp:
4038 (WebViewHost::deviceOrientationClient):
4039 * DumpRenderTree/chromium/WebViewHost.h:
4041 2010-09-09 Sheriff Bot <webkit.review.bot@gmail.com>
4043 Unreviewed, rolling out r67119.
4044 http://trac.webkit.org/changeset/67119
4045 https://bugs.webkit.org/show_bug.cgi?id=45505
4047 Extra newlines in results (Requested by tony^work on #webkit).
4049 * DumpRenderTree/chromium/LayoutTestController.cpp:
4050 (LayoutTestController::LayoutTestController):
4051 (LayoutTestController::reset):
4052 * DumpRenderTree/chromium/LayoutTestController.h:
4053 * DumpRenderTree/chromium/TestShell.h:
4054 * DumpRenderTree/chromium/WebViewHost.cpp:
4055 (printResponseDescription):
4056 (printNodeDescription):
4057 (printRangeDescription):
4058 (WebViewHost::shouldBeginEditing):
4059 (WebViewHost::shouldEndEditing):
4060 (WebViewHost::shouldInsertNode):
4061 (WebViewHost::shouldChangeSelectedRange):
4062 (WebViewHost::shouldDeleteRange):
4063 (WebViewHost::shouldApplyStyle):
4064 (WebViewHost::didBeginEditing):
4065 (WebViewHost::didChangeSelection):
4066 (WebViewHost::didChangeContents):
4067 (WebViewHost::didEndEditing):
4068 (WebViewHost::decidePolicyForNavigation):
4069 (WebViewHost::didCancelClientRedirect):
4070 (WebViewHost::didStartProvisionalLoad):
4071 (WebViewHost::didReceiveServerRedirectForProvisionalLoad):
4072 (WebViewHost::didFailProvisionalLoad):
4073 (WebViewHost::didCommitProvisionalLoad):
4074 (WebViewHost::didFinishDocumentLoad):
4075 (WebViewHost::didHandleOnloadEvents):
4076 (WebViewHost::didFailLoad):
4077 (WebViewHost::didFinishLoad):
4078 (WebViewHost::didChangeLocationWithinPage):
4079 (WebViewHost::willSendRequest):
4080 (WebViewHost::didReceiveResponse):
4081 (WebViewHost::didFinishResourceLoad):
4082 (WebViewHost::didFailResourceLoad):
4083 (WebViewHost::didDisplayInsecureContent):
4084 (WebViewHost::didRunInsecureContent):
4085 (WebViewHost::printFrameDescription):
4087 2010-09-09 Michael Saboff <msaboff@apple.com>
4089 Unreviewed, adding myself to committers list.
4091 * Scripts/webkitpy/common/config/committers.py:
4093 2010-09-09 Mihai Parparita <mihaip@chromium.org>
4095 Reviewed by Tony Chang.
4097 Implement layoutTestController.dumpResourceResponseMIMETypes in Chromium DRT
4098 https://bugs.webkit.org/show_bug.cgi?id=45479
4100 Implement layoutTestController.dumpResourceResponseMIMETypes (modelled after
4101 implementation in ResourceLoadDelegate in the Mac port).
4103 * DumpRenderTree/chromium/LayoutTestController.cpp:
4104 (LayoutTestController::LayoutTestController):
4105 (LayoutTestController::dumpResourceResponseMIMETypes):
4106 (LayoutTestController::reset):
4107 * DumpRenderTree/chromium/LayoutTestController.h:
4108 (LayoutTestController::setShouldDumpResourceResponseMIMETypes):
4109 (LayoutTestController::shouldDumpResourceResponseMIMETypes):
4110 * DumpRenderTree/chromium/TestShell.h:
4111 (TestShell::shouldDumpResourceResponseMIMETypes):
4112 * DumpRenderTree/chromium/WebViewHost.cpp:
4113 (WebViewHost::didReceiveResponse):
4115 2010-09-09 Mihai Parparita <mihaip@chromium.org>
4117 Reviewed by Daniel Bates.
4119 svn-apply tries to delete directories it shouldn't
4120 https://bugs.webkit.org/show_bug.cgi?id=45424
4122 isDirectoryEmptyForRemoval had the wrong check. If an item in the
4123 directory is itself a directory, then the directory is definitely
4126 * Scripts/svn-apply:
4128 2010-09-09 Chris Fleizach <cfleizach@apple.com>
4130 Fixing GTK and windows build failure.
4132 AX: Support AccessibilityTextMarkers in DRT
4133 https://bugs.webkit.org/show_bug.cgi?id=44778
4135 * DumpRenderTree/AccessibilityTextMarker.h:
4136 (AccessibilityTextMarker::platformTextMarker):
4137 (AccessibilityTextMarkerRange::platformTextMarkerRange):
4138 * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
4139 (AccessibilityTextMarker::platformTextMarker):
4140 (AccessibilityTextMarkerRange::platformTextMarkerRange):
4142 2010-09-09 Chris Fleizach <cfleizach@apple.com>
4144 Reviewed by David Kilzer.
4146 AX: Support AccessibilityTextMarkers in DRT
4147 https://bugs.webkit.org/show_bug.cgi?id=44778
4149 Add AccessibilityTextMarker and AccessibilityTextMarkerRange which encapsulate the AXTextMarkers
4150 that WebCore uses when vending information about its VisiblePositions through AX.
4152 There are a few new methods in AccessibilityUIElement to retrieve and use text markers, and some basic
4153 methods for encapsulating and checking equality.
4155 This will allow future bug fixes in the text marker system to be adequately tested.
4157 * DumpRenderTree/AccessibilityTextMarker.cpp: Added.
4159 (isMarkerEqualCallback):
4161 (AccessibilityTextMarker::makeJSAccessibilityTextMarker):
4162 (AccessibilityTextMarker::getJSClass):
4163 (toTextMarkerRange):
4164 (isMarkerRangeEqualCallback):
4165 (markerRangeFinalize):
4166 (AccessibilityTextMarkerRange::makeJSAccessibilityTextMarkerRange):
4167 (AccessibilityTextMarkerRange::getJSClass):
4168 * DumpRenderTree/AccessibilityTextMarker.h: Added.
4169 (AccessibilityTextMarker::platformTextMarker):
4170 (AccessibilityTextMarkerRange::platformTextMarkerRange):
4171 (AccessibilityTextMarker::AccessibilityTextMarker):
4172 (AccessibilityTextMarker::~AccessibilityTextMarker):
4173 (AccessibilityTextMarker::isEqual):
4174 (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
4175 (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
4176 (AccessibilityTextMarkerRange::isEqual):
4177 * DumpRenderTree/AccessibilityUIElement.cpp:
4178 (textMarkerRangeForElementCallback):
4179 (textMarkerRangeLengthCallback):
4180 (textMarkerRangeForMarkersCallback):
4181 (startTextMarkerForTextMarkerRangeCallback):
4182 (endTextMarkerForTextMarkerRangeCallback):
4183 (accessibilityElementForTextMarkerCallback):
4184 (AccessibilityUIElement::textMarkerRangeForElement):
4185 (AccessibilityUIElement::textMarkerRangeLength):
4186 (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
4187 (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
4188 (AccessibilityUIElement::accessibilityElementForTextMarker):
4189 (AccessibilityUIElement::getJSClass):
4190 * DumpRenderTree/AccessibilityUIElement.h:
4191 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4192 * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm: Added.
4193 (AccessibilityTextMarker::AccessibilityTextMarker):
4194 (AccessibilityTextMarker::~AccessibilityTextMarker):
4195 (AccessibilityTextMarker::isEqual):
4196 (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
4197 (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
4198 (AccessibilityTextMarkerRange::isEqual):
4199 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4200 (AccessibilityUIElement::textMarkerRangeForElement):
4201 (AccessibilityUIElement::textMarkerRangeLength):
4202 (AccessibilityUIElement::textMarkerRangeForMarkers):
4203 (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
4204 (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
4205 (AccessibilityUIElement::accessibilityElementForTextMarker):
4206 * DumpRenderTree/win/DumpRenderTree.vcproj:
4208 2010-08-25 Tony Chang <tony@chromium.org>
4210 Reviewed by Ojan Vafai.
4212 don't delete duplicates needed because of intermediate results
4213 https://bugs.webkit.org/show_bug.cgi?id=44653
4215 Also, output the full path so we can pipe the output to rm.
4217 * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
4218 * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
4220 2010-09-09 Balazs Kelemen <kb@inf.u-szeged.hu>
4222 Reviewed by Andreas Kling.
4224 [Qt] MiniBrowser does not starts properly
4225 https://bugs.webkit.org/show_bug.cgi?id=45459
4227 Do not try set up the first window by calling newWindow on a
4228 newly created BrowserWindow since it creates a new object.
4229 * MiniBrowser/qt/BrowserWindow.cpp:
4230 (BrowserWindow::BrowserWindow):
4231 * MiniBrowser/qt/main.cpp:
4234 2010-09-09 Martin Robinson <mrobinson@igalia.com>
4236 Reviewed by Xan Lopez.
4238 [GTK] Get ImageDiff building on Win32
4239 https://bugs.webkit.org/show_bug.cgi?id=45353
4241 * DumpRenderTree/gtk/ImageDiff.cpp:
4242 (main): Switch from using strtok to g_strsplit.