a6abab5ebe25ac26e0de4e9db4286116f6653fdd
[WebKit-https.git] / Tools / ChangeLog
1 2018-01-16  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         Unreviewed. Fix GTK unit tests execution in the bots after r226967.
4
5         I forgot to pass the environment to the GLibTestRunner and Xvfb was not used in the bots.
6
7         * glib/api_test_runner.py:
8         (TestRunner._run_test_glib): Pass env to GLibTestRunner.
9         * glib/glib_test_runner.py:
10         (GLibTestRunner.run): Use given env.
11
12 2018-01-16  Carlos Garcia Campos  <cgarcia@igalia.com>
13
14         [GTK][WPE] Stop passing --verbose to run-api-tests from the bots
15         https://bugs.webkit.org/show_bug.cgi?id=181676
16
17         Reviewed by Carlos Alberto Lopez Perez.
18
19         The option was removed in r226967.
20
21         * BuildSlaveSupport/build.webkit.org-config/steps.py:
22         (RunGtkAPITests):
23         (RunWPEAPITests):
24
25 2018-01-16  Carlos Garcia Campos  <cgarcia@igalia.com>
26
27         Unreviewed. Temporarily bring back --verbose option of api_test_runner.py.
28
29         The bots are still passing that option and the step is failing because it was removed in r226967.
30
31         * glib/api_test_runner.py:
32         (add_options):
33
34 2018-01-16  Carlos Garcia Campos  <cgarcia@igalia.com>
35
36         [GTK][WPE] Improve the way glib tests are run
37         https://bugs.webkit.org/show_bug.cgi?id=181674
38
39         Reviewed by Žan Doberšek.
40
41         Stop using gtester external program and use our own tester from python directly. This way we no longer need to
42         parse the tests output to get the results which is causing problems in WPE bot. We can now differentiate between
43         tests failing due to an expected assert in the test and unexpected crashes.
44         This also fixes a bug in previous code where we failed to properly detect tests timing out, because gtester was
45         not showing the subtest name in stdout in case of timeouts.
46         I've lowered the default timeout from 10 to 5, since we are now properly handling the timeout for every test
47         case. I've also removed the verbose option, since it was only used by gtester and we now always show the result
48         of every test case.
49
50         * glib/api_test_runner.py:
51         (TestRunner._run_test_glib): Use GLibTestRunner.
52         (TestRunner._run_google_test): Wrote tests timing out to stdout too.
53         (add_options):
54         * glib/glib_test_runner.py: Added.
55         (TestTimeout):
56         (Message):
57         (Message.__init__):
58         (Message.create):
59         (Message.create.read_unsigned):
60         (Message.create.read_double):
61         (Message.create.read_string):
62         (GLibTestRunner):
63         (GLibTestRunner.__init__):
64         (GLibTestRunner._process_data):
65         (GLibTestRunner._process_message):
66         (GLibTestRunner._read_from_pipe):
67         (GLibTestRunner._read_from_stderr):
68         (GLibTestRunner._start_timeout):
69         (GLibTestRunner._start_timeout._alarm_handler):
70         (GLibTestRunner._stop_timeout):
71         (GLibTestRunner._subtest_start):
72         (GLibTestRunner._subtest_message):
73         (GLibTestRunner._subtest_stderr):
74         (GLibTestRunner._subtest_end):
75         (GLibTestRunner.run):
76
77 2018-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
78
79         Unreviewed, add Thibault to contributors.json
80
81         It's a bit weird to add someone here before their first contribution, but this affects
82         Bugzilla autocomplete, and that is serious business.
83
84         * Scripts/webkitpy/common/config/contributors.json:
85
86 2018-01-15  JF Bastien  <jfbastien@apple.com>
87
88         Remove makePoisonedUnique
89         https://bugs.webkit.org/show_bug.cgi?id=181630
90         <rdar://problem/36498623>
91
92         Reviewed by Mark Lam.
93
94         Update tests.
95
96         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtr.cpp:
97         (TestWebKitAPI::TEST):
98         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForNonTriviallyDestructibleArrays.cpp:
99         (TestWebKitAPI::TEST):
100
101 2018-01-15  Adrian Perez de Castro  <aperez@igalia.com>
102
103         [GTK][JHBuild] Tools/gtk/install-dependencies: Package libxfont does not exist anymore in Arch Linux
104         https://bugs.webkit.org/show_bug.cgi?id=181476
105
106         Reviewed by Michael Catanzaro.
107
108         Update to xorg-server 1.19.6 which depends on libxfont2, and change
109         the lists of packages to install libxfont2-devel (or equivalent).
110
111         * gtk/install-dependencies:
112         * gtk/jhbuild.modules:
113
114 2018-01-15  Carlos Garcia Campos  <cgarcia@igalia.com>
115
116         [GTK][WPE] Add support for unit test expectations
117         https://bugs.webkit.org/show_bug.cgi?id=181589
118
119         Reviewed by Michael Catanzaro.
120
121         We currently have a way to skip tests by annotating them in the api test runner script. The main problem of this
122         approach is that we skip tests when they fail in the bots and we never notice if they stop failing, keeping the
123         tests skipped forever. This is indeed the case of several WebKit2 C API tests. Annotating skipped tests in the
124         script itself is not a good idea either.
125
126         This patch adds a generic TestExpectations class for simple tests based on tests with subtests, like our unit
127         tests, but also WebDriver tests. It parses a json file with the tests and subtests expectations and provides
128         convenient methods to query them.
129
130         * Scripts/run-gtk-tests:
131         (GtkTestRunner): Remove all Skipped and Slow tests marked here.
132         * Scripts/run-wpe-tests:
133         (WPETestRunner): Ditto.
134         * Scripts/webkitpy/common/test_expectations.py: Added.
135         (TestExpectations):
136         (TestExpectations.__init__):
137         (TestExpectations._port_name_for_expected):
138         (TestExpectations._expected_value):
139         (TestExpectations.skipped_tests):
140         (TestExpectations.skipped_subtests):
141         (TestExpectations._expectation_value):
142         (TestExpectations.is_slow):
143         (TestExpectations.get_expectation):
144         * Scripts/webkitpy/common/test_expectations_unittest.py: Added.
145         (MockTestExpectations):
146         (MockTestExpectations.__init__):
147         (MockTestExpectations.is_skip):
148         (ExpectationsTest):
149         (assert_exp):
150         (assert_not_exp):
151         (assert_bad_exp):
152         (assert_skip):
153         (test_basic):
154         (test_skip):
155         (test_flaky):
156         (test_build_type):
157         * TestWebKitAPI/glib/TestExpectations.json: Added.
158         * glib/api_test_runner.py:
159         (TestRunner): Remove SkippedTest implementation.
160         (TestRunner.__init__): Create a TestExpectations.
161         (TestRunner._test_cases_to_skip): Use TestExpectations to check skipped tests.
162         (TestRunner._should_run_test_program): Ditto.
163         (TestRunner._run_test_glib): Use TestExpectations to check if test suite is slow.
164         (TestRunner._run_test_glib.parse_line.set_test_result): Register also tests passing.
165         (TestRunner._run_google_test): Use TestExpectations to check if test cases is slow and register tests passing.
166         (TestRunner.run_tests): Check if actual result is the expected one and register also unexpected passes.
167         (TestRunner.run_tests.report): Helper to write report to stdout.
168
169 2018-01-13  Mark Lam  <mark.lam@apple.com>
170
171         Replace all use of ConstExprPoisoned with Poisoned.
172         https://bugs.webkit.org/show_bug.cgi?id=181542
173         <rdar://problem/36442138>
174
175         Reviewed by JF Bastien.
176
177         1. Converted tests to using new uintptr_t& poison type.
178         2. Added tests for Poisoned comparison operators.
179
180         * TestWebKitAPI/CMakeLists.txt:
181         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
182         * TestWebKitAPI/Tests/WTF/ConstExprPoisoned.cpp: Removed.
183         * TestWebKitAPI/Tests/WTF/Poisoned.cpp:
184         (TestWebKitAPI::TEST):
185         (TestWebKitAPI::initializeTestPoison): Deleted.
186         * TestWebKitAPI/Tests/WTF/PoisonedRef.cpp:
187         (TestWebKitAPI::TEST):
188         (TestWebKitAPI::passWithRef):
189         * TestWebKitAPI/Tests/WTF/PoisonedRefPtr.cpp:
190         (TestWebKitAPI::TEST):
191         (TestWebKitAPI::f1):
192         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtr.cpp:
193         (TestWebKitAPI::TEST):
194         (TestWebKitAPI::poisonedPtrFoo):
195         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForNonTriviallyDestructibleArrays.cpp:
196         (TestWebKitAPI::TEST):
197         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForTriviallyDestructibleArrays.cpp:
198         (TestWebKitAPI::TEST):
199
200 2018-01-13  David Kilzer  <ddkilzer@apple.com>
201
202         check-webkit-style: false positive for [whitespace/braces] with os_log format string
203         <https://webkit.org/b/181606>
204
205         Reviewed by Darin Adler.
206
207         * Scripts/webkitpy/style/checkers/cpp.py:
208         (check_spacing): Modify regular expression to ignore
209         os_log format strings like '%{public}'.
210         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
211         (CppStyleTest.test_spacing_before_braces): Add os_log
212         format string test.
213
214 2018-01-12  Wenson Hsieh  <wenson_hsieh@apple.com>
215
216         [macOS] API tests ChangeAttachmentDataUpdatesWithInPlaceDisplay and InPlaceVideoAttachmentInsertionWithinList are failing
217         https://bugs.webkit.org/show_bug.cgi?id=181626
218
219         Reviewed by Joseph Pecoraro.
220
221         Make the web view for WKAttachmentTests slightly bigger to avoid size clamping behavior introduced in r226915.
222         Additionally, write a new API test covering the change in r226915.
223
224         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
225         (webViewForTestingAttachments):
226         (TestWebKitAPI::TEST):
227
228 2018-01-12  Alex Christensen  <achristensen@webkit.org>
229
230         History state should be updated during client redirects with asynchronous policy decisions
231         https://bugs.webkit.org/show_bug.cgi?id=181358
232         <rdar://problem/35547689>
233
234         Reviewed by Andy Estes.
235
236         * TestWebKitAPI/Tests/WebKit/WKBackForwardList.mm:
237         (-[AsyncPolicyDecisionDelegate webView:didFinishNavigation:]):
238         (-[AsyncPolicyDecisionDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
239         (TEST):
240
241 2018-01-12  Jonathan Bedard  <jbedard@apple.com>
242
243         webkitpy: Refactor simulator code (Part 4)
244         https://bugs.webkit.org/show_bug.cgi?id=180555
245         <rdar://problem/36131381>
246
247         Reviewed by Aakash Jain.
248
249         Move new_simulated_device.py to simulated_device.py.
250
251         * Scripts/webkitpy/port/ios_simulator.py: Update import statement.
252         * Scripts/webkitpy/xcode/new_simulated_device.py: Removed.
253         * Scripts/webkitpy/xcode/new_simulated_device_unittest.py: Removed.
254         * Scripts/webkitpy/xcode/simulated_device.py: Copied from Tools/Scripts/webkitpy/xcode/new_simulated_device.py.
255         * Scripts/webkitpy/xcode/simulated_device_unittest.py: Copied from Tools/Scripts/webkitpy/xcode/new_simulated_device_unittest.py.
256
257 2018-01-12  Alex Christensen  <achristensen@webkit.org>
258
259         REGRESSION (r226818): API test WebKitLegacy.LoadInvalidURLRequest is failing
260         https://bugs.webkit.org/show_bug.cgi?id=181595
261
262         This test was testing behavior of an invalid URL that WebCore parses but NSURL does not.
263         It was using example.com<> but after r226479 < and > are considered invalid by WebCore.
264         I change the < and > to $ to make this test pass and continue to test what it used to.
265
266         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html:
267         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
268         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
269
270 2018-01-11  Keith Miller  <keith_miller@apple.com>
271
272         Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
273         https://bugs.webkit.org/show_bug.cgi?id=181573
274
275         Reviewed by Simon Fraser.
276
277         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
278
279 2018-01-11  Jiewen Tan  <jiewen_tan@apple.com>
280
281         [WebAuthN] Import a CBOR coder from Chromium
282         https://bugs.webkit.org/show_bug.cgi?id=181522
283         <rdar://problem/36055729>
284
285         Reviewed by Brent Fulgham.
286
287         This patch also imports all unit tests into our API tests to ensure all
288         workarounds and modification against the original codebase doesn't change
289         any original functionalities.
290
291         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
292         * TestWebKitAPI/Tests/WebCore/CBORReaderTest.cpp: Added.
293         (TestWebKitAPI::TEST):
294         * TestWebKitAPI/Tests/WebCore/CBORValueTest.cpp: Added.
295         (TestWebKitAPI::TEST):
296         * TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp: Added.
297         (TestWebKitAPI::eq):
298         Workarounds applied.
299         (TestWebKitAPI::TEST):
300
301 2018-01-11  Jonathan Bedard  <jbedard@apple.com>
302
303         webkitpy: Use partially disambiguated type in SimulatedDeviceManager._disambiguate_device_type
304         https://bugs.webkit.org/show_bug.cgi?id=181538
305         <rdar://problem/36440580>
306
307         Reviewed by Aakash Jain.
308
309         When disambiguating a device type, it is possible that the provided device type is sufficiently
310         ambiguous that the comparisons against complete device types without a disambiguated hardware_family
311         will result in a failure to disambiguate the type.
312
313         * Scripts/webkitpy/xcode/new_simulated_device.py:
314         (SimulatedDeviceManager._disambiguate_device_type):
315
316 2018-01-11  Brent Fulgham  <bfulgham@apple.com>
317
318         REGRESSION(r219530): ResourceLoadStatisticsPersistentStorage should be read-only in ephemeral sessions
319         https://bugs.webkit.org/show_bug.cgi?id=181136
320         <rdar://problem/36116604>
321
322         Reviewed by Chris Dumez.
323
324         Add a new API test to confirm that ResourceLoadStatistics can be turned on safely for ephemeral
325         browsing sessions.
326
327         * Scripts/run-gtk-tests:
328         (GtkTestRunner): Unskip test now that it passes.
329         * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
330         (TEST): Add new WebsiteDataStoreEphemeral test.
331
332 2018-01-11  Ryan Haddad  <ryanhaddad@apple.com>
333
334         Unreviewed, rolling out r226816.
335
336         This change broke LayoutTests on the bots.
337
338         Reverted changeset:
339
340         "run-webkit-tests fails when there is a curly brace in Xcode
341         build output"
342         https://bugs.webkit.org/show_bug.cgi?id=181254
343         https://trac.webkit.org/changeset/226816
344
345 2018-01-11  Jonathan Bedard  <jbedard@apple.com>
346
347         webkitpy: Fix flakey webserver tests
348         https://bugs.webkit.org/show_bug.cgi?id=181555
349         <rdar://problem/36448273>
350
351         Reviewed by Aakash Jain.
352
353         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:
354         (LayoutTestRunnerTests.test_servers_started): Add and bind custom checks to
355         determine if a specific server is running.
356
357 2018-01-11  Jonathan Bedard  <jbedard@apple.com>
358
359         Commit queue failed to land a bug, 'NoneType' object has no attribute 'strip'
360         https://bugs.webkit.org/show_bug.cgi?id=181561
361         <rdar://problem/36452652>
362
363         Reviewed by Aakash Jain.
364
365         BeautifulSoup.find may return None, this case should be gracefully handled.
366
367         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
368         (BugzillaQueries._parse_result_count):
369         (BugzillaQueries._fetch_bugs_from_advanced_query): Added logging.
370
371 2018-01-11  Alexey Proskuryakov  <ap@apple.com>
372
373         run-webkit-tests fails when there is a curly brace in Xcode build output
374         https://bugs.webkit.org/show_bug.cgi?id=181254
375
376         Reviewed by Daniel Bates.
377
378         * Scripts/webkitpy/layout_tests/views/metered_stream.py:
379         (MeteredStream.write):
380
381 2018-01-11  Jonathan Bedard  <jbedard@apple.com>
382
383         webkitpy: Reimplement simulator code (Part 3)
384         https://bugs.webkit.org/show_bug.cgi?id=180555
385         <rdar://problem/36131381>
386
387         Reviewed by Aakash Jain.
388
389         Remove old simulator code.
390
391         * Scripts/webkitpy/xcode/__init__.py: Remove import statement.
392         * Scripts/webkitpy/xcode/simulated_device.py: Removed.
393         * Scripts/webkitpy/xcode/simulator.py: Removed.
394         * Scripts/webkitpy/xcode/simulator_unittest.py: Removed.
395
396 2018-01-11  Wenson Hsieh  <wenson_hsieh@apple.com>
397
398         [Attachment Support] Support moving attachment elements in editable areas using drag and drop
399         https://bugs.webkit.org/show_bug.cgi?id=181337
400         <rdar://problem/36324813>
401
402         Reviewed by Tim Horton.
403
404         Add 3 new API tests for attachment element dragging.
405
406         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
407         (-[TestWKWebView expectElementTag:toComeBefore:]):
408         (-[NSItemProvider expectType:withData:]):
409         (TestWebKitAPI::TEST):
410
411 2018-01-11  Jonathan Bedard  <jbedard@apple.com>
412
413         REGRESSION(r225856): Incorrectly managing 'future' baseline_search_paths. 
414         https://bugs.webkit.org/show_bug.cgi?id=179621
415         <rdar://problem/35589585>
416
417         Unreviewed infrastructure fix.
418
419         * Scripts/webkitpy/port/mac.py:
420         (MacPort.default_baseline_search_path): Include 'future' in the version_fallback
421         list if we are the VERSION_MAX, which usually corresponds with future.
422
423 2018-01-11  Filip Pizlo  <fpizlo@apple.com>
424
425         CodeBlocks should be in IsoSubspaces
426         https://bugs.webkit.org/show_bug.cgi?id=180884
427
428         Reviewed by Saam Barati.
429         
430         Remove some less important benchmarks from the default run. Doing run-jsc-benchmarks
431         shouldn't take a long time due to benchmarks we don't optimize for.
432         
433         * Scripts/run-jsc-benchmarks:
434
435 2018-01-11  Ms2ger  <Ms2ger@igalia.com>
436
437         Test gardening for GTK.
438         https://bugs.webkit.org/show_bug.cgi?id=181477
439
440         Unreviewed test gardening.
441
442         * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: Correct the file name.
443         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp: Adjust the expected console message.
444
445 2018-01-11  Carlos Alberto Lopez Perez  <clopez@igalia.com>
446
447         Add the new JSCOnly bot to the scheduler.
448         https://bugs.webkit.org/show_bug.cgi?id=181487
449
450         Unreviewed follow-up patch after r226729
451
452         On r226729 I missed to add the new JSCOnly bot the default scheduler.
453         This is needed to make the bot automatically pick each commit for testing.
454
455         * BuildSlaveSupport/build.webkit.org-config/config.json:
456
457 2018-01-11  Wenson Hsieh  <wenson_hsieh@apple.com>
458
459         [Attachment Support] Support dragging attachment elements out as files on iOS
460         https://bugs.webkit.org/show_bug.cgi?id=181199
461         <rdar://problem/36299316>
462
463         Reviewed by Tim Horton, Andy Estes and Joseph Pecoraro.
464
465         Add support in the drag and drop simulator for testing blob-backed attachment element dragging, and also add new
466         attachment API tests.
467
468         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
469         (-[NSItemProvider expectType:withData:]):
470         (TestWebKitAPI::TEST):
471
472         Add two new WKAttachmentTests to exercise dragging data- and file-backed blobs via attachment elements. These
473         tests first insert attachments via drop or WKWebView SPI, and then drag these attachments out and use the
474         -expectType:withData: helper to inspect the item providers created from the drag source.
475
476         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
477         (TestWebKitAPI::TEST):
478         * TestWebKitAPI/ios/DataInteractionSimulator.h:
479         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
480         (-[MockDragSession localContext]):
481         (-[MockDragSession setLocalContext:]):
482         (-[DataInteractionSimulator _resetSimulatedState]):
483         (-[DataInteractionSimulator simulateAllTouchesCanceled:]):
484         (-[DataInteractionSimulator _concludeDataInteractionAndPerformOperationIfNecessary]):
485         (-[DataInteractionSimulator _advanceProgress]):
486         (-[DataInteractionSimulator endDataTransfer]):
487
488         Make some tweaks to the iOS drag and drop simulator. In particular, this patch (1) adds a new hook to tell
489         WebKit that data transfers have been completed, (2) fixes incorrect drop proposal handling when returning
490         UIDropOperationForbidden by replacing _shouldPerformOperation with a UIDropProposal, and (3) teach the
491         MockDragSession to hold on to a localContext.
492
493 2018-01-11  Ali Juma  <ajuma@chromium.org>
494
495         Unreviewed. Add Ali Juma as contributor
496
497         * Scripts/webkitpy/common/config/contributors.json:
498
499 2018-01-11  Carlos Garcia Campos  <cgarcia@igalia.com>
500
501         Unreviewed. Update Selenium WebDriver imported tests.
502
503         New version of selenium uses command line options to pass driver and browser binaries to pytest instead of
504         environment variables.
505
506         * Scripts/webkitpy/webdriver_tests/pytest_runner.py:
507         (collect): Reorder the arguments to make pytest happy.
508         (run): Ditto.
509         * Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py:
510         (WebDriverSeleniumExecutor.__init__): Add driver binary, browser binary and browser args as arguments.
511
512 2018-01-11  Ling Ho  <lingcherd_ho@apple.com>
513
514         Move Commit Queue and EWS Queues to Sierra on Bot Watcher's Dasboard
515         https://bugs.webkit.org/show_bug.cgi?id=181492
516         <rdar://problem/36359679>
517
518         Reviewed by Alexey Proskuryakov. 
519
520 2018-01-10  Adrian Perez de Castro  <aperez@igalia.com>
521
522         [GTK] Tools/gtk/install-dependencies: Packages geoclue, ruby-highline, xorg-utils do not exist in Arch Linux
523         https://bugs.webkit.org/show_bug.cgi?id=181475
524
525         Reviewed by Michael Catanzaro.
526
527         * gtk/install-dependencies: Update package list for Arch Linux, extend
528         message shown at end of installation with additional tips.
529
530 2018-01-10  Wenson Hsieh  <wenson_hsieh@apple.com>
531
532         REGRESSION(r222507): Composition highlight doesn't render when using IME
533         https://bugs.webkit.org/show_bug.cgi?id=181485
534         <rdar://problem/35896516>
535
536         Reviewed by Ryosuke Niwa.
537
538         Add a `suppressUnderline` argument to TextInputController.setMarkedText. This suppresses the custom underlines
539         rendered when testing IME on iOS in WebKit2. In this new test, suppressing underline rendering is needed to
540         allow rendering composition backgrounds (see InlineTextBox::paint).
541
542         * DumpRenderTree/ios/TextInputControllerIOS.m:
543         (+[TextInputController isSelectorExcludedFromWebScript:]):
544         (+[TextInputController webScriptNameForSelector:]):
545         (-[TextInputController setMarkedText:selectedFrom:length:suppressUnderline:]):
546         (-[TextInputController setMarkedText:selectedFrom:length:]): Deleted.
547         * DumpRenderTree/mac/TextInputControllerMac.m:
548         (+[TextInputController isSelectorExcludedFromWebScript:]):
549         (+[TextInputController webScriptNameForSelector:]):
550         (-[TextInputController setMarkedText:selectedFrom:length:suppressUnderline:]):
551         (-[TextInputController setMarkedText:selectedFrom:length:]): Deleted.
552         * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
553         * WebKitTestRunner/InjectedBundle/TextInputController.cpp:
554         (WTR::TextInputController::setMarkedText):
555         * WebKitTestRunner/InjectedBundle/TextInputController.h:
556
557 2018-01-10  JF Bastien  <jfbastien@apple.com>
558
559         Poison small JSObject derivatives which only contain pointers
560         https://bugs.webkit.org/show_bug.cgi?id=181483
561         <rdar://problem/36407127>
562
563         Reviewed by Mark Lam.
564
565         Test the new move-assign and move-copy from unique_ptr, as well as
566         nullptr_t ctors.
567
568         * TestWebKitAPI/Tests/WTF/Poisoned.cpp:
569         (TestWebKitAPI::TEST):
570         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtr.cpp:
571         (TestWebKitAPI::TEST):
572         * TestWebKitAPI/Tests/WTF/PoisonedUniquePtrForTriviallyDestructibleArrays.cpp:
573         (TestWebKitAPI::TEST):
574
575 2018-01-10  Chris Dumez  <cdumez@apple.com>
576
577         Multiple http/wpt/beacon/contentextensions/ test are flaky.
578         https://bugs.webkit.org/show_bug.cgi?id=179256
579         <rdar://problem/35401978>
580
581         Reviewed by Alex Christensen.
582
583         Update WebKitTestRunner to set a temporary path for content extensions so that its WKTR
584         instance gets its own folder to avoid conflicts and flakiness.
585
586         * WebKitTestRunner/mac/TestControllerMac.mm:
587         (WTR::TestController::platformConfigureViewForTest):
588
589 2018-01-10  Tim Horton  <timothy_horton@apple.com>
590
591         REGRESSION (r213590): Swipe from edge to go to previous page is significantly slower than tapping back button on Twitter
592         https://bugs.webkit.org/show_bug.cgi?id=181269
593         <rdar://problem/35110344>
594
595         Reviewed by Simon Fraser.
596
597         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
598         (WTR::UIScriptController::beginBackSwipe):
599         (WTR::UIScriptController::completeBackSwipe):
600         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
601         (WTR::UIScriptController::beginBackSwipe):
602         (WTR::UIScriptController::completeBackSwipe):
603         (WTR::UIScriptController::overridePreference):
604         (WTR::UIScriptController::replaceTextAtRange):
605         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
606         (WTR::PlatformWebView::setNavigationGesturesEnabled):
607         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
608         (WTR::UIScriptController::beginBackSwipe):
609         (WTR::UIScriptController::completeBackSwipe):
610         Implement beginBackSwipe and completeBackSwipe on iOS (they already
611         exist on Mac) in terms of the new WKWebView testing SPI.
612
613 2018-01-10  Jonathan Bedard  <jbedard@apple.com>
614
615         REGRESSION (r226715): ignore WARNING output in linter tests
616         https://bugs.webkit.org/show_bug.cgi?id=181486
617         <rdar://problem/36408847>
618
619         Reviewed by Aakash Jain.
620
621         Linter unit tests should not be interested in logs at the the INFO or WARNING levels.
622
623         * Scripts/webkitpy/common/system/outputcapture.py:
624         (OutputCapture.__init__): Pass logging level to be captured.
625         * Scripts/webkitpy/style/main_unittest.py:
626         (ExpectationLinterInStyleCheckerTest.test_no_linter_errors): Capture logging at the ERROR level.
627         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line): Ditto.
628         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_no_edit): Ditto.
629         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_edit_in_file): Ditto.
630         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_only_deletes): Ditto.
631         (ExpectationLinterInStyleCheckerTest.test_linter_added_file_with_error): Ditto.
632         (ExpectationLinterInStyleCheckerTest.test_linter_deleted_file): Ditto.
633         (ExpectationLinterInStyleCheckerTest.test_linter_deleted_file_no_edit): Ditto.
634
635 2018-01-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
636
637         Add a JSCOnly MIPS buildbot
638         https://bugs.webkit.org/show_bug.cgi?id=181487
639
640         Reviewed by Michael Catanzaro.
641
642         Add the new bot configs definitions for the master and update the unit tests.
643
644         * BuildSlaveSupport/build.webkit.org-config/config.json:
645         * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
646
647 2018-01-10  Jonathan Bedard  <jbedard@apple.com>
648
649         REGRESSION (r226715): don't re-check number of simulators in child processes
650         https://bugs.webkit.org/show_bug.cgi?id=181484
651         <rdar://problem/36407151>
652
653         Reviewed by Aakash Jain.
654
655         * Scripts/webkitpy/port/ios_simulator.py:
656         (IOSSimulatorPort.__init__): Skip the number of simulators check if simulators
657         are already initialized.
658
659 2018-01-10  Commit Queue  <commit-queue@webkit.org>
660
661         Unreviewed, rolling out r226667 and r226673.
662         https://bugs.webkit.org/show_bug.cgi?id=181488
663
664         This caused a flaky crash. (Requested by mlewis13 on #webkit).
665
666         Reverted changesets:
667
668         "CodeBlocks should be in IsoSubspaces"
669         https://bugs.webkit.org/show_bug.cgi?id=180884
670         https://trac.webkit.org/changeset/226667
671
672         "REGRESSION (r226667): CodeBlocks should be in IsoSubspaces"
673         https://bugs.webkit.org/show_bug.cgi?id=180884
674         https://trac.webkit.org/changeset/226673
675
676 2018-01-10  Jonathan Bedard  <jbedard@apple.com>
677
678         Follow-up fix to r226715
679         https://bugs.webkit.org/show_bug.cgi?id=180555
680         <rdar://problem/36131381>
681
682         Unreviewed infrastructure fix.
683
684         * Scripts/webkitpy/xcode/new_simulated_device.py:
685         (SimulatedDeviceManager._create_or_find_device_for_request): Use _delete instead
686         of delete.
687
688 2018-01-10  Jonathan Bedard  <jbedard@apple.com>
689
690         webkitpy: Refactor simulator code (Part 2)
691         https://bugs.webkit.org/show_bug.cgi?id=180555
692         <rdar://problem/36131381>
693
694         Reviewed by Aakash Jain.
695
696         The patch leverages the SimulatedDeviceManager when running layout tests.
697         This patch is primarily code removal, since much of the IOSSimulatorPort
698         was dedicated to managing simulators. The removed code is either now owned by the
699         SimulatedDeviceManager (and committed in Part 1) or supported a technique to
700         boot multiple simulators which was made obsolete in Xcode 9.
701
702         * Scripts/webkitpy/layout_tests/controllers/manager.py:
703         (Manager._custom_device_for_test.in): Device names now have spaces in them,
704         strip those spaces.
705         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
706         (parse_args): Remove '--runtime' flag, this is achieved with the --version flag.
707         * Scripts/webkitpy/port/ios.py:
708         (IOSPort.__init__): The _current_device idiom is no longer required since the
709         SimulatedDeviceManager keeps track of any previously booted devices.
710         (IOSPort.target_host): Even when only a single device is used, it will be accessed
711         through the array of managed devices.
712         (IOSPort.using_multiple_devices): Deleted.
713         * Scripts/webkitpy/port/ios_device.py:
714         (IOSDevicePort.using_multiple_devices): Deleted.
715         * Scripts/webkitpy/port/ios_simulator.py:
716         (IOSSimulatorPort): Remove constants required to manage simulators, change device
717         class strings so they can be parsed by the DeviceType class.
718         (IOSSimulatorPort.__init__): Determine the number of processes to use by checking
719         the number of simulators currently booted, the number of child processes specified
720         and the maximum number of simulators supported by this system.
721         (IOSSimulatorPort._device_for_worker_number_map):Return the array of initialized
722         devices owned by the SimulatedDeviceManager.
723         (IOSSimulatorPort.ios_version): Remove support for the --runtime option.
724         (IOSSimulatorPort.default_child_processes): Use the SimulatedDeviceManager to check
725         the maximum number of supported simulators on this system.
726         (IOSSimulatorPort._create_devices): Construct a list of device requests with a
727         request for each child process and send this list to the SimulatedDeviceManager to
728         initialize the devices.
729         (IOSSimulatorPort.clean_up_test_run):
730         (IOSSimulatorPort.check_sys_deps): Check that there are simulators running the
731         specified version of iOS.
732         (IOSSimulatorPort.reset_preferences):
733         (IOSSimulatorPort.simulator_runtime): Deleted.
734         (IOSSimulatorPort.simulator_device_type): Deleted.
735         (IOSSimulatorPort._teardown_managed_simulators): Deleted.
736         (IOSSimulatorPort.use_multiple_simulator_apps): Deleted.
737         (IOSSimulatorPort._create_simulators): Deleted.
738         (IOSSimulatorPort._quit_ios_simulator): Deleted.
739         (IOSSimulatorPort._using_dedicated_simulators): Deleted.
740         (IOSSimulatorPort.using_multiple_devices): Deleted.
741         (IOSSimulatorPort._create_device): Deleted.
742         (IOSSimulatorPort.get_simulator_path): Deleted.
743         (IOSSimulatorPort._createSimulatorApps): Deleted.
744         (IOSSimulatorPort._createSimulatorApp): Deleted.
745         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
746         (TestRebaseline.test_rebaseline): Filter out commands run when determining the
747         maximum number of simulators run on this system.
748         (TestRebaselineExpectations.test_rebaseline_expectations): Ditto.
749         * Scripts/webkitpy/xcode/new_simulated_device.py:
750         (SimulatedDeviceManager._does_fulfill_request): Fixed log statement.
751
752 2018-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>
753
754         WebDriver: run-webdriver-tests doesn't handle test names with a '/' correctly
755         https://bugs.webkit.org/show_bug.cgi?id=181474
756
757         Reviewed by Carlos Alberto Lopez Perez.
758
759         We use os.path.basename() to get the subtest name. If the test name contains a slash we get part of the subtest
760         name as the name.
761
762         * Scripts/webkitpy/webdriver_tests/webdriver_test_runner_w3c.py:
763         (WebDriverTestRunnerW3C._subtest_name): Helper function to get the subtest name.
764         (WebDriverTestRunnerW3C.run): Use _subtest_name() instead of os.path.basename().
765
766 2018-01-09  Andy Estes  <aestes@apple.com>
767
768         [Xcode] Use the Apple Internal SDK if available when building ImageDiff
769         https://bugs.webkit.org/show_bug.cgi?id=181459
770
771         Reviewed by Dan Bernstein.
772
773         * ImageDiff/cg/Configurations/Base.xcconfig:
774
775 2018-01-09  Myles C. Maxfield  <mmaxfield@apple.com>
776
777         font-display:fallback can cause a visual flash (which is supposed to be impossible)
778         https://bugs.webkit.org/show_bug.cgi?id=181374
779
780         Reviewed by Simon Fraser.
781
782         The test requires Palatino.
783
784         * DumpRenderTree/mac/DumpRenderTree.mm:
785         (allowedFontFamilySet):
786         * WebKitTestRunner/mac/TestControllerMac.mm:
787         (WTR::allowedFontFamilySet):
788
789 2018-01-09  Saam Barati  <sbarati@apple.com>
790
791         Give some slack in display-profiler-outputs computation of the terminal window's number of columns
792         https://bugs.webkit.org/show_bug.cgi?id=181449
793
794         Reviewed by JF Bastien.
795
796         This allows me to Cmd+f in my terminal to search for things without
797         having the results become misaligned.
798
799         * Scripts/display-profiler-output:
800
801 2018-01-09  Basuke Suzuki  <Basuke.Suzuki@sony.com>
802
803         [webkitpy] PlatformInfo should have default argument for casual use
804         https://bugs.webkit.org/show_bug.cgi?id=180827
805
806         Reviewed by David Kilzer.
807
808         PlatformInfo should be the only way to check platform specific thing instead
809         of sys.platform or other various checks. If there is something you want to check,
810         it should be placed in PlatformInfo.
811
812         Currently to instantiate PlatformInfo, it requires arguments, which is usually
813         sys, platform and Executive(). They are straight forward and should be handled
814         by default arguments. Then we can instantiate PlatformInfo more casual.
815
816         * Scripts/webkitpy/common/system/platforminfo.py:
817         (PlatformInfo): Use relative module path import
818         (PlatformInfo.__init__):
819         (PlatformInfo.executive): Lazy instantiation of Executive()
820         (PlatformInfo.total_bytes_memory): Accessing via above property
821         (PlatformInfo.xcode_sdk_version): Ditto
822         (PlatformInfo.xcode_simctl_list): Ditto
823         (PlatformInfo.xcode_version): Ditto
824         (PlatformInfo._win_version_str): Ditto
825         * Scripts/webkitpy/common/system/systemhost.py:
826         (SystemHost.__init__):
827         * Scripts/webkitpy/common/system/user.py:
828         (User.__init__):
829
830 2018-01-09  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
831
832         [Win] Remove workaround for Bug 176442 after stopping MSVC 2015 support
833         https://bugs.webkit.org/show_bug.cgi?id=176443
834
835         Reviewed by Darin Adler.
836
837         * TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
838         (TEST):
839
840 2018-01-09  Frederic Wang  <fwang@igalia.com.fr>
841
842         check-webkit-style: Verify syntax for WK_API_AVAILABLE
843         https://bugs.webkit.org/show_bug.cgi?id=181394
844
845         Reviewed by Darin Adler.
846
847         A common syntax error for WK_API_AVAILABLE is to write ios(WK_MAC_TBA)
848         as the second parameter instead of ios(WK_IOS_TBA). This generally
849         builds for iOS on EWS but not when using the public SDK. See r224057,
850         r223207 and r226211 for example. This patch adds a basic style check
851         for that macro to prevent this kind of mistake.
852
853         * Scripts/webkitpy/style/checkers/cpp.py:
854         (check_min_versions_of_wk_api_available): New function to verify the parameters of WX_API_AVAILABLE.
855         (check_style): Run new style check.
856         (CppChecker): Add build type for the new style check.
857         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
858         (WebKitStyleTest.test_min_versions_of_wk_api_available): Add tests for the new style check.
859
860 2018-01-08  Wenson Hsieh  <wenson_hsieh@apple.com>
861
862         [Attachment Support] Expose HTMLAttachmentElement.uniqueIdentifier to bindings
863         https://bugs.webkit.org/show_bug.cgi?id=181420
864         <rdar://problem/36365827>
865
866         Reviewed by Alex Christensen.
867
868         Adjusts some existing API tests to verify that attachment elements' uniqueIdentifiers match the uniqueIdentifier
869         of corresponding _WKAttachments.
870
871         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
872         (TestWebKitAPI::TEST):
873
874 2018-01-08  Alex Christensen  <achristensen@webkit.org>
875
876         Add WKNavigationDelegate SPI exposing WebProcess crash reason
877         https://bugs.webkit.org/show_bug.cgi?id=181410
878         <rdar://problem/36167199>
879
880         Reviewed by Wenson Hsieh.
881
882         * TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
883         (-[CrashReasonDelegate _webView:webContentProcessDidTerminateWithReason:]):
884         (TEST):
885
886 2018-01-08  Alex Christensen  <achristensen@webkit.org>
887
888         Add SPI for WKOpenPanelParameters._acceptedMIMETypes and _acceptedFileExtensions
889         https://bugs.webkit.org/show_bug.cgi?id=181408
890         <rdar://problem/35884960>
891
892         Reviewed by Tim Horton.
893
894         * TestWebKitAPI/Tests/WebKitCocoa/RunOpenPanel.mm:
895         (-[RunOpenPanelUIDelegate webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
896
897 2018-01-08  Wenson Hsieh  <wenson_hsieh@apple.com>
898
899         [Attachment Support] Expose file name and content type of WKAttachment
900         https://bugs.webkit.org/show_bug.cgi?id=181390
901         <rdar://problem/36336837>
902
903         Reviewed by Tim Horton.
904
905         Adjusts some existing tests in WKAttachmentTests to exercise -requestInfo:.
906
907         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
908         (-[_WKAttachment synchronouslyRequestInfo:]):
909         (-[_WKAttachment synchronouslyRequestData:]):
910
911         Reimplement this in terms of -synchronouslyRequestInfo:.
912
913         (-[_WKAttachment expectRequestedDataToBe:]):
914         (TestWebKitAPI::TEST):
915
916 2018-01-08  Wenson Hsieh  <wenson_hsieh@apple.com>
917
918         Copying, pasting, and then deleting an attachment element breaks attachment data requests
919         https://bugs.webkit.org/show_bug.cgi?id=181365
920         <rdar://problem/36340647>
921
922         Reviewed by Tim Horton.
923
924         Adds two new attachment API tests to verify that copying and pasting an existing attachment inserts an
925         attachment element that may be edited independently of the original attachment. See WebCore/ChangeLog for more
926         detail.
927
928         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
929         (TestWebKitAPI::TEST):
930
931 2018-01-08  Youenn Fablet  <youenn@apple.com>
932
933         navigator.onLine does not work inside service workers
934         https://bugs.webkit.org/show_bug.cgi?id=181079
935         <rdar://problem/36178606>
936
937         Reviewed by Darin Adler.
938
939         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
940         (WTR::InjectedBundle::initialize): Setting service worker creation callback to inject ServiceWorkerInternals object.
941
942 2018-01-07  Saam Barati  <sbarati@apple.com>
943
944         Add total exits and total compilations sorting mode to the "full" command in display-profiler-output
945         https://bugs.webkit.org/show_bug.cgi?id=181372
946
947         Reviewed by Filip Pizlo.
948
949         Adding these sorting modes makes it easier to analyze functions
950         that recompile a lot and exit a lot.
951
952         * Scripts/display-profiler-output:
953
954 2018-01-06  Julien Brianceau  <julien.brianceau@gmail.com>
955
956         Unreviewed, remove my Cisco email from contributors.json
957
958         * Scripts/webkitpy/common/config/contributors.json:
959
960 2018-01-05  JF Bastien  <jfbastien@apple.com>
961
962         WebAssembly: poison JS object's secrets
963         https://bugs.webkit.org/show_bug.cgi?id=181339
964         <rdar://problem/36325001>
965
966         Reviewed by Mark Lam.
967
968         Update tests for swap(Poisoned<k, T>, T*)
969
970         * TestWebKitAPI/Tests/WTF/ConstExprPoisoned.cpp:
971         (TestWebKitAPI::TEST):
972         * TestWebKitAPI/Tests/WTF/Poisoned.cpp:
973         (TestWebKitAPI::TEST):
974         * TestWebKitAPI/Tests/WTF/PoisonedRef.cpp:
975         (TestWebKitAPI::TEST):
976
977 2018-01-05  Wenson Hsieh  <wenson_hsieh@apple.com>
978
979         REGRESSION(r226396) DataInteractionTests: ContentEditableToContentEditable and ContentEditableToTextarea are failing
980         https://bugs.webkit.org/show_bug.cgi?id=181359
981
982         Reviewed by Tim Horton.
983
984         Ensure that these tests still pass using older SDKs.
985
986         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
987         (TestWebKitAPI::TEST):
988
989 2018-01-05  Alex Christensen  <achristensen@webkit.org>
990
991         Rebase API test after r226469
992         https://bugs.webkit.org/show_bug.cgi?id=181308
993
994         * TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
995         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
996         A URL with < or > in it is now recognized as invalid by WebKit.  This is intentional, and matches our behavior before enabling the new URLParser.
997
998 2018-01-05  Alex Christensen  <achristensen@webkit.org>
999
1000         Restrict navigation-time WKWebsiteDataStore swapping to main frame navigations
1001         https://bugs.webkit.org/show_bug.cgi?id=181217
1002
1003         Reviewed by Tim Horton.
1004
1005         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
1006         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
1007         (TEST):
1008
1009 2018-01-05  Alex Christensen  <achristensen@webkit.org>
1010
1011         Add WKBundleFrameCreateFrameHandle
1012         https://bugs.webkit.org/show_bug.cgi?id=181232
1013         <rdar://problem/35926696>
1014
1015         Reviewed by Tim Horton.
1016
1017         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1018         * TestWebKitAPI/Tests/WebKitCocoa/FrameHandleSerialization.mm: Added.
1019         (mouseDidMoveOverElement):
1020         (-[FrameHandleSerialization webProcessPlugIn:didCreateBrowserContextController:]):
1021         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
1022         (-[MouseMoveOverElementDelegate _webView:mouseDidMoveOverElement:withFlags:userInfo:]):
1023         (TEST):
1024
1025 2018-01-05  Chris Fleizach  <cfleizach@apple.com>
1026
1027         iOS: Build fix after r226432.
1028         
1029         Unreviewed. Stop duplicating speakAs symbols for iOS.
1030
1031         * DumpRenderTree/AccessibilityUIElement.cpp:
1032         (AccessibilityUIElement::speakAs):
1033
1034 2018-01-05  Javier Fernandez  <jfernandez@igalia.com>
1035
1036         Unreviewed, added myself as WebKit reviewer
1037
1038         * Scripts/webkitpy/common/config/contributors.json:
1039
1040 2018-01-05  Claudio Saavedra  <csaavedra@igalia.com>
1041
1042         WPE: Build fix after r226432.
1043
1044         Unreviewed. Rename ::speak() to ::speakAs().
1045         * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp:
1046         (WTR::AccessibilityUIElement::speakAs):
1047         (WTR::AccessibilityUIElement::speak): Deleted.
1048
1049 2018-01-04  Chris Fleizach  <cfleizach@apple.com>
1050
1051         AX: Implement updated CSS3 Speech for 'speak' and 'speak-as' properties
1052         https://bugs.webkit.org/show_bug.cgi?id=180361
1053
1054         Reviewed by Zalan Bujtas.
1055
1056         * DumpRenderTree/AccessibilityUIElement.cpp:
1057         (speakAsCallback):
1058         (AccessibilityUIElement::speakAs):
1059         (AccessibilityUIElement::getJSClass):
1060         (speakCallback): Deleted.
1061         (AccessibilityUIElement::speak): Deleted.
1062         * DumpRenderTree/AccessibilityUIElement.h:
1063         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1064         (AccessibilityUIElement::speakAs):
1065         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1066         (AccessibilityUIElement::speakAs):
1067         (AccessibilityUIElement::speak): Deleted.
1068         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1069         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1070         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1071         (WTR::AccessibilityUIElement::speakAs):
1072         (WTR::AccessibilityUIElement::speak): Deleted.
1073         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1074         (WTR::AccessibilityUIElement::speakAs):
1075         (WTR::AccessibilityUIElement::speak): Deleted.
1076
1077 2018-01-04  Jonathan Bedard  <jbedard@apple.com>
1078
1079         REGRESSION (r226395): test-webkitperl test expectations incorrect
1080         https://bugs.webkit.org/show_bug.cgi?id=181307
1081         <rdar://problem/36306558>
1082
1083         Rubber-stamped by Aakash Jain.
1084
1085         r226395 added two lines towards the beginning of
1086         Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl, the line
1087         numbers in the test expectations need to update.
1088
1089         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests-expected.txt:
1090
1091 2018-01-04  Tim Horton  <timothy_horton@apple.com>
1092
1093         WKWebView loses minimum layout size overrides that happen while the process is terminated
1094         https://bugs.webkit.org/show_bug.cgi?id=181306
1095         <rdar://problem/34398288>
1096
1097         Reviewed by Dan Bernstein.
1098
1099         * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm:
1100         (TEST):
1101         Add a test that calling _overrideLayoutParametersWithMinimumLayoutSize
1102         while the process is terminated results in the page getting the correct
1103         minimum layout size.
1104
1105 2018-01-04  Eric Carlson  <eric.carlson@apple.com>
1106
1107         [MediaStream] Add Mock screen capture source
1108         https://bugs.webkit.org/show_bug.cgi?id=181291
1109         <rdar://problem/36298164>
1110
1111         Reviewed by Dean Jackson.
1112
1113         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test.
1114         * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:
1115         * TestWebKitAPI/Tests/WebKit/getDisplayMedia.html:
1116
1117 2018-01-04  Lucas Forschler  <lforschler@apple.com>
1118
1119         <rdar://problem/36300930> Change proxy server setting on master config to reach s3 servers
1120
1121         Reviewed by Ling Ho.
1122
1123         * BuildSlaveSupport/build.webkit.org-config/steps.py:
1124
1125 2018-01-03  Wenson Hsieh  <wenson_hsieh@apple.com>
1126
1127         [Attachment Support] Create attachment elements when dropping files on iOS
1128         https://bugs.webkit.org/show_bug.cgi?id=181192
1129         <rdar://problem/36280945>
1130
1131         Reviewed by Tim Horton.
1132
1133         Adds 3 new API tests to exercise different use cases of dropping content as attachment elements when the runtime
1134         switch is enabled. See below for more details.
1135
1136         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
1137         (-[NSItemProvider registerData:type:]):
1138         (platformCopyPNG):
1139         (TestWebKitAPI::TEST):
1140         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1141
1142         Fix some currently failing iOS drag and drop tests. In this case, there's no reason RTFD should appear in the
1143         source item provider when dragging rich text *without* attachments, so this should have been a check for just
1144         kUTTypeRTF instead.
1145
1146         (TestWebKitAPI::TEST):
1147
1148         Tests a few cases of inserting attachment elements via drop:
1149         1.  We should distinguish between drops containing rich/plain text files from just dropping rich/plain text.
1150             Instead of inserting the contents as inline web content, this should generate attachment elements.
1151         2.  Test the fallback mechanism for inserting attachment elements. If the preferred presentation style is not
1152             explicitly set, but there's nothing WebKit would otherwise do with the dropped content, then we should fall
1153             back to inserting the content as an attachment.
1154         3.  Test that if multiple attachments and inline item providers are present, WebKit will respect the order in
1155             which they were inserted by the source (as opposed to, for instance, putting all of the attachments in front
1156             or at the end).
1157
1158         * TestWebKitAPI/cocoa/TestWKWebView.h:
1159         * TestWebKitAPI/cocoa/TestWKWebView.mm:
1160         (-[TestWKWebView objectByEvaluatingJavaScript:]):
1161
1162         Add a helper method to return an object that represents the result of evaluating some given script, and rewrite
1163         -stringByEvaluatingJavaScript to just turn around and call this.
1164
1165         (-[TestWKWebView stringByEvaluatingJavaScript:]):
1166
1167 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
1168
1169         Replace hard-coded paths in shebangs with #!/usr/bin/env
1170         https://bugs.webkit.org/show_bug.cgi?id=181040
1171
1172         Reviewed by Alex Christensen.
1173
1174         * BuildSlaveSupport/build-launcher-app:
1175         * BuildSlaveSupport/build-launcher-dmg:
1176         * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
1177         * BuildSlaveSupport/built-product-archive:
1178         * BuildSlaveSupport/clean-build:
1179         * BuildSlaveSupport/delete-stale-build-files:
1180         * BuildSlaveSupport/download-built-product:
1181         * BuildSlaveSupport/gtk/buildbot/log/run:
1182         * BuildSlaveSupport/gtk/buildbot/run:
1183         * BuildSlaveSupport/gtk/pulseaudio/run:
1184         * BuildSlaveSupport/kill-old-processes:
1185         * BuildSlaveSupport/test-result-archive:
1186         * BuildSlaveSupport/win/kill-old-processes:
1187         * Scripts/SpacingHeuristics.pm:
1188         * Scripts/add-include:
1189         * Scripts/build-api-tests:
1190         * Scripts/build-dumprendertree:
1191         * Scripts/build-imagediff:
1192         * Scripts/build-jsc:
1193         * Scripts/build-webkit:
1194         * Scripts/build-webkittestrunner:
1195         * Scripts/check-Xcode-source-file-types:
1196         * Scripts/check-dom-results:
1197         * Scripts/check-for-exit-time-destructors:
1198         * Scripts/check-for-global-initializers:
1199         * Scripts/check-for-inappropriate-objc-class-names:
1200         * Scripts/check-for-weak-vtables-and-externals:
1201         * Scripts/clean-header-guards:
1202         * Scripts/compare-timing-files:
1203         * Scripts/configure-xcode-for-ios-development:
1204         * Scripts/copy-webkitlibraries-to-product-directory:
1205         * Scripts/create-exports:
1206         * Scripts/debug-minibrowser:
1207         * Scripts/debug-safari:
1208         * Scripts/debug-test-runner:
1209         * Scripts/do-file-rename:
1210         * Scripts/do-webcore-rename:
1211         * Scripts/dump-webkit-tests-run:
1212         * Scripts/ensure-valid-python:
1213         * Scripts/execAppWithEnv:
1214         * Scripts/extract-localizable-js-strings:
1215         * Scripts/filter-build-webkit:
1216         * Scripts/find-extra-includes:
1217         * Scripts/fix-blink-patch:
1218         * Scripts/generate-coverage-data:
1219         * Scripts/git-add-reviewer:
1220         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
1221         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
1222         * Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz:
1223         * Scripts/make-new-script-test:
1224         * Scripts/make-script-test-wrappers:
1225         * Scripts/package-root:
1226         * Scripts/parse-malloc-history:
1227         * Scripts/report-include-statistics:
1228         * Scripts/resolve-ChangeLogs:
1229         * Scripts/run-api-tests:
1230         * Scripts/run-bindings-tests:
1231         * Scripts/run-content-extension-tester:
1232         * Scripts/run-iexploder-tests:
1233         * Scripts/run-javascriptcore-tests:
1234         * Scripts/run-jsc:
1235         * Scripts/run-leaks:
1236         * Scripts/run-mangleme-tests:
1237         * Scripts/run-minibrowser:
1238         * Scripts/run-pageloadtest:
1239         * Scripts/run-regexp-tests:
1240         * Scripts/run-safari:
1241         * Scripts/run-sunspider:
1242         * Scripts/run-test-runner:
1243         * Scripts/run-webkit-app:
1244         * Scripts/run-webkit-httpd:
1245         * Scripts/run-webkit-websocketserver:
1246         * Scripts/set-webkit-configuration:
1247         * Scripts/show-pretty-diff:
1248         * Scripts/sort-Xcode-project-file:
1249         * Scripts/split-file-by-class:
1250         * Scripts/sunspider-compare-results:
1251         * Scripts/svn-apply:
1252         * Scripts/svn-unapply:
1253         * Scripts/test-webkit-scripts:
1254         * Scripts/test-webkitperl:
1255         * Scripts/update-iexploder-cssproperties:
1256         * Scripts/update-javascriptcore-test-results:
1257         * Scripts/update-webkit:
1258         * Scripts/update-webkit-auxiliary-libs:
1259         * Scripts/update-webkit-dependency:
1260         * Scripts/update-webkit-libs-jhbuild:
1261         * Scripts/update-webkit-localizable-strings:
1262         * Scripts/update-webkit-support-libs:
1263         * Scripts/update-webkitgtk-libs:
1264         * Scripts/update-webkitwpe-libs:
1265         * Scripts/webkit-build-directory:
1266         * Scripts/webkitperl/LoadAsModule.pm:
1267         * Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl:
1268         * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
1269         * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl:
1270         * Scripts/webkitperl/VCSUtils_unittest/fixSVNPatchForAdditionWithHistory.pl:
1271         * Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl:
1272         * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
1273         * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl:
1274         * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
1275         * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
1276         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
1277         * Scripts/webkitperl/VCSUtils_unittest/parseFirstEOL.pl:
1278         * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
1279         * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl:
1280         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl:
1281         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
1282         * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
1283         * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
1284         * Scripts/webkitperl/VCSUtils_unittest/parseUnifiedDiffHeader.pl:
1285         * Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl:
1286         * Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl:
1287         * Scripts/webkitperl/VCSUtils_unittest/runCommand.pl:
1288         * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl:
1289         * Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl:
1290         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl:
1291         * Scripts/webkitperl/auto-version_unittest/versionStampTests.pl:
1292         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
1293         * Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl:
1294         * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl:
1295         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl:
1296         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
1297         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl:
1298         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl:
1299         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl:
1300         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl:
1301         * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl:
1302         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRef.pl:
1303         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl:
1304         * Scripts/webkitperl/webkitdirs_unittest/extractNonMacOSHostConfiguration.pl:
1305         * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl:
1306         * Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py:
1307         * ccache/ccache-clang:
1308         * ccache/ccache-clang++:
1309         * ccache/ccache-wrapper:
1310         * gtk/install-dependencies:
1311         * iExploder/iexploder-1.3.2/htdocs/iexploder.cgi:
1312         * iExploder/iexploder-1.3.2/htdocs/webserver.rb:
1313         * iExploder/iexploder-1.3.2/tools/lasthit.rb:
1314         * iExploder/iexploder-1.3.2/tools/osx_last_crash.rb:
1315         * iExploder/iexploder-1.3.2/tools/showtest.rb:
1316         * iExploder/iexploder-1.7.2/src/browser_harness.rb:
1317         * iExploder/iexploder-1.7.2/src/iexploder.cgi:
1318         * iExploder/iexploder-1.7.2/src/webserver.rb:
1319         * iExploder/iexploder-1.7.2/tools/lasthit.rb:
1320         * iExploder/iexploder-1.7.2/tools/osx_last_crash.rb:
1321         * wpe/install-dependencies:
1322
1323 2018-01-03  Simon Fraser  <simon.fraser@apple.com>
1324
1325         filter-build-webkit filters out useful compiler error lines
1326         https://bugs.webkit.org/show_bug.cgi?id=179864
1327
1328         Reviewed by Tim Horton.
1329
1330         Don't filter out lines that contain information about build errors by always showing lines
1331         after a line that contains "note:" or "error:".
1332
1333         * Scripts/filter-build-webkit:
1334         (shouldShowSubsequentLine):
1335         (shouldIgnoreLine):
1336
1337 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1338
1339         REGRESSION(r226366): [GTK] Broke TestBackForwardList and TestWebKitWebView
1340         https://bugs.webkit.org/show_bug.cgi?id=173915
1341
1342         Unreviewed follow-up. Fix /webkit2/WebKitWebView/session-state-with-form-data and
1343         /webkit2/WebKitWebView/submit-form. The form ID may be NULL, but we can't put NULL into a
1344         GVariant unless we use maybe types, and maybe types are incompatible with D-Bus. So use an
1345         empty string in this case.
1346
1347         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
1348         (emitFormSubmissionEvent):
1349
1350 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1351
1352         [GTK] Add web process API to detect when form is submitted via JavaScript
1353         https://bugs.webkit.org/show_bug.cgi?id=173915
1354
1355         Reviewed by Carlos Garcia Campos.
1356
1357         Test it.
1358
1359         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
1360         (FormSubmissionTest::FormSubmissionTest):
1361         (FormSubmissionTest::~FormSubmissionTest):
1362         (FormSubmissionTest::testFormSubmissionResult):
1363         (FormSubmissionTest::willSendDOMEventCallback):
1364         (FormSubmissionTest::willCompleteCallback):
1365         (FormSubmissionTest::runJavaScriptAndWaitUntilFormSubmitted):
1366         (testWebExtensionFormSubmissionSteps):
1367         (beforeAll):
1368         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
1369         (DelayedSignal::DelayedSignal):
1370         (emitFormSubmissionEvent):
1371         (handleFormSubmissionCallback):
1372         (willSubmitFormCallback):
1373         (pageCreatedCallback):
1374
1375 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1376
1377         Unreviewed, skip broken API test /webkit2/WebKitWebsiteData/databases
1378         https://bugs.webkit.org/show_bug.cgi?id=181251
1379
1380         * Scripts/run-gtk-tests:
1381         (GtkTestRunner):
1382
1383 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1384
1385         Unreviewed, skip broken API test /webkit2/WebKitWebsiteData/ephemeral
1386         https://bugs.webkit.org/show_bug.cgi?id=181136
1387
1388         * Scripts/run-gtk-tests:
1389         (GtkTestRunner):
1390
1391 2018-01-02  Brent Fulgham  <bfulgham@apple.com>
1392
1393         [macOS, iOS] Adopt new secure coding APIs in WebKit
1394         https://bugs.webkit.org/show_bug.cgi?id=181085
1395         <rdar://problem/34837397>
1396
1397         Reviewed by Tim Horton.
1398
1399         Update API tests to use secure coding wherever possible. Currently, NSView/UIView-based classes are not
1400         capable of supporting NSSecureCoding, so pass through the current coding routines.
1401
1402         * TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm: Updated for NSSecureCoding.
1403         * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm:
1404         (encodeAndDecode): Check if class supports the NSSecureCoding protocol and use non-secure coding
1405         routines if necessary.
1406         (TEST): Updated for NSSecureCoding.
1407         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm:
1408         (TestWebKitAPI::TEST): Updated for NSSecureCoding.
1409
1410 2017-12-28  Yusuke Suzuki  <utatane.tea@gmail.com>
1411
1412         Remove std::chrono completely
1413         https://bugs.webkit.org/show_bug.cgi?id=181186
1414
1415         Reviewed by Alex Christensen.
1416
1417         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1418         (WTR::TestController::platformRunUntil):
1419
1420 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
1421
1422         REGRESSION(r223253): Broke ResourceLoadStatistics layout tests for non-Cocoa ports
1423         https://bugs.webkit.org/show_bug.cgi?id=181231
1424
1425         Reviewed by Alex Christensen.
1426
1427         Implement TestController APIs needed by ResourceLoadStatistics tests.
1428
1429         * WebKitTestRunner/TestController.cpp:
1430         (WTR::TestController::isStatisticsRegisteredAsSubFrameUnder):
1431         (WTR::TestController::isStatisticsRegisteredAsRedirectingTo):
1432
1433 2018-01-02  Tim Horton  <timothy_horton@apple.com>
1434
1435         Disable WKAttachmentTests if UIPasteboard.itemProviders is not available
1436         https://bugs.webkit.org/show_bug.cgi?id=181219
1437
1438         Reviewed by Wenson Hsieh.
1439
1440         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
1441
1442 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
1443
1444         Add a WebAuthentication runtime feature flag
1445         https://bugs.webkit.org/show_bug.cgi?id=181220
1446         <rdar://problem/36055305>
1447
1448         Reviewed by Brent Fulgham.
1449
1450         Renames the CredentialManagement runtime feature flag into WebAuthentication.
1451
1452         * DumpRenderTree/TestOptions.h:
1453         * DumpRenderTree/TestOptions.mm:
1454         (TestOptions::TestOptions):
1455         * DumpRenderTree/mac/DumpRenderTree.mm:
1456         (enableExperimentalFeatures):
1457         (setWebPreferencesForTestOptions):
1458         * WebKitTestRunner/TestController.cpp:
1459         (WTR::TestController::resetPreferencesToConsistentValues):
1460         (WTR::updateTestOptionsFromTestHeader):
1461         * WebKitTestRunner/TestOptions.h:
1462         (WTR::TestOptions::hasSameInitializationOptions const):
1463
1464 2018-01-02  Wenson Hsieh  <wenson_hsieh@apple.com>
1465
1466         [Attachment Support] Don't Blob-convert images and attachments with https:, http: or data: urls
1467         https://bugs.webkit.org/show_bug.cgi?id=181143
1468         <rdar://problem/36200381>
1469
1470         Reviewed by Tim Horton.
1471
1472         Add a new API test to ensure that a copied image with a data URL does not get pasted as an attachment when
1473         attachment elements are enabled.
1474
1475         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1476         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
1477         (TestWebKitAPI::TEST):
1478
1479 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
1480
1481         Update Credential Management API for WebAuthentication
1482         https://bugs.webkit.org/show_bug.cgi?id=181082
1483         <rdar://problem/36055239>
1484
1485         Reviewed by Brent Fulgham.
1486
1487         Enable Credential Management API for testing.
1488
1489         * DumpRenderTree/TestOptions.h:
1490         * WebKitTestRunner/TestOptions.h:
1491
1492 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
1493
1494         [GTK] Test /webkit2/WebKitWebExtension/form-controls-associated-signal is flaky
1495         https://bugs.webkit.org/show_bug.cgi?id=168194
1496
1497         Reviewed by Carlos Garcia Campos.
1498
1499         Fix an assertion and unskip the test. The order that form controls are associated is not
1500         guaranteed.
1501
1502         * Scripts/run-gtk-tests:
1503         (GtkTestRunner):
1504         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
1505         (didAssociateFormControlsCallback):
1506
1507 2018-01-02  Alex Christensen  <achristensen@webkit.org>
1508
1509         Use new WebsiteDataStore passed in through decidePolicyForNavigation SPI
1510         https://bugs.webkit.org/show_bug.cgi?id=180897
1511         <rdar://problem/35535328>
1512
1513         Reviewed by Brent Fulgham.
1514
1515         Test two forms of storage to be sure we are using a different WebsiteDataStore: cookies and sessionStorage.
1516
1517         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
1518         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
1519         (-[WebsitePoliciesWebsiteDataStoreDelegate webView:startURLSchemeTask:]):
1520         (-[WebsitePoliciesWebsiteDataStoreDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1521         (websiteDataStoreTestWebView):
1522         (TEST):
1523
1524 == Rolled over to ChangeLog-2018-01-01 ==