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