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