Unreviewed attempt to deflake accessibility/ios-simulator/form-control-validation...
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-11-10  Chris Dumez  <cdumez@apple.com>
2
3         Unreviewed attempt to deflake accessibility/ios-simulator/form-control-validation-message.html
4
5         * accessibility/ios-simulator/form-control-validation-message.html:
6
7 2018-11-10  Tim Horton  <timothy_horton@apple.com>
8
9         Make it possible to edit images inline
10         https://bugs.webkit.org/show_bug.cgi?id=191352
11         <rdar://problem/30107985>
12
13         Reviewed by Dean Jackson.
14
15         * TestExpectations:
16         * editing/images/basic-editable-image-expected.txt: Added.
17         * editing/images/basic-editable-image.html: Added.
18         * editing/images/reparent-editable-image-maintains-strokes-expected.txt: Added.
19         * editing/images/reparent-editable-image-maintains-strokes.html: Added.
20         * platform/ios-wk2/TestExpectations:
21         * resources/ui-helper.js:
22         (window.UIHelper.drawSquareInEditableImage):
23         (window.UIHelper.numberOfStrokesInEditableImage):
24         (window.UIHelper):
25         Add tests that we can find and draw in editable images, and that if
26         the element is moved around in the DOM, it persists its strokes.
27
28 2018-11-09  Megan Gardner  <megan_gardner@apple.com>
29
30         Fix Test Expectations for Reveal Test
31         https://bugs.webkit.org/show_bug.cgi?id=191476
32
33         Unreviewed test gardening.
34
35         Put the test expectation in the correct location to deal with
36         the different behaviour old platforms.
37
38         * platform/mac/editing/mac/selection/context-menu-select-editability-expected.txt: Renamed from LayoutTests/platform/mac-highsierra/editing/mac/selection/context-menu-select-editability-expected.txt.
39
40 2018-11-09  Tim Horton  <timothy_horton@apple.com>
41
42         Normal-flow-only flex items don't correctly respect z-index
43         https://bugs.webkit.org/show_bug.cgi?id=191486
44
45         Reviewed by Simon Fraser.
46
47         * css3/flexbox/z-index-with-normal-flow-only-expected.html: Added.
48         * css3/flexbox/z-index-with-normal-flow-only.html: Added.
49         Add a test that a <canvas> with z-index 50 correctly stacks below
50         a <canvas> that is a flex-item with z-index 100.
51
52 2018-11-09  Jer Noble  <jer.noble@apple.com>
53
54         SourceBuffer throws an error when appending a second init segment after changeType().
55         https://bugs.webkit.org/show_bug.cgi?id=191474
56
57         Reviewed by Eric Carlson.
58
59         * media/media-source/media-source-changetype-second-init-expected.txt: Added.
60         * media/media-source/media-source-changetype-second-init.html: Added.
61
62 2018-11-09  Andy Estes  <aestes@apple.com>
63
64         [Payment Request] canMakePayment() should not consider serialized payment method data
65         https://bugs.webkit.org/show_bug.cgi?id=191432
66
67         Reviewed by Dean Jackson.
68
69         * http/tests/paymentrequest/payment-request-canmakepayment-method.https-expected.txt:
70         * http/tests/paymentrequest/payment-request-canmakepayment-method.https.html: Updated with
71         changes from imported/w3c/web-platform-tests/payment-request/. Modified two tests to use
72         user_activation_test() rather than test_driver.bless().
73         * http/tests/paymentrequest/payment-request-show-method.https-expected.txt:
74         * http/tests/paymentrequest/payment-request-show-method.https.html: Now that canMakePayment
75         does not convert payment method data, added a test that ensures show() rejects with a
76         TypeError when Apple Pay's payment method data is invalid.
77         * platform/ios-wk2/TestExpectations: Un-skipped payment-request-canmakepayment-method.https.html.
78         * platform/mac-wk2/TestExpectations: Ditto.
79
80 2018-11-09  Andy Estes  <aestes@apple.com>
81
82         [Payment Request] PaymentResponse.details should be updated when the user accepts a rpayment retry
83         https://bugs.webkit.org/show_bug.cgi?id=191440
84
85         Reviewed by Dean Jackson.
86
87         * http/tests/paymentrequest/payment-response-retry-method.https-expected.txt:
88         * http/tests/paymentrequest/payment-response-retry-method.https.html:
89
90 2018-11-09  Chris Dumez  <cdumez@apple.com>
91
92         HTML form validation bubble disappears
93         https://bugs.webkit.org/show_bug.cgi?id=191418
94
95         Reviewed by Simon Fraser.
96
97         Add API test coverage and update existing tests to use form-validation.js and
98         avoid code duplication.
99
100         * fast/forms/form-validation.js: Added.
101         (getValidationBubbleContents):
102         (getValidationBubble.return.new.Promise.):
103         (getValidationBubble):
104         * fast/forms/ios/validation-bubble-dismiss-on-tap-expected.txt:
105         * fast/forms/ios/validation-bubble-dismiss-on-tap.html:
106         * fast/forms/navigation-dismisses-validation-bubbles-expected.txt: Renamed from LayoutTests/http/tests/navigation/navigation-dismisses-validation-bubbles-expected.txt.
107         * fast/forms/navigation-dismisses-validation-bubbles.html: Renamed from LayoutTests/http/tests/navigation/navigation-dismisses-validation-bubbles.html.
108         * fast/forms/resources/check-validation-bubble-not-visible.html: Renamed from LayoutTests/http/tests/navigation/resources/check-validation-bubble-not-visible.html.
109         * fast/forms/scroll-into-view-and-show-validation-message-expected.txt: Added.
110         * fast/forms/scroll-into-view-and-show-validation-message.html: Added.
111         * fast/forms/validation-bubble-disappears-when-input-detached-expected.txt:
112         * fast/forms/validation-bubble-disappears-when-input-detached.html:
113         * fast/forms/validation-bubble-disappears-when-input-moved-expected.txt:
114         * fast/forms/validation-bubble-disappears-when-input-moved.html:
115         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible-expected.txt:
116         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible.html:
117         * fast/forms/validation-bubble-escape-key-dismiss-expected.txt:
118         * fast/forms/validation-bubble-escape-key-dismiss.html:
119         * fast/forms/validation-custom-message-expected.txt:
120         * fast/forms/validation-custom-message.html:
121         * fast/forms/validation-message-detached-iframe-expected.txt:
122         * fast/forms/validation-message-detached-iframe.html:
123         * fast/forms/validation-message-detached-iframe2-expected.txt:
124         * fast/forms/validation-message-detached-iframe2.html:
125         * fast/forms/validation-message-minimum-font-size-expected.txt:
126         * fast/forms/validation-message-minimum-font-size.html:
127         * fast/forms/validation-messages-expected.txt:
128         * fast/forms/validation-messages.html:
129         * platform/gtk/TestExpectations:
130         * platform/ios-wk1/TestExpectations:
131         * platform/win/TestExpectations:
132
133 2018-11-09  Jer Noble  <jer.noble@apple.com>
134
135         [Cocoa] Fix failing imported/w3c/web-platform-tests/media-source/mediasource-changetype-play.html test
136         https://bugs.webkit.org/show_bug.cgi?id=191396
137
138         Reviewed by Eric Carlson.
139
140         * platform/mac/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt:
141         * platform/mac-sierra/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt:
142
143 2018-11-09  Ryan Haddad  <ryanhaddad@apple.com>
144
145         Clean up test expectations after r237942
146         https://bugs.webkit.org/show_bug.cgi?id=191448
147
148         Unreviewed test gardening.
149
150         Add test expectation files for Sierra WK1.
151
152         * platform/mac-sierra-wk1/compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt: Added.
153         * platform/mac-sierra-wk1/compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint-expected.txt: Added.
154
155 2018-11-09  Daniel Bates  <dabates@apple.com>
156
157         [iOS] Pressing forward delete key in text field does nothing and we should not invoke an editor
158         action when forward delete is pressed outside a text field
159         https://bugs.webkit.org/show_bug.cgi?id=190566
160         <rdar://problem/45262367>
161
162         Reviewed by Wenson Hsieh.
163
164         Add a test to ensure that pressing the forward delete key deletes the next character.
165
166         * fast/events/ios/forward-delete-in-editable-expected.txt: Added.
167         * fast/events/ios/forward-delete-in-editable.html: Added.
168
169 2018-11-09  Carlos Garcia Campos  <cgarcia@igalia.com>
170
171         REGRESSION(r236365): [GTK] Many form-related tests are failing
172         https://bugs.webkit.org/show_bug.cgi?id=189993
173
174         Reviewed by Michael Catanzaro.
175
176         Remove expectations for tests that are passing now.
177
178         * platform/gtk/TestExpectations:
179
180 2018-11-08  Megan Gardner  <megan_gardner@apple.com>
181
182         Adopt Reveal Framework to replace Lookup
183         https://bugs.webkit.org/show_bug.cgi?id=191097
184
185         Reviewed by Tim Horton.
186
187         Reveal selects spaces instead of adjacent words, no matter how interesting they are. 
188         Update the tests to show this, and change the expections for previous platforms.
189
190         * editing/mac/selection/context-menu-select-editability-expected.txt:
191         * editing/mac/selection/context-menu-select-editability.html:
192         * platform/mac-highsierra/editing/mac/selection/context-menu-select-editability-expected.txt: Copied from LayoutTests/editing/mac/selection/context-menu-select-editability-expected.txt.
193
194 2018-11-08  Ryan Haddad  <ryanhaddad@apple.com>
195
196         Clean up test expectations after r237942
197         https://bugs.webkit.org/show_bug.cgi?id=191448
198
199         Unreviewed test gardening.
200
201         Add High Sierra specific expectation files for three tests, rebaseline one for Mojave, and remove failure expectations.
202
203         * platform/mac-highsierra-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt: Copied from LayoutTests/platform/mac-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt.
204         * platform/mac-highsierra-wk1/compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt: Added.
205         * platform/mac-highsierra-wk1/compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint-expected.txt: Added.
206         * platform/mac-wk1/TestExpectations:
207         * platform/mac-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt:
208
209 2018-11-08  Ryan Haddad  <ryanhaddad@apple.com>
210
211         [Mojave WK1] Layout test fast/events/detect-caps-lock.html is timing out
212         https://bugs.webkit.org/show_bug.cgi?id=191424
213
214         Unreviewed test gardening.
215
216         Update expectations since this test is only expected to run on WK2.
217
218         * platform/mac-wk2/TestExpectations:
219         * platform/mac/TestExpectations:
220
221 2018-11-08  Ross Kirsling  <ross.kirsling@sony.com>
222
223         U+180E is no longer a whitespace character
224         https://bugs.webkit.org/show_bug.cgi?id=191415
225
226         Reviewed by Saam Barati.
227
228         * js/ToNumber-expected.txt:
229         * js/parseFloat-expected.txt:
230         * js/script-tests/ToNumber.js:
231         * js/script-tests/parseFloat.js:
232         Update tests and expectations.
233
234         * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt:
235         * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt:
236         * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt:
237         * sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt:
238         * sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt:
239         * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.2_parseInt/S15.1.2.2_A2_T10-expected.txt:
240         * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.3_parseFloat/S15.1.2.3_A2_T10-expected.txt:
241         * sputnik/Unicode/Unicode_410/S15.10.2.12_A1_T6-expected.txt:
242         * sputnik/Unicode/Unicode_410/S15.10.2.12_A2_T6-expected.txt:
243         * sputnik/Unicode/Unicode_410/S7.2_A1.6_T1-expected.txt:
244         * sputnik/Unicode/Unicode_500/S15.10.2.12_A1_T6-expected.txt:
245         * sputnik/Unicode/Unicode_500/S15.10.2.12_A2_T6-expected.txt:
246         * sputnik/Unicode/Unicode_500/S7.2_A1.6_T1-expected.txt:
247         * sputnik/Unicode/Unicode_510/S15.10.2.12_A1_T6-expected.txt:
248         * sputnik/Unicode/Unicode_510/S15.10.2.12_A2_T6-expected.txt:
249         * sputnik/Unicode/Unicode_510/S7.2_A1.6_T1-expected.txt:
250         Let outdated sputnik checks fail.
251
252 2018-11-07  Myles C. Maxfield  <mmaxfield@apple.com>
253
254         Unprefix text-decoration CSS3 properties
255         https://bugs.webkit.org/show_bug.cgi?id=127193
256
257         Reviewed by Dean Jackson.
258
259         * fast/css3-text/css3-text-decoration/unprefix-expected.html: Added.
260         * fast/css3-text/css3-text-decoration/unprefix.html: Added.
261
262 2018-11-08  Timothy Hatcher  <timothy@apple.com>
263
264         Add experimental support for a `supported-color-schemes` CSS property.
265         https://bugs.webkit.org/show_bug.cgi?id=191319
266         rdar://problem/45852261
267
268         Reviewed by Dean Jackson.
269
270         * css-dark-mode/parse-supported-color-schemes-expected.txt: Added.
271         * css-dark-mode/parse-supported-color-schemes.html: Added.
272         * css-dark-mode/supported-color-schemes-css-expected.txt: Added.
273         * css-dark-mode/supported-color-schemes-css.html: Added.
274
275 2018-11-08  Per Arne Vollan  <pvollan@apple.com>
276
277         [Sierra Release WK2] Layout Test media/track/track-cue-css.html is a flaky failure
278         https://bugs.webkit.org/show_bug.cgi?id=191200
279
280         Unreviewed, speculative fix for test flakiness.
281
282         * media/track/track-cue-css-expected.html:
283         * media/track/track-cue-css.html:
284
285 2018-11-08  Eric Carlson  <eric.carlson@apple.com>
286
287         [MediaStream] Use DeviceIdHashSaltStorage to generate device ID hash salt
288         https://bugs.webkit.org/show_bug.cgi?id=190825
289         <rdar://problem/45486085>
290
291         Update enumerate-devices-source-id to expect the same device to have the same ID in all
292         iframes, remove enumerate-devices-source-id-persistent because the logic was faulty.
293
294         Reviewed by Youenn Fablet.
295
296         * TestExpectations: Unskip http/tests/media/media-stream/enumerate-devices-source-id.html
297         * http/tests/media/media-stream/enumerate-devices-source-id-expected.txt:
298         * http/tests/media/media-stream/enumerate-devices-source-id-persistent-expected.txt: Removed.
299         * http/tests/media/media-stream/enumerate-devices-source-id-persistent.html: Removed.
300         * http/tests/media/media-stream/enumerate-devices-source-id.html:
301
302 2018-11-08  Jonathan Hammer  <jonathan@e3software.com>
303
304         Plain text drag in contenteditable is always DragOperationCopy, never DragOperationMove
305         https://bugs.webkit.org/show_bug.cgi?id=191228
306         <rdar://problem/45786830>
307
308         Reviewed by Wenson Hsieh.
309
310         A test that checks that dragging plain text in a contenteditable element results
311         in the text being moved and not copied. Only applies to WK1. Test skipped on
312         WK2 because WK2 EventSender does not support drag events. Test also skipped on 
313         AppleWin because drag and drop doesn't work correctly in DRT (according to the 
314         TestExpectations file).
315
316         * fast/events/drag-and-drop-move-not-copy-expected.txt: Added.
317         * fast/events/drag-and-drop-move-not-copy.html: Added.
318         * platform/win/TestExpectations:
319         * platform/wk2/TestExpectations:
320
321 2018-11-08  Alicia Boya García  <aboya@igalia.com>
322
323         [GTK] Unreviewed test gardening
324         https://bugs.webkit.org/show_bug.cgi?id=191404
325
326         * platform/gtk/TestExpectations:
327         * platform/gtk/fast/block/basic/height-percentage-simple-expected.txt: Added.
328         * platform/gtk/fast/inline/simple-inline-block-expected.txt: Added.
329         * platform/gtk/fast/inline/simple-intruding-float1-expected.txt: Added.
330         * platform/gtk/fast/inline/simple-intruding-floats2-expected.txt: Added.
331         * platform/gtk/fast/inline/simple-shrink-to-fit-inline-block-expected.txt: Added.
332
333 2018-11-07  Justin Michaud  <justin_michaud@apple.com>
334
335         CSS Painting API should pass size, arguments and input properties to paint callback
336         https://bugs.webkit.org/show_bug.cgi?id=191309
337
338         Reviewed by Chris Dumez.
339
340         * fast/css-custom-paint/properties-expected.html: Added.
341         * fast/css-custom-paint/properties.html: Added.
342         * fast/css-custom-paint/worklet.html:
343
344 2018-11-07  Zalan Bujtas  <zalan@apple.com>
345
346         Click and touch event listeners on the body don't work
347         https://bugs.webkit.org/show_bug.cgi?id=191392
348         <rdar://problem/5844416>
349
350         Reviewed by Simon Fraser.
351
352         * fast/events/click-handler-on-body-simple-expected.txt: Added.
353         * fast/events/click-handler-on-body-simple.html: Added.
354         * fast/events/touch/touch-handler-on-body-simple-expected.txt: Added.
355         * fast/events/touch/touch-handler-on-body-simple.html: Added.
356
357 2018-11-07  Wenson Hsieh  <wenson_hsieh@apple.com>
358
359         Add an editing command for creating and inserting child lists
360         https://bugs.webkit.org/show_bug.cgi?id=191335
361         <rdar://problem/45814050>
362
363         Reviewed by Ryosuke Niwa.
364
365         Add a new layout tests that exercise the "InsertNested(Un)orderedList" editing commands in several scenarios
366         including undo, redo, executing the edit command with a ranged selection, outdenting to decrease list level,
367         inserting lists in and around tables and table cells, and inserting lists in and around pre elements.
368
369         * editing/execCommand/insert-nested-lists-expected.txt: Added.
370         * editing/execCommand/insert-nested-lists-in-table-expected.txt: Added.
371         * editing/execCommand/insert-nested-lists-in-table.html: Added.
372         * editing/execCommand/insert-nested-lists-with-pre-expected.txt: Added.
373         * editing/execCommand/insert-nested-lists-with-pre.html: Added.
374         * editing/execCommand/insert-nested-lists.html: Added.
375
376 2018-11-07  Chris Dumez  <cdumez@apple.com>
377
378         ASSERT(renderer()) under HTMLTextAreaElement::updateValue()
379         https://bugs.webkit.org/show_bug.cgi?id=191391
380         <rdar://problem/34219633>
381
382         Reviewed by Geoffrey Garen.
383
384         Add layout test coverage. I have verified that this test passes in Firefox and Chrome.
385         It used to crash before this change in debug.
386
387         * editing/inserting/inset-html-textarea-without-renderer-expected.txt: Added.
388         * editing/inserting/inset-html-textarea-without-renderer.html: Added.
389
390 2018-11-07  Myles C. Maxfield  <mmaxfield@apple.com>
391
392         Positioned text underline can look like a strike-through
393         https://bugs.webkit.org/show_bug.cgi?id=191341
394
395         Reviewed by Simon Fraser.
396
397         * fast/css3-text/css3-text-decoration/text-underline-negative-expected.html: Added.
398         * fast/css3-text/css3-text-decoration/text-underline-negative.html: Added.
399
400 2018-11-07  Myles C. Maxfield  <mmaxfield@apple.com>
401
402         Dotted underlines that skip descenders are invisible
403         https://bugs.webkit.org/show_bug.cgi?id=191403
404
405         Reviewed by Simon Fraser.
406
407         * fast/css3-text/css3-text-decoration/text-underline-style-expected.html: Added.
408         * fast/css3-text/css3-text-decoration/text-underline-style.html: Added.
409
410 2018-11-07  Andy Estes  <aestes@apple.com>
411
412         Crash in WebCore::PaymentRequest::canMakePayment when Apple Pay payment method data is missing
413         https://bugs.webkit.org/show_bug.cgi?id=191331
414
415         Reviewed by Alexey Proskuryakov.
416
417         * http/tests/paymentrequest/payment-request-canmakepayment-method.https.html:
418
419 2018-11-07  Simon Fraser  <simon.fraser@apple.com>
420
421         Revert 237849: it breaks MotionMark
422         https://bugs.webkit.org/show_bug.cgi?id=191398
423
424         Reviewed by Simon Fraser.
425
426         * fast/scrolling/ios/update-scroll-coordinated-status-expected.txt: Removed.
427         * fast/scrolling/ios/update-scroll-coordinated-status.html: Removed.
428
429 2018-11-07  Simon Fraser  <simon.fraser@apple.com>
430
431         Some WK1 repaint tests are flakey
432         https://bugs.webkit.org/show_bug.cgi?id=190627
433
434         Reviewed by Zalan Bujtas.
435         
436         New baseline.
437
438         * compositing/masks/compositing-clip-path-change-no-repaint-expected.txt:
439
440 2018-11-07  Ross Kirsling  <ross.kirsling@sony.com>
441
442         [WinCairo] Unreviewed layout test gardening.
443
444         * platform/wincairo/TestExpectations:
445
446 2018-11-07  Dean Jackson  <dino@apple.com>
447
448         [iOS] WebGL leaks exact GPU type
449         https://bugs.webkit.org/show_bug.cgi?id=191393
450         <rdar://problem/45788297>
451
452         Reviewed by Tim Horton.
453
454         A test that checks that when the GPU vendor is Apple we're
455         returning a generic renderer name.
456
457         * fast/canvas/webgl/hide-some-renderer-info-expected.txt: Added.
458         * fast/canvas/webgl/hide-some-renderer-info.html: Added.
459
460 2018-11-07  Ali Juma  <ajuma@chromium.org>
461
462         IntersectionObserver GC-dependent tests are flaky
463         https://bugs.webkit.org/show_bug.cgi?id=191387
464
465         Reviewed by Chris Dumez.
466
467         Make these tests more robust by triggering GC repeatedly inside a setInterval(). Having only a single call to
468         GC is potentially flaky, since that call will early-out and return immediately if a GC is already underway.
469
470         * intersection-observer/root-element-deleted.html:
471         * intersection-observer/target-deleted.html:
472
473 2018-11-07  Dan Bernstein  <mitz@apple.com>
474
475         Add a pseudoclass that matches img elements that are backed by an attachment
476         https://bugs.webkit.org/show_bug.cgi?id=191286
477         <rdar://problem/45823554>
478
479         Reviewed by Dean Jackson.
480
481         * fast/css/has-attachment-expected.txt: Added.
482         * fast/css/has-attachment.html: Added.
483         * platform/win/TestExpectations:
484
485 2018-11-07  Ali Juma  <ajuma@chromium.org>
486
487         IntersectionObserverEntry doesn't keep JS wrappers of rects alive
488         https://bugs.webkit.org/show_bug.cgi?id=191330
489
490         Reviewed by Chris Dumez.
491
492         Add test coverage.
493
494         * intersection-observer/intersection-observer-entry-keeps-js-wrappers-of-rects-alive-expected.txt: Added.
495         * intersection-observer/intersection-observer-entry-keeps-js-wrappers-of-rects-alive.html: Added.
496
497 2018-11-07  Ryan Haddad  <ryanhaddad@apple.com>
498
499         Unreviewed, update test expectations for fast/events/pointer.
500
501         * TestExpectations: Skip this directory.
502         * platform/ios/TestExpectations: Remove skip since it is now skipped globally.
503
504 2018-11-07  Per Arne Vollan  <pvollan@apple.com>
505
506         Layout Test fast/text/international/khmer-selection.html is crashing
507         https://bugs.webkit.org/show_bug.cgi?id=191368
508
509         Unreviewed test gardening.
510
511         * platform/win/TestExpectations:
512
513 2018-11-07  Per Arne Vollan  <pvollan@apple.com>
514
515         Layout Test fast/block/basic/quirk-mode-percent-height.html is failing
516         https://bugs.webkit.org/show_bug.cgi?id=191366
517
518         Unreviewed test gardening.
519
520         * platform/win/TestExpectations:
521
522 2018-11-07  Zamiul Haque  <zhaque@apple.com>
523
524         Created a layout test to ensure that date controls marked as credit card expiry
525         fields present a Gregorian calendar regardless of default system settings. 
526         https://bugs.webkit.org/show_bug.cgi?id=191096
527         rdar://problem/42640256
528
529         Reviewed by Tim Horton.
530
531         Added two new methods to UIHelper, helping to facilitate this. calendarType
532         returns the calendar identifier of the NSCalendar instance used by the presented
533         date picker and setDefaultCalendarType accepts a calendar identifier as an
534         argument for changing the default system settings.
535
536         * fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry.html:
537         * platform/win/TestExpectations:
538         * resources/ui-helper.js:
539         (window.UIHelper.calendarType):
540         (window.UIHelper.setDefaultCalendarType):
541
542 2018-11-07  Tadeu Zagallo  <tzagallo@apple.com>
543
544         REGRESSION(r237547): Test failures on 32-bit JSC since the JIT was disabled
545         https://bugs.webkit.org/show_bug.cgi?id=191184
546
547         Reviewed by Saam Barati.
548
549         Skip test when the JIT is disabled since it's too slow to run on CLoop.
550
551         * js/script-tests/regress-139548.js:
552
553 2018-11-06  Youenn Fablet  <youenn@apple.com>
554
555         Reenable imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https.html
556         https://bugs.webkit.org/show_bug.cgi?id=191343
557
558         Unreviewed.
559
560         * TestExpectations: Unskipping test.
561         * platform/ios-wk2/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https-expected.txt: Removed.
562
563 2018-11-06  Youenn Fablet  <youenn@apple.com>
564
565         sender.replaceTrack() fails with InvalidStateError if the transceiver.direction is "inactive"
566         https://bugs.webkit.org/show_bug.cgi?id=191202
567
568         Reviewed by Eric Carlson.
569
570         * TestExpectations: skipping a timing out related test.
571         It is already timing out but is also flaky.
572
573 2018-11-06  Justin Fan  <justin_fan@apple.com>
574
575         [WebGPU] Experimental prototype for WebGPURenderPipeline and WebGPUSwapChain
576         https://bugs.webkit.org/show_bug.cgi?id=191291
577
578         Reviewed by Myles Maxfield.
579
580         * webgpu/js/set-up-webgpu-contexts.js: Added helper script for running different webgpu tests.
581         (runWebGPUTests):
582         (async.runWebGPUTestsOnCanvas):
583         (async.setUpContexts):
584         * webgpu/render-pipelines-expected.txt: Added.
585         * webgpu/render-pipelines.html: Added.
586         * webgpu/shader-modules-expected.txt:
587         * webgpu/shader-modules.html: Updated to use functions in set-up-webgpu-contexts.js.
588         * webgpu/webgpu-basics-expected.txt:
589         * webgpu/webgpu-basics.html: Updated through creating a WebGPURenderPipeline.
590
591 2018-11-06  Youenn Fablet  <youenn@apple.com>
592
593         Calling sender.replaceTrack() twice produces a new transceiver and its corresponding m= section
594         https://bugs.webkit.org/show_bug.cgi?id=191261
595
596         Reviewed by Eric Carlson.
597
598         * webrtc/video-addTransceiver-expected.txt:
599         * webrtc/video-addTransceiver.html:
600
601 2018-11-06  Youenn Fablet  <youenn@apple.com>
602
603         Make mDNS ICE Candidate an experimental flag again
604         https://bugs.webkit.org/show_bug.cgi?id=191262
605
606         Reviewed by Dean Jackson.
607
608         * webrtc/datachannel/mdns-ice-candidates.html:
609
610 2018-11-06  Myles C. Maxfield  <mmaxfield@apple.com>
611
612         Implement text-underline-offset and text-decoration-thickness
613         https://bugs.webkit.org/show_bug.cgi?id=190774
614
615         Reviewed by Dean Jackson.
616
617         * animations/text-decoration-thickness-expected.txt: Added.
618         * animations/text-decoration-thickness.html: Added.
619         * animations/text-underline-offset-expected.txt: Added.
620         * animations/text-underline-offset.html: Added.
621         * fast/css3-text/css3-text-decoration/text-decoration-offset-2-expected-mismatch.html: Added.
622         * fast/css3-text/css3-text-decoration/text-decoration-offset-2.html: Added.
623         * fast/css3-text/css3-text-decoration/text-decoration-offset-3-expected-mismatch.html: Added.
624         * fast/css3-text/css3-text-decoration/text-decoration-offset-3.html: Added.
625         * fast/css3-text/css3-text-decoration/text-decoration-offset-auto-length-expected.html: Added.
626         * fast/css3-text/css3-text-decoration/text-decoration-offset-auto-length.html: Added.
627         * fast/css3-text/css3-text-decoration/text-decoration-offset-baseline-expected.html: Added.
628         * fast/css3-text/css3-text-decoration/text-decoration-offset-baseline.html: Added.
629         * fast/css3-text/css3-text-decoration/text-decoration-offset-expected-mismatch.html: Added.
630         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-auto-expected.html: Added.
631         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-auto.html: Added.
632         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-length-expected.html: Added.
633         * fast/css3-text/css3-text-decoration/text-decoration-offset-from-font-length.html: Added.
634         * fast/css3-text/css3-text-decoration/text-decoration-offset-repaint-expected.html: Added.
635         * fast/css3-text/css3-text-decoration/text-decoration-offset-repaint.html: Added.
636         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-auto-expected.html: Added.
637         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-auto.html: Added.
638         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-length-expected.html: Added.
639         * fast/css3-text/css3-text-decoration/text-decoration-offset-under-length.html: Added.
640         * fast/css3-text/css3-text-decoration/text-decoration-offset.html: Added.
641         * fast/css3-text/css3-text-decoration/text-decoration-thickness-length-expected.html: Added.
642         * fast/css3-text/css3-text-decoration/text-decoration-thickness-length.html: Added.
643         * fast/css3-text/css3-text-decoration/text-decoration-thickness-repaint-expected.html: Added.
644         * fast/css3-text/css3-text-decoration/text-decoration-thickness-repaint.html: Added.
645
646 2018-11-06  Dean Jackson  <dino@apple.com>
647
648         Add some basic pointer events tests
649         https://bugs.webkit.org/show_bug.cgi?id=191336
650         <rdar://problem/45858574>
651
652         Reviewed by Wenson Hsieh.
653
654         Generate some fake touches for pointer events testing.
655
656         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup-expected.txt: Added.
657         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup.html: Added.
658         * fast/events/pointer/ios/tap-gives-pointerdown-pointerup-expected.txt: Added.
659         * fast/events/pointer/ios/tap-gives-pointerdown-pointerup.html: Added.
660         * platform/ios/TestExpectations:
661
662 2018-11-06  Timothy Hatcher  <timothy@apple.com>
663
664         Skip css-dark-mode tests on older macOS platforms
665         https://bugs.webkit.org/show_bug.cgi?id=191334
666
667         Reviewed by Brian Burg.
668
669         * platform/mac-highsierra/css-dark-mode/prefers-color-scheme-expected.txt: Removed.
670         * platform/mac-highsierra/css-dark-mode/supported-color-schemes-expected.txt: Removed.
671         * platform/mac-sierra/css-dark-mode/prefers-color-scheme-expected.txt: Removed.
672         * platform/mac-sierra/css-dark-mode/supported-color-schemes-expected.txt: Removed.
673         * platform/mac/TestExpectations: Skip css-dark-mode for Sierra and HighSierra.
674
675 2018-11-06  John Wilander  <wilander@apple.com>
676
677         Resource Load Statistics: Remove cap on partitioned cache max age if it matches a network reload (redirect-only)
678         https://bugs.webkit.org/show_bug.cgi?id=189760
679         <rdar://problem/44612242>
680
681         Reviewed by Youenn Fablet and Antti Koivisto.
682
683         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-expected.txt:
684         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource.html:
685             The test now performs:
686             - an initial Fetch request with a permanent redirect to ID 1234. Capped max age.
687             - a second Fetch request with a permanent redirect to ID 4321. Capped max age.
688             - a third Fetch request with a permanent redirect to and empty ID. Capped max age.
689             - a fourth Fetch request with a permanent redirect to and empty ID. Max age cap removed.
690             - a fifth Fetch request with a permanent redirect to and empty ID. Regular cache hit.
691         * http/tests/resourceLoadStatistics/resources/cached-permanent-redirect.php:
692             Now returns an HTTP 500 if the request contains validation headers.
693
694 2018-11-06  Myles C. Maxfield  <mmaxfield@apple.com>
695
696         Spelling dots are drawn in the wrong place
697         https://bugs.webkit.org/show_bug.cgi?id=190764
698
699         Reviewed by Dean Jackson.
700
701         * editing/spelling/resources/VerySmallDescentAhem.ttf: Added. In order to test repaint rects,
702               this is a version of Ahem with a very small descent, so that the dots don't intersect
703               with the text itself.
704         * editing/spelling/spelling-dots-position-2-expected-mismatch.html: Added.
705         * editing/spelling/spelling-dots-position-2.html: Added. Make sure dots are painted in the
706               correct vertical place.
707         * editing/spelling/spelling-dots-position-3-expected-mismatch.html: Added.
708         * editing/spelling/spelling-dots-position-3.html: Added. Make sure dots are painted in the
709               correct vertical place.
710         * editing/spelling/spelling-dots-position-expected.html: Added.
711         * editing/spelling/spelling-dots-position.html: Added. Make sure dots are not painted in
712               the wrong place.
713         * editing/spelling/spelling-dots-repaint-expected.html: Added.
714         * editing/spelling/spelling-dots-repaint.html: Added. Test repaint by drawing an element
715               with spelling dots, and then deleting the element from the document. The spelling
716               dots should be removed too.
717         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
718         * fast/writing-mode/english-bt-text-with-spelling-marker.html: Update the test to compensate
719               for new spelling dot positions.
720
721 2018-11-06  Ross Kirsling  <ross.kirsling@sony.com>
722
723         [WinCairo] Unreviewed layout test gardening.
724
725         * platform/wincairo/TestExpectations:
726
727 2018-11-06  Per Arne Vollan  <pvollan@apple.com>
728
729         REGRESSION (r230523): Caps lock indicator not shown in password field
730         https://bugs.webkit.org/show_bug.cgi?id=190056
731
732         Reviewed by Ryosuke Niwa.
733
734         * TestExpectations:
735         * fast/events/detect-caps-lock-expected.txt: Added.
736         * fast/events/detect-caps-lock.html: Added.
737         * platform/mac/TestExpectations:
738
739 2018-11-06  Ali Juma  <ajuma@chromium.org>
740
741         IntersectionObserver doesn't keep target's JS wrapper alive
742         https://bugs.webkit.org/show_bug.cgi?id=190235
743
744         Reviewed by Ryosuke Niwa.
745
746         Add test coverage.
747
748         Update test that depends on a target getting GC'd to call takeRecords() since
749         targets with pending entries are no logner GC'd.
750
751         * intersection-observer/intersection-observer-entry-keeps-js-wrapper-of-target-alive-expected.txt: Added.
752         * intersection-observer/intersection-observer-entry-keeps-js-wrapper-of-target-alive.html: Added.
753         * intersection-observer/intersection-observer-keeps-js-wrapper-of-target-alive-expected.txt: Added.
754         * intersection-observer/intersection-observer-keeps-js-wrapper-of-target-alive.html: Added.
755         * intersection-observer/root-element-deleted.html:
756         * intersection-observer/target-deleted-expected.txt: Added.
757         * intersection-observer/target-deleted.html: Added.
758
759 2018-11-06  Eric Carlson  <eric.carlson@apple.com>
760
761         [MediaStream] User should not be prompted again after denying getDisplayMedia request
762         https://bugs.webkit.org/show_bug.cgi?id=191227
763         <rdar://problem/45784512>
764
765         Reviewed by Youenn Fablet.
766
767         * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:
768         (-[GetDisplayMediaUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
769         (TestWebKitAPI::GetDisplayMediaTest::promptForCapture):
770         (TestWebKitAPI::TEST_F):
771
772 2018-11-06  Timothy Hatcher  <timothy@apple.com>
773
774         <picture> container doesn't update when prefers-color-scheme media query changes
775         https://bugs.webkit.org/show_bug.cgi?id=190913
776         rdar://problem/45608456
777
778         Reviewed by Dean Jackson.
779
780         * css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Added.
781         * css-dark-mode/prefers-color-scheme-picture-element.html: Added.
782         * platform/mac-highsierra/css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Added.
783         * platform/mac-sierra/css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Added.
784
785 2018-11-06  Alex Christensen  <achristensen@webkit.org>
786
787         Fix tests after r237863
788         https://bugs.webkit.org/show_bug.cgi?id=191315
789
790         Reviewed by Chris Dumez.
791
792         * platform/mac-wk2/http/tests/navigation: Added.
793         * platform/mac-wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Copied from LayoutTests/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt.
794         This test is timing related, and I need to update its WK2 expectations every time I enable or disable safe browsing checks during navigation.
795         See r237149.
796
797 2018-11-06  Ryan Haddad  <ryanhaddad@apple.com>
798
799         Unreviewed, rolling out r237834.
800
801         Tests for this change crash on iOS Simulator
802
803         Reverted changeset:
804
805         "Spelling dots are drawn in the wrong place"
806         https://bugs.webkit.org/show_bug.cgi?id=190764
807         https://trac.webkit.org/changeset/237834
808
809 2018-11-06  Youenn Fablet  <youenn@apple.com>
810
811         Make sure RTCIceCandidateStats address is undefined for host and peer reflexive case
812         https://bugs.webkit.org/show_bug.cgi?id=191263
813
814         Reviewed by Eric Carlson.
815
816         * webrtc/datachannel/getStats-no-prflx-remote-candidate-expected.txt: Added.
817         * webrtc/datachannel/getStats-no-prflx-remote-candidate.html: Added.
818
819 2018-11-06  Youenn Fablet  <youenn@apple.com>
820
821         Layout Test imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-tracks.https.html is flaky
822         https://bugs.webkit.org/show_bug.cgi?id=191278
823
824         Reviewed by Eric Carlson.
825
826         * TestExpectations:
827
828 2018-11-06  Thibault Saunier  <tsaunier@igalia.com>
829
830         [GStreamer][WebRTC] Implement black frame generation
831         https://bugs.webkit.org/show_bug.cgi?id=190684
832
833         Reviewed by Xabier Rodriguez-Calvar.
834
835         Avoiding webrtc/video-mute-vp8.html to crash but it still fails because
836         we are missing the canvas bridging code.
837
838         * platform/gtk/TestExpectations:
839         * platform/wpe/TestExpectations:
840
841 2018-11-06  Antoine Quint  <graouts@apple.com>
842
843         [Web Animations] Update all tests to match the latest API changes
844         https://bugs.webkit.org/show_bug.cgi?id=191302
845         <rdar://problem/41000438>
846
847         Reviewed by Dean Jackson.
848
849         * TestExpectations:
850         * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
851         * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
852         * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
853         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
854         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
855         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
856         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
857         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
858         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
859         * webanimations/css-animations.html:
860         * webanimations/left-and-opacity-animation-yields-no-compositing.html:
861         * webanimations/opacity-animation-no-longer-composited-upon-completion.html:
862         * webanimations/width-and-opacity-separate-animation-yields-no-compositing.html:
863
864 2018-11-06  Zan Dobersek  <zdobersek@igalia.com>
865
866         Unreviewed WPE gardening. Handle a bunch of test failures under the
867         directories containing imported W3C wpt tests. A few test expectations
868         are added, but mostly the corresponding baselines are provided.
869
870         * platform/wpe/TestExpectations:
871         * platform/wpe/http/tests/dom: Added.
872         * platform/wpe/http/tests/dom/same-origin-detached-window-properties-expected.txt: Added.
873         * platform/wpe/http/wpt: Added.
874         * platform/wpe/http/wpt/mediarecorder: Added.
875         * platform/wpe/http/wpt/mediarecorder/MediaRecorder-dataavailable-expected.txt: Added.
876         * platform/wpe/http/wpt/mediarecorder/MediaRecorder-mock-dataavailable-expected.txt: Added.
877         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input.https-expected.txt:
878         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.https-expected.txt:
879         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.https-expected.txt:
880         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/idlharness.https-expected.txt:
881         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element: Added.
882         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/hidden-expected.txt: Added.
883         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/text-expected.txt: Added.
884         * platform/wpe/imported/w3c/web-platform-tests/mimesniff: Added.
885         * platform/wpe/imported/w3c/web-platform-tests/mimesniff/mime-types: Added.
886         * platform/wpe/imported/w3c/web-platform-tests/mimesniff/mime-types/charset-parameter.window-expected.txt: Added.
887         * platform/wpe/imported/w3c/web-platform-tests/pointerevents: Added.
888         * platform/wpe/imported/w3c/web-platform-tests/pointerevents/extension: Added.
889         * platform/wpe/imported/w3c/web-platform-tests/pointerevents/extension/pointerevent_touch-action-verification-expected.txt: Added.
890         * platform/wpe/imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-illegal-expected.txt: Added.
891         * platform/wpe/imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-verification-expected.txt: Added.
892         * platform/wpe/imported/w3c/web-platform-tests/service-workers: Added.
893         * platform/wpe/imported/w3c/web-platform-tests/service-workers/service-worker: Added.
894         * platform/wpe/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw-manual.https-expected.txt: Added.
895         * platform/wpe/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-frame-resource.https-expected.txt: Added.
896         * platform/wpe/imported/w3c/web-platform-tests/shadow-dom: Added.
897         * platform/wpe/imported/w3c/web-platform-tests/shadow-dom/input-element-list-expected.txt: Added.
898         * platform/wpe/imported/w3c/web-platform-tests/xhr/formdata-blob-expected.txt: Added.
899         * platform/wpe/imported/w3c/web-platform-tests/xhr/formdata-expected.txt: Added.
900         * platform/wpe/imported/w3c/web-platform-tests/xhr/getallresponseheaders-expected.txt: Added.
901         * platform/wpe/imported/w3c/web-platform-tests/xhr/getresponseheader.any-expected.txt: Added.
902         * platform/wpe/imported/w3c/web-platform-tests/xhr/getresponseheader.any.worker-expected.txt: Added.
903         * platform/wpe/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
904
905 2018-11-06  Frederic Wang  <fwang@igalia.com>
906
907         Overlay with -webkit-overflow-scrolling:touch doesn't become scrollable after added text makes it taller
908         https://bugs.webkit.org/show_bug.cgi?id=158342
909
910         Reviewed by Simon Fraser.
911
912         Add a test to ensure the change of scrolling status is reflected in the layer and scrolling
913         trees. This test should also ASSERT in debug mode without the associated code change.
914
915         * fast/scrolling/ios/update-scroll-coordinated-status-expected.txt: Added.
916         * fast/scrolling/ios/update-scroll-coordinated-status.html: Added.
917
918 2018-11-05  Wenson Hsieh  <wenson_hsieh@apple.com>
919
920         [iOS] Swatch appears squished and off-center in inputs of type color
921         https://bugs.webkit.org/show_bug.cgi?id=191279
922         <rdar://problem/45816319>
923
924         Reviewed by Tim Horton.
925
926         * fast/forms/color/color-input-uses-color-well-appearance-expected-mismatch.html: Added.
927         * fast/forms/color/color-input-uses-color-well-appearance.html: Added.
928
929         Add a test to verify that setting `-webkit-appearance: textfield;` on a color input causes the color input to
930         render differently from a color input with a default appearance.
931
932         * platform/ios-wk1/TestExpectations:
933         * platform/ios/TestExpectations:
934
935         In the WebKit2 port of iOS, enable a handful of color input tests that are currently disabled.
936
937         * platform/ios/fast/forms/color/input-appearance-color-expected.txt:
938
939         Rebaseline an existing test on iOS.
940
941 2018-11-05  Eric Carlson  <eric.carlson@apple.com>
942
943         [MediaStream] An audio track should be muted when capture is interrupted by the OS.
944         https://bugs.webkit.org/show_bug.cgi?id=191283
945          <rdar://problem/45773103>
946
947         Reviewed by Jon Lee.
948
949         * fast/mediastream/media-stream-track-interrupted-expected.txt: Added.
950         * fast/mediastream/media-stream-track-interrupted.html: Added.
951
952 2018-11-05  Myles C. Maxfield  <mmaxfield@apple.com>
953
954         Parsing support for text-underline-offset and text-decoration-thickness
955         https://bugs.webkit.org/show_bug.cgi?id=191242
956
957         Reviewed by Simon Fraser.
958
959         * fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt:
960         * fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position.html: Update the
961         test for the new grammar of text-underline-position
962         * fast/css3-text/css3-text-decoration/text-decoration-thickness-parse-expected.txt: Added.
963         * fast/css3-text/css3-text-decoration/text-decoration-thickness-parse.html: Added.
964         * fast/css3-text/css3-text-decoration/text-underline-offset-parse-expected.txt: Added.
965         * fast/css3-text/css3-text-decoration/text-underline-offset-parse.html: Added.
966
967 2018-11-05  Myles C. Maxfield  <mmaxfield@apple.com>
968
969         Spelling dots are drawn in the wrong place
970         https://bugs.webkit.org/show_bug.cgi?id=190764
971
972         Reviewed by Dean Jackson.
973
974         * editing/spelling/resources/VerySmallDescentAhem.ttf: Added. In order to test repaint rects,
975               this is a version of Ahem with a very small descent, so that the dots don't intersect
976               with the text itself.
977         * editing/spelling/spelling-dots-position-2-expected-mismatch.html: Added.
978         * editing/spelling/spelling-dots-position-2.html: Added. Make sure dots are painted in the
979               correct vertical place.
980         * editing/spelling/spelling-dots-position-3-expected-mismatch.html: Added.
981         * editing/spelling/spelling-dots-position-3.html: Added. Make sure dots are painted in the
982               correct vertical place.
983         * editing/spelling/spelling-dots-position-expected.html: Added.
984         * editing/spelling/spelling-dots-position.html: Added. Make sure dots are not painted in
985               the wrong place.
986         * editing/spelling/spelling-dots-repaint-expected.html: Added.
987         * editing/spelling/spelling-dots-repaint.html: Added. Test repaint by drawing an element
988               with spelling dots, and then deleting the element from the document. The spelling
989               dots should be removed too.
990         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
991         * fast/writing-mode/english-bt-text-with-spelling-marker.html: Update the test to compensate
992               for new spelling dot positions.
993
994 2018-11-05  Ryan Haddad  <ryanhaddad@apple.com>
995
996         Layout Test imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-tracks.https.html is flaky
997         https://bugs.webkit.org/show_bug.cgi?id=191278
998
999         Unreviewed test gardening.
1000
1001         * TestExpectations: Mark test as flaky.
1002
1003 2018-11-05  Chris Dumez  <cdumez@apple.com>
1004
1005         Crash under DOMWindow::postMessageTimerFired()
1006         https://bugs.webkit.org/show_bug.cgi?id=191217
1007         <rdar://problem/40888466>
1008
1009         Reviewed by Geoffrey Garen.
1010
1011         Add layout test coverage.
1012
1013         * fast/dom/Window/remove-frame-in-message-event-handler-expected.txt: Added.
1014         * fast/dom/Window/remove-frame-in-message-event-handler.html: Added.
1015
1016 2018-11-05  Wenson Hsieh  <wenson_hsieh@apple.com>
1017
1018         [iOS] Changing view scale sometimes does not zoom the page to the new initial scale when the page is zoomed in when ignoring meta viewport
1019         https://bugs.webkit.org/show_bug.cgi?id=191226
1020         <rdar://problem/45781765>
1021
1022         Reviewed by Tim Horton.
1023
1024         Add a new layout test that sets the view scale to several values greater than or equal to 1 and verifies that
1025         the minimum scale and resulting scroll view scale are exactly the same as the view scale, when (1) the "ignores
1026         meta viewport" preference is enabled, and (2) the viewport is forced to be always scalable.
1027
1028         * fast/viewport/ios/minimum-scale-after-changing-view-scale-expected.txt: Added.
1029         * fast/viewport/ios/minimum-scale-after-changing-view-scale.html: Added.
1030
1031 2018-11-05  Matt Baker  <mattbaker@apple.com>
1032
1033         Web Inspector: Table selection should not require that rows be in the cache
1034         https://bugs.webkit.org/show_bug.cgi?id=190993
1035         <rdar://problem/45613812>
1036
1037         Reviewed by Devin Rousso.
1038
1039         Add a test that a table row that is not in the cache can be selected/deselected.
1040
1041         * inspector/table/table-selection-expected.txt:
1042         * inspector/table/table-selection.html:
1043
1044 2018-11-05  Devin Rousso  <drousso@apple.com>
1045
1046         Web Inspector: show save/restore stack for recorded 2D Canvases
1047         https://bugs.webkit.org/show_bug.cgi?id=175283
1048         <rdar://problem/34040756>
1049
1050         Reviewed by Matt Baker.
1051
1052         * inspector/canvas/recording-2d.html:
1053         * inspector/canvas/resources/recording-utilities.js:
1054         (TestPage.registerInitializer.log):
1055         (TestPage.registerInitializer.async logRecording):
1056
1057 2018-11-05  Thibault Saunier  <tsaunier@igalia.com>
1058
1059         [GStreamer][WebRTC] Error out when simulcast is activated
1060         https://bugs.webkit.org/show_bug.cgi?id=190678
1061
1062         Reviewed by Philippe Normand.
1063
1064         Implementing it is not for now yet.
1065         Tests for simulcast have been disabled as they now fail (instead of crashing).
1066
1067         * platform/gtk/TestExpectations:
1068         * platform/wpe/TestExpectations:
1069
1070 2018-11-05  Zan Dobersek  <zdobersek@igalia.com>
1071
1072         Unreviewed WPE gardening. Updating or adding various baselines. Also
1073         adding new failure expectations for tests that need a closer look.
1074
1075         * platform/wpe/TestExpectations:
1076         * platform/wpe/fast/block/basic/child-block-level-box-with-height-percent-expected.txt: Added.
1077         * platform/wpe/fast/block/basic/height-percentage-simple-expected.txt: Added.
1078         * platform/wpe/fast/block/basic/inline-content-with-floating-image-expected.txt: Added.
1079         * platform/wpe/fast/block/basic/inline-content-with-floating-images2-expected.txt: Added.
1080         * platform/wpe/fast/block/basic/quirk-mode-percent-height-expected.txt: Added.
1081         * platform/wpe/fast/history: Added.
1082         * platform/wpe/fast/history/page-cache-webdatabase-pending-transaction-expected.txt: Added.
1083         * platform/wpe/fast/inline-block/14498-positionForCoordinates-expected.txt:
1084         * platform/wpe/fast/inline/simple-inline-block-expected.txt: Added.
1085         * platform/wpe/fast/inline/simple-intruding-float1-expected.txt: Added.
1086         * platform/wpe/fast/inline/simple-intruding-floats2-expected.txt: Added.
1087         * platform/wpe/fast/inline/simple-intruding-floats3-expected.txt: Added.
1088         * platform/wpe/fast/inline/simple-shrink-to-fit-inline-block-expected.txt: Added.
1089         * platform/wpe/webgl/2.0.0/conformance/canvas/drawingbuffer-test-expected.txt: Added.
1090         * platform/wpe/webgl/2.0.0/conformance/context/context-attributes-alpha-depth-stencil-antialias-expected.txt:
1091         * platform/wpe/webgl/2.0.0/conformance/context/context-hidden-alpha-expected.txt:
1092         * platform/wpe/webgl/2.0.0/conformance/extensions/get-extension-expected.txt:
1093         * platform/wpe/webgl/2.0.0/conformance/extensions/oes-texture-half-float-with-image-data-expected.txt: Added.
1094         * platform/wpe/webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance-expected.txt:
1095         * platform/wpe/webgl/2.0.0/conformance/rendering/multisample-corruption-expected.txt:
1096         * platform/wpe/webgl/2.0.0/conformance2/buffers/bound-buffer-size-change-test-expected.txt:
1097         * platform/wpe/webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders-expected.txt:
1098
1099 2018-11-04  Zalan Bujtas  <zalan@apple.com>
1100
1101         [LFC][BFC] Add support for percentage height in quirks mode.
1102         https://bugs.webkit.org/show_bug.cgi?id=191232
1103
1104         Reviewed by Antti Koivisto.
1105
1106         * fast/block/basic/quirk-mode-percent-height-expected.txt: Added.
1107         * fast/block/basic/quirk-mode-percent-height.html: Added.
1108         * platform/ios/TestExpectations:
1109
1110 2018-11-04  Zalan Bujtas  <zalan@apple.com>
1111
1112         [LFC][BCF] Add support for block level non-replaced inflow height percentage
1113         https://bugs.webkit.org/show_bug.cgi?id=191229
1114
1115         Reviewed by Antti Koivisto.
1116
1117         * fast/block/basic/child-block-level-box-with-height-percent-expected.txt: Added.
1118         * fast/block/basic/child-block-level-box-with-height-percent.html: Added.
1119         * platform/ios/TestExpectations:
1120
1121 2018-11-03  Devin Rousso  <drousso@apple.com>
1122
1123         Web Inspector: Canvas: capture changes to <canvas> that would affect the recorded context
1124         https://bugs.webkit.org/show_bug.cgi?id=190854
1125
1126         Reviewed by Matt Baker.
1127
1128         * inspector/canvas/recording-2d-expected.txt:
1129         * inspector/canvas/recording-2d.html:
1130         * inspector/canvas/recording-bitmaprenderer-expected.txt:
1131         * inspector/canvas/recording-bitmaprenderer.html:
1132         * inspector/canvas/recording-webgl-expected.txt:
1133         * inspector/canvas/recording-webgl.html:
1134
1135 2018-11-03  Andy Estes  <aestes@apple.com>
1136
1137         [Payment Request] PaymentResponse.retry()'s errorFields should be optional
1138         https://bugs.webkit.org/show_bug.cgi?id=191212
1139
1140         Reviewed by Youenn Fablet.
1141
1142         * http/tests/paymentrequest/payment-response-retry-method.https-expected.txt:
1143         * http/tests/paymentrequest/payment-response-retry-method.https.html:
1144
1145 2018-11-02  Zalan Bujtas  <zalan@apple.com>
1146
1147         [LFC][BFC] Resolve percentage height values.
1148         https://bugs.webkit.org/show_bug.cgi?id=191224
1149
1150         Reviewed by Antti Koivisto.
1151
1152         * fast/block/basic/height-percentage-simple-expected.txt: Added.
1153         * fast/block/basic/height-percentage-simple.html: Added.
1154         * platform/ios/TestExpectations:
1155
1156 2018-11-03  Youenn Fablet  <youenn@apple.com>
1157
1158         Refresh WPT webrtc tests
1159         https://bugs.webkit.org/show_bug.cgi?id=191133
1160
1161         Reviewed by Eric Carlson.
1162
1163         * TestExpectations:
1164
1165 2018-11-03  Eric Carlson  <eric.carlson@apple.com>
1166
1167         [MediaStream] enumerateDevices should not expose devices that are not available to getUserMedia
1168         https://bugs.webkit.org/show_bug.cgi?id=191177
1169         <rdar://problem/45747873>
1170
1171         Reviewed by Jer Noble.
1172
1173         * http/tests/media/media-stream/enumerate-devices-iframe-allow-attribute-expected.txt: Added.
1174         * http/tests/media/media-stream/enumerate-devices-iframe-allow-attribute.html: Added.
1175         * http/tests/media/media-stream/resources/enumerate-devices-iframe.html: Added.
1176         * http/tests/ssl/media-stream/get-user-media-different-host-expected.txt: Rebased for updated logging.
1177         * http/tests/ssl/media-stream/get-user-media-nested-expected.txt: Ditto.
1178
1179 2018-11-02  Justin Michaud  <justin_michaud@apple.com>
1180
1181         Add new global object and preliminary Worklets support for CSS painting api
1182         https://bugs.webkit.org/show_bug.cgi?id=190979
1183
1184         Reviewed by Chris Dumez.
1185
1186         Add a new test harness for worklet tests, since they do not have access to the dom.
1187
1188         * fast/css-custom-paint/basic-expected.txt:
1189         * fast/css-custom-paint/basic.html:
1190         * fast/css-custom-paint/registerPaintBindings-expected.html: Added.
1191         * fast/css-custom-paint/registerPaintBindings-expected.txt: Removed.
1192         * fast/css-custom-paint/registerPaintBindings.html:
1193         * fast/css-custom-paint/resources/testharness-worklet.js: Added.
1194         (format_value):
1195         * fast/css-custom-paint/resources/testharness.js: Added.
1196         (async.importWorklet):
1197         * fast/css-custom-paint/worklet-expected.html: Added.
1198         * fast/css-custom-paint/worklet.html: Added.
1199
1200 2018-11-02  Chris Dumez  <cdumez@apple.com>
1201
1202         REGRESSION (r237699): Layout Test http/tests/security/anchor-download-block-crossorigin.html is a flaky failure
1203         https://bugs.webkit.org/show_bug.cgi?id=191199
1204
1205         Reviewed by Dewei Zhu.
1206
1207         Navigate the subframe instead of the main frame, to make sure that the console message is consistently logged.
1208
1209         * http/tests/security/anchor-download-block-crossorigin-expected.txt:
1210         * http/tests/security/anchor-download-block-crossorigin.html:
1211
1212 2018-11-02  Per Arne Vollan  <pvollan@apple.com>
1213
1214         [Win] Layout Test fast/block/basic/inline-content-with-floating-image.html is failing
1215         https://bugs.webkit.org/show_bug.cgi?id=191194
1216
1217         Unreviewed test gardening.
1218
1219         * platform/win/TestExpectations:
1220
1221 2018-11-02  Wenson Hsieh  <wenson_hsieh@apple.com>
1222
1223         [iOS] Changing view scale sometimes does not zoom the page to the new initial scale, when the page is at initial scale
1224         https://bugs.webkit.org/show_bug.cgi?id=191180
1225         <rdar://problem/45744786>
1226
1227         Reviewed by Simon Fraser.
1228
1229         Add a layout test, and make some adjustments to UIHelper.
1230
1231         * fast/viewport/ios/constant-width-viewport-after-changing-view-scale.html:
1232         * fast/viewport/ios/device-width-viewport-after-changing-view-scale.html:
1233         * fast/viewport/ios/viewport-minimum-and-initial-scale-expected.txt: Added.
1234         * fast/viewport/ios/viewport-minimum-and-initial-scale.html: Added.
1235
1236         Add a new layout test that contains a viewport meta tag with minimum and initial scales set to 0.94, and checks
1237         that the resulting minimum and initial scales are 0.94 instead of 0.94158.
1238
1239         * fast/viewport/watchos/viewport-disable-extra-zoom-adaptations.html:
1240         * resources/ui-helper.js:
1241
1242         Make UIHelper.zoomScale return a number rather than a string, and adjust a few call sites.
1243
1244         (window.UIHelper.zoomScale):
1245         (window.UIHelper.minimumZoomScale):
1246         (window.UIHelper):
1247
1248 2018-11-02  Daniel Bates  <dabates@apple.com>
1249
1250         [iOS] WebKit should dispatch DOM events when a modifier key is pressed
1251         https://bugs.webkit.org/show_bug.cgi?id=190487
1252
1253         Reviewed by Tim Horton.
1254
1255         Update expected results of an existing test now that we identify modifier keys.
1256
1257         * fast/events/ios/keydown-keyup-special-keys-in-non-editable-element-expected.txt:
1258
1259 2018-11-02  Ali Juma  <ajuma@chromium.org>
1260
1261         Allow cross-document intersection observing
1262         https://bugs.webkit.org/show_bug.cgi?id=165746
1263
1264         Reviewed by Simon Fraser.
1265
1266         Add a test that cross-document intersection observations are triggered when an intermediate frame
1267         scrolls. Skip the test on WK1 platforms where IntersectionObserver is not supported.
1268
1269         Add platform-specific baselines for tests involving iframe scrolling, which isn't supported on iOS.
1270
1271         * http/tests/intersection-observer/intermediate-frame-changes-expected.txt: Added.
1272         * http/tests/intersection-observer/intermediate-frame-changes.html: Added.
1273         * http/tests/intersection-observer/resources/intermediate-frame.html: Added.
1274         * http/tests/intersection-observer/resources/nested-frame.html: Added.
1275         * platform/ios/imported/w3c/web-platform-tests/intersection-observer/cross-origin-iframe-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/intersection-observer/cross-origin-iframe-expected.txt.
1276         * platform/ios/imported/w3c/web-platform-tests/intersection-observer/iframe-no-root-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/intersection-observer/iframe-no-root-expected.txt.
1277         * platform/mac-wk1/TestExpectations:
1278         * platform/win/TestExpectations:
1279         * platform/wincairo/TestExpectations:
1280
1281 2018-11-02  Per Arne Vollan  <pvollan@apple.com>
1282
1283         [Win] Layout Test fast/block/basic/inline-content-with-floating-image.html is failing
1284         https://bugs.webkit.org/show_bug.cgi?id=191194
1285
1286         Unreviewed test gardening.
1287
1288         * platform/win/TestExpectations:
1289
1290 2018-11-02  Zalan Bujtas  <zalan@apple.com>
1291
1292         [LFC][IFC] Add support for intrinsic width calculation
1293         https://bugs.webkit.org/show_bug.cgi?id=191144
1294
1295         Reviewed by Antti Koivisto.
1296
1297         * fast/inline/simple-shrink-to-fit-inline-block-expected.txt: Added.
1298         * fast/inline/simple-shrink-to-fit-inline-block.html: Added.
1299         * platform/ios/TestExpectations:
1300
1301 2018-11-01  Philippe Normand  <pnormand@igalia.com>
1302
1303         [Apache] Self-signed SSL certificate RSA key is considered too weak
1304         https://bugs.webkit.org/show_bug.cgi?id=191156
1305
1306         Reviewed by Michael Catanzaro.
1307
1308         Regenerate the self-signed SSL certificate with a 2048 bits RSA key.
1309
1310         * http/conf/webkit-httpd.pem:
1311
1312 2018-11-01  Antoine Quint  <graouts@apple.com>
1313
1314         [Web Animations] Make document.getAnimations() return declarative animations in the correct order
1315         https://bugs.webkit.org/show_bug.cgi?id=191153
1316
1317         Reviewed by Dean Jackson.
1318
1319         Mark that the two document.getAnimations() tests for declarative animations are no longer flaky.
1320
1321         * TestExpectations:
1322
1323 2018-11-02  Justin Fan  <justin_fan@apple.com>
1324
1325         [WebGPU] Experimental prototype for MSL shaders
1326         https://bugs.webkit.org/show_bug.cgi?id=191084
1327
1328         Reviewed by Dean Jackson.
1329
1330         * webgpu/shader-modules.html: Added.
1331         * webgpu/shader-modules-expected.html: Added.
1332         * webgpu/webgpu-basics.html: Added.
1333         * webgpu/webgpu-basics-expected.html: Added.
1334
1335 2018-11-01  Devin Rousso  <drousso@apple.com>
1336
1337         Web Inspector: View: introduce a didLayoutSubtree
1338         https://bugs.webkit.org/show_bug.cgi?id=191176
1339
1340         Reviewed by Matt Baker.
1341
1342         * inspector/view/resources/test-view.js:
1343         (TestPage.registerInitializer.WI.TestView.prototype.layout):
1344         (TestPage.registerInitializer.WI.TestView.prototype.didLayoutSubtree): Added.
1345
1346 2018-11-01  Chris Dumez  <cdumez@apple.com>
1347
1348         Location object sans browsing context
1349         https://bugs.webkit.org/show_bug.cgi?id=191060
1350
1351         Reviewed by Geoffrey Garen.
1352
1353         Update existing tests to reflect behavior change.
1354
1355         * http/tests/dom/same-origin-detached-window-properties-expected.txt:
1356         * http/tests/dom/same-origin-detached-window-properties.html:
1357         * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html:
1358         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
1359         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
1360         * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html:
1361
1362 2018-11-01  Ross Kirsling  <ross.kirsling@sony.com>
1363
1364         [WinCairo] Unreviewed layout test gardening.
1365
1366         (Also remove one outdated global test failure.)
1367
1368         * TestExpectations:
1369         * platform/wincairo/TestExpectations:
1370
1371 2018-11-01  Sihui Liu  <sihui_liu@apple.com>
1372
1373         Add a storage limit for IndexedDB
1374         https://bugs.webkit.org/show_bug.cgi?id=190598
1375         <rdar://problem/44654715>
1376
1377         Reviewed by Chris Dumez.
1378
1379         Some tests will fail after adding storage limit to IndexedDB, so we need to reduce their 
1380         size and rebase their expectations.
1381
1382         * storage/indexeddb/key-type-array-expected.txt:
1383         * storage/indexeddb/key-type-array-private-expected.txt:
1384         * storage/indexeddb/modern/idbkey-array-equality-expected.txt:
1385         * storage/indexeddb/modern/idbkey-array-equality-private-expected.txt:
1386         * storage/indexeddb/modern/resources/idbkey-array-equality.js:
1387         (request.onsuccess):
1388         (request.onerror):
1389         (doAdd):
1390         * storage/indexeddb/prefetch-invalidation-expected.txt:
1391         * storage/indexeddb/prefetch-invalidation-private-expected.txt:
1392         * storage/indexeddb/resources/key-type-array.js:
1393         (testValidArrayKeys.getreq.onsuccess):
1394         (testValidArrayKeys.putreq.onsuccess):
1395         (testValidArrayKeys.testArrayPutGet):
1396         * storage/indexeddb/resources/prefetch-invalidation.js:
1397         (cursorRequest.onsuccess):
1398         (continue50Times):
1399         (continue100Times): Deleted.
1400         * storage/indexeddb/resources/storage-limit.js: Added.
1401         (prepareDatabase):
1402         (onOpenSuccess.request.onerror):
1403         (onOpenSuccess.request.onsuccess):
1404         (onOpenSuccess):
1405         * storage/indexeddb/storage-limit-expected.txt: Added.
1406         * storage/indexeddb/storage-limit.html: Added.
1407
1408 2018-11-01  Chris Dumez  <cdumez@apple.com>
1409
1410         Unreviewed, mark a couple of newly imported WPT tests as flaky on Mac WK1.
1411
1412         * platform/mac-wk1/TestExpectations:
1413
1414 2018-11-01  Justin Michaud  <justin_michaud@apple.com>
1415
1416         CSS Custom Properties API Should Support syntax="*" and "<length>", and handle cycles properly
1417         https://bugs.webkit.org/show_bug.cgi?id=191042
1418
1419         Reviewed by Antti Koivisto.
1420
1421         * css-custom-properties-api/crash-expected.txt: Added.
1422         * css-custom-properties-api/crash.html: Added.
1423         * css-custom-properties-api/cycles-expected.txt: Added.
1424         * css-custom-properties-api/cycles.html: Added.
1425         * css-custom-properties-api/inline-expected.txt: Added.
1426         * css-custom-properties-api/inline.html: Added.
1427
1428 2018-11-01  Guillaume Emont  <guijemont@igalia.com>
1429
1430         Skip tests on arm/mips that time out now we're running on CLoop
1431
1432         Unreviewed gardening.
1433
1434         Since the JIT is temporarily disabled on 32-bit platforms, these tests
1435         time out on the bots and need to be disabled. There's more tests
1436         disabled on arm because the timeout is longer on the mips bot (as the
1437         device is slower to start with), so many of the tests don't time out
1438         there.
1439
1440         * js/script-tests/regress-139548.js: disable on arm and mips.
1441
1442 2018-11-01  Devin Rousso  <drousso@apple.com>
1443
1444         Web Inspector: fix debug WK1 test failures for WI.ObjectStore
1445         https://bugs.webkit.org/show_bug.cgi?id=191158
1446
1447         Reviewed by Joseph Pecoraro.
1448
1449         * inspector/unit-tests/objectStore/delete.html:
1450         * inspector/unit-tests/objectStore/deleteObject.html:
1451         * inspector/unit-tests/objectStore/resources/objectStore-utilities.js:
1452         (TestPage.registerInitializer):
1453
1454 2018-11-01  Said Abou-Hallawa  <sabouhallawa@apple.com>
1455
1456         [CG] Adopt CG SPI for non-even cornered rounded rects
1457         https://bugs.webkit.org/show_bug.cgi?id=190155
1458
1459         Reviewed by Simon Fraser.
1460
1461         This test fails on iOS simulator because of just one pixel difference
1462         between drawing a shadow of the element and drawing a copy of the element.
1463         This failure happens on iOS and does not happen on macOS because we don't 
1464         use accelerated drawing for macOS testing but we use it for iOS testing.
1465
1466         * platform/ios/TestExpectations:
1467
1468 2018-11-01  Chris Dumez  <cdumez@apple.com>
1469
1470         [PSON] Unable to submit a file in FormData cross-site
1471         https://bugs.webkit.org/show_bug.cgi?id=191138
1472
1473         Reviewed by Alex Christensen.
1474
1475         Add layout test coverage.
1476
1477         * http/tests/misc/form-submit-file-cross-site-expected.txt:
1478         * http/tests/misc/form-submit-file-cross-site.html:
1479
1480 2018-11-01  Devin Rousso  <drousso@apple.com>
1481
1482         Unreviewed test fix after r237670.
1483
1484         * inspector/canvas/setRecordingAutoCaptureFrameCount-expected.txt:
1485         * inspector/canvas/setRecordingAutoCaptureFrameCount.html:
1486         Make the `CanvasAdded` event listener synchronous, so it won't miss the `RecordingStarted`
1487         or `RecordingStopped` events, since `awaitEvent` evaluates on the next tick.
1488
1489 2018-10-31  Zalan Bujtas  <zalan@apple.com>
1490
1491         [LFC][IFC] Add support for inline-block elements.
1492         https://bugs.webkit.org/show_bug.cgi?id=191143
1493
1494         Reviewed by Antti Koivisto.
1495
1496         * fast/inline/simple-inline-block-expected.txt: Added.
1497         * fast/inline/simple-inline-block.html: Added.
1498         * platform/ios/TestExpectations:
1499
1500 2018-11-01  YUHAN WU  <yuhan_wu@apple.com>
1501
1502         MediaRecorder should fire dataavailable event when all tracks are ended and stop() is called
1503         https://bugs.webkit.org/show_bug.cgi?id=190778
1504         <rdar://problem/45703574>
1505
1506         Reviewed by Youenn Fablet.
1507
1508         Remove share FileReader object between three asynchronous tests which might cause flaky failure.
1509         We will need to fix all the falky failures in this test after we implement timeslice.
1510
1511         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html:
1512
1513 2018-10-31  Devin Rousso  <drousso@apple.com>
1514
1515         Web Inspector: Canvas: create a setting for auto-recording newly created contexts
1516         https://bugs.webkit.org/show_bug.cgi?id=190856
1517
1518         Reviewed by Brian Burg.
1519
1520         * inspector/canvas/resources/recording-utilities.js:
1521         (TestPage.registerInitializer.window.startRecording):
1522         (TestPage.registerInitializer.handleRecordingProgress):
1523         * inspector/canvas/recording-2d.html:
1524         * inspector/canvas/recording-bitmaprenderer.html:
1525         * inspector/canvas/recording-webgl-snapshots.html:
1526         * inspector/canvas/recording-webgl.html:
1527
1528         * inspector/canvas/setRecordingAutoCaptureFrameCount-expected.txt: Added.
1529         * inspector/canvas/setRecordingAutoCaptureFrameCount.html: Added.
1530
1531 2018-10-31  Devin Rousso  <drousso@apple.com>
1532
1533         Web Inspector: Audit: save imported audits across WebInspector sessions
1534         https://bugs.webkit.org/show_bug.cgi?id=190858
1535         <rdar://problem/45527625>
1536
1537         Reviewed by Brian Burg.
1538
1539         * inspector/unit-tests/objectStore/add-expected.txt: Added.
1540         * inspector/unit-tests/objectStore/add.html: Added.
1541         * inspector/unit-tests/objectStore/addObject-expected.txt: Added.
1542         * inspector/unit-tests/objectStore/addObject.html: Added.
1543         * inspector/unit-tests/objectStore/basic-expected.txt: Added.
1544         * inspector/unit-tests/objectStore/basic.html: Added.
1545         * inspector/unit-tests/objectStore/delete-expected.txt: Added.
1546         * inspector/unit-tests/objectStore/delete.html: Added.
1547         * inspector/unit-tests/objectStore/deleteObject-expected.txt: Added.
1548         * inspector/unit-tests/objectStore/deleteObject.html: Added.
1549         * inspector/unit-tests/objectStore/resources/objectStore-utilities.js: Added.
1550         (TestPage.registerInitializer.InspectorTest.ObjectStore.TestObject):
1551         (TestPage.registerInitializer.InspectorTest.ObjectStore.TestObject.prototype.toJSON):
1552         (TestPage.registerInitializer.InspectorTest.ObjectStore.createSuite):
1553         (TestPage.registerInitializer.InspectorTest.ObjectStore.createObjectStore):
1554         (TestPage.registerInitializer.InspectorTest.ObjectStore.add):
1555         (TestPage.registerInitializer.InspectorTest.ObjectStore.addObject):
1556         (TestPage.registerInitializer.InspectorTest.ObjectStore.delete):
1557         (TestPage.registerInitializer.InspectorTest.ObjectStore.deleteObject):
1558         (TestPage.registerInitializer.InspectorTest.ObjectStore.logValues):
1559         (TestPage.registerInitializer.InspectorTest.ObjectStore.wrapTest):
1560
1561 2018-10-31  Alicia Boya García  <aboya@igalia.com>
1562
1563         [MSE] Use tolerance when growing the coded frame group
1564         https://bugs.webkit.org/show_bug.cgi?id=190085
1565
1566         Reviewed by Jer Noble.
1567
1568         A test simulating unordered appends with imprecise timestamps,
1569         overlapping <1ms (replicating a typical WebM 30fps video file) is
1570         added.
1571
1572         * media/media-source/media-source-append-acb-tolerance.html: Added.
1573
1574 2018-10-31  Devin Rousso  <drousso@apple.com>
1575
1576         Web Inspector: Audit: attempt to re-link DOM nodes for imported results
1577         https://bugs.webkit.org/show_bug.cgi?id=191044
1578         <rdar://problem/45687364>
1579
1580         Reviewed by Brian Burg.
1581
1582         * inspector/model/auditTestCase.html:
1583         * inspector/model/auditTestCaseResult.html:
1584         * inspector/model/auditTestGroup.html:
1585         * inspector/model/auditTestGroupResult.html:
1586
1587 2018-10-31  Jer Noble  <jer.noble@apple.com>
1588
1589         MediaSource.isTypeSupported('video/mp4; codecs="hvc1.1.6.L60.B0') is inproperly rejected
1590         https://bugs.webkit.org/show_bug.cgi?id=191129
1591
1592         Reviewed by Eric Carlson.
1593
1594         * media/media-source/media-source-istypesupported-case-sensitive-expected.txt: Added.
1595         * media/media-source/media-source-istypesupported-case-sensitive.html: Added.
1596
1597 2018-10-31  Alicia Boya García  <aboya@igalia.com>
1598
1599         [MSE] WebKit tests: Use fixed point in makeASample()
1600         https://bugs.webkit.org/show_bug.cgi?id=191128
1601
1602         Reviewed by Jer Noble.
1603
1604         This patch modifies the utility function makeASample() so as to accept
1605         time values in arbitrary time scales.
1606
1607         Previously makeASample() accepted optionally a time scale, but still
1608         required to receive all time values as seconds, therefore requiring a
1609         division at call time in order to use the function, which could cause
1610         rounding errors (see https://bugs.webkit.org/show_bug.cgi?id=190085#c20).
1611
1612         * media/media-source/media-source-append-acb-no-frame-lost-expected.txt:
1613         * media/media-source/media-source-append-acb-no-frame-lost.html:
1614         * media/media-source/media-source-append-buffer-with-append-window.html:
1615         * media/media-source/media-source-append-media-segment-without-init.html:
1616         * media/media-source/media-source-append-nonsync-sample-after-abort.html:
1617         * media/media-source/media-source-append-out-of-order.html:
1618         * media/media-source/media-source-append-overlapping-dts-expected.txt:
1619         * media/media-source/media-source-append-overlapping-dts.html:
1620         * media/media-source/media-source-canplaythrough.html:
1621         * media/media-source/media-source-duplicate-seeked.html:
1622         * media/media-source/media-source-duration-after-append.html:
1623         * media/media-source/media-source-end-of-stream-buffered.html:
1624         * media/media-source/media-source-end-of-stream-readyState.html:
1625         * media/media-source/media-source-fastseek.html:
1626         * media/media-source/media-source-fudge-factor.html:
1627         * media/media-source/media-source-monitor-source-buffers.html:
1628         * media/media-source/media-source-overlapping-append-buffered.html:
1629         * media/media-source/media-source-overlapping-append-expected.txt:
1630         * media/media-source/media-source-overlapping-append.html:
1631         * media/media-source/media-source-overlapping-decodetime-expected.txt:
1632         * media/media-source/media-source-overlapping-decodetime.html:
1633         * media/media-source/media-source-play.html:
1634         * media/media-source/media-source-range-end-frame-not-removed-expected.txt:
1635         * media/media-source/media-source-range-end-frame-not-removed.html:
1636         * media/media-source/media-source-range-start-frame-replaced-expected.txt:
1637         * media/media-source/media-source-range-start-frame-replaced.html:
1638         * media/media-source/media-source-remove-decodeorder-crash.html:
1639         * media/media-source/media-source-remove-too-much.html:
1640         * media/media-source/media-source-remove.html:
1641         * media/media-source/media-source-restrictions.html:
1642         * media/media-source/media-source-sample-wrong-track-id.html:
1643         * media/media-source/media-source-seek-back-expected.txt:
1644         * media/media-source/media-source-seek-back.html:
1645         * media/media-source/media-source-seek-complete.html:
1646         * media/media-source/media-source-sequence-timestamps-expected.txt:
1647         * media/media-source/media-source-sequence-timestamps.html:
1648         * media/media-source/media-source-small-gap.html:
1649         * media/media-source/media-source-timeoffset-expected.txt:
1650         * media/media-source/media-source-timeoffset.html:
1651         * media/media-source/media-source-timestampoffset-rounding-error.html:
1652         * media/media-source/media-source-timestampoffset-then-zero-expected.txt:
1653         * media/media-source/media-source-timestampoffset-then-zero.html:
1654         * media/media-source/media-source-video-playback-quality.html:
1655         * media/media-source/mock-media-source.js:
1656         (makeASample):
1657
1658 2018-10-31  YUHAN WU  <yuhan_wu@apple.com>
1659
1660         MediaRecorder should fire dataavailable event when all tracks are ended and stop() is called
1661         https://bugs.webkit.org/show_bug.cgi?id=190778
1662         <rdar://problem/45703574>
1663
1664         Reviewed by Youenn Fablet.
1665
1666         Increase the timer of recording to 2 seconds until we support timeslice in order to reduce flakiness.
1667
1668         * http/wpt/mediarecorder/MediaRecorder-dataavailable.html:
1669         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html:
1670
1671 2018-10-31  Zach Li  <zacharyli323@gmail.com>
1672
1673         Add credit card autofill button
1674         https://bugs.webkit.org/show_bug.cgi?id=191051
1675         <rdar://problem/45657011>
1676
1677         Reviewed by Wenson Hsieh.
1678
1679         * fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: Added.
1680         * fast/forms/auto-fill-button/input-credit-card-auto-fill-button.html: Added.
1681         * fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt:
1682         * fast/forms/auto-fill-button/last-auto-fill-button-type.html:
1683         * platform/ios-simulator/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: Added.
1684         * platform/mac/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.png: Added.
1685         * platform/win/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: Added.
1686
1687 2018-10-31  Devin Rousso  <drousso@apple.com>
1688
1689         Web Inspector: Audit: show metadata for results
1690         https://bugs.webkit.org/show_bug.cgi?id=190853
1691         <rdar://problem/45527623>
1692
1693         Reviewed by Brian Burg.
1694
1695         * inspector/model/auditTestCaseResult-expected.txt:
1696         * inspector/model/auditTestCaseResult.html:
1697         * inspector/model/auditTestGroupResult-expected.txt:
1698         * inspector/model/auditTestGroupResult.html:
1699         * inspector/unit-tests/string-utilities-expected.txt:
1700         * inspector/unit-tests/string-utilities.html:
1701
1702 2018-10-31  Eric Carlson  <eric.carlson@apple.com>
1703
1704         [MediaStream] Don't reveal device IDs until the user has granted permission to capture
1705         https://bugs.webkit.org/show_bug.cgi?id=191112
1706         <rdar://problem/45699932>
1707
1708         Reviewed by Youenn Fablet.
1709
1710         * TestExpectations: Skip http/tests/media/media-stream/enumerate-devices-source-id-persistent.html
1711         and http/tests/media/media-stream/enumerate-devices-source-id.html for now, they don't make sense
1712         with these changes and will be updated to pass in a future patch.
1713         * fast/mediastream/MediaStreamTrack-getCapabilities.html:
1714         * fast/mediastream/get-user-media-device-id-expected.txt:
1715         * fast/mediastream/get-user-media-device-id.html:
1716
1717 2018-10-31  YUHAN WU  <yuhan_wu@apple.com>
1718
1719         MediaRecorder should fire dataavailable event when all tracks are ended and stop() is called
1720         https://bugs.webkit.org/show_bug.cgi?id=190778
1721
1722         Reviewed by Youenn Fablet.
1723
1724         These tests are used to check if MediaRecorder can generate both video and audio buffers through mock source.
1725
1726         * http/wpt/mediarecorder/MediaRecorder-dataavailable-expected.txt: Added.
1727         * http/wpt/mediarecorder/MediaRecorder-dataavailable.html: Added.
1728         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable-expected.txt: Added.
1729         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html: Added.
1730         * platform/win/TestExpectations:
1731
1732 2018-10-31  Chris Dumez  <cdumez@apple.com>
1733
1734         [PSON] When process-swapping for a POST request the HTTP body gets dropped
1735         https://bugs.webkit.org/show_bug.cgi?id=191046
1736         <rdar://problem/45229732>
1737
1738         Reviewed by Alex Christensen.
1739
1740         Add layout test coverage.
1741
1742         * http/tests/misc/form-post-textplain-cross-site-expected.txt: Added.
1743         * http/tests/misc/form-post-textplain-cross-site.html: Added.
1744
1745 2018-10-30  David Kilzer  <ddkilzer@apple.com>
1746
1747         XSLTProcessor should limit max transform depth
1748         <https://webkit.org/b/191075>
1749         <rdar://problem/45531453>
1750
1751         Reviewed by Alex Christensen.
1752
1753         * fast/xsl/xslt-max-depth-expected.txt: Added.
1754         * fast/xsl/xslt-max-depth.html: Added.
1755
1756 2018-10-30  Devin Rousso  <drousso@apple.com>
1757
1758         Web Inspector: Audit: create Audit Tab
1759         https://bugs.webkit.org/show_bug.cgi?id=190754
1760
1761         Reviewed by Matt Baker.
1762
1763         * inspector/audit/resources/audit-utilities.js: Added.
1764         * inspector/audit/basic-expected.txt: Added.
1765         * inspector/audit/basic.html: Added.
1766         * inspector/audit/data-domAttributes-expected.txt: Added.
1767         * inspector/audit/data-domAttributes.html: Added.
1768         * inspector/audit/data-domNodes-expected.txt: Added.
1769         * inspector/audit/data-domNodes.html: Added.
1770         * inspector/audit/data-errors-expected.txt: Added.
1771         * inspector/audit/data-errors.html: Added.
1772         * inspector/model/auditTestCase-expected.txt: Added.
1773         * inspector/model/auditTestCase.html: Added.
1774         * inspector/model/auditTestCaseResult-expected.txt: Added.
1775         * inspector/model/auditTestCaseResult.html: Added.
1776         * inspector/model/auditTestGroup-expected.txt: Added.
1777         * inspector/model/auditTestGroup.html: Added.
1778         * inspector/model/auditTestGroupResult-expected.txt: Added.
1779         * inspector/model/auditTestGroupResult.html: Added.
1780         * inspector/unit-tests/promise-utilities-expected.txt: Added.
1781         * inspector/unit-tests/promise-utilities.html: Added.
1782
1783         * inspector/audit/audit-manager-expected.txt: Removed.
1784         * inspector/audit/audit-manager.html: Removed.
1785         * inspector/audit/audit-report-expected.txt: Removed.
1786         * inspector/audit/audit-report.html: Removed.
1787         * inspector/audit/audit-test-case-expected.txt: Removed.
1788         * inspector/audit/audit-test-case.html: Removed.
1789         * inspector/audit/audit-test-suite-expected.txt: Removed.
1790         * inspector/audit/audit-test-suite.html: Removed.
1791         * inspector/audit/resources/audit-test-fixtures.js: Removed.
1792
1793 2018-10-30  Dawei Fenton  <realdawei@apple.com>
1794
1795         WebGL conformance: Failures and Timeouts in suite 2.0.0/conformance
1796         https://bugs.webkit.org/show_bug.cgi?id=189641
1797
1798         Unreviewed.
1799
1800         * platform/ios-wk2/TestExpectations: Mark test as [ Slow ]
1801
1802 2018-10-30  Devin Rousso  <drousso@apple.com>
1803
1804         Web Inspector: provide options to WI.cssPath for more verbosity
1805         https://bugs.webkit.org/show_bug.cgi?id=190987
1806
1807         Reviewed by Brian Burg.
1808
1809         * inspector/dom/domutilities-csspath.html:
1810
1811 2018-10-30  Ali Juma  <ajuma@chromium.org>
1812
1813         Calling window.open("", "_self") allows working around restrictions on window.close()
1814         https://bugs.webkit.org/show_bug.cgi?id=191073
1815
1816         Reviewed by Chris Dumez.
1817
1818         * fast/dom/Window/window-open-self-disallow-close-expected.txt: Added.
1819         * fast/dom/Window/window-open-self-disallow-close.html: Added.
1820
1821 2018-10-30  Andy Estes  <aestes@apple.com>
1822
1823         [Payment Request] Implement PaymentResponse.retry()
1824         https://bugs.webkit.org/show_bug.cgi?id=190985
1825
1826         Reviewed by Daniel Bates
1827
1828         * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html:
1829         * http/tests/paymentrequest/payment-response-complete-method.https.html:
1830         * http/tests/paymentrequest/payment-response-methodName-attribute.https.html:
1831         * http/tests/paymentrequest/payment-response-payerEmail-attribute.https.html:
1832         * http/tests/paymentrequest/payment-response-payerName-attribute.https.html:
1833         * http/tests/paymentrequest/payment-response-payerPhone-attribute.https.html:
1834         * http/tests/paymentrequest/payment-response-rejects-if-not-active.https-expected.txt: Added.
1835         * http/tests/paymentrequest/payment-response-rejects-if-not-active.https.html: Copied from
1836         imported/w3c/web-platform-tests/payment-request/payment-response/rejects_if_not_active-manual.https.html
1837         and automated using internals.mockPaymentCoordinator.
1838         * http/tests/paymentrequest/payment-response-retry-method.https-expected.txt: Added.
1839         * http/tests/paymentrequest/payment-response-retry-method.https.html: Copied from
1840         imported/w3c/web-platform-tests/payment-request/payment-response/retry-method-manual.https.html
1841         and automated using internals.mockPaymentCoordinator.
1842         * http/tests/paymentrequest/resources/helpers.js:
1843         (setUpAndSmokeTest):
1844
1845 2018-10-30  Andy Estes  <aestes@apple.com>
1846
1847         [Apple Pay] PaymentRequest.canMakePayment() should resolve to true whenever Apple Pay is available
1848         https://bugs.webkit.org/show_bug.cgi?id=191039
1849
1850         Reviewed by Megan Gardner.
1851
1852         * http/tests/paymentrequest/payment-request-canmakepayment-method.https-expected.txt:
1853         * http/tests/paymentrequest/payment-request-canmakepayment-method.https.html:
1854
1855 2018-10-30  Dawei Fenton  <realdawei@apple.com>
1856
1857         [ Mojave Debug ] Layout Test http/tests/workers/service/self_registration.html is flaky
1858         https://bugs.webkit.org/show_bug.cgi?id=190828
1859
1860         Unreviewed.
1861
1862         * platform/mac-wk2/TestExpectations: Mark test as flay.
1863
1864 2018-10-30  Sihui Liu  <sihui_liu@apple.com>
1865
1866         Add a deprecation warning to console for Web SQL
1867         https://bugs.webkit.org/show_bug.cgi?id=190936
1868
1869         Reviewed by Ryosuke Niwa.
1870
1871         Rebaseline the tests that are affected by the added console message.
1872
1873         * fast/dom/MutationObserver/database-callback-delivery-expected.txt:
1874         * fast/frames/sandboxed-iframe-storage-expected.txt:
1875         * fast/history/page-cache-webdatabase-no-transaction-db-expected.txt:
1876         * http/tests/security/cross-origin-websql-allowed-expected.txt:
1877         * http/tests/security/cross-origin-websql-expected.txt:
1878         * http/tests/security/same-origin-websql-blocked-expected.txt:
1879         * http/tests/security/storage-blocking-loosened-websql-expected.txt:
1880         * http/tests/security/storage-blocking-strengthened-websql-expected.txt:
1881         * http/tests/storage/callbacks-are-called-in-correct-context-expected.txt:
1882         * inspector/runtime/CommandLineAPI-inspect-expected.txt:
1883         * js/dom/callback-function-with-handle-event-expected.txt:
1884         * js/dom/exceptions-thrown-in-callbacks-expected.txt:
1885         * storage/websql/alter-to-info-table-expected.txt:
1886         * storage/websql/change-version-expected.txt:
1887         * storage/websql/change-version-handle-reuse-expected.txt:
1888         * storage/websql/change-version-no-crash-on-preflight-failure-expected.txt:
1889         * storage/websql/close-during-stress-test-expected.txt:
1890         * storage/websql/database-lock-after-reload-expected.txt:
1891         * storage/websql/empty-statement-expected.txt:
1892         * storage/websql/execute-sql-args-expected.txt:
1893         * storage/websql/execute-sql-rowsAffected-expected.txt:
1894         * storage/websql/executesql-accepts-only-one-statement-expected.txt:
1895         * storage/websql/hash-change-with-xhr-expected.txt:
1896         * storage/websql/multiple-databases-garbage-collection-expected.txt:
1897         * storage/websql/multiple-transactions-expected.txt:
1898         * storage/websql/multiple-transactions-on-different-handles-expected.txt:
1899         * storage/websql/null-callbacks-expected.txt:
1900         * storage/websql/open-database-creation-callback-expected.txt:
1901         * storage/websql/open-database-creation-callback-isolated-world-expected.txt:
1902         * storage/websql/open-database-empty-version-expected.txt:
1903         * storage/websql/open-database-expand-quota-expected.txt:
1904         * storage/websql/open-database-over-quota-expected.txt:
1905         * storage/websql/open-database-set-empty-version-expected.txt:
1906         * storage/websql/open-database-while-transaction-in-progress-expected.txt:
1907         * storage/websql/private-browsing-noread-nowrite-expected.txt:
1908         * storage/websql/read-and-write-transactions-dont-run-together-expected.txt:
1909         * storage/websql/read-transactions-running-concurrently-expected.txt:
1910         * storage/websql/sql-data-types-expected.txt:
1911         * storage/websql/statement-error-callback-expected.txt:
1912         * storage/websql/statement-error-callback-isolated-world-expected.txt:
1913         * storage/websql/statement-success-callback-isolated-world-expected.txt:
1914         * storage/websql/success-callback-expected.txt:
1915         * storage/websql/success-callback-when-page-defers-loading-expected.txt:
1916         * storage/websql/test-authorizer-expected.txt:
1917         * storage/websql/transaction-callback-exception-crash-expected.txt:
1918         * storage/websql/transaction-callback-isolated-world-expected.txt:
1919         * storage/websql/transaction-database-expand-quota-expected.txt:
1920         * storage/websql/transaction-error-callback-expected.txt:
1921         * storage/websql/transaction-error-callback-isolated-world-expected.txt:
1922         * storage/websql/transaction-prototype-expected.txt:
1923         * storage/websql/transaction-success-callback-isolated-world-expected.txt:
1924
1925 2018-10-30  Sihui Liu  <sihui_liu@apple.com>
1926
1927         IndexedDB: iteration of cursors skip records if updated or deleted
1928         https://bugs.webkit.org/show_bug.cgi?id=190917
1929         <rdar://problem/35250410>
1930
1931         Reviewed by Chris Dumez.
1932
1933         * storage/indexeddb/cursor-update-while-iterating-expected.txt: Added.
1934         * storage/indexeddb/cursor-update-while-iterating.html: Added.
1935         * storage/indexeddb/resources/cursor-update-while-iterating.js: Added.
1936         (prepareDatabase):
1937         (onOpenSuccess.request.onsuccess):
1938         (onOpenSuccess):
1939
1940 2018-10-28  Antoine Quint  <graouts@apple.com>
1941
1942         [Web Animations] Implement the update animations and send events procedure
1943         https://bugs.webkit.org/show_bug.cgi?id=191013
1944         <rdar://problem/45620495>
1945
1946         Reviewed by Dean Jackson.
1947
1948         Several tests that broke when turning Web Animations CSS Integration on by default are now passing. In the case of one test, we had to ensure
1949         that the final animation frame had been committed before terminating the test or there would be a tiny image reference issue.
1950
1951         * TestExpectations:
1952         * fast/layers/no-clipping-overflow-hidden-added-after-transform.html:
1953
1954 2018-10-30  Youenn Fablet  <youenn@apple.com>
1955
1956         LibWebRTCRtpReceiverBackend::getSynchronizationSources should use Vector::append
1957         https://bugs.webkit.org/show_bug.cgi?id=191026
1958
1959         Reviewed by Eric Carlson.
1960
1961         * webrtc/video-addTransceiver-expected.txt:
1962         * webrtc/video-addTransceiver.html:
1963
1964 2018-10-29  Devin Rousso  <drousso@apple.com>
1965
1966         Web Inspector: refactor code for getting properties via WI.RemoteObject
1967         https://bugs.webkit.org/show_bug.cgi?id=190989
1968
1969         Reviewed by Matt Baker.
1970
1971         * http/tests/inspector/paymentrequest/payment-request-internal-properties.https.html:
1972         * inspector/debugger/breakpoint-scope.html:
1973         * inspector/debugger/paused-scopes.html:
1974         * inspector/debugger/tail-deleted-frames-from-vm-entry.html:
1975         * inspector/debugger/tail-deleted-frames.html:
1976         * inspector/debugger/tail-recursion.html:
1977         * inspector/model/remote-object-fake-object.html:
1978         * inspector/model/remote-object-get-properties.html:
1979
1980 2018-10-29  Justin Michaud  <justin_michaud@apple.com>
1981
1982         Revert r237347 registered custom properties... https://bugs.webkit.org/show_bug.cgi?id=190039
1983         https://bugs.webkit.org/show_bug.cgi?id=190919
1984
1985         Reviewed by Michael Saboff.
1986
1987         * css-custom-properties-api/crash-expected.txt: Removed.
1988         * css-custom-properties-api/crash.html: Removed.
1989         * css-custom-properties-api/cycles-expected.txt: Removed.
1990         * css-custom-properties-api/cycles.html: Removed.
1991         * css-custom-properties-api/inline-expected.txt: Removed.
1992         * css-custom-properties-api/inline.html: Removed.
1993
1994 2018-10-29  Matt Lewis  <jlewis3@apple.com>
1995
1996         Marked http/tests/misc/large-js-program.php as a flaky timeout.
1997         https://bugs.webkit.org/show_bug.cgi?id=190724
1998
1999         Unreviewed test gardening.
2000
2001         * platform/mac/TestExpectations:
2002
2003 2018-10-29  Youenn Fablet  <youenn@apple.com>
2004
2005         Handle MDNS resolution of candidates through libwebrtc directly
2006         https://bugs.webkit.org/show_bug.cgi?id=190681
2007
2008         Reviewed by Eric Carlson.
2009
2010         * TestExpectations:
2011         Test should no longer be flaky as we no longer enforce a timer for resolving MDNS candidates.
2012
2013 2018-10-29  Tim Horton  <timothy_horton@apple.com>
2014
2015         Modernize WebKit nibs and lprojs for localization's sake
2016         https://bugs.webkit.org/show_bug.cgi?id=190911
2017         <rdar://problem/45349466>
2018
2019         Reviewed by Dan Bernstein.
2020
2021         * media/modern-media-controls/localized-strings/replaced-string.html:
2022         English->en
2023
2024 2018-10-29  Youenn Fablet  <youenn@apple.com>
2025
2026         Invalid ssrc value in the stats of type 'inbound-rtp'
2027         https://bugs.webkit.org/show_bug.cgi?id=190826
2028         <rdar://problem/45487435>
2029
2030         Reviewed by Eric Carlson.
2031
2032         * webrtc/video-mediastreamtrack-stats.html:
2033         * webrtc/video-stats-expected.txt:
2034         * webrtc/video-stats.html:
2035
2036 2018-10-29  Ali Juma  <ajuma@chromium.org>
2037
2038         Unreviewed test gardening
2039         https://bugs.webkit.org/show_bug.cgi?id=191002
2040
2041         Make expectations for IntersectionObserver WPTs more specific.
2042
2043         * TestExpectations:
2044         * platform/gtk/TestExpectations:
2045         * platform/mac-wk2/TestExpectations:
2046
2047 2018-10-29  Zalan Bujtas  <zalan@apple.com>
2048
2049         [LFC][IFC] Compute estimated margin top for inline formatting root's ancestors
2050         https://bugs.webkit.org/show_bug.cgi?id=191018
2051
2052         Reviewed by Antti Koivisto.
2053
2054         * fast/inline/simple-intruding-floats3-expected.txt: Added.
2055         * fast/inline/simple-intruding-floats3.html: Added.
2056         * platform/ios/TestExpectations:
2057
2058 2018-10-29  Zalan Bujtas  <zalan@apple.com>
2059
2060         [LFC] Add support for inflow non replaced content height when the box is an inline formatting root.
2061         https://bugs.webkit.org/show_bug.cgi?id=191011
2062
2063         Reviewed by Antti Koivisto.
2064
2065         * fast/inline/simple-intruding-floats2-expected.txt: Added.
2066         * fast/inline/simple-intruding-floats2.html: Added.
2067         * platform/ios/TestExpectations:
2068
2069 2018-10-29  Zalan Bujtas  <zalan@apple.com>
2070
2071         Missing from r237549
2072
2073         Reviewed by Antti Koivisto.
2074
2075         * platform/ios/TestExpectations:
2076
2077 2018-10-29  Zalan Bujtas  <zalan@apple.com>
2078
2079         [LFC][IFC] Add support for simple intruding floats.
2080         https://bugs.webkit.org/show_bug.cgi?id=190998
2081
2082         Reviewed by Antti Koivisto.
2083
2084         * fast/inline/simple-intruding-float1-expected.txt: Added.
2085         * fast/inline/simple-intruding-float1.html: Added.
2086         * platform/ios/TestExpectations:
2087
2088 2018-10-29  Zalan Bujtas  <zalan@apple.com>
2089
2090         [LFC][IFC] Inline layout produces separate runs when float is present.
2091         https://bugs.webkit.org/show_bug.cgi?id=190980
2092
2093         Reviewed by Antti Koivisto.
2094
2095         * fast/block/basic/inline-content-with-floating-images2-expected.txt: Added.
2096         * fast/block/basic/inline-content-with-floating-images2.html: Added.
2097         * platform/ios/TestExpectations:
2098
2099 2018-10-29  Tadeu Zagallo  <tzagallo@apple.com>
2100
2101         New bytecode format for JSC
2102         https://bugs.webkit.org/show_bug.cgi?id=187373
2103         <rdar://problem/44186758>
2104
2105         Reviewed by Filip Pizlo.
2106
2107         Don't use recursion on `equal` to avoid premature stack overflows when testing deep arrays.
2108
2109         * fast/dom/Window/resources/postmessage-test.js:
2110
2111 2018-10-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2112
2113         Unreviewed, one more GTK expectations fix
2114
2115         * platform/gtk/inspector/canvas/recording-bitmaprenderer-expected.txt:
2116
2117 2018-10-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2118
2119         Unreviewed, fix a few more expectations from yesterday
2120
2121         These should be timeouts!
2122
2123         * platform/gtk/TestExpectations:
2124
2125 2018-10-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2126
2127         Unreviewed, attempt to fix missing trailing whitespace in new expectations
2128
2129         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt:
2130         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
2131         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt:
2132
2133 2018-10-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2134
2135         Unreviewed, fix content added by a stray Ctrl+V
2136
2137         * platform/gtk/TestExpectations:
2138
2139 2018-10-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2140
2141         Unreviewed GTK test gardening
2142
2143         * TestExpectations:
2144         * platform/gtk/TestExpectations:
2145         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Added.
2146         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: Added.
2147         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Added.
2148         * platform/gtk/inspector/canvas/recording-bitmaprenderer-expected.txt: Added.
2149
2150 2018-10-27  Matt Baker  <mattbaker@apple.com>
2151
2152         Web Inspector: Table should support deleting rows
2153         https://bugs.webkit.org/show_bug.cgi?id=189803
2154         <rdar://problem/44655709>
2155
2156         Reviewed by Devin Rousso.
2157
2158         * inspector/table/resources/table-utilities.js:
2159         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tableDidRemoveRows):
2160         (TestPage.registerInitializer.createDataSource):
2161         (TestPage.registerInitializer.InspectorTest.createTable):
2162         (TestPage.registerInitializer.InspectorTest.createTableWithDelegate):
2163         (TestPage.registerInitializer):
2164         Update table test utilities to keep TableDataSource backing array in
2165         sync when rows are removed. Also allow the number of table rows to be
2166         specified when creating a table for testing.
2167
2168         * inspector/table/table-remove-rows-expected.txt: Added.
2169         * inspector/table/table-remove-rows.html: Added.
2170         Add tests for new Table methods `removeRow(rowIndex)` and `removeSelectedRows()`.
2171
2172         * inspector/unit-tests/index-set-expected.txt:
2173         * inspector/unit-tests/index-set.html:
2174         Add tests for new IndexSet method `copy()`.
2175
2176 2018-10-26  Commit Queue  <commit-queue@webkit.org>
2177
2178         Unreviewed, rolling out r237479 and r237484.
2179         https://bugs.webkit.org/show_bug.cgi?id=190978
2180
2181         broke JSC on iOS (Requested by tadeuzagallo on #webkit).
2182
2183         Reverted changesets:
2184
2185         "New bytecode format for JSC"
2186         https://bugs.webkit.org/show_bug.cgi?id=187373
2187         https://trac.webkit.org/changeset/237479
2188
2189         "Gardening: Build fix after r237479."
2190         https://bugs.webkit.org/show_bug.cgi?id=187373
2191         https://trac.webkit.org/changeset/237484
2192
2193 2018-10-26  Tadeu Zagallo  <tzagallo@apple.com>
2194
2195         New bytecode format for JSC
2196         https://bugs.webkit.org/show_bug.cgi?id=187373
2197         <rdar://problem/44186758>
2198
2199         Reviewed by Filip Pizlo.
2200
2201         Don't use recursion on `equal` to avoid premature stack overflows when testing deep arrays.
2202
2203         * fast/dom/Window/resources/postmessage-test.js:
2204
2205 2018-10-26  Antoine Quint  <graouts@apple.com>
2206
2207         [Web Animations] Remove useless internals methods
2208         https://bugs.webkit.org/show_bug.cgi?id=190968
2209
2210         Reviewed by Dean Jackson.
2211
2212         Remove a test that is no longer useful.
2213
2214         * webanimations/animation-creation-addition-expected.txt: Removed.
2215         * webanimations/animation-creation-addition.html: Removed.
2216
2217 2018-10-26  Per Arne Vollan  <pvollan@apple.com>
2218
2219         [High Sierra/Sierra Release] Layout Test media/track/track-cue-css.html is a flaky image failure
2220         https://bugs.webkit.org/show_bug.cgi?id=190876
2221
2222         Unreviewed test fix.
2223
2224         This is a speculative flakiness fix.
2225
2226         * media/track/track-cue-css-expected.html:
2227         * media/track/track-cue-css.html:
2228
2229 2018-10-26  Zalan Bujtas  <zalan@apple.com>
2230
2231         [iOS] Unreviewed test gardening.
2232
2233         * platform/ios/TestExpectations:
2234
2235 2018-10-26  Ali Juma  <ajuma@chromium.org>
2236
2237         [GTK] Unreviewed test gardening.
2238         https://bugs.webkit.org/show_bug.cgi?id=190962
2239
2240         Add a baseline for the test added in r237449.
2241
2242         * platform/gtk/fast/repaint/text-selection-overflow-hidden-expected.txt: Added.
2243
2244 2018-10-26  Zalan Bujtas  <zalan@apple.com>
2245
2246         [LFC][IFC] Layout floats as part of the inline content
2247         https://bugs.webkit.org/show_bug.cgi?id=190942
2248
2249         Reviewed by Antti Koivisto.
2250
2251         * fast/block/basic/inline-content-with-floating-image-expected.txt: Added.
2252         * fast/block/basic/inline-content-with-floating-image.html: Added.
2253
2254 2018-10-26  Alicia Boya García  <aboya@igalia.com>
2255
2256         [MSE][WTF][Media] Invalid MediaTime should be falsy
2257         https://bugs.webkit.org/show_bug.cgi?id=190893
2258
2259         Reviewed by Jer Noble.
2260
2261         A test is added that replicates a bug fixed by this patch.
2262
2263         * media/media-source/media-source-timestampoffset-then-zero-expected.txt: Added.
2264         * media/media-source/media-source-timestampoffset-then-zero.html: Added.
2265
2266 2018-10-26  Ali Juma  <ajuma@chromium.org>
2267
2268         REGRESSION (r237255): Text selection is broken in form fields
2269         https://bugs.webkit.org/show_bug.cgi?id=190899
2270
2271         Reviewed by Ryosuke Niwa.
2272
2273         Add layout test coverage.
2274
2275         * fast/repaint/text-selection-overflow-hidden-expected.txt: Added.
2276         * fast/repaint/text-selection-overflow-hidden.html: Added.
2277         * platform/win/fast/repaint/text-selection-overflow-hidden-expected.txt: Added.
2278
2279 2018-10-25  Ryan Haddad  <ryanhaddad@apple.com>
2280
2281         Layout Test http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers.html is a flaky failure
2282         https://bugs.webkit.org/show_bug.cgi?id=173041
2283
2284         Unreviewed test gardening.
2285
2286         * platform/ios/TestExpectations: Mark test as flaky.
2287
2288 2018-10-25  Devin Rousso  <drousso@apple.com>
2289
2290         Web Inspector: Canvas Recording loading goes significantly slower when "Frame" tree element is expanded
2291         https://bugs.webkit.org/show_bug.cgi?id=190497
2292
2293         Reviewed by Joseph Pecoraro.
2294
2295         * inspector/unit-tests/set-utilities-expected.txt: Added.
2296         * inspector/unit-tests/set-utilities.html: Added.
2297
2298 2018-10-25  Dawei Fenton  <realdawei@apple.com>
2299
2300         Layout Test compositing/iframes/display-none-subframe.html is a flaky failure.
2301         https://bugs.webkit.org/show_bug.cgi?id=186406
2302
2303         Unreviewed.
2304
2305         * platform/mac-wk1/TestExpectations: Mark test flaky.
2306
2307 2018-10-25  Devin Rousso  <drousso@apple.com>
2308
2309         Web Inspector: display fullscreen enter/exit events in Timelines and Network node waterfalls
2310         https://bugs.webkit.org/show_bug.cgi?id=189874
2311         <rdar://problem/44700000>
2312
2313         Reviewed by Joseph Pecoraro.
2314
2315         * http/tests/inspector/dom/didFireEvent-expected.txt:
2316         * http/tests/inspector/dom/didFireEvent.html:
2317
2318 2018-10-25  Alexey Proskuryakov  <ap@apple.com>
2319
2320         https://bugs.webkit.org/show_bug.cgi?id=175597
2321         XMLHttpRequest should not sniff content encoding
2322
2323         Actually, the discussion in Bugzilla claims that it should always have worked on
2324         iOS. Not sure why the test was not enabled from the start.
2325
2326         * platform/ios/TestExpectations:
2327
2328 2018-10-25  Alexey Proskuryakov  <ap@apple.com>
2329
2330         Update test results for https://bugs.webkit.org/show_bug.cgi?id=175597
2331         XMLHttpRequest should not sniff content encoding
2332
2333         This code doesn't work like planned on macOS High Sierra, and I'm not sure what's
2334         up with iOS and other platforms. But I can to re-enable the test for Mojave.
2335
2336         * platform/mac/TestExpectations: As expected, this test is passing on macOS Mojave.
2337
2338 2018-10-25  Per Arne Vollan  <pvollan@apple.com>
2339
2340         [High Sierra/Sierra Release] Layout Test media/track/track-cue-css.html is a flaky image failure
2341         https://bugs.webkit.org/show_bug.cgi?id=190876
2342
2343         Reviewed by Alexey Proskuryakov.
2344
2345         This is a speculative fix; avoid an unnecessary video seek step in test.
2346
2347         * media/track/track-cue-css-expected.html:
2348         * media/track/track-cue-css.html:
2349
2350 2018-10-25  Chris Dumez  <cdumez@apple.com>
2351
2352         REGRESSION (236779) scandinaviandesigns.com product pages auto redirect to product image
2353         https://bugs.webkit.org/show_bug.cgi?id=190891
2354         <rdar://problem/45296796>
2355
2356         Reviewed by Antti Koivisto.
2357
2358         Add layout test coverage.
2359
2360         * fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes-expected.txt: Added.
2361         * fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes.html: Added.
2362
2363 2018-10-25  Frederic Wang  <fwang@igalia.com>
2364
2365         Unreviewed test gardening.
2366
2367         * platform/ios-wk1/TestExpectations: Add failures for tests requiring findString.
2368         * platform/ios-wk1/fast/scrolling/adjust-scroll-offset-on-zoom-expected.txt: Added. Adjust
2369         expectation to handle whitespace difference.
2370         * platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Added. The
2371         scrolling tree is not displayed on WK1.
2372
2373 2018-10-25  Frederic Wang  <fwang@igalia.com>
2374
2375         Add more tests for the Find UI
2376         https://bugs.webkit.org/show_bug.cgi?id=190823
2377
2378         Reviewed by Antonio Gomes.
2379
2380         We add more tests for iOS's find UI to cover cases fixed by r224284. Equivalent tests for
2381         subframes currently fails when frame flattening is disabled, they will be handled in bug
2382         184297.
2383
2384         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-expected.png: Added.
2385         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-expected.txt: Added.
2386         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit-expected.png: Added.
2387         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit-expected.txt: Added.
2388         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit.html: Added.
2389         Test with a match at the limit of the scrolling element.
2390         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position.html: Added. Test
2391         with a match at the middle of the scrolling element.
2392         * platform/ios/fast/scrolling/find-text-in-overflow-node.html: Use names for parameters to
2393         make it more explicit.
2394         * platform/ios/fast/scrolling/find-text-in-subframe-expected.txt: Added.
2395         * platform/ios/fast/scrolling/find-text-in-subframe.html: Added. Test with a subframe instead
2396         of an overflow node.
2397
2398 2018-10-25  Jiewen Tan  <jiewen_tan@apple.com>
2399
2400         [WPT] Update resource-timing WPT tests to use the right cross origin
2401         https://bugs.webkit.org/show_bug.cgi?id=190554
2402
2403         Reviewed by Youenn Fablet.
2404
2405         * TestExpectations:
2406
2407 2018-10-24  Tim Horton  <timothy_horton@apple.com>
2408
2409         Attachment filenames with RTL characters should format similar to Finder
2410         https://bugs.webkit.org/show_bug.cgi?id=190736
2411         <rdar://problem/44735946>
2412
2413         Reviewed by Dan Bernstein.
2414
2415         * fast/attachment/attachment-title-with-rtl-expected.html: Added.
2416         * fast/attachment/attachment-title-with-rtl.html: Added.
2417         Add a test that directionality marks in the attachment's title are
2418         isolated from the file extension.
2419
2420 2018-10-24  Megan Gardner  <megan_gardner@apple.com>
2421
2422         Turn on Conic Gradients
2423         https://bugs.webkit.org/show_bug.cgi?id=190810
2424
2425         Reviewed by Tim Horton.
2426
2427         No longer necessary to manually turn on conic gradients for testing.
2428
2429         * http/wpt/css/css-images-4/conic-gradient-parsing.html:
2430
2431 2018-10-11  Jiewen Tan  <jiewen_tan@apple.com>
2432
2433         Only report resource timing to parent frame for the first iframe load
2434         https://bugs.webkit.org/show_bug.cgi?id=190498
2435         <rdar://problem/44347398>
2436
2437         Reviewed by Youenn Fablet.
2438
2439         The layout test is from Chromium change:
2440         https://chromium-review.googlesource.com/c/chromium/src/+/1186215.
2441
2442         * http/tests/misc/resource-timing-navigation-in-restored-iframe-expected.txt: Added.
2443         * http/tests/misc/resource-timing-navigation-in-restored-iframe.html: Added.
2444         * http/tests/misc/resources/alert-then-back.html: Added.
2445         * http/tests/misc/resources/navigate-on-message.html: Added.
2446         * http/tests/misc/resources/post-message-to-parent.html: Added.
2447
2448 2018-10-24  Ryan Haddad  <ryanhaddad@apple.com>
2449
2450         [macOS] Layout Test legacy-animation-engine/animations/suspend-resume-animation.html is a flaky failure
2451         https://bugs.webkit.org/show_bug.cgi?id=190883
2452
2453         Unreviewed test gardening.
2454
2455         * platform/mac/TestExpectations: Mark test as flaky.
2456
2457 2018-10-24  Matt Lewis  <jlewis3@apple.com>
2458
2459         Marked webgl/1.0.2/conformance/glsl/misc/shader-with-reserved-words.html as a flaky timout.
2460         https://bugs.webkit.org/show_bug.cgi?id=170877
2461
2462         Unreviewed test gardening.
2463
2464         * platform/mac/TestExpectations:
2465
2466 2018-10-24  Truitt Savell  <tsavell@apple.com>
2467
2468         Marking Multiple tests as flakey at once
2469         https://bugs.webkit.org/show_bug.cgi?id=190847
2470
2471         Unreviewed Test Gardening
2472
2473         * platform/ios-wk2/TestExpectations:
2474         * platform/mac-wk1/TestExpectations:
2475         * platform/mac-wk2/TestExpectations:
2476
2477 2018-10-24  Andy Estes  <aestes@apple.com>
2478
2479         [macOS Debug WK2] Layout Test http/tests/ssl/applepay/ApplePayShippingAddressChangeEventErrorsV3.https.html is a flaky failure
2480         https://bugs.webkit.org/show_bug.cgi?id=190650
2481         <rdar://problem/45341914>
2482
2483         Reviewed by Alex Christensen.
2484
2485         * http/tests/resources/payment-request.js:
2486         (updateDetailsOnShippingAddressChange):
2487
2488 2018-10-23  Jer Noble  <jer.noble@apple.com>
2489
2490         TextTrack cues should be updated more often than every 250ms.
2491         https://bugs.webkit.org/show_bug.cgi?id=190827
2492
2493         Reviewed by Eric Carlson.
2494
2495         Add a LayoutTest which plays back 6s of captions, each 50 ms in duration, and uses
2496         when the "enter" and "exit" were fired (in media time) to check whether they were missed
2497         or not. The test succeeds if fewer than 50 of the 120 cues were missed.
2498
2499         * media/track/track-cue-missing-expected.txt: Added.
2500         * media/track/track-cue-missing.html: Added.
2501
2502 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2503
2504         Unreviewed, rolling out r237261.
2505
2506         The layout test for this change crashes under GuardMalloc.
2507
2508         Reverted changeset:
2509
2510         "Handle MDNS resolution of candidates through libwebrtc
2511         directly"
2512         https://bugs.webkit.org/show_bug.cgi?id=190681
2513         https://trac.webkit.org/changeset/237261
2514
2515 2018-10-23  Joseph Pecoraro  <pecoraro@apple.com>
2516
2517         Web Inspector: Remove unused css-rules pretty printing test expectation
2518         https://bugs.webkit.org/show_bug.cgi?id=190834
2519
2520         Reviewed by Matt Baker.
2521
2522         * inspector/codemirror/prettyprinting-css-rules-expected.txt: Removed.
2523
2524 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2525
2526         Unreviewed, rolling out r237280.
2527
2528         Causes fast/box-shadow/box-shadow-with-zero-radius.html to
2529         fail on iOS Simulator.
2530
2531         Reverted changeset:
2532
2533         "[CG] Adopt CG SPI for non-even cornered rounded rects"
2534         https://bugs.webkit.org/show_bug.cgi?id=190155
2535         https://trac.webkit.org/changeset/237280
2536
2537 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2538
2539         [macOS Debug WK1] Layout Test inspector/codemirror/prettyprinting-css.html is a flaky timeout
2540         https://bugs.webkit.org/show_bug.cgi?id=190833
2541
2542         Unreviewed test gardening.
2543
2544         * platform/mac-wk1/TestExpectations: Mark test as slow.
2545
2546 2018-10-23  Truitt Savell  <tsavell@apple.com>
2547
2548         [ MacOS Debug WK1 ] Layout Test fast/forms/state-restore-to-non-edited-controls.html is flaky
2549         https://bugs.webkit.org/show_bug.cgi?id=190832
2550
2551         Unreviewed Test Gardening.
2552
2553         * platform/mac-wk1/TestExpectations:
2554
2555 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2556
2557         Layout Test imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/autoplay-with-slow-text-tracks.html is flaky.
2558         https://bugs.webkit.org/show_bug.cgi?id=176929
2559
2560         Unreviewed test gardening.
2561
2562         * platform/mac/TestExpectations: Mark test as flaky.
2563
2564 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2565
2566         REGRESSION (r236501?): Layout Test compositing/geometry/limit-layer-bounds-opacity-transition.html is flaky
2567         https://bugs.webkit.org/show_bug.cgi?id=190210
2568
2569         Unreviewed test gardening.
2570
2571         * platform/mac/TestExpectations: Mark test as flaky.
2572
2573 2018-10-22  Justin Michaud  <justin_michaud@apple.com>
2574
2575         Registered custom properties should support syntax parameter for <length> and *
2576         https://bugs.webkit.org/show_bug.cgi?id=190039
2577
2578         Reviewed by Antti Koivisto.
2579
2580         Add tests for inline styles, font-size cycles with custom properties, and a crash that was reported.
2581
2582         * css-custom-properties-api/crash-expected.txt: Added.
2583         * css-custom-properties-api/crash.html: Added.
2584         * css-custom-properties-api/cycles-expected.txt: Added.
2585         * css-custom-properties-api/cycles.html: Added.
2586         * css-custom-properties-api/inline-expected.txt: Added.
2587         * css-custom-properties-api/inline.html: Added.
2588
2589 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
2590
2591         REGRESSION: [iOS] Layout Test media/media-fullscreen-pause-inline.html is a flaky failure
2592         https://bugs.webkit.org/show_bug.cgi?id=187618
2593
2594         Unreviewed test gardening.
2595
2596         * platform/ios/TestExpectations: Mark test as flaky.
2597
2598 2018-10-22  Justin Michaud  <justin_michaud@apple.com>
2599
2600         CSS Paint API should give a 2d rendering context
2601         https://bugs.webkit.org/show_bug.cgi?id=190762
2602
2603         Reviewed by Dean Jackson.
2604
2605         * fast/css-custom-paint/basic.html:
2606
2607 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
2608
2609         Unreviewed, update TestExpectations for imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html.
2610         https://bugs.webkit.org/show_bug.cgi?id=157068
2611
2612         * TestExpectations: Mark test as a flaky failure for release builds.
2613         * platform/mac-wk1/TestExpectations: Remove duplicate expectation.
2614
2615 2018-10-22  Dawei Fenton  <realdawei@apple.com>
2616
2617         REGRESSION (r234330): [mac-wk1] Layout Test fast/repaint/animation-after-layer-scroll.html is a flaky failure
2618         https://bugs.webkit.org/show_bug.cgi?id=188421
2619
2620         Unreviewed test gardening.
2621
2622         * platform/mac-wk1/TestExpectations: Mark test as flaky.
2623
2624 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
2625
2626         [ Mojave WK1 ] Layout Test storage/indexeddb/database-odd-names.html is failing
2627         https://bugs.webkit.org/show_bug.cgi?id=190350
2628
2629         Unreviewed test gardening.
2630
2631         * platform/mac-wk1/TestExpectations: Mark test as failing.
2632
2633 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
2634
2635         [macOS WK1] Layout Test http/tests/security/cross-origin-xsl-redirect-BLOCKED.html is a flaky failure
2636         https://bugs.webkit.org/show_bug.cgi?id=189723
2637
2638         Unreviewed test gardening.
2639
2640         * platform/mac-wk1/TestExpectations: Mark test as flaky.
2641
2642 2018-10-22  Ali Juma  <ajuma@chromium.org>
2643
2644         Layout Test imported/w3c/web-platform-tests/intersection-observer/containing-block.html is a flaky failure on Debug builds
2645         https://bugs.webkit.org/show_bug.cgi?id=190808
2646
2647         Unreviewed test gardening.
2648
2649         * TestExpectations:
2650
2651 2018-10-22  Dawei Fenton  <realdawei@apple.com>
2652
2653         Some WK1 repaint tests are flaky on Mojave
2654         https://bugs.webkit.org/show_bug.cgi?id=190627
2655
2656         Unreviewed, marked tests as flaky.
2657
2658         * platform/mac-wk1/TestExpectations:
2659
2660 2018-10-22  Wenson Hsieh  <wenson_hsieh@apple.com>
2661
2662         [iOS] [Datalist] fast/forms/datalist/datalist-show-hide.html fails
2663         https://bugs.webkit.org/show_bug.cgi?id=190777
2664
2665         Reviewed by Tim Horton.
2666
2667         Refactor this test such that it passes on both iOS and macOS. This test verifies that datalist suggestions menu
2668         UI can be shown and hidden. On macOS, we focus and then blur the input field; on iOS, we tap in the datalist
2669         button to show the suggestions UI, and then tap in the text field to bring back the regular keyboard.
2670
2671         * fast/forms/datalist/datalist-show-hide-expected.txt:
2672         * fast/forms/datalist/datalist-show-hide.html:
2673         * platform/ios/TestExpectations:
2674
2675         Unskip the layout test on iOS.
2676
2677         * resources/ui-helper.js:
2678         (window.UIHelper.isShowingDataListSuggestions):
2679
2680         Tweak this helper function to resolve with either true or false (Boolean types), instead of the strings "true"
2681         and "false".
2682
2683 2018-10-22  Truitt Savell  <tsavell@apple.com>
2684
2685         [ MacOS WK1 ] Layout Test platform/mac/media/audio-session-category-video-paused.html is flaky Timeout 
2686         https://bugs.webkit.org/show_bug.cgi?id=189680
2687
2688         Unreviewed Test Gardening
2689
2690         * platform/mac-wk1/TestExpectations:
2691
2692 2018-10-20  Daniel Bates  <dabates@apple.com>
2693
2694         Unskip test fast/writing-mode/english-rl-text-with-spelling-marker.html in iOS WebKit2
2695
2696         Following r235149 we mark spelling errors in iOS WebKit2.
2697
2698         * platform/ios-wk1/TestExpectations: Skip in legacy WebKit until we fix <https://webkit.org/b/188762>.
2699         * platform/ios/TestExpectations: Unskip test.
2700
2701 2018-10-19  Justin Fan  <justin_fan@apple.com>
2702
2703         [WebGPU] Add stubs for WebGPUSwapChain and WebGPURenderingContext
2704         https://bugs.webkit.org/show_bug.cgi?id=190742
2705
2706         Reviewed by Dean Jackson.
2707
2708         Updated basic webgpu feature detection test to check for WebGPURenderingContext.
2709
2710         * webgpu/webgpu-enabled-expected.txt: 
2711         * webgpu/webgpu-enabled.html:
2712
2713 2018-10-19  Wenson Hsieh  <wenson_hsieh@apple.com>
2714
2715         [iOS] [Datalist] Can't pick datalist suggestions in a stock WKWebView
2716         https://bugs.webkit.org/show_bug.cgi?id=190621
2717         <rdar://problem/45310649>
2718
2719         Reviewed by Tim Horton.
2720
2721         Refactor an existing layout test to run on both iOS and macOS. On both platforms, it checks that the top
2722         suggestion respects option element order in the document, as well as the current contents of the text field.
2723         On macOS, we use arrow keys and hit return to select a suggestion; on iOS, we tap the suggestions button and
2724         simulate hitting the done button on the input view to dismiss the keyboard.
2725
2726         * fast/forms/datalist/datalist-textinput-suggestions-order-expected.txt:
2727         * fast/forms/datalist/datalist-textinput-suggestions-order.html:
2728         * platform/ios/TestExpectations:
2729
2730         Enable this test on iOS.
2731
2732         * resources/ui-helper.js:
2733         (window.UIHelper.resignFirstResponder):
2734         (window.UIHelper):
2735
2736 2018-10-19  John Wilander  <wilander@apple.com>
2737
2738         Only cap lifetime of persistent cookies created client-side through document.cookie when resource load statistics is enabled
2739         https://bugs.webkit.org/show_bug.cgi?id=190687
2740         <rdar://problem/45349024>
2741
2742         Reviewed by Alex Christensen.
2743
2744         The test case now makes use of internals.setResourceLoadStatisticsEnabled()
2745         and was thus moved to http/tests/resourceLoadStatistics/.
2746
2747         * TestExpectations:
2748             Removed skip of previous test location.
2749         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-expected.txt: Renamed from LayoutTests/http/tests/cookies/capped-lifetime-for-cookie-set-in-js-expected.txt.
2750         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js.html: Renamed from LayoutTests/http/tests/cookies/capped-lifetime-for-cookie-set-in-js.html.
2751         * http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt:
2752             Removed line containing "isMarkedForCookieBlocking: No."
2753         * http/tests/webAPIStatistics/font-load-data-collection-expected.txt:
2754             Removed line containing "isMarkedForCookieBlocking: No."
2755         * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt:
2756             Removed line containing "isMarkedForCookieBlocking: No."
2757         * http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt:
2758             Removed line containing "isMarkedForCookieBlocking: No."
2759         * platform/ios/TestExpectations:
2760             Removed pass of previous test location. The whole http/tests/resourceLoadStatistics/ is marked pass for relevant platforms.
2761         * platform/mac-wk2/TestExpectations:
2762             Removed pass of previous test location. The whole http/tests/resourceLoadStatistics/ is marked pass for relevant platforms.
2763
2764 2018-10-19  Commit Queue  <commit-queue@webkit.org>
2765
2766         Unreviewed, rolling out r237254.
2767         https://bugs.webkit.org/show_bug.cgi?id=190760
2768
2769         "It regresses JetStream 2 by 5% on some iOS devices"
2770         (Requested by saamyjoon on #webkit).
2771
2772         Reverted changeset:
2773
2774         "[JSC] JSC should have "parseFunction" to optimize Function
2775         constructor"
2776         https://bugs.webkit.org/show_bug.cgi?id=190340
2777         https://trac.webkit.org/changeset/237254
2778
2779 2018-10-19  Charlie Turner  <cturner@igalia.com>
2780
2781         [EME] Fix crash during tracing in  gst_qtdemux_request_protection_context
2782         https://bugs.webkit.org/show_bug.cgi?id=190738
2783
2784         Reviewed by Xabier Rodriguez-Calvar.
2785
2786         Add failing test expectations for the GTK port. These tests are
2787         not mirrored in the top-level TestExpectations file, since there
2788         are no passing baselines for these tests there. The testing
2789         infrastructure will report them as unexpected passing when they
2790         are marked as [ Failure ] there, since their output matches the
2791         failing output in this directory, and if you don't have an
2792         expected test, then they fail as [ Missing ], and putting failing
2793         baselines in the top-level cross-platform directory also seem
2794         wrong...
2795
2796         The following two tests produce a dumpRenderTree output for
2797         unknown reasons, and so they have been marked as Missing for now.
2798
2799         platform/gtk/imported/w3c/web-platform-tests/encrypted-media/resources/clearkey-retrieve-destroy-persistent-license.html
2800         platform/gtk/imported/w3c/web-platform-tests/encrypted-media/resources/clearkey-retrieve-persistent-license.html
2801
2802         * platform/gtk/TestExpectations: Update expectations.
2803         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearKey-encrypted-webm-event-mse-actual.txt: Added.
2804         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events.https-expected.txt: Added.
2805         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events.https-expected.txt: Added.
2806         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record.https-expected.txt: Added.
2807         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record.https-expected.txt: Added.
2808         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.https-expected.txt: Added.
2809         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events.https-expected.txt: Added.
2810         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState.https-expected.txt: Added.
2811         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential.https-expected.txt: Added.
2812         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src.https-expected.txt: Added.
2813         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.https-expected.txt: Added.
2814         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.https-expected.txt: Added.
2815         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys.https-expected.txt: Added.
2816         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin.https-expected.txt: Added.
2817         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input.https-expected.txt: Added.
2818         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key.https-expected.txt: Added.
2819
2820 2018-10-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
2821
2822         [CG] Adopt CG SPI for non-even cornered rounded rects
2823         https://bugs.webkit.org/show_bug.cgi?id=190155
2824
2825         Reviewed by Simon Fraser.
2826
2827         This test fails on iOS simulator because of just one pixel difference.
2828         I think it happens because of anti aliasing the color at the border of
2829         the black shadow. Since this test is testing the radius attribute of the
2830         CSS box-shadow and this should not be affected by whether the shadow has
2831         non-even rounded corners or not, I am going to change it to have even 
2832         rounded corners.
2833
2834         * fast/box-shadow/box-shadow-with-zero-radius-expected.html:
2835         * fast/box-shadow/box-shadow-with-zero-radius.html:
2836
2837 2018-10-18  Justin Fan  <justin_fan@apple.com>
2838
2839         Add test expectations for webgpu-enabled.html
2840         https://bugs.webkit.org/show_bug.cgi?id=190739
2841
2842         Unreviewed test gardening.
2843
2844         Added forgotten expectations for webgpu-enabled, and updated some expectations 
2845         to match the WebGPU -> WebMetal naming and new WebGPU tests.
2846
2847         * platform/ios/TestExpectations:
2848         * platform/mac-wk1/TestExpectations:
2849         * platform/win/TestExpectations:
2850         * platform/wincairo/TestExpectations:
2851         * platform/wpe/TestExpectations:
2852         * webgpu/webgpu-enabled-expected.txt: Added.
2853
2854 2018-10-18  Justin Michaud  <justin_michaud@apple.com>
2855
2856         Add new image type for CSS painting API
2857         https://bugs.webkit.org/show_bug.cgi?id=190697
2858
2859         Reviewed by Dean Jackson.
2860
2861         * fast/css-custom-paint/basic-expected.txt:
2862         * fast/css-custom-paint/basic.html:
2863
2864 2018-10-18  Jer Noble  <jer.noble@apple.com>
2865
2866         [MSE] timestampOffset can introduce floating-point rounding errors to incoming samples
2867         https://bugs.webkit.org/show_bug.cgi?id=190590
2868         <rdar://problem/45275626>
2869
2870         Reviewed by Eric Carlson.
2871
2872         * media/media-source/media-source-sequence-timestamps-expected.txt:
2873         * media/media-source/media-source-timestampoffset-rounding-error-expected.txt: Added.
2874         * media/media-source/media-source-timestampoffset-rounding-error.html: Added.
2875         * media/media-source/mock-media-source.js:
2876         (makeASample):
2877
2878 2018-10-18  Jer Noble  <jer.noble@apple.com>
2879
2880         Enable WKPreferences._lowPowerVideoAudioBufferSizeEnabled by default
2881         https://bugs.webkit.org/show_bug.cgi?id=190315
2882         <rdar://problem/45047807>
2883
2884         Reviewed by Eric Carlson.
2885
2886         * media/audio-controls-timeline-in-media-document-expected.txt:
2887         * media/audio-controls-timeline-in-media-document.html:
2888
2889 2018-10-18  Jer Noble  <jer.noble@apple.com>
2890
2891         Safari is not able to adapt between H264 streams with EditList and without EditList
2892         https://bugs.webkit.org/show_bug.cgi?id=190638
2893         <rdar://problem/45342208>
2894
2895         Reviewed by Eric Carlson.
2896
2897         * media/media-source/media-source-append-overlapping-dts-expected.txt: Added.
2898         * media/media-source/media-source-append-overlapping-dts.html: Added.
2899
2900 2018-10-18  Per Arne Vollan  <pvollan@apple.com>
2901
2902         [WebVTT] Region parameter and value should be separated by ':'
2903         https://bugs.webkit.org/show_bug.cgi?id=190735
2904
2905         Reviewed by Eric Carlson.
2906
2907         * media/track/captions-webvtt/captions-regions.vtt:
2908         * media/track/captions-webvtt/header-regions.vtt:
2909
2910 2018-10-18  Jer Noble  <jer.noble@apple.com>
2911
2912         Add support for MediaKeyEncryptionScheme
2913         https://bugs.webkit.org/show_bug.cgi?id=190173
2914
2915         Reviewed by Eric Carlson.
2916
2917         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-expected.txt:
2918         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html:
2919
2920 2018-10-18  Youenn Fablet  <youenn@apple.com>
2921
2922         Handle MDNS resolution of candidates through libwebrtc directly
2923         https://bugs.webkit.org/show_bug.cgi?id=190681
2924
2925         Reviewed by Eric Carlson.
2926
2927         * TestExpectations:
2928         Test should no longer be flaky as we no longer enforce a timer for resolving MDNS candidates.
2929
2930 2018-10-18  Ross Kirsling  <ross.kirsling@sony.com>
2931
2932         delete expression should not throw without a reference
2933         https://bugs.webkit.org/show_bug.cgi?id=190637
2934
2935         Reviewed by Yusuke Suzuki.
2936
2937         * js/basic-strict-mode-expected.txt:
2938         * js/script-tests/basic-strict-mode.js:
2939         Update test cases.
2940
2941 2018-10-18  Wenson Hsieh  <wenson_hsieh@apple.com>
2942
2943         [GTK] fast/selectors/read-only-read-write-input-basics.html failing since r237245
2944         https://bugs.webkit.org/show_bug.cgi?id=190711
2945
2946         Unreviewed test gardening.
2947
2948         Adjust layout test baselines after r237245. Make fast/selectors/read-only-read-write-input-basics-expected.txt
2949         contain PASS expectations for color inputs, and remove port-specific iOS/macOS WebKit2 expectations. Since color
2950         inputs are disabled in legacy WebKit, move the layout test expectation in platform/mac to platform/mac-wk1.
2951
2952         * fast/selectors/read-only-read-write-input-basics-expected.txt:
2953         * platform/ios-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Removed.
2954         * platform/mac-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Removed.
2955
2956 2018-10-18  Miguel Gomez  <magomez@igalia.com>
2957
2958         Unreviewed GTK+ gardening after r237249.
2959
2960         * platform/gtk/TestExpectations:
2961         * platform/gtk/fast/forms/fieldset/fieldset-elements-htmlcollection-expected.txt: Added.
2962
2963 2018-10-18  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2964
2965         [JSC] JSC should have "parseFunction" to optimize Function constructor
2966         https://bugs.webkit.org/show_bug.cgi?id=190340
2967
2968         Reviewed by Mark Lam.
2969
2970         * fast/dom/attribute-event-listener-errors-expected.txt:
2971         * fast/events/attribute-listener-deletion-crash-expected.txt:
2972         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
2973         * js/dom/invalid-syntax-for-function-expected.txt:
2974         * js/dom/script-start-end-locations-expected.txt:
2975
2976 2018-10-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2977
2978         Enable the datalist element by default on iOS and macOS
2979         https://bugs.webkit.org/show_bug.cgi?id=190594
2980         <rdar://problem/45281159>
2981
2982         Reviewed by Ryosuke Niwa and Tim Horton.
2983
2984         * TestExpectations:
2985
2986         Mark a couple of datalist tests as failures, with corresponding Bugzilla links.
2987
2988         * fast/forms/datalist/datalist-fallback-content-expected.html:
2989         * fast/forms/datalist/datalist-fallback-content.html:
2990
2991         Refactor this ref test. This was checking that a text input field with an associated datalist with fallback
2992         content looks identical to an text input field without a datalist, but this simply isn't the case with our
2993         current implementation due to the presence of the list button. Instead, add a div to cover the list button in
2994         both cases, and further augment this test to check that inputs of type color behave the same.
2995
2996         * fast/forms/datalist/range-snap-to-datalist-expected.txt: Added.
2997
2998         Add missing expectations for this test that were never checked in. Since sliderTickSnappingThreshold simply
2999         returns 0, this test behaves as expected, though behavior here may change when we add a make the "snapping
3000         threshold" nonzero.
3001
3002         * fast/forms/datalist/validity-assertion-inserting-into-datalist-expected.txt: Renamed from LayoutTests/fast/forms/validity-assertion-inserting-into-datalist-expected.txt.
3003         * fast/forms/datalist/validity-assertion-inserting-into-datalist.html: Renamed from LayoutTests/fast/forms/validity-assertion-inserting-into-datalist.html.
3004         * fast/selectors/read-only-read-write-input-basics-expected.txt:
3005         * platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
3006         * platform/ios-simulator/fast/forms/datalist/datalist-searchinput-appearance-expected.txt: Added.
3007         * platform/ios-simulator/fast/forms/datalist/datalist-textinput-appearance-expected.txt: Added.
3008
3009         Add missing expectations.
3010
3011         * platform/ios-wk1/TestExpectations:
3012
3013         Don't run datalist tests in WebKitLegacy by marking them as [ WontFix ].
3014
3015         * platform/ios-wk2/accessibility/roles-exposed-expected.txt: Added.
3016         * platform/ios-wk2/fast/borders/empty-outline-border-assert-expected.txt: Added.
3017         * platform/ios-wk2/fast/dom/Window/window-lookup-precedence-expected.txt: Added.
3018         * platform/ios-wk2/fast/forms/label/labelable-elements-expected.txt: Added.
3019         * platform/ios-wk2/fast/forms/label/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
3020         * platform/ios-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Copied from LayoutTests/fast/selectors/read-only-read-write-input-basics-expected.txt.
3021         * platform/ios-wk2/imported/w3c/web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
3022         * platform/ios-wk2/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode-expected.txt: Added.
3023         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt: Added.
3024         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt: Added.
3025         * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt.
3026         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt.
3027         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
3028         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt.
3029         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt:
3030         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
3031         * platform/ios-wk2/imported/w3c/web-platform-tests/shadow-dom/input-element-list-expected.txt: Added.
3032         * platform/ios-wk2/mathml/presentation/foreign-element-in-token-expected.txt: Added.
3033
3034         Add baselines for WebKit2, where we enable the datalist element and color inputs.
3035
3036         * platform/ios/TestExpectations:
3037         * platform/mac-wk1/TestExpectations:
3038
3039         Don't run datalist tests in WebKitLegacy by marking them as [ WontFix ].
3040
3041         * platform/mac-wk2/accessibility/roles-exposed-expected.txt: Copied from LayoutTests/platform/mac/accessibility/roles-exposed-expected.txt.
3042         * platform/mac-wk2/fast/borders/empty-outline-border-assert-expected.txt: Added.
3043         * platform/mac-wk2/fast/dom/Window/window-lookup-precedence-expected.txt: Added.
3044         * platform/mac-wk2/fast/forms/label/labelable-elements-expected.txt: Added.
3045         * platform/mac-wk2/fast/forms/label/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
3046         * platform/mac-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Copied from LayoutTests/fast/selectors/read-only-read-write-input-basics-expected.txt.
3047         * platform/mac-wk2/imported/w3c/web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
3048         * platform/mac-wk2/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode-expected.txt: Added.
3049         * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt: Added.
3050         * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt: Added.
3051         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt.
3052         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt.
3053         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt.
3054         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt.
3055         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt.
3056         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt.
3057         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Copied from LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt.
3058         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
3059         * platform/mac-wk2/imported/w3c/web-platform-tests/shadow-dom/input-element-list-expected.txt: Added.
3060         * platform/mac-wk2/mathml/presentation/foreign-element-in-token-expected.txt: Added.
3061
3062         Add baselines for WebKit2, where we enable the datalist element and color inputs.
3063
3064         * platform/mac/TestExpectations:
3065         * platform/mac/accessibility/roles-exposed-expected.txt:
3066         * platform/mac/fast/selectors/read-only-read-write-input-basics-expected.txt:
3067         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
3068         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
3069         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt:
3070         * platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt:
3071
3072         Re-rebaseline test expectations that involve input type color, now that color inputs are off by default in WebKitLegacy.
3073
3074         * platform/win/TestExpectations:
3075
3076         Remove various datalist test skips and failures on macOS and iOS; ensure that the test failures that are still
3077         present are tracked with links to Bugzilla.
3078
3079 2018-10-17  Justin Michaud  <justin_michaud@apple.com>
3080
3081         Parse paint() and store paint callbacks for CSS Painting API
3082         https://bugs.webkit.org/show_bug.cgi?id=190657
3083
3084         Reviewed by Dean Jackson.
3085
3086         * fast/css-custom-paint/basic-expected.txt:
3087         * fast/css-custom-paint/basic.html:
3088
3089 2018-10-17  Justin Fan  <justin_fan@apple.com>
3090
3091         [WebGPU] Implement WebGPU bindings up through WebGPUDevice creation
3092         https://bugs.webkit.org/show_bug.cgi?id=190653
3093
3094         Reviewed by Dean Jackson.
3095
3096         Small test to validate creation of a WebGPUDevice when WebGPU is enabled.
3097
3098         * webgpu/webgpu-enabled.html: Added.
3099
3100 2018-10-17  Andy Estes  <aestes@apple.com>
3101
3102         [Apple Pay] Increment the API version to 5
3103         https://bugs.webkit.org/show_bug.cgi?id=190686
3104         <rdar://problem/45348523>
3105
3106         Reviewed by Simon Fraser.
3107
3108         * http/tests/ssl/applepay/ApplePaySessionV5-expected.txt: Added.
3109         * http/tests/ssl/applepay/ApplePaySessionV5.html: Added.
3110         * platform/mac-wk2/TestExpectations:
3111
3112 2018-10-17  Chris Fleizach  <cfleizach@apple.com>
3113
3114         AX: Certain tags should identify their context to iOS API
3115         https://bugs.webkit.org/show_bug.cgi?id=190622
3116         <rdar://problem/45308194>
3117
3118         Reviewed by Zalan Bujtas.
3119
3120         * accessibility/ios-simulator/text-context-attributes.html: Added.
3121         * accessibility/ios-simulator/text-context-attributes-expcted.txt: Added.
3122
3123 2018-10-17  Ali Juma  <ajuma@chromium.org>
3124
3125         Flaky IntersectionObserver web platform tests involving style updates
3126         https://bugs.webkit.org/show_bug.cgi?id=189091
3127
3128         Reviewed by Simon Fraser.
3129
3130         Remove expectation for tests that are no longer flaky.
3131
3132         Skip IntersectionObserver tests on WK1.
3133
3134         * TestExpectations:
3135         * platform/mac-wk1/TestExpectations:
3136
3137 2018-10-17  Charlie Turner  <cturner@igalia.com>
3138
3139         [EME] media/encrypted-media/mock-MediaKeySystemAccess.html crashes in CDM::createInstance
3140         https://bugs.webkit.org/show_bug.cgi?id=190578
3141
3142         Reviewed by Xabier Rodriguez-Calvar.
3143
3144         * platform/gtk/TestExpectations:
3145
3146 2018-10-16  Chris Dumez  <cdumez@apple.com>
3147
3148         Regression(r236795) Check boxes are sometimes checked when they should not be
3149         https://bugs.webkit.org/show_bug.cgi?id=190651
3150         <rdar://problem/45319934>
3151
3152         Reviewed by Ryosuke Niwa.
3153
3154         Add layout test coverage.
3155
3156         * fast/dom/HTMLInputElement/checkbox-dirty-checkedness-flag-expected.txt: Added.
3157         * fast/dom/HTMLInputElement/checkbox-dirty-checkedness-flag.html: Added.
3158
3159 2018-10-16  Chris Dumez  <cdumez@apple.com>
3160
3161         window.performance should not become null after the window loses its browsing context
3162         https://bugs.webkit.org/show_bug.cgi?id=190636
3163
3164         Reviewed by Ryosuke Niwa.
3165
3166         Extend layout test coverage.
3167
3168         * http/tests/dom/cross-origin-detached-window-properties-expected.txt:
3169         * http/tests/dom/cross-origin-detached-window-properties.html:
3170         * http/tests/dom/same-origin-detached-window-properties-expected.txt:
3171         * http/tests/dom/same-origin-detached-window-properties.html:
3172
3173 2018-10-16  Timothy Hatcher  <timothy@apple.com>
3174
3175         Add <meta name="supported-color-schemes"> to control what color schemes the page supports
3176         https://bugs.webkit.org/show_bug.cgi?id=190526
3177         rdar://problem/45230140
3178
3179         Reviewed by Dean Jackson.
3180
3181         * css-dark-mode/supported-color-schemes-expected.txt: Added.
3182         * css-dark-mode/supported-color-schemes.html: Added.
3183
3184 2018-10-16  Devin Rousso  <drousso@apple.com>
3185
3186         Web Inspector: Canvas: capture previously saved states and add them to the recording payload
3187         https://bugs.webkit.org/show_bug.cgi?id=190473
3188
3189         Reviewed by Joseph Pecoraro.
3190
3191         * inspector/canvas/recording-2d-expected.txt:
3192         * inspector/canvas/recording-2d.html:
3193         * inspector/canvas/resources/recording-utilities.js:
3194         (TestPage.registerInitializer):
3195         (TestPage.registerInitializer.async.logRecording): Added.
3196         (TestPage.registerInitializer.logRecording): Deleted.
3197         * inspector/model/recording-expected.txt:
3198         * inspector/model/recording.html:
3199
3200 2018-10-16  Justin Michaud  <justin_michaud@apple.com>
3201
3202         Implement feature flag and bindings for CSS Painting API
3203         https://bugs.webkit.org/show_bug.cgi?id=190237
3204
3205         Reviewed by Ryosuke Niwa.
3206
3207         Add basic tests for the CSS Painting API registerPaint function,
3208         and test the custom bindings.
3209
3210         * fast/css-custom-paint/basic-expected.txt: Added.
3211         * fast/css-custom-paint/basic.html: Added.
3212         * fast/css-custom-paint/registerPaintBindings-expected.txt: Added.
3213         * fast/css-custom-paint/registerPaintBindings.html: Added.
3214         * platform/ios-wk1/TestExpectations:
3215         * platform/mac-wk1/TestExpectations:
3216         * platform/win/TestExpectations:
3217
3218 2018-10-16  Per Arne Vollan  <pvollan@apple.com>
3219
3220         [WebVTT] Support inline WebVTT styles
3221         https://bugs.webkit.org/show_bug.cgi?id=190369
3222
3223         Reviewed by Eric Carlson.
3224
3225         * media/track/captions-webvtt/css-styling.vtt: Added.
3226         * media/track/captions-webvtt/no-css-styling.vtt: Added.
3227         * media/track/track-cue-css-expected.html: Added.
3228         * media/track/track-cue-css.html: Added.
3229
3230 2018-10-16  Chris Dumez  <cdumez@apple.com>
3231
3232         window.navigator should not become null after the window loses its browsing context
3233         https://bugs.webkit.org/show_bug.cgi?id=190595
3234
3235         Reviewed by Ryosuke Niwa.
3236
3237         Extend layout test coverage.
3238
3239         * fast/frames/detached-frame-property-expected.txt:
3240         * fast/frames/detached-frame-property.html:
3241         * http/tests/dom/cross-origin-detached-window-properties-expected.txt:
3242         * http/tests/dom/cross-origin-detached-window-properties.html:
3243         * http/tests/dom/same-origin-detached-window-properties-expected.txt:
3244         * http/tests/dom/same-origin-detached-window-properties.html:
3245
3246 2018-10-16  Charlie Turner  <cturner@igalia.com>
3247
3248         [EME] Multiple ClearKey tests crashing in gst_qtdemux_request_protection_context
3249         https://bugs.webkit.org/show_bug.cgi?id=190577
3250
3251         Reviewed by Michael Catanzaro.
3252
3253         * platform/gtk/TestExpectations:
3254
3255 2018-10-15  Timothy Hatcher  <timothy@apple.com>
3256
3257         Add support for prefers-color-scheme media query
3258         https://bugs.webkit.org/show_bug.cgi?id=190499
3259         rdar://problem/45212025
3260
3261         Reviewed by Dean Jackson.
3262
3263         * css-dark-mode/prefers-color-scheme-expected.txt: Added.
3264         * css-dark-mode/prefers-color-scheme.html: Added.
3265         * platform/gtk/TestExpectations: Skip css-dark-mode.
3266         * platform/ios/TestExpectations: Skip css-dark-mode.
3267         * platform/mac-wk1/TestExpectations: Skip css-dark-mode.
3268         * platform/win/TestExpectations: Skip css-dark-mode.
3269         * platform/wincairo/TestExpectations: Skip css-dark-mode.
3270         * platform/wpe/TestExpectations: Skip css-dark-mode.
3271
3272 2018-10-15  Matt Baker  <mattbaker@apple.com>
3273
3274         Web Inspector: Cleanup Table test utilities
3275         https://bugs.webkit.org/show_bug.cgi?id=190538
3276         <rdar://problem/45237730>
3277
3278         Reviewed by Joseph Pecoraro.
3279
3280         Cleanup Table test utilities by exposing removing the artificial dependency
3281         between TableDelegate and TableDataSource, and exposing a cleaner set of
3282         utility methods to InspectorTest. This patch changes `InspectorTest.createTable`
3283         to take no parameters, and adds `InspectorTest.createTableWithDelegate` for
3284         tests that need to supply a custom delegate.
3285
3286         * inspector/table/resources/table-utilities.js:
3287         (TestPage.registerInitializer.InspectorTest.TableDataSource):
3288         (TestPage.registerInitializer.InspectorTest.TableDelegate):
3289         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tablePopulateCell):
3290         (TestPage.registerInitializer.createDataSource):
3291         (TestPage.registerInitializer.createTableInternal):
3292         (TestPage.registerInitializer.InspectorTest.createTable):
3293         (TestPage.registerInitializer.InspectorTest.createTableWithDelegate):
3294         (TestPage.registerInitializer):
3295
3296         * inspector/table/table-selection-expected.txt:
3297         Update with new test suite name.
3298
3299         * inspector/table/table-selection.html:
3300
3301 2018-10-15  Charles Vazac  <cvazac@gmail.com>
3302
3303         Web Inspector: Expose Server Timing Response Headers in Network Tab
3304         https://bugs.webkit.org/show_bug.cgi?id=190440
3305
3306         Reviewed by Joseph Pecoraro.
3307
3308         * inspector/unit-tests/server-timing-entry-expected.txt:
3309         * inspector/unit-tests/server-timing-entry.html:
3310
3311 2018-10-15  Alex Christensen  <achristensen@webkit.org>
3312
3313         Garden WK2 tests after r237104
3314         https://bugs.webkit.org/show_bug.cgi?id=190522
3315
3316         * platform/wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Removed.
3317         I added  this wk2 expectation in r234658 after r234640.  r237104 effectively did the inverse of r234640,
3318         so behavior is back to how it was before then.  This makes the expectations reflect such.
3319
3320 2018-10-15  Chris Dumez  <cdumez@apple.com>
3321
3322         Experiment: target=_blank on anchors should imply rel=noopener
3323         https://bugs.webkit.org/show_bug.cgi?id=190481
3324
3325         Reviewed by Alex Christensen.
3326
3327         Update existing tests to reflect behavior change.
3328
3329         * TestExpectations:
3330         * http/tests/navigation/no-referrer-reset.html:
3331         * http/tests/security/resources/referrer-policy-redirect-link.html:
3332         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
3333         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
3334         * http/tests/security/xssAuditor/link-opens-new-window.html:
3335
3336 2018-10-15  Andy Estes  <aestes@apple.com>
3337
3338         [Apple Pay] New shipping methods are ignored when updating after the shippingaddresschange event
3339         https://bugs.webkit.org/show_bug.cgi?id=190560
3340         <rdar://problem/44559075>
3341
3342         Reviewed by Youenn Fablet.
3343
3344         * http/tests/ssl/applepay/ApplePayShippingAddressChangeEventErrors.https-expected.txt:
3345         * http/tests/ssl/applepay/ApplePayShippingAddressChangeEventErrors.https.html:
3346
3347 2018-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
3348
3349         [iOS] Can't select text after dismissing the keyboard when changing focus
3350         https://bugs.webkit.org/show_bug.cgi?id=190563
3351         <rdar://problem/44613559>
3352
3353         Reviewed by Tim Horton.
3354
3355         Add a new layout test to check that the user can make a selection by long pressing after the keyboard is
3356         dismissed due to changing the focused element.
3357
3358         * editing/selection/ios/select-text-after-changing-focus-expected.txt: Added.
3359         * editing/selection/ios/select-text-after-changing-focus.html: Added.
3360         * resources/ui-helper.js:
3361
3362         Also tweak the behavior of `UIHelper.waitForKeyboardToHide()`, so that it resolves immediately if the keyboard
3363         is not shown. This allows us to ensure that tests which use `UIHelper.waitForKeyboardToHide()` are robust in the
3364         case where they wait for another action to complete (e.g. a simulated tap) prior to registering a keyboard
3365         hiding callback.
3366
3367         (window.UIHelper.waitForKeyboardToHide.return.new.Promise):
3368         (window.UIHelper.waitForKeyboardToHide):
3369
3370 2018-10-15  Andy Estes  <aestes@apple.com>
3371
3372         [Apple Pay] Payment authorization results with ApplePayErrors should never be considered final
3373         https://bugs.webkit.org/show_bug.cgi?id=190559
3374         <rdar://problem/37250908>
3375
3376         Reviewed by Anders Carlsson.
3377
3378         * http/tests/ssl/applepay/ApplePaySessionFinalState.https-expected.txt: Added.
3379         * http/tests/ssl/applepay/ApplePaySessionFinalState.https.html: Added.
3380
3381 2018-10-15  Commit Queue  <commit-queue@webkit.org>
3382
3383         Unreviewed, rolling out r237054.
3384         https://bugs.webkit.org/show_bug.cgi?id=190593
3385
3386         "this regressed JetStream 2 by 6% on iOS" (Requested by
3387         saamyjoon on #webkit).
3388
3389         Reverted changeset:
3390
3391         "[JSC] JSC should have "parseFunction" to optimize Function
3392         constructor"
3393         https://bugs.webkit.org/show_bug.cgi?id=190340
3394         https://trac.webkit.org/changeset/237054
3395
3396 2018-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
3397
3398         Changing view scale should zoom to initial scale if the page is already at initial scale
3399         https://bugs.webkit.org/show_bug.cgi?id=190570
3400         <rdar://problem/45261877>
3401
3402         Reviewed by Tim Horton.
3403
3404         * fast/viewport/ios/initial-scale-after-changing-view-scale-expected.txt: Added.
3405         * fast/viewport/ios/initial-scale-after-changing-view-scale.html: Added.
3406
3407         Add a new layout test to verify that:
3408         1.  Changing view scale before the page scale factor is changed by the user zooms to the new initial scale.
3409         2.  Changing view scale after the user changes the page scale to something different than initial scale does not
3410             cause the page to zoom to the new initial scale.
3411         3.  Changing view scale after the user changes the page scale factor back to initial scale causes the page to
3412             zoom to the new initial scale.
3413
3414         * resources/basic-gestures.js:
3415
3416         Make a small tweak in `doubleTapToZoomAtPoint` to ensure that both single taps as well as zooming are complete
3417         before invoking UIScriptController completion.
3418
3419         (return.new.Promise):
3420
3421 2018-10-15  Yoshiaki Jitsukawa  <yoshiaki.jitsukawa@sony.com>
3422
3423         [Cairo] Incorrect rendering for 135-deg skews
3424         https://bugs.webkit.org/show_bug.cgi?id=190513
3425
3426         Reviewed by Žan Doberšek.
3427
3428         * fast/transforms/skew-x-135deg-with-gradient-expected.html: Added.
3429         * fast/transforms/skew-x-135deg-with-gradient.html: Added.
3430         * fast/transforms/skew-y-135deg-with-gradient-expected.html: Added.
3431         * fast/transforms/skew-y-135deg-with-gradient.html: Added.
3432
3433 2018-10-15  Chris Dumez  <cdumez@apple.com>
3434
3435         Restrict browsing context lookup by name to frames that are related to one another
3436         https://bugs.webkit.org/show_bug.cgi?id=190475
3437
3438         Reviewed by Alex Christensen.
3439
3440         * http/tests/dom/new-window-can-target-opener-expected.txt: Added.
3441         * http/tests/dom/new-window-can-target-opener.html: Added.
3442         * http/tests/dom/noopener-window-cannot-target-opener-expected.txt: Added.
3443         * http/tests/dom/noopener-window-cannot-target-opener.html: Added.
3444         * http/tests/dom/noopener-window-not-targetable-expected.txt: Added.
3445         * http/tests/dom/noopener-window-not-targetable.html: Added.
3446         * http/tests/dom/noopener-window-not-targetable2-expected.txt: Added.
3447         * http/tests/dom/noopener-window-not-targetable2.html: Added.
3448         * http/tests/dom/noreferrer-window-not-targetable-expected.txt: Added.
3449         * http/tests/dom/noreferrer-window-not-targetable.html: Added.
3450         * http/tests/dom/opened-window-not-targetable-after-disowning-opener-expected.txt: Added.
3451         * http/tests/dom/opened-window-not-targetable-after-disowning-opener.html: Added.
3452         * http/tests/dom/resources/new-window-can-target-opener-win.html: Added.
3453         * http/tests/dom/resources/noopener-window-cannot-target-opener-win.html: Added.
3454         Add layout test coverage.
3455
3456         * fast/dom/Window/a-rel-noopener-expected.txt:
3457         * fast/dom/Window/area-rel-noopener-expected.txt:
3458         * fast/dom/Window/resources/rel-noopener.js:
3459         * http/tests/navigation/no-referrer-target-blank-expected.txt:
3460         * http/tests/navigation/resources/no-referrer-helper.php:
3461         * platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/windows/noreferrer-window-name-expected.txt:
3462         * platform/wk2/imported/w3c/web-platform-tests/html/browsers/windows/noreferrer-window-name-expected.txt:
3463         Update / rebaseline existing tests to reflect behavior change.
3464
3465 2018-10-15  YUHAN WU  <yuhan_wu@apple.com>
3466
3467         Implement error handler of MediaRecorder
3468         https://bugs.webkit.org/show_bug.cgi?id=190438
3469
3470         Reviewed by Youenn Fablet.
3471
3472         Since dataavailable event has not been implemented, skip three MediaRecorder-related tests now.
3473         We will need to reenable those tests once implementing the dataavailable event for MediaRecorder.
3474
3475         * TestExpectations:
3476
3477 2018-10-15  Chris Dumez  <cdumez@apple.com>
3478
3479         Window's properties such as 'location' should not become null when it loses its browsing context
3480         https://bugs.webkit.org/show_bug.cgi?id=190539
3481
3482         Reviewed by Alex Christensen.
3483
3484         * http/tests/dom/cross-origin-detached-window-properties-expected.txt: Added.
3485         * http/tests/dom/cross-origin-detached-window-properties.html: Added.
3486         * http/tests/dom/resources/post-message-to-parent-when-loaded.html: Added.
3487         * http/tests/dom/same-origin-detached-window-properties-expected.txt: Added.
3488         * http/tests/dom/same-origin-detached-window-properties.html: Added.
3489         Add layout test coverage.
3490
3491         * fast/frames/detached-frame-property-expected.txt:
3492         * fast/frames/detached-frame-property.html:
3493         * http/tests/security/named-window-property-from-same-origin-inactive-document-expected.txt:
3494         * http/tests/security/named-window-property-from-same-origin-inactive-document.html:
3495         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document-expected.txt:
3496         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document.html:
3497         * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html:
3498         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
3499         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
3500         * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html:
3501         Update existing layout tests to reflect behavior change.
3502
3503 2018-10-15  Claudio Saavedra  <csaavedra@igalia.com>
3504
3505         [GStreamer] MediaStream test failing since r236877
3506
3507         Unreviewed gardening
3508         * platform/gtk/TestExpectations:
3509         * platform/wpe/TestExpectations:
3510
3511 2018-10-12  Wenson Hsieh  <wenson_hsieh@apple.com>
3512
3513         [iOS] Allow SPI clients to lay out at arbitrarily scaled sizes and scale to fit the view
3514         https://bugs.webkit.org/show_bug.cgi?id=190504
3515         <rdar://problem/45117760>
3516
3517         Reviewed by Tim Horton.
3518
3519         Add two new layout tests on iOS that change WKWebView's view scale, and measure the resulting window sizes and
3520         lengths of viewport units.
3521
3522         * fast/viewport/ios/constant-width-viewport-after-changing-view-scale-expected.txt: Added.
3523         * fast/viewport/ios/constant-width-viewport-after-changing-view-scale.html: Added.
3524
3525         Add a test page with a viewport meta tag that has a constant width and an explicit initial scale of 0.5.
3526
3527         * fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt: Added.
3528         * fast/viewport/ios/device-width-viewport-after-changing-view-scale.html: Added.
3529
3530         Add a test page with a viewport meta tag at device-width, with initial scale 1.
3531
3532         * resources/ui-helper.js:
3533         (window.UIHelper.setViewScale):
3534
3535         Add a convenience function that wraps a UI script invocation of `setViewScale` in a promise.
3536
3537         (window.UIHelper):
3538
3539 2018-10-12  Dawei Fenton  <realdawei@apple.com>
3540
3541         [Mojave Wk2] Layout Test http/tests/cache/disk-cache/disk-cache-validation-attachment.html is flaky
3542         https://bugs.webkit.org/show_bug.cgi?id=190323
3543
3544         Unreviewed, mark test as Flaky.
3545
3546         * platform/mac-wk2/TestExpectations:
3547
3548 2018-10-12  Per Arne Vollan  <pvollan@apple.com>
3549
3550         Layout Test editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-2.html is failing
3551         https://bugs.webkit.org/show_bug.cgi?id=190520
3552
3553         Unreviewed test gardening.
3554
3555         * platform/win/TestExpectations:
3556
3557 2018-10-08  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
3558
3559         [JSC] JSC should have "parseFunction" to optimize Function constructor
3560         https://bugs.webkit.org/show_bug.cgi?id=190340
3561
3562         Reviewed by Mark Lam.
3563
3564         * fast/dom/attribute-event-listener-errors-expected.txt:
3565         * fast/events/attribute-listener-deletion-crash-expected.txt:
3566         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
3567         * js/dom/invalid-syntax-for-function-expected.txt:
3568         * js/dom/script-start-end-locations-expected.txt:
3569
3570 2018-10-11  Thibault Saunier  <tsaunier@igalia.com>
3571
3572         [GStreamer] Support arbitrary video resolution in getUserMedia API
3573         https://bugs.webkit.org/show_bug.cgi?id=189734
3574
3575         Implement arbitrary video resolution for the getUserMedia API in GStreamer.
3576
3577         Fix the MockRealtimeMediaSource device list to make devices properties match
3578         test expectations.
3579
3580         Reactivate tests that were failling because of that.
3581
3582         Reviewed by Xabier Rodriguez-Calvar.
3583
3584         * platform/gtk/TestExpectations:
3585         * platform/wpe/TestExpectations:
3586
3587 2018-10-11  Per Arne Vollan  <pvollan@apple.com>
3588
3589         Layout Test fast/forms/fieldset/fieldset-elements-htmlcollection.html is failing
3590         https://bugs.webkit.org/show_bug.cgi?id=190472
3591
3592         Unreviewed test gardening.
3593
3594         * platform/win/TestExpectations:
3595
3596 2018-10-11  Alejandro G. Castro  <alex@igalia.com>
3597
3598         [GTK][WPE] Add mediaDevices.enumerateDevices support
3599         https://bugs.webkit.org/show_bug.cgi?id=185761
3600
3601         Reviewed by Youenn Fablet.
3602
3603         Remove the failure expectation for the test
3604         media-devices-enumerate-devices.html. Just for the record we have
3605         also checked the following tests.
3606
3607         fast/mediastream/media-devices-enumerate-devices.html
3608         fast/mediastream/resources/enumerate-devices-frame.html
3609         http/tests/media/media-stream/enumerate-devices-source-id.html
3610         http/tests/media/media-stream/enumerate-devices-source-id-persistent.html
3611         http/tests/media/media-stream/resources/enumerate-devices-source-id-frame.html
3612
3613         * platform/gtk/TestExpectations:
3614
3615 2018-10-10  Devin Rousso  <drousso@apple.com>
3616
3617         Web Inspector: create special Network waterfall for media events
3618         https://bugs.webkit.org/show_bug.cgi?id=189773
3619         <rdar://problem/44626605>
3620
3621         Reviewed by Joseph Pecoraro.
3622
3623         * http/tests/inspector/dom/didFireEvent-expected.txt: Added.
3624         * http/tests/inspector/dom/didFireEvent.html: Added.
3625
3626         * inspector/unit-tests/array-utilities-expected.txt:
3627         * inspector/unit-tests/array-utilities.html:
3628
3629 2018-10-10  Brent Fulgham  <bfulgham@apple.com>
3630
3631         Only report the supported WebGL version
3632         https://bugs.webkit.org/show_bug.cgi?id=190434
3633         <rdar://problem/45024677>
3634
3635         Reviewed by Dean Jackson.
3636
3637         * fast/canvas/webgl/gl-getstring-expected.txt:
3638         * fast/canvas/webgl/gl-getstring.html:
3639
3640 2018-10-10  Tim Horton  <timothy_horton@apple.com>
3641
3642         Share more WKShareSheet code between macOS and iOS, and fix a few bugs
3643         https://bugs.webkit.org/show_bug.cgi?id=190420
3644
3645         Reviewed by Simon Fraser.
3646
3647         * fast/events/ios/share-expected.txt: Removed.
3648         * fast/events/ios/share.html: Removed.
3649         * fast/web-share/share.html: Added.
3650         * fast/web-share/share-expected.txt: Added.
3651         * resources/ui-helper.js:
3652         (window.UIHelper.setShareSheetCompletesImmediatelyWithResolution):
3653         (window.UIHelper.invokeShareSheetWithResolution): Deleted.
3654         Move the existing share sheet test to fast/web-share so it runs on both macOS and iOS.
3655
3656         * fast/web-share/share-with-no-url.html: Added.
3657         * fast/web-share/share-with-no-url-expected.txt: Added.
3658         Add a new test that the sheet is successfully invoked even when a URL is not provided.
3659
3660 2018-10-10  Devin Rousso  <drousso@apple.com>
3661
3662         Web Inspector: notify the frontend when a canvas has started recording via console.record
3663         https://bugs.webkit.org/show_bug.cgi?id=190306
3664
3665         Reviewed by Brian Burg.
3666
3667         * inspector/canvas/recording-2d.html:
3668         * inspector/canvas/recording-bitmaprenderer.html:
3669         * inspector/canvas/recording-webgl-snapshots.html:
3670         * inspector/canvas/recording-webgl.html:
3671         * inspector/canvas/resources/recording-utilities.js:
3672         (TestPage.registerInitializer.window.startRecording):
3673         Wait to complete the test until the "LastFrame" event is fired, ensuring that any running
3674         commands don't affect the next test case.
3675
3676 2018-10-09  Antoine Quint  <graouts@apple.com>
3677
3678         Remove the frames() timing function
3679         https://bugs.webkit.org/show_bug.cgi?id=190034
3680         <rdar://problem/44827544>
3681
3682         Reviewed by Dean Jackson.
3683
3684         * legacy-animation-engine/transitions/frames-timing-function-expected.txt:
3685         * legacy-animation-engine/transitions/transitions-parsing-expected.txt:
3686         * transitions/frames-timing-function-expected.txt:
3687         * transitions/transitions-parsing-expected.txt:
3688
3689 2018-10-09  Devin Rousso  <drousso@apple.com>
3690
3691         Web Inspector: show redirect requests in Network and Timelines tabs
3692         https://bugs.webkit.org/show_bug.cgi?id=150005
3693         <rdar://problem/5378164>
3694
3695         Reviewed by Joseph Pecoraro.
3696
3697         * http/tests/inspector/network/resource-timing-expected.txt:
3698         * http/tests/inspector/network/resource-timing.html:
3699
3700         * http/tests/inspector/network/resources/delay.php: Added.
3701         * http/tests/inspector/network/resources/redirect.php: Added.
3702
3703 2018-10-09  Said Abou-Hallawa  <sabouhallawa@apple.com>
3704
3705         REGRESSION(r234620): SVGLangSpace::svgAttributeChanged() should invalidate the renderer of the SVGGeometryElement descendant only
3706         https://bugs.webkit.org/show_bug.cgi?id=190411
3707
3708         Reviewed by Simon Fraser.
3709
3710         * svg/dynamic-updates/SVGStopElement-dom-xml-lang-attrr-expected.txt: Added.
3711         * svg/dynamic-updates/SVGStopElement-dom-xml-lang-attrr.html: Added.
3712
3713 2018-10-09  Chris Dumez  <cdumez@apple.com>
3714
3715         Anchor target should be ignored on activation when the download attribute is set
3716         https://bugs.webkit.org/show_bug.cgi?id=190408
3717
3718         Reviewed by Geoffrey Garen.
3719
3720         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-base-target-popup-not-allowed-expected.txt: Added.
3721         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-base-target-popup-not-allowed.html: Added.
3722         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-popup-not-allowed-expected.txt: Added.
3723         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-popup-not-allowed.html: Added.
3724         Add layout test coverage.
3725
3726         * http/tests/download/anchor-load-after-download.html:
3727         * http/tests/workers/service/resources/registration-task-queue-scheduling-1.js:
3728         Update existing WK2-only layout tests to call testRunner.setCanOpenWindows() since they rely on
3729         opening a new window. We failed to notice the issue because these tests are not run on WK1.
3730
3731         * platform/ios-wk2/TestExpectations:
3732         * platform/mac-wk1/TestExpectations:
3733         * platform/win/TestExpectations:
3734         Skip new tests on WebKit1 since the download attribute is only supported on WebKit2.
3735
3736 2018-10-09  Chris Dumez  <cdumez@apple.com>
3737
3738         Unreviewed, skip fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target.html on iOS.
3739
3740         The download attribute is not supported on iOS yet.
3741
3742         * platform/ios-wk2/TestExpectations:
3743
3744 2018-10-09  Devin Rousso  <drousso@apple.com>
3745
3746         Web Inspector: REGRESSION: fix canvas test failures after r236952 and r236954
3747         https://bugs.webkit.org/show_bug.cgi?id=190403
3748
3749         Reviewed by Joseph Pecoraro.
3750
3751         * inspector/canvas/create-context-webmetal.html:
3752         Fix missing parenthesis.
3753
3754         * inspector/canvas/resources/shaderProgram-utilities.js:
3755         (createProgram):
3756         (TestPage.registerInitializer.awaitProgramAdded):
3757         (TestPage.registerInitializer):
3758         (TestPage.registerInitializer.window.initializeTestSuite):
3759         Replace the `WI.CanvasManager` events (which were removed) with listeners for events on the
3760         specific `WI.Canvas`.
3761
3762 2018-10-09  Chris Dumez  <cdumez@apple.com>
3763
3764         REGRESSION (Safari 12): Download of Blob URL fails
3765         https://bugs.webkit.org/show_bug.cgi?id=190351
3766         <rdar://problem/45091181>
3767
3768         Reviewed by Geoffrey Garen.
3769
3770         Add layout test coverage.
3771
3772         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-expected.txt: Added.
3773         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target.html: Added.
3774
3775 2018-10-09  Youenn Fablet  <youenn@apple.com>
3776
3777         Add support for IceCandidate stats
3778         https://bugs.webkit.org/show_bug.cgi?id=190329
3779
3780         Reviewed by Eric Carlson.
3781
3782         * webrtc/candidate-stats-expected.txt: Added.
3783         * webrtc/candidate-stats.html: Added.
3784         * webrtc/routines.js:
3785         * webrtc/video-stats.html:
3786
3787 2018-10-09  Philippe Normand  <pnormand@igalia.com>
3788
3789         [GStreamer] Stealing cross-origin video pixel with HLS
3790         https://bugs.webkit.org/show_bug.cgi?id=190003
3791
3792         Reviewed by Xabier Rodriguez-Calvar.
3793
3794         * platform/gtk/TestExpectations: Unflag now-passing test.
3795
3796 2018-10-08  Devin Rousso  <drousso@apple.com>
3797
3798         Fix inspector/canvas/recording.html after r236952
3799
3800         Unreviewed. Test gardening.
3801
3802         * inspector/canvas/recording-expected.txt:
3803         * inspector/canvas/recording.html:
3804         Recordings default to only capturing a single frame, so add a parameter to ensure that we
3805         are capturing multiple frames.
3806
3807 2018-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
3808
3809         [Cocoa] [WK2] Add support for text alignment and text lists in font attributes
3810         https://bugs.webkit.org/show_bug.cgi?id=190342
3811         <rdar://problem/44767118>
3812
3813         Reviewed by Tim Horton.
3814
3815         * editing/mac/attributed-string/attributed-string-for-typing-expected.txt:
3816         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt:
3817         * platform/mac-sierra/editing/mac/attributed-string/attributed-string-for-typing-expected.txt:
3818         * platform/mac-sierra/editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt:
3819
3820         Rebaseline these two layout tests, now that typing attributes include an NSParagraphStyle.
3821
3822 2018-10-08  Justin Fan  <justin_fan@apple.com>
3823
3824         WebGPU: Rename old WebGPU prototype to WebMetal
3825         https://bugs.webkit.org/show_bug.cgi?id=190325
3826         <rdar://problem/44990443>
3827
3828         Reviewed by Dean Jackson.
3829
3830         Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
3831
3832         * fast/canvas/webgpu/webgpu-runtime-flag-expected.txt: Removed.
3833         * fast/canvas/webmetal/webmetal-dispatch-expected.txt: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-dispatch-expected.txt.
3834         * fast/canvas/webmetal/webmetal-dispatch.html: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-dispatch.html.
3835         * fast/canvas/webmetal/webmetal-runtime-flag-expected.txt: Added.
3836         * fast/canvas/webmetal/webmetal-runtime-flag.html: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-runtime-flag.html.
3837         * inspector/canvas/create-context-webmetal-expected.txt: Renamed from LayoutTests/inspector/canvas/create-context-webgpu-expected.txt.
3838         * inspector/canvas/create-context-webmetal.html: Renamed from LayoutTests/inspector/canvas/create-context-webgpu.html.
3839         * inspector/canvas/resolveCanvasContext-webgpu-expected.txt: Removed.
3840         * inspector/canvas/resolveCanvasContext-webmetal-expected.txt: Added.
3841         * inspector/canvas/resolveCanvasContext-webmetal.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu.html.
3842         * platform/gtk/TestExpectations:
3843         * platform/ios/TestExpectations:
3844         * platform/mac/TestExpectations:
3845         * platform/win/TestExpectations:
3846
3847 2018-10-08  Devin Rousso  <drousso@apple.com>
3848
3849         Web Inspector: allow multiple canvases to be recorded at the same time
3850         https://bugs.webkit.org/show_bug.cgi?id=190305
3851
3852         Reviewed by Brian Burg.
3853
3854         * inspector/canvas/recording-2d.html:
3855         * inspector/canvas/recording-bitmaprenderer.html:
3856         * inspector/canvas/recording-expected.html:
3857         * inspector/canvas/recording-webgl.html:
3858         * inspector/canvas/recording.html:
3859         * inspector/canvas/resources/recording-utilities.js:
3860         (TestPage.registerInitializer.window.startRecording.handleRecordingProgress):
3861         (TestPage.registerInitializer.window.startRecording):
3862         (TestPage.registerInitializer.window.consoleRecord):
3863         (TestPage.registerInitializer):
3864
3865 2018-10-08  Dean Jackson  <dino@apple.com>
3866
3867         CrashTracer: backboardd at Recursion :: QuartzCore: CA::Render::Updater::prepare_sublayer0
3868         https://bugs.webkit.org/show_bug.cgi?id=190376
3869         <rdar://problem/44986520>
3870
3871         Reviewed by Tim Horton.
3872
3873         * compositing/layer-creation/deep-tree.html:
3874
3875 2018-10-08  Aditya Keerthi  <akeerthi@apple.com>
3876
3877         Make <input type=color> a runtime enabled (on-by-default) feature
3878         https://bugs.webkit.org/show_bug.cgi?id=189162
3879
3880         Reviewed by Wenson Hsieh and Tim Horton.
3881
3882         Rebaseline layout tests after enabling input type=color by default.
3883
3884         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
3885         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
3886         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
3887         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
3888         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
3889         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt:
3890         * platform/ios/fast/forms/color/input-appearance-color-expected.txt:
3891         * platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-filter-expected.txt: Added.
3892         * platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/color-expected.txt:
3893         * platform/mac/accessibility/roles-exposed-expected.txt:
3894         * platform/mac/fast/selectors/read-only-read-write-input-basics-expected.txt:
3895         * platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
3896         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt:
3897         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
3898         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
3899         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt:
3900         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
3901         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt:
3902         * platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt:
3903
3904 2018-10-08  Ryan Haddad  <ryanhaddad@apple.com>
3905
3906         Move test expectations from ios-12 to ios directory
3907         https://bugs.webkit.org/show_bug.cgi?id=189839
3908
3909         Unreviewed test gardening..
3910
3911         * platform/ios-11/http/tests/quicklook/hide-referer-on-navigation-expected.txt: Removed.
3912         * platform/ios-11/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt: Removed.
3913         * platform/ios-11/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_hkdf.https-expected.txt: Removed.
3914         * platform/ios-11/platform/ios/ios/fast/text/opticalFont-expected.txt: Removed.
3915         * platform/ios-11/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt: Removed.
3916         * platform/ios-11/platform/ios/ios/fast/text/opticalFontWithWeight-expected.txt: Removed.
3917         * platform/ios-11/quicklook/powerpoint-expected.txt: Removed.
3918         * platform/ios-11/quicklook/powerpoint-legacy-expected.txt: Removed.
3919         * platform/ios-11/quicklook/word-expected.txt: Removed.
3920         * platform/ios-11/quicklook/word-legacy-expected.txt: Removed.
3921         * platform/ios-11/svg/batik/text/longTextOnPath-expected.txt: Removed.
3922         * platform/ios-12/TestExpectations: Removed.
3923         * platform/ios/TestExpectations:
3924
3925 2018-10-08  Truitt Savell  <tsavell@apple.com>
3926
3927         Attempt to fix test failure after 236915
3928         https://bugs.webkit.org/show_bug.cgi?id=190352
3929
3930         Unreviewed Test Gardening
3931
3932         * platform/mac-highsierra/hkdf.https.worker-expected.txt: Removed.
3933         * platform/mac/imported/w3c/canvas/2d.shadow.gradient.basic-expected.png: Removed.
3934         * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt:
3935
3936 2018-10-08  Truitt Savell  <tsavell@apple.com>
3937
3938         Moving files to fix failures introduced in r236915
3939         https://bugs.webkit.org/show_bug.cgi?id=190352
3940
3941         Unreviewed test gardening 
3942
3943         * platform/mac-highsierra/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt: Copied from LayoutTests/platform/mac/hkdf.https.worker-expected.txt.
3944         * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt: Renamed from LayoutTests/platform/mac/hkdf.https.worker-expected.txt.
3945
3946 2018-10-08  Devin Rousso  <drousso@apple.com>
3947
3948         Web Inspector: group media network entries by the node that triggered the request
3949         https://bugs.webkit.org/show_bug.cgi?id=189606
3950         <rdar://problem/44438527>
3951
3952         Reviewed by Brian Burg.
3953
3954         * http/tests/inspector/network/resource-initiatorNode-expected.txt: Added.
3955         * http/tests/inspector/network/resource-initiatorNode.html: Added.
3956
3957         * inspector/canvas/requestNode.html:
3958         Test case no longer needed since the document is always requested once it's available.
3959
3960 2018-10-08  Andy Estes  <aestes@apple.com>
3961
3962         [Payment Request] Requests should be aborted after details settle when the user cancels
3963         https://bugs.webkit.org/show_bug.cgi?id=190333
3964
3965         Reviewed by Alex Christensen.
3966
3967         * http/tests/paymentrequest/payment-request-show-method.https-expected.txt:
3968         * http/tests/paymentrequest/payment-request-show-method.https.html:
3969
3970 2018-10-08  Ryan Haddad  <ryanhaddad@apple.com>
3971
3972         REGRESSION (r235630?): [Mojave WK1] Layout test compositing/filters/opacity-change-on-filtered-paints-into-ancestor.html is a flaky image failure
3973         https://bugs.webkit.org/show_bug.cgi?id=189756
3974
3975         Unreviewed test gardening.
3976
3977         * platform/mac-wk1/TestExpectations:
3978
3979 2018-10-08  David Fenton  <david_fenton@apple.com>
3980
3981         Layout Tests editing/deleting/delete-emoji.html editing/deleting/delete-emoji-1.html editing/deleting/delete-emoji-9.html are passing.
3982         https://bugs.webkit.org/show_bug.cgi?id=190353
3983
3984         Unreviewed. Remove the tests from TestExpectations file.
3985
3986         * platform/mac/TestExpectations:
3987
3988 2018-10-08  Dawei Fenton  <realdawei@apple.com>
3989
3990         Layout Tests editing/deleting/delete-emoji.html editing/deleting/delete-emoji-1.html editing/deleting/delete-emoji-9.html are passing.
3991         https://bugs.webkit.org/show_bug.cgi?id=190353
3992
3993         Unreviewed test gardening.
3994
3995         * platform/mac/TestExpectations:
3996
3997 2018-10-08  Truitt Savell  <tsavell@apple.com>
3998
3999         Rebaseline imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker.html for Mojave
4000         https://bugs.webkit.org/show_bug.cgi?id=190352
4001
4002         Unreviewed test Gardening
4003
4004         * platform/mac-highsierra/hkdf.https.worker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt.
4005         * platform/mac/hkdf.https.worker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt.
4006         * platform/mac/imported/w3c/canvas/2d.shadow.gradient.basic-expected.png: Added.
4007
4008 2018-10-05  Devin Rousso  <drousso@apple.com>
4009
4010         Web Inspector: refactor constructor of WI.Resource
4011         https://bugs.webkit.org/show_bug.cgi?id=190318
4012
4013         Reviewed by Joseph Pecoraro.
4014
4015         * http/tests/inspector/network/har/har-basic.html:
4016         * inspector/unit-tests/resource-collection.html:
4017
4018 2018-10-05  Joseph Pecoraro  <pecoraro@apple.com>
4019
4020         Try to unflake inspector/layers/layerTreeDidChange.html
4021
4022         Unreviewed. Test gardening.
4023
4024         * inspector/layers/layerTreeDidChange.html:
4025         Force a layout early in the test to try to force layout tree
4026         update events in the expected sequence.
4027
4028 2018-10-05  Antoine Quint  <graouts@apple.com>
4029
4030         [Web Animations] REGRESSION (r236809): crash under AnimationTimeline::updateCSSAnimationsForElement()
4031         https://bugs.webkit.org/show_bug.cgi?id=190307
4032         <rdar://problem/45009901>
4033
4034         Reviewed by Dean Jackson.
4035
4036         This test was also crashing even though it should not have been using the new animation engine. Adding the
4037         flag to opt into the legacy animation engine.
4038
4039         * legacy-animation-engine/animations/animation-shorthand-removed.html:
4040
4041 2018-10-04  Chris Dumez  <cdumez@apple.com>
4042
4043         A Document / Window should lose its browsing context as soon as its iframe is removed from the document
4044         https://bugs.webkit.org/show_bug.cgi?id=190282
4045
4046         Reviewed by Ryosuke Niwa.
4047
4048         Update existing layout test to reflect behavior change.
4049
4050         * fast/dom/Window/BarInfo-after-frame-removed.html:
4051         * fast/dom/Window/dom-access-from-closure-iframe-expected.txt:
4052         * fast/dom/Window/dom-access-from-closure-window-expected.txt:
4053         * fast/dom/Window/dom-access-from-closure-window-with-gc-expected.txt:
4054         * fast/dom/Window/resources/dom-access-from-closure-iframe-child.html:
4055         * fast/dom/Window/resources/dom-access-from-closure-window-child.html:
4056         * fast/events/resources/before-unload-return-string-conversion-frame.html:
4057         * fast/parser/resources/set-parent-to-javascript-url.html:
4058         * http/tests/media/media-stream/disconnected-frame.html:
4059         * http/tests/security/contentSecurityPolicy/resources/checkDidSameOriginChildWindowLoad.js:
4060         (checkDidLoad):
4061         * http/tests/security/named-window-property-from-same-origin-inactive-document-expected.txt:
4062         * http/tests/security/named-window-property-from-same-origin-inactive-document.html:
4063         * http/tests/security/xss-DENIED-contentWindow-eval-expected.txt:
4064         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document-expected.txt:
4065         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document.html:
4066
4067 2018-10-04  Ross Kirsling  <ross.kirsling@sony.com>
4068
4069         Unreviewed test gardening for WinCairo (and one cross-platform test). 
4070
4071         * TestExpectations:
4072         Remove a cross-platform failure that seems to be passing on all platforms now.
4073
4074         * platform/wincairo/TestExpectations:
4075         * platform/wincairo/editing/pasteboard/emacs-ctrl-k-y-001-expected.txt: Added.
4076
4077 2018-10-04  Matt Baker  <mattbaker@apple.com>
4078
4079         Web Inspector: Table should support multiple selection and Cmd-click behavior
4080         https://bugs.webkit.org/show_bug.cgi?id=189705
4081         <rdar://problem/44571170>
4082
4083         Reviewed by Devin Rousso.
4084
4085         * inspector/table/resources/table-utilities.js: Added.
4086         (TestPage.registerInitializer.InspectorTest.TableDataSource):
4087         (TestPage.registerInitializer.InspectorTest.TableDataSource.prototype.get items):
4088         (TestPage.registerInitializer.InspectorTest.TableDataSource.prototype.tableNumberOfRows):
4089         (TestPage.registerInitializer.InspectorTest.TableDelegate):
4090         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tableSelectionDidChange):
4091         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tablePopulateCell):
4092         (TestPage.registerInitializer.InspectorTest.createTable):
4093         (TestPage.registerInitializer):
4094
4095         * inspector/table/table-selection-expected.txt: Added.
4096         * inspector/table/table-selection.html: Added.
4097         * inspector/unit-tests/index-set-expected.txt: Added.
4098         * inspector/unit-tests/index-set.html: Added.
4099
4100 2018-10-03  Ryosuke Niwa  <rniwa@webkit.org>
4101
4102         MutationRecord doesn't keep JS wrappers of target, addedNodes, and removedNodes alive
4103         https://bugs.webkit.org/show_bug.cgi?id=190277
4104
4105         Reviewed by Antti Koivisto.
4106
4107         Added two regression tests for making sure mutation observers and mutation records keep JS wrappers
4108         of the enqueued nodes alive. Also see r236799 for a previous failed attempt to add a similar test.
4109
4110         * fast/dom/MutationObserver/mutation-observer-keeps-js-wrappers-of-nodes-alive-expected.txt: Added.
4111         * fast/dom/MutationObserver/mutation-observer-keeps-js-wrappers-of-nodes-alive.html: Added.
4112         * fast/dom/MutationObserver/mutation-record-keeps-js-wrappers-of-nodes-alive-expected.txt: Added.
4113         * fast/dom/MutationObserver/mutation-record-keeps-js-wrappers-of-nodes-alive.html: Added.
4114
4115 2018-10-04  Devin Rousso  <drousso@apple.com>
4116
4117         Web Inspector: merge ProbeManager into DebuggerManager
4118         https://bugs.webkit.org/show_bug.cgi?id=190225
4119
4120         Reviewed by Joseph Pecoraro.
4121
4122         * http/tests/inspector/debugger/debugger-test.js:
4123         (TestPage.registerInitializer.InspectorTest.startTracingProbes):
4124         (TestPage.registerInitializer):
4125         * http/tests/inspector/resources/probe-test.js:
4126         (TestPage.registerInitializer.ProtocolTest.Probe.installTracingListeners):
4127         (TestPage.registerInitializer):
4128
4129 2018-10-04  Devin Rousso  <drousso@apple.com>
4130
4131         Web Inspector: some files not listed in OpenResourceDialog
4132         https://bugs.webkit.org/show_bug.cgi?id=190272
4133