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