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