1 2013-08-29 Filip Pizlo <fpizlo@apple.com>
3 Just linking LLVM into JSC causes all plugin tests to fail
4 https://bugs.webkit.org/show_bug.cgi?id=113915
6 Reviewed by Oliver Hunt.
8 Hide all LLVM symbols. This should prevent us from exporting LLVM's overrides for
9 raise/abort/__assert_rtn.
11 * Scripts/configure-llvm:
13 2013-08-29 Joseph Pecoraro <pecoraro@apple.com>
15 new-run-webkit-tests does not respect --no-sample-on-timeout switch
16 https://bugs.webkit.org/show_bug.cgi?id=120491
18 Reviewed by Darin Adler.
20 * Scripts/webkitpy/port/server_process.py:
21 (ServerProcess._handle_timeout):
23 2013-08-29 Sam Weinig <sam@webkit.org>
25 Add ENABLE guards for Promises
26 https://bugs.webkit.org/show_bug.cgi?id=120488
28 Reviewed by Andreas Kling.
30 * Scripts/webkitperl/FeatureList.pm:
31 * qmake/mkspecs/features/features.pri:
33 2013-08-29 Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk>
35 [GTK] Should enable WebGL by default on MiniBrowser
36 https://bugs.webkit.org/show_bug.cgi?id=120420
38 Reviewed by Gustavo Noronha Silva.
40 Enable WebGL by default on MiniBrowser.
42 * MiniBrowser/gtk/main.c:
45 2013-08-28 Simon Fraser <simon.fraser@apple.com>
47 Add a Command-R shortcut in MiniBrowser
48 https://bugs.webkit.org/show_bug.cgi?id=120442
50 Reviewed by Dean Jackson.
52 Add a "Reload Page" item to the View menu with a Command-R
55 * MiniBrowser/mac/MainMenu.xib:
57 2013-08-29 Alberto Garcia <berto@igalia.com>
59 [GTK] Update apt dependency list
60 https://bugs.webkit.org/show_bug.cgi?id=120399
62 Reviewed by Philippe Normand.
64 Remove bogus package gail-3.0, add xfonts-utils (needed by
65 xorg-xserver) and switch to the latest versions of libtiff and
68 * gtk/install-dependencies:
70 2013-08-28 Alexey Proskuryakov <ap@apple.com>
72 [WK2][Mac] WebKitTestRunner doesn't force system appearance
73 https://bugs.webkit.org/show_bug.cgi?id=120437
75 Reviewed by Darin Adler.
77 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
78 (WTR::InjectedBundle::platformInitialize): Set AppleAquaColorVariant,
79 AppleHighlightColor and AppleOtherHighlightColor to the same values that DRT uses.
82 2013-08-16 Ryosuke Niwa <rniwa@webkit.org>
84 <https://webkit.org/b/119806> [Mac] Add a way to easily test attributed string generation
86 Reviewed by Darin Adler.
88 Add textInputController.legacyAttributedString to retrieve the attributed string for copy & paste.
90 We can't use textInputController.attributedSubstringFromRange as it uses WebHTMLConverter's static
91 editingAttributedStringFromRange function, which doesn't implement the full converter at the moment.
93 Also NSMutableAttributedString.ranges and WebNSRange so that JavaScript can get a list of all
94 ranges in a given attributed string.
96 * DumpRenderTree/mac/TextInputController.m:
97 (-[WebNSRange initWithNSRange:]):
98 (-[WebNSRange location]):
99 (-[WebNSRange length]):
100 (+[WebNSRange isSelectorExcludedFromWebScript:]):
101 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
102 (+[NSMutableAttributedString webScriptNameForSelector:]):
103 (-[NSMutableAttributedString ranges]): Added.
104 (+[TextInputController isSelectorExcludedFromWebScript:]):
105 (+[TextInputController webScriptNameForSelector:]):
106 (-[TextInputController legacyAttributedString:]):
108 2013-08-28 Denis Nomiyama <d.nomiyama@samsung.com>
110 [GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected results
111 https://bugs.webkit.org/show_bug.cgi?id=120419
113 Reviewed by Chris Fleizach.
115 Added a notification for AXFocusedUIElementChanged.
117 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
118 (axObjectEventListener): Added a notification for AXFocusedUIElementChanged.
120 2013-08-28 Roger Fong <roger_fong@apple.com>
122 Decrease number of workers used in NRWT by the Windows port.
123 https://bugs.webkit.org/show_bug.cgi?id=120435.
125 Reviewed by Brent Fulgham.
127 * Scripts/webkitpy/port/win.py:
128 (WinPort.default_child_processes):
130 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
132 Http tests fails on Debian with Apache 2.4
133 https://bugs.webkit.org/show_bug.cgi?id=120352
137 Remember to update unit-test expectations and old-run-webkit-tests as well.
139 * Scripts/webkitperl/httpd.pm:
140 (getHTTPDConfigPathForTestDirectory):
141 * Scripts/webkitpy/port/port_testcase.py:
142 (test_apache_config_file_name_for_platform):
144 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
146 Http tests fails on Debian with Apache 2.4
147 https://bugs.webkit.org/show_bug.cgi?id=120352
149 Reviewed by Andreas Kling.
151 Select httpd.conf file for debian based on version, matching Fedora behavior.
153 * Scripts/webkitpy/port/base.py:
154 (Port._apache_config_file_name_for_platform):
156 2013-08-28 Commit Queue <commit-queue@webkit.org>
158 Unreviewed, rolling out r154593.
159 http://trac.webkit.org/changeset/154593
160 https://bugs.webkit.org/show_bug.cgi?id=120403
162 Caused 50+ flaky tests on WebKit1 bots (Requested by carewolf
165 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
168 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
170 [Qt][Wk2] Many tests are flaky on Qt 5.1
171 https://bugs.webkit.org/show_bug.cgi?id=118232
173 Reviewed by Jocelyn Turcotte.
175 We need to set renderToOffscreenBuffer since we won't otherwise get
176 the paint calls necessary to synchronize UI- and Web-Process. It was
177 only disabled in Qt 5.0 because it conflicted with setRenderWithoutShowing
178 which is no longer supported or needed.
180 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
181 (WTR::WrapperWindow::handleStatusChanged):
183 2013-08-27 Alexey Proskuryakov <ap@apple.com>
185 [WK2] Remove USE_WEBPROCESS_EVENT_SIMULATION
186 https://bugs.webkit.org/show_bug.cgi?id=120379
188 Reviewed by Darin Adler.
190 All major platforms have implemented UI process eventSender support, keeping old
191 web process side code only adds confusion.
193 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
194 (WTR::EventSendingController::EventSendingController):
195 (WTR::EventSendingController::mouseDown):
196 (WTR::EventSendingController::mouseUp):
197 (WTR::EventSendingController::mouseMoveTo):
198 (WTR::EventSendingController::leapForward):
199 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
200 * WebKitTestRunner/TestController.cpp:
201 (WTR::TestController::resetStateToConsistentValues):
202 (WTR::TestController::didReceiveMessageFromInjectedBundle):
203 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
204 * WebKitTestRunner/TestController.h:
206 2013-08-27 Roger Fong <roger_fong@apple.com>
208 NRWT on AppleWin port should delete semaphore lock files during cleanup tasks.
209 https://bugs.webkit.org/show_bug.cgi?id=120370.
211 Reviewed by Brent Fulgham.
213 * Scripts/webkitpy/port/win.py:
214 (WinPort.delete_sem_locks):
215 (WinPort.setup_test_run):
217 2013-08-27 Denis Nomiyama <d.nomiyama@samsung.com>
219 [GTK] Missing DRT AccessibilityUIElement::addNotificationListener implementation
220 https://bugs.webkit.org/show_bug.cgi?id=119883
222 Implemented the notification listener for AccessibilityUIElement. The signal is generated
223 by AXObjectCache::postPlatformNotification() and received by axObjectEventListener().
224 axObjectEventListener will then invoke JSObjectCallAsFunction() with the respective
225 callback function. The global callback function and callbacks for specific elements are
226 stored in a HashMap in AccessibilityCallbacksAtk.cpp.
228 Reviewed by Chris Fleizach.
230 * DumpRenderTree/AccessibilityUIElement.h: Added a notification handler for GTK+
231 * DumpRenderTree/atk/AccessibilityCallbacks.h: Added addAccessibilityNotificationListener()
232 and removeAccessibilityNotificationListener()
233 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
234 (axObjectEventListener): Call JS callback for global notification or for a specific element
235 (disconnectAccessibilityCallbacks): Only disconnect if logging is off and there is no
237 (addAccessibilityNotificationHandler): Add notification listener to the list
238 (removeAccessibilityNotificationHandler): Remove notification listener from the list
239 * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
240 (AccessibilityController::setLogAccessibilityEvents): Set logging off before disconnecting
241 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Added.
242 (AccessibilityNotificationHandler::AccessibilityNotificationHandler): Create handler
243 (AccessibilityNotificationHandler::~AccessibilityNotificationHandler): Destroy handler.
244 Remove handler from the list and disconnect callbacks
245 (AccessibilityNotificationHandler::setNotificationFunctionCallback): Set the notification
246 callback and connect callbacks to signals
247 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Added.
248 (AccessibilityNotificationHandler::setPlatformElement): Set platform element
249 (AccessibilityNotificationHandler::platformElement): Get platform element
250 (AccessibilityNotificationHandler::notificationFunctionCallback): Get notification callback
251 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
252 (AccessibilityUIElement::addNotificationListener): Create notification handler, set the
253 platform element and the notification callback
254 (AccessibilityUIElement::removeNotificationListener):
255 * DumpRenderTree/efl/CMakeLists.txt: Added AccessibilityNotificationHandlerAtk.cpp/h
256 * GNUmakefile.am: Added AccessibilityNotificationHandlerAtk.cpp/h
258 2013-08-27 Carlos Garcia Campos <cgarcia@igalia.com>
260 Unreviewed. Fix GTK+ build after r154601.
262 * TestWebKitAPI/GNUmakefile.am: Remove mac specific file from
263 compilation added by mistake in r154601.
265 2013-08-26 Alexey Proskuryakov <ap@apple.com>
267 WebKitTestRunner needs to protect the user's pasteboard contents while running
268 https://bugs.webkit.org/show_bug.cgi?id=81419
269 <rdar://problem/11066794>
271 Reviewed by Darin Adler.
273 Mostly a copy/paste of DRT code.
275 Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
276 doesn't interfere with my clipboard while being run in a loop.
278 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
279 * WebKitTestRunner/mac/PoseAsClass.h: Added.
280 * WebKitTestRunner/mac/PoseAsClass.mm: Added.
281 * WebKitTestRunner/mac/TestControllerMac.mm:
282 (WTR::TestController::platformInitialize):
283 (WTR::TestController::platformDestroy):
284 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
285 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
287 2013-08-26 Commit Queue <commit-queue@webkit.org>
289 Unreviewed, rolling out r154640.
290 http://trac.webkit.org/changeset/154640
291 https://bugs.webkit.org/show_bug.cgi?id=120329
293 Caused flaky crashes on a lot of editing tests (Requested by
296 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
297 * WebKitTestRunner/mac/PoseAsClass.h: Removed.
298 * WebKitTestRunner/mac/PoseAsClass.mm: Removed.
299 * WebKitTestRunner/mac/TestControllerMac.mm:
300 (WTR::TestController::platformInitialize):
301 (WTR::TestController::platformDestroy):
302 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Removed.
303 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Removed.
305 2013-08-26 Dan Bernstein <mitz@apple.com>
307 Automatic bug reports case pain
308 https://bugs.webkit.org/show_bug.cgi?id=120330
310 Reviewed by Anders Carlsson.
312 * Scripts/webkitpy/tool/commands/download.py: Made the following changes to the Description
313 of bugs filed by the bot: changed “the sheriff-bot” to “webkitbot”, changed “case pain” to
314 “fail”, and removed “"Only you can prevent forest fires." -- Smokey the Bear”.
316 2013-08-23 Andy Estes <aestes@apple.com>
318 Fix issues found by the Clang Static Analyzer
319 https://bugs.webkit.org/show_bug.cgi?id=120230
321 Reviewed by Darin Adler.
323 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
324 (-[LocalPasteboard initWithName:]): Called [super init] first so that we
325 don't later use ivars from the wrong self.
326 * DumpRenderTree/mac/TestRunnerMac.mm:
327 (-[APITestDelegate initWithCompletionCondition:]): Ditto.
328 * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
329 (TestWebKitAPI::TEST): Don't leak WKProcessGroups,
330 WKBrowsingContextGroups, and WKViews.
332 2013-08-26 Alexey Proskuryakov <ap@apple.com>
334 WebKitTestRunner needs to protect the user's pasteboard contents while running
335 https://bugs.webkit.org/show_bug.cgi?id=81419
336 <rdar://problem/11066794>
338 Reviewed by Darin Adler.
340 Mostly a copy/paste of DRT code.
342 Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
343 doesn't interfere with my clipboard while being run in a loop.
345 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
346 * WebKitTestRunner/mac/PoseAsClass.h: Added.
347 * WebKitTestRunner/mac/PoseAsClass.mm: Added.
348 * WebKitTestRunner/mac/TestControllerMac.mm:
349 (WTR::TestController::platformInitialize):
350 (WTR::TestController::platformDestroy):
351 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
352 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
354 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
356 [GTK] Include most of the WebKit2 unit tests into the build and testing
357 https://bugs.webkit.org/show_bug.cgi?id=120307
359 Reviewed by Philippe Normand.
361 There are still various unit test source files that are not being included into
362 the build. This patch includes most of these, only leaving out tests that do not
363 compile or test features that are not supported by the GTK port.
365 * Scripts/run-gtk-tests: Skip four newly-added tests that are failing or timing out.
367 * TestWebKitAPI/GNUmakefile.am:
369 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
371 [GTK] Allow to run tests without Xvfb in run-gtk-tests
372 https://bugs.webkit.org/show_bug.cgi?id=120298
374 Reviewed by Philippe Normand.
376 Add --no-xvfb command line option to run tests in the current
379 * Scripts/run-gtk-tests:
380 (TestRunner._run_xvfb): Return early if option --no-xvfb has been
382 (TestRunner._setup_testing_environment): Use helper function
383 _run_xvfb to start Xvfb if needed.
384 (TestRunner._tear_down_testing_environment): Check Xvfb is
385 actually running before trying to terminate it.
387 2013-08-26 Zoltan Arvai <zarvai@inf.u-szeged.hu>
389 Adding Gabor Abraham to contributors.json.
391 Reviewed by Csaba Osztrogonác.
393 * Scripts/webkitpy/common/config/contributors.json:
395 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
397 [GTK] Add support for passing test directories to run-gtk-tests
398 https://bugs.webkit.org/show_bug.cgi?id=120296
400 Reviewed by Philippe Normand.
402 * Scripts/run-gtk-tests:
403 (TestRunner._get_tests_from_dir): Helper function to return all
404 unit tests found in a given directory.
405 (TestRunner._get_tests): Check the given tests passed in the
406 command line, so that if a directory is found the tests contained
407 in the directory are added to the list of tests to run.
409 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
411 [GTK] Improve the stop/reload button implementation in MiniBrowser
412 https://bugs.webkit.org/show_bug.cgi?id=120292
414 Reviewed by Philippe Normand.
416 - Use an instance member of BrowserWindow for the button widget
417 instead of a global variable.
418 - Use notify::is-loading to monitor the WebView load instead of
419 the estimated-load-progress property.
420 - Use webkit_web_view_is_loading() to check whether the view
421 is loading to change the button icon instead of a string
422 comparison of the gtk stock icon id.
423 - Use the right casts to fix compile warning.
425 * MiniBrowser/gtk/BrowserWindow.c:
426 (reloadOrStopCallback):
427 (webViewLoadProgressChanged):
428 (webViewIsLoadingChanged):
429 (browser_window_init):
430 (browserWindowConstructed):
432 2013-08-26 Arunprasad Rajkumar <arurajku@cisco.com>
434 [Qt] Remove the fix in QWebPage::javaScriptConsoleMessage introduced by (r61433)
435 https://bugs.webkit.org/show_bug.cgi?id=119791
437 Reviewed by Jocelyn Turcotte.
439 Load empty url to send onunload event to currently running page. onunload event is
440 mandatory for LayoutTests/plugins/open-and-close-window-with-plugin.html and
441 LayoutTests/plugins/geturlnotify-during-document-teardown.html.
443 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
446 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
448 [GTK] Silence MiniBrowser compile warnings due to recent GTK+ deprecations
449 https://bugs.webkit.org/show_bug.cgi?id=120290
451 Reviewed by Philippe Normand.
453 * MiniBrowser/gtk/GNUmakefile.am: Add
454 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6 compile option.
456 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
458 [GTK] Add WillLoad test files to the TestWebKitAPI/TestWebKit2 program
459 https://bugs.webkit.org/show_bug.cgi?id=120288
461 Reviewed by Carlos Garcia Campos.
463 * TestWebKitAPI/GNUmakefile.am: Add the WillLoad.cpp build target that should be compiled
464 into the TestWebKit2 program. The InjectedBundle counterpart file is added to the build as well.
465 These unit tests are at the moment failing in debug configurations, so it would be nice to
466 have the GTK builds report these failures as well.
468 2013-08-25 Ryuan Choi <ryuan.choi@samsung.com>
470 [EFL] EWebLauncher is executed as full screen with device pixel ratio
471 https://bugs.webkit.org/show_bug.cgi?id=120282
473 Reviewed by Gyuyoung Kim.
475 * EWebLauncher/main.c:
476 Use double instead of float for device_pixel_ratio which is passed to ECORE_GETOPT_VALUE_DOUBLE.
478 2013-08-25 Zan Dobersek <zdobersek@igalia.com>
480 [gdb] Remove the pretty printer for KURLGooglePrivate
481 https://bugs.webkit.org/show_bug.cgi?id=120263
483 Reviewed by Benjamin Poulain.
485 Remove the pretty printer for the WebCore::KURLGooglePrivate structure that
486 was usable inside the gdb debugger. The structure was remove from the codebase
487 along with the GoogleURL backend for KURL.
490 (JSCJSStringPrinter.to_string):
491 (add_pretty_printers):
493 2013-08-24 Filip Pizlo <fpizlo@apple.com>
495 Unreviewed, fix build-webkit --ftl-jit in the case that you have your own llvm directory. We need to
496 prune 'libgtest' and friends from the llvm build, since WebKit builds its own and none of the llvm
497 libraries depend on libgtest anyway.
499 * Scripts/copy-webkitlibraries-to-product-directory:
501 2013-08-24 Darin Adler <darin@apple.com>
503 RetainPtr lacks move constructor for case when argument is a RetainPtr of a different type
504 https://bugs.webkit.org/show_bug.cgi?id=120255
506 Reviewed by Andreas Kling.
508 * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added four tests covering move assignment and construction.
510 2013-08-24 Anders Carlsson <andersca@apple.com>
512 Don't treat NSLocalizedDescriptionKey and NSLocalizedRecoverySuggestionErrorKey as NSLocalized macros
513 https://bugs.webkit.org/show_bug.cgi?id=120249
515 Reviewed by Andreas Kling.
517 * Scripts/extract-localizable-strings:
519 2013-08-24 Carlos Garcia Campos <cgarcia@igalia.com>
521 [GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API
522 https://bugs.webkit.org/show_bug.cgi?id=119743
524 Reviewed by Anders Carlsson.
526 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
527 (WTR::InjectedBundlePage::InjectedBundlePage): Add
530 2013-08-23 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
532 Move TestWebKitAPI_LIBRARIES before platform specific cmake include
533 https://bugs.webkit.org/show_bug.cgi?id=120220
535 Reviewed by Martin Robinson.
537 * TestWebKitAPI/CMakeLists.txt:
539 2013-08-22 Filip Pizlo <fpizlo@apple.com>
541 build-jsc --ftl-jit should work
542 https://bugs.webkit.org/show_bug.cgi?id=120194
544 Reviewed by Oliver Hunt.
546 * Scripts/build-jsc: Need to pass the feature flag to xcodebuild
548 2013-08-23 Commit Queue <commit-queue@webkit.org>
550 Unreviewed, rolling out r153534.
551 http://trac.webkit.org/changeset/153534
552 https://bugs.webkit.org/show_bug.cgi?id=120216
554 Too many tests failing just WinEWS bots (Requested by rfong on
557 * Scripts/webkitpy/common/config/ews.json:
559 2013-08-23 Alex Christensen <alex.christensen@flexsim.com>
561 Unreviewed. Added my webkit.org email address.
563 * Scripts/webkitpy/common/config/contributors.json:
565 2013-08-23 Peter Gal <galpeter@inf.u-szeged.hu>
567 [WTR] Should dump as text when the mimetype is text/plain
568 https://bugs.webkit.org/show_bug.cgi?id=118306
570 Reviewed by Christophe Dumez.
572 Check for the text/plain mimetype and if true then mark it as
575 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
576 (WTR::InjectedBundlePage::dump):
578 2013-08-22 Filip Pizlo <fpizlo@apple.com>
580 Update LLVM binary drops and scripts to the latest version from SVN
581 https://bugs.webkit.org/show_bug.cgi?id=120184
583 Reviewed by Mark Hahnenberg.
585 * ReducedFTL/build.sh:
586 * Scripts/configure-llvm: Added.
587 * Scripts/copy-webkitlibraries-to-product-directory:
588 * Scripts/export-llvm-build:
590 2013-08-22 Andy Estes <aestes@apple.com>
592 <https://webkit.org/b/120180> Fix issues with OTHER_LDFLAGS in various .xcconfig files
594 Reviewed by David Kilzer.
596 * TestWebKitAPI/Configurations/Base.xcconfig: Removed the definition of
597 OTHER_CPLUSPLUSFLAGS since -ftemplate-depth=256 is already set in
598 DebugRelease.xcconfig and TestWebKitAPI isn't built in Production.
600 2013-08-22 Ryosuke Niwa <rniwa@webkit.org>
602 NRWT: Add the ability to upload test results to new test results server
603 https://bugs.webkit.org/show_bug.cgi?id=120146
605 Reviewed by Andreas Kling.
607 For the upcoming replacement for webkit-test-results.appspot.com, new-run-webkit-tests needs to use a new JSON format
608 that contains the full summary of the test run including information about passed tests.
610 Add this ability to NRWT so that I can start testing this feature. This patch adds the following optoins to NRWT:
613 --results-server-host
615 The last option is somewhat ambigious with --test-results-server but we're intending to deprecate the old server
616 so we should be able to delete --test-results-server in time.
618 * Scripts/webkitpy/layout_tests/controllers/manager.py:
620 (Manager._upload_json_files):
622 (Manager.upload_results):
623 * Scripts/webkitpy/layout_tests/models/test_run_results.py:
625 * Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py:
626 (summarized_results):
627 (SummarizedResultsTest.test_summarized_results_wontfix):
628 (SummarizedResultsTest):
629 (SummarizedResultsTest.test_summarized_results_include_passes):
630 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
633 2013-08-22 Ryosuke Niwa <rniwa@webkit.org>
635 WKR build fix. Somehow tool.bugs.quips() doesn't work in WKR so work around that.
637 * Scripts/webkitpy/tool/bot/irc_command.py:
640 2013-08-22 Allan Sandfeld Jensen <allan.jensen@digia.com>
642 [Qt] DRT bug revealed/caused by r154300
643 https://bugs.webkit.org/show_bug.cgi?id=120151
645 Reviewed by Simon Hausmann.
647 Since QtInstance had an implementation of getOwnPropertySlot and not getOwnPropertyDescriptor,
648 the behavior of getOwnPropertyDescriptor changed when it got implemented using getOwnPropertySlot
651 DRT relied on getOwnPropertyDescriptor returning undefined for JS set properties to distinguish
652 between native Qt methods and JSC bound methods. This patch changes the check to see if the
653 property is writable since the Qt methods are ReadOnly.
655 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
656 (DumpRenderTree::initJSObjects):
658 2013-08-21 Joseph Pecoraro <pecoraro@apple.com>
660 <https://webkit.org/b/120134> [Tools] lldb_webkit.py helpers is incorrectly printing 8bit Strings
662 Reviewed by Benjamin Poulain.
664 WTFString moved the is8bit bit by one in r152201.
666 * lldb/lldb_webkit.py:
667 (WTFStringImplProvider.is_8bit):
669 2013-08-21 Tim Horton <timothy_horton@apple.com>
671 Revert http://trac.webkit.org/changeset/154022, as it failed to update
672 a variety of scripts that depended on the old format.
674 See https://bugs.webkit.org/show_bug.cgi?id=120131 for one such example.
676 * Scripts/prepare-ChangeLog:
678 (generateNewChangeLogs):
680 2013-08-21 Brent Fulgham <bfulgham@apple.com>
682 [Windows] Unreviewed gardening: WebInspector should always be enabled for WinLauncher.
684 * WinLauncher/WinLauncher.cpp:
685 (setToDefaultPreferences): Activate Developer Extras on Release (as well as Debug) builds.
687 2013-08-21 Zan Dobersek <zdobersek@igalia.com>
689 <https://webkit.org/b/120116> [GTK] Fix a typo in ActivateFontsGtk.cpp
691 Reviewed by Andreas Kling.
693 * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
694 (WTR::initializeFontConfigSetting): Fix a typo - inititialize -> initialize.
695 (WTR::activateFonts): Ditto.
697 2013-08-21 Brian Holt <brian.holt@samsung.com>
699 [GTK] Suppress irrelevant or known leaks for Valgrind
700 https://bugs.webkit.org/show_bug.cgi?id=119448
702 Reviewed by Martin Robinson.
704 Add a suppressions file to suppress known leaks for Valgrind.
705 Valgrind also takes longer when using suppressions and
706 times out unless the driver timeout is increased.
708 * Scripts/valgrind/suppressions.txt: Added.
709 * Scripts/webkitpy/port/gtk.py:
710 (GtkPort.driver_stop_timeout):
711 (GtkPort.setup_environ_for_server):
713 2013-08-20 Alex Christensen <achristensen@apple.com>
715 [Windows] Linking fix for Win64.
717 Rubberstamped by Brent Fulgham.
719 * win/DLLLauncher/DLLLauncherMain.cpp:
720 (wWinMain): Corrected 64-bit linker symbol for dllLauncherEntryPoint.
722 2013-08-20 Brent Fulgham <bfulgham@apple.com>
724 <https://webkit.org/b/120090> Report better error messages from WinLauncher/DRT
726 Reviewed by Tim Horton.
728 * win/DLLLauncher/DLLLauncherMain.cpp:
729 (getLastErrorString): New method to convert GetLastError to text.
730 (wWinMain): Use new error formatter to provide useful diagnostic text to user.
732 2013-08-19 Gustavo Noronha Silva <gns@gnome.org>
734 <https://webkit.org/b/120048> [GTK] Add stubs for APIs that went missing in the DOM bindings
736 Reviewed by Martin Robinson.
738 * Scripts/webkitpy/style/checker.py: add the bindings custom implementation files to be exempt
739 from naming/enum_casing rules, since it needs to provide GObject-style APIs.
741 2013-08-20 Anton Obzhirov <a.obzhirov@samsung.com>
743 <https://webkit.org/b/120009> [GTK] Stop button should be added to MiniBrowser
745 Reviewed by Martin Robinson.
747 Added stop button in MiniBrowser
749 * MiniBrowser/gtk/BrowserWindow.c:
750 (reloadOrStopCallback): Callback to handle stop or reload button click.
751 (webViewLoadProgressChanged): Update reload or stop button icon.
752 (browser_window_init): Save button pointer for further icon updates.
754 2013-08-20 Simon Pena <simon.pena@samsung.com>
756 <https://webkit.org/b/117584> [GTK][WK1] http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html is failing
758 Reviewed by Alexey Proskuryakov.
760 Update DumpRenderTree to handle the WEBKIT_LOAD_FAILED status,
761 printing didFailLoadWithError.
763 Behave like other ports, and handle WEBKIT_LOAD_FAILED status in
764 DumpRenderTree, printing didFailLoadWithError.
766 * DumpRenderTree/gtk/DumpRenderTree.cpp:
767 (webFrameLoadStatusNotified):
769 2013-08-19 Ryosuke Niwa <rniwa@webkit.org>
771 <https://webkit.org/b/120049> Delete code for Snow Leopard
773 Reviewed by Benjamin Poulain.
775 * DumpRenderTree/mac/CheckedMalloc.cpp:
776 (protectionOfRegion):
777 (makeLargeMallocFailSilently):
778 * DumpRenderTree/mac/DumpRenderTree.mm:
779 (resetDefaultsToConsistentValues):
780 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
781 (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]):
782 * DumpRenderTree/mac/FrameLoadDelegate.mm:
784 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
785 * DumpRenderTree/mac/LayoutTestHelper.m:
786 * DumpRenderTree/mac/TestRunnerMac.mm:
787 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
788 (WTR::InjectedBundle::platformInitialize):
789 * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
790 (WTR::testPathFromURL):
791 (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
793 2013-08-19 Alexey Proskuryakov <ap@apple.com>
795 https://bugs.webkit.org/show_bug.cgi?id=119915
796 REGRESSION(r154144): ASSERTION FAILED: m_history->provisionalItem() == m_requestedHistoryItem.get()
798 Reviewed by Darin Adler.
800 The issue was that we ended up having no CFNetwork cache in the testing session due
801 to an incorrect cache model. There is a number of things not implemented when it
802 comes to dynamically changing cache model as attempted by WebKitTestRunner, but
803 the easiest way to get this going is to initialize it to correct value upfront.
805 * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize):
807 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
809 REGRESSION(r154275): webkitpy tests failing
810 https://bugs.webkit.org/show_bug.cgi?id=120010
812 Reviewed by Jocelyn Turcotte.
814 Update unit-tests to tests the new search-path structure,
815 but reverting the architecture search path addition.
817 * Scripts/webkitpy/port/qt.py:
820 (QtPort._generate_all_test_configurations):
821 (QtPort.qt_architecture):
822 * Scripts/webkitpy/port/qt_unittest.py:
824 (QtPortTest._assert_search_path):
825 (QtPortTest._assert_expectations_files):
826 (QtPortTest._qt_version):
828 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
830 [Qt] Keep the qt-5.0-wk2 search path until the expectation migration is completed
832 Unreviewed meta gardening.
834 We need to keep using the qt-5.0-wk2 path until it is fully migrated.
836 * Scripts/webkitpy/port/qt.py:
837 (QtPort._search_paths):
839 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
841 Restructure Qt test expectations
843 Unreviewed meta gardening.
845 Removed 5.0 name from WK1 and WK2 results and made it possible to set
846 expectations by both Qt version and mayor architectures.
848 * Scripts/webkitpy/port/qt.py:
849 (QtPort._wk2_port_name):
852 (QtPort.architecture):
853 (QtPort._search_paths):
854 (QtPort._port_specific_expectations_files):
856 2013-08-16 Brent Fulgham <bfulgham@apple.com>
858 [Windows] DRT is not using the same preferences as the Mac build.
859 https://bugs.webkit.org/show_bug.cgi?id=119822
861 Reviewed by Darin Adler.
863 * DumpRenderTree/win/DumpRenderTree.cpp:
864 (runTest): Process Windows message queue using CFRunLoop to allow
865 dispatch routines to run properly.
866 (dllLauncherEntryPoint): Wrap CG-specific setup code in a macro
867 to prevent problems on WinCairo port.
869 2013-08-16 Brent Fulgham <bfulgham@apple.com>
871 [Windows] URL printing code in DRT doesn't match WTR or Mac DRT
872 https://bugs.webkit.org/show_bug.cgi?id=119583
874 Reviewed by Alexey Proskuryakov.
876 * DumpRenderTree/win/DumpRenderTree.cpp:
877 (urlSuitableForTestResult): Revise URL output to match Mac DRT by emiting last path
878 component if the URL does not contain the expected base URL.
880 2013-08-16 Pratik Solanki <psolanki@apple.com>
882 <https://webkit.org/b/119852> Frame::scriptController() should return a reference
884 Reviewed by Andreas Kling.
886 m_script is never NULL so we can just return a reference. Also remove some pointless null
887 checks as a result of doing this.
889 * DumpRenderTree/blackberry/DumpRenderTree.cpp:
890 (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
892 2013-08-15 Alexey Proskuryakov <ap@apple.com>
894 [WK2] NetworkProcess should use a temporary storage session for test
895 https://bugs.webkit.org/show_bug.cgi?id=119855
897 Reviewed by Darin Adler.
899 Use a new API that takes care of both WebProcess and NetworkProcess.
901 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
902 (WTR::InjectedBundle::initialize):
903 * WebKitTestRunner/TestController.cpp:
904 (WTR::TestController::initialize):
906 2013-08-15 Bem Jones-Bey <bjonesbe@adobe.com>
908 <https://webkit.org/b/119850> Speed up test importing by doing all the regex matching in a single pass
910 Reviewed by Dirk Pranke.
912 This is a port from Blink of
913 https://src.chromium.org/viewvc/blink?revision=155647&view=revision
914 originally by Dirk Pranke.
916 From the original commit:
918 This gives something like a 15x speedup over compiling and matching
919 one property at a time and doing multiple passes over the file.
921 * Scripts/webkitpy/w3c/test_converter.py:
922 (W3CTestConverter.__init__):
923 (W3CTestConverter.convert_prefixed_properties):
924 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties):
926 2013-08-15 Dan Bernstein <mitz@apple.com>
928 <https://webkit.org/b/119856> Improve extract-localizable-strings messages
930 Reviewed by Darin Adler.
932 * Scripts/extract-localizable-strings: When the strings file disagrees with the source code,
933 added a message that points to the source code. Removed some unnecessary repetition of what
934 is already in the file.
936 2013-08-15 Andy Estes <aestes@apple.com>
938 <https://webkit.org/b/119853> REGRESSION (r139343): WebKit crashes when canceling a load inside webView:resource:didFinishLoadingFromDataSource:
940 Reviewed by Brady Eidson.
942 Wrote an API test that verifies -[WebView stopLoading:] can be called
943 inside webView:resource:didFinishLoadingFromDataSource: without crashing.
945 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
946 * TestWebKitAPI/Tests/mac/StopLoadingFromDidFinishLoading.mm: Added.
947 (-[StopLoadingFromDidFinishLoadingDelegate webView:resource:didFinishLoadingFromDataSource:]):
948 (TestWebKitAPI::TEST):
950 2013-08-15 Alexey Proskuryakov <ap@apple.com>
952 Adding Myles Maxfield to contributors.json.
954 Oops, wrong section, fixing.
956 * Scripts/webkitpy/common/config/contributors.json:
958 2013-08-15 Alexey Proskuryakov <ap@apple.com>
960 Adding Myles Maxfield to contributors.json.
962 * Scripts/webkitpy/common/config/contributors.json:
964 2013-08-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
966 [Qt] Do not check specifically for version 5.0
967 https://bugs.webkit.org/show_bug.cgi?id=119846
969 Reviewed by Jocelyn Turcotte.
971 For Qt 5.x we should always use both wk1 and wk2 basepath results.
973 * Scripts/webkitpy/port/qt.py:
974 (QtPort._search_paths):
976 2013-08-15 Simon Pena <simon.pena@samsung.com>
978 <https://webkit.org/b/119584> [Gtk] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
980 Reviewed by Gustavo Noronha Silva.
982 Following a similar approach as in r153977, return a path string
983 that is relative to main frame URL or just file name if the
984 resource is not in the same directory subtree, and replace empty
985 strings with "(null)".
987 Update pathFromSoupURI so it behaves more closely to the other
988 ports, and remove the unused code after we no longer print
989 <unknown> in certain cases. Also move
990 soupURIToStringPreservingPassword to DumpRenderTreeGtk so it can
991 be used both in TestRunnerGtk and in DumpRenderTree.
993 * DumpRenderTree/gtk/DumpRenderTree.cpp:
994 (soupURIToStringPreservingPassword): Moved from TestRunnerGtk so
995 we can print Soup URIs with the password, since soup_uri_to_string
996 doesn't preserve them.
997 (pathFromSoupURI): Updated following EFL implementation in
998 r153977, and return a WTFString instead of a CString.
999 (convertSoupMessageToURLPath): Return "(null)" instead of empty
1000 strings, and handle the new return type of pathFromSoupURI.
1001 (convertWebResourceToURLPath): Use a GOwnPtr to hold the Soup URI
1002 reference, and handle the new return type of pathFromSoupURI.
1003 (descriptionSuitableForTestResult): Remove unused code.
1004 (didFinishLoading): Use convertResourceToURLPath.
1005 (didFailLoadingWithError): Use convertResourceToURLPath.
1006 (authenticationCallback): Display the URL of the authentication
1008 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Declare
1009 soupURIToStringPreservingPassword.
1010 * DumpRenderTree/gtk/TestRunnerGtk.cpp: Remove
1011 soupURIToStringPreservingPassword.
1013 2013-08-14 Tim Horton <timothy_horton@apple.com>
1015 Un-inline dataLog dumpers for IntSize and IntPoint
1016 https://bugs.webkit.org/show_bug.cgi?id=119697
1018 Reviewed by Sam Weinig.
1020 * TestWebKitAPI/GNUmakefile.am:
1022 2013-08-14 Ryosuke Niwa <rniwa@webkit.org>
1024 Flakiness dashboard build fix.
1026 * TestResultServer/static-dashboards/flakiness_dashboard.js:
1027 (processTestRunsForBuilder):
1029 2013-08-14 Martin Robinson <mrobinson@igalia.com>
1031 [GTK] [CMake] Add support for building TestWebKitAPI
1032 https://bugs.webkit.org/show_bug.cgi?id=116987
1034 Reviewed by Philippe Normand.
1036 * TestWebKitAPI/CMakeLists.txt: Move the library listings to before the inclusion of the
1037 platform-specific file, so that GTK+ can override them.
1038 * TestWebKitAPI/PlatformGTK.cmake: Added.
1040 2013-08-14 Brent Fulgham <bfulgham@apple.com>
1042 [Windows] Simplify Setting WebKit Debugging Options in WinLauncher
1043 https://bugs.webkit.org/show_bug.cgi?id=119775
1045 This bug updates the WinLauncher program with a few useful menu
1046 options to toggle certain debugging and development features of
1049 Reviewed by Tim Horton.
1051 * WinLauncher/WinLauncher.cpp:
1052 (dllLauncherEntryPoint): Clean up preference objects on exit.
1053 (ToggleMenuItem): New function.
1054 (LaunchInspector): New function.
1055 (WndProc): Add handler for new menu items. Also properly terminate
1056 CFRunLoop operation on program exit.
1057 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Add new
1059 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Add
1060 resource folder to search path.
1061 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Update
1064 2013-08-14 Ryosuke Niwa <rniwa@webkit.org>
1066 Add a hyperlink from build.webkit.org to the flakiness dashboard.
1068 Rubbers-tamped by Simon Fraser.
1070 * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
1072 2013-08-14 Benjamin Dupont <bdupont@nds.com>
1074 [Qt] Activate visibility API layout tests
1075 https://bugs.webkit.org/show_bug.cgi?id=119790
1077 Reviewed by Allan Sandfeld Jensen.
1079 * DumpRenderTree/qt/TestRunnerQt.cpp:
1080 (TestRunner::resetPageVisibility):
1081 (TestRunner::setPageVisibility):
1083 2013-08-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
1085 [GTK] WK does not link properly against libxslt
1086 https://bugs.webkit.org/show_bug.cgi?id=119688
1088 Reviewed by Gustavo Noronha Silva.
1090 * MiniBrowser/gtk/GNUmakefile.am: Added LIBXSLT_LIBS to
1092 * WebKitTestRunner/GNUmakefile.am: Added LIBXSLT_LIBS to WTR.
1094 2013-08-13 Alexey Proskuryakov <ap@apple.com>
1096 [Mac] fast/dom/attr-style-too-lazy.html is flaky
1097 https://bugs.webkit.org/show_bug.cgi?id=119763
1099 Reviewed by Darin Adler.
1101 * DumpRenderTree/mac/UIDelegate.mm:
1102 (-[UIDelegate webView:setStatusText:]): Don't dump anything when not running
1103 a test, it would just semi-randomly leak to the next one.
1104 (-[UIDelegate webView:didPressMissingPluginButton:]): Added same check here, just
1107 2013-08-13 Tim Horton <timothy_horton@apple.com>
1109 [mac] Give MiniBrowser a reasonable bundle identifier
1110 https://bugs.webkit.org/show_bug.cgi?id=119773
1112 Rubber-stamped by Simon Fraser.
1114 Give MiniBrowser the bundle identifier org.webkit.MiniBrowser.
1116 * MiniBrowser/mac/Info.plist:
1117 * MiniBrowser/mac/WebBundle/Info.plist:
1119 2013-08-13 Dean Jackson <dino@apple.com>
1121 <https://webkit.org/b/119766> Make bug url more human friendly in ChangeLog
1123 Reviewed by Mark Rowe.
1125 Have prepare-ChangeLog produce webkit.org/b/id style
1126 URLs rather than exposing the inner workings of our
1127 cgi. I was going to use the term "Future Proofing"
1128 but that seems excessive :)
1130 * Scripts/prepare-ChangeLog:
1131 (main): Generate a more human readable form.
1132 (generateNewChangeLogs): Use it when printing out the ChangeLog entry.
1134 2013-08-13 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
1136 [EFL][DRT] Simplify call to reverseFind()
1137 https://bugs.webkit.org/show_bug.cgi?id=119746
1139 Reviewed by Christophe Dumez.
1141 Follow-up to r153977.
1143 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1144 (pathSuitableForTestResult): Instead of defining a static variable
1145 that's only used in a single place, pass '/' to reverseFind() directly.
1147 2013-08-13 Alberto Garcia <berto@igalia.com>
1149 [GTK] Closing inspector window crashes wk
1150 https://bugs.webkit.org/show_bug.cgi?id=110865
1152 Reviewed by Carlos Garcia Campos.
1154 Disconnect all signal handlers if the inspector window is
1157 * GtkLauncher/LauncherInspectorWindow.c:
1158 (inspectorWindowDestroyed):
1159 (launcherInspectorWindowNew):
1161 2013-08-12 Dan Bernstein <mitz@apple.com>
1163 extract-localizable-strings output is not suited for parsing by Xcode
1164 https://bugs.webkit.org/show_bug.cgi?id=119728
1166 Reviewed by Darin Adler.
1168 Added spaces where needed after “path:line:” to allow Xcode to recognize the file reference,
1169 removed “ERROR” since messages that refer to a line in a file are shown as error by default,
1170 added “warning: ” in messages that aren’t errors (i.e. don’t prevent the script from exiting
1173 * Scripts/extract-localizable-strings:
1175 2013-08-12 Ryuan Choi <ryuan.choi@samsung.com>
1177 [EFL][WK1] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1178 https://bugs.webkit.org/show_bug.cgi?id=119585
1180 Reviewed by Gyuyoung Kim.
1182 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1183 (pathSuitableForTestResult):
1184 Return path string that's relative to main frame URL, or just file name if
1185 the resource is not in the same directory subtree.
1186 Referenced WebKitTestRunner code in r153852.
1187 (descriptionSuitableForTestResult):
1188 (DumpRenderTreeChrome::onFrameRedirectRequested):
1189 (DumpRenderTreeChrome::onNewResourceRequest): Followed changes of r153903.
1191 2013-08-12 Dan Bernstein <mitz@apple.com>
1193 extract-localizable-strings doesn't know how to verify an existing strings file
1194 https://bugs.webkit.org/show_bug.cgi?id=119704
1196 Reviewed by Darin Adler.
1198 * Scripts/extract-localizable-strings: Added an --exceptions option for specifying the
1199 exceptions file, changing the way “no exceptions file” is expressed from passing “-” as the
1200 exceptions file name to omitting the --exceptions option. Added a --skip option, changing
1201 the way directories to skip are specified from prefixing the directory with a “-” to
1202 specifying it with --skip.
1203 Finally, added a --verify option. When specified, the strings file is not written to, but
1204 instead read in and checked for consistency with the comments, keys and values derived from
1205 the source files and the exceptions file. Missing keys, unused keys, mismatching values and
1206 mismatching comments are reported as errors.
1207 * Scripts/update-webkit-localizable-strings: Updated for the new way of specifying
1208 directories to skip and no exceptions file.
1210 2013-08-12 Alexey Proskuryakov <ap@apple.com>
1212 http/tests/security/sandboxed-iframe-invalid.html is flaky on Mac
1213 https://bugs.webkit.org/show_bug.cgi?id=85522
1215 Reviewed by Andy Estes.
1217 * DumpRenderTree/mac/UIDelegate.mm:
1218 (-[UIDelegate webView:addMessageToConsole:withSource:]): Don't print console messages
1219 when already done with a test. We already had this check in all UI delegate functions,
1220 except for -webView:addMessageToConsole:withSource: somehow.
1222 2013-08-12 Alexey Proskuryakov <ap@apple.com>
1224 https://bugs.webkit.org/show_bug.cgi?id=119693
1225 [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is flaky
1226 because of connect-src-websocket-allowed.html
1228 Reviewed by Darin Adler.
1230 Starting a load of about:blank and immediately stopping it cancels outstanding
1231 resource loads, but the page has to transition to committed state to have timers
1232 or WebSockets stopped too.
1234 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Use a synchronous load to
1235 ensure that transition to committed state happens before we start the next test.
1237 2013-08-12 Beth Dakin <bdakin@apple.com>
1239 The LayoutMilestones didLayout callback should only fire for the main frame
1240 https://bugs.webkit.org/show_bug.cgi?id=119457
1242 Reviewed by Sam Weinig.
1244 Now that the didLayout callback only fires for the main frame, we want to make
1245 sure it will fire even when all of the content is in a subframe.
1247 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1248 * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp: Added.
1249 (TestWebKitAPI::didLayout):
1250 (TestWebKitAPI::TEST):
1251 * TestWebKitAPI/Tests/WebKit2/all-content-in-one-iframe.html: Added.
1253 2013-08-12 Beth Dakin <bdakin@apple.com>
1255 Remove didNewFirstVisuallyNonEmptyLayout from WebKit2
1256 https://bugs.webkit.org/show_bug.cgi?id=119658
1258 Reviewed by Darin Adler.
1260 * MiniBrowser/mac/WK2BrowserWindowController.m:
1261 (-[WK2BrowserWindowController awakeFromNib]):
1262 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1263 (WTR::InjectedBundlePage::InjectedBundlePage):
1264 * WebKitTestRunner/TestController.cpp:
1265 (WTR::TestController::createWebViewWithOptions):
1267 2013-08-12 Seokju Kwon <seokju@webkit.org>
1269 Remove glu's libtest rule from checker.py
1270 https://bugs.webkit.org/show_bug.cgi?id=119674
1272 Reviewed by Darin Adler.
1274 * Scripts/webkitpy/style/checker.py: It is no longer used after r148032.
1276 2013-08-11 ChangSeok Oh <changseok.oh@collabora.com>
1278 Unreviewed. Change my primary mail address.
1280 * Scripts/webkitpy/common/config/contributors.json:
1282 2013-08-09 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1284 [GTK] Misses mod_ssl and php in the list of packages required for tests for yum
1285 https://bugs.webkit.org/show_bug.cgi?id=115751
1287 Reviewed by Martin Robinson.
1289 * gtk/install-dependencies: add mod_ssl and php to the packages installed for tests
1292 2013-08-09 Beth Dakin <bdakin@apple.com>
1294 AX: Not able to use arrow keys to read text in a WK2 app
1295 https://bugs.webkit.org/show_bug.cgi?id=119605
1297 <rdar://problem/14281275>
1299 Reviewed by Darin Adler.
1301 New test verifies that didNotHandleKeyEvent will be called when there is nothing
1303 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1304 * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp: Added.
1305 (TestWebKitAPI::didFinishLoadForFrame):
1306 (TestWebKitAPI::didNotHandleKeyEventCallback):
1307 (TestWebKitAPI::TEST):
1309 2013-08-09 Christophe Dumez <ch.dumez@sisa.samsung.com>
1311 Add support for KeyboardEvent.location attribute
1312 https://bugs.webkit.org/show_bug.cgi?id=119326
1314 Reviewed by Benjamin Poulain.
1316 Rename the deprecated 'keyLocation' to 'location' in Mac's DRT code.
1318 * DumpRenderTree/mac/EventSendingController.mm:
1319 (-[EventSendingController keyDown:withModifiers:withLocation:]):
1320 (-[EventSendingController keyDownWrapper:withModifiers:withLocation:]):
1321 (-[EventSendingController scheduleAsynchronousKeyDown:withModifiers:withLocation:]):
1322 (-[EventSendingController handleEvent:]):
1323 (-[EventSendingController fireKeyboardEventsToElement:]):
1325 2013-08-09 Alexey Proskuryakov <ap@apple.com>
1327 <unknown> is often dumped instead of path in test output
1328 https://bugs.webkit.org/show_bug.cgi?id=119590
1330 Reviewed by Anders Carlsson.
1332 There were two reasons for <unknown>:
1333 1. When delegate logging is enabled via a testRunner call, that obviously happens
1334 after main resource load starts, so we don't record its URL.
1335 2. Authentication delegate logging relied on URL recording, but it's only turned on
1336 when enabling resource loading delegate logging, not auth one.
1338 URL recording was made conditional in <http://trac.webkit.org/r19316>, which was
1339 landed without posted rationale and unreviewed. Just undoing that change now.
1341 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1342 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1343 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1344 (WTR::InjectedBundlePage::didInitiateLoadForResource):
1346 2013-08-08 Alex Christensen <achristensen@apple.com>
1348 Windows build fixes.
1350 Rubberstamped by Brent Fulgham.
1352 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
1353 Removed /SAFESEH link option which doesn't work with x64.
1355 2013-08-08 Daniel Bates <dabates@apple.com>
1357 Add iOS support to run-javascriptcore-tests
1358 https://bugs.webkit.org/show_bug.cgi?id=119602
1360 Reviewed by Joseph Pecoraro.
1362 Make run-javascriptcore-tests work for iOS WebKit.
1364 * Scripts/run-javascriptcore-tests:
1366 2013-08-08 Alexey Proskuryakov <ap@apple.com>
1368 [WK2] loader/go-back-cached-main-resource.html fails
1369 https://bugs.webkit.org/show_bug.cgi?id=116491
1371 Reviewed by Tim Horton.
1373 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1374 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1375 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1376 * DumpRenderTree/win/DumpRenderTree.cpp:
1377 Added FIXMEs about making path printing normalization more compatible.
1379 * DumpRenderTree/mac/ResourceLoadDelegate.mm: (-[NSURL _drt_descriptionSuitableForTestResult]):
1380 Return last path component in cases where we used to return a full path, which is
1381 never desirable. Added a null check to basePath to prevent potentially getting
1382 an Objective C exception.
1384 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1385 (WTR::pathSuitableForTestResult): Changed to use path for main test window, not
1386 for a currently loading one (which is different for tests that use multiple windows).
1387 Changed to return "(null)" for empty URLs to match WK1 output. Changed to return
1388 last path component as last fallback.
1389 (WTR::dumpRequestDescriptionSuitableForTestResult): We no longer need to pass main
1390 frame URL here, and it was potentially a wrong frame.
1391 (WTR::dumpResponseDescriptionSuitableForTestResult): Ditto.
1392 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame): Ditto.
1393 (WTR::InjectedBundlePage::didInitiateLoadForResource): Ditto.
1394 (WTR::InjectedBundlePage::willSendRequestForFrame): Ditto.
1395 (WTR::InjectedBundlePage::didReceiveResponseForResource): Ditto.
1397 2013-08-08 Alex Christensen <achristensen@apple.com>
1399 WTR::pathSuitableForTestResult should behave the same as _drt_descriptionSuitableForTestResult so we can unskip tests.
1400 https://bugs.webkit.org/show_bug.cgi?id=116125
1402 Reviewed by Tim Horton. Tweaked and re-landed by Alexey Proskuryakov.
1404 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1405 (WTR::pathSuitableForTestResult):
1406 Changed string operations to match _drt_descriptionSuitableForTestResult.
1407 (WTR::dumpRequestDescriptionSuitableForTestResult):
1408 (WTR::dumpResponseDescriptionSuitableForTestResult):
1409 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
1410 (WTR::InjectedBundlePage::didInitiateLoadForResource):
1411 (WTR::InjectedBundlePage::willSendRequestForFrame):
1412 (WTR::InjectedBundlePage::didReceiveResponseForResource):
1413 Pass the main frame's URL to pathSuitableForTestResult.
1414 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1415 Added WKBundlePageRef to willPerformClientRedirectForFrame.
1417 2013-08-07 Simon Fraser <simon.fraser@apple.com>
1419 Allow the DumpRenderTree runloop to be idle while waiting for a test to complete
1420 https://bugs.webkit.org/show_bug.cgi?id=119317
1422 Reviewed by Tim Horton.
1424 The change in r55200 made DumpRenderTree spin a busy-loop while waiting for
1425 the test to complete, which is not power friendly. Although DRT instances
1426 are generally busy anyway, not sitting in a busy loop should free up some CPU
1427 cycles for other instances of DRT.
1429 Editing tests continue to pass. All Java tests are skipped and were not
1430 tested, but when run fail similarly with and without the patch.
1432 * DumpRenderTree/mac/DumpRenderTree.mm:
1436 2013-08-07 Daniel Bates <dabates@apple.com>
1438 Clean up: Simplifying the printing of the command line arguments passed to jsDriver.pl
1439 <https://bugs.webkit.org/show_bug.cgi?id=119558>
1441 Reviewed by Martin Robinson.
1443 Currently we build the command line to execute jsDriver.pl twice so as to both
1444 print it to standard output and actually execute it. We should only build up
1445 this command line once. Moreover, we should print to standard output the actual
1446 command line that we are going to use including the GTK- and EFL-specific call
1447 to /Tools/jhbuild/jhbuild-wrapper.
1449 * Scripts/run-javascriptcore-tests:
1451 2013-08-07 Mario Sanchez Prada <mario.prada@samsung.com>
1453 [EFL] REGRESSION after r153432: some accessibility tests crash.
1454 https://bugs.webkit.org/show_bug.cgi?id=119333
1456 Reviewed by Darin Adler.
1458 Use a RefPtr to store a reference to the parent element of
1459 an AccessibilityUIElement instead of the raw pointer, so we
1460 never derefence a function from an invalid pointer.
1462 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1463 (WTR::attributesOfElement): Use a RefPtr instead of a raw pointer.
1465 2013-08-07 Cosmin Truta <ctruta@blackberry.com>
1467 Unreviewed. Add myself as a committer.
1469 * Scripts/webkitpy/common/config/contributors.json:
1471 2013-08-04 Sam Weinig <sam@webkit.org>
1473 Remove support for HTML5 MicroData
1474 https://bugs.webkit.org/show_bug.cgi?id=119480
1476 Reviewed by Anders Carlsson.
1478 * Scripts/webkitperl/FeatureList.pm:
1479 * qmake/mkspecs/features/features.pri:
1481 2013-07-23 David Farler <dfarler@apple.com>
1483 Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
1484 https://bugs.webkit.org/show_bug.cgi?id=117762
1486 Reviewed by Mark Rowe.
1488 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1489 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1490 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1491 Add ASAN_OTHER_LDFLAGS.
1492 * MiniBrowser/Configurations/DebugRelease.xcconfig:
1493 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1494 * Scripts/check-for-weak-vtables-and-externals:
1495 Ignore ___asan externals, these are populated by compiler-rt.
1496 * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1497 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1498 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1499 Add ASAN_OTHER_LDFLAGS.
1500 * WebKitLauncher/Configurations/Base.xcconfig:
1501 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1502 * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig:
1503 Add ASAN_OTHER_LDFLAGS.
1504 * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1505 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1506 * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
1507 Add ASAN_OTHER_LDFLAGS.
1508 * asan/asan.xcconfig: Added.
1509 * asan/webkit-asan-ignore.txt: Added.
1511 2013-08-05 Brian Holt <brian.holt@samsung.com>
1513 [GTK] Implement leak checking with valgrind
1514 https://bugs.webkit.org/show_bug.cgi?id=118785
1516 Reviewed by Dirk Pranke.
1518 Launch the DRT under Valgrind to generate xml files with details
1521 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1523 * Scripts/webkitpy/port/gtk.py:
1525 (GtkPort.default_timeout_ms): Allow extra time to run under
1527 (GtkPort.setup_environ_for_server): Pass Valgrind instructions
1528 using environment variables.
1530 2013-08-02 Mario Sanchez Prada <mario.prada@samsung.com>
1532 [EFL] REGRESSION after r153432: some accessibility tests crash.
1533 https://bugs.webkit.org/show_bug.cgi?id=119333
1535 Reviewed by Gustavo Noronha Silva.
1537 Add missing null-check to avoid dereferencing a non-existent parent.
1539 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1540 (WTR::attributesOfElement): Ditto.
1542 2013-08-02 Patrick Gansterer <paroga@webkit.org>
1544 Add --rmdir option to git svn dcommit
1545 https://bugs.webkit.org/show_bug.cgi?id=119398
1547 Reviewed by Ryosuke Niwa.
1549 Add this option tells git-svn to remove empty directories
1550 from the svn tree so they do not leave over there.
1552 * Scripts/webkitpy/common/checkout/scm/git.py:
1553 (Git.push_local_commits_to_server):
1555 2013-08-01 Brent Fulgham <bfulgham@apple.com>
1557 [Windows] WebKit1 Fullscreen Video Play is Broken
1558 https://bugs.webkit.org/show_bug.cgi?id=119415
1560 Reviewed by Jer Noble.
1562 * WinLauncher/WinLauncher.cpp:
1563 (dllLauncherEntryPoint): Activate full screen mode via
1564 IWebPreferencesInternal interface.
1566 2013-08-01 ChangSeok Oh <changseok.oh@collabora.com>
1568 Unreviewed. Add an alternative address to show my affiliation in team.html.
1570 * Scripts/webkitpy/common/config/contributors.json:
1572 2013-08-01 Bem Jones-Bey <bjonesbe@adobe.com>
1574 Duplicate property names can cause test to fail
1575 https://bugs.webkit.org/show_bug.cgi?id=119399
1577 Reviewed by Dirk Pranke.
1579 This problem was noticed when porting the patch for
1580 http://wkb.ug/119357 to Blink: a test would fail because the converted
1581 and test property lists weren't the same length, but they contained
1582 all of the same property names. It looks like this is actually caused
1583 by a bug in converting the HTML, which is being currently rewritten.
1584 In the meantime, as long as this compares the number of unique
1585 properties, it makes the test more robust.
1587 * Scripts/webkitpy/w3c/test_converter_unittest.py:
1588 (verify_prefixed_properties):
1590 2013-08-01 Bem Jones-Bey <bjonesbe@adobe.com>
1592 Unreviewed. Adding my expertise.
1594 * Scripts/webkitpy/common/config/contributors.json:
1596 2013-08-01 ChangSeok Oh <changseok.oh@collabora.com>
1598 Unreviewed. Add myself as a committer. Yoo-hoo! \o/
1600 * Scripts/webkitpy/common/config/contributors.json:
1602 2013-08-01 Commit Queue <commit-queue@webkit.org>
1604 Unreviewed, rolling out r153518.
1605 http://trac.webkit.org/changeset/153518
1606 https://bugs.webkit.org/show_bug.cgi?id=119386
1608 The Jhbuild dep bump of GTK+ is not actually required by
1609 layout testing, is causing pango dep problems (Requested by
1610 zdobersek on #webkit).
1612 * gtk/jhbuild.modules:
1614 2013-08-01 Xabier Rodriguez Calvar <calvaris@igalia.com>
1616 Unreviewed. Add myself as a committer.
1618 * Scripts/webkitpy/common/config/contributors.json:
1620 2013-08-01 Jaehun Lim <ljaehun.lim@samsung.com>
1622 Unreviewed. Add myself as a committer.
1624 * Scripts/webkitpy/common/config/contributors.json:
1626 2013-07-31 Jinwoo Song <jinwoo7.song@samsung.com>
1628 Unreviewed. Add myself as a committer.
1630 * Scripts/webkitpy/common/config/contributors.json:
1632 2013-08-01 Alberto Garcia <berto@igalia.com>
1634 Unreviewed. Add myself as a committer.
1636 * Scripts/webkitpy/common/config/contributors.json:
1638 2013-07-31 Seokju Kwon <seokju@webkit.org>
1640 Unreviewed. Add myself as a committer.
1642 * Scripts/webkitpy/common/config/contributors.json:
1644 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1646 W3C test import script prefixes some properties that it shouldn't
1647 https://bugs.webkit.org/show_bug.cgi?id=119357
1649 Reviewed by Dirk Pranke.
1651 Some prefixed properties also have unprefixed implemetations, but when
1652 the implementations aren't identical, they aren't declared in
1653 CSSPropertyNames.in on the same line. This fixes the import script so
1654 that it catches all instances of prefixed properties that have an
1655 unprefixed variant, and does not add the prefix in those cases.
1657 * Scripts/webkitpy/w3c/test_converter.py:
1658 (W3CTestConverter.read_webkit_prefixed_css_property_list): Read all of
1659 the properties on every line and record if they are prefixed or not.
1660 Use this information to only return prefixed properties that do not
1661 have any unprefixed variant. The prefixed property list has also
1662 changed to not include the '-webkit-' prefix, making it much easier to
1663 do the comparison, and removing the need to remove the prefix later.
1664 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties): This no
1665 longer needs to remove the '-webkit-' prefix, but needs to add it in
1666 the case where a property that needs a prefix is found.
1667 * Scripts/webkitpy/w3c/test_converter_unittest.py:
1668 (W3CTestConverterTest.test_read_prefixed_property_list): Remove assert
1669 for '-webkit-' prefix, as it is no longer included in the properties
1670 in the prefixed property list.
1672 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1674 Update location of w3c shapes tests to reflect new import location
1675 https://bugs.webkit.org/show_bug.cgi?id=118156
1677 Reviewed by Dirk Pranke.
1679 Partial imports should not be imported to the same place as the full
1680 import, so this adds an option to allow importing to a different
1681 location than the default. In doing that, I found that imports from
1682 contributor directories didn't seem to be working correctly, so I
1683 updated the import to be smarter about both contributor directories
1684 and the test status directories. It should now be more likely that the
1685 script guesses the root directory properly.
1687 * Scripts/webkitpy/w3c/test_importer.py: Remove comment about the
1688 script not working with the full set of contributors, as that is
1689 no longer true, and I didn't see a good way to keep that behavior.
1690 Also update documentation to properly explain what happens when a
1691 contributor dir is imported.
1692 (main): Attempt to find the proper repo dir by looking at the
1693 directory above the "test status" in the given path, this is still
1694 not exactly right, but is less error prone than just trimming.
1695 (parse_args): Add -d option to set the import directory.
1696 (TestImporter.__init__): Stop appending the subdirs to the
1697 destination_directory because it was making things more complex
1698 and isn't really needed.
1699 (TestImporter.update_test_status): Remove hardcoded strings and use
1700 the TEST_STATUS constants instead.
1701 * Scripts/webkitpy/w3c/test_importer_unittest.py:
1702 (TestImporterTest.test_import_dir_with_no_tests_and_no_hg): Add
1703 support for new option.
1704 (TestImporterTest.test_import_dir_with_no_tests): Ditto.
1706 2013-07-31 Brent Fulgham <bfulgham@apple.com>
1708 [Windows] Winlauncher shouldn't look for Safari Install Directory
1709 https://bugs.webkit.org/show_bug.cgi?id=119351
1711 Reviewed by Darin Adler.
1713 * win/DLLLauncher/DLLLauncherMain.cpp: Don't check registry for
1714 the Safari install location. Instead, use the proper support
1715 library path for the build architecture.
1717 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1719 Update scripts to reference contributors.json instead of committers.py in messaging
1720 https://bugs.webkit.org/show_bug.cgi?id=119342
1722 Reviewed by Ryosuke Niwa.
1724 Change the scripts to point people to contributors.json instead of
1725 committers.py since the latter no longer contains the list of
1728 * Scripts/webkitpy/common/config/committervalidator.py:
1729 (CommitterValidator._contributors_json_path):
1730 (CommitterValidator._flag_permission_rejection_message):
1731 * Scripts/webkitpy/common/config/committervalidator_unittest.py:
1732 (CommitterValidatorTest.test_flag_permission_rejection_message):
1733 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1734 (Bugzilla._commit_queue_flag):
1735 * Scripts/webkitpy/common/watchlist/watchlistparser.py:
1736 (WatchListParser._validate):
1737 * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
1738 (WatchListParserTest.test_cc_rule_with_invalid_email):
1739 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
1740 * Scripts/webkitpy/tool/commands/queues_unittest.py:
1741 * Scripts/webkitpy/tool/steps/validatereviewer.py:
1742 (ValidateReviewer.run):
1744 2013-07-31 Roger Fong <roger_fong@apple.com>
1746 Unreviewed. Re-enable WinEWS tests following r153527.
1748 * Scripts/webkitpy/common/config/ews.json:
1750 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
1752 Unreviewed: Adding myself to the committers' list.
1754 * Scripts/webkitpy/common/config/contributors.json:
1756 2013-07-31 Allan Sandfeld Jensen <allan.jensen@digia.com>
1758 [Qt] Build WebKit with C++11
1759 https://bugs.webkit.org/show_bug.cgi?id=119337
1761 Reviewed by Csaba Osztrogonác.
1763 Enable building with C++11.
1765 * qmake/mkspecs/features/default_pre.prf:
1766 * qmake/mkspecs/features/unix/default_post.prf:
1767 * qmake/mkspecs/features/unix/default_pre.prf:
1769 2013-07-31 Allan Sandfeld Jensen <allan.jensen@digia.com>
1771 [Qt] ASSERTS trigger in release builds
1772 https://bugs.webkit.org/show_bug.cgi?id=119336
1774 Reviewed by Jocelyn Turcotte.
1776 Ensure the qmake also defaults to release if no configuration is known.
1778 * qmake/mkspecs/features/default_post.prf:
1780 2013-07-31 Zan Dobersek <zdobersek@igalia.com>
1782 [texmap][GStreamer][GTK] composited video shows tearing
1783 https://bugs.webkit.org/show_bug.cgi?id=118253
1785 Reviewed by Martin Robinson.
1787 * gtk/jhbuild.modules: Bump the Jhbuild versions of the Gdk-Pixbuf and GTK+ packages to 2.27.3 and 3.8.2, respectively.
1788 The first is required by the second, and the GTK+ bump introduces proper display framerate synchronization that removes
1789 screen tearing when enabling accelerated compositing and performing graphically heavy operations like viewing HD videos.
1791 2013-07-30 Ruth Fong <ruth_fong@apple.com>
1793 Unreviewed: Adding myself to the committers' list.
1795 * Scripts/webkitpy/common/config/contributors.json:
1797 2013-07-30 Christophe Dumez <ch.dumez@sisa.samsung.com>
1799 Unreviewed, add my new email to contributors.json.
1801 * Scripts/webkitpy/common/config/contributors.json:
1803 2013-07-30 Krzysztof Czech <k.czech@samsung.com>
1805 [EFL] REGRESSION after r153439: layout tests do not run.
1806 https://bugs.webkit.org/show_bug.cgi?id=119240
1808 Reviewed by Christophe Dumez.
1810 Changed attribute name from check_xvfb to check_driver.
1812 * Scripts/webkitpy/port/efl.py:
1813 (EflPort.check_sys_deps):
1815 2013-07-29 Commit Queue <commit-queue@webkit.org>
1817 Unreviewed, rolling out r152860.
1818 http://trac.webkit.org/changeset/152860
1819 https://bugs.webkit.org/show_bug.cgi?id=119227
1821 Disable WinEWS tests until tests stop crashing (Requested by
1824 * Scripts/webkitpy/common/config/ews.json:
1826 2013-07-29 Zan Dobersek <zdobersek@igalia.com>
1828 [GTK] Add WestonDriver, use it when appropriate
1829 https://bugs.webkit.org/show_bug.cgi?id=119100
1831 Reviewed by Dirk Pranke.
1833 Introduce the WestonDriver, a Driver-implementing class that sets up an instance of Weston, the Wayland compositor,
1834 and sets up an environment that enables the test runner to run inside it.
1836 The design very much mimics the XvfbDriver class. It is currently used by the GTK port when the WAYLAND_DISPLAY
1837 environment variable is set, that is when NRWT is being run under a Wayland display.
1839 * Scripts/webkitpy/port/base.py:
1840 (Port.to.setup_environ_for_server): Also copy the XDG_RUNTIME_DIR env from the original environment for Linux-using ports.
1841 * Scripts/webkitpy/port/gtk.py:
1843 (GtkPort._driver_class): Make the method memoized - the display type is not going to change during the testing, so we
1844 should only check once for the presence of the WAYLAND_DISPLAY env and determine the proper driver class to use based on that.
1845 (GtkPort.check_sys_deps): Call the static check_driver method on the class as returned by the _driver_class method
1846 instead of hard-coding the XvfbDriver class in the check.
1847 * Scripts/webkitpy/port/westondriver.py: Added.
1849 (WestonDriver.check_driver): Similarly to XvfbDriver, this checks for existance of the weston executable.
1850 (WestonDriver.__init__): Again, like in XvfbDriver, we use a small delay between launching the Weston display and launching the driver.
1851 (WestonDriver._start): Sets up the driver-specific temporary directory, launches the Weston display, sets up the environment for the
1852 driver and then launches the driver in said environment, using the driver's Weston display.
1853 (WestonDriver.stop): Cleans up the Weston instance and the temporary directory.
1854 (WestonDriver._ensure_driver_tmpdir_subdirectory): A helper function that creates a subdirectory in the driver's temporary directory
1855 and returns the absolute path to it.
1856 * Scripts/webkitpy/port/xvfbdriver.py:
1857 (XvfbDriver.check_driver): Renamed from check_xvfb.
1858 (XvfbDriver._start): Access the FileSystem object through the Port's Host object, instead of the Port's private member.
1860 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
1862 [ATK] Implement attributesOfChildren() for AccessibilityUIElement
1863 https://bugs.webkit.org/show_bug.cgi?id=118967
1865 Reviewed by Gustavo Noronha Silva.
1867 Implemented AccessibilityUIElement::attributesOfChildren() both
1868 in DumpRenderTree and the WebKitTestRunner.
1870 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1871 (AccessibilityUIElement::attributesOfChildren): Implemented.
1873 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1874 (WTR::AccessibilityUIElement::attributesOfChildren): Implemented.
1876 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
1878 [ATK] Implement allAttributes() for AccessibilityUIElement
1879 https://bugs.webkit.org/show_bug.cgi?id=118966
1881 Reviewed by Gustavo Noronha Silva.
1883 Implemented AccessibilityUIElement::allAttributes() both in
1884 DumpRenderTree and the WebKitTestRunner.
1886 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1887 (getAtkAttributeSetAsString): Moved up in the file, and refactored
1888 to use StringBuilder and return a String instead of a gchar*.
1889 (roleToString): Changed not to return the "AXRole: " prefix, so
1890 we can use it as well from attributesOfElement().
1891 (attributesOfElement): New function to dump attributes for an object.
1892 (AccessibilityUIElement::allAttributes): Call attributesOfElement().
1893 (AccessibilityUIElement::role): Updated to prefix "AXRole: ".
1895 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1896 (getAtkAttributeSetAsString): Refactored to use StringBuilder and return
1897 a String instead of a gchar*.
1899 (WTF::roleToString): Changed not to return the "AXRole: " prefix,
1900 so we can use it as well from attributesOfElement().
1901 (WTF::attributesOfElement): New function to dump attributes for an object.
1902 (WTR::AccessibilityUIElement::allAttributes): Call attributesOfElement().
1903 (WTR::AccessibilityUIElement::role): Updated to prefix "AXRole: ".
1905 2013-07-29 Daniel Bates <dabates@apple.com>
1907 Add support infrastructure for iOS WebKit port
1908 https://bugs.webkit.org/show_bug.cgi?id=119168
1910 Reviewed by Ryosuke Niwa.
1912 Implement support infrastructure towards building iOS WebKit.
1914 * Scripts/webkitdirs.pm:
1915 (xcodeSDKPlatformName): Added.
1916 (determineConfigurationProductDir):
1917 (builtDylibPathForName):
1918 (willUseIOSDeviceSDKWhenBuilding): Added.
1919 (willUseIOSSimulatorSDKWhenBuilding): Added.
1920 (isIOSWebKit): Added.
1921 (copyInspectorFrontendFiles):
1923 2013-07-29 Sergio Correia <sergio.correia@openbossa.org>
1925 CoordinatedGraphics: Add API to get and set the active state of a WebView
1926 https://bugs.webkit.org/show_bug.cgi?id=119067
1928 Reviewed by Noam Rosenthal.
1930 Added API tests for WKViewIsActive and WKViewSetIsActive.
1932 * TestWebKitAPI/PlatformEfl.cmake:
1933 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp: Added.
1934 (TestWebKitAPI::didFinishLoadForFrame):
1935 (TestWebKitAPI::webProcessCrashed):
1936 (TestWebKitAPI::webProcessRelaunched):
1937 (TestWebKitAPI::TEST):
1938 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp:
1939 Bundle added to allow crashing the WebProcess and testing the active state of a view
1940 under such condition.
1941 (TestWebKitAPI::WKViewIsActiveSetIsActiveTest::WKViewIsActiveSetIsActiveTest):
1942 (TestWebKitAPI::WKViewIsActiveSetIsActiveTest::didReceiveMessage):
1944 2013-07-29 Zan Dobersek <zdobersek@igalia.com>
1946 [Automake] Remove references to non-existent *_CFLAGS and *_LIBS variables
1947 https://bugs.webkit.org/show_bug.cgi?id=119212
1949 Reviewed by Carlos Garcia Campos.
1951 * GNUmakefile.am: Remove references to GLOBALDEPS_(CFLAGS|LIBS) and CLUTTER_(CFLAGS|LIBS)
1952 variables that are not defined during the configuration process.
1953 * TestWebKitAPI/GNUmakefile.am: Ditto.
1954 * WebKitTestRunner/GNUmakefile.am: Ditto.
1956 2013-07-28 Andy Estes <aestes@apple.com>
1958 Include <stdio.h> to declare perror()
1959 https://bugs.webkit.org/show_bug.cgi?id=119198
1961 Reviewed by Andreas Kling.
1963 Silences an implicit declaration warning.
1965 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c:
1967 2013-07-27 Ryuan Choi <ryuan.choi@samsung.com>
1969 [EFL] Bump required version of EFL to 1.7
1970 https://bugs.webkit.org/show_bug.cgi?id=119144
1972 Reviewed by Christophe Dumez.
1974 * MiniBrowser/efl/CMakeLists.txt: Bumped EFL to 1.7
1976 2013-07-26 Filip Pizlo <fpizlo@apple.com>
1978 WKTR should know about the JSC extensions to testRunner
1979 https://bugs.webkit.org/show_bug.cgi?id=119154
1981 Reviewed by Mark Hahnenberg and Geoffrey Garen.
1983 This makes some fast/js tests pass.
1985 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1986 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1987 (WTR::TestRunner::numberOfDFGCompiles):
1988 (WTR::TestRunner::neverInlineFunction):
1989 * WebKitTestRunner/InjectedBundle/TestRunner.h:
1991 2013-07-25 Mark Rowe <mrowe@apple.com>
1993 Fix build of DumpRenderTree and WebKitTestRunner when building against an SDK.
1995 * DumpRenderTree/mac/Configurations/Base.xcconfig: Fix framework search path when building against an SDK.
1996 * WebKitTestRunner/Configurations/Base.xcconfig: Ditto. Also fix where our scripts look for WebCore.framework
1997 so they pull the version out of the SDK.
1999 2013-07-25 Anders Carlsson <andersca@apple.com>
2001 Localizable.strings generated by extract-localizable-strings should be UTF-8
2002 https://bugs.webkit.org/show_bug.cgi?id=119106
2004 Reviewed by Mark Rowe.
2006 Output strings as UTF-8.
2008 * Scripts/extract-localizable-strings:
2010 2013-07-25 Sam Weinig <sam@webkit.org>
2012 -[WebHTMLView attributedSubstringForProposedRange:actualRange:] does not include strikethrough attribute in the returned attributed string
2013 https://bugs.webkit.org/show_bug.cgi?id=119099
2014 <rdar://problem/13439291>
2016 Reviewed by Enrica Casucci.
2018 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2019 * TestWebKitAPI/Tests/mac/AttributedString.mm:
2020 (TestWebKitAPI::attributedString):
2021 (TestWebKitAPI::AttributedStringTest_CustomFont::didLoadURL):
2022 (TestWebKitAPI::AttributedStringTest_CustomFont::url):
2023 (TestWebKitAPI::AttributedStringTest_CustomFont::runTest):
2024 (TestWebKitAPI::TEST_F):
2025 (TestWebKitAPI::AttributedStringTest_Strikethrough::didLoadURL):
2026 (TestWebKitAPI::AttributedStringTest_Strikethrough::url):
2027 (TestWebKitAPI::AttributedStringTest_Strikethrough::runTest):
2028 * TestWebKitAPI/Tests/mac/attributedStringStrikethrough.html: Added.
2029 Add tests for attributed strings with strikethrough. Refactor the attributed string tests
2030 to make adding more easier in the future.
2032 2013-07-20 Filip Pizlo <fpizlo@apple.com>
2034 fourthTier: FTL should be able to generate LLVM IR that uses an intrinsic for OSR exit
2035 https://bugs.webkit.org/show_bug.cgi?id=118948
2037 Reviewed by Sam Weinig.
2039 - Make ReducedFTL capable of dealing with code that uses the fake OSR exit intrinsic,
2040 by exporting it as a function.
2042 - Make combineModules.rb idempotent. Sometimes it's convenient to run a file through
2043 it even if you know that you've already done so. See processIRDump.sh.
2045 - Add a script, processIRDump.sh, that takes the output of --dumpLLVMIR=true and
2046 runs it through ReducedFTL automatically. You typically want to say something like:
2048 jsc --dumpLLVMIR=true <program(s)> > jsc-output.txt
2049 ./processIRDump.sh --timing < jsc-output.txt
2051 * ReducedFTL/ReducedFTL.c:
2053 * ReducedFTL/combineModules.rb:
2054 * ReducedFTL/processIRDump.sh: Added.
2056 2013-07-20 Filip Pizlo <fpizlo@apple.com>
2058 fourthTier: We should use the no-asserts build of LLVM if that's what the user configured
2059 https://bugs.webkit.org/show_bug.cgi?id=118947
2061 Reviewed by Dan Bernstein.
2063 * Scripts/copy-webkitlibraries-to-product-directory:
2065 2013-07-16 Filip Pizlo <fpizlo@apple.com>
2067 fourthTier: We should have a reduced FTL LLVM pipeline tool in the repository
2068 https://bugs.webkit.org/show_bug.cgi?id=118647
2070 Rubber stamped by Geoffrey Garen and Mark Hahnenberg.
2072 Add a tool that takes in an LLVM bitcode file and JITs it in exactly the same
2073 way that the FTL would.
2075 Also add a tool that combines multiple LLVM modules generated by FTL into a
2078 * ReducedFTL: Added.
2079 * ReducedFTL/ReducedFTL.c: Added.
2083 (mmAllocateCodeSection):
2084 (mmAllocateDataSection):
2085 (mmApplyPermissions):
2087 (symbolLookupCallback):
2089 * ReducedFTL/build.sh: Added.
2090 * ReducedFTL/combineModules.rb: Added.
2092 2013-06-09 Filip Pizlo <fpizlo@apple.com>
2094 Unreviewed, fix minor goof in profiling output layout. We weren't accounting
2095 for the "/" that is printed between engine counts.
2097 * Scripts/display-profiler-output:
2099 2013-05-28 Filip Pizlo <fpizlo@apple.com>
2101 testRunner should have a way of disabling inlining of functions
2102 https://bugs.webkit.org/show_bug.cgi?id=116875
2104 Reviewed by Mark Hahnenberg.
2106 * DumpRenderTree/TestRunner.cpp:
2107 (neverInlineFunction):
2108 (TestRunner::staticFunctions):
2110 2013-05-27 Filip Pizlo <fpizlo@apple.com>
2112 testRunner should be able to tell you if a function is DFG compiled
2113 https://bugs.webkit.org/show_bug.cgi?id=116847
2115 Reviewed by Mark Hahnenberg.
2117 * DumpRenderTree/TestRunner.cpp:
2118 (numberOfDFGCompiles):
2119 (TestRunner::staticFunctions):
2121 2013-05-21 Filip Pizlo <fpizlo@apple.com>
2123 fourthTier: display-profiler-output should make it even easier to diff the compilation story between two different runs
2124 https://bugs.webkit.org/show_bug.cgi?id=116556
2126 Reviewed by Oliver Hunt.
2128 This adds three new capabilities:
2130 - 'display' now accepts negative compilation indices, and allows specifying
2131 wildcard hashes combined with combination indices. Previously you could say
2132 'display <hash>', 'display <hash>-<index>-<engine>', or 'display *'. The
2133 latter would display every compilation. This improves this so that you can
2134 say 'display *-<index>-<engine>'. It also makes it so that you can give a
2135 negative index, which allows you to say things like 'display blah--1-dfg',
2136 which displays just the last DFG compilation. Also you can say
2137 'display *--1-dfg', which displays the last DFG compilation for each code
2138 block. I realize that this is kind of ugly, but gosh is it practical.
2140 - You can now say 'sort hash', which will henceforth sort all of the output
2141 by code hash rather than by the time when it was compiled. This means that
2142 if you're doing 'dispay *--1-dfg' and then want to diff the results against
2143 something else, you can ensure that this doesn't get confused just by
2144 changes in compilation order.
2146 - You can now say 'counts off', which will henceforth disable the display of
2147 execution counts from 'bytecode' and 'display'. This is also useful for
2148 diffs, since if you're trying to figure out why two compilations are
2149 different, they probably have radically different counts. 'counts off' gets
2150 this out of the output so that it doesn't confuse your diff.
2152 Note that to use this effectively you should also have a script that scrubs
2153 pointers from text so that the diff doesn't get confused by pointers. I'll
2154 post my elimptr script to the bug. Maybe at some point I'll integrate that
2155 into display-profiler-output.
2157 Put together this is pretty awesome. I was able to do the following:
2159 (echo "counts off" && echo "sort hash" && echo "d *--1-dfg") | Tools/Scripts/display-profiler-output richards-serial.profile | elimptr > richards-serial.asm
2160 (echo "counts off" && echo "sort hash" && echo "d *--1-dfg") | Tools/Scripts/display-profiler-output richards-concurrent.profile | elimptr > richards-concurrent.asm
2161 diff -u richards-serial.asm richards-concurrent.asm
2163 And this immediately told me that the reason why richards is slower in the
2164 concurrent compilation case is just that we end up compiling *tons* more
2165 functions, most of which are trivially inlineable. Basically, concurrent
2166 compilation breaks our previous heuristics for delaying compilation of
2167 inlineables just enough that they never trigger compilation. We should fix
2168 that in a separate bug.
2170 * Scripts/display-profiler-output:
2172 2013-04-30 Filip Pizlo <fpizlo@apple.com>
2174 fourthTier: Use hw.availcpu instead of hw.ncpu, and configure LLVM with --enable-zlib=no
2176 Rubber stamped by Mark Rowe.
2178 * Scripts/copy-webkitlibraries-to-product-directory:
2180 2013-07-16 Oliver Hunt <oliver@apple.com>
2182 Merge dfgFourthTier r148853
2184 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2186 fourthTier: tandem WebKit and LLVM builds should ./configure LLVM if needed
2187 https://bugs.webkit.org/show_bug.cgi?id=114933
2189 Reviewed by Andy Estes.
2191 This makes it easy to get set up for tandem LLVM builds.
2193 * Scripts/copy-webkitlibraries-to-product-directory:
2195 2013-07-16 Oliver Hunt <oliver@apple.com>
2197 Merge dfgFourthTier r148850
2199 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2201 fourthTier: WebKit's build system should relink JavaScriptCore if LLVM's libraries changed but its headers didn't
2202 https://bugs.webkit.org/show_bug.cgi?id=114926
2204 Reviewed by Geoffrey Garen.
2206 If the LLVM libraries change, then touch a phony header, which will force relink
2209 * Scripts/copy-webkitlibraries-to-product-directory:
2210 (unpackIfNecessary):
2212 2013-07-16 Oliver Hunt <oliver@apple.com>
2214 Merge dfgFourthTier r148848
2216 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2218 fourthTier: developing LLVM in tandem with WebKit should be fun and easy
2219 https://bugs.webkit.org/show_bug.cgi?id=114925
2221 Reviewed by Geoffrey Garen.
2223 This enables building LLVM along with WebKit, so that build-jsc and build-webkit
2224 will also optionally build LLVM and quickly symlink LLVM's built products into
2227 Most WebKit and JSC hackers will want to rely on the checked-in already-built
2228 versions of LLVM in WebKitLibraries. But developing both systems in tandem is an
2229 increasingly common use-case for me, and it may become a common use case for a
2230 handful of others. Currently, this is really painful: you first have to build
2231 LLVM, then you have to export-llvm-build (which takes a while), and then you
2232 have to make sure that your LLVM_LIBRARY_PACKAGE and LLVM_INCLUDE_PACKAGE
2233 variables are set to point to the thing you exported. The whole process loses
2234 track of dependencies very quickly: making a tiny change in LLVM requires
2235 packaging, and then unpackaging, a large number of potentially large headers and
2236 static libraries. Not only is this slow but it then causes the WebKit build
2237 system to rebuild anything that transitively includes any LLVM header, which is
2238 now quite a few files. While this sort of use pattern is still worthwhile if
2239 you're trying to package a binary drop and test it, it's not great if you're
2240 just trying to do experimental development that involves making small changes
2243 This change fixes this use case while keeping the old use cases intact. You can
2244 do tandem development using one of two modes:
2246 Your own LLVM directory: just set LLVM_SOURCE_PATH to the *absolute* path of
2247 the LLVM directory you're using. Once this is done, any invocation of a WebKit
2248 build via build-jsc or build-webkit will also build LLVM, and then quickly
2249 symlink things into place without perturbing dependency tracking.
2251 Internal LLVM directory: if you check out llvm into a directory called 'llvm'
2252 right off of the WebKit source tree, then the build system will automatically
2255 Here's how this takes care of dependencies:
2257 Headers: the include/llvm and include/llvm-c directories are symlinked into
2258 $productsDir/usr/local/include. And then everything just works.
2260 Libraries: the build system detects, by reading LLVM's Makefile.config, which
2261 mode LLVM is built in (like Release+Asserts or Debug+Asserts) and symlinks
2262 the .a files into $productsDir/<thingy>. It will ranlib those libraries only
2263 if they have changed, by checking both the modification time and also whether
2264 the last time we had a symlink, that symlink was from the same directory.
2265 This helps if you switch to an *older* LLVM build (using LLVM_SOURCE_PATH)
2266 but that build wasn't yet ranlib'd.
2268 One problem that this does not yet solve is that xcodebuild will not relink
2269 JavaScriptCore if the only thing that changed was the libraries. I will work
2270 on this problem separately: https://bugs.webkit.org/show_bug.cgi?id=114926.
2272 * Scripts/copy-webkitlibraries-to-product-directory:
2273 (unpackIfNecessary):
2275 (fileContentsEquals):
2277 2013-04-15 Filip Pizlo <fpizlo@apple.com>
2279 fourthTier: Update LLVM-related build scripts to copy generated headers as well
2280 https://bugs.webkit.org/show_bug.cgi?id=114551
2282 Reviewed by Oliver Hunt.
2284 Also added the ability to use something other than bzip2 compression, since although
2285 it is great for checking things into the tree, it increases turn-around times when
2288 * Scripts/copy-webkitlibraries-to-product-directory:
2289 (unpackIfNecessary):
2290 * Scripts/export-llvm-build:
2292 2013-04-03 Filip Pizlo <fpizlo@apple.com>
2294 fourthTier: Include LLVM headers with surrounding #pragmas instead of using my #define
2295 https://bugs.webkit.org/show_bug.cgi?id=113921
2297 Reviewed by Oliver Hunt.
2299 The LLVM community wants us to continue including all of LLVM's C++ headers. Change
2300 the export script to do this.
2302 * Scripts/export-llvm-build:
2304 2013-03-29 Filip Pizlo <fpizlo@apple.com>
2306 fourthTier: Check in a known-good build of LLVM into WebKitLibraries, and have a story for updating it
2307 https://bugs.webkit.org/show_bug.cgi?id=113452
2309 Rubber stamped by Mark Hahnenberg.
2311 * Scripts/copy-webkitlibraries-to-product-directory:
2312 * Scripts/export-llvm-build:
2314 2013-03-29 Filip Pizlo <fpizlo@apple.com>
2316 fourthTier: FTL JIT should be able run some simple function
2317 https://bugs.webkit.org/show_bug.cgi?id=113481
2319 Reviewed by Geoffrey Garen.
2321 Give the scripts the ability to find an LLVM build and use it.
2323 Also added a script, export-llvm-build, that allows you to take your
2324 own build of LLVM and package it for use by WebKit's build system.
2326 The build system treats a "build" of LLVM as a pair of .tar.bz2's,
2327 one for the library archives and one for the headers. It then unpacks
2328 them into your built products directory in a mannner that is mostly
2329 analogous to how WebKitSystemInterface works.
2331 * Scripts/build-jsc:
2332 * Scripts/copy-webkitlibraries-to-product-directory:
2333 (unpackIfNecessary):
2335 * Scripts/export-llvm-build: Added.
2337 2013-07-24 Anders Carlsson <andersca@apple.com>
2339 Crash when calling WKPageGetProcessIdentifier after aborted process launch
2340 https://bugs.webkit.org/show_bug.cgi?id=119069
2341 <rdar://problem/14494064>
2343 Reviewed by Andreas Kling.
2347 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2348 * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp: Added.
2349 (TestWebKitAPI::didFinishLoadForFrame):
2350 (TestWebKitAPI::TEST):
2352 2013-07-24 Zan Dobersek <zdobersek@igalia.com>
2354 Make KURL::hasPath private
2355 https://bugs.webkit.org/show_bug.cgi?id=118279
2357 Reviewed by Darin Adler.
2359 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
2360 (TestWebKitAPI::TEST_F): Remove references to KURL::hasPath the method is now private and thus not accessible for testing.
2362 2013-07-24 Anton Obzhirov <a.obzhirov@samsung.com>
2364 [GTK] TestInspectorServer unit test is timing out
2365 https://bugs.webkit.org/show_bug.cgi?id=105866
2367 Reviewed by Gustavo Noronha Silva.
2369 * Scripts/run-gtk-tests:
2372 2013-07-24 Anton Obzhirov <a.obzhirov@samsung.com>
2374 [GTK] [WK2] Handle wheel event with delta zero
2375 https://bugs.webkit.org/show_bug.cgi?id=118973
2377 Reviewed by Gustavo Noronha Silva.
2379 Added handling of zero mouse scroll deltas in EventSenderProxy similar
2380 to WK1 and Qt/EFL ports.
2382 fast/events/platform-wheelevent-with-delta-zero-crash.html is no longer
2385 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2386 (WTR::EventSenderProxy::mouseScrollBy):
2388 2013-07-23 Andreas Kling <akling@apple.com>
2390 REGRESSION(r150867): FrameView auto-sizing + delegate denied image load may cause StyleResolver to re-enter itself.
2391 <rdar://problem/14324895>
2392 <http://webkit.org/b/119023>
2394 Reviewed by Simon Fraser.
2396 Add a test for this rather specific problem.
2398 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2399 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm: Added.
2400 (TestWebKitAPI::TEST):
2401 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp: Added.
2402 (TestWebKitAPI::DenyWillSendRequestTest::DenyWillSendRequestTest):
2403 (TestWebKitAPI::DenyWillSendRequestTest::willSendRequestForFrame):
2404 (TestWebKitAPI::DenyWillSendRequestTest::didCreatePage):
2406 2013-07-23 Tim Horton <timothy_horton@apple.com>
2408 Add a test for plug-in unavailability indicator obscurity detection
2409 https://bugs.webkit.org/show_bug.cgi?id=119007
2411 Reviewed by Anders Carlsson.
2413 Expose the ability to block plug-ins via pluginLoadPolicy to testRunner.
2415 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2416 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2417 (WTR::TestRunner::setBlockAllPlugins):
2418 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2419 * WebKitTestRunner/TestInvocation.cpp:
2420 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2421 Add testRunner.setBlockAllPlugins function (and corresponding message to
2422 forward it through to TestController).
2424 * WebKitTestRunner/TestController.cpp:
2425 Initialize m_shouldBlockAllPlugins to false (and drive-by initialize m_handlesAuthenticationChallenges).
2427 (WTR::TestController::createWebViewWithOptions):
2428 Register our pluginLoadPolicy callback.
2430 (WTR::TestController::resetStateToConsistentValues):
2431 Reset m_shouldBlockAllPlugins to false.
2433 (WTR::TestController::pluginLoadPolicy):
2434 Return the existing plugin load policy, unless setBlockAllPlugins(true)
2435 was called, in which case we reject all plugins with kWKPluginLoadPolicyBlocked.
2437 * WebKitTestRunner/TestController.h:
2438 (WTR::TestController::setBlockAllPlugins):
2440 2013-07-21 Andreas Kling <akling@apple.com>
2442 KURL creates duplicate strings when completing data: URIs.
2443 <http://webkit.org/b/118952>
2444 <rdar://problem/14504480>
2446 Reviewed by Anders Carlsson.
2448 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
2449 (TestWebKitAPI::TEST_F):
2451 2013-07-19 Chris Fleizach <cfleizach@apple.com>
2453 AX: VoiceOver not detecting misspelled words don't work in all cases
2454 https://bugs.webkit.org/show_bug.cgi?id=118924
2456 Reviewed by Tim Horton.
2458 Make the misspelled detection dependent on both types of attributes being present.
2460 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2461 (AccessibilityUIElement::attributedStringRangeIsMisspelled):
2462 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2463 (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
2465 2013-07-19 Alex Christensen <achristensen@apple.com>
2467 Improved code coverage generation.
2468 https://bugs.webkit.org/show_bug.cgi?id=118926
2470 Reviewed by Tim Horton.
2472 * Scripts/build-webkit: Removed exception preventing ANGLE code coverage support.
2473 * Scripts/generate-coverage-data: Added --no-build to run-javascriptcore-tests call.
2474 (generateReport): Moved report generation to a subroutine.
2476 2013-07-19 Stephanie Lewis <slewis@apple.com>
2478 <rdar://problem/14499595> pagination wk2 api test failing on ML (118928)
2482 Rebaseline pagination test after http://trac.webkit.org/changeset/152911
2484 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
2485 (TestWebKitAPI::didLayout):
2487 2013-07-19 Daniel Bates <dabates@apple.com>
2489 Make Perl tools work when using git bisect with Git branch build setup
2490 https://bugs.webkit.org/show_bug.cgi?id=118512
2492 Reviewed by Martin Robinson.
2494 The various Perl tools (run-webkit-app, {debug, run}-safari, et cetera) don't work
2495 during a git bisect session with a Git branch build setup (i.e. git config
2496 core.webKitBranchBuild true). Specifically, the tools cannot find the branch-
2497 specific build of WebKit because they cannot determine the branch Git is on (since
2498 git bisect puts Git into a detached HEAD state). We should teach our tooling to
2499 parse the file .git/BISECT_START (created by git bisect start) for the name of the
2500 branch Git was on when we began a git bisect session. Then the tools can determine
2501 the path to the built WebKit.
2503 * Scripts/VCSUtils.pm:
2504 (gitDirectory): Added.
2505 (gitBisectStartBranch): Added.
2506 (gitBranch): Modified to call gitBisectStartBranch() when we have a detached
2507 HEAD (e.g. running git bisect).
2508 (determineVCSRoot): Modified to call gitDirectory() to determine the path to
2509 the .git directory in the Git checkout.
2511 2013-07-19 Alex Christensen <achristensen@apple.com>
2513 Added x64 configuration to Visual Studio build.
2514 https://bugs.webkit.org/show_bug.cgi?id=118888
2516 Reviewed by Brent Fulgham.
2518 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
2519 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters:
2520 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
2521 * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
2522 * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
2523 * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
2524 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2525 * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
2526 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2527 * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
2528 * win/record-memory/record-memory.vcxproj:
2530 2013-07-19 Martin Robinson <mrobinson@igalia.com>
2532 Add a couple people to the MathML watchlist
2533 https://bugs.webkit.org/show_bug.cgi?id=118909
2535 Reviewed by Andreas Kling.
2537 Add a couple people to the MathML watchlist and add Kalyan's other
2538 email address to fix style checker warnings about the watchlist
2541 * Scripts/webkitpy/common/config/contributors.json: Add Frédéric to the
2542 list of contributors and add Kalyan's second email address.
2543 * Scripts/webkitpy/common/config/watchlist: Add myself and Frédéric to the MathML
2546 2013-07-19 Simon Pena <simon.pena@samsung.com>
2548 [GTK] Fix regression in DumpRenderTree introduced in r152782 by checking if uri is valid
2549 https://bugs.webkit.org/show_bug.cgi?id=118895
2551 Reviewed by Philippe Normand.
2553 In r152782 an uri is used to create an string representation without checking first if it
2554 is valid. That fails later when the string is used to check for existing redirections. This
2555 patch ensures that the uri is valid before using it.
2557 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2558 (willSendRequestCallback): Ensure an uri is valid before using it.
2560 2013-07-18 Timothy Hatcher <timothy@apple.com>
2562 Add extract-localizable-js-strings and use it for WebInspectorUI.
2564 https://bugs.webkit.org/show_bug.cgi?id=118851
2566 Reviewed by Joseph Pecoraro.
2568 * Scripts/extract-localizable-js-strings: Added.
2569 * Scripts/extract-localizable-strings: Drive-by-fix: disable deprecated warnings about "goto".
2570 * Scripts/update-webkit-localizable-strings: Use extract-localizable-js-strings for
2571 the WebInspectorUI project.
2573 2013-07-18 Brent Fulgham <bfulgham@apple.com>
2575 [Windows] Build correction #2 after r152861.
2577 * WinLauncher/WinLauncher.cpp: Declare proper linkage.
2579 2013-07-18 Brent Fulgham <bfulgham@apple.com>
2581 [Windows] Build correction after r152861.
2583 * WinLauncher/WinLauncher.cpp: Don't reference private header.
2585 2013-07-16 Brent Fulgham <bfulgham@apple.com>
2587 [Win] Support in-band text tracks.
2588 https://bugs.webkit.org/show_bug.cgi?id=103770
2590 Reviewed by Eric Carlson.
2592 Update WinLauncher to run in a CFRunLoop (rather than a hand-written Windows event loop) so that
2593 libdispatch and CFRunLoop elements are services during the run loop.
2595 * WinLauncher/WinLauncher.cpp:
2596 (dllLauncherEntryPoint): Use CFRunLoopRun (rather than a Windows message loop) if running with
2597 a CoreFoundation (or CFLite) support library.
2598 * WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props: Added.
2599 * WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props: Added.
2600 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Add references to WinLauncherCF.props
2601 and WinLauncherCFLite.props.
2603 2013-07-18 Roger Fong <roger_fong@apple.com>
2605 Unreviewed. Test enabling WinEWS tests now that queue is at a good state and NRWT with multiple processes is enabled.
2607 * Scripts/webkitpy/common/config/ews.json:
2609 2013-07-18 Daniel Bates <dabates@apple.com>
2611 REGRESSION (r132678): Tests that use SSL or port 8080 time out when run using old-run-webkit-tests
2612 https://bugs.webkit.org/show_bug.cgi?id=118854
2613 <rdar://problem/14081339>
2615 Reviewed by David Kilzer.
2617 Following <http://trac.webkit.org/changeset/132678> (https://bugs.webkit.org/show_bug.cgi?id=98602)
2618 Apache no longer listens to ports 8443 (SSL) and 8080. So, tests that use these ports time out when
2619 run using old-run-webkit-tests. We need to update old-run-webkit-tests to explicitly tell Apache to
2620 listen on these ports so that we can run tests that use port 8443 and 8080.
2622 * Scripts/old-run-webkit-tests:
2623 (configureAndOpenHTTPDIfNeeded):
2625 2013-07-17 Tim Horton <timothy_horton@apple.com>
2627 Update blocked/missing plug-in UI
2628 https://bugs.webkit.org/show_bug.cgi?id=118347
2629 <rdar://problem/14209318>
2631 Reviewed by Sam Weinig.
2633 * MiniBrowser/mac/WK2BrowserWindowController.m:
2634 (-[WK2BrowserWindowController awakeFromNib]):
2635 * WebKitTestRunner/TestController.cpp:
2636 (WTR::TestController::createWebViewWithOptions):
2637 Match new WKPageLoaderClient entry.
2639 2013-07-17 Commit Queue <commit-queue@webkit.org>
2641 Unreviewed, rolling out r152701, r152703, r152739, r152754,
2643 http://trac.webkit.org/changeset/152701
2644 http://trac.webkit.org/changeset/152703
2645 http://trac.webkit.org/changeset/152739
2646 http://trac.webkit.org/changeset/152754
2647 http://trac.webkit.org/changeset/152756
2648 https://bugs.webkit.org/show_bug.cgi?id=118821
2650 this was a buggy fix and we're going to try something
2651 different (Requested by thorton on #webkit).
2653 * MiniBrowser/mac/WK2BrowserWindowController.m:
2654 (-[WK2BrowserWindowController awakeFromNib]):
2655 * WebKitTestRunner/TestController.cpp:
2656 (WTR::TestController::createWebViewWithOptions):
2658 2013-07-17 Commit Queue <commit-queue@webkit.org>
2660 Unreviewed, rolling out r151535.
2661 http://trac.webkit.org/changeset/151535
2662 https://bugs.webkit.org/show_bug.cgi?id=118804
2664 Re-disable WinEWS tests (Requested by rfong on #webkit).
2666 * Scripts/webkitpy/common/config/ews.json:
2668 2013-07-17 Simon Pena <simon.pena@samsung.com>
2670 [GTK] Make DRT obbey testRunner's addURLToRedirect
2671 https://bugs.webkit.org/show_bug.cgi?id=118239
2673 Reviewed by Gustavo Noronha Silva.
2675 Support testRunner's addURLToRedirect in GTK's DRT, so it redirects
2676 to the proper URI when indicated.
2678 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2679 (willSendRequestCallback):
2681 2013-07-17 Gabor Abraham <abrhm@inf.u-szeged.hu>
2683 Add a new find-resolved-bugs command to webkit-patch.
2684 https://bugs.webkit.org/show_bug.cgi?id=118060
2686 Reviewed by Csaba Osztrogonác.
2688 * Scripts/webkitpy/tool/commands/queries.py:
2689 (PrintBaselines._platform_for_path):
2691 (FindResolvedBugs.execute):
2693 2013-07-16 Balazs Kelemen <kbalazs@webkit.org>
2695 [CMake] Undefined references should be detected at build time
2696 https://bugs.webkit.org/show_bug.cgi?id=110236
2698 Reviewed by Christophe Dumez.
2700 Add library dependencies that were not defined explicitly before.
2702 * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2703 * TestWebKitAPI/CMakeLists.txt:
2704 * WebKitTestRunner/CMakeLists.txt:
2706 2013-07-16 Kwang Yul Seo <skyul@company100.net>
2708 check-webkit-style: "using namespace foo;" should be flagged as an error only in headers
2709 https://bugs.webkit.org/show_bug.cgi?id=118755
2711 Reviewed by Ryosuke Niwa.
2713 Fix r152719 to check "using namespace foo;" only in headers.
2715 * Scripts/webkitpy/style/checkers/cpp.py:
2716 (check_using_namespace):
2718 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2719 (WebKitStyleTest.test_using_namespace):
2721 2013-07-16 Christophe Dumez <ch.dumez@sisa.samsung.com>
2723 Get rid of multiple inheritance support from the bindings generators
2724 https://bugs.webkit.org/show_bug.cgi?id=118353
2726 Reviewed by Kentaro Hara.
2728 Update CodeGeneratorTestRunner.pm to use domInterface->parent instead of
2729 deprecated domInterface->parents.
2731 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2734 2013-07-16 Brian Holt <brian.holt@samsung.com>
2736 check-webkit-style: "using namespace foo;" should be flagged as an error in headers
2737 https://bugs.webkit.org/show_bug.cgi?id=57241
2739 Reviewed by Ryosuke Niwa.
2741 Added check for "using namespace foo" and unit test.
2743 * Scripts/webkitpy/style/checkers/cpp.py:
2744 (check_using_namespace):
2747 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2748 (WebKitStyleTest.test_using_namespace):
2750 2013-07-16 Anton Obzhirov <a.obzhirov@samsung.com>
2752 [GTK] fast/events/platform-wheelevent-with-delta-zero-crash.html is crashing
2753 https://bugs.webkit.org/show_bug.cgi?id=110222
2755 Reviewed by Gustavo Noronha Silva.
2757 Added handling of zero mouse scroll deltas in EventSender.
2759 * DumpRenderTree/gtk/EventSender.cpp:
2760 (mouseScrollByCallback):
2762 2013-07-16 Brian Holt <brian.holt@samsung.com>
2764 webkitpy: replace urllib with urllib2 for downloading additional modules
2765 https://bugs.webkit.org/show_bug.cgi?id=118671
2767 Reviewed by Ryosuke Niwa.
2769 Urllib2 is available whereever urllib is, but has better proxy support.
2771 * Scripts/webkitpy/common/system/autoinstall.py:
2772 (AutoInstaller._download_to_stream):
2774 2013-07-16 Krzysztof Czech <k.czech@samsung.com>
2776 [ATK] Adds support for aria-haspopup property.
2777 https://bugs.webkit.org/show_bug.cgi?id=117834
2779 Reviewed by Christophe Dumez.
2781 Adds implementation for testing aria-haspopup property.
2783 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2784 (getAttributeSetValueForId):
2785 (AccessibilityUIElement::stringAttributeValue):
2786 (AccessibilityUIElement::hasPopup):
2787 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2788 (WTR::getAttributeSetValueForId):
2789 (WTR::AccessibilityUIElement::stringAttributeValue):
2790 (WTR::AccessibilityUIElement::hasPopup):
2792 2013-07-16 Michael Brüning <michael.bruning@digia.com>
2794 [Qt] Replace Nokia references.
2795 https://bugs.webkit.org/show_bug.cgi?id=118728
2797 Reviewed by Simon Hausmann.
2799 * MiniBrowser/qt/MiniBrowserApplication.cpp:
2800 (MiniBrowserApplication::MiniBrowserApplication):
2801 * QtTestBrowser/qttestbrowser.cpp:
2802 (LauncherApplication::LauncherApplication):
2804 2013-07-15 Tim Horton <timothy_horton@apple.com>
2806 Update blocked/missing plug-in UI
2807 https://bugs.webkit.org/show_bug.cgi?id=118347
2808 <rdar://problem/14209318>
2810 Reviewed by Sam Weinig.
2812 * MiniBrowser/mac/WK2BrowserWindowController.m:
2813 (-[WK2BrowserWindowController awakeFromNib]):
2814 * WebKitTestRunner/TestController.cpp:
2815 (WTR::TestController::createWebViewWithOptions):
2816 Match new WKPageLoaderClient entry.
2818 2013-07-15 Chris Fleizach <cfleizach@apple.com>
2820 Update James Craig's email address.
2822 * Scripts/webkitpy/common/config/contributors.json:
2824 2013-07-15 Dong-Gwan Kim <donggwan.kim@samsung.com>
2826 [EFL] Add fallback for TestWebKitAPI if opengl is not available.
2827 https://bugs.webkit.org/show_bug.cgi?id=118583
2829 Reviewed by Christophe Dumez.
2831 There're many fails on efl webkit2 API test if opengl is not available.
2832 So, add fallback to non-opengl evas engine.
2834 * TestWebKitAPI/efl/PlatformWebView.cpp:
2835 (TestWebKitAPI::initEcoreEvas):
2837 2013-07-15 Brian Holt <brian.holt@samsung.com>
2839 check-webkit-style: Ignore false positive: Instance of 'Popen' has no 'pid' member
2840 https://bugs.webkit.org/show_bug.cgi?id=118592
2842 Reviewed by Martin Robinson.
2844 Added a suppression for pylint false positives and a unit test.
2846 * Scripts/webkitpy/style/checkers/python.py:
2848 * Scripts/webkitpy/style/checkers/python_unittest.py:
2849 (PythonCheckerTest.test_check):
2850 (PythonCheckerTest):
2851 (PythonCheckerTest.test_pylint_false_positives):
2852 (PythonCheckerTest.test_pylint_false_positives._mock_handle_style_error):
2853 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Added.
2856 2013-07-15 Xabier Rodriguez Calvar <calvaris@igalia.com>
2858 [GTK] Increase the JHBuild version of GStreamer to 1.0.7
2859 https://bugs.webkit.org/show_bug.cgi?id=115166
2861 Reviewed by Philippe Normand.
2863 * gtk/jhbuild.modules: Bumping GStreamer version up to 1.0.8.
2865 2013-07-12 Kwang Yul Seo <skyul@company100.net>
2867 Unreviewed. Add an email address and update my domain of experts.
2869 * Scripts/webkitpy/common/config/contributors.json:
2871 2013-07-12 Emanuele Aina <emanuele.aina@collabora.com>
2873 [jhbuild] Avoid restarting from scratch failed initial checkouts
2874 https://bugs.webkit.org/show_bug.cgi?id=118603
2876 Reviewed by Martin Robinson.
2878 If the initial checkout is interrupted midway (eg. because the internet
2879 connection went down) config files do not get generated and that causes
2880 the next checkout to start from scratch (the missing files cause the
2881 script to delete the build root and the downloaded sources).
2883 By generating the files before invoking jhbuild, subsequent runs are able
2884 to start where the previous run left.
2886 * Scripts/update-webkit-libs-jhbuild:
2887 (saveJhbuildMd5): invoke it before runJhbuild().
2889 2013-07-12 Brent Fulgham <bfulgham@apple.com>
2891 [Windows] Remove single-worker restriction on tests.
2893 * Scripts/webkitpy/port/win.py: Remove restriction of one worker.
2895 2013-07-12 Commit Queue <commit-queue@webkit.org>
2897 Unreviewed, rolling out r152599.
2898 http://trac.webkit.org/changeset/152599
2899 https://bugs.webkit.org/show_bug.cgi?id=118612
2901 This patch includes a failing unit test (Requested by
2902 mrobinson on #webkit).
2904 * Scripts/webkitpy/style/checkers/python.py:
2906 * Scripts/webkitpy/style/checkers/python_unittest.py:
2907 (PythonCheckerTest.test_check):
2908 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Removed.
2910 2013-07-12 Emanuele Aina <emanuele.aina@collabora.com>
2912 [Tools] Ignore missing GNUmakefile when detecting previous arch in build-webkit
2913 https://bugs.webkit.org/show_bug.cgi?id=91223
2915 Reviewed by Martin Robinson.
2917 When run on a clean checkout, `build-webkit` complains that no
2918 GNUmakefile exists when trying to detect the previously configured
2919 architecture, but in this case there's no previous configuration so
2920 the warning is pointless.
2922 * Scripts/webkitdirs.pm:
2923 (determineArchitecture): Redirect grep stderr to /dev/null.
2925 2013-07-12 Brian Holt <brian.holt@samsung.com>
2927 check-webkit-style: Ignore false positive: Instance of 'Popen' has no 'pid' member
2928 https://bugs.webkit.org/show_bug.cgi?id=118592
2930 Reviewed by Martin Robinson.
2932 Added a suppression for pylint false positives and a unit test.
2934 * Scripts/webkitpy/style/checkers/python.py:
2936 * Scripts/webkitpy/style/checkers/python_unittest.py:
2937 (PythonCheckerTest.test_check):
2938 (PythonCheckerTest):
2939 (PythonCheckerTest.test_pylint_false_positives):
2940 (PythonCheckerTest.test_pylint_false_positives._mock_handle_pylint_false_positives):
2941 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Added.
2944 2013-07-11 Arnaud Renevier <a.renevier@samsung.com>
2946 Unreviewed. Add myself as a committer.
2948 * Scripts/webkitpy/common/config/contributors.json:
2950 2013-07-10 Sergio Correia <sergio.correia@openbossa.org>
2952 Handle "load,provisional,failed" with the on_error callback on EFL MiniBrowser
2953 https://bugs.webkit.org/show_bug.cgi?id=118538
2955 Reviewed by Christophe Dumez.
2957 When attempting some odd url such as ``foo'', MiniBrowser will now show an
2958 error message such as "Cannot resolve hostname (foo)".
2960 Previously, it had the following behavior if MiniBrowser was started with
2961 such urls, e.g ``./MiniBrowser foo'':
2964 It wouldt hit WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp(460) and crash.
2967 No asserts, naturally, but the view would remain blank, even if we tried to
2968 change to a valid url.
2970 * MiniBrowser/efl/main.c:
2973 2013-07-10 Simon Pena <simon.pena@samsung.com>
2975 [GTK] WebKitTestRunner tries to remove an already deleted event in EventSenderProxy::replaySavedEvents
2976 https://bugs.webkit.org/show_bug.cgi?id=118509
2978 Reviewed by Martin Robinson.
2980 In EventSenderProxy::replaySavedEvents WebKitTestRunner can crash
2981 when trying to remove an event already removed, if another event is
2982 processed in the middle. By using a Deque's takeFirst, we ensure the
2983 element is removed before we dispatch it.
2985 fast/events/mousedown-inside-dragstart-should-not-cause-crash.html no longer
2986 crashes after this fix is added.
2988 * WebKitTestRunner/EventSenderProxy.h: Use a Deque instead of Vector in GTK
2989 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2990 (WTR::EventSenderProxy::replaySavedEvents): Use takeFirst to retrieve the event
2993 2013-07-09 Ryuan Choi <ryuan.choi@samsung.com>
2995 [EFL] Add ewk_view_device_pixel_ratio_set
2996 https://bugs.webkit.org/show_bug.cgi?id=118521
2998 Reviewed by Gyuyoung Kim.
3000 * EWebLauncher/main.c: Added new option(-r) to test device pixel ratio.
3002 (parseUserArguments):
3004 2013-07-09 Bruno de Oliveira Abinader <brunoabinader@gmail.com>
3006 Unreviewed change of my email addresses.
3007 https://bugs.webkit.org/show_bug.cgi?id=100122
3009 * Scripts/webkitpy/common/config/contributors.json:
3011 2013-07-09 Anders Carlsson <andersca@apple.com>
3013 DumpRenderTree should stop sending unsupported URLs to NSWorkspace
3014 https://bugs.webkit.org/show_bug.cgi?id=118514
3015 <rdar://problem/13686836>
3017 Reviewed by Sam Weinig.
3019 Add a new default policy delegate and override decidePolicyForNavigationAction: to not pass unhandled URLs to NSWorkspace.
3021 * DumpRenderTree/DefaultPolicyDelegate.h: Added.
3022 * DumpRenderTree/DefaultPolicyDelegate.m: Added.
3023 (-[DefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3024 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3025 Add DefaultPolicyDelegate.h and DefaultPolicyDelegate.m.
3027 * DumpRenderTree/mac/DumpRenderTree.mm:
3028 (allocateGlobalControllers):
3029 Allocate a DefaultPolicyDelegate object.
3031 (resetWebViewToConsistentStateBeforeTesting):
3032 Set the policy delegate to the default policy delegate.
3034 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3035 Declare the defaultPolicyDelegate object.
3037 * DumpRenderTree/mac/TestRunnerMac.mm:
3038 (TestRunner::setCustomPolicyDelegate):
3039 Set the policy delegate to the default delegate if setDelegate is false.
3041 2013-07-08 Zan Dobersek <zdobersek@igalia.com>
3043 KURL unit test fixture class should have a meaningful name
3044 https://bugs.webkit.org/show_bug.cgi?id=118467
3046 Reviewed by Sam Weinig.
3048 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
3049 (TestWebKitAPI::TEST_F): Use 'KURLTest' as the name for the KURL unit test's fixture class
3050 instead of the generic and inappropriate 'WebCore' name.
3052 2013-07-08 Antti Koivisto <antti@apple.com>
3054 Add Deque::removeLast
3055 https://bugs.webkit.org/show_bug.cgi?id=118466
3057 Reviewed by Andreas Kling.
3059 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3060 * TestWebKitAPI/Tests/WTF/Deque.cpp: Added.
3061 (TestWebKitAPI::TEST):
3063 2013-07-08 Brian Holt <brian.holt@samsung.com>
3065 [GTK] Leak: GFile* leaking in beginDragWithFilesCallback
3066 https://bugs.webkit.org/show_bug.cgi?id=118412
3068 Reviewed by Martin Robinson.
3070 An adoptRef is required to balance ref and deref calls.
3072 * DumpRenderTree/gtk/EventSender.cpp:
3073 (beginDragWithFilesCallback):
3075 2013-07-06 Sergio Correia <sergio.correia@openbossa.org>
3077 Update list of EFL WK2 API tests
3078 https://bugs.webkit.org/show_bug.cgi?id=118443
3080 Reviewed by Christophe Dumez.
3082 The following tests were included:
3085 - CloseThenTerminate
3086 - DidAssociateFormControls
3087 - PageVisibilityState
3088 - ResponsivenessTimerDoesntFireEarly
3093 - ResizeReversePaginatedWebView
3094 - ScrollPinningBehaviors
3096 This patch also modified ``test_webkit2_api_BINARIES'' list so that it is in
3099 * TestWebKitAPI/CMakeLists.txt: Added Bundles for included tests.
3100 * TestWebKitAPI/PlatformEfl.cmake: Added a few tests.
3102 2013-07-05 Tim Horton <timothy_horton@apple.com>
3104 Fix r152265: FrameView's pagination mode is only one of two, and the logic was totally wrong
3105 https://bugs.webkit.org/show_bug.cgi?id=118439
3106 <rdar://problem/14366120>
3108 Reviewed by Anders Carlsson.
3110 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
3111 (TestWebKitAPI::didLayout):
3112 (TestWebKitAPI::TEST):
3113 - Make use of EXPECT_JS_EQ instead of manually doing JavaScript stuff.
3114 - Assert that we got the right number of pages for sanity.
3115 - Reduce the page gap size so that DrawingAreaImpl doesn't try to allocate
3116 so much memory that SharedMemory asserts and makes the test time out.
3117 - Use didFirstLayoutAfterSuppressedIncrementalRendering instead of Paint
3118 because paint doesn't fire if the window is offscreen.
3120 2013-07-05 Tim Horton <timothy_horton@apple.com>
3122 [wk2] Add API to lock the scroll position at the top or bottom of the page
3123 https://bugs.webkit.org/show_bug.cgi?id=118429
3124 <rdar://problem/14120323>
3126 Reviewed by Anders Carlsson.
3128 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3129 * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp: Added.
3130 (TestWebKitAPI::didFinishDocumentLoadForFrame):
3131 (TestWebKitAPI::TEST):
3132 Add a test that ensures that the three pinning modes (DoNotPin, PinToTop, PinToBottom)
3133 all work correctly in the face of resizing the view and scrolling from JS.
3135 2013-07-05 Michael Pruett <michael@68k.org>
3137 Unreviewed. Add myself as a committer.
3139 * Scripts/webkitpy/common/config/contributors.json:
3141 2013-07-05 Xabier Rodriguez Calvar <calvaris@igalia.com>
3143 [GTK] WebKit2 test TestWebKitFaviconDatabase times out with recent glib
3144 https://bugs.webkit.org/show_bug.cgi?id=111434
3146 Reviewed by Carlos Garcia Campos.
3148 * Scripts/run-gtk-tests:
3149 (TestRunner): Unskipped TestWebKitFaviconDatabase tests.
3151 2013-07-04 Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
3153 [EFL] DumpRenderTree doesn't run if "opengl_x11" engine is not available
3154 https://bugs.webkit.org/show_bug.cgi?id=118370
3156 Reviewed by Christophe Dumez.
3158 Add fallback to software X11 engine if opengl_x11 engine creation fails.
3160 * DumpRenderTree/efl/DumpRenderTree.cpp:
3163 2013-07-04 Brian Holt <brian.holt@samsung.com>
3165 [ATK] Leak: AtkAttributeSet* should be freed
3166 https://bugs.webkit.org/show_bug.cgi?id=118307
3168 Reviewed by Christophe Dumez.
3170 Fixed memory leaks for AtkAttributeSet by calling
3171 atk_attribute_set_free().
3173 * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
3174 (AccessibilityController::childElementById):
3175 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3176 (getAtkAttributeSetAsString):
3177 (AccessibilityUIElement::allAttributes):
3178 (AccessibilityUIElement::stringAttributeValue):
3179 * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3180 (WTR::childElementById):
3181 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3182 (WTR::getAtkAttributeSetAsString):
3183 (WTR::AccessibilityUIElement::allAttributes):
3184 (WTR::AccessibilityUIElement::stringAttributeValue):
3186 2013-07-03 David Farler <dfarler@apple.com>
3188 Add Makefile to WebKitLauncher
3189 https://bugs.webkit.org/show_bug.cgi?id=118365
3191 Reviewed by Mark Rowe.
3193 * WebKitLauncher/Makefile: Added.
3195 2013-07-03 Brian Holt <brian.holt@samsung.com>
3197 [ATK] Leak: more leaks in AccessibilityUIElement
3198 https://bugs.webkit.org/show_bug.cgi?id=118362
3200 Reviewed by Christophe Dumez.
3202 Free the memory created by g_strdup_printf.
3204 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3205 (AccessibilityUIElement::language):
3206 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3207 (WTR::AccessibilityUIElement::language):
3209 2013-07-03 Jer Noble <jer.noble@apple.com>
3211 Xcode often gets in a state where the debugger is completely unresponsive
3212 https://bugs.webkit.org/show_bug.cgi?id=118157
3214 The GetPointeeData() operations we use to retrieve strings is extremely expensive.
3215 Rather than pull the character data out of the debugger one byte at a time
3216 through the GetPointeeData() API, retrieve the memory contents of the string through
3217 the ReadMemory() API, and convert the retrieved memory into a python string.
3219 Reviewed by Anders Carlsson.
3221 * lldb/lldb_webkit.py:
3222 (__lldb_init_module.lldb_webkit):
3223 (guess_string_length):
3224 (ustring_to_string):
3225 (lstring_to_string):
3227 2013-07-03 Morten Stenshorne <mstensho@opera.com>
3229 [GTK] Let F5 refresh the page in MiniBrowser
3230 https://bugs.webkit.org/show_bug.cgi?id=117638
3232 Reviewed by Carlos Garcia Campos.
3234 Also use the correct icon for the refresh button that was already there.
3236 * MiniBrowser/gtk/BrowserWindow.c:
3237 (browser_window_init):
3239 2013-07-02 Kondapally Kalyan <kalyan.kondapally@intel.com>
3241 Unreviewed. Add my email to a few watchlists.
3243 * Scripts/webkitpy/common/config/watchlist:
3245 2013-07-02 David Farler <dfarler@apple.com>
3247 Unreviewed. Adding myself to contributors.json.
3249 * Scripts/webkitpy/common/config/contributors.json:
3251 2013-07-02 Brian Holt <brian.holt@samsung.com>
3253 [ATK] Leak: leaks in AccessibilityUIElement
3254 https://bugs.webkit.org/show_bug.cgi?id=118297
3258 Reviewed by Christophe Dumez.
3260 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3261 (AccessibilityUIElement::stringValue):
3263 2013-07-02 Byungwoo Lee <bw80.lee@samsung.com>
3265 Fix WebKitTestRunner crashes.
3266 https://bugs.webkit.org/show_bug.cgi?id=117630
3268 Reviewed by Darin Adler.
3270 Create static function to dump for WebProcess unresponsiveness status,
3271 and use it before calling TestController::runTest().
3273 Accessing TestController::m_currentInvocation before calling
3274 TestController::runTest() can make crash because the invocation
3275 instance will be assigned at the function.
3277 * WebKitTestRunner/TestController.cpp:
3278 (WTR::TestController::run):
3279 * WebKitTestRunner/TestInvocation.cpp:
3280 (WTR::TestInvocation::dumpWebProcessUnresponsiveness):
3281 * WebKitTestRunner/TestInvocation.h:
3283 2013-07-02 Allan Sandfeld Jensen <allan.jensen@digia.com>
3285 [Qt][WK1] Support WebGL with EGL on Linux
3286 https://bugs.webkit.org/show_bug.cgi?id=118251
3288 Reviewed by Kenneth Rohde Christiansen.
3290 * qmake/mkspecs/features/features.prf:
3292 2013-07-01 Nick Diego Yamane <nick.yamane@openbossa.org>
3294 [Efl][Gtk] Look at WEBKIT_OUTPUTDIR instead of WEBKITOUTPUTDIR in jhbuildrc
3295 https://bugs.webkit.org/show_bug.cgi?id=118267
3297 Reviewed by Gyuyoung Kim.
3299 After r152226 (from https://bugs.webkit.org/show_bug.cgi?id=117249)
3300 WEBKIT_OUTPUTDIR should be used instead of WEBKITOUPUTDIR. However
3301 Efl's jhbuildrc is still using the WEBKITOUTPUTDIR environment variable.
3306 2013-07-01 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3308 [GTK] Remove unsupported AC backends
3309 https://bugs.webkit.org/show_bug.cgi?id=117362
3311 Reviewed by Martin Robinson.
3313 * gtk/jhbuild-optional.modules: no longer needs clutter-gtk, clutter
3314 and cogl, so removed.
3316 2013-07-01 Timothy Hatcher <timothy@apple.com>
3318 Link to WebInspectorUI.framework at build time instead of soft linking.
3320 https://bugs.webkit.org/show_bug.cgi?id=118261
3322 Reviewed by Joseph Pecoraro.
3324 * Scripts/build-webkit: Build WebInspectorUI before WebKit and WebKit2.
3326 2013-07-01 Tim Horton <timothy_horton@apple.com>
3328 Maximum scroll position can be negative in some cases
3329 https://bugs.webkit.org/show_bug.cgi?id=118175
3330 <rdar://problem/14301217>
3332 Reviewed by Anders Carlsson.
3334 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3335 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp: Added.
3336 (TestWebKitAPI::didRunJavaScript):
3337 (TestWebKitAPI::didLayout):
3338 (TestWebKitAPI::TEST):
3339 * TestWebKitAPI/Tests/WebKit2/lots-of-text-vertical-lr.html: Added.
3340 Add a test that loads a vertical-lr document, paginates it horizontally
3341 from right to left, resizes the view to fit the entire document, and
3342 verifies that the scroll position is negative, as it must be for the
3343 document to be enclosed by the view.
3345 2013-07-01 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
3347 [EFL][GTK] Migrate from WEBKITOUTPUTDIR to WEBKIT_OUTPUTDIR
3348 https://bugs.webkit.org/show_bug.cgi?id=117249
3350 Reviewed by Brent Fulgham.
3352 Finish converting all use cases of WEBKITOUTPUTDIR to
3353 WEBKIT_OUTPUTDIR, which seems to be preferred these days.
3355 * DumpRenderTree/efl/FontManagement.cpp:
3356 (getCustomBuildDir):
3357 (getPlatformFontsPath):
3358 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3360 * Scripts/webkitdirs.pm:
3361 (determineBaseProductDir):
3362 (usesPerConfigurationBuildDirectory):
3363 * Scripts/webkitpy/port/base.py:
3364 (Port.to.setup_environ_for_server):
3365 * Scripts/webkitpy/port/driver.py:
3366 (Driver._setup_environ_for_driver):
3367 * Scripts/webkitpy/port/gtk.py:
3368 (GtkPort.setup_environ_for_server):
3369 * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
3370 (WTR::getOutputDir):
3371 * jhbuild/jhbuildutils.py:
3372 (get_dependencies_path):
3374 2013-07-01 Rafael Brandao <rafael.lobo@webkit.org>
3376 Unreviewed change of my email address.
3378 * Scripts/webkitpy/common/config/contributors.json:
3380 2013-06-28 Andreas Kling <akling@apple.com>
3382 Fix Windows builds after deprecatedCharactersWithNullTermination() removal.
3384 * DumpRenderTree/win/DumpRenderTree.cpp:
3385 (addFontFallbackIfPresent):
3386 (removeFontFallbackIfPresent):
3388 2013-06-28 Anders Carlsson <andersca@apple.com>
3390 Remove String::deprecatedCharactersWithNullTermination() and related code
3391 https://bugs.webkit.org/show_bug.cgi?id=118211
3393 Reviewed by Benjamin Poulain.
3395 Remove all hasTerminatingNullCharacter() checks.
3397 * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
3398 (TestWebKitAPI::TEST):
3399 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3400 (TestWebKitAPI::TEST):
3401 * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3402 (TestWebKitAPI::TEST):
3404 2013-06-28 Alexey Proskuryakov <ap@apple.com>
3406 [Mac] Crash when loading is stopped from -didReceiveResponse
3407 https://bugs.webkit.org/show_bug.cgi?id=118209
3408 <rdar://problem/14259249>
3410 Reviewed by Brady Eidson.
3412 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3413 * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.html: Added.
3414 * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.mm: Added.
3415 (-[StopLoadingFromDidReceiveResponse webView:resource:didReceiveResponse:fromDataSource:]):
3416 (TestWebKitAPI::TEST):
3418 2013-06-28 Andy Estes <aestes@apple.com>
3420 [Mac] Newer versions of clang use a default template instantiation depth that is too small for TestWebKitAPI
3421 https://bugs.webkit.org/show_bug.cgi?id=118208
3423 Reviewed by Mark Rowe.
3425 Newer versions of clang use a default template depth of 128, but this
3426 is too small for Tests/WTF/HashSet.cpp. Use 256 instead, which was the
3429 Clang lowered the default to keep recursive template instantiation
3430 from overflowing the stack (see <rdar://problem/13935016>), but
3431 TestWebKitAPI's C++ files don't trigger a stack overflow even with the
3432 higher limit. If for some reason this starts happening then we can
3433 lower the limit back down.
3435 * TestWebKitAPI/Configurations/Base.xcconfig: Build TestWebKitAPI with -ftemplate-depth=256.
3437 2013-06-28 Nick Diego Yamane <nick.yamane@openbossa.org>
3439 [Tools] Add support for "webKitBranchBuild" git option when calculating jhbuildPath
3440 https://bugs.webkit.org/show_bug.cgi?id=118195
3442 Reviewed by Daniel Bates.
3444 Currently, ports that use jhbuild fail to determine jhbuild directory
3445 when "webKitBranchBuild" git configuration property is enabled. To reproduce
3446 that issue in Efl port, enable that flag in .git/config, switch to a git branch
3447 other than "master" and try to build webkit. The build will fail to
3448 locate dependencies due to lack of pkg-config paths which should be set
3451 For more details about "webKitBranchBuild" option, see:
3452 https://trac.webkit.org/wiki/UsingGitWithWebKit
3454 * Scripts/webkitdirs.pm:
3457 2013-06-28 Jessie Berlin <jberlin@apple.com>
3459 WebKitTestRunner should disable automatic quote and dash substitution like DumpRenderTree does
3460 https://bugs.webkit.org/show_bug.cgi?id=118201
3462 Reviewed by Dean Jackson.
3464 * WebKitTestRunner/mac/main.mm:
3466 Modify NSUserDefaults directly since setAutomaticQuoteSubstitutionEnabled and
3467 setAutomaticDashSubstitutionEnabled are not exposed on WKView.
3469 2013-06-28 David Farler <dfarler@apple.com>
3471 Upstream WebKit Nightly’s WebKitLauncher
3472 https://bugs.webkit.org/show_bug.cgi?id=117418
3474 Reviewed by Mark Rowe.
3476 Literal patch from Nightly's OpenSource repo.
3478 * WebKitLauncher/Configurations/Base.xcconfig:
3479 * WebKitLauncher/Configurations/WebKitLauncher.xcconfig:
3480 * WebKitLauncher/Info.plist:
3481 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3482 * WebKitLauncher/WebKitLauncherURLProtocol.m:
3483 (+[WebKitLauncherURLProtocol load]):
3484 (+[WebKitLauncherURLProtocol canInitWithRequest:]):
3485 (-[WebKitLauncherURLProtocol startLoading]):
3486 (-[WebKitLauncherURLProtocol handleWebKitVersionInformation]):
3487 (-[WebKitLauncherURLProtocol resourceNotFound]):
3488 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
3489 (initializeSparkle):
3490 * WebKitLauncher/main.m:
3491 (determineExecutablePath):
3492 (currentMacOSXVersion):
3494 * WebKitLauncher/start.html:
3496 2013-06-28 Balazs Kelemen <b.kelemen@samsung.com>
3498 [EFL] back/forward keyboard shortcuts are non-intuitive
3499 https://bugs.webkit.org/show_bug.cgi?id=118193
3501 Reviewed by Christophe Dumez.
3503 Changed shortcuts for go-back/go-forward to alt+left and alt+right.
3505 * EWebLauncher/main.c:
3507 * MiniBrowser/efl/main.c:
3510 2013-06-28 Roger Fong <roger_fong@apple.com>
3512 Enable AVFoundation in Web Prefs for WinLauncher and DumpRenderTree on Windows.
3513 https://bugs.webkit.org/show_bug.cgi?id=118194.
3515 Reviewed by Brent Fulgham.
3517 * DumpRenderTree/win/DumpRenderTree.cpp:
3518 (dllLauncherEntryPoint):
3519 * WinLauncher/WinLauncher.cpp:
3520 (dllLauncherEntryPoint):
3522 2013-06-28 Roger Fong <roger_fong@apple.com>
3524 Unreviewed build fix for AppleWin port. Fix some file paths.
3526 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3527 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
3529 2013-06-27 Roger Fong <roger_fong@apple.com>
3531 Add IAccessibilityDelegate implementation to WinLauncher for testing purposes.
3532 https://bugs.webkit.org/show_bug.cgi?id=118160.
3534 Reviewed by Brent Fulgham.
3536 * WinLauncher/AccessibilityDelegate.cpp: Added.
3537 (AccessibilityDelegate::QueryInterface):
3538 (AccessibilityDelegate::AddRef):
3539 (AccessibilityDelegate::Release):
3540 (AccessibilityDelegate::fireFrameLoadStartedEvents): Just returns S_OK;
3541 (AccessibilityDelegate::fireFrameLoadFinishedEvents): Ditto.
3542 * WinLauncher/AccessibilityDelegate.h: Added.
3543 (AccessibilityDelegate::AccessibilityDelegate):
3544 * WinLauncher/WinLauncher.cpp:
3545 (dllLauncherEntryPoint):
3546 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3547 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
3549 2013-06-28 Christophe Dumez <ch.dumez@sisa.samsung.com>
3551 Clean up temporary files created by the bindings test script
3552 https://bugs.webkit.org/show_bug.cgi?id=118189
3554 Reviewed by Kentaro Hara.
3556 Remove temporary files created by preprocess-idls.pl script after
3557 the bindings tests are executed.
3559 Based on Blink 153236 by Kentaro Hara <haraken@chromium.org>.
3561 * Scripts/webkitpy/bindings/main.py:
3562 (BindingsTests.main):
3564 2013-06-26 Dean Jackson <dino@apple.com>
3566 [Mac] Add Mavericks system font to Test systems
3567 https://bugs.webkit.org/show_bug.cgi?id=118109
3569 Reviewed by Simon Fraser.
3571 OS X Mavericks uses a different font for system controls. Tell DRT and
3572 WKTR about them otherwise they use a fallback font. Unfortunately the
3573 fonts are hidden (not found in the list of available fonts) so I
3574 had to add them manually.
3576 Even though there is only one at the moment, I implemented this
3577 as a set so it will be easier to add new fonts if necessary.
3579 * DumpRenderTree/mac/DumpRenderTree.mm:
3580 (allowedFontFamilySet): Fixed typo.
3581 (systemHiddenFontFamilySet): New method that returns the system control font.
3582 (drt_NSFontManager_availableFonts): Merge the hidden fonts.
3583 * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
3584 (WTR::allowedFontFamilySet): Fixed typo.
3585 (WTR::systemHiddenFontFamilySet): As above.
3586 (WTR::wtr_NSFontManager_availableFonts):
3588 2013-06-27 Anders Carlsson <andersca@apple.com>
3590 Get rid of the last uses of deprecatedCharactersWithNullTermination()
3591 https://bugs.webkit.org/show_bug.cgi?id=118159
3593 Reviewed by Andreas Kling.
3595 Replace calls to deprecatedCharactersWithNullTermination() with charactersWithNullTermination().data().
3597 * DumpRenderTree/win/DumpRenderTree.cpp:
3600 2013-06-27 Bem Jones-Bey <bjonesbe@adobe.com>
3602 Sync up w3c import script with changes in Blink
3603 https://bugs.webkit.org/show_bug.cgi?id=118149
3605 Reviewed by Dirk Pranke.
3607 This is a port of the following blink changes:
3609 https://codereview.chromium.org/15366004
3610 https://chromiumcodereview.appspot.com/15592005
3611 https://codereview.chromium.org/16021006
3612 https://codereview.chromium.org/15590004
3613 https://codereview.chromium.org/15901008
3614 https://codereview.chromium.org/16171009
3615 https://codereview.chromium.org/16465007
3616 https://codereview.chromium.org/15981013
3618 * Scripts/webkitpy/common/checkout/checkout_unittest.py:
3620 (test_commit_message_for_this_commit):
3621 * Scripts/webkitpy/port/base.py:
3623 * Scripts/webkitpy/port/test.py:
3624 * Scripts/webkitpy/w3c/test_converter.py:
3625 (W3CTestConverter.__init__):
3626 (W3CTestConverter.read_webkit_prefixed_css_property_list):
3627 (W3CTestConverter.convert_for_webkit):
3628 (W3CTestConverter.convert_css):
3629 (W3CTestConverter.convert_html):
3630 (W3CTestConverter.convert_testharness_paths):
3631 (W3CTestConverter.convert_prefixed_properties):
3632 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties):
3633 * Scripts/webkitpy/w3c/test_converter_unittest.py:
3634 * Scripts/webkitpy/w3c/test_importer.py:
3636 (configure_logging):
3637 (configure_logging.LogHandler):
3638 (configure_logging.LogHandler.format):
3640 (TestImporter.__init__):
3641 (TestImporter.find_importable_tests):
3642 (TestImporter.import_tests):
3643 (TestImporter.setup_destination_directory):
3644 (TestImporter.remove_deleted_files):
3645 * Scripts/webkitpy/w3c/test_importer_unittest.py:
3646 (TestImporterTest.test_import_dir_with_no_tests_and_no_hg):
3647 (TestImporterTest.test_import_dir_with_no_tests):
3649 * Scripts/webkitpy/w3c/test_parser.py:
3650 (TestParser.load_file):
3651 (TestParser.analyze_test):
3652 (TestParser.support_files):
3653 * Scripts/webkitpy/w3c/test_parser_unittest.py:
3655 2013-06-27 Csaba Osztrogonác <ossy@webkit.org>
3657 [webkitpy] AbstractPatchSequencingCommand should have _prepare_state
3658 https://bugs.webkit.org/show_bug.cgi?id=118128