REGRESSION (r129478-r129480): http/tests/loading/text-content-type-with-binary-extens...
[WebKit-https.git] / Tools / ChangeLog
1 2012-10-11  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2
3         REGRESSION (r129478-r129480): http/tests/loading/text-content-type-with-binary-extension.html failing on Apple MountainLion Debug WK2 (Tests)
4         https://bugs.webkit.org/show_bug.cgi?id=98527
5
6         Reviewed by Kenneth Rohde Christiansen.
7
8         Added decidePolicyForResponse callback for WTR PagePolicyClient.
9
10         * WebKitTestRunner/TestController.cpp:
11         (WTR::TestController::initialize):
12         (WTR::TestController::decidePolicyForResponse):
13         (WTR):
14         * WebKitTestRunner/TestController.h:
15         (TestController):
16
17 2012-10-11  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
18
19         [Qt] Make sure that -Wno-c++0x-compat is set even with production_build
20
21         Reviewed by Simon Hausmann.
22
23         This makes sure that QtWebKit can be built inside Qt without nullptr
24         and narrowing warnings producing noise during compilation.
25
26         * qmake/mkspecs/features/unix/default_post.prf:
27
28 2012-10-11  Jinwoo Song  <jinwoo7.song@samsung.com>
29
30         [EFL][WK2] Revisit setting API names and documentation
31         https://bugs.webkit.org/show_bug.cgi?id=98793
32
33         Reviewed by Kenneth Rohde Christiansen.
34
35         Make frame flattening setting APIs to be consistent with others.
36
37         * MiniBrowser/efl/main.c:
38         (window_create):
39
40 2012-10-11 Vivek Galatage <vivekgalatage@gmail.com>
41
42         Fix committers.py for the names of contributors to appear on webkit.org/team.html
43         https://bugs.webkit.org/show_bug.cgi?id=99004
44
45         Reviewed by Yuta Kitamura
46
47         Some of the nicknames in the committers.py file are using the single quotes (')
48         but while parsing these, JSON throws an error: Single quotes (') are not allowed in JSON
49         Hence coverting these single quotes to (") so as the contributor names appear properly
50         on http://www.webkit.org/team.html
51
52         * Scripts/webkitpy/common/config/committers.py:
53
54 2012-10-10  Lucas Forschler  <lforschler@apple.com>
55
56         Remove Apple Mac Snow Leopard bots.
57         
58         * BuildSlaveSupport/build.webkit.org-config/config.json:
59
60 2012-10-10  Christophe Dumez  <christophe.dumez@intel.com>
61
62         [EFL][WK2] Add toolbar buttons to MiniBrowser
63         https://bugs.webkit.org/show_bug.cgi?id=98883
64
65         Reviewed by Kenneth Rohde Christiansen.
66
67         Add toolbar buttons to MiniBrowser to support
68         navigation back / forward, refresh and go
69         to home page.
70
71         * MiniBrowser/efl/main.c:
72         (_Browser_Window):
73         (on_back_forward_list_changed):
74         (on_back_button_clicked):
75         (on_forward_button_clicked):
76         (on_refresh_button_clicked):
77         (on_home_button_clicked):
78         (create_toolbar_button):
79         (window_create):
80
81 2012-10-10  Andy Estes  <aestes@apple.com>
82
83         Fix the Lion build after r130948.
84
85         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
86
87 2012-10-10  Andy Estes  <aestes@apple.com>
88
89         Speculative build fix for Snow Leopard after r130948.
90
91         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm: Pull the
92         declaration of backgroundColorQuery out of a block to appease GCC.
93
94 2012-10-10  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
95
96         [WK2][WTR] WebKitTestRunner UI process should be aware of Custom Policy Delegate
97         https://bugs.webkit.org/show_bug.cgi?id=95974
98
99         Reviewed by Kenneth Rohde Christiansen.
100
101         Added TestController::decidePolicyForNavigationAction() function as a 'decidePolicyForNavigationAction' WKPagePolicyClient callback
102         for WTR UI process. WTR bundle client notifies UI process about Custom Policy Delegate via newly added message,
103         so that TestController is aware of whether Custom Policy Delegate as enabled and
104         permissive. This data is used then in TestController::decidePolicyForNavigationAction for making policy decision.
105
106         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
107         (WTR::InjectedBundle::setCustomPolicyDelegate):
108         (WTR):
109         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
110         (InjectedBundle):
111         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
112         (WTR::TestRunner::setCustomPolicyDelegate):
113         * WebKitTestRunner/TestController.cpp:
114         (WTR::TestController::TestController):
115         (WTR::TestController::initialize):
116         (WTR::TestController::resetStateToConsistentValues):
117         (WTR::TestController::setCustomPolicyDelegate):
118         (WTR):
119         (WTR::TestController::decidePolicyForNavigationAction):
120         * WebKitTestRunner/TestController.h:
121         (TestController):
122         * WebKitTestRunner/TestInvocation.cpp:
123         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
124
125 2012-10-10  Zoltan Horvath  <zoltan@webkit.org>
126
127         Pageload tests should measure memory usage
128         https://bugs.webkit.org/show_bug.cgi?id=93958
129
130         Reviewed by Ryosuke Niwa.
131
132         Add JS Heap and Heap memory measurement to PageLoad tests.
133
134         * DumpRenderTree/mac/DumpRenderTree.mm:
135         (dump): Print memory results with DRT.
136         * Scripts/old-run-webkit-tests:
137         (readFromDumpToolWithTimer): Hadle memory results.
138         * Scripts/webkitpy/layout_tests/port/driver.py:
139         (DriverOutput.__init__): Add new parameter for the results.
140         (Driver.__init__): Initialize the new parameter.
141         (Driver.run_test):
142         (Driver._read_first_block): Add support for the new headers.
143         (Driver._process_stdout_line):
144         (ContentBlock.__init__):
145         * Scripts/webkitpy/performance_tests/perftest.py:
146         (PageLoadingPerfTest.calculate_statistics): Move statistics calculation into a function.
147         (PageLoadingPerfTest.run): Handle the new memory results.
148         (PageLoadingPerfTest.run.in):
149         (PageLoadingPerfTest):
150         * Scripts/webkitpy/performance_tests/perftest_unittest.py: Add test for memory results of pageloadtests.
151         (TestPageLoadingPerfTest.MockDriver.__init__):
152         (TestPageLoadingPerfTest.MockDriver.run_test):
153         (TestPageLoadingPerfTest.test_run_with_memory_output):
154
155 2012-10-04  Andy Estes  <aestes@apple.com>
156
157         [WebKit2] Create an API for adding and removing user stylesheets from a page group
158         https://bugs.webkit.org/show_bug.cgi?id=98432
159
160         Reviewed by Sam Weinig.
161
162         Add three new API tests:
163
164         - Test adding a user stylesheet before a page is created. This tests
165         the code path where the sheet is sent to the web process as part of
166         the new page's WebPageCreationParameters.
167         - Test adding a user stylesheet after a page is created. This tests the
168         code patch where the sheet is sent as a separate message to all
169         processes containing the given page group.
170         - Test removing all user stylesheets.
171
172         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
173         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm: Added.
174         (-[UserContentTestLoadDelegate initWithBlockToRunOnLoad:]):
175         (-[UserContentTestLoadDelegate browsingContextControllerDidFinishLoad:]):
176         (expectScriptValue):
177         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
178
179 2012-10-10  Dan Bernstein  <mitz@apple.com>
180
181         Changed debug-safari, debug-minibrowser and debug-test-runner to use LLDB by default when
182         using Xcode 4.5 or later.
183
184         Reviewed by Anders Carlsson.
185
186         * Scripts/webkitdirs.pm:
187         (determineDebugger): Changed the default debugger from GDB to LLDB when the Xcode version
188         is 4.5 or later. Added a --use-gdb switch for overriding this.
189         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Updated to mention --use-gdb and the
190         how the default debugger choice depends on the Xcode version. Also changed the description
191         of --no-saved-state to use the same terminology Xcode’s scheme editor uses to describe this
192         option, and clarified to which OS X versions it applies.
193
194 2012-10-10  Antonio Gomes  <agomes@rim.com>
195
196         Unreviewed watch list addition.
197
198         * Scripts/webkitpy/common/config/watchlist:
199
200 2012-10-10  Dirk Pranke  <dpranke@chromium.org>
201
202         NRWT crashes on too many timeouts
203         https://bugs.webkit.org/show_bug.cgi?id=97047
204
205         Reviewed by Tony Chang.
206
207         Apparently if you kill a subprocess directly python doesn't
208         auto-close the file descriptors.
209
210         * Scripts/webkitpy/layout_tests/port/server_process.py:
211         (ServerProcess._reset):
212         * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
213
214 2012-10-10  Zan Dobersek  <zandobersek@gmail.com>
215
216         [TestResultServer] Enable CORS for test files
217         https://bugs.webkit.org/show_bug.cgi?id=98918
218
219         Reviewed by Dirk Pranke.
220
221         Serve the JSON test files with the Access-Control-Allow-Origin
222         response header to enable cross-origin sharing of these files.
223         This eases up hacking on TestResultServer.
224
225         * TestResultServer/handlers/testfilehandler.py:
226         (GetFile._serve_json):
227
228 2012-10-10  Andreas Kling  <kling@webkit.org>
229
230         Future-proof the WTF.DoubleHashCollisions test.
231         <http://webkit.org/b/98853>
232
233         Reviewed by Anders Carlsson.
234
235         Add a check that the two keys that are supposed to clobber each other actually end up
236         in the same bucket with the DefaultHash<double> hash function.
237
238         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
239         (TestWebKitAPI::bucketForKey):
240         (TestWebKitAPI):
241         (TestWebKitAPI::TEST):
242
243 2012-10-10  Balazs Kelemen  <kbalazs@webkit.org>
244
245         [Qt] Test drivers should handle repaint rects
246         https://bugs.webkit.org/show_bug.cgi?id=68870
247
248         Reviewed by Zoltan Herczeg.
249
250         Implemented masking the area not covered by repaint rects.
251         This is equivalent with the implementation for Mac.
252
253         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
254         (WebCore::DumpRenderTree::dump):
255         * DumpRenderTree/qt/TestRunnerQt.cpp:
256         (TestRunner::display):
257         * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
258         * WebKitTestRunner/qt/TestInvocationQt.cpp:
259         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
260
261 2012-10-10  Vivek Galatage  <vivekgalatage@gmail.com>
262
263         [Qt]QtTestBrowser should have default url(google.com) when no command line args
264         https://bugs.webkit.org/show_bug.cgi?id=98880
265
266         Reviewed by Simon Hausmann.
267
268         Making QtTestBrowser use www.google.com as default url when no arguments are passed
269
270         * QtTestBrowser/qttestbrowser.cpp:
271         (main):
272
273 2012-10-10  Christophe Dumez  <christophe.dumez@intel.com>
274
275         [EFL][WK2] Port MiniBrowser to Elementary
276         https://bugs.webkit.org/show_bug.cgi?id=98748
277
278         Reviewed by Kenneth Rohde Christiansen.
279
280         Port MiniBrowser to Elementary to simplify the
281         code and make future improvements easier. The
282         URL bar is now an Elementary Entry widget and
283         supports additional functionality like copy /
284         paste.
285
286         * CMakeLists.txt:
287         * EWebLauncher/url_bar.c:
288         (on_urlbar_key_down): Remove WK2-specific code
289         now that this file is no longer used by MiniBrowser.
290         * MiniBrowser/efl/CMakeLists.txt:
291         * MiniBrowser/efl/main.c:
292         (_Browser_Window):
293         (window_free):
294         (window_close):
295         (view_focus_set):
296         (on_mouse_down):
297         (title_set):
298         (on_title_changed):
299         (on_url_changed):
300         (on_close_window):
301         (on_progress):
302         (quit):
303         (on_url_bar_activated):
304         (on_url_bar_clicked):
305         (on_window_deletion):
306         (window_create):
307         (elm_main):
308         * efl/jhbuild.modules: Add Elementary to jhbuild and bump
309         EFL dependencies to 1.7.
310
311 2012-10-10  Christophe Dumez  <christophe.dumez@intel.com>
312
313         [WK2][SOUP] ResourceError.isCancellation() is not carried over IPC
314         https://bugs.webkit.org/show_bug.cgi?id=98882
315
316         Reviewed by Kenneth Rohde Christiansen.
317
318         Do not display the error page in MiniBrowser if the loading
319         error corresponds to a cancellation.
320
321         * MiniBrowser/efl/main.c:
322         (on_error):
323
324 2012-10-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
325
326         [Qt] WTR: Fix an assert triggered by EventSenderProxy::touchEnd
327         https://bugs.webkit.org/show_bug.cgi?id=98735
328
329         Reviewed by Kenneth Rohde Christiansen.
330
331         ASSERT: "itemForTouchPointId.isEmpty()" in file qt5/qtdeclarative/src/quick/items/qquickwindow.cpp, line 1563
332         This assert is caused by QQuickWindow not registering our TouchPointReleased
333         since it expects QTouchEvent::touchPointStates() to be filled by the event's sender.
334
335         This patch calculates the touchPointStates like QQuickWindowPrivate::touchEventWithPoints does.
336
337         * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
338         (WTR::EventSenderProxy::sendTouchEvent):
339
340 2012-10-10  Allan Sandfeld Jensen  <allan.jensen@digia.com>
341
342         [Qt] DumpRenderTree needs a beginDragWithFiles implementation
343         https://bugs.webkit.org/show_bug.cgi?id=50902
344
345         Reviewed by Simon Hausmann.
346
347         Implement support for beginDragWithFiles. This function similates dragging without going
348         though regular event handling. Which allows us to test effects of dropping files on
349         different elements.
350
351         * DumpRenderTree/qt/EventSenderQt.cpp:
352         (EventSender::EventSender):
353         (EventSender::mouseUp):
354         (EventSender::mouseMoveTo):
355         (EventSender::beginDragWithFiles):
356         * DumpRenderTree/qt/EventSenderQt.h:
357         (EventSender):
358
359 2012-10-10  KwangYong Choi  <ky0.choi@samsung.com>
360
361         [EFL][WTR][CMake] Add a missing TestNetscapePlugin file
362         https://bugs.webkit.org/show_bug.cgi?id=98637
363
364         Reviewed by Kenneth Rohde Christiansen.
365
366         PluginScriptableObjectOverridesAllProperties.cpp is used during
367         plugins/npruntime/overrides-all-properties.html test introduced by r123936.
368
369         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
370
371 2012-10-10  Kenichi Ishibashi  <bashi@chromium.org>
372
373         Update pywebsocket to 0.7.7
374         https://bugs.webkit.org/show_bug.cgi?id=98872
375
376         Reviewed by Yuta Kitamura.
377
378         This version contains server-side permessage-compress extension support.
379         We need this version to add tests for permessage-compress extension.
380
381         I confirmed all tests under http/tests/websocket passed.
382
383         * Scripts/webkitpy/thirdparty/mod_pywebsocket/__init__.py:
384         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hixie75.py:
385         * Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py:
386         (parse_frame):
387         (FragmentedFrameBuilder.__init__):
388         (FragmentedFrameBuilder.build):
389         (create_closing_handshake_body):
390         (StreamOptions.__init__):
391         (Stream.__init__):
392         (Stream._receive_frame._receive_bytes):
393         (Stream._receive_frame):
394         (Stream.receive_filtered_frame):
395         (Stream.send_message):
396         (Stream._get_message_from_frame):
397         (Stream):
398         (Stream._process_close_message):
399         (Stream._process_ping_message):
400         (Stream._process_pong_message):
401         (Stream.receive_message):
402         (Stream._send_closing_handshake):
403         (Stream.get_last_received_opcode):
404         * Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py:
405         * Scripts/webkitpy/thirdparty/mod_pywebsocket/dispatch.py:
406         (Dispatcher.transfer_data):
407         * Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
408         (ExtensionProcessorInterface.name):
409         (DeflateStreamExtensionProcessor):
410         (DeflateStreamExtensionProcessor.name):
411         (_log_compression_ratio):
412         (_log_decompression_ratio):
413         (DeflateFrameExtensionProcessor):
414         (DeflateFrameExtensionProcessor.name):
415         (DeflateFrameExtensionProcessor._outgoing_filter):
416         (DeflateFrameExtensionProcessor._incoming_filter):
417         (CompressionExtensionProcessorBase):
418         (CompressionExtensionProcessorBase.for):
419         (CompressionExtensionProcessorBase.__init__):
420         (CompressionExtensionProcessorBase.name):
421         (CompressionExtensionProcessorBase._get_compression_processor_response):
422         (CompressionExtensionProcessorBase.set_compression_processor_hook):
423         (PerFrameCompressionExtensionProcessor):
424         (PerFrameCompressionExtensionProcessor.__init__):
425         (PerFrameCompressionExtensionProcessor.name):
426         (PerFrameCompressionExtensionProcessor._lookup_compression_processor):
427         (DeflateMessageProcessor):
428         (DeflateMessageProcessor.__init__):
429         (DeflateMessageProcessor.name):
430         (DeflateMessageProcessor.get_extension_response):
431         (DeflateMessageProcessor.setup_stream_options):
432         (DeflateMessageProcessor.setup_stream_options._OutgoingMessageFilter):
433         (DeflateMessageProcessor.setup_stream_options._OutgoingMessageFilter.__init__):
434         (DeflateMessageProcessor.setup_stream_options._OutgoingMessageFilter.filter):
435         (DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter):
436         (DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter.__init__):
437         (DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter.decompress_next_message):
438         (DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter.filter):
439         (DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter):
440         (DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter.__init__):
441         (DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter.set_compression_bit):
442         (DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter.filter):
443         (DeflateMessageProcessor.setup_stream_options._IncomingFrameFilter):
444         (DeflateMessageProcessor.setup_stream_options._IncomingFrameFilter.__init__):
445         (DeflateMessageProcessor.setup_stream_options._IncomingFrameFilter.filter):
446         (DeflateMessageProcessor.set_c2s_max_window_bits):
447         (DeflateMessageProcessor.set_c2s_no_context_takeover):
448         (DeflateMessageProcessor.enable_outgoing_compression):
449         (DeflateMessageProcessor.disable_outgoing_compression):
450         (DeflateMessageProcessor._process_incoming_message):
451         (DeflateMessageProcessor._process_outgoing_message):
452         (DeflateMessageProcessor._process_incoming_frame):
453         (DeflateMessageProcessor._process_outgoing_frame):
454         (PerMessageCompressionExtensionProcessor):
455         (PerMessageCompressionExtensionProcessor.__init__):
456         (PerMessageCompressionExtensionProcessor.name):
457         (PerMessageCompressionExtensionProcessor._lookup_compression_processor):
458         (MuxExtensionProcessor):
459         (MuxExtensionProcessor.__init__):
460         (MuxExtensionProcessor.name):
461         (MuxExtensionProcessor.get_extension_response):
462         (MuxExtensionProcessor.setup_stream_options):
463         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/__init__.py:
464         (do_handshake):
465         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py:
466         (validate_subprotocol):
467         (check_request_line):
468         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/draft75.py: Removed.
469         * Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py:
470         (Handshaker.do_handshake):
471         (Handshaker._set_protocol):
472         (Handshaker._create_stream):
473         (Handshaker):
474         (Handshaker._create_handshake_response):
475         (Handshaker._send_handshake):
476         * Scripts/webkitpy/thirdparty/mod_pywebsocket/headerparserhandler.py:
477         * Scripts/webkitpy/thirdparty/mod_pywebsocket/msgutil.py:
478         (send_message):
479         * Scripts/webkitpy/thirdparty/mod_pywebsocket/mux.py: Added.
480         (MuxUnexpectedException):
481         (MuxNotImplementedException):
482         (LogicalConnectionClosedException):
483         (PhysicalConnectionError):
484         (PhysicalConnectionError.__init__):
485         (LogicalChannelError):
486         (LogicalChannelError.__init__):
487         (_encode_channel_id):
488         (_encode_number):
489         (_create_add_channel_response):
490         (_create_drop_channel):
491         (_create_flow_control):
492         (_create_new_channel_slot):
493         (_create_fallback_new_channel_slot):
494         (_parse_request_text):
495         (_ControlBlock):
496         (_ControlBlock.__init__):
497         (_MuxFramePayloadParser):
498         (_MuxFramePayloadParser.that):
499         (_MuxFramePayloadParser.__init__):
500         (_MuxFramePayloadParser.read_channel_id):
501         (_MuxFramePayloadParser.read_inner_frame):
502         (_MuxFramePayloadParser._read_number):
503         (_MuxFramePayloadParser._read_size_and_contents):
504         (_MuxFramePayloadParser._read_add_channel_request):
505         (_MuxFramePayloadParser._read_add_channel_response):
506         (_MuxFramePayloadParser._read_flow_control):
507         (_MuxFramePayloadParser._read_drop_channel):
508         (_MuxFramePayloadParser._read_new_channel_slot):
509         (_MuxFramePayloadParser.read_control_blocks):
510         (_MuxFramePayloadParser.remaining_data):
511         (_LogicalRequest):
512         (_LogicalRequest.__init__):
513         (_LogicalRequest.is_https):
514         (_LogicalConnection):
515         (_LogicalConnection.__init__):
516         (_LogicalConnection.get_local_addr):
517         (_LogicalConnection.get_remote_addr):
518         (_LogicalConnection.get_memorized_lines):
519         (_LogicalConnection.write):
520         (_LogicalConnection.write_control_data):
521         (_LogicalConnection.notify_write_done):
522         (_LogicalConnection.append_frame_data):
523         (_LogicalConnection.read):
524         (_LogicalConnection.set_read_state):
525         (_LogicalStream):
526         (_LogicalStream.interprets):
527         (_LogicalStream.__init__):
528         (_LogicalStream._create_inner_frame):
529         (_LogicalStream._write_inner_frame):
530         (_LogicalStream.replenish_send_quota):
531         (_LogicalStream.consume_receive_quota):
532         (_LogicalStream.send_message):
533         (_LogicalStream._receive_frame):
534         (_LogicalStream.receive_message):
535         (_LogicalStream._send_closing_handshake):
536         (_LogicalStream.send_ping):
537         (_LogicalStream._send_pong):
538         (_LogicalStream.close_connection):
539         (_LogicalStream._drain_received_data):
540         (_OutgoingData):
541         (_OutgoingData.__init__):
542         (_PhysicalConnectionWriter):
543         (_PhysicalConnectionWriter.__init__):
544         (_PhysicalConnectionWriter.put_outgoing_data):
545         (_PhysicalConnectionWriter._write_data):
546         (_PhysicalConnectionWriter.run):
547         (_PhysicalConnectionWriter.stop):
548         (_PhysicalConnectionReader):
549         (_PhysicalConnectionReader.__init__):
550         (_PhysicalConnectionReader.run):
551         (_Worker):
552         (_Worker.__init__):
553         (_Worker.run):
554         (_MuxHandshaker):
555         (_MuxHandshaker.__init__):
556         (_MuxHandshaker._create_stream):
557         (_MuxHandshaker._create_handshake_response):
558         (_MuxHandshaker._send_handshake):
559         (_LogicalChannelData):
560         (_LogicalChannelData.__init__):
561         (_HandshakeDeltaBase):
562         (_HandshakeDeltaBase.that):
563         (_HandshakeDeltaBase.__init__):
564         (_HandshakeDeltaBase.create_headers):
565         (_MuxHandler):
566         (_MuxHandler.are):
567         (_MuxHandler.__init__):
568         (_MuxHandler.start):
569         (_MuxHandler.add_channel_slots):
570         (_MuxHandler.wait_until_done):
571         (_MuxHandler.notify_write_done):
572         (_MuxHandler.send_control_data):
573         (_MuxHandler.send_data):
574         (_MuxHandler._send_drop_channel):
575         (_MuxHandler._send_error_add_channel_response):
576         (_MuxHandler._create_logical_request):
577         (_MuxHandler._do_handshake_for_logical_request):
578         (_MuxHandler._add_logical_channel):
579         (_MuxHandler._process_add_channel_request):
580         (_MuxHandler._process_flow_control):
581         (_MuxHandler._process_drop_channel):
582         (_MuxHandler._process_control_blocks):
583         (_MuxHandler._process_logical_frame):
584         (_MuxHandler.dispatch_message):
585         (_MuxHandler.notify_worker_done):
586         (_MuxHandler.notify_reader_done):
587         (_MuxHandler.fail_physical_connection):
588         (_MuxHandler.fail_logical_channel):
589         (use_mux):
590         (start):
591         * Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py:
592         (_StandaloneRequest.get_protocol):
593         (_StandaloneRequest):
594         (_alias_handlers):
595         (WebSocketServer.__init__):
596         (WebSocketServer._create_sockets):
597         (WebSocketServer.server_bind):
598         (WebSocketServer.server_activate):
599         (WebSocketRequestHandler.parse_request):
600         (_configure_logging):
601         (_build_option_parser):
602         (_main):
603         (_main.if):
604         * Scripts/webkitpy/thirdparty/mod_pywebsocket/stream.py:
605         * Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
606         (_Deflater.compress):
607         (_RFC1979Deflater.filter):
608
609 2012-10-09  Damian Kaleta  <dkaleta@apple.com>
610
611         extract-localizable-strings script should be able to handle paths to files containing whitespaces.
612         https://bugs.webkit.org/show_bug.cgi?id=98844
613
614         Reviewed by Dan Bernstein.
615
616         * Scripts/extract-localizable-strings: Added ability to handle whitespace.
617
618 2012-10-09  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
619
620         [Cairo] Bump Cairo to fix more canvas/philip tests
621         https://bugs.webkit.org/show_bug.cgi?id=97658
622
623         Reviewed by Martin Robinson.
624
625         Bumping cairo to version 1.12.4 which fixes more canvas/philip tests.
626
627         * efl/jhbuild.modules:
628         * gtk/jhbuild.modules:
629
630 2012-10-09  Julien Chaffraix  <jchaffraix@webkit.org>
631
632         Unreviewed Chromium Windows build fix after r130823.
633
634         * DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
635         (roleToString): Re-added the 'default' label as some cases are not handled.
636
637 2012-10-09  Sadrul Habib Chowdhury  <sadrul@chromium.org>
638
639         [chromium] Add drop event for plugins.
640         https://bugs.webkit.org/show_bug.cgi?id=98827
641
642         Reviewed by Adam Barth.
643
644         Update the test plugin to receive drop events.
645
646         * DumpRenderTree/chromium/TestWebPlugin.cpp:
647         (TestWebPlugin::handleDragStatusUpdate):
648
649 2012-10-09  Dominic Mazzoni  <dmazzoni@google.com>
650
651         AX: 5 accessibility tests just need minor tweaks to pass on chromium
652         https://bugs.webkit.org/show_bug.cgi?id=98311
653
654         Reviewed by Chris Fleizach.
655
656         Update roleToString on Chromium to include all missing roles,
657         which enables some layout tests to pass.
658
659         * DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
660         (roleToString):
661
662 2012-10-09  Dirk Pranke  <dpranke@chromium.org>
663
664         webkit-patch rebaseline-expectations doesn't work w/o failures specified
665         https://bugs.webkit.org/show_bug.cgi?id=98810
666
667         Reviewed by Ojan Vafai.
668
669         If you try to mark a test as foo.html [ Rebaseline ] it wasn't
670         getting picked up for rebaselining; we needed to think the test
671         was failing.
672
673         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
674         (TestExpectations.get_rebaselining_failures):
675         * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
676         (RebaseliningTest.test_get_rebaselining_failures):
677
678 2012-10-09  Daniel Bates  <dbates@webkit.org>
679
680         VCSUtils.pm doesn't support SVN 1.7 diff files
681         <https://bugs.webkit.org/show_bug.cgi?id=80762>
682
683         Reviewed by Eric Seidel.
684
685         Implement support for the SVN 1.7 diff format.
686
687         * Scripts/VCSUtils.pm:
688         (parseChunkRange): Modified to support parsing an SVN 1.7 chunk range
689         that begins and ends with "##" (e.g. ## -0,0 +1,7 ##). For comparison,
690         earlier versions of SVN parsed chunk ranges of the form "@@ -0,0 +1,7 @@".
691
692         (parseSvnDiffHeader): Modified to parse an SVN 1.7 binary diff; SVN 1.7
693         has an unusual display format for a binary diff. It repeats the first
694         two lines of the diff header.
695
696         (parseSvnProperty): Modified to ignore both an SVN 1.7 chunk range and
697         lines of the form "\ No newline at end of property". SVN 1.7 emits the latter
698         message after a property value that doesn't end in a newline.
699
700         (parseSvnPropertyValue): Stop parsing an SVN property value when we encounter
701         a line of the form "\ No newline at end of property" (emitted by svn diff as of
702         SVN 1.7).
703
704         * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl:
705           - Added the following unit tests:
706           "Line count is 0"
707           "New line count is 1"
708
709         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl:
710           - Added the following unit tests:
711           "svn:executable followed by custom property using SVN 1.7 syntax"
712           "svn:executable followed by custom property without newline using SVN 1.7 syntax"
713
714         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
715           - Updated test results for test "binary file".
716           - Added unit test "binary file using SVN 1.7 syntax".
717
718         * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
719           - Added the following unit tests:
720           "simple: add svn:executable using SVN 1.7 syntax"
721           "simple: delete svn:executable using SVN 1.7 syntax"
722           "add svn:mime-type and add svn:executable using SVN 1.7 syntax"
723
724         * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
725           - Added the following unit tests:
726           "singe-line '+' change using SVN 1.7 syntax"
727           "single-line '-' change using SVN 1.7 syntax"
728
729 2012-10-09  James Robinson  <jamesr@chromium.org>
730
731         Unreviewed, rolling out r128488.
732         http://trac.webkit.org/changeset/128488
733         https://bugs.webkit.org/show_bug.cgi?id=96678
734
735         The bot is fixed now
736
737         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
738         (.):
739
740 2012-10-09  Zan Dobersek  <zandobersek@gmail.com>
741
742         XvfbDriver unit test is flaky on Linux builders
743         https://bugs.webkit.org/show_bug.cgi?id=98346
744
745         Reviewed by Adam Barth.
746
747         Temporarily skip the XvfbDriver test case that tests
748         the display number of the next free display. The test
749         is flaky on Linux builders.
750
751         * Scripts/webkitpy/layout_tests/port/xvfbdriver_unittest.py:
752         (XvfbDriverTest.disabled_test_next_free_display):
753
754 2012-10-09  Ojan Vafai  <ojan@chromium.org>
755
756         Don't duplicated build numbers when merging flakiness dashboard JSON
757         https://bugs.webkit.org/show_bug.cgi?id=98812
758
759         Reviewed by Dirk Pranke.
760
761         In general, build numbers are not unique, but we should basically never
762         get the same build number uploaded twice in a row. This is a workaround
763         for https://bugs.webkit.org/show_bug.cgi?id=97643, which frequently hits this
764         because we update results_small.json and timeout updating results.json and then
765         we retry the whole request.
766
767         * TestResultServer/model/jsonresults.py:
768         (JsonResults.merge):
769         * TestResultServer/model/jsonresults_unittest.py:
770         (JsonResultsTest.test_merge_duplicate_build_number):
771
772 2012-10-09  Alexis Menard  <alexis@webkit.org>
773
774         [GTK] Shadow builds are not working anymore.
775         https://bugs.webkit.org/show_bug.cgi?id=98785
776
777         Reviewed by Martin Robinson.
778
779         When setting WEBKITOUTPUTDIR the build was failing with a python
780         error : the os.execve expect three arguments. Also the condition
781         to check whether we build the GTK port with jhbuild or not was buggy
782         as it was always assuming an in source build. We can use now jhbuildutils
783         which has a convenient function to locate the directory where 
784         the dependencies built with jhbuild are and take into account WEBKITOUTPUTDIR.
785         If the Dependencies path does not exist then the build was not done using
786         jhbuild so we can fallback to a regular build against system libraries.
787
788         * gtk/run-with-jhbuild:
789
790 2012-10-08  Simon Fraser  <simon.fraser@apple.com>
791
792         Remove DRT/WTR implementations of layerTreeAsText
793         https://bugs.webkit.org/show_bug.cgi?id=98697
794
795         Reviewed by Tim Horton, James Robinson, Alexey Proskuryakov.
796
797         Remove code related to layerTreeAsText(), which is now on window.internals.
798
799         * DumpRenderTree/TestRunner.cpp:
800         (TestRunner::staticFunctions):
801         * DumpRenderTree/TestRunner.h:
802         (TestRunner):
803         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
804         * DumpRenderTree/chromium/DRTTestRunner.cpp:
805         (DRTTestRunner::DRTTestRunner):
806         * DumpRenderTree/chromium/DRTTestRunner.h:
807         (DRTTestRunner):
808         * DumpRenderTree/efl/TestRunnerEfl.cpp:
809         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
810         * DumpRenderTree/mac/TestRunnerMac.mm:
811         * DumpRenderTree/qt/TestRunnerQt.cpp:
812         * DumpRenderTree/qt/TestRunnerQt.h:
813         (TestRunner):
814         * DumpRenderTree/win/TestRunnerWin.cpp:
815         * DumpRenderTree/wx/TestRunnerWx.cpp:
816         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
817         * WebKitTestRunner/InjectedBundle/TestRunner.h:
818
819 2012-10-09  Zoltan Horvath  <zoltan@webkit.org>
820
821         Unreviewed. Remove myself from QtWebKit2 subscriptions.
822
823         * Scripts/webkitpy/common/config/watchlist:
824
825 2012-10-09  Harald Alvestrand  <hta@google.com>
826
827         Change PeerConnection getStats function to single value local / remote
828         elements in RTCStatsReport.
829         https://bugs.webkit.org/show_bug.cgi?id=98753
830
831         Reviewed by Adam Barth.
832
833         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
834         (MockWebRTCPeerConnectionHandler::getStats):
835
836 2012-10-09  Sadrul Habib Chowdhury  <sadrul@chromium.org>
837
838         [chromium] Make sure events are transformed correctly for plugins.
839         https://bugs.webkit.org/show_bug.cgi?id=89250
840
841         Reviewed by Tony Chang.
842
843         Update the test plugin to print event details for mouse and gesture events.
844
845         * DumpRenderTree/chromium/TestWebPlugin.cpp:
846         (printEventDetails):
847
848 2012-10-09  Simon Hausmann  <simon.hausmann@digia.com>
849
850         Unreviewed trivial Qt build fix: Remove stray closing braces from r130758.
851
852         * qmake/mkspecs/features/features.prf:
853
854 2012-10-09  Simon Hausmann  <simon.hausmann@digia.com>
855
856         [Qt] Clean up Qt module detection
857
858         Reviewed by Tor Arne Vestbø.
859
860         Replace the use of MOBILITY_CONFIG (not supported anymore) with modern use of haveQtModule.
861
862         * qmake/mkspecs/features/features.prf:
863
864 2012-10-09  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
865
866         [GTK] Respect WEBKITOUTPUTDIR in run-with-jhbuild.
867         https://bugs.webkit.org/show_bug.cgi?id=98732
868
869         Reviewed by Gustavo Noronha Silva.
870
871         Follow-up to r113066: if the WEBKITOUTPUTDIR environment variable
872         was used when running update-webkitgtk-libs,
873         WebKitBuild/Dependencies will not exist, so we now check its
874         contents first and then fall back to WebKitBuild/.
875
876         * gtk/run-with-jhbuild:
877
878 2012-10-09  Zan Dobersek  <zandobersek@gmail.com>
879
880         Unreviewed GTK gardening.
881
882         Skipping the accept-policy test in TestCookieManager API test that's
883         currently failing. The test failure is covered by
884         https://bugs.webkit.org/show_bug.cgi?id=98738.
885
886         * Scripts/run-gtk-tests:
887         (TestRunner):
888
889 2012-10-09  Laszlo Gombos  <l.gombos@samsung.com>
890
891         [Qt] Remove redundant JAVASCRIPTCORE_JIT variable
892         https://bugs.webkit.org/show_bug.cgi?id=50000
893
894         Reviewed by Simon Hausmann.
895
896         Use ENABLE_JIT instead.
897
898         * qmake/mkspecs/features/valgrind.prf:
899
900 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
901
902         Throttle DOM timers on hidden pages.
903         https://bugs.webkit.org/show_bug.cgi?id=98474
904
905         Reviewed by Maciej Stachowiak.
906
907         Implement testRunner.setPageVisibility on mac for testing throttling
908         of timers on hidden pages using DumpRenderTree.
909
910         * DumpRenderTree/mac/Configurations/Base.xcconfig:
911         Fix build error on mac-ews bot.  Add JSC copy of ICU headers to search path.
912
913         * DumpRenderTree/mac/TestRunnerMac.mm:
914         (TestRunner::resetPageVisibility):
915         (TestRunner::setPageVisibility):
916
917 2012-10-08  Dirk Pranke  <dpranke@chromium.org>
918
919         results.html and garden-o-matic are ignoring IMAGE failures when expected to FAIL
920         https://bugs.webkit.org/show_bug.cgi?id=98706
921
922         Reviewed by Ojan Vafai.
923
924         FAIL is supposed to map onto Failure which is supposed to map
925         onto the old [ TEXT, IMAGE_PLUS_TEXT, AUDIO ] mapping.
926         results.html was including IMAGE in this and garden-o-matic was
927         including CRASH and TIMEOUT as well :(.
928
929         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
930         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
931
932 2012-10-08  Ryuan Choi  <ryuan.choi@samsung.com>
933
934         [EFL] Build ControlTheme only when necessary
935         https://bugs.webkit.org/show_bug.cgi?id=98519
936
937         Reviewed by Eric Seidel.
938
939         * EWebLauncher/ControlTheme/CMakeLists.txt:
940         Added custom command keyword not to build ControlTheme every time.
941         In addition, removed `ALL` keyword because targets, which use ControlTheme,
942         already have dependency.
943
944 2012-10-08  Peter Rybin  <peter.rybin@gmail.com>
945
946         Do not swallow fatal messages in qt/DumpRenderTree
947         https://bugs.webkit.org/show_bug.cgi?id=98211
948
949         Reviewed by Eric Seidel.
950
951         Fix condition in message type filtering.
952
953         * DumpRenderTree/qt/DumpRenderTreeMain.cpp:
954         (messageHandler):
955
956 2012-10-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
957
958         Unreviewed. Moving myself from Committer to Reviewer list.
959         http://lists.webkit.org/pipermail/webkit-dev/2012-October/022460.html
960
961         * Scripts/webkitpy/common/config/committers.py:
962
963 2012-10-08  Dirk Pranke  <dpranke@chromium.org>
964
965         nrwt: [chromium] run http tests in parallel on bigger machines
966         https://bugs.webkit.org/show_bug.cgi?id=98562
967
968         Reviewed by Eric Seidel.
969
970         The "locked tests" shard (which includes the http tests and the
971         perf tests) is the long pole on machines where we have 4 or more
972         workers, so we should start making sure that
973         we can run http tests in parallel, following the normal sharding
974         rules (all tests in the same directory are in the same shard by
975         default). We should still probably limit the number of workers
976         hitting the web server in parallel where we can; a heuristic of
977         no more than 25% of them seems okay for a start. This will
978         likely only affect developer workstations and a couple of bots
979         at first, so should be low risk and a good reward.
980
981         * Scripts/webkitpy/layout_tests/port/base.py:
982         (Port.default_max_locked_shards):
983         * Scripts/webkitpy/layout_tests/port/chromium.py:
984         (ChromiumPort.default_max_locked_shards):
985         * Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py:
986         (ChromiumPortTestCase.test_default_max_locked_shards):
987         * Scripts/webkitpy/layout_tests/port/port_testcase.py:
988         (PortTestCase.test_default_max_locked_shards):
989         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
990         (_set_up_derived_options):
991         (parse_args):
992         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
993         (MainTest.test_max_locked_shards):
994
995 2012-10-08  Zan Dobersek  <zandobersek@gmail.com>
996
997         GTK port should warn if bug modifier is missing in TestExpectations
998         https://bugs.webkit.org/show_bug.cgi?id=98678
999
1000         Reviewed by Dirk Pranke.
1001
1002         Reimplement the warn_if_bug_missing_in_test_expectations method in
1003         GtkPort, returning True for producing a warning in such cases.
1004
1005         * Scripts/webkitpy/layout_tests/port/gtk.py:
1006         (GtkPort.warn_if_bug_missing_in_test_expectations):
1007
1008 2012-10-08  Ryuan Choi  <ryuan.choi@samsung.com>
1009
1010         [EFL][DRT] Switch default backing store to single
1011         https://bugs.webkit.org/show_bug.cgi?id=98591
1012
1013         Reviewed by Eric Seidel.
1014
1015         There are two backing stores for WebKit/Efl, Single Backing Store(SBS) and
1016         Tiled Backing Store(TBS), and DRT/Efl has used TBS.
1017         But, TBS is not suitable to run pixel tests because it does not have a good way
1018         to render mock scrollbars well.
1019
1020         So, this patch changes the default backing store to SBS.
1021         In addition, this changes the environment variable from DRT_USE_SINGLE_BACKING_STORE
1022         to DRT_USE_TILED_BACKING_STORE.
1023
1024         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
1025         (shouldUseTiledBackingStore):
1026         (chooseAndInitializeAppropriateSmartClass):
1027
1028 2012-10-08  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
1029
1030         [WK2][WTR] WebKitTestRunner needs testRunner.dispatchPendingLoadRequests
1031         https://bugs.webkit.org/show_bug.cgi?id=98638
1032
1033         Reviewed by Eric Seidel.
1034
1035         Add implementation for testRunner.dispatchPendingLoadRequests in
1036         WebKitTestRunner.
1037
1038         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1039         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1040         (WTR::TestRunner::dispatchPendingLoadRequests):
1041         (WTR):
1042         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1043         (TestRunner):
1044
1045 2012-10-08  Christophe Dumez  <christophe.dumez@intel.com>
1046
1047         [EFL][WK2] Add support for window.close in Minibrowser
1048         https://bugs.webkit.org/show_bug.cgi?id=98667
1049
1050         Reviewed by Laszlo Gombos.
1051
1052         When calling window.close() from JavaScript, MiniBrowser
1053         now closes the given window.
1054
1055         * MiniBrowser/efl/main.c:
1056         (window_close):
1057         (on_ecore_evas_delete):
1058         (on_close_window):
1059         (window_create):
1060
1061 2012-10-08  Ojan Vafai  <ojan@chromium.org>
1062
1063         Properly strip new tests from the test results json if they are pass/nodata/skip.
1064         https://bugs.webkit.org/show_bug.cgi?id=98669
1065
1066         Reviewed by Eric Seidel.
1067
1068         In _merge_json, we had a codepath that didn't call _normalize_results_json
1069         for tests that aren't already in the aggregated results.
1070         Instead, now do all the merging first and then normalize the aggregated results.
1071
1072         * TestResultServer/model/jsonresults.py:
1073         (JsonResults._merge_json):
1074         (JsonResults._merge_tests):
1075         (JsonResults._normalize_results):
1076         (JsonResults):
1077         (JsonResults._should_delete_leaf):
1078         * TestResultServer/model/jsonresults_unittest.py:
1079         Removed test_merge_build_directory_hierarchy_old_version since there is
1080         no longer any version 3 json to support.
1081         (JsonResultsTest.test_merge_remove_new_test):
1082         (JsonResultsTest.test_merge_prune_extra_results_with_new_result_of_same_type):
1083
1084 2012-10-08  Christophe Dumez  <christophe.dumez@intel.com>
1085
1086         [EFL][WK2] Simplify frame flattening support in MiniBrowser
1087         https://bugs.webkit.org/show_bug.cgi?id=98657
1088
1089         Reviewed by Kenneth Rohde Christiansen.
1090
1091         Simplify frame flattening support code in MiniBrowser to
1092         avoid passing the setting around to window_create()
1093         function().
1094
1095         * MiniBrowser/efl/main.c:
1096         (on_key_down):
1097         (on_new_window):
1098         (window_create):
1099         (main):
1100
1101 2012-10-08  Christophe Dumez  <christophe.dumez@intel.com>
1102
1103         [EFL] Use Ctrl+n shortcut to create a new window in MiniBrowser / EWebLauncher
1104         https://bugs.webkit.org/show_bug.cgi?id=98655
1105
1106         Reviewed by Kenneth Rohde Christiansen.
1107
1108         Use "Ctrl+n" shortcut instead of "F9" to open a new window in
1109         MiniBrowser and EWebLauncher. This is the shortcut that is
1110         commonly used for this action.
1111
1112         * EWebLauncher/main.c:
1113         (on_key_down):
1114         * MiniBrowser/efl/main.c:
1115         (on_key_down):
1116
1117 2012-10-08  Christophe Dumez  <christophe.dumez@intel.com>
1118
1119         [EFL][WK2] Add support for window.create in Minibrowser
1120         https://bugs.webkit.org/show_bug.cgi?id=98649
1121
1122         Reviewed by Kenneth Rohde Christiansen.
1123
1124         Calling window.create() from JavaScript now creates a
1125         new window in Minibrowser, as directed.
1126
1127         * MiniBrowser/efl/main.c:
1128         (on_new_window):
1129         (window_create):
1130
1131 2012-10-08  Andreas Kling  <kling@webkit.org>
1132
1133         Using float/double as WTF hash table key is unreliable.
1134         <http://webkit.org/b/98627>
1135
1136         Reviewed by Geoffrey Garen.
1137
1138         Add a test case checking that using double as the hash table key type won't
1139         have problems distinguishing between keys that are considered equal by operator==
1140         but have different binary representations.
1141
1142         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1143         (TestDoubleHashTraits):
1144
1145 2012-10-08  Christophe Dumez  <christophe.dumez@intel.com>
1146
1147         [EFL][WK2] Use URL instead of URI in the API
1148         https://bugs.webkit.org/show_bug.cgi?id=98643
1149
1150         Reviewed by Kenneth Rohde Christiansen.
1151
1152         Update Minibrowser to reflect API changes. We now
1153         use URL instead of URI in WK2 EFL API.
1154
1155         * EWebLauncher/url_bar.c:
1156         (on_urlbar_key_down):
1157         * MiniBrowser/efl/CMakeLists.txt:
1158         * MiniBrowser/efl/main.c:
1159         (on_url_changed):
1160         (window_create):
1161
1162 2012-10-08  Balazs Kelemen  <kbalazs@webkit.org>
1163
1164         [Qt] Reenable plugin tests
1165         https://bugs.webkit.org/show_bug.cgi?id=98528
1166
1167         Reviewed by Csaba Osztrogonác.
1168
1169         Uncomment this function so we can pick up the test plugin.
1170         It was commented out because of https://bugs.webkit.org/show_bug.cgi?id=86620
1171         and that bug seems to be fixed now.
1172
1173         * WebKitTestRunner/qt/TestControllerQt.cpp:
1174         (WTR::TestController::initializeTestPluginDirectory):
1175
1176 2012-10-08  Jinwoo Song  <jinwoo7.song@samsung.com>
1177
1178         [EFL][WK2] Support multiple window creation for MiniBrowser
1179         https://bugs.webkit.org/show_bug.cgi?id=97884
1180
1181         Reviewed by Kenneth Rohde Christiansen.
1182
1183         Implement the multiple window creation for MiniBrowser and bind the 'F9' key for opening a new window.
1184         Also, refactored MiniBrowser codes according to EFL coding style.
1185
1186         * MiniBrowser/efl/main.c:
1187         (_Browser_Window):
1188         (window_free):
1189         (main_signal_exit):
1190         (on_ecore_evas_delete):
1191         (on_ecore_evas_resize):
1192         (on_key_down):
1193         (on_title_changed):
1194         (on_url_changed):
1195         (on_progress):
1196         (window_create):
1197         (main):
1198
1199 2012-10-07  Seokju Kwon  <seokju.kwon@samsung.com>
1200
1201         [EFL] Add Web Inspector to EWebLauncher
1202         https://bugs.webkit.org/show_bug.cgi?id=91718
1203
1204         Reviewed by Gyuyoung Kim.
1205
1206         Implementation of Web Inspector in EWebLauncher.
1207         The Web Inspector can be opened or closed by pressing ctrl+i on web page.
1208
1209         * EWebLauncher/main.c:
1210         (on_browser_ecore_evas_resize):
1211         (on_web_inspector_ecore_evas_resize):
1212         (on_key_down):
1213         (on_web_inspector_view_create):
1214         (on_web_inspector_view_close):
1215         (on_web_inspector_view_destroyed):
1216         (browserCreate):
1217         (webInspectorCreate):
1218         (windowCreate):
1219         (closeWindow):
1220         (main_signal_exit):
1221         (parseUserArguments):
1222
1223 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1224
1225         Rename first/second to key/value in HashMap iterators
1226         https://bugs.webkit.org/show_bug.cgi?id=82784
1227
1228         Reviewed by Eric Seidel.
1229
1230         * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
1231         (MockWebSpeechInputController::addMockRecognitionResult):
1232         * DumpRenderTree/chromium/NotificationPresenter.cpp:
1233         (NotificationPresenter::simulateClick):
1234         (NotificationPresenter::show):
1235         * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
1236         (CppBoundClass::~CppBoundClass):
1237         (CppBoundClass::invoke):
1238         (CppBoundClass::getProperty):
1239         (CppBoundClass::setProperty):
1240         (CppBoundClass::bindCallback):
1241         (CppBoundClass::bindProperty):
1242         * DumpRenderTree/chromium/WebPreferences.cpp:
1243         (applyFontMap):
1244         * DumpRenderTree/chromium/WebViewHost.cpp:
1245         (WebViewHost::printResourceDescription):
1246         * DumpRenderTree/mac/TestRunnerMac.mm:
1247         (worldIDForWorld):
1248         (TestRunner::evaluateScriptInIsolatedWorld):
1249         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1250         (AccessibilityController::~AccessibilityController):
1251         (AccessibilityController::winNotificationReceived):
1252         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1253         (ResourceLoadDelegate::descriptionSuitableForTestResult):
1254         * DumpRenderTree/win/TestRunnerWin.cpp:
1255         (worldIDForWorld):
1256         (TestRunner::evaluateScriptInIsolatedWorld):
1257         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
1258         (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
1259         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
1260         (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
1261         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1262         (WTR::TestRunner::worldIDForWorld):
1263         (WTR::TestRunner::evaluateScriptInIsolatedWorld):
1264
1265 2012-10-07  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1266
1267         Unreviewed, rolling out r130596.
1268         http://trac.webkit.org/changeset/130596
1269         https://bugs.webkit.org/show_bug.cgi?id=98616
1270
1271         Broke build bots without IPV6 support
1272
1273         * Scripts/webkitpy/common/system/platforminfo_mock.py:
1274         (MockPlatformInfo.is_cygwin):
1275         * Scripts/webkitpy/layout_tests/port/base.py:
1276         (Port.baseline_version_dir):
1277         (Port.to.start_websocket_server):
1278         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1279         (PortTest.test_operating_system):
1280         (PortTest.test_build_path):
1281         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1282         (LayoutTestApacheHttpd):
1283         (LayoutTestApacheHttpd.__init__):
1284
1285 2012-10-07  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1286
1287         webkitpy: Pass the `Listen' Apache directive from Apache, not the httpd.conf files.
1288         https://bugs.webkit.org/show_bug.cgi?id=98602
1289
1290         Reviewed by Eric Seidel.
1291
1292         Unify all the different `Listen' directives present in the several
1293         httpd.conf files we have in LayoutTests/http/conf. For one, we
1294         were already passing `Listen 127.0.0.1:8000' via webkitpy before,
1295         and opening the other ports from the conf files.
1296
1297         The configuration files differed mostly in the way they handled
1298         IPV6 ports. Some of them did not listen to IPV6 ports because the
1299         systems which used them sometimes did not have IPV6 support. The
1300         `http_server_supports_ipv6' method has been added to Port to
1301         address that. cygwin, on its turn, still seems to use Apache 1.3,
1302         which does not support IPV6 at all; the newly-added method has a
1303         special case for that.
1304
1305         * Scripts/webkitpy/common/system/platforminfo_mock.py:
1306         (MockPlatformInfo.is_cygwin):
1307         * Scripts/webkitpy/layout_tests/port/base.py:
1308         (Port.baseline_version_dir):
1309         (Port.to.start_websocket_server):
1310         (Port.to):
1311         (Port.to.http_server_supports_ipv6):
1312         * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1313         (PortTest.test_http_server_supports_ipv6):
1314         (PortTest.test_build_path):
1315         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1316         (LayoutTestApacheHttpd):
1317         (LayoutTestApacheHttpd.__init__):
1318
1319 2012-10-05  Simon Fraser  <simon.fraser@apple.com>
1320
1321         Attempt to fix the SnowLeopard build to making the implementation of
1322         -isPaginated come before its use.
1323
1324         * MiniBrowser/mac/WK1BrowserWindowController.m:
1325         (-[WK1BrowserWindowController reload:]):
1326         (-[WK1BrowserWindowController forceRepaint:]):
1327         (-[WK1BrowserWindowController goBack:]):
1328         (-[WK1BrowserWindowController goForward:]):
1329         (-[WK1BrowserWindowController isPaginated]):
1330
1331 2012-10-05  Simon Fraser  <simon.fraser@apple.com>
1332
1333         Provide a way to run WebKit1
1334         https://bugs.webkit.org/show_bug.cgi?id=98568
1335
1336         Reviewed by Tim Horton.
1337
1338         Make it possible to create both WebKit1 and WebKit2 windows in MiniBrowser.
1339         
1340         Turn BrowserWindowController into a base class; subclassed by
1341         WK1BrowserWindowController and WK2BrowserWindowController, each of
1342         which implement the BrowserController protocol.
1343         
1344         Use Command-N to get a WebKit1 window, and Command-Option-N to
1345         get a WK2 window. Also add "Open Location" to focus the URL bar,
1346         and code to add an http:// if missing.
1347         
1348         Hook up window title callbacks; append " [WK1/2]" to window title
1349         as appropriate.
1350
1351         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1352         * MiniBrowser/mac/AppDelegate.m:
1353         (-[BrowserAppDelegate newWindow:]):
1354         (-[BrowserAppDelegate openPanelDidEnd:returnCode:contextInfo:]):
1355         * MiniBrowser/mac/BrowserWindowController.h:
1356         * MiniBrowser/mac/BrowserWindowController.m:
1357         (-[BrowserWindowController initWithWindow:]):
1358         (-[BrowserWindowController windowDidLoad]):
1359         (-[BrowserWindowController openLocation:]):
1360         (-[BrowserWindowController loadURLString:]):
1361         (-[BrowserWindowController applicationTerminating]):
1362         (-[BrowserWindowController addProtocolIfNecessary:]):
1363         * MiniBrowser/mac/MainMenu.xib:
1364         * MiniBrowser/mac/WK1BrowserWindowController.h: Copied from Tools/MiniBrowser/mac/BrowserWindowController.h.
1365         (WebView):
1366         * MiniBrowser/mac/WK1BrowserWindowController.m: Added.
1367         (-[WK1BrowserWindowController awakeFromNib]):
1368         (-[WK1BrowserWindowController dealloc]):
1369         (-[WK1BrowserWindowController loadURLString:]):
1370         (-[WK1BrowserWindowController fetch:]):
1371         (-[WK1BrowserWindowController showHideWebView:]):
1372         (-[WK1BrowserWindowController removeReinsertWebView:]):
1373         (-[WK1BrowserWindowController validateMenuItem:]):
1374         (-[WK1BrowserWindowController reload:]):
1375         (-[WK1BrowserWindowController forceRepaint:]):
1376         (-[WK1BrowserWindowController goBack:]):
1377         (-[WK1BrowserWindowController goForward:]):
1378         (-[WK1BrowserWindowController validateUserInterfaceItem:]):
1379         (-[WK1BrowserWindowController validateToolbar]):
1380         (-[WK1BrowserWindowController windowShouldClose:]):
1381         (-[WK1BrowserWindowController windowWillClose:]):
1382         (-[WK1BrowserWindowController applicationTerminating]):
1383         (-[WK1BrowserWindowController currentZoomFactor]):
1384         (-[WK1BrowserWindowController canZoomIn]):
1385         (-[WK1BrowserWindowController zoomIn:]):
1386         (-[WK1BrowserWindowController canZoomOut]):
1387         (-[WK1BrowserWindowController zoomOut:]):
1388         (-[WK1BrowserWindowController canResetZoom]):
1389         (-[WK1BrowserWindowController resetZoom:]):
1390         (-[WK1BrowserWindowController toggleZoomMode:]):
1391         (-[WK1BrowserWindowController isPaginated]):
1392         (-[WK1BrowserWindowController togglePaginationMode:]):
1393         (-[WK1BrowserWindowController find:]):
1394         (-[WK1BrowserWindowController dumpSourceToConsole:]):
1395         (-[WK1BrowserWindowController webView:didStartProvisionalLoadForFrame:]):
1396         (-[WK1BrowserWindowController webView:didReceiveTitle:forFrame:]):
1397         * MiniBrowser/mac/WK2BrowserWindowController.h: Copied from Tools/MiniBrowser/mac/BrowserWindowController.h.
1398         * MiniBrowser/mac/WK2BrowserWindowController.m: Copied from Tools/MiniBrowser/mac/BrowserWindowController.m.
1399         (-[WK2BrowserWindowController initWithContext:pageGroup:]):
1400         (-[WK2BrowserWindowController dealloc]):
1401         (-[WK2BrowserWindowController fetch:]):
1402         (-[WK2BrowserWindowController showHideWebView:]):
1403         (-[WK2BrowserWindowController removeReinsertWebView:]):
1404         (-[WK2BrowserWindowController validateMenuItem:]):
1405         (-[WK2BrowserWindowController reload:]):
1406         (-[WK2BrowserWindowController forceRepaint:]):
1407         (-[WK2BrowserWindowController goBack:]):
1408         (-[WK2BrowserWindowController goForward:]):
1409         (-[WK2BrowserWindowController validateUserInterfaceItem:]):
1410         (-[WK2BrowserWindowController validateToolbar]):
1411         (-[WK2BrowserWindowController windowShouldClose:]):
1412         (-[WK2BrowserWindowController windowWillClose:]):
1413         (-[WK2BrowserWindowController applicationTerminating]):
1414         (-[WK2BrowserWindowController currentZoomFactor]):
1415         (-[WK2BrowserWindowController setCurrentZoomFactor:]):
1416         (-[WK2BrowserWindowController canZoomIn]):
1417         (-[WK2BrowserWindowController zoomIn:]):
1418         (-[WK2BrowserWindowController canZoomOut]):
1419         (-[WK2BrowserWindowController zoomOut:]):
1420         (-[WK2BrowserWindowController canResetZoom]):
1421         (-[WK2BrowserWindowController resetZoom:]):
1422         (-[WK2BrowserWindowController toggleZoomMode:]):
1423         (-[WK2BrowserWindowController isPaginated]):
1424         (-[WK2BrowserWindowController togglePaginationMode:]):
1425         (-[WK2BrowserWindowController dumpSourceToConsole:]):
1426         (didStartProvisionalLoadForFrame):
1427         (didReceiveServerRedirectForProvisionalLoadForFrame):
1428         (didFailProvisionalLoadWithErrorForFrame):
1429         (didCommitLoadForFrame):
1430         (didFinishDocumentLoadForFrame):
1431         (didFinishLoadForFrame):
1432         (didFailLoadWithErrorForFrame):
1433         (didSameDocumentNavigationForFrame):
1434         (didReceiveTitleForFrame):
1435         (didFirstLayoutForFrame):
1436         (didFirstVisuallyNonEmptyLayoutForFrame):
1437         (didRemoveFrameFromHierarchy):
1438         (didDisplayInsecureContentForFrame):
1439         (didRunInsecureContentForFrame):
1440         (didDetectXSSForFrame):
1441         (didStartProgress):
1442         (didChangeProgress):
1443         (didFinishProgress):
1444         (didBecomeUnresponsive):
1445         (didBecomeResponsive):
1446         (processDidExit):
1447         (didChangeBackForwardList):
1448         (decidePolicyForNavigationAction):
1449         (decidePolicyForNewWindowAction):
1450         (decidePolicyForResponse):
1451         (createNewPage):
1452         (showPage):
1453         (closePage):
1454         (runJavaScriptAlert):
1455         (runJavaScriptConfirm):
1456         (runJavaScriptPrompt):
1457         (setStatusText):
1458         (mouseDidMoveOverElement):
1459         (getWindowFrame):
1460         (setWindowFrame):
1461         (runBeforeUnloadConfirmPanel):
1462         (runOpenPanel):
1463         (-[WK2BrowserWindowController awakeFromNib]):
1464         (-[WK2BrowserWindowController didStartProgress]):
1465         (-[WK2BrowserWindowController didChangeProgress:]):
1466         (-[WK2BrowserWindowController didFinishProgress]):
1467         (-[WK2BrowserWindowController updateProvisionalURLForFrame:]):
1468         (-[WK2BrowserWindowController didStartProvisionalLoadForFrame:]):
1469         (-[WK2BrowserWindowController didReceiveServerRedirectForProvisionalLoadForFrame:]):
1470         (-[WK2BrowserWindowController didFailProvisionalLoadWithErrorForFrame:]):
1471         (-[WK2BrowserWindowController didFailLoadWithErrorForFrame:]):
1472         (-[WK2BrowserWindowController didSameDocumentNavigationForFrame:]):
1473         (-[WK2BrowserWindowController didCommitLoadForFrame:]):
1474         (-[WK2BrowserWindowController loadURLString:]):
1475         (-[WK2BrowserWindowController performFindPanelAction:]):
1476         (-[WK2BrowserWindowController find:]):
1477
1478 2012-10-05  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
1479
1480         [WK2][WTR] WebKitTestRunner needs testRunner.setSerializeHTTPLoads
1481         https://bugs.webkit.org/show_bug.cgi?id=98524
1482
1483         Reviewed by Alexey Proskuryakov.
1484
1485         Add implementation for testRunner.setSerializeHTTPLoads in
1486         WebKitTestRunner.
1487
1488         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1489         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1490         (WTR::InjectedBundle::beginTesting):
1491         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1492         (WTR::TestRunner::setSerializeHTTPLoads):
1493         (WTR):
1494         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1495         (TestRunner):
1496
1497 2012-10-05  Richard Larocque  <rlarocque@chromium.org>
1498
1499         TestResultsServer does not display sync_integration_tests results
1500         https://bugs.webkit.org/show_bug.cgi?id=98551
1501
1502         Reviewed by Ojan Vafai.
1503
1504         Allow builders whose name contains "Sync" to pass through the
1505         isChromiumWebkitDepsTestRunner filter.
1506
1507         The test expectations in flakiness_dashboard_unittests.js have been
1508         updated to match the new behaviour.
1509
1510         * TestResultServer/static-dashboards/builders.js:
1511         (isChromiumDepsGTestRunner):
1512
1513 2012-10-05  Roger Fong  <roger_fong@apple.com>
1514
1515         Tests in webkitpy involving child processes are flaky. 
1516         Skipping run_webkit_tests_integrationtest.py.
1517         https://bugs.webkit.org/show_bug.cgi?id=98559
1518
1519         Reviewed by Dirk Pranke.
1520
1521         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1522         (MainTest.test_verbose_in_child_processes):
1523
1524 2012-10-05  Zan Dobersek  <zandobersek@gmail.com>
1525
1526         [Gtk] fast/xsl/xslt-missing-namespace-in-xslt.xml is failing on the 64-bit Debug builder
1527         https://bugs.webkit.org/show_bug.cgi?id=91009
1528
1529         Reviewed by Martin Robinson.
1530
1531         Include libxml2 into the jhbuild module. Version 2.8.0 introduces
1532         a more correct (but not completely correct) behavior in the
1533         fast/xsl/xslt-missing-namespace-in-xslt.html test.
1534
1535         * gtk/jhbuild.modules:
1536
1537 2012-10-05  Rob Buis  <rbuis@rim.com>
1538
1539         [BlackBerry] Implement TestRunner.setMockDeviceOrientation
1540         https://bugs.webkit.org/show_bug.cgi?id=98542
1541
1542         Reviewed by Antonio Gomes.
1543
1544         PR 120681
1545
1546         This fixes tests in fast/dom/DeviceOrientation.
1547
1548         * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
1549         (TestRunner::setMockDeviceOrientation):
1550
1551 2012-10-05  Christophe Dumez  <christophe.dumez@intel.com>
1552
1553         [WK2][WKTR] Implement UIClient focus callbacks in WebKitTestRunner
1554         https://bugs.webkit.org/show_bug.cgi?id=98256
1555
1556         Reviewed by Kenneth Rohde Christiansen.
1557
1558         Implement UIClient's focus callbacks for the main page in
1559         WebKitTestRunner.
1560
1561         * WebKitTestRunner/TestController.cpp:
1562         (WTR::focus):
1563         (WTR::TestController::initialize):
1564
1565 2012-10-05  Mark Hahnenberg  <mhahnenberg@apple.com>
1566
1567         JSC should have a way to gather and log Heap memory use and pause times
1568         https://bugs.webkit.org/show_bug.cgi?id=98431
1569
1570         Reviewed by Geoffrey Garen.
1571
1572         * DumpRenderTree/mac/DumpRenderTree.mm:
1573         (main): Added a check as to whether we should dump our JSC Heap statistics on exit.
1574
1575 2012-10-05  Christophe Dumez  <christophe.dumez@intel.com>
1576
1577         [EFL][WK2] Fix mktemp() compilation warning in Minibrowser
1578         https://bugs.webkit.org/show_bug.cgi?id=98493
1579
1580         Reviewed by Kenneth Rohde Christiansen.
1581
1582         Fix wrong mktemp usage causing a compilation warning
1583         in MiniBrowser.
1584
1585         * MiniBrowser/efl/main.c:
1586         (on_download_request):
1587
1588 2012-10-05  Christophe Dumez  <christophe.dumez@intel.com>
1589
1590         [WK2][WKTR] Avoid duplication of UIClient callbacks for main page and other pages
1591         https://bugs.webkit.org/show_bug.cgi?id=98503
1592
1593         Reviewed by Kenneth Rohde Christiansen.
1594
1595         Avoid the need for duplicating UIClient callbacks for main page
1596         and other pages by passing the view as clientInfo
1597         for those callbacks.
1598
1599         Previously, callbacks for the main page were passed the
1600         TestController as clientInfo while the callbacks for other pages
1601         were passed the PlatformWebView as clientInfo. This was error prone
1602         and leads to useless code duplication.
1603
1604         * WebKitTestRunner/TestController.cpp:
1605         (WTR::getWindowFrame):
1606         (WTR::setWindowFrame):
1607         (WTR::runBeforeUnloadConfirmPanel):
1608         (WTR::TestController::createOtherPage):
1609         (WTR::TestController::initialize):
1610         (WTR::TestController::decidePolicyForNotificationPermissionRequest):
1611
1612 2012-10-05  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1613
1614         [chromium] Allow dragging into plugins.
1615         https://bugs.webkit.org/show_bug.cgi?id=98277
1616
1617         Reviewed by Tony Chang.
1618
1619         Update the TestWebPlugin to receive drag events and print them out.
1620
1621         * DumpRenderTree/chromium/TestWebPlugin.cpp:
1622         (TestWebPlugin::handleDragStatusUpdate):
1623         * DumpRenderTree/chromium/TestWebPlugin.h:
1624         (TestWebPlugin):
1625
1626 2012-10-05  Jongseok Yang  <js45.yang@samsung.com>
1627
1628         [EFL][WK2] Remove "web" word from ewk_web_error APIs
1629         https://bugs.webkit.org/show_bug.cgi?id=97886
1630
1631         Reviewed by Gyuyoung Kim.
1632
1633         Remove "web" word from ewk_web_error APIs.
1634         "web" word was redundant because "ewk" means "EFL WebKit" and WK APIs for error does not have "web" word.
1635
1636         * MiniBrowser/efl/main.c:
1637         (on_error):
1638
1639 2012-10-05  Csaba Osztrogonác  <ossy@webkit.org>
1640
1641         [Qt] Enable CSS compositing by default
1642         https://bugs.webkit.org/show_bug.cgi?id=98490
1643
1644         Reviewed by Simon Hausmann.
1645
1646         * qmake/mkspecs/features/features.pri:
1647
1648 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1649
1650         Unreviewed, rolling out r130466.
1651         http://trac.webkit.org/changeset/130466
1652         https://bugs.webkit.org/show_bug.cgi?id=98495
1653
1654         It made 12 tests crash on Qt-WK2 (Requested by Ossy on
1655         #webkit).
1656
1657         * WebKitTestRunner/TestController.cpp:
1658         (WTR::focus):
1659         (WTR::TestController::initialize):
1660
1661 2012-10-05  Christophe Dumez  <christophe.dumez@intel.com>
1662
1663         [EFL] Fix window resizing / moving in WK1 and WKTR
1664         https://bugs.webkit.org/show_bug.cgi?id=98486
1665
1666         Reviewed by Gyuyoung Kim.
1667
1668         Fix PlatformWebView::windowFrame() and
1669         PlatformWebView::setWindowFrame() in EFL's WKTR so
1670         that it resizes / moves the window, not the view.
1671
1672         The new code matches the implementation in EwkView's
1673         UIClient.
1674
1675         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1676         (WTR::PlatformWebView::windowFrame):
1677         (WTR::PlatformWebView::setWindowFrame):
1678
1679 2012-10-04  KyungTae Kim  <ktf.kim@samsung.com>
1680
1681         [EFL][WK2] Fix destination path when download with suggested filename on the Minibrowser
1682         https://bugs.webkit.org/show_bug.cgi?id=98334
1683
1684         Reviewed by Gyuyoung Kim.
1685
1686         Add callback functions for download requests to Minibrowser to set the destination path for download.
1687         Set the destination path with suggested file name as (destination folder) + (suggested file name).
1688         The 'destination folder' should be a specific folder user selected, but is set to '/tmp' for now.
1689
1690         Additionally, for printing out the download status, 
1691         use the info macro and set the verbose variable to 1 to enable it.
1692
1693         * MiniBrowser/efl/main.c:
1694         (on_download_request):
1695         (on_download_finished):
1696         (on_download_failed):
1697         (browserCreate):
1698
1699 2012-10-04  Christophe Dumez  <christophe.dumez@intel.com>
1700
1701         [WK2][WKTR] Implement UIClient focus callbacks in WebKitTestRunner
1702         https://bugs.webkit.org/show_bug.cgi?id=98256
1703
1704         Reviewed by Kenneth Rohde Christiansen.
1705
1706         Implement UIClient's focus callbacks in WebKitTestRunner.
1707
1708         * WebKitTestRunner/TestController.cpp:
1709         (WTR::focus):
1710         (WTR::TestController::initialize):
1711
1712 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
1713
1714         Turn Compositing on by default in WebKit build
1715         https://bugs.webkit.org/show_bug.cgi?id=98315
1716
1717         Reviewed by Simon Fraser.
1718
1719         enable -webkit-blend-mode on trunk.
1720
1721         * Scripts/webkitperl/FeatureList.pm:
1722
1723 2012-10-04  Ryuan Choi  <ryuan.choi@samsung.com>
1724
1725         [EFL][WK2] Add APIs to get/set the frame flattening.
1726         https://bugs.webkit.org/show_bug.cgi?id=95982
1727
1728         Reviewed by Gyuyoung Kim.
1729
1730         * MiniBrowser/efl/main.c: Added frame flattening option to test.
1731         (browserCreate):
1732         (main):
1733
1734 2012-10-04  Christophe Dumez  <christophe.dumez@intel.com>
1735
1736         [EFL] Add libxml 2.8.0 to jhbuild
1737         https://bugs.webkit.org/show_bug.cgi?id=98418
1738
1739         Reviewed by Laszlo Gombos.
1740
1741         Add libxml 2.8.0 to EFL's jhbuild for consistency.
1742
1743         * efl/jhbuild.modules:
1744
1745 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
1746
1747         [WK2] Support all attributes of GeolocationPosition
1748         https://bugs.webkit.org/show_bug.cgi?id=98212
1749
1750         Reviewed by Sam Weinig.
1751
1752         Expand WebKitTestRunner and DumpRenderTree to test all the attributes
1753         of GeolocationPosition.
1754
1755         * DumpRenderTree/TestRunner.cpp:
1756         (setMockGeolocationPositionCallback):
1757         * DumpRenderTree/TestRunner.h:
1758         (TestRunner):
1759         * DumpRenderTree/efl/TestRunnerEfl.cpp:
1760         (TestRunner::setMockGeolocationPosition):
1761         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
1762         (TestRunner::setMockGeolocationPosition):
1763         * DumpRenderTree/mac/TestRunnerMac.mm:
1764         (TestRunner::setMockGeolocationPosition):
1765         * DumpRenderTree/win/TestRunnerWin.cpp:
1766         (TestRunner::setMockGeolocationPosition):
1767         * DumpRenderTree/wx/TestRunnerWx.cpp:
1768         (TestRunner::setMockGeolocationPosition):
1769         * WebKitTestRunner/GeolocationProviderMock.cpp:
1770         (WTR::GeolocationProviderMock::setPosition):
1771         * WebKitTestRunner/GeolocationProviderMock.h:
1772         (GeolocationProviderMock):
1773         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
1774         (_platformTypeVariableDeclaration):
1775         Use a proper constructor for the JSValueRef, it is an opaque type, we are not supposed
1776         to build the pointer outself.
1777         This is necessary to support optional JSValueRef properly.
1778
1779         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1780         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1781         (WTR::InjectedBundle::setMockGeolocationPosition):
1782         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1783         (InjectedBundle):
1784         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1785         (WTR::TestRunner::setMockGeolocationPosition):
1786         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1787         (TestRunner):
1788         * WebKitTestRunner/TestController.cpp:
1789         (WTR::TestController::setMockGeolocationPosition):
1790         * WebKitTestRunner/TestController.h:
1791         (TestController):
1792         * WebKitTestRunner/TestInvocation.cpp:
1793         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1794
1795 2012-10-04  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1796
1797         Make the Xvfb driver recognize `X' as a valid X server binary.
1798         https://bugs.webkit.org/show_bug.cgi?id=98434
1799
1800         Reviewed by Dirk Pranke.
1801
1802         The X server binary can also be called `X', so account for that
1803         possibility in the _next_free_display regexp.
1804
1805         Additionally, make the regular expression require at least one
1806         space character after the `ps comm' part.
1807
1808         * Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
1809         (XvfbDriver._next_free_display):
1810         * Scripts/webkitpy/layout_tests/port/xvfbdriver_unittest.py:
1811         (XvfbDriverTest.test_next_free_display):
1812
1813 2012-10-04  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1814
1815         webkitpy: Accept WEBKITOUTPUTDIR in Port._setup_environ_for_server.
1816         https://bugs.webkit.org/show_bug.cgi?id=98436
1817
1818         Reviewed by Dirk Pranke.
1819
1820         The Xvfb driver (ab)uses Port._setup_environ_for_server() to set
1821         the environment for the server process, and the WEBKITOUTPUTDIR
1822         environment variable was not being passed through, causing the
1823         build directory to be wrongfully set to WebKitBuild/ all the time.
1824
1825         * Scripts/webkitpy/layout_tests/port/base.py:
1826         (Port.to.setup_environ_for_server):
1827
1828 2012-10-04  Christophe Dumez  <christophe.dumez@intel.com>
1829
1830         [EFL][WK2] Add setting to allow file access from file:// URLs
1831         https://bugs.webkit.org/show_bug.cgi?id=98121
1832
1833         Reviewed by Laszlo Gombos.
1834
1835         Allow file access from file:// URLs by default in Minibrowser
1836         to facilitate testing.
1837
1838         * MiniBrowser/efl/main.c:
1839         (browserCreate):
1840
1841 2012-10-04  Christophe Dumez  <christophe.dumez@intel.com>
1842
1843         [EFL] Run unit tests with Xvfb
1844         https://bugs.webkit.org/show_bug.cgi?id=98389
1845
1846         Reviewed by Laszlo Gombos.
1847
1848         Run EFL unit tests with Xvfb, similarly to GTK port.
1849
1850         * Scripts/run-efl-tests:
1851
1852 2012-10-04  Adrian Perez de Castro  <aperez@igalia.com>
1853
1854         [GTK] Enable inspector by default in GtkLauncher/MiniBrowser
1855         https://bugs.webkit.org/show_bug.cgi?id=98333
1856
1857         Reviewed by Xan Lopez.
1858
1859         Both MiniBrowser and GtkLauncher are tools for testing, so in
1860         the end every time we want to test the inspector we have to
1861         manually enable enable the “developer extras” setting when using
1862         them. It make sense to have this setting enabled by default.
1863
1864         * GtkLauncher/main.c:
1865         (main):
1866         * MiniBrowser/gtk/main.c:
1867         (main):
1868
1869 2012-10-04  Harald Alvestrand  <hta@google.com>
1870
1871         Change RTCPeerConnection GetStats to use Date timestamp format
1872         https://bugs.webkit.org/show_bug.cgi?id=98263
1873
1874         Reviewed by Yury Semikhatsky.
1875
1876         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
1877         (MockWebRTCPeerConnectionHandler::getStats):
1878
1879 2012-10-04  Dirk Pranke  <dpranke@chromium.org>
1880
1881         [NRWT] --skipped option is ignored when --test-list is used
1882         https://bugs.webkit.org/show_bug.cgi?id=98260
1883
1884         Reviewed by Ojan Vafai.
1885
1886         Adds a --skipped=always flag that will skip any tests listed in
1887         TestExpectations even if they're listed explicitly on the
1888         command line.
1889
1890         This is most useful if you are using --test-list to specify a
1891         long list of files but you still want to skip some of them
1892         depending on what's in TestExpectations.
1893
1894         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
1895         (LayoutTestFinder.skip_tests):
1896         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1897         (parse_args):
1898         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1899         (MainTest.test_skipped_flag):
1900
1901 2012-10-04  Sheriff Bot  <webkit.review.bot@gmail.com>
1902
1903         Unreviewed, rolling out r130377.
1904         http://trac.webkit.org/changeset/130377
1905         https://bugs.webkit.org/show_bug.cgi?id=98392
1906
1907         Chromium Win compilation is broken (Requested by yurys on
1908         #webkit).
1909
1910         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
1911         (MockWebRTCPeerConnectionHandler::getStats):
1912
1913 2012-10-04  Harald Alvestrand  <hta@google.com>
1914
1915         Change RTCPeerConnection GetStats to use Date timestamp format
1916         https://bugs.webkit.org/show_bug.cgi?id=98263
1917
1918         Reviewed by Adam Barth.
1919
1920         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
1921         (MockWebRTCPeerConnectionHandler::getStats):
1922
1923 2012-10-04  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1924
1925         Unreviewed, remove unused $legacyWebKitBlobBuilderSupport variable after r130343.
1926
1927         * Scripts/webkitperl/FeatureList.pm:
1928
1929 2012-10-03  Philip Rogers  <pdr@google.com>
1930
1931         Force GC between PageLoad tests.
1932         https://bugs.webkit.org/show_bug.cgi?id=98203
1933
1934         Reviewed by Ryosuke Niwa.
1935
1936         Previously, our PageLoad PerfTests had multi-modal distributions,
1937         typically with a small cluster at 1-2x the median. This turned out
1938         to be caused by not garbage collecting between tests!
1939
1940         This patch adds a new file, force-gc.html, and loads this file between
1941         PageLoad tests to force a GC. I manually verified that this cleans up
1942         our perf test outliers.
1943
1944         * Scripts/webkitpy/performance_tests/perftest.py:
1945         (PageLoadingPerfTest.__init__):
1946         (PageLoadingPerfTest):
1947         (PageLoadingPerfTest.run_single):
1948
1949             This function now loads two pages: one to force a gc and
1950             then the test to run.
1951
1952         * Scripts/webkitpy/performance_tests/perftest_unittest.py:
1953
1954             Modified several existing tests to show that the force-gc file
1955             is loaded.
1956
1957         (MockPort):
1958         (MockPort.__init__):
1959         (MockPort.perf_tests_dir):
1960         (TestPageLoadingPerfTest.MockDriver.__init__):
1961         (TestPageLoadingPerfTest.MockDriver.run_test):
1962         (TestPageLoadingPerfTest.test_run):
1963         (TestPageLoadingPerfTest.test_run_with_bad_output):
1964         (TestReplayPerfTest.ReplayTestPort):
1965         (TestReplayPerfTest.ReplayTestPort.__init__):
1966         (TestReplayPerfTest.test_run_single.run_test):
1967         (TestReplayPerfTest.test_run_single):
1968         (TestReplayPerfTest.test_run_single_fails_when_output_has_error):
1969         (TestPerfTestFactory.test_regular_test):
1970         (TestPerfTestFactory.test_inspector_test):
1971         (TestPerfTestFactory.test_page_loading_test):
1972
1973 2012-10-03  Christophe Dumez  <christophe.dumez@intel.com>
1974
1975         [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
1976         https://bugs.webkit.org/show_bug.cgi?id=98231
1977
1978         Reviewed by Gyuyoung Kim.
1979
1980         Enable use of X11 in DumpRenderTree / WebKitTestRunner.
1981         Call ecore_evas_new() instead of ecore_evas_buffer_new()
1982         in EFL's DumpRenderTree and WebKitTestRunner.
1983         It is safe to do this now that we are using XvfbDriver
1984         for the layout tests.
1985
1986         * DumpRenderTree/efl/DumpRenderTree.cpp:
1987         (parseCommandLineOptions):
1988         (initEcoreEvas):
1989         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1990         (WTR::initEcoreEvas):
1991         * WebKitTestRunner/efl/main.cpp:
1992         (main):
1993
1994 2012-10-03  Dirk Pranke  <dpranke@chromium.org>
1995
1996         run-webkit-tests tests on win32 after r127302
1997         https://bugs.webkit.org/show_bug.cgi?id=98323
1998
1999         Reviewed by Eric Seidel.
2000
2001         run-webkit-tests tests on win32 after r127302
2002         https://bugs.webkit.org/show_bug.cgi?id=98323
2003
2004         Reviewed by Eric Seidel.
2005
2006         Looks like when we converted the json-building logic to use scm
2007         to try and get the svn revision, we missed a win32-ism and
2008         didn't check to make sure had initialized the scm subsystem.
2009
2010         This change fixes that and renames _initialize_scm to be a public method.
2011
2012         * Scripts/webkitpy/common/host.py:
2013         (Host.initialize_scm):
2014         * Scripts/webkitpy/common/host_mock.py:
2015         (MockHost.__init__):
2016         (MockHost.initialize_scm):
2017         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2018         (summarize_results):
2019         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
2020         (JSONResultsGeneratorBase.get_json):
2021         (JSONResultsGeneratorBase._get_result_char):
2022         (JSONResultsGeneratorBase._get_svn_revision):
2023         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2024         (PerfTestsRunner.__init__):
2025         * Scripts/webkitpy/style/checkers/test_expectations.py:
2026         (TestExpectationsChecker.__init__):
2027         * Scripts/webkitpy/style/main.py:
2028         (CheckWebKitStyle.main):
2029         * Scripts/webkitpy/tool/main.py:
2030         (WebKitPatch.handle_global_options):
2031         * Scripts/webkitpy/tool/servers/rebaselineserver.py:
2032         (get_test_baselines):
2033
2034 2012-10-03  Adrian Perez de Castro  <aperez@igalia.com>
2035
2036         [GTK] Make inspector directly useable in GtkLauncher/MiniBrowser
2037         https://bugs.webkit.org/show_bug.cgi?id=98310
2038
2039         Reviewed by Martin Robinson.
2040
2041         Make MiniBrowser/GtkLauncher define the path to the inspector
2042         resources by setting the WEBKIT_INSPECTOR_PATH environment
2043         variable pointing to the copy of the inspector resources in
2044         the build directory. If the environment variable is already
2045         defined, its value is not overwritten. The path is derived
2046         from the WEBKIT_EXEC_PATH macro defined in the makefiles.
2047
2048         * GNUmakefile.am:
2049         * GtkLauncher/main.c:
2050         (main):
2051         * MiniBrowser/gtk/main.c:
2052         (main):
2053
2054 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
2055
2056         Fix Geolocation/window-close-crash.html and harden WebKitTestRunner for Geolocation
2057         https://bugs.webkit.org/show_bug.cgi?id=97608
2058
2059         Reviewed by Sam Weinig.
2060
2061         The test fast/dom/Geolocation/window-close-crash.html was crashing because
2062         handleGeolocationPermissionRequest() was executed on the wrong pointer. Depending on how
2063         the page was created, the void* clientInfo can either be a PlatformWebView or
2064         a TestController.
2065
2066         Using the global TestController fixes the issue.
2067
2068         * WebKitTestRunner/GeolocationProviderMock.cpp:
2069         (WTR::GeolocationProviderMock::setPosition):
2070         (WTR::GeolocationProviderMock::setPositionUnavailableError):
2071         To be reliable, the test fast/dom/Geolocation/maximum-age.html needs the setting the position
2072         to clear the error and vice versa.
2073         This is the same behavior as GeolocationClientMock and MockGeolocationProvider of WebKit1.
2074
2075         (WTR::GeolocationProviderMock::sendPositionIfNeeded):
2076         (WTR::GeolocationProviderMock::sendErrorIfNeeded):
2077         Some tests expect the position/error cant be sent multiple time,
2078         just keep the position after sending.
2079
2080         * WebKitTestRunner/TestController.cpp:
2081         (WTR::decidePolicyForGeolocationPermissionRequest):
2082         (WTR::TestController::decidePolicyForGeolocationPermissionRequestIfPossible):
2083         * WebKitTestRunner/TestController.h:
2084         Let's play as if we did not know what is in GeolocationPermissionRequestManagerProxy like a real
2085         client would have to do.
2086
2087 2012-10-03  Otto Derek Cheung  <otcheung@rim.com>
2088
2089         [BlackBerry] Implementing the NetworkInfo API for BB port
2090         https://bugs.webkit.org/show_bug.cgi?id=98273
2091
2092         Reviewed by Rob Buis.
2093
2094         Enabling NetworkInfo API for the BlackBerry port.
2095
2096         * Scripts/webkitperl/FeatureList.pm:
2097
2098 2012-10-03  Anders Carlsson  <andersca@apple.com>
2099
2100         Exception thrown when running accessibility/container-node-delete-causes-crash.html test
2101         https://bugs.webkit.org/show_bug.cgi?id=98291
2102
2103         Reviewed by Andreas Kling.
2104
2105         The accessibility/container-node-delete-causes-crash.html test will cause a full accessibility tree
2106         to be created by trying to look up an element with a non-existent ID. This caused an exception to be thrown
2107         when trying to access the children of an element that didn't have any children. Fix this by adding
2108         BEGIN_AX_OBJC_EXCEPTIONS/END_AX_OBJC_EXCEPTIONS around the call to get the children.
2109
2110         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2111         (findAccessibleObjectById):
2112
2113 2012-10-03  Ojan Vafai  <ojan@chromium.org>
2114
2115         Make partytime work when loading garden-o-matic from trac.webkit.org
2116         https://bugs.webkit.org/show_bug.cgi?id=98283
2117
2118         Reviewed by Adam Barth.
2119
2120         CSP was blocking the reqest for partytime.gif because 'self' wasn't on the img-src directive.
2121         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
2122
2123 2012-10-03  Roger Fong  <roger_fong@apple.com>
2124
2125         Unreviewed. Adding sys.platform check to skip a failing assert on the Apple Windows platform.
2126         https://bugs.webkit.org/show_bug.cgi?id=98288
2127
2128         * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
2129         (ChromiumAndroidDriverTest.test_command_from_driver_input):
2130
2131 2012-10-03  Ojan Vafai  <ojan@chromium.org>
2132
2133         Get rid of warning about non-existant platform name when loading garden-o-matic
2134         https://bugs.webkit.org/show_bug.cgi?id=98282
2135
2136         Reviewed by Adam Barth.
2137
2138         If you loaded without a platform query parameter we'd return "null" as the platform name
2139         instead of null.
2140         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
2141         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
2142
2143 2012-10-03  Balazs Kelemen  <kbalazs@webkit.org>
2144
2145         [Qt] Enable mock scrollbars
2146         https://bugs.webkit.org/show_bug.cgi?id=98011
2147
2148         Reviewed by Csaba Osztrogonác.
2149
2150         Enable mock scrollbars for the Qt port. This patch will require a huge rebaseline.
2151
2152         * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2153         (WebCore::DumpRenderTree::DumpRenderTree):
2154         * WebKitTestRunner/TestController.cpp:
2155         (WTR::TestController::resetStateToConsistentValues):
2156
2157 2012-10-03  Alberto Garcia  <agarcia@igalia.com>
2158
2159         [GTK] [WK2] Add favicon support to the MiniBrowser
2160         https://bugs.webkit.org/show_bug.cgi?id=98063
2161
2162         Reviewed by Carlos Garcia Campos.
2163
2164         Set the icon in the URI text entry using the favicon property of
2165         the WebKitWebView.
2166
2167         * MiniBrowser/gtk/BrowserWindow.c:
2168         (_BrowserWindow):
2169         (updateUriEntryIcon):
2170         (uriEntryTextChanged):
2171         (faviconChanged):
2172         (browserWindowFinalize):
2173         (browser_window_init):
2174         (browserWindowConstructed):
2175
2176 2012-10-03  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2177
2178         [Qt][DRT] Add support for overriding the "WebKitDisplayImagesKey" preference.
2179         https://bugs.webkit.org/show_bug.cgi?id=98200
2180
2181         Reviewed by Csaba Osztrogonác.
2182
2183         * DumpRenderTree/qt/TestRunnerQt.cpp:
2184         (TestRunner::overridePreference):
2185
2186 2012-10-03  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
2187
2188         [Qt][WRT] Fix build error with MSVC on Windows.
2189         https://bugs.webkit.org/show_bug.cgi?id=97697
2190
2191         Reviewed by Simon Hausmann.
2192
2193         WTR build is failing when WebKit directory is located on a longer path.
2194         This seems to caused by source files that has the same name in
2195         WTR and DRT directories. The solution is removing referencies 
2196         from Target.pri to DRT directory and adding an alternate version of
2197         the required files to WTR. Those files simply include the real ones from DRT.
2198
2199         * WebKitTestRunner/InjectedBundle/Target.pri:
2200         * WebKitTestRunner/InjectedBundle/qt/QtInitializeTestFonts.cpp: Added.
2201         * WebKitTestRunner/InjectedBundle/qt/QtInitializeTestFonts.h: Added.
2202
2203 2012-10-03  Christophe Dumez  <christophe.dumez@intel.com>
2204
2205         [WK2][WKTR] TestRunner.setAlwaysAcceptCookies() causes flakiness
2206         https://bugs.webkit.org/show_bug.cgi?id=98238
2207
2208         Reviewed by Csaba Osztrogonác.
2209
2210         Reset AlwaysAcceptCookies setting between tests to avoid
2211         flakiness due to TestRunner.setAlwaysAcceptCookies().
2212
2213         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2214         (WTR::InjectedBundle::beginTesting):
2215
2216 2012-10-03  Harald Alvestrand  <hta@google.com>
2217
2218         Add data passing to the GetStats interface of RTCPeerConnection
2219         https://bugs.webkit.org/show_bug.cgi?id=98003
2220
2221         Reviewed by Adam Barth.
2222
2223         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
2224         (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
2225         (MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
2226         (MockWebRTCPeerConnectionHandler::addStream):
2227         (MockWebRTCPeerConnectionHandler::removeStream):
2228         (MockWebRTCPeerConnectionHandler::getStats):
2229         * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
2230         (MockWebRTCPeerConnectionHandler):
2231
2232 == Rolled over to ChangeLog-2012-10-02 ==