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