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