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