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