[EFL] Locate color picker popup to center of window
[WebKit-https.git] / Tools / ChangeLog
1 2016-09-27  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2
3         [EFL] Locate color picker popup to center of window
4         https://bugs.webkit.org/show_bug.cgi?id=162540
5
6         Reviewed by Michael Catanzaro.
7
8         Color picker popup hasn't located in a center of main window, because
9         elm_win_center() function doesn't work correctly. It looks a bug.
10
11         To fix the problem, this patch uses evas_object_geometry_set() instead.
12
13         * MiniBrowser/efl/main.c:
14         (_color_picker_request_cb):
15
16 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
17
18         [GTK] Disable ACCELERATED_2D_CANVAS when using build-webkit
19         https://bugs.webkit.org/show_bug.cgi?id=162600
20
21         Reviewed by Carlos Garcia Campos.
22
23         * Scripts/webkitperl/FeatureList.pm:
24
25 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
26
27         PyGIWarnings printed by webkit-patch
28         https://bugs.webkit.org/show_bug.cgi?id=152470
29
30         Reviewed by Carlos Garcia Campos.
31
32         Update to a newer version of the keyring module, since this bug has been fixed upstream for
33         a while. But be careful not to update to the latest version, since it has some compatibility
34         breaks and requires the SecretService python module on Linux, but I couldn't figure out how
35         to autoinstall it successfully.
36
37         * Scripts/webkitpy/thirdparty/__init__.py:
38         (AutoinstallImportHook._install_keyring):
39
40 2016-09-26  Ryan Haddad  <ryanhaddad@apple.com>
41
42         Add Sierra to the flakiness dashboard.
43         https://bugs.webkit.org/show_bug.cgi?id=162509
44
45         Reviewed by Alexey Proskuryakov.
46
47         * TestResultServer/static-dashboards/builders.jsonp:
48
49 2016-09-26  Daniel Bates  <dabates@apple.com>
50
51         Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING
52         https://bugs.webkit.org/show_bug.cgi?id=162365
53
54         Reviewed by Simon Fraser.
55
56         * DumpRenderTree/TestRunner.h:
57         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
58
59 2016-09-26  Tomas Popela  <tpopela@redhat.com>
60
61         [GTK] TestContextMenu is failing
62         https://bugs.webkit.org/show_bug.cgi?id=162569
63
64         We cannot use the MP3 file in the TestContextMenu, as it will not work
65         by default on most distributions (that don't have an MP3 codecs
66         installed). Change the test to use OGG file instead.
67
68         Reviewed by Michael Catanzaro.
69
70         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
71         (testContextMenuDefaultMenu):
72
73 2016-09-26  Yusuke Suzuki  <utatane.tea@gmail.com>
74
75         Using char16_t instead of wchar_t in TestWebKitAPI URLParser tests
76         https://bugs.webkit.org/show_bug.cgi?id=162537
77
78         Reviewed by Alex Christensen.
79
80         Some build bot (Linux ARM GTK port) fails since we cannot select
81         the specific StringBuilder::append method for wchar_t.
82
83         wchar_t implementation highly depends on platforms. sizeof(wchar_t) == 2
84         in Windows, while sizeof(wchar_t) == 4 in Linux and OS X. So, ICU
85         uses wchar_t for UChar (UTF-16) in Windows while it doesn't in other
86         platforms.
87
88         StringBuilder::append is overloaded for UChar. In Windows, we can pass
89         wchar_t since UChar is wchar_t. However, we cannot do that in other platforms.
90
91         Instead of using wchar_t, we use more platform portable UTF-16 literal for
92         testing. Use char16_t and C++11 UTF-16 literal.
93
94         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
95         (TestWebKitAPI::utf16String):
96         (TestWebKitAPI::TEST_F):
97         (TestWebKitAPI::wideString): Deleted.
98
99 2016-09-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
100
101         [EFL] Adjust EFL indentation to EFL MiniBrowser
102         https://bugs.webkit.org/show_bug.cgi?id=162542
103
104         Unreviewed, EFL simple coding style fix.
105
106         Some functions wasn't applied EFL coding style in prefix fix.
107
108         * MiniBrowser/efl/main.c:
109         (_key_down_cb):
110         (view_focus_set):
111         (_mouse_down_cb):
112         (title_set):
113         (_title_changed_cb):
114         (_url_changed_cb):
115         (_back_forward_list_changed_cb):
116         (_progress_cb):
117         (_error_cb):
118         (_download_request_cb):
119         (close_file_picker):
120         (_filepicker_parent_deletion_cb):
121         (_filepicker_deletion_cb):
122         (_fileselector_done_cb):
123         (_file_chooser_request_cb):
124         (_download_finished_cb):
125         (_download_failed_cb):
126         (_color_changed_cb):
127         (_color_item_selected_cb):
128         (_color_picker_ok_clicked_cb):
129         (_color_picker_cancel_clicked_cb):
130         (_color_picker_dismiss_cb):
131         (_color_picker_request_cb):
132         (quit):
133         (has_scheme):
134         (url_from_user_input):
135         (url_load_from_user_input):
136         (_url_bar_activated_cb):
137         (_url_bar_clicked_cb):
138         (_search_field_aborted_cb):
139         (_search_field_activated_cb):
140         (_search_field_clicked_cb):
141         (_back_button_clicked_cb):
142         (_forward_button_clicked_cb):
143         (_search_backward_button_clicked_cb):
144         (_search_forward_button_clicked_cb):
145         (_search_case_option_changed):
146         (_search_word_start_option_changed_cb):
147         (_search_close_button_clicked_cb):
148         (_refresh_button_clicked_cb):
149         (_stop_button_clicked_cb):
150         (list_item_label_get):
151         (_list_item_select_cb):
152         (navigation_button_longpress_process):
153         (_forward_button_longpress_cb):
154         (_back_button_longpress_cb):
155         (quit_event_loop):
156         (_ok_clicked_cb):
157         (_file_entry_dialog_show):
158
159 2016-09-24  Chris Dumez  <cdumez@apple.com>
160
161         [WK2] anchor.download attribute value is ignored by NETWORK_SESSION code path
162         https://bugs.webkit.org/show_bug.cgi?id=162531
163
164         Reviewed by Darin Adler.
165
166         Update decideDestinationWithSuggestedFilename() to return a actual file path
167         instead of nullptr. The NETWORK_SESSION code path cancels the download when
168         decideDestinationWithSuggestedFilename() returns an empty file path, unlike
169         the !NETWORK_SESSION code path that just continue downloading without
170         explicitely setting a destination path. This lead to different test results
171         for NETWORK_SESSION and !NETWORK_SESSION code paths. Returns a valid
172         destination path makes more sense and leads to consistent results.
173
174         * WebKitTestRunner/TestController.cpp:
175         (WTR::TestController::decideDestinationWithSuggestedFilename):
176
177 2016-09-23  Wenson Hsieh  <wenson_hsieh@apple.com>
178
179         [mac-sierra] 2 WKWebViewCandidateTests API test failures
180         https://bugs.webkit.org/show_bug.cgi?id=162470
181
182         Reviewed by Tim Horton.
183
184         VideoControlsManager, WKWebViewCandidateTests and CandidateTests should not be running on 10.12.0. Guard these
185         tests with an SDK check to prevent 10.12.0 bots from building them.
186
187         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
188         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
189         * TestWebKitAPI/Tests/mac/CandidateTests.mm:
190
191 2016-09-23  Alex Christensen  <achristensen@webkit.org>
192
193         Refactor URLParser
194         https://bugs.webkit.org/show_bug.cgi?id=162516
195
196         Reviewed by Brady Eidson.
197
198         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
199         (TestWebKitAPI::TEST_F):
200
201 2016-09-23  Caitlin Potter  <caitp@igalia.com>
202
203         [JSC] Implement parsing of Async Functions
204         https://bugs.webkit.org/show_bug.cgi?id=161409
205
206         Reviewed by Yusuke Suzuki.
207
208         * Scripts/build-jsc:
209         (cMakeArgsFromFeatures):
210         * Scripts/webkitperl/FeatureList.pm:
211         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
212
213 2016-09-23  Alex Christensen  <achristensen@webkit.org>
214
215         Refactor URLParser
216         https://bugs.webkit.org/show_bug.cgi?id=162511
217
218         Reviewed by Brady Eidson.
219
220         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
221         (TestWebKitAPI::TEST_F):
222         (TestWebKitAPI::checkURL):
223
224 2016-09-23  Alexey Proskuryakov  <ap@apple.com>
225
226         iOS playback user action tests fail on some machines
227         https://bugs.webkit.org/show_bug.cgi?id=162504
228         rdar://problem/28013994
229
230         Reviewed by Jer Noble.
231
232         Avoid the need to have a timeout.
233
234         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html:
235         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
236         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
237         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html:
238
239 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
240
241         REGRESSION(r204163): [GTK] API test /webkit2/WebKitSecurityManager/file-xhr is failing
242         https://bugs.webkit.org/show_bug.cgi?id=161607
243
244         Reviewed by Michael Catanzaro.
245
246         Since r204163, in case of cross origin error when loading the XHR, the load fails and an error message is shown
247         in the console, but there isn't any js expcetion, which is what we were checking. Now, we check that there
248         aren't exceptions, and that the error message is sent to the console.
249
250         * Scripts/run-gtk-tests:
251         (TestRunner):
252         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
253         (consoleMessageReceivedCallback):
254         (testWebContextSecurityFileXHR):
255
256 2016-09-23  Ryan Haddad  <ryanhaddad@apple.com>
257
258         Use correct hardware for Sierra Debug WK2 testers.
259         https://bugs.webkit.org/show_bug.cgi?id=162474
260
261         Reviewed by Alexey Proskuryakov.
262
263         * BuildSlaveSupport/build.webkit.org-config/config.json:
264
265 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
266
267         [GTK] Make all WebView tests have a WebKitUserContentManager
268         https://bugs.webkit.org/show_bug.cgi?id=162487
269
270         Reviewed by Michael Catanzaro.
271
272         It simplifies tests using the user content manager, and allows to use it without having to subclass WebViewTest.
273
274         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp:
275         (ConsoleMessageTest::ConsoleMessageTest):
276         (ConsoleMessageTest::~ConsoleMessageTest):
277         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
278         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
279         (testUserContentManagerInjectedStyleSheet):
280         (testUserContentManagerInjectedScript):
281         (UserScriptMessageTest::UserScriptMessageTest):
282         (beforeAll):
283         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
284         (testWebViewIsPlayingAudio):
285         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
286         (WebViewTest::WebViewTest):
287         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
288
289 2016-09-23  Antoine Quint  <graouts@apple.com>
290
291         Add a new runtime flag for work on modern media controls (off by default)
292         https://bugs.webkit.org/show_bug.cgi?id=162420
293         <rdar://problem/27989489>
294
295         Reviewed by Eric Carlson.
296
297         * DumpRenderTree/mac/DumpRenderTree.mm:
298         (resetWebPreferencesToConsistentValues):
299         * DumpRenderTree/win/DumpRenderTree.cpp:
300         (resetWebPreferencesToConsistentValues):
301         * Scripts/webkitperl/FeatureList.pm:
302         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
303         (WTR::InjectedBundle::beginTesting):
304         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
305         (WTR::TestRunner::setModernMediaControlsEnabled):
306         * WebKitTestRunner/InjectedBundle/TestRunner.h:
307
308 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
309
310         REGRESSION(r194387): Crash on github.com in IntlDateTimeFormat::resolvedOptions in C locale
311         https://bugs.webkit.org/show_bug.cgi?id=162139
312
313         Reviewed by Michael Catanzaro.
314
315         Add test cases to check the behavior when using the C locale and an invalid locale.
316
317         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
318         (testWebContextLanguages):
319
320 2016-09-22  Hunseop Jeong  <hs85.jeong@samsung.com>
321
322         [EFL] alert box is not displayed 
323         https://bugs.webkit.org/show_bug.cgi?id=156395
324
325         Reviewed by Gyuyoung Kim.
326
327         Some popup objects(alert, confirm, prompt, file entry dialog) used the ecore_main_loop_begin() to make
328         the modal popup but ecore_main_loop_begin() was not executed inside an exisiting main loop. So we have
329         to use the ecore_main_loop_iterate() instead of the ecore_main_loop_begin().
330
331         * MiniBrowser/efl/main.c:
332         (_ok_clicked_cb):
333         (_file_entry_dialog_show):
334         (_javascript_alert_cb):
335         (_javascript_confirm_cb):
336         (_javascript_prompt_cb):
337         (quit_event_loop): Deleted.
338
339 2016-09-22  Matthew Hanson  <matthew_hanson@apple.com>
340
341         Add an API for getting the branch identifier from a Git or SVN checkout.
342         https://bugs.webkit.org/show_bug.cgi?id=151570
343         rdar://problem/17959831
344
345         Reviewed by David Kilzer.
346
347         This patch adds a function called svnIdentifierForPath. This function returns either "trunk",
348         the name of the tag, or the name of the branch, as appropriate. This function is necessary for
349         a VCSUtils client that is not checked in to the WebKit project.
350
351         This patch also breaks up pathRelativeToSVNRepositoryRootForPath into four functions:
352         - pathRelativeToSVNRepositoryRootForPath
353         - svnInfoForPath
354         - svnURLForPath
355         - svnRepositoryRootForPath
356
357         This allows us to reuse logic from pathRelativeToSVNRepositoryRootForPath in svnIdentifierForPath and
358         allows clients of VCSUtils to extract what arbitrary information from the `svn info` command regardless
359         of SCM.
360
361         * Scripts/VCSUtils.pm:
362         (svnInfoForPath):
363         Copied logic that previously lived in pathRelativeToSVNRepositoryRootForPath.
364         Make code safe to use for a path, and not just for the CWD.
365
366         (svnURLForPath):
367         Calls svnInfoForPath and extracts the URL.
368
369         (svnRepositoryRootForPath):
370         Calls svnInfoForPath and extracts the Repository Root.
371
372         (svnIdentifierForPath):
373         Calls pathRelativeToSVNRepositoryRootForPath and extracts the repository identifier.
374
375         (pathRelativeToSVNRepositoryRootForPath):
376         Now uses svnURLForPath and svnRepositoryRootForPath instead of being responsible for
377         determining both values.
378
379 2016-09-22  Megan Gardner  <megan_gardner@apple.com>
380
381         Add long press selection test
382         https://bugs.webkit.org/show_bug.cgi?id=162367
383
384         Reviewed by Simon Fraser.
385
386         Add support to UIScriptController to synthesize long press events on iOS.
387         This required adding long-press functionality to HIDEventGenerator.
388
389         HIDEventGenerator sends the touchDown, but must then send the touchUp with
390         a dispatch_after (rather than sleeping, as we do for other events) in order
391         for the gesture recognizers to correctly detect a long press.
392
393         Use the long press synthesis in a test that detects whether a long press
394         gesture triggers text selection.
395
396         Fixed incorrect constants. NSTimeInterval is in seconds, original numbers
397         were nanoseconds and typedefed to long without regard to the type
398         differences. Redid constants to be the right value, and converted upon use.
399
400         Cleaned up unused enum types.
401
402         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
403         (WTR::UIScriptController::longPressAtPoint):
404         (WTR::UIScriptController::forcePressAtPoint):
405         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
406         * Scripts/webkitpy/common/config/contributors.json:
407         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
408         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
409         (WTR::UIScriptController::longPressAtPoint):
410         (WTR::UIScriptController::forcePressAtPoint):
411         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
412         * TestRunnerShared/UIScriptContext/UIScriptController.h:
413         * WebKitTestRunner/ios/HIDEventGenerator.h:
414         * WebKitTestRunner/ios/HIDEventGenerator.mm:
415         (-[HIDEventGenerator _createIOHIDEventType:]):
416         (-[HIDEventGenerator sendTaps:location:withNumberOfTouches:completionBlock:]):
417         (-[HIDEventGenerator clearTap:]):
418         (-[HIDEventGenerator longPressTimerCall:]):
419         (-[HIDEventGenerator longPressFinish:completionBlock:]):
420         (-[HIDEventGenerator longPress:completionBlock:]):
421         (-[HIDEventGenerator forcePress:completionBlock:]):
422         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
423         (WTR::UIScriptController::longPressAtPoint):
424         (WTR::UIScriptController::forcePressAtPoint):
425         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
426
427 2016-09-22  Jonathan Bedard  <jbedard@apple.com>
428
429         Automatic Text Replacement Testing in WebKit2
430         https://bugs.webkit.org/show_bug.cgi?id=161919
431
432         Reviewed by Ryosuke Niwa.
433
434         Implemented test hooks for text replacement for WebKit2.
435         Note that spell checking has not been implemented, so most tests which use text replacement still fail.
436
437         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Removed setAutomaticLinkDetectionEnabled from TestRunner, moved to Internals.
438         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: Ditto.
439         (WTR::InjectedBundle::beginTesting): Ditto.
440         * WebKitTestRunner/InjectedBundle/TestRunner.cpp: Ditto.
441         * WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
442         * WebKitTestRunner/TestController.cpp:
443         (WTR::TestController::runTest): Place TextChecker into testing mode.
444
445 2016-09-21  Dan Bernstein  <mitz@apple.com>
446
447         [macOS] Upon layout, _webView:renderingProgressDidChange: fires before the intrinsic content size is updated
448         https://bugs.webkit.org/show_bug.cgi?id=162359
449         <rdar://problem/27776454>
450
451         Reviewed by Tim Horton.
452
453         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
454         (TEST):
455
456 2016-09-21  Keith Miller  <keith_miller@apple.com>
457
458         Fix build for future versions of Clang.
459         https://bugs.webkit.org/show_bug.cgi?id=162346
460
461         Reviewed by Filip Pizlo.
462
463         * TestWebKitAPI/Counters.cpp:
464         * TestWebKitAPI/Counters.h:
465         (DeleterCounter::deleterCount):
466         (DeleterCounter::TestingScope::TestingScope):
467         (DeleterCounter::operator()):
468         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
469         (TestWebKitAPI::TEST):
470         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
471         (TestWebKitAPI::TEST):
472
473 2016-09-21  Commit Queue  <commit-queue@webkit.org>
474
475         Unreviewed, rolling out r206222 and r206227.
476         https://bugs.webkit.org/show_bug.cgi?id=162361
477
478         "broke the windows build" (Requested by keith_mi_ on #webkit).
479
480         Reverted changesets:
481
482         "Fix build for future versions of Clang."
483         https://bugs.webkit.org/show_bug.cgi?id=162346
484         http://trac.webkit.org/changeset/206222
485
486         "Attempt to fix windows build after r206222."
487         http://trac.webkit.org/changeset/206227
488
489 2016-09-21  Alex Christensen  <achristensen@webkit.org>
490
491         URLParser should match URL::parse when parsing data urls with slashes in them
492         https://bugs.webkit.org/show_bug.cgi?id=162352
493
494         Reviewed by Darin Adler.
495
496         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
497         (TestWebKitAPI::TEST_F):
498
499 2016-09-21  Alex Christensen  <achristensen@webkit.org>
500
501         URLParser should fail when parsing invalid relative URLs with no schemes
502         https://bugs.webkit.org/show_bug.cgi?id=162355
503
504         Reviewed by Tim Horton.
505
506         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
507         (TestWebKitAPI::TEST_F):
508
509 2016-09-21  Keith Miller  <keith_miller@apple.com>
510
511         Fix build for future versions of Clang.
512         https://bugs.webkit.org/show_bug.cgi?id=162346
513
514         Reviewed by Filip Pizlo.
515
516         * TestWebKitAPI/Counters.cpp:
517         * TestWebKitAPI/Counters.h:
518         (DeleterCounter::deleterCount):
519         (DeleterCounter::TestingScope::TestingScope):
520         (DeleterCounter::operator()):
521         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
522         (TestWebKitAPI::TEST):
523         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
524         (TestWebKitAPI::TEST):
525
526 2016-09-21  Alex Christensen  <achristensen@webkit.org>
527
528         Prepare API tests for enabling URLParser by default
529         https://bugs.webkit.org/show_bug.cgi?id=162341
530
531         Reviewed by Tim Horton.
532
533         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
534         (TestWebKitAPI::checkURL):
535         (TestWebKitAPI::checkRelativeURL):
536         (TestWebKitAPI::checkURLDifferences):
537         (TestWebKitAPI::checkRelativeURLDifferences):
538         (TestWebKitAPI::shouldFail):
539
540 2016-09-21  Alex Christensen  <achristensen@webkit.org>
541
542         URLParser: Correctly parse URLs that are just nonspecialscheme:/
543         https://bugs.webkit.org/show_bug.cgi?id=162340
544
545         Reviewed by Tim Horton.
546
547         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
548         (TestWebKitAPI::TEST_F):
549
550 2016-09-21  Alex Christensen  <achristensen@webkit.org>
551
552         URLParser: correctly parse relative URLs that are just one character
553         https://bugs.webkit.org/show_bug.cgi?id=162344
554
555         Reviewed by Tim Horton.
556
557         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
558         (TestWebKitAPI::TEST_F):
559
560 2016-09-20  Alex Christensen  <achristensen@webkit.org>
561
562         Optimize URLParser
563         https://bugs.webkit.org/show_bug.cgi?id=162105
564
565         Reviewed by Geoffrey Garen.
566
567         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
568         (TestWebKitAPI::TEST_F):
569
570 2016-09-20  Aakash Jain  <aakash_jain@apple.com>
571
572         enable remote_api (for debugging) in flakiness dashboard app
573         https://bugs.webkit.org/show_bug.cgi?id=162325
574
575         Reviewed by Alexey Proskuryakov.
576
577         * TestResultServer/app.yaml: enabled remote_api and datastore_admin.
578
579 2016-09-20  Ryan Haddad  <ryanhaddad@apple.com>
580
581         Unreviewed, rolling out r206180.
582
583         Roll r206178 back in as the necessary changes have been made
584         on the build master.
585
586         Reverted changeset:
587
588         "Unreviewed, rolling out r206178."
589         https://bugs.webkit.org/show_bug.cgi?id=162249
590         http://trac.webkit.org/changeset/206180
591
592 2016-09-20  Alexey Proskuryakov  <ap@apple.com>
593
594         Use a hardcoded patch for sRGB color profile
595         https://bugs.webkit.org/show_bug.cgi?id=162320
596         rdar://problem/28387318
597
598         Reviewed by Simon Fraser.
599
600         This is a workaround for rdar://problem/28392768
601
602         * DumpRenderTree/mac/LayoutTestHelper.m:
603         (installLayoutTestColorProfile):
604
605 2016-09-20  Ryan Haddad  <ryanhaddad@apple.com>
606
607         Unreviewed, rolling out r206178.
608
609         This change caused buildbot config issues.
610
611         Reverted changeset:
612
613         "Add Sierra bots to buildbot and dashboard."
614         https://bugs.webkit.org/show_bug.cgi?id=162249
615         http://trac.webkit.org/changeset/206178
616
617 2016-09-20  Dean Johnson  <dean_johnson@apple.com>
618
619         Add Sierra bots to buildbot and dashboard.
620         https://bugs.webkit.org/show_bug.cgi?id=162249
621
622         Reviewed by Alexey Proskuryakov.
623
624         * BuildSlaveSupport/build.webkit.org-config/config.json:
625         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
626         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
627         (WebKitBuildbot):
628
629 2016-09-20  Alex Christensen  <achristensen@webkit.org>
630
631         Reduce allocations in URLParser
632         https://bugs.webkit.org/show_bug.cgi?id=162241
633
634         Reviewed by Chris Dumez.
635
636         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
637         (TestWebKitAPI::TEST_F):
638         (TestWebKitAPI::checkURL):
639
640 2016-09-20  Alex Christensen  <achristensen@webkit.org>
641
642         Align URLParser with web platform tests when parsing non-special relative URLs ending in AuthorityOrHost state
643         https://bugs.webkit.org/show_bug.cgi?id=162251
644
645         Reviewed by Tim Horton.
646
647         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
648         (TestWebKitAPI::checkURL):
649         (TestWebKitAPI::TEST_F):
650         (TestWebKitAPI::checkRelativeURL):
651         (TestWebKitAPI::checkURLDifferences):
652         (TestWebKitAPI::checkRelativeURLDifferences):
653
654 2016-09-20  Alex Christensen  <achristensen@webkit.org>
655
656         URLParser should allow '@' in user
657         https://bugs.webkit.org/show_bug.cgi?id=162272
658
659         Reviewed by Tim Horton.
660
661         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
662         (TestWebKitAPI::TEST_F):
663
664 2016-09-20  Alex Christensen  <achristensen@webkit.org>
665
666         URLParser: Fix parsing relative URLs with one slash after the scheme:
667         https://bugs.webkit.org/show_bug.cgi?id=162294
668
669         Reviewed by Tim Horton.
670
671         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
672         (TestWebKitAPI::TEST_F):
673
674 2016-09-20  Alex Christensen  <achristensen@webkit.org>
675
676         Fix Windows file URL quirks in URLParser
677         https://bugs.webkit.org/show_bug.cgi?id=162303
678
679         Reviewed by Tim Horton.
680
681         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
682         (TestWebKitAPI::TEST_F):
683
684 2016-09-20  Filip Pizlo  <fpizlo@apple.com>
685
686         Make MarkedBlock state tracking support overlapped allocation and marking state
687         https://bugs.webkit.org/show_bug.cgi?id=161581
688
689         Reviewed by Geoffrey Garen.
690         
691         Remove the always-trigger-copy-phase configuration.
692
693         * Scripts/run-jsc-stress-tests:
694
695 2016-09-20  Don Olmstead  <don.olmstead@am.sony.com>
696
697         [WinCairo] Use find_package cairo in build
698         https://bugs.webkit.org/show_bug.cgi?id=162239
699
700         Reviewed by Alex Christensen.
701
702         * DumpRenderTree/PlatformWin.cmake:
703         * TestWebKitAPI/PlatformWin.cmake:
704
705 2016-09-20  Wenson Hsieh  <wenson_hsieh@apple.com>
706
707         Unreviewed build fix on 10.10 bots.
708
709         * TestWebKitAPI/mac/TestWKWebViewMac.h:
710
711 2016-09-20  Wenson Hsieh  <wenson_hsieh@apple.com>
712
713         VideoControlsManager.VideoControlsManagerSingleLargeVideo fails intermittently on the Mac WK2 bot
714         https://bugs.webkit.org/show_bug.cgi?id=162255
715
716         Reviewed by Jer Noble.
717
718         This is reproducible by running the test repeatedly in a for loop (locally, I observed that running the test
719         back-to-back would result in the second one failing). This suggests that even on the runloop after the video
720         starts playing, the state of the playback controls manager may not be up to date in the UI process. Instead, we
721         can just spin the runloop until the playback controls are shown, which makes back-to-back tests to succeed and
722         will probably address flakiness on the bots for this test.
723
724         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
725         (TestWebKitAPI::TEST):
726         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
727
728 2016-09-20  Per Arne Vollan  <pvollan@apple.com>
729
730         [Win] Run layout tests in parallel.
731         https://bugs.webkit.org/show_bug.cgi?id=162145
732
733         Reviewed by Brent Fulgham.
734
735         To speed up layout tests, try running them in parallel.
736
737         * Scripts/webkitpy/port/win.py:
738         (WinPort.default_child_processes): Deleted.
739
740 2016-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
741
742         Unreviewed build fix after r206135
743
744         NSEventMaskLeftMouseDown and friends are only available on 10.12.
745
746         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
747         (__simulated_forceClickAssociatedEventsMask):
748
749 2016-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
750
751         Add a unit test covering <https://trac.webkit.org/changeset/205983>
752         https://bugs.webkit.org/show_bug.cgi?id=162112
753
754         Reviewed by Beth Dakin.
755
756         Adds a new unit test covering the changes in r205983 along with the infrastructure needed to support it. Also
757         further refactors the TestWKWebView used by VideoControlsManager and WKWebViewCandidateTests so that in both
758         cases, we add the WKWebView to a visible key window, and when sending a mouse down event, we propagate the event
759         at the window level rather than the view level, allowing greater flexibility to simulate behaviors such as
760         pressure-sensitive events that are needed for the new test.
761
762         Also rewrites currently disabled unit tests in CandidateTests as WebKit2 unit tests in WKWebViewCandidateTests,
763         checking whether or not to should be requesting candidates in password and non-password fields.
764
765         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
766         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
767         (TestWebKitAPI::setUpWebViewForTestingVideoControlsManager):
768         (TestWebKitAPI::TEST):
769         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
770         (-[CandidateTestWebView typeString:inputMessage:]):
771         (+[CandidateTestWebView setUpWithFrame:testPage:]):
772         * TestWebKitAPI/Tests/WebKit2Cocoa/large-input-field-focus-onload.html: Added.
773         * TestWebKitAPI/Tests/WebKit2Cocoa/text-and-password-inputs.html: Added.
774         * TestWebKitAPI/mac/TestWKWebViewMac.h:
775         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
776         (__simulated_forceClickAssociatedEventsMask):
777         (-[TestWKWebViewHostWindow _mouseDownAtPoint:simulatePressure:]):
778         (-[TestWKWebView initWithFrame:]):
779         (-[TestWKWebView initWithFrame:configuration:]):
780         (-[TestWKWebView _setUpTestWindow:]):
781         (-[TestWKWebView mouseDownAtPoint:simulatePressure:]):
782         (-[TestWKWebView typeCharacter:]):
783         (-[TestWKWebView mouseDownAtPoint:]): Deleted.
784
785 2016-09-19  Alex Christensen  <achristensen@webkit.org>
786
787         URLParser can read memory out of bounds
788         https://bugs.webkit.org/show_bug.cgi?id=162206
789
790         Reviewed by Geoff Garen.
791
792         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
793         (TestWebKitAPI::TEST_F):
794
795 2016-09-19  Daniel Bates  <dabates@apple.com>
796
797         Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code
798         https://bugs.webkit.org/show_bug.cgi?id=162167
799
800         Reviewed by Simon Fraser.
801
802         * Scripts/webkitperl/FeatureList.pm:
803         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
804
805 2016-09-19  Nan Wang  <n_wang@apple.com>
806
807         AX: Add accessibility support for details element on iOS
808         https://bugs.webkit.org/show_bug.cgi?id=162041
809
810         Reviewed by Chris Fleizach.
811
812         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
813         (AccessibilityUIElement::isExpanded):
814         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
815         (WTR::AccessibilityUIElement::isExpanded):
816
817 2016-09-18  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
818
819         [EFL] Bump efl library to 1.18.1
820         https://bugs.webkit.org/show_bug.cgi?id=162120
821
822         Reviewed by Michael Catanzaro.
823
824         * efl/jhbuild.modules: Use efl-1.18.1 instead of 1.18.
825
826 2016-09-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
827
828         [EFL] Adjust EFL coding style to EFL MiniBrowser
829         https://bugs.webkit.org/show_bug.cgi?id=162119
830
831         Reviewed by Michael Catanzaro.
832
833         Apply EFL coding style to main.c for MiniBrowser.
834           - Use _foo_cb instead of on_foo for callback function
835           - Use 3 spaces and use 2 spaces in keywords.
836
837         - EFL coding style.
838           https://phab.enlightenment.org/w/coding_convention/
839
840         Additionally this patch adds an exception rule that style checker doesn't
841         check indentation rule in EFL MiniBrowser.
842
843         * MiniBrowser/efl/main.c:
844         (miniBrowserViewSmartClass):
845         (window_find_with_ewk_view):
846         (_tooltip_show):
847         (window_tooltip_hide):
848         (window_tooltip_update):
849         (_mouse_in_cb):
850         (_mouse_move_cb):
851         (_mouse_out_cb):
852         (_mouse_wheel_cb):
853         (_window_resize_cb):
854         (update_view_favicon):
855         (_icon_changed_cb):
856         (window_free):
857         (window_close):
858         (search_icon_show):
859         (search_box_show):
860         (search_box_hide):
861         (history_list_hide):
862         (save_page_contents_callback):
863         (script_execute_callback):
864         (toggle_window_fullscreen):
865         (_key_down_cb):
866         (_mouse_down_cb):
867         (_title_changed_cb):
868         (_url_changed_cb):
869         (_back_forward_list_changed_cb):
870         (_progress_cb):
871         (_error_cb):
872         (_download_request_cb):
873         (close_file_picker):
874         (_filepicker_parent_deletion_cb):
875         (_filepicker_deletion_cb):
876         (_fileselector_done_cb):
877         (_file_chooser_request_cb):
878         (_download_finished_cb):
879         (_download_failed_cb):
880         (_color_changed_cb):
881         (_color_item_selected_cb):
882         (_color_picker_ok_clicked_cb):
883         (_color_picker_cancel_clicked_cb):
884         (_color_picker_dismiss_cb):
885         (_color_picker_request_cb):
886         (_url_bar_activated_cb):
887         (_url_bar_clicked_cb):
888         (_search_field_aborted_cb):
889         (_search_field_activated_cb):
890         (_search_field_clicked_cb):
891         (_back_button_clicked_cb):
892         (_forward_button_clicked_cb):
893         (_search_backward_button_clicked_cb):
894         (_search_forward_button_clicked_cb):
895         (_search_case_option_changed):
896         (_search_word_start_option_changed_cb):
897         (_search_close_button_clicked_cb):
898         (_refresh_button_clicked_cb):
899         (_stop_button_clicked_cb):
900         (_list_item_select_cb):
901         (navigation_button_longpress_process):
902         (_forward_button_longpress_cb):
903         (_back_button_longpress_cb):
904         (_ok_clicked_cb):
905         (_file_entry_dialog_show):
906         (_javascript_alert_cb):
907         (_javascript_confirm_cb):
908         (_javascript_prompt_cb):
909         (_javascript_before_unload_confirm_cb):
910         (_popup_menu_item_clicked_cb):
911         (popup_menu_populate):
912         (_popup_menu_show):
913         (_popup_menu_hide):
914         (_window_geometry_get):
915         (_window_geometry_set):
916         (_fullscreen_accept_cb):
917         (_fullscreen_deny_cb):
918         (_fullscreen_enter_cb):
919         (_fullscreen_exit_cb):
920         (_window_create_cb):
921         (_window_close_cb):
922         (_context_menu_item_selected_cb):
923         (context_menu_populate):
924         (_context_menu_show):
925         (_context_menu_hide):
926         (auth_popup_close):
927         (_auth_cancel_cb):
928         (_auth_ok_cb):
929         (_authentication_request_cb):
930         (_search_text_found_cb):
931         (_tooltip_text_set):
932         (_tooltip_text_unset):
933         (_navigation_policy_decision_cb):
934         (_home_button_clicked_cb):
935         (_window_deletion_cb):
936         (create_toolbar_button):
937         (window_create):
938         (configuration):
939         (parse_cookies_policy):
940         (parse_window_size):
941         (elm_main):
942         (on_tooltip_show): Deleted.
943         (on_mouse_in): Deleted.
944         (on_mouse_move): Deleted.
945         (on_mouse_out): Deleted.
946         (on_mouse_wheel): Deleted.
947         (on_window_resize): Deleted.
948         (on_icon_changed_cb): Deleted.
949         (on_key_down): Deleted.
950         (on_mouse_down): Deleted.
951         (on_title_changed): Deleted.
952         (on_url_changed): Deleted.
953         (on_back_forward_list_changed): Deleted.
954         (on_progress): Deleted.
955         (on_error): Deleted.
956         (on_download_request): Deleted.
957         (on_filepicker_parent_deletion): Deleted.
958         (on_filepicker_deletion): Deleted.
959         (on_fileselector_done): Deleted.
960         (on_file_chooser_request): Deleted.
961         (on_download_finished): Deleted.
962         (on_download_failed): Deleted.
963         (on_color_changed): Deleted.
964         (on_color_item_selected): Deleted.
965         (on_color_picker_ok_clicked): Deleted.
966         (on_color_picker_cancel_clicked): Deleted.
967         (on_color_picker_dismiss): Deleted.
968         (on_color_picker_request): Deleted.
969         (on_url_bar_activated): Deleted.
970         (on_url_bar_clicked): Deleted.
971         (on_search_field_aborted): Deleted.
972         (on_search_field_activated): Deleted.
973         (on_search_field_clicked): Deleted.
974         (on_back_button_clicked): Deleted.
975         (on_forward_button_clicked): Deleted.
976         (on_search_backward_button_clicked): Deleted.
977         (on_search_forward_button_clicked): Deleted.
978         (on_search_case_option_changed): Deleted.
979         (on_search_word_start_option_changed): Deleted.
980         (on_search_close_button_clicked): Deleted.
981         (on_refresh_button_clicked): Deleted.
982         (on_stop_button_clicked): Deleted.
983         (on_list_item_select): Deleted.
984         (on_forward_button_longpress): Deleted.
985         (on_back_button_longpress): Deleted.
986         (on_ok_clicked): Deleted.
987         (show_file_entry_dialog): Deleted.
988         (on_javascript_alert): Deleted.
989         (on_javascript_confirm): Deleted.
990         (on_javascript_prompt): Deleted.
991         (on_javascript_before_unload_confirm): Deleted.
992         (on_popup_menu_item_clicked): Deleted.
993         (on_popup_menu_show): Deleted.
994         (on_popup_menu_hide): Deleted.
995         (on_window_geometry_get): Deleted.
996         (on_window_geometry_set): Deleted.
997         (on_fullscreen_accept): Deleted.
998         (on_fullscreen_deny): Deleted.
999         (on_fullscreen_enter): Deleted.
1000         (on_fullscreen_exit): Deleted.
1001         (on_window_create): Deleted.
1002         (on_window_close): Deleted.
1003         (context_menu_item_selected_cb): Deleted.
1004         (on_context_menu_show): Deleted.
1005         (on_context_menu_hide): Deleted.
1006         (on_auth_cancel): Deleted.
1007         (on_auth_ok): Deleted.
1008         (on_authentication_request): Deleted.
1009         (on_search_text_found): Deleted.
1010         (on_tooltip_text_set): Deleted.
1011         (on_tooltip_text_unset): Deleted.
1012         (on_navigation_policy_decision): Deleted.
1013         (on_home_button_clicked): Deleted.
1014         (on_window_deletion): Deleted.
1015         * Scripts/webkitpy/style/checker.py:
1016
1017 2016-09-16  Dave Hyatt  <hyatt@apple.com>
1018
1019         [CSS Parser] Get CSSPropertyParserHelpers.cpp compiling
1020         https://bugs.webkit.org/show_bug.cgi?id=162078
1021
1022         Reviewed by Dean Jackson.
1023
1024         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
1025         (TestWebKitAPI::createTestValue):
1026         Convert to ValueRange.
1027
1028 2016-09-16  Alex Christensen  <achristensen@webkit.org>
1029
1030         Fix API tests after r206036
1031         https://bugs.webkit.org/show_bug.cgi?id=162049
1032
1033         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1034         (TestWebKitAPI::TEST_F):
1035         An emoji had been UTF-8 encoded in the patch that was applied.
1036         The test needed to check the encoding of the emoji, not the UTF-8 encoding of the emoji.
1037         Everything was correct except applying the patch before committing.
1038
1039 2016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1040
1041         RequiresUserActionForPlayback TestWebKitAPI tests are broken after r206033.
1042         https://bugs.webkit.org/show_bug.cgi?id=162080
1043
1044         Reviewed by Jer Noble.
1045
1046         I renamed "playingHandler" to the more generalized "testHandler", but did not realize that the
1047         RequiresUserActionForPlayback tests also used "playingHandler". Renames the handler to account for this change.
1048
1049         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
1050         (RequiresUserActionForPlaybackTest::SetUp):
1051
1052 2016-09-16  Alex Christensen  <achristensen@webkit.org>
1053
1054         URLParser should percent encode the user and password according to spec
1055         https://bugs.webkit.org/show_bug.cgi?id=162049
1056
1057         Reviewed by Tim Horton.
1058
1059         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1060         (TestWebKitAPI::TEST_F):
1061
1062 2016-09-16  Alex Christensen  <achristensen@webkit.org>
1063
1064         Fix more edge cases in URLParser
1065         https://bugs.webkit.org/show_bug.cgi?id=162051
1066
1067         Reviewed by Tim Horton.
1068
1069         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1070         (TestWebKitAPI::TEST_F):
1071
1072 2016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1073
1074         Inserting a space after inserting an accepted candidate scrolls the document and causes a flicker
1075         https://bugs.webkit.org/show_bug.cgi?id=162009
1076         <rdar://problem/28086237>
1077
1078         Reviewed by Tim Horton.
1079
1080         Adds 3 new text editing API tests covering candidate insertion, as well as support for testing candidates in
1081         WKWebViews. Refactors common WKWebView helpers across both VideoControlsManager tests and the new
1082         WKWebViewCandidateTests into a new utility class, TestWKWebView in TestWKWebView.mm, which is capable of
1083         simulating mouse and keyboard events as well as waiting for JavaScript messages sent from the web process and
1084         performing actions in response.
1085
1086         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1087         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html:
1088         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
1089         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
1090         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1091         (TestWebKitAPI::TEST):
1092         (-[MessageHandler initWithMessage:handler:]): Deleted.
1093         (-[MessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
1094         (-[VideoControlsManagerTestWebView mouseDownAtPoint:]): Deleted.
1095         (-[VideoControlsManagerTestWebView performAfterLoading:]): Deleted.
1096         (-[VideoControlsManagerTestWebView callJavascriptFunction:]): Deleted.
1097         (-[VideoControlsManagerTestWebView loadTestPageNamed:]): Deleted.
1098         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]): Deleted.
1099         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm: Added.
1100         (-[TestCandidate initWithReplacementString:inRange:]):
1101         (-[TestCandidate replacementString]):
1102         (-[TestCandidate resultType]):
1103         (-[TestCandidate range]):
1104         (-[CandidateTestWebView insertCandidatesAndWaitForResponse:range:]):
1105         (-[CandidateTestWebView _didHandleAcceptedCandidate]):
1106         (-[CandidateTestWebView expectCandidateListVisibilityUpdates:whenPerformingActions:]):
1107         (-[CandidateTestWebView _didUpdateCandidateListVisibility:]):
1108         (TEST):
1109         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html:
1110         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html:
1111         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html:
1112         * TestWebKitAPI/Tests/WebKit2Cocoa/full-size-autoplaying-video-with-audio.html:
1113         * TestWebKitAPI/Tests/WebKit2Cocoa/input-field-in-scrollable-document.html: Added.
1114         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html:
1115         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-mutes-onplaying.html:
1116         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html:
1117         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html:
1118         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html:
1119         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html:
1120         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
1121         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html:
1122         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html:
1123         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html:
1124         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html:
1125         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html:
1126         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html:
1127         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html:
1128         * TestWebKitAPI/Tests/WebKit2Cocoa/skinny-autoplaying-video-with-audio.html:
1129         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html:
1130         * TestWebKitAPI/mac/TestWKWebViewMac.h: Added.
1131         * TestWebKitAPI/mac/TestWKWebViewMac.mm: Added.
1132         (-[TestMessageHandler initWithMessage:handler:]):
1133         (-[TestMessageHandler userContentController:didReceiveScriptMessage:]):
1134         (-[TestWKWebView mouseDownAtPoint:]):
1135         (-[TestWKWebView performAfterReceivingMessage:action:]):
1136         (-[TestWKWebView loadTestPageNamed:]):
1137         (-[TestWKWebView typeCharacter:]):
1138         (-[TestWKWebView stringByEvaluatingJavaScript:]):
1139         (-[TestWKWebView waitForMessage:]):
1140         (-[TestWKWebView performAfterLoading:]):
1141
1142 2016-09-14  Jer Noble  <jer.noble@apple.com>
1143
1144         [media-source] fix imported/w3c/web-platform-tests/media-source/mediasource-duration.html
1145         https://bugs.webkit.org/show_bug.cgi?id=161999
1146
1147         Reviewed by Eric Carlson.
1148
1149         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
1150         (TestWebKitAPI::TEST):
1151
1152 2016-09-16  Anders Carlsson  <andersca@apple.com>
1153
1154         Fix isValidEnum to work with older versions of GCC
1155         https://bugs.webkit.org/show_bug.cgi?id=162065
1156
1157         Reviewed by Michael Catanzaro.
1158
1159         Add EnumTraits.cpp to the CMake build.
1160
1161         * TestWebKitAPI/CMakeLists.txt:
1162
1163 2016-09-16  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
1164
1165         Unreviewed: Change my primary address for auto-complete in bugzilla.
1166
1167         * Scripts/webkitpy/common/config/contributors.json:
1168
1169 2016-09-15  Alex Christensen  <achristensen@webkit.org>
1170
1171         URLParser: Check for invalid characters in the host
1172         https://bugs.webkit.org/show_bug.cgi?id=162023
1173
1174         Reviewed by Tim Horton.
1175
1176         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1177         (TestWebKitAPI::TEST_F):
1178
1179 2016-09-15  Fujii Hironori  <Hironori.Fujii@sony.com>
1180
1181         [CMake] Refactor GENERATE_BINDINGS
1182         https://bugs.webkit.org/show_bug.cgi?id=161854
1183
1184         Reviewed by Gyuyoung Kim.
1185
1186         * DumpRenderTree/CMakeLists.txt: Changed the arguments of
1187         GENERATE_BINDINGS to new style.
1188         * WebKitTestRunner/CMakeLists.txt: Ditto.
1189
1190 2016-09-15  Ryan Haddad  <ryanhaddad@apple.com>
1191
1192         Disable failing API WebKit2.DataDetectionReferenceDate until it can be investigated.
1193         https://bugs.webkit.org/show_bug.cgi?id=161967
1194
1195         Unreviewed test gardening.
1196
1197         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:
1198         (TEST):
1199
1200 2016-09-15  Per Arne Vollan  <pvollan@apple.com>
1201
1202         [Win] run-api-tests is failing.
1203         https://bugs.webkit.org/show_bug.cgi?id=162015
1204
1205         Reviewed by Brent Fulgham.
1206
1207         MSVC is not interpreting C++ string literals with unicode characters correctly when the source file
1208         doesn't contain encoding information. Save the file with utf8 encoding with signature.
1209
1210         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1211
1212 2016-09-15  Jonathan Bedard  <jbedard@apple.com>
1213
1214         Move --no-sample-on-timeout to config.json for each bot
1215         https://bugs.webkit.org/show_bug.cgi?id=161964
1216
1217         Reviewed by Daniel Bates.
1218
1219         Roll out changes from 205573 and move them into config.json.  At this time, only macOS and iOS simulator sample a process on timeout, —no-sample-on-timeout is unneeded for GTK, EFL and Windows.
1220
1221         * BuildSlaveSupport/build.webkit.org-config/config.json: Each bot now independently defines if it will be running sample on timeout.
1222         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1223         (RunWebKitTests.start): Rolled out changes from 205573.
1224
1225 2016-09-15  Csaba Osztrogonác  <ossy@webkit.org>
1226
1227         js/stringimpl-to-jsstring-on-large-strings tests consume huge memory
1228         https://bugs.webkit.org/show_bug.cgi?id=159807
1229
1230         Reviewed by Saam Barati.
1231
1232         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1233         (RunRemoteJavaScriptCoreTests.start): JSCOnly bots are memory limited devices, tests should run with --memory-limited option.
1234         * Scripts/run-javascriptcore-tests:
1235         (runJSCStressTests): Pass through --memory-limited option to run-jsc-stress-tests.
1236         * Scripts/run-jsc-stress-tests: Typo fix.
1237
1238 2016-09-14  Wenson Hsieh  <wenson_hsieh@apple.com>
1239
1240         Media controls behave strangely when changing media sources
1241         https://bugs.webkit.org/show_bug.cgi?id=161914
1242         <rdar://problem/28227805>
1243
1244         Reviewed by Tim Horton.
1245
1246         Adds three new unit tests verifying that media controls remain stable during common `src` change scenarios. Also
1247         tweaks an existing test to account for new `ended` behavior.
1248
1249         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1250         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1251         (-[VideoControlsManagerTestWebView waitForMediaControlsToShow]):
1252         (-[VideoControlsManagerTestWebView waitForMediaControlsToHide]):
1253         (TestWebKitAPI::TEST):
1254         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html: Added.
1255         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html: Added.
1256         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html: Added.
1257
1258 2016-09-14  Jonathan Bedard  <jbedard@apple.com>
1259
1260         Fix mastercfg_unittest
1261         https://bugs.webkit.org/show_bug.cgi?id=161816
1262
1263         Reviewed by Daniel Bates.
1264
1265         (RunWebKitTests.start):
1266         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Fixed broken unit tests.
1267
1268 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
1269
1270         Landing optimized .png files, forgot to do it initially.
1271
1272         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png:
1273         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png:
1274         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png:
1275         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
1276         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
1277
1278 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
1279
1280         Switch build.webkit.org to iOS 10
1281         https://bugs.webkit.org/show_bug.cgi?id=161930
1282
1283         Reviewed by Daniel Bates.
1284
1285         * BuildSlaveSupport/build.webkit.org-config/config.json:
1286         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1287         (RunWebKitTests.start):
1288         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1289         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png: Added.
1290         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png: Added.
1291         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png: Added.
1292         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator@2x.png: Added.
1293         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
1294         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
1295         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator.png: Added.
1296         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator@2x.png: Added.
1297         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
1298         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
1299         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1300         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1301         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
1302         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
1303         * Scripts/webkitpy/port/ios.py:
1304         * TestResultServer/static-dashboards/builders.jsonp:
1305
1306 2016-09-13  Tim Horton  <timothy_horton@apple.com>
1307
1308         Provide a mechanism to specify the maximum width of WKThumbnailView snapshots
1309         https://bugs.webkit.org/show_bug.cgi?id=161896
1310         <rdar://problem/28229827>
1311
1312         Reviewed by Simon Fraser.
1313
1314         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm:
1315         (TestWebKitAPI::TEST):
1316         Add a test for the new property.
1317         Also fix the old new test to run on arbitrary scale displays without failing.
1318
1319 2016-09-12  Brent Fulgham  <bfulgham@apple.com>
1320
1321         [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
1322         https://bugs.webkit.org/show_bug.cgi?id=161818
1323
1324         Reviewed by Dean Jackson.
1325
1326         Add several new test suites for the various geometric primitives in WebCore.
1327
1328         * TestWebKitAPI/PlatformWin.cmake: Add new files for test cases.
1329         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
1330         * TestWebKitAPI/Tests/WebCore/AffineTransform.cpp: Added.
1331         * TestWebKitAPI/Tests/WebCore/FloatPoint.cpp: Added.
1332         * TestWebKitAPI/Tests/WebCore/FloatRect.cpp: Added.
1333         * TestWebKitAPI/Tests/WebCore/FloatSize.cpp: Added.
1334         * TestWebKitAPI/Tests/WebCore/IntPoint.cpp: Added.
1335         * TestWebKitAPI/Tests/WebCore/IntRect.cpp: Added.
1336         * TestWebKitAPI/Tests/WebCore/IntSize.cpp: Added.
1337         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Add some new
1338         Windows-focused test cases.
1339
1340 2016-09-12  Chris Dumez  <cdumez@apple.com>
1341
1342         Fix post-landing review comments after r205787
1343         https://bugs.webkit.org/show_bug.cgi?id=161885
1344
1345         Reviewed by Darin Adler.
1346
1347         Leverage new StringBuilder::append(CFStringRef) overload.
1348
1349         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1350         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
1351
1352 2016-09-12  Alex Christensen  <achristensen@webkit.org>
1353
1354         URLParser: Correctly ignore spaces before relative URLs with no scheme
1355         https://bugs.webkit.org/show_bug.cgi?id=161889
1356
1357         Reviewed by Daniel Bates.
1358
1359         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1360         (TestWebKitAPI::TEST_F):
1361
1362 2016-09-12  Alex Christensen  <achristensen@webkit.org>
1363
1364         URLParser: Fix relative URLs containing only fragments
1365         https://bugs.webkit.org/show_bug.cgi?id=161882
1366
1367         Reviewed by Brady Eidson.
1368
1369         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1370         (TestWebKitAPI::TEST_F):
1371
1372 2016-09-12  Alex Christensen  <achristensen@webkit.org>
1373
1374         URLParser: Correctly handle relative URLs that are just a scheme and a colon
1375         https://bugs.webkit.org/show_bug.cgi?id=161876
1376
1377         Reviewed by Brady Eidson.
1378
1379         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1380         (TestWebKitAPI::TEST_F):
1381
1382 2016-09-12  DAN SAUNDERS  <dasau@microsoft.com>
1383
1384         AX: WKWebView for macOS does not allow configuration of tabsToLinks
1385         https://bugs.webkit.org/show_bug.cgi?id=161394
1386
1387         Reviewed by Anders Carlsson.
1388
1389         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1390         (TEST):
1391
1392 2016-09-12  Alex Christensen  <achristensen@webkit.org>
1393
1394         Remove trailing control characters and spaces before parsing a URL
1395         https://bugs.webkit.org/show_bug.cgi?id=161870
1396
1397         Reviewed by Tim Horton.
1398
1399         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1400         (TestWebKitAPI::TEST_F):
1401
1402 2016-09-12  Alex Christensen  <achristensen@webkit.org>
1403
1404         Fix more URLParser quirks
1405         https://bugs.webkit.org/show_bug.cgi?id=161834
1406
1407         Reviewed by Brady Eidson.
1408
1409         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1410         (TestWebKitAPI::TEST_F):
1411
1412 2016-09-10  Alex Christensen  <achristensen@webkit.org>
1413
1414         Optimize URLParser performance
1415         https://bugs.webkit.org/show_bug.cgi?id=161837
1416
1417         Reviewed by Brady Eidson.
1418
1419         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1420         (TestWebKitAPI::TEST_F):
1421         Added a test to verify the case insensitivity of the default port checks.
1422
1423 2016-09-10  Chris Dumez  <cdumez@apple.com>
1424
1425         parseHTMLInteger() should take a StringView in parameter
1426         https://bugs.webkit.org/show_bug.cgi?id=161669
1427
1428         Reviewed by Ryosuke Niwa.
1429
1430         Explicitly construct a String from the CFStringRef in order to call
1431         StringBuilder::append(). This is needed now that there is an append()
1432         overload taking an AtomicString in parameter.
1433
1434         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1435         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
1436
1437 2016-09-10  Wenson Hsieh  <wenson_hsieh@apple.com>
1438
1439         Apple.com keynote does not display media controls
1440         https://bugs.webkit.org/show_bug.cgi?id=161833
1441         <rdar://problem/28230123>
1442
1443         Reviewed by Tim Horton.
1444
1445         New unit test verifying that wide videos (~2 aspect ratio) still get media controls.
1446
1447         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1448         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1449         (TestWebKitAPI::TEST):
1450         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html: Added.
1451
1452 2016-09-09  Tim Horton  <timothy_horton@apple.com>
1453
1454         WKThumbnailView should expose a mode where it can be reparented without resnapshotting
1455         https://bugs.webkit.org/show_bug.cgi?id=161828
1456         <rdar://problem/28229756>
1457
1458         Reviewed by Alex Christensen.
1459
1460         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1461         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm: Added.
1462         (-[SnapshotSizeObserver observeValueForKeyPath:ofObject:change:context:]):
1463         (TestWebKitAPI::didFinishLoadForFrame):
1464         (TestWebKitAPI::setPageLoaderClient):
1465         (TestWebKitAPI::TEST):
1466         Add a test ensuring that this behaves correctly.
1467
1468 2016-09-09  Alex Christensen  <achristensen@webkit.org>
1469
1470         URLParser: Keep track of cannot-be-a-base-url according to spec
1471         https://bugs.webkit.org/show_bug.cgi?id=161830
1472
1473         Reviewed by Tim Horton.
1474
1475         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1476         (TestWebKitAPI::TEST_F):
1477
1478 2016-09-09  Alex Christensen  <achristensen@webkit.org>
1479
1480         Fix API tests after r205774.
1481         https://bugs.webkit.org/show_bug.cgi?id=161820
1482
1483         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1484         (TestWebKitAPI::TEST_F):
1485         I had committed the wrong expected path in one case. The functionality is correct.
1486
1487 2016-09-09  Michael Saboff  <msaboff@apple.com>
1488
1489         Unreviewed, rolling r205759 back in with a fix.
1490
1491         An expectation file, JSTests/ChakraCore/test/Lib/tostring.baseline-jsc,
1492         should be named "toString.baseline-jsc".  For systems with case-insensitive
1493         filesystems, the wrong name isn't an issue.  That rename is part of this
1494         fix.
1495
1496         * Scripts/run-javascriptcore-tests:
1497         (runJSCStressTests):
1498
1499 2016-09-09  Johan K. Jensen  <johan_jensen@apple.com>
1500
1501         Unreviewed. Added myself to the list of committers.
1502
1503         * Scripts/webkitpy/common/config/contributors.json:
1504
1505 2016-09-09  Alex Christensen  <achristensen@webkit.org>
1506
1507         URLParser should convert ASCII hosts to lowercase
1508         https://bugs.webkit.org/show_bug.cgi?id=161820
1509
1510         Reviewed by Geoffrey Garen.
1511
1512         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1513         (TestWebKitAPI::TEST_F):
1514
1515 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
1516
1517         Unreviewed, rolling out r205759.
1518
1519         This change broke all JSC tests
1520
1521         Reverted changeset:
1522
1523         "Add ChakraCore tests to run-javascriptcore-tests"
1524         https://bugs.webkit.org/show_bug.cgi?id=161808
1525         http://trac.webkit.org/changeset/205759
1526
1527 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
1528
1529         Revert r205770 because Ricky is already a committer.
1530
1531         Unreviewed.
1532
1533         * Scripts/webkitpy/common/config/contributors.json:
1534
1535 2016-09-09  Ricky Mondello  <rmondello@apple.com>
1536
1537         Unreviewed. Added myself to the list of committers.
1538
1539         * Scripts/webkitpy/common/config/contributors.json:
1540
1541 2016-09-09  Alex Christensen  <achristensen@webkit.org>
1542
1543         URLParser: Fix and optimize parsing file URLs ending with a host but no slash
1544         https://bugs.webkit.org/show_bug.cgi?id=161815
1545
1546         Reviewed by Geoffrey Garen.
1547
1548         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1549         (TestWebKitAPI::TEST_F):
1550
1551 2016-09-08  Dean Jackson  <dino@apple.com>
1552
1553         Expose Apple Pencil data to Touch events
1554         https://bugs.webkit.org/show_bug.cgi?id=161783
1555         <rdar://problem/28218898>
1556
1557         Reviewed by Beth Dakin.
1558
1559         The values that IOHID expects are different from their
1560         documentation, and from what UITouch interprets. Tweak
1561         incoming data so it will produce the output we expect.
1562
1563         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1564         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:]):
1565         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:]):
1566
1567 2016-09-09  JF Bastien  <jfbastien@apple.com>
1568
1569         Unreviewed. Added myself to the list of committers.
1570
1571         * Scripts/webkitpy/common/config/contributors.json:
1572
1573 2016-09-09  Michael Saboff  <msaboff@apple.com>
1574
1575         Add ChakraCore tests to run-javascriptcore-tests
1576         https://bugs.webkit.org/show_bug.cgi?id=161808
1577
1578         Reviewed by Saam Barati.
1579
1580         Added ChakraCore tests to the default list of tests to run.
1581
1582         * Scripts/run-javascriptcore-tests:
1583         (runJSCStressTests):
1584
1585 2016-09-09  Alex Christensen  <achristensen@webkit.org>
1586
1587         URLParser: Handle \ in path according to spec
1588         https://bugs.webkit.org/show_bug.cgi?id=161805
1589
1590         Reviewed by Andy Estes.
1591
1592         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1593         (TestWebKitAPI::TEST_F):
1594
1595 2016-09-09  Alex Christensen  <achristensen@webkit.org>
1596
1597         URLParser should parse URLs with non-special schemes
1598         https://bugs.webkit.org/show_bug.cgi?id=161786
1599
1600         Reviewed by Andy Estes.
1601
1602         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1603         (TestWebKitAPI::TEST_F):
1604
1605 2016-09-08  Yusuke Suzuki  <utatane.tea@gmail.com>
1606
1607         [WTF] HashTable's rehash is not compatible to Ref<T> and ASan
1608         https://bugs.webkit.org/show_bug.cgi?id=161763
1609
1610         Reviewed by Mark Lam.
1611
1612         Add tests that inserts many Ref<>s. It incurs HashTable::rehash, and we can ensure
1613         that ASan crash does not occur with this patch.
1614
1615         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1616         (TestWebKitAPI::TEST):
1617         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1618         (TestWebKitAPI::TEST):
1619
1620 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1621
1622         URLParser: Handle \ in paths of special URLs according to spec
1623         https://bugs.webkit.org/show_bug.cgi?id=161781
1624
1625         Reviewed by Tim Horton.
1626
1627         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1628         (TestWebKitAPI::TEST_F):
1629
1630 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
1631
1632         Update the content-animation.plan file to run css-accelerated-animation.html
1633         and pull SVN revision r205680.
1634
1635         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
1636
1637 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
1638
1639         Add a content-animation test with accelerated CSS animations
1640         https://bugs.webkit.org/show_bug.cgi?id=161776
1641
1642         Reviewed by Dean Jackson.
1643
1644         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch:
1645
1646 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1647
1648         URLParser: Parsing empty URLs with a base URL should return the base URL
1649         https://bugs.webkit.org/show_bug.cgi?id=161777
1650
1651         Reviewed by Tim Horton.
1652
1653         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1654         (TestWebKitAPI::TEST_F):
1655
1656 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1657
1658         URLParser failures should preserve the original input string
1659         https://bugs.webkit.org/show_bug.cgi?id=161769
1660
1661         Reviewed by Tim Horton.
1662
1663         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1664         (TestWebKitAPI::TEST_F):
1665         (TestWebKitAPI::shouldFail):
1666
1667 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1668
1669         URLParser should parse URLs with a user but no password
1670         https://bugs.webkit.org/show_bug.cgi?id=161773
1671
1672         Reviewed by Brady Eidson.
1673
1674         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1675         (TestWebKitAPI::TEST_F):
1676
1677 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1678
1679         URLParser should parse ports after IPv4 and IPv6 hosts
1680         https://bugs.webkit.org/show_bug.cgi?id=161731
1681
1682         Reviewed by Brady Eidson.
1683
1684         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1685         (TestWebKitAPI::TEST_F):
1686
1687 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1688
1689         URLParser should correctly handle \ in path
1690         https://bugs.webkit.org/show_bug.cgi?id=161762
1691
1692         Reviewed by Brady Eidson.
1693
1694         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1695         (TestWebKitAPI::TEST_F):
1696
1697 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1698
1699         URLParser should handle URLs with empty authority
1700         https://bugs.webkit.org/show_bug.cgi?id=161711
1701
1702         Reviewed by Brady Eidson.
1703
1704         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1705         (TestWebKitAPI::TEST_F):
1706
1707 2016-09-08  Alex Christensen  <achristensen@webkit.org>
1708
1709         Re-land r205580 after r205649 fixed the test failures
1710         https://bugs.webkit.org/show_bug.cgi?id=161668
1711
1712         Re-landing changesets:
1713
1714         "Punycode encode non-ascii hosts in URLParser"
1715         https://bugs.webkit.org/show_bug.cgi?id=161655
1716         http://trac.webkit.org/changeset/205521
1717
1718         "Fix query-only and fragment-only relative URLs when using
1719         URLParser"
1720         https://bugs.webkit.org/show_bug.cgi?id=161657
1721         http://trac.webkit.org/changeset/205526
1722
1723         "URLParser should parse / as a relative URL"
1724         https://bugs.webkit.org/show_bug.cgi?id=161667
1725         http://trac.webkit.org/changeset/205532
1726
1727 2016-09-08  Dean Jackson  <dino@apple.com>
1728
1729         Expose Apple Pencil input to testing system
1730         https://bugs.webkit.org/show_bug.cgi?id=161670
1731         <rdar://problem/28183327>
1732
1733         I fixed the internal builds, now try to fix the public builds.
1734
1735         * WebKitTestRunner/ios/IOKitSPI.h: Add new enum values.
1736
1737 2016-09-07  Dean Jackson  <dino@apple.com>
1738
1739         Expose Apple Pencil input to testing system
1740         https://bugs.webkit.org/show_bug.cgi?id=161670
1741         <rdar://problem/28183327>
1742
1743         Attempt to fix iOS 9 builds.
1744
1745         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1746         (-[HIDEventGenerator _createIOHIDEventType:]):
1747
1748 2016-09-07  Alex Christensen  <achristensen@webkit.org>
1749
1750         Roll out r205580 and r205582.
1751         https://bugs.webkit.org/show_bug.cgi?id=161668
1752
1753         I need to figure out why this is failing on the bots before landing any more URLParser progress.
1754
1755 2016-09-07  Alex Christensen  <achristensen@webkit.org>
1756
1757         Unreviewed, revert r205533.
1758         https://bugs.webkit.org/show_bug.cgi?id=161668
1759
1760         Re-landing changesets:
1761
1762         "Punycode encode non-ascii hosts in URLParser"
1763         https://bugs.webkit.org/show_bug.cgi?id=161655
1764         http://trac.webkit.org/changeset/205521
1765
1766         "Fix query-only and fragment-only relative URLs when using
1767         URLParser"
1768         https://bugs.webkit.org/show_bug.cgi?id=161657
1769         http://trac.webkit.org/changeset/205526
1770
1771         "URLParser should parse / as a relative URL"
1772         https://bugs.webkit.org/show_bug.cgi?id=161667
1773         http://trac.webkit.org/changeset/205532
1774
1775 2016-09-07  Simon Fraser  <simon.fraser@apple.com>
1776
1777         Enable the <meter> element on iOS
1778         https://bugs.webkit.org/show_bug.cgi?id=161714
1779         rdar://problem/8978410
1780
1781         Reviewed by Tim Horton.
1782
1783         Define ENABLE_METER_ELEMENT unconditionally now.
1784
1785         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1786
1787 2016-09-07  Jonathan Bedard  <jbedard@apple.com>
1788
1789         Run spindumps on timeout on iOS 9 Simulator Release WK2 (Tests)
1790         https://bugs.webkit.org/show_bug.cgi?id=161699
1791
1792         Reviewed by Alexey Proskuryakov.
1793
1794         This change does not have testing associated with it because the testing infrastructure does not exists, we cannot currently mock build-bot variables.
1795
1796         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1797         (RunWebKitTests): Enable sample on timeout for everything.
1798         (RunWebKitTests.start): Disable sample on timeout for everything except iOS 9 WK2 release simulators.
1799
1800 2016-09-06  Dean Jackson  <dino@apple.com>
1801
1802         Expose Apple Pencil input to testing system
1803         https://bugs.webkit.org/show_bug.cgi?id=161670
1804         <rdar://problem/28183327>
1805
1806         Reviewed by Simon Fraser.
1807
1808         Add API to UIScriptController that allows a test to emulate
1809         stylus input, such as from the Apple Pencil.
1810
1811         The code is only implemented for WebKitTestRunner.
1812
1813         There are also four new tests that ensure an Apple Pencil
1814         operates similarly to a regular touch. The main difference
1815         is that you can't have multiple touches when using an Apple Pencil.
1816
1817         * DumpRenderTree/ios/UIScriptControllerIOS.mm: New methods. Empty implementations.
1818         (WTR::UIScriptController::stylusDownAtPoint):
1819         (WTR::UIScriptController::stylusMoveToPoint):
1820         (WTR::UIScriptController::stylusUpAtPoint):
1821         (WTR::UIScriptController::stylusTapAtPoint):
1822         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: New methods.
1823         * TestRunnerShared/UIScriptContext/UIScriptController.cpp: Empty implementations.
1824         (WTR::UIScriptController::stylusDownAtPoint):
1825         (WTR::UIScriptController::stylusMoveToPoint):
1826         (WTR::UIScriptController::stylusUpAtPoint):
1827         (WTR::UIScriptController::stylusTapAtPoint):
1828         * TestRunnerShared/UIScriptContext/UIScriptController.h:
1829
1830         * WebKitTestRunner/ios/HIDEventGenerator.h:
1831         * WebKitTestRunner/ios/HIDEventGenerator.mm: New StylusEvent types. Add some properties
1832         to SyntheticEventDigitizerInfo.
1833         (-[HIDEventGenerator _createIOHIDEventType:]): Add support for StylusEvent types.
1834         (-[HIDEventGenerator touchDownAtPoints:touchCount:]): Clear any old stylus info.
1835         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:]):
1836         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:]):
1837         (-[HIDEventGenerator stylusUpAtPoint:]):
1838         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
1839         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
1840         (-[HIDEventGenerator stylusUpAtPoint:completionBlock:]):
1841         (-[HIDEventGenerator stylusTapAtPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
1842         * WebKitTestRunner/ios/IOKitSPI.h: Add new include, and new SPI.
1843         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Calls into the HIDEventGenerator for the new API.
1844         (WTR::UIScriptController::stylusDownAtPoint):
1845         (WTR::UIScriptController::stylusMoveToPoint):
1846         (WTR::UIScriptController::stylusUpAtPoint):
1847         (WTR::UIScriptController::stylusTapAtPoint):
1848
1849 2016-09-07  Daniel Bates  <dabates@apple.com>
1850
1851         Update WebKitSystemInterface
1852
1853         Rubber-stamped by Dean Jackson.
1854
1855         Copy WebKitSystemInterface for iOS 10 to the built products directory.
1856
1857         * Scripts/copy-webkitlibraries-to-product-directory:
1858
1859 2016-09-07  Youenn Fablet  <youenn@apple.com>
1860
1861         [Streams API] Separate compile flag for ReadableStream and WritableStream
1862         https://bugs.webkit.org/show_bug.cgi?id=161044
1863
1864         Reviewed by Alex Christensen.
1865
1866         Moving from STREAMS_API to READABLE_STREAM_API and WRITABLE_STREAM_API compilation flags.
1867
1868         * Scripts/webkitperl/FeatureList.pm:
1869         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1870
1871 2016-09-07  Carlos Garcia Campos  <cgarcia@igalia.com>
1872
1873         [GTK] Move some GObject DOM unstable API to stable
1874         https://bugs.webkit.org/show_bug.cgi?id=161681
1875
1876         Reviewed by Žan Doberšek.
1877
1878         Do not use user message handler unstable API in the tests, since we have stable convenient API for that.
1879
1880         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
1881         (testUserContentManagerScriptMessageFromDOMBindings):
1882         (serverCallback): Deleted.
1883         (beforeAll): Deleted.
1884         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1885         (documentLoadedCallback):
1886         (emitURIChanged): Deleted.
1887
1888 2016-09-07  Youenn Fablet  <youenn@apple.com>
1889
1890         Using tests-options.json to compute whether tests are slow
1891         https://bugs.webkit.org/show_bug.cgi?id=161626
1892
1893         Reviewed by Darin Adler.
1894
1895         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Updated first test to use a MockHost.
1896         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1897         (Manager.__init__): Loading tests-options.json
1898         (Manager._test_is_slow): Computing timeout value based on tests-options.json.
1899
1900 2016-09-07  Hunseop Jeong  <hs85.jeong@samsung.com>
1901
1902         [EFL] Need the libosmesa to support the software backend drawing.
1903         https://bugs.webkit.org/show_bug.cgi?id=147065
1904
1905         Reviewed by Gyuyoung Kim.
1906
1907         Added the libosmesa to support the software backend drawing.
1908
1909         * efl/install-dependencies:
1910
1911 2016-09-06  Commit Queue  <commit-queue@webkit.org>
1912
1913         Unreviewed, rolling out r205521, r205526, and r205532.
1914         https://bugs.webkit.org/show_bug.cgi?id=161668
1915
1916         broke API tests (Requested by alexchristensen on #webkit).
1917
1918         Reverted changesets:
1919
1920         "Punycode encode non-ascii hosts in URLParser"
1921         https://bugs.webkit.org/show_bug.cgi?id=161655
1922         http://trac.webkit.org/changeset/205521
1923
1924         "Fix query-only and fragment-only relative URLs when using
1925         URLParser"
1926         https://bugs.webkit.org/show_bug.cgi?id=161657
1927         http://trac.webkit.org/changeset/205526
1928
1929         "URLParser should parse / as a relative URL"
1930         https://bugs.webkit.org/show_bug.cgi?id=161667
1931         http://trac.webkit.org/changeset/205532
1932
1933 2016-09-06  Alex Christensen  <achristensen@webkit.org>
1934
1935         URLParser should parse / as a relative URL
1936         https://bugs.webkit.org/show_bug.cgi?id=161667
1937
1938         Reviewed by Tim Horton.
1939
1940         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1941         (TestWebKitAPI::TEST_F):
1942
1943 2016-09-06  Daniel Bates  <dabates@apple.com>
1944
1945         [iOS] DumpRenderTree and WebKitTestRunner fail to build - "Ad Hoc code signing is not allowed with SDK 'Simulator - iOS 10.0'"
1946         https://bugs.webkit.org/show_bug.cgi?id=161661
1947
1948         Reviewed by Darin Adler.
1949
1950         Allow ad-hoc code signing when building the dummy DumpRenderTree and WebKitTestRunner
1951         command line tools for simulator with the iOS 10 beta SDK.
1952
1953         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1954         * WebKitTestRunner/Configurations/Base.xcconfig:
1955
1956 2016-09-06  Alex Christensen  <achristensen@webkit.org>
1957
1958         Fix query-only and fragment-only relative URLs when using URLParser
1959         https://bugs.webkit.org/show_bug.cgi?id=161657
1960
1961         Reviewed by Tim Horton.
1962
1963         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1964         (TestWebKitAPI::TEST_F):
1965
1966 2016-09-06  Alex Christensen  <achristensen@webkit.org>
1967
1968         Punycode encode non-ascii hosts in URLParser
1969         https://bugs.webkit.org/show_bug.cgi?id=161655
1970
1971         Reviewed by Tim Horton.
1972
1973         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1974         (TestWebKitAPI::wideString):
1975         (TestWebKitAPI::TEST_F):
1976
1977 2016-09-05  Alex Christensen  <achristensen@webkit.org>
1978
1979         Implement relative file urls and begin implementing character encoding in URLParser
1980         https://bugs.webkit.org/show_bug.cgi?id=161618
1981
1982         Reviewed by Tim Horton.
1983
1984         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1985         (TestWebKitAPI::TEST_F):
1986
1987 2016-09-06  Commit Queue  <commit-queue@webkit.org>
1988
1989         Unreviewed, rolling out r205480.
1990         https://bugs.webkit.org/show_bug.cgi?id=161630
1991
1992         tests-options.json is not known from knockout filesystem
1993         (Requested by youenn on #webkit).
1994
1995         Reverted changeset:
1996
1997         "Using tests-options.json to compute whether tests are slow"
1998         https://bugs.webkit.org/show_bug.cgi?id=161626
1999         http://trac.webkit.org/changeset/205480
2000
2001 2016-09-06  Michael Catanzaro  <mcatanzaro@igalia.com>
2002
2003         "Redundant argument in sprintf" warning spam from prepare-ChangeLog
2004         https://bugs.webkit.org/show_bug.cgi?id=161606
2005
2006         Reviewed by Darin Adler.
2007
2008         Avoid extra arguments in call to sprintf, hopefully without introducing new warnings this
2009         time.
2010
2011         * Scripts/prepare-ChangeLog:
2012         (statusDescription):
2013
2014 2016-09-06  Youenn Fablet  <youenn@apple.com>
2015
2016         Using tests-options.json to compute whether tests are slow
2017         https://bugs.webkit.org/show_bug.cgi?id=161626
2018
2019         Reviewed by Darin Adler.
2020
2021         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2022         (Manager.__init__): Loading tests-options.json
2023         (Manager._test_is_slow): Computing timeout value based on tests-options.json.
2024
2025 2016-09-06  Commit Queue  <commit-queue@webkit.org>
2026
2027         Unreviewed, rolling out r205461.
2028         https://bugs.webkit.org/show_bug.cgi?id=161628
2029
2030         Introduced "Use of uninitialized value $original in sprintf"
2031         warning (Requested by mcatanzaro on #webkit).
2032
2033         Reverted changeset:
2034
2035         ""Redundant argument in sprintf" warning spam from prepare-
2036         ChangeLog"
2037         https://bugs.webkit.org/show_bug.cgi?id=161606
2038         http://trac.webkit.org/changeset/205461
2039
2040 2016-09-06  Youenn Fablet  <youenn@apple.com>
2041
2042         W3C test importer should be able to identify slow test
2043         https://bugs.webkit.org/show_bug.cgi?id=161601
2044
2045         Reviewed by Darin Adler.
2046
2047         Test parser is now identifying slow tests based on "meta element name=timeout content=long" elements.
2048         Test importer is updating test-options.json file according that information.
2049
2050         In case of clean import, the test-options.json is cleaned from 'slow' options for all W3C tests.
2051
2052         * Scripts/webkitpy/w3c/test_importer.py:
2053         (TestImporter.__init__):
2054         (TestImporter.find_importable_tests):
2055         (TestImporter.import_tests):
2056         (TestImporter.update_test_options):
2057         (TestImporter):
2058         (TestImporter.remove_slow_from_w3c_test_options):
2059         * Scripts/webkitpy/w3c/test_parser.py:
2060         (TestParser.analyze_test):
2061         (TestParser.is_slow_test):
2062         (TestParser.potential_ref_filename):
2063
2064 2016-09-06  Per Arne Vollan  <pvollan@apple.com>
2065
2066         [Win] Crash logs have incorrect symbols.
2067         https://bugs.webkit.org/show_bug.cgi?id=161603
2068
2069         Reviewed by Darin Adler.
2070
2071         Add build path to _NT_SYMBOL_PATH environment variable.
2072
2073         * Scripts/webkitpy/port/win.py:
2074         (WinPort.setup_crash_log_saving):
2075
2076 2016-08-31  Filip Pizlo  <fpizlo@apple.com>
2077
2078         Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression
2079         https://bugs.webkit.org/show_bug.cgi?id=160125
2080
2081         Reviewed by Geoffrey Garen and Keith Miller.
2082
2083         * DumpRenderTree/TestRunner.cpp:
2084         * DumpRenderTree/mac/DumpRenderTree.mm:
2085         (DumpRenderTreeMain):
2086         * Scripts/run-jsc-stress-tests:
2087         * TestWebKitAPI/Tests/WTF/Vector.cpp:
2088         (TestWebKitAPI::TEST):
2089
2090 2016-09-05  Michael Catanzaro  <mcatanzaro@igalia.com>
2091
2092         "Redundant argument in sprintf" warning spam from prepare-ChangeLog
2093         https://bugs.webkit.org/show_bug.cgi?id=161606
2094
2095         Reviewed by Darin Adler.
2096
2097         Avoid extra arguments in call to sprintf.
2098
2099         * Scripts/prepare-ChangeLog:
2100         (statusDescription):
2101
2102 2016-09-05  Michael Catanzaro  <mcatanzaro@igalia.com>
2103
2104         [GTK] Skip several failing API tests
2105
2106         Unfortunately we don't have any form of test expectations for API tests, so we'll just skip
2107         them after bugs are filed.
2108
2109         * Scripts/run-gtk-tests:
2110         (TestRunner):
2111
2112 2016-09-05  Youenn Fablet  <youenn@apple.com>
2113
2114         Fix W3C test importer unit tests after r205447
2115         https://bugs.webkit.org/show_bug.cgi?id=161604
2116
2117         Unreviewed.
2118
2119         * Scripts/webkitpy/w3c/test_importer.py:
2120         (TestImporter.__init__): Skip cleaning test_resource_files files if resource-files.json cannot be read.
2121
2122 2016-09-05  Philippe Normand  <pnormand@igalia.com>
2123
2124         WebRTC: Several media stream tests crashing
2125         https://bugs.webkit.org/show_bug.cgi?id=161582
2126
2127         Reviewed by Alejandro G. Castro.
2128
2129         * gtk/jhbuild.modules: Bump to latest OpenWebRTC master fixing the crash on missing
2130         glvideoflip GStreamer element.
2131
2132 2016-09-05  Youenn Fablet  <youenn@apple.com>
2133
2134         W3C test importer should generate the list of resource files
2135         https://bugs.webkit.org/show_bug.cgi?id=161578
2136
2137         Reviewed by Ryosuke Niwa.
2138
2139         Generating LayoutTests/imported/w3c/resources/resource-files.json when importing tests.
2140
2141         * Scripts/webkitpy/w3c/test_importer.py:
2142         (TestImporter.__init__): Reading test resource files configuration file.
2143         (TestImporter.find_importable_tests):
2144         (TestImporter.import_tests): Update the test resource files based on test parsed files.
2145         (TestImporter):
2146         (TestImporter._already_identified_as_resource_file): Helper routine to know whether a file is already set as a resource file.
2147         (TestImporter._is_in_resources_directory: Helper routine to know whether a file is in a resources directory.
2148
2149 2016-09-03  Wenson Hsieh  <wenson_hsieh@apple.com>
2150
2151         Media controls behave strangely when videos mute from within a playing handler
2152         https://bugs.webkit.org/show_bug.cgi?id=161559
2153         <rdar://problem/28018438>
2154
2155         Reviewed by Darin Adler.
2156
2157         Accounts for changes when determining whether or not to show media controls for autoplaying videos that have not
2158         begun playing yet. Rather than check for a controlled media element upon page load, we force tests to wait until
2159         all autoplaying videos have actually begun playing. This extends to tests that involve interaction, such as
2160         clicking or scrolling.
2161
2162         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2163         (-[VideoControlsManagerTestWebView callJavascriptFunction:]):
2164         (-[VideoControlsManagerTestWebView expectControlsManager:afterReceivingMessage:]):
2165         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]):
2166         (-[VideoControlsManagerTestWebView waitForPageToLoadWithAutoplayingVideos:]):
2167         (TestWebKitAPI::TEST):
2168         (-[VideoControlsManagerTestWebView loadTestPageNamed:andExpectControlsManager:afterReceivingMessage:]): Deleted.
2169         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html:
2170         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html:
2171         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html:
2172         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html:
2173         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html:
2174         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html:
2175         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html:
2176         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html:
2177         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html:
2178
2179 2016-09-03  Wenson Hsieh  <wenson_hsieh@apple.com>
2180
2181         Refactor the heuristic for showing media controls to take all media sessions into account
2182         https://bugs.webkit.org/show_bug.cgi?id=161503
2183         <rdar://problem/28033783>
2184
2185         Reviewed by Darin Adler.
2186
2187         Adds new unit tests verifying the behavior of media playback controls when scrolling another video into view.
2188         Please see the WebCore ChangeLog for more details about this change. Also refactors existing
2189         VideoControlsManager tests by folding duplicated setup and testing logic into helper methods to make the unit
2190         tests more readable.
2191
2192         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2193         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2194         (-[MessageHandler initWithMessage:handler:]):
2195         (-[MessageHandler userContentController:didReceiveScriptMessage:]):
2196         (-[VideoControlsManagerTestWebView performAfterLoading:]):
2197         (-[VideoControlsManagerTestWebView loadTestPageNamed:]):
2198         (-[VideoControlsManagerTestWebView loadTestPageNamed:andExpectControlsManager:afterReceivingMessage:]):
2199         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]):
2200         (-[VideoControlsManagerTestWebView controlledElementID]):
2201         (-[VideoControlsManagerTestWebView _handleControlledElementIDResponse:]):
2202         (TestWebKitAPI::setUpWebViewForTestingVideoControlsManager):
2203         (TestWebKitAPI::TEST):
2204         (-[MediaPlaybackMessageHandler initWithWKWebView:finalMessageString:]): Deleted.
2205         (-[MediaPlaybackMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
2206         (-[OnLoadMessageHandler initWithWKWebView:handler:]): Deleted.
2207         (-[OnLoadMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
2208         (-[WKWebView performAfterLoading:]): Deleted.
2209         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html: Added.
2210         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html: Added.
2211         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html: Added.
2212         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html: Added.
2213         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html: Added.
2214         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html: Added.
2215
2216 2016-09-03  Youenn Fablet  <youenn@apple.com>
2217
2218         run-webkit-tests should detect w3c test resource files
2219         https://bugs.webkit.org/show_bug.cgi?id=161307
2220
2221         Reviewed by Ryosuke Niwa.
2222
2223         * Scripts/webkitpy/port/base.py:
2224         (Port.__init__): Adding self._w3c_resource_files to store the list of resource files.
2225         (Port.potential_test_names_from_expected_file):
2226         (Port._real_tests):
2227         (Port.is_w3c_resource_file): Computing whether a file is a resource file based on imported/w3c/resources/resource-files.json.
2228         (Port._is_test_file): Updated to call Port.is_w3c_resource_file. _is_test_file is no longer static.
2229         (Port): Deleted.
2230         * Scripts/webkitpy/port/base_unittest.py:
2231         (PortTest.test_additional_platform_directory):
2232         (PortTest.test_find_no_paths_specified):
2233         (PortTest.test_is_test_file): Updated to use non-static version of _is_test_file.
2234         (PortTest.test_is_w3c_resource_file): Adding tests.
2235
2236 2016-09-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2237
2238         Unreviewed. Fix archive-built-product step in GTK+ bots after r205280.
2239
2240         * BuildSlaveSupport/built-product-archive:
2241         (archiveBuiltProduct): Do not copy to the archive the files needed to run GObject DOM bindings API breaks tests
2242         that no longer exist.
2243
2244 2016-09-02  Alex Christensen  <achristensen@webkit.org>
2245
2246         URLParser should parse file URLs
2247         https://bugs.webkit.org/show_bug.cgi?id=161556
2248
2249         Reviewed by Tim Horton.
2250
2251         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2252         (TestWebKitAPI::TEST_F):
2253         (TestWebKitAPI::checkURLDifferences):
2254
2255 2016-09-01  Michael Saboff  <msaboff@apple.com>
2256
2257         Import Chakra tests to JSC
2258         https://bugs.webkit.org/show_bug.cgi?id=154697
2259
2260         Reviewed by Saam Barati.
2261
2262         Added "runChakra" and "chakraPassFailErrorHandler" to support the running of
2263         Chakra tests.
2264
2265         * Scripts/run-jsc-stress-tests:
2266
2267 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
2268
2269         WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode
2270         https://bugs.webkit.org/show_bug.cgi?id=42547
2271  
2272         Reviewed by Darin Adler.
2273
2274         Added JavaScript bindings and C++ implementation of setUseDashboardCompatibilityMode for the WebKit2 sTestRunner.
2275         Note: this bug mistakenly called this function setDashboardCompatibilityMode, it is actually setUseDashboardCompatibilityMode.
2276
2277         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Added dashboard compatiblity mode setter.
2278         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2279         (WTR::InjectedBundle::beginTesting): Reset dashboard compatibility mode.
2280         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2281         (WTR::TestRunner::setJavaScriptCanAccessClipboard): Code style changes.
2282         (WTR::TestRunner::setPrivateBrowsingEnabled): Code style changes.
2283         (WTR::TestRunner::setUseDashboardCompatibilityMode): Added dashboard compatiblity mode setter.
2284         (WTR::TestRunner::setPopupBlockingEnabled): Code style changes.
2285         (WTR::TestRunner::setAuthorAndUserStylesEnabled): Code style changes.
2286         (WTR::TestRunner::addOriginAccessWhitelistEntry): Code style changes.
2287         * WebKitTestRunner/InjectedBundle/TestRunner.h: Added dashboard compatiblity mode setter.
2288
2289 2016-09-02  Jer Noble  <jer.noble@apple.com>
2290
2291         Unreviewed build fix: restore storyboard files to Xcode 7-compatability.
2292
2293         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
2294         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard:
2295
2296 2016-09-02  Tim Horton  <timothy_horton@apple.com>
2297
2298         REGRESSION (r205329): Two API tests time out on iOS Simulator
2299         https://bugs.webkit.org/show_bug.cgi?id=161542
2300
2301         Reviewed by Brady Eidson.
2302
2303         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
2304         (createAnimatedResizeWebView):
2305         (createFirstVisuallyNonEmptyWatchingNavigationDelegate):
2306         (TEST):
2307         (animatedResizeWebView): Deleted.
2308         The navigation delegate was being stored in a local and went out of scope
2309         before the test was over. Keep it around, instead.
2310
2311 2016-08-31  Jer Noble  <jer.noble@apple.com>
2312
2313         Refactor MobileMiniBrowser into an application framework to allow external XCTesting
2314         https://bugs.webkit.org/show_bug.cgi?id=161462
2315
2316         Reviewed by Eric Carlson.
2317
2318         XCTest targets need to be in the same project as the application which they're testing. To facilitate
2319         having external projects with XCTest targets, move the application's implementation into a framework
2320         that can be included with a bare-bones application shell for testing.
2321
2322         Simultaneously, add the ability to load files from within the new framework's bundle by using a
2323         'bundle:/' URL scheme. Update the tests to use this new bundle URL and remove the dependency on
2324         an external server for testing.
2325
2326         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
2327         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
2328         * MobileMiniBrowser/MobileMiniBrowser/Info.plist:
2329         * MobileMiniBrowser/MobileMiniBrowser/main.m:
2330         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
2331         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m.
2332         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Manually instantiate the main view
2333             controller from the framework's bundle.
2334         * MobileMiniBrowser/MobileMiniBrowserFramework/Assets.xcassets/AppIcon.appiconset/Contents.json: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json.
2335         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard.
2336         * MobileMiniBrowser/MobileMiniBrowserFramework/Info.plist: Added.
2337         * MobileMiniBrowser/MobileMiniBrowserFramework/MobileMiniBrowser.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
2338         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.h.
2339         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.m.
2340         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.h.
2341         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.m.
2342         (+[NSURL __bundleURLForFileURL:bundle:]): Add utility method.
2343         (+[NSURL __fileURLForBundleURL:bundle:]): Ditto.
2344         (-[WebViewController navigateTo:]): Support loading "bundle:/" URLs which are really just "file:" URLs
2345             pointing to the framework's resources directory.
2346         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]): Ditto.
2347         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
2348         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
2349
2350 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
2351
2352         Fix --no-sample-on-timeout command line argument
2353         https://bugs.webkit.org/show_bug.cgi?id=161507
2354
2355         Reviewed by Alexey Proskuryakov.
2356
2357         This patch fixes the —no-sample-on-timeout flag and correctly names spindumps as spindump.txt.
2358
2359         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2360         (parse_args): Fixed —-no-sample-on-timeout.
2361         * Scripts/webkitpy/port/apple.py:
2362         (ApplePort.sample_process): Use correct file name.
2363         (ApplePort.spindump_file_path): Spindump and sample file names are different.
2364         * Scripts/webkitpy/port/driver.py:
2365         (Driver._check_for_driver_timeout): Check “sample_on_timeout” flag.
2366         * Scripts/webkitpy/port/mac_unittest.py:
2367         (MacTest.test_spindump): Modified for correct filename.
2368
2369 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
2370
2371         Unreviewed: moved myself to the reviewers list.
2372
2373         * Scripts/webkitpy/common/config/contributors.json:
2374
2375 2016-09-02  Tomas Popela  <tpopela@redhat.com>
2376
2377         [GTK] Fix compiler warning in MiniBrowser
2378         https://bugs.webkit.org/show_bug.cgi?id=161529
2379
2380         We were missing a return statement in decidePermissionRequest() and
2381         also there was unused variable in browserWindowConstructed().
2382
2383         Reviewed by Carlos Garcia Campos.
2384
2385         * MiniBrowser/gtk/BrowserTab.c:
2386         (decidePermissionRequest):
2387         * MiniBrowser/gtk/BrowserWindow.c:
2388         (browserWindowConstructed):
2389
2390 2016-09-01  Dan Bernstein  <mitz@apple.com>
2391
2392         Build fix.
2393
2394         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2395
2396 2016-09-01  Tim Horton  <timothy_horton@apple.com>
2397
2398         Provide a TestWebKitAPI-wide WKNavigationDelegate to simplify tests
2399         https://bugs.webkit.org/show_bug.cgi?id=161413
2400
2401         Reviewed by Simon Fraser.
2402
2403         Add TestNavigationDelegate, which provides block properties to make
2404         writing tests feel a little more natural (the callbacks can be inline),
2405         and also add WKWebView _test_waitForDidFinishNavigation, so that many
2406         tests don't even need to manually allocate a navigation delegate at all.
2407
2408         Adopt in some of the simpler tests; there are a few navigation delegates
2409         left behind, which we can move to the new model in the future.
2410
2411         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2412         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm:
2413         (TEST):
2414         (-[WKBackForwardListTestNavigationDelegate webView:didFinishNavigation:]): Deleted.
2415         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm:
2416         (TEST):
2417         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]): Deleted.
2418         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
2419         (animatedResizeWebView):
2420         (-[AnimatedResizeNavigationDelegate _webView:renderingProgressDidChange:]): Deleted.
2421         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
2422         (-[AutoLayoutWKWebView initWithFrame:configuration:]):
2423         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
2424         (TEST):
2425         (-[AutoLayoutNavigationDelegate webView:didFinishNavigation:]): Deleted.
2426         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm:
2427         (TEST):
2428         (-[CancelFontSubresourceNavigationDelegate webView:didFinishNavigation:]): Deleted.
2429         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:
2430         (WebKit2_CommandBackForwardTestWKWebView::SetUp):
2431         (WebKit2_CommandBackForwardTestWKWebView::loadFiles):
2432         (TEST_F):
2433         (-[CommandBackForwardNavigationDelegate webView:didFinishNavigation:]): Deleted.
2434         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:
2435         (expectLinkCount):
2436         (TEST):
2437         (-[DataDetectionNavigationDelegate webView:didFinishNavigation:]): Deleted.
2438         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm:
2439         (TEST):
2440         (-[FindInPageNavigationDelegate webView:didFinishNavigation:]): Deleted.
2441         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
2442         (TEST):
2443         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]): Deleted.
2444         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
2445         (TEST):
2446         (-[DatabaseProcessKillNavigationDelegate webView:didFinishNavigation:]): Deleted.
2447         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
2448         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]): Deleted.
2449         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm:
2450         (TEST):
2451         (-[ProvisionalURLNotChangeController webView:didFinishNavigation:]): Deleted.
2452         (-[ProvisionalURLNotChangeController webView:didFailProvisionalNavigation:withError:]): Deleted.
2453         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
2454         (RequiresUserActionForPlaybackTest::createWebView):
2455         (RequiresUserActionForPlaybackTest::testVideoWithAudio):
2456         (RequiresUserActionForPlaybackTest::testVideoWithoutAudio):
2457         (RequiresUserActionForPlaybackTest::testAudioOnly):
2458         (-[RequiresUserActionForPlaybackNavigationDelegate webView:didFinishNavigation:]): Deleted.
2459         * TestWebKitAPI/Tests/WebKit2Cocoa/ShrinkToFit.mm:
2460         (TEST):
2461         (-[ShrinkToFitNavigationDelegate webView:didFinishNavigation:]): Deleted.
2462         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
2463         (TEST):
2464         (webViewForScriptMessageHandlerMultipleHandlerRemovalTest):
2465         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorld.mm:
2466         (TEST):
2467         (-[SimpleDelegate webView:didFinishNavigation:]): Deleted.
2468         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm:
2469         (TEST):
2470         (-[WKPDFViewResizeNavigationDelegate webView:didFinishNavigation:]): Deleted.
2471         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
2472         (TEST):
2473         (-[EvaluateJavaScriptNavigationDelegate webView:didFinishNavigation:]): Deleted.
2474         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm:
2475         (TEST):
2476         (-[DummyNavigationDelegate webView:didFinishNavigation:]): Deleted.
2477         * TestWebKitAPI/cocoa/TestNavigationDelegate.h: Added.
2478         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: Added.
2479         (-[TestNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
2480         (-[TestNavigationDelegate webView:didFinishNavigation:]):
2481         (-[TestNavigationDelegate _webView:renderingProgressDidChange:]):
2482         (-[TestNavigationDelegate waitForDidFinishNavigation]):
2483         (-[WKWebView _test_waitForDidFinishNavigation]):
2484
2485 2016-09-01  Ricky Mondello  <rmondello@apple.com>
2486
2487         YouTube Flash plug-in replacement facility should not insert showinfo=0 into iframe URLs
2488         https://bugs.webkit.org/show_bug.cgi?id=161478
2489         <rdar://problem/28050847>
2490
2491         Reviewed by Eric Carlson.
2492
2493         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:
2494         (TestWebKitAPI::TEST_F): Update expected results.
2495
2496 2016-09-01  Anders Carlsson  <andersca@apple.com>
2497
2498         add BlockPtr::fromCallable
2499         https://bugs.webkit.org/show_bug.cgi?id=161504
2500
2501         Reviewed by Tim Horton.
2502
2503         Add a test.
2504
2505         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2506         * TestWebKitAPI/Tests/WTF/BlockPtr.mm: Added.
2507         (TestWebKitAPI::TEST):
2508
2509 2016-09-01  Alex Christensen  <achristensen@webkit.org>
2510
2511         URLParser should handle . and .. in URL paths
2512         https://bugs.webkit.org/show_bug.cgi?id=161443
2513
2514         Reviewed by Brady Eidson.
2515
2516         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2517         (TestWebKitAPI::eq):
2518         (TestWebKitAPI::TEST_F):
2519
2520 2016-09-01  Commit Queue  <commit-queue@webkit.org>
2521
2522         Unreviewed, rolling out r205295 and r205303.
2523         https://bugs.webkit.org/show_bug.cgi?id=161505
2524
2525         Broke the iOS build (Requested by ryanhaddad on #webkit).
2526
2527         Reverted changesets:
2528
2529         "Refactor MobileMiniBrowser into an application framework to
2530         allow external XCTesting"
2531         https://bugs.webkit.org/show_bug.cgi?id=161462
2532         http://trac.webkit.org/changeset/205295
2533
2534         "Unreviewed build-fix; don't specify an explicit deployment
2535         target."
2536         http://trac.webkit.org/changeset/205303
2537
2538 2016-09-01  Ricky Mondello  <rmondello@apple.com>
2539
2540         YouTube Flash plug-in replacement facility should more gracefully handle malformed queries
2541         https://bugs.webkit.org/show_bug.cgi?id=161476
2542         <rdar://problem/28050847>
2543
2544         Reviewed by Eric Carlson.
2545
2546         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:
2547         (TestWebKitAPI::TEST_F): New tests. The first two and second-to-last test cases cover the "malformed" query
2548             logic. A few other tests are added, too.
2549
2550 2016-09-01  Jer Noble  <jer.noble@apple.com>
2551
2552         Unreviewed build-fix; don't specify an explicit deployment target.
2553
2554         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
2555
2556 2016-08-31  Jer Noble  <jer.noble@apple.com>
2557
2558         Refactor MobileMiniBrowser into an application framework to allow external XCTesting
2559         https://bugs.webkit.org/show_bug.cgi?id=161462
2560
2561         Reviewed by Eric Carlson.
2562
2563         XCTest targets need to be in the same project as the application which they're testing. To facilitate
2564         having external projects with XCTest targets, move the application's implementation into a framework
2565         that can be included with a bare-bones application shell for testing.
2566
2567         Simultaneously, add the ability to load files from within the new framework's bundle by using a
2568         'bundle:/' URL scheme. Update the tests to use this new bundle URL and remove the dependency on
2569         an external server for testing.
2570
2571         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
2572         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
2573         * MobileMiniBrowser/MobileMiniBrowser/Info.plist:
2574         * MobileMiniBrowser/MobileMiniBrowser/main.m:
2575         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
2576         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m.
2577         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Manually instantiate the main view
2578             controller from the framework's bundle.
2579         * MobileMiniBrowser/MobileMiniBrowserFramework/Assets.xcassets/AppIcon.appiconset/Contents.json: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json.
2580         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard.
2581         * MobileMiniBrowser/MobileMiniBrowserFramework/Info.plist: Added.
2582         * MobileMiniBrowser/MobileMiniBrowserFramework/MobileMiniBrowser.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
2583         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.h.
2584         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.m.
2585         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.h.
2586         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.m.
2587         (+[NSURL __bundleURLForFileURL:bundle:]): Add utility method.
2588         (+[NSURL __fileURLForBundleURL:bundle:]): Ditto.
2589         (-[WebViewController navigateTo:]): Support loading "bundle:/" URLs which are really just "file:" URLs
2590             pointing to the framework's resources directory.
2591         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]): Ditto.
2592         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
2593         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
2594
2595 2016-09-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2596
2597         Unreviewed. Fix webkitpy unit tests after r205280.
2598
2599         * Scripts/webkitpy/style/checker_unittest.py:
2600         (GlobalVariablesTest.test_path_rules_specifier):
2601
2602 2016-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2603
2604         [GTK] Move GObject DOM bindings to WebKit2 layer and stop auto generating them
2605         https://bugs.webkit.org/show_bug.cgi?id=161438
2606
2607         Reviewed by Michael Catanzaro.
2608
2609         Remove scripts related to the GObject DOM bindings auto-generation.
2610
2611         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2612         (RunGtkAPITests.getText2):
2613         (TestFactory.__init__):
2614         (RunWebKit1Tests): Deleted.
2615         (RunWebKit1Tests.start): Deleted.
2616         (RunWebKit1LeakTests): Deleted.
2617         (RunWebKit1LeakTests.start): Deleted.
2618         (RunAndUploadPerfTests): Deleted.
2619         (RunAndUploadPerfTests.start): Deleted.
2620         (BuildAndRemoteJSCTestsFactory.__init__): Deleted.
2621         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2622         (BuildStepsTest.test_unnecessary_expected_results):
2623         (RunAndUploadPerfTestsTest): Deleted.
2624         (RunAndUploadPerfTestsTest.assertResults): Deleted.
2625         (RunAndUploadPerfTestsTest.test_success): Deleted.
2626         (RunAndUploadPerfTestsTest.test_tests_failed): Deleted.
2627         (RunAndUploadPerfTestsTest.test_build_bad_build): Deleted.
2628         (RunAndUploadPerfTestsTest.test_build_bad_source_json): Deleted.
2629         (RunAndUploadPerfTestsTest.test_build_bad_marge): Deleted.
2630         (RunAndUploadPerfTestsTest.test_build_bad_failed_uploading): Deleted.
2631         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
2632         (RunAndUploadPerfTestsTest.test_buildbot_timeout): Deleted.
2633         (RunBenchmarkTest): Deleted.
2634         (RunBenchmarkTest.assertResults): Deleted.
2635         (RunBenchmarkTest.test_success): Deleted.
2636         * Scripts/run-bindings-tests:
2637         (main):
2638         * Scripts/webkitpy/style/checker.py:
2639         * gtk/check-for-webkitdom-api-breaks: Removed.
2640         * gtk/generate-gtkdoc:
2641         * gtk/webkitdom.py: Removed.
2642
2643 2016-08-31  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2644
2645         [EFL] Small clean up in MiniBrowser
2646         https://bugs.webkit.org/show_bug.cgi?id=161428
2647
2648         Reviewed by Yusuke Suzuki.
2649
2650         This patch resizes MiniBrowser, add *char* constants for scheme,
2651         does line breaking, and remove unnecessary spaces.
2652
2653         * MiniBrowser/efl/main.c:
2654         (on_mouse_wheel):
2655         (history_list_hide):
2656         (script_execute_callback):
2657         (on_key_down):
2658         (on_url_changed):
2659         (on_error):
2660         (on_color_picker_request):
2661         (url_from_user_input):
2662         (url_load_from_user_input):
2663         (on_back_button_clicked):
2664         (on_search_case_option_changed):
2665         (on_search_word_start_option_changed):
2666         (on_list_item_select):
2667         (navigation_button_longpress_process):
2668         (on_navigation_policy_decision):
2669         (window_create):
2670         (parse_cookies_policy):
2671
2672 2016-08-31  Alex Christensen  <achristensen@webkit.org>
2673
2674         Implement IPv6 parsing in URLParser
2675         https://bugs.webkit.org/show_bug.cgi?id=161390
2676
2677         Reviewed by Darin Adler.
2678
2679         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2680         (TestWebKitAPI::TEST_F):
2681         (TestWebKitAPI::checkURLDifferences):
2682
2683 2016-08-31  Brady Eidson  <beidson@apple.com>
2684
2685         WK2 Gamepad provider on iOS.
2686         https://bugs.webkit.org/show_bug.cgi?id=161412
2687
2688         Reviewed by Tim Horton.
2689
2690         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2691
2692 2016-08-30  Ricky Mondello  <rmondello@apple.com>
2693
2694         YouTubePluginReplacementTest's URL transformation logic should have tests
2695         https://bugs.webkit.org/show_bug.cgi?id=161406
2696         <rdar://problem/28050847>
2697
2698         Reviewed by Eric Carlson.
2699
2700         Add some very basic tests. Future patches should expand on these to find and fix bugs.
2701
2702         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add YouTubePluginReplacement.cpp.
2703         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp: Added.
2704         (TestWebKitAPI::test): Added.
2705         (TestWebKitAPI::TEST_F): Added.
2706
2707 2016-08-30  Brady Eidson  <beidson@apple.com>
2708
2709         GameController.framework backend for gamepad API.
2710         https://bugs.webkit.org/show_bug.cgi?id=161086
2711
2712         Reviewed by Alex Christensen.
2713
2714         * MiniBrowser/mac/AppDelegate.m:
2715         (-[BrowserAppDelegate awakeFromNib]):
2716
2717         * MiniBrowser/mac/SettingsController.h:
2718         * MiniBrowser/mac/SettingsController.m:
2719         (-[SettingsController _populateMenu]):
2720         (-[SettingsController validateMenuItem:]):
2721         (-[SettingsController usesGameControllerFramework]):
2722         (-[SettingsController toggleUsesGameControllerFramework:]):
2723
2724 2016-08-30  Brent Fulgham  <bfulgham@apple.com>
2725
2726         Use of uninitialised memory in TransformationMatrx::blend4()
2727         https://bugs.webkit.org/show_bug.cgi?id=134621
2728         <rdar://problem/27337539>
2729
2730         Reviewed by Dean Jackson.
2731
2732         Change is based on the Blink change (patch by <alancutter@chromium.org>):
2733         <https://src.chromium.org/viewvc/blink?revision=177453&view=revision>
2734
2735         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2736         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Added.
2737         (TestWebKitAPI::TEST):
2738
2739 2016-08-30  Alex Christensen  <achristensen@webkit.org>
2740
2741         URLParser should handle relative URLs that start with //
2742         https://bugs.webkit.org/show_bug.cgi?id=161364
2743
2744         Reviewed by Darin Adler.
2745
2746         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2747         (TestWebKitAPI::checkRelativeURL):
2748         (TestWebKitAPI::TEST_F):
2749
2750 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
2751
2752         EWS patch status page should indicate bot corresponding to each status message
2753         https://bugs.webkit.org/show_bug.cgi?id=161280
2754
2755         Reviewed by Alexey Proskuryakov.
2756
2757         * QueueStatusServer/templates/patch.html: Formatting changes.
2758
2759 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
2760
2761         EWS should indicate which bot processed the patch
2762         https://bugs.webkit.org/show_bug.cgi?id=161222
2763
2764         Reviewed by Alexey Proskuryakov.
2765
2766         * QueueStatusServer/handlers/statusbubble.py:
2767         (StatusBubble._build_bubble): Remove the bot id from bubbles as it is confusing.
2768         bot ids are now displayed in patch status page.
2769
2770 2016-08-29  Alex Christensen  <achristensen@webkit.org>
2771
2772         URLParser should parse about:blank
2773         https://bugs.webkit.org/show_bug.cgi?id=161324
2774
2775         Reviewed by Brady Eidson.
2776
2777         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2778         (TestWebKitAPI::TEST_F):
2779
2780 2016-08-29  JF Bastien  <jfbastien@apple.com>
2781
2782         Bug 161165 - check-webkit-style doesn't understand macros containing `else` or labels
2783         https://bugs.webkit.org/show_bug.cgi?id=161165
2784
2785         Reviewed by Geoffrey Garen.
2786
2787         Fix handling of `else` in a macro. Don't handle labels in a macro:
2788         the checker is already pretty messy in that area and it should be
2789         a rare thing.
2790
2791         * Scripts/webkitpy/style/checkers/cpp.py:
2792         (check_braces):
2793         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2794         (CppStyleTest.test_else_clause_not_on_same_line_as_else):
2795
2796 2016-08-29  Alex Christensen  <achristensen@webkit.org>
2797
2798         API test URLParserTest.ParserFailures failing ASSERT_NOT_REACHED
2799         https://bugs.webkit.org/show_bug.cgi?id=161317
2800
2801         Reviewed by Brady Eidson.
2802
2803         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2804         (TestWebKitAPI::TEST_F):
2805
2806 2016-08-29  Jer Noble  <jer.noble@apple.com>
2807
2808         Unreviewed gardening; only build MiniBrowser against iOS SDK targets.
2809
2810         * Makefile:
2811
2812 2016-08-29  Jonathan Bedard  <jbedard@apple.com>
2813
2814         Sample Process on notifyDone timed out
2815         https://bugs.webkit.org/show_bug.cgi?id=161063
2816
2817         Reviewed by Darin Adler.
2818
2819         * Scripts/webkitpy/port/driver.py:
2820         (Driver._check_for_driver_timeout): 
2821         * WebKitTestRunner/InjectedBundle/TestRunner.cpp: Call sample_process during notifyDone timeouts.
2822         (WTR::TestRunner::waitToDumpWatchdogTimerFired):
2823         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: Log pid and name for testing harness.
2824
2825 2016-08-29  Jonathan Bedard  <jbedard@apple.com>
2826
2827         Check-webkit-style does not work with Objective-C blocks
2828         https://bugs.webkit.org/show_bug.cgi?id=161247
2829
2830         Reviewed by Darin Adler.
2831
2832         * Scripts/webkitpy/style/checkers/cpp.py:
2833         (regex_for_lambda_functions): Changed to regex_for_lambdas_and_blocks.
2834         (regex_for_lambdas_and_blocks): Added check for Objective-C blocks.
2835         (check_spacing_for_function_call): Pass file state for lambda check.
2836         (check_spacing): Pass file state for lambda check.
2837         (check_braces): Pass file state for lambda check.
2838         (check_style): Pass file state for lambda check.
2839         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2840         (CppStyleTest.test_cpp_lambda_functions): Changed from ‘test_lambda_functions’.
2841         (CppStyleTest.test_objective_c_block): Tests Objective-C blocks.
2842         (CppStyleTest.test_lambda_functions): Changed to ‘test_cpp_lambda_functions’.
2843
2844 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
2845
2846         EWS patch status page should indicate bot corresponding to each status message
2847         https://bugs.webkit.org/show_bug.cgi?id=161280
2848
2849         Reviewed by Alexey Proskuryakov.
2850
2851         * QueueStatusServer/templates/patch.html: Added bot_id in the template so that bot id is displayed
2852         for each status message.
2853         * QueueStatusServer/stylesheets/common.css:
2854         (.status-bot): Added corresponding stylesheet class.
2855
2856 2016-08-29  Per Arne Vollan  <pvollan@apple.com>
2857
2858         Attempt to fix Windows build after r205090.
2859
2860         Unreviewed build fix.
2861
2862         * DumpRenderTree/win/DRTDataObject.cpp:
2863         (cfFileNameWFormat):
2864         (cfUrlWFormat):
2865
2866 2016-08-27  Alex Christensen  <achristensen@webkit.org>
2867
2868         URLParser should parse relative URLs
2869         https://bugs.webkit.org/show_bug.cgi?id=161282
2870
2871         Reviewed by Darin Adler.
2872
2873         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2874         (TestWebKitAPI::TEST):
2875         Added some tests for the new operator=.
2876         Test saving iterators, restoring iterators, and even assigning iterators to new CodePoints objects.
2877         Using the same iterator to iterate multiple objects is bad practice, but it's possible and now tested.
2878         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2879         (TestWebKitAPI::checkURL):
2880         (TestWebKitAPI::TEST_F):
2881         (TestWebKitAPI::checkRelativeURL):
2882         (TestWebKitAPI::checkURLDifferences):
2883         (TestWebKitAPI::shouldFail):
2884         Add some relative URL tests.
2885
2886 2016-08-27  Jonathan Bedard  <jbedard@apple.com>
2887
2888         WTR needs an implementation of setAutomaticLinkDetectionEnabled
2889         https://bugs.webkit.org/show_bug.cgi?id=87162
2890
2891         Reviewed by Darin Adler.
2892
2893         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Added setAutomaticLinkDetectionEnabled binding.
2894         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2895         (WTR::InjectedBundle::beginTesting): Set automatic link detection to false by default.
2896         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2897         (WTR::TestRunner::setAutomaticLinkDetectionEnabled): Added setAutomaticLinkDetectionEnabled definition.
2898         * WebKitTestRunner/InjectedBundle/TestRunner.h: Added setAutomaticLinkDetectionEnabled declaration.
2899
2900 2016-08-27  Joseph Pecoraro  <pecoraro@apple.com>
2901
2902         Web Inspector: Make localizedString.js diff and commit friendly (UTF16 -> UTF8)
2903         https://bugs.webkit.org/show_bug.cgi?id=28685
2904         <rdar://problem/16460975>
2905
2906         Reviewed by Darin Adler.
2907
2908         * Scripts/extract-localizable-js-strings:
2909         * Scripts/update-webkit-localizable-strings:
2910         WebInspectorUI localizedStrings.js is now UTF-8. Other clients of
2911         this script still use UTF-16, so keep that the default.
2912
2913 2016-08-27  Alexey Proskuryakov  <ap@apple.com>
2914
2915         REGRESSION (r204052): Popovers on bot watcher's dashboard are broken
2916         https://bugs.webkit.org/show_bug.cgi?id=161254
2917
2918         Reviewed by Darin Adler.
2919
2920         Simplify the CSS. My understanding that the CSS was correct, and the root cause
2921         is tracked in bug 160478.
2922
2923         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Popover.css:
2924
2925 2016-08-27  Simon Fraser  <simon.fraser@apple.com>
2926
2927         Add run-webkit-tests --print-expectations to show expectations for all or a subset of tests
2928         https://bugs.webkit.org/show_bug.cgi?id=161217
2929
2930         Reviewed by Ryosuke Niwa.
2931
2932         "run-webkit-tests --print-expectations" runs the same logic as running the tests, but
2933         dumps out the lists of tests that would be run and skipped, and, for each, the entry
2934         in TestExpectations that determines the expected outcome of the test.
2935
2936         This is an improved version of webkit-patch print-expectations.
2937
2938         See bug for sample output.
2939
2940         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2941         (Manager._print_expectations_for_subset): Print out the list of tests and expected
2942         outcome for some subset of tests.
2943         (Manager.print_expectations): Do the same splitting by device class that running tests
2944         does, and for each subset of tests, call _print_expectations_for_subset.
2945         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2946         (TestExpectationParser.expectation_for_skipped_test): Set the flag
2947         expectation_line.not_applicable_to_current_platform
2948         (TestExpectationLine.__init__): Init not_applicable_to_current_platform to False
2949         (TestExpectationLine.expected_behavior): line.expectation is ['PASS'] by default,
2950         even for skipped tests. This function returns a list relevant for display, taking the skipped
2951         modifier into account.
2952         (TestExpectationLine.create_passing_expectation): expectations is normally a list, not a set.
2953         (TestExpectations.readable_filename_and_line_number): Return something printable for 
2954         lines with and without filenames
2955         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2956         (main): Handle options.print_expectations
2957         (parse_args): Add support for --print-expectations
2958         (_print_expectations):
2959         * Scripts/webkitpy/port/ios.py:
2960         (IOSSimulatorPort.default_child_processes): Make this a debug log.
2961
2962 2016-08-26  Dan Bernstein  <mitz@apple.com>
2963
2964         Keep trying to fix the build after r205057.
2965
2966         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
2967
2968 2016-08-26  Dan Bernstein  <mitz@apple.com>
2969
2970         Keep trying to fix the build after r205057.
2971
2972         * MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m: Don’t try to import nonexistent
2973           config.h. This file is only meant to be built with Xcode anyway.
2974         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard: Make this compile
2975           with Xcode 7.3 and deploy to iOS 9.0.
2976         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard: Ditto.
2977         * MobileMiniBrowser/MobileMiniBrowser/TabViewController.m: Don’t try to import config.h.
2978         * MobileMiniBrowser/MobileMiniBrowser/WebViewController.m: Ditto.
2979
2980 2016-08-26  Dan Bernstein  <mitz@apple.com>
2981
2982         Start trying to fix the build after r205057.
2983
2984         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
2985
2986 2016-08-26  Alexey Proskuryakov  <ap@apple.com>
2987
2988         Remove Yosemite Leaks from the flakiness dashboard
2989         https://bugs.webkit.org/show_bug.cgi?id=161253
2990
2991         Reviewed by Anders Carlsson.
2992
2993         * TestResultServer/static-dashboards/builders.jsonp:
2994
2995 2016-08-26  Sam Weinig  <sam@webkit.org>
2996
2997         Remove support for ENABLE_LEGACY_WEB_AUDIO
2998         https://bugs.webkit.org/show_bug.cgi?id=161262
2999
3000         Reviewed by Anders Carlsson.
3001
3002         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3003
3004 2016-08-26  Jer Noble  <jer.noble@apple.com>
3005
3006         Add a test harness for running UI tests on the iOS Simulator
3007         https://bugs.webkit.org/show_bug.cgi?id=161265
3008
3009         Reviewed by Simon Fraser.
3010
3011         Add a new iOS Simulator application which uses WKWebView to implement a basic browser, and which
3012         can serve as a test harness for WebKit UI tests.
3013
3014         Also add a basic media playback test which verifies that a <video> element will begin playing in
3015         fullscreen on an iPhone device, but will play inline on an iPad device.
3016
3017         * Makefile: Add MobileMiniBrowser as a Module for iOS builds.
3018         * MobileMiniBrowser/Configurations/Base.xcconfig: Added.
3019         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig: Added.
3020         * MobileMiniBrowser/Configurations/MobileMiniBrowser.xcconfig: Added.
3021         * MobileMiniBrowser/Makefile: Added.
3022         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj: Added.
3023         * MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h: Added.
3024         * MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m: Added.
3025         (-[AppDelegate application:didFinishLaunchingWithOptions:]):
3026         (-[AppDelegate applicationWillResignActive:]):
3027         (-[AppDelegate applicationDidEnterBackground:]):
3028         (-[AppDelegate applicationWillEnterForeground:]):
3029         (-[AppDelegate applicationDidBecomeActive:]):
3030         (-[AppDelegate applicationWillTerminate:]):
3031         * MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json: Added.
3032         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard: Added.
3033         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard: Added.
3034         * MobileMiniBrowser/MobileMiniBrowser/Info.plist: Added.
3035         * MobileMiniBrowser/MobileMiniBrowser/TabViewController.h: Added.
3036         * MobileMiniBrowser/MobileMiniBrowser/TabViewController.m: Added.
3037         (-[TabViewController dealloc]):
3038         (-[TabViewController viewDidLoad]):
3039         (-[TabViewController observeValueForKeyPath:ofObject:change:context:]):
3040         (-[TabViewController tableView:cellForRowAtIndexPath:]):
3041         (-[TabViewController tableView:numberOfRowsInSection:]):
3042         (-[TabViewController numberOfSectionsInTableView:]):
3043         (-[TabViewController tableView:canEditRowAtIndexPath:]):
3044         (-[TabViewController tableView:canMoveRowAtIndexPath:]):
3045         (-[TabViewController tableView:commitEditingStyle:forRowAtIndexPath:]):
3046         (-[TabViewController tableView:didSelectRowAtIndexPath:]):
3047         * MobileMiniBrowser/MobileMiniBrowser/WebViewController.h: Added.
3048         * MobileMiniBrowser/MobileMiniBrowser/WebViewController.m: Added.
3049         (-[WebViewController viewDidLoad]):
3050         (-[WebViewController didReceiveMemoryWarning]):
3051         (-[WebViewController reload:]):
3052         (-[WebViewController goBack:]):
3053         (-[WebViewController goForward:]):
3054         (-[WebViewController urlFieldEditingBegan:]):
3055         (-[WebViewController navigateTo:]):
3056         (-[WebViewController showTabs:]):
3057         (-[WebViewController selectWebViewAtIndex:]):
3058         (-[WebViewController removeWebViewAtIndex:]):
3059         (-[WebViewController addWebView]):
3060         (-[WebViewController createWebView]):
3061         (-[WebViewController removeWebView:]):
3062         (-[WebViewController setCurrentWebView:]):
3063         (-[WebViewController webView:didFailNavigation:withError:]):
3064         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]):
3065         * MobileMiniBrowser/MobileMiniBrowser/main.m: Added.
3066         (main):
3067         * MobileMiniBrowser/MobileMiniBrowserUITests/Info.plist: Added.
3068         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m: Added.
3069         (-[MobileMiniBrowserUITests setUp]):
3070         (-[MobileMiniBrowserUITests tearDown]):
3071         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
3072
3073 2016-08-26  Aakash Jain  <aakash_jain@apple.com>
3074
3075         webkit-queues queue-status page should should list more recent statuses
3076         https://bugs.webkit.org/show_bug.cgi?id=161220
3077
3078         Reviewed by Daniel Bates.
3079
3080         * QueueStatusServer/handlers/queuestatus.py:
3081         (QueueStatus._fetch_statuses): Increase the number of recent statuses from 15 to 50.
3082
3083 2016-08-26  Dan Bernstein  <mitz@apple.com>
3084
3085         [Cocoa] Infinite recursion calling -charValue on a WKNSNumber
3086         https://bugs.webkit.org/show_bug.cgi?id=161258
3087
3088         Reviewed by Anders Carlsson.
3089
3090         * TestWebKitAPI/Tests/WebKit2Cocoa/WKNSNumber.mm:
3091         (TestWebKitAPI::TEST):
3092
3093 2016-08-26  Csaba Osztrogonác  <ossy@webkit.org>
3094
3095         Fix the ENABLE(WEBASSEMBLY) build on Linux
3096         https://bugs.webkit.org/show_bug.cgi?id=161197
3097
3098         Reviewed by Mark Lam.
3099
3100         * Scripts/build-jsc:
3101
3102 2016-08-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3103
3104         [GTK] run-gtk-tests should use the driver environment for checking the accessibility bus
3105         https://bugs.webkit.org/show_bug.cgi?id=161149
3106
3107         Reviewed by Carlos Garcia Campos.
3108
3109         Add a new function for waiting for the accesibility bus. It sets
3110         the test environment variables before starting the GLib mainloop.
3111         And restores the previous environment after it has finished.
3112         It also adds a timeout (5 seconds) to abort in case it has not
3113         been able to detect the accesibility bus before the timeout expires.
3114
3115         * Scripts/run-gtk-tests:
3116         (TestRunner):
3117         (TestRunner._wait_for_accessibility_bus):
3118         (TestRunner._wait_for_accessibility_bus.timeout_accessibility_bus):
3119         (TestRunner._start_accessibility_daemons):
3120         (TestRunner._get_tests_from_google_test_suite): Run this command also with the driver test environment.
3121
3122 2016-08-26  Per Arne Vollan  <pvollan@apple.com>
3123
3124         [Win] Warning fix.
3125         https://bugs.webkit.org/show_bug.cgi?id=161236
3126
3127         Reviewed by Brent Fulgham.
3128
3129         The & operator in the Test struct has no body.
3130
3131         * TestWebKitAPI/Tests/WTF/Vector.cpp:
3132         (TestWebKitAPI::TEST):
3133
3134 2016-08-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3135
3136         [GTK] run-gtk-tests should use webkitpy.port.gtk and webkitpy.port.xvfbdriver
3137         https://bugs.webkit.org/show_bug.cgi?id=160736
3138
3139         Reviewed by Carlos Garcia Campos.
3140
3141         This plugs run-gtk-tests into the webkitpy testing infrastructure.
3142         As a benefit of this, run-gtk-tests now can be executed over any of
3143         the existing supported gtk test display servers (xvfb, weston-over-xvfb,
3144         or native xorg). A new command line switch --wayland is added for
3145         run-gtk-tests.
3146
3147         * Scripts/run-gtk-tests:
3148         (TestRunner.__init__): Remove the --display command line switch, its not longer useful.
3149         Add a --wayland command line switch.
3150         (TestRunner._start_accessibility_daemons):
3151         (TestRunner):
3152         (TestRunner.__init__):
3153         (TestRunner._run_xvfb): Deleted.
3154         (TestRunner._create_driver):
3155         (TestRunner._setup_testing_environment): Delete the environment variable definitions that
3156         are now done by driver._setup_environ_for_test().
3157         (TestRunner._tear_down_testing_environment):
3158         * Scripts/webkitpy/port/driver.py:
3159         (Driver.__init__): Define self._server_name in the constructor of the base class.
3160         It is used by several functions, so it makes sense to store once the value here.
3161         (Driver._setup_environ_for_test): Factorize setting the environment for a given test.
3162         (Driver._start): Get the environment from self._setup_environ_for_test()
3163         * Scripts/webkitpy/port/driver_unittest.py:
3164         (DriverTest):
3165         (DriverTest.test_setup_environ_for_test): Add unittest for driver._setup_environ_for_test()
3166         * Scripts/webkitpy/port/gtk.py: Move the inspection of the env var USE_NATIVE_XDISPLAY to the constructor.
3167         (GtkPort.__init__):
3168         (GtkPort._driver_class):
3169         * Scripts/webkitpy/port/westondriver.py: Define and use self._setup_environ_for_test()
3170         (WestonDriver._setup_environ_for_test):
3171         (WestonDriver._start):
3172         * Scripts/webkitpy/port/xorgdriver.py: Define and use self._setup_environ_for_test()
3173         (XorgDriver._setup_environ_for_test):
3174         (XorgDriver._start):
3175         * Scripts/webkitpy/port/xvfbdriver.py: Define and use self._setup_environ_for_test()
3176         (XvfbDriver._setup_environ_for_test):
3177         (XvfbDriver._start):
3178
3179 2016-08-26  Csaba Osztrogonác  <ossy@webkit.org>
3180
3181         [EFL][GTK] REGRESSION(204877): Fix the clean build
3182         https://bugs.webkit.org/show_bug.cgi?id=161240
3183
3184         Reviewed by Carlos Garcia Campos.
3185
3186         * WebKitTestRunner/PlatformEfl.cmake:
3187         * WebKitTestRunner/PlatformGTK.cmake:
3188
3189 2016-08-26  Aakash Jain  <aakash_jain@apple.com>
3190
3191         EWS should indicate which bot processed the patch
3192         https://bugs.webkit.org/show_bug.cgi?id=161222
3193
3194         Reviewed by Daniel Bates.
3195
3196         * QueueStatusServer/handlers/statusbubble.py:
3197         (StatusBubble._build_bubble): Display the bot id in status bubble. Also removed "Started processing" message since
3198         after bug fix of 161223, bots send the "Started processing patch" message and it would be displayed in Recent messages.
3199         Also added "Started processing patch" message to progress_statuses.
3200         I might consider displaying bot id in other statuses as well later on.
3201
3202 2016-08-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3203
3204         [EFL] Change homepage url to www.ewebkit.org on MiniBrowser
3205         https://bugs.webkit.org/show_bug.cgi?id=161184
3206
3207         Reviewed by Carlos Garcia Campos.
3208
3209         * MiniBrowser/efl/main.c: Set www.ewebkit.org.
3210
3211 2016-08-25  Aakash Jain  <aakash_jain@apple.com>
3212
3213         ews queues should update status server when they start processing patch
3214         https://bugs.webkit.org/show_bug.cgi?id=161223
3215
3216         Reviewed by Daniel Bates.
3217
3218         * Scripts/webkitpy/tool/commands/queues.py:
3219         (AbstractReviewQueue.process_work_item): Update status server that the bot started processing the patch.
3220         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
3221         (EarlyWarningSystemTest._default_expected_logs): Updated the unit test accordingly.
3222         * Scripts/webkitpy/tool/commands/queues_unittest.py:
3223         (StyleQueueTest.test_style_queue_with_style_exception): Same.
3224         (test_style_queue_with_watch_list_exception): Same.
3225         (test_non_valid_patch): Same.
3226
3227 2016-08-25  Alex Christensen  <achristensen@webkit.org>
3228
3229         CMake build fix.
3230
3231         * DumpRenderTree/PlatformMac.cmake:
3232
3233 2016-08-25  Alex Christensen  <achristensen@webkit.org>
3234
3235         Fix URLParserTest with GuardMalloc
3236         https://bugs.webkit.org/show_bug.cgi?id=161214
3237         rdar://problem/28014390
3238
3239         Reviewed by Tim Horton.
3240
3241         The CString returned by String::utf8 was going out of scope before we were doing a string comparison on its data.
3242         This just does the comparison of the CStrings instead to keep them in scope during the comparison.
3243
3244         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3245         (TestWebKitAPI::eq):
3246         (TestWebKitAPI::checkURL):
3247         (TestWebKitAPI::checkURLDifferences):
3248         (TestWebKitAPI::s): Deleted.
3249
3250 2016-08-25  Wenson Hsieh  <wenson_hsieh@apple.com>
3251
3252         Dragging against the end of the inline media scrubber causes the media scrubber to hide
3253         https://bugs.webkit.org/show_bug.cgi?id=161207
3254
3255         Reviewed by Eric Carlson.
3256
3257         Tweaks an existing WebKit API test covering this behavior change. After some discussion, rather than hide media
3258         controls in this case, we should actually continue showing them. This is because seeking due to user gestures
3259         similar to "scrubbing" are indistinguishable from gestures that immediately seek to the end.
3260
3261         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3262         (TestWebKitAPI::TEST):
3263
3264 2016-08-25  Daniel Bates  <dabates@apple.com>
3265
3266         Watch more things.
3267
3268         * Scripts/webkitpy/common/config/watchlist:
3269
3270 2016-08-25  Daniel Bates  <dabates@apple.com>
3271
3272         Fix test failure on GTK Linux bots after <http://trac.webkit.org/changeset/204695>
3273         (https://bugs.webkit.org/show_bug.cgi?id=148437)
3274
3275         Remove use of module File::Slurp as it is not part of the standard Perl 5 distribution
3276         and is not installed on the GTK Linux bots.
3277
3278         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl:
3279         (writeFileWithContent): Added.
3280
3281 2016-08-25  Per Arne Vollan  <pvollan@apple.com>
3282
3283         [Win] run-api-tests is failing.
3284         https://bugs.webkit.org/show_bug.cgi?id=161140
3285
3286         Reviewed by Brent Fulgham.
3287
3288         Since the move constructor is called 3 more times on Windows, we will have 3 more destructor calls.
3289
3290         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3291         (TestWebKitAPI::TEST):
3292
3293 2016-08-24  Per Arne Vollan  <pvollan@apple.com>
3294
3295         [Win] run-api-tests is failing.
3296         https://bugs.webkit.org/show_bug.cgi?id=161140
3297
3298         Reviewed by Brent Fulgham.
3299
3300         The number of times the move constructor is called is different on Windows in this test. This seems
3301         to be caused by differences in MSVC's implementation of lambdas or std functions like std::make_tuple.
3302
3303         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
3304         (TestWebKitAPI::TEST):
3305
3306 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
3307
3308         Fix iOS DRT build.
3309
3310         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3311         (WTR::UIScriptController::zoomToScale):
3312
3313 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
3314
3315         [iOS DRT] Hook up uiController.zoomToScale() for DRT
3316         https://bugs.webkit.org/show_bug.cgi?id=161173
3317
3318         Reviewed by Tim Horton.
3319         
3320         Make a UIWebScrollView subclass, DumpRenderTreeWebScrollView, which has an internal delegate to get
3321         UIScrollView delegate callbacks. Store the zoomToScaleCompletionHandler on it.
3322         
3323         UIScriptController::zoomToScale() has to bounce the zoom to the main thread (no poking UIKit from
3324         the WebThread!), but queue up the callback first.
3325
3326         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
3327         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
3328         (-[DumpRenderTreeWebScrollView initWithFrame:]):
3329         (-[DumpRenderTreeWebScrollView dealloc]):
3330         (-[DumpRenderTreeWebScrollView zoomToScale:animated:completionHandler:]):
3331         (-[DumpRenderTreeWebScrollView completedZoomToScale]):
3332         (-[DumpRenderTreeWebScrollViewDelegate initWithScrollView:]):
3333         (-[DumpRenderTreeWebScrollViewDelegate viewForZoomingInScrollView:]): All UIScrollView delegates need to implement this.
3334         (-[DumpRenderTreeWebScrollViewDelegate scrollViewDidEndZooming:withView:atScale:]):
3335         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3336         (WTR::UIScriptController::zoomToScale):
3337         * DumpRenderTree/mac/DumpRenderTree.mm:
3338         (createWebViewAndOffscreenWindow):
3339         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3340         (WTR::UIScriptController::context):
3341
3342 2016-08-24  Ryan Haddad  <ryanhaddad@apple.com>
3343
3344         Attempt to fix Windows build after r204918.
3345
3346         Unreviewed build fix.
3347
3348         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3349         (ResourceLoadDelegate::willSendRequest):
3350
3351 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
3352
3353         [iOS DRT] Get basic viewport tests working in DRT
3354         https://bugs.webkit.org/show_bug.cgi?id=161160
3355
3356         Reviewed by Tim Horton.
3357         
3358         Hook up enough of UIScriptController in iOS DRT to be able to read viewport
3359         scale, and get the contentVisibleRect.
3360         
3361         Requires exposing a bit of UIWebBrowserView SPI from UIKit, which in turn
3362         requires typing the gWebBrowserView as a DumpRenderTreeBrowserView * everywhere.
3363         
3364         One test has different results between DRT and WTR, but DRT behavior seems to differ
3365         from UIWebView here, so just give it a WK1-specific result.
3366
3367         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
3368         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
3369         (-[DumpRenderTreeBrowserView documentVisibleRect]):
3370         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3371         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3372         (WTR::UIScriptController::zoomScale):
3373         (WTR::UIScriptController::minimumZoomScale):
3374         (WTR::UIScriptController::maximumZoomScale):
3375         (WTR::UIScriptController::contentVisibleRect):
3376         * DumpRenderTree/mac/DumpRenderTree.mm:
3377         (createWebViewAndOffscreenWindow):
3378         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3379
3380 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
3381
3382         Minor project rearrangement.
3383
3384         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3385
3386 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
3387
3388         [iOS DRT] Make iOS DRT use the same window size as WebKitTestRunner for flexible viewport tests
3389         https://bugs.webkit.org/show_bug.cgi?id=161124
3390
3391         Reviewed by Daniel Bates.
3392         
3393         Use the main UIScreen's bounds for the size of the window in flexible viewport mode,
3394         and remove the 'phoneBrowserAddressBarOffset' hack, so that it matches WTR.
3395         
3396         Remove some unnecessary zero initializations of static variables.
3397         
3398         Change _setVisibleSize to use the window size, which should not be a behavior change
3399         because this it just used for text autosizing, which is disabled by default,
3400         and only the width is consulted.
3401
3402         * DumpRenderTree/mac/DumpRenderTree.mm:
3403         (adjustWebDocumentForFlexibleViewport):
3404         (adjustWebDocumentForStandardViewport):
3405         (createWebViewAndOffscreenWindow):
3406
3407 2016-08-24  Jonathan Bedard  <jbedard@apple.com>
3408
3409         WebKit2 needs layoutTestController.setDeferMainResourceDataLoad
3410         https://bugs.webkit.org/show_bug.cgi?id=42777
3411
3412         Reviewed by Darin Adler.
3413
3414         The setDeferMainResourceDataLoad method was not correctly tested in DumpRenderTree and would pass even when setDeterMainResourceDataLoad was not called.  Removed function and test.
3415
3416         * DumpRenderTree/TestRunner.cpp:
3417         (setDeferMainResourceDataLoadCallback): Removed setDeferMainResourceDataLoad.
3418         * DumpRenderTree/TestRunner.h:
3419         (TestRunner::deferMainResourceDataLoad): Ditto.
3420         (TestRunner::setDeferMainResourceDataLoad): Ditto.
3421         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Ditto.
3422
3423 2016-08-23  Anders Carlsson  <andersca@apple.com>
3424
3425         Add enum traits and use them in the IPC::Decoder
3426         https://bugs.webkit.org/show_bug.cgi?id=161103
3427
3428         Reviewed by Sam Weinig.
3429
3430         Add API test.
3431
3432         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3433         * TestWebKitAPI/Tests/WTF/EnumTraits.cpp: Added.
3434         (TestWebKitAPI::TEST):
3435
3436 2016-08-24  Filip Pizlo  <fpizlo@apple.com>
3437
3438         Unreviewed, roll out r204901, r204897, r204866, r204856, r204854.
3439
3440         * DumpRenderTree/TestRunner.cpp:
3441         * DumpRenderTree/mac/DumpRenderTree.mm:
3442         (DumpRenderTreeMain):
3443         * Scripts/run-jsc-stress-tests:
3444         * TestWebKitAPI/Tests/WTF/Vector.cpp:
3445         (TestWebKitAPI::TEST):
3446
3447 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
3448
3449         Try to fix Production builds.
3450         
3451         PRODUCTION_FRAMEWORKS_DIR was undefined here.
3452
3453         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3454
3455 2016-08-24  Dan Bernstein  <mitz@apple.com>
3456
3457         Add a convenience function for creating a WKFrameHandleRef from a WKFrameRef without going through WKFrameInfoRef
3458         https://bugs.webkit.org/show_bug.cgi?id=161152
3459
3460         Reviewed by Anders Carlsson.
3461
3462         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3463         * TestWebKitAPI/Tests/WebKit2/FrameHandle.cpp: Added.
3464         (TestWebKitAPI::didFinishLoadForFrame):
3465         (TestWebKitAPI::TEST):
3466
3467 2016-08-24  Nan Wang  <n_wang@apple.com>
3468
3469         AX: Add test for line text marker range on iOS
3470         https://bugs.webkit.org/show_bug.cgi?id=161108
3471         <rdar://problem/27976405>
3472
3473         Reviewed by Chris Fleizach.
3474
3475         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3476         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3477         (AccessibilityUIElement::textMarkerRangeForElement):
3478         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3479         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3480         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
3481
3482 2016-08-24  Per Arne Vollan  <pvollan@apple.com>
3483
3484         [Win] Warning fixes.
3485         https://bugs.webkit.org/show_bug.cgi?id=161079
3486
3487         Reviewed by Brent Fulgham.
3488
3489         * MiniBrowser/win/WebDownloadDelegate.cpp:
3490         * MiniBrowser/win/WinMain.cpp:
3491         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3492         (TestWebKitAPI::TEST):
3493
3494 2016-08-23  Simon Fraser  <simon.fraser@apple.com>
3495
3496         Fix Windows DRT build.
3497
3498         * DumpRenderTree/win/TestRunnerWin.cpp:
3499         (TestRunner::mainFrameJSContext):
3500
3501 2016-08-23  Simon Fraser  <simon.fraser@apple.com>
3502
3503         Try to fix Windows build.
3504         
3505         Pass Tools/DumpRenderTree/Bindings as the working directory for the generate_bindings.pl
3506         so that perl finds CodeGeneratorDumpRenderTree.pm.
3507
3508         * DumpRenderTree/CMakeLists.txt:
3509
3510 2016-08-23  Simon Fraser  <simon.fraser@apple.com>
3511
3512         Hook up UIScriptController in DumpRenderTree
3513         https://bugs.webkit.org/show_bug.cgi?id=161064
3514
3515         Reviewed by Sam Weinig.
3516
3517         Add a skeleton implementation of UIScriptController to DumpRenderTree, building for both
3518         Mac and iOS. Currently this is sufficient to test doAsyncTask(), enabling two tests
3519         in fast/harness which test this.
3520
3521         Add a DerivedSources target to DumpRenderTree to invoke DerivedSources.make.
3522
3523         Move related code shared between WTR and DRT into Tools/TestRunnerShared, and cleanse it of
3524         WK2-isms. Fix the makefiles to refer to the new location.
3525
3526         Hook up TestRunner::runUIScript() for DumpRenderTree, which requires keeping track of callbacks
3527         by ID and firing them once they are complete.
3528
3529         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm: Added (copied from WTR).
3530         * DumpRenderTree/CMakeLists.txt:
3531         * DumpRenderTree/DerivedSources.make: Copied from Tools/WebKitTestRunner/DerivedSources.make.
3532         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3533         * DumpRenderTree/TestRunner.cpp:
3534         (runUIScriptCallback):
3535         (TestRunner::staticFunctions):
3536         (TestRunner::cacheTestRunnerCallback):
3537         (TestRunner::callTestRunnerCallback):
3538         (TestRunner::clearTestRunnerCallbacks):
3539         (nextUIScriptCallbackID):
3540         (TestRunner::runUIScript):
3541         (TestRunner::callUIScriptCallback):
3542         (TestRunner::uiScriptDidComplete):
3543         (TestRunner::cleanup):
3544         * DumpRenderTree/TestRunner.h:
3545         * DumpRenderTree/ios/UIScriptControllerIOS.mm: Added.
3546         * DumpRenderTree/mac/Configurations/Base.xcconfig: DerivedSources.make needs WEBCORE_PRIVATE_HEADERS_DIR to be defined.
3547         * DumpRenderTree/mac/DumpRenderTree.mm:
3548         (runTest):
3549         * DumpRenderTree/mac/TestRunnerMac.mm:
3550         (TestRunner::mainFrameJSContext):
3551         * DumpRenderTree/mac/UIScriptControllerMac.mm: Copied from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h.
3552         (WTR::UIScriptController::doAsyncTask):
3553         * DumpRenderTree/win/DumpRenderTree.cpp:
3554         * TestRunnerShared/Bindings/JSWrappable.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h.
3555         (WTR::JSWrappable::~JSWrappable):
3556         (WTR::JSValueMakeStringOrNull):
3557         * TestRunnerShared/Bindings/JSWrapper.cpp: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp.
3558         (WTR::JSWrapper::wrap):
3559         (WTR::JSWrapper::unwrap):
3560         (WTR::unwrapObject):
3561         (WTR::JSWrapper::initialize):
3562         (WTR::JSWrapper::finalize):
3563         * TestRunnerShared/Bindings/JSWrapper.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h.
3564         (WTR::toJS):
3565         (WTR::setProperty):
3566         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: Renamed from Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl.
3567         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptContext.cpp.
3568         * TestRunnerShared/UIScriptContext/UIScriptContext.h: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptContext.h.
3569         (WTR::UIScriptContext::currentParentCallbackIsPendingCompletion):
3570         * TestRunnerShared/UIScriptContext/UIScriptController.cpp: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp.
3571         * TestRunnerShared/UIScriptContext/UIScriptController.h: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h.
3572         * WebKitTestRunner/CMakeLists.txt:
3573         * WebKitTestRunner/DerivedSources.make:
3574         * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
3575         (WTR::JSWrappable::~JSWrappable): Deleted.
3576         (WTR::JSValueMakeStringOrNull): Deleted.
3577         * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:
3578         (WTR::JSWrapper::wrap): Deleted.
3579         (WTR::JSWrapper::unwrap): Deleted.
3580         (WTR::unwrapObject): Deleted.
3581         (WTR::JSWrapper::initialize): Deleted.
3582         (WTR::JSWrapper::finalize): Deleted.
3583         * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h:
3584         (WTR::toJS): Deleted.
3585         (WTR::setProperty): Deleted.
3586         * WebKitTestRunner/TestInvocation.cpp:
3587         (WTR::TestInvocation::runUISideScript):
3588         (WTR::TestInvocation::uiScriptDidComplete):
3589         * WebKitTestRunner/TestInvocation.h:
3590         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp: Moved
3591         * WebKitTestRunner/UIScriptContext/UIScriptContext.h: Moved
3592         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp: Moved
3593         * WebKitTestRunner/UIScriptContext/UIScriptController.h: Moved
3594         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3595         * WebKitTestRunner/config.h:
3596         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3597         (WTR::UIScriptController::contentVisibleRect):
3598
3599 2016-08-23  Saam Barati  <sbarati@apple.com>
3600
3601         JSC should have a "microbenchmarks" directory instead of "regress" directory
3602         https://bugs.webkit.org/show_bug.cgi?id=161096
3603
3604         Rubber stamped by Mark Lam.
3605
3606         This patch moves LayoutTests/js/regress/script-tests to the JSTests/microbenchmarks
3607         directory and removes all the related html and txt files. I did this because
3608         that directory was only there for microbenchmarks, and not for "regression"
3609         tests. I also changed the various scripts to point to it.
3610
3611         * Scripts/run-javascriptcore-tests:
3612         (runJSCStressTests):
3613         * Scripts/run-jsc-benchmarks:
3614
3615 2016-08-23  Alex Christensen  <achristensen@webkit.org>
3616
3617         Fix EFL build.
3618
3619         * TestWebKitAPI/CMakeLists.txt:
3620         Include new directory.
3621
3622 2016-08-22  Filip Pizlo  <fpizlo@apple.com>
3623
3624         Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression
3625         https://bugs.webkit.org/show_bug.cgi?id=160125
3626
3627         Reviewed by Geoffrey Garen.
3628
3629         * DumpRenderTree/TestRunner.cpp: Rewire some #includes.
3630         * Scripts/run-jsc-stress-tests: New test flag!
3631
3632 2016-08-23  Brady Eidson  <beidson@apple.com>
3633
3634         WK2 Gamepad layout test support.
3635         https://bugs.webkit.org/show_bug.cgi?id=134671
3636
3637         Reviewed by Alex Christensen.
3638         
3639         Have the injected bundle expose the MockGamepadProvider to the UI process, which will then 
3640         feed back into the UIGamepadProvider.
3641         
3642         Also, fool NSApplication into treating the most recently created "isKeyWindow" of the test windows
3643         as the actual keyWindow for the test runner, which will allow the view to get gamepad updates.
3644
3645         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
3646         
3647         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3648         (WTR::TestRunner::setMockGamepadDetails):
3649         (WTR::TestRunner::setMockGamepadAxisValue):
3650         (WTR::TestRunner::setMockGamepadButtonValue):
3651         
3652         * WebKitTestRunner/PlatformWebView.h:
3653         
3654         * WebKitTestRunner/TestController.cpp:
3655         (WTR::TestController::initialize):
3656         
3657         * WebKitTestRunner/TestInvocation.cpp: