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