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