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