2011-04-04 Martin Robinson <mrobinson@igalia.com>
[WebKit-https.git] / Tools / ChangeLog
1 2011-04-04  Martin Robinson  <mrobinson@igalia.com>
2
3         Reviewed by Gustavo Noronha Silva.
4
5         [GTK] WebGL support
6         https://bugs.webkit.org/show_bug.cgi?id=31517
7
8         Add support to the DRT for turning on WebGL when a layout tests requests it.
9
10         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
11         (LayoutTestController::overridePreference): Allow turning on WebGL from tests.
12
13 2011-04-04  Chang Shu  <cshu@webkit.org>
14
15         Reviewed by Darin Adler.
16
17         WebKitTestRunner needs layoutTestController.setAllowFileAccessFromFileURLs
18         https://bugs.webkit.org/show_bug.cgi?id=57572
19
20         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
21         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
22         (WTR::LayoutTestController::setAllowFileAccessFromFileURLs):
23         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
24
25 2011-04-04  Keith Kyzivat  <keith.kyzivat@nokia.com>
26
27         Reviewed by Csaba Osztrogonác.
28
29         [Qt] DumpRenderTree breaks compilation in some uClibc environments
30         https://bugs.webkit.org/show_bug.cgi?id=57602
31
32         * DumpRenderTree/qt/main.cpp:
33         (get_backtrace):
34
35 2011-04-04  Kevin Ollivier  <kevino@theolliviers.com>
36
37         [wx] Unreviewed build fix, add new LayoutTestController method stub to wx.
38
39         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
40         (LayoutTestController::shadowRoot):
41
42 2011-04-04  Pavel Podivilov  <podivilov@chromium.org>
43
44         Unreviewed, fix exception in rebaseline tool.
45
46         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
47
48 2011-04-02  Beth Dakin  <bdakin@apple.com>
49
50         Rubber-stamped by Geoff Garen.
51
52         For Dan!
53         * DumpRenderTree/mac/DumpRenderTree.mm:
54         (resetWebViewToConsistentStateBeforeTesting):
55
56 2011-04-02  Beth Dakin  <bdakin@apple.com>
57
58         Rubber-stamped by Geoff Garen.
59
60         Need to reset the scale, much like zoom.
61         * DumpRenderTree/mac/DumpRenderTree.mm:
62         (resetWebViewToConsistentStateBeforeTesting):
63
64 2011-04-02  Sam Weinig  <sam@webkit.org>
65
66         Reviewed by Beth Dakin.
67
68         https://bugs.webkit.org/show_bug.cgi?id=57605
69         Frame::pageScaleFactor() should not affect getBoundingClientRect() or 
70         getClientRects()
71         -and corresponding-
72         <rdar://problem/9194541>
73
74         Add DRT support for the scaleWebView SPI.
75         * DumpRenderTree/mac/EventSendingController.mm:
76         (+[EventSendingController isSelectorExcludedFromWebScript:]):
77         (+[EventSendingController webScriptNameForSelector:]):
78         (-[EventSendingController scalePageBy:atX:andY:]):
79         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
80         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
81         (WTR::EventSendingController::scalePageBy):
82         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
83         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
84         (WTR::InjectedBundlePage::reset):
85
86 2011-04-02  Dominic Cooney  <dominicc@google.com>
87
88         Reviewed by Martin Robinson.
89
90         Add layoutTestController.shadowRoot to GTK DumpRenderTree.
91         https://bugs.webkit.org/show_bug.cgi?id=57551
92
93         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
94         (LayoutTestController::shadowRoot):
95
96 2011-04-02  Patrick Gansterer  <paroga@webkit.org>
97
98         Reviewed by Eric Seidel.
99
100         Remove AbstractStep._run_script and move script names to ports.py
101         https://bugs.webkit.org/show_bug.cgi?id=57704
102
103         Replace deprecated _run_script with _tool.executive.run_and_throw_if_fail.
104
105         * Scripts/webkitpy/common/config/ports.py:
106         * Scripts/webkitpy/tool/commands/download_unittest.py:
107         * Scripts/webkitpy/tool/commands/roll_unittest.py:
108         * Scripts/webkitpy/tool/commands/upload_unittest.py:
109         * Scripts/webkitpy/tool/steps/abstractstep.py:
110         * Scripts/webkitpy/tool/steps/checkstyle.py:
111         * Scripts/webkitpy/tool/steps/preparechangelog.py:
112         * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py:
113         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
114
115 2011-04-02  Patrick Gansterer  <paroga@webkit.org>
116
117         Reviewed by Eric Seidel.
118
119         Emulate shebang on Win32
120         https://bugs.webkit.org/show_bug.cgi?id=55927
121
122         Scripts on Windows work only if they are called with the explicit interpreter.
123         Read the first line of scripts to detect the correct executable.
124
125         * Scripts/webkitpy/common/config/ports.py:
126         * Scripts/webkitpy/common/system/executive.py: Added interpreter_for_script().
127         * Scripts/webkitpy/common/system/executive_unittest.py:
128
129 2011-04-01  Adam Barth  <abarth@webkit.org>
130
131         Reviewed by Eric Seidel.
132
133         apos entities shouldn't show up in ChangeLogs when using webkit-patch
134         https://bugs.webkit.org/show_bug.cgi?id=57692
135
136         Previously, we were using BeautifulSoup to process XML from
137         bugs.webkit.org, but that's incorrect.  We should be using
138         BeautifulStoneSoup to process the XML.  We were getting the &apos;
139         entity wrong because &apos; is an XML entity but not an HTML entity.
140
141         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
142         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
143
144 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
145
146         Unreviewed, rolling out r82721.
147         http://trac.webkit.org/changeset/82721
148         https://bugs.webkit.org/show_bug.cgi?id=57687
149
150         This patch introduced assertion failures on the GTK+ bots.
151         (Requested by mrobinson on #webkit).
152
153         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
154         (LayoutTestController::shadowRoot):
155
156 2011-04-01  Csaba Osztrogonác  <ossy@webkit.org>
157
158         Unreviewed buildfix.
159
160         [Qt][WK2] Build Webkit2 using "-2" option on Qt
161         https://bugs.webkit.org/show_bug.cgi?id=55074
162
163         * Scripts/build-webkit: Ensure that "-2" isn't passed to qmake.
164         (The isWK2() function removes it from @ARGV, but not from @options.)
165
166 2011-04-01  Keith Kyzivat  <keith.kyzivat@nokia.com>
167
168         Reviewed by Csaba Osztrogonác.
169
170         [Qt] [WK2] MiniBrowser.qrc not found - regression from rev 82671
171         https://bugs.webkit.org/show_bug.cgi?id=57666
172
173         * MiniBrowser/qt/MiniBrowser.qrc: Renamed from Tools/MiniBrowser/MiniBrowser.qrc.
174
175 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
176
177         Reviewed by Adam Barth.
178
179         new-run-webkit-tests: fix feature detection, skipped platform lists on mac
180
181         We apparently never implemented the code to skip tests based on
182         what was compiled into DRT. Also, change the logic used to skip
183         platform directories to match what old-run-webkit-tests does: 
184         skip every test not in a directory in the baseline search path.
185
186         https://bugs.webkit.org/show_bug.cgi?id=57662
187
188         * Scripts/webkitpy/layout_tests/port/mac.py:
189         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
190         * Scripts/webkitpy/layout_tests/port/webkit.py:
191
192 2011-03-29  Mark Rowe  <mrowe@apple.com>
193
194         Reviewed by Jon Honeycutt.
195
196         <http://webkit.org/b/56730> new-run-webkit-tests fails on Lion seed
197
198         Teach new-run-webkit-tests about the concept of an unreleased version of Mac OS X.
199
200         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
201         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
202         * Scripts/webkitpy/layout_tests/port/mac.py:
203         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
204
205 2011-04-01  Chang Shu  <cshu@webkit.org>
206
207         Reviewed by Csaba Osztrogonác.
208
209         [Qt][WK2] Build Webkit2 using "-2" option on Qt
210         https://bugs.webkit.org/show_bug.cgi?id=55074
211
212         * Scripts/build-webkit:
213
214 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
215
216         Reviewed by Tony Chang.
217
218         new-run-webkit-tests: remove spurious port version override in webkit.py
219         base.py provides a default implementation so this is just
220         breaking things.
221
222         https://bugs.webkit.org/show_bug.cgi?id=57667
223
224         * Scripts/webkitpy/layout_tests/port/webkit.py:
225         * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
226
227 2011-04-01  Csaba Osztrogonác  <ossy@webkit.org>
228
229         Reviewed by Adam Roben.
230
231         Make view results on waterfall direct link to results.html
232         https://bugs.webkit.org/show_bug.cgi?id=57671
233
234         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add "/results.html" to the URL.
235         * Scripts/old-run-webkit-tests: Add links to httpd access and error logs.
236
237 2011-04-01  Sam Weinig  <sam@webkit.org>
238
239         Fix windows build.
240
241         * TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
242         (TestWebKitAPI::TEST):
243         * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
244         (TestWebKitAPI::flushMessages):
245
246 2011-04-01  Sam Weinig  <sam@webkit.org>
247
248         Reviewed by Adam Roben.
249
250         Add adoptWK to WKRetainPtr.h
251         https://bugs.webkit.org/show_bug.cgi?id=57670
252
253         * TestWebKitAPI/PlatformUtilities.h:
254         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
255         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
256         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
257         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
258         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
259         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
260         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
261         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
262         (TestWebKitAPI::createSessionStateContainingFormData):
263         * WebKitTestRunner/StringFunctions.h:
264         Replace custom versions of adoptWK with the API on in WebKit2/WKRetainPtr.h.
265
266 2011-04-01  Sam Weinig  <sam@webkit.org>
267
268         Reviewed by Adam Roben.
269
270         Fix leak noticed by Adam Roben in LayoutTestController::shadowRoot.
271
272         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
273         (WTR::LayoutTestController::shadowRoot):
274         Make judicious use of adoptWK().
275
276 2011-04-01  Sam Weinig  <sam@webkit.org>
277
278         Reviewed by Timothy Hatcher.
279
280         Fix extract-localizable-strings for macro change from UI_STRING -> WEB_UI_STRING.
281
282         * Scripts/extract-localizable-strings:
283
284 2011-04-01  Anders Carlsson  <andersca@apple.com>
285
286         Reviewed by Sam Weinig.
287
288         Shockwave plug-in doesn't accept mouse events
289         https://bugs.webkit.org/show_bug.cgi?id=57653
290         <rdar://problem/8483273>
291
292         Add a plug-in test.
293
294         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
295         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
296         (PluginTest::indicateTestFailure):
297         Move code from NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject here.
298
299         (PluginTest::NPN_ConvertPoint):
300         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
301         * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
302         (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
303         Call indicateTestFailure.
304
305         * DumpRenderTree/TestNetscapePlugIn/Tests/mac: Added.
306         * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp: Added.
307         (ConvertPoint::ConvertPoint):
308         (ConvertPoint::testConvert):
309         (ConvertPoint::NPP_New):
310
311 2011-04-01  Dominic Cooney  <dominicc@google.com>
312
313         Reviewed by Martin Robinson.
314
315         Add layoutTestController.shadowRoot to GTK DumpRenderTree.
316         https://bugs.webkit.org/show_bug.cgi?id=57551
317
318         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
319         (LayoutTestController::shadowRoot):
320
321 2011-04-01  Sam Weinig  <sam@webkit.org>
322
323         Reviewed by Anders Carlsson.
324
325         WebKitTestRunner needs layoutTestController.shadowRoot
326         https://bugs.webkit.org/show_bug.cgi?id=57661
327
328         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
329         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
330         (WTR::LayoutTestController::shadowRoot):
331         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
332         Implement layoutTestController.shadowRoot for WebKit2.
333
334 2011-04-01  Chang Shu  <cshu@webkit.org>
335
336         Reviewed by Darin Adler.
337
338         WebKitTestRunner needs layoutTestController.setDatabaseQuota
339         https://bugs.webkit.org/show_bug.cgi?id=57568
340
341         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
342         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
343         (WTR::LayoutTestController::setDatabaseQuota):
344         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
345
346 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
347
348         Reviewed by Tony Chang.
349
350         This patch completes the cleanup of
351         rebaseline-chromium-webkit-tests to work with all of the
352         variants of a platform (we can now rebaseline gpu- and non-gpu
353         files at the same time).
354
355         When the rebaselining is complete, any lines declared as
356         REBASELINE in the expectations file that matches a test that was
357         actually rebaselined will be deleted, even if only one of the
358         variants was actually rebaselined. This may cause odd problems,
359         but is better than where we're at today.
360
361         This change removes the -g flag and deprecates -w. The -g flag is gone
362         because GPU baselines are handled just like any other variant.
363         The -w flag is deprecated because this tool now only works
364         against the canaries, since that's the only place we have a full
365         set of bots. It will be trivial to change this to
366         build.webkit.org if we decide that's where we want them to be.
367
368         Also, this patch deletes a lot of cruft that is no longer needed
369         in the test_expectations code and the port-specific code.
370
371         https://bugs.webkit.org/show_bug.cgi?id=55191
372
373         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
374         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
375         * Scripts/webkitpy/layout_tests/port/base.py:
376         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
377         * Scripts/webkitpy/layout_tests/port/chromium.py:
378         * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
379         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
380         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
381         * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
382         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
383         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
384         * Scripts/webkitpy/layout_tests/port/mac.py:
385         * Scripts/webkitpy/layout_tests/port/test.py:
386         * Scripts/webkitpy/layout_tests/port/webkit.py:
387         * Scripts/webkitpy/layout_tests/port/win.py:
388         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
389         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
390
391 2011-04-01  Dirk Pranke  <dpranke@chromium.org>
392
393         Reviewed by Adam Barth.
394
395         rebaseline-chromium-webkit-tests does not work correctly with
396         version-specific baselines. This patch updates the tool to use
397         all of the version-specific bots on the canaries, and will now
398         attempt to rebaseline all of the versions by default, although
399         it will not update both GPU and CPU versions.
400         
401         Also, it will no longer modify the test_expectations.txt file
402         *at all*. You will have to manually delete the REBASELINE lines
403         after running the tool and determining that it did what you
404         wanted it to do. This should be fixed in a separate bug - see
405         webkit bug #55191.
406
407         https://bugs.webkit.org/show_bug.cgi?id=55608
408
409         * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
410         * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
411         * Scripts/webkitpy/layout_tests/port/chromium.py:
412         * Scripts/webkitpy/layout_tests/port/test.py:
413         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
414         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
415
416 2011-03-31  Tony Chang  <tony@chromium.org>
417
418         Reviewed by Ojan Vafai.
419
420         [chromium] update the rebaseline tool to know about pngs with checksums
421         https://bugs.webkit.org/show_bug.cgi?id=57481
422
423         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Skip over .checksum files if the checksum is already in the png
424         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
425
426 2011-04-01  Adam Roben  <aroben@apple.com>
427
428         Retrieve revision numbers from the build's got_revision property in Leaks Viewer
429
430         Previously, we were getting the revision of the first revision that triggered a build.
431         Choosing the last revision would have been more accurate. But got_revision is what is used
432         everywhere else on build.webkit.org, and should work even when there were no changes that
433         triggered a build (e.g., if someone clicked the Force Build button).
434
435         Fixes <http://webkit.org/b/57630> Leaks viewer gets some revision numbers wrong in the
436         recent builds list
437
438         Reviewed by Anders Carlsson.
439
440         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
441         (RecentBuildsLoader.prototype.start): Pull the revision number out of the got_revision
442         property, rather than out of the first (i.e., earliest) change in the sourceStamp object.
443
444         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
445         (Array.prototype.first): Added this helper function to return the first element in an array
446         that matches the given predicate, or null if no such element exists.
447
448 2011-03-31  Adam Roben  <aroben@apple.com>
449
450         Prefer (but don't require) bug URLs to be on their own line when parsing bug numbers from ChangeLogs
451
452         Fixes <http://webkit.org/b/57579> webkit-patch is too strict about bug URL formatting
453
454         Reviewed by Darin Adler.
455
456         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
457         (parse_bug_id_from_changelog): Fall back to parse_bug_id if we weren't able to find a bug
458         URL on its own line.
459
460         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
461         (BugzillaTest.test_parse_bug_id_from_changelog): Updated expected results for test
462         progression, and added a new test that uses a short bug URL while I was at it.
463
464 2011-04-01  Adam Roben  <aroben@apple.com>
465
466         Mark .vcproj/.vsprops/.sln files as being Windows-only
467
468         Fixes <http://webkit.org/b/57489> Mac builders built 82512, but shouldn't have
469
470         Reviewed by Anders Carlsson.
471
472         * Scripts/webkitpy/common/config/build.py:
473         (_should_file_trigger_build): Added patterns to mark .vcproj/.vsprops/.sln files and .vcproj
474         directories as Windows-only.
475
476         * Scripts/webkitpy/common/config/build_unittest.py:
477         (ShoulBuildTest): Added test cases for the above.
478
479 2011-04-01  Keith Kyzivat  <keith.kyzivat@nokia.com>
480
481         Reviewed by Laszlo Gombos.
482
483         [Qt] Build MiniBrowser for Symbian
484         https://bugs.webkit.org/show_bug.cgi?id=56319
485
486         Have MiniBrowser reference it's own copy of useragentlist.txt instead
487         of copying QtTestBrowser's.
488         Remove Tools/MiniBrowser/DerivedSources.pro
489         This reduces complexity in the Tools scripts due to Symbian limitations.
490
491         * DerivedSources.pro:
492         * MiniBrowser/DerivedSources.pro: Removed.
493         * MiniBrowser/MiniBrowser.qrc:
494         * MiniBrowser/qt/MiniBrowser.pro:
495         * Scripts/webkitdirs.pm:
496
497 2011-03-31  Chang Shu  <cshu@webkit.org>
498
499         Reviewed by Darin Adler.
500
501         WebKitTestRunner needs layoutTestController.clearAllDatabases
502         https://bugs.webkit.org/show_bug.cgi?id=42540
503
504         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
505         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
506         (WTR::InjectedBundle::beginTesting):
507         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
508         (WTR::LayoutTestController::clearAllDatabases):
509         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
510
511 2011-03-31  Chang Shu  <cshu@webkit.org>
512
513         Reviewed by Darin Adler.
514
515         WebKitTestRunner needs layoutTestController.setAllowUniversalAccessFromFileURLs
516         https://bugs.webkit.org/show_bug.cgi?id=42692
517
518         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
519
520 2011-03-31  Darin Adler  <darin@apple.com>
521
522         Reviewed by Sam Weinig.
523
524         Implement mouseDown, mouseUp, and mouseMoveTo in WebKitTestRunner
525         https://bugs.webkit.org/show_bug.cgi?id=57573
526
527         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
528         Added real definitions for mouseDown, mouseUp, mouseMoveTo and leapForward.
529         Removed fake definitions of keyDown and contextClick.
530
531         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
532         (WTR::operator==): Added. So we can compare two WKPoint structs.
533         (WTR::parseModifier): Added.
534         (WTR::parseModifierArray): Added.
535         (WTR::EventSendingController::EventSendingController): Initialize the
536         new data members.
537         (WTR::EventSendingController::mouseDown): Added. Calls
538         WKBundlePageSimulateMouseDown.
539         (WTR::EventSendingController::mouseUp): Added. Calls
540         WKBundlePageSimulateMouseUp.
541         (WTR::EventSendingController::mouseMoveTo): Added. Calls
542         WKBundlePageSimulateMouseMotion.
543         (WTR::EventSendingController::leapForward): Added.
544         (WTR::EventSendingController::updateClickCount): Added. Used by the
545         mouseDown/Up functions to create a click count.
546
547         * WebKitTestRunner/InjectedBundle/EventSendingController.h: Updated
548         for the changes above.
549
550 2011-03-31  Sergio Villar Senin  <svillar@igalia.com>
551
552         Reviewed by Martin Robinson.
553
554         [GTK] implement LayoutTestController::setWillSendRequestReturnsNull
555         https://bugs.webkit.org/show_bug.cgi?id=57362
556
557         Do not generate DRT output if willSendRequestReturnsNull is set.
558
559         * DumpRenderTree/gtk/DumpRenderTree.cpp:
560         (willSendRequestCallback):
561
562 2011-03-31  Vamshikrishna.Yellenki  <vamshi@motorola.com> and Alejandro G. Castro  <alex@igalia.com>
563
564         Reviewed by Martin Robinson.
565
566         Implement MiniBrowser for Gtk port.
567         https://bugs.webkit.org/show_bug.cgi?id=48512
568
569         Initial implementation of the Gtk MiniBrowser.
570
571         * MiniBrowser/gtk/GNUmakefile.am: Added.
572         * MiniBrowser/gtk/main.c: Added.
573         (activateUriEntryCallback):
574         (destroyCallback):
575         (goBackCallback):
576         (goForwardCallback):
577         (createToolbar):
578         (createWebView):
579         (createWindow):
580         (argumentToURL):
581         (main):
582
583 2011-03-30  Dominic Cooney  <dominicc@google.com>
584
585         Reviewed by Dimitri Glazkov.
586
587         Adds layoutTestController.shadowRoot accessor to Mac DRT.
588         https://bugs.webkit.org/show_bug.cgi?id=57415
589
590         * DumpRenderTree/LayoutTestController.cpp:
591         (shadowRootCallback):
592         (LayoutTestController::staticFunctions):
593         * DumpRenderTree/LayoutTestController.h:
594         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
595         (LayoutTestController::shadowRoot):
596         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
597         (LayoutTestController::shadowRoot):
598
599 2011-03-30  Matthew Delaney  <mdelaney@apple.com>
600
601         Reviewed by Chris Marrin.
602
603         Update fast/canvas tests to avoid dumping the render tree when possible
604         https://bugs.webkit.org/show_bug.cgi?id=57493
605
606         * DumpRenderTree/mac/DumpRenderTree.mm: Make DRT aware of new default values for
607           accelerated drawing and accelerated drawing for canvas
608
609 2011-03-30  Adam Roben  <aroben@apple.com>
610
611         Stop ignoring leaks in CGGradientCreateWithColorStops
612
613         Fixes <rdar://problem/7888547>.
614
615         Rubber-stamped by John Sullivan.
616
617         * Scripts/old-run-webkit-tests:
618         (countAndPrintLeaks): Removed some code to ignore those leaks.
619
620 2011-03-30  Timur Iskhodzhanov  <timurrrr@google.com>
621
622         Reviewed by Alexey Proskuryakov.
623
624         Add some dynamic annotations to JavaScriptCore/wtf
625         https://bugs.webkit.org/show_bug.cgi?id=53747
626
627         By using these annotations we can improve the precision of finding
628         WebKit errors using dynamic analysis tools like ThreadSanitizer and Valgrind.
629         These annotations don't affect the compiled binaries unless USE(DYNAMIC_ANNOTATIONS) is "1".
630
631         These files don't add new functionality, so don't need extra tests.
632
633         * DumpRenderTree/ForwardingHeaders/wtf/DynamicAnnotations.h: Added.
634
635 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
636
637         Reviewed by Adam Roben.
638
639         Share most vsprops between Release and Production builds in releaseproduction.vsprops
640         https://bugs.webkit.org/show_bug.cgi?id=57508
641
642         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops:
643         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginRelease.vsprops:
644         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseCairoCFLite.vsprops:
645         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops:
646         * DumpRenderTree/win/DumpRenderTreeRelease.vsprops:
647         * DumpRenderTree/win/DumpRenderTreeReleaseCairoCFLite.vsprops:
648         * DumpRenderTree/win/ImageDiffProduction.vsprops:
649         * DumpRenderTree/win/ImageDiffRelease.vsprops:
650         * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops:
651         * FindSafari/FindSafariProduction.vsprops:
652         * FindSafari/FindSafariRelease.vsprops:
653         * FindSafari/FindSafariReleaseCairoCFLite.vsprops:
654         * FindSafari/FindSafariReleasePGO.vsprops:
655         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops:
656         * MiniBrowser/Configurations/MiniBrowserRelease.vsprops:
657         * MiniBrowser/Configurations/MiniBrowserReleaseCairoCFLite.vsprops:
658         * TestWebKitAPI/Configurations/TestWebKitAPIRelease.vsprops:
659         * TestWebKitAPI/Configurations/TestWebKitAPIReleaseCairoCFLite.vsprops:
660         * WebKitAPITest/WebKitAPITestProduction.vsprops:
661         * WebKitAPITest/WebKitAPITestRelease.vsprops:
662         * WebKitAPITest/WebKitAPITestReleaseCairoCFLite.vsprops:
663         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops:
664         * WebKitLauncherWin/WebKitLauncherWinRelease.vsprops:
665         * WebKitLauncherWin/WebKitLauncherWinReleaseCairoCFLite.vsprops:
666         * WebKitTestRunner/win/InjectedBundleProduction.vsprops:
667         * WebKitTestRunner/win/InjectedBundleRelease.vsprops:
668         * WebKitTestRunner/win/InjectedBundleReleaseCairoCFLite.vsprops:
669         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops:
670         * WebKitTestRunner/win/WebKitTestRunnerRelease.vsprops:
671         * WebKitTestRunner/win/WebKitTestRunnerReleaseCairoCFLite.vsprops:
672         * WinLauncher/WinLauncherProduction.vsprops:
673         * WinLauncher/WinLauncherRelease.vsprops:
674         * WinLauncher/WinLauncherReleaseCairoCFLite.vsprops:
675         * record-memory-win/record-memory-winProduction.vsprops:
676         * record-memory-win/record-memory-winRelease.vsprops:
677         * record-memory-win/record-memory-winReleaseCairoCFLite.vsprops:
678
679 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
680
681         Reviewed by Adam Roben.
682
683         Update Windows production build logic for new production configurations
684         https://bugs.webkit.org/show_bug.cgi?id=57494
685
686         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops:
687         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops:
688         * DumpRenderTree/win/ImageDiffProduction.vsprops:
689         * FindSafari/FindSafariProduction.vsprops:
690         * FindSafari/FindSafariReleasePGO.vsprops:
691         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops:
692         * WebKitAPITest/WebKitAPITestProduction.vsprops:
693         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops:
694         * WebKitTestRunner/win/InjectedBundleProduction.vsprops:
695         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops:
696         * WinLauncher/WinLauncherProduction.vsprops:
697         * record-memory-win/record-memory-winProduction.vsprops:
698
699 2011-03-30  Robert Hogan  <robert@webkit.org>
700
701         Reviewed by Antonio Gomes.
702
703         [Qt] Fix LoadHTMLStringItem::invoke() after r75966
704         Unskip http/tests/navigation/go-back-to-error-page.html
705
706         Also add the location of DumpRenderTreeSupportQt.h
707         to DRT's include paths.
708
709         https://bugs.webkit.org/show_bug.cgi?id=52614
710
711         * DumpRenderTree/qt/DumpRenderTree.pro:
712         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
713         * DumpRenderTree/qt/DumpRenderTreeQt.h:
714         * DumpRenderTree/qt/GCControllerQt.cpp:
715         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
716         (LayoutTestController::queueLoadHTMLString):
717         * DumpRenderTree/qt/LayoutTestControllerQt.h:
718         * DumpRenderTree/qt/PlainTextControllerQt.cpp:
719         * DumpRenderTree/qt/TextInputControllerQt.cpp:
720         * DumpRenderTree/qt/WorkQueueItemQt.cpp:
721         (LoadAlternateHTMLStringItem::invoke):
722         * DumpRenderTree/qt/WorkQueueItemQt.h:
723         (LoadAlternateHTMLStringItem::LoadAlternateHTMLStringItem):
724         * QtTestBrowser/QtTestBrowser.pro:
725         * QtTestBrowser/launcherwindow.h:
726
727 2011-03-30  Adam Barth  <abarth@webkit.org>
728
729         Reviewed by Adam Roben.
730
731         SheriffBot rollouts take too long
732         https://bugs.webkit.org/show_bug.cgi?id=57498
733
734         We used to build before landing rollouts via the commit-queue to
735         prevent further breakage, but now that our individual commit-queue
736         machines are slower, building takes too long.  I can't remember the
737         last time a rollout broke compile.  It seems like just landing the
738         patch is the better trade-off.
739
740         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
741         * Scripts/webkitpy/tool/commands/queues_unittest.py:
742
743 2011-03-30  Adam Barth  <abarth@webkit.org>
744
745         Remove platform/chromium-mac-snowleopard
746         https://bugs.webkit.org/show_bug.cgi?id=57486
747
748         This directory no longer exists, so we can remove it from the fallback
749         chain.
750
751         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
752
753 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
754
755         Reviewed by Adam Roben.
756
757         Rename Windows configuration Release_LTCG to Production for clarity
758         https://bugs.webkit.org/show_bug.cgi?id=57465
759
760         * DumpRenderTree/DumpRenderTree.sln:
761         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
762         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops: Copied from Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops.
763         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops: Removed.
764         * DumpRenderTree/win/DumpRenderTree.vcproj:
765         * DumpRenderTree/win/DumpRenderTreeProduction.vsprops: Copied from Tools/DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops.
766         * DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops: Removed.
767         * DumpRenderTree/win/ImageDiff.vcproj:
768         * DumpRenderTree/win/ImageDiffProduction.vsprops: Copied from Tools/DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops.
769         * DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops: Removed.
770         * FindSafari/FindSafari.vcproj:
771         * FindSafari/FindSafariProduction.vsprops: Copied from Tools/FindSafari/FindSafariReleaseLTCG.vsprops.
772         * FindSafari/FindSafariReleaseLTCG.vsprops: Removed.
773         * MiniBrowser/Configurations/MiniBrowserProduction.vsprops: Copied from Tools/MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops.
774         * MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops: Removed.
775         * MiniBrowser/MiniBrowser.vcproj:
776         * Scripts/webkitdirs.pm:
777         * TestWebKitAPI/win/TestWebKitAPI.sln:
778         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
779         * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
780         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
781         * WebKitAPITest/WebKitAPITest.vcproj:
782         * WebKitAPITest/WebKitAPITestProduction.vsprops: Copied from Tools/WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops.
783         * WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops: Removed.
784         * WebKitLauncherWin/WebKitLauncherWin.vcproj:
785         * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops: Copied from Tools/WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops.
786         * WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops: Removed.
787         * WebKitTestRunner/WebKitTestRunner.sln:
788         * WebKitTestRunner/win/InjectedBundle.vcproj:
789         * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
790         * WebKitTestRunner/win/InjectedBundleProduction.vsprops: Copied from Tools/WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops.
791         * WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops: Removed.
792         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
793         * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops: Copied from Tools/WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops.
794         * WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops: Removed.
795         * WinLauncher/WinLauncher.vcproj:
796         * WinLauncher/WinLauncherProduction.vsprops: Copied from Tools/WinLauncher/WinLauncherReleaseLTCG.vsprops.
797         * WinLauncher/WinLauncherReleaseLTCG.vsprops: Removed.
798         * record-memory-win/record-memory-win.vcproj:
799         * record-memory-win/record-memory-winProduction.vsprops: Copied from Tools/record-memory-win/record-memory-winReleaseLTCG.vsprops.
800         * record-memory-win/record-memory-winReleaseLTCG.vsprops: Removed.
801
802 2011-03-30  MORITA Hajime  <morrita@google.com>
803
804         Reviewed by Dimitri Glazkov.
805
806         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
807         https://bugs.webkit.org/show_bug.cgi?id=56573
808
809         Added LayoutTestController.shadowRoot() to Chromium DRT.
810
811         * DumpRenderTree/chromium/LayoutTestController.cpp:
812         (LayoutTestController::LayoutTestController):
813         (LayoutTestController::shadowRoot):
814         * DumpRenderTree/chromium/LayoutTestController.h:
815
816 2011-03-30  Yuta Kitamura  <yutak@chromium.org>
817
818         Reviewed by Kent Tamura.
819
820         [Chromium] DumpRenderTree: Implement LayoutTestController::setPluginsEnabled
821         https://bugs.webkit.org/show_bug.cgi?id=57430
822
823         * DumpRenderTree/chromium/LayoutTestController.cpp:
824         (LayoutTestController::LayoutTestController):
825         (LayoutTestController::setPluginsEnabled):
826         * DumpRenderTree/chromium/LayoutTestController.h:
827
828 2011-03-30  Maciej Stachowiak  <mjs@apple.com>
829
830         Reviewed by Adam Barth.
831
832         make webkit-patch upload respect -d
833         https://bugs.webkit.org/show_bug.cgi?id=57425
834
835         * Scripts/webkitpy/common/checkout/scm.py:
836         * Scripts/webkitpy/tool/steps/commit.py:
837
838 2011-03-30  Maciej Stachowiak  <mjs@apple.com>
839
840         Reviewed by Adam Barth.
841
842         Make "webkit-patch --dry-run --verbose land" log the SVN command it's going to use
843         https://bugs.webkit.org/show_bug.cgi?id=57429
844
845         * Scripts/webkitpy/common/checkout/scm.py:
846
847 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
848
849         Unreviewed, rolling out r82383.
850         http://trac.webkit.org/changeset/82383
851         https://bugs.webkit.org/show_bug.cgi?id=57417
852
853         "nrwt isn't shutting down cleanly" (Requested by dpranke on
854         #webkit).
855
856         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
857         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
858         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
859
860 2011-03-29  Kent Tamura  <tkent@chromium.org>
861
862         Reviewed by Dimitri Glazkov.
863
864         Make validation message bubble testable
865         https://bugs.webkit.org/show_bug.cgi?id=57290
866
867         * DumpRenderTree/mac/DumpRenderTree.mm:
868         (createWebViewAndOffscreenWindow): Change a setting so that validation
869           bubbles isn't hidden automatically.
870
871 2011-03-29  Dirk Pranke  <dpranke@chromium.org>
872
873         Reviewed by Ojan Vafai.
874
875         new-run-webkit-tests: use 'threads' on win instead of 'old-threads'
876
877         It's a bit unclear whether multiple threads or multiple
878         processes will be a better model on windows. This change will
879         test threads for now while we're still working out the bugs in
880         multiple-processes.
881
882         https://bugs.webkit.org/show_bug.cgi?id=57410
883
884         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
885         * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
886         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
887
888 2011-03-29  David Levin  <levin@chromium.org>
889
890         Reviewed by Shinichiro Hamaji.
891
892         check-webkit-style confused by two ChangeLog entries in a row from same user
893         https://bugs.webkit.org/show_bug.cgi?id=57250
894
895         * Scripts/webkitpy/style/checker.py: Add the line should be checked function to ChangeLogChecker.
896         * Scripts/webkitpy/style/checker_unittest.py: Fix test due to that new function.
897         * Scripts/webkitpy/style/checkers/changelog.py: Made this code aware of what lines were being checked.
898           It basically assumes only one ChangeLog entry is being processed because that is the standard case and
899           checking more than that would be very messey.
900         * Scripts/webkitpy/style/checkers/changelog_unittest.py: Add testing to catch the broken case.
901         * Scripts/webkitpy/style/error_handlers.py: Added should_line_be_checked.
902
903 2011-03-29  Kent Tamura  <tkent@chromium.org>
904
905         Reviewed by Dimitri Glazkov.
906
907         [Mac] Enable interactive-validation tests on Mac DRT
908         https://bugs.webkit.org/show_bug.cgi?id=57308
909
910         * DumpRenderTree/mac/DumpRenderTree.mm:
911         (createWebViewAndOffscreenWindow): Enable the form interactive validation feature.
912
913 2011-03-29  Chang Shu  <cshu@webkit.org>
914
915         Reviewed by Kenneth Rohde Christiansen.
916
917         WebKitTestRunner needs layoutTestController.setAllowUniversalAccessFromFileURLs
918         https://bugs.webkit.org/show_bug.cgi?id=42692
919
920         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
921         (WTR::InjectedBundle::beginTesting):
922         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
923         (WTR::LayoutTestController::setAllowUniversalAccessFromFileURLs):
924         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
925
926 2011-03-24  Martin Robinson  <mrobinson@igalia.com>
927
928         Reviewed by Xan Lopez.
929
930         [GTK] [DRT] GtkScrolledWindow adds three pixels of padding between the WebView and the scrollbar
931         https://bugs.webkit.org/show_bug.cgi?id=57067
932
933         Eliminate extra spacing between the DRT GtkScrolledWindow and the DRT WebView. This
934         will allow WebKit1GTK+ and WebKit2GTK+ to share test results. Followup commits will
935         update DRT and pixel results as hundreds of results will need to be updated.
936
937         * DumpRenderTree/gtk/DumpRenderTree.cpp:
938         (setDefaultsToConsistentStateValuesForTesting): Eliminate spacing on the GtkScrolledWindow
939         by overriding the theme RC/CSS files.
940
941 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
942
943         Reviewed by Adam Roben.
944
945         Use per-configuration vsprops in tools projects to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
946         https://bugs.webkit.org/show_bug.cgi?id=57394
947
948         Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
949         InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
950         the IDE. To avoid this, add a separate vsprops file for each project configuration that
951         contains the required inherited property sheets.
952
953         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
954         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebug.vsprops: Added.
955         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebugAll.vsprops: Added.
956         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginDebugCairoCFLite.vsprops: Added.
957         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginRelease.vsprops: Added.
958         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseCairoCFLite.vsprops: Added.
959         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops: Added.
960         * DumpRenderTree/win/DumpRenderTree.vcproj:
961         * DumpRenderTree/win/DumpRenderTreeDebug.vsprops: Added.
962         * DumpRenderTree/win/DumpRenderTreeDebugAll.vsprops: Added.
963         * DumpRenderTree/win/DumpRenderTreeDebugCairoCFLite.vsprops: Added.
964         * DumpRenderTree/win/DumpRenderTreeRelease.vsprops: Added.
965         * DumpRenderTree/win/DumpRenderTreeReleaseCairoCFLite.vsprops: Added.
966         * DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops: Added.
967         * DumpRenderTree/win/ImageDiff.vcproj:
968         * DumpRenderTree/win/ImageDiffDebug.vsprops: Added.
969         * DumpRenderTree/win/ImageDiffDebugAll.vsprops: Added.
970         * DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops: Added.
971         * DumpRenderTree/win/ImageDiffRelease.vsprops: Added.
972         * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops: Added.
973         * DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops: Added.
974         * FindSafari/FindSafari.vcproj:
975         * FindSafari/FindSafariDebug.vsprops: Added.
976         * FindSafari/FindSafariDebugAll.vsprops: Added.
977         * FindSafari/FindSafariDebugCairoCFLite.vsprops: Added.
978         * FindSafari/FindSafariRelease.vsprops: Added.
979         * FindSafari/FindSafariReleaseCairoCFLite.vsprops: Added.
980         * FindSafari/FindSafariReleaseLTCG.vsprops: Added.
981         * FindSafari/FindSafariReleasePGO.vsprops: Added.
982         * MiniBrowser/Configurations/MiniBrowserDebug.vsprops: Added.
983         * MiniBrowser/Configurations/MiniBrowserDebugAll.vsprops: Added.
984         * MiniBrowser/Configurations/MiniBrowserDebugCairoCFLite.vsprops: Added.
985         * MiniBrowser/Configurations/MiniBrowserRelease.vsprops: Added.
986         * MiniBrowser/Configurations/MiniBrowserReleaseCairoCFLite.vsprops: Added.
987         * MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops: Added.
988         * MiniBrowser/MiniBrowser.vcproj:
989         * WebKitAPITest/WebKitAPITest.vcproj:
990         * WebKitAPITest/WebKitAPITestDebug.vsprops: Added.
991         * WebKitAPITest/WebKitAPITestDebugAll.vsprops: Added.
992         * WebKitAPITest/WebKitAPITestDebugCairoCFLite.vsprops: Added.
993         * WebKitAPITest/WebKitAPITestRelease.vsprops: Added.
994         * WebKitAPITest/WebKitAPITestReleaseCairoCFLite.vsprops: Added.
995         * WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops: Added.
996         * WebKitLauncherWin/WebKitLauncherWin.vcproj:
997         * WebKitLauncherWin/WebKitLauncherWinDebug.vsprops: Added.
998         * WebKitLauncherWin/WebKitLauncherWinDebugAll.vsprops: Added.
999         * WebKitLauncherWin/WebKitLauncherWinDebugCairoCFLite.vsprops: Added.
1000         * WebKitLauncherWin/WebKitLauncherWinRelease.vsprops: Added.
1001         * WebKitLauncherWin/WebKitLauncherWinReleaseCairoCFLite.vsprops: Added.
1002         * WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops: Added.
1003         * WebKitTestRunner/win/InjectedBundle.vcproj:
1004         * WebKitTestRunner/win/InjectedBundleDebug.vsprops: Added.
1005         * WebKitTestRunner/win/InjectedBundleDebugAll.vsprops: Added.
1006         * WebKitTestRunner/win/InjectedBundleDebugCairoCFLite.vsprops: Added.
1007         * WebKitTestRunner/win/InjectedBundleRelease.vsprops: Added.
1008         * WebKitTestRunner/win/InjectedBundleReleaseCairoCFLite.vsprops: Added.
1009         * WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops: Added.
1010         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1011         * WebKitTestRunner/win/WebKitTestRunnerDebug.vsprops: Added.
1012         * WebKitTestRunner/win/WebKitTestRunnerDebugAll.vsprops: Added.
1013         * WebKitTestRunner/win/WebKitTestRunnerDebugCairoCFLite.vsprops: Added.
1014         * WebKitTestRunner/win/WebKitTestRunnerRelease.vsprops: Added.
1015         * WebKitTestRunner/win/WebKitTestRunnerReleaseCairoCFLite.vsprops: Added.
1016         * WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops: Added.
1017         * WinLauncher/WinLauncher.vcproj:
1018         * WinLauncher/WinLauncherDebug.vsprops: Added.
1019         * WinLauncher/WinLauncherDebugAll.vsprops: Added.
1020         * WinLauncher/WinLauncherDebugCairoCFLite.vsprops: Added.
1021         * WinLauncher/WinLauncherRelease.vsprops: Added.
1022         * WinLauncher/WinLauncherReleaseCairoCFLite.vsprops: Added.
1023         * WinLauncher/WinLauncherReleaseLTCG.vsprops: Added.
1024         * record-memory-win/record-memory-win.vcproj:
1025         * record-memory-win/record-memory-winDebug.vsprops: Added.
1026         * record-memory-win/record-memory-winDebugAll.vsprops: Added.
1027         * record-memory-win/record-memory-winDebugCairoCFLite.vsprops: Added.
1028         * record-memory-win/record-memory-winRelease.vsprops: Added.
1029         * record-memory-win/record-memory-winReleaseCairoCFLite.vsprops: Added.
1030         * record-memory-win/record-memory-winReleaseLTCG.vsprops: Added.
1031
1032 2011-03-29  Adam Barth  <abarth@webkit.org>
1033
1034         Reviewed by Darin Adler.
1035
1036         test_runner2.py can crash due to undefined variable
1037         https://bugs.webkit.org/show_bug.cgi?id=57356
1038
1039         Replace reference to undefined variable with a variable that's actually
1040         defined.  AFAICT, there's no way to test this code.
1041
1042         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
1043
1044 2011-03-29  Tony Chang  <tony@chromium.org>
1045
1046         Reviewed by Eric Seidel.
1047
1048         cleanup rebaseline-chromium-webkit-tests
1049         https://bugs.webkit.org/show_bug.cgi?id=57375
1050
1051         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
1052             - Split _extract_and_add_new_baselines into 3 functions
1053             - Reduce the amount of line wrapping (the file already has lines
1054               over 80 col, so may as well try to make the file consistent)
1055             - Remove unnecessary ()s
1056
1057 2011-03-29  Brent Fulgham  <bfulgham@webkit.org>
1058
1059         Reviewed by Adam Roben.
1060
1061         Make WinCairo a core builder.
1062         https://bugs.webkit.org/show_bug.cgi?id=57373
1063
1064         * Scripts/webkitpy/common/net/buildbot/buildbot.py: Add WinCairo.
1065         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: Add WinCairo.
1066
1067 2011-03-29  Timothy Hatcher  <timothy@apple.com>
1068
1069         Update update-webkit-localizable-strings to understand that WebKit and
1070         WebKit2 strings go in WebCore.
1071
1072         Also make extract-localizable-strings optionally use an exclude file. No individual
1073         warnings are produced about unlocalized strings when there is no exclude file. This
1074         is needed for WebCore, since there are too many bare strings.
1075
1076         https://webkit.org/b/57354
1077
1078         Reviewed by Sam Weinig.
1079
1080         * Scripts/extract-localizable-strings: Support "-" to mean no exclude file.
1081         * Scripts/update-webkit-localizable-strings: Update paths to scan WebCore and WebKit2.
1082
1083 2011-03-29  Darin Adler  <darin@apple.com>
1084
1085         Reviewed by Adam Roben.
1086
1087         WebKit2 bundle page needs to offer generated file hooks
1088         https://bugs.webkit.org/show_bug.cgi?id=57279
1089
1090         (Land missing part of the original patch after r82289.)
1091
1092         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1093         (WTR::InjectedBundlePage::InjectedBundlePage): Added new callbacks.
1094
1095 2011-03-29  Tony Chang  <tony@chromium.org>
1096
1097         Reviewed by Ojan Vafai.
1098
1099         [chromium] NRWT should be able to read checksums from png comments
1100         https://bugs.webkit.org/show_bug.cgi?id=57280
1101
1102         * Scripts/read-checksum-from-png: Added. Utility script to read the checksum
1103             from a file.
1104         * Scripts/webkitpy/common/system/filesystem.py: Add open_binary_file_for_reading
1105         * Scripts/webkitpy/common/system/filesystem_mock.py:
1106         * Scripts/webkitpy/layout_tests/port/base.py: When loading a checksum,
1107             if the -checksum.txt file doesn't exist, try looking in the png.
1108         * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
1109         * Scripts/webkitpy/layout_tests/port/test.py:
1110         * Scripts/webkitpy/layout_tests/read_checksum_from_png.py: Added. Scan the first
1111             2k for a png comment with the checksum
1112         * Scripts/webkitpy/layout_tests/read_checksum_from_png_unittest.py: Added.
1113
1114 2011-03-29  Philippe Normand  <pnormand@igalia.com>
1115
1116         Rubber-stamped by Gustavo Noronha Silva.
1117
1118         [GTK] http/tests/uri/username-with-no-hostname.html fails
1119         https://bugs.webkit.org/show_bug.cgi?id=57325
1120
1121         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1122         (willSendRequestCallback): URI host value check done case-insensitively.
1123
1124 2011-03-29  Philippe Normand  <pnormand@igalia.com>
1125
1126         Reviewed by Martin Robinson.
1127
1128         [GTK] http/tests/uri/username-with-no-hostname.html fails
1129         https://bugs.webkit.org/show_bug.cgi?id=57325
1130
1131         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1132         (willSendRequestCallback): Check URI before submitting the request
1133         to WebCore.
1134
1135 2011-03-29  Noel Gordon  <noel.gordon@gmail.com>
1136
1137         Reviewed by Ojan Vafai.
1138
1139         [chromium] DRT EventSender: remove identity from dragTargetDragEnter() calls
1140         https://bugs.webkit.org/show_bug.cgi?id=57303
1141
1142         * DumpRenderTree/chromium/EventSender.cpp:
1143         (EventSender::doDragDrop):
1144         (EventSender::beginDragWithFiles):
1145
1146 2011-03-29  Zoltan Horvath  <zoltan@webkit.org>
1147
1148         Reviewed by Andreas Kling.
1149
1150         [Qt] Add -print-loaded-urls option to Qt's MiniBrowser and to QtTestBrowser
1151         https://bugs.webkit.org/show_bug.cgi?id=57314
1152
1153         Provide possibility to print loaded urls to the standard output.
1154
1155         * MiniBrowser/qt/BrowserWindow.cpp:
1156         (BrowserWindow::BrowserWindow):
1157         (BrowserWindow::printURL):
1158         * MiniBrowser/qt/BrowserWindow.h:
1159         * MiniBrowser/qt/MiniBrowserApplication.cpp:
1160         (MiniBrowserApplication::handleUserOptions):
1161         * MiniBrowser/qt/MiniBrowserApplication.h:
1162         (WindowOptions::WindowOptions):
1163         * QtTestBrowser/launcherwindow.cpp:
1164         (LauncherWindow::initializeView):
1165         (LauncherWindow::printURL):
1166         (LauncherWindow::cloneWindow):
1167         * QtTestBrowser/launcherwindow.h:
1168         (WindowOptions::WindowOptions):
1169         * QtTestBrowser/main.cpp:
1170         (LauncherApplication::handleUserOptions):
1171
1172 2011-03-29  Gabor Loki  <loki@webkit.org>
1173
1174         Rubber-stamped by Csaba Osztrogonác.
1175
1176         [Qt] Teach build-jsc how to build JavaScriptCore on Qt
1177         https://bugs.webkit.org/show_bug.cgi?id=56918
1178
1179         * Scripts/build-jsc: Remove duplicated --qt options to avoid passing them to qmake.
1180
1181 2011-03-28  Gabor Loki  <loki@webkit.org>
1182
1183         Reviewed by Csaba Osztrogonác.
1184
1185         [Qt] Teach build-jsc how to build JavaScriptCore on Qt
1186         https://bugs.webkit.org/show_bug.cgi?id=56918
1187
1188         * Scripts/build-jsc:
1189         * Scripts/webkitdirs.pm:
1190
1191 2011-03-28  Andrew Foster  <andrewf@chromium.org>
1192
1193         Reviewed by Ojan Vafai.
1194
1195         webkit-patch should be more intelligent about whether a bug applies to a patch
1196         Create a new function, parse_bug_id_from_changelog() which determines
1197         that a bug is related to a patch by parsing the output generated from
1198         prepare-ChangeLog, rather than arbitrarily matching a URL to a bug in
1199         the description of a patch.
1200         https://bugs.webkit.org/show_bug.cgi?id=56989
1201
1202         * Scripts/webkitpy/common/checkout/api.py:
1203         * Scripts/webkitpy/common/checkout/changelog.py:
1204         * Scripts/webkitpy/common/net/bugzilla/__init__.py:
1205         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1206         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
1207         * Scripts/webkitpy/style/checkers/changelog.py:
1208         * Scripts/webkitpy/tool/commands/upload.py:
1209
1210 2011-03-28  Maciej Stachowiak  <mjs@apple.com>
1211
1212         Revert accidentally commited change.
1213
1214         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1215         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1216
1217 2011-03-28  Tony Chang  <tony@chromium.org>
1218
1219         Reviewed by Adam Barth.
1220
1221         [chromium] have DRT write the png checksum into a png comment
1222         https://bugs.webkit.org/show_bug.cgi?id=57255
1223
1224         * DumpRenderTree/chromium/TestShell.cpp:
1225         (TestShell::dumpImage):
1226
1227 2011-03-28  Adele Peterson  <adele@apple.com>
1228
1229         Removing Qt stub, since it doesn't use the same header as the others.
1230
1231         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1232
1233 2011-03-28  Adele Peterson  <adele@apple.com>
1234
1235         Added a few more stubs.
1236
1237         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1238         (LayoutTestController::hasGrammarMarker):
1239         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1240         (LayoutTestController::hasGrammarMarker):
1241         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1242         (LayoutTestController::hasGrammarMarker):
1243
1244 2011-03-28  Adele Peterson  <adele@apple.com>
1245
1246         Build fix.
1247
1248         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1249         (LayoutTestController::hasGrammarMarker):
1250
1251 2011-03-28  Adele Peterson  <adele@apple.com>
1252
1253         Reviewed by Eric Seidel.
1254
1255         Testing support for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type
1256         https://bugs.webkit.org/show_bug.cgi?id=57173
1257
1258         * DumpRenderTree/LayoutTestController.cpp:
1259         (hasGrammarMarkerCallback): Added.
1260         (LayoutTestController::staticFunctions): Added case for hasGrammarMarker.
1261         * DumpRenderTree/LayoutTestController.h:
1262         * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): Call setGrammarCheckingEnabled.
1263         * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::hasGrammarMarker): Added. Call new hasGrammarMarker method.
1264
1265 2011-03-28  Csaba Osztrogonác  <ossy@webkit.org>
1266
1267         Reviewed by Benjamin Poulain.
1268
1269         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
1270         https://bugs.webkit.org/show_bug.cgi?id=57087
1271
1272         Trivial typo fix after r82082.
1273
1274         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
1275         (WTR::activateFonts):
1276
1277 2011-03-28  Alexis Menard  <alexis.menard@openbossa.org>
1278
1279         Reviewed by Andreas Kling.
1280
1281         Add myself to the committers list.
1282
1283         * Scripts/webkitpy/common/config/committers.py:
1284
1285 2011-03-28  Simon Fraser  <simon.fraser@apple.com>
1286
1287         Reviewed by Sam Weinig.
1288
1289         WebKit2 unfortunately uses code from WebKit, so MiniBrowser needs
1290         to link against WebKit.framework for now.
1291
1292         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1293
1294 2011-03-28  Benjamin Poulain  <benjamin.poulain@nokia.com>
1295
1296         Reviewed by Andreas Kling.
1297
1298         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
1299         https://bugs.webkit.org/show_bug.cgi?id=57087
1300
1301         Disable QT_ASCII_CAST_WARNINGS for applications.
1302
1303         * DumpRenderTree/qt/DumpRenderTree.pro:
1304         * DumpRenderTree/qt/ImageDiff.pro:
1305         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1306         * MiniBrowser/qt/MiniBrowser.pro:
1307         * QtTestBrowser/QtTestBrowser.pro:
1308         * WebKitTestRunner/qt/WebKitTestRunner.pro:
1309
1310 2011-03-28  Andreas Kling  <kling@webkit.org>
1311
1312         Reviewed by Kenneth Rohde Christiansen.
1313
1314         [Qt] QtTestBrowser doesn't reset its window title when opening about:blank
1315         https://bugs.webkit.org/show_bug.cgi?id=57224
1316
1317         * QtTestBrowser/mainwindow.cpp:
1318         (MainWindow::buildUI):
1319         (MainWindow::onTitleChanged):
1320         * QtTestBrowser/mainwindow.h:
1321
1322 2011-03-27  Jer Noble  <jer.noble@apple.com>
1323
1324         Reviewed by Maciej Stachowiak.
1325
1326         Full Screen: disable keyboard access by default
1327         https://bugs.webkit.org/show_bug.cgi?id=56684
1328
1329         Accept the withKeyboard parameter to supportsFullScreenForElement.
1330
1331         * DumpRenderTree/mac/UIDelegate.mm:
1332         (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]):
1333
1334 2011-03-27  Patrick Gansterer  <paroga@webkit.org>
1335
1336         Reviewed by David Levin.
1337
1338         check-webkit-style should check ChangeLog for a valid bug number
1339         https://bugs.webkit.org/show_bug.cgi?id=57184
1340
1341         * Scripts/webkitpy/style/checker.py:
1342         * Scripts/webkitpy/style/checker_unittest.py:
1343         * Scripts/webkitpy/style/checkers/changelog.py: Added.
1344         * Scripts/webkitpy/style/checkers/changelog_unittest.py: Added.
1345
1346 2011-03-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
1347
1348         Reviewed by Andreas Kling.
1349
1350         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
1351         https://bugs.webkit.org/show_bug.cgi?id=57087
1352
1353         Use explicit conversion for string to avoid depending on the default codec
1354         installed by the user code.
1355
1356         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
1357         (WTR::activateFonts):
1358
1359 2011-03-26  Maciej Stachowiak  <mjs@apple.com>
1360
1361         Revert inadvertantly committed changes.
1362
1363         * Scripts/old-run-webkit-tests:
1364         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1365
1366 2011-03-26  Andreas Kling  <kling@webkit.org>
1367
1368         Reviewed by Kenneth Rohde Christiansen.
1369
1370         [Qt] Show page icons (favicons) in QtTestBrowser location bar.
1371         https://bugs.webkit.org/show_bug.cgi?id=57162
1372
1373         * QtTestBrowser/QtTestBrowser.qrc:
1374         * QtTestBrowser/favicon.png: Added.
1375         * QtTestBrowser/locationedit.cpp:
1376         (defaultPageIcon):
1377         (LocationEdit::LocationEdit):
1378         (LocationEdit::setPageIcon):
1379         (LocationEdit::resizeEvent):
1380         (LocationEdit::updateInternalGeometry):
1381         * QtTestBrowser/locationedit.h:
1382         * QtTestBrowser/mainwindow.cpp:
1383         (MainWindow::buildUI):
1384         (MainWindow::onIconChanged):
1385         (MainWindow::onLoadStarted):
1386         * QtTestBrowser/mainwindow.h:
1387
1388 2011-03-23  Martin Robinson  <mrobinson@igalia.com>
1389
1390         Reviewed by Xan Lopez.
1391
1392         [GTK] Force DumpRenderTree to use 96 DPI
1393         https://bugs.webkit.org/show_bug.cgi?id=56866
1394
1395         Make sure that GTK+ is set to use 96 DPI when running tests. This ensures
1396         broader compatibility with WebKit2 and makes setting font sizes more straightforward.
1397
1398         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1399         (initializeGtkFontSettings): Set the screen resolution and GTK+ xft property to 96 DPI.
1400         (resetDefaultsToConsistentValues):Remove the call which repeatedly set the GDK screen resolution.
1401         (setDefaultsToConsistentStateValuesForTesting): Update the font sizes to reflect the new DPI.
1402
1403 2011-03-25  Andy Estes  <aestes@apple.com>
1404
1405         Reviewed by Adele Peterson.
1406
1407         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1408         https://bugs.webkit.org/show_bug.cgi?id=49016
1409
1410         TestNetscapePlugIn needs to register support for an image MIME type so
1411         we can test that the embed tag prefers plug-ins to render image MIME
1412         types.
1413
1414         * DumpRenderTree/TestNetscapePlugIn/mac/Info.plist: Register image/png.
1415         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1416         (NP_GetMIMEDescription): Ditto.
1417         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Ditto.
1418
1419 2011-03-25  Jessie Berlin  <jberlin@apple.com>
1420
1421         Reviewed by Sam Weinig.
1422
1423         WebKit2: Need to be able to set and get the Cookie Storage Policy.
1424         https://bugs.webkit.org/show_bug.cgi?id=50780
1425
1426         Add a test for getting and setting the HTTP Cookie Accept Policy in WebKit2.
1427
1428         The test is named "CookieManager" so that we can eventually exercise more of the
1429         CookieManager functionality in the test.
1430
1431         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp: Added.
1432         (TestWebKitAPI::didGetTestHTTPCookieAcceptPolicy):
1433         Assert that the policy returned is equal to the policy set in
1434         didGetUserHTTPCookieAcceptPolicy, and then restore the user's policy.
1435         (TestWebKitAPI::didGetUserHTTPCookieAcceptPolicy):
1436         Set the policy to something different than the user's policy and get the policy again.
1437         (TestWebKitAPI::didFinishLoadForFrame):
1438         Get the user's policy so that it can be restored at the end of the test.
1439         (TestWebKitAPI::TEST):
1440         Load about:blank so that the Web Process gets instatiated (needed to get the
1441         CookieManager).
1442
1443         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1444         Add CookieManager.cpp.
1445
1446 2011-03-24  Kevin Ollivier  <kevino@theolliviers.com>
1447
1448         [wx] Fix the build so that gcc-4.1 and up can be used to build on SnowLeopard.
1449
1450         * wx/build/settings.py:
1451
1452 2011-03-24  Ilya Sherman  <isherman@chromium.org>
1453
1454         Reviewed by Adam Roben.
1455
1456         Implement layoutTestController.setAutoFilled in DRT on Windows
1457         https://bugs.webkit.org/show_bug.cgi?id=56828
1458
1459         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1460         (LayoutTestController::setAutofilled): Implemented.
1461
1462 2011-03-24  Brent Fulgham  <bfulgham@webkit.org>
1463
1464         Unreviewed build correction.
1465
1466         Correct vsprops file for Debug variant of the CFLite build.
1467         Disable a CFNETWORK-specific test when building for CFLite.
1468
1469         * TestWebKitAPI/Configurations/TestWebKitAPIDebugCairoCFLite.vsprops:
1470         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1471
1472 2011-03-24  Dirk Pranke  <dpranke@chromium.org>
1473
1474         Reviewed by Adam Barth.
1475
1476         fix regressions introduced in 81908 - there were a couple of
1477         code paths that only fired under python 2.5 that I missed.
1478
1479         Also change a couple of 'python' references to sys.executable
1480         in order to handle runing test-webkitpy with a binary other than
1481         something called 'python'.
1482
1483         https://bugs.webkit.org/show_bug.cgi?id=57063
1484
1485         * Scripts/webkitpy/layout_tests/port/mac.py:
1486         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
1487         * Scripts/webkitpy/test/cat.py:
1488         * Scripts/webkitpy/test/echo.py:
1489
1490 2011-03-24  Brent Fulgham  <bfulgham@webkit.org>
1491
1492         Unreviewed build correction.
1493
1494         Add a stub implementation of the TestInvocation dumping logic.
1495         Update project files to reflect new file.
1496
1497         * WebKitTestRunner/cairo: Added.
1498         * WebKitTestRunner/cairo/TestInvocationCairo.cpp: Added.
1499         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1500         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1501
1502 2011-03-24  Dirk Pranke  <dpranke@chromium.org>
1503
1504         Reviewed by Tony Chang.
1505
1506         new-run-webkit-tests: clean up worker model defaults. This
1507         changes the default behavior to 'threads' instead of
1508         'old-threads', and clarifies that chromium-win-* and
1509         chromium-mac-leopard are exceptions.
1510
1511         https://bugs.webkit.org/show_bug.cgi?id=56971
1512
1513         * Scripts/webkitpy/layout_tests/port/base.py:
1514         * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
1515         * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
1516         * Scripts/webkitpy/layout_tests/port/chromium_win.py:
1517         * Scripts/webkitpy/layout_tests/port/test.py:
1518         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1519
1520 2011-03-23  Leandro Gracia Gil  <leandrogracia@chromium.org>
1521
1522         Reviewed by Darin Adler.
1523
1524         Media Stream API: fix the order of the options in build-webkit.
1525         https://bugs.webkit.org/show_bug.cgi?id=56949
1526
1527         Fix the order of the options in build-webkit.
1528
1529         * Scripts/build-webkit:
1530
1531 2011-03-23  Adam Klein  <adamk@chromium.org>
1532
1533         Reviewed by Mihai Parparita.
1534
1535         Add an option to new-run-webkit-httpd to allow overriding the location of LayoutTests directory
1536         https://bugs.webkit.org/show_bug.cgi?id=56884
1537
1538         This option will be utilized by Chromium's ui_tests to allow
1539         referencing js-test-resources from a layout test over HTTP.
1540
1541         * Scripts/new-run-webkit-httpd:
1542         Added --layout_tests_dir option.
1543         * Scripts/webkitpy/layout_tests/port/http_server.py:
1544         Plumbed through as layout_tests_dir param.
1545
1546 2011-03-23  Dirk Pranke  <dpranke@chromium.org>
1547
1548         Reviewed by Mihai Parparita.
1549
1550         new-run-webkit-tests: run tests in ascending alphabetical order per
1551         dir. This is a second attempt at the fix; the first attempt, in 
1552         r81597, broke the behavior on the old-inline and old-threads
1553         worker models.
1554
1555         https://bugs.webkit.org/show_bug.cgi?id=56760
1556
1557         * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1558         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1559         * Scripts/webkitpy/layout_tests/port/test.py:
1560         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1561
1562 2011-03-23  Mario Sanchez Prada  <msanchez@igalia.com>
1563
1564         Reviewed by Martin Robinson.
1565
1566         [GTK] GTK's DRT to ouput detail's string for the 'property-change' signal
1567         https://bugs.webkit.org/show_bug.cgi?id=56953
1568
1569         Print the string for the detail of 'property-change' signal.
1570
1571         * DumpRenderTree/gtk/AccessibilityCallbacks.cpp:
1572         (axObjectEventListener): Print the detail string.
1573
1574 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
1575
1576         Reviewed by Pavel Feldman.
1577
1578         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
1579         https://bugs.webkit.org/show_bug.cgi?id=56843
1580
1581         * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
1582         * DumpRenderTree/chromium/DRTDevToolsAgent.h:
1583
1584 2011-03-22  Eric Seidel  <eric@webkit.org>
1585
1586         Reviewed by Adam Barth.
1587
1588         Teach update-webkit about gyp
1589         https://bugs.webkit.org/show_bug.cgi?id=56881
1590
1591         This makes it possible for someone who builds from Xcode
1592         to just run update-webkit --gyp and have the project files
1593         generated after update automatically.
1594
1595         I also added a stand-alone "generate-project-files" script
1596         wrapping Source/gyp/configure.  This makes running gyp simpler
1597         since most people will not have gyp or Source/gyp in their path.
1598
1599         * Scripts/build-webkit:
1600         * Scripts/generate-project-files: Added.
1601         * Scripts/update-webkit:
1602
1603 2011-03-22  Anton D'Auria  <adauria@apple.com>
1604
1605         Reviewed by Alexey Proskuryakov.
1606
1607         Add +[WebApplicationCache getOriginsWithCache]
1608         https://bugs.webkit.org/show_bug.cgi?id=56722
1609
1610         * DumpRenderTree/LayoutTestController.cpp:
1611         (originsWithApplicationCacheCallback):
1612         (LayoutTestController::staticFunctions):
1613         * DumpRenderTree/LayoutTestController.h:
1614         * DumpRenderTree/chromium/LayoutTestController.cpp: Added stub.
1615         (LayoutTestController::originsWithApplicationCache):
1616         * DumpRenderTree/chromium/LayoutTestController.h:
1617         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added stub.
1618         (LayoutTestController::originsWithApplicationCache):
1619         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Pass array of origin's database identifiers.
1620         (originsArrayToJS): Helper function for converting array of WebSecurityOrigins to a JS array of origin identifiers.
1621         (LayoutTestController::originsWithApplicationCache):
1622         (LayoutTestController::originsWithLocalStorage):
1623         * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added stub.
1624         (LayoutTestController::originsWithApplicationCache):
1625         * DumpRenderTree/qt/LayoutTestControllerQt.h:
1626         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added stub.
1627         (LayoutTestController::originsWithApplicationCache):
1628         * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added stub.
1629         (LayoutTestController::originsWithApplicationCache):
1630
1631 2011-03-22  Eric Seidel  <eric@webkit.org>
1632
1633         Reviewed by Adam Barth.
1634
1635         Add support to build-webkit for building with gyp-generated project files
1636         https://bugs.webkit.org/show_bug.cgi?id=56877
1637
1638         build-webkit is a cesspool.  This change just hacks in --gyp support for Mac.
1639         Eventually we'll want to support gyp-generated projects in a more general manner.
1640
1641         * Scripts/build-webkit:
1642
1643 2011-03-22  David Kilzer  <ddkilzer@apple.com>
1644
1645         <http://webkit.org/b/56781> Add --dsym switch to enable dsym generation when building with Xcode
1646
1647         Reviewed by Joseph Pecoraro.
1648
1649         * Scripts/build-webkit: Updated usage statement to include
1650         --dsym.
1651         * Scripts/webkitdirs.pm: Added $generateDsym variable.
1652         (generateDsym): Added. Call determineGenerateDsym() and
1653         return $generateDsym.
1654         (determineGenerateDsym): Added.  Parse @ARGV for --dsym and set
1655         $generateDsym.
1656         (argumentsForXcode): Added.  Returns additional arguments for
1657         xcodebuild based on command-line switches.
1658         (XcodeOptions): Updated to include argumentsForXcode() in the
1659         array returned.
1660
1661 2011-03-22  Adam Roben  <aroben@apple.com>
1662
1663         Make Leopard Debug bots and Windows XP Debug (Tests) core builders
1664
1665         These bots are consistently green again.
1666
1667         Fixes <http://webkit.org/b/56830> Leopard Debug bots and Windows XP Debug (Tests) should be
1668         core builders
1669
1670         Rubber-stamped by Antti Koivisto.
1671
1672         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
1673         (BuildBot.__init__): Loosened the regexps for Leopard and Windows.
1674
1675         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
1676         (BuildBotTest.test_builder_name_regexps): Updated expectations.
1677
1678 2011-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1679
1680         Unreviewed, rolling out r81597.
1681         http://trac.webkit.org/changeset/81597
1682         https://bugs.webkit.org/show_bug.cgi?id=56801
1683
1684         Change results in lots of unexpected flaky on the dashboard.
1685         (Requested by pfeldman on #webkit).
1686
1687         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1688         * Scripts/webkitpy/layout_tests/port/test.py:
1689         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1690
1691 2011-03-21  Sam Weinig  <sam@webkit.org>
1692
1693         Fix failing tests on the WebKit2 bots.
1694
1695         * WebKitTestRunner/TestController.cpp:
1696         (WTR::TestController::resetStateToConsistentValues):
1697
1698 2011-03-21  Daniel Sievers  <sievers@google.com>
1699
1700         Reviewed by Simon Fraser.
1701
1702         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
1703         https://bugs.webkit.org/show_bug.cgi?id=56139
1704
1705         * DumpRenderTree/chromium/DumpRenderTree.cpp:
1706         (main):
1707         * DumpRenderTree/chromium/LayoutTestController.cpp:
1708         (LayoutTestController::LayoutTestController):
1709         (LayoutTestController::layerTreeAsText):
1710         * DumpRenderTree/chromium/LayoutTestController.h:
1711         (LayoutTestController::setShowDebugLayerTree):
1712         * DumpRenderTree/chromium/TestShell.cpp:
1713         (TestShell::runFileTest):
1714         (TestShell::dump):
1715         * DumpRenderTree/chromium/TestShell.h:
1716         (TestParams::TestParams):
1717
1718 2011-03-21  Adam Roben  <aroben@apple.com>
1719
1720         Try again to get buildbot to show run-javascriptcore-tests's actual.html as an HTML file
1721
1722         Fixes <http://webkit.org/b/56746> build.webkit.org shows run-javascriptcore-tests's HTML
1723         output as plain text
1724
1725         Reviewed by David Kilzer.
1726
1727         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1728         (RunJavaScriptCoreTests): List actual.html as one of our log files so it will get uploaded
1729         to the master.
1730         (RunJavaScriptCoreTests.commandComplete): Reading the actual.html file here won't work,
1731         since we're running on the build master, not the slave. Instead, turn the raw source of
1732         actual.html which the build slave uploaded into an HTML log.
1733
1734 2011-03-21  Dirk Pranke  <dpranke@chromium.org>
1735
1736         Reviewed by Mihai Parparita.
1737
1738         new-run-webkit-tests: run tests in ascending alphabetical order per dir
1739         https://bugs.webkit.org/show_bug.cgi?id=56760
1740
1741         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
1742         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1743         * Scripts/webkitpy/layout_tests/port/test.py:
1744
1745 2011-03-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
1746
1747         Reviewed by Steve Block.
1748
1749         Media Stream API patch 0: adding compilation guards.
1750         https://bugs.webkit.org/show_bug.cgi?id=56458
1751
1752         Adding options to enable the media stream API feature in Chromium.
1753
1754         * Scripts/build-webkit:
1755
1756 2011-03-21  Qi Zhang  <qi.2.zhang@nokia.com>
1757
1758         Reviewed by Laszlo Gombos.
1759
1760         [Qt] Add a command line option to capture stdout and stderr for DumpRenderTree
1761         https://bugs.webkit.org/show_bug.cgi?id=56323
1762
1763         Using freopen to redirect STDOUT and STDERR when DumpRenderTree command line provide 
1764         "--stdout" or "--stderr" option.
1765
1766         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1767         (WebCore::DumpRenderTree::~DumpRenderTree):
1768         (WebCore::DumpRenderTree::processArgsLine):
1769         (WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
1770         * DumpRenderTree/qt/DumpRenderTreeQt.h:
1771         (WebCore::DumpRenderTree::setRedirectOutputFileName):
1772         (WebCore::DumpRenderTree::setRedirectErrorFileName):
1773         * DumpRenderTree/qt/main.cpp:
1774         (isOption):
1775         (takeOptionValue):
1776         (printUsage):
1777         (main):
1778
1779 2011-03-21  Adam Roben  <aroben@apple.com>
1780
1781         Fix exceptions on the buildbot due to my last change
1782
1783         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1784         (RunJavaScriptCoreTests.commandComplete): Catch exceptions due to actual.html not existing.
1785
1786 2011-03-21  Adam Roben  <aroben@apple.com>
1787
1788         Teach buildbot to treat run-javascriptcore-tests's actual.html as an HTML file
1789
1790         Fixes <http://webkit.org/b/56746> build.webkit.org shows run-javascriptcore-tests's HTML
1791         output as plain text
1792
1793         Reviewed by Darin Adler.
1794
1795         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1796         (RunJavaScriptCoreTests): Removed the logfiles variable, which can only handle plaintext
1797         logs.
1798         (RunJavaScriptCoreTests.commandComplete): Use the addHTMLLog method to upload actual.html to
1799         the build master. This will correctly treat it as HTML.
1800
1801 2011-03-20  Bill Budge  <bbudge@chromium.org>
1802
1803         Reviewed by Adam Barth.
1804
1805         Rename ThreadSafeShared to ThreadSafeRefCounted
1806         https://bugs.webkit.org/show_bug.cgi?id=56714
1807
1808         No new tests. Exposes no new functionality.
1809
1810         * DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeRefCounted.h: Copied from DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h.
1811         * DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h: Removed.
1812         * Scripts/do-webcore-rename:
1813
1814 2011-03-19  Anton D'Auria  <adauria@apple.com>
1815
1816         Reviewed by Dan Bernstein.
1817
1818         Add stub to LayoutTestControllerGtk.cpp to fix GTK build
1819         https://bugs.webkit.org/show_bug.cgi?id=56719
1820
1821         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Adding stub.
1822         (LayoutTestController::clearApplicationCacheForOrigin):
1823
1824 2011-03-19  Anton D'Auria  <adauria@apple.com>
1825
1826         Reviewed by Alexey Proskuryakov.
1827
1828         ApplicationCacheGroup is not obsolete after being deleted via ApplicationCacheStorage::deleteEntriesForOrigin
1829         https://bugs.webkit.org/show_bug.cgi?id=56415
1830
1831         * DumpRenderTree/LayoutTestController.cpp:
1832         (clearApplicationCacheForOriginCallback):
1833         (LayoutTestController::staticFunctions):
1834         * DumpRenderTree/LayoutTestController.h:
1835         * DumpRenderTree/chromium/LayoutTestController.cpp: Adding stubs.
1836         (LayoutTestController::LayoutTestController):
1837         (LayoutTestController::clearAllApplicationCaches):
1838         (LayoutTestController::clearApplicationCacheForOrigin): 
1839         * DumpRenderTree/chromium/LayoutTestController.h:
1840         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Adding stub.
1841         (LayoutTestController::clearApplicationCacheForOrigin):
1842         * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Adding stub.
1843         (LayoutTestController::clearApplicationCacheForOrigin):
1844         * DumpRenderTree/qt/LayoutTestControllerQt.h:
1845         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Adding stub.
1846         (LayoutTestController::clearApplicationCacheForOrigin):
1847         * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Adding stub.
1848         (LayoutTestController::clearApplicationCacheForOrigin):
1849
1850 2011-03-18  Dan Bernstein  <mitz@apple.com>
1851
1852         Revised build fix for r81135.
1853
1854         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
1855         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1856
1857 2011-03-18  Adam Roben  <aroben@apple.com>
1858
1859         Windows build fix
1860
1861         * WebKitTestRunner/config.h: Add a missing #endif.
1862
1863 2011-03-18  Andreas Kling  <kling@webkit.org>
1864
1865         Unbreak Qt build after r81494.
1866
1867         * WebKitTestRunner/qt/TestInvocationQt.cpp:
1868         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1869
1870 2011-03-18  Sam Weinig  <sam@webkit.org>
1871
1872         Fix windows build. This was really Adam Roben's fault. I swear!
1873
1874         * WebKitTestRunner/config.h:
1875
1876 2011-03-18  Sam Weinig  <sam@webkit.org>
1877
1878         Reviewed by Adam Roben.
1879
1880         Pixel tests don't work in WebKitTestRunner on Windows
1881         https://bugs.webkit.org/show_bug.cgi?id=56630
1882
1883         Cross-platformize (Mac and Windows CG) the pixel dumping code in WebKitTestRunner to use WebKit2
1884         built-in snapshotting instead of using the window server on the Mac.
1885
1886         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1887         (WTR::InjectedBundle::InjectedBundle):
1888         (WTR::InjectedBundle::didReceiveMessage):
1889         (WTR::InjectedBundle::beginTesting):
1890         (WTR::InjectedBundle::done):
1891         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1892         (WTR::InjectedBundle::setPixelResult):
1893         (WTR::InjectedBundle::shouldDumpPixels):
1894         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1895         (WTR::InjectedBundlePage::dump):
1896         Take the snapshot in the bundle and send it to the UIProcess for dumping.
1897
1898         * WebKitTestRunner/TestInvocation.cpp:
1899         (WTR::TestInvocation::invoke):
1900         (WTR::TestInvocation::dump):
1901         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1902         * WebKitTestRunner/TestInvocation.h:
1903         * WebKitTestRunner/cg: Added.
1904         * WebKitTestRunner/cg/TestInvocationCG.cpp: Copied from WebKitTestRunner/mac/TestInvocationMac.mm.
1905         (WTR::createCGContextFromImage):
1906         (WTR::computeMD5HashStringForContext):
1907         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1908         * WebKitTestRunner/mac/TestInvocationMac.mm: Removed.
1909         Making pixel dumping code shared for CG ports. Also use the WTF/MD5 instead of platform specific code.
1910
1911         * WebKitTestRunner/win/TestInvocationWin.cpp:
1912         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1913         Keep stub for Cairo build.
1914
1915         * WebKitTestRunner/Configurations/WebKitTestRunnerCoreGraphics.vsprops: Added.
1916         Add CG configuration.
1917
1918         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1919         * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1920         Add new files.
1921
1922 2011-03-18  Adam Roben  <aroben@apple.com>
1923
1924         Don't allow Leaks Viewer's vertical scrollbar to cover up long function names
1925
1926         Rubber-stamped by Simon Fraser.
1927
1928         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
1929         (.data-grid .data-container): Use overflow-y:auto instead of the Inspector's default
1930         overflow-y:overlay so that the scrollbar doesn't overlay the content.
1931
1932 2011-03-18  Adam Roben  <aroben@apple.com>
1933
1934         Don't ellipsize long or indented function names in Leaks Viewer
1935
1936         Fixes <http://webkit.org/b/56037> Leaks viewer needs horizontal
1937         scrollbar
1938
1939         Reviewed by Simon Fraser.
1940
1941         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
1942         (.data-grid .data-container):
1943         (.data-grid td > div, .data-grid th > div):
1944         Allow the contents to extend to the right.
1945
1946 2011-03-18  Adam Roben  <aroben@apple.com>
1947
1948         Fix some leaks in DRT seen on the leaks bot
1949
1950         Fixes <http://webkit.org/b/56638> addURLToRedirectCallback and
1951         setWillSendRequestClearHeaderCallback in DRT are leaky
1952
1953         Reviewed by Alexey Proskuryakov.
1954
1955         * DumpRenderTree/ForwardingHeaders/wtf/OwnArrayPtr.h: Added.
1956
1957         * DumpRenderTree/LayoutTestController.cpp:
1958         (addURLToRedirectCallback):
1959         (setWillSendRequestClearHeaderCallback):
1960         Use OwnArrayPtr to cause the strings to be deleted.
1961
1962 2011-03-18  Adam Roben  <aroben@apple.com>
1963
1964         Fix a NSURLCredential leak seen on the leaks bot
1965
1966         Fixes <http://webkit.org/b/56637> -[SynchronousLoader
1967         connection:didReceiveAuthenticationChallenge:] is leaky
1968
1969         Reviewed by John Sullivan.
1970
1971         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1972         (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]): Use a RetainPtr to
1973         cause the NSURLCredential to be released.
1974
1975 2011-03-18  John Knottenbelt  <jknotten@chromium.org>
1976
1977         Unreviewed.
1978
1979         Remove unnecessary brackets around my email address.
1980
1981         * Scripts/webkitpy/common/config/committers.py:
1982
1983 2011-03-18  Adam Roben  <aroben@apple.com>
1984         
1985         Remove some files I accidentally added in r81454
1986
1987         * WebKitTestRunner/Configurations/WebKitTestRunnerCoreGraphics.vsprops: Removed.
1988         * WebKitTestRunner/cg/TestInvocationCG.cpp: Removed.
1989
1990 2011-03-18  Adam Roben  <aroben@apple.com>
1991
1992         Ignore an NSNumberFormatter leak on SnowLeopard
1993
1994         * Scripts/old-run-webkit-tests:
1995         (countAndPrintLeaks): Ignore leaks in -[NSNumberFormatter
1996         getObjectValue:forString:errorDescription:].
1997
1998 2011-03-18  Adam Roben  <aroben@apple.com>
1999
2000         Fix a leak beneath LayoutTestController::authenticateSession seen on the bots
2001
2002         Rubber-stamped by Mark Rowe.
2003
2004         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2005         (LayoutTestController::authenticateSession): Use a RetainPtr to cause the NSURLRequest to be
2006         released.
2007
2008 2011-03-17  Adam Roben  <aroben@apple.com>
2009
2010         Address a review comment I missed in r81445
2011
2012         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
2013         (LeaksParserWorker.prototype._parseLeaks): Anchor the RegExp used to find the number of
2014         leaked bytes to speed up searching on long lines.
2015
2016 2011-03-17  Adam Roben  <aroben@apple.com>
2017
2018         Mark leaky builds orange, even if all regression tests passed
2019
2020         Fixes <http://webkit.org/b/56609> SnowLeopard Intel Leaks bot appears green on
2021         build.webkit.org when all tests pass even though there are still leaks
2022
2023         Reviewed by Dan Bernstein.
2024
2025         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2026         (RunWebKitLeakTests): Set the warnOnWarnings property to True so that the entire build will
2027         be marked orange if this build step generates warnings.
2028
2029 2011-03-17  Adam Roben  <aroben@apple.com>
2030
2031         Allow values in Leaks Viewer to be shown as percentages
2032
2033         Double-clicking on a column will toggle between showing percentages and showing real values.
2034
2035         Fixes <http://webkit.org/b/56628> Would like to view values as percentages of the total
2036         number of leaked bytes in Leaks Viewer
2037
2038         Reviewed by Joe Pecoraro.
2039
2040         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
2041         (LeaksParserWorker.prototype._incorporateLeaks): Calculate the (never-shown) top-level
2042         node's totalTime, which is used in calculating percentages.
2043
2044         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js:
2045         (monkeyPatchInspectorObjects): Only format values as bytes if we aren't supposed to be
2046         showing them as percentages.
2047
2048 2011-03-17  Adam Roben  <aroben@apple.com>
2049
2050         Show the number of leaked bytes, not just leaked allocations, in Leaks Viewer
2051
2052         The Self and Total columns now report the number of leaked bytes. The new Calls column shows
2053         the number of leaked allocations. And the new Average column shows the average number of
2054         leaked bytes per call.
2055
2056         Fixes <http://webkit.org/b/56344> Leaks Viewer should show how many bytes were leaked, not
2057         just how many allocations
2058
2059         Reviewed by Joe Pecoraro.
2060
2061         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
2062         (LeaksParserWorker.prototype._parseLeaks): Parse the number of leaked bytes from the "Leak:"
2063         line and store it with the leak stack.
2064         (LeaksParserWorker.prototype._createNode): Initialize the averageTime and numberOfCalls
2065         properties.
2066         (LeaksParserWorker.prototype._incorporateLeaks): Updated to get the stack from the .stack
2067         property, and changed to store the number of leaked bytes in .selfTime/.totalTime.
2068         .numberOfCalls now holds the number of leaked allocations.
2069
2070         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js:
2071         (Preferences): Set samplingCPUProfiler to false so that the Average and Calls columns will
2072         appear.
2073         (monkeyPatchInspectorObjects): Format the values as bytes.
2074
2075 2011-03-17  Adam Roben  <aroben@apple.com>
2076
2077         Make Leaks Viewer able to count leaks in builds that didn't fail any regression tests
2078
2079         Fixes <http://webkit.org/b/56626> Leaks Viewer omits recent builds which didn't fail any
2080         regression tests
2081
2082         Reviewed by James Robinson.
2083
2084         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
2085         (RecentBuildsLoader.prototype.start): Get the number of leaks out of the "text" array, which
2086         is always populated, even when all regression tests pass.
2087
2088 2011-03-10  Hayato Ito  <hayato@chromium.org>
2089
2090         Reviewed by Tony Chang.
2091
2092         Add a check logic for reftests in case that a reftest is marked AS REBASELINE.
2093
2094         https://bugs.webkit.org/show_bug.cgi?id=56076
2095
2096         * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
2097
2098 2011-03-17  Adam Roben  <aroben@apple.com>
2099
2100         Skip a compositing-sensitive test when accelerated compositing is disabled
2101
2102         Reviewed by Sam Weinig.
2103
2104         * Scripts/old-run-webkit-tests: Skip media/media-document-audio-repaint.html when
2105         accelerated compositing is disabled.
2106
2107 2011-03-17  Adam Roben  <aroben@apple.com>
2108
2109         Start using PlatformSpecificScheduler for the Mac builders
2110
2111         The current set of file/directory patterns should work for Mac builders. We may discover
2112         that there are more files and directories we can exclude from the Mac builds, but they can
2113         be added later.
2114
2115         Fixes <http://webkit.org/b/56593> Mac builders do lots of unnecessary builds
2116
2117         Reviewed by Mark Rowe.
2118
2119         * BuildSlaveSupport/build.webkit.org-config/config.json: Moved the Mac builders into two
2120         PlatformSpecificSchedulers: one for Leopard, and one for SnowLeopard.
2121
2122         * Scripts/webkitpy/common/config/build.py:
2123         (_should_file_trigger_build): Allow "mac-leopard" and "mac-snowleopard" platforms, and
2124         cleaned up patterns a little bit.
2125
2126         * Scripts/webkitpy/common/config/build_unittest.py:
2127         (ShouldBuildTest): Fixed some expected results.
2128         (ShouldBuildTest.test_should_build): Start testing "mac-leopard" and "mac-snowleopard"
2129         platforms.
2130
2131 2011-03-17  Jeff Miller  <jeffm@apple.com>
2132
2133         Use a consistent set of file patterns in the svn:ignore property for all .xcodeproj directories, specifically:
2134         
2135         *.mode*
2136         *.pbxuser
2137         *.perspective*
2138         project.xcworkspace
2139         xcuserdata
2140
2141         * DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
2142         * MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
2143         * TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
2144         * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
2145         * WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
2146
2147 2011-03-17  Adam Roben  <aroben@apple.com>
2148
2149         Make old-run-webkit-tests pick up mac-wk2 results when running in WebKit2 mode on Windows
2150
2151         Fixes <http://webkit.org/b/56563> Running WebKit2 tests on Windows should use results from
2152         mac-wk2
2153
2154         Reviewed by Anders Carlsson.
2155
2156         * Scripts/old-run-webkit-tests:
2157         (expectedDirectoryForTest): Clean up the code to search in extra Mac platform result
2158         directories on Windows. Add mac-wk2 to the set of extra platforms we look in on Windows when
2159         we're running in WebKit2 mode.
2160
2161 2011-03-17  Mikhail Naganov  <mnaganov@chromium.org>
2162
2163         Reviewed by Yury Semikhatsky.
2164
2165         Web Inspector: Clean up Inspector strings.
2166         https://bugs.webkit.org/show_bug.cgi?id=56557
2167
2168         Modify the script to deal correctly with "\xNN" escapes, and to
2169         check strings in Chromium's DevTools.js.
2170
2171         * Scripts/check-inspector-strings:
2172
2173 2011-03-17  Keith Kyzivat  <keith.kyzivat@nokia.com>
2174
2175         Reviewed by Benjamin Poulain.
2176
2177         Update autoinstall to install mechanize 0.2.4
2178         https://bugs.webkit.org/show_bug.cgi?id=56499
2179
2180         Newer versions of mechanize support HTTPS proxies, which is necessary
2181         for people using webkit-patch behind firewalls.
2182
2183         * Scripts/webkitpy/common/system/autoinstall.py:
2184         * Scripts/webkitpy/thirdparty/__init__.py:
2185
2186 2011-03-16  Sam Weinig  <sam@webkit.org>
2187
2188         Reviewed by Adam Roben.
2189
2190         REGRESSION (r81084): media/invalid-media-url-crash.html and editing/execCommand/indent-paragraphs.html failing on WebKit2
2191         https://bugs.webkit.org/show_bug.cgi?id=56541
2192
2193         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2194         (WTR::InjectedBundlePage::willSendRequestForFrame):
2195         Check for an empty host in addition to a null host.  This bug was introduced
2196         when porting off of the KURL code and onto the WKURLRef version.
2197
2198 2011-03-16  Sam Weinig  <sam@webkit.org>
2199
2200         Reviewed by Adam Roben.
2201
2202         Add Lucas Forschler to the list of WebKit committers.
2203
2204         * Scripts/webkitpy/common/config/committers.py:
2205
2206 2011-03-16  Sam Weinig  <sam@webkit.org>
2207
2208         Reviewed upon and dictated through Adam Roben.
2209
2210         Escape crashing function names in results.html. This fixes an issue
2211         when a crash involves a type with templates.
2212
2213         * Scripts/old-run-webkit-tests:
2214
2215 2011-03-16  Daniel Sievers  <sievers@google.com>
2216
2217         Reviewed by James Robinson.
2218
2219         Add setting to always force compositing mode
2220         https://bugs.webkit.org/show_bug.cgi?id=56156
2221
2222         * DumpRenderTree/chromium/DumpRenderTree.cpp:
2223         (main):
2224         * DumpRenderTree/chromium/TestShell.cpp:
2225         (TestShell::TestShell):
2226         (TestShell::resetWebSettings):
2227         * DumpRenderTree/chromium/TestShell.h:
2228         (TestShell::setForceCompositingMode):
2229         * DumpRenderTree/chromium/WebPreferences.cpp:
2230         (WebPreferences::reset):
2231         (WebPreferences::applyTo):
2232         * DumpRenderTree/chromium/WebPreferences.h:
2233
2234 2011-03-15  Hayato Ito  <hayato@chromium.org>
2235
2236         Reviewed by Ojan Vafai.
2237
2238         Ignore files that will be used by reftests in old-run-webkit-tests.
2239
2240         https://bugs.webkit.org/show_bug.cgi?id=55936
2241
2242         * Scripts/old-run-webkit-tests:
2243
2244 2011-03-15  Felipe Oliveira da Silva Netto  <f.dachshund@gmail.com>
2245
2246         Reviewed by Adam Roben.
2247
2248         Function relativeScriptsDir doesn't return the correct relative
2249         Scripts directory.
2250
2251         * Scripts/webkitdirs.pm:
2252         (relativeScriptsDir): Ensure we use the directory that contains
2253         webkitdirs.pm, not the one that contains the original script that
2254         was invoked.
2255
2256 2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
2257
2258         [wx] Build fixes for long linker commands on Win and method return error, plus a Mac
2259         fix to link against the Security framework after recent WebKitSystemInterface changes.
2260
2261         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2262         (LayoutTestController::originsWithLocalStorage):
2263         * wx/build/settings.py:
2264         * wx/build/waf_extensions.py:
2265
2266 2011-03-15  Sam Weinig  <sam@webkit.org>
2267
2268         Reviewed by Darin Adler.
2269
2270         Add script to convert a patch to a prettypatch and show in the default browser
2271         https://bugs.webkit.org/show_bug.cgi?id=56416
2272
2273         This can be used either like
2274             $ svn-create-patch | show-pretty-diff
2275         or
2276             $ show-pretty-diff patch.diff
2277
2278         * Scripts/show-pretty-diff: Added.
2279
2280 2011-03-15  Brian Weinstein  <bweinstein@apple.com>
2281
2282         Rubber-stamped by Adam Roben.
2283
2284         Adding myself as a reviewer.
2285
2286         * Scripts/webkitpy/common/config/committers.py:
2287
2288 2011-03-15  Anders Carlsson  <andersca@apple.com>
2289
2290         Try to fix the Windows build.
2291
2292         * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
2293         (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
2294
2295 2011-03-15  Anders Carlsson  <andersca@apple.com>
2296
2297         Reviewed by Sam Weinig.
2298
2299         Make sure that NP_Shutdown is always the last NPP function called
2300         https://bugs.webkit.org/show_bug.cgi?id=56391
2301
2302         Add a test that times out if an NP_Deallocate object is called after NP_Shutdown.
2303
2304         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2305         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
2306         (PluginTest::PluginTest):
2307         (PluginTest::NP_Shutdown):
2308         (PluginTest::registerNPShutdownFunction):
2309         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
2310         * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp: Added.
2311         (NPDeallocateCalledBeforeNPShutdown::NPDeallocateCalledBeforeNPShutdown):
2312         (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
2313         (NPDeallocateCalledBeforeNPShutdown::ScriptableObject::hasProperty):
2314         (NPDeallocateCalledBeforeNPShutdown::ScriptableObject::getProperty):
2315         (NPDeallocateCalledBeforeNPShutdown::NPP_New):
2316         (NPDeallocateCalledBeforeNPShutdown::NPP_GetValue):
2317         (NPDeallocateCalledBeforeNPShutdown::shutdown):
2318         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
2319         (NP_Shutdown):
2320         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
2321         * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2322         * GNUmakefile.am:
2323
2324 2011-03-15  Ilya Sherman  <isherman@chromium.org>
2325
2326         Reviewed by Tony Chang.
2327
2328         Autofilled form elements are assigned fixed background color but not text color
2329         https://bugs.webkit.org/show_bug.cgi?id=48382
2330
2331         * DumpRenderTree/LayoutTestController.cpp:
2332         (setAutofilledCallback): Added.
2333         (LayoutTestController::staticFunctions):
2334         * DumpRenderTree/LayoutTestController.h:
2335         * DumpRenderTree/chromium/LayoutTestController.cpp:
2336         (LayoutTestController::LayoutTestController):
2337         (LayoutTestController::setAutofilled): Added.
2338         * DumpRenderTree/chromium/LayoutTestController.h:
2339         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2340         (LayoutTestController::setAutofilled): Added.
2341         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2342         (LayoutTestController::setAutofilled): Added.
2343         (LayoutTestController::setValueForUser): Style tweak.
2344         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2345         (LayoutTestController::setAutofilled): Added (stub).
2346         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2347         (LayoutTestController::setAutofilled): Added (stub).
2348
2349 2011-03-15  Dan Bernstein  <mitz@apple.com>
2350
2351         Build fix after r81135.
2352
2353         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
2354
2355 2011-03-15  Dan Bernstein  <mitz@apple.com>
2356
2357         Build fix after r81135.
2358
2359         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
2360         * WebKitTestRunner/mac/TestControllerMac.mm:
2361         * WebKitTestRunner/mac/TestInvocationMac.mm:
2362         * WebKitTestRunner/mac/main.mm:
2363
2364 2011-03-15  Balazs Kelemen  <kbalazs@webkit.org>
2365
2366         Reviewed by Adam Barth.
2367
2368         REGRESSION(80977): breaks Qt ARMv7 Linux Release bot
2369         https://bugs.webkit.org/show_bug.cgi?id=56349
2370
2371         * QtTestBrowser/QtTestBrowser.pro: Link against fontconfig
2372         on platforms where we use it. Copied from DumpRenderTree.pro.
2373
2374 2011-03-15  Dan Bernstein  <mitz@apple.com>
2375
2376         Build fix after r81135.
2377
2378         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
2379         * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
2380
2381 2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
2382
2383         Reviewed by Darin Adler.
2384
2385         Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
2386         info into the headers rather than in export symbol definition files, but disable it on 
2387         all platforms initially so we can deal with port build issues one port at a time.
2388         
2389         https://bugs.webkit.org/show_bug.cgi?id=27551
2390
2391         * DumpRenderTree/cg/ImageDiffCG.cpp:
2392         * DumpRenderTree/chromium/config.h:
2393         * DumpRenderTree/config.h:
2394         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2395         * TestWebKitAPI/TestWebKitAPIPrefix.h:
2396         * WebKitAPITest/HostWindow.cpp:
2397         * WebKitAPITest/TestsController.cpp:
2398         * WebKitAPITest/config.h: Added.
2399         * WebKitAPITest/main.cpp:
2400         * WebKitAPITest/tests/WebViewDestruction.cpp:
2401         * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:
2402         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2403         * WebKitTestRunner/InjectedBundle/GCController.cpp:
2404         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2405         * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
2406         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2407         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2408         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
2409         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
2410         * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
2411         * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp:
2412         * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp:
2413         * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
2414         * WebKitTestRunner/TestController.cpp:
2415         * WebKitTestRunner/TestInvocation.cpp:
2416         * WebKitTestRunner/config.h: Added.
2417         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
2418         * WebKitTestRunner/qt/TestControllerQt.cpp:
2419         * WebKitTestRunner/qt/TestInvocationQt.cpp:
2420         * WebKitTestRunner/qt/main.cpp:
2421         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
2422         * WebKitTestRunner/win/TestControllerWin.cpp:
2423         * WebKitTestRunner/win/TestInvocationWin.cpp:
2424         * WebKitTestRunner/win/main.cpp:
2425         * wx/build/settings.py:
2426
2427 2011-03-15  Hayato Ito  <hayato@chromium.org>
2428
2429         Reviewed by Shinichiro Hamaji.
2430
2431         [NRWT] Add support for reftests to new-run-webkit-tests.
2432
2433         https://bugs.webkit.org/show_bug.cgi?id=55457
2434
2435         * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
2436         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
2437         * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
2438         * Scripts/webkitpy/layout_tests/port/base.py:
2439         * Scripts/webkitpy/layout_tests/port/dryrun.py:
2440         * Scripts/webkitpy/layout_tests/port/test.py:
2441         * Scripts/webkitpy/layout_tests/port/test_files.py:
2442         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2443
2444 2011-03-15  Alejandro G. Castro  <alex@igalia.com>
2445
2446         Reviewed by Martin Robinson.
2447
2448         [GTK] Fix compilation warning after r80892
2449         https://bugs.webkit.org/show_bug.cgi?id=56302
2450
2451         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2452         (LayoutTestController::originsWithLocalStorage):
2453
2454 2011-03-15  Robert Hogan  <robert@webkit.org>
2455
2456         Reviewed by Adam Barth.
2457
2458         Document the qmakearg argument, and hint how to build webkit2 on Qt
2459         https://bugs.webkit.org/show_bug.cgi?id=56326
2460
2461         * Scripts/build-webkit: add --qmakearg to build-webkit --help
2462
2463 2011-03-15  Adam Roben  <aroben@apple.com>
2464
2465         Make Windows 7 Release (Tests) a core builder
2466
2467         We can probably make Windows XP Debug (Tests) a core builder, too, but we should probably
2468         give it a few more days of greenness first.
2469
2470         Fixes <http://webkit.org/b/55665> Windows 7 Release (Tests) should be a core builder
2471
2472         Reviewed by Sam Weinig.
2473
2474         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2475         (BuildBot): Added a regexp to match Windows 7 Release (Tests).
2476
2477         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2478         (BuildBotTest): Updated the list of builders to match the current list on build.webkit.org.
2479         Updated the core regexps to match the buildbot module. Updated the expected results to match
2480         the current set of core builders.
2481
2482 2011-03-14  Adam Roben  <aroben@apple.com>
2483
2484         Add forgotten file from r81116
2485
2486         * TestWebKitAPI/Configurations/TestWebKitAPICFNetwork.vsprops: Added.
2487
2488 2011-03-14  Sam Weinig  <sam@webkit.org>
2489
2490         Reviewed by Adam Roben.
2491
2492         about:blank fake responses don't get serialized when sent the UIProcess
2493         <rdar://problem/9108119>
2494         https://bugs.webkit.org/show_bug.cgi?id=56357
2495
2496         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp: Added.
2497         (TestWebKitAPI::decidePolicyForResponse):
2498         (TestWebKitAPI::TEST):
2499         Add test that loads of about:blank have a response with a MIMEType of text/html.
2500
2501         * TestWebKitAPI/PlatformUtilities.h:
2502         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
2503         (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
2504         * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
2505         (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
2506         Add helper to get the MIMEType from a WKURLResponse.
2507
2508         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2509         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
2510         Add new files.
2511
2512 2011-03-14  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
2513
2514         Reviewed by Kenneth Rohde Christiansen.
2515
2516         [Qt] Command-line options for QGLWidget and WebGL to QtTestBrowser
2517         https://bugs.webkit.org/show_bug.cgi?id=56006
2518
2519         * QtTestBrowser/launcherwindow.cpp:
2520         (LauncherWindow::initializeView):
2521         * QtTestBrowser/main.cpp:
2522         (LauncherApplication::handleUserOptions):
2523
2524 2011-03-14  James Kozianski  <koz@chromium.org>
2525
2526         Reviewed by Ojan Vafai.
2527
2528         Add method to make BuildBot return test outputs
2529         https://bugs.webkit.org/show_bug.cgi?id=54374
2530
2531         The Builder.latest_cached_build will be used by the new rebaseline
2532         script to determine the build to use baselines from.
2533
2534         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2535         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2536
2537 2011-03-14  Adam Roben  <aroben@apple.com>
2538
2539         Test that WKBundlePageCanHandleRequest returns true for empty document URLs
2540
2541         Reviewed by Sam Weinig.
2542
2543         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp: Added.
2544         (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Store the result of the test.
2545         (TestWebKitAPI::setInjectedBundleClient): Hook up our callback.
2546         (TestWebKitAPI::TEST): Register "emptyscheme" as an empty document scheme, load a page to
2547         ensure the web process is initialized, then ask the bundle to run the test and assert that
2548         it succeeded.
2549
2550         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp: Added.
2551         (TestWebKitAPI::CanHandleRequestTest::CanHandleRequestTest): Just call up to the base class.
2552         (TestWebKitAPI::canHandleURL): Helper function to test whether WebKit2 claims to be able to
2553         handle a given URL.
2554         (TestWebKitAPI::runTest): Check that empty document URLs can be handled (and that an unknown
2555         URL type cannot be handled).
2556         (TestWebKitAPI::CanHandleRequestTest::didReceiveMessage): Run the test and return the
2557         result.
2558
2559         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2560         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
2561         * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
2562         Added new files to the project.
2563
2564 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2565
2566         Unreviewed, rolling out r81094.
2567         http://trac.webkit.org/changeset/81094
2568         https://bugs.webkit.org/show_bug.cgi?id=56355
2569
2570         Broke the chromium DRT related build. (Requested by dave_levin
2571         on #webkit).
2572
2573         * DumpRenderTree/chromium/DumpRenderTree.cpp:
2574         (main):
2575         * DumpRenderTree/chromium/LayoutTestController.cpp:
2576         (LayoutTestController::LayoutTestController):
2577         (LayoutTestController::layerTreeAsText):
2578         * DumpRenderTree/chromium/LayoutTestController.h:
2579         * DumpRenderTree/chromium/TestShell.cpp:
2580         (TestShell::runFileTest):
2581         (TestShell::dump):
2582         * DumpRenderTree/chromium/TestShell.h:
2583         (TestParams::TestParams):
2584
2585 2011-03-14  Daniel Sievers  <sievers@google.com>
2586
2587         Reviewed by Simon Fraser.
2588
2589         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
2590         https://bugs.webkit.org/show_bug.cgi?id=56139
2591
2592         * DumpRenderTree/chromium/DumpRenderTree.cpp:
2593         (main):
2594         * DumpRenderTree/chromium/LayoutTestController.cpp:
2595         (LayoutTestController::LayoutTestController):
2596         (LayoutTestController::layerTreeAsText):
2597         * DumpRenderTree/chromium/LayoutTestController.h:
2598         (LayoutTestController::setShowDebugLayerTree):
2599         * DumpRenderTree/chromium/TestShell.cpp:
2600         (TestShell::runFileTest):
2601         (TestShell::dump):
2602         * DumpRenderTree/chromium/TestShell.h:
2603         (TestParams::TestParams):
2604
2605 2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
2606
2607         Reviewed by Adam Roben.
2608
2609         [Qt][WK2]Unbreak InjectedBundle on Qt
2610         https://bugs.webkit.org/show_bug.cgi?id=54109
2611
2612         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2613         (WTR::InjectedBundlePage::willSendRequestForFrame): Use new WebKit2
2614         API's instead of KURL to analyze the URL.
2615         * WebKitTestRunner/StringFunctions.h:
2616         (WTR::adoptWK): Moved from InjectedBundlePage.cpp to make it available globally
2617         in the WebKitTestRunner project.
2618         (WTR::toWK): Use adoptWK.
2619         (WTR::operator<<): Added helper for printing a WKURL.
2620         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Do not link
2621         against WebCore.
2622
2623 2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
2624
2625         Reviewed by Kenneth Rohde Christiansen.
2626
2627         check-webkit-style falsely should not complain about WebKit2 API headers in the Shared directory
2628         https://bugs.webkit.org/show_bug.cgi?id=56321
2629
2630         * Scripts/webkitpy/style/checker.py: Add the patch "Source/WebKit2/Shared/API/c"
2631         to the list of exceptions for WebKit2 C API headers.
2632
2633 2011-03-14  Adam Roben  <aroben@apple.com>
2634
2635         Show the list of recent leaky builds in reverse chronological order
2636
2637         Previously they were being shown in a deterministic but surprising order based on
2638         lexicographically sorting the build offsets (-1, -10, -2, -3...).
2639
2640         Fixes <http://webkit.org/b/56342> Leaks Viewer shows recent builds in a strange order
2641
2642         Reviewed by Darin Adler.
2643
2644         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
2645         (RecentBuildsLoader.prototype.start): Sort the builds by revision before passing them to our
2646         callback.
2647
2648 2011-03-14  Adam Roben  <aroben@apple.com>
2649
2650         Show a list of up to 10 recent leaky builds when Leaks Viewer loads
2651
2652         Fixes <http://webkit.org/b/56043> Leaks Viewer should present a list of recent builds to
2653         analyze
2654
2655         Reviewed by David Kilzer and Joe Pecoraro.
2656
2657         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
2658         (#url-prompt): Made this a bit taller to make room for the list of builds.
2659
2660         (#recent-builds-loading-indicator):
2661         (#recent-builds-list):
2662         Added styles for the build list and loading indicator.
2663
2664         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
2665         (LeaksViewer.loaded): Pass the URL from the query through decodeURIComponent before loading
2666         it. This will unescape it.
2667         (LeaksViewer.urlPromptButtonClicked): Moved code from here to _urlChosenFromPrompt.
2668         (LeaksViewer._didLoadRecentBuilds): Added. Stores the builds and updates the prompt.
2669         (LeaksViewer._displayURLPrompt): Start loading the recent leaky builds.
2670         (LeaksViewer._updateURLPrompt): Create a list of the recent leaky builds and add them to the
2671         prompt UI.
2672         (LeaksViewer._urlChosenFromPrompt): Added. Code came from urlPromptButtonClicked. This is
2673         now also used when a recent build is clicked.
2674
2675         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js: Added.
2676         (RecentBuildsLoader): Store the callback.
2677         (RecentBuildsLoader.prototype.start): Load the N most recent builds from the specified
2678         builder. Find the revision number, leak count, and results URL for each one. Pass the
2679         resulting info to our callback.
2680
2681         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
2682         (range): Added this helper function to return an array containing the integers [0, n).
2683
2684         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added
2685         RecentBuildsLoader.js and added text to the prompt UI to show the recent builds.
2686
2687 2011-03-14  Mark Rowe  <mrowe@apple.com>
2688
2689         Reviewed by Adam Roben.
2690
2691         Fix two memory leaks within LayoutTestController's storage support.
2692
2693         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2694         (LayoutTestController::originsWithLocalStorage): Don't leak the JSStringRef that is returned
2695         by JSStringCreateWithCFString.
2696         (LayoutTestController::deleteLocalStorageForOrigin): Don't leak the WebSecurityOrigin that we
2697         allocate.
2698
2699 2011-03-14  Mark Rowe  <mrowe@apple.com>
2700
2701         Reviewed by Oliver Hunt.
2702
2703         <http://webkit.org/b/56304> REGRESSION(r80892): 100,000+ leaks seen on the build bot
2704
2705         * DumpRenderTree/LayoutTestController.cpp:
2706         (LayoutTestController::staticFunctions): Remove duplicate entries.
2707
2708 2011-03-14  Alice Liu  <alice.liu@apple.com>
2709
2710         Reviewed by Dan Bernstein.
2711
2712         DumpRenderTree Perl Support fails to build with ARCHS="i386 x86_64"
2713
2714         * DumpRenderTree/mac/PerlSupport/Makefile:
2715         Add whitespace when joining "-arch" with the architectures passed in as arguments.
2716
2717 2011-03-14  Daniel Bates  <dbates@rim.com>
2718
2719         https://bugs.webkit.org/show_bug.cgi?id=55438
2720         Add double quotes around value of -DCMAKE_WINCE_SDK that I inadvertently did not add
2721         when landing changeset 81041 <http://trac.webkit.org/changeset/81041>.
2722
2723         * Scripts/build-webkit:
2724
2725 2011-03-14  Daniel Bates  <dbates@rim.com>
2726
2727         Reviewed by David Kilzer.
2728
2729         Cleanup: Separate port-specific implementation details from webkitdirs::buildCMakeProject()
2730         https://bugs.webkit.org/show_bug.cgi?id=55438
2731
2732         Separate out the EFL- and WinCE-specific logic from the port-independent logic in
2733         webkitdirs::buildCMakeProject(). Also, remove redundant code for generating the
2734         CMake arguments for feature defines.
2735
2736         * Scripts/build-webkit:
2737           - Added cMakeArgsFromFeatures() to convert the @features array to CMake arguments.
2738           - Modified EFL and WinCE-specific building logic to call buildCMakeProjectOrExit().
2739           - Sorted forward declarations.
2740           - Initialize $makeArgs with the empty string so as to simplify its use in string operations;
2741             Modified call sites as needed.
2742         * Scripts/webkitdirs.pm:
2743           - Added cleanCMakeGeneratedProject() to clean a CMake build.
2744           - Added buildCMakeGeneratedProject() to build using generated build system.
2745           - Added buildCMakeProjectOrExit() which is a facade for building a CMake project.
2746           - Added generateBuildSystemFromCMakeProject() to generate the build system from
2747             a CMake project.
2748           - Removed buildCMakeProject(). This functionality is in buildCMakeProjectOrExit().
2749
2750 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
2751
2752         Reviewed by Steve Block.
2753
2754         Detach Geolocation from Frame when Page destroyed.
2755         https://bugs.webkit.org/show_bug.cgi?id=52877
2756
2757         Extend the layout test controller to expose the number of pending
2758         geolocation requests, so that we can test that the requests have
2759         been cancelled on page close.
2760
2761         * DumpRenderTree/LayoutTestController.cpp:
2762         (numberOfPendingGeolocationPermissionRequestsCallback):
2763         (LayoutTestController::staticFunctions):
2764         * DumpRenderTree/LayoutTestController.h:
2765         * DumpRenderTree/chromium/LayoutTestController.cpp:
2766         (LayoutTestController::LayoutTestController):
2767         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
2768         * DumpRenderTree/chromium/LayoutTestController.h:
2769         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2770         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
2771         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2772         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
2773         * DumpRenderTree/mac/UIDelegate.h:
2774         * DumpRenderTree/mac/UIDelegate.mm:
2775         (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
2776         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2777         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
2778         * DumpRenderTree/qt/LayoutTestControllerQt.h:
2779         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2780         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
2781         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2782         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
2783
2784
2785 2011-03-14  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2786
2787         Unreviewed. Modify my email address in committers.py.
2788
2789         * Scripts/webkitpy/common/config/committers.py:
2790
2791 2011-03-13  Joe Wild  <joseph.wild@nokia.com>
2792
2793         Reviewed by Kenneth Rohde Christiansen.
2794
2795         [Qt] QtLauncher does not load the same set of fonts as the DRT
2796         https://bugs.webkit.org/show_bug.cgi?id=34959
2797
2798         This patch adds the option "-use-test-fonts" to the QtTestBrowser.
2799         When this option is used the webkit fonts are loaded the same
2800         as they are in DumpRenderTree.  This option can be used on
2801         QtTestBrowser and run-launcher.  It can only be used
2802         on Linux systems with FcInit and is configured as such.
2803
2804         * QtTestBrowser/launcherwindow.h:
2805         (WindowOptions::WindowOptions):
2806         * QtTestBrowser/main.cpp:
2807         (initWebKitTestFonts):
2808         (launcherMain):
2809         (LauncherApplication::handleUserOptions):
2810
2811 2011-03-12  Dan Bernstein  <mitz@apple.com>
2812
2813         Reviewed by Mark Rowe.
2814
2815         <rdar://problem/8995822> Build DumpRenderTree perl support only for the architectures
2816         DumpRenderTree is being built for.
2817
2818         * DumpRenderTree/mac/PerlSupport/Makefile:
2819
2820 2011-03-12  Dan Bernstein  <mitz@apple.com>
2821
2822         Suggested by Mark Rowe.
2823
2824         * DumpRenderTree/mac/Configurations/Base.xcconfig: Leave C++ exceptions enabled
2825         as they were before r80915.
2826
2827 2011-03-12  Anders Carlsson  <andersca@apple.com>
2828
2829         Reviewed by Sam Weinig.
2830
2831         Should be able to download a PDF to the Downloads folder
2832         https://bugs.webkit.org/show_bug.cgi?id=56256
2833
2834         * MiniBrowser/mac/BrowserWindowController.m:
2835         (-[BrowserWindowController awakeFromNib]):
2836         * WebKitTestRunner/TestController.cpp:
2837         (WTR::TestController::createOtherPage):
2838         (WTR::TestController::initialize):
2839         Update for API changes.
2840
2841 2011-03-11  Anton D'Auria  <adauria@apple.com>
2842
2843         Reviewed and landed by Brady Eidson.
2844
2845         https://bugs.webkit.org/show_bug.cgi?id=51878
2846         Add WebKit1 API to view and delete local storage
2847
2848         Added tests that write to LocalStorage, delete one origin, get list of origins with local storage, delete all origins.
2849
2850         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2851         * DumpRenderTree/LayoutTestController.cpp:
2852         (syncLocalStorageCallback):
2853         (observeStorageTrackerNotificationsCallback):
2854         (deleteAllLocalStorageCallback):
2855         (deleteLocalStorageForOriginCallback):
2856         (originsWithLocalStorageCallback):
2857         (LayoutTestController::staticFunctions):
2858         * DumpRenderTree/LayoutTestController.h:
2859         * DumpRenderTree/StorageTrackerDelegate.h: Added.
2860         * DumpRenderTree/StorageTrackerDelegate.mm: Added.
2861         (-[StorageTrackerDelegate init]):
2862         (-[StorageTrackerDelegate logNotifications:controller:]):
2863         (-[StorageTrackerDelegate originModified:]):
2864         (-[StorageTrackerDelegate dealloc]):
2865         (-[StorageTrackerDelegate setControllerToNotifyDone:]):
2866         * DumpRenderTree/chromium/LayoutTestController.cpp:
2867         (LayoutTestController::LayoutTestController):
2868         (LayoutTestController::deleteAllLocalStorage):
2869         (LayoutTestController::originsWithLocalStorage):
2870         (LayoutTestController::deleteLocalStorageForOrigin):
2871         (observeStorageTrackerNotifications):
2872         (syncLocalStorage):
2873         * DumpRenderTree/chromium/LayoutTestController.h:
2874         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2875         (LayoutTestController::originsWithLocalStorage):
2876         (LayoutTestController::deleteAllLocalStorage):
2877         (LayoutTestController::deleteLocalStorageForOrigin):
2878         (LayoutTestController::observeStorageTrackerNotifications):
2879         (LayoutTestController::syncLocalStorage):
2880         * DumpRenderTree/mac/DumpRenderTree.mm:
2881         (resetDefaultsToConsistentValues):
2882         (allocateGlobalControllers):
2883         (releaseGlobalControllers):
2884         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2885         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2886         (LayoutTestController::syncLocalStorage):
2887         (LayoutTestController::observeStorageTrackerNotifications):
2888         (LayoutTestController::deleteAllLocalStorage):
2889         (LayoutTestController::originsWithLocalStorage):
2890         (LayoutTestController::deleteLocalStorageForOrigin):
2891         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2892         (LayoutTestController::originsWithLocalStorage):
2893         (LayoutTestController::deleteAllLocalStorage):
2894         (LayoutTestController::deleteLocalStorageForOrigin):
2895         (LayoutTestController::observeStorageTrackerNotifications):
2896         (LayoutTestController::syncLocalStorage):
2897         * DumpRenderTree/qt/LayoutTestControllerQt.h:
2898         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2899         (LayoutTestController::clearAllApplicationCaches):
2900         (LayoutTestController::syncLocalStorage):
2901         (LayoutTestController::observeStorageTrackerNotifications):
2902         (LayoutTestController::clearAllDatabases):
2903         (LayoutTestController::deleteAllLocalStorage):
2904         (LayoutTestController::originsWithLocalStorage):
2905         (LayoutTestController::deleteLocalStorageForOrigin):
2906         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2907         (LayoutTestController::syncLocalStorage):
2908         (LayoutTestController::observeStorageTrackerNotifications):
2909         (LayoutTestController::clearAllDatabases):
2910         (LayoutTestController::deleteAllLocalStorage):
2911         (LayoutTestController::originsWithLocalStorage):
2912         (LayoutTestController::deleteLocalStorageForOrigin):
2913
2914 2011-03-11  Jessie Berlin  <jberlin@apple.com>
2915
2916         Reviewed by Adam Roben.
2917
2918         Crash calling WebContext::clearResourceCaches(InMemoryResourceCachesOnly) before the Web
2919         Process has finished launching.
2920         https://bugs.webkit.org/show_bug.cgi?id=56208
2921
2922         * TestWebKitAPI/Tests/WebKit2/SendingMessagesToTheWebProcessBeforeItIsValid.cpp: Added.
2923         (TestWebKitAPI::TEST):
2924         Test that calling WKContextClearResourceCaches works with both options when called before
2925         the Web Process is valid.
2926
2927         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2928         Add the new test.
2929         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
2930         Ditto.
2931
2932 2011-03-11  Adam Roben  <aroben@apple.com>
2933
2934         Make it possible to view all leaks from a build at once in Leaks Viewer
2935
2936         You can now give Leaks Viewer the URL of a build results page (e.g.,
2937         <http://build.webkit.org/results/SnowLeopard%20Intel%20Leaks/r80847%20(15493)/>), and it
2938         will load all the leaks files from that build.
2939
2940         Fixes <http://webkit.org/b/56030> Leaks Viewer: Would like to be able to look at all leaks
2941         files from a particular build at once, rather than one at a time
2942
2943         Reviewed by David Kilzer.
2944
2945         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksLoader.js: Added.
2946         (LeaksLoader): Initialize our properties.
2947         (LeaksLoader.prototype.start): If the URL ends in .txt, assume it's a single leaks file and
2948         load it. Otherwise assume it's a build results page URL and start fetching the leaks files
2949         from that page.
2950         (LeaksLoader.prototype._loadLeaksFiles): Tell our client how many leaks files we're loading
2951         so it can provide feedback. Then load each one and pass it to the client.
2952         (LeaksLoader.prototype._loadLeaksFromResultsPage): Load the HTML of the results page, parse
2953         it into a DOM, pull out all the links to leaks files, and load each one.
2954
2955         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParser.js: Added.
2956         (LeaksParser): Initialize our worker.
2957         (LeaksParser.prototype.addLeaksFile): Tell the worker about the leaks file's contents.
2958
2959         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js: Added.
2960         This code mostly came from Worker.js.
2961         (LeaksParserWorker): Initialize our profile.
2962         (LeaksParserWorker.prototype.addLeaksFile): Parse the leaks file and incorporate it into our
2963         profile.
2964         (LeaksParserWorker.prototype._parseLeaks):
2965         (LeaksParserWorker.prototype._createNode):
2966         (LeaksParserWorker.prototype._incorporateLeaks):
2967         Moved these functions here from LeaksViewer. _incorporateLeaks is essentially just a renamed
2968         version of createProfile which adds to this.profile instead of making a new profile each
2969         time.
2970         (onmessage): Parse the file and send back the new profile.
2971
2972         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
2973         (#loading-indicator):
2974         (#spinner):
2975         (#loading-indicator-label):
2976         Tweaked styles to accomodate a longer label.
2977
2978         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
2979         (LeaksViewer.loaded): Set up a loader and parser.
2980
2981         (LeaksViewer.get filesLeftToParse):
2982         (LeaksViewer.set filesLeftToParse):
2983         Added these simple accessors.
2984
2985         (LeaksViewer._didCountLeaksFiles): Callback from LeaksLoader. Stores the count.
2986         (LeaksViewer._didLoadLeaksFile): Callback from LeaksLoader. Passes the file contents off to
2987         the parser.
2988         (LeaksViewer._didParseLeaksFile): Callback from LeaksParser. If all files have been parsed,
2989         tell the ProfilerAgent and mark that we're done loading. (Code came from the old
2990         _loadLeaksFromURL function).
2991         (LeaksViewer._loadLeaksFromURL): Now just calls through to the loader.
2992         (LeaksViewer._loadingIndicatorText): Added. Returns the text that should show up in the
2993         loading indicator, including the number of files being loaded.
2994         (LeaksViewer._loadingStatusChanged): Update the loading indicator's label, too.
2995         (LeaksViewer._updateLoadingIndicatorLabel): Added. Just updates the label!
2996         (LeaksViewer._updateTitle): Moved code to compute the "Loading" text to
2997         _loadingIndicatorText.
2998
2999         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js: Added.
3000         (getResource): Moved here from LeaksViewer.js.
3001
3002         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Worker.js: Subsumed by
3003         LeaksParserWorker.js.
3004
3005         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added new JS
3006         files, added a #loading-indicator-label element, and tweaked the prompt wording.
3007
3008 2011-03-11  Adam Roben  <aroben@apple.com>
3009
3010         Don't trigger a build when build.webkit.org's HTML files are modified
3011
3012         Fixes <http://webkit.org/b/56190> Windows bots shouldn't have built r80848/r80851, but did
3013
3014         Reviewed by Dan Bernstein.
3015
3016         * Scripts/webkitpy/common/config/build.py:
3017         (_should_file_trigger_build): Added build.webkit.org's public_html directory to the list of
3018         directories that shouldn't trigger builds. Re-sorted the list.
3019
3020         * Scripts/webkitpy/common/config/build_unittest.py:
3021         (ShouldBuildTest): Added a test to cover the above change.
3022
3023 2011-03-11  Adam Roben  <aroben@apple.com>
3024
3025         Roll out r80848
3026
3027         It was accidentally committed.
3028
3029         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
3030         (LeaksViewer._loadLeaksFromURL):
3031
3032 2011-03-11  Tony Chang  <tony@chromium.org>
3033
3034         Reviewed by Ojan Vafai.
3035
3036         kill hung lighttpd processes on the chromium win bot
3037         https://bugs.webkit.org/show_bug.cgi?id=56152
3038
3039         Sometimes this process doesn't exit and it holds on to
3040         a log file that we can't delete or copy, causing the tests
3041         to go red.
3042
3043         * BuildSlaveSupport/win/kill-old-processes:
3044
3045 2011-03-11  Ilya Sherman  <isherman@chromium.org>
3046
3047         Reviewed by Kent Tamura.
3048
3049         [Chromium] missing HTMLInputElement::setValueForUser() to tests
3050         https://bugs.webkit.org/show_bug.cgi?id=55854
3051
3052         * DumpRenderTree/chromium/LayoutTestController.cpp:
3053         (LayoutTestController::LayoutTestController):
3054         (LayoutTestController::setValueForUser): Added.
3055         * DumpRenderTree/chromium/LayoutTestController.h:
3056
3057 2011-03-10  Peter Kasting  <pkasting@google.com>
3058
3059         Reviewed by Dimitri Glazkov.
3060
3061         Clean up some gross code in TestShellWin.cpp.  No functional change.
3062         https://bugs.webkit.org/show_bug.cgi?id=56048
3063
3064         * DumpRenderTree/chromium/TestShellWin.cpp:
3065         (checkLayoutTestSystemDependencies):
3066
3067 2011-03-10  Keith Kyzivat  <keith.kyzivat@nokia.com>
3068
3069         Reviewed by Laszlo Gombos.
3070
3071         [Qt] Buildfix for platforms where X11 is not available (e.g. Symbian)
3072
3073         * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
3074         (WTR::activateFonts): Guard X11-specific code with Q_WS_X11.
3075
3076 2011-03-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3077
3078         Reviewed by Kenneth Rohde Christiansen.
3079
3080         [EFL] Make single backing store the default for EWebLauncher
3081         https://bugs.webkit.org/show_bug.cgi?id=55753
3082
3083         Set single backing store the default for EWebLauncher.
3084
3085         * EWebLauncher/main.c:
3086         (main):
3087
3088 2011-03-10  Adam Roben  <aroben@apple.com>
3089
3090         Ignore errors from files being held open when creating a test result archive
3091
3092         Fixes <http://webkit.org/b/55581> Test results don't get uploaded if test-result-archive
3093         fails to delete the results directory
3094
3095         Reviewed by Mark Rowe.
3096
3097         * BuildSlaveSupport/test-result-archive:
3098         (archiveTestResults): Ignore errno 2 when deleting the results directory, since it can be
3099         thrown when a process is holding a file open.
3100
3101 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3102
3103         Unreviewed, rolling out r80701.
3104         http://trac.webkit.org/changeset/80701
3105         https://bugs.webkit.org/show_bug.cgi?id=56126
3106
3107         fast/dom/Geolocation/window-close-crash.html fails on Snow
3108         Leopard release builds (Requested by mihaip on #webkit).
3109
3110         * DumpRenderTree/LayoutTestController.cpp:
3111         (LayoutTestController::staticFunctions):
3112         * DumpRenderTree/LayoutTestController.h:
3113         * DumpRenderTree/chromium/LayoutTestController.cpp:
3114         (LayoutTestController::LayoutTestController):
3115         * DumpRenderTree/chromium/LayoutTestController.h:
3116         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3117         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3118         * DumpRenderTree/mac/UIDelegate.h:
3119         * DumpRenderTree/mac/UIDelegate.mm:
3120         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3121         * DumpRenderTree/qt/LayoutTestControllerQt.h:
3122         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3123         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3124
3125 2011-03-10  Philippe Normand  <pnormand@igalia.com>
3126
3127         Reviewed by Gustavo Noronha Silva.
3128
3129         [GTK] run-gtk-tests doesn't fail if a test crashes
3130         https://bugs.webkit.org/show_bug.cgi?id=56089
3131
3132         * Scripts/run-gtk-tests: gtester -k exits with a 0 exit status
3133         even if a test crashes. So run the tests individually and if a
3134         test fails remember its exit code so run-gtk-test fails too, if
3135         required.
3136
3137 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
3138
3139         Reviewed by Dmitry Titov.
3140
3141         Detach Geolocation from Frame when Page destroyed.
3142         https://bugs.webkit.org/show_bug.cgi?id=52877
3143
3144         Extend the layout test controller to expose the number of pending
3145         geolocation requests, so that we can test that the requests have
3146         been cancelled on page close.
3147
3148         * DumpRenderTree/LayoutTestController.cpp:
3149         (numberOfPendingGeolocationPermissionRequestsCallback):
3150         (LayoutTestController::staticFunctions):
3151         * DumpRenderTree/LayoutTestController.h:
3152         * DumpRenderTree/chromium/LayoutTestController.cpp:
3153         (LayoutTestController::LayoutTestController):
3154         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
3155         * DumpRenderTree/chromium/LayoutTestController.h:
3156         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3157         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
3158         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3159         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
3160         * DumpRenderTree/mac/UIDelegate.h:
3161         * DumpRenderTree/mac/UIDelegate.mm:
3162         (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
3163         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3164         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
3165         * DumpRenderTree/qt/LayoutTestControllerQt.h:
3166         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3167         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
3168         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3169         (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
3170
3171
3172 2011-03-09  Adam Roben  <aroben@apple.com>
3173
3174         Hide Leaks Viewer's URL prompt by default
3175
3176         We will show it as needed. I think I left it visible by default by accident after doing some
3177         testing.
3178
3179         Fixes <http://webkit.org/b/56031> Leaks Viewer: URL prompt overlay shouldn't appear when a
3180         URL is passed as a query parameter, but does
3181
3182         Reviewed by Simon Fraser.
3183
3184         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:
3185
3186 2011-03-09  Adam Roben  <aroben@apple.com>
3187
3188         Don't use Element.classList or box-shadow in Leaks Viewer
3189
3190         They aren't supported by Safari 5. Luckily we have substitutes for them!
3191
3192         Fixes <http://webkit.org/b/56035> Leaks viewer doesn't work in Safari 5
3193
3194         Reviewed by Simon Fraser.
3195
3196         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
3197         (#url-prompt): Use -webkit-box-shadow instead of box-shadow.
3198
3199         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
3200         (LeaksViewer.urlPromptButtonClicked):
3201         (LeaksViewer._displayURLPrompt):
3202         (LeaksViewer._setLoadingIndicatorHidden):
3203         Use add/removeStyleClass (from utilities.js) instead of Element.classList.
3204
3205 2011-03-09  Adam Roben  <aroben@apple.com>
3206
3207         Add a link to the Leaks Viewer tool on the build.webkit.org homepage
3208
3209         Rubber-stamped by David Kilzer.
3210
3211         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
3212
3213 2011-03-09  Adam Roben  <aroben@apple.com>
3214
3215         Add a Leaks Viewer tool to build.webkit.org
3216
3217         This tool parses leaks from the files generated by the leaks bot and displays them in a
3218         view similar to the Web Inspector's Profiles pane (in fact, it uses the Web Inspector's
3219         code).
3220
3221         The URL of the leaks file can be entered in a prompt when the tools is first shown, or can
3222         be passed to the tool via the "url" query parameter.
3223
3224         Only one leaks file can be viewed at a time for now. Only the number of leaks, as opposed to
3225         the number of leaked bytes, is shown. And this tool has made apparent some bugs in the Web
3226         Inspector's Heavy profile view. But it's still pretty useful as-is.
3227
3228         Fixes <http://webkit.org/b/56028> Would like a Shark-like tool for viewing leaks from leak bots
3229
3230         Reviewed by Darin Adler.
3231
3232         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css: Added.
3233         (#url-prompt-container): This is the dark overlay that is shown behind the URL prompt.
3234         (#url-prompt): This is the prompt itself.
3235
3236         (#loading-indicator):
3237         (#loading-indicator > img):
3238         These show a spinner in the bottom-right when we're loading a leaks file.
3239
3240         (.percent-time-status-bar-item): Hide the Percent button since we never want to show leaks
3241         as percentages.
3242
3243         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js: Added.
3244         (LeaksViewer.loaded): Initialize ourselves and start loading the leaks file (or prompt for a
3245         URL if one wasn't given to us as a query parameter).
3246
3247         (LeaksViewer.get loading):
3248         (LeaksViewer.set loading):
3249         (LeaksViewer.get url):
3250         (LeaksViewer.set url):
3251         Pretty simple accessors.
3252
3253         (LeaksViewer.urlPromptButtonClicked): Start loading the URL from the prompt and hide the
3254         prompt.
3255         (LeaksViewer._displayURLPrompt): Show the prompt and focus the URL input.
3256         (LeaksViewer._loadLeaksFromURL): Start fetching the leaks file. When we've retrieved the
3257         file, hand it off to a Web Worker that will parse it into a fake "profile", then hand off
3258         the profile to the Web Inspector code once it's been created.
3259         (LeaksViewer._loadingStatusChanged): Update our loading indicator and title.
3260         (LeaksViewer._setLoadingIndicatorHidden): Simply hide or show the indicator.
3261         (LeaksViewer._updateTitle): Set our title based on our URL and loading status.
3262         (getResource): Helper function to fetch a resource via XHR and pass it to a callback.
3263
3264         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/WebInspectorShims.js: Added.
3265         (WebInspector.UIString): Just a simple implementation since this tool isn't localized.
3266         (ProfilerAgent.getProfile): Store the callback.
3267         (ProfilerAgent.profileReady): Call the callback.
3268         (monkeyPatchInspectorObjects): Fix up WebInspector.ProfileDataGridNode to show the self leak
3269         count and total leak counts as real values, not percentages or milliseconds.
3270
3271         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Worker.js: Added.
3272         (onmessage): Create a profile based on the leaks file and pass it back to our caller.
3273         (parseLeaks): Extract call stacks out of a leaks file.
3274         (createNode): Helper function to create a new empty profile node.
3275         (createProfile): Take the leak stacks and turn them into a fake "profile" for consumption by
3276         WebInspector.ProfileView.
3277
3278         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added.
3279
3280 2011-03-09  Dan Bernstein  <mitz@apple.com>
3281
3282         Reviewed by Adam Roben.
3283
3284         Combine multiple --ignore-tests values
3285         https://bugs.webkit.org/show_bug.cgi?id=56016
3286
3287         * Scripts/old-run-webkit-tests:
3288
3289 2011-03-08  Kenji Imasaki  <imasaki@chromium.org>
3290
3291         Reviewed by David Levin.
3292
3293         Adding myself to the committer file.
3294
3295         * Scripts/webkitpy/common/config/committers.py:
3296
3297 2011-03-08  Jessie Berlin  <jberlin@apple.com>
3298
3299         Rubber-stamped by Adam Roben.
3300
3301         Fix two leaks I introduced into the API tests.
3302
3303         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
3304         (TestWebKitAPI::TEST):
3305
3306 2011-03-08  Jessie Berlin  <jberlin@apple.com>
3307
3308         Reviewed by Anders Carlsson.
3309
3310         Crash in CFNetwork visiting google.com
3311         https://bugs.webkit.org/show_bug.cgi?id=55958
3312
3313         Add a test for not trying to copy a null CFURLResponse.
3314
3315         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp: Added.
3316         (TestWebKitAPI::TEST):
3317         * TestWebKitAPI/win/TestWebKitAPI.vcproj:
3318
3319 2011-03-08  Hayato Ito  <hayato@chromium.org>
3320
3321         Reviewed by Ojan Vafai.
3322
3323         [NRWT] Renamed a FailureWithType class to a ComparisonTestFailure class.
3324
3325         FailureWithType is a confusing naming because we have removed test_type/* classes in r79840.
3326
3327         https://bugs.webkit.org/show_bug.cgi?id=55450
3328
3329         * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
3330
3331 2011-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
3332
3333         Reviewed by Martin Robinson.
3334
3335         [GTK] Add layoutTestController.setValueForUser() after r80412
3336         https://bugs.webkit.org/show_bug.cgi?id=55862
3337
3338         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3339         (LayoutTestController::setValueForUser): Implement setValueForUser()
3340
3341 2011-03-08  Patrick Gansterer  <paroga@webkit.org>
3342
3343         Reviewed by Adam Barth.
3344
3345         Add script_shell_command to WebKitPort
3346         https://bugs.webkit.org/show_bug.cgi?id=55925
3347
3348         Add a central place where we generate the shell command from the script name.
3349         This function will be used later to detect the correct script interpreter on Win32.
3350
3351         * Scripts/webkitpy/common/config/ports.py:
3352         * Scripts/webkitpy/layout_tests/port/base.py:
3353         * Scripts/webkitpy/tool/steps/abstractstep.py:
3354         * Scripts/webkitpy/tool/steps/preparechangelog.py:
3355
3356 2011-03-07  Ojan Vafai  <ojan@chromium.org>
3357
3358         Reviewed by Adam Barth.
3359
3360         add webkit-patch attach-to-bug for posting to bugzilla from the commandline
3361         https://bugs.webkit.org/show_bug.cgi?id=55749
3362
3363         * Scripts/webkitpy/tool/commands/upload.py:
3364         * Scripts/webkitpy/tool/commands/upload_unittest.py:
3365         * Scripts/webkitpy/tool/steps/__init__.py:
3366         * Scripts/webkitpy/tool/steps/attachtobug.py: Added.
3367         * Scripts/webkitpy/tool/steps/options.py:
3368
3369 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
3370
3371         Reviewed by David Levin.
3372
3373         Add support for DataTransferItems
3374         https://bugs.webkit.org/show_bug.cgi?id=55115
3375
3376         Enable data transfer items in DRT.
3377
3378         * DumpRenderTree/chromium/TestShell.cpp:
3379         (TestShell::TestShell):
3380
3381 2011-03-06  Ojan Vafai  <ojan@chromium.org>
3382
3383         Reviewed by Tony Chang.
3384
3385         [test dashboard] pull treemap files
3386         https://bugs.webkit.org/show_bug.cgi?id=55852
3387
3388         * TestResultServer/handlers/dashboardhandler.py:
3389
3390 2011-03-03  Hayato Ito  <hayato@chromium.org>
3391
3392         Reviewed by Mihai Parparita.
3393
3394         [NRWT] Clear output image file used by DumpRenderTree to make sure the
3395         previous image should not be used in the ChromiumDriver.
3396
3397         Also make sure that output image from the ChromiumDriver should be ''
3398         (empty string) if a test crashes for consistency with the WebKitDriver
3399         implementation.
3400
3401         https://bugs.webkit.org/show_bug.cgi?id=55746
3402
3403         * Scripts/webkitpy/layout_tests/port/chromium.py:
3404
3405 2011-03-07  Zan Dobersek  <zandobersek@gmail.com>
3406
3407         Reviewed by Martin Robinson.
3408
3409         [Gtk] fast/js/navigator-language.html fails locally
3410         https://bugs.webkit.org/show_bug.cgi?id=55880
3411
3412         Add LANG variable to the clean environment when running
3413         old-run-webkit-tests script.
3414
3415         * Scripts/old-run-webkit-tests:
3416
3417 2011-03-07  Tony Chang  <tony@chromium.org>
3418
3419         Reviewed by Mihai Parparita.
3420
3421         [Chromium] Find .checksum files without .pngs and vice-versa
3422         https://bugs.webkit.org/show_bug.cgi?id=55236
3423
3424         * Scripts/find-mismatched-layout-test-results: Added. A script for finding
3425             mismatched results.
3426
3427 2011-03-07  Chris Fleizach  <cfleizach@apple.com>
3428
3429         Reviewed by Beth Dakin.
3430
3431         AX: WK1 needs to use the ScrollView attachment for AXScrollArea, WK2 should not use this element.
3432         https://bugs.webkit.org/show_bug.cgi?id=55706
3433
3434         The rootElement in DRT should point to the scroll view. In WK1, that will be the parent of the rootObject.
3435
3436         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3437         (AccessibilityController::focusedElement):
3438            Remove FIXME comment about caching the focusedElement. In fact, we shouldn't cache this 
3439            because it could change at any time.
3440         (AccessibilityController::rootElement):
3441
3442 2011-03-07  Sam Weinig  <sam@webkit.org>
3443
3444         Reviewed by Anders Carlsson.
3445
3446         Add unableToImplementPolicy callback for WebKit2 policy client
3447         <rdar://problem/9071902>
3448         https://bugs.webkit.org/show_bug.cgi?id=55884
3449
3450         * MiniBrowser/mac/BrowserWindowController.m:
3451         (-[BrowserWindowController awakeFromNib]):
3452         Update policy client initialization struct for new member.
3453
3454 2011-03-07  Sam Weinig  <sam@webkit.org>
3455
3456         Reviewed by Anders Carlsson.
3457
3458         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
3459         https://bugs.webkit.org/show_bug.cgi?id=55827
3460
3461         * MiniBrowser/mac/BrowserWindowController.m:
3462         (decidePolicyForResponse):
3463         (-[BrowserWindowController awakeFromNib]):
3464         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
3465         (TestWebKitAPI::decidePolicyForResponse):
3466         (TestWebKitAPI::TEST):
3467         Update tools for new name.
3468
3469 2011-03-06  Daniel Bates  <dbates@rim.com>
3470
3471         Reviewed by Eric Seidel and David Kilzer.
3472
3473         Fix misspelled word in build-webkit's checkForJavaSDK() and sort forward declarations
3474         https://bugs.webkit.org/show_bug.cgi?id=55503
3475
3476         Fix misspelled word "Dowloads" [sic] in the message printed to standard output
3477         in checkForJavaSDK().
3478
3479         Also, remove extraneous space in function prototype for unlinkZeroFiles.
3480
3481         * Scripts/build-webkit:
3482
3483 2011-03-05  Brian Weinstein  <bweinstein@apple.com>
3484
3485         Reviewed by Sam Weinig.
3486
3487         Fix Web Process crashes caused by https://bugs.webkit.org/show_bug.cgi?id=53919.
3488
3489         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3490         (WTR::InjectedBundlePage::willSendRequestForFrame): Retain the WKURLRequestRef returned
3491             by willSendRequestForFrame. The API expects a retained reference to the URL request.
3492
3493 2011-03-05  Ilya Sherman  <isherman@chromium.org>
3494
3495         Reviewed by Darin Adler.
3496
3497         HTMLInputElement::setValue() should schedule change event when the element is focused
3498         In service of https://code.google.com/p/chromium/issues/detail?id=42716
3499         https://bugs.webkit.org/show_bug.cgi?id=53160
3500
3501         * DumpRenderTree/LayoutTestController.cpp:
3502         (setValueForUserCallback):
3503         (LayoutTestController::staticFunctions):
3504         * DumpRenderTree/LayoutTestController.h:
3505         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3506         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
3507         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3508         (LayoutTestController::setValueForUser): Expose HTMLInputElement::setValueForUser() to tests
3509         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3510         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
3511         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3512         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
3513         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3514         (LayoutTestController::setValueForUser): Stubbed out; need real implementation.
3515
3516 2011-03-04  Mark Rowe  <mrowe@apple.com>
3517
3518         Reviewed by Alexey Proskuryakov.
3519
3520         <rdar://problem/9055252> DumpRenderTree is crashing with GuardMalloc
3521
3522         GuardMalloc does not expect the memory containing its malloc_zone_t to ever be read-only.
3523         
3524         * DumpRenderTree/mac/CheckedMalloc.cpp:
3525         (protectionOfRegion): Retrieve the protection flags for the VM region containing the given address.
3526         (makeLargeMallocFailSilently): Save the initial protection flags, temporarily make the region writeable,
3527         and then restore the initial protection flags when we're done.
3528
3529 2011-03-04  Evan Martin  <evan@chromium.org>
3530
3531         Reviewed by Tony Chang.
3532
3533         [gdb] pretty-print KURL in gdb
3534         https://bugs.webkit.org/show_bug.cgi?id=55788
3535
3536         * gdb/webkit.py: extend the pretty-printers to print WTF::CString
3537         and KURLGooglePrivate.  As always, "p/r" can be used to sidestep
3538         pretty-printing.
3539
3540 2011-03-03  Timothy Hatcher  <timothy@apple.com>
3541
3542         Update the tests that use WKPageRunJavaScriptInMainFrame use the WKSerializedScriptValueRef.
3543
3544         Reviewed by Darin Adler.
3545
3546         * TestWebKitAPI/JavaScriptTest.cpp:
3547         (TestWebKitAPI::javaScriptCallback):
3548         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
3549         (TestWebKitAPI::didRunJavaScript):
3550         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
3551         (TestWebKitAPI::nullJavaScriptCallback):
3552         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
3553         (TestWebKitAPI::didRunJavaScript):
3554
3555 2011-03-03  Timothy Hatcher  <timothy@apple.com>
3556
3557         Make run-api-tests show failed if a test fails.
3558
3559         https://webkit.org/b/55725
3560
3561         Reviewed by Sam Weinig.
3562
3563         * Scripts/run-api-tests:
3564         (runTest): Remove "my" from the nested $result assignment so the
3565         check outside the condition sees the real result.
3566
3567 2011-03-02  MORITA Hajime  <morrita@google.com>
3568
3569         Reviewed by Kent Tamura.
3570
3571         [Chromium][DRT] WebTask should use webkit_support::TaskAdaptor
3572         https://bugs.webkit.org/show_bug.cgi?id=55434
3573
3574         Changed WebTask to be a subclass of webkit_support::TaskAdaptor
3575         and passed the object webkit_support::PostDelayedTask directly.
3576
3577         Note that the change keeps postTask() as is because it has a
3578         semantics taht webkit_support::PostDelayedTask() has; It jumps to
3579         the main thread.
3580
3581         * DumpRenderTree/chromium/Task.cpp:
3582         (postDelayedTask):
3583         * DumpRenderTree/chromium/Task.h:
3584         (WebTask::Run):
3585
3586 2011-03-03  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
3587
3588         Reviewed by Kenneth Rohde Christiansen.
3589
3590         [QT] Implement mock client-based geolocation for layout testing
3591         https://bugs.webkit.org/show_bug.cgi?id=54334
3592
3593         Implement testing for Client-Based geolocation for QtWebkit.
3594
3595         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3596         (WebCore::DumpRenderTree::DumpRenderTree):
3597         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3598         (LayoutTestController::reset):
3599         (LayoutTestController::setGeolocationPermission):
3600         (LayoutTestController::setMockGeolocationError):
3601         (LayoutTestController::setMockGeolocationPosition):
3602
3603 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
3604
3605         Unreviewed, rolling out r80237.
3606         http://trac.webkit.org/changeset/80237
3607         https://bugs.webkit.org/show_bug.cgi?id=55714
3608
3609         Windows bots aren't ready to be core (Requested by aroben on
3610         #webkit).
3611
3612         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
3613         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
3614
3615 2011-03-03  Mihai Parparita  <mihaip@chromium.org>
3616
3617         Reviewed by Tony Chang.
3618
3619         NRWT: AttributeError: TestRunner2 instance has no attribute '_cancel_workers'
3620         https://bugs.webkit.org/show_bug.cgi?id=55694
3621         
3622         Fixes for interruptions in NRWT:
3623         - Make TestRunInterruptedException be pickleable correctly (the base
3624           Exception class defines a __reduce__ that does not include the reason)
3625         - Fix ordering of returned arguments from TestRunner2._run_tests
3626           (interrupted and keyboard_interrupted were reversed)
3627         - Fix cancel_workers callsites (was using old name).
3628         - In handle_exception re-raise actual exception instance that was thrown
3629
3630         * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
3631         * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
3632         * Scripts/webkitpy/layout_tests/layout_package/worker.py:
3633         * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3634
3635 2011-03-03  Qi Zhang  <qi.2.zhang@nokia.com>
3636
3637         Unreviewed.
3638
3639         Adding myself as a committer.
3640
3641         * Scripts/webkitpy/common/config/committers.py:
3642
3643 2011-03-03  Tony Gentilcore  <tonyg@chromium.org>
3644
3645         Reviewed by Mihai Parparita.
3646
3647         Teach sheriffbot to answer whois commands
3648         https://bugs.webkit.org/show_bug.cgi?id=55687