1 2013-09-07 Santosh Mahto <santosh.ma@samsung.com>
3 removing --dialog-element from build-webkit --help option message
4 https://bugs.webkit.org/show_bug.cgi?id=120955
6 Reviewed by Daniel Bates.
8 --dialog-element option is useless while building as
9 Dialog Element support has been removed in following changeset.
10 http://trac.webkit.org/changeset/154835
11 http://trac.webkit.org/changeset/154870
13 * Scripts/webkitperl/FeatureList.pm:
14 Removed --dialog-element option message.
16 2013-09-06 Filip Pizlo <fpizlo@apple.com>
18 It should be possible to run-javascriptcore-tests with only a subset of the test suites
19 https://bugs.webkit.org/show_bug.cgi?id=120918
21 Reviewed by Dan Bernstein.
23 * Scripts/run-javascriptcore-tests:
25 2013-09-06 Commit Queue <commit-queue@webkit.org>
27 Unreviewed, rolling out r155196.
28 http://trac.webkit.org/changeset/155196
29 https://bugs.webkit.org/show_bug.cgi?id=120919
31 Broke 16 tests on build.webkit.org (Requested by rniwa on
34 * Scripts/webkitpy/layout_tests/controllers/manager.py:
35 (Manager._set_up_run):
37 2013-09-06 Filip Pizlo <fpizlo@apple.com>
39 The 'failed' file should report collectionName/testName rather than just
42 Rubber stamped by Mark Hahnenberg.
44 * Scripts/run-jsc-stress-tests:
46 2013-09-06 Filip Pizlo <fpizlo@apple.com>
48 Fix run-jsc-stress-tests to run on bots with old Ruby.
50 Also make it create a repro file.
52 Rubber stamped by Mark Hahnenberg.
54 * Scripts/run-jsc-stress-tests:
56 2013-09-06 Filip Pizlo <fpizlo@apple.com>
58 Actually increment $numFailures
60 Reviewed by Mark Hahnenberg.
62 * Scripts/run-jsc-stress-tests:
64 2013-09-06 Filip Pizlo <fpizlo@apple.com>
66 Fix run-jsc-stress-tests to use Pathname instead of File.realpath.
68 Also make it uses system() instead of popen(); that means that test output
69 will go to the console. This reduces error detection flakiness. It's fine
70 because stress tests don't print() unless they really have to.
72 Rubber stamped by Mark Hahnenberg.
74 * Scripts/run-jsc-stress-tests:
76 2013-09-05 Filip Pizlo <fpizlo@apple.com>
78 Introduce a way to run benchmarks and JSRegress as stress tests with different jsc command-line options
79 https://bugs.webkit.org/show_bug.cgi?id=120808
81 Reviewed by Mark Hahnenberg and rubber stamped by Geoffrey Garen.
83 Add a script for running stress tests. A stress test is a .js file that is run
84 through different configurations of JSC. It can control which configurations it
85 runs by using "//@ <ruby code>" to guide the script.
87 This script is now run as part of run-javascriptcore-tests, on Mac only.
89 * Scripts/run-javascriptcore-tests:
90 * Scripts/run-jsc-stress-tests: Added.
92 2013-09-06 Mario Sanchez Prada <mario.prada@samsung.com>
94 [GTK] Desktop proxy settings are ignored inside the internal jhbuild
95 https://bugs.webkit.org/show_bug.cgi?id=120833
97 Reviewed by Gustavo Noronha Silva.
99 Add dconf as an optional module for the internal jhbuild, along
100 with vala 0.17 as a dependency, and make sure we do not explicitly
101 set always the 'memory' backend, so we can have an easy way to
102 allow apps access desktop settings from the jhbuild. This is
103 useful for example to be able to run apps such as MiniBrowser
104 inside the jhbuild (by means of run-launcher, for instance) while
105 working behind a proxy, since those network settings have to be
106 read from the system global configuration in org.gnome.system.proxy.
108 * gtk/jhbuild-optional.modules: Added dconf 0.14 and vala 0.17.
109 * gtk/jhbuildrc: Do not explicitly choose the GSettings memory
110 backend here, since that will make more difficult to use the dconf
111 backend from inside the jhbuild if we need to do it so.
113 2013-09-06 Alexey Proskuryakov <ap@apple.com>
115 Lots of pixel tests are failing on first run, so tests cannot finish
116 https://bugs.webkit.org/show_bug.cgi?id=120755
118 Reviewed by Ryosuke Niwa.
120 For whatever reason, many reftests are color profile sensitive, and we only set
121 color profile to a known one for pixel tests, not for reftests.
123 Pixel testing mode is also enabled when retrying tests, so these failures used to
124 be essentially hidden - the tests were "flaky", but that was not reported loudly enough.
125 But now, so many tests fail that it makes run-webkit-tests stop early, and never retry.
127 This probably shouldn't happen, as reftests should not be color profile sensitive.
128 The fix is a stopgap measure to unblock EWS until a better fix can be investigated.
130 * Scripts/webkitpy/layout_tests/controllers/manager.py:
131 (Manager._set_up_run): Roll out <http://trac.webkit.org/changeset/115601>.
133 2013-09-06 Denis Nomiyama <d.nomiyama@samsung.com>
135 [GTK] AccessibilityUIElement::addNotificationListener() crashes on debug build
136 https://bugs.webkit.org/show_bug.cgi?id=120416
138 Reviewed by Mario Sanchez Prada.
140 Fixed crashes when running debug DRT. Simplified loops at AccessibilityCallbackAtk.cpp where the HashMap
141 iterator was removed inside a loop. Fixed AccessibilityUIElement::addNotificationListener() where
142 m_notificationHandler expected RefPtr.
144 The global notification handler was stored in the HashMap with key 0. And this caused an assertion when
145 HashMap::add() or find() are called. To fix it, moved the global handler to a separated pointer.
147 * DumpRenderTree/atk/AccessibilityCallbacks.h: Removed the global notification key.
148 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
149 (axObjectEventListener): Simplified the code by using HashMap::find() and a separate pointer for the
150 global notification handler.
151 (addAccessibilityNotificationHandler): Simplified the code by using HashMap::find() and a separate pointer
152 for the global notification handler.
153 (removeAccessibilityNotificationHandler): Added the removal for the global notification handler.
154 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h:
155 (AccessibilityNotificationHandler::create): Added static function to create
156 AccessibilityNotificationHandler.
157 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
158 (AccessibilityUIElement::addNotificationListener): Assigned m_notificationHandler with
159 AccessibilityNotificationHandler::create().
161 2013-09-06 Gabor Abraham <abrhm@inf.u-szeged.hu>
163 [Qt] REGRESSION(r155140) Pixel tests is still broken on Qt with QT_WEBKIT_DISABLE_UIPROCESS_DUMPPIXELS=1
164 https://bugs.webkit.org/show_bug.cgi?id=120847
166 Reviewed by Csaba Osztrogonác.
168 Move the force repaint code back to if (PlatformWebView::windowSnapshotEnabled()) block to support Qt.
169 Typo fixed: windowShapshotEnabled -> windowSnapshotEnabled.
170 Add a default PlatformWebView::windowSnapshotEnabled() to the !PLATFORM(QT).
172 * WebKitTestRunner/PlatformWebView.h:
173 (WTR::PlatformWebView::windowSnapshotEnabled):
174 * WebKitTestRunner/TestInvocation.cpp:
175 (WTR::TestInvocation::dumpResults):
176 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
177 (WTR::WrapperWindow::handleStatusChanged):
178 (WTR::PlatformWebView::windowSnapshotEnabled):
179 * WebKitTestRunner/qt/TestInvocationQt.cpp:
180 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
182 2013-09-06 Allan Sandfeld Jensen <allan.jensen@digia.com>
184 REGRESSION(r155140) Broke pixel tests on EFL/GTK/Qt
185 https://bugs.webkit.org/show_bug.cgi?id=120843
187 Reviewed by Csaba Osztrogonác.
189 Call notifyDone like the platform specific forceRepaintDoneCallback methods
190 it replaced did. The method is empty on the Apple ports.
192 * WebKitTestRunner/TestInvocation.cpp:
193 (WTR::TestInvocation::forceRepaintDoneCallback):
195 2013-09-06 Allan Sandfeld Jensen <allan.jensen@digia.com>
197 [Qt][WK2] Window used by WebKitTestRunner loses active status
198 https://bugs.webkit.org/show_bug.cgi?id=120774
200 Reviewed by Jocelyn Turcotte.
202 When focusing the PlatformWebView which is done at the start of each test, we should
203 ensure the host window of PlatformWebView is also made active, otherwise we will
204 not receive the keyboard events send by EventSenderProxy.
206 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
207 (WTR::PlatformWebView::focus):
209 2013-09-05 Seokju Kwon <seokju@webkit.org>
211 Unreviewed build fix. VectorReverse.cpp was removed after r155151.
213 * TestWebKitAPI/CMakeLists.txt:
215 2013-09-05 Anders Carlsson <andersca@apple.com>
217 Make Vector::uncheckedAppend work with move-only types
218 https://bugs.webkit.org/show_bug.cgi?id=120799
220 Reviewed by Andreas Kling.
222 * TestWebKitAPI/Tests/WTF/Vector.cpp:
223 (TestWebKitAPI::MoveOnly):
224 Add a move-only class.
226 (TestWebKitAPI::TEST):
227 Add a test for Vector<MoveOnly>::uncheckedAppend.
229 2013-09-05 Anders Carlsson <andersca@apple.com>
231 Move all Vector tests into Vector.cpp
232 https://bugs.webkit.org/show_bug.cgi?id=120797
234 Reviewed by Andreas Kling.
236 * TestWebKitAPI/CMakeLists.txt:
237 * TestWebKitAPI/GNUmakefile.am:
238 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
239 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
240 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
241 * TestWebKitAPI/Tests/WTF/Vector.cpp:
242 (TestWebKitAPI::TEST):
243 * TestWebKitAPI/Tests/WTF/VectorBasic.cpp: Removed.
244 * TestWebKitAPI/Tests/WTF/VectorReverse.cpp: Removed.
245 * TestWebKitAPI/Tests/WTF/WTF.pro:
247 2013-09-05 Simon Fraser <simon.fraser@apple.com>
249 Expected result images are sometimes blank in WKTR
250 https://bugs.webkit.org/show_bug.cgi?id=120715
252 Reviewed by Tim Horton.
254 In WebKitTestRunner, snapshots obtained via windowSnapshotImage() were
255 sometimes blank if a previous test triggered compositing mode, and the
256 current test or reference did not require compositing. This happened
257 because the UI process didn't wait for the web process to complete
258 its compositing mode switch before snapshotting. Fix by calling
259 WKPageForceRepaint() before we take the snapshot; this is async,
260 so we have to spin the runloop for a while.
262 Remove the Qt/EFL code that does the same thing.
264 * WebKitTestRunner/TestInvocation.cpp:
265 (WTR::TestInvocation::forceRepaintDoneCallback):
266 (WTR::TestInvocation::dumpResults):
267 * WebKitTestRunner/TestInvocation.h:
268 * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
269 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
270 * WebKitTestRunner/qt/TestInvocationQt.cpp:
271 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
273 2013-09-05 Csaba Osztrogonác <ossy@webkit.org>
275 Make build.webkit.org report the number of failing run-fast-jsc tests
276 https://bugs.webkit.org/show_bug.cgi?id=120766
278 Reviewed by Filip Pizlo.
280 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
281 (RunJavaScriptCoreTests.commandComplete):
282 (RunJavaScriptCoreTests.getText2):
283 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
284 (RunJavaScriptCoreTestsTest): Added.
285 (RunJavaScriptCoreTestsTest.assertResults):
286 (RunJavaScriptCoreTestsTest.test_no_regressions_old_output):
287 (RunJavaScriptCoreTestsTest.test_mozilla_failure_old_output):
288 (RunJavaScriptCoreTestsTest.test_mozilla_failure_new_output):
289 (RunJavaScriptCoreTestsTest.test_fast_js_failure_new_output):
290 (RunJavaScriptCoreTestsTest.test_fast_js_crash_new_output):
291 (RunJavaScriptCoreTestsTest.test_mozilla_and_fast_js_failure_new_output):
293 2013-09-05 Csaba Osztrogonác <ossy@webkit.org>
295 Make run-fast-jsc script bash, dash and Darwin's /bin/sh friendly
296 https://bugs.webkit.org/show_bug.cgi?id=120759
298 Reviewed by Filip Pizlo.
300 * Scripts/run-fast-jsc: Remove bashisms to make bash, dash and Darwin's /bin/sh happy.
301 * Scripts/run-javascriptcore-tests: Enable run-fast-jsc tests everywhere, except Windows.
303 2013-09-05 Filip Pizlo <fpizlo@apple.com>
305 Unreviewed, green the Mac bots by boosting the timeout on JSC tests. One of the
306 Mozilla tests appears to run for a longer time.
308 I think we want to continue to allow a few tests here and there to be
309 longer-running, rather than excluding them. I seem to recall that those tests
312 * Scripts/run-javascriptcore-tests:
314 2013-09-05 Filip Pizlo <fpizlo@apple.com>
316 Unreviewed, don't run fast/js tests in run-javascriptcore-tests on platforms that
317 can't support it because if non-bourne shells. This fixes part #2 of the Linux
320 * Scripts/run-javascriptcore-tests:
322 2013-09-05 Filip Pizlo <fpizlo@apple.com>
324 Unreviewed, don't rely on File::Slurp. This fixes part #1 of Linux bot breakage.
326 * Scripts/run-javascriptcore-tests:
329 2013-09-04 Filip Pizlo <fpizlo@apple.com>
331 jsc tests should have timeouts
332 https://bugs.webkit.org/show_bug.cgi?id=120725
334 Reviewed by Geoffrey Garen.
336 Set the timeout to 20 seconds per test for now.
338 * Scripts/run-javascriptcore-tests:
340 2013-09-04 Filip Pizlo <fpizlo@apple.com>
342 run-javascriptcore-tests should run-fast-jsc as well
343 https://bugs.webkit.org/show_bug.cgi?id=120722
345 Reviewed by Geoffrey Garen.
347 Makes run-javascriptcore-tests run the fast/js tests via run-fast-jsc tool.
348 Integrates run-fast-jsc's error reporting into run-javascriptcore-tests.
350 * Scripts/run-javascriptcore-tests:
353 2013-09-04 Sergio Correia <sergio.correia@openbossa.org>
355 [EFL][WK2] Move ShouldGoToBackForwardListItem to the list of passing API tests
356 https://bugs.webkit.org/show_bug.cgi?id=120646
358 Reviewed by Gyuyoung Kim.
360 * TestWebKitAPI/PlatformEfl.cmake: Move ShouldGoToBackForwardListItem to the
361 list of passing tests, since it started to pass after r154045.
363 2013-09-04 Krzysztof Czech <k.czech@samsung.com>
365 [ATK] Adds an accessibility support to access a value of the color control element
366 https://bugs.webkit.org/show_bug.cgi?id=114354
368 Reviewed by Mario Sanchez Prada.
370 Added accessibility role of the color control element.
372 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
374 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
377 2013-09-04 Mario Sanchez Prada <mario.prada@samsung.com>
379 REGRESSION (r132328): /WebKit2APITests/TestWebKitAccessibility unit test is failing
380 https://bugs.webkit.org/show_bug.cgi?id=100408
382 Unreviewed gardening. Unskip TestWebKitAccessibility after
383 manually checking that it's running properly in the bot.
385 * Scripts/run-gtk-tests:
386 (TestRunner): Unskipped TestWebKitAccessibility.
388 2013-09-04 Zan Dobersek <zdobersek@igalia.com>
390 [GTK] Add support for the Wayland build target
391 https://bugs.webkit.org/show_bug.cgi?id=120627
393 Reviewed by Gustavo Noronha Silva.
395 * GNUmakefile.am: Define the additional macros also if building the Wayland target.
397 2013-09-04 Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk>
399 [GStreamer] cannot play live streams
400 https://bugs.webkit.org/show_bug.cgi?id=116831
402 Reviewed by Philippe Normand.
404 Fix timeout issues with rtspsrc/udpsrc gstreamer elements.
406 * gtk/jhbuild.modules:
407 * gtk/patches/rtspsrc-timeout-on-udpsrc-is-in-nanoseconds.patch: Added.
408 * gtk/patches/udpsrc-improve-timeouts.patch: Added.
409 Changed gstreamer jhbuild modules to use tarball repos (required to add patches)
410 and added 2 patches to gst-plugins-good to fix timeout issues with rtsp streams.
411 Both patches are applied upstream and can be removed once a new gstreamer release
412 is out (up to 1.0.10 the patches are not included) and we bump the requirements.
414 2013-09-03 Alexey Proskuryakov <ap@apple.com>
416 [Mac] WebKitTestRunner still beeps sometimes
417 https://bugs.webkit.org/show_bug.cgi?id=120652
419 Reviewed by Tim Horton.
421 In bug 107251, we disabled beeping in WebProcess, but some of the beeps happen in
422 UI process (notably, AppKit beeps when handling a key equivalent returns NO).
424 * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformInitialize):
425 Use the same SPI that we use in DRT and in WebProcess to disable beeping.
427 2013-09-03 Krzysztof Czech <k.czech@samsung.com>
429 [AX][ATK] Added support for sort and help attributes
430 https://bugs.webkit.org/show_bug.cgi?id=120456
432 Reviewed by Chris Fleizach.
434 Added missing implementation to AccessibilityUIElement::helpText and support for
437 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
438 (coreAttributeToAtkAttribute):
439 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
440 (WTR::coreAttributeToAtkAttribute):
441 (WTR::AccessibilityUIElement::helpText):
443 2013-09-03 Allan Sandfeld Jensen <allan.jensen@digia.com>
445 [Qt][WK1] PageVisibility tests are flaky
446 https://bugs.webkit.org/show_bug.cgi?id=120418
448 Reviewed by Jocelyn Turcotte.
450 Implement resetPageVisibility so we can reset visibility without
451 emiting visibility state change events.
453 * DumpRenderTree/qt/TestRunnerQt.cpp:
454 (TestRunner::resetPageVisibility):
456 2013-09-03 ChangSeok Oh <changseok.oh@collabora.com>
458 [GTK] libsoup upversion to fix a gstreamer issue, bug115354
459 https://bugs.webkit.org/show_bug.cgi?id=120613
461 Reviewed by Philippe Normand.
463 Up version of libsoup to 2.43.90. But the exact version which we'll use is not 2.43.90.
464 To fix bug115354, we need the Andre's patch for libsoup, but the lastest release
465 does not contain it. https://bugzilla.gnome.org/show_bug.cgi?id=706338
466 For the reason, we'll use libsoup git repo directly for a while until the next
469 * gtk/jhbuild.modules:
471 2013-09-02 Darin Adler <darin@apple.com>
473 [Mac] No need for HardAutorelease, which is same as CFBridgingRelease
474 https://bugs.webkit.org/show_bug.cgi?id=120569
476 Reviewed by Andy Estes.
478 * DumpRenderTree/mac/DumpRenderTree.mm:
479 (dump): Use CFBridgingRelease.
481 2013-09-02 Anton Obzhirov <a.obzhirov@samsung.com>
483 <https://webkit.org/b/98350> [GTK] accessibility/aria-invalid.html times out
485 Reviewed by Mario Sanchez Prada.
487 Added few mappings in DumpRenderTree and WebKitTestRunner for aria-invalid in order to get the tests run properly.
489 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
490 (axObjectEventListener):
491 Added mapping for invalid-entry event parameter.
492 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
493 (coreAttributeToAtkAttribute):
494 Added mapping to aria-invalid.
495 (AccessibilityUIElement::stringAttributeValue):
496 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
497 (WTR::coreAttributeToAtkAttribute):
498 Added mapping to aria-invalid.
500 2013-09-02 Nick Diego Yamane <nick.yamane@openbossa.org>
502 Save md5 correctly when jhbuildPath doesn't exist yet
503 https://bugs.webkit.org/show_bug.cgi?id=120548
505 Reviewed by Gustavo Noronha Silva.
507 After r152605, Md5 for jhbuild files are saved before the update
508 process, this prevents the script to restart update from scratch
509 when initial checkouts fail. However it causes an issue when builddir
510 (or builddir/Dependencies) doesn't exist yet. In that case the
511 saveJhbuildMd5 function fails to create md5 files.
512 This patch adds a checking for the jhbuildPath and creates it if
513 necessary before trying to open the md5 files.
515 * Scripts/update-webkit-libs-jhbuild:
518 2013-09-02 Mario Sanchez Prada <mario.prada@samsung.com>
520 Unreviewed. Move myself to the reviewers list.
522 * Scripts/webkitpy/common/config/contributors.json:
524 2013-09-01 Alexey Proskuryakov <ap@apple.com>
526 [WK2][Mac] Drag and drop tests interfere with user's UI
527 https://bugs.webkit.org/show_bug.cgi?id=120538
529 Reviewed by Dan Bernstein.
531 This makes running WebKit2 regression tests locally more viable. The patch doesn't
532 fix drag and drop tests to work as expected, I posted some thought about that in
533 <https://bugs.webkit.org/show_bug.cgi?id=68552>.
535 * WebKitTestRunner/EventSenderProxy.h:
536 (WTR::EventSenderProxy::position):
537 * WebKitTestRunner/TestController.h:
538 (WTR::TestController::eventSenderProxy):
539 Expose a way to get current mouse position from anywhere in WKTR code.
541 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added new files.
543 * WebKitTestRunner/mac/EventSenderProxy.mm: (WTR::EventSenderProxy::mouseUp):
544 Copied a FIXME comment from DumpRenderTree.
546 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
547 (-[TestRunnerWKView dragImage:at:offset:event:pasteboard:source:slideBack:]):
548 Override drag initiation, using a custom NSDraggingInfo implementation.
550 * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformInitialize):
551 Replace NSEvent with a custom class.
553 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h: Added.
554 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm: Added.
555 * WebKitTestRunner/mac/WebKitTestRunnerEvent.h: Added.
556 * WebKitTestRunner/mac/WebKitTestRunnerEvent.mm: Added.
557 Largely a copy of DumpRenderTree classes, modified to not use global variables.
558 We should consider making these variables static in EventSenderProxy though, as
559 it's strange that mouse state in WKTR is reset between tests without WebKit ever
560 being told about that.
562 2013-08-30 Brent Fulgham <bfulgham@apple.com>
564 [Windows] Unreviewed build fix.
566 * win/AssembleBuildLogs/AssembleLogs.cmd: Make sure WebInspectorUI build output is reported
567 from the build machines.
569 2013-08-30 Gabor Abraham <abrhm@inf.u-szeged.hu>
571 [Qt] Remove qt-5.0-wk2 from the baseline search paths because the migration of expectations to qt-wk2 is done.
572 https://bugs.webkit.org/show_bug.cgi?id=120464
574 Reviewed by Jocelyn Turcotte.
576 * Scripts/webkitpy/port/qt.py:
577 (QtPort._search_paths):
578 * Scripts/webkitpy/port/qt_unittest.py:
581 2013-08-29 Filip Pizlo <fpizlo@apple.com>
583 Just linking LLVM into JSC causes all plugin tests to fail
584 https://bugs.webkit.org/show_bug.cgi?id=113915
586 Reviewed by Oliver Hunt.
588 Hide all LLVM symbols. This should prevent us from exporting LLVM's overrides for
589 raise/abort/__assert_rtn.
591 * Scripts/configure-llvm:
593 2013-08-29 Joseph Pecoraro <pecoraro@apple.com>
595 new-run-webkit-tests does not respect --no-sample-on-timeout switch
596 https://bugs.webkit.org/show_bug.cgi?id=120491
598 Reviewed by Darin Adler.
600 * Scripts/webkitpy/port/server_process.py:
601 (ServerProcess._handle_timeout):
603 2013-08-29 Sam Weinig <sam@webkit.org>
605 Add ENABLE guards for Promises
606 https://bugs.webkit.org/show_bug.cgi?id=120488
608 Reviewed by Andreas Kling.
610 * Scripts/webkitperl/FeatureList.pm:
611 * qmake/mkspecs/features/features.pri:
613 2013-08-29 Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk>
615 [GTK] Should enable WebGL by default on MiniBrowser
616 https://bugs.webkit.org/show_bug.cgi?id=120420
618 Reviewed by Gustavo Noronha Silva.
620 Enable WebGL by default on MiniBrowser.
622 * MiniBrowser/gtk/main.c:
625 2013-08-28 Simon Fraser <simon.fraser@apple.com>
627 Add a Command-R shortcut in MiniBrowser
628 https://bugs.webkit.org/show_bug.cgi?id=120442
630 Reviewed by Dean Jackson.
632 Add a "Reload Page" item to the View menu with a Command-R
635 * MiniBrowser/mac/MainMenu.xib:
637 2013-08-29 Alberto Garcia <berto@igalia.com>
639 [GTK] Update apt dependency list
640 https://bugs.webkit.org/show_bug.cgi?id=120399
642 Reviewed by Philippe Normand.
644 Remove bogus package gail-3.0, add xfonts-utils (needed by
645 xorg-xserver) and switch to the latest versions of libtiff and
648 * gtk/install-dependencies:
650 2013-08-28 Alexey Proskuryakov <ap@apple.com>
652 [WK2][Mac] WebKitTestRunner doesn't force system appearance
653 https://bugs.webkit.org/show_bug.cgi?id=120437
655 Reviewed by Darin Adler.
657 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
658 (WTR::InjectedBundle::platformInitialize): Set AppleAquaColorVariant,
659 AppleHighlightColor and AppleOtherHighlightColor to the same values that DRT uses.
662 2013-08-16 Ryosuke Niwa <rniwa@webkit.org>
664 <https://webkit.org/b/119806> [Mac] Add a way to easily test attributed string generation
666 Reviewed by Darin Adler.
668 Add textInputController.legacyAttributedString to retrieve the attributed string for copy & paste.
670 We can't use textInputController.attributedSubstringFromRange as it uses WebHTMLConverter's static
671 editingAttributedStringFromRange function, which doesn't implement the full converter at the moment.
673 Also NSMutableAttributedString.ranges and WebNSRange so that JavaScript can get a list of all
674 ranges in a given attributed string.
676 * DumpRenderTree/mac/TextInputController.m:
677 (-[WebNSRange initWithNSRange:]):
678 (-[WebNSRange location]):
679 (-[WebNSRange length]):
680 (+[WebNSRange isSelectorExcludedFromWebScript:]):
681 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
682 (+[NSMutableAttributedString webScriptNameForSelector:]):
683 (-[NSMutableAttributedString ranges]): Added.
684 (+[TextInputController isSelectorExcludedFromWebScript:]):
685 (+[TextInputController webScriptNameForSelector:]):
686 (-[TextInputController legacyAttributedString:]):
688 2013-08-28 Denis Nomiyama <d.nomiyama@samsung.com>
690 [GTK] accessibility/menu-list-sends-change-notification.html has incorrect expected results
691 https://bugs.webkit.org/show_bug.cgi?id=120419
693 Reviewed by Chris Fleizach.
695 Added a notification for AXFocusedUIElementChanged.
697 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
698 (axObjectEventListener): Added a notification for AXFocusedUIElementChanged.
700 2013-08-28 Roger Fong <roger_fong@apple.com>
702 Decrease number of workers used in NRWT by the Windows port.
703 https://bugs.webkit.org/show_bug.cgi?id=120435.
705 Reviewed by Brent Fulgham.
707 * Scripts/webkitpy/port/win.py:
708 (WinPort.default_child_processes):
710 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
712 Http tests fails on Debian with Apache 2.4
713 https://bugs.webkit.org/show_bug.cgi?id=120352
717 Remember to update unit-test expectations and old-run-webkit-tests as well.
719 * Scripts/webkitperl/httpd.pm:
720 (getHTTPDConfigPathForTestDirectory):
721 * Scripts/webkitpy/port/port_testcase.py:
722 (test_apache_config_file_name_for_platform):
724 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
726 Http tests fails on Debian with Apache 2.4
727 https://bugs.webkit.org/show_bug.cgi?id=120352
729 Reviewed by Andreas Kling.
731 Select httpd.conf file for debian based on version, matching Fedora behavior.
733 * Scripts/webkitpy/port/base.py:
734 (Port._apache_config_file_name_for_platform):
736 2013-08-28 Commit Queue <commit-queue@webkit.org>
738 Unreviewed, rolling out r154593.
739 http://trac.webkit.org/changeset/154593
740 https://bugs.webkit.org/show_bug.cgi?id=120403
742 Caused 50+ flaky tests on WebKit1 bots (Requested by carewolf
745 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
748 2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
750 [Qt][Wk2] Many tests are flaky on Qt 5.1
751 https://bugs.webkit.org/show_bug.cgi?id=118232
753 Reviewed by Jocelyn Turcotte.
755 We need to set renderToOffscreenBuffer since we won't otherwise get
756 the paint calls necessary to synchronize UI- and Web-Process. It was
757 only disabled in Qt 5.0 because it conflicted with setRenderWithoutShowing
758 which is no longer supported or needed.
760 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
761 (WTR::WrapperWindow::handleStatusChanged):
763 2013-08-27 Alexey Proskuryakov <ap@apple.com>
765 [WK2] Remove USE_WEBPROCESS_EVENT_SIMULATION
766 https://bugs.webkit.org/show_bug.cgi?id=120379
768 Reviewed by Darin Adler.
770 All major platforms have implemented UI process eventSender support, keeping old
771 web process side code only adds confusion.
773 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
774 (WTR::EventSendingController::EventSendingController):
775 (WTR::EventSendingController::mouseDown):
776 (WTR::EventSendingController::mouseUp):
777 (WTR::EventSendingController::mouseMoveTo):
778 (WTR::EventSendingController::leapForward):
779 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
780 * WebKitTestRunner/TestController.cpp:
781 (WTR::TestController::resetStateToConsistentValues):
782 (WTR::TestController::didReceiveMessageFromInjectedBundle):
783 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
784 * WebKitTestRunner/TestController.h:
786 2013-08-27 Roger Fong <roger_fong@apple.com>
788 NRWT on AppleWin port should delete semaphore lock files during cleanup tasks.
789 https://bugs.webkit.org/show_bug.cgi?id=120370.
791 Reviewed by Brent Fulgham.
793 * Scripts/webkitpy/port/win.py:
794 (WinPort.delete_sem_locks):
795 (WinPort.setup_test_run):
797 2013-08-27 Denis Nomiyama <d.nomiyama@samsung.com>
799 [GTK] Missing DRT AccessibilityUIElement::addNotificationListener implementation
800 https://bugs.webkit.org/show_bug.cgi?id=119883
802 Implemented the notification listener for AccessibilityUIElement. The signal is generated
803 by AXObjectCache::postPlatformNotification() and received by axObjectEventListener().
804 axObjectEventListener will then invoke JSObjectCallAsFunction() with the respective
805 callback function. The global callback function and callbacks for specific elements are
806 stored in a HashMap in AccessibilityCallbacksAtk.cpp.
808 Reviewed by Chris Fleizach.
810 * DumpRenderTree/AccessibilityUIElement.h: Added a notification handler for GTK+
811 * DumpRenderTree/atk/AccessibilityCallbacks.h: Added addAccessibilityNotificationListener()
812 and removeAccessibilityNotificationListener()
813 * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
814 (axObjectEventListener): Call JS callback for global notification or for a specific element
815 (disconnectAccessibilityCallbacks): Only disconnect if logging is off and there is no
817 (addAccessibilityNotificationHandler): Add notification listener to the list
818 (removeAccessibilityNotificationHandler): Remove notification listener from the list
819 * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
820 (AccessibilityController::setLogAccessibilityEvents): Set logging off before disconnecting
821 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Added.
822 (AccessibilityNotificationHandler::AccessibilityNotificationHandler): Create handler
823 (AccessibilityNotificationHandler::~AccessibilityNotificationHandler): Destroy handler.
824 Remove handler from the list and disconnect callbacks
825 (AccessibilityNotificationHandler::setNotificationFunctionCallback): Set the notification
826 callback and connect callbacks to signals
827 * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Added.
828 (AccessibilityNotificationHandler::setPlatformElement): Set platform element
829 (AccessibilityNotificationHandler::platformElement): Get platform element
830 (AccessibilityNotificationHandler::notificationFunctionCallback): Get notification callback
831 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
832 (AccessibilityUIElement::addNotificationListener): Create notification handler, set the
833 platform element and the notification callback
834 (AccessibilityUIElement::removeNotificationListener):
835 * DumpRenderTree/efl/CMakeLists.txt: Added AccessibilityNotificationHandlerAtk.cpp/h
836 * GNUmakefile.am: Added AccessibilityNotificationHandlerAtk.cpp/h
838 2013-08-27 Carlos Garcia Campos <cgarcia@igalia.com>
840 Unreviewed. Fix GTK+ build after r154601.
842 * TestWebKitAPI/GNUmakefile.am: Remove mac specific file from
843 compilation added by mistake in r154601.
845 2013-08-26 Alexey Proskuryakov <ap@apple.com>
847 WebKitTestRunner needs to protect the user's pasteboard contents while running
848 https://bugs.webkit.org/show_bug.cgi?id=81419
849 <rdar://problem/11066794>
851 Reviewed by Darin Adler.
853 Mostly a copy/paste of DRT code.
855 Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
856 doesn't interfere with my clipboard while being run in a loop.
858 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
859 * WebKitTestRunner/mac/PoseAsClass.h: Added.
860 * WebKitTestRunner/mac/PoseAsClass.mm: Added.
861 * WebKitTestRunner/mac/TestControllerMac.mm:
862 (WTR::TestController::platformInitialize):
863 (WTR::TestController::platformDestroy):
864 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
865 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
867 2013-08-26 Commit Queue <commit-queue@webkit.org>
869 Unreviewed, rolling out r154640.
870 http://trac.webkit.org/changeset/154640
871 https://bugs.webkit.org/show_bug.cgi?id=120329
873 Caused flaky crashes on a lot of editing tests (Requested by
876 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
877 * WebKitTestRunner/mac/PoseAsClass.h: Removed.
878 * WebKitTestRunner/mac/PoseAsClass.mm: Removed.
879 * WebKitTestRunner/mac/TestControllerMac.mm:
880 (WTR::TestController::platformInitialize):
881 (WTR::TestController::platformDestroy):
882 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Removed.
883 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Removed.
885 2013-08-26 Dan Bernstein <mitz@apple.com>
887 Automatic bug reports case pain
888 https://bugs.webkit.org/show_bug.cgi?id=120330
890 Reviewed by Anders Carlsson.
892 * Scripts/webkitpy/tool/commands/download.py: Made the following changes to the Description
893 of bugs filed by the bot: changed “the sheriff-bot” to “webkitbot”, changed “case pain” to
894 “fail”, and removed “"Only you can prevent forest fires." -- Smokey the Bear”.
896 2013-08-23 Andy Estes <aestes@apple.com>
898 Fix issues found by the Clang Static Analyzer
899 https://bugs.webkit.org/show_bug.cgi?id=120230
901 Reviewed by Darin Adler.
903 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
904 (-[LocalPasteboard initWithName:]): Called [super init] first so that we
905 don't later use ivars from the wrong self.
906 * DumpRenderTree/mac/TestRunnerMac.mm:
907 (-[APITestDelegate initWithCompletionCondition:]): Ditto.
908 * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
909 (TestWebKitAPI::TEST): Don't leak WKProcessGroups,
910 WKBrowsingContextGroups, and WKViews.
912 2013-08-26 Alexey Proskuryakov <ap@apple.com>
914 WebKitTestRunner needs to protect the user's pasteboard contents while running
915 https://bugs.webkit.org/show_bug.cgi?id=81419
916 <rdar://problem/11066794>
918 Reviewed by Darin Adler.
920 Mostly a copy/paste of DRT code.
922 Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
923 doesn't interfere with my clipboard while being run in a loop.
925 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
926 * WebKitTestRunner/mac/PoseAsClass.h: Added.
927 * WebKitTestRunner/mac/PoseAsClass.mm: Added.
928 * WebKitTestRunner/mac/TestControllerMac.mm:
929 (WTR::TestController::platformInitialize):
930 (WTR::TestController::platformDestroy):
931 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
932 * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
934 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
936 [GTK] Include most of the WebKit2 unit tests into the build and testing
937 https://bugs.webkit.org/show_bug.cgi?id=120307
939 Reviewed by Philippe Normand.
941 There are still various unit test source files that are not being included into
942 the build. This patch includes most of these, only leaving out tests that do not
943 compile or test features that are not supported by the GTK port.
945 * Scripts/run-gtk-tests: Skip four newly-added tests that are failing or timing out.
947 * TestWebKitAPI/GNUmakefile.am:
949 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
951 [GTK] Allow to run tests without Xvfb in run-gtk-tests
952 https://bugs.webkit.org/show_bug.cgi?id=120298
954 Reviewed by Philippe Normand.
956 Add --no-xvfb command line option to run tests in the current
959 * Scripts/run-gtk-tests:
960 (TestRunner._run_xvfb): Return early if option --no-xvfb has been
962 (TestRunner._setup_testing_environment): Use helper function
963 _run_xvfb to start Xvfb if needed.
964 (TestRunner._tear_down_testing_environment): Check Xvfb is
965 actually running before trying to terminate it.
967 2013-08-26 Zoltan Arvai <zarvai@inf.u-szeged.hu>
969 Adding Gabor Abraham to contributors.json.
971 Reviewed by Csaba Osztrogonác.
973 * Scripts/webkitpy/common/config/contributors.json:
975 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
977 [GTK] Add support for passing test directories to run-gtk-tests
978 https://bugs.webkit.org/show_bug.cgi?id=120296
980 Reviewed by Philippe Normand.
982 * Scripts/run-gtk-tests:
983 (TestRunner._get_tests_from_dir): Helper function to return all
984 unit tests found in a given directory.
985 (TestRunner._get_tests): Check the given tests passed in the
986 command line, so that if a directory is found the tests contained
987 in the directory are added to the list of tests to run.
989 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
991 [GTK] Improve the stop/reload button implementation in MiniBrowser
992 https://bugs.webkit.org/show_bug.cgi?id=120292
994 Reviewed by Philippe Normand.
996 - Use an instance member of BrowserWindow for the button widget
997 instead of a global variable.
998 - Use notify::is-loading to monitor the WebView load instead of
999 the estimated-load-progress property.
1000 - Use webkit_web_view_is_loading() to check whether the view
1001 is loading to change the button icon instead of a string
1002 comparison of the gtk stock icon id.
1003 - Use the right casts to fix compile warning.
1005 * MiniBrowser/gtk/BrowserWindow.c:
1006 (reloadOrStopCallback):
1007 (webViewLoadProgressChanged):
1008 (webViewIsLoadingChanged):
1009 (browser_window_init):
1010 (browserWindowConstructed):
1012 2013-08-26 Arunprasad Rajkumar <arurajku@cisco.com>
1014 [Qt] Remove the fix in QWebPage::javaScriptConsoleMessage introduced by (r61433)
1015 https://bugs.webkit.org/show_bug.cgi?id=119791
1017 Reviewed by Jocelyn Turcotte.
1019 Load empty url to send onunload event to currently running page. onunload event is
1020 mandatory for LayoutTests/plugins/open-and-close-window-with-plugin.html and
1021 LayoutTests/plugins/geturlnotify-during-document-teardown.html.
1023 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1024 (WebPage::~WebPage):
1026 2013-08-26 Carlos Garcia Campos <cgarcia@igalia.com>
1028 [GTK] Silence MiniBrowser compile warnings due to recent GTK+ deprecations
1029 https://bugs.webkit.org/show_bug.cgi?id=120290
1031 Reviewed by Philippe Normand.
1033 * MiniBrowser/gtk/GNUmakefile.am: Add
1034 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6 compile option.
1036 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
1038 [GTK] Add WillLoad test files to the TestWebKitAPI/TestWebKit2 program
1039 https://bugs.webkit.org/show_bug.cgi?id=120288
1041 Reviewed by Carlos Garcia Campos.
1043 * TestWebKitAPI/GNUmakefile.am: Add the WillLoad.cpp build target that should be compiled
1044 into the TestWebKit2 program. The InjectedBundle counterpart file is added to the build as well.
1045 These unit tests are at the moment failing in debug configurations, so it would be nice to
1046 have the GTK builds report these failures as well.
1048 2013-08-25 Ryuan Choi <ryuan.choi@samsung.com>
1050 [EFL] EWebLauncher is executed as full screen with device pixel ratio
1051 https://bugs.webkit.org/show_bug.cgi?id=120282
1053 Reviewed by Gyuyoung Kim.
1055 * EWebLauncher/main.c:
1056 Use double instead of float for device_pixel_ratio which is passed to ECORE_GETOPT_VALUE_DOUBLE.
1058 2013-08-25 Zan Dobersek <zdobersek@igalia.com>
1060 [gdb] Remove the pretty printer for KURLGooglePrivate
1061 https://bugs.webkit.org/show_bug.cgi?id=120263
1063 Reviewed by Benjamin Poulain.
1065 Remove the pretty printer for the WebCore::KURLGooglePrivate structure that
1066 was usable inside the gdb debugger. The structure was remove from the codebase
1067 along with the GoogleURL backend for KURL.
1070 (JSCJSStringPrinter.to_string):
1071 (add_pretty_printers):
1073 2013-08-24 Filip Pizlo <fpizlo@apple.com>
1075 Unreviewed, fix build-webkit --ftl-jit in the case that you have your own llvm directory. We need to
1076 prune 'libgtest' and friends from the llvm build, since WebKit builds its own and none of the llvm
1077 libraries depend on libgtest anyway.
1079 * Scripts/copy-webkitlibraries-to-product-directory:
1081 2013-08-24 Darin Adler <darin@apple.com>
1083 RetainPtr lacks move constructor for case when argument is a RetainPtr of a different type
1084 https://bugs.webkit.org/show_bug.cgi?id=120255
1086 Reviewed by Andreas Kling.
1088 * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added four tests covering move assignment and construction.
1090 2013-08-24 Anders Carlsson <andersca@apple.com>
1092 Don't treat NSLocalizedDescriptionKey and NSLocalizedRecoverySuggestionErrorKey as NSLocalized macros
1093 https://bugs.webkit.org/show_bug.cgi?id=120249
1095 Reviewed by Andreas Kling.
1097 * Scripts/extract-localizable-strings:
1099 2013-08-24 Carlos Garcia Campos <cgarcia@igalia.com>
1101 [GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API
1102 https://bugs.webkit.org/show_bug.cgi?id=119743
1104 Reviewed by Anders Carlsson.
1106 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1107 (WTR::InjectedBundlePage::InjectedBundlePage): Add
1110 2013-08-23 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
1112 Move TestWebKitAPI_LIBRARIES before platform specific cmake include
1113 https://bugs.webkit.org/show_bug.cgi?id=120220
1115 Reviewed by Martin Robinson.
1117 * TestWebKitAPI/CMakeLists.txt:
1119 2013-08-22 Filip Pizlo <fpizlo@apple.com>
1121 build-jsc --ftl-jit should work
1122 https://bugs.webkit.org/show_bug.cgi?id=120194
1124 Reviewed by Oliver Hunt.
1126 * Scripts/build-jsc: Need to pass the feature flag to xcodebuild
1128 2013-08-23 Commit Queue <commit-queue@webkit.org>
1130 Unreviewed, rolling out r153534.
1131 http://trac.webkit.org/changeset/153534
1132 https://bugs.webkit.org/show_bug.cgi?id=120216
1134 Too many tests failing just WinEWS bots (Requested by rfong on
1137 * Scripts/webkitpy/common/config/ews.json:
1139 2013-08-23 Alex Christensen <alex.christensen@flexsim.com>
1141 Unreviewed. Added my webkit.org email address.
1143 * Scripts/webkitpy/common/config/contributors.json:
1145 2013-08-23 Peter Gal <galpeter@inf.u-szeged.hu>
1147 [WTR] Should dump as text when the mimetype is text/plain
1148 https://bugs.webkit.org/show_bug.cgi?id=118306
1150 Reviewed by Christophe Dumez.
1152 Check for the text/plain mimetype and if true then mark it as
1155 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1156 (WTR::InjectedBundlePage::dump):
1158 2013-08-22 Filip Pizlo <fpizlo@apple.com>
1160 Update LLVM binary drops and scripts to the latest version from SVN
1161 https://bugs.webkit.org/show_bug.cgi?id=120184
1163 Reviewed by Mark Hahnenberg.
1165 * ReducedFTL/build.sh:
1166 * Scripts/configure-llvm: Added.
1167 * Scripts/copy-webkitlibraries-to-product-directory:
1168 * Scripts/export-llvm-build:
1170 2013-08-22 Andy Estes <aestes@apple.com>
1172 <https://webkit.org/b/120180> Fix issues with OTHER_LDFLAGS in various .xcconfig files
1174 Reviewed by David Kilzer.
1176 * TestWebKitAPI/Configurations/Base.xcconfig: Removed the definition of
1177 OTHER_CPLUSPLUSFLAGS since -ftemplate-depth=256 is already set in
1178 DebugRelease.xcconfig and TestWebKitAPI isn't built in Production.
1180 2013-08-22 Ryosuke Niwa <rniwa@webkit.org>
1182 NRWT: Add the ability to upload test results to new test results server
1183 https://bugs.webkit.org/show_bug.cgi?id=120146
1185 Reviewed by Andreas Kling.
1187 For the upcoming replacement for webkit-test-results.appspot.com, new-run-webkit-tests needs to use a new JSON format
1188 that contains the full summary of the test run including information about passed tests.
1190 Add this ability to NRWT so that I can start testing this feature. This patch adds the following optoins to NRWT:
1193 --results-server-host
1195 The last option is somewhat ambigious with --test-results-server but we're intending to deprecate the old server
1196 so we should be able to delete --test-results-server in time.
1198 * Scripts/webkitpy/layout_tests/controllers/manager.py:
1200 (Manager._upload_json_files):
1202 (Manager.upload_results):
1203 * Scripts/webkitpy/layout_tests/models/test_run_results.py:
1204 (summarize_results):
1205 * Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py:
1206 (summarized_results):
1207 (SummarizedResultsTest.test_summarized_results_wontfix):
1208 (SummarizedResultsTest):
1209 (SummarizedResultsTest.test_summarized_results_include_passes):
1210 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1213 2013-08-22 Ryosuke Niwa <rniwa@webkit.org>
1215 WKR build fix. Somehow tool.bugs.quips() doesn't work in WKR so work around that.
1217 * Scripts/webkitpy/tool/bot/irc_command.py:
1220 2013-08-22 Allan Sandfeld Jensen <allan.jensen@digia.com>
1222 [Qt] DRT bug revealed/caused by r154300
1223 https://bugs.webkit.org/show_bug.cgi?id=120151
1225 Reviewed by Simon Hausmann.
1227 Since QtInstance had an implementation of getOwnPropertySlot and not getOwnPropertyDescriptor,
1228 the behavior of getOwnPropertyDescriptor changed when it got implemented using getOwnPropertySlot
1231 DRT relied on getOwnPropertyDescriptor returning undefined for JS set properties to distinguish
1232 between native Qt methods and JSC bound methods. This patch changes the check to see if the
1233 property is writable since the Qt methods are ReadOnly.
1235 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1236 (DumpRenderTree::initJSObjects):
1238 2013-08-21 Joseph Pecoraro <pecoraro@apple.com>
1240 <https://webkit.org/b/120134> [Tools] lldb_webkit.py helpers is incorrectly printing 8bit Strings
1242 Reviewed by Benjamin Poulain.
1244 WTFString moved the is8bit bit by one in r152201.
1246 * lldb/lldb_webkit.py:
1247 (WTFStringImplProvider.is_8bit):
1249 2013-08-21 Tim Horton <timothy_horton@apple.com>
1251 Revert http://trac.webkit.org/changeset/154022, as it failed to update
1252 a variety of scripts that depended on the old format.
1254 See https://bugs.webkit.org/show_bug.cgi?id=120131 for one such example.
1256 * Scripts/prepare-ChangeLog:
1258 (generateNewChangeLogs):
1260 2013-08-21 Brent Fulgham <bfulgham@apple.com>
1262 [Windows] Unreviewed gardening: WebInspector should always be enabled for WinLauncher.
1264 * WinLauncher/WinLauncher.cpp:
1265 (setToDefaultPreferences): Activate Developer Extras on Release (as well as Debug) builds.
1267 2013-08-21 Zan Dobersek <zdobersek@igalia.com>
1269 <https://webkit.org/b/120116> [GTK] Fix a typo in ActivateFontsGtk.cpp
1271 Reviewed by Andreas Kling.
1273 * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
1274 (WTR::initializeFontConfigSetting): Fix a typo - inititialize -> initialize.
1275 (WTR::activateFonts): Ditto.
1277 2013-08-21 Brian Holt <brian.holt@samsung.com>
1279 [GTK] Suppress irrelevant or known leaks for Valgrind
1280 https://bugs.webkit.org/show_bug.cgi?id=119448
1282 Reviewed by Martin Robinson.
1284 Add a suppressions file to suppress known leaks for Valgrind.
1285 Valgrind also takes longer when using suppressions and
1286 times out unless the driver timeout is increased.
1288 * Scripts/valgrind/suppressions.txt: Added.
1289 * Scripts/webkitpy/port/gtk.py:
1290 (GtkPort.driver_stop_timeout):
1291 (GtkPort.setup_environ_for_server):
1293 2013-08-20 Alex Christensen <achristensen@apple.com>
1295 [Windows] Linking fix for Win64.
1297 Rubberstamped by Brent Fulgham.
1299 * win/DLLLauncher/DLLLauncherMain.cpp:
1300 (wWinMain): Corrected 64-bit linker symbol for dllLauncherEntryPoint.
1302 2013-08-20 Brent Fulgham <bfulgham@apple.com>
1304 <https://webkit.org/b/120090> Report better error messages from WinLauncher/DRT
1306 Reviewed by Tim Horton.
1308 * win/DLLLauncher/DLLLauncherMain.cpp:
1309 (getLastErrorString): New method to convert GetLastError to text.
1310 (wWinMain): Use new error formatter to provide useful diagnostic text to user.
1312 2013-08-19 Gustavo Noronha Silva <gns@gnome.org>
1314 <https://webkit.org/b/120048> [GTK] Add stubs for APIs that went missing in the DOM bindings
1316 Reviewed by Martin Robinson.
1318 * Scripts/webkitpy/style/checker.py: add the bindings custom implementation files to be exempt
1319 from naming/enum_casing rules, since it needs to provide GObject-style APIs.
1321 2013-08-20 Anton Obzhirov <a.obzhirov@samsung.com>
1323 <https://webkit.org/b/120009> [GTK] Stop button should be added to MiniBrowser
1325 Reviewed by Martin Robinson.
1327 Added stop button in MiniBrowser
1329 * MiniBrowser/gtk/BrowserWindow.c:
1330 (reloadOrStopCallback): Callback to handle stop or reload button click.
1331 (webViewLoadProgressChanged): Update reload or stop button icon.
1332 (browser_window_init): Save button pointer for further icon updates.
1334 2013-08-20 Simon Pena <simon.pena@samsung.com>
1336 <https://webkit.org/b/117584> [GTK][WK1] http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html is failing
1338 Reviewed by Alexey Proskuryakov.
1340 Update DumpRenderTree to handle the WEBKIT_LOAD_FAILED status,
1341 printing didFailLoadWithError.
1343 Behave like other ports, and handle WEBKIT_LOAD_FAILED status in
1344 DumpRenderTree, printing didFailLoadWithError.
1346 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1347 (webFrameLoadStatusNotified):
1349 2013-08-19 Ryosuke Niwa <rniwa@webkit.org>
1351 <https://webkit.org/b/120049> Delete code for Snow Leopard
1353 Reviewed by Benjamin Poulain.
1355 * DumpRenderTree/mac/CheckedMalloc.cpp:
1356 (protectionOfRegion):
1357 (makeLargeMallocFailSilently):
1358 * DumpRenderTree/mac/DumpRenderTree.mm:
1359 (resetDefaultsToConsistentValues):
1360 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
1361 (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]):
1362 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1364 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1365 * DumpRenderTree/mac/LayoutTestHelper.m:
1366 * DumpRenderTree/mac/TestRunnerMac.mm:
1367 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1368 (WTR::InjectedBundle::platformInitialize):
1369 * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
1370 (WTR::testPathFromURL):
1371 (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
1373 2013-08-19 Alexey Proskuryakov <ap@apple.com>
1375 https://bugs.webkit.org/show_bug.cgi?id=119915
1376 REGRESSION(r154144): ASSERTION FAILED: m_history->provisionalItem() == m_requestedHistoryItem.get()
1378 Reviewed by Darin Adler.
1380 The issue was that we ended up having no CFNetwork cache in the testing session due
1381 to an incorrect cache model. There is a number of things not implemented when it
1382 comes to dynamically changing cache model as attempted by WebKitTestRunner, but
1383 the easiest way to get this going is to initialize it to correct value upfront.
1385 * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize):
1387 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
1389 REGRESSION(r154275): webkitpy tests failing
1390 https://bugs.webkit.org/show_bug.cgi?id=120010
1392 Reviewed by Jocelyn Turcotte.
1394 Update unit-tests to tests the new search-path structure,
1395 but reverting the architecture search path addition.
1397 * Scripts/webkitpy/port/qt.py:
1400 (QtPort._generate_all_test_configurations):
1401 (QtPort.qt_architecture):
1402 * Scripts/webkitpy/port/qt_unittest.py:
1404 (QtPortTest._assert_search_path):
1405 (QtPortTest._assert_expectations_files):
1406 (QtPortTest._qt_version):
1408 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
1410 [Qt] Keep the qt-5.0-wk2 search path until the expectation migration is completed
1412 Unreviewed meta gardening.
1414 We need to keep using the qt-5.0-wk2 path until it is fully migrated.
1416 * Scripts/webkitpy/port/qt.py:
1417 (QtPort._search_paths):
1419 2013-08-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
1421 Restructure Qt test expectations
1423 Unreviewed meta gardening.
1425 Removed 5.0 name from WK1 and WK2 results and made it possible to set
1426 expectations by both Qt version and mayor architectures.
1428 * Scripts/webkitpy/port/qt.py:
1429 (QtPort._wk2_port_name):
1431 (QtPort.qt_version):
1432 (QtPort.architecture):
1433 (QtPort._search_paths):
1434 (QtPort._port_specific_expectations_files):
1436 2013-08-16 Brent Fulgham <bfulgham@apple.com>
1438 [Windows] DRT is not using the same preferences as the Mac build.
1439 https://bugs.webkit.org/show_bug.cgi?id=119822
1441 Reviewed by Darin Adler.
1443 * DumpRenderTree/win/DumpRenderTree.cpp:
1444 (runTest): Process Windows message queue using CFRunLoop to allow
1445 dispatch routines to run properly.
1446 (dllLauncherEntryPoint): Wrap CG-specific setup code in a macro
1447 to prevent problems on WinCairo port.
1449 2013-08-16 Brent Fulgham <bfulgham@apple.com>
1451 [Windows] URL printing code in DRT doesn't match WTR or Mac DRT
1452 https://bugs.webkit.org/show_bug.cgi?id=119583
1454 Reviewed by Alexey Proskuryakov.
1456 * DumpRenderTree/win/DumpRenderTree.cpp:
1457 (urlSuitableForTestResult): Revise URL output to match Mac DRT by emiting last path
1458 component if the URL does not contain the expected base URL.
1460 2013-08-16 Pratik Solanki <psolanki@apple.com>
1462 <https://webkit.org/b/119852> Frame::scriptController() should return a reference
1464 Reviewed by Andreas Kling.
1466 m_script is never NULL so we can just return a reference. Also remove some pointless null
1467 checks as a result of doing this.
1469 * DumpRenderTree/blackberry/DumpRenderTree.cpp:
1470 (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
1472 2013-08-15 Alexey Proskuryakov <ap@apple.com>
1474 [WK2] NetworkProcess should use a temporary storage session for test
1475 https://bugs.webkit.org/show_bug.cgi?id=119855
1477 Reviewed by Darin Adler.
1479 Use a new API that takes care of both WebProcess and NetworkProcess.
1481 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1482 (WTR::InjectedBundle::initialize):
1483 * WebKitTestRunner/TestController.cpp:
1484 (WTR::TestController::initialize):
1486 2013-08-15 Bem Jones-Bey <bjonesbe@adobe.com>
1488 <https://webkit.org/b/119850> Speed up test importing by doing all the regex matching in a single pass
1490 Reviewed by Dirk Pranke.
1492 This is a port from Blink of
1493 https://src.chromium.org/viewvc/blink?revision=155647&view=revision
1494 originally by Dirk Pranke.
1496 From the original commit:
1498 This gives something like a 15x speedup over compiling and matching
1499 one property at a time and doing multiple passes over the file.
1501 * Scripts/webkitpy/w3c/test_converter.py:
1502 (W3CTestConverter.__init__):
1503 (W3CTestConverter.convert_prefixed_properties):
1504 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties):
1506 2013-08-15 Dan Bernstein <mitz@apple.com>
1508 <https://webkit.org/b/119856> Improve extract-localizable-strings messages
1510 Reviewed by Darin Adler.
1512 * Scripts/extract-localizable-strings: When the strings file disagrees with the source code,
1513 added a message that points to the source code. Removed some unnecessary repetition of what
1514 is already in the file.
1516 2013-08-15 Andy Estes <aestes@apple.com>
1518 <https://webkit.org/b/119853> REGRESSION (r139343): WebKit crashes when canceling a load inside webView:resource:didFinishLoadingFromDataSource:
1520 Reviewed by Brady Eidson.
1522 Wrote an API test that verifies -[WebView stopLoading:] can be called
1523 inside webView:resource:didFinishLoadingFromDataSource: without crashing.
1525 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1526 * TestWebKitAPI/Tests/mac/StopLoadingFromDidFinishLoading.mm: Added.
1527 (-[StopLoadingFromDidFinishLoadingDelegate webView:resource:didFinishLoadingFromDataSource:]):
1528 (TestWebKitAPI::TEST):
1530 2013-08-15 Alexey Proskuryakov <ap@apple.com>
1532 Adding Myles Maxfield to contributors.json.
1534 Oops, wrong section, fixing.
1536 * Scripts/webkitpy/common/config/contributors.json:
1538 2013-08-15 Alexey Proskuryakov <ap@apple.com>
1540 Adding Myles Maxfield to contributors.json.
1542 * Scripts/webkitpy/common/config/contributors.json:
1544 2013-08-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
1546 [Qt] Do not check specifically for version 5.0
1547 https://bugs.webkit.org/show_bug.cgi?id=119846
1549 Reviewed by Jocelyn Turcotte.
1551 For Qt 5.x we should always use both wk1 and wk2 basepath results.
1553 * Scripts/webkitpy/port/qt.py:
1554 (QtPort._search_paths):
1556 2013-08-15 Simon Pena <simon.pena@samsung.com>
1558 <https://webkit.org/b/119584> [Gtk] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1560 Reviewed by Gustavo Noronha Silva.
1562 Following a similar approach as in r153977, return a path string
1563 that is relative to main frame URL or just file name if the
1564 resource is not in the same directory subtree, and replace empty
1565 strings with "(null)".
1567 Update pathFromSoupURI so it behaves more closely to the other
1568 ports, and remove the unused code after we no longer print
1569 <unknown> in certain cases. Also move
1570 soupURIToStringPreservingPassword to DumpRenderTreeGtk so it can
1571 be used both in TestRunnerGtk and in DumpRenderTree.
1573 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1574 (soupURIToStringPreservingPassword): Moved from TestRunnerGtk so
1575 we can print Soup URIs with the password, since soup_uri_to_string
1576 doesn't preserve them.
1577 (pathFromSoupURI): Updated following EFL implementation in
1578 r153977, and return a WTFString instead of a CString.
1579 (convertSoupMessageToURLPath): Return "(null)" instead of empty
1580 strings, and handle the new return type of pathFromSoupURI.
1581 (convertWebResourceToURLPath): Use a GOwnPtr to hold the Soup URI
1582 reference, and handle the new return type of pathFromSoupURI.
1583 (descriptionSuitableForTestResult): Remove unused code.
1584 (didFinishLoading): Use convertResourceToURLPath.
1585 (didFailLoadingWithError): Use convertResourceToURLPath.
1586 (authenticationCallback): Display the URL of the authentication
1588 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Declare
1589 soupURIToStringPreservingPassword.
1590 * DumpRenderTree/gtk/TestRunnerGtk.cpp: Remove
1591 soupURIToStringPreservingPassword.
1593 2013-08-14 Tim Horton <timothy_horton@apple.com>
1595 Un-inline dataLog dumpers for IntSize and IntPoint
1596 https://bugs.webkit.org/show_bug.cgi?id=119697
1598 Reviewed by Sam Weinig.
1600 * TestWebKitAPI/GNUmakefile.am:
1602 2013-08-14 Ryosuke Niwa <rniwa@webkit.org>
1604 Flakiness dashboard build fix.
1606 * TestResultServer/static-dashboards/flakiness_dashboard.js:
1607 (processTestRunsForBuilder):
1609 2013-08-14 Martin Robinson <mrobinson@igalia.com>
1611 [GTK] [CMake] Add support for building TestWebKitAPI
1612 https://bugs.webkit.org/show_bug.cgi?id=116987
1614 Reviewed by Philippe Normand.
1616 * TestWebKitAPI/CMakeLists.txt: Move the library listings to before the inclusion of the
1617 platform-specific file, so that GTK+ can override them.
1618 * TestWebKitAPI/PlatformGTK.cmake: Added.
1620 2013-08-14 Brent Fulgham <bfulgham@apple.com>
1622 [Windows] Simplify Setting WebKit Debugging Options in WinLauncher
1623 https://bugs.webkit.org/show_bug.cgi?id=119775
1625 This bug updates the WinLauncher program with a few useful menu
1626 options to toggle certain debugging and development features of
1629 Reviewed by Tim Horton.
1631 * WinLauncher/WinLauncher.cpp:
1632 (dllLauncherEntryPoint): Clean up preference objects on exit.
1633 (ToggleMenuItem): New function.
1634 (LaunchInspector): New function.
1635 (WndProc): Add handler for new menu items. Also properly terminate
1636 CFRunLoop operation on program exit.
1637 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Add new
1639 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Add
1640 resource folder to search path.
1641 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Update
1644 2013-08-14 Ryosuke Niwa <rniwa@webkit.org>
1646 Add a hyperlink from build.webkit.org to the flakiness dashboard.
1648 Rubbers-tamped by Simon Fraser.
1650 * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
1652 2013-08-14 Benjamin Dupont <bdupont@nds.com>
1654 [Qt] Activate visibility API layout tests
1655 https://bugs.webkit.org/show_bug.cgi?id=119790
1657 Reviewed by Allan Sandfeld Jensen.
1659 * DumpRenderTree/qt/TestRunnerQt.cpp:
1660 (TestRunner::resetPageVisibility):
1661 (TestRunner::setPageVisibility):
1663 2013-08-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
1665 [GTK] WK does not link properly against libxslt
1666 https://bugs.webkit.org/show_bug.cgi?id=119688
1668 Reviewed by Gustavo Noronha Silva.
1670 * MiniBrowser/gtk/GNUmakefile.am: Added LIBXSLT_LIBS to
1672 * WebKitTestRunner/GNUmakefile.am: Added LIBXSLT_LIBS to WTR.
1674 2013-08-13 Alexey Proskuryakov <ap@apple.com>
1676 [Mac] fast/dom/attr-style-too-lazy.html is flaky
1677 https://bugs.webkit.org/show_bug.cgi?id=119763
1679 Reviewed by Darin Adler.
1681 * DumpRenderTree/mac/UIDelegate.mm:
1682 (-[UIDelegate webView:setStatusText:]): Don't dump anything when not running
1683 a test, it would just semi-randomly leak to the next one.
1684 (-[UIDelegate webView:didPressMissingPluginButton:]): Added same check here, just
1687 2013-08-13 Tim Horton <timothy_horton@apple.com>
1689 [mac] Give MiniBrowser a reasonable bundle identifier
1690 https://bugs.webkit.org/show_bug.cgi?id=119773
1692 Rubber-stamped by Simon Fraser.
1694 Give MiniBrowser the bundle identifier org.webkit.MiniBrowser.
1696 * MiniBrowser/mac/Info.plist:
1697 * MiniBrowser/mac/WebBundle/Info.plist:
1699 2013-08-13 Dean Jackson <dino@apple.com>
1701 <https://webkit.org/b/119766> Make bug url more human friendly in ChangeLog
1703 Reviewed by Mark Rowe.
1705 Have prepare-ChangeLog produce webkit.org/b/id style
1706 URLs rather than exposing the inner workings of our
1707 cgi. I was going to use the term "Future Proofing"
1708 but that seems excessive :)
1710 * Scripts/prepare-ChangeLog:
1711 (main): Generate a more human readable form.
1712 (generateNewChangeLogs): Use it when printing out the ChangeLog entry.
1714 2013-08-13 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
1716 [EFL][DRT] Simplify call to reverseFind()
1717 https://bugs.webkit.org/show_bug.cgi?id=119746
1719 Reviewed by Christophe Dumez.
1721 Follow-up to r153977.
1723 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1724 (pathSuitableForTestResult): Instead of defining a static variable
1725 that's only used in a single place, pass '/' to reverseFind() directly.
1727 2013-08-13 Alberto Garcia <berto@igalia.com>
1729 [GTK] Closing inspector window crashes wk
1730 https://bugs.webkit.org/show_bug.cgi?id=110865
1732 Reviewed by Carlos Garcia Campos.
1734 Disconnect all signal handlers if the inspector window is
1737 * GtkLauncher/LauncherInspectorWindow.c:
1738 (inspectorWindowDestroyed):
1739 (launcherInspectorWindowNew):
1741 2013-08-12 Dan Bernstein <mitz@apple.com>
1743 extract-localizable-strings output is not suited for parsing by Xcode
1744 https://bugs.webkit.org/show_bug.cgi?id=119728
1746 Reviewed by Darin Adler.
1748 Added spaces where needed after “path:line:” to allow Xcode to recognize the file reference,
1749 removed “ERROR” since messages that refer to a line in a file are shown as error by default,
1750 added “warning: ” in messages that aren’t errors (i.e. don’t prevent the script from exiting
1753 * Scripts/extract-localizable-strings:
1755 2013-08-12 Ryuan Choi <ryuan.choi@samsung.com>
1757 [EFL][WK1] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1758 https://bugs.webkit.org/show_bug.cgi?id=119585
1760 Reviewed by Gyuyoung Kim.
1762 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1763 (pathSuitableForTestResult):
1764 Return path string that's relative to main frame URL, or just file name if
1765 the resource is not in the same directory subtree.
1766 Referenced WebKitTestRunner code in r153852.
1767 (descriptionSuitableForTestResult):
1768 (DumpRenderTreeChrome::onFrameRedirectRequested):
1769 (DumpRenderTreeChrome::onNewResourceRequest): Followed changes of r153903.
1771 2013-08-12 Dan Bernstein <mitz@apple.com>
1773 extract-localizable-strings doesn't know how to verify an existing strings file
1774 https://bugs.webkit.org/show_bug.cgi?id=119704
1776 Reviewed by Darin Adler.
1778 * Scripts/extract-localizable-strings: Added an --exceptions option for specifying the
1779 exceptions file, changing the way “no exceptions file” is expressed from passing “-” as the
1780 exceptions file name to omitting the --exceptions option. Added a --skip option, changing
1781 the way directories to skip are specified from prefixing the directory with a “-” to
1782 specifying it with --skip.
1783 Finally, added a --verify option. When specified, the strings file is not written to, but
1784 instead read in and checked for consistency with the comments, keys and values derived from
1785 the source files and the exceptions file. Missing keys, unused keys, mismatching values and
1786 mismatching comments are reported as errors.
1787 * Scripts/update-webkit-localizable-strings: Updated for the new way of specifying
1788 directories to skip and no exceptions file.
1790 2013-08-12 Alexey Proskuryakov <ap@apple.com>
1792 http/tests/security/sandboxed-iframe-invalid.html is flaky on Mac
1793 https://bugs.webkit.org/show_bug.cgi?id=85522
1795 Reviewed by Andy Estes.
1797 * DumpRenderTree/mac/UIDelegate.mm:
1798 (-[UIDelegate webView:addMessageToConsole:withSource:]): Don't print console messages
1799 when already done with a test. We already had this check in all UI delegate functions,
1800 except for -webView:addMessageToConsole:withSource: somehow.
1802 2013-08-12 Alexey Proskuryakov <ap@apple.com>
1804 https://bugs.webkit.org/show_bug.cgi?id=119693
1805 [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is flaky
1806 because of connect-src-websocket-allowed.html
1808 Reviewed by Darin Adler.
1810 Starting a load of about:blank and immediately stopping it cancels outstanding
1811 resource loads, but the page has to transition to committed state to have timers
1812 or WebSockets stopped too.
1814 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Use a synchronous load to
1815 ensure that transition to committed state happens before we start the next test.
1817 2013-08-12 Beth Dakin <bdakin@apple.com>
1819 The LayoutMilestones didLayout callback should only fire for the main frame
1820 https://bugs.webkit.org/show_bug.cgi?id=119457
1822 Reviewed by Sam Weinig.
1824 Now that the didLayout callback only fires for the main frame, we want to make
1825 sure it will fire even when all of the content is in a subframe.
1827 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1828 * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp: Added.
1829 (TestWebKitAPI::didLayout):
1830 (TestWebKitAPI::TEST):
1831 * TestWebKitAPI/Tests/WebKit2/all-content-in-one-iframe.html: Added.
1833 2013-08-12 Beth Dakin <bdakin@apple.com>
1835 Remove didNewFirstVisuallyNonEmptyLayout from WebKit2
1836 https://bugs.webkit.org/show_bug.cgi?id=119658
1838 Reviewed by Darin Adler.
1840 * MiniBrowser/mac/WK2BrowserWindowController.m:
1841 (-[WK2BrowserWindowController awakeFromNib]):
1842 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1843 (WTR::InjectedBundlePage::InjectedBundlePage):
1844 * WebKitTestRunner/TestController.cpp:
1845 (WTR::TestController::createWebViewWithOptions):
1847 2013-08-12 Seokju Kwon <seokju@webkit.org>
1849 Remove glu's libtest rule from checker.py
1850 https://bugs.webkit.org/show_bug.cgi?id=119674
1852 Reviewed by Darin Adler.
1854 * Scripts/webkitpy/style/checker.py: It is no longer used after r148032.
1856 2013-08-11 ChangSeok Oh <changseok.oh@collabora.com>
1858 Unreviewed. Change my primary mail address.
1860 * Scripts/webkitpy/common/config/contributors.json:
1862 2013-08-09 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1864 [GTK] Misses mod_ssl and php in the list of packages required for tests for yum
1865 https://bugs.webkit.org/show_bug.cgi?id=115751
1867 Reviewed by Martin Robinson.
1869 * gtk/install-dependencies: add mod_ssl and php to the packages installed for tests
1872 2013-08-09 Beth Dakin <bdakin@apple.com>
1874 AX: Not able to use arrow keys to read text in a WK2 app
1875 https://bugs.webkit.org/show_bug.cgi?id=119605
1877 <rdar://problem/14281275>
1879 Reviewed by Darin Adler.
1881 New test verifies that didNotHandleKeyEvent will be called when there is nothing
1883 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1884 * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp: Added.
1885 (TestWebKitAPI::didFinishLoadForFrame):
1886 (TestWebKitAPI::didNotHandleKeyEventCallback):
1887 (TestWebKitAPI::TEST):
1889 2013-08-09 Christophe Dumez <ch.dumez@sisa.samsung.com>
1891 Add support for KeyboardEvent.location attribute
1892 https://bugs.webkit.org/show_bug.cgi?id=119326
1894 Reviewed by Benjamin Poulain.
1896 Rename the deprecated 'keyLocation' to 'location' in Mac's DRT code.
1898 * DumpRenderTree/mac/EventSendingController.mm:
1899 (-[EventSendingController keyDown:withModifiers:withLocation:]):
1900 (-[EventSendingController keyDownWrapper:withModifiers:withLocation:]):
1901 (-[EventSendingController scheduleAsynchronousKeyDown:withModifiers:withLocation:]):
1902 (-[EventSendingController handleEvent:]):
1903 (-[EventSendingController fireKeyboardEventsToElement:]):
1905 2013-08-09 Alexey Proskuryakov <ap@apple.com>
1907 <unknown> is often dumped instead of path in test output
1908 https://bugs.webkit.org/show_bug.cgi?id=119590
1910 Reviewed by Anders Carlsson.
1912 There were two reasons for <unknown>:
1913 1. When delegate logging is enabled via a testRunner call, that obviously happens
1914 after main resource load starts, so we don't record its URL.
1915 2. Authentication delegate logging relied on URL recording, but it's only turned on
1916 when enabling resource loading delegate logging, not auth one.
1918 URL recording was made conditional in <http://trac.webkit.org/r19316>, which was
1919 landed without posted rationale and unreviewed. Just undoing that change now.
1921 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1922 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1923 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1924 (WTR::InjectedBundlePage::didInitiateLoadForResource):
1926 2013-08-08 Alex Christensen <achristensen@apple.com>
1928 Windows build fixes.
1930 Rubberstamped by Brent Fulgham.
1932 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
1933 Removed /SAFESEH link option which doesn't work with x64.
1935 2013-08-08 Daniel Bates <dabates@apple.com>
1937 Add iOS support to run-javascriptcore-tests
1938 https://bugs.webkit.org/show_bug.cgi?id=119602
1940 Reviewed by Joseph Pecoraro.
1942 Make run-javascriptcore-tests work for iOS WebKit.
1944 * Scripts/run-javascriptcore-tests:
1946 2013-08-08 Alexey Proskuryakov <ap@apple.com>
1948 [WK2] loader/go-back-cached-main-resource.html fails
1949 https://bugs.webkit.org/show_bug.cgi?id=116491
1951 Reviewed by Tim Horton.
1953 * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1954 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1955 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1956 * DumpRenderTree/win/DumpRenderTree.cpp:
1957 Added FIXMEs about making path printing normalization more compatible.
1959 * DumpRenderTree/mac/ResourceLoadDelegate.mm: (-[NSURL _drt_descriptionSuitableForTestResult]):
1960 Return last path component in cases where we used to return a full path, which is
1961 never desirable. Added a null check to basePath to prevent potentially getting
1962 an Objective C exception.
1964 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1965 (WTR::pathSuitableForTestResult): Changed to use path for main test window, not
1966 for a currently loading one (which is different for tests that use multiple windows).
1967 Changed to return "(null)" for empty URLs to match WK1 output. Changed to return
1968 last path component as last fallback.
1969 (WTR::dumpRequestDescriptionSuitableForTestResult): We no longer need to pass main
1970 frame URL here, and it was potentially a wrong frame.
1971 (WTR::dumpResponseDescriptionSuitableForTestResult): Ditto.
1972 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame): Ditto.
1973 (WTR::InjectedBundlePage::didInitiateLoadForResource): Ditto.
1974 (WTR::InjectedBundlePage::willSendRequestForFrame): Ditto.
1975 (WTR::InjectedBundlePage::didReceiveResponseForResource): Ditto.
1977 2013-08-08 Alex Christensen <achristensen@apple.com>
1979 WTR::pathSuitableForTestResult should behave the same as _drt_descriptionSuitableForTestResult so we can unskip tests.
1980 https://bugs.webkit.org/show_bug.cgi?id=116125
1982 Reviewed by Tim Horton. Tweaked and re-landed by Alexey Proskuryakov.
1984 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1985 (WTR::pathSuitableForTestResult):
1986 Changed string operations to match _drt_descriptionSuitableForTestResult.
1987 (WTR::dumpRequestDescriptionSuitableForTestResult):
1988 (WTR::dumpResponseDescriptionSuitableForTestResult):
1989 (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
1990 (WTR::InjectedBundlePage::didInitiateLoadForResource):
1991 (WTR::InjectedBundlePage::willSendRequestForFrame):
1992 (WTR::InjectedBundlePage::didReceiveResponseForResource):
1993 Pass the main frame's URL to pathSuitableForTestResult.
1994 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1995 Added WKBundlePageRef to willPerformClientRedirectForFrame.
1997 2013-08-07 Simon Fraser <simon.fraser@apple.com>
1999 Allow the DumpRenderTree runloop to be idle while waiting for a test to complete
2000 https://bugs.webkit.org/show_bug.cgi?id=119317
2002 Reviewed by Tim Horton.
2004 The change in r55200 made DumpRenderTree spin a busy-loop while waiting for
2005 the test to complete, which is not power friendly. Although DRT instances
2006 are generally busy anyway, not sitting in a busy loop should free up some CPU
2007 cycles for other instances of DRT.
2009 Editing tests continue to pass. All Java tests are skipped and were not
2010 tested, but when run fail similarly with and without the patch.
2012 * DumpRenderTree/mac/DumpRenderTree.mm:
2016 2013-08-07 Daniel Bates <dabates@apple.com>
2018 Clean up: Simplifying the printing of the command line arguments passed to jsDriver.pl
2019 <https://bugs.webkit.org/show_bug.cgi?id=119558>
2021 Reviewed by Martin Robinson.
2023 Currently we build the command line to execute jsDriver.pl twice so as to both
2024 print it to standard output and actually execute it. We should only build up
2025 this command line once. Moreover, we should print to standard output the actual
2026 command line that we are going to use including the GTK- and EFL-specific call
2027 to /Tools/jhbuild/jhbuild-wrapper.
2029 * Scripts/run-javascriptcore-tests:
2031 2013-08-07 Mario Sanchez Prada <mario.prada@samsung.com>
2033 [EFL] REGRESSION after r153432: some accessibility tests crash.
2034 https://bugs.webkit.org/show_bug.cgi?id=119333
2036 Reviewed by Darin Adler.
2038 Use a RefPtr to store a reference to the parent element of
2039 an AccessibilityUIElement instead of the raw pointer, so we
2040 never derefence a function from an invalid pointer.
2042 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2043 (WTR::attributesOfElement): Use a RefPtr instead of a raw pointer.
2045 2013-08-07 Cosmin Truta <ctruta@blackberry.com>
2047 Unreviewed. Add myself as a committer.
2049 * Scripts/webkitpy/common/config/contributors.json:
2051 2013-08-04 Sam Weinig <sam@webkit.org>
2053 Remove support for HTML5 MicroData
2054 https://bugs.webkit.org/show_bug.cgi?id=119480
2056 Reviewed by Anders Carlsson.
2058 * Scripts/webkitperl/FeatureList.pm:
2059 * qmake/mkspecs/features/features.pri:
2061 2013-07-23 David Farler <dfarler@apple.com>
2063 Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
2064 https://bugs.webkit.org/show_bug.cgi?id=117762
2066 Reviewed by Mark Rowe.
2068 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2069 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
2070 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2071 Add ASAN_OTHER_LDFLAGS.
2072 * MiniBrowser/Configurations/DebugRelease.xcconfig:
2073 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
2074 * Scripts/check-for-weak-vtables-and-externals:
2075 Ignore ___asan externals, these are populated by compiler-rt.
2076 * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2077 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
2078 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2079 Add ASAN_OTHER_LDFLAGS.
2080 * WebKitLauncher/Configurations/Base.xcconfig:
2081 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
2082 * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig:
2083 Add ASAN_OTHER_LDFLAGS.
2084 * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2085 Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
2086 * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
2087 Add ASAN_OTHER_LDFLAGS.
2088 * asan/asan.xcconfig: Added.
2089 * asan/webkit-asan-ignore.txt: Added.
2091 2013-08-05 Brian Holt <brian.holt@samsung.com>
2093 [GTK] Implement leak checking with valgrind
2094 https://bugs.webkit.org/show_bug.cgi?id=118785
2096 Reviewed by Dirk Pranke.
2098 Launch the DRT under Valgrind to generate xml files with details
2101 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2103 * Scripts/webkitpy/port/gtk.py:
2105 (GtkPort.default_timeout_ms): Allow extra time to run under
2107 (GtkPort.setup_environ_for_server): Pass Valgrind instructions
2108 using environment variables.
2110 2013-08-02 Mario Sanchez Prada <mario.prada@samsung.com>
2112 [EFL] REGRESSION after r153432: some accessibility tests crash.
2113 https://bugs.webkit.org/show_bug.cgi?id=119333
2115 Reviewed by Gustavo Noronha Silva.
2117 Add missing null-check to avoid dereferencing a non-existent parent.
2119 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2120 (WTR::attributesOfElement): Ditto.
2122 2013-08-02 Patrick Gansterer <paroga@webkit.org>
2124 Add --rmdir option to git svn dcommit
2125 https://bugs.webkit.org/show_bug.cgi?id=119398
2127 Reviewed by Ryosuke Niwa.
2129 Add this option tells git-svn to remove empty directories
2130 from the svn tree so they do not leave over there.
2132 * Scripts/webkitpy/common/checkout/scm/git.py:
2133 (Git.push_local_commits_to_server):
2135 2013-08-01 Brent Fulgham <bfulgham@apple.com>
2137 [Windows] WebKit1 Fullscreen Video Play is Broken
2138 https://bugs.webkit.org/show_bug.cgi?id=119415
2140 Reviewed by Jer Noble.
2142 * WinLauncher/WinLauncher.cpp:
2143 (dllLauncherEntryPoint): Activate full screen mode via
2144 IWebPreferencesInternal interface.
2146 2013-08-01 ChangSeok Oh <changseok.oh@collabora.com>
2148 Unreviewed. Add an alternative address to show my affiliation in team.html.
2150 * Scripts/webkitpy/common/config/contributors.json:
2152 2013-08-01 Bem Jones-Bey <bjonesbe@adobe.com>
2154 Duplicate property names can cause test to fail
2155 https://bugs.webkit.org/show_bug.cgi?id=119399
2157 Reviewed by Dirk Pranke.
2159 This problem was noticed when porting the patch for
2160 http://wkb.ug/119357 to Blink: a test would fail because the converted
2161 and test property lists weren't the same length, but they contained
2162 all of the same property names. It looks like this is actually caused
2163 by a bug in converting the HTML, which is being currently rewritten.
2164 In the meantime, as long as this compares the number of unique
2165 properties, it makes the test more robust.
2167 * Scripts/webkitpy/w3c/test_converter_unittest.py:
2168 (verify_prefixed_properties):
2170 2013-08-01 Bem Jones-Bey <bjonesbe@adobe.com>
2172 Unreviewed. Adding my expertise.
2174 * Scripts/webkitpy/common/config/contributors.json:
2176 2013-08-01 ChangSeok Oh <changseok.oh@collabora.com>
2178 Unreviewed. Add myself as a committer. Yoo-hoo! \o/
2180 * Scripts/webkitpy/common/config/contributors.json:
2182 2013-08-01 Commit Queue <commit-queue@webkit.org>
2184 Unreviewed, rolling out r153518.
2185 http://trac.webkit.org/changeset/153518
2186 https://bugs.webkit.org/show_bug.cgi?id=119386
2188 The Jhbuild dep bump of GTK+ is not actually required by
2189 layout testing, is causing pango dep problems (Requested by
2190 zdobersek on #webkit).
2192 * gtk/jhbuild.modules:
2194 2013-08-01 Xabier Rodriguez Calvar <calvaris@igalia.com>
2196 Unreviewed. Add myself as a committer.
2198 * Scripts/webkitpy/common/config/contributors.json:
2200 2013-08-01 Jaehun Lim <ljaehun.lim@samsung.com>
2202 Unreviewed. Add myself as a committer.
2204 * Scripts/webkitpy/common/config/contributors.json:
2206 2013-07-31 Jinwoo Song <jinwoo7.song@samsung.com>
2208 Unreviewed. Add myself as a committer.
2210 * Scripts/webkitpy/common/config/contributors.json:
2212 2013-08-01 Alberto Garcia <berto@igalia.com>
2214 Unreviewed. Add myself as a committer.
2216 * Scripts/webkitpy/common/config/contributors.json:
2218 2013-07-31 Seokju Kwon <seokju@webkit.org>
2220 Unreviewed. Add myself as a committer.
2222 * Scripts/webkitpy/common/config/contributors.json:
2224 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
2226 W3C test import script prefixes some properties that it shouldn't
2227 https://bugs.webkit.org/show_bug.cgi?id=119357
2229 Reviewed by Dirk Pranke.
2231 Some prefixed properties also have unprefixed implemetations, but when
2232 the implementations aren't identical, they aren't declared in
2233 CSSPropertyNames.in on the same line. This fixes the import script so
2234 that it catches all instances of prefixed properties that have an
2235 unprefixed variant, and does not add the prefix in those cases.
2237 * Scripts/webkitpy/w3c/test_converter.py:
2238 (W3CTestConverter.read_webkit_prefixed_css_property_list): Read all of
2239 the properties on every line and record if they are prefixed or not.
2240 Use this information to only return prefixed properties that do not
2241 have any unprefixed variant. The prefixed property list has also
2242 changed to not include the '-webkit-' prefix, making it much easier to
2243 do the comparison, and removing the need to remove the prefix later.
2244 (W3CTestConverter.add_webkit_prefix_to_unprefixed_properties): This no
2245 longer needs to remove the '-webkit-' prefix, but needs to add it in
2246 the case where a property that needs a prefix is found.
2247 * Scripts/webkitpy/w3c/test_converter_unittest.py:
2248 (W3CTestConverterTest.test_read_prefixed_property_list): Remove assert
2249 for '-webkit-' prefix, as it is no longer included in the properties
2250 in the prefixed property list.
2252 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
2254 Update location of w3c shapes tests to reflect new import location
2255 https://bugs.webkit.org/show_bug.cgi?id=118156
2257 Reviewed by Dirk Pranke.
2259 Partial imports should not be imported to the same place as the full
2260 import, so this adds an option to allow importing to a different
2261 location than the default. In doing that, I found that imports from
2262 contributor directories didn't seem to be working correctly, so I
2263 updated the import to be smarter about both contributor directories
2264 and the test status directories. It should now be more likely that the
2265 script guesses the root directory properly.
2267 * Scripts/webkitpy/w3c/test_importer.py: Remove comment about the
2268 script not working with the full set of contributors, as that is
2269 no longer true, and I didn't see a good way to keep that behavior.
2270 Also update documentation to properly explain what happens when a
2271 contributor dir is imported.
2272 (main): Attempt to find the proper repo dir by looking at the
2273 directory above the "test status" in the given path, this is still
2274 not exactly right, but is less error prone than just trimming.
2275 (parse_args): Add -d option to set the import directory.
2276 (TestImporter.__init__): Stop appending the subdirs to the
2277 destination_directory because it was making things more complex
2278 and isn't really needed.
2279 (TestImporter.update_test_status): Remove hardcoded strings and use
2280 the TEST_STATUS constants instead.
2281 * Scripts/webkitpy/w3c/test_importer_unittest.py:
2282 (TestImporterTest.test_import_dir_with_no_tests_and_no_hg): Add
2283 support for new option.
2284 (TestImporterTest.test_import_dir_with_no_tests): Ditto.
2286 2013-07-31 Brent Fulgham <bfulgham@apple.com>
2288 [Windows] Winlauncher shouldn't look for Safari Install Directory
2289 https://bugs.webkit.org/show_bug.cgi?id=119351
2291 Reviewed by Darin Adler.
2293 * win/DLLLauncher/DLLLauncherMain.cpp: Don't check registry for
2294 the Safari install location. Instead, use the proper support
2295 library path for the build architecture.
2297 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
2299 Update scripts to reference contributors.json instead of committers.py in messaging
2300 https://bugs.webkit.org/show_bug.cgi?id=119342
2302 Reviewed by Ryosuke Niwa.
2304 Change the scripts to point people to contributors.json instead of
2305 committers.py since the latter no longer contains the list of
2308 * Scripts/webkitpy/common/config/committervalidator.py:
2309 (CommitterValidator._contributors_json_path):
2310 (CommitterValidator._flag_permission_rejection_message):
2311 * Scripts/webkitpy/common/config/committervalidator_unittest.py:
2312 (CommitterValidatorTest.test_flag_permission_rejection_message):
2313 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2314 (Bugzilla._commit_queue_flag):
2315 * Scripts/webkitpy/common/watchlist/watchlistparser.py:
2316 (WatchListParser._validate):
2317 * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
2318 (WatchListParserTest.test_cc_rule_with_invalid_email):
2319 * Scripts/webkitpy/tool/bot/feeders_unittest.py:
2320 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2321 * Scripts/webkitpy/tool/steps/validatereviewer.py:
2322 (ValidateReviewer.run):
2324 2013-07-31 Roger Fong <roger_fong@apple.com>
2326 Unreviewed. Re-enable WinEWS tests following r153527.
2328 * Scripts/webkitpy/common/config/ews.json:
2330 2013-07-31 Bem Jones-Bey <bjonesbe@adobe.com>
2332 Unreviewed: Adding myself to the committers' list.
2334 * Scripts/webkitpy/common/config/contributors.json:
2336 2013-07-31 Allan Sandfeld Jensen <allan.jensen@digia.com>
2338 [Qt] Build WebKit with C++11
2339 https://bugs.webkit.org/show_bug.cgi?id=119337
2341 Reviewed by Csaba Osztrogonác.
2343 Enable building with C++11.
2345 * qmake/mkspecs/features/default_pre.prf:
2346 * qmake/mkspecs/features/unix/default_post.prf:
2347 * qmake/mkspecs/features/unix/default_pre.prf:
2349 2013-07-31 Allan Sandfeld Jensen <allan.jensen@digia.com>
2351 [Qt] ASSERTS trigger in release builds
2352 https://bugs.webkit.org/show_bug.cgi?id=119336
2354 Reviewed by Jocelyn Turcotte.
2356 Ensure the qmake also defaults to release if no configuration is known.
2358 * qmake/mkspecs/features/default_post.prf:
2360 2013-07-31 Zan Dobersek <zdobersek@igalia.com>
2362 [texmap][GStreamer][GTK] composited video shows tearing
2363 https://bugs.webkit.org/show_bug.cgi?id=118253
2365 Reviewed by Martin Robinson.
2367 * gtk/jhbuild.modules: Bump the Jhbuild versions of the Gdk-Pixbuf and GTK+ packages to 2.27.3 and 3.8.2, respectively.
2368 The first is required by the second, and the GTK+ bump introduces proper display framerate synchronization that removes
2369 screen tearing when enabling accelerated compositing and performing graphically heavy operations like viewing HD videos.
2371 2013-07-30 Ruth Fong <ruth_fong@apple.com>
2373 Unreviewed: Adding myself to the committers' list.
2375 * Scripts/webkitpy/common/config/contributors.json:
2377 2013-07-30 Christophe Dumez <ch.dumez@sisa.samsung.com>
2379 Unreviewed, add my new email to contributors.json.
2381 * Scripts/webkitpy/common/config/contributors.json:
2383 2013-07-30 Krzysztof Czech <k.czech@samsung.com>
2385 [EFL] REGRESSION after r153439: layout tests do not run.
2386 https://bugs.webkit.org/show_bug.cgi?id=119240
2388 Reviewed by Christophe Dumez.
2390 Changed attribute name from check_xvfb to check_driver.
2392 * Scripts/webkitpy/port/efl.py:
2393 (EflPort.check_sys_deps):
2395 2013-07-29 Commit Queue <commit-queue@webkit.org>
2397 Unreviewed, rolling out r152860.
2398 http://trac.webkit.org/changeset/152860
2399 https://bugs.webkit.org/show_bug.cgi?id=119227
2401 Disable WinEWS tests until tests stop crashing (Requested by
2404 * Scripts/webkitpy/common/config/ews.json:
2406 2013-07-29 Zan Dobersek <zdobersek@igalia.com>
2408 [GTK] Add WestonDriver, use it when appropriate
2409 https://bugs.webkit.org/show_bug.cgi?id=119100
2411 Reviewed by Dirk Pranke.
2413 Introduce the WestonDriver, a Driver-implementing class that sets up an instance of Weston, the Wayland compositor,
2414 and sets up an environment that enables the test runner to run inside it.
2416 The design very much mimics the XvfbDriver class. It is currently used by the GTK port when the WAYLAND_DISPLAY
2417 environment variable is set, that is when NRWT is being run under a Wayland display.
2419 * Scripts/webkitpy/port/base.py:
2420 (Port.to.setup_environ_for_server): Also copy the XDG_RUNTIME_DIR env from the original environment for Linux-using ports.
2421 * Scripts/webkitpy/port/gtk.py:
2423 (GtkPort._driver_class): Make the method memoized - the display type is not going to change during the testing, so we
2424 should only check once for the presence of the WAYLAND_DISPLAY env and determine the proper driver class to use based on that.
2425 (GtkPort.check_sys_deps): Call the static check_driver method on the class as returned by the _driver_class method
2426 instead of hard-coding the XvfbDriver class in the check.
2427 * Scripts/webkitpy/port/westondriver.py: Added.
2429 (WestonDriver.check_driver): Similarly to XvfbDriver, this checks for existance of the weston executable.
2430 (WestonDriver.__init__): Again, like in XvfbDriver, we use a small delay between launching the Weston display and launching the driver.
2431 (WestonDriver._start): Sets up the driver-specific temporary directory, launches the Weston display, sets up the environment for the
2432 driver and then launches the driver in said environment, using the driver's Weston display.
2433 (WestonDriver.stop): Cleans up the Weston instance and the temporary directory.
2434 (WestonDriver._ensure_driver_tmpdir_subdirectory): A helper function that creates a subdirectory in the driver's temporary directory
2435 and returns the absolute path to it.
2436 * Scripts/webkitpy/port/xvfbdriver.py:
2437 (XvfbDriver.check_driver): Renamed from check_xvfb.
2438 (XvfbDriver._start): Access the FileSystem object through the Port's Host object, instead of the Port's private member.
2440 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
2442 [ATK] Implement attributesOfChildren() for AccessibilityUIElement
2443 https://bugs.webkit.org/show_bug.cgi?id=118967
2445 Reviewed by Gustavo Noronha Silva.
2447 Implemented AccessibilityUIElement::attributesOfChildren() both
2448 in DumpRenderTree and the WebKitTestRunner.
2450 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2451 (AccessibilityUIElement::attributesOfChildren): Implemented.
2453 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2454 (WTR::AccessibilityUIElement::attributesOfChildren): Implemented.
2456 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
2458 [ATK] Implement allAttributes() for AccessibilityUIElement
2459 https://bugs.webkit.org/show_bug.cgi?id=118966
2461 Reviewed by Gustavo Noronha Silva.
2463 Implemented AccessibilityUIElement::allAttributes() both in
2464 DumpRenderTree and the WebKitTestRunner.
2466 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2467 (getAtkAttributeSetAsString): Moved up in the file, and refactored
2468 to use StringBuilder and return a String instead of a gchar*.
2469 (roleToString): Changed not to return the "AXRole: " prefix, so
2470 we can use it as well from attributesOfElement().
2471 (attributesOfElement): New function to dump attributes for an object.
2472 (AccessibilityUIElement::allAttributes): Call attributesOfElement().
2473 (AccessibilityUIElement::role): Updated to prefix "AXRole: ".
2475 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2476 (getAtkAttributeSetAsString): Refactored to use StringBuilder and return
2477 a String instead of a gchar*.
2479 (WTF::roleToString): Changed not to return the "AXRole: " prefix,
2480 so we can use it as well from attributesOfElement().
2481 (WTF::attributesOfElement): New function to dump attributes for an object.
2482 (WTR::AccessibilityUIElement::allAttributes): Call attributesOfElement().
2483 (WTR::AccessibilityUIElement::role): Updated to prefix "AXRole: ".
2485 2013-07-29 Daniel Bates <dabates@apple.com>
2487 Add support infrastructure for iOS WebKit port
2488 https://bugs.webkit.org/show_bug.cgi?id=119168
2490 Reviewed by Ryosuke Niwa.
2492 Implement support infrastructure towards building iOS WebKit.
2494 * Scripts/webkitdirs.pm:
2495 (xcodeSDKPlatformName): Added.
2496 (determineConfigurationProductDir):
2497 (builtDylibPathForName):
2498 (willUseIOSDeviceSDKWhenBuilding): Added.
2499 (willUseIOSSimulatorSDKWhenBuilding): Added.
2500 (isIOSWebKit): Added.
2501 (copyInspectorFrontendFiles):
2503 2013-07-29 Sergio Correia <sergio.correia@openbossa.org>
2505 CoordinatedGraphics: Add API to get and set the active state of a WebView
2506 https://bugs.webkit.org/show_bug.cgi?id=119067
2508 Reviewed by Noam Rosenthal.
2510 Added API tests for WKViewIsActive and WKViewSetIsActive.
2512 * TestWebKitAPI/PlatformEfl.cmake:
2513 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp: Added.
2514 (TestWebKitAPI::didFinishLoadForFrame):
2515 (TestWebKitAPI::webProcessCrashed):
2516 (TestWebKitAPI::webProcessRelaunched):
2517 (TestWebKitAPI::TEST):
2518 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp:
2519 Bundle added to allow crashing the WebProcess and testing the active state of a view
2520 under such condition.
2521 (TestWebKitAPI::WKViewIsActiveSetIsActiveTest::WKViewIsActiveSetIsActiveTest):
2522 (TestWebKitAPI::WKViewIsActiveSetIsActiveTest::didReceiveMessage):
2524 2013-07-29 Zan Dobersek <zdobersek@igalia.com>
2526 [Automake] Remove references to non-existent *_CFLAGS and *_LIBS variables
2527 https://bugs.webkit.org/show_bug.cgi?id=119212
2529 Reviewed by Carlos Garcia Campos.
2531 * GNUmakefile.am: Remove references to GLOBALDEPS_(CFLAGS|LIBS) and CLUTTER_(CFLAGS|LIBS)
2532 variables that are not defined during the configuration process.
2533 * TestWebKitAPI/GNUmakefile.am: Ditto.
2534 * WebKitTestRunner/GNUmakefile.am: Ditto.
2536 2013-07-28 Andy Estes <aestes@apple.com>
2538 Include <stdio.h> to declare perror()
2539 https://bugs.webkit.org/show_bug.cgi?id=119198
2541 Reviewed by Andreas Kling.
2543 Silences an implicit declaration warning.
2545 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c:
2547 2013-07-27 Ryuan Choi <ryuan.choi@samsung.com>
2549 [EFL] Bump required version of EFL to 1.7
2550 https://bugs.webkit.org/show_bug.cgi?id=119144
2552 Reviewed by Christophe Dumez.
2554 * MiniBrowser/efl/CMakeLists.txt: Bumped EFL to 1.7
2556 2013-07-26 Filip Pizlo <fpizlo@apple.com>
2558 WKTR should know about the JSC extensions to testRunner
2559 https://bugs.webkit.org/show_bug.cgi?id=119154
2561 Reviewed by Mark Hahnenberg and Geoffrey Garen.
2563 This makes some fast/js tests pass.
2565 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2566 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2567 (WTR::TestRunner::numberOfDFGCompiles):
2568 (WTR::TestRunner::neverInlineFunction):
2569 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2571 2013-07-25 Mark Rowe <mrowe@apple.com>
2573 Fix build of DumpRenderTree and WebKitTestRunner when building against an SDK.
2575 * DumpRenderTree/mac/Configurations/Base.xcconfig: Fix framework search path when building against an SDK.
2576 * WebKitTestRunner/Configurations/Base.xcconfig: Ditto. Also fix where our scripts look for WebCore.framework
2577 so they pull the version out of the SDK.
2579 2013-07-25 Anders Carlsson <andersca@apple.com>
2581 Localizable.strings generated by extract-localizable-strings should be UTF-8
2582 https://bugs.webkit.org/show_bug.cgi?id=119106
2584 Reviewed by Mark Rowe.
2586 Output strings as UTF-8.
2588 * Scripts/extract-localizable-strings:
2590 2013-07-25 Sam Weinig <sam@webkit.org>
2592 -[WebHTMLView attributedSubstringForProposedRange:actualRange:] does not include strikethrough attribute in the returned attributed string
2593 https://bugs.webkit.org/show_bug.cgi?id=119099
2594 <rdar://problem/13439291>
2596 Reviewed by Enrica Casucci.
2598 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2599 * TestWebKitAPI/Tests/mac/AttributedString.mm:
2600 (TestWebKitAPI::attributedString):
2601 (TestWebKitAPI::AttributedStringTest_CustomFont::didLoadURL):
2602 (TestWebKitAPI::AttributedStringTest_CustomFont::url):
2603 (TestWebKitAPI::AttributedStringTest_CustomFont::runTest):
2604 (TestWebKitAPI::TEST_F):
2605 (TestWebKitAPI::AttributedStringTest_Strikethrough::didLoadURL):
2606 (TestWebKitAPI::AttributedStringTest_Strikethrough::url):
2607 (TestWebKitAPI::AttributedStringTest_Strikethrough::runTest):
2608 * TestWebKitAPI/Tests/mac/attributedStringStrikethrough.html: Added.
2609 Add tests for attributed strings with strikethrough. Refactor the attributed string tests
2610 to make adding more easier in the future.
2612 2013-07-20 Filip Pizlo <fpizlo@apple.com>
2614 fourthTier: FTL should be able to generate LLVM IR that uses an intrinsic for OSR exit
2615 https://bugs.webkit.org/show_bug.cgi?id=118948
2617 Reviewed by Sam Weinig.
2619 - Make ReducedFTL capable of dealing with code that uses the fake OSR exit intrinsic,
2620 by exporting it as a function.
2622 - Make combineModules.rb idempotent. Sometimes it's convenient to run a file through
2623 it even if you know that you've already done so. See processIRDump.sh.
2625 - Add a script, processIRDump.sh, that takes the output of --dumpLLVMIR=true and
2626 runs it through ReducedFTL automatically. You typically want to say something like:
2628 jsc --dumpLLVMIR=true <program(s)> > jsc-output.txt
2629 ./processIRDump.sh --timing < jsc-output.txt
2631 * ReducedFTL/ReducedFTL.c:
2633 * ReducedFTL/combineModules.rb:
2634 * ReducedFTL/processIRDump.sh: Added.
2636 2013-07-20 Filip Pizlo <fpizlo@apple.com>
2638 fourthTier: We should use the no-asserts build of LLVM if that's what the user configured
2639 https://bugs.webkit.org/show_bug.cgi?id=118947
2641 Reviewed by Dan Bernstein.
2643 * Scripts/copy-webkitlibraries-to-product-directory:
2645 2013-07-16 Filip Pizlo <fpizlo@apple.com>
2647 fourthTier: We should have a reduced FTL LLVM pipeline tool in the repository
2648 https://bugs.webkit.org/show_bug.cgi?id=118647
2650 Rubber stamped by Geoffrey Garen and Mark Hahnenberg.
2652 Add a tool that takes in an LLVM bitcode file and JITs it in exactly the same
2653 way that the FTL would.
2655 Also add a tool that combines multiple LLVM modules generated by FTL into a
2658 * ReducedFTL: Added.
2659 * ReducedFTL/ReducedFTL.c: Added.
2663 (mmAllocateCodeSection):
2664 (mmAllocateDataSection):
2665 (mmApplyPermissions):
2667 (symbolLookupCallback):
2669 * ReducedFTL/build.sh: Added.
2670 * ReducedFTL/combineModules.rb: Added.
2672 2013-06-09 Filip Pizlo <fpizlo@apple.com>
2674 Unreviewed, fix minor goof in profiling output layout. We weren't accounting
2675 for the "/" that is printed between engine counts.
2677 * Scripts/display-profiler-output:
2679 2013-05-28 Filip Pizlo <fpizlo@apple.com>
2681 testRunner should have a way of disabling inlining of functions
2682 https://bugs.webkit.org/show_bug.cgi?id=116875
2684 Reviewed by Mark Hahnenberg.
2686 * DumpRenderTree/TestRunner.cpp:
2687 (neverInlineFunction):
2688 (TestRunner::staticFunctions):
2690 2013-05-27 Filip Pizlo <fpizlo@apple.com>
2692 testRunner should be able to tell you if a function is DFG compiled
2693 https://bugs.webkit.org/show_bug.cgi?id=116847
2695 Reviewed by Mark Hahnenberg.
2697 * DumpRenderTree/TestRunner.cpp:
2698 (numberOfDFGCompiles):
2699 (TestRunner::staticFunctions):
2701 2013-05-21 Filip Pizlo <fpizlo@apple.com>
2703 fourthTier: display-profiler-output should make it even easier to diff the compilation story between two different runs
2704 https://bugs.webkit.org/show_bug.cgi?id=116556
2706 Reviewed by Oliver Hunt.
2708 This adds three new capabilities:
2710 - 'display' now accepts negative compilation indices, and allows specifying
2711 wildcard hashes combined with combination indices. Previously you could say
2712 'display <hash>', 'display <hash>-<index>-<engine>', or 'display *'. The
2713 latter would display every compilation. This improves this so that you can
2714 say 'display *-<index>-<engine>'. It also makes it so that you can give a
2715 negative index, which allows you to say things like 'display blah--1-dfg',
2716 which displays just the last DFG compilation. Also you can say
2717 'display *--1-dfg', which displays the last DFG compilation for each code
2718 block. I realize that this is kind of ugly, but gosh is it practical.
2720 - You can now say 'sort hash', which will henceforth sort all of the output
2721 by code hash rather than by the time when it was compiled. This means that
2722 if you're doing 'dispay *--1-dfg' and then want to diff the results against
2723 something else, you can ensure that this doesn't get confused just by
2724 changes in compilation order.
2726 - You can now say 'counts off', which will henceforth disable the display of
2727 execution counts from 'bytecode' and 'display'. This is also useful for
2728 diffs, since if you're trying to figure out why two compilations are
2729 different, they probably have radically different counts. 'counts off' gets
2730 this out of the output so that it doesn't confuse your diff.
2732 Note that to use this effectively you should also have a script that scrubs
2733 pointers from text so that the diff doesn't get confused by pointers. I'll
2734 post my elimptr script to the bug. Maybe at some point I'll integrate that
2735 into display-profiler-output.
2737 Put together this is pretty awesome. I was able to do the following:
2739 (echo "counts off" && echo "sort hash" && echo "d *--1-dfg") | Tools/Scripts/display-profiler-output richards-serial.profile | elimptr > richards-serial.asm
2740 (echo "counts off" && echo "sort hash" && echo "d *--1-dfg") | Tools/Scripts/display-profiler-output richards-concurrent.profile | elimptr > richards-concurrent.asm
2741 diff -u richards-serial.asm richards-concurrent.asm
2743 And this immediately told me that the reason why richards is slower in the
2744 concurrent compilation case is just that we end up compiling *tons* more
2745 functions, most of which are trivially inlineable. Basically, concurrent
2746 compilation breaks our previous heuristics for delaying compilation of
2747 inlineables just enough that they never trigger compilation. We should fix
2748 that in a separate bug.
2750 * Scripts/display-profiler-output:
2752 2013-04-30 Filip Pizlo <fpizlo@apple.com>
2754 fourthTier: Use hw.availcpu instead of hw.ncpu, and configure LLVM with --enable-zlib=no
2756 Rubber stamped by Mark Rowe.
2758 * Scripts/copy-webkitlibraries-to-product-directory:
2760 2013-07-16 Oliver Hunt <oliver@apple.com>
2762 Merge dfgFourthTier r148853
2764 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2766 fourthTier: tandem WebKit and LLVM builds should ./configure LLVM if needed
2767 https://bugs.webkit.org/show_bug.cgi?id=114933
2769 Reviewed by Andy Estes.
2771 This makes it easy to get set up for tandem LLVM builds.
2773 * Scripts/copy-webkitlibraries-to-product-directory:
2775 2013-07-16 Oliver Hunt <oliver@apple.com>
2777 Merge dfgFourthTier r148850
2779 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2781 fourthTier: WebKit's build system should relink JavaScriptCore if LLVM's libraries changed but its headers didn't
2782 https://bugs.webkit.org/show_bug.cgi?id=114926
2784 Reviewed by Geoffrey Garen.
2786 If the LLVM libraries change, then touch a phony header, which will force relink
2789 * Scripts/copy-webkitlibraries-to-product-directory:
2790 (unpackIfNecessary):
2792 2013-07-16 Oliver Hunt <oliver@apple.com>
2794 Merge dfgFourthTier r148848
2796 2013-04-21 Filip Pizlo <fpizlo@apple.com>
2798 fourthTier: developing LLVM in tandem with WebKit should be fun and easy
2799 https://bugs.webkit.org/show_bug.cgi?id=114925
2801 Reviewed by Geoffrey Garen.
2803 This enables building LLVM along with WebKit, so that build-jsc and build-webkit
2804 will also optionally build LLVM and quickly symlink LLVM's built products into
2807 Most WebKit and JSC hackers will want to rely on the checked-in already-built
2808 versions of LLVM in WebKitLibraries. But developing both systems in tandem is an
2809 increasingly common use-case for me, and it may become a common use case for a
2810 handful of others. Currently, this is really painful: you first have to build
2811 LLVM, then you have to export-llvm-build (which takes a while), and then you
2812 have to make sure that your LLVM_LIBRARY_PACKAGE and LLVM_INCLUDE_PACKAGE
2813 variables are set to point to the thing you exported. The whole process loses
2814 track of dependencies very quickly: making a tiny change in LLVM requires
2815 packaging, and then unpackaging, a large number of potentially large headers and
2816 static libraries. Not only is this slow but it then causes the WebKit build
2817 system to rebuild anything that transitively includes any LLVM header, which is
2818 now quite a few files. While this sort of use pattern is still worthwhile if
2819 you're trying to package a binary drop and test it, it's not great if you're
2820 just trying to do experimental development that involves making small changes
2823 This change fixes this use case while keeping the old use cases intact. You can
2824 do tandem development using one of two modes:
2826 Your own LLVM directory: just set LLVM_SOURCE_PATH to the *absolute* path of
2827 the LLVM directory you're using. Once this is done, any invocation of a WebKit
2828 build via build-jsc or build-webkit will also build LLVM, and then quickly
2829 symlink things into place without perturbing dependency tracking.
2831 Internal LLVM directory: if you check out llvm into a directory called 'llvm'
2832 right off of the WebKit source tree, then the build system will automatically
2835 Here's how this takes care of dependencies:
2837 Headers: the include/llvm and include/llvm-c directories are symlinked into
2838 $productsDir/usr/local/include. And then everything just works.
2840 Libraries: the build system detects, by reading LLVM's Makefile.config, which
2841 mode LLVM is built in (like Release+Asserts or Debug+Asserts) and symlinks
2842 the .a files into $productsDir/<thingy>. It will ranlib those libraries only
2843 if they have changed, by checking both the modification time and also whether
2844 the last time we had a symlink, that symlink was from the same directory.
2845 This helps if you switch to an *older* LLVM build (using LLVM_SOURCE_PATH)
2846 but that build wasn't yet ranlib'd.
2848 One problem that this does not yet solve is that xcodebuild will not relink
2849 JavaScriptCore if the only thing that changed was the libraries. I will work
2850 on this problem separately: https://bugs.webkit.org/show_bug.cgi?id=114926.
2852 * Scripts/copy-webkitlibraries-to-product-directory:
2853 (unpackIfNecessary):
2855 (fileContentsEquals):
2857 2013-04-15 Filip Pizlo <fpizlo@apple.com>
2859 fourthTier: Update LLVM-related build scripts to copy generated headers as well
2860 https://bugs.webkit.org/show_bug.cgi?id=114551
2862 Reviewed by Oliver Hunt.
2864 Also added the ability to use something other than bzip2 compression, since although
2865 it is great for checking things into the tree, it increases turn-around times when
2868 * Scripts/copy-webkitlibraries-to-product-directory:
2869 (unpackIfNecessary):
2870 * Scripts/export-llvm-build:
2872 2013-04-03 Filip Pizlo <fpizlo@apple.com>
2874 fourthTier: Include LLVM headers with surrounding #pragmas instead of using my #define
2875 https://bugs.webkit.org/show_bug.cgi?id=113921
2877 Reviewed by Oliver Hunt.
2879 The LLVM community wants us to continue including all of LLVM's C++ headers. Change
2880 the export script to do this.
2882 * Scripts/export-llvm-build:
2884 2013-03-29 Filip Pizlo <fpizlo@apple.com>
2886 fourthTier: Check in a known-good build of LLVM into WebKitLibraries, and have a story for updating it
2887 https://bugs.webkit.org/show_bug.cgi?id=113452
2889 Rubber stamped by Mark Hahnenberg.
2891 * Scripts/copy-webkitlibraries-to-product-directory:
2892 * Scripts/export-llvm-build:
2894 2013-03-29 Filip Pizlo <fpizlo@apple.com>
2896 fourthTier: FTL JIT should be able run some simple function
2897 https://bugs.webkit.org/show_bug.cgi?id=113481
2899 Reviewed by Geoffrey Garen.
2901 Give the scripts the ability to find an LLVM build and use it.
2903 Also added a script, export-llvm-build, that allows you to take your
2904 own build of LLVM and package it for use by WebKit's build system.
2906 The build system treats a "build" of LLVM as a pair of .tar.bz2's,
2907 one for the library archives and one for the headers. It then unpacks
2908 them into your built products directory in a mannner that is mostly
2909 analogous to how WebKitSystemInterface works.
2911 * Scripts/build-jsc:
2912 * Scripts/copy-webkitlibraries-to-product-directory:
2913 (unpackIfNecessary):
2915 * Scripts/export-llvm-build: Added.
2917 2013-07-24 Anders Carlsson <andersca@apple.com>
2919 Crash when calling WKPageGetProcessIdentifier after aborted process launch
2920 https://bugs.webkit.org/show_bug.cgi?id=119069
2921 <rdar://problem/14494064>
2923 Reviewed by Andreas Kling.
2927 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2928 * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp: Added.
2929 (TestWebKitAPI::didFinishLoadForFrame):
2930 (TestWebKitAPI::TEST):
2932 2013-07-24 Zan Dobersek <zdobersek@igalia.com>
2934 Make KURL::hasPath private
2935 https://bugs.webkit.org/show_bug.cgi?id=118279
2937 Reviewed by Darin Adler.
2939 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
2940 (TestWebKitAPI::TEST_F): Remove references to KURL::hasPath the method is now private and thus not accessible for testing.
2942 2013-07-24 Anton Obzhirov <a.obzhirov@samsung.com>
2944 [GTK] TestInspectorServer unit test is timing out
2945 https://bugs.webkit.org/show_bug.cgi?id=105866
2947 Reviewed by Gustavo Noronha Silva.
2949 * Scripts/run-gtk-tests:
2952 2013-07-24 Anton Obzhirov <a.obzhirov@samsung.com>
2954 [GTK] [WK2] Handle wheel event with delta zero
2955 https://bugs.webkit.org/show_bug.cgi?id=118973
2957 Reviewed by Gustavo Noronha Silva.
2959 Added handling of zero mouse scroll deltas in EventSenderProxy similar
2960 to WK1 and Qt/EFL ports.
2962 fast/events/platform-wheelevent-with-delta-zero-crash.html is no longer
2965 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2966 (WTR::EventSenderProxy::mouseScrollBy):
2968 2013-07-23 Andreas Kling <akling@apple.com>
2970 REGRESSION(r150867): FrameView auto-sizing + delegate denied image load may cause StyleResolver to re-enter itself.
2971 <rdar://problem/14324895>
2972 <http://webkit.org/b/119023>
2974 Reviewed by Simon Fraser.
2976 Add a test for this rather specific problem.
2978 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2979 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm: Added.
2980 (TestWebKitAPI::TEST):
2981 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp: Added.
2982 (TestWebKitAPI::DenyWillSendRequestTest::DenyWillSendRequestTest):
2983 (TestWebKitAPI::DenyWillSendRequestTest::willSendRequestForFrame):
2984 (TestWebKitAPI::DenyWillSendRequestTest::didCreatePage):
2986 2013-07-23 Tim Horton <timothy_horton@apple.com>
2988 Add a test for plug-in unavailability indicator obscurity detection
2989 https://bugs.webkit.org/show_bug.cgi?id=119007
2991 Reviewed by Anders Carlsson.
2993 Expose the ability to block plug-ins via pluginLoadPolicy to testRunner.
2995 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2996 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2997 (WTR::TestRunner::setBlockAllPlugins):
2998 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2999 * WebKitTestRunner/TestInvocation.cpp:
3000 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3001 Add testRunner.setBlockAllPlugins function (and corresponding message to
3002 forward it through to TestController).
3004 * WebKitTestRunner/TestController.cpp:
3005 Initialize m_shouldBlockAllPlugins to false (and drive-by initialize m_handlesAuthenticationChallenges).
3007 (WTR::TestController::createWebViewWithOptions):
3008 Register our pluginLoadPolicy callback.
3010 (WTR::TestController::resetStateToConsistentValues):
3011 Reset m_shouldBlockAllPlugins to false.
3013 (WTR::TestController::pluginLoadPolicy):
3014 Return the existing plugin load policy, unless setBlockAllPlugins(true)
3015 was called, in which case we reject all plugins with kWKPluginLoadPolicyBlocked.
3017 * WebKitTestRunner/TestController.h:
3018 (WTR::TestController::setBlockAllPlugins):
3020 2013-07-21 Andreas Kling <akling@apple.com>
3022 KURL creates duplicate strings when completing data: URIs.
3023 <http://webkit.org/b/118952>
3024 <rdar://problem/14504480>
3026 Reviewed by Anders Carlsson.
3028 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
3029 (TestWebKitAPI::TEST_F):
3031 2013-07-19 Chris Fleizach <cfleizach@apple.com>
3033 AX: VoiceOver not detecting misspelled words don't work in all cases
3034 https://bugs.webkit.org/show_bug.cgi?id=118924
3036 Reviewed by Tim Horton.
3038 Make the misspelled detection dependent on both types of attributes being present.
3040 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3041 (AccessibilityUIElement::attributedStringRangeIsMisspelled):
3042 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3043 (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
3045 2013-07-19 Alex Christensen <achristensen@apple.com>
3047 Improved code coverage generation.
3048 https://bugs.webkit.org/show_bug.cgi?id=118926
3050 Reviewed by Tim Horton.
3052 * Scripts/build-webkit: Removed exception preventing ANGLE code coverage support.
3053 * Scripts/generate-coverage-data: Added --no-build to run-javascriptcore-tests call.
3054 (generateReport): Moved report generation to a subroutine.
3056 2013-07-19 Stephanie Lewis <slewis@apple.com>
3058 <rdar://problem/14499595> pagination wk2 api test failing on ML (118928)
3062 Rebaseline pagination test after http://trac.webkit.org/changeset/152911
3064 * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
3065 (TestWebKitAPI::didLayout):
3067 2013-07-19 Daniel Bates <dabates@apple.com>
3069 Make Perl tools work when using git bisect with Git branch build setup
3070 https://bugs.webkit.org/show_bug.cgi?id=118512
3072 Reviewed by Martin Robinson.
3074 The various Perl tools (run-webkit-app, {debug, run}-safari, et cetera) don't work
3075 during a git bisect session with a Git branch build setup (i.e. git config
3076 core.webKitBranchBuild true). Specifically, the tools cannot find the branch-
3077 specific build of WebKit because they cannot determine the branch Git is on (since
3078 git bisect puts Git into a detached HEAD state). We should teach our tooling to
3079 parse the file .git/BISECT_START (created by git bisect start) for the name of the
3080 branch Git was on when we began a git bisect session. Then the tools can determine
3081 the path to the built WebKit.
3083 * Scripts/VCSUtils.pm:
3084 (gitDirectory): Added.
3085 (gitBisectStartBranch): Added.
3086 (gitBranch): Modified to call gitBisectStartBranch() when we have a detached
3087 HEAD (e.g. running git bisect).
3088 (determineVCSRoot): Modified to call gitDirectory() to determine the path to
3089 the .git directory in the Git checkout.
3091 2013-07-19 Alex Christensen <achristensen@apple.com>
3093 Added x64 configuration to Visual Studio build.
3094 https://bugs.webkit.org/show_bug.cgi?id=118888
3096 Reviewed by Brent Fulgham.
3098 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
3099 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters:
3100 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
3101 * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
3102 * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
3103 * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
3104 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3105 * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
3106 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3107 * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
3108 * win/record-memory/record-memory.vcxproj:
3110 2013-07-19 Martin Robinson <mrobinson@igalia.com>
3112 Add a couple people to the MathML watchlist
3113 https://bugs.webkit.org/show_bug.cgi?id=118909
3115 Reviewed by Andreas Kling.
3117 Add a couple people to the MathML watchlist and add Kalyan's other
3118 email address to fix style checker warnings about the watchlist
3121 * Scripts/webkitpy/common/config/contributors.json: Add Frédéric to the
3122 list of contributors and add Kalyan's second email address.
3123 * Scripts/webkitpy/common/config/watchlist: Add myself and Frédéric to the MathML
3126 2013-07-19 Simon Pena <simon.pena@samsung.com>
3128 [GTK] Fix regression in DumpRenderTree introduced in r152782 by checking if uri is valid
3129 https://bugs.webkit.org/show_bug.cgi?id=118895
3131 Reviewed by Philippe Normand.
3133 In r152782 an uri is used to create an string representation without checking first if it
3134 is valid. That fails later when the string is used to check for existing redirections. This
3135 patch ensures that the uri is valid before using it.
3137 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3138 (willSendRequestCallback): Ensure an uri is valid before using it.
3140 2013-07-18 Timothy Hatcher <timothy@apple.com>
3142 Add extract-localizable-js-strings and use it for WebInspectorUI.
3144 https://bugs.webkit.org/show_bug.cgi?id=118851
3146 Reviewed by Joseph Pecoraro.
3148 * Scripts/extract-localizable-js-strings: Added.
3149 * Scripts/extract-localizable-strings: Drive-by-fix: disable deprecated warnings about "goto".
3150 * Scripts/update-webkit-localizable-strings: Use extract-localizable-js-strings for
3151 the WebInspectorUI project.
3153 2013-07-18 Brent Fulgham <bfulgham@apple.com>
3155 [Windows] Build correction #2 after r152861.
3157 * WinLauncher/WinLauncher.cpp: Declare proper linkage.
3159 2013-07-18 Brent Fulgham <bfulgham@apple.com>
3161 [Windows] Build correction after r152861.
3163 * WinLauncher/WinLauncher.cpp: Don't reference private header.
3165 2013-07-16 Brent Fulgham <bfulgham@apple.com>
3167 [Win] Support in-band text tracks.
3168 https://bugs.webkit.org/show_bug.cgi?id=103770
3170 Reviewed by Eric Carlson.
3172 Update WinLauncher to run in a CFRunLoop (rather than a hand-written Windows event loop) so that
3173 libdispatch and CFRunLoop elements are services during the run loop.
3175 * WinLauncher/WinLauncher.cpp:
3176 (dllLauncherEntryPoint): Use CFRunLoopRun (rather than a Windows message loop) if running with
3177 a CoreFoundation (or CFLite) support library.
3178 * WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props: Added.
3179 * WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props: Added.
3180 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Add references to WinLauncherCF.props
3181 and WinLauncherCFLite.props.
3183 2013-07-18 Roger Fong <roger_fong@apple.com>
3185 Unreviewed. Test enabling WinEWS tests now that queue is at a good state and NRWT with multiple processes is enabled.
3187 * Scripts/webkitpy/common/config/ews.json:
3189 2013-07-18 Daniel Bates <dabates@apple.com>
3191 REGRESSION (r132678): Tests that use SSL or port 8080 time out when run using old-run-webkit-tests
3192 https://bugs.webkit.org/show_bug.cgi?id=118854
3193 <rdar://problem/14081339>
3195 Reviewed by David Kilzer.
3197 Following <http://trac.webkit.org/changeset/132678> (https://bugs.webkit.org/show_bug.cgi?id=98602)
3198 Apache no longer listens to ports 8443 (SSL) and 8080. So, tests that use these ports time out when
3199 run using old-run-webkit-tests. We need to update old-run-webkit-tests to explicitly tell Apache to
3200 listen on these ports so that we can run tests that use port 8443 and 8080.
3202 * Scripts/old-run-webkit-tests:
3203 (configureAndOpenHTTPDIfNeeded):
3205 2013-07-17 Tim Horton <timothy_horton@apple.com>
3207 Update blocked/missing plug-in UI
3208 https://bugs.webkit.org/show_bug.cgi?id=118347
3209 <rdar://problem/14209318>
3211 Reviewed by Sam Weinig.
3213 * MiniBrowser/mac/WK2BrowserWindowController.m:
3214 (-[WK2BrowserWindowController awakeFromNib]):
3215 * WebKitTestRunner/TestController.cpp:
3216 (WTR::TestController::createWebViewWithOptions):
3217 Match new WKPageLoaderClient entry.
3219 2013-07-17 Commit Queue <commit-queue@webkit.org>
3221 Unreviewed, rolling out r152701, r152703, r152739, r152754,
3223 http://trac.webkit.org/changeset/152701
3224 http://trac.webkit.org/changeset/152703
3225 http://trac.webkit.org/changeset/152739
3226 http://trac.webkit.org/changeset/152754
3227 http://trac.webkit.org/changeset/152756
3228 https://bugs.webkit.org/show_bug.cgi?id=118821
3230 this was a buggy fix and we're going to try something
3231 different (Requested by thorton on #webkit).
3233 * MiniBrowser/mac/WK2BrowserWindowController.m:
3234 (-[WK2BrowserWindowController awakeFromNib]):
3235 * WebKitTestRunner/TestController.cpp:
3236 (WTR::TestController::createWebViewWithOptions):
3238 2013-07-17 Commit Queue <commit-queue@webkit.org>
3240 Unreviewed, rolling out r151535.
3241 http://trac.webkit.org/changeset/151535
3242 https://bugs.webkit.org/show_bug.cgi?id=118804
3244 Re-disable WinEWS tests (Requested by rfong on #webkit).
3246 * Scripts/webkitpy/common/config/ews.json:
3248 2013-07-17 Simon Pena <simon.pena@samsung.com>
3250 [GTK] Make DRT obbey testRunner's addURLToRedirect
3251 https://bugs.webkit.org/show_bug.cgi?id=118239
3253 Reviewed by Gustavo Noronha Silva.
3255 Support testRunner's addURLToRedirect in GTK's DRT, so it redirects
3256 to the proper URI when indicated.
3258 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3259 (willSendRequestCallback):
3261 2013-07-17 Gabor Abraham <abrhm@inf.u-szeged.hu>
3263 Add a new find-resolved-bugs command to webkit-patch.
3264 https://bugs.webkit.org/show_bug.cgi?id=118060
3266 Reviewed by Csaba Osztrogonác.
3268 * Scripts/webkitpy/tool/commands/queries.py:
3269 (PrintBaselines._platform_for_path):
3271 (FindResolvedBugs.execute):
3273 2013-07-16 Balazs Kelemen <kbalazs@webkit.org>
3275 [CMake] Undefined references should be detected at build time
3276 https://bugs.webkit.org/show_bug.cgi?id=110236
3278 Reviewed by Christophe Dumez.
3280 Add library dependencies that were not defined explicitly before.
3282 * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
3283 * TestWebKitAPI/CMakeLists.txt:
3284 * WebKitTestRunner/CMakeLists.txt:
3286 2013-07-16 Kwang Yul Seo <skyul@company100.net>
3288 check-webkit-style: "using namespace foo;" should be flagged as an error only in headers
3289 https://bugs.webkit.org/show_bug.cgi?id=118755
3291 Reviewed by Ryosuke Niwa.
3293 Fix r152719 to check "using namespace foo;" only in headers.
3295 * Scripts/webkitpy/style/checkers/cpp.py:
3296 (check_using_namespace):
3298 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3299 (WebKitStyleTest.test_using_namespace):
3301 2013-07-16 Christophe Dumez <ch.dumez@sisa.samsung.com>
3303 Get rid of multiple inheritance support from the bindings generators
3304 https://bugs.webkit.org/show_bug.cgi?id=118353
3306 Reviewed by Kentaro Hara.
3308 Update CodeGeneratorTestRunner.pm to use domInterface->parent instead of
3309 deprecated domInterface->parents.
3311 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3314 2013-07-16 Brian Holt <brian.holt@samsung.com>
3316 check-webkit-style: "using namespace foo;" should be flagged as an error in headers
3317 https://bugs.webkit.org/show_bug.cgi?id=57241
3319 Reviewed by Ryosuke Niwa.
3321 Added check for "using namespace foo" and unit test.
3323 * Scripts/webkitpy/style/checkers/cpp.py:
3324 (check_using_namespace):
3327 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3328 (WebKitStyleTest.test_using_namespace):
3330 2013-07-16 Anton Obzhirov <a.obzhirov@samsung.com>
3332 [GTK] fast/events/platform-wheelevent-with-delta-zero-crash.html is crashing
3333 https://bugs.webkit.org/show_bug.cgi?id=110222
3335 Reviewed by Gustavo Noronha Silva.
3337 Added handling of zero mouse scroll deltas in EventSender.
3339 * DumpRenderTree/gtk/EventSender.cpp:
3340 (mouseScrollByCallback):
3342 2013-07-16 Brian Holt <brian.holt@samsung.com>
3344 webkitpy: replace urllib with urllib2 for downloading additional modules
3345 https://bugs.webkit.org/show_bug.cgi?id=118671
3347 Reviewed by Ryosuke Niwa.
3349 Urllib2 is available whereever urllib is, but has better proxy support.
3351 * Scripts/webkitpy/common/system/autoinstall.py:
3352 (AutoInstaller._download_to_stream):
3354 2013-07-16 Krzysztof Czech <k.czech@samsung.com>
3356 [ATK] Adds support for aria-haspopup property.
3357 https://bugs.webkit.org/show_bug.cgi?id=117834
3359 Reviewed by Christophe Dumez.
3361 Adds implementation for testing aria-haspopup property.
3363 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3364 (getAttributeSetValueForId):
3365 (AccessibilityUIElement::stringAttributeValue):
3366 (AccessibilityUIElement::hasPopup):
3367 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3368 (WTR::getAttributeSetValueForId):
3369 (WTR::AccessibilityUIElement::stringAttributeValue):
3370 (WTR::AccessibilityUIElement::hasPopup):
3372 2013-07-16 Michael Brüning <michael.bruning@digia.com>
3374 [Qt] Replace Nokia references.
3375 https://bugs.webkit.org/show_bug.cgi?id=118728
3377 Reviewed by Simon Hausmann.
3379 * MiniBrowser/qt/MiniBrowserApplication.cpp:
3380 (MiniBrowserApplication::MiniBrowserApplication):
3381 * QtTestBrowser/qttestbrowser.cpp:
3382 (LauncherApplication::LauncherApplication):
3384 2013-07-15 Tim Horton <timothy_horton@apple.com>
3386 Update blocked/missing plug-in UI
3387 https://bugs.webkit.org/show_bug.cgi?id=118347
3388 <rdar://problem/14209318>
3390 Reviewed by Sam Weinig.
3392 * MiniBrowser/mac/WK2BrowserWindowController.m:
3393 (-[WK2BrowserWindowController awakeFromNib]):
3394 * WebKitTestRunner/TestController.cpp:
3395 (WTR::TestController::createWebViewWithOptions):
3396 Match new WKPageLoaderClient entry.
3398 2013-07-15 Chris Fleizach <cfleizach@apple.com>
3400 Update James Craig's email address.
3402 * Scripts/webkitpy/common/config/contributors.json:
3404 2013-07-15 Dong-Gwan Kim <donggwan.kim@samsung.com>
3406 [EFL] Add fallback for TestWebKitAPI if opengl is not available.
3407 https://bugs.webkit.org/show_bug.cgi?id=118583
3409 Reviewed by Christophe Dumez.
3411 There're many fails on efl webkit2 API test if opengl is not available.
3412 So, add fallback to non-opengl evas engine.
3414 * TestWebKitAPI/efl/PlatformWebView.cpp:
3415 (TestWebKitAPI::initEcoreEvas):
3417 2013-07-15 Brian Holt <brian.holt@samsung.com>
3419 check-webkit-style: Ignore false positive: Instance of 'Popen' has no 'pid' member
3420 https://bugs.webkit.org/show_bug.cgi?id=118592
3422 Reviewed by Martin Robinson.
3424 Added a suppression for pylint false positives and a unit test.
3426 * Scripts/webkitpy/style/checkers/python.py:
3428 * Scripts/webkitpy/style/checkers/python_unittest.py:
3429 (PythonCheckerTest.test_check):
3430 (PythonCheckerTest):
3431 (PythonCheckerTest.test_pylint_false_positives):
3432 (PythonCheckerTest.test_pylint_false_positives._mock_handle_style_error):
3433 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Added.
3436 2013-07-15 Xabier Rodriguez Calvar <calvaris@igalia.com>
3438 [GTK] Increase the JHBuild version of GStreamer to 1.0.7
3439 https://bugs.webkit.org/show_bug.cgi?id=115166
3441 Reviewed by Philippe Normand.
3443 * gtk/jhbuild.modules: Bumping GStreamer version up to 1.0.8.
3445 2013-07-12 Kwang Yul Seo <skyul@company100.net>
3447 Unreviewed. Add an email address and update my domain of experts.
3449 * Scripts/webkitpy/common/config/contributors.json:
3451 2013-07-12 Emanuele Aina <emanuele.aina@collabora.com>
3453 [jhbuild] Avoid restarting from scratch failed initial checkouts
3454 https://bugs.webkit.org/show_bug.cgi?id=118603
3456 Reviewed by Martin Robinson.
3458 If the initial checkout is interrupted midway (eg. because the internet
3459 connection went down) config files do not get generated and that causes
3460 the next checkout to start from scratch (the missing files cause the
3461 script to delete the build root and the downloaded sources).
3463 By generating the files before invoking jhbuild, subsequent runs are able
3464 to start where the previous run left.
3466 * Scripts/update-webkit-libs-jhbuild:
3467 (saveJhbuildMd5): invoke it before runJhbuild().
3469 2013-07-12 Brent Fulgham <bfulgham@apple.com>
3471 [Windows] Remove single-worker restriction on tests.
3473 * Scripts/webkitpy/port/win.py: Remove restriction of one worker.
3475 2013-07-12 Commit Queue <commit-queue@webkit.org>
3477 Unreviewed, rolling out r152599.
3478 http://trac.webkit.org/changeset/152599
3479 https://bugs.webkit.org/show_bug.cgi?id=118612
3481 This patch includes a failing unit test (Requested by
3482 mrobinson on #webkit).
3484 * Scripts/webkitpy/style/checkers/python.py:
3486 * Scripts/webkitpy/style/checkers/python_unittest.py:
3487 (PythonCheckerTest.test_check):
3488 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Removed.
3490 2013-07-12 Emanuele Aina <emanuele.aina@collabora.com>
3492 [Tools] Ignore missing GNUmakefile when detecting previous arch in build-webkit
3493 https://bugs.webkit.org/show_bug.cgi?id=91223
3495 Reviewed by Martin Robinson.
3497 When run on a clean checkout, `build-webkit` complains that no
3498 GNUmakefile exists when trying to detect the previously configured
3499 architecture, but in this case there's no previous configuration so
3500 the warning is pointless.
3502 * Scripts/webkitdirs.pm:
3503 (determineArchitecture): Redirect grep stderr to /dev/null.
3505 2013-07-12 Brian Holt <brian.holt@samsung.com>
3507 check-webkit-style: Ignore false positive: Instance of 'Popen' has no 'pid' member
3508 https://bugs.webkit.org/show_bug.cgi?id=118592
3510 Reviewed by Martin Robinson.
3512 Added a suppression for pylint false positives and a unit test.
3514 * Scripts/webkitpy/style/checkers/python.py:
3516 * Scripts/webkitpy/style/checkers/python_unittest.py:
3517 (PythonCheckerTest.test_check):
3518 (PythonCheckerTest):
3519 (PythonCheckerTest.test_pylint_false_positives):
3520 (PythonCheckerTest.test_pylint_false_positives._mock_handle_pylint_false_positives):
3521 * Scripts/webkitpy/style/checkers/python_unittest_falsepositives.py: Added.
3524 2013-07-11 Arnaud Renevier <a.renevier@samsung.com>
3526 Unreviewed. Add myself as a committer.
3528 * Scripts/webkitpy/common/config/contributors.json:
3530 2013-07-10 Sergio Correia <sergio.correia@openbossa.org>
3532 Handle "load,provisional,failed" with the on_error callback on EFL MiniBrowser
3533 https://bugs.webkit.org/show_bug.cgi?id=118538
3535 Reviewed by Christophe Dumez.
3537 When attempting some odd url such as ``foo'', MiniBrowser will now show an
3538 error message such as "Cannot resolve hostname (foo)".
3540 Previously, it had the following behavior if MiniBrowser was started with
3541 such urls, e.g ``./MiniBrowser foo'':
3544 It wouldt hit WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp(460) and crash.
3547 No asserts, naturally, but the view would remain blank, even if we tried to
3548 change to a valid url.
3550 * MiniBrowser/efl/main.c:
3553 2013-07-10 Simon Pena <simon.pena@samsung.com>
3555 [GTK] WebKitTestRunner tries to remove an already deleted event in EventSenderProxy::replaySavedEvents
3556 https://bugs.webkit.org/show_bug.cgi?id=118509
3558 Reviewed by Martin Robinson.
3560 In EventSenderProxy::replaySavedEvents WebKitTestRunner can crash
3561 when trying to remove an event already removed, if another event is
3562 processed in the middle. By using a Deque's takeFirst, we ensure the
3563 element is removed before we dispatch it.
3565 fast/events/mousedown-inside-dragstart-should-not-cause-crash.html no longer
3566 crashes after this fix is added.
3568 * WebKitTestRunner/EventSenderProxy.h: Use a Deque instead of Vector in GTK
3569 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
3570 (WTR::EventSenderProxy::replaySavedEvents): Use takeFirst to retrieve the event
3573 2013-07-09 Ryuan Choi <ryuan.choi@samsung.com>
3575 [EFL] Add ewk_view_device_pixel_ratio_set
3576 https://bugs.webkit.org/show_bug.cgi?id=118521
3578 Reviewed by Gyuyoung Kim.
3580 * EWebLauncher/main.c: Added new option(-r) to test device pixel ratio.
3582 (parseUserArguments):
3584 2013-07-09 Bruno de Oliveira Abinader <brunoabinader@gmail.com>
3586 Unreviewed change of my email addresses.
3587 https://bugs.webkit.org/show_bug.cgi?id=100122
3589 * Scripts/webkitpy/common/config/contributors.json:
3591 2013-07-09 Anders Carlsson <andersca@apple.com>
3593 DumpRenderTree should stop sending unsupported URLs to NSWorkspace
3594 https://bugs.webkit.org/show_bug.cgi?id=118514
3595 <rdar://problem/13686836>
3597 Reviewed by Sam Weinig.
3599 Add a new default policy delegate and override decidePolicyForNavigationAction: to not pass unhandled URLs to NSWorkspace.
3601 * DumpRenderTree/DefaultPolicyDelegate.h: Added.
3602 * DumpRenderTree/DefaultPolicyDelegate.m: Added.
3603 (-[DefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3604 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3605 Add DefaultPolicyDelegate.h and DefaultPolicyDelegate.m.
3607 * DumpRenderTree/mac/DumpRenderTree.mm:
3608 (allocateGlobalControllers):
3609 Allocate a DefaultPolicyDelegate object.
3611 (resetWebViewToConsistentStateBeforeTesting):
3612 Set the policy delegate to the default policy delegate.
3614 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3615 Declare the defaultPolicyDelegate object.
3617 * DumpRenderTree/mac/TestRunnerMac.mm:
3618 (TestRunner::setCustomPolicyDelegate):
3619 Set the policy delegate to the default delegate if setDelegate is false.
3621 2013-07-08 Zan Dobersek <zdobersek@igalia.com>
3623 KURL unit test fixture class should have a meaningful name
3624 https://bugs.webkit.org/show_bug.cgi?id=118467
3626 Reviewed by Sam Weinig.
3628 * TestWebKitAPI/Tests/WebCore/KURL.cpp:
3629 (TestWebKitAPI::TEST_F): Use 'KURLTest' as the name for the KURL unit test's fixture class
3630 instead of the generic and inappropriate 'WebCore' name.
3632 2013-07-08 Antti Koivisto <antti@apple.com>
3634 Add Deque::removeLast
3635 https://bugs.webkit.org/show_bug.cgi?id=118466
3637 Reviewed by Andreas Kling.
3639 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3640 * TestWebKitAPI/Tests/WTF/Deque.cpp: Added.
3641 (TestWebKitAPI::TEST):
3643 2013-07-08 Brian Holt <brian.holt@samsung.com>