Add WKPageLoadData and WKPageLoadDataWithUserData SPI to support loading arbitrary...
[WebKit-https.git] / Tools / ChangeLog
1 2013-05-14  Sam Weinig  <sam@webkit.org>
2
3         Add variants of the loading APIs that take user data and a way for the injected bundle to find out about them
4         https://bugs.webkit.org/show_bug.cgi?id=116132
5
6         Reviewed by Anders Carlsson.
7
8         Adds "WithUserData" versions of all the load APIs and two new WKBundlePageLoaderClient functions,
9         willLoadURLRequest and willLoadDataRequest to let the bundle access them.
10
11         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
12         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Added.
13         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp: Added.
14         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
15
16 2013-05-16  Seokju Kwon  <seokju.kwon@gmail.com>
17
18         [EFL] inspector-protocol/page/javascriptDialogEvents.html is failing
19         https://bugs.webkit.org/show_bug.cgi?id=114781
20
21         Reviewed by Christophe Dumez.
22
23         Add run_before_unload_confirm and
24         Print the log message with "CONFIRM NAVIGATION: " in console.
25
26         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
27         (onBeforeUnloadConfirm):
28         (drtViewAdd):
29
30 2013-05-16  Peter Gal  <galpeter@inf.u-szeged.hu>
31
32         Fix Analyze ChangeLog's entry processing
33         https://bugs.webkit.org/show_bug.cgi?id=116219
34
35         Reviewed by Ryosuke Niwa.
36
37         * Scripts/webkitpy/tool/commands/analyzechangelog.py:
38         (ChangeLogAnalyzer._analyze_entries): Fix the counter initialization.
39
40 2013-05-16  Hyungchan Kim  <hyungchan2.kim@lge.com>
41
42         [Qt] UrlLoader::loadNext is broken in MiniBrowser
43         https://bugs.webkit.org/show_bug.cgi?id=116099
44
45         Reviewed by Jocelyn Turcotte.
46
47         QQuickWebView's 3 signals(loadStarted, loadSucceeded, loadFailed)
48         are not available any more. So, UrlLoader::loadNext was broken
49         because it failed to connect to those signals.
50
51         * MiniBrowser/qt/UrlLoader.cpp:
52         (UrlLoader::UrlLoader):
53         (UrlLoader::loadingChanged):
54         * MiniBrowser/qt/UrlLoader.h:
55         (UrlLoader):
56
57 2013-05-16  Lamarque V. Souza  <Lamarque.Souza@basyskom.com>
58
59         [WebSocket] Update pywebsocket to r760
60         https://bugs.webkit.org/show_bug.cgi?id=115863
61
62         Reviewed by Alexey Proskuryakov.
63
64         Version r760 supports a newer draft of message compression.
65         We need this update to finish the permessage compression patch in
66         bug 98840. This patch also fixes failing unit tests after the update.
67
68         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_base.py:
69         (StreamBase._read):
70         (StreamBase._read.of):
71         (StreamBase._write):
72         (StreamBase.receive_bytes):
73         (StreamBase._read_until):
74         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py:
75         (parse_frame):
76         (StreamOptions.__init__):
77         (Stream.__init__):
78         (Stream._receive_frame_as_frame_object):
79         (Stream._get_message_from_frame):
80         (Stream._process_close_message):
81         (Stream.close_connection):
82         (Stream.get_last_received_opcode):
83         * Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py:
84         * Scripts/webkitpy/thirdparty/mod_pywebsocket/dispatch.py:
85         (Dispatcher.do_extra_handshake):
86         (Dispatcher.transfer_data):
87         * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
88         (ExtensionProcessorInterface.__init__):
89         (ExtensionProcessorInterface.request):
90         (ExtensionProcessorInterface):
91         (ExtensionProcessorInterface.name):
92         (ExtensionProcessorInterface.check_consistency_with_other_processors):
93         (ExtensionProcessorInterface.set_active):
94         (ExtensionProcessorInterface.is_active):
95         (ExtensionProcessorInterface._get_extension_response_internal):
96         (ExtensionProcessorInterface.get_extension_response):
97         (ExtensionProcessorInterface._setup_stream_options_internal):
98         (ExtensionProcessorInterface.setup_stream_options):
99         (_log_outgoing_compression_ratio):
100         (_log_incoming_compression_ratio):
101         (_parse_window_bits):
102         (_AverageRatioCalculator):
103         (_AverageRatioCalculator.__init__):
104         (_AverageRatioCalculator.add_original_bytes):
105         (_AverageRatioCalculator.add_result_bytes):
106         (_AverageRatioCalculator.get_average_ratio):
107         (DeflateFrameExtensionProcessor):
108         (DeflateFrameExtensionProcessor.__init__):
109         (DeflateFrameExtensionProcessor._get_extension_response_internal):
110         (DeflateFrameExtensionProcessor._setup_stream_options_internal):
111         (DeflateFrameExtensionProcessor._outgoing_filter):
112         (DeflateFrameExtensionProcessor._incoming_filter):
113         (CompressionExtensionProcessorBase.for):
114         (CompressionExtensionProcessorBase.__init__):
115         (CompressionExtensionProcessorBase._get_extension_response_internal):
116         (CompressionExtensionProcessorBase._setup_stream_options_internal):
117         (PerFrameCompressExtensionProcessor):
118         (PerMessageDeflateExtensionProcessor):
119         (PerMessageDeflateExtensionProcessor.__init__):
120         (PerMessageDeflateExtensionProcessor._get_extension_response_internal):
121         (PerMessageDeflateExtensionProcessor._setup_stream_options_internal):
122         (PerMessageDeflateExtensionProcessor.set_c2s_max_window_bits):
123         (PerMessageDeflateExtensionProcessor.set_c2s_max_window_bits.adds):
124         (PerMessageDeflateExtensionProcessor.set_c2s_no_context_takeover):
125         (PerMessageDeflateExtensionProcessor.set_c2s_no_context_takeover.adds):
126         (PerMessageDeflateExtensionProcessor.set_bfinal):
127         (PerMessageDeflateExtensionProcessor.enable_outgoing_compression):
128         (PerMessageDeflateExtensionProcessor.disable_outgoing_compression):
129         (_PerMessageDeflateFramer):
130         (_PerMessageDeflateFramer.__init__):
131         (_PerMessageDeflateFramer.set_compress_outgoing_enabled):
132         (_PerMessageDeflateFramer._process_incoming_message):
133         (_PerMessageDeflateFramer._process_outgoing_message):
134         (_PerMessageDeflateFramer.setup_stream_options):
135         (_PerMessageDeflateFramer.setup_stream_options._OutgoingMessageFilter):
136         (_PerMessageDeflateFramer.setup_stream_options._OutgoingMessageFilter.__init__):
137         (_PerMessageDeflateFramer.setup_stream_options._OutgoingMessageFilter.filter):
138         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter):
139         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter.__init__):
140         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter.decompress_next_message):
141         (_PerMessageDeflateFramer.setup_stream_options._IncomingMessageFilter.filter):
142         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter):
143         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter.__init__):
144         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter.set_compression_bit):
145         (_PerMessageDeflateFramer.setup_stream_options._OutgoingFrameFilter.filter):
146         (_PerMessageDeflateFramer.setup_stream_options._IncomingFrameFilter):
147         (_PerMessageDeflateFramer.setup_stream_options._IncomingFrameFilter.__init__):
148         (_PerMessageDeflateFramer.setup_stream_options._IncomingFrameFilter.filter):
149         (PerMessageCompressExtensionProcessor):
150         (PerMessageCompressExtensionProcessor._lookup_compression_processor):
151         (MuxExtensionProcessor.__init__):
152         (MuxExtensionProcessor.check_consistency_with_other_processors):
153         (MuxExtensionProcessor):
154         (MuxExtensionProcessor._get_extension_response_internal):
155         (MuxExtensionProcessor._setup_stream_options_internal):
156         (MuxExtensionProcessor.set_quota):
157         (MuxExtensionProcessor.quota):
158         (MuxExtensionProcessor.set_extensions):
159         (MuxExtensionProcessor.extensions):
160         (is_compression_extension):
161         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py:
162         (validate_subprotocol):
163         (parse_host_header):
164         (format_header):
165         (check_request_line):
166         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py:
167         (Handshaker.do_handshake):
168         (Handshaker._create_handshake_response):
169         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi00.py:
170         (_validate_subprotocol):
171         (_check_header_lines):
172         (_build_location):
173         (Handshaker.do_handshake):
174         (Handshaker._set_subprotocol):
175         (Handshaker._set_location):
176         * Scripts/webkitpy/thirdparty/mod_pywebsocket/headerparserhandler.py:
177         (_create_dispatcher):
178         (headerparserhandler):
179         * Scripts/webkitpy/thirdparty/mod_pywebsocket/mux.py:
180         (_create_add_channel_response):
181         (_create_drop_channel):
182         (_create_flow_control):
183         (_create_new_channel_slot):
184         (_create_fallback_new_channel_slot):
185         (_MuxFramePayloadParser._read_number):
186         (_MuxFramePayloadParser._read_size_and_contents):
187         (_MuxFramePayloadParser._read_flow_control):
188         (_MuxFramePayloadParser._read_new_channel_slot):
189         (_LogicalConnection.__init__):
190         (_LogicalConnection.write):
191         (_LogicalConnection.on_write_data_done):
192         (_LogicalConnection):
193         (_LogicalConnection.on_writer_done):
194         (_InnerMessage):
195         (_InnerMessage.__init__):
196         (_InnerMessageBuilder):
197         (_InnerMessageBuilder.that):
198         (_InnerMessageBuilder.__init__):
199         (_InnerMessageBuilder._handle_first):
200         (_InnerMessageBuilder._process_first_fragmented_control):
201         (_InnerMessageBuilder._process_first_fragmented_message):
202         (_InnerMessageBuilder._handle_fragmented_control):
203         (_InnerMessageBuilder._reassemble_fragmented_control):
204         (_InnerMessageBuilder._handle_fragmented_message):
205         (_InnerMessageBuilder._reassemble_fragmented_message):
206         (_InnerMessageBuilder.build):
207         (_LogicalStream.__init__):
208         (_LogicalStream._create_inner_frame):
209         (_LogicalStream._write_inner_frame):
210         (_LogicalStream.replenish_send_quota):
211         (_LogicalStream.send_message):
212         (_LogicalStream._receive_frame):
213         (_LogicalStream._get_message_from_frame):
214         (_LogicalStream.stop_sending):
215         (_PhysicalConnectionWriter.__init__):
216         (_PhysicalConnectionWriter._write_data):
217         (_PhysicalConnectionWriter.run):
218         (_PhysicalConnectionWriter.stop):
219         (_Worker.run):
220         (_MuxHandshaker.__init__):
221         (_MuxHandshaker._create_stream):
222         (_MuxHandshaker._create_handshake_response):
223         (_HandshakeDeltaBase.create_headers):
224         (_MuxHandler.start):
225         (_MuxHandler.wait_until_done):
226         (_MuxHandler.notify_write_data_done):
227         (_MuxHandler._process_drop_channel):
228         (_MuxHandler._process_logical_frame):
229         (_MuxHandler.notify_reader_done):
230         (_MuxHandler):
231         (_MuxHandler.notify_writer_done):
232         (_MuxHandler.fail_physical_connection):
233         (_MuxHandler.fail_logical_channel):
234         (use_mux):
235         * Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py:
236         (_StandaloneRequest.get_uri):
237         (_StandaloneRequest.get_unparsed_uri):
238         (_StandaloneRequest):
239         (_StandaloneRequest.is_https):
240         (_import_ssl):
241         (_import_pyopenssl):
242         (_StandaloneSSLConnection.for):
243         (_StandaloneSSLConnection):
244         (_StandaloneSSLConnection.__getattribute__):
245         (_StandaloneSSLConnection.__setattr__):
246         (_StandaloneSSLConnection.makefile):
247         (_StandaloneSSLConnection.shutdown):
248         (_StandaloneSSLConnection.recv):
249         (WebSocketServer.__init__):
250         (WebSocketServer._create_sockets):
251         (WebSocketServer.handle_error):
252         (WebSocketServer.get_request):
253         (WebSocketServer.get_request.default_callback):
254         (WebSocketRequestHandler.parse_request):
255         (_build_option_parser):
256         (_main):
257         (_main.if):
258         * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
259         (RepeatedXorMasker.__init__):
260         (RepeatedXorMasker._mask_using_swig):
261         (RepeatedXorMasker):
262         (RepeatedXorMasker._mask_using_array):
263         (_Deflater.compress_and_finish):
264         (_RFC1979Deflater.filter):
265         (DeflateSocket.send):
266
267 2013-05-16  Jonathan Liu  <net147@gmail.com>
268
269         Fix testing if program exists in PATH
270         https://bugs.webkit.org/show_bug.cgi?id=116216
271
272         Reviewed by Jocelyn Turcotte.
273
274         functions.prf incorrectly uses win_cmd_shell to test whether to
275         add .exe to the executable name when checking if it exists in
276         the PATH environment variable. This works correctly when
277         building using Windows Command Prompt but not under MSYS shell.
278
279         To resolve this, check the win32 platform scope instead of
280         win_cmd_shell so that it correctly adds .exe to the executable
281         name on Windows regardless of the shell used when testing if
282         it exists in PATH.
283
284         * qmake/mkspecs/features/functions.prf:
285
286 2013-05-16  Ryosuke Niwa  <rniwa@webkit.org>
287
288         Fix the hard-coded names of EWS bots that run tests.
289
290         * Scripts/webkitpy/tool/commands/queues.py:
291         (CommitQueue.did_pass_testing_ews):
292
293 2013-05-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
294
295         [GTK] Build Xvfb with jhbuild
296         https://bugs.webkit.org/show_bug.cgi?id=115907
297
298         Reviewed by Martin Robinson.
299
300         Build our own Xvfb so that we can avoid problems with the system Xvfb
301         relying on symbols not present in our jhbuilt libraries such as pixman,
302         and also to ensure we have the fix for a GLX module crasher.
303
304         * DumpRenderTree/gtk/DumpRenderTree.cpp:
305         (resetDefaultsToConsistentValues): enable accelerated compositing.
306         * gtk/install-dependencies: list packages required for building Xvfb.
307         * gtk/jhbuild.modules: add xserver as a jhbuild module.
308         * gtk/patches/xserver-remove-bogus-dependencies.patch: Added.
309         * gtk/patches/xserver-fix-glx-init.patch: Added. Fixes a crash while
310         initializing the GLX module for Xvfb.
311
312 2013-05-16  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
313
314         [jhbuild] Should remove the sources directory as well when cleaning
315         https://bugs.webkit.org/show_bug.cgi?id=116229
316
317         Reviewed by Martin Robinson.
318
319         * Scripts/update-webkit-libs-jhbuild:
320         (cleanJhbuild): remove the Source directory as well when cleaning.
321
322 2013-05-15  Dominik Röttsches  <dominik.rottsches@intel.com>
323
324         [EFL] Remove Intel Wk2 Buildbots from Master
325         https://bugs.webkit.org/show_bug.cgi?id=116149
326
327         Removing Intel maintained EFL Wk2 bots except the handle for efl-linux-slave-2
328         since Gyuyoung Kim from Samsung plans to take over and maintain it.
329
330         Reviewed by Benjamin Poulain.
331
332         * BuildSlaveSupport/build.webkit.org-config/config.json:
333
334 2013-05-15  Brent Fulgham  <bfulgham@apple.com>
335
336         [Windows] Update various build tools to understand VS2010 environment.
337         https://bugs.webkit.org/show_bug.cgi?id=116169.
338
339         Reviewed by Anders Carlsson.
340
341         * Scripts/build-api-tests: Identify VS2010 environment.
342         * Scripts/build-dumprendertree: Ditto.
343         * Scripts/build-webkit: Ditto.
344         * Scripts/webkitdirs.pm:
345         (dieIfWindowsPlatformSDKNotInstalled): Update to recognize a wider
346         range of acceptable SDK's.
347
348 2013-05-15  Peter Gal  <galpeter@inf.u-szeged.hu>
349
350         Allow http tests on Arch Linux
351         https://bugs.webkit.org/show_bug.cgi?id=116155
352
353         Reviewed by Ryosuke Niwa.
354
355         * Scripts/webkitpy/port/base.py:
356         (Port._is_arch_based): Added check for /etc/arch-release file.
357         (Port._apache_config_file_name_for_platform): Call the check.
358         * Scripts/webkitpy/port/port_testcase.py:
359         (test_linux_distro_detection): Testcase added.
360
361 2013-05-15  Peter Gal  <galpeter@inf.u-szeged.hu>
362
363         Remove a leftover v8 file from the watchlist
364         https://bugs.webkit.org/show_bug.cgi?id=116158
365
366         Reviewed by Csaba Osztrogonác.
367
368         * Scripts/webkitpy/common/config/watchlist: Removed a v8 entry from the watchlist.
369
370 2013-05-15  Alberto Garcia  <agarcia@igalia.com>
371
372         [GTK] Fails to build while generating gtkdoc
373         https://bugs.webkit.org/show_bug.cgi?id=115612
374
375         Reviewed by Philippe Normand.
376
377         Fix typo in the prerequisites of docs-build.stamp.
378
379         * GNUmakefile.am:
380
381 2013-05-15  Zan Dobersek  <zdobersek@igalia.com>
382
383         Unreviewed, fixing the current test-webkitpy failure.
384
385         * Scripts/webkitpy/port/mac_unittest.py:
386         (test_setup_environ_for_server): Adjusting the expected DYLD_INSERT_LIBRARIES environment variable value
387         in webkitpy.port.mac_unittest.test_setup_environ_for_server after r150089.
388
389 2013-05-14  Jaehun Lim  <ljaehun.lim@samsung.com>
390
391         Fix build after r150090.
392         https://bugs.webkit.org/show_bug.cgi?id=116129
393
394         Unreviewed build fix after r150090.
395
396         * WebKitTestRunner/TestInvocation.cpp:
397         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
398
399 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
400
401         [Windows, others] Unreviewed build fix after r150090.
402
403         * DumpRenderTree/TestRunner.cpp:
404         (getSecureEventInputIsEnabledCallback): IsSecureEventInputEnabled
405         doesn't exist on other platforms.
406
407 2013-05-14  Brent Fulgham  <bfulgham@webkit.org>
408
409         [Windows] Expunge pthreads2VC.dll from DumpRenderTree Project
410         https://bugs.webkit.org/show_bug.cgi?id=115889
411
412         Reviewed by Benjamin Poulain.
413
414         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
415         * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
416
417 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
418
419         [Windows] Identify proper run environment for scripts.
420         https://bugs.webkit.org/show_bug.cgi?id=116114
421
422         Reviewed by David Kilzer.
423
424         Determine (based on Visual Studio version) which path to use for
425         executables (bin versus bin32).
426
427         * Scripts/webkitdirs.pm:
428         (determineVisualStudioInstallDir): Added.
429         (determineVisualStudioVersion): Added.
430         (determineConfigurationProductDir): Modified to choose proper bin
431         or bin32 directory.
432         (visualStudioVersion): Added
433         (setupCygwinEnv): Modified to use new determineVisualStudioInstallDir
434
435 2013-05-14  Alexey Proskuryakov  <ap@apple.com>
436
437         [Mac] Add tests for secure event input
438         https://bugs.webkit.org/show_bug.cgi?id=116121
439
440         Reviewed by Mark Rowe.
441
442         * DumpRenderTree/TestRunner.cpp:
443         (getSecureEventInputIsEnabledCallback):
444         (TestRunner::staticValues):
445         Expose an accessor for current secure event input state.
446
447         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
448         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
449         (WTR::TestRunner::secureEventInputIsEnabled):
450         * WebKitTestRunner/InjectedBundle/TestRunner.h:
451         * WebKitTestRunner/TestInvocation.cpp:
452         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
453         Expose an accessor for current secure event input state. This has to be done in
454         UI process, as this is where it's changed by WebKit.
455
456 2013-05-14  Alexey Proskuryakov  <ap@apple.com>
457
458         [Mac] Add a testing shim for secure event input functions
459         https://bugs.webkit.org/show_bug.cgi?id=116122
460
461         Reviewed by Mark Rowe.
462
463         * Scripts/webkitpy/port/mac.py: (MacPort.setup_environ_for_server):
464         Inject WebCore testing shim library to override system framework functions.
465
466 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
467
468         [Windows] Switch to embedded manifest commands for launcher executables.
469         https://bugs.webkit.org/show_bug.cgi?id=116109
470
471         Reviewed by Darin Adler.
472
473         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Remove the
474         now-unused WinLauncher.exe.manifest file.
475         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Ditto.
476         * win/DLLLauncher/DLLLauncherMain.cpp: Add embedded manifest command
477         when building with VS2010 or newer.
478
479 2013-05-14  Brent Fulgham  <bfulgham@apple.com>
480
481         [Windows] Update ORWT to know about the Windows 8 SDK and Debug Tools.
482         https://bugs.webkit.org/show_bug.cgi?id=116079
483
484         Reviewed by David Kilzer.
485
486         * Scripts/old-run-webkit-tests:
487         (setUpWindowsCrashLogSaving): Locate ntsd.exe and use it.
488
489 2013-05-14  Zan Dobersek  <zdobersek@igalia.com>
490
491         [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
492         https://bugs.webkit.org/show_bug.cgi?id=115921
493
494         Reviewed by Gustavo Noronha Silva.
495
496         * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libWebCoreInternals and DumpRenderTree.
497         * TestWebKitAPI/GNUmakefile.am: Add platform_cppflags to the list of TestGtk CPPFLAGS.
498
499 2013-05-13  Alex Christensen  <achristensen@apple.com>
500
501         Added testRunner.setPrinting.
502         https://bugs.webkit.org/show_bug.cgi?id=42693
503         rdar://problem/8213845
504
505         Reviewed by Darin Adler.
506
507         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
508         Added setPrinting JavaScript function.
509         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
510         (WTR::InjectedBundlePage::dump):
511         Dump the external representation for printing if setPrinting has been called.
512         * WebKitTestRunner/InjectedBundle/TestRunner.h:
513         (WTR::TestRunner::isPrinting): Added.
514         (WTR::TestRunner::setPrinting): Added.
515         Added and initialized m_isPrinting member boolean.
516
517 2013-05-13  Csaba Osztrogonác  <ossy@webkit.org>
518
519         [webkitpy] Make FileInfo.repository_name support SVN version > 1.6
520         https://bugs.webkit.org/show_bug.cgi?id=116016
521
522         Reviewed by Dirk Pranke.
523
524         Same fix as in the upstream style checker, but without hg support.
525         ( http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py )
526
527         * Scripts/webkitpy/style/checkers/cpp.py:
528         (FileInfo.repository_name):
529
530 2013-05-13  Zan Dobersek  <zdobersek@igalia.com>
531
532         [GTK] Use WebCore layer archives for TestWebCore, WebKitPluginProcess
533         https://bugs.webkit.org/show_bug.cgi?id=115918
534
535         Reviewed by Gustavo Noronha Silva.
536
537         Due to layer violations and circular dependencies the TestWebCores requires for the libraries containing
538         the built code of the intertwining Platform and WebCore layers to be specified multiple times when linking.
539         This can be avoided by packing the two layers' archives into one big archive, named after the WebCore layer
540         due to no clear boundary between it and the Platform layer. The big archive can then be specified only once
541         when linking, simplifying the code and suppressing all the layering violations so they do not cause build
542         problems.
543
544         First the libtool libraries that the WebCore layer (as required by the TestWebCore) depends on are specified.
545         These are then used as dependencies for the archive creation rule as well as the list from which the archive
546         file paths are constructed and then used to dump the member files from these archives. The member files are
547         then added to the big archive. The latter is added to the list of libraries the TestWebCore requires to
548         successfully link.
549
550         * TestWebKitAPI/GNUmakefile.am:
551
552 2013-05-13  Anders Carlsson  <andersca@apple.com>
553
554         Remove UnusedParam.h
555         https://bugs.webkit.org/show_bug.cgi?id=116029
556
557         Reviewed by Andreas Kling.
558
559         Stop including UnusedParam.h.
560
561         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
562         * WebKitTestRunner/qt/TestInvocationQt.cpp:
563
564 2013-05-12  Commit Queue  <commit-queue@webkit.org>
565
566         Unreviewed, rolling out r149955.
567         http://trac.webkit.org/changeset/149955
568         https://bugs.webkit.org/show_bug.cgi?id=115990
569
570         Broke lots of tests (Requested by smfr on #webkit).
571
572         * Scripts/webkitpy/port/mac.py:
573
574 2013-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
575
576         [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
577         https://bugs.webkit.org/show_bug.cgi?id=115914
578
579         Reviewed by Martin Robinson.
580
581         * GtkLauncher/main.c:
582         (createToolbar):
583         * MiniBrowser/gtk/BrowserWindow.c:
584         (_BrowserWindow):
585         (browserWindowSetStatusText):
586         (fullScreenMessageTimeoutCallback):
587         (webViewEnterFullScreen):
588         (webViewLeaveFullScreen):
589         (browserWindowFinalize):
590         (browserWindowConstructed):
591         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
592         (WTR::EventSenderProxy::mouseScrollBy):
593         (WTR::EventSenderProxy::continuousMouseScrollBy):
594
595 2013-05-11  Anders Carlsson  <andersca@apple.com>
596
597         Crash when terminating a process that has not been fully launched
598         https://bugs.webkit.org/show_bug.cgi?id=115962
599         <rdar://problem/13660916>
600
601         Reviewed by Andreas Kling.
602
603         Add TerminateTwice, a test that terminates a page, then reloads it and terminates it again
604         before the process has had a chance to be fully launched.
605
606         * TestWebKitAPI/GNUmakefile.am:
607         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
608         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp: Added.
609         (TestWebKitAPI):
610         (TestWebKitAPI::didFinishLoadForFrame):
611         (TestWebKitAPI::TEST):
612         * TestWebKitAPI/Tests/WebKit2/WebKit2.pro:
613
614 2013-05-10  Laszlo Gombos  <l.gombos@samsung.com>
615
616         Remove Mac OS X Leopard (10.5) support
617         https://bugs.webkit.org/show_bug.cgi?id=107964
618
619         Reviewed by Ryosuke Niwa.
620
621         Removed the code for 10.5 and removed if-def for 10.6.
622
623         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
624         (convertMIMEType):
625         (createXMLStringFromWebArchiveData):
626         * DumpRenderTree/mac/TestRunnerMac.mm:
627         (TestRunner::authenticateSession):
628         (TestRunner::setTextDirection):
629         * WebKitTestRunner/cf/WebArchiveDumpSupport.cpp:
630         (convertMIMEType):
631         (createXMLStringFromWebArchiveData):
632
633 2013-05-10  Brent Fulgham  <bfulgham@apple.com>
634
635         [Windows] Allow VS2010 Build to use VS2005 Support Libraries
636         https://bugs.webkit.org/show_bug.cgi?id=115935
637
638         Reviewed by Jer Noble.
639
640         * WinLauncher/WinLauncher.vcxproj/WinLauncher.exe.manifest: Added.
641         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Add reference
642         to the new manifest file.
643         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Ditto.
644
645 2013-05-10  Jacky Jiang  <zhajiang@blackberry.com>
646
647         Fix some compiler warnings (miscellaneous)
648         https://bugs.webkit.org/show_bug.cgi?id=80790
649
650         Reviewed by Rob Buis.
651
652         Fix the following warnings for BlackBerry:
653         DumpRenderTree.cpp:357:42: warning: suggest parentheses around assignment
654         used as truth value [-Wparentheses].
655
656         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
657         (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
658
659 2013-05-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
660
661         [WK2][CoordinatedGraphics] WKViewSetThemePath is EFL specific
662         https://bugs.webkit.org/show_bug.cgi?id=115928
663
664         Reviewed by Kenneth Rohde Christiansen.
665
666         WKViewSetThemePath was moved to WKViewEfl.h.
667
668         * TestWebKitAPI/efl/PlatformWebView.cpp:
669
670 2013-05-10  Andreas Kling  <akling@apple.com>
671
672         I accidentally the Java testing.
673
674         * Scripts/webkitpy/port/mac.py:
675
676 2013-05-10  Brian Holt  <brian.holt@samsung.com>
677
678         [GTK] Module Cairo fails to build under jhbuild
679         https://bugs.webkit.org/show_bug.cgi?id=115854
680
681         Reviewed by Martin Robinson.
682
683         Make cairo depend on glib in jhbuild.modules.
684
685         * gtk/jhbuild.modules:
686
687 2013-05-10  Carlos Garcia Campos  <cgarcia@igalia.com>
688
689         [GTK] Remove unnecessary GLIB_CHECK_VERSION #ifdefs
690         https://bugs.webkit.org/show_bug.cgi?id=115904
691
692         Reviewed by Martin Robinson.
693
694         * ImageDiff/gtk/ImageDiff.cpp:
695         (main):
696
697 2013-05-10  Balazs Kelemen  <kbalazs@webkit.org>
698
699         Add my new address to contributors.json. (Unreviewed)
700
701         * Scripts/webkitpy/common/config/contributors.json:
702
703 2013-05-10  Christophe Dumez  <ch.dumez@sisa.samsung.com>
704
705         Unreviewed. Move myself to the reviewers list.
706
707         * Scripts/webkitpy/common/config/contributors.json:
708
709 2013-05-10  Christophe Dumez  <ch.dumez@sisa.samsung.com>
710
711         Unreviewed. Add my email to a few watchlists.
712
713         * Scripts/webkitpy/common/config/watchlist:
714
715 2013-05-10  Simon Pena  <simon.pena@samsung.com>
716
717         Unicode support missing from string representation of Contributors in committers.py
718         https://bugs.webkit.org/show_bug.cgi?id=115859
719
720         Reviewed by Darin Adler.
721
722         Contributors, in committers.py, provided a string representation in __str__ which
723         didn't support unicode characters, so printing a contributor would fail in that case.
724         This patch implements __unicode__ and makes __str__ use it to represent a contributor.
725         The unit tests are updated accordingly, so they ensure that a unicode name can be shown.
726
727         * Scripts/webkitpy/common/config/committers.py: Move the existing string representation
728         to the newly implemented method __unicode__, and make __str__ display its utf-8 encoded
729         representation.
730         (Contributor.__str__):
731         (Contributor):
732         (Contributor.__unicode__):
733         * Scripts/webkitpy/common/config/committers_unittest.py: Add a new test that checks that
734         a contributor with unicode characters can be represented as a string.
735         (CommittersTest):
736         (CommittersTest.test_contributor_encoding):
737
738 2013-05-09  Patrick Gansterer  <paroga@webkit.org>
739
740         [WIN][DRT] Remove duplicated (start|stop)JavaScriptThreads()
741         https://bugs.webkit.org/show_bug.cgi?id=92371
742
743         Reviewed by Brent Fulgham.
744
745         Use JavaScriptThreading.cpp where the same functionality is
746         implemented too. This reduces the dependency on the pthread
747         library. Also replace assert() with WebKit ASSERT().
748
749         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
750         * DumpRenderTree/win/DumpRenderTree.cpp:
751         (dumpHistoryItem):
752         (dumpBackForwardList):
753         * DumpRenderTree/win/DumpRenderTree.vcproj:
754
755 2013-05-09  Patrick Gansterer  <paroga@webkit.org>
756
757         [DRT] Replace JavaScriptThreadingPthreads.cpp with JavaScriptThreading.cpp
758         https://bugs.webkit.org/show_bug.cgi?id=92505
759
760         Reviewed by Brent Fulgham.
761
762         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
763         * DumpRenderTree/JavaScriptThreading.cpp: Copied from DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp.
764         (javaScriptThreadsMutex):
765         (javaScriptThreads):
766         (runJavaScriptThread):
767         (startJavaScriptThreads):
768         (stopJavaScriptThreads):
769         * DumpRenderTree/pthreads: Removed.
770         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Removed.
771
772 2013-05-09  Mario Sanchez Prada  <mario.prada@samsung.com>
773
774         Unreviewed. Update Simon Pena email on his behalf.
775
776         * Scripts/webkitpy/common/config/contributors.json:
777
778 2013-05-09  Christophe Dumez  <ch.dumez@sisa.samsung.com>
779
780         Add support for [NoInterfaceObject] Web IDL extended attribute
781         https://bugs.webkit.org/show_bug.cgi?id=115714
782
783         Reviewed by Kentaro Hara.
784
785         Update BindingsTests.generate_supplemental_dependency() to pass an
786         additional windowConstructorsFile argument to preprocess-idls.pl.
787
788         * Scripts/webkitpy/bindings/main.py:
789         (BindingsTests.generate_supplemental_dependency):
790         (BindingsTests.main):
791
792 2013-05-09  ChangSeok Oh  <changseok.oh@collabora.com>
793
794         [GTK][AC] Buildfix after r149694
795         https://bugs.webkit.org/show_bug.cgi?id=115797
796
797         Reviewed by Gustavo Noronha Silva.
798
799         Add CLUTTER_LIBS for linking TestWebCore.
800
801         * TestWebKitAPI/GNUmakefile.am:
802
803 2013-05-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
804
805         [EFL] Remove unnecessary pkgs in EFL jhbuild
806         https://bugs.webkit.org/show_bug.cgi?id=114908
807
808         Reviewed by Laszlo Gombos.
809
810         p11-kit, libgpg-error and libgcrypt don't influence on layout test. So, we don't need to
811         handle them using jhbuild. We can reduce build time when using --update-efl.
812
813         * efl/jhbuild.modules:
814
815 2013-05-08  Seokju Kwon  <seokju.kwon@gmail.com>
816
817         [EFL] Disable SHADOW DOM feature in FeatureList.pm
818         https://bugs.webkit.org/show_bug.cgi?id=115834
819
820         Reviewed by Gyuyoung Kim.
821
822         * Scripts/webkitperl/FeatureList.pm:
823
824 2013-05-08  Lucas Forschler  <lforschler@apple.com>
825
826         Add Scheduler for Mac MtnLion 32bit Release builder.
827         
828         Unreviewed.
829         
830         * BuildSlaveSupport/build.webkit.org-config/config.json:
831
832 2013-05-08  Denis Nomiyama  <d.nomiyama@samsung.com>
833
834         Update JSCIdentifier pretty printer in Tools/gdb/webkit.py
835         https://bugs.webkit.org/show_bug.cgi?id=115808
836
837         Reviewed by Darin Adler.
838
839         The pretty printer for the JSCIdentifier in Tools/gdb/webkit.py
840         was left outdated after r127191, when the m_string member was changed
841         from UString to String. This patch calls the right pretty printer for it.
842
843         * gdb/webkit.py:
844         (JSCIdentifierPrinter.to_string): Use WTFPrettyPrinter instead of
845         WTFImplPrettyPrinter.
846
847 2013-05-08  Andy Estes  <aestes@apple.com>
848
849         [WebKit2] REGRESSION (Custom Protocols): Reproducible crash when navigating to URL with an invalid scheme
850         https://bugs.webkit.org/show_bug.cgi?id=115790
851
852         Reviewed by Alexey Proskuryakov.
853
854         Added two API tests:
855
856         1) Verify that +[WKBrowsingContextController (un)registerSchemeForCustomProtocol:] can be called with a nil NSString without crashing.
857         2) Verify that +[WKCustomProtocol canInitWithRequest:] does not crash when passed an NSURLRequest with an invalid scheme.
858
859         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
860         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm: Added.
861         (TestWebKitAPI):
862         (TestWebKitAPI::TEST):
863         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp: Added.
864         (TestWebKitAPI):
865         (TestWebKitAPI::decidePolicyForNavigationAction):
866         (CustomProtocolInvalidSchemeTest):
867         (TestWebKitAPI::CustomProtocolInvalidSchemeTest::CustomProtocolInvalidSchemeTest):
868
869 2013-05-08  Lucas Forschler  <lforschler@apple.com>
870
871         Teach buildbot how to compile 32-bit on Mac.
872
873         Reviewed by Ryosuke Niwa.
874
875         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
876         (CompileWebKit.start):
877         (ExtractTestResultsAndLeaks):
878
879 2013-05-08  Eli Fidler  <efidler@blackberry.com>
880
881         [BlackBerry] Fix usage of BlackBerry::Platform::String
882         https://bugs.webkit.org/show_bug.cgi?id=115781
883
884         Reviewed by Rob Buis.
885
886         BlackBerry PRs 304193 and 327181
887         Internally Reviewed by Mike Lattanzio, Arvid Nilsson, Joe Mason, Jeff Rogers, and George Staikos
888
889         We currently have a problem where we're passing UTF-8 encoded data into
890         the char* constructors of BlackBerry::Platform::String. This means the string
891         thinks its data is not UTF-8.
892
893         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
894         (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
895         (BlackBerry::WebKit::dumpHistoryItem):
896         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
897         (TestRunner::setUserStyleSheetLocation):
898         * DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp:
899         (LoadHTMLStringItem::invoke):
900
901 2013-05-08  Alberto Garcia  <agarcia@igalia.com>
902
903         Tools: add new BlackBerry include dirs.
904         https://bugs.webkit.org/show_bug.cgi?id=115514
905
906         Reviewed by Rob Buis.
907
908         iType include dirs are missing, and HarfBuzz needs to be fixed.
909
910         * Scripts/webkitdirs.pm:
911         (blackberryCMakeArguments):
912
913 2013-05-08  José Dapena Paz  <jdapena@igalia.com> and Zan Dobersek  <zdobersek@igalia.com>
914
915         [GTK] Plumb the Automake build system for the Battery Status API feature
916         https://bugs.webkit.org/show_bug.cgi?id=115718
917
918         Reviewed by Martin Robinson.
919
920         * Scripts/webkitdirs.pm:
921         (buildAutotoolsProject): List battery-status as a configurable feature, meaning its value will be adjusted
922         through the --(enable|disable)-battery-status flag passed to configure.
923
924 2013-05-08  Ryosuke Niwa  <rniwa@webkit.org>
925
926         new-run-webkit-websocketserver doesn't work after Chromium removal
927         https://bugs.webkit.org/show_bug.cgi?id=115816
928
929         Reviewed by Joseph Pecoraro.
930
931         Fix the bug by instantiating the correct port object.
932
933         * Scripts/new-run-webkit-websocketserver:
934         (main):
935
936 2013-05-07  Lucas Forschler  <lforschler@apple.com>
937
938         Configure buildbot for 32bit builder.
939         https://bugs.webkit.org/show_bug.cgi?id=115769
940         
941         Reviewed by Ryosuke Niwa.
942
943         * BuildSlaveSupport/build.webkit.org-config/config.json:
944
945 2013-05-08  Brent Fulgham  <bfulgham@webkit.org>
946
947         Unreviewed. Update to show my apple.com address.
948
949         * Scripts/webkitpy/common/config/contributors.json: Added
950         my apple.com e-mail address.
951
952 2013-05-08  David Kilzer  <ddkilzer@apple.com>
953
954         BUILD FIX (r149579): Use Vector::appendVector() instead of Vector::append()
955
956         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
957         (concatenateAttributeAndValue): Switch to appendVector().
958
959 2013-05-08  Andras Becsi  <andras.becsi@digia.com>
960
961         [Qt][WTR] Fix the build on Mac after r149692
962
963         Unreviewed build fix.
964
965         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
966         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
967
968 2013-05-08  Mario Sanchez Prada  <mario.prada@samsung.com>
969
970         Unreviewed. Added Anton Obzhirov to the list of contributors and myself
971         to the watchlist for Accessibility.
972
973         * Scripts/webkitpy/common/config/contributors.json: Added Anton Obzhirov.
974         * Scripts/webkitpy/common/config/watchlist: Added myself.
975
976 2013-05-08  Andras Becsi  <andras.becsi@digia.com>
977
978         [Qt] Build fails with clang
979         https://bugs.webkit.org/show_bug.cgi?id=115741
980
981         Reviewed by Benjamin Poulain.
982
983         Since r149112 std::move is used in AtomicString for compilers that
984         support rvalue references and this requires a standard library
985         implementing c++11 move semantics.
986         We only explicitely require c++11 for WebKit2, but since clang supports
987         rvalue references the build of subtargets using AtomicString fails because
988         of missing std::move.
989         It is safe to add CONFIG += c++11 for the whole project when using clang
990         since we explicitely disable c++11 for ANGLE that had probems with libc++.
991
992         * qmake/mkspecs/features/unix/default_pre.prf:
993
994 2013-05-08  Darin Adler  <darin@apple.com>
995
996         Fix one more place that needed to use adoptCF/NS
997         https://bugs.webkit.org/show_bug.cgi?id=115778
998
999         Reviewed by Benjamin Poulain.
1000
1001         Not sure why I missed this code last time, but found a bit more code that needs
1002         to switch to the newer style adoptCF/NS.
1003
1004         * WebKitTestRunner/cf/WebArchiveDumpSupport.cpp:
1005         (convertWebResourceDataToString): Use adoptCF.
1006         (convertWebResourceResponseToDictionary): Ditto.
1007         (createXMLStringFromWebArchiveData): Ditto.
1008         * WebKitTestRunner/mac/WebArchiveDumpSupportMac.mm:
1009         (createCFURLResponseFromResponseData): Use adoptNS and adoptCF.
1010
1011 2013-05-08  Commit Queue  <commit-queue@webkit.org>
1012
1013         Unreviewed, rolling out r149271.
1014         http://trac.webkit.org/changeset/149271
1015         https://bugs.webkit.org/show_bug.cgi?id=115780
1016
1017         The mangled symbols are now enforced through LDFLAGS
1018         (Requested by zdobersek on #webkit).
1019
1020         * BuildSlaveSupport/gtk/daemontools-buildbot.conf:
1021
1022 2013-05-08  Zan Dobersek  <zdobersek@igalia.com>
1023
1024         [Flakiness Dashboard] Remove the Chromium fallback platforms listing from the legend popup
1025         https://bugs.webkit.org/show_bug.cgi?id=115636
1026
1027         Reviewed by Ryosuke Niwa.
1028
1029         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1030         (showLegend): Remove the listing of the Chromium fallback platforms from the legend popup. The code iterated
1031         through the platforms in the g_fallbacksMap dictionary to construct this part of the legend, but the dictionary,
1032         while Chromium-specific, can't be removed just yet as there's more code that uses it.
1033
1034 2013-05-06  Darin Adler  <darin@apple.com>
1035
1036         Use adoptCF and adoptNS in more places, test code and code not compiled on Mac
1037         https://bugs.webkit.org/show_bug.cgi?id=115657
1038
1039         Reviewed by Sam Weinig.
1040
1041         This is similar to my last set of changes, but covers code that I missed with
1042         global replace using the Safari Xcode workspace.
1043
1044         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
1045         (convertWebResourceDataToString):
1046         (convertWebResourceResponseToDictionary):
1047         (createXMLStringFromWebArchiveData):
1048         * DumpRenderTree/cg/ImageDiffCG.cpp:
1049         (createImageFromStdin):
1050         (createDifferenceImage):
1051         (main):
1052         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1053         (printPNG):
1054         (dumpBitmap):
1055         * DumpRenderTree/cg/PixelDumpSupportCG.h:
1056         (BitmapContext::BitmapContext):
1057         * DumpRenderTree/mac/MockWebNotificationProvider.mm:
1058         (-[MockWebNotificationProvider init]):
1059         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1060         (createBitmapContext):
1061         * DumpRenderTree/mac/TestRunnerMac.mm:
1062         (TestRunner::addDisallowedURL):
1063         (TestRunner::applicationCacheDiskUsageForOrigin):
1064         (TestRunner::localStorageDiskUsageForOrigin):
1065         (TestRunner::clearApplicationCacheForOrigin):
1066         (TestRunner::deleteLocalStorageForOrigin):
1067         (TestRunner::copyDecodedHostName):
1068         (TestRunner::copyEncodedHostName):
1069         (TestRunner::queueLoad):
1070         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
1071         (TestRunner::setMockGeolocationPositionUnavailableError):
1072         (TestRunner::setUserStyleSheetLocation):
1073         (TestRunner::setValueForUser):
1074         (TestRunner::overridePreference):
1075         (TestRunner::setPersistentUserStyleSheetLocation):
1076         (TestRunner::execCommand):
1077         (TestRunner::findString):
1078         (TestRunner::isCommandEnabled):
1079         (TestRunner::addOriginAccessWhitelistEntry):
1080         (TestRunner::removeOriginAccessWhitelistEntry):
1081         (TestRunner::addUserScript):
1082         (TestRunner::addUserStyleSheet):
1083         (TestRunner::evaluateInWebInspector):
1084         (TestRunner::evaluateScriptInIsolatedWorld):
1085         (TestRunner::apiTestNewWindowDataLoadBaseURL):
1086         (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]):
1087         (TestRunner::authenticateSession):
1088         (TestRunner::grantWebNotificationPermission):
1089         (TestRunner::denyWebNotificationPermission):
1090         * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
1091         (createCFURLResponseFromResponseData):
1092         * DumpRenderTree/mac/WorkQueueItemMac.mm:
1093         (LoadItem::invoke):
1094         (LoadHTMLStringItem::invoke):
1095         (ScriptItem::invoke):
1096         * DumpRenderTree/win/DumpRenderTree.cpp:
1097         (substringFromIndex):
1098         (urlSuitableForTestResult):
1099         (lastPathComponent):
1100         (sharedCFURLCache):
1101         * DumpRenderTree/win/ImageDiffCairo.cpp:
1102         (createImageFromStdin):
1103         (main):
1104         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
1105         (createBitmapContextFromWebView):
1106         * DumpRenderTree/win/TestRunnerWin.cpp:
1107         (TestRunner::setUserStyleSheetLocation):
1108         (TestRunner::setPersistentUserStyleSheetLocation):
1109         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
1110         (TestWebKitAPI::TEST):
1111         * TestWebKitAPI/Tests/TestWebKitAPI/mac/InstanceMethodSwizzler.mm:
1112         (TestWebKitAPI::TEST):
1113         * TestWebKitAPI/Tests/WTF/cf/RetainPtrHashing.cpp:
1114         (TestWebKitAPI::TEST):
1115         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
1116         (TestWebKitAPI::TEST):
1117         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
1118         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
1119         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm:
1120         (TestWebKitAPI::createWindow):
1121         (TestWebKitAPI::TEST):
1122         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
1123         (TestWebKitAPI::TEST):
1124         * TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm:
1125         (TestWebKitAPI::AcceptsFirstMouse::runTest):
1126         * TestWebKitAPI/Tests/mac/AttributedString.mm:
1127         (TestWebKitAPI::TEST):
1128         * TestWebKitAPI/Tests/mac/BackForwardList.mm:
1129         (TestWebKitAPI::TEST):
1130         * TestWebKitAPI/Tests/mac/CancelLoadFromResourceLoadDelegate.mm:
1131         (TestWebKitAPI::TEST):
1132         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.mm:
1133         (TestWebKitAPI::TEST):
1134         * TestWebKitAPI/Tests/mac/DOMHTMLTableCellCellAbove.mm:
1135         (TestWebKitAPI::TEST):
1136         * TestWebKitAPI/Tests/mac/DOMRangeOfString.mm:
1137         (TestWebKitAPI::TEST):
1138         * TestWebKitAPI/Tests/mac/DeviceScaleFactorInDashboardRegions.mm:
1139         (TestWebKitAPI::TEST):
1140         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
1141         (TestWebKitAPI::DeviceScaleFactorOnBack::createWindow):
1142         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
1143         (TestWebKitAPI::DynamicDeviceScaleFactor::createWindow):
1144         * TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm:
1145         (TestWebKitAPI::TEST):
1146         * TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm:
1147         (TestWebKitAPI::TEST):
1148         * TestWebKitAPI/Tests/mac/InspectorBar.mm:
1149         (TestWebKitAPI::TEST):
1150         * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.mm:
1151         (TestWebKitAPI::TEST):
1152         * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm:
1153         (TestWebKitAPI::TEST):
1154         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
1155         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::runTest):
1156         * TestWebKitAPI/Tests/mac/RenderedImageFromDOMRange.mm:
1157         (TestWebKitAPI::TEST):
1158         * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm:
1159         (TestWebKitAPI::TEST):
1160         * TestWebKitAPI/Tests/mac/SetDocumentURI.mm:
1161         (TestWebKitAPI::TEST):
1162         * TestWebKitAPI/Tests/mac/SimplifyMarkup.mm:
1163         (TestWebKitAPI::TEST):
1164         * TestWebKitAPI/Tests/mac/StringByEvaluatingJavaScriptFromString.mm:
1165         (TestWebKitAPI::TEST):
1166         * TestWebKitAPI/Tests/mac/WillSendSubmitEvent.mm:
1167         (TestWebKitAPI::TEST):
1168         * TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.mm:
1169         (TestWebKitAPI::TEST):
1170         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
1171         (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
1172         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
1173         (TestWebKitAPI::WebKitAgnosticTest::runWebKit1Test):
1174         (TestWebKitAPI::WebKitAgnosticTest::runWebKit2Test):
1175         * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
1176         (WTR::testPathFromURL):
1177         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
1178         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
1179         * WebKitTestRunner/cg/TestInvocationCG.cpp:
1180         (WTR::createCGContextFromImage):
1181         (WTR::dumpBitmap):
1182         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1183         * WebKitTestRunner/mac/EventSenderProxy.mm:
1184         (WTR::EventSenderProxy::mouseScrollBy):
1185         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1186         (WTR::PlatformWebView::windowSnapshotImage):
1187         * WebKitTestRunner/win/TestControllerWin.cpp:
1188         (WTR::TestController::initializeTestPluginDirectory):
1189         Use adoptCF and adoptNS.
1190
1191 2013-05-07  Alex Christensen  <achristensen@apple.com>
1192
1193         Fix a memory leak introduced in r149692
1194         https://bugs.webkit.org/show_bug.cgi?id=115766
1195
1196         Reviewed by Mark Rowe.
1197
1198         In r149692, the fix for <http://webkit.org/b/42324>, a call to WKBundleFrameCopyWebArchive was added without any 
1199         matching call to WKRelease. An earlier attempted fix in r149697 introduced a RetainPtr but failed to adopt the object.
1200
1201         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1202         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
1203         Fix the memory leak by switching to WKRetainPtr and adopting the returned object.
1204
1205 2013-05-07  Darin Adler  <darin@apple.com>
1206
1207         [Win] Fix storage leak in Windows DumpRenderTree
1208         https://bugs.webkit.org/show_bug.cgi?id=115651
1209
1210         Reviewed by Sam Weinig.
1211
1212         * DumpRenderTree/win/DumpRenderTree.cpp:
1213         (lastPathComponent): Added a missing call to adoptCF.
1214
1215 2013-05-07  Alex Christensen  <achristensen@apple.com>
1216
1217         fixed a memory leak introduced by bug 42324 by using a RetainPtr
1218         https://bugs.webkit.org/show_bug.cgi?id=115760
1219
1220         Reviewed by Tim Horton.
1221
1222         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1223         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
1224         fixed memory leak, added UNUSED_PARAM macros
1225
1226 2013-05-07  Alex Christensen  <achristensen@apple.com>
1227
1228         WebKitTestRunner needs testRunner.dumpDOMAsWebArchive
1229         https://bugs.webkit.org/show_bug.cgi?id=42324
1230         <rdar://problem/8193633>
1231
1232         Reviewed by Tim Horton.
1233
1234         * Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1235         Added dumpDOMAsWebArchive JavaScript function to be called by test cases.
1236         * Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1237         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
1238         Added dumpDOMAsWebArchive code that is called when dumping.        
1239         (WTR::InjectedBundlePage::dump):
1240         Made DOMAsWebArchive case when dumping call dumpDOMAsWebArchive.
1241         * Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1242         (InjectedBundlePage):
1243         Added dumpDOMAsWebArchive declaration.
1244         * Tools/WebKitTestRunner/InjectedBundle/TestRunner.h:
1245         (WTR::TestRunner::dumpDOMAsWebArchive):
1246         Added dumpDOMAsWebArchive JS callback function that sets m_whatToDump to DOMAsWebArchive.
1247         * Tools/WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1248         Added WebArchiveDumpSupport.cpp, WebArchiveDumpSupport.h, WebArchiveDumpSupportMac.mm to project.
1249         * Tools/WebKitTestRunner/cf: Added.
1250         * Tools/WebKitTestRunner/cf/WebArchiveDumpSupport.cpp: Added.
1251         Copied from Tools/DumpRenderTree/cf for createXMLStringFromWebArchiveData and other functions it uses.
1252         (convertMIMEType):
1253         (convertWebResourceDataToString):
1254         (normalizeHTTPResponseHeaderFields):
1255         (normalizeWebResourceURL):
1256         (convertWebResourceResponseToDictionary):
1257         (compareResourceURLs):
1258         (createXMLStringFromWebArchiveData):
1259         * Tools/WebKitTestRunner/cf/WebArchiveDumpSupport.h: Added.
1260         Copied from Tools/DumpRenderTree/cf for used symbol declarations.
1261         * Tools/WebKitTestRunner/mac/WebArchiveDumpSupportMac.mm: Added.
1262         Copied from Tools/DumpRenderTree/mac for used functions.
1263         (createCFURLResponseFromResponseData):
1264         (supportedNonImageMIMETypes):
1265
1266 2013-05-07  Alex Christensen  <achristensen@apple.com>
1267
1268         Updated style of WebArchiveDumpSupport before putting it into WebKitTestRunner.
1269         https://bugs.webkit.org/show_bug.cgi?id=115745
1270
1271         Reviewed by Tim Horton.
1272
1273         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
1274         (compareResourceURLs):
1275         Updated style.
1276
1277 2013-05-06  Ryosuke Niwa  <rniwa@webkit.org>
1278
1279         Add an 'isReadOnly' member to IDL parse tree structure
1280         https://bugs.webkit.org/show_bug.cgi?id=115704
1281
1282         Reviewed by Kentaro Hara.
1283
1284         Use newly added isReadOnly attribute.
1285
1286         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
1287         (_generateHeaderFile):
1288         (_generateImplementationFile):
1289         (_staticValuesGetterImplementation):
1290
1291 2013-05-07  Anders Carlsson  <andersca@apple.com>
1292
1293         Remove AlwaysInline.h from WTF
1294         https://bugs.webkit.org/show_bug.cgi?id=115727
1295
1296         Reviewed by Brent Fulgham.
1297
1298         The macro that used to be in AlwaysInline.h is now in Compiler.h so there's no reason
1299         to keep AlwaysInline.h around anymore.
1300
1301         * DumpRenderTree/qt/DumpRenderTreeMain.cpp:
1302         * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
1303
1304 2013-05-07  Andras Becsi  <andras.becsi@digia.com>
1305
1306         [Qt][WTR] QQuickWindowPrivate::setRenderWithoutShowing has been removed from Qt 5
1307         https://bugs.webkit.org/show_bug.cgi?id=114808
1308
1309         Reviewed by Jocelyn Turcotte.
1310
1311         QQuickWindow::grabWindow() has been implemented for isVisible=false for Qt 5.1.
1312         (https://codereview.qt-project.org/#change,54234)
1313
1314         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
1315         (WTR::WrapperWindow::handleStatusChanged):
1316
1317 2013-05-06  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1318
1319         Unreviewed. Add my email to EFL and BindingsScripts watchlists.
1320
1321         * Scripts/webkitpy/common/config/watchlist:
1322
1323 2013-05-06  Kangil Han  <kangil.han@samsung.com>
1324
1325         [EFL][WK1][PerformanceTests] Adopt --no-timeout option implementation to DumpRenderTree
1326         https://bugs.webkit.org/show_bug.cgi?id=115645
1327
1328         Reviewed by Gyuyoung Kim.
1329
1330         To run performance tests in wk1, we need --no-timeout option implementation.
1331         So adopt it from gtk+ port.
1332
1333         * DumpRenderTree/efl/DumpRenderTree.cpp:
1334         (shouldSetWaitToDumpWatchdog):
1335         (parseCommandLineOptions):
1336         * DumpRenderTree/efl/DumpRenderTreeEfl.h:
1337         * DumpRenderTree/efl/TestRunnerEfl.cpp:
1338         (TestRunner::setWaitToDump):
1339
1340 2013-05-06  Commit Queue  <commit-queue@webkit.org>
1341
1342         Unreviewed, rolling out r149547.
1343         http://trac.webkit.org/changeset/149547
1344         https://bugs.webkit.org/show_bug.cgi?id=115682
1345
1346         Added unittests that fail on bots and spits out text into
1347         stdout (Requested by rniwa on #webkit).
1348
1349         * Scripts/import-w3c-tests: Removed.
1350         * Scripts/webkitpy/w3c/__init__.py: Removed.
1351         * Scripts/webkitpy/w3c/test_converter.py: Removed.
1352         * Scripts/webkitpy/w3c/test_converter_unittest.py: Removed.
1353         * Scripts/webkitpy/w3c/test_importer.py: Removed.
1354         * Scripts/webkitpy/w3c/test_importer_unittest.py: Removed.
1355         * Scripts/webkitpy/w3c/test_parser.py: Removed.
1356         * Scripts/webkitpy/w3c/test_parser_unittest.py: Removed.
1357
1358 2013-05-03  Gustavo Noronha Silva  <gns@gnome.org>
1359
1360         [jhbuild] bump jhbuild version to take advantage of new improvements
1361         https://bugs.webkit.org/show_bug.cgi?id=115558
1362
1363         Reviewed by Martin Robinson.
1364
1365         One of the important improvements is jhbuild no longer fetches git
1366         repositories if they are already at the expected revision, which should
1367         make the EWS bots more robust to git servers unavailability.
1368
1369         * jhbuild/jhbuild-wrapper: bump jhbuild to 496974221c3a8ac4fbbc3b0a577c71cac224130d.
1370
1371 2013-05-06  Manuel Rego Casasnovas  <rego@igalia.com>
1372
1373         [GTK] Add webkit_uri_scheme_request_finish_error
1374         https://bugs.webkit.org/show_bug.cgi?id=94316
1375
1376         Reviewed by Anders Carlsson.
1377
1378         * MiniBrowser/gtk/main.c:
1379         (miniBrowserErrorQuark): Add function to create a global quark for
1380         MiniBrowser.
1381         (aboutURISchemeRequestCallback): Update MiniBrowser to use the new
1382         function webkit_uri_scheme_request_finish_error().
1383
1384 2013-05-06  Mike Lattanzio  <mlattanzio@blackberry.com>
1385
1386         [BlackBerry] Enable and Expose Text Autosizing through BlackBerry::WebKit::WebSettings
1387         https://bugs.webkit.org/show_bug.cgi?id=113808
1388
1389         Reviewed by Rob Buis.
1390
1391         Modify FeatureList.pm and set ENABLE_TEXT_AUTOSIZING to default
1392         to true for BlackBerry.
1393
1394         * Scripts/webkitperl/FeatureList.pm:
1395
1396 2013-05-06  Jessie Berlin  <jberlin@apple.com>
1397
1398         check-webkit-style should complain about a layering violation if platform-specific guards are
1399         used in WebCore outside of the platform directory
1400         https://bugs.webkit.org/show_bug.cgi?id=115567
1401
1402         Reviewed by Benjamin Poulain.
1403
1404         * Scripts/webkitpy/style/checkers/cpp.py:
1405         (check_for_webcore_platform_layering_violation):
1406         If the file is in WebCore but not in platform and contains #if PLATFORM(SOMETHING), emit an error.
1407         (process_line):
1408         Add the check_for_webcore_platform_layering_violation.
1409         (CppChecker):
1410         List the new check.
1411
1412         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1413         (CppStyleTest.test_webcore_platform_layering_violation):
1414         Add tests.
1415
1416 2013-05-06  David Kilzer  <ddkilzer@apple.com>
1417
1418         webkit-patch: fix 'upload' command with Bugzilla 4.2.5
1419         <http://webkit.org/b/115667>
1420
1421         Reviewed by Dirk Pranke.
1422
1423         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1424         (Bugzilla._check_create_bug_response): Update regex to work with
1425         Bugzilla 3.2.3 and 4.2.5.
1426         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
1427         (test__check_create_bug_response): Add new test that covers both
1428         old and new <title> variations.
1429
1430 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
1431
1432         [Flakiness Dashboard] Stop decoding SnowLeopard builder names into platforms
1433         https://bugs.webkit.org/show_bug.cgi?id=115661
1434
1435         Reviewed by Ryosuke Niwa.
1436
1437         The Apple Mac Snow Leopard builders are no long present so there's no need to try to decode such
1438         builders into the APPLE_MAC_SNOW_LEOPARD platforms. Instead, check for the Mountain Lion builders
1439         and decode their names into the APPLE_MAC_MOUNTAIN_LION platforms.
1440
1441         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1442         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
1443
1444 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
1445
1446         [Flakiness Dashboard] Remove everything Chromium from the builders.json-generating script
1447         https://bugs.webkit.org/show_bug.cgi?id=114603
1448
1449         Reviewed by Ryosuke Niwa.
1450
1451         * TestResultServer/generate_builders_json.py:
1452         (insert_builder_and_test_data): Only process the 'layout-tests' steps, but force the name that's used
1453         to represent these to be 'layout-test', for backwards compatibility.
1454         (main): Remove all the build.chromium.org masters.
1455         * TestResultServer/generate_builders_json_unittest.py: Clean up the Chromium-related test cases and update other ones.
1456         (GenerateBuildersJsonTest.test_generate_json_data.dummy_fetch_json):
1457         (GenerateBuildersJsonTest):
1458         (GenerateBuildersJsonTest.test_generate_json_data):
1459         * TestResultServer/static-dashboards/builders.jsonp: Updated after changes to the script, now only lists the
1460         test-running builders from the webkit.org master.
1461
1462 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
1463
1464         [Flakiness Dashboard] Update expected outcome in a couple of unit tests after r148778
1465         https://bugs.webkit.org/show_bug.cgi?id=114988
1466
1467         Reviewed by Ryosuke Niwa.
1468
1469         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: Update the expected platforms list, the Chromium
1470         and Apple Mac Snow Leopard platforms were removed with the Apple Mac Mountain Lion platform being added.
1471         * TestResultServer/static-dashboards/loader_unittests.js: Update the list of the expected loaded expectations platforms,
1472         mac-snowleopard isn't loaded anymore due to the support for the platform being removed, while the mac-wk2 is loaded twice,
1473         once for the Apple Mac Lion and once for the Apple Mac Mountain Lion platform.
1474
1475 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
1476
1477         [Flakiness Dashboard] Remove the remaining traces of platform modifier unions
1478         https://bugs.webkit.org/show_bug.cgi?id=114954
1479
1480         Reviewed by Ryosuke Niwa.
1481
1482         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1483         (processExpectationsForPlatform): Remove the platform tree traversal that checked for presence of the platform
1484         modifier unions in the list of modifiers.
1485         (generatePageForExpectationsUpdate): Only filter through the modifiers that do not represent build types or bug references.
1486         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: Adjust the test cases for the realModifiers unit test.
1487
1488 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
1489
1490         [Flakiness Dashboard] Simplify builder-name-based platform recognition
1491         https://bugs.webkit.org/show_bug.cgi?id=114957
1492
1493         Reviewed by Ryosuke Niwa.
1494
1495         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1496         (determineBuilderPlatform): Renamed from nonChromiumPlatform.
1497         (chromiumPlatform): Removed, unnecessary.
1498         (platformAndBuildType): With Chromium builders are gone, meaning determineBuilderPlatform can be called by default
1499         to determine the platform of the builder. No need to check for 'DBG' substring in the builder name to determine whether
1500         the builder operates with debug builds, no webkit.org builders are named this way.
1501         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
1502         (platformAndBuildTypes): Remove Chromium-specific test cases, reducing the number of expected assertions this test will make.
1503
1504 2013-05-06  Andy Estes  <aestes@apple.com>
1505
1506         Added two files I neglected to commit in r149589.
1507
1508         * TestWebKitAPI/Tests/mac/CloseNewWindowInNavigationPolicyDelegate.mm: Added.
1509         * TestWebKitAPI/Tests/mac/OpenNewWindow.html: Added.
1510
1511 2013-05-04  Andy Estes  <aestes@apple.com>
1512
1513         REGRESSION (r125592): Reproducible crash in DOMWindow::open when a delegate closes the new window in decidePolicyForNavigationAction
1514         https://bugs.webkit.org/show_bug.cgi?id=115609
1515
1516         Reviewed by Oliver Hunt.
1517
1518         Added an API test.
1519
1520         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1521         * TestWebKitAPI/Tests/mac/CloseNewWindowInNavigationPolicyDelegate.mm: Added.
1522         (+[TestDelegate shared]):
1523         (-[TestDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1524         (-[TestDelegate webView:createWebViewWithRequest:]):
1525         (TestWebKitAPI):
1526         (TestWebKitAPI::TEST):
1527         * TestWebKitAPI/Tests/mac/OpenNewWindow.html: Added.
1528
1529 2013-05-06  Antoine Quint  <graouts@apple.com>
1530
1531         Manage the presentation of the snapshotted plug-in using JavaScript
1532         https://bugs.webkit.org/show_bug.cgi?id=115548
1533
1534         Reviewed by Dean Jackson.
1535
1536         Take into account the new plugInExtraScript method added to support
1537         the injection of a JS file from the chrome client to customize the
1538         rendering of a snapshotted plug-in's shadow tree.
1539
1540         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1541         (WTR::InjectedBundlePage::InjectedBundlePage):
1542
1543 2013-05-05  Anders Carlsson  <andersca@apple.com>
1544
1545         Remove the Vector::append overload that takes a Vector
1546         https://bugs.webkit.org/show_bug.cgi?id=115535
1547
1548         Reviewed by Andreas Kling.
1549
1550         Use Vector::appendVector instead.
1551
1552         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1553         (concatenateAttributeAndValue):
1554         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1555         (WTR::concatenateAttributeAndValue):
1556
1557 2013-05-04  Sam Weinig  <sam@webkit.org>
1558
1559         REGRESSION(r148312): Crash when calling WKPageClose(page) followed by WKPageTerminate(page)
1560         <rdar://problem/13702008>
1561         https://bugs.webkit.org/show_bug.cgi?id=115607
1562
1563         Reviewed by Benjamin Poulain.
1564
1565         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1566         * TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp: Added.
1567         (TestWebKitAPI::didFinishLoadForFrame):
1568         (TestWebKitAPI::TEST):
1569         Add test that calls WKPageClose, follow by WKPageTerminate. If it crashes, its not working.
1570
1571 2013-05-04  Zan Dobersek  <zdobersek@igalia.com>
1572
1573         Unreviewed.
1574
1575         * Scripts/webkitpy/common/config/contributors.json: Correcting my igalia.com email address.
1576
1577 2013-05-04  Mihnea Ovidenie  <mihnea@adobe.com>
1578
1579         Unreviewed. Adding Radu Stavila as an Adobe contributor, working on CSSRegions.
1580
1581         * Scripts/webkitpy/common/config/contributors.json:
1582
1583 2013-05-04  Zan Dobersek  <zdobersek@igalia.com>
1584
1585         [GTK] Catch select.error exceptions in parse_output_lines
1586         https://bugs.webkit.org/show_bug.cgi?id=115253
1587
1588         Reviewed by Gustavo Noronha Silva.
1589
1590         Catch any select.error exceptions when waiting for the file descriptor to become readable when parsing the
1591         output lines in common.parse_output_lines. These are currently being thrown when running the GTK unit tests on
1592         builders, but are not fatal. Because of that they are at the moment only logged (writing out the file descriptor,
1593         error code and the error message) and the loop is re-entered.
1594
1595         * gtk/common.py:
1596         (parse_output_lines):
1597
1598 2013-05-04  Zan Dobersek  <zdobersek@igalia.com>
1599
1600         [GTK] Set up the TestWebCore in TestWebKitAPI
1601         https://bugs.webkit.org/show_bug.cgi?id=115237
1602
1603         Reviewed by Gustavo Noronha Silva.
1604
1605         Set up the WebCore unit test program, consisting of the unit tests under the TestWebKitAPI/Tests/WebCore directory.
1606         Again the approach of specifying libtool libraries multiple times in the TestWebCore program's LDFLAGS is used as
1607         a workaround for the layer violations and circular dependencies between various static libraries. Linking against
1608         either libwebkitgtk or libwebkit2gtk shared libraries is avoided due to the unit tests covering WebCore, which
1609         shouldn't rely on neither of the two distributable libraries (hence the dirty workaround).
1610
1611         * TestWebKitAPI/GNUmakefile.am:
1612
1613 2013-05-03  Rebecca Hauck  <rhauck@adobe.com>
1614
1615         Create a script to import W3C tests
1616         https://bugs.webkit.org/show_bug.cgi?id=111513
1617
1618         Reviewed by Dirk Pranke.
1619
1620         Script to automate the import of W3C tests into WebKit. 
1621         For the full description of how it works, see the comments
1622         at the top of test_importer.py.
1623
1624         * Scripts/import-w3c-tests: Added.
1625         * Scripts/webkitpy/w3c/__init__.py: Added.
1626         * Scripts/webkitpy/w3c/test_converter.py: Added.
1627         (TestConverter):
1628         (TestConverter.__init__):
1629         (TestConverter.load_prefixed_prop_list):
1630         (TestConverter.load_file):
1631         (TestConverter.convert_for_webkit):
1632         (TestConverter.convert_testharness_paths):
1633         (TestConverter.convert_prefixed_properties):
1634         (TestConverter.scrub_unprefixed_props):
1635         (TestConverter.replace_tag):
1636         * Scripts/webkitpy/w3c/test_converter_unittest.py: Added.
1637         (TestConverterTest):
1638         (TestConverterTest.testLoadPrefixedPropList):
1639         (TestConverterTest.test_convertForWebkitNothingToConvert):
1640         (test_convertForWebkitHarnessOnly):
1641         (test_convertForWebkitPropsOnly):
1642         (test_convertForWebkitHarnessAndProps):
1643         (test_convertTestHarnessPaths):
1644         (test_convertPrefixedProperties):
1645         (verifyTestHarnessPaths):
1646         (verifyPrefixedProperties):
1647         (generateTestContent):
1648         * Scripts/webkitpy/w3c/test_importer.py: Added.
1649         (main):
1650         (parse_args):
1651         (validate_import_directory):
1652         (TestImporter):
1653         (TestImporter.__init__):
1654         (TestImporter.do_import):
1655         (TestImporter.get_changeset):
1656         (TestImporter.scan_source_directory):
1657         (TestImporter.import_tests):
1658         (TestImporter.setup_destination_directory):
1659         (TestImporter.get_test_status):
1660         (TestImporter.remove_deleted_files):
1661         (TestImporter.write_import_log):
1662         * Scripts/webkitpy/w3c/test_importer_unittest.py: Added.
1663         (TestImporterTest):
1664         (TestImporterTest.test_ImportDirWithNoTests):
1665         * Scripts/webkitpy/w3c/test_parser.py: Added.
1666         (TestParser):
1667         (TestParser.__init__):
1668         (TestParser.load_file):
1669         (TestParser.analyze_test):
1670         (TestParser.get_reftests):
1671         (TestParser.is_jstest):
1672         (TestParser.get_support_files):
1673         * Scripts/webkitpy/w3c/test_parser_unittest.py: Added.
1674         (TestParserTest):
1675         (TestParserTest.test_analyzeTestReftestOneMatch):
1676         (test_analyzeTestReftestMultipleMatches):
1677         (test_analyzeTestReftestMatchAndMismatch):
1678         (test_analyzeTestReftestWithRefSupportFiles):
1679         (test_analyzeJSTest):
1680         (test_analyzePixelTestAllTrue):
1681         (test_analyzePixelTestAllFalse):
1682         (test_analyzeNonHTMLFile):
1683
1684 2013-05-03  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1685
1686         Unreviewed. Update Viatcheslav Ostapenko's email in contributors.json.
1687
1688         * Scripts/webkitpy/common/config/contributors.json:
1689
1690 2013-05-02  Nico Weber  <thakis@chromium.org>
1691
1692         Remove a stale script file.
1693         https://bugs.webkit.org/show_bug.cgi?id=115521
1694
1695         Reviewed by Anders Carlsson.
1696
1697         This script was added in
1698         https://bugs.webkit.org/show_bug.cgi?id=17507, but it relies on the
1699         Bakefile system that was removed in
1700         https://bugs.webkit.org/show_bug.cgi?id=49983 . As a result, this
1701         script just asserts when it's run and is useless.
1702
1703         * Scripts/update-sources-list.py: Removed.
1704
1705 2013-05-01  Glenn Adams  <glenn@skynav.com>
1706
1707         [webkitpy] Need abstract base class for commands that analyze commit logs
1708         https://bugs.webkit.org/show_bug.cgi?id=115391
1709
1710         Reviewed by Benjamin Poulain.
1711
1712         Move commit log parsing functions into new abstract base class AbstractCommitLogCommand
1713         in preparation for adding two new commands that will reuse this functionality along with
1714         suggest-nominations. See https://bugs.webkit.org/show_bug.cgi?id=115387 and
1715         https://bugs.webkit.org/show_bug.cgi?id=115388.
1716
1717         No new tests as this patch does not change existing functionality or behavior.
1718
1719         * Scripts/webkitpy/tool/commands/suggestnominations.py:
1720         (AbstractCommitLogCommand): Add abstract base class for commands that analyze commit logs.
1721         (AbstractCommitLogCommand.__init__):
1722         (AbstractCommitLogCommand._init_options):
1723         (AbstractCommitLogCommand._parse_commit_message):
1724         (SuggestNominations): Move generic commit log parsing into new base class. Use new base class.
1725         (SuggestNominations.__init__): 
1726         (SuggestNominations._init_options):
1727
1728 2013-05-01  Seokju Kwon  <seokju.kwon@gmail.com>
1729
1730         Web Inspector: Fix check-inspector-strings script and fix localized strings
1731         https://bugs.webkit.org/show_bug.cgi?id=115495
1732
1733         Reviewed by Joseph Pecoraro.
1734
1735         * Scripts/check-inspector-strings:
1736
1737 2013-05-01  Zan Dobersek  <zdobersek@igalia.com>
1738
1739         [TestWebKitAPI] <WebKit2/WebKit2_C.h> being included in GTK WK1-only builds
1740         https://bugs.webkit.org/show_bug.cgi?id=115470
1741
1742         Reviewed by Martin Robinson.
1743
1744         In the TestWebKitAPI's config.h header, only include the <WebKit2/WebKit2_C.h> header when
1745         not building either of the IOS, Windows or GTK-WK1 platforms.
1746
1747         Up until now the header was included for everything but the IOS and Windows platforms due to
1748         an incorrectly stated condition regarding the GTK platform.
1749
1750         * TestWebKitAPI/config.h:
1751
1752 2013-05-01  Zan Dobersek  <zdobersek@igalia.com>
1753
1754         [GTK] Split the forwarding headers stamp in the TestWebKitAPI GNUmakefile.am
1755         https://bugs.webkit.org/show_bug.cgi?id=115469
1756
1757         Reviewed by Martin Robinson.
1758
1759         Split the stamp-testwebkitapi-forwarding-headers into two stamps, one covering forwarding headers
1760         for the WebCore tests (under the Tests/WebCore directory) and the other covering forwarding headers
1761         for the WebKit2 tests and the injected bundle required by them.
1762
1763         This makes it possible for the WebCore tests to compile when the WebKit2 build is disabled, i.e. the WebCore
1764         tests shouldn't depend on the WebKit2 build (though the forwarding headers generation script is stored
1765         under the WebKit2 code).
1766
1767         The WebCore forwarding headers are generated by scanning only the files under the Tests/WebCore directory,
1768         while the WebKit2 forwarding headers generation should keep on scanning the complete root directory of the
1769         TestWebKitAPI subproject, though the target directory should be narrowed down if at all possible.
1770
1771         * TestWebKitAPI/GNUmakefile.am:
1772
1773 2013-04-30  Glenn Adams  <glenn@skynav.com>
1774
1775         Unreviewed. Add myself to watchlist entries.
1776
1777         * Scripts/webkitpy/common/config/watchlist:
1778
1779 2013-04-30  Glenn Adams  <glenn@skynav.com>
1780
1781         [webkitpy] suggest-nominations doesn't count all qualified patches
1782         https://bugs.webkit.org/show_bug.cgi?id=115285
1783
1784         Reviewed by Benjamin Poulain.
1785
1786         Fix commit analysis so that patches made by an existing committer are counted towards reviewer
1787         nomination. Improve commit log parsing.
1788
1789         * Scripts/webkitpy/tool/commands/suggestnominations.py:
1790         (CommitLogError):
1791         (CommitLogError.__init__):
1792         (CommitLogMissingReviewer):
1793         (CommitLogMissingReviewer.__init__):
1794         (SuggestNominations):
1795         (SuggestNominations.__init__):
1796         (SuggestNominations._recent_commit_messages):
1797         (SuggestNominations._author_name_from_email):
1798         (SuggestNominations._contributor_from_email):
1799         (SuggestNominations._parse_commit_message):
1800         (SuggestNominations._count_commit):
1801         (SuggestNominations._count_recent_patches):
1802         (SuggestNominations._collect_nominations):
1803         (SuggestNominations._print_nominations):
1804         (SuggestNominations.execute):
1805         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
1806         (_make_options):
1807         (test_recent_commit_messages):
1808         (test_basic):
1809
1810 2013-04-30  Commit Queue  <rniwa@webkit.org>
1811
1812         Unreviewed, rolling out r149309.
1813         http://trac.webkit.org/changeset/149309
1814         https://bugs.webkit.org/show_bug.cgi?id=115430
1815
1816         The patch does not build on WK1-only builds of the GTK port
1817         (Requested by zdobersek on #webkit).
1818
1819         * TestWebKitAPI/GNUmakefile.am:
1820
1821 2013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1822
1823         Stop using "in" keyword in IDL files
1824         https://bugs.webkit.org/show_bug.cgi?id=115418
1825
1826         Reviewed by Kentaro Hara.
1827
1828         Remove "in" keyword from IDL files as this is no longer part of the Web
1829         IDL specification.
1830
1831         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
1832         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
1833         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
1834         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1835         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1836         * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
1837         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1838         * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
1839
1840 2013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1841
1842         [EFL] Enable scaled cursors
1843         https://bugs.webkit.org/show_bug.cgi?id=106242
1844
1845         Reviewed by Gyuyoung Kim.
1846
1847         Enable ENABLE_MOUSE_CURSOR_SCALE for EFL port.
1848
1849         * Scripts/webkitperl/FeatureList.pm:
1850
1851 2013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1852
1853         Replace "Optional" extended attribute by proper Web IDL "optional" keyword
1854         https://bugs.webkit.org/show_bug.cgi?id=115380
1855
1856         Reviewed by Kentaro Hara.
1857
1858         Replace WebKit-specific [Optional] extended attribute by Web IDL "optional"
1859         keyword.
1860
1861         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1862         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1863
1864 2013-04-30  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
1865
1866         Fix the USE(3D_GRAPHICS) build with the standard OpenGL on Windows
1867         https://bugs.webkit.org/show_bug.cgi?id=114684
1868
1869         Reviewed by Simon Hausmann.
1870
1871         Remove the ANGLE requirement for USE(3D_GRAPHICS).
1872         This enables WebKit2 in the build when using a "-opengl desktop" configured Qt.
1873
1874         * qmake/mkspecs/features/features.prf:
1875
1876 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
1877
1878         [GTK] Disable Shadow DOM feature
1879         https://bugs.webkit.org/show_bug.cgi?id=115374
1880
1881         Reviewed by Martin Robinson.
1882
1883         Disable the Shadow DOM feature on the GTK port, the feature is planned for removal.
1884
1885         * Scripts/webkitperl/FeatureList.pm:
1886
1887 2013-04-29  Glenn Adams  <glenn@skynav.com>
1888
1889         [webkitpy] Add missing contributor email addresses
1890         https://bugs.webkit.org/show_bug.cgi?id=115394
1891
1892         Reviewed by Ryosuke Niwa.
1893
1894         * Scripts/webkitpy/common/config/contributors.json:
1895
1896 2013-04-29  Alberto Garcia  <agarcia@igalia.com>
1897
1898         Remove all remaining Skia code
1899         https://bugs.webkit.org/show_bug.cgi?id=115263
1900
1901         Reviewed by Benjamin Poulain.
1902
1903         Remove all remaining references to Skia.
1904
1905         * Scripts/webkitdirs.pm:
1906         (blackberryCMakeArguments):
1907         * Scripts/webkitpy/common/config/contributionareas.py:
1908         * Scripts/webkitpy/common/config/watchlist:
1909
1910 2013-04-29  Seokju Kwon  <seokju.kwon@gmail.com>
1911
1912         Get rid of unused options in Tools/Scripts/webkit-build-directory
1913         https://bugs.webkit.org/show_bug.cgi?id=115383
1914
1915         Reviewed by Darin Adler.
1916
1917         * Scripts/webkit-build-directory:
1918
1919 2013-04-29  Alexey Proskuryakov  <ap@apple.com>
1920
1921         [WK2][Mac] Test with NetworkProcess enabled.
1922
1923         Fix the build for non-Mac.
1924
1925         * WebKitTestRunner/TestController.cpp:
1926         (WTR::TestController::initialize):
1927
1928 2013-04-29  Alexey Proskuryakov  <ap@apple.com>
1929
1930         [WK2][Mac] Test with NetworkProcess enabled.
1931
1932         Reviewed by Sam Weinig.
1933
1934         * WebKitTestRunner/TestController.cpp:
1935         (WTR::TestController::initialize):
1936
1937 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
1938
1939         [GTK] Set up the TestWebCore in TestWebKitAPI
1940         https://bugs.webkit.org/show_bug.cgi?id=115237
1941
1942         Reviewed by Gustavo Noronha Silva.
1943
1944         Set up the WebCore unit test program, consisting of the unit tests under the TestWebKitAPI/Tests/WebCore directory.
1945         Again the approach of specifying libtool libraries multiple times in the TestWebCore program's LDFLAGS is used as
1946         a workaround for the layer violations and circular dependencies between various static libraries. Linking against
1947         either libwebkitgtk or libwebkit2gtk shared libraries is avoided due to the unit tests covering WebCore, which
1948         shouldn't rely on neither of the two distributable libraries (hence the dirty workaround).
1949
1950         * TestWebKitAPI/GNUmakefile.am:
1951
1952 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
1953
1954         [GTK] Set up the TestJavaScriptCore in TestWebKitAPI
1955         https://bugs.webkit.org/show_bug.cgi?id=115236
1956
1957         Reviewed by Gustavo Noronha Silva.
1958
1959         Set up the TestJavaScriptCore unit test program, consisting of the unit tests
1960         under the TestWebKitAPI/Tests/JavaScriptCore directory.
1961
1962         * TestWebKitAPI/GNUmakefile.am:
1963
1964 2013-04-29  Zan Dobersek  <zdobersek@igalia.com>
1965
1966         [GTK] Export the COLLECT_NO_DEMANGLE variable on the builders
1967         https://bugs.webkit.org/show_bug.cgi?id=115323
1968
1969         Reviewed by Philippe Normand.
1970
1971         Export the COLLECT_NO_DEMANGLE environment variable on the GTK BuildBot builders.
1972         Its presence enforces linkers to output mangled symbols when reporting linking failures
1973         due to unresolved references. People trying to fix the build can then simply copy
1974         the printed mangled symbol into the symbols.filter file instead of doing a manual build
1975         or connecting to the builders to discover the mangled version of the missing symbol.
1976
1977         * BuildSlaveSupport/gtk/daemontools-buildbot.conf:
1978
1979 2013-04-28  Zan Dobersek  <zdobersek@igalia.com>
1980
1981         Remove Chromium code from Tools/BuildSlaveSupport
1982         https://bugs.webkit.org/show_bug.cgi?id=115325
1983
1984         Reviewed by Benjamin Poulain.
1985
1986         Remove the two Chromium-specific scripts and the Chromium-specific parts from the code
1987         covering archiving test results and built products.
1988
1989         * BuildSlaveSupport/built-product-archive:
1990         (archiveBuiltProduct):
1991         (extractBuiltProduct):
1992         * BuildSlaveSupport/chromium/output-android-device-status: Removed.
1993         * BuildSlaveSupport/chromium/remove-crash-logs: Removed.
1994         * BuildSlaveSupport/test-result-archive:
1995         (archiveTestResults):
1996
1997 2013-04-28  Seokju Kwon  <seokju.kwon@gmail.com>
1998
1999         Remove support for Chromium from webkitdirs.pm
2000         https://bugs.webkit.org/show_bug.cgi?id=115338
2001
2002         Reviewed by Darin Adler.
2003
2004         * Scripts/webkitdirs.pm:
2005         (determineBaseProductDir):
2006         (argumentsForConfiguration):
2007         (builtDylibPathForName):
2008         (determineIsQt):
2009         (isAppleWebKit):
2010
2011 2013-04-28  Zan Dobersek  <zdobersek@igalia.com>
2012
2013         Rename TestRunner's setAudioData to setAudioResult
2014         https://bugs.webkit.org/show_bug.cgi?id=115326
2015
2016         Reviewed by Darin Adler.
2017
2018         Rename the TestRunner's setAudioData method to setAudioResult. The new name better conveys the method's purpose
2019         than the previous one. The change is a simple rename, there's no change in the method's functionality. The
2020         affected tests are adjusted accordingly.
2021
2022         * DumpRenderTree/qt/TestRunnerQt.cpp:
2023         (TestRunnerQt::setAudioResult):
2024         * DumpRenderTree/qt/TestRunnerQt.h:
2025         (TestRunnerQt):
2026         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2027         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2028         (WTR::TestRunner::setAudioResult):
2029         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2030         (TestRunner):
2031
2032 2013-04-28  Zan Dobersek  <zdobersek@igalia.com>
2033
2034         [WKTR] Tests dumping audio data shouldn't dump pixels
2035         https://bugs.webkit.org/show_bug.cgi?id=115270
2036
2037         Reviewed by Benjamin Poulain.
2038
2039         Prevent dumping the pixel output when Web Audio tests are dumping output data
2040         as the testing output. Pixel output in these tests has no real meaning and is
2041         as such unnecessary.
2042
2043         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2044         (WTR::TestRunner::setAudioData):
2045
2046 2013-04-27  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2047
2048         [EFL] Unreviewed Intel bots fix after r149231.
2049
2050         * efl/jhbuild.modules: Disable the libxml Python bindings since the
2051         bots don't have Python's development files installed. libxml should
2052         detect this kind of thing better.
2053
2054 2013-04-26  Ryuan Choi  <ryuan.choi@samsung.com>
2055
2056         [EFL] Build break using jhbuild on ubuntu 13.04
2057         https://bugs.webkit.org/show_bug.cgi?id=115225
2058
2059         Reviewed by Gyuyoung Kim.
2060
2061         libxslt in Ubuntu 13.04 requires libxml 2.9.0 or higher and
2062         libxml 2.9.0 has a bug to make regression which r138422 mentioned.
2063         So this patch bumped libxml version to 2.9.1.
2064
2065         * efl/jhbuild.modules:
2066
2067 2013-04-26  Jeffrey Pfau  <jpfau@apple.com>
2068
2069         delete-stale-build-files does not clear .d files
2070         http://bugs.webkit.org/show_bug.cgi?id=115293
2071
2072         Reviewed by Ryosuke Niwa.
2073
2074         * BuildSlaveSupport/delete-stale-build-files:
2075         (main): Add .d to the file type list
2076
2077 2013-04-26  Roger Fong  <roger_fong@apple.com>
2078
2079         Make Apple Windows VS2010 build results into and get dependencies from __32 suffixed folders.
2080         Make the DebugSuffix configuration use _debug dependencies.
2081
2082         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
2083         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeApple.props:
2084         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
2085         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebug.props:
2086         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebugWinCairo.props:
2087         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
2088         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherCommon.props:
2089         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherDebug.props:
2090         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherProduction.props:
2091         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherRelease.props:
2092         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePostBuild.cmd:
2093         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeProduction.props:
2094         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeRelease.props:
2095         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeReleaseWinCairo.props:
2096         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
2097         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommon.props:
2098         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebug.props:
2099         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebugWinCairo.props:
2100         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
2101         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherCommon.props:
2102         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherDebug.props:
2103         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherProduction.props:
2104         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherRelease.props:
2105         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffProduction.props:
2106         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffRelease.props:
2107         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffReleaseWinCairo.props:
2108         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def:
2109         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
2110         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters:
2111         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props:
2112         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginDebug.props:
2113         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginProduction.props:
2114         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginRelease.props:
2115         * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin_debug.def: Removed.
2116         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2117         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:
2118         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props:
2119         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebug.props:
2120         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebugWinCairo.props:
2121         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIProduction.props:
2122         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIRelease.props:
2123         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIReleaseWinCairo.props:
2124         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
2125         * WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props:
2126         * WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props:
2127         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2128         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props:
2129         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props:
2130         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props:
2131         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props:
2132         * WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props:
2133         * WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props:
2134         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
2135         * win/AssembleBuildLogs/AssembleLogs.cmd:
2136         * win/record-memory/record-memory.vcxproj:
2137         * win/record-memory/record-memoryDebug.props:
2138         * win/record-memory/record-memoryDebugWinCairo.props:
2139         * win/record-memory/record-memoryProduction.props:
2140         * win/record-memory/record-memoryRelease.props:
2141         * win/record-memory/record-memoryReleaseWinCairo.props:
2142
2143 2013-04-26  Zan Dobersek  <zdobersek@igalia.com>
2144
2145         [GTK] Clean up the TestWebKitAPI GNUmakefile.am
2146         https://bugs.webkit.org/show_bug.cgi?id=115233
2147
2148         Reviewed by Martin Robinson.
2149
2150         Specify unconditional, non-installable program targets in one declaration. Only conditionally specify
2151         WebKit2-specific targets, not the complete target setups (i.e. targets' sources, cppflags listings etc.).
2152         Add missing unit test source files to the TestWTF program, namely HashSet.cpp and MetaAllocator.cpp.
2153         Specify the TestWTF program's CXXFLAGS to be the same as the global cxxflags as the source files need to
2154         be compiled with the -fno-rtti flag that's present in the global_cxxflags variable.
2155
2156         * TestWebKitAPI/GNUmakefile.am:
2157
2158 2013-04-25  Andy Estes  <aestes@apple.com>
2159
2160         [WebKit2] Loading a resource from a custom protocol in a synchronous XHR times out
2161         https://bugs.webkit.org/show_bug.cgi?id=115223
2162
2163         Reviewed by Darin Adler.
2164
2165         Added an API test.
2166
2167         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added new files.
2168         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm: Added.
2169         (TestWebKitAPI::TEST): Tested that a synchronous XHR does not time out
2170         when it loads a request with a custom protocol.
2171         * TestWebKitAPI/Tests/WebKit2/custom-protocol-sync-xhr.html: Added.
2172         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm: Moved the
2173         NSURLProtocol subclass to TestProtocol.{h, mm} and did some
2174         miscellaneous cleanup.
2175         * TestWebKitAPI/mac/TestProtocol.h: Copied from Source/WebKit2/WebProcess/WebProcessSupplement.h.
2176         * TestWebKitAPI/mac/TestProtocol.mm: Copied from Tools/TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm.
2177         (+[TestProtocol canInitWithRequest:]):
2178         (+[TestProtocol canonicalRequestForRequest:]):
2179         (+[TestProtocol requestIsCacheEquivalent:toRequest:]):
2180         (+[TestProtocol scheme]):
2181         (-[TestProtocol startLoading]):
2182         (-[TestProtocol stopLoading]):
2183
2184 2013-04-26  Martin Robinson  <mrobinson@igalia.com>
2185
2186         Remove the remaining Skia #ifdefs
2187         https://bugs.webkit.org/show_bug.cgi?id=114886
2188
2189         Reviewed by Benjamin Poulain.
2190
2191         * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp:
2192         (createBitmapContextFromWebView): Remove Skia #ifdef references.
2193
2194 2013-04-26  Mary Wu  <mary.wu@torchmobile.com.cn>
2195
2196         [BlackBerry] Clean up load interface in WebPage
2197         https://bugs.webkit.org/show_bug.cgi?id=113267
2198
2199         Reviewed by Rob Buis.
2200
2201         Update DumpRenderTree with change of load() interface in WebPage.
2202         RIM Bug# 315535, internally reviewed by Joe Mason.
2203
2204         * DumpRenderTree/blackberry/DumpRenderTree.cpp:
2205         (BlackBerry::WebKit::DumpRenderTree::runTest):
2206
2207 2013-04-26  Zan Dobersek  <zdobersek@igalia.com>
2208
2209         Remove the HeapGraphSerializer unit test
2210         https://bugs.webkit.org/show_bug.cgi?id=115231
2211
2212         Reviewed by Andreas Kling.
2213
2214         Remove the HeapGraphSerializer unit test. The code it was testing was removed in r148921,
2215         specifically the Source/WebCore/inspector/HeapGraphSerializer.(cpp|h) files.
2216
2217         * TestWebKitAPI/Tests/WebCore/HeapGraphSerializerTest.cpp: Removed.
2218
2219 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
2220
2221         Remove support for Chromium from build/update scripts
2222         https://bugs.webkit.org/show_bug.cgi?id=115218
2223
2224         Reviewed by Darin Adler.
2225
2226         * Scripts/build-webkit:
2227         (writeCongrats):
2228         * Scripts/update-webkit:
2229
2230 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
2231
2232         Remove support for Chromium from api-test
2233         https://bugs.webkit.org/show_bug.cgi?id=115211
2234
2235         Reviewed by Dirk Pranke.
2236
2237         * Scripts/build-api-tests:
2238         * Scripts/run-api-tests:
2239         (isSupportedPlatform):
2240
2241 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
2242
2243         Get rid of Chromium in build-dumprendertree
2244         https://bugs.webkit.org/show_bug.cgi?id=115212
2245
2246         Reviewed by Dirk Pranke.
2247
2248         * Scripts/build-dumprendertree:
2249
2250 2013-04-25  Alexey Proskuryakov  <ap@apple.com>
2251
2252         Pass relatedPage when creating a page in WebKitTestRunner
2253         https://bugs.webkit.org/show_bug.cgi?id=115206
2254
2255         Reviewed by Geoffrey Garen.
2256
2257         To make sure that window.open() opens in the same process even when using multiple processes.
2258
2259         * WebKitTestRunner/PlatformWebView.h:
2260         * WebKitTestRunner/TestController.cpp:
2261         (WTR::TestController::createOtherPage):
2262         (WTR::TestController::createWebViewWithOptions):
2263         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2264         (WTR::PlatformWebView::PlatformWebView):
2265         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2266         (WTR::PlatformWebView::PlatformWebView):
2267         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2268         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useTiledDrawing:]):
2269         (WTR::PlatformWebView::PlatformWebView):
2270         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
2271         (WTR::PlatformWebView::PlatformWebView):
2272         * WebKitTestRunner/win/PlatformWebViewWin.cpp:
2273         (WTR::PlatformWebView::PlatformWebView):
2274
2275 2013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
2276
2277         Fix autocompletion for Benjamin. The Bugzilla email address must come first.
2278
2279         * Scripts/webkitpy/common/config/contributors.json:
2280
2281 2013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
2282
2283         Build fix. Forgot to merge args.
2284
2285         * Scripts/webkitpy/tool/bot/irc_command.py:
2286         (Hi.execute):
2287
2288 2013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
2289
2290         webkitbot should recognize its own nickname in greetings.
2291         https://bugs.webkit.org/show_bug.cgi?id=115196
2292
2293         Reviewed by Andreas Kling.
2294
2295         Make webkitbot recognize other forms of its nick. Also be tolerant of spaces between the nick and !.
2296
2297         * Scripts/webkitpy/tool/bot/irc_command.py:
2298         (Hi.execute):
2299
2300 2013-04-25  Xavier Castano  <xcastanho@igalia.com>
2301
2302         [GTK] Tools/gtk/install-dependencies added ragel dependency
2303         https://bugs.webkit.org/show_bug.cgi?id=115163
2304
2305         Reviewed by Xan Lopez.
2306
2307         The install-dependencies script was missing a dependency on ragel
2308         which is expected when building HarfBuzz.
2309
2310         * gtk/install-dependencies: Added a dependency on ragel for both
2311         apt and yum.
2312
2313 2013-04-25  Eduardo Lima Mitev  <elima@igalia.com>
2314
2315         [GTK] Remove pango from optional jhbuild dependencies
2316         https://bugs.webkit.org/show_bug.cgi?id=115162
2317
2318         Reviewed by Martin Robinson.
2319
2320         Pango is not needed since revision r148293 that lowers the pango
2321         dependency to 1.30, which is available in most distributions.
2322
2323         * gtk/jhbuild-optional.modules: Removes description of pango module.
2324
2325 2013-04-25  Seokju Kwon  <seokju.kwon@gmail.com>
2326
2327         Remove Chromium-specific cases from FeatureList.pm
2328         https://bugs.webkit.org/show_bug.cgi?id=115169
2329
2330         Reviewed by Andreas Kling.
2331
2332         * Scripts/webkitperl/FeatureList.pm:
2333
2334 2013-04-24  Seokju Kwon  <seokju.kwon@gmail.com>
2335
2336         Remove checking chromium from run-webkit-tests
2337         https://bugs.webkit.org/show_bug.cgi?id=115139
2338
2339         Reviewed by Benjamin Poulain.
2340
2341         * Scripts/run-webkit-tests:
2342         (useNewRunWebKitTests):
2343
2344 2013-04-24  Simon Fraser  <simon.fraser@apple.com>
2345
2346         Pixel tests in SVG are all broken in WK2
2347         https://bugs.webkit.org/show_bug.cgi?id=114218
2348
2349         Reviewed by Darin Adler.
2350         
2351         Window snapshots in WebKitTestRunner on Mac are window-sized
2352         (800x600), which is wrong for the W3C SVG tests that require a
2353         480x360 snapshot.
2354         
2355         Fix by resizing the window, as well as the web view in
2356         PlatformWebView::resizeTo() so that window snapshots are correctly
2357         sized.
2358         
2359         Also do some drive-by cleanup of the window size constants in both
2360         DRT and WTR to remove magic numbers, and make the code more similar.
2361         
2362         * DumpRenderTree/TestRunner.cpp:
2363         (TestRunner::setShouldPaintBrokenImage):
2364         * DumpRenderTree/TestRunner.h:
2365         * DumpRenderTree/efl/DumpRenderTree.cpp:
2366         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2367         (webInspectorShowWindow):
2368         * DumpRenderTree/mac/DumpRenderTree.mm:
2369         (createWebViewAndOffscreenWindow):
2370         (sizeWebViewForCurrentTest):
2371         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2372         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2373         (createPagedBitmapContext):
2374         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2375         (DumpRenderTree::DumpRenderTree):
2376         (DumpRenderTree::open):
2377         * DumpRenderTree/qt/TestRunnerQt.cpp:
2378         * DumpRenderTree/qt/TestRunnerQt.h:
2379         * DumpRenderTree/win/DumpRenderTree.cpp:
2380         (sizeWebViewForCurrentTest):
2381         * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
2382         * WebKitTestRunner/TestController.cpp:
2383         (WTR::TestController::resetStateToConsistentValues):
2384         * WebKitTestRunner/TestController.h:
2385         * WebKitTestRunner/TestInvocation.cpp:
2386         (WTR::sizeWebViewForCurrentTest):
2387         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2388         (WTR::PlatformWebView::PlatformWebView):
2389         (WTR::PlatformWebView::resizeTo):
2390
2391 2013-04-24  Byungwoo Lee  <bw80.lee@samsung.com>
2392
2393         [EFL] Fix build error after r148963.
2394         https://bugs.webkit.org/show_bug.cgi?id=115126
2395
2396         Reviewed by Laszlo Gombos.
2397
2398         Generate forwarding headers for 'CoordinatedGraphics' to generate WKView.h
2399
2400         * TestWebKitAPI/PlatformEfl.cmake:
2401
2402 2013-04-24  Carlos Garcia Campos  <cgarcia@igalia.com>
2403
2404         [GTK] Use stamp files for generate-forwarding-headers makefile rules
2405         https://bugs.webkit.org/show_bug.cgi?id=115118
2406
2407         Reviewed by Martin Robinson.
2408
2409         Use a stamp file for the TestWebKitAPI and WebKitTestRunner
2410         forwarding generator rules and don't call it for soup since there
2411         aren't soup directories in TestWebKitAPI and WebKitTestRunner.
2412
2413         * TestWebKitAPI/GNUmakefile.am:
2414         * WebKitTestRunner/GNUmakefile.am:
2415
2416 2013-04-24  Simon Pena  <simon.pena@samsung.com>
2417
2418         [GTK] Update build dependencies
2419         https://bugs.webkit.org/show_bug.cgi?id=115111
2420
2421         Reviewed by Martin Robinson.
2422
2423         The install-dependencies script was missing a dependency on EGL,
2424         which is expected when building Cairo.
2425
2426         * gtk/install-dependencies: Added a dependency on libegl1-mesa
2427         for both apt and yum.
2428
2429 2013-04-24  Seokju Kwon  <seokju.kwon@gmail.com>
2430
2431         Remove the Chromium-specific helper from run_webkit_tests.py
2432         https://bugs.webkit.org/show_bug.cgi?id=114996
2433
2434         Reviewed by Dirk Pranke.
2435
2436         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2437         (parse_args):
2438
2439 2013-04-24  Sergio Correia  <sergio.correia@openbossa.org>
2440
2441         [EFL][WK2]: Fix WKViewClientWebProcessCallbacks WK2 API test
2442         https://bugs.webkit.org/show_bug.cgi?id=114850
2443
2444         Reviewed by Andreas Kling.
2445
2446         Revision r148312 fixed WebPageProxy cleanup and also changed the process
2447         termination semantics when requested by the user so that a client is not
2448         notified of a crash anymore, since there was no crash anyway.
2449
2450         That change broke WKViewClientWebProcessCallbacks WK2 API test, since it
2451         relied on being notified of a crash after calling WKPageTerminate(). As
2452         a result of not being notified of such non-existent crash, the test would
2453         timeout right after making the terminate call.
2454
2455         This patch adds an InjectedBundle to be used for simulating a crash, by
2456         calling abort() upon receiving a "Crash" message, and thus we are able to
2457         keep testing the crash callback.
2458
2459         This patch also re-enables the WKViewClientWebProcessCallbacks test, which
2460         had been disabled in revisions r148858 and r148855, since it was failing.
2461
2462         * TestWebKitAPI/PlatformEfl.cmake:
2463         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks.cpp:
2464         (TestWebKitAPI::TEST):
2465         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp: Added.
2466         (TestWebKitAPI):
2467         (WKViewClientWebProcessCallbacksTest):
2468         (TestWebKitAPI::WKViewClientWebProcessCallbacksTest::WKViewClientWebProcessCallbacksTest):
2469         (TestWebKitAPI::WKViewClientWebProcessCallbacksTest::didReceiveMessage):
2470
2471 2013-04-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2472
2473         [EFL][WK2] WebKitTestRunner failures due to IconDatabase assertions
2474         https://bugs.webkit.org/show_bug.cgi?id=115095
2475
2476         Reviewed by Antonio Gomes.
2477
2478         Use different subfolders under DumpRenderTree Temp folder for every
2479         functionality (icon database, cache, localstorage, ...). This makes
2480         sure there is no conflict between the functionalities.
2481
2482         In EFL's case, libsoup cache was causing problems for the icon
2483         database if sharing the same folder.
2484
2485         * WebKitTestRunner/TestController.cpp:
2486         (WTR::TestController::initialize):
2487
2488 == Rolled over to ChangeLog-2013-04-24 ==