mouseenter and mouseleave events don't get dispatched even when there is a capturing...
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-09-07  Ryosuke Niwa  <rniwa@webkit.org>
2
3         mouseenter and mouseleave events don't get dispatched even when there is a capturing event listener for a slot ancestor
4         https://bugs.webkit.org/show_bug.cgi?id=188561
5
6         Reviewed by Darin Adler.
7
8         Added tests for listening to mouseenter and mouseleave events using capturing and bubbling event listeners
9         across shadow boundaries.
10
11         * fast/shadow-dom/mouseenter-mouseleave-across-shadow-boundary-expected.txt: Added.
12         * fast/shadow-dom/mouseenter-mouseleave-across-shadow-boundary.html: Added.
13         * fast/shadow-dom/mouseenter-mouseleave-inside-shadow-tree-expected.txt: Added.
14         * fast/shadow-dom/mouseenter-mouseleave-inside-shadow-tree.html: Added.
15         * fast/shadow-dom/mouseenter-mouseleave-on-slot-parent-expected.txt: Added.
16         * fast/shadow-dom/mouseenter-mouseleave-on-slot-parent.html: Added.
17         * platform/ios/TestExpectations: Skip the new tests since mouse events aren't supported on iOS.
18
19 2018-09-10  Daniel Bates  <dabates@apple.com>
20
21         [iOS] Arrow keys do not dispatch DOM events to non-editable elements
22         https://bugs.webkit.org/show_bug.cgi?id=189389
23
24         Reviewed by Simon Fraser.
25
26         Update expected result now that we compute the correct keyIdentifier, keycode, and which properties
27         for DOM keyboard events dispatched when the arrow keys are pressed.
28
29         * fast/events/ios/keydown-keyup-in-non-editable-content-expected.txt:
30
31 2018-09-10  Daniel Bates  <dabates@apple.com>
32
33         [iOS] Make WKWebView become the first responder to support testing key presses to non-editable elements
34         https://bugs.webkit.org/show_bug.cgi?id=189432
35
36         Reviewed by Simon Fraser.
37
38         Add a test that DOM keyboard events are dispatched to a non-editable <body> when simulating key
39         presses using a hardware keyboard.
40
41         * fast/events/ios/keydown-keyup-in-non-editable-content-expected.txt: Added.
42         * fast/events/ios/keydown-keyup-in-non-editable-content.html: Added.
43
44 2018-09-10  Andy Estes  <aestes@apple.com>
45
46         [Payment Request] Use JSValueInWrappedObject for PaymentResponse's details attribute
47         https://bugs.webkit.org/show_bug.cgi?id=189458
48
49         Reviewed by Youenn Fablet.
50
51         * fast/dom/reference-cycle-leaks.html:
52         * http/tests/paymentrequest/payment-response-reference-cycle-leak.https-expected.txt: Added.
53         * http/tests/paymentrequest/payment-response-reference-cycle-leak.https.html: Added.
54
55 2018-09-10  Frederic Wang  <fwang@igalia.com>
56
57         [CSSOM View] Handle the scrollingElement in Element::scroll(Left/Top/Width/Height/To)
58         https://bugs.webkit.org/show_bug.cgi?id=182230
59
60         Follow-up patch replacing document.body with document.scrollingElement in
61         fast-scroll-iframe-latched-mainframe.html. This fixes flaky behavior.
62
63         Reviewed by Antonio Gomes.
64
65         * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe.html: Replace document.body
66         with document.scrollingElement since this document is in standard mode.
67
68 2018-09-10  Antoine Quint  <graouts@apple.com>
69
70         [Web Animations] Positive delays of accelerated animations are not respected
71         https://bugs.webkit.org/show_bug.cgi?id=189411
72         <rdar://problem/44151416>
73
74         Reviewed by Dean Jackson.
75
76         Add a test that checks that positive delays are accounted for during accelerated actions, including a seek.
77
78         * webanimations/accelerated-animation-with-delay-and-seek-expected.html: Added.
79         * webanimations/accelerated-animation-with-delay-and-seek.html: Added.
80
81 2018-09-10  Per Arne Vollan  <pvollan@apple.com>
82
83         [Windows] Layout Test webanimations/accelerated-transition-interrupted-on-composited-element.html is failing
84         https://bugs.webkit.org/show_bug.cgi?id=189468
85
86         Unreviewed test gardening.
87
88         The test is timing out. Skip it on Windows.
89
90         * platform/win/TestExpectations:
91
92 2018-09-10  Philippe Normand  <pnormand@igalia.com>
93
94         [GStreamer] Several media related tests timing out around the same revision
95         https://bugs.webkit.org/show_bug.cgi?id=189349
96
97         Reviewed by Carlos Garcia Campos.
98
99         * platform/gtk/TestExpectations: Unflag Timeout from now-unaffected tests.
100
101 2018-09-10  Rob Buis  <rbuis@igalia.com>
102
103         XMLHttpRequest: overrideMimeType should not update the response's "Content-Type" header
104         https://bugs.webkit.org/show_bug.cgi?id=189465
105
106         Reviewed by Frédéric Wang.
107
108         Change existing test to reflect new behavior.
109
110         * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt:
111         * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html:
112
113 2018-09-10  Antoine Quint  <graouts@apple.com>
114
115         [Web Animations] Interrupting an accelerated CSS transition on a composited element in flight fails
116         https://bugs.webkit.org/show_bug.cgi?id=189405
117         <rdar://problem/43342639>
118
119         Reviewed by Simon Fraser.
120
121         Add a new test that checks that interrupting a CSS transition targeting an accelerated property for an element
122         that is composited outside the duration of the transition correctly interrupts the animation and jumps straight
123         to the target value.
124
125         * platform/win/TestExpectations:
126         * webanimations/accelerated-transition-interrupted-on-composited-element-expected.html: Added.
127         * webanimations/accelerated-transition-interrupted-on-composited-element.html: Added.
128
129 2018-09-08  Wenson Hsieh  <wenson_hsieh@apple.com>
130
131         REGRESSION (r235153): [iOS] Can't move selection start grabber when selecting text in a subframe
132         https://bugs.webkit.org/show_bug.cgi?id=189454
133         <rdar://problem/44265956>
134
135         Reviewed by Darin Adler.
136
137         Adds a test that selects a word inside an iframe, moves the selection start handle down past the selection end,
138         and then moves the selection end handle up above the selection start. The test verifies that the entire word
139         remains selected.
140
141         * editing/selection/ios/selection-handle-clamping-in-iframe-expected.txt: Added.
142         * editing/selection/ios/selection-handle-clamping-in-iframe.html: Added.
143
144 2018-09-08  Andy Estes  <aestes@apple.com>
145
146         [Apple Pay] Dispatch a paymentmethodchange event when the payment method changes
147         https://bugs.webkit.org/show_bug.cgi?id=189386
148
149         Reviewed by Darin Adler.
150
151         * fast/dom/reference-cycle-leaks-expected.txt:
152         * fast/dom/reference-cycle-leaks.html:
153         * http/tests/ssl/applepay/ApplePayPaymentMethodChangeEvent.https-expected.txt: Added.
154         * http/tests/ssl/applepay/ApplePayPaymentMethodChangeEvent.https.html: Added.
155         * platform/ios-wk2/fast/dom/reference-cycle-leaks-expected.txt: Added.
156         * platform/mac-wk2/fast/dom/reference-cycle-leaks-expected.txt: Added.
157
158 2018-09-07  Basuke Suzuki  <Basuke.Suzuki@sony.com>
159
160         [LayoutTests] Add digest access authentication test.
161         https://bugs.webkit.org/show_bug.cgi?id=189286
162
163         Reviewed by Alex Christensen.
164
165         Add digest auth tests
166
167         * http/tests/resources/digest-auth/authorize.php: Added.
168         * http/tests/resources/digest-auth/digest.php: Added.
169         * http/tests/xmlhttprequest/digest-auth-expected.txt: Added.
170         * http/tests/xmlhttprequest/digest-auth.html: Added.
171
172 2018-09-07  Basuke Suzuki  <Basuke.Suzuki@sony.com>
173
174         [Curl] Stop sending request with credential if no authorization requested.
175         https://bugs.webkit.org/show_bug.cgi?id=189057
176
177         Reviewed by Alex Christensen.
178
179         * http/tests/xmlhttprequest/resources/no-authenticate-header-401.php: Added.
180         * http/tests/xmlhttprequest/unauthorized-without-authenticate-header-expected.txt: Added.
181         * http/tests/xmlhttprequest/unauthorized-without-authenticate-header.html: Added.
182
183 2018-09-07  Youenn Fablet  <youenn@apple.com>
184
185         Tests checking document GC in case of ActiveDOMObjects are flaky
186         https://bugs.webkit.org/show_bug.cgi?id=189413
187
188         Reviewed by Eric Carlson.
189
190         Instead of calling parent.done() use postMessage.
191         The assumption is that GC might not always collect 'parent' as it is in the call stack.
192         With postMessage, no flakiness is observed locally.
193         Added a related MediaDevices test that was missing from r235438.
194
195         * http/tests/IndexedDB/collect-IDB-objects.https.html:
196         * http/tests/IndexedDB/resources/myidbframe.htm:
197         * http/tests/media/clearkey/collect-webkit-media-session.html:
198         * http/tests/media/clearkey/resources/mywebkitmediasessionframe.htm:
199         * http/tests/media/media-stream/collect-media-devices.https-expected.txt: Added.
200         * http/tests/media/media-stream/collect-media-devices.https.html: Added.
201         * http/tests/media/media-stream/resources/mymediadevicesframe.htm: Added.
202
203 2018-09-07  Daniel Bates  <dabates@apple.com>
204
205         [iOS] uiController.typeCharacterUsingHardwareKeyboard("`", ...) dispatches DOM key events for ~
206         https://bugs.webkit.org/show_bug.cgi?id=189325
207
208         Reviewed by Wenson Hsieh.
209
210         Add a test to ensure that we dispatch the correct DOM key events when using uiController.typeCharacterUsingHardwareKeyboard("`")
211         (by way of UIHelper.typeCharacter()).
212
213         * fast/events/ios/keypress-grave-accent-expected.txt: Added.
214         * fast/events/ios/keypress-grave-accent.html: Added.
215
216 2018-09-07  Basuke Suzuki  <Basuke.Suzuki@sony.com>
217
218         [Curl][WebKitLegacy] Stop sending credential embedded in the url via XHR.
219         https://bugs.webkit.org/show_bug.cgi?id=189198
220
221         Reviewed by Alexey Proskuryakov.
222
223         * http/tests/xmlhttprequest/resources/url-with-credentials/authenticate.php: Added.
224         * http/tests/xmlhttprequest/resources/url-with-credentials/authorize.php: Added.
225         * http/tests/xmlhttprequest/url-with-credentials-expected.txt: Added.
226         * http/tests/xmlhttprequest/url-with-credentials.html: Added.
227
228 2018-09-07  Youenn Fablet  <youenn@apple.com>
229
230         Add support for unified plan transceivers
231         https://bugs.webkit.org/show_bug.cgi?id=189390
232
233         Reviewed by Eric Carlson.
234
235         Update tests using mock to enforce plan B for now until unified plan mocks are supported.
236
237         * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt:
238         * fast/mediastream/RTCPeerConnection-icecandidate-event.html:
239         * fast/mediastream/RTCPeerConnection-iceconnectionstatechange-event.html:
240         * fast/mediastream/RTCPeerConnection-inspect-answer.html:
241         * fast/mediastream/RTCPeerConnection-inspect-offer.html:
242         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html:
243         * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html:
244         * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid.html:
245         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html:
246         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html:
247         * webrtc/calling-peerconnection-once-closed.html:
248         Once closed, addTransceiver is expected to throw.
249         * webrtc/libwebrtc/release-while-creating-offer.html:
250         * webrtc/libwebrtc/release-while-getting-stats.html:
251         * webrtc/libwebrtc/release-while-setting-local-description.html:
252         * webrtc/video-getParameters.html: sender and receiver parameters are no longer the same.
253         Testing them individually.
254         * webrtc/video-with-receiver.html:
255         Test is working only with legacy mode.
256
257 2018-09-07  Frederic Wang  <fwang@igalia.com>
258
259         [CSSOM View] Handle the scrollingElement in Element::scroll(Left/Top/Width/Height/To)
260         https://bugs.webkit.org/show_bug.cgi?id=182230
261
262         Reviewed by Simon Fraser.
263
264         This commit updates some tests to work when CSSOMViewScrollingAPI is enabled.
265
266         * TestExpectations: Enable web-platform-tests/cssom-view/scrollingElement.html.
267         * fast/dom/Document/scrollingElement-quirks-mode.html: Do not enable explictly enable
268         CSSOMViewScrollingAPI.
269         * fast/dom/Document/scrollingElement-standards-mode.html: Ditto.
270         * fast/dom/Element/body-scrollLeft-expected.txt: Updated to follow the CSSOMView spec.
271         * fast/dom/Element/body-scrollLeft.html: Ditto.
272         * fast/dom/Element/body-scrollTop-expected.txt: Ditto.
273         * fast/dom/Element/body-scrollTop.html: Ditto.
274         * fast/dom/Element/documentElement-scrollLeft-expected.txt: Ditto.
275         * fast/dom/Element/documentElement-scrollLeft.html: Ditto.
276         * fast/dom/Element/documentElement-scrollTop-expected.txt: Ditto.
277         * fast/dom/Element/documentElement-scrollTop.html: Ditto.
278         * fast/dom/Element/scrollLeft-expected.txt: Ditto.
279         * fast/dom/Element/scrollLeft.html: Ditto.
280         * fast/dom/Element/scrollTop-expected.txt: Ditto.
281         * fast/dom/Element/scrollTop.html: Ditto.
282         * fast/dom/Element/scrolling-funtions-on-body-expected.txt: Ditto.
283         * fast/dom/Element/scrolling-funtions-on-body.html: Ditto.
284         * platform/ios/TestExpectations: Add expectation for one WPT test that was already failing
285         on iOS.
286         * platform/ios/ios/fast/coordinates/page-offsets-expected.txt: Use documentElement instead
287         of body for this test when running in standard mode.
288         * platform/ios/ios/fast/coordinates/resources/helpers.js: Ditto.
289         (verifyScrollOffsets):
290         * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe.html: Use
291         document.scrollingElement instead of document.body to access viewport scroll offset.
292
293 2018-09-07  Zalan Bujtas  <zalan@apple.com>
294
295         [iOS] Unreviewed test gardening.
296
297         * platform/ios/TestExpectations:
298
299 2018-09-06  Zalan Bujtas  <zalan@apple.com>
300
301         [LFC] Add support for min/max-height percentage values.
302         https://bugs.webkit.org/show_bug.cgi?id=189391
303
304         Reviewed by Antti Koivisto.
305
306         * fast/block/block-only/min-max-height-percentage-expected.txt: Added.
307         * fast/block/block-only/min-max-height-percentage.html: Added.
308
309 2018-09-06  Megan Gardner  <megan_gardner@apple.com>
310
311         Add Support for Conic Gradients
312         https://bugs.webkit.org/show_bug.cgi?id=189329
313         <rdar://problem/21444701>
314
315         Reviewed by Simon Fraser.
316
317         Simple tests to see if conic gradients are rendered properly.
318
319         * fast/gradients/conic-expected.html: Added.
320         * fast/gradients/conic-repeating-expected.html: Added.
321         * fast/gradients/conic-repeating.html: Added.
322         * fast/gradients/conic.html: Added.
323
324 2018-09-06  Zalan Bujtas  <zalan@apple.com>
325
326         [LFC][BFC] Add support for min(max)-height
327         https://bugs.webkit.org/show_bug.cgi?id=189377
328
329         Reviewed by Antti Koivisto.
330
331         * fast/block/block-only/absolute-position-min-max-height-expected.txt: Added.
332         * fast/block/block-only/absolute-position-min-max-height.html: Added.
333         * fast/block/block-only/float-min-max-height-expected.txt: Added.
334         * fast/block/block-only/float-min-max-height.html: Added.
335         * fast/block/block-only/inflow-min-max-height-expected.txt: Added.
336         * fast/block/block-only/inflow-min-max-height.html: Added.
337
338 2018-09-06  Daniel Bates  <dabates@apple.com>
339
340         [iOS] Add a test to ensure that DOM keyup events have the correct details
341         https://bugs.webkit.org/show_bug.cgi?id=189327
342
343         Reviewed by Wenson Hsieh.
344
345         Until we fix <rdar://problem/35282761> DOM keyup events will have incorrect details on iOS
346         when dispatched in response to a hardware keyboard press. For now, land expected failure results.
347
348         * fast/events/ios/keyup-expected.txt: Added.
349         * fast/events/ios/keyup.html: Added.
350         * resources/ui-helper.js:
351         (window.UIHelper.typeCharacter): Escape backslash characters in order to build up
352         a well-formed UI script to evaluate.
353
354 2018-09-06  Andy Estes  <aestes@apple.com>
355
356         [Apple Pay] Rename the -apple-pay-button-type value "checkout" to "check-out"
357         https://bugs.webkit.org/show_bug.cgi?id=189366
358         <rdar://problem/44193218>
359
360         Reviewed by Sam Weinig.
361
362         * http/tests/ssl/applepay/ApplePayButtonV4.html:
363
364 2018-09-06  Zalan Bujtas  <zalan@apple.com>
365
366         [LFC][BFC] Add support for min(max)-width
367         https://bugs.webkit.org/show_bug.cgi?id=189358
368
369         Reviewed by Antti Koivisto.
370
371         * fast/block/block-only/absolute-position-min-max-width-expected.txt: Added.
372         * fast/block/block-only/absolute-position-min-max-width.html: Added.
373         * fast/block/block-only/float-min-max-width-expected.txt: Added.
374         * fast/block/block-only/float-min-max-width.html: Added.
375         * fast/block/block-only/inflow-min-max-width-expected.txt: Added.
376         * fast/block/block-only/inflow-min-max-width.html: Added.
377
378 2018-09-06  Miguel Gomez  <magomez@igalia.com>
379
380         Unreviewed GTK+ gardening after r235732.
381
382         * platform/gtk/TestExpectations:
383
384 2018-09-06  Ali Juma  <ajuma@chromium.org>
385
386         IntersectionObserver leaks documents
387         https://bugs.webkit.org/show_bug.cgi?id=189128
388
389         Reviewed by Simon Fraser.
390
391         * intersection-observer/no-document-leak-expected.txt: Added.
392         * intersection-observer/no-document-leak.html: Added.
393         * intersection-observer/observer-and-callback-without-js-references-expected.txt: Added.
394         * intersection-observer/observer-and-callback-without-js-references.html: Added.
395         * intersection-observer/resources/no-document-leak-frame.html: Added.
396
397 2018-09-05  Brent Fulgham  <bfulgham@apple.com>
398
399         The width of a nullptr TextRun should be zero
400         https://bugs.webkit.org/show_bug.cgi?id=189154
401         <rdar://problem/43685926>
402
403         Reviewed by Zalan Bujtas.
404
405         * fast/text/null-string-textrun-expected.txt: Added.
406         * fast/text/null-string-textrun.html: Added.
407
408 2018-09-05  Youenn Fablet  <youenn@apple.com>
409
410         Expose RTCRtpSender.setParameters
411         https://bugs.webkit.org/show_bug.cgi?id=189307
412
413         Reviewed by Eric Carlson.
414
415         * webrtc/video-getParameters.html:
416
417 2018-09-05  Truitt Savell  <tsavell@apple.com>
418
419         Rebaseline test after changes in https://trac.webkit.org/changeset/235669/webkit deleted the expectation. 
420         https://bugs.webkit.org/show_bug.cgi?id=188816
421
422         Unreviewed Test Gardening.
423
424         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/send-network-error-async-events.sub-expected.txt:
425
426 2018-09-05  Ms2ger  <Ms2ger@igalia.com>
427
428         GTK-focused gardening
429         https://bugs.webkit.org/show_bug.cgi?id=189305
430
431         Unreviewed test gardening.
432
433         * TestExpectations: Remove passing test.
434         * fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html: Speculative fix for r235484.
435         * platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt: Added.
436         * platform/gtk/http/tests/loading/oauth-expected.txt: Added.
437         * platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt: Added.
438         * platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt: Updated for r235354.
439         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: Updated for r235245.
440
441 2018-09-04  Yacine Bandou  <yacine.bandou_ext@softathome.com>
442
443         [EME] Add a layoutTest for ClearKey WebM video playback
444         https://bugs.webkit.org/show_bug.cgi?id=189200
445
446         Reviewed by Xabier Rodriguez-Calvar.
447
448         Add a new layoutTest in order to test the playback of ClearKey encrypted WebM.
449
450         * media/encrypted-media/clearKey/clearKey-webm-video-playback-mse-expected.txt: Added.
451         * media/encrypted-media/clearKey/clearKey-webm-video-playback-mse.html: Added.
452         * platform/gtk/TestExpectations:
453         * platform/mac/TestExpectations:
454         * platform/wpe/TestExpectations:
455
456 2018-09-04  Frederic Wang  <fwang@igalia.com>
457
458         Add basic support for ScrollIntoViewOptions
459         https://bugs.webkit.org/show_bug.cgi?id=189258
460
461         Reviewed by Simon Fraser.
462
463         Update test expectations for WPT scrollIntoView tests.
464
465         * platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-smooth-expected.txt: Removed.
466
467 2018-09-04  Michael Saboff  <msaboff@apple.com>
468
469         YARR: Add new RegExp back reference tests to specifically test back reference JIT code
470         https://bugs.webkit.org/show_bug.cgi?id=189291
471
472         Reviewed by Saam Barati.
473
474         New tests.
475
476         * fast/regex/backreferences-expected.txt: Added.
477         * fast/regex/backreferences.html: Added.
478         * fast/regex/script-tests/backreferences.js: Added.
479
480 2018-09-04  Ryosuke Niwa  <rniwa@webkit.org>
481
482         slotchange event doesn't get fired when inserting, removing, or renaming slot elements
483         https://bugs.webkit.org/show_bug.cgi?id=189144
484         <rdar://problem/43871061>
485
486         Reviewed by Antti Koivisto.
487
488         Added a W3C style testharness.js test for inserting, removing, and renaming slot elements.
489
490         It has 62 distinct test cases for closed/open shadow roots in connected and disconnected trees
491         for the total of 248 test cases.
492
493         This test presumes the resolution of https://github.com/w3c/webcomponents/issues/764 in our favor.
494
495         Chrome fails 48 test cases because it doesn't follow the tree order when dispatching slotchange event
496         on the previously first slot element, and Firefox fails 84 test cases because it fails to fire slotchange
497         in the tree order when a node is inserted.
498
499         * fast/shadow-dom/slotchange-for-slot-mutation-expected.txt: Added.
500         * fast/shadow-dom/slotchange-for-slot-mutation.html: Added.
501
502 2018-09-04  Simon Fraser  <simon.fraser@apple.com>
503
504         CSS reference filter that references a tiled feTurbulence is blank
505         https://bugs.webkit.org/show_bug.cgi?id=188950
506
507         Reviewed by Dean Jackson.
508
509         * css3/filters/reference-filter-set-filter-regions-expected.html: Added.
510         * css3/filters/reference-filter-set-filter-regions.html: Added.
511
512 2018-09-04  Rob Buis  <rbuis@igalia.com>
513
514         Adjust XMLHttpRequest username/password precedence rules
515         https://bugs.webkit.org/show_bug.cgi?id=184910
516
517         Reviewed by Chris Dumez.
518
519         Adjust test because now we do set password on the url in
520         open(), even if the username is null.
521
522         * http/tests/xmlhttprequest/basic-auth.html:
523
524 2018-09-03  Dean Jackson  <dino@apple.com>
525
526         Move SystemPreview code from WebKitAdditions to WebKit
527         https://bugs.webkit.org/show_bug.cgi?id=189252
528         <rdar://problem/44080245>
529
530         Reviewed by Wenson Hsieh.
531
532         This test no longer needs an internal helper.
533
534         * system-preview/detection.html:
535
536 2018-09-04  Antoine Quint  <graouts@apple.com>
537
538         [Modern Media Controls] Disabling both fullscreen and picture-in-picture shows an empty top left container
539         https://bugs.webkit.org/show_bug.cgi?id=189259
540         <rdar://problem/42026625>
541
542         Reviewed by Dean Jackson.
543
544         Adding a new test that checks that the top left container is hidden when both the fullscreen and picture-in-picture buttons are disabled.
545
546         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-disabled-fullscreen-and-pip-expected.txt: Added.
547         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-disabled-fullscreen-and-pip.html: Added.
548
549 2018-09-04  Per Arne Vollan  <pvollan@apple.com>
550
551         Add test for fix in https://bugs.webkit.org/show_bug.cgi?id=187922
552         https://bugs.webkit.org/show_bug.cgi?id=187925
553
554         Reviewed by Simon Fraser.
555
556         This will test that the function primaryScreenDisplayID() returns a valid display ID.
557
558         * TestExpectations:
559         * fast/misc/valid-primary-screen-displayID-expected.txt: Added.
560         * fast/misc/valid-primary-screen-displayID.html: Added.
561         * platform/mac-wk2/TestExpectations:
562
563 2018-09-04  Daniel Bates  <dabates@apple.com>
564
565         Remove redundant inline text boxes for empty combined text
566         https://bugs.webkit.org/show_bug.cgi?id=189119
567
568         Reviewed by Zalan Bujtas.
569
570         Update expected result now that we do not create an inline text box associated with combined text
571         when we do not have any combined text to render.
572
573         * fast/text/text-combine-surroundContents-crash-expected.txt:
574
575 2018-09-04  Zan Dobersek  <zdobersek@igalia.com> and Ms2ger  <Ms2ger@igalia.com>
576
577         Implement support for passing ImageBitmap to texImage2D/texSubImage2D
578         https://bugs.webkit.org/show_bug.cgi?id=187584
579
580         Reviewed by Dean Jackson.
581
582         * fast/canvas/webgl/gl-teximage-imagebitmap-expected.txt: Added.
583         * fast/canvas/webgl/gl-teximage-imagebitmap.html: Added.
584
585 2018-09-04  Yacine Bandou  <yacine.bandou@softathome.com>
586
587         [EME] Add layout test for InitData and InitDataType in WebM encrypted event
588         https://bugs.webkit.org/show_bug.cgi?id=189196
589
590         Reviewed by Xabier Rodriguez-Calvar.
591
592         This commit adds a new layoutTest in order to test the reception of the encrypted WebM
593         event with an expected initData and initDataType fields.
594
595         * media/content/encrypted/VideoClearKeyWebM.webm: Added.
596             This is a simple encrypted video.
597             It has been encrypted with webm_crypt see https://github.com/webmproject/webm-tools.
598             #webm_crypt  -i VideoWebM.webm -audio false -video true -video_options base_file=bear.key,content_id="0123456789012345" -o VideoClearKeyWebM.webm
599         * media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse-expected.txt: Added.
600         * media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse.html: Added.
601         * media/encrypted-media/medias-enc.js:
602         * platform/gtk/TestExpectations:
603         * platform/mac/TestExpectations:
604         * platform/wpe/TestExpectations:
605
606 2018-09-03  Andy Estes  <aestes@apple.com>
607
608         [Payment Request] Remove PaymentAddress.languageCode
609         https://bugs.webkit.org/show_bug.cgi?id=189254
610
611         Reviewed by Sam Weinig.
612
613         * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html:
614         * http/tests/ssl/applepay/ApplePayRequestShippingContact.https-expected.txt:
615         * http/tests/ssl/applepay/ApplePayRequestShippingContact.https.html:
616
617 2018-09-03  Youenn Fablet  <youenn@apple.com>
618
619         REGRESSION: Layout Test http/tests/security/bypassing-cors-checks-for-extension-urls.html is Flaky
620         https://bugs.webkit.org/show_bug.cgi?id=187658
621         <rdar://problem/42306442>
622
623         Reviewed by Alexey Proskuryakov.
624
625         * platform/mac-wk2/TestExpectations:
626
627 2018-09-03  Andy Estes  <aestes@apple.com>
628
629         [Payment Request] Implement the MerchantValidationEvent constructor
630         https://bugs.webkit.org/show_bug.cgi?id=189235
631
632         Reviewed by Daniel Bates.
633
634         Skipped new manual tests.
635
636         * platform/ios-wk2/TestExpectations:
637         * platform/mac-wk2/TestExpectations:
638
639 2018-09-03  Frederic Wang  <fwang@free.fr>
640
641         Remove duplicate directory web-platform-tests/cssom-view
642         https://bugs.webkit.org/show_bug.cgi?id=189241
643
644         Reviewed by Daniel Bates.
645
646         cssom-view tests were moved into web-platform-tests/css at r232903 but the old
647         directory and expectation were left. This patch finishes the migration.
648
649         * TestExpectations:
650         * platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt: Removed.
651         * platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt: Removed.
652         * platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt: Removed.
653         * platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt: Removed.
654         * platform/ios/TestExpectations:
655
656 2018-09-02  Zalan Bujtas  <zalan@apple.com>
657
658         REGRESSION (r191336): RenderFlexibleBox::adjustChildSizeForMinAndMax crashes in std::optional<>::value()
659         https://bugs.webkit.org/show_bug.cgi?id=189232
660         <rdar://problem/43886373>
661
662         Reviewed by Brent Fulgham.
663
664         * fast/flexbox/crash-when-min-max-content-is-not-computed-expected.txt: Added.
665         * fast/flexbox/crash-when-min-max-content-is-not-computed.html: Added.
666
667 2018-09-02  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
668
669         Implement Object.fromEntries
670         https://bugs.webkit.org/show_bug.cgi?id=188481
671
672         Reviewed by Darin Adler.
673
674         * js/Object-getOwnPropertyNames-expected.txt:
675         * js/script-tests/Object-getOwnPropertyNames.js:
676
677 2018-08-31  Simon Fraser  <simon.fraser@apple.com>
678
679         Clean up TestExpectations so that ./Tools/Scripts/lint-test-expectations
680         succeeds now.
681
682         * platform/ios-wk2/TestExpectations:
683         * platform/mac-wk1/TestExpectations:
684         * platform/win/TestExpectations:
685
686 2018-08-31  Chris Dumez  <cdumez@apple.com>
687
688         [ WK2 ] http/tests/workers/service/client-*-page-cache.html LayoutTests are flaky
689         https://bugs.webkit.org/show_bug.cgi?id=183705
690         <rdar://problem/42440606>
691
692         Reviewed by Youenn Fablet.
693
694         Update Layout tests to not rely on the total number of clients as this is flaky. Instead, check for specific client
695         identifiers to see if they are present or not.
696
697         * http/tests/workers/service/client-added-to-clients-when-restored-from-page-cache.html:
698         * http/tests/workers/service/client-removed-from-clients-while-in-page-cache.html:
699         * http/tests/workers/service/resources/getClientIds-worker.js: Renamed from LayoutTests/http/tests/workers/service/resources/getClientCount-worker.js.
700         (event.then):
701         * http/tests/workers/service/serviceworkerclients-matchAll-worker.js:
702         (async.doTestAfterMessage):
703         * http/tests/workers/service/serviceworkerclients-matchAll.https.html:
704
705         * platform/ios-wk2/TestExpectations:
706         * platform/mac-wk2/TestExpectations:
707         Unskip tests as they should no longer be flaky.
708
709 2018-08-31  John Wilander  <wilander@apple.com>
710
711         Storage Access API: Maintain access through same-site navigations
712         https://bugs.webkit.org/show_bug.cgi?id=188564
713         <rdar://problem/43445160>
714
715         Reviewed by Alex Christensen.
716
717         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-expected.txt:
718         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame.html:
719             Added both a same-site and a cross-site navigation to the sub frame to test maintained and cleared access.
720         * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-expected.txt: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-should-not-have-access-expected.txt.
721         * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-should-not-have-access.html.
722         * http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-should-not-have-access-expected.txt.
723         * http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-should-not-have-access.html.
724         * http/tests/storageAccess/resources/get-cookies.php:
725             Support for the new test scenarios.
726         * http/tests/storageAccess/resources/self-navigating-frame-after-granted-access.html:
727             Support for the new test scenarios.
728         * platform/mac-wk2/TestExpectations:
729             Marked the new and the renamed tests as [ Pass ].
730
731 2018-08-30  Ryosuke Niwa  <rniwa@webkit.org>
732
733         slotchange-event-bubbling.html fails in Chrome & Firefox
734         https://bugs.webkit.org/show_bug.cgi?id=189183
735
736         Reviewed by Chris Dumez.
737
738         slotchange event is supposed to fire when a slot element is inserted and there are assigned nodes.
739
740         Firefox and Chrome implement this behavior and fail this test since the test doesn't let microstask
741         check point run before start mutating the DOM.
742
743         Fixed the test by manually waiting for the current microtask queue to be emptied after constructing
744         the test shadow tree so that slotchange event from the initial tree construction doesn't get merged
745         with slotchange event fired for the actual DOM mutation being tested.
746
747         Also fixed typos in slotchange-in-fallback.html and a bug that we were removing the slot instead
748         of the shadow host at the end of each test case.
749
750         * fast/shadow-dom/slotchange-event-bubbling.html:
751         * fast/shadow-dom/slotchange-in-fallback.html:
752
753 2018-08-31  Zalan Bujtas  <zalan@apple.com>
754
755         [LFC] Add margin box verification back now that Display::Box has non-computed horizontal margin.
756         https://bugs.webkit.org/show_bug.cgi?id=189193
757
758         Reviewed by Antti Koivisto.
759
760         * fast/block/block-only/floating-and-next-previous-inflow-with-margin-with-no-border-expected.txt: Added.
761         * fast/block/block-only/floating-and-next-previous-inflow-with-margin-with-no-border.html: Added.
762
763 2018-08-31  Per Arne Vollan  <pvollan@apple.com>
764
765         [Win] Some tests are failing on ews200 after upgrading iTunes.
766         https://bugs.webkit.org/show_bug.cgi?id=189194
767
768         Unreviewed test gardening.
769
770         * platform/win/TestExpectations:
771
772 2018-08-31  Frederic Wang  <fwang@igalia.com>
773
774         Bug 182053 - [CSSOM View] Implement standard behavior for scrollingElement
775         https://bugs.webkit.org/show_bug.cgi?id=182053
776
777         Reviewed by Simon Fraser.
778
779         Add a test to check that in Quirks mode, the <body> element returned by
780         document.scrollingElement is indeed a child of a <html> root (i.e. in the HTML namespace).
781         Adjust scrollingElement*.html tests so that they are executed with the flag
782         CSSOMViewScrollingAPI enabled and update expectations now that these tests pass.
783
784         * fast/dom/Document/scrollingElement-quirks-mode.html:
785         * fast/dom/Document/scrollingElement-quirks-mode-expected.txt:
786         * fast/dom/Document/scrollingElement-standards-mode.html:
787         * fast/dom/Document/scrollingElement-standards-mode-expected.txt:
788
789 2018-08-30  Zalan Bujtas  <zalan@apple.com>
790
791         CounterMaps should hold a unique_ptr of CounterMap.
792         https://bugs.webkit.org/show_bug.cgi?id=189174
793         <rdar://problem/43686458>
794
795         Reviewed by Ryosuke Niwa.
796
797         * fast/css/counters/crash-when-cloning-body-expected.txt: Added.
798         * fast/css/counters/crash-when-cloning-body.html: Added.
799
800 2018-08-30  Truitt Savell  <tsavell@apple.com>
801
802         Unreviewed, rolling out r235516.
803
804         Caused 50 Crashes on Sierra
805
806         Reverted changeset:
807
808         "The width of a nullptr TextRun should be zero"
809         https://bugs.webkit.org/show_bug.cgi?id=189154
810         https://trac.webkit.org/changeset/235516
811
812 2018-08-30  Youenn Fablet  <youenn@apple.com>
813
814         Remove WebRTC legacy API implementation
815         https://bugs.webkit.org/show_bug.cgi?id=189040
816         <rdar://problem/43861361>
817
818         Unreviewed.
819
820         * platform/ios/TestExpectations: Use default expectations for the folder.
821         This allows skipping imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/setRemoteDescription.html
822
823 2018-08-30  Brent Fulgham  <bfulgham@apple.com>
824
825         The width of a nullptr TextRun should be zero
826         https://bugs.webkit.org/show_bug.cgi?id=189154
827         <rdar://problem/43685926>
828
829         Reviewed by Zalan Bujtas.
830
831         * fast/text/null-string-textrun-expected.txt: Added.
832         * fast/text/null-string-textrun.html: Added.
833
834 2018-08-30  Eric Carlson  <eric.carlson@apple.com>
835
836         Mock video devices should only support discrete sizes
837         https://bugs.webkit.org/show_bug.cgi?id=189000
838         <rdar://problem/43766551>
839
840         Reviewed by Youenn Fablet.
841
842         Updated tests and results now that we have better support for width and height constraints.
843
844         * fast/mediastream/MediaDevices-getUserMedia.html:
845         * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt:
846         * fast/mediastream/apply-constraints-advanced-expected.txt:
847         * fast/mediastream/apply-constraints-advanced.html:
848         * fast/mediastream/apply-constraints-video-expected.txt:
849         * fast/mediastream/apply-constraints-video.html:
850         * fast/mediastream/getUserMedia-default-expected.txt:
851         * fast/mediastream/getUserMedia-default.html:
852         * imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https-expected.txt:
853         * webrtc/video-interruption.html:
854         * webrtc/video.html:
855
856 2018-08-30  Youenn Fablet  <youenn@apple.com>
857
858         fast/mediastream/RTCPeerConnection-overloaded-operations.html is flaky after r235484
859         https://bugs.webkit.org/show_bug.cgi?id=189155
860
861         Reviewed by Eric Carlson.
862
863         * fast/mediastream/RTCPeerConnection-overloaded-operations.html:
864         createOffer/createAnswer will now reject promises if callbacks are passed as parameters.
865         Make sure that these promises are handled.
866
867 2018-08-30  Zalan Bujtas  <zalan@apple.com>
868
869         [LFC][Floating] Formatting context roots avoid floats.
870         https://bugs.webkit.org/show_bug.cgi?id=189150
871
872         Reviewed by Antti Koivisto.
873
874         * fast/block/block-only/float-avoider-multiple-roots-expected.txt: Added.
875         * fast/block/block-only/float-avoider-multiple-roots.html: Added.
876         * fast/block/block-only/float-avoider-simple-left-expected.txt: Added.
877         * fast/block/block-only/float-avoider-simple-left.html: Added.
878         * fast/block/block-only/float-avoider-simple-right-expected.txt: Added.
879         * fast/block/block-only/float-avoider-simple-right.html: Added.
880         * fast/block/block-only/float-avoider-with-margins-expected.txt: Added.
881         * fast/block/block-only/float-avoider-with-margins.html: Added.
882
883 2018-08-29  Aditya Keerthi  <akeerthi@apple.com>
884
885         [Datalist] Display prefix-matched suggestions first
886         https://bugs.webkit.org/show_bug.cgi?id=189106
887
888         Reviewed by Tim Horton.
889
890         Added a test to verify that prefix-matched suggestions are shown before other
891         matches.
892
893         * fast/forms/datalist/datalist-textinput-suggestions-order-expected.txt: Added.
894         * fast/forms/datalist/datalist-textinput-suggestions-order.html: Added.
895         * platform/ios/TestExpectations:
896
897 2018-08-29  Olivia Barnett  <obarnett@apple.com>
898
899         Implement the Web Share API
900         https://bugs.webkit.org/show_bug.cgi?id=171100
901         <rdar://problem/31751734>
902
903         Reviewed by Tim Horton.
904
905         * fast/dom/navigator-detached-no-crash-expected.txt:
906         Updated expected results.
907
908 2018-08-29  Ryan Haddad  <ryanhaddad@apple.com>
909
910         Layout Test js/error-should-not-strong-reference-global-object.html is flaky on macOS
911         https://bugs.webkit.org/show_bug.cgi?id=187103
912
913         Unreviewed test gardening.
914
915         * platform/mac-wk2/TestExpectations:
916         * platform/mac/TestExpectations: Consolidate expectations.
917
918 2018-08-29  Daniel Bates  <dabates@apple.com>
919
920         REGRESSION (r226138): WebCore::subdivide() may return an empty vector; Web process can crash when performing find in Epiphany
921         https://bugs.webkit.org/show_bug.cgi?id=184390
922         <rdar://problem/41804994>
923         And
924         <rdar://problem/39771867>
925
926         Reviewed by Simon Fraser.
927
928         Add a test to ensure that we do not crash when painting an empty inline text box associated
929         with combined text.
930
931         * fast/text/text-combine-surroundContents-crash-expected.txt: Added.
932         * fast/text/text-combine-surroundContents-crash.html: Added.
933
934 2018-08-29  Youenn Fablet  <youenn@apple.com>
935
936         Remove WebRTC legacy API implementation
937         https://bugs.webkit.org/show_bug.cgi?id=189040
938
939         Reviewed by Eric Carlson.
940
941         * TestExpectations:
942         * fast/events/constructors/media-stream-event-constructor-expected.txt: Removed.
943         * fast/events/constructors/media-stream-event-constructor.html: Removed.
944         * fast/mediastream/RTCPeerConnection-AddRemoveStream-expected.txt: Removed.
945         * fast/mediastream/RTCPeerConnection-AddRemoveStream.html: Removed.
946         * fast/mediastream/RTCPeerConnection-createAnswer-expected.txt:
947         * fast/mediastream/RTCPeerConnection-createAnswer.html:
948         * fast/mediastream/RTCPeerConnection-createOffer-expected.txt: Removed.
949         * fast/mediastream/RTCPeerConnection-createOffer.html: Removed.
950         * fast/mediastream/RTCPeerConnection-dtmf.html: Removed.
951         * fast/mediastream/RTCPeerConnection-events-expected.txt: Removed.
952         * fast/mediastream/RTCPeerConnection-events.html: Removed.
953         * fast/mediastream/RTCPeerConnection-have-local-offer-expected.txt:
954         * fast/mediastream/RTCPeerConnection-have-local-offer.html:
955         * fast/mediastream/RTCPeerConnection-have-local-pranswer-expected.txt:
956         * fast/mediastream/RTCPeerConnection-have-local-pranswer.html:
957         * fast/mediastream/RTCPeerConnection-have-remote-offer-expected.txt:
958         * fast/mediastream/RTCPeerConnection-have-remote-offer.html:
959         * fast/mediastream/RTCPeerConnection-have-remote-pranswer-expected.txt:
960         * fast/mediastream/RTCPeerConnection-have-remote-pranswer.html:
961         * fast/mediastream/RTCPeerConnection-legacy-stream-based-api-expected.txt: Removed.
962         * fast/mediastream/RTCPeerConnection-legacy-stream-based-api.html: Removed.
963         * fast/mediastream/RTCPeerConnection-localDescription-expected.txt:
964         * fast/mediastream/RTCPeerConnection-localDescription.html:
965         * fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt:
966         * fast/mediastream/RTCPeerConnection-remoteDescription.html:
967         * fast/mediastream/RTCPeerConnection-stable-expected.txt:
968         * fast/mediastream/RTCPeerConnection-stable.html:
969         * fast/mediastream/RTCPeerConnection-stats.html:
970         * fast/mediastream/RTCPeerConnection-statsSelector-expected.txt:
971         * fast/mediastream/RTCPeerConnection-statsSelector.html:
972         * fast/mediastream/argument-types-expected.txt: Removed.
973         * fast/mediastream/argument-types.html: Removed.
974         * fast/mediastream/getusermedia-expected.txt: Removed.
975         * fast/mediastream/getusermedia.html: Removed.
976         * fast/mediastream/webkitGetUserMedia-shadowing-then-expected.txt: Removed.
977         * fast/mediastream/webkitGetUserMedia-shadowing-then.html: Removed.
978         * platform/mac/TestExpectations:
979         * webrtc/legacy-api-expected.txt:
980         * webrtc/legacy-api.html:
981
982 2018-08-29  Youenn Fablet  <youenn@apple.com>
983
984         Add a runtime flag for WebRTC unified plan
985         https://bugs.webkit.org/show_bug.cgi?id=189068
986
987         Reviewed by Eric Carlson.
988
989         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
990         * webrtc/peer-connection-audio-mute2.html:
991         * webrtc/peer-connection-remote-audio-mute2.html:
992         * webrtc/video-addTrack-expected.txt:
993         * webrtc/video-addTrack.html:
994         * webrtc/video-addTransceiver.html:
995
996 2018-08-29  Ali Juma  <ajuma@chromium.org>
997
998         Generalize suppresion for flaky IntersectionObserver web platform tests
999         https://bugs.webkit.org/show_bug.cgi?id=189091
1000
1001         Unreviewed test gardening.
1002
1003         * TestExpectations:
1004         * platform/mac-wk1/TestExpectations:
1005
1006 2018-08-28  Simon Fraser  <simon.fraser@apple.com>
1007
1008         Fix crash when reflections and backdrop filter are combined
1009         https://bugs.webkit.org/show_bug.cgi?id=188504
1010         rdar://problem/43225590
1011
1012         Reviewed by Dan Bates.
1013
1014         * compositing/filters/backdrop-filter-update-rect-expected.txt: Added.
1015         * compositing/filters/backdrop-filter-update-rect.html: Added.
1016
1017 2018-08-29  Ali Juma  <ajuma@chromium.org>
1018
1019         [mac-wk1] Mark three IntersectionObserver web platform tests as flaky
1020         https://bugs.webkit.org/show_bug.cgi?id=189091
1021
1022         Unreviewed test gardening.
1023
1024         * platform/mac-wk1/TestExpectations:
1025
1026 2018-08-29  Truitt Savell  <tsavell@apple.com>
1027
1028         Layout Test svg/animations/animate-end-attribute-numeric-precision.html is flaky
1029         https://bugs.webkit.org/show_bug.cgi?id=189087
1030
1031         Unreviewed test gardening. 
1032
1033         * platform/ios-wk2/TestExpectations:
1034         * platform/mac-wk1/TestExpectations:
1035
1036 2018-08-29  Simon Fraser  <simon.fraser@apple.com>
1037
1038         Teach webkitpy how to check leaks and treat leaks as test failures
1039         https://bugs.webkit.org/show_bug.cgi?id=189067
1040
1041         Reviewed by Darin Adler.
1042         
1043         Put some fake leaks in full_results.json, and update results.html to show a table
1044         of leaks when results are expanded.
1045
1046         * fast/harness/full_results.json:
1047         * fast/harness/results-expected.txt:
1048         * fast/harness/results.html:
1049
1050 2018-08-29  Truitt Savell  <tsavell@apple.com>
1051
1052         Missed adding expctations to ios for webkit.org/b/188985
1053         https://bugs.webkit.org/show_bug.cgi?id=188985
1054
1055         Unreviewed test gardening. 
1056
1057         * platform/ios-wk2/TestExpectations:
1058
1059 2018-08-29  David Kilzer  <ddkilzer@apple.com>
1060
1061         Remove empty directories from from svn.webkit.org repository
1062         <https://webkit.org/b/189081>
1063
1064         * css3/filters/backdrop/script-tests: Removed.
1065         * css3/filters/script-tests: Removed.
1066         * indieui: Removed.
1067         * legacy-animation-engine/fullscreen: Removed.
1068         * platform/gtk/editing/pasteboard/script-tests: Removed.
1069         * platform/gtk/resources: Removed.
1070         * platform/ios-wk2/fast/backgrounds: Removed.
1071         * platform/ios-wk2/fast/block/margin-collapse/block-inside-inline: Removed.
1072         * platform/ios-wk2/fast/block/positioning/auto/vertical-lr: Removed.
1073         * platform/ios-wk2/fast/body-propagation/background-color: Removed.
1074         * platform/ios-wk2/fast/body-propagation/background-image: Removed.
1075         * platform/ios-wk2/fast/borders: Removed.
1076         * platform/ios-wk2/fast/box-shadow: Removed.
1077         * platform/ios-wk2/fast/box-sizing: Removed.
1078         * platform/ios-wk2/fast/canvas: Removed.
1079         * platform/ios-wk2/fast/compact: Removed.
1080         * platform/ios-wk2/fast/css/counters: Removed.
1081         * platform/ios-wk2/fast/css/namespaces: Removed.
1082         * platform/ios-wk2/fast/css3-text: Removed.
1083         * platform/ios-wk2/fast/doctypes: Removed.
1084         * platform/ios-wk2/fast/dom/Element: Removed.
1085         * platform/ios-wk2/fast/dom/HTMLDocument: Removed.
1086         * platform/ios-wk2/fast/dom/HTMLElement: Removed.
1087         * platform/ios-wk2/fast/dom/HTMLHeadElement: Removed.
1088         * platform/ios-wk2/fast/dom/HTMLImageElement: Removed.
1089         * platform/ios-wk2/fast/dom/HTMLInputElement: Removed.
1090         * platform/ios-wk2/fast/dom/HTMLLinkElement: Removed.
1091         * platform/ios-wk2/fast/dom/HTMLMeterElement: Removed.
1092         * platform/ios-wk2/fast/dom/HTMLObjectElement: Removed.
1093         * platform/ios-wk2/fast/dom/HTMLProgressElement: Removed.
1094         * platform/ios-wk2/fast/dom/HTMLTableColElement: Removed.
1095         * platform/ios-wk2/fast/dom/HTMLTableElement: Removed.
1096         * platform/ios-wk2/fast/dom/Range: Removed.
1097         * platform/ios-wk2/fast/dom/Window: Removed.
1098         * platform/ios-wk2/fast/events/touch: Removed.
1099         * platform/ios-wk2/fast/fast-mobile-scrolling: Removed.
1100         * platform/ios-wk2/fast/forms/color: Removed.
1101         * platform/ios-wk2/fast/forms/datalist: Removed.
1102         * platform/ios-wk2/fast/forms/file: Removed.
1103         * platform/ios-wk2/fast/forms/number: Removed.
1104         * platform/ios-wk2/fast/forms/range: Removed.
1105         * platform/ios-wk2/fast/forms/select: Removed.
1106         * platform/ios-wk2/fast/gradients: Removed.
1107         * platform/ios-wk2/fast/inspector-support: Removed.
1108         * platform/ios-wk2/fast/line-grid: Removed.
1109         * platform/ios-wk2/fast/multicol/span: Removed.
1110         * platform/ios-wk2/fast/multicol/vertical-lr: Removed.
1111         * platform/ios-wk2/fast/preloader: Removed.
1112         * platform/ios-wk2/fast/reflections: Removed.
1113         * platform/ios-wk2/fast/regions/auto-size: Removed.
1114         * platform/ios-wk2/fast/replaced/vertical-lr: Removed.
1115         * platform/ios-wk2/fast/replaced/vertical-rl: Removed.
1116         * platform/ios-wk2/fast/sub-pixel: Removed.
1117         * platform/ios-wk2/fast/text/firstline: Removed.
1118         * platform/ios-wk2/fast/text/shaping: Removed.
1119         * platform/ios-wk2/fast/tokenizer: Removed.
1120         * platform/ios-wk2/scrolling: Removed.
1121         * platform/ios/fast/viewport: Removed.
1122         * platform/ios/ios/fast/events/touch/script-tests: Removed.
1123         * platform/ios/ios/fast/html: Removed.
1124         * platform/ios/ios/scrolling: Removed.
1125         * platform/mac-sierra-wk2/js: Removed.
1126         * platform/mac-sierra/http/tests/ssl: Removed.
1127         * platform/mac-wk2/http/tests/plugins: Removed.
1128         * platform/mac-wk2/js: Removed.
1129         * platform/mac-wk2/tiled-drawing: Removed.
1130         * platform/mac/accessibility/resources: Removed.
1131         * platform/mac/accessibility/select-text: Removed.
1132         * platform/mac/editing/attributed-string: Removed.
1133         * platform/mac/editing/dictionary-lookup: Removed.
1134         * platform/mac/editing/input/resources: Removed.
1135         * platform/mac/editing/selection/script-tests: Removed.
1136         * platform/mac/fast/canvas/resources: Removed.
1137         * platform/mac/fast/forms/script-tests: Removed.
1138         * platform/mac/fast/ruby/resources: Removed.
1139         * platform/mac/fast/scrolling/resources: Removed.
1140         * platform/mac/http/tests/usercontentfilter: Removed.
1141         * platform/mac/platform/mac/accessibility: Removed.
1142         * platform/mac/platform/mac/editing: Removed.
1143         * platform/win-xp: Removed.
1144         * platform/win/editing/exeCommand: Removed.
1145         * platform/win/platform/win/accessibility: Removed.
1146         * platform/win/sputnik: Removed.
1147         * platform/wk2/js: Removed.
1148         * platform/wk2/storage: Removed.
1149         * proximity: Removed.
1150         * vibration: Removed.
1151
1152 2018-08-28  Ryosuke Niwa  <rniwa@webkit.org>
1153
1154         Changes to slot children should trigger slotchange
1155         https://bugs.webkit.org/show_bug.cgi?id=169718
1156         <rdar://problem/43317496>
1157
1158         Reviewed by Darin Adler.
1159
1160         Added a W3C style testharness.js test for firing slotchange event for the fallback content change
1161         since web-platform-tests/shadow-dom/slotchange.html doesn't have adequate set of tests.
1162
1163         Chrome and Firefox pass all test cases. WebKit used to fail all test cases before this patch.
1164
1165         * fast/shadow-dom/slotchange-in-fallback-expected.txt: Added.
1166         * fast/shadow-dom/slotchange-in-fallback.html: Added.
1167
1168 2018-08-28  Don Olmstead  <don.olmstead@sony.com>
1169
1170         Check for null renderer in canBeScrolledIntoView
1171         https://bugs.webkit.org/show_bug.cgi?id=188935
1172
1173         Reviewed by Simon Fraser.
1174
1175         * fast/spatial-navigation/snav-display-contents-crash-expected.txt: Added.
1176         * fast/spatial-navigation/snav-display-contents-crash.html: Added.
1177
1178 2018-08-28  Youenn Fablet  <youenn@apple.com>
1179
1180         WebKitMediaSession should be GC collectable when its document is being stopped
1181         https://bugs.webkit.org/show_bug.cgi?id=189016
1182         <rdar://problem/43804904>
1183
1184         Unreviewed.
1185         Increasing number of GC and checks to unflake tests on bots.
1186
1187         * http/tests/IndexedDB/collect-IDB-objects.https.html:
1188         * http/tests/media/clearkey/collect-webkit-media-session.html:
1189
1190 2018-08-28  Devin Rousso  <drousso@apple.com>
1191
1192         console.log() shows (anonymous function) instead of the passed string when a certain format is used
1193         https://bugs.webkit.org/show_bug.cgi?id=188946
1194         <rdar://problem/43756428>
1195
1196         Reviewed by Brian Burg.
1197
1198         * inspector/console/js-isLikelyStackTrace-expected.txt:
1199         * inspector/console/js-isLikelyStackTrace.html:
1200
1201 2018-08-28  Truitt Savell  <tsavell@apple.com>
1202
1203         Edditing test expectations from webkit.org/b/188985.
1204         https://bugs.webkit.org/show_bug.cgi?id=188985
1205
1206         Unreviewed test gardening.
1207
1208         * TestExpectations:
1209         * platform/mac-wk2/TestExpectations:
1210
1211 2018-08-28  David Fenton  <david_fenton@apple.com>
1212
1213         Layout Test imported/w3c/web-platform-tests/service-workers/cache-storage/window/cache-storage-match.https.html is flaky
1214         https://bugs.webkit.org/show_bug.cgi?id=187935
1215
1216         Unreviewed test gardening.
1217
1218         * platform/mac-wk2/TestExpectations:
1219
1220 2018-08-28  Truitt Savell  <tsavell@apple.com>
1221
1222         Moving test expectations for webkit.org/b/188985 from mac-wk2 to General test expectations due to failing on iOS.
1223         https://bugs.webkit.org/show_bug.cgi?id=188985
1224
1225         Unreviewed test gardening.
1226
1227         * TestExpectations:
1228         * platform/mac-wk2/TestExpectations:
1229
1230 2018-08-28  Youenn Fablet  <youenn@apple.com>
1231
1232         MediaDevices should be collectable as soon as its document is stopped
1233         https://bugs.webkit.org/show_bug.cgi?id=189021
1234
1235         Reviewed by Eric Carlson.
1236
1237         * http/tests/media/media-stream/collect-media-devices.https-expected.txt: Added.
1238         * http/tests/media/media-stream/collect-media-devices.https.html: Added.
1239         * http/tests/media/media-stream/resources/mymediadevicesframe.htm: Added.
1240
1241 2018-08-28  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1242
1243         [Curl] Fix issue that extra cookie is added when redirect happens.
1244         https://bugs.webkit.org/show_bug.cgi?id=187874
1245
1246         Reviewed by Alex Christensen.
1247
1248         * http/tests/cookies/multiple-redirect-and-set-cookie-expected.txt: Added.
1249         * http/tests/cookies/multiple-redirect-and-set-cookie.php: Added.
1250
1251 2018-08-28  Aditya Keerthi  <akeerthi@apple.com>
1252
1253         [macOS] Color wells should appear rounded and textured
1254         https://bugs.webkit.org/show_bug.cgi?id=189039
1255
1256         Reviewed by Tim Horton.
1257
1258         Rebaseline tests to match new color-well appearance.
1259
1260         * platform/mac/fast/forms/color/input-appearance-color-expected.png:
1261         * platform/mac/fast/forms/color/input-appearance-color-expected.txt:
1262
1263 2018-08-28  Youenn Fablet  <youenn@apple.com>
1264
1265         WebKitMediaSession should be GC collectable when its document is being stopped
1266         https://bugs.webkit.org/show_bug.cgi?id=189016
1267
1268         Reviewed by Eric Carlson.
1269
1270         * http/tests/media/clearkey/collect-webkit-media-session-expected.txt: Added.
1271         * http/tests/media/clearkey/collect-webkit-media-session.html: Added.
1272         * http/tests/media/clearkey/resources/mywebkitmediasessionframe.htm: Added.
1273
1274 2018-08-28  Aditya Keerthi  <akeerthi@apple.com>
1275
1276         [Datalist] Pressing enter without a selected option shouldn't change the input
1277         https://bugs.webkit.org/show_bug.cgi?id=189010
1278
1279         Reviewed by Tim Horton.
1280
1281         Augmented test to verify that pressing enter when there is no selected datalist
1282         suggestion does not change the value of the input field.
1283
1284         * fast/forms/datalist/datalist-textinput-keydown-expected.txt:
1285         * fast/forms/datalist/datalist-textinput-keydown.html:
1286
1287 2018-08-28  Aditya Keerthi  <akeerthi@apple.com>
1288
1289         [iOS] Support inputmode=none
1290         https://bugs.webkit.org/show_bug.cgi?id=188896
1291
1292         Reviewed by Tim Horton.
1293
1294         Added new test to verify that the system keyboard does not show for inputs with
1295         inputmode=none. Updated existing inputmode tests to reflect the addition of the
1296         "none" value.
1297
1298         * fast/forms/inputmode-attribute-contenteditable-expected.txt:
1299         * fast/forms/inputmode-attribute-contenteditable.html:
1300         * fast/forms/inputmode-attribute-input-expected.txt:
1301         * fast/forms/inputmode-attribute-input.html:
1302         * fast/forms/inputmode-attribute-textarea-expected.txt:
1303         * fast/forms/inputmode-attribute-textarea.html:
1304         * fast/forms/ios/inputmode-none-expected.txt: Added.
1305         * fast/forms/ios/inputmode-none.html: Added.
1306         * resources/ui-helper.js:
1307         (window.UIHelper.activateFormControl):
1308         (window.UIHelper.inputViewBounds):
1309
1310 2018-08-28  Simon Fraser  <simon.fraser@apple.com>
1311
1312         More results.html cleanup
1313         https://bugs.webkit.org/show_bug.cgi?id=189038
1314
1315         Reviewed by Zalan Bujtas.
1316         
1317         Use a map of table-id to SectionBuilderClass to drive the table builder class selection,
1318         rather than hardcoding the builder class; this will allow for SectionBuilders to stay alive
1319         longer in future, so they can be used to build the expanded state of each row.
1320         
1321         Refactor the code that generates the expand link and test name, to de-duplicate some HTML strings,
1322         and let SectionBuilders control whether their rows are expandable and test names linkifyable.
1323         
1324         Put a "data-test-name" attribute on each row so we can easily map from HTML elements to
1325         TestResults in future.
1326         
1327         The test result change is a progression; there is nothing to show for a test with missing results,
1328         so the row should not be expandable.
1329
1330         * fast/harness/results-expected.txt:
1331         * fast/harness/results.html:
1332
1333 2018-08-27  Mark Lam  <mark.lam@apple.com>
1334
1335         Fix exception throwing code so that topCallFrame and topEntryFrame stay true to their names.
1336         https://bugs.webkit.org/show_bug.cgi?id=188577
1337         <rdar://problem/42985684>
1338
1339         Reviewed by Saam Barati.
1340
1341         * http/tests/misc/large-js-program-expected.txt:
1342
1343 2018-08-27  Justin Fan  <justin_fan@apple.com>
1344
1345         WebGL 2 conformance: framebuffer-test
1346         https://bugs.webkit.org/show_bug.cgi?id=188812
1347
1348         Reviewed by Jon Lee.
1349
1350         Update WebGL 2 implementation to handle READ_FRAMEBUFFER and default framebuffer conformance.
1351
1352         * TestExpectations: Unskipping webgl/2.0.0/conformance2/renderbuffers/framebuffer-test.html.
1353
1354 2018-08-27  Myles C. Maxfield  <mmaxfield@apple.com>
1355
1356         Null pointer deref in WidthIterator
1357         https://bugs.webkit.org/show_bug.cgi?id=188993
1358
1359         Reviewed by Brent Fulgham.
1360
1361         * fast/text/rtl-justification-expected.html: Added.
1362         * fast/text/rtl-justification.html: Added.
1363
1364 2018-08-27  Sihui Liu  <sihui_liu@apple.com>
1365
1366         [ MacOS iOS ] Layout Test storage/indexeddb/modern/opendatabase-after-storage-crash.html is flaky
1367         https://bugs.webkit.org/show_bug.cgi?id=187648
1368         <rdar://problem/42405935>
1369
1370         Add an early exit so test does not call waitUntilDone after test ends.
1371
1372         Reviewed by Ryosuke Niwa.
1373
1374         * platform/wk2/TestExpectations:
1375         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
1376
1377 2018-08-27  Youenn Fablet  <youenn@apple.com>
1378
1379         Various IndexDB tests abandon documents
1380         https://bugs.webkit.org/show_bug.cgi?id=188728
1381         <rdar://problem/43651095>
1382
1383         Reviewed by Alex Christensen.
1384
1385         * http/tests/IndexedDB/collect-IDB-objects.https-expected.txt: Added.
1386         * http/tests/IndexedDB/collect-IDB-objects.https.html: Added.
1387         * http/tests/IndexedDB/resources/myidbframe.htm: Added.
1388         * http/tests/IndexedDB/resources/support.js: Added.
1389
1390 2018-08-27  Simon Fraser  <simon.fraser@apple.com>
1391
1392         [LayoutTests] results.html shows "no expected results" for text diff failures
1393         https://bugs.webkit.org/show_bug.cgi?id=188927
1394
1395         Reviewed by Alexey Proskuryakov.
1396         
1397         The results.html rewrite confused "is missing all results" with "is missing one type of result",
1398         causing tests with a missing image to show as tests with no results.
1399         
1400         Fix by clarifying the types of "missing".
1401
1402         * fast/harness/full_results.json:
1403         * fast/harness/results-expected.txt:
1404         * fast/harness/results.html:
1405
1406 2018-08-27  Andy Estes  <aestes@apple.com>
1407
1408         [Payment Request] Update payment-request web platform tests
1409         https://bugs.webkit.org/show_bug.cgi?id=188985
1410
1411         Reviewed by Youenn Fablet.
1412
1413         * platform/mac-wk2/TestExpectations:
1414
1415 2018-08-27  Devin Rousso  <drousso@apple.com>
1416
1417         Web Inspector: provide autocompletion for event breakpoints
1418         https://bugs.webkit.org/show_bug.cgi?id=188717
1419
1420         Reviewed by Brian Burg.
1421
1422         * inspector/dom/getSupportedEventNames-expected.txt: Added.
1423         * inspector/dom/getSupportedEventNames.html: Added.
1424
1425 2018-08-27  Youenn Fablet  <youenn@apple.com>
1426
1427         Update WPT tools to 87329a1
1428         https://bugs.webkit.org/show_bug.cgi?id=188766
1429
1430         Reviewed by Ryosuke Niwa.
1431
1432         The test name (.any.serviceworker.html) is clashing with the new WPT server.
1433
1434         * http/wpt/service-workers/cors-preflight-star.any-serviceworker-expected.txt: Renamed from LayoutTests/http/wpt/service-workers/cors-preflight-star.any.serviceworker-expected.txt.
1435         * http/wpt/service-workers/cors-preflight-star.any-serviceworker.html: Renamed from LayoutTests/http/wpt/service-workers/cors-preflight-star.any.serviceworker.html.
1436
1437 2018-08-27  Per Arne Vollan  <pvollan@apple.com>
1438
1439         Layout Test fast/events/dblclick-event-getModifierState.html is failing
1440         https://bugs.webkit.org/show_bug.cgi?id=188948
1441
1442         Unreviewed test gardening.
1443
1444         * platform/win/TestExpectations:
1445
1446 2018-08-27  Rob Buis  <rbuis@igalia.com>
1447
1448         XMLHTTPRequest.send for Document should have same Content-Type processing rules as String
1449         https://bugs.webkit.org/show_bug.cgi?id=188953
1450
1451         Reviewed by Darin Adler.
1452
1453         * platform/gtk/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
1454         * platform/ios/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
1455         * platform/wpe/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
1456
1457 2018-08-27  Youenn Fablet  <youenn@apple.com>
1458
1459         Update WPT XHR tests to 87329a1
1460         https://bugs.webkit.org/show_bug.cgi?id=188816
1461
1462         Reviewed by Ryosuke Niwa.
1463
1464         Update expectations according renamed XMLHttpRequest to xhr folder.
1465
1466         * TestExpectations:
1467         * platform/gtk/TestExpectations:
1468         * platform/gtk/imported/w3c/web-platform-tests/xhr/send-entity-body-get-head-async-expected.txt: Renamed from LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt.
1469         * platform/gtk/imported/w3c/web-platform-tests/xhr/send-entity-body-get-head-expected.txt: Renamed from LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt.
1470         * platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt: Renamed from LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-expected.txt.
1471         * platform/gtk/imported/w3c/web-platform-tests/xhr/send-redirect-expected.txt: Renamed from LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt.
1472         * platform/gtk/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt: Renamed from LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt.
1473         * platform/ios-wk1/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt: Renamed from LayoutTests/platform/ios-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-expected.txt.
1474         * platform/ios/imported/w3c/web-platform-tests/xhr/getresponseheader-case-insensitive-expected.txt: Renamed from LayoutTests/platform/ios/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-case-insensitive-expected.txt.
1475         * platform/ios/imported/w3c/web-platform-tests/xhr/send-blob-with-no-mime-type-expected.txt: Renamed from LayoutTests/platform/ios/imported/w3c/web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type-expected.txt.
1476         * platform/ios/imported/w3c/web-platform-tests/xhr/send-entity-body-empty-expected.txt: Renamed from LayoutTests/platform/ios/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt.
1477         * platform/ios/imported/w3c/web-platform-tests/xhr/send-entity-body-none-expected.txt: Renamed from LayoutTests/platform/ios/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt.
1478         * platform/ios/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt: Renamed from LayoutTests/platform/ios/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt.
1479         * platform/mac-sierra/imported/w3c/web-platform-tests/xhr/send-blob-with-no-mime-type-expected.txt: Renamed from LayoutTests/platform/mac-sierra/imported/w3c/web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type-expected.txt.
1480         * platform/mac-wk1/TestExpectations:
1481         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/access-control-and-redirects-expected.txt.
1482         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/late-upload-events-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/late-upload-events-expected.txt.
1483         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/send-authentication-basic-cors-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-cors-expected.txt.
1484         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/send-network-error-async-events.sub-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-async-events.sub-expected.txt.
1485         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/xmlhttprequest-sync-default-feature-policy.sub-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-default-feature-policy.sub-expected.txt.
1486         * platform/mac-wk2/TestExpectations:
1487         * platform/mac/TestExpectations:
1488         * platform/mac/imported/w3c/web-platform-tests/xhr/getresponseheader-case-insensitive-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-case-insensitive-expected.txt.
1489         * platform/mac/imported/w3c/web-platform-tests/xhr/send-blob-with-no-mime-type-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type-expected.txt.
1490         * platform/mac/imported/w3c/web-platform-tests/xhr/send-entity-body-empty-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt.
1491         * platform/mac/imported/w3c/web-platform-tests/xhr/send-entity-body-none-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt.
1492         * platform/win/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-expected.txt: Renamed from LayoutTests/platform/win/imported/w3c/web-platform-tests/XMLHttpRequest/access-control-and-redirects-expected.txt.
1493         * platform/win/imported/w3c/web-platform-tests/xhr/late-upload-events-expected.txt: Renamed from LayoutTests/platform/win/imported/w3c/web-platform-tests/XMLHttpRequest/late-upload-events-expected.txt.
1494         * platform/win/imported/w3c/web-platform-tests/xhr/send-authentication-basic-cors-expected.txt: Renamed from LayoutTests/platform/win/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-cors-expected.txt.
1495         * platform/win/imported/w3c/web-platform-tests/xhr/send-network-error-async-events.sub-expected.txt: Renamed from LayoutTests/platform/win/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-async-events.sub-expected.txt.
1496         * platform/wpe/TestExpectations:
1497         * platform/wpe/imported/w3c/web-platform-tests/xhr/access-control-basic-cors-safelisted-request-headers-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/access-control-basic-cors-safelisted-request-headers-expected.txt.
1498         * platform/wpe/imported/w3c/web-platform-tests/xhr/access-control-basic-get-fail-non-simple-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/access-control-basic-get-fail-non-simple-expected.txt.
1499         * platform/wpe/imported/w3c/web-platform-tests/xhr/access-control-basic-post-with-non-cors-safelisted-content-type-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/access-control-basic-post-with-non-cors-safelisted-content-type-expected.txt.
1500         * platform/wpe/imported/w3c/web-platform-tests/xhr/send-entity-body-get-head-async-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt.
1501         * platform/wpe/imported/w3c/web-platform-tests/xhr/send-entity-body-get-head-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt.
1502         * platform/wpe/imported/w3c/web-platform-tests/xhr/send-redirect-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt.
1503         * platform/wpe/imported/w3c/web-platform-tests/xhr/send-redirect-infinite-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-infinite-expected.txt.
1504         * platform/wpe/imported/w3c/web-platform-tests/xhr/send-redirect-infinite-sync-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-infinite-sync-expected.txt.
1505         * platform/wpe/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt.
1506         * platform/wpe/imported/w3c/web-platform-tests/xhr/xmlhttprequest-network-error-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-network-error-expected.txt.
1507         * platform/wpe/imported/w3c/web-platform-tests/xhr/xmlhttprequest-network-error-sync-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-network-error-sync-expected.txt.
1508
1509 2018-08-26  Zan Dobersek  <zdobersek@igalia.com>
1510
1511         Unreviewed WPE gardening. Enabling more tests under the fast/ directory.
1512
1513         * platform/wpe/TestExpectations:
1514         * platform/wpe/fast/backgrounds: Added 28 baselines.
1515         * platform/wpe/fast/block: Added 267 baselines.
1516         * platform/wpe/fast/body-propagation: Added 65 baselines.
1517         * platform/wpe/fast/borders: Added 69 baselines.
1518         * platform/wpe/fast/css: Added 193 baselines.
1519         * platform/wpe/fast/css3-text: Added 2 baselines.
1520         * platform/wpe/fast/frames: Added 27 baselines.
1521         * platform/wpe/fast/hidpi: Added 20 baselines.
1522         * platform/wpe/fast/html: Added 64 baselines.
1523         * platform/wpe/fast/images: Added 14 baselines.
1524         * platform/wpe/fast/layers: Added 12 baselines.
1525         * platform/wpe/fast/multicol: Added 98 baselines.
1526         * platform/wpe/fast/overflow: Added 43 baselines.
1527         * platform/wpe/fast/reflections: Added 9 baselines.
1528         * platform/wpe/fast/selectors: Added 101 baselines.
1529         * platform/wpe/fast/sub-pixel: Added 6 baselines.
1530         * platform/wpe/fast/table: Added 162 baselines.
1531         * platform/wpe/fast/visual-viewport: Added 1 baseline.
1532
1533 2018-08-26  Andy Estes  <aestes@apple.com>
1534
1535         [Apple Pay] Introduce new values for -apple-pay-button-type
1536         https://bugs.webkit.org/show_bug.cgi?id=188949
1537         <rdar://problem/39992228>
1538
1539         Reviewed by Anders Carlsson.
1540
1541         * http/tests/ssl/applepay/ApplePayButton.html: Added.
1542         * http/tests/ssl/applepay/ApplePayButtonV4.html: Added.
1543         * platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.png:
1544         * platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.txt:
1545         * platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.png: Added.
1546         * platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.txt: Added.
1547         * platform/mac/http/tests/ssl/applepay/ApplePayButtonV4-expected.png: Added.
1548         * platform/mac/http/tests/ssl/applepay/ApplePayButtonV4-expected.txt: Added.
1549         * platform/mac-wk2/TestExpectations:
1550
1551 2018-08-26  Andy Estes  <aestes@apple.com>
1552
1553         Update test expectations for http/tests/ssl/applepay/ApplePayButton.html on macOS High Sierra.
1554
1555         * platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.png: Renamed from LayoutTests/platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.png.
1556         * platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.txt: Renamed from LayoutTests/platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.txt.
1557
1558 2018-08-26  Andy Estes  <aestes@apple.com>
1559
1560         [Apple Pay] PaymentRequest.show() should reject when an unsupported ApplePayRequest version is specified
1561         https://bugs.webkit.org/show_bug.cgi?id=188954
1562
1563         Reviewed by Darin Adler.
1564
1565         * http/tests/ssl/applepay/PaymentRequest.https-expected.txt:
1566         * http/tests/ssl/applepay/PaymentRequest.https.html:
1567
1568 2018-08-26  Andy Estes  <aestes@apple.com>
1569
1570         [Apple Pay] Add a test for rendering Apple Pay buttons
1571         https://bugs.webkit.org/show_bug.cgi?id=188947
1572
1573         Reviewed by Sam Weinig.
1574
1575         * http/tests/ssl/applepay/ApplePayButton.html: Added.
1576         * platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.png: Added.
1577         * platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.txt: Added.
1578         * platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.png: Added.
1579         * platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.txt: Added.
1580
1581 2018-08-24  Jer Noble  <jer.noble@apple.com>
1582
1583         Using Touch Bar to scrub video on Youtube results in video playback freeze
1584         https://bugs.webkit.org/show_bug.cgi?id=188926
1585
1586         Reviewed by Eric Carlson.
1587
1588         * media/media-source/media-source-seek-twice-expected.txt: Added.
1589         * media/media-source/media-source-seek-twice.html: Added.
1590
1591 2018-08-24  Ryosuke Niwa  <rniwa@webkit.org>
1592
1593         Remove the flaky test expectation now that the test isn't flaky on bots after r235274.
1594
1595         * platform/wk2/TestExpectations:
1596
1597 2018-08-24  Ryosuke Niwa  <rniwa@webkit.org>
1598
1599         Add getModifierState to MouseEvent
1600         https://bugs.webkit.org/show_bug.cgi?id=188913
1601         <rdar://problem/43668772>
1602
1603         Reviewed by Simon Fraser.
1604
1605         Added two tests for getModifierState: one manually setting modifier key states in MouseEvent's constructor,
1606         and another one for dblclick inheriting modifier key states from the click event.
1607
1608         Also improved the test coverage for KeyboardEvent's getModifierState.
1609
1610         * fast/events/constructors/keyboard-event-getModifierState-expected.txt:
1611         * fast/events/constructors/keyboard-event-getModifierState.html: Added more test cases.
1612         * fast/events/constructors/mouse-event-getModifierState-expected.txt: Added.
1613         * fast/events/constructors/mouse-event-getModifierState.html: Added.
1614         * fast/events/dblclick-event-getModifierState-expected.txt: Added.
1615         * fast/events/dblclick-event-getModifierState.html: Added.
1616         * fast/events/init-event-clears-capslock-expected.txt:
1617         * fast/events/init-event-clears-capslock.html: Added tests for MouseEvent. Note that initMouseEvent doesn't
1618         take altGraphKey boolean unlike initKeyboardEvent.
1619         * platform/ios/TestExpectations: Skip the dblclick test in iOS since click event isn't supported on iOS.
1620
1621 2018-08-24  Youenn Fablet  <youenn@apple.com>
1622
1623         libwebrtc PeerConnection::AddTrack sometimes fail
1624         https://bugs.webkit.org/show_bug.cgi?id=188914
1625
1626         Reviewed by Eric Carlson.
1627
1628         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
1629
1630 2018-08-24  Ryan Haddad  <ryanhaddad@apple.com>
1631
1632         Mark media/video-load-preload-metadata.html as flaky on iOS
1633         https://bugs.webkit.org/show_bug.cgi?id=128312
1634
1635         Unreviewed test gardening.
1636
1637         * platform/ios/TestExpectations:
1638
1639 2018-08-24  Andy Estes  <aestes@apple.com>
1640
1641         [Apple Pay] Allow $0 totals
1642         https://bugs.webkit.org/show_bug.cgi?id=185150
1643         <rdar://problem/39212331>
1644
1645         Reviewed by Dan Bernstein.
1646
1647         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
1648         * http/tests/ssl/applepay/ApplePaySession.html:
1649         * http/tests/ssl/applepay/ApplePaySessionV3-expected.txt:
1650         * http/tests/ssl/applepay/ApplePaySessionV3.html:
1651         * http/tests/ssl/applepay/ApplePaySessionV4-expected.txt:
1652         * http/tests/ssl/applepay/ApplePaySessionV4.html:
1653         * http/tests/ssl/applepay/PaymentRequest.https-expected.txt:
1654         * http/tests/ssl/applepay/PaymentRequest.https.html:
1655
1656 2018-08-23  Ryosuke Niwa  <rniwa@webkit.org>
1657
1658         fast/files/blob-network-process-crash.html is flaky
1659         https://bugs.webkit.org/show_bug.cgi?id=188911
1660
1661         Reviewed by Saam Barati.
1662
1663         The flakiness appears to come from the web content process not getting notified of
1664         the termination of the network process in time. Wait for the network process to
1665         relaunch after terminating one by continuously fetch'ing itself with an increasing
1666         time interval until it succeeds.
1667
1668         * fast/files/blob-network-process-crash.html:
1669
1670 2018-08-23  Ryosuke Niwa  <rniwa@webkit.org>
1671
1672         Add a flaky failing test expectation to fast/files/blob-network-process-crash.html
1673         while we investigate the root cause in webkit.org/b/188911.
1674
1675         * platform/wk2/TestExpectations:
1676
1677 2018-08-23  Ryosuke Niwa  <rniwa@webkit.org>
1678
1679         initKeyboardEvent doesn't clear CapsLock state
1680         https://bugs.webkit.org/show_bug.cgi?id=188909
1681
1682         Reviewed by Wenson Hsieh.
1683
1684         Added a regression test. Note that altGraph is only supported in WebKit
1685         so Chrome and Firefox would fail to reset it via initKeyboardEvent.
1686
1687         * fast/events/init-event-clears-capslock-expected.txt: Added.
1688         * fast/events/init-event-clears-capslock.html: Added.
1689
1690 2018-08-23  Ryosuke Niwa  <rniwa@webkit.org>
1691
1692         Store the timer we scheduled in the global object.
1693         The underlying bug is tracked by https://webkit.org/b/188911.
1694
1695         * fast/files/blob-network-process-crash.html:
1696
1697 2018-08-23  Andy Estes  <aestes@apple.com>
1698
1699         [Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
1700         https://bugs.webkit.org/show_bug.cgi?id=188829
1701
1702         Reviewed by Tim Horton.
1703
1704         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
1705         * http/tests/ssl/applepay/ApplePaySession.html:
1706         * http/tests/ssl/applepay/ApplePaySessionV3-expected.txt:
1707         * http/tests/ssl/applepay/ApplePaySessionV3.html:
1708         * http/tests/ssl/applepay/ApplePaySessionV4-expected.txt: Added.
1709         * http/tests/ssl/applepay/ApplePaySessionV4.html: Added.
1710         * platform/mac-wk2/TestExpectations:
1711
1712 2018-08-23  Devin Rousso  <drousso@apple.com>
1713
1714         Web Inspector: support breakpoints for timers and animation-frame events
1715         https://bugs.webkit.org/show_bug.cgi?id=188778
1716
1717         Reviewed by Brian Burg.
1718
1719         * inspector/dom-debugger/event-animation-frame-breakpoints-expected.txt: Added.
1720         * inspector/dom-debugger/event-animation-frame-breakpoints.html: Added.
1721
1722         * inspector/dom-debugger/event-breakpoint-with-navigation.html:
1723
1724         * inspector/dom-debugger/event-timer-breakpoints-expected.txt: Added.
1725         * inspector/dom-debugger/event-timer-breakpoints.html: Added.
1726
1727         * inspector/dom-debugger/event-listener-breakpoints-expected.txt: Renamed from LayoutTests/inspector/dom-debugger/event-breakpoints-expected.txt.
1728         * inspector/dom-debugger/event-listener-breakpoints.html: Renamed from LayoutTests/inspector/dom-debugger/event-breakpoints.html.
1729
1730         * inspector/dom-debugger/resources/event-breakpoint-utilities.js: Added.
1731         (TestPage.registerInitializer.window.teardown):
1732         (TestPage.registerInitializer.window.failOnPause):
1733         (TestPage.registerInitializer.window.addBreakpoint):
1734         (TestPage.registerInitializer.window.removeBreakpoint):
1735         (TestPage.registerInitializer.window.disableBreakpoint):
1736         (TestPage.registerInitializer.window.awaitEvent):
1737
1738 2018-08-23  Aditya Keerthi  <akeerthi@apple.com>
1739
1740         [iOS] Support the inputmode attribute on contenteditable elements
1741         https://bugs.webkit.org/show_bug.cgi?id=188878
1742
1743         Reviewed by Ryosuke Niwa.
1744
1745         Added additional tests to verify the inputmode attribute is accessible on
1746         HTMLElements.
1747
1748         * fast/forms/inputmode-attribute-contenteditable-expected.txt: Added.
1749         * fast/forms/inputmode-attribute-contenteditable.html: Added.
1750         * fast/forms/inputmode-attribute-input-expected.txt: Renamed from LayoutTests/fast/forms/inputmode-attribute-expected.txt.
1751         * fast/forms/inputmode-attribute-input.html: Renamed from LayoutTests/fast/forms/inputmode-attribute.html.
1752         * fast/forms/inputmode-attribute-textarea-expected.txt: Added.
1753         * fast/forms/inputmode-attribute-textarea.html: Added.
1754         * js/dom/dom-static-property-for-in-iteration-expected.txt: Rebaseline.
1755
1756 2018-08-22  Ryosuke Niwa  <rniwa@webkit.org>
1757
1758         Assert in NetworkBlobRegistry::unregisterBlobURL after network process had terminated
1759         https://bugs.webkit.org/show_bug.cgi?id=188880
1760
1761         Reviewed by Saam Barati.
1762
1763         Added a layout test which demonstrates this debug assertion.
1764
1765         * TestExpectations:
1766         * fast/files/blob-network-process-crash-expected.txt: Added.
1767         * fast/files/blob-network-process-crash.html: Added.
1768         * platform/wk2/TestExpectations:
1769
1770 2018-08-23  Youenn Fablet  <youenn@apple.com>
1771
1772         Update libwebrtc up to 984f1a80c0
1773         https://bugs.webkit.org/show_bug.cgi?id=188745
1774
1775         Reviewed by Eric Carlson.
1776
1777         Updated tests according new webrtc backend.
1778
1779         * webrtc/libwebrtc/setLocalDescriptionCrash.html:
1780         * webrtc/video-getParameters.html:
1781
1782 2018-08-23  Ryan Haddad  <ryanhaddad@apple.com>
1783
1784         Update iOS selection tests to reflect new behavior introduced by r235153
1785         https://bugs.webkit.org/show_bug.cgi?id=188888
1786
1787         Reviewed by Megan Gardner.
1788
1789         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html:
1790         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html:
1791         * fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html:
1792
1793 2018-08-22  John Wilander  <wilander@apple.com>
1794
1795         Further adjustments to http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html
1796         https://bugs.webkit.org/show_bug.cgi?id=188856
1797
1798         Unreviewed test gardening. Trying to address flakiness I can't reproduce locally.
1799
1800         * http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html:
1801
1802 2018-08-22  Justin Fan  <justin_fan@apple.com>
1803
1804         Update webkit-webgl-test-harness.js for more details on WebGL 2 conformance tests
1805         https://bugs.webkit.org/show_bug.cgi?id=188825
1806
1807         Reviewed by Simon Fraser.
1808
1809         Another update to the test-harness specific to the new WebGL 2 tests in our suite. All sub-test messages are 
1810         now reported by the harness and presented in an ordered list for easier referencing. Sub-test failures are 
1811         marked accordingly and with their test number for diffing purposes.
1812
1813         * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
1814         * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
1815         * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
1816         * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
1817         * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
1818         * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
1819         * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
1820         * webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
1821         * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
1822         * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
1823         * webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt:
1824         * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
1825         * webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt:
1826         * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
1827         * webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt:
1828         * webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt:
1829         * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
1830         * webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt:
1831         * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
1832         * webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt:
1833         * webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt:
1834         * webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
1835         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
1836         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
1837         * webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-define-expected.txt:
1838         * webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-identifier.frag-expected.txt:
1839         * webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
1840         * webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
1841         * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
1842         * webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt:
1843         * webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt:
1844         * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
1845         * webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
1846         * webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt:
1847         * webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt:
1848         * webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
1849         * webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
1850         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
1851         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
1852         * webgl/2.0.0/conformance2/vertex_arrays/vertex-array-object-expected.txt:
1853         * webgl/2.0.0/resources/webkit-webgl-test-harness.js:
1854         (list):
1855         (window.webglTestHarness.reportResults):
1856         (window.webglTestHarness.notifyFinished):
1857
1858 2018-08-22  Aditya Keerthi  <akeerthi@apple.com>
1859
1860         [iOS] Add support for the inputmode attribute
1861         https://bugs.webkit.org/show_bug.cgi?id=183621
1862
1863         Reviewed by Tim Horton.
1864
1865         Added test to verify behavior when getting and setting the inputmode attribute.
1866
1867         * fast/forms/inputmode-attribute-expected.txt: Added.
1868         * fast/forms/inputmode-attribute.html: Added.
1869
1870 2018-08-22  Per Arne Vollan  <pvollan@apple.com>
1871
1872         [Win] Some video tests under http/tests/security are crashing on EWS.
1873         https://bugs.webkit.org/show_bug.cgi?id=188853
1874
1875         Unreviewed test gardening.
1876
1877         * platform/win/TestExpectations:
1878
1879 2018-08-22  John Wilander  <wilander@apple.com>
1880
1881         Make ResourceLoadObserver::logWebSocketLoading() handle websockets in detached frames
1882         https://bugs.webkit.org/show_bug.cgi?id=188856
1883
1884         Unreviewed test gardening.
1885
1886         * TestExpectations:
1887             Skipped test since it's only valid on WK2 platforms.
1888         * http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt: Added.
1889         * http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html: Renamed from LayoutTests/http/tests/websocket/construct-in-detached-frame-resource-load-statistics.html.
1890         * http/tests/websocket/construct-in-detached-frame-resource-load-statistics-expected.txt: Removed.
1891         * http/tests/websocket/resources/construct-in-detached-frame-resource-load-statistics.html: Removed.
1892         * http/tests/websocket/resources/localhost-websocket-connect.html: Added.
1893         * platform/wk2/TestExpectations:
1894             Marked test as [ Pass ].
1895
1896 2018-08-22  Ryan Haddad  <ryanhaddad@apple.com>
1897
1898         [iOS] Rebaseline table tests
1899         https://bugs.webkit.org/show_bug.cgi?id=188833
1900
1901         Unreviewed test gardening.
1902 `
1903         * platform/ios/TestExpectations:
1904         * platform/ios-wk2/TestExpectations:
1905
1906 2018-08-21  Ryosuke Niwa  <rniwa@webkit.org>
1907
1908         Focus navigation order in slot fallback contents is wrong
1909         https://bugs.webkit.org/show_bug.cgi?id=178001
1910         <rdar://problem/42842997>
1911
1912         Reviewed by Antti Koivisto.
1913
1914         Updated the sequential focus navigation test for shadow DOM and its expectation.
1915
1916         New test passes in Firefox & Chrome other than the fact both browsers fail to focus a slot elemennt.
1917
1918         * fast/shadow-dom/focus-navigation-across-slots-expected.txt:
1919         * fast/shadow-dom/focus-navigation-across-slots.html:
1920
1921 2018-08-22  Per Arne Vollan  <pvollan@apple.com>
1922
1923         [Win] Some video tests under http/tests/security are crashing on EWS.
1924         https://bugs.webkit.org/show_bug.cgi?id=188853
1925
1926         Unreviewed test gardening.
1927
1928         * platform/win/TestExpectations:
1929
1930 2018-08-22  Per Arne Vollan  <pvollan@apple.com>
1931
1932         [Win] Some video tests under http/tests/security are crashing on EWS.
1933         https://bugs.webkit.org/show_bug.cgi?id=188853
1934
1935         Unreviewed test gardening.
1936
1937         * platform/win/TestExpectations:
1938
1939 2018-08-22  Rob Buis  <rbuis@igalia.com>
1940
1941         Fetch: Stop checking Request.integrity's value in no-cors mode
1942         https://bugs.webkit.org/show_bug.cgi?id=188802
1943
1944         Reviewed by Frédéric Wang.
1945
1946         Unskip fetch/api/basic/integrity.html and adjust sri-fetch.js.
1947
1948         * TestExpectations:
1949         * http/tests/subresource-integrity/sri-fetch.js:
1950
1951 2018-08-22  Ms2ger  <Ms2ger@igalia.com>
1952
1953         [GTK][WPE] Unreviewed test gardening
1954         https://bugs.webkit.org/show_bug.cgi?id=188845
1955
1956         Unreviewed test gardening.
1957
1958         * platform/gtk/TestExpectations: Note failing tests.
1959         * platform/wpe/TestExpectations: Note failing tests.
1960
1961 2018-08-22  Ms2ger  <Ms2ger@igalia.com>
1962
1963         [GTK] imported/w3c/web-platform-tests/media-source/mediasource-getvideoplaybackquality.html is flaky
1964         https://bugs.webkit.org/show_bug.cgi?id=187591
1965
1966         Unreviewed test gardening.
1967
1968         Re-enable mediasource-getvideoplaybackquality.html.
1969
1970         The crash was fixed in r233981, and the failure in r234981-r234983.
1971
1972         * platform/gtk/TestExpectations:
1973
1974 2018-08-22  Ms2ger  <Ms2ger@igalia.com>
1975
1976         REGRESSION(r234330): [GTK] svg/as-image/svg-image-with-data-uri-background.html is failing
1977         https://bugs.webkit.org/show_bug.cgi?id=188220
1978
1979         Unreviewed test gardening.
1980
1981         * platform/gtk/TestExpectations: Re-enable svg/as-image/svg-image-with-data-uri-background.html.
1982
1983 2018-08-21  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
1984
1985         Support "name" option for dedicated workers
1986         https://bugs.webkit.org/show_bug.cgi?id=188779
1987
1988         Reviewed by Joseph Pecoraro.
1989
1990         * http/wpt/workers/name-property-enhanced-expected.txt: Added.
1991         * http/wpt/workers/name-property-enhanced.html: Added.
1992         * http/wpt/workers/name-property-no-name-expected.txt: Added.
1993         * http/wpt/workers/name-property-no-name.html: Added.
1994         * http/wpt/workers/support/name.js: Added.
1995         (test):
1996         * http/wpt/workers/support/no-name.js: Added.
1997         (test):
1998
1999 2018-08-21  Ryan Haddad  <ryanhaddad@apple.com>
2000
2001         Unreviewed, rolling out r235128.
2002
2003         The test added with this change is frequently failing.
2004
2005         Reverted changeset:
2006
2007         "Support "name" option for dedicated workers"
2008         https://bugs.webkit.org/show_bug.cgi?id=188779
2009         https://trac.webkit.org/changeset/235128
2010
2011 2018-08-21  Megan Gardner  <megan_gardner@apple.com>
2012
2013         Change Selection modification to not snap the grabber when selecting above or below the selection anchor
2014         https://bugs.webkit.org/show_bug.cgi?id=188826
2015
2016         Reviewed by Tim Horton.
2017
2018         Selecting single lines is sometimes difficult because we currently snap selections to single
2019         characters if we move past the position of the other anchor in our selection. This patch changes
2020         this behaviour to reflect the behaviour in the rest of this system, which snaps the selection
2021         to the position on the line of the other anchor, rather than snapping it all the way a single
2022         character. This updates the tests to reflect this new behaviour.
2023
2024         * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html:
2025         * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html:
2026
2027 2018-08-21  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2028
2029         Support "name" option for dedicated workers
2030         https://bugs.webkit.org/show_bug.cgi?id=188779
2031
2032         Reviewed by Joseph Pecoraro.
2033
2034         * http/wpt/workers/name-property-enhanced-expected.txt: Added.
2035         * http/wpt/workers/name-property-enhanced.html: Added.
2036         * http/wpt/workers/support/name.js: Added.
2037         (test):
2038         * http/wpt/workers/support/no-name.js: Added.
2039         (test):
2040
2041 2018-08-21  Simon Fraser  <simon.fraser@apple.com>
2042
2043         REGRESSION(r234993): Test results page ignores TestExpectations, shows 1800 failures
2044         https://bugs.webkit.org/show_bug.cgi?id=188795
2045
2046         Reviewed by Tim Horton.
2047         
2048         A MISSING result would trigger a code path that hit appendActualOnlyLinks() which had
2049         a JS error, causing all expected results to be visible. Fix with a change to full_results.json
2050         which tests the change.
2051
2052         * fast/harness/full_results.json:
2053         * fast/harness/results.html:
2054
2055 2018-08-21  Per Arne Vollan  <pvollan@apple.com>
2056
2057         [WebGL] Contexts are not updated when display configuration changed.
2058         https://bugs.webkit.org/show_bug.cgi?id=188750
2059
2060         Reviewed by Brent Fulgham.
2061
2062         * TestExpectations:
2063         * fast/canvas/webgl/context-update-on-display-configuration-expected.txt: Added.
2064         * fast/canvas/webgl/context-update-on-display-configuration.html: Added.
2065         * platform/mac-wk2/TestExpectations:
2066
2067 2018-08-21  John Wilander  <wilander@apple.com>
2068
2069         Make ResourceLoadObserver::logWebSocketLoading() handle websockets in detached frames
2070         https://bugs.webkit.org/show_bug.cgi?id=188757
2071         <rdar://problem/38713390>
2072
2073         Reviewed by Alex Christensen.
2074
2075         * TestExpectations:
2076             Skipped the new test case since it is only supported on WebKit2.
2077         * http/tests/websocket/construct-in-detached-frame-resource-load-statistics-expected.txt: Added.
2078         * http/tests/websocket/construct-in-detached-frame-resource-load-statistics.html: Added.
2079         * http/tests/websocket/resources/construct-in-detached-frame-resource-load-statistics.html: Added.
2080         * platform/wk2/TestExpectations:
2081             Marked the new test case as [ Pass ].
2082
2083 2018-08-21  Daniel Bates  <dabates@apple.com>
2084
2085         Disallow navigations when page cache updates the current document of the frame
2086         https://bugs.webkit.org/show_bug.cgi?id=188422
2087
2088         Reviewed by Ryosuke Niwa.
2089
2090         Add a test case that ensures that we do not hit the assertion ASSERT(ownerFrame || m_frame.isMainFrame())
2091         in FrameLoader::addExtraFieldsToRequest() when navigating back to a page that loads a nested
2092         page, whose URL contains a fragment, via an HTML object element. This assertion fails if
2093         navigations are allowed when restoring a page from the page cache.
2094
2095         This change does not prevent navigations initiated from a pageshow event handler.
2096
2097         * fast/history/go-back-to-object-subframe-expected.txt: Added.
2098         * fast/history/go-back-to-object-subframe.html: Added.
2099
2100 2018-08-21  Daniel Bates  <dabates@apple.com>
2101
2102         [iOS][WK1] Support toggling continuous spell checking from tests
2103         https://bugs.webkit.org/show_bug.cgi?id=188763
2104
2105         Reviewed by Simon Fraser.
2106
2107         Fix up some spelling tests so that they enable continuous spell checking and unskip them,
2108         with the exception of fast/writing-mode/english-rl-text-with-spelling-marker.html, now
2109         that they pass.
2110
2111         Mark the test fast/writing-mode/english-rl-text-with-spelling-marker.html as an image-only
2112         failure. See <https://bugs.webkit.org/show_bug.cgi?id=188762> for more details.
2113
2114         * editing/spelling/spelling-marker-includes-hyphen-expected.html:
2115         * editing/spelling/spelling-marker-includes-hyphen.html:
2116         * editing/spelling/spelling-markers-in-overlapping-lines-expected.html:
2117         * editing/spelling/spelling-markers-in-overlapping-lines-large-font-expected.html:
2118         * editing/spelling/spelling-markers-in-overlapping-lines-large-font.html:
2119         * editing/spelling/spelling-markers-in-overlapping-lines.html:
2120         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
2121         * fast/writing-mode/english-bt-text-with-spelling-marker.html:
2122         * fast/writing-mode/english-rl-text-with-spelling-marker-expected.html:
2123         * fast/writing-mode/english-rl-text-with-spelling-marker.html:
2124         * platform/ios/TestExpectations:
2125
2126 2018-08-20  Fujii Hironori  <Hironori.Fujii@sony.com>
2127
2128         Unreviewed WinCairo port test gardening
2129
2130         * platform/wincairo/TestExpectations: Marked some http tests flaky.
2131
2132 2018-08-20  Devin Rousso  <drousso@apple.com>
2133
2134         Web Inspector: allow breakpoints to be set for specific event listeners
2135         https://bugs.webkit.org/show_bug.cgi?id=183138
2136
2137         Reviewed by Joseph Pecoraro.
2138
2139         * inspector/dom/breakpoint-for-event-listener-expected.txt: Added.
2140         * inspector/dom/breakpoint-for-event-listener.html: Added.
2141
2142 2018-08-20  Jeremy Jones  <jeremyj@apple.com>
2143
2144         Enable ios media tests that were blocked on user gesture.
2145         https://bugs.webkit.org/show_bug.cgi?id=188753
2146
2147         Reviewed by Jer Noble.
2148
2149         Enable tests that now work on ios because there is now a way to simulate user gesture.
2150
2151         * platform/ios/TestExpectations:
2152
2153 2018-08-20  Justin Fan  <justin_fan@apple.com>
2154
2155         Update webkit-webgl-test-harness.js to provide more info on failing and partially passing tests
2156         https://bugs.webkit.org/show_bug.cgi?id=188628
2157
2158         Reviewed by Alexey Proskuryakov.
2159
2160         Slightly augment the test-harness for the WebGL 2 conformance suite; failing test results now report
2161         failure messagees and the number of individual reported failures and passes from the wrapped Khronos test. 
2162         Allow us to track when incremental conformance improvements or regressions occur within the breadth of a 
2163         single conformance test. 
2164
2165         * webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
2166         * webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
2167         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
2168         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
2169         * webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
2170         * webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
2171         * webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
2172         * webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
2173         * webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
2174         * webgl/2.0.0/resources/webkit-webgl-test-harness.js:
2175         (window.webglTestHarness.reportResults):
2176         (window.webglTestHarness.notifyFinished):
2177
2178 2018-08-20  Eric Carlson  <eric.carlson@apple.com>
2179
2180         [MediaStream] Move capture device monitoring to WebKit
2181         https://bugs.webkit.org/show_bug.cgi?id=188521
2182         <rdar://problem/43251787>
2183
2184         Reviewed by Youenn Fablet.
2185
2186         * fast/mediastream/device-change-event-2-expected.txt: Updated.
2187         * fast/mediastream/device-change-event-2.html: Updated.
2188
2189 2018-08-20  Rob Buis  <rbuis@igalia.com>
2190
2191         Throw an exception if window.open() gets passed a URL that cannot be parsed
2192         https://bugs.webkit.org/show_bug.cgi?id=171656
2193
2194         Reviewed by Darin Adler.
2195
2196         * fast/dom/Window/open-invalid-url-expected.txt:
2197         * fast/dom/Window/open-invalid-url.html:
2198
2199 2018-08-20  Ms2ger  <Ms2ger@igalia.com>
2200
2201         [SOUP] Check length before calling soup_message_body_append_buffer.
2202         https://bugs.webkit.org/show_bug.cgi?id=176803
2203
2204         Reviewed by Carlos Garcia Campos.
2205
2206         * platform/gtk/TestExpectations: Enable test.
2207
2208 2018-08-20  Rob Buis  <rbuis@igalia.com>
2209
2210         Relax Request constructor around referrers
2211         https://bugs.webkit.org/show_bug.cgi?id=168649
2212
2213         Reviewed by Darin Adler.
2214
2215         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/request/request-init-001.sub-expected.txt:
2216
2217 2018-08-18  Ali Juma  <ajuma@chromium.org>
2218
2219         [IntersectionObserver] Fire an initial dummy notification
2220         https://bugs.webkit.org/show_bug.cgi?id=188670
2221
2222         Reviewed by Simon Fraser.
2223
2224         * intersection-observer/root-element-deleted.html: Add additional assertions.
2225         * intersection-observer/root-element-moved-expected.txt: Added.
2226         * intersection-observer/root-element-moved.html: Added.
2227
2228 2018-08-17  John Wilander  <wilander@apple.com>
2229
2230         Resource Load Statistics: Add layout test for web workers importing cross-site scripts
2231         https://bugs.webkit.org/show_bug.cgi?id=188706
2232         <rdar://problem/43437050>
2233
2234         Reviewed by Alex Christensen.
2235
2236         * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-expected.txt: Added.
2237         * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import.html: Added.
2238         * http/tests/resourceLoadStatistics/resources/iframe-report-back-loaded.html:
2239             Fixed typo in URL.
2240         * http/tests/resourceLoadStatistics/resources/script-revealing-cookies.php: Added.
2241         * http/tests/resourceLoadStatistics/resources/worker-importing-localhost-script.js: Added.
2242
2243 2018-08-17  Devin Rousso  <drousso@apple.com>
2244
2245         Marked inspector/dom-debugger/event-breakpoint-with-navigation.html as flaky.
2246         https://bugs.webkit.org/show_bug.cgi?id=188708
2247
2248         Unreviewed test gardening.
2249
2250         * platform/mac-wk1/TestExpectations:
2251
2252 2018-08-17  Simon Fraser  <simon.fraser@apple.com>
2253
2254         Modernize results.html
2255         https://bugs.webkit.org/show_bug.cgi?id=188690
2256
2257         Reviewed by Alexey Proskuryakov.
2258         
2259         results.html, which is used to show layout test results, had some very old-school
2260         HTML string building to create the tables of test results, making it hard to hack on.
2261         
2262         Modernize it, using ES6 classes for the major actors, and using DOM API to build most
2263         of the content.
2264         
2265         The page is functionally the same (other than the addition of a missing 'History" column header).
2266
2267         * fast/harness/results-expected.txt:
2268         * fast/harness/results.html:
2269
2270 2018-08-16  Devin Rousso  <drousso@apple.com>
2271
2272         Web Inspector: support breakpoints for arbitrary event names
2273         https://bugs.webkit.org/show_bug.cgi?id=183118
2274
2275         Reviewed by Joseph Pecoraro.
2276
2277         * inspector/dom-debugger/event-breakpoints-expected.txt: Added.
2278         * inspector/dom-debugger/event-breakpoints.html: Added.
2279
2280         * inspector/dom-debugger/event-breakpoints-with-navigation-expected.txt: Added.
2281         * inspector/dom-debugger/event-breakpoints-with-navigation.html: Added.
2282
2283 2018-08-16  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2284
2285         [Curl] Bug fix on deleting cookies when Max-Age is set to zero.
2286         https://bugs.webkit.org/show_bug.cgi?id=188617
2287
2288         Reviewed by Alex Christensen.
2289
2290         * platform/wincairo/TestExpectations:
2291           - http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html [ Pass ]
2292
2293 2018-08-16  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2294
2295         [Curl] Implement deleteAllCookies()
2296         https://bugs.webkit.org/show_bug.cgi?id=188612
2297
2298         Reviewed by Alex Christensen.
2299
2300         * platform/wincairo/TestExpectations:
2301           - http/tests/cookies/simple-cookies-expired.html [ Pass ]
2302           - http/tests/cookies/simple-cookies-max-age.html [ Pass ]
2303
2304 2018-08-16  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2305
2306         [Curl] Test gardening
2307         https://bugs.webkit.org/show_bug.cgi?id=188675
2308
2309         Unreviewed test gardening.
2310
2311         Fix expectations to match after r234892 landed.
2312
2313         * platform/wincairo/TestExpectations:
2314         * platform/wincairo/http/tests/xmlhttprequest/methods-async-expected.txt: Added
2315         * platform/wincairo/http/tests/xmlhttprequest/methods-expected.txt:
2316         * platform/wincairo/http/tests/xmlhttprequest/workers/methods-async-expected.txt: Added
2317         * platform/wincairo/http/tests/xmlhttprequest/workers/methods-expected.txt: Added
2318
2319 2018-08-16  Ryosuke Niwa  <rniwa@webkit.org>
2320
2321         Custom element doesn't invalidate its style when :defined rule starts to apply
2322         https://bugs.webkit.org/show_bug.cgi?id=188637
2323
2324         Reviewed by Antti Koivisto.
2325
2326         Added a regression test.
2327
2328         * fast/custom-elements/defined-update-style-expected.html: Added.
2329         * fast/custom-elements/defined-update-style.html: Added.
2330
2331 2018-08-16  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2332
2333         [Curl] Test gardening
2334         https://bugs.webkit.org/show_bug.cgi?id=188668
2335
2336         Unreviewed test gardening.
2337
2338         After r234863 landed, the information in the `LayoutTests/tests-options.json` is effective on WinCairo tests.
2339         Remove [ Slow ] keywords. Also maintain xmlhttprequest results.
2340
2341         * platform/wincairo/TestExpectations:
2342
2343 2018-08-16  Per Arne Vollan  <pvollan@apple.com>
2344
2345         [Win] The layout test editing/pasteboard/drag-and-drop-color-input-events.html is timing out.
2346         https://bugs.webkit.org/show_bug.cgi?id=188667
2347
2348         Unreviewed test gardening.
2349
2350         * platform/win/TestExpectations:
2351
2352 2018-08-16  Joseph Pecoraro  <pecoraro@apple.com>
2353
2354         LayoutTest inspector/worker/debugger-pause.html sometimes times out
2355         https://bugs.webkit.org/show_bug.cgi?id=188580
2356
2357         Reviewed by Matt Baker.
2358
2359         * inspector/worker/debugger-pause.html:
2360         * inspector/worker/resources/worker-utilities.js: Added.
2361         (TestPage.registerInitializer.window.awaitTargetMainResource):
2362         (TestPage.registerInitializer):
2363         Use a more deterministic wait for the main resource.
2364
2365 2018-08-16  Ryosuke Niwa  <rniwa@webkit.org>
2366
2367         Perform a microtask checkpoint before creating a custom element
2368         https://bugs.webkit.org/show_bug.cgi?id=188189
2369         <rdar://problem/42843022>
2370
2371         Reviewed by Geoffrey Garen.
2372
2373         Added a W3C style testharness.js test for perfoming microtask checkpoint before constructing
2374         a custom element synchronously.
2375
2376         * fast/custom-elements/perform-microtask-checkpoint-before-construction-expected.txt: Added.
2377         * fast/custom-elements/perform-microtask-checkpoint-before-construction.html: Added.
2378         * fast/dom/MutationObserver/parser-mutations.html: Fixed the test per new behavior in Document::finishParsing.
2379         Because iframe loads synchronously and fires DOMContentLoaded, mutation records are now delivered twice after
2380         iframe element is encountered in this test and before script element executes. Concatenate the mutation records
2381         arrays to account for this behavioral change. New WebKit behavior matches that of Chrome; namely this test
2382         fails both on Chrome Canary 70 and trunk WebKit with this patch without this fix.
2383
2384 2018-08-15  Jer Noble  <jer.noble@apple.com>
2385
2386         Add Experimental Feature support for SourceBuffer.changeType()
2387         https://bugs.webkit.org/show_bug.cgi?id=188626
2388
2389         Reviewed by Eric Carlson.
2390
2391         * platform/mac/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt: Added.
2392
2393 2018-08-16  Per Arne Vollan  <pvollan@apple.com>
2394
2395         [win-ews] No such file or directory: u'/cygdrive/C/cygwin/home/buildbot/WebKit/WebKitBuild/Release/bin32/layout-test-results/pywebsocket.ws.log-out.txt'
2396         https://bugs.webkit.org/show_bug.cgi?id=188640
2397
2398         Unreviewed test gardening.
2399
2400         For now, skip websocket tests on Windows. Currently, run-webkit-tests is failing to start the websocket server because
2401         port 8880 is already in use. Port 8880 is being used because the python websocket server process from the previous run
2402         did not shutdown properly. We still need to understand why this is happening, but disable websocket tests now in order
2403         for tests to run again.
2404
2405         * platform/win/TestExpectations:
2406
2407 2018-08-16  Zan Dobersek  <zdobersek@igalia.com>
2408
2409         Unreviewed WPE gardening. Enable a few subdirectories under fast/ and
2410         provide platform-specific baselines as well as failure expectations
2411         where required.
2412
2413         * platform/wpe/TestExpectations:
2414         * platform/wpe/fast/box-shadow: Added 10 baselines.
2415         * platform/wpe/fast/box-sizing: Added 4 baselines.
2416         * platform/wpe/fast/clip: Added 23 baselines.
2417         * platform/wpe/fast/compact: Added 3 baselines.
2418         * platform/wpe/fast/css-generated-content: Added 43 baselines.
2419         * platform/wpe/fast/doctypes: Added 4 baselines.
2420         * platform/wpe/fast/flexbox: Added 26 baselines.
2421         * platform/wpe/fast/inline: Added 32 baselines.
2422         * platform/wpe/fast/inline-block: Added 9 baselines.
2423         * platform/wpe/fast/invalid: Added 29 baselines.
2424         * platform/wpe/fast/line-grid: Added 8 baselines.
2425         * platform/wpe/fast/lists: Added 27 baselines.
2426         * platform/wpe/fast/loader: Added 1 baseline.
2427         * platform/wpe/fast/preloader: Added 2 baselines.
2428         * platform/wpe/fast/replaced: Added 57 baselines.
2429         * platform/wpe/fast/ruby: Added 26 baselines.
2430         * platform/wpe/fast/writing-mode: Added 37 baselines.
2431
2432 2018-08-16  Aditya Keerthi  <akeerthi@apple.com>
2433
2434         Support drag-and-drop for input[type=color]
2435         https://bugs.webkit.org/show_bug.cgi?id=188464
2436
2437         Reviewed by Wenson Hsieh.
2438
2439         Added tests to verify that dragging from one color input to another behaves as
2440         expected in WK1. The tests consider disabled and read-only inputs in addition to
2441         default color inputs. The WK2 implementation is tested through API tests.
2442
2443         * editing/pasteboard/drag-and-drop-color-input-events-expected.txt: Added.
2444         * editing/pasteboard/drag-and-drop-color-input-events.html: Added.
2445         * editing/pasteboard/drag-and-drop-color-input-expected.txt: Added.
2446         * editing/pasteboard/drag-and-drop-color-input.html: Added.
2447         * platform/ios/TestExpectations:
2448         * platform/mac/TestExpectations:
2449         * platform/wk2/TestExpectations:
2450
2451 2018-08-16  Simon Fraser  <simon.fraser@apple.com>
2452
2453         Add fake layout test results JSON to exercise the functionality in results.html
2454         https://bugs.webkit.org/show_bug.cgi?id=188636
2455
2456         Reviewed by Alexey Proskuryakov.
2457         
2458         The results for results.html are mostly blank because the page runs without any JSON
2459         data, so there's no testing of the functionality of the page. Add some fake JSON
2460         data which supplies most of the different types of test result, so we're testing
2461         at least some of the results.html script.
2462
2463         * fast/harness/full_results.json: Added.
2464         * fast/harness/results-expected.txt:
2465
2466 2018-08-15  Ansh Shukla  <ansh_shukla@apple.com>
2467
2468         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
2469         https://bugs.webkit.org/show_bug.cgi?id=186870
2470
2471         Reviewed by Alex Christensen.
2472
2473         Ensure the exposed authentication type to clients is OAuth.
2474
2475         * http/tests/loading/oauth-expected.txt: Added.
2476         * http/tests/loading/oauth.html: Added.
2477         * http/tests/loading/resources/oauth-subresource.php: Added.
2478
2479 2018-08-15  Christopher Reid  <chris.reid@sony.com>
2480
2481         [Curl] Implement default cookie path handling correctly as outlined in RFC6265.
2482         https://bugs.webkit.org/show_bug.cgi?id=188609
2483
2484         Reviewed by Alex Christensen.
2485
2486         Curl implementation of default cookie path was wrong so that some cookies cannot be accessible.
2487         It should be generated as outlined in: https://tools.ietf.org/html/rfc6265#section-5.1.4
2488
2489         * platform/wincairo/TestExpectations:
2490           - http/tests/cookies/http-get-cookie-set-in-js.html [ Pass ]
2491
2492
2493 2018-08-15  Ali Juma  <ajuma@chromium.org>
2494
2495         Disable IntersectionObserver tests on Windows for now
2496         https://bugs.webkit.org/show_bug.cgi?id=188613
2497
2498         Unreviewed test gardening.
2499
2500         The experimental feature for IntersectionObserver is off by default, and
2501         Windows WebKit API would have to change to enable it, so just skip the
2502         tests for now.
2503
2504         * platform/win/TestExpectations:
2505         * platform/wincairo/TestExpectations:
2506
2507 2018-08-15  Aditya Keerthi  <akeerthi@apple.com>
2508
2509         [Datalist] Add button to TextFieldInputs with a datalist
2510         https://bugs.webkit.org/show_bug.cgi?id=187741
2511
2512         Reviewed by Tim Horton.
2513
2514         Added tests to verify appearance of TextFieldInputs with a datalist.
2515
2516         * fast/forms/datalist/datalist-searchinput-appearance.html: Added.
2517         * fast/forms/datalist/datalist-textinput-appearance.html: Added.
2518         * platform/ios/TestExpectations:
2519         * platform/mac/fast/forms/datalist/datalist-searchinput-appearance-expected.png: Added.
2520         * platform/mac/fast/forms/datalist/datalist-searchinput-appearance-expected.txt: Added.
2521         * platform/mac/fast/forms/datalist/datalist-textinput-appearance-expected.png: Added.
2522         * platform/mac/fast/forms/datalist/datalist-textinput-appearance-expected.txt: Added.
2523
2524 2018-08-15  Ryan Haddad  <ryanhaddad@apple.com>
2525
2526         Unreviewed, rolling out r234870.
2527
2528         The test introduced with this change is a flaky failure.
2529
2530         Reverted changeset:
2531
2532         "NSURLAuthenticationMethodOAuth challenges are surfaced to
2533         clients in -didReceiveAuthenticationChallenge as
2534         NSURLAuthenticationMethodDefault"
2535         https://bugs.webkit.org/show_bug.cgi?id=186870
2536         https://trac.webkit.org/changeset/234870
2537
2538 2018-08-15  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2539
2540         [Curl] Test gardening
2541         https://bugs.webkit.org/show_bug.cgi?id=188610
2542
2543         Unreviewed test gardening.
2544
2545         Unskip http/tests/cookies.
2546
2547         * platform/wincairo/TestExpectations:
2548
2549 2018-08-15  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2550
2551         [Curl] Don't send Content-Type header for POST request when body is null.
2552         https://bugs.webkit.org/show_bug.cgi?id=188588
2553
2554         Reviewed by Youenn Fablet.
2555
2556         * platform/wincairo/TestExpectations:
2557
2558 2018-08-15  Per Arne Vollan  <pvollan@apple.com>
2559
2560         Layout Test editing/input/press-tab-during-ime-composition.html is failing
2561         https://bugs.webkit.org/show_bug.cgi?id=188600
2562
2563         Unreviewed test gardening.
2564
2565         * platform/win/TestExpectations:
2566
2567 2018-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
2568
2569         [Attachment SPI] Remove attachment display mode options
2570         https://bugs.webkit.org/show_bug.cgi?id=188596
2571
2572         Reviewed by Dan Bernstein.
2573
2574         Remove a layout test which verified that attachment elements with `-webkit-appearance: none` would render
2575         child elements. This was only used to implement in-place attachment display modes.
2576
2577         * fast/attachment/attachment-without-appearance-expected.html: Removed.
2578         * fast/attachment/attachment-without-appearance.html: Removed.
2579         * platform/gtk/TestExpectations:
2580
2581 2018-08-15  Ali Juma  <ajuma@chromium.org>
2582
2583         [IntersectionObserver] Do not hold a strong reference to the root element
2584         https://bugs.webkit.org/show_bug.cgi?id=188575
2585
2586         Reviewed by Simon Fraser.
2587
2588         * intersection-observer/root-element-deleted-expected.txt: Added.
2589         * intersection-observer/root-element-deleted.html: Added.
2590
2591 2018-08-14  Zalan Bujtas  <zalan@apple.com>
2592
2593         [LFC][Floating] Add support for negative clearance.
2594         https://bugs.webkit.org/show_bug.cgi?id=188555
2595
2596         Reviewed by Simon Fraser.
2597
2598         * fast/block/block-only/margin-collapse-with-clearance-expected.txt: Added.
2599         * fast/block/block-only/margin-collapse-with-clearance.html: Added.
2600
2601 2018-08-14  Ansh Shukla  <ansh_shukla@apple.com>
2602
2603         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
2604         https://bugs.webkit.org/show_bug.cgi?id=186870
2605
2606         Reviewed by Alex Christensen.
2607
2608         Ensure the exposed authentication type to clients is OAuth.
2609
2610         * http/tests/loading/oauth-expected.txt: Added.
2611         * http/tests/loading/oauth.html: Added.
2612         * http/tests/loading/resources/oauth-subresource.php: Added.
2613
2614 2018-08-14  Ryan Haddad  <ryanhaddad@apple.com>
2615
2616         Unreviewed test gardening for mac-wk1.
2617
2618         * platform/mac-wk1/TestExpectations:
2619
2620 2018-08-14  Ryan Haddad  <ryanhaddad@apple.com>
2621
2622         Mark legacy-animation-engine/animations/combo-transform-translate+scale.html as flaky.
2623         https://bugs.webkit.org/show_bug.cgi?id=185308
2624
2625         Unreviewed test gardening.
2626
2627         * TestExpectations:
2628
2629 2018-08-14  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2630
2631         [Curl] Test gardening
2632         https://bugs.webkit.org/show_bug.cgi?id=188587
2633
2634         Unreviewed test gardening.
2635
2636         Added platform dependent expected result.
2637
2638         * platform/wincairo/http/tests/xmlhttprequest/methods-expected.txt: Added.
2639
2640 2018-08-14  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2641
2642         [Curl] Implement platform default timeout interval.
2643         https://bugs.webkit.org/show_bug.cgi?id=188565
2644
2645         Reviewed by Alex Christensen.
2646
2647         * platform/wincairo/TestExpectations:
2648           - xmlhttprequest/on-network-timeout-error-during-preflight.html
2649
2650 2018-08-14  Ryan Haddad  <ryanhaddad@apple.com>
2651
2652         Mark svg/custom/scrolling-embedded-svg-file-image-repaint-problem.html as flaky.
2653         https://bugs.webkit.org/show_bug.cgi?id=188578
2654
2655         Unreviewed test gardening.
2656
2657         * platform/ios/TestExpectations:
2658
2659 2018-08-14  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2660
2661         Unhandled Promise Rejection logging in workers should not emit ErrorEvent to host Worker object
2662         https://bugs.webkit.org/show_bug.cgi?id=188551
2663
2664         Reviewed by Youenn Fablet.
2665
2666         * http/wpt/workers/promise-unhandled-rejection.any.worker-expected.txt:
2667         * js/dom/unhandled-promise-rejection-bindings-type-error-in-workers-expected.txt:
2668
2669 2018-08-14  Antoine Quint  <graouts@apple.com>
2670
2671         [Web Animations] Crash under AnimationTimeline::cancelOrRemoveDeclarativeAnimation()
2672         https://bugs.webkit.org/show_bug.cgi?id=188519
2673         <rdar://problem/43237889>
2674
2675         Reviewed by Eric Carlson.
2676
2677         Add a test where we clone the effect to be mutable and set a new target. At this stage the animation is no longer listed in the
2678         m_elementToCSSAnimationByName map on AnimationTimeline. Then we remove the animation and force a style recalc for this element,
2679         "anim" will be in the old style but not in the new style and we used to attempt to get an animation matching that name from
2680         m_elementToCSSAnimationByName but it would be null, which would lead to a crash. Now we check that we indeed have such an animation
2681         before proceeding.
2682
2683         * webanimations/css-animation-effect-target-change-and-animation-removal-crash-expected.html: Added.
2684         * webanimations/css-animation-effect-target-change-and-animation-removal-crash.html: Added.
2685
2686 2018-08-14  Zalan Bujtas  <zalan@apple.com>
2687
2688         [LFC][Floating] Adjust vertical position with non-collapsing previous sibling margin.
2689         https://bugs.webkit.org/show_bug.cgi?id=188543
2690
2691         Reviewed by Antti Koivisto.
2692
2693         * fast/block/block-only/float-and-siblings-with-margins-expected.txt: Added.
2694         * fast/block/block-only/float-and-siblings-with-margins.html: Added.
2695
2696 2018-08-14  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2697
2698         Worker should support unhandled promise rejections
2699         https://bugs.webkit.org/show_bug.cgi?id=188265
2700
2701         Reviewed by Darin Adler.
2702
2703         * fast/dom/reference-cycle-leaks-expected.txt:
2704         * http/wpt/workers/promise-unhandled-rejection.any-expected.txt: Added.
2705         * http/wpt/workers/promise-unhandled-rejection.any.html: Added.
2706         * http/wpt/workers/promise-unhandled-rejection.any.js: Added.
2707         (promise_test):
2708         * http/wpt/workers/promise-unhandled-rejection.any.worker-expected.txt: Added.
2709         * http/wpt/workers/promise-unhandled-rejection.any.worker.html: Added.
2710         * js/dom/unhandled-promise-rejection-basic-in-workers-expected.txt: Added.
2711         * js/dom/unhandled-promise-rejection-basic-in-workers.html: Added.
2712         * js/dom/unhandled-promise-rejection-bindings-type-error-in-workers-expected.txt: Added.
2713         * js/dom/unhandled-promise-rejection-bindings-type-error-in-workers.html: Added.
2714         * js/dom/unhandled-promise-rejection-handle-during-event-in-workers-expected.txt: Added.
2715         * js/dom/unhandled-promise-rejection-handle-during-event-in-workers.html: Added.
2716         * js/dom/unhandled-promise-rejection-handle-in-handler-in-workers-expected.txt: Added.
2717         * js/dom/unhandled-promise-rejection-handle-in-handler-in-workers.html: Added.
2718         * js/dom/unhandled-promise-rejection-handle-in-workers-expected.txt: Added.
2719         * js/dom/unhandled-promise-rejection-handle-in-workers.html: Added.
2720         * js/dom/unhandled-promise-rejection-order-in-workers-expected.txt: Added.
2721         * js/dom/unhandled-promise-rejection-order-in-workers.html: Added.
2722         * js/resources/unhandled-promise-rejection-basic-in-workers.js: Added.
2723         (global.onunhandledrejection):
2724         * js/resources/unhandled-promise-rejection-bindings-type-error-in-workers.js: Added.
2725         (global.onunhandledrejection):
2726         (catch):
2727         (setTimeout):
2728         * js/resources/unhandled-promise-rejection-handle-during-event-in-workers.js: Added.
2729         (global.onunhandledrejection):
2730         * js/resources/unhandled-promise-rejection-handle-in-handler-in-workers.js: Added.
2731         (global.onunhandledrejection):
2732         (global.onrejectionhandled):
2733         * js/resources/unhandled-promise-rejection-handle-in-workers.js: Added.
2734         (global.onunhandledrejection):
2735         (global.onrejectionhandled):
2736         * js/resources/unhandled-promise-rejection-order-in-workers.js: Added.
2737         (global.onunhandledrejection):
2738
2739 2018-08-13  Joseph Pecoraro  <pecoraro@apple.com>
2740
2741         [macOS debug] LayoutTest inspector/worker/resources-in-worker.html is a flaky timeout
2742         https://bugs.webkit.org/show_bug.cgi?id=168091
2743
2744         Reviewed by Devin Rousso.
2745
2746         * inspector/worker/resources-in-worker-expected.txt:
2747         * inspector/worker/resources-in-worker.html:
2748         * inspector/worker/resources/resource-utilities.js:
2749         * inspector/worker/resources/worker-resources.js:
2750         Be a little more careful about proceeding with tests after starting the Worker.
2751         Fix the resource load from the main target to actually load a real resource.
2752
2753         * inspector/dom-debugger/resources/dataXHR.json: Added.
2754         * inspector/dom-debugger/xhr-breakpoints.html:
2755         Load an actual resource.
2756
2757         * platform/gtk/TestExpectations:
2758         * platform/mac/TestExpectations:
2759         This test always passes for me in Release and Debug. Reset expectations.
2760
2761 2018-08-13  Ali Juma  <ajuma@chromium.org>
2762
2763         [IntersectionObserver] Validate threshold values
2764         https://bugs.webkit.org/show_bug.cgi?id=188475
2765
2766         Reviewed by Simon Fraser.
2767
2768         Add test coverage for interesting floating point threshold values.
2769
2770         * intersection-observer/intersection-observer-interface-expected.txt:
2771         * intersection-observer/intersection-observer-interface.html:
2772
2773 2018-08-13  Ryan Haddad  <ryanhaddad@apple.com>
2774
2775         [iOS] Rebaseline and re-enable svg tests
2776         https://bugs.webkit.org/show_bug.cgi?id=180459
2777
2778         Unreviewed test gardening.
2779
2780         * platform/ios-wk2/TestExpectations:
2781         * platform/ios/TestExpectations:
2782         [ truncated ]
2783
2784 2018-08-13  Said Abou-Hallawa  <sabouhallawa@apple.com>
2785
2786         Followup (r234683): Element::getAttribute() should return the first non-null attribute value
2787         https://bugs.webkit.org/show_bug.cgi?id=188419
2788
2789         Reviewed by Darin Adler.
2790
2791         * svg/custom/href-svg-namespace-empty-expected.txt: Added.
2792         * svg/custom/href-svg-namespace-empty.html: Added.
2793
2794 2018-08-13  Zalan Bujtas  <zalan@apple.com>
2795
2796         [LFC][Floating] Add basic clearance support
2797         https://bugs.webkit.org/show_bug.cgi?id=188492
2798
2799         Reviewed by Antti Koivisto.
2800
2801         * fast/block/block-only/floating-left-and-right-with-clearance-expected.txt: Added.
2802         * fast/block/block-only/floating-left-and-right-with-clearance.html: Added.
2803
2804 2018-08-13  Zan Dobersek  <zdobersek@igalia.com>
2805
2806         Unreviewed WPE gardening. Cleaned up test expectations for tests under
2807         fast/dom/, unskipping all tests and then adding the failure or timeout
2808         test expectations as appropriate. Missing port-specific baselines are
2809         also included.
2810
2811         * platform/wpe/TestExpectations:
2812         * platform/wpe/fast/dom/: Necessary test expectations added.
2813
2814 2018-08-13  Zan Dobersek  <zdobersek@igalia.com>
2815
2816         Unreviewed WPE gardening.
2817
2818         Removed an unnecessary block of skipped tests that cover WebCrypto API
2819         support for 521-bit EC keys. All these tests pass.
2820
2821         Removed unnecessary pass directives for imported WPT tests. Moved
2822         related flaky or skipped tests into appropriate sections.
2823
2824         Also adjusted a few other expectations, moving them into the appropriate
2825         section or just removing them for being outdated or duplicates.
2826
2827         * platform/wpe/TestExpectations:
2828
2829 2018-08-13  Zan Dobersek  <zdobersek@igalia.com>
2830
2831         Unreviewed WPE gardening. Adopt test expectation sections similar to the
2832         GTK+ TestExpectations file. Sort some test expectations accordingly,
2833         while the rest of the expectations will follow later.
2834
2835         * platform/wpe/TestExpectations:
2836
2837 2018-08-12  Michael Catanzaro  <mcatanzaro@igalia.com>
2838
2839         Unreviewed GTK test gardening
2840
2841         * platform/gtk/TestExpectations:
2842         * platform/gtk/fast/forms/color/input-appearance-color-expected.png:
2843         * platform/gtk/fast/forms/color/input-appearance-color-expected.txt:
2844
2845 2018-08-12  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2846
2847         Break reference cycle in ErrorEvent by using JSValueInWrappedObject
2848         https://bugs.webkit.org/show_bug.cgi?id=188491
2849
2850         Reviewed by Darin Adler.
2851
2852         * fast/dom/reference-cycle-leaks-expected.txt:
2853
2854 2018-08-12  Aditya Keerthi  <akeerthi@apple.com>
2855
2856         [macOS] Color wells should appear pressed when presenting a color picker
2857         https://bugs.webkit.org/show_bug.cgi?id=188477
2858
2859         Reviewed by Tim Horton.
2860
2861         Rebaseline tests to match new color-well appearance.
2862
2863         * platform/mac/fast/forms/color/input-appearance-color-expected.png:
2864         * platform/mac/fast/forms/color/input-appearance-color-expected.txt:
2865
2866 2018-08-12  Zalan Bujtas  <zalan@apple.com>
2867
2868         [LFC] Float prev/next sibling should prevent top/bottom margin collapsing with parent.
2869         https://bugs.webkit.org/show_bug.cgi?id=188487
2870
2871         Reviewed by Antti Koivisto.
2872
2873         * fast/block/block-only/floating-and-next-previous-inflow-with-margin-expected.txt: Added.
2874         * fast/block/block-only/floating-and-next-previous-inflow-with-margin.html: Added.
2875
2876 2018-08-10  Joseph Pecoraro  <pecoraro@apple.com>
2877
2878         Web Inspector: console.log fires getters for deep properties
2879         https://bugs.webkit.org/show_bug.cgi?id=187542
2880         <rdar://problem/42873158>
2881
2882         Reviewed by Saam Barati.
2883
2884         * inspector/injected-script/avoid-getter-invocation-expected.txt: Added.
2885         * inspector/injected-script/avoid-getter-invocation.html: Added.
2886
2887 2018-08-10  Joseph Pecoraro  <pecoraro@apple.com>
2888
2889         LayoutTest inspector/worker/debugger-pause.html is a flaky failure
2890         https://bugs.webkit.org/show_bug.cgi?id=164833
2891         <rdar://problem/29295404>
2892
2893         Reviewed by Brian Burg.
2894
2895         * inspector/worker/debugger-pause.html:
2896         Add a microtask turn to ensure the workerTarget's mainResource is setup.
2897         There were times it might not get setup, but a single turn appears
2898         reliable enough.
2899
2900         * platform/gtk/TestExpectations:
2901         * platform/mac/TestExpectations:
2902         This test always passes for me in Release and Debug. Reset expectations.
2903
2904 2018-08-10  Chris Dumez  <cdumez@apple.com>
2905
2906         Crash under NetworkResourceLoader::convertToDownload()
2907         https://bugs.webkit.org/show_bug.cgi?id=188479
2908         <rdar://problem/42201724>
2909
2910         Reviewed by Alex Christensen.
2911
2912         Add layout test coverage which reproduces the crash by:
2913         1. Loading a cacheable plugin while plugins are enabled so that the plugin goes into the disk cache
2914         2. Load the plugin again with plugins disabled so that we try to convert the load to a download
2915
2916         * http/tests/download/convert-cached-load-to-download-expected.txt: Added.
2917         * http/tests/download/convert-cached-load-to-download.html: Added.
2918         * http/tests/plugins/resources/mock-plugin-cacheable.pl: Added.
2919
2920 2018-08-10  Ross Kirsling  <ross.kirsling@sony.com>
2921
2922         [WinCairo] More unreviewed gardening.
2923
2924         * platform/wincairo/TestExpectations:
2925
2926 2018-08-10  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2927
2928         [LayoutTests] Suppress warning messages generated by the test scripts.
2929         https://bugs.webkit.org/show_bug.cgi?id=188455
2930
2931         Reviewed by Fujii Hironori.
2932
2933         The messages such as warnings shouldn't be out on error log if that can be avoidable.
2934
2935         * http/tests/cookies/resources/cookie-utility.php:
2936         * http/tests/xmlhttprequest/resources/access-control-allow-lists.php:
2937         * http/tests/xmlhttprequest/resources/access-control-basic-get-fail-non-simple.cgi:
2938         * http/tests/xmlhttprequest/resources/post-echo.cgi:
2939         * http/tests/xmlhttprequest/web-apps/004-test.cgi:
2940
2941 2018-08-10  Daniel Bates  <dabates@apple.com>
2942
2943         Once <object> is hidden, its content won't be displayed again if its URL has fragment identifier ("#").
2944         https://bugs.webkit.org/show_bug.cgi?id=187990
2945
2946         Reviewed by Simon Fraser.
2947
2948         Add tests to ensure that we repaint an <object>, whose resource URL contains a fragment, when
2949         its CSS display property changes as well as when its navigated to a different anchor in the same
2950         document.
2951
2952         * fast/repaint/object-as-iframe-hide-and-show-document-at-anchor-expected.txt: Added.
2953         * fast/repaint/object-as-iframe-hide-and-show-document-at-anchor.html: Added.
2954         * fast/repaint/object-as-iframe-navigate-to-same-document-anchor-repaint-expected.txt: Added.
2955         * fast/repaint/object-as-iframe-navigate-to-same-document-anchor-repaint.html: Added.
2956         * fast/repaint/resources/red-square-on-top-of-green-square.html: Added.
2957
2958 2018-08-10  Ali Juma  <ajuma@chromium.org>
2959
2960         [IntersectionObserver] Implement rootMargin parsing
2961         https://bugs.webkit.org/show_bug.cgi?id=188469
2962
2963         Reviewed by Darin Adler.
2964
2965         * intersection-observer/intersection-observer-interface-expected.txt:
2966         * intersection-observer/intersection-observer-interface.html:
2967
2968 2018-08-10  Joseph Pecoraro  <pecoraro@apple.com>
2969
2970         Eliminate remaining instances of "ElCapitan" from LayoutTests / Tools
2971         https://bugs.webkit.org/show_bug.cgi?id=188458
2972
2973         Reviewed by Alex Christensen.
2974
2975         * platform/mac-wk1/TestExpectations:
2976         * platform/mac-wk2/TestExpectations:
2977         * platform/mac/TestExpectations:
2978
2979 2018-08-10  Ross Kirsling  <ross.kirsling@sony.com>
2980
2981         [WinCairo] Unreviewed layout test gardening.
2982
2983         * platform/wincairo/TestExpectations:
2984         * platform/wincairo/editing/selection/5057506-expected.png: Added.
2985         * platform/wincairo/editing/selection/caret-ltr-right-expected.txt:
2986         * platform/wincairo/editing/selection/caret-rtl-right-expected.txt:
2987         * platform/wincairo/editing/selection/doubleclick-crash-expected.txt: Added.
2988         * platform/wincairo/editing/selection/editable-links-expected.txt: Added.
2989         * platform/wincairo/editing/selection/extend-by-character-006-expected.txt: Added.
2990         * platform/wincairo/editing/selection/extend-by-sentence-001-expected.txt: Added.
2991         * platform/wincairo/editing/selection/extend-by-word-001-expected.txt: Added.
2992         * platform/wincairo/editing/selection/extend-inside-transforms-backward-expected.txt: Added.
2993         * platform/wincairo/editing/selection/extend-inside-transforms-forward-expected.txt: Added.
2994         * platform/wincairo/editing/selection/extend-selection-bidi-expected.txt: Added.
2995         * platform/wincairo/editing/selection/focus-body-expected.txt: Added.
2996         * platform/wincairo/editing/selection/move-by-line-001-expected.txt: Added.
2997         * platform/wincairo/editing/selection/move-by-word-001-expected.txt: Added.
2998         * platform/wincairo/editing/selection/select-all-001-expected.txt: Added.
2999         * platform/wincairo/editing/selection/select-all-002-expected.txt: Added.
3000         * platform/wincairo/editing/selection/select-all-003-expected.txt: Added.
3001         * platform/wincairo/editing/selection/select-all-004-expected.txt: Added.
3002         * platform/wincairo/editing/selection/unrendered-001-expected.txt: Added.
3003         * platform/wincairo/editing/selection/unrendered-002-expected.txt: Added.
3004         * platform/wincairo/editing/selection/unrendered-003-expected.txt: Added.
3005         * platform/wincairo/editing/selection/unrendered-004-expected.txt: Added.
3006         * platform/wincairo/editing/selection/unrendered-005-expected.txt: Added.
3007
3008 2018-08-09  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3009
3010         [LayoutTests] Test case which committed on r175053 was wrong.
3011         https://bugs.webkit.org/show_bug.cgi?id=188454
3012
3013         Reviewed by Fujii Hironori.
3014
3015         It was originally committed on https://bugs.webkit.org/show_bug.cgi?id=136938 and has kept unchanged,
3016         but the test case uses non-existing redirect.php scripts which was removed a few months before than
3017         this bug. Also result was compared to wrong values.
3018
3019         * http/tests/xmlhttprequest/cross-origin-redirect-responseURL-expected.txt:
3020         * http/tests/xmlhttprequest/cross-origin-redirect-responseURL.html:
3021
3022 2018-08-09  Joseph Pecoraro  <pecoraro@apple.com>
3023
3024         Remove ElCapitan specific layout test expectations
3025         https://bugs.webkit.org/show_bug.cgi?id=188457
3026
3027         Reviewed by Alex Christensen.
3028
3029         * platform/mac-wk1/TestExpectations:
3030         * platform/mac-wk2/TestExpectations:
3031         * platform/mac/TestExpectations:
3032
3033 2018-08-09  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3034
3035         [Curl] Test gardening
3036         https://bugs.webkit.org/show_bug.cgi?id=188456
3037
3038         Unreviewed test gardening.
3039
3040         Unskip http/xmlhttprequest.
3041
3042         * platform/wincairo/TestExpectations:
3043         * platform/wincairo/http/tests/local/file-url-sent-as-referer-expected.png: Added.
3044         * platform/wincairo/http/tests/multipart/invalid-image-data-expected.png: Added.
3045         * platform/wincairo/http/tests/multipart/invalid-image-data-standalone-expected.png: Added.
3046         * platform/wincairo/http/tests/uri/css-href-expected.png: Added.
3047
3048 2018-08-09  Truitt Savell  <tsavell@apple.com>
3049
3050         REGRESSION (r234330): 3 legacy-animation-engine/compositing tests are flaky failures
3051         https://bugs.webkit.org/show_bug.cgi?id=188357
3052
3053         Unreviewed test gardening.
3054
3055         * platform/mac-wk1/TestExpectations:
3056
3057 2018-08-09  Ali Juma  <ajuma@chromium.org>
3058
3059         Update IDL for IntersectionObserverEntry and IntersectionObserverEntryInit
3060         https://bugs.webkit.org/show_bug.cgi?id=188445
3061
3062         Reviewed by Simon Fraser.
3063
3064         * intersection-observer/intersection-observer-entry-interface-expected.txt:
3065         * intersection-observer/intersection-observer-entry-interface.html:
3066
3067 2018-08-08  Keith Miller  <keith_miller@apple.com>
3068
3069         Array.prototype.sort should call @toLength instead of ">>> 0"
3070         https://bugs.webkit.org/show_bug.cgi?id=188430
3071
3072         Reviewed by Saam Barati.
3073
3074         Remove invalid conformance test expectations. Array.prototype.sort calls toLength, which
3075         does not truncate integers.
3076
3077         * sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T1.html:
3078         * sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T2.html:
3079         * sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.11_Array_prototype_sort/S15.4.4.11_A4_T3.html:
3080
3081 2018-08-09  Miguel Gomez  <magomez@igalia.com>
3082
3083         Unreviewed GTK+ gardening after r234720.
3084
3085         * platform/gtk/TestExpectations:
3086         * platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt:
3087
3088 2018-08-09  Zan Dobersek  <zdobersek@igalia.com>
3089
3090         Unreviewed GTK+ and WPE gardening. Add a reftest failure expectation.
3091         Update a WPT EME test baseline for the WPE port.
3092
3093         * platform/gtk/TestExpectations:
3094         * platform/wpe/TestExpectations:
3095         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input.https-expected.txt:
3096
3097 2018-08-08  Ryosuke Niwa  <rniwa@webkit.org>
3098
3099         REGRESSION (r228260): Events handled by input method invoke default event handler
3100         https://bugs.webkit.org/show_bug.cgi?id=188370
3101
3102         Reviewed by Wenson Hsieh.
3103
3104         Added a regression test. Due to the lack of adequate support of textInputController in WebKitTestRunner,
3105         the test is only enabled in WebKit1. The WTR fix is tracked by https://webkit.org/b/188428.
3106
3107         * editing/input/press-tab-during-ime-composition-expected.txt: Added.
3108         * editing/input/press-tab-during-ime-composition.html: Added.
3109         * platform/ios/TestExpectations:
3110         * platform/wk2/TestExpectations:
3111
3112 2018-08-08  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3113
3114         [Curl] Test gardening
3115         https://bugs.webkit.org/show_bug.cgi?id=188420
3116
3117         Unreviewed test gardening.
3118
3119         Fix test result after r234607 landed. Part 1 for http/tests
3120
3121         * platform/wincairo/TestExpectations:
3122         * platform/wincairo/http/tests/local/file-url-sent-as-referer-expected.txt:
3123         * platform/wincairo/http/tests/multipart/invalid-image-data-expected.txt:
3124         * platform/wincairo/http/tests/multipart/invalid-image-data-standalone-expected.txt:
3125         * platform/wincairo/http/tests/uri/css-href-expected.txt:
3126
3127 2018-08-08  Joseph Pecoraro  <pecoraro@apple.com>
3128
3129         Web Inspector: XHR content sometimes shows as error even though load succeeded
3130         https://bugs.webkit.org/show_bug.cgi?id=188385
3131         <rdar://problem/42646160>
3132
3133         Reviewed by Devin Rousso.
3134
3135         * http/tests/inspector/network/xhr-response-body-expected.txt:
3136         * http/tests/inspector/network/xhr-response-body.html:
3137         Extend this test to include synchronous XHR for text and non-text resources.
3138
3139 2018-08-08  Truitt Savell  <tsavell@apple.com>
3140
3141         Adjusting test expectations for imported/blink/fast/text/international-iteration-simple-text.html
3142         https://bugs.webkit.org/show_bug.cgi?id=179853
3143
3144         Unreviewed test gardening.
3145
3146         * platform/ios-wk2/TestExpectations:
3147         * platform/mac-wk1/TestExpectations:
3148
3149 2018-08-08  Ms2ger  <Ms2ger@igalia.com>
3150
3151         [GTK] Unreviewed test gardening
3152         https://bugs.webkit.org/show_bug.cgi?id=188409
3153
3154         Unreviewed test gardening.
3155
3156         * platform/gtk/TestExpectations: Remove expectations for now-passing tests.
3157
3158 2018-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
3159
3160         [iOS] fast/events/ios/contenteditable-autocapitalize.html is a flaky failure
3161         https://bugs.webkit.org/show_bug.cgi?id=188401
3162         <rdar://problem/32542300>
3163
3164         Reviewed by Ryosuke Niwa.
3165
3166         Minor tweaks to make this test a bit easier to follow. Use async-await for each step of the test, and pass in
3167         the current autocapitalization type to `runTestWithAutocapitalizeType` rather than the next type. See Tools
3168         ChangeLog for more details.
3169
3170         * fast/events/ios/contenteditable-autocapitalize.html:
3171         * platform/ios/TestExpectations:
3172
3173         Remove the failing test expecation.
3174
3175 2018-08-08  Manuel Rego Casasnovas  <rego@igalia.com>
3176
3177         [css-grid] Update behavior of percentage row tracks and gutters
3178         https://bugs.webkit.org/show_bug.cgi?id=188403
3179
3180         Reviewed by Sergio Villar Senin.
3181
3182         Update tests as needed according to the new behavior.
3183
3184         * TestExpectations: Two grid gutters tests from WPT css-align suite are passing now.
3185         * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
3186         * fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt:
3187         * fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
3188         * fast/css-grid-layout/grid-columns-rows-get-set.html:
3189         * fast/css-grid-layout/grid-gutters-as-percentage-expected.txt:
3190         * fast/css-grid-layout/grid-gutters-as-percentage.html:
3191         * fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows-expected.txt:
3192         * fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows.html:
3193         * fast/css-grid-layout/named-grid-line-get-set-expected.txt:
3194         * fast/css-grid-layout/named-grid-line-get-set.html:
3195         * fast/css-grid-layout/nested-grid-expected.html:
3196         * fast/css-grid-layout/percent-track-breadths-regarding-container-size.html:
3197         * fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js:
3198         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
3199
3200 2018-08-07  Chris Dumez  <cdumez@apple.com>
3201
3202         navigator.sendBeacon does not work in pagehide callbacks
3203         https://bugs.webkit.org/show_bug.cgi?id=188329
3204
3205         Reviewed by Alex Christensen.
3206
3207         Add layout test coverage.
3208
3209         * http/wpt/beacon/sendBeacon-in-pagehide-expected.txt: Added.
3210         * http/wpt/beacon/sendBeacon-in-pagehide.html: Added.
3211         * http/wpt/beacon/support/sendBeacon-onpagehide-window.html: Added.
3212
3213 2018-08-07  Said Abou-Hallawa  <sabouhallawa@apple.com>
3214
3215         Allow href attribute without xlink on SVG elements
3216         https://bugs.webkit.org/show_bug.cgi?id=153854
3217
3218         Reviewed by Dean Jackson.
3219
3220         * fast/selectors/any-link-basics-2-expected.txt:
3221         * fast/selectors/any-link-basics-2.html:
3222         Re-baseline this test because it was assuming the bare href should not 
3223         work for the SVG <a> element.
3224         * svg/custom/href-svg-namespace-animate-expected.svg: Added.
3225         * svg/custom/href-svg-namespace-animate.svg: Added.
3226         * svg/custom/href-svg-namespace-dynamic-expected.svg: Added.
3227         * svg/custom/href-svg-namespace-dynamic.svg: Added.
3228         * svg/custom/href-svg-namespace-elements-expected.txt: Added.
3229         * svg/custom/href-svg-namespace-elements.html: Added.
3230         * svg/custom/href-svg-namespace-static-expected.svg: Added.
3231         * svg/custom/href-svg-namespace.static-svg: Added.
3232
3233 2018-08-07  Ryosuke Niwa  <rniwa@webkit.org>
3234
3235         document.open and document.write must throw while the HTML parser is synchronously constructing a custom element
3236         https://bugs.webkit.org/show_bug.cgi?id=187319
3237         <rdar://problem/42843012>
3238
3239         Reviewed by Frédéric Wang.
3240
3241         Added W3C style testharness.js tests. The WPT test added by https://github.com/web-platform-tests/wpt/pull/12037
3242         doesn't test nearly as many edge cases.
3243
3244         * fast/custom-elements/resources/navigation-destination.html: Added.
3245         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct-expected.txt: Added.
3246         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct.html: Added.
3247         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions-expected.txt: Added.
3248         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions.html: Added.
3249
3250 2018-08-07  Rob Buis  <rbuis@igalia.com>
3251
3252         fetch() with subresource integrity crashes on zero length body
3253         https://bugs.webkit.org/show_bug.cgi?id=184325
3254
3255         Reviewed by Alex Christensen.
3256
3257         Add a subtest for zero length resources.
3258
3259         * http/tests/subresource-integrity/resources/empty-resource.txt: Added.
3260         * http/tests/subresource-integrity/sri-fetch-expected.txt:
3261         * http/tests/subresource-integrity/sri-fetch-worker-expected.txt:
3262         * http/tests/subresource-integrity/sri-fetch.js:
3263
3264 2018-08-07  Commit Queue  <commit-queue@webkit.org>
3265
3266         Unreviewed, rolling out r234669.
3267         https://bugs.webkit.org/show_bug.cgi?id=188390
3268
3269         Didn't commit the actual change (Requested by rniwa on
3270         #webkit).
3271
3272         Reverted changeset:
3273
3274         "document.open and document.write must throw while the HTML
3275         parser is synchronously constructing a custom element"
3276         https://bugs.webkit.org/show_bug.cgi?id=187319
3277         https://trac.webkit.org/changeset/234669
3278
3279 2018-08-07  Ryosuke Niwa  <rniwa@webkit.org>
3280
3281         document.open and document.write must throw while the HTML parser is synchronously constructing a custom element
3282         https://bugs.webkit.org/show_bug.cgi?id=187319
3283         <rdar://problem/42843012>
3284
3285         Reviewed by Frédéric Wang.
3286
3287         Added W3C style testharness.js tests. The WPT test added by https://github.com/web-platform-tests/wpt/pull/12037
3288         doesn't test nearly as many edge cases.
3289
3290         * fast/custom-elements/resources/navigation-destination.html: Added.
3291         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct-expected.txt: Added.
3292         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct.html: Added.
3293         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions-expected.txt: Added.
3294         * fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions.html: Added.
3295
3296 2018-08-07  Wenson Hsieh  <wenson_hsieh@apple.com>
3297
3298         REGRESSION (r233778): Text selection sometimes cannot be extended in iframes
3299         https://bugs.webkit.org/show_bug.cgi?id=188374
3300         <rdar://problem/42928657>
3301
3302         Reviewed by Simon Fraser.
3303
3304         Add 2 new layout tests to cover the original bug that r233778 fixed, as well as the regression in this bug.
3305
3306         * editing/selection/ios/selection-handles-in-iframe-expected.txt: Added.
3307         * editing/selection/ios/selection-handles-in-iframe.html: Added.
3308
3309         Add a test to verify that the user can select text in an iframe by dragging selection handles.
3310
3311         * editing/selection/ios/selection-handles-in-readonly-input-expected.txt: Added.
3312         * editing/selection/ios/selection-handles-in-readonly-input.html: Added.
3313
3314         Add a test to verify that dragging a selection handle outside of a readonly input does not cause the selection
3315         to jump outside of the input and clear out the selection in the input.
3316
3317 2018-08-07  Alex Christensen  <achristensen@webkit.org>
3318
3319         Fix things after r234640
3320         https://bugs.webkit.org/show_bug.cgi?id=188133
3321
3322         * platform/mac-sierra-wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added.
3323         Added test expectation for Sierra, which has no safe browsing framework.
3324
3325 2018-08-07  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
3326
3327         Unreviewed, Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-installed.https.html is flaky
3328         https://bugs.webkit.org/show_bug.cgi?id=188246
3329
3330         Unreviewed test gardening, marked test as flaky because the test is wrong.
3331
3332         * TestExpectations:
3333
3334 2018-08-06  Simon Fraser  <simon.fraser@apple.com>
3335
3336         De-flake some animation tests
3337         https://bugs.webkit.org/show_bug.cgi?id=188356
3338
3339         Reviewed by Dean Jackson.
3340         
3341         The tests in legacy-animation-engine were flakey because the animation can start before
3342         we get a chance to register the event listener. Fix by starting the animation after the
3343         load event fires. Make the non-legacy tests match.
3344
3345         * compositing/visible-rect/animated-from-none.html:
3346         * compositing/visible-rect/animated.html:
3347         * legacy-animation-engine/compositing/visible-rect/animated-from-none.html:
3348         * legacy-animation-engine/compositing/visible-rect/animated.html:
3349
3350 2018-08-06  Alex Christensen  <achristensen@webkit.org>
3351
3352         Check with SafeBrowsing during navigation in WKWebView
3353         https://bugs.webkit.org/show_bug.cgi?id=188133
3354
3355         Reviewed by Andy Estes.
3356
3357         * platform/wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Copied from http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt.
3358         This test verifies that keys cannot be entered during navigation, and the keys seen in WebKitTestRunner
3359         are before the navigation.  This is seen now because there is a brief moment in time between when
3360         WebKitTestRunner calls decidePolicyForNavigationAction and when the WebContent receives it.
3361         * svg/custom/anchor-on-use.svg:
3362         This test verifies what the page looks like after navigation.  It used to just call testRunner.notifyDone
3363         when the link was clicked and because of the timing of messages sent with the UIProcess, WebKitTestRunner
3364         would see the results after the page navigated.  Because we are adding a delay during navigation, the
3365         message order can no longer be relied on in this way.  To fix this, we are just calling notifyDone in an
3366         unload handler.
3367
3368 2018-08-06  Ryosuke Niwa  <rniwa@webkit.org>
3369
3370         fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html always timeouts on debug bots
3371         https://bugs.webkit.org/show_bug.cgi?id=188353
3372
3373         Remove the timeout expectation now that the test is passing on debug bots.
3374
3375         * TestExpectations:
3376
3377 2018-08-04  Ryosuke Niwa  <rniwa@webkit.org>
3378
3379         Add CEReactions=NotNeeded for reactions only needed for customized builtins
3380         https://bugs.webkit.org/show_bug.cgi?id=187851
3381
3382         Reviewed by Chris Dumez.
3383
3384         Added a regression test for enqueuing a custom element reaction in a DOM API marked as [CEReaction]
3385         inside another DOM API with [CEReaction=NotNeeded]. WebKit should not hit a debug assertion added
3386         by this patch.
3387
3388         * fast/custom-elements/custom-element-reaction-within-disallowed-scope-expected.txt: Added.
3389         * fast/custom-elements/custom-element-reaction-within-disallowed-scope.html: Added.
3390
3391 2018-08-06  Matt Baker  <mattbaker@apple.com>
3392
3393         Web Inspector: split-up async stack trace test suite to improve clarity and maintainability
3394         https://bugs.webkit.org/show_bug.cgi?id=185398
3395         <rdar://problem/40040289>
3396
3397         Reviewed by Joseph Pecoraro.
3398
3399         * inspector/debugger/async-stack-trace-basic-expected.txt: Added.
3400         * inspector/debugger/async-stack-trace-basic.html: Added.
3401         Basic tests that check for the existence of an asynchronous stack trace
3402         when pausing inside an asynchronous callback function.
3403
3404         * inspector/debugger/async-stack-trace-event-listener-expected.txt: Added.
3405         * inspector/debugger/async-stack-trace-event-listener.html: Added.
3406         * inspector/debugger/async-stack-trace-expected.txt: Removed.
3407
3408         * inspector/debugger/async-stack-trace-truncate-expected.txt: Added.
3409         * inspector/debugger/async-stack-trace-truncate.html: Added.
3410         Test scenarios where the number of call frames in the async stack trace
3411         exceeds the maximum depth and is truncated.
3412
3413         * inspector/debugger/async-stack-trace.html: Removed.
3414
3415         * inspector/debugger/resources/async-stack-trace-test.js: Added.
3416         (TestPage.registerInitializer.window.getAsyncStackTrace):
3417         (TestPage.registerInitializer.logCallFrame):
3418         (TestPage.registerInitializer.window.logAsyncStackTrace):
3419         (TestPage.registerInitializer.window.addAsyncStackTraceTestCase):
3420         (TestPage.registerInitializer):
3421         Utility functions used across tests.
3422
3423         * inspector/debugger/resources/postMessage-echo.html: Removed.
3424         This was unnecessary. To check that an async stack trace exists when
3425         pausing in a postMessage handler, all we need is an iframe that posts a
3426         message to its parent as soon as it is created. The iframe is now created
3427         inline in async-stack-trace-basic.html.
3428
3429         * platform/mac/TestExpectations:
3430
3431 2018-08-06  Daniel Bates  <dabates@apple.com>
3432
3433         Setting table layout to fixed causes incorrect cell width calculations
3434         https://bugs.webkit.org/show_bug.cgi?id=90068
3435
3436         Reviewed by Simon Fraser.
3437
3438         Derived from the test case written by Pravin D.
3439
3440         Add a test case to ensure we do not regress cell width computation in fixed table layout
3441         when colspan is greater than the number of columns in the table.
3442
3443         * fast/table/fixed-table-layout/width-distribution-when-colspan-greater-than-table-columns-expected.html: Added.
3444         * fast/table/fixed-table-layout/width-distribution-when-colspan-greater-than-table-columns.html: Added.
3445
3446 2018-08-06  Daniel Bates  <dabates@apple.com>
3447
3448         Add tests to ensure that Same-Site cookies are stored when set as the first party
3449         https://bugs.webkit.org/show_bug.cgi?id=188080
3450
3451         Reviewed by Alexey Proskuryakov.
3452
3453         * http/tests/cookies/resources/cookie-utilities.js:
3454         (getDOMCookies): Return an empty dictionary when there are no DOM cookies. Currently we
3455         return {"": undefined}.
3456         * http/tests/cookies/resources/cookie-utilities.php: Added.
3457         * http/tests/cookies/resources/echo-http-and-dom-cookies-and-notify-done.php: Added.
3458         * http/tests/cookies/same-site/set-first-party-cross-site-cookies-expected.txt: Added.
3459         * http/tests/cookies/same-site/set-first-party-cross-site-cookies.php: Added.
3460         * http/tests/cookies/same-site/set-first-party-same-site-cookies-expected.txt: Added.
3461         * http/tests/cookies/same-site/set-first-party-same-site-cookies.php: Added.
3462         * platform/ios-12/TestExpectations: Skip the tests until the fix for <rdar://problem/42255251>
3463         is shipped.
3464         * platform/mac/TestExpectations: Ditto.
3465
3466 2018-08-06  Ryosuke Niwa  <rniwa@webkit.org>
3467
3468         fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html always timeouts on debug bots
3469         https://bugs.webkit.org/show_bug.cgi?id=188353
3470
3471         Reviewed by Saam Barati.
3472
3473         Rely on GCController.collect() instead of allocating 1,000,000 objects in WebKitTestRunner / DumpRenderTree
3474         so that debug builders won't timeout.
3475
3476         * fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html:
3477
3478 2018-08-06  Ryosuke Niwa  <rniwa@webkit.org>
3479
3480         fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html always timeouts on debug bots
3481         https://bugs.webkit.org/show_bug.cgi?id=188353
3482
3483         Add a timeout expectation to the test while I verify the fix for the test.
3484
3485         * TestExpectations:
3486
3487 2018-08-03  Ryan Haddad  <ryanhaddad@apple.com>
3488
3489         Unreviewed test gardening for mac-wk1.
3490
3491         * platform/mac-wk1/TestExpectations:
3492
3493 2018-08-06  Aditya Keerthi  <akeerthi@apple.com>
3494
3495         [iOS] Indeterminate checkboxes appear unchecked
3496         https://bugs.webkit.org/show_bug.cgi?id=160484
3497         <rdar://problem/31143185>
3498
3499         Reviewed by Wenson Hsieh.
3500
3501         Added reftest to ensure that the indeterminate checkbox does not appear the same
3502         as an unchecked checkbox.  
3503
3504         * fast/forms/ios/render-indeterminate-checkbox-expected-mismatch.html: Added.
3505         * fast/forms/ios/render-indeterminate-checkbox.html: Added.
3506         * platform/ios/fast/forms/indeterminate-expected.txt: Rebaseline.
3507
3508 2018-08-06  Truitt Savell  <tsavell@apple.com>
3509
3510         storage/indexeddb/modern/opendatabase-after-storage-crash.html is causing tests in directory svg/ to timeout at random
3511         https://bugs.webkit.org/show_bug.cgi?id=187931
3512
3513         Unreviewed test gardening.
3514
3515         * platform/wk2/TestExpectations:
3516
3517 2018-08-06  Wenson Hsieh  <wenson_hsieh@apple.com>
3518
3519         [iOS] Tests that try to interact with the QuickType bar time out on iOS 11+
3520         https://bugs.webkit.org/show_bug.cgi?id=188335
3521         <rdar://problem/32542437> and <rdar://problem/32542433>
3522
3523         Reviewed by Tim Horton.
3524
3525         Refactors a couple of tests that currently rely on the QuickType bar being shown when the hardware keyboard is
3526         presented in the iOS simulator, so that it can insert text suggestions by tapping QuickType bar buttons; in the
3527         first place, it was never guaranteed that this bar would show up, or even have more than 1 text suggestion.
3528         Instead, we use the existing UIScriptController::applyAutocorrection method to trigger text replacement in the
3529         same way tapping a button on the QuickType bar would replace the current word with the suggested word.
3530
3531         * fast/events/ios/before-input-events-prevent-candidate-insertion-expected.txt:
3532         * fast/events/ios/before-input-events-prevent-candidate-insertion.html:
3533         * fast/events/ios/input-events-insert-replacement-text-expected.txt:
3534         * fast/events/ios/input-events-insert-replacement-text.html:
3535         * platform/ios/TestExpectations:
3536
3537         Removes a [Timeout] expectation.
3538
3539         * resources/ui-helper.js:
3540         (window.UIHelper.typeCharacter):
3541
3542         Add a new UIHelper method to type a character using the keyboard. Sends hardware keyboard events on the WebKit2
3543         port of iOS, and uses EventSender elsewhere.
3544
3545         (window.UIHelper.applyAutocorrection):
3546
3547         Add a new UIHelper method that wraps UIScriptController::applyAutocorrection. Only supported in WebKit2
3548         currently.
3549
3550         (window.UIHelper):
3551
3552 2018-08-06  Wenson Hsieh  <wenson_hsieh@apple.com>
3553
3554         [iOS] Caret disappears after resigning and becoming first responder if active focus state is retained
3555         https://bugs.webkit.org/show_bug.cgi?id=188322
3556         <rdar://problem/42455270>
3557
3558         Reviewed by Tim Horton.
3559
3560         Adds a new layout test to verify that (1) selection handles are not shown when selecting a word by long
3561         pressing prior to ending the touch, and (2) selection handles are shown after ending the touch.
3562
3563         * editing/selection/ios/selection-handles-after-touch-end-expected.txt: Added.
3564         * editing/selection/ios/selection-handles-after-touch-end.html: Added.
3565         * platform/win/TestExpectations:
3566
3567         Skip iOS selection tests on Windows.
3568
3569         * resources/ui-helper.js:
3570
3571         Introduces new hooks in UIHelper to grab the frames of the start and end selection handle views.
3572
3573         (window.UIHelper.getSelectionStartGrabberViewRect.return.new.Promise.):
3574         (window.UIHelper.getSelectionStartGrabberViewRect.return.new.Promise):
3575         (window.UIHelper.getSelectionStartGrabberViewRect):
3576         (window.UIHelper.getSelectionEndGrabberViewRect.return.new.Promise.):
3577         (window.UIHelper.getSelectionEndGrabberViewRect.return.new.Promise):
3578         (window.UIHelper.getSelectionEndGrabberViewRect):
3579
3580 2018-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3581
3582         [WPE] New webgl 2.0 failures.
3583
3584         Unreviewed gardening.
3585         * platform/wpe/TestExpectations: Two webgl 2.0 tests are failing,
3586         mark them.
3587
3588 2018-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3589
3590         [GTK] Skip new webgl 2.0 tests. Unreviewed gardening.
3591
3592         * platform/gtk/TestExpectations: Expanded webgl 2.0 skipped
3593         test to include all, since there were new failures.
3594
3595 2018-08-06  Frederic Wang  <fwang@igalia.com>
3596
3597         ASSERTION !data.customElementReactionQueue() when creating custom element inside an SVG document
3598         https://bugs.webkit.org/show_bug.cgi?id=187802
3599
3600         The assertion has been removed in bug 188327. This patch updates the test expectations and
3601         add some non-regression test to verify different cases of XML custom element construction.
3602
3603         Reviewed by Ryosuke Niwa.
3604
3605         * TestExpectations: This test no longer crashes but times out because of bug 187800.
3606         * fast/custom-elements/xml-parsing-create-and-element-for-a-token-expected.txt: Added.
3607         * fast/custom-elements/xml-parsing-create-and-element-for-a-token.svg: Added.
3608
3609 2018-08-05  Yusuke Suzuki  <utatane.tea@gmail.com>
3610
3611         Implement self.queueMicrotask in Workers
3612         https://bugs.webkit.org/show_bug.cgi?id=188247
3613
3614         Reviewed by Ryosuke Niwa.
3615
3616         * http/wpt/workers/queue-microtask.any-expected.txt: Added.
3617         * http/wpt/workers/queue-microtask.any.html: Added.
3618         * http/wpt/workers/queue-microtask.any.js: Added.
3619         (promise_test):
3620         (promise_test.):
3621         (queueMicrotask.promise_test):
3622         (test):
3623         * http/wpt/workers/queue-microtask.any.worker-expected.txt: Added.
3624         * http/wpt/workers/queue-microtask.any.worker.html: Added.
3625
3626 2018-08-05  Rob Buis  <rbuis@igalia.com>
3627
3628         [GTK][WPE] Fetch tests assert in SubresourceLoader::didReceiveResponse()
3629         https://bugs.webkit.org/show_bug.cgi?id=188163
3630
3631         Reviewed by Frédéric Wang.
3632
3633         Unskip since this will not crash in Debug anymore.
3634
3635         * platform/wpe/TestExpectations:
3636
3637 2018-08-05  Yusuke Suzuki  <utatane.tea@gmail.com>
3638
3639         Add support for microtasks in workers
3640         https://bugs.webkit.org/show_bug.cgi?id=188246
3641
3642         Reviewed by Darin Adler.
3643
3644         * http/wpt/workers/microtasks.any-expected.txt: Added.
3645         * http/wpt/workers/microtasks.any.html: Added.
3646         * http/wpt/workers/microtasks.any.js: Added.
3647         (promise_test):
3648         * http/wpt/workers/microtasks.any.worker-expected.txt: Added.
3649         * http/wpt/workers/microtasks.any.worker.html: Added.
3650
3651 2018-08-05  Philippe Normand  <pnormand@igalia.com>
3652
3653         [MediaCapabilities] Platform integration
3654         https://bugs.webkit.org/show_bug.cgi?id=187850
3655
3656         Reviewed by Eric Carlson.
3657
3658         Mock tests for the MediaCapabilities specification.
3659
3660         * media/mediacapabilities/mock-decodingInfo-expected.txt: Added.
3661         * media/mediacapabilities/mock-decodingInfo.html: Added.
3662         * media/mediacapabilities/mock-encodingInfo-expected.txt: Added.
3663         * media/mediacapabilities/mock-encodingInfo.html: Added.
3664         * media/video-test.js:
3665         (checkMediaCapabilitiesInfo):
3666
3667 2018-08-03  Ryosuke Niwa  <rniwa@webkit.org>
3668
3669         Properties set on window.customElements can disappear due to GC
3670         https://bugs.webkit.org/show_bug.cgi?id=172575
3671         <rdar://problem/32440668>
3672
3673         Reviewed by Saam Barati.
3674
3675         Added a regression test.
3676
3677         * fast/custom-elements/custom-element-registry-wrapper-should-stay-alive-expected.txt: Added.
3678         * fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html: Added.
3679
3680 2018-08-03  Justin Fan  <justin_fan@apple.com>
3681
3682         WebGL 2 conformance: vertex_arrays/vertex_array_object.html
3683         https://bugs.webkit.org/show_bug.cgi?id=188291
3684         <rdar://problem/42792709>
3685
3686         Get https://www.khronos.org/registry/webgl/conformance-suites/2.0.0/conformance2/vertex_arrays/vertex-array-object.html 
3687         working on Mac OS and iOS, and check in the new test expectations.
3688
3689         Reviewed by Dean Jackson.
3690
3691         * TestExpectations: No longer skipping vertex_arrays tests.
3692         The following FAILed before this patch but are now expecting PASSes.
3693         * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
3694         * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
3695         * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
3696         * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
3697         * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
3698         * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
3699         * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
3700         * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
3701         * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
3702         * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
3703         * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
3704         * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
3705         * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
3706         * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
3707         * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
3708         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
3709         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
3710
3711 2018-08-03  Ryan Haddad  <ryanhaddad@apple.com>
3712
3713         Skip imported/w3c/web-platform-tests/FileAPI/reading-data-section/filereader_abort.html.
3714         https://bugs.webkit.org/show_bug.cgi?id=187269
3715
3716         Unreviewed test gardening.
3717
3718         * TestExpectations:
3719
3720 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3721
3722         [LayoutTests][websocket] Return correct value even when cookie is not set.
3723         https://bugs.webkit.org/show_bug.cgi?id=188317
3724
3725         Reviewed by Darin Adler.
3726
3727         > ws://127.0.0.1:8880/websocket/tests/hybi/echo-cookie_wsh.py
3728         This web socket script throw exception when cookie is not set. That is ended up with
3729         immediate disconnection and causes timeout for failure tests which makes debugging hard.
3730
3731         * http/tests/websocket/tests/hybi/echo-cookie_wsh.py:
3732         (web_socket_transfer_data):
3733         * platform/wincairo/TestExpectations:
3734
3735 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3736
3737         [Curl] Test gardening
3738         https://bugs.webkit.org/show_bug.cgi?id=188316
3739
3740         Unreviewed test gardening.
3741
3742         Skip some flaky tests.
3743         Add comments why we skip for some platform dependent reason.
3744
3745         * platform/wincairo/TestExpectations:
3746
3747 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3748
3749         [LayoutTests][PHP] Fix old-style script which uses function name as a keyword.
3750         https://bugs.webkit.org/show_bug.cgi?id=188289
3751
3752         Reviewed by Alex Christensen.
3753
3754         Function name should be passed as a string literal. In PHP, named function is
3755         not the first class citizen.
3756
3757         * http/tests/cookies/resources/echo-cookies.php:
3758
3759 2018-08-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3760
3761         [LayoutTests] Suppress PHP Error message by removing an execution time limit.
3762         https://bugs.webkit.org/show_bug.cgi?id=188288
3763
3764         Reviewed by Alex Christensen.
3765
3766         Remove execution timeout.
3767
3768         * http/tests/multipart/resources/multipart.php:
3769
3770 2018-08-02  Ryosuke Niwa  <rniwa@webkit.org>
3771
3772         Release assert when throwing exceptions in custom element reactions
3773         https://bugs.webkit.org/show_bug.cgi?id=187805
3774         <rdar://problem/42432714>
3775
3776         Reviewed by Saam Barati.
3777
3778         Unskipped the previously crashing test.
3779
3780         * TestExpectations:
3781
3782 2018-08-02  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3783
3784         [Curl] Test gardening
3785         https://bugs.webkit.org/show_bug.cgi?id=188293
3786
3787         Unreviewed test gardening.
3788
3789         Unskip some http tests.
3790
3791         * platform/wincairo/TestExpectations:
3792           - contentextensions
3793           - events
3794           - favicon.ico
3795           - fullscreen
3796           - globalhistory
3797           - gzip-content-encoding
3798           - history
3799           - local
3800           - messaging
3801           - mime
3802           - multipart
3803           - performance
3804           - permissionclient
3805           - referrer-policy
3806           - resourceLoadStatistics
3807         * platform/wincairo/http/tests/local/file-url-sent-as-referer-expected.txt: Added.
3808         * platform/wincairo/http/tests/multipart/invalid-image-data-expected.txt: Added.
3809         * platform/wincairo/http/tests/multipart/invalid-image-data-standalone-expected.txt: Added.
3810         * platform/wincairo/http/tests/uri/css-href-expected.txt: Added.
3811
3812 2018-08-02  Jer Noble  <jer.noble@apple.com>
3813
3814         Control center controls disappear when pausing, locking device.
3815         https://bugs.webkit.org/show_bug.cgi?id=188282
3816         <rdar://problem/42497809>
3817
3818         Reviewed by Eric Carlson.
3819
3820         * platform/mac/media/audio-session-category-video-paused-expected.txt: Added.
3821         * platform/mac/media/audio-session-category-video-paused.html: Added.
3822         * platform/ios/TestExpectations:
3823
3824 2018-08-02  Nan Wang  <n_wang@apple.com>
3825
3826         AX: [iOS] add support to return the attributed string under the element
3827         https://bugs.webkit.org/show_bug.cgi?id=188276
3828         <rdar://problem/42872357>
3829
3830         Reviewed by Chris Fleizach.
3831
3832         * accessibility/ios-simulator/attributed-string-for-element-expected.txt: Added.
3833         * accessibility/ios-simulator/attributed-string-for-element.html: Added.
3834
3835 2018-08-02  Tim Horton  <timothy_horton@apple.com>
3836
3837         REGRESSION (r234488): Layout test fast/events/ios/keyboard-scrolling-repeat.html is timing out
3838         <rdar://problem/42878480>
3839
3840         * fast/events/ios/keyboard-scrolling-repeat-expected.txt: Removed.
3841         * fast/events/ios/keyboard-scrolling-repeat.html: Removed.
3842         Remove a test that can't work anymore.
3843         If we need to re-write it it will probably need to be an API test.
3844
3845 2018-08-02  Megan Gardner  <megan_gardner@apple.com>
3846
3847         Reformat editable selection tests to remove potential flakeyness due to autoscroll
3848         https://bugs.webkit.org/show_bug.cgi?id=188263
3849         <rdar://problem/40565375>
3850
3851         Reviewed by Wenson Hsieh
3852
3853         Change the format of these editable selection tests to put the editable content at the top of the page so
3854         that when selecting we do not run into the page trying to autoscroll while selecting, which makes the tests more
3855         flakey, and more difficult to get accurate and consistent answers.
3856
3857         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html:
3858         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-left-to-change-selected-text.html:
3859         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-right-to-change-selected-text.html:
3860         * fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html:
3861         * fast/events/touch/ios/long-press-on-editable-content-then-drag-down-to-change-selected-text.html:
3862         * fast/events/touch/ios/long-press-on-editable-content-then-drag-left-to-change-selected-text.html:
3863         * fast/events/touch/ios/long-press-on-editable-content-then-drag-right-to-change-selected-text.html:
3864         * fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html:
3865
3866 2018-08-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3867
3868         Add self.queueMicrotask(f) on DOMWindow
3869         https://bugs.webkit.org/show_bug.cgi?id=188212
3870
3871         Reviewed by Ryosuke Niwa.
3872
3873         * js/dom/queue-microtask-window-expected.txt: Added.
3874         * js/dom/queue-microtask-window.html: Added.
3875
3876 2018-08-01  Ryosuke Niwa  <rniwa@webkit.org>
3877
3878         REGRESSION(r227983): fast/dom/adopt-node-crash-2.html is flaky
3879         https://bugs.webkit.org/show_bug.cgi?id=182589
3880
3881         Rebaseline the test and remove the flaky test expectation.
3882
3883         * fast/dom/adopt-node-crash-2-expected.txt:
3884         * platform/ios-wk2/TestExpectations:
3885         * platform/mac/TestExpectations:
3886
3887 2018-08-01  Nan Wang  <n_wang@apple.com>
3888
3889         AX: AOM: Add ARIA IDL Attribute Reflection
3890         https://bugs.webkit.org/show_bug.cgi?id=184676
3891         <rdar://problem/39476882>
3892
3893         Reviewed by Chris Fleizach.
3894
3895         * accessibility/ARIA-reflection-expected.txt: Added.
3896         * accessibility/ARIA-reflection.html: Added.
3897         * js/dom/dom-static-property-for-in-iteration.html:
3898         * platform/win/TestExpectations:
3899
3900 2018-08-01  David Fenton  <david_fenton@apple.com>
3901
3902         Layout Test editing/selection/update-selection-by-style-change.html is flaky.
3903         https://bugs.webkit.org/show_bug.cgi?id=187649
3904
3905         Unreviewed test gardening, re-marked test as flaky.
3906
3907         * platform/mac-wk2/TestExpectations:
3908
3909 2018-08-01  Andy VanWagoner  <andy@vanwagoner.family>
3910
3911         [INTL] Implement hourCycle in DateTimeFormat
3912         https://bugs.webkit.org/show_bug.cgi?id=188006
3913
3914         Reviewed by Darin Adler.
3915
3916         Added tests for hourCycle.
3917
3918         * js/intl-datetimeformat-expected.txt:
3919         * js/script-tests/intl-datetimeformat.js:
3920
3921 2018-08-01  Andy VanWagoner  <andy@vanwagoner.family>
3922
3923         number-toLocaleString.js test fails on ARM Linux buildbots
3924         https://bugs.webkit.org/show_bug.cgi?id=154533
3925
3926         Reviewed by Yusuke Suzuki.
3927
3928         Removed assumed default locale in Intl tests. The default is tested to
3929         verify that it is a string, and a canonicalized language tag. All other
3930         test cases explicitly use a locale when they expect a localized value.
3931
3932         * js/intl-collator-expected.txt:
3933         * js/intl-datetimeformat-expected.txt:
3934         * js/intl-default-locale-expected.txt:
3935         * js/intl-default-locale.html:
3936         * js/intl-numberformat-expected.txt:
3937         * js/intl-pluralrules-expected.txt:
3938         * js/script-tests/intl-collator.js:
3939         * js/script-tests/intl-datetimeformat.js:
3940         * js/script-tests/intl-numberformat.js:
3941         * js/script-tests/intl-pluralrules.js:
3942
3943 2018-08-01  Timothy Hatcher  <timothy@apple.com>
3944
3945         Hardcode some system colors to avoid fingerprinting exposure.
3946         https://bugs.webkit.org/show_bug.cgi?id=188203
3947         rdar://problem/42781630
3948
3949         Reviewed by Tim Horton.
3950
3951         * fast/css/apple-system-control-colors-expected.txt: Updated.
3952         * fast/css/test-setting-canvas-color.html: Fixed for colors with alpha.
3953         * platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
3954         * platform/mac-sierra/fast/css/apple-system-control-colors-expected.txt: Updated.
3955         * platform/mac/TestExpectations: Removed fast/css/test-setting-canvas-color.html.
3956         * platform/mac/fast/css/apple-system-control-colors-expected.txt: Updated.
3957
3958 2018-08-01  Alicia Boya García  <aboya@igalia.com>
3959
3960         [GTK] Unreviewed test gardening
3961         https://bugs.webkit.org/show_bug.cgi?id=188221
3962
3963         * platform/gtk/TestExpectations:
3964
3965 2018-07-31  Ross Kirsling  <ross.kirsling@sony.com>
3966
3967         [WinCairo] Unreviewed test gardening.
3968
3969         * platform/wincairo/TestExpectations:
3970         * platform/wincairo/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png: Added.
3971         * platform/wincairo/css3/masking/clip-path-circle-margin-box-expected.txt: Removed.
3972
3973 2018-07-31  Wenson Hsieh  <wenson_hsieh@apple.com>
3974
3975         Tidy up a layout test introduced in r234436.
3976         https://bugs.webkit.org/show_bug.cgi?id=188107
3977         <rdar://problem/42354250>
3978
3979         Reviewed by Daniel Bates.
3980
3981         The expected output of a test that uses js-test.js should include a description, plus a line that states that
3982         there will be a series of PASS messages, PASS/FAIL output, a successfully parsed line and finally a TEST
3983         COMPLETE line. This patch adjusts a newly introduced test to follow this convention.
3984
3985         * fast/forms/ios/click-should-not-suppress-misspelling-expected.txt:
3986         * fast/forms/ios/click-should-not-suppress-misspelling.html:
3987
3988 2018-07-31  Ryan Haddad  <ryanhaddad@apple.com>
3989
3990         Layout Test svg/animations/smil-leak-element-instances-noBaseValRef.svg is flaky
3991         https://bugs.webkit.org/show_bug.cgi?id=180997
3992
3993         Unreviewed test gardening.
3994
3995         * platform/mac-wk1/TestExpectations: Remove flaky expectation.
3996
3997 2018-07-31  John Wilander  <wilander@apple.com>
3998
3999         Resource Load Statistics: Remove partitioned cookies for reduced complexity, lower memory footprint, and ability to support more platforms
4000         https://bugs.webkit.org/show_bug.cgi?id=188109
4001         <rdar://problem/42664391>
4002
4003         Reviewed by Brent Fulgham, Chris Dumez, and Alex Christensen.
4004
4005         This patch removes cookie partitioning which reduces the model to just
4006         blocked cookies (in third-party contexts) and first-party cookie access.
4007
4008         Several of the changes are renaming to reflect that there are no more
4009         cookie partitions.
4010
4011         The changes to the Storage Access API tests also involve fixes for potential
4012         flakiness by adopting several completion handlers in test functions.
4013
4014         * http/tests/resourceLoadStatistics/add-blocking-to-redirect.html:
4015         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect-expected.txt: Removed.
4016         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect.html: Removed.
4017         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion.html:
4018         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent.html:
4019         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html:
4020         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent.html:
4021         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to.html:
4022         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics.html:
4023         * http/tests/resourceLoadStatistics/cookie-deletion-expected.txt: Renamed from LayoutTests/http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion-expected.txt.
4024         * http/tests/resourceLoadStatistics/cookie-deletion.html: Renamed from LayoutTests/http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html.
4025         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-expected.txt: Added.
4026         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction.html: Renamed from LayoutTests/http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html.
4027         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect.html:
4028         * http/tests/resourceLoadStatistics/enable-debug-mode.html:
4029         * http/tests/resourceLoadStatistics/grandfathering.html:
4030         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html:
4031         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html:
4032         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-expected.txt:
4033         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context.html:
4034         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
4035         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
4036         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
4037         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
4038         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
4039         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
4040         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt: Removed.
4041         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html: Removed.
4042         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt: Removed.
4043         * http/tests/resourceLoadStatistics/remove-blocking-in-redirect-expected.txt:
4044         * http/tests/resourceLoadStatistics/remove-blocking-in-redirect.html:
4045         * http/tests/resourceLoadStatistics/remove-partitioning-in-redirect-expected.txt: Removed.
4046         * http/tests/resourceLoadStatistics/remove-partitioning-in-redirect.html: Removed.
4047         * http/tests/resourceLoadStatistics/resources/get-cookies.php:
4048         * http/tests/resourceLoadStatistics/resources/set-cookie-on-redirect.php: Added.
4049         * http/tests/resourceLoadStatistics/resources/util.js: Added.
4050         (setEnableFeature):
4051         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
4052         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
4053         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
4054         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
4055         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
4056         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
4057         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode.html:
4058         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects.html:
4059         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests.html:
4060         * http/tests/resourceLoadStatistics/telemetry-generation.html:
4061         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction-expected.txt: Removed.
4062         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html: Removed.
4063         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html:
4064         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html:
4065         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html:
4066         * http/tests/storageAccess/deny-storage-access-under-opener.html:
4067         * http/tests/storageAccess/grant-storage-access-under-opener-expected.txt:
4068         * http/tests/storageAccess/grant-storage-access-under-opener.html:
4069         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-non-recent-user-interaction-expected.txt: Removed.
4070         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-non-recent-user-interaction.html: Removed.
4071         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-recent-user-interaction.html: Removed.
4072         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-recent-user-interaction-expected.txt.
4073         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction.html: Added.
4074         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-expected.txt.
4075         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt.
4076         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html: Added.
4077         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe.html.
4078         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-expected.txt.
4079         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame-expected.txt.
4080         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame.html.
4081         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-but-try-access-from-wrong-frame-expected.txt.
4082         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-but-try-access-from-wrong-frame.html.
4083         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-recent-user-interaction-expected.txt.
4084         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-recent-user-interaction.html.
4085         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-expected.txt.
4086         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction.html.
4087         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe.html.
4088         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-nested-iframe-expected.txt.
4089         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-nested-iframe.html.
4090         * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-expected.txt:
4091         * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access.html:
4092         * http/tests/storageAccess/request-and-grant-access-then-navigate-should-not-have-access.html:
4093         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-pop-window.html: Removed.
4094         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin.html:
4095         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token.html:
4096         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture.html:
4097         * http/tests/storageAccess/request-storage-access-same-origin-iframe.html:
4098         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token.html:
4099         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe.html:
4100         * http/tests/storageAccess/request-storage-access-top-frame.html:
4101         * http/tests/storageAccess/resources/nesting-iframe.html:
4102         * platform/ios/TestExpectations:
4103             Test case renaming.
4104             webkit.org/b/183216 removed since it's resolved.
4105         * platform/mac-wk2/TestExpectations:
4106             Test case renaming.
4107         * platform/wk2/TestExpectations:
4108             Test case renaming.
4109