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