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