1 2012-05-13 Ryosuke Niwa <rniwa@webkit.org>
3 performance tests should be able to measure runs/sec rather than time
4 https://bugs.webkit.org/show_bug.cgi?id=86021
6 Reviewed by Ojan Vafai.
8 Allow " runs/s" or " ms" to appear after numerical values in tests.
10 * Scripts/webkitpy/performance_tests/perftest.py:
13 2012-05-12 Tim Horton <timothy_horton@apple.com>
15 run-safari and co. should support --guard-malloc command line argument
16 https://bugs.webkit.org/show_bug.cgi?id=86287
18 Reviewed by Dan Bernstein.
20 Add setUpGuardMallocIfNeeded(), which consults the argument --guard-malloc on OS X,
21 setting DYLD_INSERT_LIBRARIES="/usr/lib/libgmalloc.dylib" if it's enabled.
23 Use setUpGuardMallocIfNeeded() before running a WebKit app (whether standalone or
24 in the debugger). This will cause gmalloc to be loaded for gdb as well, but this
27 Change "malloc guard" to the more common "Guard Malloc" in run-webkit-tests.
29 * Scripts/old-run-webkit-tests:
30 * Scripts/webkitdirs.pm:
31 (appendToEnvironmentVariableList):
32 (setUpGuardMallocIfNeeded):
33 (printHelpAndExitForRunAndDebugWebKitAppIfNeeded):
35 (execMacWebKitAppForDebugging):
36 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
39 2012-05-11 Ojan Vafai <ojan@chromium.org>
41 Add previous/next buttons the garden-o-matics perf panel
42 https://bugs.webkit.org/show_bug.cgi?id=86280
44 Reviewed by Dimitri Glazkov.
46 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf.js:
47 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf_unittests.js:
48 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/perf.css:
50 2012-05-11 Kevin Ollivier <kevino@theolliviers.com>
52 [wx] Unreviewed build fix. Fix memory exhausted errors from 32-bit ld on *nix.
54 * waf/build/settings.py:
57 2012-05-11 Dirk Pranke <dpranke@chromium.org>
59 webkit-patch rebaseline should fetch stale expectations :)
60 https://bugs.webkit.org/show_bug.cgi?id=86231
62 Unreviewed, build fix.
64 This change reverts r115492 and goes back to fetching individual
65 baselines from the layout tests directory, rather than fetching
66 entire zip files. The performance hit over networks for people
67 far away from the bots has turned out to be severe, so we need a
68 better solution to this.
70 * Scripts/webkitpy/tool/commands/rebaseline.py:
71 (RebaselineTest._results_url):
72 (RebaselineTest._file_name_for_expected_result):
73 (RebaselineTest._rebaseline_test):
74 * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
75 (TestRebaseline.test_rebaseline_updates_expectations_file_noop):
76 (test_rebaseline_updates_expectations_file):
77 (test_rebaseline_test):
78 (test_rebaseline_and_copy_test):
79 (test_rebaseline_and_copy_test_no_existing_result):
80 (test_rebaseline_and_copy_test_with_lion_result):
81 (test_rebaseline_and_copy_no_overwrite_test):
83 2012-05-11 Christophe Dumez <christophe.dumez@intel.com>
85 [GTK] LayoutTests/svg/batik/text/verticalText.svg fails to display Chinese characters
86 https://bugs.webkit.org/show_bug.cgi?id=86198
88 Reviewed by Martin Robinson.
90 Update webkitgtk-fonts package to v0.0.3 in order to get new Kochi
91 Mincho / Gothic fonts to display Japanese and Chinese characters.
93 * gtk/jhbuild.modules:
95 2012-05-11 Christophe Dumez <christophe.dumez@intel.com>
97 [EFL][DRT] SVG Batik test fails to display Chinese characters
98 https://bugs.webkit.org/show_bug.cgi?id=84461
100 Reviewed by Martin Robinson.
102 Update webkitgtk-fonts package from v0.0.1 to v0.0.3 in order to get
103 new Kochi Mincho / Gothic fonts to display Japanese and Chinese
106 * DumpRenderTree/efl/CMakeLists.txt:
107 * efl/jhbuild.modules:
109 2012-05-11 Philippe Normand <pnormand@igalia.com>
111 Unreviewed, GTK 64-bit Debug bot fix attempt.
113 * Scripts/webkitpy/layout_tests/port/gtk.py:
114 (GtkPort._get_gdb_output): Ignore unicode decoding errors when
115 processing gdb output.
117 2012-05-11 Gustavo Noronha Silva <gns@gnome.org>
119 REGRESSION(r116205): [GTK]: build no longer supports thin archives
120 https://bugs.webkit.org/show_bug.cgi?id=86207
122 * GNUmakefile.am: link libWebCoreModules to DRT.
124 2012-05-10 Ojan Vafai <ojan@chromium.org>
126 Add a perf tab to garden-o-matic
127 https://bugs.webkit.org/show_bug.cgi?id=86169
129 Reviewed by Dimitri Glazkov.
131 This is a first stab at making it easier to view the Chromium WebKit canary
132 perf graphs. For now, it's just a couple select elements and an iframe.
134 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
135 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
136 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
137 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
138 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
139 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
140 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf.js: Added.
141 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/perf_unittests.js: Added.
142 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
143 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/perf.css: Added.
144 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
146 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
148 Move resumeAnimations to use Internals interface
149 https://bugs.webkit.org/show_bug.cgi?id=86063
151 Reviewed by Alexey Proskuryakov.
153 Remove resumeAnimations functions, because it is able to work in the
154 cross-port way through the Internals interface.
156 * DumpRenderTree/LayoutTestController.cpp:
157 (LayoutTestController::staticFunctions):
158 * DumpRenderTree/LayoutTestController.h:
159 (LayoutTestController):
160 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
161 * DumpRenderTree/chromium/LayoutTestController.cpp:
162 (LayoutTestController::LayoutTestController):
163 * DumpRenderTree/chromium/LayoutTestController.h:
164 (LayoutTestController):
165 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
166 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
167 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
168 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
169 * DumpRenderTree/qt/LayoutTestControllerQt.h:
170 (LayoutTestController):
171 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
172 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
173 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
174 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
175 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
176 (LayoutTestController):
178 2012-05-10 Alexey Proskuryakov <ap@apple.com>
180 Crash in 3rd party WebKit apps that disable cache at a wrong time
181 https://bugs.webkit.org/show_bug.cgi?id=86027
182 <rdar://problem/10615880>
184 Reviewed by Antti Koivisto.
186 Added a test that's very similar to MemoryCachePruneWithinResourceLoadDelegate,
187 but for disabling the cache instead of triggering a prune.
189 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
190 * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.html: Added.
191 * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.mm: Added.
192 (-[MemoryCacheDisableTestResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
193 (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
194 (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
195 (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
196 (TestWebKitAPI::TEST):
198 2012-05-10 Anders Carlsson <andersca@apple.com>
200 WebKit2: Add a way to blacklist specific plug-ins/plug-in versions
201 https://bugs.webkit.org/show_bug.cgi?id=86164
202 <rdar://problem/9551196>
204 Reviewed by Sam Weinig.
206 Update for WK2 API changes.
208 * MiniBrowser/mac/BrowserWindowController.m:
209 (-[BrowserWindowController awakeFromNib]):
210 * WebKitTestRunner/TestController.cpp:
211 (WTR::TestController::createOtherPage):
212 (WTR::TestController::initialize):
214 2012-05-10 Dirk Pranke <dpranke@chromium.org>
216 nrwt: [chromium] fix path to asan symbolize script
217 https://bugs.webkit.org/show_bug.cgi?id=86161
219 Reviewed by Abhishek Arya.
221 * Scripts/webkitpy/layout_tests/port/chromium.py:
222 (ChromiumPort._get_crash_log):
224 2012-05-10 Lei Zhang <thestig@chromium.org>
226 [chromium] Set Valgrind environment variables for layout tests.
227 https://bugs.webkit.org/show_bug.cgi?id=86156
229 Reviewed by Dirk Pranke.
231 * Scripts/webkitpy/layout_tests/port/chromium.py:
232 (ChromiumPort.setup_environ_for_server):
234 2012-05-10 Raphael Kubo da Costa <rakuco@webkit.org>
236 [webkitpy][EFL] It should be possible to use a wrapper command for ImageDiff.
237 https://bugs.webkit.org/show_bug.cgi?id=86145
239 Reviewed by Dirk Pranke.
241 The GTK+ and EFL ports use jhbuild to build a few base libraries
242 which are then used when building the port itself. Programs such
243 as DRT and ImageDiff are then supposed to be run with the
244 `run-with-jhbuild' wrapper so that the libraries are properly
247 This was already the case for DumpRenderTree (EflPort defines the
248 'wrapper' option for that), but it was not possible to do the same
249 with ImageDiff so far.
251 The code which created the ImageDiff command-line call has been
252 moved to a separate method, _image_diff_command, which is then
253 overridden by EflPort to add the jhbuild wrapper.
255 * Scripts/webkitpy/layout_tests/port/efl.py:
257 (EflPort._image_diff_command):
258 * Scripts/webkitpy/layout_tests/port/webkit.py:
260 (WebKitPort._image_diff_command):
261 (WebKitPort._start_image_diff_process):
263 2012-05-10 Zan Dobersek <zandobersek@gmail.com>
265 [GTK] ENABLE_IFRAME_SEAMLESS support
266 https://bugs.webkit.org/show_bug.cgi?id=85843
268 Reviewed by Eric Seidel.
270 Add the iframe-seamless option to the options list. This makes it
271 possible to enable the iframe seamless support through build-webkit
272 script. Enabled by default for all the ports.
274 * Scripts/webkitperl/FeatureList.pm:
276 2012-05-10 Raphael Kubo da Costa <rakuco@webkit.org>
278 [EFL][webkitpy] Do not redefine check_build() in EflPort.
279 https://bugs.webkit.org/show_bug.cgi?id=86124
281 Reviewed by Dirk Pranke.
283 Remove an old FIXME and do not redefine check_build in EflPort;
284 once build-dumprendertree recognizes --efl, we can use the
285 check_build implementation in WebKitPort.
287 * Scripts/build-dumprendertree:
288 * Scripts/webkitpy/layout_tests/port/efl.py:
289 (EflPort.check_build):
291 2012-05-10 Tommy Widenflycht <tommyw@google.com>
293 [chromium] MediaStream API: Fix the ExtraData functionality in WebMediaStreamDescriptor
294 https://bugs.webkit.org/show_bug.cgi?id=86087
296 Reviewed by Adam Barth.
298 * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
301 (WebKit::WebUserMediaClientMock::requestUserMedia):
303 2012-05-10 Varun Jain <varunjain@google.com>
305 [chromium] Trigger context menu for long press gesture
306 https://bugs.webkit.org/show_bug.cgi?id=85919
308 Reviewed by Adam Barth.
310 * DumpRenderTree/chromium/EventSender.cpp:
311 (EventSender::EventSender):
312 (EventSender::gestureLongPress):
313 (EventSender::gestureEvent):
314 * DumpRenderTree/chromium/EventSender.h:
317 2012-05-10 Takashi Toyoshima <toyoshim@chromium.org>
319 don't use autoinstall to import pywebsocket but check it in WebKit directly.
320 https://bugs.webkit.org/show_bug.cgi?id=86107
322 Reviewed by Adam Barth.
324 This change removes pywebsocket from webkitpy's autoinstall list and
325 imports pywebsocket 0.7.4 directly into webkitpy/thirparty.
327 * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
328 (PyWebSocket._prepare_config):
329 * Scripts/webkitpy/thirdparty/__init__.py:
330 (AutoinstallImportHook.find_module):
331 (AutoinstallImportHook._install_irc):
332 * Scripts/webkitpy/thirdparty/__init___unittest.py:
333 (ThirdpartyTest.test_import_hook.MockImportHook.__init__):
334 (ThirdpartyTest.test_import_hook.MockImportHook._install_eliza):
336 (ThirdpartyTest.test_import_hook):
337 * Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING: Added.
338 * Scripts/webkitpy/thirdparty/mod_pywebsocket/__init__.py: Added.
339 * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_base.py: Added.
340 (ConnectionTerminatedException):
341 (InvalidFrameException):
342 (BadOperationException):
343 (UnsupportedFrameException):
344 (InvalidUTF8Exception):
346 (StreamBase.__init__):
349 (StreamBase.receive_bytes):
350 (StreamBase._read_until):
351 * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hixie75.py: Added.
355 (StreamHixie75.__init__):
356 (StreamHixie75.send_message):
357 (StreamHixie75._read_payload_length_hixie75):
358 (StreamHixie75.receive_message):
359 (StreamHixie75._send_closing_handshake):
360 (StreamHixie75.close_connection):
361 (StreamHixie75.send_ping):
362 * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py: Added.
365 (create_length_header):
368 (_filter_and_format_frame_object):
369 (create_binary_frame):
371 (FragmentedFrameBuilder):
372 (FragmentedFrameBuilder.to):
373 (FragmentedFrameBuilder.__init__):
374 (FragmentedFrameBuilder.build):
375 (_create_control_frame):
378 (create_close_frame):
380 (StreamOptions.__init__):
384 (Stream._receive_frame):
385 (Stream._receive_frame_as_frame_object):
386 (Stream.send_message):
387 (Stream.receive_message):
388 (Stream._send_closing_handshake):
389 (Stream.close_connection):
392 (Stream._drain_received_data):
393 * Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py: Added.
395 (ExtensionParameter):
396 (ExtensionParameter.__init__):
397 (ExtensionParameter.name):
398 (ExtensionParameter.add_parameter):
399 (ExtensionParameter.get_parameters):
400 (ExtensionParameter.get_parameter_names):
401 (ExtensionParameter.has_parameter):
402 (ExtensionParameter.get_parameter_value):
403 * Scripts/webkitpy/thirdparty/mod_pywebsocket/dispatch.py: Added.
405 (DispatchException.__init__):
406 (_default_passive_closing_handshake_handler):
408 (_create_path_to_resource_converter):
409 (_create_path_to_resource_converter.converter):
410 (_enumerate_handler_file_paths):
412 (_HandlerSuite.__init__):
413 (_source_handler_file):
416 (Dispatcher.maintains):
417 (Dispatcher.__init__):
418 (Dispatcher.add_resource_path_alias):
419 (Dispatcher.source_warnings):
420 (Dispatcher.do_extra_handshake):
421 (Dispatcher.transfer_data):
422 (Dispatcher.passive_closing_handshake):
423 (Dispatcher.get_handler_suite):
424 (Dispatcher._source_handler_files_in_dir):
425 * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py: Added.
426 (ExtensionProcessorInterface):
427 (ExtensionProcessorInterface.get_extension_response):
428 (ExtensionProcessorInterface.setup_stream_options):
429 (DeflateStreamExtensionProcessor):
430 (DeflateStreamExtensionProcessor.__init__):
431 (DeflateStreamExtensionProcessor.get_extension_response):
432 (DeflateStreamExtensionProcessor.setup_stream_options):
433 (DeflateFrameExtensionProcessor):
434 (DeflateFrameExtensionProcessor.__init__):
435 (DeflateFrameExtensionProcessor.get_extension_response):
436 (DeflateFrameExtensionProcessor.setup_stream_options):
437 (DeflateFrameExtensionProcessor.setup_stream_options._OutgoingFilter):
438 (DeflateFrameExtensionProcessor.setup_stream_options._OutgoingFilter.__init__):
439 (DeflateFrameExtensionProcessor.setup_stream_options._OutgoingFilter.filter):
440 (DeflateFrameExtensionProcessor.setup_stream_options._IncomingFilter):
441 (DeflateFrameExtensionProcessor.setup_stream_options._IncomingFilter.__init__):
442 (DeflateFrameExtensionProcessor.setup_stream_options._IncomingFilter.filter):
443 (DeflateFrameExtensionProcessor.set_response_window_bits):
444 (DeflateFrameExtensionProcessor.set_response_no_context_takeover):
445 (DeflateFrameExtensionProcessor.enable_outgoing_compression):
446 (DeflateFrameExtensionProcessor.disable_outgoing_compression):
447 (DeflateFrameExtensionProcessor._outgoing_filter):
448 (DeflateFrameExtensionProcessor._incoming_filter):
449 (get_extension_processor):
450 (get_extension_processor.is):
451 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/__init__.py: Added.
454 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py: Added.
455 (AbortedByUserException):
456 (HandshakeException):
457 (HandshakeException.__init__):
459 (VersionException.__init__):
461 (validate_subprotocol):
465 (get_mandatory_header):
466 (validate_mandatory_header):
467 (check_request_line):
468 (check_header_lines):
470 (_parse_extension_param):
474 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/draft75.py: Added.
476 (Handshaker.performs):
477 (Handshaker.__init__):
478 (Handshaker.do_handshake):
479 (Handshaker._set_resource):
480 (Handshaker._set_origin):
481 (Handshaker._set_location):
482 (Handshaker._set_subprotocol):
483 (Handshaker._set_protocol_version):
484 (Handshaker._sendall):
485 (Handshaker._send_handshake):
486 (Handshaker._check_header_lines):
487 (Handshaker._check_first_lines):
488 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py: Added.
491 (Handshaker.__init__):
492 (Handshaker._validate_connection_header):
493 (Handshaker.do_handshake):
494 (Handshaker._get_origin):
495 (Handshaker._check_version):
496 (Handshaker._set_protocol):
497 (Handshaker._parse_extensions):
498 (Handshaker._validate_key):
499 (Handshaker._get_key):
500 (Handshaker._send_handshake):
501 * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi00.py: Added.
503 (Handshaker.__init__):
504 (Handshaker.do_handshake):
505 (Handshaker._set_resource):
506 (Handshaker._set_subprotocol):
507 (Handshaker._set_location):
508 (Handshaker._set_origin):
509 (Handshaker._set_protocol_version):
510 (Handshaker._set_challenge_response):
511 (Handshaker._get_key_value):
512 (Handshaker._get_challenge):
513 (Handshaker._send_handshake):
514 * Scripts/webkitpy/thirdparty/mod_pywebsocket/headerparserhandler.py: Added.
516 (ApacheLogHandler.__init__):
517 (ApacheLogHandler.emit):
518 (_configure_logging):
520 (_create_dispatcher):
521 (headerparserhandler):
522 * Scripts/webkitpy/thirdparty/mod_pywebsocket/http_header_util.py: Added.
526 (ParsingState.__init__):
533 (consume_token_or_quoted_string):
534 (quote_if_necessary):
536 * Scripts/webkitpy/thirdparty/mod_pywebsocket/memorizingfile.py: Added.
538 (MemorizingFile.__init__):
539 (MemorizingFile.__getattribute__):
540 (MemorizingFile.readline):
541 (MemorizingFile.get_memorized_lines):
542 * Scripts/webkitpy/thirdparty/mod_pywebsocket/msgutil.py: Added.
548 (MessageReceiver.receives):
549 (MessageReceiver.provides):
550 (MessageReceiver.should):
551 (MessageReceiver.__init__):
552 (MessageReceiver.run):
553 (MessageReceiver.receive):
554 (MessageReceiver.receive_nowait):
555 (MessageReceiver.stop):
557 (MessageSender.sends):
558 (MessageSender.provides):
559 (MessageSender.should):
560 (MessageSender.__init__):
562 (MessageSender.send):
563 (MessageSender.send_nowait):
564 * Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py: Added.
565 (_StandaloneConnection):
566 (_StandaloneConnection.__init__):
567 (_StandaloneConnection.get_local_addr):
568 (_StandaloneConnection.get_remote_addr):
569 (_StandaloneConnection.write):
570 (_StandaloneConnection.read):
571 (_StandaloneConnection.get_memorized_lines):
572 (_StandaloneRequest):
573 (_StandaloneRequest.__init__):
574 (_StandaloneRequest.get_uri):
575 (_StandaloneRequest.get_method):
576 (_StandaloneRequest.is_https):
577 (_StandaloneRequest._drain_received_data):
578 (_StandaloneSSLConnection):
579 (_StandaloneSSLConnection.for):
580 (_StandaloneSSLConnection.__init__):
581 (_StandaloneSSLConnection.__getattribute__):
582 (_StandaloneSSLConnection.__setattr__):
583 (_StandaloneSSLConnection.makefile):
585 (WebSocketServer.__init__):
586 (WebSocketServer._create_sockets):
587 (WebSocketServer.server_bind):
588 (WebSocketServer.server_activate):
589 (WebSocketServer.server_close):
590 (WebSocketServer.fileno):
591 (WebSocketServer.handle_error):
592 (WebSocketServer.get_request):
593 (WebSocketServer.serve_forever):
594 (WebSocketServer.shutdown):
595 (WebSocketRequestHandler):
596 (WebSocketRequestHandler.setup):
597 (WebSocketRequestHandler.setup.SocketServer):
598 (WebSocketRequestHandler.__init__):
599 (WebSocketRequestHandler.parse_request):
600 (WebSocketRequestHandler.log_request):
601 (WebSocketRequestHandler.log_error):
602 (WebSocketRequestHandler.is_cgi):
603 (_configure_logging):
605 (_build_option_parser):
607 (ThreadMonitor.__init__):
609 (_parse_args_and_config):
612 (_main.if.__check_script):
613 * Scripts/webkitpy/thirdparty/mod_pywebsocket/stream.py: Copied from Tools/Scripts/webkitpy/thirdparty/__init___unittest.py.
614 * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py: Added.
616 (prepend_message_to_exception):
617 (__translate_interp):
619 (wrap_popen3_for_win):
620 (wrap_popen3_for_win.__wrap_popen3):
624 (NoopMasker.__init__):
627 (RepeatedXorMasker.__init__):
628 (RepeatedXorMasker.mask):
630 (DeflateRequest.for):
631 (DeflateRequest.__init__):
632 (DeflateRequest.__getattribute__):
633 (DeflateRequest.__setattr__):
635 (_Deflater.__init__):
636 (_Deflater.compress_and_flush):
638 (_Inflater.__init__):
639 (_Inflater.decompress):
643 (_RFC1979Deflater.that):
644 (_RFC1979Deflater.__init__):
645 (_RFC1979Deflater.filter):
647 (_RFC1979Inflater.for):
648 (_RFC1979Inflater.__init__):
649 (_RFC1979Inflater.filter):
652 (DeflateSocket.__init__):
653 (DeflateSocket.recv):
654 (DeflateSocket.sendall):
655 (DeflateSocket.send):
657 (DeflateConnection.for):
658 (DeflateConnection.__init__):
659 (DeflateConnection.get_remote_addr):
660 (DeflateConnection.put_bytes):
661 (DeflateConnection.read):
662 (DeflateConnection.write):
663 (_is_ewouldblock_errno):
664 (drain_received_data):
666 2012-05-10 Raphael Kubo da Costa <rakuco@webkit.org>
668 [EFL][webkitpy] Define the 'wrapper' option in EflPort instead of creating a EflDriver.
669 https://bugs.webkit.org/show_bug.cgi?id=86117
671 Reviewed by Adam Barth.
673 Simplify the code used to wrap driver calls with jhbuild: we can
674 just define the 'wrapper' option instead of having to create a
675 Driver class just for that.
677 * Scripts/webkitpy/layout_tests/port/efl.py:
679 (EflPort._port_flag_for_scripts):
681 2012-05-10 Sheriff Bot <webkit.review.bot@gmail.com>
683 Unreviewed, rolling out r116633.
684 http://trac.webkit.org/changeset/116633
685 https://bugs.webkit.org/show_bug.cgi?id=86093
687 Breaks EFL tests (Requested by kov on #webkit).
689 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
690 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
691 * DumpRenderTree/efl/EventSender.cpp:
693 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
694 (LayoutTestController::setTabKeyCyclesThroughElements):
696 2012-05-10 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
698 [EFL] Memory leaks found in EFL DRT
699 https://bugs.webkit.org/show_bug.cgi?id=85889
701 Reviewed by Gustavo Noronha Silva.
703 Fix two memory leaks in EFL's DRT by using JSRetainPtr for JSString
704 created with JSStringCreateWithUTF8CString.
706 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
707 (DumpRenderTreeChrome::onWindowObjectCleared):
708 * DumpRenderTree/efl/EventSender.cpp:
709 (modifiersFromJSValue):
711 2012-05-10 Alexander Shalamov <alexander.shalamov@intel.com>
713 [EFL] LayoutTestController needs implementation of setTabKeyCyclesThroughElements
714 https://bugs.webkit.org/show_bug.cgi?id=82864
716 Reviewed by Gustavo Noronha Silva.
718 Add missing implementation for setTabKeyCyclesThroughElements to EFL's LayoutTestController
719 in order to unskip fast/events/keypress-insert-tab.html
721 * DumpRenderTree/efl/EventSender.cpp:
723 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
724 (LayoutTestController::setTabKeyCyclesThroughElements):
726 2012-05-10 Alexander Shalamov <alexander.shalamov@intel.com>
728 [EFL][DRT] EventSender - set delayed event information if it was not set before
729 https://bugs.webkit.org/show_bug.cgi?id=85972
731 Reviewed by Gustavo Noronha Silva.
733 Reset delayed event information if it is missing.
735 * DumpRenderTree/efl/EventSender.cpp:
736 (feedOrQueueMouseEvent):
738 2012-05-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
740 WebPageProxy::activeURL() should return the pending API request, even when there's no main frame
741 https://bugs.webkit.org/show_bug.cgi?id=85806
743 The m_pendingAPIRequestURL member is used (presumably) to mask over the async
744 nature of WebKit2, so that starting a load of a URL will reflect that URL
745 immedeatly from activeURL, even if the request has not been passed over to
746 the web process yet and reflected there.
748 This works well, except in the case of the initial request, where the main
749 frame creation happens on the web process side and is notified back to the
750 UI process. Until we've recived the notification we don't know about the main
751 frame, and this race condition will potentially give us an empty url instead
752 of the pending request.
754 To solve this we always return the pending API request if it's set, even
755 when there's no mainframe yet (that we known about).
757 Reviewed by Simon Hausmann.
759 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
761 2012-05-10 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
763 [EFL][DRT] Clear added user style sheets before a new testcase execution.
764 https://bugs.webkit.org/show_bug.cgi?id=84792
766 Reviewed Gustavo Noronha Silva.
768 The added user style sheets from the previous testcases are cleared in order to avoid
771 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
772 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
774 2012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
776 Move suspendAnimations to use Internals interface.
777 https://bugs.webkit.org/show_bug.cgi?id=85986
779 Reviewed by Ryosuke Niwa.
781 Remove suspendAnimations functions, because it is able to work in the
782 cross-port way through the Internals interface
784 * DumpRenderTree/LayoutTestController.cpp:
785 (LayoutTestController::staticFunctions):
786 * DumpRenderTree/LayoutTestController.h:
787 (LayoutTestController):
788 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
789 * DumpRenderTree/chromium/LayoutTestController.cpp:
790 (LayoutTestController::LayoutTestController):
791 * DumpRenderTree/chromium/LayoutTestController.h:
792 (LayoutTestController):
793 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
794 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
795 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
796 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
797 * DumpRenderTree/qt/LayoutTestControllerQt.h:
798 (LayoutTestController):
799 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
800 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
802 2012-05-09 Kent Tamura <tkent@chromium.org>
804 [Chromium] Attempt to fix an Android build error.
805 https://bugs.webkit.org/show_bug.cgi?id=86045
807 * DumpRenderTree/DumpRenderTree.gypi:
809 2012-05-09 Ojan Vafai <ojan@chromium.org>
811 Don't show partytime if there are non-layout test failures.
812 https://bugs.webkit.org/show_bug.cgi?id=86056
814 Reviewed by Dimitri Glazkov.
816 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
817 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers_unittests.js:
818 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
820 2012-05-09 Hayato Ito <hayato@chromium.org>
822 Improve a warning message for a reftest having an unused expectation file.
823 https://bugs.webkit.org/show_bug.cgi?id=85975
825 Reviewed by Adam Barth.
827 The current warning message is not intuitive. It might be better to update the message
828 so that it encourage users to remove unused expectation files.
830 * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
831 (SingleTestRunner.__init__):
833 2012-05-09 Ojan Vafai <ojan@chromium.org>
835 Change "losing test coverage" to cover all non-layout test problems in garden-o-matic
836 https://bugs.webkit.org/show_bug.cgi?id=86043
838 Reviewed by Adam Barth.
840 -Get rid of the gtest iframe.
841 -Cover all non-layout test problems. Before we wouldn't catch compile failures
842 or gtest failures since they were not on the webkit testing bots.
843 -Include the list of failing steps next to the builder name. This is a lot less
844 cluttered than you'd expect and already helped me find a compile failure early.
846 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders.js:
847 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
848 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
850 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
851 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
852 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
853 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
854 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
855 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
856 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
857 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
859 2012-05-09 Jessie Berlin <jberlin@apple.com>
861 Crash using the new WKBundleDOMWindowExtensions APIs.
862 https://bugs.webkit.org/show_bug.cgi?id=85888
864 Reviewed by Brady Eidson.
866 Cached frames can live slightly longer than the page, but most clients unregister themselves
867 and do other cleanup in the willDestroyPage callback, making them miss the
868 willDestroyGlobalObjectForDOMWindowExtension callbacks.
870 The calls to willDestroyGlobalObjectForDOMWindowExtension in the DOMWindowExtensionBasic
871 test were all being invoked underneath WebPage::close. This is unrealistic. Update that test
872 to destroy the BundleDOMWindowExtensions in response to the willDestroyPage callback.
874 Add a test to verify that willDestroyGlobalObjectForDOMWindowExtension is being called for
875 pages that don't go into the page cache.
877 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
878 Add DOMWindowExtensionNoCache.cpp, DOMWindowExtensionNoCache_Bundle.cpp, simple-unload.html
879 and simple-iframe-unload.html
881 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
883 Remove the expected messages for willDestroyGlobalObjectForDOMWindowExtension.
884 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
885 Do not bother to keep track of the live extension count - all of them are expected to be
886 live until the test completes.
887 (TestWebKitAPI::TEST):
888 Fix the calls to EXPECT to pass the expected value first, and use EXPECT_WK_STREQ so that
889 message failures will be clearer.
890 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
891 (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
892 Clean up the BundleDOMWindowExtensions.
893 (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyGlobalObjectForDOMWindowExtension):
894 Add an ASSERT_NOT_REACHED.
896 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp: Added.
897 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
898 Keep track of the messages received so they can be checked at the end of the test.
899 (TestWebKitAPI::TEST):
900 Navigate to uncacheable pages and back.
901 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp: Copied from Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp.
902 (DOMWindowExtensionNoCache):
903 (TestWebKitAPI::DOMWindowExtensionNoCache::DOMWindowExtensionNoCache):
904 Set up all the states for each BundleDOMWindowExtension.
905 (TestWebKitAPI::DOMWindowExtensionNoCache::frameLoadFinished):
906 Tell the UI Process about the states of the BundleDOMWindowExtensions.
907 (TestWebKitAPI::DOMWindowExtensionNoCache::sendExtensionStateMessage):
908 (TestWebKitAPI::DOMWindowExtensionNoCache::initialize):
909 (TestWebKitAPI::DOMWindowExtensionNoCache::didCreatePage):
910 (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
911 Remvoe the remaining BundleDOMWindowExtensions, send the updated state, and finish the test.
912 (TestWebKitAPI::DOMWindowExtensionNoCache::updateExtensionStateRecord):
913 (TestWebKitAPI::DOMWindowExtensionNoCache::sendBundleMessage):
914 (TestWebKitAPI::DOMWindowExtensionNoCache::globalObjectIsAvailableForFrame):
915 (TestWebKitAPI::DOMWindowExtensionNoCache::willDisconnectDOMWindowExtensionFromGlobalObject):
916 ASSERT that these pages not going into the page cache are not getting disconnected to go into
918 (TestWebKitAPI::DOMWindowExtensionNoCache::didReconnectDOMWindowExtensionToGlobalObject):
919 Ditto about getting reconnected when coming out of the page cache.
920 (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyGlobalObjectForDOMWindowExtension):
921 Tell the UI Process, update the state, and get rid of the BundleDOMWindowExtension.
922 (TestWebKitAPI::didFinishLoadForFrameCallback):
923 (TestWebKitAPI::globalObjectIsAvailableForFrameCallback):
924 (TestWebKitAPI::willDisconnectDOMWindowExtensionFromGlobalObjectCallback):
925 (TestWebKitAPI::didReconnectDOMWindowExtensionToGlobalObjectCallback):
926 (TestWebKitAPI::willDestroyGlobalObjectForDOMWindowExtensionCallback):
928 * TestWebKitAPI/Tests/WebKit2/simple-iframe-unload.html: Added.
929 * TestWebKitAPI/Tests/WebKit2/simple-unload.html: Added.
931 2012-05-09 Adam Barth <abarth@webkit.org>
933 [Chromium] Android's DRT doesn't want to build WebUserMediaClientMock
934 https://bugs.webkit.org/show_bug.cgi?id=86045
936 Reviewed by Eric Seidel.
938 * DumpRenderTree/DumpRenderTree.gypi:
940 2012-05-09 Adam Barth <abarth@webkit.org>
942 [Chromium] MockWebSpeechInputController.cpp should be guarded by ENABLE(INPUT_SPEECH)
943 https://bugs.webkit.org/show_bug.cgi?id=86041
945 Reviewed by Eric Seidel.
947 * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
949 2012-05-09 Adam Barth <abarth@webkit.org>
951 [Chromium] Android needs to swizzle pixel dumps in order to get the same hash as other platforms
952 https://bugs.webkit.org/show_bug.cgi?id=86040
954 Reviewed by Kent Tamura.
956 * DumpRenderTree/chromium/TestShell.cpp:
957 (TestShell::dumpImage):
959 2012-05-09 Raphael Kubo da Costa <rakuco@webkit.org>
961 [EFL] Build fix after r116464.
963 `ulong' is a type defined by glibc, so it is not very
964 portable. Use `unsigned long' instead.
966 * DumpRenderTree/efl/EventSender.cpp:
967 (DelayedEvent::DelayedEvent):
969 (leapForwardCallback):
971 2012-05-09 Adam Barth <abarth@webkit.org>
973 [Chromium] LayoutTestController should use ENABLE guards for some features
974 https://bugs.webkit.org/show_bug.cgi?id=86030
976 Reviewed by Eric Seidel.
978 These features are disabled on OS(ANDROID) and so shouldn't be compiled
979 when the feature is off.
981 * DumpRenderTree/chromium/LayoutTestController.cpp:
982 (LayoutTestController::LayoutTestController):
983 * DumpRenderTree/chromium/LayoutTestController.h:
984 (LayoutTestController):
985 * DumpRenderTree/chromium/TestShell.h:
988 2012-05-09 Tom Zakrajsek <tomz@codeaurora.org>
990 Fix overzealous re-opened since blocked by... message
991 https://bugs.webkit.org/show_bug.cgi?id=86020
993 Reviewed by Adam Barth.
995 Changed CreateBug behavior to only re-open a blocked bug if it
996 was RESOLVED. Also had to update the test infrastructure slightly
997 to allow for distinct mock commit revisions, so one could point
998 to a RESOLVED bug for testing while another pointed to an OPEN bug.
1000 Also moved default created mock bug to be 60001 instead of 50004
1001 which already exists as a reference mock bug.
1003 * Scripts/webkitpy/common/checkout/checkout_mock.py:
1004 (MockCheckout.__init__):
1005 (MockCheckout.commit_info_for_revision):
1006 * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
1007 (MockBugzilla.create_bug):
1008 * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1009 * Scripts/webkitpy/tool/commands/download_unittest.py:
1010 (test_create_rollout_resolved):
1011 * Scripts/webkitpy/tool/commands/queries_unittest.py:
1012 (FailureReasonTest.test_blame_line_for_revision):
1013 * Scripts/webkitpy/tool/steps/createbug.py:
1016 2012-05-09 Hugo Parente Lima <hugo.lima@openbossa.org>
1018 Use suitable viewport values on XHTML-MP pages.
1019 https://bugs.webkit.org/show_bug.cgi?id=85425
1021 Reviewed by Kenneth Rohde Christiansen.
1023 Enable LEGACY_VIEWPORT_ADAPTION on Qt port.
1025 * qmake/mkspecs/features/features.prf:
1027 2012-05-09 Jochen Eisinger <jochen@chromium.org>
1029 When creating a new page during a navigation, prime the initial document with the correct referrer policy
1030 https://bugs.webkit.org/show_bug.cgi?id=86001
1032 Reviewed by Adam Barth.
1034 Store the referrer policy in the request, so the network stack can comply with it.
1036 * DumpRenderTree/chromium/WebViewHost.cpp:
1037 (WebViewHost::willSendRequest):
1039 2012-05-09 Vivek Galatage <vivekgalatage@gmail.com>
1041 Remove CYGWIN=tty from environment variable as its no longer supported
1042 https://bugs.webkit.org/show_bug.cgi?id=85791
1044 The CYGWIN=tty environment variable is no longer supported from Cygwin
1045 version 1.7.10. This fix avoids addition of this environment variable
1046 for Cygwin versions greater than 1.7.9. For supporting older versions
1047 i.e. 1.7.9 or older, the script takes care of retaining the environment
1050 Reviewed by Adam Roben.
1052 * Scripts/webkitdirs.pm:
1055 2012-05-09 Dirk Pranke <dpranke@chromium.org>
1057 nrwt: --skip-failing-tests should also skip flaky tests
1058 https://bugs.webkit.org/show_bug.cgi?id=85941
1060 Reviewed by Ojan Vafai.
1062 This changes --skip-failing-tests so that we skip tests that
1063 are believed to pass sometimes as well as tests that are
1064 believed to always fail.
1066 In addition, in testing this I discovered that we had lousy
1067 test coverage of the details of retrying test failures and
1068 --clobber-old-results, so I wrote some more tests.
1070 * Scripts/webkitpy/layout_tests/controllers/manager.py:
1071 (Manager.prepare_lists_and_print_output):
1072 * Scripts/webkitpy/layout_tests/port/test.py:
1074 (TestPort.__init__):
1075 (TestDriver.run_test):
1076 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1077 (MainTest.test_skip_failing_tests):
1078 (MainTest.test_retrying_and_flaky_tests):
1080 2012-05-09 Christophe Dumez <christophe.dumez@intel.com>
1082 [EFL][DRT] EFL's DRT needs to support LayoutTestController.dumpIconChanges()
1083 https://bugs.webkit.org/show_bug.cgi?id=84435
1085 Reviewed by Antonio Gomes.
1087 Catch the "icon,changed" signal on the frames in EFL's DumpRenderTree
1088 to support LayoutTestController's dumpIconChanges().
1090 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1091 (DumpRenderTreeChrome::createView):
1092 (DumpRenderTreeChrome::onFrameIconChanged):
1093 (DumpRenderTreeChrome::onFrameCreated):
1094 * DumpRenderTree/efl/DumpRenderTreeChrome.h:
1095 (DumpRenderTreeChrome):
1097 2012-05-09 Dominik Röttsches <dominik.rottsches@intel.com>
1099 webkit-patch upload Fails Behind Load-balancing Proxies
1100 https://bugs.webkit.org/show_bug.cgi?id=85980
1102 Reviewed by Adam Barth.
1104 Unchecking the login restriction to IP to allow the tool
1105 to function behind load-balancing proxies that use multiple
1108 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1109 (Bugzilla.authenticate):
1111 2012-05-09 Hao Zheng <zhenghao@chromium.org>
1113 [Chromium-android] Add unit test for Android layout test script (chromium_android.py)
1114 https://bugs.webkit.org/show_bug.cgi?id=80852
1116 Reviewed by Adam Barth.
1118 Add some tests to ensure that chromium android port works to some
1119 extent. Some methods is hard to test, as they rely on the actual
1120 behavior on device, e.g. pushing files to device.
1122 * Scripts/webkitpy/layout_tests/port/chromium_android.py:
1123 (ChromiumAndroidPort.get_last_stacktrace): Check if dir exists.
1124 * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
1125 (ChromiumAndroidPortTest):
1126 (ChromiumAndroidPortTest.test_attributes):
1127 (ChromiumAndroidPortTest.test_get_last_stacktrace):
1128 (ChromiumAndroidPortTest.test_get_last_stacktrace.mock_run_command_no_dir):
1129 (ChromiumAndroidPortTest.test_get_last_stacktrace.mock_run_command_no_file):
1130 (ChromiumAndroidPortTest.test_get_last_stacktrace.mock_run_command_non_empty):
1131 (ChromiumAndroidDriverTest):
1132 (ChromiumAndroidDriverTest.setUp):
1133 (ChromiumAndroidDriverTest.test_get_drt_return_value):
1134 (ChromiumAndroidDriverTest.test_has_crash_hint):
1135 (ChromiumAndroidDriverTest.test_read_prompt):
1136 (ChromiumAndroidDriverTest.test_test_shell_command):
1137 (ChromiumAndroidDriverTest.test_write_command_and_read_line):
1139 2012-05-09 Allan Sandfeld Jensen <allan.jensen@nokia.com>
1141 [Qt] ORWT fails with Qt 5 and WK2.
1142 https://bugs.webkit.org/show_bug.cgi?id=85968
1144 Reviewed by Csaba Osztrogonác.
1146 The Qt5 binary does not have a -style argument, so avoid using it.
1148 * Scripts/old-run-webkit-tests:
1150 2012-05-09 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
1152 [EFL][DRT] LayoutTestController addUserScript implementation
1153 https://bugs.webkit.org/show_bug.cgi?id=84718
1155 Reviewed by Antonio Gomes.
1157 Added implementation of addUserScript() to LayoutTestController.
1159 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1160 (DumpRenderTreeChrome::resetDefaultsToConsistentValues): clear added user scripts
1161 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1162 (LayoutTestController::addUserScript): added implementation
1164 2012-05-09 Dan Bernstein <mitz@apple.com>
1166 Made build-webkit copy WebKitLibraries to the right location again after r116257
1168 Reviewed by Mark Rowe.
1170 * Scripts/build-webkit: Pass the built product directory to copy-webkitlibraries-to-product-directory.
1171 * Scripts/copy-webkitlibraries-to-product-directory: Use the first argument, if present, as the
1174 2012-05-08 Ojan Vafai <ojan@chromium.org>
1176 Show the chromium non-layout test bots in garden-o-matic
1177 https://bugs.webkit.org/show_bug.cgi?id=85903
1179 Reviewed by Eric Seidel.
1181 This is just a single-line high-level overview of the chromium non-layout test bots.
1182 This means that Chromium WebKit gardeners only need to keep garden-o-matic open in
1183 order to do their job.
1185 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
1186 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
1187 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
1188 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css:
1189 (#chromium-gtests iframe):
1193 2012-05-08 Kangil Han <kangil.han@samsung.com>
1195 [EFL][DRT] Implement TextInputController.
1196 https://bugs.webkit.org/show_bug.cgi?id=78559
1198 Reviewed by Martin Robinson.
1200 TextInputController has been created for an input emulation purpose in DRT.
1201 However, not like other ports, EFL doesn't have it.
1202 Therefore, this patch will enable EFL port to have an input emulation in DRT.
1204 * DumpRenderTree/efl/CMakeLists.txt:
1205 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1206 (DumpRenderTreeChrome::onWindowObjectCleared):
1207 * DumpRenderTree/efl/TextInputController.cpp: Added.
1208 (setMarkedTextCallback):
1209 (hasMarkedTextCallback):
1210 (markedRangeCallback):
1211 (insertTextCallback):
1212 (unmarkTextCallback):
1213 (firstRectForCharacterRangeCallback):
1214 (selectedRangeCallback):
1215 (makeTextInputController):
1216 * DumpRenderTree/efl/TextInputController.h: Added.
1218 2012-04-23 Raphael Kubo da Costa <rakuco@webkit.org>
1220 [EFL] Pass a WTF::String directly from DRT to ewebkit when possible
1221 https://bugs.webkit.org/show_bug.cgi?id=84634
1223 Reviewed by Gustavo Noronha Silva.
1225 Drop unnecessary const char* -> WTF::String conversions by
1226 creating String objects directly in LayoutTestController out of
1227 JSStringRef's and passing them to DumpRenderTreeSupportEfl.
1229 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1230 (LayoutTestController::queueLoad):
1231 (LayoutTestController::setValueForUser):
1232 (LayoutTestController::findString):
1233 (LayoutTestController::addUserStyleSheet):
1235 2012-05-08 Alexander Shalamov <alexander.shalamov@intel.com>
1237 [EFL][DRT] EventSender needs implementation of leapForward function
1238 https://bugs.webkit.org/show_bug.cgi?id=83486
1240 Reviewed by Eric Seidel.
1242 Implemented leapForward function in Efl's DRT. This function is required
1243 to delay and queue event execution and simulate real user behavior.
1245 * DumpRenderTree/efl/EventSender.cpp:
1247 (MouseEventInfo::MouseEventInfo):
1250 (mouseDownCallback):
1252 (mouseMoveToCallback):
1253 (leapForwardCallback):
1254 (mouseScrollByCallback):
1255 (feedOrQueueMouseEvent):
1257 (feedQueuedMouseEvents):
1259 2012-05-08 Ryuan Choi <ryuan.choi@samsung.com>
1261 [EFL][DRT] WebKit/DRT should not paint webview for the pixel tests.
1262 https://bugs.webkit.org/show_bug.cgi?id=79853
1264 Reviewed by Eric Seidel.
1266 Screen buffer can be different from rendered results.
1267 For example, WebKit/Efl just moves tiles for ewk_view_tiled when scrolling
1269 It means that pixel tests can't check regression of ewk_view_tiled.
1271 This patch changes a way to provide bitmap from painting webview to capturing
1274 * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
1275 (createBitmapContextFromWebView):
1277 2012-05-08 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
1279 [GTK] Memory leak in DRT EventSender.cpp
1280 https://bugs.webkit.org/show_bug.cgi?id=85886
1282 Reviewed by Martin Robinson.
1284 Fix a memory leak in gdkModifersFromJSValue() by using JSRetainPtr for
1285 JSString created with JSStringCreateWithUTF8CString.
1287 * DumpRenderTree/gtk/EventSender.cpp:
1288 (gdkModifersFromJSValue):
1290 2012-05-08 Christophe Dumez <christophe.dumez@intel.com>
1292 [EFL] glib dependency needs to be updated in jhbuild
1293 https://bugs.webkit.org/show_bug.cgi?id=85878
1295 Reviewed by Martin Robinson.
1297 Bump glib version from 2.31.8 to 2.32.2 in jhbuild.modules. This
1298 addresses flakiness in media tests due to possible deadlock with the
1299 following output on stderr:
1300 GStreamer-WARNING **: wrong STREAM_LOCK count 0
1302 The bug was fixed upstream by:
1303 http://git.gnome.org/browse/glib/commit/?id=265f265c677bc5399dbb1cfa449cb4b915a6459f
1305 * efl/jhbuild.modules:
1307 2012-05-07 Alexis Menard <alexis.menard@openbossa.org>
1309 [Qt] Unbreak debugging of WebKit2.
1310 https://bugs.webkit.org/show_bug.cgi?id=85839
1312 Reviewed by Simon Hausmann.
1314 When you attach GDB to a running process, it stops it.
1315 http://trac.webkit.org/changeset/115958 introduced a pause()
1316 call to wait the debugger to be attached to then continue
1317 the execution of the WebProcess. Unfortunately the pause()
1318 function does not return unless a signal handler is called.
1319 This patch introduce an event handler to exit from the paused
1320 state when the debugger send the signal SIGCONT. The old code
1321 works with older version of GDB (<7.0) but not with newer
1322 versions where the behavior of pause() is correct.
1324 * WebKitTestRunner/qt/main.cpp:
1328 2012-05-08 Christophe Dumez <christophe.dumez@intel.com>
1330 [EFL][DRT] EFL's DRT does not fully support page visibility
1331 https://bugs.webkit.org/show_bug.cgi?id=85032
1333 Reviewed by Antonio Gomes.
1335 * DumpRenderTree/LayoutTestController.cpp:
1336 (resetPageVisibilityCallback): Fix incorrect argumentCount check.
1337 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1338 (DumpRenderTreeChrome::resetDefaultsToConsistentValues): Properly
1339 reset page visibility setting between tests.
1340 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1341 (LayoutTestController::setPageVisibility): Add support for "preview"
1344 2012-05-08 Gavin Peters <gavinp@chromium.org>
1346 [webkit-patch] Return meaningful results from single-result queries.
1347 https://bugs.webkit.org/show_bug.cgi?id=85367
1349 Reviewed by Dirk Pranke.
1351 Sometimes a quicksearch returns a single result by just redirecting to the page for that single
1352 bug. This patch hacks around that by noticing the redirect target is a single page, and constructing
1353 a result list consisting of that one bug.
1355 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1356 (BugzillaQueries._fetch_bugs_from_advanced_query):
1358 2012-05-08 Gavin Peters <gavinp@chromium.org>
1360 [webkit-patch] Add new chrome-channels command to track down current chrome release channels for a committed bug.
1361 https://bugs.webkit.org/show_bug.cgi?id=85368
1363 Reviewed by Eric Seidel.
1365 * Scripts/webkitpy/common/config/urls.py:
1366 * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
1367 (MockBugzillaQueries.fetch_bugs_matching_quicksearch):
1368 * Scripts/webkitpy/common/net/omahaproxy.py: Added.
1370 (OmahaProxy.__init__):
1371 (OmahaProxy.set_url):
1372 (OmahaProxy._json_url):
1373 (OmahaProxy._get_json):
1374 (OmahaProxy.get_revisions):
1375 * Scripts/webkitpy/common/net/omahaproxy_unittest.py: Added.
1377 (MockOmahaProxy.__init__):
1379 (OmahaProxyTest.test_get_revisions):
1380 * Scripts/webkitpy/tool/commands/__init__.py:
1381 * Scripts/webkitpy/tool/commands/bugsearch.py:
1383 * Scripts/webkitpy/tool/commands/chromechannels.py: Added.
1387 * Scripts/webkitpy/tool/commands/chromechannels_unittest.py: Added.
1389 (MockOmahaProxy.get_revisions):
1390 (TestableChromeChannels):
1391 (TestableChromeChannels.__init__):
1392 (ChromeChannelsTest):
1393 (ChromeChannelsTest.test_single_bug):
1394 (ChromeChannelsTest.test_with_query):
1396 2012-05-08 Carlos Garcia Campos <cgarcia@igalia.com>
1398 Unreviewed. Fix GTK+ unit tests.
1401 (pkg_config_file_variable):
1403 2012-05-08 Carlos Garcia Campos <cgarcia@igalia.com>
1405 [GTK] Google tests that time out are leaked
1406 https://bugs.webkit.org/show_bug.cgi?id=84973
1408 Reviewed by Philippe Normand.
1410 Move Tools/Scripts/run-gtk-tests to Tools/gtk/run-api-tests
1411 leaving run-gtk-tests as simple wrapper that runs run-api-tests in
1412 a jhbuild environment when jhbuild is available.
1414 * Scripts/run-gtk-tests: Run Tools/gtk/run-api-tests directly or
1415 with jhbuild if present.
1417 (pkg_config_file_variable): Generic function to get a variable
1418 from a pkg-config file.
1419 (prefix_of_pkg_config_file): Use pkg_config_file_variable with 'prefix'.
1420 * gtk/run-api-tests: Copied from Tools/Scripts/run-gtk-tests.
1421 (TestRunner.__init__): Use common.build_path() to get the programs path.
1422 (TestRunner._lookup_atspi2_binary): Use
1423 common.pkg_config_file_variable() to get the 'exec_prefix'.
1424 (TestRunner._start_accessibility_daemons): Use subprocess.Popen()
1425 directly instead of helper _create_process that has been removed.
1426 (TestRunner._setup_testing_environment): Use subprocess.Popen()
1427 directly instead of helper _create_process that has been
1428 removed. Use common.top_level_path() and common.build_path()
1429 instead of custom methods that have been removed too.
1430 (TestRunner._run_test_command): Use subprocess.Popen() directly
1431 instead of helper _create_process that has been removed.
1433 2012-05-08 Thiago Marcos P. Santos <thiago.santos@intel.com>
1435 [EFL] [DRT] Clear extra views before setting a blank page
1436 https://bugs.webkit.org/show_bug.cgi?id=85608
1438 Reviewed by Kenneth Rohde Christiansen.
1440 We need to clear the extra views before setting a blank page,
1441 otherwise it will cause more events interactions and sometimes
1442 trigger a unload(). This was causing frame-crash-with-page-cache.html
1443 to leak events to the next test causing any subsequent test to
1446 * DumpRenderTree/efl/DumpRenderTree.cpp:
1448 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1449 (DumpRenderTreeChrome::clearExtraViews):
1450 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1451 * DumpRenderTree/efl/DumpRenderTreeChrome.h:
1452 (DumpRenderTreeChrome):
1454 2012-05-08 Balazs Kelemen <kbalazs@webkit.org>
1456 [Qt] X11 plugins need to be reworked for Qt5+WK1
1457 https://bugs.webkit.org/show_bug.cgi?id=80691
1459 Reviewed by Simon Hausmann.
1461 Implement basic windowless plugin support with Qt5.
1463 * qmake/mkspecs/features/features.prf:
1464 Enable NPAPI plugins if X11 libraries are available.
1465 * qmake/mkspecs/features/functions.prf:
1466 Added a convenience function to determine availability
1469 2012-05-07 Raphael Kubo da Costa <rakuco@webkit.org>
1471 [webkitpy] Remove Python 2.5-specific workaround from http_server_base.py.
1472 https://bugs.webkit.org/show_bug.cgi?id=85852
1474 Reviewed by Dirk Pranke.
1476 * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
1477 (HttpServerBase._is_server_running_on_all_ports): Revert the part
1478 of r89412 which was a workaround for an issue with Python 2.5 on
1481 2012-05-07 Raphael Kubo da Costa <rakuco@FreeBSD.org>
1483 webkitdirs.pm: Make determineNumberOfCPUs work on FreeBSD.
1484 https://bugs.webkit.org/show_bug.cgi?id=81481
1486 Reviewed by Dirk Pranke.
1488 FreeBSD has the same sysctl interface present in Darwin to query
1489 the number of CPUs available, so use that too.
1491 * Scripts/webkitdirs.pm:
1492 (determineNumberOfCPUs): Share the sysctl call with Darwin.
1495 2012-05-07 Alexis Menard <alexis.menard@openbossa.org>
1497 Unreviewed Qt build fix in Debug.
1499 We need some system includes here for getpid() to be recognized.
1501 * WebKitTestRunner/qt/main.cpp:
1503 2012-05-07 Ojan Vafai <ojan@chromium.org>
1505 When embedding the flakiness dashboard, hide popups when the frame is blurred.
1506 https://bugs.webkit.org/show_bug.cgi?id=85684
1508 Reviewed by Dirk Pranke.
1510 If you show a popup, then click elsewhere in garden-o-matic, it will now
1513 * TestResultServer/static-dashboards/dashboard_base.js:
1515 * TestResultServer/static-dashboards/flakiness_dashboard.js:
1516 (showPopupForBuild):
1517 (generatePageForIndividualTests.if):
1518 (generatePageForIndividualTests):
1519 * TestResultServer/static-dashboards/flakiness_dashboard_embedded_unittests.js: Added.
1520 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
1521 * TestResultServer/static-dashboards/run-embedded-unittests.html: Added.
1523 2012-05-07 Ian Vollick <vollick@chromium.org>
1525 [chromium] WebViewHost should setCompositorSurfaceReady
1526 https://bugs.webkit.org/show_bug.cgi?id=85418
1528 Reviewed by James Robinson.
1530 * DumpRenderTree/chromium/WebViewHost.cpp:
1531 (WebViewHost::setWebWidget):
1533 2012-05-07 Jon Lee <jonlee@apple.com>
1535 WebKitTestRunner needs layoutTestController.dumpFrameLoadCallbacks
1536 https://bugs.webkit.org/show_bug.cgi?id=42331
1537 <rdar://problem/8193641>
1539 Reviewed by Darin Adler.
1541 This patch sets up the framework for supporting dumpFrameLoadCallbacks, as well as
1542 outputting some of the required strings. As tests become unskipped the other callbacks
1545 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Add dumpFrameLoadCallbacks()
1546 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1547 (WTR::InjectedBundle::didReceiveMessage): pass in the dictionary containing keys needed to initialize
1548 dump callbacks for the layoutTestController.
1549 (WTR::InjectedBundle::booleanForKey): Helper function to extract boolean value from key in WKDictionaryRef.
1550 Output some warning if we are trying to extract a value that is not a boolean.
1551 (WTR::InjectedBundle::beginTesting): Update to take in the dictionary passed in by the TestController.
1552 We cannot set the bits on the layoutTestController until it has been created in beginTesting().
1553 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1554 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1555 (WTR::InjectedBundle::didReceiveMessage):
1557 (WTR::InjectedBundle::beginTesting):
1558 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1560 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1562 (WTR::dumpFrameDescriptionSuitableForTestResult): Static function similar to
1563 -[WebFrame _drt_descriptionSuitableForTestResult] in DumpRenderTree.
1564 (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame): Output string.
1565 (WTR::InjectedBundlePage::didCommitLoadForFrame): Output string.
1566 (WTR::InjectedBundlePage::didFinishLoadForFrame): Output string.
1567 (WTR::InjectedBundlePage::didReceiveTitleForFrame): Output string.
1568 (WTR::InjectedBundlePage::didCancelClientRedirectForFrame): Output string.
1569 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame): Output string. In WK1 it's
1570 "willPerformClientRedirectToURL" so we will have to use that value here.
1571 (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame): Output string.
1572 (WTR::InjectedBundlePage::didHandleOnloadEventsForFrame): Output string.
1573 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
1574 (WTR::LayoutTestController::LayoutTestController): Initialize to not dump frame load callbacks.
1575 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
1576 (WTR::LayoutTestController::dumpFrameLoadCallbacks): Change to use setShouldDumpFrameLoadCallbacks.
1577 (WTR::LayoutTestController::setShouldDumpFrameLoadCallbacks): Set bit.
1578 (WTR::LayoutTestController::shouldDumpFrameLoadCallbacks): Return bit.
1579 (LayoutTestController): Added m_dumpFrameLoadCallbacks to track whether to dump the output.
1580 * WebKitTestRunner/TestInvocation.cpp:
1581 (WTR::shouldLogFrameLoadDelegates): Similar to DRT.
1582 (WTR::TestInvocation::invoke): Based on the URL loaded, set the bit in the dictionary that gets passed
1583 to the injected bundle.
1585 2012-05-07 Tommy Widenflycht <tommyw@google.com>
1587 [chromium] MediaStream API: Enhance WebUserMediaClientMock and add a test for it
1588 https://bugs.webkit.org/show_bug.cgi?id=85618
1590 Reviewed by Adam Barth.
1592 Adding the capability to control which MediaStreamTracks actually get created,
1593 and adding a test that exercises the JS api using that capability.
1595 * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
1596 (WebKit::WebUserMediaClientMock::requestUserMedia):
1597 * DumpRenderTree/chromium/WebUserMediaClientMock.h:
1598 * DumpRenderTree/chromium/WebViewHost.cpp:
1599 (WebViewHost::testMediaStreamClient):
1600 * DumpRenderTree/chromium/WebViewHost.h:
1603 2012-05-07 Zan Dobersek <zandobersek@gmail.com>
1605 [Gtk] WebGL feature is not built anymore through build-webkit after r116251
1606 https://bugs.webkit.org/show_bug.cgi?id=85788
1608 Reviewed by Martin Robinson.
1610 Enable WebGL by default for the Gtk port. The feature is already enabled by
1611 default in configure.ac, so there's no reason it shouldn't be enabled when
1612 building through build-webkit.
1614 * Scripts/webkitperl/FeatureList.pm:
1616 2012-05-07 Csaba Osztrogonác <ossy@webkit.org>
1618 Unittest fix after r116288, because now there are more than 5 hit for the 'Eric' word.
1619 We have only 2 'Gavin', so it is a better choice than 'Eric' for unit testing.
1621 Reviewed by Tor Arne Vestbø.
1623 * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
1624 (IRCCommandTest.test_whois):
1626 2012-05-07 Sheriff Bot <webkit.review.bot@gmail.com>
1628 Unreviewed, rolling out r116299, r116301, and r116303.
1629 http://trac.webkit.org/changeset/116299
1630 http://trac.webkit.org/changeset/116301
1631 http://trac.webkit.org/changeset/116303
1632 https://bugs.webkit.org/show_bug.cgi?id=85795
1634 Build is still broken (Requested by Ossy on #webkit).
1636 * DumpRenderTree/qt/DumpRenderTree.pro:
1637 * DumpRenderTree/qt/main.cpp:
1639 * QtTestPlatformPlugin/QtTestPlatformPlugin.pro: Removed.
1640 * QtTestPlatformPlugin/TestIntegration.cpp: Removed.
1641 * QtTestPlatformPlugin/TestIntegration.h: Removed.
1642 * QtTestPlatformPlugin/mac/TestFontDatabase.h: Removed.
1643 * QtTestPlatformPlugin/mac/TestFontDatabase.mm: Removed.
1644 * QtTestPlatformPlugin/mac/TestIntegrationMac.mm: Removed.
1645 * QtTestPlatformPlugin/main.cpp: Removed.
1646 * QtTestPlatformPlugin/testplatform.json: Removed.
1648 * WebKitTestRunner/Target.pri:
1649 * WebKitTestRunner/qt/main.cpp:
1652 2012-05-07 Balazs Kelemen <kbalazs@webkit.org>
1654 Unreviewed Qt build fix.
1656 One more try to learn how to use
1657 const with a pointer array.
1659 * DumpRenderTree/qt/main.cpp:
1660 (initializeTestPlatformPlugin):
1662 2012-05-07 Balazs Kelemen <kbalazs@webkit.org>
1664 Unreviewed build fix after r116299.
1666 * DumpRenderTree/qt/main.cpp:
1667 (initializeTestPlatformPlugin):
1669 2012-05-07 Balazs Kelemen <kbalazs@webkit.org>
1671 [Qt] Add test specific platform plugin to achieve unified layout test results
1672 https://bugs.webkit.org/show_bug.cgi?id=80996
1674 Reviewed by Simon Hausmann.
1676 Added QtTestPlatformPlugin as a new project under Tools.
1677 This is a Qt5-ish platform plugin that can be used to tweak the
1678 platform support interfaces in order to unify layout test results.
1679 For now it only overrides the font database on Mac and redirects
1680 everything else to the real platform plugin. The font database it
1681 provides mimics the way how we set up test fonts with fontconfig on Linux.
1682 Make DumpRenderTree and WebKitTestRunner use this platform plugin.
1684 * DumpRenderTree/qt/DumpRenderTree.pro:
1685 * DumpRenderTree/qt/main.cpp:
1686 (initializeTestPlatformPlugin):
1688 * QtTestPlatformPlugin/QtTestPlatformPlugin.pro: Added.
1689 * QtTestPlatformPlugin/TestIntegration.cpp: Added.
1690 (TestIntegration::TestIntegration):
1691 (TestIntegration::fontDatabase):
1692 * QtTestPlatformPlugin/TestIntegration.h: Added.
1694 (TestIntegration::hasCapability):
1695 (TestIntegration::createPlatformPixmap):
1696 (TestIntegration::createPlatformWindow):
1697 (TestIntegration::createPlatformBackingStore):
1698 (TestIntegration::createPlatformOpenGLContext):
1699 (TestIntegration::createPlatformSharedGraphicsCache):
1700 (TestIntegration::guiThreadEventDispatcher):
1701 (TestIntegration::clipboard):
1702 (TestIntegration::drag):
1703 (TestIntegration::inputContext):
1704 (TestIntegration::accessibility):
1705 (TestIntegration::nativeInterface):
1706 (TestIntegration::services):
1707 (TestIntegration::styleHint):
1708 (TestIntegration::platformTheme):
1709 * QtTestPlatformPlugin/mac/TestFontDatabase.h: Added.
1711 * QtTestPlatformPlugin/mac/TestFontDatabase.mm: Added.
1712 (TestFontDatabase::populateFontDatabase):
1713 * QtTestPlatformPlugin/mac/TestIntegrationMac.mm: Added.
1714 (TestIntegration::fontDatabase):
1715 * QtTestPlatformPlugin/main.cpp: Added.
1716 (TestIntegrationPlugin::keys):
1717 (TestIntegrationPlugin::create):
1718 (TestIntegrationPlugin::initialize):
1719 * QtTestPlatformPlugin/testplatform.json: Added.
1721 * WebKitTestRunner/Target.pri:
1722 * WebKitTestRunner/qt/main.cpp:
1725 2012-05-07 Christophe Dumez <christophe.dumez@intel.com>
1727 [EFL] media/video-poster-blocked-by-willsendrequest.html is flaky
1728 https://bugs.webkit.org/show_bug.cgi?id=85609
1730 Reviewed by Simon Hausmann.
1732 Flakiness was caused by the fact that
1733 media/crash-closing-page-with-media-as-plugin-fallback.html and
1734 media/video-poster-blocked-by-willsendrequest.html use the same PNG
1735 file as poster attribute in the video tag. The PNG file gets cached
1736 when the first test is executed and this somehow causes the second
1739 The flakiness was addressed by clearing the memory and page caches
1742 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1743 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1745 2012-05-07 Eric Seidel <eric@webkit.org>
1747 Add values for all features to Qt's features.pri
1748 https://bugs.webkit.org/show_bug.cgi?id=85746
1750 Reviewed by Tor Arne Vestbø.
1752 When generate-feature-files generates features.pri it provides a value
1753 for every possible ENABLE_. In prepration for landing generate-feature-files
1754 it seems appropriate to add a value for all possible ENABLEs to the existing
1755 features.pri. This lets me make sure that I'm getting them all right!
1757 * qmake/mkspecs/features/features.pri:
1759 2012-05-07 Adam Bergkvist <adam.bergkvist@ericsson.com>
1761 Added myself as a committer.
1765 * Scripts/webkitpy/common/config/committers.py:
1767 2012-05-07 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
1769 [EFL][DRT] Implement LayoutTestController::execCommand
1770 https://bugs.webkit.org/show_bug.cgi?id=82286
1772 Reviewed by Antonio Gomes.
1774 Add missing implementation execCommand and isCommandEnabled to EFL's
1775 LayoutTestController.
1777 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1778 (LayoutTestController::execCommand):
1779 (LayoutTestController::isCommandEnabled):
1781 2012-05-06 Hayato Ito <hayato@chromium.org>
1783 [prepare-ChangeLog] Excludes a reference file used by reftests from test files.
1784 https://bugs.webkit.org/show_bug.cgi?id=74268
1786 Reviewed by Ryosuke Niwa.
1788 * Scripts/prepare-ChangeLog:
1791 2012-05-06 Mary Wu <mary.wu@torchmobile.com.cn>
1793 Add a contributor to committers.py
1794 https://bugs.webkit.org/show_bug.cgi?id=85761
1796 Reviewed by Unreviewed.
1798 Add myself to committers.py contributor.
1800 * Scripts/webkitpy/common/config/committers.py:
1802 2012-05-06 Dan Bernstein <mitz@apple.com>
1804 Tools part of: Building and debugging WebKit in the Xcode IDE requires a lot of setup
1805 https://bugs.webkit.org/show_bug.cgi?id=85739
1807 Reviewed by Daniel Bates.
1809 * Scripts/build-webkit: Moved code that copies from WebKitLibraries to the product directory
1811 * Scripts/copy-webkitlibraries-to-product-directory: ...to this new script.
1813 2012-05-06 Andy Estes <aestes@apple.com>
1815 Fix the build after r116246.
1817 * DumpRenderTree/LayoutTestController.cpp: Remove an unused function.
1819 2012-05-06 Eric Seidel <eric@webkit.org>
1821 Update several build-webkit options to match the #defines they toggle
1822 https://bugs.webkit.org/show_bug.cgi?id=85744
1824 Reviewed by Adam Barth.
1826 Most notable here is fixing --3d-canvas to be --webgl these days --
1827 the define was renamed 15 months ago!
1829 * Scripts/webkitperl/FeatureList.pm:
1831 2012-05-06 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
1833 [EFL] EFL's LayoutTestController setJavaScriptCanAccessClipboard implementation
1834 https://bugs.webkit.org/show_bug.cgi?id=83687
1836 Reviewed by Antonio Gomes.
1838 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1839 (LayoutTestController::setJavaScriptCanAccessClipboard):
1841 2012-05-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1843 Convert isPageBoxVisible to use Internals interface.
1844 https://bugs.webkit.org/show_bug.cgi?id=85692
1846 Reviewed by Darin Adler.
1848 Remove isPageBoxVisible functions, because it is able to work in the
1849 cross-port way through the Internals interface.
1851 * DumpRenderTree/LayoutTestController.cpp:
1852 (LayoutTestController::staticFunctions):
1853 * DumpRenderTree/LayoutTestController.h:
1854 (LayoutTestController):
1855 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
1856 * DumpRenderTree/chromium/LayoutTestController.cpp:
1857 (LayoutTestController::LayoutTestController):
1858 * DumpRenderTree/chromium/LayoutTestController.h:
1859 (LayoutTestController):
1860 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
1861 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1862 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1863 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1864 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1865 (LayoutTestController):
1866 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1867 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1869 2012-05-06 Tom Zakrajsek <tomz@codeaurora.org>
1871 sheriffbot isn't reopening patches after it lands rollouts
1872 https://bugs.webkit.org/show_bug.cgi?id=64418
1874 Reviewed by Adam Barth.
1876 * Scripts/webkitpy/tool/commands/download_unittest.py:
1877 * Scripts/webkitpy/tool/steps/createbug.py:
1880 2012-05-04 Raphael Kubo da Costa <rakuco@webkit.org>
1882 webkitpy: Use os.pathsep instead of manually finding out the path separator in NRWT.
1883 https://bugs.webkit.org/show_bug.cgi?id=85697
1885 Reviewed by Eric Seidel.
1887 * Scripts/new-run-webkit-tests: Instead of manually detecting whether
1888 the path separator should be ':' or ';' by checking sys.platform, rely
1889 on os.pathsep which has exactly the same information (os.pathsep is
1890 ':' for Cygwin, from what I could check in Python's sources).
1892 2012-05-05 Sheriff Bot <webkit.review.bot@gmail.com>
1894 Unreviewed, rolling out r116223.
1895 http://trac.webkit.org/changeset/116223
1896 https://bugs.webkit.org/show_bug.cgi?id=85718
1898 The bots need to set XDG_DATA_DIRS (Requested by rakuco on
1904 2012-05-05 Raphael Kubo da Costa <rakuco@webkit.org>
1906 [jhbuild] Do not set XDG_DATA_DIRS in jhbuildrc.
1907 https://bugs.webkit.org/show_bug.cgi?id=85717
1909 Reviewed by Martin Robinson.
1911 After r116209, the XDG_DATA_DIRS environment variable is now
1912 passed by webkitpy's layout_tests code to run-with-jhbuild, so
1913 instead of setting a few defaults in jhbuildrc we can now rely on
1914 the values set and really used by each system.
1919 2012-05-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1921 [Qt] Buildfix for --minimal build after r116107.
1923 Reviewed by Csaba Osztrogonác.
1925 * qmake/mkspecs/features/features.prf:
1927 2012-05-05 Zan Dobersek <zandobersek@gmail.com>
1929 [Gtk] GtkDriver is not required anymore after r116134
1930 https://bugs.webkit.org/show_bug.cgi?id=85699
1932 Reviewed by Csaba Osztrogonác.
1934 Remove GtkDriver as it was replaced by the XvfbDriver and is
1937 * Scripts/webkitpy/layout_tests/port/gtk.py:
1939 2012-05-05 Zan Dobersek <zandobersek@gmail.com>
1941 Increase the display ID for the Xvfb process to use if pixel_tests argument
1942 is true rather than if pixel_tests option is present. This fixes the
1943 XvfbDriver in the same way r115825 fixed the now-redundant GtkDriver.
1945 Rubber-stamped by Csaba Osztrogonác.
1947 * Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
1948 (XvfbDriver._start):
1950 2012-05-04 Raphael Kubo da Costa <rakuco@webkit.org>
1952 webkitpy: Preserve XDG_DATA_DIRS in the environment passed to ServerProcess.
1953 https://bugs.webkit.org/show_bug.cgi?id=85694
1955 Reviewed by Martin Robinson.
1957 This is sort of a follow-up to r100674: $XDG_DATA_DIRS should be
1958 preserved, as it is particularly useful for Linux/Unix
1959 environments. As a real use case, if shared-mime-info is
1960 installed into a non-trivial prefix, Glib and other libraries will
1961 have trouble to properly identify mimetypes (in ResourceResponses,
1962 for example) as the base freedesktop.org mimetype file will not be
1965 * Scripts/webkitpy/layout_tests/port/base.py:
1966 (Port.to.setup_environ_for_server):
1968 2012-05-04 Gustavo Noronha Silva <gns@gnome.org>
1970 [GTK] Simplify how libWebCoreModules is linked in, and fix WebKit2 build
1971 https://bugs.webkit.org/show_bug.cgi?id=85691
1973 * GNUmakefile.am: no longer link libWebCoreModules to DumpRenderTree.
1975 2012-05-04 Eric Seidel <eric@webkit.org>
1977 Make capitalization and descriptions in FeatureList.pm more consistent to make easier to autogenerate
1978 https://bugs.webkit.org/show_bug.cgi?id=85583
1980 Reviewed by Daniel Bates.
1982 * Scripts/webkitperl/FeatureList.pm:
1984 2012-05-04 Eric Seidel <eric@webkit.org>
1986 Sort entries in FeaturesList.pm to make them easier to autogenerate
1987 https://bugs.webkit.org/show_bug.cgi?id=85584
1989 Reviewed by Daniel Bates.
1991 No functional changes, only sorting.
1993 * Scripts/webkitperl/FeatureList.pm:
1995 2012-05-04 Andy Estes <aestes@apple.com>
1997 REGRESSION (r115752): WebKit2.NewFirstVisuallyNonEmptyLayout API test times out
1998 https://bugs.webkit.org/show_bug.cgi?id=85675
2000 * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp:
2001 (TestWebKitAPI::TEST): Disable the test.
2003 2012-04-30 Jer Noble <jer.noble@apple.com>
2005 Full screen will exit during a provisional load of a non-ancestor iframe.
2006 https://bugs.webkit.org/show_bug.cgi?id=85230
2008 Reviewed by Maciej Stachowiak .
2010 Add support for the new UIDelegate webView:closeFullScreenWithListener: method:
2011 * DumpRenderTree/mac/UIDelegate.mm:
2012 (-[UIDelegate webView:closeFullScreenWithListener:]):
2014 Add support for the new closeFullScreen injected bundle method:
2015 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2016 (WTR::InjectedBundlePage::InjectedBundlePage):
2017 (WTR::InjectedBundlePage::closeFullScreen):
2018 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
2020 2012-05-04 Ojan Vafai <ojan@chromium.org>
2022 Fix test naming to be camel-case like the methods they are testing.
2024 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2027 2012-05-04 Ojan Vafai <ojan@chromium.org>
2029 Show the results links in the embedded flakiness dashboard
2030 https://bugs.webkit.org/show_bug.cgi?id=85660
2032 Reviewed by Adam Barth.
2034 Turns out these links don't add much visual noise and it's annoying
2035 to have to go to the dashboard from garden-o-matic just to view the
2038 This is useful for cases where garden-o-matic doesn't properly show the
2039 results (e.g. missing tests). If we address all those cases, then
2040 we could easily hide the results links again if we wanted to.
2042 * TestResultServer/static-dashboards/flakiness_dashboard.js:
2043 (showUpdateInfoForTest):
2044 (htmlForIndividualTestOnAllBuildersWithResultsLinks):
2045 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2048 2012-05-04 Dirk Pranke <dpranke@chromium.org>
2050 Revert to using chromium --test-shell mode on SL in NRWT
2052 https://bugs.webkit.org/show_bug.cgi?id=83076
2054 Unreviewed, build fix.
2056 We seem to be seeing a lot more flakiness on the bot since
2057 I switched NRWT to "DRT" mode. We'll try reverting back and
2058 see if this helps things.
2060 * Scripts/webkitpy/layout_tests/port/chromium.py:
2061 (ChromiumDriver.__init__):
2063 2012-05-04 Christophe Dumez <christophe.dumez@intel.com>
2065 [EFL] Implement layoutTestController.dumpResourceResponseMIMETypes
2066 https://bugs.webkit.org/show_bug.cgi?id=84941
2068 Reviewed by Martin Robinson.
2070 Print MIME type detection messages in EFL's DumpRenderTree if
2071 LayoutTestController's dumpResourceResponseMIMETypes() returns true.
2073 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2074 (DumpRenderTreeChrome::onResponseReceived):
2076 2012-05-04 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
2078 [GTK] DRT needs an implementation of LayoutTestController::setDefersLoading and ::goBack
2079 https://bugs.webkit.org/show_bug.cgi?id=85134
2081 Reviewed by Martin Robinson.
2083 Add missing implementation setDefersLoading and goBack to GTK's
2084 LayoutTestController so that the test case rely on these methods
2087 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2088 (resetDefaultsToConsistentValues):
2089 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2090 (LayoutTestController::goBack):
2091 (LayoutTestController::setDefersLoading):
2093 2012-05-04 Kristóf Kosztyó <kkristof@inf.u-szeged.hu>
2095 [Qt][NRWT] Run each DRT in it's own xvfb
2096 https://bugs.webkit.org/show_bug.cgi?id=77335
2098 Reviewed by Dirk Pranke.
2100 * Scripts/webkitpy/layout_tests/port/gtk.py:
2101 (GtkPort._driver_class):
2102 * Scripts/webkitpy/layout_tests/port/qt.py:
2103 (QtPort._driver_class):
2104 * Scripts/webkitpy/layout_tests/port/xvfbdriver.py: Added.
2106 (XvfbDriver._start):
2107 (XvfbDriver._start.x_filter):
2110 2012-05-04 Zan Dobersek <zandobersek@gmail.com>
2112 Use destructuring assingment for the return values of the
2113 port.diff_image() method call.
2115 Rubber-stamped by Dirk Pranke.
2117 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
2118 (write_test_result):
2120 2012-05-03 Ojan Vafai <ojan@chromium.org>
2122 Store fewer runs by default in the flakiness dashboard
2123 https://bugs.webkit.org/show_bug.cgi?id=85568
2125 Reviewed by Dirk Pranke.
2127 This will greatly shrink the size of the json files we load,
2128 resulting in a much faster initial load. People rarely care
2129 about more than 100 runs. For the cases they do, they can still click
2130 the show all runs checkbox to show 500 runs.
2132 * TestResultServer/model/jsonresults.py:
2134 2012-05-04 Christophe Dumez <christophe.dumez@intel.com>
2136 [EFL] Frame load callbacks output is missing for redirections
2137 https://bugs.webkit.org/show_bug.cgi?id=85173
2139 Reviewed by Antonio Gomes.
2141 Catch the new ewk_frame signals to print the expected output in case
2142 of redirections, when LayoutTestController's dumpFrameLoadCallbacks()
2145 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2146 (DumpRenderTreeChrome::createView):
2147 (DumpRenderTreeChrome::onWillSendRequest):
2148 (DumpRenderTreeChrome::onFrameCreated):
2149 (DumpRenderTreeChrome::onFrameRedirectForProvisionalLoad):
2150 (DumpRenderTreeChrome::onFrameRedirectRequested):
2151 (DumpRenderTreeChrome::onResponseReceived):
2152 * DumpRenderTree/efl/DumpRenderTreeChrome.h:
2153 (DumpRenderTreeChrome):
2155 2012-05-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2157 [Qt] Fix up warning about missing GLib/Gio/GStreamer
2159 We don't actually fall back.
2161 Rubber-stamped by Csaba Osztrogonác.
2163 * qmake/mkspecs/features/features.prf:
2165 2012-05-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2167 [Qt] Clarify warning about missing GLib/Gio/GStreamer for media support
2169 And only print it once.
2171 Reviewed by Csaba Osztrogonác.
2173 * qmake/mkspecs/features/features.prf:
2175 2012-05-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2177 [Qt] Clean up and split features.prf into a static list of defaults
2179 The static list of feature defaults is used as a fallback for any
2180 feature that's not dynamically detected or overriden on the command
2181 line (though build-webkit or passing DEFINES+= to qmake).
2183 The static list is complete, which allows for auto-generation based
2184 on Features.py (see bug https://bugs.webkit.org/show_bug.cgi?id=85456)
2186 https://bugs.webkit.org/show_bug.cgi?id=85611
2188 Reviewed by Simon Hausmann.
2190 * Scripts/build-webkit:
2192 * qmake/mkspecs/features/features.prf:
2193 * qmake/mkspecs/features/features.pri: Added.
2195 2012-05-04 Sheriff Bot <webkit.review.bot@gmail.com>
2197 Unreviewed, rolling out r116085, r116091, and r116095.
2198 http://trac.webkit.org/changeset/116085
2199 http://trac.webkit.org/changeset/116091
2200 http://trac.webkit.org/changeset/116095
2201 https://bugs.webkit.org/show_bug.cgi?id=85628
2203 We are not ready with dependencies on all platform yet (mac) +
2204 problems with debug builds. (Requested by Zoltan on #webkit).
2206 * qmake/mkspecs/features/features.prf:
2208 2012-05-04 Christophe Dumez <christophe.dumez@intel.com>
2210 [EFL] LayoutTestController does not support overriding WebKitLoadSiteIconsKey
2211 https://bugs.webkit.org/show_bug.cgi?id=85171
2213 Reviewed by Andreas Kling.
2215 Implement support for overriding "WebKitLoadSiteIconsKey" setting in
2216 EFL's LayoutTestController.
2218 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2219 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
2220 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2221 (LayoutTestController::overridePreference):
2223 2012-05-03 Alexis Menard <alexis.menard@openbossa.org>
2225 [Qt] Enable fullscreen API for WebKit2.
2226 https://bugs.webkit.org/show_bug.cgi?id=85498
2228 Reviewed by Simon Hausmann.
2230 Enable the fullscreen API on the MiniBrowser and turn
2231 it default on WebKit2, disable it on WK1.
2233 * MiniBrowser/qt/BrowserWindow.cpp:
2234 (BrowserWindow::BrowserWindow):
2235 * MiniBrowser/qt/qml/BrowserWindow.qml:
2236 * Scripts/webkitperl/FeatureList.pm:
2237 * qmake/mkspecs/features/features.prf:
2239 2012-05-04 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2241 REGRESSION(r116008) old-run-webkit-tests broken
2242 https://bugs.webkit.org/show_bug.cgi?id=85597
2244 Reviewed by Simon Hausmann.
2246 Reinstate libraryContainsSymbol.
2248 * Scripts/webkitperl/features.pm:
2249 (libraryContainsSymbol):
2251 2012-05-04 Zoltan Horvath <zoltan@webkit.org>
2253 [Qt] Set WebCore imagedecoders as default and add fallback to QImageDecoder
2254 https://bugs.webkit.org/show_bug.cgi?id=80400
2256 Remove WTF_USE_QT_IMAGE_DECODER macro.
2258 Reviewed by Simon Hausmann.
2260 * qmake/mkspecs/features/features.prf:
2262 2012-05-03 Christophe Dumez <christophe.dumez@intel.com>
2264 [EFL] DRT should obey layoutTestController's addURLToRedirect()
2265 https://bugs.webkit.org/show_bug.cgi?id=82722
2267 Reviewed by Maciej Stachowiak.
2269 Implement support for layoutTestController's addURLToRedirect()
2270 in EFL's DRT so that it redirects properly when indicated.
2272 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2273 (DumpRenderTreeChrome::onWillSendRequest):
2275 2012-05-03 Christophe Dumez <christophe.dumez@intel.com>
2277 [EFL] DRT should support LayoutTestController's willSendRequestReturnsNullOnRedirect()
2278 https://bugs.webkit.org/show_bug.cgi?id=82704
2280 Reviewed by Antonio Gomes.
2282 EFL's DRT needs to obey LayoutTestController's
2283 willSendRequestReturnsNullOnRedirect().
2285 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2286 (DumpRenderTreeChrome::onWillSendRequest):
2288 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2290 git-add-reviewer: Do not put the bug title and its URL in the same line in the commit message.
2291 https://bugs.webkit.org/show_bug.cgi?id=85570
2293 Reviewed by Adam Roben.
2295 The standard format of commit messages and ChangeLog entries has a
2296 short summary in the first line, followed by the bug URL in
2297 Bugzilla. Passing "%s" in the pretty format line to git-rev-list
2298 merges these two lines into a single one separated by a space
2299 character, which is not what we want.
2301 Since "%s%n%n%b" is in practice "%B" (raw message), use it
2302 instead, as the first two lines do not end up being merged
2305 * Scripts/git-add-reviewer:
2306 (writeCommitMessageToFile):
2308 2012-05-03 Ojan Vafai <ojan@chromium.org>
2310 Improve UI for garden-o-matic examine view when there are fewer than 5 tests.
2311 https://bugs.webkit.org/show_bug.cgi?id=85566
2313 Reviewed by Adam Barth.
2315 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
2317 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
2319 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
2321 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2323 webkitpy: Recognize FreeBSD as a valid platform.
2324 https://bugs.webkit.org/show_bug.cgi?id=81467
2326 Reviewed by Adam Barth.
2328 Add PlatformInfo.is_freebsd() so that trying to use webkit-patch
2329 on FreeBSD does not raise an "unrecognized platform" exception.
2331 Most of this patch contains some unit tests for the mentioned
2332 method, as currently platform-specific code is needed only on
2335 * Scripts/webkitpy/common/system/platforminfo.py:
2336 (PlatformInfo.__init__):
2337 (PlatformInfo.is_freebsd):
2338 (PlatformInfo._determine_os_name):
2339 * Scripts/webkitpy/common/system/platforminfo_mock.py:
2340 (MockPlatformInfo.is_freebsd):
2341 * Scripts/webkitpy/common/system/platforminfo_unittest.py:
2343 (fake_platform.FakePlatformModule.release):
2344 (TestPlatformInfo.test_real_code):
2345 (TestPlatformInfo.test_os_name_and_wrappers):
2346 (TestPlatformInfo.test_os_version):
2347 (TestPlatformInfo.test_display_name):
2348 (TestPlatformInfo.test_total_bytes_memory):
2349 (TestPlatformInfo.test_free_bytes_memory):
2350 * Scripts/webkitpy/layout_tests/port/factory.py:
2351 (PortFactory._default_port):
2353 2012-05-03 Ojan Vafai <ojan@chromium.org>
2355 Make the table headers white-space:nowrap. This decreases the vertical size,
2356 which makes for more minimal embedding in garden-o-matic.
2358 * TestResultServer/static-dashboards/flakiness_dashboard_tests.css:
2359 (.table-header-content *):
2361 2012-05-03 Eric Seidel <eric@webkit.org>
2363 Split build-webkit's feature option list off into its own module in preparation for autogeneration
2364 https://bugs.webkit.org/show_bug.cgi?id=85548
2366 Reviewed by Daniel Bates.
2368 My Perl-fu is very weak. This moves the feature option list off into a separate module
2369 file so that I can easily autogenerate just that file with the fancy new generate-feature-files command.
2370 It's a bit odd to have an array which we return out to build-webkit to modify, but it turns out
2371 not to matter. Also, build-webkit doesn't actually use any of the variables we're using to
2372 store the results from the option parse, so those end up inaccessible from build-webkit (except by reference)
2373 which is actually cleaner. Callers can't assume that they would get a new array every time, but someone
2374 with more Perl-fu than I could create something fancier than this if we need in the future.
2376 * Scripts/build-webkit:
2377 * Scripts/webkitperl/FeatureList.pm: Added.
2378 (getFeatureOptionList):
2380 2012-05-03 Dirk Pranke <dpranke@chromium.org>
2382 REGRESSION: run-webkit-tests failing on Chromium Mac
2383 https://bugs.webkit.org/show_bug.cgi?id=85459
2385 Unreviewed, build fix.
2387 Turns out select doesn't throw IOErrors, it has it's own kind of
2388 error :(. Trap that instead.
2390 * Scripts/webkitpy/layout_tests/port/server_process.py:
2391 (ServerProcess._wait_for_data_and_update_buffers_using_select):
2393 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2395 [CMake] Rewrite FindCairo.cmake.
2396 https://bugs.webkit.org/show_bug.cgi?id=84895
2398 Reviewed by Daniel Bates.
2400 The old approach relied on pkg-config for finding Cairo (which
2401 introduced a dependency on pkg-config that could be avoided), used
2402 the LibFindMacros code that we should probably remove in the
2403 future and did not use the FindPackageHandleStandardArguments
2406 Change all that by rewriting the module.
2407 - Use the pkg-config output optionally instead of requiring it
2408 like LibFindMacros did.
2409 - Remove the implicit dependency on FreeType which often found it
2410 the wrong way via pkg-config and without considering
2412 - Retrieve the Cairo version by looking at cairo-version.h instead
2413 of relying on pkg-config. It requires some additional code for
2414 checking if the desired version has been found, but that will not
2415 be needed once we start depending on CMake 2.8.3 or later.
2417 The only downside is that FPHSA sets <UPPERCASED_NAME>_FOUND
2418 instead of <Name>_FOUND, and to keep things consistent
2419 Cairo_LIBRARIES and Cairo_INCLUDE_DIRS have become CAIRO_LIBRARIES
2420 and CAIRO_INCLUDE_DIRS.
2422 * DumpRenderTree/efl/CMakeLists.txt: Use CAIRO_FOO instead of
2424 * EWebLauncher/CMakeLists.txt: Ditto.
2426 2012-05-03 Ojan Vafai <ojan@chromium.org>
2428 Fix modifier and bug sorting on the flakiness dashboard
2429 https://bugs.webkit.org/show_bug.cgi?id=85554
2431 Reviewed by Dirk Pranke.
2433 The sorting assumes that the column header name matches a field
2434 in the testResults object and uses that field for sorting.
2435 Filter the bugs out of the modifiers list and put them in a bugs field
2436 and only put the non-bug modifiers in the modifiers list.
2438 * TestResultServer/static-dashboards/flakiness_dashboard.js:
2439 (populateExpectationsData):
2440 (htmlForSingleTestRow):
2441 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2443 2012-05-03 Ojan Vafai <ojan@chromium.org>
2445 Fix some state resetting when running unittests. HtmlForSingleTestRow
2448 * TestResultServer/static-dashboards/flakiness_dashboard.js:
2449 (htmlForSingleTestRow):
2450 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2453 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2455 webkitpy: Use PlatformInfo wherever possible in the User class.
2456 https://bugs.webkit.org/show_bug.cgi?id=85549
2458 Reviewed by Dirk Pranke.
2460 Instead of relying on sys.platform to detect whether the current
2461 platform is a Mac, use the PlatformInfo class instead.
2463 * Scripts/webkitpy/common/system/user.py:
2465 (User.edit_changelog):
2467 2012-05-03 Ojan Vafai <ojan@chromium.org>
2469 Remove the percent failed column from the flakiness dashboard
2470 https://bugs.webkit.org/show_bug.cgi?id=85552
2472 Reviewed by Dirk Pranke.
2474 This column isn't useful enough to justify the visual noise.
2476 * TestResultServer/static-dashboards/flakiness_dashboard.js:
2477 (processMissingAndExtraExpectations):
2479 (htmlForSingleTestRow):
2481 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2484 2012-05-03 Eric Seidel <eric@webkit.org>
2486 --coverage should not not use the "feature" options system in build-webkit, similarly remove special-casing for WTF_URL
2487 https://bugs.webkit.org/show_bug.cgi?id=85542
2489 Reviewed by Daniel Bates.
2491 Remove these last two odd-men-out, so that we can generate the default feature options
2492 for build-webkit using the new generate-feature-files command.
2493 The Mac build system has some special casing for ENABLE_ defines which gets them
2494 defined as -D on the build command, even though initially they start out as
2495 environment variables ENABLE_FOO = ENABLE_FOO. The Feature options in build-webkit
2496 depend on this support, but it doesn't work for WTF_USE_ defines like WTF_USE_WTF_URL.
2497 I'm told that WTF_URL is not actively being worked on, so just removing it for now.
2498 It should probably come back to life as an ENABLE_, or build-webkit or the Xcode projects
2499 should be made generically smarter about these USE_WTF defines.
2500 (There is still WTF_USE_TILED_BACKING_STORE in the feature list, but it only seems
2501 used by Qt. If someone tried build-webkit --tiled-backing-store on Mac today it
2504 * Scripts/build-webkit:
2506 2012-05-03 Eric Seidel <eric@webkit.org>
2508 Remove the last bits of Leopard support from our perl scripts
2509 https://bugs.webkit.org/show_bug.cgi?id=85545
2511 Reviewed by Daniel Bates.
2513 Chromium still supports Leopard (for a little while yet), but AppleMacWebKit dropped
2514 Leopard support several months ago. Remove the last bits of isLeopard() branching
2515 in our Perl scripts, since no one is using this (Chromium has never used this Perl code).
2517 * Scripts/build-webkit:
2518 * Scripts/old-run-webkit-tests:
2519 (countAndPrintLeaks):
2520 (captureSavedCrashLog):
2521 * Scripts/webkitdirs.pm:
2522 (determineArchitecture):
2523 (argumentsForRunAndDebugMacWebKitApp):
2525 2012-05-03 Ojan Vafai <ojan@chromium.org>
2527 [Chromium] Don't show the WebKit Linux ASAN bot on the flakiness dashboard.
2528 https://bugs.webkit.org/show_bug.cgi?id=85551
2530 Reviewed by Dirk Pranke.
2532 It's not uploading results and in the short term we don't plan to have it start.
2534 * TestResultServer/static-dashboards/builders.js:
2535 (isChromiumWebkitTipOfTreeTestRunner):
2536 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2538 2012-05-03 Ojan Vafai <ojan@chromium.org>
2540 Show the test name in the dashboard if showChrome==false and we're showing multiple tests
2541 https://bugs.webkit.org/show_bug.cgi?id=85243
2543 Reviewed by Dirk Pranke.
2545 This happens for cases where a test name matches multiple tests.
2546 In practice, this only happens for virtual test suites (e.g. the canvas tests).
2548 * TestResultServer/static-dashboards/flakiness_dashboard.js:
2549 (htmlForIndividualTestOnAllBuildersWithChrome):
2550 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2551 (testHtmlForIndividualTestOnAllBuildersWithChromeNonexistant):
2552 (testHtmlForIndividualTestOnAllBuildersWithChrome):
2553 (testHtmlForIndividualTestOnAllBuildersWithChromeWebkitMaster):
2554 (testHtmlForIndividualTests):
2556 2012-05-03 Ojan Vafai <ojan@chromium.org>
2558 Port the flakiness dashboard unittests to qunit
2559 https://bugs.webkit.org/show_bug.cgi?id=85544
2561 Reviewed by Adam Barth.
2563 * TestResultServer/static-dashboards/dashboard_base.js:
2564 (appendJSONScriptElements):
2565 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2567 (runExpectationsTest):
2569 * TestResultServer/static-dashboards/run-unittests.html: Added.
2571 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2573 webkitpy: Remove check for readline on Mac.
2574 https://bugs.webkit.org/show_bug.cgi?id=85547
2576 Reviewed by Eric Seidel.
2578 Python 2.5 is not supported by the WebKit project anymore, and
2579 Python's readline documentation does not mention the module not
2580 being available in the supported versions.
2582 * Scripts/webkitpy/common/system/user.py:
2584 2012-05-03 Thiago Marcos P. Santos <thiago.santos@intel.com>
2586 [NRWT] Run performance tests with lock
2587 https://bugs.webkit.org/show_bug.cgi?id=78628
2589 Reviewed by Tony Chang.
2591 Locking performance tests (like we do for http tests) will force them
2592 to run in serial. This reduces the load of the machine when running perf
2593 tests and minimizes the chances of the tests to fail, specially
2596 * Scripts/webkitpy/layout_tests/controllers/manager.py:
2598 (Manager._is_perf_test):
2599 (Manager._test_requires_lock):
2600 * Scripts/webkitpy/layout_tests/port/http_lock.py:
2602 2012-05-03 Dirk Pranke <dpranke@chromium.org>
2604 Attempt to fix a crash on SL ...
2606 Unreviewed, build fix.
2608 It looks like we may be getting an IOError raised during
2609 select() on chromium mac, and that error isn't being caught.
2610 Pushing it into the try/catch block will hopefully catch this
2611 and allow us to see why the subprocess is crashing.
2613 * Scripts/webkitpy/layout_tests/port/server_process.py:
2614 (ServerProcess._wait_for_data_and_update_buffers_using_select):
2616 2012-05-02 Jon Honeycutt <jhoneycutt@apple.com>
2618 WebFrameLoaderClient::dispatchWillSendSubmitEvent() needs to be
2619 implemented for WebKit2
2620 https://bugs.webkit.org/show_bug.cgi?id=84304
2622 Reviewed by Jessie Berlin.
2624 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2625 Added new files to project.
2627 * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent.cpp: Added.
2628 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
2629 Look for the "DidReceiveWillSendSubmitEvent" message. The message body
2630 will be the dictionary of form control names and values passed to the
2631 injected bundle's willSendSubmitEvent handler; look for the pairs
2632 "textField" -> "text field" and "passwordField" -> "password field".
2633 Check that "hiddenField" is not included.
2634 (TestWebKitAPI::setInjectedBundleClient):
2635 (TestWebKitAPI::TEST):
2637 * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp: Added.
2638 (TestWebKitAPI::willSendSubmitEvent):
2639 Post a message to the TestWebKitAPI process with the dictionary of form
2640 control names and values that we received.
2641 (TestWebKitAPI::WillSendSubmitEventTest::WillSendSubmitEventTest):
2642 (TestWebKitAPI::WillSendSubmitEventTest::didCreatePage):
2643 Set up the page's form client.
2645 * TestWebKitAPI/Tests/WebKit2/auto-submitting-form.html: Added.
2647 2012-05-03 Eric Seidel <eric@webkit.org>
2649 Remove dead code from build-webkit for working around old XCode dependency bug
2650 https://bugs.webkit.org/show_bug.cgi?id=85535
2652 Reviewed by Adam Barth.
2654 Xcode used to have a bug whereby it didn't notice if you changed the #defines
2655 passed on the command line to xcodebuild. I wrote code to work around this
2656 while bringing up SVG support 5-6 years ago. I think we can finally remove this
2657 code from build-webkit, since SVG is the only feature flag to ever use it
2658 (modern in-progress features like MathML don't seem to be using the support)
2659 an I suspect the XCode bug has long been fixed.
2661 * Scripts/build-webkit:
2662 * Scripts/webkitperl/features.pm:
2664 2012-05-03 Andy Estes <aestes@apple.com>
2666 InjectedBundleControllerMac.mm needs to include config.h
2667 https://bugs.webkit.org/show_bug.cgi?id=85531
2669 Reviewed by Andreas Kling.
2671 * TestWebKitAPI/mac/InjectedBundleControllerMac.mm:
2673 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2675 webkitpy: Use PlatformInfo whenever possible in server_process.py.
2676 https://bugs.webkit.org/show_bug.cgi?id=85516
2678 Reviewed by Eric Seidel.
2680 Eliminate direct access to sys.platform wherever possible by using
2681 PlatformInfo.is_win() instead.
2683 * Scripts/webkitpy/layout_tests/port/server_process.py:
2684 (ServerProcess.__init__): Remove the executive parameter as it was
2685 not passed by any caller, obtain a SystemHost from port_obj
2687 (ServerProcess._log): Style, remove extra empty line.
2688 (ServerProcess._start):
2689 (ServerProcess.stop):
2690 (ServerProcess.kill):
2691 * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
2692 (TrivialMockPort.__init__): Create a MockSystemHost used by
2694 (TestServerProcess.test_broken_pipe): Test different platforms.
2696 2012-05-03 Thiago Marcos P. Santos <thiago.santos@intel.com>
2698 webkitpy: Style checker broken when committing a PNG
2699 https://bugs.webkit.org/show_bug.cgi?id=85504
2701 Reviewed by Dirk Pranke.
2703 * Scripts/webkitpy/style/checkers/png.py:
2704 (PNGChecker.__init__):
2706 2012-05-03 Philippe Normand <pnormand@igalia.com>
2708 Unreviewed, fix another call to join(), similar to the ones landed
2711 * Scripts/webkitdirs.pm:
2712 (jhbuildConfigurationChanged):
2714 2012-05-03 Raphael Kubo da Costa <rakuco@webkit.org>
2716 webkitpy: Remove sys.platform accesses in CrashLogs.
2717 https://bugs.webkit.org/show_bug.cgi?id=85436
2719 Reviewed by Dirk Pranke.
2721 Instead of directly checking for sys.platform == 'darwin', use a
2722 SystemHost and call PlatformInfo.is_mac().
2724 * Scripts/webkitpy/common/system/crashlogs.py:
2725 (CrashLogs.__init__):
2726 (CrashLogs.find_newest_log):
2727 (CrashLogs._log_directory_darwin):
2728 (CrashLogs._find_newest_log_darwin):
2729 * Scripts/webkitpy/common/system/crashlogs_unittest.py:
2730 (CrashLogsTest.test_find_log_darwin):
2731 * Scripts/webkitpy/layout_tests/port/mac.py:
2732 (MacPort._get_crash_log):
2733 * Scripts/webkitpy/layout_tests/port/test.py:
2734 (TestDriver.run_test):
2735 * Scripts/webkitpy/tool/commands/queries.py:
2738 2012-05-03 Philippe Normand <pnormand@igalia.com>
2740 [GTK] join() is wrongly used in webkitdirs.pm since r115532
2741 https://bugs.webkit.org/show_bug.cgi?id=85501
2743 Reviewed by Martin Robinson.
2745 * Scripts/webkitdirs.pm:
2747 (buildAutotoolsProject):
2749 2012-05-03 Zan Dobersek <zandobersek@gmail.com>
2751 [Gtk] ImageDiff crashes when it can't open a display
2752 https://bugs.webkit.org/show_bug.cgi?id=85476
2754 Reviewed by Martin Robinson.
2756 Replace gdk_init() initialization call with the g_type_init()
2757 call. GdkPixbufLoader doesn't actually need the current call to be
2758 made and this change will also remove crashes when ImageDiff
2759 is started in an environment without a DISPLAY env.
2761 * DumpRenderTree/gtk/ImageDiff.cpp:
2764 2012-05-03 Zan Dobersek <zandobersek@gmail.com>
2766 ImageDiff should be run inside a properly established environment
2767 https://bugs.webkit.org/show_bug.cgi?id=85292
2769 Reviewed by Martin Robinson.
2771 When creating the ImageDiff server process, pass along a freshly-set-up environment
2772 in which the process should be executed in.
2774 * Scripts/webkitpy/layout_tests/port/webkit.py:
2775 (WebKitPort._start_image_diff_process):
2777 2012-05-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2779 [Qt] Allow the web process and WTR to be paused on startup
2781 Makes it easier to debug the web process or run-webkit-tests -2, as you
2782 have ample time to attach gdb to the process.
2784 Reviewed by Simon Hausmann.
2786 * Scripts/webkitpy/layout_tests/port/qt.py:
2787 (QtPort.setup_environ_for_server):
2788 * WebKitTestRunner/qt/main.cpp:
2791 2012-05-03 Csaba Osztrogonác <ossy@webkit.org>
2793 Password protect "Stop build" button
2794 https://bugs.webkit.org/show_bug.cgi?id=81982
2796 Reviewed by Ryosuke Niwa.
2798 Only authenticated users should be able to use stopBuild, stopAllBuilds, cancelPendingBuild
2799 features to prevent killing builds on build.webkit.org by SPAM bots.
2801 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2803 2012-05-03 Dongwoo Im <dw.im@samsung.com>
2805 [DRT] Remove the name of parameter, visibility, from the setPageVisibility stub implementations.
2806 https://bugs.webkit.org/show_bug.cgi?id=85468
2808 Reviewed by Nikolas Zimmermann.
2810 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
2811 (LayoutTestController::setPageVisibility): Remove the name of parameter, visibility.
2812 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2813 (LayoutTestController::setPageVisibility): Remove the name of parameter, visibility.
2814 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2815 (LayoutTestController::setPageVisibility): Remove the name of parameter, visibility.
2816 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2817 (LayoutTestController::setPageVisibility): Remove the name of parameter, visibility.
2818 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2819 (LayoutTestController::setPageVisibility): Remove the name of parameter, visibility.
2821 2012-05-03 Stephanie Lewis <slewis@apple.com>
2823 https://bugs.webkit.org/show_bug.cgi?id=85450 unbounded growth of JSDOMWindowShells loading pages in the same window
2824 <rdar://problem/11320059> REGRESSION (r115083): PLT3 shows linear memory growth and gets slower with each run
2826 Reviewed by Brady Eidson.
2828 The API added for DOMWindowExtension, didCreateGlobalObjectForFrame, would create a global object
2829 for every world, even those that did not need the callback. This had the side effect of creating a
2830 JSDOMWindowShell that the associated world didn't necessarily know to clean up. Instead of creating
2831 unnecessary objects change the API to globalObjectIsAvailableForFrame and do not pass the global object
2832 in the API. The object can be accessed later by those worlds which require it.
2834 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
2836 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
2837 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
2839 (DOMWindowExtensionBasic):
2840 (TestWebKitAPI::DOMWindowExtensionBasic::didCreatePage):
2841 (TestWebKitAPI::DOMWindowExtensionBasic::globalObjectIsAvailableForFrame):
2842 (TestWebKitAPI::globalObjectIsAvailableForFrameCallback):
2844 2012-05-03 Nikolas Zimmermann <nzimmermann@rim.com>
2846 Not reviewed. Fix mac build, it was missing setPageVisibility/resetPageVisibility stub implementations.
2848 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2849 (LayoutTestController::resetPageVisibility):
2850 (LayoutTestController::setPageVisibility):
2852 2012-05-02 Alexander Færøy <ahf@0x90.dk>
2854 Rename deviceDPI to devicePixelRatio
2855 https://bugs.webkit.org/show_bug.cgi?id=85049
2857 Reviewed by Kenneth Rohde Christiansen.
2859 Use 1.5 as device pixel ratio for the Qt MiniBrowser.
2861 * MiniBrowser/qt/qml/BrowserWindow.qml:
2863 2012-05-03 Dongwoo Im <dw.im@samsung.com>
2865 [EFL][DRT] Implement the LayoutTestController's methods related to the Page Visibility API.
2866 https://bugs.webkit.org/show_bug.cgi?id=85347
2868 Reviewed by Nikolas Zimmermann.
2870 * DumpRenderTree/LayoutTestController.h:
2871 (LayoutTestController):
2872 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
2873 (LayoutTestController::resetPageVisibility): Not implemented.
2874 (LayoutTestController::setPageVisibility): Not implemented.
2875 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
2876 (LayoutTestController::resetPageVisibility): Reset the page visibility.
2877 (LayoutTestController::setPageVisibility): Set the page visibility.
2878 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2879 (LayoutTestController::resetPageVisibility): Not implemented.
2880 (LayoutTestController::setPageVisibility): Not implemented.
2881 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2882 (LayoutTestController::resetPageVisibility): Not implemented.
2883 (LayoutTestController::setPageVisibility): Not implemented.
2884 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2885 (LayoutTestController::resetPageVisibility): Not implemented.
2886 (LayoutTestController::setPageVisibility): Not implemented.
2887 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2888 (LayoutTestController::resetPageVisibility): Not implemented.
2889 (LayoutTestController::setPageVisibility): Not implemented.
2891 2012-05-02 Sheriff Bot <webkit.review.bot@gmail.com>
2893 Unreviewed, rolling out r115918.
2894 http://trac.webkit.org/changeset/115918
2895 https://bugs.webkit.org/show_bug.cgi?id=85452
2897 "Broke test-webkitpy on Apple Lion bots" (Requested by estes
2900 * Scripts/webkitpy/common/system/crashlogs.py:
2901 (CrashLogs.__init__):
2902 (CrashLogs.find_newest_log):
2903 (CrashLogs._log_directory_darwin):
2904 (CrashLogs._find_newest_log_darwin):
2905 * Scripts/webkitpy/common/system/crashlogs_unittest.py:
2906 (CrashLogsTest.test_find_log_darwin):
2907 * Scripts/webkitpy/layout_tests/port/mac.py:
2908 (MacPort._get_crash_log):
2909 * Scripts/webkitpy/layout_tests/port/test.py:
2910 (TestDriver.run_test):
2911 * Scripts/webkitpy/tool/commands/queries.py:
2914 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
2916 webkitpy: Remove sys.platform accesses in CrashLogs.
2917 https://bugs.webkit.org/show_bug.cgi?id=85436
2919 Reviewed by Dirk Pranke.
2921 Instead of directly checking for sys.platform == 'darwin', use a
2922 SystemHost and call PlatformInfo.is_mac().
2924 * Scripts/webkitpy/common/system/crashlogs.py:
2925 (CrashLogs.__init__):
2926 (CrashLogs.find_newest_log):
2927 (CrashLogs._log_directory_darwin):
2928 (CrashLogs._find_newest_log_darwin):
2929 * Scripts/webkitpy/common/system/crashlogs_unittest.py:
2930 (CrashLogsTest.test_find_log_darwin):
2931 * Scripts/webkitpy/layout_tests/port/mac.py:
2932 (MacPort._get_crash_log):
2933 * Scripts/webkitpy/layout_tests/port/test.py:
2934 (TestDriver.run_test):
2935 * Scripts/webkitpy/tool/commands/queries.py:
2938 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
2940 webkitpy: Special-case win32 calls in file_lock and executive.
2941 https://bugs.webkit.org/show_bug.cgi?id=85431
2943 Reviewed by Dirk Pranke.
2945 Simplify accesses to sys.platform by only checking if sys.platform
2946 is "win32" and removing explicit checks for the else case.
2948 * Scripts/webkitpy/common/system/executive.py:
2949 (Executive.check_running_pid):
2950 * Scripts/webkitpy/common/system/file_lock.py:
2951 (FileLock._create_lock):
2952 (FileLock._remove_lock):
2954 2012-05-02 Ojan Vafai <ojan@chromium.org>
2956 Remove pink from flakiness dashboard
2957 https://bugs.webkit.org/show_bug.cgi?id=85422
2959 Reviewed by Dirk Pranke.
2961 The pink indicates that the test doesn't match it's listing in test_expectations.txt.
2962 In practice, this just added noise and confused people.
2964 * TestResultServer/static-dashboards/flakiness_dashboard.js:
2965 (htmlForSingleTestRow):
2967 * TestResultServer/static-dashboards/flakiness_dashboard_tests.css:
2968 (#legend-contents *):
2969 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2970 (testHtmlForSingleTestRow):
2972 2012-05-02 Gustavo Noronha Silva <gns@gnome.org>
2974 Unreviewed. Fix mistake I committed when applying review comments.
2976 * jhbuild/jhbuild-wrapper: dependencies_path was getting 'Root'
2977 appended to its path, so jhbuild itself was being cloned and
2978 installed in the wrong place when using WEBKITOUTPUTDIR.
2980 2012-05-02 Dirk Pranke <dpranke@chromium.org>
2982 nrwt: make ServerProcess work on chromium win
2983 https://bugs.webkit.org/show_bug.cgi?id=85333
2985 Reviewed by Ojan Vafai.
2987 This change implements a poor man's select() that will
2988 slow-spin doing non-blocking reads on the stdout and stderr
2989 named pipes connecting the worker to the driver. Seems to work
2990 and I have yet to see much overhead or ill effects but it
2991 probably needs more testing.
2993 * Scripts/webkitpy/layout_tests/port/chromium.py:
2994 (ChromiumDriver.__init__):
2995 * Scripts/webkitpy/layout_tests/port/server_process.py:
2996 (ServerProcess._start):
2997 (ServerProcess._wait_for_data_and_update_buffers_using_select):
2998 (ServerProcess._wait_for_data_and_update_buffers_using_win32_apis):
3000 (ServerProcess._non_blocking_read_win32):
3001 (ServerProcess._read):
3002 * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
3003 (TestServerProcess.test_basic): Added.
3005 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3007 webkitpy: Use a SystemHost instead of PlatformInfo in the PNG checker.
3008 https://bugs.webkit.org/show_bug.cgi?id=85426
3010 Reviewed by Dirk Pranke.
3012 r115880 replaced the direct use of sys.platform with a
3013 PlatformInfo object. Dirk Pranke later told me SystemHost objects
3014 should be preferred, as nothing out of webkitpy.common.system
3015 should create its own PlatformInfo instances.
3017 * Scripts/webkitpy/common/system/systemhost_mock.py:
3018 (MockSystemHost.__init__): Make it possible to specify a custom
3020 * Scripts/webkitpy/style/checkers/png.py:
3021 (PNGChecker.__init__): Accept a host object instead of a
3022 filesystem one, which is now obtained from host.
3023 (PNGChecker._config_file_path): Retrieve PlatformInfo from
3025 * Scripts/webkitpy/style/checkers/png_unittest.py:
3026 (PNGCheckerTest.test_init): Adjust calls to PNGChecker to its new
3027 constructor signature.
3028 (PNGCheckerTest.test_check): Ditto.
3030 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3032 webkitpy: Remove direct checks for sys.platform == 'darwin' in the layout test classes.
3033 https://bugs.webkit.org/show_bug.cgi?id=85424
3035 Reviewed by Tony Chang.
3037 We should reduce direct usage of sys.platform in webkitpy and use
3038 PlatformInfo instead.
3040 * Scripts/webkitpy/layout_tests/servers/http_server.py:
3041 (Lighttpd._prepare_config): Call PlatformInfo.is_mac() instead of
3042 checking for 'darwin' directly.
3043 * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
3044 (HttpServerBase.__init__): Ditto.
3046 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3048 webkitpy: Remove direct sys.platform usage in run_webkit_tests_integrationtest.
3049 https://bugs.webkit.org/show_bug.cgi?id=85419
3051 Reviewed by Dirk Pranke.
3053 As pointed out by Dirk Pranke, a PlatformInfo is not supposed to
3054 be created directly, we should should a SystemHost instead.
3056 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3057 (MainTest.setUp): Create a SystemHost and obtain the PlatformInfo
3058 object from it instead of creating PlatformInfo directly.
3060 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3062 webkitpy: Remove direct sys.platform usage in run_webkit_tests_integrationtest.
3063 https://bugs.webkit.org/show_bug.cgi?id=85419
3065 Rubber-stamped by Dirk Pranke.
3067 Follow-up patch to r115887 which fixes some capitalization problems
3068 pointed out in comments 2 and 4.
3070 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3072 (MainTest.test_child_processes_2):
3073 (MainTest.test_child_processes_min):
3074 (MainTest.test_exception_raised):
3075 (MainTest.test_keyboard_interrupt):
3077 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3079 webkitpy: Remove direct sys.platform usage in run_webkit_tests_integrationtest.
3080 https://bugs.webkit.org/show_bug.cgi?id=85419
3082 Reviewed by Dirk Pranke.
3084 Another part of the work towards replacing direct sys.platform
3085 usage with PlatformInfo.
3087 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3088 (MainTest.setUp): Move the setting of SHOULD_TEST_PROCESSES
3089 here. Even though it is costlier, unittest.setUpClass was
3090 introduced in Python 2.7.
3091 (MainTest.test_child_processes_2): Use self.SHOULD_TEST_PROCESSES.
3092 (MainTest.test_child_processes_min): Ditto.
3093 (MainTest.test_exception_raised): Ditto.
3094 (MainTest.test_keyboard_interrupt): Ditto.
3095 (MainTest.test_crash_log): Check for PlatformInfo.is_mac().
3096 (MainTest.test_web_process_crash_log): Ditto, and remove duplicate
3098 (MainTest.test_no_http_tests): Remove check for (cygwin && Python
3099 2.5.2), as we only support Python 2.6+.
3101 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3103 webkitpy: Remove direct sys.platform usage in the PNG checker.
3104 https://bugs.webkit.org/show_bug.cgi?id=85407
3106 Reviewed by Tony Chang.
3108 Work towards replacing direct sys.platform usage with
3111 * Scripts/webkitpy/common/system/platforminfo_mock.py:
3112 (MockPlatformInfo.__init__): Accept os_name and os_version as
3114 * Scripts/webkitpy/style/checkers/png.py:
3115 (PNGChecker.__init__): Create a PlatformInfo object instead of
3116 using sys.platform when needed.
3117 (PNGChecker._config_file_path): Check for the current platform via
3119 * Scripts/webkitpy/style/checkers/png_unittest.py:
3120 (PNGCheckerTest.test_check): Update tests after the changes above.
3122 2012-05-02 Raphael Kubo da Costa <rakuco@webkit.org>
3124 [watchlist] Update watchlist rules for EFL-related patches.
3125 http://bugs.webkit.org/show_bug.cgi?id=85160
3127 Reviewed by Eric Seidel.
3129 * Scripts/webkitpy/common/config/watchlist: Monitor
3130 Source/WTF/wtf/efl and LayoutTests/platform/efl as well.
3132 2012-05-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3134 Revert r115191 - "Make the web view's url property follow the active url"
3136 It uncovered/caused issues in the icon-implementation that can't be
3137 easily fixed, so rolling out instead.
3139 https://bugs.webkit.org/show_bug.cgi?id=77554
3141 Rubber-stamped by Simon Hausmann.
3143 * MiniBrowser/qt/qml/BrowserWindow.qml:
3144 * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
3145 (TestWebKitAPI::TEST):
3147 2012-05-02 Zan Dobersek <zandobersek@gmail.com>
3149 Reftest mismatches are providing undefined diff percent in results.html
3150 https://bugs.webkit.org/show_bug.cgi?id=85283
3152 Reviewed by Ojan Vafai.
3154 When writing test results for a reftest mismatch, also take into account the
3155 difference percent that is produced when generating image diff. This value is
3156 then used when creating test results in the form of dictionaries, stored under
3157 the 'image_diff_percent' key. It ultimately ends up in JSON results data,
3158 providing additional information about the reftest difference.
3160 * Scripts/webkitpy/layout_tests/controllers/manager.py:
3161 (interpret_test_failures): Store the diff percent for reftest failure under the
3162 'image_diff_percent' key.
3163 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3164 (write_test_result): Also set the new diff_percent attribute of the reftest
3165 mismatch failure to the value of the difference percent ImageDiff outputs.
3166 * Scripts/webkitpy/layout_tests/models/test_failures.py:
3167 (FailureReftestMismatch.__init__): Add the new diff_percent attribute with the
3168 default value of None.
3169 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3170 (EndToEndTest.test_reftest_with_two_notrefs): Update the test case expected results.
3172 2012-05-02 Terry Anderson <tdanderson@chromium.org>
3174 Addition of a contributor to committers.py
3175 https://bugs.webkit.org/show_bug.cgi?id=85324
3177 Reviewed by Unreviewed.
3179 * Scripts/webkitpy/common/config/committers.py:
3181 2012-05-02 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
3183 [EFL] EFL's LayoutTestController overridePreference implementation
3184 https://bugs.webkit.org/show_bug.cgi?id=83007
3186 Reviewed by Antonio Gomes.
3188 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3189 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
3190 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
3191 (toBool): aux function converting JSStringRef to bool
3192 (toInt): aux function converting JSStringRef to int
3193 (LayoutTestController::overridePreference): added implementation
3195 2012-05-01 Raphael Kubo da Costa <rakuco@webkit.org>
3197 webkitpy: Fix sys.platform check in find_files_unittest.
3198 https://bugs.webkit.org/show_bug.cgi?id=85339
3200 Reviewed by Ryosuke Niwa.
3202 Follow-up to r101618 -- 'win' is not a valid sys.platform value,
3203 'win32' should be used instead. The check always returned false
3204 due to this, so assert_normalize() was never called.
3206 * Scripts/webkitpy/common/find_files_unittest.py:
3207 (TestWinNormalize.test_win): Add the missing import for the
3208 FileSystem class and fix the sys.platform check.
3210 2012-05-02 Zan Dobersek <zandobersek@gmail.com>
3212 [GTK] drag&drop related failures
3213 https://bugs.webkit.org/show_bug.cgi?id=84675
3215 Reviewed by Philippe Normand.
3217 Rather than checking options to see whether we're running pixel tests
3218 the pixel_tests argument passed to GtkDriver._start should be used as
3219 it also covers cases when pixel tests should be run because of testing
3220 reftests. This again creates different Xvfb processes with proper
3221 display IDs for a worker that's performing both ordinary and pixel
3222 tests, as was the case before changes made in r114788.
3224 * Scripts/webkitpy/layout_tests/port/gtk.py:
3227 2012-05-02 Simon Hausmann <simon.hausmann@nokia.com>
3229 [Qt] Enable device orientation/motion with Qt 5
3231 Reviewed by Tor Arne Vestbø.
3233 Enable device orientation/motion features with Qt 5 if Qt Sensors is available.
3235 * qmake/mkspecs/features/features.prf:
3237 2012-05-01 Raphael Kubo da Costa <rakuco@webkit.org>
3239 webkitpy: Remove unused platform imports.
3240 https://bugs.webkit.org/show_bug.cgi?id=85341
3242 Reviewed by Eric Seidel.
3244 Remove a few uses of `import platform' which were either rendered
3245 unneeded after r105931 or were never needed at all.
3247 * Scripts/webkitpy/common/system/executive.py:
3248 * Scripts/webkitpy/tool/bot/flakytestreporter.py:
3250 2012-05-01 Terry Anderson <tdanderson@chromium.org>
3252 [chromium] Accept four parameters when dispatching a WebInputEvent::GestureTap in chromium DRT eventSender
3253 https://bugs.webkit.org/show_bug.cgi?id=85289
3255 Reviewed by Eric Seidel.
3257 * DumpRenderTree/chromium/EventSender.cpp:
3258 (EventSender::gestureEvent):
3259 This change will allow for testing of WK85101. Currently
3260 no tests use the extra parameters deltaX and deltaY. Added
3261 a check for the size of |arguments|.
3263 2012-05-01 Eric Seidel <eric@webkit.org>
3265 Add myself to the watchlist to watch all rendering changes, as well as sort the watchers in the list
3266 https://bugs.webkit.org/show_bug.cgi?id=85305
3268 Reviewed by Adam Barth.
3270 * Scripts/webkitpy/common/config/watchlist:
3272 2012-05-01 Sheriff Bot <webkit.review.bot@gmail.com>
3274 Unreviewed, rolling out r115735.
3275 http://trac.webkit.org/changeset/115735
3276 https://bugs.webkit.org/show_bug.cgi?id=85314
3278 cause two tests to crash due to an ASSERTION failure
3279 (Requested by zhenyao on #webkit).
3281 * DumpRenderTree/chromium/EventSender.cpp:
3282 (EventSender::gestureEvent):
3284 2012-05-01 Terry Anderson <tdanderson@chromium.org>
3286 [chromium] Accept four parameters when dispatching a WebInputEvent::GestureTap in chromium DRT eventSender
3287 https://bugs.webkit.org/show_bug.cgi?id=85289
3289 Reviewed by Eric Seidel.
3291 * DumpRenderTree/chromium/EventSender.cpp:
3292 (EventSender::gestureEvent):
3293 This change will allow for testing of WK85101. Currently no tests use the extra
3294 parameters deltaX and deltaY.
3296 2012-05-01 Zan Dobersek <zandobersek@gmail.com>
3298 Print out stderr output of ImageDiff if it is present
3299 https://bugs.webkit.org/show_bug.cgi?id=85285
3301 Reviewed by Philippe Normand.
3303 Log the stderr output of ImageDiff as a warning if present. This is
3304 especially helpful when ImageDiff crashes and stderr data might contain
3305 relevant information about what caused the crash.
3307 * Scripts/webkitpy/layout_tests/port/webkit.py:
3308 (WebKitPort._read_image_diff):
3310 2012-05-01 Kenneth Rohde Christiansen <kenneth@webkit.org>
3312 [Qt] Add an experimental extension to set the min. contents width
3313 https://bugs.webkit.org/show_bug.cgi?id=85281
3315 Reviewed by Antonio Gomes.
3317 * MiniBrowser/qt/qml/BrowserWindow.qml:
3319 Set the value of preferredMinimumContentsWidth to 980.
3321 2012-04-30 Ojan Vafai <ojan@chromium.org>
3323 Fix tests to not depend on the actual list of builders at build.chromium.org.
3325 * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3326 (testHtmlForIndividualTestOnAllBuildersWithChrome):
3327 (testHtmlForIndividualTestOnAllBuildersWithChromeWebkitMaster):
3329 2012-04-29 Sam Weinig <sam@webkit.org>
3332 https://bugs.webkit.org/show_bug.cgi?id=84036
3334 Reviewed by Anders Carlsson.
3336 * Scripts/build-webkit:
3337 * qmake/mkspecs/features/features.prf:
3338 Make exposing the WebKitBlobBuilder JS object conditional on a new
3339 ENABLE_LEGACY_WEBKIT_BLOB_BUILDER flag. Don't enable this for the Mac,
3340 but do for everyone else.
3342 2012-04-30 Amruth Raj Padmanabhuni <amruthraj@motorola.com>
3344 [GTK] Add glib as a dependency to build glib-networking
3345 https://bugs.webkit.org/show_bug.cgi?id=85181
3347 Reviewed by Martin Robinson.
3349 * gtk/jhbuild.modules:
3351 2012-04-30 Alexis Menard <alexis.menard@openbossa.org>
3353 Move myself to reviewers.
3355 Reviewed by Andreas Kling.
3357 * Scripts/webkitpy/common/config/committers.py:
3359 2012-04-30 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
3361 Unreviewed, move myself to reviewers
3363 * Scripts/webkitpy/common/config/committers.py:
3365 2012-04-30 Carlos Garcia Campos <cgarcia@igalia.com>
3367 Unreviewed. Fix make distcheck.
3369 * TestWebKitAPI/GNUmakefile.am: Add missing headers to compilation
3370 and resources to EXTRA_DIST.
3372 2012-04-30 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
3374 [GTK] DRT support for layoutTestController.removeOriginAccessWhitelistEntry
3375 https://bugs.webkit.org/show_bug.cgi?id=85156
3377 Reviewed by Martin Robinson.
3379 Add missing implementation removeOriginAccessWhitelistEntry to
3380 GTK's LayoutTestController.
3382 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3383 (LayoutTestController::removeOriginAccessWhitelistEntry):
3385 2012-04-29 Maciej Stachowiak <mjs@apple.com>
3387 REGRESSION: On Lion, run-webkit-tests changes the display color profile even when not running pixel tests
3388 https://bugs.webkit.org/show_bug.cgi?id=81729
3390 Reviewed by Dan Bernstein.
3392 * Scripts/webkitpy/layout_tests/controllers/manager.py:
3393 (Manager._set_up_run): Only launch LayoutTestHelper when running pixel tests.
3395 2012-04-29 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
3397 [GTK] DRT needs an implementation of layoutTestController.setDomainRelaxationForbiddenForURLScheme
3398 https://bugs.webkit.org/show_bug.cgi?id=85131
3400 Reviewed by Martin Robinson.
3402 Add missing implementation setDomainRelaxationForbiddenForURLScheme to
3403 GTK's LayoutTestController.
3405 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3406 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
3408 2012-04-28 Sam Weinig <sam@webkit.org>
3410 Smooth scrolling needs a new key
3411 <rdar://problem/11331632>
3413 Reviewed by Dan Bernstein.
3415 * DumpRenderTree/mac/DumpRenderTree.mm:
3416 (resetDefaultsToConsistentValues):
3417 * TestWebKitAPI/mac/InjectedBundleControllerMac.mm:
3418 (TestWebKitAPI::InjectedBundleController::platformInitialize):
3419 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3420 (WTR::InjectedBundle::platformInitialize):
3423 2012-04-28 Zan Dobersek <zandobersek@gmail.com>
3425 [WK2] http/tests/navigation/anchor-frames-gbk.html fails
3426 https://bugs.webkit.org/show_bug.cgi?id=76896
3428 Reviewed by Darin Adler.
3430 Only dump as text if currently dumping render tree. This ensures that
3431 calling dumpAsText in a test with dumpChildFramesAsText already being
3432 called doesn't override the first decision, possibly making tests fail.
3434 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
3435 (WTR::LayoutTestController::dumpAsText):
3437 2012-04-28 Dan Winship <danw@gnome.org>
3439 Unreviewed; Add me to the SoupNetwork watchlist
3441 * Scripts/webkitpy/common/config/watchlist:
3443 2012-04-27 Gustavo Noronha Silva <gns@gnome.org>
3445 [GTK] jhbuild cloning is not following WEBKITOUTPUTDIR.
3446 https://bugs.webkit.org/show_bug.cgi?id=76161
3448 Reviewed by Martin Robinson.
3450 * Scripts/webkitdirs.pm:
3451 (getJhbuildPath): New method to obtain the jhbuild base directory,
3452 using the product base directory
3453 (jhbuildConfigurationChanged): Use the new method
3454 (buildAutotoolsProject): Ditto.
3455 * efl/jhbuildrc: Use WEBKITOUTPUTDIR when calculating the path.
3456 * gtk/jhbuildrc: Ditto.
3457 * jhbuild/jhbuild-wrapper: Ditto.
3459 2012-04-27 Scott Graham <scottmg@chromium.org>
3461 [chromium] make case of npTestNetscapePlugIn.dll match case in copy rule
3462 https://bugs.webkit.org/show_bug.cgi?id=85083
3464 Reviewed by Dirk Pranke.
3466 Make output product_name for npTestNetscapePlugIn.dll match the case
3467 of the copy_TestNetscapePlugIn rule. This is required for ninja, which
3468 is more particular about case matching in rules than the VS build.
3470 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
3472 2012-04-27 Dirk Pranke <dpranke@chromium.org>
3474 [chromium] use "drt-style" output, not "test-shell-style" output, on mac and linux DRT
3475 https://bugs.webkit.org/show_bug.cgi?id=84917
3477 Unreviewed, build fix.
3479 Reland the change in r115453 with a fix for chromium win.
3480 The logic in ChromiumDriver was busted on windows, causing DRT
3481 to get launched without the --test-shell flag.
3483 * Scripts/webkitpy/layout_tests/port/chromium.py:
3485 (ChromiumDriver.__init__):
3486 (ChromiumDriver._wrapper_options):
3487 (ChromiumDriver.cmd_line):
3488 (ChromiumDriver._start):
3489 (ChromiumDriver.has_crashed):
3490 (ChromiumDriver.run_test):
3491 (ChromiumDriver.stop):
3492 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3493 (ChromiumDriverTest.setUp):
3494 (ChromiumDriverTest.test_stop):
3495 (ChromiumDriverTest.test_two_drivers.MockDriver.__init__):
3496 (ChromiumDriverTest.test_two_drivers):
3498 2012-04-27 Peter Beverloo <peter@chromium.org>
3500 Add John Grabowski as a non-committer to committers.py
3501 https://bugs.webkit.org/show_bug.cgi?id=85080
3503 Reviewed by Dirk Pranke.
3505 He's being CC'ed often enough because of his involvement in the Chromium
3506 side of Chrome for Android upstreaming.
3508 * Scripts/webkitpy/common/config/committers.py:
3509 add jrg@chromium.org
3511 2012-04-27 Allan Sandfeld Jensen <allan.jensen@nokia.com>
3513 [Qt] Fix minimal build.
3514 https://bugs.webkit.org/show_bug.cgi?id=85045
3516 Reviewed by Tor Arne Vestbø.
3518 Do not set conflicting values of ENABLE_XSLT.
3520 * qmake/mkspecs/features/features.prf:
3522 2012-04-27 Dominik Röttsches <dominik.rottsches@linux.intel.com>
3524 [EFL][DRT] EFL should sanitize pulseaudio module configuration too
3525 https://bugs.webkit.org/show_bug.cgi?id=85047
3527 Reviewed by Dirk Pranke.
3529 PulseAudio test setup sanitization shared between EFL and GTK.
3531 * Scripts/webkitpy/layout_tests/port/efl.py:
3533 (EflPort.setup_test_run):
3534 (EflPort.clean_up_test_run):
3535 * Scripts/webkitpy/layout_tests/port/gtk.py:
3536 (GtkPort): Moving pulseaudio unload/restore out to shared class.
3537 * Scripts/webkitpy/layout_tests/port/pulseaudio_sanitizer.py: Added.
3538 (PulseAudioSanitizer):
3539 (PulseAudioSanitizer._unload_pulseaudio_module):
3540 (PulseAudioSanitizer._restore_pulseaudio_module):
3542 2012-04-27 Dirk Pranke <dpranke@chromium.org>
3544 Unreviewed, revert r115453 - broke chromium win bots
3546 * Scripts/webkitpy/layout_tests/port/chromium.py:
3547 (ChromiumPort._path_to_image_diff):
3549 (ChromiumDriver.__init__):
3550 (ChromiumDriver._wrapper_options):
3551 (ChromiumDriver.cmd_line):
3552 (ChromiumDriver.stop):
3553 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3554 (ChromiumDriverTest.setUp):
3555 (ChromiumDriverTest.test_stop):
3556 (ChromiumDriverTest.test_two_drivers):
3557 (ChromiumDriverTest.test_two_drivers.MockDriver.__init__):
3559 2012-04-27 Ryosuke Niwa <rniwa@webkit.org>
3561 Chromium Windows Perf bots timeout due to not output
3562 https://bugs.webkit.org/show_bug.cgi?id=84940
3564 Reviewed by Dirk Pranke.
3566 Dirk and I investigated the issue on the bot but we couldn't figure out what is going wrong.
3567 Since we run-perf-tests don't need any of fancy feature printer provides, just use python's
3568 built-in logging module instead. Printing out to stdout and stderr seem to work so hopefully
3569 this will fix the issue on the bot.
3571 * Scripts/run-perf-tests:
3572 * Scripts/webkitpy/performance_tests/perftest.py:
3574 (PerfTest.run_failed):
3575 (PerfTest.parse_output):
3576 (PerfTest.output_statistics):
3577 (ChromiumStylePerfTest.parse_output):
3578 (PageLoadingPerfTest.run):
3579 * Scripts/webkitpy/performance_tests/perftest_unittest.py:
3580 (MainTest.test_parse_output):
3581 (MainTest.test_parse_output_with_failing_line):
3582 (TestPageLoadingPerfTest):
3583 (TestPageLoadingPerfTest.test_run):
3584 (TestPageLoadingPerfTest.test_run_with_bad_output):
3585 * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3586 (PerfTestsRunner.__init__):
3587 (PerfTestsRunner._parse_args):
3588 (PerfTestsRunner.run):
3589 (PerfTestsRunner._upload_json):
3590 (PerfTestsRunner._print_status):
3591 (PerfTestsRunner._run_tests_set):
3592 (PerfTestsRunner._run_single_test):
3593 * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
3595 (test_run_test_set):
3596 (test_run_test_set_kills_drt_per_run):
3597 (test_run_test_pause_before_testing):
3598 (test_run_test_set_for_parser_tests):
3599 (test_run_test_set_with_json_output):
3600 (test_run_test_set_with_json_source):
3601 (test_run_test_set_with_multiple_repositories):
3605 2012-04-27 Dirk Pranke <dpranke@chromium.org>
3607 [chromium] use "drt-style" output, not "test-shell-style" output, on mac and linux DRT
3608 https://bugs.webkit.org/show_bug.cgi?id=84917
3610 Reviewed by Ojan Vafai.
3612 This change changes the chromium new-run-webkit-tests
3613 implementation to use the code in WebKitDriver and ServerProcess
3614 by default on Mac and Linux, instead of using the old-style
3615 Chromium/test_shell style of output.
3617 We will still use the test_shell style on Windows for now
3618 and you can still get the old style of behavior with
3619 new-run-webkit-tests --additional-drt-flag --test-shell
3621 * Scripts/webkitpy/layout_tests/port/chromium.py:
3623 (ChromiumDriver.__init__):
3624 (ChromiumDriver._wrapper_options):
3625 (ChromiumDriver.cmd_line):
3626 (ChromiumDriver._start):
3627 (ChromiumDriver.has_crashed):
3628 (ChromiumDriver.run_test):
3629 (ChromiumDriver.stop):
3630 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3631 (ChromiumDriverTest.setUp):
3632 (ChromiumDriverTest.test_stop):
3633 (ChromiumDriverTest.test_two_drivers.MockDriver.__init__):
3634 (ChromiumDriverTest.test_two_drivers):
3636 2012-04-27 Dirk Pranke <dpranke@chromium.org>
3638 webkitpy: fix race in unit tests for manager_worker_broker
3639 https://bugs.webkit.org/show_bug.cgi?id=84925
3641 Reviewed by Ojan Vafai.
3643 I have been intermittently seeing hangs when running
3644 test-webkitpy on Mac SL; it appears that there's a bug (?) in
3645 the multiprocessing module where queue references are getting
3646 leaked or not cleaned up somehow. By explicitly closing the
3647 queues, things seem to be happy, so this patch adds a cleanup()
3648 method to the message broker and modifies the manager (and the
3649 unit tests) to call it. This may get rid of the intermittent
3650 error on shutdown on Linux I've seen as well.
3652 * Scripts/webkitpy/layout_tests/controllers/manager.py:
3653 (Manager._run_tests):
3654 * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py:
3658 (_BrokerConnection.cleanup):
3659 * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker_unittest.py:
3660 (_TestsMixin.test_name):
3661 (_TestsMixin.test_cancel):
3662 (_TestsMixin.test_done):
3663 (_TestsMixin.test_unknown_message):
3665 2012-04-27 Gavin Peters <gavinp@chromium.org>
3667 Add new ENABLE_LINK_PRERENDER define to control the Prerendering API
3668 https://bugs.webkit.org/show_bug.cgi?id=84871
3670 Reviewed by Adam Barth.
3672 Prerendering is currently covered by the ENABLE_LINK_PREFETCH macro, but the new Prerendering
3673 API separates it from prefetching. Having separate include guards lets ports enable prefetching,
3674 a relatively easy change, without needing to build the infrastructure for prerendering, which
3675 is considerably more complicated.
3677 2012-04-27 Philippe Normand <pnormand@igalia.com>
3679 Unreviewed, GTK gardening.
3681 * Scripts/run-gtk-tests:
3682 (TestRunner): Skip flaky WebKit2 API test.
3684 2012-04-27 Philippe Normand <pnormand@igalia.com>
3686 Unreviewed, GTK gardening.
3688 * Scripts/run-gtk-tests:
3689 (TestRunner): Fix another typo. So easy to get confused by a Test
3690 name and the actual name of the executable...
3692 2012-04-27 Philippe Normand <pnormand@igalia.com>
3694 Unreviewed, GTK gardening.
3696 * Scripts/run-gtk-tests:
3697 (TestRunner): Skip failing WebKit2 API test.
3699 2012-04-27 Christophe Dumez <christophe.dumez@intel.com>
3701 [EFL] DRT should support LayoutTestController's dumpResourceLoadCallbacks()
3702 https://bugs.webkit.org/show_bug.cgi?id=81891
3704 Reviewed by Philippe Normand.
3706 Implement support for LayoutTestController's
3707 dumpResourceLoadCallbacks() in EFL's DumpRenderTree by catching new
3708 ewk_view signals about resource loading and print out the expected
3709 information. This allows for several test cases to be removed from the
3712 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3713 (DumpRenderTreeChrome::createView):
3714 (descriptionSuitableForTestResult):
3715 (DumpRenderTreeChrome::onResponseReceived):
3716 (DumpRenderTreeChrome::onResourceLoadFinished):
3717 (DumpRenderTreeChrome::onResourceLoadFailed):
3718 (DumpRenderTreeChrome::onNewResourceRequest):
3719 * DumpRenderTree/efl/DumpRenderTreeChrome.h:
3720 (DumpRenderTreeChrome):
3722 2012-04-27 Philippe Normand <pnormand@igalia.com>
3724 Unreviewed, GTK typo fix.
3726 * Scripts/run-gtk-tests:
3727 (TestRunner): Fix-up skipped WebKit2 API test name TestWKConnection.
3729 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
3731 [SOUP] Add a way to register custom uri schemes in WebKit2
3732 https://bugs.webkit.org/show_bug.cgi?id=84130
3734 Reviewed by Martin Robinson.
3736 * Scripts/webkitpy/style/checkers/cpp.py:
3737 (check_identifier_name_in_declaration): Add webkit_soup prefix to
3738 the list of exceptions to the underscores in identifiers rule.
3740 2012-04-26 Ryosuke Niwa <rniwa@webkit.org>
3742 Extract PerfTestFactory
3743 https://bugs.webkit.org/show_bug.cgi?id=83944
3745 Reviewed by Dirk Pranke.
3747 Extracted PerfTestFactory out of PerfTest. This class creates appropriate PerfTest object given
3748 a test name and a path. Also removed dirname from the constructors of PerfTest and its subclasses.
3750 Also added simple test cases to sanity check PerfTestFactory.
3752 * Scripts/webkitpy/performance_tests/perftest.py:
3753 (PerfTest.__init__):
3754 (PerfTest.test_name):
3755 (ChromiumStylePerfTest.__init__):
3756 (PageLoadingPerfTest.__init__):
3757 (PageLoadingPerfTest.run):
3759 (PerfTestFactory.create_perf_test):
3760 * Scripts/webkitpy/performance_tests/perftest_unittest.py:
3761 (MainTest.test_parse_output):
3762 (MainTest.test_parse_output_with_failing_line):
3763 (TestPageLoadingPerfTest.test_run):
3764 (TestPageLoadingPerfTest.test_run_with_bad_output):
3765 (TestPerfTestFactory):
3766 (TestPerfTestFactory.test_regular_test):
3767 (TestPerfTestFactory.test_inspector_test):
3768 (TestPerfTestFactory.test_page_loading_test):
3769 * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3771 (PerfTestsRunner._collect_tests):
3772 * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
3774 (_tests_for_runner):
3776 2012-04-26 Dirk Pranke <dpranke@chromium.org>
3778 nrwt: clean up server process, webkit driver so chromium can use it
3779 https://bugs.webkit.org/show_bug.cgi?id=84910
3781 Reviewed by Ojan Vafai.
3783 This change moves the "sample a process" logic out of
3784 server_process.py and into a port-specific class (where really
3785 only the mac has an implementation), and also preemptively kills
3786 DRT when a test times out in WebKitDriver (rather than waiting through the
3787 additional delays caused by calling stop() when we would want to
3788 restart the driver generically in worker.py).
3790 These changes will make it possible for the chromium port to
3791 switch over to the stock WebKitDriver implementation, at least
3794 * Scripts/webkitpy/layout_tests/port/base.py:
3795 (Port.sample_process):
3796 * Scripts/webkitpy/layout_tests/port/mac.py:
3797 (MacPort.sample_process):
3798 * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
3799 (test_helper_fails_to_stop):
3800 (test_sample_process):
3801 (test_sample_process.logging_run_command):
3802 (test_sample_process_throws_exception):
3803 (test_sample_process_throws_exception.throwing_run_command):
3804 * Scripts/webkitpy/layout_tests/port/server_process.py:
3805 (ServerProcess._log):
3806 (ServerProcess._handle_timeout):
3807 (ServerProcess.stop):
3809 (ServerProcess.kill): Here we add a method to immediately stop
3810 the process rather than trying to shut it down cleanly.
3811 * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
3812 (TestServerProcess.test_broken_pipe):
3813 * Scripts/webkitpy/layout_tests/port/webkit.py:
3814 (WebKitDriver.run_test): Fix an issue where we weren't passing
3815 along any per-test args (only needed for Chromium, but still).
3816 Also, kill the driver immediately if we time out a test.
3818 2012-04-26 Benjamin Poulain <bpoulain@apple.com>
3820 ObjcClass::methodsNamed() can leak if buffer is dynamically allocated
3821 https://bugs.webkit.org/show_bug.cgi?id=84668
3823 Reviewed by Alexey Proskuryakov.
3825 Extend ObjCPlugin to support the new layout tests of the Objective-C bridge.
3827 * DumpRenderTree/mac/ObjCPlugin.m:
3828 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
3829 (+[ObjCPlugin webScriptNameForSelector:]):
3830 (-[ObjCPlugin methodMappedToLongName]):
3831 (-[ObjCPlugin testConversionColon:]):
3834 2012-04-26 Dimitri Glazkov <dglazkov@chromium.org>
3836 Unreviewed, rolling out r115340.
3837 http://trac.webkit.org/changeset/115340
3838 https://bugs.webkit.org/show_bug.cgi?id=83048
3840 Does not work with Windows.
3842 * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
3843 (SingleTestRunner._run_reftest):
3844 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3846 * Scripts/webkitpy/layout_tests/port/base.py:
3847 (Port._parse_reftest_list):
3848 (Port.reference_files):
3850 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3851 (PortTest.test_reference_files):
3852 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3853 (ChromiumDriverTest.test_write_command_and_read_line):
3855 2012-04-26 Christophe Dumez <christophe.dumez@intel.com>
3857 [EFL] Enable VIDEO_TRACK feature
3858 https://bugs.webkit.org/show_bug.cgi?id=84830
3860 Reviewed by Gustavo Noronha Silva.
3862 Enable VIDEO_TRACK by default on EFL port whenever build-webkit is
3865 * Scripts/build-webkit:
3867 2012-04-08 Robert Hogan <robert@webkit.org>
3869 new-webkit-run-tests: handle ref tests from the CSS test suite
3870 https://bugs.webkit.org/show_bug.cgi?id=83048
3872 Reviewed by Ryosuke Niwa.
3874 This allows new-run-webkit-tests to run reference tests created for the CSS test suite. It removes a big swathe
3875 of pixel and text results that are no longer required now that the reference results are used and adds in the support
3876 files from the CSS test suite that allow the ref tests to run.
3878 * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
3879 (SingleTestRunner._run_reftest): Assert that the reference result exists. Previously the test would
3880 run without it and report a pass!
3881 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3882 (copy_file): ensure the output directory exists, it may not if the reference test is
3883 contained in a folder that contains nothing but reference tests.
3884 * Scripts/webkitpy/layout_tests/port/base.py:
3885 (Port.available_reference_files): Add as a helper. Handle embedded relative paths, e.g: some/../path
3886 (Port.reference_files): Only return reference results in the reftest list that actually exist on
3887 disk. Also, don't ignore potential reference results on disk that are not in the reftest list, and
3888 don't ignore them just because we have a reftest list for the test's directory.
3889 (Port._real_tests): ignore anything that looks like a test in a 'support' directory, this semantic
3890 is used by the CSS 2.1 test suite.
3891 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3892 (PortTest.test_reference_files_when_reftestlist_and_reference_file_present): Ensure that a test with a reference result
3893 on disk but no reference result listed in the directory's reftest list picks up its reference result.
3894 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
3895 (ChromiumDriverTest.test_strip_uri): Test that some/test.html and some/other/../test.html are treated
3898 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
3900 Unreviewed. Fix GTK+ build after r115314.
3902 For some reason it fails while bulding GtkVersioning for WTR, but
3903 it didn't fail neither in EWS nor in my laptop. We don't really
3904 need GtkVersioning in WTR since it already depends on GTK+3
3907 * WebKitTestRunner/GNUmakefile.am: Remove GtkVersioning.c from
3909 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
3910 (WTR::EventSenderProxy::createMouseButtonEvent): Use GTK+ 3 API
3911 directly instead of getDefaultGDKPointerDevice() helper.
3912 (WTR::EventSenderProxy::keyDown): Ditto.
3913 (WTR::EventSenderProxy::mouseMoveTo): Ditto.
3915 2012-04-24 Ojan Vafai <ojan@chromium.org>
3917 Show flakiness dashboard data in garden-o-matic
3918 https://bugs.webkit.org/show_bug.cgi?id=83716
3920 Reviewed by Dimitri Glazkov.
3922 Put an iframe below the expected/actual results in the Results view.
3923 Size the iframe to it's height.
3925 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
3926 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
3927 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
3928 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
3929 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
3930 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
3931 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
3933 2012-04-26 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
3935 [EFL] [DRT] LayoutTestController needs implementation of setJavaScriptProfilingEnabled
3936 https://bugs.webkit.org/show_bug.cgi?id=84576
3938 Reviewed by Martin Robinson.
3940 Add missing implementation setJavaScriptProfilingEnabled to EFL's
3941 LayoutTestController in order to unskip tests rely on this setting.
3943 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3944 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
3945 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
3946 (LayoutTestController::setJavaScriptProfilingEnabled):
3948 2012-04-26 Xianzhu Wang <wangxianzhu@chromium.org>
3950 Add Jing Zhao, Min Qin, Tien-Ren Chen and Hao Zheng into contributors list.
3954 * Scripts/webkitpy/common/config/committers.py:
3956 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
3958 [GTK] Test TestWebKitAPI/WebKit2/TestNewFirstVisuallyNonEmptyLayout times out
3959 https://bugs.webkit.org/show_bug.cgi?id=84957
3961 Reviewed by Martin Robinson.
3963 * Scripts/run-gtk-tests:
3964 (TestRunner): Unskip TestNewFirstVisuallyNonEmptyLayout and
3965 TestNewFirstVisuallyNonEmptyLayoutForImages.
3966 * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
3967 (TestWebKitAPI::PlatformWebView::PlatformWebView): Show the
3968 toplevel window containing the web view to make sure events are
3971 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
3973 Unreviewed. Add bug numbers to skipped tests.
3975 * Scripts/run-gtk-tests:
3978 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
3980 [GTK] Build and run TestWebKitAPI WebKit2 unit tests
3981 https://bugs.webkit.org/show_bug.cgi?id=84446
3983 Reviewed by Philippe Normand.
3985 * Scripts/run-gtk-tests:
3986 (TestRunner): Add TestWebKitAPI/WebKit2 to the list of directories
3987 containing tests. Unskip FunctionalTest.RefCountedStorage, since
3988 we are now using a custom main that initializes WTF threading.
3989 (TestRunner._setup_testing_environment): Set environment variables
3990 required to run WebKit2 tests.
3991 * TestWebKitAPI/GNUmakefile.am:
3992 * TestWebKitAPI/JavaScriptTest.cpp: Use
3993 JavaScriptCore/JSContextRef.h instead of
3994 JavaScriptCore/JavaScriptCore.h since it includes JSStringRefCF.h
3996 * TestWebKitAPI/PlatformWebView.h: Define PlatformWKView and
3997 PlatformWindow for GTK.
3998 * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp: Remove
3999 unneded header that breaks the build of GTK port.
4000 * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp: Use
4001 JavaScriptCore/JSContextRef.h instead of
4002 JavaScriptCore/JavaScriptCore.h since it includes JSStringRefCF.h
4004 * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
4005 (TestWebKitAPI::TEST): Add expected values for GTK+ port.
4006 * TestWebKitAPI/gtk/InjectedBundleControllerGtk.cpp:
4008 (TestWebKitAPI::InjectedBundleController::platformInitialize):
4009 * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp: Added.
4010 (TestWebKitAPI::Util::checkTestFinished):
4011 (TestWebKitAPI::Util::run):
4012 (TestWebKitAPI::Util::sleep):
4013 (TestWebKitAPI::Util::getFilenameFromEnvironmentVariableAsUTF8):
4014 (TestWebKitAPI::Util::createInjectedBundlePath):
4015 (TestWebKitAPI::Util::createURLForResource):
4016 (TestWebKitAPI::Util::URLForNonExistentResource):
4017 (TestWebKitAPI::Util::isKeyDown):
4018 * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp: Added.
4019 (TestWebKitAPI::PlatformWebView::PlatformWebView):
4020 (TestWebKitAPI::PlatformWebView::~PlatformWebView):
4021 (TestWebKitAPI::PlatformWebView::page):
4022 (TestWebKitAPI::PlatformWebView::resizeTo):
4023 (TestWebKitAPI::doKeyStroke):
4024 (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress):
4025 (TestWebKitAPI::PlatformWebView::simulateAltKeyPress):
4026 (TestWebKitAPI::doMouseButtonEvent):
4027 (TestWebKitAPI::PlatformWebView::simulateRightClick):
4028 (TestWebKitAPI::PlatformWebView::simulateMouseMove):
4029 * TestWebKitAPI/gtk/main.cpp:
4032 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
4034 [GTK] run-gtk-tests: Use a timeout per test instead of a global timeout
4035 https://bugs.webkit.org/show_bug.cgi?id=84695
4037 Reviewed by Philippe Normand.
4039 It also adds a command line option to be able to pass a custom
4040 timeout value, instead of hard-coding it. The default timeout is 10
4041 seconds if no other value is passed to the script.
4043 * Scripts/run-gtk-tests:
4044 (TestTimeout): Exception raised when a test times out.
4045 (TestRunner._get_child_pid_from_test_output): Helper function to
4046 get the pid of the running test from gtester output.
4047 (TestRunner._kill_process): Helper funtion ot kill a process
4048 ignoring exceptions if the process is already died.
4049 (TestRunner._run_test_command): Run the test command raising
4050 TestTimeout exception if the test doesn't finish before the given
4052 (TestRunner._run_test_command.alarm_handler): Alarm handler that
4053 raises TestTimeout exception.
4054 (TestRunner._run_test_glib): Use _run_test_command() to run the test.
4055 (TestRunner._run_test_google): Ditto.
4056 (TestRunner.run_tests): Add current test to the list of timed out
4057 test if TestTimeout exception is raised. Show the list of timed
4058 out test at the end.
4060 2012-04-26 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
4062 [EFL] [DRT] LayoutTestController needs implementation of addOriginAccessWhitelistEntry and removeOriginAccessWhitelistEntry
4063 https://bugs.webkit.org/show_bug.cgi?id=83880
4065 Reviewed by Antonio Gomes.
4067 Add missing implementation addOriginAccessWhitelistEntry and
4068 removeOriginAccessWhitelistEntry to EFL's LayoutTestController
4069 in order to unskip tests which rely on this.
4071 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
4072 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
4073 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4074 (LayoutTestController::addOriginAccessWhitelistEntry):
4075 (LayoutTestController::removeOriginAccessWhitelistEntry):
4077 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
4079 [GTK] Add downloads support to MiniBrowser
4080 https://bugs.webkit.org/show_bug.cgi?id=73662
4082 Reviewed by Philippe Normand.
4084 * MiniBrowser/gtk/BrowserDownloadsBar.c: Added.
4085 (browserDownloadsBarChildRemoved): Close the downloads bar if
4086 there aren't active downloads.
4087 (browserDownloadsBarResponse): Destroy the downloads bar when
4089 (browser_downloads_bar_init):
4090 (browser_downloads_bar_class_init):
4091 (browser_downloads_bar_new): Create a new downloads bar.
4092 (actionButtonClicked): Cancel the download if cancel button was
4093 clicked, or open the downloaded file if the download finished.
4094 (browserDownloadFinalize):
4095 (browser_download_init):
4096 (browser_download_class_init):
4097 (downloadReceivedResponse): Update download message using the
4099 (remainingTime): Helper function to get human readable remaining
4101 (downloadProgress): Update downloads progress.
4102 (downloadReceivedData):
4103 (downloadFinished): Update download message and turn download
4105 (downloadFailed): Show error message or destroy the download UI if
4107 (browserDownloadNew): Create a new download widget for the given
4109 (browser_downloads_bar_add_download): Add download widget to the
4111 * MiniBrowser/gtk/BrowserDownloadsBar.h: Added.
4112 * MiniBrowser/gtk/BrowserWindow.c:
4113 (downloadStarted): Create a download widget and add it to the
4114 downloads bar when a new download is started.
4115 (browserWindowConstructed): Connect to
4116 WebKitWebContext::download-started signal.
4117 * MiniBrowser/gtk/GNUmakefile.am: Add new files to compilation.
4119 2012-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
4121 Unreviewed. Skip unit test failing in debug bot.
4123 * Scripts/run-gtk-tests:
4126 2012-04-26 Christophe Dumez <christophe.dumez@intel.com>
4128 [EFL][DRT] "resource,request,willsend" signal needs to provide more information
4129 https://bugs.webkit.org/show_bug.cgi?id=84670
4131 Reviewed by Andreas Kling.
4133 Handle in EFL's DumpRenderTree the new Ewk_Frame_Resource_Messages now
4134 passed with the "resource,request,willsend" signal and dump
4135 information about the network request and the possible network
4136 response if LayoutTestController's dumpResourceLoadCallbacks() returns
4139 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
4140 (pathSuitableForTestResult):
4141 (urlSuitableForTestResult):
4142 (descriptionSuitableForTestResult):
4143 (DumpRenderTreeChrome::onWillSendRequest):
4145 2012-04-25 Csaba Osztrogonác <ossy@webkit.org>
4147 [Qt][WK2] Unreviewed, rolling out r113703 because of crashing tests.
4148 http://trac.webkit.org/changeset/113703
4149 https://bugs.webkit.org/show_bug.cgi?id=83024
4151 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
4153 * qmake/mkspecs/features/features.prf:
4154 * qmake/mkspecs/features/functions.prf:
4156 2012-04-25 Maciej Stachowiak <mjs@apple.com>
4158 Teach LayoutTestHelper to correctly restore the color profile when it's a factory profile
4159 https://bugs.webkit.org/show_bug.cgi?id=84931
4161 Reviewed by Filip Pizlo.
4163 * DumpRenderTree/mac/LayoutTestHelper.m:
4164 (installLayoutTestColorProfile): Account for the possibility of the default
4165 profile being a factory profile.
4167 2012-04-25 Sheriff Bot <webkit.review.bot@gmail.com>
4169 Unreviewed, rolling out r115240.
4170 http://trac.webkit.org/changeset/115240
4171 https://bugs.webkit.org/show_bug.cgi?id=84928
4173 It broke everything (Requested by Ossy_HOME on #webkit).
4175 * Scripts/webkitpy/layout_tests/port/gtk.py:
4178 (GtkDriver._start.x_filter):
4180 (GtkPort._driver_class):
4181 * Scripts/webkitpy/layout_tests/port/qt.py:
4182 (QtPort._build_driver):
4183 * Scripts/webkitpy/layout_tests/port/xvfbdriver.py: Removed.
4185 2012-04-25 Dirk Pranke <dpranke@chromium.org>
4187 [chromium] change DRT's "DRT" output to match the other ports
4188 https://bugs.webkit.org/show_bug.cgi?id=84904
4190 Reviewed by Kent Tamura.
4192 Since we run Chromium's DRT in --test-shell mode, the
4193 non-test-shell output has never been really beaten on to make
4194 sure it's right. This fixes a few issues and will be tested
4195 with upcoming NRWT changes that'll land in a separate patch.
4196 In particular we should never output framing text like "\n"
4197 or "#EOF" outside of something outside of TestEventPrinter,
4198 and we weren't handling audio output properly at all.
4200 * DumpRenderTree/chromium/TestEventPrinter.cpp:
4203 (DRTPrinter::handleTextFooter):
4204 (DRTPrinter::handleAudioFooter):
4205 (DRTPrinter::handleTestFooter):
4206 (TestShellPrinter::handleAudioFooter):
4207 * DumpRenderTree/chromium/TestEventPrinter.h:
4209 * DumpRenderTree/chromium/TestShell.cpp:
4210 (TestShell::TestShell):
4213 2012-04-25 Joshua Bell <jsbell@chromium.org>
4215 Unreviewed: Adding Alec Flett as a contributor (non-committer).
4217 * Scripts/webkitpy/common/config/committers.py:
4219 2012-04-25 Abhishek Arya <inferno@chromium.org>
4221 Mark myself as a reviewer.
4222 https://bugs.webkit.org/show_bug.cgi?id=84902
4224 Reviewed by Dimitri Glazkov.
4226 * Scripts/webkitpy/common/config/committers.py:
4228 2012-04-25 Kristóf Kosztyó <kkristof@inf.u-szeged.hu>
4230 [Qt][NRWT] Run each DRT in it's own xvfb
4231 https://bugs.webkit.org/show_bug.cgi?id=77335
4233 Reviewed by Dirk Pranke.
4235 * Scripts/webkitpy/layout_tests/port/gtk.py:
4236 (GtkPort._driver_class):
4237 * Scripts/webkitpy/layout_tests/port/qt.py:
4238 (QtPort._driver_class):
4239 * Scripts/webkitpy/layout_tests/port/xvfbdriver.py: Added.
4241 (XvfbDriver._start):
4242 (XvfbDriver._start.x_filter):
4245 2012-04-25 Sheriff Bot <webkit.review.bot@gmail.com>
4247 Unreviewed, rolling out r115222.
4248 http://trac.webkit.org/changeset/115222
4249 https://bugs.webkit.org/show_bug.cgi?id=84874
4251 Caused test regressions on the EFL build (Requested by rakuco
4254 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4255 (LayoutTestController::addOriginAccessWhitelistEntry):
4256 (LayoutTestController::removeOriginAccessWhitelistEntry):
4258 2012-04-25 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
4260 [EFL] [DRT] LayoutTestController needs implementation of addOriginAccessWhitelistEntry and removeOriginAccessWhitelistEntry
4261 https://bugs.webkit.org/show_bug.cgi?id=83880
4263 Reviewed by Antonio Gomes.
4265 Add missing implementation addOriginAccessWhitelistEntry and
4266 removeOriginAccessWhitelistEntry to EFL's LayoutTestController
4267 in order to unskip tests which rely on this.
4269 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
4270 (LayoutTestController::addOriginAccessWhitelistEntry):
4271 (LayoutTestController::removeOriginAccessWhitelistEntry):
4273 2012-04-25 Thiago Marcos P. Santos <thiago.santos@intel.com>
4275 [EFL] [DRT] Reset text zoom factor before running a test
4276 https://bugs.webkit.org/show_bug.cgi?id=84861
4278 Reviewed by Antonio Gomes.
4280 This fix eliminates most of the current flakiness on EFL build
4281 bots, although some CSS tests will now need rebasiling.
4283 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
4284 (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
4286 2012-04-25 Milian Wolff <milian.wolff@kdab.com>
4288 [Qt] add LayoutTestController::setPrinting support to Qt unit tests
4289 https://bugs.webkit.org/show_bug.cgi?id=84246
4291 Reviewed by Simon Hausmann.
4293 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
4294 (WebCore::DumpRenderTree::dump):
4296 2012-04-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
4298 [Qt] Make the web view's url property follow the active url
4300 https://bugs.webkit.org/show_bug.cgi?id=77554
4302 Update the location bar in the minibrowser to behave
4303 a bit more like normal browsers in terms of when the url will change
4304 and how active focus is handled.
4306 Reviewed by Simon Hausmann.
4308 * MiniBrowser/qt/qml/BrowserWindow.qml:
4310 2012-04-25 Philippe Normand <pnormand@igalia.com>