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