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