Build ASan WebKit for iOS Simulator
[WebKit-https.git] / Tools / ChangeLog
1 2014-06-04  David Farler  <dfarler@apple.com>
2
3         Build ASan WebKit for iOS Simulator
4         https://bugs.webkit.org/show_bug.cgi?id=133489
5
6         Reviewed by Darin Adler.
7
8         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
9         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
10         - Add missing ASan LDFLAGS.
11         * asan/asan.xcconfig:
12         - Split compiler-rt linker flags for OS X and iOS Simulator
13
14 2014-06-03  Yoav Weiss  <yoav@yoav.ws>
15
16         Add myself (yoav@yoav.ws) to contributors.json
17         https://bugs.webkit.org/show_bug.cgi?id=133492
18
19         * Scripts/webkitpy/common/config/contributors.json:
20
21 2014-06-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
22
23         REGRESSION(r169092 and r169102): Skip failing JSC tests poperly on non-x86 Darwin platforms
24         https://bugs.webkit.org/show_bug.cgi?id=133149
25
26         Reviewed by Csaba Osztrogonác.
27
28         * Scripts/run-jsc-stress-tests: Added determineOS to determine the host operating system the script run on.
29
30 2014-06-02  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
31
32         Add a verbose flag to binding tests
33         https://bugs.webkit.org/show_bug.cgi?id=122303
34
35         Reviewed by Csaba Osztrogonác.
36
37         This patch will:
38         - Add a verbose keyword argument to the BindingsTests constructor,
39         - Add --no-verbose option to the run-bindigs-test.
40         Verbose mode, which is on by default, prints positive results to stdout as before.
41         When the --no-verbose option added to run-bindings-tests, positive results are not printed at all.
42
43         Original patch from Matthew Hanson <matthew_hanson@apple.com>
44
45         * Scripts/run-bindings-tests:
46         (main):
47         * Scripts/webkitpy/bindings/main.py:
48         (BindingsTests.__init__):
49         (BindingsTests.detect_changes):
50
51 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
52
53         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
54         https://bugs.webkit.org/show_bug.cgi?id=133455
55
56         Reviewed by Timothy Hatcher.
57
58         Since the perf. dashboard doesn't support following renamed benchmarks,
59         keep reporting Speedometer results as DoYouEvenBench results.
60
61         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
62         (_generate_results_dict):
63
64 2014-05-31  Darin Adler  <darin@apple.com>
65
66         Viewport percentage tests that resize the viewport are flaky
67         https://bugs.webkit.org/show_bug.cgi?id=133351
68
69         Reviewed by Anders Carlsson.
70
71         * DumpRenderTree/mac/DumpRenderTree.mm:
72         (sizeWebViewForCurrentTest): Added a call to reset the window origin, which
73         happens to be stored in the UI delegate object. This is part of resetting the
74         window position.
75
76         * DumpRenderTree/mac/UIDelegate.h: Store the window origin rather than storing
77         a frame rectangle. The size is stored in the size of the web view itself.
78         * DumpRenderTree/mac/UIDelegate.mm:
79         (-[UIDelegate resetWindowOrigin]): Added.
80         (-[UIDelegate webView:setFrame:]): Changed to set the size of the web view. The
81         old version would store the frame, but not resize the web view!
82         (-[UIDelegate webViewFrame:]): Get the size from the web view.
83
84         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
85         (WTR::PlatformWebView::setWindowFrame): Added code to resize the web view.
86
87         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
88         (WTR::PlatformWebView::resizeTo): Added a comment about missing code to resize
89         the window.
90
91         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
92         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame so the
93         window gets resized too, not just the web view.
94         (WTR::PlatformWebView::setWindowFrame): Added code to set the size of the web view.
95
96         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
97         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame so the
98         window gets resized too, not just the web view.
99         (WTR::PlatformWebView::setWindowFrame): Added code to set the size of the web view.
100
101 2014-05-30  Michael Saboff  <msaboff@apple.com>
102
103         Change run-jsc-stress-tests to not resolve jsc path locally when creating a bundle
104         https://bugs.webkit.org/show_bug.cgi?id=133409
105
106         Reviewed by Filip Pizlo.
107
108         Handle creating a tarball the same way as running remote when processing
109         paths in prepareBundle.
110
111         * Scripts/run-jsc-stress-tests:
112
113 2014-05-30  Mario Sanchez Prada  <mario.prada@samsung.com>
114
115         [ATK] Deprecate usage of logAccessibilityEvents() in layout tests
116         https://bugs.webkit.org/show_bug.cgi?id=132280
117
118         Reviewed by Chris Fleizach.
119
120         Remove implementation of logAccessibilityEvents() for ATK based
121         ports, as this has proved to be a flaky method of checking that
122         ATK events are being properly emitted. Instead, it's better to use
123         the addNotificationListener() functions and provide a JS callback
124         to check that the right events are being emmitted from the tests.
125
126         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
127         (WTR::AccessibilityController::logAccessibilityEvents): Replaced
128         with dummy implementation.
129         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
130         (WTR::AccessibilityNotificationHandler::logAccessibilityEvents): Removed
131
132 2014-05-30  Mario Sanchez Prada  <mario.prada@samsung.com>
133
134         [ATK] Deprecate usage of logAccessibilityEvents() in layout tests
135         https://bugs.webkit.org/show_bug.cgi?id=132280
136
137         Rubber stamped by Carlos Garcia Campos.
138
139         Fix two small issues with previous patch (r169483), that caused some tests to break.
140
141         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
142         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks): Removed
143         duplicated entry.
144         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
145         (WTR::AccessibilityUIElement::setSelectedTextRange): Fix boolean condition.
146
147 2014-05-30  Jarek Czekalski  <jarekczek@poczta.onet.pl>
148
149         [ATK] Added new accessibility signal: text-caret-moved.
150         Make AccessibilityUIElement.setSelectedTextRange work
151         as atk_text_set_caret_offset when given offset == 0.
152         https://bugs.webkit.org/show_bug.cgi?id=132527
153
154         Reviewed by Mario Sanchez Prada.
155
156         text-caret-moved signal in accessibilityController is needed to
157         implement tests from Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c
158         as LayoutTests. Add the signal to the controller.
159
160         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
161         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
162         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
163         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
164         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
165         (setSelectedTextRange): Change return type to bool.
166         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
167         (setSelectedTextRange): Call atk_text_set_caret_offset and return bool.
168         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
169         (axObjectEventListener): Add notification name AXTextCaretMoved, allow
170         for extra arguments passed to handler and use it for text-caret-moved offset.
171         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks):
172         Connect callback to new listener for ATK:AtkText:text-caret-moved.
173         Refactor so that failures be reported.
174         Initialize atk interfaces before trying to connect to them, see
175         https://bugzilla.gnome.org/show_bug.cgi?id=729922
176         (WTR::AccessibilityNotificationHandler::disconnectAccessibilityCallbacks):
177         Simplify code by using a vector in place of dozen variables.
178         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
179         Comment about not synchronizing with accessibilityController.
180
181 2014-05-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
182
183         [GTK] Add a WebKit2 Performance bot.
184         https://bugs.webkit.org/show_bug.cgi?id=132862
185
186         Reviewed by Csaba Osztrogonác.
187
188         This adds a GTK WebKit2 perf bot.
189
190         * BuildSlaveSupport/build.webkit.org-config/config.json:
191
192 2014-05-29  Dan Bernstein  <mitz@apple.com>
193
194         Fixed the WebKitTestRunner build after r169452.
195
196         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
197         (WTR::InjectedBundle::initialize):
198
199 2014-05-28  Gwang Yoon Hwang  <yoon@igalia.com>
200
201         Unreviewed. Update my email addresses in contributors.json.
202
203         * Scripts/webkitpy/common/config/contributors.json:
204
205 2014-05-27  Jon Honeycutt  <jhoneycutt@apple.com>
206
207         Need an API test for bug #133193 (r169315)
208         <https://bugs.webkit.org/show_bug.cgi?id=133324>
209
210         This adds an API test that ensures that calling "stop loading" during a
211         "did fail provisional load" callback doesn't crash.
212
213         Reviewed by Andy Estes.
214
215         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
216         Add new files to project.
217
218         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp: Added.
219         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
220         If the message is the "test done" message, record that.
221         (TestWebKitAPI::setInjectedBundleClient):
222         Register a function for the "did receive message from injected bundle"
223         callback.
224         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
225         Assert that we received the message from the injected bundle, and set
226         'done' to finish the test.
227         (TestWebKitAPI::TEST):
228         Create a WebView, register a page loader client for the "did fail
229         provisional load" callback, and load a non-existent resource.
230
231         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp: Added.
232         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::StopLoadingDuringDidFailProvisionalLoadTest):
233         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrameCallback):
234         Tell the StopLoadingDuringDidFailProvisionalLoadTest object that the
235         provisional load failed.
236         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::didCreatePage):
237         Register a page loader client for the "did fail provisional load"
238         callback.
239         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::didFailProvisionalLoad):
240         Call WKBundlePageStopLoading() during the callback. This not crashing
241         is what we're ensuring with this test.
242
243 2014-05-28  Carlos Garcia Campos  <cgarcia@igalia.com>
244
245         [GTK] Make it possible to build with FTL enabled
246         https://bugs.webkit.org/show_bug.cgi?id=133219
247
248         Reviewed by Philippe Normand.
249
250         * gtk/jhbuild-optional.modules: Add llvm from svn and build the
251         same revision than mac.
252
253 2014-05-27  Michael Saboff  <msaboff@apple.com>
254
255         REGRESSION(r169265): sh: line 0: cd: ../.vm
256         https://bugs.webkit.org/show_bug.cgi?id=133242
257
258         Rubber stamped by Oliver Hunt.
259
260         Changed runAndMonitorTestRunnerCommand() to pass mysys as a string instead of an
261         array since the command may contain character escapes that don't work with the
262         array form of system().
263
264         * Scripts/run-jsc-stress-tests:
265
266 2014-05-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
267
268         [EFL] Change download url of freetype6
269         https://bugs.webkit.org/show_bug.cgi?id=133303
270
271         Reviewed by Csaba Osztrogonác.
272
273         freetype6 tarball isn't downloaded in Korea. So, we need to
274         change the url for now.
275
276         * efl/jhbuild.modules:
277
278 2014-05-27  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
279
280         Remove BLOB guards
281         https://bugs.webkit.org/show_bug.cgi?id=132863
282
283         Reviewed by Csaba Osztrogonác.
284
285         * Scripts/webkitperl/FeatureList.pm:
286
287 2014-05-27  Alberto Garcia  <berto@igalia.com>
288
289         Remove leftover comment from r165182.
290
291         Rubber stamped by Carlos Garcia Campos.
292
293         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
294
295 2014-05-26  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
296
297         [EFL] Add LLVM as optional jhbuild module for FTL developers
298         https://bugs.webkit.org/show_bug.cgi?id=133216
299
300         Reviewed by Gyuyoung Kim.
301
302         * efl/jhbuild.modules:
303
304 2014-05-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
305
306         Fix test failures on python test
307         https://bugs.webkit.org/show_bug.cgi?id=133297
308
309         Reviewed by Dirk Schulze.
310
311         2 tests are failing because of unbounded local variable reference in test_importer.py.
312
313         * Scripts/webkitpy/w3c/test_importer.py: Move local variable declaration to top.
314         (TestImporter.import_tests):
315
316 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
317
318         [GTK] GObject DOM bindings API break test fails in the tests bots
319         https://bugs.webkit.org/show_bug.cgi?id=133211
320
321         Reviewed by Martin Robinson.
322
323         When generating the built product archive on platform GTK, we need
324         to copy also the file gtkdoc-webkitdom.cfg and the directory
325         DerivedSources/webkitdom.
326
327         * BuildSlaveSupport/built-product-archive:
328         (archiveBuiltProduct):
329
330 2014-05-26  Commit Queue  <commit-queue@webkit.org>
331
332         Unreviewed, rolling out r169122.
333         https://bugs.webkit.org/show_bug.cgi?id=133288
334
335         Broke CJK font fallback (Requested by ap on #webkit).
336
337         Reverted changeset:
338
339         "[Mac] WebProcess doesn't follow localization of UI process
340         when run as a service"
341         https://bugs.webkit.org/show_bug.cgi?id=133126
342         http://trac.webkit.org/changeset/169122
343
344 2014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
345
346         [GTK] WebProcess leaked when closing pages with network process enabled
347         https://bugs.webkit.org/show_bug.cgi?id=129684
348
349         Reviewed by Anders Carlsson.
350
351         Enable the test to check that web processes finish when the web
352         view is destroyed.
353
354         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
355
356 2014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
357
358         REGRESSION(r164632): [GTK] Crash in generate-gtkdoc when rebasing docs
359         https://bugs.webkit.org/show_bug.cgi?id=133279
360
361         Reviewed by Philippe Normand.
362
363         generator.saw_warnings is only set by GTKDoc::generate(), so it
364         should only be used after generate.
365
366         * gtk/generate-gtkdoc:
367         (generate_documentation_for_config): Do not check
368         generator.saw_warnings again, simply return the value returned by
369         generate_doc() which is generator.saw_warnings. When rebasing,
370         returns always False since there aren't warnings.
371
372 2014-05-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
373
374         W3C test importer should catch exceptions coming from HTML/CSS conversion
375         https://bugs.webkit.org/show_bug.cgi?id=133176
376
377         Reviewed by Darin Adler.
378
379         Exceptions raised when converting HTML/CSS are caught.
380         Files for which conversion failed are still copied to the target directory.
381         Each individual conversion failure is logged.
382         Total conversion failure number is logged at the end of the import process.
383
384         * Scripts/webkitpy/w3c/test_importer.py:
385         (TestImporter.import_tests):
386
387 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
388
389         [GTK] Allow to run the tests on the native X display.
390         https://bugs.webkit.org/show_bug.cgi?id=133157
391
392         Reviewed by Benjamin Poulain.
393
394         This adds a new driver (xorgdriver) that runs the tests on the
395         X display referenced by the environment variable DISPLAY.
396
397         This new driver will be activated only if the environment variable
398         USE_NATIVE_XDISPLAY is defined. This can be used both for layout
399         tests and performance tests.
400
401         This patch also makes the script run-perf-tests to check the
402         system dependencies before starting the tests. Previously this
403         was not checked, and if the system dependencies were not met,
404         the script tried to execute the tests anyway, causing massive
405         failures. For example, if you had Xvfb not installed and you
406         wanted to use the Xvfb driver (the default on GTK and EFL),
407         run-perf-tests would not abort.
408
409         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
410         (PerfTestsRunner._parse_args): Check the system dependencies of
411         the driver before starting the tests.
412         * Scripts/webkitpy/port/driver.py:
413         (Driver): Implement generic check_driver method.
414         (Driver.check_driver):
415         (Driver.check_driver.implementation):
416         * Scripts/webkitpy/port/gtk.py:
417         (GtkPort._driver_class): Check for environment variable
418         USE_NATIVE_XDISPLAY to decide if the Xorg driver should be used.
419         * Scripts/webkitpy/port/xorgdriver.py: Added.
420         (XorgDriver): Implement Xorg driver.
421         (XorgDriver.check_driver):
422         (XorgDriver._start):
423
424 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
425
426         REGRESSION(r166798): [GTK] [EFL] kill-old-processes should not kill dbus-daemon
427         https://bugs.webkit.org/show_bug.cgi?id=133215
428
429         Reviewed by Csaba Osztrogonác.
430
431         This reverts r166798.
432
433         * BuildSlaveSupport/kill-old-processes:
434         (main):
435
436 2014-05-26  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
437
438         [EFL] Turn on ENABLE_CSS_FILTERS in build script
439         https://bugs.webkit.org/show_bug.cgi?id=133278
440
441         Reviewed by Gyuyoung Kim.
442
443         * Scripts/webkitperl/FeatureList.pm: Add a build script condition missing in r169172.
444
445 2014-05-26  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
446
447         run-javascriptcore-tests warning fix on non Mac platforms
448         https://bugs.webkit.org/show_bug.cgi?id=133260
449
450         Reviewed by Darin Adler.
451
452         * Scripts/webkitdirs.pm:
453         (argumentsForConfiguration):
454
455 2014-05-23  Michael Saboff  <msaboff@apple.com>
456
457         REGRESSION(r169265): sh: line 0: cd: ../.vm
458         https://bugs.webkit.org/show_bug.cgi?id=133242
459
460         Rubber stamped by Geoffrey Garen.
461
462         Added missing shell escapes '\' required as part of previous fix.
463
464         * Scripts/run-jsc-stress-tests:
465
466 2014-05-23  Ryosuke Niwa  <rniwa@webkit.org>
467
468         Revert the erroneous change committed in r169286.
469
470         * Scripts/webkitpy/performance_tests/perftest.py:
471         (PerfTest._run_with_driver):
472
473 2014-05-23  Geoffrey Garen  <ggaren@apple.com>
474
475         run-perf-tests should ignore whitespace lines when snarfing test output
476         https://bugs.webkit.org/show_bug.cgi?id=133238
477
478         Reviewed by Ryosuke Niwa.
479
480         Required for PerformanceTests/Canvas/terrain.html.
481
482         * Scripts/webkitpy/performance_tests/perftest.py:
483         (PerfTest._run_with_driver):
484         (PerfTest):
485
486 2014-05-23  Michael Saboff  <msaboff@apple.com>
487
488         REGRESSION (r169241) Crash running run-jsc-stress-tests on EFL ARM
489         https://bugs.webkit.org/show_bug.cgi?id=133223
490
491         Reviewed by Geoffrey Garen.
492
493         Change runAndMonitorTestRunnerCommand() to convert the *cmd argument to a
494         string before calling IO.popen() to work with older versions of ruby.
495         Changed the remote path in runShellTestRunner to quote the command
496         string we want to run via ssh so that it will work correctly with array
497         to string conversion needed for popen.
498
499         * Scripts/run-jsc-stress-tests:
500
501 2014-05-23  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
502
503         Remove 'css-shaders' option from the build-webkit
504         https://bugs.webkit.org/show_bug.cgi?id=133212
505
506         Reviewed by Daniel Bates.
507
508         Original CSS shaders removed in r162644.
509
510         * Scripts/webkitperl/FeatureList.pm:
511
512 2014-05-23  Carlos Garcia Campos  <cgarcia@igalia.com>
513
514         [GTK] GObject DOM bindings API break test should fail in the bots when the command fails to run
515         https://bugs.webkit.org/show_bug.cgi?id=133209
516
517         Reviewed by Sergio Villar Senin.
518
519         Return FAILURE when the command failed to run.
520
521         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
522         (RunGtkWebKitGObjectDOMBindingsAPIBreakTests.evaluateCommand):
523
524 2014-05-23  Alberto Garcia  <berto@igalia.com>
525
526         [GTK] Install libharfbuzz-dev in Tools/gtk/install-dependencies
527         https://bugs.webkit.org/show_bug.cgi?id=133210
528
529         Reviewed by Carlos Garcia Campos.
530
531         * gtk/install-dependencies:
532
533 2014-05-22  Benjamin Poulain  <bpoulain@apple.com>
534
535         Add Yusuke Suzuki to the list of contributors (for real)
536
537         Wrong section...
538
539         * Scripts/webkitpy/common/config/contributors.json:
540
541 2014-05-22  Benjamin Poulain  <bpoulain@apple.com>
542
543         Add Yusuke Suzuki to the list of contributors
544
545         * Scripts/webkitpy/common/config/contributors.json:
546
547 2014-05-22  Michael Saboff  <msaboff@apple.com>
548
549         Eliminate n/total progress update from run-jsc-stress-tests output to file
550         https://bugs.webkit.org/show_bug.cgi?id=133191
551
552         Reviewed by Geoffrey Garen.
553
554         Changed progressMeter setting to be based on stdout being a tty instead of
555         stdin.  Unified the processing of output from the shell runner to match the
556         same processing as is used by the makefile runner.  As part of this, the 
557         shell runner script was simplified.  It now forwards the output of each
558         test_script just like the Makefile and doesn't provide its own progress.
559
560         * Scripts/jsc-stress-test-helpers/shell-runner.sh:
561         * Scripts/run-jsc-stress-tests:
562
563 2014-05-22  Michael Saboff  <msaboff@apple.com>
564
565         Add option to run-jsc-stress-tests to use installed jsc
566         https://bugs.webkit.org/show_bug.cgi?id=133102
567
568         Reviewed by Geoffrey Garen.
569
570         Added --no-copy option to not copy a JavaScriptCore framework, but use the one
571         provied with the --jsc option.
572
573         * Scripts/run-jsc-stress-tests:
574
575 2014-05-21  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
576
577         [EFL] Add include path of compact_unwind_encoding.h if FTL JIT is enabled
578         https://bugs.webkit.org/show_bug.cgi?id=132907
579
580         Reviewed by Gyuyoung Kim.
581
582         We need the mach-o/compact_unwind_encoding.h header from libc++abi-dev package
583         in JavaScriptCore/ftl/FTLUnwindInfo.cpp when FTL JIT is enabled.
584
585         * efl/install-dependencies:
586
587 2014-05-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
588
589         REGRESSION(r169092): It broke run-jsc-stress tests on non Mac platforms
590         https://bugs.webkit.org/show_bug.cgi?id=133145
591
592         Reviewed by Csaba Osztrogonác.
593
594         * Scripts/run-jsc-stress-tests:
595
596 2014-05-20  Alexey Proskuryakov  <ap@apple.com>
597
598         [Mac] WebProcess doesn't follow localization of UI process when run as a service
599         https://bugs.webkit.org/show_bug.cgi?id=133126
600         <rdar://problem/13396515>
601         <rdar://problem/16561084>
602
603         Reviewed by Sam Weinig and Tim Horton.
604
605         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
606         (WTR::InjectedBundle::platformInitialize): It was too late to override language
607         here, and it's not necessary any more. Keeping the code for older OS versions in
608         case it did have effect in some code paths.
609
610 2014-05-19  David Farler  <dfarler@apple.com>
611
612         Move WebKitTestRunner to std::unique_ptr
613         https://bugs.webkit.org/show_bug.cgi?id=133081
614
615         Reviewed by Daniel Bates.
616
617         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
618         (WTR::InjectedBundle::didCreatePage):
619         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
620         * WebKitTestRunner/TestController.cpp:
621         (WTR::TestController::initialize):
622         (WTR::TestController::createWebViewWithOptions):
623         (WTR::TestController::resetStateToConsistentValues):
624         (WTR::TestController::runTest):
625         * WebKitTestRunner/TestController.h:
626         * WebKitTestRunner/TestInvocation.cpp:
627         * WebKitTestRunner/TestInvocation.h:
628         * WebKitTestRunner/WorkQueueManager.cpp:
629         (WTR::WorkQueueManager::processWorkQueue):
630         (WTR::WorkQueueManager::enqueue):
631         * WebKitTestRunner/WorkQueueManager.h:
632
633 2014-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
634
635         [GTK] WebKitWebPage::send-request always pass a valid pointer for redirected response
636         https://bugs.webkit.org/show_bug.cgi?id=133119
637
638         Reviewed by Sergio Villar Senin.
639
640         Check that redirect response parameter of
641         WebKitWebPage::send-request signal is NULL when not redirecting
642         and a valid WebKitURIResponse object when redirecting.
643
644         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
645         (testWebResourceSendRequest):
646         (serverCallback):
647         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
648         (sendRequestCallback):
649
650 2014-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
651
652         REGRESSION(CMAKE): [GTK] Several WebKit2GTK+ unit tests are no longer built
653         https://bugs.webkit.org/show_bug.cgi?id=133117
654
655         Reviewed by Philippe Normand.
656
657         Bring back missing tests to the build.
658
659         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
660
661 2014-05-19  Filip Pizlo  <fpizlo@apple.com>
662
663         Take care of some ARM64 test failures
664         https://bugs.webkit.org/show_bug.cgi?id=133090
665
666         Reviewed by Geoffrey Garen.
667
668         * Scripts/run-jsc-stress-tests: Make it easier to conditionally skip things.
669
670 2014-05-19  David Kilzer  <ddkilzer@apple.com>
671
672         [iOS] REGRESSION (r168910): webkitdirs.pm: Be more forgiving when parsing --sdk, --device and --sim
673         <http://webkit.org/b/133089>
674
675         Reviewed by Darin Adler.
676
677         * Scripts/webkitdirs.pm:
678         (determineXcodeSDK): If both '--sdk SDKROOT' and '--sim' are
679         specified on the command line, we would remove the '--sdk'
680         arguments, but leave '--sim', potentially passing it along to
681         xcodebuild causing a build failure.  This happens when
682         'old-run-webkit-tests --release --sim' invokes
683         build-dumprendertree when DumpRenderTree hasn't been built yet.
684
685 2014-05-19  David Farler  <dfarler@apple.com>
686
687         Dashboard: OpenSource revision key changed from WebKitOpenSource to WebKit
688         https://bugs.webkit.org/show_bug.cgi?id=133086
689
690         Reviewed by Daniel Bates.
691
692         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
693
694 2014-05-19  David Kilzer  <ddkilzer@apple.com>
695
696         REGRESSION (r169042): Fix run-api-tests on Mountain Lion
697         <http://webkit.org/b/132954>
698
699         * Scripts/webkitdirs.pm:
700         (sharedCommandLineOptionsUsage): Remove the prototype for the
701         subroutine.  Older perls don't like the "+@" syntax.
702
703 2014-05-19  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
704
705         run-javascriptcore-tests should sort the list of failing stress tests
706         https://bugs.webkit.org/show_bug.cgi?id=132989
707
708         Reviewed by Csaba Osztrogonác.
709
710         * Scripts/run-javascriptcore-tests:
711
712 2014-05-19  David Kilzer  <ddkilzer@apple.com>
713
714         webkitdirs.pm: Add setupMacWebKitEnvironment() to set __XPC_DYLD_FRAMEWORK_PATH consistently
715         <http://webkit.org/b/132954>
716
717         Reviewed by Darin Adler.
718
719         Extract code into setupMacWebKitEnvironment() for setting up
720         common environment variables so it may be shared.  Sets
721         __XPC_DYLD_FRAMEWORK_PATH consistently and adds support for
722         using guardmalloc to some scripts.
723
724         Also adds support for parsing shared (common) command-line
725         switches, initially just -g|--guard-malloc.
726
727         * Scripts/bisect-builds: Add -g|--guard-malloc support by using
728         sharedCommandLineOptions() and sharedCommandLineOptionsUsage().
729         (mountAndRunNightly): Call setupMacWebKitEnvironment().  Use a
730         local copy of %ENV when launching Safari so we don't have to
731         restore variables.
732
733         * Scripts/run-api-tests: Add -g|--guard-malloc support by using
734         sharedCommandLineOptions() and sharedCommandLineOptionsUsage().
735         Check result of GetOptions() to catch invalid command-line
736         switches.
737         (runTest): Use a local copy of %ENV when running tests so we
738         don't have to restore variables.
739         (prepareEnvironmentForRunningTestTool): Call
740         setupMacWebKitEnvironment().
741
742         * Scripts/run-pageloadtest: Add -g|--guard-malloc support by
743         using sharedCommandLineOptions() and
744         sharedCommandLineOptionsUsage().  Call
745         setupMacWebKitEnvironment().
746
747         * Scripts/webkitdirs.pm:
748         (sharedCommandLineOptions): Return array of common switches to
749         pass to Getopt::Long::GetOptions().
750         (sharedCommandLineOptionsUsage): Return formatted string of
751         common switches for printing usage help text.
752         (setUpGuardMallocIfNeeded): Support using '-g' for enabling
753         guardmalloc.
754         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Ditto.
755         (setupMacWebKitEnvironment): Extracted from runMacWebKitApp()
756         and changed not to clobber DYLD_FRAMEWORK_PATH if already set.
757         (runMacWebKitApp): Call setupMacWebKitEnvironment().  Use a
758         local copy of %ENV when launching Safari so we don't have to
759         restore variables.
760         (execMacWebKitAppForDebugging): Call
761         setupMacWebKitEnvironment().
762
763 2014-05-18  Rik Cabanier  <cabanier@adobe.com>
764
765         support for navigator.hardwareConcurrency
766         https://bugs.webkit.org/show_bug.cgi?id=132588
767
768         Reviewed by Filip Pizlo.
769
770         * Scripts/webkitperl/FeatureList.pm:
771
772 2014-05-18  Anders Carlsson  <andersca@apple.com>
773
774         Implement Navigations for all methods declared returning one
775         https://bugs.webkit.org/show_bug.cgi?id=133048
776         <rdar://problem/16830064>
777
778         Reviewed by Sam Weinig.
779
780         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
781         Import WebKit.h.
782         
783         * MiniBrowser/mac/WK2BrowserWindowController.m:
784         (-[WK2BrowserWindowController webView:didStartProvisionalNavigation:]):
785         (-[WK2BrowserWindowController webView:didReceiveServerRedirectForProvisionalNavigation:]):
786         (-[WK2BrowserWindowController webView:didFailProvisionalNavigation:withError:]):
787         (-[WK2BrowserWindowController webView:didCommitNavigation:]):
788         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]):
789         (-[WK2BrowserWindowController webView:didFailNavigation:withError:]):
790         Print out the navigations.
791
792 2014-05-17  Zalan Bujtas  <zalan@apple.com>
793
794         Subpixel rendering: Add subpixelCSSOMElementMetricsEnabled to WK1 WebPreferences.
795         https://bugs.webkit.org/show_bug.cgi?id=133029
796
797         Reviewed by Simon Fraser.
798
799         Added a menu item to toggle subpixelCSSOMElementMetricsEnabled's value. However
800         toggling it on a WK2 window needs restart.
801         Adding dynamic toggle to WK2 requires a WebPreferences SPI. It's not worth cluttering
802         the WebPreferences just to support this temporary toggle.
803
804         * MiniBrowser/mac/BrowserWindowController.h:
805         * MiniBrowser/mac/MainMenu.xib:
806         * MiniBrowser/mac/WK1BrowserWindowController.m:
807         (-[WK1BrowserWindowController validateMenuItem:]):
808         (-[WK1BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]):
809         (-[WK1BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]):
810         * MiniBrowser/mac/WK2BrowserWindowController.m:
811         (-[WK2BrowserWindowController validateMenuItem:]):
812         (-[WK2BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]):
813         (-[WK2BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]):
814
815 2014-05-17  Anders Carlsson  <andersca@apple.com>
816
817         Replace WKContextSetDatabaseDirectory with two WKContextConfiguration parameters
818         https://bugs.webkit.org/show_bug.cgi?id=133033
819         <rdar://problem/16830143>
820
821         Reviewed by Sam Weinig.
822
823         Set up the WebSQL and IndexedDB directories.
824
825         * WebKitTestRunner/TestController.cpp:
826         (WTR::TestController::initialize):
827
828 2014-05-16  Martin Hock  <mhock@apple.com>
829
830         MemoryCache::addImageToCache should return the result of add().
831         https://bugs.webkit.org/show_bug.cgi?id=132928
832         <rdar://problem/16651547>
833
834         Reviewed by Alexey Proskuryakov.
835
836         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
837         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
838         * TestWebKitAPI/Tests/ios/MemoryCacheAddImageToCacheIOS.mm: Added.
839         (TestWebKitAPI::TEST):
840
841 2014-05-15  David Farler  <dfarler@apple.com>
842
843         old-run-webkit-tests: allow specifying a simulator app path
844         https://bugs.webkit.org/show_bug.cgi?id=132975
845
846         Reviewed by Anders Carlsson.
847
848         * Scripts/old-run-webkit-tests:
849         (openIPhoneSimulator):
850         Add new --simulator-app command line parameter for specifying the
851         absolute path to the simulator app to launch before starting a
852         session.
853
854 2014-05-16  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
855
856         [webkitpy] In case of multiple bug rollout, all bugs should be reopened, not only the oldest one
857         https://bugs.webkit.org/show_bug.cgi?id=131363
858
859         Reviewed by Csaba Osztrogonác.
860
861         * Scripts/webkitpy/common/checkout/checkout_mock.py:
862         * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
863         (MockBugzilla):
864         * Scripts/webkitpy/tool/commands/download_unittest.py:
865         (test_create_rollout_multiple_revision_with_one_resolved):
866         (test_create_rollout_multiple_resolved):
867         (test_rollout_two_revisions):
868         (test_rollout_multiple_revisions):
869         (test_rollout_multiple_revisions_with_a_missing_bug_id):
870         * Scripts/webkitpy/tool/steps/createbug.py:
871         (CreateBug.run):
872         * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
873         (ReopenBugAfterRollout.run):
874
875 2014-05-16  Martin Hodovan  <mhodovan.u-szeged@partner.samsung.com>
876
877         [WK2] Change the remaining framework includes from WebKit2 to WebKit
878         https://bugs.webkit.org/show_bug.cgi?id=132956
879
880         Reviewed by Sam Weinig.
881
882         * MiniBrowser/MiniBrowserWebProcessPlugIn.h:
883         * MiniBrowser/mac/AppDelegate.m:
884         * MiniBrowser/mac/WK2BrowserWindowController.m:
885         * TestWebKitAPI/InjectedBundleController.h:
886         * TestWebKitAPI/InjectedBundleMain.cpp:
887         * TestWebKitAPI/JavaScriptTest.cpp:
888         * TestWebKitAPI/PlatformUtilities.h:
889         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
890         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
891         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
892         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
893         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp:
894         (TestWebKitAPI::TEST):
895         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp:
896         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward.cpp:
897         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
898         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
899         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
900         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
901         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp:
902         * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp:
903         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
904         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
905         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
906         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp:
907         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
908         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
909         * TestWebKitAPI/Tests/WebKit2/Find.cpp:
910         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
911         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
912         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
913         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
914         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
915         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp:
916         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp:
917         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
918         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
919         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
920         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
921         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp:
922         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp:
923         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp:
924         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp:
925         * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp:
926         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
927         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp:
928         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp:
929         * TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp:
930         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp:
931         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp:
932         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp:
933         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp:
934         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp:
935         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp:
936         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp:
937         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp:
938         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
939         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
940         * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp:
941         * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp:
942         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications.mm:
943         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp:
944         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
945         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp:
946         * TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp:
947         * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
948         * TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp:
949         * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp:
950         * TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp:
951         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp:
952         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp:
953         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
954         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
955         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
956         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
957         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp:
958         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
959         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp:
960         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks.cpp:
961         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp:
962         * TestWebKitAPI/Tests/WebKit2/mac/EditorCommands.mm:
963         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm:
964         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor_Bundle.mm:
965         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
966         * TestWebKitAPI/Tests/WebKit2/mac/WeakObjCPtr.mm:
967         * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
968         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
969         * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
970         * TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp:
971         * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
972         * TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp:
973         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
974         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
975         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp:
976         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
977         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
978         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp:
979         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
980         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
981         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:
982         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
983         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
984         * TestWebKitAPI/config.h:
985         * TestWebKitAPI/efl/PlatformWebView.cpp:
986         * TestWebKitAPI/mac/JavaScriptTestMac.mm:
987         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
988         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
989         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
990         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
991         * WebKitTestRunner/EventSenderProxy.h:
992         * WebKitTestRunner/GeolocationProviderMock.cpp:
993         * WebKitTestRunner/GeolocationProviderMock.h:
994         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
995         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
996         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
997         * WebKitTestRunner/InjectedBundle/GCController.cpp:
998         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
999         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1000         * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
1001         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1002         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
1003         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1004         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1005         * WebKitTestRunner/InjectedBundle/TextInputController.cpp:
1006         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
1007         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
1008         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1009         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
1010         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
1011         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
1012         * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm:
1013         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1014         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1015         * WebKitTestRunner/PlatformWebView.h:
1016         * WebKitTestRunner/StringFunctions.h:
1017         * WebKitTestRunner/TestController.cpp:
1018         * WebKitTestRunner/TestController.h:
1019         * WebKitTestRunner/TestInvocation.cpp:
1020         * WebKitTestRunner/TestInvocation.h:
1021         * WebKitTestRunner/WebKitTestRunnerPrefix.h:
1022         * WebKitTestRunner/WebNotificationProvider.cpp:
1023         * WebKitTestRunner/WebNotificationProvider.h:
1024         * WebKitTestRunner/WorkQueueManager.cpp:
1025         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
1026         * WebKitTestRunner/cg/TestInvocationCG.cpp:
1027         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
1028         * WebKitTestRunner/config.h:
1029         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1030         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1031         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1032         * WebKitTestRunner/ios/TestControllerIOS.mm:
1033         * WebKitTestRunner/mac/EventSenderProxy.mm:
1034         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1035         * WebKitTestRunner/mac/TestControllerMac.mm:
1036
1037 2014-05-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1038
1039         [EFL][WK2] Skip failing unit tests
1040         https://bugs.webkit.org/show_bug.cgi?id=132979
1041
1042         Reviewed by Daniel Bates.
1043
1044         * TestWebKitAPI/PlatformEfl.cmake: Skip failing unit tests for now.
1045
1046 2014-05-15  David Kilzer  <ddkilzer@apple.com>
1047
1048         [iOS] Support TestWebKitAPI in the iOS Simulator
1049         <http://webkit.org/b/129535>
1050         <rdar://problem/16203529>
1051
1052         Reviewed by Daniel Bates.
1053
1054         * Scripts/run-api-tests:
1055         (runTest):
1056         (listAllTests):
1057         - Extract common arguments into local variable.
1058         - Use xcrun to find the sim tool in order to invoke
1059         TestWebKitAPI properly in the iOS Simulator. 
1060
1061         * Scripts/webkitdirs.pm:
1062         (argumentsForConfiguration): Set --device or --sim as
1063         appropriate to fix buildTestTool() in run-api-tests.
1064
1065 2014-05-15  Tim Horton  <timothy_horton@apple.com>
1066
1067         Fix a logging typo in copy-webkitlibraries-to-product-directory
1068
1069         Reviewed by Dean Jackson.
1070
1071         * Scripts/copy-webkitlibraries-to-product-directory:
1072
1073 2014-05-15  David Kilzer  <ddkilzer@apple.com>
1074
1075         TestWebKitAPI: URLExtras.mm should be a shared test for iOS and Mac
1076         <http://webkit.org/b/132959>
1077
1078         Reviewed by Dan Bernstein.
1079
1080         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add
1081         Cocoa directory to project and move URLExtras.mm into it.
1082         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm: Renamed from Tools/TestWebKitAPI/Tests/mac/URLExtras.mm.
1083
1084 2014-05-15  Carlos Garcia Campos  <cgarcia@igalia.com>
1085
1086         [GTK] Compile all installed resources as GResources
1087         https://bugs.webkit.org/show_bug.cgi?id=131099
1088
1089         Reviewed by Philippe Normand.
1090
1091         * Scripts/webkitpy/port/gtk.py:
1092         (GtkPort.setup_environ_for_server): Removed now unneeded
1093         AUDIO_RESOURCES_PATH env var.
1094
1095 2014-05-14  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
1096
1097         Remove CSS_STICKY_POSITION guards
1098         https://bugs.webkit.org/show_bug.cgi?id=132676
1099
1100         Reviewed by Simon Fraser.
1101
1102         * Scripts/webkitperl/FeatureList.pm:
1103
1104 2014-05-14  Carlos Garcia Campos  <cgarcia@igalia.com>
1105
1106         REGRESSION(CMAKE): [GTK] InputMethodFilter unit test is not built
1107         https://bugs.webkit.org/show_bug.cgi?id=132686
1108
1109         Reviewed by Philippe Normand.
1110
1111         Bring back InputMethodFilter test to the build and compile it into
1112         a single binary TestWebCore with the other WebCore tests. Also
1113         move it from TestWebKitAPI/gtk/ to TestWebKitAPI/Tests/WebCore/gtk/.
1114
1115         * Scripts/run-gtk-tests:
1116         (TestRunner): Remove WebCoreGtk from the list of test directories.
1117         * TestWebKitAPI/PlatformGTK.cmake:
1118         * TestWebKitAPI/Tests/WebCore/gtk/InputMethodFilter.cpp: Renamed from Tools/TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp.
1119
1120 2014-05-14  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
1121
1122         [EFL] Make XVFBDriver optional
1123         https://bugs.webkit.org/show_bug.cgi?id=131036
1124
1125         Reviewed by Gyuyoung Kim.
1126
1127         * Scripts/webkitpy/port/efl.py:
1128         (EflPort._driver_class):
1129
1130 2014-05-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1131
1132         Flakiness dashboard contains outdated list of bots on builders.jsonp
1133         https://bugs.webkit.org/show_bug.cgi?id=132874
1134
1135         Reviewed by Darin Adler.
1136
1137         * TestResultServer/static-dashboards/builders.jsonp: Regenerate this
1138         file by changing to the directory Tools/TestResultServer and executing
1139         the script generate_builders_json.py
1140
1141 2014-05-11  Anders Carlsson  <andersca@apple.com>
1142
1143         Replace WKContextSetLocalStorageDirectory with a context configuration getter/setter
1144         https://bugs.webkit.org/show_bug.cgi?id=132809
1145
1146         Reviewed by Dan Bernstein.
1147
1148         * WebKitTestRunner/TestController.cpp:
1149         (WTR::TestController::initialize):
1150         Set the local storage directory using WKContextConfigurationSetLocalStorageDirectory.
1151
1152 2014-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
1153
1154         REGRESSION(CMAKE): [GTK] JavaScriptCore API tests are not built anymore
1155         https://bugs.webkit.org/show_bug.cgi?id=132739
1156
1157         Reviewed Anders Carlsson.
1158
1159         * TestWebKitAPI/CMakeLists.txt: Add missing includes required by
1160         the JSC unit tests.
1161         * TestWebKitAPI/PlatformGTK.cmake: Bring back JavaScriptCore unit tests.
1162
1163 2014-05-11  Anders Carlsson  <andersca@apple.com>
1164
1165         Add a WKContextConfigurationRef object and make the injected bundle path part of the configuration
1166         https://bugs.webkit.org/show_bug.cgi?id=132806
1167
1168         Reviewed by Beth Dakin.
1169
1170         Migrate to WKContextConfiguration.
1171
1172         * WebKitTestRunner/TestController.cpp:
1173         (WTR::TestController::initialize):
1174
1175 2014-05-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1176
1177         REGRESSION(CMAKE): [GTK] WebKit2 C API tests are not longer built in the same binary
1178         https://bugs.webkit.org/show_bug.cgi?id=132685
1179
1180         Reviewed by Martin Robinson.
1181
1182         Use a single TestWebKit2 binary for all WebKit2 C API tests.
1183
1184         * TestWebKitAPI/PlatformGTK.cmake:
1185
1186 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
1187
1188         [iOS] Switch geolocation to an explicit authorization query model
1189         https://bugs.webkit.org/show_bug.cgi?id=132717
1190
1191         Reviewed by Sam Weinig.
1192
1193         * DumpRenderTree/mac/MockGeolocationProvider.mm:
1194         (-[MockGeolocationProvider initializeGeolocationForWebView:listener:]):
1195         (-[MockGeolocationProvider cancelWarmUpForWebView:]): Deleted.
1196
1197 2014-05-09  David Farler  <dfarler@apple.com>
1198
1199         com.apple.iphonesimulator.startSession needs to pass "RuntimeIdentifier"
1200         https://bugs.webkit.org/show_bug.cgi?id=132718
1201
1202         Reviewed by David Kilzer.
1203
1204         The simulator may not be able to look up runtimes by SDK paths
1205         and instead will map SDK versions to runtimes instead. In
1206         com.apple.iphonesimulator.startSession notifications,
1207         'runtimeIdentifier' (SDK version string) is preferred over
1208         'sdkRoot' (SDK path) anyway. Include the 'runtimeIdentifier' key
1209         when creating a new DRT or WKTR simulator session.
1210
1211         IPhoneSimulatorNotification.pm filters out keys for this
1212         notification's userInfo with a hard-coded list. There's no harm
1213         in including extra key-value pairs in an NSNotification userInfo
1214         dictionary anyway and the simulator may again change its
1215         userInfo schema for this notification.
1216
1217         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm:
1218         (postStartSessionNotification):
1219         * Scripts/old-run-webkit-tests:
1220         (installAndLaunchDumpToolAppUsingNotification):
1221
1222 2014-05-09  Anders Carlsson  <andersca@apple.com>
1223
1224         Another build fix.
1225
1226         * Scripts/build-webkit:
1227         WebKit2 should always be built for OS X and iOS.
1228
1229 2014-05-09  Anders Carlsson  <andersca@apple.com>
1230
1231         Follow-up build fix.
1232
1233         * Scripts/build-webkit:
1234         WebKit2 should no longer be built before WebKit.
1235
1236 2014-05-09  Anders Carlsson  <andersca@apple.com>
1237
1238         Rename WebKit2.framework to WebKit.framework
1239         https://bugs.webkit.org/show_bug.cgi?id=132743
1240         <rdar://problem/15920046>
1241
1242         Reviewed by Dan Bernstein.
1243
1244         * Scripts/check-for-inappropriate-files-in-framework:
1245         Use PRODUCT_NAME instead of PROJECT_NAME when matching frameworks.
1246         Change WebKit2 to WebKit.
1247
1248         * Scripts/check-for-webkit-framework-include-consistency:
1249         Change WebKit to WebKitLegacy.
1250
1251 2014-05-09  Manuel Rego Casasnovas  <rego@igalia.com>
1252
1253         Remove GTK+ WK1 EWS from build.webkit.org/dashboard
1254         https://bugs.webkit.org/show_bug.cgi?id=132732
1255
1256         Reviewed by Alexey Proskuryakov.
1257
1258         GTK+ WK1 EWS was removed in r166427, so it shouldn't appear in the dashboard.
1259
1260         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWS.js:
1261         (EWS): Remove GTK+ WK1 EWS.
1262
1263 2014-05-09  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1264
1265         Add new u-szeged contributors.
1266
1267         Reviewed by Csaba Osztrogonác.
1268
1269         * Scripts/webkitpy/common/config/contributors.json:
1270
1271 2014-05-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1272
1273         REGRESSION(CMAKE): [GTK] run-gtk-tests doesn't set the right injected bundle path
1274         https://bugs.webkit.org/show_bug.cgi?id=132736
1275
1276         Reviewed by Philippe Normand.
1277
1278         There are two problems, the path returned by common.library_build_path() is wrong when
1279         common.binary_build_path() has previously been called, and the test is still looking for
1280         the .la instead of .so
1281
1282         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
1283         (TestWebKitAPI::Util::createInjectedBundlePath): Use .so instead
1284         of .la as extension of the injected bundle library.
1285         * gtk/common.py:
1286         (binary_build_path): Remove unused global variable and add a new
1287         one for binary_build_dir instead of sharing the same global
1288         variable for library_build_path and binary_build_path.
1289
1290 2014-05-08  Praveen R Jadhav  <praveen.j@samsung.com>
1291
1292         [EFL] Enable MEDIA_STREAM for EFL port
1293         https://bugs.webkit.org/show_bug.cgi?id=132648
1294
1295         Reviewed by Gyuyoung Kim.
1296
1297         Script modified to enable MEDIA_STREAM for EFL build.
1298
1299         * Scripts/webkitperl/FeatureList.pm: 
1300
1301 2014-05-08  David Farler  <dfarler@apple.com>
1302
1303         old-run-webkit-tests: update strings for simulator devices and app name
1304         https://bugs.webkit.org/show_bug.cgi?id=132687
1305
1306         Reviewed by Darin Adler.
1307
1308         iPhone Retina (4-inch) -> iPhone 5
1309         iPhone Retina (4-inch 64-bit) -> iPhone 5s
1310
1311         * Scripts/old-run-webkit-tests:
1312         (installAndLaunchDumpToolAppUsingNotification):
1313         (openIPhoneSimulator):
1314         (quitIPhoneSimulator):
1315         quit iOS Simulator, not iPhone Simulator.
1316
1317 2014-05-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1318
1319         REGRESSION(r168471): Update the builder names on the scheduler list.
1320         https://bugs.webkit.org/show_bug.cgi?id=132699
1321
1322         Reviewed by Martin Robinson.
1323
1324         On r168471 I missed to update the builder names for the GTK build
1325         bots on the AnyBranchScheduler type scheduler list of bots.
1326
1327         * BuildSlaveSupport/build.webkit.org-config/config.json:
1328
1329 2014-05-08  Brady Eidson  <beidson@apple.com>
1330
1331         "shouldKeepCurrentBackForwardListItemInList" API should pass clientInfo to the callback
1332         <rdar://problem/16855357> and https://bugs.webkit.org/show_bug.cgi?id=132692
1333
1334         Reviewed by Tim Horton.
1335
1336         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp:
1337         (TestWebKitAPI::shouldKeepCurrentBackForwardListItemInList):
1338
1339 2014-05-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1340
1341         REGRESSION(r168471): Duplicate builddirs broke the build master.
1342         https://bugs.webkit.org/show_bug.cgi?id=132688
1343
1344         Reviewed by Carlos Garcia Campos.
1345
1346         Rename the builddirs of the new GTK bots introduced on r168471 to
1347         be unique. Otherwise the master will break.
1348
1349         * BuildSlaveSupport/build.webkit.org-config/config.json:
1350
1351 2014-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
1352
1353         [GTK] webkitdom script assumes mkdir only fails because the directory already exists
1354         https://bugs.webkit.org/show_bug.cgi?id=132674
1355
1356         Reviewed by Philippe Normand.
1357
1358         Only ignore mkdir failure when exception is raised because the
1359         file already exists and it's a directory.
1360
1361         * gtk/webkitdom.py:
1362         (write_doc_files):
1363
1364 2014-05-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1365
1366         [WK2][GTK] Split the 64-bit GTK buildbots in Build and Test.
1367         https://bugs.webkit.org/show_bug.cgi?id=131358
1368
1369         Reviewed by Carlos Garcia Campos.
1370
1371         Current 64-bit GTK build bots (Release and Debug) not only test
1372         the build, but run all tests. Split each one of the bots in
1373         BuildOnly and TestWebKit2.
1374
1375         This will allow us to have a better overview of the status of
1376         the GTK port.
1377
1378         Original patch from Sergio Villar Senin <svillar@igalia.com>
1379
1380         * BuildSlaveSupport/build.webkit.org-config/config.json:
1381         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
1382         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1383         (WebKitBuildbot):
1384         * Scripts/webkitpy/port/builders.py:
1385         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1386         (TestRebaselineTest.test_baseline_directory):
1387         * TestResultServer/static-dashboards/builders.jsonp:
1388         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
1389         (resetGlobals):
1390         * TestResultServer/static-dashboards/loader_unittests.js:
1391
1392 2014-05-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1393
1394         [CoordinatedGraphics][WK2] Scale factor and scroll position is not being restored properly in a back/forward load
1395         https://bugs.webkit.org/show_bug.cgi?id=126022
1396
1397         Reviewed by Benjamin Poulain.
1398
1399         Original author : Thiago de Barros Lacerda, and finished by Gyuyoung Kim.
1400
1401         Added an unit test case to check if scroll position and scale are restored properly.
1402
1403         * TestWebKitAPI/PlatformEfl.cmake:
1404         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward.cpp: Added.
1405         (TestWebKitAPI::didFinishLoadForFrame):
1406         (TestWebKitAPI::didChangeContentsPosition):
1407         (TestWebKitAPI::TEST):
1408         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward1.html: Added.
1409         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward2.html: Added.
1410
1411 2014-05-07  Simon Fraser  <simon.fraser@apple.com>
1412
1413         WebKit1 is flashy when compositing layers come and go
1414         https://bugs.webkit.org/show_bug.cgi?id=132655
1415         <rdar://problem/16830981&16788846>
1416
1417         Reviewed by Sam Weinig.
1418         
1419         Revert the change from r166117.
1420
1421         * DumpRenderTree/mac/DumpRenderTree.mm:
1422         (updateDisplay):
1423
1424 2014-05-07  Chris Fleizach  <cfleizach@apple.com>
1425
1426         AX: AXSelectTextWithCriteria should support capitalize/lowercase/uppercase
1427         https://bugs.webkit.org/show_bug.cgi?id=132622
1428
1429         Reviewed by Mario Sanchez Prada.
1430
1431         * DumpRenderTree/AccessibilityUIElement.cpp:
1432         (selectTextWithCriteriaCallback):
1433         (isEqualCallback):
1434         * DumpRenderTree/AccessibilityUIElement.h:
1435         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1436         (AccessibilityUIElement::selectTextWithCriteria):
1437         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1438         (AccessibilityUIElement::selectTextWithCriteria):
1439         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1440         (selectTextParameterizedAttributeForCriteria):
1441         (AccessibilityUIElement::selectTextWithCriteria):
1442         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1443         (AccessibilityUIElement::selectTextWithCriteria):
1444         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1445         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1446         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1447         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1448         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1449         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1450         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1451         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1452         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1453         (WTR::selectTextParameterizedAttributeForCriteria):
1454         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1455
1456 2014-05-07  Carlos Garcia Campos  <cgarcia@igalia.com>
1457
1458         [SOUP] TLSErrors do not cause page load to fail when not ignored
1459         https://bugs.webkit.org/show_bug.cgi?id=121548
1460
1461         Reviewed by Sergio Villar Senin.
1462
1463         Add unit tests to check that the load fails with TLS errors in
1464         case of a redirection.
1465
1466         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
1467         (testTLSErrorsRedirect):
1468         (httpsServerCallback):
1469         (beforeAll):
1470
1471 2014-05-07  Manuel Rego Casasnovas  <rego@igalia.com>
1472
1473         [CSS Grid Layout] Remove runtime feature
1474         https://bugs.webkit.org/show_bug.cgi?id=132382
1475
1476         Reviewed by Benjamin Poulain.
1477
1478         Remove cssGridLayoutEnabled setting usage.
1479
1480         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1481         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1482         * DumpRenderTree/efl/TestRunnerEfl.cpp:
1483         (TestRunner::overridePreference):
1484         * DumpRenderTree/mac/DumpRenderTree.mm:
1485         (resetWebPreferencesToConsistentValues):
1486
1487 2014-05-06  David Kilzer  <ddkilzer@apple.com>
1488
1489         Add Makefile targets for copying static libraries (LLVM and WKSI)
1490         <http://webkit.org/b/132619>
1491
1492         Reviewed by Mark Rowe.
1493
1494         * Scripts/copy-webkitlibraries-to-product-directory: Set a
1495         sensible default for product directory if not specified on
1496         either the command-line or in the environment (by Xcode) by
1497         calling productDir() in webkitdirs.pm.
1498
1499 2014-05-06  Brady Eidson  <beidson@apple.com>
1500
1501         Add WK2 SPI to prevent the previous back/forward item from remaining in the list
1502         <rdar://problem/16248710> and https://bugs.webkit.org/show_bug.cgi?id=132636
1503
1504         Reviewed by Sam Weinig.
1505
1506         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1507
1508         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp: Added.
1509         (TestWebKitAPI::itemURLLastComponentIsString):
1510         (TestWebKitAPI::didFinishLoadForFrame):
1511         (TestWebKitAPI::willGoToBackForwardListItem):
1512         (TestWebKitAPI::shouldKeepCurrentBackForwardListItemInList):
1513         (TestWebKitAPI::setPageLoaderClient):
1514         (TestWebKitAPI::TEST):
1515         * TestWebKitAPI/Tests/WebKit2/simple2.html: Added.
1516         * TestWebKitAPI/Tests/WebKit2/simple3.html: Added.
1517
1518         * WebKitTestRunner/TestController.cpp:
1519         (WTR::TestController::createWebViewWithOptions): Update for new client layout.
1520
1521 2014-05-06  Darin Adler  <darin@apple.com>
1522
1523         Try to fix iOS build.
1524
1525         * DumpRenderTree/mac/TestRunnerMac.mm:
1526         (-[APITestDelegateIPhone initWithTestRunner:utf8Data:baseURL:]):
1527         Updated since I changed testRunner into a pointer instead of a reference.
1528         Updated argument names to avoid conflict with field names.
1529         (-[APITestDelegateIPhone run]): Ditto.
1530         (-[APITestDelegateIPhone _cleanUp]): Ditto.
1531
1532 2014-05-06  Commit Queue  <commit-queue@webkit.org>
1533
1534         Unreviewed, rolling out r168304.
1535         https://bugs.webkit.org/show_bug.cgi?id=132607
1536
1537         Broke the build (Requested by KaL on #webkit).
1538
1539         Reverted changeset:
1540
1541         "[GTK][CMake] Unable to do make install"
1542         https://bugs.webkit.org/show_bug.cgi?id=130188
1543         http://trac.webkit.org/changeset/168304
1544
1545 2014-05-04  Darin Adler  <darin@apple.com>
1546
1547         RetainPtr: Use adoptCF function instead of AdoptCF constructor argument
1548         https://bugs.webkit.org/show_bug.cgi?id=80222
1549
1550         Reviewed by Alexey Proskuryakov.
1551
1552         * DumpRenderTree/mac/TestRunnerMac.mm:
1553         (-[APITestDelegateIPhone initWithTestRunner:utf8Data:baseURL:]): Updated to
1554         do more work here so we don't use RetainPtr local variables.
1555         (-[APITestDelegateIPhone dealloc]): Added.
1556         (-[APITestDelegateIPhone run]): Added an early exit if the web view is already
1557         created. Updated for changes to member names and types.
1558         (-[APITestDelegateIPhone _cleanUp]): Added code to set webView to nil and
1559         updated for changes to member names and types. Changed to two word spelling.
1560         (-[APITestDelegateIPhone webView:didFailLoadWithError:forFrame:]): Updated
1561         name of _cleanUp method.
1562         (-[APITestDelegateIPhone webView:didFailProvisionalLoadWithError:forFrame:]):
1563         Ditto.
1564         (-[APITestDelegateIPhone webView:didFinishLoadForFrame:]): Ditto.
1565
1566 2014-05-05  Benjamin Poulain  <benjamin@webkit.org>
1567
1568         Clean up Image Document and tweak the layout and viewport
1569         https://bugs.webkit.org/show_bug.cgi?id=132552
1570
1571         Reviewed by Anders Carlsson.
1572
1573         * DumpRenderTree/mac/DumpRenderTree.mm:
1574         (resetWebPreferencesToConsistentValues):
1575         Update the default settings to have something consistent with WebKit2.
1576
1577 2014-05-05  Martin Robinson  <mrobinson@igalia.com>
1578
1579         [GTK][CMake] Unable to do make install
1580         https://bugs.webkit.org/show_bug.cgi?id=130188
1581
1582         Reviewed by Carlos Garcia Campos.
1583
1584         * Scripts/webkitdirs.pm:
1585         (buildCMakeGeneratedProject): Always build gtkdoc-no-html for WebKitGTK+. This
1586         will give an early signal that a change has broken the documentation.
1587
1588 2014-05-05  Pratik Solanki  <psolanki@apple.com>
1589
1590         Update framework locations in package-root
1591         https://bugs.webkit.org/show_bug.cgi?id=132571
1592
1593         Reviewed by Simon Fraser.
1594
1595         * Scripts/package-root:
1596
1597 2014-05-05  Ryuan Choi  <ryuan.choi@samsung.com>
1598
1599         [EFL][WK2] Refactor favicon database APIs
1600         https://bugs.webkit.org/show_bug.cgi?id=132519
1601
1602         Reviewed by Gyuyoung Kim.
1603
1604         * MiniBrowser/efl/main.c: Use ewk_favicon_database_icon_get instead of ewk_view_favicon_get.
1605         (update_view_favicon):
1606         (on_icon_changed_cb):
1607         (window_free):
1608         (on_url_changed):
1609         (window_create):
1610         (on_view_favicon_changed): Deleted.
1611
1612 2014-05-02  Mark Rowe  <mrowe@apple.com>
1613
1614         <https://webkit.org/b/132505> Make it possible to tell copy-webkitlibraries-to-product-directory which OS X version to copy for
1615
1616         Reviewed by Dan Bernstein.
1617
1618         * Scripts/copy-webkitlibraries-to-product-directory: Add an --osx-version argument and use the passed value
1619         when determining which LLVM archive to extract.
1620
1621 2014-05-02  Jeremy Jones  <jeremyj@apple.com>
1622
1623         Add Jeremy as a committer.
1624         https://bugs.webkit.org/show_bug.cgi?id=132492
1625
1626         Reviewed by Jer Noble.
1627
1628         Add myself as a committer.
1629
1630         * Scripts/webkitpy/common/config/contributors.json:
1631
1632 2014-05-02  Jeremy Jones  <jeremyj@apple.com>
1633
1634         Add Jeremy as a committer.
1635         https://bugs.webkit.org/show_bug.cgi?id=132492
1636
1637         Reviewed by Jer Noble.
1638
1639         Add Jeremy Jones to the committers file.
1640
1641         * Scripts/webkitpy/common/config/contributors.json:
1642
1643 2014-05-02  Brian J. Burg  <burg@cs.washington.edu>
1644
1645         Hard to figure out how to run a single test with run-api-tests
1646         https://bugs.webkit.org/show_bug.cgi?id=116332
1647
1648         Reviewed by Alexey Proskuryakov.
1649
1650         * Scripts/run-api-tests: add two examples to the help message.
1651
1652 2014-05-02  Simon Fraser  <simon.fraser@apple.com>
1653
1654         Fix several memory leaks found by code inspection
1655         https://bugs.webkit.org/show_bug.cgi?id=132472
1656
1657         Reviewed by Geoffrey Garen.
1658         
1659         Fix memory leaks.
1660
1661         * TestWebKitAPI/Tests/mac/WillSendSubmitEvent.mm:
1662         (TestWebKitAPI::TEST):
1663         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1664         (WTR::InjectedBundlePage::willSendRequestForFrame):
1665         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1666         (WTR::PlatformWebView::changeWindowScaleIfNeeded):
1667
1668 2014-05-02  Filip Pizlo  <fpizlo@apple.com>
1669
1670         DFGAbstractInterpreter should not claim Int52 arithmetic creates Int52s
1671         https://bugs.webkit.org/show_bug.cgi?id=132446
1672
1673         Reviewed by Mark Hahnenberg.
1674         
1675         Test the FTL by default now that it's enabled by default.
1676
1677         * Scripts/run-javascriptcore-tests:
1678
1679 2014-05-01  Ryuan Choi  <ryuan.choi@samsung.com>
1680
1681         [EFL][WK1] Drop ewk_view_setting_tiled_backingstore APIs
1682         https://bugs.webkit.org/show_bug.cgi?id=132240
1683
1684         Reviewed by Anders Carlsson.
1685
1686         Removed ewk_view_setting_tiled_backingstore related code.
1687
1688         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1689         (DumpRenderTreeChrome::createView):
1690         (shouldUseTiledBackingStore): Deleted.
1691         * EWebLauncher/main.c:
1692         (windowCreate):
1693         (parseUserArguments):
1694
1695 2014-05-01  Anders Carlsson  <andersca@apple.com>
1696
1697         window.testRunner.keepWebHistory() should update the UI process state
1698         https://bugs.webkit.org/show_bug.cgi?id=132440
1699
1700         Reviewed by Dan Bernstein.
1701
1702         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1703         (WTR::InjectedBundle::postSetAddsVisitedLinks):
1704         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1705         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1706         (WTR::TestRunner::keepWebHistory):
1707         * WebKitTestRunner/TestInvocation.cpp:
1708         (WTR::TestInvocation::invoke):
1709         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1710
1711 2014-05-01  David Kilzer  <ddkilzer@apple.com>
1712
1713         Really remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
1714         <http://webkit.org/b/132432>
1715
1716         Reviewed by Tim Horton.
1717
1718         * Scripts/webkitperl/FeatureList.pm: Remove support for
1719         --plugin-proxy-for-video switch.
1720
1721 2014-04-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1722
1723         Kernel sysctl interface hw.activecpu don't exists on Linux.
1724         https://bugs.webkit.org/show_bug.cgi?id=132286
1725
1726         Reviewed by Filip Pizlo.
1727
1728         * Scripts/run-jsc-stress-tests: Redirect stderr to null when
1729         calling sysctl over hw.activecpu
1730
1731 2014-04-30  Anders Carlsson  <andersca@apple.com>
1732
1733         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
1734         https://bugs.webkit.org/show_bug.cgi?id=132399
1735         <rdar://problem/15920046>
1736
1737         Reviewed by Dan Bernstein.
1738
1739         * Scripts/check-for-webkit-framework-include-consistency:
1740         Allos WAK headers in WebKitLegacy as well as WebKit.
1741
1742         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
1743         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1744         Update header imports.
1745
1746 2014-04-30  Simon Fraser  <simon.fraser@apple.com>
1747
1748         [iOS WK2] Add test URL to crash reports for the UI process, clean up project
1749         https://bugs.webkit.org/show_bug.cgi?id=131954
1750
1751         Reviewed by Darin Adler.
1752         
1753         WebKitTestRunner was adding application-specific information to crash reports
1754         to log the test path, but only in the web process. Fix it to also do this
1755         for the UI process, for both iOS and OS X.
1756         
1757         Moved InjectedBundlePageMac.mm to InjectedBundlePageCocoa.mm and compile it for
1758         both iOS and OS X.
1759         
1760         Factored crash reprorter-related code into CrashReporterInfo, and call it from
1761         a new TestController::platformWillRunTest() function on Mac and iOS.
1762         
1763         Also remove Xcode-added unit test junk from the project.
1764
1765         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm: Copied from Tools/WebKitTestRunner/InjectedBundle/ios/InjectedBundlePageIOS.mm.
1766         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
1767         * WebKitTestRunner/TestController.cpp:
1768         (WTR::TestController::runTest):
1769         * WebKitTestRunner/TestController.h:
1770         * WebKitTestRunner/TestInvocation.cpp:
1771         (WTR::TestInvocation::url):
1772         * WebKitTestRunner/TestInvocation.h:
1773         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1774         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests-Info.plist: Removed.
1775         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests.m: Removed.
1776         * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj/InfoPlist.strings: Removed.
1777         * WebKitTestRunner/cocoa/CrashReporterInfo.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/ios/InjectedBundlePageIOS.mm.
1778         * WebKitTestRunner/cocoa/CrashReporterInfo.mm: Renamed from Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm.
1779         (WTR::testPathFromURL):
1780         (WTR::setCrashReportApplicationSpecificInformationToURL):
1781         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1782         (WTR::TestController::platformWillRunTest):
1783         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1784         (WTR::TestController::platformWillRunTest):
1785         * WebKitTestRunner/ios/TestControllerIOS.mm:
1786         (WTR::TestController::platformWillRunTest):
1787         (WTR::TestController::setHidden):
1788         * WebKitTestRunner/mac/TestControllerMac.mm:
1789         (WTR::TestController::platformWillRunTest):
1790
1791 2014-04-30  Simon Fraser  <simon.fraser@apple.com>
1792
1793         Fix DRT assertion about mock scrollbars, which doesn't apply to iOS.
1794
1795         Reviewed by Tim Horton.
1796
1797         * DumpRenderTree/mac/DumpRenderTree.mm:
1798         (resetWebPreferencesToConsistentValues):
1799         (prepareConsistentTestingEnvironment):
1800
1801 2014-04-30  Anders Carlsson  <andersca@apple.com>
1802
1803         check-for-inappropriate-macros-in-external-headers should get the product name, not the project name
1804         https://bugs.webkit.org/show_bug.cgi?id=132397
1805
1806         Reviewed by Dan Bernstein.
1807
1808         * Scripts/check-for-inappropriate-macros-in-external-headers:
1809
1810 2014-04-29  Martin Robinson  <mrobinson@igalia.com>
1811
1812         [GTK] Make it easier to run CMake for downstreams
1813         https://bugs.webkit.org/show_bug.cgi?id=132370
1814
1815         Reviewed by Carlos Garcia Campos.
1816
1817         * Scripts/webkitdirs.pm:
1818         (generateBuildSystemFromCMakeProject): Pass -DDEVELOPER_MODE when building
1819         the GTK+ port.
1820
1821 2014-04-29  Stephanie Lewis  <slewis@apple.com>
1822
1823         <rdar://problem/16765765> Use JSON::PP in perl scripts instead of JSON.
1824         
1825         Rubber stamped by Jessie Berlin.
1826
1827         JSON.pm was removed from our tools setup.
1828
1829         * Scripts/generate-coverage-data:
1830
1831 2014-04-29  Filip Pizlo  <fpizlo@apple.com>
1832
1833         Use LLVM as a backend for the fourth-tier DFG JIT (a.k.a. the FTL JIT)
1834         https://bugs.webkit.org/show_bug.cgi?id=112840
1835
1836         Rubber stamped by Geoffrey Garen.
1837
1838         * Scripts/build-jsc: Enable it on Mac.
1839         * Scripts/build-webkit: Enable it on Mac.
1840         * Scripts/export-llvm-build: Make it slightly easier to export the build if you've done a "make install".
1841
1842 2014-04-28  Sam Weinig  <sam@webkit.org>
1843
1844         REGRESSION (r167751): svn-create-patch is very slow
1845         https://bugs.webkit.org/show_bug.cgi?id=132300
1846
1847         Reviewed by Alexey Proskuryakov.
1848
1849         * Scripts/svn-create-patch:
1850         Change default behavior of svn-create-patch to no longer run the style checker. It can still be run
1851         by calling `svn-create-patch --style`.
1852
1853 2014-04-29  Enrique Ocaña González  <eocanha@igalia.com>
1854
1855         Generate Eclipse project + ninja build for GTK+ if Eclipse in available in the PATH
1856         https://bugs.webkit.org/show_bug.cgi?id=132190
1857
1858         Reviewed by Gustavo Noronha Silva.
1859
1860         * Scripts/webkitdirs.pm:
1861         (canUseEclipse): Test if Eclipse is in the path. This is the same method used to test
1862             if ninja is in the path.
1863         (generateBuildSystemFromCMakeProject): Use the eclipse generator if possible, fallback
1864             to the previous ninja generator if not.
1865
1866 2014-04-29  Jozsef Berta  <jberta.u-szeged@partner.samsung.com>
1867
1868         check-webkit-style should understand --git-index
1869         https://bugs.webkit.org/show_bug.cgi?id=125364
1870
1871         Reviewed by Csaba Osztrogonác.
1872
1873         * Scripts/webkitpy/common/checkout/scm/git.py:
1874         (Git.create_patch): The command now supports the --cached option.
1875         * Scripts/webkitpy/style/main.py:
1876         (CheckWebKitStyle.main): Passing the --git-index option.
1877         * Scripts/webkitpy/style/optparser.py:
1878         (CommandOptionValues.__init__): The git-index option is switched off by default.
1879         (CommandOptionValues.__eq__): Equality check for the new option.
1880         (ArgumentParser._create_option_parser):Adding the --git-index option
1881         (ArgumentParser.parse):
1882         * Scripts/webkitpy/style/optparser_unittest.py: New tests for the --git-index option
1883         (CommandOptionValuesTest.test_init): 
1884         (CommandOptionValuesTest.test_eq):
1885
1886 2014-04-28  Michael Saboff  <msaboff@apple.com>
1887
1888         Crash in platform/mac/accessibility/table-visible-rows.html
1889         https://bugs.webkit.org/show_bug.cgi?id=132146
1890
1891         Reviewed by Filip Pizlo.
1892
1893         Instead of creating a local JSValueRef array on the stack and passing that to
1894         JSObjectMakeArray(), changed to create an empty JSArray and then populate the
1895         values using the JSObjectSetPropertyAtIndex() API.
1896
1897         * DumpRenderTree/AccessibilityUIElement.cpp:
1898         (elementsForRangeCallback):
1899         (convertElementsToObjectArray):
1900         * DumpRenderTree/mac/TestRunnerMac.mm:
1901         (originsArrayToJS):
1902         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1903         (WTR::EventSendingController::contextClick):
1904         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1905         (WTR::stringArrayToJS):
1906         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1907         (WTR::convertElementsToObjectArray):
1908
1909 2014-04-28  Filip Pizlo  <fpizlo@apple.com>
1910
1911         Make sure that the coverage of our tests doesn't change much if we change the thresholds now and in the future, but making
1912         "no-cjit" runs force the old-school threshold.
1913
1914         Rubber stamped by Mark Hahnenberg.
1915
1916         * Scripts/run-jsc-stress-tests:
1917
1918 2014-04-28  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1919
1920         [GTK] install-dependencies should also install ruby-json and ruby-highline
1921         https://bugs.webkit.org/show_bug.cgi?id=132292
1922
1923         Reviewed by Philippe Normand.
1924
1925         * gtk/install-dependencies: Install ruby json and highline packages.
1926
1927 2014-04-27  Joonghun Park  <jh718.park@samsung.com>
1928
1929         [EFL] Remove indexedDB's dependency on leveldb and disable indexedDB
1930         https://bugs.webkit.org/show_bug.cgi?id=132176
1931
1932         Reviewed by Gyuyoung Kim.
1933
1934         EFL port will use sqlite to support indexedDB. So, this patch removes levelDB dependency
1935         and turn off indexedDB feature until the sqlite implementation is introduced.
1936
1937         * Scripts/webkitperl/FeatureList.pm:
1938
1939 2014-04-25  James Craig  <jcraig@apple.com>
1940
1941         Set prepare-Changelog flag so that it no longer runs check-webkit-style by default
1942         https://bugs.webkit.org/show_bug.cgi?id=132209
1943
1944         Reviewed by Daniel Bates.
1945
1946         Set default to --no-style to avoid additional spew from false positives in check-webkit-style.
1947         Run check-webkit-style before generating changelogs to avoid additional spurious errors.
1948
1949         * Scripts/prepare-ChangeLog:
1950         (main): 
1951
1952 2014-04-25  Michael Saboff  <msaboff@apple.com>
1953
1954         Crash in platform/mac/accessibility/table-visible-rows.html
1955         https://bugs.webkit.org/show_bug.cgi?id=132146
1956
1957         Reviewed by Mark Lam.
1958
1959         Changed to use a local JSValueRef array temporary instead of a
1960         std::make_unique<JSValueRef[]> when making an array of JSValues so that the temporary
1961         JSValues are visited during garbage collection when the stack is scanned.  Otherwise,
1962         the temporary values could be collected.
1963
1964         * DumpRenderTree/AccessibilityUIElement.cpp:
1965         (convertElementsToObjectArray):
1966         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1967         (WTR::EventSendingController::contextClick):
1968         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1969         (WTR::convertElementsToObjectArray):
1970
1971 2014-04-24  Eduardo Lima Mitev  <elima@igalia.com>
1972
1973         Unreviewed GTK gardening
1974
1975         * Scripts/run-gtk-tests: Skips one flaky accesibility test in WK2API suite
1976         (TestRunner):
1977
1978 2014-04-24  László Langó  <llango.u-szeged@partner.samsung.com>
1979
1980         prepare-ChangeLog reports as deleted methods that has not been removed.
1981         https://bugs.webkit.org/show_bug.cgi?id=131733
1982
1983         Reviewed by Ryosuke Niwa.
1984
1985         * Scripts/prepare-ChangeLog:
1986         (originalFile): Set merge base to origin/master by default.
1987
1988 2014-04-23  James Craig  <jcraig@apple.com>
1989
1990         prepare-Changelog and svn-create-patch should optionally run check-webkit-style.
1991         https://bugs.webkit.org/show_bug.cgi?id=131115
1992
1993         Reviewed by Daniel Bates.
1994
1995         Added [--[no-]style] param to run check-webkit-style as part of prepare-Changelog and svn-create-patch.
1996
1997         * Scripts/commit-log-editor: Added --no-style.
1998         * Scripts/prepare-ChangeLog: Primary patch.
1999         (main): Primary patch.
2000         (createPatchCommand): Added --no-style.
2001         * Scripts/svn-create-patch: Primary patch.
2002         * Scripts/webkit-tools-completion.sh: Added --style and --no-style.
2003         * Scripts/webkitpy/common/checkout/scm/svn.py: Added --no-style.
2004         (SVN.create_patch): Added --no-style.
2005
2006 2014-04-23  Anders Carlsson  <andersca@apple.com>
2007
2008         Try to fix iOS build.
2009
2010         * DumpRenderTree/mac/DumpRenderTree.mm:
2011
2012 2014-04-23  Alexey Proskuryakov  <ap@apple.com>
2013
2014         Eliminate internals.setMockScrollbarsEnabled()
2015         https://bugs.webkit.org/show_bug.cgi?id=132085
2016
2017         Reviewed by Tim Horton.
2018
2019         * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebPreferencesToConsistentValues):
2020         No need to reset the preference, there is no way it can change.
2021
2022 2014-04-23  James Craig  <jcraig@apple.com>
2023
2024         Unreviewed. Moving myself from Contributors to Committers list.
2025
2026         * Scripts/webkitpy/common/config/contributors.json:
2027
2028 2014-04-23  Tim Horton  <timothy_horton@apple.com>
2029
2030         Mock scrollbars don't always work in DumpRenderTree
2031         https://bugs.webkit.org/show_bug.cgi?id=132082
2032
2033         Reviewed by Alexey Proskuryakov.
2034
2035         * DumpRenderTree/mac/DumpRenderTree.mm:
2036         (prepareConsistentTestingEnvironment):
2037         Set the mock scrollbar setting before creating the WebView, as this setting
2038         cannot be dynamically changed, so any scrollbars that are created during
2039         WebView initialization and are not replaced before snapshotting will end
2040         up being platform scrollbars instead of mock ones.
2041         WebKitTestRunner already sets this preference before creating WKViews,
2042         so we're just matching its behavior.
2043
2044 2014-04-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2045
2046         [GTK] ShadowRoot API was removed in r164131
2047         https://bugs.webkit.org/show_bug.cgi?id=132059
2048
2049         Reviewed by Gustavo Noronha Silva.
2050
2051         Add WebKitDOMShadowRoot to the list of deleted classes to generate
2052         the API docs.
2053
2054         * gtk/webkitdom.py:
2055         (WebKitDOMDocGenerator):
2056
2057 2014-04-23  Lorenzo Tilve  <ltilve@igalia.com>
2058
2059         [GTK] run-webkit-tests script is failing to invoke run-launcher
2060         https://bugs.webkit.org/show_bug.cgi?id=132051
2061
2062         Reviewed by Philippe Normand.
2063
2064         After the WK1 support was dropped, if run-webkit-tests is executed
2065         without --no-show-results parameter, the launcher is being called
2066         using a -2 parameter that is it causing the run-launcher to break.
2067
2068         * Scripts/webkitpy/port/gtk.py:
2069         (GtkPort.show_results_html_file):
2070
2071 2014-04-22  Tim Horton  <timothy_horton@apple.com>
2072
2073         DumpRenderTree generates black snapshots on some platforms
2074         https://bugs.webkit.org/show_bug.cgi?id=132029
2075         <rdar://problem/16679363>
2076
2077         Reviewed by Simon Fraser.
2078
2079         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2080         (createBitmapContextFromWebView):
2081         DRT checks with the WebView to determine whether it can use the window's
2082         backing store directly or (because of compositing) needs to take a WindowServer
2083         snapshot. However, on some platforms and in some situations, the window can
2084         be layer backed without the WebView necessarily currently being composited.
2085         We should check with the window in addition to the WebView before going
2086         ahead and using its backing store.
2087
2088 2014-04-22  Tim Horton  <timothy_horton@apple.com>
2089
2090         DumpRenderTree generates white snapshots on some platforms
2091         https://bugs.webkit.org/show_bug.cgi?id=132026
2092         <rdar://problem/16679363>
2093
2094         Reviewed by Simon Fraser.
2095
2096         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2097         Link DRT against QuartzCore.
2098
2099         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2100         (createBitmapContextFromWebView):
2101         Force CoreAnimation to synchronously update layers in a more explicit
2102         way that doesn't depend on AppKit behavior. This is very similar to what
2103         WebKitTestRunner does (indirectly) during its force repaint.
2104
2105 2014-04-22  Brent Fulgham  <bfulgham@apple.com>
2106
2107         [Win] Support Python 2.7 in Cygwin
2108         https://bugs.webkit.org/show_bug.cgi?id=132023
2109
2110         Reviewed by Michael Saboff.
2111
2112         * Scripts/webkitdirs.pm:
2113         (checkInstalledTools): Remove check for Python 2.7, since
2114         it now works properly.
2115
2116 2014-04-22  Filip Pizlo  <fpizlo@apple.com>
2117
2118         Switch the LLVMForJSC target to using the LLVM in /usr/local rather than /usr/local/LLVMForJavaScriptCore on iOS
2119         https://bugs.webkit.org/show_bug.cgi?id=130867
2120         <rdar://problem/16432456> 
2121
2122         Reviewed by Mark Hahnenberg.
2123
2124         * Scripts/build-webkit:
2125         * Scripts/copy-webkitlibraries-to-product-directory:
2126
2127 2014-04-22  Gustavo Noronha Silva  <gns@gnome.org>
2128
2129         [GTK] Fails to build documentation when output is redirected
2130         https://bugs.webkit.org/show_bug.cgi?id=131178
2131
2132         Reviewed by Martin Robinson.
2133
2134         * gtk/generate-gtkdoc: set the output for stdout and stderr to UTF-8
2135         explicitly to avoid encoding issues when they are redirected.
2136
2137 2014-04-22  ChangSeok Oh  <changseok.oh@collabora.com>
2138
2139         [GTK] YCM choose a newer compile_commands.json in between Release or Debug
2140         https://bugs.webkit.org/show_bug.cgi?id=131911
2141
2142         Reviewed by Martin Robinson.
2143
2144         common.get_build_path returns release path even though Debug configuration
2145         is newer than Release. So YouCompleteMe is used to refer old build setup inadvertently.
2146
2147         * gtk/ycm_extra_conf.py:
2148         (get_build_path): Compare modified time of Release and Debug. And return a recent modified path.
2149         (FlagsForFile):
2150
2151 2014-04-21  Brent Fulgham  <bfulgham@apple.com>
2152
2153         Unreviewed build fix.
2154
2155         * DumpRenderTree/mac/EventSendingController.mm:
2156         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
2157         Correct a typo that prevented tests from working properly.
2158
2159 2014-04-21  Martin Robinson  <mrobinson@igalia.com>
2160
2161         [GTK] Should have the ability to output composited contents during layout testing
2162         https://bugs.webkit.org/show_bug.cgi?id=131864
2163
2164         Reviewed by Philippe Normand.
2165
2166         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2167         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Add a path that paints the widget contents
2168         to an image surface. We run the main loop a bit to match the implementation from WebKit1 and EFL.
2169         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2170         (WTR::PlatformWebView::windowSnapshotImage): Use the new UI-process path on GTK+.
2171
2172 2014-04-21  Sam Weinig  <sam@webkit.org>
2173
2174         Attempt to fix the tests.
2175
2176         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
2177         (-[DidFailProvisionalNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
2178         Add policy handler to override the new default of denying loads that NSURLConnection cannot handle.
2179
2180 2014-04-21  Filip Pizlo  <fpizlo@apple.com>
2181
2182         Unreviewed test gardening, make no-eager runs run everything except eager (as opposed to
2183         being the same as a "quick run", which is meant for genuinely slow tests).
2184
2185         * Scripts/run-jsc-stress-tests:
2186
2187 2014-04-21  Darin Adler  <darin@apple.com>
2188
2189         Add HashSet::takeAny
2190         https://bugs.webkit.org/show_bug.cgi?id=131928
2191
2192         Reviewed by Benjamin Poulain.
2193
2194         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Added a test for takeAny.
2195
2196 2014-04-20  Dan Bernstein  <mitz@apple.com>
2197
2198         Fixed a test timing out after r167572.
2199
2200         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
2201         (-[NavigationDelegate webView:didFinishNavigation:]): Renamed from
2202         -webView:didFinishLoadingNavigation:.
2203
2204 2014-04-20  Commit Queue  <commit-queue@webkit.org>
2205
2206         Unreviewed, rolling out r167510.
2207         https://bugs.webkit.org/show_bug.cgi?id=131915
2208
2209         broke GTK Debug bot (Requested by philn on #webkit).
2210
2211         Reverted changeset:
2212
2213         "[GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force
2214         it when running layout tests"
2215         https://bugs.webkit.org/show_bug.cgi?id=131472
2216         http://trac.webkit.org/changeset/167510
2217
2218 2014-04-18  Martin Robinson  <mrobinson@igalia.com>
2219
2220         [GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force it when running layout tests
2221         https://bugs.webkit.org/show_bug.cgi?id=131472
2222
2223         Reviewed by Philippe Normand.
2224
2225         * Scripts/webkitpy/port/gtk.py:
2226         (GtkPort.setup_environ_for_server): Use the LLVMPIPE_LIBGL_PATH to set the LD_LIBRARY_PATH
2227         when running WebKitTestRunner with run-webkit-tests.
2228         * gtk/jhbuild.modules: Add Mesa to the modulelist so that the llvmpipe libGL is build, but not
2229         installed.
2230         * gtk/jhbuildrc: Set the LLVMPIPE_LIBGL_PATH environment variable so that the test driver knows
2231         how to properly set the LD_LIBRARY_PATH variable. We do this because it is much easier to
2232         calculate the path in the jhbuildrc than in the test driver code. This simplifies things a great
2233         deal.
2234
2235 2014-04-18  Alexey Proskuryakov  <ap@apple.com>
2236
2237         DownloadDecideDestinationCrash API test uses an incorrect value for path
2238         https://bugs.webkit.org/show_bug.cgi?id=131845
2239         <rdar://problem/15925560>
2240
2241         Reviewed by Enrica Casucci.
2242
2243         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
2244         (TestWebKitAPI::decideDestinationWithSuggestedFilename):
2245
2246 2014-04-17  Alexey Proskuryakov  <ap@apple.com>
2247
2248         [Mac] AttributedStringTest API tests fail with async text input
2249         https://bugs.webkit.org/show_bug.cgi?id=131833
2250
2251         Reviewed by Enrica Casucci.
2252
2253         Don't run sync NSTextInputClient tests where we don't implement these calls.
2254
2255         * TestWebKitAPI/Tests/mac/AttributedString.mm:
2256         (TestWebKitAPI::AttributedStringTest_CustomFont::didLoadURL):
2257         (TestWebKitAPI::AttributedStringTest_CustomFont::runSyncTest):
2258         (TestWebKitAPI::AttributedStringTest_Strikethrough::didLoadURL):
2259         (TestWebKitAPI::AttributedStringTest_Strikethrough::runSyncTest):
2260         (TestWebKitAPI::AttributedStringTest_CustomFont::runTest): Deleted.
2261         (TestWebKitAPI::AttributedStringTest_Strikethrough::runTest): Deleted.
2262
2263 2014-04-18  Philippe Normand  <pnormand@igalia.com>
2264
2265         Remove NETWORK_INFO support
2266         https://bugs.webkit.org/show_bug.cgi?id=131841
2267
2268         Reviewed by Gyuyoung Kim.
2269
2270         * Scripts/webkitperl/FeatureList.pm:
2271
2272 2014-04-17  ChangSeok Oh  <changseok.oh@collabora.com>
2273
2274         [GTK] YouCompleteMe doesn't work for cmake build system.
2275         https://bugs.webkit.org/show_bug.cgi?id=131591
2276
2277         Reviewed by Martin Robinson.
2278
2279         Add cmake build system support for YouCompleteMe. It should work regardless of
2280         using make or ninja. In addition, autotools related code is removed since it's
2281         not used anymore in WebKit.
2282
2283         * Scripts/webkitdirs.pm:
2284         (generateBuildSystemFromCMakeProject):
2285         * gtk/ycm_extra_conf.py:
2286         (transform_relative_paths_to_absolute_paths):
2287         (FlagsForFile):
2288
2289 2014-04-17  Anders Carlsson  <andersca@apple.com>
2290
2291         Fix build.
2292
2293         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
2294         (-[DownloadNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
2295         (-[ConvertResponseToDownloadNavigationDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]):
2296
2297 2014-04-17  Anders Carlsson  <andersca@apple.com>
2298
2299         Remove unused API enums
2300         https://bugs.webkit.org/show_bug.cgi?id=131836
2301
2302         Reviewed by Tim Horton.
2303
2304         * MiniBrowser/mac/WK2BrowserWindowController.m:
2305         (-[WK2BrowserWindowController webView:decidePolicyForNavigationResponse:decisionHandler:]):
2306
2307 2014-04-16  Brent Fulgham  <bfulgham@apple.com>
2308
2309         [Win] A few final cleanups to the DataObject classes.
2310         https://bugs.webkit.org/show_bug.cgi?id=131784
2311
2312         Reviewed by Anders Carlsson.
2313
2314         * DumpRenderTree/win/DRTDataObject.cpp:
2315         (DRTDataObject::clearData): Use 'last()' method.
2316         * DumpRenderTree/win/UIDelegate.cpp:
2317         (DRTUndoStack::pop): Use 'takeLast()' method.
2318
2319 2014-04-17  Andres Gomez  <agomez@igalia.com>
2320
2321         [Win] cygwin to keep installing curl 7.33.0-1 and subversion 1.7.14-1
2322         https://bugs.webkit.org/show_bug.cgi?id=131365
2323
2324         Reviewed by Brent Fulgham.
2325
2326         The cygwin installer is now downloading the wanted versions for
2327         the local installation given to the setup wizard.
2328
2329         * CygwinDownloader/cygwin-downloader.py:
2330         * CygwinDownloader/cygwin-downloader.zip:
2331
2332 2014-04-17  Adrian Perez de Castro  <aperez@igalia.com>
2333
2334         [GTK] Make run-webkit-tests always use WKTR
2335         https://bugs.webkit.org/show_bug.cgi?id=131737
2336
2337         Reviewed by Darin Adler.
2338
2339         Now that the GTK+ port only has support for WebKit2, instruct
2340         run-webkit-tests to always use WKTR. This avoids needing to pass
2341         flag "-2" every time.
2342
2343         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 
2344         (_set_up_derived_options): Always set webkit_test_runner when
2345         the platform is GTK+.
2346
2347 2014-04-17  Brendan Long  <b.long@cablelabs.com>
2348
2349         [Gtk] Install ninja-build in Tools/gtk/install-dependencies
2350         https://bugs.webkit.org/show_bug.cgi?id=131760
2351
2352         Reviewed by Philippe Normand.
2353
2354         * gtk/install-dependencies: Install ninja-build when it's available.
2355
2356 2014-04-16  peavo@outlook.com  <peavo@outlook.com>
2357
2358         [Win] run-javascriptcore-tests fails to run.
2359         https://bugs.webkit.org/show_bug.cgi?id=131761
2360
2361         Reviewed by Brent Fulgham.
2362
2363         * Scripts/build-jsc: For now, don't try to build bmalloc on Windows.
2364
2365 2014-04-16  Andres Gomez  <agomez@igalia.com>
2366
2367         [Win] Pass default parameters to cygwin setup wizard
2368         https://bugs.webkit.org/show_bug.cgi?id=131361
2369
2370         Reviewed by Brent Fulgham.
2371
2372         Added some parameters to the cygwin setup wizard so the user
2373         doesn't really have to do any interaction.
2374
2375         * CygwinDownloader/cygwin-downloader.py:
2376         * CygwinDownloader/cygwin-downloader.zip:
2377
2378 2014-04-15  Brent Fulgham  <bfulgham@apple.com>
2379
2380         [Win] Eliminate use of deleteAllValues in Windows Files
2381         https://bugs.webkit.org/show_bug.cgi?id=131631
2382
2383         Reviewed by Darin Adler.
2384
2385         Switch to std::unique_ptr for memory lifetime. Get rid of
2386         deleteAllValues now that it is no longer needed. Use ranged
2387         for loops where possible.
2388
2389         * DumpRenderTree/win/DRTDataObject.cpp:
2390         (WCEnumFormatEtc::WCEnumFormatEtc):
2391         (DRTDataObject::~DRTDataObject):
2392         (DRTDataObject::GetData):
2393         (DRTDataObject::QueryGetData):
2394         (DRTDataObject::SetData):
2395         (DRTDataObject::clearData):
2396         * DumpRenderTree/win/DRTDataObject.h:
2397         * DumpRenderTree/win/UIDelegate.cpp:
2398         (DRTUndoObject::DRTUndoObject):
2399         (DRTUndoObject::~DRTUndoObject):
2400         (DRTUndoStack::~DRTUndoStack):
2401         (DRTUndoStack::clear):
2402         (DRTUndoStack::pop):
2403         (DRTUndoManager::DRTUndoManager):
2404         (DRTUndoManager::redo):
2405         (DRTUndoManager::undo):
2406         (UIDelegate::UIDelegate):
2407         (UIDelegate::resetUndoManager):
2408         * DumpRenderTree/win/UIDelegate.h:
2409
2410 2014-04-16  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2411
2412         [GTK] Unreviewed GTK gardening.
2413
2414         Update list of skipped unit tests:
2415
2416           Skip test: WebKit2Gtk/TestWebKitWebView:/webkit2/WebKitWebView/page-visibility
2417
2418           Unskip tests: WebKit2/TestWebKit2:WebKit2.ResizeReversePaginatedWebView
2419           and WebKit2/TestWebKit2:WebKit2.ScrollPinningBehaviors
2420
2421         * Scripts/run-gtk-tests:
2422         (TestRunner):
2423
2424 2014-04-16  Tim Horton  <timothy_horton@apple.com>
2425
2426         check-webkit-style doesn't check code style in .mm or .m files
2427         https://bugs.webkit.org/show_bug.cgi?id=131708
2428
2429         Reviewed by Darin Adler.
2430
2431         * Scripts/webkitpy/style/checker.py:
2432         * Scripts/webkitpy/style/checker_unittest.py:
2433         (CheckerDispatcherDispatchTest.test_cpp_paths):
2434         (CheckerDispatcherDispatchTest.test_text_paths):
2435         Check .mm and .m files as C++.
2436
2437         * Scripts/webkitpy/style/checkers/cpp.py:
2438         (check_spacing):
2439         Add an override for our ordinary "missing spaces around =" for @synthesize,
2440         which should look like "@synthesize propertyName=_varName;"
2441
2442         Add an override for "missing space before {" for blocks' "^{".
2443
2444         Don't follow the "extra space before [" rule for Objective-C, because
2445         it breaks this rule in a multitude of ways because of method calls.
2446
2447         (check_braces):
2448         Don't complain about { not being on the end of the previous line if
2449         the previous line starts with "- (" or "+ (", which would indicate a
2450         Objective-C method definition.
2451
2452 2014-04-16  Darin Adler  <darin@apple.com>
2453
2454         Make Vector::takeLast work with move-only types (and optimize for types where move is faster)
2455         https://bugs.webkit.org/show_bug.cgi?id=131735
2456
2457         Reviewed by Alexey Proskuryakov.
2458
2459         * TestWebKitAPI/Tests/WTF/Vector.cpp: Added a test for Vector::takeLast with move only types.
2460         Fixed invocations of EXPECT macros so the expected value is on the left, and the test result
2461         is on the right. This can be confusing since our JavaScript test framework does it the opposite
2462         way, but gtest works better this way.
2463
2464 2014-04-15  Hyowon Kim  <hw1008.kim@samsung.com>
2465
2466         [EFL] Fix problems with the pixel dump.
2467         https://bugs.webkit.org/show_bug.cgi?id=131265
2468
2469         Reviewed by Gyuyoung Kim.
2470
2471         Painting and compositing paths of WebKit-EFL were totally modified from r166768.
2472         However pixel dump codes still call deprecated functions like ewk_view_paint(),
2473         which causes that nothing is drawn.
2474
2475         This patch adds new member functions to AcceleratedCompositingContext to support pixel dump.
2476         One of new functions is AcceleratedCompositingContext::extractImageData(),
2477         which replaces deprecated function calls. Besides the extractImageData() is invoked by
2478         ewk_view_screenshot_contents_get() in order to take the visible content displayed on the EFL webview.
2479
2480         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
2481         (createBitmapContextFromWebView): Add to call DumpRenderTreeSupportEfl::forcePaint().
2482
2483 2014-04-15  Filip Pizlo  <fpizlo@apple.com>
2484
2485         Update LLVM export scrpt to handle the build directory being different from the
2486         source directory.
2487
2488         Rubber stamped by Geoffrey Garen.
2489
2490         * Scripts/export-llvm-build:
2491
2492 2014-04-15  Ryosuke Niwa  <rniwa@webkit.org>
2493
2494         Update the hyperlink to waterfall views of perf bots on build.webkit.org
2495         https://bugs.webkit.org/show_bug.cgi?id=131695
2496
2497         Reviewed by Antti Koivisto.
2498
2499         Updated.
2500
2501         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
2502
2503 2014-04-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2504
2505         [GTK] Reduce the binary size by compressing the text based web inspector resources
2506         https://bugs.webkit.org/show_bug.cgi?id=121545
2507
2508         Reviewed by Gustavo Noronha Silva.
2509
2510         Compress text based files when compiling inspector resources. It
2511         reduces the binary size in 3MB.
2512
2513         * gtk/generate-inspector-gresource-manifest.py:
2514         (find_all_files_in_directory):
2515         (is_compressible):
2516
2517 2014-04-14  Alexey Proskuryakov  <ap@apple.com>
2518
2519         Remove Gtk WebKit1 tester.
2520
2521         Gtk WebKit1 port no longer exists, and dashboard was trying to load its tester
2522         results over and over as fast as it could.
2523
2524         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2525         (WebKitBuildbot):
2526
2527 2014-04-14  Alexey Proskuryakov  <ap@apple.com>
2528
2529         Wrong link for webkitpy tests results in dashboard popover
2530         https://bugs.webkit.org/show_bug.cgi?id=131664
2531
2532         Reviewed by Timothy Hatcher.
2533
2534         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2535         (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds):
2536         Use a correct link.
2537
2538 2014-04-14  Alexey Proskuryakov  <ap@apple.com>
2539
2540         Update webkitpy regression test result that started to fail after http://trac.webkit.org/r167243
2541
2542         I'm not sure whether the changes are desirable, but am not suspicious enough to roll out.
2543
2544         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
2545         (CommitMessageForThisCommitTest):
2546
2547 2014-04-14  Jozsef Berta  <jberta.u-szeged@partner.samsung.com>
2548
2549         Fix commit-log-editor bug revealed by r165447
2550         https://bugs.webkit.org/show_bug.cgi?id=130676
2551
2552         Reviewed by Csaba Osztrogonác.
2553
2554         * Scripts/commit-log-editor:
2555         (createCommitMessage): Omitting empty Source/JavaScriptCore:... blocks.
2556         Add \n before the first block too, because the longest common prefix now ends with only one newline.
2557         (removeLongestCommonPrefixEndingInNewline): The longest common prefix ends with only one newline,
2558         now the last block of the common prefix isn't duplicated below. Changing the function name accordingly.
2559
2560 2014-04-13  Darin Adler  <darin@apple.com>
2561
2562         userVisibleString should not try to "encode" host names
2563         https://bugs.webkit.org/show_bug.cgi?id=131587
2564         rdar://problem/14686849
2565
2566         Reviewed by Alexey Proskuryakov.
2567
2568         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added URLExtras.mm.
2569
2570         * TestWebKitAPI/Tests/mac/URLExtras.mm: Added. A few tests for WebCoreNSURLExtras.
2571         Coverage is tiny at this point; we could add a lot more cases!
2572
2573 2014-04-13  Jaehun Lim  <ljaehun.lim@samsung.com>
2574
2575         Use #include instead of #import
2576         https://bugs.webkit.org/show_bug.cgi?id=131604
2577
2578         Reviewed by Darin Adler.
2579
2580         Fix "warning: #import is a deprecated GCC extension [-Wdeprecated]".
2581
2582         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2583
2584 2014-04-12  Filip Pizlo  <fpizlo@apple.com>
2585
2586         Make slow-stress tests run faster by running fewer VM variants.
2587
2588         Rubber stamped by Geoffrey Garen.
2589
2590         * Scripts/run-javascriptcore-tests:
2591         * Scripts/run-jsc-stress-tests:
2592
2593 2014-04-10  Zan Dobersek  <zdobersek@igalia.com>
2594
2595         [CMake] Add missing WTF unit tests
2596         https://bugs.webkit.org/show_bug.cgi?id=131459
2597
2598         Reviewed by Martin Robinson.
2599
2600         * TestWebKitAPI/CMakeLists.txt: Add a few missing source files
2601         that should be compiled into the TestWTF binary.
2602
2603 2014-04-10  Brendan Long  <b.long@cablelabs.com>
2604
2605         [Gtk] run-launcher doesn't work by default
2606         https://bugs.webkit.org/show_bug.cgi?id=131494
2607
2608         Reviewed by Philippe Normand.
2609
2610         * Scripts/run-launcher: Always use MiniBrowser for WebKitGTK.
2611         * Scripts/webkitdirs.pm:
2612         (launcherName): Same.
2613         * Scripts/webkitpy/style/checker.py: Remove reference to GtkLauncher.
2614         * gtk/common.py:
2615         (get_build_path.is_valid_build_directory): Same.
2616         * gtk/manifest.txt: Same.
2617
2618 2014-04-09  Commit Queue  <commit-queue@webkit.org>
2619
2620         Unreviewed, rolling out r167046.
2621         https://bugs.webkit.org/show_bug.cgi?id=131479
2622
2623         Caused 300+ failures on Mavericks WK1 tester (Requested by ap
2624         on #webkit).
2625
2626         Reverted changeset:
2627
2628         "Remove "System Font" from whitelisted DRT fonts and char
2629         width calculations"
2630         https://bugs.webkit.org/show_bug.cgi?id=131411
2631         http://trac.webkit.org/changeset/167046
2632
2633 2014-04-09  Myles C. Maxfield  <mmaxfield@apple.com>
2634
2635         Remove "System Font" from whitelisted DRT fonts and char width calculations
2636         https://bugs.webkit.org/show_bug.cgi?id=131411
2637
2638         Reviewed by Tim Horton.
2639
2640         Covered by existing tests.
2641
2642         * DumpRenderTree/mac/DumpRenderTree.mm:
2643         (allowedFontFamilySet):
2644
2645 2014-04-09  Myles C. Maxfield  <mmaxfield@apple.com>
2646
2647         systemHiddenFontFamilySet in DRT is unnecessary
2648         https://bugs.webkit.org/show_bug.cgi?id=131414
2649
2650         Reviewed by Tim Horton.
2651
2652         It doesn't seem to affect test results on my machine.
2653
2654         * DumpRenderTree/mac/DumpRenderTree.mm:
2655         (drt_NSFontManager_availableFonts):
2656         (systemHiddenFontFamilySet): Deleted.
2657
2658 2014-04-09  Brent Fulgham  <bfulgham@apple.com>
2659
2660         [Win] Unreviewed test fix: Don't double-release BSTR.
2661
2662         * DumpRenderTree/win/DumpRenderTree.cpp:
2663         (dump): Remove unneeded call to SysFreeString now that we are
2664         using _bstr_t for this variable.
2665
2666 2014-04-09  Brent Fulgham  <bfulgham@apple.com>
2667
2668         [Win] Various DumpRenderTree Fixes.
2669         https://bugs.webkit.org/show_bug.cgi?id=131446.
2670
2671         Reviewed by Tim Horton.
2672
2673         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2674         (AccessibilityUIElement::title): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2675         (AccessibilityUIElement::description): Ditto.
2676         (AccessibilityUIElement::helpText): Ditto.
2677         (AccessibilityUIElement::intValue): Ditto.
2678         (AccessibilityUIElement::isPressActionSupported): Ditto.
2679         (AccessibilityUIElement::accessibilityValue): Ditto.
2680         * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
2681         (DRTDesktopNotificationPresenter::QueryInterface): Get rid of uneeded STDMETHODCALLTYPE declaration.
2682         (DRTDesktopNotificationPresenter::AddRef): Ditto.
2683         (DRTDesktopNotificationPresenter::Release): Ditto.
2684         (DRTDesktopNotificationPresenter::showDesktopNotification): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2685         (DRTDesktopNotificationPresenter::cancelDesktopNotification): Ditto.
2686         (DRTDesktopNotificationPresenter::notificationDestroyed): Ditto.
2687         (DRTDesktopNotificationPresenter::checkNotificationPermission): Ditto.
2688         (DRTDesktopNotificationPresenter::requestNotificationPermission): Ditto.
2689         * DumpRenderTree/win/DRTDesktopNotificationPresenter.h:
2690         * DumpRenderTree/win/DumpRenderTree.cpp:
2691         (dumpFrameScrollPosition): Ditto.
2692         (dumpFramesAsText): Ditto.
2693         (compareHistoryItems): Ditto.
2694         (dumpHistoryItem): Ditto.
2695         (dump): Ditto.
2696         (resetDefaultsToConsistentValues): Ditto.
2697         (resetWebViewToConsistentStateBeforeTesting): Ditto.
2698         (runTest): Ditto.
2699         (createWebViewAndOffscreenWindow): Ditto.
2700         * DumpRenderTree/win/EditingDelegate.cpp:
2701         (EditingDelegate::QueryInterface): Get rid of uneeded STDMETHODCALLTYPE declaration.
2702         (EditingDelegate::AddRef): Ditto.
2703         (EditingDelegate::Release): Ditto.
2704         (dumpPath): Switch to _bstr_t. Use JSStringCreateWithBSTR
2705         (EditingDelegate::shouldBeginEditingInDOMRange): Get rid of uneeded STDMETHODCALLTYPE declaration.
2706         (EditingDelegate::shouldEndEditingInDOMRange): Ditto.
2707         (EditingDelegate::shouldInsertNode): Ditto.
2708         (EditingDelegate::shouldInsertText): Ditto.
2709         (EditingDelegate::shouldDeleteDOMRange): Ditto.
2710         (EditingDelegate::shouldChangeSelectedDOMRange): Ditto.
2711         (EditingDelegate::shouldApplyStyle): Ditto.
2712         (EditingDelegate::shouldChangeTypingStyle): Ditto.
2713         (EditingDelegate::doPlatformCommand): Ditto.
2714         (EditingDelegate::webViewDidBeginEditing): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2715         (EditingDelegate::webViewDidChange): Ditto.
2716         (EditingDelegate::webViewDidEndEditing): Ditto.
2717         (EditingDelegate::webViewDidChangeTypingStyle): Ditto.
2718         (EditingDelegate::webViewDidChangeSelection): Ditto.
2719         (EditingDelegate::checkSpellingOfString): Ditto.
2720         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2721         (descriptionSuitableForTestResult): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2722         (FrameLoadDelegate::FrameLoadDelegate): Ditto.
2723         (FrameLoadDelegate::QueryInterface): Get rid of uneeded STDMETHODCALLTYPE declaration.
2724         (FrameLoadDelegate::AddRef): Ditto.
2725         (FrameLoadDelegate::Release): Ditto.
2726         (FrameLoadDelegate::didStartProvisionalLoadForFrame): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2727         (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame): Ditto.
2728         (FrameLoadDelegate::didFailProvisionalLoadWithError): Ditto.
2729         (FrameLoadDelegate::didCommitLoadForFrame): Ditto.
2730         (FrameLoadDelegate::didReceiveTitle): Ditto.
2731         (FrameLoadDelegate::didChangeIcons): Ditto.
2732         (delegatesWithDelayedWork): Ditto.
2733         (FrameLoadDelegate::didFinishLoadForFrame): Ditto.
2734         (FrameLoadDelegate::didFailLoadWithError): Ditto.
2735         (FrameLoadDelegate::willPerformClientRedirectToURL): Ditto.
2736         (FrameLoadDelegate::didCancelClientRedirectForFrame): Ditto.
2737         (FrameLoadDelegate::willCloseFrame): Ditto.
2738         (FrameLoadDelegate::didFinishDocumentLoadForFrame): Ditto.
2739         (FrameLoadDelegate::didHandleOnloadEventsForFrame): Ditto.
2740         (FrameLoadDelegate::didFirstVisuallyNonEmptyLayoutInFrame): Ditto.
2741         (FrameLoadDelegate::didDisplayInsecureContent): Ditto.
2742         (FrameLoadDelegate::didRunInsecureContent): Ditto.
2743         * DumpRenderTree/win/FrameLoadDelegate.h:
2744         * DumpRenderTree/win/HistoryDelegate.cpp:
2745         (HistoryDelegate::didNavigateWithNavigationData): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2746         (HistoryDelegate::updateHistoryTitle): Ditto.
2747         (HistoryDelegate::populateVisitedLinksForWebView): Ditto.
2748         * DumpRenderTree/win/PolicyDelegate.cpp:
2749         (dumpPath):
2750         (PolicyDelegate::QueryInterface): Get rid of uneeded STDMETHODCALLTYPE declaration.
2751         (PolicyDelegate::AddRef): Ditto.
2752         (PolicyDelegate::Release): Ditto.
2753         (PolicyDelegate::decidePolicyForNavigationAction): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2754         (PolicyDelegate::unableToImplementPolicyWithError): Ditto.
2755         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2756         (ResourceLoadDelegate::descriptionSuitableForTestResult): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2757         (ResourceLoadDelegate::QueryInterface): Get rid of uneeded STDMETHODCALLTYPE declaration.
2758         (ResourceLoadDelegate::AddRef): Ditto.
2759         (ResourceLoadDelegate::Release): Ditto.
2760         (ResourceLoadDelegate::identifierForInitialRequest): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2761         (ResourceLoadDelegate::removeIdentifierForRequest): Ditto.
2762         (ResourceLoadDelegate::willSendRequest): Ditto.
2763         (ResourceLoadDelegate::didReceiveAuthenticationChallenge): Ditto.
2764         (ResourceLoadDelegate::didReceiveResponse): Ditto.
2765         (ResourceLoadDelegate::didFinishLoadingFromDataSource): Ditto.
2766         (ResourceLoadDelegate::didFailLoadingWithError): Ditto.
2767         * DumpRenderTree/win/TestRunnerWin.cpp: Ditto.
2768         (TestRunner::queueLoad): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2769         (TestRunner::setUserStyleSheetLocation): Ditto.
2770         (TestRunner::execCommand): Ditto.
2771         (TestRunner::overridePreference): Ditto.
2772         (TestRunner::evaluateScriptInIsolatedWorld): Ditto.
2773         * DumpRenderTree/win/TextInputControllerWin.cpp: Ditto.
2774         (TextInputController::setMarkedText): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2775         (TextInputController::insertText): Ditto.
2776         * DumpRenderTree/win/UIDelegate.cpp:
2777         (UIDelegate::QueryInterface): Get rid of uneeded STDMETHODCALLTYPE declaration.
2778         (UIDelegate::AddRef): Ditto.
2779         (UIDelegate::Release): Ditto.
2780         (UIDelegate::hasCustomMenuImplementation): Switch to _bstr_t. Use JSStringCreateWithBSTR.
2781         (UIDelegate::trackCustomPopupMenu): Ditto.
2782         (UIDelegate::registerUndoWithTarget): Ditto.
2783         (UIDelegate::removeAllActionsWithTarget): Ditto.
2784         (UIDelegate::setActionTitle): Ditto.
2785         (UIDelegate::undo): Ditto.
2786         (UIDelegate::redo): Ditto.
2787         (UIDelegate::canUndo): Ditto.
2788         (UIDelegate::canRedo): Ditto.
2789         (UIDelegate::printFrame): Ditto.
2790         (UIDelegate::ftpDirectoryTemplatePath): Ditto.
2791         (UIDelegate::webViewHeaderHeight): Ditto.
2792         (UIDelegate::webViewFooterHeight): Ditto.
2793         (UIDelegate::drawHeaderInRect): Ditto.
2794         (UIDelegate::drawFooterInRect): Ditto.
2795         (UIDelegate::webViewPrintingMarginRect): Ditto.
2796         (UIDelegate::canRunModal): Ditto.
2797         (UIDelegate::createModalDialog): Ditto.
2798         (UIDelegate::runModal): Ditto.
2799         (UIDelegate::isMenuBarVisible): Ditto.
2800         (UIDelegate::setMenuBarVisible): Ditto.
2801         (UIDelegate::runDatabaseSizeLimitPrompt): Ditto.
2802         (UIDelegate::paintCustomScrollbar): Ditto.
2803         (UIDelegate::paintCustomScrollCorner): Ditto.
2804         (UIDelegate::setFrame): Ditto.
2805         (UIDelegate::webViewFrame): Ditto.
2806         (UIDelegate::runJavaScriptAlertPanelWithMessage): Ditto.
2807         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Ditto.
2808         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Ditto.
2809         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage): Ditto.
2810         (UIDelegate::webViewAddMessageToConsole): Ditto.
2811         (UIDelegate::doDragDrop): Ditto.
2812         (UIDelegate::webViewGetDlgCode): Ditto.
2813         (UIDelegate::createWebViewWithRequest): Ditto.
2814         (UIDelegate::webViewClose): Ditto.
2815         (UIDelegate::webViewFocus): Ditto.
2816         (UIDelegate::webViewUnfocus): Ditto.
2817         (UIDelegate::webViewPainted): Ditto.
2818         (UIDelegate::exceededDatabaseQuota): Ditto.
2819         (UIDelegate::embeddedViewWithArguments): Ditto.
2820         (UIDelegate::webViewClosing): Ditto.
2821         (UIDelegate::webViewSetCursor): Ditto.
2822         (UIDelegate::webViewDidInvalidate): Ditto.
2823         (UIDelegate::setStatusText): Ditto.
2824         (UIDelegate::desktopNotificationsDelegate): Ditto.
2825         (UIDelegate::drawBackground): Ditto.
2826         (UIDelegate::decidePolicyForGeolocationRequest): Ditto.
2827         (UIDelegate::didPressMissingPluginButton): Ditto.
2828         * DumpRenderTree/win/WorkQueueItemWin.cpp: Ditto.
2829         (LoadItem::invoke):  Switch to _bstr_t. Use JSStringCreateWithBSTR.
2830         (LoadHTMLStringItem::invoke): Ditto.
2831         (ScriptItem::invoke): Ditto.
2832
2833 2014-04-09  Gergo Balogh  <gbalogh.u-szeged@partner.samsung.com>
2834
2835         Stylechecker: False positive on inline asm code.
2836         https://bugs.webkit.org/show_bug.cgi?id=130570
2837
2838         Reviewed by Csaba Osztrogonác.
2839
2840         Disable stylechecking in asm blocks.
2841
2842         * Scripts/webkitpy/style/checkers/cpp.py:
2843         (process_line):
2844         (_InlineASMState):
2845         (_InlineASMState.__init__):
2846         (_InlineASMState.process_line):
2847         (_InlineASMState.isInside):
2848         (_process_lines):
2849         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2850         (WebKitStyleTest.test_member_initialization_list):
2851
2852 2014-04-09  Carlos Garcia Campos  <cgarcia@igalia.com>
2853
2854         [GTK] Move WebKit1 unit tests resources used by WebKit2 unit tests to WebKit2 resources dir
2855         https://bugs.webkit.org/show_bug.cgi?id=131029
2856
2857         Reviewed by Philippe Normand.
2858
2859         Add blank.ico and test.pdf to resources dir of WebKit2Gtk unit
2860         tests and remove the getWebKit1TestResoucesDir() method.
2861
2862         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
2863         (testDownloadLocalFile): Use Test::getResourcesDir().
2864         (testDownloadLocalFileError): Ditto.
2865         (serverCallback): Ditto.
2866         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2867         (serverCallback): Ditto.
2868         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
2869         (httpServerCallback): Ditto.
2870         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
2871         (serverCallback): Ditto.
2872         * TestWebKitAPI/Tests/WebKit2Gtk/resources/blank.ico: Added.
2873         * TestWebKitAPI/Tests/WebKit2Gtk/resources/test.pdf: Added.
2874         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
2875         (Test::getWebKit1TestResoucesDir): Deleted.
2876
2877 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
2878
2879         [WK2] HTTP authentication regression tests fail
2880         https://bugs.webkit.org/show_bug.cgi?id=81627
2881         <rdar://problem/11079296>
2882
2883         Reviewed by Anders Carlsson.
2884
2885         * WebKitTestRunner/TestController.h:
2886         * WebKitTestRunner/TestController.cpp:
2887         (WTR::TestController::createWebViewWithOptions): Added canAuthenticateAgainstProtectionSpaceInFrame
2888         to pageLoaderClient structure.
2889         (WTR::TestController::canAuthenticateAgainstProtectionSpaceInFrame): Return true
2890         for password based authentication (we do get server trust challenges on some tests,
2891         which WKTR can't handle).
2892         When this client call is not implemented or returns false, didReceiveAuthenticationChallengeInFrame
2893         calls won't be made, at least on CFNetwork based platforms.
2894         (WTR::TestController::didReceiveAuthenticationChallengeInFrame): Changed the output
2895         to omit <unknown>. The resource is always unknown with WK2, and it doesn't really
2896         make sense to associate auth requests with individual resources - there can be
2897         multiple resources loading at once from the same protection space, so WebKit1 API
2898         that had a resource identifier was inherently racy.
2899
2900 2014-04-09  Ryuan Choi  <ryuan.choi@samsung.com>
2901
2902         [EFL] Change font path for DumpRenderTree and WebKitTestRunner
2903         https://bugs.webkit.org/show_bug.cgi?id=131427
2904
2905         Reviewed by Gyuyoung Kim.
2906
2907         Since r166973, font path was changed.
2908
2909         * DumpRenderTree/PlatformEfl.cmake:
2910         * WebKitTestRunner/PlatformEfl.cmake:
2911
2912 2014-04-08  Geoffrey Garen  <ggaren@apple.com>
2913
2914         Fix the build-jsc build
2915         https://bugs.webkit.org/show_bug.cgi?id=131410
2916
2917         Reviewed by Michael Saboff.
2918
2919         * Scripts/build-jsc: Make sure to build bmalloc before WTF, since
2920         WTF depends on it.
2921
2922 2014-04-08  Martin Robinson  <mrobinson@igalia.com>
2923
2924         [GTK] Remove WebKit1 unit tests
2925         https://bugs.webkit.org/show_bug.cgi?id=131359
2926
2927         Reviewed by Anders Carlsson.
2928
2929         Remove all WebKit1 GTK+ unit tests, in preparation for removing the WebKit1 port
2930         entirely. We also remove the list of skipped WebKi1 tests from run-gtk-tests, as
2931         they were inadvertently left in http://trac.webkit.org/changeset/166504.
2932
2933         * CMakeLists.txt: No longer load the WebKit1 unit test CMakeLists.txt file.
2934         * Scripts/run-gtk-tests: Remove skipped WebKit1 unit tests.
2935         * TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Removed.
2936         * TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico: Removed.
2937         * TestWebKitAPI/Tests/WebKitGtk/resources/test.html: Removed.
2938         * TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg: Removed.
2939         * TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf: Removed.
2940         * TestWebKitAPI/Tests/WebKitGtk/resources/test.txt: Removed.
2941         * TestWebKitAPI/Tests/WebKitGtk/test_utils.c: Removed.
2942         * TestWebKitAPI/Tests/WebKitGtk/test_utils.h: Removed.
2943         * TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c: Removed.
2944         * TestWebKitAPI/Tests/WebKitGtk/testatk.c: Removed.
2945         * TestWebKitAPI/Tests/WebKitGtk/testatkroles.c: Removed.
2946         * TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c: Removed.
2947         * TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c: Removed.
2948         * TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c: Removed.
2949         * TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c: Removed.
2950         * TestWebKitAPI/Tests/WebKitGtk/testdomnode.c: Removed.
2951         * TestWebKitAPI/Tests/WebKitGtk/testdownload.c: Removed.
2952         * TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c: Removed.
2953         * TestWebKitAPI/Tests/WebKitGtk/testglobals.c: Removed.
2954         * TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c: Removed.
2955         * TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c: Removed.
2956         * TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c: Removed.
2957         * TestWebKitAPI/Tests/WebKitGtk/testloading.c: Removed.
2958         * TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c: Removed.
2959         * TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c: Removed.
2960         * TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c: Removed.
2961         * TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c: Removed.
2962         * TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c: Removed.
2963         * TestWebKitAPI/Tests/WebKitGtk/testwebframe.c: Removed.
2964         * TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c: Removed.
2965         * TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c: Removed.
2966         * TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c: Removed.
2967         * TestWebKitAPI/Tests/WebKitGtk/testwebresource.c: Removed.
2968         * TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c: Removed.
2969         * TestWebKitAPI/Tests/WebKitGtk/testwebview.c: Removed.
2970         * TestWebKitAPI/Tests/WebKitGtk/testwindow.c: Removed.
2971
2972 2014-04-08  Brent Fulgham  <bfulgham@apple.com>
2973
2974         Unreviewed gardening (Take 2): Prevent users from attempting
2975         to build with known invalid cURL. 
2976
2977         * Scripts/webkitdirs.pm:
2978         (checkInstalledTools): Check for 7.34.0 (the broken version), not
2979         7.33.0 (the known good version).
2980
2981 2014-04-08  Martin Robinson  <mrobinson@igalia.com>
2982
2983         [GTK] Remove DumpRenderTree and GtkLauncher
2984         https://bugs.webkit.org/show_bug.cgi?id=131373
2985
2986         Reviewed by Andreas Kling.
2987
2988         Remove the GTK+ port of DumpRenderTree and GtkLauncher. These tools are
2989         no longer necessary now that WebKit1 GTK+ will be removed.
2990
2991         * CMakeLists.txt:
2992         * DumpRenderTree/PlatformGTK.cmake: Removed.
2993         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: Removed.
2994         * DumpRenderTree/gtk/DumpRenderTree.cpp: Removed.
2995         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Removed.
2996         * DumpRenderTree/gtk/EditingCallbacks.cpp: Removed.
2997         * DumpRenderTree/gtk/EditingCallbacks.h: Removed.
2998         * DumpRenderTree/gtk/EventSender.cpp: Removed.
2999         * DumpRenderTree/gtk/EventSender.h: Removed.
3000         * DumpRenderTree/gtk/GCControllerGtk.cpp: Removed.
3001         * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: Removed.
3002         * DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp: Removed.
3003         * DumpRenderTree/gtk/SelfScrollingWebKitWebView.h: Removed.
3004         * DumpRenderTree/gtk/TestRunnerGtk.cpp: Removed.
3005         * DumpRenderTree/gtk/TextInputController.cpp: Removed.
3006         * DumpRenderTree/gtk/TextInputController.h: Removed.
3007         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Removed.
3008         * GtkLauncher/CMakeLists.txt: Removed.
3009         * GtkLauncher/LauncherInspectorWindow.c: Removed.
3010         * GtkLauncher/LauncherInspectorWindow.h: Removed.
3011         * GtkLauncher/main.c: Removed.
3012         * GtkLauncher/simple.svg: Removed.
3013         * GtkLauncher/text.html: Removed.
3014         * WebKitTestRunner/PlatformGTK.cmake:
3015         * WebKitTestRunner/gtk/fonts/AHEM____.TTF: Renamed from Tools/DumpRenderTree/gtk/fonts/AHEM____.TTF.
3016         * WebKitTestRunner/gtk/fonts/FontWithNoValidEncoding.fon: Renamed from Tools/DumpRenderTree/gtk/fonts/FontWithNoValidEncoding.fon.
3017         * WebKitTestRunner/gtk/fonts/fonts.conf: Renamed from Tools/DumpRenderTree/gtk/fonts/fonts.conf.
3018
3019 2014-04-08  Mark Rowe  <mrowe@apple.com>
3020
3021         XPC services launched by Safari have wrong DYLD_FRAMEWORK_PATH set when launched via run-safari / debug-safari
3022         <https://webkit.org/b/131388> / <rdar://problem/16291687>
3023
3024         Reviewed by Alexey Proskuryakov.
3025
3026         * Scripts/webkitdirs.pm:
3027         (runMacWebKitApp): Set __XPC_DYLD_FRAMEWORK_PATH to the absolute path to the built products directory.
3028         (execMacWebKitAppForDebugging): Ditto.
3029
3030 2014-04-08  Geoffrey Garen  <ggaren@apple.com>
3031
3032         Build bmalloc on iOS too
3033         https://bugs.webkit.org/show_bug.cgi?id=131381
3034
3035         Reviewed by Andreas Kling.
3036
3037         * Scripts/build-webkit:
3038
3039 2014-04-08  Brent Fulgham  <bfulgham@apple.com>
3040
3041         Unreviewed gardening: Prevent users from attempting
3042         to build with known invalid cURL.
3043
3044         * Scripts/webkitdirs.pm:
3045         (checkInstalledTools): Block build attempts with bad
3046         Cygwin tool set.
3047
3048 2014-04-07  Geoffrey Garen  <ggaren@apple.com>
3049
3050         Build bmalloc on Mac
3051         https://bugs.webkit.org/show_bug.cgi?id=131333
3052
3053         Reviewed by Mark Rowe.
3054
3055         * Scripts/build-webkit: Add the bmalloc target if we're on Mac.
3056         (Note: Just testing Mac is not good enough because in this
3057         script 'Mac' means 'Mac or iOS'.)
3058
3059 2014-03-30  Filip Pizlo  <fpizlo@apple.com>
3060
3061         Move slow JSRegress tests out of the way so that they don't show up in run-jsc-benchmarks runs and also skip tests that are extremely long-running
3062         https://bugs.webkit.org/show_bug.cgi?id=130951
3063
3064         Reviewed by Geoffrey Garen.
3065
3066         * Scripts/run-javascriptcore-tests:
3067
3068 2014-04-06  Darin Adler  <darin@apple.com>
3069
3070         Rework CSS calc logic, fixing some reference count mistakes in Length
3071         https://bugs.webkit.org/show_bug.cgi?id=131280
3072
3073         Reviewed by Andreas Kling.
3074
3075         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added CalculationValue.cpp.
3076         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp: Added.
3077
3078 2014-04-04  Brian J. Burg  <burg@cs.washington.edu>
3079
3080         Enable WEB_REPLAY for PLATFORM(MAC)
3081         https://bugs.webkit.org/show_bug.cgi?id=130700
3082
3083         Reviewed by Timothy Hatcher.
3084
3085         * Scripts/webkitperl/FeatureList.pm: Set the default for WEB_REPLAY for OS X engineering builds.
3086
3087 2014-04-05  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
3088
3089         [CMake] Include X11's include dirs in TestNetscapePlugin
3090         https://bugs.webkit.org/show_bug.cgi?id=131270
3091
3092         Reviewed by Martin Robinson.
3093
3094         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Include X11_INCLUDE_DIR since
3095         TestNetscapePlugin includes WebCore code that includes X headers.
3096
3097 2014-04-05  David Kilzer  <ddkilzer@apple.com>
3098
3099         REGRESSION (r166529): Fix build after renaming TileCache to LegacyTileCache
3100         <http://webkit.org/b/130986>
3101
3102         * Scripts/check-for-inappropriate-objc-class-names: Add 'Legacy'
3103         prefix to TileCache class names in exception list.
3104
3105 2014-04-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3106
3107         [GTK] kill-old-processes should kill dbus-daemon processes
3108         https://bugs.webkit.org/show_bug.cgi?id=127352
3109
3110         Reviewed by Martin Robinson.
3111
3112         * BuildSlaveSupport/kill-old-processes:
3113         (main):
3114
3115 2014-04-04  Andres Gomez  <agomez@igalia.com>
3116
3117         [Win] Update obsolete packages in cygwin
3118         https://bugs.webkit.org/show_bug.cgi?id=126264
3119
3120         Reviewed by Brent Fulgham.
3121
3122         Removed "apache" and "minires" as the first has been replaced by
3123         "lighttpd" and the second is now integrated into
3124         "cygwin". Replaced the transitional and now obsolete "gcc" package
3125         with "gcc-g++" and ensure that "python" stays at version "2.6.8"
3126         since the newer version available is "2.7.3" which breaks the
3127         build due to some funniness with environment variable handling.
3128
3129         * CygwinDownloader/cygwin-downloader.py:
3130         * CygwinDownloader/cygwin-downloader.zip:
3131
3132 2014-04-03  Joseph Pecoraro  <pecoraro@apple.com>
3133
3134         check-webkit-style: Improve warnings on Objective-C @property syntax
3135         https://bugs.webkit.org/show_bug.cgi?id=131200
3136
3137         Reviewed by Dan Bernstein.
3138
3139         * Scripts/webkitpy/style/checkers/cpp.py:
3140         (check_spacing):
3141         (CppChecker):
3142         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3143         (CppStyleTest.test_spacing_in_objective_c_properties):
3144
3145 2014-04-03  Santosh Mahto  <santoshbit2007@gmail.com>
3146
3147         Unreviewed. Moving my name to commiter section
3148
3149         * Scripts/webkitpy/common/config/contributors.json:
3150
3151 2014-04-03  Santosh Mahto  <santoshbit2007@gmail.com>
3152
3153         Unreviewed. Add myself as a committer.
3154
3155         * Scripts/webkitpy/common/config/contributors.json:
3156
3157 2014-04-03  Andrzej Badowski  <a.badowski@samsung.com>
3158
3159         [EFL][WK2] Replacing zoom functionality of MiniBrowser from scale_set to page_zoom_set.
3160         https://bugs.webkit.org/show_bug.cgi?id=130391
3161
3162         Reviewed by Gyuyoung Kim.
3163
3164         Change the implementation of the zoom functionality from ewk_view_scale_set
3165         to ewk_view_page_zoom_set.
3166
3167         * MiniBrowser/efl/main.c:
3168
3169 2014-04-03  Manuel Rego Casasnovas  <rego@igalia.com>
3170
3171         [webkitpy] perf profiler does not understand --call-graph argument
3172         https://bugs.webkit.org/show_bug.cgi?id=131132
3173
3174         Reviewed by Ryosuke Niwa.
3175
3176         New versions of perf profiler have changed the argument from --call-graph to -g.
3177
3178         * Scripts/webkitpy/common/system/profiler.py:
3179         (Perf.wrapper_arguments): Use -g instead of --call-graph.
3180         * Scripts/webkitpy/port/driver_unittest.py:
3181         (DriverTest.test_profiler_as_wrapper): Update test accordingly.
3182
3183 2014-04-03  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
3184
3185         Add EFL WK2 performance bot to build.webkit.org
3186         https://bugs.webkit.org/show_bug.cgi?id=131034
3187
3188         Fix after r166707, use "Perf" instead of "perf" for consistency.
3189
3190         Reviewed by Csaba Osztrogonác.
3191
3192         * BuildSlaveSupport/build.webkit.org-config/config.json:
3193
3194 2014-04-03  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
3195
3196         Add EFL WK2 performance bot to build.webkit.org
3197         https://bugs.webkit.org/show_bug.cgi?id=131034
3198
3199         Reviewed by Csaba Osztrogonác.
3200
3201         * BuildSlaveSupport/build.webkit.org-config/config.json:
3202
3203 2014-04-02  Ryuan Choi  <ryuan.choi@samsung.com>
3204
3205         [EFL][WK1] Use Evas_Touch_Point_State instead of Ewk_Touch_Point_Type
3206         https://bugs.webkit.org/show_bug.cgi?id=131151
3207
3208         Reviewed by Gyuyoung Kim.
3209
3210         * DumpRenderTree/efl/EventSender.cpp: Replace Ewk_Touch_Point_Type to Evas_Touch_Point_State.
3211         (TouchEventInfo::TouchEventInfo):
3212         (sendTouchEvent):
3213         (addTouchPointCallback):
3214         (updateTouchPointCallback):
3215         (cancelTouchPointCallback):
3216         (releaseTouchPointCallback):
3217
3218 2014-04-02  David Kilzer  <ddkilzer@apple.com>
3219
3220         filter-build-webkit: Ignore xcodebuild warnings when compiling with newer builds of clang
3221         <http://webkit.org/b/131045>
3222
3223         Reviewed by Daniel Bates.
3224
3225         * Scripts/filter-build-webkit:
3226         (shouldIgnoreLine): Ignore DVTAssertions related to new builds
3227         of clang, plus debug data for all DVTAssertions.
3228
3229 2014-04-01  Dean Jackson  <dino@apple.com>
3230
3231         Load Media Controls js/css from bundle
3232         https://bugs.webkit.org/show_bug.cgi?id=131086
3233
3234         Reviewed by Eric Carlson.
3235
3236         We're now putting CSS files into the bundle, so remove the test for them.
3237
3238         * Scripts/check-for-inappropriate-files-in-framework:
3239
3240 2014-04-02  Martin Hock  <mhock@apple.com>
3241
3242         Unify private browsing with sessions.
3243         https://bugs.webkit.org/show_bug.cgi?id=130099
3244
3245         Reviewed by Alexey Proskuryakov.
3246
3247         Add an API test for ephemeral sessions similar to PrivateBrowsingPushStateNoHistoryCallback.
3248         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3249         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp:
3250         (TestWebKitAPI::didNavigateWithNavigationData):
3251         (TestWebKitAPI::didSameDocumentNavigationForFrame):
3252         (TestWebKitAPI::TEST):
3253
3254         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp: Also test to make sure private browsing can be disabled.
3255         (TestWebKitAPI::didNavigateWithoutNavigationData):
3256         (TestWebKitAPI::didNavigateWithNavigationData):
3257         (TestWebKitAPI::didSameDocumentNavigationForFrame):
3258         (TestWebKitAPI::TEST):
3259
3260 2014-04-02  Martin Robinson  <mrobinson@igalia.com>
3261
3262         REGRESSION(r165704): [GTK] Inspector resources not correctly generated
3263         https://bugs.webkit.org/show_bug.cgi?id=130343
3264
3265         Reviewed by Gustavo Noronha Silva.
3266
3267         * gtk/generate-inspector-gresource-manifest.py: Instead of hard-coding the file list, accept a list
3268         of directories on the command line and look for all appropriate files in those directories for the
3269         GResource archive. Also make archive paths relative to those directories.
3270         (find_all_files_in_directory): This helper looks for all the appropriate files in a given directory.
3271         (find_all_files_in_directory.select_file): Whether or not to add the file to the archive.
3272
3273 2014-04-02  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3274
3275         [webkitpy] Avoid multiple "Preparing rollout for bug" log messages
3276         https://bugs.webkit.org/show_bug.cgi?id=131106
3277
3278         Reviewed by Csaba Osztrogonác.
3279
3280         * Scripts/webkitpy/tool/commands/download.py:
3281         (AbstractRolloutPrepCommand._prepare_state):
3282         * Scripts/webkitpy/tool/commands/download_unittest.py:
3283         (test_prepare_rollout):
3284         (test_create_rollout):
3285         (test_create_rollout_resolved):
3286         (test_rollout):
3287
3288 2014-04-02  Krzysztof Wolanski  <k.wolanski@samsung.com>
3289
3290         [EFL] Add option to use separate web process for new window in MiniBrowser
3291         https://bugs.webkit.org/show_bug.cgi?id=130190
3292
3293         Reviewed by Gyuyoung Kim.
3294
3295         New created window (CTRL + n) will be open in separated web process.
3296         This option is enabled by adding a flag (S/separate-process) with launching
3297         MiniBrowser.
3298
3299         * MiniBrowser/efl/main.c:
3300         (elm_main):
3301
3302 2014-04-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3303
3304         [GTK] Move NEWS file to a new location
3305         https://bugs.webkit.org/show_bug.cgi?id=130901
3306
3307         Reviewed by Brent Fulgham.
3308
3309         * gtk/manifest.txt: Update the NEWS file path.
3310
3311 2014-04-01  Anders Carlsson  <andersca@apple.com>
3312
3313         Fix build.
3314
3315         * MiniBrowser/mac/WK2BrowserWindowController.m:
3316         (-[WK2BrowserWindowController awakeFromNib]):
3317         (-[WK2BrowserWindowController dealloc]):
3318         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
3319
3320 2014-04-01  Brent Fulgham  <bfulgham@apple.com>
3321
3322         Unreviewed test gardening.
3323
3324         * Scripts/webkitpy/port/base_unittest.py:
3325         (PortTest.test_build_path): Handle the Debug case so we don't get webkitpy-test failures on our test bots.
3326
3327 2014-04-01  Zoltan Horvath  <zoltan@webkit.org>
3328
3329         [CSS Exclusions] Remove exclusions parsing support
3330         https://bugs.webkit.org/show_bug.cgi?id=131046
3331
3332         Reviewed by David Hyatt.
3333
3334         * Scripts/webkitperl/FeatureList.pm:
3335
3336 2014-04-01  Manuel Rego Casasnovas  <rego@igalia.com>
3337
3338         [GTK] Remove last reference to GTK+ WK1 EWS
3339         https://bugs.webkit.org/show_bug.cgi?id=131058
3340
3341         Reviewed by Martin Robinson.
3342
3343         In r166427 WK1 GTK+ bots and EWS where removed, but this file was missing.
3344
3345         * QueueStatusServer/config/queues.py: Remove reference to GTK+ WK1 EWS.
3346
3347 2014-04-01  Lucas Forschler  <lforschler@apple.com>
3348
3349         Add a 32bit JSC builder/tester.
3350         https://bugs.webkit.org/show_bug.cgi?id=131054
3351         
3352         Reviewed by Michael Saboff.
3353
3354         * BuildSlaveSupport/build.webkit.org-config/config.json:
3355         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3356         (Compile32bitJSC):
3357         (Run32bitJSCTests):
3358         (Run32bitJSCTests.countFailures):
3359         (BuildAndTest32bitJSCFactory):
3360         (BuildAndTest32bitJSCFactory.__init__):
3361
3362 2014-04-01  Martin Robinson  <mrobinson@igalia.com>
3363
3364         [GTK] No longer build WebKit1 gtkdoc
3365         https://bugs.webkit.org/show_bug.cgi?id=130970
3366
3367         Reviewed by Anders Carlsson.
3368
3369         * gtk/common.py:
3370         (gtk_version_of_pkg_config_file): Deleted.
3371         * gtk/generate-gtkdoc:
3372         (get_gtkdoc_module_paths): We no longer need to worry about GTK+ 2, since it
3373         was only applicable for WebKit1.
3374         (get_generator_for_config): No longer look for the WebKit1 configuration file.
3375
3376 2014-04-01  Mario Sanchez Prada  <mario.prada@samsung.com>
3377
3378         [GTK] Running minibrowser with url crashes in debug build
3379         https://bugs.webkit.org/show_bug.cgi?id=130492
3380
3381         Reviewed by Martin Robinson.
3382
3383         Update "uri-scheme" test not to use invalid URIs in it, so we
3384         don't get a mistmatch when comparing the original URI stored in
3385         the test class with the one returned by the WebKitWebView.
3386
3387         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3388         (testWebContextURIScheme): Update the test.
3389
3390 2014-04-01  Mihai Tica  <mitica@adobe.com>
3391
3392         Unreviewed: Add myself as a commiter to the contributors list.
3393
3394         * Scripts/webkitpy/common/config/contributors.json:
3395
3396 2014-03-31  Ryuan Choi  <ryuan.choi@samsung.com>
3397
3398         [EFL][WK2] Extract the control of page background out of color_set
3399         https://bugs.webkit.org/show_bug.cgi?id=127539
3400
3401         Reviewed by Gyuyoung Kim.
3402
3403         Added an option(C) to change background color.
3404
3405         * MiniBrowser/efl/main.c:
3406         (window_create):
3407         (elm_main):
3408
3409 2014-03-31  Ryuan Choi  <ryuan.choi@samsung.com>
3410
3411         Unreviewed build fix on the EFL port with latest EFL libraries since r166149
3412
3413         * ImageDiff/PlatformEfl.cmake: Added ECORE_IMF_INCLUDE_DIRS to include dirs
3414
3415 2014-03-31  Brent Fulgham  <bfulgham@apple.com>
3416
3417         Unreviewed test correction after r166530.
3418
3419         * DumpRenderTree/mac/DumpRenderTree.mm:
3420         (setDefaultsToConsistentValuesForTesting): No need to change preference for all tests. We set the proper
3421         fine-grained setting for swipe tests. This prevents existing tests from breaking.
3422
3423 2014-03-31  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3424
3425         Remove the trigger for webkit1 tests on the gtk-linux-64-release bot
3426         https://bugs.webkit.org/show_bug.cgi?id=130987
3427
3428         r166427 removed the WebKit1 GTK+ bots, so we don't longer need to
3429         trigger the webkit1 bot tests on the gtk-linux-64-release bot.
3430
3431         Reviewed by Martin Robinson.
3432
3433         * BuildSlaveSupport/build.webkit.org-config/config.json:
3434
3435 2014-03-31  Dean Jackson  <dino@apple.com>
3436
3437         Remove WEB_ANIMATIONS
3438         https://bugs.webkit.org/show_bug.cgi?id=130989
3439
3440         Reviewed by Simon Fraser.
3441
3442         Remove this feature flag until we plan to implement.
3443
3444         * Scripts/webkitperl/FeatureList.pm:
3445
3446 2014-03-31  Brent Fulgham  <bfulgham@apple.com>
3447
3448         Reduced Latched Scroll Test Flakiness
3449         https://bugs.webkit.org/show_bug.cgi?id=130983
3450
3451         Reviewed by Darin Adler.
3452
3453         * DumpRenderTree/mac/DumpRenderTree.mm:
3454         (setDefaultsToConsistentValuesForTesting): Test user should have 'high resolution' scrolling.
3455         * DumpRenderTree/mac/EventSendingController.mm:
3456         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Generate mouse wheel events
3457         with high resolution flags turned on.
3458         * WebKitTestRunner/mac/EventSenderProxy.mm:
3459         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
3460
3461 2014-03-31  Jozsef Berta  <jberta.u-szeged@partner.samsung.com>
3462
3463         run-webkit-tests should have a --no-timeout option
3464         https://bugs.webkit.org/show_bug.cgi?id=128286
3465
3466         Reviewed by Joseph Pecoraro.
3467
3468         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
3469         (Worker._run_test): Renaming _run_test_with_timeout()
3470         (Worker._run_test_with_or_without_timeout): Renaming _run_test_with_timeout(), because tests can now run without timeout.
3471         (Worker._run_test_in_another_thread): Passing the --no-timeout option to the driver
3472         (Worker._run_test_in_this_thread):
3473         (Worker._run_test_with_timeout): Deleted.
3474         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3475         (parse_args): Added the --no-timeout option
3476
3477 2014-03-31  Samuel White  <samuel_white@apple.com>
3478
3479         AX: Need ability to get line range for text marker.
3480         https://bugs.webkit.org/show_bug.cgi?id=130906
3481
3482         Reviewed by Chris Fleizach.
3483
3484         Added a new function in DRT and TestRunner to test that AXLineTextMarkerRangeForTextMarker works as expected.
3485
3486         * DumpRenderTree/AccessibilityUIElement.cpp:
3487         (lineTextMarkerRangeForTextMarkerCallback):
3488         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3489         (AccessibilityUIElement::getJSClass):
3490         * DumpRenderTree/AccessibilityUIElement.h:
3491         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3492         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3493         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3494         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3495         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3496         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3497         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3498         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3499         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3500         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3501         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3502         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3503
3504 2014-03-31  Filip Pizlo  <fpizlo@apple.com>
3505
3506         More validation for FTL inline caches
3507         https://bugs.webkit.org/show_bug.cgi?id=130948
3508
3509         Reviewed by Geoffrey Garen.
3510
3511         * Scripts/run-jsc-stress-tests:
3512
3513 2014-03-31  Carlos Garcia Campos  <cgarcia@igalia.com>
3514
3515         [GTK] Do not run WebKit1 unit tests by default
3516         https://bugs.webkit.org/show_bug.cgi?id=130968
3517
3518         Reviewed by Martin Robinson.
3519
3520         * Scripts/run-gtk-tests:
3521         (TestRunner):
3522
3523 2014-03-31  Martin Robinson  <mrobinson@igalia.com>
3524
3525         [GTK] Remove scripts code only applicable to autotools
3526         https://bugs.webkit.org/show_bug.cgi?id=130841
3527
3528         Reviewed by Anders Carlsson.
3529
3530         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3531         (_should_file_trigger_build): Update file list to reflect GTK+ CMake port.
3532         * Scripts/webkitpy/common/config/watchlist: Remove the GTK+ build watchlist.
3533         * Scripts/webkitpy/style/checker.py: The GNUmakefile doesn't exist any longer.
3534         * gtk/find-make-dist-errors: Removed.
3535         * gtk/generate-feature-defines-files: Removed.
3536         * gtk/manifest.txt: No longer need to consider autotools files.
3537
3538 2014-03-30  Andy Estes  <aestes@apple.com>
3539
3540         Fix two failing layout tests on Mountain Lion after r166466.
3541
3542         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
3543         (-[DownloadDelegate _downloadDidStart:]):
3544
3545 2014-03-30  Andy Estes  <aestes@apple.com>
3546
3547         [Cocoa] Add an originatingWebView property to _WKDownload
3548         https://bugs.webkit.org/show_bug.cgi?id=130945
3549
3550         Reviewed by Anders Carlsson.
3551
3552         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
3553         (-[DownloadDelegate _downloadDidStart:]):
3554         (-[OriginatingWebViewDownloadDelegate initWithWebView:]):
3555         (-[OriginatingWebViewDownloadDelegate _downloadDidStart:]):
3556         (TEST):
3557
3558 2014-03-28  Filip Pizlo  <fpizlo@apple.com>
3559
3560         Land the stackmap register liveness glue with the uses of the liveness disabled
3561         https://bugs.webkit.org/show_bug.cgi?id=130924
3562
3563         Reviewed by Oliver Hunt.
3564
3565         * Scripts/run-jsc-stress-tests:
3566
3567 2014-03-29  Alexey Proskuryakov  <ap@apple.com>
3568
3569         Update WebKit1.StringTruncator for Mountain Lion.
3570
3571         * TestWebKitAPI/Tests/mac/StringTruncator.mm: Looks like one subtest was failing
3572         due to different font metrics on 10.8.
3573
3574 2014-03-28  Darin Adler  <darin@apple.com>
3575
3576         Fix recently-introduced off-by-one error in centerTruncateToBuffer
3577         https://bugs.webkit.org/show_bug.cgi?id=130889
3578
3579         Reviewed by Alexey Proskuryakov.
3580
3581         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added StringTruncator.mm.
3582         * TestWebKitAPI/Tests/mac/StringTruncator.mm: Added. One test for each of the
3583         WebStringTruncator methods; should be good for a start. These are dependent on the
3584         metrics of Helvetica 12, but I am hoping that will be consistent across OS X machines.
3585
3586 2014-03-28  Martin Hock  <mhock@apple.com>
3587
3588         Unreviewed. Add myself as a committer.
3589
3590         * Scripts/webkitpy/common/config/contributors.json:
3591
3592 2014-03-28  Martin Robinson  <mrobinson@igalia.com>
3593
3594         Remove WebKit1 GTK+ bots
3595         https://bugs.webkit.org/show_bug.cgi?id=130904
3596
3597         Reviewed by Anders Carlsson.
3598
3599         * BuildSlaveSupport/build.webkit.org-config/config.json: Remove references to GTK+ WebKit1 test bot and ensure
3600         all bots are testing WebKit2 only.
3601         * Scripts/webkitpy/common/config/ews.json: Remove references to GTK+ WK1 EWS.
3602         * Scripts/webkitpy/common/config/ports.py: Remove references to GTK+ WK1 bots.
3603         * Scripts/webkitpy/common/config/ports_unittest.py: Ditto.
3604         * Scripts/webkitpy/port/builders.py: Ditto.
3605         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py: Ditto.
3606         * TestResultServer/static-dashboards/builders.jsonp: Ditto.
3607
3608 2014-03-28  Timothy Hatcher  <timothy@apple.com>
3609
3610         Remove Brian Burg's apple.com email address.
3611
3612         * Scripts/webkitpy/common/config/contributors.json:
3613
3614 2014-03-28  David Kilzer  <ddkilzer@apple.com>
3615
3616         bisect-builds should print Trac 'changeset' URL if only one build is detected
3617         <http://webkit.org/b/130903>
3618
3619         Reviewed by Dan Bernstein.
3620
3621         * Scripts/bisect-builds:
3622         (printTracLink): Print a direct link to the Trac 'changeset'
3623         URL if there is only one revision in the range.
3624
3625 2014-03-28  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3626
3627         [EFL] Bump glib version from 2.36 to 2.38 
3628         https://bugs.webkit.org/show_bug.cgi?id=130886
3629
3630         Reviewed by Csaba Osztrogonác.
3631
3632         There is a build break on EFL port when using glib 2.36 ver. To fix it,
3633         we need to bump glib version up to 2.38 as gtk port.
3634
3635         * efl/jhbuild.modules:
3636
3637 2014-03-27  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3638
3639         <https://webkit.org/b/42704> WebKitTestRunner needs to print history delegate information
3640
3641         Provide an implementation of WKContextHistoryClient that logs when called for tests in
3642         the globalhistory directory.
3643
3644         Reviewed by Sam Weinig.
3645
3646         * WebKitTestRunner/TestController.cpp:
3647         (WTR::TestController::TestController):
3648         (WTR::TestController::initialize): Set the history client.
3649         (WTR::TestController::resetStateToConsistentValues): Disable logging of history client callbacks.
3650         (WTR::TestController::didNavigateWithNavigationData): Log information about the navigation. Some portions
3651         of the output are hard-coded to match WebKit1's results for now since they're fixed in our existing tests
3652         and we don't yet have API to access the data in question.
3653         (WTR::TestController::didPerformClientRedirect):
3654         (WTR::TestController::didPerformServerRedirect):
3655         (WTR::TestController::didUpdateHistoryTitle):
3656         * WebKitTestRunner/TestController.h:
3657         (WTR::TestController::setShouldLogHistoryClientCallbacks):
3658         * WebKitTestRunner/TestInvocation.cpp:
3659         (WTR::shouldLogHistoryClientCallbacks): Log history client callbacks for tests in a globalhistory directory.
3660         (WTR::TestInvocation::invoke):
3661