Unreviewed, rolling out r117675.
[WebKit-https.git] / Tools / ChangeLog
1 2012-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed, rolling out r117675.
4         http://trac.webkit.org/changeset/117675
5         https://bugs.webkit.org/show_bug.cgi?id=86938
6
7         Broke builds. You can't initialize members by members
8         themselves (Requested by rniwa on #webkit).
9
10         * DumpRenderTree/chromium/LayoutTestController.cpp:
11         (LayoutTestController::numberOfPages):
12         * DumpRenderTree/chromium/WebViewHost.cpp:
13         (WebViewHost::printPage):
14
15 2012-05-18  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
16
17         [chromium] User overloaded printBegin() webkit API to support auto fit to page functionality.
18         https://bugs.webkit.org/show_bug.cgi?id=86684
19
20         Reviewed by Darin Fisher.
21
22         * DumpRenderTree/chromium/LayoutTestController.cpp:
23         (LayoutTestController::numberOfPages):
24         * DumpRenderTree/chromium/WebViewHost.cpp:
25         (WebViewHost::printPage):
26
27 2012-05-18  Raphael Kubo da Costa  <rakuco@webkit.org>
28
29         [EFL][DRT] Make it possible to enable CSS Grid Layout.
30         https://bugs.webkit.org/show_bug.cgi?id=86921
31
32         Reviewed by Tony Chang.
33
34         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
35         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
36         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
37         (LayoutTestController::overridePreference):
38
39 2012-05-18  Dirk Pranke  <dpranke@chromium.org>
40
41         scm.add() doesn't work properly with svn 1.7
42         https://bugs.webkit.org/show_bug.cgi?id=86779
43
44         Reviewed by Eric Seidel.
45
46         Re-land the change in r117526 with a fix to maintain
47         compatibility with SVN 1.4.4 (yay Leopard!); turns out
48         that "svn info foo" works correctly in 1.4.4 but
49         "svn info" from the directory "foo" doesn't if foo is
50         not part of a checkout. in_working_directory() and
51         value_from_svn_info() were using the arguments inconsistently,
52         leading to weird errors.
53
54         * Scripts/webkitpy/common/checkout/scm/scm.py:
55         (SCM):
56         (SCM.in_working_directory):
57         * Scripts/webkitpy/common/checkout/scm/svn.py:
58         (SVN):
59         (SVN.in_working_directory):
60
61 2012-05-18  Levi Weintraub  <leviw@chromium.org>
62
63         Unreviewed. Moving myself from committer to reviewer.
64
65         * Scripts/webkitpy/common/config/committers.py:
66
67 2012-05-18  Thiago Marcos P. Santos  <thiago.santos@intel.com>
68
69         [EFL] Buildbot output does not print result stats anymore
70         https://bugs.webkit.org/show_bug.cgi?id=85366
71
72         Reviewed by Ryosuke Niwa.
73
74         Make run-webkit-tests pass --verbose to new-run-webkit-tests
75         on EFL Debug bot.
76
77         * Scripts/run-webkit-tests:
78         (runningOnBuildBot):
79
80 2012-05-18  Tony Chang  <tony@chromium.org>
81
82         remove the CSS_GRID_LAYOUT compiler define, but default grid layout to off
83         https://bugs.webkit.org/show_bug.cgi?id=86767
84
85         Reviewed by Ojan Vafai.
86
87         * DumpRenderTree/chromium/LayoutTestController.cpp:
88         (LayoutTestController::overridePreference):
89         * DumpRenderTree/chromium/WebPreferences.cpp:
90         (WebPreferences::reset):
91         (WebPreferences::applyTo):
92         * DumpRenderTree/chromium/WebPreferences.h:
93         (WebPreferences):
94         * Scripts/webkitperl/FeatureList.pm:
95
96 2012-05-18  Hugo Parente Lima  <hugo.lima@openbossa.org>
97
98         [Qt][WK2] fast/events/page-visibility-iframe-move-test.html fails
99         https://bugs.webkit.org/show_bug.cgi?id=86731
100
101         Reviewed by Simon Hausmann.
102
103         Set the page visibility on a single page instead of on all pages
104         from the page group.
105
106         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
107         (WTR::LayoutTestController::setPageVisibility):
108         (WTR::LayoutTestController::resetPageVisibility):
109
110 2012-05-18  Yi Shen  <yi.4.shen@nokia.com>
111
112         REGRESSION (r102553): Smart links do not work
113         https://bugs.webkit.org/show_bug.cgi?id=85463
114
115         Reviewed by Ryosuke Niwa.
116
117         Add LayoutTestController::setAutomaticLinkDetectionEnabled().
118
119         * DumpRenderTree/LayoutTestController.cpp:
120         (setAutomaticLinkDetectionEnabledCallback):
121         (LayoutTestController::staticFunctions):
122         * DumpRenderTree/LayoutTestController.h:
123         (LayoutTestController):
124         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
125         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
126         * DumpRenderTree/chromium/LayoutTestController.cpp:
127         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
128         * DumpRenderTree/chromium/LayoutTestController.h:
129         (LayoutTestController):
130         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
131         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
132         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
133         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
134         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
135         (LayoutTestController::setAutomaticLinkDetectionEnabled): Set automatic link detection enabled.
136         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
137         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
138         * DumpRenderTree/qt/LayoutTestControllerQt.h:
139         (LayoutTestController):
140         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
141         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
142         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
143         (LayoutTestController::setAutomaticLinkDetectionEnabled): Not implemented.
144
145 2012-05-18  Thiago Marcos P. Santos  <thiago.santos@intel.com>
146
147         [EFL] Add shortcut to dump Security Origin and Web Database information
148         https://bugs.webkit.org/show_bug.cgi?id=86521
149
150         Reviewed by Gustavo Noronha Silva.
151
152         Added key combination (CTRL+s) to dump information about the
153         security origin and databases of the main frame. Useful for API
154         testing and debugging.
155
156         * EWebLauncher/main.c:
157         (on_key_down):
158
159 2012-05-18  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
160
161         [EFL] DRT needs an implementation of layoutTestController.setSerializeHTTPLoads
162         https://bugs.webkit.org/show_bug.cgi?id=86101
163
164         Reviewed by Ryosuke Niwa.
165
166         Add missing implementation setSerializeHTTPLoads to allow
167         testing resource load order.
168
169         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
170         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
171         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
172         (LayoutTestController::setSerializeHTTPLoads):
173
174 2012-05-18  Jochen Eisinger  <jochen@chromium.org>
175
176         [chromium] plumb the frame for which a drag was initiated to the WebViewClient
177
178         https://bugs.webkit.org/show_bug.cgi?id=86670
179
180         Reviewed by Kent Tamura.
181
182         * DumpRenderTree/chromium/WebViewHost.cpp:
183         (WebViewHost::startDragging):
184         * DumpRenderTree/chromium/WebViewHost.h:
185         (WebViewHost):
186
187 2012-05-18  Christophe Dumez  <christophe.dumez@intel.com>
188
189         [EFL] appcache tests are flaky
190         https://bugs.webkit.org/show_bug.cgi?id=86619
191
192         Reviewed by Ryosuke Niwa.
193
194         Correctly set the application cache database path in EFL's
195         DumpRenderTree initialization code.
196
197         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
198         (DumpRenderTreeChrome::initialize):
199
200 2012-05-17  Raphael Kubo da Costa  <rakuco@webkit.org>
201
202         [EFL][DRT] Call resetInternalsObject() after each test.
203         https://bugs.webkit.org/show_bug.cgi?id=86793
204
205         Reviewed by Antonio Gomes.
206
207         We need to reset the internals object's settings after running
208         each test so that there are no interferences between each test's
209         results.
210
211         * DumpRenderTree/efl/DumpRenderTree.cpp:
212         (runTest):
213
214 2012-05-17  Sheriff Bot  <webkit.review.bot@gmail.com>
215
216         Unreviewed, rolling out r117526.
217         http://trac.webkit.org/changeset/117526
218         https://bugs.webkit.org/show_bug.cgi?id=86801
219
220         broke Chromium Mac 10.5 layout test canaries (Requested by
221         pkasting on #webkit).
222
223         * Scripts/webkitpy/common/checkout/scm/scm.py:
224         (SCM):
225         (SCM.in_working_directory):
226         * Scripts/webkitpy/common/checkout/scm/svn.py:
227         (SVN):
228         (SVN.in_working_directory):
229
230 2012-05-17  Dirk Pranke  <dpranke@chromium.org>
231
232         scm.add() doesn't work properly with svn 1.7
233         https://bugs.webkit.org/show_bug.cgi?id=86779
234
235         Reviewed by Ojan Vafai.
236
237         The code relied on '.svn' directories being present
238         in order to tell if a directory had already been added to the
239         repository; this is no longer true in SVN 1.7.
240
241         * Scripts/webkitpy/common/checkout/scm/scm.py:
242         (SCM):
243         (SCM.in_working_directory):
244         * Scripts/webkitpy/common/checkout/scm/svn.py:
245         (SVN):
246         (SVN.in_working_directory):
247
248 2012-05-17  Jon Lee  <jonlee@apple.com>
249
250         Update Apple buildbots to prioritize latest changelists
251         https://bugs.webkit.org/show_bug.cgi?id=86766
252
253         Reviewed by Brady Eidson.
254
255         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
256         (pickLatestBuild): Function to get the most pick the most recent build request.
257         (loadBuilderConfig): Configure builders in the AppleMac and AppleWin categories to
258         use the pickLatestBuild function when choosing which request to build next.
259
260 2012-05-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
261
262         [Qt] Fix MiniBrowser by using correct syntax for qrc URLs
263         https://bugs.webkit.org/show_bug.cgi?id=86761
264
265         Reviewed by Alexis Menard.
266
267         * MiniBrowser/qt/BrowserWindow.cpp:
268         (BrowserWindow::BrowserWindow):
269         (BrowserWindow::updateVisualMockTouchPoints):
270
271 2012-05-17  Thiago Marcos P. Santos  <thiago.santos@intel.com>
272
273         [EFL] Add API for Web Database handling
274         https://bugs.webkit.org/show_bug.cgi?id=85178
275
276         Reviewed by Antonio Gomes.
277
278         Use the newly introduced Web Database API in EFL's DRT.
279
280         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
281         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
282         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
283         (LayoutTestController::clearAllDatabases):
284
285 2012-05-17  Dan Bernstein  <mitz@apple.com>
286
287         REGRESSION (r117428): WebKit API/SPI was removed
288         https://bugs.webkit.org/show_bug.cgi?id=86748
289
290         Reverted r117428.
291
292         * DumpRenderTree/LayoutTestController.cpp:
293         (setDomainRelaxationForbiddenForURLSchemeCallback):
294         (LayoutTestController::staticFunctions):
295         * DumpRenderTree/LayoutTestController.h:
296         (LayoutTestController):
297         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
298         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
299         * DumpRenderTree/chromium/LayoutTestController.cpp:
300         (LayoutTestController::LayoutTestController):
301         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
302         * DumpRenderTree/chromium/LayoutTestController.h:
303         (LayoutTestController):
304         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
305         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
306         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
307         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
308         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
309         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
310         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
311         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
312         * DumpRenderTree/qt/LayoutTestControllerQt.h:
313         (LayoutTestController):
314         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
315         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
316         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
317         (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
318
319 2012-05-17  Li Yin  <li.yin@intel.com>
320
321         [chromium] run-webkit-tests can't work on ubuntu 12.04
322         https://bugs.webkit.org/show_bug.cgi?id=86565
323
324         Reviewed by Kent Tamura.
325
326         On ubuntu 12.04, the package ttf-thai-tlwg install the Garuda.ttf
327         into /usr/share/fonts/truetype/tlwg/Garuda.ttf, not /usr/share/fonts/truetype/thai/Garuda.ttf
328
329         * DumpRenderTree/chromium/TestShellLinux.cpp:
330         (checkAndLoadFontFile):
331         (setupFontconfig):
332
333 2012-05-17  Elliot Poger  <epoger@chromium.org>
334
335         Add setting of additional_expectations option to 
336         chromium_unittest.test_overrides_and_builder_names(),
337         so we can test order in which the base and chromium expectations files
338         are combined.
339
340         https://bugs.webkit.org/show_bug.cgi?id=86642
341
342         Reviewed by Dirk Pranke.
343
344         * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
345         (ChromiumPortTest.test_overrides_and_builder_names):
346
347 2012-05-17  Balazs Kelemen  <kbalazs@webkit.org>
348
349         [Qt] Web process hangs while waiting for plugin process connection during layouttests
350         https://bugs.webkit.org/show_bug.cgi?id=86620
351
352         Reviewed by Csaba Osztrogonác.
353
354         Reenable TestNetscapePlugin with Qt 4.
355
356         * Tools.pro:
357
358 2012-05-17  Hugo Parente Lima  <hugo.lima@openbossa.org>
359
360         [Qt][WK2] fast/events/page-visibility-* tests fail
361         https://bugs.webkit.org/show_bug.cgi?id=83263
362
363         Reviewed by Kenneth Rohde Christiansen.
364
365         Handle "preview" state and avoid string conversion.
366
367         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
368         (WTR::LayoutTestController::setPageVisibility):
369
370 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
371
372         Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
373         https://bugs.webkit.org/show_bug.cgi?id=86704
374
375         Reviewed by Eric Seidel.
376
377         Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
378         cross-port way through the InternalSettings interface.
379
380         * DumpRenderTree/LayoutTestController.cpp:
381         (LayoutTestController::staticFunctions):
382         * DumpRenderTree/LayoutTestController.h:
383         (LayoutTestController):
384         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
385         * DumpRenderTree/chromium/LayoutTestController.cpp:
386         (LayoutTestController::LayoutTestController):
387         * DumpRenderTree/chromium/LayoutTestController.h:
388         (LayoutTestController):
389         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
390         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
391         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
392         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
393         * DumpRenderTree/qt/LayoutTestControllerQt.h:
394         (LayoutTestController):
395         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
396         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
397
398 2012-05-17  Mariusz Grzegorczyk  <mariusz.g@samsung.com>
399
400         [EFL] [DRT] EFL's DumpRenderTree should support LayoutTestController's dumpEditingCallbacks()
401         https://bugs.webkit.org/show_bug.cgi?id=84835
402
403         Reviewed by Eric Seidel.
404
405         Added editing callbacks implementation.
406
407         * DumpRenderTree/efl/CMakeLists.txt: Add EditingCallbacks.cpp to compilation.
408         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp: Invoke connectEditingCallbacks.
409         (DumpRenderTreeChrome::createView):
410         * DumpRenderTree/efl/EditingCallbacks.cpp: Added. Dump editing callbacks.
411         (dumpPath):
412         (dumpRange):
413         (insertActionString):
414         (selectionAffinityString):
415         (shouldBeginEditing):
416         (shouldEndEditing):
417         (shouldInsertNode):
418         (shouldInsertText):
419         (shouldDeleteRange):
420         (shouldChangeSelectedRange):
421         (shouldApplyStyle):
422         (editingBegan):
423         (userChangedContents):
424         (editingEnded):
425         (selectionChanged):
426         (connectEditingCallbacks):
427         * DumpRenderTree/efl/EditingCallbacks.h: Added.
428
429 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
430
431         Unreviewed. Roll out r117382 because of layout test crashes on EFL debug buildbot.
432
433         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
434         (DumpRenderTreeChrome::initialize):
435
436 2012-05-17  Kentaro Hara  <haraken@chromium.org>
437
438         [Performance test] In perftest.py, do not include 'description' in 'results'
439         https://bugs.webkit.org/show_bug.cgi?id=86696
440
441         Reviewed by Csaba Osztrogoná.
442
443         'results' in perftest.py should not include any data that is not expected
444         by the perf bot server. We do not need to send 'description' to the perf bot
445         server since 'description' is always the same.
446
447         Thus this patch just removes 'description' from 'results'.
448
449         * Scripts/webkitpy/performance_tests/perftest.py:
450         (PerfTest.parse_output):
451         (PerfTest.output_statistics):
452         (ChromiumStylePerfTest.parse_output):
453         (PageLoadingPerfTest.run):
454
455 2012-05-17  Kentaro Hara  <haraken@chromium.org>
456
457         [Performance test] Always fill results['description'] in perftest.py
458         https://bugs.webkit.org/show_bug.cgi?id=86696
459
460         Reviewed by Ryosuke Niwa.
461
462         This is a follow-up patch for r117397 to fix perf bot failures.
463         This patch fills results['description'] always.
464
465         * Scripts/webkitpy/performance_tests/perftest.py:
466         (PageLoadingPerfTest.run):
467
468 2012-05-16  Kentaro Hara  <haraken@chromium.org>
469
470         [Performance test] Support "description" for PerfTestRunner.run and PerfTestRunner.runPerSecond
471         https://bugs.webkit.org/show_bug.cgi?id=86696
472
473         Reviewed by Ryosuke Niwa.
474
475         We want to add some description for each PerfTestRunner.run and
476         PerfTestRunner.runPerSecond, so that people can know what each
477         run is testing.
478
479         Output example:
480
481         $ ./Tools/Scripts/run-perf-tests Bindings/first-child.html
482         Running Bindings/first-child.html (1 of 1)
483         DESCRIPTION: Benchmark for DOM attributes that return a Node object.
484         RESULT Bindings: first-child= 788.359076534 runs/s
485         median= 797.508097751 runs/s, stdev= 19.0972905207 runs/s, min= 746.666666667 runs/s, max= 801.001251564 runs/s
486
487         * Scripts/webkitpy/performance_tests/perftest.py:
488         (PerfTest):
489         (PerfTest.parse_output):
490         (PerfTest.output_statistics):
491
492 2012-05-16  Christophe Dumez  <christophe.dumez@intel.com>
493
494         [EFL] appcache tests are flaky
495         https://bugs.webkit.org/show_bug.cgi?id=86619
496
497         Reviewed by Gustavo Noronha Silva.
498
499         Correctly set the application cache database path in EFL's
500         DumpRenderTree initialization code.
501
502         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
503         (DumpRenderTreeChrome::initialize):
504
505 2012-05-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
506
507         Add new build slave for EFL port.
508         https://bugs.webkit.org/show_bug.cgi?id=86567
509
510         Reviewed by Ryosuke Niwa.
511
512         Add a build slave for EFL 32-bit linux build.
513
514         * BuildSlaveSupport/build.webkit.org-config/config.json:
515
516 2012-05-16  Kihong Kwon  <kihong.kwon@samsung.com>
517
518         [EFL] Support for Battery Status API on the WebKit-Efl
519         https://bugs.webkit.org/show_bug.cgi?id=83254
520
521         Reviewed by Chang Shu.
522
523         Add e_dbus libraries to jhbuild's modules list.
524
525         * efl/jhbuild.modules:
526
527 2012-05-16  Christophe Dumez  <christophe.dumez@intel.com>
528
529         [EFL] Rounding errors on 32-bit machines causes tests to fail
530         https://bugs.webkit.org/show_bug.cgi?id=86194
531
532         Reviewed by Martin Robinson.
533
534         Pass additional CXXFLAGS to CMake in an attempt to harmonize floating
535         point values between 32-bit and 64-bit architectures.
536         Same flags are already used by Qt and GTK ports. 
537
538         * Scripts/webkitdirs.pm:
539         (determineArchitecture):
540         (generateBuildSystemFromCMakeProject):
541
542 2012-05-16  Balazs Kelemen  <kbalazs@webkit.org>
543
544         [Qt] Web process hangs while waiting for plugin process connection during layouttests
545         https://bugs.webkit.org/show_bug.cgi?id=86620
546
547         Reviewed by Csaba Osztrogonác.
548
549         Temporary workaround not to fail layout tests.
550
551         * Tools.pro: Disable TestNetscapePlugin.
552
553 2012-05-16  Dinu Jacob  <dinu.jacob@nokia.com>
554
555         Add didFinishProgress BundleUIClient callback
556         https://bugs.webkit.org/show_bug.cgi?id=86541
557
558         Reviewed by Kenneth Rohde Christiansen.
559
560         Added support for dumpProgressFinishedCallback.
561
562         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
563         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
564         (WTR::InjectedBundlePage::InjectedBundlePage):
565         (WTR::InjectedBundlePage::didFinishProgress):
566         (WTR):
567         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
568         (InjectedBundlePage):
569         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
570         (WTR::LayoutTestController::LayoutTestController):
571         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
572         (WTR::LayoutTestController::dumpProgressFinishedCallback):
573         (WTR::LayoutTestController::setShouldDumpProgressFinishedCallback):
574         (WTR::LayoutTestController::shouldDumpProgressFinishedCallback):
575         (LayoutTestController):
576
577 2012-05-15  Pierre Rossi  <pierre.rossi@gmail.com>
578
579         [Qt] Enable SVG Fonts by default
580         https://bugs.webkit.org/show_bug.cgi?id=86463
581
582         Reviewed by Nikolas Zimmermann.
583
584         * qmake/mkspecs/features/features.pri:
585
586 2012-05-16  Christophe Dumez  <christophe.dumez@intel.com>
587
588         [EFL] EFL's LayoutTestController does not implement setApplicationCacheOriginQuota
589         https://bugs.webkit.org/show_bug.cgi?id=85585
590
591         Reviewed by Gustavo Noronha Silva.
592
593         Implement setApplicationCacheOriginQuota in EFL's
594         LayoutTestController.
595
596         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
597         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
598         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
599         (onExceededApplicationCacheQuota):
600         (drtViewAdd):
601         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
602         (LayoutTestController::setApplicationCacheOriginQuota):
603
604 2012-05-16  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
605
606         [EFL] EFL's LayoutTestController  evaluateScriptInIsolatedWorld implementation
607         https://bugs.webkit.org/show_bug.cgi?id=83776
608
609         Reviewed by Tor Arne Vestbø.
610
611         Added missing implementation of LayoutTestController::evaluateScriptInIsolatedWorld().
612
613         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
614         (LayoutTestController::evaluateScriptInIsolatedWorld):
615
616 2012-05-16  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
617
618         Unreviewed. Add myself as a committer.
619
620         * Scripts/webkitpy/common/config/committers.py:
621
622 2012-05-15  Kangil Han  <kangil.han@samsung.com>
623
624         [EFL][DRT] Fix eventSender key providing
625         https://bugs.webkit.org/show_bug.cgi?id=84710
626
627         Reviewed by Andreas Kling.
628
629         Currently eventSender doesn't provide key event correctly.
630         For example, 'Right' will be visible when 'right arrow' key event is fired.
631         Given circumstance, nothing has to be shown.
632         Therefore, this patch fixed incorrectly provided key event.
633
634         * DumpRenderTree/efl/EventSender.cpp:
635         (KeyEventInfo::KeyEventInfo):
636         (KeyEventInfo):
637         (keyPadNameFromJSValue):
638         (keyNameFromJSValue):
639         (createKeyEventInfo):
640         (sendKeyDown):
641
642 2012-05-15  Dan Bernstein  <mitz@apple.com>
643
644         Fixed a typo.
645
646         * Scripts/copy-webkitlibraries-to-product-directory:
647
648 2012-05-15  Kihong Kwon  <kihong.kwon@samsung.com>
649
650         [EFL] Enable Fullscreen API
651         https://bugs.webkit.org/show_bug.cgi?id=85870
652
653         Reviewed by Antonio Gomes.
654
655         Enable full screen api feature on the EFL port.
656         There are two failed test cases under LayoutTests/fullscreen.
657         They are going to be fixed with other patch.
658
659         * Scripts/webkitperl/FeatureList.pm:
660
661 2012-05-15  James Robinson  <jamesr@chromium.org>
662
663         [chromium] Chromium port never sets USE(CG) so code behind it is dead
664         https://bugs.webkit.org/show_bug.cgi?id=86537
665
666         Reviewed by Adrienne Walker.
667
668         Deletes code behind USE(CG) in chromium-specific code and removes unneeded USE(SKIA) guards.
669
670         * DumpRenderTree/chromium/WebViewHost.cpp:
671         (WebViewHost::paintRect):
672
673 2012-05-15  James Robinson  <jamesr@chromium.org>
674
675         [chromium] Remove WEBKIT_USING_(SKIA|CG) #defines
676         https://bugs.webkit.org/show_bug.cgi?id=86536
677
678         Reviewed by Adam Barth.
679
680         Deletes dead WEBKIT_USING_CG code and #ifdefs guarding it.
681
682         * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
683         (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
684         (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
685         * DumpRenderTree/chromium/WebViewHost.cpp:
686         (WebViewHost::paintPagesWithBoundaries):
687
688 2012-05-15  James Robinson  <jamesr@chromium.org>
689
690         [chromium] Unreviewed build fix.
691
692         Partial revert of r117166 - it appears making DumpRenderTree depend on webkit_platform causes crashes in the
693         component build, at least on linux.  This restores Tools/DumpRenderTree to its pre-r117166 state.
694
695         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
696         * DumpRenderTree/chromium/TestWebPlugin.cpp:
697         (TestWebPlugin::initialize):
698
699 2012-05-15  Elliot Poger  <epoger@google.com>
700
701         add unit test for NRWT's --additional-expectations option
702         https://bugs.webkit.org/show_bug.cgi?id=86501
703
704         Reviewed by Ojan Vafai.
705
706         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
707         (PortTest.test_additional_expectations):
708
709 2012-05-15  James Robinson  <jamesr@chromium.org>
710
711         [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
712         https://bugs.webkit.org/show_bug.cgi?id=86524
713
714         Reviewed by Adam Barth.
715
716         Updates TestWebPlugin to use the Platform headers and updates the build dependencies so it can.
717
718         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
719         * DumpRenderTree/chromium/TestWebPlugin.cpp:
720         (TestWebPlugin::initialize):
721
722 2012-05-15  Jessie Berlin  <jberlin@apple.com>
723
724         WKContextSetCacheModel(contextref, kWKCacheModelDocumentViewer) doesn't prevent pages from
725         going into the PageCache.
726         https://bugs.webkit.org/show_bug.cgi?id=85891
727
728         Reviewed by Brady Eidson.
729
730         Set the cache model in DOMWindowExtensionNoCache so that the page cache is not used. This is
731         better than using pages with unload handlers because we may find a way to make pages with
732         unload handlers cacheable in the future.
733
734         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
735         Remove simple-iframe-unload.html and simple-unload.html, since they are no longer used.
736
737         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp:
738         (TestWebKitAPI::TEST):
739         Set the cache model to kWKCacheModelDocumentViewer.
740
741         * TestWebKitAPI/Tests/WebKit2/simple-iframe-unload.html: Removed.
742         * TestWebKitAPI/Tests/WebKit2/simple-unload.html: Removed.
743
744 2012-05-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
745
746         [Qt] Add infra for testing double-tap to zoom functionality etc
747         https://bugs.webkit.org/show_bug.cgi?id=86474
748
749         Reviewed by Simon Hausmann.
750
751         The WebViewportInfo class was renamed to QWebKitTest in preparation
752         of becoming a separate module. Adapt the use API.
753
754         * MiniBrowser/qt/qml/BrowserWindow.qml:
755         * MiniBrowser/qt/qml/ViewportInfoItem.qml:
756
757 2012-05-15  Csaba Osztrogonác  <ossy@webkit.org>
758
759         Introduce ENABLE_CSS_VARIABLES compile flag.
760         https://bugs.webkit.org/show_bug.cgi?id=86338
761
762         Reviewed by Hajime Morita.
763
764         * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Unittest fix after r117028.
765         (WebKitPortTest.test_skipped_directories_for_symbols):
766
767 2012-05-15  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
768
769         Teach webkit-patch to gracefully handle writes of raw utf-8 encoded strings to sys.stdout
770
771         https://bugs.webkit.org/show_bug.cgi?id=85809
772
773         webkit-patch overrides sys.stdout with a StreamWriter that ensures we write utf8
774         output to stdout, but StreamWriter will by default always encode the object that's
775         passed to write(). This blows up when the object is a raw string, already encoded
776         as utf8, and does not match the default behavior of sys.stdout.
777
778         To solve this in one place, instead of every single call-site that might write
779         raw strings, we extend the stdout-wrapper to assume raw strings are utf8 before
780         passing them on to StreamWriter.write(). This has the benefit of also making the
781         stacktrace easy to read in the case where this assumption does not hold.
782
783         The source of this particular bug was that Executive.run_and_throw_if_fail() will
784         tee the output of the subprocess, and in the case of running prepare-ChangeLog this
785         might produce non-ascii output, which gets written directly to sys.stdout as raw
786         utf8-encoded strings.
787
788         Reviewed by Dirk Pranke.
789
790         * Scripts/webkit-patch:
791
792 2012-05-15  Tomasz Morawski  <t.morawski@samsung.com>
793
794         [EFL][DRT] Split ewk_private.h file to multiple private files.
795         https://bugs.webkit.org/show_bug.cgi?id=84572
796
797         Reviewed by Antonio Gomes.
798
799         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
800
801 2012-05-15  Michael Brüning  <michael.bruning@nokia.com>
802
803         [Qt][WK2] http/tests/navigation/https-in-page-cache.html fails with timeout
804         https://bugs.webkit.org/show_bug.cgi?id=83576
805
806         Reviewed by Simon Hausmann.
807
808         Set the PlatformWebView for the Qt port to accept all SSL certificates.
809
810         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
811         (WTR::PlatformWebView::PlatformWebView):
812
813 2012-05-14  Luke Macpherson  <macpherson@chromium.org>
814
815         Introduce ENABLE_CSS_VARIABLES compile flag.
816         https://bugs.webkit.org/show_bug.cgi?id=86338
817
818         Reviewed by Dimitri Glazkov.
819
820         Add a configuration option for CSS Variables support, disabling it by default.
821
822         * Scripts/webkitperl/FeatureList.pm:
823         * Scripts/webkitpy/layout_tests/port/webkit.py:
824         (WebKitPort._missing_symbol_to_skipped_tests):
825         * qmake/mkspecs/features/features.pri:
826
827 2012-05-14  Nate Chapin  <japhet@chromium.org>
828
829         Add end-of-life test cases for https://bugs.webkit.org/show_bug.cgi?id=86131.
830
831         Reviewed by Adam Barth.
832
833         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
834         (callDeletePlugin):
835         (pluginHasProperty):
836         (pluginHasMethod):
837         (pluginGetProperty):
838         (pluginSetProperty):
839         (pluginInvoke):
840
841 2012-05-14  Dirk Pranke  <dpranke@chromium.org>
842
843         Re-enable "drt mode" on chromium-mac-leopard
844         https://bugs.webkit.org/show_bug.cgi?id=83076
845
846         Unreviewed, build fix (change?).
847
848         This change is another attempt to gather data on
849         the flakiness and timeouts we're seeing on Mac SL
850         now that we have another bot.
851
852         * Scripts/webkitpy/layout_tests/port/chromium.py:
853         (ChromiumDriver.__init__):
854
855 2012-05-14  Sheriff Bot  <webkit.review.bot@gmail.com>
856
857         Unreviewed, rolling out r116981.
858         http://trac.webkit.org/changeset/116981
859         https://bugs.webkit.org/show_bug.cgi?id=86402
860
861         Caused compositing and mathml tests to fail. (Requested by
862         rakuco on #webkit).
863
864         * Scripts/webkitpy/layout_tests/port/efl.py:
865         (EflPort._path_to_webcore_library):
866
867 2012-05-14  Dirk Pranke  <dpranke@chromium.org>
868
869         Fix regressions in garden-o-matic after r116988.
870
871         Unreviewed, build fix.
872
873         I had a typo in a field name in checkout.js, and unfortunately
874         the unittests had the same typo :(.
875
876         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
877         (.):
878         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
879
880 2012-05-14  Dirk Pranke  <dpranke@chromium.org>
881
882         garden-o-matic should specify which types of baselines to rebaseline
883         https://bugs.webkit.org/show_bug.cgi?id=86242
884
885         Reviewed by Adam Barth.
886
887         This change modifies garden-o-matic so that we are explicit
888         about whether to rebaseline the text file, the image file, or
889         both. This should prevent us from pulling incorrect or
890         unexpected baselines off the bots.
891
892         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
893         (.):
894         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
895         (.):
896         * Scripts/webkitpy/tool/commands/rebaseline.py:
897         (AbstractRebaseliningCommand):
898         (AbstractRebaseliningCommand.__init__):
899         (RebaselineTest):
900         (RebaselineTest._rebaseline_test_and_update_expectations):
901         (RebaselineTest.execute):
902         (OptimizeBaselines):
903         (OptimizeBaselines._optimize_baseline):
904         (OptimizeBaselines.execute):
905         (AnalyzeBaselines):
906         (AnalyzeBaselines._analyze_baseline):
907         (AnalyzeBaselines.execute):
908         (RebaselineExpectations._rebaseline_port):
909         * Scripts/webkitpy/tool/servers/gardeningserver.py:
910         (GardeningHTTPRequestHandler.rebaseline):
911         (GardeningHTTPRequestHandler.optimizebaselines):
912         * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
913         (GardeningServerTest.test_rebaseline):
914         (GardeningServerTest.test_rebaseline_new_port):
915         (GardeningServerTest.test_optimizebaselines):
916
917 2012-05-14  Kangil Han  <kangil.han@samsung.com>
918
919         [EFL][DRT] Fix WebCore library path
920         https://bugs.webkit.org/show_bug.cgi?id=86355
921
922         Reviewed by Dirk Pranke.
923
924         Currently EFL DRT uses wrong WebCore library path when running DRT.
925         This patch simply adjusted it.
926
927         * Scripts/webkitpy/layout_tests/port/efl.py:
928         (EflPort._path_to_webcore_library):
929
930 2012-05-14  Wei James  <james.wei@intel.com>
931
932         [Chromium] ImageDiff should be build for host on Android
933         https://bugs.webkit.org/show_bug.cgi?id=82039
934
935         Reviewed by Adam Barth.
936
937         * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
938
939 2012-05-14  Joone Hur  <joone@webkit.org>
940
941         Unreviewed. Updating email for committers.py script.
942
943         * Scripts/webkitpy/common/config/committers.py:
944
945 2012-05-14  Carlos Garcia Campos  <cgarcia@igalia.com>
946
947         Unreviewed. Fix make distcheck.
948
949         * GNUmakefile.am: Add run-api-tests script to EXTRA_DIST.
950         * gtk/run-api-tests:
951         (TestRunner._lookup_atspi2_binary): Handle the case when
952         pkg_config_file_variable() return None.
953
954 2012-05-14  Sheriff Bot  <webkit.review.bot@gmail.com>
955
956         Unreviewed, rolling out r116935.
957         http://trac.webkit.org/changeset/116935
958         https://bugs.webkit.org/show_bug.cgi?id=86373
959
960         Something is still broken (Requested by Ossy on #webkit).
961
962         * Scripts/webkitpy/common/checksvnconfigfile.py: Removed.
963         * Scripts/webkitpy/style/checkers/png.py:
964         (PNGChecker.check):
965         (PNGChecker):
966         (PNGChecker._config_file_path):
967         * Scripts/webkitpy/tool/commands/download.py:
968         (Land):
969         * Scripts/webkitpy/tool/steps/__init__.py:
970         * Scripts/webkitpy/tool/steps/addsvnmimetypeforpng.py: Removed.
971         * Scripts/webkitpy/tool/steps/addsvnmimetypeforpng_unittest.py: Removed.
972
973 2012-05-14  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
974
975         [Qt] Doesn't build with ENABLE_INSPECTOR=0
976         https://bugs.webkit.org/show_bug.cgi?id=85056
977
978         Reviewed by Tor Arne Vestbø.
979
980         * WebKitTestRunner/TestInvocation.cpp: Ifdef otherwise unused static function.
981         * qmake/mkspecs/features/features.prf:
982         * qmake/mkspecs/features/features.pri:
983
984 2012-05-11  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
985
986         [Qt] Make sure dialogs have their parent and attached properties set before Component.onCompleted
987         https://bugs.webkit.org/show_bug.cgi?id=86222
988
989         The WebView QML api for dialogs is based on delegates for each dialog, which
990         are implemented as components. Since there's no explicit API to show the dialog,
991         the natural place to allow the dialog to choose how to display itself is in
992         Component.onCompleted.
993
994         The issue was that we were using QQmlComponent::create() when instantiating the
995         component, at which point the component did not have a parent or it's attached
996         WebView property set. That meant that we had to do some ugly workaround in our
997         test, using a 1ms timer, to get a callback once the parent was there.
998
999         We now use the QQmlComponent::beginCreate() -> QQmlComponent::completeCreate()
1000         pair, which allows us to set the relevant properties before triggering the
1001         Component.onCompleted callback. We were already doing this for the context
1002         menus (except for setting the parent, which we did afterwards).
1003
1004         Reviewed by Simon Hausmann.
1005
1006         * MiniBrowser/qt/qml/BrowserWindow.qml:
1007         * MiniBrowser/qt/qml/Dialog.qml:
1008
1009 2012-05-14  Balazs Ankes  <bank@inf.u-szeged.hu>
1010
1011         webkit-patch land should automatically add svn:mime-type for .png files
1012         https://bugs.webkit.org/show_bug.cgi?id=75825
1013         I refactored the png.py to avoid code duplication.
1014
1015         Reviewed by Dirk Pranke.
1016
1017         * Scripts/webkitpy/common/checksvnconfigfile.py: Added.
1018         (check):
1019         (_config_file_path):
1020         (errorstr_autoprop):
1021         (errorstr_png):
1022         * Scripts/webkitpy/style/checkers/png.py:
1023         (PNGChecker.check):
1024         * Scripts/webkitpy/tool/commands/download.py:
1025         (Land):
1026         * Scripts/webkitpy/tool/steps/__init__.py:
1027         * Scripts/webkitpy/tool/steps/addsvnmimetypeforpng.py: Added.
1028         (AddSvnMimetypeForPng):
1029         (AddSvnMimetypeForPng.__init__):
1030         (AddSvnMimetypeForPng.run):
1031         (AddSvnMimetypeForPng._check_pngs):
1032         * Scripts/webkitpy/tool/steps/addsvnmimetypeforpng_unittest.py: Added.
1033         (MockSCMDetector):
1034         (MockSCMDetector.__init__):
1035         (MockSCMDetector.display_name):
1036         (AddSvnMimetypeForPngTest):
1037         (AddSvnMimetypeForPngTest.test_run):
1038
1039 2012-05-14  David Kilzer  <ddkilzer@apple.com>
1040
1041         webkit-patch apply-attachment is very slow for big patches
1042         https://bugs.webkit.org/show_bug.cgi?id=74929
1043
1044         Add "excludefield=attachmentdata" to the URL everywhere
1045         "ctype=xml" is used to exclude this field from the XML.
1046
1047         Reviewed by Adam Barth.
1048
1049         * Scripts/prepare-ChangeLog:
1050         (fetchBugDescriptionFromURL):
1051         * Scripts/webkitpy/common/config/urls.py:
1052         * Scripts/webkitpy/common/config/urls_unittest.py:
1053         (URLsTest.test_parse_bug_id):
1054         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1055         (Bugzilla.bug_url_for_bug_id):
1056
1057 2012-05-13  Ryosuke Niwa  <rniwa@webkit.org>
1058
1059         performance tests should be able to measure runs/sec rather than time
1060         https://bugs.webkit.org/show_bug.cgi?id=86021
1061
1062         Reviewed by Ojan Vafai.
1063
1064         Allow " runs/s" or " ms" to appear after numerical values in tests.
1065
1066         * Scripts/webkitpy/performance_tests/perftest.py:
1067         (PerfTest):
1068
1069 2012-05-12  Tim Horton  <timothy_horton@apple.com>
1070
1071         run-safari and co. should support --guard-malloc command line argument
1072         https://bugs.webkit.org/show_bug.cgi?id=86287
1073
1074         Reviewed by Dan Bernstein.
1075
1076         Add setUpGuardMallocIfNeeded(), which consults the argument --guard-malloc on OS X,
1077         setting DYLD_INSERT_LIBRARIES="/usr/lib/libgmalloc.dylib" if it's enabled.
1078
1079         Use setUpGuardMallocIfNeeded() before running a WebKit app (whether standalone or
1080         in the debugger). This will cause gmalloc to be loaded for gdb as well, but this
1081         tends to be harmless.
1082
1083         Change "malloc guard" to the more common "Guard Malloc" in run-webkit-tests.
1084
1085         * Scripts/old-run-webkit-tests:
1086         * Scripts/webkitdirs.pm:
1087         (appendToEnvironmentVariableList):
1088         (setUpGuardMallocIfNeeded):
1089         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded):
1090         (runMacWebKitApp):
1091         (execMacWebKitAppForDebugging):
1092         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1093         (parse_args):
1094
1095 2012-05-11  Ojan Vafai  <ojan@chromium.org>
1096
1097         Add previous/next buttons the garden-o-matics perf panel
1098         https://bugs.webkit.org/show_bug.cgi?id=86280
1099
1100         Reviewed by Dimitri Glazkov.
1101
1102         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf.js:
1103         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf_unittests.js:
1104         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/perf.css:
1105
1106 2012-05-11  Kevin Ollivier  <kevino@theolliviers.com>
1107
1108         [wx] Unreviewed build fix. Fix memory exhausted errors from 32-bit ld on *nix.
1109
1110         * waf/build/settings.py:
1111         (common_configure):
1112
1113 2012-05-11  Dirk Pranke  <dpranke@chromium.org>
1114
1115         webkit-patch rebaseline should fetch stale expectations :)
1116         https://bugs.webkit.org/show_bug.cgi?id=86231
1117
1118         Unreviewed, build fix.
1119
1120         This change reverts r115492 and goes back to fetching individual
1121         baselines from the layout tests directory, rather than fetching
1122         entire zip files. The performance hit over networks for people
1123         far away from the bots has turned out to be severe, so we need a
1124         better solution to this.
1125
1126         * Scripts/webkitpy/tool/commands/rebaseline.py:
1127         (RebaselineTest._results_url):
1128         (RebaselineTest._file_name_for_expected_result):
1129         (RebaselineTest._rebaseline_test):
1130         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1131         (TestRebaseline.test_rebaseline_updates_expectations_file_noop):
1132         (test_rebaseline_updates_expectations_file):
1133         (test_rebaseline_test):
1134         (test_rebaseline_and_copy_test):
1135         (test_rebaseline_and_copy_test_no_existing_result):
1136         (test_rebaseline_and_copy_test_with_lion_result):
1137         (test_rebaseline_and_copy_no_overwrite_test):
1138
1139 2012-05-11  Christophe Dumez  <christophe.dumez@intel.com>
1140
1141         [GTK] LayoutTests/svg/batik/text/verticalText.svg fails to display Chinese characters
1142         https://bugs.webkit.org/show_bug.cgi?id=86198
1143
1144         Reviewed by Martin Robinson.
1145
1146         Update webkitgtk-fonts package to v0.0.3 in order to get new Kochi
1147         Mincho / Gothic fonts to display Japanese and Chinese characters.
1148
1149         * gtk/jhbuild.modules:
1150
1151 2012-05-11  Christophe Dumez  <christophe.dumez@intel.com>
1152
1153         [EFL][DRT] SVG Batik test fails to display Chinese characters
1154         https://bugs.webkit.org/show_bug.cgi?id=84461
1155
1156         Reviewed by Martin Robinson.
1157
1158         Update webkitgtk-fonts package from v0.0.1 to v0.0.3 in order to get
1159         new Kochi Mincho / Gothic fonts to display Japanese and Chinese
1160         characters.
1161
1162         * DumpRenderTree/efl/CMakeLists.txt:
1163         * efl/jhbuild.modules:
1164
1165 2012-05-11  Philippe Normand  <pnormand@igalia.com>
1166
1167         Unreviewed, GTK 64-bit Debug bot fix attempt.
1168
1169         * Scripts/webkitpy/layout_tests/port/gtk.py:
1170         (GtkPort._get_gdb_output): Ignore unicode decoding errors when
1171         processing gdb output.
1172
1173 2012-05-11  Gustavo Noronha Silva  <gns@gnome.org>
1174
1175         REGRESSION(r116205): [GTK]: build no longer supports thin archives
1176         https://bugs.webkit.org/show_bug.cgi?id=86207
1177
1178         * GNUmakefile.am: link libWebCoreModules to DRT.
1179
1180 2012-05-10  Ojan Vafai  <ojan@chromium.org>
1181
1182         Add a perf tab to garden-o-matic
1183         https://bugs.webkit.org/show_bug.cgi?id=86169
1184
1185         Reviewed by Dimitri Glazkov.
1186
1187         This is a first stab at making it easier to view the Chromium WebKit canary
1188         perf graphs. For now, it's just a couple select elements and an iframe.
1189
1190         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
1191         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
1192         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
1193         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
1194         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
1195         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
1196         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf.js: Added.
1197         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf_unittests.js: Added.
1198         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
1199         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/perf.css: Added.
1200         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
1201
1202 2012-05-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1203
1204         Move resumeAnimations to use Internals interface
1205         https://bugs.webkit.org/show_bug.cgi?id=86063
1206
1207         Reviewed by Alexey Proskuryakov.
1208
1209         Remove resumeAnimations functions, because it is able to work in the 
1210         cross-port way through the Internals interface.
1211
1212         * DumpRenderTree/LayoutTestController.cpp:
1213         (LayoutTestController::staticFunctions):
1214         * DumpRenderTree/LayoutTestController.h:
1215         (LayoutTestController):
1216         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
1217         * DumpRenderTree/chromium/LayoutTestController.cpp:
1218         (LayoutTestController::LayoutTestController):
1219         * DumpRenderTree/chromium/LayoutTestController.h:
1220         (LayoutTestController):
1221         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1222         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1223         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1224         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1225         * DumpRenderTree/qt/LayoutTestControllerQt.h:
1226         (LayoutTestController):
1227         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1228         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1229         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
1230         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1231         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
1232         (LayoutTestController):
1233
1234 2012-05-10  Alexey Proskuryakov  <ap@apple.com>
1235
1236         Crash in 3rd party WebKit apps that disable cache at a wrong time
1237         https://bugs.webkit.org/show_bug.cgi?id=86027
1238         <rdar://problem/10615880>
1239
1240         Reviewed by Antti Koivisto.
1241
1242         Added a test that's very similar to MemoryCachePruneWithinResourceLoadDelegate,
1243         but for disabling the cache instead of triggering a prune.
1244
1245         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1246         * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.html: Added.
1247         * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.mm: Added.
1248         (-[MemoryCacheDisableTestResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1249         (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1250         (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1251         (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1252         (TestWebKitAPI::TEST):
1253
1254 2012-05-10  Anders Carlsson  <andersca@apple.com>
1255
1256         WebKit2: Add a way to blacklist specific plug-ins/plug-in versions
1257         https://bugs.webkit.org/show_bug.cgi?id=86164
1258         <rdar://problem/9551196>
1259
1260         Reviewed by Sam Weinig.
1261
1262         Update for WK2 API changes.
1263
1264         * MiniBrowser/mac/BrowserWindowController.m:
1265         (-[BrowserWindowController awakeFromNib]):
1266         * WebKitTestRunner/TestController.cpp:
1267         (WTR::TestController::createOtherPage):
1268         (WTR::TestController::initialize):
1269
1270 2012-05-10  Dirk Pranke  <dpranke@chromium.org>
1271
1272         nrwt: [chromium] fix path to asan symbolize script
1273         https://bugs.webkit.org/show_bug.cgi?id=86161
1274
1275         Reviewed by Abhishek Arya.
1276
1277         * Scripts/webkitpy/layout_tests/port/chromium.py:
1278         (ChromiumPort._get_crash_log):
1279
1280 2012-05-10  Lei Zhang  <thestig@chromium.org>
1281
1282         [chromium] Set Valgrind environment variables for layout tests.
1283         https://bugs.webkit.org/show_bug.cgi?id=86156
1284
1285         Reviewed by Dirk Pranke.
1286
1287         * Scripts/webkitpy/layout_tests/port/chromium.py:
1288         (ChromiumPort.setup_environ_for_server):
1289
1290 2012-05-10  Raphael Kubo da Costa  <rakuco@webkit.org>
1291
1292         [webkitpy][EFL] It should be possible to use a wrapper command for ImageDiff.
1293         https://bugs.webkit.org/show_bug.cgi?id=86145
1294
1295         Reviewed by Dirk Pranke.
1296
1297         The GTK+ and EFL ports use jhbuild to build a few base libraries
1298         which are then used when building the port itself. Programs such
1299         as DRT and ImageDiff are then supposed to be run with the
1300         `run-with-jhbuild' wrapper so that the libraries are properly
1301         found and loaded.
1302
1303         This was already the case for DumpRenderTree (EflPort defines the
1304         'wrapper' option for that), but it was not possible to do the same
1305         with ImageDiff so far.
1306
1307         The code which created the ImageDiff command-line call has been
1308         moved to a separate method, _image_diff_command, which is then
1309         overridden by EflPort to add the jhbuild wrapper.
1310
1311         * Scripts/webkitpy/layout_tests/port/efl.py:
1312         (EflPort.__init__):
1313         (EflPort._image_diff_command):
1314         * Scripts/webkitpy/layout_tests/port/webkit.py:
1315         (WebKitPort):
1316         (WebKitPort._image_diff_command):
1317         (WebKitPort._start_image_diff_process):
1318
1319 2012-05-10  Zan Dobersek  <zandobersek@gmail.com>
1320
1321         [GTK] ENABLE_IFRAME_SEAMLESS support
1322         https://bugs.webkit.org/show_bug.cgi?id=85843
1323
1324         Reviewed by Eric Seidel.
1325
1326         Add the iframe-seamless option to the options list. This makes it
1327         possible to enable the iframe seamless support through build-webkit
1328         script. Enabled by default for all the ports.
1329
1330         * Scripts/webkitperl/FeatureList.pm:
1331
1332 2012-05-10  Raphael Kubo da Costa  <rakuco@webkit.org>
1333
1334         [EFL][webkitpy] Do not redefine check_build() in EflPort.
1335         https://bugs.webkit.org/show_bug.cgi?id=86124
1336
1337         Reviewed by Dirk Pranke.
1338
1339         Remove an old FIXME and do not redefine check_build in EflPort;
1340         once build-dumprendertree recognizes --efl, we can use the
1341         check_build implementation in WebKitPort.
1342
1343         * Scripts/build-dumprendertree:
1344         * Scripts/webkitpy/layout_tests/port/efl.py:
1345         (EflPort.check_build):
1346
1347 2012-05-10  Tommy Widenflycht  <tommyw@google.com>
1348
1349         [chromium] MediaStream API: Fix the ExtraData functionality in WebMediaStreamDescriptor
1350         https://bugs.webkit.org/show_bug.cgi?id=86087
1351
1352         Reviewed by Adam Barth.
1353
1354         * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
1355         (MockExtraData):
1356         (WebKit):
1357         (WebKit::WebUserMediaClientMock::requestUserMedia):
1358
1359 2012-05-10  Varun Jain  <varunjain@google.com>
1360
1361         [chromium] Trigger context menu for long press gesture
1362         https://bugs.webkit.org/show_bug.cgi?id=85919
1363
1364         Reviewed by Adam Barth.
1365
1366         * DumpRenderTree/chromium/EventSender.cpp:
1367         (EventSender::EventSender):
1368         (EventSender::gestureLongPress):
1369         (EventSender::gestureEvent):
1370         * DumpRenderTree/chromium/EventSender.h:
1371         (EventSender):
1372
1373 2012-05-10  Takashi Toyoshima  <toyoshim@chromium.org>
1374
1375         don't use autoinstall to import pywebsocket but check it in WebKit directly.
1376         https://bugs.webkit.org/show_bug.cgi?id=86107
1377
1378         Reviewed by Adam Barth.
1379
1380         This change removes pywebsocket from webkitpy's autoinstall list and
1381         imports pywebsocket 0.7.4 directly into webkitpy/thirparty.
1382
1383         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
1384         (PyWebSocket._prepare_config):
1385         * Scripts/webkitpy/thirdparty/__init__.py:
1386         (AutoinstallImportHook.find_module):
1387         (AutoinstallImportHook._install_irc):
1388         * Scripts/webkitpy/thirdparty/__init___unittest.py:
1389         (ThirdpartyTest.test_import_hook.MockImportHook.__init__):
1390         (ThirdpartyTest.test_import_hook.MockImportHook._install_eliza):
1391         (ThirdpartyTest):
1392         (ThirdpartyTest.test_import_hook):
1393         * Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING: Added.
1394         * Scripts/webkitpy/thirdparty/mod_pywebsocket/__init__.py: Added.
1395         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_base.py: Added.
1396         (ConnectionTerminatedException):
1397         (InvalidFrameException):
1398         (BadOperationException):
1399         (UnsupportedFrameException):
1400         (InvalidUTF8Exception):
1401         (StreamBase):
1402         (StreamBase.__init__):
1403         (StreamBase._read):
1404         (StreamBase._write):
1405         (StreamBase.receive_bytes):
1406         (StreamBase._read_until):
1407         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hixie75.py: Added.
1408         (for):
1409         (StreamHixie75):
1410         (StreamHixie75.for):
1411         (StreamHixie75.__init__):
1412         (StreamHixie75.send_message):
1413         (StreamHixie75._read_payload_length_hixie75):
1414         (StreamHixie75.receive_message):
1415         (StreamHixie75._send_closing_handshake):
1416         (StreamHixie75.close_connection):
1417         (StreamHixie75.send_ping):
1418         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py: Added.
1419         (Frame):
1420         (Frame.__init__):
1421         (create_length_header):
1422         (create_header):
1423         (_build_frame):
1424         (_filter_and_format_frame_object):
1425         (create_binary_frame):
1426         (create_text_frame):
1427         (FragmentedFrameBuilder):
1428         (FragmentedFrameBuilder.to):
1429         (FragmentedFrameBuilder.__init__):
1430         (FragmentedFrameBuilder.build):
1431         (_create_control_frame):
1432         (create_ping_frame):
1433         (create_pong_frame):
1434         (create_close_frame):
1435         (StreamOptions):
1436         (StreamOptions.__init__):
1437         (Stream):
1438         (Stream.for):
1439         (Stream.__init__):
1440         (Stream._receive_frame):
1441         (Stream._receive_frame_as_frame_object):
1442         (Stream.send_message):
1443         (Stream.receive_message):
1444         (Stream._send_closing_handshake):
1445         (Stream.close_connection):
1446         (Stream.send_ping):
1447         (Stream._send_pong):
1448         (Stream._drain_received_data):
1449         * Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py: Added.
1450         (is_control_opcode):
1451         (ExtensionParameter):
1452         (ExtensionParameter.__init__):
1453         (ExtensionParameter.name):
1454         (ExtensionParameter.add_parameter):
1455         (ExtensionParameter.get_parameters):
1456         (ExtensionParameter.get_parameter_names):
1457         (ExtensionParameter.has_parameter):
1458         (ExtensionParameter.get_parameter_value):
1459         * Scripts/webkitpy/thirdparty/mod_pywebsocket/dispatch.py: Added.
1460         (DispatchException):
1461         (DispatchException.__init__):
1462         (_default_passive_closing_handshake_handler):
1463         (_normalize_path):
1464         (_create_path_to_resource_converter):
1465         (_create_path_to_resource_converter.converter):
1466         (_enumerate_handler_file_paths):
1467         (_HandlerSuite):
1468         (_HandlerSuite.__init__):
1469         (_source_handler_file):
1470         (_extract_handler):
1471         (Dispatcher):
1472         (Dispatcher.maintains):
1473         (Dispatcher.__init__):
1474         (Dispatcher.add_resource_path_alias):
1475         (Dispatcher.source_warnings):
1476         (Dispatcher.do_extra_handshake):
1477         (Dispatcher.transfer_data):
1478         (Dispatcher.passive_closing_handshake):
1479         (Dispatcher.get_handler_suite):
1480         (Dispatcher._source_handler_files_in_dir):
1481         * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py: Added.
1482         (ExtensionProcessorInterface):
1483         (ExtensionProcessorInterface.get_extension_response):
1484         (ExtensionProcessorInterface.setup_stream_options):
1485         (DeflateStreamExtensionProcessor):
1486         (DeflateStreamExtensionProcessor.__init__):
1487         (DeflateStreamExtensionProcessor.get_extension_response):
1488         (DeflateStreamExtensionProcessor.setup_stream_options):
1489         (DeflateFrameExtensionProcessor):
1490         (DeflateFrameExtensionProcessor.__init__):
1491         (DeflateFrameExtensionProcessor.get_extension_response):
1492         (DeflateFrameExtensionProcessor.setup_stream_options):
1493         (DeflateFrameExtensionProcessor.setup_stream_options._OutgoingFilter):
1494         (DeflateFrameExtensionProcessor.setup_stream_options._OutgoingFilter.__init__):
1495         (DeflateFrameExtensionProcessor.setup_stream_options._OutgoingFilter.filter):
1496         (DeflateFrameExtensionProcessor.setup_stream_options._IncomingFilter):
1497         (DeflateFrameExtensionProcessor.setup_stream_options._IncomingFilter.__init__):
1498         (DeflateFrameExtensionProcessor.setup_stream_options._IncomingFilter.filter):
1499         (DeflateFrameExtensionProcessor.set_response_window_bits):
1500         (DeflateFrameExtensionProcessor.set_response_no_context_takeover):
1501         (DeflateFrameExtensionProcessor.enable_outgoing_compression):
1502         (DeflateFrameExtensionProcessor.disable_outgoing_compression):
1503         (DeflateFrameExtensionProcessor._outgoing_filter):
1504         (DeflateFrameExtensionProcessor._incoming_filter):
1505         (get_extension_processor):
1506         (get_extension_processor.is):
1507         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/__init__.py: Added.
1508         (try):
1509         (do_handshake):
1510         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py: Added.
1511         (AbortedByUserException):
1512         (HandshakeException):
1513         (HandshakeException.__init__):
1514         (VersionException):
1515         (VersionException.__init__):
1516         (get_default_port):
1517         (validate_subprotocol):
1518         (parse_host_header):
1519         (format_header):
1520         (build_location):
1521         (get_mandatory_header):
1522         (validate_mandatory_header):
1523         (check_request_line):
1524         (check_header_lines):
1525         (parse_token_list):
1526         (_parse_extension_param):
1527         (_parse_extension):
1528         (parse_extensions):
1529         (format_extensions):
1530         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/draft75.py: Added.
1531         (Handshaker):
1532         (Handshaker.performs):
1533         (Handshaker.__init__):
1534         (Handshaker.do_handshake):
1535         (Handshaker._set_resource):
1536         (Handshaker._set_origin):
1537         (Handshaker._set_location):
1538         (Handshaker._set_subprotocol):
1539         (Handshaker._set_protocol_version):
1540         (Handshaker._sendall):
1541         (Handshaker._send_handshake):
1542         (Handshaker._check_header_lines):
1543         (Handshaker._check_first_lines):
1544         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py: Added.
1545         (compute_accept):
1546         (Handshaker):
1547         (Handshaker.__init__):
1548         (Handshaker._validate_connection_header):
1549         (Handshaker.do_handshake):
1550         (Handshaker._get_origin):
1551         (Handshaker._check_version):
1552         (Handshaker._set_protocol):
1553         (Handshaker._parse_extensions):
1554         (Handshaker._validate_key):
1555         (Handshaker._get_key):
1556         (Handshaker._send_handshake):
1557         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi00.py: Added.
1558         (Handshaker):
1559         (Handshaker.__init__):
1560         (Handshaker.do_handshake):
1561         (Handshaker._set_resource):
1562         (Handshaker._set_subprotocol):
1563         (Handshaker._set_location):
1564         (Handshaker._set_origin):
1565         (Handshaker._set_protocol_version):
1566         (Handshaker._set_challenge_response):
1567         (Handshaker._get_key_value):
1568         (Handshaker._get_challenge):
1569         (Handshaker._send_handshake):
1570         * Scripts/webkitpy/thirdparty/mod_pywebsocket/headerparserhandler.py: Added.
1571         (ApacheLogHandler):
1572         (ApacheLogHandler.__init__):
1573         (ApacheLogHandler.emit):
1574         (_configure_logging):
1575         (_parse_option):
1576         (_create_dispatcher):
1577         (headerparserhandler):
1578         * Scripts/webkitpy/thirdparty/mod_pywebsocket/http_header_util.py: Added.
1579         (_is_char):
1580         (_is_ctl):
1581         (ParsingState):
1582         (ParsingState.__init__):
1583         (peek):
1584         (consume):
1585         (consume_string):
1586         (consume_lws):
1587         (consume_lwses):
1588         (consume_token):
1589         (consume_token_or_quoted_string):
1590         (quote_if_necessary):
1591         (parse_uri):
1592         * Scripts/webkitpy/thirdparty/mod_pywebsocket/memorizingfile.py: Added.
1593         (MemorizingFile):
1594         (MemorizingFile.__init__):
1595         (MemorizingFile.__getattribute__):
1596         (MemorizingFile.readline):
1597         (MemorizingFile.get_memorized_lines):
1598         * Scripts/webkitpy/thirdparty/mod_pywebsocket/msgutil.py: Added.
1599         (close_connection):
1600         (send_message):
1601         (receive_message):
1602         (send_ping):
1603         (MessageReceiver):
1604         (MessageReceiver.receives):
1605         (MessageReceiver.provides):
1606         (MessageReceiver.should):
1607         (MessageReceiver.__init__):
1608         (MessageReceiver.run):
1609         (MessageReceiver.receive):
1610         (MessageReceiver.receive_nowait):
1611         (MessageReceiver.stop):
1612         (MessageSender):
1613         (MessageSender.sends):
1614         (MessageSender.provides):
1615         (MessageSender.should):
1616         (MessageSender.__init__):
1617         (MessageSender.run):
1618         (MessageSender.send):
1619         (MessageSender.send_nowait):
1620         * Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py: Added.
1621         (_StandaloneConnection):
1622         (_StandaloneConnection.__init__):
1623         (_StandaloneConnection.get_local_addr):
1624         (_StandaloneConnection.get_remote_addr):
1625         (_StandaloneConnection.write):
1626         (_StandaloneConnection.read):
1627         (_StandaloneConnection.get_memorized_lines):
1628         (_StandaloneRequest):
1629         (_StandaloneRequest.__init__):
1630         (_StandaloneRequest.get_uri):
1631         (_StandaloneRequest.get_method):
1632         (_StandaloneRequest.is_https):
1633         (_StandaloneRequest._drain_received_data):
1634         (_StandaloneSSLConnection):
1635         (_StandaloneSSLConnection.for):
1636         (_StandaloneSSLConnection.__init__):
1637         (_StandaloneSSLConnection.__getattribute__):
1638         (_StandaloneSSLConnection.__setattr__):
1639         (_StandaloneSSLConnection.makefile):
1640         (WebSocketServer):
1641         (WebSocketServer.__init__):
1642         (WebSocketServer._create_sockets):
1643         (WebSocketServer.server_bind):
1644         (WebSocketServer.server_activate):
1645         (WebSocketServer.server_close):
1646         (WebSocketServer.fileno):
1647         (WebSocketServer.handle_error):
1648         (WebSocketServer.get_request):
1649         (WebSocketServer.serve_forever):
1650         (WebSocketServer.shutdown):
1651         (WebSocketRequestHandler):
1652         (WebSocketRequestHandler.setup):
1653         (WebSocketRequestHandler.setup.SocketServer):
1654         (WebSocketRequestHandler.__init__):
1655         (WebSocketRequestHandler.parse_request):
1656         (WebSocketRequestHandler.log_request):
1657         (WebSocketRequestHandler.log_error):
1658         (WebSocketRequestHandler.is_cgi):
1659         (_configure_logging):
1660         (_alias_handlers):
1661         (_build_option_parser):
1662         (ThreadMonitor):
1663         (ThreadMonitor.__init__):
1664         (ThreadMonitor.run):
1665         (_parse_args_and_config):
1666         (_main):
1667         (_main.if):
1668         (_main.if.__check_script):
1669         * Scripts/webkitpy/thirdparty/mod_pywebsocket/stream.py: Copied from Tools/Scripts/webkitpy/thirdparty/__init___unittest.py.
1670         * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py: Added.
1671         (get_stack_trace):
1672         (prepend_message_to_exception):
1673         (__translate_interp):
1674         (get_script_interp):
1675         (wrap_popen3_for_win):
1676         (wrap_popen3_for_win.__wrap_popen3):
1677         (hexify):
1678         (get_class_logger):
1679         (NoopMasker):
1680         (NoopMasker.__init__):
1681         (NoopMasker.mask):
1682         (RepeatedXorMasker):
1683         (RepeatedXorMasker.__init__):
1684         (RepeatedXorMasker.mask):
1685         (DeflateRequest):
1686         (DeflateRequest.for):
1687         (DeflateRequest.__init__):
1688         (DeflateRequest.__getattribute__):
1689         (DeflateRequest.__setattr__):
1690         (_Deflater):
1691         (_Deflater.__init__):
1692         (_Deflater.compress_and_flush):
1693         (_Inflater):
1694         (_Inflater.__init__):
1695         (_Inflater.decompress):
1696         (_Inflater.append):
1697         (_Inflater.reset):
1698         (_RFC1979Deflater):
1699         (_RFC1979Deflater.that):
1700         (_RFC1979Deflater.__init__):
1701         (_RFC1979Deflater.filter):
1702         (_RFC1979Inflater):
1703         (_RFC1979Inflater.for):
1704         (_RFC1979Inflater.__init__):
1705         (_RFC1979Inflater.filter):
1706         (DeflateSocket):
1707         (DeflateSocket.for):
1708         (DeflateSocket.__init__):
1709         (DeflateSocket.recv):
1710         (DeflateSocket.sendall):
1711         (DeflateSocket.send):
1712         (DeflateConnection):
1713         (DeflateConnection.for):
1714         (DeflateConnection.__init__):
1715         (DeflateConnection.get_remote_addr):
1716         (DeflateConnection.put_bytes):
1717         (DeflateConnection.read):
1718         (DeflateConnection.write):
1719         (_is_ewouldblock_errno):
1720         (drain_received_data):
1721
1722 2012-05-10  Raphael Kubo da Costa  <rakuco@webkit.org>
1723
1724         [EFL][webkitpy] Define the 'wrapper' option in EflPort instead of creating a EflDriver.
1725         https://bugs.webkit.org/show_bug.cgi?id=86117
1726
1727         Reviewed by Adam Barth.
1728
1729         Simplify the code used to wrap driver calls with jhbuild: we can
1730         just define the 'wrapper' option instead of having to create a
1731         Driver class just for that.
1732
1733         * Scripts/webkitpy/layout_tests/port/efl.py:
1734         (EflPort.__init__):
1735         (EflPort._port_flag_for_scripts):
1736
1737 2012-05-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1738
1739         Unreviewed, rolling out r116633.
1740         http://trac.webkit.org/changeset/116633
1741         https://bugs.webkit.org/show_bug.cgi?id=86093
1742
1743         Breaks EFL tests (Requested by kov on #webkit).
1744
1745         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1746         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1747         * DumpRenderTree/efl/EventSender.cpp:
1748         (keyDownCallback):
1749         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1750         (LayoutTestController::setTabKeyCyclesThroughElements):
1751
1752 2012-05-10  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
1753
1754         [EFL] Memory leaks found in EFL DRT
1755         https://bugs.webkit.org/show_bug.cgi?id=85889
1756
1757         Reviewed by Gustavo Noronha Silva.
1758
1759         Fix two memory leaks in EFL's DRT by using JSRetainPtr for JSString
1760         created with JSStringCreateWithUTF8CString.
1761
1762         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1763         (DumpRenderTreeChrome::onWindowObjectCleared):
1764         * DumpRenderTree/efl/EventSender.cpp:
1765         (modifiersFromJSValue):
1766
1767 2012-05-10  Alexander Shalamov  <alexander.shalamov@intel.com>
1768
1769         [EFL] LayoutTestController needs implementation of setTabKeyCyclesThroughElements
1770         https://bugs.webkit.org/show_bug.cgi?id=82864
1771
1772         Reviewed by Gustavo Noronha Silva.
1773
1774         Add missing implementation for setTabKeyCyclesThroughElements to EFL's LayoutTestController
1775         in order to unskip fast/events/keypress-insert-tab.html
1776
1777         * DumpRenderTree/efl/EventSender.cpp:
1778         (keyDownCallback):
1779         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1780         (LayoutTestController::setTabKeyCyclesThroughElements):
1781
1782 2012-05-10  Alexander Shalamov  <alexander.shalamov@intel.com>
1783
1784         [EFL][DRT] EventSender - set delayed event information if it was not set before
1785         https://bugs.webkit.org/show_bug.cgi?id=85972
1786
1787         Reviewed by Gustavo Noronha Silva.
1788
1789         Reset delayed event information if it is missing.
1790
1791         * DumpRenderTree/efl/EventSender.cpp:
1792         (feedOrQueueMouseEvent):
1793
1794 2012-05-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1795
1796         WebPageProxy::activeURL() should return the pending API request, even when there's no main frame
1797         https://bugs.webkit.org/show_bug.cgi?id=85806
1798
1799         The m_pendingAPIRequestURL member is used (presumably) to mask over the async
1800         nature of WebKit2, so that starting a load of a URL will reflect that URL
1801         immedeatly from activeURL, even if the request has not been passed over to
1802         the web process yet and reflected there.
1803
1804         This works well, except in the case of the initial request, where the main
1805         frame creation happens on the web process side and is notified back to the
1806         UI process. Until we've recived the notification we don't know about the main
1807         frame, and this race condition will potentially give us an empty url instead
1808         of the pending request.
1809
1810         To solve this we always return the pending API request if it's set, even
1811         when there's no mainframe yet (that we known about).
1812
1813         Reviewed by Simon Hausmann.
1814
1815         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1816
1817 2012-05-10  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1818
1819         [EFL][DRT] Clear added user style sheets before a new testcase execution.
1820         https://bugs.webkit.org/show_bug.cgi?id=84792
1821
1822         Reviewed Gustavo Noronha Silva.
1823
1824         The added user style sheets from the previous testcases are cleared in order to avoid 
1825         flaky results.
1826
1827         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1828         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1829
1830 2012-05-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1831
1832         Move suspendAnimations to use Internals interface.
1833         https://bugs.webkit.org/show_bug.cgi?id=85986
1834
1835         Reviewed by Ryosuke Niwa.
1836
1837         Remove suspendAnimations functions, because it is able to work in the 
1838         cross-port way through the Internals interface
1839
1840         * DumpRenderTree/LayoutTestController.cpp:
1841         (LayoutTestController::staticFunctions):
1842         * DumpRenderTree/LayoutTestController.h:
1843         (LayoutTestController):
1844         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
1845         * DumpRenderTree/chromium/LayoutTestController.cpp:
1846         (LayoutTestController::LayoutTestController):
1847         * DumpRenderTree/chromium/LayoutTestController.h:
1848         (LayoutTestController):
1849         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1850         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1851         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1852         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1853         * DumpRenderTree/qt/LayoutTestControllerQt.h:
1854         (LayoutTestController):
1855         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1856         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1857
1858 2012-05-09  Kent Tamura  <tkent@chromium.org>
1859
1860         [Chromium] Attempt to fix an Android build error.
1861         https://bugs.webkit.org/show_bug.cgi?id=86045
1862
1863         * DumpRenderTree/DumpRenderTree.gypi:
1864
1865 2012-05-09  Ojan Vafai  <ojan@chromium.org>
1866
1867         Don't show partytime if there are non-layout test failures.
1868         https://bugs.webkit.org/show_bug.cgi?id=86056
1869
1870         Reviewed by Dimitri Glazkov.
1871
1872         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
1873         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers_unittests.js:
1874         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
1875
1876 2012-05-09  Hayato Ito  <hayato@chromium.org>
1877
1878         Improve a warning message for a reftest having an unused expectation file.
1879         https://bugs.webkit.org/show_bug.cgi?id=85975
1880
1881         Reviewed by Adam Barth.
1882
1883         The current warning message is not intuitive. It might be better to update the message
1884         so that it encourage users to remove unused expectation files.
1885
1886         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
1887         (SingleTestRunner.__init__):
1888
1889 2012-05-09  Ojan Vafai  <ojan@chromium.org>
1890
1891         Change "losing test coverage" to cover all non-layout test problems in garden-o-matic
1892         https://bugs.webkit.org/show_bug.cgi?id=86043
1893
1894         Reviewed by Adam Barth.
1895
1896         -Get rid of the gtest iframe.
1897         -Cover all non-layout test problems. Before we wouldn't catch compile failures
1898         or gtest failures since they were not on the webkit testing bots.
1899         -Include the list of failing steps next to the builder name. This is a lot less
1900         cluttered than you'd expect and already helped me find a compile failure early.
1901
1902         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
1903         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
1904         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
1905         Delete unused map.
1906         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
1907         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
1908         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
1909         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
1910         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
1911         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
1912         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
1913         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
1914
1915 2012-05-09  Jessie Berlin  <jberlin@apple.com>
1916
1917         Crash using the new WKBundleDOMWindowExtensions APIs.
1918         https://bugs.webkit.org/show_bug.cgi?id=85888
1919
1920         Reviewed by Brady Eidson.
1921
1922         Cached frames can live slightly longer than the page, but most clients unregister themselves
1923         and do other cleanup in the willDestroyPage callback, making them miss the
1924         willDestroyGlobalObjectForDOMWindowExtension callbacks.
1925
1926         The calls to willDestroyGlobalObjectForDOMWindowExtension in the DOMWindowExtensionBasic
1927         test were all being invoked underneath WebPage::close. This is unrealistic. Update that test
1928         to destroy the BundleDOMWindowExtensions in response to the willDestroyPage callback.
1929
1930         Add a test to verify that willDestroyGlobalObjectForDOMWindowExtension is being called for
1931         pages that don't go into the page cache.
1932
1933         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1934         Add DOMWindowExtensionNoCache.cpp, DOMWindowExtensionNoCache_Bundle.cpp, simple-unload.html
1935         and simple-iframe-unload.html
1936
1937         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
1938         (TestWebKitAPI):
1939         Remove the expected messages for willDestroyGlobalObjectForDOMWindowExtension.
1940         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
1941         Do not bother to keep track of the live extension count - all of them are expected to be
1942         live until the test completes.
1943         (TestWebKitAPI::TEST):
1944         Fix the calls to EXPECT to pass the expected value first, and use EXPECT_WK_STREQ so that
1945         message failures will be clearer.
1946         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
1947         (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
1948         Clean up the BundleDOMWindowExtensions.
1949         (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyGlobalObjectForDOMWindowExtension):
1950         Add an ASSERT_NOT_REACHED.
1951
1952         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp: Added.
1953         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
1954         Keep track of the messages received so they can be checked at the end of the test.
1955         (TestWebKitAPI::TEST):
1956         Navigate to uncacheable pages and back.
1957         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp: Copied from Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp.
1958         (DOMWindowExtensionNoCache):
1959         (TestWebKitAPI::DOMWindowExtensionNoCache::DOMWindowExtensionNoCache):
1960         Set up all the states for each BundleDOMWindowExtension.
1961         (TestWebKitAPI::DOMWindowExtensionNoCache::frameLoadFinished):
1962         Tell the UI Process about the states of the BundleDOMWindowExtensions.
1963         (TestWebKitAPI::DOMWindowExtensionNoCache::sendExtensionStateMessage):
1964         (TestWebKitAPI::DOMWindowExtensionNoCache::initialize):
1965         (TestWebKitAPI::DOMWindowExtensionNoCache::didCreatePage):
1966         (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
1967         Remvoe the remaining BundleDOMWindowExtensions, send the updated state, and finish the test.
1968         (TestWebKitAPI::DOMWindowExtensionNoCache::updateExtensionStateRecord):
1969         (TestWebKitAPI::DOMWindowExtensionNoCache::sendBundleMessage):
1970         (TestWebKitAPI::DOMWindowExtensionNoCache::globalObjectIsAvailableForFrame):
1971         (TestWebKitAPI::DOMWindowExtensionNoCache::willDisconnectDOMWindowExtensionFromGlobalObject):
1972         ASSERT that these pages not going into the page cache are not getting disconnected to go into
1973         the page cache.
1974         (TestWebKitAPI::DOMWindowExtensionNoCache::didReconnectDOMWindowExtensionToGlobalObject):
1975         Ditto about getting reconnected when coming out of the page cache.
1976         (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyGlobalObjectForDOMWindowExtension):
1977         Tell the UI Process, update the state, and get rid of the BundleDOMWindowExtension.
1978         (TestWebKitAPI::didFinishLoadForFrameCallback):
1979         (TestWebKitAPI::globalObjectIsAvailableForFrameCallback):
1980         (TestWebKitAPI::willDisconnectDOMWindowExtensionFromGlobalObjectCallback):
1981         (TestWebKitAPI::didReconnectDOMWindowExtensionToGlobalObjectCallback):
1982         (TestWebKitAPI::willDestroyGlobalObjectForDOMWindowExtensionCallback):
1983
1984         * TestWebKitAPI/Tests/WebKit2/simple-iframe-unload.html: Added.
1985         * TestWebKitAPI/Tests/WebKit2/simple-unload.html: Added.
1986
1987 2012-05-09  Adam Barth  <abarth@webkit.org>
1988
1989         [Chromium] Android's DRT doesn't want to build WebUserMediaClientMock
1990         https://bugs.webkit.org/show_bug.cgi?id=86045
1991
1992         Reviewed by Eric Seidel.
1993
1994         * DumpRenderTree/DumpRenderTree.gypi:
1995
1996 2012-05-09  Adam Barth  <abarth@webkit.org>
1997
1998         [Chromium] MockWebSpeechInputController.cpp should be guarded by ENABLE(INPUT_SPEECH)
1999         https://bugs.webkit.org/show_bug.cgi?id=86041
2000
2001         Reviewed by Eric Seidel.
2002
2003         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
2004
2005 2012-05-09  Adam Barth  <abarth@webkit.org>
2006
2007         [Chromium] Android needs to swizzle pixel dumps in order to get the same hash as other platforms
2008         https://bugs.webkit.org/show_bug.cgi?id=86040
2009
2010         Reviewed by Kent Tamura.
2011
2012         * DumpRenderTree/chromium/TestShell.cpp:
2013         (TestShell::dumpImage):
2014
2015 2012-05-09  Raphael Kubo da Costa  <rakuco@webkit.org>
2016
2017         [EFL] Build fix after r116464.
2018
2019         `ulong' is a type defined by glibc, so it is not very
2020         portable. Use `unsigned long' instead.
2021
2022         * DumpRenderTree/efl/EventSender.cpp:
2023         (DelayedEvent::DelayedEvent):
2024         (DelayedEvent):
2025         (leapForwardCallback):
2026
2027 2012-05-09  Adam Barth  <abarth@webkit.org>
2028
2029         [Chromium] LayoutTestController should use ENABLE guards for some features
2030         https://bugs.webkit.org/show_bug.cgi?id=86030
2031
2032         Reviewed by Eric Seidel.
2033
2034         These features are disabled on OS(ANDROID) and so shouldn't be compiled
2035         when the feature is off.
2036
2037         * DumpRenderTree/chromium/LayoutTestController.cpp:
2038         (LayoutTestController::LayoutTestController):
2039         * DumpRenderTree/chromium/LayoutTestController.h:
2040         (LayoutTestController):
2041         * DumpRenderTree/chromium/TestShell.h:
2042         (TestShell):
2043
2044 2012-05-09  Tom Zakrajsek  <tomz@codeaurora.org>
2045
2046         Fix overzealous re-opened since blocked by... message
2047         https://bugs.webkit.org/show_bug.cgi?id=86020
2048
2049         Reviewed by Adam Barth.
2050
2051         Changed CreateBug behavior to only re-open a blocked bug if it
2052         was RESOLVED.  Also had to update the test infrastructure slightly
2053         to allow for distinct mock commit revisions, so one could point
2054         to a RESOLVED bug for testing while another pointed to an OPEN bug.
2055
2056         Also moved default created mock bug to be 60001 instead of 50004
2057         which already exists as a reference mock bug.
2058
2059         * Scripts/webkitpy/common/checkout/checkout_mock.py:
2060         (MockCheckout.__init__):
2061         (MockCheckout.commit_info_for_revision):
2062         * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
2063         (MockBugzilla.create_bug):
2064         * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
2065         * Scripts/webkitpy/tool/commands/download_unittest.py:
2066         (test_create_rollout_resolved):
2067         * Scripts/webkitpy/tool/commands/queries_unittest.py:
2068         (FailureReasonTest.test_blame_line_for_revision):
2069         * Scripts/webkitpy/tool/steps/createbug.py:
2070         (CreateBug.run):
2071
2072 2012-05-09  Hugo Parente Lima  <hugo.lima@openbossa.org>
2073
2074         Use suitable viewport values on XHTML-MP pages.
2075         https://bugs.webkit.org/show_bug.cgi?id=85425
2076
2077         Reviewed by Kenneth Rohde Christiansen.
2078
2079         Enable LEGACY_VIEWPORT_ADAPTION on Qt port.
2080
2081         * qmake/mkspecs/features/features.prf:
2082
2083 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
2084
2085         When creating a new page during a navigation, prime the initial document with the correct referrer policy
2086         https://bugs.webkit.org/show_bug.cgi?id=86001
2087
2088         Reviewed by Adam Barth.
2089
2090         Store the referrer policy in the request, so the network stack can comply with it.
2091
2092         * DumpRenderTree/chromium/WebViewHost.cpp:
2093         (WebViewHost::willSendRequest):
2094
2095 2012-05-09  Vivek Galatage  <vivekgalatage@gmail.com>
2096
2097         Remove CYGWIN=tty from environment variable as its no longer supported
2098         https://bugs.webkit.org/show_bug.cgi?id=85791
2099
2100         The CYGWIN=tty environment variable is no longer supported from Cygwin
2101         version 1.7.10. This fix avoids addition of this environment variable
2102         for Cygwin versions greater than 1.7.9. For supporting older versions
2103         i.e. 1.7.9 or older, the script takes care of retaining the environment
2104         variable.
2105
2106         Reviewed by Adam Roben.
2107
2108         * Scripts/webkitdirs.pm:
2109         (setupAppleWinEnv):
2110
2111 2012-05-09  Dirk Pranke  <dpranke@chromium.org>
2112
2113         nrwt: --skip-failing-tests should also skip flaky tests
2114         https://bugs.webkit.org/show_bug.cgi?id=85941
2115
2116         Reviewed by Ojan Vafai.
2117
2118         This changes --skip-failing-tests so that we skip tests that
2119         are believed to pass sometimes as well as tests that are
2120         believed to always fail.
2121
2122         In addition, in testing this I discovered that we had lousy
2123         test coverage of the details of retrying test failures and
2124         --clobber-old-results, so I wrote some more tests.
2125
2126         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2127         (Manager.prepare_lists_and_print_output):
2128         * Scripts/webkitpy/layout_tests/port/test.py:
2129         (unit_test_list):
2130         (TestPort.__init__):
2131         (TestDriver.run_test):
2132         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
2133         (MainTest.test_skip_failing_tests):
2134         (MainTest.test_retrying_and_flaky_tests):
2135
2136 2012-05-09  Christophe Dumez  <christophe.dumez@intel.com>
2137
2138         [EFL][DRT] EFL's DRT needs to support LayoutTestController.dumpIconChanges()
2139         https://bugs.webkit.org/show_bug.cgi?id=84435
2140
2141         Reviewed by Antonio Gomes.
2142
2143         Catch the "icon,changed" signal on the frames in EFL's DumpRenderTree
2144         to support LayoutTestController's dumpIconChanges().
2145
2146         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2147         (DumpRenderTreeChrome::createView):
2148         (DumpRenderTreeChrome::onFrameIconChanged):
2149         (DumpRenderTreeChrome::onFrameCreated):
2150         * DumpRenderTree/efl/DumpRenderTreeChrome.h:
2151         (DumpRenderTreeChrome):
2152
2153 2012-05-09  Dominik Röttsches  <dominik.rottsches@intel.com>
2154
2155         webkit-patch upload Fails Behind Load-balancing Proxies
2156         https://bugs.webkit.org/show_bug.cgi?id=85980
2157
2158         Reviewed by Adam Barth.
2159
2160         Unchecking the login restriction to IP to allow the tool
2161         to function behind load-balancing proxies that use multiple
2162         outgoing IPs.
2163
2164         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2165         (Bugzilla.authenticate):
2166
2167 2012-05-09  Hao Zheng  <zhenghao@chromium.org>
2168
2169         [Chromium-android] Add unit test for Android layout test script (chromium_android.py)
2170         https://bugs.webkit.org/show_bug.cgi?id=80852
2171
2172         Reviewed by Adam Barth.
2173
2174         Add some tests to ensure that chromium android port works to some
2175         extent. Some methods is hard to test, as they rely on the actual
2176         behavior on device, e.g. pushing files to device.
2177
2178         * Scripts/webkitpy/layout_tests/port/chromium_android.py:
2179         (ChromiumAndroidPort.get_last_stacktrace): Check if dir exists.
2180         * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
2181         (ChromiumAndroidPortTest):
2182         (ChromiumAndroidPortTest.test_attributes):
2183         (ChromiumAndroidPortTest.test_get_last_stacktrace):
2184         (ChromiumAndroidPortTest.test_get_last_stacktrace.mock_run_command_no_dir):
2185         (ChromiumAndroidPortTest.test_get_last_stacktrace.mock_run_command_no_file):
2186         (ChromiumAndroidPortTest.test_get_last_stacktrace.mock_run_command_non_empty):
2187         (ChromiumAndroidDriverTest):
2188         (ChromiumAndroidDriverTest.setUp):
2189         (ChromiumAndroidDriverTest.test_get_drt_return_value):
2190         (ChromiumAndroidDriverTest.test_has_crash_hint):
2191         (ChromiumAndroidDriverTest.test_read_prompt):
2192         (ChromiumAndroidDriverTest.test_test_shell_command):
2193         (ChromiumAndroidDriverTest.test_write_command_and_read_line):
2194
2195 2012-05-09  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2196
2197         [Qt] ORWT fails with Qt 5 and WK2.
2198         https://bugs.webkit.org/show_bug.cgi?id=85968
2199
2200         Reviewed by Csaba Osztrogonác.
2201
2202         The Qt5 binary does not have a -style argument, so avoid using it.
2203
2204         * Scripts/old-run-webkit-tests:
2205
2206 2012-05-09  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2207
2208         [EFL][DRT] LayoutTestController addUserScript implementation
2209         https://bugs.webkit.org/show_bug.cgi?id=84718
2210
2211         Reviewed by Antonio Gomes.
2212
2213         Added implementation of addUserScript() to LayoutTestController.
2214
2215         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2216         (DumpRenderTreeChrome::resetDefaultsToConsistentValues): clear added user scripts
2217         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2218         (LayoutTestController::addUserScript): added implementation
2219
2220 2012-05-09  Dan Bernstein  <mitz@apple.com>
2221
2222         Made build-webkit copy WebKitLibraries to the right location again after r116257
2223
2224         Reviewed by Mark Rowe.
2225
2226         * Scripts/build-webkit: Pass the built product directory to copy-webkitlibraries-to-product-directory.
2227         * Scripts/copy-webkitlibraries-to-product-directory: Use the first argument, if present, as the
2228         product directory.
2229
2230 2012-05-08  Ojan Vafai  <ojan@chromium.org>
2231
2232         Show the chromium non-layout test bots in garden-o-matic
2233         https://bugs.webkit.org/show_bug.cgi?id=85903
2234
2235         Reviewed by Eric Seidel.
2236
2237         This is just a single-line high-level overview of the chromium non-layout test bots.
2238         This means that Chromium WebKit gardeners only need to keep garden-o-matic open in
2239         order to do their job.
2240
2241         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
2242         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
2243         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
2244         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css:
2245         (#chromium-gtests iframe):
2246         (#chromium-gtests):
2247         (#gtest-label):
2248
2249 2012-05-08  Kangil Han  <kangil.han@samsung.com>
2250
2251         [EFL][DRT] Implement TextInputController.
2252         https://bugs.webkit.org/show_bug.cgi?id=78559
2253
2254         Reviewed by Martin Robinson.
2255
2256         TextInputController has been created for an input emulation purpose in DRT.
2257         However, not like other ports, EFL doesn't have it.
2258         Therefore, this patch will enable EFL port to have an input emulation in DRT.
2259
2260         * DumpRenderTree/efl/CMakeLists.txt:
2261         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2262         (DumpRenderTreeChrome::onWindowObjectCleared):
2263         * DumpRenderTree/efl/TextInputController.cpp: Added.
2264         (setMarkedTextCallback):
2265         (hasMarkedTextCallback):
2266         (markedRangeCallback):
2267         (insertTextCallback):
2268         (unmarkTextCallback):
2269         (firstRectForCharacterRangeCallback):
2270         (selectedRangeCallback):
2271         (makeTextInputController):
2272         * DumpRenderTree/efl/TextInputController.h: Added.
2273
2274 2012-04-23  Raphael Kubo da Costa  <rakuco@webkit.org>
2275
2276         [EFL] Pass a WTF::String directly from DRT to ewebkit when possible
2277         https://bugs.webkit.org/show_bug.cgi?id=84634
2278
2279         Reviewed by Gustavo Noronha Silva.
2280
2281         Drop unnecessary const char* -> WTF::String conversions by
2282         creating String objects directly in LayoutTestController out of
2283         JSStringRef's and passing them to DumpRenderTreeSupportEfl.
2284
2285         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2286         (LayoutTestController::queueLoad):
2287         (LayoutTestController::setValueForUser):
2288         (LayoutTestController::findString):
2289         (LayoutTestController::addUserStyleSheet):
2290
2291 2012-05-08  Alexander Shalamov  <alexander.shalamov@intel.com>
2292
2293         [EFL][DRT] EventSender needs implementation of leapForward function
2294         https://bugs.webkit.org/show_bug.cgi?id=83486
2295
2296         Reviewed by Eric Seidel.
2297
2298         Implemented leapForward function in Efl's DRT. This function is required
2299         to delay and queue event execution and simulate real user behavior.
2300
2301         * DumpRenderTree/efl/EventSender.cpp:
2302         (DelayedEvent):
2303         (MouseEventInfo::MouseEventInfo):
2304         (MouseEventInfo):
2305         (sendClick):
2306         (mouseDownCallback):
2307         (mouseUpCallback):
2308         (mouseMoveToCallback):
2309         (leapForwardCallback):
2310         (mouseScrollByCallback):
2311         (feedOrQueueMouseEvent):
2312         (feedMouseEvent):
2313         (feedQueuedMouseEvents):
2314
2315 2012-05-08  Ryuan Choi  <ryuan.choi@samsung.com>
2316
2317         [EFL][DRT] WebKit/DRT should not paint webview for the pixel tests.
2318         https://bugs.webkit.org/show_bug.cgi?id=79853
2319
2320         Reviewed by Eric Seidel.
2321
2322         Screen buffer can be different from rendered results.
2323         For example, WebKit/Efl just moves tiles for ewk_view_tiled when scrolling
2324         contents.
2325         It means that pixel tests can't check regression of ewk_view_tiled.
2326
2327         This patch changes a way to provide bitmap from painting webview to capturing
2328         evas.
2329
2330         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
2331         (createBitmapContextFromWebView):
2332
2333 2012-05-08  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2334
2335         [GTK] Memory leak in DRT EventSender.cpp
2336         https://bugs.webkit.org/show_bug.cgi?id=85886
2337
2338         Reviewed by Martin Robinson.
2339
2340         Fix a memory leak in gdkModifersFromJSValue() by using JSRetainPtr for
2341         JSString created with JSStringCreateWithUTF8CString.
2342
2343         * DumpRenderTree/gtk/EventSender.cpp:
2344         (gdkModifersFromJSValue):
2345
2346 2012-05-08  Christophe Dumez  <christophe.dumez@intel.com>
2347
2348         [EFL] glib dependency needs to be updated in jhbuild
2349         https://bugs.webkit.org/show_bug.cgi?id=85878
2350
2351         Reviewed by Martin Robinson.
2352
2353         Bump glib version from 2.31.8 to 2.32.2 in jhbuild.modules. This
2354         addresses flakiness in media tests due to possible deadlock with the
2355         following output on stderr:
2356         GStreamer-WARNING **: wrong STREAM_LOCK count 0
2357
2358         The bug was fixed upstream by:
2359         http://git.gnome.org/browse/glib/commit/?id=265f265c677bc5399dbb1cfa449cb4b915a6459f
2360
2361         * efl/jhbuild.modules:
2362
2363 2012-05-07  Alexis Menard  <alexis.menard@openbossa.org>
2364
2365         [Qt] Unbreak debugging of WebKit2.
2366         https://bugs.webkit.org/show_bug.cgi?id=85839
2367
2368         Reviewed by Simon Hausmann.
2369
2370         When you attach GDB to a running process, it stops it.
2371         http://trac.webkit.org/changeset/115958 introduced a pause() 
2372         call to wait the debugger to be attached to then continue 
2373         the execution of the WebProcess. Unfortunately the pause()
2374         function does not return unless a signal handler is called.
2375         This patch introduce an event handler to exit from the paused
2376         state when the debugger send the signal SIGCONT. The old code
2377         works with older version of GDB (<7.0) but not with newer
2378         versions where the behavior of pause() is correct.
2379
2380         * WebKitTestRunner/qt/main.cpp:
2381         (sigcontHandler):
2382         (main):
2383
2384 2012-05-08  Christophe Dumez  <christophe.dumez@intel.com>
2385
2386         [EFL][DRT] EFL's DRT does not fully support page visibility
2387         https://bugs.webkit.org/show_bug.cgi?id=85032
2388
2389         Reviewed by Antonio Gomes.
2390
2391         * DumpRenderTree/LayoutTestController.cpp:
2392         (resetPageVisibilityCallback): Fix incorrect argumentCount check.
2393         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2394         (DumpRenderTreeChrome::resetDefaultsToConsistentValues): Properly
2395         reset page visibility setting between tests.
2396         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2397         (LayoutTestController::setPageVisibility): Add support for "preview"
2398         visibility state.
2399
2400 2012-05-08  Gavin Peters  <gavinp@chromium.org>
2401
2402         [webkit-patch] Return meaningful results from single-result queries.
2403         https://bugs.webkit.org/show_bug.cgi?id=85367
2404
2405         Reviewed by Dirk Pranke.
2406
2407         Sometimes a quicksearch returns a single result by just redirecting to the page for that single
2408         bug. This patch hacks around that by noticing the redirect target is a single page, and constructing
2409         a result list consisting of that one bug.
2410
2411         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2412         (BugzillaQueries._fetch_bugs_from_advanced_query):
2413
2414 2012-05-08  Gavin Peters  <gavinp@chromium.org>
2415
2416         [webkit-patch] Add new chrome-channels command to track down current chrome release channels for a committed bug.
2417         https://bugs.webkit.org/show_bug.cgi?id=85368
2418
2419         Reviewed by Eric Seidel.
2420
2421         * Scripts/webkitpy/common/config/urls.py:
2422         * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
2423         (MockBugzillaQueries.fetch_bugs_matching_quicksearch):
2424         * Scripts/webkitpy/common/net/omahaproxy.py: Added.
2425         (OmahaProxy):
2426         (OmahaProxy.__init__):
2427         (OmahaProxy.set_url):
2428         (OmahaProxy._json_url):
2429         (OmahaProxy._get_json):
2430         (OmahaProxy.get_revisions):
2431         * Scripts/webkitpy/common/net/omahaproxy_unittest.py: Added.
2432         (MockOmahaProxy):
2433         (MockOmahaProxy.__init__):
2434         (OmahaProxyTest):
2435         (OmahaProxyTest.test_get_revisions):
2436         * Scripts/webkitpy/tool/commands/__init__.py:
2437         * Scripts/webkitpy/tool/commands/bugsearch.py:
2438         (BugSearch):
2439         * Scripts/webkitpy/tool/commands/chromechannels.py: Added.
2440         (ChromeChannels):
2441         (__init__):
2442         (execute):
2443         * Scripts/webkitpy/tool/commands/chromechannels_unittest.py: Added.
2444         (MockOmahaProxy):
2445         (MockOmahaProxy.get_revisions):
2446         (TestableChromeChannels):
2447         (TestableChromeChannels.__init__):
2448         (ChromeChannelsTest):
2449         (ChromeChannelsTest.test_single_bug):
2450         (ChromeChannelsTest.test_with_query):
2451
2452 2012-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2453
2454         Unreviewed. Fix GTK+ unit tests.
2455
2456         * gtk/common.py:
2457         (pkg_config_file_variable):
2458
2459 2012-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2460
2461         [GTK] Google tests that time out are leaked
2462         https://bugs.webkit.org/show_bug.cgi?id=84973
2463
2464         Reviewed by Philippe Normand.
2465
2466         Move Tools/Scripts/run-gtk-tests to Tools/gtk/run-api-tests
2467         leaving run-gtk-tests as simple wrapper that runs run-api-tests in
2468         a jhbuild environment when jhbuild is available.
2469
2470         * Scripts/run-gtk-tests: Run Tools/gtk/run-api-tests directly or
2471         with jhbuild if present.
2472         * gtk/common.py:
2473         (pkg_config_file_variable): Generic function to get a variable
2474         from a pkg-config file.
2475         (prefix_of_pkg_config_file): Use pkg_config_file_variable with 'prefix'.
2476         * gtk/run-api-tests: Copied from Tools/Scripts/run-gtk-tests.
2477         (TestRunner.__init__): Use common.build_path() to get the programs path.
2478         (TestRunner._lookup_atspi2_binary): Use
2479         common.pkg_config_file_variable() to get the 'exec_prefix'.
2480         (TestRunner._start_accessibility_daemons): Use subprocess.Popen()
2481         directly instead of helper _create_process that has been removed.
2482         (TestRunner._setup_testing_environment): Use subprocess.Popen()
2483         directly instead of helper _create_process that has been
2484         removed. Use common.top_level_path() and common.build_path()
2485         instead of custom methods that have been removed too.
2486         (TestRunner._run_test_command): Use subprocess.Popen() directly
2487         instead of helper _create_process that has been removed.
2488
2489 2012-05-08  Thiago Marcos P. Santos  <thiago.santos@intel.com>
2490
2491         [EFL] [DRT] Clear extra views before setting a blank page
2492         https://bugs.webkit.org/show_bug.cgi?id=85608
2493
2494         Reviewed by Kenneth Rohde Christiansen.
2495
2496         We need to clear the extra views before setting a blank page,
2497         otherwise it will cause more events interactions and sometimes
2498         trigger a unload(). This was causing frame-crash-with-page-cache.html
2499         to leak events to the next test causing any subsequent test to
2500         fail.
2501
2502         * DumpRenderTree/efl/DumpRenderTree.cpp:
2503         (runTest):
2504         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2505         (DumpRenderTreeChrome::clearExtraViews):
2506         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
2507         * DumpRenderTree/efl/DumpRenderTreeChrome.h:
2508         (DumpRenderTreeChrome):
2509
2510 2012-05-08  Balazs Kelemen  <kbalazs@webkit.org>
2511
2512         [Qt] X11 plugins need to be reworked for Qt5+WK1
2513         https://bugs.webkit.org/show_bug.cgi?id=80691
2514
2515         Reviewed by Simon Hausmann.
2516
2517         Implement basic windowless plugin support with Qt5.
2518
2519         * qmake/mkspecs/features/features.prf:
2520         Enable NPAPI plugins if X11 libraries are available.
2521         * qmake/mkspecs/features/functions.prf:
2522         Added a convenience function to determine availability
2523         of X11 libraries.
2524
2525 2012-05-07  Raphael Kubo da Costa  <rakuco@webkit.org>
2526
2527         [webkitpy] Remove Python 2.5-specific workaround from http_server_base.py.
2528         https://bugs.webkit.org/show_bug.cgi?id=85852
2529
2530         Reviewed by Dirk Pranke.
2531
2532         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
2533         (HttpServerBase._is_server_running_on_all_ports): Revert the part
2534         of r89412 which was a workaround for an issue with Python 2.5 on
2535         Mac 10.5.
2536
2537 2012-05-07  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
2538
2539         webkitdirs.pm: Make determineNumberOfCPUs work on FreeBSD.
2540         https://bugs.webkit.org/show_bug.cgi?id=81481
2541
2542         Reviewed by Dirk Pranke.
2543
2544         FreeBSD has the same sysctl interface present in Darwin to query
2545         the number of CPUs available, so use that too.
2546
2547         * Scripts/webkitdirs.pm:
2548         (determineNumberOfCPUs): Share the sysctl call with Darwin.
2549         (isFreeBSD): Added.
2550
2551 2012-05-07  Alexis Menard  <alexis.menard@openbossa.org>
2552
2553         Unreviewed Qt build fix in Debug.
2554
2555         We need some system includes here for getpid() to be recognized.
2556
2557         * WebKitTestRunner/qt/main.cpp:
2558
2559 2012-05-07  Ojan Vafai  <ojan@chromium.org>
2560
2561         When embedding the flakiness dashboard, hide popups when the frame is blurred.
2562         https://bugs.webkit.org/show_bug.cgi?id=85684
2563
2564         Reviewed by Dirk Pranke.
2565
2566         If you show a popup, then click elsewhere in garden-o-matic, it will now
2567         properly hide it.
2568
2569         * TestResultServer/static-dashboards/dashboard_base.js:
2570         (showPopup):
2571         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2572         (showPopupForBuild):
2573         (generatePageForIndividualTests.if):
2574         (generatePageForIndividualTests):
2575         * TestResultServer/static-dashboards/flakiness_dashboard_embedded_unittests.js: Added.
2576         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2577         * TestResultServer/static-dashboards/run-embedded-unittests.html: Added.
2578
2579 2012-05-07  Ian Vollick  <vollick@chromium.org>
2580
2581         [chromium] WebViewHost should setCompositorSurfaceReady
2582         https://bugs.webkit.org/show_bug.cgi?id=85418
2583
2584         Reviewed by James Robinson.
2585
2586         * DumpRenderTree/chromium/WebViewHost.cpp:
2587         (WebViewHost::setWebWidget):
2588
2589 2012-05-07  Jon Lee  <jonlee@apple.com>
2590
2591         WebKitTestRunner needs layoutTestController.dumpFrameLoadCallbacks
2592         https://bugs.webkit.org/show_bug.cgi?id=42331
2593         <rdar://problem/8193641>
2594
2595         Reviewed by Darin Adler.
2596
2597         This patch sets up the framework for supporting dumpFrameLoadCallbacks, as well as
2598         outputting some of the required strings. As tests become unskipped the other callbacks
2599         can be supported.
2600
2601         * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Add dumpFrameLoadCallbacks()
2602         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2603         (WTR::InjectedBundle::didReceiveMessage): pass in the dictionary containing keys needed to initialize
2604         dump callbacks for the layoutTestController.
2605         (WTR::InjectedBundle::booleanForKey): Helper function to extract boolean value from key in WKDictionaryRef.
2606         Output some warning if we are trying to extract a value that is not a boolean.
2607         (WTR::InjectedBundle::beginTesting): Update to take in the dictionary passed in by the TestController.
2608         We cannot set the bits on the layoutTestController until it has been created in beginTesting().
2609         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2610         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2611         (WTR::InjectedBundle::didReceiveMessage):
2612         (WTR):
2613         (WTR::InjectedBundle::beginTesting):
2614         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2615         (InjectedBundle):
2616         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2617         (WTR):
2618         (WTR::dumpFrameDescriptionSuitableForTestResult): Static function similar to
2619         -[WebFrame _drt_descriptionSuitableForTestResult] in DumpRenderTree.
2620         (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame): Output string.
2621         (WTR::InjectedBundlePage::didCommitLoadForFrame): Output string.
2622         (WTR::InjectedBundlePage::didFinishLoadForFrame): Output string.
2623         (WTR::InjectedBundlePage::didReceiveTitleForFrame): Output string.
2624         (WTR::InjectedBundlePage::didCancelClientRedirectForFrame): Output string.
2625         (WTR::InjectedBundlePage::willPerformClientRedirectForFrame): Output string. In WK1 it's
2626         "willPerformClientRedirectToURL" so we will have to use that value here.
2627         (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame): Output string.
2628         (WTR::InjectedBundlePage::didHandleOnloadEventsForFrame): Output string.
2629         * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
2630         (WTR::LayoutTestController::LayoutTestController): Initialize to not dump frame load callbacks.
2631         * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
2632         (WTR::LayoutTestController::dumpFrameLoadCallbacks): Change to use setShouldDumpFrameLoadCallbacks.
2633         (WTR::LayoutTestController::setShouldDumpFrameLoadCallbacks): Set bit.
2634         (WTR::LayoutTestController::shouldDumpFrameLoadCallbacks): Return bit.
2635         (LayoutTestController): Added m_dumpFrameLoadCallbacks to track whether to dump the output.
2636         * WebKitTestRunner/TestInvocation.cpp:
2637         (WTR::shouldLogFrameLoadDelegates): Similar to DRT.
2638         (WTR::TestInvocation::invoke): Based on the URL loaded, set the bit in the dictionary that gets passed
2639         to the injected bundle.
2640
2641 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
2642
2643         [chromium] MediaStream API: Enhance WebUserMediaClientMock and add a test for it
2644         https://bugs.webkit.org/show_bug.cgi?id=85618
2645
2646         Reviewed by Adam Barth.
2647
2648         Adding the capability to control which MediaStreamTracks actually get created,
2649         and adding a test that exercises the JS api using that capability.
2650
2651         * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
2652         (WebKit::WebUserMediaClientMock::requestUserMedia):
2653         * DumpRenderTree/chromium/WebUserMediaClientMock.h:
2654         * DumpRenderTree/chromium/WebViewHost.cpp:
2655         (WebViewHost::testMediaStreamClient):
2656         * DumpRenderTree/chromium/WebViewHost.h:
2657         (WebViewHost):
2658
2659 2012-05-07  Zan Dobersek  <zandobersek@gmail.com>
2660
2661         [Gtk] WebGL feature is not built anymore through build-webkit after r116251
2662         https://bugs.webkit.org/show_bug.cgi?id=85788
2663
2664         Reviewed by Martin Robinson.
2665
2666         Enable WebGL by default for the Gtk port. The feature is already enabled by
2667         default in configure.ac, so there's no reason it shouldn't be enabled when
2668         building through build-webkit.
2669
2670         * Scripts/webkitperl/FeatureList.pm:
2671
2672 2012-05-07  Csaba Osztrogonác  <ossy@webkit.org>
2673
2674         Unittest fix after r116288, because now there are more than 5 hit for the 'Eric' word.
2675         We have only 2 'Gavin', so it is a better choice than 'Eric' for unit testing.
2676
2677         Reviewed by Tor Arne Vestbø.
2678
2679         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
2680         (IRCCommandTest.test_whois):
2681
2682 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2683
2684         Unreviewed, rolling out r116299, r116301, and r116303.
2685         http://trac.webkit.org/changeset/116299
2686         http://trac.webkit.org/changeset/116301
2687         http://trac.webkit.org/changeset/116303
2688         https://bugs.webkit.org/show_bug.cgi?id=85795
2689
2690         Build is still broken (Requested by Ossy on #webkit).
2691
2692         * DumpRenderTree/qt/DumpRenderTree.pro:
2693         * DumpRenderTree/qt/main.cpp:
2694         (main):
2695         * QtTestPlatformPlugin/QtTestPlatformPlugin.pro: Removed.
2696         * QtTestPlatformPlugin/TestIntegration.cpp: Removed.
2697         * QtTestPlatformPlugin/TestIntegration.h: Removed.
2698         * QtTestPlatformPlugin/mac/TestFontDatabase.h: Removed.
2699         * QtTestPlatformPlugin/mac/TestFontDatabase.mm: Removed.
2700         * QtTestPlatformPlugin/mac/TestIntegrationMac.mm: Removed.
2701         * QtTestPlatformPlugin/main.cpp: Removed.
2702         * QtTestPlatformPlugin/testplatform.json: Removed.
2703         * Tools.pro:
2704         * WebKitTestRunner/Target.pri:
2705         * WebKitTestRunner/qt/main.cpp:
2706         (main):
2707
2708 2012-05-07  Balazs Kelemen  <kbalazs@webkit.org>
2709
2710         Unreviewed Qt build fix.
2711
2712         One more try to learn how to use
2713         const with a pointer array.
2714
2715         * DumpRenderTree/qt/main.cpp:
2716         (initializeTestPlatformPlugin):
2717
2718 2012-05-07  Balazs Kelemen  <kbalazs@webkit.org>
2719
2720         Unreviewed build fix after r116299.
2721
2722         * DumpRenderTree/qt/main.cpp:
2723         (initializeTestPlatformPlugin):
2724
2725 2012-05-07  Balazs Kelemen  <kbalazs@webkit.org>
2726
2727         [Qt] Add test specific platform plugin to achieve unified layout test results
2728         https://bugs.webkit.org/show_bug.cgi?id=80996
2729
2730         Reviewed by Simon Hausmann.
2731
2732         Added QtTestPlatformPlugin as a new project under Tools.
2733         This is a Qt5-ish platform plugin that can be used to tweak the
2734         platform support interfaces in order to unify layout test results.
2735         For now it only overrides the font database on Mac and redirects
2736         everything else to the real platform plugin. The font database it
2737         provides mimics the way how we set up test fonts with fontconfig on Linux.
2738         Make DumpRenderTree and WebKitTestRunner use this platform plugin.
2739
2740         * DumpRenderTree/qt/DumpRenderTree.pro:
2741         * DumpRenderTree/qt/main.cpp:
2742         (initializeTestPlatformPlugin):
2743         (main):
2744         * QtTestPlatformPlugin/QtTestPlatformPlugin.pro: Added.
2745         * QtTestPlatformPlugin/TestIntegration.cpp: Added.
2746         (TestIntegration::TestIntegration):
2747         (TestIntegration::fontDatabase):
2748         * QtTestPlatformPlugin/TestIntegration.h: Added.
2749         (TestIntegration):
2750         (TestIntegration::hasCapability):
2751         (TestIntegration::createPlatformPixmap):
2752         (TestIntegration::createPlatformWindow):
2753         (TestIntegration::createPlatformBackingStore):
2754         (TestIntegration::createPlatformOpenGLContext):
2755         (TestIntegration::createPlatformSharedGraphicsCache):
2756         (TestIntegration::guiThreadEventDispatcher):
2757         (TestIntegration::clipboard):
2758         (TestIntegration::drag):
2759         (TestIntegration::inputContext):
2760         (TestIntegration::accessibility):
2761         (TestIntegration::nativeInterface):
2762         (TestIntegration::services):
2763         (TestIntegration::styleHint):
2764         (TestIntegration::platformTheme):
2765         * QtTestPlatformPlugin/mac/TestFontDatabase.h: Added.
2766         (TestFontDatabase):
2767         * QtTestPlatformPlugin/mac/TestFontDatabase.mm: Added.
2768         (TestFontDatabase::populateFontDatabase):
2769         * QtTestPlatformPlugin/mac/TestIntegrationMac.mm: Added.
2770         (TestIntegration::fontDatabase):
2771         * QtTestPlatformPlugin/main.cpp: Added.
2772         (TestIntegrationPlugin::keys):
2773         (TestIntegrationPlugin::create):
2774         (TestIntegrationPlugin::initialize):
2775         * QtTestPlatformPlugin/testplatform.json: Added.
2776         * Tools.pro:
2777         * WebKitTestRunner/Target.pri:
2778         * WebKitTestRunner/qt/main.cpp:
2779         (main):
2780
2781 2012-05-07  Christophe Dumez  <christophe.dumez@intel.com>
2782
2783         [EFL] media/video-poster-blocked-by-willsendrequest.html is flaky
2784         https://bugs.webkit.org/show_bug.cgi?id=85609
2785
2786         Reviewed by Simon Hausmann.
2787
2788         Flakiness was caused by the fact that
2789         media/crash-closing-page-with-media-as-plugin-fallback.html and
2790         media/video-poster-blocked-by-willsendrequest.html use the same PNG
2791         file as poster attribute in the video tag. The PNG file gets cached
2792         when the first test is executed and this somehow causes the second
2793         test to fail. 
2794
2795         The flakiness was addressed by clearing the memory and page caches
2796         between tests.
2797
2798         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2799         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
2800
2801 2012-05-07  Eric Seidel  <eric@webkit.org>
2802
2803         Add values for all features to Qt's features.pri
2804         https://bugs.webkit.org/show_bug.cgi?id=85746
2805
2806         Reviewed by Tor Arne Vestbø.
2807
2808         When generate-feature-files generates features.pri it provides a value
2809         for every possible ENABLE_.  In prepration for landing generate-feature-files
2810         it seems appropriate to add a value for all possible ENABLEs to the existing
2811         features.pri.  This lets me make sure that I'm getting them all right!
2812
2813         * qmake/mkspecs/features/features.pri:
2814
2815 2012-05-07  Adam Bergkvist  <adam.bergkvist@ericsson.com>
2816
2817         Added myself as a committer.
2818
2819         Not reviewed.
2820
2821         * Scripts/webkitpy/common/config/committers.py:
2822
2823 2012-05-07  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2824
2825         [EFL][DRT] Implement LayoutTestController::execCommand
2826         https://bugs.webkit.org/show_bug.cgi?id=82286
2827
2828         Reviewed by Antonio Gomes.
2829
2830         Add missing implementation execCommand and isCommandEnabled to EFL's
2831         LayoutTestController. 
2832
2833         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2834         (LayoutTestController::execCommand):
2835         (LayoutTestController::isCommandEnabled):
2836
2837 2012-05-06  Hayato Ito  <hayato@chromium.org>
2838
2839         [prepare-ChangeLog] Excludes a reference file used by reftests from test files.
2840         https://bugs.webkit.org/show_bug.cgi?id=74268
2841
2842         Reviewed by Ryosuke Niwa.
2843
2844         * Scripts/prepare-ChangeLog:
2845         (generateFileList):
2846
2847 2012-05-06  Mary Wu  <mary.wu@torchmobile.com.cn>
2848
2849         Add a contributor to committers.py
2850         https://bugs.webkit.org/show_bug.cgi?id=85761
2851
2852         Reviewed by Unreviewed.
2853
2854         Add myself to committers.py contributor.
2855
2856         * Scripts/webkitpy/common/config/committers.py:
2857
2858 2012-05-06  Dan Bernstein  <mitz@apple.com>
2859
2860         Tools part of: Building and debugging WebKit in the Xcode IDE requires a lot of setup
2861         https://bugs.webkit.org/show_bug.cgi?id=85739
2862
2863         Reviewed by Daniel Bates.
2864
2865         * Scripts/build-webkit: Moved code that copies from WebKitLibraries to the product directory
2866         from here...
2867         * Scripts/copy-webkitlibraries-to-product-directory: ...to this new script.
2868
2869 2012-05-06  Andy Estes  <aestes@apple.com>
2870
2871         Fix the build after r116246.
2872
2873         * DumpRenderTree/LayoutTestController.cpp: Remove an unused function.
2874
2875 2012-05-06  Eric Seidel  <eric@webkit.org>
2876
2877         Update several build-webkit options to match the #defines they toggle
2878         https://bugs.webkit.org/show_bug.cgi?id=85744
2879
2880         Reviewed by Adam Barth.
2881
2882         Most notable here is fixing --3d-canvas to be --webgl these days --
2883         the define was renamed 15 months ago!
2884
2885         * Scripts/webkitperl/FeatureList.pm:
2886
2887 2012-05-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2888
2889         [EFL] EFL's LayoutTestController setJavaScriptCanAccessClipboard implementation
2890         https://bugs.webkit.org/show_bug.cgi?id=83687
2891
2892         Reviewed by Antonio Gomes.
2893
2894         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2895         (LayoutTestController::setJavaScriptCanAccessClipboard):
2896
2897 2012-05-06  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2898
2899         Convert isPageBoxVisible to use Internals interface.
2900         https://bugs.webkit.org/show_bug.cgi?id=85692
2901
2902         Reviewed by Darin Adler.
2903
2904         Remove isPageBoxVisible functions, because it is able to work in the
2905         cross-port way through the Internals interface.
2906
2907         * DumpRenderTree/LayoutTestController.cpp:
2908         (LayoutTestController::staticFunctions):
2909         * DumpRenderTree/LayoutTestController.h:
2910         (LayoutTestController):
2911         * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
2912         * DumpRenderTree/chromium/LayoutTestController.cpp:
2913         (LayoutTestController::LayoutTestController):
2914         * DumpRenderTree/chromium/LayoutTestController.h:
2915         (LayoutTestController):
2916         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2917         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2918         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2919         * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2920         * DumpRenderTree/qt/LayoutTestControllerQt.h:
2921         (LayoutTestController):
2922         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2923         * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2924
2925 2012-05-06  Tom Zakrajsek  <tomz@codeaurora.org>
2926
2927         sheriffbot isn't reopening patches after it lands rollouts
2928         https://bugs.webkit.org/show_bug.cgi?id=64418
2929
2930         Reviewed by Adam Barth.
2931
2932         * Scripts/webkitpy/tool/commands/download_unittest.py:
2933         * Scripts/webkitpy/tool/steps/createbug.py:
2934         (CreateBug.run):
2935
2936 2012-05-04  Raphael Kubo da Costa  <rakuco@webkit.org>
2937
2938         webkitpy: Use os.pathsep instead of manually finding out the path separator in NRWT.
2939         https://bugs.webkit.org/show_bug.cgi?id=85697
2940
2941         Reviewed by Eric Seidel.
2942
2943         * Scripts/new-run-webkit-tests: Instead of manually detecting whether
2944         the path separator should be ':' or ';' by checking sys.platform, rely
2945         on os.pathsep which has exactly the same information (os.pathsep is
2946         ':' for Cygwin, from what I could check in Python's sources).
2947
2948 2012-05-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2949
2950         Unreviewed, rolling out r116223.
2951         http://trac.webkit.org/changeset/116223
2952         https://bugs.webkit.org/show_bug.cgi?id=85718
2953
2954         The bots need to set XDG_DATA_DIRS (Requested by rakuco on
2955         #webkit).
2956
2957         * efl/jhbuildrc:
2958         * gtk/jhbuildrc:
2959
2960 2012-05-05  Raphael Kubo da Costa  <rakuco@webkit.org>
2961
2962         [jhbuild] Do not set XDG_DATA_DIRS in jhbuildrc.
2963         https://bugs.webkit.org/show_bug.cgi?id=85717
2964
2965         Reviewed by Martin Robinson.
2966
2967         After r116209, the XDG_DATA_DIRS environment variable is now
2968         passed by webkitpy's layout_tests code to run-with-jhbuild, so
2969         instead of setting a few defaults in jhbuildrc we can now rely on
2970         the values set and really used by each system.
2971
2972         * efl/jhbuildrc:
2973         * gtk/jhbuildrc:
2974
2975 2012-05-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2976
2977         [Qt] Buildfix for --minimal build after r116107.
2978
2979         Reviewed by Csaba Osztrogonác.
2980
2981         * qmake/mkspecs/features/features.prf:
2982
2983 2012-05-05  Zan Dobersek  <zandobersek@gmail.com>
2984
2985         [Gtk] GtkDriver is not required anymore after r116134
2986         https://bugs.webkit.org/show_bug.cgi?id=85699
2987
2988         Reviewed by Csaba Osztrogonác.
2989
2990         Remove GtkDriver as it was replaced by the XvfbDriver and is
2991         no longer needed.
2992
2993         * Scripts/webkitpy/layout_tests/port/gtk.py:
2994
2995 2012-05-05  Zan Dobersek  <zandobersek@gmail.com>
2996
2997         Increase the display ID for the Xvfb process to use if pixel_tests argument
2998         is true rather than if pixel_tests option is present. This fixes the
2999         XvfbDriver in the same way r115825 fixed the now-redundant GtkDriver.
3000
3001         Rubber-stamped by Csaba Osztrogonác.
3002
3003         * Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
3004         (XvfbDriver._start):
3005
3006 2012-05-04  Raphael Kubo da Costa  <rakuco@webkit.org>
3007
3008         webkitpy: Preserve XDG_DATA_DIRS in the environment passed to ServerProcess.
3009         https://bugs.webkit.org/show_bug.cgi?id=85694
3010
3011         Reviewed by Martin Robinson.
3012
3013         This is sort of a follow-up to r100674: $XDG_DATA_DIRS should be
3014         preserved, as it is particularly useful for Linux/Unix
3015         environments.  As a real use case, if shared-mime-info is
3016         installed into a non-trivial prefix, Glib and other libraries will
3017         have trouble to properly identify mimetypes (in ResourceResponses,
3018         for example) as the base freedesktop.org mimetype file will not be
3019         found.
3020
3021         * Scripts/webkitpy/layout_tests/port/base.py:
3022         (Port.to.setup_environ_for_server):
3023
3024 2012-05-04  Gustavo Noronha Silva  <gns@gnome.org>
3025
3026         [GTK] Simplify how libWebCoreModules is linked in, and fix WebKit2 build
3027         https://bugs.webkit.org/show_bug.cgi?id=85691
3028
3029         * GNUmakefile.am: no longer link libWebCoreModules to DumpRenderTree.
3030
3031 2012-05-04  Eric Seidel  <eric@webkit.org>
3032
3033         Make capitalization and descriptions in FeatureList.pm more consistent to make easier to autogenerate
3034         https://bugs.webkit.org/show_bug.cgi?id=85583
3035
3036         Reviewed by Daniel Bates.
3037
3038         * Scripts/webkitperl/FeatureList.pm:
3039
3040 2012-05-04  Eric Seidel  <eric@webkit.org>
3041
3042         Sort entries in FeaturesList.pm to make them easier to autogenerate
3043         https://bugs.webkit.org/show_bug.cgi?id=85584
3044
3045         Reviewed by Daniel Bates.
3046
3047         No functional changes, only sorting.
3048
3049         * Scripts/webkitperl/FeatureList.pm:
3050
3051 2012-05-04  Andy Estes  <aestes@apple.com>
3052
3053         REGRESSION (r115752): WebKit2.NewFirstVisuallyNonEmptyLayout API test times out
3054         https://bugs.webkit.org/show_bug.cgi?id=85675
3055
3056         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp:
3057         (TestWebKitAPI::TEST): Disable the test.
3058
3059 2012-04-30  Jer Noble  <jer.noble@apple.com>
3060
3061         Full screen will exit during a provisional load of a non-ancestor iframe.
3062         https://bugs.webkit.org/show_bug.cgi?id=85230
3063
3064         Reviewed by Maciej Stachowiak .
3065
3066         Add support for the new UIDelegate webView:closeFullScreenWithListener: method:
3067         * DumpRenderTree/mac/UIDelegate.mm:
3068         (-[UIDelegate webView:closeFullScreenWithListener:]):
3069
3070         Add support for the new closeFullScreen injected bundle method:
3071         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3072         (WTR::InjectedBundlePage::InjectedBundlePage):
3073         (WTR::InjectedBundlePage::closeFullScreen):
3074         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
3075
3076 2012-05-04  Ojan Vafai  <ojan@chromium.org>
3077
3078         Fix test naming to be camel-case like the methods they are testing.
3079
3080         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3081         (test):
3082
3083 2012-05-04  Ojan Vafai  <ojan@chromium.org>
3084
3085         Show the results links in the embedded flakiness dashboard
3086         https://bugs.webkit.org/show_bug.cgi?id=85660
3087
3088         Reviewed by Adam Barth.
3089
3090         Turns out these links don't add much visual noise and it's annoying
3091         to have to go to the dashboard from garden-o-matic just to view the
3092         results for a test.
3093
3094         This is useful for cases where garden-o-matic doesn't properly show the
3095         results (e.g. missing tests). If we address all those cases, then
3096         we could easily hide the results links again if we wanted to.
3097
3098         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3099         (showUpdateInfoForTest):
3100         (htmlForIndividualTestOnAllBuildersWithResultsLinks):
3101         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3102         (test):
3103
3104 2012-05-04  Dirk Pranke  <dpranke@chromium.org>
3105
3106         Revert to using chromium --test-shell mode on SL in NRWT
3107
3108         https://bugs.webkit.org/show_bug.cgi?id=83076
3109
3110         Unreviewed, build fix.
3111
3112         We seem to be seeing a lot more flakiness on the bot since
3113         I switched NRWT to "DRT" mode. We'll try reverting back and
3114         see if this helps things.
3115
3116         * Scripts/webkitpy/layout_tests/port/chromium.py:
3117         (ChromiumDriver.__init__):
3118
3119 2012-05-04  Christophe Dumez  <christophe.dumez@intel.com>
3120
3121         [EFL] Implement layoutTestController.dumpResourceResponseMIMETypes
3122         https://bugs.webkit.org/show_bug.cgi?id=84941
3123
3124         Reviewed by Martin Robinson.
3125
3126         Print MIME type detection messages in EFL's DumpRenderTree if
3127         LayoutTestController's dumpResourceResponseMIMETypes() returns true.
3128
3129         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3130         (DumpRenderTreeChrome::onResponseReceived):
3131
3132 2012-05-04  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3133
3134         [GTK] DRT needs an implementation of LayoutTestController::setDefersLoading and ::goBack
3135         https://bugs.webkit.org/show_bug.cgi?id=85134
3136
3137         Reviewed by Martin Robinson.
3138
3139         Add missing implementation setDefersLoading and goBack to GTK's
3140         LayoutTestController so that the test case rely on these methods
3141         can be enabled.
3142
3143         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3144         (resetDefaultsToConsistentValues):
3145         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3146         (LayoutTestController::goBack):
3147         (LayoutTestController::setDefersLoading):
3148
3149 2012-05-04  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
3150
3151         [Qt][NRWT] Run each DRT in it's own xvfb
3152         https://bugs.webkit.org/show_bug.cgi?id=77335
3153
3154         Reviewed by Dirk Pranke.
3155
3156         * Scripts/webkitpy/layout_tests/port/gtk.py:
3157         (GtkPort._driver_class):
3158         * Scripts/webkitpy/layout_tests/port/qt.py:
3159         (QtPort._driver_class):
3160         * Scripts/webkitpy/layout_tests/port/xvfbdriver.py: Added.
3161         (XvfbDriver):
3162         (XvfbDriver._start):
3163         (XvfbDriver._start.x_filter):
3164         (XvfbDriver.stop):
3165
3166 2012-05-04  Zan Dobersek  <zandobersek@gmail.com>
3167
3168         Use destructuring assingment for the return values of the
3169         port.diff_image() method call.
3170
3171         Rubber-stamped by Dirk Pranke.
3172
3173         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3174         (write_test_result):
3175
3176 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3177
3178         Store fewer runs by default in the flakiness dashboard
3179         https://bugs.webkit.org/show_bug.cgi?id=85568
3180
3181         Reviewed by Dirk Pranke.
3182
3183         This will greatly shrink the size of the json files we load,
3184         resulting in a much faster initial load. People rarely care
3185         about more than 100 runs. For the cases they do, they can still click
3186         the show all runs checkbox to show 500 runs.
3187
3188         * TestResultServer/model/jsonresults.py:
3189
3190 2012-05-04  Christophe Dumez  <christophe.dumez@intel.com>
3191
3192         [EFL] Frame load callbacks output is missing for redirections
3193         https://bugs.webkit.org/show_bug.cgi?id=85173
3194
3195         Reviewed by Antonio Gomes.
3196
3197         Catch the new ewk_frame signals to print the expected output in case
3198         of redirections, when LayoutTestController's dumpFrameLoadCallbacks()
3199         returns true.
3200
3201         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3202         (DumpRenderTreeChrome::createView):
3203         (DumpRenderTreeChrome::onWillSendRequest):
3204         (DumpRenderTreeChrome::onFrameCreated):
3205         (DumpRenderTreeChrome::onFrameRedirectForProvisionalLoad):
3206         (DumpRenderTreeChrome::onFrameRedirectRequested):
3207         (DumpRenderTreeChrome::onResponseReceived):
3208         * DumpRenderTree/efl/DumpRenderTreeChrome.h:
3209         (DumpRenderTreeChrome):
3210
3211 2012-05-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3212
3213         [Qt] Fix up warning about missing GLib/Gio/GStreamer
3214
3215         We don't actually fall back.
3216
3217         Rubber-stamped by Csaba Osztrogonác.
3218
3219         * qmake/mkspecs/features/features.prf:
3220
3221 2012-05-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3222
3223         [Qt] Clarify warning about missing GLib/Gio/GStreamer for media support
3224
3225         And only print it once.
3226
3227         Reviewed by Csaba Osztrogonác.
3228
3229         * qmake/mkspecs/features/features.prf:
3230
3231 2012-05-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3232
3233         [Qt] Clean up and split features.prf into a static list of defaults
3234
3235         The static list of feature defaults is used as a fallback for any
3236         feature that's not dynamically detected or overriden on the command
3237         line (though build-webkit or passing DEFINES+= to qmake).
3238
3239         The static list is complete, which allows for auto-generation based
3240         on Features.py (see bug https://bugs.webkit.org/show_bug.cgi?id=85456)
3241
3242         https://bugs.webkit.org/show_bug.cgi?id=85611
3243
3244         Reviewed by Simon Hausmann.
3245
3246         * Scripts/build-webkit:
3247         * Tools.pro:
3248         * qmake/mkspecs/features/features.prf:
3249         * qmake/mkspecs/features/features.pri: Added.
3250
3251 2012-05-04  Sheriff Bot  <webkit.review.bot@gmail.com>
3252
3253         Unreviewed, rolling out r116085, r116091, and r116095.
3254         http://trac.webkit.org/changeset/116085
3255         http://trac.webkit.org/changeset/116091
3256         http://trac.webkit.org/changeset/116095
3257         https://bugs.webkit.org/show_bug.cgi?id=85628
3258
3259         We are not ready with dependencies on all platform yet (mac) +
3260         problems with debug builds. (Requested by Zoltan on #webkit).
3261
3262         * qmake/mkspecs/features/features.prf:
3263
3264 2012-05-04  Christophe Dumez  <christophe.dumez@intel.com>
3265
3266         [EFL] LayoutTestController does not support overriding WebKitLoadSiteIconsKey
3267         https://bugs.webkit.org/show_bug.cgi?id=85171
3268
3269         Reviewed by Andreas Kling.
3270
3271         Implement support for overriding "WebKitLoadSiteIconsKey" setting in
3272         EFL's LayoutTestController.
3273
3274         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3275         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
3276         * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
3277         (LayoutTestController::overridePreference):
3278
3279 2012-05-03  Alexis Menard  <alexis.menard@openbossa.org>
3280
3281         [Qt] Enable fullscreen API for WebKit2.
3282         https://bugs.webkit.org/show_bug.cgi?id=85498
3283
3284         Reviewed by Simon Hausmann.
3285
3286         Enable the fullscreen API on the MiniBrowser and turn
3287         it default on WebKit2, disable it on WK1.
3288
3289         * MiniBrowser/qt/BrowserWindow.cpp:
3290         (BrowserWindow::BrowserWindow):
3291         * MiniBrowser/qt/qml/BrowserWindow.qml:
3292         * Scripts/webkitperl/FeatureList.pm:
3293         * qmake/mkspecs/features/features.prf:
3294
3295 2012-05-04  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
3296
3297         REGRESSION(r116008) old-run-webkit-tests broken
3298         https://bugs.webkit.org/show_bug.cgi?id=85597
3299
3300         Reviewed by Simon Hausmann.
3301
3302         Reinstate libraryContainsSymbol.
3303
3304         * Scripts/webkitperl/features.pm:
3305         (libraryContainsSymbol):
3306
3307 2012-05-04  Zoltan Horvath  <zoltan@webkit.org>
3308
3309         [Qt] Set WebCore imagedecoders as default and add fallback to QImageDecoder
3310         https://bugs.webkit.org/show_bug.cgi?id=80400
3311
3312         Remove WTF_USE_QT_IMAGE_DECODER macro.
3313
3314         Reviewed by Simon Hausmann.
3315
3316         * qmake/mkspecs/features/features.prf:
3317
3318 2012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
3319
3320         [EFL] DRT should obey layoutTestController's addURLToRedirect()
3321         https://bugs.webkit.org/show_bug.cgi?id=82722
3322
3323         Reviewed by Maciej Stachowiak.
3324
3325         Implement support for layoutTestController's addURLToRedirect()
3326         in EFL's DRT so that it redirects properly when indicated.
3327
3328         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3329         (DumpRenderTreeChrome::onWillSendRequest):
3330
3331 2012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
3332
3333         [EFL] DRT should support LayoutTestController's willSendRequestReturnsNullOnRedirect()
3334         https://bugs.webkit.org/show_bug.cgi?id=82704
3335
3336         Reviewed by Antonio Gomes.
3337
3338         EFL's DRT needs to obey LayoutTestController's
3339         willSendRequestReturnsNullOnRedirect().
3340
3341         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3342         (DumpRenderTreeChrome::onWillSendRequest):
3343
3344 2012-05-03  Raphael Kubo da Costa  <rakuco@webkit.org>
3345
3346         git-add-reviewer: Do not put the bug title and its URL in the same line in the commit message.
3347         https://bugs.webkit.org/show_bug.cgi?id=85570
3348
3349         Reviewed by Adam Roben.
3350
3351         The standard format of commit messages and ChangeLog entries has a
3352         short summary in the first line, followed by the bug URL in
3353         Bugzilla. Passing "%s" in the pretty format line to git-rev-list
3354         merges these two lines into a single one separated by a space
3355         character, which is not what we want.
3356
3357         Since "%s%n%n%b" is in practice "%B" (raw message), use it
3358         instead, as the first two lines do not end up being merged
3359         together.
3360
3361         * Scripts/git-add-reviewer:
3362         (writeCommitMessageToFile):
3363
3364 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3365
3366         Improve UI for garden-o-matic examine view when there are fewer than 5 tests.
3367         https://bugs.webkit.org/show_bug.cgi?id=85566
3368
3369         Reviewed by Adam Barth.
3370
3371         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
3372         (.):
3373         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
3374         (.):
3375         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
3376
3377 2012-05-03  Raphael Kubo da Costa  <rakuco@webkit.org>
3378
3379         webkitpy: Recognize FreeBSD as a valid platform.
3380         https://bugs.webkit.org/show_bug.cgi?id=81467
3381
3382         Reviewed by Adam Barth.
3383
3384         Add PlatformInfo.is_freebsd() so that trying to use webkit-patch
3385         on FreeBSD does not raise an "unrecognized platform" exception.
3386
3387         Most of this patch contains some unit tests for the mentioned
3388         method, as currently platform-specific code is needed only on
3389         Windows.
3390
3391         * Scripts/webkitpy/common/system/platforminfo.py:
3392         (PlatformInfo.__init__):
3393         (PlatformInfo.is_freebsd):
3394         (PlatformInfo._determine_os_name):
3395         * Scripts/webkitpy/common/system/platforminfo_mock.py:
3396         (MockPlatformInfo.is_freebsd):
3397         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
3398         (fake_platform):
3399         (fake_platform.FakePlatformModule.release):
3400         (TestPlatformInfo.test_real_code):
3401         (TestPlatformInfo.test_os_name_and_wrappers):
3402         (TestPlatformInfo.test_os_version):
3403         (TestPlatformInfo.test_display_name):
3404         (TestPlatformInfo.test_total_bytes_memory):
3405         (TestPlatformInfo.test_free_bytes_memory):
3406         * Scripts/webkitpy/layout_tests/port/factory.py:
3407         (PortFactory._default_port):
3408
3409 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3410
3411         Make the table headers white-space:nowrap. This decreases the vertical size,
3412         which makes for more minimal embedding in garden-o-matic.
3413
3414         * TestResultServer/static-dashboards/flakiness_dashboard_tests.css:
3415         (.table-header-content *):
3416
3417 2012-05-03  Eric Seidel  <eric@webkit.org>
3418
3419         Split build-webkit's feature option list off into its own module in preparation for autogeneration
3420         https://bugs.webkit.org/show_bug.cgi?id=85548
3421
3422         Reviewed by Daniel Bates.
3423
3424         My Perl-fu is very weak.  This moves the feature option list off into a separate module
3425         file so that I can easily autogenerate just that file with the fancy new generate-feature-files command.
3426         It's a bit odd to have an array which we return out to build-webkit to modify, but it turns out
3427         not to matter.  Also, build-webkit doesn't actually use any of the variables we're using to
3428         store the results from the option parse, so those end up inaccessible from build-webkit (except by reference)
3429         which is actually cleaner.  Callers can't assume that they would get a new array every time, but someone
3430         with more Perl-fu than I could create something fancier than this if we need in the future.
3431
3432         * Scripts/build-webkit:
3433         * Scripts/webkitperl/FeatureList.pm: Added.
3434         (getFeatureOptionList):
3435
3436 2012-05-03  Dirk Pranke  <dpranke@chromium.org>
3437
3438         REGRESSION: run-webkit-tests failing on Chromium Mac
3439         https://bugs.webkit.org/show_bug.cgi?id=85459
3440
3441         Unreviewed, build fix.
3442
3443         Turns out select doesn't throw IOErrors, it has it's own kind of
3444         error :(. Trap that instead.
3445
3446         * Scripts/webkitpy/layout_tests/port/server_process.py:
3447         (ServerProcess._wait_for_data_and_update_buffers_using_select):
3448
3449 2012-05-03  Raphael Kubo da Costa  <rakuco@webkit.org>
3450
3451         [CMake] Rewrite FindCairo.cmake.
3452         https://bugs.webkit.org/show_bug.cgi?id=84895
3453
3454         Reviewed by Daniel Bates.
3455
3456         The old approach relied on pkg-config for finding Cairo (which
3457         introduced a dependency on pkg-config that could be avoided), used
3458         the LibFindMacros code that we should probably remove in the
3459         future and did not use the FindPackageHandleStandardArguments
3460         module.
3461
3462         Change all that by rewriting the module.
3463         - Use the pkg-config output optionally instead of requiring it
3464         like LibFindMacros did.
3465         - Remove the implicit dependency on FreeType which often found it
3466         the wrong way via pkg-config and without considering
3467         CMAKE_PREFIX_PATH.
3468         - Retrieve the Cairo version by looking at cairo-version.h instead
3469         of relying on pkg-config. It requires some additional code for
3470         checking if the desired version has been found, but that will not
3471         be needed once we start depending on CMake 2.8.3 or later.
3472
3473         The only downside is that FPHSA sets <UPPERCASED_NAME>_FOUND
3474         instead of <Name>_FOUND, and to keep things consistent
3475         Cairo_LIBRARIES and Cairo_INCLUDE_DIRS have become CAIRO_LIBRARIES
3476         and CAIRO_INCLUDE_DIRS.
3477
3478         * DumpRenderTree/efl/CMakeLists.txt: Use CAIRO_FOO instead of
3479         Cairo_FOO.
3480         * EWebLauncher/CMakeLists.txt: Ditto.
3481
3482 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3483
3484         Fix modifier and bug sorting on the flakiness dashboard
3485         https://bugs.webkit.org/show_bug.cgi?id=85554
3486
3487         Reviewed by Dirk Pranke.
3488
3489         The sorting assumes that the column header name matches a field
3490         in the testResults object and uses that field for sorting.
3491         Filter the bugs out of the modifiers list and put them in a bugs field
3492         and only put the non-bug modifiers in the modifiers list.
3493
3494         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3495         (populateExpectationsData):
3496         (htmlForSingleTestRow):
3497         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3498
3499 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3500
3501         Fix some state resetting when running unittests. HtmlForSingleTestRow
3502         was flaky.
3503
3504         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3505         (htmlForSingleTestRow):
3506         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3507         (resetGlobals):
3508
3509 2012-05-03  Raphael Kubo da Costa  <rakuco@webkit.org>
3510
3511         webkitpy: Use PlatformInfo wherever possible in the User class.
3512         https://bugs.webkit.org/show_bug.cgi?id=85549
3513
3514         Reviewed by Dirk Pranke.
3515
3516         Instead of relying on sys.platform to detect whether the current
3517         platform is a Mac, use the PlatformInfo class instead.
3518
3519         * Scripts/webkitpy/common/system/user.py:
3520         (User.__init__):
3521         (User.edit_changelog):
3522
3523 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3524
3525         Remove the percent failed column from the flakiness dashboard
3526         https://bugs.webkit.org/show_bug.cgi?id=85552
3527
3528         Reviewed by Dirk Pranke.
3529
3530         This column isn't useful enough to justify the visual noise.
3531
3532         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3533         (processMissingAndExtraExpectations):
3534         (tableHeaders):
3535         (htmlForSingleTestRow):
3536         (sortTests):
3537         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3538         (test):
3539
3540 2012-05-03  Eric Seidel  <eric@webkit.org>
3541
3542         --coverage should not not use the "feature" options system in build-webkit, similarly remove special-casing for WTF_URL
3543         https://bugs.webkit.org/show_bug.cgi?id=85542
3544
3545         Reviewed by Daniel Bates.
3546
3547         Remove these last two odd-men-out, so that we can generate the default feature options
3548         for build-webkit using the new generate-feature-files command.
3549         The Mac build system has some special casing for ENABLE_ defines which gets them
3550         defined as -D on the build command, even though initially they start out as
3551         environment variables ENABLE_FOO = ENABLE_FOO.  The Feature options in build-webkit
3552         depend on this support, but it doesn't work for WTF_USE_ defines like WTF_USE_WTF_URL.
3553         I'm told that WTF_URL is not actively being worked on, so just removing it for now.
3554         It should probably come back to life as an ENABLE_, or build-webkit or the Xcode projects
3555         should be made generically smarter about these USE_WTF defines.
3556         (There is still WTF_USE_TILED_BACKING_STORE in the feature list, but it only seems
3557         used by Qt.  If someone tried build-webkit --tiled-backing-store on Mac today it
3558         would not work!)
3559
3560         * Scripts/build-webkit:
3561
3562 2012-05-03  Eric Seidel  <eric@webkit.org>
3563
3564         Remove the last bits of Leopard support from our perl scripts
3565         https://bugs.webkit.org/show_bug.cgi?id=85545
3566
3567         Reviewed by Daniel Bates.
3568
3569         Chromium still supports Leopard (for a little while yet), but AppleMacWebKit dropped
3570         Leopard support several months ago.  Remove the last bits of isLeopard() branching
3571         in our Perl scripts, since no one is using this (Chromium has never used this Perl code).
3572
3573         * Scripts/build-webkit:
3574         * Scripts/old-run-webkit-tests:
3575         (countAndPrintLeaks):
3576         (captureSavedCrashLog):
3577         * Scripts/webkitdirs.pm:
3578         (determineArchitecture):
3579         (argumentsForRunAndDebugMacWebKitApp):
3580
3581 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3582
3583         [Chromium] Don't show the WebKit Linux ASAN bot on the flakiness dashboard.
3584         https://bugs.webkit.org/show_bug.cgi?id=85551
3585
3586         Reviewed by Dirk Pranke.
3587
3588         It's not uploading results and in the short term we don't plan to have it start.
3589
3590         * TestResultServer/static-dashboards/builders.js:
3591         (isChromiumWebkitTipOfTreeTestRunner):
3592         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3593
3594 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3595
3596         Show the test name in the dashboard if showChrome==false and we're showing multiple tests
3597         https://bugs.webkit.org/show_bug.cgi?id=85243
3598
3599         Reviewed by Dirk Pranke.
3600
3601         This happens for cases where a test name matches multiple tests.
3602         In practice, this only happens for virtual test suites (e.g. the canvas tests).
3603
3604         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3605         (htmlForIndividualTestOnAllBuildersWithChrome):
3606         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3607         (testHtmlForIndividualTestOnAllBuildersWithChromeNonexistant):
3608         (testHtmlForIndividualTestOnAllBuildersWithChrome):
3609         (testHtmlForIndividualTestOnAllBuildersWithChromeWebkitMaster):
3610         (testHtmlForIndividualTests):
3611
3612 2012-05-03  Ojan Vafai  <ojan@chromium.org>
3613
3614         Port the flakiness dashboard unittests to qunit
3615         https://bugs.webkit.org/show_bug.cgi?id=85544
3616
3617         Reviewed by Adam Barth.
3618
3619         * TestResultServer/static-dashboards/dashboard_base.js:
3620         (appendJSONScriptElements):
3621         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3622         (resetGlobals):
3623         (runExpectationsTest):
3624         (test):
3625         * TestResultServer/static-dashboards/run-unittests.html: Added.
3626
3627 2012-05-03  Raphael Kubo da Costa  <rakuco@webkit.org>
3628
3629         webkitpy: Remove check for readline on Mac.
3630         https://bugs.webkit.org/show_bug.cgi?id=85547
3631
3632         Reviewed by Eric Seidel.
3633
3634         Python 2.5 is not supported by the WebKit project anymore, and
3635         Python's readline documentation does not mention the module not
3636         being available in the supported versions.
3637
3638         * Scripts/webkitpy/common/system/user.py:
3639
3640 2012-05-03  Thiago Marcos P. Santos  <thiago.santos@intel.com>
3641
3642         [NRWT] Run performance tests with lock
3643         https://bugs.webkit.org/show_bug.cgi?id=78628
3644
3645         Reviewed by Tony Chang.
3646
3647         Locking performance tests (like we do for http tests) will force them
3648         to run in serial. This reduces the load of the machine when running perf
3649         tests and minimizes the chances of the tests to fail, specially
3650         timeouts.
3651
3652         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3653         (Manager.__init__):
3654         (Manager._is_perf_test):
3655         (Manager._test_requires_lock):
3656         * Scripts/webkitpy/layout_tests/port/http_lock.py:
3657
3658 2012-05-03  Dirk Pranke  <dpranke@chromium.org>
3659
3660         Attempt to fix a crash on SL ...
3661
3662         Unreviewed, build fix.
3663
3664         It looks like we may be getting an IOError raised during
3665         select() on chromium mac, and that error isn't being caught.
3666         Pushing it into the try/catch block will hopefully catch this
3667         and allow us to see why the subprocess is crashing.
3668
3669         * Scripts/webkitpy/layout_tests/port/server_process.py:
3670         (ServerProcess._wait_for_data_and_update_buffers_using_select):
3671
3672 2012-05-02  Jon Honeycutt  <jhoneycutt@apple.com>
3673