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