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