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