72d8c27eb4270ec9723a58bed8318ef5bab3530c
[WebKit-https.git] / Tools / ChangeLog
1 2013-05-26  Ryosuke Niwa  <rniwa@webkit.org>
2
3         WKR and webkitbot build fixes.
4
5         * Scripts/webkitpy/tool/bot/irc_command.py:
6         (RollChromiumDEPS.execute):
7         * Scripts/webkitpy/tool/commands/newcommitbot.py:
8         (NewCommitBot.next_work_item):
9
10 2013-05-26  Ryosuke Niwa  <rniwa@webkit.org>
11
12         roll-chromium-deps doesn't repeat the full name.
13
14         Rubber-stamped by Andreas Kling.
15
16         * Scripts/webkitpy/tool/bot/irc_command.py:
17         (RollChromiumDEPS.execute):
18
19 2013-05-25  Ryosuke Niwa  <rniwa@webkit.org>
20
21         Revert another erroneous change.
22
23         * Scripts/webkitpy/tool/commands/newcommitbot.py:
24         (NewCommitBot.next_work_item):
25
26 2013-05-25  Ryosuke Niwa  <rniwa@webkit.org>
27
28         Revert an erroneous change.
29
30         * Scripts/webkitpy/tool/commands/sheriffbot.py:
31         (SheriffBot):
32
33 2013-05-25  Ryosuke Niwa  <rniwa@webkit.org>
34
35         Some build fixes for WKR and webkitbot.
36
37         * Scripts/webkitpy/tool/bot/ircbot_unittest.py:
38         (IRCBotTest.test_help):
39         * Scripts/webkitpy/tool/commands/newcommitbot.py:
40         (Agent):
41         (Agent.__init__):
42         (Agent.name):
43         (NewCommitBot):
44         (NewCommitBot.begin_work_queue):
45         (NewCommitBot.next_work_item):
46         * Scripts/webkitpy/tool/commands/sheriffbot.py:
47         (SheriffBot):
48
49 2013-05-25  Ryosuke Niwa  <rniwa@webkit.org>
50
51         Teach webkitbot and WKR how to respond to yt?
52         https://bugs.webkit.org/show_bug.cgi?id=116775
53
54         Reviewed by Andreas Kling.
55
56         * Scripts/webkitpy/tool/bot/irc_command.py:
57         (Hi): Fixed the usage string.
58         (Hi.execute): Made it more generic so that it works in WKR.
59         (YouThere): Added.
60         (YouThere.execute): Added.
61         * Scripts/webkitpy/tool/commands/newcommitbot.py:
62
63 2013-05-25  Simon Fraser  <simon.fraser@apple.com>
64
65         Try to fix the EFL build.
66         
67         * DumpRenderTree/efl/TestRunnerEfl.cpp:
68         (TestRunner::setPageVisibility):
69
70 2013-05-25  Simon Fraser  <simon.fraser@apple.com>
71
72         Unprefix Page Visibility API
73         https://bugs.webkit.org/show_bug.cgi?id=102340
74
75         Reviewed by Tim Horton.
76         
77         Rename "preview" state to "unloaded" state, and adjust the tests
78         to test for it.
79
80         * DumpRenderTree/mac/TestRunnerMac.mm:
81         (TestRunner::setPageVisibility):
82         * TestWebKitAPI/Tests/WebKit2/PageVisibilityState.cpp:
83         (TestWebKitAPI::setPageVisibilityStateWithEvalContinuation):
84         (TestWebKitAPI::didRunStep2StateChangeHiddenToPrerender):
85         (TestWebKitAPI::didRunStep3StateChangePrerenderToUnloaded):
86         (TestWebKitAPI::didRunStep4InStateUnloaded):
87         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.html:
88         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
89         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::runTest):
90         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
91         (WTR::TestRunner::setPageVisibility):
92
93 2013-05-24  Brent Fulgham  <bfulgham@apple.com>
94
95         Unreviewed build fix. Don't use new NRWT logic needed
96         by Windows yet. Activate (and fix test) when we cut over.
97
98         * Scripts/webkitpy/port/driver.py:
99         (Driver._setup_environ_for_driver):
100         (Driver._start):
101
102 2013-05-24  Brent Fulgham  <bfulgham@apple.com>
103
104         [Windows] Expose database storage and cache locations via preferences.
105         https://bugs.webkit.org/show_bug.cgi?id=116729
106
107         Reviewed by Tim Horton.
108
109         Update DumpRenderTree to use CFPreferences to control where WebKit
110         stores its local databases, URL caches, etc.
111
112         * DumpRenderTree/win/DumpRenderTree.cpp:
113         (libraryPathForDumpRenderTree): Added.
114         (dllLauncherEntryPoint): Set up DRT-specific cache locations.
115         * Scripts/webkitpy/port/base.py:
116         (Port._driver_tempdir): Added (to allow port-specific overload).
117         (Port._driver_tempdir_for_environment): Ditto
118         * Scripts/webkitpy/port/driver.py:
119         (Driver._setup_environ_for_driver): Use new overload to set
120         environment variable.
121         (Driver._start): Use new overload for temp directory location.
122         * Scripts/webkitpy/port/win.py:
123         (WinPort._driver_tempdir_for_environment): New overload to supply
124         Windows path to DumpRenderTree environment (while still using
125         cygwin paths for internal operations.
126
127 2013-05-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
128
129         Remove custom code for webkitAudioContext global constructor getter
130         https://bugs.webkit.org/show_bug.cgi?id=116530
131
132         Reviewed by Geoffrey Garen.
133
134         Update EFL's DumpRenderTree to use DumpRenderTreeSupport to toggle
135         WebAudio feature instead of public ewk_view API since that API was
136         removed.
137
138         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
139         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
140         * DumpRenderTree/efl/TestRunnerEfl.cpp:
141         (TestRunner::overridePreference):
142
143 2013-05-24  Bem Jones-Bey  <bjonesbe@adobe.com>
144
145         Make team.html have each contributor's area of expertise
146         https://bugs.webkit.org/show_bug.cgi?id=116737
147
148         Reviewed by Benjamin Poulain.
149
150         * Scripts/webkitpy/common/config/contributors.json:
151         Add expertise to each contributor, taken from http://trac.webkit.org/wiki/WebKit%20Team
152         
153         Changed formatting of the file because the lines are getting way to
154         long, and I generated this, so it's easier if the formatting of the
155         file is regular.
156
157 2013-05-24  Simon Pena  <simon.pena@samsung.com>
158
159         Update WTF::Vector pretty printers
160         https://bugs.webkit.org/show_bug.cgi?id=116719
161
162         Reviewed by Anders Carlsson.
163
164         After r148891, WTF::Vector pretty printers were left outdated, as
165         the WTF::Vector was made to extend a VectorBuffer, instead of keeping
166         one as a member. This patch updates the pretty printers so they work
167         again. 
168
169         * gdb/webkit.py:
170         (WTFVectorPrinter.children):
171         (WTFVectorPrinter.to_string):
172
173 2013-05-24  Steve Falkenburg  <sfalken@apple.com>
174
175         Update prepareConsistentTestingEnvironment to use a non-deprecated API.
176         https://bugs.webkit.org/show_bug.cgi?id=116710
177
178         Reviewed by Mark Rowe.
179
180         * DumpRenderTree/mac/DumpRenderTree.mm:
181         (prepareConsistentTestingEnvironment): Use beginActivityWithOptions instead of beginSuspensionOfSystemBehaviors.
182
183 2013-05-23  Lauro Neto  <lauro.neto@openbossa.org>
184
185         Add missing dependencies to deps script.
186
187         [GTK] Missing packages in install-dependencies script.
188         https://bugs.webkit.org/show_bug.cgi?id=116632
189
190         Reviewed by Martin Robinson.
191
192         * gtk/install-dependencies:
193
194 2013-05-23  Brent Fulgham  <bfulgham@apple.com>
195
196         [Windows] Unreviewed change for NRWT support.
197
198         * Scripts/webkitpy/port/win.py:
199         (WinPort.default_child_processes): Added a default implementation
200         that limits NRWT to a single instance.
201
202 2013-05-23  Brent Fulgham  <bfulgham@apple.com>
203
204         Remove meaningless "test_uses_apache" from Python test cases.
205         https://bugs.webkit.org/show_bug.cgi?id=38756
206
207         Reviewed by Ryosuke Niwa.
208
209         * Scripts/webkitpy/port/port_testcase.py:
210         (PortTestCase.test_driver_cmd_line): Remove the meaningless
211         "test_uses_apache" test case from the Python test infrastructure.
212         It was hard-coded to true, even though not all ports use
213         Apache.
214
215 2013-05-23  Brent Fulgham  <bfulgham@webkit.org>
216
217         [Windows] Update new-run-webkit-tests for Windows port.
218         https://bugs.webkit.org/show_bug.cgi?id=38756
219
220         Reviewed by Ryosuke Niwa.
221
222         * Scripts/new-run-webkit-httpd:
223         (run): Switch from 'chromium' to 'win'
224         * Scripts/webkitpy/port/win.py:
225         (WinPort): Add support methods for lighttpd server.
226         (WinPort._uses_apache):
227         (WinPort._path_to_lighttpd):
228         (WinPort._path_to_lighttpd_modules):
229         (WinPort._path_to_lighttpd_php):
230
231 2013-05-23  Patrick Gansterer  <paroga@webkit.org>
232
233         Make default bug links in buildbot clickable
234         https://bugs.webkit.org/show_bug.cgi?id=116673
235
236         Reviewed by Ryosuke Niwa.
237
238         Use changecommentlink of html.WebStatus to make the links clickable.
239
240         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
241
242 2013-05-22  Ryosuke Niwa  <rniwa@webkit.org>
243
244         REGRESSION(r150491): WebKit2.DOMWindowExtensionNoCache fails
245         https://bugs.webkit.org/show_bug.cgi?id=116595
246
247         Temporarily skip this test.
248
249         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp:
250         (TestWebKitAPI::TEST):
251
252 2013-05-22  Alex Christensen  <achristensen@apple.com>
253
254         Unreviewed.  Added myself to contributors.json.
255
256         * Scripts/webkitpy/common/config/contributors.json:
257         Added myself.
258
259 2013-05-22  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
260
261         [EFL][WK2] Add sub menus to MiniBrowser
262         https://bugs.webkit.org/show_bug.cgi?id=114728
263
264         Reviewed by Christophe Dumez.
265
266         Elementary Ctxpopup widget API does not provide support for submenu item.
267         To implement ewk submenus in Minibrowser, Ctxpopup has to be replaced with
268         Elementary Menu widget.
269
270         * MiniBrowser/efl/main.c:
271         (_Browser_Window):
272         (on_window_resize):
273         (window_free):
274         (context_menu_item_selected_cb):
275         (context_menu_populate):
276         (on_context_menu_show):
277         (on_context_menu_hide):
278         (window_create):
279
280 2013-05-22  Andrzej Badowski  <a.badowski@samsung.com>
281
282         [EFL] Add command line option to MiniBrowser to set cookies policy.
283         https://bugs.webkit.org/show_bug.cgi?id=115028
284
285         Reviewed by Christophe Dumez.
286
287         Add command line option to MiniBrowser EFL to set cookies policy:
288         -p parameter with value from (always, never, no-third-party) respectively (EWK_COOKIE_ACCEPT_POLICY_ALWAYS,
289         EWK_COOKIE_ACCEPT_POLICY_NEVER, EWK_COOKIE_ACCEPT_POLICY_NO_THIRD_PARTY).
290
291         * MiniBrowser/efl/main.c:
292         (elm_main):
293
294 2013-05-21  Ryosuke Niwa  <rniwa@webkit.org>
295
296         REGRESSION(r150369): WebKit2WillLoadTest tests are failing
297         https://bugs.webkit.org/show_bug.cgi?id=116585
298
299         Reviewed by Alexey Proskuryakov.
300
301         willLoadURLRequest and willLoadDataRequest require the API version 6.
302
303         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
304
305 2013-05-21  Ryosuke Niwa  <rniwa@webkit.org>
306
307         REGRESSION(r150393): editing/inserting/typing-at-end-of-line.html fails
308         https://bugs.webkit.org/show_bug.cgi?id=116516
309
310         Reviewed by Alexey Proskuryakov.
311
312         Reset states in DumpRenderTree. The fix for WebKitTestRunner should be implemented in the bug 116577.
313
314         * DumpRenderTree/mac/DumpRenderTree.mm:
315         (createWebViewAndOffscreenWindow): Match the ordering.
316         (resetWebViewToConsistentStateBeforeTesting): Reset text replacement states.
317
318 2013-05-21  Alexey Proskuryakov  <ap@apple.com>
319
320         <rdar://problem/13929704> [WK2] WebKitTestRunner always crashes on exit
321         https://bugs.webkit.org/show_bug.cgi?id=116568
322
323         Reviewed by Anders Carlsson.
324
325         * WebKitTestRunner/WebNotificationProvider.cpp:
326         (WTR::WebNotificationProvider::~WebNotificationProvider):
327         * WebKitTestRunner/WebNotificationProvider.h:
328         When the provider is destroyed, it should no longer be registered with the manager.
329
330         * WebKitTestRunner/GeolocationProviderMock.cpp:
331         (WTR::GeolocationProviderMock::~GeolocationProviderMock):
332         * WebKitTestRunner/GeolocationProviderMock.h:
333         I wasn't seeing a crash here, but this code has the same issue as notification
334         provider, so applying the same fix.
335
336         * WebKitTestRunner/TestController.cpp: (WTR::TestController::~TestController):
337         Close icon database. I started seeing ASSERT(!isOpen()) in WebCore IconDatabase
338         destructor having fixed the above.
339
340 2013-05-21  Commit Queue  <commit-queue@webkit.org>
341
342         Unreviewed, rolling out r150386 and r150397.
343         http://trac.webkit.org/changeset/150386
344         http://trac.webkit.org/changeset/150397
345         https://bugs.webkit.org/show_bug.cgi?id=116572
346
347         Broke a test; Alex is going to try again later. (Requested by
348         thorton on #webkit).
349
350         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
351         (WTR::pathSuitableForTestResult):
352         (WTR::dumpRequestDescriptionSuitableForTestResult):
353         (WTR::dumpResponseDescriptionSuitableForTestResult):
354         (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
355         (WTR::InjectedBundlePage::didInitiateLoadForResource):
356         (WTR::InjectedBundlePage::willSendRequestForFrame):
357         (WTR::InjectedBundlePage::didReceiveResponseForResource):
358         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
359         (InjectedBundlePage):
360
361 2013-05-21  Ryosuke Niwa  <rniwa@webkit.org>
362
363         Fix a python unittest after r149419. We need to support Python 2.6 on Windows.
364
365         * Scripts/webkitpy/tool/commands/suggestnominations.py:
366         (AbstractCommitLogCommand._recent_commit_messages):
367
368 2013-05-21  Martin Robinson  <mrobinson@igalia.com>
369
370         [GTK] [CMake] Add support for building WebKit2
371         https://bugs.webkit.org/show_bug.cgi?id=116372
372
373         Reviewed by Gustavo Noronha Silva.
374
375         * CMakeLists.txt: Do not build WebKitTestRunner yet for WebKitGTK+.
376         * MiniBrowser/gtk/CMakeLists.txt: Added.
377
378 2013-05-21  Jessie Berlin  <jberlin@apple.com>
379
380         Revert r149635, it was too optimistic.
381
382         Rubber-stamped by Andreas Kling.
383
384         We are not at the point where we can always use more descriptive macros instead of PLATFORM()
385         #ifdefs in WebCore code outside of WebCore/platform.
386
387         * Scripts/webkitpy/style/checkers/cpp.py:
388         (check_invalid_increment):
389         (process_line):
390         (CppChecker):
391         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
392         (CppStyleTest.test_plain_integral_bitfields):
393
394 2013-05-21  Jer Noble  <jer.noble@apple.com>
395
396         Unreviewed; fix lldb synthetic representation of WTF::Vector after r148891.
397
398         * lldb/lldb_webkit.py:
399         (WTFVectorProvider.num_children):
400         (WTFVectorProvider.get_child_index):
401         (WTFVectorProvider.get_child_at_index):
402         (WTFVectorProvider.update):
403
404 2013-05-21  Jessie Berlin  <jberlin@apple.com>
405
406         Expose a way to know when forms are added to a page or when form controls are added to a form
407         in the injected bundle
408         https://bugs.webkit.org/show_bug.cgi?id=116334
409
410         Reviewed by Alexey Proskuryakov.
411
412         Add tests for the new callbacks.
413
414         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
415         Add DidAssociateFormControls/_Bundle.cpp and associate-form-controls.html
416
417         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp: Added.
418         (TestWebKitAPI::nullJavaScriptCallback):
419         A "null" callback to handle the fact that WKPageRunJavaScriptInMainFrame cannot handle null
420         being passed in for the callback.
421         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
422         After receiving the message that didAssociateFormControls callback was invoked from adding
423         the form in the onload handler, tell the page to add a password field to the form, which
424         should also invoke didAssociateFormControls callback.
425         (TestWebKitAPI::setInjectedBundleClient):
426         Register to receive messages.
427         (TestWebKitAPI::TEST):
428         Load associate-form-controls.html and wait until the didAssociateFormControls callback has
429         been invoked for both adding the form and for adding a password field to the form.
430
431         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp: Added.
432         (TestWebKitAPI::shouldNotifyOnFormChanges):
433         Return true so the didAssociateFormControls callback is invoked.
434         (TestWebKitAPI::didAssociateFormControls):
435         Tell the UI process.
436         (TestWebKitAPI::DidAssociateFormControlsTest::DidAssociateFormControlsTest):
437         (TestWebKitAPI::DidAssociateFormControlsTest::didCreatePage):
438         Register for the shouldNotifyOnFormChanges and didAssociateFormControls callbacks.
439
440         * TestWebKitAPI/Tests/WebKit2/associate-form-controls.html: Added.
441         Add a form in response to the onload event. Add a button that will add the password field
442         for manual testing.
443
444 2013-05-21  Krzysztof Czech  <k.czech@samsung.com>
445
446         [GTK][WK2] accessibility/label-for-control-hittest.html is failing
447         https://bugs.webkit.org/show_bug.cgi?id=106341
448
449         Reviewed by Martin Robinson.
450
451         Adds support for retrieving accessibility element at exact point.
452
453         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
454         (WTR::AccessibilityUIElement::elementAtPoint):
455
456 2013-05-21  Krzysztof Czech  <k.czech@samsung.com>
457
458         [ATK] [WebKit2] AccessibilityUIElement often leaks its AtkObject
459         https://bugs.webkit.org/show_bug.cgi?id=112913
460
461         Reviewed by Martin Robinson.
462
463         AccessibilityUIElement is often created by passing new reference to AtkObject (transfer full).
464         AccessibilityUIElement::~AccessibilityUIElement does not decrement the reference of the element,
465         so the leak appears.
466
467         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
468         (WTR):
469         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
470         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
471         (WTR::AccessibilityController::rootElement):
472         (WTR):
473         (WTR::AccessibilityController::focusedElement):
474         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
475         (WTR::checkElementState):
476         (WTR::indexRangeInTable):
477         (WTR::alterCurrentValue):
478         (WTR::AccessibilityUIElement::getChildren):
479         (WTR::AccessibilityUIElement::getChildrenWithRange):
480         (WTR::AccessibilityUIElement::childrenCount):
481         (WTR::AccessibilityUIElement::indexOfChild):
482         (WTR::AccessibilityUIElement::titleUIElement):
483         (WTR::AccessibilityUIElement::parentElement):
484         (WTR::AccessibilityUIElement::allAttributes):
485         (WTR::AccessibilityUIElement::role):
486         (WTR::AccessibilityUIElement::title):
487         (WTR::AccessibilityUIElement::description):
488         (WTR::AccessibilityUIElement::orientation):
489         (WTR::AccessibilityUIElement::stringValue):
490         (WTR::AccessibilityUIElement::language):
491         (WTR::AccessibilityUIElement::x):
492         (WTR::AccessibilityUIElement::y):
493         (WTR::AccessibilityUIElement::width):
494         (WTR::AccessibilityUIElement::height):
495         (WTR::AccessibilityUIElement::intValue):
496         (WTR::AccessibilityUIElement::minValue):
497         (WTR::AccessibilityUIElement::maxValue):
498         (WTR::AccessibilityUIElement::isEnabled):
499         (WTR::AccessibilityUIElement::isFocused):
500         (WTR::AccessibilityUIElement::isSelected):
501         (WTR::AccessibilityUIElement::isExpanded):
502         (WTR::AccessibilityUIElement::isChecked):
503         (WTR::AccessibilityUIElement::rowCount):
504         (WTR::AccessibilityUIElement::columnCount):
505         (WTR::AccessibilityUIElement::rowIndexRange):
506         (WTR::AccessibilityUIElement::columnIndexRange):
507         (WTR::AccessibilityUIElement::cellForColumnAndRow):
508         (WTR::AccessibilityUIElement::increment):
509         (WTR::AccessibilityUIElement::decrement):
510         (WTR::AccessibilityUIElement::press):
511         (WTR::AccessibilityUIElement::documentEncoding):
512         (WTR::AccessibilityUIElement::documentURI):
513         (WTR::AccessibilityUIElement::isFocusable):
514         (WTR::AccessibilityUIElement::isSelectable):
515         (WTR::AccessibilityUIElement::isMultiSelectable):
516         (WTR::AccessibilityUIElement::isVisible):
517
518 2013-05-20  Lucas Forschler  <lforschler@apple.com>
519
520     Rollout 150398.
521     
522 2013-05-20  Zan Dobersek  <zdobersek@igalia.com>
523
524         [GTK] Fix concatenations of string literals that are not C++11-compliant
525         https://bugs.webkit.org/show_bug.cgi?id=116449
526
527         Reviewed by Martin Robinson.
528
529         Fix the problematic concatenations of string literals so they are compilable under the C++11 standard. This
530         is simply a matter of separating the string and the string literal that are being concatenated with a space.
531
532         * ImageDiff/gtk/ImageDiff.cpp:
533         (printImage):
534
535 2013-05-20  Zan Dobersek  <zdobersek@igalia.com>
536
537         [GTK] Pass GTEST_HAS_RTTI=0 cppflag to TestWebKitAPI programs at compilation-time
538         https://bugs.webkit.org/show_bug.cgi?id=116450
539
540         Reviewed by Martin Robinson.
541
542         The -fno-rtti flag is used when compiling C++ source code throughout the project. The TestWebKitAPI
543         programs fail to compile because of this when using the C++11 standard as the GTest headers assume by
544         default that the RTTI support is available. This can be turned off by passing GTEST_HAS_RTTI=0 to the
545         TestWebKitAPI programs when compiling them.
546
547         * TestWebKitAPI/GNUmakefile.am:
548
549 2013-05-20  Ryosuke Niwa  <rniwa@webkit.org>
550
551         Remove DriverProxy._running_drivers from webkitpy.layout_tests.port
552         https://bugs.webkit.org/show_bug.cgi?id=116492
553
554         Reviewed by Dirk Pranke.
555
556         Merge https://chromium.googlesource.com/chromium/blink/+/1af2f0be5a1746784ff114952f29f7b8fa9895f3.
557
558         The DriverProxy class had the concept of keeping a pool of started DRTs around (indexed by command line)
559         so that we didn't necessarily need to restart DRT when the command line for a test changed (e.g., when
560         starting to run tests in a virtual suite). However, the pool was per-worker (so not shared across the machine)
561         and we didn't cap the number of processes started, so we would end up with a whole bunch of DRTs (3x-4x
562         the number of workers started). If anything, this seemed to make the tests slightly slower and probably added
563         to memory pressure on the machine.
564
565         This change removes the pool code; now we'll simply restart DRT when the command line changes. With this change,
566         we can actually fold the restarting code into Driver itself (and get rid of DriverProxy), but I'll leave that
567         for a subsequent patch just to make things easier to follow.
568
569         * Scripts/webkitpy/port/driver.py:
570         (DriverProxy.__init__):
571         (DriverProxy.run_test):
572         (DriverProxy.has_crashed):
573         (DriverProxy.stop):
574
575 2013-05-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
576
577         Change EFL Linux 64-bit Release with EFL Linux 64-bit Release WK1
578         https://bugs.webkit.org/show_bug.cgi?id=116423
579
580         Reviewed by Ryosuke Niwa.
581
582         EFL Linux 64-bit Release starts to support WK1's build and layout test from now on.
583
584         * BuildSlaveSupport/build.webkit.org-config/config.json:
585
586 2013-05-20  Seokju Kwon  <seokju.kwon@gmail.com>
587
588         Remove remaining link-prerender code
589         https://bugs.webkit.org/show_bug.cgi?id=116429
590
591         Reviewed by Darin Adler.
592
593         Link prerendering code was removed in r150356.
594
595         * Scripts/webkitperl/FeatureList.pm:
596         * qmake/mkspecs/features/features.pri:
597
598 2013-05-20  Ryosuke Niwa  <rniwa@webkit.org>
599
600         commit-queue should check for oops in changelog entries
601         https://bugs.webkit.org/show_bug.cgi?id=116395
602
603         Reviewed by Martin Robinson.
604
605         Make changelog validation fail when it contains oops!.
606
607         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
608         (CommitQueueTask._validate_changelog):
609         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
610         (CommitQueueTaskTest._run_through_task):
611         * Scripts/webkitpy/tool/commands/queues_unittest.py:
612         * Scripts/webkitpy/tool/steps/validatechangelogs.py:
613         (ValidateChangeLogs.options):
614         (ValidateChangeLogs._check_changelog_diff):
615         (ValidateChangeLogs._changelog_contains_oops):
616         (ValidateChangeLogs.run):
617         * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
618         (ValidateChangeLogsTest._assert_start_line_produces_output):
619         (ValidateChangeLogsTest.test_check_changelog_diff):
620         (ValidateChangeLogsTest):
621         (ValidateChangeLogsTest.test_changelog_contains_oops):
622
623 2013-05-20  Jessie Berlin  <jberlin@apple.com>
624
625         Expose a way to know when forms are added to a page or when form controls are added to a form
626         in the injected bundle
627         https://bugs.webkit.org/show_bug.cgi?id=116334
628
629         Reviewed by Alexey Proskuryakov.
630
631         Add tests for the new callbacks.
632
633         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
634         Add DidAssociateFormControls/_Bundle.cpp and associate-form-controls.html
635
636         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp: Added.
637         (TestWebKitAPI::nullJavaScriptCallback):
638         A "null" callback to handle the fact that WKPageRunJavaScriptInMainFrame cannot handle null
639         being passed in for the callback.
640         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
641         After receiving the message that didAssociateFormControls callback was invoked from adding
642         the form in the onload handler, tell the page to add a password field to the form, which
643         should also invoke didAssociateFormControls callback.
644         (TestWebKitAPI::setInjectedBundleClient):
645         Register to receive messages.
646         (TestWebKitAPI::TEST):
647         Load associate-form-controls.html and wait until the didAssociateFormControls callback has
648         been invoked for both adding the form and for adding a password field to the form.
649
650         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp: Added.
651         (TestWebKitAPI::shouldNotifyOnFormChanges):
652         Return true so the didAssociateFormControls callback is invoked.
653         (TestWebKitAPI::didAssociateFormControls):
654         Tell the UI process.
655         (TestWebKitAPI::DidAssociateFormControlsTest::DidAssociateFormControlsTest):
656         (TestWebKitAPI::DidAssociateFormControlsTest::didCreatePage):
657         Register for the shouldNotifyOnFormChanges and didAssociateFormControls callbacks.
658
659         * TestWebKitAPI/Tests/WebKit2/associate-form-controls.html: Added.
660         Add a form in response to the onload event. Add a button that will add the password field
661         for manual testing.
662
663 2013-05-20  Christophe Dumez  <ch.dumez@sisa.samsung.com>
664
665         [EFL][JHBUILD] Make sure eet is built before evas
666         https://bugs.webkit.org/show_bug.cgi?id=116440
667
668         Reviewed by Gyuyoung Kim.
669
670         Mark eet as a dependency of evas since evas requires eet to enable some of its
671         functionality.
672
673         * efl/jhbuild.modules:
674
675 2013-05-20  Alex Christensen  <achristensen@apple.com>
676
677         WTR::pathSuitableForTestResult should behave the same as _drt_descriptionSuitableForTestResult so we can unskip tests.
678         https://bugs.webkit.org/show_bug.cgi?id=116125
679
680         Reviewed by Tim Horton.
681
682         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
683         (WTR::pathSuitableForTestResult):
684         Changed string operations to match _drt_descriptionSuitableForTestResult.
685         (WTR::dumpRequestDescriptionSuitableForTestResult):
686         (WTR::dumpResponseDescriptionSuitableForTestResult):
687         (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
688         (WTR::InjectedBundlePage::didInitiateLoadForResource):
689         (WTR::InjectedBundlePage::willSendRequestForFrame):
690         (WTR::InjectedBundlePage::didReceiveResponseForResource):
691         Pass the main frame's URL to pathSuitableForTestResult.
692         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
693         Added WKBundlePageRef to willPerformClientRedirectForFrame.
694
695 2013-05-20  Dirk Pranke  <dpranke@chromium.org>
696
697         fix w3c test importer unit tests after r150324
698         https://bugs.webkit.org/show_bug.cgi?id=116459
699
700         Reviewed by Ryosuke Niwa.
701
702         This patch fixes the unit tests to not actually call out to
703         'hg' (by using a mock executive) and also changes the real
704         directory we crawl from Source/WebCore/css to
705         Tools/Scripts/webkitpy/w3c to run much more quickly. We should
706         still change this to a mock filesystem, but that's a separate change.
707
708         * Scripts/webkitpy/w3c/test_importer.py:
709         (main):
710         (TestImporter.__init__):
711         (TestImporter.load_changeset):
712         * Scripts/webkitpy/w3c/test_importer_unittest.py:
713         (TestImporterTest.test_import_dir_with_no_tests_and_no_hg):
714         (TestImporterTest.test_import_dir_with_no_tests):
715
716 2013-05-20  Christophe Dumez  <ch.dumez@sisa.samsung.com>
717
718         Unreviewed EFL build fix.
719
720         Fix linking errors due to undefined symbols on Ubuntu 13.04.
721
722         * DumpRenderTree/efl/CMakeLists.txt:
723         * EWebLauncher/CMakeLists.txt:
724         * MiniBrowser/efl/CMakeLists.txt:
725
726 2013-05-20  Christophe Dumez  <ch.dumez@sisa.samsung.com>
727
728         [EFL] Reenabled INDEXED_DATABASE after r150344
729         https://bugs.webkit.org/show_bug.cgi?id=116430
730
731         Reviewed by Gyuyoung Kim.
732
733         Reenable INDEXED_DATABASE flag for EFL port now that WebKit2
734         build was fixed in r150344.
735
736         * Scripts/webkitperl/FeatureList.pm:
737
738 2013-05-19  Ryuan Choi  <ryuan.choi@samsung.com>
739
740         [EFL] init/shutdown should be paired in EWebLauncher
741         https://bugs.webkit.org/show_bug.cgi?id=116427
742
743         Reviewed by Christophe Dumez.
744
745         Added ecore_file_shutdown() for cleanup of ecore_file.
746         Removed edje_init and ecore_evas_init because it was in ewk_init().
747
748         * EWebLauncher/main.c:
749         (main):
750
751 2013-05-19  Jinwoo Song  <jinwoo7.song@samsung.com>
752
753         [EFL] Add command line option to MiniBrowser to set user agent
754         https://bugs.webkit.org/show_bug.cgi?id=116387
755
756         Reviewed by Christophe Dumez.
757
758         We need this option to compare the rendering differences according to different user agents.
759
760         * MiniBrowser/efl/main.c:
761         (window_create):
762         (elm_main):
763
764 2013-05-19  Zan Dobersek  <zdobersek@igalia.com>
765
766         Unreviewed, addressing test-webkitpy failures after r150317.
767
768         * Scripts/webkitpy/w3c/test_converter.py:
769         (W3CTestConverter.read_webkit_prefixed_css_property_list): CssPropertyNames.in doesn't exist, but CSSPropertyNames.in does.
770
771 2013-05-18  Patrick Gansterer  <paroga@webkit.org>
772
773         [CMake] Replace *_LIBRARY_NAME with *_OUTPUT_NAME
774         https://bugs.webkit.org/show_bug.cgi?id=114554
775
776         Reviewed by Gyuyoung Kim.
777
778         Using variables as target names is very uncommon in CMake.
779         The usual way to specify the name of the resulting binary
780         is to set the OUTPUT_NAME target property.
781
782         * DumpRenderTree/efl/CMakeLists.txt:
783         * EWebLauncher/CMakeLists.txt:
784         * ImageDiff/CMakeLists.txt:
785         * MiniBrowser/efl/CMakeLists.txt:
786         * TestWebKitAPI/CMakeLists.txt:
787         * WebKitTestRunner/CMakeLists.txt:
788         * WebKitTestRunner/PlatformEfl.cmake:
789         * WinCELauncher/CMakeLists.txt:
790
791 2013-05-18  Christophe Dumez  <ch.dumez@sisa.samsung.com>
792
793         Unreviewed EFL build fix.
794
795         Temporarily disabled INDEXED_DATABASE at compile-time as it breaks
796         WK2 build after r150305.
797
798         * Scripts/webkitperl/FeatureList.pm:
799
800 2013-05-18  Alberto Garcia  <agarcia@igalia.com>
801
802         [GTK] Parallel build fails if gtk-doc is enabled
803         https://bugs.webkit.org/show_bug.cgi?id=116227
804
805         Reviewed by Martin Robinson.
806
807         * GNUmakefile.am:
808         Don't use the 'all' target to generate the documentation.
809         The prerequisites of this target must be files that need to be
810         built _before_ the actual compilation of WebKit starts. Since the
811         documentation depends on WebKit being built first, this means in
812         practice that the code will be built in parallel with the
813         generation of its dependencies, potentially making the build fail.
814
815 2013-05-17  Ryosuke Niwa  <rniwa@webkit.org>
816
817         Don't run hg.
818
819         * Scripts/webkitpy/w3c/test_importer_unittest.py:
820         (TestImporterTest):
821
822 2013-05-17  Dirk Pranke  <dpranke@chromium.org>
823
824         Create a script to import W3C tests
825         https://bugs.webkit.org/show_bug.cgi?id=111513
826
827         Reviewed by Ryosuke Niwa.
828
829         This patch attempts to re-land the 'import-w3c-tests'
830         script and accompanying modules.  The tests and code have
831         been cleaned up so that we do not log anything to stdout/stderr
832         while running the tests (thanks to outputcapture) and do not
833         write into the source tree while running the tests, and much
834         but not all of the code has been converted over to using the webkitpy
835
836         * Scripts/import-w3c-tests: Added.
837         * Scripts/webkitpy/w3c/__init__.py: Added.
838         * Scripts/webkitpy/w3c/test_converter.py: Added.
839         (W3CTestConverter):
840         (W3CTestConverter.__init__):
841         (W3CTestConverter.path_from_webkit_root):
842         (W3CTestConverter.read_webkit_prefixed_css_property_list):
843         (W3CTestConverter.convert_for_webkit):
844         (W3CTestConverter.convert_css):
845         (W3CTestConverter.convert_html):
846         (W3CTestConverter.convert_testharness_paths):
847         (W3CTestConverter.convert_prefixed_properties):
848         (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties):
849         (W3CTestConverter.replace_tag):
850         * Scripts/webkitpy/w3c/test_converter_unittest.py: Added.
851         (W3CTestConverterTest):
852         (W3CTestConverterTest.fake_dir_path):
853         (W3CTestConverterTest.test_read_prefixed_property_list):
854         (W3CTestConverterTest.test_convert_for_webkit_nothing_to_convert):
855         (test_convert_for_webkit_harness_only):
856         (test_convert_for_webkit_properties_only):
857         (test_convert_for_webkit_harness_and_properties):
858         (test_convert_test_harness_paths):
859         (test_convert_prefixed_properties):
860         (verify_conversion_happened):
861         (verify_no_conversion_happened):
862         (verify_test_harness_paths):
863         (verify_prefixed_properties):
864         (generate_test_content):
865         * Scripts/webkitpy/w3c/test_importer.py: Added.
866         (main):
867         (parse_args):
868         (validate_import_directory):
869         (TestImporter):
870         (TestImporter.__init__):
871         (TestImporter.path_from_webkit_root):
872         (TestImporter.do_import):
873         (TestImporter.load_changeset):
874         (TestImporter.find_importable_tests):
875         (TestImporter.import_tests):
876         (TestImporter.setup_destination_directory):
877         (TestImporter.update_test_status):
878         (TestImporter.remove_deleted_files):
879         (TestImporter.write_import_log):
880         * Scripts/webkitpy/w3c/test_importer_unittest.py: Added.
881         (TestImporterTest):
882         (TestImporterTest.test_import_dir_with_no_tests):
883         * Scripts/webkitpy/w3c/test_parser.py: Added.
884         (TestParser):
885         (TestParser.__init__):
886         (TestParser.load_file):
887         (TestParser.analyze_test):
888         (TestParser.reference_links_of_type):
889         (TestParser.is_jstest):
890         (TestParser.support_files):
891         * Scripts/webkitpy/w3c/test_parser_unittest.py: Added.
892         (TestParserTest):
893         (TestParserTest.test_analyze_test_reftest_one_match):
894         (test_analyze_test_reftest_multiple_matches):
895         (test_analyze_test_reftest_match_and_mismatch):
896         (test_analyze_test_reftest_with_ref_support_Files):
897         (test_analyze_jstest):
898         (test_analyze_pixel_test_all_true):
899         (test_analyze_pixel_test_all_false):
900         (test_analyze_non_html_file):
901
902 2013-05-17  Ryosuke Niwa  <rniwa@webkit.org>
903
904         Leaks builders exit early frequently
905         https://bugs.webkit.org/show_bug.cgi?id=116355
906
907         Reviewed by Stephanie Lewis.
908
909         Throttle the number of processes to use, and also bump up the number of crashes/timeouts
910         we tolerate from 20 to 50.
911
912         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
913         (RunWebKitTests.start):
914         * Scripts/webkitpy/port/mac.py:
915         (MacPort.default_child_processes):
916
917 2013-05-17  Peter Gal  <galpeter@inf.u-szeged.hu>
918
919         Remove chrome-channels command from the webkit-patch
920         https://bugs.webkit.org/show_bug.cgi?id=116303
921
922         Reviewed by Ryosuke Niwa.
923
924         * Scripts/webkitpy/common/config/urls.py: Removed omahaproxy url.
925         * Scripts/webkitpy/common/net/omahaproxy.py: Removed.
926         * Scripts/webkitpy/common/net/omahaproxy_unittest.py: Removed.
927         * Scripts/webkitpy/tool/commands/__init__.py: Removed chromechannels import.
928         * Scripts/webkitpy/tool/commands/chromechannels.py: Removed.
929         * Scripts/webkitpy/tool/commands/chromechannels_unittest.py: Removed.
930
931 2013-05-17  David Kilzer  <ddkilzer@apple.com>
932
933         filter-build-webkit: Don't filter out the location of the missing symbol when linking fails
934         Part 3 of 3: <http://webkit.org/b/116247>
935
936         Reviewed by Benjamin Poulain.
937
938         * Scripts/filter-build-webkit: Change while() loop to for() loop
939         to track $previousLine, then pass $previousLine into
940         shouldIgnoreLine().
941         (shouldIgnoreLine): Add $previousLine argument. Do not skip a
942         line that begins with four spaces if the previous line is a
943         linker error message.
944         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
945         - Add "Ignored: " to test descriptions to document expected
946           behavior.
947         - Add comment blocks for various groups of tests.
948         - Expand "Build settings" tests since we're changing the code in
949           shouldIgnoreLine() that ignores those lines.
950         - Add tests for undefined symbols error message.
951         (description): Add.  Extract from global code.
952
953 2013-05-17  David Kilzer  <ddkilzer@apple.com>
954
955         Add tests for shouldIgnoreLine() in filter-build-webkit
956         Part 2 of 3: <http://webkit.org/b/116247>
957
958         Reviewed by Benjamin Poulain.
959
960         * Scripts/filter-build-webkit:
961         (shouldIgnoreLine): Add.  Extract code from global scope into
962         subroutine to make it testable.
963         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl: Add.
964         Tests shouldIgnoreLine() using output from a real build
965         transcript.
966
967 2013-05-17  Ryosuke Niwa  <rniwa@webkit.org>
968
969         Rename "WebKit Queues" to explicitly call out for EWS and CQ on build.webkit.org
970         https://bugs.webkit.org/show_bug.cgi?id=116341
971
972         Reviewed by Brady Eidson.
973
974         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
975
976 2013-05-17  Brent Fulgham  <bfulgham@apple.com>
977
978         [Windows] Don't use pdevenv when building with VS2010.
979         https://bugs.webkit.org/show_bug.cgi?id=116338.
980
981         Reviewed by Adam Roben.
982
983         * Scripts/webkitdirs.pm:
984         (setupCygwinEnv): Check if we are using VS2005, and only use
985         the 'pdevenv' hack if we are. Otherwise, just build with
986         our standard project since it uses VS2010+'s native
987         parallel building features.
988
989 2013-05-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
990
991         Unreviewed. Disable accelerated compositing until we figure out why it does not work
992         properly in the 64 bits release bot.
993
994         * DumpRenderTree/gtk/DumpRenderTree.cpp:
995         (resetDefaultsToConsistentValues):
996
997 2013-05-17  David Kilzer  <ddkilzer@apple.com>
998
999         Make filter-build-webkit testable using LoadAsModule
1000         Part 1 of 3: <http://webkit.org/b/116247>
1001
1002         Reviewed by Benjamin Poulain.
1003
1004         * Scripts/filter-build-webkit: Change global variables that are
1005         used in subroutines from 'my' to 'our' to make it possible to
1006         evaluate the script in a package context in LoadAsModule.pm.
1007
1008 2013-05-14  Sam Weinig  <sam@webkit.org>
1009
1010         Add variants of the loading APIs that take user data and a way for the injected bundle to find out about them
1011         https://bugs.webkit.org/show_bug.cgi?id=116132
1012
1013         Reviewed by Anders Carlsson.
1014
1015         Adds "WithUserData" versions of all the load APIs and two new WKBundlePageLoaderClient functions,
1016         willLoadURLRequest and willLoadDataRequest to let the bundle access them.
1017
1018         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1019         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Added.
1020         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp: Added.
1021         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1022
1023 2013-05-16  Seokju Kwon  <seokju.kwon@gmail.com>
1024
1025         [EFL] inspector-protocol/page/javascriptDialogEvents.html is failing
1026         https://bugs.webkit.org/show_bug.cgi?id=114781
1027
1028         Reviewed by Christophe Dumez.
1029
1030         Add run_before_unload_confirm and
1031         Print the log message with "CONFIRM NAVIGATION: " in console.
1032
1033         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
1034         (onBeforeUnloadConfirm):
1035         (drtViewAdd):
1036
1037 2013-05-16  Peter Gal  <galpeter@inf.u-szeged.hu>
1038
1039         Fix Analyze ChangeLog's entry processing
1040         https://bugs.webkit.org/show_bug.cgi?id=116219
1041
1042         Reviewed by Ryosuke Niwa.
1043
1044         * Scripts/webkitpy/tool/commands/analyzechangelog.py:
1045         (ChangeLogAnalyzer._analyze_entries): Fix the counter initialization.
1046
1047 2013-05-16  Hyungchan Kim  <hyungchan2.kim@lge.com>
1048
1049         [Qt] UrlLoader::loadNext is broken in MiniBrowser
1050         https://bugs.webkit.org/show_bug.cgi?id=116099
1051
1052         Reviewed by Jocelyn Turcotte.
1053
1054         QQuickWebView's 3 signals(loadStarted, loadSucceeded, loadFailed)
1055         are not available any more. So, UrlLoader::loadNext was broken
1056         because it failed to connect to those signals.
1057
1058         * MiniBrowser/qt/UrlLoader.cpp:
1059         (UrlLoader::UrlLoader):
1060         (UrlLoader::loadingChanged):
1061         * MiniBrowser/qt/UrlLoader.h:
1062         (UrlLoader):
1063
1064 2013-05-16  Lamarque V. Souza  <Lamarque.Souza@basyskom.com>
1065
1066         [WebSocket] Update pywebsocket to r760
1067         https://bugs.webkit.org/show_bug.cgi?id=115863
1068
1069         Reviewed by Alexey Proskuryakov.
1070
1071         Version r760 supports a newer draft of message compression.
1072         We need this update to finish the permessage compression patch in
1073         bug 98840. This patch also fixes failing unit tests after the update.
1074
1075         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_base.py:
1076         (StreamBase._read):
1077         (StreamBase._read.of):
1078         (StreamBase._write):
1079         (StreamBase.receive_bytes):
1080         (StreamBase._read_until):
1081         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py:
1082         (parse_frame):
1083         (StreamOptions.__init__):
1084         (Stream.__init__):
1085         (Stream._receive_frame_as_frame_object):
1086         (Stream._get_message_from_frame):
1087         (Stream._process_close_message):
1088         (Stream.close_connection):
1089         (Stream.get_last_received_opcode):
1090         * Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py:
1091         * Scripts/webkitpy/thirdparty/mod_pywebsocket/dispatch.py:
1092         (Dispatcher.do_extra_handshake):
1093         (Dispatcher.transfer_data):
1094         * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
1095         (ExtensionProcessorInterface.__init__):
1096         (ExtensionProcessorInterface.request):
1097         (ExtensionProcessorInterface):
1098         (ExtensionProcessorInterface.name):
1099         (ExtensionProcessorInterface.check_consistency_with_other_processors):
1100         (ExtensionProcessorInterface.set_active):
1101         (ExtensionProcessorInterface.is_active):
1102         (ExtensionProcessorInterface._get_extension_response_internal):
1103         (ExtensionProcessorInterface.get_extension_response):
1104         (ExtensionProcessorInterface._setup_stream_options_internal):
1105         (ExtensionProcessorInterface.setup_stream_options):
1106         (_log_outgoing_compression_ratio):
1107         (_log_incoming_compression_ratio):
1108         (_parse_window_bits):
1109         (_AverageRatioCalculator):
1110         (_AverageRatioCalculator.__init__):
1111         (_AverageRatioCalculator.add_original_bytes):
1112         (_AverageRatioCalculator.add_result_bytes):
1113         (_AverageRatioCalculator.get_average_ratio):
1114         (DeflateFrameExtensionProcessor):
1115         (DeflateFrameExtensionProcessor.__init__):
1116         (DeflateFrameExtensionProcessor._get_extension_response_internal):
1117         (DeflateFrameExtensionProcessor._setup_stream_options_internal):
1118         (DeflateFrameExtensionProcessor._outgoing_filter):
1119         (DeflateFrameExtensionProcessor._incoming_filter):
1120         (CompressionExtensionProcessorBase.for):
1121         (CompressionExtensionProcessorBase.__init__):
1122         (CompressionExtensionProcessorBase._get_extension_response_internal):
1123         (CompressionExtensionProcessorBase._setup_stream_options_internal):
1124         (PerFrameCompressExtensionProcessor):
1125         (PerMessageDeflateExtensionProcessor):
1126         (PerMessageDeflateExtensionProcessor.__init__):
1127         (PerMessageDeflateExtensionProcessor._get_extension_response_internal):
1128         (PerMessageDeflateExtensionProcessor._setup_stream_options_internal):
1129         (PerMessageDeflateExtensionProcessor.set_c2s_max_window_bits):
1130         (PerMessageDeflateExtensionProcessor.set_c2s_max_window_bits.adds):
1131         (PerMessageDeflateExtensionProcessor.set_c2s_no_context_takeover):
1132         (PerMessageDeflateExtensionProcessor.set_c2s_no_context_takeover.adds):
1133         (PerMessageDeflateExtensionProcessor.set_bfinal):
1134         (PerMessageDeflateExtensionProcessor.enable_outgoing_compression):
1135         (PerMessageDeflateExtensionProcessor.disable_outgoing_compression):
1136         (_PerMessageDeflateFramer):
1137         (_PerMessageDeflateFramer.__init__):
1138         (_PerMessageDeflateFramer.set_compress_outgoing_enabled):
1139         (_PerMessageDeflateFramer._process_incoming_message):
1140         (_PerMessageDeflateFramer._process_outgoing_message):
1141         (_PerMessageDeflateFramer.setup_stream_options):
1142         (_PerMessageDeflateFramer.setup_stream_options._OutgoingMessageFilter):
1143         (_PerMessageDeflateFramer.setup_stream_options._OutgoingMessageFilter.__init__):
1144         (_PerMessageDeflateFramer.setup_stream_options._OutgoingMessageFilter.filter):
1145         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter):
1146         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter.__init__):
1147         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter.decompress_next_message):
1148         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter.filter):
1149         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter):
1150         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter.__init__):
1151         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter.set_compression_bit):
1152         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter.filter):
1153         (_PerMessageDeflateFramer.setup_stream_options._IncomingFrameFilter):
1154         (_PerMessageDeflateFramer.setup_stream_options._IncomingFrameFilter.__init__):
1155         (_PerMessageDeflateFramer.setup_stream_options._IncomingFrameFilter.filter):
1156         (PerMessageCompressExtensionProcessor):
1157         (PerMessageCompressExtensionProcessor._lookup_compression_processor):
1158         (MuxExtensionProcessor.__init__):
1159         (MuxExtensionProcessor.check_consistency_with_other_processors):
1160         (MuxExtensionProcessor):
1161         (MuxExtensionProcessor._get_extension_response_internal):
1162         (MuxExtensionProcessor._setup_stream_options_internal):
1163         (MuxExtensionProcessor.set_quota):
1164         (MuxExtensionProcessor.quota):
1165         (MuxExtensionProcessor.set_extensions):
1166         (MuxExtensionProcessor.extensions):
1167         (is_compression_extension):
1168         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py:
1169         (validate_subprotocol):
1170         (parse_host_header):
1171         (format_header):
1172         (check_request_line):
1173         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py:
1174         (Handshaker.do_handshake):
1175         (Handshaker._create_handshake_response):
1176         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi00.py:
1177         (_validate_subprotocol):
1178         (_check_header_lines):
1179         (_build_location):
1180         (Handshaker.do_handshake):
1181         (Handshaker._set_subprotocol):
1182         (Handshaker._set_location):
1183         * Scripts/webkitpy/thirdparty/mod_pywebsocket/headerparserhandler.py:
1184         (_create_dispatcher):
1185         (headerparserhandler):
1186         * Scripts/webkitpy/thirdparty/mod_pywebsocket/mux.py:
1187         (_create_add_channel_response):
1188         (_create_drop_channel):
1189         (_create_flow_control):
1190         (_create_new_channel_slot):
1191         (_create_fallback_new_channel_slot):
1192         (_MuxFramePayloadParser._read_number):
1193         (_MuxFramePayloadParser._read_size_and_contents):
1194         (_MuxFramePayloadParser._read_flow_control):
1195         (_MuxFramePayloadParser._read_new_channel_slot):
1196         (_LogicalConnection.__init__):
1197         (_LogicalConnection.write):
1198         (_LogicalConnection.on_write_data_done):
1199         (_LogicalConnection):
1200         (_LogicalConnection.on_writer_done):
1201         (_InnerMessage):
1202         (_InnerMessage.__init__):
1203         (_InnerMessageBuilder):
1204         (_InnerMessageBuilder.that):
1205         (_InnerMessageBuilder.__init__):
1206         (_InnerMessageBuilder._handle_first):
1207         (_InnerMessageBuilder._process_first_fragmented_control):
1208         (_InnerMessageBuilder._process_first_fragmented_message):
1209         (_InnerMessageBuilder._handle_fragmented_control):
1210         (_InnerMessageBuilder._reassemble_fragmented_control):
1211         (_InnerMessageBuilder._handle_fragmented_message):
1212         (_InnerMessageBuilder._reassemble_fragmented_message):
1213         (_InnerMessageBuilder.build):
1214         (_LogicalStream.__init__):
1215         (_LogicalStream._create_inner_frame):
1216         (_LogicalStream._write_inner_frame):
1217         (_LogicalStream.replenish_send_quota):
1218         (_LogicalStream.send_message):
1219         (_LogicalStream._receive_frame):
1220         (_LogicalStream._get_message_from_frame):
1221         (_LogicalStream.stop_sending):
1222         (_PhysicalConnectionWriter.__init__):
1223         (_PhysicalConnectionWriter._write_data):
1224         (_PhysicalConnectionWriter.run):
1225         (_PhysicalConnectionWriter.stop):
1226         (_Worker.run):
1227         (_MuxHandshaker.__init__):
1228         (_MuxHandshaker._create_stream):
1229         (_MuxHandshaker._create_handshake_response):
1230         (_HandshakeDeltaBase.create_headers):
1231         (_MuxHandler.start):
1232         (_MuxHandler.wait_until_done):
1233         (_MuxHandler.notify_write_data_done):
1234         (_MuxHandler._process_drop_channel):
1235         (_MuxHandler._process_logical_frame):
1236         (_MuxHandler.notify_reader_done):
1237         (_MuxHandler):
1238         (_MuxHandler.notify_writer_done):
1239         (_MuxHandler.fail_physical_connection):
1240         (_MuxHandler.fail_logical_channel):
1241         (use_mux):
1242         * Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py:
1243         (_StandaloneRequest.get_uri):
1244         (_StandaloneRequest.get_unparsed_uri):
1245         (_StandaloneRequest):
1246         (_StandaloneRequest.is_https):
1247         (_import_ssl):
1248         (_import_pyopenssl):
1249         (_StandaloneSSLConnection.for):
1250         (_StandaloneSSLConnection):
1251         (_StandaloneSSLConnection.__getattribute__):
1252         (_StandaloneSSLConnection.__setattr__):
1253         (_StandaloneSSLConnection.makefile):
1254         (_StandaloneSSLConnection.shutdown):
1255         (_StandaloneSSLConnection.recv):
1256         (WebSocketServer.__init__):
1257         (WebSocketServer._create_sockets):
1258         (WebSocketServer.handle_error):
1259         (WebSocketServer.get_request):
1260         (WebSocketServer.get_request.default_callback):
1261         (WebSocketRequestHandler.parse_request):
1262         (_build_option_parser):
1263         (_main):
1264         (_main.if):
1265         * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
1266         (RepeatedXorMasker.__init__):
1267         (RepeatedXorMasker._mask_using_swig):
1268         (RepeatedXorMasker):
1269         (RepeatedXorMasker._mask_using_array):
1270         (_Deflater.compress_and_finish):
1271         (_RFC1979Deflater.filter):
1272         (DeflateSocket.send):
1273
1274 2013-05-16  Jonathan Liu  <net147@gmail.com>
1275
1276         Fix testing if program exists in PATH
1277         https://bugs.webkit.org/show_bug.cgi?id=116216
1278
1279         Reviewed by Jocelyn Turcotte.
1280
1281         functions.prf incorrectly uses win_cmd_shell to test whether to
1282         add .exe to the executable name when checking if it exists in
1283         the PATH environment variable. This works correctly when
1284         building using Windows Command Prompt but not under MSYS shell.
1285
1286         To resolve this, check the win32 platform scope instead of
1287         win_cmd_shell so that it correctly adds .exe to the executable
1288         name on Windows regardless of the shell used when testing if
1289         it exists in PATH.
1290
1291         * qmake/mkspecs/features/functions.prf:
1292
1293 2013-05-16  Ryosuke Niwa  <rniwa@webkit.org>
1294
1295         Fix the hard-coded names of EWS bots that run tests.
1296
1297         * Scripts/webkitpy/tool/commands/queues.py:
1298         (CommitQueue.did_pass_testing_ews):
1299
1300 2013-05-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1301
1302         [GTK] Build Xvfb with jhbuild
1303         https://bugs.webkit.org/show_bug.cgi?id=115907
1304
1305         Reviewed by Martin Robinson.
1306
1307         Build our own Xvfb so that we can avoid problems with the system Xvfb
1308         relying on symbols not present in our jhbuilt libraries such as pixman,
1309         and also to ensure we have the fix for a GLX module crasher.
1310
1311         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1312         (resetDefaultsToConsistentValues): enable accelerated compositing.
1313         * gtk/install-dependencies: list packages required for building Xvfb.
1314         * gtk/jhbuild.modules: add xserver as a jhbuild module.
1315         * gtk/patches/xserver-remove-bogus-dependencies.patch: Added.
1316         * gtk/patches/xserver-fix-glx-init.patch: Added. Fixes a crash while
1317         initializing the GLX module for Xvfb.
1318
1319 2013-05-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1320
1321         [jhbuild] Should remove the sources directory as well when cleaning
1322         https://bugs.webkit.org/show_bug.cgi?id=116229
1323
1324         Reviewed by Martin Robinson.
1325
1326         * Scripts/update-webkit-libs-jhbuild:
1327         (cleanJhbuild): remove the Source directory as well when cleaning.
1328
1329 2013-05-15  Dominik Röttsches  <dominik.rottsches@intel.com>
1330
1331         [EFL] Remove Intel Wk2 Buildbots from Master
1332         https://bugs.webkit.org/show_bug.cgi?id=116149
1333
1334         Removing Intel maintained EFL Wk2 bots except the handle for efl-linux-slave-2
1335         since Gyuyoung Kim from Samsung plans to take over and maintain it.
1336
1337         Reviewed by Benjamin Poulain.
1338
1339         * BuildSlaveSupport/build.webkit.org-config/config.json:
1340
1341 2013-05-15  Brent Fulgham  <bfulgham@apple.com>
1342
1343         [Windows] Update various build tools to understand VS2010 environment.
1344         https://bugs.webkit.org/show_bug.cgi?id=116169.
1345
1346         Reviewed by Anders Carlsson.
1347
1348         * Scripts/build-api-tests: Identify VS2010 environment.
1349         * Scripts/build-dumprendertree: Ditto.
1350         * Scripts/build-webkit: Ditto.
1351         * Scripts/webkitdirs.pm:
1352         (dieIfWindowsPlatformSDKNotInstalled): Update to recognize a wider
1353         range of acceptable SDK's.
1354
1355 2013-05-15  Peter Gal  <galpeter@inf.u-szeged.hu>
1356
1357         Allow http tests on Arch Linux
1358         https://bugs.webkit.org/show_bug.cgi?id=116155
1359
1360         Reviewed by Ryosuke Niwa.
1361
1362         * Scripts/webkitpy/port/base.py:
1363         (Port._is_arch_based): Added check for /etc/arch-release file.
1364         (Port._apache_config_file_name_for_platform): Call the check.
1365         * Scripts/webkitpy/port/port_testcase.py:
1366         (test_linux_distro_detection): Testcase added.
1367
1368 2013-05-15  Peter Gal  <galpeter@inf.u-szeged.hu>
1369
1370         Remove a leftover v8 file from the watchlist
1371         https://bugs.webkit.org/show_bug.cgi?id=116158
1372
1373         Reviewed by Csaba Osztrogonác.
1374
1375         * Scripts/webkitpy/common/config/watchlist: Removed a v8 entry from the watchlist.
1376
1377 2013-05-15  Alberto Garcia  <agarcia@igalia.com>
1378
1379         [GTK] Fails to build while generating gtkdoc
1380         https://bugs.webkit.org/show_bug.cgi?id=115612
1381
1382         Reviewed by Philippe Normand.
1383
1384         Fix typo in the prerequisites of docs-build.stamp.
1385
1386         * GNUmakefile.am:
1387
1388 2013-05-15  Zan Dobersek  <zdobersek@igalia.com>
1389
1390         Unreviewed, fixing the current test-webkitpy failure.
1391
1392         * Scripts/webkitpy/port/mac_unittest.py:
1393         (test_setup_environ_for_server): Adjusting the expected DYLD_INSERT_LIBRARIES environment variable value
1394         in webkitpy.port.mac_unittest.test_setup_environ_for_server after r150089.
1395
1396 2013-05-14  Jaehun Lim  <ljaehun.lim@samsung.com>
1397
1398         Fix build after r150090.
1399         https://bugs.webkit.org/show_bug.cgi?id=116129
1400
1401         Unreviewed build fix after r150090.
1402
1403         * WebKitTestRunner/TestInvocation.cpp:
1404         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1405
1406 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
1407
1408         [Windows, others] Unreviewed build fix after r150090.
1409
1410         * DumpRenderTree/TestRunner.cpp:
1411         (getSecureEventInputIsEnabledCallback): IsSecureEventInputEnabled
1412         doesn't exist on other platforms.
1413
1414 2013-05-14  Brent Fulgham  <bfulgham@webkit.org>
1415
1416         [Windows] Expunge pthreads2VC.dll from DumpRenderTree Project
1417         https://bugs.webkit.org/show_bug.cgi?id=115889
1418
1419         Reviewed by Benjamin Poulain.
1420
1421         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
1422         * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
1423
1424 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
1425
1426         [Windows] Identify proper run environment for scripts.
1427         https://bugs.webkit.org/show_bug.cgi?id=116114
1428
1429         Reviewed by David Kilzer.
1430
1431         Determine (based on Visual Studio version) which path to use for
1432         executables (bin versus bin32).
1433
1434         * Scripts/webkitdirs.pm:
1435         (determineVisualStudioInstallDir): Added.
1436         (determineVisualStudioVersion): Added.
1437         (determineConfigurationProductDir): Modified to choose proper bin
1438         or bin32 directory.
1439         (visualStudioVersion): Added
1440         (setupCygwinEnv): Modified to use new determineVisualStudioInstallDir
1441
1442 2013-05-14  Alexey Proskuryakov  <ap@apple.com>
1443
1444         [Mac] Add tests for secure event input
1445         https://bugs.webkit.org/show_bug.cgi?id=116121
1446
1447         Reviewed by Mark Rowe.
1448
1449         * DumpRenderTree/TestRunner.cpp:
1450         (getSecureEventInputIsEnabledCallback):
1451         (TestRunner::staticValues):
1452         Expose an accessor for current secure event input state.
1453
1454         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1455         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1456         (WTR::TestRunner::secureEventInputIsEnabled):
1457         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1458         * WebKitTestRunner/TestInvocation.cpp:
1459         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1460         Expose an accessor for current secure event input state. This has to be done in
1461         UI process, as this is where it's changed by WebKit.
1462
1463 2013-05-14  Alexey Proskuryakov  <ap@apple.com>
1464
1465         [Mac] Add a testing shim for secure event input functions
1466         https://bugs.webkit.org/show_bug.cgi?id=116122
1467
1468         Reviewed by Mark Rowe.
1469
1470         * Scripts/webkitpy/port/mac.py: (MacPort.setup_environ_for_server):
1471         Inject WebCore testing shim library to override system framework functions.
1472
1473 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
1474
1475         [Windows] Switch to embedded manifest commands for launcher executables.
1476         https://bugs.webkit.org/show_bug.cgi?id=116109
1477
1478         Reviewed by Darin Adler.
1479
1480         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Remove the
1481         now-unused WinLauncher.exe.manifest file.
1482         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Ditto.
1483         * win/DLLLauncher/DLLLauncherMain.cpp: Add embedded manifest command
1484         when building with VS2010 or newer.
1485
1486 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
1487
1488         [Windows] Update ORWT to know about the Windows 8 SDK and Debug Tools.
1489         https://bugs.webkit.org/show_bug.cgi?id=116079
1490
1491         Reviewed by David Kilzer.
1492
1493         * Scripts/old-run-webkit-tests:
1494         (setUpWindowsCrashLogSaving): Locate ntsd.exe and use it.
1495
1496 2013-05-14  Zan Dobersek  <zdobersek@igalia.com>
1497
1498         [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
1499         https://bugs.webkit.org/show_bug.cgi?id=115921
1500
1501         Reviewed by Gustavo Noronha Silva.
1502
1503         * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libWebCoreInternals and DumpRenderTree.
1504         * TestWebKitAPI/GNUmakefile.am: Add platform_cppflags to the list of TestGtk CPPFLAGS.
1505
1506 2013-05-13  Alex Christensen  <achristensen@apple.com>
1507
1508         Added testRunner.setPrinting.
1509         https://bugs.webkit.org/show_bug.cgi?id=42693
1510         rdar://problem/8213845
1511
1512         Reviewed by Darin Adler.
1513
1514         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1515         Added setPrinting JavaScript function.
1516         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1517         (WTR::InjectedBundlePage::dump):
1518         Dump the external representation for printing if setPrinting has been called.
1519         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1520         (WTR::TestRunner::isPrinting): Added.
1521         (WTR::TestRunner::setPrinting): Added.
1522         Added and initialized m_isPrinting member boolean.
1523
1524 2013-05-13  Csaba Osztrogonác  <ossy@webkit.org>
1525
1526         [webkitpy] Make FileInfo.repository_name support SVN version > 1.6
1527         https://bugs.webkit.org/show_bug.cgi?id=116016
1528
1529         Reviewed by Dirk Pranke.
1530
1531         Same fix as in the upstream style checker, but without hg support.
1532         ( http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py )
1533
1534         * Scripts/webkitpy/style/checkers/cpp.py:
1535         (FileInfo.repository_name):
1536
1537 2013-05-13  Zan Dobersek  <zdobersek@igalia.com>
1538
1539         [GTK] Use WebCore layer archives for TestWebCore, WebKitPluginProcess
1540         https://bugs.webkit.org/show_bug.cgi?id=115918
1541
1542         Reviewed by Gustavo Noronha Silva.
1543
1544         Due to layer violations and circular dependencies the TestWebCores requires for the libraries containing
1545         the built code of the intertwining Platform and WebCore layers to be specified multiple times when linking.
1546         This can be avoided by packing the two layers' archives into one big archive, named after the WebCore layer
1547         due to no clear boundary between it and the Platform layer. The big archive can then be specified only once
1548         when linking, simplifying the code and suppressing all the layering violations so they do not cause build
1549         problems.
1550
1551         First the libtool libraries that the WebCore layer (as required by the TestWebCore) depends on are specified.
1552         These are then used as dependencies for the archive creation rule as well as the list from which the archive
1553         file paths are constructed and then used to dump the member files from these archives. The member files are
1554         then added to the big archive. The latter is added to the list of libraries the TestWebCore requires to
1555         successfully link.
1556
1557         * TestWebKitAPI/GNUmakefile.am:
1558
1559 2013-05-13  Anders Carlsson  <andersca@apple.com>
1560
1561         Remove UnusedParam.h
1562         https://bugs.webkit.org/show_bug.cgi?id=116029
1563
1564         Reviewed by Andreas Kling.
1565
1566         Stop including UnusedParam.h.
1567
1568         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
1569         * WebKitTestRunner/qt/TestInvocationQt.cpp:
1570
1571 2013-05-12  Commit Queue  <commit-queue@webkit.org>
1572
1573         Unreviewed, rolling out r149955.
1574         http://trac.webkit.org/changeset/149955
1575         https://bugs.webkit.org/show_bug.cgi?id=115990
1576
1577         Broke lots of tests (Requested by smfr on #webkit).
1578
1579         * Scripts/webkitpy/port/mac.py:
1580
1581 2013-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
1582
1583         [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
1584         https://bugs.webkit.org/show_bug.cgi?id=115914
1585
1586         Reviewed by Martin Robinson.
1587
1588         * GtkLauncher/main.c:
1589         (createToolbar):
1590         * MiniBrowser/gtk/BrowserWindow.c:
1591         (_BrowserWindow):
1592         (browserWindowSetStatusText):
1593         (fullScreenMessageTimeoutCallback):
1594         (webViewEnterFullScreen):
1595         (webViewLeaveFullScreen):
1596         (browserWindowFinalize):
1597         (browserWindowConstructed):
1598         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
1599         (WTR::EventSenderProxy::mouseScrollBy):
1600         (WTR::EventSenderProxy::continuousMouseScrollBy):
1601
1602 2013-05-11  Anders Carlsson  <andersca@apple.com>
1603
1604         Crash when terminating a process that has not been fully launched
1605         https://bugs.webkit.org/show_bug.cgi?id=115962
1606         <rdar://problem/13660916>
1607
1608         Reviewed by Andreas Kling.
1609
1610         Add TerminateTwice, a test that terminates a page, then reloads it and terminates it again
1611         before the process has had a chance to be fully launched.
1612
1613         * TestWebKitAPI/GNUmakefile.am:
1614         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1615         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp: Added.
1616         (TestWebKitAPI):
1617         (TestWebKitAPI::didFinishLoadForFrame):
1618         (TestWebKitAPI::TEST):
1619         * TestWebKitAPI/Tests/WebKit2/WebKit2.pro:
1620
1621 2013-05-10  Laszlo Gombos  <l.gombos@samsung.com>
1622
1623         Remove Mac OS X Leopard (10.5) support
1624         https://bugs.webkit.org/show_bug.cgi?id=107964
1625
1626         Reviewed by Ryosuke Niwa.
1627
1628         Removed the code for 10.5 and removed if-def for 10.6.
1629
1630         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
1631         (convertMIMEType):
1632         (createXMLStringFromWebArchiveData):
1633         * DumpRenderTree/mac/TestRunnerMac.mm:
1634         (TestRunner::authenticateSession):
1635         (TestRunner::setTextDirection):
1636         * WebKitTestRunner/cf/WebArchiveDumpSupport.cpp:
1637         (convertMIMEType):
1638         (createXMLStringFromWebArchiveData):
1639
1640 2013-05-10  Brent Fulgham  <bfulgham@apple.com>
1641
1642         [Windows] Allow VS2010 Build to use VS2005 Support Libraries
1643         https://bugs.webkit.org/show_bug.cgi?id=115935
1644
1645         Reviewed by Jer Noble.
1646
1647         * WinLauncher/WinLauncher.vcxproj/WinLauncher.exe.manifest: Added.
1648         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Add reference
1649         to the new manifest file.
1650         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Ditto.
1651
1652 2013-05-10  Jacky Jiang  <zhajiang@blackberry.com>
1653
1654         Fix some compiler warnings (miscellaneous)
1655         https://bugs.webkit.org/show_bug.cgi?id=80790
1656
1657         Reviewed by Rob Buis.
1658
1659         Fix the following warnings for BlackBerry:
1660         DumpRenderTree.cpp:357:42: warning: suggest parentheses around assignment
1661         used as truth value [-Wparentheses].
1662
1663         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
1664         (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
1665
1666 2013-05-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1667
1668         [WK2][CoordinatedGraphics] WKViewSetThemePath is EFL specific
1669         https://bugs.webkit.org/show_bug.cgi?id=115928
1670
1671         Reviewed by Kenneth Rohde Christiansen.
1672
1673         WKViewSetThemePath was moved to WKViewEfl.h.
1674
1675         * TestWebKitAPI/efl/PlatformWebView.cpp:
1676
1677 2013-05-10  Andreas Kling  <akling@apple.com>
1678
1679         I accidentally the Java testing.
1680
1681         * Scripts/webkitpy/port/mac.py:
1682
1683 2013-05-10  Brian Holt  <brian.holt@samsung.com>
1684
1685         [GTK] Module Cairo fails to build under jhbuild
1686         https://bugs.webkit.org/show_bug.cgi?id=115854
1687
1688         Reviewed by Martin Robinson.
1689
1690         Make cairo depend on glib in jhbuild.modules.
1691
1692         * gtk/jhbuild.modules:
1693
1694 2013-05-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1695
1696         [GTK] Remove unnecessary GLIB_CHECK_VERSION #ifdefs
1697         https://bugs.webkit.org/show_bug.cgi?id=115904
1698
1699         Reviewed by Martin Robinson.
1700
1701         * ImageDiff/gtk/ImageDiff.cpp:
1702         (main):
1703
1704 2013-05-10  Balazs Kelemen  <kbalazs@webkit.org>
1705
1706         Add my new address to contributors.json. (Unreviewed)
1707
1708         * Scripts/webkitpy/common/config/contributors.json:
1709
1710 2013-05-10  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1711
1712         Unreviewed. Move myself to the reviewers list.
1713
1714         * Scripts/webkitpy/common/config/contributors.json:
1715
1716 2013-05-10  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1717
1718         Unreviewed. Add my email to a few watchlists.
1719
1720         * Scripts/webkitpy/common/config/watchlist:
1721
1722 2013-05-10  Simon Pena  <simon.pena@samsung.com>
1723
1724         Unicode support missing from string representation of Contributors in committers.py
1725         https://bugs.webkit.org/show_bug.cgi?id=115859
1726
1727         Reviewed by Darin Adler.
1728
1729         Contributors, in committers.py, provided a string representation in __str__ which
1730         didn't support unicode characters, so printing a contributor would fail in that case.
1731         This patch implements __unicode__ and makes __str__ use it to represent a contributor.
1732         The unit tests are updated accordingly, so they ensure that a unicode name can be shown.
1733
1734         * Scripts/webkitpy/common/config/committers.py: Move the existing string representation
1735         to the newly implemented method __unicode__, and make __str__ display its utf-8 encoded
1736         representation.
1737         (Contributor.__str__):
1738         (Contributor):
1739         (Contributor.__unicode__):
1740         * Scripts/webkitpy/common/config/committers_unittest.py: Add a new test that checks that
1741         a contributor with unicode characters can be represented as a string.
1742         (CommittersTest):
1743         (CommittersTest.test_contributor_encoding):
1744
1745 2013-05-09  Patrick Gansterer  <paroga@webkit.org>
1746
1747         [WIN][DRT] Remove duplicated (start|stop)JavaScriptThreads()
1748         https://bugs.webkit.org/show_bug.cgi?id=92371
1749
1750         Reviewed by Brent Fulgham.
1751
1752         Use JavaScriptThreading.cpp where the same functionality is
1753         implemented too. This reduces the dependency on the pthread
1754         library. Also replace assert() with WebKit ASSERT().
1755
1756         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
1757         * DumpRenderTree/win/DumpRenderTree.cpp:
1758         (dumpHistoryItem):
1759         (dumpBackForwardList):
1760         * DumpRenderTree/win/DumpRenderTree.vcproj:
1761
1762 2013-05-09  Patrick Gansterer  <paroga@webkit.org>
1763
1764         [DRT] Replace JavaScriptThreadingPthreads.cpp with JavaScriptThreading.cpp
1765         https://bugs.webkit.org/show_bug.cgi?id=92505
1766
1767         Reviewed by Brent Fulgham.
1768
1769         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1770         * DumpRenderTree/JavaScriptThreading.cpp: Copied from DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp.
1771         (javaScriptThreadsMutex):
1772         (javaScriptThreads):
1773         (runJavaScriptThread):
1774         (startJavaScriptThreads):
1775         (stopJavaScriptThreads):
1776         * DumpRenderTree/pthreads: Removed.
1777         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Removed.
1778
1779 2013-05-09  Mario Sanchez Prada  <mario.prada@samsung.com>
1780
1781         Unreviewed. Update Simon Pena email on his behalf.
1782
1783         * Scripts/webkitpy/common/config/contributors.json:
1784
1785 2013-05-09  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1786
1787         Add support for [NoInterfaceObject] Web IDL extended attribute
1788         https://bugs.webkit.org/show_bug.cgi?id=115714
1789
1790         Reviewed by Kentaro Hara.
1791
1792         Update BindingsTests.generate_supplemental_dependency() to pass an
1793         additional windowConstructorsFile argument to preprocess-idls.pl.
1794
1795         * Scripts/webkitpy/bindings/main.py:
1796         (BindingsTests.generate_supplemental_dependency):
1797         (BindingsTests.main):
1798
1799 2013-05-09  ChangSeok Oh  <changseok.oh@collabora.com>
1800
1801         [GTK][AC] Buildfix after r149694
1802         https://bugs.webkit.org/show_bug.cgi?id=115797
1803
1804         Reviewed by Gustavo Noronha Silva.
1805
1806         Add CLUTTER_LIBS for linking TestWebCore.
1807
1808         * TestWebKitAPI/GNUmakefile.am:
1809
1810 2013-05-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1811
1812         [EFL] Remove unnecessary pkgs in EFL jhbuild
1813         https://bugs.webkit.org/show_bug.cgi?id=114908
1814
1815         Reviewed by Laszlo Gombos.
1816
1817         p11-kit, libgpg-error and libgcrypt don't influence on layout test. So, we don't need to
1818         handle them using jhbuild. We can reduce build time when using --update-efl.
1819
1820         * efl/jhbuild.modules:
1821
1822 2013-05-08  Seokju Kwon  <seokju.kwon@gmail.com>
1823
1824         [EFL] Disable SHADOW DOM feature in FeatureList.pm
1825         https://bugs.webkit.org/show_bug.cgi?id=115834
1826
1827         Reviewed by Gyuyoung Kim.
1828
1829         * Scripts/webkitperl/FeatureList.pm:
1830
1831 2013-05-08  Lucas Forschler  <lforschler@apple.com>
1832
1833         Add Scheduler for Mac MtnLion 32bit Release builder.
1834         
1835         Unreviewed.
1836         
1837         * BuildSlaveSupport/build.webkit.org-config/config.json:
1838
1839 2013-05-08  Denis Nomiyama  <d.nomiyama@samsung.com>
1840
1841         Update JSCIdentifier pretty printer in Tools/gdb/webkit.py
1842         https://bugs.webkit.org/show_bug.cgi?id=115808
1843
1844         Reviewed by Darin Adler.
1845
1846         The pretty printer for the JSCIdentifier in Tools/gdb/webkit.py
1847         was left outdated after r127191, when the m_string member was changed
1848         from UString to String. This patch calls the right pretty printer for it.
1849
1850         * gdb/webkit.py:
1851         (JSCIdentifierPrinter.to_string): Use WTFPrettyPrinter instead of
1852         WTFImplPrettyPrinter.
1853
1854 2013-05-08  Andy Estes  <aestes@apple.com>
1855
1856         [WebKit2] REGRESSION (Custom Protocols): Reproducible crash when navigating to URL with an invalid scheme
1857         https://bugs.webkit.org/show_bug.cgi?id=115790
1858
1859         Reviewed by Alexey Proskuryakov.
1860
1861         Added two API tests:
1862
1863         1) Verify that +[WKBrowsingContextController (un)registerSchemeForCustomProtocol:] can be called with a nil NSString without crashing.
1864         2) Verify that +[WKCustomProtocol canInitWithRequest:] does not crash when passed an NSURLRequest with an invalid scheme.
1865
1866         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1867         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm: Added.
1868         (TestWebKitAPI):
1869         (TestWebKitAPI::TEST):
1870         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp: Added.
1871         (TestWebKitAPI):
1872         (TestWebKitAPI::decidePolicyForNavigationAction):
1873         (CustomProtocolInvalidSchemeTest):
1874         (TestWebKitAPI::CustomProtocolInvalidSchemeTest::CustomProtocolInvalidSchemeTest):
1875
1876 2013-05-08  Lucas Forschler  <lforschler@apple.com>
1877
1878         Teach buildbot how to compile 32-bit on Mac.
1879
1880         Reviewed by Ryosuke Niwa.
1881
1882         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1883         (CompileWebKit.start):
1884         (ExtractTestResultsAndLeaks):
1885
1886 2013-05-08  Eli Fidler  <efidler@blackberry.com>
1887
1888         [BlackBerry] Fix usage of BlackBerry::Platform::String
1889         https://bugs.webkit.org/show_bug.cgi?id=115781
1890
1891         Reviewed by Rob Buis.
1892
1893         BlackBerry PRs 304193 and 327181
1894         Internally Reviewed by Mike Lattanzio, Arvid Nilsson, Joe Mason, Jeff Rogers, and George Staikos
1895
1896         We currently have a problem where we're passing UTF-8 encoded data into
1897         the char* constructors of BlackBerry::Platform::String. This means the string
1898         thinks its data is not UTF-8.
1899
1900         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
1901         (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
1902         (BlackBerry::WebKit::dumpHistoryItem):
1903         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
1904         (TestRunner::setUserStyleSheetLocation):
1905         * DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp:
1906         (LoadHTMLStringItem::invoke):
1907
1908 2013-05-08  Alberto Garcia  <agarcia@igalia.com>
1909
1910         Tools: add new BlackBerry include dirs.
1911         https://bugs.webkit.org/show_bug.cgi?id=115514
1912
1913         Reviewed by Rob Buis.
1914
1915         iType include dirs are missing, and HarfBuzz needs to be fixed.
1916
1917         * Scripts/webkitdirs.pm:
1918         (blackberryCMakeArguments):
1919
1920 2013-05-08  José Dapena Paz  <jdapena@igalia.com> and Zan Dobersek  <zdobersek@igalia.com>
1921
1922         [GTK] Plumb the Automake build system for the Battery Status API feature
1923         https://bugs.webkit.org/show_bug.cgi?id=115718
1924
1925         Reviewed by Martin Robinson.
1926
1927         * Scripts/webkitdirs.pm:
1928         (buildAutotoolsProject): List battery-status as a configurable feature, meaning its value will be adjusted
1929         through the --(enable|disable)-battery-status flag passed to configure.
1930
1931 2013-05-08  Ryosuke Niwa  <rniwa@webkit.org>
1932
1933         new-run-webkit-websocketserver doesn't work after Chromium removal
1934         https://bugs.webkit.org/show_bug.cgi?id=115816
1935
1936         Reviewed by Joseph Pecoraro.
1937
1938         Fix the bug by instantiating the correct port object.
1939
1940         * Scripts/new-run-webkit-websocketserver:
1941         (main):
1942
1943 2013-05-07  Lucas Forschler  <lforschler@apple.com>
1944
1945         Configure buildbot for 32bit builder.
1946         https://bugs.webkit.org/show_bug.cgi?id=115769
1947         
1948         Reviewed by Ryosuke Niwa.
1949
1950         * BuildSlaveSupport/build.webkit.org-config/config.json:
1951
1952 2013-05-08  Brent Fulgham  <bfulgham@webkit.org>
1953
1954         Unreviewed. Update to show my apple.com address.
1955
1956         * Scripts/webkitpy/common/config/contributors.json: Added
1957         my apple.com e-mail address.
1958
1959 2013-05-08  David Kilzer  <ddkilzer@apple.com>
1960
1961         BUILD FIX (r149579): Use Vector::appendVector() instead of Vector::append()
1962
1963         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1964         (concatenateAttributeAndValue): Switch to appendVector().
1965
1966 2013-05-08  Andras Becsi  <andras.becsi@digia.com>
1967
1968         [Qt][WTR] Fix the build on Mac after r149692
1969
1970         Unreviewed build fix.
1971
1972         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1973         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
1974
1975 2013-05-08  Mario Sanchez Prada  <mario.prada@samsung.com>
1976
1977         Unreviewed. Added Anton Obzhirov to the list of contributors and myself
1978         to the watchlist for Accessibility.
1979
1980         * Scripts/webkitpy/common/config/contributors.json: Added Anton Obzhirov.
1981         * Scripts/webkitpy/common/config/watchlist: Added myself.
1982
1983 2013-05-08  Andras Becsi  <andras.becsi@digia.com>
1984
1985         [Qt] Build fails with clang
1986         https://bugs.webkit.org/show_bug.cgi?id=115741
1987
1988         Reviewed by Benjamin Poulain.
1989
1990         Since r149112 std::move is used in AtomicString for compilers that
1991         support rvalue references and this requires a standard library
1992         implementing c++11 move semantics.
1993         We only explicitely require c++11 for WebKit2, but since clang supports
1994         rvalue references the build of subtargets using AtomicString fails because
1995         of missing std::move.
1996         It is safe to add CONFIG += c++11 for the whole project when using clang
1997         since we explicitely disable c++11 for ANGLE that had probems with libc++.
1998
1999         * qmake/mkspecs/features/unix/default_pre.prf:
2000
2001 2013-05-08  Darin Adler  <darin@apple.com>
2002
2003         Fix one more place that needed to use adoptCF/NS
2004         https://bugs.webkit.org/show_bug.cgi?id=115778
2005
2006         Reviewed by Benjamin Poulain.
2007
2008         Not sure why I missed this code last time, but found a bit more code that needs
2009         to switch to the newer style adoptCF/NS.
2010
2011         * WebKitTestRunner/cf/WebArchiveDumpSupport.cpp:
2012         (convertWebResourceDataToString): Use adoptCF.
2013         (convertWebResourceResponseToDictionary): Ditto.
2014         (createXMLStringFromWebArchiveData): Ditto.
2015         * WebKitTestRunner/mac/WebArchiveDumpSupportMac.mm:
2016         (createCFURLResponseFromResponseData): Use adoptNS and adoptCF.
2017
2018 2013-05-08  Commit Queue  <commit-queue@webkit.org>
2019
2020         Unreviewed, rolling out r149271.
2021         http://trac.webkit.org/changeset/149271
2022         https://bugs.webkit.org/show_bug.cgi?id=115780
2023
2024         The mangled symbols are now enforced through LDFLAGS
2025         (Requested by zdobersek on #webkit).
2026
2027         * BuildSlaveSupport/gtk/daemontools-buildbot.conf:
2028
2029 2013-05-08  Zan Dobersek  <zdobersek@igalia.com>
2030
2031         [Flakiness Dashboard] Remove the Chromium fallback platforms listing from the legend popup
2032         https://bugs.webkit.org/show_bug.cgi?id=115636
2033
2034         Reviewed by Ryosuke Niwa.
2035
2036         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2037         (showLegend): Remove the listing of the Chromium fallback platforms from the legend popup. The code iterated
2038         through the platforms in the g_fallbacksMap dictionary to construct this part of the legend, but the dictionary,
2039         while Chromium-specific, can't be removed just yet as there's more code that uses it.
2040
2041 2013-05-06  Darin Adler  <darin@apple.com>
2042
2043         Use adoptCF and adoptNS in more places, test code and code not compiled on Mac
2044         https://bugs.webkit.org/show_bug.cgi?id=115657
2045
2046         Reviewed by Sam Weinig.
2047
2048         This is similar to my last set of changes, but covers code that I missed with
2049         global replace using the Safari Xcode workspace.
2050
2051         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
2052         (convertWebResourceDataToString):
2053         (convertWebResourceResponseToDictionary):
2054         (createXMLStringFromWebArchiveData):
2055         * DumpRenderTree/cg/ImageDiffCG.cpp:
2056         (createImageFromStdin):
2057         (createDifferenceImage):
2058         (main):
2059         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2060         (printPNG):
2061         (dumpBitmap):
2062         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2063         (BitmapContext::BitmapContext):
2064         * DumpRenderTree/mac/MockWebNotificationProvider.mm:
2065         (-[MockWebNotificationProvider init]):
2066         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2067         (createBitmapContext):
2068         * DumpRenderTree/mac/TestRunnerMac.mm:
2069         (TestRunner::addDisallowedURL):
2070         (TestRunner::applicationCacheDiskUsageForOrigin):
2071         (TestRunner::localStorageDiskUsageForOrigin):
2072         (TestRunner::clearApplicationCacheForOrigin):
2073         (TestRunner::deleteLocalStorageForOrigin):
2074         (TestRunner::copyDecodedHostName):
2075         (TestRunner::copyEncodedHostName):
2076         (TestRunner::queueLoad):
2077         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
2078         (TestRunner::setMockGeolocationPositionUnavailableError):
2079         (TestRunner::setUserStyleSheetLocation):
2080         (TestRunner::setValueForUser):
2081         (TestRunner::overridePreference):
2082         (TestRunner::setPersistentUserStyleSheetLocation):
2083         (TestRunner::execCommand):
2084         (TestRunner::findString):
2085         (TestRunner::isCommandEnabled):
2086         (TestRunner::addOriginAccessWhitelistEntry):
2087         (TestRunner::removeOriginAccessWhitelistEntry):
2088         (TestRunner::addUserScript):
2089         (TestRunner::addUserStyleSheet):
2090         (TestRunner::evaluateInWebInspector):
2091         (TestRunner::evaluateScriptInIsolatedWorld):
2092         (TestRunner::apiTestNewWindowDataLoadBaseURL):
2093         (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]):
2094         (TestRunner::authenticateSession):
2095         (TestRunner::grantWebNotificationPermission):
2096         (TestRunner::denyWebNotificationPermission):
2097         * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
2098         (createCFURLResponseFromResponseData):
2099         * DumpRenderTree/mac/WorkQueueItemMac.mm:
2100         (LoadItem::invoke):
2101         (LoadHTMLStringItem::invoke):
2102         (ScriptItem::invoke):
2103         * DumpRenderTree/win/DumpRenderTree.cpp:
2104         (substringFromIndex):
2105         (urlSuitableForTestResult):
2106         (lastPathComponent):
2107         (sharedCFURLCache):
2108         * DumpRenderTree/win/ImageDiffCairo.cpp:
2109         (createImageFromStdin):
2110         (main):
2111         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2112         (createBitmapContextFromWebView):
2113         * DumpRenderTree/win/TestRunnerWin.cpp:
2114         (TestRunner::setUserStyleSheetLocation):
2115         (TestRunner::setPersistentUserStyleSheetLocation):
2116         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
2117         (TestWebKitAPI::TEST):
2118         * TestWebKitAPI/Tests/TestWebKitAPI/mac/InstanceMethodSwizzler.mm:
2119         (TestWebKitAPI::TEST):
2120         * TestWebKitAPI/Tests/WTF/cf/RetainPtrHashing.cpp:
2121         (TestWebKitAPI::TEST):
2122         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
2123         (TestWebKitAPI::TEST):
2124         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
2125         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
2126         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm:
2127         (TestWebKitAPI::createWindow):
2128         (TestWebKitAPI::TEST):
2129         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
2130         (TestWebKitAPI::TEST):
2131         * TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm:
2132         (TestWebKitAPI::AcceptsFirstMouse::runTest):
2133         * TestWebKitAPI/Tests/mac/AttributedString.mm:
2134         (TestWebKitAPI::TEST):
2135         * TestWebKitAPI/Tests/mac/BackForwardList.mm:
2136         (TestWebKitAPI::TEST):
2137         * TestWebKitAPI/Tests/mac/CancelLoadFromResourceLoadDelegate.mm:
2138         (TestWebKitAPI::TEST):
2139         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.mm:
2140         (TestWebKitAPI::TEST):
2141         * TestWebKitAPI/Tests/mac/DOMHTMLTableCellCellAbove.mm:
2142         (TestWebKitAPI::TEST):
2143         * TestWebKitAPI/Tests/mac/DOMRangeOfString.mm:
2144         (TestWebKitAPI::TEST):
2145         * TestWebKitAPI/Tests/mac/DeviceScaleFactorInDashboardRegions.mm:
2146         (TestWebKitAPI::TEST):
2147         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
2148         (TestWebKitAPI::DeviceScaleFactorOnBack::createWindow):
2149         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
2150         (TestWebKitAPI::DynamicDeviceScaleFactor::createWindow):
2151         * TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm:
2152         (TestWebKitAPI::TEST):
2153         * TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm:
2154         (TestWebKitAPI::TEST):
2155         * TestWebKitAPI/Tests/mac/InspectorBar.mm:
2156         (TestWebKitAPI::TEST):
2157         * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.mm:
2158         (TestWebKitAPI::TEST):
2159         * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm:
2160         (TestWebKitAPI::TEST):
2161         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2162         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::runTest):
2163         * TestWebKitAPI/Tests/mac/RenderedImageFromDOMRange.mm:
2164         (TestWebKitAPI::TEST):
2165         * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm:
2166         (TestWebKitAPI::TEST):
2167         * TestWebKitAPI/Tests/mac/SetDocumentURI.mm:
2168         (TestWebKitAPI::TEST):
2169         * TestWebKitAPI/Tests/mac/SimplifyMarkup.mm:
2170         (TestWebKitAPI::TEST):
2171         * TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm:
2172         (TestWebKitAPI::TEST):
2173         * TestWebKitAPI/Tests/mac/WillSendSubmitEvent.mm:
2174         (TestWebKitAPI::TEST):
2175         * TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.mm:
2176         (TestWebKitAPI::TEST):
2177         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
2178         (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
2179         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
2180         (TestWebKitAPI::WebKitAgnosticTest::runWebKit1Test):
2181         (TestWebKitAPI::WebKitAgnosticTest::runWebKit2Test):
2182         * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
2183         (WTR::testPathFromURL):
2184         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
2185         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2186         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2187         (WTR::createCGContextFromImage):
2188         (WTR::dumpBitmap):
2189         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2190         * WebKitTestRunner/mac/EventSenderProxy.mm:
2191         (WTR::EventSenderProxy::mouseScrollBy):
2192         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2193         (WTR::PlatformWebView::windowSnapshotImage):
2194         * WebKitTestRunner/win/TestControllerWin.cpp:
2195         (WTR::TestController::initializeTestPluginDirectory):
2196         Use adoptCF and adoptNS.
2197
2198 2013-05-07  Alex Christensen  <achristensen@apple.com>
2199
2200         Fix a memory leak introduced in r149692
2201         https://bugs.webkit.org/show_bug.cgi?id=115766
2202
2203         Reviewed by Mark Rowe.
2204
2205         In r149692, the fix for <http://webkit.org/b/42324>, a call to WKBundleFrameCopyWebArchive was added without any 
2206         matching call to WKRelease. An earlier attempted fix in r149697 introduced a RetainPtr but failed to adopt the object.
2207
2208         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2209         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
2210         Fix the memory leak by switching to WKRetainPtr and adopting the returned object.
2211
2212 2013-05-07  Darin Adler  <darin@apple.com>
2213
2214         [Win] Fix storage leak in Windows DumpRenderTree
2215         https://bugs.webkit.org/show_bug.cgi?id=115651
2216
2217         Reviewed by Sam Weinig.
2218
2219         * DumpRenderTree/win/DumpRenderTree.cpp:
2220         (lastPathComponent): Added a missing call to adoptCF.
2221
2222 2013-05-07  Alex Christensen  <achristensen@apple.com>
2223
2224         fixed a memory leak introduced by bug 42324 by using a RetainPtr
2225         https://bugs.webkit.org/show_bug.cgi?id=115760
2226
2227         Reviewed by Tim Horton.
2228
2229         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2230         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
2231         fixed memory leak, added UNUSED_PARAM macros
2232
2233 2013-05-07  Alex Christensen  <achristensen@apple.com>
2234
2235         WebKitTestRunner needs testRunner.dumpDOMAsWebArchive
2236         https://bugs.webkit.org/show_bug.cgi?id=42324
2237         <rdar://problem/8193633>
2238
2239         Reviewed by Tim Horton.
2240
2241         * Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2242         Added dumpDOMAsWebArchive JavaScript function to be called by test cases.
2243         * Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2244         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
2245         Added dumpDOMAsWebArchive code that is called when dumping.        
2246         (WTR::InjectedBundlePage::dump):
2247         Made DOMAsWebArchive case when dumping call dumpDOMAsWebArchive.
2248         * Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
2249         (InjectedBundlePage):
2250         Added dumpDOMAsWebArchive declaration.
2251         * Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:
2252         (WTR::TestRunner::dumpDOMAsWebArchive):
2253         Added dumpDOMAsWebArchive JS callback function that sets m_whatToDump to DOMAsWebArchive.
2254         * Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2255         Added WebArchiveDumpSupport.cpp, WebArchiveDumpSupport.h, WebArchiveDumpSupportMac.mm to project.
2256         * Tools/WebKitTestRunner/cf: Added.
2257         * Tools/WebKitTestRunner/cf/WebArchiveDumpSupport.cpp: Added.
2258         Copied from Tools/DumpRenderTree/cf for createXMLStringFromWebArchiveData and other functions it uses.
2259         (convertMIMEType):
2260         (convertWebResourceDataToString):
2261         (normalizeHTTPResponseHeaderFields):
2262         (normalizeWebResourceURL):
2263         (convertWebResourceResponseToDictionary):
2264         (compareResourceURLs):
2265         (createXMLStringFromWebArchiveData):
2266         * Tools/WebKitTestRunner/cf/WebArchiveDumpSupport.h: Added.
2267         Copied from Tools/DumpRenderTree/cf for used symbol declarations.
2268         * Tools/WebKitTestRunner/mac/WebArchiveDumpSupportMac.mm: Added.
2269         Copied from Tools/DumpRenderTree/mac for used functions.
2270         (createCFURLResponseFromResponseData):
2271         (supportedNonImageMIMETypes):
2272
2273 2013-05-07  Alex Christensen  <achristensen@apple.com>
2274
2275         Updated style of WebArchiveDumpSupport before putting it into WebKitTestRunner.
2276         https://bugs.webkit.org/show_bug.cgi?id=115745
2277
2278         Reviewed by Tim Horton.
2279
2280         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
2281         (compareResourceURLs):
2282         Updated style.
2283
2284 2013-05-06  Ryosuke Niwa  <rniwa@webkit.org>
2285
2286         Add an 'isReadOnly' member to IDL parse tree structure
2287         https://bugs.webkit.org/show_bug.cgi?id=115704
2288
2289         Reviewed by Kentaro Hara.
2290
2291         Use newly added isReadOnly attribute.
2292
2293         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2294         (_generateHeaderFile):
2295         (_generateImplementationFile):
2296         (_staticValuesGetterImplementation):
2297
2298 2013-05-07  Anders Carlsson  <andersca@apple.com>
2299
2300         Remove AlwaysInline.h from WTF
2301         https://bugs.webkit.org/show_bug.cgi?id=115727
2302
2303         Reviewed by Brent Fulgham.
2304
2305         The macro that used to be in AlwaysInline.h is now in Compiler.h so there's no reason
2306         to keep AlwaysInline.h around anymore.
2307
2308         * DumpRenderTree/qt/DumpRenderTreeMain.cpp:
2309         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
2310
2311 2013-05-07  Andras Becsi  <andras.becsi@digia.com>
2312
2313         [Qt][WTR] QQuickWindowPrivate::setRenderWithoutShowing has been removed from Qt 5
2314         https://bugs.webkit.org/show_bug.cgi?id=114808
2315
2316         Reviewed by Jocelyn Turcotte.
2317
2318         QQuickWindow::grabWindow() has been implemented for isVisible=false for Qt 5.1.
2319         (https://codereview.qt-project.org/#change,54234)
2320
2321         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
2322         (WTR::WrapperWindow::handleStatusChanged):
2323
2324 2013-05-06  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2325
2326         Unreviewed. Add my email to EFL and BindingsScripts watchlists.
2327
2328         * Scripts/webkitpy/common/config/watchlist:
2329
2330 2013-05-06  Kangil Han  <kangil.han@samsung.com>
2331
2332         [EFL][WK1][PerformanceTests] Adopt --no-timeout option implementation to DumpRenderTree
2333         https://bugs.webkit.org/show_bug.cgi?id=115645
2334
2335         Reviewed by Gyuyoung Kim.
2336
2337         To run performance tests in wk1, we need --no-timeout option implementation.
2338         So adopt it from gtk+ port.
2339
2340         * DumpRenderTree/efl/DumpRenderTree.cpp:
2341         (shouldSetWaitToDumpWatchdog):
2342         (parseCommandLineOptions):
2343         * DumpRenderTree/efl/DumpRenderTreeEfl.h:
2344         * DumpRenderTree/efl/TestRunnerEfl.cpp:
2345         (TestRunner::setWaitToDump):
2346
2347 2013-05-06  Commit Queue  <commit-queue@webkit.org>
2348
2349         Unreviewed, rolling out r149547.
2350         http://trac.webkit.org/changeset/149547
2351         https://bugs.webkit.org/show_bug.cgi?id=115682
2352
2353         Added unittests that fail on bots and spits out text into
2354         stdout (Requested by rniwa on #webkit).
2355
2356         * Scripts/import-w3c-tests: Removed.
2357         * Scripts/webkitpy/w3c/__init__.py: Removed.
2358         * Scripts/webkitpy/w3c/test_converter.py: Removed.
2359         * Scripts/webkitpy/w3c/test_converter_unittest.py: Removed.
2360         * Scripts/webkitpy/w3c/test_importer.py: Removed.
2361         * Scripts/webkitpy/w3c/test_importer_unittest.py: Removed.
2362         * Scripts/webkitpy/w3c/test_parser.py: Removed.
2363         * Scripts/webkitpy/w3c/test_parser_unittest.py: Removed.
2364
2365 2013-05-03  Gustavo Noronha Silva  <gns@gnome.org>
2366
2367         [jhbuild] bump jhbuild version to take advantage of new improvements
2368         https://bugs.webkit.org/show_bug.cgi?id=115558
2369
2370         Reviewed by Martin Robinson.
2371
2372         One of the important improvements is jhbuild no longer fetches git
2373         repositories if they are already at the expected revision, which should
2374         make the EWS bots more robust to git servers unavailability.
2375
2376         * jhbuild/jhbuild-wrapper: bump jhbuild to 496974221c3a8ac4fbbc3b0a577c71cac224130d.
2377
2378 2013-05-06  Manuel Rego Casasnovas  <rego@igalia.com>
2379
2380         [GTK] Add webkit_uri_scheme_request_finish_error
2381         https://bugs.webkit.org/show_bug.cgi?id=94316
2382
2383         Reviewed by Anders Carlsson.
2384
2385         * MiniBrowser/gtk/main.c:
2386         (miniBrowserErrorQuark): Add function to create a global quark for
2387         MiniBrowser.
2388         (aboutURISchemeRequestCallback): Update MiniBrowser to use the new
2389         function webkit_uri_scheme_request_finish_error().
2390
2391 2013-05-06  Mike Lattanzio  <mlattanzio@blackberry.com>
2392
2393         [BlackBerry] Enable and Expose Text Autosizing through BlackBerry::WebKit::WebSettings
2394         https://bugs.webkit.org/show_bug.cgi?id=113808
2395
2396         Reviewed by Rob Buis.
2397
2398         Modify FeatureList.pm and set ENABLE_TEXT_AUTOSIZING to default
2399         to true for BlackBerry.
2400
2401         * Scripts/webkitperl/FeatureList.pm:
2402
2403 2013-05-06  Jessie Berlin  <jberlin@apple.com>
2404
2405         check-webkit-style should complain about a layering violation if platform-specific guards are
2406         used in WebCore outside of the platform directory
2407         https://bugs.webkit.org/show_bug.cgi?id=115567
2408
2409         Reviewed by Benjamin Poulain.
2410
2411         * Scripts/webkitpy/style/checkers/cpp.py:
2412         (check_for_webcore_platform_layering_violation):
2413         If the file is in WebCore but not in platform and contains #if PLATFORM(SOMETHING), emit an error.
2414         (process_line):
2415         Add the check_for_webcore_platform_layering_violation.
2416         (CppChecker):
2417         List the new check.
2418
2419         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2420         (CppStyleTest.test_webcore_platform_layering_violation):
2421         Add tests.
2422
2423 2013-05-06  David Kilzer  <ddkilzer@apple.com>
2424
2425         webkit-patch: fix 'upload' command with Bugzilla 4.2.5
2426         <http://webkit.org/b/115667>
2427
2428         Reviewed by Dirk Pranke.
2429
2430         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2431         (Bugzilla._check_create_bug_response): Update regex to work with
2432         Bugzilla 3.2.3 and 4.2.5.
2433         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
2434         (test__check_create_bug_response): Add new test that covers both
2435         old and new <title> variations.
2436
2437 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
2438
2439         [Flakiness Dashboard] Stop decoding SnowLeopard builder names into platforms
2440         https://bugs.webkit.org/show_bug.cgi?id=115661
2441
2442         Reviewed by Ryosuke Niwa.
2443
2444         The Apple Mac Snow Leopard builders are no long present so there's no need to try to decode such
2445         builders into the APPLE_MAC_SNOW_LEOPARD platforms. Instead, check for the Mountain Lion builders
2446         and decode their names into the APPLE_MAC_MOUNTAIN_LION platforms.
2447
2448         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2449         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2450
2451 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
2452
2453         [Flakiness Dashboard] Remove everything Chromium from the builders.json-generating script
2454         https://bugs.webkit.org/show_bug.cgi?id=114603
2455
2456         Reviewed by Ryosuke Niwa.
2457
2458         * TestResultServer/generate_builders_json.py:
2459         (insert_builder_and_test_data): Only process the 'layout-tests' steps, but force the name that's used
2460         to represent these to be 'layout-test', for backwards compatibility.
2461         (main): Remove all the build.chromium.org masters.
2462         * TestResultServer/generate_builders_json_unittest.py: Clean up the Chromium-related test cases and update other ones.
2463         (GenerateBuildersJsonTest.test_generate_json_data.dummy_fetch_json):
2464         (GenerateBuildersJsonTest):
2465         (GenerateBuildersJsonTest.test_generate_json_data):
2466         * TestResultServer/static-dashboards/builders.jsonp: Updated after changes to the script, now only lists the
2467         test-running builders from the webkit.org master.
2468
2469 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
2470
2471         [Flakiness Dashboard] Update expected outcome in a couple of unit tests after r148778
2472         https://bugs.webkit.org/show_bug.cgi?id=114988
2473
2474         Reviewed by Ryosuke Niwa.
2475
2476         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: Update the expected platforms list, the Chromium
2477         and Apple Mac Snow Leopard platforms were removed with the Apple Mac Mountain Lion platform being added.
2478         * TestResultServer/static-dashboards/loader_unittests.js: Update the list of the expected loaded expectations platforms,
2479         mac-snowleopard isn't loaded anymore due to the support for the platform being removed, while the mac-wk2 is loaded twice,
2480         once for the Apple Mac Lion and once for the Apple Mac Mountain Lion platform.
2481
2482 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
2483
2484         [Flakiness Dashboard] Remove the remaining traces of platform modifier unions
2485         https://bugs.webkit.org/show_bug.cgi?id=114954
2486
2487         Reviewed by Ryosuke Niwa.
2488
2489         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2490         (processExpectationsForPlatform): Remove the platform tree traversal that checked for presence of the platform
2491         modifier unions in the list of modifiers.
2492         (generatePageForExpectationsUpdate): Only filter through the modifiers that do not represent build types or bug references.
2493         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: Adjust the test cases for the realModifiers unit test.
2494
2495 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
2496
2497         [Flakiness Dashboard] Simplify builder-name-based platform recognition
2498         https://bugs.webkit.org/show_bug.cgi?id=114957
2499
2500         Reviewed by Ryosuke Niwa.
2501
2502         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2503         (determineBuilderPlatform): Renamed from nonChromiumPlatform.
2504         (chromiumPlatform): Removed, unnecessary.
2505         (platformAndBuildType): With Chromium builders are gone, meaning determineBuilderPlatform can be called by default
2506         to determine the platform of the builder. No need to check for 'DBG' substring in the builder name to determine whether
2507         the builder operates with debug builds, no webkit.org builders are named this way.
2508         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2509         (platformAndBuildTypes): Remove Chromium-specific test cases, reducing the number of expected assertions this test will make.
2510
2511 2013-05-06  Andy Estes  <aestes@apple.com>
2512
2513         Added two files I neglected to commit in r149589.
2514
2515         * TestWebKitAPI/Tests/mac/CloseNewWindowInNavigationPolicyDelegate.mm: Added.
2516         * TestWebKitAPI/Tests/mac/OpenNewWindow.html: Added.
2517
2518 2013-05-04  Andy Estes  <aestes@apple.com>
2519
2520         REGRESSION (r125592): Reproducible crash in DOMWindow::open when a delegate closes the new window in decidePolicyForNavigationAction
2521         https://bugs.webkit.org/show_bug.cgi?id=115609
2522
2523         Reviewed by Oliver Hunt.
2524
2525         Added an API test.
2526
2527         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2528         * TestWebKitAPI/Tests/mac/CloseNewWindowInNavigationPolicyDelegate.mm: Added.
2529         (+[TestDelegate shared]):
2530         (-[TestDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2531         (-[TestDelegate webView:createWebViewWithRequest:]):
2532         (TestWebKitAPI):
2533         (TestWebKitAPI::TEST):
2534         * TestWebKitAPI/Tests/mac/OpenNewWindow.html: Added.
2535
2536 2013-05-06  Antoine Quint  <graouts@apple.com>
2537
2538         Manage the presentation of the snapshotted plug-in using JavaScript
2539         https://bugs.webkit.org/show_bug.cgi?id=115548
2540
2541         Reviewed by Dean Jackson.
2542
2543         Take into account the new plugInExtraScript method added to support
2544         the injection of a JS file from the chrome client to customize the
2545         rendering of a snapshotted plug-in's shadow tree.
2546
2547         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2548         (WTR::InjectedBundlePage::InjectedBundlePage):
2549
2550 2013-05-05  Anders Carlsson  <andersca@apple.com>
2551
2552         Remove the Vector::append overload that takes a Vector
2553         https://bugs.webkit.org/show_bug.cgi?id=115535
2554
2555         Reviewed by Andreas Kling.
2556
2557         Use Vector::appendVector instead.
2558
2559         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2560         (concatenateAttributeAndValue):
2561         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2562         (WTR::concatenateAttributeAndValue):
2563
2564 2013-05-04  Sam Weinig  <sam@webkit.org>
2565
2566         REGRESSION(r148312): Crash when calling WKPageClose(page) followed by WKPageTerminate(page)
2567         <rdar://problem/13702008>
2568         https://bugs.webkit.org/show_bug.cgi?id=115607
2569
2570         Reviewed by Benjamin Poulain.
2571
2572         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2573         * TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp: Added.
2574         (TestWebKitAPI::didFinishLoadForFrame):
2575         (TestWebKitAPI::TEST):
2576         Add test that calls WKPageClose, follow by WKPageTerminate. If it crashes, its not working.
2577
2578 2013-05-04  Zan Dobersek  <zdobersek@igalia.com>
2579
2580         Unreviewed.
2581
2582         * Scripts/webkitpy/common/config/contributors.json: Correcting my igalia.com email address.
2583
2584 2013-05-04  Mihnea Ovidenie  <mihnea@adobe.com>
2585
2586         Unreviewed. Adding Radu Stavila as an Adobe contributor, working on CSSRegions.
2587
2588         * Scripts/webkitpy/common/config/contributors.json:
2589
2590 2013-05-04  Zan Dobersek  <zdobersek@igalia.com>
2591
2592         [GTK] Catch select.error exceptions in parse_output_lines
2593         https://bugs.webkit.org/show_bug.cgi?id=115253
2594
2595         Reviewed by Gustavo Noronha Silva.
2596
2597         Catch any select.error exceptions when waiting for the file descriptor to become readable when parsing the
2598         output lines in common.parse_output_lines. These are currently being thrown when running the GTK unit tests on
2599         builders, but are not fatal. Because of that they are at the moment only logged (writing out the file descriptor,
2600         error code and the error message) and the loop is re-entered.
2601
2602         * gtk/common.py:
2603         (parse_output_lines):
2604
2605 2013-05-04  Zan Dobersek  <zdobersek@igalia.com>
2606
2607         [GTK] Set up the TestWebCore in TestWebKitAPI
2608         https://bugs.webkit.org/show_bug.cgi?id=115237
2609
2610         Reviewed by Gustavo Noronha Silva.
2611
2612         Set up the WebCore unit test program, consisting of the unit tests under the TestWebKitAPI/Tests/WebCore directory.
2613         Again the approach of specifying libtool libraries multiple times in the TestWebCore program's LDFLAGS is used as
2614         a workaround for the layer violations and circular dependencies between various static libraries. Linking against
2615         either libwebkitgtk or libwebkit2gtk shared libraries is avoided due to the unit tests covering WebCore, which
2616         shouldn't rely on neither of the two distributable libraries (hence the dirty workaround).
2617
2618         * TestWebKitAPI/GNUmakefile.am:
2619
2620 2013-05-03  Rebecca Hauck  <rhauck@adobe.com>
2621
2622         Create a script to import W3C tests
2623         https://bugs.webkit.org/show_bug.cgi?id=111513
2624
2625         Reviewed by Dirk Pranke.
2626
2627         Script to automate the import of W3C tests into WebKit. 
2628         For the full description of how it works, see the comments
2629         at the top of test_importer.py.
2630
2631         * Scripts/import-w3c-tests: Added.
2632         * Scripts/webkitpy/w3c/__init__.py: Added.
2633         * Scripts/webkitpy/w3c/test_converter.py: Added.
2634         (TestConverter):
2635         (TestConverter.__init__):
2636         (TestConverter.load_prefixed_prop_list):
2637         (TestConverter.load_file):
2638         (TestConverter.convert_for_webkit):
2639         (TestConverter.convert_testharness_paths):
2640         (TestConverter.convert_prefixed_properties):
2641         (TestConverter.scrub_unprefixed_props):
2642         (TestConverter.replace_tag):
2643         * Scripts/webkitpy/w3c/test_converter_unittest.py: Added.
2644         (TestConverterTest):
2645         (TestConverterTest.testLoadPrefixedPropList):
2646         (TestConverterTest.test_convertForWebkitNothingToConvert):
2647         (test_convertForWebkitHarnessOnly):
2648         (test_convertForWebkitPropsOnly):
2649         (test_convertForWebkitHarnessAndProps):
2650         (test_convertTestHarnessPaths):
2651         (test_convertPrefixedProperties):
2652         (verifyTestHarnessPaths):
2653         (verifyPrefixedProperties):
2654         (generateTestContent):
2655         * Scripts/webkitpy/w3c/test_importer.py: Added.
2656         (main):
2657         (parse_args):
2658         (validate_import_directory):
2659         (TestImporter):
2660         (TestImporter.__init__):
2661         (TestImporter.do_import):
2662         (TestImporter.get_changeset):
2663         (TestImporter.scan_source_directory):
2664         (TestImporter.import_tests):
2665         (TestImporter.setup_destination_directory):
2666         (TestImporter.get_test_status):
2667         (TestImporter.remove_deleted_files):
2668         (TestImporter.write_import_log):
2669         * Scripts/webkitpy/w3c/test_importer_unittest.py: Added.
2670         (TestImporterTest):
2671         (TestImporterTest.test_ImportDirWithNoTests):
2672         * Scripts/webkitpy/w3c/test_parser.py: Added.
2673         (TestParser):
2674         (TestParser.__init__):
2675         (TestParser.load_file):
2676         (TestParser.analyze_test):
2677         (TestParser.get_reftests):
2678         (TestParser.is_jstest):
2679         (TestParser.get_support_files):
2680         * Scripts/webkitpy/w3c/test_parser_unittest.py: Added.
2681         (TestParserTest):
2682         (TestParserTest.test_analyzeTestReftestOneMatch):
2683         (test_analyzeTestReftestMultipleMatches):
2684         (test_analyzeTestReftestMatchAndMismatch):
2685         (test_analyzeTestReftestWithRefSupportFiles):
2686         (test_analyzeJSTest):
2687         (test_analyzePixelTestAllTrue):
2688         (test_analyzePixelTestAllFalse):
2689         (test_analyzeNonHTMLFile):
2690
2691 2013-05-03  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2692
2693         Unreviewed. Update Viatcheslav Ostapenko's email in contributors.json.
2694
2695         * Scripts/webkitpy/common/config/contributors.json:
2696
2697 2013-05-02  Nico Weber  <thakis@chromium.org>
2698
2699         Remove a stale script file.
2700         https://bugs.webkit.org/show_bug.cgi?id=115521
2701
2702         Reviewed by Anders Carlsson.
2703
2704         This script was added in
2705         https://bugs.webkit.org/show_bug.cgi?id=17507, but it relies on the
2706         Bakefile system that was removed in
2707         https://bugs.webkit.org/show_bug.cgi?id=49983 . As a result, this
2708         script just asserts when it's run and is useless.
2709
2710         * Scripts/update-sources-list.py: Removed.
2711
2712 2013-05-01  Glenn Adams  <glenn@skynav.com>
2713
2714         [webkitpy] Need abstract base class for commands that analyze commit logs
2715         https://bugs.webkit.org/show_bug.cgi?id=115391
2716
2717         Reviewed by Benjamin Poulain.
2718
2719         Move commit log parsing functions into new abstract base class AbstractCommitLogCommand
2720         in preparation for adding two new commands that will reuse this functionality along with
2721         suggest-nominations. See https://bugs.webkit.org/show_bug.cgi?id=115387 and
2722         https://bugs.webkit.org/show_bug.cgi?id=115388.
2723
2724         No new tests as this patch does not change existing functionality or behavior.
2725
2726         * Scripts/webkitpy/tool/commands/suggestnominations.py:
2727         (AbstractCommitLogCommand): Add abstract base class for commands that analyze commit logs.
2728         (AbstractCommitLogCommand.__init__):
2729         (AbstractCommitLogCommand._init_options):
2730         (AbstractCommitLogCommand._parse_commit_message):
2731         (SuggestNominations): Move generic commit log parsing into new base class. Use new base class.
2732         (SuggestNominations.__init__): 
2733         (SuggestNominations._init_options):
2734
2735 2013-05-01  Seokju Kwon  <seokju.kwon@gmail.com>
2736
2737         Web Inspector: Fix check-inspector-strings script and fix localized strings
2738         https://bugs.webkit.org/show_bug.cgi?id=115495
2739
2740         Reviewed by Joseph Pecoraro.
2741
2742         * Scripts/check-inspector-strings:
2743
2744 2013-05-01  Zan Dobersek  <zdobersek@igalia.com>
2745
2746         [TestWebKitAPI] <WebKit2/WebKit2_C.h> being included in GTK WK1-only builds
2747         https://bugs.webkit.org/show_bug.cgi?id=115470
2748
2749         Reviewed by Martin Robinson.
2750
2751         In the TestWebKitAPI's config.h header, only include the <WebKit2/WebKit2_C.h> header when
2752         not building either of the IOS, Windows or GTK-WK1 platforms.
2753
2754         Up until now the header was included for everything but the IOS and Windows platforms due to
2755         an incorrectly stated condition regarding the GTK platform.
2756
2757         * TestWebKitAPI/config.h:
2758
2759 2013-05-01  Zan Dobersek  <zdobersek@igalia.com>
2760
2761         [GTK] Split the forwarding headers stamp in the TestWebKitAPI GNUmakefile.am
2762         https://bugs.webkit.org/show_bug.cgi?id=115469
2763
2764         Reviewed by Martin Robinson.
2765
2766         Split the stamp-testwebkitapi-forwarding-headers into two stamps, one covering forwarding headers
2767         for the WebCore tests (under the Tests/WebCore directory) and the other covering forwarding headers
2768         for the WebKit2 tests and the injected bundle required by them.
2769
2770         This makes it possible for the WebCore tests to compile when the WebKit2 build is disabled, i.e. the WebCore
2771         tests shouldn't depend on the WebKit2 build (though the forwarding headers generation script is stored
2772         under the WebKit2 code).
2773
2774         The WebCore forwarding headers are generated by scanning only the files under the Tests/WebCore directory,
2775         while the WebKit2 forwarding headers generation should keep on scanning the complete root directory of the
2776         TestWebKitAPI subproject, though the target directory should be narrowed down if at all possible.
2777
2778         * TestWebKitAPI/GNUmakefile.am:
2779
2780 2013-04-30  Glenn Adams  <glenn@skynav.com>
2781
2782         Unreviewed. Add myself to watchlist entries.
2783
2784         * Scripts/webkitpy/common/config/watchlist:
2785
2786 2013-04-30  Glenn Adams  <glenn@skynav.com>
2787
2788         [webkitpy] suggest-nominations doesn't count all qualified patches
2789         https://bugs.webkit.org/show_bug.cgi?id=115285
2790
2791         Reviewed by Benjamin Poulain.
2792
2793         Fix commit analysis so that patches made by an existing committer are counted towards reviewer
2794         nomination. Improve commit log parsing.
2795
2796         * Scripts/webkitpy/tool/commands/suggestnominations.py:
2797         (CommitLogError):
2798         (CommitLogError.__init__):
2799         (CommitLogMissingReviewer):
2800         (CommitLogMissingReviewer.__init__):
2801         (SuggestNominations):
2802         (SuggestNominations.__init__):
2803         (SuggestNominations._recent_commit_messages):
2804         (SuggestNominations._author_name_from_email):
2805         (SuggestNominations._contributor_from_email):
2806         (SuggestNominations._parse_commit_message):
2807         (SuggestNominations._count_commit):
2808         (SuggestNominations._count_recent_patches):
2809         (SuggestNominations._collect_nominations):
2810         (SuggestNominations._print_nominations):
2811         (SuggestNominations.execute):
2812         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
2813         (_make_options):
2814         (test_recent_commit_messages):
2815         (test_basic):
2816
2817 2013-04-30  Commit Queue  <rniwa@webkit.org>
2818
2819         Unreviewed, rolling out r149309.
2820         http://trac.webkit.org/changeset/149309
2821         https://bugs.webkit.org/show_bug.cgi?id=115430
2822
2823         The patch does not build on WK1-only builds of the GTK port
2824         (Requested by zdobersek on #webkit).
2825
2826         * TestWebKitAPI/GNUmakefile.am:
2827
2828 2013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2829
2830         Stop using "in" keyword in IDL files
2831         https://bugs.webkit.org/show_bug.cgi?id=115418
2832
2833         Reviewed by Kentaro Hara.
2834
2835         Remove "in" keyword from IDL files as this is no longer part of the Web
2836         IDL specification.
2837
2838         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
2839         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
2840         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
2841         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2842         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2843         * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
2844         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2845         * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
2846
2847 2013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2848
2849         [EFL] Enable scaled cursors
2850         https://bugs.webkit.org/show_bug.cgi?id=106242
2851
2852         Reviewed by Gyuyoung Kim.
2853
2854         Enable ENABLE_MOUSE_CURSOR_SCALE for EFL port.
2855
2856         * Scripts/webkitperl/FeatureList.pm:
2857
2858 2013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2859
2860         Replace "Optional" extended attribute by proper Web IDL "optional" keyword
2861         https://bugs.webkit.org/show_bug.cgi?id=115380
2862
2863         Reviewed by Kentaro Hara.
2864
2865         Replace WebKit-specific [Optional] extended attribute by Web IDL "optional"
2866         keyword.
2867
2868         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2869         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2870
2871 2013-04-30  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
2872
2873         Fix the USE(3D_GRAPHICS) build with the standard OpenGL on Windows
2874         https://bugs.webkit.org/show_bug.cgi?id=114684
2875
2876         Reviewed by Simon Hausmann.
2877
2878         Remove the ANGLE requirement for USE(3D_GRAPHICS).
2879         This enables WebKit2 in the build when using a "-opengl desktop" configured Qt.
2880
2881         * qmake/mkspecs/features/features.prf:
2882
2883 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
2884
2885         [GTK] Disable Shadow DOM feature
2886         https://bugs.webkit.org/show_bug.cgi?id=115374
2887
2888         Reviewed by Martin Robinson.
2889
2890         Disable the Shadow DOM feature on the GTK port, the feature is planned for removal.
2891
2892         * Scripts/webkitperl/FeatureList.pm:
2893
2894 2013-04-29  Glenn Adams  <glenn@skynav.com>
2895
2896         [webkitpy] Add missing contributor email addresses
2897         https://bugs.webkit.org/show_bug.cgi?id=115394
2898
2899         Reviewed by Ryosuke Niwa.
2900
2901         * Scripts/webkitpy/common/config/contributors.json:
2902
2903 2013-04-29  Alberto Garcia  <agarcia@igalia.com>
2904
2905         Remove all remaining Skia code
2906         https://bugs.webkit.org/show_bug.cgi?id=115263
2907
2908         Reviewed by Benjamin Poulain.
2909
2910         Remove all remaining references to Skia.
2911
2912         * Scripts/webkitdirs.pm:
2913         (blackberryCMakeArguments):
2914         * Scripts/webkitpy/common/config/contributionareas.py:
2915         * Scripts/webkitpy/common/config/watchlist:
2916
2917 2013-04-29  Seokju Kwon  <seokju.kwon@gmail.com>
2918
2919         Get rid of unused options in Tools/Scripts/webkit-build-directory
2920         https://bugs.webkit.org/show_bug.cgi?id=115383
2921
2922         Reviewed by Darin Adler.
2923
2924         * Scripts/webkit-build-directory:
2925
2926 2013-04-29  Alexey Proskuryakov  <ap@apple.com>
2927
2928         [WK2][Mac] Test with NetworkProcess enabled.
2929
2930         Fix the build for non-Mac.
2931
2932         * WebKitTestRunner/TestController.cpp:
2933         (WTR::TestController::initialize):
2934
2935 2013-04-29  Alexey Proskuryakov  <ap@apple.com>
2936
2937         [WK2][Mac] Test with NetworkProcess enabled.
2938
2939         Reviewed by Sam Weinig.
2940
2941         * WebKitTestRunner/TestController.cpp:
2942         (WTR::TestController::initialize):
2943
2944 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
2945
2946         [GTK] Set up the TestWebCore in TestWebKitAPI
2947         https://bugs.webkit.org/show_bug.cgi?id=115237
2948
2949         Reviewed by Gustavo Noronha Silva.
2950
2951         Set up the WebCore unit test program, consisting of the unit tests under the TestWebKitAPI/Tests/WebCore directory.
2952         Again the approach of specifying libtool libraries multiple times in the TestWebCore program's LDFLAGS is used as
2953         a workaround for the layer violations and circular dependencies between various static libraries. Linking against
2954         either libwebkitgtk or libwebkit2gtk shared libraries is avoided due to the unit tests covering WebCore, which
2955         shouldn't rely on neither of the two distributable libraries (hence the dirty workaround).
2956
2957         * TestWebKitAPI/GNUmakefile.am:
2958
2959 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
2960
2961         [GTK] Set up the TestJavaScriptCore in TestWebKitAPI
2962         https://bugs.webkit.org/show_bug.cgi?id=115236
2963
2964         Reviewed by Gustavo Noronha Silva.
2965
2966         Set up the TestJavaScriptCore unit test program, consisting of the unit tests
2967         under the TestWebKitAPI/Tests/JavaScriptCore directory.
2968
2969         * TestWebKitAPI/GNUmakefile.am:
2970
2971 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
2972
2973         [GTK] Export the COLLECT_NO_DEMANGLE variable on the builders
2974         https://bugs.webkit.org/show_bug.cgi?id=115323
2975
2976         Reviewed by Philippe Normand.
2977
2978         Export the COLLECT_NO_DEMANGLE environment variable on the GTK BuildBot builders.
2979         Its presence enforces linkers to output mangled symbols when reporting linking failures
2980         due to unresolved references. People trying to fix the build can then simply copy
2981         the printed mangled symbol into the symbols.filter file instead of doing a manual build
2982         or connecting to the builders to discover the mangled version of the missing symbol.
2983
2984         * BuildSlaveSupport/gtk/daemontools-buildbot.conf:
2985
2986 2013-04-28  Zan Dobersek  <zdobersek@igalia.com>
2987
2988         Remove Chromium code from Tools/BuildSlaveSupport
2989         https://bugs.webkit.org/show_bug.cgi?id=115325
2990
2991         Reviewed by Benjamin Poulain.
2992
2993         Remove the two Chromium-specific scripts and the Chromium-specific parts from the code
2994         covering archiving test results and built products.
2995
2996         * BuildSlaveSupport/built-product-archive:
2997         (archiveBuiltProduct):
2998         (extractBuiltProduct):
2999         * BuildSlaveSupport/chromium/output-android-device-status: Removed.
3000         * BuildSlaveSupport/chromium/remove-crash-logs: Removed.
3001         * BuildSlaveSupport/test-result-archive:
3002         (archiveTestResults):
3003
3004 2013-04-28  Seokju Kwon  <seokju.kwon@gmail.com>
3005
3006         Remove support for Chromium from webkitdirs.pm
3007         https://bugs.webkit.org/show_bug.cgi?id=115338
3008
3009         Reviewed by Darin Adler.
3010
3011         * Scripts/webkitdirs.pm:
3012         (determineBaseProductDir):
3013         (argumentsForConfiguration):
3014         (builtDylibPathForName):
3015         (determineIsQt):
3016         (isAppleWebKit):
3017
3018 2013-04-28  Zan Dobersek  <zdobersek@igalia.com>
3019
3020         Rename TestRunner's setAudioData to setAudioResult
3021         https://bugs.webkit.org/show_bug.cgi?id=115326
3022
3023         Reviewed by Darin Adler.
3024
3025         Rename the TestRunner's setAudioData method to setAudioResult. The new name better conveys the method's purpose
3026         than the previous one. The change is a simple rename, there's no change in the method's functionality. The
3027         affected tests are adjusted accordingly.
3028
3029         * DumpRenderTree/qt/TestRunnerQt.cpp:
3030         (TestRunnerQt::setAudioResult):
3031         * DumpRenderTree/qt/TestRunnerQt.h:
3032         (TestRunnerQt):
3033         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3034         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3035         (WTR::TestRunner::setAudioResult):
3036         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3037         (TestRunner):
3038
3039 2013-04-28  Zan Dobersek  <zdobersek@igalia.com>
3040
3041         [WKTR] Tests dumping audio data shouldn't dump pixels
3042         https://bugs.webkit.org/show_bug.cgi?id=115270
3043
3044         Reviewed by Benjamin Poulain.
3045
3046         Prevent dumping the pixel output when Web Audio tests are dumping output data
3047         as the testing output. Pixel output in these tests has no real meaning and is
3048         as such unnecessary.
3049
3050         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3051         (WTR::TestRunner::setAudioData):
3052
3053 2013-04-27  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
3054
3055         [EFL] Unreviewed Intel bots fix after r149231.
3056
3057         * efl/jhbuild.modules: Disable the libxml Python bindings since the
3058         bots don't have Python's development files installed. libxml should
3059         detect this kind of thing better.
3060
3061 2013-04-26  Ryuan Choi  <ryuan.choi@samsung.com>
3062
3063         [EFL] Build break using jhbuild on ubuntu 13.04
3064         https://bugs.webkit.org/show_bug.cgi?id=115225
3065
3066         Reviewed by Gyuyoung Kim.
3067
3068         libxslt in Ubuntu 13.04 requires libxml 2.9.0 or higher and
3069         libxml 2.9.0 has a bug to make regression which r138422 mentioned.
3070         So this patch bumped libxml version to 2.9.1.
3071
3072         * efl/jhbuild.modules:
3073
3074 2013-04-26  Jeffrey Pfau  <jpfau@apple.com>
3075
3076         delete-stale-build-files does not clear .d files
3077         http://bugs.webkit.org/show_bug.cgi?id=115293
3078
3079         Reviewed by Ryosuke Niwa.
3080
3081         * BuildSlaveSupport/delete-stale-build-files:
3082         (main): Add .d to the file type list
3083
3084 2013-04-26  Roger Fong  <roger_fong@apple.com>
3085
3086         Make Apple Windows VS2010 build results into and get dependencies from __32 suffixed folders.
3087         Make the DebugSuffix configuration use _debug dependencies.
3088
3089         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
3090         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeApple.props:
3091         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
3092         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebug.props:
3093         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebugWinCairo.props:
3094         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
3095         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherCommon.props:
3096         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherDebug.props:
3097         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherProduction.props:
3098         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherRelease.props:
3099         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePostBuild.cmd:
3100         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeProduction.props:
3101         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeRelease.props:
3102         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeReleaseWinCairo.props:
3103         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
3104         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommon.props:
3105         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebug.props:
3106         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebugWinCairo.props:
3107         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
3108         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherCommon.props:
3109         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherDebug.props:
3110         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherProduction.props:
3111         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherRelease.props:
3112         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffProduction.props:
3113         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffRelease.props:
3114         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffReleaseWinCairo.props:
3115         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def:
3116         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
3117         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters:
3118         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props:
3119         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginDebug.props:
3120         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginProduction.props:
3121         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginRelease.props:
3122         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin_debug.def: Removed.
3123         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3124         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:
3125         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props:
3126         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebug.props:
3127         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebugWinCairo.props:
3128         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIProduction.props:
3129         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIRelease.props:
3130         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIReleaseWinCairo.props:
3131         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
3132         * WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props:
3133         * WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props:
3134         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3135         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props:
3136         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props:
3137         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props:
3138         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props:
3139         * WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props:
3140         * WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props:
3141         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
3142         * win/AssembleBuildLogs/AssembleLogs.cmd:
3143         * win/record-memory/record-memory.vcxproj:
3144         * win/record-memory/record-memoryDebug.props:
3145         * win/record-memory/record-memoryDebugWinCairo.props:
3146         * win/record-memory/record-memoryProduction.props:
3147         * win/record-memory/record-memoryRelease.props:
3148         * win/record-memory/record-memoryReleaseWinCairo.props:
3149
3150 2013-04-26  Zan Dobersek  <zdobersek@igalia.com>
3151
3152         [GTK] Clean up the TestWebKitAPI GNUmakefile.am
3153         https://bugs.webkit.org/show_bug.cgi?id=115233
3154
3155         Reviewed by Martin Robinson.
3156
3157         Specify unconditional, non-installable program targets in one declaration. Only conditionally specify
3158         WebKit2-specific targets, not the complete target setups (i.e. targets' sources, cppflags listings etc.).
3159         Add missing unit test source files to the TestWTF program, namely HashSet.cpp and MetaAllocator.cpp.
3160         Specify the TestWTF program's CXXFLAGS to be the same as the global cxxflags as the source files need to
3161         be compiled with the -fno-rtti flag that's present in the global_cxxflags variable.
3162
3163         * TestWebKitAPI/GNUmakefile.am:
3164
3165 2013-04-25  Andy Estes  <aestes@apple.com>
3166
3167         [WebKit2] Loading a resource from a custom protocol in a synchronous XHR times out
3168         https://bugs.webkit.org/show_bug.cgi?id=115223
3169
3170         Reviewed by Darin Adler.
3171
3172         Added an API test.
3173
3174         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
3175         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm: Added.
3176         (TestWebKitAPI::TEST): Tested that a synchronous XHR does not time out
3177         when it loads a request with a custom protocol.
3178         * TestWebKitAPI/Tests/WebKit2/custom-protocol-sync-xhr.html: Added.
3179         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm: Moved the
3180         NSURLProtocol subclass to TestProtocol.{h, mm} and did some
3181         miscellaneous cleanup.
3182         * TestWebKitAPI/mac/TestProtocol.h: Copied from Source/WebKit2/WebProcess/WebProcessSupplement.h.
3183         * TestWebKitAPI/mac/TestProtocol.mm: Copied from Tools/TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm.
3184         (+[TestProtocol canInitWithRequest:]):
3185         (+[TestProtocol canonicalRequestForRequest:]):
3186         (+[TestProtocol requestIsCacheEquivalent:toRequest:]):
3187         (+[TestProtocol scheme]):
3188         (-[TestProtocol startLoading]):
3189         (-[TestProtocol stopLoading]):
3190
3191 2013-04-26  Martin Robinson  <mrobinson@igalia.com>
3192
3193         Remove the remaining Skia #ifdefs
3194         https://bugs.webkit.org/show_bug.cgi?id=114886
3195
3196         Reviewed by Benjamin Poulain.
3197
3198         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp:
3199         (createBitmapContextFromWebView): Remove Skia #ifdef references.
3200
3201 2013-04-26  Mary Wu  <mary.wu@torchmobile.com.cn>
3202
3203         [BlackBerry] Clean up load interface in WebPage
3204         https://bugs.webkit.org/show_bug.cgi?id=113267
3205
3206         Reviewed by Rob Buis.
3207
3208         Update DumpRenderTree with change of load() interface in WebPage.
3209         RIM Bug# 315535, internally reviewed by Joe Mason.
3210
3211         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
3212         (BlackBerry::WebKit::DumpRenderTree::runTest):
3213
3214 2013-04-26  Zan Dobersek  <zdobersek@igalia.com>
3215
3216         Remove the HeapGraphSerializer unit test
3217         https://bugs.webkit.org/show_bug.cgi?id=115231
3218
3219         Reviewed by Andreas Kling.
3220
3221         Remove the HeapGraphSerializer unit test. The code it was testing was removed in r148921,
3222         specifically the Source/WebCore/inspector/HeapGraphSerializer.(cpp|h) files.
3223
3224         * TestWebKitAPI/Tests/WebCore/HeapGraphSerializerTest.cpp: Removed.
3225
3226 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
3227
3228         Remove support for Chromium from build/update scripts
3229         https://bugs.webkit.org/show_bug.cgi?id=115218
3230
3231         Reviewed by Darin Adler.
3232
3233         * Scripts/build-webkit:
3234         (writeCongrats):
3235         * Scripts/update-webkit:
3236
3237 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
3238
3239         Remove support for Chromium from api-test
3240         https://bugs.webkit.org/show_bug.cgi?id=115211
3241
3242         Reviewed by Dirk Pranke.
3243
3244         * Scripts/build-api-tests:
3245         * Scripts/run-api-tests:
3246         (isSupportedPlatform):
3247
3248 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
3249
3250         Get rid of Chromium in build-dumprendertree
3251         https://bugs.webkit.org/show_bug.cgi?id=115212
3252
3253         Reviewed by Dirk Pranke.
3254
3255         * Scripts/build-dumprendertree:
3256
3257 2013-04-25  Alexey Proskuryakov  <ap@apple.com>
3258
3259         Pass relatedPage when creating a page in WebKitTestRunner
3260         https://bugs.webkit.org/show_bug.cgi?id=115206
3261
3262         Reviewed by Geoffrey Garen.
3263
3264         To make sure that window.open() opens in the same process even when using multiple processes.
3265
3266         * WebKitTestRunner/PlatformWebView.h:
3267         * WebKitTestRunner/TestController.cpp:
3268         (WTR::TestController::createOtherPage):
3269         (WTR::TestController::createWebViewWithOptions):
3270         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
3271         (WTR::PlatformWebView::PlatformWebView):
3272         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3273         (WTR::PlatformWebView::PlatformWebView):
3274         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3275         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useTiledDrawing:]):
3276         (WTR::PlatformWebView::PlatformWebView):
3277         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
3278         (WTR::PlatformWebView::PlatformWebView):
3279         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
3280         (WTR::PlatformWebView::PlatformWebView):
3281
3282 2013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
3283
3284         Fix autocompletion for Benjamin. The Bugzilla email address must come first.
3285
3286         * Scripts/webkitpy/common/config/contributors.json:
3287
3288 2013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
3289
3290         Build fix. Forgot to merge args.
3291
3292         * Scripts/webkitpy/tool/bot/irc_command.py:
3293         (Hi.execute):
3294
3295 2013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
3296
3297         webkitbot should recognize its own nickname in greetings.
3298         https://bugs.webkit.org/show_bug.cgi?id=115196
3299
3300         Reviewed by Andreas Kling.
3301
3302         Make webkitbot recognize other forms of its nick. Also be tolerant of spaces between the nick and !.
3303
3304         * Scripts/webkitpy/tool/bot/irc_command.py:
3305         (Hi.execute):
3306
3307 2013-04-25  Xavier Castano  <xcastanho@igalia.com>
3308
3309         [GTK] Tools/gtk/install-dependencies added ragel dependency
3310         https://bugs.webkit.org/show_bug.cgi?id=115163
3311
3312         Reviewed by Xan Lopez.
3313
3314         The install-dependencies script was missing a dependency on ragel
3315         which is expected when building HarfBuzz.
3316
3317         * gtk/install-dependencies: Added a dependency on ragel for both
3318         apt and yum.
3319
3320 2013-04-25  Eduardo Lima Mitev  <elima@igalia.com>
3321
3322         [GTK] Remove pango from optional jhbuild dependencies
3323         https://bugs.webkit.org/show_bug.cgi?id=115162
3324
3325         Reviewed by Martin Robinson.
3326
3327         Pango is not needed since revision r148293 that lowers the pango
3328         dependency to 1.30, which is available in most distributions.
3329
3330         * gtk/jhbuild-optional.modules: Removes description of pango module.
3331
3332 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
3333
3334         Remove Chromium-specific cases from FeatureList.pm
3335         https://bugs.webkit.org/show_bug.cgi?id=115169
3336
3337         Reviewed by Andreas Kling.
3338
3339         * Scripts/webkitperl/FeatureList.pm:
3340
3341 2013-04-24  Seokju Kwon  <seokju.kwon@gmail.com>
3342
3343         Remove checking chromium from run-webkit-tests
3344         https://bugs.webkit.org/show_bug.cgi?id=115139
3345
3346         Reviewed by Benjamin Poulain.
3347
3348         * Scripts/run-webkit-tests:
3349         (useNewRunWebKitTests):
3350
3351 2013-04-24  Simon Fraser  <simon.fraser@apple.com>
3352
3353         Pixel tests in SVG are all broken in WK2
3354         https://bugs.webkit.org/show_bug.cgi?id=114218
3355
3356         Reviewed by Darin Adler.
3357         
3358         Window snapshots in WebKitTestRunner on Mac are window-sized
3359         (800x600), which is wrong for the W3C SVG tests that require a
3360         480x360 snapshot.
3361         
3362         Fix by resizing the window, as well as the web view in
3363         PlatformWebView::resizeTo() so that window snapshots are correctly
3364         sized.
3365         
3366         Also do some drive-by cleanup of the window size constants in both
3367         DRT and WTR to remove magic numbers, and make the code more similar.
3368         
3369         * DumpRenderTree/TestRunner.cpp:
3370         (TestRunner::setShouldPaintBrokenImage):
3371         * DumpRenderTree/TestRunner.h:
3372         * DumpRenderTree/efl/DumpRenderTree.cpp:
3373         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3374         (webInspectorShowWindow):
3375         * DumpRenderTree/mac/DumpRenderTree.mm:
3376         (createWebViewAndOffscreenWindow):
3377         (sizeWebViewForCurrentTest):
3378         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3379         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3380         (createPagedBitmapContext):
3381         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
3382         (DumpRenderTree::DumpRenderTree):
3383         (DumpRenderTree::open):
3384         * DumpRenderTree/qt/TestRunnerQt.cpp:
3385         * DumpRenderTree/qt/TestRunnerQt.h:
3386         * DumpRenderTree/win/DumpRenderTree.cpp:
3387         (sizeWebViewForCurrentTest):
3388         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
3389         * WebKitTestRunner/TestController.cpp:
3390         (WTR::TestController::resetStateToConsistentValues):
3391         * WebKitTestRunner/TestController.h:
3392         * WebKitTestRunner/TestInvocation.cpp:
3393         (WTR::sizeWebViewForCurrentTest):
3394         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3395         (WTR::PlatformWebView::PlatformWebView):
3396         (WTR::PlatformWebView::resizeTo):
3397
3398 2013-04-24  Byungwoo Lee  <bw80.lee@samsung.com>
3399
3400         [EFL] Fix build error after r148963.
3401         https://bugs.webkit.org/show_bug.cgi?id=115126
3402
3403         Reviewed by Laszlo Gombos.
3404
3405         Generate forwarding headers for 'CoordinatedGraphics' to generate WKView.h
3406
3407         * TestWebKitAPI/PlatformEfl.cmake:
3408
3409 2013-04-24  Carlos Garcia Campos  <cgarcia@igalia.com>
3410
3411         [GTK] Use stamp files for generate-forwarding-headers makefile rules
3412         https://bugs.webkit.org/show_bug.cgi?id=115118
3413
3414         Reviewed by Martin Robinson.
3415
3416         Use a stamp file for the TestWebKitAPI and WebKitTestRunner
3417         forwarding generator rules and don't call it for soup since there
3418         aren't soup directories in TestWebKitAPI and WebKitTestRunner.
3419
3420         * TestWebKitAPI/GNUmakefile.am:
3421         * WebKitTestRunner/GNUmakefile.am:
3422
3423 2013-04-24  Simon Pena  <simon.pena@samsung.com>
3424
3425         [GTK] Update build dependencies
3426         https://bugs.webkit.org/show_bug.cgi?id=115111
3427
3428         Reviewed by Martin Robinson.
3429
3430         The install-dependencies script was missing a dependency on EGL,
3431         which is expected when building Cairo.
3432
3433         * gtk/install-dependencies: Added a dependency on libegl1-mesa
3434         for both apt and yum.
3435
3436 2013-04-24  Seokju Kwon  <seokju.kwon@gmail.com>
3437
3438         Remove the Chromium-specific helper from run_webkit_tests.py
3439         https://bugs.webkit.org/show_bug.cgi?id=114996
3440
3441         Reviewed by Dirk Pranke.
3442
3443         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3444         (parse_args):
3445
3446 2013-04-24  Sergio Correia  <sergio.correia@openbossa.org>
3447
3448         [EFL][WK2]: Fix WKViewClientWebProcessCallbacks WK2 API test
3449         https://bugs.webkit.org/show_bug.cgi?id=114850
3450
3451         Reviewed by Andreas Kling.
3452
3453         Revision r148312 fixed WebPageProxy cleanup and also changed the process
3454         termination semantics when requested by the user so that a client is not
3455         notified of a crash anymore, since there was no crash anyway.
3456
3457         That change broke WKViewClientWebProcessCallbacks WK2 API test, since it
3458         relied on being notified of a crash after calling WKPageTerminate(). As
3459         a result of not being notified of such non-existent crash, the test would
3460         timeout right after making the terminate call.
3461
3462         This patch adds an InjectedBundle to be used for simulating a crash, by
3463         calling abort() upon receiving a "Crash" message, and thus we are able to
3464         keep testing the crash callback.
3465
3466         This patch also re-enables the WKViewClientWebProcessCallbacks test, which
3467         had been disabled in revisions r148858 and r148855, since it was failing.
3468
3469         * TestWebKitAPI/PlatformEfl.cmake:
3470         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks.cpp:
3471         (TestWebKitAPI::TEST):
3472         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp: Added.
3473         (TestWebKitAPI):
3474         (WKViewClientWebProcessCallbacksTest):
3475         (TestWebKitAPI::WKViewClientWebProcessCallbacksTest::WKViewClientWebProcessCallbacksTest):
3476         (TestWebKitAPI::WKViewClientWebProcessCallbacksTest::didReceiveMessage):
3477
3478 2013-04-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
3479
3480         [EFL][WK2] WebKitTestRunner failures due to IconDatabase assertions
3481         https://bugs.webkit.org/show_bug.cgi?id=115095
3482
3483         Reviewed by Antonio Gomes.
3484
3485         Use different subfolders under DumpRenderTree Temp folder for every
3486         functionality (icon database, cache, localstorage, ...). This makes
3487         sure there is no conflict between the functionalities.
3488
3489         In EFL's case, libsoup cache was causing problems for the icon
3490         database if sharing the same folder.
3491
3492         * WebKitTestRunner/TestController.cpp:
3493         (WTR::TestController::initialize):
3494
3495 == Rolled over to ChangeLog-2013-04-24 ==