1 2013-09-02 Anton Obzhirov <a.obzhirov@samsung.com>
3 <https://webkit.org/b/98350> [GTK] accessibility/aria-invalid.html times out
5 Reviewed by Mario Sanchez Prada.
7 Added few mappings in DumpRenderTree and WebKitTestRunner for aria-invalid in order to get the tests run properly.
9 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
10 (axObjectEventListener):
11 Added mapping for invalid-entry event parameter.
12 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
13 (coreAttributeToAtkAttribute):
14 Added mapping to aria-invalid.
15 (AccessibilityUIElement::stringAttributeValue):
16 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
17 (WTR::coreAttributeToAtkAttribute):
18 Added mapping to aria-invalid.
20 2013-09-02 Nick Diego Yamane <nick.yamane@openbossa.org>
22 Save md5 correctly when jhbuildPath doesn't exist yet
23 https://bugs.webkit.org/show_bug.cgi?id=120548
25 Reviewed by Gustavo Noronha Silva.
27 After r152605, Md5 for jhbuild files are saved before the update
28 process, this prevents the script to restart update from scratch
29 when initial checkouts fail. However it causes an issue when builddir
30 (or builddir/Dependencies) doesn't exist yet. In that case the
31 saveJhbuildMd5 function fails to create md5 files.
32 This patch adds a checking for the jhbuildPath and creates it if
33 necessary before trying to open the md5 files.
35 * Scripts/update-webkit-libs-jhbuild:
38 2013-09-02 Mario Sanchez Prada <mario.prada@samsung.com>
40 Unreviewed. Move myself to the reviewers list.
42 * Scripts/webkitpy/common/config/contributors.json:
44 2013-09-01 Alexey Proskuryakov <ap@apple.com>
46 [WK2][Mac] Drag and drop tests interfere with user's UI
47 https://bugs.webkit.org/show_bug.cgi?id=120538
49 Reviewed by Dan Bernstein.
51 This makes running WebKit2 regression tests locally more viable. The patch doesn't
52 fix drag and drop tests to work as expected, I posted some thought about that in
53 <https://bugs.webkit.org/show_bug.cgi?id=68552>.
55 * WebKitTestRunner/EventSenderProxy.h:
56 (WTR::EventSenderProxy::position):
57 * WebKitTestRunner/TestController.h:
58 (WTR::TestController::eventSenderProxy):
59 Expose a way to get current mouse position from anywhere in WKTR code.
61 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added new files.
63 * WebKitTestRunner/mac/EventSenderProxy.mm: (WTR::EventSenderProxy::mouseUp):
64 Copied a FIXME comment from DumpRenderTree.
66 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
67 (-[TestRunnerWKView dragImage:at:offset:event:pasteboard:source:slideBack:]):
68 Override drag initiation, using a custom NSDraggingInfo implementation.
70 * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformInitialize):
71 Replace NSEvent with a custom class.
73 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h: Added.
74 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm: Added.
75 * WebKitTestRunner/mac/WebKitTestRunnerEvent.h: Added.
76 * WebKitTestRunner/mac/WebKitTestRunnerEvent.mm: Added.
77 Largely a copy of DumpRenderTree classes, modified to not use global variables.
78 We should consider making these variables static in EventSenderProxy though, as
79 it's strange that mouse state in WKTR is reset between tests without WebKit ever
80 being told about that.
82 2013-08-30 Brent Fulgham <bfulgham@apple.com>
84 [Windows] Unreviewed build fix.
86 * win/AssembleBuildLogs/AssembleLogs.cmd: Make sure WebInspectorUI build output is reported
87 from the build machines.
89 2013-08-30 Gabor Abraham <abrhm@inf.u-szeged.hu>
91 [Qt] Remove qt-5.0-wk2 from the baseline search paths because the migration of expectations to qt-wk2 is done.
92 https://bugs.webkit.org/show_bug.cgi?id=120464
94 Reviewed by Jocelyn Turcotte.
96 * Scripts/webkitpy/port/qt.py:
97 (QtPort._search_paths):
98 * Scripts/webkitpy/port/qt_unittest.py:
101 2013-08-29 Filip Pizlo <fpizlo@apple.com>
103 Just linking LLVM into JSC causes all plugin tests to fail
104 https://bugs.webkit.org/show_bug.cgi?id=113915
106 Reviewed by Oliver Hunt.
108 Hide all LLVM symbols. This should prevent us from exporting LLVM's overrides for
109 raise/abort/__assert_rtn.
111 * Scripts/configure-llvm:
113 2013-08-29 Joseph Pecoraro <pecoraro@apple.com>
115 new-run-webkit-tests does not respect --no-sample-on-timeout switch
116 https://bugs.webkit.org/show_bug.cgi?id=120491
118 Reviewed by Darin Adler.
120 * Scripts/webkitpy/port/server_process.py:
121 (ServerProcess._handle_timeout):
123 2013-08-29 Sam Weinig <sam@webkit.org>
125 Add ENABLE guards for Promises
126 https://bugs.webkit.org/show_bug.cgi?id=120488
128 Reviewed by Andreas Kling.
130 * Scripts/webkitperl/FeatureList.pm:
131 * qmake/mkspecs/features/features.pri:
133 2013-08-29 Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk>
135 [GTK] Should enable WebGL by default on MiniBrowser
136 https://bugs.webkit.org/show_bug.cgi?id=120420
138 Reviewed by Gustavo Noronha Silva.
140 Enable WebGL by default on MiniBrowser.
142 * MiniBrowser/gtk/main.c:
145 2013-08-28 Simon Fraser <simon.fraser@apple.com>
147 Add a Command-R shortcut in MiniBrowser
148 https://bugs.webkit.org/show_bug.cgi?id=120442
150 Reviewed by Dean Jackson.
152 Add a "Reload Page" item to the View menu with a Command-R
155 * MiniBrowser/mac/MainMenu.xib:
157 2013-08-29 Alberto Garcia <berto@igalia.com>
159 [GTK] Update apt dependency list
160 https://bugs.webkit.org/show_bug.cgi?id=120399
162 Reviewed by Philippe Normand.
164 Remove bogus package gail-3.0, add xfonts-utils (needed by
165 xorg-xserver) and switch to the latest versions of libtiff and
168 * gtk/install-dependencies:
170 2013-08-28 Alexey Proskuryakov <ap@apple.com>
172 [WK2][Mac] WebKitTestRunner doesn't force system appearance
173 https://bugs.webkit.org/show_bug.cgi?id=120437
175 Reviewed by Darin Adler.
177 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
178 (WTR::InjectedBundle::platformInitialize): Set AppleAquaColorVariant,
179 AppleHighlightColor and AppleOtherHighlightColor to the same values that DRT uses.
182 2013-08-16 Ryosuke Niwa <rniwa@webkit.org>
184 <https://webkit.org/b/119806> [Mac] Add a way to easily test attributed string generation
186 Reviewed by Darin Adler.
188 Add textInputController.legacyAttributedString to retrieve the attributed string for copy & paste.
190 We can't use textInputController.attributedSubstringFromRange as it uses WebHTMLConverter's static
191 editingAttributedStringFromRange function, which doesn't implement the full converter at the moment.
193 Also NSMutableAttributedString.ranges and WebNSRange so that JavaScript can get a list of all
194 ranges in a given attributed string.
196 * DumpRenderTree/mac/TextInputController.m:
197 (-[WebNSRange initWithNSRange:]):
198 (-[WebNSRange location]):
199 (-[WebNSRange length]):
200 (+[WebNSRange isSelectorExcludedFromWebScript:]):
201 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
202 (+[NSMutableAttributedString webScriptNameForSelector:]):
203 (-[NSMutableAttributedString ranges]): Added.
204 (+[TextInputController isSelectorExcludedFromWebScript:]):
205 (+[TextInputController webScriptNameForSelector:]):
206 (-[TextInputController legacyAttributedString:]):
208 2013-08-28 Denis Nomiyama <d.nomiyama@samsung.com>
210 [GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected results
211 https://bugs.webkit.org/show_bug.cgi?id=120419
213 Reviewed by Chris Fleizach.
215 Added a notification for AXFocusedUIElementChanged.
217 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
218 (axObjectEventListener): Added a notification for AXFocusedUIElementChanged.
220 2013-08-28 Roger Fong <roger_fong@apple.com>
222 Decrease number of workers used in NRWT by the Windows port.
223 https://bugs.webkit.org/show_bug.cgi?id=120435.
225 Reviewed by Brent Fulgham.
227 * Scripts/webkitpy/port/win.py:
228 (WinPort.default_child_processes):
230 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
232 Http tests fails on Debian with Apache 2.4
233 https://bugs.webkit.org/show_bug.cgi?id=120352
237 Remember to update unit-test expectations and old-run-webkit-tests as well.
239 * Scripts/webkitperl/httpd.pm:
240 (getHTTPDConfigPathForTestDirectory):
241 * Scripts/webkitpy/port/port_testcase.py:
242 (test_apache_config_file_name_for_platform):
244 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
246 Http tests fails on Debian with Apache 2.4
247 https://bugs.webkit.org/show_bug.cgi?id=120352
249 Reviewed by Andreas Kling.
251 Select httpd.conf file for debian based on version, matching Fedora behavior.
253 * Scripts/webkitpy/port/base.py:
254 (Port._apache_config_file_name_for_platform):
256 2013-08-28 Commit Queue <commit-queue@webkit.org>
258 Unreviewed, rolling out r154593.
259 http://trac.webkit.org/changeset/154593
260 https://bugs.webkit.org/show_bug.cgi?id=120403
262 Caused 50+ flaky tests on WebKit1 bots (Requested by carewolf
265 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
268 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
270 [Qt][Wk2] Many tests are flaky on Qt 5.1
271 https://bugs.webkit.org/show_bug.cgi?id=118232
273 Reviewed by Jocelyn Turcotte.
275 We need to set renderToOffscreenBuffer since we won't otherwise get
276 the paint calls necessary to synchronize UI- and Web-Process. It was
277 only disabled in Qt 5.0 because it conflicted with setRenderWithoutShowing
278 which is no longer supported or needed.
280 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
281 (WTR::WrapperWindow::handleStatusChanged):
283 2013-08-27 Alexey Proskuryakov <ap@apple.com>
285 [WK2] Remove USE_WEBPROCESS_EVENT_SIMULATION
286 https://bugs.webkit.org/show_bug.cgi?id=120379
288 Reviewed by Darin Adler.
290 All major platforms have implemented UI process eventSender support, keeping old
291 web process side code only adds confusion.
293 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
294 (WTR::EventSendingController::EventSendingController):
295 (WTR::EventSendingController::mouseDown):
296 (WTR::EventSendingController::mouseUp):
297 (WTR::EventSendingController::mouseMoveTo):
298 (WTR::EventSendingController::leapForward):
299 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
300 * WebKitTestRunner/TestController.cpp:
301 (WTR::TestController::resetStateToConsistentValues):
302 (WTR::TestController::didReceiveMessageFromInjectedBundle):
303 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
304 * WebKitTestRunner/TestController.h:
306 2013-08-27 Roger Fong <roger_fong@apple.com>
308 NRWT on AppleWin port should delete semaphore lock files during cleanup tasks.
309 https://bugs.webkit.org/show_bug.cgi?id=120370.
311 Reviewed by Brent Fulgham.
313 * Scripts/webkitpy/port/win.py:
314 (WinPort.delete_sem_locks):
315 (WinPort.setup_test_run):
317 2013-08-27 Denis Nomiyama <d.nomiyama@samsung.com>
319 [GTK] Missing DRT AccessibilityUIElement::addNotificationListener implementation
320 https://bugs.webkit.org/show_bug.cgi?id=119883
322 Implemented the notification listener for AccessibilityUIElement. The signal is generated
323 by AXObjectCache::postPlatformNotification() and received by axObjectEventListener().
324 axObjectEventListener will then invoke JSObjectCallAsFunction() with the respective
325 callback function. The global callback function and callbacks for specific elements are
326 stored in a HashMap in AccessibilityCallbacksAtk.cpp.
328 Reviewed by Chris Fleizach.
330 * DumpRenderTree/AccessibilityUIElement.h: Added a notification handler for GTK+
331 * DumpRenderTree/atk/AccessibilityCallbacks.h: Added addAccessibilityNotificationListener()
332 and removeAccessibilityNotificationListener()
333 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
334 (axObjectEventListener): Call JS callback for global notification or for a specific element
335 (disconnectAccessibilityCallbacks): Only disconnect if logging is off and there is no
337 (addAccessibilityNotificationHandler): Add notification listener to the list
338 (removeAccessibilityNotificationHandler): Remove notification listener from the list
339 * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
340 (AccessibilityController::setLogAccessibilityEvents): Set logging off before disconnecting
341 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Added.
342 (AccessibilityNotificationHandler::AccessibilityNotificationHandler): Create handler
343 (AccessibilityNotificationHandler::~AccessibilityNotificationHandler): Destroy handler.
344 Remove handler from the list and disconnect callbacks
345 (AccessibilityNotificationHandler::setNotificationFunctionCallback): Set the notification
346 callback and connect callbacks to signals
347 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Added.
348 (AccessibilityNotificationHandler::setPlatformElement): Set platform element
349 (AccessibilityNotificationHandler::platformElement): Get platform element
350 (AccessibilityNotificationHandler::notificationFunctionCallback): Get notification callback
351 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
352 (AccessibilityUIElement::addNotificationListener): Create notification handler, set the
353 platform element and the notification callback
354 (AccessibilityUIElement::removeNotificationListener):
355 * DumpRenderTree/efl/CMakeLists.txt: Added AccessibilityNotificationHandlerAtk.cpp/h
356 * GNUmakefile.am: Added AccessibilityNotificationHandlerAtk.cpp/h
358 2013-08-27 Carlos Garcia Campos <cgarcia@igalia.com>
360 Unreviewed. Fix GTK+ build after r154601.
362 * TestWebKitAPI/GNUmakefile.am: Remove mac specific file from
363 compilation added by mistake in r154601.
365 2013-08-26 Alexey Proskuryakov <ap@apple.com>
367 WebKitTestRunner needs to protect the user's pasteboard contents while running
368 https://bugs.webkit.org/show_bug.cgi?id=81419
369 <rdar://problem/11066794>
371 Reviewed by Darin Adler.
373 Mostly a copy/paste of DRT code.
375 Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
376 doesn't interfere with my clipboard while being run in a loop.
378 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
379 * WebKitTestRunner/mac/PoseAsClass.h: Added.
380 * WebKitTestRunner/mac/PoseAsClass.mm: Added.
381 * WebKitTestRunner/mac/TestControllerMac.mm:
382 (WTR::TestController::platformInitialize):
383 (WTR::TestController::platformDestroy):
384 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
385 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
387 2013-08-26 Commit Queue <commit-queue@webkit.org>
389 Unreviewed, rolling out r154640.
390 http://trac.webkit.org/changeset/154640
391 https://bugs.webkit.org/show_bug.cgi?id=120329
393 Caused flaky crashes on a lot of editing tests (Requested by
396 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
397 * WebKitTestRunner/mac/PoseAsClass.h: Removed.
398 * WebKitTestRunner/mac/PoseAsClass.mm: Removed.
399 * WebKitTestRunner/mac/TestControllerMac.mm:
400 (WTR::TestController::platformInitialize):
401 (WTR::TestController::platformDestroy):
402 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Removed.
403 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Removed.
405 2013-08-26 Dan Bernstein <mitz@apple.com>
407 Automatic bug reports case pain
408 https://bugs.webkit.org/show_bug.cgi?id=120330
410 Reviewed by Anders Carlsson.
412 * Scripts/webkitpy/tool/commands/download.py: Made the following changes to the Description
413 of bugs filed by the bot: changed “the sheriff-bot” to “webkitbot”, changed “case pain” to
414 “fail”, and removed “"Only you can prevent forest fires." -- Smokey the Bear”.
416 2013-08-23 Andy Estes <aestes@apple.com>
418 Fix issues found by the Clang Static Analyzer
419 https://bugs.webkit.org/show_bug.cgi?id=120230
421 Reviewed by Darin Adler.
423 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
424 (-[LocalPasteboard initWithName:]): Called [super init] first so that we
425 don't later use ivars from the wrong self.
426 * DumpRenderTree/mac/TestRunnerMac.mm:
427 (-[APITestDelegate initWithCompletionCondition:]): Ditto.
428 * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
429 (TestWebKitAPI::TEST): Don't leak WKProcessGroups,
430 WKBrowsingContextGroups, and WKViews.
432 2013-08-26 Alexey Proskuryakov <ap@apple.com>
434 WebKitTestRunner needs to protect the user's pasteboard contents while running
435 https://bugs.webkit.org/show_bug.cgi?id=81419
436 <rdar://problem/11066794>
438 Reviewed by Darin Adler.
440 Mostly a copy/paste of DRT code.
442 Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
443 doesn't interfere with my clipboard while being run in a loop.
445 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
446 * WebKitTestRunner/mac/PoseAsClass.h: Added.
447 * WebKitTestRunner/mac/PoseAsClass.mm: Added.
448 * WebKitTestRunner/mac/TestControllerMac.mm:
449 (WTR::TestController::platformInitialize):
450 (WTR::TestController::platformDestroy):
451 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
452 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
454 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
456 [GTK] Include most of the WebKit2 unit tests into the build and testing
457 https://bugs.webkit.org/show_bug.cgi?id=120307
459 Reviewed by Philippe Normand.
461 There are still various unit test source files that are not being included into
462 the build. This patch includes most of these, only leaving out tests that do not
463 compile or test features that are not supported by the GTK port.
465 * Scripts/run-gtk-tests: Skip four newly-added tests that are failing or timing out.
467 * TestWebKitAPI/GNUmakefile.am:
469 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
471 [GTK] Allow to run tests without Xvfb in run-gtk-tests
472 https://bugs.webkit.org/show_bug.cgi?id=120298
474 Reviewed by Philippe Normand.
476 Add --no-xvfb command line option to run tests in the current
479 * Scripts/run-gtk-tests:
480 (TestRunner._run_xvfb): Return early if option --no-xvfb has been
482 (TestRunner._setup_testing_environment): Use helper function
483 _run_xvfb to start Xvfb if needed.
484 (TestRunner._tear_down_testing_environment): Check Xvfb is
485 actually running before trying to terminate it.
487 2013-08-26 Zoltan Arvai <zarvai@inf.u-szeged.hu>
489 Adding Gabor Abraham to contributors.json.
491 Reviewed by Csaba Osztrogonác.
493 * Scripts/webkitpy/common/config/contributors.json:
495 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
497 [GTK] Add support for passing test directories to run-gtk-tests
498 https://bugs.webkit.org/show_bug.cgi?id=120296
500 Reviewed by Philippe Normand.
502 * Scripts/run-gtk-tests:
503 (TestRunner._get_tests_from_dir): Helper function to return all
504 unit tests found in a given directory.
505 (TestRunner._get_tests): Check the given tests passed in the
506 command line, so that if a directory is found the tests contained
507 in the directory are added to the list of tests to run.
509 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
511 [GTK] Improve the stop/reload button implementation in MiniBrowser
512 https://bugs.webkit.org/show_bug.cgi?id=120292
514 Reviewed by Philippe Normand.
516 - Use an instance member of BrowserWindow for the button widget
517 instead of a global variable.
518 - Use notify::is-loading to monitor the WebView load instead of
519 the estimated-load-progress property.
520 - Use webkit_web_view_is_loading() to check whether the view
521 is loading to change the button icon instead of a string
522 comparison of the gtk stock icon id.
523 - Use the right casts to fix compile warning.
525 * MiniBrowser/gtk/BrowserWindow.c:
526 (reloadOrStopCallback):
527 (webViewLoadProgressChanged):
528 (webViewIsLoadingChanged):
529 (browser_window_init):
530 (browserWindowConstructed):
532 2013-08-26 Arunprasad Rajkumar <arurajku@cisco.com>
534 [Qt] Remove the fix in QWebPage::javaScriptConsoleMessage introduced by (r61433)
535 https://bugs.webkit.org/show_bug.cgi?id=119791
537 Reviewed by Jocelyn Turcotte.
539 Load empty url to send onunload event to currently running page. onunload event is
540 mandatory for LayoutTests/plugins/open-and-close-window-with-plugin.html and
541 LayoutTests/plugins/geturlnotify-during-document-teardown.html.
543 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
546 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
548 [GTK] Silence MiniBrowser compile warnings due to recent GTK+ deprecations
549 https://bugs.webkit.org/show_bug.cgi?id=120290
551 Reviewed by Philippe Normand.
553 * MiniBrowser/gtk/GNUmakefile.am: Add
554 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6 compile option.
556 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
558 [GTK] Add WillLoad test files to the TestWebKitAPI/TestWebKit2 program
559 https://bugs.webkit.org/show_bug.cgi?id=120288
561 Reviewed by Carlos Garcia Campos.
563 * TestWebKitAPI/GNUmakefile.am: Add the WillLoad.cpp build target that should be compiled
564 into the TestWebKit2 program. The InjectedBundle counterpart file is added to the build as well.
565 These unit tests are at the moment failing in debug configurations, so it would be nice to
566 have the GTK builds report these failures as well.
568 2013-08-25 Ryuan Choi <ryuan.choi@samsung.com>
570 [EFL] EWebLauncher is executed as full screen with device pixel ratio
571 https://bugs.webkit.org/show_bug.cgi?id=120282
573 Reviewed by Gyuyoung Kim.
575 * EWebLauncher/main.c:
576 Use double instead of float for device_pixel_ratio which is passed to ECORE_GETOPT_VALUE_DOUBLE.
578 2013-08-25 Zan Dobersek <zdobersek@igalia.com>
580 [gdb] Remove the pretty printer for KURLGooglePrivate
581 https://bugs.webkit.org/show_bug.cgi?id=120263
583 Reviewed by Benjamin Poulain.
585 Remove the pretty printer for the WebCore::KURLGooglePrivate structure that
586 was usable inside the gdb debugger. The structure was remove from the codebase
587 along with the GoogleURL backend for KURL.
590 (JSCJSStringPrinter.to_string):
591 (add_pretty_printers):
593 2013-08-24 Filip Pizlo <fpizlo@apple.com>
595 Unreviewed, fix build-webkit --ftl-jit in the case that you have your own llvm directory. We need to
596 prune 'libgtest' and friends from the llvm build, since WebKit builds its own and none of the llvm
597 libraries depend on libgtest anyway.
599 * Scripts/copy-webkitlibraries-to-product-directory:
601 2013-08-24 Darin Adler <darin@apple.com>
603 RetainPtr lacks move constructor for case when argument is a RetainPtr of a different type
604 https://bugs.webkit.org/show_bug.cgi?id=120255
606 Reviewed by Andreas Kling.
608 * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added four tests covering move assignment and construction.
610 2013-08-24 Anders Carlsson <andersca@apple.com>
612 Don't treat NSLocalizedDescriptionKey and NSLocalizedRecoverySuggestionErrorKey as NSLocalized macros
613 https://bugs.webkit.org/show_bug.cgi?id=120249
615 Reviewed by Andreas Kling.
617 * Scripts/extract-localizable-strings:
619 2013-08-24 Carlos Garcia Campos <cgarcia@igalia.com>
621 [GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API
622 https://bugs.webkit.org/show_bug.cgi?id=119743
624 Reviewed by Anders Carlsson.
626 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
627 (WTR::InjectedBundlePage::InjectedBundlePage): Add
630 2013-08-23 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
632 Move TestWebKitAPI_LIBRARIES before platform specific cmake include
633 https://bugs.webkit.org/show_bug.cgi?id=120220
635 Reviewed by Martin Robinson.
637 * TestWebKitAPI/CMakeLists.txt:
639 2013-08-22 Filip Pizlo <fpizlo@apple.com>
641 build-jsc --ftl-jit should work
642 https://bugs.webkit.org/show_bug.cgi?id=120194
644 Reviewed by Oliver Hunt.
646 * Scripts/build-jsc: Need to pass the feature flag to xcodebuild
648 2013-08-23 Commit Queue <commit-queue@webkit.org>
650 Unreviewed, rolling out r153534.
651 http://trac.webkit.org/changeset/153534
652 https://bugs.webkit.org/show_bug.cgi?id=120216
654 Too many tests failing just WinEWS bots (Requested by rfong on
657 * Scripts/webkitpy/common/config/ews.json:
659 2013-08-23 Alex Christensen <alex.christensen@flexsim.com>
661 Unreviewed. Added my webkit.org email address.
663 * Scripts/webkitpy/common/config/contributors.json:
665 2013-08-23 Peter Gal <galpeter@inf.u-szeged.hu>
667 [WTR] Should dump as text when the mimetype is text/plain
668 https://bugs.webkit.org/show_bug.cgi?id=118306
670 Reviewed by Christophe Dumez.
672 Check for the text/plain mimetype and if true then mark it as
675 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
676 (WTR::InjectedBundlePage::dump):
678 2013-08-22 Filip Pizlo <fpizlo@apple.com>
680 Update LLVM binary drops and scripts to the latest version from SVN
681 https://bugs.webkit.org/show_bug.cgi?id=120184
683 Reviewed by Mark Hahnenberg.
685 * ReducedFTL/build.sh:
686 * Scripts/configure-llvm: Added.
687 * Scripts/copy-webkitlibraries-to-product-directory:
688 * Scripts/export-llvm-build:
690 2013-08-22 Andy Estes <aestes@apple.com>
692 <https://webkit.org/b/120180> Fix issues with OTHER_LDFLAGS in various .xcconfig files
694 Reviewed by David Kilzer.
696 * TestWebKitAPI/Configurations/Base.xcconfig: Removed the definition of
697 OTHER_CPLUSPLUSFLAGS since -ftemplate-depth=256 is already set in
698 DebugRelease.xcconfig and TestWebKitAPI isn't built in Production.
700 2013-08-22 Ryosuke Niwa <rniwa@webkit.org>
702 NRWT: Add the ability to upload test results to new test results server
703 https://bugs.webkit.org/show_bug.cgi?id=120146
705 Reviewed by Andreas Kling.
707 For the upcoming replacement for webkit-test-results.appspot.com, new-run-webkit-tests needs to use a new JSON format
708 that contains the full summary of the test run including information about passed tests.
710 Add this ability to NRWT so that I can start testing this feature. This patch adds the following optoins to NRWT:
713 --results-server-host
715 The last option is somewhat ambigious with --test-results-server but we're intending to deprecate the old server
716 so we should be able to delete --test-results-server in time.
718 * Scripts/webkitpy/layout_tests/controllers/manager.py:
720 (Manager._upload_json_files):
722 (Manager.upload_results):
723 * Scripts/webkitpy/layout_tests/models/test_run_results.py:
725 * Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py:
726 (summarized_results):
727 (SummarizedResultsTest.test_summarized_results_wontfix):
728 (SummarizedResultsTest):
729 (SummarizedResultsTest.test_summarized_results_include_passes):
730 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
733 2013-08-22 Ryosuke Niwa <rniwa@webkit.org>
735 WKR build fix. Somehow tool.bugs.quips() doesn't work in WKR so work around that.
737 * Scripts/webkitpy/tool/bot/irc_command.py:
740 2013-08-22 Allan Sandfeld Jensen <allan.jensen@digia.com>
742 [Qt] DRT bug revealed/caused by r154300
743 https://bugs.webkit.org/show_bug.cgi?id=120151
745 Reviewed by Simon Hausmann.
747 Since QtInstance had an implementation of getOwnPropertySlot and not getOwnPropertyDescriptor,
748 the behavior of getOwnPropertyDescriptor changed when it got implemented using getOwnPropertySlot
751 DRT relied on getOwnPropertyDescriptor returning undefined for JS set properties to distinguish
752 between native Qt methods and JSC bound methods. This patch changes the check to see if the
753 property is writable since the Qt methods are ReadOnly.
755 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
756 (DumpRenderTree::initJSObjects):
758 2013-08-21 Joseph Pecoraro <pecoraro@apple.com>
760 <https://webkit.org/b/120134> [Tools] lldb_webkit.py helpers is incorrectly printing 8bit Strings
762 Reviewed by Benjamin Poulain.
764 WTFString moved the is8bit bit by one in r152201.
766 * lldb/lldb_webkit.py:
767 (WTFStringImplProvider.is_8bit):
769 2013-08-21 Tim Horton <timothy_horton@apple.com>
771 Revert http://trac.webkit.org/changeset/154022, as it failed to update
772 a variety of scripts that depended on the old format.
774 See https://bugs.webkit.org/show_bug.cgi?id=120131 for one such example.
776 * Scripts/prepare-ChangeLog:
778 (generateNewChangeLogs):
780 2013-08-21 Brent Fulgham <bfulgham@apple.com>
782 [Windows] Unreviewed gardening: WebInspector should always be enabled for WinLauncher.
784 * WinLauncher/WinLauncher.cpp:
785 (setToDefaultPreferences): Activate Developer Extras on Release (as well as Debug) builds.
787 2013-08-21 Zan Dobersek <zdobersek@igalia.com>
789 <https://webkit.org/b/120116> [GTK] Fix a typo in ActivateFontsGtk.cpp
791 Reviewed by Andreas Kling.
793 * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
794 (WTR::initializeFontConfigSetting): Fix a typo - inititialize -> initialize.
795 (WTR::activateFonts): Ditto.
797 2013-08-21 Brian Holt <brian.holt@samsung.com>
799 [GTK] Suppress irrelevant or known leaks for Valgrind
800 https://bugs.webkit.org/show_bug.cgi?id=119448
802 Reviewed by Martin Robinson.
804 Add a suppressions file to suppress known leaks for Valgrind.
805 Valgrind also takes longer when using suppressions and
806 times out unless the driver timeout is increased.
808 * Scripts/valgrind/suppressions.txt: Added.
809 * Scripts/webkitpy/port/gtk.py:
810 (GtkPort.driver_stop_timeout):
811 (GtkPort.setup_environ_for_server):
813 2013-08-20 Alex Christensen <achristensen@apple.com>
815 [Windows] Linking fix for Win64.
817 Rubberstamped by Brent Fulgham.
819 * win/DLLLauncher/DLLLauncherMain.cpp:
820 (wWinMain): Corrected 64-bit linker symbol for dllLauncherEntryPoint.
822 2013-08-20 Brent Fulgham <bfulgham@apple.com>
824 <https://webkit.org/b/120090> Report better error messages from WinLauncher/DRT
826 Reviewed by Tim Horton.
828 * win/DLLLauncher/DLLLauncherMain.cpp:
829 (getLastErrorString): New method to convert GetLastError to text.
830 (wWinMain): Use new error formatter to provide useful diagnostic text to user.
832 2013-08-19 Gustavo Noronha Silva <gns@gnome.org>
834 <https://webkit.org/b/120048> [GTK] Add stubs for APIs that went missing in the DOM bindings
836 Reviewed by Martin Robinson.
838 * Scripts/webkitpy/style/checker.py: add the bindings custom implementation files to be exempt
839 from naming/enum_casing rules, since it needs to provide GObject-style APIs.
841 2013-08-20 Anton Obzhirov <a.obzhirov@samsung.com>
843 <https://webkit.org/b/120009> [GTK] Stop button should be added to MiniBrowser
845 Reviewed by Martin Robinson.
847 Added stop button in MiniBrowser
849 * MiniBrowser/gtk/BrowserWindow.c:
850 (reloadOrStopCallback): Callback to handle stop or reload button click.
851 (webViewLoadProgressChanged): Update reload or stop button icon.
852 (browser_window_init): Save button pointer for further icon updates.
854 2013-08-20 Simon Pena <simon.pena@samsung.com>
856 <https://webkit.org/b/117584> [GTK][WK1] http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html is failing
858 Reviewed by Alexey Proskuryakov.
860 Update DumpRenderTree to handle the WEBKIT_LOAD_FAILED status,
861 printing didFailLoadWithError.
863 Behave like other ports, and handle WEBKIT_LOAD_FAILED status in
864 DumpRenderTree, printing didFailLoadWithError.
866 * DumpRenderTree/gtk/DumpRenderTree.cpp:
867 (webFrameLoadStatusNotified):
869 2013-08-19 Ryosuke Niwa <rniwa@webkit.org>
871 <https://webkit.org/b/120049> Delete code for Snow Leopard
873 Reviewed by Benjamin Poulain.
875 * DumpRenderTree/mac/CheckedMalloc.cpp:
876 (protectionOfRegion):
877 (makeLargeMallocFailSilently):
878 * DumpRenderTree/mac/DumpRenderTree.mm:
879 (resetDefaultsToConsistentValues):
880 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
881 (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]):
882 * DumpRenderTree/mac/FrameLoadDelegate.mm:
884 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
885 * DumpRenderTree/mac/LayoutTestHelper.m:
886 * DumpRenderTree/mac/TestRunnerMac.mm:
887 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
888 (WTR::InjectedBundle::platformInitialize):
889 * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
890 (WTR::testPathFromURL):
891 (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
893 2013-08-19 Alexey Proskuryakov <ap@apple.com>
895 https://bugs.webkit.org/show_bug.cgi?id=119915
896 REGRESSION(r154144): ASSERTION FAILED: m_history->provisionalItem() == m_requestedHistoryItem.get()
898 Reviewed by Darin Adler.
900 The issue was that we ended up having no CFNetwork cache in the testing session due
901 to an incorrect cache model. There is a number of things not implemented when it
902 comes to dynamically changing cache model as attempted by WebKitTestRunner, but
903 the easiest way to get this going is to initialize it to correct value upfront.
905 * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize):
907 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
909 REGRESSION(r154275): webkitpy tests failing
910 https://bugs.webkit.org/show_bug.cgi?id=120010
912 Reviewed by Jocelyn Turcotte.
914 Update unit-tests to tests the new search-path structure,
915 but reverting the architecture search path addition.
917 * Scripts/webkitpy/port/qt.py:
920 (QtPort._generate_all_test_configurations):
921 (QtPort.qt_architecture):
922 * Scripts/webkitpy/port/qt_unittest.py:
924 (QtPortTest._assert_search_path):
925 (QtPortTest._assert_expectations_files):
926 (QtPortTest._qt_version):
928 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
930 [Qt] Keep the qt-5.0-wk2 search path until the expectation migration is completed
932 Unreviewed meta gardening.
934 We need to keep using the qt-5.0-wk2 path until it is fully migrated.
936 * Scripts/webkitpy/port/qt.py:
937 (QtPort._search_paths):
939 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
941 Restructure Qt test expectations
943 Unreviewed meta gardening.
945 Removed 5.0 name from WK1 and WK2 results and made it possible to set
946 expectations by both Qt version and mayor architectures.
948 * Scripts/webkitpy/port/qt.py:
949 (QtPort._wk2_port_name):
952 (QtPort.architecture):
953 (QtPort._search_paths):
954 (QtPort._port_specific_expectations_files):
956 2013-08-16 Brent Fulgham <bfulgham@apple.com>
958 [Windows] DRT is not using the same preferences as the Mac build.
959 https://bugs.webkit.org/show_bug.cgi?id=119822
961 Reviewed by Darin Adler.
963 * DumpRenderTree/win/DumpRenderTree.cpp:
964 (runTest): Process Windows message queue using CFRunLoop to allow
965 dispatch routines to run properly.
966 (dllLauncherEntryPoint): Wrap CG-specific setup code in a macro
967 to prevent problems on WinCairo port.
969 2013-08-16 Brent Fulgham <bfulgham@apple.com>
971 [Windows] URL printing code in DRT doesn't match WTR or Mac DRT
972 https://bugs.webkit.org/show_bug.cgi?id=119583
974 Reviewed by Alexey Proskuryakov.
976 * DumpRenderTree/win/DumpRenderTree.cpp:
977 (urlSuitableForTestResult): Revise URL output to match Mac DRT by emiting last path
978 component if the URL does not contain the expected base URL.
980 2013-08-16 Pratik Solanki <psolanki@apple.com>
982 <https://webkit.org/b/119852> Frame::scriptController() should return a reference
984 Reviewed by Andreas Kling.
986 m_script is never NULL so we can just return a reference. Also remove some pointless null
987 checks as a result of doing this.
989 * DumpRenderTree/blackberry/DumpRenderTree.cpp:
990 (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
992 2013-08-15 Alexey Proskuryakov <ap@apple.com>
994 [WK2] NetworkProcess should use a temporary storage session for test
995 https://bugs.webkit.org/show_bug.cgi?id=119855
997 Reviewed by Darin Adler.
999 Use a new API that takes care of both WebProcess and NetworkProcess.
1001 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1002 (WTR::InjectedBundle::initialize):
1003 * WebKitTestRunner/TestController.cpp:
1004 (WTR::TestController::initialize):
1006 2013-08-15 Bem Jones-Bey <bjonesbe@adobe.com>
1008 <https://webkit.org/b/119850> Speed up test importing by doing all the regex matching in a single pass
1010 Reviewed by Dirk Pranke.
1012 This is a port from Blink of
1013 https://src.chromium.org/viewvc/blink?revision=155647&view=revision
1014 originally by Dirk Pranke.
1016 From the original commit:
1018 This gives something like a 15x speedup over compiling and matching
1019 one property at a time and doing multiple passes over the file.
1021 * Scripts/webkitpy/w3c/test_converter.py:
1022 (W3CTestConverter.__init__):
1023 (W3CTestConverter.convert_prefixed_properties):
1024 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties):
1026 2013-08-15 Dan Bernstein <mitz@apple.com>
1028 <https://webkit.org/b/119856> Improve extract-localizable-strings messages
1030 Reviewed by Darin Adler.
1032 * Scripts/extract-localizable-strings: When the strings file disagrees with the source code,
1033 added a message that points to the source code. Removed some unnecessary repetition of what
1034 is already in the file.
1036 2013-08-15 Andy Estes <aestes@apple.com>
1038 <https://webkit.org/b/119853> REGRESSION (r139343): WebKit crashes when canceling a load inside webView:resource:didFinishLoadingFromDataSource:
1040 Reviewed by Brady Eidson.
1042 Wrote an API test that verifies -[WebView stopLoading:] can be called
1043 inside webView:resource:didFinishLoadingFromDataSource: without crashing.
1045 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1046 * TestWebKitAPI/Tests/mac/StopLoadingFromDidFinishLoading.mm: Added.
1047 (-[StopLoadingFromDidFinishLoadingDelegate webView:resource:didFinishLoadingFromDataSource:]):
1048 (TestWebKitAPI::TEST):
1050 2013-08-15 Alexey Proskuryakov <ap@apple.com>
1052 Adding Myles Maxfield to contributors.json.
1054 Oops, wrong section, fixing.
1056 * Scripts/webkitpy/common/config/contributors.json:
1058 2013-08-15 Alexey Proskuryakov <ap@apple.com>
1060 Adding Myles Maxfield to contributors.json.
1062 * Scripts/webkitpy/common/config/contributors.json:
1064 2013-08-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
1066 [Qt] Do not check specifically for version 5.0
1067 https://bugs.webkit.org/show_bug.cgi?id=119846
1069 Reviewed by Jocelyn Turcotte.
1071 For Qt 5.x we should always use both wk1 and wk2 basepath results.
1073 * Scripts/webkitpy/port/qt.py:
1074 (QtPort._search_paths):
1076 2013-08-15 Simon Pena <simon.pena@samsung.com>
1078 <https://webkit.org/b/119584> [Gtk] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1080 Reviewed by Gustavo Noronha Silva.
1082 Following a similar approach as in r153977, return a path string
1083 that is relative to main frame URL or just file name if the
1084 resource is not in the same directory subtree, and replace empty
1085 strings with "(null)".
1087 Update pathFromSoupURI so it behaves more closely to the other
1088 ports, and remove the unused code after we no longer print
1089 <unknown> in certain cases. Also move
1090 soupURIToStringPreservingPassword to DumpRenderTreeGtk so it can
1091 be used both in TestRunnerGtk and in DumpRenderTree.
1093 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1094 (soupURIToStringPreservingPassword): Moved from TestRunnerGtk so
1095 we can print Soup URIs with the password, since soup_uri_to_string
1096 doesn't preserve them.
1097 (pathFromSoupURI): Updated following EFL implementation in
1098 r153977, and return a WTFString instead of a CString.
1099 (convertSoupMessageToURLPath): Return "(null)" instead of empty
1100 strings, and handle the new return type of pathFromSoupURI.
1101 (convertWebResourceToURLPath): Use a GOwnPtr to hold the Soup URI
1102 reference, and handle the new return type of pathFromSoupURI.
1103 (descriptionSuitableForTestResult): Remove unused code.
1104 (didFinishLoading): Use convertResourceToURLPath.
1105 (didFailLoadingWithError): Use convertResourceToURLPath.
1106 (authenticationCallback): Display the URL of the authentication
1108 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Declare
1109 soupURIToStringPreservingPassword.
1110 * DumpRenderTree/gtk/TestRunnerGtk.cpp: Remove
1111 soupURIToStringPreservingPassword.
1113 2013-08-14 Tim Horton <timothy_horton@apple.com>
1115 Un-inline dataLog dumpers for IntSize and IntPoint
1116 https://bugs.webkit.org/show_bug.cgi?id=119697
1118 Reviewed by Sam Weinig.
1120 * TestWebKitAPI/GNUmakefile.am:
1122 2013-08-14 Ryosuke Niwa <rniwa@webkit.org>
1124 Flakiness dashboard build fix.
1126 * TestResultServer/static-dashboards/flakiness_dashboard.js:
1127 (processTestRunsForBuilder):
1129 2013-08-14 Martin Robinson <mrobinson@igalia.com>
1131 [GTK] [CMake] Add support for building TestWebKitAPI
1132 https://bugs.webkit.org/show_bug.cgi?id=116987
1134 Reviewed by Philippe Normand.
1136 * TestWebKitAPI/CMakeLists.txt: Move the library listings to before the inclusion of the
1137 platform-specific file, so that GTK+ can override them.
1138 * TestWebKitAPI/PlatformGTK.cmake: Added.
1140 2013-08-14 Brent Fulgham <bfulgham@apple.com>
1142 [Windows] Simplify Setting WebKit Debugging Options in WinLauncher
1143 https://bugs.webkit.org/show_bug.cgi?id=119775
1145 This bug updates the WinLauncher program with a few useful menu
1146 options to toggle certain debugging and development features of
1149 Reviewed by Tim Horton.
1151 * WinLauncher/WinLauncher.cpp:
1152 (dllLauncherEntryPoint): Clean up preference objects on exit.
1153 (ToggleMenuItem): New function.
1154 (LaunchInspector): New function.
1155 (WndProc): Add handler for new menu items. Also properly terminate
1156 CFRunLoop operation on program exit.
1157 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Add new
1159 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Add
1160 resource folder to search path.
1161 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Update
1164 2013-08-14 Ryosuke Niwa <rniwa@webkit.org>
1166 Add a hyperlink from build.webkit.org to the flakiness dashboard.
1168 Rubbers-tamped by Simon Fraser.
1170 * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
1172 2013-08-14 Benjamin Dupont <bdupont@nds.com>
1174 [Qt] Activate visibility API layout tests
1175 https://bugs.webkit.org/show_bug.cgi?id=119790
1177 Reviewed by Allan Sandfeld Jensen.
1179 * DumpRenderTree/qt/TestRunnerQt.cpp:
1180 (TestRunner::resetPageVisibility):
1181 (TestRunner::setPageVisibility):
1183 2013-08-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
1185 [GTK] WK does not link properly against libxslt
1186 https://bugs.webkit.org/show_bug.cgi?id=119688
1188 Reviewed by Gustavo Noronha Silva.
1190 * MiniBrowser/gtk/GNUmakefile.am: Added LIBXSLT_LIBS to
1192 * WebKitTestRunner/GNUmakefile.am: Added LIBXSLT_LIBS to WTR.
1194 2013-08-13 Alexey Proskuryakov <ap@apple.com>
1196 [Mac] fast/dom/attr-style-too-lazy.html is flaky
1197 https://bugs.webkit.org/show_bug.cgi?id=119763
1199 Reviewed by Darin Adler.
1201 * DumpRenderTree/mac/UIDelegate.mm:
1202 (-[UIDelegate webView:setStatusText:]): Don't dump anything when not running
1203 a test, it would just semi-randomly leak to the next one.
1204 (-[UIDelegate webView:didPressMissingPluginButton:]): Added same check here, just
1207 2013-08-13 Tim Horton <timothy_horton@apple.com>
1209 [mac] Give MiniBrowser a reasonable bundle identifier
1210 https://bugs.webkit.org/show_bug.cgi?id=119773
1212 Rubber-stamped by Simon Fraser.
1214 Give MiniBrowser the bundle identifier org.webkit.MiniBrowser.
1216 * MiniBrowser/mac/Info.plist:
1217 * MiniBrowser/mac/WebBundle/Info.plist:
1219 2013-08-13 Dean Jackson <dino@apple.com>
1221 <https://webkit.org/b/119766> Make bug url more human friendly in ChangeLog
1223 Reviewed by Mark Rowe.
1225 Have prepare-ChangeLog produce webkit.org/b/id style
1226 URLs rather than exposing the inner workings of our
1227 cgi. I was going to use the term "Future Proofing"
1228 but that seems excessive :)
1230 * Scripts/prepare-ChangeLog:
1231 (main): Generate a more human readable form.
1232 (generateNewChangeLogs): Use it when printing out the ChangeLog entry.
1234 2013-08-13 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
1236 [EFL][DRT] Simplify call to reverseFind()
1237 https://bugs.webkit.org/show_bug.cgi?id=119746
1239 Reviewed by Christophe Dumez.
1241 Follow-up to r153977.
1243 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1244 (pathSuitableForTestResult): Instead of defining a static variable
1245 that's only used in a single place, pass '/' to reverseFind() directly.
1247 2013-08-13 Alberto Garcia <berto@igalia.com>
1249 [GTK] Closing inspector window crashes wk
1250 https://bugs.webkit.org/show_bug.cgi?id=110865
1252 Reviewed by Carlos Garcia Campos.
1254 Disconnect all signal handlers if the inspector window is
1257 * GtkLauncher/LauncherInspectorWindow.c:
1258 (inspectorWindowDestroyed):
1259 (launcherInspectorWindowNew):
1261 2013-08-12 Dan Bernstein <mitz@apple.com>
1263 extract-localizable-strings output is not suited for parsing by Xcode
1264 https://bugs.webkit.org/show_bug.cgi?id=119728
1266 Reviewed by Darin Adler.
1268 Added spaces where needed after “path:line:” to allow Xcode to recognize the file reference,
1269 removed “ERROR” since messages that refer to a line in a file are shown as error by default,
1270 added “warning: ” in messages that aren’t errors (i.e. don’t prevent the script from exiting
1273 * Scripts/extract-localizable-strings:
1275 2013-08-12 Ryuan Choi <ryuan.choi@samsung.com>
1277 [EFL][WK1] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1278 https://bugs.webkit.org/show_bug.cgi?id=119585
1280 Reviewed by Gyuyoung Kim.
1282 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1283 (pathSuitableForTestResult):
1284 Return path string that's relative to main frame URL, or just file name if
1285 the resource is not in the same directory subtree.
1286 Referenced WebKitTestRunner code in r153852.
1287 (descriptionSuitableForTestResult):
1288 (DumpRenderTreeChrome::onFrameRedirectRequested):
1289 (DumpRenderTreeChrome::onNewResourceRequest): Followed changes of r153903.
1291 2013-08-12 Dan Bernstein <mitz@apple.com>
1293 extract-localizable-strings doesn't know how to verify an existing strings file
1294 https://bugs.webkit.org/show_bug.cgi?id=119704
1296 Reviewed by Darin Adler.
1298 * Scripts/extract-localizable-strings: Added an --exceptions option for specifying the
1299 exceptions file, changing the way “no exceptions file” is expressed from passing “-” as the
1300 exceptions file name to omitting the --exceptions option. Added a --skip option, changing
1301 the way directories to skip are specified from prefixing the directory with a “-” to
1302 specifying it with --skip.
1303 Finally, added a --verify option. When specified, the strings file is not written to, but
1304 instead read in and checked for consistency with the comments, keys and values derived from
1305 the source files and the exceptions file. Missing keys, unused keys, mismatching values and
1306 mismatching comments are reported as errors.
1307 * Scripts/update-webkit-localizable-strings: Updated for the new way of specifying
1308 directories to skip and no exceptions file.
1310 2013-08-12 Alexey Proskuryakov <ap@apple.com>
1312 http/tests/security/sandboxed-iframe-invalid.html is flaky on Mac
1313 https://bugs.webkit.org/show_bug.cgi?id=85522
1315 Reviewed by Andy Estes.
1317 * DumpRenderTree/mac/UIDelegate.mm:
1318 (-[UIDelegate webView:addMessageToConsole:withSource:]): Don't print console messages
1319 when already done with a test. We already had this check in all UI delegate functions,
1320 except for -webView:addMessageToConsole:withSource: somehow.
1322 2013-08-12 Alexey Proskuryakov <ap@apple.com>
1324 https://bugs.webkit.org/show_bug.cgi?id=119693
1325 [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is flaky
1326 because of connect-src-websocket-allowed.html
1328 Reviewed by Darin Adler.
1330 Starting a load of about:blank and immediately stopping it cancels outstanding
1331 resource loads, but the page has to transition to committed state to have timers
1332 or WebSockets stopped too.
1334 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Use a synchronous load to
1335 ensure that transition to committed state happens before we start the next test.
1337 2013-08-12 Beth Dakin <bdakin@apple.com>
1339 The LayoutMilestones didLayout callback should only fire for the main frame
1340 https://bugs.webkit.org/show_bug.cgi?id=119457
1342 Reviewed by Sam Weinig.
1344 Now that the didLayout callback only fires for the main frame, we want to make
1345 sure it will fire even when all of the content is in a subframe.
1347 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1348 * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp: Added.
1349 (TestWebKitAPI::didLayout):
1350 (TestWebKitAPI::TEST):
1351 * TestWebKitAPI/Tests/WebKit2/all-content-in-one-iframe.html: Added.
1353 2013-08-12 Beth Dakin <bdakin@apple.com>
1355 Remove didNewFirstVisuallyNonEmptyLayout from WebKit2
1356 https://bugs.webkit.org/show_bug.cgi?id=119658
1358 Reviewed by Darin Adler.
1360 * MiniBrowser/mac/WK2BrowserWindowController.m:
1361 (-[WK2BrowserWindowController awakeFromNib]):
1362 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1363 (WTR::InjectedBundlePage::InjectedBundlePage):
1364 * WebKitTestRunner/TestController.cpp:
1365 (WTR::TestController::createWebViewWithOptions):
1367 2013-08-12 Seokju Kwon <seokju@webkit.org>
1369 Remove glu's libtest rule from checker.py
1370 https://bugs.webkit.org/show_bug.cgi?id=119674
1372 Reviewed by Darin Adler.
1374 * Scripts/webkitpy/style/checker.py: It is no longer used after r148032.
1376 2013-08-11 ChangSeok Oh <changseok.oh@collabora.com>
1378 Unreviewed. Change my primary mail address.
1380 * Scripts/webkitpy/common/config/contributors.json:
1382 2013-08-09 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1384 [GTK] Misses mod_ssl and php in the list of packages required for tests for yum
1385 https://bugs.webkit.org/show_bug.cgi?id=115751
1387 Reviewed by Martin Robinson.
1389 * gtk/install-dependencies: add mod_ssl and php to the packages installed for tests
1392 2013-08-09 Beth Dakin <bdakin@apple.com>
1394 AX: Not able to use arrow keys to read text in a WK2 app
1395 https://bugs.webkit.org/show_bug.cgi?id=119605
1397 <rdar://problem/14281275>
1399 Reviewed by Darin Adler.
1401 New test verifies that didNotHandleKeyEvent will be called when there is nothing
1403 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1404 * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp: Added.
1405 (TestWebKitAPI::didFinishLoadForFrame):
1406 (TestWebKitAPI::didNotHandleKeyEventCallback):
1407 (TestWebKitAPI::TEST):
1409 2013-08-09 Christophe Dumez <ch.dumez@sisa.samsung.com>
1411 Add support for KeyboardEvent.location attribute
1412 https://bugs.webkit.org/show_bug.cgi?id=119326
1414 Reviewed by Benjamin Poulain.
1416 Rename the deprecated 'keyLocation' to 'location' in Mac's DRT code.
1418 * DumpRenderTree/mac/EventSendingController.mm:
1419 (-[EventSendingController keyDown:withModifiers:withLocation:]):
1420 (-[EventSendingController keyDownWrapper:withModifiers:withLocation:]):
1421 (-[EventSendingController scheduleAsynchronousKeyDown:withModifiers:withLocation:]):
1422 (-[EventSendingController handleEvent:]):
1423 (-[EventSendingController fireKeyboardEventsToElement:]):
1425 2013-08-09 Alexey Proskuryakov <ap@apple.com>
1427 <unknown> is often dumped instead of path in test output
1428 https://bugs.webkit.org/show_bug.cgi?id=119590
1430 Reviewed by Anders Carlsson.
1432 There were two reasons for <unknown>:
1433 1. When delegate logging is enabled via a testRunner call, that obviously happens
1434 after main resource load starts, so we don't record its URL.
1435 2. Authentication delegate logging relied on URL recording, but it's only turned on
1436 when enabling resource loading delegate logging, not auth one.
1438 URL recording was made conditional in <http://trac.webkit.org/r19316>, which was
1439 landed without posted rationale and unreviewed. Just undoing that change now.
1441 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1442 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1443 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1444 (WTR::InjectedBundlePage::didInitiateLoadForResource):
1446 2013-08-08 Alex Christensen <achristensen@apple.com>
1448 Windows build fixes.
1450 Rubberstamped by Brent Fulgham.
1452 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
1453 Removed /SAFESEH link option which doesn't work with x64.
1455 2013-08-08 Daniel Bates <dabates@apple.com>
1457 Add iOS support to run-javascriptcore-tests
1458 https://bugs.webkit.org/show_bug.cgi?id=119602
1460 Reviewed by Joseph Pecoraro.
1462 Make run-javascriptcore-tests work for iOS WebKit.
1464 * Scripts/run-javascriptcore-tests:
1466 2013-08-08 Alexey Proskuryakov <ap@apple.com>
1468 [WK2] loader/go-back-cached-main-resource.html fails
1469 https://bugs.webkit.org/show_bug.cgi?id=116491
1471 Reviewed by Tim Horton.
1473 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1474 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1475 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1476 * DumpRenderTree/win/DumpRenderTree.cpp:
1477 Added FIXMEs about making path printing normalization more compatible.
1479 * DumpRenderTree/mac/ResourceLoadDelegate.mm: (-[NSURL _drt_descriptionSuitableForTestResult]):
1480 Return last path component in cases where we used to return a full path, which is
1481 never desirable. Added a null check to basePath to prevent potentially getting
1482 an Objective C exception.
1484 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1485 (WTR::pathSuitableForTestResult): Changed to use path for main test window, not
1486 for a currently loading one (which is different for tests that use multiple windows).
1487 Changed to return "(null)" for empty URLs to match WK1 output. Changed to return
1488 last path component as last fallback.
1489 (WTR::dumpRequestDescriptionSuitableForTestResult): We no longer need to pass main
1490 frame URL here, and it was potentially a wrong frame.
1491 (WTR::dumpResponseDescriptionSuitableForTestResult): Ditto.
1492 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame): Ditto.
1493 (WTR::InjectedBundlePage::didInitiateLoadForResource): Ditto.
1494 (WTR::InjectedBundlePage::willSendRequestForFrame): Ditto.
1495 (WTR::InjectedBundlePage::didReceiveResponseForResource): Ditto.
1497 2013-08-08 Alex Christensen <achristensen@apple.com>
1499 WTR::pathSuitableForTestResult should behave the same as _drt_descriptionSuitableForTestResult so we can unskip tests.
1500 https://bugs.webkit.org/show_bug.cgi?id=116125
1502 Reviewed by Tim Horton. Tweaked and re-landed by Alexey Proskuryakov.
1504 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1505 (WTR::pathSuitableForTestResult):
1506 Changed string operations to match _drt_descriptionSuitableForTestResult.
1507 (WTR::dumpRequestDescriptionSuitableForTestResult):
1508 (WTR::dumpResponseDescriptionSuitableForTestResult):
1509 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
1510 (WTR::InjectedBundlePage::didInitiateLoadForResource):
1511 (WTR::InjectedBundlePage::willSendRequestForFrame):
1512 (WTR::InjectedBundlePage::didReceiveResponseForResource):
1513 Pass the main frame's URL to pathSuitableForTestResult.
1514 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1515 Added WKBundlePageRef to willPerformClientRedirectForFrame.
1517 2013-08-07 Simon Fraser <simon.fraser@apple.com>
1519 Allow the DumpRenderTree runloop to be idle while waiting for a test to complete
1520 https://bugs.webkit.org/show_bug.cgi?id=119317
1522 Reviewed by Tim Horton.
1524 The change in r55200 made DumpRenderTree spin a busy-loop while waiting for
1525 the test to complete, which is not power friendly. Although DRT instances
1526 are generally busy anyway, not sitting in a busy loop should free up some CPU
1527 cycles for other instances of DRT.
1529 Editing tests continue to pass. All Java tests are skipped and were not
1530 tested, but when run fail similarly with and without the patch.
1532 * DumpRenderTree/mac/DumpRenderTree.mm:
1536 2013-08-07 Daniel Bates <dabates@apple.com>
1538 Clean up: Simplifying the printing of the command line arguments passed to jsDriver.pl
1539 <https://bugs.webkit.org/show_bug.cgi?id=119558>
1541 Reviewed by Martin Robinson.
1543 Currently we build the command line to execute jsDriver.pl twice so as to both
1544 print it to standard output and actually execute it. We should only build up
1545 this command line once. Moreover, we should print to standard output the actual
1546 command line that we are going to use including the GTK- and EFL-specific call
1547 to /Tools/jhbuild/jhbuild-wrapper.
1549 * Scripts/run-javascriptcore-tests:
1551 2013-08-07 Mario Sanchez Prada <mario.prada@samsung.com>
1553 [EFL] REGRESSION after r153432: some accessibility tests crash.
1554 https://bugs.webkit.org/show_bug.cgi?id=119333
1556 Reviewed by Darin Adler.
1558 Use a RefPtr to store a reference to the parent element of
1559 an AccessibilityUIElement instead of the raw pointer, so we
1560 never derefence a function from an invalid pointer.
1562 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1563 (WTR::attributesOfElement): Use a RefPtr instead of a raw pointer.
1565 2013-08-07 Cosmin Truta <ctruta@blackberry.com>
1567 Unreviewed. Add myself as a committer.
1569 * Scripts/webkitpy/common/config/contributors.json:
1571 2013-08-04 Sam Weinig <sam@webkit.org>
1573 Remove support for HTML5 MicroData
1574 https://bugs.webkit.org/show_bug.cgi?id=119480
1576 Reviewed by Anders Carlsson.
1578 * Scripts/webkitperl/FeatureList.pm:
1579 * qmake/mkspecs/features/features.pri:
1581 2013-07-23 David Farler <dfarler@apple.com>
1583 Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
1584 https://bugs.webkit.org/show_bug.cgi?id=117762
1586 Reviewed by Mark Rowe.
1588 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1589 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1590 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1591 Add ASAN_OTHER_LDFLAGS.
1592 * MiniBrowser/Configurations/DebugRelease.xcconfig:
1593 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1594 * Scripts/check-for-weak-vtables-and-externals:
1595 Ignore ___asan externals, these are populated by compiler-rt.
1596 * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1597 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1598 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1599 Add ASAN_OTHER_LDFLAGS.
1600 * WebKitLauncher/Configurations/Base.xcconfig:
1601 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1602 * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig:
1603 Add ASAN_OTHER_LDFLAGS.
1604 * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1605 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1606 * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
1607 Add ASAN_OTHER_LDFLAGS.
1608 * asan/asan.xcconfig: Added.
1609 * asan/webkit-asan-ignore.txt: Added.
1611 2013-08-05 Brian Holt <brian.holt@samsung.com>
1613 [GTK] Implement leak checking with valgrind
1614 https://bugs.webkit.org/show_bug.cgi?id=118785
1616 Reviewed by Dirk Pranke.
1618 Launch the DRT under Valgrind to generate xml files with details
1621 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1623 * Scripts/webkitpy/port/gtk.py:
1625 (GtkPort.default_timeout_ms): Allow extra time to run under
1627 (GtkPort.setup_environ_for_server): Pass Valgrind instructions
1628 using environment variables.
1630 2013-08-02 Mario Sanchez Prada <mario.prada@samsung.com>
1632 [EFL] REGRESSION after r153432: some accessibility tests crash.
1633 https://bugs.webkit.org/show_bug.cgi?id=119333
1635 Reviewed by Gustavo Noronha Silva.
1637 Add missing null-check to avoid dereferencing a non-existent parent.
1639 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1640 (WTR::attributesOfElement): Ditto.
1642 2013-08-02 Patrick Gansterer <paroga@webkit.org>
1644 Add --rmdir option to git svn dcommit
1645 https://bugs.webkit.org/show_bug.cgi?id=119398
1647 Reviewed by Ryosuke Niwa.
1649 Add this option tells git-svn to remove empty directories
1650 from the svn tree so they do not leave over there.
1652 * Scripts/webkitpy/common/checkout/scm/git.py:
1653 (Git.push_local_commits_to_server):
1655 2013-08-01 Brent Fulgham <bfulgham@apple.com>
1657 [Windows] WebKit1 Fullscreen Video Play is Broken
1658 https://bugs.webkit.org/show_bug.cgi?id=119415
1660 Reviewed by Jer Noble.
1662 * WinLauncher/WinLauncher.cpp:
1663 (dllLauncherEntryPoint): Activate full screen mode via
1664 IWebPreferencesInternal interface.
1666 2013-08-01 ChangSeok Oh <changseok.oh@collabora.com>
1668 Unreviewed. Add an alternative address to show my affiliation in team.html.
1670 * Scripts/webkitpy/common/config/contributors.json:
1672 2013-08-01 Bem Jones-Bey <bjonesbe@adobe.com>
1674 Duplicate property names can cause test to fail
1675 https://bugs.webkit.org/show_bug.cgi?id=119399
1677 Reviewed by Dirk Pranke.
1679 This problem was noticed when porting the patch for
1680 http://wkb.ug/119357 to Blink: a test would fail because the converted
1681 and test property lists weren't the same length, but they contained
1682 all of the same property names. It looks like this is actually caused
1683 by a bug in converting the HTML, which is being currently rewritten.
1684 In the meantime, as long as this compares the number of unique
1685 properties, it makes the test more robust.
1687 * Scripts/webkitpy/w3c/test_converter_unittest.py:
1688 (verify_prefixed_properties):
1690 2013-08-01 Bem Jones-Bey <bjonesbe@adobe.com>
1692 Unreviewed. Adding my expertise.
1694 * Scripts/webkitpy/common/config/contributors.json:
1696 2013-08-01 ChangSeok Oh <changseok.oh@collabora.com>
1698 Unreviewed. Add myself as a committer. Yoo-hoo! \o/
1700 * Scripts/webkitpy/common/config/contributors.json:
1702 2013-08-01 Commit Queue <commit-queue@webkit.org>
1704 Unreviewed, rolling out r153518.
1705 http://trac.webkit.org/changeset/153518
1706 https://bugs.webkit.org/show_bug.cgi?id=119386
1708 The Jhbuild dep bump of GTK+ is not actually required by
1709 layout testing, is causing pango dep problems (Requested by
1710 zdobersek on #webkit).
1712 * gtk/jhbuild.modules:
1714 2013-08-01 Xabier Rodriguez Calvar <calvaris@igalia.com>
1716 Unreviewed. Add myself as a committer.
1718 * Scripts/webkitpy/common/config/contributors.json:
1720 2013-08-01 Jaehun Lim <ljaehun.lim@samsung.com>
1722 Unreviewed. Add myself as a committer.
1724 * Scripts/webkitpy/common/config/contributors.json:
1726 2013-07-31 Jinwoo Song <jinwoo7.song@samsung.com>
1728 Unreviewed. Add myself as a committer.
1730 * Scripts/webkitpy/common/config/contributors.json:
1732 2013-08-01 Alberto Garcia <berto@igalia.com>
1734 Unreviewed. Add myself as a committer.
1736 * Scripts/webkitpy/common/config/contributors.json:
1738 2013-07-31 Seokju Kwon <seokju@webkit.org>
1740 Unreviewed. Add myself as a committer.
1742 * Scripts/webkitpy/common/config/contributors.json:
1744 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1746 W3C test import script prefixes some properties that it shouldn't
1747 https://bugs.webkit.org/show_bug.cgi?id=119357
1749 Reviewed by Dirk Pranke.
1751 Some prefixed properties also have unprefixed implemetations, but when
1752 the implementations aren't identical, they aren't declared in
1753 CSSPropertyNames.in on the same line. This fixes the import script so
1754 that it catches all instances of prefixed properties that have an
1755 unprefixed variant, and does not add the prefix in those cases.
1757 * Scripts/webkitpy/w3c/test_converter.py:
1758 (W3CTestConverter.read_webkit_prefixed_css_property_list): Read all of
1759 the properties on every line and record if they are prefixed or not.
1760 Use this information to only return prefixed properties that do not
1761 have any unprefixed variant. The prefixed property list has also
1762 changed to not include the '-webkit-' prefix, making it much easier to
1763 do the comparison, and removing the need to remove the prefix later.
1764 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties): This no
1765 longer needs to remove the '-webkit-' prefix, but needs to add it in
1766 the case where a property that needs a prefix is found.
1767 * Scripts/webkitpy/w3c/test_converter_unittest.py:
1768 (W3CTestConverterTest.test_read_prefixed_property_list): Remove assert
1769 for '-webkit-' prefix, as it is no longer included in the properties
1770 in the prefixed property list.
1772 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1774 Update location of w3c shapes tests to reflect new import location
1775 https://bugs.webkit.org/show_bug.cgi?id=118156
1777 Reviewed by Dirk Pranke.
1779 Partial imports should not be imported to the same place as the full
1780 import, so this adds an option to allow importing to a different
1781 location than the default. In doing that, I found that imports from
1782 contributor directories didn't seem to be working correctly, so I
1783 updated the import to be smarter about both contributor directories
1784 and the test status directories. It should now be more likely that the
1785 script guesses the root directory properly.
1787 * Scripts/webkitpy/w3c/test_importer.py: Remove comment about the
1788 script not working with the full set of contributors, as that is
1789 no longer true, and I didn't see a good way to keep that behavior.
1790 Also update documentation to properly explain what happens when a
1791 contributor dir is imported.
1792 (main): Attempt to find the proper repo dir by looking at the
1793 directory above the "test status" in the given path, this is still
1794 not exactly right, but is less error prone than just trimming.
1795 (parse_args): Add -d option to set the import directory.
1796 (TestImporter.__init__): Stop appending the subdirs to the
1797 destination_directory because it was making things more complex
1798 and isn't really needed.
1799 (TestImporter.update_test_status): Remove hardcoded strings and use
1800 the TEST_STATUS constants instead.
1801 * Scripts/webkitpy/w3c/test_importer_unittest.py:
1802 (TestImporterTest.test_import_dir_with_no_tests_and_no_hg): Add
1803 support for new option.
1804 (TestImporterTest.test_import_dir_with_no_tests): Ditto.
1806 2013-07-31 Brent Fulgham <bfulgham@apple.com>
1808 [Windows] Winlauncher shouldn't look for Safari Install Directory
1809 https://bugs.webkit.org/show_bug.cgi?id=119351
1811 Reviewed by Darin Adler.
1813 * win/DLLLauncher/DLLLauncherMain.cpp: Don't check registry for
1814 the Safari install location. Instead, use the proper support
1815 library path for the build architecture.
1817 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1819 Update scripts to reference contributors.json instead of committers.py in messaging
1820 https://bugs.webkit.org/show_bug.cgi?id=119342
1822 Reviewed by Ryosuke Niwa.
1824 Change the scripts to point people to contributors.json instead of
1825 committers.py since the latter no longer contains the list of
1828 * Scripts/webkitpy/common/config/committervalidator.py:
1829 (CommitterValidator._contributors_json_path):
1830 (CommitterValidator._flag_permission_rejection_message):
1831 * Scripts/webkitpy/common/config/committervalidator_unittest.py:
1832 (CommitterValidatorTest.test_flag_permission_rejection_message):
1833 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1834 (Bugzilla._commit_queue_flag):
1835 * Scripts/webkitpy/common/watchlist/watchlistparser.py:
1836 (WatchListParser._validate):
1837 * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
1838 (WatchListParserTest.test_cc_rule_with_invalid_email):
1839 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
1840 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1841 * Scripts/webkitpy/tool/steps/validatereviewer.py:
1842 (ValidateReviewer.run):
1844 2013-07-31 Roger Fong <roger_fong@apple.com>
1846 Unreviewed. Re-enable WinEWS tests following r153527.
1848 * Scripts/webkitpy/common/config/ews.json:
1850 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1852 Unreviewed: Adding myself to the committers' list.
1854 * Scripts/webkitpy/common/config/contributors.json:
1856 2013-07-31 Allan Sandfeld Jensen <allan.jensen@digia.com>
1858 [Qt] Build WebKit with C++11
1859 https://bugs.webkit.org/show_bug.cgi?id=119337
1861 Reviewed by Csaba Osztrogonác.
1863 Enable building with C++11.
1865 * qmake/mkspecs/features/default_pre.prf:
1866 * qmake/mkspecs/features/unix/default_post.prf:
1867 * qmake/mkspecs/features/unix/default_pre.prf:
1869 2013-07-31 Allan Sandfeld Jensen <allan.jensen@digia.com>
1871 [Qt] ASSERTS trigger in release builds
1872 https://bugs.webkit.org/show_bug.cgi?id=119336
1874 Reviewed by Jocelyn Turcotte.
1876 Ensure the qmake also defaults to release if no configuration is known.
1878 * qmake/mkspecs/features/default_post.prf:
1880 2013-07-31 Zan Dobersek <zdobersek@igalia.com>
1882 [texmap][GStreamer][GTK] composited video shows tearing
1883 https://bugs.webkit.org/show_bug.cgi?id=118253
1885 Reviewed by Martin Robinson.
1887 * gtk/jhbuild.modules: Bump the Jhbuild versions of the Gdk-Pixbuf and GTK+ packages to 2.27.3 and 3.8.2, respectively.
1888 The first is required by the second, and the GTK+ bump introduces proper display framerate synchronization that removes
1889 screen tearing when enabling accelerated compositing and performing graphically heavy operations like viewing HD videos.
1891 2013-07-30 Ruth Fong <ruth_fong@apple.com>
1893 Unreviewed: Adding myself to the committers' list.
1895 * Scripts/webkitpy/common/config/contributors.json:
1897 2013-07-30 Christophe Dumez <ch.dumez@sisa.samsung.com>
1899 Unreviewed, add my new email to contributors.json.
1901 * Scripts/webkitpy/common/config/contributors.json:
1903 2013-07-30 Krzysztof Czech <k.czech@samsung.com>
1905 [EFL] REGRESSION after r153439: layout tests do not run.
1906 https://bugs.webkit.org/show_bug.cgi?id=119240
1908 Reviewed by Christophe Dumez.
1910 Changed attribute name from check_xvfb to check_driver.
1912 * Scripts/webkitpy/port/efl.py:
1913 (EflPort.check_sys_deps):
1915 2013-07-29 Commit Queue <commit-queue@webkit.org>
1917 Unreviewed, rolling out r152860.
1918 http://trac.webkit.org/changeset/152860
1919 https://bugs.webkit.org/show_bug.cgi?id=119227
1921 Disable WinEWS tests until tests stop crashing (Requested by
1924 * Scripts/webkitpy/common/config/ews.json:
1926 2013-07-29 Zan Dobersek <zdobersek@igalia.com>
1928 [GTK] Add WestonDriver, use it when appropriate
1929 https://bugs.webkit.org/show_bug.cgi?id=119100
1931 Reviewed by Dirk Pranke.
1933 Introduce the WestonDriver, a Driver-implementing class that sets up an instance of Weston, the Wayland compositor,
1934 and sets up an environment that enables the test runner to run inside it.
1936 The design very much mimics the XvfbDriver class. It is currently used by the GTK port when the WAYLAND_DISPLAY
1937 environment variable is set, that is when NRWT is being run under a Wayland display.
1939 * Scripts/webkitpy/port/base.py:
1940 (Port.to.setup_environ_for_server): Also copy the XDG_RUNTIME_DIR env from the original environment for Linux-using ports.
1941 * Scripts/webkitpy/port/gtk.py:
1943 (GtkPort._driver_class): Make the method memoized - the display type is not going to change during the testing, so we
1944 should only check once for the presence of the WAYLAND_DISPLAY env and determine the proper driver class to use based on that.
1945 (GtkPort.check_sys_deps): Call the static check_driver method on the class as returned by the _driver_class method
1946 instead of hard-coding the XvfbDriver class in the check.
1947 * Scripts/webkitpy/port/westondriver.py: Added.
1949 (WestonDriver.check_driver): Similarly to XvfbDriver, this checks for existance of the weston executable.
1950 (WestonDriver.__init__): Again, like in XvfbDriver, we use a small delay between launching the Weston display and launching the driver.
1951 (WestonDriver._start): Sets up the driver-specific temporary directory, launches the Weston display, sets up the environment for the
1952 driver and then launches the driver in said environment, using the driver's Weston display.
1953 (WestonDriver.stop): Cleans up the Weston instance and the temporary directory.
1954 (WestonDriver._ensure_driver_tmpdir_subdirectory): A helper function that creates a subdirectory in the driver's temporary directory
1955 and returns the absolute path to it.
1956 * Scripts/webkitpy/port/xvfbdriver.py:
1957 (XvfbDriver.check_driver): Renamed from check_xvfb.
1958 (XvfbDriver._start): Access the FileSystem object through the Port's Host object, instead of the Port's private member.
1960 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
1962 [ATK] Implement attributesOfChildren() for AccessibilityUIElement
1963 https://bugs.webkit.org/show_bug.cgi?id=118967
1965 Reviewed by Gustavo Noronha Silva.
1967 Implemented AccessibilityUIElement::attributesOfChildren() both
1968 in DumpRenderTree and the WebKitTestRunner.
1970 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1971 (AccessibilityUIElement::attributesOfChildren): Implemented.
1973 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1974 (WTR::AccessibilityUIElement::attributesOfChildren): Implemented.
1976 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
1978 [ATK] Implement allAttributes() for AccessibilityUIElement
1979 https://bugs.webkit.org/show_bug.cgi?id=118966
1981 Reviewed by Gustavo Noronha Silva.
1983 Implemented AccessibilityUIElement::allAttributes() both in
1984 DumpRenderTree and the WebKitTestRunner.
1986 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1987 (getAtkAttributeSetAsString): Moved up in the file, and refactored
1988 to use StringBuilder and return a String instead of a gchar*.
1989 (roleToString): Changed not to return the "AXRole: " prefix, so
1990 we can use it as well from attributesOfElement().
1991 (attributesOfElement): New function to dump attributes for an object.
1992 (AccessibilityUIElement::allAttributes): Call attributesOfElement().
1993 (AccessibilityUIElement::role): Updated to prefix "AXRole: ".
1995 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1996 (getAtkAttributeSetAsString): Refactored to use StringBuilder and return
1997 a String instead of a gchar*.
1999 (WTF::roleToString): Changed not to return the "AXRole: " prefix,
2000 so we can use it as well from attributesOfElement().
2001 (WTF::attributesOfElement): New function to dump attributes for an object.
2002 (WTR::AccessibilityUIElement::allAttributes): Call attributesOfElement().
2003 (WTR::AccessibilityUIElement::role): Updated to prefix "AXRole: ".
2005 2013-07-29 Daniel Bates <dabates@apple.com>
2007 Add support infrastructure for iOS WebKit port
2008 https://bugs.webkit.org/show_bug.cgi?id=119168
2010 Reviewed by Ryosuke Niwa.
2012 Implement support infrastructure towards building iOS WebKit.
2014 * Scripts/webkitdirs.pm:
2015 (xcodeSDKPlatformName): Added.
2016 (determineConfigurationProductDir):
2017 (builtDylibPathForName):
2018 (willUseIOSDeviceSDKWhenBuilding): Added.
2019 (willUseIOSSimulatorSDKWhenBuilding): Added.
2020 (isIOSWebKit): Added.
2021 (copyInspectorFrontendFiles):
2023 2013-07-29 Sergio Correia <sergio.correia@openbossa.org>
2025 CoordinatedGraphics: Add API to get and set the active state of a WebView
2026 https://bugs.webkit.org/show_bug.cgi?id=119067
2028 Reviewed by Noam Rosenthal.
2030 Added API tests for WKViewIsActive and WKViewSetIsActive.
2032 * TestWebKitAPI/PlatformEfl.cmake:
2033 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp: Added.
2034 (TestWebKitAPI::didFinishLoadForFrame):
2035 (TestWebKitAPI::webProcessCrashed):
2036 (TestWebKitAPI::webProcessRelaunched):
2037 (TestWebKitAPI::TEST):
2038 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp:
2039 Bundle added to allow crashing the WebProcess and testing the active state of a view
2040 under such condition.
2041 (TestWebKitAPI::WKViewIsActiveSetIsActiveTest::WKViewIsActiveSetIsActiveTest):
2042 (TestWebKitAPI::WKViewIsActiveSetIsActiveTest::didReceiveMessage):
2044 2013-07-29 Zan Dobersek <zdobersek@igalia.com>
2046 [Automake] Remove references to non-existent *_CFLAGS and *_LIBS variables
2047 https://bugs.webkit.org/show_bug.cgi?id=119212
2049 Reviewed by Carlos Garcia Campos.
2051 * GNUmakefile.am: Remove references to GLOBALDEPS_(CFLAGS|LIBS) and CLUTTER_(CFLAGS|LIBS)
2052 variables that are not defined during the configuration process.
2053 * TestWebKitAPI/GNUmakefile.am: Ditto.
2054 * WebKitTestRunner/GNUmakefile.am: Ditto.
2056 2013-07-28 Andy Estes <aestes@apple.com>
2058 Include <stdio.h> to declare perror()
2059 https://bugs.webkit.org/show_bug.cgi?id=119198
2061 Reviewed by Andreas Kling.
2063 Silences an implicit declaration warning.
2065 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c:
2067 2013-07-27 Ryuan Choi <ryuan.choi@samsung.com>
2069 [EFL] Bump required version of EFL to 1.7
2070 https://bugs.webkit.org/show_bug.cgi?id=119144
2072 Reviewed by Christophe Dumez.
2074 * MiniBrowser/efl/CMakeLists.txt: Bumped EFL to 1.7
2076 2013-07-26 Filip Pizlo <fpizlo@apple.com>
2078 WKTR should know about the JSC extensions to testRunner
2079 https://bugs.webkit.org/show_bug.cgi?id=119154
2081 Reviewed by Mark Hahnenberg and Geoffrey Garen.
2083 This makes some fast/js tests pass.
2085 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2086 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2087 (WTR::TestRunner::numberOfDFGCompiles):
2088 (WTR::TestRunner::neverInlineFunction):
2089 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2091 2013-07-25 Mark Rowe <mrowe@apple.com>
2093 Fix build of DumpRenderTree and WebKitTestRunner when building against an SDK.
2095 * DumpRenderTree/mac/Configurations/Base.xcconfig: Fix framework search path when building against an SDK.
2096 * WebKitTestRunner/Configurations/Base.xcconfig: Ditto. Also fix where our scripts look for WebCore.framework
2097 so they pull the version out of the SDK.
2099 2013-07-25 Anders Carlsson <andersca@apple.com>
2101 Localizable.strings generated by extract-localizable-strings should be UTF-8
2102 https://bugs.webkit.org/show_bug.cgi?id=119106
2104 Reviewed by Mark Rowe.
2106 Output strings as UTF-8.
2108 * Scripts/extract-localizable-strings:
2110 2013-07-25 Sam Weinig <sam@webkit.org>
2112 -[WebHTMLView attributedSubstringForProposedRange:actualRange:] does not include strikethrough attribute in the returned attributed string
2113 https://bugs.webkit.org/show_bug.cgi?id=119099
2114 <rdar://problem/13439291>
2116 Reviewed by Enrica Casucci.
2118 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2119 * TestWebKitAPI/Tests/mac/AttributedString.mm:
2120 (TestWebKitAPI::attributedString):
2121 (TestWebKitAPI::AttributedStringTest_CustomFont::didLoadURL):
2122 (TestWebKitAPI::AttributedStringTest_CustomFont::url):
2123 (TestWebKitAPI::AttributedStringTest_CustomFont::runTest):
2124 (TestWebKitAPI::TEST_F):
2125 (TestWebKitAPI::AttributedStringTest_Strikethrough::didLoadURL):
2126 (TestWebKitAPI::AttributedStringTest_Strikethrough::url):
2127 (TestWebKitAPI::AttributedStringTest_Strikethrough::runTest):
2128 * TestWebKitAPI/Tests/mac/attributedStringStrikethrough.html: Added.
2129 Add tests for attributed strings with strikethrough. Refactor the attributed string tests
2130 to make adding more easier in the future.
2132 2013-07-20 Filip Pizlo <fpizlo@apple.com>
2134 fourthTier: FTL should be able to generate LLVM IR that uses an intrinsic for OSR exit
2135 https://bugs.webkit.org/show_bug.cgi?id=118948
2137 Reviewed by Sam Weinig.
2139 - Make ReducedFTL capable of dealing with code that uses the fake OSR exit intrinsic,
2140 by exporting it as a function.
2142 - Make combineModules.rb idempotent. Sometimes it's convenient to run a file through
2143 it even if you know that you've already done so. See processIRDump.sh.
2145 - Add a script, processIRDump.sh, that takes the output of --dumpLLVMIR=true and
2146 runs it through ReducedFTL automatically. You typically want to say something like:
2148 jsc --dumpLLVMIR=true <program(s)> > jsc-output.txt
2149 ./processIRDump.sh --timing < jsc-output.txt
2151 * ReducedFTL/ReducedFTL.c:
2153 * ReducedFTL/combineModules.rb:
2154 * ReducedFTL/processIRDump.sh: Added.
2156 2013-07-20 Filip Pizlo <fpizlo@apple.com>
2158 fourthTier: We should use the no-asserts build of LLVM if that's what the user configured
2159 https://bugs.webkit.org/show_bug.cgi?id=118947
2161 Reviewed by Dan Bernstein.
2163 * Scripts/copy-webkitlibraries-to-product-directory:
2165 2013-07-16 Filip Pizlo <fpizlo@apple.com>
2167 fourthTier: We should have a reduced FTL LLVM pipeline tool in the repository
2168 https://bugs.webkit.org/show_bug.cgi?id=118647
2170 Rubber stamped by Geoffrey Garen and Mark Hahnenberg.
2172 Add a tool that takes in an LLVM bitcode file and JITs it in exactly the same
2173 way that the FTL would.
2175 Also add a tool that combines multiple LLVM modules generated by FTL into a
2178 * ReducedFTL: Added.
2179 * ReducedFTL/ReducedFTL.c: Added.
2183 (mmAllocateCodeSection):
2184 (mmAllocateDataSection):
2185 (mmApplyPermissions):
2187 (symbolLookupCallback):
2189 * ReducedFTL/build.sh: Added.
2190 * ReducedFTL/combineModules.rb: Added.
2192 2013-06-09 Filip Pizlo <fpizlo@apple.com>
2194 Unreviewed, fix minor goof in profiling output layout. We weren't accounting
2195 for the "/" that is printed between engine counts.
2197 * Scripts/display-profiler-output:
2199 2013-05-28 Filip Pizlo <fpizlo@apple.com>
2201 testRunner should have a way of disabling inlining of functions
2202 https://bugs.webkit.org/show_bug.cgi?id=116875
2204 Reviewed by Mark Hahnenberg.
2206 * DumpRenderTree/TestRunner.cpp:
2207 (neverInlineFunction):
2208 (TestRunner::staticFunctions):
2210 2013-05-27 Filip Pizlo <fpizlo@apple.com>
2212 testRunner should be able to tell you if a function is DFG compiled
2213 https://bugs.webkit.org/show_bug.cgi?id=116847
2215 Reviewed by Mark Hahnenberg.
2217 * DumpRenderTree/TestRunner.cpp:
2218 (numberOfDFGCompiles):
2219 (TestRunner::staticFunctions):
2221 2013-05-21 Filip Pizlo <fpizlo@apple.com>
2223 fourthTier: display-profiler-output should make it even easier to diff the compilation story between two different runs
2224 https://bugs.webkit.org/show_bug.cgi?id=116556
2226 Reviewed by Oliver Hunt.
2228 This adds three new capabilities:
2230 - 'display' now accepts negative compilation indices, and allows specifying
2231 wildcard hashes combined with combination indices. Previously you could say
2232 'display <hash>', 'display <hash>-<index>-<engine>', or 'display *'. The
2233 latter would display every compilation. This improves this so that you can
2234 say 'display *-<index>-<engine>'. It also makes it so that you can give a
2235 negative index, which allows you to say things like 'display blah--1-dfg',
2236 which displays just the last DFG compilation. Also you can say
2237 'display *--1-dfg', which displays the last DFG compilation for each code
2238 block. I realize that this is kind of ugly, but gosh is it practical.
2240 - You can now say 'sort hash', which will henceforth sort all of the output
2241 by code hash rather than by the time when it was compiled. This means that
2242 if you're doing 'dispay *--1-dfg' and then want to diff the results against
2243 something else, you can ensure that this doesn't get confused just by
2244 changes in compilation order.
2246 - You can now say 'counts off', which will henceforth disable the display of
2247 execution counts from 'bytecode' and 'display'. This is also useful for
2248 diffs, since if you're trying to figure out why two compilations are
2249 different, they probably have radically different counts. 'counts off' gets
2250 this out of the output so that it doesn't confuse your diff.
2252 Note that to use this effectively you should also have a script that scrubs
2253 pointers from text so that the diff doesn't get confused by pointers. I'll
2254 post my elimptr script to the bug. Maybe at some point I'll integrate that
2255 into display-profiler-output.
2257 Put together this is pretty awesome. I was able to do the following:
2259 (echo "counts off" && echo "sort hash" && echo "d *--1-dfg") | Tools/Scripts/display-profiler-output richards-serial.profile | elimptr > richards-serial.asm
2260 (echo "counts off" && echo "sort hash" && echo "d *--1-dfg") | Tools/Scripts/display-profiler-output richards-concurrent.profile | elimptr > richards-concurrent.asm
2261 diff -u richards-serial.asm richards-concurrent.asm
2263 And this immediately told me that the reason why richards is slower in the
2264 concurrent compilation case is just that we end up compiling *tons* more
2265 functions, most of which are trivially inlineable. Basically, concurrent
2266 compilation breaks our previous heuristics for delaying compilation of
2267 inlineables just enough that they never trigger compilation. We should fix
2268 that in a separate bug.
2270 * Scripts/display-profiler-output:
2272 2013-04-30 Filip Pizlo <fpizlo@apple.com>
2274 fourthTier: Use hw.availcpu instead of hw.ncpu, and configure LLVM with --enable-zlib=no
2276 Rubber stamped by Mark Rowe.
2278 * Scripts/copy-webkitlibraries-to-product-directory:
2280 2013-07-16 Oliver Hunt <oliver@apple.com>
2282 Merge dfgFourthTier r148853
2284 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2286 fourthTier: tandem WebKit and LLVM builds should ./configure LLVM if needed
2287 https://bugs.webkit.org/show_bug.cgi?id=114933
2289 Reviewed by Andy Estes.
2291 This makes it easy to get set up for tandem LLVM builds.
2293 * Scripts/copy-webkitlibraries-to-product-directory:
2295 2013-07-16 Oliver Hunt <oliver@apple.com>
2297 Merge dfgFourthTier r148850
2299 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2301 fourthTier: WebKit's build system should relink JavaScriptCore if LLVM's libraries changed but its headers didn't
2302 https://bugs.webkit.org/show_bug.cgi?id=114926
2304 Reviewed by Geoffrey Garen.
2306 If the LLVM libraries change, then touch a phony header, which will force relink
2309 * Scripts/copy-webkitlibraries-to-product-directory:
2310 (unpackIfNecessary):
2312 2013-07-16 Oliver Hunt <oliver@apple.com>
2314 Merge dfgFourthTier r148848
2316 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2318 fourthTier: developing LLVM in tandem with WebKit should be fun and easy
2319 https://bugs.webkit.org/show_bug.cgi?id=114925
2321 Reviewed by Geoffrey Garen.
2323 This enables building LLVM along with WebKit, so that build-jsc and build-webkit
2324 will also optionally build LLVM and quickly symlink LLVM's built products into
2327 Most WebKit and JSC hackers will want to rely on the checked-in already-built
2328 versions of LLVM in WebKitLibraries. But developing both systems in tandem is an
2329 increasingly common use-case for me, and it may become a common use case for a
2330 handful of others. Currently, this is really painful: you first have to build
2331 LLVM, then you have to export-llvm-build (which takes a while), and then you
2332 have to make sure that your LLVM_LIBRARY_PACKAGE and LLVM_INCLUDE_PACKAGE
2333 variables are set to point to the thing you exported. The whole process loses
2334 track of dependencies very quickly: making a tiny change in LLVM requires
2335 packaging, and then unpackaging, a large number of potentially large headers and
2336 static libraries. Not only is this slow but it then causes the WebKit build
2337 system to rebuild anything that transitively includes any LLVM header, which is
2338 now quite a few files. While this sort of use pattern is still worthwhile if
2339 you're trying to package a binary drop and test it, it's not great if you're
2340 just trying to do experimental development that involves making small changes
2343 This change fixes this use case while keeping the old use cases intact. You can
2344 do tandem development using one of two modes:
2346 Your own LLVM directory: just set LLVM_SOURCE_PATH to the *absolute* path of
2347 the LLVM directory you're using. Once this is done, any invocation of a WebKit
2348 build via build-jsc or build-webkit will also build LLVM, and then quickly
2349 symlink things into place without perturbing dependency tracking.
2351 Internal LLVM directory: if you check out llvm into a directory called 'llvm'
2352 right off of the WebKit source tree, then the build system will automatically
2355 Here's how this takes care of dependencies:
2357 Headers: the include/llvm and include/llvm-c directories are symlinked into
2358 $productsDir/usr/local/include. And then everything just works.
2360 Libraries: the build system detects, by reading LLVM's Makefile.config, which
2361 mode LLVM is built in (like Release+Asserts or Debug+Asserts) and symlinks
2362 the .a files into $productsDir/<thingy>. It will ranlib those libraries only
2363 if they have changed, by checking both the modification time and also whether
2364 the last time we had a symlink, that symlink was from the same directory.
2365 This helps if you switch to an *older* LLVM build (using LLVM_SOURCE_PATH)
2366 but that build wasn't yet ranlib'd.
2368 One problem that this does not yet solve is that xcodebuild will not relink
2369 JavaScriptCore if the only thing that changed was the libraries. I will work
2370 on this problem separately: https://bugs.webkit.org/show_bug.cgi?id=114926.
2372 * Scripts/copy-webkitlibraries-to-product-directory:
2373 (unpackIfNecessary):
2375 (fileContentsEquals):
2377 2013-04-15 Filip Pizlo <fpizlo@apple.com>
2379 fourthTier: Update LLVM-related build scripts to copy generated headers as well
2380 https://bugs.webkit.org/show_bug.cgi?id=114551
2382 Reviewed by Oliver Hunt.
2384 Also added the ability to use something other than bzip2 compression, since although
2385 it is great for checking things into the tree, it increases turn-around times when
2388 * Scripts/copy-webkitlibraries-to-product-directory:
2389 (unpackIfNecessary):
2390 * Scripts/export-llvm-build:
2392 2013-04-03 Filip Pizlo <fpizlo@apple.com>
2394 fourthTier: Include LLVM headers with surrounding #pragmas instead of using my #define
2395 https://bugs.webkit.org/show_bug.cgi?id=113921
2397 Reviewed by Oliver Hunt.
2399 The LLVM community wants us to continue including all of LLVM's C++ headers. Change
2400 the export script to do this.
2402 * Scripts/export-llvm-build:
2404 2013-03-29 Filip Pizlo <fpizlo@apple.com>
2406 fourthTier: Check in a known-good build of LLVM into WebKitLibraries, and have a story for updating it
2407 https://bugs.webkit.org/show_bug.cgi?id=113452
2409 Rubber stamped by Mark Hahnenberg.
2411 * Scripts/copy-webkitlibraries-to-product-directory:
2412 * Scripts/export-llvm-build:
2414 2013-03-29 Filip Pizlo <fpizlo@apple.com>
2416 fourthTier: FTL JIT should be able run some simple function
2417 https://bugs.webkit.org/show_bug.cgi?id=113481
2419 Reviewed by Geoffrey Garen.
2421 Give the scripts the ability to find an LLVM build and use it.
2423 Also added a script, export-llvm-build, that allows you to take your
2424 own build of LLVM and package it for use by WebKit's build system.
2426 The build system treats a "build" of LLVM as a pair of .tar.bz2's,
2427 one for the library archives and one for the headers. It then unpacks
2428 them into your built products directory in a mannner that is mostly
2429 analogous to how WebKitSystemInterface works.
2431 * Scripts/build-jsc:
2432 * Scripts/copy-webkitlibraries-to-product-directory:
2433 (unpackIfNecessary):
2435 * Scripts/export-llvm-build: Added.
2437 2013-07-24 Anders Carlsson <andersca@apple.com>
2439 Crash when calling WKPageGetProcessIdentifier after aborted process launch
2440 https://bugs.webkit.org/show_bug.cgi?id=119069
2441 <rdar://problem/14494064>
2443 Reviewed by Andreas Kling.
2447 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2448 * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp: Added.
2449 (TestWebKitAPI::didFinishLoadForFrame):
2450 (TestWebKitAPI::TEST):
2452 2013-07-24 Zan Dobersek <zdobersek@igalia.com>
2454 Make KURL::hasPath private
2455 https://bugs.webkit.org/show_bug.cgi?id=118279
2457 Reviewed by Darin Adler.
2459 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
2460 (TestWebKitAPI::TEST_F): Remove references to KURL::hasPath the method is now private and thus not accessible for testing.
2462 2013-07-24 Anton Obzhirov <a.obzhirov@samsung.com>
2464 [GTK] TestInspectorServer unit test is timing out
2465 https://bugs.webkit.org/show_bug.cgi?id=105866
2467 Reviewed by Gustavo Noronha Silva.
2469 * Scripts/run-gtk-tests:
2472 2013-07-24 Anton Obzhirov <a.obzhirov@samsung.com>
2474 [GTK] [WK2] Handle wheel event with delta zero
2475 https://bugs.webkit.org/show_bug.cgi?id=118973
2477 Reviewed by Gustavo Noronha Silva.
2479 Added handling of zero mouse scroll deltas in EventSenderProxy similar
2480 to WK1 and Qt/EFL ports.
2482 fast/events/platform-wheelevent-with-delta-zero-crash.html is no longer
2485 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2486 (WTR::EventSenderProxy::mouseScrollBy):
2488 2013-07-23 Andreas Kling <akling@apple.com>
2490 REGRESSION(r150867): FrameView auto-sizing + delegate denied image load may cause StyleResolver to re-enter itself.
2491 <rdar://problem/14324895>
2492 <http://webkit.org/b/119023>
2494 Reviewed by Simon Fraser.
2496 Add a test for this rather specific problem.
2498 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2499 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm: Added.
2500 (TestWebKitAPI::TEST):
2501 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp: Added.
2502 (TestWebKitAPI::DenyWillSendRequestTest::DenyWillSendRequestTest):
2503 (TestWebKitAPI::DenyWillSendRequestTest::willSendRequestForFrame):
2504 (TestWebKitAPI::DenyWillSendRequestTest::didCreatePage):
2506 2013-07-23 Tim Horton <timothy_horton@apple.com>
2508 Add a test for plug-in unavailability indicator obscurity detection
2509 https://bugs.webkit.org/show_bug.cgi?id=119007
2511 Reviewed by Anders Carlsson.
2513 Expose the ability to block plug-ins via pluginLoadPolicy to testRunner.
2515 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2516 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2517 (WTR::TestRunner::setBlockAllPlugins):
2518 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2519 * WebKitTestRunner/TestInvocation.cpp:
2520 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2521 Add testRunner.setBlockAllPlugins function (and corresponding message to
2522 forward it through to TestController).
2524 * WebKitTestRunner/TestController.cpp:
2525 Initialize m_shouldBlockAllPlugins to false (and drive-by initialize m_handlesAuthenticationChallenges).
2527 (WTR::TestController::createWebViewWithOptions):
2528 Register our pluginLoadPolicy callback.
2530 (WTR::TestController::resetStateToConsistentValues):
2531 Reset m_shouldBlockAllPlugins to false.
2533 (WTR::TestController::pluginLoadPolicy):
2534 Return the existing plugin load policy, unless setBlockAllPlugins(true)
2535 was called, in which case we reject all plugins with kWKPluginLoadPolicyBlocked.
2537 * WebKitTestRunner/TestController.h:
2538 (WTR::TestController::setBlockAllPlugins):
2540 2013-07-21 Andreas Kling <akling@apple.com>
2542 KURL creates duplicate strings when completing data: URIs.
2543 <http://webkit.org/b/118952>
2544 <rdar://problem/14504480>
2546 Reviewed by Anders Carlsson.
2548 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
2549 (TestWebKitAPI::TEST_F):
2551 2013-07-19 Chris Fleizach <cfleizach@apple.com>
2553 AX: VoiceOver not detecting misspelled words don't work in all cases
2554 https://bugs.webkit.org/show_bug.cgi?id=118924
2556 Reviewed by Tim Horton.
2558 Make the misspelled detection dependent on both types of attributes being present.
2560 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2561 (AccessibilityUIElement::attributedStringRangeIsMisspelled):
2562 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2563 (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
2565 2013-07-19 Alex Christensen <achristensen@apple.com>
2567 Improved code coverage generation.
2568 https://bugs.webkit.org/show_bug.cgi?id=118926
2570 Reviewed by Tim Horton.
2572 * Scripts/build-webkit: Removed exception preventing ANGLE code coverage support.
2573 * Scripts/generate-coverage-data: Added --no-build to run-javascriptcore-tests call.
2574 (generateReport): Moved report generation to a subroutine.
2576 2013-07-19 Stephanie Lewis <slewis@apple.com>
2578 <rdar://problem/14499595> pagination wk2 api test failing on ML (118928)
2582 Rebaseline pagination test after http://trac.webkit.org/changeset/152911
2584 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
2585 (TestWebKitAPI::didLayout):
2587 2013-07-19 Daniel Bates <dabates@apple.com>
2589 Make Perl tools work when using git bisect with Git branch build setup
2590 https://bugs.webkit.org/show_bug.cgi?id=118512
2592 Reviewed by Martin Robinson.
2594 The various Perl tools (run-webkit-app, {debug, run}-safari, et cetera) don't work
2595 during a git bisect session with a Git branch build setup (i.e. git config
2596 core.webKitBranchBuild true). Specifically, the tools cannot find the branch-
2597 specific build of WebKit because they cannot determine the branch Git is on (since
2598 git bisect puts Git into a detached HEAD state). We should teach our tooling to
2599 parse the file .git/BISECT_START (created by git bisect start) for the name of the
2600 branch Git was on when we began a git bisect session. Then the tools can determine
2601 the path to the built WebKit.
2603 * Scripts/VCSUtils.pm:
2604 (gitDirectory): Added.
2605 (gitBisectStartBranch): Added.
2606 (gitBranch): Modified to call gitBisectStartBranch() when we have a detached
2607 HEAD (e.g. running git bisect).
2608 (determineVCSRoot): Modified to call gitDirectory() to determine the path to
2609 the .git directory in the Git checkout.
2611 2013-07-19 Alex Christensen <achristensen@apple.com>
2613 Added x64 configuration to Visual Studio build.
2614 https://bugs.webkit.org/show_bug.cgi?id=118888
2616 Reviewed by Brent Fulgham.
2618 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
2619 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters:
2620 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
2621 * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
2622 * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
2623 * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
2624 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2625 * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
2626 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2627 * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
2628 * win/record-memory/record-memory.vcxproj:
2630 2013-07-19 Martin Robinson <mrobinson@igalia.com>
2632 Add a couple people to the MathML watchlist
2633 https://bugs.webkit.org/show_bug.cgi?id=118909
2635 Reviewed by Andreas Kling.
2637 Add a couple people to the MathML watchlist and add Kalyan's other
2638 email address to fix style checker warnings about the watchlist
2641 * Scripts/webkitpy/common/config/contributors.json: Add Frédéric to the
2642 list of contributors and add Kalyan's second email address.
2643 * Scripts/webkitpy/common/config/watchlist: Add myself and Frédéric to the MathML
2646 2013-07-19 Simon Pena <simon.pena@samsung.com>
2648 [GTK] Fix regression in DumpRenderTree introduced in r152782 by checking if uri is valid
2649 https://bugs.webkit.org/show_bug.cgi?id=118895
2651 Reviewed by Philippe Normand.
2653 In r152782 an uri is used to create an string representation without checking first if it
2654 is valid. That fails later when the string is used to check for existing redirections. This
2655 patch ensures that the uri is valid before using it.
2657 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2658 (willSendRequestCallback): Ensure an uri is valid before using it.
2660 2013-07-18 Timothy Hatcher <timothy@apple.com>
2662 Add extract-localizable-js-strings and use it for WebInspectorUI.
2664 https://bugs.webkit.org/show_bug.cgi?id=118851
2666 Reviewed by Joseph Pecoraro.
2668 * Scripts/extract-localizable-js-strings: Added.
2669 * Scripts/extract-localizable-strings: Drive-by-fix: disable deprecated warnings about "goto".
2670 * Scripts/update-webkit-localizable-strings: Use extract-localizable-js-strings for
2671 the WebInspectorUI project.
2673 2013-07-18 Brent Fulgham <bfulgham@apple.com>
2675 [Windows] Build correction #2 after r152861.
2677 * WinLauncher/WinLauncher.cpp: Declare proper linkage.
2679 2013-07-18 Brent Fulgham <bfulgham@apple.com>
2681 [Windows] Build correction after r152861.
2683 * WinLauncher/WinLauncher.cpp: Don't reference private header.
2685 2013-07-16 Brent Fulgham <bfulgham@apple.com>
2687 [Win] Support in-band text tracks.
2688 https://bugs.webkit.org/show_bug.cgi?id=103770
2690 Reviewed by Eric Carlson.
2692 Update WinLauncher to run in a CFRunLoop (rather than a hand-written Windows event loop) so that
2693 libdispatch and CFRunLoop elements are services during the run loop.
2695 * WinLauncher/WinLauncher.cpp:
2696 (dllLauncherEntryPoint): Use CFRunLoopRun (rather than a Windows message loop) if running with
2697 a CoreFoundation (or CFLite) support library.
2698 * WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props: Added.
2699 * WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props: Added.
2700 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Add references to WinLauncherCF.props
2701 and WinLauncherCFLite.props.
2703 2013-07-18 Roger Fong <roger_fong@apple.com>
2705 Unreviewed. Test enabling WinEWS tests now that queue is at a good state and NRWT with multiple processes is enabled.
2707 * Scripts/webkitpy/common/config/ews.json:
2709 2013-07-18 Daniel Bates <dabates@apple.com>
2711 REGRESSION (r132678): Tests that use SSL or port 8080 time out when run using old-run-webkit-tests
2712 https://bugs.webkit.org/show_bug.cgi?id=118854
2713 <rdar://problem/14081339>
2715 Reviewed by David Kilzer.
2717 Following <http://trac.webkit.org/changeset/132678> (https://bugs.webkit.org/show_bug.cgi?id=98602)
2718 Apache no longer listens to ports 8443 (SSL) and 8080. So, tests that use these ports time out when
2719 run using old-run-webkit-tests. We need to update old-run-webkit-tests to explicitly tell Apache to
2720 listen on these ports so that we can run tests that use port 8443 and 8080.
2722 * Scripts/old-run-webkit-tests:
2723 (configureAndOpenHTTPDIfNeeded):
2725 2013-07-17 Tim Horton <timothy_horton@apple.com>
2727 Update blocked/missing plug-in UI
2728 https://bugs.webkit.org/show_bug.cgi?id=118347
2729 <rdar://problem/14209318>
2731 Reviewed by Sam Weinig.
2733 * MiniBrowser/mac/WK2BrowserWindowController.m:
2734 (-[WK2BrowserWindowController awakeFromNib]):
2735 * WebKitTestRunner/TestController.cpp:
2736 (WTR::TestController::createWebViewWithOptions):
2737 Match new WKPageLoaderClient entry.
2739 2013-07-17 Commit Queue <commit-queue@webkit.org>
2741 Unreviewed, rolling out r152701, r152703, r152739, r152754,
2743 http://trac.webkit.org/changeset/152701
2744 http://trac.webkit.org/changeset/152703
2745 http://trac.webkit.org/changeset/152739
2746 http://trac.webkit.org/changeset/152754
2747 http://trac.webkit.org/changeset/152756
2748 https://bugs.webkit.org/show_bug.cgi?id=118821
2750 this was a buggy fix and we're going to try something
2751 different (Requested by thorton on #webkit).
2753 * MiniBrowser/mac/WK2BrowserWindowController.m:
2754 (-[WK2BrowserWindowController awakeFromNib]):
2755 * WebKitTestRunner/TestController.cpp:
2756 (WTR::TestController::createWebViewWithOptions):
2758 2013-07-17 Commit Queue <commit-queue@webkit.org>
2760 Unreviewed, rolling out r151535.
2761 http://trac.webkit.org/changeset/151535
2762 https://bugs.webkit.org/show_bug.cgi?id=118804
2764 Re-disable WinEWS tests (Requested by rfong on #webkit).
2766 * Scripts/webkitpy/common/config/ews.json:
2768 2013-07-17 Simon Pena <simon.pena@samsung.com>
2770 [GTK] Make DRT obbey testRunner's addURLToRedirect
2771 https://bugs.webkit.org/show_bug.cgi?id=118239
2773 Reviewed by Gustavo Noronha Silva.
2775 Support testRunner's addURLToRedirect in GTK's DRT, so it redirects
2776 to the proper URI when indicated.
2778 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2779 (willSendRequestCallback):
2781 2013-07-17 Gabor Abraham <abrhm@inf.u-szeged.hu>
2783 Add a new find-resolved-bugs command to webkit-patch.
2784 https://bugs.webkit.org/show_bug.cgi?id=118060
2786 Reviewed by Csaba Osztrogonác.
2788 * Scripts/webkitpy/tool/commands/queries.py:
2789 (PrintBaselines._platform_for_path):
2791 (FindResolvedBugs.execute):
2793 2013-07-16 Balazs Kelemen <kbalazs@webkit.org>
2795 [CMake] Undefined references should be detected at build time
2796 https://bugs.webkit.org/show_bug.cgi?id=110236
2798 Reviewed by Christophe Dumez.
2800 Add library dependencies that were not defined explicitly before.
2802 * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2803 * TestWebKitAPI/CMakeLists.txt:
2804 * WebKitTestRunner/CMakeLists.txt:
2806 2013-07-16 Kwang Yul Seo <skyul@company100.net>
2808 check-webkit-style: "using namespace foo;" should be flagged as an error only in headers
2809 https://bugs.webkit.org/show_bug.cgi?id=118755
2811 Reviewed by Ryosuke Niwa.
2813 Fix r152719 to check "using namespace foo;" only in headers.
2815 * Scripts/webkitpy/style/checkers/cpp.py:
2816 (check_using_namespace):
2818 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2819 (WebKitStyleTest.test_using_namespace):
2821 2013-07-16 Christophe Dumez <ch.dumez@sisa.samsung.com>
2823 Get rid of multiple inheritance support from the bindings generators
2824 https://bugs.webkit.org/show_bug.cgi?id=118353
2826 Reviewed by Kentaro Hara.
2828 Update CodeGeneratorTestRunner.pm to use domInterface->parent instead of
2829 deprecated domInterface->parents.
2831 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2834 2013-07-16 Brian Holt <brian.holt@samsung.com>
2836 check-webkit-style: "using namespace foo;" should be flagged as an error in headers
2837 https://bugs.webkit.org/show_bug.cgi?id=57241
2839 Reviewed by Ryosuke Niwa.
2841 Added check for "using namespace foo" and unit test.
2843 * Scripts/webkitpy/style/checkers/cpp.py:
2844 (check_using_namespace):
2847 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2848 (WebKitStyleTest.test_using_namespace):
2850 2013-07-16 Anton Obzhirov <a.obzhirov@samsung.com>
2852 [GTK] fast/events/platform-wheelevent-with-delta-zero-crash.html is crashing
2853 https://bugs.webkit.org/show_bug.cgi?id=110222
2855 Reviewed by Gustavo Noronha Silva.
2857 Added handling of zero mouse scroll deltas in EventSender.
2859 * DumpRenderTree/gtk/EventSender.cpp:
2860 (mouseScrollByCallback):
2862 2013-07-16 Brian Holt <brian.holt@samsung.com>
2864 webkitpy: replace urllib with urllib2 for downloading additional modules
2865 https://bugs.webkit.org/show_bug.cgi?id=118671
2867 Reviewed by Ryosuke Niwa.
2869 Urllib2 is available whereever urllib is, but has better proxy support.
2871 * Scripts/webkitpy/common/system/autoinstall.py:
2872 (AutoInstaller._download_to_stream):
2874 2013-07-16 Krzysztof Czech <k.czech@samsung.com>
2876 [ATK] Adds support for aria-haspopup property.
2877 https://bugs.webkit.org/show_bug.cgi?id=117834
2879 Reviewed by Christophe Dumez.
2881 Adds implementation for testing aria-haspopup property.
2883 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2884 (getAttributeSetValueForId):
2885 (AccessibilityUIElement::stringAttributeValue):
2886 (AccessibilityUIElement::hasPopup):
2887 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2888 (WTR::getAttributeSetValueForId):
2889 (WTR::AccessibilityUIElement::stringAttributeValue):
2890 (WTR::AccessibilityUIElement::hasPopup):
2892 2013-07-16 Michael Brüning <michael.bruning@digia.com>
2894 [Qt] Replace Nokia references.
2895 https://bugs.webkit.org/show_bug.cgi?id=118728
2897 Reviewed by Simon Hausmann.
2899 * MiniBrowser/qt/MiniBrowserApplication.cpp:
2900 (MiniBrowserApplication::MiniBrowserApplication):
2901 * QtTestBrowser/qttestbrowser.cpp:
2902 (LauncherApplication::LauncherApplication):
2904 2013-07-15 Tim Horton <timothy_horton@apple.com>
2906 Update blocked/missing plug-in UI
2907 https://bugs.webkit.org/show_bug.cgi?id=118347
2908 <rdar://problem/14209318>
2910 Reviewed by Sam Weinig.
2912 * MiniBrowser/mac/WK2BrowserWindowController.m:
2913 (-[WK2BrowserWindowController awakeFromNib]):
2914 * WebKitTestRunner/TestController.cpp:
2915 (WTR::TestController::createWebViewWithOptions):
2916 Match new WKPageLoaderClient entry.
2918 2013-07-15 Chris Fleizach <cfleizach@apple.com>
2920 Update James Craig's email address.
2922 * Scripts/webkitpy/common/config/contributors.json:
2924 2013-07-15 Dong-Gwan Kim <donggwan.kim@samsung.com>
2926 [EFL] Add fallback for TestWebKitAPI if opengl is not available.
2927 https://bugs.webkit.org/show_bug.cgi?id=118583
2929 Reviewed by Christophe Dumez.
2931 There're many fails on efl webkit2 API test if opengl is not available.
2932 So, add fallback to non-opengl evas engine.
2934 * TestWebKitAPI/efl/PlatformWebView.cpp:
2935 (TestWebKitAPI::initEcoreEvas):
2937 2013-07-15 Brian Holt <brian.holt@samsung.com>
2939 check-webkit-style: Ignore false positive: Instance of 'Popen' has no 'pid' member
2940 https://bugs.webkit.org/show_bug.cgi?id=118592
2942 Reviewed by Martin Robinson.
2944 Added a suppression for pylint false positives and a unit test.
2946 * Scripts/webkitpy/style/checkers/python.py:
2948 * Scripts/webkitpy/style/checkers/python_unittest.py:
2949 (PythonCheckerTest.test_check):
2950 (PythonCheckerTest):
2951 (PythonCheckerTest.test_pylint_false_positives):
2952 (PythonCheckerTest.test_pylint_false_positives._mock_handle_style_error):
2953 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Added.
2956 2013-07-15 Xabier Rodriguez Calvar <calvaris@igalia.com>
2958 [GTK] Increase the JHBuild version of GStreamer to 1.0.7
2959 https://bugs.webkit.org/show_bug.cgi?id=115166
2961 Reviewed by Philippe Normand.
2963 * gtk/jhbuild.modules: Bumping GStreamer version up to 1.0.8.
2965 2013-07-12 Kwang Yul Seo <skyul@company100.net>
2967 Unreviewed. Add an email address and update my domain of experts.
2969 * Scripts/webkitpy/common/config/contributors.json:
2971 2013-07-12 Emanuele Aina <emanuele.aina@collabora.com>
2973 [jhbuild] Avoid restarting from scratch failed initial checkouts
2974 https://bugs.webkit.org/show_bug.cgi?id=118603
2976 Reviewed by Martin Robinson.
2978 If the initial checkout is interrupted midway (eg. because the internet
2979 connection went down) config files do not get generated and that causes
2980 the next checkout to start from scratch (the missing files cause the
2981 script to delete the build root and the downloaded sources).
2983 By generating the files before invoking jhbuild, subsequent runs are able
2984 to start where the previous run left.
2986 * Scripts/update-webkit-libs-jhbuild:
2987 (saveJhbuildMd5): invoke it before runJhbuild().
2989 2013-07-12 Brent Fulgham <bfulgham@apple.com>
2991 [Windows] Remove single-worker restriction on tests.
2993 * Scripts/webkitpy/port/win.py: Remove restriction of one worker.
2995 2013-07-12 Commit Queue <commit-queue@webkit.org>
2997 Unreviewed, rolling out r152599.
2998 http://trac.webkit.org/changeset/152599
2999 https://bugs.webkit.org/show_bug.cgi?id=118612
3001 This patch includes a failing unit test (Requested by
3002 mrobinson on #webkit).
3004 * Scripts/webkitpy/style/checkers/python.py:
3006 * Scripts/webkitpy/style/checkers/python_unittest.py:
3007 (PythonCheckerTest.test_check):
3008 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Removed.
3010 2013-07-12 Emanuele Aina <emanuele.aina@collabora.com>
3012 [Tools] Ignore missing GNUmakefile when detecting previous arch in build-webkit
3013 https://bugs.webkit.org/show_bug.cgi?id=91223
3015 Reviewed by Martin Robinson.
3017 When run on a clean checkout, `build-webkit` complains that no
3018 GNUmakefile exists when trying to detect the previously configured
3019 architecture, but in this case there's no previous configuration so
3020 the warning is pointless.
3022 * Scripts/webkitdirs.pm:
3023 (determineArchitecture): Redirect grep stderr to /dev/null.
3025 2013-07-12 Brian Holt <brian.holt@samsung.com>
3027 check-webkit-style: Ignore false positive: Instance of 'Popen' has no 'pid' member
3028 https://bugs.webkit.org/show_bug.cgi?id=118592
3030 Reviewed by Martin Robinson.
3032 Added a suppression for pylint false positives and a unit test.
3034 * Scripts/webkitpy/style/checkers/python.py:
3036 * Scripts/webkitpy/style/checkers/python_unittest.py:
3037 (PythonCheckerTest.test_check):
3038 (PythonCheckerTest):
3039 (PythonCheckerTest.test_pylint_false_positives):
3040 (PythonCheckerTest.test_pylint_false_positives._mock_handle_pylint_false_positives):
3041 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Added.
3044 2013-07-11 Arnaud Renevier <a.renevier@samsung.com>
3046 Unreviewed. Add myself as a committer.
3048 * Scripts/webkitpy/common/config/contributors.json:
3050 2013-07-10 Sergio Correia <sergio.correia@openbossa.org>
3052 Handle "load,provisional,failed" with the on_error callback on EFL MiniBrowser
3053 https://bugs.webkit.org/show_bug.cgi?id=118538
3055 Reviewed by Christophe Dumez.
3057 When attempting some odd url such as ``foo'', MiniBrowser will now show an
3058 error message such as "Cannot resolve hostname (foo)".
3060 Previously, it had the following behavior if MiniBrowser was started with
3061 such urls, e.g ``./MiniBrowser foo'':
3064 It wouldt hit WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp(460) and crash.
3067 No asserts, naturally, but the view would remain blank, even if we tried to
3068 change to a valid url.
3070 * MiniBrowser/efl/main.c:
3073 2013-07-10 Simon Pena <simon.pena@samsung.com>
3075 [GTK] WebKitTestRunner tries to remove an already deleted event in EventSenderProxy::replaySavedEvents
3076 https://bugs.webkit.org/show_bug.cgi?id=118509
3078 Reviewed by Martin Robinson.
3080 In EventSenderProxy::replaySavedEvents WebKitTestRunner can crash
3081 when trying to remove an event already removed, if another event is
3082 processed in the middle. By using a Deque's takeFirst, we ensure the
3083 element is removed before we dispatch it.
3085 fast/events/mousedown-inside-dragstart-should-not-cause-crash.html no longer
3086 crashes after this fix is added.
3088 * WebKitTestRunner/EventSenderProxy.h: Use a Deque instead of Vector in GTK
3089 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
3090 (WTR::EventSenderProxy::replaySavedEvents): Use takeFirst to retrieve the event
3093 2013-07-09 Ryuan Choi <ryuan.choi@samsung.com>
3095 [EFL] Add ewk_view_device_pixel_ratio_set
3096 https://bugs.webkit.org/show_bug.cgi?id=118521
3098 Reviewed by Gyuyoung Kim.
3100 * EWebLauncher/main.c: Added new option(-r) to test device pixel ratio.
3102 (parseUserArguments):
3104 2013-07-09 Bruno de Oliveira Abinader <brunoabinader@gmail.com>
3106 Unreviewed change of my email addresses.
3107 https://bugs.webkit.org/show_bug.cgi?id=100122
3109 * Scripts/webkitpy/common/config/contributors.json:
3111 2013-07-09 Anders Carlsson <andersca@apple.com>
3113 DumpRenderTree should stop sending unsupported URLs to NSWorkspace
3114 https://bugs.webkit.org/show_bug.cgi?id=118514
3115 <rdar://problem/13686836>
3117 Reviewed by Sam Weinig.
3119 Add a new default policy delegate and override decidePolicyForNavigationAction: to not pass unhandled URLs to NSWorkspace.
3121 * DumpRenderTree/DefaultPolicyDelegate.h: Added.
3122 * DumpRenderTree/DefaultPolicyDelegate.m: Added.
3123 (-[DefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3124 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3125 Add DefaultPolicyDelegate.h and DefaultPolicyDelegate.m.
3127 * DumpRenderTree/mac/DumpRenderTree.mm:
3128 (allocateGlobalControllers):
3129 Allocate a DefaultPolicyDelegate object.
3131 (resetWebViewToConsistentStateBeforeTesting):
3132 Set the policy delegate to the default policy delegate.
3134 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3135 Declare the defaultPolicyDelegate object.
3137 * DumpRenderTree/mac/TestRunnerMac.mm:
3138 (TestRunner::setCustomPolicyDelegate):
3139 Set the policy delegate to the default delegate if setDelegate is false.
3141 2013-07-08 Zan Dobersek <zdobersek@igalia.com>
3143 KURL unit test fixture class should have a meaningful name
3144 https://bugs.webkit.org/show_bug.cgi?id=118467
3146 Reviewed by Sam Weinig.
3148 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
3149 (TestWebKitAPI::TEST_F): Use 'KURLTest' as the name for the KURL unit test's fixture class
3150 instead of the generic and inappropriate 'WebCore' name.
3152 2013-07-08 Antti Koivisto <antti@apple.com>
3154 Add Deque::removeLast
3155 https://bugs.webkit.org/show_bug.cgi?id=118466
3157 Reviewed by Andreas Kling.
3159 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3160 * TestWebKitAPI/Tests/WTF/Deque.cpp: Added.
3161 (TestWebKitAPI::TEST):
3163 2013-07-08 Brian Holt <brian.holt@samsung.com>
3165 [GTK] Leak: GFile* leaking in beginDragWithFilesCallback
3166 https://bugs.webkit.org/show_bug.cgi?id=118412
3168 Reviewed by Martin Robinson.
3170 An adoptRef is required to balance ref and deref calls.
3172 * DumpRenderTree/gtk/EventSender.cpp:
3173 (beginDragWithFilesCallback):
3175 2013-07-06 Sergio Correia <sergio.correia@openbossa.org>
3177 Update list of EFL WK2 API tests
3178 https://bugs.webkit.org/show_bug.cgi?id=118443
3180 Reviewed by Christophe Dumez.
3182 The following tests were included:
3185 - CloseThenTerminate
3186 - DidAssociateFormControls
3187 - PageVisibilityState
3188 - ResponsivenessTimerDoesntFireEarly
3193 - ResizeReversePaginatedWebView
3194 - ScrollPinningBehaviors
3196 This patch also modified ``test_webkit2_api_BINARIES'' list so that it is in
3199 * TestWebKitAPI/CMakeLists.txt: Added Bundles for included tests.
3200 * TestWebKitAPI/PlatformEfl.cmake: Added a few tests.
3202 2013-07-05 Tim Horton <timothy_horton@apple.com>
3204 Fix r152265: FrameView's pagination mode is only one of two, and the logic was totally wrong
3205 https://bugs.webkit.org/show_bug.cgi?id=118439
3206 <rdar://problem/14366120>
3208 Reviewed by Anders Carlsson.
3210 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
3211 (TestWebKitAPI::didLayout):
3212 (TestWebKitAPI::TEST):
3213 - Make use of EXPECT_JS_EQ instead of manually doing JavaScript stuff.
3214 - Assert that we got the right number of pages for sanity.
3215 - Reduce the page gap size so that DrawingAreaImpl doesn't try to allocate
3216 so much memory that SharedMemory asserts and makes the test time out.
3217 - Use didFirstLayoutAfterSuppressedIncrementalRendering instead of Paint
3218 because paint doesn't fire if the window is offscreen.
3220 2013-07-05 Tim Horton <timothy_horton@apple.com>
3222 [wk2] Add API to lock the scroll position at the top or bottom of the page
3223 https://bugs.webkit.org/show_bug.cgi?id=118429
3224 <rdar://problem/14120323>
3226 Reviewed by Anders Carlsson.
3228 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3229 * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp: Added.
3230 (TestWebKitAPI::didFinishDocumentLoadForFrame):
3231 (TestWebKitAPI::TEST):
3232 Add a test that ensures that the three pinning modes (DoNotPin, PinToTop, PinToBottom)
3233 all work correctly in the face of resizing the view and scrolling from JS.
3235 2013-07-05 Michael Pruett <michael@68k.org>
3237 Unreviewed. Add myself as a committer.
3239 * Scripts/webkitpy/common/config/contributors.json:
3241 2013-07-05 Xabier Rodriguez Calvar <calvaris@igalia.com>
3243 [GTK] WebKit2 test TestWebKitFaviconDatabase times out with recent glib
3244 https://bugs.webkit.org/show_bug.cgi?id=111434
3246 Reviewed by Carlos Garcia Campos.
3248 * Scripts/run-gtk-tests:
3249 (TestRunner): Unskipped TestWebKitFaviconDatabase tests.
3251 2013-07-04 Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
3253 [EFL] DumpRenderTree doesn't run if "opengl_x11" engine is not available
3254 https://bugs.webkit.org/show_bug.cgi?id=118370
3256 Reviewed by Christophe Dumez.
3258 Add fallback to software X11 engine if opengl_x11 engine creation fails.
3260 * DumpRenderTree/efl/DumpRenderTree.cpp:
3263 2013-07-04 Brian Holt <brian.holt@samsung.com>
3265 [ATK] Leak: AtkAttributeSet* should be freed
3266 https://bugs.webkit.org/show_bug.cgi?id=118307
3268 Reviewed by Christophe Dumez.
3270 Fixed memory leaks for AtkAttributeSet by calling
3271 atk_attribute_set_free().
3273 * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
3274 (AccessibilityController::childElementById):
3275 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3276 (getAtkAttributeSetAsString):
3277 (AccessibilityUIElement::allAttributes):
3278 (AccessibilityUIElement::stringAttributeValue):
3279 * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3280 (WTR::childElementById):
3281 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3282 (WTR::getAtkAttributeSetAsString):
3283 (WTR::AccessibilityUIElement::allAttributes):
3284 (WTR::AccessibilityUIElement::stringAttributeValue):
3286 2013-07-03 David Farler <dfarler@apple.com>
3288 Add Makefile to WebKitLauncher
3289 https://bugs.webkit.org/show_bug.cgi?id=118365
3291 Reviewed by Mark Rowe.
3293 * WebKitLauncher/Makefile: Added.
3295 2013-07-03 Brian Holt <brian.holt@samsung.com>
3297 [ATK] Leak: more leaks in AccessibilityUIElement
3298 https://bugs.webkit.org/show_bug.cgi?id=118362
3300 Reviewed by Christophe Dumez.
3302 Free the memory created by g_strdup_printf.
3304 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3305 (AccessibilityUIElement::language):
3306 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3307 (WTR::AccessibilityUIElement::language):
3309 2013-07-03 Jer Noble <jer.noble@apple.com>
3311 Xcode often gets in a state where the debugger is completely unresponsive
3312 https://bugs.webkit.org/show_bug.cgi?id=118157
3314 The GetPointeeData() operations we use to retrieve strings is extremely expensive.
3315 Rather than pull the character data out of the debugger one byte at a time
3316 through the GetPointeeData() API, retrieve the memory contents of the string through
3317 the ReadMemory() API, and convert the retrieved memory into a python string.
3319 Reviewed by Anders Carlsson.
3321 * lldb/lldb_webkit.py:
3322 (__lldb_init_module.lldb_webkit):
3323 (guess_string_length):
3324 (ustring_to_string):
3325 (lstring_to_string):
3327 2013-07-03 Morten Stenshorne <mstensho@opera.com>
3329 [GTK] Let F5 refresh the page in MiniBrowser
3330 https://bugs.webkit.org/show_bug.cgi?id=117638
3332 Reviewed by Carlos Garcia Campos.
3334 Also use the correct icon for the refresh button that was already there.
3336 * MiniBrowser/gtk/BrowserWindow.c:
3337 (browser_window_init):
3339 2013-07-02 Kondapally Kalyan <kalyan.kondapally@intel.com>
3341 Unreviewed. Add my email to a few watchlists.
3343 * Scripts/webkitpy/common/config/watchlist:
3345 2013-07-02 David Farler <dfarler@apple.com>
3347 Unreviewed. Adding myself to contributors.json.
3349 * Scripts/webkitpy/common/config/contributors.json:
3351 2013-07-02 Brian Holt <brian.holt@samsung.com>
3353 [ATK] Leak: leaks in AccessibilityUIElement
3354 https://bugs.webkit.org/show_bug.cgi?id=118297
3358 Reviewed by Christophe Dumez.
3360 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3361 (AccessibilityUIElement::stringValue):
3363 2013-07-02 Byungwoo Lee <bw80.lee@samsung.com>
3365 Fix WebKitTestRunner crashes.
3366 https://bugs.webkit.org/show_bug.cgi?id=117630
3368 Reviewed by Darin Adler.
3370 Create static function to dump for WebProcess unresponsiveness status,
3371 and use it before calling TestController::runTest().
3373 Accessing TestController::m_currentInvocation before calling
3374 TestController::runTest() can make crash because the invocation
3375 instance will be assigned at the function.
3377 * WebKitTestRunner/TestController.cpp:
3378 (WTR::TestController::run):
3379 * WebKitTestRunner/TestInvocation.cpp:
3380 (WTR::TestInvocation::dumpWebProcessUnresponsiveness):
3381 * WebKitTestRunner/TestInvocation.h:
3383 2013-07-02 Allan Sandfeld Jensen <allan.jensen@digia.com>
3385 [Qt][WK1] Support WebGL with EGL on Linux
3386 https://bugs.webkit.org/show_bug.cgi?id=118251
3388 Reviewed by Kenneth Rohde Christiansen.
3390 * qmake/mkspecs/features/features.prf:
3392 2013-07-01 Nick Diego Yamane <nick.yamane@openbossa.org>
3394 [Efl][Gtk] Look at WEBKIT_OUTPUTDIR instead of WEBKITOUTPUTDIR in jhbuildrc
3395 https://bugs.webkit.org/show_bug.cgi?id=118267
3397 Reviewed by Gyuyoung Kim.
3399 After r152226 (from https://bugs.webkit.org/show_bug.cgi?id=117249)
3400 WEBKIT_OUTPUTDIR should be used instead of WEBKITOUPUTDIR. However
3401 Efl's jhbuildrc is still using the WEBKITOUTPUTDIR environment variable.
3406 2013-07-01 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3408 [GTK] Remove unsupported AC backends
3409 https://bugs.webkit.org/show_bug.cgi?id=117362
3411 Reviewed by Martin Robinson.
3413 * gtk/jhbuild-optional.modules: no longer needs clutter-gtk, clutter
3414 and cogl, so removed.
3416 2013-07-01 Timothy Hatcher <timothy@apple.com>
3418 Link to WebInspectorUI.framework at build time instead of soft linking.
3420 https://bugs.webkit.org/show_bug.cgi?id=118261
3422 Reviewed by Joseph Pecoraro.
3424 * Scripts/build-webkit: Build WebInspectorUI before WebKit and WebKit2.
3426 2013-07-01 Tim Horton <timothy_horton@apple.com>
3428 Maximum scroll position can be negative in some cases
3429 https://bugs.webkit.org/show_bug.cgi?id=118175
3430 <rdar://problem/14301217>
3432 Reviewed by Anders Carlsson.
3434 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3435 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp: Added.
3436 (TestWebKitAPI::didRunJavaScript):
3437 (TestWebKitAPI::didLayout):
3438 (TestWebKitAPI::TEST):
3439 * TestWebKitAPI/Tests/WebKit2/lots-of-text-vertical-lr.html: Added.
3440 Add a test that loads a vertical-lr document, paginates it horizontally
3441 from right to left, resizes the view to fit the entire document, and
3442 verifies that the scroll position is negative, as it must be for the
3443 document to be enclosed by the view.
3445 2013-07-01 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
3447 [EFL][GTK] Migrate from WEBKITOUTPUTDIR to WEBKIT_OUTPUTDIR
3448 https://bugs.webkit.org/show_bug.cgi?id=117249
3450 Reviewed by Brent Fulgham.
3452 Finish converting all use cases of WEBKITOUTPUTDIR to
3453 WEBKIT_OUTPUTDIR, which seems to be preferred these days.
3455 * DumpRenderTree/efl/FontManagement.cpp:
3456 (getCustomBuildDir):
3457 (getPlatformFontsPath):
3458 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3460 * Scripts/webkitdirs.pm:
3461 (determineBaseProductDir):
3462 (usesPerConfigurationBuildDirectory):
3463 * Scripts/webkitpy/port/base.py:
3464 (Port.to.setup_environ_for_server):
3465 * Scripts/webkitpy/port/driver.py:
3466 (Driver._setup_environ_for_driver):
3467 * Scripts/webkitpy/port/gtk.py:
3468 (GtkPort.setup_environ_for_server):
3469 * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
3470 (WTR::getOutputDir):
3471 * jhbuild/jhbuildutils.py:
3472 (get_dependencies_path):
3474 2013-07-01 Rafael Brandao <rafael.lobo@webkit.org>
3476 Unreviewed change of my email address.
3478 * Scripts/webkitpy/common/config/contributors.json:
3480 2013-06-28 Andreas Kling <akling@apple.com>
3482 Fix Windows builds after deprecatedCharactersWithNullTermination() removal.
3484 * DumpRenderTree/win/DumpRenderTree.cpp:
3485 (addFontFallbackIfPresent):
3486 (removeFontFallbackIfPresent):
3488 2013-06-28 Anders Carlsson <andersca@apple.com>
3490 Remove String::deprecatedCharactersWithNullTermination() and related code
3491 https://bugs.webkit.org/show_bug.cgi?id=118211
3493 Reviewed by Benjamin Poulain.
3495 Remove all hasTerminatingNullCharacter() checks.
3497 * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
3498 (TestWebKitAPI::TEST):
3499 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3500 (TestWebKitAPI::TEST):
3501 * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3502 (TestWebKitAPI::TEST):
3504 2013-06-28 Alexey Proskuryakov <ap@apple.com>
3506 [Mac] Crash when loading is stopped from -didReceiveResponse
3507 https://bugs.webkit.org/show_bug.cgi?id=118209
3508 <rdar://problem/14259249>
3510 Reviewed by Brady Eidson.
3512 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3513 * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.html: Added.
3514 * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.mm: Added.
3515 (-[StopLoadingFromDidReceiveResponse webView:resource:didReceiveResponse:fromDataSource:]):
3516 (TestWebKitAPI::TEST):
3518 2013-06-28 Andy Estes <aestes@apple.com>
3520 [Mac] Newer versions of clang use a default template instantiation depth that is too small for TestWebKitAPI
3521 https://bugs.webkit.org/show_bug.cgi?id=118208
3523 Reviewed by Mark Rowe.
3525 Newer versions of clang use a default template depth of 128, but this
3526 is too small for Tests/WTF/HashSet.cpp. Use 256 instead, which was the
3529 Clang lowered the default to keep recursive template instantiation
3530 from overflowing the stack (see <rdar://problem/13935016>), but
3531 TestWebKitAPI's C++ files don't trigger a stack overflow even with the
3532 higher limit. If for some reason this starts happening then we can
3533 lower the limit back down.
3535 * TestWebKitAPI/Configurations/Base.xcconfig: Build TestWebKitAPI with -ftemplate-depth=256.
3537 2013-06-28 Nick Diego Yamane <nick.yamane@openbossa.org>
3539 [Tools] Add support for "webKitBranchBuild" git option when calculating jhbuildPath
3540 https://bugs.webkit.org/show_bug.cgi?id=118195
3542 Reviewed by Daniel Bates.
3544 Currently, ports that use jhbuild fail to determine jhbuild directory
3545 when "webKitBranchBuild" git configuration property is enabled. To reproduce
3546 that issue in Efl port, enable that flag in .git/config, switch to a git branch
3547 other than "master" and try to build webkit. The build will fail to
3548 locate dependencies due to lack of pkg-config paths which should be set
3551 For more details about "webKitBranchBuild" option, see:
3552 https://trac.webkit.org/wiki/UsingGitWithWebKit
3554 * Scripts/webkitdirs.pm:
3557 2013-06-28 Jessie Berlin <jberlin@apple.com>
3559 WebKitTestRunner should disable automatic quote and dash substitution like DumpRenderTree does
3560 https://bugs.webkit.org/show_bug.cgi?id=118201
3562 Reviewed by Dean Jackson.
3564 * WebKitTestRunner/mac/main.mm:
3566 Modify NSUserDefaults directly since setAutomaticQuoteSubstitutionEnabled and
3567 setAutomaticDashSubstitutionEnabled are not exposed on WKView.
3569 2013-06-28 David Farler <dfarler@apple.com>
3571 Upstream WebKit Nightly’s WebKitLauncher
3572 https://bugs.webkit.org/show_bug.cgi?id=117418
3574 Reviewed by Mark Rowe.
3576 Literal patch from Nightly's OpenSource repo.
3578 * WebKitLauncher/Configurations/Base.xcconfig:
3579 * WebKitLauncher/Configurations/WebKitLauncher.xcconfig:
3580 * WebKitLauncher/Info.plist:
3581 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3582 * WebKitLauncher/WebKitLauncherURLProtocol.m:
3583 (+[WebKitLauncherURLProtocol load]):
3584 (+[WebKitLauncherURLProtocol canInitWithRequest:]):
3585 (-[WebKitLauncherURLProtocol startLoading]):
3586 (-[WebKitLauncherURLProtocol handleWebKitVersionInformation]):
3587 (-[WebKitLauncherURLProtocol resourceNotFound]):
3588 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
3589 (initializeSparkle):
3590 * WebKitLauncher/main.m:
3591 (determineExecutablePath):
3592 (currentMacOSXVersion):
3594 * WebKitLauncher/start.html:
3596 2013-06-28 Balazs Kelemen <b.kelemen@samsung.com>
3598 [EFL] back/forward keyboard shortcuts are non-intuitive
3599 https://bugs.webkit.org/show_bug.cgi?id=118193
3601 Reviewed by Christophe Dumez.
3603 Changed shortcuts for go-back/go-forward to alt+left and alt+right.
3605 * EWebLauncher/main.c:
3607 * MiniBrowser/efl/main.c:
3610 2013-06-28 Roger Fong <roger_fong@apple.com>
3612 Enable AVFoundation in Web Prefs for WinLauncher and DumpRenderTree on Windows.
3613 https://bugs.webkit.org/show_bug.cgi?id=118194.
3615 Reviewed by Brent Fulgham.
3617 * DumpRenderTree/win/DumpRenderTree.cpp:
3618 (dllLauncherEntryPoint):
3619 * WinLauncher/WinLauncher.cpp:
3620 (dllLauncherEntryPoint):
3622 2013-06-28 Roger Fong <roger_fong@apple.com>
3624 Unreviewed build fix for AppleWin port. Fix some file paths.
3626 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3627 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
3629 2013-06-27 Roger Fong <roger_fong@apple.com>
3631 Add IAccessibilityDelegate implementation to WinLauncher for testing purposes.
3632 https://bugs.webkit.org/show_bug.cgi?id=118160.
3634 Reviewed by Brent Fulgham.
3636 * WinLauncher/AccessibilityDelegate.cpp: Added.
3637 (AccessibilityDelegate::QueryInterface):
3638 (AccessibilityDelegate::AddRef):
3639 (AccessibilityDelegate::Release):
3640 (AccessibilityDelegate::fireFrameLoadStartedEvents): Just returns S_OK;
3641 (AccessibilityDelegate::fireFrameLoadFinishedEvents): Ditto.
3642 * WinLauncher/AccessibilityDelegate.h: Added.
3643 (AccessibilityDelegate::AccessibilityDelegate):
3644 * WinLauncher/WinLauncher.cpp:
3645 (dllLauncherEntryPoint):
3646 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3647 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
3649 2013-06-28 Christophe Dumez <ch.dumez@sisa.samsung.com>
3651 Clean up temporary files created by the bindings test script
3652 https://bugs.webkit.org/show_bug.cgi?id=118189
3654 Reviewed by Kentaro Hara.
3656 Remove temporary files created by preprocess-idls.pl script after