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