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