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