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