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