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