ae3e5527187cd3a66d7e837635cbad5f5e0aaff2
[WebKit-https.git] / Tools / ChangeLog
1 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
2
3         Disable WebCoreNSURLSessionTest API tests on ios-simulator
4         https://bugs.webkit.org/show_bug.cgi?id=160225
5
6         Reviewed by Alexey Proskuryakov.
7
8         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
9
10 2016-07-27  Miguel Gomez  <magomez@igalia.com>
11
12         [GTK] Fix some video/canvas tests that should be passing
13         https://bugs.webkit.org/show_bug.cgi?id=160023
14
15         Reviewed by Carlos Garcia Campos.
16
17         Add a platform identifier to the TestRunner's page user agent when the tests are run on the
18         EFL or GTK platforms.
19
20         * WebKitTestRunner/efl/TestControllerEfl.cpp:
21         (WTR::TestController::platformConfigureViewForTest):
22         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
23         (WTR::TestController::platformConfigureViewForTest):
24
25 2016-07-27  Carlos Alberto Lopez Perez  <clopez@igalia.com>
26
27         [Tools] The built product doesn't contains the dwo files when DEBUG_FISSION is enabled.
28         https://bugs.webkit.org/show_bug.cgi?id=160247
29
30         Reviewed by Michael Catanzaro.
31
32         * BuildSlaveSupport/built-product-archive:
33         (createZip):
34         (dirContainsdwo):
35         (archiveBuiltProduct):
36
37 2016-07-26  Alex Christensen  <achristensen@webkit.org>
38
39         Fix tests after r203743.
40         https://bugs.webkit.org/show_bug.cgi?id=156947
41
42         * WebKitTestRunner/TestController.cpp:
43         (WTR::TestController::resetStateToConsistentValues):
44         Reset the new boolean m_rejectsProtectionSpaceAndContinueForAuthenticationChallenges.
45
46 2016-07-26  Myles C. Maxfield  <mmaxfield@apple.com>
47
48         [iPhone] Playing a video on tudou.com plays only sound, no video
49         https://bugs.webkit.org/show_bug.cgi?id=160178
50         <rdar://problem/27535468>
51
52         Reviewed by Dan Bernstein.
53
54         * DumpRenderTree/mac/DumpRenderTree.mm:
55         (setDefaultsToConsistentValuesForTesting):
56         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
57         (RequiresUserActionForPlaybackTest::SetUp):
58         * WebKitTestRunner/TestController.cpp:
59         (WTR::TestController::resetPreferencesToConsistentValues):
60         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
61         (WTR::initializeWebViewConfiguration):
62
63 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
64
65         Allow LOG macros to be used outside the namespace, and other logging cleanup
66         https://bugs.webkit.org/show_bug.cgi?id=160216
67
68         Reviewed by Anders Carlsson.
69         
70         initializeLoggingChannelsIfNecessary -> initializeLogChannelsIfNecessary
71
72         * DumpRenderTree/TestRunner.cpp:
73         * DumpRenderTree/mac/DumpRenderTree.mm:
74         (resetWebViewToConsistentStateBeforeTesting):
75
76 2016-07-26  David Kilzer <ddkilzer@apple.com>
77
78         Networking process crash due to missing -[WebCoreAuthenticationClientAsChallengeSender performDefaultHandlingForAuthenticationChallenge:] implementation
79         https://bugs.webkit.org/show_bug.cgi?id=156947
80         <rdar://problem/23325160>
81
82         Reviewed by Alex Christensen.
83
84         * DumpRenderTree/TestRunner.cpp:
85         (TestRunner::TestRunner):
86         (setRejectsProtectionSpaceAndContinueForAuthenticationChallengesCallback):
87         * DumpRenderTree/TestRunner.h:
88         (TestRunner::rejectsProtectionSpaceAndContinueForAuthenticationChallenges):
89         (TestRunner::setRejectsProtectionSpaceAndContinueForAuthenticationChallenges):
90         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
91         (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
92         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
93         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
94         (WTR::TestRunner::queueNonLoadingScript):
95         (WTR::TestRunner::setRejectsProtectionSpaceAndContinueForAuthenticationChallenges):
96         * WebKitTestRunner/InjectedBundle/TestRunner.h:
97         * WebKitTestRunner/TestController.cpp:
98         (WTR::TestController::didReceiveAuthenticationChallenge):
99         * WebKitTestRunner/TestController.h:
100         (WTR::TestController::setRejectsProtectionSpaceAndContinueForAuthenticationChallenges):
101         * WebKitTestRunner/TestInvocation.cpp:
102         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
103         Add TestRunner.setRejectsProtectionSpaceAndContinueForAuthenticationChallenges to use for testing.
104
105 2016-07-26  David Kilzer  <ddkilzer@apple.com>
106
107         check-for-exit-time-destructors should be usable outside Xcode
108         <https://webkit.org/b/160195>
109
110         Reviewed by Darin Adler.
111
112         * Scripts/check-for-exit-time-destructors: Update to parse
113         -h|--help switch, or to take one argument to a binary to check
114         for exit time destructors on the command-line.  The clang
115         compiler will find these at compile-time with the
116         -Wexit-time-destructors switch, but this script will check for
117         them after-the-fact.
118
119 2016-07-26  Lucas Forschler  <lforschler@apple.com>
120
121         Test svn.webkit.org functionality after maintenance.
122
123 2016-07-25  Brady Eidson  <beidson@apple.com>
124
125         Modern IDB: Make sure IndexedDB works from file:// url documents by default
126         https://bugs.webkit.org/show_bug.cgi?id=153783
127
128         Reviewed by Alex Christensen.
129
130         Previously, to grant IndexedDB access to file:// urls for testing purposes, 
131         we had to call the SPI [WKWebViewConfiguration _setAllowUniversalAccessFromFileURLs:].
132         
133         As of https://trac.webkit.org/changeset/203695 this is no longer required.
134         
135         Change the relevant API tests to make sure this continues to be no longer required.
136
137         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm:
138         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
139         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
140         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
141         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm:
142         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
143
144 2016-07-25  Wenson Hsieh  <wenson_hsieh@apple.com>
145
146         Media controls should not be displayed for a video until it starts playing
147         https://bugs.webkit.org/show_bug.cgi?id=160092
148         <rdar://problem/26986673>
149
150         Reviewed by Beth Dakin.
151
152         Verify that multiple videos do or don't show the media controller depending on whether videos
153         are playing. Also tweaks an existing API test (VideoControlsManagerSingleLargeVideo) that was
154         passing because we were always showing media controls for large videos with audio, even if they
155         had not played back yet. This change ensures that large videos with audio show media controls
156         only after they begin to play back, and not by virtue of being large enough for main content.
157
158         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
159         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
160         (TestWebKitAPI::TEST):
161         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
162         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html: Added.
163         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio.html: Added.
164
165 2016-07-25  Wenson Hsieh  <wenson_hsieh@apple.com>
166
167         Media controls on apple.com don't disappear when movie finishes playing
168         https://bugs.webkit.org/show_bug.cgi?id=160068
169         <rdar://problem/26668526>
170
171         Reviewed by Darin Adler.
172
173         Adds new API tests. Please see WebCore ChangeLog for more details.
174
175         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
176         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
177         (-[MediaPlaybackMessageHandler initWithWKWebView:finalMessageString:]):
178         (-[MediaPlaybackMessageHandler userContentController:didReceiveScriptMessage:]):
179         (TestWebKitAPI::TEST):
180         (-[DidPlayMessageHandler initWithWKWebView:]): Deleted.
181         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
182         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html: Added.
183         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html: Added.
184         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html: Added.
185
186 2016-07-25  Philippe Normand  <pnormand@igalia.com>
187
188         Unreviewed, fix test-webkitpy after r203674.
189
190         * Scripts/webkitpy/port/linux_get_crash_log_unittest.py:
191         (GDBCrashLogGeneratorTest.test_generate_crash_log):
192
193 2016-07-24  Philippe Normand  <pnormand@igalia.com>
194
195         Unreviewed, forgot to commit this file in r203674.
196
197         * Scripts/process-linux-coredump: Added.
198         (main):
199
200 2016-07-25  Philippe Normand  <pnormand@igalia.com>
201
202         Improve GDB backtrace generation for GTK/EFL
203         https://bugs.webkit.org/show_bug.cgi?id=128928
204
205         Reviewed by Carlos Garcia Campos.
206
207         The PID of the crashed process is now correctly supplied to the
208         crash log reporter. The kernel core_pattern needs to be updated
209         after this change to something like:
210
211         echo "|/home/phil/WebKit/Tools/Scripts/process-linux-coredump /tmp/core-pid_%p.dump" > /proc/sys/kernel/core_pattern
212
213         * Scripts/process-linux-coredump: Added.
214         (main): Minimal python script reading coredump data on stdin and writing it to a file in /tmp/.
215         * Scripts/webkitpy/port/efl.py:
216         (EflPort._get_crash_log): Supply path of the process-linux-coredump script.
217         * Scripts/webkitpy/port/gtk.py:
218         (GtkPort._get_crash_log): Ditto.
219         * Scripts/webkitpy/port/linux_get_crash_log.py:
220         (GDBCrashLogGenerator.__init__): New argument for supplying the path of a coredump processor script.
221         (GDBCrashLogGenerator.generate_crash_log): Update error message, the core_pattern should now be set to pipe coredumps to a script.
222         (GDBCrashLogGenerator): Deleted.
223         * Scripts/webkitpy/port/linux_get_crash_log_unittest.py:
224         (GDBCrashLogGeneratorTest.test_generate_crash_log): Update test expectations.
225         * WebKitTestRunner/TestController.cpp:
226         (WTR::TestController::networkProcessDidCrash): Supply PID of crash process.
227         (WTR::TestController::databaseProcessDidCrash): Ditto.
228         (WTR::TestController::processDidCrash): Ditto.
229
230 2016-07-23  Youenn Fablet  <youenn@apple.com>
231
232         WPT stash server should be kept running when launching wpt server
233         https://bugs.webkit.org/show_bug.cgi?id=160052
234
235         Reviewed by Sam Weinig.
236
237         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
238         (main): waiting to read stdin while stash server is started.
239
240 2016-07-22  Wenson Hsieh  <wenson_hsieh@apple.com>
241
242         Media controls should be displayed for media in media documents
243         https://bugs.webkit.org/show_bug.cgi?id=160104
244         <rdar://problem/27438936>
245
246         Reviewed by Myles C. Maxfield.
247
248         Verifies that even a small video with audio in a media document gets media controls.
249
250         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
251         (TestWebKitAPI::TEST):
252
253 2016-07-22  Michael Saboff  <msaboff@apple.com>
254
255         REGRESSION(203616): no FTL testing was inadvertently removed
256         https://bugs.webkit.org/show_bug.cgi?id=160100
257
258         Rubber-stamped by Filip Pizlo.
259
260         Added runNoFTL back into the set of tests we run on FTL enabled platforms.
261         Renamed runLayoutTestNoFTL to runLayoutTestDefault.  Restructured the test
262         logic for the runLayout and runNoisy variants to match the run test logic,
263         that is we always invoke runXXXDefault and invoke runXXXNoFTL for FTL
264         enabled platforms.
265
266         * Scripts/run-jsc-stress-tests:
267
268 2016-07-22  Brady Eidson  <beidson@apple.com>
269
270         Removing IndexedDatabases that have stored blobs doesn't remove the blob files.
271         https://bugs.webkit.org/show_bug.cgi?id=160089
272
273         Reviewed by Darin Adler.
274
275         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
276         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm: Added.
277         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobToBeDeleted.html: Added.
278
279 2016-07-22  Konstantin Tokarev  <annulen@yandex.ru>
280
281         [GTK] Improved exclusion patterns in make-dist.py manifest.
282         https://bugs.webkit.org/show_bug.cgi?id=160094
283
284         Reviewed by Michael Catanzaro.
285
286         * gtk/manifest.txt.in:
287         Exclude Platform*.cmake files for more ports.
288         Removed obsolete .gyp and .pro.user patterns.
289         Exclude 'Configurations' and 'spi' directories.
290         Exclude CMakeLists.txt.user (Qt Creator IDE).
291
292 2016-07-22  Michael Saboff  <msaboff@apple.com>
293
294         Don't run FTL related JSC stress tests on non-FTL platforms
295         https://bugs.webkit.org/show_bug.cgi?id=160033
296
297         Reviewed by Mark Lam.
298
299         Added check for running tests on platforms that don't enable FTL to not run FTL tests.
300         Refactored several of the runXXX test methods to always runXXXDefault and made those
301         runXXXDefault to pass FTL_OPTIONS.  For platforms that don't enable the FTL, FTL_OPTIONS
302         doesn't cause a problem.
303
304         * Scripts/run-jsc-stress-tests:
305
306 2016-07-22  Per Arne Vollan  <pvollan@apple.com>
307
308         IWebView::mainFrame crashes if called after IWebView::close
309         https://bugs.webkit.org/show_bug.cgi?id=32868
310
311         Reviewed by Brent Fulgham.
312
313         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
314         (TestWebKitAPI::TEST_F): Added test.
315
316 2016-07-22  Carlos Garcia Campos  <cgarcia@igalia.com>
317
318         [GTK] Enable threaded compositor by default
319         https://bugs.webkit.org/show_bug.cgi?id=160079
320
321         Reviewed by Žan Doberšek.
322
323         * Scripts/webkitperl/FeatureList.pm:
324
325 2016-07-22  Youenn Fablet  <youenn@apple.com>
326
327         run-builtins-generator-tests should be able to test WebCore builtins wrapper with more than one file
328         https://bugs.webkit.org/show_bug.cgi?id=159921
329
330         Reviewed by Brian Burg.
331
332         Updated builtin generator test runner to generate WebCore wrapper files based on all WebCore valid separate files.
333
334         * Scripts/webkitpy/codegen/main.py:
335         (BuiltinsGeneratorTests.generate_from_js_builtins): Passing a list of builtin files to the script.
336         (BuiltinsGeneratorTests):
337         (BuiltinsGeneratorTests.single_builtin_test): Added to handle the case of single builtin generation.
338         (BuiltinsGeneratorTests.wrappers_builtin_test): Added to handle the case of WebCore wrappers builtin generation.
339         (BuiltinsGeneratorTests.run_test): Helper routine to run a test in reset mode or normal check mode.
340         (BuiltinsGeneratorTests.run_tests): Updated to add WebCore wrappers builtin generation test.
341
342 2016-07-21  Dan Bernstein  <mitz@apple.com>
343
344         [Mac] webkitdirs.pm contains unused code to support outdated OS X and Xcode versions
345         https://bugs.webkit.org/show_bug.cgi?id=160072
346
347         Reviewed by Andy Estes.
348
349         * Scripts/webkitdirs.pm:
350         (readXcodeUserDefault): Changed to take a defaults key rather than a suffix. Removed support
351           for old Xcode versions.
352         (determineBaseProductDir): Removed support for old Xcode versions. Updated for the change
353           to readXcodeUserDefault.
354         (debugger): Deleted. This was only used for Darwin, where LLDB is now the only supported
355           debugger.
356         (determineDebugger): Ditto.
357         (checkRequiredSystemConfig): Updated to require at least OS X Yosemite v10.10.5 and Xcode
358           7.0.
359         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Removed --use-gdb and --use-lldb
360           switches.
361         (execMacWebKitAppForDebugging): Removed support for GDB.
362
363 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
364
365         Remove support for deprecated SPI inlineMediaPlaybackRequiresPlaysInlineAttribute
366         https://bugs.webkit.org/show_bug.cgi?id=160066
367
368         Reviewed by Dean Jackson.
369
370         * DumpRenderTree/mac/DumpRenderTree.mm:
371         (setDefaultsToConsistentValuesForTesting): Deleted.
372         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
373         (RequiresUserActionForPlaybackTest::SetUp): Deleted.
374         * WebKitTestRunner/TestController.cpp:
375         (WTR::TestController::resetPreferencesToConsistentValues): Deleted.
376         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
377         (WTR::initializeWebViewConfiguration): Deleted.
378
379 2016-07-21  Chelsea Pugh  <cpugh@apple.com>
380
381         [iOS] Apps using WKWebView will crash if they set the scroll view's delegate and don't nil it out later
382         https://bugs.webkit.org/show_bug.cgi?id=159980
383         rdar://problem/27450825
384
385         Reviewed by Dan Bernstein.
386
387         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
388         * TestWebKitAPI/Tests/ios/WKScrollViewDelegateCrash.mm: Added.
389         (-[TestDelegateForScrollView dealloc]): Update delegateIsDeallocated to true so that we can tell
390         when our delegate has hit -dealloc.
391         (TestWebKitAPI::TEST): Ensure that after an object has been set as the scroll view's delegate,
392         and has then been deallocated, that the scroll view's delegate is nil and the deallocated delegate
393         will not be messaged.
394
395 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
396
397         Follow-up patch to r203520
398         https://bugs.webkit.org/show_bug.cgi?id=159967
399         <rdar://problem/26964090>
400
401         Unreviewed.
402
403         * DumpRenderTree/mac/DumpRenderTree.mm:
404         (setDefaultsToConsistentValuesForTesting):
405         * WebKitTestRunner/TestController.cpp:
406         (WTR::TestController::resetPreferencesToConsistentValues):
407
408 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
409
410         [iPhone] Playing a video on tudou.com plays only sound, no video
411         https://bugs.webkit.org/show_bug.cgi?id=159967
412         <rdar://problem/26964090>
413
414         Reviewed by Jon Lee, Jeremy Jones, and Anders Carlsson.
415
416         Migrate tests to use new SPI.
417
418         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
419         (RequiresUserActionForPlaybackTest::SetUp):
420         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
421         (WTR::initializeWebViewConfiguration):
422
423 2016-07-21  Csaba Osztrogonác  <ossy@webkit.org>
424
425         Clarify testing mode names in run-jsc-stress-tests
426         https://bugs.webkit.org/show_bug.cgi?id=160021
427
428         Reviewed by Mark Lam.
429
430         Default should mean really default, not default with disabled FTL, renamed
431         - runMozillaTestDefault to runMozillaTestNoFTL
432         - runMozillaTestDefaultFTL to runMozillaTestDefault
433         - runDefault to runNoFTL
434         - runDefaultFTL to runDefault
435         - runLayoutTestDefault to runLayoutTestNoFTL
436         - runLayoutTestDefaultFTL to runLayoutTestDefault
437         - runNoisyTestDefault to runNoisyTestNoFTL
438         - runNoisyTestDefaultFTL to runNoisyTestDefault
439
440         * Scripts/run-jsc-stress-tests:
441
442 2016-07-21  Yongjun Zhang  <yongjun_zhang@apple.com>
443
444         WebBackForwardList's currentIndex could get out of bounds when filtering items.
445         https://bugs.webkit.org/show_bug.cgi?id=159986
446
447         Add a test to verify filtering out 2 items from a 3-item list will set the currentIndex
448         to 0.
449
450         Reviewed by Dan Bernstein.
451
452         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
453         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm: Added.
454         (-[WKBackForwardListTestNavigationDelegate webView:didFinishNavigation:]):
455         (TEST):
456
457 2016-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
458
459         [GTK] Web view background colors don't work in accelerated compositing mode
460         https://bugs.webkit.org/show_bug.cgi?id=159455
461
462         Reviewed by Michael Catanzaro.
463
464         Set always RGBA visual to the view widget when setting a background color.
465
466         * MiniBrowser/gtk/BrowserWindow.c:
467         (browser_window_set_background_color):
468
469 2016-07-20  Youenn Fablet  <youenn@apple.com>
470
471         Bots should run built-ins generator tests
472         https://bugs.webkit.org/show_bug.cgi?id=159971
473
474         Reviewed by Alexey Proskuryakov.
475
476         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
477         (RunBuiltinsTests): New step to run built-in generator tests.
478         (TestFactory.__init__): Adding an additional step for bultin generator tests.
479         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Rebasing expectations.
480         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: Adding additional step for proper display.
481
482 2016-07-20  Aakash Jain  <aakash_jain@apple.com>
483
484         Revert temporary fix r203417
485         https://bugs.webkit.org/show_bug.cgi?id=160001
486
487         Reviewed by Alexey Proskuryakov.
488
489         * EWSTools/start-queue-mac.sh: Revert the temporary fix.
490
491 2016-07-20  Aakash Jain  <aakash_jain@apple.com>
492
493         REGRESSION(r148588): ews classes might get garbage collected
494         https://bugs.webkit.org/show_bug.cgi?id=159990
495
496         Reviewed by Ryosuke Niwa.
497
498         * Scripts/webkitpy/tool/commands/__init__.py: Store the loaded ews classes
499         in a variable so that they do not get garbage collected.
500
501 2016-07-20  Jeremy Jones  <jeremyj@apple.com>
502
503         Add API test for layout constraints after exit fullscreen
504         https://bugs.webkit.org/show_bug.cgi?id=159900
505
506         Reviewed by Jon Lee.
507
508         Added Fullscreen.LaytoutConstraints API test. 
509         Tests fix from https://bugs.webkit.org/show_bug.cgi?id=159731
510
511         This test compares layout constraints on the web view before and after fullscreen to make sure 
512         they are preserved.
513
514         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.html: Added.
515         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.mm: Added.
516         (-[FullscreenStateChangeMessageHandler userContentController:didReceiveScriptMessage:]):
517         (TestWebKitAPI::TEST):
518
519 2016-07-20  Ryan Haddad  <ryanhaddad@apple.com>
520
521         Disable two failing API tests.
522
523         Unreviewed test gardening.
524
525         * TestWebKitAPI/Tests/mac/CandidateTests.mm:
526         (TestWebKitAPI::TEST):
527
528 2016-07-20  Wenson Hsieh  <wenson_hsieh@apple.com>
529
530         Unreviewed iOS build fix.
531
532         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Only import Carbon.h on Mac.
533
534 2016-07-20  Wenson Hsieh  <wenson_hsieh@apple.com>
535
536         Media controls don't appear when pausing a small autoplaying video
537         https://bugs.webkit.org/show_bug.cgi?id=159972
538         <rdar://problem/27180657>
539
540         Reviewed by Beth Dakin.
541
542         Adds a new test that verifies media controls show up when pausing a small autoplayed video. Also adds mechanisms
543         for simulating basic user interaction in VideoControlsManager.
544
545         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
546         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
547         (-[WKWebView mouseDownAtPoint:]):
548         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]):
549         (-[OnLoadMessageHandler initWithWKWebView:handler:]):
550         (-[OnLoadMessageHandler userContentController:didReceiveScriptMessage:]):
551         (TestWebKitAPI::TEST):
552         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html: Added.
553
554 2016-07-20  Per Arne Vollan  <pvollan@apple.com>
555
556         [Win] MathML fonts are not found.
557         https://bugs.webkit.org/show_bug.cgi?id=159920
558
559         Reviewed by Alex Christensen.
560
561         When looking up a font in the registry, use the /v option of the Windows 'reg query' command to query
562         for a specific registry key value.
563
564         * Scripts/webkitdirs.pm:
565         (fontExists):
566
567 2016-07-20  Joseph Pecoraro  <pecoraro@apple.com>
568
569         Improve prepare-ChangeLog for @media blocks
570         https://bugs.webkit.org/show_bug.cgi?id=159907
571
572         Reviewed by Timothy Hatcher.
573
574         * Scripts/prepare-ChangeLog:
575         (get_selector_line_ranges_for_css):
576         Get a range for @media blocks just like a selector.
577             Start Line = line with '{'
578             End line = line with '}'
579             Name = "@media ..."
580
581         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests_warning-expected.txt:
582         Improved error messages for unbalanced portions.
583
584         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests-expected.txt:
585         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests.css:
586         (.media-query::before):
587         (@media only screen and (max-width: 980px)):
588         (.media-query a):
589         (@media (-webkit-min-device-pixel-ratio: 2)):
590         (.both a):
591         (.both b):
592         (.media-query b):
593         (.media-query::after):
594
595 2016-07-20  Csaba Osztrogonác  <ossy@webkit.org>
596
597         Fix expectedFailErrorHandler in run-jsc-stress-tests
598         https://bugs.webkit.org/show_bug.cgi?id=159811
599
600         Reviewed by Yusuke Suzuki.
601
602         * Scripts/run-jsc-stress-tests:
603
604 2016-07-20  Csaba Osztrogonác  <ossy@webkit.org>
605
606         Unreviewed Mac cmake buildfix after r203426. Just for fun.
607
608         * TestWebKitAPI/PlatformMac.cmake:
609
610 2016-07-19  Filip Pizlo  <fpizlo@apple.com>
611
612         The default testing mode should not involve disabling the FTL JIT
613         https://bugs.webkit.org/show_bug.cgi?id=159929
614
615         Rubber stamped by Mark Lam and Saam Barati.
616         
617         It used to be the case that most actively maintained ports did not have the FTL JIT enabled.
618         Heck, for most of the FTL's initial development, it wasn't enabled anywhere. So, testing the
619         FTL was not the default. You had to enable it with an option.
620         
621         For some reason we have kept this arrangement even though the FTL JIT is now the default on
622         all of the major ports. This has become a serious pain. For example, it's useful to be able
623         to say that a test should only run in the default config that is representative of what a
624         normal user would see if they ran JSC. Clearly, this would be a config that does not
625         explicitly disable the FTL JIT on the command line. However, if you try to specify this then
626         your test won't run at all if the --ftl-jit option is not passed. That's dangerous!
627         
628         So, this change gets rid of all of this logic. I think it's better to get rid of it then to
629         try to fix it, because:
630         
631         - I don't know what the fix would look like. Presumably it would ensure that ports that don't
632           have the FTL enabled never run any tests that explicitly disable the FTL, since that
633           doesn't do anything. The code is not really structured to allow this.
634         
635         - It benefits a minority of clients. Three build bots run tests in a config that has the FTL
636           disabled in testing. On the other hand there are already build bots that do FTL tests
637           despite having the FTL disabled by virtue of being a 32-bit platform. So, maybe rather than
638           preserving this broken feature, we should create something that (a) acknowledges the fact
639           that the FTL is the default on those platforms that support it and (b) avoids running
640           no-ftl tests on precisely those platforms that don't have FTL.
641         
642         - To the extent that some bots benefited from disabling FTL tests, they were doing it by
643           relying on a feature that was never meant to stick around. The FTL JIT is meant to be the
644           default configuration. Disabling the FTL JIT is the non-default. So, we shouldn't be
645           pretending that the FTL JIT is not the default just because some bots used that as an
646           optimization.
647         
648         This change allows me to speed up some debug tests and paint some bots green.
649
650         * Scripts/run-javascriptcore-tests:
651         (runJSCStressTests):
652         * Scripts/run-jsc-stress-tests:
653
654 2016-07-19  Alex Christensen  <achristensen@webkit.org>
655
656         Fix API test after r203426.
657         https://bugs.webkit.org/show_bug.cgi?id=159949
658
659         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
660         (TEST):
661         If there is website data already on disk, the initial count after putting the AppCache data in place will not be exactly 1.
662         This is no problem.  We want to verify that it is a nonzero number and that it decrements by one when we remove the 1 AppCache data.
663
664 2016-07-19  Andy Estes  <aestes@apple.com>
665
666         Move WebKitErrorFrameLoadBlockedByContentFilter from WebKitErrors.h to WebKitErrorsPrivate.h
667         https://bugs.webkit.org/show_bug.cgi?id=159956
668
669         Reviewed by Dan Bernstein.
670
671         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Included WKErrorRef.h.
672         (-[LoadAlternateNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
673         Used kWKErrorCodeFrameLoadBlockedByContentFilter instead of WebKitErrorFrameLoadBlockedByContentFilter.
674         * TestWebKitAPI/Tests/mac/ContentFiltering.mm: Included WebKitErrorsPrivate.h instead of WebKitErrors.h.
675
676 2016-07-19  Alex Christensen  <achristensen@webkit.org>
677
678         Add regression test for r203392
679         https://bugs.webkit.org/show_bug.cgi?id=159949
680
681         Reviewed by Brady Eidson.
682
683         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
684         (fileSize):
685         (swizzledBundleIdentifierWebBookmarksD):
686         (defaultApplicationCacheDirectory):
687         (TEST):
688         (swizzledBundleIdentifierMobileSafari): Deleted.
689         This actually tests that webbookmarksd uses the path quirk in WebsiteDataStore::defaultApplicationCacheDirectory.
690         I wanted to verify that it uses the same path as MobileSafari, but swizzling out the bundleIdentifier twice caused
691         problems with the static bools that are set once in RuntimeApplicationChecks.mm.
692
693 2016-07-19  Alex Christensen  <achristensen@webkit.org>
694
695         Add regression test for r203392
696         https://bugs.webkit.org/show_bug.cgi?id=159949
697
698         Reviewed by Brady Eidson.
699
700         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
701         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db: Added.
702         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-shm: Added.
703         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-wal: Added.
704         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
705         (TEST):
706         (fileSize):
707         (swizzledBundleIdentifierMobileSafari):
708         (swizzledBundleIdentifierWebBookmarksD):
709         (defaultApplicationCacheDirectory):
710         * TestWebKitAPI/cocoa/InstanceMethodSwizzler.h: Copied from TestWebKitAPI/mac/InstanceMethodSwizzler.h.
711         * TestWebKitAPI/cocoa/InstanceMethodSwizzler.mm: Copied from TestWebKitAPI/mac/InstanceMethodSwizzler.mm.
712         * TestWebKitAPI/mac/InstanceMethodSwizzler.h: Removed.
713         * TestWebKitAPI/mac/InstanceMethodSwizzler.mm: Removed.
714
715 2016-07-19  Keith Miller  <keith_miller@apple.com>
716
717         Test262 should have a file with the revision and url
718         https://bugs.webkit.org/show_bug.cgi?id=159937
719
720         Reviewed by Mark Lam.
721
722         The import script should update the information from
723         the path to the test262 repository it gets.
724
725         * Scripts/import-test262-tests:
726
727 2016-07-19  Alexey Proskuryakov  <ap@apple.com>
728
729         Temporary workaround for iOS EWS failing after the fix for bug 159539.
730         To be deleted once the root cause is found and addressed.
731
732         * EWSTools/start-queue-mac.sh:
733
734 2016-07-19  Frederic Wang  <fwang@igalia.com>
735
736         [win] Fixup the register name for STIX Math and Latin Modern Math
737
738         Unreviewed follow-up of r203406
739
740         * Scripts/webkitdirs.pm:
741         (checkInstalledTools):
742
743 2016-07-19  Frederic Wang  <fwang@igalia.com>
744
745         [win] Update the list of MathML fonts
746         https://bugs.webkit.org/show_bug.cgi?id=156838
747
748         The set of recommended math fonts is now described at
749         https://trac.webkit.org/wiki/MathML/Fonts
750         We update the Perl script to use the latest list of fonts.
751
752         Reviewed by Brent Fulgham.
753
754         * Scripts/webkitdirs.pm:
755         (checkInstalledTools):
756
757 2016-07-19  Per Arne Vollan  <pvollan@apple.com>
758
759         [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
760         https://bugs.webkit.org/show_bug.cgi?id=159342
761
762         Reviewed by Darin Adler.
763
764         Implement required functions in event sender.
765
766         * DumpRenderTree/PlatformWin.cmake:
767         * DumpRenderTree/win/EventSender.cpp:
768         (monitorWheelEvents): Added.
769         (callAfterScrollingCompletes): Added.
770
771 2016-07-19  Youenn Fablet  <youenn@apple.com>
772
773         Add new aliases to http test server
774         https://bugs.webkit.org/show_bug.cgi?id=159878
775
776         Reviewed by Darin Adler.
777
778         Adding testharness.css, testharness.js and testharnessreport.js new aliases to http test servers.
779         Adding explicitly these links to perl script.
780         Extracting default alias in an aliases.json file.
781         Reading that file from python scripts to initialize aliases from that file.
782
783         Python script changes covered by unit tests and changed layout test.
784
785         * Scripts/webkitperl/httpd.pm:
786         (getDefaultConfigForTestDirectory): Adding 3 new aliases
787         * Scripts/webkitpy/layout_tests/servers/aliases.json: Added.
788         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
789         (LayoutTestApacheHttpd.__init__): Setting upper class tests_dir member if needed and according constructor parameter.
790         Adding -c directives for each alias.
791         * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
792         (TestLayoutTestApacheHttpd.test_start_cmd): Adding aliases.json mock-up file.
793         * Scripts/webkitpy/layout_tests/servers/http_server.py:
794         (Lighttpd.__init__): Setting upper class tests_dir member if needed and according constructor parameter.
795         Adding alias directive for each alias.
796         (Lighttpd._prepare_config):
797         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
798         (HttpServerBase.__init__): Adding tests_dir member with a default value being layout tests directory.
799         (HttpServerBase.aliases): Computing of alias from the json file, paths to the real files being relative to
800         layout tests directory.
801         * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
802         (TestHttpServer.test_start_cmd): Adding aliases.json mock-up file and updating test expectation.
803         (TestHttpServer.test_win32_start_and_stop): Adding aliases.json mock-up file.
804
805 2016-07-18  Aakash Jain  <aakash_jain@apple.com>
806
807         EWS console logs doesn't go to log file
808         https://bugs.webkit.org/show_bug.cgi?id=159539
809         <rdar://problem/24464570>
810
811         Reviewed by David Kilzer.
812
813         * Scripts/webkitpy/common/system/logutils.py:
814         (configure_logger_to_log_to_file): Added method to configure the logger to log to file.
815         (FileSystemHandler): Added class which uses logging.FileHandler as base class and supports writing
816         to filesystem. It also supports passing MockFilesystem.
817         (FileSystemHandler.__init__): Initialize the class and calls base class __init__.
818         (FileSystemHandler._open): Overrides the base class _open method to use filesystem object.
819         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
820         (AbstractEarlyWarningSystemTest.test_failing_tests_message): Added MockHost() parameter.
821         (_test_ews): Same.
822         * Scripts/webkitpy/tool/commands/queues.py:
823         (AbstractQueue.begin_work_queue): Configure the logger to log to file.
824         (AbstractQueue._log_directory): Using filesystem object instead of os.
825         (AbstractQueue.queue_log_path): Same.
826         (AbstractQueue.__init__): Passed host parameter.
827         (PatchProcessingQueue.__init__): Same.
828         (CommitQueue.__init__): Same.
829         (AbstractReviewQueue.__init__): Same.
830         (StyleQueue.__init__): Same.
831         * Scripts/webkitpy/tool/commands/queues_unittest.py:
832         (TestCommitQueue): Passed MockHost() as host.
833         (TestCommitQueue.__init__): Same.
834         (TestQueue.__init__): Same.
835         (TestReviewQueue.__init__): Same.
836         (TestFeederQueue.__init__): Same.
837         (AbstractPatchQueueTest.test_next_patch): Same.
838         (PatchProcessingQueueTest.test_upload_results_archive_for_patch): Same.
839         (test_commit_queue_failure): Same.
840         (MockCommitQueueTask.results_from_patch_test_run): Same.
841         (test_rollout_lands): Same.
842         (test_non_valid_patch): Same.
843         (test_auto_retry): Same.
844         (test_style_queue_with_watch_list_exception): Same.
845
846 2016-07-02  Filip Pizlo  <fpizlo@apple.com>
847
848         WTF::Lock should be fair eventually
849         https://bugs.webkit.org/show_bug.cgi?id=159384
850
851         Reviewed by Geoffrey Garen.
852
853         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
854
855 2016-07-17  Sam Weinig  <sam@webkit.org>
856
857         [WebKit API] Add SPI to track multiple navigations caused by a single user gesture
858         <rdar://problem/26554137>
859         https://bugs.webkit.org/show_bug.cgi?id=159856
860
861         Reviewed by Dan Bernstein.
862
863         * MiniBrowser/mac/WK2BrowserWindowController.m:
864         (-[WK2BrowserWindowController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
865         Add basic window.open implementation.
866
867         (-[WK2BrowserWindowController webView:decidePolicyForNavigationAction:decisionHandler:]):
868         Add basic navigation policy implementation which implements a rule where a user gesture is only allowed
869         to open a single non-web URL, all others are dropped.
870
871         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
872         * TestWebKitAPI/Tests/WebKit2Cocoa/UserInitiatedActionInNavigationAction.mm: Added.
873         * TestWebKitAPI/Tests/WebKit2Cocoa/open-multiple-external-url.html: Added.
874         Add API for the new SPI.
875
876 2016-07-17  Yusuke Suzuki  <utatane.tea@gmail.com>
877
878         [JSC] Enable test262 module tests
879         https://bugs.webkit.org/show_bug.cgi?id=159854
880
881         Reviewed by Saam Barati.
882
883         Use --module-file instead.
884
885         * Scripts/run-jsc-stress-tests:
886
887 2016-07-16  Chris Dumez  <cdumez@apple.com>
888
889         Unreviewed, rolling out r203318.
890
891         Regressed most JS Benchmarks on MacBook Air by ~2% (7% on
892         SunSpider)
893
894         Reverted changeset:
895
896         "[JSC] Change some parameters based on a random search"
897         https://bugs.webkit.org/show_bug.cgi?id=158514
898         http://trac.webkit.org/changeset/203318
899
900 2016-07-16  Chris Dumez  <cdumez@apple.com>
901
902         Add move constructor / assignment operator to ListHashSet
903         https://bugs.webkit.org/show_bug.cgi?id=159837
904
905         Reviewed by Darin Adler.
906
907         Add API tests.
908
909         * TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
910         (TestWebKitAPI::TEST):
911
912 2016-07-15  Benjamin Poulain  <bpoulain@apple.com>
913
914         [JSC] Change some parameters based on a random search
915         https://bugs.webkit.org/show_bug.cgi?id=158514
916
917         Reviewed by Saam Barati.
918
919         * Scripts/run-jsc-stress-tests:
920
921 2016-07-15  Jon Davis  <jond@apple.com>
922
923         Changed the start page URL for WebKit Nightly builds.
924         https://bugs.webkit.org/show_bug.cgi?id=159816
925
926         Reviewed by Timothy Hatcher.
927
928         * WebKitLauncher/start.html:
929
930 2016-07-15  Per Arne Vollan  <pvollan@apple.com>
931
932         Uninitialized variable in DIBPixelData can cause a dangerous memory write
933         https://bugs.webkit.org/show_bug.cgi?id=159414
934
935         Reviewed by Brent Fulgham.
936
937         Add test to check that DIBPixelData::setRGBABitmapAlpha does not cause a crash
938         when the HDC parameter is invalid.
939
940         * TestWebKitAPI/PlatformWin.cmake:
941         * TestWebKitAPI/Tests/WebCore/win/DIBPixelData.cpp: Added.
942         (TestWebKitAPI::TEST):
943
944 2016-07-15  Carlos Garcia Campos  <cgarcia@igalia.com>
945
946         [GTK] Add basic tabs support to MiniBrowser
947         https://bugs.webkit.org/show_bug.cgi?id=159803
948
949         Reviewed by Sergio Villar Senin.
950
951         It's quite common to have issues with web views loaded in secondary tabs, and we need to use an external browser
952         like epiphany to debug those issues. It would be a lot easier to work on those bugs if we could use the MiniBrowser.
953
954         * MiniBrowser/gtk/BrowserTab.c: Added.
955         (titleChanged):
956         (isLoadingChanged):
957         (decidePolicy):
958         (removeChildIfInfoBar):
959         (loadChanged):
960         (createInfoBarQuestionMessage):
961         (tlsErrorsDialogResponse):
962         (loadFailedWithTLSerrors):
963         (permissionRequestDialogResponse):
964         (decidePermissionRequest):
965         (colorChooserRGBAChanged):
966         (popoverColorClosed):
967         (colorChooserRequestFinished):
968         (runColorChooserCallback):
969         (inspectorOpenedInWindow):
970         (inspectorClosed):
971         (browserTabSetProperty):
972         (browserTabFinalize):
973         (browser_tab_init):
974         (browserTabConstructed):
975         (browser_tab_class_init):
976         (getInternalURI):
977         (browser_tab_new):
978         (browser_tab_get_web_view):
979         (browser_tab_load_uri):
980         (browser_tab_get_title_widget):
981         (browser_tab_set_status_text):
982         (browser_tab_toggle_inspector):
983         (browser_tab_start_search):
984         (browser_tab_stop_search):
985         (browser_tab_add_accelerators):
986         (fullScreenMessageTimeoutCallback):
987         (browser_tab_enter_fullscreen):
988         (browser_tab_leave_fullscreen):
989         * MiniBrowser/gtk/BrowserTab.h: Added.
990         * MiniBrowser/gtk/BrowserWindow.c:
991         (getExternalURI):
992         (browserWindowSetStatusText):
993         (reloadOrStopCallback):
994         (goBackCallback):
995         (goForwardCallback):
996         (settingsCallback):
997         (webViewURIChanged):
998         (browserWindowHistoryItemActivated):
999         (browserWindowUpdateNavigationActions):
1000         (webViewCreate):
1001         (webViewEnterFullScreen):
1002         (webViewLeaveFullScreen):
1003         (webViewDecidePolicy):
1004         (browserWindowCanZoomIn):
1005         (browserWindowCanZoomOut):
1006         (browserWindowZoomIn):
1007         (browserWindowZoomOut):
1008         (scrollEventCallback):
1009         (faviconChanged):
1010         (webViewIsLoadingChanged):
1011         (defaultZoomCallback):
1012         (searchCallback):
1013         (newTabCallback):
1014         (toggleWebInspector):
1015         (reloadPage):
1016         (reloadPageIgnoringCache):
1017         (stopPageLoad):
1018         (loadHomePage):
1019         (editingCommandCallback):
1020         (insertImageCommandCallback):
1021         (insertLinkCommandCallback):
1022         (browserWindowSetupEditorToolbar):
1023         (browserWindowSwitchTab):
1024         (browserWindowTabAddedOrRemoved):
1025         (browser_window_init):
1026         (browserWindowConstructed):
1027         (browserWindowSaveSession):
1028         (browserWindowDeleteEvent):
1029         (browser_window_new):
1030         (browser_window_append_view):
1031         (browser_window_load_uri):
1032         (browser_window_load_session):
1033         (browser_window_set_background_color):
1034         (resetStatusText): Deleted.
1035         (activateUriEntryCallback): Deleted.
1036         (webViewTitleChanged): Deleted.
1037         (resetEntryProgress): Deleted.
1038         (browserWindowCreateBackForwardMenu): Deleted.
1039         (webViewReadyToShow): Deleted.
1040         (webViewLoadFailed): Deleted.
1041         (webViewMouseTargetChanged): Deleted.
1042         (browserWindowUpdateZoomActions): Deleted.
1043         (webViewZoomLevelChanged): Deleted.
1044         (updateUriEntryIcon): Deleted.
1045         (zoomInCallback): Deleted.
1046         (zoomOutCallback): Deleted.
1047         (toggleFullScreen): Deleted.
1048         (browserWindowEditingCommandToggleButtonSetActive): Deleted.
1049         (browserWindowFinalize): Deleted.
1050         (browser_window_class_init): Deleted.
1051         * MiniBrowser/gtk/BrowserWindow.h:
1052         * MiniBrowser/gtk/CMakeLists.txt:
1053         * MiniBrowser/gtk/main.c:
1054         (createBrowserTab):
1055         (aboutURISchemeRequestCallback):
1056         (main):
1057         (parseBackgroundColor): Deleted.
1058
1059 2016-07-14  Alex Christensen  <achristensen@webkit.org>
1060
1061         Allow RefPtrs of const RefCounted types
1062         https://bugs.webkit.org/show_bug.cgi?id=158269
1063
1064         Reviewed by Anders Carlsson.
1065
1066         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
1067         (TestWebKitAPI::TEST):
1068         (TestWebKitAPI::ConstRefCounted::create):
1069         (TestWebKitAPI::returnConstRefCountedRef):
1070         (TestWebKitAPI::returnRefCountedRef):
1071
1072 2016-07-13  Carlos Garcia Campos  <cgarcia@igalia.com>
1073
1074         Test WTF.StringViewIterators is crashing since r203119
1075         https://bugs.webkit.org/show_bug.cgi?id=159710
1076
1077         Reviewed by Darin Adler.
1078
1079         There are two problems in the test case added in r203119. First is that it's testing
1080         StringView::CodeUnits::Iterator instead of StringView::CodePoints::Iterator, and second is that
1081         StringView::codePoints() returns a temporary, so the iterator created from the temporary ends up pointing to a
1082         const reference to the string view member of the deleted CodePoints object.
1083
1084         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1085         (TestWebKitAPI::TEST):
1086
1087 2016-07-13  Daniel Bates  <dabates@apple.com>
1088
1089         [iOS] Copy WebKitTestRunnerInjectedBundle.bundle into PlugIns subdirectory and code sign it
1090         https://bugs.webkit.org/show_bug.cgi?id=159738
1091         <rdar://problem/27304649>
1092
1093         Reviewed by Dan Bernstein.
1094
1095         The bundle WebKitTestRunnerInjectedBundle.bundle contains executable code and should be
1096         code signed if applicable. We should also copy this bundle into the PlugIns subdirectory
1097         of the WebKitTestRunnerApp.app bundle instead of the top-level bundle directory as the
1098         PlugIns subdirectory is the directory where loadable bundles of an app are expected to live.
1099
1100         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1101         * WebKitTestRunner/ios/TestControllerIOS.mm:
1102         (WTR::TestController::initializeInjectedBundlePath): Modified code to look for the
1103         bundle WebKitTestRunnerInjectedBundle.bundle in the plugin directory of the main bundle.
1104
1105 2016-07-13  Beth Dakin  <bdakin@apple.com>
1106
1107         Attempted build fix.
1108
1109         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1110
1111 2016-07-12  Ryosuke Niwa  <rniwa@webkit.org>
1112
1113         REGRESSION(r202953): Clicking on input[type=file] doesn't open a file picker
1114         https://bugs.webkit.org/show_bug.cgi?id=159686
1115
1116         Reviewed by Chris Dumez.
1117
1118         Added a code to print "OPEN FILE PANEL" in the text when runOpenPanel is called in the UI delegate.
1119
1120         * WebKitTestRunner/TestController.cpp:
1121         (WTR::runOpenPanel):
1122         (WTR::TestController::createOtherPage):
1123         (WTR::TestController::createWebViewWithOptions):
1124
1125 2016-07-13  Beth Dakin  <bdakin@apple.com>
1126
1127         Add more candidate tests
1128         https://bugs.webkit.org/show_bug.cgi?id=159730
1129
1130         Reviewed by Tim Horton.
1131
1132         This patch re-names ViewWithEditableAreaLeak.mm to CandidateTests.mm and adds 
1133         two new tests to that file.
1134         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1135         * TestWebKitAPI/Tests/WebKit2Cocoa/focus-inputs.html: Added.
1136         * TestWebKitAPI/Tests/mac/CandidateTests.mm: Copied from TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm.
1137         (-[CandidateRequestFrameLoadDelegate webView:didFinishLoadForFrame:]):
1138         (TestWebKitAPI::TEST):
1139         * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm: Removed.
1140
1141 2016-07-13  Joanmarie Diggs  <jdiggs@igalia.com>
1142
1143         AX: [ATK] spinbutton-crash.html fails
1144         https://bugs.webkit.org/show_bug.cgi?id=159723
1145
1146         Reviewed by Chris Fleizach.
1147
1148         Implement support for AXDecrementButton and AXIncrementButton in
1149         ATK's AccessibilityUIElement::uiElementAttributeValue().
1150
1151         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1152         (WTR::AccessibilityUIElement::uiElementAttributeValue):
1153
1154 2016-07-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1155
1156         [EFL] [GTK] Enable back crypto subtle on development builds.
1157         https://bugs.webkit.org/show_bug.cgi?id=159260
1158
1159         Reviewed by Carlos Garcia Campos.
1160
1161         * Scripts/webkitperl/FeatureList.pm:
1162
1163 2016-07-12  Mark Lam  <mark.lam@apple.com>
1164
1165         We should use different stack limits for stack checks from JS and host code.
1166         https://bugs.webkit.org/show_bug.cgi?id=159442
1167         <rdar://problem/26889188>
1168
1169         Reviewed by Geoffrey Garen.
1170
1171         In http://trac.webkit.org/r203067, we limited the amount of stack that tests will
1172         run with to keep stack overflow tests sane.  Turns out, we also need to teach the
1173         LayoutTestRelay to pass env vars over to the iOS simulator.  This is needed in
1174         order to keep the js/regress-139548.html test happy with this patch.
1175
1176         Also fixed up run_webkit_tests.py to explicitly pass an int size value for the
1177         JSC_maxPerThreadStackUsage option.  Otherwise, it will pass a float value.
1178
1179         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
1180         (-[LTRelayController _environmentVariables]):
1181         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1182         (main):
1183
1184 2016-07-12  Filip Pizlo  <fpizlo@apple.com>
1185
1186         platformUserPreferredLanguages on Mac should not try to put the region into the language
1187         https://bugs.webkit.org/show_bug.cgi?id=159693
1188
1189         Rubber stamped by Alexey Proskuryakov.
1190         
1191         Revert the test change in r200105.
1192
1193         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm:
1194         (TestWebKitAPI::languageForSystemLanguage):
1195
1196 2016-07-12  Chris Dumez  <cdumez@apple.com>
1197
1198         [WK2] Protect against bad database data in LocalStorageDatabase::importItems()
1199         https://bugs.webkit.org/show_bug.cgi?id=159663
1200         <rdar://problem/18995873>
1201
1202         Reviewed by Benjamin Poulain.
1203
1204         Add API test coverage.
1205
1206         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1207         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.html: Added.
1208         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage: Added.
1209         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage-shm: Added.
1210         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.mm: Added.
1211         (-[LocalStorageNullEntriesMessageHandler userContentController:didReceiveScriptMessage:]):
1212         (TEST):
1213
1214 2016-07-12  Myles C. Maxfield  <mmaxfield@apple.com>
1215
1216         Relax ordering requirements on StringView::CodePoints iterator
1217         https://bugs.webkit.org/show_bug.cgi?id=159609
1218
1219         Reviewed by Darin Adler.
1220
1221         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1222         (TestWebKitAPI::TEST):
1223
1224 2016-07-12  Youenn Fablet  <youenn@apple.com>
1225
1226         Fixing Tools/Scripts/run-builtins-generator-tests after https://trac.webkit.org/changeset/202975
1227         https://bugs.webkit.org/show_bug.cgi?id=159564
1228
1229         Reviewed by Brian Burg.
1230
1231         * Scripts/webkitpy/codegen/main.py:
1232         (BuiltinsGeneratorTests.generate_from_js_builtins): Changing --with-wrapper-files option to --wrappers.
1233
1234 2016-07-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1235
1236         Remove ENABLE_CSS3_TEXT_LINE_BREAK flag
1237         https://bugs.webkit.org/show_bug.cgi?id=159671
1238
1239         Reviewed by Csaba Osztrogonác.
1240
1241         ENABLE_CSS3_TEXT_LINE_BREAK feature was implemented without guards.
1242         https://bugs.webkit.org/show_bug.cgi?id=89235
1243
1244         So this guard can be removed in build scripts.
1245
1246         * Scripts/webkitperl/FeatureList.pm:
1247         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1248
1249 2016-07-11  Jason Marcell  <jmarcell@apple.com>
1250
1251         SVN.create_patch should find svn-create-patch relative to the WebKit root.
1252         https://bugs.webkit.org/show_bug.cgi?id=159652
1253
1254         Reviewed by Daniel Bates.
1255
1256         * Scripts/webkitpy/common/checkout/scm/svn.py:
1257         (SVN.create_patch): Use WebKitFinder to find the WebKit checkout so that we can find svn-create-patch relative to it.
1258
1259 2016-07-11  Myles C. Maxfield  <mmaxfield@apple.com>
1260
1261         Implement grapheme cluster iterator on StringView
1262         https://bugs.webkit.org/show_bug.cgi?id=159598
1263
1264         Reviewed by Anders Carlsson.
1265
1266         This is in preparation for honoring the second argument to FontFaceSet.load().
1267
1268         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1269         (TestWebKitAPI::compareLoopIterations):
1270         (TestWebKitAPI::TEST):
1271
1272 2016-07-11  Nan Wang  <n_wang@apple.com>
1273
1274         AX: WKWebView should have API to prevent pinch-to-zoom always being allowed
1275         https://bugs.webkit.org/show_bug.cgi?id=158364
1276
1277         Reviewed by Anders Carlsson.
1278
1279         Added a function in TestRunner so that we can toggle the ignoring viewport
1280         scale limits setting. Also added a test option for that in order to change the 
1281         configuration of the webview in test.
1282
1283         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1284         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1285         (WTR::TestRunner::setNavigationGesturesEnabled):
1286         (WTR::TestRunner::setIgnoresViewportScaleLimits):
1287         (WTR::nextUIScriptCallbackID):
1288         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1289         (WTR::TestRunner::shouldDecideNavigationPolicyAfterDelay):
1290         * WebKitTestRunner/TestController.cpp:
1291         (WTR::TestController::resetStateToConsistentValues):
1292         (WTR::updateTestOptionsFromTestHeader):
1293         (WTR::TestController::setNavigationGesturesEnabled):
1294         (WTR::TestController::setIgnoresViewportScaleLimits):
1295         (WTR::TestController::platformWillRunTest):
1296         * WebKitTestRunner/TestController.h:
1297         (WTR::TestController::setShouldDecideNavigationPolicyAfterDelay):
1298         * WebKitTestRunner/TestInvocation.cpp:
1299         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1300         * WebKitTestRunner/TestOptions.h:
1301         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1302         (WTR::TestController::platformCreateWebView):
1303
1304 2016-07-11  Konstantin Tokarev  <annulen@yandex.ru>
1305
1306         [GTK] install-dependencies should not install packages built by jhbuild.
1307         https://bugs.webkit.org/show_bug.cgi?id=159628
1308
1309         Reviewed by Michael Catanzaro.
1310
1311         * gtk/install-dependencies:
1312         Don't install icu, harfbuzz, orc, llvm, freetype, fontconfig.
1313
1314 2016-07-11  Olivier Blin  <olivier.blin@softathome.com>
1315
1316         System proxy settings not used when building deps with jhbuild
1317         https://bugs.webkit.org/show_bug.cgi?id=159567
1318
1319         Reviewed by Michael Catanzaro.
1320
1321         This adds the gsettings-desktop-schemas-devel build dep to enable
1322         the libgiognomeproxy.so gio module in glib-networking, which uses
1323         GSettings on org.gnome.system.proxy.
1324         This is needed to query system proxy settings for Gnome desktops.
1325
1326         dconf can be manually added to jhbuild to build the
1327         libdconfsettings.so gio module for GSettings, so that
1328         libgiognomeproxy.so can access system settings.
1329           https://trac.webkit.org/wiki/WebKitGTK/StartHacking#Workingbehindaproxy
1330
1331         As an alternative to dconf settings, this commit also adds the
1332         libproxy-devel build dep to enable the libgiolibproxy.so module in
1333         glib-networking (suggested by Fujii Hironori).
1334
1335         It is useful to read proxy settings from environment variables.
1336         From a Gnome desktop, one may unset the GNOME_DESKTOP_SESSION_ID
1337         environment variable to force using the envvar module in libproxy.
1338
1339         * gtk/install-dependencies:
1340
1341 2016-07-11  Mark Lam  <mark.lam@apple.com>
1342
1343         Change run-webkit-tests.py and run-jsc-stress-tests to use a smaller JS stack size for testing.
1344         https://bugs.webkit.org/show_bug.cgi?id=159524
1345
1346         Reviewed by Michael Saboff.
1347
1348         Forced tests to run with only a 1.5M JS stack size instead of the default 4M.
1349         Also fixed up some tests to behave better to work with this new limit.  This
1350         should make stack overflow tests complete sooner.
1351
1352         * Scripts/run-jsc-stress-tests:
1353         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1354         (main):
1355
1356 2016-07-11  Michael Catanzaro  <mcatanzaro@igalia.com>
1357
1358         [GTK] Whitespace fixes in install-dependencies script
1359
1360         Unreviewed.
1361
1362         * gtk/install-dependencies:
1363
1364 2016-07-11  Michael Catanzaro  <mcatanzaro@igalia.com>
1365
1366         [GTK] Install missing Fedora dependencies
1367
1368         Unreviewed.
1369
1370         * gtk/install-dependencies:
1371
1372 2016-07-09  Dan Bernstein  <mitz@apple.com>
1373
1374         Give git-add-reviewer an option to say “Rubber-stamped by” in non-interactive mode
1375         https://bugs.webkit.org/show_bug.cgi?id=159600
1376
1377         Reviewed by Daniel Bates.
1378
1379         * Scripts/git-add-reviewer:
1380         Added the -s|--rubber-stamp option.
1381         (nonInteractive): Set the rubberstamp key in the item passed to addReviewer() based on the
1382           new option.
1383
1384 2016-07-08  Andy Estes  <aestes@apple.com>
1385
1386         [Content Filtering] Load blocked pages more like other error pages are loaded
1387         https://bugs.webkit.org/show_bug.cgi?id=159485
1388         <rdar://problem/26014076>
1389
1390         Reviewed by Brady Eidson.
1391
1392         Added API tests for WebView and WKWebView to verify that alternate HTML loaded in response
1393         to a content filtering provisional navigation failure is ignored in preference of
1394         ContentFilter's own error page.
1395
1396         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1397         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1398         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1399         (-[LoadAlternateNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1400         (-[LoadAlternateNavigationDelegate webView:didFinishNavigation:]):
1401         (loadAlternateTest):
1402         (TEST):
1403         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
1404         (-[MockContentFilterEnabler initWithCoder:]):
1405         * TestWebKitAPI/Tests/mac/ContentFiltering.mm: Added.
1406         (-[LoadAlternateFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1407         (-[LoadAlternateFrameLoadDelegate webView:didFinishLoadForFrame:]):
1408         (TestWebKitAPI::loadAlternateTest):
1409         (TestWebKitAPI::TEST):
1410
1411 2016-07-08  Commit Queue  <commit-queue@webkit.org>
1412
1413         Unreviewed, rolling out r202944.
1414         https://bugs.webkit.org/show_bug.cgi?id=159570
1415
1416         caused some tests to crash under GuardMalloc (Requested by
1417         estes on #webkit).
1418
1419         Reverted changeset:
1420
1421         "[Content Filtering] Load blocked pages more like other error
1422         pages are loaded"
1423         https://bugs.webkit.org/show_bug.cgi?id=159485
1424         http://trac.webkit.org/changeset/202944
1425
1426 2016-07-08  Martin Robinson  <mrobinson@igalia.com>
1427
1428         Remove mrobinson from the MathML watchlist
1429         https://bugs.webkit.org/show_bug.cgi?id=159559
1430
1431         Reviewed by Philippe Normand.
1432
1433         * Scripts/webkitpy/common/config/watchlist: Remove my email from the watchlist.
1434
1435 2016-07-08  Brady Eidson  <beidson@apple.com>
1436
1437         Clearing LocalStorage doesn't also delete -wal and -shm files.
1438         <rdar://problem/27206772> and https://bugs.webkit.org/show_bug.cgi?id=159566
1439
1440         Reviewed by Brent Fulgham.
1441         Also helpfully picked over by Andy "Never Forgets" Estes.
1442
1443         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1444         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.html: Added.
1445         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm: Added.
1446
1447 2016-07-08  Konstantin Tokarev  <annulen@yandex.ru>
1448
1449         Removed Qt leftovers from Tools.
1450         https://bugs.webkit.org/show_bug.cgi?id=159557
1451
1452         Reviewed by Csaba Osztrogonác.
1453
1454         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
1455         Removed 'qt' platform config.
1456         * Scripts/webkitpy/common/net/bugzilla/bug.py:
1457         Deleted non-functional e-mail address.
1458
1459 2016-07-08  Commit Queue  <commit-queue@webkit.org>
1460
1461         Unreviewed, rolling out r202967.
1462         https://bugs.webkit.org/show_bug.cgi?id=159556
1463
1464         This patch caused crashes in https tests on Windows (Requested
1465         by perarne on #webkit).
1466
1467         Reverted changeset:
1468
1469         "[Win] The test http/tests/security/contentSecurityPolicy
1470         /upgrade-insecure-requests/basic-upgrade.https.html is
1471         failing."
1472         https://bugs.webkit.org/show_bug.cgi?id=159510
1473         http://trac.webkit.org/changeset/202967
1474
1475 2016-07-08  Youenn Fablet  <youenn@apple.com>
1476
1477         Generate WebCore builtin wrapper files
1478         https://bugs.webkit.org/show_bug.cgi?id=159461
1479
1480         Reviewed by Brian Burg.
1481
1482         * Scripts/webkitpy/codegen/main.py:
1483         (BuiltinsGeneratorTests.generate_from_js_builtins): Adding generate_wrapper option.
1484         (BuiltinsGeneratorTests.run_tests): Using this option in WebCore test cases.
1485
1486 2016-07-08  Hunseop Jeong  <hs85.jeong@samsung.com>
1487
1488         [EFL] Fix build when media-stream is enabled.
1489         https://bugs.webkit.org/show_bug.cgi?id=159206
1490
1491         Bump up the openwebrtc to find the correct package.
1492
1493         Reviewed by Gyuyoung Kim.
1494
1495         * efl/jhbuild.modules:
1496         * efl/patches/openwebrtc-clang-warning-fix.patch: Removed.
1497
1498 2016-07-07  Per Arne Vollan  <pvollan@apple.com>
1499
1500         [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
1501         https://bugs.webkit.org/show_bug.cgi?id=159510
1502
1503         Reviewed by Brent Fulgham.
1504
1505         Allow any https certificate when running tests.
1506
1507         * DumpRenderTree/win/DumpRenderTree.cpp:
1508         (runTest):
1509
1510 2016-07-07  Beth Dakin  <bdakin@apple.com>
1511
1512         API Test DoNotLeakWebView.ViewThatLoadsEditableArea times out on macOS Sierra
1513         https://bugs.webkit.org/show_bug.cgi?id=159532
1514         -and corresponding-
1515         rdar://problem/27177179
1516
1517         Reviewed by Tim Horton.
1518
1519         * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm:
1520         (-[DoNotLeakFrameLoadDelegate webView:didFinishLoadForFrame:]):
1521
1522 2016-07-07  Andy Estes  <aestes@apple.com>
1523
1524         [Content Filtering] Load blocked pages more like other error pages are loaded
1525         https://bugs.webkit.org/show_bug.cgi?id=159485
1526         <rdar://problem/26014076>
1527
1528         Reviewed by Brady Eidson.
1529
1530         Added API tests for WebView and WKWebView to verify that alternate HTML loaded in response
1531         to a content filtering provisional navigation failure is ignored in preference of
1532         ContentFilter's own error page.
1533
1534         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1535         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1536         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1537         (-[LoadAlternateNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1538         (-[LoadAlternateNavigationDelegate webView:didFinishNavigation:]):
1539         (loadAlternateTest):
1540         (TEST):
1541         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
1542         (-[MockContentFilterEnabler initWithCoder:]):
1543         * TestWebKitAPI/Tests/mac/ContentFiltering.mm: Added.
1544         (-[LoadAlternateFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1545         (-[LoadAlternateFrameLoadDelegate webView:didFinishLoadForFrame:]):
1546         (TestWebKitAPI::loadAlternateTest):
1547         (TestWebKitAPI::TEST):
1548
1549 2016-07-07  Per Arne Vollan  <pvollan@apple.com>
1550
1551         Unreviewed: add myself to the reviewers list.
1552
1553         * Scripts/webkitpy/common/config/contributors.json:
1554
1555 2016-07-07  Per Arne Vollan  <pvollan@apple.com>
1556
1557         [Win] The test http/tests/loading/main-resource-delegates-on-back-navigation.html is failing.
1558         https://bugs.webkit.org/show_bug.cgi?id=159509
1559
1560         Reviewed by Alex Christensen.
1561
1562         We should always insert the url in the url map when identifierForInitialRequest
1563         is called. Otherwise we can end up with identifiers not having an entry in the
1564         url map when urls are written to the test output file. 
1565
1566         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1567         (ResourceLoadDelegate::identifierForInitialRequest):
1568
1569 2016-07-06  Tim Horton  <timothy_horton@apple.com>
1570
1571         Email from June 1st containing text 'Today @ 7:10PM' is linkified, but shouldn't be
1572         https://bugs.webkit.org/show_bug.cgi?id=159498
1573         <rdar://problem/26719903>
1574
1575         Reviewed by Sam Weinig.
1576
1577         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1578         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm: Added.
1579         (-[DataDetectionNavigationDelegate webView:didFinishNavigation:]):
1580         (-[DataDetectionUIDelegate _dataDetectionContextForWebView:]):
1581         (expectLinkCount):
1582         (TEST):
1583         Add a test ensuring that ReferenceDate in the DataDetectors context is respected
1584         when deciding what to linkify.
1585
1586 2016-07-06  Alexey Proskuryakov  <ap@apple.com>
1587
1588         Build fix - work around rdar://problem/27196668.
1589
1590         * LayoutTestRelay/Configurations/Base.xcconfig:
1591
1592 2016-07-05  Per Arne Vollan  <pvollan@apple.com>
1593
1594         Enhance Windows DRT implementation to support platform scroll wheel events.
1595         https://bugs.webkit.org/show_bug.cgi?id=36002
1596
1597         Reviewed by Brent Fulgham.
1598
1599         Implement function continuousMouseScrollBy in Windows event sender.
1600
1601         * DumpRenderTree/win/EventSender.cpp:
1602         (mouseScrollBy):
1603         (continuousMouseScrollBy):
1604
1605 2016-07-05  Myles C. Maxfield  <mmaxfield@apple.com>
1606
1607         [Sierra] Rebaseline tests to use un-mocked system font metrics
1608         https://bugs.webkit.org/show_bug.cgi?id=159311
1609         <rdar://problem/24138411>
1610
1611         Reviewed in person by Alexey Proskuryakov.
1612
1613         Stop mocking the system font on Sierra.
1614
1615         * DumpRenderTree/mac/DumpRenderTree.mm:
1616         (setDefaultsToConsistentValuesForTesting):
1617         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1618         (WTR::InjectedBundle::platformInitialize):
1619
1620 2016-07-05  Brady Eidson  <beidson@apple.com>
1621
1622         Database process crashes deleting a corrupt SQLite database file (null deref).
1623         https://bugs.webkit.org/show_bug.cgi?id=155506.
1624
1625         Reviewed by Alex Christensen.
1626
1627         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1628         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.html: Added.
1629         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm: Added.
1630         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3: Added.
1631         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-shm: Added.
1632         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-wal: Added.
1633
1634 2016-07-05  Alexey Proskuryakov  <ap@apple.com>
1635
1636         run-webkit-tests should print more complete baseline search paths
1637         https://bugs.webkit.org/show_bug.cgi?id=159354
1638
1639         Reviewed by Daniel Bates.
1640
1641         run-webkit-tests used to only print directory names in baseline search paths.
1642         This was ok in basic usage, but quickly got confusing when using
1643         --additional-platform-directory flags.
1644
1645         * Scripts/webkitpy/layout_tests/views/printing.py:
1646         (Printer.print_config):
1647         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
1648         (Testprinter.test_print_config):
1649         (Testprinter.test_print_one_line_summary):
1650
1651 2016-07-04  Brady Eidson  <beidson@apple.com>
1652
1653         WebProcesses don't handle DatabaseProcess going away uncleanly..
1654         https://bugs.webkit.org/show_bug.cgi?id=159371
1655
1656         Reviewed by Alex Christensen.
1657
1658         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1659         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill-1.html: Added.
1660         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm: Added.
1661         (-[DatabaseProcessKillNavigationDelegate webView:didFinishNavigation:]):
1662         (-[DatabaseProcessKillMessageHandler userContentController:didReceiveScriptMessage:]):
1663
1664 2016-07-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1665
1666         [EFL][GTK] Layout Test doesn't run on Ubuntu 16.04
1667         https://bugs.webkit.org/show_bug.cgi?id=158141
1668
1669         Rubber-stamped by Michael Catanzaro.
1670
1671         Instead of checking for an specific Ubuntu version, query the apt
1672         database to see which version of PHP is available.
1673
1674         * efl/install-dependencies:
1675         * gtk/install-dependencies:
1676
1677 2016-07-04  Fujii Hironori  <Hironori.Fujii@sony.com>
1678
1679         webkit-patch failure-reason always raises TypeError
1680         https://bugs.webkit.org/show_bug.cgi?id=159394
1681
1682         Reviewed by Benjamin Poulain.
1683
1684         In r170637 (Bug 133067), the first and second arguments of
1685         pluralize were swapped.
1686
1687         * Scripts/webkitpy/tool/commands/queries.py:
1688         (FailureReason._builder_to_explain): Swap the first and second
1689         arguments of pluralize.
1690
1691 2016-07-02  Youenn Fablet  <youennf@gmail.com>
1692
1693         Make it straightforward to start the Web Platform Tests HTTP server using run-webkit-httpd
1694         https://bugs.webkit.org/show_bug.cgi?id=152486
1695
1696         Reviewed by Daniel Bates.
1697
1698         Add launch of web-platform-tests server by run-webkit-httpd.
1699         Add two options to disable starting httpd and web-platform-tests servers.
1700
1701         * Scripts/run-webkit-httpd:
1702         (parse_args):
1703         (main):
1704
1705 2016-07-01  Myles C. Maxfield  <mmaxfield@apple.com>
1706
1707         REGRESSION(r189668): Notification tests are flakey
1708         https://bugs.webkit.org/show_bug.cgi?id=159375
1709         <rdar://problem/22760990>
1710
1711         Reviewed by Alexey Proskuryakov.
1712
1713         Notifications are objects which must exist in both the UI Process and the Web Process. Each process
1714         identifies a notification object by a unique ID. When the Web Process sends a message regarding a
1715         notification to the UI Process, the UI Process's WebNotificationManagerProxy holds a map from
1716         (Page ID, Web Process notification ID) -> UI Process notification ID. This works as intended.
1717
1718         Our tests, however, include an additional method, simulateWebNotificationClick(), which is implemented
1719         by WebKitTestRunner in the Web Process via the Injected Bundle. This method involves sending a message
1720         to the UI process, to handle the simulated click. However, that RPC didn't perform the same local ->
1721         global notification ID mapping, causing the wrong notification to be investigated.
1722
1723         The solution is for WebNotificationProvider, implemented in WebKitTestRunner in the UI Process, to
1724         manually perform this same mapping. Luckily, this object already receives callbacks every time a
1725         notification is created or destroyed. However, because this object is implemented outside WebKit,
1726         it isn't privy to the internal Web Process ID used inside WebNotificationmanagerProxy. Therefore,
1727         this patch adds a private testing function which returns this internal ID. Once given this intenal ID,
1728         WebNotificationProvider can properly map between the different IDs.
1729
1730         * WebKitTestRunner/TestController.cpp:
1731         (WTR::TestController::runTestingServerLoop):
1732         (WTR::TestController::simulateWebNotificationClick):
1733         * WebKitTestRunner/WebNotificationProvider.cpp:
1734         (WTR::WebNotificationProvider::showWebNotification):
1735         (WTR::removeGlobalIDFromIDMap):
1736         (WTR::WebNotificationProvider::closeWebNotification):
1737         (WTR::WebNotificationProvider::removeNotificationManager):
1738         (WTR::WebNotificationProvider::simulateWebNotificationClick):
1739         (WTR::WebNotificationProvider::reset):
1740         * WebKitTestRunner/WebNotificationProvider.h:
1741
1742 2016-07-01  Alexey Proskuryakov  <ap@apple.com>
1743
1744         Simplify LayoutTestRelay
1745         https://bugs.webkit.org/show_bug.cgi?id=159353
1746
1747         Reviewed by Daniel Bates.
1748
1749         1. Use UDID to pass the device from webkitpy to LayoutTestRelay, searching for it
1750         by name and runtime makes no sense.
1751         2. Removed code to create devices, webkitpy always does this in advance.
1752         3. Don't create copies of testing apps - we can install the same one into
1753         each simulator, now that we don't run multiple tester processes in a single simulator.
1754         4. Pass information on how to find I/O pipes via environment, not via Info.plist.
1755         5. Removed code that kept testing apps alive in the background.
1756         6. Slightly updated coding style in functions that I touched.
1757
1758         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h:
1759         Updated for what we acually use at this point.
1760
1761         * LayoutTestRelay/LayoutTestRelay/LTRelayController.h:
1762         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
1763         (-[LTRelayController initWithDevice:productDir:appPath:deviceUDID:dumpToolArguments:]):
1764         (-[LTRelayController ipcIdentifier]):
1765         (-[LTRelayController processName]):
1766         (-[LTRelayController didReceiveStdoutData:]):
1767         (-[LTRelayController didCrashWithMessage:]):
1768         (-[LTRelayController installApp]):
1769         (-[LTRelayController _environmentVariables]):
1770         (-[LTRelayController launchApp]):
1771         (-[LTRelayController start]):
1772         (-[LTRelayController initWithDevice:productDir:appPath:identifierSuffix:dumpToolArguments:]): Deleted.
1773         (-[LTRelayController uniqueAppPath]): Deleted.
1774         (-[LTRelayController uniqueAppURL]): Deleted.
1775         (-[LTRelayController uniqueAppIdentifier]): Deleted.
1776         (-[LTRelayController createUniqueApp]): Deleted.
1777         * LayoutTestRelay/LayoutTestRelay/main.m:
1778         (usage):
1779         (getRequiredStringArgument):
1780         (main):
1781         (getTestingSimDevice): Deleted.
1782         * Scripts/webkitpy/port/driver.py:
1783         (IOSSimulatorDriver.cmd_line):
1784         * WebKitTestRunner/ios/TestControllerIOS.mm:
1785         (WTR::TestController::platformInitialize):
1786         * WebKitTestRunner/ios/mainIOS.mm:
1787         (-[WebKitTestRunnerApp applicationDidEnterBackground:]):
1788         * DumpRenderTree/mac/DumpRenderTree.mm:
1789         (dumpRenderTree):
1790         (-[DumpRenderTree applicationDidEnterBackground:]):
1791
1792 2016-07-01  Konstantin Tokarev  <annulen@yandex.ru>
1793
1794         [cmake] Build TestNetscapePlugin only if NPAPI is enabled.
1795         https://bugs.webkit.org/show_bug.cgi?id=159344
1796
1797         Reviewed by Alex Christensen.
1798
1799         * DumpRenderTree/CMakeLists.txt:
1800
1801 2016-07-01  Youenn Fablet  <youennf@gmail.com>
1802
1803         Add a runtime flag for DOM iterators
1804         https://bugs.webkit.org/show_bug.cgi?id=159300
1805
1806         Reviewed by Alex Christensen.
1807
1808         * DumpRenderTree/mac/DumpRenderTree.mm:
1809         (resetWebPreferencesToConsistentValues):
1810         * DumpRenderTree/win/DumpRenderTree.cpp:
1811         (resetWebPreferencesToConsistentValues):
1812         * Scripts/webkitperl/FeatureList.pm:
1813         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1814         (WTR::InjectedBundle::beginTesting):
1815         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1816         (WTR::TestRunner::setDOMIteratorEnabled):
1817         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1818
1819 2016-06-30  Tina Liu  <iting_liu@apple.com>
1820
1821         Add an API test for WKPageRestoreFromSessionStateWithoutNavigation.
1822         https://bugs.webkit.org/show_bug.cgi?id=159326
1823
1824         Reviewed by Brady Eidson.
1825
1826         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1827         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateWithoutNavigation.cpp: Added.
1828         (TestWebKitAPI::didFinishLoadForFrame):
1829         (TestWebKitAPI::didChangeBackForwardListForPage):
1830         (TestWebKitAPI::setPageLoaderClient):
1831         Set the page loader client and register for didFinishLoadForFrame and
1832         didChangeBackForwardList callbacks.
1833         (TestWebKitAPI::createSessionStateData):
1834         Load a webpage ("simple.html") and return the session state for this page.
1835         (TestWebKitAPI::TEST):
1836         Restore the page session state with that of "simple.html" without navigation.
1837         Verify that the committed URL is NULL since there's no navigation involved.
1838         Verify that the current item in the back forward list, which should be what
1839         we restored from the session state, has the expected URL.
1840
1841 2016-06-29  Filip Pizlo  <fpizlo@apple.com>
1842
1843         Generators violate bytecode liveness validation
1844         https://bugs.webkit.org/show_bug.cgi?id=159279
1845
1846         Reviewed by Yusuke Suzuki.
1847         
1848         Add Basic to our test harness.
1849
1850         * Scripts/run-javascriptcore-tests:
1851         (runJSCStressTests):
1852
1853 2016-06-30  Per Arne Vollan  <pvollan@apple.com>
1854
1855         [Win][Debug] Assertion fails in TestWTF.
1856         https://bugs.webkit.org/show_bug.cgi?id=159299
1857
1858         Reviewed by Alex Christensen.
1859
1860         The assert in the & operator in the UniqueRef class fails, because the instance has been moved.
1861         The Windows version of the UNUSED_PARAM macro is getting the address of the parameter, causing
1862         the assertion failure. Since the variable is actually used, there is no need to use the
1863         UNUSED_PARAM macro.
1864
1865         * TestWebKitAPI/Tests/WTF/UniqueRef.cpp:
1866         (TestWebKitAPI::TEST):
1867
1868 2016-06-30  Youenn Fablet  <youennf@gmail.com>
1869
1870         LayoutTests intermittently failing to run due to issues starting Web Platform Test server
1871         https://bugs.webkit.org/show_bug.cgi?id=159166
1872         <rdar://problem/27051759>
1873
1874         Reviewed by Alexey Proskuryakov.
1875
1876         Setting the certificate directory to the copied config.json.
1877
1878         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1879         (WebPlatformTestServer._copy_webkit_test_files):
1880
1881 2016-06-29  Mark Lam  <mark.lam@apple.com>
1882
1883         Add support for collecting cumulative LLINT stats via a JSC_llintStatsFile option.
1884         https://bugs.webkit.org/show_bug.cgi?id=159274
1885
1886         Reviewed by Keith Miller.
1887
1888         * DumpRenderTree/mac/DumpRenderTree.mm:
1889         (DumpRenderTreeMain):
1890
1891 2016-06-29  Alex Christensen  <achristensen@webkit.org>
1892
1893         WKWebView should ask WKNavigationDelegate about bad ssl certificates
1894         https://bugs.webkit.org/show_bug.cgi?id=159176
1895
1896         Reviewed by Sam Weinig.
1897
1898         * MiniBrowser/mac/WK2BrowserWindowController.m:
1899         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]):
1900         (-[WK2BrowserWindowController webView:didReceiveAuthenticationChallenge:completionHandler:]):
1901         (-[WK2BrowserWindowController webView:didFailNavigation:withError:]):
1902
1903 2016-06-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1904
1905         [GTK] Add missing install dependency after r202619
1906         https://bugs.webkit.org/show_bug.cgi?id=156716
1907
1908         Unreviewed.
1909
1910         * gtk/install-dependencies: Missed to add the GLES headers that are needed for building mesa on Debian.
1911
1912 2016-06-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1913
1914         [GTK][Wayland] Implement support for running the layout tests under a (virtualized) Wayland environment.
1915         https://bugs.webkit.org/show_bug.cgi?id=156716
1916
1917         Reviewed by Carlos Garcia Campos and Michael Catanzaro.
1918
1919         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Allow to run the layout tests on Wayland by passing --wayland
1920         (parse_args):
1921         * Scripts/webkitpy/port/gtk.py:
1922         (GtkPort.__init__):
1923         (GtkPort._driver_class):
1924         (GtkPort.setup_environ_for_server): Set the softgl renderer (now with EGL support) for the wayland tests.
1925         (GtkPort._search_paths): When running inside the wayland environment, use ${port}-wayland as an additional
1926         platform directory for storing the wayland specific layout test results and expectations for ${port}.
1927         For example, the file LayoutTests/platform/gtk-wayland/TestExpectations will be used as the most specific
1928         test expectations file on the GTK port when running the tests with the --wayland command line switch.
1929         Baseline search path: gtk-wayland -> gtk -> wk2 -> generic.
1930         * Scripts/webkitpy/port/westondriver.py: Run the weston display server inside Xvfb.
1931         (WestonDriver.check_driver):
1932         (WestonDriver.__init__):
1933         (WestonDriver._start):
1934         * Scripts/webkitpy/port/westondriver_unittest.py: Fix unittests for the new Weston inside Xvfb driver.
1935         (WestonXvfbDriverDisplayTest):
1936         (WestonXvfbDriverDisplayTest.__init__):
1937         (WestonXvfbDriverDisplayTest._xvfb_run):
1938         (WestonDriverTest.make_driver):
1939         (WestonDriverTest.test_start):
1940         * gtk/install-dependencies: Add the new dependencies that are required for either building weston,
1941         or to satisfy the pkg-config check of the new added modules in JHBuild.
1942         * gtk/jhbuild.modules: For building weston new enough on Debian Jessie we also need to build wayland
1943         and libinput. Declare a pkg-config entry on all this modules to avoid building them if the ones
1944         provided by the system are already new enough.
1945         Switch the Mesa software rasterizer from a Xlib based GLX renderer to a DRI based EGL/GLX one.
1946         It was the only way to get the software EGL rasterizer working without depending on user drivers.
1947         Due to this the Mesa build now depends on a modern enough libdrm, so we also use JHBuild pkg-config
1948         feature to avoid building libdrm when the one provided by the system is new enough.
1949         * gtk/jhbuildrc:
1950         * gtk/patches/xserver-search-for-DRI-drivers-at-LIBGL_DRIVERS_PATH-environ.patch: Added.
1951         Xorg had no support for searching the DRI drivers on a custom path at runtime.
1952         This patch implements support for that reusing the same variable that we use with Mesa to set the
1953         custom path for the DRI drivers path.
1954
1955 2016-06-29  Alejandro G. Castro  <alex@igalia.com>
1956
1957         [WebRTC][OWR] Bump gst-plugins-openwebrtc jhbuild version to get scream fixes
1958         https://bugs.webkit.org/show_bug.cgi?id=159256
1959
1960         Reviewed by Philippe Normand.
1961
1962         We need the last fixes in the repository to make the scream queue
1963         work with apprtc.
1964
1965         * gtk/jhbuild.modules:
1966
1967 2016-06-28  Commit Queue  <commit-queue@webkit.org>
1968
1969         Unreviewed, rolling out r202580.
1970         https://bugs.webkit.org/show_bug.cgi?id=159245
1971
1972         Caused all WKTR tests to fail on GuardMalloc and Production
1973         only for unknown reasons, investigating offline. (Requested by
1974         brrian on #webkit).
1975
1976         Reverted changeset:
1977
1978         "RunLoop::Timer should use constructor templates instead of
1979         class templates"
1980         https://bugs.webkit.org/show_bug.cgi?id=159153
1981         http://trac.webkit.org/changeset/202580
1982
1983 2016-06-28  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1984
1985         Use a regex to check if a test step is for JavaScriptCore
1986         https://bugs.webkit.org/show_bug.cgi?id=159224
1987
1988         Reviewed by Geoffrey Garen.
1989
1990         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
1991         (BuildbotCombinedQueueView.prototype.update): Replace array membership test with regex test.
1992         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1993         (BuildbotIteration.prototype._parseData): Replace array membership test with regex test.
1994         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1995         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Replace array membership test with regex test.
1996
1997 2016-06-28  Michael Saboff  <msaboff@apple.com>
1998
1999         btjs no longer accepts optional frame count argument
2000         https://bugs.webkit.org/show_bug.cgi?id=159235
2001
2002         Reviewed by Saam Barati.
2003
2004         Fix the detection of optional backtrace-depth parameter to use the length
2005         of the command.
2006
2007         * lldb/lldb_webkit.py:
2008         (btjs):
2009
2010 2016-06-28  Jon Lee  <jonlee@apple.com>
2011
2012         Update animometer.plan
2013
2014         Rubber-stamped by Said Abou-Hallawa.
2015
2016         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r202601.
2017
2018 2016-06-28  Filip Pizlo  <fpizlo@apple.com>
2019
2020         Unreviewed, fix JSC tests. Air.js moved, and the harness needs to know.
2021
2022         * Scripts/run-javascriptcore-tests:
2023         (runJSCStressTests):
2024
2025 2016-06-28  Brian Burg  <bburg@apple.com>
2026
2027         RunLoop::Timer should use constructor templates instead of class templates
2028         https://bugs.webkit.org/show_bug.cgi?id=159153
2029
2030         Reviewed by Alex Christensen.
2031
2032         Remove the RunLoop::Timer class template argument, and pass its constructor
2033         a reference to `this` instead of a pointer to `this`.
2034
2035         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2036         (WTR::TestRunner::TestRunner):
2037         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2038         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
2039         (TestWebKitAPI::TEST):
2040
2041 2016-06-28  Ryosuke Niwa  <rniwa@webkit.org>
2042
2043         REGRESSION(r201471): FormClient.textFieldDidEndEditing is no longer called when a text field is removed
2044         https://bugs.webkit.org/show_bug.cgi?id=159199
2045
2046         Reviewed by Alexey Proskuryakov.
2047
2048         Added a test case for removing a text field. Also fixed the flakiness and re-enabled it on Mac.
2049
2050         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp:
2051         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp:
2052         * TestWebKitAPI/Tests/WebKit2/input-focus-blur.html: Focus a div upfront to avoid the flakiness from
2053         an input element getting automatically focused on Mac.
2054
2055 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
2056
2057         [Win] Custom elements tests are failing.
2058         https://bugs.webkit.org/show_bug.cgi?id=159139
2059
2060         Reviewed by Alex Christensen.
2061
2062         Enable custom element API when running tests.
2063
2064         * DumpRenderTree/win/DumpRenderTree.cpp:
2065         (resetWebPreferencesToConsistentValues):
2066
2067 2016-06-27  Lucas Forschler  <lforschler@apple.com>
2068
2069         Test commit. Please ignore.
2070         
2071 2016-06-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2072
2073         [GTK][EFL] Disable subtle-crypto in FeatureList.pm
2074         https://bugs.webkit.org/show_bug.cgi?id=155073
2075
2076         Reviewed by Daniel Bates.
2077
2078         * Scripts/webkitperl/FeatureList.pm:
2079
2080 2016-06-27  Simon Fraser  <simon.fraser@apple.com>
2081
2082         [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting
2083         https://bugs.webkit.org/show_bug.cgi?id=159077
2084
2085         Reviewed by Tim Horton.
2086
2087         Re-enable render server snapshotting for iOS WTR via the change in InjectedBundlePage.cpp.
2088
2089         Fix WebPageProxy::forceRepaint() to correctly wait for the next commit from the web process,
2090         which is necessary for UI-side compositing.
2091
2092         Add some null checks to fix issues when the WKWebView gets resized to be empty, which
2093         seems to happen for some tests that call window.resizeTo().
2094
2095         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2096         (WTR::InjectedBundlePage::dump): Deleted.
2097         * WebKitTestRunner/TestInvocation.cpp:
2098         (WTR::TestInvocation::dumpResults):
2099         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2100         (WTR::createCGContextFromImage):
2101         (WTR::computeMD5HashStringForContext):
2102         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2103         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2104         (WTR::PlatformWebView::windowSnapshotImage):
2105
2106 2016-06-27  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2107
2108         [EFL] Support to build on Debian linux
2109         https://bugs.webkit.org/show_bug.cgi?id=159123
2110
2111         Reviewed by Antonio Gomes.
2112
2113         * efl/install-dependencies: Install libgnutls28-dev.
2114
2115 2016-06-27  Alex Christensen  <achristensen@webkit.org>
2116
2117         Send canAuthenticateAgainstProtectionSpace calls from NetworkProcess directly to UIProcess
2118         https://bugs.webkit.org/show_bug.cgi?id=159071
2119
2120         Reviewed by Brady Eidson.
2121
2122         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2123         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2124         (WTR::TestRunner::setHandlesAuthenticationChallenges):
2125         (WTR::TestRunner::setShouldLogCanAuthenticateAgainstProtectionSpace):
2126         (WTR::TestRunner::setAuthenticationUsername):
2127         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2128         * WebKitTestRunner/TestController.cpp:
2129         (WTR::TestController::TestController):
2130         (WTR::TestController::resetStateToConsistentValues):
2131         (WTR::TestController::didFinishNavigation):
2132         (WTR::TestController::canAuthenticateAgainstProtectionSpace):
2133         (WTR::TestController::didReceiveAuthenticationChallenge):
2134         (WTR::TestController::didCommitNavigation):
2135         * WebKitTestRunner/TestController.h:
2136         (WTR::TestController::setBlockAllPlugins):
2137         (WTR::TestController::setShouldLogHistoryClientCallbacks):
2138         (WTR::TestController::setShouldLogCanAuthenticateAgainstProtectionSpace):
2139         (WTR::TestController::isCurrentInvocation):
2140         * WebKitTestRunner/TestInvocation.cpp:
2141         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2142         Added output so we can see when canAuthenticateAgainstProtectionSpace is called from the test expectations.
2143
2144 2016-06-27  Per Arne Vollan  <pvollan@apple.com>
2145
2146         [Win] The test fast/events/wheel-event-outside-body.html is timing out.
2147         https://bugs.webkit.org/show_bug.cgi?id=159129
2148
2149         Reviewed by Alex Christensen.
2150
2151         Implement the function mouseScrollBy in the Windows event sender.
2152
2153         * DumpRenderTree/win/EventSender.cpp:
2154         (mouseScrollBy):
2155         (mouseScrollByWithWheelAndMomentumPhasesCallback):
2156
2157 2016-06-25  Filip Pizlo  <fpizlo@apple.com>
2158
2159         REGRESSION: Weak symbol warning when linking TestWebKitAPI
2160         https://bugs.webkit.org/show_bug.cgi?id=159104
2161
2162         Reviewed by Dan Bernstein.
2163         
2164         This uses a better approach to turn on -fvisility=hidden. All of the other projects set
2165         this flag in xcconfig, using "GCC_SYMBOLS_PRIVATE_EXTERN = YES;".
2166
2167         * TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig: Use GCC_SYMBOLS_PRIVATE_EXTERN here.
2168         * TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig: Use GCC_SYMBOLS_PRIVATE_EXTERN here.
2169         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Revert r202461.
2170
2171 2016-06-25  Per Arne Vollan  <pvollan@apple.com>
2172
2173         [Win] The test fast/events/wheel-event-destroys-frame.html is timing out.
2174         https://bugs.webkit.org/show_bug.cgi?id=159086
2175
2176         Reviewed by Alex Christensen.
2177
2178         Implement required wheel event function in event sender.
2179  
2180         * DumpRenderTree/win/EventSender.cpp:
2181         (mouseScrollByWithWheelAndMomentumPhasesCallback):
2182
2183 2016-06-24  Filip Pizlo  <fpizlo@apple.com>
2184
2185         REGRESSION: Weak symbol warning when linking TestWebKitAPI
2186         https://bugs.webkit.org/show_bug.cgi?id=159104
2187
2188         Reviewed by Mark Lam.
2189         
2190         The problem is that the tests were not compiled with -fvisibility=hidden like the rest of
2191         WK.
2192
2193         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2194
2195 2016-06-24  David Kilzer  <ddkilzer@apple.com>
2196
2197         parser_unittests.pl should not hardcode list of tests
2198         <https://webkit.org/b/159074>
2199
2200         Reviewed by Daniel Bates.
2201
2202         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
2203         Update to read the list of tests from the 'resources' directory,
2204         and instead map file extensions to subroutine names.  Switch to
2205         use File::Basename::fileparse() to get basename and file
2206         extension for each test.
2207         (readTestFiles): Added.  Reads files from the directory passed
2208         in and ignores: hidden files, anything that isn't a plain file,
2209         and expected test results files.
2210
2211 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2212
2213         Fix Windows build.
2214
2215         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2216         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2217
2218 2016-06-23  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2219
2220         [EFL] Change download path of libxslt
2221
2222         Unreviewed EFL build fix.
2223
2224         In Korea current download path can't be accessed. Change it.
2225
2226         * efl/jhbuild.modules:
2227
2228 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2229
2230         https://bugs.webkit.org/show_bug.cgi?id=159077
2231
2232         Turn off CARenderServer snapshotting in WTR for now, because it doesn't reliably
2233         snapshot the final state of the test in release builds. 
2234
2235         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2236         (WTR::InjectedBundlePage::dump):
2237
2238 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2239
2240         Fix hardware builds, where USE(IOSURFACE) is true by #ifdeffing.
2241
2242         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2243         (createBitmapContextFromWebView):
2244         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2245         (WTR::PlatformWebView::windowSnapshotImage):
2246
2247 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2248
2249         [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting
2250         https://bugs.webkit.org/show_bug.cgi?id=159077
2251
2252         Reviewed by Tim Horton.
2253
2254         Fix both DRT and WTR for iOS to use CARenderServerRenderLayerWithTransform() on the view's layer.
2255         This allows them to capture compositing layers in snapshots, rather than doing a software paint,
2256         thus enabling testing of more things.
2257
2258         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2259         (createBitmapContext): Moved to this file to share it.
2260         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2261         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2262         (createBitmapContextFromWebView):
2263         (BitmapContext::createFromUIImage): Deleted.
2264         (BitmapContext::pixelData): Deleted.
2265         (BitmapContext::BitmapContext): Deleted.
2266         (computeMD5HashStringForBitmapContext): Deleted.
2267         (dumpBitmap): Deleted.
2268         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig: Don't exclude PixelDumpSupportCG.cpp.
2269         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2270         (createPagedBitmapContext):
2271         (createBitmapContext): Deleted.
2272         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: link with QuartzCore.
2273         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2274         (WTR::InjectedBundlePage::dump): Deleted.
2275         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2276         (WTR::PlatformWebView::windowSnapshotImage):
2277
2278 2016-06-23  Konstantin Tokarev  <annulen@yandex.ru>
2279
2280         [jhbuild] Added libxslt module.
2281         https://bugs.webkit.org/show_bug.cgi?id=159034
2282
2283         Unreviewed, followup for r202373.
2284
2285         * efl/install-dependencies: Removed libxslt 
2286         * gtk/install-dependencies: Ditto.
2287
2288 2016-06-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2289
2290         [EFL] Bump gstreamer version from 1.6.3 to 1.8.0
2291         https://bugs.webkit.org/show_bug.cgi?id=159050
2292
2293         Reviewed by Antonio Gomes.
2294
2295         To be sync with GTK port, this patch bumps gstreamer version for EFL port.
2296
2297         * efl/jhbuild.modules:
2298         * efl/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added.
2299         * efl/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added.
2300
2301 2016-06-23  Konstantin Tokarev  <annulen@yandex.ru>
2302
2303         [jhbuild] Added libxslt module.
2304         https://bugs.webkit.org/show_bug.cgi?id=159034
2305
2306         Reviewed by Michael Catanzaro.
2307
2308         * efl/jhbuild.modules:
2309         * gtk/jhbuild.modules:
2310
2311 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2312
2313         [Win] Use Windows api function to find top level parent.
2314         https://bugs.webkit.org/show_bug.cgi?id=159021
2315
2316         Reviewed by Brent Fulgham.
2317
2318         Delete findTopLevelParent function, and use Win32 function GetAncestor instead.
2319  
2320         * DumpRenderTree/win/UIDelegate.cpp:
2321         (UIDelegate::runModal):
2322         (findTopLevelParent): Deleted.
2323         * MiniBrowser/win/PrintWebUIDelegate.cpp:
2324         (PrintWebUIDelegate::runModal):
2325         (findTopLevelParent): Deleted.
2326
2327 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2328
2329         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
2330         https://bugs.webkit.org/show_bug.cgi?id=158934
2331
2332         Reviewed by Brent Fulgham.
2333
2334         DumpRenderTree should also delete indexed databases when clearAllDatabases() is called.
2335
2336         * DumpRenderTree/win/TestRunnerWin.cpp:
2337         (TestRunner::clearAllDatabases):
2338
2339 2016-06-22  Saam Barati  <sbarati@apple.com>
2340
2341         run-javascriptcore-tests should have some environment variables for commonly used settings
2342         https://bugs.webkit.org/show_bug.cgi?id=159047
2343
2344         Reviewed by Keith Miller.
2345
2346         This patch adds three environment variables that run-javascriptcore-tests
2347         consults:
2348         - RUN_JAVASCRIPTCORE_TESTS_TESTAPI can be set to 'true' or 'false'. It
2349           determines if we should run the api tests or not.
2350         - RUN_JAVASCRIPTCORE_TESTS_BUILD can be set to 'true' or 'false'. It
2351           determines if we will perform a build or not before running the tests.
2352           to set the default should-build setting.
2353         - RUN_JAVASCRIPTCORE_TESTS_EXTRA_TESTS can be set to a directory or to
2354           a yaml file. If set, we will run the extra tests it refers to.
2355
2356         All the values in these environment variables will be overridden if an
2357         option is explicitly passed in. For example, the following will run
2358         the api tests:
2359         `RUN_JAVASCRIPTCORE_TESTS_TESTAPI=false run-javascriptcore-tests --testapi`
2360
2361         * Scripts/run-javascriptcore-tests:
2362
2363 2016-06-22  Saam barati  <sbarati@apple.com>
2364
2365         TypeProfiler and TypeProfilerLog don't play nicely with the concurrent JIT
2366         https://bugs.webkit.org/show_bug.cgi?id=159037
2367         <rdar://problem/26935349>
2368
2369         Reviewed by Benjamin Poulain.
2370
2371         Run typeProfiler.yaml tests under an additional CJIT enabled mode.
2372
2373         * Scripts/run-jsc-stress-tests:
2374
2375 2016-06-22  Aakash Jain  <aakash_jain@apple.com>
2376
2377         Fix style issues in webkitpy
2378         https://bugs.webkit.org/show_bug.cgi?id=159019
2379
2380         Reviewed by Daniel Bates.
2381
2382         Fixed the formatting issues as reported by check-webkit-style in webkitpy.
2383         There is no functionality change.
2384         Only affected file names retained below for brevity.
2385
2386         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
2387         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
2388         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
2389         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2390         * Scripts/webkitpy/benchmark_runner/utils.py:
2391         * Scripts/webkitpy/common/checkout/changelog.py:
2392         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
2393         * Scripts/webkitpy/common/checkout/checkout.py:
2394         * Scripts/webkitpy/common/checkout/checkout_mock.py:
2395         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
2396         * Scripts/webkitpy/common/checkout/commitinfo.py:
2397         * Scripts/webkitpy/common/checkout/commitinfo_unittest.py:
2398         * Scripts/webkitpy/common/checkout/diff_parser_unittest.py:
2399         * Scripts/webkitpy/common/checkout/scm/scm.py:
2400         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2401         * Scripts/webkitpy/common/config/committers_unittest.py:
2402         * Scripts/webkitpy/common/config/irc.py:
2403         * Scripts/webkitpy/common/config/ports.py:
2404         * Scripts/webkitpy/common/config/ports_unittest.py:
2405         * Scripts/webkitpy/common/config/urls.py:
2406         * Scripts/webkitpy/common/host_mock.py:
2407         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2408         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
2409         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2410         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py:
2411         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2412         * Scripts/webkitpy/common/net/credentials_unittest.py:
2413         * Scripts/webkitpy/common/net/irc/ircproxy_unittest.py:
2414         * Scripts/webkitpy/common/net/networktransaction_unittest.py:
2415         * Scripts/webkitpy/common/net/statusserver.py:
2416         * Scripts/webkitpy/common/system/autoinstall.py:
2417         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
2418         * Scripts/webkitpy/common/system/executive.py:
2419         * Scripts/webkitpy/common/system/executive_mock.py:
2420         * Scripts/webkitpy/common/system/executive_unittest.py:
2421         * Scripts/webkitpy/common/system/filesystem_mock.py:
2422         * Scripts/webkitpy/common/system/filesystem_unittest.py:
2423         * Scripts/webkitpy/common/system/logutils_unittest.py:
2424         * Scripts/webkitpy/common/system/path.py:
2425         * Scripts/webkitpy/common/system/path_unittest.py:
2426         * Scripts/webkitpy/common/system/platforminfo.py:
2427         * Scripts/webkitpy/common/system/user.py:
2428         * Scripts/webkitpy/common/system/user_unittest.py:
2429         * Scripts/webkitpy/common/system/workspace_unittest.py:
2430         * Scripts/webkitpy/common/thread/threadedmessagequeue.py:
2431         * Scripts/webkitpy/common/thread/threadedmessagequeue_unittest.py:
2432         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
2433         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2434         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
2435         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
2436         * Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py:
2437         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
2438         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2439         * Scripts/webkitpy/layout_tests/models/test_failures.py:
2440         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
2441         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
2442         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
2443         * Scripts/webkitpy/layout_tests/views/printing.py:
2444         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2445         * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
2446         * Scripts/webkitpy/port/base_unittest.py:
2447         * Scripts/webkitpy/port/driver.py:
2448         * Scripts/webkitpy/port/driver_unittest.py:
2449         * Scripts/webkitpy/port/factory.py:
2450         * Scripts/webkitpy/port/gtk.py:
2451         * Scripts/webkitpy/port/server_process_unittest.py:
2452         * Scripts/webkitpy/port/test.py:
2453         * Scripts/webkitpy/port/win.py:
2454         * Scripts/webkitpy/style/checker.py:
2455         * Scripts/webkitpy/style/checkers/common_unittest.py:
2456         * Scripts/webkitpy/style/checkers/cpp.py:
2457         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2458         * Scripts/webkitpy/style/checkers/js.py:
2459         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2460         * Scripts/webkitpy/style/checkers/png.py:
2461         * Scripts/webkitpy/style/checkers/text.py:
2462         * Scripts/webkitpy/style/checkers/text_unittest.py:
2463         * Scripts/webkitpy/style/error_handlers.py:
2464         * Scripts/webkitpy/style/filter.py:
2465         * Scripts/webkitpy/style/filter_unittest.py:
2466         * Scripts/webkitpy/style/optparser.py:
2467         * Scripts/webkitpy/style/optparser_unittest.py:
2468         * Scripts/webkitpy/test/main.py:
2469         * Scripts/webkitpy/w3c/test_converter.py:
2470         * Scripts/webkitpy/w3c/test_converter_unittest.py:
2471         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2472         * Scripts/webkitpy/xcode/simulator.py:
2473
2474 2016-06-22  Brady Eidson  <beidson@apple.com>
2475
2476         DatabaseProcess doesn't handle WebProcesses going away uncleanly.
2477         https://bugs.webkit.org/show_bug.cgi?id=158894
2478
2479         Reviewed by Alex Christensen.
2480
2481         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2482         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html:
2483         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-3.html: Added.
2484         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
2485
2486 2016-06-22  Jon Lee  <jonlee@apple.com>
2487
2488         Update animometer.plan
2489         https://bugs.webkit.org/show_bug.cgi?id=159012
2490
2491         Reviewed by Ryosuke Niwa.
2492
2493         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r202318.
2494
2495 2016-06-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2496
2497         W3C test importer should generate files to ignore by WebKit SCM
2498         https://bugs.webkit.org/show_bug.cgi?id=142743
2499
2500         Reviewed by Darin Adler.
2501
2502         TestDownloader generates the .gitignore file according submodules git repository information.
2503         TestImporter requests the generation of .gitignore and the main __init__.py according LayoutTests/imported/w3c/resources/TestRepositories options.
2504
2505         * Scripts/webkitpy/w3c/test_downloader.py:
2506         (TestDownloader.generate_gitignore): Generating .gitignore according submodules description.
2507         * Scripts/webkitpy/w3c/test_importer.py:
2508         (TestImporter.process_test_repositories_import_options): Added the generation of .gitignore/__init__.py if the repo has the right option.
2509         (TestImporter):
2510         (TestImporter.write_init_py): Writing not empty __init__.py files.
2511         (TestImporter.import_tests): Using  of write_init_py. 
2512         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2513         (TestImporterTest.test_git_ignore_generation): Added .gitignore test.
2514         (TestImporterTest):
2515         (TestImporterTest.test_initpy_generation): Added __init__.py test.
2516
2517 2016-06-21  Sam Weinig  <sam@webkit.org>
2518
2519         WKWebView with no WKNavigationDelegate does not follow universal links
2520         <rdar://problem/24374110>
2521         https://bugs.webkit.org/show_bug.cgi?id=158997
2522
2523         Reviewed by Dan Bernstein.
2524
2525         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2526         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added.
2527         Add a new test that shows that we have a default navigation delegate by swizzling
2528         -[NSWorkspace openURL:]. This will only be called if there is a default client.
2529
2530 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2531
2532         [Win] Implement modal dialog support in MiniBrowser.
2533         https://bugs.webkit.org/show_bug.cgi?id=158976
2534
2535         Reviewed by Brent Fulgham.
2536
2537         * MiniBrowser/win/PrintWebUIDelegate.cpp:
2538         (PrintWebUIDelegate::createWebViewWithRequest):
2539         (getHandleFromWebView):
2540         (PrintWebUIDelegate::webViewClose):
2541         (PrintWebUIDelegate::setFrame):
2542         (PrintWebUIDelegate::webViewFrame):
2543         (PrintWebUIDelegate::canRunModal):
2544         (findTopLevelParent):
2545         (PrintWebUIDelegate::runModal):
2546         (PrintWebUIDelegate::createModalDialog):
2547         * MiniBrowser/win/PrintWebUIDelegate.h:
2548         (PrintWebUIDelegate::webViewClose):
2549         (PrintWebUIDelegate::setFrame):
2550         (PrintWebUIDelegate::webViewFrame):
2551         (PrintWebUIDelegate::canRunModal):
2552         (PrintWebUIDelegate::runModal):
2553
2554 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2555
2556         window.showModalDialog doesn't work in DumpRenderTree on Windows
2557         https://bugs.webkit.org/show_bug.cgi?id=53675
2558
2559         Reviewed by Brent Fulgham.
2560
2561         Implement modal dialog support in DumpRenderTree.
2562
2563         * DumpRenderTree/win/UIDelegate.cpp:
2564         (UIDelegate::canRunModal):
2565         (getHandleFromWebView):
2566         (UIDelegate::createModalDialog):
2567         (findTopLevelParent):
2568         (UIDelegate::runModal):
2569         (UIDelegate::webViewClose):
2570         * DumpRenderTree/win/UIDelegate.h:
2571
2572 2016-06-21  Aakash Jain  <aakash_jain@apple.com>
2573
2574         Fix formatting issues reported by check-webkit-style
2575         https://bugs.webkit.org/show_bug.cgi?id=159008
2576
2577         Reviewed by Alexey Proskuryakov.
2578
2579         Fixed the formatting issues as reported by check-webkit-style in webkitpy/tool folder.
2580         There is no functionality change.
2581
2582         * Scripts/webkitpy/tool/bot/irc_command.py:
2583         (Restart.execute):
2584         (Rollout):
2585         * Scripts/webkitpy/tool/bot/ircbot_unittest.py:
2586         (IRCBotTest.test_exception_during_command):
2587         (IRCBotTest.test_exception_during_command.CommandWithException):
2588         (IRCBotTest.test_exception_during_command.CommandWithException.execute):
2589         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
2590         (test_missing_unit_test_results_path):
2591         (test_layout_test_results):
2592         * Scripts/webkitpy/tool/bot/queueengine.py:
2593         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
2594         * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
2595         (AbstractSequencedCommand):
2596         (AbstractSequencedCommand.__init__):
2597         * Scripts/webkitpy/tool/commands/download.py:
2598         (Land):
2599         * Scripts/webkitpy/tool/commands/openbugs.py:
2600         * Scripts/webkitpy/tool/commands/openbugs_unittest.py:
2601         (OpenBugsTest):
2602         * Scripts/webkitpy/tool/commands/queries.py:
2603         (PatchesToCommitQueue):
2604         (PatchesToCommitQueue.__init__):
2605         (PatchesToCommitQueue._needs_commit_queue):
2606         * Scripts/webkitpy/tool/commands/queries_unittest.py:
2607         (PrintExpectationsTest.test_platform):
2608         (PrintBaselinesTest):
2609         (PrintBaselinesTest.setUp):
2610         * Scripts/webkitpy/tool/commands/queues.py:
2611         (AbstractQueue):
2612         (AbstractQueue.__init__):
2613         (AbstractQueue.execute):
2614         * Scripts/webkitpy/tool/commands/queues_unittest.py:
2615         (test_auto_retry):
2616         * Scripts/webkitpy/tool/commands/rebaseline.py:
2617         (AbstractParallelRebaselineCommand._files_to_add):
2618         (AbstractParallelRebaselineCommand):
2619         (AbstractParallelRebaselineCommand._rebaseline):
2620         * Scripts/webkitpy/tool/commands/setupgitclone.py:
2621         (SetupGitClone):
2622         * Scripts/webkitpy/tool/commands/sheriffbot.py:
2623         * Scripts/webkitpy/tool/commands/stepsequence.py:
2624         * Scripts/webkitpy/tool/commands/upload.py:
2625         (PostCommits._comment_text_for_commit):
2626         (PostCommits):
2627         (PostCommits.execute):
2628         (MarkBugFixed):
2629         (MarkBugFixed.__init__):
2630         * Scripts/webkitpy/tool/commands/upload_unittest.py:
2631         (UploadCommandsTest):
2632         (UploadCommandsTest.test_commit_message_for_current_diff):
2633         * Scripts/webkitpy/tool/grammar_unittest.py:
2634         (GrammarTest):
2635         (GrammarTest.test_join_with_separators):
2636         * Scripts/webkitpy/tool/multicommandtool.py:
2637         (HelpCommand.__init__):
2638         (HelpCommand):
2639         (HelpCommand._help_epilog):
2640         (HelpCommand._remove_help_options):
2641         (MultiCommandTool):
2642         (MultiCommandTool.__init__):
2643         (MultiCommandTool.main):
2644         * Scripts/webkitpy/tool/multicommandtool_unittest.py:
2645         (TrivialCommand):
2646         (TrivialCommand.__init__):
2647         (MultiCommandToolTest):
2648         (MultiCommandToolTest._assert_tool_main_outputs):
2649         (MultiCommandToolTest.test_retry):
2650         (test_command_help):
2651         * Scripts/webkitpy/tool/steps/__init__.py:
2652         * Scripts/webkitpy/tool/steps/abstractstep.py:
2653         * Scripts/webkitpy/tool/steps/applypatch.py:
2654         * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
2655         (ApplyPatchWithLocalCommit):
2656         (ApplyPatchWithLocalCommit.options):
2657         * Scripts/webkitpy/tool/steps/build.py:
2658         * Scripts/webkitpy/tool/steps/checkstyle.py:
2659         (CheckStyle):
2660         (CheckStyle.options):
2661         * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
2662         * Scripts/webkitpy/tool/steps/closebug.py:
2663         * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
2664         * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
2665         (CloseBugForLandDiffTest):
2666         (CloseBugForLandDiffTest.test_empty_state):
2667         * Scripts/webkitpy/tool/steps/closepatch.py:
2668         * Scripts/webkitpy/tool/steps/commit.py:
2669         (Commit.run):
2670         * Scripts/webkitpy/tool/steps/confirmdiff.py:
2671         * Scripts/webkitpy/tool/steps/editchangelog.py:
2672         * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
2673         * Scripts/webkitpy/tool/steps/metastep.py:
2674         (MetaStep):
2675         (MetaStep.__init__):
2676         (MetaStep.run):
2677         * Scripts/webkitpy/tool/steps/obsoletepatches.py:
2678         * Scripts/webkitpy/tool/steps/options.py:
2679         (Options):
2680         * Scripts/webkitpy/tool/steps/postdiff.py:
2681         * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
2682         * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
2683         * Scripts/webkitpy/tool/steps/preparechangelog.py:
2684         * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
2685         (PrepareChangeLogTest):
2686         (PrepareChangeLogTest.test_resolve_existing_entry):
2687         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
2688         * Scripts/webkitpy/tool/steps/promptforbugortitle.py:
2689         * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
2690         * Scripts/webkitpy/tool/steps/revertrevision.py:
2691         * Scripts/webkitpy/tool/steps/runtests.py:
2692         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
2693         * Scripts/webkitpy/tool/steps/steps_unittest.py:
2694         (StepsTest):
2695         (StepsTest._step_options):
2696         * Scripts/webkitpy/tool/steps/update.py:
2697         * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
2698         (UpdateChangeLogsWithReviewerTest):
2699         (UpdateChangeLogsWithReviewerTest.test_guess_reviewer_from_bug):
2700         * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
2701         * Scripts/webkitpy/tool/steps/validatereviewer.py:
2702
2703 2016-06-21  Chris Dumez  <cdumez@apple.com>
2704
2705         Unreviewed, rolling out r202296.
2706
2707         Broke basic browsing in Safari
2708
2709         Reverted changeset:
2710
2711         "WKWebView with no WKNavigationDelegate does not follow
2712         universal links"
2713         https://bugs.webkit.org/show_bug.cgi?id=158997
2714         http://trac.webkit.org/changeset/202296
2715
2716 2016-06-21  Anders Carlsson  <andersca@apple.com>
2717
2718         Fix build.
2719
2720         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2721
2722 2016-06-21  Anders Carlsson  <andersca@apple.com>
2723
2724         Begin moving the Apple Pay code to the open source repository
2725         https://bugs.webkit.org/show_bug.cgi?id=158998
2726
2727         Reviewed by Tim Horton.
2728
2729         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2730         Add ENABLE_APPLE_PAY.
2731
2732 2016-06-21  Said Abou-Hallawa  <sabouhallawa@apple,com>
2733
2734         Add system tracing points for requestAnimationFrame() workflow
2735         https://bugs.webkit.org/show_bug.cgi?id=158723
2736
2737         Reviewed by Simon Fraser.
2738
2739         Add new plist entries to be used by kdebug_trace() viewing tools.
2740
2741         * Tracing/SystemTracePoints.plist:
2742
2743 2016-06-21  Sam Weinig  <sam@webkit.org>
2744
2745         WKWebView with no WKNavigationDelegate does not follow universal links
2746         <rdar://problem/24374110>
2747         https://bugs.webkit.org/show_bug.cgi?id=158997
2748
2749         Reviewed by Dan Bernstein.
2750
2751         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2752         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added.
2753         Add a new test that shows that we have a default navigation delegate by swizzling
2754         -[NSWorkspace openURL:]. This will only be called if there is a default client.
2755
2756 2016-06-21  Aakash Jain  <aakash_jain@apple.com>
2757
2758         run-javascriptcore-tests should have flag to skip mozilla tests
2759         https://bugs.webkit.org/show_bug.cgi?id=158963
2760         rdar://problem/25838924
2761
2762         Reviewed by Alexey Proskuryakov.
2763
2764         * Scripts/run-javascriptcore-tests:
2765         (runJSCStressTests): Added flag to skip mozilla tests.
2766
2767 2016-06-20  Commit Queue  <commit-queue@webkit.org>
2768
2769         Unreviewed, rolling out r202136.
2770         https://bugs.webkit.org/show_bug.cgi?id=158932
2771
2772         JSBench wasn't regressed by r202002 and r202111 on iOS after
2773         all (Requested by rniwa_ on #webkit).
2774
2775         Reverted changeset:
2776
2777         "Unreviewed, rolling out r202002 and r202111."
2778         https://bugs.webkit.org/show_bug.cgi?id=158638
2779         http://trac.webkit.org/changeset/202136
2780
2781 2016-06-20  Keith Rollin  <krollin@apple.com>
2782
2783         Remove RefPtr::release() and change calls sites to use WTFMove()
2784         https://bugs.webkit.org/show_bug.cgi?id=158369
2785
2786         Reviewed by Chris Dumez.
2787
2788         RefPtr::release() releases its managed pointer awkwardly. It's more
2789         direct and clearer to use WTFMove to transfer ownership of the managed
2790         pointer.
2791
2792         As part of this cleanup, also change a lot of explicit data types to
2793         'auto'.
2794
2795         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2796         (createBitmapContextFromWebView):
2797         (createPagedBitmapContext):
2798         * DumpRenderTree/mac/TestRunnerMac.mm:
2799         (TestRunner::setMockGeolocationPosition):
2800         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
2801         (TestWebKitAPI::TEST):
2802         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2803         (TestWebKitAPI::TEST):
2804
2805 2016-06-20  Tim Horton  <timothy_horton@apple.com>
2806
2807         Add a API test for *DeferringViewInWindowChanges as fixed in r202230
2808         https://bugs.webkit.org/show_bug.cgi?id=158947
2809
2810         Reviewed by Simon Fraser.
2811
2812         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2813         * TestWebKitAPI/Tests/WebKit2/DeferredViewInWindowStateChange.mm: Added.
2814         (TestWebKitAPI::didFinishLoadForFrame):
2815         (TestWebKitAPI::setPageLoaderClient):
2816         (TestWebKitAPI::TEST):
2817         Add a test ensuring that in-window state changes are deferred when using
2818         the SPI for deferring them, as fixed in r202230.
2819
2820 2016-06-20  Fujii Hironori  <Hironori.Fujii@sony.com>
2821
2822         WebKitTestRunner: Missing \n at the line of "#PROCESS UNRESPONSIVE"
2823         https://bugs.webkit.org/show_bug.cgi?id=158931
2824
2825         Reviewed by Alexey Proskuryakov.
2826
2827         * WebKitTestRunner/TestInvocation.cpp:
2828         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Appended missing \n at the end of line.
2829
2830 2016-06-17  Alexey Proskuryakov  <ap@apple.com>
2831
2832         Add test expectations for macOS Sierra
2833         https://bugs.webkit.org/show_bug.cgi?id=158903
2834
2835         Reviewed by Alex Christensen.
2836
2837         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra.png: Added.
2838         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra@2x.png: Added.
2839         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2840         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2841         Added dashboard support.
2842
2843         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
2844         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
2845         Trigger the right build queues on check-in.
2846
2847         * Scripts/webkitpy/common/system/platforminfo.py:
2848         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
2849         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2850         * Scripts/webkitpy/port/mac.py:
2851         * Scripts/webkitpy/port/mac_unittest.py:
2852         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2853         Added cases for Sierra, and updated tests for new baseline search paths.
2854
2855 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
2856
2857         Another buid fix for master.cfg.
2858
2859         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2860         (CompileWebKit.start):
2861
2862 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
2863
2864         Another buid fix for master.cfg.
2865
2866         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2867         (CompileWebKit.start):
2868
2869 2016-06-19  Lucas Forschler  <lforschler@apple.com>
2870
2871         Fix master.cfg
2872         
2873         Unreviewed build fix.
2874
2875         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2876         (CompileWebKit.start):
2877
2878 2016-06-19  Lucas Forschler  <lforschler@apple.com>
2879
2880         Test another commit.
2881         
2882         Unreviewed.
2883
2884 2016-06-19  Lucas Forschler  <lforschler@apple.com>
2885
2886         Testing fix for trac-mirror.
2887         
2888         Unreviewed.
2889
2890 2016-06-19  Lucas Forschler  <lforschler@apple.com>
2891
2892         Test a commit against the SVN 1.9 server upgrade.
2893         
2894         Unreviewed.
2895         
2896 2016-06-17  Daniel Bates  <dabates@apple.com>
2897
2898         Unreviewed, rolling out r202186.
2899
2900         Broke the Apple Windows, Apple Yosemite, GTK, and WinCairo
2901         builds.
2902
2903         Reverted changeset:
2904
2905         "File scheme should not allow access of a resource on a
2906         different volume."
2907         https://bugs.webkit.org/show_bug.cgi?id=158552
2908         http://trac.webkit.org/changeset/202186
2909
2910 2016-06-17  Pranjal Jumde  <pjumde@apple.com>
2911
2912         File scheme should not allow access of a resource on a different volume.
2913         https://bugs.webkit.org/show_bug.cgi?id=158552
2914         <rdar://problem/15307582>
2915
2916         Reviewed by Brent Fulgham.
2917
2918         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2919         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
2920         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
2921         (-[CrossPartitionFileSchemeAccessNavigationDelegate webView:didFinishNavigation:]):
2922         When the main page load is complete fetch the contents of the document to check if iframe was loaded
2923         (createPartition):
2924         Create a disk image and load the contents of the file.
2925         (cleanUp):
2926         (TestWebKitAPI::TEST):
2927
2928 2016-06-17  Enrique Ocaña González  <eocanha@igalia.com>
2929
2930         Unreviewed. Added myself to the list of committers.
2931
2932         * Scripts/webkitpy/common/config/contributors.json:
2933
2934 2016-06-16  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2935
2936         [EFL][GTK] LayoutTest doesn't run on Ubuntu 16.04
2937         https://bugs.webkit.org/show_bug.cgi?id=158141
2938
2939         Reviewed by Michael Catanzaro.
2940
2941         * Scripts/webkitpy/port/base.py: Detect php version in system, then use it.
2942         (Port._is_debian_php_version_7):
2943         (Port._debian_php_version):
2944         (Port._apache_config_file_name_for_platform):
2945         * efl/install-dependencies:
2946         * gtk/install-dependencies:
2947
2948 2016-06-16  Filip Pizlo  <fpizlo@apple.com>
2949
2950         Baseline JIT should be concurrent
2951         https://bugs.webkit.org/show_bug.cgi?id=158755
2952
2953         Reviewed by Geoffrey Garen.
2954         
2955         Need to disable concurrent JIT when running profiler tests. We should have been doing this
2956         all along.
2957
2958         * Scripts/run-jsc-stress-tests:
2959
2960 2016-06-16  Per Arne Vollan  <pvollan@apple.com>
2961
2962         [Win] Accessibility implementation unable to recurse through document (sometimes) to find named elements
2963         https://bugs.webkit.org/show_bug.cgi?id=140798
2964
2965         Reviewed by Brent Fulgham.
2966        
2967         Make sure layout is up-to-date before trying to find named elements. 
2968
2969         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2970         (AccessibilityController::rootElement):
2971
2972 2016-06-16  Chris Dumez  <cdumez@apple.com>
2973
2974         Unreviewed, rolling out r202002 and r202111.
2975
2976         Ryosuke says this was a JSBench regression on iOS
2977
2978         Reverted changesets:
2979
2980         "Make HashMap and HashSet work with Refs"
2981         https://bugs.webkit.org/show_bug.cgi?id=158638
2982         http://trac.webkit.org/changeset/202002
2983
2984         "Improve HashMap and HashSet support for Ref"
2985         https://bugs.webkit.org/show_bug.cgi?id=158789
2986         http://trac.webkit.org/changeset/202111
2987
2988 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
2989
2990         [iOS WK2] On iPad, indirect focussing of a text field doesn't always scroll to the correct location
2991         https://bugs.webkit.org/show_bug.cgi?id=158828
2992
2993         Reviewed by Enrica Casucci.
2994         
2995         Expose "forceIPadStyleZoomOnInputFocus" on UIScriptController, which allows iPad-style
2996         zooming behavior on <input> focus in the iPhone simulator, which is used for testing.
2997
2998         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
2999         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3000         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus):
3001         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus):
3002         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3003         * WebKitTestRunner/ios/TestControllerIOS.mm:
3004         (WTR::TestController::platformResetStateToConsistentValues):
3005         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3006         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus):
3007         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus):
3008
3009 2016-06-15  Sam Weinig  <sam@webkit.org>
3010
3011         Forward/Back keyboard shortcuts need to flip for RTL
3012         https://bugs.webkit.org/show_bug.cgi?id=158823
3013         <rdar://problem/25975359>
3014
3015         Reviewed by Darin Adler.
3016
3017         Add tests for flipping the behavior of command-left and command-right
3018         under RTL mode.
3019
3020         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3021         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm: Added.
3022         (-[CommandBackForwardOffscreenWindow isKeyWindow]):
3023         (-[CommandBackForwardOffscreenWindow isVisible]):
3024         (simulateCommandArrow):
3025         (WebKit2_CommandBackForwardTest::SetUp):
3026         (WebKit2_CommandBackForwardTestWKView::didFinishLoadForFrame):
3027         (WebKit2_CommandBackForwardTestWKView::SetUp):
3028         (WebKit2_CommandBackForwardTestWKView::loadFiles):
3029         (-[CommandBackForwardNavigationDelegate webView:didFinishNavigation:]):
3030         (WebKit2_CommandBackForwardTestWKWebView::SetUp):
3031         (WebKit2_CommandBackForwardTestWKWebView::loadFiles):
3032
3033 2016-06-15  Tim Horton  <timothy_horton@apple.com>
3034
3035         Expose _shouldExpandContentToViewHeightForAutoLayout SPI on WKWebView
3036         https://bugs.webkit.org/show_bug.cgi?id=158824
3037         <rdar://problem/23713857>
3038
3039         Reviewed by Simon Fraser.
3040
3041         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
3042         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:]):
3043         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
3044         (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:resettingWidth:]):
3045         (TEST):
3046         Add a test for _shouldExpandContentToViewHeightForAutoLayout.
3047
3048 2016-06-13  Simon Fraser  <simon.fraser@apple.com>
3049
3050         [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
3051         https://bugs.webkit.org/show_bug.cgi?id=158714
3052
3053         Reviewed by Enrica Casucci.
3054
3055         Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
3056         method that gets called from UIKit.
3057
3058         Add a test that exercises it.
3059
3060         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
3061         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3062         (WTR::UIScriptController::keyboardAccessoryBarNext):
3063         (WTR::UIScriptController::keyboardAccessoryBarPrevious):
3064         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3065         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3066         (WTR::UIScriptController::keyboardAccessoryBarNext):
3067         (WTR::UIScriptController::keyboardAccessoryBarPrevious):
3068
3069 2016-06-15  Sam Weinig  <sam@webkit.org>
3070
3071         Improve HashMap and HashSet support for Ref
3072         https://bugs.webkit.org/show_bug.cgi?id=158789
3073
3074         Reviewed by Chris Dumez.
3075
3076         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3077         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
3078         Add more cases to WTF_HashMap.Ref_Key, WTF_HashMap.Ref_Value and WTF_HashSet.Ref
3079
3080 2016-06-15  Aakash Jain  <aakash_jain@apple.com>
3081
3082         Too much log data generated during layout-tests on iOS Simulator
3083         https://bugs.webkit.org/show_bug.cgi?id=158751
3084
3085         Reviewed by Alexey Proskuryakov.
3086
3087         * Scripts/webkitpy/port/ios.py:
3088         (IOSSimulatorPort.developer_dir): memoized the property so that it is not called
3089         repeatedly.
3090
3091 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3092
3093         [Win][CMake] Changes in WebKit options are not reflected in incremental builds.
3094         https://bugs.webkit.org/show_bug.cgi?id=158727
3095
3096         Reviewed by Alex Christensen.
3097
3098         Delete CMake cache file if WebKit options have been modified.
3099
3100         * Scripts/build-webkit:
3101         * Scripts/webkitdirs.pm:
3102         (shouldRemoveCMakeCache):
3103
3104 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3105
3106         Enabling Shadow DOM for all platforms
3107         https://bugs.webkit.org/show_bug.cgi?id=158738
3108
3109         Reviewed by Ryosuke Niwa.
3110
3111         Removed Shadow DOM from options (enabled by default)
3112
3113         * Scripts/webkitperl/FeatureList.pm:
3114         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3115
3116 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3117
3118         [Win] The test accessibility/selected-text-range-aria-elements.html is failing.
3119         https://bugs.webkit.org/show_bug.cgi?id=158732
3120
3121         Reviewed by Brent Fulgham.
3122
3123         Implement selectedTextRange() method.
3124
3125         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3126         (AccessibilityUIElement::selectedTextRange):
3127
3128 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3129
3130         [Win] MiniBrowser is not DPI aware.
3131         https://bugs.webkit.org/show_bug.cgi?id=158733
3132
3133         Reviewed by Brent Fulgham.
3134
3135         Call Win32 api function to let Windows know that we will scale the contents ourselves.
3136
3137         * MiniBrowser/win/WinMain.cpp:
3138         (wWinMain):
3139
3140 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3141
3142         Unreviewed: add new email address to contributors.json.
3143
3144         * Scripts/webkitpy/common/config/contributors.json:
3145
3146 2016-06-14  Keith Miller  <keith_miller@apple.com>
3147
3148         JSBench should use geometric mean
3149         https://bugs.webkit.org/show_bug.cgi?id=158775
3150
3151         Reviewed by Mark Lam.
3152
3153         For some reason JSBench was using algebraic mean. Since each test
3154         is pretty substantially different it should use geometric mean
3155         instead.
3156
3157         * Scripts/run-jsc-benchmarks:
3158
3159 2016-06-14  Alexey Proskuryakov  <ap@apple.com>
3160
3161         Debug crash logs are not fully symbolicated on Yosemite
3162         https://bugs.webkit.org/show_bug.cgi?id=158760
3163
3164         Reviewed by Darin Adler.
3165
3166         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Don't enable dSYM generation
3167         for debug builds on Yosemite.
3168
3169 2016-06-14  Alexey Proskuryakov  <ap@apple.com>
3170
3171         Tests don't work in iOS Simulator when ASan is enabled
3172         https://bugs.webkit.org/show_bug.cgi?id=158726
3173
3174         Reviewed by David Kilzer.
3175
3176         * Scripts/webkitpy/port/driver.py:
3177         (Driver._setup_environ_for_driver): Added a FIXME.
3178         * Scripts/webkitpy/port/ios.py:
3179         (IOSSimulatorPort.setup_environ_for_server): Don't try to insert a dylib built for
3180         simulator into LayoutTestRelay, which is a macOS tool.
3181
3182 2016-06-14  Aakash Jain  <aakash_jain@apple.com>
3183
3184         Continuous "Reentrancy avoided" error messages in run-webkit-tests if Simulator quits unexpectedly
3185         https://bugs.webkit.org/show_bug.cgi?id=158756
3186
3187         Reviewed by Alexey Proskuryakov.
3188
3189         * Scripts/webkitpy/xcode/simulator.py:
3190         (Simulator.wait_until_device_is_booted): If checking Simulator boot state fails, verify if
3191         the "simulator device" is still in booted state. Since we ensured that simulator device 
3192         was in booted state earlier in this method, this indicates that simulator device has shut down
3193         unexpectedly.
3194
3195 2016-06-14  David Kilzer  <ddkilzer@apple.com>
3196
3197         Follow-up fix #2: REGRESSION (r202020): El Capitan CMake Debug build broken
3198         <https://webkit.org/b/158743>
3199
3200         Unreviewed build fix.
3201
3202         * DumpRenderTree/PlatformMac.cmake: Fix silly typo.
3203
3204 2016-06-14  Aakash Jain  <aakash_jain@apple.com>
3205
3206         Too much log data generated during layout-tests on iOS Simulator
3207         https://bugs.webkit.org/show_bug.cgi?id=158751
3208
3209         Reviewed by Alexey Proskuryakov.
3210
3211         * Scripts/webkitpy/port/ios.py:
3212         (IOSSimulatorPort._quit_ios_simulator): Do not use -v flag.
3213         (IOSSimulatorPort.clean_up_test_run): Ditto.
3214         (IOSSimulatorPort._createSimulatorApp): Ditto.
3215
3216 2016-06-14  David Kilzer  <ddkilzer@apple.com>
3217
3218         Follow-up fix: REGRESSION (r202020): El Capitan CMake Debug build broken
3219         <https://webkit.org/b/158743>
3220
3221         Unreviewed build fix.
3222
3223         The fix in r202056 clobbered DumpRenderTree_SOURCES and
3224         TestNetscapePlugin_SOURCES from DumpRenderTree/CMakeLists.txt,
3225         so the build failure is now that we're not building the common
3226         sources.
3227
3228         Fix that by saving the common sources (which are all C++ source
3229         files) into *_Cpp_SOURCES lists first, then setting the compiler
3230         flags, then creating the final *_SOURCES lists.
3231
3232         * DumpRenderTree/PlatformMac.cmake: Add
3233         ${TestNetscapePlugin_Cpp_SOURCES} to list that needs
3234         "-std=c++14" compiler switch.
3235         (TestNetscapePlugin_Cpp_SOURCES): Add new list for C++ source
3236         files for TestNetscapePlugin.  Seeded with
3237         ${TestNetscapePlugin_SOURCES} from CMakeLists.txt.
3238         (TestNetscapePlugin_SOURCES): Add
3239         ${TestNetscapePlugin_Cpp_SOURCES} to the list of files.
3240         (DumpRenderTree_Cpp_SOURCES): Seed list for C++ source files
3241         with ${DumpRenderTree_SOURCES} from CMakeLists.txt.
3242         (DumpRenderTree_SOURCES): Reformat and sort source lists.
3243
3244 2016-06-14  David Kilzer  <ddkilzer@apple.com>
3245
3246         REGRESSION (r202020): El Capitan CMake Debug build broken
3247         <https://webkit.org/b/158743>
3248
3249         Reviewed by Alex Christensen.
3250
3251         The bug was that pure C++ source files (and Objective-C source
3252         files) were being compiled as Objective-C++ source files.  This
3253         is obviously incorrect, so the fix was to split out the list of
3254         source files by language, then define compiler switches based on
3255         each file type.
3256
3257         * DumpRenderTree/PlatformMac.cmake: Replace add_definitions()
3258         with separate foreach loops that set compiler flags based on
3259         each source file's type.
3260         (TestNetscapePlugin_ObjCpp_SOURCES): Rename from
3261         TestNetscapePlugin_SOURCES.
3262         (TestNetscapePlugin_SOURCES): Create based on
3263         ${TestNetscapePlugin_ObjCpp_SOURCES}.
3264         (DumpRenderTree_ObjC_SOURCES): Split from DumpRenderTree_SOURCES.
3265         (DumpRenderTree_Cpp_SOURCES): Ditto.
3266         (DumpRenderTree_ObjCpp_SOURCES): Ditto.
3267         (DumpRenderTree_SOURCES): Create from above three lists.
3268
3269 2016-06-14  Lucas Forschler  <lforschler@apple.com>
3270
3271         <rdar://problem/26685782>
3272         Teach the copy-webkitlibraries-to-product-directory script about WebKitSystemInterfaceOSX10.12
3273
3274         Rubber-stamped by Jessie Berlin.
3275
3276         * Scripts/copy-webkitlibraries-to-product-directory:
3277
3278 2016-06-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3279
3280         Activate CMake export compile commands option
3281         https://bugs.webkit.org/show_bug.cgi?id=158734
3282
3283         Reviewed by Alex Christensen.
3284
3285         * Scripts/webkitdirs.pm:
3286         (generateBuildSystemFromCMakeProject): Activating this option for all CMake builds.
3287         This allows using ymcd for WebKit hacking.
3288
3289 2016-06-14  David Kilzer  <ddkilzer@apple.com>
3290
3291         Modernize DumpRenderTreeMac.h
3292         <https://webkit.org/b/158721>
3293
3294         Reviewed by Andy Estes.
3295
3296         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3297         - Update copyright.
3298         - Update license.
3299         - Use #pragma once.
3300         - Use OBJC_CLASS macro.
3301
3302 2016-06-13  David Kilzer  <ddkilzer@apple.com>
3303
3304         False-positive over-release of WebView in destroyWebViewAndOffscreenWindow() in DumpRenderTree.mm
3305         <https://webkit.org/b/158716>
3306
3307         Reviewed by Andy Estes.
3308
3309         * DumpRenderTree/mac/DumpRenderTree.mm:
3310         (destroyWebViewAndOffscreenWindow): Change this function to take
3311         a WebView, and assert that it's the same as [mainFrame webView].
3312         (dumpRenderTree): Pass 'webView' into
3313         destroyWebViewAndOffscreenWindow().
3314         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3315         (createWebViewAndOffscreenWindow): Add NS_RETURNS_RETAINED since
3316         this function returns a +1 WebView.  Declare this method only for
3317         Objective-C[++] source.
3318
3319 2016-06-13  Sam Weinig  <sam@webkit.org>
3320
3321         Make HashMap and HashSet work with Refs
3322         https://bugs.webkit.org/show_bug.cgi?id=158638
3323
3324         Reviewed by Darin Adler.
3325
3326         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3327         (TestWebKitAPI::TEST):
3328         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
3329         (TestWebKitAPI::TEST):
3330         Add tests for using Refs in HashMaps (both as key and value) and HashSets.
3331
3332 2016-06-13  Mark Lam  <mark.lam@apple.com>
3333
3334         Add a mechanism for collecting LLINT stats.
3335         https://bugs.webkit.org/show_bug.cgi?id=158668
3336
3337         Reviewed by Filip Pizlo.
3338
3339         * DumpRenderTree/mac/DumpRenderTree.mm:
3340         (DumpRenderTreeMain):
3341
3342 2016-06-13  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3343
3344         [GTK] Enabling Shadow DOM by default
3345         https://bugs.webkit.org/show_bug.cgi?id=158686
3346
3347         Reviewed by Carlos Garcia Campos.
3348
3349         Added support for enabling Shadow DOM by default for GTK.
3350         Changed GTK test expectations for fast/shadow-dom tests (most tests
3351         pass).
3352
3353         * Scripts/webkitperl/FeatureList.pm:
3354
3355 2016-06-12  Aakash Jain  <aakash_jain@apple.com>
3356
3357         run-safari/run-webkit-app fail to quit iOS simulator after Xcode installation
3358         https://bugs.webkit.org/show_bug.cgi?id=158651
3359         rdar://problem/26499824
3360
3361         Reviewed by Daniel Bates.
3362
3363         This change is to make our tools more robust. Sometimes run-safari/run-webkit-app fails 
3364         to start the tests as one of the first thing these scripts do is to relaunch iOS Simulators,
3365         and in process call quitIOSSimulator. In case the Simulator is not registered in LaunchServices
3366         for some reason, quitIOSSimulator fails and the script stops. This change will make the scripts
3367         still continue when they fail to quit iOS Simuator, and modify the way Simulator is opened, 
3368         so that Simulator is implicitly registered with LaunchServices while opening it.
3369
3370         * Scripts/webkitdirs.pm:
3371         (relaunchIOSSimulator):
3372         Launch iOS Simulator using complete path. Partially reverting http://trac.webkit.org/changeset/184202.
3373         (quitIOSSimulator):
3374         Do not die if quitting ios Simulator fails, so that relaunchIOSSimulator can still 
3375         attempt to launch the simulator.
3376         (waitUntilIOSSimulatorDeviceIsInState):
3377         Added a FIXME.
3378
3379 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
3380
3381         Addressing post-review comments after r201978.
3382         https://bugs.webkit.org/show_bug.cgi?id=158649
3383         <rdar://problem/13258122>
3384
3385         Unreviewed.
3386
3387         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3388         (TestWebKitAPI::TEST):
3389
3390 2016-06-11  Alexey Proskuryakov  <ap@apple.com>
3391
3392         Unreviewed leak fix after r201863.
3393
3394         * DumpRenderTree/mac/DumpRenderTree.mm:
3395         (dumpFramesAsText):
3396
3397 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
3398
3399         [Cocoa] Map commonly used Chinese Windows font names to names present on Cocoa operating systems
3400         https://bugs.webkit.org/show_bug.cgi?id=158649
3401         <rdar://problem/13258122>
3402
3403         Reviewed by Darin Adler.
3404
3405         * TestWebKitAPI/Tests/WTF/WTFString.h:
3406         (TestWebKitAPI::TEST):
3407
3408 2016-06-10  Alex Christensen  <achristensen@webkit.org>
3409
3410         Fix CMake build.
3411
3412         * TestWebKitAPI/PlatformMac.cmake:
3413
3414 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
3415
3416         Rename JSAir to Air.js
3417
3418         Rubber stamped by Mark Lam.
3419
3420         * Scripts/run-javascriptcore-tests:
3421
3422 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
3423
3424         JSC Stress Test failing: jsair-tests.yaml/test.js.ftl-eager-no-cjit
3425         https://bugs.webkit.org/show_bug.cgi?id=158571
3426
3427         Reviewed by Keith Miller.
3428         
3429         Unskip the JSAir test.
3430
3431         * Scripts/run-javascriptcore-tests:
3432         (runJSCStressTests):
3433
3434 2016-06-10  Sam Weinig  <sam@webkit.org>
3435
3436         Re-disable the UserMedia tests which are timing out.
3437
3438         They used to be accidentally disabled, due to not including
3439         the FeatureDefines correctly, but not we explicitly disable it.
3440
3441         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
3442         (TestWebKitAPI::TEST):
3443
3444 2016-06-10  Alex Christensen  <achristensen@webkit.org>
3445
3446         Introduce WTF::UniqueRef
3447         https://bugs.webkit.org/show_bug.cgi?id=158596
3448
3449         Reviewed by Brady Eidson.
3450
3451         * TestWebKitAPI/CMakeLists.txt:
3452         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3453         * TestWebKitAPI/Tests/WTF/UniqueRef.cpp: Added.
3454         (TestWebKitAPI::B::B):
3455         (TestWebKitAPI::C::C):
3456         (TestWebKitAPI::function):
3457         (TestWebKitAPI::TEST):
3458
3459 2016-06-10  Sam Weinig  <sam@webkit.org>
3460
3461         Refactor TestWebKitAPI to allow just testing WTF
3462         https://bugs.webkit.org/show_bug.cgi?id=158625
3463
3464         Reviewed by Tim Horton.
3465
3466         Extract all the WTF tests into a new target to allow a faster build / test / fix
3467         cycle when working on WTF bugs and features.
3468         
3469         By calling `run-api-tests --wtf-only`, you don't need to have a build of JavaScriptCore/WebCore/etc
3470         to test WTF only changes.
3471
3472         * Scripts/build-api-tests:
3473         * Scripts/run-api-tests:
3474         (buildTestTool):
3475         (testToolPaths):
3476         Add new options to build-api-tests and run-api-tests to only build/run the WTF test runner.
3477
3478         * TestWebKitAPI/CMakeLists.txt:
3479         * TestWebKitAPI/Configurations/TestWTF.xcconfig: Added.
3480         * TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig: Added.
3481         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3482         Add two new targets, TestWTFLibrary which contains all the WTF tests, and TestWTF,
3483         the test runner that runs the WTF tests.
3484     
3485         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
3486         Use Utilities.h rather than PlatformUtilities.h.
3487
3488         * TestWebKitAPI/Utilities.h: Added.
3489         * TestWebKitAPI/PlatformUtilities.h:
3490         * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm:
3491         * TestWebKitAPI/cocoa/UtilitiesCocoa.mm: Added.
3492         Move the sleep and run functions into a new Utilities.h/cpp file. This file contains utilities
3493         that don't depend on anything in the WebKit project. 
3494
3495 2016-06-10  Brady Eidson  <beidson@apple.com>
3496
3497         REGRESSION(r201928?) API test WTF.StringOperators failing
3498         https://bugs.webkit.org/show_bug.cgi?id=158623
3499
3500         Unreviewed, but buddy coded with Alex Christensen.
3501
3502         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3503         (TestWebKitAPI::LifetimeLogger::fullName): Only one file in all of TestWebKitAPI is allowed
3504           to use string concatenation, otherwise the linker will mess up on the symbol related to
3505           this bizarre WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING macro expansion.
3506
3507 2016-06-10  Brady Eidson  <beidson@apple.com>
3508
3509         WTF_CrossThreadTask.Basic fails in all non mac ports.
3510         https://bugs.webkit.org/show_bug.cgi?id=158612
3511
3512         Reviewed by Alex Christensen.
3513
3514         The test is very sensitive to argument evaluation order which is explicitly undefined in C++.
3515         
3516         Instead, we should just count the appropriate events to forget their order.
3517         
3518         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3519         (TestWebKitAPI::LifetimeLogger::LifetimeLogger):
3520         (TestWebKitAPI::LifetimeLogger::~LifetimeLogger):
3521         (TestWebKitAPI::LifetimeLogger::isolatedCopy):
3522         (TestWebKitAPI::LifetimeLogger::fullName):
3523         (TestWebKitAPI::testFunction):
3524         (TestWebKitAPI::TEST):
3525         (TestWebKitAPI::LifetimeLogger::log): Deleted.
3526         (TestWebKitAPI::LifetimeLogger::takeLogStr): Deleted.
3527
3528 2016-06-09  Alex Christensen  <achristensen@webkit.org>
3529
3530         Clean up Tools *.vcxproj after switching to CMake.
3531
3532         * DumpRenderTree/DumpRenderTree.sln: Removed.
3533         * DumpRenderTree/DumpRenderTree.vcxproj: Removed.
3534         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin: Removed.
3535         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
3536         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
3537         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/resource.h: Removed.
3538         * DumpRenderTree/PlatformWin.cmake:
3539         * DumpRenderTree/win/TestNetscapePlugin.def: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def.
3540         * DumpRenderTree/win/TestNetscapePlugin.rc: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.rc.
3541         * DumpRenderTree/win/resource.h: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/resource.h.
3542         * MiniBrowser/MiniBrowser.vcxproj: Removed.
3543         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico: Removed.
3544         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc: Removed.
3545         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Removed.
3546         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Removed.
3547         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h: Removed.
3548         * MiniBrowser/MiniBrowser.vcxproj/small.ico: Removed.
3549         * MiniBrowser/win/CMakeLists.txt:
3550         * MiniBrowser/win/MiniBrowser.ico: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico.
3551         * MiniBrowser/win/MiniBrowser.rc: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc.
3552         * MiniBrowser/win/MiniBrowserLib.rc: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc.
3553         * MiniBrowser/win/MiniBrowserLibResource.h: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h.
3554         * MiniBrowser/win/MiniBrowserResource.h: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h.
3555         * MiniBrowser/win/small.ico: Copied from MiniBrowser/MiniBrowser.vcxproj/small.ico.
3556         * WebKitTestRunner/WebKitTestRunner.sln: Removed.
3557         * win/DLLLauncher/DLLLauncherWinCairo.props: Removed.
3558
3559 2016-06-09  Zalan Bujtas  <zalan@apple.com>
3560
3561         Add testing support for 3x device scale factor.
3562         https://bugs.webkit.org/show_bug.cgi?id=158597
3563
3564         Reviewed by Simon Fraser.
3565
3566         Set 3x device scale factor on the test canvas when the test url is prefixed with hidpi-3x-. 
3567
3568         * DumpRenderTree/mac/DumpRenderTree.mm:
3569         (changeWindowScaleIfNeeded):
3570         * WebKitTestRunner/TestController.cpp:
3571         (WTR::TestController::updateWindowScaleForTest):
3572         * WebKitTestRunner/TestOptions.cpp:
3573         (WTR::deviceScaleFactorForTest):
3574         (WTR::TestOptions::TestOptions):
3575         (WTR::isHiDPITestPath): Deleted.
3576         * WebKitTestRunner/TestOptions.h:
3577
3578 2016-06-09  Michael Catanzaro  <mcatanzaro@igalia.com>
3579
3580         Add comments to clarify feature enablement
3581         https://bugs.webkit.org/show_bug.cgi?id=158567
3582
3583         Reviewed by Alex Christensen.
3584
3585         * Scripts/webkitperl/FeatureList.pm:
3586
3587 2016-06-09  Filip Pizlo  <fpizlo@apple.com>
3588
3589         Unreviewed, skip jsair tests while we figure out the debug timeouts.
3590
3591         * Scripts/run-javascriptcore-tests:
3592         (runJSCStressTests):
3593
3594 2016-06-09  Commit Queue  <commit-queue@webkit.org>
3595
3596         Unreviewed, rolling out r201815.
3597         https://bugs.webkit.org/show_bug.cgi?id=158570
3598
3599         This broke the cmake build. (Requested by lforschler on
3600         #webkit).
3601
3602         Reverted changeset:
3603
3604         "Teach cmake about libWebKitSystemInterfaceOSX10.12"
3605         http://trac.webkit.org/changeset/201815
3606
3607 2016-06-09  Brady Eidson  <beidson@apple.com>
3608
3609         Greatly simplify CrossThreadTask.h.
3610         https://bugs.webkit.org/show_bug.cgi?id=158542
3611
3612         Reviewed by Darin Adler.
3613
3614         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3615         (TestWebKitAPI::TEST):
3616
3617 2016-06-09  Chris Dumez  <cdumez@apple.com>
3618
3619         Unreviewed, rolling out r201836, r201845, and r201848.
3620
3621         Looks like a 1-2% PLT regression on iOS
3622
3623         Reverted changesets:
3624
3625         "[JSC] Change some parameters based on a random search"
3626         https://bugs.webkit.org/show_bug.cgi?id=158514
3627         http://trac.webkit.org/changeset/201836
3628
3629         "Tempory fix for the debug bots"
3630         http://trac.webkit.org/changeset/201845
3631
3632         "Change thresholdForOptimizeSoon to match
3633         thresholdForOptimizeAfterWarmUp"
3634         http://trac.webkit.org/changeset/201848
3635
3636 2016-06-09  Michael Saboff  <msaboff@apple.com>
3637
3638         WebKitTestRunner and DumpRenderTree do not handle dangling surrogate characters
3639         https://bugs.webkit.org/show_bug.cgi?id=154863
3640
3641         Reviewed by Alexey Proskuryakov.
3642
3643         Added a non-strict verions of WKStringGetUTF8CString() that will handle dangling
3644         surrogates.  Changed the extraction of inner text from frames in DumpRenderTree
3645         to use the new WKStringGetUTF8CStringNonStrict() function instead of NSString
3646         conversion since NSString doesn't have a way to handle dangling surrogates.
3647         The code added in DumpRenderTree matches what was changed in WebKitTestRunner.
3648
3649         * DumpRenderTree/mac/DumpRenderTree.mm:
3650         (dumpFramesAsText):
3651         * WebKitTestRunner/StringFunctions.h:
3652         (WTR::toWTFString):
3653
3654 2016-06-08  Hunseop Jeong  <hs85.jeong@samsung.com>
3655
3656         Try to fix the EFL build. 
3657
3658         Unreviewed. 
3659
3660         * TestWebKitAPI/CMakeLists.txt:
3661
3662 2016-06-08  Alex Christensen  <achristensen@webkit.org>
3663
3664        Fix WinCairo build
3665
3666         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
3667
3668 2016-06-08  Alex Christensen  <achristensen@webkit.org>
3669
3670         Fix WinCairo build
3671
3672         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
3673         (BitmapContext::createByAdoptingBitmapAndContext):
3674         (BitmapContext::~BitmapContext):
3675
3676 2016-06-08  Benjamin Poulain  <benjamin@webkit.org>
3677
3678         [JSC] Change some parameters based on a random search
3679         https://bugs.webkit.org/show_bug.cgi?id=158514
3680
3681         Reviewed by Filip Pizlo.
3682
3683         * Scripts/run-jsc-stress-tests:
3684
3685 2016-06-08  Aakash Jain  <aakash_jain@apple.com>
3686
3687         tests fail if display sleeps while run-webkit-tests is running
3688         https://bugs.webkit.org/show_bug.cgi?id=153919
3689
3690         Reviewed by Alexey Proskuryakov.
3691
3692         * DumpRenderTree/mac/LayoutTestHelper.m:
3693         (releaseSleepAssertions): Release both Display sleep and System sleep assertions.
3694         (addSleepAssertions): Add sleep assertion for both Display sleep and System sleep.
3695
3696 2016-06-08  Lucas Forschler  <lforschler@apple.com>
3697
3698         Reverted changeset 201814.
3699
3700         * Scripts/copy-webkitlibraries-to-product-directory:
3701
3702 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
3703
3704         [Win] Shadow DOM tests are failing.
3705         https://bugs.webkit.org/show_bug.cgi?id=158524
3706
3707         Reviewed by Brent Fulgham.
3708
3709         Enable Shadow DOM when running tests.
3710
3711         * DumpRenderTree/win/DumpRenderTree.cpp:
3712         (resetWebPreferencesToConsistentValues):
3713
3714 2016-06-08  Lucas Forschler  <lforschler@apple.com>
3715
3716         Teach cmake about libWebKitSystemInterfaceOSX10.12
3717         This patch also removes duplicated logic inside DumpRenderTree/PlatformMac.cmake
3718
3719         Rubber-stamped by Alex Christensen.
3720  
3721         * DumpRenderTree/PlatformMac.cmake:
3722         * WebKitTestRunner/PlatformMac.cmake:
3723
3724 2016-06-07  Lucas Forschler  <lforschler@apple.com>
3725
3726         <rdar://problem/26685782>
3727         Teach the copy-webkitlibraries-to-product-directory script about WebKitSystemInterfaceOSX10.12
3728
3729         Rubber-stamped by Jessie Berlin.
3730
3731         * Scripts/copy-webkitlibraries-to-product-directory:
3732
3733 2016-06-08  Aakash Jain  <aakash_jain@apple.com>
3734
3735         Don't try to cleanup non-existing ios Simulators
3736         https://bugs.webkit.org/show_bug.cgi?id=158510
3737
3738         Reviewed by Alexey Proskuryakov.
3739
3740         * Scripts/webkitpy/port/ios.py:
3741         (IOSSimulatorPort.clean_up_test_run): 
3742         Check if simulator exists before trying to clean it up.
3743
3744 2016-06-08  Brady Eidson  <beidson@apple.com>
3745
3746         Try to fix the Windows build.
3747
3748         Unreviewed.
3749
3750         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3751         (TestWebKitAPI::LifetimeLogger::log):
3752         (TestWebKitAPI::LifetimeLogger::takeLogStr):
3753         (TestWebKitAPI::testFunction):
3754         (TestWebKitAPI::TEST):
3755         (TestWebKitAPI::log): Deleted. (VS was seeing it as a dupe symbol)
3756         (TestWebKitAPI::takeLogStr): Deleted. (VS was seeing it as a dupe symbol)
3757
3758 2016-06-08  Brady Eidson  <beidson@apple.com>
3759
3760         Make CrossThreadCopier more efficient (fewer copies!).
3761         https://bugs.webkit.org/show_bug.cgi?id=158456
3762
3763         Reviewed by Alex Christensen.
3764
3765         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3766         (TestWebKitAPI::TEST):
3767
3768 2016-06-07  Filip Pizlo  <fpizlo@apple.com>
3769
3770         Add result validation to JSAir
3771         https://bugs.webkit.org/show_bug.cgi?id=158493
3772
3773         Reviewed by Saam Barati.
3774         
3775         Run JSAir.
3776
3777         * Scripts/run-javascriptcore-tests:
3778         (runJSCStressTests):
3779
3780 2016-06-08  Brady Eidson  <beidson@apple.com>
3781
3782         Add an API test that confirms object constructor/destructor calls during creation of a CrossThreadTask.
3783         https://bugs.webkit.org/show_bug.cgi?id=158528
3784
3785         Reviewed by Alex Christensen.
3786
3787         * TestWebKitAPI/CMakeLists.txt:
3788         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3789         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp: Added.
3790         (TestWebKitAPI::log):
3791         (TestWebKitAPI::takeLogStr):
3792         (TestWebKitAPI::LifetimeLogger::LifetimeLogger):
3793         (TestWebKitAPI::LifetimeLogger::~LifetimeLogger):
3794         (TestWebKitAPI::LifetimeLogger::isolatedCopy):
3795         (TestWebKitAPI::testFunction):
3796         (TestWebKitAPI::TEST):
3797
3798 2016-06-08  Konstantin Tokarev  <annulen@yandex.ru>
3799
3800         TestWebKitAPI: Removed redunandant check PLATFORM(GTK) && !defined(BUILDING_WEBKIT2__)
3801         https://bugs.webkit.org/show_bug.cgi?id=158521
3802
3803         Reviewed by Carlos Garcia Campos.
3804
3805         * TestWebKitAPI/config.h:
3806
3807 2016-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
3808
3809         [GTK] Use a longer timeout for glib unit tests
3810         https://bugs.webkit.org/show_bug.cgi?id=158476
3811
3812         Reviewed by Darin Adler.
3813
3814         The timeout is supposed to be per test case, but in the case of GLib tests it affects all the tests cases of the
3815         same test program. Some test programs like TestLoaderClient, that have a lot of test cases, often time out in
3816         the bots because the timeout is not enough to run all the tests cases. So, we should use a longer timeout for
3817         GLib tests.
3818
3819         * Scripts/run-gtk-tests:
3820         (TestRunner._run_test_glib):
3821
3822 2016-06-07  Keith Rollin  <krollin@apple.com>
3823
3824         Remove all uses of PassRefPtr in WTF
3825         https://bugs.webkit.org/show_bug.cgi?id=157596
3826         <rdar://problem/26234391>
3827
3828         Reviewed by Chris Dumez.
3829
3830         Update calls to interfaces that no longer take or return PassRefPtrs.
3831
3832         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3833         (TestWebKitAPI::stringFromUTF8):
3834         (TestWebKitAPI::TEST):
3835
3836 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
3837
3838         [Win] Imported markup insertion test is failing.
3839         https://bugs.webkit.org/show_bug.cgi?id=158477
3840
3841         Reviewed by Darin Adler.
3842
3843         Make sure the empty synchronous request is loaded after each test.
3844
3845         * DumpRenderTree/win/DumpRenderTree.cpp:
3846         (runTest):
3847
3848 2016-06-06  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3849
3850         REGRESSION(r201449) [GTK] ARMv7 build fails with libicudata.so.55: cannot open shared object file on gtkdoc-scangobj step.
3851         https://bugs.webkit.org/show_bug.cgi?id=158417
3852
3853         Reviewed by Michael Catanzaro.
3854
3855         The toolchain on armhf (ARMv7) seems unable to properly handle
3856         a shared library that doesn't link with anything.
3857
3858         And libicudata is built by default in this way because it only
3859         contains static data.
3860
3861         That makes icu unusable on armhf because the linker will be
3862         unable to resolve the libicudata dependencies.
3863
3864         Most (if not all) distributions workaround this by linking
3865         libicudata with libc6, which is already a needed dependency for
3866         any of the other icu shared libraries.
3867
3868         So import here the Debian patch fixing this issue. For further
3869         details check https://bugs.debian.org/653457
3870
3871         * gtk/jhbuild.modules:
3872         * gtk/patches/icudata-stdlibs.patch: Added.
3873
3874 2016-06-06  Per Arne Vollan  <pvollan@apple.com>
3875
3876         REGRESSION (r104174): 500+ tests failing on Windows
3877         https://bugs.webkit.org/show_bug.cgi?id=75965
3878
3879         Reviewed by Michael Catanzaro.
3880
3881         Reset WebView scale factors before running next test.
3882
3883         * DumpRenderTree/win/DumpRenderTree.cpp:
3884         (resetWebViewToConsistentStateBeforeTesting):
3885
3886 2016-06-04  Alexey Proskuryakov  <ap@apple.com>
3887
3888         REGRESSION (r201263): Some tests have become flaky timeouts.
3889         https://bugs.webkit.org/show_bug.cgi?id=157990
3890
3891         Reviewed by Darin Adler.
3892
3893         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
3894         It is somewhat legitimate for WebContent to not respond to messages after the test
3895         is done; it can be e.g. re-doing a costly repaint. So, we should restart is silently,
3896         without making the current test fail.
3897
3898 2016-06-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3899
3900         [GTK] Update YouCompleteMe script to make all include paths absolute
3901         https://bugs.webkit.org/show_bug.cgi?id=158301
3902
3903         Reviewed by Michael Catanzaro.
3904
3905         Before this patch, some include paths were not made absolute.
3906         This could make YouCompleteMe plugin to fail extracting information or validating cpp files.
3907
3908         * gtk/ycm_extra_conf.py:
3909
3910 2016-06-03  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
3911
3912         Unreviewed: add myself to the committers list.
3913
3914         * Scripts/webkitpy/common/config/contributors.json:
3915
3916 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
3917
3918         [Win] Fetch API tests are failing.
3919         https://bugs.webkit.org/show_bug.cgi?id=158296
3920
3921         Reviewed by Alex Christensen.
3922
3923         Enable Fetch API when running tests.
3924
3925         * DumpRenderTree/win/DumpRenderTree.cpp:
3926         (resetWebPreferencesToConsistentValues):
3927
3928 2016-06-02  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
3929
3930         Really display failing JSC stress tests in buildbot dashboard
3931         https://bugs.webkit.org/show_bug.cgi?id=158324
3932
3933         Reviewed by Alexey Proskuryakov.
3934
3935         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
3936         (BuildbotCombinedQueueView.prototype.update): Correctly check for string membership in array.
3937         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3938         (BuildbotIteration.prototype._parseData): Correctly check for string membership in array.
3939         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3940         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions): Correctly check for string
3941         membership in array.
3942         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions): Ensure that the correct URL is
3943         generated after the first time.
3944         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3945         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Correctly check for string membership in array.
3946
3947 2016-06-02  Michael Saboff  <msaboff@apple.com>
3948
3949         [iOS]: Some JSC stress tests fail running out of executable memory when the LLInt is disabled
3950         https://bugs.webkit.org/show_bug.cgi?id=158317
3951
3952         Reviewed by Saam Barati.
3953
3954         Added defaultNoNoLLIntRun variant to run the default tests with the exception of the no-llint
3955         variant.
3956
3957         * Scripts/run-jsc-stress-tests:
3958
3959 2016-06-02  Aakash Jain  <aakash_jain@apple.com>
3960
3961         LayoutTests time out intermittently due to alert about reopening Simulator after it unexpectedly quit
3962         https://bugs.webkit.org/show_bug.cgi?id=158305
3963
3964         Reviewed by Alexey Proskuryakov.
3965
3966         * Scripts/webkitpy/port/ios.py:
3967         (IOSSimulatorPort.clean_up_test_run): Delete simulator's savedState directories during cleanup.
3968
3969 2016-06-01  Brian Burg  <bburg@apple.com>
3970
3971         REGRESSION(r191907): Can't enter combining diacritic marks in Web Inspector fields
3972         https://bugs.webkit.org/show_bug.cgi?id=158227
3973         <rdar://problem/26232464>
3974
3975         Reviewed by Alexey Proskuryakov.
3976
3977         Add a regression test that runs on Mac only.
3978
3979         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3980         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm: Added.
3981         (-[DummyNavigationDelegate webView:didFinishNavigation:]):
3982         (TEST):
3983         * TestWebKitAPI/Tests/WebKit2Cocoa/editable-body.html: Added.
3984
3985 2016-06-01  Chris Fleizach  <cfleizach@apple.com>
3986
3987         AX: iOS: VoiceOver can't access attachments in mail messages
3988         https://bugs.webkit.org/show_bug.cgi?id=158198
3989
3990         Reviewed by Joanmarie Diggs.
3991
3992         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3993         (AccessibilityUIElement::stringForRange):
3994         (AccessibilityUIElement::attributedStringForRange):
3995         (AccessibilityUIElement::attributedStringRangeIsMisspelled):
3996         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3997         (WTR::AccessibilityUIElement::attributedStringForRange):
3998         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
3999
4000 2016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
4001
4002         Unreviewed. Mark GTK+ test /webkit2/WebKitWebInspectorServer/test-open-debugging-session as slow.
4003
4004         It's timing out in the bots, but it seems to pass when running run-gtk-tests with no timeout. For GLib tests the
4005         timeout is applied per tester program not per test case, so we need to mark the whole test
4006         WebKit2Gtk/TestInspectorServer as slow.
4007
4008         * Scripts/run-gtk-tests:
4009         (TestRunner):
4010         (TestRunner._run_test_glib):
4011
4012 2016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
4013
4014         Unreviewed. Skip media permission request GTK+ unit tests.
4015
4016         They are timing out in the bots.
4017
4018         * Scripts/run-gtk-tests:
4019         (TestRunner):
4020
4021 2016-05-31  Jer Noble  <jer.noble@apple.com>
4022
4023         Yet another unreviewed build fix; move the closing brace of the namespace declaration inside
4024         the #if check.
4025
4026         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
4027
4028 2016-05-31  Jer Noble  <jer.noble@apple.com>
4029
4030         Further unreviewed build fix; only run FullscreenTopContentInset test on Mac.
4031
4032         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
4033
4034 2016-05-31  Jer Noble  <jer.noble@apple.com>
4035
4036         Unreviewed build fix; only run FullscreetTopContentInset test on platforms
4037         where WK_API_ENABLED is set.
4038
4039         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
4040
4041 2016-05-31  Jer Noble  <jer.noble@apple.com>
4042
4043         REGRESSION (r201405): trailers.apple.com HUD is missing in fullscreen
4044         https://bugs.webkit.org/show_bug.cgi?id=158156
4045         <rdar://problem/26519589>
4046
4047         Reviewed by Darin Adler.
4048
4049         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4050         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html: Added.
4051         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm: Added.
4052         (-[FullscreenChangeMessageHandler userContentController:didReceiveScriptMessage:]):
4053         (TestWebKitAPI::TEST):
4054
4055 2016-05-31  Jon Lee  <jonlee@apple.com>
4056
4057         Unreviewed: add myself to the reviewers list.
4058
4059         * Scripts/webkitpy/common/config/contributors.json:
4060
4061 2016-05-31  Carlos Alberto Lopez Perez  <clopez@igalia.com>
4062
4063         [GTK] Provide alternative mirror for the ICU tarball.
4064         https://bugs.webkit.org/show_bug.cgi?id=154530
4065
4066         Unreviewed.
4067
4068         * gtk/jhbuild.modules: After r201449 the GTK+ ARM buildbot is having
4069         a hard time trying to download the ICU tarball from download.icu-project.org
4070         (which redirects to sourceforge and gives problems with something related to
4071         SSL). Provide this alternative mirror to make things working back.
4072
4073 2016-05-31  Carlos Garcia Campos  <cgarcia@igalia.com>
4074
4075         [GTK] Test /webkit2/WebKitWebView/geolocation-permission-requests is failing since r201423
4076         https://bugs.webkit.org/show_bug.cgi?id=158200
4077
4078         Reviewed by Philippe Normand.
4079
4080         This is because geolocation is no longer allowed for non secure sites, like HTTP. In that case
4081         POSITION_UNAVAILABLE is returned without asking the API layer.
4082
4083         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
4084         (testWebViewGeolocationPermissionRequests): Keep the HTTP case to check that it indeed returns
4085         POSITION_UNAVAILABLE and use HTTPS URLs to check permission requests are allowed or denied. Also stop using the
4086         document title, and use user script messages that are more reliable instead.
4087
4088 2016-05-28  Aakash Jain  <aakash_jain@apple.com>
4089
4090         tests fail if display sleeps while run-webkit-tests is running
4091         https://bugs.webkit.org/show_bug.cgi?id=153919
4092
4093         Reviewed by Darin Adler.
4094
4095         * DumpRenderTree/mac/LayoutTestHelper.m:
4096         (addDisplaySleepAssertion): Use PreventUserIdleSystemSleep flag, same as set by caffeinate tool.
4097
4098 2016-05-27  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
4099
4100         Display failing JSC stress tests in buildbot dashboard
4101         https://bugs.webkit.org/show_bug.cgi?id=156595
4102
4103         Reviewed by Alexey Proskuryakov.
4104
4105         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
4106         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration):
4107         (Buildbot.prototype.javaScriptCoreTestStdioUrlForIteration):
4108         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
4109         (BuildbotCombinedQueueView.prototype.update):
4110         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
4111         (BuildbotIteration):
4112         (BuildbotIteration.prototype._parseData):
4113         (BuildbotIteration.prototype.loadLayoutTestResults):
4114         (BuildbotIteration.prototype.):
4115         (BuildbotIteration.prototype.loadJavaScriptCoreTestResults):
4116         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
4117         (BuildbotQueueView.prototype._createLoadingIndicator):
4118         (BuildbotQueueView.prototype.):
4119         (BuildbotQueueView.prototype._onPopoverCopy):
4120         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions):
4121         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions):
4122         (BuildbotQueueView.prototype._addIterationHeadingToPopover):
4123         (BuildbotQueueView.prototype._testStepFailureDescription):
4124         (BuildbotQueueView.prototype._testStepFailureDescriptionWithCount):
4125         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
4126         (BuildbotTestResults.prototype.addJavaScriptCoreTestFailures):
4127         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
4128         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus):
4129         (BuildbotTesterQueueView.prototype.update):
4130         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
4131         (BuildbotTesterQueueView.prototype._presentPopoverForLayoutTestRegressions):
4132         (BuildbotTesterQueueView.prototype._testStepFailureDescription): Deleted.
4133         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): Deleted.
4134         (BuildbotTesterQueueView.prototype.): Deleted.
4135         (BuildbotTesterQueueView.prototype.content.oncopy): Deleted.
4136         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html:
4137         * 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.
4138         (MockBuildbot):
4139         (MockBuildbot.prototype.buildPageURLForIteration):
4140         (MockBuildbot.prototype.javaScriptCoreTestFailuresURLForIteration):
4141         (MockBuildbot.prototype.javaScriptCoreTestStdioUrlForIteration):
4142         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js:
4143         (MockBuildbotQueue):
4144         * 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.
4145         (MockBuildbotTestResults):
4146         (MockBuildbotTestResults.prototype.addJavaScriptCoreTestFailures):
4147         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-jsc-results.json: Added.
4148         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js:
4149
4150 2016-05-27  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
4151
4152         Display failing JSC stress tests in buildbot dashboard
4153         https://bugs.webkit.org/show_bug.cgi?id=156595
4154
4155         Reviewed by Alexey Proskuryakov.
4156
4157         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
4158         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Generate the URL for raw JSON output of
4159         JSC tests.
4160         (Buildbot.prototype.javaScriptCoreTestStdioURLForIteration): Generate the URL for human-readable stdio output
4161         of JSC tests.
4162         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
4163         (BuildbotCombinedQueueView.prototype.update): Display JSC test results in popover.
4164         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
4165         (BuildbotIteration): Add javaScriptCoreTestResults variable.
4166         (BuildbotIteration.prototype.): Check for javascriptcore tests step.
4167         (BuildbotIteration.prototype.loadLayoutTestResults): Add comma at closing brace.
4168         (BuildbotIteration.prototype.loadJavaScriptCoreTestResults): Fetch JSON from Buildbot server.
4169         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
4170         (BuildbotQueueView.prototype._createLoadingIndicator): Reusable function.
4171         (BuildbotQueueView.prototype._onPopoverCopy): Reusable copy event handler to allow accurate copying of text
4172         from popovers.
4173         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions): Generates the popover bubble's
4174         inner HTML from the JSC failure data.
4175         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions): Generate the popover bubble
4176         for JSC results and handle request failures.
4177         (BuildbotQueueView.prototype._testStepFailureDescription): Moved from subclass.
4178         (BuildbotQueueView.prototype._testStepFailureDescriptionWithCount): Moved from subclass.
4179         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
4180         (BuildbotTestResults.prototype.addJavaScriptCoreTestFailures): Parse JSON into a list of failing tests.
4181         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
4182         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Instantiate PopoverTrackers for builds whose 
4183         only failures are JSC tests.
4184         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions): Use _onPopoverCopy.
4185         (BuildbotTesterQueueView.prototype._presentPopoverForLayoutTestRegressions): Use _createLoadingIndicator.
4186         (BuildbotTesterQueueView.prototype._testStepFailureDescription): Deleted. Moved to superclass.
4187         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): Deleted. Moved to superclass.
4188         (BuildbotTesterQueueView.prototype.content.oncopy): Deleted. Using superclass's reusable function as copy handler instead.
4189         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Add new script files.
4190         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js: Added.
4191         (MockBuildbot): Mocked version of Buildbot, only containing URL methods.
4192         (MockBuildbot.prototype.buildPageURLForIteration): Same as real Buildbot.js
4193         (MockBuildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Points to local file containing JSON for test.
4194         (MockBuildbot.prototype.javaScriptCoreTestStdioURLForIteration): Same as real Buildbot.js
4195         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js:
4196         (MockBuildbotQueue): Use a MockBuildbot() instead of a string.
4197         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotTestResults.js: Added.
4198         (MockBuildbotTestResults): Mocked version of BuildbotTestResults.
4199         (MockBuildbotTestResults.prototype.addJavaScriptCoreTestFailures): Sets the 'regressions' variable.
4200         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-jsc-results.json: Added.
4201         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Add four groups of tests.
4202
4203 2016-05-27  Chris Dumez  <cdumez@apple.com>
4204
4205         WorkQueue::dispatch() / RunLoop::dispatch() should not copy captured lambda variables
4206         https://bugs.webkit.org/show_bug.cgi?id=158111
4207
4208         Reviewed by Darin Adler.
4209
4210         WorkQueue::dispatch() / RunLoop::dispatch() should not copy captured lambda variables.
4211         These are often used cross-thread and copying the captured lambda variables can be
4212         dangerous (e.g. we do not want to copy a String after calling isolatedCopy() upon
4213         capture).
4214
4215         * WebKitTestRunner/TestController.cpp:
4216         (WTR::TestController::decidePolicyForNavigationAction):
4217
4218 2016-05-27  Brady Eidson  <beidson@apple.com>
4219
4220         Modern IDB: After closing a Netflix video, trying to watch it again fails.
4221         <rdar://problem/25092473> and https://bugs.webkit.org/show_bug.cgi?id=158160
4222
4223         Reviewed by Alex Christensen.
4224
4225         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4226         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-1.html: Added.
4227         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-2.html: Added.
4228         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm: Added.
4229
4230 2016-05-27  Joanmarie Diggs  <jdiggs@igalia.com>
4231
4232         AX: [ATK] accessibility/gtk/no-notification-for-unrendered-iframe-children.html began failing after r201416
4233         https://bugs.webkit.org/show_bug.cgi?id=158152
4234
4235         Reviewed by Chris Fleizach.
4236
4237         The failure is actually a bug fix because only one child is being added, but two
4238         notifications were being emitted. Now there is only one notification. To verify
4239         this was the case, we really should examine the child reportedly being added. That
4240         child is the ATK event's any_data, so pass along that child to the listener.
4241
4242         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
4243
4244 2016-05-26  Alex Christensen  <achristensen@webkit.org>
4245
4246         Expose content extension failure error codes in SPI
4247         https://bugs.webkit.org/show_bug.cgi?id=158095
4248         rdar://problem/26475651
4249
4250         Reviewed by Anders Carlsson.
4251
4252         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
4253         (checkDomain):
4254         (TEST_F):
4255         Add tests that use the new enum.
4256
4257 2016-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
4258
4259         New intl-numberformat.js test fails on many Linux platforms
4260         https://bugs.webkit.org/show_bug.cgi?id=154530
4261
4262         Reviewed by Darin Adler.
4263
4264         The test is actually failing because of a bug in the icu version installed in the bots, using a newer version of
4265         icu makes the tests pass and explains why it worked for some people. So, let's add icu 55.1 to the internal
4266         jhbuild to ensure JSC tests pass in the bots no matter what the icu version installed is.
4267
4268         * gtk/jhbuild.modules:
4269
4270 2016-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
4271
4272         [JSC] Allow JSBench to use precise time
4273         https://bugs.webkit.org/show_bug.cgi?id=158050
4274
4275         Reviewed by Geoffrey Garen.
4276
4277         JSBench use `new Date().getTime()` without options and there is no way to use precise time.
4278         This patch modifies the JSBench code to inject the code taking the precise time.
4279         `currentTimeInMS` is given by the benchmerk harness and JSBench uses it.
4280         run-jsc-benchmark switches this function's implementation between `Date.now()` and
4281         testRunner's precise time one.
4282
4283         While this patch modifies the code of JSBench, the last release of JSBench is Jan 2013 and
4284         the contents are not changed for a long time. As described in the original paper[1], the
4285         tests can be generated by using JSBench's record & replay system, but in that case, we can
4286         adopt this modification by changing the tool side.
4287
4288         We also add currentTimeInMS implementation in harness.js and u?rem.js directly.
4289         u?rem.js implementation is required when it is executed in u?rem.html without harness.
4290         And harness.js implementation is required when it is executed in the JSBench's harness.
4291         In these implementation, we follow the JetStream's time measuring function: performance.now(),
4292         preciseTime(), or Date.now().
4293
4294         [1]: http://dl.acm.org/citation.cfm?id=2048119
4295
4296         * Scripts/run-jsc-benchmarks:
4297
4298 2016-05-26  Brent Fulgham  <bfulgham@apple.com>
4299
4300         Unreviewed test fix after r201427.
4301        &n