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