WebAssembly: poison JS object's secrets
[WebKit-https.git] / Tools / ChangeLog
1 2018-01-05  JF Bastien  <jfbastien@apple.com>
2
3         WebAssembly: poison JS object's secrets
4         https://bugs.webkit.org/show_bug.cgi?id=181339
5         <rdar://problem/36325001>
6
7         Reviewed by Mark Lam.
8
9         Update tests for swap(Poisoned<k, T>, T*)
10
11         * TestWebKitAPI/Tests/WTF/ConstExprPoisoned.cpp:
12         (TestWebKitAPI::TEST):
13         * TestWebKitAPI/Tests/WTF/Poisoned.cpp:
14         (TestWebKitAPI::TEST):
15         * TestWebKitAPI/Tests/WTF/PoisonedRef.cpp:
16         (TestWebKitAPI::TEST):
17
18 2018-01-05  Wenson Hsieh  <wenson_hsieh@apple.com>
19
20         REGRESSION(r226396) DataInteractionTests: ContentEditableToContentEditable and ContentEditableToTextarea are failing
21         https://bugs.webkit.org/show_bug.cgi?id=181359
22
23         Reviewed by Tim Horton.
24
25         Ensure that these tests still pass using older SDKs.
26
27         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
28         (TestWebKitAPI::TEST):
29
30 2018-01-05  Alex Christensen  <achristensen@webkit.org>
31
32         Rebase API test after r226469
33         https://bugs.webkit.org/show_bug.cgi?id=181308
34
35         * TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
36         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
37         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.
38
39 2018-01-05  Alex Christensen  <achristensen@webkit.org>
40
41         Restrict navigation-time WKWebsiteDataStore swapping to main frame navigations
42         https://bugs.webkit.org/show_bug.cgi?id=181217
43
44         Reviewed by Tim Horton.
45
46         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
47         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
48         (TEST):
49
50 2018-01-05  Alex Christensen  <achristensen@webkit.org>
51
52         Add WKBundleFrameCreateFrameHandle
53         https://bugs.webkit.org/show_bug.cgi?id=181232
54         <rdar://problem/35926696>
55
56         Reviewed by Tim Horton.
57
58         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
59         * TestWebKitAPI/Tests/WebKitCocoa/FrameHandleSerialization.mm: Added.
60         (mouseDidMoveOverElement):
61         (-[FrameHandleSerialization webProcessPlugIn:didCreateBrowserContextController:]):
62         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
63         (-[MouseMoveOverElementDelegate _webView:mouseDidMoveOverElement:withFlags:userInfo:]):
64         (TEST):
65
66 2018-01-05  Chris Fleizach  <cfleizach@apple.com>
67
68         iOS: Build fix after r226432.
69         
70         Unreviewed. Stop duplicating speakAs symbols for iOS.
71
72         * DumpRenderTree/AccessibilityUIElement.cpp:
73         (AccessibilityUIElement::speakAs):
74
75 2018-01-05  Javier Fernandez  <jfernandez@igalia.com>
76
77         Unreviewed, added myself as WebKit reviewer
78
79         * Scripts/webkitpy/common/config/contributors.json:
80
81 2018-01-05  Claudio Saavedra  <csaavedra@igalia.com>
82
83         WPE: Build fix after r226432.
84
85         Unreviewed. Rename ::speak() to ::speakAs().
86         * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp:
87         (WTR::AccessibilityUIElement::speakAs):
88         (WTR::AccessibilityUIElement::speak): Deleted.
89
90 2018-01-04  Chris Fleizach  <cfleizach@apple.com>
91
92         AX: Implement updated CSS3 Speech for 'speak' and 'speak-as' properties
93         https://bugs.webkit.org/show_bug.cgi?id=180361
94
95         Reviewed by Zalan Bujtas.
96
97         * DumpRenderTree/AccessibilityUIElement.cpp:
98         (speakAsCallback):
99         (AccessibilityUIElement::speakAs):
100         (AccessibilityUIElement::getJSClass):
101         (speakCallback): Deleted.
102         (AccessibilityUIElement::speak): Deleted.
103         * DumpRenderTree/AccessibilityUIElement.h:
104         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
105         (AccessibilityUIElement::speakAs):
106         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
107         (AccessibilityUIElement::speakAs):
108         (AccessibilityUIElement::speak): Deleted.
109         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
110         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
111         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
112         (WTR::AccessibilityUIElement::speakAs):
113         (WTR::AccessibilityUIElement::speak): Deleted.
114         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
115         (WTR::AccessibilityUIElement::speakAs):
116         (WTR::AccessibilityUIElement::speak): Deleted.
117
118 2018-01-04  Jonathan Bedard  <jbedard@apple.com>
119
120         REGRESSION (r226395): test-webkitperl test expectations incorrect
121         https://bugs.webkit.org/show_bug.cgi?id=181307
122         <rdar://problem/36306558>
123
124         Rubber-stamped by Aakash Jain.
125
126         r226395 added two lines towards the beginning of
127         Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl, the line
128         numbers in the test expectations need to update.
129
130         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests-expected.txt:
131
132 2018-01-04  Tim Horton  <timothy_horton@apple.com>
133
134         WKWebView loses minimum layout size overrides that happen while the process is terminated
135         https://bugs.webkit.org/show_bug.cgi?id=181306
136         <rdar://problem/34398288>
137
138         Reviewed by Dan Bernstein.
139
140         * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm:
141         (TEST):
142         Add a test that calling _overrideLayoutParametersWithMinimumLayoutSize
143         while the process is terminated results in the page getting the correct
144         minimum layout size.
145
146 2018-01-04  Eric Carlson  <eric.carlson@apple.com>
147
148         [MediaStream] Add Mock screen capture source
149         https://bugs.webkit.org/show_bug.cgi?id=181291
150         <rdar://problem/36298164>
151
152         Reviewed by Dean Jackson.
153
154         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test.
155         * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:
156         * TestWebKitAPI/Tests/WebKit/getDisplayMedia.html:
157
158 2018-01-04  Lucas Forschler  <lforschler@apple.com>
159
160         <rdar://problem/36300930> Change proxy server setting on master config to reach s3 servers
161
162         Reviewed by Ling Ho.
163
164         * BuildSlaveSupport/build.webkit.org-config/steps.py:
165
166 2018-01-03  Wenson Hsieh  <wenson_hsieh@apple.com>
167
168         [Attachment Support] Create attachment elements when dropping files on iOS
169         https://bugs.webkit.org/show_bug.cgi?id=181192
170         <rdar://problem/36280945>
171
172         Reviewed by Tim Horton.
173
174         Adds 3 new API tests to exercise different use cases of dropping content as attachment elements when the runtime
175         switch is enabled. See below for more details.
176
177         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
178         (-[NSItemProvider registerData:type:]):
179         (platformCopyPNG):
180         (TestWebKitAPI::TEST):
181         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
182
183         Fix some currently failing iOS drag and drop tests. In this case, there's no reason RTFD should appear in the
184         source item provider when dragging rich text *without* attachments, so this should have been a check for just
185         kUTTypeRTF instead.
186
187         (TestWebKitAPI::TEST):
188
189         Tests a few cases of inserting attachment elements via drop:
190         1.  We should distinguish between drops containing rich/plain text files from just dropping rich/plain text.
191             Instead of inserting the contents as inline web content, this should generate attachment elements.
192         2.  Test the fallback mechanism for inserting attachment elements. If the preferred presentation style is not
193             explicitly set, but there's nothing WebKit would otherwise do with the dropped content, then we should fall
194             back to inserting the content as an attachment.
195         3.  Test that if multiple attachments and inline item providers are present, WebKit will respect the order in
196             which they were inserted by the source (as opposed to, for instance, putting all of the attachments in front
197             or at the end).
198
199         * TestWebKitAPI/cocoa/TestWKWebView.h:
200         * TestWebKitAPI/cocoa/TestWKWebView.mm:
201         (-[TestWKWebView objectByEvaluatingJavaScript:]):
202
203         Add a helper method to return an object that represents the result of evaluating some given script, and rewrite
204         -stringByEvaluatingJavaScript to just turn around and call this.
205
206         (-[TestWKWebView stringByEvaluatingJavaScript:]):
207
208 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
209
210         Replace hard-coded paths in shebangs with #!/usr/bin/env
211         https://bugs.webkit.org/show_bug.cgi?id=181040
212
213         Reviewed by Alex Christensen.
214
215         * BuildSlaveSupport/build-launcher-app:
216         * BuildSlaveSupport/build-launcher-dmg:
217         * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
218         * BuildSlaveSupport/built-product-archive:
219         * BuildSlaveSupport/clean-build:
220         * BuildSlaveSupport/delete-stale-build-files:
221         * BuildSlaveSupport/download-built-product:
222         * BuildSlaveSupport/gtk/buildbot/log/run:
223         * BuildSlaveSupport/gtk/buildbot/run:
224         * BuildSlaveSupport/gtk/pulseaudio/run:
225         * BuildSlaveSupport/kill-old-processes:
226         * BuildSlaveSupport/test-result-archive:
227         * BuildSlaveSupport/win/kill-old-processes:
228         * Scripts/SpacingHeuristics.pm:
229         * Scripts/add-include:
230         * Scripts/build-api-tests:
231         * Scripts/build-dumprendertree:
232         * Scripts/build-imagediff:
233         * Scripts/build-jsc:
234         * Scripts/build-webkit:
235         * Scripts/build-webkittestrunner:
236         * Scripts/check-Xcode-source-file-types:
237         * Scripts/check-dom-results:
238         * Scripts/check-for-exit-time-destructors:
239         * Scripts/check-for-global-initializers:
240         * Scripts/check-for-inappropriate-objc-class-names:
241         * Scripts/check-for-weak-vtables-and-externals:
242         * Scripts/clean-header-guards:
243         * Scripts/compare-timing-files:
244         * Scripts/configure-xcode-for-ios-development:
245         * Scripts/copy-webkitlibraries-to-product-directory:
246         * Scripts/create-exports:
247         * Scripts/debug-minibrowser:
248         * Scripts/debug-safari:
249         * Scripts/debug-test-runner:
250         * Scripts/do-file-rename:
251         * Scripts/do-webcore-rename:
252         * Scripts/dump-webkit-tests-run:
253         * Scripts/ensure-valid-python:
254         * Scripts/execAppWithEnv:
255         * Scripts/extract-localizable-js-strings:
256         * Scripts/filter-build-webkit:
257         * Scripts/find-extra-includes:
258         * Scripts/fix-blink-patch:
259         * Scripts/generate-coverage-data:
260         * Scripts/git-add-reviewer:
261         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
262         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
263         * Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz:
264         * Scripts/make-new-script-test:
265         * Scripts/make-script-test-wrappers:
266         * Scripts/package-root:
267         * Scripts/parse-malloc-history:
268         * Scripts/report-include-statistics:
269         * Scripts/resolve-ChangeLogs:
270         * Scripts/run-api-tests:
271         * Scripts/run-bindings-tests:
272         * Scripts/run-content-extension-tester:
273         * Scripts/run-iexploder-tests:
274         * Scripts/run-javascriptcore-tests:
275         * Scripts/run-jsc:
276         * Scripts/run-leaks:
277         * Scripts/run-mangleme-tests:
278         * Scripts/run-minibrowser:
279         * Scripts/run-pageloadtest:
280         * Scripts/run-regexp-tests:
281         * Scripts/run-safari:
282         * Scripts/run-sunspider:
283         * Scripts/run-test-runner:
284         * Scripts/run-webkit-app:
285         * Scripts/run-webkit-httpd:
286         * Scripts/run-webkit-websocketserver:
287         * Scripts/set-webkit-configuration:
288         * Scripts/show-pretty-diff:
289         * Scripts/sort-Xcode-project-file:
290         * Scripts/split-file-by-class:
291         * Scripts/sunspider-compare-results:
292         * Scripts/svn-apply:
293         * Scripts/svn-unapply:
294         * Scripts/test-webkit-scripts:
295         * Scripts/test-webkitperl:
296         * Scripts/update-iexploder-cssproperties:
297         * Scripts/update-javascriptcore-test-results:
298         * Scripts/update-webkit:
299         * Scripts/update-webkit-auxiliary-libs:
300         * Scripts/update-webkit-dependency:
301         * Scripts/update-webkit-libs-jhbuild:
302         * Scripts/update-webkit-localizable-strings:
303         * Scripts/update-webkit-support-libs:
304         * Scripts/update-webkitgtk-libs:
305         * Scripts/update-webkitwpe-libs:
306         * Scripts/webkit-build-directory:
307         * Scripts/webkitperl/LoadAsModule.pm:
308         * Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl:
309         * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
310         * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl:
311         * Scripts/webkitperl/VCSUtils_unittest/fixSVNPatchForAdditionWithHistory.pl:
312         * Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl:
313         * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
314         * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl:
315         * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
316         * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
317         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
318         * Scripts/webkitperl/VCSUtils_unittest/parseFirstEOL.pl:
319         * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
320         * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl:
321         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl:
322         * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
323         * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
324         * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
325         * Scripts/webkitperl/VCSUtils_unittest/parseUnifiedDiffHeader.pl:
326         * Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl:
327         * Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl:
328         * Scripts/webkitperl/VCSUtils_unittest/runCommand.pl:
329         * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl:
330         * Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl:
331         * Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl:
332         * Scripts/webkitperl/auto-version_unittest/versionStampTests.pl:
333         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
334         * Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl:
335         * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl:
336         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl:
337         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
338         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl:
339         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl:
340         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl:
341         * Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl:
342         * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl:
343         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRef.pl:
344         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl:
345         * Scripts/webkitperl/webkitdirs_unittest/extractNonMacOSHostConfiguration.pl:
346         * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl:
347         * Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py:
348         * ccache/ccache-clang:
349         * ccache/ccache-clang++:
350         * ccache/ccache-wrapper:
351         * gtk/install-dependencies:
352         * iExploder/iexploder-1.3.2/htdocs/iexploder.cgi:
353         * iExploder/iexploder-1.3.2/htdocs/webserver.rb:
354         * iExploder/iexploder-1.3.2/tools/lasthit.rb:
355         * iExploder/iexploder-1.3.2/tools/osx_last_crash.rb:
356         * iExploder/iexploder-1.3.2/tools/showtest.rb:
357         * iExploder/iexploder-1.7.2/src/browser_harness.rb:
358         * iExploder/iexploder-1.7.2/src/iexploder.cgi:
359         * iExploder/iexploder-1.7.2/src/webserver.rb:
360         * iExploder/iexploder-1.7.2/tools/lasthit.rb:
361         * iExploder/iexploder-1.7.2/tools/osx_last_crash.rb:
362         * wpe/install-dependencies:
363
364 2018-01-03  Simon Fraser  <simon.fraser@apple.com>
365
366         filter-build-webkit filters out useful compiler error lines
367         https://bugs.webkit.org/show_bug.cgi?id=179864
368
369         Reviewed by Tim Horton.
370
371         Don't filter out lines that contain information about build errors by always showing lines
372         after a line that contains "note:" or "error:".
373
374         * Scripts/filter-build-webkit:
375         (shouldShowSubsequentLine):
376         (shouldIgnoreLine):
377
378 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
379
380         REGRESSION(r226366): [GTK] Broke TestBackForwardList and TestWebKitWebView
381         https://bugs.webkit.org/show_bug.cgi?id=173915
382
383         Unreviewed follow-up. Fix /webkit2/WebKitWebView/session-state-with-form-data and
384         /webkit2/WebKitWebView/submit-form. The form ID may be NULL, but we can't put NULL into a
385         GVariant unless we use maybe types, and maybe types are incompatible with D-Bus. So use an
386         empty string in this case.
387
388         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
389         (emitFormSubmissionEvent):
390
391 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
392
393         [GTK] Add web process API to detect when form is submitted via JavaScript
394         https://bugs.webkit.org/show_bug.cgi?id=173915
395
396         Reviewed by Carlos Garcia Campos.
397
398         Test it.
399
400         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
401         (FormSubmissionTest::FormSubmissionTest):
402         (FormSubmissionTest::~FormSubmissionTest):
403         (FormSubmissionTest::testFormSubmissionResult):
404         (FormSubmissionTest::willSendDOMEventCallback):
405         (FormSubmissionTest::willCompleteCallback):
406         (FormSubmissionTest::runJavaScriptAndWaitUntilFormSubmitted):
407         (testWebExtensionFormSubmissionSteps):
408         (beforeAll):
409         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
410         (DelayedSignal::DelayedSignal):
411         (emitFormSubmissionEvent):
412         (handleFormSubmissionCallback):
413         (willSubmitFormCallback):
414         (pageCreatedCallback):
415
416 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
417
418         Unreviewed, skip broken API test /webkit2/WebKitWebsiteData/databases
419         https://bugs.webkit.org/show_bug.cgi?id=181251
420
421         * Scripts/run-gtk-tests:
422         (GtkTestRunner):
423
424 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
425
426         Unreviewed, skip broken API test /webkit2/WebKitWebsiteData/ephemeral
427         https://bugs.webkit.org/show_bug.cgi?id=181136
428
429         * Scripts/run-gtk-tests:
430         (GtkTestRunner):
431
432 2018-01-02  Brent Fulgham  <bfulgham@apple.com>
433
434         [macOS, iOS] Adopt new secure coding APIs in WebKit
435         https://bugs.webkit.org/show_bug.cgi?id=181085
436         <rdar://problem/34837397>
437
438         Reviewed by Tim Horton.
439
440         Update API tests to use secure coding wherever possible. Currently, NSView/UIView-based classes are not
441         capable of supporting NSSecureCoding, so pass through the current coding routines.
442
443         * TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm: Updated for NSSecureCoding.
444         * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm:
445         (encodeAndDecode): Check if class supports the NSSecureCoding protocol and use non-secure coding
446         routines if necessary.
447         (TEST): Updated for NSSecureCoding.
448         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm:
449         (TestWebKitAPI::TEST): Updated for NSSecureCoding.
450
451 2017-12-28  Yusuke Suzuki  <utatane.tea@gmail.com>
452
453         Remove std::chrono completely
454         https://bugs.webkit.org/show_bug.cgi?id=181186
455
456         Reviewed by Alex Christensen.
457
458         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
459         (WTR::TestController::platformRunUntil):
460
461 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
462
463         REGRESSION(r223253): Broke ResourceLoadStatistics layout tests for non-Cocoa ports
464         https://bugs.webkit.org/show_bug.cgi?id=181231
465
466         Reviewed by Alex Christensen.
467
468         Implement TestController APIs needed by ResourceLoadStatistics tests.
469
470         * WebKitTestRunner/TestController.cpp:
471         (WTR::TestController::isStatisticsRegisteredAsSubFrameUnder):
472         (WTR::TestController::isStatisticsRegisteredAsRedirectingTo):
473
474 2018-01-02  Tim Horton  <timothy_horton@apple.com>
475
476         Disable WKAttachmentTests if UIPasteboard.itemProviders is not available
477         https://bugs.webkit.org/show_bug.cgi?id=181219
478
479         Reviewed by Wenson Hsieh.
480
481         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
482
483 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
484
485         Add a WebAuthentication runtime feature flag
486         https://bugs.webkit.org/show_bug.cgi?id=181220
487         <rdar://problem/36055305>
488
489         Reviewed by Brent Fulgham.
490
491         Renames the CredentialManagement runtime feature flag into WebAuthentication.
492
493         * DumpRenderTree/TestOptions.h:
494         * DumpRenderTree/TestOptions.mm:
495         (TestOptions::TestOptions):
496         * DumpRenderTree/mac/DumpRenderTree.mm:
497         (enableExperimentalFeatures):
498         (setWebPreferencesForTestOptions):
499         * WebKitTestRunner/TestController.cpp:
500         (WTR::TestController::resetPreferencesToConsistentValues):
501         (WTR::updateTestOptionsFromTestHeader):
502         * WebKitTestRunner/TestOptions.h:
503         (WTR::TestOptions::hasSameInitializationOptions const):
504
505 2018-01-02  Wenson Hsieh  <wenson_hsieh@apple.com>
506
507         [Attachment Support] Don't Blob-convert images and attachments with https:, http: or data: urls
508         https://bugs.webkit.org/show_bug.cgi?id=181143
509         <rdar://problem/36200381>
510
511         Reviewed by Tim Horton.
512
513         Add a new API test to ensure that a copied image with a data URL does not get pasted as an attachment when
514         attachment elements are enabled.
515
516         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
517         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
518         (TestWebKitAPI::TEST):
519
520 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
521
522         Update Credential Management API for WebAuthentication
523         https://bugs.webkit.org/show_bug.cgi?id=181082
524         <rdar://problem/36055239>
525
526         Reviewed by Brent Fulgham.
527
528         Enable Credential Management API for testing.
529
530         * DumpRenderTree/TestOptions.h:
531         * WebKitTestRunner/TestOptions.h:
532
533 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
534
535         [GTK] Test /webkit2/WebKitWebExtension/form-controls-associated-signal is flaky
536         https://bugs.webkit.org/show_bug.cgi?id=168194
537
538         Reviewed by Carlos Garcia Campos.
539
540         Fix an assertion and unskip the test. The order that form controls are associated is not
541         guaranteed.
542
543         * Scripts/run-gtk-tests:
544         (GtkTestRunner):
545         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
546         (didAssociateFormControlsCallback):
547
548 2018-01-02  Alex Christensen  <achristensen@webkit.org>
549
550         Use new WebsiteDataStore passed in through decidePolicyForNavigation SPI
551         https://bugs.webkit.org/show_bug.cgi?id=180897
552         <rdar://problem/35535328>
553
554         Reviewed by Brent Fulgham.
555
556         Test two forms of storage to be sure we are using a different WebsiteDataStore: cookies and sessionStorage.
557
558         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
559         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
560         (-[WebsitePoliciesWebsiteDataStoreDelegate webView:startURLSchemeTask:]):
561         (-[WebsitePoliciesWebsiteDataStoreDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
562         (websiteDataStoreTestWebView):
563         (TEST):
564
565 == Rolled over to ChangeLog-2018-01-01 ==