[webkitpy] PlatformInfo should have default argument for casual use
[WebKit-https.git] / Tools / ChangeLog
1 2018-01-09  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2
3         [webkitpy] PlatformInfo should have default argument for casual use
4         https://bugs.webkit.org/show_bug.cgi?id=180827
5
6         Reviewed by David Kilzer.
7
8         PlatformInfo should be the only way to check platform specific thing instead
9         of sys.platform or other various checks. If there is something you want to check,
10         it should be placed in PlatformInfo.
11
12         Currently to instantiate PlatformInfo, it requires arguments, which is usually
13         sys, platform and Executive(). They are straight forward and should be handled
14         by default arguments. Then we can instantiate PlatformInfo more casual.
15
16         * Scripts/webkitpy/common/system/platforminfo.py:
17         (PlatformInfo): Use relative module path import
18         (PlatformInfo.__init__):
19         (PlatformInfo.executive): Lazy instantiation of Executive()
20         (PlatformInfo.total_bytes_memory): Accessing via above property
21         (PlatformInfo.xcode_sdk_version): Ditto
22         (PlatformInfo.xcode_simctl_list): Ditto
23         (PlatformInfo.xcode_version): Ditto
24         (PlatformInfo._win_version_str): Ditto
25         * Scripts/webkitpy/common/system/systemhost.py:
26         (SystemHost.__init__):
27         * Scripts/webkitpy/common/system/user.py:
28         (User.__init__):
29
30 2018-01-09  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
31
32         [Win] Remove workaround for Bug 176442 after stopping MSVC 2015 support
33         https://bugs.webkit.org/show_bug.cgi?id=176443
34
35         Reviewed by Darin Adler.
36
37         * TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
38         (TEST):
39
40 2018-01-09  Frederic Wang  <fwang@igalia.com.fr>
41
42         check-webkit-style: Verify syntax for WK_API_AVAILABLE
43         https://bugs.webkit.org/show_bug.cgi?id=181394
44
45         Reviewed by Darin Adler.
46
47         A common syntax error for WK_API_AVAILABLE is to write ios(WK_MAC_TBA)
48         as the second parameter instead of ios(WK_IOS_TBA). This generally
49         builds for iOS on EWS but not when using the public SDK. See r224057,
50         r223207 and r226211 for example. This patch adds a basic style check
51         for that macro to prevent this kind of mistake.
52
53         * Scripts/webkitpy/style/checkers/cpp.py:
54         (check_min_versions_of_wk_api_available): New function to verify the parameters of WX_API_AVAILABLE.
55         (check_style): Run new style check.
56         (CppChecker): Add build type for the new style check.
57         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
58         (WebKitStyleTest.test_min_versions_of_wk_api_available): Add tests for the new style check.
59
60 2018-01-08  Wenson Hsieh  <wenson_hsieh@apple.com>
61
62         [Attachment Support] Expose HTMLAttachmentElement.uniqueIdentifier to bindings
63         https://bugs.webkit.org/show_bug.cgi?id=181420
64         <rdar://problem/36365827>
65
66         Reviewed by Alex Christensen.
67
68         Adjusts some existing API tests to verify that attachment elements' uniqueIdentifiers match the uniqueIdentifier
69         of corresponding _WKAttachments.
70
71         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
72         (TestWebKitAPI::TEST):
73
74 2018-01-08  Alex Christensen  <achristensen@webkit.org>
75
76         Add WKNavigationDelegate SPI exposing WebProcess crash reason
77         https://bugs.webkit.org/show_bug.cgi?id=181410
78         <rdar://problem/36167199>
79
80         Reviewed by Wenson Hsieh.
81
82         * TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
83         (-[CrashReasonDelegate _webView:webContentProcessDidTerminateWithReason:]):
84         (TEST):
85
86 2018-01-08  Alex Christensen  <achristensen@webkit.org>
87
88         Add SPI for WKOpenPanelParameters._acceptedMIMETypes and _acceptedFileExtensions
89         https://bugs.webkit.org/show_bug.cgi?id=181408
90         <rdar://problem/35884960>
91
92         Reviewed by Tim Horton.
93
94         * TestWebKitAPI/Tests/WebKitCocoa/RunOpenPanel.mm:
95         (-[RunOpenPanelUIDelegate webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
96
97 2018-01-08  Wenson Hsieh  <wenson_hsieh@apple.com>
98
99         [Attachment Support] Expose file name and content type of WKAttachment
100         https://bugs.webkit.org/show_bug.cgi?id=181390
101         <rdar://problem/36336837>
102
103         Reviewed by Tim Horton.
104
105         Adjusts some existing tests in WKAttachmentTests to exercise -requestInfo:.
106
107         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
108         (-[_WKAttachment synchronouslyRequestInfo:]):
109         (-[_WKAttachment synchronouslyRequestData:]):
110
111         Reimplement this in terms of -synchronouslyRequestInfo:.
112
113         (-[_WKAttachment expectRequestedDataToBe:]):
114         (TestWebKitAPI::TEST):
115
116 2018-01-08  Wenson Hsieh  <wenson_hsieh@apple.com>
117
118         Copying, pasting, and then deleting an attachment element breaks attachment data requests
119         https://bugs.webkit.org/show_bug.cgi?id=181365
120         <rdar://problem/36340647>
121
122         Reviewed by Tim Horton.
123
124         Adds two new attachment API tests to verify that copying and pasting an existing attachment inserts an
125         attachment element that may be edited independently of the original attachment. See WebCore/ChangeLog for more
126         detail.
127
128         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
129         (TestWebKitAPI::TEST):
130
131 2018-01-08  Youenn Fablet  <youenn@apple.com>
132
133         navigator.onLine does not work inside service workers
134         https://bugs.webkit.org/show_bug.cgi?id=181079
135         <rdar://problem/36178606>
136
137         Reviewed by Darin Adler.
138
139         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
140         (WTR::InjectedBundle::initialize): Setting service worker creation callback to inject ServiceWorkerInternals object.
141
142 2018-01-07  Saam Barati  <sbarati@apple.com>
143
144         Add total exits and total compilations sorting mode to the "full" command in display-profiler-output
145         https://bugs.webkit.org/show_bug.cgi?id=181372
146
147         Reviewed by Filip Pizlo.
148
149         Adding these sorting modes makes it easier to analyze functions
150         that recompile a lot and exit a lot.
151
152         * Scripts/display-profiler-output:
153
154 2018-01-06  Julien Brianceau  <julien.brianceau@gmail.com>
155
156         Unreviewed, remove my Cisco email from contributors.json
157
158         * Scripts/webkitpy/common/config/contributors.json:
159
160 2018-01-05  JF Bastien  <jfbastien@apple.com>
161
162         WebAssembly: poison JS object's secrets
163         https://bugs.webkit.org/show_bug.cgi?id=181339
164         <rdar://problem/36325001>
165
166         Reviewed by Mark Lam.
167
168         Update tests for swap(Poisoned<k, T>, T*)
169
170         * TestWebKitAPI/Tests/WTF/ConstExprPoisoned.cpp:
171         (TestWebKitAPI::TEST):
172         * TestWebKitAPI/Tests/WTF/Poisoned.cpp:
173         (TestWebKitAPI::TEST):
174         * TestWebKitAPI/Tests/WTF/PoisonedRef.cpp:
175         (TestWebKitAPI::TEST):
176
177 2018-01-05  Wenson Hsieh  <wenson_hsieh@apple.com>
178
179         REGRESSION(r226396) DataInteractionTests: ContentEditableToContentEditable and ContentEditableToTextarea are failing
180         https://bugs.webkit.org/show_bug.cgi?id=181359
181
182         Reviewed by Tim Horton.
183
184         Ensure that these tests still pass using older SDKs.
185
186         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
187         (TestWebKitAPI::TEST):
188
189 2018-01-05  Alex Christensen  <achristensen@webkit.org>
190
191         Rebase API test after r226469
192         https://bugs.webkit.org/show_bug.cgi?id=181308
193
194         * TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
195         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
196         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.
197
198 2018-01-05  Alex Christensen  <achristensen@webkit.org>
199
200         Restrict navigation-time WKWebsiteDataStore swapping to main frame navigations
201         https://bugs.webkit.org/show_bug.cgi?id=181217
202
203         Reviewed by Tim Horton.
204
205         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
206         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
207         (TEST):
208
209 2018-01-05  Alex Christensen  <achristensen@webkit.org>
210
211         Add WKBundleFrameCreateFrameHandle
212         https://bugs.webkit.org/show_bug.cgi?id=181232
213         <rdar://problem/35926696>
214
215         Reviewed by Tim Horton.
216
217         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
218         * TestWebKitAPI/Tests/WebKitCocoa/FrameHandleSerialization.mm: Added.
219         (mouseDidMoveOverElement):
220         (-[FrameHandleSerialization webProcessPlugIn:didCreateBrowserContextController:]):
221         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
222         (-[MouseMoveOverElementDelegate _webView:mouseDidMoveOverElement:withFlags:userInfo:]):
223         (TEST):
224
225 2018-01-05  Chris Fleizach  <cfleizach@apple.com>
226
227         iOS: Build fix after r226432.
228         
229         Unreviewed. Stop duplicating speakAs symbols for iOS.
230
231         * DumpRenderTree/AccessibilityUIElement.cpp:
232         (AccessibilityUIElement::speakAs):
233
234 2018-01-05  Javier Fernandez  <jfernandez@igalia.com>
235
236         Unreviewed, added myself as WebKit reviewer
237
238         * Scripts/webkitpy/common/config/contributors.json:
239
240 2018-01-05  Claudio Saavedra  <csaavedra@igalia.com>
241
242         WPE: Build fix after r226432.
243
244         Unreviewed. Rename ::speak() to ::speakAs().
245         * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp:
246         (WTR::AccessibilityUIElement::speakAs):
247         (WTR::AccessibilityUIElement::speak): Deleted.
248
249 2018-01-04  Chris Fleizach  <cfleizach@apple.com>
250
251         AX: Implement updated CSS3 Speech for 'speak' and 'speak-as' properties
252         https://bugs.webkit.org/show_bug.cgi?id=180361
253
254         Reviewed by Zalan Bujtas.
255
256         * DumpRenderTree/AccessibilityUIElement.cpp:
257         (speakAsCallback):
258         (AccessibilityUIElement::speakAs):
259         (AccessibilityUIElement::getJSClass):
260         (speakCallback): Deleted.
261         (AccessibilityUIElement::speak): Deleted.
262         * DumpRenderTree/AccessibilityUIElement.h:
263         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
264         (AccessibilityUIElement::speakAs):
265         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
266         (AccessibilityUIElement::speakAs):
267         (AccessibilityUIElement::speak): Deleted.
268         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
269         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
270         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
271         (WTR::AccessibilityUIElement::speakAs):
272         (WTR::AccessibilityUIElement::speak): Deleted.
273         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
274         (WTR::AccessibilityUIElement::speakAs):
275         (WTR::AccessibilityUIElement::speak): Deleted.
276
277 2018-01-04  Jonathan Bedard  <jbedard@apple.com>
278
279         REGRESSION (r226395): test-webkitperl test expectations incorrect
280         https://bugs.webkit.org/show_bug.cgi?id=181307
281         <rdar://problem/36306558>
282
283         Rubber-stamped by Aakash Jain.
284
285         r226395 added two lines towards the beginning of
286         Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl, the line
287         numbers in the test expectations need to update.
288
289         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests-expected.txt:
290
291 2018-01-04  Tim Horton  <timothy_horton@apple.com>
292
293         WKWebView loses minimum layout size overrides that happen while the process is terminated
294         https://bugs.webkit.org/show_bug.cgi?id=181306
295         <rdar://problem/34398288>
296
297         Reviewed by Dan Bernstein.
298
299         * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm:
300         (TEST):
301         Add a test that calling _overrideLayoutParametersWithMinimumLayoutSize
302         while the process is terminated results in the page getting the correct
303         minimum layout size.
304
305 2018-01-04  Eric Carlson  <eric.carlson@apple.com>
306
307         [MediaStream] Add Mock screen capture source
308         https://bugs.webkit.org/show_bug.cgi?id=181291
309         <rdar://problem/36298164>
310
311         Reviewed by Dean Jackson.
312
313         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test.
314         * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:
315         * TestWebKitAPI/Tests/WebKit/getDisplayMedia.html:
316
317 2018-01-04  Lucas Forschler  <lforschler@apple.com>
318
319         <rdar://problem/36300930> Change proxy server setting on master config to reach s3 servers
320
321         Reviewed by Ling Ho.
322
323         * BuildSlaveSupport/build.webkit.org-config/steps.py:
324
325 2018-01-03  Wenson Hsieh  <wenson_hsieh@apple.com>
326
327         [Attachment Support] Create attachment elements when dropping files on iOS
328         https://bugs.webkit.org/show_bug.cgi?id=181192
329         <rdar://problem/36280945>
330
331         Reviewed by Tim Horton.
332
333         Adds 3 new API tests to exercise different use cases of dropping content as attachment elements when the runtime
334         switch is enabled. See below for more details.
335
336         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
337         (-[NSItemProvider registerData:type:]):
338         (platformCopyPNG):
339         (TestWebKitAPI::TEST):
340         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
341
342         Fix some currently failing iOS drag and drop tests. In this case, there's no reason RTFD should appear in the
343         source item provider when dragging rich text *without* attachments, so this should have been a check for just
344         kUTTypeRTF instead.
345
346         (TestWebKitAPI::TEST):
347
348         Tests a few cases of inserting attachment elements via drop:
349         1.  We should distinguish between drops containing rich/plain text files from just dropping rich/plain text.
350             Instead of inserting the contents as inline web content, this should generate attachment elements.
351         2.  Test the fallback mechanism for inserting attachment elements. If the preferred presentation style is not
352             explicitly set, but there's nothing WebKit would otherwise do with the dropped content, then we should fall
353             back to inserting the content as an attachment.
354         3.  Test that if multiple attachments and inline item providers are present, WebKit will respect the order in
355             which they were inserted by the source (as opposed to, for instance, putting all of the attachments in front
356             or at the end).
357
358         * TestWebKitAPI/cocoa/TestWKWebView.h:
359         * TestWebKitAPI/cocoa/TestWKWebView.mm:
360         (-[TestWKWebView objectByEvaluatingJavaScript:]):
361
362         Add a helper method to return an object that represents the result of evaluating some given script, and rewrite
363         -stringByEvaluatingJavaScript to just turn around and call this.
364
365         (-[TestWKWebView stringByEvaluatingJavaScript:]):
366
367 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
368
369         Replace hard-coded paths in shebangs with #!/usr/bin/env
370         https://bugs.webkit.org/show_bug.cgi?id=181040
371
372         Reviewed by Alex Christensen.
373
374         * BuildSlaveSupport/build-launcher-app:
375         * BuildSlaveSupport/build-launcher-dmg:
376         * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
377         * BuildSlaveSupport/built-product-archive:
378         * BuildSlaveSupport/clean-build:
379         * BuildSlaveSupport/delete-stale-build-files:
380         * BuildSlaveSupport/download-built-product:
381         * BuildSlaveSupport/gtk/buildbot/log/run:
382         * BuildSlaveSupport/gtk/buildbot/run:
383         * BuildSlaveSupport/gtk/pulseaudio/run:
384         * BuildSlaveSupport/kill-old-processes:
385         * BuildSlaveSupport/test-result-archive:
386         * BuildSlaveSupport/win/kill-old-processes:
387         * Scripts/SpacingHeuristics.pm:
388         * Scripts/add-include:
389         * Scripts/build-api-tests:
390         * Scripts/build-dumprendertree:
391         * Scripts/build-imagediff:
392         * Scripts/build-jsc:
393         * Scripts/build-webkit:
394         * Scripts/build-webkittestrunner:
395         * Scripts/check-Xcode-source-file-types:
396         * Scripts/check-dom-results:
397         * Scripts/check-for-exit-time-destructors:
398         * Scripts/check-for-global-initializers:
399         * Scripts/check-for-inappropriate-objc-class-names:
400         * Scripts/check-for-weak-vtables-and-externals:
401         * Scripts/clean-header-guards:
402         * Scripts/compare-timing-files:
403         * Scripts/configure-xcode-for-ios-development:
404         * Scripts/copy-webkitlibraries-to-product-directory:
405         * Scripts/create-exports:
406         * Scripts/debug-minibrowser:
407         * Scripts/debug-safari:
408         * Scripts/debug-test-runner:
409         * Scripts/do-file-rename:
410         * Scripts/do-webcore-rename:
411         * Scripts/dump-webkit-tests-run:
412         * Scripts/ensure-valid-python:
413         * Scripts/execAppWithEnv:
414         * Scripts/extract-localizable-js-strings:
415         * Scripts/filter-build-webkit:
416         * Scripts/find-extra-includes:
417         * Scripts/fix-blink-patch:
418         * Scripts/generate-coverage-data:
419         * Scripts/git-add-reviewer:
420         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
421         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
422         * Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz:
423         * Scripts/make-new-script-test:
424         * Scripts/make-script-test-wrappers:
425         * Scripts/package-root:
426         * Scripts/parse-malloc-history:
427         * Scripts/report-include-statistics:
428         * Scripts/resolve-ChangeLogs:
429         * Scripts/run-api-tests:
430         * Scripts/run-bindings-tests:
431         * Scripts/run-content-extension-tester:
432         * Scripts/run-iexploder-tests:
433         * Scripts/run-javascriptcore-tests:
434         * Scripts/run-jsc:
435         * Scripts/run-leaks:
436         * Scripts/run-mangleme-tests:
437         * Scripts/run-minibrowser:
438         * Scripts/run-pageloadtest:
439         * Scripts/run-regexp-tests:
440         * Scripts/run-safari:
441         * Scripts/run-sunspider:
442         * Scripts/run-test-runner:
443         * Scripts/run-webkit-app:
444         * Scripts/run-webkit-httpd:
445         * Scripts/run-webkit-websocketserver:
446         * Scripts/set-webkit-configuration:
447         * Scripts/show-pretty-diff:
448         * Scripts/sort-Xcode-project-file:
449         * Scripts/split-file-by-class:
450         * Scripts/sunspider-compare-results:
451         * Scripts/svn-apply:
452         * Scripts/svn-unapply:
453         * Scripts/test-webkit-scripts:
454         * Scripts/test-webkitperl:
455         * Scripts/update-iexploder-cssproperties:
456         * Scripts/update-javascriptcore-test-results:
457         * Scripts/update-webkit:
458         * Scripts/update-webkit-auxiliary-libs:
459         * Scripts/update-webkit-dependency:
460         * Scripts/update-webkit-libs-jhbuild:
461         * Scripts/update-webkit-localizable-strings:
462         * Scripts/update-webkit-support-libs:
463         * Scripts/update-webkitgtk-libs:
464         * Scripts/update-webkitwpe-libs:
465         * Scripts/webkit-build-directory:
466         * Scripts/webkitperl/LoadAsModule.pm:
467         * Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl:
468         * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
469         * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl:
470         * Scripts/webkitperl/VCSUtils_unittest/fixSVNPatchForAdditionWithHistory.pl:
471         * Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl:
472         * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
473         * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl:
474         * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
475         * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
476         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
477         * Scripts/webkitperl/VCSUtils_unittest/parseFirstEOL.pl:
478         * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
479         * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl:
480         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl:
481         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
482         * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
483         * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
484         * Scripts/webkitperl/VCSUtils_unittest/parseUnifiedDiffHeader.pl:
485         * Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl:
486         * Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl:
487         * Scripts/webkitperl/VCSUtils_unittest/runCommand.pl:
488         * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl:
489         * Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl:
490         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl:
491         * Scripts/webkitperl/auto-version_unittest/versionStampTests.pl:
492         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
493         * Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl:
494         * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl:
495         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl:
496         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
497         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl:
498         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl:
499         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl:
500         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl:
501         * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl:
502         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRef.pl:
503         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl:
504         * Scripts/webkitperl/webkitdirs_unittest/extractNonMacOSHostConfiguration.pl:
505         * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl:
506         * Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py:
507         * ccache/ccache-clang:
508         * ccache/ccache-clang++:
509         * ccache/ccache-wrapper:
510         * gtk/install-dependencies:
511         * iExploder/iexploder-1.3.2/htdocs/iexploder.cgi:
512         * iExploder/iexploder-1.3.2/htdocs/webserver.rb:
513         * iExploder/iexploder-1.3.2/tools/lasthit.rb:
514         * iExploder/iexploder-1.3.2/tools/osx_last_crash.rb:
515         * iExploder/iexploder-1.3.2/tools/showtest.rb:
516         * iExploder/iexploder-1.7.2/src/browser_harness.rb:
517         * iExploder/iexploder-1.7.2/src/iexploder.cgi:
518         * iExploder/iexploder-1.7.2/src/webserver.rb:
519         * iExploder/iexploder-1.7.2/tools/lasthit.rb:
520         * iExploder/iexploder-1.7.2/tools/osx_last_crash.rb:
521         * wpe/install-dependencies:
522
523 2018-01-03  Simon Fraser  <simon.fraser@apple.com>
524
525         filter-build-webkit filters out useful compiler error lines
526         https://bugs.webkit.org/show_bug.cgi?id=179864
527
528         Reviewed by Tim Horton.
529
530         Don't filter out lines that contain information about build errors by always showing lines
531         after a line that contains "note:" or "error:".
532
533         * Scripts/filter-build-webkit:
534         (shouldShowSubsequentLine):
535         (shouldIgnoreLine):
536
537 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
538
539         REGRESSION(r226366): [GTK] Broke TestBackForwardList and TestWebKitWebView
540         https://bugs.webkit.org/show_bug.cgi?id=173915
541
542         Unreviewed follow-up. Fix /webkit2/WebKitWebView/session-state-with-form-data and
543         /webkit2/WebKitWebView/submit-form. The form ID may be NULL, but we can't put NULL into a
544         GVariant unless we use maybe types, and maybe types are incompatible with D-Bus. So use an
545         empty string in this case.
546
547         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
548         (emitFormSubmissionEvent):
549
550 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
551
552         [GTK] Add web process API to detect when form is submitted via JavaScript
553         https://bugs.webkit.org/show_bug.cgi?id=173915
554
555         Reviewed by Carlos Garcia Campos.
556
557         Test it.
558
559         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
560         (FormSubmissionTest::FormSubmissionTest):
561         (FormSubmissionTest::~FormSubmissionTest):
562         (FormSubmissionTest::testFormSubmissionResult):
563         (FormSubmissionTest::willSendDOMEventCallback):
564         (FormSubmissionTest::willCompleteCallback):
565         (FormSubmissionTest::runJavaScriptAndWaitUntilFormSubmitted):
566         (testWebExtensionFormSubmissionSteps):
567         (beforeAll):
568         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
569         (DelayedSignal::DelayedSignal):
570         (emitFormSubmissionEvent):
571         (handleFormSubmissionCallback):
572         (willSubmitFormCallback):
573         (pageCreatedCallback):
574
575 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
576
577         Unreviewed, skip broken API test /webkit2/WebKitWebsiteData/databases
578         https://bugs.webkit.org/show_bug.cgi?id=181251
579
580         * Scripts/run-gtk-tests:
581         (GtkTestRunner):
582
583 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
584
585         Unreviewed, skip broken API test /webkit2/WebKitWebsiteData/ephemeral
586         https://bugs.webkit.org/show_bug.cgi?id=181136
587
588         * Scripts/run-gtk-tests:
589         (GtkTestRunner):
590
591 2018-01-02  Brent Fulgham  <bfulgham@apple.com>
592
593         [macOS, iOS] Adopt new secure coding APIs in WebKit
594         https://bugs.webkit.org/show_bug.cgi?id=181085
595         <rdar://problem/34837397>
596
597         Reviewed by Tim Horton.
598
599         Update API tests to use secure coding wherever possible. Currently, NSView/UIView-based classes are not
600         capable of supporting NSSecureCoding, so pass through the current coding routines.
601
602         * TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm: Updated for NSSecureCoding.
603         * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm:
604         (encodeAndDecode): Check if class supports the NSSecureCoding protocol and use non-secure coding
605         routines if necessary.
606         (TEST): Updated for NSSecureCoding.
607         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm:
608         (TestWebKitAPI::TEST): Updated for NSSecureCoding.
609
610 2017-12-28  Yusuke Suzuki  <utatane.tea@gmail.com>
611
612         Remove std::chrono completely
613         https://bugs.webkit.org/show_bug.cgi?id=181186
614
615         Reviewed by Alex Christensen.
616
617         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
618         (WTR::TestController::platformRunUntil):
619
620 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
621
622         REGRESSION(r223253): Broke ResourceLoadStatistics layout tests for non-Cocoa ports
623         https://bugs.webkit.org/show_bug.cgi?id=181231
624
625         Reviewed by Alex Christensen.
626
627         Implement TestController APIs needed by ResourceLoadStatistics tests.
628
629         * WebKitTestRunner/TestController.cpp:
630         (WTR::TestController::isStatisticsRegisteredAsSubFrameUnder):
631         (WTR::TestController::isStatisticsRegisteredAsRedirectingTo):
632
633 2018-01-02  Tim Horton  <timothy_horton@apple.com>
634
635         Disable WKAttachmentTests if UIPasteboard.itemProviders is not available
636         https://bugs.webkit.org/show_bug.cgi?id=181219
637
638         Reviewed by Wenson Hsieh.
639
640         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
641
642 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
643
644         Add a WebAuthentication runtime feature flag
645         https://bugs.webkit.org/show_bug.cgi?id=181220
646         <rdar://problem/36055305>
647
648         Reviewed by Brent Fulgham.
649
650         Renames the CredentialManagement runtime feature flag into WebAuthentication.
651
652         * DumpRenderTree/TestOptions.h:
653         * DumpRenderTree/TestOptions.mm:
654         (TestOptions::TestOptions):
655         * DumpRenderTree/mac/DumpRenderTree.mm:
656         (enableExperimentalFeatures):
657         (setWebPreferencesForTestOptions):
658         * WebKitTestRunner/TestController.cpp:
659         (WTR::TestController::resetPreferencesToConsistentValues):
660         (WTR::updateTestOptionsFromTestHeader):
661         * WebKitTestRunner/TestOptions.h:
662         (WTR::TestOptions::hasSameInitializationOptions const):
663
664 2018-01-02  Wenson Hsieh  <wenson_hsieh@apple.com>
665
666         [Attachment Support] Don't Blob-convert images and attachments with https:, http: or data: urls
667         https://bugs.webkit.org/show_bug.cgi?id=181143
668         <rdar://problem/36200381>
669
670         Reviewed by Tim Horton.
671
672         Add a new API test to ensure that a copied image with a data URL does not get pasted as an attachment when
673         attachment elements are enabled.
674
675         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
676         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
677         (TestWebKitAPI::TEST):
678
679 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
680
681         Update Credential Management API for WebAuthentication
682         https://bugs.webkit.org/show_bug.cgi?id=181082
683         <rdar://problem/36055239>
684
685         Reviewed by Brent Fulgham.
686
687         Enable Credential Management API for testing.
688
689         * DumpRenderTree/TestOptions.h:
690         * WebKitTestRunner/TestOptions.h:
691
692 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
693
694         [GTK] Test /webkit2/WebKitWebExtension/form-controls-associated-signal is flaky
695         https://bugs.webkit.org/show_bug.cgi?id=168194
696
697         Reviewed by Carlos Garcia Campos.
698
699         Fix an assertion and unskip the test. The order that form controls are associated is not
700         guaranteed.
701
702         * Scripts/run-gtk-tests:
703         (GtkTestRunner):
704         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
705         (didAssociateFormControlsCallback):
706
707 2018-01-02  Alex Christensen  <achristensen@webkit.org>
708
709         Use new WebsiteDataStore passed in through decidePolicyForNavigation SPI
710         https://bugs.webkit.org/show_bug.cgi?id=180897
711         <rdar://problem/35535328>
712
713         Reviewed by Brent Fulgham.
714
715         Test two forms of storage to be sure we are using a different WebsiteDataStore: cookies and sessionStorage.
716
717         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
718         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
719         (-[WebsitePoliciesWebsiteDataStoreDelegate webView:startURLSchemeTask:]):
720         (-[WebsitePoliciesWebsiteDataStoreDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
721         (websiteDataStoreTestWebView):
722         (TEST):
723
724 == Rolled over to ChangeLog-2018-01-01 ==