1 2012-10-07 Seokju Kwon <seokju.kwon@samsung.com>
3 [EFL] Add Web Inspector to EWebLauncher
4 https://bugs.webkit.org/show_bug.cgi?id=91718
6 Reviewed by Gyuyoung Kim.
8 Implementation of Web Inspector in EWebLauncher.
9 The Web Inspector can be opened or closed by pressing ctrl+i on web page.
11 * EWebLauncher/main.c:
12 (on_browser_ecore_evas_resize):
13 (on_web_inspector_ecore_evas_resize):
15 (on_web_inspector_view_create):
16 (on_web_inspector_view_close):
17 (on_web_inspector_view_destroyed):
25 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
27 Rename first/second to key/value in HashMap iterators
28 https://bugs.webkit.org/show_bug.cgi?id=82784
30 Reviewed by Eric Seidel.
32 * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
33 (MockWebSpeechInputController::addMockRecognitionResult):
34 * DumpRenderTree/chromium/NotificationPresenter.cpp:
35 (NotificationPresenter::simulateClick):
36 (NotificationPresenter::show):
37 * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
38 (CppBoundClass::~CppBoundClass):
39 (CppBoundClass::invoke):
40 (CppBoundClass::getProperty):
41 (CppBoundClass::setProperty):
42 (CppBoundClass::bindCallback):
43 (CppBoundClass::bindProperty):
44 * DumpRenderTree/chromium/WebPreferences.cpp:
46 * DumpRenderTree/chromium/WebViewHost.cpp:
47 (WebViewHost::printResourceDescription):
48 * DumpRenderTree/mac/TestRunnerMac.mm:
50 (TestRunner::evaluateScriptInIsolatedWorld):
51 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
52 (AccessibilityController::~AccessibilityController):
53 (AccessibilityController::winNotificationReceived):
54 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
55 (ResourceLoadDelegate::descriptionSuitableForTestResult):
56 * DumpRenderTree/win/TestRunnerWin.cpp:
58 (TestRunner::evaluateScriptInIsolatedWorld):
59 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
60 (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
61 * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
62 (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
63 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
64 (WTR::TestRunner::worldIDForWorld):
65 (WTR::TestRunner::evaluateScriptInIsolatedWorld):
67 2012-10-07 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
69 Unreviewed, rolling out r130596.
70 http://trac.webkit.org/changeset/130596
71 https://bugs.webkit.org/show_bug.cgi?id=98616
73 Broke build bots without IPV6 support
75 * Scripts/webkitpy/common/system/platforminfo_mock.py:
76 (MockPlatformInfo.is_cygwin):
77 * Scripts/webkitpy/layout_tests/port/base.py:
78 (Port.baseline_version_dir):
79 (Port.to.start_websocket_server):
80 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
81 (PortTest.test_operating_system):
82 (PortTest.test_build_path):
83 * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
84 (LayoutTestApacheHttpd):
85 (LayoutTestApacheHttpd.__init__):
87 2012-10-07 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
89 webkitpy: Pass the `Listen' Apache directive from Apache, not the httpd.conf files.
90 https://bugs.webkit.org/show_bug.cgi?id=98602
92 Reviewed by Eric Seidel.
94 Unify all the different `Listen' directives present in the several
95 httpd.conf files we have in LayoutTests/http/conf. For one, we
96 were already passing `Listen 127.0.0.1:8000' via webkitpy before,
97 and opening the other ports from the conf files.
99 The configuration files differed mostly in the way they handled
100 IPV6 ports. Some of them did not listen to IPV6 ports because the
101 systems which used them sometimes did not have IPV6 support. The
102 `http_server_supports_ipv6' method has been added to Port to
103 address that. cygwin, on its turn, still seems to use Apache 1.3,
104 which does not support IPV6 at all; the newly-added method has a
105 special case for that.
107 * Scripts/webkitpy/common/system/platforminfo_mock.py:
108 (MockPlatformInfo.is_cygwin):
109 * Scripts/webkitpy/layout_tests/port/base.py:
110 (Port.baseline_version_dir):
111 (Port.to.start_websocket_server):
113 (Port.to.http_server_supports_ipv6):
114 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
115 (PortTest.test_http_server_supports_ipv6):
116 (PortTest.test_build_path):
117 * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
118 (LayoutTestApacheHttpd):
119 (LayoutTestApacheHttpd.__init__):
121 2012-10-05 Simon Fraser <simon.fraser@apple.com>
123 Attempt to fix the SnowLeopard build to making the implementation of
124 -isPaginated come before its use.
126 * MiniBrowser/mac/WK1BrowserWindowController.m:
127 (-[WK1BrowserWindowController reload:]):
128 (-[WK1BrowserWindowController forceRepaint:]):
129 (-[WK1BrowserWindowController goBack:]):
130 (-[WK1BrowserWindowController goForward:]):
131 (-[WK1BrowserWindowController isPaginated]):
133 2012-10-05 Simon Fraser <simon.fraser@apple.com>
135 Provide a way to run WebKit1
136 https://bugs.webkit.org/show_bug.cgi?id=98568
138 Reviewed by Tim Horton.
140 Make it possible to create both WebKit1 and WebKit2 windows in MiniBrowser.
142 Turn BrowserWindowController into a base class; subclassed by
143 WK1BrowserWindowController and WK2BrowserWindowController, each of
144 which implement the BrowserController protocol.
146 Use Command-N to get a WebKit1 window, and Command-Option-N to
147 get a WK2 window. Also add "Open Location" to focus the URL bar,
148 and code to add an http:// if missing.
150 Hook up window title callbacks; append " [WK1/2]" to window title
153 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
154 * MiniBrowser/mac/AppDelegate.m:
155 (-[BrowserAppDelegate newWindow:]):
156 (-[BrowserAppDelegate openPanelDidEnd:returnCode:contextInfo:]):
157 * MiniBrowser/mac/BrowserWindowController.h:
158 * MiniBrowser/mac/BrowserWindowController.m:
159 (-[BrowserWindowController initWithWindow:]):
160 (-[BrowserWindowController windowDidLoad]):
161 (-[BrowserWindowController openLocation:]):
162 (-[BrowserWindowController loadURLString:]):
163 (-[BrowserWindowController applicationTerminating]):
164 (-[BrowserWindowController addProtocolIfNecessary:]):
165 * MiniBrowser/mac/MainMenu.xib:
166 * MiniBrowser/mac/WK1BrowserWindowController.h: Copied from Tools/MiniBrowser/mac/BrowserWindowController.h.
168 * MiniBrowser/mac/WK1BrowserWindowController.m: Added.
169 (-[WK1BrowserWindowController awakeFromNib]):
170 (-[WK1BrowserWindowController dealloc]):
171 (-[WK1BrowserWindowController loadURLString:]):
172 (-[WK1BrowserWindowController fetch:]):
173 (-[WK1BrowserWindowController showHideWebView:]):
174 (-[WK1BrowserWindowController removeReinsertWebView:]):
175 (-[WK1BrowserWindowController validateMenuItem:]):
176 (-[WK1BrowserWindowController reload:]):
177 (-[WK1BrowserWindowController forceRepaint:]):
178 (-[WK1BrowserWindowController goBack:]):
179 (-[WK1BrowserWindowController goForward:]):
180 (-[WK1BrowserWindowController validateUserInterfaceItem:]):
181 (-[WK1BrowserWindowController validateToolbar]):
182 (-[WK1BrowserWindowController windowShouldClose:]):
183 (-[WK1BrowserWindowController windowWillClose:]):
184 (-[WK1BrowserWindowController applicationTerminating]):
185 (-[WK1BrowserWindowController currentZoomFactor]):
186 (-[WK1BrowserWindowController canZoomIn]):
187 (-[WK1BrowserWindowController zoomIn:]):
188 (-[WK1BrowserWindowController canZoomOut]):
189 (-[WK1BrowserWindowController zoomOut:]):
190 (-[WK1BrowserWindowController canResetZoom]):
191 (-[WK1BrowserWindowController resetZoom:]):
192 (-[WK1BrowserWindowController toggleZoomMode:]):
193 (-[WK1BrowserWindowController isPaginated]):
194 (-[WK1BrowserWindowController togglePaginationMode:]):
195 (-[WK1BrowserWindowController find:]):
196 (-[WK1BrowserWindowController dumpSourceToConsole:]):
197 (-[WK1BrowserWindowController webView:didStartProvisionalLoadForFrame:]):
198 (-[WK1BrowserWindowController webView:didReceiveTitle:forFrame:]):
199 * MiniBrowser/mac/WK2BrowserWindowController.h: Copied from Tools/MiniBrowser/mac/BrowserWindowController.h.
200 * MiniBrowser/mac/WK2BrowserWindowController.m: Copied from Tools/MiniBrowser/mac/BrowserWindowController.m.
201 (-[WK2BrowserWindowController initWithContext:pageGroup:]):
202 (-[WK2BrowserWindowController dealloc]):
203 (-[WK2BrowserWindowController fetch:]):
204 (-[WK2BrowserWindowController showHideWebView:]):
205 (-[WK2BrowserWindowController removeReinsertWebView:]):
206 (-[WK2BrowserWindowController validateMenuItem:]):
207 (-[WK2BrowserWindowController reload:]):
208 (-[WK2BrowserWindowController forceRepaint:]):
209 (-[WK2BrowserWindowController goBack:]):
210 (-[WK2BrowserWindowController goForward:]):
211 (-[WK2BrowserWindowController validateUserInterfaceItem:]):
212 (-[WK2BrowserWindowController validateToolbar]):
213 (-[WK2BrowserWindowController windowShouldClose:]):
214 (-[WK2BrowserWindowController windowWillClose:]):
215 (-[WK2BrowserWindowController applicationTerminating]):
216 (-[WK2BrowserWindowController currentZoomFactor]):
217 (-[WK2BrowserWindowController setCurrentZoomFactor:]):
218 (-[WK2BrowserWindowController canZoomIn]):
219 (-[WK2BrowserWindowController zoomIn:]):
220 (-[WK2BrowserWindowController canZoomOut]):
221 (-[WK2BrowserWindowController zoomOut:]):
222 (-[WK2BrowserWindowController canResetZoom]):
223 (-[WK2BrowserWindowController resetZoom:]):
224 (-[WK2BrowserWindowController toggleZoomMode:]):
225 (-[WK2BrowserWindowController isPaginated]):
226 (-[WK2BrowserWindowController togglePaginationMode:]):
227 (-[WK2BrowserWindowController dumpSourceToConsole:]):
228 (didStartProvisionalLoadForFrame):
229 (didReceiveServerRedirectForProvisionalLoadForFrame):
230 (didFailProvisionalLoadWithErrorForFrame):
231 (didCommitLoadForFrame):
232 (didFinishDocumentLoadForFrame):
233 (didFinishLoadForFrame):
234 (didFailLoadWithErrorForFrame):
235 (didSameDocumentNavigationForFrame):
236 (didReceiveTitleForFrame):
237 (didFirstLayoutForFrame):
238 (didFirstVisuallyNonEmptyLayoutForFrame):
239 (didRemoveFrameFromHierarchy):
240 (didDisplayInsecureContentForFrame):
241 (didRunInsecureContentForFrame):
242 (didDetectXSSForFrame):
246 (didBecomeUnresponsive):
247 (didBecomeResponsive):
249 (didChangeBackForwardList):
250 (decidePolicyForNavigationAction):
251 (decidePolicyForNewWindowAction):
252 (decidePolicyForResponse):
256 (runJavaScriptAlert):
257 (runJavaScriptConfirm):
258 (runJavaScriptPrompt):
260 (mouseDidMoveOverElement):
263 (runBeforeUnloadConfirmPanel):
265 (-[WK2BrowserWindowController awakeFromNib]):
266 (-[WK2BrowserWindowController didStartProgress]):
267 (-[WK2BrowserWindowController didChangeProgress:]):
268 (-[WK2BrowserWindowController didFinishProgress]):
269 (-[WK2BrowserWindowController updateProvisionalURLForFrame:]):
270 (-[WK2BrowserWindowController didStartProvisionalLoadForFrame:]):
271 (-[WK2BrowserWindowController didReceiveServerRedirectForProvisionalLoadForFrame:]):
272 (-[WK2BrowserWindowController didFailProvisionalLoadWithErrorForFrame:]):
273 (-[WK2BrowserWindowController didFailLoadWithErrorForFrame:]):
274 (-[WK2BrowserWindowController didSameDocumentNavigationForFrame:]):
275 (-[WK2BrowserWindowController didCommitLoadForFrame:]):
276 (-[WK2BrowserWindowController loadURLString:]):
277 (-[WK2BrowserWindowController performFindPanelAction:]):
278 (-[WK2BrowserWindowController find:]):
280 2012-10-05 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
282 [WK2][WTR] WebKitTestRunner needs testRunner.setSerializeHTTPLoads
283 https://bugs.webkit.org/show_bug.cgi?id=98524
285 Reviewed by Alexey Proskuryakov.
287 Add implementation for testRunner.setSerializeHTTPLoads in
290 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
291 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
292 (WTR::InjectedBundle::beginTesting):
293 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
294 (WTR::TestRunner::setSerializeHTTPLoads):
296 * WebKitTestRunner/InjectedBundle/TestRunner.h:
299 2012-10-05 Richard Larocque <rlarocque@chromium.org>
301 TestResultsServer does not display sync_integration_tests results
302 https://bugs.webkit.org/show_bug.cgi?id=98551
304 Reviewed by Ojan Vafai.
306 Allow builders whose name contains "Sync" to pass through the
307 isChromiumWebkitDepsTestRunner filter.
309 The test expectations in flakiness_dashboard_unittests.js have been
310 updated to match the new behaviour.
312 * TestResultServer/static-dashboards/builders.js:
313 (isChromiumDepsGTestRunner):
315 2012-10-05 Roger Fong <roger_fong@apple.com>
317 Tests in webkitpy involving child processes are flaky.
318 Skipping run_webkit_tests_integrationtest.py.
319 https://bugs.webkit.org/show_bug.cgi?id=98559
321 Reviewed by Dirk Pranke.
323 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
324 (MainTest.test_verbose_in_child_processes):
326 2012-10-05 Zan Dobersek <zandobersek@gmail.com>
328 [Gtk] fast/xsl/xslt-missing-namespace-in-xslt.xml is failing on the 64-bit Debug builder
329 https://bugs.webkit.org/show_bug.cgi?id=91009
331 Reviewed by Martin Robinson.
333 Include libxml2 into the jhbuild module. Version 2.8.0 introduces
334 a more correct (but not completely correct) behavior in the
335 fast/xsl/xslt-missing-namespace-in-xslt.html test.
337 * gtk/jhbuild.modules:
339 2012-10-05 Rob Buis <rbuis@rim.com>
341 [BlackBerry] Implement TestRunner.setMockDeviceOrientation
342 https://bugs.webkit.org/show_bug.cgi?id=98542
344 Reviewed by Antonio Gomes.
348 This fixes tests in fast/dom/DeviceOrientation.
350 * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
351 (TestRunner::setMockDeviceOrientation):
353 2012-10-05 Christophe Dumez <christophe.dumez@intel.com>
355 [WK2][WKTR] Implement UIClient focus callbacks in WebKitTestRunner
356 https://bugs.webkit.org/show_bug.cgi?id=98256
358 Reviewed by Kenneth Rohde Christiansen.
360 Implement UIClient's focus callbacks for the main page in
363 * WebKitTestRunner/TestController.cpp:
365 (WTR::TestController::initialize):
367 2012-10-05 Mark Hahnenberg <mhahnenberg@apple.com>
369 JSC should have a way to gather and log Heap memory use and pause times
370 https://bugs.webkit.org/show_bug.cgi?id=98431
372 Reviewed by Geoffrey Garen.
374 * DumpRenderTree/mac/DumpRenderTree.mm:
375 (main): Added a check as to whether we should dump our JSC Heap statistics on exit.
377 2012-10-05 Christophe Dumez <christophe.dumez@intel.com>
379 [EFL][WK2] Fix mktemp() compilation warning in Minibrowser
380 https://bugs.webkit.org/show_bug.cgi?id=98493
382 Reviewed by Kenneth Rohde Christiansen.
384 Fix wrong mktemp usage causing a compilation warning
387 * MiniBrowser/efl/main.c:
388 (on_download_request):
390 2012-10-05 Christophe Dumez <christophe.dumez@intel.com>
392 [WK2][WKTR] Avoid duplication of UIClient callbacks for main page and other pages
393 https://bugs.webkit.org/show_bug.cgi?id=98503
395 Reviewed by Kenneth Rohde Christiansen.
397 Avoid the need for duplicating UIClient callbacks for main page
398 and other pages by passing the view as clientInfo
401 Previously, callbacks for the main page were passed the
402 TestController as clientInfo while the callbacks for other pages
403 were passed the PlatformWebView as clientInfo. This was error prone
404 and leads to useless code duplication.
406 * WebKitTestRunner/TestController.cpp:
407 (WTR::getWindowFrame):
408 (WTR::setWindowFrame):
409 (WTR::runBeforeUnloadConfirmPanel):
410 (WTR::TestController::createOtherPage):
411 (WTR::TestController::initialize):
412 (WTR::TestController::decidePolicyForNotificationPermissionRequest):
414 2012-10-05 Sadrul Habib Chowdhury <sadrul@chromium.org>
416 [chromium] Allow dragging into plugins.
417 https://bugs.webkit.org/show_bug.cgi?id=98277
419 Reviewed by Tony Chang.
421 Update the TestWebPlugin to receive drag events and print them out.
423 * DumpRenderTree/chromium/TestWebPlugin.cpp:
424 (TestWebPlugin::handleDragStatusUpdate):
425 * DumpRenderTree/chromium/TestWebPlugin.h:
428 2012-10-05 Jongseok Yang <js45.yang@samsung.com>
430 [EFL][WK2] Remove "web" word from ewk_web_error APIs
431 https://bugs.webkit.org/show_bug.cgi?id=97886
433 Reviewed by Gyuyoung Kim.
435 Remove "web" word from ewk_web_error APIs.
436 "web" word was redundant because "ewk" means "EFL WebKit" and WK APIs for error does not have "web" word.
438 * MiniBrowser/efl/main.c:
441 2012-10-05 Csaba Osztrogonác <ossy@webkit.org>
443 [Qt] Enable CSS compositing by default
444 https://bugs.webkit.org/show_bug.cgi?id=98490
446 Reviewed by Simon Hausmann.
448 * qmake/mkspecs/features/features.pri:
450 2012-10-05 Sheriff Bot <webkit.review.bot@gmail.com>
452 Unreviewed, rolling out r130466.
453 http://trac.webkit.org/changeset/130466
454 https://bugs.webkit.org/show_bug.cgi?id=98495
456 It made 12 tests crash on Qt-WK2 (Requested by Ossy on
459 * WebKitTestRunner/TestController.cpp:
461 (WTR::TestController::initialize):
463 2012-10-05 Christophe Dumez <christophe.dumez@intel.com>
465 [EFL] Fix window resizing / moving in WK1 and WKTR
466 https://bugs.webkit.org/show_bug.cgi?id=98486
468 Reviewed by Gyuyoung Kim.
470 Fix PlatformWebView::windowFrame() and
471 PlatformWebView::setWindowFrame() in EFL's WKTR so
472 that it resizes / moves the window, not the view.
474 The new code matches the implementation in EwkView's
477 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
478 (WTR::PlatformWebView::windowFrame):
479 (WTR::PlatformWebView::setWindowFrame):
481 2012-10-04 KyungTae Kim <ktf.kim@samsung.com>
483 [EFL][WK2] Fix destination path when download with suggested filename on the Minibrowser
484 https://bugs.webkit.org/show_bug.cgi?id=98334
486 Reviewed by Gyuyoung Kim.
488 Add callback functions for download requests to Minibrowser to set the destination path for download.
489 Set the destination path with suggested file name as (destination folder) + (suggested file name).
490 The 'destination folder' should be a specific folder user selected, but is set to '/tmp' for now.
492 Additionally, for printing out the download status,
493 use the info macro and set the verbose variable to 1 to enable it.
495 * MiniBrowser/efl/main.c:
496 (on_download_request):
497 (on_download_finished):
498 (on_download_failed):
501 2012-10-04 Christophe Dumez <christophe.dumez@intel.com>
503 [WK2][WKTR] Implement UIClient focus callbacks in WebKitTestRunner
504 https://bugs.webkit.org/show_bug.cgi?id=98256
506 Reviewed by Kenneth Rohde Christiansen.
508 Implement UIClient's focus callbacks in WebKitTestRunner.
510 * WebKitTestRunner/TestController.cpp:
512 (WTR::TestController::initialize):
514 2012-10-04 Rik Cabanier <cabanier@adobe.com>
516 Turn Compositing on by default in WebKit build
517 https://bugs.webkit.org/show_bug.cgi?id=98315
519 Reviewed by Simon Fraser.
521 enable -webkit-blend-mode on trunk.
523 * Scripts/webkitperl/FeatureList.pm:
525 2012-10-04 Ryuan Choi <ryuan.choi@samsung.com>
527 [EFL][WK2] Add APIs to get/set the frame flattening.
528 https://bugs.webkit.org/show_bug.cgi?id=95982
530 Reviewed by Gyuyoung Kim.
532 * MiniBrowser/efl/main.c: Added frame flattening option to test.
536 2012-10-04 Christophe Dumez <christophe.dumez@intel.com>
538 [EFL] Add libxml 2.8.0 to jhbuild
539 https://bugs.webkit.org/show_bug.cgi?id=98418
541 Reviewed by Laszlo Gombos.
543 Add libxml 2.8.0 to EFL's jhbuild for consistency.
545 * efl/jhbuild.modules:
547 2012-10-03 Benjamin Poulain <bpoulain@apple.com>
549 [WK2] Support all attributes of GeolocationPosition
550 https://bugs.webkit.org/show_bug.cgi?id=98212
552 Reviewed by Sam Weinig.
554 Expand WebKitTestRunner and DumpRenderTree to test all the attributes
555 of GeolocationPosition.
557 * DumpRenderTree/TestRunner.cpp:
558 (setMockGeolocationPositionCallback):
559 * DumpRenderTree/TestRunner.h:
561 * DumpRenderTree/efl/TestRunnerEfl.cpp:
562 (TestRunner::setMockGeolocationPosition):
563 * DumpRenderTree/gtk/TestRunnerGtk.cpp:
564 (TestRunner::setMockGeolocationPosition):
565 * DumpRenderTree/mac/TestRunnerMac.mm:
566 (TestRunner::setMockGeolocationPosition):
567 * DumpRenderTree/win/TestRunnerWin.cpp:
568 (TestRunner::setMockGeolocationPosition):
569 * DumpRenderTree/wx/TestRunnerWx.cpp:
570 (TestRunner::setMockGeolocationPosition):
571 * WebKitTestRunner/GeolocationProviderMock.cpp:
572 (WTR::GeolocationProviderMock::setPosition):
573 * WebKitTestRunner/GeolocationProviderMock.h:
574 (GeolocationProviderMock):
575 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
576 (_platformTypeVariableDeclaration):
577 Use a proper constructor for the JSValueRef, it is an opaque type, we are not supposed
578 to build the pointer outself.
579 This is necessary to support optional JSValueRef properly.
581 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
582 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
583 (WTR::InjectedBundle::setMockGeolocationPosition):
584 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
586 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
587 (WTR::TestRunner::setMockGeolocationPosition):
588 * WebKitTestRunner/InjectedBundle/TestRunner.h:
590 * WebKitTestRunner/TestController.cpp:
591 (WTR::TestController::setMockGeolocationPosition):
592 * WebKitTestRunner/TestController.h:
594 * WebKitTestRunner/TestInvocation.cpp:
595 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
597 2012-10-04 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
599 Make the Xvfb driver recognize `X' as a valid X server binary.
600 https://bugs.webkit.org/show_bug.cgi?id=98434
602 Reviewed by Dirk Pranke.
604 The X server binary can also be called `X', so account for that
605 possibility in the _next_free_display regexp.
607 Additionally, make the regular expression require at least one
608 space character after the `ps comm' part.
610 * Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
611 (XvfbDriver._next_free_display):
612 * Scripts/webkitpy/layout_tests/port/xvfbdriver_unittest.py:
613 (XvfbDriverTest.test_next_free_display):
615 2012-10-04 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
617 webkitpy: Accept WEBKITOUTPUTDIR in Port._setup_environ_for_server.
618 https://bugs.webkit.org/show_bug.cgi?id=98436
620 Reviewed by Dirk Pranke.
622 The Xvfb driver (ab)uses Port._setup_environ_for_server() to set
623 the environment for the server process, and the WEBKITOUTPUTDIR
624 environment variable was not being passed through, causing the
625 build directory to be wrongfully set to WebKitBuild/ all the time.
627 * Scripts/webkitpy/layout_tests/port/base.py:
628 (Port.to.setup_environ_for_server):
630 2012-10-04 Christophe Dumez <christophe.dumez@intel.com>
632 [EFL][WK2] Add setting to allow file access from file:// URLs
633 https://bugs.webkit.org/show_bug.cgi?id=98121
635 Reviewed by Laszlo Gombos.
637 Allow file access from file:// URLs by default in Minibrowser
638 to facilitate testing.
640 * MiniBrowser/efl/main.c:
643 2012-10-04 Christophe Dumez <christophe.dumez@intel.com>
645 [EFL] Run unit tests with Xvfb
646 https://bugs.webkit.org/show_bug.cgi?id=98389
648 Reviewed by Laszlo Gombos.
650 Run EFL unit tests with Xvfb, similarly to GTK port.
652 * Scripts/run-efl-tests:
654 2012-10-04 Adrian Perez de Castro <aperez@igalia.com>
656 [GTK] Enable inspector by default in GtkLauncher/MiniBrowser
657 https://bugs.webkit.org/show_bug.cgi?id=98333
659 Reviewed by Xan Lopez.
661 Both MiniBrowser and GtkLauncher are tools for testing, so in
662 the end every time we want to test the inspector we have to
663 manually enable enable the “developer extras” setting when using
664 them. It make sense to have this setting enabled by default.
666 * GtkLauncher/main.c:
668 * MiniBrowser/gtk/main.c:
671 2012-10-04 Harald Alvestrand <hta@google.com>
673 Change RTCPeerConnection GetStats to use Date timestamp format
674 https://bugs.webkit.org/show_bug.cgi?id=98263
676 Reviewed by Yury Semikhatsky.
678 * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
679 (MockWebRTCPeerConnectionHandler::getStats):
681 2012-10-04 Dirk Pranke <dpranke@chromium.org>
683 [NRWT] --skipped option is ignored when --test-list is used
684 https://bugs.webkit.org/show_bug.cgi?id=98260
686 Reviewed by Ojan Vafai.
688 Adds a --skipped=always flag that will skip any tests listed in
689 TestExpectations even if they're listed explicitly on the
692 This is most useful if you are using --test-list to specify a
693 long list of files but you still want to skip some of them
694 depending on what's in TestExpectations.
696 * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
697 (LayoutTestFinder.skip_tests):
698 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
700 * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
701 (MainTest.test_skipped_flag):
703 2012-10-04 Sheriff Bot <webkit.review.bot@gmail.com>
705 Unreviewed, rolling out r130377.
706 http://trac.webkit.org/changeset/130377
707 https://bugs.webkit.org/show_bug.cgi?id=98392
709 Chromium Win compilation is broken (Requested by yurys on
712 * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
713 (MockWebRTCPeerConnectionHandler::getStats):
715 2012-10-04 Harald Alvestrand <hta@google.com>
717 Change RTCPeerConnection GetStats to use Date timestamp format
718 https://bugs.webkit.org/show_bug.cgi?id=98263
720 Reviewed by Adam Barth.
722 * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
723 (MockWebRTCPeerConnectionHandler::getStats):
725 2012-10-04 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
727 Unreviewed, remove unused $legacyWebKitBlobBuilderSupport variable after r130343.
729 * Scripts/webkitperl/FeatureList.pm:
731 2012-10-03 Philip Rogers <pdr@google.com>
733 Force GC between PageLoad tests.
734 https://bugs.webkit.org/show_bug.cgi?id=98203
736 Reviewed by Ryosuke Niwa.
738 Previously, our PageLoad PerfTests had multi-modal distributions,
739 typically with a small cluster at 1-2x the median. This turned out
740 to be caused by not garbage collecting between tests!
742 This patch adds a new file, force-gc.html, and loads this file between
743 PageLoad tests to force a GC. I manually verified that this cleans up
744 our perf test outliers.
746 * Scripts/webkitpy/performance_tests/perftest.py:
747 (PageLoadingPerfTest.__init__):
748 (PageLoadingPerfTest):
749 (PageLoadingPerfTest.run_single):
751 This function now loads two pages: one to force a gc and
752 then the test to run.
754 * Scripts/webkitpy/performance_tests/perftest_unittest.py:
756 Modified several existing tests to show that the force-gc file
761 (MockPort.perf_tests_dir):
762 (TestPageLoadingPerfTest.MockDriver.__init__):
763 (TestPageLoadingPerfTest.MockDriver.run_test):
764 (TestPageLoadingPerfTest.test_run):
765 (TestPageLoadingPerfTest.test_run_with_bad_output):
766 (TestReplayPerfTest.ReplayTestPort):
767 (TestReplayPerfTest.ReplayTestPort.__init__):
768 (TestReplayPerfTest.test_run_single.run_test):
769 (TestReplayPerfTest.test_run_single):
770 (TestReplayPerfTest.test_run_single_fails_when_output_has_error):
771 (TestPerfTestFactory.test_regular_test):
772 (TestPerfTestFactory.test_inspector_test):
773 (TestPerfTestFactory.test_page_loading_test):
775 2012-10-03 Christophe Dumez <christophe.dumez@intel.com>
777 [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
778 https://bugs.webkit.org/show_bug.cgi?id=98231
780 Reviewed by Gyuyoung Kim.
782 Enable use of X11 in DumpRenderTree / WebKitTestRunner.
783 Call ecore_evas_new() instead of ecore_evas_buffer_new()
784 in EFL's DumpRenderTree and WebKitTestRunner.
785 It is safe to do this now that we are using XvfbDriver
786 for the layout tests.
788 * DumpRenderTree/efl/DumpRenderTree.cpp:
789 (parseCommandLineOptions):
791 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
792 (WTR::initEcoreEvas):
793 * WebKitTestRunner/efl/main.cpp:
796 2012-10-03 Dirk Pranke <dpranke@chromium.org>
798 run-webkit-tests tests on win32 after r127302
799 https://bugs.webkit.org/show_bug.cgi?id=98323
801 Reviewed by Eric Seidel.
803 run-webkit-tests tests on win32 after r127302
804 https://bugs.webkit.org/show_bug.cgi?id=98323
806 Reviewed by Eric Seidel.
808 Looks like when we converted the json-building logic to use scm
809 to try and get the svn revision, we missed a win32-ism and
810 didn't check to make sure had initialized the scm subsystem.
812 This change fixes that and renames _initialize_scm to be a public method.
814 * Scripts/webkitpy/common/host.py:
815 (Host.initialize_scm):
816 * Scripts/webkitpy/common/host_mock.py:
818 (MockHost.initialize_scm):
819 * Scripts/webkitpy/layout_tests/controllers/manager.py:
821 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
822 (JSONResultsGeneratorBase.get_json):
823 (JSONResultsGeneratorBase._get_result_char):
824 (JSONResultsGeneratorBase._get_svn_revision):
825 * Scripts/webkitpy/performance_tests/perftestsrunner.py:
826 (PerfTestsRunner.__init__):
827 * Scripts/webkitpy/style/checkers/test_expectations.py:
828 (TestExpectationsChecker.__init__):
829 * Scripts/webkitpy/style/main.py:
830 (CheckWebKitStyle.main):
831 * Scripts/webkitpy/tool/main.py:
832 (WebKitPatch.handle_global_options):
833 * Scripts/webkitpy/tool/servers/rebaselineserver.py:
834 (get_test_baselines):
836 2012-10-03 Adrian Perez de Castro <aperez@igalia.com>
838 [GTK] Make inspector directly useable in GtkLauncher/MiniBrowser
839 https://bugs.webkit.org/show_bug.cgi?id=98310
841 Reviewed by Martin Robinson.
843 Make MiniBrowser/GtkLauncher define the path to the inspector
844 resources by setting the WEBKIT_INSPECTOR_PATH environment
845 variable pointing to the copy of the inspector resources in
846 the build directory. If the environment variable is already
847 defined, its value is not overwritten. The path is derived
848 from the WEBKIT_EXEC_PATH macro defined in the makefiles.
851 * GtkLauncher/main.c:
853 * MiniBrowser/gtk/main.c:
856 2012-10-03 Benjamin Poulain <bpoulain@apple.com>
858 Fix Geolocation/window-close-crash.html and harden WebKitTestRunner for Geolocation
859 https://bugs.webkit.org/show_bug.cgi?id=97608
861 Reviewed by Sam Weinig.
863 The test fast/dom/Geolocation/window-close-crash.html was crashing because
864 handleGeolocationPermissionRequest() was executed on the wrong pointer. Depending on how
865 the page was created, the void* clientInfo can either be a PlatformWebView or
868 Using the global TestController fixes the issue.
870 * WebKitTestRunner/GeolocationProviderMock.cpp:
871 (WTR::GeolocationProviderMock::setPosition):
872 (WTR::GeolocationProviderMock::setPositionUnavailableError):
873 To be reliable, the test fast/dom/Geolocation/maximum-age.html needs the setting the position
874 to clear the error and vice versa.
875 This is the same behavior as GeolocationClientMock and MockGeolocationProvider of WebKit1.
877 (WTR::GeolocationProviderMock::sendPositionIfNeeded):
878 (WTR::GeolocationProviderMock::sendErrorIfNeeded):
879 Some tests expect the position/error cant be sent multiple time,
880 just keep the position after sending.
882 * WebKitTestRunner/TestController.cpp:
883 (WTR::decidePolicyForGeolocationPermissionRequest):
884 (WTR::TestController::decidePolicyForGeolocationPermissionRequestIfPossible):
885 * WebKitTestRunner/TestController.h:
886 Let's play as if we did not know what is in GeolocationPermissionRequestManagerProxy like a real
887 client would have to do.
889 2012-10-03 Otto Derek Cheung <otcheung@rim.com>
891 [BlackBerry] Implementing the NetworkInfo API for BB port
892 https://bugs.webkit.org/show_bug.cgi?id=98273
894 Reviewed by Rob Buis.
896 Enabling NetworkInfo API for the BlackBerry port.
898 * Scripts/webkitperl/FeatureList.pm:
900 2012-10-03 Anders Carlsson <andersca@apple.com>
902 Exception thrown when running accessibility/container-node-delete-causes-crash.html test
903 https://bugs.webkit.org/show_bug.cgi?id=98291
905 Reviewed by Andreas Kling.
907 The accessibility/container-node-delete-causes-crash.html test will cause a full accessibility tree
908 to be created by trying to look up an element with a non-existent ID. This caused an exception to be thrown
909 when trying to access the children of an element that didn't have any children. Fix this by adding
910 BEGIN_AX_OBJC_EXCEPTIONS/END_AX_OBJC_EXCEPTIONS around the call to get the children.
912 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
913 (findAccessibleObjectById):
915 2012-10-03 Ojan Vafai <ojan@chromium.org>
917 Make partytime work when loading garden-o-matic from trac.webkit.org
918 https://bugs.webkit.org/show_bug.cgi?id=98283
920 Reviewed by Adam Barth.
922 CSP was blocking the reqest for partytime.gif because 'self' wasn't on the img-src directive.
923 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
925 2012-10-03 Roger Fong <roger_fong@apple.com>
927 Unreviewed. Adding sys.platform check to skip a failing assert on the Apple Windows platform.
928 https://bugs.webkit.org/show_bug.cgi?id=98288
930 * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
931 (ChromiumAndroidDriverTest.test_command_from_driver_input):
933 2012-10-03 Ojan Vafai <ojan@chromium.org>
935 Get rid of warning about non-existant platform name when loading garden-o-matic
936 https://bugs.webkit.org/show_bug.cgi?id=98282
938 Reviewed by Adam Barth.
940 If you loaded without a platform query parameter we'd return "null" as the platform name
942 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
943 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
945 2012-10-03 Balazs Kelemen <kbalazs@webkit.org>
947 [Qt] Enable mock scrollbars
948 https://bugs.webkit.org/show_bug.cgi?id=98011
950 Reviewed by Csaba Osztrogonác.
952 Enable mock scrollbars for the Qt port. This patch will require a huge rebaseline.
954 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
955 (WebCore::DumpRenderTree::DumpRenderTree):
956 * WebKitTestRunner/TestController.cpp:
957 (WTR::TestController::resetStateToConsistentValues):
959 2012-10-03 Alberto Garcia <agarcia@igalia.com>
961 [GTK] [WK2] Add favicon support to the MiniBrowser
962 https://bugs.webkit.org/show_bug.cgi?id=98063
964 Reviewed by Carlos Garcia Campos.
966 Set the icon in the URI text entry using the favicon property of
969 * MiniBrowser/gtk/BrowserWindow.c:
971 (updateUriEntryIcon):
972 (uriEntryTextChanged):
974 (browserWindowFinalize):
975 (browser_window_init):
976 (browserWindowConstructed):
978 2012-10-03 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
980 [Qt][DRT] Add support for overriding the "WebKitDisplayImagesKey" preference.
981 https://bugs.webkit.org/show_bug.cgi?id=98200
983 Reviewed by Csaba Osztrogonác.
985 * DumpRenderTree/qt/TestRunnerQt.cpp:
986 (TestRunner::overridePreference):
988 2012-10-03 Zoltan Arvai <zarvai@inf.u-szeged.hu>
990 [Qt][WRT] Fix build error with MSVC on Windows.
991 https://bugs.webkit.org/show_bug.cgi?id=97697
993 Reviewed by Simon Hausmann.
995 WTR build is failing when WebKit directory is located on a longer path.
996 This seems to caused by source files that has the same name in
997 WTR and DRT directories. The solution is removing referencies
998 from Target.pri to DRT directory and adding an alternate version of
999 the required files to WTR. Those files simply include the real ones from DRT.
1001 * WebKitTestRunner/InjectedBundle/Target.pri:
1002 * WebKitTestRunner/InjectedBundle/qt/QtInitializeTestFonts.cpp: Added.
1003 * WebKitTestRunner/InjectedBundle/qt/QtInitializeTestFonts.h: Added.
1005 2012-10-03 Christophe Dumez <christophe.dumez@intel.com>
1007 [WK2][WKTR] TestRunner.setAlwaysAcceptCookies() causes flakiness
1008 https://bugs.webkit.org/show_bug.cgi?id=98238
1010 Reviewed by Csaba Osztrogonác.
1012 Reset AlwaysAcceptCookies setting between tests to avoid
1013 flakiness due to TestRunner.setAlwaysAcceptCookies().
1015 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1016 (WTR::InjectedBundle::beginTesting):
1018 2012-10-03 Harald Alvestrand <hta@google.com>
1020 Add data passing to the GetStats interface of RTCPeerConnection
1021 https://bugs.webkit.org/show_bug.cgi?id=98003
1023 Reviewed by Adam Barth.
1025 * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
1026 (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
1027 (MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
1028 (MockWebRTCPeerConnectionHandler::addStream):
1029 (MockWebRTCPeerConnectionHandler::removeStream):
1030 (MockWebRTCPeerConnectionHandler::getStats):
1031 * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
1032 (MockWebRTCPeerConnectionHandler):
1034 == Rolled over to ChangeLog-2012-10-02 ==