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