Unreviewed, rolling out r219194.
[WebKit.git] / Tools / ChangeLog
1 2017-07-06  Commit Queue  <commit-queue@webkit.org>
2
3         Unreviewed, rolling out r219194.
4         https://bugs.webkit.org/show_bug.cgi?id=174207
5
6         it broke some layout tests (Requested by clopez on #webkit).
7
8         Reverted changeset:
9
10         "[GStreamer] vid.me videos do not play"
11         https://bugs.webkit.org/show_bug.cgi?id=172240
12         http://trac.webkit.org/changeset/219194
13
14 2017-07-06  Matt Lewis  <jlewis3@apple.com>
15
16         Unreviewed, rolling out r219178.
17
18         This caused a consistent failure with the API test
19         StringBuilderTest.ToAtomicStringOnEmpty on all Debug testers.
20
21         Reverted changeset:
22
23         "[WTF] Clean up StringStatics.cpp by using
24         LazyNeverDestroyed<> for Atoms"
25         https://bugs.webkit.org/show_bug.cgi?id=174150
26         http://trac.webkit.org/changeset/219178
27
28 2017-07-06  Alicia Boya García  <aboya@igalia.com>
29
30         Add CWD to Perl library path (no longer the default since 5.26.0)
31         https://bugs.webkit.org/show_bug.cgi?id=174200
32
33         Reviewed by Michael Catanzaro.
34
35         * Scripts/webkitpy/tool/commands/setupgitclone.py:
36         (SetupGitClone._get_username_and_email):
37
38 2017-07-06  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
39
40         Unreviewed, update my email address.
41
42         * Scripts/webkitpy/common/config/contributors.json:
43
44 2017-07-06  Charlie Turner  <cturner@igalia.com>
45         [GStreamer] vid.me videos do not play
46         https://bugs.webkit.org/show_bug.cgi?id=172240
47
48         Reviewed by Xabier Rodriguez-Calvar.
49
50         Build httpsoupsrc again for use in adaptive streaming pipelines, and
51         have the existing libsoup build against GNOME to avoid header drift
52         against GStreamer's linked Soup library.
53
54         * gtk/jhbuild.modules:
55
56 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
57
58         [WTF] Move SoftLinking.h into WTF
59         https://bugs.webkit.org/show_bug.cgi?id=174000
60
61         Reviewed by Alex Christensen.
62
63         * DumpRenderTree/mac/TestRunnerMac.mm:
64         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
65         (test_primary_header):
66         (ErrorCollector.__init__): Deleted.
67         (ErrorCollector.__call__): Deleted.
68         (ErrorCollector.results): Deleted.
69         (ErrorCollector.result_list): Deleted.
70         (ErrorCollector.verify_all_categories_are_seen): Deleted.
71         (MockIo.open): Deleted.
72         (CppFunctionsTest.test_convert_to_lower_with_underscores): Deleted.
73         (CppFunctionsTest.test_create_acronym): Deleted.
74         (CppFunctionsTest.test_is_c_or_objective_c): Deleted.
75         (CppFunctionsTest.test_parameter): Deleted.
76         (CppFunctionsTest.test_single_line_view): Deleted.
77         (CppFunctionsTest.test_create_skeleton_parameters): Deleted.
78         (CppFunctionsTest.test_find_parameter_name_index): Deleted.
79         (CppFunctionsTest.test_parameter_list): Deleted.
80         (CppFunctionsTest.test_check_parameter_against_text): Deleted.
81         (CppStyleTestBase.process_file_data): Deleted.
82         (CppStyleTestBase.perform_lint): Deleted.
83         (CppStyleTestBase.perform_single_line_lint): Deleted.
84         (CppStyleTestBase.perform_multi_line_lint): Deleted.
85         (CppStyleTestBase.perform_language_rules_check): Deleted.
86         (CppStyleTestBase.perform_function_lengths_check): Deleted.
87         (CppStyleTestBase.perform_pass_ptr_check): Deleted.
88         (CppStyleTestBase.perform_leaky_pattern_check): Deleted.
89         (CppStyleTestBase.perform_include_what_you_use): Deleted.
90         (CppStyleTestBase.perform_header_guard_check): Deleted.
91         (CppStyleTestBase.assert_lint): Deleted.
92         (CppStyleTestBase.assert_lint_one_of_many_errors_re): Deleted.
93         (CppStyleTestBase.assert_multi_line_lint): Deleted.
94         (CppStyleTestBase.assert_multi_line_lint_re): Deleted.
95         (CppStyleTestBase.assert_language_rules_check): Deleted.
96         (CppStyleTestBase.assert_include_what_you_use): Deleted.
97         (CppStyleTestBase.assert_header_guard): Deleted.
98         (CppStyleTestBase.assert_blank_lines_check): Deleted.
99         (CppStyleTestBase.assert_positions_equal): Deleted.
100         (FunctionDetectionTest.test_basic_function_detection): Deleted.
101         (FunctionDetectionTest.test_function_declaration_detection): Deleted.
102         (FunctionDetectionTest.test_pure_function_detection): Deleted.
103         (FunctionDetectionTest.test_override_and_final_function_detection): Deleted.
104         (FunctionDetectionTest.test_ignore_macros): Deleted.
105         (FunctionDetectionTest.test_non_functions): Deleted.
106         (FunctionDetectionTest.test_non_functions.Stuff): Deleted.
107         (FunctionDetectionTest.test_parameter_list): Deleted.
108         (Cpp11StyleTest.test_rvaule_reference_in_parameter_pack): Deleted.
109         (CppStyleTest.test_asm_lines_ignored): Deleted.
110         (CppStyleTest.test_get_line_width): Deleted.
111         (CppStyleTest.test_find_next_multi_line_comment_start): Deleted.
112         (CppStyleTest.test_find_next_multi_line_comment_end): Deleted.
113         (CppStyleTest.test_remove_multi_line_comments_from_range): Deleted.
114         (CppStyleTest.test_position): Deleted.
115         (CppStyleTest.test_rfind_in_lines): Deleted.
116         (CppStyleTest.test_close_expression): Deleted.
117         (CppStyleTest.test_spaces_at_end_of_line): Deleted.
118         (CppStyleTest.test_cstyle_cast): Deleted.
119         (CppStyleTest.test_runtime_casting): Deleted.
120         (CppStyleTest.test_runtime_selfinit): Deleted.
121         (CppStyleTest.test_runtime_rtti): Deleted.
122         (CppStyleTest.test_static_cast_readability): Deleted.
123         (CppStyleTest.test_check_for_unnamed_params): Deleted.
124         (CppStyleTest.void): Deleted.
125         (CppStyleTest.test_deprecated_cast): Deleted.
126         (CppStyleTest.test_mock_method): Deleted.
127         (CppStyleTest.test_sizeof_type): Deleted.
128         (CppStyleTest.cases): Deleted.
129         (CppStyleTest.for): Deleted.
130         (CppStyleTest.test_typedef_for_pointer_to_function): Deleted.
131         (CppStyleTest.test_typedef_for_pointer_to_function.void): Deleted.
132         (CppStyleTest.test_include_what_you_use_no_implementation_files): Deleted.
133         (CppStyleTest.test_include_what_you_use): Deleted.
134         (CppStyleTest.test_files_belong_to_same_module): Deleted.
135         (CppStyleTest.test_cleanse_line): Deleted.
136         (CppStyleTest.test_multi_line_comments): Deleted.
137         (CppStyleTest.test_multi_line_comments.Foo): Deleted.
138         (CppStyleTest.test_multiline_strings): Deleted.
139         (CppStyleTest.test_platformh_comments): Deleted.
140         (CppStyleTest.test_explicit_single_argument_constructors): Deleted.
141         (CppStyleTest.test_explicit_single_argument_constructors.Foo): Deleted.
142         (CppStyleTest.test_explicit_single_argument_constructors.Qualifier): Deleted.
143         (CppStyleTest.test_explicit_single_argument_constructors.definition): Deleted.
144         (CppStyleTest.test_slash_star_comment_on_single_line): Deleted.
145         (CppStyleTest.test_suspicious_usage_of_if): Deleted.
146         (CppStyleTest.test_suspicious_usage_of_memset): Deleted.
147         (CppStyleTest.test_check_posix_threading): Deleted.
148         (CppStyleTest.test_insecure_string_operations): Deleted.
149         (CppStyleTest.test_format_strings): Deleted.
150         (CppStyleTest.test_insecure_temp_file): Deleted.
151         (CppStyleTest.test_variable_length_array_detection): Deleted.
152         (CppStyleTest.test_braces): Deleted.
153         (CppStyleTest.test_check_check): Deleted.
154         (CppStyleTest.test_brace_at_begin_of_line): Deleted.
155         (CppStyleTest.test_mismatching_spaces_in_parens): Deleted.
156         (CppStyleTest.test_spacing_for_fncall): Deleted.
157         (CppStyleTest.test_spacing_for_fncall.foo): Deleted.
158         (CppStyleTest.test_spacing_before_braces): Deleted.
159         (CppStyleTest.test_spacing_between_braces): Deleted.
160         (CppStyleTest.test_spacing_before_brackets): Deleted.
161         (CppStyleTest.test_cpp_lambda_functions): Deleted.
162         (CppStyleTest.test_objective_c_block): Deleted.
163         (CppStyleTest.test_objective_c_block_as_argument): Deleted.
164         (CppStyleTest.test_spacing_around_else): Deleted.
165         (CppStyleTest.test_spacing_for_binary_ops): Deleted.
166         (CppStyleTest.test_spacing_for_binary_ops.hash_map): Deleted.
167         (CppStyleTest.test_operator_methods): Deleted.
168         (CppStyleTest.test_spacing_in_objective_c_properties): Deleted.
169         (CppStyleTest.test_spacing_before_last_semicolon): Deleted.
170         (CppStyleTest.test_static_or_global_stlstrings): Deleted.
171         (CppStyleTest.test_no_spaces_in_function_calls): Deleted.
172         (CppStyleTest.test_one_spaces_between_code_and_comments): Deleted.
173         (CppStyleTest.test_one_spaces_after_punctuation_in_comments): Deleted.
174         (CppStyleTest.test_space_after_comment_marker): Deleted.
175         (CppStyleTest.test_newline_at_eof): Deleted.
176         (CppStyleTest.test_newline_at_eof.do_test): Deleted.
177         (CppStyleTest.test_extra_newlines_at_eof): Deleted.
178         (CppStyleTest.test_extra_newlines_at_eof.do_test): Deleted.
179         (CppStyleTest.test_invalid_utf8): Deleted.
180         (CppStyleTest.test_invalid_utf8.do_test): Deleted.
181         (CppStyleTest.test_is_blank_line): Deleted.
182         (CppStyleTest.test_blank_lines_check): Deleted.
183         (CppStyleTest.test_allow_blank_line_before_closing_namespace): Deleted.
184         (CppStyleTest.test_allow_blank_line_before_if_else_chain): Deleted.
185         (CppStyleTest.test_else_on_same_line_as_closing_braces): Deleted.
186         (CppStyleTest.test_else_clause_not_on_same_line_as_else): Deleted.
187         (CppStyleTest.test_comma): Deleted.
188         (CppStyleTest.test_declaration): Deleted.
189         (CppStyleTest.test_pointer_reference_marker_location): Deleted.
190         (CppStyleTest.test_indent): Deleted.
191         (CppStyleTest.test_indent.Foo): Deleted.
192         (CppStyleTest.test_not_alabel): Deleted.
193         (CppStyleTest.test_tab): Deleted.
194         (CppStyleTest.test_unnamed_namespaces_in_headers): Deleted.
195         (CppStyleTest.test_build_class): Deleted.
196         (CppStyleTest.test_build_class.definitions): Deleted.
197         (CppStyleTest.test_build_class.Foo): Deleted.
198         (CppStyleTest.test_build_class.DERIVE_FROM_GOO): Deleted.
199         (CppStyleTest.test_build_end_comment): Deleted.
200         (CppStyleTest.test_build_forward_decl): Deleted.
201         (CppStyleTest.test_build_forward_decl.Foo): Deleted.
202         (CppStyleTest.test_build_header_guard): Deleted.
203         (CppStyleTest.test_build_header_guard.Foo_h): Deleted.
204         (CppStyleTest.test_build_header_guard.Foo_h.for): Deleted.
205         (CppStyleTest.test_build_printf_format): Deleted.
206         (CppStyleTest.test_runtime_printf_format): Deleted.
207         (CppStyleTest.assert_lintLogCodeOnError): Deleted.
208         (CppStyleTest.test_build_storage_class): Deleted.
209         (CppStyleTest.test_build_storage_class.unsignedLongLong): Deleted.
210         (CppStyleTest.test_build_storage_class.declaration): Deleted.
211         (CppStyleTest.test_build_storage_class.after): Deleted.
212         (CppStyleTest.test_build_storage_class.is): Deleted.
213         (CppStyleTest.test_legal_copyright): Deleted.
214         (CppStyleTest.test_invalid_increment): Deleted.
215         (CppStyleTest.test_enum_bitfields): Deleted.
216         (CppStyleTest.test_plain_integral_bitfields): Deleted.
217         (CleansedLinesTest.test_init_empty): Deleted.
218         (CleansedLinesTest.test_collapse_strings): Deleted.
219         (OrderOfIncludesTest.tearDown): Deleted.
220         (OrderOfIncludesTest.test_check_next_include_order__no_config): Deleted.
221         (OrderOfIncludesTest.test_check_next_include_order__no_self): Deleted.
222         (OrderOfIncludesTest.test_check_next_include_order__likely_then_config): Deleted.
223         (OrderOfIncludesTest.test_check_next_include_order__other_then_config): Deleted.
224         (OrderOfIncludesTest.test_check_next_include_order__config_then_other_then_likely): Deleted.
225         (OrderOfIncludesTest.test_check_alphabetical_include_order): Deleted.
226         (OrderOfIncludesTest.test_check_alphabetical_include_order_errors_reported_for_both_lines): Deleted.
227         (OrderOfIncludesTest.test_check_line_break_after_own_header): Deleted.
228         (OrderOfIncludesTest.test_check_line_break_before_own_header): Deleted.
229         (OrderOfIncludesTest.test_check_preprocessor_in_include_section): Deleted.
230         (OrderOfIncludesTest.test_check_preprocessor_in_include_section.BAZ): Deleted.
231         (OrderOfIncludesTest.test_check_preprocessor_in_include_section.FOOBAR): Deleted.
232         (OrderOfIncludesTest.test_primary_header): Deleted.
233         (OrderOfIncludesTest.test_public_primary_header): Deleted.
234         (OrderOfIncludesTest.test_check_wtf_includes): Deleted.
235         (OrderOfIncludesTest.test_classify_include): Deleted.
236         (OrderOfIncludesTest.test_try_drop_common_suffixes): Deleted.
237         (CheckForFunctionLengthsTest.tearDown): Deleted.
238         (CheckForFunctionLengthsTest.set_min_confidence): Deleted.
239         (CheckForFunctionLengthsTest.assert_function_lengths_check): Deleted.
240         (CheckForFunctionLengthsTest.trigger_lines): Deleted.
241         (CheckForFunctionLengthsTest.trigger_test_lines): Deleted.
242         (CheckForFunctionLengthsTest.assert_function_length_check_definition): Deleted.
243         (CheckForFunctionLengthsTest.assert_function_length_check_definition_ok): Deleted.
244         (CheckForFunctionLengthsTest.assert_function_length_check_at_error_level): Deleted.
245         (CheckForFunctionLengthsTest.assert_function_length_check_below_error_level): Deleted.
246         (CheckForFunctionLengthsTest.assert_function_length_check_above_error_level): Deleted.
247         (CheckForFunctionLengthsTest.function_body): Deleted.
248         (CheckForFunctionLengthsTest.function_body_with_blank_lines): Deleted.
249         (CheckForFunctionLengthsTest.function_body_with_no_lints): Deleted.
250         (CheckForFunctionLengthsTest.test_function_length_check_declaration): Deleted.
251         (CheckForFunctionLengthsTest.test_function_length_check_declaration_with_block_following): Deleted.
252         (CheckForFunctionLengthsTest.test_function_length_check_class_definition): Deleted.
253         (CheckForFunctionLengthsTest.test_function_length_check_class_definition.Test): Deleted.
254         (CheckForFunctionLengthsTest.test_function_length_check_trivial): Deleted.
255         (CheckForFunctionLengthsTest.test_function_length_check_empty): Deleted.
256         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity0): Deleted.
257         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity0): Deleted.
258         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity0): Deleted.
259         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity1v0): Deleted.
260         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity1v0): Deleted.
261         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity1): Deleted.
262         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity1): Deleted.
263         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity1): Deleted.
264         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_plus_indented): Deleted.
265         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_plus_blanks): Deleted.
266         (CheckForFunctionLengthsTest.test_function_length_check_complex_definition_severity1): Deleted.
267         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_test): Deleted.
268         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_split_line_test): Deleted.
269         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Deleted.
270         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_with_embedded_no_lints): Deleted.
271         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_with_no_lint): Deleted.
272         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity2): Deleted.
273         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity2): Deleted.
274         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity2): Deleted.
275         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity3): Deleted.
276         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity3): Deleted.
277         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity3): Deleted.
278         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity4): Deleted.
279         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity4): Deleted.
280         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity4): Deleted.
281         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity5): Deleted.
282         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity5): Deleted.
283         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity5): Deleted.
284         (CheckForFunctionLengthsTest.test_function_length_check_definition_huge_lines): Deleted.
285         (CheckForFunctionLengthsTest.test_function_length_not_determinable): Deleted.
286         (NoNonVirtualDestructorsTest.test_no_error): Deleted.
287         (NoNonVirtualDestructorsTest.test_no_error.Foo): Deleted.
288         (NoNonVirtualDestructorsTest.test_no_error.MyClass): Deleted.
289         (NoNonVirtualDestructorsTest.test_no_error.Qualified): Deleted.
290         (NoNonVirtualDestructorsTest.test_no_destructor_when_virtual_needed): Deleted.
291         (NoNonVirtualDestructorsTest.test_no_destructor_when_virtual_needed.Foo): Deleted.
292         (NoNonVirtualDestructorsTest.test_enum_casing): Deleted.
293         (NoNonVirtualDestructorsTest.test_enum_casing.Foo): Deleted.
294         (NoNonVirtualDestructorsTest.test_enum_casing.Enum123): Deleted.
295         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon): Deleted.
296         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon.CPP11EnumClass): Deleted.
297         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon.MyEnum): Deleted.
298         (NoNonVirtualDestructorsTest.test_destructor_non_virtual_when_virtual_needed): Deleted.
299         (NoNonVirtualDestructorsTest.test_destructor_non_virtual_when_virtual_needed.Foo): Deleted.
300         (NoNonVirtualDestructorsTest.test_no_warn_when_derived): Deleted.
301         (NoNonVirtualDestructorsTest.test_no_warn_when_derived.Foo): Deleted.
302         (NoNonVirtualDestructorsTest.test_internal_braces): Deleted.
303         (NoNonVirtualDestructorsTest.test_internal_braces.Foo): Deleted.
304         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor): Deleted.
305         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Foo): Deleted.
306         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Foo.Goo): Deleted.
307         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Goo): Deleted.
308         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor): Deleted.
309         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor.Foo): Deleted.
310         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor.Foo.Goo): Deleted.
311         (NoNonVirtualDestructorsTest.test_qualified_class_needs_virtual_destructor): Deleted.
312         (NoNonVirtualDestructorsTest.test_qualified_class_needs_virtual_destructor.Qualified): Deleted.
313         (NoNonVirtualDestructorsTest.test_multi_line_declaration_no_error): Deleted.
314         (NoNonVirtualDestructorsTest.test_multi_line_declaration_no_error.Foo): Deleted.
315         (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error): Deleted.
316         (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error.Foo): Deleted.
317         (LeakyPatternTest.assert_leaky_pattern_check): Deleted.
318         (LeakyPatternTest.test_get_dc): Deleted.
319         (LeakyPatternTest.test_get_dc.HWndDC): Deleted.
320         (LeakyPatternTest.test_own_get_dc): Deleted.
321         (LeakyPatternTest.test_create_dc): Deleted.
322         (LeakyPatternTest.test_create_compatible_dc): Deleted.
323         (WebKitStyleTest.test_indentation): Deleted.
324         (WebKitStyleTest.test_indentation.Foo): Deleted.
325         (WebKitStyleTest.test_indentation.Document): Deleted.
326         (WebKitStyleTest.test_spacing): Deleted.
327         (WebKitStyleTest.test_line_breaking): Deleted.
328         (WebKitStyleTest.test_braces): Deleted.
329         (WebKitStyleTest.test_braces.MyClass): Deleted.
330         (WebKitStyleTest.test_braces.NS_ENUM): Deleted.
331         (WebKitStyleTest.test_braces.CPP11EnumClass): Deleted.
332         (WebKitStyleTest.test_braces.SOMETHING): Deleted.
333         (WebKitStyleTest.test_null_false_zero): Deleted.
334         (WebKitStyleTest.test_directive_indentation): Deleted.
335         (WebKitStyleTest.test_using_std): Deleted.
336         (WebKitStyleTest.test_using_namespace): Deleted.
337         (WebKitStyleTest.test_max_macro): Deleted.
338         (WebKitStyleTest.test_min_macro): Deleted.
339         (WebKitStyleTest.test_wtf_move): Deleted.
340         (WebKitStyleTest.test_ctype_fucntion): Deleted.
341         (WebKitStyleTest.test_names): Deleted.
342         (WebKitStyleTest.test_names.HTMLDocument): Deleted.
343         (WebKitStyleTest.test_names.WebWindowFadeAnimation): Deleted.
344         (WebKitStyleTest.test_names.declarations): Deleted.
345         (WebKitStyleTest.test_names.struct): Deleted.
346         (WebKitStyleTest.test_names.VectorType): Deleted.
347         (WebKitStyleTest.test_parameter_names): Deleted.
348         (WebKitStyleTest.test_comments): Deleted.
349         (WebKitStyleTest.test_webkit_export_check): Deleted.
350         (WebKitStyleTest.test_member_initialization_list): Deleted.
351         (WebKitStyleTest.test_member_initialization_list.MyClass): Deleted.
352         (WebKitStyleTest.test_other): Deleted.
353         (CppCheckerTest.mock_handle_style_error): Deleted.
354         (CppCheckerTest._checker): Deleted.
355         (CppCheckerTest.test_init): Deleted.
356         (CppCheckerTest.test_eq): Deleted.
357         (CppCheckerTest.test_eq.mock_handle_style_error2): Deleted.
358         (CppCheckerTest.test_ne): Deleted.
359         * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:
360         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
361         * TestWebKitAPI/cocoa/TestWKWebView.mm:
362         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
363         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
364         * WebKitTestRunner/ios/HIDEventGenerator.mm:
365
366 2017-07-05  Saam Barati  <sbarati@apple.com>
367
368         NewArray in FTLLowerDFGToB3 does not handle speculating on doubles when having a bad time
369         https://bugs.webkit.org/show_bug.cgi?id=174188
370         <rdar://problem/30581423>
371
372         Reviewed by Mark Lam.
373
374         * Scripts/run-jsc-stress-tests:
375
376 2017-07-05  Yusuke Suzuki  <utatane.tea@gmail.com>
377
378         [WTF] Clean up StringStatics.cpp by using LazyNeverDestroyed<> for Atoms
379         https://bugs.webkit.org/show_bug.cgi?id=174150
380
381         Reviewed by Mark Lam.
382
383         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
384         (TestWebKitAPI::TEST):
385
386 2017-07-03  Myles C. Maxfield  <mmaxfield@apple.com>
387
388         Remove copy of ICU headers from WebKit
389         https://bugs.webkit.org/show_bug.cgi?id=116407
390
391         Reviewed by Alex Christensen.
392
393         * DumpRenderTree/mac/Configurations/Base.xcconfig:
394         * TestWebKitAPI/Configurations/Base.xcconfig:
395         * WebKitTestRunner/Configurations/Base.xcconfig:
396
397 2017-07-05  Chris Dumez  <cdumez@apple.com>
398
399         Regression(r218821): Bad cast to WebKit::DiagnosticLoggingClient in WKWebView's _setDiagnosticLoggingDelegate
400         https://bugs.webkit.org/show_bug.cgi?id=174163
401         <rdar://problem/33067518>
402
403         Reviewed by Alex Christensen.
404
405         Add API test coverage.
406
407         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
408         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDiagnosticLogging.mm: Added.
409         (TEST):
410
411 2017-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
412
413         When dragging a selection, clearing the selection in dragstart should not crash the web process
414         https://bugs.webkit.org/show_bug.cgi?id=174142
415         <rdar://problem/33067501>
416
417         Reviewed by Tim Horton.
418
419         Adds a unit test checking that the web process does not crash when the selection is cleared while a selection
420         drag is starting up.
421
422         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
423         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-clear-selection.html: Added.
424         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
425         (TestWebKitAPI::TEST):
426
427 2017-07-05  Daniel Bates  <dabates@apple.com>
428
429         Do not pass API::FrameInfo for source frame or clear out page of target frame on
430         API navigation
431         https://bugs.webkit.org/show_bug.cgi?id=174170
432         <rdar://problem/33140328>
433
434         Reviewed by Brady Eidson.
435
436         Update tests as needed for the behavior change.
437
438         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm:
439         (TEST):
440
441 2017-07-05  Jonathan Bedard  <jbedard@apple.com>
442
443         Add WebKitPrivateFrameworkStubs for iOS 11
444         https://bugs.webkit.org/show_bug.cgi?id=173988
445
446         Reviewed by David Kilzer.
447
448         * DumpRenderTree/mac/Configurations/Base.xcconfig: iphoneos and iphonesimulator
449         should use the same directory for private framework stubs.
450         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
451
452 2017-07-05  Eric Carlson  <eric.carlson@apple.com>
453
454         [MediaStream] Protect request and web view during gUM client callback
455         https://bugs.webkit.org/show_bug.cgi?id=174096
456         <rdar://problem/32833102>
457
458         Reviewed by Youenn Fablet.
459
460         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
461         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: New test.
462
463 2017-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
464
465         Unreviewed, guard iOS 11-dependent UIPasteboardTests to be iOS 11+ only
466
467         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
468
469 2017-07-05  Matt Lewis  <jlewis3@apple.com>
470
471         Unreviewed, rolling out r219128.
472
473         Spoke with engineer who originally submitted, Patch for APi
474         test to follow.
475
476         Reverted changeset:
477
478         "Unreviewed, rolling out r219070."
479         https://bugs.webkit.org/show_bug.cgi?id=174082
480         http://trac.webkit.org/changeset/219128
481
482 2017-07-05  Matt Lewis  <jlewis3@apple.com>
483
484         Unreviewed, rolling out r219070.
485
486         This revision caused consistent failures of the API test
487         UIPasteboardTests.DoNotPastePlainTextAsURL on iOS.
488
489         Reverted changeset:
490
491         "Pasting single words copied to UIPasteboard inserts URLs in
492         editable areas"
493         https://bugs.webkit.org/show_bug.cgi?id=174082
494         http://trac.webkit.org/changeset/219070
495
496 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
497
498         Remove unused EFL logo from bot watcher dashboard
499         https://bugs.webkit.org/show_bug.cgi?id=174136
500
501         Reviewed by Alexey Proskuryakov.
502
503         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/EFL.png: Removed.
504         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/EFL@2x.png: Removed.
505
506 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
507
508         [GTK] Add more GTK bots to dashboard
509         https://bugs.webkit.org/show_bug.cgi?id=174129
510
511         Reviewed by Carlos Alberto Lopez Perez.
512
513         We have a bunch of GTK bots that I never look at because they're not on the dashboard. Add
514         them.
515
516         This also changes the sort order to put WPE above GTK so that it's not buried under all the
517         less-essential GTK bots.
518
519         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
520         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
521         (WebKitBuildbot):
522
523 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
524
525         [WPE] Add WPE to bot watcher dashboard
526         https://bugs.webkit.org/show_bug.cgi?id=174119
527
528         Reviewed by Alexey Proskuryakov.
529
530         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/CREDIT: Added.
531         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WPE.png: Added.
532         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WPE@2x.png: Added.
533         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
534         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
535         (WebKitBuildbot):
536         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
537         (table.queue-grid tr.platform.linux-wpe img.logo):
538
539 2017-07-03  Lucas Forschler  <lforschler@apple.com>
540
541         https://bugs.webkit.org/show_bug.cgi?id=174105
542         
543         Reviewed by Stephanie Lewis.
544
545         * BuildSlaveSupport/built-product-archive:
546         (main): Add a -minify parser option
547         (createZip): Pass along the optional Minify argument if requested
548         (minifySource): This will trim down archives, logic limited to Mac platform.
549
550 2017-07-03  Matt Rajca  <mrajca@apple.com>
551
552         Add/remove appropriate media element behavior restrictions when updateWebsitePolicies is called
553         https://bugs.webkit.org/show_bug.cgi?id=174103
554
555         Reviewed by Alex Christensen.
556
557         Added an API test.
558
559         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Expose a pause method.
560         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
561         (TEST): Added test.
562         * TestWebKitAPI/cocoa/TestWKWebView.h:
563         * TestWebKitAPI/cocoa/TestWKWebView.mm:
564         (-[TestWKWebView stringByEvaluatingJavaScript:]): Don't simulate a user gesture when invoking the script.
565
566 2017-07-03  Matt Lewis  <jlewis3@apple.com>
567
568         Unreviewed, rolling out r219103.
569
570         Caused multiple build failures.
571
572         Reverted changeset:
573
574         "Remove copy of ICU headers from WebKit"
575         https://bugs.webkit.org/show_bug.cgi?id=116407
576         http://trac.webkit.org/changeset/219103
577
578 2017-07-03  Myles C. Maxfield  <mmaxfield@apple.com>
579
580         Remove copy of ICU headers from WebKit
581         https://bugs.webkit.org/show_bug.cgi?id=116407
582
583         Reviewed by Alex Christensen.
584
585         Use WTF's copy of ICU headers.
586
587         * DumpRenderTree/mac/Configurations/Base.xcconfig:
588         * TestWebKitAPI/Configurations/Base.xcconfig:
589         * WebKitTestRunner/Configurations/Base.xcconfig:
590
591 2017-07-03  Brady Eidson  <beidson@apple.com>
592
593         Switch all WebKit API related to favicons from WebIconDatabase over to new WebCore::IconLoader mechanism.
594         https://bugs.webkit.org/show_bug.cgi?id=174073
595
596         Reviewed by Andy Estes.
597
598         * DumpRenderTree/mac/TestRunnerMac.mm:
599         (TestRunner::setIconDatabaseEnabled): Call new SPI for this setting instead of WebIconDatabase stuff.
600
601         * TestWebKitAPI/Tests/mac/WebViewIconLoading.mm:
602         (-[MainFrameIconKVO observeValueForKeyPath:ofObject:change:context:]):
603
604 2017-07-03  Matt Lewis  <jlewis3@apple.com>
605
606         Unreviewed, rolling out r219083.
607
608         The revision caused an API failure on all testing platforms.
609
610         Reverted changeset:
611
612         "[MediaStream] Protect request and web view during gUM client
613         callback"
614         https://bugs.webkit.org/show_bug.cgi?id=174096
615         http://trac.webkit.org/changeset/219083
616
617 2017-07-03  Jonathan Bedard  <jbedard@apple.com>
618
619         webkitpy: Properly number duplicated crashlogs
620         https://bugs.webkit.org/show_bug.cgi?id=172002
621
622         Reviewed by Aakash Jain.
623
624         * Scripts/webkitpy/common/system/crashlogs.py:
625         (CrashLogs._find_all_logs_darwin): Number multiple crash logs for a single process with
626         an increasing integer.
627         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
628         (CrashLogsTest.create_crash_logs_darwin): Create duplicated crashlog for testing.
629         (CrashLogsTest.test_find_all_log_darwin): Now 7 Darwin logs instead of 5.
630         (CrashLogsTest.test_duplicate_log_darwin): Test that duplicated logs are correctly numbered.
631
632 2017-07-03  Ryosuke Niwa  <rniwa@webkit.org>
633
634         WebContent processes crash when the network process crashes with pending connection requests
635         https://bugs.webkit.org/show_bug.cgi?id=174065
636         <rdar://problem/30359835>
637
638         Reviewed by Tim Horton.
639
640         Add a API to ensure UI process tries to relaunch a new network process when the network process
641         crashes with pending network connection requests.
642
643         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
644         * TestWebKitAPI/Tests/WebKit2/NetworkProcessCrashWithPendingConnection.mm: Added.
645         * TestWebKitAPI/cocoa/TestNavigationDelegate.h:
646         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm:
647         (-[TestNavigationDelegate webViewWebContentProcessDidTerminate:]): Added.
648
649 2017-07-03  Eric Carlson  <eric.carlson@apple.com>
650
651         [MediaStream] Protect request and web view during gUM client callback
652         https://bugs.webkit.org/show_bug.cgi?id=174096
653         <rdar://problem/32833102>
654
655         Reviewed by Youenn Fablet.
656
657         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
658         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: New test.
659
660 2017-07-03  Andy Estes  <aestes@apple.com>
661
662         [Xcode] Add an experimental setting to build with ccache
663         https://bugs.webkit.org/show_bug.cgi?id=173875
664
665         Reviewed by Tim Horton.
666
667         On systems that already have ccache(1) installed, this patch adds experimental support for
668         it to Xcode builds. It can be enabled with the WK_USE_CCACHE build setting.
669
670         When ccache is enabled, CC is overridden to invoke Tools/ccache/ccache-clang. This script
671         finds the "-isysroot" argument to determine the active SDK, uses xcrun(1) and the SDK to
672         find the toolchain from which to run clang, and then invokes ccache with the required
673         arguments.
674
675         ccache is invoked with CCACHE_SLOPPINESS="pch_defines,time_macros", which is required for
676         precompiled headers to work properly [1].
677
678         LDPLUSPLUS is overridden to invoke Tools/ccache/ccache-clang++. It behaves the same as
679         ccache-clang, except it tells ccache to execute clang++ instead of clang. This is important
680         during linking.
681         
682         [1] https://ccache.samba.org/manual.html#_precompiled_headers
683
684         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
685         * MiniBrowser/Configurations/DebugRelease.xcconfig: Ditto.
686         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig: Ditto.
687         * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Ditto.
688         * WebKitTestRunner/Configurations/DebugRelease.xcconfig: Ditto.
689         * ccache/README.md: Added.
690         * ccache/ccache-clang: Added.
691         * ccache/ccache-clang++: Added.
692         * ccache/ccache.xcconfig: Added. Overrides CC and LDPLUSPLUS when WK_USE_CACHE=YES.
693
694 2017-07-03  Alex Christensen  <achristensen@webkit.org>
695
696         REGRESSION(r215096) Queries of URLs with non-special schemes should not percent-encode single quotes
697         https://bugs.webkit.org/show_bug.cgi?id=174051
698
699         Reviewed by Tim Horton.
700
701         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
702         (TestWebKitAPI::TEST_F):
703
704 2017-07-03  Matt Lewis  <jlewis3@apple.com>
705
706         Unreviewed, rolling out r219024.
707
708         This patch cause 3 didferent test to fail.
709
710         Reverted changeset:
711
712         "REGRESSION(r215096) Queries of URLs with non-special schemes
713         should not percent-encode single quotes"
714         https://bugs.webkit.org/show_bug.cgi?id=174051
715         http://trac.webkit.org/changeset/219024
716
717 2017-07-03  Chris Dumez  <cdumez@apple.com>
718
719         Drop ResourceLoadStatisticsStore's statisticsLock
720         https://bugs.webkit.org/show_bug.cgi?id=174080
721
722         Reviewed by Brent Fulgham.
723
724         Port WebKitTestRunner to new Asynchronous Cocoa SPI.
725
726         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
727         (WTR::TestController::isStatisticsPrevalentResource):
728         (WTR::TestController::isStatisticsHasHadUserInteraction):
729         (WTR::TestController::isStatisticsGrandfathered):
730
731 2017-07-03  Wenson Hsieh  <wenson_hsieh@apple.com>
732
733         Pasting single words copied to UIPasteboard inserts URLs in editable areas
734         https://bugs.webkit.org/show_bug.cgi?id=174082
735         <rdar://problem/33046992>
736
737         Reviewed by Tim Horton.
738
739         Adds 3 new unit tests to UIPasteboardTests to test cases of pasting plain text and URLs.
740
741         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
742         (TestWebKitAPI::setUpWebViewForPasteboardTests):
743         (TestWebKitAPI::TEST):
744
745 2017-07-02  Brady Eidson  <beidson@apple.com>
746
747         Add API test for all parts of WebKit1 API related to favicons.
748         https://bugs.webkit.org/show_bug.cgi?id=174069
749
750         Reviewed by Andy Estes.
751
752         These two API tests cover all WebKit1 API related to icons.
753         
754         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
755         * TestWebKitAPI/Tests/mac/WebViewIconLoading.mm: Added.
756         (mainResourceData):
757         (defaultFaviconData):
758         (customFaviconData):
759         (imageFromData):
760         (+[IconLoadingProtocol canInitWithRequest:]):
761         (+[IconLoadingProtocol canonicalRequestForRequest:]):
762         (-[IconLoadingProtocol startLoading]):
763         (-[IconLoadingProtocol stopLoading]):
764         (-[IconLoadingFrameLoadDelegate webView:didReceiveIcon:forFrame:]):
765         (-[MainFrameIconKVO observeValueForKeyPath:ofObject:change:context:]):
766         (TestWebKitAPI::TEST):
767
768 2017-07-01  Dan Bernstein  <mitz@apple.com>
769
770         [iOS] Remove code only needed when building for iOS 9.x
771         https://bugs.webkit.org/show_bug.cgi?id=174068
772
773         Reviewed by Tim Horton.
774
775         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
776         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
777         (WTR::initializeWebViewConfiguration):
778         * WebKitTestRunner/ios/HIDEventGenerator.mm:
779         (-[HIDEventGenerator _createIOHIDEventType:]):
780
781 2017-07-01  Brady Eidson  <beidson@apple.com>
782
783         When setting a custom cookie storage location on a WKWebsiteDataStore, cookies aren't actually removed.
784         <rdar://problem/32410662> and https://bugs.webkit.org/show_bug.cgi?id=174035
785
786         Reviewed by Alex Christensen.
787
788         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
789
790 2017-07-01  Dan Bernstein  <mitz@apple.com>
791
792         [macOS] Remove code only needed when building for OS X Yosemite
793         https://bugs.webkit.org/show_bug.cgi?id=174067
794
795         Reviewed by Tim Horton.
796
797         * DumpRenderTree/mac/Configurations/Base.xcconfig:
798         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
799         * DumpRenderTree/mac/DumpRenderTree.mm:
800         (setDefaultsToConsistentValuesForTesting):
801         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
802         (-[DumpRenderTreeDraggingInfo resetSpringLoading]):
803         * MiniBrowser/Configurations/Base.xcconfig:
804         * MiniBrowser/Configurations/DebugRelease.xcconfig:
805         * TestWebKitAPI/Configurations/Base.xcconfig:
806         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
807         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
808         * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp:
809         (TestWebKitAPI::TEST_F):
810         * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm:
811         * TestWebKitAPI/Tests/mac/DragAndDropPasteboardTests.mm:
812         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
813         (TestWebKitAPI::TEST_F):
814         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
815         (TestWebKitAPI::TEST):
816         * WebKitTestRunner/Configurations/Base.xcconfig:
817         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
818         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
819         (WTR::InjectedBundle::platformInitialize):
820         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
821         (-[WebKitTestRunnerDraggingInfo resetSpringLoading]):
822
823 2017-07-01  Chris Dumez  <cdumez@apple.com>
824
825         Replace ResourceLoadStatisticsStore C API with Cocoa SPI
826         https://bugs.webkit.org/show_bug.cgi?id=174060
827
828         Reviewed by Brent Fulgham.
829
830         Port WebKitTestRunner over to the new Cocoa SPI.
831
832         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
833         (WTR::TestRunner::setStatisticsNotifyPagesWhenDataRecordsWereScanned):
834         (WTR::TestRunner::setStatisticsNotifyPagesWhenTelemetryWasCaptured):
835         Drop calls to the WKResourceLoadStatisticsStore C API here. Those were
836         no-ops since this code runs in the WebContent process, not the
837         UIProcess.
838
839         * WebKitTestRunner/TestController.cpp:
840         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
841
842 2017-06-30  Megan Gardner  <megan_gardner@apple.com>
843
844         Unreviewed mac build fix.
845
846         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm:
847         (TestWebKitAPI::TEST):
848
849 2017-06-30  Megan Gardner  <megan_gardner@apple.com>
850
851         Add API to get WKActivatedElementInfo
852         https://bugs.webkit.org/show_bug.cgi?id=174001
853         <rdar://problem/29165518>
854         
855         Tests for now SPI to get activatedElementInfo.
856
857         Reviewed by Tim Horton.
858
859         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
860         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm: Added.
861         (TestWebKitAPI::TEST):
862
863 2017-06-30  Chris Dumez  <cdumez@apple.com>
864
865         Move store logic from WebResourceLoadStatisticsManager to WebResourceLoadStatisticsStore
866         https://bugs.webkit.org/show_bug.cgi?id=174038
867
868         Reviewed by Brent Fulgham.
869
870         Fix typo in API name.
871
872         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
873         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
874         (WTR::TestRunner::setStatisticsMinimumTimeBetweenDataRecordsRemoval):
875         * WebKitTestRunner/InjectedBundle/TestRunner.h:
876         * WebKitTestRunner/TestController.cpp:
877         (WTR::TestController::setStatisticsMinimumTimeBetweenDataRecordsRemoval):
878         * WebKitTestRunner/TestController.h:
879         * WebKitTestRunner/TestInvocation.cpp:
880         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
881
882 2017-06-30  Alex Christensen  <achristensen@webkit.org>
883
884         REGRESSION(r215096) Queries of URLs with non-special schemes should not percent-encode single quotes
885         https://bugs.webkit.org/show_bug.cgi?id=174051
886         <rdar://problem/33002846>
887
888         Reviewed by Tim Horton.
889
890         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
891         (TestWebKitAPI::TEST_F):
892
893 2017-06-30  Daniel Bates  <dabates@apple.com>
894
895         API::FrameInfo should know the web page that contains the frame; add API property webView to WKFrameInfo
896         https://bugs.webkit.org/show_bug.cgi?id=165160
897         <rdar://problem/29451999>
898
899         Reviewed by Brady Eidson.
900
901         Add tests to ensure that -[WKFrameInfo webView] is computed correctly for the source and target frame
902         for navigations and window creation.
903
904         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
905         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm: Added. Derived from file ShouldOpenExternalURLsInNewWindowActions.mm.
906         (-[DecidePolicyForNavigationActionController webView:decidePolicyForNavigationAction:decisionHandler:]):
907         (-[DecidePolicyForNavigationActionController webView:didFinishNavigation:]):
908         (-[DecidePolicyForNavigationActionController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
909         (TEST):
910
911 2017-06-29  Jer Noble  <jer.noble@apple.com>
912
913         Make Legacy EME API controlled by RuntimeEnabled setting.
914         https://bugs.webkit.org/show_bug.cgi?id=173994
915
916         Reviewed by Sam Weinig.
917
918         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
919
920 2017-06-30  Jonathan Bedard  <jbedard@apple.com>
921
922         Follow-up fix for r218996
923
924         Unreviewed infrastructure fix.
925
926         Repeated calls to 'ios_version' make the log noisy, memoize the function.
927
928         * Scripts/webkitpy/port/ios_simulator.py:
929         (IOSSimulatorPort): Memoize ios_version().
930
931 2017-06-30  Wenson Hsieh  <wenson_hsieh@apple.com>
932
933         [iOS DnD] Drag caret rect is incorrectly computed when dropping in editable content in iframes
934         https://bugs.webkit.org/show_bug.cgi?id=174017
935         <rdar://problem/32959782>
936
937         Reviewed by Simon Fraser.
938
939         Add a new test verifying that the drag caret is visually contained within the bounds of an iframe. Before these
940         changes, the caret would appear outside of the iframe.
941
942         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
943         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-in-iframe.html: Added.
944         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
945         (checkDragCaretRectIsContainedInRect):
946         (TestWebKitAPI::TEST):
947         * TestWebKitAPI/ios/DataInteractionSimulator.h:
948         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
949         (-[DataInteractionSimulator _resetSimulatedState]):
950         (-[DataInteractionSimulator _concludeDataInteractionAndPerformOperationIfNecessary]):
951         (-[DataInteractionSimulator _advanceProgress]):
952         (-[DataInteractionSimulator lastKnownDragCaretRect]):
953
954 2017-06-30  Jonathan Bedard  <jbedard@apple.com>
955
956         Add support for different versions of iOS when loading test expectations
957         https://bugs.webkit.org/show_bug.cgi?id=173774
958         <rdar://problem/32951132>
959
960         Rubber-stamped by Aakash Jain.
961
962         When running layout tests, we should support multiple version of iOS the same way we do Mac.
963
964         * Scripts/webkitpy/port/ios.py:
965         (IOSPort.default_baseline_search_path): Add ios-<major version> test expectation.
966         (IOSPort.test_expectations_file_position): Added new file expectations, increment expected file position.
967         (IOSPort.ios_version): iOS ports must define a function to retrieve the iOS version.
968         * Scripts/webkitpy/port/ios_device.py:
969         (IOSDevicePort.ios_version): Ask connected devices for implementation.
970         * Scripts/webkitpy/port/ios_device_unittest.py:
971         (IOSDeviceTest.test_additional_platform_directory): Skip test until bug 173775 is finished.
972         (IOSDeviceTest.test_baseline_searchpath): Ditto.
973         (IOSDeviceTest.test_expectations_ordering): Ditto.
974         * Scripts/webkitpy/port/ios_simulator.py:
975         (IOSSimulatorPort.ios_version): If a runtime is specified, ask the runtime for the iOS version. Otherwise,
976         ask the platform.
977
978 2017-06-30  Jacobo Aragunde Pérez  <jaragunde@igalia.com>
979
980         Fontconfig build breaks with glibc 2.15+
981         https://bugs.webkit.org/show_bug.cgi?id=174019
982
983         Reviewed by Carlos Alberto Lopez Perez.
984
985         Apply patch by Khem Raj adapted to fontconfig 2.11.1.
986
987         * wpe/jhbuild.modules:
988         * wpe/patches/fontconfig-avoid-conflicts-with-integer-width-macros-from-TS-18.patch: Added.
989
990 2017-06-29  Wenson Hsieh  <wenson_hsieh@apple.com>
991
992         [iOS DnD] Web content process crashes when the selection is moved far offscreen in dragstart
993         https://bugs.webkit.org/show_bug.cgi?id=174010
994         <rdar://problem/32597802>
995
996         Reviewed by Tim Horton.
997
998         Adds a new API test to ensure that we don't crash trying to dereference a null RefPtr when the TextIndicator
999         snapshot fails for any reason.
1000
1001         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1002         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-change-selection-offscreen.html: Added.
1003         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1004         (TestWebKitAPI::TEST):
1005
1006 2017-06-29  Chris Fleizach  <cfleizach@apple.com>
1007
1008         AX: Cannot call setValue() on contenteditable or ARIA text controls
1009         https://bugs.webkit.org/show_bug.cgi?id=173520
1010
1011         Reviewed by Ryosuke Niwa.
1012
1013         Add setValue() method to WKTR (already existed in DRT).
1014
1015         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1016         (WTR::AccessibilityUIElement::setValue):
1017         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1018         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1019         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1020         (WTR::AccessibilityUIElement::setValue):
1021
1022 2017-06-28  Simon Fraser  <simon.fraser@apple.com>
1023
1024         getBoundingClientRect returns wrong value for combination of page zoom and scroll
1025         https://bugs.webkit.org/show_bug.cgi?id=173841
1026         rdar://problem/32983841
1027
1028         Reviewed by Dean Jackson.
1029
1030         Make "Zoom In" and "Zoom Out" work correctly in the WebKit1 window. Previously they
1031         always did text zooming.
1032
1033         * MiniBrowser/mac/WK1BrowserWindowController.m:
1034         (-[WK1BrowserWindowController zoomIn:]):
1035         (-[WK1BrowserWindowController zoomOut:]):
1036         (-[WK1BrowserWindowController canResetZoom]):
1037         (-[WK1BrowserWindowController resetZoom:]):
1038
1039 2017-06-29  John Wilander  <wilander@apple.com>
1040
1041         Fix for intermittent Layout Test fail http/tests/loading/resourceLoadStatistics/telemetry-generation.html
1042         https://bugs.webkit.org/show_bug.cgi?id=173940
1043         <rdar://problem/33018125>
1044
1045         Reviewed by Brent Fulgham.
1046
1047         This change allows the TestController to turn off
1048         regular resource load statistics telemetry submission
1049         and to manually control when telemetry is calculated
1050         and submitted.
1051
1052         * WebKitTestRunner/TestController.cpp:
1053         (WTR::TestController::initialize):
1054             Turns off automatic resource load statistics telemetry submission.
1055
1056 2017-06-29  Commit Queue  <commit-queue@webkit.org>
1057
1058         Unreviewed, rolling out r218512.
1059         https://bugs.webkit.org/show_bug.cgi?id=173981
1060
1061         "It changes the behavior of the JS API's JSEvaluateScript
1062         which breaks TurboTax" (Requested by saamyjoon on #webkit).
1063
1064         Reverted changeset:
1065
1066         "test262: Completion values for control flow do not match the
1067         spec"
1068         https://bugs.webkit.org/show_bug.cgi?id=171265
1069         http://trac.webkit.org/changeset/218512
1070
1071 2017-06-29  Jonathan Bedard  <jbedard@apple.com>
1072
1073         Add WebKitSystemInterface for iOS 11
1074         https://bugs.webkit.org/show_bug.cgi?id=173936
1075
1076         Reviewed by Lucas Forschler.
1077
1078         * Scripts/copy-webkitlibraries-to-product-directory: Copy iOS 11 WebKitSystemInterface libraries. 
1079
1080 2017-06-28  Keith Miller  <keith_miller@apple.com>
1081
1082         VMTraps has some races
1083         https://bugs.webkit.org/show_bug.cgi?id=173941
1084
1085         Reviewed by Michael Saboff.
1086
1087         Add new testing mode for testing the Watchdog with our stress
1088         tests.
1089
1090         * Scripts/run-jsc-stress-tests:
1091
1092 2017-06-29  Carlos Garcia Campos  <cgarcia@igalia.com>
1093
1094         [GTK][WPE] Implement API::IconLoadingClient and rework WebKitFaviconDatabase to use IconDatabase directly
1095         https://bugs.webkit.org/show_bug.cgi?id=173877
1096
1097         Reviewed by Brady Eidson.
1098
1099         Update favicons unit test to ensure we wait until the database is updated in testGetFavicon() before starting
1100         the next tests.
1101
1102         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp:
1103         (testGetFavicon):
1104
1105 2017-06-28  Tim Horton  <timothy_horton@apple.com>
1106
1107         MobileSafari was constantly using 10-15% CPU viewing a PDF
1108         https://bugs.webkit.org/show_bug.cgi?id=173944
1109         <rdar://problem/33039910>
1110
1111         Reviewed by Simon Fraser.
1112
1113         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1114         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewStablePresentationUpdateCallback.mm:
1115         Add a test that we ever call the stable presentation update callback
1116         when we have a WKPDFView up, instead of infinitely looping.
1117
1118 2017-06-28  Alex Christensen  <achristensen@webkit.org>
1119
1120         Prevent displaying URLs with small capital letters
1121         https://bugs.webkit.org/show_bug.cgi?id=173949
1122         <rdar://problem/32952058>
1123
1124         Reviewed by Brent Fulgham.
1125
1126         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
1127         (TestWebKitAPI::TEST):
1128
1129 2017-06-28  Brent Fulgham  <bfulgham@apple.com>
1130
1131         Unreviewed test fix.
1132
1133         Disable the file monitor tests on iOS because the 'system' API is unavailable on that platform.
1134
1135         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: 
1136
1137 2017-06-28  Brent Fulgham  <bfulgham@apple.com>
1138
1139         Teach ResourceLoadStatistics to recognize changes in the file system
1140         https://bugs.webkit.org/show_bug.cgi?id=173800
1141         <rdar://problem/32937842>
1142
1143         Reviewed by Chris Dumez.
1144
1145         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1146         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: Added.
1147         (TestWebKitAPI::FileMonitorTest::tempFilePath):
1148         (TestWebKitAPI::handleFileModification):
1149         (TestWebKitAPI::handleFileDeletion):
1150         (TestWebKitAPI::resetTestState):
1151         (TestWebKitAPI::TEST_F):
1152
1153 2017-06-28  Brady Eidson  <beidson@apple.com>
1154
1155         DocumentLoader should always notify the client if there are pending icon loads when the load is stopped.
1156         https://bugs.webkit.org/show_bug.cgi?id=173874
1157
1158         Reviewed by Alex Christensen.
1159
1160         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm:
1161
1162 2017-06-28  Don Olmstead  <don.olmstead@sony.com>
1163
1164         Unreviewed, adding Don Olmstead to contributors.json
1165
1166         * Scripts/webkitpy/common/config/contributors.json:
1167
1168 2017-06-28  Alex Christensen  <achristensen@webkit.org>
1169
1170         WebsitePolicies given with navigation policy for redirects should apply to the provisional document
1171         https://bugs.webkit.org/show_bug.cgi?id=173886
1172         <rdar://problem/32543191>
1173
1174         Reviewed by Andy Estes.
1175
1176         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
1177         (ParsedRange::ParsedRange):
1178         (-[TestSchemeHandler initWithVideoData:]):
1179         (-[TestSchemeHandler webView:startURLSchemeTask:]):
1180         (-[TestSchemeHandler webView:stopURLSchemeTask:]):
1181         (TEST):
1182
1183 2017-06-27  JF Bastien  <jfbastien@apple.com>
1184
1185         WebAssembly: running out of executable memory should throw OoM
1186         https://bugs.webkit.org/show_bug.cgi?id=171537
1187         <rdar://problem/32963338>
1188
1189         Reviewed by Saam Barati.
1190
1191         * Scripts/run-jsc-stress-tests: add a configuration which runs the
1192         tests under limited executable memory and avoids non-WebAssembly
1193         code generation so that we more reliably run out of executable
1194         memory in WebAssembly.
1195
1196 2017-06-27  Wenson Hsieh  <wenson_hsieh@apple.com>
1197
1198         [iOS DnD] Support dragging out of contenteditable areas without a prior selection
1199         https://bugs.webkit.org/show_bug.cgi?id=173854
1200         <rdar://problem/32236827>
1201
1202         Reviewed by Ryosuke Niwa and Tim Horton.
1203
1204         Adds a new test to check that an image can be dragged out of a contenteditable and dropped.
1205
1206         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1207         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-target.html: Added.
1208         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1209         (TestWebKitAPI::TEST):
1210
1211 2017-06-27  Don Olmstead  <don.olmstead@sony.com>
1212
1213         [PAL] Add symbol export macros for PAL
1214         https://bugs.webkit.org/show_bug.cgi?id=171519
1215
1216         Reviewed by Konstantin Tokarev.
1217
1218         * DumpRenderTree/config.h:
1219         * TestWebKitAPI/CMakeLists.txt:
1220         * TestWebKitAPI/config.h:
1221         * WebKitTestRunner/config.h:
1222
1223 2017-06-27  John Wilander  <wilander@apple.com>
1224
1225         Resource Load Statistics: Add telemetry
1226         https://bugs.webkit.org/show_bug.cgi?id=173499
1227         <rdar://problem/32826094>
1228
1229         Reviewed by Brent Fulgham.
1230
1231         Adds three new testRunner functions:
1232         - installStatisticsDidRunTelemetryCallback()
1233         - statisticsFireTelemetryHandler()
1234         - setStatisticsNotifyPagesWhenTelemetryWasCaptured()
1235
1236         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1237         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1238         (WTR::InjectedBundle::didReceiveMessageToPage):
1239         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1240         (WTR::TestRunner::installStatisticsDidRunTelemetryCallback):
1241         (WTR::TestRunner::statisticsDidRunTelemetryCallback):
1242         (WTR::TestRunner::statisticsFireTelemetryHandler):
1243         (WTR::TestRunner::setStatisticsNotifyPagesWhenTelemetryWasCaptured):
1244         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1245         * WebKitTestRunner/TestController.cpp:
1246         (WTR::TestController::resetStateToConsistentValues):
1247         (WTR::TestController::statisticsFireTelemetryHandler):
1248         (WTR::TestController::setStatisticsNotifyPagesWhenTelemetryWasCaptured):
1249         * WebKitTestRunner/TestController.h:
1250         * WebKitTestRunner/TestInvocation.cpp:
1251         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1252
1253 2017-06-27  Ting-Wei Lan  <lantw44@gmail.com>
1254
1255         Add missing includes to fix compilation error on FreeBSD
1256         https://bugs.webkit.org/show_bug.cgi?id=172919
1257
1258         Reviewed by Mark Lam.
1259
1260         * ImageDiff/cairo/PlatformImageCairo.cpp:
1261
1262 2017-06-26  Jonathan Bedard  <jbedard@apple.com>
1263
1264         Unreviewed, rolling out r218783.
1265
1266         Causing accessibility/mac/setting-attributes-is-
1267         asynchronous.html to crash consistently on mac-wk2 Debug
1268
1269         Reverted changeset:
1270
1271         "AX: Cannot call setValue() on contenteditable or ARIA text
1272         controls"
1273         https://bugs.webkit.org/show_bug.cgi?id=173520
1274         http://trac.webkit.org/changeset/218783
1275
1276 2017-06-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1277
1278         [WTF] Drop Thread::create(obsolete things) API since we can use lambda
1279         https://bugs.webkit.org/show_bug.cgi?id=173825
1280
1281         Reviewed by Saam Barati.
1282
1283         * DumpRenderTree/JavaScriptThreading.cpp:
1284         (runJavaScriptThread):
1285         (startJavaScriptThreads):
1286         * DumpRenderTree/mac/DumpRenderTree.mm:
1287         (runThread):
1288         (runPthread):
1289         (testThreadIdentifierMap):
1290
1291 2017-06-26  David Kilzer  <ddkilzer@apple.com>
1292
1293         [TestWebKitAPI] Fix false-positive bad release warnings found by clang static analyzer
1294         <https://webkit.org/b/173837>
1295
1296         Reviewed by Geoffrey Garen.
1297
1298         The clang static analyzer can't reason about objects that are
1299         assigned to a delegate as +1 retained, and then released
1300         later in a different method when the delegate is cleared.
1301
1302         Instead, use a common idiom where the object setting the
1303         delegate retains it as an instance variable on initialization.
1304         Then the same object clears the delegate and releases its
1305         instance variable during teardown.
1306
1307         Also add EXPECT_TRUE() tests to make sure the delegate objects
1308         match before teardown.
1309
1310         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1311         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
1312         (TestWebKitAPI::FullscreenZoomInitialFrame::teardownView):
1313         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
1314         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
1315         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::teardownView):
1316
1317 2017-06-26  David Kilzer  <ddkilzer@apple.com>
1318
1319         [TestWebKitAPI] REGRESSION (r218750): Fix leak of NSURLResponse in WKURLSchemeHandler-1.mm
1320         <https://webkit.org/b/173836>
1321
1322         Reviewed by Brady Eidson.
1323
1324         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
1325         (-[RedirectSchemeHandler webView:startURLSchemeTask:]): Use
1326         adoptNS() to fix the leak.  Also use auto/adoptNS() for other
1327         objects in this test.
1328
1329 2017-06-26  Joanmarie Diggs  <jdiggs@igalia.com>
1330
1331         [ATK] Add support for aria-details and aria-errormessage
1332         https://bugs.webkit.org/show_bug.cgi?id=172588
1333
1334         Reviewed by Chris Fleizach.
1335
1336         Add additional methods to test ARIA properties which are exposed via
1337         AtkRelation. Also bump minimum versions of at-spi2-core and at-spi2-atk
1338         to versions which support the details and error-message relation types.
1339
1340         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1341         (WTR::AccessibilityUIElement::ariaDetailsElementAtIndex):
1342         (WTR::AccessibilityUIElement::ariaDetailsReferencingElementAtIndex):
1343         (WTR::AccessibilityUIElement::ariaErrorMessageElementAtIndex):
1344         (WTR::AccessibilityUIElement::ariaErrorMessageReferencingElementAtIndex):
1345         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1346         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1347         (WTR::AccessibilityUIElement::ariaDetailsElementAtIndex):
1348         (WTR::AccessibilityUIElement::ariaDetailsReferencingElementAtIndex):
1349         (WTR::AccessibilityUIElement::ariaErrorMessageElementAtIndex):
1350         (WTR::AccessibilityUIElement::ariaErrorMessageReferencingElementAtIndex):
1351         * gtk/jhbuild.modules:
1352
1353 2017-06-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1354
1355         Unreviewed. Add libfii to GTK+ install dependencies script.
1356
1357         * gtk/install-dependencies:
1358
1359 2017-06-25  Michael Catanzaro  <mcatanzaro@igalia.com>
1360
1361         Unreviewed, rolling out r215190.
1362
1363         Broke product select element on GNOME Bugzilla
1364
1365         Reverted changeset:
1366
1367         "[GTK] Misplaced right click menu on web page due to
1368         deprecated gtk_menu_popup()"
1369         https://bugs.webkit.org/show_bug.cgi?id=170553
1370         http://trac.webkit.org/changeset/215190
1371
1372 2017-06-24  Joseph Pecoraro  <pecoraro@apple.com>
1373
1374         Remove Reflect.enumerate
1375         https://bugs.webkit.org/show_bug.cgi?id=173806
1376
1377         Reviewed by Yusuke Suzuki.
1378
1379         * Scripts/run-jsc-stress-tests:
1380
1381 2017-06-24  Chris Fleizach  <cfleizach@apple.com>
1382
1383         AX: Cannot call setValue() on contenteditable or ARIA text controls
1384         https://bugs.webkit.org/show_bug.cgi?id=173520
1385
1386         Reviewed by Ryosuke Niwa.
1387
1388         Add setValue() method to WKTR (already existed in DRT).
1389
1390         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1391         (WTR::AccessibilityUIElement::setValue):
1392         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1393         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1394         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1395         (WTR::AccessibilityUIElement::setValue):
1396
1397 2017-06-23  Keith Miller  <keith_miller@apple.com>
1398
1399         Switch VMTraps to use halt instructions rather than breakpoint instructions
1400         https://bugs.webkit.org/show_bug.cgi?id=173677
1401
1402         Reviewed by JF Bastien.
1403
1404         * TestWebKitAPI/Tests/WTF/ThreadMessages.cpp:
1405         (TEST):
1406
1407 2017-06-23  Youenn Fablet  <youenn@apple.com>
1408
1409         Set getUserMedia permission to true by default on WTR
1410         https://bugs.webkit.org/show_bug.cgi?id=173610
1411
1412         Reviewed by Alex Christensen.
1413
1414         Adding a way to reset the getUserMedia permission to pending.
1415
1416         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1417         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1418         (WTR::InjectedBundle::setUserMediaPermissionAsUnset):
1419         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1420         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1421         (WTR::TestRunner::setUserMediaPermissionAsUnset):
1422         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1423         * WebKitTestRunner/TestController.cpp:
1424         (WTR::TestController::resetStateToConsistentValues):
1425         (WTR::TestController::setUserMediaPermissionAsUnset):
1426         * WebKitTestRunner/TestController.h:
1427         * WebKitTestRunner/TestInvocation.cpp:
1428         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1429
1430 2017-06-23  Alex Christensen  <achristensen@webkit.org>
1431
1432         Add SPI to WKURLSchemeTask for redirection
1433         https://bugs.webkit.org/show_bug.cgi?id=173730
1434
1435         Reviewed by Brady Eidson.
1436
1437         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
1438         (-[SchemeHandler webView:startURLSchemeTask:]):
1439         (-[SchemeHandler webView:stopURLSchemeTask:]):
1440         (TEST):
1441         (-[RedirectSchemeHandler webView:startURLSchemeTask:]):
1442         (-[RedirectSchemeHandler webView:stopURLSchemeTask:]):
1443         (-[RedirectSchemeHandler webView:didReceiveServerRedirectForProvisionalNavigation:]):
1444         (-[RedirectSchemeHandler webView:decidePolicyForNavigationResponse:decisionHandler:]):
1445         (-[RedirectSchemeHandler userContentController:didReceiveScriptMessage:]):
1446
1447 2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1448
1449         [WPE] Use JSC API to send script messages from web extension in tests
1450         https://bugs.webkit.org/show_bug.cgi?id=173757
1451
1452         Reviewed by Žan Doberšek.
1453
1454         The GTK+ uses DOM bindings to send the messages. We can just build the message string and use JSEvaluateScript
1455         to run postMessage().
1456
1457         Fixes: /wpe/WebKitSecurityManager/file-xhr
1458                /wpe/WebKitConsoleMessage/console-api
1459                /wpe/WebKitConsoleMessage/js-exception
1460                /wpe/WebKitConsoleMessage/network-error
1461                /wpe/WebKitConsoleMessage/security-error
1462
1463         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:
1464         (testWebKitConsoleMessageSecurityError): Remove ifdefs.
1465         (beforeAll): Ditto.
1466         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:
1467         (testWebContextSecurityFileXHR): Ditto.
1468         (beforeAll): Ditto.
1469         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
1470         (consoleMessageSentCallback): Use JSEvaluateScript in WPE. We need to escape the '"' in the message string.
1471         (pageCreatedCallback): Remove ifdefs.
1472
1473 2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1474
1475         Unreviewed. Fix WPE /wpe/WebKitWebView/javascript-dialogs and /wpe/WebKitWebView/window-properties
1476
1477         Skip onbeforeunload dialog tests for now in WPE since we don't have a implemention for
1478         simulateUserInteraction(). And do not expect changes in "geometry" property of WebKitWindowProperties that
1479         doesn't exist yet in WPE.
1480
1481         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
1482         (testWebViewJavaScriptDialogs):
1483         (testWebViewWindowProperties):
1484
1485 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1486
1487         [GTK] Upgrade pixman and cairo in jhbuild
1488         https://bugs.webkit.org/show_bug.cgi?id=173710
1489
1490         Reviewed by Carlos Alberto Lopez Perez.
1491
1492         * gtk/jhbuild.modules:
1493
1494 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1495
1496         REGRESSION(r218686): [GTK] Several unit tests are failing after r218686 in the bots
1497         https://bugs.webkit.org/show_bug.cgi?id=173711
1498
1499         Reviewed by Carlos Alberto Lopez Perez.
1500
1501         I can't reproduce it locally, but it's complaining about a g_setenv() and I only added one in r218686 to recover
1502         the XDG_RUNTIME_DIR, because it's required by Wayland to work. So, I guess that env var is not set in the bots.
1503
1504         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.cpp:
1505         (WebKitTestBus::run): Ensure value is not nullptr before calling g_setenv().
1506
1507 2017-06-22  David Kilzer  <ddkilzer@apple.com>
1508
1509         REGRESSION (r218419): 7 leaks in PluginLoadClientPolicies.mm
1510         <https://webkit.org/b/173721>
1511
1512         Reviewed by Joseph Pecoraro.
1513
1514         Use RetainPtr<> to create NSMutableDictionary and NSNumber
1515         objects to fix leaks and to avoid the autoreleasepool.
1516
1517         * TestWebKitAPI/Tests/WebKit2Cocoa/PluginLoadClientPolicies.mm:
1518         (TEST):
1519
1520 2017-06-22  Matt Lewis  <jlewis3@apple.com>
1521
1522         Unreviewed, rolling out r218633.
1523
1524         The test is failing frequently on Sierra Debug and Windows
1525
1526         Reverted changeset:
1527
1528         "AX: Cannot call setValue() on contenteditable or ARIA text
1529         controls"
1530         https://bugs.webkit.org/show_bug.cgi?id=173520
1531         http://trac.webkit.org/changeset/218633
1532
1533 2017-06-22  David Kilzer  <ddkilzer@apple.com>
1534
1535         [TestWebKitAPI] Fix misuse of -[NSData dataWithBytesNoCopy:length:] with global variables
1536         <https://webkit.org/b/173690>
1537
1538         Reviewed by Chris Dumez.
1539
1540         Per documentation, -[NSData dataWithBytesNoCopy:length:] takes
1541         ownership of malloc()-ed memory, then frees it when it's
1542         released.  These tests were passing global variables into the
1543         method, which is not malloc()-ed memory, which violates the API
1544         contract.
1545
1546         The fix is to switch to use
1547         -[NSData dataWithBytesNoCopy:length:freeWhenDone:] and to pass
1548         NO for the last argument.
1549
1550         Caught by the clang static analyzer.
1551
1552         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm:
1553         (TEST):
1554         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
1555         (TEST):
1556
1557 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1558
1559         [GTK] Upgrade Harfbuzz to version 1.4.2
1560         https://bugs.webkit.org/show_bug.cgi?id=173592
1561
1562         Reviewed by Carlos Alberto Lopez Perez.
1563
1564         * gtk/jhbuild.modules:
1565
1566 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1567
1568         [WPE] Update WPEBackend-mesa
1569         https://bugs.webkit.org/show_bug.cgi?id=173705
1570
1571         Reviewed by Carlos Alberto Lopez Perez.
1572
1573         A crash has been fixed, needed for unit tests to work.
1574
1575         * wpe/jhbuild.modules:
1576
1577 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1578
1579         Remove unused coordinated graphics C API
1580         https://bugs.webkit.org/show_bug.cgi?id=173706
1581
1582         Reviewed by Žan Doberšek.
1583
1584         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp: Removed.
1585         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp: Removed.
1586         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward.cpp: Removed.
1587         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp: Removed.
1588         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward1.html: Removed.
1589         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward2.html: Removed.
1590
1591 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1592
1593         [WPE] Build glib API tests
1594         https://bugs.webkit.org/show_bug.cgi?id=173702
1595
1596         Reviewed by Žan Doberšek.
1597
1598         Many of the tests pass without problems, others need to be investigated, and some others are known issues. The
1599         main difference between the GTK+ and WPE WebKitWebView is that in GTK+ it's a GtkWidget, so initially
1600         unowned. The tests assume that webkit_web_view_new methods return a floating reference. This patch adds
1601         Test::adoptView() method that returns a GRefPtr<WebKitWebView> with a different implementation in GTK+ and
1602         WPE. In the case of GTK+, it sinks the floating reference, while in WPE it simply adopts the reference. Another
1603         difference is that in GTK+ the web view is initially hidden and needs to be added to a window to make it
1604         visible. Also, some tests need the web view to be realized to work, and others need that the view is added to a
1605         toplevel window, instead of a popup window. All those things are not needed at all in WPE. I've added several
1606         #ifdefs with FIXME comments for the things that we know don't work in WPE yet, for example, because we haven't
1607         implemented the methods to send events to the web view. Those will be removed eventually when we fix the issues
1608         and implement the missing features.
1609
1610         * CMakeLists.txt:
1611         * TestWebKitAPI/Tests/WebKit2Gtk/EditorTest.cpp:
1612         * TestWebKitAPI/Tests/WebKitGLib/FrameTest.cpp:
1613         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:
1614         (testAutomationSessionRequestSession):
1615         * TestWebKitAPI/Tests/WebKitGLib/TestBackForwardList.cpp:
1616         (testWebKitWebViewSessionState):
1617         (testWebKitWebViewSessionStateWithFormData):
1618         (testWebKitWebViewNavigationAfterSessionRestore):
1619         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:
1620         (beforeAll):
1621         * TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp:
1622         (testCookieManagerEphemeral):
1623         * TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:
1624         (testBlobDownload):
1625         (beforeAll):
1626         * TestWebKitAPI/Tests/WebKitGLib/TestFrame.cpp:
1627         * TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp:
1628         * TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:
1629         (testProcessPerWebView):
1630         * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp:
1631         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
1632         (testWebViewCreateNavigationData):
1633         (testWebViewJavaScriptDialogs):
1634         (testWebViewWindowProperties):
1635         (testWebViewMouseTarget):
1636         (testWebViewGeolocationPermissionRequests):
1637         (testWebViewUserMediaPermissionRequests):
1638         (testWebViewAudioOnlyUserMediaPermissionRequests):
1639         (testWebViewFileChooserRequest):
1640         (beforeAll):
1641         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
1642         (beforeAll):
1643         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp:
1644         (testPrivateBrowsing):
1645         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFindController.cpp:
1646         (testFindControllerHide):
1647         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp:
1648         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
1649         (testWebKitSettings):
1650         (beforeAll):
1651         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitUserContentManager.cpp:
1652         (testWebViewNewWithUserContentManager):
1653         (beforeAll):
1654         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:
1655         (testWebContextEphemeral):
1656         (testWebContextProxySettings):
1657         (beforeAll):
1658         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp:
1659         (testWebViewWebContext):
1660         (testWebViewWebContextLifetime):
1661         (testWebViewEphemeral):
1662         (testWebViewSettings):
1663         (testWebViewCanShowMIMEType):
1664         (testWebViewPageVisibility):
1665         (testWebViewIsPlayingAudio):
1666         (beforeAll):
1667         * TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp:
1668         (testWebsiteDataEphemeral):
1669         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
1670         (documentLoadedCallback):
1671         (pageCreatedCallback):
1672         (methodCallCallback):
1673         * TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.h:
1674         * TestWebKitAPI/glib/CMakeLists.txt:
1675         * TestWebKitAPI/glib/PlatformGTK.cmake:
1676         * TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.cpp:
1677         * TestWebKitAPI/glib/WebKitGLib/TestMain.cpp:
1678         (main):
1679         * TestWebKitAPI/glib/WebKitGLib/TestMain.h:
1680         (Test::adoptView):
1681         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.cpp:
1682         (WebKitTestBus::run):
1683         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp:
1684         (WebViewTest::~WebViewTest):
1685         (WebViewTest::initializeWebView):
1686         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:
1687         * TestWebKitAPI/glib/WebKitGLib/gtk/WebViewTestGtk.cpp: Added.
1688         (WebViewTest::platformDestroy):
1689         (WebViewTest::platformInitializeWebView):
1690         (WebViewTest::quitMainLoopAfterProcessingPendingEvents):
1691         (WebViewTest::resizeView):
1692         (WebViewTest::hideView):
1693         (parentWindowMapped):
1694         (WebViewTest::showInWindow):
1695         (WebViewTest::showInWindowAndWaitUntilMapped):
1696         (WebViewTest::mouseMoveTo):
1697         (WebViewTest::clickMouseButton):
1698         (WebViewTest::emitPopupMenuSignal):
1699         (WebViewTest::keyStroke):
1700         (WebViewTest::doMouseButtonEvent):
1701         * TestWebKitAPI/glib/WebKitGLib/wpe/WebViewTestWPE.cpp: Copied from Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.h.
1702         (WebViewTest::platformDestroy):
1703         (WebViewTest::platformInitializeWebView):
1704         (WebViewTest::quitMainLoopAfterProcessingPendingEvents):
1705         (WebViewTest::resizeView):
1706         (WebViewTest::hideView):
1707         (WebViewTest::mouseMoveTo):
1708         (WebViewTest::clickMouseButton):
1709         (WebViewTest::keyStroke):
1710
1711 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1712
1713         [GTK] Move WebKit2 GLib API tests to glib directories
1714         https://bugs.webkit.org/show_bug.cgi?id=173642
1715
1716         Reviewed by Žan Doberšek.
1717
1718         * CMakeLists.txt:
1719         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Removed.
1720         * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Removed.
1721         * TestWebKitAPI/Tests/WebKitGLib/FrameTest.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp.
1722         * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp.
1723         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestAutomationSession.cpp.
1724         * TestWebKitAPI/Tests/WebKitGLib/TestBackForwardList.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp.
1725         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp.
1726         (testWebKitConsoleMessageNetworkError):
1727         * TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp.
1728         * TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp.
1729         * TestWebKitAPI/Tests/WebKitGLib/TestFrame.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestFrame.cpp.
1730         * TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp.
1731         (testLoadFromGResource):
1732         * TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp.
1733         * TestWebKitAPI/Tests/WebKitGLib/TestResources.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp.
1734         * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp.
1735         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp.
1736         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp.
1737         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp.
1738         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFindController.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp.
1739         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitPolicyClient.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp.
1740         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSecurityOrigin.cpp.
1741         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp.
1742         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitUserContentManager.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp.
1743         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp.
1744         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp.
1745         (testWebViewRunJavaScript):
1746         * TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebsiteData.cpp.
1747         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp.
1748         (registerGResource):
1749         * TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp.
1750         * TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.h: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h.
1751         * TestWebKitAPI/Tests/WebKitGLib/resources/blank.ico: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/blank.ico.
1752         * TestWebKitAPI/Tests/WebKitGLib/resources/boring.html: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html.
1753         * TestWebKitAPI/Tests/WebKitGLib/resources/link-title.js: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/link-title.js.
1754         * TestWebKitAPI/Tests/WebKitGLib/resources/silence.mpg: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/silence.mpg.
1755         * TestWebKitAPI/Tests/WebKitGLib/resources/simple.json: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/simple.json.
1756         * TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test-cert.pem.
1757         * TestWebKitAPI/Tests/WebKitGLib/resources/test-key.pem: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test-key.pem.
1758         * TestWebKitAPI/Tests/WebKitGLib/resources/test.pdf: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test.pdf.
1759         * TestWebKitAPI/Tests/WebKitGLib/resources/track.ogg: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/track.ogg.
1760         * TestWebKitAPI/Tests/WebKitGLib/resources/webkitglib-tests.gresource.xml: Added.
1761         * TestWebKitAPI/glib/CMakeLists.txt: Added.
1762         * TestWebKitAPI/glib/PlatformGTK.cmake: Added.
1763         * TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp.
1764         * TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h.
1765         * TestWebKitAPI/glib/WebKitGLib/TestMain.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp.
1766         (registerGResource):
1767         * TestWebKitAPI/glib/WebKitGLib/TestMain.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h.
1768         (Test::getResourcesDir):
1769         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp.
1770         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h.
1771         * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp.
1772         * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h.
1773         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp.
1774         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h.
1775
1776 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1777
1778         [WPE] Add initial web extensions API
1779         https://bugs.webkit.org/show_bug.cgi?id=173640
1780
1781         Reviewed by Žan Doberšek.
1782
1783         Add style checker exceptions for WPE web extensions API files.
1784
1785         * Scripts/webkitpy/style/checker.py:
1786
1787 2017-06-21  Wenson Hsieh  <wenson_hsieh@apple.com>
1788
1789         [iOS DnD] [WK2] Cancelling a drag interaction using the ObjC SPI causes subsequent dragging to fail
1790         https://bugs.webkit.org/show_bug.cgi?id=173659
1791         <rdar://problem/32879788>
1792
1793         Reviewed by Tim Horton.
1794
1795         Adds a new test to verify that a lift cancelled within the UI process does not cause subsequent dragging to fail.
1796
1797         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-target-div.html:
1798
1799         Augment this test page to log dragend and dragstart events on the drag source as well.
1800
1801         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1802         (checkStringArraysAreEqual):
1803         (TestWebKitAPI::TEST):
1804
1805 2017-06-21  Antoine Quint  <graouts@apple.com>
1806
1807         Ensure DRT always logs rAF suspension debugging code
1808         https://bugs.webkit.org/show_bug.cgi?id=173681
1809
1810         Reviewed by Tim "Mr. T" Horton.
1811
1812         * DumpRenderTree/mac/DumpRenderTree.mm:
1813         (resetWebPreferencesToConsistentValues):
1814
1815 2017-06-21  Chris Dumez  <cdumez@apple.com>
1816
1817         Allow constructing a WTF:Function from a function pointer
1818         https://bugs.webkit.org/show_bug.cgi?id=173660
1819
1820         Reviewed by Alex Christensen.
1821
1822         Add API test coverage.
1823
1824         * TestWebKitAPI/Tests/WTF/Function.cpp:
1825         (TestWebKitAPI::returnThree):
1826         (TestWebKitAPI::returnFour):
1827         (TestWebKitAPI::returnPassedValue):
1828         (TestWebKitAPI::TEST):
1829
1830 2017-06-21  Antoine Quint  <graouts@apple.com>
1831
1832         Add logging to identify when the Page suspends scripted animations
1833         https://bugs.webkit.org/show_bug.cgi?id=173626
1834
1835         Reviewed by Tim Horton.
1836
1837         Turn the new logging on for WK1/DRT since the issue we're trying to pinpoint only occurs on WK1 bots.
1838
1839         * DumpRenderTree/mac/DumpRenderTree.mm:
1840         (resetWebPreferencesToConsistentValues):
1841
1842 2017-06-21  Chris Fleizach  <cfleizach@apple.com>
1843
1844         AX: Cannot call setValue() on contenteditable or ARIA text controls
1845         https://bugs.webkit.org/show_bug.cgi?id=173520
1846
1847         Reviewed by Ryosuke Niwa.
1848
1849         Add setValue() method to WKTR (already existed in DRT).
1850
1851         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1852         (WTR::AccessibilityUIElement::setValue):
1853         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1854         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1855         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1856         (WTR::AccessibilityUIElement::setValue):
1857
1858 2017-06-21  Zan Dobersek  <zdobersek@igalia.com>
1859
1860         List libtasn1 packages in GTK+ and WPE install-dependencies scripts
1861         as one of the dependencies required to build the product.
1862
1863         Rubber-stamped by Carlos Garcia Campos.
1864
1865         * gtk/install-dependencies:
1866         * wpe/install-dependencies:
1867
1868 2017-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
1869
1870         Disable font variations on macOS Sierra and iOS 10
1871         https://bugs.webkit.org/show_bug.cgi?id=173618
1872         <rdar://problem/32879164>
1873
1874         Reviewed by Jon Lee.
1875
1876         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1877
1878 2017-06-20  Wenson Hsieh  <wenson_hsieh@apple.com>
1879
1880         [iOS DnD] [WK2] Remove custom logic for disambiguating long press action sheet gestures and drag lift
1881         https://bugs.webkit.org/show_bug.cgi?id=173578
1882         <rdar://problem/32825028>
1883
1884         Reviewed by Tim Horton.
1885
1886         Slight tweak to ensure that DataInteractionTests.CustomActionSheetPopover still passes and verifies that showing
1887         a custom popover does not cause dragging to fail when the popover is presented.
1888
1889         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
1890         (-[DataInteractionSimulator _advanceProgress]):
1891
1892 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1893
1894         [WPE] Add initial implementation of glib API
1895         https://bugs.webkit.org/show_bug.cgi?id=173546
1896
1897         Reviewed by Žan Doberšek.
1898
1899         Disable geolocation because WPE doesn't implement any provider and update the style checker exceptions to
1900         include WPE glib API files.
1901
1902         * Scripts/webkitperl/FeatureList.pm:
1903         * Scripts/webkitpy/style/checker.py:
1904         * Scripts/webkitpy/style/checkers/cpp.py:
1905         (check_identifier_name_in_declaration):
1906
1907 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1908
1909         [GTK] Upgrade to ICU to version 57.1
1910         https://bugs.webkit.org/show_bug.cgi?id=173538
1911
1912         Reviewed by Žan Doberšek.
1913
1914         * gtk/jhbuild.modules:
1915
1916 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1917
1918         [GTK] Remove unneeded modules from the jhbuild
1919         https://bugs.webkit.org/show_bug.cgi?id=170540
1920
1921         Reviewed by Michael Catanzaro.
1922
1923         We are building libxslt and libffi that we don't really need to build from sources.
1924
1925         * gtk/jhbuild.modules:
1926
1927 2017-06-19  Frederic Wang  <fwang@igalia.com>
1928
1929         [Mac] Add an experimental feature setting for async frame scrolling
1930         https://bugs.webkit.org/show_bug.cgi?id=173359
1931
1932         Reviewed by Simon Fraser.
1933
1934         * DumpRenderTree/mac/DumpRenderTree.mm:
1935         (enableExperimentalFeatures): Do not enable async frame scrolling for now.
1936         (resetWebPreferencesToConsistentValues): Disable async frame scrolling by default.
1937         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1938         (WTR::InjectedBundle::beginTesting): Initalize to async frame scrolling to false.
1939
1940 2017-06-19  Guillaume Emont  <guijemont@igalia.com>
1941
1942         Unreviewed, adding myself to contributors.json
1943
1944         * Scripts/webkitpy/common/config/contributors.json:
1945
1946 2017-06-19  Joseph Pecoraro  <pecoraro@apple.com>
1947
1948         test262: Completion values for control flow do not match the spec
1949         https://bugs.webkit.org/show_bug.cgi?id=171265
1950
1951         Reviewed by Saam Barati.
1952
1953         * Scripts/run-jsc-stress-tests:
1954         Include a :failDueToOutdatedOrBadTest to mark failures with justification.
1955
1956 2017-06-19  Zalan Bujtas  <zalan@apple.com>
1957
1958         Opening certain mails brings up a mail that grows indefinitely.
1959         https://bugs.webkit.org/show_bug.cgi?id=173562
1960         <rdar://problem/32766579>
1961
1962         Reviewed by Tim Horton.
1963
1964         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
1965         (TEST):
1966
1967 2017-06-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1968
1969         [iOS DnD] Support .zip archives for file uploads via drag and drop
1970         https://bugs.webkit.org/show_bug.cgi?id=173511
1971         <rdar://problem/32521025>
1972
1973         Reviewed by Tim Horton.
1974
1975         Adds tests for dropping .zip archives into a JavaScript-based file upload area, as well as into a file input.
1976         Also verifies that URLs are not handled as file drops. See WebCore ChangeLog for more details.
1977
1978         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1979         * TestWebKitAPI/Tests/WebKit2Cocoa/compressed-files.zip: Added.
1980         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1981         (testZIPArchive):
1982         (TestWebKitAPI::TEST):
1983
1984 2017-06-18  Darin Adler  <darin@apple.com>
1985
1986         Fix Ref to deref before assignment, add tests for this to RefPtr, Ref, Function
1987         https://bugs.webkit.org/show_bug.cgi?id=173526
1988
1989         Reviewed by Sam Weinig.
1990
1991         * TestWebKitAPI/CMakeLists.txt: Added Function.cpp.
1992         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
1993
1994         * TestWebKitAPI/Tests/WTF/Function.cpp: Added. Contains basic tests and some
1995         tests for assignment before destruction ones.
1996
1997         * TestWebKitAPI/Tests/WTF/MoveOnly.h: Added a () operator so this can be used
1998         as a function, so it can be used in WTF::Function tests.
1999
2000         * TestWebKitAPI/Tests/WTF/Ref.cpp: Use EXPECT macros insead of ASSERT.
2001         Added tests for swap and for assignment before deref.
2002
2003         * TestWebKitAPI/Tests/WTF/RefLogger.cpp: Stopped using inlining; no good reason
2004         to inline everything. Also removed the unnecessary clearing of the log every time
2005         the DerivedRefLogger constructor is called.
2006         * TestWebKitAPI/Tests/WTF/RefLogger.h: Ditto.
2007
2008         * TestWebKitAPI/Tests/WTF/RefPtr.cpp: Use EXPECT macros instead of ASSERT.
2009         Added tests for assignment before deref and similar for releaseNonNull.
2010
2011 2017-06-19  Sam Weinig  <sam@webkit.org>
2012
2013         [WebIDL] Properly model buffer source / typed arrays as their own IDL types
2014         https://bugs.webkit.org/show_bug.cgi?id=173513
2015
2016         Reviewed by Alex Christensen.
2017
2018         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
2019         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2020         Replace IsNonPointerType subroutine with IsPrimitiveType so we can remove IsNonPointerType.
2021
2022 2017-06-19  Per Arne Vollan  <pvollan@apple.com>
2023
2024         [Win] fast/dom/assign-to-window-status.html is flaky.
2025         https://bugs.webkit.org/show_bug.cgi?id=173512
2026
2027         Reviewed by Alex Christensen.
2028
2029         We should not dump status callbacks when test is done.
2030
2031         * DumpRenderTree/win/UIDelegate.cpp:
2032         (UIDelegate::setStatusText):
2033
2034 2017-06-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2035
2036         [WPE][JHBuild] Update WPEBackend-mesa
2037         https://bugs.webkit.org/show_bug.cgi?id=173433
2038
2039         Unreviewed.
2040
2041         Update WPEBackend-mesa back (like it was done originally in r218344)
2042         after fixing the issue with the DISPLAY environment variables that
2043         caused the crashes.
2044
2045         * wpe/jhbuild.modules:
2046
2047 2017-06-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2048
2049         Rename unit test file after r218482
2050         https://bugs.webkit.org/show_bug.cgi?id=173483
2051
2052         Unreviewed.
2053
2054         * Scripts/webkitpy/port/waylanddriver_unittest.py: Renamed from Tools/Scripts/webkitpy/port/wayland_unittest.py.
2055
2056 2017-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2057
2058         Unreviewed. Fix wrong style checker condition added in r218487.
2059
2060         * Scripts/webkitpy/style/checkers/cpp.py:
2061         (check_identifier_name_in_declaration):
2062
2063 2017-06-19  Adrian Perez de Castro  <aperez@igalia.com>
2064
2065         Missing <functional> includes make builds fail with GCC 7.x
2066         https://bugs.webkit.org/show_bug.cgi?id=173544
2067
2068         Unreviewed gardening.
2069
2070         Fix compilation with GCC 7.
2071
2072         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2073         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
2074
2075 2017-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2076
2077         [GTK] Move GTK+ API files that could be shared to glib dirs
2078         https://bugs.webkit.org/show_bug.cgi?id=173545
2079
2080         Reviewed by Žan Doberšek.
2081
2082         Update paths of GTK+ API in watchlist and style checker.
2083
2084         * Scripts/webkitpy/common/config/watchlist:
2085         * Scripts/webkitpy/style/checker.py:
2086         * Scripts/webkitpy/style/checkers/cpp.py:
2087         (check_identifier_name_in_declaration):
2088
2089 2017-06-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2090
2091         Port setup_environ_for_server should not set environment variables related with the driver.
2092         https://bugs.webkit.org/show_bug.cgi?id=173483
2093
2094         Reviewed by Carlos Garcia Campos.
2095
2096         The port setup_environ_for_server() should not set environment variables
2097         that depend on the type of driver (like DISPLAY or GDK_BACKEND).
2098         This varibles should be only set on the driver setup_environ_for_test().
2099
2100         This causes that (for example) the variable DISPLAY or XAUTHORITY leaks
2101         into the test environment even when running the tests with a driver
2102         that is not the Xorg or Xvfb one.
2103
2104         * Scripts/webkitpy/port/base.py: Stop setting XAUTHORITY and DISPLAY here.
2105         (Port.to.setup_environ_for_server):
2106         * Scripts/webkitpy/port/driver.py: Remove unneded WEBKIT_OUTPUTDIR that is already set on base.py
2107         (Driver._setup_environ_for_driver):
2108         * Scripts/webkitpy/port/driver_unittest.py:
2109         (DriverTest.test_setup_environ_for_test):
2110         (DriverTest):
2111         (DriverTest.test_setup_environ_base_vars):
2112         * Scripts/webkitpy/port/gtk.py: Stop setting GDK_BACKEND here and do that on the driver (Xvfb).
2113         (GtkPort.setup_environ_for_server):
2114         * Scripts/webkitpy/port/wayland_unittest.py: Added.
2115         (WaylandDriverTest):
2116         (WaylandDriverTest.make_driver):
2117         (WaylandDriverTest.make_environment):
2118         (WaylandDriverTest.test_checkdriver):
2119         (WaylandDriverTest.test_environment_needed_variables):
2120         (WaylandDriverTest.test_environment_forbidden_variables):
2121         (WaylandDriverTest.test_environment_optional_variables):
2122         * Scripts/webkitpy/port/waylanddriver.py: Allow the driver to run also with WAYLAND_SOCKET.
2123         (WaylandDriver.check_driver):
2124         (WaylandDriver._setup_environ_for_test):
2125         * Scripts/webkitpy/port/xorgdriver.py:
2126         (XorgDriver.check_driver):
2127         (XorgDriver._setup_environ_for_test):
2128         * Scripts/webkitpy/port/xorgdriver_unittest.py: Added.
2129         (XorgDriverTest):
2130         (XorgDriverTest.make_driver):
2131         (XorgDriverTest.make_environment):
2132         (XorgDriverTest.test_checkdriver):
2133         (XorgDriverTest.test_environment_needed_variables):
2134         (XorgDriverTest.test_environment_forbidden_variables):
2135         (XorgDriverTest.test_environment_optional_variables):
2136         * Scripts/webkitpy/port/xvfbdriver.py:
2137         (XvfbDriver._setup_environ_for_test):
2138         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
2139         (XvfbDriverTest.assertDriverStartSuccessful):
2140
2141
2142 2017-05-14 Frederic Wang  <fwang@igalia.com>
2143
2144         Add heuristic to avoid flattening "fullscreen" iframes
2145         https://bugs.webkit.org/show_bug.cgi?id=171914
2146
2147         Reviewed by Simon Fraser.
2148
2149         * DumpRenderTree/mac/DumpRenderTree.mm:
2150         (resetWebPreferencesToConsistentValues): Use WebKitFrameFlatteningDisabled.
2151
2152 2017-06-18  Chris Dumez  <cdumez@apple.com>
2153
2154         Crash when re-entering MediaDevicesEnumerationRequest::cancel()
2155         https://bugs.webkit.org/show_bug.cgi?id=173522
2156         <rdar://problem/31185739>
2157
2158         Reviewed by Darin Adler.
2159
2160         Add API test for re-entering Function's assignment operators.
2161
2162         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2163         * TestWebKitAPI/Tests/WTF/Function.cpp: Added.
2164         (TestWebKitAPI::TestObject::TestObject):
2165         (TestWebKitAPI::TestObject::~TestObject):
2166         (TestWebKitAPI::TestObject::operator()):
2167         (TestWebKitAPI::TEST):
2168
2169 2017-06-16  Dan Bernstein  <mitz@apple.com>
2170
2171         [Cocoa] Some declarations have missing or incorrect availability attributes
2172         https://bugs.webkit.org/show_bug.cgi?id=173508
2173
2174         Reviewed by Tim Horton.
2175
2176         * TestWebKitAPI/Tests/ios/PositionInformationTests.mm:
2177         (TestWebKitAPI::TEST): Updated for renames.
2178
2179 2017-06-16  Wenson Hsieh  <wenson_hsieh@apple.com>
2180
2181         [iOS DnD] Upstream iOS drag and drop implementation into OpenSource WebKit
2182         https://bugs.webkit.org/show_bug.cgi?id=173366
2183         <rdar://problem/32767014>
2184
2185         Reviewed by Tim Horton.
2186
2187         Move test pages and pieces of DataInteractionSimulator hidden behind WebKitAdditions into TestWebKitAPI. No
2188         change in behavior.
2189
2190         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2191         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2192         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocus-contenteditable.html: Added.
2193         * TestWebKitAPI/Tests/WebKit2Cocoa/background-image-link-and-input.html: Added.
2194         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-textarea.html: Added.
2195         * TestWebKitAPI/Tests/WebKit2Cocoa/div-and-large-image.html: Added.
2196         * TestWebKitAPI/Tests/WebKit2Cocoa/file-uploading.html: Added.
2197         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-contenteditable.html: Added.
2198         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-textarea.html: Added.
2199         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-input.html: Added.
2200         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-target-div.html: Added.
2201         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-operation.html: Added.
2202         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-start.html: Added.
2203         * TestWebKitAPI/Tests/WebKit2Cocoa/textarea-to-input.html: Added.
2204         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2205         (-[MockDragDropSession initWithItems:location:window:]):
2206         (-[MockDragDropSession allowsMoveOperation]):
2207         (-[MockDragDropSession isRestrictedToDraggingApplication]):
2208         (-[MockDragDropSession hasItemsConformingToTypeIdentifiers:]):
2209         (-[MockDragDropSession canLoadObjectsOfClass:]):
2210         (-[MockDragDropSession canLoadObjectsOfClasses:]):
2211         (-[MockDragDropSession items]):
2212         (-[MockDragDropSession setItems:]):
2213         (-[MockDragDropSession locationInView:]):
2214         (-[MockDataOperationSession initWithProviders:location:window:]):
2215         (-[MockDataOperationSession session]):
2216         (-[MockDataOperationSession isLocal]):
2217         (-[MockDataOperationSession progress]):
2218         (-[MockDataOperationSession setProgressIndicatorStyle:]):
2219         (-[MockDataOperationSession progressIndicatorStyle]):
2220         (-[MockDataOperationSession operationMask]):
2221         (-[MockDataOperationSession localDragSession]):
2222         (-[MockDataOperationSession hasItemsConformingToTypeIdentifier:]):
2223         (-[MockDataOperationSession canCreateItemsOfClass:]):
2224         (-[MockDataOperationSession loadObjectsOfClass:completion:]):
2225         (-[MockDataInteractionSession initWithWindow:]):
2226         (-[MockDataInteractionSession localOperationMask]):
2227         (-[MockDataInteractionSession externalOperationMask]):
2228         (-[MockDataInteractionSession session]):
2229         (-[DataInteractionSimulator _advanceProgress]):
2230
2231 2017-06-16  Alex Christensen  <achristensen@webkit.org>
2232
2233         Show punycode to user if a URL has dotless i or j followed by diacritic dot
2234         https://bugs.webkit.org/show_bug.cgi?id=173431
2235
2236         Reviewed by Darin Adler.
2237
2238         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
2239         (TestWebKitAPI::TEST):
2240
2241 2017-06-16  Chris Dumez  <cdumez@apple.com>
2242
2243         [WK2] Add WKProcessPool SPI to efficiently reset all plugin load client policies
2244         https://bugs.webkit.org/show_bug.cgi?id=173472
2245         <rdar://problem/28858817>
2246
2247         Reviewed by Brady Eidson.
2248
2249         Add API test coverage.
2250
2251         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2252         * TestWebKitAPI/Tests/WebKit2Cocoa/PluginLoadClientPolicies.mm: Added.
2253         (TEST):
2254
2255 2017-06-16  Brady Eidson  <beidson@apple.com>
2256
2257         REGRESSION (r218015) IconLoaders for already-cached resources expect to be asynchronous, no longer are.
2258         <rdar://problem/32817519> and https://bugs.webkit.org/show_bug.cgi?id=173478
2259
2260         Reviewed by Daniel Bates.
2261
2262         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm:
2263
2264 2017-06-16  Chris Dumez  <cdumez@apple.com>
2265
2266         DRT fails to reset page visibility between tests
2267         https://bugs.webkit.org/show_bug.cgi?id=173485
2268
2269         Reviewed by Alexey Proskuryakov.
2270
2271         DRT fails to reset page visibility between tests and relies on tests calling testRunner.resetPageVisibility().
2272         Fix this to address flakiness.
2273
2274         I confirmed this by commenting out the call to testRunner.resetPageVisibility() in
2275         fast/events/page-visibility-onvisibilitychange.html and running the test in a loop.
2276         The test became flaky without the DRT change and was no longer flaky with the DRT
2277         change.
2278
2279         WebKitTestRunner already does this.
2280
2281         * DumpRenderTree/mac/DumpRenderTree.mm:
2282         (resetWebViewToConsistentStateBeforeTesting):
2283
2284 2017-06-16  Alex Christensen  <achristensen@webkit.org>
2285
2286         Implement basic authentication in MiniBrowser
2287         https://bugs.webkit.org/show_bug.cgi?id=173443
2288
2289         Reviewed by Tim Horton.
2290
2291         * MiniBrowser/mac/WK2BrowserWindowController.m:
2292         (-[WK2BrowserWindowController webView:didReceiveAuthenticationChallenge:completionHandler:]):
2293
2294 2017-06-16  Jer Noble  <jer.noble@apple.com>
2295
2296         [WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
2297         https://bugs.webkit.org/show_bug.cgi?id=173398
2298         <rdar://problem/32592961>
2299
2300         Reviewed by Eric Carlson.
2301
2302         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2303         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Added.
2304         (-[MediaStreamTrackDetachedUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2305         (-[MediaStreamTrackDetachedUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2306         (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]):
2307         (TestWebKitAPI::TEST):
2308         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Added.
2309
2310 2017-06-16  Matt Lewis  <jlewis3@apple.com>
2311
2312         Unreviewed, rolling out r218375.
2313
2314         The API test MediaStreamTrackDetached is still timing out
2315         after the patch
2316
2317         Reverted changeset:
2318
2319         "[WebRTC] Removing a MediaStreamTrack from a MediaStream
2320         reports no recording to WebKit clients"
2321         https://bugs.webkit.org/show_bug.cgi?id=173398
2322         http://trac.webkit.org/changeset/218375
2323
2324 2017-06-15  Jer Noble  <jer.noble@apple.com>
2325
2326         [WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
2327         https://bugs.webkit.org/show_bug.cgi?id=173398
2328         <rdar://problem/32592961>
2329
2330         Reviewed by Eric Carlson.
2331
2332         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2333         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Added.
2334         (-[MediaStreamTrackDetachedUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2335         (-[MediaStreamTrackDetachedUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2336         (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]):
2337         (TestWebKitAPI::TEST):
2338         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Added.
2339
2340 2017-06-15  Matt Lewis  <jlewis3@apple.com>
2341
2342         Unreviewed, rolling out r218365.
2343
2344         The revision caused API timeouts on all builds.
2345
2346         Reverted changeset:
2347
2348         "[WebRTC] Removing a MediaStreamTrack from a MediaStream
2349         reports no recording to WebKit clients"
2350         https://bugs.webkit.org/show_bug.cgi?id=173398
2351         http://trac.webkit.org/changeset/218365
2352
2353 2017-06-15  Jer Noble  <jer.noble@apple.com>
2354
2355         [WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
2356         https://bugs.webkit.org/show_bug.cgi?id=173398
2357         <rdar://problem/32592961>
2358
2359         Reviewed by Eric Carlson.
2360
2361         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2362         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Added.
2363         (-[MediaStreamTrackDetachedUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2364         (-[MediaStreamTrackDetachedUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2365         (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]):
2366         (TestWebKitAPI::TEST):
2367         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Added.
2368
2369 2017-06-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2370
2371         REGRESSION(r218344): [WPE] Thousands of layout test crashes
2372         https://bugs.webkit.org/show_bug.cgi?id=173433
2373
2374         Unreviewed.
2375
2376         * wpe/jhbuild.modules: Revert the update of WPEBackend-mesa.
2377
2378 2017-06-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2379
2380         [WPE] The run-minibrowser script should allow to execute also a WPE launcher
2381         https://bugs.webkit.org/show_bug.cgi?id=173061
2382
2383         Reviewed by Žan Doberšek.
2384
2385         Launch dyz <https://github.com/Igalia/dyz> with the script
2386         run-minibrowser for the wpe port. It is now built as part of the
2387         WPE dependencies with JHBuild.
2388
2389         * Scripts/run-minibrowser:
2390         * Scripts/webkitdirs.pm:
2391         (launcherPath):
2392         (launcherName):
2393         * wpe/install-dependencies: Luajit is needed for building dyz.
2394         * wpe/jhbuild.modules: Add dyz and update the revision for WPEBackend-mesa.
2395
2396 2017-06-15  Wenson Hsieh  <wenson_hsieh@apple.com>
2397
2398         Using -[WebItemProviderPasteboard setItemProviders:] to swap out item providers before a drop breaks item provider loading
2399         https://bugs.webkit.org/show_bug.cgi?id=173338
2400         <rdar://problem/32777720>
2401
2402         Reviewed by Tim Horton.
2403
2404         Adds new unit tests to ensure that -_webView:willPerformDropWithSession: can be used to filter out drag items
2405         used by WebKit when handling a drop. These tests ensure that WebItemProviderPasteboard is still able to handle
2406         these remaining items on drop.
2407
2408         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2409         (TestWebKitAPI::TEST):
2410         * TestWebKitAPI/ios/DataInteractionSimulator.h:
2411         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2412
2413         Add -overridePerformDropBlock, which can be set to provide custom handling of dropped items.
2414
2415         (-[DataInteractionSimulator _webView:willPerformDropWithSession:]):
2416
2417 2017-06-15  Per Arne Vollan  <pvollan@apple.com>
2418
2419         [Win] Crash in accessibility layout test.
2420         https://bugs.webkit.org/show_bug.cgi?id=173401
2421
2422         Reviewed by Brent Fulgham.
2423
2424         We should not manually release the punkVal IUnknown member in a _variant_t object, since the punkVal
2425         member will be automatically released when the _variant_t object goes out of scope if the vt member
2426         does not equal VT_UNKNOWN | VT_BYREF.
2427         See https://msdn.microsoft.com/en-us/library/windows/desktop/ms221165(v=vs.85).aspx. 
2428
2429         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2430         (AccessibilityUIElement::titleUIElement):
2431
2432 2017-06-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2433
2434         [GTK] Add API to allow overriding popup menus
2435         https://bugs.webkit.org/show_bug.cgi?id=172905
2436
2437         Reviewed by Michael Catanzaro.
2438
2439         Add a unit test to check the new API.
2440
2441         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2442         * TestWebKitAPI/Tests/WebKit2Gtk/TestOptionMenu.cpp: Added.
2443         (OptionMenuTest::OptionMenuTest):
2444         (OptionMenuTest::~OptionMenuTest):
2445         (OptionMenuTest::destroyMenu):
2446         (OptionMenuTest::showOptionMenuCallback):
2447         (OptionMenuTest::menuCloseCallback):
2448         (OptionMenuTest::showOptionMenu):
2449         (OptionMenuTest::clickAtPositionAndWaitUntilOptionMenuShown):
2450         (OptionMenuTest::close):
2451         (OptionMenuTest::activateItem):
2452         (OptionMenuTest::selectItem):
2453         (testOptionMenuSimple):
2454         (testOptionMenuGroups):
2455         (testOptionMenuActivate):
2456         (testOptionMenuSelect):
2457         (beforeAll):
2458         (afterAll):
2459
2460 2017-06-15  Fujii Hironori  <Hironori.Fujii@sony.com>
2461
2462         [WinCairo] DumpRenderTree.cpp: error C3861: 'CFURLCacheCreate': identifier not found
2463         https://bugs.webkit.org/show_bug.cgi?id=173399
2464
2465         Reviewed by Per Arne Vollan.
2466
2467         OpenCFLite doesn't have CFURLCacheCreate and CFURLCacheSetSharedURLCache.
2468         Curl port needs to do nothing because libcurl doesn't have disk cache.
2469
2470         * DumpRenderTree/win/DumpRenderTree.cpp:
2471         (prepareConsistentTestingEnvironment): Call CFURLCacheCreate() and
2472         CFURLCacheSetSharedURLCache() only if USE(CFURLCONNECTION).
2473
2474 2017-06-14  Tomas Popela  <tpopela@redhat.com>
2475
2476         [GTK] integer expression expected if running Tools/gtk/install-dependencies
2477         https://bugs.webkit.org/show_bug.cgi?id=173356
2478
2479         Reviewed by Michael Catanzaro.
2480
2481         Use the correct operator to compare the strings.
2482
2483         * gtk/install-dependencies:
2484
2485 2017-06-14  Commit Queue  <commit-queue@webkit.org>
2486
2487         Unreviewed, rolling out r218285.
2488         https://bugs.webkit.org/show_bug.cgi?id=173391
2489
2490         API test fails on iOS (Requested by alexchristensen on
2491         #webkit).
2492
2493         Reverted changeset:
2494
2495         "Add SPI for immediate injection of user scripts"
2496         https://bugs.webkit.org/show_bug.cgi?id=173342
2497         http://trac.webkit.org/changeset/218285
2498
2499 2017-06-14  Chris Dumez  <cdumez@apple.com>
2500
2501         WebKit falsely reports that a web process is unresponsive if you close a page shortly after stopping a load
2502         https://bugs.webkit.org/show_bug.cgi?id=173384
2503         <rdar://problem/32723779>
2504
2505         Reviewed by Dan Bernstein.
2506
2507         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2508         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimer.cpp: Added.
2509         Add API test coverage.
2510
2511         * TestWebKitAPI/cocoa/UtilitiesCocoa.mm:
2512         (TestWebKitAPI::Util::sleep):
2513         Update implementation of Util::sleep() so that we actually run the run loop.
2514         Otherwise, we don't process events while sleeping.
2515
2516 2017-06-14  Alex Christensen  <achristensen@webkit.org>
2517
2518         Add SPI for immediate injection of user scripts
2519         https://bugs.webkit.org/show_bug.cgi?id=173342
2520         <rdar://problem/29202285>
2521
2522         Reviewed by Brady Eidson.
2523
2524         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
2525         (waitForMessage):
2526         (TEST):
2527
2528 2017-06-14  Claudio Saavedra  <csaavedra@igalia.com>
2529
2530         Add WPE to the flakiness dashboard
2531         https://bugs.webkit.org/show_bug.cgi?id=173365
2532
2533         Reviewed by Carlos Alberto Lopez Perez.
2534
2535         * TestResultServer/static-dashboards/builders.jsonp:
2536         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2537         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2538         (resetGlobals):
2539         * TestResultServer/static-dashboards/loader_unittests.js:
2540
2541 2017-06-14  Brady Eidson  <beidson@apple.com>
2542
2543         WKIconLoadingDelegate never gets asked about the default favicon if touch/touch-precomposed icons are in the <head>
2544         <rdar://problem/32614328> and https://bugs.webkit.org/show_bug.cgi?id=173376
2545
2546         Reviewed by Alex Christensen.
2547
2548         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2549         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm: Added.
2550         (-[IconLoadingDelegate webView:shouldLoadIconWithParameters:completionHandler:]):
2551         (-[IconLoadingSchemeHandler initWithData:mimeType:]):
2552         (-[IconLoadingSchemeHandler webView:startURLSchemeTask:]):
2553         (-[IconLoadingSchemeHandler webView:stopURLSchemeTask:]):
2554         (TEST):
2555
2556 2017-06-14  Tim Horton  <timothy_horton@apple.com>
2557
2558         WKContentViewEditingActions API test always fails
2559         https://bugs.webkit.org/show_bug.cgi?id=173374
2560
2561         Reviewed by Wenson Hsieh.
2562
2563         * TestWebKitAPI/Tests/WebKit2Cocoa/WKContentViewEditingActions.mm:
2564         (TEST):
2565         selectAll isn't working, because canPerformAction for selectAll returns NO
2566         if selectionIsNone (which is true in the non-contenteditable case).
2567         Instead, make use of r218180's test page, which knows how to select itself.
2568         Also, reset the pasteboard at the beginning of the test to reduce confusion
2569         (I landed the test broken because my simulator had the correct text
2570         stuck in its pasteboard).
2571
2572 2017-06-14  Jonathan Bedard  <jbedard@apple.com>
2573
2574         Configure screen scale for running layout tests on plus devices
2575         https://bugs.webkit.org/show_bug.cgi?id=173319
2576
2577         Reviewed by Tim Horton.
2578
2579         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Include UIKitTestSPI.h in project.
2580         * DumpRenderTree/mac/DumpRenderTree.mm:
2581         (dumpRenderTree): Set screen scale to 2.0.
2582         * TestRunnerShared/spi/UIKitTestSPI.h: Copied from Tools/WebKitTestRunner/ios/UIKitSPI.h,
2583         add _setScale for UIScreen.
2584         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Include UIKitTestSPI.h in project.
2585         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: Import UIKitTestSPI.h instead of UIKitSPI.h.
2586         * WebKitTestRunner/ios/HIDEventGenerator.h: Ditto.
2587         * WebKitTestRunner/ios/HIDEventGenerator.mm: Ditto.
2588         * WebKitTestRunner/ios/PlatformWebViewIOS.mm: Ditto.
2589         * WebKitTestRunner/ios/TestControllerIOS.mm: Ditto.
2590         (WTR::TestController::platformInitialize): Set screen scale to 2.0.
2591         * WebKitTestRunner/ios/UIKitSPI.h: Moved to TestRunnerShared/spi/UIKitTestSPI.h.
2592         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Import UIKitTestSPI.h instead of UIKitSPI.h.
2593         * WebKitTestRunner/ios/mainIOS.mm: Ditto.
2594
2595 2017-06-14  Alexey Proskuryakov  <ap@apple.com>
2596
2597         Add iOS 11 support to the bot watcher's dashboard
2598         https://bugs.webkit.org/show_bug.cgi?id=173369
2599
2600         Reviewed by Lucas Forschler.
2601
2602         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11.png: Added.
2603         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11@2x.png: Added.
2604         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11Simulator.png: Added.
2605         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11Simulator@2x.png: Added.
2606         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2607         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2608
2609 2017-06-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2610
2611         [GTK][WPE] Raise the timeout values for layout tests
2612         https://bugs.webkit.org/show_bug.cgi?id=173368
2613
2614         Reviewed by Carlos Garcia Campos.
2615
2616         Raise the values to 15 seconds in Release builds and 30 seconds (2x) in Debug builds.
2617         When running under valgrind a 10x multiplier is applied.
2618
2619         * Scripts/webkitpy/port/gtk.py:
2620         (GtkPort.default_timeout_ms):
2621         * Scripts/webkitpy/port/gtk_unittest.py:
2622         (GtkPortTest.test_default_timeout_ms):
2623         * Scripts/webkitpy/port/wpe.py:
2624         (WPEPort.default_timeout_ms):
2625         * Scripts/webkitpy/port/wpe_unittest.py: Copied from Tools/Scripts/webkitpy/port/gtk_unittest.py.
2626         (WPEPortTest):
2627         (WPEPortTest.make_port):
2628         (WPEPortTest.test_default_timeout_ms):
2629         (WPEPortTest.test_get_crash_log):
2630
2631 2017-06-14  Alex Christensen  <achristensen@webkit.org>
2632
2633         Test persistent WKHTTPCookieStorages on iOS.
2634         https://bugs.webkit.org/show_bug.cgi?id=173284
2635
2636         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
2637         (TEST):
2638         Make the bots green again for now. There's still a problem, and I'll investigate and fix.
2639
2640 2017-06-14  Per Arne Vollan  <pvollan@apple.com>
2641
2642         [Win] DRT should not use disk cache.
2643         https://bugs.webkit.org/show_bug.cgi?id=173361
2644
2645         Reviewed by Darin Adler.
2646
2647         Like on macOS/iOS, DRT on Windows should only use memory cache.
2648
2649         * DumpRenderTree/win/DumpRenderTree.cpp:
2650         (setDefaultsToConsistentValuesForTesting):
2651         (prepareConsistentTestingEnvironment):
2652
2653 2017-06-14  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2654
2655         MediaSource duration attribute should not be equal to Infinity when set to a value greater than 2^64
2656         https://bugs.webkit.org/show_bug.cgi?id=171668
2657
2658         Reviewed by Jer Noble.
2659
2660         MediaSource duration attribute is a double represented in MediaSource by a MediaTime instance created with
2661         MediaTime::CreateWithDouble(). This method implements an overflow control mechanism which sets MediaTime to
2662         Infinity when the double value passed as argument is greater than 2^64.
2663
2664         This patch removes the overflow control mechanism when time value is represented as a double. This patch also
2665         modifies the behavior of mathematical operations between a double MediaTime and rational MediaTime: the rational
2666         MediaTime is converted to a double before applying the operation. Double MediaTime precision is the same as for
2667         double. Overflow mechanisms still apply to the conversion of a double MediaTime to rational with setTimescale()
2668         method. No behavior change for rational MediaTime.
2669
2670         * TestWebKitAPI/Tests/WTF/MediaTime.cpp: Add tests to check operation results between double and rational MediaTime.
2671         (TestWebKitAPI::TEST):
2672
2673 2017-06-13  Alex Christensen  <achristensen@webkit.org>
2674
2675         Test persistent WKHTTPCookieStorages on iOS
2676         https://bugs.webkit.org/show_bug.cgi?id=173284
2677         <rdar://problem/32260156>
2678
2679         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
2680         (TEST):
2681
2682 2017-06-13  Matt Rajca  <mrajca@apple.com>
2683
2684         WebsitePolicies: let clients select specific autoplay quirks
2685         https://bugs.webkit.org/show_bug.cgi?id=173343
2686
2687         Reviewed by Alex Christensen.
2688
2689         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
2690         (-[AutoplayPoliciesDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
2691         (TEST): Updated tests.
2692
2693 2017-06-13  Daniel Bates  <dabates@apple.com>
2694
2695         Implement W3C Secure Contexts Draft Specification
2696         https://bugs.webkit.org/show_bug.cgi?id=158121
2697         <rdar://problem/26012994>
2698
2699         Reviewed by Brent Fulgham.
2700
2701         Part 4
2702
2703         Expose the isSecureContext attribute by default in DumpRenderTree and WebKitTestRunner.
2704         Teach DumpRenderTree for Mac and WebKitTestRunner to parse the test option enableIsSecureContextAttribute
2705         to toggle the runtime enabled feature flag isSecureContextAttributeEnabled.
2706
2707         * DumpRenderTree/TestOptions.h:
2708         * DumpRenderTree/TestOptions.mm:
2709         (TestOptions::TestOptions):
2710         * DumpRenderTree/mac/DumpRenderTree.mm:
2711         (setWebPreferencesForTestOptions):
2712         * DumpRenderTree/win/DumpRenderTree.cpp:
2713         (enableExperimentalFeatures):
2714         * WebKitTestRunner/TestController.cpp:
2715         (WTR::TestController::resetPreferencesToConsistentValues):
2716         (WTR::updateTestOptionsFromTestHeader):
2717         * WebKitTestRunner/TestOptions.h:
2718         (WTR::TestOptions::hasSameInitializationOptions):
2719
2720 2017-06-13  Alex Christensen  <achristensen@webkit.org>
2721
2722         Test persistent WKHTTPCookieStorages on iOS
2723         https://bugs.webkit.org/show_bug.cgi?id=173284
2724         <rdar://problem/32260156>
2725
2726         Reviewed by Alexey Proskuryakov.
2727
2728         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
2729         (TEST):
2730
2731 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
2732
2733         [GTK] Blob download doesn't work
2734         https://bugs.webkit.org/show_bug.cgi?id=172442
2735
2736         Reviewed by Carlos Alberto Lopez Perez.
2737
2738         Add a unit test to check blob downloads.
2739
2740         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
2741         (testBlobDownload):
2742         (beforeAll):
2743
2744 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
2745
2746         [GTK] Do not include WTR, DumpRendererTree and ImageDiff in tarballs
2747         https://bugs.webkit.org/show_bug.cgi?id=173316
2748
2749         Reviewed by Alex Christensen.
2750
2751         It's not really possible to run layout tests from the tarball, so it's better not to include those files.
2752
2753         * gtk/manifest.txt.in:
2754
2755 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
2756
2757         [WTR] Crash in WebGeolocationManagerProxy::~WebGeolocationManagerProxy() when running several tests
2758         https://bugs.webkit.org/show_bug.cgi?id=173315
2759
2760         Reviewed by Darin Adler.
2761
2762         This has started to happen after r218165, but I don't think it's a regression, but that r218165 revealed the bug
2763         somehow in WTR. The problem is that GeolocationProviderMock keeps a pointer to the WKGeolocationManagerRef
2764         returned by WKContextGetGeolocationManager. But in TestController::generatePageConfiguration() the context is
2765         freed before the GeolocationProviderMock. When the GeolocationProviderMock is then destroyed, it calls
2766         WKGeolocationManagerSetProvider(m_geolocationManager, 0); but the WKGeolocationManagerRef has already been
2767         destroyed. GeolocationProviderMock should keep a reference to the WKContext to ensure the
2768         WKGeolocationManagerRef is not destroyed.
2769
2770         * WebKitTestRunner/GeolocationProviderMock.cpp:
2771         (WTR::GeolocationProviderMock::GeolocationProviderMock):
2772         * WebKitTestRunner/GeolocationProviderMock.h:
2773
2774 2017-06-13  Wenson Hsieh  <wenson_hsieh@apple.com>
2775
2776         Unable to paste text that was copied from a page into the universal search field
2777         https://bugs.webkit.org/show_bug.cgi?id=173293
2778         <rdar://problem/32440918>
2779
2780         Reviewed by Ryosuke Niwa.
2781
2782         Adds 2 new unit tests for copying plain and rich selected web content.
2783         See WebCore and WebKit ChangeLogs for more detail.
2784
2785         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2786         * TestWebKitAPI/Tests/WebKit2Cocoa/rich-and-plain-text.html: Added.
2787         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: Added.
2788         (TestWebKitAPI::dataForPasteboardType):
2789         (TestWebKitAPI::setUpWebViewForPasteboardTests):
2790         (TestWebKitAPI::TEST):
2791
2792 2017-06-13  Joanmarie Diggs  <jdiggs@igalia.com>
2793
2794         AX: [ATK] Implement missing AtkRelation types
2795         https://bugs.webkit.org/show_bug.cgi?id=155494
2796
2797         Reviewed by Darin Adler.
2798
2799         Add additional methods to test ARIA properties which are exposed via
2800         AtkRelation. Implement ATK support for ariaOwnsElementAtIndex().
2801
2802         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2803         (WTR::AccessibilityUIElement::ariaLabelledByElementAtIndex):
2804         (WTR::AccessibilityUIElement::ariaDescribedByElementAtIndex):
2805         (WTR::AccessibilityUIElement::ariaOwnsReferencingElementAtIndex):
2806         (WTR::AccessibilityUIElement::ariaFlowToReferencingElementAtIndex):
2807         (WTR::AccessibilityUIElement::ariaControlsReferencingElementAtIndex):
2808         (WTR::AccessibilityUIElement::ariaLabelledByReferencingElementAtIndex):
2809         (WTR::AccessibilityUIElement::ariaDescribedByReferencingElementAtIndex):
2810         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2811         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2812         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
2813         (WTR::AccessibilityUIElement::ariaOwnsReferencingElementAtIndex):
2814         (WTR::AccessibilityUIElement::ariaFlowToReferencingElementAtIndex):
2815         (WTR::AccessibilityUIElement::ariaControlsReferencingElementAtIndex):
2816         (WTR::AccessibilityUIElement::ariaLabelledByElementAtIndex):
2817         (WTR::AccessibilityUIElement::ariaLabelledByReferencingElementAtIndex):
2818         (WTR::AccessibilityUIElement::ariaDescribedByElementAtIndex):
2819         (WTR::AccessibilityUIElement::ariaDescribedByReferencingElementAtIndex):
2820
2821 2017-06-12  Daniel Bates  <dabates@apple.com>
2822
2823         Add unit tests for SecurityOrigin::IsPotentiallyTrustworthy()
2824         https://bugs.webkit.org/show_bug.cgi?id=173286
2825         <rdar://problem/32726102>
2826
2827         Reviewed by Brent Fulgham.
2828
2829         * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp:
2830         (TestWebKitAPI::TEST_F):
2831
2832 2017-06-12  Lucas Forschler  <lforschler@apple.com>
2833
2834         <rdar://problem/32683422>
2835         Teach copy-webkitlibraries-to-product-directory script about updated libraries.
2836
2837         Reviewed by Conrad Schultz.
2838
2839         * Scripts/copy-webkitlibraries-to-product-directory:
2840
2841 2017-06-12  Tim Horton  <timothy_horton@apple.com>
2842
2843         [iOS] Cmd-C doesn't copy text from WKWebView
2844         https://bugs.webkit.org/show_bug.cgi?id=173277
2845         <rdar://problem/32396742>
2846
2847         Reviewed by Dan Bernstein.
2848
2849         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2850         * Tests/WebKit2Cocoa/WKContentViewEditingActions.mm:
2851         Add a test ensuring that -copy on WKContentView will cause text to be copied.
2852
2853 2017-06-12  Jiewen Tan  <jiewen_tan@apple.com>
2854
2855         [WebCrypto] Remove experimental feature flag of SubtleCrypto
2856         https://bugs.webkit.org/show_bug.cgi?id=173197
2857         <rdar://problem/32688148>
2858
2859         Reviewed by Brent Fulgham.
2860
2861         * DumpRenderTree/mac/DumpRenderTree.mm:
2862         (enableExperimentalFeatures):
2863         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2864         (WTR::InjectedBundle::beginTesting):
2865         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2866         (WTR::TestRunner::setSubtleCryptoEnabled): Deleted.
2867         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2868
2869 2017-06-12  Wenson Hsieh  <wenson_hsieh@apple.com>
2870
2871         [iOS DnD] Allow the injected bundle to add client data when writing an image to the pasteboard
2872         https://bugs.webkit.org/show_bug.cgi?id=173238
2873         <rdar://problem/31943370>
2874
2875         Reviewed by Ryosuke Niwa and Tim Horton.
2876
2877         Add a new unit test to verify that data inserted by the injected bundle when beginning a drag on an image
2878         element is plumbed across to the UI delegate. Also refactors injected bundle unit tests to use the new version
2879         of adjustedDataInteractionItemProvidersForItemProvider: that takes representing objects and additional data.
2880
2881         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2882         (TestWebKitAPI::TEST):
2883         * TestWebKitAPI/ios/DataInteractionSimulator.h:
2884         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2885         (-[DataInteractionSimulator _webView:adjustedDataInteractionItemProvidersForItemProvider:representingObjects:additionalData:]):
2886         (-[DataInteractionSimulator _webView:adjustedDataInteractionItemProviders:]): Deleted.
2887
2888 2017-06-12  Wenson Hsieh  <wenson_hsieh@apple.com>
2889
2890         WebItemProviderPasteboard should call its completion block immediately after a synchronous load
2891         https://bugs.webkit.org/show_bug.cgi?id=173225
2892         <rdar://problem/32713144>
2893
2894         Reviewed by Tim Horton.
2895
2896         Adds a new unit test to verify whether the completion block is called synchronously or asynchronously, in both
2897         cases where the synchronous timeout is very large, and the synchronous timeout is not used (0).
2898
2899         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2900         (TestWebKitAPI::TEST):
2901
2902 2017-06-12  Jonathan Bedard  <jbedard@apple.com>
2903
2904         Return correct process names for iOS on-device testing
2905         https://bugs.webkit.org/show_bug.cgi?id=173263
2906
2907         Reviewed by Alex Christensen.
2908
2909         When running tests on iOS devices, process names do not end with '.Development'
2910         as they do on Mac and iOS simulator.
2911
2912         * WebKitTestRunner/TestController.cpp:
2913         (WTR::TestController::webProcessName): Return correct process name without '.Development'
2914         for iOS on-device testing.
2915         (WTR::TestController::networkProcessName): Ditto.
2916         (WTR::TestController::databaseProcessName): Ditto.
2917
2918 2017-06-12  Chris Dumez  <cdumez@apple.com>
2919
2920         Regression(r217867): Legacy SessionHistoryEntryData format should not change
2921         https://bugs.webkit.org/show_bug.cgi?id=173267
2922         <rdar://problem/32701257>
2923
2924         Reviewed by Simon Fraser.
2925
2926         Restrict test to stop covering saving / restore of scrollRestoration via the legacy
2927         SessionHistoryEntryData. Maintain coverage for the default value of scrollRestoration
2928         though as this covers the crash that r217867 was fixing.
2929
2930         * TestWebKitAPI/Tests/WebKit2/RestoreSessionState.cpp:
2931         (TestWebKitAPI::createSessionStateData):
2932         (TestWebKitAPI::TEST):
2933         (TestWebKitAPI::createSessionStateDataContainingScrollRestoration): Deleted.
2934
2935 2017-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
2936
2937         [GTK] Stop dismissing menus attached to the web view for every injected event
2938         https://bugs.webkit.org/show_bug.cgi?id=172708
2939
2940         Reviewed by Alex Christensen.
2941
2942         It's a workaround we added in r184015 that has worked so far for the context menu, but doesn't really work now
2943         that we also attach popup menus to the web view. We really need to be able to show a popup menu, and then send
2944         events while the menu is open.
2945
2946         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2947         (WTR::EventSendingController::contextClick): Use WKBundlePageCopyContextMenuAtPointInWindow() also in GTK+ port.
2948         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2949         (WTR::EventSenderProxy::dispatchEvent): Stop calling PlatformWebView::dismissAllPopupMenus().
2950
2951 2017-06-12  Miguel Gomez  <magomez@igalia.com>
2952
2953         [GTK][WPE] Enable GStreamer GL on development builds
2954         https://bugs.webkit.org/show_bug.cgi?id=173248
2955
2956         Enable GStreamer GL for GTK and WPE.
2957
2958         Reviewed by Carlos Garcia Campos.
2959
2960         * Scripts/webkitperl/FeatureList.pm:
2961
2962 2017-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
2963
2964         Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/notification after r216641.
2965
2966         Notifications are no longer cleared on page navigation.
2967
2968         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2969         (testWebViewNotification):
2970
2971 2017-06-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2972
2973         Unreviewed. Fix GTK+ test /webkit2/WebKitAutomationSession/request-session after r217831.
2974
2975         DBus interface and object path names were updated in r217831.
2976
2977         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutomationSession.cpp:
2978
2979 2017-06-10  Dan Bernstein  <mitz@apple.com>
2980
2981         Reverted r218056 because it made the IDE reindex constantly.
2982
2983         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
2984         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2985         * ImageDiff/cg/Configurations/DebugRelease.xcconfig:
2986         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2987         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig:
2988         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2989         * WebEditingTester/Configurations/DebugRelease.xcconfig:
2990         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2991
2992 2017-06-10  Dan Bernstein  <mitz@apple.com>
2993
2994         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
2995         https://bugs.webkit.org/show_bug.cgi?id=173223
2996
2997         Reviewed by Sam Weinig.
2998
2999         The rebuilds were happening due to a difference in the compiler options that the IDE and
3000         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
3001         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
3002         specify an appropriate path in CLANG_INDEX_STORE_PATH.
3003
3004         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
3005         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3006         * ImageDiff/cg/Configurations/DebugRelease.xcconfig:
3007         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3008         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig:
3009         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3010         * WebEditingTester/Configurations/DebugRelease.xcconfig:
3011         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3012
3013 2017-06-10  Jonathan Bedard  <jbedard@apple.com>
3014
3015         webkitpy: Reduce polling in ServerProcess
3016         https://bugs.webkit.org/show_bug.cgi?id=173116
3017
3018         Reviewed by Ryosuke Niwa.
3019
3020         We should be smarter about polling. We do not need to poll every time a line is read from
3021         stdout and stderr since lines are usually read from cached data. We should only poll
3022         when extracting that cached data from stdout and stderr.
3023
3024         * Scripts/webkitpy/port/driver.py:
3025         (Driver._read_block): Rely on output of the ServerProcess to detect a crash or a timeout
3026         and on ServerProcess to poll the process if not data is available in stdout and stderr.
3027         * Scripts/webkitpy/port/driver_unittest.py:
3028         (DriverTest.test_read_block_crashed_process): Test that the Driver will handle a crashing
3029         ServerProcess.
3030         * Scripts/webkitpy/port/server_process.py:
3031         (ServerProcess._read): Allow for data to be read from _output even if the process has
3032         crashed. Only poll the process if data needs to be extracted from stdout or stderr. 
3033         * Scripts/webkitpy/port/server_process_mock.py:
3034         (MockServerProcess): Add number_of_times_polled.
3035         (MockServerProcess.poll): Increment number_of_times_polled.
3036         (MockServerProcess.has_crashed): Poll before returning crash state.
3037         (MockServerProcess.read_stdout_line): MockServerProcess should return None if it has crashed,
3038         just like a ServerProcess would.
3039         (MockServerProcess.read_stdout): Ditto.
3040         * Scripts/webkitpy/port/server_process_unittest.py:
3041         (TestServerProcess.test_basic): Use stdin.readline() instead of time.sleep() to prevent the
3042         process from ending before stdout and stderr are read. This is the reason this test was flakey.
3043         (TestServerProcess):
3044         (TestServerProcess.test_process_crashing): Test that when a process crashes, data can be read until
3045         the processes is polled.
3046         (TestServerProcess.test_process_crashing_no_data): Test that when a process which has not output any
3047         data to stdout and stderr crashes, ServerProcess._read(...) polls the process to detect the crash.
3048
3049 2017-06-10  Andy Estes  <aestes@apple.com>
3050
3051         [QuickLook] PreviewLoader needs to check if its ResourceLoader has reached the terminal state before calling didReceiveResponse() and friends
3052         https://bugs.webkit.org/show_bug.cgi?id=173190
3053         <rdar://problem/31360659>
3054
3055         Reviewed by Brady Eidson.
3056         
3057         Added a release assert that tries to create a proper test failure if the web process crashes.
3058
3059         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm:
3060         (-[QuickLookDecidePolicyDelegate _webViewWebProcessDidCrash:]):
3061
3062 2017-06-09  Wenson Hsieh  <wenson_hsieh@apple.com>
3063
3064         [iOS DnD] Add a hook to perform two-step drops in editable content
3065         https://bugs.webkit.org/show_bug.cgi?id=172992
3066         <rdar://problem/32590174>
3067
3068         Reviewed by Tim Horton.
3069
3070         Adds 2 new API tests to cover using the injected editing bundle to override performTwoStepDrop.
3071         Tests:  DataInteractionTests.InjectedBundleOverridePerformTwoStepDrop
3072                 DataInteractionTests.InjectedBundleAllowPerformTwoStepDrop
3073
3074         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm:
3075         (-[BundleEditingDelegatePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
3076         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:performTwoStepDrop:atDestination:isMove:]):
3077
3078         Allow the BundleOverridePerformTwoStepDrop bundle parameter to determine whether or not two-step drops should
3079         be overridden. Currently, this is overridden to just return true.
3080
3081         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3082         (TestWebKitAPI::TEST):
3083         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3084         (WTR::InjectedBundlePage::InjectedBundlePage):
3085
3086 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
3087
3088         [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
3089         https://bugs.webkit.org/show_bug.cgi?id=173103
3090
3091         Reviewed by Xabier Rodriguez-Calvar.
3092
3093         * Scripts/webkitperl/FeatureList.pm: Enable ENCRYPTED_MEDIA flag
3094         when building the WPE port through build-webkit.
3095
3096 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
3097
3098         [WPE] Enable MEDIA_SOURCE for build-webkit builds
3099         https://bugs.webkit.org/show_bug.cgi?id=173136
3100
3101         Reviewed by Xabier Rodriguez-Calvar.
3102
3103         * Scripts/webkitperl/FeatureList.pm: Enable the MEDIA_SOURCE feature for WPE.
3104
3105 2017-06-08  Carlos Garcia Campos  <cgarcia@igalia.com>
3106
3107         [GTK] Use API::FormClient instead of the C API in WebKitFormClient
3108         https://bugs.webkit.org/show_bug.cgi?id=173098
3109
3110         Reviewed by Žan Doberšek.
3111
3112         Fix memory leak and runtime warning when running /webkit2/WebKitWebView/submit-form. The web extension is
3113         assuming that all tests containing forms define ids for the form elements like
3114         /webkit2/WebKitWebExtension/form-controls-associated-signal does.
3115
3116         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3117         (formControlsAssociatedCallback):
3118
3119 2017-06-08  Jonathan Bedard  <jbedard@apple.com>
3120
3121         webkitpy: Run sample/spindump on iOS devices
3122         https://bugs.webkit.org/show_bug.cgi?id=171881
3123         <rdar://problem/32084602>
3124
3125         Reviewed by Daniel Bates.
3126
3127         * Scripts/webkitpy/port/darwin.py:
3128         (DarwinPort.sample_process): Only add sudo prefix if the platform is Mac, which
3129         requires sudo to run spindump.
3130         * Scripts/webkitpy/port/ios_device.py:
3131         (IOSDevicePort.look_for_new_samples): Deleted.
3132         (IOSDevicePort.sample_process): Deleted.
3133         * Scripts/webkitpy/port/ios_device_unittest.py:
3134         (IOSDeviceTest): iOS devices use 'ios' and their os_name.
3135         (IOSDeviceTest.test_spindump):
3136         (IOSDeviceTest.test_sample_process):
3137         (IOSDeviceTest.test_sample_process_exception):
3138         * Scripts/webkitpy/port/ios_simulator_unittest.py:
3139         (IOSSimulatorTest): iOS Simulators run on Mac and use 'mac' as their os_name.
3140
3141 2017-06-08  Keith Miller  <keith_miller@apple.com>
3142
3143         WebAssembly: We should only create wrappers for functions that can be exported
3144         https://bugs.webkit.org/show_bug.cgi?id=173088
3145
3146         Reviewed by Saam Barati.
3147
3148         Add quick mode for wasm tests.
3149
3150         * Scripts/run-jsc-stress-tests:
3151
3152 2017-06-08  Darin Adler  <darin@apple.com>
3153
3154         WTF tests have incorrect RefLogger lifetimes making it impossible to test with Address Sanitizer
3155         https://bugs.webkit.org/show_bug.cgi?id=173106
3156
3157         Reviewed by Sam Weinig.
3158
3159         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Define RefLogger objects first, so they are
3160         destroyed last.
3161         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Ditto.
3162         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
3163
3164 2017-06-07  Dan Bernstein  <mitz@apple.com>
3165
3166         [Cocoa] additionalReadAccessAllowedURLs doesn’t preserve non-Latin1 paths
3167         https://bugs.webkit.org/show_bug.cgi?id=173086
3168
3169         Reviewed by Andy Estes.
3170
3171         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm:
3172         (TEST):
3173
3174 2017-06-07  Alexey Proskuryakov  <ap@apple.com>
3175
3176         Add High Sierra support to WebKit tools
3177         https://bugs.webkit.org/show_bug.cgi?id=173080
3178
3179         Rubber-stamped by Daniel Bates.
3180
3181         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/HighSierra.png: Added.
3182         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/HighSierra@2x.png: Added.
3183         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3184         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3185         Added dashboard support.
3186
3187         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3188         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
3189         Trigger the right build queues on check-in.
3190
3191         * Scripts/webkitpy/common/system/platforminfo.py:
3192         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
3193         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3194         * Scripts/webkitpy/port/mac.py:
3195         * Scripts/webkitpy/port/mac_unittest.py:
3196         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3197         Added cases for Sierra, and updated tests for new baseline search paths.
3198
3199 2017-06-07  Ryan Haddad  <ryanhaddad@apple.com>
3200
3201         Unreviewed, rolling out r217902.
3202
3203         This change appears to have caused imported/w3c/web-platform-
3204         tests/fetch/api/cors tests to fail on El Capitan.
3205
3206         Reverted changeset:
3207
3208         "Teach run-webkit-tests how to run HTTPS Web Platform Tests"
3209         https://bugs.webkit.org/show_bug.cgi?id=172930
3210         http://trac.webkit.org/changeset/217902
3211
3212 2017-06-07  Daniel Bates  <dabates@apple.com>
3213
3214         Teach run-webkit-tests how to run HTTPS Web Platform Tests
3215         https://bugs.webkit.org/show_bug.cgi?id=172930
3216         <rdar://problem/32570201>
3217
3218         Reviewed by Youenn Fablet.
3219
3220         Some web platform tests need to be run from an HTTPS server in order to exercise functionality
3221         that is conditioned on the page being delivered over a secure protocol. One example of such
3222         a test is LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/secure_context/crypto-subtle-secure-context-available.https.sub.html.
3223
3224         Ideally we should look to use wptrunner to run Web Platform Tests. For now, modify run-webkit-tests
3225         to access web platform tests from an HTTPS server when the filename of the test contains ".https.".
3226         This makes run-webkit-test match the behavior of wptrunner: <https://github.com/w3c/web-platform-tests/blob/7ce469d1c46dd45aacfe1b408bf2ad36a630e089/tools/manifest/item.py#L42>.
3227
3228         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3229         (https_base_url): Parses the Web Platform Tests JSON configuration and returns the base URL
3230         to the Web Platform Tests HTTPS server.
3231         * Scripts/webkitpy/port/base.py:
3232         (Port.to.web_platform_test_server_https_base_url): Turns around and calls https_base_url().
3233         * Scripts/webkitpy/port/driver.py:
3234         (Driver.__init__): Caches the base URL to the Web Platform Tests HTTPS server. Also rename
3235         instance variables web_platform_test_server_doc_root, web_platform_test_server_base_url to
3236         _web_platform_test_server_doc_root and _web_platform_test_server_base_url, respectively to
3237         indicate that they should be considered private instance variables.
3238         (Driver.is_web_platform_test): Update code for renamed instance variables.
3239         (Driver):
3240         (Driver._web_platform_test_base_url_for_test): Returns the URL to access the specified test.
3241         (Driver.test_to_uri): Modified to use Driver._web_platform_test_base_url_for_test() to
3242         determine the base URL to use to access the test.
3243         (Driver.uri_to_test): Added logic to compute the filesystem local test name from a Web
3244         Platform Tests HTTPS URL. Also updated code for renamed instance variables.
3245
3246 2017-06-07  Per Arne Vollan  <pvollan@apple.com>
3247
3248         Support removal of authentication data through the Website data store API.
3249         https://bugs.webkit.org/show_bug.cgi?id=171217
3250
3251         Reviewed by Brady Eidson.
3252
3253         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3254         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3255         (WTR::InjectedBundle::didReceiveMessageToPage):
3256         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3257         (WTR::TestRunner::removeAllSessionCredentials):
3258         (WTR::TestRunner::callDidRemoveAllSessionCredentialsCallback):
3259         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3260         * WebKitTestRunner/TestController.h:
3261         * WebKitTestRunner/TestInvocation.cpp:
3262         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
3263         (WTR::TestInvocation::didRemoveAllSessionCredentials):
3264         * WebKitTestRunner/TestInvocation.h:
3265         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3266         (WTR::TestController::removeAllSessionCredentials):
3267
3268 2017-06-07  Charlie Turner  <cturner@igalia.com>
3269
3270         Add Charlie Turner as contributor
3271         https://bugs.webkit.org/show_bug.cgi?id=173055
3272
3273         Reviewed by Carlos Alberto Lopez Perez.
3274
3275         I also ran the Tools/Scripts/validate-committer-lists --canonicalize command at the suggestion
3276         of webkit-patch upload, which reordered some fields and removed a newline.
3277
3278         * Scripts/webkitpy/common/config/contributors.json:
3279
3280 2017-06-06  Chris Dumez  <cdumez@apple.com>
3281
3282         RELEASE_ASSERT(static_cast<size_t>(enumerationValue) < WTF_ARRAY_LENGTH(values)) hit in convertEnumerationToJS<WebCore::History::ScrollRestoration>()
3283         https://bugs.webkit.org/show_bug.cgi?id=173033
3284         <rdar://problem/32591099>
3285
3286         Reviewed by Simon Fraser.
3287
3288         Add API test coverage to make sure History's scrollRestoration is properly saved / restored via the
3289         WKPageCopySessionState() / WKPageRestoreFromSessionState() C API.
3290
3291         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3292         * TestWebKitAPI/Tests/WebKit2/RestoreSessionState.cpp: Added.
3293         (TestWebKitAPI::didFinishLoadForFrame):
3294         (TestWebKitAPI::setPageLoaderClient):
3295         (TestWebKitAPI::createSessionStateDataContainingScrollRestoration):
3296         (TestWebKitAPI::TEST):
3297
3298 2017-06-06  Andy Estes  <aestes@apple.com>
3299
3300         REGRESSION (r199558): WKWebView upload file which name contains Chinese character results in garbled code
3301         https://bugs.webkit.org/show_bug.cgi?id=172849
3302         <rdar://problem/32567454>
3303
3304         Reviewed by Darin Adler.
3305
3306         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3307         * TestWebKitAPI/Tests/WebKit2Cocoa/RunOpenPanel.mm: Added.
3308         (-[RunOpenPanelUIDelegate webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
3309         (TestWebKitAPI::TEST):
3310
3311 2017-06-06  Yoav Weiss  <yoav@yoav.ws>
3312
3313         [preload] Conditional support for media preloading and align media `as` values.
3314         https://bugs.webkit.org/show_bug.cgi?id=172501
3315
3316         Reviewed by Dean Jackson.
3317
3318         Turn on media preloading preference for tests.
3319
3320         * DumpRenderTree/mac/DumpRenderTree.mm: Turn on media preloading preference.
3321         * DumpRenderTree/win/DumpRenderTree.cpp: Turn on media preloading preference.
3322         * WebKitTestRunner/TestController.cpp: Turn on media preloading preference.
3323
3324 2017-06-06  Jonathan Bedard  <jbedard@apple.com>
3325
3326         webkitpy: Return correct process names from SimulatorProcess
3327         https://bugs.webkit.org/show_bug.cgi?id=172940
3328
3329         Reviewed by Aakash Jain.
3330
3331         * Scripts/webkitpy/port/darwin.py:
3332         (DarwinPort.plist_data_from_bundle): Share plist access code for accessing different plist entries.
3333         (DarwinPort.app_identifier_from_bundle): Use plist_data_from_bundle.
3334         (DarwinPort.app_executable_from_bundle): Access name of app executable from provided app bundle.
3335         * Scripts/webkitpy/port/driver.py:
3336         (Driver.has_crashed): Use _server_process.process_name() instead of _server_process.name() since
3337         _server_process.name() will not return the correct process name for iOS.
3338         (Driver._check_for_driver_crash_or_unresponsiveness): Ditto.
3339         (Driver._read_block): Ditto.
3340         * Scripts/webkitpy/port/driver_unittest.py:
3341         (DriverTest.test_check_for_driver_crash.FakeServerProcess.process_name): Update since Driver uses
3342         process_name() instead of name().
3343         * Scripts/webkitpy/port/server_process.py:
3344         (ServerProcess._start): Use process_name() instead of name().
3345         (ServerProcess.stop): Ditto.
3346         (ServerProcess.name): Deleted.
3347         * Scripts/webkitpy/port/simulator_process.py:
3348         (SimulatorProcess.process_name): Check the provided bundle for the process name.
3349
3350 2017-06-06  Dean Johnson  <dean_johnson@apple.com>
3351
3352         test-webkitpy: stop forking unsafely from within a spawned process
3353         https://bugs.webkit.org/show_bug.cgi?id=172774
3354
3355         Reviewed by Darin Adler.
3356
3357         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
3358         (Builder.__init__): We don't use mechanize.Browser() as part of testing, so only initialize it when
3359         it's going to be used.
3360         (Builder.force_build):
3361
3362 2017-06-06  Jonathan Bedard  <jbedard@apple.com>
3363
3364         webkitpy: Process crash-logs for iOS devices
3365         https://bugs.webkit.org/show_bug.cgi?id=171976
3366         <rdar://problem/32134551>
3367
3368         Reviewed by David Kilzer.
3369
3370         When running layout tests on an iOS device, crash logs should be processed.
3371         Implement crash log searching and parsing for iOS devices.
3372
3373         * Scripts/webkitpy/common/system/crashlogs.py:
3374         (CrashLogs): Moved process regular expression for Darwin to class variable.
3375         (CrashLogs.__init__): Accept optional list of crash logs to ignore.
3376         (CrashLogs.find_newest_log): Add iOS as a potential platform.
3377         (CrashLogs.find_all_logs): Ditto.
3378         (CrashLogs._parse_darwin_crash_log): Share code for parsing of Darwin crash logs.
3379         Do not assume that a Darwin crash log starts with the process.
3380         (CrashLogs._find_newest_log_darwin): Remove .app in process name for iOS, use
3381         shared code for parsing Darwin crash logs.
3382         (CrashLogs._find_newest_log_darwin.is_crash_log): Skip crash logs passed into this
3383         object so that crash logs already on the system before testing are not parsed.
3384         (CrashLogs._find_newest_log_win.is_crash_log): Ditto.
3385         (CrashLogs._find_all_logs_darwin.is_crash_log): Ditto.
3386         (CrashLogs._find_all_logs_darwin): Use shared code for parsing Darwin crash logs.
3387         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
3388         (make_mock_crash_report_darwin): Crash logs may not have their process on the first line.
3389         * Scripts/webkitpy/common/system/systemhost.py:
3390         (SystemHost.symbolicate_crash_log_if_needed): The symbolicated crash log for most
3391         systems is just the crashlog, use this behavior by default.
3392         * Scripts/webkitpy/common/system/systemhost_mock.py:
3393         (MockSystemHost.symbolicate_crash_log_if_needed): The symbolicated crash log for most
3394         systems is just the crashlog, use this behavior by default.
3395         * Scripts/webkitpy/port/apple.py:
3396         (ApplePort): Add a dictionary mapping hosts to a list of crash logs to be skipped.
3397         (ApplePort.setup_test_run): Set the list of crash logs to be skipped to the crash logs on
3398         the system before testing begins
3399         * Scripts/webkitpy/port/base.py:
3400         (Port._get_crash_log): Pass optional target host when getting crash logs.
3401         * Scripts/webkitpy/port/darwin.py:
3402         (DarwinPort._look_for_all_crash_logs_in_log_dir): Pass list of crash logs to be skipped to
3403         CrashLogs object.
3404         (DarwinPort._get_crash_log): Pass optional target host when getting crash logs, pass list of crash
3405         logs to be skipped to CrashLogs object.
3406         * Scripts/webkitpy/port/darwin_testcase.py:
3407         (DarwinTest.test_get_crash_log): Removed unused local function.
3408         (DarwinTest.test_get_crash_log.fake_time_cb): Deleted.
3409         * Scripts/webkitpy/port/device.py:
3410         (Device.symbolicate_crash_log_if_needed): If the platform device has a function with this
3411         name, call it. Otherwise, assume the default behavior and read the file at the provided path.
3412         * Scripts/webkitpy/port/driver.py:
3413         (Driver._get_crash_log): Pass optional target host when getting crash logs.
3414         * Scripts/webkitpy/port/gtk.py:
3415         (GtkPort._get_crash_log): Pass optional target host when getting crash logs.
3416         * Scripts/webkitpy/port/ios.py: Ditto.
3417         (IOSPort.setup_test_run): Each device is treated as an independent host. Set the list of crash logs
3418         to be skipped for each host.
3419         * Scripts/webkitpy/port/ios_device.py:
3420         (IOSDevicePort.path_to_crash_logs): Consult apple_additions for the path to crash logs.
3421         (IOSDevicePort._look_for_all_crash_logs_in_log_dir): Search every connected device for
3422         crash logs and pass list of crash logs to ignore to each instance of CrashLogs.
3423         (IOSDevicePort._get_crash_log): Search the specified target host for a crash log if a target
3424         host is specified. Else, search all connected devices for the specified crash-log.
3425         (IOSDevicePort.look_for_new_crash_logs): Deleted.
3426         * Scripts/webkitpy/port/ios_device_unittest.py:
3427         (IOSDeviceTest.test_crashlog_path): Without apple_additions, an exception should be raised.
3428         (IOSDeviceTest.test_get_crash_log): Ditto.
3429         * Scripts/webkitpy/port/simulator_process.py:
3430         (SimulatorProcess.process_name): Check the provided bundle for the process name.
3431         * Scripts/webkitpy/port/win.py:
3432         (WinPort._get_crash_log): Pass optional target host when getting crash logs, pass list of crash
3433         logs to be skipped to CrashLogs object.
3434         * Scripts/webkitpy/port/wpe.py:
3435         (WPEPort._get_crash_log): Pass optional target host when getting crash logs.
3436
3437 2017-06-06  David Kilzer  <ddkilzer@apple.com>
3438
3439         Move WTF_ATTRIBUTE_PRINTF() from implementation to declaration
3440         <https://webkit.org/b/172804>
3441
3442         Reviewed by Darin Adler.
3443
3444         WTF_ATTRIBUTE_PRINTF() only works outside the current
3445         compilation unit if it's on the declaration, not the
3446         implementation, of a function or class method.
3447
3448         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3449         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
3450         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
3451         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
3452         - Move WTF_ATTRIBUTE_PRINTF() macro to declaration.
3453         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
3454         - Remove redundant CRASH() macro definition.  Use the one from
3455           <wtf/Assertions.h> instead.
3456
3457 2017-06-06  Joseph Pecoraro  <pecoraro@apple.com>
3458
3459         Move Resource Timing / User Timing from experimental features into main preferences
3460         https://bugs.webkit.org/show_bug.cgi?id=172950
3461
3462         Reviewed by Darin Adler.
3463
3464         * DumpRenderTree/mac/DumpRenderTree.mm:
3465         (enableExperimentalFeatures):
3466         (resetWebPreferencesToConsistentValues):
3467         * DumpRenderTree/win/DumpRenderTree.cpp:
3468         (enableExperimentalFeatures):
3469         (resetWebPreferencesToConsistentValues):
3470         * WebKitTestRunner/TestController.cpp:
3471         (WTR::TestController::resetPreferencesToConsistentValues):
3472         Move out no longer experimental features to the main list.
3473
3474 2017-06-06  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3475
3476         [WPE] Add an install-dependencies script
3477         https://bugs.webkit.org/show_bug.cgi?id=172948
3478
3479         Reviewed by Žan Doberšek.
3480
3481         It is based on the gtk/install-dependencies script.
3482         Includes support for Debian based distrubutions, Fedora and Arch.
3483         It has been tested on a minimal Debian 9 chroot.
3484
3485         * wpe/install-dependencies: Added.
3486
3487 2017-06-05  Wenson Hsieh  <wenson_hsieh@apple.com>
3488
3489         Refactor -[WebItemProviderPasteboard valuesForPasteboardType:inItemSet:] to check readable types
3490         https://bugs.webkit.org/show_bug.cgi?id=172891
3491         <rdar://problem/32204540>
3492
3493         Reviewed by Darin Adler.
3494
3495         Adds 2 new API tests to exercise data interaction of HTML data and an attributed string into a rich
3496         contenteditable. See WebCore ChangeLog for more details.
3497
3498         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3499         (TestWebKitAPI::TEST):
3500
3501 2017-06-05  Daniel Bates  <dabates@apple.com>
3502
3503         webkitpy: Abstract Executive class
3504         https://bugs.webkit.org/show_bug.cgi?id=172928
3505         <rdar://problem/32569531>
3506
3507         Reviewed by Ryosuke Niwa.
3508
3509         Adds an AbstractExecutive class and makes Executive extend AbstractExecutive.
3510         This will make it straightforward to create additional derived classes that
3511         adhere to the same interface, say for iOS on-device testing.
3512
3513         * Scripts/webkitpy/common/system/abstractexecutive.py: Added.
3514         (AbstractExecutive):
3515         (AbstractExecutive.run_and_throw_if_fail):
3516         (AbstractExecutive.cpu_count):
3517         (AbstractExecutive.interpreter_for_script):
3518         (AbstractExecutive.shell_command_for_script):
3519         (AbstractExecutive.kill_process):
3520         (AbstractExecutive.check_running_pid):
3521         (AbstractExecutive.running_pids):
3522         (AbstractExecutive.wait_newest):
3523         (AbstractExecutive.wait_limited):
3524         (AbstractExecutive.interrupt):
3525         (AbstractExecutive.default_error_handler):
3526         (AbstractExecutive.ignore_error):
3527         (AbstractExecutive._stringify_args):
3528         (AbstractExecutive.command_for_printing):
3529         (AbstractExecutive.run_command):
3530         (AbstractExecutive.popen):
3531         (AbstractExecutive.run_in_parallel):
3532         * Scripts/webkitpy/common/system/executive.py:
3533         (Executive):
3534         (Executive.cpu_count):
3535         (Executive.running_pids):
3536         (Executive.kill_all):
3537         (Executive._compute_stdin):
3538         (Executive.interpreter_for_script): Deleted.
3539         (Executive.shell_command_for_script): Deleted.
3540         (Executive.wait_newest): Deleted.
3541         (Executive.wait_limited): Deleted.
3542         (Executive.default_error_handler): Deleted.
3543         (Executive.ignore_error): Deleted.
3544         (Executive.command_for_printing): Deleted.
3545
3546 2017-06-05  Jonathan Bedard  <jbedard@apple.com>
3547
3548         webkitpy: Add iOS to platform
3549         https://bugs.webkit.org/show_bug.cgi?id=172931
3550
3551         Reviewed by Daniel Bates.
3552
3553         * Scripts/webkitpy/common/system/platforminfo.py:
3554         PlatformInfo.__init__): Use platform_module.release() as the os_version for iOS device.
3555         (PlatformInfo.is_ios): Added.
3556         (PlatformInfo._determine_os_name): A platform name of 'ios' means that the os name is 'ios'.
3557         * Scripts/webkitpy/common/system/platforminfo_mock.py:
3558         (MockPlatformInfo.is_ios): Added.
3559
3560 2017-06-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3561
3562         [WPE][JHBuild] Switch github repository from git:// to https://
3563         https://bugs.webkit.org/show_bug.cgi?id=172921
3564
3565         Reviewed by Alex Christensen.
3566
3567         * wpe/jhbuild.modules:
3568
3569 2017-06-05  Tim Horton  <timothy_horton@apple.com>
3570
3571         ASSERTION FAILED: m_currentScriptCallbackID in UIScriptContext::requestUIScriptCompletion(JSStringRef) running fast/events/ios/autocorrect-with-range-selection.html
3572         https://bugs.webkit.org/show_bug.cgi?id=172887
3573         <rdar://problem/32546061>
3574
3575         Reviewed by Sam Weinig.
3576
3577         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3578         (WTR::UIScriptController::applyAutocorrection):
3579         applyAutocorrection can call its completion handler synchronously,
3580         which makes UIScriptController unhappy (see bug 172884).
3581
3582 2017-06-03  Jonathan Bedard  <jbedard@apple.com>
3583
3584         webkitpy: Add contextmanager to disable logging for a block
3585         https://bugs.webkit.org/show_bug.cgi?id=172876
3586
3587         Reviewed by Daniel Bates.
3588
3589         Add a context manager which will use an OutputCapture object to capture logging
3590         in a block and hold it in a variable.
3591
3592         * Scripts/webkitpy/common/system/outputcapture.py:
3593         (OutputCaptureScope):
3594         (OutputCaptureScope.__init__): Construct with OutputCapture object.
3595         (OutputCaptureScope.__enter__): Begin capturing output. 
3596         (OutputCaptureScope.__exit__): Restore output and save captured output to a variable.
3597         output and retain the resulting log.
3598         * Scripts/webkitpy/common/system/outputcapture_unittest.py:
3599         (OutputCaptureTest.test_output_capture_scope): Added.
3600
3601 2017-06-02  Zalan Bujtas  <zalan@apple.com>
3602
3603         Cleanup FrameView::autoSizeIfEnabled.
3604         https://bugs.webkit.org/show_bug.cgi?id=172889
3605         <rdar://problem/32550783>
3606
3607         Reviewed by Tim Horton.
3608
3609         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
3610         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]): progression.
3611         (TEST):
3612
3613 2017-06-02  Chris Dumez  <cdumez@apple.com>
3614
3615         ResourceLoadStatistics are not using unique paths during test runs
3616         https://bugs.webkit.org/show_bug.cgi?id=172861
3617         <rdar://problem/32442251>
3618
3619         Reviewed by Darin Adler.
3620
3621         Make sure WebKitTestRunner sets a temporary path for saving resource
3622         load statistics.
3623
3624         * WebKitTestRunner/TestController.cpp:
3625         (WTR::TestController::generateContextConfiguration):
3626
3627 2017-06-02  Brady Eidson  <beidson@apple.com>
3628
3629         Prevent scheme handlers from handling all built-in URL schemes.
3630         <rdar://problem/32404790> and https://bugs.webkit.org/show_bug.cgi?id=172869
3631
3632         Reviewed by Andy Estes.
3633
3634         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
3635
3636 2017-06-02  Stephan Szabo  <stephan.szabo@am.sony.com>
3637
3638         [JSCOnly] Build static jsc.exe on Windows
3639         https://bugs.webkit.org/show_bug.cgi?id=172833
3640
3641         Reviewed by Konstantin Tokarev.
3642
3643         * CMakeLists.txt:
3644         * Scripts/build-jsc:
3645
3646 2017-06-02  Zalan Bujtas  <zalan@apple.com>
3647
3648         Disable ViewportSizeForViewportUnits tests on iOS.
3649         https://bugs.webkit.org/show_bug.cgi?id=172872
3650
3651         Reviewed by Tim Horton.
3652
3653         * TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm:
3654
3655 2017-06-02  Zalan Bujtas  <zalan@apple.com>
3656
3657         Allow clients to override viewport size for CSS viewport units.
3658         https://bugs.webkit.org/show_bug.cgi?id=172838
3659         <rdar://problem/32523441>
3660
3661         Reviewed by Tim Horton.
3662
3663         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3664         * TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm: Added.
3665         (TEST):
3666
3667 2017-06-02  Simon Fraser  <simon.fraser@apple.com>
3668