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