JSC Stress Test failing: jsair-tests.yaml/test.js.ftl-eager-no-cjit
[WebKit-https.git] / Tools / ChangeLog
1 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2
3         JSC Stress Test failing: jsair-tests.yaml/test.js.ftl-eager-no-cjit
4         https://bugs.webkit.org/show_bug.cgi?id=158571
5
6         Reviewed by Keith Miller.
7         
8         Unskip the JSAir test.
9
10         * Scripts/run-javascriptcore-tests:
11         (runJSCStressTests):
12
13 2016-06-10  Sam Weinig  <sam@webkit.org>
14
15         Re-disable the UserMedia tests which are timing out.
16
17         They used to be accidentally disabled, due to not including
18         the FeatureDefines correctly, but not we explicitly disable it.
19
20         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
21         (TestWebKitAPI::TEST):
22
23 2016-06-10  Alex Christensen  <achristensen@webkit.org>
24
25         Introduce WTF::UniqueRef
26         https://bugs.webkit.org/show_bug.cgi?id=158596
27
28         Reviewed by Brady Eidson.
29
30         * TestWebKitAPI/CMakeLists.txt:
31         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
32         * TestWebKitAPI/Tests/WTF/UniqueRef.cpp: Added.
33         (TestWebKitAPI::B::B):
34         (TestWebKitAPI::C::C):
35         (TestWebKitAPI::function):
36         (TestWebKitAPI::TEST):
37
38 2016-06-10  Sam Weinig  <sam@webkit.org>
39
40         Refactor TestWebKitAPI to allow just testing WTF
41         https://bugs.webkit.org/show_bug.cgi?id=158625
42
43         Reviewed by Tim Horton.
44
45         Extract all the WTF tests into a new target to allow a faster build / test / fix
46         cycle when working on WTF bugs and features.
47         
48         By calling `run-api-tests --wtf-only`, you don't need to have a build of JavaScriptCore/WebCore/etc
49         to test WTF only changes.
50
51         * Scripts/build-api-tests:
52         * Scripts/run-api-tests:
53         (buildTestTool):
54         (testToolPaths):
55         Add new options to build-api-tests and run-api-tests to only build/run the WTF test runner.
56
57         * TestWebKitAPI/CMakeLists.txt:
58         * TestWebKitAPI/Configurations/TestWTF.xcconfig: Added.
59         * TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig: Added.
60         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
61         Add two new targets, TestWTFLibrary which contains all the WTF tests, and TestWTF,
62         the test runner that runs the WTF tests.
63     
64         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
65         Use Utilities.h rather than PlatformUtilities.h.
66
67         * TestWebKitAPI/Utilities.h: Added.
68         * TestWebKitAPI/PlatformUtilities.h:
69         * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm:
70         * TestWebKitAPI/cocoa/UtilitiesCocoa.mm: Added.
71         Move the sleep and run functions into a new Utilities.h/cpp file. This file contains utilities
72         that don't depend on anything in the WebKit project. 
73
74 2016-06-10  Brady Eidson  <beidson@apple.com>
75
76         REGRESSION(r201928?) API test WTF.StringOperators failing
77         https://bugs.webkit.org/show_bug.cgi?id=158623
78
79         Unreviewed, but buddy coded with Alex Christensen.
80
81         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
82         (TestWebKitAPI::LifetimeLogger::fullName): Only one file in all of TestWebKitAPI is allowed
83           to use string concatenation, otherwise the linker will mess up on the symbol related to
84           this bizarre WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING macro expansion.
85
86 2016-06-10  Brady Eidson  <beidson@apple.com>
87
88         WTF_CrossThreadTask.Basic fails in all non mac ports.
89         https://bugs.webkit.org/show_bug.cgi?id=158612
90
91         Reviewed by Alex Christensen.
92
93         The test is very sensitive to argument evaluation order which is explicitly undefined in C++.
94         
95         Instead, we should just count the appropriate events to forget their order.
96         
97         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
98         (TestWebKitAPI::LifetimeLogger::LifetimeLogger):
99         (TestWebKitAPI::LifetimeLogger::~LifetimeLogger):
100         (TestWebKitAPI::LifetimeLogger::isolatedCopy):
101         (TestWebKitAPI::LifetimeLogger::fullName):
102         (TestWebKitAPI::testFunction):
103         (TestWebKitAPI::TEST):
104         (TestWebKitAPI::LifetimeLogger::log): Deleted.
105         (TestWebKitAPI::LifetimeLogger::takeLogStr): Deleted.
106
107 2016-06-09  Alex Christensen  <achristensen@webkit.org>
108
109         Clean up Tools *.vcxproj after switching to CMake.
110
111         * DumpRenderTree/DumpRenderTree.sln: Removed.
112         * DumpRenderTree/DumpRenderTree.vcxproj: Removed.
113         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin: Removed.
114         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
115         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
116         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/resource.h: Removed.
117         * DumpRenderTree/PlatformWin.cmake:
118         * DumpRenderTree/win/TestNetscapePlugin.def: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def.
119         * DumpRenderTree/win/TestNetscapePlugin.rc: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.rc.
120         * DumpRenderTree/win/resource.h: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/resource.h.
121         * MiniBrowser/MiniBrowser.vcxproj: Removed.
122         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico: Removed.
123         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc: Removed.
124         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Removed.
125         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Removed.
126         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h: Removed.
127         * MiniBrowser/MiniBrowser.vcxproj/small.ico: Removed.
128         * MiniBrowser/win/CMakeLists.txt:
129         * MiniBrowser/win/MiniBrowser.ico: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico.
130         * MiniBrowser/win/MiniBrowser.rc: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc.
131         * MiniBrowser/win/MiniBrowserLib.rc: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc.
132         * MiniBrowser/win/MiniBrowserLibResource.h: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h.
133         * MiniBrowser/win/MiniBrowserResource.h: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h.
134         * MiniBrowser/win/small.ico: Copied from MiniBrowser/MiniBrowser.vcxproj/small.ico.
135         * WebKitTestRunner/WebKitTestRunner.sln: Removed.
136         * win/DLLLauncher/DLLLauncherWinCairo.props: Removed.
137
138 2016-06-09  Zalan Bujtas  <zalan@apple.com>
139
140         Add testing support for 3x device scale factor.
141         https://bugs.webkit.org/show_bug.cgi?id=158597
142
143         Reviewed by Simon Fraser.
144
145         Set 3x device scale factor on the test canvas when the test url is prefixed with hidpi-3x-. 
146
147         * DumpRenderTree/mac/DumpRenderTree.mm:
148         (changeWindowScaleIfNeeded):
149         * WebKitTestRunner/TestController.cpp:
150         (WTR::TestController::updateWindowScaleForTest):
151         * WebKitTestRunner/TestOptions.cpp:
152         (WTR::deviceScaleFactorForTest):
153         (WTR::TestOptions::TestOptions):
154         (WTR::isHiDPITestPath): Deleted.
155         * WebKitTestRunner/TestOptions.h:
156
157 2016-06-09  Michael Catanzaro  <mcatanzaro@igalia.com>
158
159         Add comments to clarify feature enablement
160         https://bugs.webkit.org/show_bug.cgi?id=158567
161
162         Reviewed by Alex Christensen.
163
164         * Scripts/webkitperl/FeatureList.pm:
165
166 2016-06-09  Filip Pizlo  <fpizlo@apple.com>
167
168         Unreviewed, skip jsair tests while we figure out the debug timeouts.
169
170         * Scripts/run-javascriptcore-tests:
171         (runJSCStressTests):
172
173 2016-06-09  Commit Queue  <commit-queue@webkit.org>
174
175         Unreviewed, rolling out r201815.
176         https://bugs.webkit.org/show_bug.cgi?id=158570
177
178         This broke the cmake build. (Requested by lforschler on
179         #webkit).
180
181         Reverted changeset:
182
183         "Teach cmake about libWebKitSystemInterfaceOSX10.12"
184         http://trac.webkit.org/changeset/201815
185
186 2016-06-09  Brady Eidson  <beidson@apple.com>
187
188         Greatly simplify CrossThreadTask.h.
189         https://bugs.webkit.org/show_bug.cgi?id=158542
190
191         Reviewed by Darin Adler.
192
193         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
194         (TestWebKitAPI::TEST):
195
196 2016-06-09  Chris Dumez  <cdumez@apple.com>
197
198         Unreviewed, rolling out r201836, r201845, and r201848.
199
200         Looks like a 1-2% PLT regression on iOS
201
202         Reverted changesets:
203
204         "[JSC] Change some parameters based on a random search"
205         https://bugs.webkit.org/show_bug.cgi?id=158514
206         http://trac.webkit.org/changeset/201836
207
208         "Tempory fix for the debug bots"
209         http://trac.webkit.org/changeset/201845
210
211         "Change thresholdForOptimizeSoon to match
212         thresholdForOptimizeAfterWarmUp"
213         http://trac.webkit.org/changeset/201848
214
215 2016-06-09  Michael Saboff  <msaboff@apple.com>
216
217         WebKitTestRunner and DumpRenderTree do not handle dangling surrogate characters
218         https://bugs.webkit.org/show_bug.cgi?id=154863
219
220         Reviewed by Alexey Proskuryakov.
221
222         Added a non-strict verions of WKStringGetUTF8CString() that will handle dangling
223         surrogates.  Changed the extraction of inner text from frames in DumpRenderTree
224         to use the new WKStringGetUTF8CStringNonStrict() function instead of NSString
225         conversion since NSString doesn't have a way to handle dangling surrogates.
226         The code added in DumpRenderTree matches what was changed in WebKitTestRunner.
227
228         * DumpRenderTree/mac/DumpRenderTree.mm:
229         (dumpFramesAsText):
230         * WebKitTestRunner/StringFunctions.h:
231         (WTR::toWTFString):
232
233 2016-06-08  Hunseop Jeong  <hs85.jeong@samsung.com>
234
235         Try to fix the EFL build. 
236
237         Unreviewed. 
238
239         * TestWebKitAPI/CMakeLists.txt:
240
241 2016-06-08  Alex Christensen  <achristensen@webkit.org>
242
243        Fix WinCairo build
244
245         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
246
247 2016-06-08  Alex Christensen  <achristensen@webkit.org>
248
249         Fix WinCairo build
250
251         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
252         (BitmapContext::createByAdoptingBitmapAndContext):
253         (BitmapContext::~BitmapContext):
254
255 2016-06-08  Benjamin Poulain  <benjamin@webkit.org>
256
257         [JSC] Change some parameters based on a random search
258         https://bugs.webkit.org/show_bug.cgi?id=158514
259
260         Reviewed by Filip Pizlo.
261
262         * Scripts/run-jsc-stress-tests:
263
264 2016-06-08  Aakash Jain  <aakash_jain@apple.com>
265
266         tests fail if display sleeps while run-webkit-tests is running
267         https://bugs.webkit.org/show_bug.cgi?id=153919
268
269         Reviewed by Alexey Proskuryakov.
270
271         * DumpRenderTree/mac/LayoutTestHelper.m:
272         (releaseSleepAssertions): Release both Display sleep and System sleep assertions.
273         (addSleepAssertions): Add sleep assertion for both Display sleep and System sleep.
274
275 2016-06-08  Lucas Forschler  <lforschler@apple.com>
276
277         Reverted changeset 201814.
278
279         * Scripts/copy-webkitlibraries-to-product-directory:
280
281 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
282
283         [Win] Shadow DOM tests are failing.
284         https://bugs.webkit.org/show_bug.cgi?id=158524
285
286         Reviewed by Brent Fulgham.
287
288         Enable Shadow DOM when running tests.
289
290         * DumpRenderTree/win/DumpRenderTree.cpp:
291         (resetWebPreferencesToConsistentValues):
292
293 2016-06-08  Lucas Forschler  <lforschler@apple.com>
294
295         Teach cmake about libWebKitSystemInterfaceOSX10.12
296         This patch also removes duplicated logic inside DumpRenderTree/PlatformMac.cmake
297
298         Rubber-stamped by Alex Christensen.
299  
300         * DumpRenderTree/PlatformMac.cmake:
301         * WebKitTestRunner/PlatformMac.cmake:
302
303 2016-06-07  Lucas Forschler  <lforschler@apple.com>
304
305         <rdar://problem/26685782>
306         Teach the copy-webkitlibraries-to-product-directory script about WebKitSystemInterfaceOSX10.12
307
308         Rubber-stamped by Jessie Berlin.
309
310         * Scripts/copy-webkitlibraries-to-product-directory:
311
312 2016-06-08  Aakash Jain  <aakash_jain@apple.com>
313
314         Don't try to cleanup non-existing ios Simulators
315         https://bugs.webkit.org/show_bug.cgi?id=158510
316
317         Reviewed by Alexey Proskuryakov.
318
319         * Scripts/webkitpy/port/ios.py:
320         (IOSSimulatorPort.clean_up_test_run): 
321         Check if simulator exists before trying to clean it up.
322
323 2016-06-08  Brady Eidson  <beidson@apple.com>
324
325         Try to fix the Windows build.
326
327         Unreviewed.
328
329         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
330         (TestWebKitAPI::LifetimeLogger::log):
331         (TestWebKitAPI::LifetimeLogger::takeLogStr):
332         (TestWebKitAPI::testFunction):
333         (TestWebKitAPI::TEST):
334         (TestWebKitAPI::log): Deleted. (VS was seeing it as a dupe symbol)
335         (TestWebKitAPI::takeLogStr): Deleted. (VS was seeing it as a dupe symbol)
336
337 2016-06-08  Brady Eidson  <beidson@apple.com>
338
339         Make CrossThreadCopier more efficient (fewer copies!).
340         https://bugs.webkit.org/show_bug.cgi?id=158456
341
342         Reviewed by Alex Christensen.
343
344         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
345         (TestWebKitAPI::TEST):
346
347 2016-06-07  Filip Pizlo  <fpizlo@apple.com>
348
349         Add result validation to JSAir
350         https://bugs.webkit.org/show_bug.cgi?id=158493
351
352         Reviewed by Saam Barati.
353         
354         Run JSAir.
355
356         * Scripts/run-javascriptcore-tests:
357         (runJSCStressTests):
358
359 2016-06-08  Brady Eidson  <beidson@apple.com>
360
361         Add an API test that confirms object constructor/destructor calls during creation of a CrossThreadTask.
362         https://bugs.webkit.org/show_bug.cgi?id=158528
363
364         Reviewed by Alex Christensen.
365
366         * TestWebKitAPI/CMakeLists.txt:
367         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
368         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp: Added.
369         (TestWebKitAPI::log):
370         (TestWebKitAPI::takeLogStr):
371         (TestWebKitAPI::LifetimeLogger::LifetimeLogger):
372         (TestWebKitAPI::LifetimeLogger::~LifetimeLogger):
373         (TestWebKitAPI::LifetimeLogger::isolatedCopy):
374         (TestWebKitAPI::testFunction):
375         (TestWebKitAPI::TEST):
376
377 2016-06-08  Konstantin Tokarev  <annulen@yandex.ru>
378
379         TestWebKitAPI: Removed redunandant check PLATFORM(GTK) && !defined(BUILDING_WEBKIT2__)
380         https://bugs.webkit.org/show_bug.cgi?id=158521
381
382         Reviewed by Carlos Garcia Campos.
383
384         * TestWebKitAPI/config.h:
385
386 2016-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
387
388         [GTK] Use a longer timeout for glib unit tests
389         https://bugs.webkit.org/show_bug.cgi?id=158476
390
391         Reviewed by Darin Adler.
392
393         The timeout is supposed to be per test case, but in the case of GLib tests it affects all the tests cases of the
394         same test program. Some test programs like TestLoaderClient, that have a lot of test cases, often time out in
395         the bots because the timeout is not enough to run all the tests cases. So, we should use a longer timeout for
396         GLib tests.
397
398         * Scripts/run-gtk-tests:
399         (TestRunner._run_test_glib):
400
401 2016-06-07  Keith Rollin  <krollin@apple.com>
402
403         Remove all uses of PassRefPtr in WTF
404         https://bugs.webkit.org/show_bug.cgi?id=157596
405         <rdar://problem/26234391>
406
407         Reviewed by Chris Dumez.
408
409         Update calls to interfaces that no longer take or return PassRefPtrs.
410
411         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
412         (TestWebKitAPI::stringFromUTF8):
413         (TestWebKitAPI::TEST):
414
415 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
416
417         [Win] Imported markup insertion test is failing.
418         https://bugs.webkit.org/show_bug.cgi?id=158477
419
420         Reviewed by Darin Adler.
421
422         Make sure the empty synchronous request is loaded after each test.
423
424         * DumpRenderTree/win/DumpRenderTree.cpp:
425         (runTest):
426
427 2016-06-06  Carlos Alberto Lopez Perez  <clopez@igalia.com>
428
429         REGRESSION(r201449) [GTK] ARMv7 build fails with libicudata.so.55: cannot open shared object file on gtkdoc-scangobj step.
430         https://bugs.webkit.org/show_bug.cgi?id=158417
431
432         Reviewed by Michael Catanzaro.
433
434         The toolchain on armhf (ARMv7) seems unable to properly handle
435         a shared library that doesn't link with anything.
436
437         And libicudata is built by default in this way because it only
438         contains static data.
439
440         That makes icu unusable on armhf because the linker will be
441         unable to resolve the libicudata dependencies.
442
443         Most (if not all) distributions workaround this by linking
444         libicudata with libc6, which is already a needed dependency for
445         any of the other icu shared libraries.
446
447         So import here the Debian patch fixing this issue. For further
448         details check https://bugs.debian.org/653457
449
450         * gtk/jhbuild.modules:
451         * gtk/patches/icudata-stdlibs.patch: Added.
452
453 2016-06-06  Per Arne Vollan  <pvollan@apple.com>
454
455         REGRESSION (r104174): 500+ tests failing on Windows
456         https://bugs.webkit.org/show_bug.cgi?id=75965
457
458         Reviewed by Michael Catanzaro.
459
460         Reset WebView scale factors before running next test.
461
462         * DumpRenderTree/win/DumpRenderTree.cpp:
463         (resetWebViewToConsistentStateBeforeTesting):
464
465 2016-06-04  Alexey Proskuryakov  <ap@apple.com>
466
467         REGRESSION (r201263): Some tests have become flaky timeouts.
468         https://bugs.webkit.org/show_bug.cgi?id=157990
469
470         Reviewed by Darin Adler.
471
472         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
473         It is somewhat legitimate for WebContent to not respond to messages after the test
474         is done; it can be e.g. re-doing a costly repaint. So, we should restart is silently,
475         without making the current test fail.
476
477 2016-06-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
478
479         [GTK] Update YouCompleteMe script to make all include paths absolute
480         https://bugs.webkit.org/show_bug.cgi?id=158301
481
482         Reviewed by Michael Catanzaro.
483
484         Before this patch, some include paths were not made absolute.
485         This could make YouCompleteMe plugin to fail extracting information or validating cpp files.
486
487         * gtk/ycm_extra_conf.py:
488
489 2016-06-03  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
490
491         Unreviewed: add myself to the committers list.
492
493         * Scripts/webkitpy/common/config/contributors.json:
494
495 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
496
497         [Win] Fetch API tests are failing.
498         https://bugs.webkit.org/show_bug.cgi?id=158296
499
500         Reviewed by Alex Christensen.
501
502         Enable Fetch API when running tests.
503
504         * DumpRenderTree/win/DumpRenderTree.cpp:
505         (resetWebPreferencesToConsistentValues):
506
507 2016-06-02  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
508
509         Really display failing JSC stress tests in buildbot dashboard
510         https://bugs.webkit.org/show_bug.cgi?id=158324
511
512         Reviewed by Alexey Proskuryakov.
513
514         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
515         (BuildbotCombinedQueueView.prototype.update): Correctly check for string membership in array.
516         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
517         (BuildbotIteration.prototype._parseData): Correctly check for string membership in array.
518         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
519         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions): Correctly check for string
520         membership in array.
521         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions): Ensure that the correct URL is
522         generated after the first time.
523         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
524         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Correctly check for string membership in array.
525
526 2016-06-02  Michael Saboff  <msaboff@apple.com>
527
528         [iOS]: Some JSC stress tests fail running out of executable memory when the LLInt is disabled
529         https://bugs.webkit.org/show_bug.cgi?id=158317
530
531         Reviewed by Saam Barati.
532
533         Added defaultNoNoLLIntRun variant to run the default tests with the exception of the no-llint
534         variant.
535
536         * Scripts/run-jsc-stress-tests:
537
538 2016-06-02  Aakash Jain  <aakash_jain@apple.com>
539
540         LayoutTests time out intermittently due to alert about reopening Simulator after it unexpectedly quit
541         https://bugs.webkit.org/show_bug.cgi?id=158305
542
543         Reviewed by Alexey Proskuryakov.
544
545         * Scripts/webkitpy/port/ios.py:
546         (IOSSimulatorPort.clean_up_test_run): Delete simulator's savedState directories during cleanup.
547
548 2016-06-01  Brian Burg  <bburg@apple.com>
549
550         REGRESSION(r191907): Can't enter combining diacritic marks in Web Inspector fields
551         https://bugs.webkit.org/show_bug.cgi?id=158227
552         <rdar://problem/26232464>
553
554         Reviewed by Alexey Proskuryakov.
555
556         Add a regression test that runs on Mac only.
557
558         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
559         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm: Added.
560         (-[DummyNavigationDelegate webView:didFinishNavigation:]):
561         (TEST):
562         * TestWebKitAPI/Tests/WebKit2Cocoa/editable-body.html: Added.
563
564 2016-06-01  Chris Fleizach  <cfleizach@apple.com>
565
566         AX: iOS: VoiceOver can't access attachments in mail messages
567         https://bugs.webkit.org/show_bug.cgi?id=158198
568
569         Reviewed by Joanmarie Diggs.
570
571         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
572         (AccessibilityUIElement::stringForRange):
573         (AccessibilityUIElement::attributedStringForRange):
574         (AccessibilityUIElement::attributedStringRangeIsMisspelled):
575         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
576         (WTR::AccessibilityUIElement::attributedStringForRange):
577         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
578
579 2016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
580
581         Unreviewed. Mark GTK+ test /webkit2/WebKitWebInspectorServer/test-open-debugging-session as slow.
582
583         It's timing out in the bots, but it seems to pass when running run-gtk-tests with no timeout. For GLib tests the
584         timeout is applied per tester program not per test case, so we need to mark the whole test
585         WebKit2Gtk/TestInspectorServer as slow.
586
587         * Scripts/run-gtk-tests:
588         (TestRunner):
589         (TestRunner._run_test_glib):
590
591 2016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
592
593         Unreviewed. Skip media permission request GTK+ unit tests.
594
595         They are timing out in the bots.
596
597         * Scripts/run-gtk-tests:
598         (TestRunner):
599
600 2016-05-31  Jer Noble  <jer.noble@apple.com>
601
602         Yet another unreviewed build fix; move the closing brace of the namespace declaration inside
603         the #if check.
604
605         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
606
607 2016-05-31  Jer Noble  <jer.noble@apple.com>
608
609         Further unreviewed build fix; only run FullscreenTopContentInset test on Mac.
610
611         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
612
613 2016-05-31  Jer Noble  <jer.noble@apple.com>
614
615         Unreviewed build fix; only run FullscreetTopContentInset test on platforms
616         where WK_API_ENABLED is set.
617
618         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
619
620 2016-05-31  Jer Noble  <jer.noble@apple.com>
621
622         REGRESSION (r201405): trailers.apple.com HUD is missing in fullscreen
623         https://bugs.webkit.org/show_bug.cgi?id=158156
624         <rdar://problem/26519589>
625
626         Reviewed by Darin Adler.
627
628         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
629         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html: Added.
630         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm: Added.
631         (-[FullscreenChangeMessageHandler userContentController:didReceiveScriptMessage:]):
632         (TestWebKitAPI::TEST):
633
634 2016-05-31  Jon Lee  <jonlee@apple.com>
635
636         Unreviewed: add myself to the reviewers list.
637
638         * Scripts/webkitpy/common/config/contributors.json:
639
640 2016-05-31  Carlos Alberto Lopez Perez  <clopez@igalia.com>
641
642         [GTK] Provide alternative mirror for the ICU tarball.
643         https://bugs.webkit.org/show_bug.cgi?id=154530
644
645         Unreviewed.
646
647         * gtk/jhbuild.modules: After r201449 the GTK+ ARM buildbot is having
648         a hard time trying to download the ICU tarball from download.icu-project.org
649         (which redirects to sourceforge and gives problems with something related to
650         SSL). Provide this alternative mirror to make things working back.
651
652 2016-05-31  Carlos Garcia Campos  <cgarcia@igalia.com>
653
654         [GTK] Test /webkit2/WebKitWebView/geolocation-permission-requests is failing since r201423
655         https://bugs.webkit.org/show_bug.cgi?id=158200
656
657         Reviewed by Philippe Normand.
658
659         This is because geolocation is no longer allowed for non secure sites, like HTTP. In that case
660         POSITION_UNAVAILABLE is returned without asking the API layer.
661
662         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
663         (testWebViewGeolocationPermissionRequests): Keep the HTTP case to check that it indeed returns
664         POSITION_UNAVAILABLE and use HTTPS URLs to check permission requests are allowed or denied. Also stop using the
665         document title, and use user script messages that are more reliable instead.
666
667 2016-05-28  Aakash Jain  <aakash_jain@apple.com>
668
669         tests fail if display sleeps while run-webkit-tests is running
670         https://bugs.webkit.org/show_bug.cgi?id=153919
671
672         Reviewed by Darin Adler.
673
674         * DumpRenderTree/mac/LayoutTestHelper.m:
675         (addDisplaySleepAssertion): Use PreventUserIdleSystemSleep flag, same as set by caffeinate tool.
676
677 2016-05-27  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
678
679         Display failing JSC stress tests in buildbot dashboard
680         https://bugs.webkit.org/show_bug.cgi?id=156595
681
682         Reviewed by Alexey Proskuryakov.
683
684         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
685         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration):
686         (Buildbot.prototype.javaScriptCoreTestStdioUrlForIteration):
687         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
688         (BuildbotCombinedQueueView.prototype.update):
689         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
690         (BuildbotIteration):
691         (BuildbotIteration.prototype._parseData):
692         (BuildbotIteration.prototype.loadLayoutTestResults):
693         (BuildbotIteration.prototype.):
694         (BuildbotIteration.prototype.loadJavaScriptCoreTestResults):
695         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
696         (BuildbotQueueView.prototype._createLoadingIndicator):
697         (BuildbotQueueView.prototype.):
698         (BuildbotQueueView.prototype._onPopoverCopy):
699         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions):
700         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions):
701         (BuildbotQueueView.prototype._addIterationHeadingToPopover):
702         (BuildbotQueueView.prototype._testStepFailureDescription):
703         (BuildbotQueueView.prototype._testStepFailureDescriptionWithCount):
704         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
705         (BuildbotTestResults.prototype.addJavaScriptCoreTestFailures):
706         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
707         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus):
708         (BuildbotTesterQueueView.prototype.update):
709         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
710         (BuildbotTesterQueueView.prototype._presentPopoverForLayoutTestRegressions):
711         (BuildbotTesterQueueView.prototype._testStepFailureDescription): Deleted.
712         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): Deleted.
713         (BuildbotTesterQueueView.prototype.): Deleted.
714         (BuildbotTesterQueueView.prototype.content.oncopy): Deleted.
715         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html:
716         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js.
717         (MockBuildbot):
718         (MockBuildbot.prototype.buildPageURLForIteration):
719         (MockBuildbot.prototype.javaScriptCoreTestFailuresURLForIteration):
720         (MockBuildbot.prototype.javaScriptCoreTestStdioUrlForIteration):
721         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js:
722         (MockBuildbotQueue):
723         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotTestResults.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js.
724         (MockBuildbotTestResults):
725         (MockBuildbotTestResults.prototype.addJavaScriptCoreTestFailures):
726         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-jsc-results.json: Added.
727         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js:
728
729 2016-05-27  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
730
731         Display failing JSC stress tests in buildbot dashboard
732         https://bugs.webkit.org/show_bug.cgi?id=156595
733
734         Reviewed by Alexey Proskuryakov.
735
736         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
737         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Generate the URL for raw JSON output of
738         JSC tests.
739         (Buildbot.prototype.javaScriptCoreTestStdioURLForIteration): Generate the URL for human-readable stdio output
740         of JSC tests.
741         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
742         (BuildbotCombinedQueueView.prototype.update): Display JSC test results in popover.
743         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
744         (BuildbotIteration): Add javaScriptCoreTestResults variable.
745         (BuildbotIteration.prototype.): Check for javascriptcore tests step.
746         (BuildbotIteration.prototype.loadLayoutTestResults): Add comma at closing brace.
747         (BuildbotIteration.prototype.loadJavaScriptCoreTestResults): Fetch JSON from Buildbot server.
748         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
749         (BuildbotQueueView.prototype._createLoadingIndicator): Reusable function.
750         (BuildbotQueueView.prototype._onPopoverCopy): Reusable copy event handler to allow accurate copying of text
751         from popovers.
752         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions): Generates the popover bubble's
753         inner HTML from the JSC failure data.
754         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions): Generate the popover bubble
755         for JSC results and handle request failures.
756         (BuildbotQueueView.prototype._testStepFailureDescription): Moved from subclass.
757         (BuildbotQueueView.prototype._testStepFailureDescriptionWithCount): Moved from subclass.
758         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
759         (BuildbotTestResults.prototype.addJavaScriptCoreTestFailures): Parse JSON into a list of failing tests.
760         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
761         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Instantiate PopoverTrackers for builds whose 
762         only failures are JSC tests.
763         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions): Use _onPopoverCopy.
764         (BuildbotTesterQueueView.prototype._presentPopoverForLayoutTestRegressions): Use _createLoadingIndicator.
765         (BuildbotTesterQueueView.prototype._testStepFailureDescription): Deleted. Moved to superclass.
766         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): Deleted. Moved to superclass.
767         (BuildbotTesterQueueView.prototype.content.oncopy): Deleted. Using superclass's reusable function as copy handler instead.
768         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Add new script files.
769         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js: Added.
770         (MockBuildbot): Mocked version of Buildbot, only containing URL methods.
771         (MockBuildbot.prototype.buildPageURLForIteration): Same as real Buildbot.js
772         (MockBuildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Points to local file containing JSON for test.
773         (MockBuildbot.prototype.javaScriptCoreTestStdioURLForIteration): Same as real Buildbot.js
774         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js:
775         (MockBuildbotQueue): Use a MockBuildbot() instead of a string.
776         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotTestResults.js: Added.
777         (MockBuildbotTestResults): Mocked version of BuildbotTestResults.
778         (MockBuildbotTestResults.prototype.addJavaScriptCoreTestFailures): Sets the 'regressions' variable.
779         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-jsc-results.json: Added.
780         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Add four groups of tests.
781
782 2016-05-27  Chris Dumez  <cdumez@apple.com>
783
784         WorkQueue::dispatch() / RunLoop::dispatch() should not copy captured lambda variables
785         https://bugs.webkit.org/show_bug.cgi?id=158111
786
787         Reviewed by Darin Adler.
788
789         WorkQueue::dispatch() / RunLoop::dispatch() should not copy captured lambda variables.
790         These are often used cross-thread and copying the captured lambda variables can be
791         dangerous (e.g. we do not want to copy a String after calling isolatedCopy() upon
792         capture).
793
794         * WebKitTestRunner/TestController.cpp:
795         (WTR::TestController::decidePolicyForNavigationAction):
796
797 2016-05-27  Brady Eidson  <beidson@apple.com>
798
799         Modern IDB: After closing a Netflix video, trying to watch it again fails.
800         <rdar://problem/25092473> and https://bugs.webkit.org/show_bug.cgi?id=158160
801
802         Reviewed by Alex Christensen.
803
804         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
805         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-1.html: Added.
806         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-2.html: Added.
807         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm: Added.
808
809 2016-05-27  Joanmarie Diggs  <jdiggs@igalia.com>
810
811         AX: [ATK] accessibility/gtk/no-notification-for-unrendered-iframe-children.html began failing after r201416
812         https://bugs.webkit.org/show_bug.cgi?id=158152
813
814         Reviewed by Chris Fleizach.
815
816         The failure is actually a bug fix because only one child is being added, but two
817         notifications were being emitted. Now there is only one notification. To verify
818         this was the case, we really should examine the child reportedly being added. That
819         child is the ATK event's any_data, so pass along that child to the listener.
820
821         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
822
823 2016-05-26  Alex Christensen  <achristensen@webkit.org>
824
825         Expose content extension failure error codes in SPI
826         https://bugs.webkit.org/show_bug.cgi?id=158095
827         rdar://problem/26475651
828
829         Reviewed by Anders Carlsson.
830
831         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
832         (checkDomain):
833         (TEST_F):
834         Add tests that use the new enum.
835
836 2016-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
837
838         New intl-numberformat.js test fails on many Linux platforms
839         https://bugs.webkit.org/show_bug.cgi?id=154530
840
841         Reviewed by Darin Adler.
842
843         The test is actually failing because of a bug in the icu version installed in the bots, using a newer version of
844         icu makes the tests pass and explains why it worked for some people. So, let's add icu 55.1 to the internal
845         jhbuild to ensure JSC tests pass in the bots no matter what the icu version installed is.
846
847         * gtk/jhbuild.modules:
848
849 2016-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
850
851         [JSC] Allow JSBench to use precise time
852         https://bugs.webkit.org/show_bug.cgi?id=158050
853
854         Reviewed by Geoffrey Garen.
855
856         JSBench use `new Date().getTime()` without options and there is no way to use precise time.
857         This patch modifies the JSBench code to inject the code taking the precise time.
858         `currentTimeInMS` is given by the benchmerk harness and JSBench uses it.
859         run-jsc-benchmark switches this function's implementation between `Date.now()` and
860         testRunner's precise time one.
861
862         While this patch modifies the code of JSBench, the last release of JSBench is Jan 2013 and
863         the contents are not changed for a long time. As described in the original paper[1], the
864         tests can be generated by using JSBench's record & replay system, but in that case, we can
865         adopt this modification by changing the tool side.
866
867         We also add currentTimeInMS implementation in harness.js and u?rem.js directly.
868         u?rem.js implementation is required when it is executed in u?rem.html without harness.
869         And harness.js implementation is required when it is executed in the JSBench's harness.
870         In these implementation, we follow the JetStream's time measuring function: performance.now(),
871         preciseTime(), or Date.now().
872
873         [1]: http://dl.acm.org/citation.cfm?id=2048119
874
875         * Scripts/run-jsc-benchmarks:
876
877 2016-05-26  Brent Fulgham  <bfulgham@apple.com>
878
879         Unreviewed test fix after r201427.
880         https://bugs.webkit.org/show_bug.cgi?id=157423
881         <rdar://problem/23751632>
882
883         A debug assertion was firing during some test runs due to the Geolocation permission
884         being turned off during the test. The timer logic was originally written to assert
885         if the timer fired when permissions were disabled. But this is no longer valid,
886         because we expect the Geolocation system to be active and become deactivated if the
887         browsing context violates one of the security criteria.
888
889         * DumpRenderTree/mac/UIDelegate.mm:
890         (-[UIDelegate timerFired]): Remove invalid assertion.
891
892 2016-05-26  Filip Pizlo  <fpizlo@apple.com>
893
894         ScopedLambda should have a lifetime story that makes sense to the compiler
895         https://bugs.webkit.org/show_bug.cgi?id=158118
896
897         Reviewed by Mark Lam.
898         
899         Added a test case. This test crashes before the fix and now it passes.
900
901         * TestWebKitAPI/CMakeLists.txt:
902         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
903         * TestWebKitAPI/Tests/WTF/ScopedLambda.cpp: Added.
904         (TestWebKitAPI::TEST):
905
906 2016-05-26  Myles C. Maxfield  <mmaxfield@apple.com>
907
908         Build fix
909
910         Rubber stamped by Lucas Forschler.
911
912         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
913         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
914
915 2016-05-25  Anders Carlsson  <andersca@apple.com>
916
917         Get rid of WTF/Functional.h
918         https://bugs.webkit.org/show_bug.cgi?id=158081
919
920         Reviewed by Chris Dumez.
921
922         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
923         * TestWebKitAPI/Tests/WTF/Functional.cpp: Removed.
924         (TestWebKitAPI::returnFortyTwo): Deleted.
925         (TestWebKitAPI::TEST): Deleted.
926         (TestWebKitAPI::multiplyByTwo): Deleted.
927         (TestWebKitAPI::multiplyByOneAndAHalf): Deleted.
928         (TestWebKitAPI::multiply): Deleted.
929         (TestWebKitAPI::subtract): Deleted.
930         (TestWebKitAPI::A::A): Deleted.
931         (TestWebKitAPI::A::f): Deleted.
932         (TestWebKitAPI::A::addF): Deleted.
933         (TestWebKitAPI::B::B): Deleted.
934         (TestWebKitAPI::B::~B): Deleted.
935         (TestWebKitAPI::B::ref): Deleted.
936         (TestWebKitAPI::B::deref): Deleted.
937         (TestWebKitAPI::B::f): Deleted.
938         (TestWebKitAPI::B::g): Deleted.
939         (TestWebKitAPI::Number::create): Deleted.
940         (TestWebKitAPI::Number::~Number): Deleted.
941         (TestWebKitAPI::Number::value): Deleted.
942         (TestWebKitAPI::Number::Number): Deleted.
943         (TestWebKitAPI::multiplyNumberByTwo): Deleted.
944
945 2016-05-25  Daniel Bates  <dabates@apple.com> and Brent Fulgham  <bfulgham@apple.com>
946
947         [WebSockets] No infrastructure for testing secure web sockets (wss)
948         https://bugs.webkit.org/show_bug.cgi?id=157884
949         <rdar://problem/26477197>
950
951         Reviewed by Andy Estes.
952
953         Add support to webkitpy to start and stop a secure Web Socket server running on port 9323
954         using the certificate, private-key from file LayoutTests/http/conf/webkit-httpd.pem. Also
955         teaches run-webkit-httpd to start and stop the Web Socket servers.
956
957         Modify DumpRenderTree and WebKitTestRunner to understand a new testRunner method,
958         'setAllowsAnySSLCertificate', which allows us to use the same self-signed test certificate
959         we do for our HTTPS tests.
960         
961         * DumpRenderTree/TestRunner.cpp:
962         (setAllowsAnySSLCertificateCallback):
963         (TestRunner::setAllowsAnySSLCertificate):
964         * DumpRenderTree/TestRunner.h:
965         * DumpRenderTree/mac/DumpRenderTree.mm:
966         (resetWebViewToConsistentStateBeforeTesting): Make sure we turn off the new flag between tests.
967         * Scripts/run-webkit-httpd:
968         (main): Start the websocket server at launch.
969         * Scripts/webkitpy/layout_tests/controllers/manager.py:
970         (Manager.__init__): Remove dead code.
971         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
972         (PyWebSocket.__init__): Cleanup code.
973         (PyWebSocket): Pass '--tls-client-ca' to start command.
974         (PyWebSocket._prepare_config): Cleanups.
975         * Scripts/webkitpy/port/base.py:
976         (Port.to.start_http_server):
977         (Port.to):
978         (Port.to._extract_certificate_from_pem): Added.
979         (Port.to._extract_private_key_from_pem): Added.
980         (Port.to.start_websocket_server): Start secure socket server.
981         (Port.to.stop_websocket_server): Stop secure socket server.
982         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Add new API.
983         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
984         (WTR::InjectedBundle::setAllowsAnySSLCertificate): Added.
985         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
986         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
987         (WTR::TestRunner::setAllowsAnySSLCertificate): Added.
988         * WebKitTestRunner/InjectedBundle/TestRunner.h:
989
990 2016-05-25  Keith Miller  <keith_miller@apple.com>
991
992         run-jsc-benchmarks should use the new JSBench rather than look for it in the config file.
993         https://bugs.webkit.org/show_bug.cgi?id=158077
994
995         Reviewed by Mark Lam.
996
997         Since we didn't have JSBench in the tree before we needed to lookup the path to it from
998         benchmark config file. That's no longer the case so we should just fix it in the script.
999
1000         * Scripts/run-jsc-benchmarks:
1001
1002 2016-05-24  Aakash Jain  <aakash_jain@apple.com>
1003
1004         Reorganize dashboard code: move code from _timeIntervalString to base class
1005         https://bugs.webkit.org/show_bug.cgi?id=158047
1006         rdar://problem/26457274
1007
1008         Reviewed by Alexey Proskuryakov and Dean Johnson.
1009
1010         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
1011         (BubbleQueueView.prototype._timeIntervalString): Moved core logic to base class so as to make it re-usable.
1012         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
1013         (QueueView.prototype._readableTimeString): Same.
1014
1015 2016-05-24  Yusuke Suzuki  <utatane.tea@gmail.com>
1016
1017         [JSC][GTK][EFL] Allow run-jsc-benchmark to use WebKitTestRunner in EFL / GTK ports
1018         https://bugs.webkit.org/show_bug.cgi?id=158016
1019
1020         Reviewed by Darin Adler.
1021
1022         This patch easily allows run-jsc-benchmark to run WebKitTestRunner-based tests in GTK / EFL ports.
1023         This change encourages us to run tests with the browser-heap in nix environments.
1024         Two things are modified.
1025
1026         1. Add a fall-back to look up the library path in GTK / EFL / JSCOnly environment.
1027
1028             In GTK / EFL / JSCOnly ports, the hierarchy of the build directory is slightly different from Apple port.
1029             For example, the jsc bin locate at "WebKitBuild/XXX/Release/bin/jsc" and the lib path is "WebKitBuild/XXX/Release/lib"
1030             while the one of Apple port is "WebKitBuild/XXX/Release/jsc" and "WebKitBuild/XXX/Release/lib".
1031             And based on this library path, we configure the required environment variables to run WebKitTestRunner in GTK / EFL ports.
1032
1033         2. Add --dependencies option to add dependent library paths.
1034
1035             While Apple ports does not require any additional dependent library path, GTK and EFL ports require this path,
1036             typically WebKitBuild/DependenciesGTK and WebKitBuild/DependenciesEFL respectively. So we need to add such paths to LD_LIBRARY_PATH.
1037             Instead of adding platform options like --gtk / --efl, we add --dependencies option to add the additional dependent library paths.
1038             The platform options still require the build path to look up the dependent library directory. So we pass it directly through --dependencies.
1039             Multiple additional dependent library paths can be added by using --dependencies multiple times.
1040
1041         By using these change, we can run benchmarks that require WebKitTestRunner in GTK / EFL ports (If you would like to run them in a headless manner, you can use xvbuf.).
1042         Example:
1043             `Tools/Scripts/run-jsc-benchmarks baseline:WebKitBuild/baseline/Release/bin/WebKitTestRunner patched:WebKitBuild/patched/Release/bin/WebKitTestRunner --dependencies WebKitBuild/DependenciesGTK/Root/lib --js-bench`
1044
1045         * Scripts/run-jsc-benchmarks:
1046
1047 2016-05-20  Keith Miller  <keith_miller@apple.com>
1048         We should have JSBench in PerformanceTests
1049         https://bugs.webkit.org/show_bug.cgi?id=157952
1050
1051         Rubber-stamped by Saam Barati.
1052
1053         This changes the runner to use the layout of the newest version of JSBench.
1054
1055         * Scripts/run-jsc-benchmarks:
1056
1057 2016-05-24  Chris Dumez  <cdumez@apple.com>
1058
1059         Use auto for some of our lambda function parameters
1060         https://bugs.webkit.org/show_bug.cgi?id=158001
1061
1062         Reviewed by Darin Adler.
1063
1064         Use auto for some of our lambda function parameters now that we build with c++14.
1065
1066         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1067         (WTR::InjectedBundle::willDestroyPage):
1068
1069 2016-05-23  Brady Eidson  <beidson@apple.com>
1070
1071         check-webkit-style gets flags std::literals::chrono_literals as bad naming.
1072         https://bugs.webkit.org/show_bug.cgi?id=157969
1073
1074         Reviewed by Alex Christensen.
1075
1076         * Scripts/webkitpy/style/checkers/cpp.py:
1077         (check_identifier_name_in_declaration):
1078         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1079         (WebKitStyleTest.test_names):
1080
1081 2016-05-22  Alexey Proskuryakov  <ap@apple.com>
1082
1083         RELEASE_ASSERT(TestController::singleton().isCurrentInvocation(testInvocation)) is sometimes hit when running tests
1084         https://bugs.webkit.org/show_bug.cgi?id=157977
1085         rdar://problem/20874156
1086
1087         Reviewed by David Kilzer.
1088
1089         * WebKitTestRunner/TestInvocation.cpp:
1090         (WTR::TestInvocation::invoke): Be more certain to launch a new process when there was
1091         a timeout detected. If we don't, there is a chance that the process is not quite frozen,
1092         and will still send a response that we no longer expect.
1093         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Print timeout details to stderr
1094         too, as stdout is not available, at least not in the case that I was observing.
1095
1096 2016-05-22  Brady Eidson  <beidson@apple.com>
1097
1098         Move to C++14.
1099         https://bugs.webkit.org/show_bug.cgi?id=157948
1100
1101         Reviewed by Michael Catanzaro.
1102
1103         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1104         * MiniBrowser/Configurations/Base.xcconfig:
1105         * TestWebKitAPI/Configurations/Base.xcconfig:
1106         * WebKitTestRunner/Configurations/Base.xcconfig:
1107
1108 2016-05-21  Aakash Jain  <aakash_jain@apple.com>
1109
1110         Simulator launch fails intermittently due to failure in checking simulator boot status
1111         https://bugs.webkit.org/show_bug.cgi?id=157965
1112         rdar://problem/26402404
1113
1114         Reviewed by Alexey Proskuryakov.
1115
1116         * Scripts/webkitpy/xcode/simulator.py:
1117         (Simulator.wait_until_device_is_booted): Ignore CalledProcessError exception while checking
1118         whether simulator has finished booting.
1119
1120 2016-05-21  Dan Bernstein  <mitz@apple.com>
1121
1122         Silence warnings from svn propget when using newer versions of Subversion.
1123         https://bugs.webkit.org/show_bug.cgi?id=157879
1124
1125         Reviewed by Daniel Bates.
1126
1127         * Scripts/prepare-ChangeLog:
1128         (attributeCommand): Redirect svn propget stderr to /dev/null.
1129         * Scripts/svn-create-patch:
1130         (findMimeType): Ditto.
1131
1132 2016-05-20  Ryosuke Niwa  <rniwa@webkit.org>
1133
1134         run-benchmark's results should contain Animometer's debug output
1135         https://bugs.webkit.org/show_bug.cgi?id=157941
1136
1137         Reviewed by Stephanie Lewis.
1138
1139         Modified the Animometer patch to store debug output and made benchmark_runner extract them together as a single array.
1140         The result can be dragged and dropped into Animometer's developer.html page.
1141
1142         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1143         (BenchmarkRunner._run_one_test): Parse JSON here instead of doing it in multiple call sites.
1144         (BenchmarkRunner._run_benchmark): Strip debugOutput from individual test result, and merge them together separately.
1145         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch:
1146         Modified the patch to store the debug output.
1147         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
1148         (ServerControl.render_POST): Fixed a bug that POST to /report results in 500 because getvalue is not defined
1149         when the request body is larger than a certain size on twisted.
1150
1151 2016-05-20  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1152
1153         Use clearer names for JSON output of javascriptcore test results
1154         https://bugs.webkit.org/show_bug.cgi?id=157921
1155
1156         Reviewed by Alexey Proskuryakov.
1157
1158         "failures" and "apiTestResult" were somewhat ambiguous names. 
1159         
1160         * Scripts/run-javascriptcore-tests:
1161         (runJSCStressTests): "failures" -> "stressFailures", "apiTestResult" -> "allApiTestsPassed".
1162
1163 2016-05-20  Chris Dumez  <cdumez@apple.com>
1164
1165         Unreviewed, fix API test introduced in r201213.
1166
1167         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
1168         (TestWebKitAPI::TEST):
1169
1170 2016-05-20  Rawinder Singh  <rawinder.singh-webkit@cisra.canon.com.au>
1171
1172         Implement operator== for WeakPtr
1173         https://bugs.webkit.org/show_bug.cgi?id=157883
1174
1175         Reviewed by Chris Dumez.
1176
1177         Implement operator== and operator!= for WeakPtr and update code to use the operators.
1178
1179         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
1180         (TestWebKitAPI::TEST):
1181
1182 2016-05-19  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1183
1184         Add JSON results to 32-bit and CLoop JSC tests
1185         https://bugs.webkit.org/show_bug.cgi?id=157929
1186
1187         Reviewed by Alexey Proskuryakov.
1188
1189         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1190         (RunLLINTCLoopTests): Change command-line parameters to run-javascriptcore-tests in order to get JSON output.
1191         (Run32bitJSCTests): Change command-line parameters to run-javascriptcore-tests in order to get JSON output.
1192
1193 2016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
1194
1195         Typo fix in import-test262-tests
1196         https://bugs.webkit.org/show_bug.cgi?id=157902
1197
1198         Reviewed by Keith Miller.
1199
1200         * Scripts/import-test262-tests:
1201
1202 2016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
1203
1204         [EFL] Fix the gst-libav build on ARM Thumb2 after r199649
1205         https://bugs.webkit.org/show_bug.cgi?id=157893
1206
1207         Reviewed by Antonio Gomes.
1208
1209         * efl/patches/gst-libav.patch:
1210
1211 2016-05-19  Jer Noble  <jer.noble@apple.com>
1212
1213         REGRESSION(r200951): VideoControlsManager API tests time out
1214         https://bugs.webkit.org/show_bug.cgi?id=157896
1215         <rdar://problem/26326293>
1216
1217         Reviewed by Eric Carlson.
1218
1219         Explicitly disable user gesture requirements for playback.
1220
1221         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1222         (TestWebKitAPI::TEST):
1223
1224 2016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
1225
1226         Slow JSC stress tests times out in 32 bit debug mode
1227         https://bugs.webkit.org/show_bug.cgi?id=154964
1228
1229         Reviewed by Michael Catanzaro.
1230
1231         * Scripts/run-javascriptcore-tests:
1232         (runJSCStressTests): Pass through the --debug option.
1233         * Scripts/run-jsc-stress-tests: Increase the timeout for debug builds.
1234
1235 2016-05-18  Aakash Jain  <aakash_jain@apple.com>
1236
1237         Remove underline from Status Bubbles on dashboard
1238         https://bugs.webkit.org/show_bug.cgi?id=157870
1239         rdar://problem/26332321
1240
1241         Reviewed by Alexey Proskuryakov.
1242
1243         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css: Reverted style 
1244         change made in http://trac.webkit.org/r200880
1245
1246 2016-05-18  Michael Saboff  <msaboff@apple.com>
1247
1248         r199812 broke test262
1249         https://bugs.webkit.org/show_bug.cgi?id=157595
1250
1251         Reviewed by Filip Pizlo.
1252
1253         Added a new run type, runOneLargeHeap, for tests that use a large amount of memory.
1254         This run type will not run with the --memory-limited option.  Without that option,
1255         we'll only the default test variant.
1256
1257         * Scripts/run-jsc-stress-tests:
1258
1259 2016-05-18  Simon Fraser  <simon.fraser@apple.com>
1260
1261         REGRESSION (r200534) Command-+ no longer zooms pages 
1262         https://bugs.webkit.org/show_bug.cgi?id=157826
1263         rdar://problem/26334636
1264
1265         Reviewed by Dean Jackson.
1266
1267         * DumpRenderTree/mac/DumpRenderTree.mm:
1268         (resetWebPreferencesToConsistentValues): Remove ENABLE() #ifdefs that do nothing (see http://webkit.org/b/157828).
1269
1270 2016-05-18  Joanmarie Diggs  <jdiggs@igalia.com>
1271
1272         [GTK] accessibility/meter-element.html is failing
1273         https://bugs.webkit.org/show_bug.cgi?id=115633
1274
1275         Reviewed by Chris Fleizach.
1276
1277         Implement AccessibilityUIElement::valueDescription() and add mapping
1278         from ATK_ROLE_LEVEL_BAR to AXProgressIndicator.
1279
1280         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1281         (WTR::AccessibilityUIElement::valueDescription):
1282
1283 2016-05-18  Brady Eidson  <beidson@apple.com>
1284
1285         Modern IDB: Make TestRunner.clearAllDatabases also delete IndexedDB databases (once doing so is supported).
1286         https://bugs.webkit.org/show_bug.cgi?id=157823
1287
1288         Reviewed by Alex Christensen.
1289
1290         * DumpRenderTree/mac/TestRunnerMac.mm:
1291         (TestRunner::clearAllDatabases):
1292         
1293         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1294         (WTR::TestRunner::clearAllDatabases):
1295         
1296         * WebKitTestRunner/TestInvocation.cpp:
1297         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1298
1299 2016-05-18  Joanmarie Diggs  <jdiggs@igalia.com>
1300
1301         AX: [ATK] Use WebCore Accessibility's AccessibilityText for AtkObject name and description
1302         https://bugs.webkit.org/show_bug.cgi?id=157822
1303
1304         Reviewed by Chris Fleizach.
1305
1306         Fix AccessibilityUIElement::helpText() so that it returns an empty string rather than
1307         nullptr upon failure.
1308
1309         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1310         (WTR::AccessibilityUIElement::helpText):
1311
1312 2016-05-17  Beth Dakin  <bdakin@apple.com>
1313
1314         Make handleAcceptedCandidate a public function
1315         https://bugs.webkit.org/show_bug.cgi?id=157763
1316         -and corresponding-
1317         rdar://problem/26206397
1318
1319         Reviewed by Tim Horton.
1320
1321         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1322         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocused-text-input.html: Added.
1323         * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm: Added.
1324         (-[DoNotLeakWebView dealloc]):
1325         (-[DoNotLeakWebView showCandidates:forString:inRect:forSelectedRange:view:completionHandler:]):
1326         (-[DoNotLeakFrameLoadDelegate webView:didFinishLoadForFrame:]):
1327         (TestWebKitAPI::TEST):
1328
1329 2016-05-17  Keith Miller  <keith_miller@apple.com>
1330
1331         Add test262 harness support code
1332         https://bugs.webkit.org/show_bug.cgi?id=157797
1333
1334         Reviewed by Filip Pizlo.
1335
1336         The import-test262-tests script is used to generate the yaml file used to run test262. It
1337         takes a path to the local copy of the Test262 repository as well as an optional path to file
1338         containing a list of failures. This script currently just creates the yaml file used to run
1339         the script. It does not relocate the test files into our tests directory. In the future I
1340         plan to add that feature but it didn't seem essential for the first iteration. Since many
1341         test262 tests need to be run in both strict and non-strict mode, import-test262-tests
1342         creates two separate runs for those tests. This enables us to distinguish between failures
1343         in only one of the two modes.
1344
1345         This patch also updates the run-jsc-stress-tests Script to run tests from Test262. In order
1346         to do so two new run commands were needed runTest262 and prepareTest262Fixture. runTest262
1347         takes an actual test file along with the metadata associated with it. prepareTest262Fixture
1348         takes a fixture file (used by module tests for importing) and makes sure that file is
1349         properly relocated to the test runner directory.
1350
1351         The proccess I used to import the tests was to first run import-test262-tests to create a
1352         yaml for all the tests (import-test262-tests assumes all tests pass if to failures file is
1353         passed). Then I ran the generated yaml file with "run-jsc-stress-tests -v -c 1" piping the
1354         output to a file and collected all the lines with "FAIL" in it. Finally, I reran
1355         import-test262-tests with the new failure file to create the final yaml.
1356
1357         * Scripts/import-test262-tests: Added.
1358         * Scripts/run-jsc-stress-tests:
1359
1360 2016-05-16  Enrica Casucci  <enrica@apple.com>
1361
1362         build fix after r200968 and r200969
1363
1364         Unreviewed.
1365
1366         * DumpRenderTree/mac/EventSendingController.mm:
1367         (-[EventSendingController keyDown:withModifiers:withLocation:]):
1368
1369 2016-05-16  Jer Noble  <jer.noble@apple.com>
1370
1371         API test WebKit2.MSEIsPlayingAudio timing out after r200951
1372         https://bugs.webkit.org/show_bug.cgi?id=157748
1373
1374         Reviewed by Eric Carlson.
1375
1376         The file-with-mse.html testcase only calls play() once it's own XHR loading is complete; the
1377         "user gesture" check fails at that point.  Call play() up front; playback will begin as soon
1378         as enough data is loaded.
1379
1380         * TestWebKitAPI/Tests/WebKit2/file-with-mse.html:
1381
1382 2016-05-16  Enrica Casucci  <enrica@apple.com>
1383
1384         Remove unused initializer for WebEvent on iOS.
1385         https://bugs.webkit.org/show_bug.cgi?id=157689
1386
1387         Reviewed by Anders Carlsson.
1388
1389         Adopting different initializer for WebEvent to fix the build.
1390
1391         * DumpRenderTree/mac/EventSendingController.mm:
1392         (-[EventSendingController keyDown:withModifiers:withLocation:]):
1393
1394 2016-05-16  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1395
1396         Add machine-readable results for JSC API tests to the Buildbot json log
1397         https://bugs.webkit.org/show_bug.cgi?id=157642
1398
1399         Reviewed by Geoffrey Garen.
1400
1401         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1402         (RunJavaScriptCoreTests): Use --no-fail-fast option on run-javascriptcore-tests
1403         * Scripts/run-javascriptcore-tests:
1404         (runJSCStressTests): Abstracted out writing JSON to file (new function below)
1405         (writeJsonDataIfApplicable): Added
1406
1407 2016-04-06  Jer Noble  <jer.noble@apple.com>
1408
1409         [WK2] Add API to WKWebViewConfiguration to control autoplay policy.
1410         https://bugs.webkit.org/show_bug.cgi?id=156312
1411
1412         Reviewed by Dan Bernstein.
1413
1414         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1415         (WTR::initializeWebViewConfiguration):
1416         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
1417         (TEST_F):
1418
1419 2016-05-16  Brent Fulgham  <bfulgham@apple.com>
1420
1421         REGRESSION (r192098): Content missing after copy and paste to Notes App on retina displays
1422         https://bugs.webkit.org/show_bug.cgi?id=157630
1423         <rdar://problem/25277577>
1424
1425         Reviewed by Simon Fraser.
1426
1427         Update test infrastructure to support checking the number of images in the pasteboard.
1428
1429         * DumpRenderTree/TestRunner.cpp:
1430         (imageCountInGeneralPasteboardCallback): Added.
1431         (TestRunner::staticFunctions):
1432         * DumpRenderTree/TestRunner.h:
1433         * DumpRenderTree/mac/TestRunnerMac.mm:
1434         (TestRunner::imageCountInGeneralPasteboard): Added.
1435         * DumpRenderTree/win/TestRunnerWin.cpp:
1436         (TestRunner::imageCountInGeneralPasteboard): Added stub method.
1437         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1438         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1439         (WTR::InjectedBundle::imageCountInGeneralPasteboard): Added.
1440         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1441         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1442         (WTR::TestRunner::imageCountInGeneralPasteboard): Added.
1443         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1444         * WebKitTestRunner/TestController.cpp:
1445         (WTR::TestController::imageCountInGeneralPasteboard): Added stub implementation.
1446         * WebKitTestRunner/TestController.h:
1447         * WebKitTestRunner/TestInvocation.cpp:
1448         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): Handle copy message.
1449         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1450         (WTR::TestController::imageCountInGeneralPasteboard): Added.
1451
1452 2016-05-13  Dewei Zhu  <dewei_zhu@apple.com>
1453
1454         Fix JSBench which causes math domain error in run-benchmark script.
1455         https://bugs.webkit.org/show_bug.cgi?id=157697
1456         <rdar://problem/26279292>
1457
1458         Reviewed by Ryosuke Niwa.
1459
1460         Some tests of JSBench give time usage to be 0 ms which will causes error while calculating geometric mean.
1461         Also fix a round-off error while calculating stdev.
1462
1463         * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
1464         (BenchmarkResults._format_values):
1465         * Scripts/webkitpy/benchmark_runner/data/patches/JSBench.patch:
1466
1467 2016-05-13  Brady Eidson  <beidson@apple.com>
1468
1469         Extend protector naming code style guideline to cover operator= assignment.
1470         https://bugs.webkit.org/show_bug.cgi?id=157693
1471
1472         Reviewed by Darin Adler.
1473
1474         * Scripts/webkitpy/style/checkers/cpp.py:
1475         (check_identifier_name_in_declaration):
1476         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1477         (WebKitStyleTest.test_names):
1478
1479 2016-05-13  Aakash Jain  <aakash_jain@apple.com>
1480
1481         Dashboard code restructuring
1482         https://bugs.webkit.org/show_bug.cgi?id=157680
1483         <rdar://problem/14736888>
1484
1485         Reviewed by Alexey Proskuryakov.
1486
1487         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
1488         (BubbleQueueView.prototype.addLinkToRow): Moved to base class.
1489         (BubbleQueueView.prototype.addTextToRow): Moved to base class.
1490         (BubbleQueueView.prototype._addDividerToPopover): Moved to base class.
1491         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1492         (BuildbotBuilderQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
1493         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
1494         (BuildbotCombinedQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
1495         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1496         (BuildbotTesterQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
1497         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1498         (BuildbotQueueView.prototype._appendPendingRevisionCount): Moved to base class and modified to take
1499         additional argument.
1500         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Moved to base class.
1501         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Moved to base class.
1502         (BuildbotQueueView.prototype._addDividerToPopover): Moved to base class.
1503         (BuildbotQueueView.prototype._formatRevisionForDisplay): Moved to base class.
1504         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1505         (documentReady): Display any customView if available.
1506         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
1507         (QueueView.prototype.addLinkToRow): Moved from child class, no changes.
1508         (QueueView.prototype.addTextToRow): Moved from child class, no changes.
1509         (QueueView.prototype._addDividerToPopover): Moved from child class, no changes.
1510         (QueueView.prototype._appendPendingRevisionCount): Moved from child class, made it more generic
1511         by taking latestIterationGetter method as an argument.
1512         (QueueView.prototype._popoverLinesForCommitRange): Moved from child class, no changes.
1513         (QueueView.prototype._presentPopoverForPendingCommits): Moved from child class, no changes.
1514         (QueueView.prototype._formatRevisionForDisplay): Moved from child class, no changes.
1515         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1516         (a:hover:link): Underline only when there is a link.
1517
1518 2016-05-13  Yoav Weiss  <yoav@yoav.ws>
1519
1520         Turn on WEB_TIMING for all ports
1521         https://bugs.webkit.org/show_bug.cgi?id=157673
1522
1523         Reviewed by Alex Christensen.
1524
1525         * Scripts/webkitperl/FeatureList.pm: Make sure that WEB_TIMING is on by default.
1526
1527 2016-05-13  Brady Eidson  <beidson@apple.com>
1528
1529         Protector Ref/RefPtrs should have a specified naming style.
1530         https://bugs.webkit.org/show_bug.cgi?id=157591
1531
1532         Reviewed by Darin Adler.
1533
1534         * Scripts/webkitpy/style/checkers/cpp.py:
1535         (check_identifier_name_in_declaration):
1536         (CppChecker):
1537         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1538         (WebKitStyleTest.test_names):
1539
1540 2016-05-12  Csaba Osztrogonác  <ossy@webkit.org>
1541
1542         Remove ENABLE(ES6_ARROWFUNCTION_SYNTAX) guards
1543         https://bugs.webkit.org/show_bug.cgi?id=157564
1544
1545         Reviewed by Darin Adler.
1546
1547         * Scripts/webkitperl/FeatureList.pm:
1548         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1549
1550 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
1551
1552         [GTK] accessibility/aria-readonly.html is failing
1553         https://bugs.webkit.org/show_bug.cgi?id=98357
1554
1555         Reviewed by Chris Fleizach.
1556
1557         Add checks to isAttributeSettable() for ATK_STATE_READ_ONLY and the 'readonly'
1558         AtkObject attribute along with ATK_STATE_CHECKABLE for toggle-able elements,
1559         ATK_STATE_SELECTABLE for select elements, and ATK_STATE_FOCUSABLE combined
1560         with range verification for inputs which implement AtkValue. The latter two
1561         additions are admittedly a heuristic workaround for platform accessibility
1562         API differences. But they should be sufficient to facilitate cross-platform
1563         testing of isAttributeSettable() for form elements which lack ARIA attributes.
1564
1565         Bump the minimum version of at-spi2-core and at-spi2-atk
1566         to 2.15.4 (earliest version that supports STATE_READ_ONLY).
1567
1568         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1569         (WTR::AccessibilityUIElement::isAttributeSettable):
1570         * gtk/jhbuild.modules:
1571
1572 2016-05-10  Ryan Haddad  <ryanhaddad@apple.com>
1573
1574         Another attempt to fix the build after r200668.
1575
1576         Unreviewed build fix.
1577
1578         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1579         (TEST):
1580
1581 2016-05-10  Dan Bernstein  <mitz@apple.com>
1582
1583         Tried to fix the Mac build after r200668.
1584
1585         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1586         (WTR::TestController::platformCreateWebView):
1587
1588 2016-05-10  Sam Weinig  <sam@webkit.org>
1589
1590         Tweak underline style for data detected links
1591         https://bugs.webkit.org/show_bug.cgi?id=157546
1592
1593         Reviewed by Tim Horton.
1594
1595         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1596         * TestWebKitAPI/Tests/WebCore/Color.cpp: Added.
1597         (TestWebKitAPI::TEST):
1598         Add tests for the new Color::getHSV() function.
1599
1600 2016-05-10  Filip Pizlo  <fpizlo@apple.com>
1601
1602         Internal JSC profiler should have a timestamped log of events for each code block
1603         https://bugs.webkit.org/show_bug.cgi?id=157538
1604
1605         Reviewed by Benjamin Poulain.
1606
1607         * Scripts/display-profiler-output:
1608
1609 2016-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
1610
1611         [Linux] Remove seccomp filters support
1612         https://bugs.webkit.org/show_bug.cgi?id=157380
1613
1614         Reviewed by Darin Adler.
1615
1616         * Scripts/webkitperl/FeatureList.pm:
1617         * TestWebKitAPI/PlatformEfl.cmake:
1618         * TestWebKitAPI/PlatformGTK.cmake:
1619         * TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp: Removed.
1620         * efl/jhbuild.modules:
1621         * gtk/jhbuild.modules:
1622
1623 2016-05-09  Simon Fraser  <simon.fraser@apple.com>
1624
1625         [iOS] visibility:hidden -webkit-overflow-scrolling: touch divs can interfere with page scrolling
1626         https://bugs.webkit.org/show_bug.cgi?id=157496
1627         rdar://problem/22963278
1628
1629         Reviewed by Tim Horton.
1630
1631         Enhance UIScriptController to generate a drag, which is useful for scrolling.
1632
1633         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
1634         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1635         (WTR::UIScriptController::dragFromPointToPoint):
1636         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1637         * WebKitTestRunner/ios/HIDEventGenerator.h:
1638         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1639         (-[HIDEventGenerator dragWithStartPoint:endPoint:duration:completionBlock:]):
1640         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1641         (WTR::UIScriptController::dragFromPointToPoint):
1642
1643 2016-05-09  Simon Fraser  <simon.fraser@apple.com>
1644
1645         Remove testRunner.setTextAutosizingEnabled and migrate the one test that uses it
1646         https://bugs.webkit.org/show_bug.cgi?id=157480
1647
1648         Reviewed by Zalan Bujtas.
1649
1650         Migrate the one test that used testRunner.setTextAutosizingEnabled() to window.internals.settings.setTextAutosizingEnabled()
1651         and move it next to the other iOS text autosizing tests.
1652         
1653         Remove testRunner.setTextAutosizingEnabled(), which was only implemented in DumpRenderTree.
1654
1655         * DumpRenderTree/TestRunner.cpp:
1656         (setTextAutosizingEnabledCallback): Deleted.
1657         (TestRunner::staticFunctions): Deleted.
1658         * DumpRenderTree/mac/TestRunnerMac.mm:
1659         (TestRunner::setTextAutosizingEnabled): Deleted.
1660
1661 2016-05-07  Darin Adler  <darin@apple.com>
1662
1663         Next step on dictionary bindings, along with other bindings refinements
1664         https://bugs.webkit.org/show_bug.cgi?id=157451
1665
1666         Reviewed by Chris Dumez.
1667
1668         * Scripts/do-webcore-rename: Use this to rename JSDOMBuild.h to JSDOMConvert.h.
1669         Also skip test expectations in a directory that this was modifying unnecessarily.
1670
1671 2016-05-06  Simon Fraser  <simon.fraser@apple.com>
1672
1673         Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
1674         https://bugs.webkit.org/show_bug.cgi?id=157432
1675         rdar://problem/16406720
1676
1677         Reviewed by Dean Jackson.
1678
1679         Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
1680
1681         Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
1682         preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
1683         These two settings are shared with TEXT_AUTOSIZING.
1684
1685         Add a TextAutosizing log channel, which is useful for generated -expected.html results.
1686
1687         Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
1688         without changes.
1689
1690         An implication of this set of changes is that the way clients enable text autosizing
1691         has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
1692         Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
1693         on iPhone only, not iPad.
1694
1695         Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
1696         instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
1697
1698         UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
1699         which will now always return 15, but had no other code that toggled this. So it's safe to just rely
1700         on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
1701
1702         * DumpRenderTree/mac/DumpRenderTree.mm:
1703         (resetWebPreferencesToConsistentValues):
1704         * DumpRenderTree/mac/TestRunnerMac.mm:
1705         (TestRunner::setTextAutosizingEnabled):
1706         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1707         * WebKitTestRunner/ios/TestControllerIOS.mm:
1708         (WTR::TestController::platformResetPreferencesToConsistentValues):
1709
1710 2016-05-06  Dean Jackson  <dino@apple.com>
1711
1712         Regions, Shapes and Tracks don't need runtime features
1713         https://bugs.webkit.org/show_bug.cgi?id=157426
1714         <rdar://problem/26146262>
1715
1716         Reviewed by Simon Fraser.
1717
1718         The following RuntimeEnabledFeatures can be removed since
1719         we have no need to disable them (they are stable and have
1720         shipped for a while):
1721         - CSS Regions
1722         - CSS Shapes
1723         - Media tracks
1724
1725         * DumpRenderTree/mac/DumpRenderTree.mm:
1726         (resetWebPreferencesToConsistentValues): Deleted.
1727
1728 2016-05-06  Ryan Haddad  <ryanhaddad@apple.com>
1729
1730         Increase delay when launching multiple ios-simulators in parallel
1731         https://bugs.webkit.org/show_bug.cgi?id=157422
1732
1733         Reviewed by Alexey Proskuryakov.
1734
1735         Tests are intermittently failing when launching multiple simulators in parallel due to "You are opening
1736         this application for the first time" confirmation dialogs. Increasing the delay to alleviate this issue.
1737
1738         * Scripts/webkitpy/port/ios.py:
1739         (IOSSimulatorPort.setup_test_run):
1740
1741 2016-05-06  Per Arne Vollan  <peavo@outlook.com>
1742
1743         [Win] Remove WinXP support.
1744         https://bugs.webkit.org/show_bug.cgi?id=157416
1745
1746         Reviewed by Brent Fulgham.
1747
1748         * win/DLLLauncher/DLLLauncherMain.cpp:
1749         (enableTerminationOnHeapCorruption):
1750
1751 2016-05-06  Manuel Rego Casasnovas  <rego@igalia.com>
1752
1753         [css-grid] Unprefix CSS Grid Layout properties
1754         https://bugs.webkit.org/show_bug.cgi?id=157137
1755
1756         Reviewed by Simon Fraser.
1757
1758         Remove "-webkit" prefix from all the grid layout properties,
1759         including the display value.
1760         Update the source code to remove the prefix where it was used too.
1761
1762         * TestWebKitAPI/Tests/WebCore/CSSParser.cpp:
1763         (TestWebKitAPI::TEST):
1764
1765 2016-05-05  Alexey Proskuryakov  <ap@apple.com>
1766
1767         Partially revert http://trac.webkit.org/r200504
1768         Improve HTTP test names in WebKitTestRunner's crash report information
1769         https://bugs.webkit.org/show_bug.cgi?id=157389
1770
1771         * WebKitTestRunner/cocoa/CrashReporterInfo.mm: Turns out that we can't have URLs
1772         in crash reporter information.
1773
1774 2016-05-05  Alexey Proskuryakov  <ap@apple.com>
1775
1776         Improve HTTP test names in WebKitTestRunner's crash report information
1777         https://bugs.webkit.org/show_bug.cgi?id=157389
1778
1779         Reviewed by Alex Christensen.
1780
1781         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
1782         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Added a FIXME.
1783
1784         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
1785         (WTR::testDescription): Don't bail out if the port is neither 8000 nor 8443; we
1786         use other port numbers too. For http tests, return the complete URL string, not
1787         just the path.
1788
1789 2016-05-04  Alex Christensen  <achristensen@webkit.org>
1790
1791         Blocked redirected main resource requests need descriptive errors
1792         https://bugs.webkit.org/show_bug.cgi?id=156828
1793         rdar://problem/25711316
1794
1795         Reviewed by Daniel Bates.
1796
1797         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1798         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
1799         Print out the error type to make sure we have the most descriptive error type.
1800
1801 2016-05-05  Enrique Ocaña González  <eocanha@igalia.com>
1802
1803         [GStreamer] Bump internal jhbuild versions to 1.8.0 and patches to support MSE
1804         https://bugs.webkit.org/show_bug.cgi?id=157341
1805
1806         Reviewed by Xabier Rodriguez-Calvar.
1807
1808         * gtk/jhbuild.modules:
1809         * gtk/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added.
1810         * gtk/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added.
1811
1812 2016-05-04  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1813
1814         Add JSC test results in JSON format to a Buildbot log
1815         https://bugs.webkit.org/show_bug.cgi?id=156920
1816
1817         Reviewed by Daniel Bates.
1818
1819         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1820         (RunJavaScriptCoreTests): Move command-line option for output file out
1821         of WithProperties.
1822
1823 2016-05-04  Dean Jackson  <dino@apple.com>
1824
1825         TestRunner should always enable all the experimental features
1826         https://bugs.webkit.org/show_bug.cgi?id=157360
1827         <rdar://problem/26099748>
1828
1829         Reviewed by Anders Carlsson.
1830
1831         Call the new SPI that enables all the experimental features.
1832
1833         * WebKitTestRunner/TestController.cpp:
1834         (WTR::TestController::resetPreferencesToConsistentValues):
1835
1836 2016-05-04  Mark Lam  <mark.lam@apple.com>
1837
1838         ES6 Function.name inferred from property names of literal objects can break some websites.
1839         https://bugs.webkit.org/show_bug.cgi?id=157246
1840
1841         Reviewed by Geoffrey Garen.
1842
1843         * WebKitTestRunner/TestController.cpp:
1844         (WTR::TestController::resetPreferencesToConsistentValues):
1845         (WTR::updateTestOptionsFromTestHeader):
1846         * WebKitTestRunner/TestOptions.h:
1847
1848         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1849         (WTR::PlatformWebView::viewSupportsOptions):
1850         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1851         (WTR::PlatformWebView::viewSupportsOptions):
1852         - Add needsSiteSpecificQuirks to WKTR options that can be set. 
1853
1854 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
1855
1856         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
1857         https://bugs.webkit.org/show_bug.cgi?id=157331
1858
1859         Reviewed by Chris Fleizach.
1860
1861         Add AXLandmarkRegion to the landmark strings handled by roleToString
1862         for objects with ATK_ROLE_LANDMARK.
1863
1864         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1865
1866 2016-05-03  Beth Dakin  <bdakin@apple.com>
1867
1868         Add VideoControlsManager tests
1869         https://bugs.webkit.org/show_bug.cgi?id=157332
1870         -and corresponding-
1871         rdar://problem/24358431
1872
1873         Reviewed by Sam Weinig.
1874
1875         This patch adds three VideoControlsManager tests.
1876
1877         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1878         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
1879         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Added.
1880         (-[DidPlayMessageHandler initWithWKWebView:]):
1881         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]):
1882         (TestWebKitAPI::TEST):
1883         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html: Added.
1884         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.mp4: Added.
1885         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html: Added.
1886
1887 2016-05-03  Joanmarie Diggs  <jdiggs@igalia.com>
1888
1889         [ATK] accessibility/document-attributes.html is failing
1890         https://bugs.webkit.org/show_bug.cgi?id=125348
1891
1892         Reviewed by Chris Fleizach.
1893
1894         The test was failing because the WebArea is now being exposed with the role of
1895         ATK_ROLE_DOCUMENT_WEB; not ATK_ROLE_DOCUMENT_FRAME. Unfortunately, when that
1896         change was made, documentEncoding() and documentURI() were not updated accordingly.
1897
1898         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1899         (WTR::AccessibilityUIElement::documentEncoding):
1900         (WTR::AccessibilityUIElement::documentURI):
1901
1902 2016-05-03  Brent Fulgham  <bfulgham@apple.com>
1903
1904         [Win] Unreviewed build fix.
1905
1906         * EWSTools/start-queue-win.sh: Establish proper VS2015 build
1907         environment at start of queue run.
1908
1909 2016-05-03  Joanmarie Diggs  <jdiggs@igalia.com>
1910
1911         [ATK] accessibility/content-editable-as-textarea.html fails
1912         https://bugs.webkit.org/show_bug.cgi?id=155353
1913
1914         Reviewed by Darin Adler.
1915
1916         The test was timing out because it expected an AXValueChanged notification.
1917         In ATK, AXValueChanged notifications are made for widgets which implement
1918         the AtkValue interface (sliders, progress bars, etc.). We should be listening
1919         for AXTextChanged instead. AtkText's text-insert and text-remove have been
1920         added to the AccessibilityNotificationHandler.
1921
1922         Also, ATK's AccessibilityUIElement support had a number of unimplemented
1923         methods that are being used as part of the previously-failing test. Those
1924         methods are now implemented so that the ATK results are much more similar
1925         to those on the Mac.
1926
1927         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
1928         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks):
1929         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1930         (WTR::AccessibilityUIElement::stringAttributeValue):
1931         (WTR::AccessibilityUIElement::rangeForLine):
1932         (WTR::AccessibilityUIElement::boundsForRange):
1933         (WTR::AccessibilityUIElement::attributedStringForRange):
1934
1935 2016-05-02  Brady Eidson  <beidson@apple.com>
1936
1937         Add the ability to accumulate logs for specific logging channels to help diagnose test timeouts.
1938         https://bugs.webkit.org/show_bug.cgi?id=157274
1939
1940         Reviewed by Alex Christensen.
1941
1942         Add the new accumulate method to DRT's TestRunner, dump the accumulated logs if there's a timeout,
1943         and reset them in between tests:
1944         * DumpRenderTree/TestRunner.cpp:
1945         (accummulateLogsForChannel):
1946         (TestRunner::staticFunctions):
1947         (TestRunner::waitToDumpWatchdogTimerFired):
1948         (TestRunner::setAccummulateLogsForChannel):
1949         * DumpRenderTree/TestRunner.h:
1950         * DumpRenderTree/mac/DumpRenderTree.mm:
1951         (resetWebViewToConsistentStateBeforeTesting):
1952
1953         Also add the new method to WKTR's TestRunner, but just stubbed for now:
1954         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1955         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1956         (WTR::TestRunner::accummulateLogsForChannel):
1957         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1958
1959 2016-05-02  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1960
1961         Add fail-fast option to run-javascriptcore-tests
1962         https://bugs.webkit.org/show_bug.cgi?id=157270
1963
1964         Reviewed by Geoffrey Garen.
1965
1966         * Scripts/run-javascriptcore-tests: Add fail-fast command line option.
1967         Defaults to yes, which is the current behavior.
1968
1969 2016-05-02  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1970
1971         [CMake] MiniBrowser fails to build because libsoup link flags are not defined.
1972         https://bugs.webkit.org/show_bug.cgi?id=157268
1973
1974         Reviewed by Michael Catanzaro.
1975
1976         * MiniBrowser/gtk/CMakeLists.txt:
1977
1978 2016-04-30  Darin Adler  <darin@apple.com>
1979
1980         Streamline and remove unused bindings generation code
1981         https://bugs.webkit.org/show_bug.cgi?id=157237
1982
1983         Reviewed by Chris Dumez.
1984
1985         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
1986         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1987         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1988         Replace non-standard "int" with standard "long", which means the same thing.
1989
1990 2016-04-30  Darin Adler  <darin@apple.com>
1991
1992         Next batch of conversions to use C++ enum class instead of strings for enumerations
1993         https://bugs.webkit.org/show_bug.cgi?id=157232
1994
1995         Reviewed by Chris Dumez.
1996
1997         * Scripts/webkitpy/style/checker.py: Skip the bindings script tests when doing style
1998         checking. We don't want to waste time trying to make our generated code match our style.
1999
2000 2016-04-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2001
2002         Add JSC test results in JSON format to a Buildbot log.
2003         https://bugs.webkit.org/show_bug.cgi?id=156920
2004
2005         Reviewed by Daniel Bates.
2006
2007         Generate JSON results for JSC tests and upload them to the master
2008         using Buildbot's logfiles machinery.
2009
2010         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2011         (RunJavaScriptCoreTests): Use --json-output option when invoking the
2012         run-javascriptcore-tests Perl script, and expose this JSON output as a 
2013         Buildbot log.
2014         * Scripts/run-javascriptcore-tests:
2015         (runJSCStressTests): Change key names and remove redundant count key.
2016
2017 2016-04-29  Joanmarie Diggs  <jdiggs@igalia.com>
2018
2019         [ATK] Expose the value of aria-roledescription via an AtkObject attribute
2020         https://bugs.webkit.org/show_bug.cgi?id=146719
2021
2022         Reviewed by Chris Fleizach.
2023
2024         Implement roleDescription() so that the implementation can be tested.
2025
2026         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2027         (WTR::AccessibilityUIElement::roleDescription):
2028
2029 2016-04-27  Alexey Proskuryakov  <ap@apple.com>
2030
2031         Don't throttle GuardMalloc on 8-core Macs
2032         https://bugs.webkit.org/show_bug.cgi?id=157108
2033
2034         Reviewed by Alex Christensen.
2035
2036         This was making them slower unnecessarily.
2037
2038         * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
2039
2040 2016-04-26  Konstantin Tokarev  <annulen@yandex.ru>
2041
2042         Unreviewed: add myself to the committers list.
2043
2044         * Scripts/webkitpy/common/config/contributors.json:
2045
2046 2016-04-26  Ryosuke Niwa  <rniwa@webkit.org>
2047
2048         Fix text in log files autogenerated by import-w3c-tests
2049         https://bugs.webkit.org/show_bug.cgi?id=157021
2050
2051         Unreviewed. Fixing the second typo.
2052
2053         * Scripts/webkitpy/w3c/test_importer.py:
2054         (TestImporter.write_import_log):
2055
2056 2016-04-26  Filip Pizlo  <fpizlo@apple.com>
2057
2058         WebCore on Mac ignores the user's preferred region (country) while getting the language
2059         https://bugs.webkit.org/show_bug.cgi?id=156993
2060
2061         Reviewed by Geoffrey Garen.
2062
2063         Change the test expectations for this test. If the variant is not explicitly specified in
2064         the AppleLanguage, then we use the locale's country code, which this test assumes is US.
2065
2066         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm:
2067         (TestWebKitAPI::languageForSystemLanguage):
2068         (TestWebKitAPI::TEST):
2069
2070 2016-04-25  Ryosuke Niwa  <rniwa@webkit.org>
2071
2072         Remove the build flag for template elements
2073         https://bugs.webkit.org/show_bug.cgi?id=157022
2074
2075         Reviewed by Daniel Bates.
2076
2077         Removed the build option.
2078
2079         * Scripts/webkitperl/FeatureList.pm:
2080
2081 2016-04-25  Ryosuke Niwa  <rniwa@webkit.org>
2082
2083         Fix text in log files autogenerated by import-w3c-tests
2084         https://bugs.webkit.org/show_bug.cgi?id=157021
2085
2086         Reviewed by Chris Dumez.
2087
2088         s/Webkit/WebKit/ and end each sentence with a period.
2089
2090         * Scripts/webkitpy/w3c/test_importer.py:
2091         (TestImporter.write_import_log):
2092
2093 2016-04-25  Myles C. Maxfield  <mmaxfield@apple.com>
2094
2095         [Cocoa] Guarantee FontPlatformData's m_cgFont is never nullptr
2096         https://bugs.webkit.org/show_bug.cgi?id=156929
2097
2098         Reviewed by Darin Adler.
2099
2100         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
2101         (TestWebKitAPI::TEST):
2102
2103 2016-04-25  Caitlin Potter  <caitp@igalia.com>
2104
2105         [Tools] whitelist all-uppercase JSTokenType enum in JavaScriptCore
2106         https://bugs.webkit.org/show_bug.cgi?id=156976
2107
2108         Reviewed by Darin Adler.
2109
2110         Mitigate style-checker spam on bugs which introduce new JavaScript
2111         token types.
2112
2113         * Scripts/webkitpy/style/checkers/cpp.py:
2114         (_EnumState.__init__):
2115         (_EnumState.process_clean_line):
2116         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2117         (NoNonVirtualDestructorsTest.test_enum_casing):
2118
2119 2016-04-25  Simon Fraser  <simon.fraser@apple.com>
2120
2121         Fix issues with content-animation performance tests
2122         https://bugs.webkit.org/show_bug.cgi?id=157001
2123
2124         Reviewed by Sam Weinig.
2125
2126         Add patch content for svg-animation.html, and fix the paths in the patch so
2127         it applies correctly.
2128
2129         Add the patch file to the .plan file.
2130
2131         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch:
2132         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
2133
2134 2016-04-25  Brady Eidson  <beidson@apple.com>
2135
2136         Tweaking IndexedDB watchlist and adding myself to it.
2137
2138         * Scripts/webkitpy/common/config/watchlist:
2139
2140 2016-04-25  Commit Queue  <commit-queue@webkit.org>
2141
2142         Unreviewed, rolling out r199916.
2143         https://bugs.webkit.org/show_bug.cgi?id=156989
2144
2145         Might break buildbot when master is restarted (Requested by
2146         Srinivasan Vijayaraghava, Guest100, on #webkit).
2147
2148         Reverted changeset:
2149
2150         "Add JSC test results in json format to a buildbot log"
2151         https://bugs.webkit.org/show_bug.cgi?id=156920
2152         http://trac.webkit.org/changeset/199916
2153
2154 2016-04-23  Chris Dumez  <cdumez@apple.com>
2155
2156         [WebIDL] Drop [Default] WebKit-IDL extended attribute
2157         https://bugs.webkit.org/show_bug.cgi?id=156955
2158
2159         Reviewed by Darin Adler.
2160
2161         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2162
2163 2016-04-23  Csaba Osztrogonác  <ossy@webkit.org>
2164
2165         Really enable INDEXED_DATABASE on Apple Mac cmake build
2166         https://bugs.webkit.org/show_bug.cgi?id=156902
2167
2168         Reviewed by Michael Catanzaro.
2169
2170         * Scripts/webkitperl/FeatureList.pm:
2171
2172 2016-04-23  Andy Estes  <aestes@apple.com>
2173
2174         check-webkit-style: fix false-positive warnings about @synchronized
2175         https://bugs.webkit.org/show_bug.cgi?id=156957
2176
2177         Reviewed by Dan Bernstein.
2178
2179         * Scripts/webkitpy/style/checkers/cpp.py:
2180         (check_spacing_for_function_call): Ignore @synchronized lines.
2181         (check_braces): Ditto.
2182         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2183         (CppStyleTest.test_brace_at_begin_of_line): Added a test case.
2184
2185 2016-04-22  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2186
2187         Add JSC test results in json format to a buildbot log
2188         https://bugs.webkit.org/show_bug.cgi?id=156920
2189
2190         Reviewed by Alexey Proskuryakov.
2191
2192         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2193         (RunJavaScriptCoreTests):
2194         Add runtime flag to output json into buildbot
2195         * Scripts/run-javascriptcore-tests:
2196         (runJSCStressTests):
2197         Change key names and remove redundant count key
2198
2199 2016-04-22  Ryan Haddad  <ryanhaddad@apple.com>
2200
2201         Update expected result for WKPreferencesGetOfflineWebApplicationCacheEnabled after r199854
2202
2203         Unreviewed test gardening.
2204
2205         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
2206         (TestWebKitAPI::TEST):
2207
2208 2016-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2209
2210         [GTK] Enable the download attribute support
2211         https://bugs.webkit.org/show_bug.cgi?id=99025
2212
2213         Reviewed by Žan Doberšek.
2214
2215         * Scripts/webkitperl/FeatureList.pm:
2216
2217 2016-04-21  Keith Miller  <keith_miller@apple.com>
2218
2219         WebScriptObject description swizzler should work in a multi-threaded world
2220         https://bugs.webkit.org/show_bug.cgi?id=156808
2221
2222         Add a test for our NSObject swizzling TLS implementation. The test runs on
2223         two threads. One in JS and another in Objective-C. We expect the JS thread
2224         to use our NSObject description override and the Objective-C thread to act
2225         as though it was using the original NSObject description method.
2226
2227         Reviewed by Geoffrey Garen.
2228
2229         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2230         * TestWebKitAPI/Tests/mac/WebScriptObjectDescription.html: Added.
2231         * TestWebKitAPI/Tests/mac/WebScriptObjectDescription.mm: Added.
2232         (nsObjectDescriptionTest):
2233         (-[WebScriptDescriptionTest webView:didFinishLoadForFrame:]):
2234         (TestWebKitAPI::TEST):
2235
2236 2016-04-21  Carlos Garcia Campos  <cgarcia@igalia.com>
2237
2238         [GTK] WebKitWebView should claim the contents size as its natural size
2239         https://bugs.webkit.org/show_bug.cgi?id=156835
2240
2241         Reviewed by Žan Doberšek.
2242
2243         Add test case to check the WebKitWebView preferred size.
2244
2245         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2246         (testWebViewPreferredSize):
2247         (beforeAll):
2248
2249 2016-04-20  Simon Fraser  <simon.fraser@apple.com>
2250
2251         Add content animation tests to benchmark_runner, and allow the runner to collect device data as part of the results
2252         https://bugs.webkit.org/show_bug.cgi?id=156827
2253         
2254         Update the .plan file now that the files are present in SVN.
2255
2256         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
2257
2258 2016-04-20  Simon Fraser  <simon.fraser@apple.com>
2259
2260         Add content animation tests to benchmark_runner, and allow the runner to collect device data as part of the results
2261         https://bugs.webkit.org/show_bug.cgi?id=156827
2262         rdar://problem/24358135
2263
2264         Reviewed by Stephanie Lewis.
2265
2266         Enhance benchmark_runner so that a benchmark can load a set of tests sequentially,
2267         and collate results across them. Also add the ability for the browser_driver to supply
2268         additional results, allowing for tests that collect results data in native code, rather
2269         than generating it in the web page.
2270
2271         Add a set of "content animation" tests that use this new functionality, which test
2272         CSS animation and requestAnimationFrame performance.
2273
2274         'plan' files have two new optional keys:
2275             'test_files': a list of files to run as a suite
2276             'options': optional parameters. Currently supports one new option,
2277                 'animation_command', which affects the way that iOS tests are run,
2278                 and is passed to MobileSafari as a parameter on launch.
2279
2280         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2281         (BenchmarkRunner.__init__): If options is not specified in the plan file, set it to an empty dictionary.
2282         (BenchmarkRunner._get_result): Allow the browser_driver to modify the test results.
2283         (BenchmarkRunner):
2284         (BenchmarkRunner._run_one_test): Factored out of _run_benchmark, this contains logic for
2285         running a single test. It starts and stops the http_server_driver.
2286         (BenchmarkRunner._run_benchmark): Run a test in the traditional way if the plan has an 'entry_point'
2287         key, otherwise look for the new 'test_files' and load each in a loop.
2288         (BenchmarkRunner._dump):
2289         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
2290         (BrowserDriver.launch_url): Pass options.
2291         (BrowserDriver.add_additional_results): Allow a driver to supply additional results.
2292         (BrowserDriver):
2293         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py:
2294         (GTKMiniBrowserDriver.launch_url):
2295         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
2296         (OSXBrowserDriver.close_browsers):
2297         (OSXBrowserDriver._terminate_processes): Fix spelling mistake.
2298         (OSXBrowserDriver._terminiate_processes): Deleted.
2299         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
2300         (OSXChromeDriver.launch_url):
2301         (OSXChromeCanaryDriver.launch_url):
2302         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
2303         (OSXFirefoxDriver.launch_url):
2304         (OSXFirefoxNightlyDriver.launch_url):
2305         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
2306         (OSXSafariDriver.launch_url):
2307         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch: Added.
2308         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan: Added.
2309
2310 2016-04-20  Dustin Falgout  <dustin@falgout.us>
2311
2312         [GTK] Expose AllowUniversalAccessFromFileURLs preference now that calling localStorage.getItem() results in SecurityError: DOM Exception 18
2313         https://bugs.webkit.org/show_bug.cgi?id=156651
2314
2315         Reviewed by Michael Catanzaro.
2316
2317         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
2318         (testWebKitSettings):
2319
2320 2016-04-20  Brady Eidson  <beidson@apple.com>
2321
2322         Modern IDB (Workers): Enable INDEXED_DATABASE_IN_WORKERS compile time flag, but disabled in RuntimeEnabledFeatures.
2323         https://bugs.webkit.org/show_bug.cgi?id=156782
2324
2325         Reviewed by Alex Christensen.
2326
2327         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2328
2329 2016-04-19  Brent Fulgham  <bfulgham@apple.com>
2330
2331         Unreviewed build fix after r199752.
2332
2333         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2334         (FrameLoadDelegate::didChangeIcons): Remove call to removed function.
2335
2336 2016-04-19  Brent Fulgham  <bfulgham@apple.com>
2337
2338         Remove remaining bits of dynamic <link> rel='icon' loading
2339         https://bugs.webkit.org/show_bug.cgi?id=156727
2340
2341         Reviewed by Darin Adler.
2342
2343         Remove unused test infrastructure. This code never existed in WebKit2
2344         testing since was only used on Windows.
2345
2346         * DumpRenderTree/TestRunner.cpp:
2347         (dumpIconChangesCallback): Deleted.
2348         * DumpRenderTree/TestRunner.h:
2349         (TestRunner::dumpIconChanges): Deleted.
2350         (TestRunner::setDumpIconChanges): Deleted.
2351
2352 2016-04-19  Keith Miller  <keith_miller@apple.com>
2353
2354         ObjcInstance::stringValue should not call NSObject's description method
2355         https://bugs.webkit.org/show_bug.cgi?id=156758
2356
2357         Reviewed by Geoffrey Garen.
2358
2359         Add new methods to ObjCController that expose two Types of WebScriptObjects. The first is
2360         an NSObject and the second is an NSArray of NSObjects. These are used to test that we don't
2361         call the NSObjects description method without first swizzling it.
2362
2363         * DumpRenderTree/mac/ObjCController.m:
2364         (+[ObjCController isSelectorExcludedFromWebScript:]):
2365         (+[ObjCController webScriptNameForSelector:]):
2366         (-[ObjCController testArrayOfObjects]):
2367         (-[ObjCController testObject]):
2368
2369 2016-04-18  Dan Bernstein  <mitz@apple.com>
2370
2371         Fixed building with old Xcode.
2372
2373         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm:
2374         (TEST):
2375
2376 2016-04-18  Dean Jackson  <dino@apple.com>
2377
2378         New SPI to export a dictionary of runtime features
2379         https://bugs.webkit.org/show_bug.cgi?id=156645
2380         <rdar://problem/23621666>
2381
2382         Reviewed by Darin Adler.
2383
2384         Test the experimental features SPI on WKPreferences.
2385
2386         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm:
2387
2388 2016-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
2389
2390         [JSCOnly] Implement RunLoop and remove glib dependency
2391         https://bugs.webkit.org/show_bug.cgi?id=155706
2392
2393         Reviewed by Michael Catanzaro.
2394
2395         Add TestWTF to JSCOnly port to test WorkQueue and RunLoop.
2396         Platform specific ones locate under jsconly directory since
2397         it is not `generic` (Since it includes the GLIB event loop case).
2398
2399         * CMakeLists.txt:
2400         * TestWebKitAPI/PlatformJSCOnly.cmake: Added.
2401         * TestWebKitAPI/PlatformUtilities.h:
2402         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
2403         (TestWebKitAPI::TEST):
2404         * TestWebKitAPI/config.h:
2405         * TestWebKitAPI/jsconly/PlatformUtilitiesJSCOnly.cpp: Renamed from Source/WTF/wtf/none/RunLoopNone.cpp.
2406         (TestWebKitAPI::Util::run):
2407         (TestWebKitAPI::Util::sleep):
2408         * TestWebKitAPI/jsconly/main.cpp: Renamed from Source/WTF/wtf/none/WorkQueueNone.cpp.
2409         (main):
2410
2411 2016-04-18  Jon Lee  <jonlee@apple.com>
2412
2413         Update Animometer plan.
2414         https://bugs.webkit.org/show_bug.cgi?id=156652
2415
2416         Reviewed by Darin Adler.
2417
2418         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r199616.
2419
2420 2016-04-18  Dana Burkart  <dburkart@apple.com>
2421
2422         svn-apply: add option for ignoring changes to ChangeLog files
2423         https://bugs.webkit.org/show_bug.cgi?id=156618
2424
2425         Reviewed by Darin Adler.
2426
2427         This change adds a new option to svn-apply, --skip-changelogs, which short-circuits out of
2428         patch() if the file in question is a ChangeLog.
2429
2430         * Scripts/svn-apply:
2431         (patch):
2432
2433 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2434
2435         Pending API Request URL is wrong after reloading
2436         https://bugs.webkit.org/show_bug.cgi?id=139342
2437
2438         Reviewed by Darin Adler.
2439
2440         Update test case to check that the active URL should remain the
2441         same after a reload.
2442
2443         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp:
2444         (TestWebKitAPI::TEST):
2445
2446 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2447
2448         Pending API request URL no set when loading Data, Alternate HTML or plain text
2449         https://bugs.webkit.org/show_bug.cgi?id=136916
2450
2451         Reviewed by Darin Adler.
2452
2453         Add new test to check that active URL is the requested one right
2454         after calling WKPage load methods.
2455
2456         * TestWebKitAPI/PlatformEfl.cmake:
2457         * TestWebKitAPI/PlatformGTK.cmake:
2458         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2459         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp: Added.
2460         (TestWebKitAPI::TEST):
2461         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2462         (WebViewTest::loadPlainText): Remove FIXME.
2463         (WebViewTest::loadBytes): Ditto.
2464         (WebViewTest::loadAlternateHTML): Ditto.
2465
2466 2016-04-18  Commit Queue  <commit-queue@webkit.org>
2467
2468         Unreviewed, rolling out r199660.
2469         https://bugs.webkit.org/show_bug.cgi?id=156691
2470
2471         It broke the iOS build (Requested by KaL on #webkit).
2472
2473         Reverted changeset:
2474
2475         "Pending API request URL no set when loading Data, Alternate
2476         HTML or plain text"
2477         https://bugs.webkit.org/show_bug.cgi?id=136916
2478         http://trac.webkit.org/changeset/199660
2479
2480 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2481
2482         Pending API request URL no set when loading Data, Alternate HTML or plain text
2483         https://bugs.webkit.org/show_bug.cgi?id=136916
2484
2485         Reviewed by Darin Adler.
2486
2487         Add new test to check that active URL is the requested one right
2488         after calling WKPage load methods.
2489
2490         * TestWebKitAPI/PlatformEfl.cmake:
2491         * TestWebKitAPI/PlatformGTK.cmake:
2492         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2493         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp: Added.
2494         (TestWebKitAPI::TEST):
2495         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2496         (WebViewTest::loadPlainText): Remove FIXME.
2497         (WebViewTest::loadBytes): Ditto.
2498         (WebViewTest::loadAlternateHTML): Ditto.
2499
2500 2016-04-18  Jeremy Huddleston Sequoia  <jeremyhu@apple.com>
2501
2502         Fix incorrect assumption that APPLE implies Mac.
2503         https://bugs.webkit.org/show_bug.cgi?id=156679
2504
2505         Addresses build failure introduced in r198947
2506
2507         Reviewed by Alex Christensen.
2508
2509         * CMakeLists.txt:
2510
2511 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2512
2513         [GTK] Test /webkit2/WebKitWebView/mouse-target fails with overlay scrollbars
2514         https://bugs.webkit.org/show_bug.cgi?id=156621
2515
2516         Reviewed by Martin Robinson.
2517
2518         This is a problem of the test itself, we are using an overflow that is not actually scrollable, but that shows
2519         scrollbar troughs when not using overlay scrollbars because it's marked as scrollable. It would be easier to
2520         simply use the main frame scrollbars to test that and it will work no matter of scrollbars are overlay or not.
2521
2522         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2523         (testWebViewMouseTarget): Remove the div and move the mouse over the main frame scrollbar to test scrolbars hit test.
2524
2525 2016-04-17  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2526
2527         [EFL] Bump gstreamer from 1.4.4 to 1.6.3
2528         https://bugs.webkit.org/show_bug.cgi?id=156655
2529
2530         Reviewed by Antonio Gomes.
2531
2532         To support html5 video feature, we should bump gstreamer version.
2533
2534         * efl/jhbuild.modules:
2535         * efl/patches/gst-libav.patch: Update against newer version.
2536         * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed because this patch was merged.
2537
2538 2016-04-16  Sam Weinig  <sam@webkit.org>
2539
2540         More build fixing.
2541
2542         * MiniBrowser/mac/BrowserWindowController.m:
2543         (-[BrowserWindowController share:]):
2544
2545 2016-04-16  Sam Weinig  <sam@webkit.org>
2546
2547         Another build fix.
2548
2549         * MiniBrowser/mac/BrowserWindowController.m:
2550         (-[BrowserWindowController sharingServicePicker:sharingServicesForItems:proposedSharingServices:]):
2551
2552 2016-04-16  Sam Weinig  <sam@webkit.org>
2553
2554         Fix 32-bit build.
2555
2556         * MiniBrowser/mac/BrowserWindowController.m:
2557         (-[BrowserWindowController share:]):
2558         (-[BrowserWindowController fetch:]):
2559         (-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]):
2560
2561 2016-04-15  Sam Weinig  <sam@webkit.org>
2562
2563         Add support for NSSharingService to MiniBrowser, for no great reasons
2564         https://bugs.webkit.org/show_bug.cgi?id=156658
2565
2566         Reviewed by Darin Adler.
2567
2568         * MiniBrowser/mac/BrowserWindow.xib:
2569         * MiniBrowser/mac/BrowserWindowController.h:
2570         Add the share button.
2571
2572         * MiniBrowser/mac/BrowserWindowController.m:
2573         (-[BrowserWindowController windowDidLoad]):
2574         Set the share button to fire it's actions on mouse down, as it is supposed to act like a menu.
2575
2576         (-[BrowserWindowController share:]):
2577         Show the picker when the button is pressed.
2578         (-[BrowserWindowController mainContentView]):
2579         Add a new override to get the main content view of derived classes (either a WKWebView or the WebView).
2580
2581         (-[BrowserWindowController sharingServicePicker:sharingServicesForItems:proposedSharingServices:]):
2582         (-[BrowserWindowController sharingServicePicker:delegateForSharingService:]):
2583         (-[BrowserWindowController sharingServicePicker:didChooseSharingService:]):
2584         (-[BrowserWindowController sharingService:sourceFrameOnScreenForShareItem:]):
2585         (-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]):
2586         (-[BrowserWindowController sharingService:sourceWindowForShareItems:sharingContentScope:]):
2587         Add delegate methods.
2588
2589         * MiniBrowser/mac/WK1BrowserWindowController.m:
2590         (-[WK1BrowserWindowController mainContentView]):
2591         * MiniBrowser/mac/WK2BrowserWindowController.m:
2592         (-[WK2BrowserWindowController mainContentView]):
2593         Implement to return the web view.
2594
2595 2016-04-16  Alexey Proskuryakov  <ap@apple.com>
2596
2597         Build fix.
2598
2599         Temporary workaround for rdar://problem/25754945.
2600
2601         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h:
2602
2603 2016-04-15  Commit Queue  <commit-queue@webkit.org>
2604
2605         Unreviewed, rolling out r199600.
2606         https://bugs.webkit.org/show_bug.cgi?id=156642
2607
2608         It didn't help (Requested by ap_ on #webkit).
2609
2610         Reverted changeset:
2611
2612         "Build fix."
2613         http://trac.webkit.org/changeset/199600
2614
2615 2016-04-15  Alexey Proskuryakov  <ap@apple.com>
2616
2617         Build fix.
2618
2619         * LayoutTestRelay/LayoutTestRelay/main.m: Allow some deprecated methods.
2620
2621 2016-04-14  Alexey Proskuryakov  <ap@apple.com>
2622
2623         Some GuardMalloc bots are not happy when running many parallel processes
2624         https://bugs.webkit.org/show_bug.cgi?id=156614
2625         rdar://problem/24711525
2626
2627         Reviewed by David Kilzer.
2628
2629         * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
2630
2631 2016-04-14  Brent Fulgham  <bfulgham@apple.com>
2632
2633         Make <a download> a runtime enabled option
2634         https://bugs.webkit.org/show_bug.cgi?id=156583
2635         <rdar://problem/25733449>
2636
2637         Reviewed by Alex Christensen.
2638
2639         * DumpRenderTree/mac/DumpRenderTree.mm:
2640         (resetWebPreferencesToConsistentValues):
2641         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2642         (WTR::InjectedBundle::beginTesting):
2643         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2644         (WTR::TestRunner::setDownloadAttributeEnabled):
2645         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2646
2647 2016-04-14  Anders Carlsson  <andersca@apple.com>
2648
2649         Another build fix attempt.
2650
2651         * MiniBrowser/mac/WK2BrowserWindowController.m:
2652
2653 2016-04-14  Anders Carlsson  <andersca@apple.com>
2654
2655         Fix build.
2656
2657         * MiniBrowser/mac/WK2BrowserWindowController.m:
2658         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
2659
2660 2016-04-14  Anders Carlsson  <andersca@apple.com>
2661
2662         [Mac] Add API for open panel handling to WKWebView
2663         https://bugs.webkit.org/show_bug.cgi?id=137759
2664         rdar://problem/23278623
2665
2666         Reviewed by Tim Horton.
2667
2668         Have MiniBrowser implement the new delegate method.
2669
2670         * MiniBrowser/mac/WK2BrowserWindowController.m:
2671         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
2672
2673 2016-04-14  Jiewen Tan  <jiewen_tan@apple.com>
2674
2675         Unreviewed, rolling out r199554.
2676
2677         The change breaks Yosemite Release/Debug build
2678
2679         Reverted changeset:
2680
2681         "[Mac] Add API for open panel handling to WKWebView"
2682         https://bugs.webkit.org/show_bug.cgi?id=137759
2683         http://trac.webkit.org/changeset/199554
2684
2685 2016-04-14  Anders Carlsson  <andersca@apple.com>
2686
2687         [Mac] Add API for open panel handling to WKWebView
2688         https://bugs.webkit.org/show_bug.cgi?id=137759
2689         rdar://problem/23278623
2690
2691         Reviewed by Tim Horton.
2692
2693         Have MiniBrowser implement the new delegate method.
2694
2695         * MiniBrowser/mac/WK2BrowserWindowController.m:
2696         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
2697
2698 2016-04-14  Jon Lee  <jonlee@apple.com>
2699
2700         Update Animometer plan
2701         https://bugs.webkit.org/show_bug.cgi?id=156569
2702
2703         Reviewed by Alex Christensen.
2704
2705         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r199328. Includes update to screen
2706         resolution, starting with complexity of 1, and fixing SVG, multiply, and text tests.
2707
2708 2016-04-13  Alex Christensen  <achristensen@webkit.org>
2709
2710         CMake MiniBrowser should be an app bundle
2711         https://bugs.webkit.org/show_bug.cgi?id=156521
2712
2713         Reviewed by Brent Fulgham.
2714
2715         * MiniBrowser/mac/CMakeLists.txt:
2716         Make an app bundle and compile nibs.
2717         * MiniBrowser/mac/Info.plist:
2718         CMake doesn't know what to do with :rfc1034identifier and there's no reason to keep it.  This is just MiniBrowser.
2719
2720 2016-04-13  Chris Dumez  <cdumez@apple.com>
2721
2722         We should not speculatively revalidate cached redirects
2723         https://bugs.webkit.org/show_bug.cgi?id=156548
2724         <rdar://problem/25583886>
2725
2726         Reviewed by Darin Adler.
2727
2728         Re-enable speculative loading in the context of layout tests. This was
2729         turned off by mistake when speculative loading was turned into a
2730         setting recently.
2731
2732         * WebKitTestRunner/TestController.cpp:
2733         (WTR::TestController::generatePageConfiguration):
2734
2735 2016-04-12  Alexey Proskuryakov  <ap@apple.com>
2736
2737         Python test webkitpy.common.system.executive_unittest.ExecutiveTest.serial_test_kill_process is flaky
2738         https://bugs.webkit.org/show_bug.cgi?id=155367
2739
2740         Reviewed by Darin Adler.
2741
2742         * Scripts/webkitpy/common/system/executive.py: (Executive.kill_process):
2743         Don't flakily consume the return code with waitpid, callers need to do waitpid on
2744         their own. Not sure if this line of code was even intentional.
2745
2746 2016-04-12  Myles C. Maxfield  <mmaxfield@apple.com>
2747
2748         [OS X] Flakey crash after ScrollAnimatorMac destruction
2749         https://bugs.webkit.org/show_bug.cgi?id=156372
2750
2751         Reviewed by Darin Adler.
2752
2753         Implement the new <!-- webkit-test-runner --> flag.
2754
2755         * WebKitTestRunner/TestController.cpp:
2756         (WTR::TestController::createWebViewWithOptions):
2757         (WTR::TestController::ensureViewSupportsOptionsForTest):
2758         (WTR::TestController::resetPreferencesToConsistentValues):
2759         (WTR::TestController::resetStateToConsistentValues):
2760         (WTR::updateTestOptionsFromTestHeader):
2761         * WebKitTestRunner/TestController.h:
2762         * WebKitTestRunner/TestInvocation.cpp:
2763         (WTR::TestInvocation::invoke):
2764         * WebKitTestRunner/TestOptions.h:
2765         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2766         (WKR::PlatformWebView::viewSupportsOptions):
2767
2768 2016-04-12  Tomas Popela  <tpopela@redhat.com>
2769
2770         Modify the CXXFLAGS in webkitdirs.pm just on architectures where the flags are supported
2771         https://bugs.webkit.org/show_bug.cgi?id=156338
2772
2773         Reviewed by Michael Catanzaro.
2774
2775         Add the "-march=pentium4 -msse2 -mfpmath=sse " into the CXXFLAGS just
2776         for the i686 where it is supported and not for other architectures
2777         (such as s390(x) and ppc(64)) where the build will fail with these
2778         CXXFLAGS.
2779
2780         * Scripts/webkitdirs.pm:
2781         (generateBuildSystemFromCMakeProject):
2782
2783 2016-04-11  Alex Christensen  <achristensen@webkit.org>
2784
2785         Build MiniBrowser with CMake on Mac
2786         https://bugs.webkit.org/show_bug.cgi?id=156471
2787
2788         Reviewed by Daniel Bates.
2789
2790         * CMakeLists.txt:
2791         * DumpRenderTree/CMakeLists.txt:
2792         * DumpRenderTree/PlatformWin.cmake:
2793         * MiniBrowser/mac/CMakeLists.txt: Added.
2794
2795 2016-04-11  Ryuan Choi  <ryuan.choi@navercorp.com>
2796
2797         [EFL] Do not pass context to EwkViewCreate
2798         https://bugs.webkit.org/show_bug.cgi?id=156461
2799
2800         Reviewed by Darin Adler.
2801
2802         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
2803         (TestWebKitAPI::TEST): Removed context argument from EwkViewCreate calls.
2804         * TestWebKitAPI/efl/PlatformWebView.cpp:
2805         (TestWebKitAPI::PlatformWebView::PlatformWebView): Ditto.
2806         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2807         (WTR::PlatformWebView::PlatformWebView): Ditto.
2808
2809 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
2810
2811         [CMake] Make FOLDER property INHERITED
2812         https://bugs.webkit.org/show_bug.cgi?id=156460
2813
2814         Reviewed by Brent Fulgham.
2815
2816         * CMakeLists.txt:
2817         * DumpRenderTree/CMakeLists.txt:
2818         * DumpRenderTree/PlatformWin.cmake:
2819         * ImageDiff/CMakeLists.txt:
2820         * MiniBrowser/efl/CMakeLists.txt:
2821         * MiniBrowser/gtk/CMakeLists.txt:
2822         * MiniBrowser/win/CMakeLists.txt:
2823         Set FOLDER property as a directory property not a target property
2824
2825 2016-04-10  Caitlin Potter  <caitp@igalia.com>
2826
2827         [Tools] correctly check for braces in multiline branches in macro definition
2828         https://bugs.webkit.org/show_bug.cgi?id=156441
2829
2830         Reviewed by Darin Adler.
2831
2832         Prevents emitting whitespace/braces warning for code like the
2833         following:
2834
2835         ```
2836         #define MACRO(x) \
2837             if (x) { \
2838                 doTheThing(); \
2839                 continue; \
2840             }
2841         ```
2842
2843         * Scripts/webkitpy/style/checkers/cpp.py:
2844         (check_braces):
2845         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2846         (WebKitStyleTest.test_line_breaking):
2847
2848 2016-04-08  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2849
2850         Testharness-based tests that time out should be able to produce a detailed output
2851         https://bugs.webkit.org/show_bug.cgi?id=145313
2852
2853         Reviewed by Xabier Rodriguez-Calvar.
2854
2855         Adding timeout readonly accessor to TestRunner for both WK1 and WK2.
2856
2857         * DumpRenderTree/TestRunner.cpp:
2858         (getTimeoutCallback): The js "timeout" property getter.
2859         (TestRunner::staticValues): Adding "timeout" property to DumpRenderTree so that testRunner.timeout called from JS returns the timeout value.
2860         * DumpRenderTree/TestRunner.h:
2861         (TestRunner::timeout): Adding access to DRT m_timeout private value.
2862         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Adding timeout readonly attribute so that testRunner.timeout can be called from JS.
2863         * WebKitTestRunner/InjectedBundle/TestRunner.h: Adding DOM timeout getter to implement timeout IDL definition.
2864         (WTR::TestRunner::timeout):
2865
2866 2016-04-07  Joseph Pecoraro  <pecoraro@apple.com>
2867
2868         stylebot should know about TestWebKitAPI FeatureDefines.xcconfig
2869         https://bugs.webkit.org/show_bug.cgi?id=156387
2870
2871         Rubber-stamped by Dan Bernstein.
2872
2873         * Scripts/webkitpy/style/checkers/featuredefines.py:
2874         (FeatureDefinesChecker.check):
2875
2876 2016-04-07  Joseph Pecoraro  <pecoraro@apple.com>
2877
2878         Remove ENABLE(ENABLE_ES6_CLASS_SYNTAX) guards
2879         https://bugs.webkit.org/show_bug.cgi?id=156384
2880
2881         Reviewed by Ryosuke Niwa.
2882
2883         * Scripts/webkitperl/FeatureList.pm:
2884         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2885
2886 2016-04-06  Dean Jackson  <dino@apple.com>
2887
2888         Watchlist modifications:
2889         - remove roger_fong
2890         - add myself to a few areas
2891         - remove graouts from WebInspectorAPI
2892
2893         * Scripts/webkitpy/common/config/watchlist:
2894
2895 2016-04-07  Simon Fraser  <simon.fraser@apple.com>
2896
2897         Make it possible to test effect of view exposed rect on tiled backing
2898         https://bugs.webkit.org/show_bug.cgi?id=156365
2899
2900         Reviewed by Tim Horton.
2901
2902         Expose testRunner.setViewSize() and internals.setViewExposedRect() to enable
2903         testing of tile coverage when setViewExposedRect() is passed a non-null rectangle.
2904
2905         testRunner.setViewSize() is used instead of using window.resizeTo(), since we
2906         can't easily resize a window to larger than the screen being tested on.
2907
2908         * DumpRenderTree/TestRunner.cpp:
2909         (setViewSizeCallback):
2910         (TestRunner::staticFunctions):
2911         * DumpRenderTree/TestRunner.h:
2912         * DumpRenderTree/mac/TestRunnerMac.mm:
2913         (TestRunner::setViewSize):
2914         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2915         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2916         (WTR::InjectedBundle::postSetViewSize):
2917         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2918         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2919         (WTR::TestRunner::setViewSize):
2920         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2921         * WebKitTestRunner/TestInvocation.cpp:
2922         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2923
2924 2016-04-07  Jason Marcell  <jmarcell@apple.com>
2925
2926         Adding layout tests for the bot watcher's dashboard QUnit tests.
2927         https://bugs.webkit.org/show_bug.cgi?id=155272
2928
2929         Reviewed by Daniel Bates.
2930
2931         Moved supporting resources into a resources folder and updated index.html accordingly
2932         to point to the new locations. Added code to tests.js to dumpAsText when QUnit is done.
2933
2934         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt: Added.
2935         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Updated to point to tests.js and Mock files in resources directory.
2936         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js: Renamed from
2937         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js.
2938         (MockBuildbotQueue):
2939         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js: Renamed from
2940         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js.
2941         (MockBuildbotQueueView):
2942         (MockBuildbotQueueView.prototype._latestProductiveIteration):
2943         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js: Renamed from
2944         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js.
2945         (MockTrac):
2946         (MockTrac.prototype.get oldestRecordedRevisionNumber):
2947         (MockTrac.prototype.get latestRecordedRevisionNumber):
2948         (MockTrac.prototype.loadMoreHistoricalData):
2949         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml: Renamed from
2950         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml.
2951         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml: Renamed from
2952         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml.
2953         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Renamed from
2954         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js.
2955         Updated the unit tests for Trac._loaded() to point to the XML files that are now located in the 'resources' directory.
2956         (QUnit.done): Added. Removes machine-specific output from test results and calls testRunner.notifyDone to let the layout test harness know that all testing is done.
2957         * Scripts/run-dashboard-tests: Added.
2958
2959 2016-04-06  ChangSeok Oh  <changseok@webkit.org>
2960
2961         Unreviewed, Update my primary email address and expertise.
2962
2963         * Scripts/webkitpy/common/config/contributors.json:
2964
2965 2016-04-06  Jon Lee  <jonlee@apple.com>
2966
2967         Update the Animometer patch and plan files
2968         https://bugs.webkit.org/show_bug.cgi?id=156263
2969
2970         Reviewed by Ryosuke Niwa.
2971
2972         Measure the latest set of tests by updating the plan revision to r199134.
2973
2974         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Update to run the master suite only.
2975         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to use the release page instead
2976         of the developer page.
2977
2978 2016-04-06  Saam barati  <sbarati@apple.com>
2979
2980         jsc-layout-tests.yaml/js/script-tests/regress-141098.js failing on Yosemite Debug after r198989
2981         https://bugs.webkit.org/show_bug.cgi?id=156187
2982
2983         Reviewed by Keith Miller.
2984
2985         * Scripts/run-jsc-stress-tests:
2986
2987 2016-04-06  Alex Christensen  <achristensen@webkit.org>
2988
2989         Compile WebKitTestRunner with CMake on Mac
2990         https://bugs.webkit.org/show_bug.cgi?id=156310
2991
2992         Reviewed by Daniel Bates.
2993
2994         * CMakeLists.txt:
2995         * WebKitTestRunner/CMakeLists.txt:
2996         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2997         * WebKitTestRunner/PlatformEfl.cmake:
2998         * WebKitTestRunner/PlatformGTK.cmake:
2999         * WebKitTestRunner/PlatformMac.cmake: Added.
3000
3001 2016-04-05  Simon Fraser  <simon.fraser@apple.com>
3002
3003         Implement operator== and operator!= for Optional<>
3004         https://bugs.webkit.org/show_bug.cgi?id=156266
3005
3006         Reviewed by Anders Carlsson.
3007
3008         * TestWebKitAPI/Tests/WTF/Optional.cpp:
3009         (TestWebKitAPI::TEST):
3010
3011 2016-04-05  Alex Christensen  <achristensen@webkit.org>
3012
3013         Make CMake-generated binaries on Mac able to run
3014         https://bugs.webkit.org/show_bug.cgi?id=156268
3015
3016         Reviewed by Daniel Bates.
3017
3018         * DumpRenderTree/CMakeLists.txt:
3019         * DumpRenderTree/PlatformMac.cmake:
3020         * DumpRenderTree/PlatformWin.cmake:
3021         * TestWebKitAPI/PlatformMac.cmake:
3022
3023 2016-04-05  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3024
3025         [Fetch API] Add a runtime flag to fetch API and related constructs
3026         https://bugs.webkit.org/show_bug.cgi?id=156113
3027  
3028         Reviewed by Alex Christensen.
3029
3030         * DumpRenderTree/TestRunner.h:
3031         * DumpRenderTree/mac/DumpRenderTree.mm:
3032         (resetWebPreferencesToConsistentValues):
3033         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3034         (WTR::InjectedBundle::beginTesting):
3035         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3036         (WTR::TestRunner::setWebGL2Enabled):
3037         (WTR::TestRunner::setFetchAPIEnabled):
3038         (WTR::TestRunner::setAllowUniversalAccessFromFileURLs):
3039         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3040
3041 2016-04-05  Keith Miller  <keith_miller@apple.com>
3042
3043         Make Keith a reviewer!
3044         https://bugs.webkit.org/show_bug.cgi?id=156246
3045
3046         Reviewed by Mark Lam.
3047
3048         * Scripts/webkitpy/common/config/contributors.json:
3049
3050 2016-04-05  Antoine Quint  <graouts@apple.com>
3051
3052         [WebGL2] Allow enabling WebGL2 with a runtime flag
3053         https://bugs.webkit.org/show_bug.cgi?id=156166
3054         <rdar://problem/25526929>
3055
3056         Always enable WebGL2 during testing.
3057
3058         Reviewed by Dean Jackson.
3059
3060         * DumpRenderTree/mac/DumpRenderTree.mm:
3061         (resetWebPreferencesToConsistentValues):
3062         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3063         (WTR::InjectedBundle::beginTesting):
3064         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3065         (WTR::TestRunner::setWebGL2Enabled):
3066         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3067
3068 2016-04-04  Bill Ming  <mbbill@gmail.com>
3069
3070         [win] run-webkit-tests failed to launch DumpRenderTree
3071         https://bugs.webkit.org/show_bug.cgi?id=156150
3072
3073         Reviewed by Alex Christensen.
3074
3075         * Tools/Scripts/webkitpy/port/base.py:
3076
3077 2016-04-04  Bill Ming  <mbbill@gmail.com>
3078
3079         prepare-ChangeLog set endl incorrectly.
3080         https://bugs.webkit.org/show_bug.cgi?id=156151
3081
3082         Reviewed by Alex Christensen.
3083
3084         * Tools/Scripts/prepare-ChangeLog:
3085
3086 2016-04-03  Sam Weinig  <sam@webkit.org>
3087
3088         Add SPI to allow install script message handlers in isolated worlds
3089         https://bugs.webkit.org/show_bug.cgi?id=156153
3090
3091         Reviewed by Anders Carlsson.
3092
3093         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
3094         Add new test, WKUserContentController.ScriptMessageHandlerBasicPostIsolatedWorld
3095
3096 2016-04-04  Jiewen Tan  <jiewen_tan@apple.com>
3097
3098         Build fix for r198956.
3099
3100         Unreviewed.
3101
3102         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
3103         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
3104         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
3105         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3106
3107 2016-04-04  Bill Ming  <mbbill@gmail.com>
3108
3109         [win] prepare-ChangeLog should treat windows path differently.
3110         https://bugs.webkit.org/show_bug.cgi?id=156120
3111
3112         Reviewed by Brent Fulgham.
3113
3114         * Scripts/prepare-ChangeLog:
3115
3116 2016-04-04  Alejandro G. Castro  <alex@igalia.com>
3117
3118         REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations
3119         https://bugs.webkit.org/show_bug.cgi?id=156164
3120
3121         Reviewed by Philippe Normand.
3122
3123         Enable the new WEB_RTC option by default for Gtk+.
3124
3125         * Scripts/webkitperl/FeatureList.pm:
3126
3127 2016-04-03  Dan Bernstein  <mitz@apple.com>
3128
3129         Use the correct value for the first nightly build with frameworks built for OS X 10.11.
3130
3131         * Scripts/bisect-builds:
3132         (makeNightlyList):
3133
3134 2016-04-03  Dan Bernstein  <mitz@apple.com>
3135
3136         Made bisect-builds work again.
3137
3138         Rubber-stamped by Sam Weinig.
3139
3140         * Scripts/bisect-builds:
3141         Changed to use HTTPS to access nightly.webkit.org, and added a minimum revision for OS X 10.11.
3142
3143 2016-04-01  Jiewen Tan  <jiewen_tan@apple.com>
3144
3145         Build fix for r198956.
3146
3147         Unreviewed.
3148
3149         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3150         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLChange.mm.
3151         (-[ProvisionalURLNotChangeController webView:didFinishNavigation:]):
3152         (-[ProvisionalURLNotChangeController webView:didFailProvisionalNavigation:withError:]):
3153         (TEST):
3154         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
3155         (-[LoadInvalidSchemeDelegate browsingContextController:didFailProvisionalLoadWithError:]):
3156         (TestWebKitAPI::TEST):
3157
3158 2016-04-01  Jiewen Tan  <jiewen_tan@apple.com>
3159
3160         WebKit should dispatchDidFailProvisionalLoad while loading invalid URLs
3161         https://bugs.webkit.org/show_bug.cgi?id=155995
3162         <rdar://problem/14967004>
3163
3164         Reviewed by Andy Estes.
3165
3166         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3167         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm:
3168         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFailProvisionalNavigation:withError:]):
3169         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didStartProvisionalNavigation:]):
3170         (TEST):
3171         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm: Added.
3172         (literalURL):
3173         (-[LoadInvalidURLNavigationActionDelegate webView:didCommitNavigation:]):
3174         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
3175         (TestWebKitAPI::TEST):
3176         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html: Added.
3177         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm: Added.
3178         (-[LoadInvalidURLWebFrameLoadDelegate webView:didCommitLoadForFrame:]):
3179         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3180         (TestWebKitAPI::TEST):
3181
3182 2016-04-01  Brent Fulgham  <bfulgham@apple.com>
3183
3184         Confirm <a download> satisfies specification criteria
3185         https://bugs.webkit.org/show_bug.cgi?id=156057
3186
3187         Reviewed by Andy Estes.
3188
3189         Revise WebKitTestRunner:
3190         (1) Provide a download client delegate.
3191         (2) Teach WKTR to wait to finish a test until a download finishes.
3192         (3) Allow WKTR to notify the current TestRunner that it can finish.
3193
3194         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3195         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3196         (WTR::InjectedBundle::didReceiveMessageToPage): Update to recognize a new
3197         message "NotifyDownloadDone".
3198         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3199         (WTR::InjectedBundlePage::decidePolicyForNavigationAction): Handle 'download'
3200         attribute case.
3201         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3202         (WTR::TestRunner::waitUntilDownload): Added.
3203         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3204         (WTR::TestRunner::shouldFinishAfterDownload): Added.
3205         * WebKitTestRunner/TestController.cpp:
3206         (WTR::TestController::createWebViewWithOptions): Set up the download client.
3207         (WTR::TestController::downloadDidStart): Added.
3208         (WTR::TestController::decideDestinationWithSuggestedFilename): Added.
3209         (WTR::TestController::downloadDidFinish): Added.
3210         (WTR::TestController::downloadDidFail): Added.
3211         (WTR::TestController::downloadDidCancel): Added.
3212         * WebKitTestRunner/TestController.h:
3213         * WebKitTestRunner/TestInvocation.cpp:
3214         (WTR::TestInvocation::notifyDownloadDone): Added.
3215         * WebKitTestRunner/TestInvocation.h:
3216
3217 2016-04-01  Alex Christensen  <achristensen@webkit.org>
3218
3219         Compile DumpRenderTree with CMake on Mac
3220         https://bugs.webkit.org/show_bug.cgi?id=156088
3221
3222         Reviewed by Brent Fulgham.
3223
3224         * CMakeLists.txt:
3225         * DumpRenderTree/CMakeLists.txt:
3226         * DumpRenderTree/DefaultPolicyDelegate.m:
3227         (-[DefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3228         * DumpRenderTree/DumpRenderTreeFileDraggingSource.m:
3229         * DumpRenderTree/PlatformMac.cmake: Added.
3230         * DumpRenderTree/PlatformWin.cmake:
3231         * DumpRenderTree/mac/AppleScriptController.m:
3232         (convertAEDescToObject):
3233         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
3234         * DumpRenderTree/mac/LayoutTestHelper.m:
3235
3236 2016-03-31  Bill Ming  <mbbill@gmail.com>
3237
3238         https://bugs.webkit.org/show_bug.cgi?id=156094
3239         [Win] TestWebCore target build sometimes fail.
3240
3241         Reviewed by Alex Christensen.
3242
3243         * Tools/TestWebKitAPI/PlatformWin.cmake:
3244
3245 2016-03-31  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3246
3247         [EFL] Bump EFL version to 1.17.0
3248         https://bugs.webkit.org/show_bug.cgi?id=153008
3249
3250         Reviewed by Michael Catanzaro.
3251
3252         Original author is Csaba Osztrogonác  <ossy@webkit.org>
3253
3254         * efl/jhbuild.modules:
3255
3256 2016-03-31  Daniel Bates  <dabates@apple.com>
3257
3258         run-webkit-tests fails to create user's cache directory when System Integrity Protection is enabled
3259         https://bugs.webkit.org/show_bug.cgi?id=156071
3260         <rdar://problem/25467827>
3261
3262         Reviewed by Brent Fulgham.
3263
3264         Fixes an issue where run-webkit-tests will fail to create the suffixed user's cache directory
3265         on non-Apple Internal machines with System Integrity Protection enabled because the OS only
3266         honors the suffix, specified by the environment variable DIRHELPER_USER_DIR_SUFFIX, in
3267         privileged processes. And python(1) does not have sufficient privileges. As a workaround for
3268         systems that have System Integrity Protection enabled we compute the path to the suffixed
3269         user's cache directory by hand.
3270
3271         Additionally, fix an issue where the user's cache directory created by run-webkit-test was
3272         never deleted on cessation of the test run.
3273
3274         * Scripts/webkitpy/port/driver.py:
3275         (Driver._start): Actually store the path to the user's cache directory in self._driver_user_cache_directory
3276         so that we can delete this directory on cessation of the test run.
3277         * Scripts/webkitpy/port/mac.py:
3278         (MacPort):
3279         (MacPort._path_to_user_cache_directory): Unset the environment variable DIRHELPER_USER_DIR_SUFFIX (if set),
3280         query the OS for the path to the user's cache directory and concatenate this path with the
3281         specified suffix.
3282
3283 2016-03-31  Jiewen Tan  <jiewen_tan@apple.com>
3284
3285         WebKit should set Original URL of a download request correctly
3286         https://bugs.webkit.org/show_bug.cgi?id=155914
3287         <rdar://problem/10473811>
3288
3289         Reviewed by Anders Carlsson.
3290
3291         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3292         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
3293         (-[DownloadRequestOriginalURLDelegate initWithExpectOriginalURL:]):
3294         (-[DownloadRequestOriginalURLDelegate _downloadDidStart:]):
3295         (-[DownloadRequestOriginalURLNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
3296         (TEST):
3297         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL.html: Added.
3298         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL2.html: Added.
3299         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURLFrame.html: Added.
3300
3301 2016-03-30  Dewei Zhu  <dewei_zhu@apple.com>
3302
3303         Extend animometer timeout for slow CPUs.
3304         https://bugs.webkit.org/show_bug.cgi?id=156047
3305
3306         Reviewed by Ryosuke Niwa.
3307
3308         Extend animometer timeout to 30 minutes for slow device.
3309
3310         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan:
3311
3312 2016-03-30  Daniel Bates  <dabates@apple.com>
3313
3314         run-webkit-tests must create parent directory of user's cache directory before running tests
3315         https://bugs.webkit.org/show_bug.cgi?id=156009
3316         <rdar://problem/25442682>
3317
3318         Reviewed by Alexey Proskuryakov.
3319
3320         The script run-webkit-tests must create the parent directory of the user's cache directory
3321         before running tests because a WebKit2 child process expects that this directory exists
3322         when it starts.
3323
3324         The script run-webkit-tests influences the path chosen by a WebKit2 child process for the
3325         user's temporary directory and user's cache directory via the environment variable
3326         DIRHELPER_USER_DIR_SUFFIX. For the user's temporary directory, run-webkit-tests creates it
3327         as part of setting up the test environment. But run-webkit-tests does not create the user's
3328         cache directory. Therefore there is race between the time AppKit creates it and when the
3329         launched WebContent and Network processes query for the path to the user's cache directory
3330         such that the OS may return the empty string to the WebContent and Network processes if
3331         queried for this directory before AppKit creates it.
3332
3333         * Scripts/webkitpy/port/base.py:
3334         (Port._path_to_user_cache_directory): Added. Base class implementation that returns the
3335         empty string. We will override this method for the OS X port to return the path to the
3336         user's cache directory with the specified suffix.
3337         (Port.remove_cache_directory): Deleted.
3338         * Scripts/webkitpy/port/driver.py:
3339         (Driver.__init__): Initialize self._driver_user_directory_suffix and self._driver_user_cache_directory
3340         to the suffix to use for the user's temporary and cache directories and the path to the
3341         user's cache directory, respectively.
3342         (Driver._setup_environ_for_driver): Modified to set the environment variable DIRHELPER_USER_DIR_SUFFIX
3343         to self._driver_user_directory_suffix.
3344         (Driver._start): Compute the user directory suffix and the path to the user's cache
3345         directory. Create the user's cache directory (if applicable).
3346         (Driver.stop): Modified to remove directory self._driver_user_cache_directory (if applicable).
3347         * Scripts/webkitpy/port/mac.py:
3348         (MacPort.user_cache_directory): Added. Overrides Port._path_to_user_cache_directory().
3349         (MacPort.remove_cache_directory): Deleted.
3350
3351 2016-03-29  Benjamin Poulain  <bpoulain@apple.com>
3352
3353         [WTF] Removing a smart pointer from HashTable issues two stores to the same location
3354         https://bugs.webkit.org/show_bug.cgi?id=155676
3355
3356         Reviewed by Darin Adler.
3357
3358         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3359         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
3360
3361 2016-03-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
3362
3363         Add machine-readable results for JSC stress tests
3364         https://bugs.webkit.org/show_bug.cgi?id=155771
3365
3366         Reviewed by Darin Adler and Dean Johnson
3367
3368         Add an option to output JSC stress test results to a user-specified file in JSON format.
3369
3370         * Scripts/run-javascriptcore-tests:
3371         (runJSCStressTests): Add JSON output support
3372         (readAllLines): Remove trailing newline from the end of each item
3373
3374 2016-03-29  Alex Christensen  <achristensen@webkit.org>
3375
3376         Fix Windows build.
3377
3378         * TestWebKitAPI/PlatformWin.cmake:
3379
3380 2016-03-29  Timothy Hatcher  <timothy@apple.com>
3381
3382         Update WebKit nightly to have a red needle to better match Safari
3383
3384         https://bugs.webkit.org/show_bug.cgi?id=155983
3385
3386         Reviewed by Joseph Pecoraro.
3387
3388         * WebKitLauncher/webkit.icns:
3389
3390 2016-03-28  Joanmarie Diggs  <jdiggs@igalia.com>
3391
3392         Adding myself as a reviewer.
3393
3394         Unreviewed.
3395
3396         * Scripts/webkitpy/common/config/contributors.json:
3397
3398 2016-03-25  Dewei Zhu  <dewei_zhu@apple.com>
3399
3400         Dromaeo patch used by run-benchmark should not include an invalid address.
3401         https://bugs.webkit.org/show_bug.cgi?id=155910
3402
3403         Reviewed by Ryosuke Niwa.
3404
3405         Should not use invalid 'http://127.0.0.1/Icons/w3c_home' in the patched version of test.
3406         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch:
3407
3408 2016-03-25  Daniel Bates  <dabates@apple.com>
3409
3410         Add WebKitSystemInterface for iOS 9.3
3411         https://bugs.webkit.org/show_bug.cgi?id=155893
3412
3413         Rubber-stamped by Alexey Proskuryakov.
3414
3415         * Scripts/copy-webkitlibraries-to-product-directory:
3416
3417 2016-03-25  Daniel Bates  <dabates@apple.com>
3418
3419         Use webkitdirs::determineXcodeSDK() instead of webkitdirs::willUseIOSDeviceSDK()
3420         in copy-webkitlibraries-to-product-directory
3421         https://bugs.webkit.org/show_bug.cgi?id=155869
3422
3423         Reviewed by Alexey Proskuryakov.
3424
3425         It is sufficient and more direct to call webkitdirs::determineXcodeSDK() instead of
3426         webkitdirs::willUseIOSDeviceSDK() to process the --sdk/--device/--ios-simulator command
3427         line argument.
3428
3429         * Scripts/copy-webkitlibraries-to-product-directory:
3430
3431 2016-03-25  Konstantin Tokarev  <annulen@yandex.ru>
3432
3433         Turned on ENABLE_REQUEST_ANIMATION_FRAME by default for any port.
3434         https://bugs.webkit.org/show_bug.cgi?id=155882
3435
3436         Reviewed by Michael Catanzaro.
3437
3438         It was already enabled in all trunk ports, and is required for
3439         WebInspectorUI to work.
3440
3441         * Scripts/webkitperl/FeatureList.pm:
3442
3443 2016-03-24  Jeremy Zerfas  <WebKit@JeremyZerfas.com>
3444
3445         Improve update-webkit-dependency script.
3446         https://bugs.webkit.org/show_bug.cgi?id=155576
3447
3448         Reviewed by Brent Fulgham.
3449
3450         * Scripts/update-webkit-dependency:
3451         -Updated script to also use ETags for helping to determine whether dependency is up to date.
3452         -Updated script so it usually won't need to download the entire dependency each time it is
3453          ran.
3454         -Updated script to ensure zip file contains expected directories before trying to install.
3455         -Added some more error checking and improved error messages.
3456         (lastModifiedToUnixTime): Deleted.
3457
3458         * Scripts/update-webkit-wincairo-libs:
3459         -Corrected comment about what script does.
3460
3461 2016-03-24 Bill Ming <mbbill@gmail.com>
3462
3463         Fix webkitpy tests after r198617
3464         https://bugs.webkit.org/show_bug.cgi?id=155827
3465
3466         Reviewed by Alex Christensen.
3467
3468         * Scripts/webkitpy/tool/steps/confirmdiff.py:
3469         (ConfirmDiff._show_pretty_diff):
3470
3471 2016-03-23  Bill Ming  <mbbill@gmail.com>
3472
3473         webkit-patch failed to open pretty diff on Windows
3474         https://bugs.webkit.org/show_bug.cgi?id=155827
3475
3476         Reviewed by Alex Christensen.
3477
3478         * Scripts/webkitpy/tool/steps/confirmdiff.py:
3479         (ConfirmDiff._show_pretty_diff):
3480
3481 2016-03-23  Jer Noble  <jer.noble@apple.com>
3482
3483         [ios-sim] RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForVideoButNotAudioPlayback failing
3484         https://bugs.webkit.org/show_bug.cgi?id=155764
3485
3486         Reviewed by Eric Carlson.
3487
3488         Remove the requirement for media elements to have webkit-playsinline attributes on iOS.
3489
3490         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
3491         (RequiresUserActionForPlaybackTest::SetUp):
3492
3493 2016-03-23  Anders Carlsson  <andersca@apple.com>
3494
3495         Crash when using KVO from within -[WebView initWithCoder:]
3496         https://bugs.webkit.org/show_bug.cgi?id=155816
3497         rdar://problem/17073265
3498
3499         Reviewed by Dan Bernstein.
3500
3501         Add test.
3502
3503         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3504         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm: Added.
3505         (-[EarlyKVOCrashResponder initWithWebView:]):
3506         (-[EarlyKVOCrashResponder initWithCoder:]):
3507         (-[EarlyKVOCrashResponder dealloc]):
3508         (-[EarlyKVOCrashResponder encodeWithCoder:]):
3509         (TestWebKitAPI::TEST):
3510
3511 2016-03-23  Lucas Forschler  <lforschler@apple.com>
3512
3513         Teach kill-old-processes about perl 5.18.
3514         
3515         Reviewed by Alexey Proskuryakov
3516
3517         * BuildSlaveSupport/kill-old-processes:
3518         (main):
3519
3520 2016-03-22  Keith Rollin  <krollin@apple.com>
3521
3522         Unreviewed: add Keith Rollin to the committers list.
3523
3524         * Scripts/webkitpy/common/config/contributors.json:
3525
3526 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
3527
3528         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
3529         https://bugs.webkit.org/show_bug.cgi?id=141499
3530
3531         Reviewed by Brent Fulgham.
3532
3533         As we have moved on to VS2015, this workaround is no longer needed.
3534
3535         * DumpRenderTree/cg/ImageDiffCG.cpp:
3536         (main):
3537         * DumpRenderTree/win/DumpRenderTree.cpp:
3538         (main):
3539         * DumpRenderTree/win/ImageDiffCairo.cpp:
3540         (main):
3541         * MiniBrowser/win/Common.cpp:
3542         (DllMain):
3543         * TestWebKitAPI/win/main.cpp:
3544         (main):
3545         * win/DLLLauncher/DLLLauncherMain.cpp:
3546         (wWinMain):
3547
3548 2016-03-22  Yusuke Suzuki  <utatane.tea@gmail.com>
3549
3550         [JSC] ASMBench cannot be run without JSBENCH_PATH
3551         https://bugs.webkit.org/show_bug.cgi?id=155751
3552
3553         Reviewed by Saam Barati.
3554
3555         Check ASMBENCH_PATH instead of JSBENCH_PATH for ASMBench files.
3556
3557         * Scripts/run-jsc-benchmarks:
3558
3559 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
3560
3561         [Win] SharedBuffer::copy() can cause a segmentation fault.
3562         https://bugs.webkit.org/show_bug.cgi?id=155739
3563
3564         Reviewed by Ryosuke Niwa.
3565
3566         * TestWebKitAPI/PlatformWin.cmake: Build and run the
3567         SharedBuffer tests.
3568
3569 2016-03-22  Csaba Osztrogonác  <ossy@webkit.org>
3570
3571         [buildbot] Move ARM Linux bots to JSCOnly port
3572         https://bugs.webkit.org/show_bug.cgi?id=155655
3573
3574         Reviewed by Lucas Forschler.
3575
3576         * BuildSlaveSupport/build.webkit.org-config/config.json:
3577         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3578         (ConfigureBuild.__init__):
3579         (appendCustomBuildFlags):
3580         (CompileJSCOnly):
3581         (Factory.__init__):
3582         (BuildAndRemoteJSCTestsFactory):
3583         (BuildAndRemoteJSCTestsFactory.__init__):
3584         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3585         * BuildSlaveSupport/clean-build:
3586         (main):
3587
3588 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
3589
3590         Improve SharedBuffer testing
3591         https://bugs.webkit.org/show_bug.cgi?id=93078
3592         <rdar://problem/25277829>
3593
3594         Reviewed by Ryosuke Niwa.
3595
3596         Based on a Blink patch by Huang Dongsung <luxtella@company100.net>.
3597         <https://src.chromium.org/viewvc/blink?revision=153850&view=revision,
3598         and a Blink patch by <tyoshino@chromium.org>
3599         <https://src.chromium.org/viewvc/blink?view=rev&revision=151617>
3600
3601         Add three test cases from the Blink project that cover various append,
3602         copy, and createArrayBuffer calls.
3603
3604         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp:
3605         (TestWebKitAPI::TEST_F):
3606
3607 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com>
3608
3609         [Win] Connect layoutTestController.findString() to support testing
3610         https://bugs.webkit.org/show_bug.cgi?id=50234
3611
3612         Reviewed by Alex Christensen.
3613
3614         Implement TestRunner::findString().
3615
3616         * DumpRenderTree/win/TestRunnerWin.cpp:
3617         (TestRunner::findString):
3618
3619 2016-03-20  Dan Bernstein  <mitz@apple.com>
3620
3621         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
3622         https://bugs.webkit.org/show_bug.cgi?id=155707
3623         <rdar://problem/24980691>
3624
3625         Reviewed by Darin Adler.
3626
3627         * ContentExtensionTester/Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR
3628           based on the last component of MACOSX_DEPLOYMENT_TARGET.
3629         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: For engineering builds,
3630           preserve the behavior of TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
3631
3632         Similarly for these projects:
3633
3634         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3635         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3636         * LayoutTestRelay/Configurations/Base.xcconfig:
3637         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
3638         * MiniBrowser/Configurations/Base.xcconfig:
3639         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3640         * TestWebKitAPI/Configurations/Base.xcconfig:
3641         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3642         * WebEditingTester/Configurations/Base.xcconfig:
3643         * WebEditingTester/Configurations/DebugRelease.xcconfig:
3644         * WebKitTestRunner/Configurations/Base.xcconfig:
3645         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3646
3647 2016-03-20  Dan Bernstein  <mitz@apple.com>
3648
3649         Update build settings
3650
3651         Rubber-stamped by Andy Estes.
3652
3653         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: