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