Implement self.queueMicrotask in Workers
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-08-05  Yusuke Suzuki  <utatane.tea@gmail.com>
2
3         Implement self.queueMicrotask in Workers
4         https://bugs.webkit.org/show_bug.cgi?id=188247
5
6         Reviewed by Ryosuke Niwa.
7
8         * http/wpt/workers/queue-microtask.any-expected.txt: Added.
9         * http/wpt/workers/queue-microtask.any.html: Added.
10         * http/wpt/workers/queue-microtask.any.js: Added.
11         (promise_test):
12         (promise_test.):
13         (queueMicrotask.promise_test):
14         (test):
15         * http/wpt/workers/queue-microtask.any.worker-expected.txt: Added.
16         * http/wpt/workers/queue-microtask.any.worker.html: Added.
17
18 2018-08-05  Rob Buis  <rbuis@igalia.com>
19
20         [GTK][WPE] Fetch tests assert in SubresourceLoader::didReceiveResponse()
21         https://bugs.webkit.org/show_bug.cgi?id=188163
22
23         Reviewed by Frédéric Wang.
24
25         Unskip since this will not crash in Debug anymore.
26
27         * platform/wpe/TestExpectations:
28
29 2018-08-05  Yusuke Suzuki  <utatane.tea@gmail.com>
30
31         Add support for microtasks in workers
32         https://bugs.webkit.org/show_bug.cgi?id=188246
33
34         Reviewed by Darin Adler.
35
36         * http/wpt/workers/microtasks.any-expected.txt: Added.
37         * http/wpt/workers/microtasks.any.html: Added.
38         * http/wpt/workers/microtasks.any.js: Added.
39         (promise_test):
40         * http/wpt/workers/microtasks.any.worker-expected.txt: Added.
41         * http/wpt/workers/microtasks.any.worker.html: Added.
42
43 2018-08-05  Philippe Normand  <pnormand@igalia.com>
44
45         [MediaCapabilities] Platform integration
46         https://bugs.webkit.org/show_bug.cgi?id=187850
47
48         Reviewed by Eric Carlson.
49
50         Mock tests for the MediaCapabilities specification.
51
52         * media/mediacapabilities/mock-decodingInfo-expected.txt: Added.
53         * media/mediacapabilities/mock-decodingInfo.html: Added.
54         * media/mediacapabilities/mock-encodingInfo-expected.txt: Added.
55         * media/mediacapabilities/mock-encodingInfo.html: Added.
56         * media/video-test.js:
57         (checkMediaCapabilitiesInfo):
58
59 2018-08-03  Ryosuke Niwa  <rniwa@webkit.org>
60
61         Properties set on window.customElements can disappear due to GC
62         https://bugs.webkit.org/show_bug.cgi?id=172575
63         <rdar://problem/32440668>
64
65         Reviewed by Saam Barati.
66
67         Added a regression test.
68
69         * fast/custom-elements/custom-element-registry-wrapper-should-stay-alive-expected.txt: Added.
70         * fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html: Added.
71
72 2018-08-03  Justin Fan  <justin_fan@apple.com>
73
74         WebGL 2 conformance: vertex_arrays/vertex_array_object.html
75         https://bugs.webkit.org/show_bug.cgi?id=188291
76         <rdar://problem/42792709>
77
78         Get https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance2/vertex_arrays/vertex-array-object.html 
79         working on Mac OS and iOS, and check in the new test expectations.
80
81         Reviewed by Dean Jackson.
82
83         * TestExpectations: No longer skipping vertex_arrays tests.
84         The following FAILed before this patch but are now expecting PASSes.
85         * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
86         * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
87         * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
88         * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
89         * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
90         * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
91         * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
92         * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
93         * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
94         * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
95         * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
96         * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
97         * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
98         * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
99         * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
100         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
101         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
102
103 2018-08-03  Ryan Haddad  <ryanhaddad@apple.com>
104
105         Skip imported/w3c/web-platform-tests/FileAPI/reading-data-section/filereader_abort.html.
106         https://bugs.webkit.org/show_bug.cgi?id=187269
107
108         Unreviewed test gardening.
109
110         * TestExpectations:
111
112 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
113
114         [LayoutTests][websocket] Return correct value even when cookie is not set.
115         https://bugs.webkit.org/show_bug.cgi?id=188317
116
117         Reviewed by Darin Adler.
118
119         > ws://127.0.0.1:8880/websocket/tests/hybi/echo-cookie_wsh.py
120         This web socket script throw exception when cookie is not set. That is ended up with
121         immediate disconnection and causes timeout for failure tests which makes debugging hard.
122
123         * http/tests/websocket/tests/hybi/echo-cookie_wsh.py:
124         (web_socket_transfer_data):
125         * platform/wincairo/TestExpectations:
126
127 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
128
129         [Curl] Test gardening
130         https://bugs.webkit.org/show_bug.cgi?id=188316
131
132         Unreviewed test gardening.
133
134         Skip some flaky tests.
135         Add comments why we skip for some platform dependent reason.
136
137         * platform/wincairo/TestExpectations:
138
139 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
140
141         [LayoutTests][PHP] Fix old-style script which uses function name as a keyword.
142         https://bugs.webkit.org/show_bug.cgi?id=188289
143
144         Reviewed by Alex Christensen.
145
146         Function name should be passed as a string literal. In PHP, named function is
147         not the first class citizen.
148
149         * http/tests/cookies/resources/echo-cookies.php:
150
151 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
152
153         [LayoutTests] Suppress PHP Error message by removing an execution time limit.
154         https://bugs.webkit.org/show_bug.cgi?id=188288
155
156         Reviewed by Alex Christensen.
157
158         Remove execution timeout.
159
160         * http/tests/multipart/resources/multipart.php:
161
162 2018-08-02  Ryosuke Niwa  <rniwa@webkit.org>
163
164         Release assert when throwing exceptions in custom element reactions
165         https://bugs.webkit.org/show_bug.cgi?id=187805
166         <rdar://problem/42432714>
167
168         Reviewed by Saam Barati.
169
170         Unskipped the previously crashing test.
171
172         * TestExpectations:
173
174 2018-08-02  Basuke Suzuki  <Basuke.Suzuki@sony.com>
175
176         [Curl] Test gardening
177         https://bugs.webkit.org/show_bug.cgi?id=188293
178
179         Unreviewed test gardening.
180
181         Unskip some http tests.
182
183         * platform/wincairo/TestExpectations:
184           - contentextensions
185           - events
186           - favicon.ico
187           - fullscreen
188           - globalhistory
189           - gzip-content-encoding
190           - history
191           - local
192           - messaging
193           - mime
194           - multipart
195           - performance
196           - permissionclient
197           - referrer-policy
198           - resourceLoadStatistics
199         * platform/wincairo/http/tests/local/file-url-sent-as-referer-expected.txt: Added.
200         * platform/wincairo/http/tests/multipart/invalid-image-data-expected.txt: Added.
201         * platform/wincairo/http/tests/multipart/invalid-image-data-standalone-expected.txt: Added.
202         * platform/wincairo/http/tests/uri/css-href-expected.txt: Added.
203
204 2018-08-02  Jer Noble  <jer.noble@apple.com>
205
206         Control center controls disappear when pausing, locking device.
207         https://bugs.webkit.org/show_bug.cgi?id=188282
208         <rdar://problem/42497809>
209
210         Reviewed by Eric Carlson.
211
212         * platform/mac/media/audio-session-category-video-paused-expected.txt: Added.
213         * platform/mac/media/audio-session-category-video-paused.html: Added.
214         * platform/ios/TestExpectations:
215
216 2018-08-02  Nan Wang  <n_wang@apple.com>
217
218         AX: [iOS] add support to return the attributed string under the element
219         https://bugs.webkit.org/show_bug.cgi?id=188276
220         <rdar://problem/42872357>
221
222         Reviewed by Chris Fleizach.
223
224         * accessibility/ios-simulator/attributed-string-for-element-expected.txt: Added.
225         * accessibility/ios-simulator/attributed-string-for-element.html: Added.
226
227 2018-08-02  Tim Horton  <timothy_horton@apple.com>
228
229         REGRESSION (r234488): Layout test fast/events/ios/keyboard-scrolling-repeat.html is timing out
230         <rdar://problem/42878480>
231
232         * fast/events/ios/keyboard-scrolling-repeat-expected.txt: Removed.
233         * fast/events/ios/keyboard-scrolling-repeat.html: Removed.
234         Remove a test that can't work anymore.
235         If we need to re-write it it will probably need to be an API test.
236
237 2018-08-02  Megan Gardner  <megan_gardner@apple.com>
238
239         Reformat editable selection tests to remove potential flakeyness due to autoscroll
240         https://bugs.webkit.org/show_bug.cgi?id=188263
241         <rdar://problem/40565375>
242
243         Reviewed by Wenson Hsieh
244
245         Change the format of these editable selection tests to put the editable content at the top of the page so
246         that when selecting we do not run into the page trying to autoscroll while selecting, which makes the tests more
247         flakey, and more difficult to get accurate and consistent answers.
248
249         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html:
250         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-left-to-change-selected-text.html:
251         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-right-to-change-selected-text.html:
252         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html:
253         * fast/events/touch/ios/long-press-on-editable-content-then-drag-down-to-change-selected-text.html:
254         * fast/events/touch/ios/long-press-on-editable-content-then-drag-left-to-change-selected-text.html:
255         * fast/events/touch/ios/long-press-on-editable-content-then-drag-right-to-change-selected-text.html:
256         * fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html:
257
258 2018-08-01  Yusuke Suzuki  <utatane.tea@gmail.com>
259
260         Add self.queueMicrotask(f) on DOMWindow
261         https://bugs.webkit.org/show_bug.cgi?id=188212
262
263         Reviewed by Ryosuke Niwa.
264
265         * js/dom/queue-microtask-window-expected.txt: Added.
266         * js/dom/queue-microtask-window.html: Added.
267
268 2018-08-01  Ryosuke Niwa  <rniwa@webkit.org>
269
270         REGRESSION(r227983): fast/dom/adopt-node-crash-2.html is flaky
271         https://bugs.webkit.org/show_bug.cgi?id=182589
272
273         Rebaseline the test and remove the flaky test expectation.
274
275         * fast/dom/adopt-node-crash-2-expected.txt:
276         * platform/ios-wk2/TestExpectations:
277         * platform/mac/TestExpectations:
278
279 2018-08-01  Nan Wang  <n_wang@apple.com>
280
281         AX: AOM: Add ARIA IDL Attribute Reflection
282         https://bugs.webkit.org/show_bug.cgi?id=184676
283         <rdar://problem/39476882>
284
285         Reviewed by Chris Fleizach.
286
287         * accessibility/ARIA-reflection-expected.txt: Added.
288         * accessibility/ARIA-reflection.html: Added.
289         * js/dom/dom-static-property-for-in-iteration.html:
290         * platform/win/TestExpectations:
291
292 2018-08-01  David Fenton  <david_fenton@apple.com>
293
294         Layout Test editing/selection/update-selection-by-style-change.html is flaky.
295         https://bugs.webkit.org/show_bug.cgi?id=187649
296
297         Unreviewed test gardening, re-marked test as flaky.
298
299         * platform/mac-wk2/TestExpectations:
300
301 2018-08-01  Andy VanWagoner  <andy@vanwagoner.family>
302
303         [INTL] Implement hourCycle in DateTimeFormat
304         https://bugs.webkit.org/show_bug.cgi?id=188006
305
306         Reviewed by Darin Adler.
307
308         Added tests for hourCycle.
309
310         * js/intl-datetimeformat-expected.txt:
311         * js/script-tests/intl-datetimeformat.js:
312
313 2018-08-01  Andy VanWagoner  <andy@vanwagoner.family>
314
315         number-toLocaleString.js test fails on ARM Linux buildbots
316         https://bugs.webkit.org/show_bug.cgi?id=154533
317
318         Reviewed by Yusuke Suzuki.
319
320         Removed assumed default locale in Intl tests. The default is tested to
321         verify that it is a string, and a canonicalized language tag. All other
322         test cases explicitly use a locale when they expect a localized value.
323
324         * js/intl-collator-expected.txt:
325         * js/intl-datetimeformat-expected.txt:
326         * js/intl-default-locale-expected.txt:
327         * js/intl-default-locale.html:
328         * js/intl-numberformat-expected.txt:
329         * js/intl-pluralrules-expected.txt:
330         * js/script-tests/intl-collator.js:
331         * js/script-tests/intl-datetimeformat.js:
332         * js/script-tests/intl-numberformat.js:
333         * js/script-tests/intl-pluralrules.js:
334
335 2018-08-01  Timothy Hatcher  <timothy@apple.com>
336
337         Hardcode some system colors to avoid fingerprinting exposure.
338         https://bugs.webkit.org/show_bug.cgi?id=188203
339         rdar://problem/42781630
340
341         Reviewed by Tim Horton.
342
343         * fast/css/apple-system-control-colors-expected.txt: Updated.
344         * fast/css/test-setting-canvas-color.html: Fixed for colors with alpha.
345         * platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
346         * platform/mac-sierra/fast/css/apple-system-control-colors-expected.txt: Updated.
347         * platform/mac/TestExpectations: Removed fast/css/test-setting-canvas-color.html.
348         * platform/mac/fast/css/apple-system-control-colors-expected.txt: Updated.
349
350 2018-08-01  Alicia Boya García  <aboya@igalia.com>
351
352         [GTK] Unreviewed test gardening
353         https://bugs.webkit.org/show_bug.cgi?id=188221
354
355         * platform/gtk/TestExpectations:
356
357 2018-07-31  Ross Kirsling  <ross.kirsling@sony.com>
358
359         [WinCairo] Unreviewed test gardening.
360
361         * platform/wincairo/TestExpectations:
362         * platform/wincairo/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png: Added.
363         * platform/wincairo/css3/masking/clip-path-circle-margin-box-expected.txt: Removed.
364
365 2018-07-31  Wenson Hsieh  <wenson_hsieh@apple.com>
366
367         Tidy up a layout test introduced in r234436.
368         https://bugs.webkit.org/show_bug.cgi?id=188107
369         <rdar://problem/42354250>
370
371         Reviewed by Daniel Bates.
372
373         The expected output of a test that uses js-test.js should include a description, plus a line that states that
374         there will be a series of PASS messages, PASS/FAIL output, a successfully parsed line and finally a TEST
375         COMPLETE line. This patch adjusts a newly introduced test to follow this convention.
376
377         * fast/forms/ios/click-should-not-suppress-misspelling-expected.txt:
378         * fast/forms/ios/click-should-not-suppress-misspelling.html:
379
380 2018-07-31  Ryan Haddad  <ryanhaddad@apple.com>
381
382         Layout Test svg/animations/smil-leak-element-instances-noBaseValRef.svg is flaky
383         https://bugs.webkit.org/show_bug.cgi?id=180997
384
385         Unreviewed test gardening.
386
387         * platform/mac-wk1/TestExpectations: Remove flaky expectation.
388
389 2018-07-31  John Wilander  <wilander@apple.com>
390
391         Resource Load Statistics: Remove partitioned cookies for reduced complexity, lower memory footprint, and ability to support more platforms
392         https://bugs.webkit.org/show_bug.cgi?id=188109
393         <rdar://problem/42664391>
394
395         Reviewed by Brent Fulgham, Chris Dumez, and Alex Christensen.
396
397         This patch removes cookie partitioning which reduces the model to just
398         blocked cookies (in third-party contexts) and first-party cookie access.
399
400         Several of the changes are renaming to reflect that there are no more
401         cookie partitions.
402
403         The changes to the Storage Access API tests also involve fixes for potential
404         flakiness by adopting several completion handlers in test functions.
405
406         * http/tests/resourceLoadStatistics/add-blocking-to-redirect.html:
407         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect-expected.txt: Removed.
408         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect.html: Removed.
409         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion.html:
410         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent.html:
411         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html:
412         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent.html:
413         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to.html:
414         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics.html:
415         * http/tests/resourceLoadStatistics/cookie-deletion-expected.txt: Renamed from LayoutTests/http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion-expected.txt.
416         * http/tests/resourceLoadStatistics/cookie-deletion.html: Renamed from LayoutTests/http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html.
417         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-expected.txt: Added.
418         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction.html: Renamed from LayoutTests/http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html.
419         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect.html:
420         * http/tests/resourceLoadStatistics/enable-debug-mode.html:
421         * http/tests/resourceLoadStatistics/grandfathering.html:
422         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html:
423         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html:
424         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-expected.txt:
425         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context.html:
426         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
427         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
428         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
429         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
430         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
431         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
432         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt: Removed.
433         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html: Removed.
434         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt: Removed.
435         * http/tests/resourceLoadStatistics/remove-blocking-in-redirect-expected.txt:
436         * http/tests/resourceLoadStatistics/remove-blocking-in-redirect.html:
437         * http/tests/resourceLoadStatistics/remove-partitioning-in-redirect-expected.txt: Removed.
438         * http/tests/resourceLoadStatistics/remove-partitioning-in-redirect.html: Removed.
439         * http/tests/resourceLoadStatistics/resources/get-cookies.php:
440         * http/tests/resourceLoadStatistics/resources/set-cookie-on-redirect.php: Added.
441         * http/tests/resourceLoadStatistics/resources/util.js: Added.
442         (setEnableFeature):
443         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
444         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
445         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
446         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
447         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
448         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
449         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode.html:
450         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects.html:
451         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests.html:
452         * http/tests/resourceLoadStatistics/telemetry-generation.html:
453         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction-expected.txt: Removed.
454         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html: Removed.
455         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html:
456         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html:
457         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html:
458         * http/tests/storageAccess/deny-storage-access-under-opener.html:
459         * http/tests/storageAccess/grant-storage-access-under-opener-expected.txt:
460         * http/tests/storageAccess/grant-storage-access-under-opener.html:
461         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-non-recent-user-interaction-expected.txt: Removed.
462         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-non-recent-user-interaction.html: Removed.
463         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-recent-user-interaction.html: Removed.
464         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-recent-user-interaction-expected.txt.
465         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction.html: Added.
466         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-expected.txt.
467         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt.
468         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html: Added.
469         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe.html.
470         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-expected.txt.
471         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame-expected.txt.
472         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame.html.
473         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-but-try-access-from-wrong-frame-expected.txt.
474         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-but-try-access-from-wrong-frame.html.
475         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-recent-user-interaction-expected.txt.
476         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-recent-user-interaction.html.
477         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-expected.txt.
478         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction.html.
479         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe.html.
480         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-nested-iframe-expected.txt.
481         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-nested-iframe.html.
482         * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-expected.txt:
483         * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access.html:
484         * http/tests/storageAccess/request-and-grant-access-then-navigate-should-not-have-access.html:
485         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-pop-window.html: Removed.
486         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin.html:
487         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token.html:
488         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture.html:
489         * http/tests/storageAccess/request-storage-access-same-origin-iframe.html:
490         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token.html:
491         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe.html:
492         * http/tests/storageAccess/request-storage-access-top-frame.html:
493         * http/tests/storageAccess/resources/nesting-iframe.html:
494         * platform/ios/TestExpectations:
495             Test case renaming.
496             webkit.org/b/183216 removed since it's resolved.
497         * platform/mac-wk2/TestExpectations:
498             Test case renaming.
499         * platform/wk2/TestExpectations:
500             Test case renaming.
501
502 2018-07-31  Wenson Hsieh  <wenson_hsieh@apple.com>
503
504         [iOS] Spelling suggestions cannot be selected in focused form controls when zoomed in
505         https://bugs.webkit.org/show_bug.cgi?id=188107
506         <rdar://problem/42354250>
507
508         Reviewed by Tim Horton.
509
510         Adds a new test to verify that tapping in a misspelled word to bring up the spelling correction callout and
511         selection view does not immediately cause the selection to dismiss.
512
513         * fast/forms/ios/click-should-not-suppress-misspelling-expected.txt: Added.
514         * fast/forms/ios/click-should-not-suppress-misspelling.html: Added.
515
516 2018-07-31  Alex Christensen  <achristensen@webkit.org>
517
518         Remove Yosemite test results.
519
520         We haven't run these tests in over a year.  They're not needed.
521
522         * platform/mac-yosemite: Removed.
523
524 2018-07-31  Ryan Haddad  <ryanhaddad@apple.com>
525
526         Layout Test media/video-add-autoplay-user-gesture.html is flaky.
527         https://bugs.webkit.org/show_bug.cgi?id=174591
528
529         Reviewed by Darin Adler.
530
531         Remove the 1000ms restriction for this test to complete in order to eliminate flakiness.
532
533         * media/video-add-autoplay-user-gesture.html:
534
535 2018-07-31  Miguel Gomez  <magomez@igalia.com>
536
537         [WPE] webanimations/partly-accelerated-transition-by-removing-property.html is failing since added in r234250 "[Web Animations] REGRESSION: transition added immediately after element creation doesn't work"
538         https://bugs.webkit.org/show_bug.cgi?id=188058
539
540         Unreviewed. Adding custom test expectation for WPE, as it never leaves AC mode.
541
542         * platform/wpe/TestExpectations:
543         * platform/wpe/webanimations/partly-accelerated-transition-by-removing-property-expected.txt: Added.
544
545 2018-07-30  Justin Fan  <justin_fan@apple.com>
546
547         [WebGL2] Support compilation of GLSL ES version 300 shaders
548         https://bugs.webkit.org/show_bug.cgi?id=187982
549         <rdar://problem/42564229>
550
551         Reviewed by Dean Jackson.
552
553         New simple test added to ensure that GLSL ES version 300 shaders compile.
554         Updated other test results in glsl3 to match new functionality.
555
556         * fast/canvas/webgl/webgl2-glsl3-compile-expected.txt: Added.
557         * fast/canvas/webgl/webgl2-glsl3-compile.html: Added.
558         * platform/ios/TestExpectations: Skipping ios for now. 
559         * webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt:
560         * webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt:
561         * webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt:
562         * webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt:
563         * webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt:
564         * webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt:
565         * webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt:
566         * webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt:
567         * webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt:
568         * webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt:
569         * webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt:
570
571 2018-07-30  Ryan Haddad  <ryanhaddad@apple.com>
572
573         Rebaseline fast/forms/file/input-file-re-render.html for Mojave.
574
575         Unreviewed test gardening.
576
577         * platform/mac-highsierra/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/file/input-file-re-render-expected.txt.
578         * platform/mac/fast/forms/file/input-file-re-render-expected.txt:
579
580 2018-07-30  Ryan Haddad  <ryanhaddad@apple.com>
581
582         Update TestExpectations for mac-wk1.
583
584         Unreviewed test gardening.
585
586         * platform/mac-wk1/TestExpectations:
587
588 2018-07-30  Chris Dumez  <cdumez@apple.com>
589
590         Nullptr crash accessing Document in GenericEventQueue::dispatchOneEvent()
591         https://bugs.webkit.org/show_bug.cgi?id=187284
592
593         Unreviewed, roll r233496 and r233571 now that all known issues have been fixed via
594         dependency bugs.
595
596         * media/track/video-track-addition-and-frame-removal-expected.txt: Added.
597         * media/track/video-track-addition-and-frame-removal.html: Added.
598
599 2018-07-30  Per Arne Vollan  <pvollan@apple.com>
600
601         [Win] Layout test http/tests/security/canvas-remote-read-remote-video-hls.html is failing.
602         https://bugs.webkit.org/show_bug.cgi?id=188169
603
604         Unreviewed test gardening.
605
606         * platform/win/TestExpectations:
607
608 2018-07-30  Per Arne Vollan  <pvollan@apple.com>
609
610         [Win] Layout test fast/text/complex-first-glyph-with-initial-advance.html is failing.
611         https://bugs.webkit.org/show_bug.cgi?id=188168
612
613         Unreviewed test gardening.
614
615         * platform/win/TestExpectations:
616
617 2018-07-30  Per Arne Vollan  <pvollan@apple.com>
618
619         [Win] Layout test fast/repaint/canvas-object-fit.html is failing.
620         https://bugs.webkit.org/show_bug.cgi?id=188167
621
622         Unreviewed test gardening.
623
624         * platform/win/TestExpectations:
625
626 2018-07-30  Per Arne Vollan  <pvollan@apple.com>
627
628         [Win] Layout test webanimations/accessing-current-time-after-clearing-css-animation-effect.html is failing.
629         https://bugs.webkit.org/show_bug.cgi?id=188166
630
631         Unreviewed test gardening.
632
633         * platform/win/TestExpectations:
634
635 2018-07-30  Zan Dobersek  <zdobersek@igalia.com>
636
637         Unreviewed WPE gardening. Adding and adjusting a bunch of expectations
638         to cover various ASSERT crashers.
639
640         * platform/wpe/TestExpectations:
641
642 2018-07-30  Zan Dobersek  <zdobersek@igalia.com>
643
644         Unreviewed WPE gardening.
645
646         Adding two WPE-specific test baselines. Adjusting or adding a few
647         additional test expectations.
648
649         * platform/wpe/TestExpectations:
650         * platform/wpe/webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt: Added.
651         * platform/wpe/webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt: Added.
652
653 2018-07-29  Basuke Suzuki  <Basuke.Suzuki@sony.com>
654
655         [Curl] Test gardening
656         https://bugs.webkit.org/show_bug.cgi?id=188155
657
658         Unreviewed test gardening.
659
660         * platform/wincairo/TestExpectations:
661
662 2018-07-29  Basuke Suzuki  <Basuke.Suzuki@sony.com>
663
664         [Curl] Fix the bug when client reject the redirect on WebKitLegacy.
665         https://bugs.webkit.org/show_bug.cgi?id=188130
666
667         Reviewed by Darin Adler.
668
669         * platform/wincairo/TestExpectations:
670         - xmlhttprequest/xmlhttprequest-unsafe-redirect-expected.txt: Pass
671
672 2018-07-24  Simon Fraser  <simon.fraser@apple.com>
673
674         Animation stops with object-fit:contain on an animated 2d canvas
675         https://bugs.webkit.org/show_bug.cgi?id=187840
676
677         Reviewed by Zalan Bujtas.
678
679         * fast/repaint/canvas-object-fit-expected.txt: Added.
680         * fast/repaint/canvas-object-fit.html: Added.
681
682 2018-07-27  Basuke Suzuki  <Basuke.Suzuki@sony.com>
683
684         [Curl] Test gardening
685         https://bugs.webkit.org/show_bug.cgi?id=188129
686
687         Unreviewed test gardening.
688
689         * platform/wincairo/TestExpectations:
690         * platform/wincairo/http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect-expected.txt: Added.
691
692 2018-07-27  Simon Fraser  <simon.fraser@apple.com>
693
694         Adjust the color matrix for the inverse apple-invert-lightness() transformation
695         https://bugs.webkit.org/show_bug.cgi?id=188131
696         rdar://problem/42673070
697
698         Reviewed by Zalan Bujtas.
699
700         Rebaseline tests that use the filter inversion. Add a new test that does inversion
701         for a whole range of colors, to get good coverage of the inversion matrix.
702
703         * editing/style/inverse-color-filter-expected.txt: Added.
704         * editing/style/inverse-color-filter.html: Added.
705         * editing/style/set-backColor-with-color-filter-expected.txt:
706         * editing/style/set-foreColor-with-color-filter-expected.txt:
707         * platform/win/TestExpectations:
708
709 2018-07-27  Michael Catanzaro  <mcatanzaro@igalia.com>
710
711         More unreviewed GTK test gardening
712
713         * TestExpectations:
714
715 2018-07-27  David Fenton  <david_fenton@apple.com>
716
717         LayoutTest http/tests/cache/disk-cache/disk-cache-204-status-code.html is a flaky failure.
718         https://bugs.webkit.org/show_bug.cgi?id=162685
719
720         Unreviewed test gardening, marked as flaky on iOS Release.
721
722         * platform/ios-wk2/TestExpectations:
723
724 2018-07-27  Simon Fraser  <simon.fraser@apple.com>
725
726         Be more conservative with compositing layer creation when memory is low
727         https://bugs.webkit.org/show_bug.cgi?id=187866
728         rdar://problem/42366345
729
730         Reviewed by Zalan Bujtas.
731         
732         * compositing/layer-creation/compositing-policy-expected.txt: Added.
733         * compositing/layer-creation/compositing-policy.html: Added.
734
735 2018-07-27  Zalan Bujtas  <zalan@apple.com>
736
737         [WK1] ASSERTION FAILED: renderer().repaintLayoutRects().m_repaintRect == renderer().clippedOverflowRectForRepaint(renderer().containerForRepaint()) in WebCore::RenderLayer::updateLayerPositionsAfterScroll
738         https://bugs.webkit.org/show_bug.cgi?id=188122
739         <rdar://problem/42584790>
740
741         Reviewed by Simon Fraser.
742
743         * platform/mac-wk1/TestExpectations:
744
745 2018-07-27  Michael Catanzaro  <mcatanzaro@igalia.com>
746
747         Unreviewed GTK test gardening
748
749         * TestExpectations:
750         * platform/gtk/TestExpectations:
751
752 2018-07-27  Basuke Suzuki  <Basuke.Suzuki@sony.com>
753
754         [Curl] Crash on synchronous request via ResourceHandle.
755         https://bugs.webkit.org/show_bug.cgi?id=188033
756
757         Reviewed by Alex Christensen.
758
759         bug/188033 Crash sync xmlhttprequest
760
761         * platform/wincairo/TestExpectations:
762
763 2018-07-27  David Fenton  <david_fenton@apple.com>
764
765         Layout Test tiled-drawing/scrolling/fixed/four-bars-zoomed.html is flaky text failure.
766         https://bugs.webkit.org/show_bug.cgi?id=188096
767
768         Unreviewed test gardening, marked test as flaky.
769
770         * platform/mac-wk2/TestExpectations:
771
772 2018-07-27  Basuke Suzuki  <Basuke.Suzuki@sony.com>
773
774         [Curl] Set correct source info to ResourceResponse.
775         https://bugs.webkit.org/show_bug.cgi?id=188069
776
777         Reviewed by Fujii Hironori.
778
779         * platform/wincairo/TestExpectations:
780           - http/tests/cache/disk-cache/disk-cache-302-status-code.html: Pass
781
782 2018-07-27  Fujii Hironori  <Hironori.Fujii@sony.com>
783
784         [WinCairo] Unreviewed test gardening
785
786         * platform/wincairo/TestExpectations:
787         Enable test cases under http/tests/css.
788
789 2018-07-26  Basuke Suzuki  <Basuke.Suzuki@sony.com>
790
791         [Curl] Test gardening
792         https://bugs.webkit.org/show_bug.cgi?id=188090
793
794         Unreviewed test gardening.
795         Rearrange http test section.
796
797         * platform/wincairo/TestExpectations:
798
799 2018-07-26  Zalan Bujtas  <zalan@apple.com>
800
801         [Fullscreen] Do not create composited layers for renderers unless they are part of the fullscreen subtree.
802         https://bugs.webkit.org/show_bug.cgi?id=188087
803         <rdar://problem/42632124>
804
805         Reviewed by Simon Fraser.
806
807         * compositing/no-compositing-when-fulll-screen-is-present-expected.txt: Added.
808         * compositing/no-compositing-when-fulll-screen-is-present.html: Added.
809
810 2018-07-26  Ryan Haddad  <ryanhaddad@apple.com>
811
812         Unreviewed, rolling out r234281.
813
814         Broke internal builds.
815
816         Reverted changeset:
817
818         "[Datalist] Add button to TextFieldInputs with a datalist"
819         https://bugs.webkit.org/show_bug.cgi?id=187741
820         https://trac.webkit.org/changeset/234281
821
822 2018-07-26  Aditya Keerthi  <akeerthi@apple.com>
823
824         [Datalist] Add button to TextFieldInputs with a datalist
825         https://bugs.webkit.org/show_bug.cgi?id=187741
826
827         Reviewed by Tim Horton.
828
829         Added tests to verify appearance of TextFieldInputs with a datalist.
830
831         * fast/forms/datalist/datalist-searchinput-appearance.html: Added.
832         * fast/forms/datalist/datalist-textinput-appearance.html: Added.
833         * platform/mac/fast/forms/datalist/datalist-searchinput-appearance-expected.png: Added.
834         * platform/mac/fast/forms/datalist/datalist-searchinput-appearance-expected.txt: Added.
835         * platform/mac/fast/forms/datalist/datalist-textinput-appearance-expected.png: Added.
836         * platform/mac/fast/forms/datalist/datalist-textinput-appearance-expected.txt: Added.
837
838 2018-07-26  Antoine Quint  <graouts@apple.com>
839
840         [Web Animations] Accelerated animations don't respect a positive delay value
841         https://bugs.webkit.org/show_bug.cgi?id=186930
842         <rdar://problem/41393393>
843
844         Reviewed by Dean Jackson.
845
846         Creating a new test that runs an accelerated animation on a non-positioned element with a small
847         positive delay. Prior to this patch, the element would move slightly when the delay elapses but
848         wouldn't animate towards the target value. With this patch, it animatea correctly. To check
849         that it does animate, we add a cache over the element except for the first 25px which is the area
850         within which it might have moved prior to this patch. This way the test only passes if the element
851         is fully hidden by the cache.
852
853         * webanimations/accelerated-animation-with-delay-expected.html: Added.
854         * webanimations/accelerated-animation-with-delay.html: Added.
855
856 2018-07-26  Basuke Suzuki  <Basuke.Suzuki@sony.com>
857
858         [Curl] Test gardening
859         https://bugs.webkit.org/show_bug.cgi?id=188076
860
861         Unreviewed test gardening.
862
863         Mark diskcache test "Failure" for upcoming fix:
864         - https://bugs.webkit.org/show_bug.cgi?id=188069.
865
866         * platform/wincairo/TestExpectations:
867           - http/tests/cache/disk-cache/disk-cache-302-status-code.html [ Failure ]
868
869 2018-07-26  Nan Wang  <n_wang@apple.com>
870
871         AX: nothing returned for various previous text marker APIs from one div/p node to another
872         https://bugs.webkit.org/show_bug.cgi?id=188071
873
874         Reviewed by Chris Fleizach.
875
876         * accessibility/mac/text-marker-p-tags-expected.txt: Added.
877         * accessibility/mac/text-marker-p-tags.html: Added.
878         * accessibility/mac/text-marker-string-for-document-range-expected.txt:
879
880 2018-07-26  David Fenton  <david_fenton@apple.com>
881
882         Layout Test webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination.html is timing out on mac Debug
883         https://bugs.webkit.org/show_bug.cgi?id=188061
884
885         Unreviewed test gardening.
886
887         Marked test as [ Slow ].
888
889         * platform/mac/TestExpectations:
890
891 2018-07-26  Ryan Haddad  <ryanhaddad@apple.com>
892
893         Unreviewed, update TestExpectations for macOS WK1.
894
895         * platform/mac-wk1/TestExpectations:
896
897 2018-07-26  Andy VanWagoner  <andy@vanwagoner.family>
898
899         JSC: Intl API should ignore encoding when parsing BCP 47 language tag from ISO 15897 locale string (passed via LANG)
900         https://bugs.webkit.org/show_bug.cgi?id=167991
901
902         Reviewed by Michael Catanzaro.
903
904         Replaced expecting throwing a runtime error to avoid a crash, with testing for good default locale fallback behavior.
905
906         * js/intl-default-locale-expected.txt: Added.
907         * js/intl-default-locale.html: Added.
908         * js/intl-invalid-locale-crash-expected.txt: Removed.
909         * js/intl-invalid-locale-crash.html: Removed.
910         * platform/win/TestExpectations:
911
912 2018-07-26  Miguel Gomez  <magomez@igalia.com>
913
914         Unreviewed GTK+ and WPE gardening after r234252.
915
916         * platform/gtk/TestExpectations:
917         * platform/gtk/fast/overflow/line-clamp-expected.png:
918         * platform/gtk/fast/overflow/line-clamp-expected.txt:
919         * platform/wpe/TestExpectations:
920
921 2018-07-26  Antoine Quint  <graouts@apple.com>
922
923         [Web Animations] REGRESSION: transition added immediately after element creation doesn't work
924         https://bugs.webkit.org/show_bug.cgi?id=187942
925
926         Reviewed by Dean Jackson.
927
928         Creating a new test that runs a transition based on an explicit value being removed in favor
929         of the implicit value of a property that can be accelerated. To check that we indeed run the
930         animation, we have a cache that covers the entire range of interpolated values except for the
931         start and end values and wait 100ms after creating the transition to end the test. Prior to this
932         patch, the element would be at its start value and a 1px red line would show to the right of the
933         cache. With this patch, the red line is hidden by the cache as it's animated.
934
935         We also add a test that checks that we do not create a composited layer when several transitions,
936         with only one being potentially accelerated, target the same element.
937
938         * webanimations/accelerated-transition-by-removing-property-expected.html: Added.
939         * webanimations/accelerated-transition-by-removing-property.html: Added.
940         * webanimations/partly-accelerated-transition-by-removing-property-expected.txt: Added.
941         * webanimations/partly-accelerated-transition-by-removing-property.html: Added.
942
943 2018-07-26  Basuke Suzuki  <Basuke.Suzuki@sony.com>
944
945         [Curl] Test gardening
946         https://bugs.webkit.org/show_bug.cgi?id=188034
947
948         Unreviewed WinCairo gardening.
949
950         Add expected file.
951
952         * http/tests/xmlhttprequest/resources/print-referer.php: Added.
953         * http/tests/xmlhttprequest/simple-sync-expected.txt: Added.
954         * http/tests/xmlhttprequest/simple-sync.html:
955
956 2018-07-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
957
958         [Curl] Test gardening
959         https://bugs.webkit.org/show_bug.cgi?id=188034
960
961         Unreviewed WinCairo gardening.
962
963         * httpxmlhttprequest/simple-sync.html: Added.
964         * platform/wincairo/TestExpectations:
965
966 2018-07-25  Zalan Bujtas  <zalan@apple.com>
967
968         REGRESSION(r227577) Text on TV & Movies page doesn't wrap properly in iTunes
969         https://bugs.webkit.org/show_bug.cgi?id=188018
970         <rdar://problem/42517520>
971
972         Reviewed by Dean Jackson.
973
974         * fast/block/lines-clamp-advanced-expected.html: Removed.
975         * fast/block/lines-clamp-advanced-rl-expected.html: Removed.
976         * fast/block/lines-clamp-advanced-rl.html: Removed.
977         * fast/block/lines-clamp-advanced.html: Removed.
978         * fast/block/lines-clamp-basic-expected.html: Removed.
979         * fast/block/lines-clamp-basic-rl-expected.html: Removed.
980         * fast/block/lines-clamp-basic-rl.html: Removed.
981         * fast/block/lines-clamp-basic.html: Removed.
982         * fast/css/lines-clamp-parsing-expected.txt: Removed.
983         * fast/css/lines-clamp-parsing.html: Removed.
984         * fast/overflow/line-clamp-with-text-shadow-expected.html: Added.
985         * fast/overflow/line-clamp-with-text-shadow.html: Added.
986         * platform/ios-simulator-wk2/fast/overflow/line-clamp-expected.txt: Removed.
987
988 2018-07-25  David Fenton  <david_fenton@apple.com>
989
990         Layout Test media/audio-concurrent-supported.html is a flaky failure.
991         https://bugs.webkit.org/show_bug.cgi?id=188017
992
993         Unreviewed test gardening.
994
995         * platform/ios-simulator-wk2/TestExpectations:
996
997 2018-07-25  David Fenton  <david_fenton@apple.com>
998
999         Unreviewed, rolling out r234187.
1000
1001         the layout test added with this change is flaky on the bots
1002
1003         Reverted changeset:
1004
1005         "Animation stops with object-fit:contain on an animated 2d
1006         canvas"
1007         https://bugs.webkit.org/show_bug.cgi?id=187840
1008         https://trac.webkit.org/changeset/234187
1009
1010 2018-07-25  Andy VanWagoner  <andy@vanwagoner.family>
1011
1012         [INTL] Intl constructor lengths should be configurable
1013         https://bugs.webkit.org/show_bug.cgi?id=187960
1014
1015         Reviewed by Saam Barati.
1016
1017         Expect DateTimeFormat formatToParts length to be 1.
1018
1019         * js/intl-datetimeformat-expected.txt:
1020         * js/script-tests/intl-datetimeformat.js:
1021
1022 2018-07-25  Ms2ger  <Ms2ger@igalia.com>
1023
1024         [GTK][WPE] Unreviewed test gardening
1025         https://bugs.webkit.org/show_bug.cgi?id=188003
1026
1027         Unreviewed test gardening.
1028
1029         * platform/gtk/TestExpectations:
1030           - webgl/2.0.0/conformance2/glsl3/: skip while we disable WebGL2 support
1031           - media/video-restricted-invisible-autoplay-allowed-when-visible.html: mark as flaky
1032           - compositing/backing/backing-store-attachment-fill-forwards-animation.html: mark as failing
1033           - http/tests/security/canvas-remote-read-remote-video-hls.html: mark as failing
1034         * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
1035           Update for r233935.
1036
1037 2018-07-24  Chris Dumez  <cdumez@apple.com>
1038
1039         REGRESSION (r219757): Accessing response getter of XHR instance from IFRAME sets constructor to Object from the IFRAME
1040         https://bugs.webkit.org/show_bug.cgi?id=187411
1041         <rdar://problem/41920593>
1042
1043         Reviewed by Sam Weinig.
1044
1045         Add layout test coverage. I have verified locally that it passes in Chromium as well.
1046
1047         * http/tests/xmlhttprequest/resources/data.json: Added.
1048         * http/tests/xmlhttprequest/resources/xhr-response-constructor-iframe.html: Added.
1049         * http/tests/xmlhttprequest/xhr-response-constructor-subframe-expected.txt: Added.
1050         * http/tests/xmlhttprequest/xhr-response-constructor-subframe.html: Added.
1051
1052 2018-07-24  Simon Fraser  <simon.fraser@apple.com>
1053
1054         Animation stops with object-fit:contain on an animated 2d canvas
1055         https://bugs.webkit.org/show_bug.cgi?id=187840
1056
1057         Reviewed by Zalan Bujtas.
1058
1059         * fast/repaint/canvas-object-fit-expected.txt: Added.
1060         * fast/repaint/canvas-object-fit.html: Added.
1061
1062 2018-07-24  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1063
1064         [Curl] Add support for wss:// websockets
1065         https://bugs.webkit.org/show_bug.cgi?id=172630
1066
1067         Reviewed by Fujii Hironori.
1068
1069         Pass simple-wss.html.
1070
1071         * platform/wincairo/TestExpectations:
1072
1073 2018-07-24  Chris Dumez  <cdumez@apple.com>
1074
1075         Unreviewed, rolling out r233496 and r233571.
1076
1077         Likely cause of <rdar://problem/42160890> and
1078         <rdar://problem/42329658> as ActiveDOMObjects can now be
1079         constructed / destroyed while we are iterating over them.
1080
1081         Reverted changesets:
1082
1083         "Nullptr crash accessing Document in
1084         GenericEventQueue::dispatchOneEvent()"
1085         https://bugs.webkit.org/show_bug.cgi?id=187284
1086         https://trac.webkit.org/changeset/233496
1087
1088         "REGRESSION(r233496): macOS Sierra hits debug assertions in
1089         TrackListBase::suspend"
1090         https://bugs.webkit.org/show_bug.cgi?id=187378
1091         https://trac.webkit.org/changeset/233571
1092
1093 2018-07-24  Thibault Saunier  <tsaunier@igalia.com>
1094
1095         Unreviewed WPE/GTK gardening.
1096
1097         Disabled newly added webrtc tests that depend on implementing WebAudioSourceProviderGStreamer.
1098
1099         Namely:
1100           webrtc/peer-connection-createMediaStreamDestination.html
1101
1102         * platform/gtk/TestExpectations:
1103         * platform/wpe/TestExpectations:
1104
1105 2018-07-24  Ryan Haddad  <ryanhaddad@apple.com>
1106
1107         Mark http/tests/workers/service/serviceworkerclients-matchAll.https.html as flaky.
1108         https://bugs.webkit.org/show_bug.cgi?id=183705
1109
1110         Unreviewed test gardening.
1111
1112         * platform/ios-wk2/TestExpectations:
1113         * platform/mac-wk2/TestExpectations:
1114
1115 2018-07-24  Antoine Quint  <graouts@apple.com>
1116
1117         [Web Animations] Crash when setting an animation style on an existing animation that had its effect set to null
1118         https://bugs.webkit.org/show_bug.cgi?id=187953
1119
1120         Reviewed by Dean Jackson.
1121
1122         Add a new test that sets an animation property via style after setting the initial animation's effect to null.
1123
1124         * webanimations/setting-css-animation-timing-property-via-style-after-clearing-effect-expected.txt: Added.
1125         * webanimations/setting-css-animation-timing-property-via-style-after-clearing-effect.html: Added.
1126
1127 2018-07-24  Antoine Quint  <graouts@apple.com>
1128
1129         [Web Animations] Crash when setting "animation: none" after clearing an animation's effect
1130         https://bugs.webkit.org/show_bug.cgi?id=187952
1131
1132         Reviewed by Dean Jackson.
1133
1134         Add a new test that checks that setting "animation: none" on an element that previously had a valid
1135         CSS animation and for which the effect was set to null does not crash.
1136
1137         * webanimations/setting-css-animation-none-after-clearing-effect-expected.txt: Added.
1138         * webanimations/setting-css-animation-none-after-clearing-effect.html: Added.
1139
1140 2018-07-24  Antoine Quint  <graouts@apple.com>
1141
1142         [Web Animations] Crash accessing CSSAnimation::bindingsCurrentTime when effect has been set to null
1143         https://bugs.webkit.org/show_bug.cgi?id=187950
1144         <rdar://problem/42515747>
1145
1146         Reviewed by Dean Jackson.
1147
1148         Add a new test where we check that the current time of a CSSAnimation can be accessed after setting its effect to null.
1149
1150         * webanimations/accessing-current-time-after-clearing-css-animation-effect-expected.txt: Added.
1151         * webanimations/accessing-current-time-after-clearing-css-animation-effect.html: Added.
1152
1153 2018-07-24  Daniel Bates  <dabates@apple.com>
1154
1155         Cannot view PDF's on my.gov.au: "Refused to load https://my.gov.au/attachment/viewAttachment because it
1156         appears in neither the object-src directive nor the default-src directive of the Content Security Policy"
1157         https://bugs.webkit.org/show_bug.cgi?id=187870
1158         <rdar://problem/41190880>
1159
1160         Reviewed by Dean Jackson.
1161
1162         Add new tests and fix up the existing test http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window.html
1163         so that still tests a scenario where a same-origin plugin document loaded in a child window is blocked from
1164         loading its plugin now that that "object-src: 'none'" is no longer inherited by the plugin document.
1165
1166         * http/tests/plugins/resources/plugin-document-alert-and-notify-done.pl:
1167         * http/tests/security/contentSecurityPolicy/resources/checkDidSameOriginChildWindowLoad.js: Added.
1168         (checkDidSameOriginChildWindowLoadAndNotifyDone):
1169         (checkDidLoad):
1170         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-allowed-in-child-window-expected.txt: Added.
1171         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-allowed-in-child-window.html: Added.
1172         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window-expected.txt:
1173         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window-report-expected.txt: Added.
1174         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window-report.php: Added.
1175         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window.html:
1176         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-with-csp-blocked-in-child-window-expected.txt: Added.
1177         * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-with-csp-blocked-in-child-window.html: Added.
1178         * platform/ios/TestExpectations: Skip the included tests as we do not support plugins on iOS.
1179         * platform/win/TestExpectations: Skip the included tests as plugins do not seem to work on Windows. We currently skip many
1180         (if not all) plugin tests on Windows despite <rdar://problem/5074411> being marked as Closed (why?). 
1181
1182 2018-07-24  Zan Dobersek  <zdobersek@igalia.com>
1183
1184         Unreviewed WPE gardening.
1185
1186         Adding WPE-specific baselines for WebGL2 conformance tests that are
1187         already passing on this port.
1188
1189         * platform/wpe/webgl: Added.
1190         * platform/wpe/webgl/2.0.0: Added.
1191         * platform/wpe/webgl/2.0.0/conformance2: Added.
1192         * platform/wpe/webgl/2.0.0/conformance2/glsl3: Added.
1193         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt: Added.
1194         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt: Added.
1195         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt: Added.
1196         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt: Added.
1197         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt: Added.
1198         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt: Added.
1199         * platform/wpe/webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt: Added.
1200         * platform/wpe/webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt: Added.
1201         * platform/wpe/webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt: Added.
1202         * platform/wpe/webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt: Added.
1203         * platform/wpe/webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt: Added.
1204         * platform/wpe/webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt: Added.
1205         * platform/wpe/webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt: Added.
1206         * platform/wpe/webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt: Added.
1207         * platform/wpe/webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt: Added.
1208         * platform/wpe/webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt: Added.
1209         * platform/wpe/webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt: Added.
1210         * platform/wpe/webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt: Added.
1211         * platform/wpe/webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt: Added.
1212         * platform/wpe/webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt: Added.
1213         * platform/wpe/webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt: Added.
1214         * platform/wpe/webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt: Added.
1215         * platform/wpe/webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt: Added.
1216         * platform/wpe/webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt: Added.
1217         * platform/wpe/webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt: Added.
1218         * platform/wpe/webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt: Added.
1219         * platform/wpe/webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt: Added.
1220         * platform/wpe/webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt: Added.
1221
1222 2018-07-24  Thibault Saunier  <tsaunier@igalia.com>
1223
1224         [WPE][GTK] Implement PeerConnection API on top of libwebrtc
1225         https://bugs.webkit.org/show_bug.cgi?id=186932
1226
1227         Reviewed by Philippe Normand.
1228
1229         * platform/gtk/TestExpectations: Enable webrtc tests.
1230
1231 2018-07-24  Dirk Schulze  <krit@webkit.org>
1232
1233         [css-masking] Black backdrop on -webkit-clip-path on SVG root
1234         https://bugs.webkit.org/show_bug.cgi?id=187880
1235
1236         Avoid duplicated clip in RenderLayer.
1237
1238         Reviewed by Simon Fraser.
1239
1240         * svg/clip-path/clip-path-on-svg-005-expected.svg: Added.
1241         * svg/clip-path/clip-path-on-svg-005.svg: Added.
1242
1243 2018-07-23  Per Arne Vollan  <pvollan@apple.com>
1244
1245         The test webanimations/accessing-current-time-after-finished-css-animation-target-removal.html is failing on Windows.
1246         https://bugs.webkit.org/show_bug.cgi?id=187943
1247
1248         Unreviewed test gardening.
1249
1250         * platform/win/TestExpectations:
1251
1252 2018-07-23  Manuel Rego Casasnovas  <rego@igalia.com>
1253
1254         [css-grid] Add support for calc() in gutter properties
1255         https://bugs.webkit.org/show_bug.cgi?id=187902
1256
1257         Reviewed by Simon Fraser.
1258
1259         Two tests are now passing thanks to this change.
1260
1261         * TestExpectations:
1262
1263 2018-07-23  Andy VanWagoner  <andy@vanwagoner.family>
1264
1265         [INTL] Language tags are not canonicalized
1266         https://bugs.webkit.org/show_bug.cgi?id=185836
1267
1268         Reviewed by Keith Miller.
1269
1270         Use gregory instead of gregorian, matching test262/intl402 and other engines.
1271         Remove tests for algorithmic numbering systems. Add NumberFormat numbering system tests.
1272
1273         * js/intl-datetimeformat-expected.txt:
1274         * js/intl-numberformat-expected.txt:
1275         * js/script-tests/intl-datetimeformat.js:
1276         * js/script-tests/intl-numberformat.js:
1277         (string_appeared_here):
1278
1279 2018-07-23  Sihui Liu  <sihui_liu@apple.com>
1280
1281         CrashTracer: com.apple.WebKit.Storage at WebCore: WebCore::encodeKey
1282         https://bugs.webkit.org/show_bug.cgi?id=187927
1283         <rdar://problem/42516426>
1284
1285         Reviewed by Chris Dumez.
1286
1287         Add a new test case in existing test file to cover the crash case and update the expecation accordingly.
1288
1289         * storage/indexeddb/index-multientry-expected.txt:
1290         * storage/indexeddb/index-multientry-private-expected.txt:
1291         * storage/indexeddb/resources/index-multientry.js:
1292         (addData):
1293
1294 2018-07-23  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1295
1296         [Curl] Test gardening
1297         https://bugs.webkit.org/show_bug.cgi?id=187932
1298
1299         Unreviewed test gardening.
1300
1301         Enable Secure WebSocket tests.
1302
1303         * platform/wincairo/TestExpectations:
1304
1305 2018-07-23  Justin Fan  <justin_fan@apple.com>
1306
1307         Enable WebGL2 glsl3 tests with expected FAIL results
1308         https://bugs.webkit.org/show_bug.cgi?id=187929
1309         <rdar://problem/42516498>
1310
1311         Reviewed by Dean Jackson.
1312
1313         Before enabling glsl ES 3 for WebGL2 work, enable corresponding webgl2 conformance tests.
1314
1315         * TestExpectations:
1316         * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
1317         * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
1318         * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
1319         * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
1320         * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
1321         * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
1322         * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
1323         * webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
1324         * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
1325         * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
1326         * webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt:
1327         * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
1328         * webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt:
1329         * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
1330         * webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt:
1331         * webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt:
1332         * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
1333         * webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt:
1334         * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
1335         * webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt:
1336         * webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt:
1337         * webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
1338         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
1339         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
1340         * webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
1341         * webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
1342         * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
1343         * webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt:
1344         * webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt:
1345         * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
1346         * webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
1347         * webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt:
1348         * webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt:
1349         * webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
1350         * webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
1351         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
1352         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
1353
1354 2018-07-23  Nan Wang  <n_wang@apple.com>
1355
1356         AX: Press tab to highlight items on a webpage is not working with voiceover enabled
1357         https://bugs.webkit.org/show_bug.cgi?id=187824
1358
1359         Reviewed by Zalan Bujtas.
1360
1361         * accessibility/mac/tab-focus-post-notification-expected.txt: Added.
1362         * accessibility/mac/tab-focus-post-notification.html: Added.
1363
1364 2018-07-23  Antoine Quint  <graouts@apple.com>
1365
1366         [Web Animations] Querying the current time of a finished CSSAnimation after removing its target leads to a crash
1367         https://bugs.webkit.org/show_bug.cgi?id=187906
1368
1369         Reviewed by Dean Jackson.
1370
1371         Add a new test that checks the behavior of a CSSAnimation instance after its completion and removal of its target.
1372
1373         * webanimations/accessing-current-time-after-finished-css-animation-target-removal-expected.txt: Added.
1374         * webanimations/accessing-current-time-after-finished-css-animation-target-removal.html: Added.
1375
1376 2018-07-23  Chris Dumez  <cdumez@apple.com>
1377
1378         REGRESSION(PSON?): [ WK2 ] http/tests/workers/service/client-*-page-cache.html LayoutTests are flaky
1379         https://bugs.webkit.org/show_bug.cgi?id=183705
1380         <rdar://problem/42440606>
1381
1382         Unreviewed, attempting a better fix for http/tests/workers/service/serviceworkerclients-matchAll.https.html.
1383         If it fixes the flakiness I'll do the same for the 2 page cache tests.
1384
1385         * http/tests/workers/service/serviceworkerclients-matchAll-worker.js:
1386         (waitFor):
1387         (matchAllPromise2):
1388         (async.doTestAfterMessage):
1389         (matchAllPromise1): Deleted.
1390         (then): Deleted.
1391         * platform/ios-wk2/TestExpectations:
1392         * platform/mac-wk2/TestExpectations:
1393
1394 2018-07-23  Per Arne Vollan  <pvollan@apple.com>
1395
1396         Layout test webanimations/empty-keyframes-crash.html is failing on Windows.
1397         https://bugs.webkit.org/show_bug.cgi?id=187912
1398
1399         Unreviewed test gardening.
1400
1401         * platform/win/TestExpectations:
1402
1403 2018-07-23  Per Arne Vollan  <pvollan@apple.com>
1404
1405         Skip crypto tests on Windows.
1406         https://bugs.webkit.org/show_bug.cgi?id=165090
1407
1408         Unreviewed test gardening.
1409
1410         * platform/win/TestExpectations:
1411
1412 2018-07-23  Ryan Haddad  <ryanhaddad@apple.com>
1413
1414         Mark http/tests/security/bypassing-cors-checks-for-extension-urls.html as flaky.
1415         https://bugs.webkit.org/show_bug.cgi?id=187658
1416
1417         Unreviewed test gardening.
1418
1419         * platform/mac-wk2/TestExpectations:
1420
1421 2018-07-23  Ryan Haddad  <ryanhaddad@apple.com>
1422
1423         Mark three service worker clients tests as flaky.
1424         https://bugs.webkit.org/show_bug.cgi?id=183705
1425
1426         Unreviewed test gardening.
1427
1428         * platform/ios-wk2/TestExpectations:
1429         * platform/mac-wk2/TestExpectations:
1430
1431 2018-07-22  Dean Jackson  <dino@apple.com>
1432
1433         fullscreen env() variables should have initial values
1434         https://bugs.webkit.org/show_bug.cgi?id=187897
1435         <rdar://problem/42485682>
1436
1437         Reviewed by Sam Weinig.
1438
1439         * fullscreen/fullscreen-env-initial-expected.html: Added.
1440         * fullscreen/fullscreen-env-initial.html: Added.
1441
1442 2018-07-20  John Wilander  <wilander@apple.com>
1443
1444         Resource Load Statistics: Enable basic functionality in experimental debug mode
1445         https://bugs.webkit.org/show_bug.cgi?id=187835
1446         <rdar://problem/42408590>
1447
1448         Reviewed by Chris Dumez.
1449
1450         This patch makes the experimental ITP Debug Mode feature work, at least
1451         to a basic level.
1452
1453         * http/tests/resourceLoadStatistics/enable-debug-mode-expected.txt: Added.
1454         * http/tests/resourceLoadStatistics/enable-debug-mode.html: Added.
1455         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-expected.txt: Added.
1456         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode.html: Added.
1457
1458 2018-07-20  Sihui Liu  <sihui_liu@apple.com>
1459
1460         [ MacOS iOS ] Layout Test storage/indexeddb/modern/opendatabase-after-storage-crash.html is flaky
1461         https://bugs.webkit.org/show_bug.cgi?id=187648
1462         <rdar://problem/42405935>
1463
1464         Reviewed by Brady Eidson.
1465
1466         Make test wait until requests finish to get correct result, because indexedDB operations are asynchronous.
1467
1468         * storage/indexeddb/modern/opendatabase-after-storage-crash-expected.txt:
1469         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
1470
1471 2018-07-19  Simon Fraser  <simon.fraser@apple.com>
1472
1473         Remove completed animations from GraphicsLayer, thus avoiding excessive backing store allocation
1474         https://bugs.webkit.org/show_bug.cgi?id=187844
1475         rdar://problem/40387294
1476
1477         Reviewed by Dean Jackson.
1478
1479         * compositing/backing/backing-store-attachment-fill-forwards-animation-expected.txt: Added.
1480         * compositing/backing/backing-store-attachment-fill-forwards-animation.html: Added.
1481
1482 2018-07-20  Ryosuke Niwa  <rniwa@apple.com>
1483
1484         Picking a color from the color panel for typing attributes needs to inverse transform through color-filter
1485         https://bugs.webkit.org/show_bug.cgi?id=187846
1486
1487         Reviewed by Simon Fraser.
1488
1489         Added tests to make sure foreground or background colors specified in execCommand don't get inverted.
1490
1491         Fixed the test which was asserting that textInputController.attributedSubstringFromRange doesn't invert the color
1492         since that's exactly what WebKit embedders uses to compute the style for color pickers.
1493
1494         Added new tests for copy & paste case using textInputController.legacyAttributedString.
1495
1496         * editing/execCommand/set-backColor-with-color-filter-from-scripts-expected.txt: Added.
1497         * editing/execCommand/set-backColor-with-color-filter-from-scripts.html: Added.
1498         * editing/execCommand/set-foreColor-with-color-filter-from-scripts-expected.txt: Added.
1499         * editing/execCommand/set-foreColor-with-color-filter-from-scripts.html: Added.
1500         * editing/mac/attributed-string/attrib-string-range-with-color-filter-expected.txt:
1501         * editing/mac/attributed-string/attrib-string-range-with-color-filter.html: This test uses attributedSubstringFromRange,
1502         which implemented using editingAttributedStringFromRange in WebCore. Since this is exactly what WebKit embedders uses
1503         to compute the current style of the selected text, we need to invert the color here. This API's main clinet is input methods
1504         so this shouldn't affect other editing operations, in particular, copy and paste, which uses HTMLConverter.
1505         * editing/mac/attributed-string/attribute-string-for-copy-with-color-filter-expected.txt: Added.
1506         * editing/mac/attributed-string/attribute-string-for-copy-with-color-filter.html: Added. Make sure the attributed string
1507         generated for copy & paste does not invert foreground or background colors via textInputController.legacyAttributedString.
1508         This is testing HTMLConverter, not editingAttributedStringFromRange, used by WebKit embedders and input methods.
1509         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt:
1510         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html: Added background color in the test.
1511         * editing/style/set-backColor-with-color-filter-expected.txt: Added.
1512         * editing/style/set-backColor-with-color-filter.html: Added.
1513         * editing/style/set-foreColor-with-color-filter-expected.txt: Renamed from exec-command-foreColor-with-color-filter-expected.txt.
1514         * editing/style/set-foreColor-with-color-filter.html: Renamed from exec-command-foreColor-with-color-filter.html.
1515         Updated the test to use testRunner.execCommand which uses CommandFromMenuOrKeyBinding in applyCommandToFrame since we're
1516         trying to test the code path taken by WebKit embedders and font panel here.
1517
1518 2018-07-20  Chris Dumez  <cdumez@apple.com>
1519
1520         REGRESSION(PSON?): [ WK2 ] http/tests/workers/service/client-*-page-cache.html LayoutTests are flaky
1521         https://bugs.webkit.org/show_bug.cgi?id=183705
1522
1523         Reviewed by Youenn Fablet.
1524
1525         At the beginning of the tests, wait for the client count to reach the expected value instead of
1526         expecting it to be the right value right away. Clients unregister themselves asynchronously so
1527         it is flaky otherwise.
1528
1529         * http/tests/workers/service/client-added-to-clients-when-restored-from-page-cache.html:
1530         * http/tests/workers/service/client-removed-from-clients-while-in-page-cache.html:
1531         * http/tests/workers/service/serviceworkerclients-matchAll-worker.js:
1532         (async.doTestAfterMessage):
1533
1534 2018-07-20  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1535
1536         [Curl] Test gardening
1537         https://bugs.webkit.org/show_bug.cgi?id=187863
1538
1539         Unreviewed test gardening.
1540
1541         Enable WebSocket tests.
1542
1543         * platform/wincairo/TestExpectations:
1544
1545 2018-07-19  Jer Noble  <jer.noble@apple.com>
1546
1547         HLS resources with remote subresources will not taint canvasses.
1548         https://bugs.webkit.org/show_bug.cgi?id=187731
1549         <rdar://problem/42290703>
1550
1551         Reviewed by Brady Eidson.
1552
1553         * http/tests/media/resources/hls/test-vod-localhost.m3u8: Added.
1554         * http/tests/security/canvas-remote-read-remote-video-hls-expected.txt: Added.
1555         * http/tests/security/canvas-remote-read-remote-video-hls.html: Added.
1556
1557 2018-07-20  Ryan Haddad  <ryanhaddad@apple.com>
1558
1559         Rebaseline editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html for Sierra.
1560
1561         Unreviewed test gardening.
1562
1563         * platform/mac-sierra/editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt: Added.
1564
1565 2018-07-20  Frederic Wang  <fwang@igalia.com>
1566
1567         Import new WPT tests for custom elements
1568         https://bugs.webkit.org/show_bug.cgi?id=187806
1569
1570         Reviewed by Javier Fernandez.
1571
1572         Some tests crashing or timing out are skipped. Also, one test depending on the availability
1573         of the @capture attribute of the HTMLInputElement element has a specific expectation on iOS.
1574
1575         * TestExpectations: Skip some tests crashing or timing out.
1576         * platform/ios/imported/w3c/web-platform-tests/custom-elements/reactions/HTMLInputElement-expected.txt: Added.
1577
1578 2018-07-19  Antoine Quint  <graouts@apple.com>
1579
1580         Flaky crash in AnimationTimeline::cancelOrRemoveDeclarativeAnimation
1581         https://bugs.webkit.org/show_bug.cgi?id=187530
1582         <rdar://problem/42095186>
1583
1584         Reviewed by Dean Jackson.
1585
1586         Adjust an existing test which assumes an animation might be running when it's not really, so we test the animation is
1587         not running using an alternate method.
1588
1589         * animations/keyframes-dynamic-expected.txt:
1590         * animations/keyframes-dynamic.html:
1591
1592 2018-07-19  Ryan Haddad  <ryanhaddad@apple.com>
1593
1594         Mark storage/indexeddb/modern/opendatabase-after-storage-crash.html as flaky.
1595         https://bugs.webkit.org/show_bug.cgi?id=187648
1596
1597         Unreviewed test gardening.
1598
1599         * platform/wk2/TestExpectations:
1600
1601 2018-07-19  Simon Fraser  <simon.fraser@apple.com>
1602
1603         Fix the test.
1604
1605         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html:
1606
1607 2018-07-18  Simon Fraser  <simon.fraser@apple.com>
1608
1609         Setting foreground color when editing should take color-filter into account, and report the correct foreground color for collapsed selections
1610         https://bugs.webkit.org/show_bug.cgi?id=187778
1611
1612         Reviewed by Ryosuke Niwa.
1613
1614         * editing/mac/attributed-string/attrib-string-colors-with-color-filter-expected.txt: Added.
1615         * editing/mac/attributed-string/attrib-string-colors-with-color-filter.html: Added.
1616         * editing/mac/attributed-string/attrib-string-range-with-color-filter-expected.txt: Added.
1617         * editing/mac/attributed-string/attrib-string-range-with-color-filter.html: Added.
1618         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt: Added.
1619         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html: Added.
1620         * editing/style/exec-command-foreColor-with-color-filter-expected.txt: Added.
1621         * editing/style/exec-command-foreColor-with-color-filter.html: Added.
1622
1623 2018-07-19  Truitt Savell  <tsavell@apple.com>
1624
1625         [ win-ews ] http/tests/preload/onload_event.html is flakey crash on win-ews
1626         https://bugs.webkit.org/show_bug.cgi?id=187809
1627
1628         Unreviewed test gardening.
1629
1630         * platform/win/TestExpectations:
1631
1632 2018-07-19  Frederic Wang  <fwang@igalia.com>
1633
1634         Fix message of NotSupportedError exception thrown during custom element creation
1635         https://bugs.webkit.org/show_bug.cgi?id=187757
1636
1637         Reviewed by Yusuke Suzuki.
1638
1639         * fast/custom-elements/exceptions-for-synchronous-custom-element-creation-expected.txt: Added.
1640         * fast/custom-elements/exceptions-for-synchronous-custom-element-creation.html: Added.
1641
1642 2018-07-18  Ryan Haddad  <ryanhaddad@apple.com>
1643
1644         Rebaseline fast/css/apple-system-colors.html.
1645
1646         Unreviewed test gardening.
1647
1648         * platform/mac/fast/css/apple-system-colors-expected.txt:
1649
1650 2018-07-18  Antoine Quint  <graouts@apple.com>
1651
1652         [Web Animations] Interpolation between font-styles with a keyword value should be discrete
1653         https://bugs.webkit.org/show_bug.cgi?id=187722
1654
1655         Reviewed by Myles Maxfield.
1656
1657         Mark some WPT progressions.
1658
1659         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
1660         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
1661         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
1662         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
1663         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
1664         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
1665
1666 2018-07-18  Jer Noble  <jer.noble@apple.com>
1667
1668         PiP from Element Fullscreen should match AVKit's behavior
1669         https://bugs.webkit.org/show_bug.cgi?id=187623
1670
1671         Reviewed by Jon Lee.
1672
1673         * TestExpectations:
1674         * media/fullscreen-video-going-into-pip-expected.txt: Removed.
1675         * media/fullscreen-video-going-into-pip.html: Removed.
1676         * media/video-contained-in-fullscreen-element-going-into-pip-expected.txt: Removed.
1677         * media/video-contained-in-fullscreen-element-going-into-pip.html: Removed.
1678         * platform/mac-wk2/TestExpectations:
1679
1680 2018-07-18  Truitt Savell  <tsavell@apple.com>
1681
1682        [ WK2 ] Layout Test http/wpt/service-workers/update-service-worker.https.html is a flaky Timeout
1683         https://bugs.webkit.org/show_bug.cgi?id=187766
1684
1685         Unreviewed test gardening.
1686
1687         * platform/wk2/TestExpectations:
1688
1689 2018-07-18  Alicia Boya García  <aboya@igalia.com>
1690
1691         [GTK] Unreviewed test gardening
1692         https://bugs.webkit.org/show_bug.cgi?id=187771
1693
1694         * TestExpectations:
1695         * platform/gtk/TestExpectations:
1696         * platform/wpe/TestExpectations:
1697
1698 2018-07-18  Simon Fraser  <simon.fraser@apple.com>
1699
1700         Fix the parsing of colors in attributed string tests, and make it possible to dump the typing attributes
1701         https://bugs.webkit.org/show_bug.cgi?id=187747
1702
1703         Reviewed by Ryosuke Niwa.
1704         
1705         Fix the parsing of color properties in dump-attributed-string.js, and treat NSStrokeColor as
1706         a color. Rebase all the affected tests. Give macOS Sierra its own expectations with the legacy NSCustomColorSpace.
1707         
1708         Add attributed-string-for-typing.html which tests typingAttributes.
1709
1710         * editing/mac/attributed-string/anchor-element-expected.txt:
1711         * editing/mac/attributed-string/attributed-string-for-typing-expected.txt: Added.
1712         * editing/mac/attributed-string/attributed-string-for-typing.html: Added.
1713         * editing/mac/attributed-string/basic-expected.txt:
1714         * editing/mac/attributed-string/comment-cdata-section-expected.txt:
1715         * editing/mac/attributed-string/font-size-expected.txt:
1716         * editing/mac/attributed-string/font-style-variant-effect-expected.txt:
1717         * editing/mac/attributed-string/font-weight-expected.txt:
1718         * editing/mac/attributed-string/letter-spacing-expected.txt:
1719         * editing/mac/attributed-string/resources/dump-attributed-string.js:
1720         (dumpAttributedString):
1721         (formatNonParagraphAttributeValue):
1722         (parseNSColorDescription):
1723         (window.onload):
1724         (serializeAttributedString.log): Deleted.
1725         (serializeAttributedString.): Deleted.
1726         (serializeAttributedString): Deleted.
1727         * editing/mac/attributed-string/text-decorations-expected.txt:
1728         * editing/mac/attributed-string/vertical-align-expected.txt:
1729         * platform/mac-sierra/editing/mac/attributed-string/anchor-element-expected.txt:
1730         * platform/mac-sierra/editing/mac/attributed-string/attributed-string-for-typing-expected.txt: Added.
1731         * platform/mac-sierra/editing/mac/attributed-string/basic-expected.txt:
1732         * platform/mac-sierra/editing/mac/attributed-string/comment-cdata-section-expected.txt:
1733         * platform/mac-sierra/editing/mac/attributed-string/font-size-expected.txt:
1734         * platform/mac-sierra/editing/mac/attributed-string/font-style-variant-effect-expected.txt:
1735         * platform/mac-sierra/editing/mac/attributed-string/font-weight-expected.txt:
1736         * platform/mac-sierra/editing/mac/attributed-string/letter-spacing-expected.txt:
1737         * platform/mac-sierra/editing/mac/attributed-string/text-decorations-expected.txt:
1738         * platform/mac-sierra/editing/mac/attributed-string/vertical-align-expected.txt:
1739         * platform/mac/editing/mac/attributed-string/anchor-element-expected.txt: Removed.
1740         * platform/mac/editing/mac/attributed-string/basic-expected.txt: Removed.
1741         * platform/mac/editing/mac/attributed-string/comment-cdata-section-expected.txt: Removed.
1742         * platform/mac/editing/mac/attributed-string/font-size-expected.txt: Removed.
1743         * platform/mac/editing/mac/attributed-string/font-style-variant-effect-expected.txt: Removed.
1744         * platform/mac/editing/mac/attributed-string/font-weight-expected.txt: Removed.
1745         * platform/mac/editing/mac/attributed-string/letter-spacing-expected.txt: Removed.
1746         * platform/mac/editing/mac/attributed-string/text-decorations-expected.txt: Removed.
1747         * platform/mac/editing/mac/attributed-string/vertical-align-expected.txt: Removed.
1748
1749 2018-07-17  Antoine Quint  <graouts@apple.com>
1750
1751         Ensure timingFunctionForKeyframeAtIndex() can be used from setAnimatedPropertiesInStyle().
1752         https://bugs.webkit.org/show_bug.cgi?id=187637
1753         <rdar://problem/42157915>
1754
1755         Reviewed by Dean Jackson.
1756
1757         Add a new test that would crash prior to this change.
1758
1759         * webanimations/empty-keyframes-crash-expected.txt: Added.
1760         * webanimations/empty-keyframes-crash.html: Added.
1761
1762 2018-07-17  Ryan Haddad  <ryanhaddad@apple.com>
1763
1764         Rebaseline imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/pbkdf2.https.worker.html for Sierra after r233898.
1765
1766         Unreviewed test gardening.
1767
1768         * platform/mac-sierra/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/pbkdf2.https.worker-expected.txt: Added.
1769         * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/pbkdf2.https.worker-expected.txt: Added.
1770
1771 2018-07-17  Truitt Savell  <tsavell@apple.com>
1772
1773         Layout Test compositing/iframes/display-none-subframe.html is a flaky failure
1774         https://bugs.webkit.org/show_bug.cgi?id=186406
1775
1776         Unreviewed test gardening
1777
1778         * platform/wk2/TestExpectations:
1779
1780 2018-07-17  Jiewen Tan  <jiewen_tan@apple.com>
1781
1782         Unreviewed, test gardening after r233898.
1783
1784         * TestExpectations:
1785         * platform/gtk/TestExpectations:
1786         * platform/ios/TestExpectations:
1787         * platform/mac/TestExpectations:
1788         * platform/wpe/TestExpectations:
1789
1790 2018-07-15  Jiewen Tan  <jiewen_tan@apple.com>
1791
1792         [WebCrypto] Crypto operations should copy their parameters before hoping to another thread
1793         https://bugs.webkit.org/show_bug.cgi?id=187501
1794         <rdar://problem/41438160>
1795
1796         Reviewed by Youenn Fablet.
1797
1798         crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html is an exception of this series of tests as
1799         it only aims to test the correct behavoir of suggested algorithms. This patch aslo does some test
1800         gardening.
1801
1802         * TestExpectations:
1803         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key-expected.txt: Added.
1804         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html: Added.
1805         * http/wpt/crypto/aes-cbc-crash.any-expected.txt: Added.
1806         * http/wpt/crypto/aes-cbc-crash.any.html: Added.
1807         * http/wpt/crypto/aes-cbc-crash.any.js: Added.
1808         * http/wpt/crypto/aes-cbc-crash.any.worker-expected.txt: Added.
1809         * http/wpt/crypto/aes-cbc-crash.any.worker.html: Added.
1810         * http/wpt/crypto/aes-ctr-crash.any-expected.txt: Added.
1811         * http/wpt/crypto/aes-ctr-crash.any.html: Added.
1812         * http/wpt/crypto/aes-ctr-crash.any.js: Added.
1813         * http/wpt/crypto/aes-ctr-crash.any.worker-expected.txt: Added.
1814         * http/wpt/crypto/aes-ctr-crash.any.worker.html: Added.
1815         * http/wpt/crypto/aes-gcm-crash.any-expected.txt: Added.
1816         * http/wpt/crypto/aes-gcm-crash.any.html: Added.
1817         * http/wpt/crypto/aes-gcm-crash.any.js: Added.
1818         * http/wpt/crypto/aes-gcm-crash.any.worker-expected.txt: Added.
1819         * http/wpt/crypto/aes-gcm-crash.any.worker.html: Added.
1820         * http/wpt/crypto/derive-hmac-key-crash.any-expected.txt: Added.
1821         * http/wpt/crypto/derive-hmac-key-crash.any.html: Added.
1822         * http/wpt/crypto/derive-hmac-key-crash.any.js: Added.
1823         * http/wpt/crypto/derive-hmac-key-crash.any.worker-expected.txt: Added.
1824         * http/wpt/crypto/derive-hmac-key-crash.any.worker.html: Added.
1825         * http/wpt/crypto/ecdsa-crash.any-expected.txt: Added.
1826         * http/wpt/crypto/ecdsa-crash.any.html: Added.
1827         * http/wpt/crypto/ecdsa-crash.any.js: Added.
1828         * http/wpt/crypto/ecdsa-crash.any.worker-expected.txt: Added.
1829         * http/wpt/crypto/ecdsa-crash.any.worker.html: Added.
1830         * http/wpt/crypto/hkdf-crash.any-expected.txt: Added.
1831         * http/wpt/crypto/hkdf-crash.any.html: Added.
1832         * http/wpt/crypto/hkdf-crash.any.js: Added.
1833         * http/wpt/crypto/hkdf-crash.any.worker-expected.txt: Added.
1834         * http/wpt/crypto/hkdf-crash.any.worker.html: Added.
1835         * http/wpt/crypto/pbkdf2-crash.any-expected.txt: Added.
1836         * http/wpt/crypto/pbkdf2-crash.any.html: Added.
1837         * http/wpt/crypto/pbkdf2-crash.any.js: Added.
1838         * http/wpt/crypto/pbkdf2-crash.any.worker-expected.txt: Added.
1839         * http/wpt/crypto/pbkdf2-crash.any.worker.html: Added.
1840         * http/wpt/crypto/resources/common.js: Added.
1841         * http/wpt/crypto/rsa-oaep-crash.any-expected.txt: Added.
1842         * http/wpt/crypto/rsa-oaep-crash.any.html: Added.
1843         * http/wpt/crypto/rsa-oaep-crash.any.js: Added.
1844         * http/wpt/crypto/rsa-oaep-crash.any.worker-expected.txt: Added.
1845         * http/wpt/crypto/rsa-oaep-crash.any.worker.html: Added.
1846         * http/wpt/crypto/rsa-pss-crash.any-expected.txt: Added.
1847         * http/wpt/crypto/rsa-pss-crash.any.html: Added.
1848         * http/wpt/crypto/rsa-pss-crash.any.js: Added.
1849         * http/wpt/crypto/rsa-pss-crash.any.worker-expected.txt: Added.
1850         * http/wpt/crypto/rsa-pss-crash.any.worker.html: Added.
1851         * http/wpt/crypto/unwrap-ec-key-crash.any-expected.txt: Added.
1852         * http/wpt/crypto/unwrap-ec-key-crash.any.html: Added.
1853         * http/wpt/crypto/unwrap-ec-key-crash.any.js: Added.
1854         * http/wpt/crypto/unwrap-ec-key-crash.any.worker-expected.txt: Added.
1855         * http/wpt/crypto/unwrap-ec-key-crash.any.worker.html: Added.
1856         * http/wpt/crypto/unwrap-rsa-key-crash.any-expected.txt: Added.
1857         * http/wpt/crypto/unwrap-rsa-key-crash.any.html: Added.
1858         * http/wpt/crypto/unwrap-rsa-key-crash.any.js: Added.
1859         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker.html: Added.
1860         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker-expected.txt: Added.
1861
1862 2018-07-17  Ryan Haddad  <ryanhaddad@apple.com>
1863
1864         Unskip LayoutTest imported/w3c/web-platform-tests/css/css-display/display-contents-first-letter-002.html.
1865         https://bugs.webkit.org/show_bug.cgi?id=186901
1866
1867         Unreviewed test gardening.
1868
1869         * TestExpectations:
1870
1871 2018-07-17  Antoine Quint  <graouts@apple.com>
1872
1873         [Web Animations] Interpolation between lengths with an "auto" value should be discrete
1874         https://bugs.webkit.org/show_bug.cgi?id=187721
1875
1876         Reviewed by Dean Jackson.
1877
1878         Make two more tests opt into the new animation engine since they pass and they're not in the legacy-animation-engine directory.
1879         A third test now has some logging due to transitions not actually running, which is expected and correct.
1880
1881         * fast/animation/height-auto-transition-computed-value.html:
1882         * imported/blink/transitions/transition-not-interpolable.html:
1883         * legacy-animation-engine/transitions/transition-to-from-auto-expected.txt:
1884
1885 2018-07-17  John Wilander  <wilander@apple.com>
1886
1887         Add completion handlers to TestRunner functions setStatisticsLastSeen(), setStatisticsPrevalentResource(), setStatisticsVeryPrevalentResource(), setStatisticsHasHadUserInteraction(), and setStatisticsHasHadNonRecentUserInteraction()
1888         https://bugs.webkit.org/show_bug.cgi?id=187710
1889         <rdar://problem/42252757>
1890
1891         Reviewed by Chris Dumez.
1892
1893         These changes are to update all test cases that make use of
1894         TestRunner functions:
1895         - setStatisticsLastSeen(),
1896         - setStatisticsPrevalentResource(),
1897         - setStatisticsVeryPrevalentResource(),
1898         - setStatisticsHasHadUserInteraction(), and
1899         - setStatisticsHasHadNonRecentUserInteraction().
1900
1901         * http/tests/resourceLoadStatistics/add-blocking-to-redirect.html:
1902         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect.html:
1903         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html:
1904         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html:
1905         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html:
1906         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html:
1907         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html:
1908         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html:
1909         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion.html:
1910         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent.html:
1911         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html:
1912         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html:
1913         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html:
1914         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent.html:
1915         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to.html:
1916         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics.html:
1917         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html:
1918         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store.html:
1919         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect.html:
1920         * http/tests/resourceLoadStatistics/grandfathering.html:
1921         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html:
1922         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html:
1923         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context.html:
1924         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html:
1925         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt:
1926         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html:
1927         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:
1928         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown.html:
1929         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown.html:
1930         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html:
1931         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction.html:
1932         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction.html:
1933         * http/tests/resourceLoadStatistics/prune-statistics.html:
1934         * http/tests/resourceLoadStatistics/remove-blocking-in-redirect.html:
1935         * http/tests/resourceLoadStatistics/remove-partitioning-in-redirect.html:
1936         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects.html:
1937         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests.html:
1938         * http/tests/resourceLoadStatistics/telemetry-generation.html:
1939         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html:
1940         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html:
1941
1942 2018-07-17  Ryan Haddad  <ryanhaddad@apple.com>
1943
1944         Rebaseline displaylists/extent-includes-* tests for mac-wk1 after r233869.
1945         https://bugs.webkit.org/show_bug.cgi?id=187574
1946
1947         Unreviewed test gardening.
1948
1949         * platform/mac-wk1/displaylists/extent-includes-shadow-expected.txt:
1950         * platform/mac-wk1/displaylists/extent-includes-transforms-expected.txt:
1951
1952 2018-07-17  Dirk Schulze  <krit@webkit.org>
1953
1954         [clip-path] Implement support for margin-box as reference box and box shape
1955         https://bugs.webkit.org/show_bug.cgi?id=127984
1956
1957         Reviewed by Simon Fraser.
1958
1959         Compute the margin-box rectangle as needed for clip-path based on the actual
1960         computed values for the margin-top, *-left, *-bottom, *-right properties.
1961
1962         * css3/masking/clip-path-circle-margin-box-expected.html: Added.
1963         * css3/masking/clip-path-margin-box-expected.html: Added.
1964         * css3/masking/clip-path-margin-box.html: Added.
1965         * platform/mac/css3/masking/clip-path-circle-margin-box-expected.png: Removed.
1966         * platform/mac/css3/masking/clip-path-circle-margin-box-expected.txt: Removed.
1967
1968 2018-07-17  Javier Fernandez  <jfernandez@igalia.com>
1969
1970         Delete content of a single cell table should not delete the whole table
1971         https://bugs.webkit.org/show_bug.cgi?id=173117
1972
1973         Reviewed by Ryosuke Niwa.
1974
1975         Tests to verify that single-cell tables are not deleted when their
1976         last character is deleted, unless it was previously selected by
1977         the user.
1978
1979         Changes two expected files to adapt them to the new logic.
1980
1981         * LayoutTests/editing/deleting/deleting-relative-positioned-special-element-expected.txt: The paragraph is not deleted, even if it's empty. The paragraphs above are not merged, which was the goal of the test.
1982         * editing/deleting/delete-last-char-in-table-expected.txt: The table is not removed, even if it's empty. The formatted elements are deleted, which was the goal of the test.
1983         * editing/deleting/backspace-delete-last-char-in-table-expected.txt: Added.
1984         * editing/deleting/backspace-delete-last-char-in-table.html: Added.
1985         * editing/deleting/forward-delete-last-char-in-table-expected.txt: Added.
1986         * editing/deleting/forward-delete-last-char-in-table.html: Added.
1987         * editing/deleting/select-and-delete-last-char-in-table-expected.txt: Added.
1988         * editing/deleting/select-and-delete-last-char-in-table.html: Added.
1989
1990 2018-07-16  Simon Fraser  <simon.fraser@apple.com>
1991
1992         Roll out r233873 and r233875 since they caused 8 new layout test crashes.
1993
1994         * TestExpectations:
1995         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key-expected.txt: Removed.
1996         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html: Removed.
1997         * http/wpt/crypto/aes-cbc-crash.any-expected.txt: Removed.
1998         * http/wpt/crypto/aes-cbc-crash.any.html: Removed.
1999         * http/wpt/crypto/aes-cbc-crash.any.js: Removed.
2000         * http/wpt/crypto/aes-cbc-crash.any.worker-expected.txt: Removed.
2001         * http/wpt/crypto/aes-cbc-crash.any.worker.html: Removed.
2002         * http/wpt/crypto/aes-ctr-crash.any-expected.txt: Removed.
2003         * http/wpt/crypto/aes-ctr-crash.any.html: Removed.
2004         * http/wpt/crypto/aes-ctr-crash.any.js: Removed.
2005         * http/wpt/crypto/aes-ctr-crash.any.worker-expected.txt: Removed.
2006         * http/wpt/crypto/aes-ctr-crash.any.worker.html: Removed.
2007         * http/wpt/crypto/aes-gcm-crash.any-expected.txt: Removed.
2008         * http/wpt/crypto/aes-gcm-crash.any.html: Removed.
2009         * http/wpt/crypto/aes-gcm-crash.any.js: Removed.
2010         * http/wpt/crypto/aes-gcm-crash.any.worker-expected.txt: Removed.
2011         * http/wpt/crypto/aes-gcm-crash.any.worker.html: Removed.
2012         * http/wpt/crypto/derive-hmac-key-crash.any-expected.txt: Removed.
2013         * http/wpt/crypto/derive-hmac-key-crash.any.html: Removed.
2014         * http/wpt/crypto/derive-hmac-key-crash.any.js: Removed.
2015         * http/wpt/crypto/derive-hmac-key-crash.any.worker-expected.txt: Removed.
2016         * http/wpt/crypto/derive-hmac-key-crash.any.worker.html: Removed.
2017         * http/wpt/crypto/ecdsa-crash.any-expected.txt: Removed.
2018         * http/wpt/crypto/ecdsa-crash.any.html: Removed.
2019         * http/wpt/crypto/ecdsa-crash.any.js: Removed.
2020         * http/wpt/crypto/ecdsa-crash.any.worker-expected.txt: Removed.
2021         * http/wpt/crypto/ecdsa-crash.any.worker.html: Removed.
2022         * http/wpt/crypto/hkdf-crash.any-expected.txt: Removed.
2023         * http/wpt/crypto/hkdf-crash.any.html: Removed.
2024         * http/wpt/crypto/hkdf-crash.any.js: Removed.
2025         * http/wpt/crypto/hkdf-crash.any.worker-expected.txt: Removed.
2026         * http/wpt/crypto/hkdf-crash.any.worker.html: Removed.
2027         * http/wpt/crypto/pbkdf2-crash.any-expected.txt: Removed.
2028         * http/wpt/crypto/pbkdf2-crash.any.html: Removed.
2029         * http/wpt/crypto/pbkdf2-crash.any.js: Removed.
2030         * http/wpt/crypto/pbkdf2-crash.any.worker-expected.txt: Removed.
2031         * http/wpt/crypto/pbkdf2-crash.any.worker.html: Removed.
2032         * http/wpt/crypto/resources/common.js: Removed.
2033         * http/wpt/crypto/rsa-oaep-crash.any-expected.txt: Removed.
2034         * http/wpt/crypto/rsa-oaep-crash.any.html: Removed.
2035         * http/wpt/crypto/rsa-oaep-crash.any.js: Removed.
2036         * http/wpt/crypto/rsa-oaep-crash.any.worker-expected.txt: Removed.
2037         * http/wpt/crypto/rsa-oaep-crash.any.worker.html: Removed.
2038         * http/wpt/crypto/rsa-pss-crash.any-expected.txt: Removed.
2039         * http/wpt/crypto/rsa-pss-crash.any.html: Removed.
2040         * http/wpt/crypto/rsa-pss-crash.any.js: Removed.
2041         * http/wpt/crypto/rsa-pss-crash.any.worker-expected.txt: Removed.
2042         * http/wpt/crypto/rsa-pss-crash.any.worker.html: Removed.
2043         * http/wpt/crypto/unwrap-ec-key-crash.any-expected.txt: Removed.
2044         * http/wpt/crypto/unwrap-ec-key-crash.any.html: Removed.
2045         * http/wpt/crypto/unwrap-ec-key-crash.any.js: Removed.
2046         * http/wpt/crypto/unwrap-ec-key-crash.any.worker-expected.txt: Removed.
2047         * http/wpt/crypto/unwrap-ec-key-crash.any.worker.html: Removed.
2048         * http/wpt/crypto/unwrap-rsa-key-crash.any-expected.txt: Removed.
2049         * http/wpt/crypto/unwrap-rsa-key-crash.any.html: Removed.
2050         * http/wpt/crypto/unwrap-rsa-key-crash.any.js: Removed.
2051         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker-expected.txt: Removed.
2052         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker.html: Removed.
2053
2054 2018-07-16  Ryosuke Niwa  <rniwa@webkit.org>
2055
2056         [ WK2 ] Layout Test editing/selection/update-selection-by-style-change.html is flaky
2057         https://bugs.webkit.org/show_bug.cgi?id=187649
2058
2059         Reviewed by Wenson Hsieh.
2060
2061         Force update the selection before ending the test.
2062
2063         * editing/selection/update-selection-by-style-change.html:
2064
2065 2018-07-16  Simon Fraser  <simon.fraser@apple.com>
2066
2067         Add color filter for transforming colors in Dark Mode
2068         https://bugs.webkit.org/show_bug.cgi?id=187717
2069         rdar://problem/41146650
2070
2071         Reviewed by Dean Jackson.
2072
2073         * css3/color-filters/color-filter-apple-invert-lightness-expected.html: Added.
2074         * css3/color-filters/color-filter-apple-invert-lightness.html: Added.
2075         * css3/color-filters/color-filter-parsing-expected.txt:
2076         * css3/color-filters/color-filter-parsing.html:
2077
2078 2018-07-15  Jiewen Tan  <jiewen_tan@apple.com>
2079
2080         [WebCrypto] Crypto operations should copy their parameters before hoping to another thread
2081         https://bugs.webkit.org/show_bug.cgi?id=187501
2082         <rdar://problem/41438160>
2083
2084         Reviewed by Youenn Fablet.
2085
2086         crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html is an exception of this series of tests as
2087         it only aims to test the correct behavoir of suggested algorithms. This patch aslo does some test
2088         gardening.
2089
2090         * TestExpectations:
2091         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key-expected.txt: Added.
2092         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html: Added.
2093         * http/wpt/crypto/aes-cbc-crash.any-expected.txt: Added.
2094         * http/wpt/crypto/aes-cbc-crash.any.html: Added.
2095         * http/wpt/crypto/aes-cbc-crash.any.js: Added.
2096         * http/wpt/crypto/aes-cbc-crash.any.worker-expected.txt: Added.
2097         * http/wpt/crypto/aes-cbc-crash.any.worker.html: Added.
2098         * http/wpt/crypto/aes-ctr-crash.any-expected.txt: Added.
2099         * http/wpt/crypto/aes-ctr-crash.any.html: Added.
2100         * http/wpt/crypto/aes-ctr-crash.any.js: Added.
2101         * http/wpt/crypto/aes-ctr-crash.any.worker-expected.txt: Added.
2102         * http/wpt/crypto/aes-ctr-crash.any.worker.html: Added.
2103         * http/wpt/crypto/aes-gcm-crash.any-expected.txt: Added.
2104         * http/wpt/crypto/aes-gcm-crash.any.html: Added.
2105         * http/wpt/crypto/aes-gcm-crash.any.js: Added.
2106         * http/wpt/crypto/aes-gcm-crash.any.worker-expected.txt: Added.
2107         * http/wpt/crypto/aes-gcm-crash.any.worker.html: Added.
2108         * http/wpt/crypto/derive-hmac-key-crash.any-expected.txt: Added.
2109         * http/wpt/crypto/derive-hmac-key-crash.any.html: Added.
2110         * http/wpt/crypto/derive-hmac-key-crash.any.js: Added.
2111         * http/wpt/crypto/derive-hmac-key-crash.any.worker-expected.txt: Added.
2112         * http/wpt/crypto/derive-hmac-key-crash.any.worker.html: Added.
2113         * http/wpt/crypto/ecdsa-crash.any-expected.txt: Added.
2114         * http/wpt/crypto/ecdsa-crash.any.html: Added.
2115         * http/wpt/crypto/ecdsa-crash.any.js: Added.
2116         * http/wpt/crypto/ecdsa-crash.any.worker-expected.txt: Added.
2117         * http/wpt/crypto/ecdsa-crash.any.worker.html: Added.
2118         * http/wpt/crypto/hkdf-crash.any-expected.txt: Added.
2119         * http/wpt/crypto/hkdf-crash.any.html: Added.
2120         * http/wpt/crypto/hkdf-crash.any.js: Added.
2121         * http/wpt/crypto/hkdf-crash.any.worker-expected.txt: Added.
2122         * http/wpt/crypto/hkdf-crash.any.worker.html: Added.
2123         * http/wpt/crypto/pbkdf2-crash.any-expected.txt: Added.
2124         * http/wpt/crypto/pbkdf2-crash.any.html: Added.
2125         * http/wpt/crypto/pbkdf2-crash.any.js: Added.
2126         * http/wpt/crypto/pbkdf2-crash.any.worker-expected.txt: Added.
2127         * http/wpt/crypto/pbkdf2-crash.any.worker.html: Added.
2128         * http/wpt/crypto/resources/common.js: Added.
2129         * http/wpt/crypto/rsa-oaep-crash.any-expected.txt: Added.
2130         * http/wpt/crypto/rsa-oaep-crash.any.html: Added.
2131         * http/wpt/crypto/rsa-oaep-crash.any.js: Added.
2132         * http/wpt/crypto/rsa-oaep-crash.any.worker-expected.txt: Added.
2133         * http/wpt/crypto/rsa-oaep-crash.any.worker.html: Added.
2134         * http/wpt/crypto/rsa-pss-crash.any-expected.txt: Added.
2135         * http/wpt/crypto/rsa-pss-crash.any.html: Added.
2136         * http/wpt/crypto/rsa-pss-crash.any.js: Added.
2137         * http/wpt/crypto/rsa-pss-crash.any.worker-expected.txt: Added.
2138         * http/wpt/crypto/rsa-pss-crash.any.worker.html: Added.
2139         * http/wpt/crypto/unwrap-ec-key-crash.any-expected.txt: Added.
2140         * http/wpt/crypto/unwrap-ec-key-crash.any.html: Added.
2141         * http/wpt/crypto/unwrap-ec-key-crash.any.js: Added.
2142         * http/wpt/crypto/unwrap-ec-key-crash.any.worker-expected.txt: Added.
2143         * http/wpt/crypto/unwrap-ec-key-crash.any.worker.html: Added.
2144         * http/wpt/crypto/unwrap-rsa-key-crash.any-expected.txt: Added.
2145         * http/wpt/crypto/unwrap-rsa-key-crash.any.html: Added.
2146         * http/wpt/crypto/unwrap-rsa-key-crash.any.js: Added.
2147         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker.html: Added.
2148         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker-expected.txt: Added.
2149
2150 2018-07-16  Said Abou-Hallawa  <sabouhallawa@apple.com>
2151
2152         [iOS] When bringing MobileSafari to the foreground, images, which are pending decoding, won't be drawn into the immediate-paint transaction
2153         https://bugs.webkit.org/show_bug.cgi?id=187375
2154
2155         Reviewed by Simon Fraser.
2156
2157         The Internals API paintControlTints() is now renamed to invalidateControlTints()
2158         to be consistent with the new enum values and with the new name of the
2159         C++ function.
2160
2161         * fast/css/webkit-mask-crash-fieldset-legend.html:
2162         * fast/css/webkit-mask-crash-figure.html:
2163         * fast/css/webkit-mask-crash-table.html:
2164         * fast/css/webkit-mask-crash-td-2.html:
2165         * fast/css/webkit-mask-crash-td.html:
2166
2167 2018-07-16  Truitt Savell  <tsavell@apple.com>
2168
2169         [ MacOS WK1 Debug ] Layout Test svg/custom/linking-uri-01-b.svg is flakey
2170         https://bugs.webkit.org/show_bug.cgi?id=187711
2171
2172         Unreviewed test gardening.
2173
2174         * platform/mac-wk1/TestExpectations:
2175
2176 2018-07-16  David Fenton  <david_fenton@apple.com>
2177
2178         Unreviewed, rolling out r233867.
2179
2180         caused build failures on High Sierra, Sierra and iOS
2181
2182         Reverted changeset:
2183
2184         "[WebCrypto] Crypto operations should copy their parameters
2185         before hoping to another thread"
2186         https://bugs.webkit.org/show_bug.cgi?id=187501
2187         https://trac.webkit.org/changeset/233867
2188
2189 2018-07-15  Jiewen Tan  <jiewen_tan@apple.com>
2190
2191         [WebCrypto] Crypto operations should copy their parameters before hoping to another thread
2192         https://bugs.webkit.org/show_bug.cgi?id=187501
2193         <rdar://problem/41438160>
2194
2195         Reviewed by Youenn Fablet.
2196
2197         crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html is an exception of this series of tests as
2198         it only aims to test the correct behavoir of suggested algorithms. This patch aslo does some test
2199         gardening.
2200
2201         * TestExpectations:
2202         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key-expected.txt: Added.
2203         * crypto/subtle/aes-gcm-import-key-unwrap-ec-raw-key.html: Added.
2204         * http/wpt/crypto/aes-cbc-crash.any-expected.txt: Added.
2205         * http/wpt/crypto/aes-cbc-crash.any.html: Added.
2206         * http/wpt/crypto/aes-cbc-crash.any.js: Added.
2207         * http/wpt/crypto/aes-cbc-crash.any.worker-expected.txt: Added.
2208         * http/wpt/crypto/aes-cbc-crash.any.worker.html: Added.
2209         * http/wpt/crypto/aes-ctr-crash.any-expected.txt: Added.
2210         * http/wpt/crypto/aes-ctr-crash.any.html: Added.
2211         * http/wpt/crypto/aes-ctr-crash.any.js: Added.
2212         * http/wpt/crypto/aes-ctr-crash.any.worker-expected.txt: Added.
2213         * http/wpt/crypto/aes-ctr-crash.any.worker.html: Added.
2214         * http/wpt/crypto/aes-gcm-crash.any-expected.txt: Added.
2215         * http/wpt/crypto/aes-gcm-crash.any.html: Added.
2216         * http/wpt/crypto/aes-gcm-crash.any.js: Added.
2217         * http/wpt/crypto/aes-gcm-crash.any.worker-expected.txt: Added.
2218         * http/wpt/crypto/aes-gcm-crash.any.worker.html: Added.
2219         * http/wpt/crypto/derive-hmac-key-crash.any-expected.txt: Added.
2220         * http/wpt/crypto/derive-hmac-key-crash.any.html: Added.
2221         * http/wpt/crypto/derive-hmac-key-crash.any.js: Added.
2222         * http/wpt/crypto/derive-hmac-key-crash.any.worker-expected.txt: Added.
2223         * http/wpt/crypto/derive-hmac-key-crash.any.worker.html: Added.
2224         * http/wpt/crypto/ecdsa-crash.any-expected.txt: Added.
2225         * http/wpt/crypto/ecdsa-crash.any.html: Added.
2226         * http/wpt/crypto/ecdsa-crash.any.js: Added.
2227         * http/wpt/crypto/ecdsa-crash.any.worker-expected.txt: Added.
2228         * http/wpt/crypto/ecdsa-crash.any.worker.html: Added.
2229         * http/wpt/crypto/hkdf-crash.any-expected.txt: Added.
2230         * http/wpt/crypto/hkdf-crash.any.html: Added.
2231         * http/wpt/crypto/hkdf-crash.any.js: Added.
2232         * http/wpt/crypto/hkdf-crash.any.worker-expected.txt: Added.
2233         * http/wpt/crypto/hkdf-crash.any.worker.html: Added.
2234         * http/wpt/crypto/pbkdf2-crash.any-expected.txt: Added.
2235         * http/wpt/crypto/pbkdf2-crash.any.html: Added.
2236         * http/wpt/crypto/pbkdf2-crash.any.js: Added.
2237         * http/wpt/crypto/pbkdf2-crash.any.worker-expected.txt: Added.
2238         * http/wpt/crypto/pbkdf2-crash.any.worker.html: Added.
2239         * http/wpt/crypto/resources/common.js: Added.
2240         * http/wpt/crypto/rsa-oaep-crash.any-expected.txt: Added.
2241         * http/wpt/crypto/rsa-oaep-crash.any.html: Added.
2242         * http/wpt/crypto/rsa-oaep-crash.any.js: Added.
2243         * http/wpt/crypto/rsa-oaep-crash.any.worker-expected.txt: Added.
2244         * http/wpt/crypto/rsa-oaep-crash.any.worker.html: Added.
2245         * http/wpt/crypto/rsa-pss-crash.any-expected.txt: Added.
2246         * http/wpt/crypto/rsa-pss-crash.any.html: Added.
2247         * http/wpt/crypto/rsa-pss-crash.any.js: Added.
2248         * http/wpt/crypto/rsa-pss-crash.any.worker-expected.txt: Added.
2249         * http/wpt/crypto/rsa-pss-crash.any.worker.html: Added.
2250         * http/wpt/crypto/unwrap-ec-key-crash.any-expected.txt: Added.
2251         * http/wpt/crypto/unwrap-ec-key-crash.any.html: Added.
2252         * http/wpt/crypto/unwrap-ec-key-crash.any.js: Added.
2253         * http/wpt/crypto/unwrap-ec-key-crash.any.worker-expected.txt: Added.
2254         * http/wpt/crypto/unwrap-ec-key-crash.any.worker.html: Added.
2255         * http/wpt/crypto/unwrap-rsa-key-crash.any-expected.txt: Added.
2256         * http/wpt/crypto/unwrap-rsa-key-crash.any.html: Added.
2257         * http/wpt/crypto/unwrap-rsa-key-crash.any.js: Added.
2258         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker.html: Added.
2259         * http/wpt/crypto/unwrap-rsa-key-crash.any.worker-expected.txt: Added.
2260
2261 2018-07-16  Aditya Keerthi  <akeerthi@apple.com>
2262
2263         [Datalist][macOS] Add suggestions UI for TextFieldInputTypes
2264         https://bugs.webkit.org/show_bug.cgi?id=186531
2265
2266         Reviewed by Tim Horton.
2267
2268         Added tests to verify that the suggestions are correctly shown and hidden, and that
2269         suggestions can be selected and inserted into an input field.
2270
2271         * fast/forms/datalist/datalist-show-hide-expected.txt: Added.
2272         * fast/forms/datalist/datalist-show-hide.html: Added.
2273         * fast/forms/datalist/datalist-textinput-keydown-expected.txt: Added.
2274         * fast/forms/datalist/datalist-textinput-keydown.html: Added.
2275         * platform/ios/TestExpectations:
2276         * resources/ui-helper.js:
2277         (window.UIHelper.isShowingDataListSuggestions):
2278
2279 2018-07-16  Jeremy Jones  <jeremyj@apple.com>
2280
2281         Fullscreen requires active document.
2282         https://bugs.webkit.org/show_bug.cgi?id=186226
2283         rdar://problem/36187413
2284
2285         Reviewed by Jer Noble.
2286
2287         This change guarantees the document to be visible for both element fullscreen and video fullscreen.
2288
2289         User gesture is not enough to guarantee that the document is visible when fullscreen is initiated
2290         because JavaScript can spin wait before initiating fullscreen. During that spin the page or window might
2291         be hidden.
2292
2293         Document::hidden() can't be relied upon because it won't update while JavaScript spins.
2294
2295         This change adds a sync call to the UI process to get the current UI visibility state.
2296
2297         * media/no-fullscreen-when-hidden.html: Added.
2298         * media/video-test.js:
2299         (eventName.string_appeared_here.thunk):
2300         (runWithKeyDown):
2301         * platform/ios-wk1/TestExpectations:
2302         * platform/mac-wk1/TestExpectations:
2303
2304 2018-07-16  Aaron Chu  <aaron_chu@apple.com>
2305
2306         AX: Audit Tab should have an Audit Manager
2307         https://bugs.webkit.org/show_bug.cgi?id=184071
2308         <rdar://problem/38946364>
2309
2310         Reviewed by Brian Burg.
2311
2312         Test cases for AuditManager, AuditTestCase, AuditTestSuite, AuditResult and AuditReport.
2313
2314         * inspector/audit/audit-manager-expected.txt: Added.
2315         * inspector/audit/audit-manager.html: Added.
2316         * inspector/audit/audit-report-expected.txt: Added.
2317         * inspector/audit/audit-report.html: Added.
2318         * inspector/audit/audit-test-case-expected.txt: Added.
2319         * inspector/audit/audit-test-case.html: Added.
2320         * inspector/audit/audit-test-suite-expected.txt: Added.
2321         * inspector/audit/audit-test-suite.html: Added.
2322         * inspector/audit/resources/audit-test-fixtures.js: Added.
2323         (TestPage.registerInitializer.window.testSuiteFixture1):
2324         (TestPage.registerInitializer.window.testSuiteFixture1.testCaseDescriptors):
2325         (TestPage.registerInitializer.window.testSuiteFixture2):
2326         (TestPage.registerInitializer.window.testSuiteFixture2.testCaseDescriptors):
2327         (TestPage.registerInitializer):
2328
2329 2018-07-16  Truitt Savell  <tsavell@apple.com>
2330
2331         [ iOS ] Layout Test fast/forms/submit-change-fragment.html is a flaky Timeout
2332         https://bugs.webkit.org/show_bug.cgi?id=187699
2333
2334         Unreviewed test gardening.
2335
2336         * platform/ios-simulator-wk2/TestExpectations:
2337
2338 2018-07-16  Truitt Savell  <tsavell@apple.com>
2339
2340         [ EWS ] http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-audio.html is Crashing on Win-EWS
2341         https://bugs.webkit.org/show_bug.cgi?id=187700
2342
2343         Unreviewed test gardening.
2344
2345         * platform/win/TestExpectations:
2346
2347 2018-07-14  Dirk Schulze  <krit@webkit.org>
2348
2349         [css-masking] Fully support -webkit-clip-path on SVG elements
2350         https://bugs.webkit.org/show_bug.cgi?id=185829
2351
2352         Reviewed by Simon Fraser.
2353
2354         Test -webkit-clip-path element references on SVG elements. Make sure, -webkit-clip-path
2355         contributes to hit testing for element references and basic shapes.
2356
2357         * svg/clip-path/webkit-clip-path-after-expected.svg: Added.
2358         * svg/clip-path/webkit-clip-path-after.svg: Added.
2359         * svg/clip-path/webkit-clip-path-before-expected.svg: Added.
2360         * svg/clip-path/webkit-clip-path-before.svg: Added.
2361         * svg/dynamic-updates/SVGClipPath-prefixed-influences-hitTesting-expected.txt: Added.
2362         * svg/dynamic-updates/SVGClipPath-prefixed-influences-hitTesting.html: Added.
2363         * svg/dynamic-updates/SVGClipPath-prefixed-path-influences-hitTesting-expected.txt: Added.
2364         * svg/dynamic-updates/SVGClipPath-prefixed-path-influences-hitTesting.html: Added.
2365         * svg/dynamic-updates/SVGClipPathElement-prefixed-css-transform-influences-hitTesting-expected.txt: Added.
2366         * svg/dynamic-updates/SVGClipPathElement-prefixed-css-transform-influences-hitTesting.html: Added.
2367         * svg/dynamic-updates/SVGClipPathElement-prefixed-transform-influences-hitTesting-expected.txt: Added.
2368         * svg/dynamic-updates/SVGClipPathElement-prefixed-transform-influences-hitTesting.html: Added.
2369
2370 2018-07-13  Ryan Haddad  <ryanhaddad@apple.com>
2371
2372         Add TestExpectations and baselines for iOS 12
2373         https://bugs.webkit.org/show_bug.cgi?id=187628
2374
2375         Reviewed by Alexey Proskuryakov.
2376
2377         * platform/ios-12/TestExpectations: Added.
2378
2379 2018-07-13  Ryan Haddad  <ryanhaddad@apple.com>
2380
2381         Add TestExpectations and baselines for Mojave.
2382         https://bugs.webkit.org/show_bug.cgi?id=187620
2383
2384         Reviewed by Alexey Proskuryakov.
2385
2386         * platform/mac/TestExpectations:
2387
2388 2018-07-13  John Wilander  <wilander@apple.com>
2389
2390         Flesh out WebSocket cookie tests to cover cookie policy for third-party resources
2391         https://bugs.webkit.org/show_bug.cgi?id=187541
2392         <rdar://problem/42048729>
2393
2394         Reviewed by Alex Christensen.
2395
2396         * http/tests/cookies/resources/cookie-utilities.js:
2397             Added a function for setting a cookie in a WebSocket handshake.
2398         * http/tests/websocket/tests/hybi/cookie_wsh.py:
2399         (web_socket_do_extra_handshake):
2400             Now sets the root path for new cookies so that they can be seen by
2401             for example cookies/resources/echo-cookies.php.
2402         * http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-expected.txt: Added.
2403         * http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party.html: Added.
2404         * http/tests/websocket/tests/hybi/websocket-blocked-from-setting-cookie-as-third-party-expected.txt: Added.
2405         * http/tests/websocket/tests/hybi/websocket-blocked-from-setting-cookie-as-third-party.html: Added.
2406         * http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior-expected.txt:
2407         * http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html:
2408             Now tests under the condition where localhost as third-party is
2409             allowed to set a new cookie as third party. It also makes sure to use
2410             cookies with the path set to the root so that all cookies are visible.
2411
2412 2018-07-13  Youenn Fablet  <youenn@apple.com>
2413
2414         Support connecting a MediaStreamAudioDestinationNode to RTCPeerConnection
2415         https://bugs.webkit.org/show_bug.cgi?id=187627
2416         <rdar://problem/35334400>
2417
2418         Reviewed by Jer Noble.
2419
2420         * webrtc/peer-connection-createMediaStreamDestination-expected.txt: Added.
2421         * webrtc/peer-connection-createMediaStreamDestination.html: Added.
2422
2423 2018-07-13  Truitt Savell  <tsavell@apple.com>
2424
2425         [ MacOS WK1 ] Layout Tests in media/media-fragments/ are flaky
2426         https://bugs.webkit.org/show_bug.cgi?id=187557
2427
2428         Unreviewed test gardening.
2429
2430         * platform/mac-wk1/TestExpectations:
2431
2432 2018-07-13  Truitt Savell  <tsavell@apple.com>
2433
2434         [ WK2 ] Layout Test editing/selection/update-selection-by-style-change.html is flaky
2435         https://bugs.webkit.org/show_bug.cgi?id=187649
2436
2437         Unreviewed test gardening.
2438
2439         * platform/mac-wk2/TestExpectations:
2440
2441 2018-07-13  Truitt Savell  <tsavell@apple.com>
2442
2443         [ MacOS Debug ] Layout Test inspector/view/asynchronous-layout.html is a Flaky Timeout
2444         https://bugs.webkit.org/show_bug.cgi?id=187622
2445
2446         Unreviewed test gardening.
2447
2448         * platform/mac/TestExpectations:
2449
2450 2018-07-12  Youenn Fablet  <youenn@apple.com>
2451
2452         Add a FrameLoaderClient willInjectUserScriptForFrame callback
2453         https://bugs.webkit.org/show_bug.cgi?id=187565
2454
2455         Reviewed by Alex Christensen.
2456
2457         * http/tests/contentextensions/injected-script-callback-expected.txt: Added.
2458         * http/tests/contentextensions/injected-script-callback.html: Added.
2459
2460 2018-07-11  Ross Kirsling  <ross.kirsling@sony.com>
2461
2462         UTF-16 XHTML files need svn:mime-type to be handled correctly by Windows SVN
2463         https://bugs.webkit.org/show_bug.cgi?id=187571
2464
2465         Reviewed by Alex Christensen.
2466
2467         * dom/xhtml/level3/core/documentgetinputencoding03.xhtml:
2468         * dom/xhtml/level3/core/entitygetinputencoding02.xhtml:
2469         * dom/xhtml/level3/core/entitygetxmlversion02.xhtml:
2470         * dom/xhtml/level3/core/external_foo.ent:
2471         Added property svn:mime-type and removed property svn:eol-style (to align with documentgetxmlencoding03.xhtml).
2472
2473 2018-07-12  Miguel Gomez  <magomez@igalia.com>
2474
2475         Unreviewed GTK+ and WPE gardening after r233765.
2476
2477         * platform/gtk/TestExpectations:
2478         * platform/wpe/TestExpectations:
2479
2480 2018-07-12  Zalan Bujtas  <zalan@apple.com>
2481
2482         Newly added float should trigger full layout on the block.
2483         https://bugs.webkit.org/show_bug.cgi?id=187251
2484         <rdar://problem/41726137>
2485
2486         Reviewed by David Kilzer.
2487
2488         * fast/inline/new-float-needs-layout-when-line-is-dirty-expected.txt: Added.
2489         * fast/inline/new-float-needs-layout-when-line-is-dirty.html: Added.
2490
2491 2018-07-11  Youenn Fablet  <youenn@apple.com>
2492
2493         MediaDevices should derive from EventTarget in its IDL
2494         https://bugs.webkit.org/show_bug.cgi?id=187575
2495
2496         Reviewed by Chris Dumez.
2497
2498         * fast/mediastream/MediaDevices-addEventListener-expected.txt: Added.
2499         * fast/mediastream/MediaDevices-addEventListener.html: Added.
2500
2501 2018-07-11  Ryosuke Niwa  <rniwa@webkit.org>
2502
2503         Layout Test editing/selection/navigation-clears-editor-state.html is flaky
2504         https://bugs.webkit.org/show_bug.cgi?id=187389
2505
2506         Reviewed by Wenson Hsieh.
2507
2508         Use 200 iterations like we did before r233701 and mark it as SLOW.
2509
2510         * TestExpectations:
2511         * editing/selection/navigation-clears-editor-state.html:
2512
2513 2018-07-11  Aditya Keerthi  <akeerthi@apple.com>
2514
2515         REGRESSION (231276): Attempting to copy an image fails
2516         https://bugs.webkit.org/show_bug.cgi?id=187212
2517         <rdar://problem/41540074>
2518
2519         Reviewed by Ryosuke Niwa.
2520
2521         Added test to ensure that we can copy a URL without a title, and the URL's
2522         lastPathComponent appears like a file URL.
2523
2524         * editing/mac/pasteboard/can-copy-url-without-title-expected.txt: Added.
2525         * editing/mac/pasteboard/can-copy-url-without-title.html: Added.
2526         * platform/mac-wk1/TestExpectations: The added test is WK2-only due to webkit.org/b/187230.
2527
2528 2018-07-11  Ross Kirsling  <ross.kirsling@sony.com>
2529
2530         [WinCairo] Unreviewed test gardening.
2531
2532         * platform/wincairo/TestExpectations:
2533
2534 2018-07-11  Truitt Savell  <tsavell@apple.com>
2535
2536         Layout Test media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter.html is flaky
2537         https://bugs.webkit.org/show_bug.cgi?id=187420
2538
2539         Unreviewed test gardening.
2540
2541         * platform/mac/TestExpectations:
2542
2543 2018-07-11  Youenn Fablet  <youenn@apple.com>
2544
2545         Fix remaining Cross-Origin-Resource-Policy failures, if any
2546         https://bugs.webkit.org/show_bug.cgi?id=186761
2547         <rdar://problem/41209829>
2548
2549         Reviewed by Alex Christensen.
2550
2551         Remove redundant tests with WPT.
2552
2553         * http/wpt/cross-origin-resource-policy/fetch-expected.txt: Removed.
2554         * http/wpt/cross-origin-resource-policy/fetch-in-iframe-expected.txt: Removed.
2555         * http/wpt/cross-origin-resource-policy/fetch-in-iframe.html: Removed.
2556         * http/wpt/cross-origin-resource-policy/fetch.html: Removed.
2557         * http/wpt/cross-origin-resource-policy/iframe-loads-expected.txt: Removed.
2558         * http/wpt/cross-origin-resource-policy/iframe-loads.html: Removed.
2559         * http/wpt/cross-origin-resource-policy/image-loads-expected.txt: Removed.
2560         * http/wpt/cross-origin-resource-policy/image-loads.html: Removed.
2561         * http/wpt/cross-origin-resource-policy/resources/hello.py: Removed.
2562         * http/wpt/cross-origin-resource-policy/resources/iframe.py: Removed.
2563         * http/wpt/cross-origin-resource-policy/resources/iframeFetch.html: Removed.
2564         * http/wpt/cross-origin-resource-policy/resources/redirect.py: Removed.
2565         * http/wpt/cross-origin-resource-policy/resources/script.py: Removed.
2566         * http/wpt/cross-origin-resource-policy/script-loads-expected.txt: Removed.
2567         * http/wpt/cross-origin-resource-policy/script-loads.html: Removed.
2568
2569 2018-07-11  Jer Noble  <jer.noble@apple.com>
2570
2571         Disable all network caching for HLS streams.
2572         https://bugs.webkit.org/show_bug.cgi?id=187544
2573         <rdar://problem/41863600>
2574
2575         Reviewed by Chris Dumez.
2576
2577         * http/tests/cache/disk-cache/disk-cache-media-small-expected.txt:
2578         * http/tests/cache/disk-cache/disk-cache-media-small.html:
2579
2580 2018-07-11  Ms2ger  <Ms2ger@igalia.com>
2581
2582         [GTK] Unreviewed test gardening
2583         https://bugs.webkit.org/show_bug.cgi?id=187551
2584
2585         Unreviewed gardening.
2586
2587         * platform/gtk/TestExpectations: Mark new test as failing: it depends on mac-only code.
2588
2589 2018-07-10  Youenn Fablet  <youenn@apple.com>
2590
2591         Make fetch() use "same-origin" credentials by default
2592         https://bugs.webkit.org/show_bug.cgi?id=176023
2593
2594         Reviewed by Chris Dumez.
2595
2596         Resource timing does not work properly on WK1 when stopping fetch/XHR load to restart it without credentials.
2597         Updated expected results accordingly.
2598
2599         * http/tests/inspector/network/resource-mime-type.html:
2600         Update resource-mime-type.html to ensure we go to the network for every load.
2601         * http/wpt/resource-timing/rt-cors.js:
2602         (assertRedirectWithDisallowedTimingData):
2603         Updated test according https://www.w3.org/TR/resource-timing-1/#performanceresourcetiming.
2604         * platform/mac-wk1/http/wpt/resource-timing/rt-cors-expected.txt: Added.
2605         * platform/mac-wk1/http/wpt/resource-timing/rt-cors.worker-expected.txt: Added.
2606         * platform/win/http/wpt/resource-timing/rt-cors-expected.txt: Added.
2607         * platform/win/http/wpt/resource-timing/rt-cors.worker-expected.txt: Added.
2608
2609 2018-07-10  Saam Barati  <sbarati@apple.com>
2610
2611         Layout Test editing/selection/navigation-clears-editor-state.html is flaky
2612         https://bugs.webkit.org/show_bug.cgi?id=187389
2613         <rdar://problem/41898822>
2614
2615         Rubber-stamped by Ryosuke Niwa.
2616
2617         Make this test less susceptible to timing out on debug builds by:
2618         - lowering the number of iframes we add by a factor of two
2619         - removing the tests own internal 18 second timeout
2620
2621         * editing/selection/navigation-clears-editor-state.html:
2622
2623 2018-07-10  Zalan Bujtas  <zalan@apple.com>
2624
2625         FragmentInterval, FragmentIntervalTree and FragmentSearchAdapter should hold not hold raw pointers to renderers.
2626         https://bugs.webkit.org/show_bug.cgi?id=187249
2627         <rdar://problem/41725869>
2628
2629         Reviewed by Simon Fraser.
2630
2631         * fast/multicol/crash-in-vertical-writing-mode-expected.txt: Added.
2632         * fast/multicol/crash-in-vertical-writing-mode.html: Added.
2633
2634 2018-07-10  John Wilander  <wilander@apple.com>
2635
2636         Resource Load Statistics: Make testRunner.statisticsResetToConsistentState() take a completion handler
2637         https://bugs.webkit.org/show_bug.cgi?id=187499
2638         <rdar://problem/41999431>
2639
2640         Reviewed by Chris Dumez.
2641
2642         These changes are to adopt and make use of the new completion handler in
2643         testRunner.statisticsResetToConsistentState().
2644
2645         * http/tests/resourceLoadStatistics/add-blocking-to-redirect.html:
2646         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect.html:
2647         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html:
2648         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html:
2649         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html:
2650         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html:
2651         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html:
2652         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html:
2653         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion.html:
2654         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent.html:
2655         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html:
2656         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html:
2657         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html:
2658         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent.html:
2659         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to.html:
2660         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics.html:
2661         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html:
2662         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store.html:
2663         * http/tests/resourceLoadStatistics/grandfathering.html:
2664         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html:
2665         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html:
2666         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context.html:
2667         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
2668         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
2669         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
2670         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
2671         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
2672         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
2673         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html:
2674         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt:
2675         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html:
2676         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:
2677         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown.html:
2678         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown.html:
2679         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html:
2680         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction.html:
2681         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction.html:
2682         * http/tests/resourceLoadStatistics/prune-statistics.html:
2683         * http/tests/resourceLoadStatistics/remove-blocking-in-redirect.html:
2684         * http/tests/resourceLoadStatistics/remove-partitioning-in-redirect.html:
2685         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
2686         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
2687         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
2688         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
2689         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
2690         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
2691         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects.html:
2692         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests.html:
2693         * http/tests/resourceLoadStatistics/telemetry-generation.html:
2694         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html:
2695         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html:
2696         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html:
2697         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html:
2698
2699 2018-07-10  Truitt Savell  <tsavell@apple.com>
2700
2701         [ MacOS Debug ] Layout Test media/media-fragments/TC0015.html is flaky
2702         https://bugs.webkit.org/show_bug.cgi?id=187522
2703
2704         Unreviewed test gardening.
2705
2706         * platform/mac-wk1/TestExpectations:
2707
2708 2018-07-09  Dean Jackson  <dino@apple.com>
2709
2710         Remove fullscreen-auto-hide-delay
2711         https://bugs.webkit.org/show_bug.cgi?id=187493
2712         <rdar://problem/41830852>
2713
2714         Reviewed by Antoine Quint.
2715
2716         Update the existing test that partially used the delay, and remove the ones that
2717         used only the delay.
2718
2719         * fullscreen/fullscreen-auto-hide-delay-expected.txt: Removed.
2720         * fullscreen/fullscreen-auto-hide-delay.html: Removed.
2721         * fullscreen/fullscreen-env-expected.txt:
2722         * fullscreen/fullscreen-env.html:
2723         * legacy-animation-engine/fullscreen/fullscreen-auto-hide-delay-expected.txt: Removed.
2724         * legacy-animation-engine/fullscreen/fullscreen-auto-hide-delay.html: Removed.
2725
2726 2018-07-09  Truitt Savell  <tsavell@apple.com>
2727
2728         Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/update-after-navigation-fetch-event.https.html is flaky
2729         https://bugs.webkit.org/show_bug.cgi?id=187484
2730
2731         Unreviewed test gardening.
2732
2733         * platform/mac/TestExpectations:
2734
2735 2018-07-09  Truitt Savell  <tsavell@apple.com>
2736
2737         [macOS] Layout Test fast/hidpi/filters-and-image-buffer-resolution.html is flaky, but no longer Flaky on [iOS]
2738         https://bugs.webkit.org/show_bug.cgi?id=187491
2739
2740         Unreviewed test gardening
2741
2742         * platform/ios-wk2/TestExpectations:
2743         * platform/mac/TestExpectations:
2744
2745 2018-07-09  Brady Eidson  <beidson@apple.com>
2746
2747         Continued unreviewed hacking on this test because that's my full time job now.
2748
2749         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
2750
2751 2018-07-09  Brady Eidson  <beidson@apple.com>
2752
2753         This test is *still* flaky. This unreviewed patch is my attempt to make it less so.
2754
2755         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
2756
2757 2018-07-09  Brian Burg  <bburg@apple.com>
2758
2759         REGRESSION: Web Inspector no longer pauses in internal injected scripts like WDFindNodes.js
2760         https://bugs.webkit.org/show_bug.cgi?id=187350
2761         <rdar://problem/41728249>
2762
2763         Reviewed by Matt Baker.
2764
2765         Add a new test to demonstrate a difference in behavior when Debugger.setPauseForInternalScripts(true)
2766         is sent to the backend. There's no way to correctly stringify the current call frame when stepping into
2767         console.log because the injected script was blackboxed at the time that the scripts were parsed.
2768         Instead, the stepping output just shows that the debugger is paused somewhere inside console.log.
2769
2770         * inspector/debugger/pause-for-internal-scripts-expected.txt: Added.
2771         * inspector/debugger/pause-for-internal-scripts.html: Added.
2772         * inspector/debugger/resources/log-pause-location.js:
2773         (TestPage.registerInitializer.window.addSteppingTestCase):
2774         (TestPage.registerInitializer):
2775
2776 2018-07-09  Truitt Savell  <tsavell@apple.com>
2777
2778         Layout Test media/video-background-playback.html is flaky
2779         https://bugs.webkit.org/show_bug.cgi?id=187476
2780
2781         Unreviewed test gardening.
2782
2783         * platform/mac/TestExpectations:
2784
2785 2018-07-09  Ryan Haddad  <ryanhaddad@apple.com>
2786
2787         Mark animations/needs-layout.html as flaky on iOS.
2788         https://bugs.webkit.org/show_bug.cgi?id=187388
2789
2790         Unreviewed test gardening.
2791
2792         * platform/ios-wk2/TestExpectations:
2793
2794 2018-07-08  David Kilzer  <ddkilzer@apple.com>
2795
2796         DOMMatrix.invertSelf() returns garbage values for a non-invertible matrix
2797         <https://webkit.org/b/187446>
2798         <rdar://problem/41853187>
2799
2800         Reviewed by Daniel Bates.
2801
2802         * http/wpt/css/geometry/DOMMatrix-invertSelf-expected.txt: Add.
2803         * http/wpt/css/geometry/DOMMatrix-invertSelf.html: Add.
2804         * http/wpt/css/geometry/support/dommatrix-test-util.js: Copy from
2805           LayoutTests/imported/w3c/web-platform-tests/css/geometry/support/dommatrix-test-util.js.
2806
2807 2018-07-06  Nan Wang  <n_wang@apple.com>
2808
2809         AX: add a subrole for meter elements on macOS
2810         https://bugs.webkit.org/show_bug.cgi?id=187409
2811         <rdar://problem/41905702>
2812
2813         Reviewed by Chris Fleizach.
2814
2815         * accessibility/mac/meter-subrole-expected.txt: Added.
2816         * accessibility/mac/meter-subrole.html: Added.
2817         * platform/mac/accessibility/roles-exposed-expected.txt:
2818
2819 2018-07-06  Youenn Fablet  <youenn@apple.com>
2820
2821         WebRTC MediaStreamTrack Enable / Disable causes video delay / lag
2822         https://bugs.webkit.org/show_bug.cgi?id=186889
2823         <rdar://problem/41370285>
2824
2825         Reviewed by Eric Carlson.
2826
2827         Test is no longer valid since we are now sending 0 bytes for audio tracks.
2828
2829         * webrtc/audio-muted-stats2-expected.txt: Removed.
2830         * webrtc/audio-muted-stats2.html: Removed.
2831
2832 2018-07-06  Ryan Haddad  <ryanhaddad@apple.com>
2833
2834         Skip imported/w3c/web-platform-tests/infrastructure/assumptions/html-elements.html on debug.
2835         https://bugs.webkit.org/show_bug.cgi?id=187093
2836
2837         Unreviewed test gardening.
2838
2839         * TestExpectations:
2840
2841 2018-07-06  Brady Eidson  <beidson@apple.com>
2842
2843         This test is flaky. This unreviewed patch is my attempt to make it less so.
2844
2845         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
2846
2847 2018-07-06  David Fenton  <david_fenton@apple.com>
2848
2849         Layout Test imported/w3c/web-platform-tests/IndexedDB/interfaces.any.worker.html is flaky.
2850         https://bugs.webkit.org/show_bug.cgi?id=187372
2851
2852         Unreviewed test gardening.
2853
2854         Added [ Slow ] to the existing [ Pass Timeout ] expectation.
2855
2856         * platform/mac-wk1/TestExpectations:
2857
2858 2018-07-06  Ryan Haddad  <ryanhaddad@apple.com>
2859
2860         Rebaseline accessibility/ios-simulator/strong-password-field.html after r233578.
2861
2862         Unreviewed test gardening.
2863
2864         * accessibility/ios-simulator/strong-password-field-expected.txt:
2865
2866 2018-07-06  David Fenton  <david_fenton@apple.com>
2867
2868         Layout Test imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.any.worker.html is flaky timeout.
2869         https://bugs.webkit.org/show_bug.cgi?id=187408
2870
2871         Unreviewed test gardening.
2872
2873         * platform/mac/TestExpectations:
2874
2875 2018-07-06  Antoine Quint  <graouts@apple.com>
2876
2877         [Web Animations] Using a Web Animation leaks the Document
2878         https://bugs.webkit.org/show_bug.cgi?id=187088
2879         <rdar://problem/41392046>
2880
2881         Reviewed by Darin Adler.
2882
2883         * webanimations/leak-document-with-web-animation-expected.txt: Added.
2884         * webanimations/leak-document-with-web-animation.html: Added.
2885         * webanimations/resources/web-animation-leak-iframe.html: Added.
2886
2887 2018-07-06  Saam Barati  <sbarati@apple.com>
2888
2889         Layout Test editing/selection/navigation-clears-editor-state.html is flaky
2890         https://bugs.webkit.org/show_bug.cgi?id=187389
2891
2892         Reviewed by Mark Lam.
2893
2894         * editing/selection/navigation-clears-editor-state.html:
2895         Make the test's internal time out mechanism longer since
2896         it's being hit on the bots.
2897
2898 2018-07-06  Nan Wang  <n_wang@apple.com>
2899
2900         AX: setValue on text controls should send out key events
2901         https://bugs.webkit.org/show_bug.cgi?id=186690
2902         <rdar://problem/41169985>
2903
2904         Reviewed by Chris Fleizach.
2905
2906         Editor's clearText function will also dispatch the InputEvent. In the test, 
2907         we need to make sure each test case finishes handling all the input events
2908         before moving to the next test case.
2909
2910         * accessibility/mac/set-value-editable-dispatch-events-expected.txt:
2911         * accessibility/mac/set-value-editable-dispatch-events.html:
2912
2913 2018-07-06  Truitt Savell  <tsavell@apple.com>
2914
2915         Layout Test imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-origin.sub.html is flaky
2916         https://bugs.webkit.org/show_bug.cgi?id=187393
2917
2918         Unreviewed test gardening.
2919
2920         * TestExpectations:
2921
2922 2018-07-06  Daniel Bates  <dabates@apple.com>
2923
2924         Remove Strong Confirmation Password button
2925         https://bugs.webkit.org/show_bug.cgi?id=187306
2926         <rdar://problem/41795185>
2927
2928         Reviewed by Sam Weinig.
2929
2930         Remove support for the Strong Confirmation Password button because we never made use of it.
2931
2932         * accessibility/ios-simulator/strong-password-field-expected.txt:
2933         * accessibility/ios-simulator/strong-password-field.html:
2934         * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes-expected.html:
2935         * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes.html:
2936         * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes-expected.html:
2937         * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes.html:
2938         * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset-expected.html:
2939         * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset.html:
2940         * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes-expected.html:
2941         * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes.html:
2942         * fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes-expected.html:
2943         * fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes.html:
2944         * fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button-expected.html: Removed.
2945         * fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button.html: Removed.
2946         * fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button-expected.html: Removed.
2947         * fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button.html: Removed.
2948         * fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html:
2949         * fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons.html:
2950         * fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html:
2951         * fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons.html:
2952         * fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button.html: Removed.
2953         * fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt:
2954         * fast/forms/auto-fill-button/last-auto-fill-button-type.html:
2955         * platform/gtk/TestExpectations:
2956         * platform/gtk/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed.
2957         * platform/ios/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed.
2958         * platform/mac/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed.
2959         * platform/win/TestExpectations:
2960         * platform/win/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed.
2961         * platform/wincairo/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed.
2962
2963 2018-07-05  Carlos Garcia Campos  <cgarcia@igalia.com>
2964
2965         Unreviewed GTK gardening. Remove platform expectations for imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-no-browsing-context.html
2966
2967         Since r233512 we are getting the same results as other ports.
2968
2969         * platform/gtk/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-no-browsing-context-expected.txt: Removed.
2970
2971 2018-07-05  Youenn Fablet  <youenn@apple.com>
2972
2973         REGRESSION (r230843): Flash doesn't work; Produces blue box on page
2974         https://bugs.webkit.org/show_bug.cgi?id=187346
2975         <rdar://problem/41773974>
2976
2977         Reviewed by Ryosuke Niwa.
2978
2979         Skip new test on WK1 since it does not have the ability to block plugins.
2980
2981         * http/tests/plugins/plugin-allow-then-reload-expected.txt: Added.
2982         * http/tests/plugins/plugin-allow-then-reload.html: Added.
2983         * platform/mac-wk1/TestExpectations:
2984
2985 2018-07-05  Brady Eidson  <beidson@apple.com>
2986
2987         IndexedDB operations in a Page fail after a StorageProcess crash.
2988         <rdar://problem/41626526> and https://bugs.webkit.org/show_bug.cgi?id=187123
2989
2990         Reviewed by Alex Christensen.
2991
2992         * storage/indexeddb/modern/opendatabase-after-storage-crash.html: Added.
2993
2994 2018-07-05  Ryosuke Niwa  <rniwa@webkit.org>
2995
2996         Youtube video pages crash after a couple of minutes
2997         https://bugs.webkit.org/show_bug.cgi?id=187316
2998
2999         Reviewed by Antti Koivisto.
3000
3001         Added a regression test to remove an iframe with a video while there is a main content
3002         which is eligible to be shown in the Touch Bar.
3003
3004         * media/remove-video-best-media-element-in-main-frame-crash-expected.txt: Added.
3005         * media/remove-video-best-media-element-in-main-frame-crash.html: Added.
3006
3007 2018-07-05  Fujii Hironori  <Hironori.Fujii@sony.com>
3008
3009         REGRESSION(r233495) [cairo] drawGlyphsShadow should use the fast path for zero blur-radius
3010         https://bugs.webkit.org/show_bug.cgi?id=187336
3011
3012         Reviewed by Carlos Garcia Campos.
3013
3014         * platform/gtk/TestExpectations: Unmarked fast/text/multiple-text-shadow-overflow-layout-rect.html.
3015
3016 2018-07-05  Saam Barati  <sbarati@apple.com>
3017
3018         [mac-wk1] Layout Test editing/selection/navigation-clears-editor-state.html is a flaky failure
3019         https://bugs.webkit.org/show_bug.cgi?id=187309
3020
3021         Reviewed by Mark Lam.
3022
3023         Try to make this test less flaky by making percents threshold of freed
3024         objects smaller.
3025
3026         * editing/selection/navigation-clears-editor-state-expected.txt:
3027         * editing/selection/navigation-clears-editor-state.html:
3028
3029 2018-07-05  Youenn Fablet  <youenn@apple.com>
3030
3031         Layout Test http/tests/workers/service/basic-messageport.html is flaky
3032         https://bugs.webkit.org/show_bug.cgi?id=182630
3033
3034         Reviewed by Alex Christensen.
3035
3036         Test is flaky due to a race between serviceWorkerClient.postMessage and MessagePort.postMessage.
3037         Both are going through UIProcess but MessagePort events are grabbed asynchronously.
3038         Fixed the test to not expect order between these two message exchange channels.
3039
3040         * http/tests/workers/service/basic-messageport-expected.txt:
3041         * http/tests/workers/service/resources/basic-messageport.js:
3042         (channel.port1.onmessage):
3043         (then):
3044         * platform/mac-wk2/TestExpectations:
3045
3046 2018-07-05  David Fenton  <david_fenton@apple.com>
3047
3048         LayoutTest imported/w3c/web-platform-tests/IndexedDB/interfaces.any.worker.html is flaky.
3049         https://bugs.webkit.org/show_bug.cgi?id=187372
3050
3051         Unreviewed test gardening.
3052
3053         * platform/mac-wk1/TestExpectations:
3054
3055 2018-07-05  Commit Queue  <commit-queue@webkit.org>
3056
3057         Unreviewed, rolling out r233539.
3058         https://bugs.webkit.org/show_bug.cgi?id=187368
3059
3060         Changes made for youtube crashes has caused 15 api failures
3061         (Requested by Truitt on #webkit).
3062
3063         Reverted changeset:
3064
3065         "Youtube video pages crash after a couple of minutes"
3066         https://bugs.webkit.org/show_bug.cgi?id=187316
3067         https://trac.webkit.org/changeset/233539
3068
3069 2018-07-04  Ryosuke Niwa  <rniwa@webkit.org>
3070
3071         Youtube video pages crash after a couple of minutes
3072         https://bugs.webkit.org/show_bug.cgi?id=187316
3073
3074         Reviewed by Antti Koivisto.
3075
3076         Added a regression test to remove an iframe with a video while there is a main content
3077         which is eligible to be shown in the Touch Bar.
3078
3079         * media/remove-video-best-media-element-in-main-frame-crash-expected.txt: Added.
3080         * media/remove-video-best-media-element-in-main-frame-crash.html: Added.
3081
3082 2018-07-05  Zalan Bujtas  <zalan@apple.com>
3083
3084         Do not assume that hypen's width can be computed using the simplified text measure codepath.
3085         https://bugs.webkit.org/show_bug.cgi?id=187352
3086         <rdar://problem/40821283>
3087
3088         Reviewed by Simon Fraser.
3089
3090         * fast/text/hyphen-is-complex-crash-expected.txt: Added.
3091         * fast/text/hyphen-is-complex-crash.html: Added.
3092
3093 2018-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
3094
3095         [WK1] editing/spelling/markers.html times out on High Sierra after r233439
3096         https://bugs.webkit.org/show_bug.cgi?id=187351
3097
3098         Reviewed by Tim Horton.
3099
3100         This is currently timing out on High Sierra, because the `verifyUnexpectedMarkers` portion of the
3101         test fails to actually make use of the override spell checking results. Fix this by passing the
3102         results when calling the function.
3103
3104         * editing/spelling/markers.html:
3105
3106 2018-07-05  Nan Wang  <n_wang@apple.com>
3107
3108         AX: setValue on text controls should send out key events
3109         https://bugs.webkit.org/show_bug.cgi?id=186690
3110         <rdar://problem/41169985>
3111
3112         Reviewed by Chris Fleizach.
3113
3114         * accessibility/mac/set-value-editable-dispatch-events-expected.txt: Added.
3115         * accessibility/mac/set-value-editable-dispatch-events.html: Added.
3116
3117 2018-07-05  Truitt Savell  <tsavell@apple.com>
3118
3119         Layout Test svg/animations/animateMotion-additive-2c.svg and svg/animations/animateMotion-additive-2d.svg is flaky 
3120         https://bugs.webkit.org/show_bug.cgi?id=187345
3121
3122         Unreviewed test gardening.
3123
3124         * platform/mac-wk2/TestExpectations:
3125
3126 2018-07-04  Carlos Garcia Campos  <cgarcia@igalia.com>
3127
3128         REGRESSION(r233325): [GTK] Broke 40 animations tests
3129         https://bugs.webkit.org/show_bug.cgi?id=187264
3130
3131         Reviewed by Žan Doberšek.
3132
3133         Remove expectations for tests that are passing now.
3134
3135         * platform/gtk/TestExpectations:
3136
3137 2018-07-04  Antti Koivisto  <antti@apple.com>
3138
3139         Reparse user stylesheets when _useSystemAppearance changes
3140         https://bugs.webkit.org/show_bug.cgi?id=187312
3141         <rdar://problem/38565834>
3142
3143         Reviewed by Tim Horton.
3144
3145         * fast/media/use-system-appearance-user-stylesheet-parsing-expected.txt: Added.
3146         * fast/media/use-system-appearance-user-stylesheet-parsing.html: Added.
3147
3148 2018-07-04  Alicia Boya García  <aboya@igalia.com>
3149
3150         Unreviewed GTK test gardening.
3151         https://bugs.webkit.org/show_bug.cgi?id=187328
3152
3153         * platform/gtk/TestExpectations:
3154         * platform/wpe/TestExpectations:
3155
3156 2018-07-03  Antoine Quint  <graouts@apple.com>
3157
3158         [Web Animations] Make WPT test at timing-model/timelines/timelines.html pass reliably
3159         https://bugs.webkit.org/show_bug.cgi?id=186508
3160         <rdar://problem/41000260>
3161
3162         Reviewed by Dean Jackson.
3163
3164         We're now passing this test reliably.
3165
3166         * TestExpectations:
3167
3168 2018-07-03  Ryosuke Niwa  <rniwa@webkit.org>
3169
3170         Nullptr crash accessing Document in GenericEventQueue::dispatchOneEvent()
3171         https://bugs.webkit.org/show_bug.cgi?id=187284
3172
3173         Reviewed by Eric Carlson.
3174
3175         Added a regression test which reliably hits the newly added debug assertion.
3176
3177         * media/track/video-track-addition-and-frame-removal-expected.txt: Added.
3178         * media/track/video-track-addition-and-frame-removal.html: Added.
3179
3180 2018-07-03  Fujii Hironori  <Hironori.Fujii@sony.com>
3181
3182         [cairo] Doesn't paint box-shadow with zero blur-radius
3183         https://bugs.webkit.org/show_bug.cgi?id=187244
3184
3185         Reviewed by Žan Doberšek.
3186
3187         * platform/gtk/fast/box-shadow/inset-expected.png: Updated.
3188
3189 2018-07-03  Youenn Fablet  <youenn@apple.com>
3190
3191         Crash in  WebKit::CacheStorage::Cache::toRecordInformation when running http/tests/cache-storage/cache-persistency.https.html
3192         https://bugs.webkit.org/show_bug.cgi?id=187243
3193
3194         Reviewed by Chris Dumez.
3195
3196         * TestExpectations:
3197
3198 2018-07-03  Chris Dumez  <cdumez@apple.com>
3199
3200         performance-api/performance-observer-no-document-leak.html is flaky
3201         https://bugs.webkit.org/show_bug.cgi?id=186938
3202         <rdar://problem/41379336>
3203
3204         Reviewed by Simon Fraser.
3205
3206         Update test to stop relying on internals.numberOfLiveDocuments() and instead rely on the new
3207         internals.documentIdentifier() / internals.isDocumentAlive(documentIdentifier) API in order
3208         to address the flakiness. Relying on the number of live documents to check if a particular
3209         document was destroyed is unreliable and flaky given that WebKit constructs documents for
3210         various reasons.
3211
3212         * TestExpectations:
3213         * performance-api/performance-observer-no-document-leak-expected.txt:
3214         * performance-api/performance-observer-no-document-leak.html:
3215
3216 2018-07-03  Truitt Savell  <tsavell@apple.com>
3217
3218         Re-enabling canvas tests for canvas/philip/tests/initial.reset.gradient.html
3219         https://bugs.webkit.org/show_bug.cgi?id=187307
3220
3221         Unreviewed test gardening.
3222
3223         * platform/mac/TestExpectations:
3224
3225 2018-07-03  Truitt Savell  <tsavell@apple.com>
3226
3227         re-enable some canvas tests that are now consistently passing
3228         https://bugs.webkit.org/show_bug.cgi?id=187305
3229
3230         Unreviewed test gardening.
3231
3232         * platform/mac/TestExpectations:
3233
3234 2018-07-03  Jonathan Bedard  <jbedard@apple.com>
3235
3236         Unreviewed, rolling out r233461.
3237
3238         Assertions triggered during iOS 11 debug layout and API tests
3239
3240         Reverted changeset:
3241
3242         "[iOS] Add assert to catch improper use of WebCore::Timer in
3243         UI Process"
3244         https://bugs.webkit.org/show_bug.cgi?id=185330
3245         https://trac.webkit.org/changeset/233461
3246
3247 2018-07-03  Frederic Wang  <fwang@igalia.com>
3248
3249         Import WPT infrastructure tests
3250         https://bugs.webkit.org/show_bug.cgi?id=187095
3251
3252         Reviewed by Youenn Fablet.
3253
3254         * TestExpectations: Mark known failures.
3255
3256 2018-07-03  Frederic Wang  <fwang@igalia.com>
3257
3258         REGRESSION (r232186): Hardware-accelerated CSS animations using steps() timing function no longer work
3259         https://bugs.webkit.org/show_bug.cgi?id=186129
3260
3261         Reviewed by Antoine Quint.
3262
3263         Add a test to ensure that accelerated and non-accelerated animations are properly started
3264         when WebAnimationsCSSIntegration is enabled. In particular, consider the case of animated
3265         transform using steps() timing function.
3266
3267         * http/wpt/css/css-animations/start-animation-001-expected.html: Added.
3268         * http/wpt/css/css-animations/start-animation-001.html: Added.
3269
3270 2018-07-03  Frederic Wang  <fred.wang@free.fr>
3271
3272         [iOS] Animations with Bézier timing function not suspended on UI process when animation-play-state is set to "paused"
3273         https://bugs.webkit.org/show_bug.cgi?id=170784
3274
3275         Add a reftest to visually check pausing of transform animations.
3276
3277         Reviewed by Antoine Quint.
3278
3279         * http/wpt/css/css-animations/set-animation-play-state-to-paused-001-expected.html: Added.
3280         * http/wpt/css/css-animations/set-animation-play-state-to-paused-001.html: Added.
3281
3282 2018-07-03  Antoine Quint  <graouts@apple.com>
3283
3284         Crash in WebCore::WebAnimation::timeToNextRequiredTick when running imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-no-browsing-context.html
3285         https://bugs.webkit.org/show_bug.cgi?id=187145
3286
3287         Unreviewed. Forgot to remove the expectation change when fixing the bug in r233430.
3288
3289         * TestExpectations:
3290
3291 2018-07-02  Sukolsak Sakshuwong  <sukolsak@gmail.com>
3292
3293         Regular expressions with ".?" expressions at the start and the end match the entire string
3294         https://bugs.webkit.org/show_bug.cgi?id=119191
3295
3296         Reviewed by Michael Saboff.
3297
3298         * fast/regex/dotstar-expected.txt:
3299         * fast/regex/script-tests/dotstar.js:
3300
3301 2018-07-02  Antti Koivisto  <antti@apple.com>
3302
3303         Tighter limit for canvas memory use on iOS
3304         https://bugs.webkit.org/show_bug.cgi?id=187279
3305         <rdar://problem/38420562>
3306
3307         Reviewed by Simon Fraser.
3308
3309         * platform/ios-simulator/fast/canvas/canvas-crash-expected.txt:
3310         * platform/ios-simulator/fast/canvas/canvas-skia-excessive-size-expected.txt:
3311
3312 2018-07-02  Sukolsak Sakshuwong  <sukolsak@gmail.com>
3313
3314         RegExp.exec returns wrong value with a long integer quantifier
3315         https://bugs.webkit.org/show_bug.cgi?id=187042
3316
3317         Reviewed by Saam Barati.
3318
3319         * fast/regex/overflow-expected.txt:
3320         * fast/regex/script-tests/overflow.js:
3321
3322 2018-07-02  Myles C. Maxfield  <mmaxfield@apple.com>
3323
3324         [Cocoa] Google Fonts doesn't work if the user has the requested font locally-installed
3325         https://bugs.webkit.org/show_bug.cgi?id=187228
3326         <rdar://problem/40967280>
3327
3328         Reviewed by Brent Fulgham.
3329
3330         * fast/text/user-installed-fonts/local-expected.html: Added.
3331         * fast/text/user-installed-fonts/local.html: Added.
3332
3333 2018-07-02  Wenson Hsieh  <wenson_hsieh@apple.com>
3334
3335         [WK1] editing/spelling/markers.html is failing on recent builds of macOS Mojave
3336         https://bugs.webkit.org/show_bug.cgi?id=187253
3337
3338         Reviewed by Tim Horton.
3339
3340         In recent builds of macOS Mojave, NSSpellChecker returns both grammar and spelling errors when asked to analyze
3341         the string "I have a issue.". While arguably correct, the change causes this existing layout test to fail due
3342         to one of the calls to `verifyUnexpectedMarkers` expecting either grammar markers and not spelling markers, or
3343         vice versa.
3344
3345         To fix this, we can leverage the mechanism added in r233412 to simulate different results from the platform
3346         spellchecker, such that the test now exercises all combinations of grammar and spelling corrections observed on
3347         each macOS platform, regardless of the actual platform where the test is being run.
3348
3349         This patch also enhances the capabilities of `LayoutTestSpellChecker`. See `Tools/ChangeLog` for more details.
3350
3351         * editing/spelling/markers-expected.txt:
3352         * editing/spelling/markers.html:
3353         * editing/spelling/text-replacement-after-typing-to-word.html:
3354
3355         Adjusted for a renamed TestRunner method.
3356
3357 2018-07-02  Michael Catanzaro  <mcatanzaro@igalia.com>
3358
3359         Unreviewed GTK gardening
3360
3361         * platform/gtk/TestExpectations:
3362         * platform/gtk/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-no-browsing-context-expected.txt: Added.
3363
3364 2018-07-02  Eric Carlson  <eric.carlson@apple.com>
3365
3366         Video sometimes flickers when playing to AppleTV
3367         https://bugs.webkit.org/show_bug.cgi?id=187193
3368         <rdar://problem/40153865>
3369
3370         Reviewed by Jer Noble and Youenn Fablet.
3371
3372         * platform/mac/media/audio-session-category-audio-autoplay.html: Update as audio category
3373         doesn't change immediately.
3374
3375 2018-07-02  Zan Dobersek  <zdobersek@igalia.com>
3376
3377         Unreviewed WPE gardening.
3378
3379         Adjust or add a few test expectations. Remove a bad text baseline for
3380         one W3C Fetch test, add a proper text baseline for another.
3381
3382         * platform/wpe/TestExpectations:
3383         * platform/wpe/imported/w3c/web-platform-tests/fetch/api/headers: Added.
3384         * platform/wpe/imported/w3c/web-platform-tests/fetch/api/headers/header-values-expected.txt: Added.
3385         * platform/wpe/imported/w3c/web-platform-tests/fetch/security: Removed.
3386
3387 2018-07-02  Frederic Wang  <fwang@igalia.com>
3388
3389         WTF's internal std::optional implementation should abort() on bad optional access
3390         https://bugs.webkit.org/show_bug.cgi?id=186536
3391
3392         Unreviewed test gardening.
3393
3394 2018-07-02  Frederic Wang  <fwang@igalia.com>
3395
3396         WTF's internal std::optional implementation should abort() on bad optional access
3397         https://bugs.webkit.org/show_bug.cgi?id=186536
3398
3399         Reviewed by Michael Catanzaro.
3400
3401         * TestExpectations: Mark two tests as crashing (bug #187145 and bug #187243).
3402
3403 2018-07-01  Fujii Hironori  <Hironori.Fujii@sony.com>
3404
3405         [WK2] fast/parser/document-open-in-unload.html makes the following test crash
3406         https://bugs.webkit.org/show_bug.cgi?id=98345
3407         <rdar://problem/12474923>
3408
3409         Reviewed by Ryosuke Niwa.
3410
3411         * platform/wk2/TestExpectations: Unskipped fast/parser/document-open-in-unload.html.
3412
3413 2018-07-01  Myles C. Maxfield  <mmaxfield@apple.com>
3414
3415         [Cocoa] LastResort in the font family list causes emoji with joiners to be rendered as multiple .notdef characters
3416         https://bugs.webkit.org/show_bug.cgi?id=187209
3417         <rdar://problem/40920785>
3418
3419         Reviewed by Darin Adler.
3420
3421         * fast/text/emoji-with-joiner-expected.txt: Added.
3422         * fast/text/emoji-with-joiner.html: Added.
3423
3424 2018-07-01  Wenson Hsieh  <wenson_hsieh@apple.com>
3425
3426         [macOS] Text replacements that end with symbols are expanded immediately
3427         https://bugs.webkit.org/show_bug.cgi?id=187225
3428         <rdar://problem/41112433>
3429
3430         Reviewed by Darin Adler.
3431
3432         Adds a layout test to check that if a user has configured a text replacement that ends with punctuation, then:
3433         1. Typing that text replacement won't immediately trigger replacement.
3434         2. Text replacement is triggered after pressing enter.
3435
3436         * editing/spelling/text-replacement-after-typing-to-word-expected.txt: Added.
3437         * editing/spelling/text-replacement-after-typing-to-word.html: Added.
3438         * platform/ios/TestExpectations:
3439         * platform/mac-wk2/TestExpectations:
3440
3441 2018-06-29  Antoine Quint  <graouts@apple.com>
3442
3443         [Web Animations] Make WPT test at timing-model/timelines/document-timelines.html pass reliably
3444         https://bugs.webkit.org/show_bug.cgi?id=186507
3445         <rdar://problem/41000257>
3446
3447         Reviewed by Dean Jackson.
3448
3449         This test now passes reliably.
3450
3451         * TestExpectations:
3452
3453 2018-06-30  Antoine Quint  <graouts@apple.com>
3454
3455         [Web Animations] Make imported/mozilla/css-transitions/test_event-dispatch.html pass reliably
3456         https://bugs.webkit.org/show_bug.cgi?id=183843
3457
3458         Unreviewed.
3459
3460         This test is no longer flaky, the fix for webkit.org/b/183834 fixed the issue.
3461
3462         * platform/ios/TestExpectations:
3463
3464 2018-06-30  Commit Queue  <commit-queue@webkit.org>
3465
3466         Unreviewed, rolling out r233391.
3467         https://bugs.webkit.org/show_bug.cgi?id=187217
3468
3469         This patch broke Windows ports (Requested by fredw on
3470         #webkit).
3471
3472         Reverted changeset:
3473
3474         "WTF's internal std::optional implementation should abort() on
3475         bad optional access"
3476         https://bugs.webkit.org/show_bug.cgi?id=186536
3477         https://trac.webkit.org/changeset/233391
3478
3479 2018-06-29  Frederic Wang  <fwang@igalia.com>
3480
3481         WTF's internal std::optional implementation should abort() on bad optional access
3482         https://bugs.webkit.org/show_bug.cgi?id=186536
3483
3484         Reviewed by Michael Catanzaro.
3485
3486         * TestExpectations: Mark one WebAnimations test as crashing (bug #187145).
3487
3488 2018-06-29  Nan Wang  <n_wang@apple.com>
3489
3490         Crash under WebCore::AXObjectCache::handleMenuItemSelected
3491         https://bugs.webkit.org/show_bug.cgi?id=186918
3492         <rdar://problem/41365984>
3493
3494         Reviewed by Chris Fleizach.
3495
3496         * accessibility/accessibility-crash-focused-element-change-expected.txt: Added.
3497         * accessibility/accessibility-crash-focused-element-change.html: Added.
3498
3499 2018-06-29  Antti Koivisto  <antti@apple.com>
3500
3501         REGRESSION (r232806): Facebook login fields have blue fill background instead of white
3502         https://bugs.webkit.org/show_bug.cgi?id=187207
3503
3504         Reviewed by Tim Horton.
3505
3506         * fast/forms/input-background-ua-media-query-expected.html: Added.
3507         * fast/forms/input-background-ua-media-query.html: Added.
3508
3509 2018-06-29  Daniel Bates  <dabates@apple.com>
3510
3511         REGRESSION (r230921): Cannot log in to forums.swift.org using GitHub account