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