Dromaeo patch used by run-benchmark should not include an invalid address.
[WebKit.git] / Tools / ChangeLog
1 2016-03-25  Dewei Zhu  <dewei_zhu@apple.com>
2
3         Dromaeo patch used by run-benchmark should not include an invalid address.
4         https://bugs.webkit.org/show_bug.cgi?id=155910
5
6         Reviewed by Ryosuke Niwa.
7
8         Should not use invalid 'http://127.0.0.1/Icons/w3c_home' in the patched version of test.
9         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch:
10
11 2016-03-25  Daniel Bates  <dabates@apple.com>
12
13         Add WebKitSystemInterface for iOS 9.3
14         https://bugs.webkit.org/show_bug.cgi?id=155893
15
16         Rubber-stamped by Alexey Proskuryakov.
17
18         * Scripts/copy-webkitlibraries-to-product-directory:
19
20 2016-03-25  Daniel Bates  <dabates@apple.com>
21
22         Use webkitdirs::determineXcodeSDK() instead of webkitdirs::willUseIOSDeviceSDK()
23         in copy-webkitlibraries-to-product-directory
24         https://bugs.webkit.org/show_bug.cgi?id=155869
25
26         Reviewed by Alexey Proskuryakov.
27
28         It is sufficient and more direct to call webkitdirs::determineXcodeSDK() instead of
29         webkitdirs::willUseIOSDeviceSDK() to process the --sdk/--device/--ios-simulator command
30         line argument.
31
32         * Scripts/copy-webkitlibraries-to-product-directory:
33
34 2016-03-25  Konstantin Tokarev  <annulen@yandex.ru>
35
36         Turned on ENABLE_REQUEST_ANIMATION_FRAME by default for any port.
37         https://bugs.webkit.org/show_bug.cgi?id=155882
38
39         Reviewed by Michael Catanzaro.
40
41         It was already enabled in all trunk ports, and is required for
42         WebInspectorUI to work.
43
44         * Scripts/webkitperl/FeatureList.pm:
45
46 2016-03-24  Jeremy Zerfas  <WebKit@JeremyZerfas.com>
47
48         Improve update-webkit-dependency script.
49         https://bugs.webkit.org/show_bug.cgi?id=155576
50
51         Reviewed by Brent Fulgham.
52
53         * Scripts/update-webkit-dependency:
54         -Updated script to also use ETags for helping to determine whether dependency is up to date.
55         -Updated script so it usually won't need to download the entire dependency each time it is
56          ran.
57         -Updated script to ensure zip file contains expected directories before trying to install.
58         -Added some more error checking and improved error messages.
59         (lastModifiedToUnixTime): Deleted.
60
61         * Scripts/update-webkit-wincairo-libs:
62         -Corrected comment about what script does.
63
64 2016-03-24 Bill Ming <mbbill@gmail.com>
65
66         Fix webkitpy tests after r198617
67         https://bugs.webkit.org/show_bug.cgi?id=155827
68
69         Reviewed by Alex Christensen.
70
71         * Scripts/webkitpy/tool/steps/confirmdiff.py:
72         (ConfirmDiff._show_pretty_diff):
73
74 2016-03-23  Bill Ming  <mbbill@gmail.com>
75
76         webkit-patch failed to open pretty diff on Windows
77         https://bugs.webkit.org/show_bug.cgi?id=155827
78
79         Reviewed by Alex Christensen.
80
81         * Scripts/webkitpy/tool/steps/confirmdiff.py:
82         (ConfirmDiff._show_pretty_diff):
83
84 2016-03-23  Jer Noble  <jer.noble@apple.com>
85
86         [ios-sim] RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForVideoButNotAudioPlayback failing
87         https://bugs.webkit.org/show_bug.cgi?id=155764
88
89         Reviewed by Eric Carlson.
90
91         Remove the requirement for media elements to have webkit-playsinline attributes on iOS.
92
93         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
94         (RequiresUserActionForPlaybackTest::SetUp):
95
96 2016-03-23  Anders Carlsson  <andersca@apple.com>
97
98         Crash when using KVO from within -[WebView initWithCoder:]
99         https://bugs.webkit.org/show_bug.cgi?id=155816
100         rdar://problem/17073265
101
102         Reviewed by Dan Bernstein.
103
104         Add test.
105
106         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
107         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm: Added.
108         (-[EarlyKVOCrashResponder initWithWebView:]):
109         (-[EarlyKVOCrashResponder initWithCoder:]):
110         (-[EarlyKVOCrashResponder dealloc]):
111         (-[EarlyKVOCrashResponder encodeWithCoder:]):
112         (TestWebKitAPI::TEST):
113
114 2016-03-23  Lucas Forschler  <lforschler@apple.com>
115
116         Teach kill-old-processes about perl 5.18.
117         
118         Reviewed by Alexey Proskuryakov
119
120         * BuildSlaveSupport/kill-old-processes:
121         (main):
122
123 2016-03-22  Keith Rollin  <krollin@apple.com>
124
125         Unreviewed: add Keith Rollin to the committers list.
126
127         * Scripts/webkitpy/common/config/contributors.json:
128
129 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
130
131         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
132         https://bugs.webkit.org/show_bug.cgi?id=141499
133
134         Reviewed by Brent Fulgham.
135
136         As we have moved on to VS2015, this workaround is no longer needed.
137
138         * DumpRenderTree/cg/ImageDiffCG.cpp:
139         (main):
140         * DumpRenderTree/win/DumpRenderTree.cpp:
141         (main):
142         * DumpRenderTree/win/ImageDiffCairo.cpp:
143         (main):
144         * MiniBrowser/win/Common.cpp:
145         (DllMain):
146         * TestWebKitAPI/win/main.cpp:
147         (main):
148         * win/DLLLauncher/DLLLauncherMain.cpp:
149         (wWinMain):
150
151 2016-03-22  Yusuke Suzuki  <utatane.tea@gmail.com>
152
153         [JSC] ASMBench cannot be run without JSBENCH_PATH
154         https://bugs.webkit.org/show_bug.cgi?id=155751
155
156         Reviewed by Saam Barati.
157
158         Check ASMBENCH_PATH instead of JSBENCH_PATH for ASMBench files.
159
160         * Scripts/run-jsc-benchmarks:
161
162 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
163
164         [Win] SharedBuffer::copy() can cause a segmentation fault.
165         https://bugs.webkit.org/show_bug.cgi?id=155739
166
167         Reviewed by Ryosuke Niwa.
168
169         * TestWebKitAPI/PlatformWin.cmake: Build and run the
170         SharedBuffer tests.
171
172 2016-03-22  Csaba Osztrogonác  <ossy@webkit.org>
173
174         [buildbot] Move ARM Linux bots to JSCOnly port
175         https://bugs.webkit.org/show_bug.cgi?id=155655
176
177         Reviewed by Lucas Forschler.
178
179         * BuildSlaveSupport/build.webkit.org-config/config.json:
180         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
181         (ConfigureBuild.__init__):
182         (appendCustomBuildFlags):
183         (CompileJSCOnly):
184         (Factory.__init__):
185         (BuildAndRemoteJSCTestsFactory):
186         (BuildAndRemoteJSCTestsFactory.__init__):
187         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
188         * BuildSlaveSupport/clean-build:
189         (main):
190
191 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
192
193         Improve SharedBuffer testing
194         https://bugs.webkit.org/show_bug.cgi?id=93078
195         <rdar://problem/25277829>
196
197         Reviewed by Ryosuke Niwa.
198
199         Based on a Blink patch by Huang Dongsung <luxtella@company100.net>.
200         <https://src.chromium.org/viewvc/blink?revision=153850&view=revision,
201         and a Blink patch by <tyoshino@chromium.org>
202         <https://src.chromium.org/viewvc/blink?view=rev&revision=151617>
203
204         Add three test cases from the Blink project that cover various append,
205         copy, and createArrayBuffer calls.
206
207         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp:
208         (TestWebKitAPI::TEST_F):
209
210 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com>
211
212         [Win] Connect layoutTestController.findString() to support testing
213         https://bugs.webkit.org/show_bug.cgi?id=50234
214
215         Reviewed by Alex Christensen.
216
217         Implement TestRunner::findString().
218
219         * DumpRenderTree/win/TestRunnerWin.cpp:
220         (TestRunner::findString):
221
222 2016-03-20  Dan Bernstein  <mitz@apple.com>
223
224         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
225         https://bugs.webkit.org/show_bug.cgi?id=155707
226         <rdar://problem/24980691>
227
228         Reviewed by Darin Adler.
229
230         * ContentExtensionTester/Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR
231           based on the last component of MACOSX_DEPLOYMENT_TARGET.
232         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: For engineering builds,
233           preserve the behavior of TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
234
235         Similarly for these projects:
236
237         * DumpRenderTree/mac/Configurations/Base.xcconfig:
238         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
239         * LayoutTestRelay/Configurations/Base.xcconfig:
240         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
241         * MiniBrowser/Configurations/Base.xcconfig:
242         * MiniBrowser/Configurations/DebugRelease.xcconfig:
243         * TestWebKitAPI/Configurations/Base.xcconfig:
244         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
245         * WebEditingTester/Configurations/Base.xcconfig:
246         * WebEditingTester/Configurations/DebugRelease.xcconfig:
247         * WebKitTestRunner/Configurations/Base.xcconfig:
248         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
249
250 2016-03-20  Dan Bernstein  <mitz@apple.com>
251
252         Update build settings
253
254         Rubber-stamped by Andy Estes.
255
256         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
257         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
258         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
259         * MiniBrowser/Configurations/DebugRelease.xcconfig:
260         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
261         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Synced up to the ones in ../Source.
262         * WebEditingTester/Configurations/DebugRelease.xcconfig:
263         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
264         * asan/asan.xcconfig:
265
266 2016-03-18  Sam Weinig  <sam@webkit.org>
267
268         Add test for HashMap::ensure that shows that moving into the lambda does not incure extra cost
269         https://bugs.webkit.org/show_bug.cgi?id=155621
270
271         Reviewed by Alex Christensen.
272
273         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
274         (TestWebKitAPI::ObjectWithRefLogger::ObjectWithRefLogger):
275         (TestWebKitAPI::testMovingUsingEnsure):
276         (TestWebKitAPI::testMovingUsingAdd):
277         Add tests ensuring that objects moved into a map using ensure don't
278         have extra ref-churn.
279
280 2016-03-17  Tim Horton  <timothy_horton@apple.com>
281
282         Fix some deprecation warnings in WebEditingTester
283         https://bugs.webkit.org/show_bug.cgi?id=155601
284
285         Reviewed by Simon Fraser.
286
287         * WebEditingTester/AppDelegate.m:
288         (-[WebEditingAppDelegate showOperations:]):
289         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
290
291 2016-03-17  Tim Horton  <timothy_horton@apple.com>
292
293         Find-in-page indicator in Mail viewer is the wrong scale and cut off
294         https://bugs.webkit.org/show_bug.cgi?id=155605
295         <rdar://problem/23948165>
296
297         Reviewed by Simon Fraser.
298
299         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm:
300         (TEST):
301         Add a test that ensures that the find result image is correctly @2x.
302         The NSImage size should be in points.
303
304 2016-03-16  Commit Queue  <commit-queue@webkit.org>
305
306         Unreviewed, rolling out r198187.
307         https://bugs.webkit.org/show_bug.cgi?id=155564
308
309         Potentially break testing on iOS (Requested by Guest23 on
310         #webkit).
311
312         Reverted changeset:
313
314         "Add twisted-15.5.0 module to
315         webkitpy.thirdparty.autoinstalled."
316         https://bugs.webkit.org/show_bug.cgi?id=154667
317         http://trac.webkit.org/changeset/198187
318
319 2016-03-16  David Kilzer  <ddkilzer@apple.com>
320
321         check-webkit-style: should warn about blank lines after #include "config.h" in TestWebKitAPI
322         <http://webkit.org/b/155445>
323
324         Reviewed by Darin Adler.
325
326         * Scripts/webkitpy/style/checker.py:
327         (_PATH_RULES_SPECIFIER): Do not ignore "build/include*" checks
328         on TestWebKitAPI since this project uses a config.h header as of
329         r95188.  Also remove references to WebKitAPITest, which ceased
330         to exist in r95944.
331
332         * Scripts/webkitpy/style/checker_unittest.py:
333         (GlobalVariablesTest.test_path_rules_specifier): Add tests.
334         Remove reference to WebKitAPITest project.
335
336 2016-03-16  Tim Horton  <timothy_horton@apple.com>
337
338         [mac] Printing test snapshots are upside-down after r198242
339         https://bugs.webkit.org/show_bug.cgi?id=155543
340
341         Reviewed by Simon Fraser.
342
343         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
344         (createPagedBitmapContext):
345         Flip printing snapshots in DRT so that everything is right-side-up.
346
347 2016-03-16  Alexey Proskuryakov  <ap@apple.com>
348
349         Update unit test for iOS debug queues.
350
351         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
352
353 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
354
355         URL Parsing should signal failure for illegal IDN
356         https://bugs.webkit.org/show_bug.cgi?id=154945
357         <rdar://problem/8014795>
358
359         Reviewed by Brent Fulgham.
360
361         * MiniBrowser/mac/WK2BrowserWindowController.m:
362         (-[WK2BrowserWindowController fetch:]):
363         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
364         (TestWebKitAPI::TEST):
365
366 2016-03-15  Tim Horton  <timothy_horton@apple.com>
367
368         [iOS Simulator] Test result snapshots are upside down
369         https://bugs.webkit.org/show_bug.cgi?id=154761
370
371         Reviewed by Simon Fraser.
372
373         * WebKitTestRunner/cg/TestInvocationCG.cpp:
374         (WTR::createCGContextFromImage):
375         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
376         In r97104, Simon added code to take WindowServer snapshots, which came
377         in flipped, and added code to flip them back. At this point, WindowServer
378         snapshots got flipped, and software snapshots did not.
379
380         In r140067, Simon noticed that WindowServer ref test images were upside-down
381         on Mac (not sure why this changed), so turned off the flipping code (but
382         didn't delete it!). Now, WindowServer snapshots and software snapshots both
383         are not flipped.
384
385         In r190304, Carlos added an enum for the source of the snapshot ("WebView"
386         for window server snapshots, and "WebContent" for software snapshots),
387         and - critically - changed the flipping logic to flip software snapshots!
388
389         We didn't notice this on Mac because at this point we've made it so that
390         we *always* have WindowServer snapshots, but on iOS we still don't have
391         WindowServer snapshots, so now they're flipped.
392
393         And that's how we got here.
394
395         To restore the behavior from r140067, and correctly unflip snapshots on
396         iOS, just delete this code.
397
398 2016-03-15  Alexey Proskuryakov  <ap@apple.com>
399
400         run-api-tests doesn't print test name when the test crashes
401         https://bugs.webkit.org/show_bug.cgi?id=155476
402
403         Reviewed by Daniel Bates.
404
405         * Scripts/run-api-tests: Print "UNEXPECTEDLY EXITED" with a test name when output
406         doesn't contain the test name yet. Changed test name output to always be before raw
407         stdout for clarity.
408
409 2016-03-15  Chris Dumez  <cdumez@apple.com>
410
411         Unreviewed, rolling out r198203.
412
413         Favorites view is no longer loading on iOS
414
415         Reverted changeset:
416
417         "URL Parsing should signal failure for illegal IDN"
418         https://bugs.webkit.org/show_bug.cgi?id=154945
419         http://trac.webkit.org/changeset/198203
420
421 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
422
423         URL Parsing should signal failure for illegal IDN
424         https://bugs.webkit.org/show_bug.cgi?id=154945
425         <rdar://problem/8014795>
426
427         Reviewed by Brent Fulgham.
428
429         * MiniBrowser/mac/WK2BrowserWindowController.m:
430         (-[WK2BrowserWindowController fetch:]):
431         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
432         (TestWebKitAPI::TEST):
433
434 2016-03-14  Chris Dumez  <cdumez@apple.com>
435
436         Unreviewed, rolling out r197981.
437
438         Caused a massive PLT regression on Mac.
439
440         Reverted changeset:
441
442         "Font antialiasing (smoothing) changes when elements are
443         rendered into compositing layers"
444         https://bugs.webkit.org/show_bug.cgi?id=23364
445         http://trac.webkit.org/changeset/197981
446
447 2016-03-14  Dewei Zhu  <dewei_zhu@apple.com>
448
449         Add twisted-15.5.0 module to webkitpy.thirdparty.autoinstalled.
450         https://bugs.webkit.org/show_bug.cgi?id=154667
451
452         Reviewed by Ryosuke Niwa and Simon Fraser.
453
454         Add twisted-15.5.0 to webkitpy.thirdparty.autoinstalled.
455         Minor fix for twsited_http_server used by run-benchmark that we should only stop http server while recieving 'GET /shutdown'.
456
457         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
458         (ServerControl.render_POST): Deleted.
459         * Scripts/webkitpy/thirdparty/__init__.py:
460         (AutoinstallImportHook.find_module):
461         (AutoinstallImportHook._install_twisted_15_5_0):
462         * Scripts/webkitpy/thirdparty/__init___unittest.py:
463         (ThirdpartyTest.test_imports):
464
465 2016-03-14  Mark Lam  <mark.lam@apple.com>
466
467         Need to distinguish between Symbol() and Symbol("").
468         https://bugs.webkit.org/show_bug.cgi?id=155438
469
470         Reviewed by Saam Barati.
471
472         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
473         (TestWebKitAPI::TEST):
474         - Test that the a symbol with an empty string is not equivalent to a null symbol. 
475
476 2016-03-14  David Kilzer  <ddkilzer@apple.com>
477
478         Remove blank lines after #include "config.h"
479
480         Follow-up fix from review comments on Bug 155394.
481
482         * TestWebKitAPI/PlatformUtilities.cpp:
483         * TestWebKitAPI/Tests/WTF/RefLogger.cpp:
484
485 2016-03-14  Frederic Wang  <fred.wang@free.fr>
486
487         Unreviewed: Add my professional email address.
488
489         * Scripts/webkitpy/common/config/contributors.json:
490
491 2016-03-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
492
493         Web platform test server should not try to launch servers on already bound sockets
494         https://bugs.webkit.org/show_bug.cgi?id=141157
495
496         Reviewed by Darin Adler.
497
498         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
499         (wpt_config_json): Load WPT config from LayoutTests/imported/w3c/resources/config.json.
500         (base_url): Refactored to use wpt_config_json routine.
501         (WebPlatformTestServer.__init__): Fill port mappings according WPT config.
502
503 2016-03-13  Joseph Pecoraro  <pecoraro@apple.com>
504
505         Remove ENABLE(ES6_TEMPLATE_LITERAL_SYNTAX) guards
506         https://bugs.webkit.org/show_bug.cgi?id=155417
507
508         Reviewed by Yusuke Suzuki.
509
510         * Scripts/webkitperl/FeatureList.pm:
511         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
512
513 2016-03-13  Dean Jackson  <dino@apple.com>
514
515         DRT should enable WebGL by default on Mac
516         https://bugs.webkit.org/show_bug.cgi?id=155419
517         <rdar://problem/25136981>
518
519         Reviewed by Sam Weinig.
520
521         For some reason, lost in time, WebGL was enabled
522         by default on trunk, but disabled by default
523         in DumpRenderTree when using WebKit 1. This
524         was very annoying, because each test had
525         an explicit command to enable it.
526
527         * DumpRenderTree/mac/DumpRenderTree.mm:
528         (resetWebPreferencesToConsistentValues): Deleted WebGL line.
529
530 2016-03-13  Konstantin Tokarev  <annulen@yandex.ru>
531
532         Added new port JSCOnly.
533         https://bugs.webkit.org/show_bug.cgi?id=154512
534
535         Reviewed by Michael Catanzaro.
536
537         This port allows to build JavaScriptCore engine with minimal
538         dependencies.
539
540         * Scripts/build-jsc:
541         * Scripts/webkitdirs.pm:
542         (argumentsForConfiguration):
543         (executableProductDir):
544         (determinePortName):
545         (isJSCOnly):
546         (wrapperPrefixIfNeeded):
547         (generateBuildSystemFromCMakeProject):
548         (buildCMakeGeneratedProject):
549
550 2016-03-13  David Kilzer  <ddkilzer@apple.com>
551
552         TestWebKitAPI: fix linker warnings
553         <http://webkit.org/b/155394>
554
555         Reviewed by Darin Adler.
556
557         * TestWebKitAPI/CMakeLists.txt:
558         - Add RefLogger.cpp source file.
559         - Add other missing cross-platform source files.
560         - Add FIXMEs about RunLoop.cpp and about missing
561           platform-specific source files.
562         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
563         - Add RefLogger.cpp source file.
564
565         * TestWebKitAPI/Counters.cpp:
566         (DeleterCounter<ConstructorDestructorCounter>::deleterCount):
567         Move specific declaration here to fix linker warning.
568         * TestWebKitAPI/Counters.h:
569         (DeleterCounter<T>::deleterCount): Remove declaration of global
570         template variable.
571
572         * TestWebKitAPI/Tests/WTF/RefLogger.cpp: Added.
573         (TestWebKitAPI::log): Added.  Move inline definition in
574         RefLogger.h to here to fix linker warning.
575
576         * TestWebKitAPI/Tests/WTF/RefLogger.h:
577         (TestWebKitAPI::log): Replace inline function with declaration.
578
579 2016-03-12  David Kilzer  <ddkilzer@apple.com>
580
581         REGRESSION (r178615): Fix incorrect case in included header for WeakPtr.cpp
582
583         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Change "test.h" to
584         "Test.h" to fix incorrect case.  This was discovered when adding
585         WeakPtr.cpp to CMakeLists.txt for the patch on Bug 155394.
586
587 2016-03-12  David Kilzer  <ddkilzer@apple.com>
588
589         run-webkit-tests: handle Darwin framework/library environment variables more consistently
590         <http://webkit.org/b/155392>
591
592         Reviewed by Daniel Bates.
593
594         These changes will make it possible to pass through environment
595         variables from the run-webkit-tests command-line.
596
597         * Scripts/webkitpy/port/base.py:
598         (Port.to.setup_environ_for_server): Add DYLD_FRAMEWORK_PATH,
599         __XPC_DYLD_FRAMEWORK_PATH and __XPC_DYLD_LIBRARY_PATH to the
600         list of variables to keep from the run-webkit-test environment.
601
602         * Scripts/webkitpy/port/driver.py:
603         (Driver._append_environment_variable_path): Add method to append
604         a path to an environment variable, or set the path if the
605         variable doesn't exist.
606         (Driver._setup_environ_for_driver): Extract build_root_path into
607         a local variable.  Use Driver._append_environment_variable_path
608         to extend DYLD_LIBRARY_PATH, __XPC_DYLD_LIBRARY_PATH,
609         DYLD_FRAMEWORK_PATH and __XPC_DYLD_FRAMEWORK_PATH instead of
610         overwriting them.
611
612         * Scripts/webkitpy/port/driver_unittest.py:
613         (DriverTest.test__append_environment_variable_path): Add test
614         method to test Driver._append_environment_variable_path.
615
616 2016-03-11  Alexey Proskuryakov  <ap@apple.com>
617
618         [ios-sim debug] API test WTF_Lock.ContendedShortSection and WTF_ParkingLot.UnparkOneFifty timing out
619         https://bugs.webkit.org/show_bug.cgi?id=155276
620
621         [ios-sim] API test WTF_Condition.TenProducersTenConsumersOneSlot timing out
622         https://bugs.webkit.org/show_bug.cgi?id=155345
623
624         [iOS Simulator] API test timeout: WTF_ParkingLot.UnparkOneFiftyThenFiftyAll
625         https://bugs.webkit.org/show_bug.cgi?id=153997
626         <rdar://problem/23580034>
627
628         <rdar://problem/23580018> TestWebKitAPI Timeout: WTF_ParkingLot.UnparkOneFifty
629
630         Rubber-stamped by Filip Pizlo.
631
632         * Scripts/run-api-tests: These tests are pretty slow. Increase API test timeout.
633
634         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp: Start running WTF_ParkingLot.UnparkOneFiftyThenFiftyAll
635         on iOS again.
636
637 2016-03-11  Jer Noble  <jer.noble@apple.com>
638
639         [ios-sim debug] API tests RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForAudioButNotVideoPlayback asserting
640         https://bugs.webkit.org/show_bug.cgi?id=155365
641
642         Reviewed by Darin Adler.
643
644         Allow tests running on iOS simulator to play video inline, avoiding this assert.
645
646         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
647         (RequiresUserActionForPlaybackTest::SetUp):
648
649 2016-03-11  Frederic Wang  <fwang@igalia.com>
650
651         [jhbuild] Disable LLVM OCaml bindings.
652         https://bugs.webkit.org/show_bug.cgi?id=153274
653
654         Reviewed by Michael Catanzaro.
655
656         * gtk/jhbuild.modules: disable all (actually only OCaml) bindings for LLVM.
657
658 2016-03-11  Commit Queue  <commit-queue@webkit.org>
659
660         Unreviewed, rolling out r197495.
661         https://bugs.webkit.org/show_bug.cgi?id=155369
662
663         LLVM is needed to run update-webkitgtk-libs reliably
664         (Requested by mcatanzaro on #webkit).
665
666         Reverted changeset:
667
668         "[jhbuild] Remove LLVM dependency."
669         https://bugs.webkit.org/show_bug.cgi?id=153274
670         http://trac.webkit.org/changeset/197495
671
672 2016-03-11  Youenn Fablet  <youenn.fablet@crf.canon.fr>
673
674         WTF should have a similar function as equalLettersIgnoringASCIICase to match beginning of strings
675         https://bugs.webkit.org/show_bug.cgi?id=153419
676
677         Reviewed by Darin Adler.
678
679         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
680         (TestWebKitAPI::TEST): Adding test case for startsWithLettersIgnoringASCIICase.
681
682
683 2016-03-10  Simon Fraser  <simon.fraser@apple.com>
684
685         Font antialiasing (smoothing) changes when elements are rendered into compositing layers
686         https://bugs.webkit.org/show_bug.cgi?id=23364
687
688         Reviewed by Tim Horton.
689
690         Turn off smoothed layer text because it affects many layout test results.
691
692         * DumpRenderTree/mac/DumpRenderTree.mm:
693         (resetWebViewToConsistentStateBeforeTesting):
694         * WebKitTestRunner/TestController.cpp:
695         (WTR::TestController::resetStateToConsistentValues):
696
697 2016-03-10  Jer Noble  <jer.noble@apple.com>
698
699         Partial roll-out of r197953; test fails because encode/decode support of those properties were never added.
700
701         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
702         (TEST): Deleted.
703
704 2016-03-10  Myles C. Maxfield  <mmaxfield@apple.com>
705
706         [OS X] Main frame scrollbars should appear on the left on RTL systems
707         https://bugs.webkit.org/show_bug.cgi?id=155149
708
709         Reviewed by Simon Fraser.
710
711         Setting the volatile default needs to be done early, so it is
712         plumbed through the injected bundle's initialization routine.
713
714         Control of RTL scrollbars is handled by putting the string
715         <!-- webkit-test-runner [ rtlScrollbars=true ] -->
716         on the first line of a test.
717
718         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
719         (WTR::shouldUseRTLScrollbars):
720         (WTR::InjectedBundle::platformInitialize):
721         * WebKitTestRunner/TestController.cpp:
722         (WTR::TestController::generatePageConfiguration):
723         (WTR::updateTestOptionsFromTestHeader):
724         (WTR::TestController::getInjectedBundleInitializationUserData):
725         * WebKitTestRunner/TestController.h:
726         * WebKitTestRunner/TestOptions.h:
727         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
728         (WTR::PlatformWebView::viewSupportsOptions):
729
730 2016-03-08  Jer Noble  <jer.noble@apple.com>
731
732         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
733         https://bugs.webkit.org/show_bug.cgi?id=155141
734
735         Reviewed by Beth Dakin.
736
737         Set the default values for media preferences unconditionally, not just on PLATFORM(IOS). Set "video requires user gesture"
738         to sane defaults in addition to "audio requires user gesture" and (in the case of DumpREnderTree) instead of "media requires user gesture".
739
740         Add a new test of WK2 user gesture requirement preferences.
741
742         * DumpRenderTree/mac/DumpRenderTree.mm:
743         (resetWebPreferencesToConsistentValues):
744         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
745         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
746         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
747         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm: Added.
748         (-[RequiresUserActionForPlaybackNavigationDelegate webView:didFinishNavigation:]):
749         (-[RequiresUserActionForPlaybackMessageHandler userContentController:didReceiveScriptMessage:]):
750         (RequiresUserActionForPlaybackTest::SetUp):
751         (RequiresUserActionForPlaybackTest::createWebView):
752         (RequiresUserActionForPlaybackTest::testVideoWithAudio):
753         (RequiresUserActionForPlaybackTest::testVideoWithoutAudio):
754         (RequiresUserActionForPlaybackTest::testAudioOnly):
755         (TEST_F):
756         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
757         (TEST):
758
759 2016-03-10  Brian Burg  <bburg@apple.com>
760
761         Web Inspector: should be able to run protocol and input generator scripts from any directory
762         https://bugs.webkit.org/show_bug.cgi?id=155307
763
764         Reviewed by Joseph Pecoraro.
765
766         * Scripts/webkitpy/inspector/main.py:
767         (InspectorGeneratorTests.main):
768         * Scripts/webkitpy/replay/main.py:
769         (InputGeneratorTests.main):
770         Compute the current SCM based on the location of the script being executed, not
771         the $CWD which could be anything. There's rarely a good reason to use $CWD.
772
773 2016-03-10  David Kilzer  <ddkilzer@apple.com>
774
775         [iOS] DumpRenderTree crashes when accessing window.testRunner.inspectorTestStubURL
776         <http://webkit.org/b/155295>
777
778         Reviewed by Brent Fulgham.
779
780         * DumpRenderTree/mac/TestRunnerMac.mm:
781         (TestRunner::inspectorTestStubURL): Always return nullptr for
782         PLATFORM(IOS).  This matches what we did in r192604 for
783         WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm.
784
785 2016-03-10  Frederic Wang  <fwang@igalia.com>
786
787         [GTK] Add support for WOFF2
788         https://bugs.webkit.org/show_bug.cgi?id=152616
789
790         Reviewed by Carlos Garcia Campos.
791
792         * Scripts/webkitpy/style/checker.py: Only verify basic style for third party modules brotli and woff2.
793
794 2016-03-09  Ryosuke Niwa  <rniwa@webkit.org>
795
796         Add runtime flags for shadow DOM and custom elements
797         https://bugs.webkit.org/show_bug.cgi?id=155213
798
799         Reviewed by Dean Jackson.
800
801         Always enable shadow DOM and custom elements during testing.
802
803         * DumpRenderTree/mac/DumpRenderTree.mm:
804         (resetWebPreferencesToConsistentValues):
805         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
806         (WTR::InjectedBundle::beginTesting):
807         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
808         (WTR::TestRunner::setShadowDOMEnabled): Added.
809         * WebKitTestRunner/InjectedBundle/TestRunner.h:
810
811 2016-03-09  Brent Fulgham  <bfulgham@apple.com>
812
813         Handling 'allowUniversalAccessFromFileURLs' on WKWebViewConfiguration causes test breakage
814         https://bugs.webkit.org/show_bug.cgi?id=155265
815         <rdar://problem/11101440>
816
817         Reviewed by Andy Estes.
818
819         WK2 localStorage tests need the 'AllowUniversalAccessFromFileURLs' preference set by default.
820         Tests that confirm blocking localStorage manually set the flag to "False" in the test.
821
822         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
823         (WTR::initializeWebViewConfiguration): Set the default state to the correct value.
824
825 2016-03-09  David Kilzer  <ddkilzer@apple.com>
826
827         check-webkit-style: fix false-positive warnings about @try/@catch blocks in Objective-C++ source files
828         <http://webkit.org/b/155273>
829
830         Reviewed by Andy Estes.
831
832         * Scripts/webkitpy/style/checkers/cpp.py:
833         (check_spacing_for_function_call): Ignore @catch lines.
834         (check_braces): Ditto.
835         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
836         (CppStyleTest.test_brace_at_begin_of_line): Add test case.
837
838 2016-03-09  Jason Marcell  <jmarcell@apple.com>
839
840         Removing reference to Dashboard.Repository.Internal.trac from open source unit tests.
841         https://bugs.webkit.org/show_bug.cgi?id=155274
842
843         Reviewed by Alexey Proskuryakov.
844
845         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js:
846         (setup): Deleted. In bug 154180 we removed Dashboard.Repository.Internal which was causing an
847         error in the unit tests.
848
849 2016-03-09  Aakash Jain  <aakash_jain@apple.com>
850
851         use ulimit command to check process limit in webkitpy
852         https://bugs.webkit.org/show_bug.cgi?id=155260
853
854         Reviewed by Alexey Proskuryakov.
855
856         * Scripts/webkitpy/port/ios.py:
857         (IOSSimulatorPort.default_child_processes): Use ulimit command output instead of 
858         launchctl limit maxproc command.
859
860 2016-03-09  Alexey Proskuryakov  <ap@apple.com>
861
862         Stop building armv7 on iOS device builders
863         https://bugs.webkit.org/show_bug.cgi?id=155246
864
865         Reviewed by David Kilzer.
866
867         * BuildSlaveSupport/build.webkit.org-config/config.json: Building both armv7 and
868         armv7s makes the bots unnecessarily slow. We can catch super rare v7-only regressions
869         elsewhere.
870
871         * Scripts/webkitpy/common/config/ews.json: Changed EWS to match, as we always want
872         EWS configuration to be verified by buildbot queues.
873
874         * Scripts/webkitdirs.pm:
875         * Scripts/webkitpy/port/ios.py:
876         Changed default to arm64. I think that the default is probably not used in any
877         practical scenarios, but it's nice to make it more sensible.
878
879 2016-03-09  Alexey Proskuryakov  <ap@apple.com>
880
881         Add iOS Simulator EWS to bot watcher's dashboard
882         https://bugs.webkit.org/show_bug.cgi?id=155220
883
884         Reviewed by Lucas Forschler.
885
886         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
887
888 2016-03-09  Brent Fulgham  <bfulgham@apple.com>
889
890         Local HTML should be blocked from localStorage access unless "Disable Local File Restrictions" is checked
891         https://bugs.webkit.org/show_bug.cgi?id=155185
892         <rdar://problem/11101440>
893
894         Reviewed by Anders Carlsson.
895
896         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
897         (TestWebKitAPI::TEST): Allow local file accesss to run test.
898         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
899         (TEST): Ditto.
900         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
901         (TEST): Ditto.
902
903 2016-03-09  Tim Horton  <timothy_horton@apple.com>
904
905         Removing and re-adding a script message handler with the same name results in an unusable message handler
906         https://bugs.webkit.org/show_bug.cgi?id=155223
907
908         Reviewed by Sam Weinig.
909
910         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
911         (TEST):
912         Add a test ensuring that it is possible to remove and re-add a script message handler
913         with the same name and still dispatch messages to it.
914
915 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
916
917         Fix iOS Simulator EWS.
918
919         Unreviewed build fix.
920
921         * Scripts/webkitpy/common/config/ports.py:
922
923 2016-03-08  Aakash Jain  <aakash_jain@apple.com>
924
925         Booting multiple iOS simulator parallely fails sometimes
926         https://bugs.webkit.org/show_bug.cgi?id=155208
927         <rdar://problem/25019651>
928
929         Reviewed by Darin Adler.
930
931         * Scripts/webkitpy/port/ios.py:
932         (IOSSimulatorPort.setup_test_run): Increase the time delay between subsequent
933         simulator boot.
934
935 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
936
937         Add iOS debug testers to flakiness dashboard
938         https://bugs.webkit.org/show_bug.cgi?id=155206
939
940         Reviewed by Darin Adler.
941
942         * TestResultServer/static-dashboards/builders.jsonp:
943
944 2016-03-08  Oliver Hunt  <oliver@apple.com>
945
946         Start moving to separated writable and executable mappings in the JIT
947         https://bugs.webkit.org/show_bug.cgi?id=155178
948
949         Reviewed by Fil Pizlo.
950
951         Making run-jsc-benchmarks slightly happier on my machine.
952
953         * Scripts/run-jsc-benchmarks:
954
955 2016-03-08  Anders Carlsson  <andersca@apple.com>
956
957         Use NSUInteger instead of NSWindowStyleMask.
958
959         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
960
961 2016-03-08  Anders Carlsson  <andersca@apple.com>
962
963         Fix build.
964
965         We intentionally don't use AppKitCompatibilityDeclarations.h here, since we want
966         MiniBrowser to build without WTF.
967
968         * MiniBrowser/mac/AppDelegate.m:
969         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
970         * MiniBrowser/mac/BrowserWindowController.m:
971         (-[BrowserWindowController windowDidLoad]):
972         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
973
974 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
975
976         Add iOS simulator EWS that runs tests
977         https://bugs.webkit.org/show_bug.cgi?id=155175
978
979         Reviewed by Lucas Forschler.
980
981         * QueueStatusServer/config/queues.py:
982         * Scripts/webkitpy/common/config/ews.json:
983         * Scripts/webkitpy/common/config/ports.py:
984
985 2016-03-08  Commit Queue  <commit-queue@webkit.org>
986
987         Unreviewed, rolling out r197793 and r197799.
988         https://bugs.webkit.org/show_bug.cgi?id=155195
989
990         something weird happened while landing this and everything
991         broke (Requested by olliej on #webkit).
992
993         Reverted changesets:
994
995         "Start moving to separated writable and executable mappings in
996         the JIT"
997         https://bugs.webkit.org/show_bug.cgi?id=155178
998         http://trac.webkit.org/changeset/197793
999
1000         "arm64 build fix after r197793."
1001         http://trac.webkit.org/changeset/197799
1002
1003 2016-03-08  Oliver Hunt  <oliver@apple.com>
1004
1005         Start moving to separated writable and executable mappings in the JIT
1006         https://bugs.webkit.org/show_bug.cgi?id=155178
1007
1008         Reviewed by Filip Pizlo.
1009
1010         Making run-jsc-benchmarks slightly happier on my machine.
1011
1012         * Scripts/run-jsc-benchmarks:
1013
1014 2016-03-08  Daniel Bates  <dabates@apple.com>
1015
1016         Support iterating over an OptionSet and checking if it is empty
1017         https://bugs.webkit.org/show_bug.cgi?id=154941
1018         <rdar://problem/24964187>
1019
1020         Reviewed by Darin Adler.
1021
1022         Add tests to ensure that we do not regression both iteration of an OptionSet and
1023         determining whether an OptionSet is empty.
1024
1025         * TestWebKitAPI/Test.h:
1026         (TestWebKitAPI::Util::assertStrongEnum): Helper function to assert two strong enum type for equality.
1027         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
1028         (TestWebKitAPI::TEST):
1029
1030 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
1031
1032         Add debug iOS Simulator bots to the dashboard
1033         https://bugs.webkit.org/show_bug.cgi?id=155157
1034
1035         Reviewed by Darin Adler.
1036
1037         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1038
1039 2016-03-08  Alejandro G. Castro  <alex@igalia.com>
1040
1041         Unreviewed EFL build fix after r197752.
1042
1043         * Scripts/webkitperl/FeatureList.pm: Avoid MEDIA_STREAM
1044         compilation by default until EFL bumps gstreamer to 1.6.
1045
1046 2016-03-08  Alejandro G. Castro  <alex@igalia.com>
1047
1048         [GTK] [EFL] Avoid running mediastream tests by default until we compile by default
1049         https://bugs.webkit.org/show_bug.cgi?id=153540
1050
1051         Reviewed by Philippe Normand.
1052
1053         After bumping gstreamer to 1.6.3 in r196804 we can enable again
1054         compilation of mediastream and running the tests.
1055
1056         * Scripts/run-gtk-tests:
1057         (TestRunner): Enable again the UserMedia API test.
1058         * Scripts/webkitperl/FeatureList.pm: Enable the compilation of the
1059         mediastream by default.
1060         * gtk/jhbuild-webrtc.modules: Removed the specific jhbuild modules
1061         file.
1062         * gtk/jhbuild.modules: Bumped the openwebrtc version to the one we
1063         are currently using.
1064
1065 2016-03-07  Jon Lee  <jonlee@apple.com>
1066
1067         Update perf bot configuration for Animometer
1068         https://bugs.webkit.org/show_bug.cgi?id=155134
1069
1070         Reviewed by Ryosuke Niwa.
1071
1072         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Refactor the patch
1073         to work with the latest version of the harness.
1074         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Bump up the timeout,
1075         and use the latest version of the harness.
1076
1077 2016-03-07  Joanmarie Diggs  <jdiggs@igalia.com>
1078
1079         [GTK][jhbuild] OpenWebRTC build fails with GCC 6.0
1080         https://bugs.webkit.org/show_bug.cgi?id=154839
1081
1082         Reviewed by Michael Catanzaro.
1083
1084         Add '-Wno-error' to jhbuildrc; remove it from the module sets for macos.
1085
1086         * gtk/jhbuild-webrtc.modules:
1087         * gtk/jhbuild.modules:
1088         * gtk/jhbuildrc:
1089
1090 2016-03-07  Aakash Jain  <aakash_jain@apple.com>
1091
1092         webkitpy should verify timestamp from CrashLogs while collecting all crash logs
1093         https://bugs.webkit.org/show_bug.cgi?id=155000
1094         <rdar://problem/24860219>
1095
1096         Reviewed by Alexey Proskuryakov.
1097
1098         * Scripts/webkitpy/common/system/crashlogs.py:
1099         (CrashLogs._find_all_logs_darwin): Make sure that crash log timestamp is within expected 
1100         time range, because file modification time is not always accurate.
1101         (CrashLogs.get_timestamp_from_logs): Parse the timestamp from logs.
1102         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
1103         (CrashLogsTest.test_get_timestamp_from_logs_darwin): Testcase for above function.
1104
1105 2016-03-06  Alexey Proskuryakov  <ap@apple.com>
1106
1107         build-webkit prints an error on iOS simulator bots
1108         https://bugs.webkit.org/show_bug.cgi?id=155078
1109
1110         Reviewed by Dan Bernstein.
1111
1112         This happens when build-layouttestrelay sets $xcodeSDK to undefined, to use host SDK.
1113
1114         * Scripts/webkitdirs.pm: (buildXCodeProject): There is no need to pass -sdk, because
1115         XcodeOptions() already passes SDKROOT as appropriate.
1116
1117         * Scripts/build-layouttestrelay: Added a FIXME. Resetting $xcodeSDK doesn't reset
1118         any other configuration variables that were derived from its initial value, like $portName.
1119
1120 2016-03-05  Tim Horton  <timothy_horton@apple.com>
1121
1122         Create a DOMHTMLVideoElement when wrapping <video> elements
1123         https://bugs.webkit.org/show_bug.cgi?id=155084
1124         <rdar://problem/24997193>
1125
1126         Reviewed by Dan Bernstein.
1127
1128         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1129         * TestWebKitAPI/Tests/mac/DOMHTMLVideoElementWrapper.mm: Added.
1130         (-[VideoWrapperFrameLoadDelegate webView:didFinishLoadForFrame:]):
1131         (TestWebKitAPI::TEST):
1132         Add an API test for this behavior.
1133
1134 2016-03-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1135
1136         [GTK] Fix logging details after r197505 (Run the run-benchmark script on the performance bot.)
1137         https://bugs.webkit.org/show_bug.cgi?id=154595
1138
1139         Unreviewed.
1140
1141         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
1142         (start): Use logging.exception when a test fails in order to get the details about the error.
1143
1144 2016-03-04  Alexey Proskuryakov  <ap@apple.com>
1145
1146         Add iOS simulator debug bots
1147         https://bugs.webkit.org/show_bug.cgi?id=155053
1148
1149         Reviewed by Lucas Forschler.
1150
1151         * BuildSlaveSupport/build.webkit.org-config/config.json:
1152
1153 2016-03-04  Brent Fulgham  <bfulgham@apple.com>
1154
1155         [WK2] Gather resource load statistics
1156         https://bugs.webkit.org/show_bug.cgi?id=154278
1157         <rdar://problem/24702892>
1158
1159         Reviewed by Andy Estes.
1160
1161         * MiniBrowser/mac/AppDelegate.m:
1162         (defaultConfiguration): Retrieve state of the ResourceLoadStatisticsEnabled setting.
1163         * MiniBrowser/mac/SettingsController.m:
1164         (-[SettingsController _populateMenu]): Move setting from WK1-only to be
1165         universally applicable.
1166         * MiniBrowser/mac/WK2BrowserWindowController.m:
1167         (-[WK2BrowserWindowController didChangeSettings]): Recognize when the
1168         Resource Load Statistics flag has changed.
1169
1170 2016-03-04  Alex Christensen  <achristensen@webkit.org>
1171
1172         Remove vcxproj build system
1173         https://bugs.webkit.org/show_bug.cgi?id=154388
1174
1175         Rubber-stamped by Brent Fulgham.
1176
1177         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree: Removed.
1178         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree.sln: Removed.
1179         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj: Removed.
1180         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters: Removed.
1181         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeApple.props: Removed.
1182         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props: Removed.
1183         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebug.props: Removed.
1184         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebugWinCairo.props: Removed.
1185         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj: Removed.
1186         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherCommon.props: Removed.
1187         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherDebug.props: Removed.
1188         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherProduction.props: Removed.
1189         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherRelease.props: Removed.
1190         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePostBuild.cmd: Removed.
1191         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd: Removed.
1192         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeProduction.props: Removed.
1193         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeRelease.props: Removed.
1194         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeReleaseWinCairo.props: Removed.
1195         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff: Removed.
1196         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj: Removed.
1197         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommon.props: Removed.
1198         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommonWinCairo.props: Removed.
1199         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebug.props: Removed.
1200         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebugWinCairo.props: Removed.
1201         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj: Removed.
1202         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherCommon.props: Removed.
1203         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherDebug.props: Removed.
1204         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherProduction.props: Removed.
1205         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherRelease.props: Removed.
1206         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPostBuild.cmd: Removed.
1207         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd: Removed.
1208         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffProduction.props: Removed.
1209         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffRelease.props: Removed.
1210         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffReleaseWinCairo.props: Removed.
1211         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj: Removed.
1212         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters: Removed.
1213         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props: Removed.
1214         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginDebug.props: Removed.
1215         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPostBuild.cmd: Removed.
1216         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd: Removed.
1217         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginProduction.props: Removed.
1218         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginRelease.props: Removed.
1219         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj: Removed.
1220         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj.filters: Removed.
1221         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCF.props: Removed.
1222         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCFLite.props: Removed.
1223         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCommon.props: Removed.
1224         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserDebug.props: Removed.
1225         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj: Removed.
1226         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj.filters: Removed.
1227         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibCommon.props: Removed.
1228         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibDebug.props: Removed.
1229         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPostBuild.cmd: Removed.
1230         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPreBuild.cmd: Removed.
1231         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibProduction.props: Removed.
1232         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibRelease.props: Removed.
1233         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPostBuild.cmd: Removed.
1234         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPreBuild.cmd: Removed.
1235         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserProduction.props: Removed.
1236         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserRelease.props: Removed.
1237         * TestWebKitAPI/TestWebKitAPI.vcxproj: Removed.
1238         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.sln: Removed.
1239         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Removed.
1240         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Removed.
1241         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props: Removed.
1242         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props: Removed.
1243         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebug.props: Removed.
1244         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebugWinCairo.props: Removed.
1245         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPostBuild.cmd: Removed.
1246         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd: Removed.
1247         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIProduction.props: Removed.
1248         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIRelease.props: Removed.
1249         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIReleaseWinCairo.props: Removed.
1250         * win/AssembleBuildLogs: Removed.
1251         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj: Removed.
1252         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj.filters: Removed.
1253         * win/AssembleBuildLogs/AssembleLogs.cmd: Removed.
1254         * win/AssembleBuildLogs/README: Removed.
1255
1256 2016-03-04  Myles C. Maxfield  <mmaxfield@apple.com>
1257
1258         Whitespace causes font-variant: all-small-caps to synthesize
1259         https://bugs.webkit.org/show_bug.cgi?id=155004
1260         <rdar://problem/24630796>
1261
1262         Reviewed by Darin Adler.
1263
1264         * DumpRenderTree/mac/DumpRenderTree.mm:
1265         (allowedFontFamilySet):
1266         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
1267         (WTR::allowedFontFamilySet):
1268         * WebKitTestRunner/mac/TestControllerMac.mm:
1269         (WTR::allowedFontFamilySet):
1270
1271 2016-03-04  Myles C. Maxfield  <mmaxfield@apple.com>
1272
1273         [iOS] Crash during font loading when injected bundle cancels load
1274         https://bugs.webkit.org/show_bug.cgi?id=155001
1275
1276         Reviewed by Tim Horton.
1277
1278         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1279         * TestWebKitAPI/Tests/WebKit2/Ahem.ttf: Added.
1280         * TestWebKitAPI/Tests/WebKit2/webfont.html: Added.
1281         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm: Added.
1282         (-[Myles webView:didFinishNavigation:]):
1283         (TEST):
1284         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresourcePlugIn.mm: Added.
1285         (-[CancelFontSubresourcePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
1286         (-[CancelFontSubresourcePlugIn webProcessPlugInBrowserContextController:frame:willSendRequestForResource:request:redirectResponse:]):
1287
1288 2016-03-04  Konstantin Tokarev  <annulen@yandex.ru>
1289
1290         [check-webkit-style] Added checks for redundant virtual specifiers.
1291         https://bugs.webkit.org/show_bug.cgi?id=155017
1292
1293         Reviewed by Darin Adler.
1294
1295         Added 3 new checks related to virtual, override, and final specifiers:
1296
1297         1. When "override" is present, "virtual" is redundant.
1298         2. When "final" is present, "virtual" is redundant.
1299         3. When "final" is present, "override" is redundant.
1300
1301         * Scripts/webkitpy/style/checkers/cpp.py:
1302         (_FunctionState.begin):
1303         (_FunctionState.is_virtual):
1304         (_check_parameter_name_against_text):
1305         (_error_redundant_specifier):
1306         (check_function_definition):
1307         (CppChecker):
1308         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1309         (FunctionDetectionTest.perform_function_detection):
1310         (FunctionDetectionTest.test_basic_function_detection):
1311         (FunctionDetectionTest.test_function_declaration_detection):
1312         (FunctionDetectionTest.test_pure_function_detection):
1313         (FunctionDetectionTest.test_override_and_final_function_detection):
1314         (FunctionDetectionTest.test_non_functions):
1315         (FunctionDetectionTest.test_parameter_list):
1316
1317 2016-03-03  Darin Adler  <darin@apple.com>
1318
1319         Followup to:
1320         Remove "virtual" from all lines that have both "virtual" and "override".
1321         https://bugs.webkit.org/show_bug.cgi?id=155005
1322
1323         Reviewed by Geoffrey Garen.
1324
1325         * Scripts/do-webcore-rename: Added more regular expressions to make sure we always
1326         use either override or final, not both, and to remove virtual from all lines that
1327         have both virtual and final.
1328
1329 2016-03-03  Darin Adler  <darin@apple.com>
1330
1331         Remove "virtual" from all lines that have both "virtual" and "override".
1332         https://bugs.webkit.org/show_bug.cgi?id=155005
1333
1334         Reviewed by Geoffrey Garen.
1335
1336         * Scripts/do-webcore-rename: Added a regular expression to this script to do the job.
1337
1338 2016-03-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1339
1340         [GTK] Unreviewed fix after r197505 (Run the run-benchmark script on the performance bot.)
1341         https://bugs.webkit.org/show_bug.cgi?id=154595
1342
1343         Unreviewed fix after r197505.
1344
1345         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1346         (RunBenchmarkTests.start):
1347
1348 2016-03-03  Daniel Bates  <dabates@apple.com>
1349
1350         Add unit tests for WTF::OptionSet
1351         https://bugs.webkit.org/show_bug.cgi?id=154925
1352         <rdar://problem/24964211>
1353
1354         Reviewed by Darin Adler.
1355
1356         Add tests to ensure that we do not regress the behavior of WTF::OptionSet.
1357
1358         * TestWebKitAPI/CMakeLists.txt: Add file TestWebKitAPI/Tests/WTF/OptionSet.cpp.
1359         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
1360         * TestWebKitAPI/Tests/WTF/OptionSet.cpp: Added.
1361         (TestWebKitAPI::TEST):
1362
1363 2016-03-03  Commit Queue  <commit-queue@webkit.org>
1364
1365         Unreviewed, rolling out r197442.
1366         https://bugs.webkit.org/show_bug.cgi?id=154967
1367
1368         Broke tests, and also uses a wrong approach (Requested by ap
1369         on #webkit).
1370
1371         Reverted changeset:
1372
1373         "Disable FTL JIT testing on 32-bit JSC tester bots"
1374         https://bugs.webkit.org/show_bug.cgi?id=154858
1375         http://trac.webkit.org/changeset/197442
1376
1377 2016-03-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1378
1379         [GTK] Run the run-benchmark script on the performance bot.
1380         https://bugs.webkit.org/show_bug.cgi?id=154595
1381
1382         Reviewed by Carlos Garcia Campos.
1383
1384         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add new RunBenchmarkTests step on the perf bots (only for the GTK+ port at this moment).
1385         (RunBenchmarkTests):
1386         (RunBenchmarkTests.start):
1387         (RunBenchmarkTests.getText):
1388         (RunBenchmarkTests.getText2):
1389         (BuildAndPerfTestFactory.__init__):
1390         (DownloadAndPerfTestFactory.__init__):
1391         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Add new test for RunBenchmarkTests and update expected steps of GTK+ perf bot.
1392         (RunBenchmarkTest):
1393         (RunBenchmarkTest.assertResults):
1394         (RunBenchmarkTest.test_success):
1395         (RunBenchmarkTest.test_tests_failed):
1396         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Log both the current iteration as also the total iterations for the current benchmark/plan.
1397         (BenchmarkRunner._run_benchmark):
1398         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py: Use python logging also for errors.
1399         (GTKMiniBrowserDriver.close_browsers):
1400         * Scripts/webkitpy/benchmark_runner/run_benchmark.py: Implement support for running all available benchmark plans.
1401         (parse_args):
1402         (start):
1403         (main):
1404
1405 2016-03-03  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1406
1407         [EFL] Remove u-szeged.hu SVN mirror in EFL perf bot
1408         https://bugs.webkit.org/show_bug.cgi?id=154960
1409
1410         Reviewed by Csaba Osztrogonác.
1411
1412         * BuildSlaveSupport/build.webkit.org-config/config.json: Remove szeged univ's svn mirror.
1413         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1414
1415 2016-03-03  Frederic Wang  <fwang@igalia.com>
1416
1417         [jhbuild] Remove LLVM dependency.
1418         https://bugs.webkit.org/show_bug.cgi?id=153274
1419
1420         Reviewed by Carlos Garcia Campos.
1421
1422         * gtk/jhbuild.modules:
1423
1424 2016-03-02  Alejandro G. Castro  <alex@igalia.com>
1425
1426         Unreviewed build fix for media-stream after r197114.
1427
1428         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
1429         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack):
1430
1431 2016-03-01  Csaba Osztrogonác  <ossy@webkit.org>
1432
1433         Disable FTL JIT testing on 32-bit JSC tester bots
1434         https://bugs.webkit.org/show_bug.cgi?id=154858
1435
1436         Reviewed by Saam Barati.
1437
1438         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1439         (Run32bitJSCTests):
1440
1441 2016-03-01  Dean Johnson  <dean_johnson@apple.com>
1442
1443         Fix iOS EWS.
1444         https://bugs.webkit.org/show_bug.cgi?id=154880
1445
1446         Reviewed by Alexey Proskuryakov.
1447
1448         * Scripts/copy-webkitlibraries-to-product-directory:
1449
1450 2016-02-29  Chris Dumez  <cdumez@apple.com>
1451
1452         Have parseHTMLInteger() / parseHTMLNonNegativeInteger() use WTF::Optional
1453         https://bugs.webkit.org/show_bug.cgi?id=154845
1454
1455         Reviewed by Ryosuke Niwa.
1456
1457         Update API tests accordingly.
1458
1459         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
1460         (TestWebKitAPI::testParseHTMLInteger):
1461         (TestWebKitAPI::parseHTMLIntegerFails):
1462         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
1463         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
1464         (TestWebKitAPI::TEST): Deleted.
1465
1466 2016-02-29  Simon Fraser  <simon.fraser@apple.com>
1467
1468         Remove the experimental feature of antialiased font dilation
1469         https://bugs.webkit.org/show_bug.cgi?id=154843
1470
1471         Reviewed by Zalan Bujtas.
1472
1473         Remove the "antialiased font dilation" code path, and related prefs.
1474
1475         * DumpRenderTree/mac/DumpRenderTree.mm:
1476         (resetWebPreferencesToConsistentValues): Deleted.
1477         * WebKitTestRunner/TestController.cpp:
1478         (WTR::TestController::resetPreferencesToConsistentValues): Deleted.
1479
1480 2016-02-29  Brady Eidson  <beidson@apple.com>
1481
1482         Fix timing flakiness in test I added in http://trac.webkit.org/changeset/197372
1483
1484         Unreviewed.
1485
1486         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html:
1487         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html:
1488         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
1489         (TEST): Sometimes a third message from the first html file was leaking through. The message is expected
1490           so we should always wait for it and make sure we got it.
1491
1492 2016-02-29  Brady Eidson  <beidson@apple.com>
1493
1494         Modern IDB: WebKit 2 IPC layer easily confused about multiple web processes being connected.
1495         https://bugs.webkit.org/show_bug.cgi?id=154837
1496
1497         Reviewed by Alex Christensen.
1498
1499         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1500         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html: Added.
1501         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html: Added.
1502         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Added.
1503
1504 2016-02-29  Joanmarie Diggs  <jdiggs@igalia.com>
1505
1506         [GTK][jhbuild] GLib build fails with GCC 6.0
1507         https://bugs.webkit.org/show_bug.cgi?id=154825
1508
1509         Use the upstream work-around. https://bugzilla.gnome.org/show_bug.cgi?id=761550
1510
1511         Reviewed by Csaba Osztrogonác.
1512
1513         * gtk/jhbuild.modules: Apply upstream path.
1514         * gtk/patches/gdate-suppress-string-format-literal-warning.patch: Added.
1515
1516 2016-02-29  Filip Pizlo  <fpizlo@apple.com>
1517
1518         We've been running Octane/regexp all wrong in run-jsc-benchmarks
1519         https://bugs.webkit.org/show_bug.cgi?id=154827
1520
1521         Reviewed by Andreas Kling.
1522
1523         Octane v.2 and JetStream v.1.1 run this benchmark with warmup. This script was running
1524         it without warmup. This patches fixes this by making this script run it with warmup.
1525
1526         This fix shows that my last patch, which added FTL support for regexp, was actually a 3%
1527         speed-up on Octane/regexp, not a slow-down as the ChangeLog claimed.
1528
1529         It discovered this bug because for each Octane test that I want to debug, I usually make
1530         a standalone .js file that contains the whole test along with a miniharness - usually
1531         a plain loop - that runs it almost like it would for real but with whatever hacks I'm
1532         using for debugging. When I wrote such a thing for regexp, I used a ~20 iteration warmup
1533         to match the one second of warmup that this benchmark gets in Octane. To my surprise,
1534         this quite faithful regexp runner did not see the regression that run-jsc-benchmarks
1535         saw. That's when I found out that run-jsc-benchmarks was running it wrong.
1536
1537         The reason for the no-warmup slow-down is that the FTL is actually fairly expensive to
1538         run on some of these very large functions in the regexp benchmark. I don't think we can
1539         do anything about that, and I'd argue that the speed-up we see after the compilation is
1540         done suggests that it was worth it.
1541
1542         * Scripts/run-jsc-benchmarks:
1543
1544 2016-02-29  Gavin Barraclough  <barraclough@apple.com>
1545
1546         RefCounter<T>::Event -> RefCounterEvent
1547         https://bugs.webkit.org/show_bug.cgi?id=154767
1548
1549         Reviewed by Darin Adler.
1550
1551         RefCounter<T>::Event is kinda verbose to use, and there is no need for this
1552         to be specific to a particular typeof RefCounter. Move the enum class up to
1553         the top level & rename to RefCounterEvent.
1554
1555         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
1556         (TestWebKitAPI::TEST):
1557
1558 2016-02-29  Csaba Osztrogonác  <ossy@webkit.org>
1559
1560         Remove more LLVM related cruft
1561         https://bugs.webkit.org/show_bug.cgi?id=154821
1562
1563         Reviewed by Darin Adler.
1564
1565         * Scripts/build-jsc:
1566         * Scripts/build-webkit:
1567         * Scripts/copy-webkitlibraries-to-product-directory:
1568         * Scripts/export-llvm-build: Removed.
1569         * Scripts/run-jsc-stress-tests:
1570
1571 2016-02-28  Sam Weinig  <sam@webkit.org>
1572
1573         Reimplement WKPageGroup in terms of WKUserContentController
1574         https://bugs.webkit.org/show_bug.cgi?id=154804
1575
1576         Reviewed by Dan Bernstein.
1577
1578         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1579         * TestWebKitAPI/Tests/WebKit2/PageGroup.cpp: Added.
1580
1581 2016-02-28  Sam Weinig  <sam@webkit.org>
1582
1583         Bind _WKUserStyleSheets to WKUserContentWorlds to allow for grouping of user content by associating to a world
1584         https://bugs.webkit.org/show_bug.cgi?id=154798
1585
1586         Reviewed by Dan Bernstein.
1587
1588         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1589         Add tests for removing _WKUserStyleSheets and WKUserScripts
1590
1591 2016-02-27  Alexey Proskuryakov  <ap@apple.com>
1592
1593         Silence leaks under TextCodecICU::registerCodecs
1594         https://bugs.webkit.org/show_bug.cgi?id=154737
1595
1596         Reviewed by Darin Adler.
1597
1598         * Scripts/webkitpy/port/leakdetector.py:
1599         (LeakDetector._callstacks_to_exclude_from_leaks):
1600
1601 2016-02-26  Michael Catanzaro  <mcatanzaro@igalia.com>
1602
1603         [GTK] Fix incorrect cast
1604
1605         Unreviewed.
1606
1607         * MiniBrowser/gtk/main.c:
1608         (createBrowserWindow):
1609
1610 2016-02-26  Chris Dumez  <cdumez@apple.com>
1611
1612         Fix the behavior of reflecting IDL attributes of type unsigned long
1613         https://bugs.webkit.org/show_bug.cgi?id=154771
1614
1615         Reviewed by Ryosuke Niwa.
1616
1617         Update API tests to cover the fixes to the parseHTMLNonNegativeInteger()
1618         implementation:
1619         - "-0" is parsed as 0.
1620         - Range boundaries are now [0; 2147483647].
1621
1622         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
1623         (TestWebKitAPI::TEST):
1624
1625 2016-02-26  Brady Eidson  <beidson@apple.com>
1626
1627         Modern IDB: New database versions are never committed to SQLite.
1628         <rdar://problem/24860952> and https://bugs.webkit.org/show_bug.cgi?id=154741
1629         
1630         Modern IDB: If a database handle is not open, files are not actually deleted from disk
1631         https://bugs.webkit.org/show_bug.cgi?id=154756
1632
1633         Reviewed by Alex Christensen.
1634
1635         This also happens to test the previously untested fix for http://trac.webkit.org/changeset/197190
1636
1637         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1638         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-1.html: Added.
1639         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-2.html: Added.
1640         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm: Added.
1641         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]):
1642         (-[IndexedDBMessageHandler userContentController:didReceiveScriptMessage:]):
1643         (TEST):
1644
1645 2016-02-26  Commit Queue  <commit-queue@webkit.org>
1646
1647         Unreviewed, rolling out r197216.
1648         https://bugs.webkit.org/show_bug.cgi?id=154766
1649
1650         Test simply needs updated result (Requested by litherum on
1651         #webkit).
1652
1653         Reverted changeset:
1654
1655         "Unreviewed, rolling out r197158."
1656         https://bugs.webkit.org/show_bug.cgi?id=154758
1657         http://trac.webkit.org/changeset/197216
1658
1659 2016-02-26  Alexey Proskuryakov  <ap@apple.com>
1660
1661         [iOS Simulator] Reftests don't work
1662         https://bugs.webkit.org/show_bug.cgi?id=154764
1663
1664         Reviewed by Daniel Bates.
1665
1666         * Scripts/webkitpy/port/image_diff.py: (IOSSimulatorImageDiffer._start):
1667         Use simctl instead of sim.
1668
1669 2016-02-26  Chris Dumez  <cdumez@apple.com>
1670
1671         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger
1672         https://bugs.webkit.org/show_bug.cgi?id=154714
1673
1674         Reviewed by Darin Adler.
1675
1676         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger as per:
1677         - https://html.spec.whatwg.org/multipage/infrastructure.html#signed-integers
1678         - https://html.spec.whatwg.org/multipage/infrastructure.html#non-negative-integers
1679
1680         * TestWebKitAPI/PlatformEfl.cmake:
1681         * TestWebKitAPI/PlatformGTK.cmake:
1682         * TestWebKitAPI/PlatformWin.cmake:
1683         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1684         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1685         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1686         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp: Added.
1687         (TestWebKitAPI::testParseHTMLInteger):
1688         (TestWebKitAPI::parseHTMLIntegerFails):
1689         (TestWebKitAPI::TEST):
1690         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
1691         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
1692
1693 2016-02-26  Commit Queue  <commit-queue@webkit.org>
1694
1695         Unreviewed, rolling out r197158.
1696         https://bugs.webkit.org/show_bug.cgi?id=154758
1697
1698         This change did not fix the failing test (Requested by
1699         ryanhaddad on #webkit).
1700
1701         Reverted changeset:
1702
1703         "REGRESSION(r195795): [WK2] fast/text/crash-complex-text-
1704         surrogate.html is flakey"
1705         https://bugs.webkit.org/show_bug.cgi?id=154709
1706         http://trac.webkit.org/changeset/197158
1707
1708 2016-02-26  Anders Carlsson  <andersca@apple.com>
1709
1710         WKWebsiteDataStore/WKWebsiteDataRecord needs to provide size information about each type of data
1711         https://bugs.webkit.org/show_bug.cgi?id=154750
1712         rdar://problem/23861395
1713
1714         Reviewed by Tim Horton.
1715
1716         * MiniBrowser/mac/WK2BrowserWindowController.m:
1717         (-[WK2BrowserWindowController fetchWebsiteData:]):
1718         Use the new WKWebsiteDataStore SPI to compute data sizes.
1719
1720 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
1721
1722         RefCounter value changed callback should be called on all changes (not just zero edge).
1723         https://bugs.webkit.org/show_bug.cgi?id=154699
1724
1725         Reviewed by Geoff Garen.
1726
1727         RefCounter currently only triggers a callback when the count goes from zero
1728         to non-zero and vice-versa. Change that, to be useful to more clients.
1729
1730         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
1731         (TestWebKitAPI::TEST):
1732             - Updated for change in RefCounter callback siganture & behaviour.
1733
1734 2016-02-25  Sam Weinig  <sam@webkit.org>
1735
1736         Allow WKUserScripts to be run in isolated worlds
1737         https://bugs.webkit.org/show_bug.cgi?id=154701
1738
1739         Reviewed by Anders Carlsson.
1740
1741         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1742         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorld.mm: Added.
1743         (-[SimpleDelegate webView:didFinishNavigation:]):
1744         (-[UserContentWorldRemoteObject didObserveNormalWorld]):
1745         (-[UserContentWorldRemoteObject didObserveWorldWithName:]):
1746         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldPlugIn.mm: Added.
1747         (-[_WKUserContentWorldPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
1748         (-[_WKUserContentWorldPlugIn webProcessPlugInBrowserContextController:globalObjectIsAvailableForFrame:inScriptWorld:]):
1749         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldProtocol.h: Added.
1750
1751 2016-02-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1752
1753         W3C test importer should have an option to clean the destination directory
1754         https://bugs.webkit.org/show_bug.cgi?id=152685
1755
1756         Reviewed by Darin Adler.
1757
1758         Adding --clean-dest-dir option to W3C test importer.
1759         When this option is set, all files in the destination directory will be deleted
1760         except for WebKit specific files (test expectations, .gitignore...) before new tests import.
1761         Dangling test expectations are removed after tests import.'
1762
1763         Adding unit test and minor refactoring for the other tests.
1764
1765         * Scripts/webkitpy/w3c/test_importer.py:
1766         (parse_args): Add '--clean-dest-dir' option.
1767         (TestImporter.do_import):
1768         (TestImporter._is_baseline): helper routine to capture -expected.txt files.
1769         (TestImporter):
1770         (TestImporter._should_not_keep_when_importing): helper routine to filter files that should not be cleaned before importing.
1771         (TestImporter.clean_destination_directory):
1772         (TestImporter.remove_dangling_expectations):
1773         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1774         (TestImporterTest._parse_options):
1775         (TestImporterTest.test_import_dir_with_no_tests_and_no_hg):
1776         (TestImporterTest.test_import_dir_with_no_tests):
1777         (TestImporterTest.test_import_dir_with_empty_init_py):
1778         (test_clean_directory_option):
1779
1780 2016-02-25  Myles C. Maxfield  <mmaxfield@apple.com>
1781
1782         REGRESSION(r195795): [WK2] fast/text/crash-complex-text-surrogate.html is flakey
1783         https://bugs.webkit.org/show_bug.cgi?id=154709
1784         <rdar://problem/24483596>
1785
1786         Reviewed by Dan Bernstein.
1787
1788         Force auto-activation rules to a consistent state.
1789
1790         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1791         (WTR::InjectedBundle::platformInitialize):
1792
1793 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
1794
1795         Unreivewed build fix for r197150.
1796
1797         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm:
1798
1799 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
1800
1801         Restrict information passed with navigation action which is triggered by untrusted event
1802         https://bugs.webkit.org/show_bug.cgi?id=154571
1803         <rdar://problem/15967937>
1804
1805         Reviewed by Andy Estes.
1806
1807         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1808         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm: Added.
1809         (-[WKNavigationActionDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
1810         (TestWebKitAPI::TEST):
1811         (-[NavigationActionDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1812         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.html: Added.
1813
1814 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
1815
1816         Should template RefCounter instead of RefCounter::Token
1817         https://bugs.webkit.org/show_bug.cgi?id=154691
1818
1819         Reviewed by Anders Carlsson.
1820
1821         Mechanical update per RefCounter interface change.
1822
1823         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
1824         (TestWebKitAPI::TEST):
1825
1826 2016-02-25  Skachkov Aleksandr  <gskachkov@gmail.com>
1827
1828         Unreviewed: Add Aleksandr Skachkov as a commiter
1829
1830         * Scripts/webkitpy/common/config/contributors.json:
1831
1832 2016-02-25  Sam Weinig  <sam@webkit.org>
1833
1834         HashMap::ensure() should return an AddResult like all the other add-like functions
1835         https://bugs.webkit.org/show_bug.cgi?id=154680
1836
1837         Reviewed by Anders Carlsson.
1838
1839         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1840         (TestWebKitAPI::TEST):
1841         Update tests to use/test the new AddResult result.
1842
1843 2016-02-25  Alexey Proskuryakov  <ap@apple.com>
1844
1845         Enable MallocScribble when detecting leaks
1846         https://bugs.webkit.org/show_bug.cgi?id=154679
1847
1848         Reviewed by Geoffrey Garen.
1849
1850         * Scripts/webkitpy/port/ios.py:
1851         (IOSSimulatorPort.setup_environ_for_server):
1852         * Scripts/webkitpy/port/mac.py:
1853         (MacPort.setup_environ_for_server):
1854         * Scripts/webkitpy/port/mac_unittest.py:
1855         (MacTest.test_setup_environ_for_server):
1856
1857 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
1858
1859         Unreviewed, fix iOS builds after r197114.
1860
1861         * WebKitTestRunner/TestController.cpp:
1862         (WTR::createCanonicalUUIDString):
1863         (WTR::TestController::saltForOrigin):
1864
1865 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
1866
1867         [MediaStream] MediaDeviceInfo deviceId and groupId must be unique to the page's origin
1868         https://bugs.webkit.org/show_bug.cgi?id=153163
1869         <rdar://problem/24334526>
1870
1871         Reviewed by Tim Horton.
1872
1873         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1874         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): Take top level document origin.
1875         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1876
1877         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1878         (WTR::TestRunner::setUserMediaPermissionForOrigin): Ditto.
1879         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1880
1881         * WebKitTestRunner/TestController.cpp:
1882         (WTR::decidePolicyForUserMediaPermissionRequest): Pass through top level document origin.
1883         (WTR::checkUserMediaPermissionForOrigin): Ditto.
1884         (WTR::TestController::resetStateToConsistentValues): m_userMediaOriginPermissions -> m_cahcedUserMediaPermissions.
1885         (WTR::originUserVisibleName): Return a String.
1886         (WTR::userMediaOriginHash): Create a hash of the origin plus top level document origin.
1887         (WTR::TestController::saltForOrigin): Return salt for an origin.
1888         (WTR::TestController::setUserMediaPermissionForOrigin): Return permission for an origin.
1889         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin):
1890         (WTR::TestController::handleUserMediaPermissionRequest):
1891         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible):
1892         (WTR::OriginSettings::OriginSettings): New, class to cache settings for an origin.
1893         (WTR::OriginSettings::persistentPermission): Persistent permissions for origin.
1894         (WTR::OriginSettings::setPersistentPermission): Set permissions for origin.
1895         (WTR::OriginSettings::persistentSalt): Return the persistent salt for the origin, if any.
1896         (WTR::OriginSettings::setPersistentSalt): Set the persistent salt for the origin
1897         (WTR::OriginSettings::ephemeralSalts): Return hashmap used to store per-frame salts.
1898         * WebKitTestRunner/TestController.h:
1899
1900         * WebKitTestRunner/TestInvocation.cpp:
1901         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1902
1903 2016-02-24  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
1904
1905         [web-animations] Add AnimationTimeline, DocumentTimeline and add extensions to Document interface
1906         https://bugs.webkit.org/show_bug.cgi?id=151688
1907
1908         Reviewed by Dean Jackson.
1909
1910         Enables the WEB_ANIMATIONS compiler switch by default.
1911
1912         * Scripts/webkitperl/FeatureList.pm:
1913
1914 2016-02-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1915
1916         W3C importer should generate all web-platform-tests submodules descriptions
1917         https://bugs.webkit.org/show_bug.cgi?id=154587
1918
1919         Reviewed by Darin Adler.
1920
1921         Updated submodules description format (removing submodule name as it is the last string of the path really).
1922         Added git subroutines.
1923
1924         * Scripts/webkitpy/common/checkout/scm/git.py:
1925         (Git.origin_url):
1926         (Git):
1927         (Git.init_submodules):
1928         (Git.submodules_status):
1929         (Git.deinit_submodules):
1930         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1931         (WebPlatformTestServer._install_modules): Updated to submodule name removal.
1932         * Scripts/webkitpy/w3c/test_downloader.py:
1933         (TestDownloader._git_submodules_description): Updated to cope with recursive submodules (use of submodule init/deinit).
1934         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1935         (TestImporterTest.test_submodules_generation): Reactivated partially this test.
1936
1937 2016-02-23  Dan Bernstein  <mitz@apple.com>
1938
1939         [Xcode] Linker errors display mangled names, but no longer should
1940         https://bugs.webkit.org/show_bug.cgi?id=154632
1941
1942         Reviewed by Sam Weinig.
1943
1944         * ContentExtensionTester/Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
1945         * DumpRenderTree/mac/Configurations/Base.xcconfig: Ditto.
1946         * LayoutTestRelay/Configurations/Base.xcconfig: Ditto.
1947         * MiniBrowser/Configurations/Base.xcconfig: Ditto.
1948         * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
1949         * WebEditingTester/Configurations/Base.xcconfig: Ditto.
1950         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
1951
1952 2016-02-23  Anders Carlsson  <andersca@apple.com>
1953
1954         WKWebView should implement NSCoding
1955         https://bugs.webkit.org/show_bug.cgi?id=137160
1956
1957         Reviewed by Dan Bernstein.
1958
1959         Add tests.
1960
1961         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1962         (TEST):
1963
1964 2016-02-23  Anders Carlsson  <andersca@apple.com>
1965
1966         WKProcessPool should conform to NSCoding
1967         https://bugs.webkit.org/show_bug.cgi?id=154608
1968
1969         Reviewed by Sam Weinig.
1970
1971         Add tests.
1972
1973         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1974         (TEST):
1975
1976 2016-02-23  Anders Carlsson  <andersca@apple.com>
1977
1978         WKWebsiteDataStore should conform to NSCoding
1979         https://bugs.webkit.org/show_bug.cgi?id=154605
1980
1981         Reviewed by Dan Bernstein.
1982
1983         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1984         (TEST):
1985
1986 2016-02-23  Anders Carlsson  <andersca@apple.com>
1987
1988         WKWebViewConfiguration should conform to NSCoding
1989         https://bugs.webkit.org/show_bug.cgi?id=154602
1990
1991         Reviewed by Beth Dakin.
1992
1993         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1994         (TEST):
1995
1996 2016-02-23  Anders Carlsson  <andersca@apple.com>
1997
1998         WKPreferences should conform to NSCoding
1999         https://bugs.webkit.org/show_bug.cgi?id=154597
2000
2001         Reviewed by Sam Weinig.
2002
2003         Test encoding and decoding WKPreferences.
2004
2005         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2006         (encodeAndDecode):
2007         (TEST):
2008
2009 2016-02-23  Anders Carlsson  <andersca@apple.com>
2010
2011         Fix build.
2012
2013         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
2014         (-[SyntheticBackingScaleFactorWindow initWithContentRect:styleMask:backing:defer:]):
2015
2016 2016-02-23  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2017
2018         [GTK] Allow to run the WebKitGTK+ MiniBrowser with the run-benchmark script.
2019         https://bugs.webkit.org/show_bug.cgi?id=153993
2020
2021         Reviewed by Carlos Garcia Campos.
2022
2023         * MiniBrowser/gtk/main.c:
2024         (createBrowserWindow): Support --geometry argument for MiniBrowser.
2025         We use this on the gtk_minibrowser_driver script to start the MiniBrowser maximized.
2026         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Fix loading of subclasses:
2027         The base class has to be loaded first, otherwise any subclase referencing it will give import error.
2028         In OSX the ordering of os.listdir() causes the base class (browser_driver.py) to be first on the list, but not on Linux.
2029         By specifiying the name of the base class file, we ensure it is always loaded first on any system despite the ordering of listdir.
2030         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
2031         (BrowserDriverFactory.create):
2032         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_browser_driver.py: Added.
2033         (GTKBrowserDriver):
2034         (GTKBrowserDriver.prepare_env):
2035         (GTKBrowserDriver.restore_env):
2036         (GTKBrowserDriver.close_browsers):
2037         (GTKBrowserDriver._launch_process):
2038         (GTKBrowserDriver._terminate_processes):
2039         (GTKBrowserDriver._screen_size):
2040         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py: Added.
2041         (GTKMiniBrowserDriver):
2042         (GTKMiniBrowserDriver.prepare_env):
2043         (GTKMiniBrowserDriver.launch_url):
2044         (GTKMiniBrowserDriver.close_browsers):
2045         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Fix loading of subclasses. See description above.
2046         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2047         (SimpleHTTPServerDriver):
2048         (SimpleHTTPServerDriver.kill_server): Check if the server is still running before trying to terminate it.
2049         Usually the server ends gracefully (no need to terminate it), so this was causing ugly errors on the log.
2050         * Scripts/webkitpy/benchmark_runner/utils.py: Fix loading of subclasses. See description above.
2051         (load_subclasses):
2052
2053 2016-02-23  Alejandro G. Castro  <alex@igalia.com>
2054
2055         [GTK] Missing configuration patch for openh264 compilation
2056         https://bugs.webkit.org/show_bug.cgi?id=154455
2057
2058         This patch is required for the openh264 compilation with the
2059         jhbuild-webrtc.modules. The code was implemented by Alessandro
2060         Decina.
2061
2062         Reviewed by Philippe Normand.
2063
2064         * gtk/patches/openh264-configure.patch: Added.
2065
2066 2016-02-20  Olivier Blin  <olivier.blin@softathome.com>
2067
2068         [cmake] Use ICU include dirs in WebKit2 and WebKitTestRunner
2069         https://bugs.webkit.org/show_bug.cgi?id=154479
2070
2071         Reviewed by Michael Catanzaro.
2072
2073         * WebKitTestRunner/CMakeLists.txt:
2074
2075 2016-02-19  Konstantin Tokarev  <annulen@yandex.ru>
2076
2077         [GTK] Fixed link error when G_DEFINE_AUTOPTR_CLEANUP_FUNC is not defined.
2078         https://bugs.webkit.org/show_bug.cgi?id=154467
2079
2080         Reviewed by Michael Catanzaro.
2081
2082         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp:
2083         (beforeAll):
2084         (afterAll):
2085
2086 2016-02-19  Brady Eidson  <beidson@apple.com>
2087
2088         Add "databaseProcessDidCrash" to the WKContextClient; Adopt it in WKTR.
2089         https://bugs.webkit.org/show_bug.cgi?id=154428
2090
2091         Reviewed by Jer Noble.
2092
2093         * WebKitTestRunner/TestController.cpp:
2094         (WTR::TestController::generatePageConfiguration):
2095         (WTR::TestController::databaseProcessName):
2096         (WTR::TestController::databaseProcessDidCrash):
2097         * WebKitTestRunner/TestController.h:
2098
2099 2016-02-18  Philippe Normand  <pnormand@igalia.com>
2100
2101         [GStreamer] Bump internal jhbuild versions to 1.6.3
2102         https://bugs.webkit.org/show_bug.cgi?id=149594
2103
2104         Reviewed by Michael Catanzaro.
2105
2106         * gtk/jhbuild.modules: Bump to GStreamer 1.6.3.
2107         * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Removed.
2108         * gtk/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed.
2109         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Removed.
2110
2111 2016-02-18  Brent Fulgham  <bfulgham@apple.com>
2112
2113         Extend HashCountedSet with a method to efficiently set the count of an entry
2114         https://bugs.webkit.org/show_bug.cgi?id=154352
2115
2116         Reviewed by Geoffrey Garen.
2117
2118         * TestWebKitAPI/CMakeLists.txt: Add new HashCountedSet test files.
2119         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2120         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Added.
2121
2122 2016-02-18  Commit Queue  <commit-queue@webkit.org>
2123
2124         Unreviewed, rolling out r196791.
2125         https://bugs.webkit.org/show_bug.cgi?id=154438
2126
2127         broke windows build (Requested by alexchristensen on #webkit).
2128
2129         Reverted changeset:
2130
2131         "Extend HashCountedSet with a method to efficiently set the
2132         count of an entry"
2133         https://bugs.webkit.org/show_bug.cgi?id=154352
2134         http://trac.webkit.org/changeset/196791
2135
2136 2016-02-18  Brent Fulgham  <bfulgham@apple.com>
2137
2138         Extend HashCountedSet with a method to efficiently set the count of an entry
2139         https://bugs.webkit.org/show_bug.cgi?id=154352
2140
2141         Reviewed by Geoffrey Garen.
2142
2143         * TestWebKitAPI/CMakeLists.txt: Add new HashCountedSet test files.
2144         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2145         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Added.
2146
2147 2016-02-18  Anders Carlsson  <andersca@apple.com>
2148
2149         Get rid of the --target-web-process and --use-web-process-xpc-service options.
2150
2151         Rubber-stamped by Dan Bernstein.
2152
2153         We now always use XPC, and --target-web-process is no longer supported.
2154
2155         * Scripts/webkitdirs.pm:
2156         (execMacWebKitAppForDebugging):
2157         (shouldTargetWebProcess): Deleted.
2158         (determineShouldTargetWebProcess): Deleted.
2159         (shouldUseXPCServiceForWebProcess): Deleted.
2160         (determineShouldUseXPCServiceForWebProcess): Deleted.
2161         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Deleted.
2162         (argumentsForRunAndDebugMacWebKitApp): Deleted.
2163
2164 2016-02-18  Ryan Haddad  <ryanhaddad@apple.com>
2165
2166         Skip API test WTF_ParkingLot.UnparkOneFiftyThenFiftyAll on ios-simulator
2167         https://bugs.webkit.org/show_bug.cgi?id=153997
2168
2169         Reviewed by Filip Pizlo.
2170
2171         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
2172
2173 2016-02-18  Jer Noble  <jer.noble@apple.com>
2174
2175         run-webkit-httpd should use webkitpy to run httpd.
2176         https://bugs.webkit.org/show_bug.cgi?id=154271
2177
2178         Reviewed by Alexey Proskuryakov.
2179
2180         Update run-webkit-httpd to use webkitpy.port to launch httpd. Pass on http_port and http_all_interface
2181         options to match the current run-webkit-httpd (optional) behavior.
2182
2183         * Scripts/run-webkit-httpd:
2184         (parse_args):
2185         (main):
2186         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
2187         (LayoutTestApacheHttpd.__init__):
2188         * Scripts/webkitpy/layout_tests/servers/http_server.py:
2189         (Lighttpd._prepare_config):
2190         * Scripts/webkitpy/port/base.py:
2191         (Port.to.start_http_server):
2192
2193 2016-02-18  Filip Pizlo  <fpizlo@apple.com>
2194
2195         Remove remaining references to LLVM, and make sure comments refer to the backend as "B3" not "LLVM"
2196         https://bugs.webkit.org/show_bug.cgi?id=154383
2197
2198         Reviewed by Saam Barati.
2199
2200         * Scripts/run-jsc-stress-tests:
2201
2202 2016-02-17  Filip Pizlo  <fpizlo@apple.com>
2203
2204         Remove LLVM dependencies from WebKit
2205         https://bugs.webkit.org/show_bug.cgi?id=154323
2206
2207         Reviewed by Antti Koivisto and Benjamin Poulain.
2208
2209         * Scripts/copy-webkitlibraries-to-product-directory:
2210         (isContentOfFileEqualToString):
2211         (fileContains): Deleted.
2212         (buildLLVM): Deleted.
2213         (symlinkLLVMLibrariesIfNeeded): Deleted.
2214
2215 2016-02-16  Sam Weinig  <sam@webkit.org>
2216
2217         Add an ensure function on HashMap that takes a key and a function to make the lazy value initialization idiom easier
2218         https://bugs.webkit.org/show_bug.cgi?id=134857
2219
2220         Reviewed by Geoffrey Garen.
2221
2222         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2223         Add tests for HashMap::ensure.
2224
2225 2016-02-17  Nan Wang  <n_wang@apple.com>
2226
2227         AX: Implement sentence related text marker functions using TextIterator
2228         https://bugs.webkit.org/show_bug.cgi?id=154312
2229
2230         Reviewed by Chris Fleizach.
2231
2232         * DumpRenderTree/AccessibilityUIElement.cpp:
2233         (nextParagraphEndTextMarkerForTextMarkerCallback):
2234         (sentenceTextMarkerRangeForTextMarkerCallback):
2235         (previousSentenceStartTextMarkerForTextMarkerCallback):
2236         (nextSentenceEndTextMarkerForTextMarkerCallback):
2237         (setSelectedVisibleTextRangeCallback):
2238         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2239         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
2240         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
2241         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
2242         (AccessibilityUIElement::getJSClass):
2243         * DumpRenderTree/AccessibilityUIElement.h:
2244         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2245         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2246         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
2247         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
2248         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
2249         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2250         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2251         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
2252         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
2253         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
2254         (AccessibilityUIElement::supportedActions):
2255         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2256         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2257         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2258         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2259         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
2260         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
2261         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
2262         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2263         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2264         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2265         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2266         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
2267         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
2268         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
2269         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
2270         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2271         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2272         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
2273         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
2274         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
2275         (WTR::_convertMathMultiscriptPairsToString):
2276
2277 2016-02-15  Brent Fulgham  <bfulgham@apple.com>
2278
2279         [Mac] Gather some rudimentary statistics during resource load 
2280         https://bugs.webkit.org/show_bug.cgi?id=153575
2281         <rdar://problem/24075254>
2282
2283         Reviewed by Brady Eidson.
2284
2285         * MiniBrowser/mac/SettingsController.h:
2286         * MiniBrowser/mac/SettingsController.m:
2287         (-[SettingsController _populateMenu]): Add menu item for new debug flag.
2288         (-[SettingsController toggleResourceLoadStatisticsEnabled:]): Added.
2289         (-[SettingsController resourceLoadStatisticsEnabled]): Added.
2290         * MiniBrowser/mac/WK1BrowserWindowController.m:
2291         (-[WK1BrowserWindowController didChangeSettings]): React to changes in
2292         users's desire to track resource load statistics.
2293
2294 2016-02-15  Csaba Osztrogonác  <ossy@webkit.org>
2295
2296         [EFL] Update Tools/efl/install-dependencies
2297         https://bugs.webkit.org/show_bug.cgi?id=154239
2298
2299         Reviewed by Michael Catanzaro.
2300
2301         * efl/install-dependencies:
2302
2303 2016-02-15  Alex Christensen  <achristensen@webkit.org>
2304
2305         Fix internal Windows build of projects built after WebKit
2306         https://bugs.webkit.org/show_bug.cgi?id=154249
2307         rdar://problem/24644805
2308
2309         Reviewed by Chris Dumez.
2310
2311         * DumpRenderTree/PlatformWin.cmake:
2312         * MiniBrowser/win/CMakeLists.txt:
2313         Don't include DerivedSources/WebKit/Interfaces to make MiniBrowser and DumpRenderTree
2314         more like projects built internally after WebKit.  They should only need to use what
2315         is in ForwardingHeaders/WebKit.
2316
2317 2016-02-12  Nan Wang  <n_wang@apple.com>
2318
2319         AX: Implement paragraph related text marker functions using TextIterator
2320         https://bugs.webkit.org/show_bug.cgi?id=154098
2321         <rdar://problem/24269675>
2322
2323         Reviewed by Chris Fleizach.
2324
2325         * DumpRenderTree/AccessibilityUIElement.cpp:
2326         (nextWordEndTextMarkerForTextMarkerCallback):
2327         (paragraphTextMarkerRangeForTextMarkerCallback):
2328         (previousParagraphStartTextMarkerForTextMarkerCallback):
2329         (nextParagraphEndTextMarkerForTextMarkerCallback):
2330         (setSelectedVisibleTextRangeCallback):
2331         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2332         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2333         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2334         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2335         (AccessibilityUIElement::getJSClass):
2336         * DumpRenderTree/AccessibilityUIElement.h:
2337         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2338         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2339         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2340         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2341         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2342         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2343         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2344         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2345         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2346         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2347         (AccessibilityUIElement::supportedActions):
2348         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2349         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2350         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2351         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2352         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2353         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2354         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2355         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2356         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2357         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2358         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2359         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2360         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2361         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2362         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
2363         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2364         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2365         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
2366         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
2367         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
2368         (WTR::_convertMathMultiscriptPairsToString):
2369
2370 2016-02-12  Jason Marcell  <jmarcell@apple.com>
2371
2372         Open source bot watcher's dashboard fails assertion in BuildbotQueue.prototype.compareIterationsByRevisions
2373         https://bugs.webkit.org/show_bug.cgi?id=154180
2374
2375         Reviewed by Alexey Proskuryakov.
2376
2377         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Remove reference to Internal
2378         repository.
2379
2380 2016-02-12  Jer Noble  <jer.noble@apple.com>
2381
2382         [Mac] Adopt MediaResourceLoader (instead of CachedResourceLoader) in WebCoreNSURLSession.
2383         https://bugs.webkit.org/show_bug.cgi?id=154136
2384
2385         Reviewed by Alex Christensen.
2386
2387         Use a MediaResourceLoader instead of a CachedResourceLoader for WebCoreNSURLSession.
2388
2389         Drive-by fix: generate USE and ENABLE macros for TestWebKitAPI by adding FEATURE_DEFINES
2390         to GCC_PREPROCESSOR_DEFINES.
2391
2392         * TestWebKitAPI/Configurations/Base.xcconfig:
2393         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
2394         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
2395         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
2396         (TestWebKitAPI::TEST_F):
2397
2398 2016-02-11  Dana Burkart  <dburkart@apple.com>
2399
2400         Large logs can bring down the webkit master
2401         https://bugs.webkit.org/show_bug.cgi?id=122112
2402
2403         Reviewed by Lucas Forschler.
2404
2405         Implement the suggested fix of throwing away stdout / stderr.
2406
2407         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2408         (RunWebKit1LeakTests):
2409
2410 2016-02-10  Jason Marcell  <jmarcell@apple.com>
2411
2412         Remove calls to parseInt in order to work with non-integer revisions
2413         https://bugs.webkit.org/show_bug.cgi?id=153820
2414
2415         Reviewed by Daniel Bates.
2416
2417         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2418         (BuildbotIteration.prototype.sourceStampChanges): Remove calls to parseInt in order to work with non-integer
2419         revisions.
2420         (BuildbotIteration.prototype._parseData): Ditto.
2421         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2422         (BuildbotQueue.prototype.update): Ditto.
2423         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js:
2424         (MockBuildbotQueueView.prototype._latestProductiveIteration): Change integers to strings in test code.
2425         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
2426         (MockTrac.prototype.get oldestRecordedRevisionNumber): Ditto.
2427         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
2428         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Ditto.
2429
2430 2016-02-10  Jason Marcell  <jmarcell@apple.com>
2431
2432         Teach dashboard code to compare non-integer revisions
2433         https://bugs.webkit.org/show_bug.cgi?id=152345
2434
2435         Reviewed by Daniel Bates.
2436
2437         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2438         (BuildbotQueue.prototype.compareIterationsByRevisions): Compare non-integer revisions.
2439         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2440         (BuildbotQueueView.prototype._appendPendingRevisionCount): Use Trac.indexOfRevision in order to compare non-integer
2441         revisions. Also uses new Trac.commitsOnBranchLaterThanRevision method.
2442         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Ditto.
2443         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Use Trac.indexOfRevision in order to compare non-integer
2444         revisions. Also uses new Trac.nextRevision method to calculate a revision range.
2445         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
2446         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
2447         (Trac.prototype._commitsOnBranch): Renamed this to indicate that it should be a private method used by the latter two new
2448         methods.
2449         (Trac.prototype.commitsOnBranchLaterThanRevision): Finds revisions on a branch later than the specified revision.
2450         (Trac.prototype.commitsOnBranchInRevisionRange): Finds revisions on a branch within a specified range.
2451         (Trac.prototype.nextRevision): Finds the next revision after a given revision on a specific branch.
2452         (Trac.prototype.indexOfRevision): Finds the index of a given revision within the recordedCommits array.
2453         (Trac.prototype.commitsOnBranch): Deleted. Renamed to _commitsOnBranch.
2454         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests.
2455
2456 2016-02-09  Nan Wang  <n_wang@apple.com>
2457
2458         AX: Implement word related text marker functions using TextIterator
2459         https://bugs.webkit.org/show_bug.cgi?id=153939
2460         <rdar://problem/24269605>
2461
2462         Reviewed by Chris Fleizach.
2463
2464         * DumpRenderTree/AccessibilityUIElement.cpp:
2465         (endTextMarkerCallback):
2466         (leftWordTextMarkerRangeForTextMarkerCallback):
2467         (rightWordTextMarkerRangeForTextMarkerCallback):
2468         (previousWordStartTextMarkerForTextMarkerCallback):
2469         (nextWordEndTextMarkerForTextMarkerCallback):
2470         (setSelectedVisibleTextRangeCallback):
2471         (AccessibilityUIElement::setSelectedVisibleTextRange):
2472         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
2473         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2474         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2475         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2476         (AccessibilityUIElement::getJSClass):
2477         * DumpRenderTree/AccessibilityUIElement.h:
2478         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2479         (AccessibilityUIElement::setSelectedVisibleTextRange):
2480         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
2481         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2482         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2483         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2484         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2485         (AccessibilityUIElement::setSelectedVisibleTextRange):
2486         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
2487         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2488         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2489         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2490         (AccessibilityUIElement::supportedActions):
2491         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2492         (WTR::AccessibilityUIElement::setBoolAttributeValue):
2493         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
2494         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2495         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2496         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2497         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2498         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2499         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2500         (WTR::AccessibilityUIElement::endTextMarker):
2501         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
2502         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2503         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2504         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2505         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
2506         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2507         (WTR::AccessibilityUIElement::endTextMarker):
2508         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
2509         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
2510         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
2511         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
2512         (WTR::_convertMathMultiscriptPairsToString):
2513
2514 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
2515
2516         [EFL] Remove eail related cruft after r195725
2517         https://bugs.webkit.org/show_bug.cgi?id=154030
2518
2519         Reviewed by Alex Christensen.
2520
2521         * efl/jhbuildrc:
2522
2523 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
2524
2525         [EFL] Remove LLVM related cruft after r196077
2526         https://bugs.webkit.org/show_bug.cgi?id=154031
2527
2528         Reviewed by Alex Christensen.
2529
2530         * efl/jhbuild.modules:
2531         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Removed.
2532         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Removed.
2533         * efl/patches/llvm-version-arm64.patch: Removed.
2534
2535 2016-02-05  Aakash Jain  <aakash_jain@apple.com>
2536
2537         tests fail if display sleeps while run-webkit-tests is running
2538         https://bugs.webkit.org/show_bug.cgi?id=153919
2539
2540         Reviewed by Alexey Proskuryakov.
2541
2542         * DumpRenderTree/mac/LayoutTestHelper.m:
2543         (addDisplaySleepAssertion): Add the assertion so that the display doesn't turn off.
2544         (releaseDisplaySleepAssertion): Release the DisplaySleep Assertion.
2545         (simpleSignalHandler): Release the DisplaySleepAssertion in case of any iterrupt.
2546
2547 2016-02-05  Alex Christensen  <achristensen@webkit.org>
2548
2549         Fix iOS API tests after r196082
2550         https://bugs.webkit.org/show_bug.cgi?id=153900
2551
2552         Reviewed by Jer Noble.
2553
2554         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
2555         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
2556         [WebView initialize] doesn't call JSC::initializeThreading on iOS.
2557
2558 2016-02-04  Jason Marcell  <jmarcell@apple.com>
2559
2560         The status message for passing combined builder queues should say "all builds succeeded" when expanded.
2561         https://bugs.webkit.org/show_bug.cgi?id=153882
2562
2563         Reviewed by Alexey Proskuryakov.
2564
2565         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
2566         (BuildbotCombinedQueueView.prototype.update): Set status to "all builds succeeded" for combined builder queues
2567         when expanded.
2568
2569 2016-02-03  Filip Pizlo  <fpizlo@apple.com>
2570
2571         run-jsc-stress-tests should be better at telling you details about test failures
2572         https://bugs.webkit.org/show_bug.cgi?id=153845
2573
2574         Reviewed by Geoffrey Garen.
2575
2576         Here's an example of the contents of results/resultsByFamily, one of the new files that this
2577         generates, for some local testing I'm doing.  Notice how it groups families of tests together.
2578
2579         You won't see this unless you cat results/resultsByFamily.
2580
2581         regress.yaml/Regress/radar-24289839.js:
2582             regress.yaml/Regress/radar-24289839.js.default: PASS
2583             regress.yaml/Regress/radar-24289839.js.ftl: PASS
2584             regress.yaml/Regress/radar-24289839.js.ftl-no-cjit: FAIL
2585             regress.yaml/Regress/radar-24289839.js.ftl-eager-no-cjit: FAIL
2586         
2587         regress.yaml/Regress/radar-24290639.js:
2588             regress.yaml/Regress/radar-24290639.js.default: PASS
2589             regress.yaml/Regress/radar-24290639.js.ftl: PASS
2590             regress.yaml/Regress/radar-24290639.js.ftl-no-cjit: PASS
2591             regress.yaml/Regress/radar-24290639.js.ftl-eager-no-cjit: FAIL
2592         
2593         regress.yaml/Regress/radar-24290670.js: FAILED
2594         
2595         * Scripts/run-jsc-stress-tests:
2596
2597 2016-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2598
2599         [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled
2600         https://bugs.webkit.org/show_bug.cgi?id=153835
2601
2602         Reviewed by Martin Robinson.
2603
2604         WKBundlePageCopyContextMenuAtPointInWindow() returns nullptr when
2605         the context menu event is not handled, but we are using the
2606         returned value without null checking it.
2607
2608         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2609         (WTR::EventSendingController::contextClick):
2610
2611 2016-02-03  Jason Marcell  <jmarcell@apple.com>
2612
2613         Format revisions for display according to repository type
2614         https://bugs.webkit.org/show_bug.cgi?id=153818
2615
2616         Reviewed by Alexey Proskuryakov.
2617
2618         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2619         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Use new _formatRevisionForDisplay to display revisions according
2620         to repository type.
2621         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
2622         (BuildbotQueueView.prototype._formatRevisionForDisplay): Formats revisions for display according to repository type.
2623         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test new
2624         _formatRevisionForDisplay function.
2625
2626 2016-02-03  Aakash Jain  <aakash_jain@apple.com>
2627
2628         Logs/CoreSimulator filling up OS disk on WebKit testers
2629         https://bugs.webkit.org/show_bug.cgi?id=153853
2630         <rdar://problem/24496003>
2631
2632         Reviewed by Alexey Proskuryakov.
2633
2634         * Scripts/webkitpy/port/ios.py:
2635         (IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.
2636
2637 2016-02-03  Brian Burg  <bburg@apple.com>
2638
2639         git-add-reviewer should work when run from a subdirectory within the repository
2640         https://bugs.webkit.org/show_bug.cgi?id=153842
2641
2642         Reviewed by David Kilzer.
2643
2644         There are two problems that needed to be fixed:
2645
2646          - We can't assume .git is in $PWD/.git
2647          - We can't specify absolute paths to `git commit`
2648
2649         Fix these problems using the helpers in VCSUtils that were added to
2650         fix this same issue for prepare-changeCogs.
2651
2652         * Scripts/VCSUtils.pm: Export gitDirectory()
2653         * Scripts/git-add-reviewer:
2654         (nonInteractive): Cache gitDirectory() result.
2655         (addReviewer):
2656         (commit):
2657         (changeLogsForCommit): Make paths relative.
2658
2659 2016-02-03  Jer Noble  <jer.noble@apple.com>
2660
2661         Yet another Yosemite build fix.
2662
2663         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
2664
2665 2016-02-03  Jer Noble  <jer.noble@apple.com>
2666
2667         iOS build fix after Yosemite build fix broke iOS build.
2668
2669         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
2670
2671 2016-02-03  Jer Noble  <jer.noble@apple.com>
2672
2673         Yosemite build fix; hide the entire WebCoreNSURLSessionDataTask class from Yosemite and prior.
2674
2675         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
2676
2677 2016-02-03  Joonghun Park  <jh718.park@samsung.com>
2678
2679         [Tools] Remove $additionalCMakeArgs variable because without this variable --cmakeargs options works well
2680         https://bugs.webkit.org/show_bug.cgi?id=153827
2681
2682         Reviewed by Michael Catanzaro.
2683
2684         When an array is passed to subroutines as argument in perl,
2685         a list containing its element is returned from the array.
2686         Currently @$ arguments are being passed, then it is going to be one list
2687         including all the elements not only from @ but also from $.
2688         As a result, --cmakeargs option's value is included in @cmakeArgs
2689         at generateBuildSystemFromCMakeProject subroutine,
2690         so $additionalCMakeArgs doesn't needed anymore.
2691
2692         * Scripts/webkitdirs.pm:
2693         (generateBuildSystemFromCMakeProject):
2694
2695 2016-02-03  Jer Noble  <jer.noble@apple.com>
2696
2697         [Mac] Wrap a resource and resource loader in a NSURLSession-like object for use by lower level frameworks
2698         https://bugs.webkit.org/show_bug.cgi?id=153669
2699
2700         Reviewed by Alex Christensen.
2701
2702         Add an API test for WebCoreNSURLSession, testing that it behaves like a regulare NSURLSession, including
2703         calling appropriate NSURLSessionDelegate callbacks.
2704
2705         Drive-by fix: Add a FeatureDefines.xcconfig to TestWebKitAPI.  Without this, the ENABLE macros in WebCore
2706         header files will not match the one used when compiling WebCore, leading to strange crashes and weird
2707         inconsistencies when calling, e.g., inline methods.
2708
2709         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added.
2710         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2711         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2712         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm: Added.
2713         (-[TestNSURLSessionLoaderDelegate webView:didCommitLoadForFrame:]):
2714         (-[TestNSURLSessionDataDelegate URLSession:task:didCompleteWithError:]):
2715         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
2716         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveData:]):
2717         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
2718         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
2719         (TestWebKitAPI::TEST_F):
2720
2721 2016-02-03  Konstantin Tokarev  <annulen@yandex.ru>
2722
2723         [webkitdirs] Clarify logic behind is{PortName} functions.
2724         https://bugs.webkit.org/show_bug.cgi?id=153554
2725
2726         Reviewed by Michael Catanzaro.
2727
2728         * Scripts/webkitdirs.pm:
2729         (prohibitUnknownPort): This function makes determinePortName()
2730         failure fatal.
2731         (determinePortName): Added new function which decides which port are
2732         we building based on command line switches and platform defaults.
2733         (portName): Added getter for determined $portName.
2734         (isEfl): Modified to use portName().
2735         (isGtk): Ditto.
2736         (isWinCairo): Ditto.
2737         (isAppleMacWebKit): Ditto.
2738         (isAppleWinWebKit): Ditto.
2739         (isIOSWebKit): Ditto.
2740         (cmakeBasedPortName): Return portName() with capitalized first letter.
2741         (determineIsEfl): Deleted.
2742         (determineIsGtk): Deleted.
2743         (determineIsWinCairo): Deleted.
2744
2745         * Scripts/build-jsc: Call prohibitUnknownPort().
2746         * Scripts/run-minibrowser: Ditto.
2747         * Scripts/webkitperl/FeatureList.pm: Ditto.
2748         * Scripts/update-webkit: Call determinePortName() instead of
2749         determineIsWinCairo().
2750
2751 2016-02-02  Dan Bernstein  <mitz@apple.com>
2752
2753         Better fix for Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
2754         https://bugs.webkit.org/show_bug.cgi?id=153683
2755
2756         Reviewed by Darin Adler.
2757
2758         * Scripts/webkitpy/port/driver.py:
2759         (Driver._setup_environ_for_driver): Reverted change from r196013. DUMPRENDERTREE_TEMP is not
2760           used by any code in the Web Content process. If that ever changed, we should send it over
2761           as a bundle parameter.
2762
2763         * Scripts/webkitpy/port/ios.py:
2764         (IOSSimulatorPort.setup_environ_for_server): Reverted change from r196013.
2765
2766         * Scripts/webkitpy/port/mac.py:
2767         (MacPort.setup_environ_for_server): Ditto.
2768
2769         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
2770         (WTR::InjectedBundle::platformInitialize): Set XML_CATALOG_FILES in the Web Process
2771           environment. This is early enough that libxml2 has not been initialized yet.
2772
2773         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2774         (WTR::InjectedBundle::platformInitialize): Ditto.
2775
2776 2016-02-02  Dan Bernstein  <mitz@apple.com>
2777
2778         Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
2779         https://bugs.webkit.org/show_bug.cgi?id=153683
2780
2781         Reviewed by Alexey Proskuryakov.
2782
2783         Ensure that XML_CATALOG_FILES is set in the Web Content service’s environment as well.
2784
2785         * Scripts/webkitpy/port/driver.py:
2786         (Driver._setup_environ_for_driver): Also set __XPC_DUMPRENDERTREE_TEMP.
2787         * Scripts/webkitpy/port/ios.py:
2788         (IOSSimulatorPort.setup_environ_for_server): Set __XPC_XML_CATALOG_FILES.
2789         * Scripts/webkitpy/port/mac.py:
2790         (MacPort.setup_environ_for_server): Ditto.
2791
2792 2016-01-29 Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2793
2794         [EFL] Virtual Keyboard overlaps MiniBrowser's WebView
2795         https://bugs.webkit.org/show_bug.cgi?id=153009
2796
2797         Reviewed by Gyuyoung Kim.
2798
2799         On mobile, virtual keyboard represented by ecore_imf module appears on
2800         the top of application layer usually covering bottom part of the screen.
2801         If the web page contains the editable content on the bottom of the page
2802         it will be overlapped by keyboard which prevents user from seeing the
2803         typed text.
2804
2805         Pack MiniBrowser layout into conformant widget to allow EFL to guess
2806         the space that will be required by the keyboard, finally resizing it
2807         to the desired size. As a result, webview gets resized and scrolled
2808         into focused elements which makes the editable elements visible while
2809         typing.
2810
2811         More details about elm_conformant widger can be found at:
2812         https://docs.enlightenment.org/elementary/1.15.0/group__Conformant.html
2813         https://docs.enlightenment.org/elementary/1.15.0/conformant_example.html
2814
2815         * MiniBrowser/efl/main.c:
2816         (window_create): pack a box into conformant widget.
2817
2818 2016-02-02  Alejandro G. Castro  <alex@igalia.com>
2819
2820         [GTK][EFL] Upgrade OpenWebRTC dependency
2821         https://bugs.webkit.org/show_bug.cgi?id=153489
2822
2823         Reviewed by Philippe Normand.
2824
2825         * Scripts/run-gtk-tests:
2826         (TestRunner): Avoid running the mediastream API test.
2827         * Scripts/webkitperl/FeatureList.pm: Stop compiling mediastream by
2828         default for gtk and efl.
2829         * gtk/jhbuild-webrtc.modules: Added modules files with
2830         dependencies required to compile and test the mediastream.
2831
2832 2016-02-01  Jason Marcell  <jmarcell@apple.com>
2833
2834         Add code to parse the git branches out of the Trac RSS feed
2835         https://bugs.webkit.org/show_bug.cgi?id=153624
2836
2837         Reviewed by Daniel Bates.
2838
2839         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
2840         (Trac.prototype.commitsOnBranch): Update filter to check for Git branches.
2841         (Trac.prototype._convertCommitInfoElementToObject): Parse Git branches from the Trac RSS feed. Also changed "branchName" to
2842         "branches" and updated the code to work with an array instead of a string.
2843         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
2844         (MockTrac): Refactored example commits out into a constant, MockTrac.EXAMPLE_TRAC_COMMITS.
2845         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml: Added. Test
2846         fixture that contains XML with a Git branch.
2847         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit test to test parsing Git
2848         branches from Trac RSS feed. Also updated code to work with the new MockTrac.EXAMPLE_TRAC_COMMITS constant.
2849
2850 2016-02-01  Brady Eidson  <beidson@apple.com>
2851
2852         Add command line flag to DRT to output the number of tests completed in server mode.
2853         https://bugs.webkit.org/show_bug.cgi?id=153750
2854
2855         Reviewed by Darin Adler.
2856
2857         * DumpRenderTree/mac/DumpRenderTree.mm:
2858         (initializeGlobalsFromCommandLineOptions):
2859         (runTestingServerLoop):
2860
2861 2016-02-01  Jason Marcell  <jmarcell@apple.com>
2862
2863         Improvements to botwatcher's dashboard unit tests.
2864         https://bugs.webkit.org/show_bug.cgi?id=153621
2865
2866         Reviewed by Darin Adler.
2867
2868         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/PopoverTracker.js:
2869         (PopoverTracker): Retain a reference to the PopoverTracker so that we can make assertions about it in the unit tests.
2870         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
2871         (MockTrac): Changing revision 33019 to be on a different branch so that _appendPendingRevisionCount and
2872         _popoverLinesForCommitRange have to traverse commits from different branches.
2873         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Changing equal to strictEqual
2874         in unit test for _appendPendingRevisionCount. Also added assertions for Popover in test for
2875         _revisionContentWithPopoverForIteration.
2876
2877 2016-02-01  Jason Marcell  <jmarcell@apple.com>
2878
2879         Refactor to add event listeners and start periodic updates for all trac instances.
2880         https://bugs.webkit.org/show_bug.cgi?id=153609
2881
2882         Reviewed by Darin Adler.
2883
2884         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2885         (BuildbotQueueView): Adding event listeners for all trac instances.
2886         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Starting periodic updates
2887         for all trac instances.
2888
2889 2016-01-31  Darin Adler  <darin@apple.com>
2890
2891         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
2892         https://bugs.webkit.org/show_bug.cgi?id=153639
2893
2894         Reviewed by Filip Pizlo.
2895
2896         * Scripts/do-webcore-rename: Use script to do this rename.
2897
2898 2016-01-30  Commit Queue  <commit-queue@webkit.org>
2899
2900         Unreviewed, rolling out r195911.
2901         https://bugs.webkit.org/show_bug.cgi?id=153723
2902
2903         Caused frequent assertion failures on bots (Requested by ap on
2904         #webkit).
2905
2906         Reverted changeset:
2907
2908         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
2909         https://bugs.webkit.org/show_bug.cgi?id=153639
2910         http://trac.webkit.org/changeset/195911
2911
2912 2016-01-30  Darin Adler  <darin@apple.com>
2913
2914         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
2915         https://bugs.webkit.org/show_bug.cgi?id=153639
2916
2917         Reviewed by Filip Pizlo.
2918
2919         * Scripts/do-webcore-rename: Use script to do this rename.
2920
2921 2016-01-30  Ryosuke Niwa  <rniwa@webkit.org>
2922
2923         TouchList should be retargeted
2924         https://bugs.webkit.org/show_bug.cgi?id=149592
2925
2926         Reviewed by Antti Koivisto.
2927
2928         Added touchDownAtPoint and liftUpAtPoint to UIScriptController so that we can test touch events with
2929         multiple touch targets on iOS. fast/shadow-dom/touch-event-ios.html uses this new testing feature.
2930
2931         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
2932         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
2933         (WTR::UIScriptController::touchDownAtPoint): Added.
2934         (WTR::UIScriptController::liftUpAtPoint): Added.
2935         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
2936         * WebKitTestRunner/ios/HIDEventGenerator.h:
2937         * WebKitTestRunner/ios/HIDEventGenerator.mm:
2938         (-[HIDEventGenerator touchDown:touchCount:completionBlock:]): Added. Sends touch down and waits.
2939         (-[HIDEventGenerator liftUp:touchCount:completionBlock:]): Ditto for lift up.
2940         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2941         (WTR::UIScriptController::touchDownAtPoint): Added.
2942         (WTR::UIScriptController::liftUpAtPoint): Added.
2943
2944 2016-01-30  Yusuke Suzuki  <utatane.tea@gmail.com>
2945
2946         Enable SamplingProfiler on POSIX environment
2947         https://bugs.webkit.org/show_bug.cgi?id=153584
2948
2949         Reviewed by Michael Saboff.
2950
2951         * Scripts/run-jsc-stress-tests:
2952
2953 2016-01-29  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
2954
2955         update-webkit-dependency fails to fetch updates through firewall on Windows
2956         https://bugs.webkit.org/show_bug.cgi?id=153619
2957
2958         Reviewed by Myles C. Maxfield.
2959
2960         On Windows, when a firewall is present we need to read proxy settings
2961         from environment variables.
2962
2963         This patch relies on the following environment variables being set:
2964         HTTP_PROXY
2965         HTTPS_PROXY
2966
2967         * Scripts/update-webkit-dependency:
2968
2969 2016-01-28  Dan Bernstein  <mitz@apple.com>
2970
2971         [Cocoa] Use the non-Development variants of XPC services for development
2972         https://bugs.webkit.org/show_bug.cgi?id=152545
2973
2974         Reviewed by Darin Adler.
2975
2976         * Scripts/webkitdirs.pm:
2977         (setUpGuardMallocIfNeeded): Ensure that libgmalloc is loaded into XPC services as well.
2978
2979         * Scripts/webkitpy/port/driver.py:
2980         (Driver._setup_environ_for_driver): Ensure that the DYLD_LIBRARY_PATH and ASAN_OPTIONS are
2981           set in the XPC services as well.
2982
2983         * Scripts/webkitpy/port/ios.py:
2984         (IOSSimulatorPort.setup_environ_for_server): Ensure that malloc stack logging for leaks and
2985           Guard Malloc are enabled in XPC services as well.
2986
2987         * Scripts/webkitpy/port/mac.py:
2988         (MacPort.setup_environ_for_server): Ditto.
2989
2990 2016-01-28  Csaba Osztrogonác  <ossy@webkit.org>
2991
2992         Unreviewed buildfix after r195743.
2993
2994         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2995         (WTR::AccessibilityUIElement::isPressActionSupported):
2996
2997 2016-01-12  Jer Noble  <jer.noble@apple.com>
2998
2999         Custom protocol loading through AVFoundation does not support byte-range requests.
3000         https://bugs.webkit.org/show_bug.cgi?id=152919
3001         <rdar://problem/23664657>
3002
3003         Reviewed by Alex Christensen.
3004
3005         Add tests for new ParsedContntRange class.
3006
3007         * TestWebKitAPI/PlatformWin.cmake:
3008         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3009         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3010         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3011         * TestWebKitAPI/Tests/WebCore/ParsedContentRange.cpp: Added.
3012         (TestWebKitAPI::TEST):
3013
3014 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
3015
3016         Use isAnyWindows() instead of isCygwin() || isWindows() in Perl scripts.
3017         https://bugs.webkit.org/show_bug.cgi?id=153594
3018
3019         Reviewed by Alex Christensen.
3020
3021         * Scripts/webkitdirs.pm:
3022         (determineNumberOfCPUs):
3023         (jscPath):
3024         (checkFrameworks):
3025         (setupCygwinEnv):
3026         (wrapperPrefixIfNeeded):
3027         (cmakeGeneratedBuildfile):
3028         (generateBuildSystemFromCMakeProject):
3029         * Scripts/webkitperl/features.pm:
3030         (libraryContainsSymbol):
3031
3032 2016-01-28  Chris Dumez  <cdumez@apple.com>
3033
3034         Unreviewed, rolling out r195742.
3035
3036         Broke EWS
3037
3038         Reverted changeset:
3039
3040         "[webkitdirs] Clarify logic behind is{PortName} functions."
3041         https://bugs.webkit.org/show_bug.cgi?id=153554
3042         http://trac.webkit.org/changeset/195742
3043
3044 2016-01-28  Darin Adler  <darin@apple.com>
3045
3046         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
3047         https://bugs.webkit.org/show_bug.cgi?id=153411
3048
3049         Reviewed by Ryosuke Niwa.
3050
3051         * Scripts/do-webcore-rename: Removed rename of equalIgnoringCase since we
3052         have removed the function instead.
3053
3054         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3055         (TestWebKitAPI::TEST): Updated test since nullptr is now ambiguous since we
3056         added overloads for const char*.
3057
3058         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3059         (WTR::AccessibilityUIElement::isPressActionSupported): Use equalLettersIgnoringASCIICase.
3060         (WTR::AccessibilityUIElement::hasPopup): Ditto.
3061         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
3062         (WTR::testPathFromURL): Ditto.
3063
3064 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
3065
3066         [webkitdirs] Clarify logic behind is{PortName} functions.
3067         https://bugs.webkit.org/show_bug.cgi?id=153554
3068
3069         Reviewed by Darin Adler.
3070
3071         * Scripts/webkitdirs.pm:
3072         (determinePortName): Added new function which decides which port are
3073         we building based on command line switches and platform defaults.
3074         (portName): Added getter for determined $portName.
3075         (isEfl): Modified to use portName().
3076         (isGtk): Ditto.
3077         (isWinCairo): Ditto.
3078         (isAppleMacWebKit): Ditto.
3079         (isAppleWinWebKit): Ditto.
3080         (isIOSWebKit): Ditto.
3081         (cmakeBasedPortName): Code replaced with portName() call.
3082         (determineIsEfl): Deleted.
3083         (determineIsGtk): Deleted.
3084         (determineIsWinCairo): Deleted.
3085
3086 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
3087
3088         [webkitdirs] Don't pass cmakeBasedPortName around.
3089         https://bugs.webkit.org/show_bug.cgi?id=153589
3090
3091         Reviewed by Darin Adler.
3092
3093         It should be local function of webkitdirs.pm instead.
3094
3095         * Scripts/build-jsc: Don't pass cmakeBasedPortName to
3096         buildCMakeProjectOrExit().
3097         * Scripts/build-webkit: Don't pass cmakeBasedPortName to
3098         buildCMakeProjectOrExit() and generateBuildSystemFromCMakeProject().
3099         * Scripts/run-efl-tests: Don't pass cmakeBasedPortName to
3100         generateBuildSystemFromCMakeProject().
3101         * Scripts/webkitdirs.pm: Don't export cmakeBasedPortName.
3102         (generateBuildSystemFromCMakeProject): Removed $port argument as we
3103         can get it from cmakeBasedPortName().
3104         (buildCMakeProjectOrExit): Ditto.
3105
3106 2016-01-28  Gwang Yoon Hwang  <yoon@igalia.com>
3107
3108         [GStreamer] Clean up includes and headers related with GStreamerGL
3109         https://bugs.webkit.org/show_bug.cgi?id=153590
3110
3111         Reviewed by Philippe Normand.
3112
3113         * Scripts/webkitpy/style/checker.py: Skips
3114         include_order check for MediaPlayerPrivateGStreamerBase.cpp
3115         Removes VideoSinkGStreamer1.cpp which doesn't exist anymore.
3116
3117 2016-01-27  Krzysztof Czech  <k.czech@samsung.com>
3118
3119         [EFL] Remove unused accessibility related code
3120         https://bugs.webkit.org/show_bug.cgi?id=153543
3121
3122         Reviewed by Darin Adler.
3123
3124         Removed reference to EAIL library.
3125         It not going to be support anymore. There have been changes in
3126         EFL/Elementary in terms of the accessibility and we should
3127         follow those.
3128
3129         * efl/jhbuild-optional.modules:
3130
3131 2016-01-27  Daniel Bates  <dabates@apple.com>
3132
3133         Remove WebKitSystemInterface for iOS SDK < 9
3134         https://bugs.webkit.org/show_bug.cgi?id=153570
3135
3136         Reviewed by Andy Estes.
3137
3138         * Scripts/copy-webkitlibraries-to-product-directory:
3139
3140 2016-01-27  Jason Marcell  <jmarcell@apple.com>
3141
3142         Fix bugs caused by incorrect usage of "branch" vs. "branchName".
3143         https://bugs.webkit.org/show_bug.cgi?id=153330
3144
3145         Reviewed by Daniel Bates.
3146
3147         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
3148         "branchName" implies that the variable or property in question is simply a string. We fixed some
3149         inconsistencies regarding this issue in 152982 but further bugs and inconsistencies were recently
3150         spotted in BuildbotQueueView.js.
3151
3152         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3153         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branchName to branch in method signature.
3154         Changed branchName to branch.name in call to commitsOnBranch.
3155         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Change branch.name to branch in call to
3156         _popoverLinesForCommitRange.
3157         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Changed context.branchName to context.branch.name.
3158         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Changed branch.name to branch.
3159         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests to verify
3160         fix.
3161
3162 2016-01-27  Ryosuke Niwa  <rniwa@webkit.org>
3163
3164         Add API to access closed shadowRoot in InjectedBundle
3165         https://bugs.webkit.org/show_bug.cgi?id=153533
3166
3167         Reviewed by Antti Koivisto.
3168
3169         Added WebKit2 API test for WKBundleScriptWorldMakeAllShadowRootsOpen.
3170
3171         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3172         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp: Added.
3173         (TestWebKitAPI::runJavaScriptAlert):
3174         (TestWebKitAPI::TEST):
3175         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakrAllShadowRootOpen_Bundle.cpp: Added.
3176         (TestWebKitAPI::InjectedBundleMakrAllShadowRootOpenTest::InjectedBundleMakrAllShadowRootOpenTest):
3177         (TestWebKitAPI::InjectedBundleMakrAllShadowRootOpenTest::initialize):
3178
3179 2016-01-27  Jason Marcell  <jmarcell@apple.com>
3180
3181         Refactor logic for parsing Trac revisions into its own function and add logic for parsing git hashes.
3182         https://bugs.webkit.org/show_bug.cgi?id=153332
3183
3184         Reviewed by Alexey Proskuryakov.
3185
3186         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3187         (Trac.prototype._xmlTimelineURL): Uses new function.
3188         (Trac.prototype._parseRevisionFromURL): Added. Pulled out logic for parsing revisions from a URL. Also added
3189         logic for parsing git hashes.
3190         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests for
3191         Trac._parseRevisionFromURL.
3192
3193 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
3194
3195         Remove Mavericks from the flakiness dashboard
3196         https://bugs.webkit.org/show_bug.cgi?id=153521
3197
3198         Reviewed by Dan Bernstein.
3199
3200         * TestResultServer/static-dashboards/builders.jsonp:
3201         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3202
3203 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
3204
3205         Remove ENABLE_CURRENTSRC
3206         https://bugs.webkit.org/show_bug.cgi?id=153545
3207
3208         Reviewed by Simon Fraser.
3209
3210         * Scripts/webkitperl/FeatureList.pm:
3211
3212 2016-01-26  Jason Marcell  <jmarcell@apple.com>
3213
3214         Sort incoming commits via date instead of revision number.
3215         https://bugs.webkit.org/show_bug.cgi?id=153467
3216
3217         Reviewed by Alexey Proskuryakov.
3218
3219         Future Trac instances may use Git or other revision control systems where we cannnot rely on the revision number
3220         for sorting revisions. Instead we use the commit date to sort revisions chronologically.
3221
3222         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3223         (Trac.prototype._loaded): Sort via date instead of revision number.
3224         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
3225         (MockTrac): Fix up the mock data to look more like real-world data.
3226         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml: Added.
3227         Fake RSS feed that adds three more commits.
3228         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test
3229         Trac._loaded().
3230
3231 2016-01-26  I-Ting Liu  <iting_liu@apple.com>
3232
3233         Add a test for WebKit::stringMatchesWildcardString.
3234         https://bugs.webkit.org/show_bug.cgi?id=153090
3235
3236         Reviewed by Darin Adler.
3237
3238         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3239         Add the file to the project.
3240
3241         * TestWebKitAPI/Tests/WebKit2/mac/StringUtilities.mm: Added.
3242         (TestWebKitAPI::TEST):
3243         Test that a string matches another string that may contain wildcard characters.
3244
3245 2016-01-26  Konstantin Tokarev  <annulen@yandex.ru>
3246
3247         [webkitdirs] Removed check for bison, gperf, and flex.
3248         https://bugs.webkit.org/show_bug.cgi?id=153496
3249
3250         Reviewed by Alex Christensen.
3251
3252         This prerequisites are checked in WebKitCommon.cmake and don't
3253         have to be in $PATH.
3254
3255         * Scripts/webkitdirs.pm:
3256         (checkRequiredSystemConfig):
3257
3258 2016-01-26  Konstantin Tokarev  <annulen@yandex.ru>
3259
3260         [webkitdirs] isCMakeBuild should be true by default
3261         https://bugs.webkit.org/show_bug.cgi?id=153497
3262
3263         Reviewed by Michael Catanzaro.
3264
3265         * Scripts/webkitdirs.pm:
3266         (isCMakeBuild):
3267
3268 2016-01-26  Daniel Bates  <dabates@apple.com>
3269
3270         Add WebKitSystemInterface for iOS 9.2
3271         https://bugs.webkit.org/show_bug.cgi?id=153355
3272
3273         Rubber-stamped by David Kilzer.
3274
3275         * Scripts/copy-webkitlibraries-to-product-directory:
3276
3277 2016-01-26  Daniel Bates  <dabates@apple.com>
3278
3279         WebKitTestRunner: Credential cache is not cleared between tests
3280         https://bugs.webkit.org/show_bug.cgi?id=153407
3281         <rdar://problem/24280834>
3282
3283         Reviewed by Alexey Proskuryakov.
3284
3285         * WebKitTestRunner/TestController.cpp:
3286         (WTR::TestController::resetStateToConsistentValues): Call WKContextClearCachedCredentials()
3287         to clear cached credentials.
3288
3289 2016-01-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3290
3291         kill-old-processes: allow to specify on the environment of the bot a list of process that should be killed.
3292         https://bugs.webkit.org/show_bug.cgi?id=153483
3293
3294         Reviewed by Csaba Osztrogonác.
3295
3296         * BuildSlaveSupport/kill-old-processes:
3297         (main): Allow to specify extra tasks to kill via the environment variable WEBKITBOT_TASKSTOKILL
3298
3299 2016-01-25  Simon Fraser  <simon.fraser@apple.com>
3300
3301         Give the layout test results file a <title> showing the date and time the tests were run
3302         https://bugs.webkit.org/show_bug.cgi?id=153187
3303
3304         Reviewed by Darin Adler.
3305         
3306         Include a 'date' property in the JSON with the date and time the tests completed.
3307
3308         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
3309         (summarize_results):
3310
3311 2016-01-25  Commit Queue  <commit-queue@webkit.org>
3312
3313         Unreviewed, rolling out r195543.
3314         https://bugs.webkit.org/show_bug.cgi?id=153451
3315
3316         regressed performance of test bots by ~6% (Requested by dydz
3317         on #webkit).
3318
3319         Reverted changeset:
3320
3321         "WebKitTestRunner: Credential cache is not cleared between
3322         tests"
3323         https://bugs.webkit.org/show_bug.cgi?id=153407
3324         http://trac.webkit.org/changeset/195543
3325
3326 2016-01-25  Aakash Jain  <aakash_jain@apple.com>
3327
3328         Failing to upload to flakiness dashboard should not be a hard error
3329         https://bugs.webkit.org/show_bug.cgi?id=153444
3330         <rdar://problem/22146294>
3331
3332         Reviewed by Alexey Proskuryakov.
3333
3334         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3335         (Manager._upload_json_files): If JSON file is not generated, do not try to upload it.
3336
3337 2016-01-25  Daniel Bates  <dabates@apple.com>
3338
3339         WebKitTestRunner: Credential cache is not cleared between tests
3340         https://bugs.webkit.org/show_bug.cgi?id=153407
3341         <rdar://problem/24280834>
3342
3343         Reviewed by Brady Eidson.
3344
3345         * WebKitTestRunner/TestController.cpp:
3346         (WTR::TestController::resetStateToConsistentValues): Reset testing network session
3347         to clear cached credentials.
3348
3349 2016-01-24  Dan Bernstein  <mitz@apple.com>
3350
3351         Added project.xcworkspace and xcuserdata to this project’s svn:ignore.
3352
3353         * LayoutTestRelay/LayoutTestRelay.xcodeproj: Added property svn:ignore.
3354
3355 2016-01-22  Enrica Casucci  <enrica@apple.com>
3356
3357         Unreviewed build fix after http://trac.webkit.org/changeset/195474.
3358
3359         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3360         (WTR::TestController::platformCreateWebView):
3361
3362 2016-01-22  Tim Horton  <timothy_horton@apple.com>
3363
3364         Add a test for iOS arrow-key repeat
3365         https://bugs.webkit.org/show_bug.cgi?id=152857
3366         <rdar://problem/24017380>
3367
3368         Reviewed by Darin Adler.
3369
3370         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
3371         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3372         (WTR::UIScriptController::keyUpUsingHardwareKeyboard):
3373         (WTR::UIScriptController::keyDownUsingHardwareKeyboard):
3374         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3375         * WebKitTestRunner/ios/HIDEventGenerator.h:
3376         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3377         (-[HIDEventGenerator keyPress:completionBlock:]):
3378         (-[HIDEventGenerator keyDown:completionBlock:]):
3379         (-[HIDEventGenerator keyUp:completionBlock:]):
3380         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3381         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
3382         (WTR::UIScriptController::keyDownUsingHardwareKeyboard):
3383         (WTR::UIScriptController::keyUpUsingHardwareKeyboard):
3384         Make it possible to independently send keyUp/keyDown, instead of just paired.
3385
3386 2016-01-22  Tim Horton  <timothy_horton@apple.com>
3387
3388         Reproducible "Unhanded web process message 'WebUserContentController:AddUserScripts'" and friends
3389         https://bugs.webkit.org/show_bug.cgi?id=153193
3390         <rdar://problem/24222034>
3391
3392         Reviewed by Darin Adler.
3393
3394         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
3395         (webViewForScriptMessageHandlerMultipleHandlerRemovalTest):
3396         (TEST):
3397         Add a test that exhibits the problems we're fixing here.
3398         Before, it would both log and assert in debug, and crash in release.
3399         Now it runs happily to completion.
3400
3401 2016-01-22  Enrica Casucci  <enrica@apple.com>
3402
3403         Add support for testing data detection.
3404         https://bugs.webkit.org/show_bug.cgi?id=153360
3405
3406         Reviewed by Tim Horton.
3407
3408         Adding a new testing option (useDataDetection) to turn on
3409         data detection when running the a test.
3410
3411         * WebKitTestRunner/TestController.cpp:
3412         (WTR::updateTestOptionsFromTestHeader):
3413         * WebKitTestRunner/TestOptions.h:
3414         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3415         (WTR::TestController::platformCreateWebView):
3416
3417 2016-01-21  Simon Fraser  <simon.fraser@apple.com>
3418
3419         Fix the lldb WebCoreLayoutUnitProvider to not dynamically look up the LayoutUnit denominator
3420         https://bugs.webkit.org/show_bug.cgi?id=153334
3421
3422         Reviewed by Zalan Bujtas.
3423         
3424         Evaluating expressions in the LayoutUnit summary provider seems to cause
3425         re-entrancy problems in lldb python bindings, so just hardcode the LayoutUnit
3426         denominator to 64.
3427
3428         * lldb/lldb_webkit.py:
3429         (WebCoreLayoutUnitProvider.to_string):
3430
3431 2016-01-21  Filip Pizlo  <fpizlo@apple.com>
3432
3433         display-profiler-output should be able to display code blocks sorted by machine counts
3434         https://bugs.webkit.org/show_bug.cgi?id=153298
3435
3436         Reviewed by Oliver Hunt.
3437
3438         * Scripts/display-profiler-output:
3439
3440 2016-01-21  Julien Isorce  <j.isorce@samsung.com>
3441
3442         Ensure to use compatible liborc version with wanted gstreamer version
3443         https://bugs.webkit.org/show_bug.cgi?id=153276
3444
3445         For example gst-plugins-base-1.4.4 fails to build with liborc-0.4.24.
3446         The user may have a very recent liborc installed on his system.
3447
3448         Reviewed by Philippe Normand.
3449
3450         * efl/jhbuild.modules: add liborc-0.4.17 and make it a gst dependency.
3451         * gtk/jhbuild.modules: add liborc-0.4.17 and make it a gst depencendy.
3452
3453 2016-01-21  Nan Wang  <n_wang@apple.com>
3454
3455         AX: [IOS] Implement next/previous text marker functions using TextIterator
3456         https://bugs.webkit.org/show_bug.cgi?id=153292
3457         <rdar://problem/24268243>
3458
3459         Reviewed by Chris Fleizach.
3460
3461         Made text marker tests available on iOS.
3462
3463         * DumpRenderTree/AccessibilityTextMarker.h:
3464         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3465         * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: Added.
3466         (AccessibilityTextMarker::AccessibilityTextMarker):
3467         (AccessibilityTextMarker::~AccessibilityTextMarker):
3468         (AccessibilityTextMarker::isEqual):
3469         (AccessibilityTextMarker::platformTextMarker):
3470         (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
3471         (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
3472         (AccessibilityTextMarkerRange::isEqual):
3473         (AccessibilityTextMarkerRange::platformTextMarkerRange):
3474         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3475         (AccessibilityUIElement::pathDescription):
3476         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3477         (AccessibilityUIElement::textMarkerRangeForElement):
3478         (AccessibilityUIElement::selectedTextMarkerRange):
3479         (AccessibilityUIElement::resetSelectedTextMarkerRange):
3480         (AccessibilityUIElement::textMarkerRangeLength):
3481         (AccessibilityUIElement::textMarkerRangeForMarkers):
3482         (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
3483         (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
3484         (AccessibilityUIElement::accessibilityElementForTextMarker):
3485         (AccessibilityUIElement::endTextMarkerForBounds):
3486         (AccessibilityUIElement::startTextMarkerForBounds):
3487         (AccessibilityUIElement::textMarkerForPoint):
3488         (AccessibilityUIElement::previousTextMarker):
3489         (AccessibilityUIElement::nextTextMarker):
3490         (AccessibilityUIElement::stringForTextMarkerRange):
3491         (AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
3492         (AccessibilityUIElement::indexForTextMarker):
3493         (AccessibilityUIElement::isTextMarkerValid):
3494         (AccessibilityUIElement::textMarkerForIndex):
3495         (AccessibilityUIElement::startTextMarker):
3496         (AccessibilityUIElement::endTextMarker):
3497         (AccessibilityUIElement::setSelectedVisibleTextRange):
3498         (AccessibilityUIElement::getLinkedUIElements):
3499         * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
3500         (AccessibilityTextMarkerRange::platformTextMarkerRange):
3501         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3502         (AccessibilityUIElement::removeSelection):
3503         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3504         (AccessibilityUIElement::setSelectedVisibleTextRange):
3505         (AccessibilityUIElement::supportedActions):
3506         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3507         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
3508         (WTR::AccessibilityUIElement::textMarkerRangeLength):
3509         (WTR::AccessibilityUIElement::previousTextMarker):
3510         (WTR::AccessibilityUIElement::nextTextMarker):
3511         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
3512         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
3513         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
3514         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
3515         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
3516         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
3517         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
3518
3519 2016-01-20  Filip Pizlo  <fpizlo@apple.com>
3520
3521         Unreviewed, revert accidental unreviewed commit.
3522
3523         * Scripts/display-profiler-output:
3524
3525 2016-01-20  Jason Marcell  <jmarcell@apple.com>
3526
3527         Refactor compareIterations to remove duplicate code.
3528         https://bugs.webkit.org/show_bug.cgi?id=152913
3529
3530         Reviewed by Daniel Bates.
3531
3532         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3533         (BuildbotQueue.prototype.compareIterations): Refactored to remove duplicate code.
3534         (BuildbotQueue.prototype.sortIterations): Add binding to call to compareIterations.
3535         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests in order to ensure
3536         the same behavior before and after refactor.
3537
3538 2016-01-20  Dana Burkart  <dburkart@apple.com>
3539
3540         Botwatcher's dashboard should show an 'X' when the build is broken
3541         https://bugs.webkit.org/show_bug.cgi?id=152507
3542
3543         Reviewed by David Kilzer.
3544
3545         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
3546         (BuildbotStaticAnalyzerQueueView.prototype.appendStaticAnalyzerQueueStatus):
3547         (BuildbotStaticAnalyzerQueueView.prototype.update):
3548
3549 2016-01-19  Jason Marcell  <jmarcell@apple.com>
3550
3551         Remove assertion from revisionContentForIteration that is causing errors on the dashboard.
3552         https://bugs.webkit.org/show_bug.cgi?id=153262
3553
3554         Reviewed by Alexey Proskuryakov.
3555
3556         Occasionaly some buildbot iterations will not have their "got_revisions" property populated. In
3557         such cases this revisionContentForIteration method does not have any content to return, thus the
3558         assertion fails.
3559
3560         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3561         (BuildbotQueueView.prototype.revisionContentForIteration): Removed assertion that was causing errors.
3562
3563 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3564
3565         [GTK] Runtime critical warnings when loading a URL after a session restore
3566         https://bugs.webkit.org/show_bug.cgi?id=153233
3567
3568         Reviewed by Michael Catanzaro.
3569
3570         Add new test case.
3571
3572         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
3573         (viewLoadChanged):
3574         (testWebKitWebViewNavigationAfterSessionRestore):
3575         (beforeAll):
3576
3577 2016-01-19  Michael Catanzaro  <mcatanzaro@igalia.com>
3578
3579         [GTK] Remove jhbuild-optional.modules
3580         https://bugs.webkit.org/show_bug.cgi?id=152964
3581
3582         Reviewed by Alex Christensen.
3583
3584         * gtk/jhbuild-optional.modules: Removed.
3585         * gtk/jhbuild.modules:
3586
3587 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3588
3589         [GTK] Add support to load/save session in MiniBrowser
3590         https://bugs.webkit.org/show_bug.cgi?id=153201
3591
3592         Reviewed by Michael Catanzaro.
3593
3594         It makes it easier to test the new WebView session API.
3595
3596         * MiniBrowser/gtk/BrowserWindow.c:
3597         (browserWindowFinalize): Free the session file path.
3598         (browserWindowSaveSession): Save the current WebView session if
3599         there's a session file path.
3600         (browserWindowDeleteEvent): Call browserWindowSaveSession().
3601         (browser_window_load_session): Try to load the session from the
3602         given file path, otherwise fall back to homepage and keep the
3603         session file to save the session on window close.
3604         * MiniBrowser/gtk/BrowserWindow.h:
3605         * MiniBrowser/gtk/main.c:
3606         (createBrowserWindow): Pass the given session file path when
3607         shouldLoadSession is TRUE.
3608         (main): Only allow to restore/save session when MiniBrowser is
3609         launched without URL arguments.
3610
3611 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3612
3613         Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/geolocation-permission-requests after r195075.
3614
3615         Geolocation is no longer allowed for unique origins after r195075.
3616
3617         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3618         (testWebViewGeolocationPermissionRequests):
3619
3620 2016-01-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3621
3622         [GTK][EFL] Layout tests abort with PulseAudioSanitizer instance has no attribute '_pa_module_index' when the build is not ready.
3623         https://bugs.webkit.org/show_bug.cgi?id=153216
3624
3625         Reviewed by Michael Catanzaro.
3626
3627         * Scripts/webkitpy/port/pulseaudio_sanitizer.py:
3628         (PulseAudioSanitizer.__init__): initialize _pa_module_index in the constructor.
3629
3630 2016-01-18  Nan Wang  <n_wang@apple.com>
3631
3632         AX: [Mac] Implement next/previous text marker functions using TextIterator
3633         https://bugs.webkit.org/show_bug.cgi?id=152728
3634
3635         Reviewed by Chris Fleizach.
3636
3637         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3638         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
3639
3640 2016-01-18  Csaba Osztrogonác  <ossy@webkit.org>
3641
3642         [cmake] Add testair to the build system
3643         https://bugs.webkit.org/show_bug.cgi?id=153126
3644
3645         Reviewed by Michael Catanzaro.
3646
3647         * Scripts/build-jsc:
3648
3649 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
3650
3651         Remove TextRun::allowsRoundingHacks()
3652         https://bugs.webkit.org/show_bug.cgi?id=153185
3653
3654         Reviewed by Simon Fraser.
3655
3656         * DumpRenderTree/mac/DumpRenderTree.mm:
3657         (resetWebViewToConsistentStateBeforeTesting): Deleted.
3658
3659 2016-01-15  Konstantin Tokarev  <annulen@yandex.ru>
3660
3661         [webkitdirs] Avoid list form of open because it broke WinCairo
3662         https://bugs.webkit.org/show_bug.cgi?id=153106
3663
3664         Reviewed by Alex Christensen.
3665
3666         * Scripts/webkitdirs.pm:
3667         (determineArchitecture):
3668
3669 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
3670
3671         Add kdebug_trace signposts for a few WebCore operations
3672         https://bugs.webkit.org/show_bug.cgi?id=153136
3673         rdar://problem/24208487
3674
3675         Reviewed by Sam Weinig.
3676         
3677         Plist used by kdebug_trace() viewing tools.
3678
3679         * Tracing/SystemTracePoints.plist: Added.
3680
3681 2016-01-14  Konstantin Tokarev  <annulen@yandex.ru>
3682
3683         [webkitdirs] Replaced grep invocation with perl code
3684         https://bugs.webkit.org/show_bug.cgi?id=153106
3685
3686         Reviewed by Alex Christensen.
3687
3688         * Scripts/webkitdirs.pm:
3689         (determineArchitecture):
3690
3691 2016-01-14  Brian Burg  <bburg@apple.com>
3692
3693         prepare-changelog does not read paths containing spaces properly
3694         https://bugs.webkit.org/show_bug.cgi?id=137982
3695
3696         Reviewed by Joseph Pecoraro.
3697
3698         Escape whitespace in filenames before passing the file path to other functions.
3699
3700         * Scripts/prepare-ChangeLog:
3701         (generateFunctionLists): Use the more explicit 3-argument form of 'open'.
3702
3703 2016-01-14  Jason Marcell  <jmarcell@apple.com>
3704
3705         Standardize the usage of "branch" vs. "branchName".
3706         https://bugs.webkit.org/show_bug.cgi?id=152982
3707
3708         Reviewed by Daniel Bates.
3709
3710         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
3711         "branchName" implies that the variable or property in question is simply a string.
3712
3713         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3714         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branch to branchName.
3715         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Change branch to branch.name.
3716         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Change branch to branchName.
3717         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3718         (Trac.prototype.commitsOnBranch): Change branch to branchName.
3719         (Trac.prototype._convertCommitInfoElementToObject): Ditto.
3720         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
3721         (MockTrac): Ditto.
3722
3723 2016-01-14  Jason Marcell  <jmarcell@apple.com>
3724
3725         Add a unit test to test BuildbotQueueView._appendPendingRevisionCount.
3726         https://bugs.webkit.org/show_bug.cgi?id=152910
3727
3728         Reviewed by Daniel Bates.
3729
3730         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js: Added.
3731         (MockBuildbotQueue): Added. Mock BuildbotQueue object that doesn't need to talk to an actual Buildbot server.
3732         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js: Added.