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