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