1 2008-12-01 David Kilzer <ddkilzer@apple.com>
3 Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
5 <https://bugs.webkit.org/show_bug.cgi?id=22466>
6 <rdar://problem/6403593>
8 Reviewed by Brady Eidson.
10 * DumpRenderTree/mac/DumpRenderTree.mm:
11 (normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag,
12 Keep-Alive, Last-Modified and Server header fields to prevent false
13 positive test failures.
14 (convertWebResourceResponseToDictionary): Call
15 normalizeHTTPResponseHeaderFields() to noramlize HTTP response
18 2008-12-01 David D. Kilzer <ddkilzer@webkit.org>
20 Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
22 <https://bugs.webkit.org/show_bug.cgi?id=22559>
24 Reviewed by Adam Roben.
26 * Scripts/bisect-builds: Updated status message to report the
27 maximum number of builds left to test after the current one.
30 2008-11-27 Alp Toker <alp@nuanti.com>
32 Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
33 API header breakage at build time.
37 2008-11-26 Eric Seidel <eric@webkit.org>
39 Reviewed by Nikolas Zimmermann and Mark Rowe.
41 Add support for build-webkit --chromium
42 https://bugs.webkit.org/show_bug.cgi?id=22515
43 More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
45 * Scripts/build-dumprendertree:
47 * Scripts/build-webkit:
49 * Scripts/run-webkit-tests:
50 * Scripts/webkitdirs.pm:
52 2008-11-26 Eric Seidel <eric@webkit.org>
54 Reviewed by Nikolas Zimmermann.
56 Add support for build-webkit --chromium (tested on mac)
57 https://bugs.webkit.org/show_bug.cgi?id=22515
58 Also simplified some code using checkArgv
60 * Scripts/build-webkit:
61 * Scripts/webkitdirs.pm:
63 2008-11-26 Eric Seidel <eric@webkit.org>
65 Reviewed by Nikolas Zimmermann.
67 More pre-work for adding a build-webkit --chromium which works on Mac and Windows
68 https://bugs.webkit.org/show_bug.cgi?id=22515
69 Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
70 in preparation for having a chromium cygwin and chromium mac build
72 * Scripts/build-webkit:
73 * Scripts/webkitdirs.pm:
75 2008-11-26 Eric Seidel <eric@webkit.org>
77 Reviewed by Nikolas Zimmermann.
79 Pre-work for getting build-webkit --chromium to work
80 https://bugs.webkit.org/show_bug.cgi?id=22515
81 Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
83 * Scripts/build-dumprendertree:
85 * Scripts/build-webkit:
87 * Scripts/run-javascriptcore-tests:
88 * Scripts/run-webkit-tests:
89 * Scripts/webkitdirs.pm:
91 2008-11-26 David Kilzer <ddkilzer@apple.com>
93 Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
95 <https://bugs.webkit.org/show_bug.cgi?id=22488>
97 Reviewed by Brady Eidson.
99 * DumpRenderTree/mac/DumpRenderTree.mm:
100 (convertWebResourceDataToString): If an IANA charset encoding string
101 is provided, convert it to a CFStringEncoding value and then to an
102 NSStringEncoding value, else fall back to NSUTF8StringEncoding. We
103 also nil-check dataAsString, so the worst-case scenario is that the
104 data won't be decoded to a string (versus crashing DumpRenderTree).
106 2008-11-26 Jan Michael Alonzo <jmalonzo@webkit.org>
108 Reviewed by Holger Freyther.
110 [Gtk] add/remove tests from Skipped and fix netscape plugin test
111 https://bugs.webkit.org/show_bug.cgi?id=22484
113 Remove print'ing to stderr
115 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
119 2008-11-25 Steve Falkenburg <sfalken@apple.com>
123 * DumpRenderTree/cg/PixelDumpSupportCG.h:
125 2008-11-25 Steve Falkenburg <sfalken@apple.com>
129 * DumpRenderTree/cg/ImageDiffCG.cpp:
131 2008-11-24 Darin Fisher <darin@chromium.org>
135 https://bugs.webkit.org/show_bug.cgi?id=15643
137 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
138 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
140 2008-11-24 Glenn Wilson <gwilson@chromium.org>
142 Reviewed by Alexey Proskuryakov.
144 http://bugs.webkit.org/show_bug.cgi?id=15643
146 Added support for changing the "trailing whitespace" work-around
147 in LayoutTestController (so layout tests can verify this functionality)
149 * DumpRenderTree/LayoutTestController.cpp:
150 (setSelectTrailingWhitespaceEnabledCallback):
151 (LayoutTestController::staticFunctions):
152 * DumpRenderTree/LayoutTestController.h:
153 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
154 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
155 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
156 (LayoutTestController::setSelectTrailingWhitespaceEnabled):
158 2008-11-24 Simon Fraser <simon.fraser@apple.com>
160 Reviewed by Darin Adler
162 https://bugs.webkit.org/show_bug.cgi?id=22433
164 Add script that attempts to detect virtual methods
165 whose signatures differ only by constness (which can
166 indicate a programming error).
168 * Scripts/detect-mismatched-virtual-const: Added.
170 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
172 Reviewed by Holger Freyther.
174 https://bugs.webkit.org/show_bug.cgi?id=22039
176 [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
179 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
180 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
181 * DumpRenderTree/gtk/DumpRenderTree.cpp:
182 (setDefaultsToConsistentStateValuesForTesting):
183 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
184 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
185 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
188 2008-11-24 Holger Hans Peter Freyther <zecke@selfish.org>
190 Reviewed by Mark Rowe.
192 [Gtk+] Add configure option to enable Web Workers and enable it by default
194 Add --enable-workers to the buildsystem (used by build-webkit) add
195 the to be build files to the GNUmakefile.am and change build-webkit
196 to enable Web Workers by default.
198 * Scripts/build-webkit:
200 2008-11-24 Mark Rowe <mrowe@apple.com>
202 Reviewed by Alexey Proskuryakov.
204 Let gdb-safari accept the --debug and --release options once more.
206 * Scripts/gdb-safari:
208 2008-11-23 Zan Dobersek <zandobersek@gmail.com>
210 Reviewed by Holger Freyther. Landed by Jan Alonzo.
212 Get SVG tests tested on GTK port.
214 * Scripts/webkitdirs.pm:
216 2008-11-19 Greg Bolsinga <bolsinga@apple.com>
218 Reviewed by Darin Adler.
220 https://bugs.webkit.org/show_bug.cgi?id=21810
221 Remove use of static C++ objects that are destroyed at exit time (destructors)
223 All static C++ objects that create atexit calls are gone. Update script
224 to indicate how to fix the problem should a new one appear.
226 * Scripts/check-for-exit-time-destructors:
228 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
230 Reviewed by Darin Adler.
232 https://bugs.webkit.org/show_bug.cgi?id=22337
233 Enable workers by default
235 * Scripts/build-webkit: Changed the default to enabled.
237 2008-11-18 Alexey Proskuryakov <ap@webkit.org>
239 Rubber-stamped by Darin Adler.
241 https://bugs.webkit.org/show_bug.cgi?id=22306
242 Disable channel messaging support
244 * Scripts/build-webkit: Add an option to enable channel messaging.
246 2008-11-17 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
248 Reviewed by George Staikos.
250 Add --(no-)wml build flags.
252 * Scripts/build-webkit:
253 * Scripts/run-webkit-tests:
254 * Scripts/webkitdirs.pm:
256 2008-11-17 Geoffrey Garen <ggaren@apple.com>
260 Try to fix gtk build.
262 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
263 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
264 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
266 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
270 Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
273 https://bugs.webkit.org/show_bug.cgi?id=22271
275 * Scripts/run-webkit-tests:
277 2008-11-17 Pierre-Olivier Latour <pol@apple.com>
279 Reviewed by Sam Weinig.
281 Added new JavaScript API on LayoutController to pause a running
282 CSS transition or animation at a given time.
284 https://bugs.webkit.org/show_bug.cgi?id=21261
286 * DumpRenderTree/LayoutTestController.cpp:
287 (pauseAnimationAtTimeOnElementWithIdCallback):
288 (pauseTransitionAtTimeOnElementWithIdCallback):
289 (LayoutTestController::staticFunctions):
290 * DumpRenderTree/LayoutTestController.h:
291 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
292 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
293 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
294 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
295 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
296 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
298 2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
300 Reviewed by Darin Adler.
302 <https://bugs.webkit.org/show_bug.cgi?id=22309>
303 Pass the remaining options to build system on Qt-port
305 * Scripts/build-webkit:
306 * Scripts/webkitdirs.pm:
308 2008-11-16 Greg Bolsinga <bolsinga@apple.com>
310 Reviewed by Darin Adler.
312 https://bugs.webkit.org/show_bug.cgi?id=21810
313 Remove use of static C++ objects that are destroyed at exit time (destructors)
315 Remove .o files from the exclude list that have had their exit-time destructors removed.
316 Handle case when there is no current symbol.
318 * Scripts/check-for-exit-time-destructors:
320 2008-11-16 Sam Weinig <sam@webkit.org>
322 * Scripts/do-webcore-rename: Remove now fixed renames.
324 2008-11-16 Darin Adler <darin@apple.com>
326 * Scripts/do-webcore-rename: Plan some future renames.
328 2008-11-15 Darin Adler <darin@apple.com>
330 Rubber stamped by Geoff Garen.
332 - do the long-planned StructureID -> Structure rename
334 * Scripts/check-for-global-initializers: Update name of StructureID.o.
335 * Scripts/do-webcore-rename: Renaming script that I used.
337 2008-11-15 Greg Bolsinga <bolsinga@apple.com>
339 Reviewed by Darin Adler.
341 https://bugs.webkit.org/show_bug.cgi?id=21810
342 Remove use of static C++ objects that are destroyed at exit time (destructors)
344 Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
345 exit-time destructor. Update code that was changed to fix this issue that ran
346 into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
347 in gcc build 5465). Also typdefs for template types needed to be added in some
348 cases so the type could make it through the macro successfully.
350 Basically code of the form:
353 DEFINE_STATIC_LOCAL(T, m, ());
355 Also any code of the form:
356 static T& m = *new T;
358 DEFINE_STATIC_LOCAL(T, m, ());
360 Remove .o files from the exclude list that have had their exit-time destructors removed.
362 * Scripts/check-for-exit-time-destructors:
364 2008-11-14 Kevin Ollivier <kevino@theolliviers.com>
366 wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
368 * wx/install-unix-extras:
370 2008-11-14 Alp Toker <alp@nuanti.com>
372 GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
374 Fixes Debian bug #505723
375 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
377 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
379 2008-11-14 Krishna <krishnamurty.podipireddy@nokia.com>
381 Reviewed by Simon Hausmann.
383 Fix hanging DRT with Qt.
385 https://bugs.webkit.org/show_bug.cgi?id=22209
387 * DumpRenderTree/qt/DumpRenderTree.cpp:
388 (WebCore::DumpRenderTree::dump):
389 Send empty pixel test data 'block', which is now
390 expected by run-layout-tests.
392 2008-11-12 Dmitry Titov <dimich@chromium.org>
394 Reviewed by Alexey Proskuryakov.
396 https://bugs.webkit.org/show_bug.cgi?id=22216
398 * Scripts/build-webkit:
399 Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
401 2008-11-06 David Kilzer <ddkilzer@apple.com>
403 BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
405 Apparently older versions of gcc have issues with this patch.
406 Backing out a second time until the issues are resolved.
408 2008-11-06 David Kilzer <ddkilzer@apple.com>
410 BUILD WAS NOT BROKEN: Rolling r38189 back in.
412 Please perform a clean build if you see crashes.
414 2008-11-06 David Kilzer <ddkilzer@apple.com>
416 BUILD FIX: Backed out r38189 since it apparently broke the world.
418 2008-11-06 Chris Fleizach <cfleizach@apple.com>
420 Reviewed by Beth Dakin.
422 Add ability to query an attribute's settable status and the
423 ability to retrieve a single attribute from an AXObject
425 * DumpRenderTree/AccessibilityUIElement.cpp:
426 (isAttributeSettableCallback):
427 (attributeValueCallback):
428 (AccessibilityUIElement::getJSClass):
429 * DumpRenderTree/AccessibilityUIElement.h:
430 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
431 (+[NSString stringWithJSStringRef:]):
432 (AccessibilityUIElement::attributeValue):
433 (AccessibilityUIElement::isAttributeSettable):
434 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
435 (AccessibilityUIElement::attributeValue):
436 (AccessibilityUIElement::isAttributeSettable):
438 2008-11-06 Greg Bolsinga <bolsinga@apple.com>
440 Reviewed by Darin Adler.
442 Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
443 https://bugs.webkit.org/show_bug.cgi?id=21810
445 Remove .o files from the exclude list that have had their exit-time destructors removed.
447 * Scripts/check-for-exit-time-destructors:
449 2008-11-05 Alp Toker <alp@nuanti.com>
451 GTK build script tweak.
453 Make the path relative since it will appear in all -I compiler flags.
454 Long argument lists cause bizarre slowdowns in libtool and result
457 * Scripts/webkitdirs.pm:
459 2008-11-05 Anders Carlsson <andersca@apple.com>
463 * DumpRenderTree/mac/DumpRenderTree.mm:
464 (setDefaultsToConsistentValuesForTesting):
466 2008-11-04 Simon Fraser <simon.fraser@apple.com>
468 Add AccessibilityObject.o to the exclude list for the
469 check for global destructors.
471 * Scripts/check-for-exit-time-destructors:
473 2008-11-04 Darin Adler <darin@apple.com>
475 * Scripts/check-for-exit-time-destructors: Fix failures seen on the
476 bot, but for some reason not on my computer.
478 2008-11-03 Darin Adler <darin@apple.com>
480 Reviewed by Tim Hatcher.
482 - https://bugs.webkit.org/show_bug.cgi?id=22061
483 create script to check for exit-time destructors
485 * Scripts/check-for-exit-time-destructors: Added.
486 Started as a copy of check-for-global-initializers.
488 * Scripts/check-for-global-initializers: Added code to make
489 this script rerun any time it's modified, and also to properly
490 run again after the first time it reports an error.
492 2008-11-03 Pierre-Olivier Latour <pol@apple.com>
494 Reviewed by Dan Bernstein.
496 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
498 https://bugs.webkit.org/show_bug.cgi?id=22054
500 * DumpRenderTree/mac/DumpRenderTree.mm:
501 (setDefaultsToConsistentValuesForTesting):
503 2008-10-31 Cameron Zwarich <zwarich@apple.com>
507 * Scripts/do-webcore-rename:
509 Add some renames to contemplate for the future.
511 2008-10-31 Darin Adler <darin@apple.com>
513 Requested by Mark Rowe.
515 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
517 2008-10-31 David Kilzer <ddkilzer@apple.com>
519 Bug 21997: prepare-ChangeLog should filter out ChangeLog files
521 <https://bugs.webkit.org/show_bug.cgi?id=21997>
523 Reviewed by Darin Adler.
525 * Scripts/prepare-ChangeLog:
526 (generateFileList): Don't add ChangeLog files to %{$functionLists}.
527 This prevents them from showing up in the new ChangeLog entry. They
528 were already excluded from @{$changedFiles}.
530 2008-10-30 Mark Rowe <mrowe@apple.com>
532 Reviewed by Jon Homeycutt.
534 Explicitly default to building for only the native architecture in debug and release builds.
536 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
538 2008-10-30 Pierre-Olivier Latour <pol@apple.com>
540 Reviewed by Dan Bernstein.
542 Fixed 64 bit build failure.
544 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
545 (setupMainDisplayColorProfile):
546 (createBitmapContextFromWebView):
548 2008-10-28 Alp Toker <alp@nuanti.com>
550 Fix GTK DRT following build breakage in r37928.
552 * DumpRenderTree/gtk/DumpRenderTree.cpp:
557 2008-10-28 Alp Toker <alp@nuanti.com>
559 Reviewed by Mark Rowe.
561 Fix recently introduced double-free crashes in GTK DRT.
563 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
564 were updated to call ->deref() but GTK DRT was still deleting
565 gLayoutTestController manually. This patch updates GTK to match the
566 other ports and resolves the memory allocation issues.
568 * DumpRenderTree/gtk/DumpRenderTree.cpp:
571 2008-10-28 Alp Toker <alp@nuanti.com>
573 Reviewed by Mark Rowe.
575 Fix GTK DRT hang when running the tests.
577 Update output from the DRT tool to print an additional '#EOF' to match
578 breaking changes that were made in r37434.
580 * DumpRenderTree/gtk/DumpRenderTree.cpp:
583 2008-10-28 Adele Peterson <adele@apple.com>
585 Reviewed by Sam Weinig.
587 Specify which Localizable.strings to update since we don't always want to update the file in the same
588 directory where we're searching for the strings to localize.
590 * Scripts/extract-localizable-strings:
591 * Scripts/update-webkit-localizable-strings:
593 2008-10-28 Timothy Hatcher <timothy@apple.com>
595 Add support for enabling the profiler, so the profiling tests can continue
596 work now that the profiler is not always enabled.
598 https://bugs.webkit.org/show_bug.cgi?id=21927
600 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
601 not slow down JavaScript all the time
603 Reviewed by Darin Adler and Kevin McCullough.
605 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
606 * DumpRenderTree/LayoutTestController.cpp:
607 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
608 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
609 * DumpRenderTree/LayoutTestController.h:
610 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
611 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
612 * DumpRenderTree/mac/DumpRenderTree.mm:
613 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
614 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
615 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
616 * DumpRenderTree/win/DumpRenderTree.cpp:
617 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
618 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
619 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
621 2008-10-28 Pierre-Olivier Latour <pol@apple.com>
623 Reviewed by Dan Bernstein
625 Primary changes in DumpRenderTree:
626 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
627 is different from regular font CG anti-aliasing) as font-smoothing settings
628 depends on the display and can also be changed by the user
629 - Use a new cleared buffer for each test instead of the reusing same one to
630 avoid potential result corruption across tests
631 - Can now receive the expected pixel hash as a suffix to the test path or
633 - Make sure hash is computed in a endian-independent way
634 - Improve the code that sets/restores the screen color profile
635 - Make the code more cross-platformy with std::string goodness
636 - Added an "on-screen" mode where the snapshot will take into account surfaces
637 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
638 reading from the display framebuffer on 10.4. This mode is not active by
639 default for performance reason, but must be explicitly activated from the test
640 file using the new "testOnscreen()" JS API.
642 Primary changes in ImageDiff:
643 - Provide a new comparison algorithm that is more tolerant to "acceptable"
644 failures (i.e. very small differences in font rendering, which --threshold is
645 not really good at handling)
646 - Generate normalized intensity-only diff images
648 Primary changes in run-webkit-tests:
649 - Take advantage of hashes for pixel tests which makes them much faster by
650 minimizing image comparisons
651 - Removed repaint options as these should be set from within test files using
653 - Replaced "threshold" option in by "tolerance" expressed in percents
654 - Added more logging when in "verbose" mode
656 https://bugs.webkit.org/show_bug.cgi?id=21322
657 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
658 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
659 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
660 * DumpRenderTree/LayoutTestController.cpp:
661 (LayoutTestController::LayoutTestController):
662 (testOnscreenCallback):
663 (LayoutTestController::staticFunctions):
664 * DumpRenderTree/LayoutTestController.h:
665 (LayoutTestController::testOnscreen):
666 (LayoutTestController::setTestOnscreen):
667 (LayoutTestController::testPathOrURL):
668 (LayoutTestController::expectedPixelHash):
669 * DumpRenderTree/PixelDumpSupport.h:
670 * DumpRenderTree/cg/ImageDiffCG.cpp:
672 (releaseMallocBuffer):
673 (createDifferenceImage):
676 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
677 (computeMD5HashStringForBitmapContext):
678 (dumpWebViewAsPixelsAndCompareWithExpected):
679 * DumpRenderTree/cg/PixelDumpSupportCG.h:
680 (BitmapContext::createByAdoptingBitmapAndContext):
681 (BitmapContext::~BitmapContext):
682 (BitmapContext::cgContext):
683 (BitmapContext::BitmapContext):
684 * DumpRenderTree/mac/DumpRenderTree.mm:
685 (shouldIgnoreWebCoreNodeLeaks):
686 (setDefaultsToConsistentValuesForTesting):
688 (initializeGlobalsFromCommandLineOptions):
689 (prepareConsistentTestingEnvironment):
691 (sizeWebViewForCurrentTest):
694 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
695 (restoreMainDisplayColorProfile):
696 (setupMainDisplayColorProfile):
697 (createBitmapContextFromWebView):
698 * DumpRenderTree/win/DumpRenderTree.cpp:
701 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
702 (getBitmapContextFromWebView):
703 * Scripts/run-webkit-tests:
705 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
707 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
711 2008-10-24 Anders Carlsson <andersca@apple.com>
713 Try fixing the 64-bit build.
715 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
718 2008-10-24 Anders Carlsson <andersca@apple.com>
720 Reviewed by Sam Weinig.
722 <rdar://problem/5440917> Support NPN_Construct
724 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
729 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
732 Handle testConstruct.
734 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
736 Add objectPointer property.
739 Only enumerate the two first properties.
742 Add a simple construct implementation that just returns the test object.
744 2008-10-24 David Kilzer <ddkilzer@apple.com>
746 Bug 21850: svn-apply and svn-unapply should preserve patch line endings
748 <https://bugs.webkit.org/show_bug.cgi?id=21850>
750 Reviewed by Adam Roben.
752 * Scripts/svn-apply: Save end-of-line characters when stripping them
753 off each line of a patch so that they may be restored after
755 * Scripts/svn-unapply: Ditto.
757 2008-10-23 David Kilzer <ddkilzer@apple.com>
759 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
761 <https://bugs.webkit.org/show_bug.cgi?id=21832>
763 Reviewed by Sam Weinig.
765 * Scripts/bisect-builds: Use imported tempfile() from File::Temp
766 instead of 'new File::Temp' to make the script work with Perl 5.10.
767 * Scripts/sort-Xcode-project-file: Ditto.
769 2008-10-22 Brady Eidson <beidson@apple.com>
771 Reviewed by Adam Roben
773 <rdar://6261773> - autocomplete="off" doesn't work on Windows
775 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
777 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
779 2008-10-22 Darin Adler <darin@apple.com>
781 * Scripts/do-webcore-rename: More renaming plans.
783 2008-10-21 Steve Falkenburg <sfalken@apple.com>
785 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
787 * Scripts/extract-localizable-strings:
789 2008-10-17 Maciej Stachowiak <mjs@apple.com>
791 Reviewed by Mark Rowe.
793 - default to 1000 tests per dump tool instance again, now that CTI no longer causes
794 excess different stack logs.
796 (Also fix a small bug in my last change.)
798 * Scripts/run-webkit-tests:
800 2008-10-17 Stephanie Lewis <slewis@apple.com>
802 Reviewed by Mark Rowe.
804 Fix layout tests that use prologues and epilogues.
806 * Scripts/run-webkit-tests:
808 2008-10-17 Maciej Stachowiak <mjs@apple.com>
810 Reviewed by Mark Rowe.
812 - make sure MallocStackLogging is only on for tools we want to
813 leak check, not other random stuff as well.
815 * Scripts/run-webkit-tests:
817 2008-10-17 Maciej Stachowiak <mjs@apple.com>
819 Reviewed by Stephanie Lewis.
821 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
823 This should reduce or eliminate crashes on the buildbot due to
824 running out of memory while stack logging.
826 * Scripts/run-webkit-tests:
828 2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
830 Gtk build fix. Not reviewed.
832 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
833 (LayoutTestController::setSmartInsertDeleteEnabled):
835 2008-10-15 Glenn Wilson <gwilson@google.com>
837 Added new method to allow tests to disable smart editing in the course of a test.
838 This is a possible solution to bug .20655
840 Reviewed by Tim Hatcher.
842 * DumpRenderTree/LayoutTestController.cpp:
843 (setSmartInsertDeleteEnabledCallback): new method
844 (LayoutTestController::staticFunctions): added new method to static list of callbacks
845 * DumpRenderTree/LayoutTestController.h: added signature of new method
846 * DumpRenderTree/mac/DumpRenderTree.mm:
847 (resetWebViewToConsistentStateBeforeTesting): added state resetting
848 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
849 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
850 * DumpRenderTree/win/DumpRenderTree.cpp:
851 (resetWebViewToConsistentStateBeforeTesting): added state resetting
852 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
853 (LayoutTestController::setSmartInsertDeleteEnabled): added new method
855 2008-10-14 Ada Chan <adachan@apple.com>
859 Reviewed by Sam Weinig.
861 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
862 * DumpRenderTree/config.h:
863 * DumpRenderTree/win/DumpRenderTreeWin.h:
864 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
865 * DumpRenderTree/win/UIDelegate.cpp:
867 2008-10-13 Timothy Hatcher <timothy@apple.com>
869 Make prepare-ChangeLog populate the changed functions for JavaScript files.
871 https://bugs.webkit.org/show_bug.cgi?id=21567
873 Reviewed by David Kilzer.
875 * Scripts/prepare-ChangeLog:
876 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
877 files that end with ".js".
878 (get_function_line_ranges_for_javascript): Find functions, anonymous functions
881 2008-10-14 Alp Toker <alp@nuanti.com>
883 Reviewed by Sam Weinig.
885 https://bugs.webkit.org/show_bug.cgi?id=16299
886 Add a config.h file to DRT
888 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
889 an ad-hoc config header.
891 * DumpRenderTree/AccessibilityController.cpp:
892 * DumpRenderTree/AccessibilityUIElement.cpp:
893 * DumpRenderTree/AccessibilityUIElement.h:
894 * DumpRenderTree/DumpRenderTree.h:
895 * DumpRenderTree/GCController.cpp:
896 * DumpRenderTree/LayoutTestController.cpp:
897 * DumpRenderTree/WorkQueue.cpp:
898 * DumpRenderTree/config.h: Added.
899 * DumpRenderTree/gtk/DumpRenderTree.cpp:
900 * DumpRenderTree/gtk/GCControllerGtk.cpp:
901 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
902 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
903 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
904 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
905 * DumpRenderTree/win/DumpRenderTree.cpp:
906 * DumpRenderTree/win/DumpRenderTreeWin.h:
907 * DumpRenderTree/win/EditingDelegate.cpp:
908 * DumpRenderTree/win/EventSender.cpp:
909 * DumpRenderTree/win/FrameLoadDelegate.cpp:
910 * DumpRenderTree/win/GCControllerWin.cpp:
911 * DumpRenderTree/win/MD5.cpp:
912 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
913 * DumpRenderTree/win/PolicyDelegate.cpp:
914 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
915 * DumpRenderTree/win/WorkQueueItemWin.cpp:
918 2008-10-13 Chris Fleizach <cfleizach@apple.com>
920 Reviewed by Beth Dakin.
922 Added a method to get the links in a webpage
924 * DumpRenderTree/AccessibilityUIElement.cpp:
925 (attributesOfDocumentLinksCallback):
926 (AccessibilityUIElement::getJSClass):
927 * DumpRenderTree/AccessibilityUIElement.h:
928 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
929 (AccessibilityUIElement::getDocumentLinks):
930 (AccessibilityUIElement::attributesOfDocumentLinks):
931 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
932 (AccessibilityUIElement::getDocumentLinks):
933 (AccessibilityUIElement::attributesOfDocumentLinks):
935 2008-10-13 David Kilzer <ddkilzer@apple.com>
937 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
939 <https://bugs.webkit.org/show_bug.cgi?id=21457>
943 * Scripts/resolve-ChangeLogs: Added optional parameter to
944 -f|--fix-merged switch to run the script on a revision range.
945 Updated command-line validation checks.
946 (findChangeLog): Fixed long-standing bug that should have used
948 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
949 to work when called from git filter-branch. It always restores a
950 copy of the previous revision before reapplying the patch.
951 (fixMergedChangeLogs): Added. Calls itself through git filter-branch
952 to re-merge ChangeLog files across a revision range. Removes
953 .git/refs/original directory on success.
954 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged
956 (removeChangeLogArguments): Added. Removes items from @ARGV when
957 they are ChangeLog paths, and return a list of paths. This makes it
958 easier to validate the command-line.
959 (resolveChangeLog): Added. Extracted from main code block. Runs
960 the traditional single-file merge algorithm.
961 (usageAndExit): Added. Extracted from main code block. Prints
962 usage statement and exits with error status.
964 2008-10-12 Darin Adler <darin@apple.com>
966 * Scripts/make-js-test-wrappers: Update exceptions list so the script
967 won't overwrite files and mangle tests.
969 2008-10-11 Dan Bernstein <mitz@apple.com>
971 Reviewed by Sam Weinig and Anders Carlsson.
973 - update Mac DumpRenderTree to use the new WebView SPI for forcing the
974 complex text code path
975 - add --complex-text support to Windows DumpRenderTree
977 * DumpRenderTree/mac/DumpRenderTree.mm:
979 * DumpRenderTree/win/DumpRenderTree.cpp:
980 (createWebViewAndOffscreenWindow):
982 * Scripts/run-webkit-tests:
984 2008-10-09 Eric Seidel <eric@webkit.org>
986 Reviewed by Oliver Hunt.
988 https://bugs.webkit.org/show_bug.cgi?id=21498
990 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
992 2008-10-09 Cameron Zwarich <zwarich@apple.com>
996 Add StructureID.o to the exclusion list in the global initializers
997 script to fix the Debug build.
999 * Scripts/check-for-global-initializers:
1001 2008-10-08 Mark Rowe <mrowe@apple.com>
1003 Fix the Windows build after r37434.
1005 * DumpRenderTree/win/DumpRenderTree.cpp:
1006 (dump): Update code to approximate valid C++ syntax.
1008 2008-10-08 Timothy Hatcher <timothy@apple.com>
1010 Add SVGElementInstance to the list of exceptions that have
1011 global initializers in debug builds.
1013 Rubber-stamped by Mark Rowe.
1015 * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
1017 2008-10-08 Simon Fraser <simon.fraser@apple.com>
1019 Reviewed by Dan Bernstein
1021 Avoid disconnect between DRT and run-webkit-tests
1022 about whether to expect PNG dumps by having DRT always
1023 print two blocks terminated by #EOF, the second of which
1026 https://bugs.webkit.org/show_bug.cgi?id=21483
1028 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1030 (dumpWebViewAsPixelsAndCompareWithExpected):
1031 * DumpRenderTree/mac/DumpRenderTree.mm:
1033 * DumpRenderTree/win/DumpRenderTree.cpp:
1035 * Scripts/run-webkit-tests:
1037 2008-10-07 Adam Roben <aroben@apple.com>
1039 Make sure short functions get included in ChangeLog output for git
1042 Reviewed by Dave Kilzer.
1044 * Scripts/prepare-ChangeLog:
1045 (sub diffCommand): Pass -U0 to git diff so that each contiguous change
1046 will get its own chunk without any surrounding context.
1047 (sub extractLineRange): Use the line numbers from the chunk header
1048 without modifying them now that they're accurate.
1050 2008-10-04 Mark Rowe <mrowe@apple.com>
1052 Reviewed by Tim Hatcher.
1054 Update check-for-weak-vtables to check only the final linked image for weak vtables.
1055 This gives more useful results than checking each object file independently.
1057 * Scripts/check-for-weak-vtables:
1059 2008-10-03 Pierre-Olivier Latour <pol@apple.com>
1061 Reviewed by Darin Adler
1063 Render images to RGBA8 bitmaps independently of platform endianness.
1065 Create image difference bitmap in reference image colorspace instead of device colorspace
1066 (which depends on the main display profile), so that no color matching happens.
1068 https://bugs.webkit.org/show_bug.cgi?id=21336
1070 * DumpRenderTree/cg/ImageDiffCG.cpp:
1071 (createDifferenceBitmap):
1072 (computePercentageDifferent):
1075 2008-10-02 Simon Fraser <simon.fraser@apple.com>
1077 Reviewed by Darin Adler
1079 Fix hang when running with --pixel --reset, which occurs
1080 because DRT spews PNG data when the script does not expect it.
1082 https://bugs.webkit.org/show_bug.cgi?id=21323
1084 * Scripts/run-webkit-tests:
1086 2008-09-30 Mark Rowe <mrowe@apple.com>
1088 Reviewed by Dan Bernstein.
1090 Add a leak counter for CachedResources since we've had two recent leaks involving them.
1092 * Scripts/check-for-global-initializers:
1094 2008-09-30 Mark Rowe <mrowe@apple.com>
1096 Rubber-stamped by Dan Bernstein.
1098 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
1100 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
1101 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
1102 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
1103 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
1104 torn down before we exit.
1106 * DumpRenderTree/mac/DumpRenderTree.mm:
1110 2008-09-30 Simon Fraser <simon.fraser@apple.com>
1112 Reviewed by Dan Bernstein
1114 Don't run pixel comparison for text-only tests.
1115 https://bugs.webkit.org/show_bug.cgi?id=21124
1117 * DumpRenderTree/mac/DumpRenderTree.mm:
1119 * Scripts/run-webkit-tests:
1121 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
1125 Changed copyright from Trolltech ASA to Nokia.
1127 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
1130 * DumpRenderTree/qt/DumpRenderTree.cpp:
1131 * DumpRenderTree/qt/jsobjects.cpp:
1132 * DumpRenderTree/qt/jsobjects.h:
1133 * DumpRenderTree/qt/main.cpp:
1134 * DumpRenderTree/qt/testplugin.cpp:
1135 * DumpRenderTree/qt/testplugin.h:
1137 2008-09-28 David Kilzer <ddkilzer@apple.com>
1139 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
1141 <https://bugs.webkit.org/show_bug.cgi?id=21185>
1145 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
1146 will attempt to reapply the last commit to a ChangeLog file such
1147 that the ChangeLog entry appears at the top of the file.
1148 (findChangeLog): Added prototype and moved method below the exit
1150 (fixMergedChangeLog): Added. Method to fix incorrectly merged
1153 2008-09-27 Anders Carlsson <andersca@apple.com>
1155 Reviewed by Sam Weinig.
1157 https://bugs.webkit.org/show_bug.cgi?id=21178
1158 <rdar://problem/6248651>
1160 Return the result value from getURL.
1162 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1165 2008-09-26 Matt Lilek <webkit@mattlilek.com>
1167 Reviewed by Tim Hatcher.
1169 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
1171 * Scripts/build-webkit:
1173 2008-09-26 Alice Liu <alice.liu@apple.com>
1175 Remove usage of atlstr.h and CString for VCExpress compatibility
1177 Reviewed by Stephanie Lewis.
1179 * record-memory-win/main.cpp:
1182 (QueryContinuously):
1186 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
1188 wx build fix. Update the version of libpng.
1190 * wx/install-unix-extras:
1192 2008-09-24 Sam Weinig <sam@webkit.org>
1194 Reviewed by Darin Adler.
1196 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
1197 <rdar://problem/6243534>
1198 Crash below Function.apply when using a runtime array as the argument list
1200 Add method to ObjCController to return a runtime array.
1202 * DumpRenderTree/mac/ObjCController.m:
1203 (+[ObjCController isSelectorExcludedFromWebScript:]):
1204 (+[ObjCController webScriptNameForSelector:]):
1205 (-[ObjCController testArray]):
1207 2008-09-24 Beth Dakin <bdakin@apple.com>
1209 Reviewed by Sam Weinig.
1211 Speculative build fix.
1213 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1214 (AccessibilityUIElement::supportsPressAction):
1216 2008-09-23 Beth Dakin <bdakin@apple.com>
1218 Reviewed by Sam Weinig.
1220 This patch extends DumpRenderTree's AccessibilityController to ask
1221 if the focused element supports the press action.
1223 * DumpRenderTree/AccessibilityUIElement.cpp:
1224 (getSupportsPressActionCallback):
1225 (AccessibilityUIElement::getJSClass):
1226 * DumpRenderTree/AccessibilityUIElement.h:
1227 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1228 (AccessibilityUIElement::supportsPressAction):
1230 2008-09-22 Alice Liu <alice.liu@apple.com>
1232 Adding a stand-alone Windows console application to record a process's memory usage
1234 Reviewed by Steve Falkenburg.
1236 * record-memory-win: Added.
1237 * record-memory-win/main.cpp: Added.
1238 * record-memory-win/record-memory-win.vcproj: Added.
1240 2008-09-22 Chris Fleizach <cfleizach@apple.com>
1242 Reviewed by Darin Adler.
1244 Support ability to get/set selected text ranges for text controls through AX.
1246 * DumpRenderTree/AccessibilityUIElement.cpp:
1247 (setSelectedTextRangeCallback):
1248 (getSelectedTextRangeCallback):
1249 (AccessibilityUIElement::getJSClass):
1250 * DumpRenderTree/AccessibilityUIElement.h:
1251 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1252 (AccessibilityUIElement::attributesOfRowHeaders):
1253 (AccessibilityUIElement::attributesOfVisibleCells):
1254 (AccessibilityUIElement::rowIndexRange):
1255 (AccessibilityUIElement::columnIndexRange):
1256 (AccessibilityUIElement::cellForColumnAndRow):
1257 (AccessibilityUIElement::selectedTextRange):
1258 (AccessibilityUIElement::setSelectedTextRange):
1259 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1260 (AccessibilityUIElement::selectedTextRange):
1261 (AccessibilityUIElement::setSelectedTextRange):
1263 2008-09-20 Darin Adler <darin@apple.com>
1265 * DumpRenderTree/mac/DumpRenderTree.mm:
1266 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
1268 2008-09-19 Alp Toker <alp@nuanti.com>
1270 Build fix for the 'gold' linker and recent binutils. New behaviour
1271 requires that we link to used libraries explicitly.
1275 2008-09-19 Stephanie Lewis <slewis@apple.com>
1277 Reviewed by Oliver Hunt.
1279 Implement a workaround for an incorrect mime-type on machines with
1280 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
1281 See radar <rdar://problem/6234318>.
1283 * DumpRenderTree/mac/DumpRenderTree.mm:
1286 2008-09-19 Chris Fleizach <cfleizach@apple.com>
1288 Fixed Windows bustage
1290 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1291 (AccessibilityUIElement::titleUIElement):
1293 2008-09-18 Chris Fleizach <cfleizach@apple.com>
1295 Reviewed by Darin Adler.
1297 Expose titleUIElement call for DumpRenderTree
1300 * DumpRenderTree/AccessibilityUIElement.cpp:
1301 (titleUIElementCallback):
1302 (AccessibilityUIElement::getJSClass):
1303 * DumpRenderTree/AccessibilityUIElement.h:
1304 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1305 (AccessibilityUIElement::titleUIElement):
1307 2008-09-18 Darin Adler <darin@apple.com>
1309 * Scripts/do-webcore-rename: More renaming plans.
1311 2008-09-18 Mark Rowe <mrowe@apple.com>
1313 Reviewed by Dan Bernstein.
1315 Clear the main frame's name between tests to get more consistent test results
1316 when running the WebKit tests with --nthly.
1318 * DumpRenderTree/mac/DumpRenderTree.mm:
1319 (resetWebViewToConsistentStateBeforeTesting):
1320 * DumpRenderTree/win/DumpRenderTree.cpp:
1321 (resetWebViewToConsistentStateBeforeTesting):
1323 2008-09-18 Stephanie Lewis <slewis@apple.com>
1325 Really fix tiger jsc tests.
1327 * Scripts/run-javascriptcore-tests:
1329 2008-09-18 Stephanie Lewis <slewis@apple.com>
1331 Reviewed by Maciej Stachowiak.
1333 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
1335 * Scripts/run-javascriptcore-tests:
1336 * Scripts/webkitdirs.pm:
1338 2008-09-18 Mark Rowe <mrowe@apple.com>
1340 Rubber-stamped by Sam Weinig.
1342 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
1343 This should make it more obvious when a test does this, as stderr output tends to be obscured
1344 by noise in the test results.
1346 Also fixes some coding style issues in ResourceLoadDelegate.mm.
1348 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1349 (-[NSError _drt_descriptionSuitableForTestResult]):
1350 (-[NSURL _drt_descriptionSuitableForTestResult]):
1351 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1352 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1353 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1354 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1355 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1356 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1358 2008-09-18 Stephanie Lewis <slewis@apple.com>
1360 Reviewed by Mark Rowe and Maciej Stachowiak..
1362 add a --64-bit option and specify which architecture to run on Mac.
1364 * Scripts/run-javascriptcore-tests:
1366 2008-09-17 Mark Rowe <mrowe@apple.com>
1368 Reviewed by Sam Weinig.
1370 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
1372 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
1373 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
1374 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
1376 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
1377 * DumpRenderTree/LayoutTestController.cpp:
1378 (LayoutTestController::LayoutTestController):
1379 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
1380 (layoutTestControllerObjectFinalize): Deref the wrapped object.
1381 (LayoutTestController::makeWindowObject): Ref the wrapped object.
1382 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
1383 * DumpRenderTree/mac/DumpRenderTree.mm:
1384 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
1385 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
1386 * DumpRenderTree/win/DumpRenderTree.cpp:
1387 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
1389 2008-09-16 Sam Weinig <sam@webkit.org>
1391 Reviewed by Mark Rowe.
1393 Add flag to disable running sample on tests that timeout.
1395 * Scripts/run-webkit-tests:
1397 2008-09-16 Adam Roben <aroben@apple.com>
1399 Windows build fix after r36511
1401 Update for rename of layoutTestController to gLayoutTestController.
1403 * DumpRenderTree/LayoutTestController.cpp:
1404 * DumpRenderTree/win/EditingDelegate.cpp:
1405 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1406 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1407 * DumpRenderTree/win/UIDelegate.cpp:
1409 2008-09-16 Adam Roben <aroben@apple.com>
1411 Add a script to print out the dependency tree of a Visual Studio
1414 * Scripts/print-msvc-project-dependencies: Added.
1416 2008-09-16 Mark Rowe <mrowe@apple.com>
1420 * DumpRenderTree/LayoutTestController.cpp:
1421 (notifyDoneCallback): Call fprintf in a safer manner.
1423 2008-09-16 Simon Fraser <simon.fraser@apple.com>
1425 Reviewed by Eric Seidel
1427 Protect against tests that call layoutTestController.notifyDone()
1428 more than once, which would lead to memory corruption, by nulling
1429 out the LayoutTestController on the JSObjectRef on destruction. Also
1430 add a finalize callback on the class so that if the LTC outlives
1431 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
1434 https://bugs.webkit.org/show_bug.cgi?id=20875
1436 * DumpRenderTree/LayoutTestController.cpp:
1437 (LayoutTestController::LayoutTestController):
1438 (notifyDoneCallback):
1439 (layoutTestControllerObjectFinalize):
1440 (LayoutTestController::makeWindowObject):
1441 (LayoutTestController::getJSClass):
1442 * DumpRenderTree/LayoutTestController.h:
1443 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1444 (LayoutTestController::~LayoutTestController):
1446 2008-09-16 Simon Fraser <simon.fraser@apple.com>
1448 Reviewed by Eric Seidel
1450 Step 1 patch: rename global variable for clarity.
1451 https://bugs.webkit.org/show_bug.cgi?id=20875
1453 * DumpRenderTree/DumpRenderTree.h:
1454 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1455 (dumpWebViewAsPixelsAndCompareWithExpected):
1456 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1461 (webViewLoadFinished):
1462 (webViewWindowObjectCleared):
1463 * DumpRenderTree/mac/DumpRenderTree.mm:
1464 (allocateGlobalControllers):
1465 (dumpFrameScrollPosition):
1467 (methodNameStringForFailedTest):
1470 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1471 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1472 * DumpRenderTree/mac/EditingDelegate.mm:
1473 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1474 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1475 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1476 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1477 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1478 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1479 (-[EditingDelegate webViewDidBeginEditing:]):
1480 (-[EditingDelegate webViewDidChange:]):
1481 (-[EditingDelegate webViewDidEndEditing:]):
1482 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1483 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1484 (-[FrameLoadDelegate processWork:]):
1485 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1486 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1487 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1488 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1489 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1490 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1491 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1492 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1493 * DumpRenderTree/mac/UIDelegate.mm:
1494 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1495 (-[UIDelegate webViewFocus:]):
1496 (-[UIDelegate webViewUnfocus:]):
1497 (-[UIDelegate webView:createWebViewWithRequest:]):
1498 (-[UIDelegate webViewClose:]):
1499 * DumpRenderTree/win/DumpRenderTree.cpp:
1500 (dumpFrameScrollPosition):
1505 2008-09-15 Alice Liu <alice.liu@apple.com>
1507 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
1509 Reviewed by Stephanie Lewis.
1511 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1512 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
1513 but not Intel. Add a check for nil before calling.
1514 (AccessibilityUIElement::rowIndexRange):
1515 (AccessibilityUIElement::columnIndexRange):
1517 2008-09-14 Mark Rowe <mrowe@apple.com>
1521 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1522 (waitUntilDoneWatchdogFired):
1523 * DumpRenderTree/mac/ObjCPlugin.m:
1525 2008-09-08 Dan Bernstein <mitz@apple.com>
1527 Reviewed by Mark Rowe.
1529 - add an option to run-webkit-tests to always use the complex text code path
1531 * DumpRenderTree/mac/DumpRenderTree.mm:
1532 (initializeGlobalsFromCommandLineOptions):
1534 * Scripts/run-webkit-tests:
1536 2008-09-08 Steve Falkenburg <sfalken@apple.com>
1538 Another Windows nightly build fix.
1540 Reviewed by Sam Weinig.
1542 * FindSafari/FindSafari.cpp:
1543 (_tmain): Delete existing WebKitNightly directory in temp.
1544 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
1546 2008-09-07 Stephanie Lewis <slewis@apple.com>
1548 Reviewed by Mark Rowe.
1552 * DumpRenderTree/DumpRenderTreePrefix.h:
1553 * DumpRenderTree/win/DumpRenderTree.vcproj:
1555 2008-09-06 Steve Falkenburg <sfalken@apple.com>
1557 Fix Windows nightlies.
1559 Copy WebKit.dll alongside application so registry-free COM can find it.
1560 Update embedded manifest to force use registry-free COM.
1562 Reviewed by Dave Hyatt.
1564 * FindSafari/FindSafari.cpp:
1568 * FindSafari/FindSafari.rc: Added.
1569 * FindSafari/FindSafari.vcproj:
1570 * FindSafari/Safari.exe.manifest: Added.
1571 * FindSafari/resource.h: Added.
1573 === End merge of squirrelfish-extreme ===
1575 2008-08-31 Mark Rowe <mrowe@apple.com>
1577 Reviewed by Maciej Stachowiak.
1579 Add a --profile flag to run-sunspider.
1581 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
1582 to build scripts as indicating that we should use the "Profiling" configuration. At present
1583 this is only supported by JavaScriptCore, so using this argument to build any other project
1584 will likely result in unexpected behaviour.
1586 2008-08-27 Mark Rowe <mrowe@apple.com>
1588 Reviewed by Oliver Hunt.
1590 Fix run-webkit-tests to handle DRT exiting early.
1592 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
1594 === Start merge of squirrelfish-extreme ===
1596 2008-09-04 Mark Rowe <mrowe@apple.com>
1598 Reviewed by Eric Seidel.
1600 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
1601 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
1603 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
1605 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1607 Reviewed by Oliver Hunt.
1609 Bug 20616: Incorporate V8 benchmarks in testing
1610 <https://bugs.webkit.org/show_bug.cgi?id=20616>
1612 Add support for the --v8 option to run-sunspider.
1614 * Scripts/run-sunspider:
1616 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
1618 wx buildbot fix. More robust handling of clean when makefiles are not built or
1619 are not completely made.
1621 * wx/build-wxwebkit:
1623 2008-09-03 Mark Rowe <mrowe@apple.com>
1625 More Mac build fixes.
1627 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
1628 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
1629 default configuration specified in the .xcconfig files.
1631 * Scripts/build-webkit:
1633 2008-09-03 Mark Rowe <mrowe@apple.com>
1635 Mac build fix. Ensure that dashboard support is enabled.
1637 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1639 2008-08-25 Steve Falkenburg <sfalken@apple.com>
1641 Build fix. Copy correct version of ICU.
1643 * DumpRenderTree/win/DumpRenderTree.vcproj:
1645 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
1649 [run-webkit-tests] Use QtLauncher to show the results of the tests
1650 konqueror might not be installed, xdg-open might not be installed but the
1651 QtLauncher should be present.
1653 * Scripts/run-webkit-tests:
1655 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
1657 Initial support for accessibility layout tests on Windows.
1658 https://bugs.webkit.org/show_bug.cgi?id=20497
1660 Reviewed by Sam Weinig.
1662 * DumpRenderTree/AccessibilityController.h: Fix typos.
1663 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
1664 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
1665 prevent oleacc.h, which includes windows.h, from including winsock.h.
1667 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
1668 (AccessibilityController::AccessibilityController):
1669 (AccessibilityController::~AccessibilityController):
1670 (AccessibilityController::focusedElement): Get the root element, and
1671 request its focused object.
1672 (AccessibilityController::rootElement): Query Windows for the
1673 accessible client object for the WebView's window.
1674 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
1675 (AccessibilityUIElement::AccessibilityUIElement):
1676 (AccessibilityUIElement::~AccessibilityUIElement):
1677 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
1678 (AccessibilityUIElement::getChildren): Get the child count, and append
1680 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
1681 index offset by 1. In MSAA, child 0 is the object itself.
1682 (AccessibilityUIElement::allAttributes): Not implemented.
1683 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
1684 (AccessibilityUIElement::attributesOfChildren): Same.
1685 (AccessibilityUIElement::parameterizedAttributeNames): Same.
1686 (self): Return a VARIANT representing the "self" object. This is used
1687 when calling methods that require a child variant.
1688 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
1689 convert it into a string with GetRoleText().
1690 (AccessibilityUIElement::title): Get the element's title, and convert
1692 (AccessibilityUIElement::description): Same, for description.
1693 (AccessibilityUIElement::width):
1694 (AccessibilityUIElement::height):
1695 (AccessibilityUIElement::intValue): Get the object's value as a string,
1696 and convert the string to a double.
1697 (AccessibilityUIElement::minValue): Not implemented.
1698 (AccessibilityUIElement::maxValue): Same.
1699 (AccessibilityUIElement::insertionPointLineNumber): Same.
1700 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
1701 (AccessibilityUIElement::attributesOfRowHeaders): Same.
1702 (AccessibilityUIElement::attributesOfColumns): Same.
1703 (AccessibilityUIElement::attributesOfRows): Same.
1704 (AccessibilityUIElement::attributesOfVisibleCells): Same.
1705 (AccessibilityUIElement::attributesOfHeader): Same.
1706 (AccessibilityUIElement::indexInTable): Same.
1707 (AccessibilityUIElement::rowIndexRange): Same.
1708 (AccessibilityUIElement::columnIndexRange): Same.
1709 (AccessibilityUIElement::lineForIndex): Same.
1710 (AccessibilityUIElement::boundsForRange): Same.
1711 (AccessibilityUIElement::cellForColumnAndRow): Same.
1712 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
1713 project. Link to oleacc.lib, the MSAA library.
1714 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1715 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
1717 (FrameLoadDelegate::didClearWindowObject): Create a new window object
1718 for the accessibility controller.
1719 * DumpRenderTree/win/FrameLoadDelegate.h:
1721 2008-08-21 Simon Fraser <simon.fraser@apple.com>
1723 Reviewed by Mark Rowe
1725 Make build-launcher-app work when run from a git repository.
1726 https://bugs.webkit.org/show_bug.cgi?id=20478
1728 * BuildSlaveSupport/build-launcher-app:
1730 2008-08-20 Maxime Britto <britto@apple.com>
1732 Reviewed by Ada Chan.
1735 Mouse events are sent to page while resizing window (affects Gmail)
1737 * DumpRenderTree/win/UIDelegate.h:
1738 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
1740 2008-08-19 Chris Fleizach <cfleizach@apple.com>
1742 Reviewed by Beth Dakin.
1744 Add snowleopard platform in layout tests
1746 Added support for accessing the attributes of
1747 accessibility tables through the accessibility controller
1750 * DumpRenderTree/AccessibilityUIElement.cpp:
1751 (attributesOfColumnHeadersCallback):
1752 (attributesOfRowHeadersCallback):
1753 (attributesOfColumnsCallback):
1754 (attributesOfRowsCallback):
1755 (attributesOfVisibleCellsCallback):
1756 (attributesOfHeaderCallback):
1757 (indexInTableCallback):
1758 (rowIndexRangeCallback):
1759 (columnIndexRangeCallback):
1760 (childAtIndexCallback):
1761 (cellForColumnAndRowCallback):
1762 (AccessibilityUIElement::getJSClass):
1763 * DumpRenderTree/AccessibilityUIElement.h:
1764 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1765 (convertNSArrayToVector):
1766 (descriptionOfElements):
1767 (AccessibilityUIElement::getLinkedUIElements):
1768 (AccessibilityUIElement::getChildren):
1769 (AccessibilityUIElement::attributesOfLinkedUIElements):
1770 (AccessibilityUIElement::attributesOfChildren):
1771 (AccessibilityUIElement::attributesOfColumnHeaders):
1772 (AccessibilityUIElement::attributesOfRowHeaders):
1773 (AccessibilityUIElement::attributesOfColumns):
1774 (AccessibilityUIElement::attributesOfRows):
1775 (AccessibilityUIElement::attributesOfVisibleCells):
1776 (AccessibilityUIElement::attributesOfHeader):
1777 (AccessibilityUIElement::indexInTable):
1778 (AccessibilityUIElement::rowIndexRange):
1779 (AccessibilityUIElement::columnIndexRange):
1780 (AccessibilityUIElement::cellForColumnAndRow):
1781 * Scripts/run-webkit-tests:
1783 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
1785 Reviewed by Darin Adler.
1787 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
1788 is waiting for crash reporter to let it exit.
1790 The fix does not work on Tiger, because the state of the process is indistinguishable from
1791 other waiting processes, at least not with this technique.
1793 * Scripts/run-webkit-tests:
1795 2008-08-18 Alp Toker <alp@nuanti.com>
1797 Reviewed by Holger Freyther.
1799 https://bugs.webkit.org/show_bug.cgi?id=20350
1800 [GTK] Get DumpRenderTree working
1802 Fixes and enhancements to DumpRenderTree. With these changes, the test
1803 suite can now complete a run producing text and render tree dumps.
1805 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1809 (webViewLoadFinished):
1810 (webViewWindowObjectCleared):
1811 (webViewConsoleMessage):
1812 (webViewScriptAlert):
1813 (webViewScriptPrompt):
1814 (webViewScriptConfirm):
1815 (webViewTitleChanged):
1817 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1818 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1819 (LayoutTestController::clearBackForwardList):
1820 (LayoutTestController::pathToLocalResource):
1821 (LayoutTestController::setAcceptsEditing):
1822 (LayoutTestController::setUserStyleSheetEnabled):
1823 (LayoutTestController::setUserStyleSheetLocation):
1824 (waitToDumpWatchdogFired):
1825 (LayoutTestController::windowCount):
1826 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1827 (JSStringCopyUTF8CString):
1828 (ScriptItem::invoke):
1830 2008-08-17 Geoffrey Garen <ggaren@apple.com>
1832 Reviewed by Cameron Zwarich.
1834 Updated project files to XCode 3.1.
1836 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1837 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1839 2008-08-15 Mark Rowe <mrowe@apple.com>
1841 Rubber-stamped by Geoff Garen.
1843 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
1845 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
1847 2008-08-13 Simon Hausmann <hausmann@webkit.org>
1849 Rubber-stamped by Holger.
1851 Revert r31585 and disable http tests for the Qt build again unless
1854 Running the http tests unfortunately currently still triggers
1855 failures in non-http tests due to side-effects. Disable them by default for
1856 now, for more reliable results.
1858 * Scripts/run-webkit-tests:
1860 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
1862 Reviewed (and updated) by Alp Toker.
1864 https://bugs.webkit.org/show_bug.cgi?id=16620
1865 [GTK] Autotools make dist and make check support
1867 Get make dist working.
1869 Note that not all possible configurations have been tested yet.
1873 2008-08-10 Alp Toker <alp@nuanti.com>
1875 Remove leftover qmake/GTK+ build files.
1877 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
1878 * GtkLauncher/GtkLauncher.pro: Removed.
1880 2008-08-06 Chris Fleizach <cfleizach@apple.com>
1882 Reviewed by Beth Dakin
1884 AX functions shouldn't return position information because it changes
1885 based on the platform
1887 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1888 (AccessibilityUIElement::boundsForRange):
1890 2008-08-06 Eric Seidel <eric@webkit.org>
1894 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
1895 <https://bugs.webkit.org/show_bug.cgi?id=20297>
1896 <rdar://problem/6093153>
1898 I've made AccessibilityUIElement a stack object for now. It could be
1899 made RefCounted, but I figured that might be overkill for the moment.
1900 Essentially it's just a RefPtr itself. :)
1902 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
1903 which was causing additional leaks. :)
1905 I added toAXElement to remove a bunch of copy/paste code.
1907 * DumpRenderTree/AccessibilityController.h:
1908 * DumpRenderTree/AccessibilityUIElement.cpp:
1910 (allAttributesCallback):
1911 (attributesOfLinkedUIElementsCallback):
1912 (attributesOfChildrenCallback):
1913 (lineForIndexCallback):
1914 (boundsForRangeCallback):
1915 (childAtIndexCallback):
1918 (getDescriptionCallback):
1920 (getHeightCallback):
1921 (getIntValueCallback):
1922 (getMinValueCallback):
1923 (getMaxValueCallback):
1924 (getInsertionPointLineNumberCallback):
1926 * DumpRenderTree/AccessibilityUIElement.h:
1927 (AccessibilityUIElement::platformUIElement):
1928 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1929 (AccessibilityController::focusedElement):
1930 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1931 (AccessibilityUIElement::AccessibilityUIElement):
1932 (AccessibilityUIElement::getLinkedUIElements):
1933 (AccessibilityUIElement::getChildren):
1934 (AccessibilityUIElement::getChildAtIndex):
1935 (AccessibilityUIElement::attributesOfLinkedUIElements):
1936 (AccessibilityUIElement::attributesOfChildren):
1938 2008-08-06 Eric Seidel <eric@webkit.org>
1940 Reviewed by Cameron Zwarich.
1942 Speculative fix for an error I keep seeing in my Cygwin build
1944 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
1946 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
1948 Forgot to commit licensing correction in last commit.
1950 * wx/packaging/wxWebKitInstaller.iss.in:
1952 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
1954 Reviewed by Eric Seidel.
1956 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
1957 be used for nightlies.
1959 https://bugs.webkit.org/show_bug.cgi?id=20036
1961 * wx/packaging: Added.
1962 * wx/packaging/build-win-installer.py: Added.
1963 * wx/packaging/wxWebKitInstaller.iss.in: Added.
1965 2008-07-31 Adam Roben <aroben@apple.com>
1969 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
1970 Release configuration, too.
1972 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
1974 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
1977 <https://bugs.webkit.org/show_bug.cgi?id=20245>
1979 Reviewed by Adam Roben.
1981 * WinLauncher/WinLauncher.vcproj: adding the following properties to
1982 WinLauncher > Properties > Manifest Tool > Isolated COM
1983 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
1984 Component File Name: WebKit$(WebKitDLLConfigSuffix)
1985 Doing the change on "All Configurations"
1987 2008-07-31 Adam Roben <aroben@apple.com>
1989 Windows build bot fix
1991 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
1992 exist for people at Apple can't be found. Also updated the ICU version
1995 2008-07-31 David Kilzer <ddkilzer@apple.com>
1997 Fix layout test results for webarchive/test-xml-stylesheet.xml
1999 Reviewed by Darin Adler.
2001 * DumpRenderTree/mac/DumpRenderTree.mm:
2002 (convertMIMEType): Work around the "text/xml" local file type
2003 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
2004 stop mangling "application/x-javascript" into "text/javascript".
2005 (convertWebResourceDataToString): When checking whether to dump a
2006 resource as text, also check to see if the MIME type is in the
2007 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
2008 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
2011 2008-07-31 Chris Fleizach <cfleizach@apple.com>
2013 Reviewed by Alice Liu
2015 Add AX support to get the bounds for a range of text
2016 Add AX support to get the child of an element
2017 Add AX support to get all the parameterized attribute names of an element
2019 * DumpRenderTree/AccessibilityUIElement.cpp:
2020 (parameterizedAttributeNamesCallback):
2021 (boundsForRangeCallback):
2022 (childAtIndexCallback):
2023 (AccessibilityUIElement::getJSClass):
2024 * DumpRenderTree/AccessibilityUIElement.h:
2025 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2026 (AccessibilityUIElement::getChildAtIndex):
2027 (AccessibilityUIElement::parameterizedAttributeNames):
2028 (AccessibilityUIElement::boundsForRange):
2030 2008-07-31 Erik Bunce <elbunce@thehive.com>
2034 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
2036 * Scripts/run-launcher:
2038 2008-07-30 Jessica Kahn <jess@apple.com>
2040 Reviewed by Adam Roben.
2042 Slightly stricter checking for previous change, suggested by Adam.
2044 * Scripts/extract-localizable-strings:
2046 2008-07-30 Jessica Kahn <jess@apple.com>
2048 Reviewed by Darin Adler.
2050 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
2052 * Scripts/extract-localizable-strings:
2054 2008-07-30 Anders Carlsson <andersca@apple.com>
2058 Copy icu38* files instead of icu36* files.
2060 * DumpRenderTree/win/DumpRenderTree.vcproj:
2062 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
2064 DRT/Gtk build fix for r35362
2066 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2067 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
2069 2008-07-25 Brady Eidson <beidson@apple.com>
2073 Add the ability to dump whether-or-not an element should have autocomplete enabled,
2074 from the perspective of the WebKit API
2076 * DumpRenderTree/LayoutTestController.cpp:
2077 (elementDoesAutoCompleteForElementWithIdCallback):
2078 (LayoutTestController::staticFunctions):
2080 * DumpRenderTree/LayoutTestController.h:
2081 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2082 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
2083 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2084 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
2086 2008-07-25 Chris Fleizach <cfleizach@apple.com>
2088 Reviewed by Beth Dakin
2090 Add support for AXLineForIndex and AXInsertionPointIndex through the
2091 accessibility controller
2093 * DumpRenderTree/AccessibilityUIElement.cpp:
2094 (lineForIndexCallback):
2095 (getInsertionPointLineNumberCallback):
2096 (AccessibilityUIElement::getJSClass):
2097 * DumpRenderTree/AccessibilityUIElement.h:
2098 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2099 (AccessibilityUIElement::insertionPointLineNumber):
2100 (AccessibilityUIElement::lineForIndex):
2102 2008-07-25 Adam Roben <aroben@apple.com>
2104 Try to fix the Windows build bot
2106 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
2107 that don't exist for people outside of Apple.
2109 2008-07-18 Landry Breuil <landry@openbsd.org>
2111 Bug 19975: [OpenBSD] Patches to enable build of WebKit
2113 <https://bugs.webkit.org/show_bug.cgi?id=19975>
2115 Reviewed by David Kilzer.
2117 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
2119 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
2121 CygwinDownloader fails to install necessary packages
2122 https://bugs.webkit.org/show_bug.cgi?id=20075
2124 Reviewed by Mark Rowe.
2126 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
2127 mirrors removed in r34116. Set MIME type to application/octet-stream.
2129 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
2131 CygwinDownloader's make-zip.sh script fails
2132 https://bugs.webkit.org/show_bug.cgi?id=20074
2134 Reviewed by Mark Rowe.
2136 * CygwinDownloader/cygwin-downloader.py:
2138 2008-07-15 Sam Weinig <sam@webkit.org>
2140 Reviewed by Anders Carlsson.
2142 Refactor accessibility testing code.
2145 - AccessibilityController
2146 Controller which has access to the WebView and can provide the focused element, root element
2147 and in the future, elementAtPoint.
2149 - AccessibilityUIElement
2150 Object which provides access to the data provided by the Accessibility APIs.
2152 * DumpRenderTree/AccessibilityController.cpp:
2153 (getFocusedElementCallback):
2154 (getRootElementCallback):
2155 (AccessibilityController::getJSClass):
2156 * DumpRenderTree/AccessibilityController.h:
2157 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
2158 (allAttributesCallback):
2159 (attributesOfLinkedUIElementsCallback):
2160 (attributesOfChildrenCallback):
2163 (getDescriptionCallback):
2165 (getHeightCallback):
2166 (getIntValueCallback):
2167 (getMinValueCallback):
2168 (getMaxValueCallback):
2170 (AccessibilityUIElement::makeJSAccessibilityUIElement):
2171 (AccessibilityUIElement::getJSClass):
2172 * DumpRenderTree/AccessibilityUIElement.h: Added.
2173 (AccessibilityUIElement::platformUIElement):
2174 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2175 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2176 (AccessibilityController::AccessibilityController):
2177 (AccessibilityController::~AccessibilityController):
2178 (AccessibilityController::focusedElement):
2179 (AccessibilityController::rootElement):
2180 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
2181 (AccessibilityUIElement::AccessibilityUIElement):
2182 (descriptionOfValue):
2183 (attributesOfElement):
2184 (nsStringToJSStringRef):
2185 (concatenateAttributeAndValue):
2186 (AccessibilityUIElement::getLinkedUIElements):
2187 (AccessibilityUIElement::getChildren):
2188 (AccessibilityUIElement::attributesOfLinkedUIElements):
2189 (AccessibilityUIElement::attributesOfChildren):
2190 (AccessibilityUIElement::allAttributes):
2191 (AccessibilityUIElement::role):
2192 (AccessibilityUIElement::title):
2193 (AccessibilityUIElement::description):
2194 (AccessibilityUIElement::width):
2195 (AccessibilityUIElement::height):
2196 (AccessibilityUIElement::intValue):
2197 (AccessibilityUIElement::minValue):
2198 (AccessibilityUIElement::maxValue):
2200 2008-07-14 Chris Fleizach <cfleizach@apple.com>
2202 Reviewed by Beth Dakin
2204 Add support to get attributes of the AXChildren of an objecty
2206 * DumpRenderTree/AccessibilityController.cpp:
2207 (attributesOfChildrenForFocusedElementCallback):
2208 (AccessibilityController::staticFunctions):
2209 * DumpRenderTree/AccessibilityController.h:
2210 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2211 (descriptionOfValue):
2212 (AccessibilityController::attributesOfChildrenForFocusedElement):
2214 2008-07-14 Steve Falkenburg <sfalken@apple.com>
2218 * DumpRenderTree/win/DumpRenderTree.vcproj:
2220 2008-07-14 Adam Roben <aroben@apple.com>
2222 Attempted Windows build fix
2224 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
2225 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
2228 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
2230 Reviewed by Geoff Garen.
2232 Eliminate per-thread JavaScript global data instance support and make arbitrary
2233 global data/global object combinations possible.
2235 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2236 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
2237 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
2238 chance for a different thread to cause GC after the context was released.
2240 2008-07-11 Stephanie Lewis <slewis@apple.com>
2242 Reviewed by Darin Adler.
2244 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
2246 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
2248 * DumpRenderTree/mac/DumpRenderTree.mm:
2249 (setDefaultsToConsistentValuesForTesting):
2250 (resetWebViewToConsistentStateBeforeTesting):
2251 * Scripts/run-webkit-tests:
2253 2008-07-10 Steve Falkenburg <sfalken@apple.com>
2257 * DumpRenderTree/win/DumpRenderTree.vcproj:
2259 2008-07-09 Eric Seidel <eric@webkit.org>
2261 Reviewed by Mark Rowe.
2263 Print <div> backgrounds when printing from DRT.
2265 * DumpRenderTree/mac/DumpRenderTree.mm:
2266 (setDefaultsToConsistentValuesForTesting):
2268 2008-07-09 Eric Seidel <eric@webkit.org>
2270 Reviewed by Mark Rowe.
2272 Fix copying of expected results to correct location
2274 * Scripts/run-webkit-tests:
2276 2008-07-09 Eric Seidel <eric@webkit.org>
2280 * DumpRenderTree/LayoutTestController.cpp:
2281 (LayoutTestController::LayoutTestController):
2282 (dumpAsPDFCallback):
2283 (LayoutTestController::staticFunctions):
2284 * DumpRenderTree/LayoutTestController.h:
2285 (LayoutTestController::dumpAsPDF):
2286 (LayoutTestController::setDumpAsPDF):
2287 * DumpRenderTree/mac/DumpRenderTree.mm:
2291 2008-07-09 Eric Seidel <eric@webkit.org>
2295 Add Content-Type support to DumpRenderTree and run-webkit-tests
2296 and move expected.txt files to expected.webarchive
2298 https://bugs.webkit.org/show_bug.cgi?id=15565
2300 * DumpRenderTree/cg/ImageDiffCG.cpp:
2303 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2305 * DumpRenderTree/mac/DumpRenderTree.mm:
2307 * Scripts/run-webkit-tests:
2309 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
2313 Port r34988 to Mac: allow tests to define JavaScript to execute when
2314 NPP_DestroyStream or NPP_URLNotify is called.
2316 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2317 (NPP_New): Remove initialization that happens in pluginAllocate. Look
2318 for new arguments onStreamDestroy and onURLNotify.
2319 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
2320 (executeScript): Code moved from onStreamLoad.
2321 (NPP_NewStream): Call executeScript.
2322 (NPP_DestroyStream): Same.
2323 (NPP_URLNotify): Same.
2325 2008-07-07 Beth Dakin <bdakin@apple.com>
2329 This patch extends DRT accessibility tests to add the ability to
2330 query the intValue, minValue, and maxValue of the focused element.
2332 * DumpRenderTree/AccessibilityController.cpp:
2333 (intValueOfFocusedElementCallback):
2334 (minValueOfFocusedElementCallback):
2335 (maxValueOfFocusedElementCallback):
2336 (AccessibilityController::staticFunctions):
2337 * DumpRenderTree/AccessibilityController.h:
2338 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2339 (AccessibilityController::intValueOfFocusedElement):
2340 (AccessibilityController::minValueOfFocusedElement):
2341 (AccessibilityController::maxValueOfFocusedElement):
2343 2008-07-07 Steve Falkenburg <sfalken@apple.com>
2347 * DumpRenderTree/win/ImageDiff.vcproj:
2349 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
2351 Allow tests to define JavaScript to execute when NPP_DestroyStream or
2352 NPP_URLNotify is called.
2356 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
2357 property, "returnErrorFromNewStream." This is to support the test for
2358 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
2359 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
2360 error from NPP_NewStream.
2361 (pluginGetProperty):
2362 (pluginSetProperty):
2364 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
2365 members, onStreamDestroy and onURLNotify.
2366 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
2367 (NPP_New): Remove initialization of onStreamLoad; this was moved to
2368 pluginAllocate. Look for new arguments onStreamDestroy and
2369 onURLNotify, and store their values.
2370 (NPP_Destroy): Free new members.
2371 (executeScript): Code moved from onStreamLoad
2372 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
2373 return a generic error code. If onStreamLoad is set, execute it as
2375 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
2376 (NPP_URLNotify): Same, for onURLNotify.
2378 2008-07-02 Brady Eidson <beidson@apple.com>
2380 Reviewed by Mitz Pettel and John Sullivan
2382 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
2385 Required to add a layout test for the fix for <rdar://problem/5549871>
2387 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2388 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
2389 [WebFrame stopLoading] to test for the crash reflected in 5549871
2391 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
2392 * DumpRenderTree/LayoutTestController.cpp:
2393 (LayoutTestController::LayoutTestController):
2394 (setStopProvisionalFrameLoadsCallback):
2395 (LayoutTestController::staticFunctions):
2396 * DumpRenderTree/LayoutTestController.h:
2397 (LayoutTestController::stopProvisionalFrameLoads):
2398 (LayoutTestController::setStopProvisionalFrameLoads):
2400 2008-07-01 Chris Fleizach <cfleizach@apple.com>
2402 Reviewed by Beth Dakin
2404 Support ability to get width and height of an element through accessibility
2406 * DumpRenderTree/AccessibilityController.cpp:
2407 (widthOfFocusedElementCallback):
2408 (heightOfFocusedElementCallback):
2409 (AccessibilityController::staticFunctions):
2410 * DumpRenderTree/AccessibilityController.h:
2411 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2412 (AccessibilityController::widthOfFocusedElement):
2413 (AccessibilityController::heightOfFocusedElement):
2415 2008-06-30 Chris Fleizach <cfleizach@apple.com>
2417 Reviewed by Beth Dakin
2419 Support the ability to get the linked ui elements of an object
2421 * DumpRenderTree/AccessibilityController.cpp:
2422 (attributesOfLinkedUIElementsForFocusedElementCallback):
2423 (AccessibilityController::staticFunctions):
2424 * DumpRenderTree/AccessibilityController.h:
2425 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2426 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
2427 (AccessibilityController::allAttributesOfFocusedElement):
2428 (attributesOfElement):
2429 (nsStringToJSStringRef):
2431 2008-06-29 Sam Weinig <sam@webkit.org>
2435 * DumpRenderTree/mac/EventSendingController.mm:
2436 (eventTypeForMouseButtonAndAction):
2438 2008-06-27 Eric Seidel <eric@webkit.org>
2442 Add multi-button mouseevent support to DRT
2443 https://bugs.webkit.org/show_bug.cgi?id=15173
2445 It's now possible to specify the mouse button with:
2446 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
2448 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2449 * DumpRenderTree/mac/EventSendingController.h:
2450 * DumpRenderTree/mac/EventSendingController.mm:
2451 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2452 (+[EventSendingController webScriptNameForSelector:]):
2453 (eventTypeForMouseButtonAndAction):
2454 (-[EventSendingController updateClickCountForButton:]):
2455 (-[EventSendingController mouseDown:]):
2456 (-[EventSendingController mouseUp:]):
2457 (-[EventSendingController mouseMoveToX:Y:]):
2458 (-[EventSendingController contextClick]):
2460 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
2464 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
2465 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
2467 * Scripts/run-webkit-tests:
2469 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
2471 Reviewed by Christian Dywan.
2473 [Gtk] Initialize webview settings before running DRT tests
2474 http://bugs.webkit.org/show_bug.cgi?id=19778
2476 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2477 (setDefaultsToConsistentStateValuesForTesting):
2480 2008-06-26 Darin Adler <darin@apple.com>
2482 * Scripts/check-for-weak-vtables: Fixed comment.
2484 2008-06-26 Darin Adler <darin@apple.com>
2486 * Scripts/check-for-weak-vtables: Added.
2488 2008-06-26 Beth Dakin <bdakin@apple.com>
2492 Do not include AXPosition in the dump of all of the accessibility
2493 attributes since it is screen-specific.
2495 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2496 (AccessibilityController::allAttributesOfFocusedElement):
2498 2008-06-26 Beth Dakin <bdakin@apple.com>
2502 This is a speculative fix for the failing layout test on the build
2503 bot. It seems that the problem that the Build Bot is having is
2504 Tiger-specific. On Tiger, [NSValue description] was not very smart.
2505 So I replaced our call to description with a hand-rolled equivalent
2506 that will match on both platforms.
2508 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2509 (descriptionOfValue):
2511 2008-06-25 Beth Dakin <bdakin@apple.com>
2513 Reviewed by Sam Weinig.
2515 This patch adds support to the AccessibilityController to query the
2516 following attributes specifically, without a full attribute dump:
2517 AXRole, AXTitle, and AXDescription.
2519 * DumpRenderTree/AccessibilityController.cpp:
2520 (allAttributesForFocusedElementCallback):
2521 (roleOfFocusedElementCallback):
2522 (titleOfFocusedElementCallback):
2523 (descriptionOfFocusedElementCallback):
2524 (AccessibilityController::staticFunctions):
2525 * DumpRenderTree/AccessibilityController.h:
2526 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2527 (AccessibilityController::allAttributesForFocusedElement):
2528 (concatenateAttributeAndValue):
2529 (AccessibilityController::roleOfFocusedElement):
2530 (AccessibilityController::titleOfFocusedElement):
2531 (AccessibilityController::descriptionOfFocusedElement):
2533 2008-06-24 Dan Bernstein <mitz@apple.com>
2535 Reviewed by Stephanie Lewis.
2537 - move the linker flags from the debug configuration in the project
2538 to the shared configuration
2540 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2541 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2543 2008-06-24 Dan Bernstein <mitz@apple.com>
2545 - try to fix the Tiger build
2547 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2549 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
2551 Reviewed by Darin Adler.
2553 Fix for <rdar://problem/5884881> Make DumpRenderTree support
2556 This patch adds some basic support for accessibility layout tests
2559 * DumpRenderTree/AccessibilityController.cpp: Added.
2560 (AccessibilityController::AccessibilityController):
2561 (AccessibilityController::~AccessibilityController):
2562 (dumpCurrentAttributesCallback):
2563 (AccessibilityController::makeWindowObject):
2564 (AccessibilityController::getJSClass):
2565 (AccessibilityController::staticFunctions):
2566 * DumpRenderTree/AccessibilityController.h: Added.
2567 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2568 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
2569 (descriptionOfValue):
2570 (AccessibilityController::dumpCurrentAttributes):
2571 * DumpRenderTree/mac/DumpRenderTree.mm:
2572 * DumpRenderTree/mac/FrameLoadDelegate.h:
2573 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2574 (-[FrameLoadDelegate init]):
2575 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2577 2008-06-24 John Sullivan <sullivan@apple.com>
2579 Reviewed by Dan Bernstein
2581 * Scripts/extract-localizable-strings:
2582 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
2583 list of debugging macros, to avoid noise when keeping the list of localized string
2584 exceptions up to date
2586 2008-06-24 Dan Bernstein <mitz@apple.com>
2588 Rubber-stamped by Darin Adler.
2590 - add a font family for testing font-weight
2592 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
2593 flags to create data sections for the WeightWatcher fonts.
2594 * DumpRenderTree/fonts: Added.
2595 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
2596 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
2597 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
2598 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
2599 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
2600 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
2601 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
2602 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
2603 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
2604 * DumpRenderTree/mac/DumpRenderTree.mm:
2605 (activateFonts): Renamed activateAhemFont to this and made it activate
2606 the WeightWatcher fonts in addition to Ahem.
2607 (prepareConsistentTestingEnvironment): Adjusted for the name change.
2608 * DumpRenderTree/win/DumpRenderTree.cpp:
2609 (initialize): Added the WeightWatcher fonts.
2611 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
2613 Reviewed by Darin Adler.
2615 Extend the build-webkit (and set-webkit-configuration) script to
2616 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
2618 * Scripts/build-webkit: Add --cairo-win32 to the help message
2619 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
2620 subroutine to recognize the --cairo-win32 flag. When present,
2621 the build configuration is changed from Debug/Release to
2622 Debug_Cairo/Release_Cairo. This flag is only active when the
2623 isCygwin() test is true.
2625 2008-06-17 Dan Bernstein <mitz@apple.com>
2627 Reviewed by Justin Garcia.
2629 - prefer Leopard results when running on Snow Leopard.
2631 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
2633 * Scripts/webkitdirs.pm: Added isSnowLeopard().
2635 2008-06-15 Darin Adler <darin@apple.com>
2637 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2639 2008-06-15 Darin Adler <darin@apple.com>
2641 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2643 2008-06-15 Darin Adler <darin@apple.com>
2645 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2647 2008-06-15 Darin Adler <darin@apple.com>
2649 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2651 2008-06-15 Darin Adler <darin@apple.com>
2653 * Scripts/do-file-rename: Updated.
2654 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2656 2008-06-15 Darin Adler <darin@apple.com>
2658 * Scripts/do-file-rename: Updated for the latest round of renaming.
2659 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
2661 2008-06-15 Darin Adler <darin@apple.com>
2663 * Scripts/create-exports: Added.
2664 * Scripts/do-file-rename: Added some planned renames.
2665 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2667 2008-06-15 Darin Adler <darin@apple.com>
2669 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
2671 2008-06-15 Maciej Stachowiak <mjs@apple.com>
2675 - rename testkjs to jsc
2677 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
2678 * Scripts/build-testkjs: Removed.
2679 * Scripts/run-javascriptcore-tests:
2680 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
2681 * Scripts/run-sunspider:
2682 * Scripts/run-testkjs: Removed.
2683 * Scripts/sunspider-compare-results:
2685 2008-06-14 Darin Adler <darin@apple.com>
2687 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
2688 from the actual renames. Removed many renames that are either done or
2691 2008-06-14 Darin Adler <darin@apple.com>
2693 * Scripts/do-webcore-rename: Fixed obvious typo.
2695 2008-06-13 Darin Adler <darin@apple.com>
2697 * Scripts/make-js-test-wrappers: Added three more exceptions.
2699 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
2703 For the qmake based build make it possible to build against makespecs where
2704 QMAKE_CC is defined in a configuration file included from qmake.conf.
2706 * Scripts/webkitdirs.pm: Added support for include() statements in
2709 2008-06-09 Alp Toker <alp@nuanti.com>
2711 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
2712 each of the tools since these are no longer set globally.
2716 2008-06-08 Darin Adler <darin@apple.com>
2718 * Scripts/make-js-test-wrappers: Added another exception.
2720 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2722 Reviewed by Timothy.
2724 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
2726 * Scripts/run-sunspider:
2728 2008-06-05 Alp Toker <alp@nuanti.com>
2730 Build fix for r34387.
2734 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
2738 Add an exception for Opcode.o to the global initializers check so that
2739 we can dump instruction statistics in the JavaScript virtual machine.
2741 * Scripts/check-for-global-initializers:
2743 2008-05-30 Steve Falkenburg <sfalken@apple.com>
2745 Generate an isolated COM manifest for registry free COM.
2747 * DumpRenderTree/win/DumpRenderTree.vcproj:
2749 2008-06-02 Anders Carlsson <andersca@apple.com>
2751 Reviewed by David Hyatt and Mitz.
2753 <rdar://problem/5704119>
2754 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
2756 Call -[WebView display] in the "plug-in" failed delegate method, simulating
2757 the sheet that Safari puts up.
2759 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2760 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
2762 2008-05-30 Timothy Hatcher <timothy@apple.com>
2764 Made the starting line number of scripts be 1-based throughout the engine.
2765 This cleans up script line numbers so they are all consistent now.
2767 Reviewed by Oliver Hunt.
2769 * DumpRenderTree/mac/ObjCController.m:
2770 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
2771 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2772 (runJavaScriptThread): Ditto.
2773 * DumpRenderTree/win/DumpRenderTree.cpp:
2774 (runJavaScriptThread): Ditto.
2776 2008-05-29 Geoffrey Garen <ggaren@apple.com>
2778 Reviewed by Adam Roben.
2780 Fixed VCSUtils.pm to work with git repositories inside symlinks.
2782 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
2783 root, instead of the root of the filesystem, to work around a bug in
2784 abs2rel when traversing symlinked home directories.
2786 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
2788 Reviewed by Darin Adler.
2790 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
2792 https://bugs.webkit.org/show_bug.cgi?id=19311
2794 * Scripts/webkitdirs.pm:
2796 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
2798 Reviewed by Adam Roben.
2800 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
2801 configuration files.
2803 * Scripts/run-iexploder-tests:
2804 * Scripts/run-mangleme-tests:
2805 Renamed runSafari to not conflict with the one in webkitdirs.
2806 Added SSLCertificateFile option for httpd, as now needed.
2808 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
2810 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
2812 * wx/browser/browser.cpp:
2815 2008-05-24 Andreia Gaita <shana@isninja.com>
2817 Reviewed by Alp Toker.
2819 cygwin-downloader.py fixes.
2821 Remove two non-working mirrors. Add a check for missing dependency
2822 packages to avoid bailing out on an inconsistent Cygwin package list.
2824 * CygwinDownloader/cygwin-downloader.py:
2826 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
2828 Reviewed by Darin Adler.
2830 Remove useQmake usage. QMake build doesn't support Gtk port
2833 Also fix 2 occurences of "Web Kit". Should be WebKit.
2835 * Scripts/build-webkit:
2836 * Scripts/run-javascriptcore-tests:
2837 * Scripts/run-launcher:
2838 * Scripts/run-webkit-tests:
2839 * Scripts/webkitdirs.pm:
2841 2008-05-22 Stephanie Lewis <slewis@apple.com>
2845 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
2847 * DumpRenderTree/mac/UIDelegate.mm:
2848 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
2849 * DumpRenderTree/win/UIDelegate.cpp:
2850 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
2852 2008-05-21 Adele Peterson <adele@apple.com>
2856 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
2858 * DumpRenderTree/win/UIDelegate.cpp:
2859 (UIDelegate::webViewFocus): Added.
2860 (UIDelegate::webViewUnfocus): Added.
2861 * DumpRenderTree/win/UIDelegate.h:
2863 2008-05-21 Mark Rowe <mrowe@apple.com>
2865 Rubber-stamped by Stephanie Lewis.
2867 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
2868 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
2871 * Scripts/run-safari:
2873 2008-05-21 Stephanie Lewis <slewis@apple.com>
2875 Reviewed by Maciej, Mark.
2877 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
2879 * Scripts/run-webkit-tests:
2880 * Scripts/webkitdirs.pm:
2882 2008-05-20 Mark Rowe <mrowe@apple.com>
2884 Reviewed by Stephanie Lewis.
2886 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
2888 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
2889 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
2890 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
2891 pass an argument to run-webkit-tests after having built with "make x86_64".
2893 * Scripts/gdb-safari:
2894 * Scripts/run-safari:
2895 * Scripts/run-webkit-tests:
2896 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
2897 preferred architecture, and exporting of the environment variables for 'arch' out into
2898 separate subroutines.
2900 2008-05-20 Mark Rowe <mrowe@apple.com>
2902 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
2906 === End merge of squirrelfish ===
2908 2008-04-14 Maciej Stachowiak <mjs@apple.com>
2912 - added support for --ubench mode
2914 * Scripts/run-sunspider:
2916 2008-03-26 Geoffrey Garen <ggaren@apple.com>
2918 Reviewed by Oliver Hunt.
2920 --squirrelfish mode: pared down tests for squirrelfish to chew on.
2922 * Scripts/run-sunspider:
2924 === Start merge of squirrelfish ===
2926 2008-05-21 Darin Adler <darin@apple.com>
2928 * Scripts/make-js-test-wrappers: Added another exception.
2930 2008-05-19 Stephanie Lewis <slewis@apple.com>
2934 Explicitly set run mode to 32bit unless overridden to avoid
2935 confusion when running tests
2937 * Scripts/build-dumprendertree:
2938 * Scripts/gdb-safari:
2939 * Scripts/run-webkit-tests:
2940 * Scripts/webkitdirs.pm:
2942 2008-05-16 Stephanie Lewis <slewis@apple.com>
2946 Print out pending unload event count. Also print out main frame name to match Mac.
2948 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2949 (descriptionSuitableForTestResult):
2950 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
2952 2008-05-16 Timothy Hatcher <timothy@apple.com>
2954 Remove the Drosera project, code and resources since it has been
2955 replaced with the Web Inspector's debugger. Removes references to
2956 Drosera in various scripts and makefiles.
2958 Rubber-stamped by Mark Rowe.
2960 * BuildSlaveSupport/build-launcher-app:
2961 * Drosera/DebuggerDocument.cpp: Removed.
2962 * Drosera/DebuggerDocument.h: Removed.
2963 * Drosera/Drosera.icns: Removed.
2964 * Drosera/DroseraWin.make: Removed.
2965 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
2966 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
2967 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
2968 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
2969 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
2970 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
2971 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2972 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
2973 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2974 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2975 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
2976 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
2977 * Drosera/Images/Drosera.ico: Removed.
2978 * Drosera/Images/SourceArrow.png: Removed.
2979 * Drosera/Images/SourceArrowBlank.png: Removed.
2980 * Drosera/Images/SourceArrowOpen.png: Removed.
2981 * Drosera/Images/background_stripe.png: Removed.
2982 * Drosera/Images/breakPoint.tif: Removed.
2983 * Drosera/Images/breakPointDisabled.tif: Removed.
2984 * Drosera/Images/breakpointeditor.png: Removed.
2985 * Drosera/Images/close.tif: Removed.
2986 * Drosera/Images/close_active.tif: Removed.
2987 * Drosera/Images/close_hover.tif: Removed.
2988 * Drosera/Images/console.png: Removed.
2989 * Drosera/Images/continue.tif: Removed.
2990 * Drosera/Images/fileIcon.jpg: Removed.
2991 * Drosera/Images/finishFunction.tif: Removed.
2992 * Drosera/Images/glossyFooterFill.tif: Removed.
2993 * Drosera/Images/glossyHeader.png: Removed.
2994 * Drosera/Images/glossyHeaderPressed.png: Removed.
2995 * Drosera/Images/gradientBackground.png: Removed.
2996 * Drosera/Images/gutter.png: Removed.
2997 * Drosera/Images/navLeftDisabled.png: Removed.
2998 * Drosera/Images/navLeftNormal.png: Removed.
2999 * Drosera/Images/navLeftPressed.png: Removed.
3000 * Drosera/Images/navRightDisabled.png: Removed.
3001 * Drosera/Images/navRightNormal.png: Removed.
3002 * Drosera/Images/navRightPressed.png: Removed.
3003 * Drosera/Images/pause.tif: Removed.
3004 * Drosera/Images/popUpArrows.png: Removed.
3005 * Drosera/Images/programCounter.tif: Removed.
3006 * Drosera/Images/programCounterBreakPoint.tif: Removed.
3007 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
3008 * Drosera/Images/run.tif: Removed.
3009 * Drosera/Images/siteCollapsed.tif: Removed.
3010 * Drosera/Images/siteExpanded.tif: Removed.
3011 * Drosera/Images/siteIcon.tif: Removed.
3012 * Drosera/Images/small.ico: Removed.
3013 * Drosera/Images/splitterBar.tif: Removed.
3014 * Drosera/Images/splitterDimple.tif: Removed.
3015 * Drosera/Images/step.tif: Removed.
3016 * Drosera/Images/stepOut.tif: Removed.
3017 * Drosera/Images/stepOver.tif: Removed.
3018 * Drosera/Images/stop.tif: Removed.
3019 * Drosera/Images/toolbarBackground.png: Removed.
3020 * Drosera/Images/verticalSplitterBar.tiff: Removed.
3021 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
3022 * Drosera/Makefile: Removed.
3023 * Drosera/breakpointEditor.html: Removed.
3024 * Drosera/config.h: Removed.
3025 * Drosera/console.css: Removed.
3026 * Drosera/console.html: Removed.
3027 * Drosera/console.js: Removed.
3028 * Drosera/debugger.css: Removed.
3029 * Drosera/debugger.html: Removed.
3030 * Drosera/debugger.js: Removed.
3031 * Drosera/mac/DebuggerApplication.h: Removed.
3032 * Drosera/mac/DebuggerApplication.mm: Removed.
3033 * Drosera/mac/DebuggerClient.h: Removed.
3034 * Drosera/mac/DebuggerClient.mm: Removed.
3035 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
3036 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
3037 * Drosera/mac/Info.plist: Removed.
3038 * Drosera/mac/LauncherInfo.plist: Removed.
3039 * Drosera/mac/Makefile: Removed.
3040 * Drosera/mac/ServerConnection.h: Removed.
3041 * Drosera/mac/ServerConnection.mm: Removed.
3042 * Drosera/mac/launcher.m: Removed.
3043 * Drosera/mac/main.m: Removed.
3044 * Drosera/viewer.css: Removed.
3045 * Drosera/viewer.html: Removed.
3046 * Drosera/win/BaseDelegate.h: Removed.
3047 * Drosera/win/DebuggerClient.cpp: Removed.
3048 * Drosera/win/DebuggerClient.h: Removed.
3049 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
3050 * Drosera/win/Drosera.cpp: Removed.
3051 * Drosera/win/Drosera.h: Removed.
3052 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
3053 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
3054 * Drosera/win/DroseraPrefix.cpp: Removed.
3055 * Drosera/win/DroseraPrefix.h: Removed.
3056 * Drosera/win/Info.plist: Removed.
3057 * Drosera/win/ServerConnection.cpp: Removed.
3058 * Drosera/win/ServerConnection.h: Removed.
3059 * Drosera/win/resource.h: Removed.
3061 * Scripts/build-drosera: Removed.
3062 * Scripts/gdb-drosera: Removed.
3063 * Scripts/run-drosera: Removed.
3064 * Scripts/run-drosera-nightly.cmd: Removed.
3065 * Scripts/run-drosera.cmd: Removed.
3066 * Scripts/webkitdirs.pm:
3068 2008-05-15 Stephanie Lewis <slewis@apple.com>
3072 Dump the unload count for a frame after parsing is finished.
3074 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3075 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3077 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
3079 Reviewed by Dan Bernstein.
3081 https://bugs.webkit.org/show_bug.cgi?id=10707
3082 DumpRenderTree should not be able to access non-local resources
3084 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3085 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3086 Block them, and complain.
3088 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
3090 wx build fix. Update the version of libpng to download and instsall.
3092 * wx/install-unix-extras:
3094 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
3098 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
3099 We now force the return value to be numeric.
3101 - Removed platform checks as it was a work around the previous issue.
3103 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
3105 * Scripts/build-webkit:
3106 * Scripts/webkitdirs.pm:
3108 2008-05-12 Adam Roben <aroben@apple.com>
3110 Support for testing NPN_PostURL
3112 Reviewed by Anders Carlsson.
3114 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3115 (toCString): Added this helper function.
3116 (testPostURLFile): Added. Writes the passed-in content to the
3117 passed-in file and calls NPN_PostURL with the passed-in URL and
3119 (pluginInvoke): Added a case for testPostURLFile.
3120 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3121 (followShortcuts): Changed to allow paths that don't yet exist.
3123 2008-05-12 Mark Rowe <mrowe@apple.com>
3125 Reviewed by Sam Weinig.
3127 Minor cleanup of the DRT Xcode project.
3129 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
3130 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
3131 not need to be there.
3133 2008-05-12 Anders Carlsson <andersca@apple.com>
3137 Add support for testing application caches.
3139 * DumpRenderTree/mac/DumpRenderTree.mm:
3143 (resetWebViewToConsistentStateBeforeTesting):
3144 Turn on support for the application cache.
3146 2008-05-09 Mark Rowe <mrowe@apple.com>
3148 Reviewed by Anders Carlsson.
3150 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
3152 It currently does not attempt to print events which means that plugins/mouse-events.html
3153 will fail when run 64-bit. All other tests that use this plugin pass.
3155 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3156 (testGetIntIdentifier):
3157 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3161 2008-05-09 Brady Eidson <beidson@apple.com>
3163 Reviewed by Adam Roben
3165 Explicitly call shutDownWebKit() before quitting.
3167 * Drosera/win/Drosera.cpp:
3170 * DumpRenderTree/win/DumpRenderTree.cpp:
3173 2008-05-09 Mark Rowe <mrowe@apple.com>
3175 Fix the Tiger build of Drosera.
3177 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
3179 2008-05-09 Sam Weinig <sam@webkit.org>
3181 Rubber-stamped by Mark Rowe.
3183 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
3185 * Scripts/build-webkit:
3187 2008-05-08 Mark Rowe <mrowe@apple.com>
3189 Another attempt at a Tiger build fix.
3191 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
3193 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3195 2008-05-08 Mark Rowe <mrowe@apple.com>
3197 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
3199 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3201 2008-05-08 Mark Rowe <mrowe@apple.com>
3203 Reviewed by Oliver Hunt and Dan Bernstein.
3205 Update DumpRenderTree to build 64-bit.
3207 The three major changes here are:
3208 1) Use NSInteger in the appropriate places.
3209 2) Use ColorSync API that is available in 64-bit to switch display profiles.
3210 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
3212 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
3213 needs updated to successfully build.
3215 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
3216 * DumpRenderTree/mac/DumpRenderTree.mm:
3217 (swizzleAllMethods):
3219 (prepareConsistentTestingEnvironment):
3220 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3221 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
3222 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3223 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3224 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3225 (restoreColorSpace):
3226 (failedGettingCurrentProfile):
3227 (setDefaultColorProfileToRGB):
3229 2008-05-08 Mark Rowe <mrowe@apple.com>
3231 Reviewed by Darin Adler.
3233 Clean up Drosera so that it will build 64-bit.
3235 * Drosera/mac/DebuggerApplication.mm:
3236 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
3237 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
3238 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
3240 2008-05-07 David Kilzer <ddkilzer@apple.com>
3242 Use File::Find and Getopt::Long in make-js-test-wrappers
3244 Reviewed by Darin Adler.
3246 * Scripts/make-js-test-wrappers:
3247 - Updated Apple copyright statement.
3248 - Added command-line switch parsing and -h|--help switch.
3249 - Allowed user to pass list of files/directories on which to do
3250 a restricted search for TEMPLATE.html files. The default
3251 behavior is still to search the entire LayoutTests directory.
3252 - Removed duplicate 'use strict' statement.
3253 - Replaced use of `find` statements with File::Find::find().
3254 - Remove unneeded chomp() calls now that we use File::Find.
3255 (directoryFilter): Added. Filters .svn directories when used
3256 with File::Find::find().
3257 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
3260 2008-05-05 Steve Falkenburg <sfalken@apple.com>
3262 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
3264 * DumpRenderTree/win/DumpRenderTree.vcproj:
3265 * DumpRenderTree/win/ImageDiff.vcproj:
3267 2008-05-05 Adele Peterson <adele@apple.com>
3271 Look for the right ImageDiff executable for debug builds.
3273 * Scripts/run-webkit-tests:
3275 2008-05-05 Darin Adler <darin@apple.com>
3277 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
3280 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
3284 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
3285 tests expect to be 480x360)
3287 * DumpRenderTree/qt/DumpRenderTree.cpp:
3288 (WebCore::DumpRenderTree::open):
3290 2008-05-02 Dan Bernstein <mitz@apple.com>
3292 Reviewed by Adam Roben.
3294 - add an option to svn-apply to set the reviewer name in change logs
3296 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
3298 2008-05-01 David Kilzer <ddkilzer@apple.com>
3300 Clean up configuration usage in run-webkit-tests
3304 * Scripts/run-webkit-tests: Parse configuration switches using
3305 passedConfiguration() from webkitdirs.pm like every other script.
3306 Note that we must still call setConfiguration() afterwards in
3307 case the --configuration switch was used. Use $configurationOption
3308 when running build-dumprendertree instead of recreating the switch.
3310 2008-04-29 Adam Roben <aroben@apple.com>
3312 Restore the beloved COMPtr::operator&
3314 2008-04-29 Adam Roben <aroben@apple.com>
3318 Replace COMPtr::operator& with COMPtr::adoptionPointer.
3320 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
3322 Reviewed by Darin Adler.
3324 Fix run-webkit-tests --threading
3325 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
3326 Proxy server issue in Sunday's Nightly
3328 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
3329 (runJavaScriptThread):
3330 (startJavaScriptThreads):
3331 (stopJavaScriptThreads):
3332 Spawned threads were immediately detached, unlike the original ones, so joining them
3333 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
3334 waits for them all to exit.
3336 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
3340 Reset dumping resource load callbacks to false for the next test
3343 * DumpRenderTree/qt/jsobjects.cpp:
3344 (LayoutTestController::reset):
3346 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3350 Adapt to the latest API changes in WebKit/qt/Api.
3352 * DumpRenderTree/qt/DumpRenderTree.cpp:
3353 (WebCore::DumpRenderTree::DumpRenderTree):
3354 * DumpRenderTree/qt/jsobjects.cpp:
3356 2008-04-26 Robin Dunn <robin@alldunn.com>
3358 Reviewed by Kevin Ollivier.
3360 Delete the DerivedSources after make clean has been done so that the DerivedSources
3361 don't get re-created. Also, use the proper extension for the Win wxPython extension.
3363 https://bugs.webkit.org/show_bug.cgi?id=18756
3365 * wx/build-wxwebkit:
3367 2008-04-26 Adam Barth <hk9565@gmail.com>
3369 Reviewed by Adam Roben and Sam Weinig.
3371 Updates LayoutTestController to use host instead of domain.
3373 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
3375 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3376 (LayoutTestController::setDatabaseQuota):
3377 * DumpRenderTree/mac/UIDelegate.mm:
3378 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
3380 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
3382 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
3384 * wx/install-unix-extras:
3386 2008-04-26 Robin Dunn <robin@alldunn.com>
3388 Reviewed by Kevin Ollivier.
3390 Allow the user to set the path to SWIG using an environment variable.
3392 https://bugs.webkit.org/show_bug.cgi?id=18660
3394 * wx/build-wxwebkit:
3396 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
3398 wx build fix. Download the latest libpng version for building the
3401 * wx/install-unix-extras:
3403 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
3407 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
3409 Similar to Editing and Frameloading we do the dumping within WebCore
3412 * DumpRenderTree/qt/jsobjects.cpp:
3413 (LayoutTestController::dumpResourceLoadCallbacks):
3414 * DumpRenderTree/qt/jsobjects.h:
3416 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3418 Reviewed by Maciej Stachowiak.
3420 http://bugs.webkit.org/show_bug.cgi?id=18485
3421 Typo and documentation fix for build-webkit
3423 * Scripts/build-webkit:
3425 2008-04-24 Anders Carlsson <andersca@apple.com>
3429 Don't call fprintf from the signal handler.
3431 * DumpRenderTree/mac/DumpRenderTree.mm:
3434 2008-04-23 Adam Roben <aroben@apple.com>
3436 Make crashes be reported as crashes, not hangs
3438 Reviewed by David Kilzer.
3440 * Scripts/run-webkit-tests:
3441 (top level): Use the new status field of the output from
3442 readFromDumpToolWithTimer to determine if the test crashed or hung.
3443 (sub readFromDumpToolWithTimer):
3444 - If we fail to read a line and $! is not EAGAIN, then we've crashed
3445 and should not try to read any more.
3446 - Changed the timedout field to a more general status field.
3448 2008-04-22 David Kilzer <ddkilzer@apple.com>
3450 Bug 18683: update-webkit returns 0 even if it fails
3452 <https://bugs.webkit.org/show_bug.cgi?id=18683>
3454 Reviewed by Mitz Pettel.
3456 * Scripts/update-webkit:
3457 (runSvnUpdate): Die if close() fails.
3459 2008-04-21 Adam Roben <aroben@apple.com>
3461 Flush stdout/stderr after printing every #EOF separator
3463 This fixes a hang when running the pixel tests on Windows
3465 Reviewed by Mitz Pettel.
3467 * DumpRenderTree/win/DumpRenderTree.cpp:
3469 (main): We don't have to flush stdout/stderr in the arguments loop
3470 anymore, as runTest flushes for us.
3472 2008-04-21 Adam Roben <aroben@apple.com>
3476 * Scripts/run-webkit-tests:
3477 (sub readFromDumpToolWithTimer): Use readline instead of read to
3478 ensure that we don't read past the #EOF marker.
3480 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3484 Build fix for Qt 4.3
3486 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
3487 always defined. Do this by adding defines to the compiler line
3489 * DumpRenderTree/qt/DumpRenderTree.pro:
3491 2008-04-19 Mike Hommey <glandium@debian.org>
3493 Reviewed by Alp Toker.
3495 Don't build GtkLauncher and DumpRenderTree with rpath.
3499 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3501 Reviewed by Alp Toker.
3503 http://bugs.webkit.org/show_bug.cgi?id=16620
3504 [GTK] Autotools make dist and make check support
3510 2008-04-18 Adam Roben <aroben@apple.com>
3512 Drop the hang timer to 30 seconds
3514 This matches what DRT/mac was using.
3516 Reviewed by Mitz Pettel.
3518 * Scripts/run-webkit-tests:
3520 2008-04-18 Adam Roben <aroben@apple.com>
3522 Get rid of DRT's Watchdog
3524 run-webkit-tests now detects hangs and samples DRT as needed.
3526 Reviewed by Mitz Pettel.
3528 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
3529 Watchdog* files from the project.
3530 * DumpRenderTree/Watchdog.cpp: Removed.
3531 * DumpRenderTree/Watchdog.h: Removed.
3532 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
3535 * DumpRenderTree/mac/WatchdogMac.h: Removed.
3536 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
3537 * Scripts/run-webkit-tests:
3538 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
3539 (sub sampleDumpTool): Added. Writes a sample report to
3540 ~/Library/Logs/DumpRenderTree/HangReport.txt.
3542 2008-04-18 Simon Hausmann <hausmann@webkit.org>
3546 Adapt to the API changes in WebKit/qt
3548 * DumpRenderTree/qt/DumpRenderTree.cpp:
3549 (WebCore::WebPage::WebPage):
3550 (WebCore::DumpRenderTree::DumpRenderTree):
3551 (WebCore::DumpRenderTree::initJSObjects):
3552 (WebCore::DumpRenderTree::dumpFramesAsText):
3553 (WebCore::DumpRenderTree::dump):
3555 2008-04-17 Adam Roben <aroben@apple.com>
3557 Fix many tests on Windows
3559 * Scripts/run-webkit-tests:
3560 (readFromDumpToolWithTimer):
3561 - Use read instead of sysread to ensure that we don't interfere with
3562 other uses of buffered IO in this script.
3563 (setFileHandleNonBlocking): Actually set the filehandle to blocking
3566 2008-04-17 Adam Roben <aroben@apple.com>
3570 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
3571 whatever newline happens to be at the end of what we've read.
3573 2008-04-17 Adam Roben <aroben@apple.com>
3575 Remove DRT/win's hang timer
3577 run-webkit-tests takes care of this for us now
3579 Reviewed by Anders Carlsson.
3581 * DumpRenderTree/win/DumpRenderTree.cpp:
3583 2008-04-17 Adam Roben <aroben@apple.com>
3585 Don't wait for the hang timer twice in the case of a hang
3587 Previously we'd wait for a hang while reading both stdout and stderr
3588 from DRT. Now we'll only wait for one or the other.
3590 Reviewed by Anders Carlsson.
3592 * Scripts/run-webkit-tests:
3593 (top level): Don't wait for stderr to time out if stdout already timed
3595 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
3596 after the first read that returns no data.
3598 2008-04-17 Adam Roben <aroben@apple.com>
3600 Don't throw away the output from timed out tests
3602 Reviewed by Anders Carlsson.
3604 * Scripts/run-webkit-tests:
3605 (top level): Updated for changes to readFromDumpToolWithTimer.
3606 (readFromDumpToolWithTimer): Return a hash that contains both the
3607 output and whether or not the test timed out.
3609 2008-04-17 Adam Roben <aroben@apple.com>
3611 Make the hang timer 60 seconds
3613 * Scripts/run-webkit-tests:
3615 2008-04-17 Adam Roben <aroben@apple.com>
3617 Get rid of carriage returns in DRT/win's stderr
3619 Reviewed by Eric Seidel.
3621 * DumpRenderTree/win/DumpRenderTree.cpp:
3622 (main): Mark stderr as binary like we already do for stdout.
3624 2008-04-17 Adam Roben <aroben@apple.com>
3626 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
3629 <https://bugs.webkit.org/show_bug.cgi?id=17678>
3631 We now abort tests that take longer than 60 seconds to produce output.
3632 This matches the watchdog timer in DRT/mac and DRT/win (which we can
3635 Reviewed by Eric Seidel.
3637 * Scripts/run-webkit-tests:
3638 (top level): Read DRT's output using the new readFromDumpToolWithTimer
3639 subroutine. If readFromDumpToolWithTimer returns undefined it means
3640 the test timed out, so we register the test as a hang and move on.
3641 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
3642 both crashed and timed out tests. If the test timed out, we kill DRT
3644 (sub linksForTimedOutTest): Added. We don't have any output to link to for
3645 tests that timed out.
3646 (sub recordActualResultsAndDiff): Don't call length on undefined.
3647 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
3648 from a filehandle until an #EOF is reached or
3649 $maximumSecondsWithoutOutput have elapsed.