1 2018-09-07 Basuke Suzuki <Basuke.Suzuki@sony.com>
3 [Curl] Stop sending request with credential if no authorization requested.
4 https://bugs.webkit.org/show_bug.cgi?id=189057
6 Reviewed by Alex Christensen.
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.
12 2018-09-07 Youenn Fablet <youenn@apple.com>
14 Tests checking document GC in case of ActiveDOMObjects are flaky
15 https://bugs.webkit.org/show_bug.cgi?id=189413
17 Reviewed by Eric Carlson.
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.
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.
32 2018-09-07 Daniel Bates <dabates@apple.com>
34 [iOS] uiController.typeCharacterUsingHardwareKeyboard("`", ...) dispatches DOM key events for ~
35 https://bugs.webkit.org/show_bug.cgi?id=189325
37 Reviewed by Wenson Hsieh.
39 Add a test to ensure that we dispatch the correct DOM key events when using uiController.typeCharacterUsingHardwareKeyboard("`")
40 (by way of UIHelper.typeCharacter()).
42 * fast/events/ios/keypress-grave-accent-expected.txt: Added.
43 * fast/events/ios/keypress-grave-accent.html: Added.
45 2018-09-07 Basuke Suzuki <Basuke.Suzuki@sony.com>
47 [Curl][WebKitLegacy] Stop sending credential embedded in the url via XHR.
48 https://bugs.webkit.org/show_bug.cgi?id=189198
50 Reviewed by Alexey Proskuryakov.
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.
57 2018-09-07 Youenn Fablet <youenn@apple.com>
59 Add support for unified plan transceivers
60 https://bugs.webkit.org/show_bug.cgi?id=189390
62 Reviewed by Eric Carlson.
64 Update tests using mock to enforce plan B for now until unified plan mocks are supported.
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.
86 2018-09-07 Frederic Wang <fwang@igalia.com>
88 [CSSOM View] Handle the scrollingElement in Element::scroll(Left/Top/Width/Height/To)
89 https://bugs.webkit.org/show_bug.cgi?id=182230
91 Reviewed by Simon Fraser.
93 This commit updates some tests to work when CSSOMViewScrollingAPI is enabled.
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
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.
122 2018-09-07 Zalan Bujtas <zalan@apple.com>
124 [iOS] Unreviewed test gardening.
126 * platform/ios/TestExpectations:
128 2018-09-06 Zalan Bujtas <zalan@apple.com>
130 [LFC] Add support for min/max-height percentage values.
131 https://bugs.webkit.org/show_bug.cgi?id=189391
133 Reviewed by Antti Koivisto.
135 * fast/block/block-only/min-max-height-percentage-expected.txt: Added.
136 * fast/block/block-only/min-max-height-percentage.html: Added.
138 2018-09-06 Megan Gardner <megan_gardner@apple.com>
140 Add Support for Conic Gradients
141 https://bugs.webkit.org/show_bug.cgi?id=189329
142 <rdar://problem/21444701>
144 Reviewed by Simon Fraser.
146 Simple tests to see if conic gradients are rendered properly.
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.
153 2018-09-06 Zalan Bujtas <zalan@apple.com>
155 [LFC][BFC] Add support for min(max)-height
156 https://bugs.webkit.org/show_bug.cgi?id=189377
158 Reviewed by Antti Koivisto.
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.
167 2018-09-06 Daniel Bates <dabates@apple.com>
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
172 Reviewed by Wenson Hsieh.
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.
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.
183 2018-09-06 Andy Estes <aestes@apple.com>
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>
189 Reviewed by Sam Weinig.
191 * http/tests/ssl/applepay/ApplePayButtonV4.html:
193 2018-09-06 Zalan Bujtas <zalan@apple.com>
195 [LFC][BFC] Add support for min(max)-width
196 https://bugs.webkit.org/show_bug.cgi?id=189358
198 Reviewed by Antti Koivisto.
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.
207 2018-09-06 Miguel Gomez <magomez@igalia.com>
209 Unreviewed GTK+ gardening after r235732.
211 * platform/gtk/TestExpectations:
213 2018-09-06 Ali Juma <ajuma@chromium.org>
215 IntersectionObserver leaks documents
216 https://bugs.webkit.org/show_bug.cgi?id=189128
218 Reviewed by Simon Fraser.
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.
226 2018-09-05 Brent Fulgham <bfulgham@apple.com>
228 The width of a nullptr TextRun should be zero
229 https://bugs.webkit.org/show_bug.cgi?id=189154
230 <rdar://problem/43685926>
232 Reviewed by Zalan Bujtas.
234 * fast/text/null-string-textrun-expected.txt: Added.
235 * fast/text/null-string-textrun.html: Added.
237 2018-09-05 Youenn Fablet <youenn@apple.com>
239 Expose RTCRtpSender.setParameters
240 https://bugs.webkit.org/show_bug.cgi?id=189307
242 Reviewed by Eric Carlson.
244 * webrtc/video-getParameters.html:
246 2018-09-05 Truitt Savell <tsavell@apple.com>
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
251 Unreviewed Test Gardening.
253 * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/send-network-error-async-events.sub-expected.txt:
255 2018-09-05 Ms2ger <Ms2ger@igalia.com>
257 GTK-focused gardening
258 https://bugs.webkit.org/show_bug.cgi?id=189305
260 Unreviewed test gardening.
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.
270 2018-09-04 Yacine Bandou <yacine.bandou_ext@softathome.com>
272 [EME] Add a layoutTest for ClearKey WebM video playback
273 https://bugs.webkit.org/show_bug.cgi?id=189200
275 Reviewed by Xabier Rodriguez-Calvar.
277 Add a new layoutTest in order to test the playback of ClearKey encrypted WebM.
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:
285 2018-09-04 Frederic Wang <fwang@igalia.com>
287 Add basic support for ScrollIntoViewOptions
288 https://bugs.webkit.org/show_bug.cgi?id=189258
290 Reviewed by Simon Fraser.
292 Update test expectations for WPT scrollIntoView tests.
294 * platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-smooth-expected.txt: Removed.
296 2018-09-04 Michael Saboff <msaboff@apple.com>
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
301 Reviewed by Saam Barati.
305 * fast/regex/backreferences-expected.txt: Added.
306 * fast/regex/backreferences.html: Added.
307 * fast/regex/script-tests/backreferences.js: Added.
309 2018-09-04 Ryosuke Niwa <rniwa@webkit.org>
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>
315 Reviewed by Antti Koivisto.
317 Added a W3C style testharness.js test for inserting, removing, and renaming slot elements.
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.
322 This test presumes the resolution of https://github.com/w3c/webcomponents/issues/764 in our favor.
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.
328 * fast/shadow-dom/slotchange-for-slot-mutation-expected.txt: Added.
329 * fast/shadow-dom/slotchange-for-slot-mutation.html: Added.
331 2018-09-04 Simon Fraser <simon.fraser@apple.com>
333 CSS reference filter that references a tiled feTurbulence is blank
334 https://bugs.webkit.org/show_bug.cgi?id=188950
336 Reviewed by Dean Jackson.
338 * css3/filters/reference-filter-set-filter-regions-expected.html: Added.
339 * css3/filters/reference-filter-set-filter-regions.html: Added.
341 2018-09-04 Rob Buis <rbuis@igalia.com>
343 Adjust XMLHttpRequest username/password precedence rules
344 https://bugs.webkit.org/show_bug.cgi?id=184910
346 Reviewed by Chris Dumez.
348 Adjust test because now we do set password on the url in
349 open(), even if the username is null.
351 * http/tests/xmlhttprequest/basic-auth.html:
353 2018-09-03 Dean Jackson <dino@apple.com>
355 Move SystemPreview code from WebKitAdditions to WebKit
356 https://bugs.webkit.org/show_bug.cgi?id=189252
357 <rdar://problem/44080245>
359 Reviewed by Wenson Hsieh.
361 This test no longer needs an internal helper.
363 * system-preview/detection.html:
365 2018-09-04 Antoine Quint <graouts@apple.com>
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>
371 Reviewed by Dean Jackson.
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.
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.
378 2018-09-04 Per Arne Vollan <pvollan@apple.com>
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
383 Reviewed by Simon Fraser.
385 This will test that the function primaryScreenDisplayID() returns a valid display ID.
388 * fast/misc/valid-primary-screen-displayID-expected.txt: Added.
389 * fast/misc/valid-primary-screen-displayID.html: Added.
390 * platform/mac-wk2/TestExpectations:
392 2018-09-04 Daniel Bates <dabates@apple.com>
394 Remove redundant inline text boxes for empty combined text
395 https://bugs.webkit.org/show_bug.cgi?id=189119
397 Reviewed by Zalan Bujtas.
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.
402 * fast/text/text-combine-surroundContents-crash-expected.txt:
404 2018-09-04 Zan Dobersek <zdobersek@igalia.com> and Ms2ger <Ms2ger@igalia.com>
406 Implement support for passing ImageBitmap to texImage2D/texSubImage2D
407 https://bugs.webkit.org/show_bug.cgi?id=187584
409 Reviewed by Dean Jackson.
411 * fast/canvas/webgl/gl-teximage-imagebitmap-expected.txt: Added.
412 * fast/canvas/webgl/gl-teximage-imagebitmap.html: Added.
414 2018-09-04 Yacine Bandou <yacine.bandou@softathome.com>
416 [EME] Add layout test for InitData and InitDataType in WebM encrypted event
417 https://bugs.webkit.org/show_bug.cgi?id=189196
419 Reviewed by Xabier Rodriguez-Calvar.
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.
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:
435 2018-09-03 Andy Estes <aestes@apple.com>
437 [Payment Request] Remove PaymentAddress.languageCode
438 https://bugs.webkit.org/show_bug.cgi?id=189254
440 Reviewed by Sam Weinig.
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:
446 2018-09-03 Youenn Fablet <youenn@apple.com>
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>
452 Reviewed by Alexey Proskuryakov.
454 * platform/mac-wk2/TestExpectations:
456 2018-09-03 Andy Estes <aestes@apple.com>
458 [Payment Request] Implement the MerchantValidationEvent constructor
459 https://bugs.webkit.org/show_bug.cgi?id=189235
461 Reviewed by Daniel Bates.
463 Skipped new manual tests.
465 * platform/ios-wk2/TestExpectations:
466 * platform/mac-wk2/TestExpectations:
468 2018-09-03 Frederic Wang <fwang@free.fr>
470 Remove duplicate directory web-platform-tests/cssom-view
471 https://bugs.webkit.org/show_bug.cgi?id=189241
473 Reviewed by Daniel Bates.
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.
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:
485 2018-09-02 Zalan Bujtas <zalan@apple.com>
487 REGRESSION (r191336): RenderFlexibleBox::adjustChildSizeForMinAndMax crashes in std::optional<>::value()
488 https://bugs.webkit.org/show_bug.cgi?id=189232
489 <rdar://problem/43886373>
491 Reviewed by Brent Fulgham.
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.
496 2018-09-02 Yusuke Suzuki <yusukesuzuki@slowstart.org>
498 Implement Object.fromEntries
499 https://bugs.webkit.org/show_bug.cgi?id=188481
501 Reviewed by Darin Adler.
503 * js/Object-getOwnPropertyNames-expected.txt:
504 * js/script-tests/Object-getOwnPropertyNames.js:
506 2018-08-31 Simon Fraser <simon.fraser@apple.com>
508 Clean up TestExpectations so that ./Tools/Scripts/lint-test-expectations
511 * platform/ios-wk2/TestExpectations:
512 * platform/mac-wk1/TestExpectations:
513 * platform/win/TestExpectations:
515 2018-08-31 Chris Dumez <cdumez@apple.com>
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>
521 Reviewed by Youenn Fablet.
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.
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.
530 * http/tests/workers/service/serviceworkerclients-matchAll-worker.js:
531 (async.doTestAfterMessage):
532 * http/tests/workers/service/serviceworkerclients-matchAll.https.html:
534 * platform/ios-wk2/TestExpectations:
535 * platform/mac-wk2/TestExpectations:
536 Unskip tests as they should no longer be flaky.
538 2018-08-31 John Wilander <wilander@apple.com>
540 Storage Access API: Maintain access through same-site navigations
541 https://bugs.webkit.org/show_bug.cgi?id=188564
542 <rdar://problem/43445160>
544 Reviewed by Alex Christensen.
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 ].
560 2018-08-30 Ryosuke Niwa <rniwa@webkit.org>
562 slotchange-event-bubbling.html fails in Chrome & Firefox
563 https://bugs.webkit.org/show_bug.cgi?id=189183
565 Reviewed by Chris Dumez.
567 slotchange event is supposed to fire when a slot element is inserted and there are assigned nodes.
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.
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.
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.
579 * fast/shadow-dom/slotchange-event-bubbling.html:
580 * fast/shadow-dom/slotchange-in-fallback.html:
582 2018-08-31 Zalan Bujtas <zalan@apple.com>
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
587 Reviewed by Antti Koivisto.
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.
592 2018-08-31 Per Arne Vollan <pvollan@apple.com>
594 [Win] Some tests are failing on ews200 after upgrading iTunes.
595 https://bugs.webkit.org/show_bug.cgi?id=189194
597 Unreviewed test gardening.
599 * platform/win/TestExpectations:
601 2018-08-31 Frederic Wang <fwang@igalia.com>
603 Bug 182053 - [CSSOM View] Implement standard behavior for scrollingElement
604 https://bugs.webkit.org/show_bug.cgi?id=182053
606 Reviewed by Simon Fraser.
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.
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:
618 2018-08-30 Zalan Bujtas <zalan@apple.com>
620 CounterMaps should hold a unique_ptr of CounterMap.
621 https://bugs.webkit.org/show_bug.cgi?id=189174
622 <rdar://problem/43686458>
624 Reviewed by Ryosuke Niwa.
626 * fast/css/counters/crash-when-cloning-body-expected.txt: Added.
627 * fast/css/counters/crash-when-cloning-body.html: Added.
629 2018-08-30 Truitt Savell <tsavell@apple.com>
631 Unreviewed, rolling out r235516.
633 Caused 50 Crashes on Sierra
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
641 2018-08-30 Youenn Fablet <youenn@apple.com>
643 Remove WebRTC legacy API implementation
644 https://bugs.webkit.org/show_bug.cgi?id=189040
645 <rdar://problem/43861361>
649 * platform/ios/TestExpectations: Use default expectations for the folder.
650 This allows skipping imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/setRemoteDescription.html
652 2018-08-30 Brent Fulgham <bfulgham@apple.com>
654 The width of a nullptr TextRun should be zero
655 https://bugs.webkit.org/show_bug.cgi?id=189154
656 <rdar://problem/43685926>
658 Reviewed by Zalan Bujtas.
660 * fast/text/null-string-textrun-expected.txt: Added.
661 * fast/text/null-string-textrun.html: Added.
663 2018-08-30 Eric Carlson <eric.carlson@apple.com>
665 Mock video devices should only support discrete sizes
666 https://bugs.webkit.org/show_bug.cgi?id=189000
667 <rdar://problem/43766551>
669 Reviewed by Youenn Fablet.
671 Updated tests and results now that we have better support for width and height constraints.
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:
685 2018-08-30 Youenn Fablet <youenn@apple.com>
687 fast/mediastream/RTCPeerConnection-overloaded-operations.html is flaky after r235484
688 https://bugs.webkit.org/show_bug.cgi?id=189155
690 Reviewed by Eric Carlson.
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.
696 2018-08-30 Zalan Bujtas <zalan@apple.com>
698 [LFC][Floating] Formatting context roots avoid floats.
699 https://bugs.webkit.org/show_bug.cgi?id=189150
701 Reviewed by Antti Koivisto.
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.
712 2018-08-29 Aditya Keerthi <akeerthi@apple.com>
714 [Datalist] Display prefix-matched suggestions first
715 https://bugs.webkit.org/show_bug.cgi?id=189106
717 Reviewed by Tim Horton.
719 Added a test to verify that prefix-matched suggestions are shown before other
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:
726 2018-08-29 Olivia Barnett <obarnett@apple.com>
728 Implement the Web Share API
729 https://bugs.webkit.org/show_bug.cgi?id=171100
730 <rdar://problem/31751734>
732 Reviewed by Tim Horton.
734 * fast/dom/navigator-detached-no-crash-expected.txt:
735 Updated expected results.
737 2018-08-29 Ryan Haddad <ryanhaddad@apple.com>
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
742 Unreviewed test gardening.
744 * platform/mac-wk2/TestExpectations:
745 * platform/mac/TestExpectations: Consolidate expectations.
747 2018-08-29 Daniel Bates <dabates@apple.com>
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>
753 <rdar://problem/39771867>
755 Reviewed by Simon Fraser.
757 Add a test to ensure that we do not crash when painting an empty inline text box associated
760 * fast/text/text-combine-surroundContents-crash-expected.txt: Added.
761 * fast/text/text-combine-surroundContents-crash.html: Added.
763 2018-08-29 Youenn Fablet <youenn@apple.com>
765 Remove WebRTC legacy API implementation
766 https://bugs.webkit.org/show_bug.cgi?id=189040
768 Reviewed by Eric Carlson.
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:
811 2018-08-29 Youenn Fablet <youenn@apple.com>
813 Add a runtime flag for WebRTC unified plan
814 https://bugs.webkit.org/show_bug.cgi?id=189068
816 Reviewed by Eric Carlson.
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:
825 2018-08-29 Ali Juma <ajuma@chromium.org>
827 Generalize suppresion for flaky IntersectionObserver web platform tests
828 https://bugs.webkit.org/show_bug.cgi?id=189091
830 Unreviewed test gardening.
833 * platform/mac-wk1/TestExpectations:
835 2018-08-28 Simon Fraser <simon.fraser@apple.com>
837 Fix crash when reflections and backdrop filter are combined
838 https://bugs.webkit.org/show_bug.cgi?id=188504
839 rdar://problem/43225590
841 Reviewed by Dan Bates.
843 * compositing/filters/backdrop-filter-update-rect-expected.txt: Added.
844 * compositing/filters/backdrop-filter-update-rect.html: Added.
846 2018-08-29 Ali Juma <ajuma@chromium.org>
848 [mac-wk1] Mark three IntersectionObserver web platform tests as flaky
849 https://bugs.webkit.org/show_bug.cgi?id=189091
851 Unreviewed test gardening.
853 * platform/mac-wk1/TestExpectations:
855 2018-08-29 Truitt Savell <tsavell@apple.com>
857 Layout Test svg/animations/animate-end-attribute-numeric-precision.html is flaky
858 https://bugs.webkit.org/show_bug.cgi?id=189087
860 Unreviewed test gardening.
862 * platform/ios-wk2/TestExpectations:
863 * platform/mac-wk1/TestExpectations:
865 2018-08-29 Simon Fraser <simon.fraser@apple.com>
867 Teach webkitpy how to check leaks and treat leaks as test failures
868 https://bugs.webkit.org/show_bug.cgi?id=189067
870 Reviewed by Darin Adler.
872 Put some fake leaks in full_results.json, and update results.html to show a table
873 of leaks when results are expanded.
875 * fast/harness/full_results.json:
876 * fast/harness/results-expected.txt:
877 * fast/harness/results.html:
879 2018-08-29 Truitt Savell <tsavell@apple.com>
881 Missed adding expctations to ios for webkit.org/b/188985
882 https://bugs.webkit.org/show_bug.cgi?id=188985
884 Unreviewed test gardening.
886 * platform/ios-wk2/TestExpectations:
888 2018-08-29 David Kilzer <ddkilzer@apple.com>
890 Remove empty directories from from svn.webkit.org repository
891 <https://webkit.org/b/189081>
893 * css3/filters/backdrop/script-tests: Removed.
894 * css3/filters/script-tests: 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.
981 2018-08-28 Ryosuke Niwa <rniwa@webkit.org>
983 Changes to slot children should trigger slotchange
984 https://bugs.webkit.org/show_bug.cgi?id=169718
985 <rdar://problem/43317496>
987 Reviewed by Darin Adler.
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.
992 Chrome and Firefox pass all test cases. WebKit used to fail all test cases before this patch.
994 * fast/shadow-dom/slotchange-in-fallback-expected.txt: Added.
995 * fast/shadow-dom/slotchange-in-fallback.html: Added.
997 2018-08-28 Don Olmstead <don.olmstead@sony.com>
999 Check for null renderer in canBeScrolledIntoView
1000 https://bugs.webkit.org/show_bug.cgi?id=188935
1002 Reviewed by Simon Fraser.
1004 * fast/spatial-navigation/snav-display-contents-crash-expected.txt: Added.
1005 * fast/spatial-navigation/snav-display-contents-crash.html: Added.
1007 2018-08-28 Youenn Fablet <youenn@apple.com>
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>
1014 Increasing number of GC and checks to unflake tests on bots.
1016 * http/tests/IndexedDB/collect-IDB-objects.https.html:
1017 * http/tests/media/clearkey/collect-webkit-media-session.html:
1019 2018-08-28 Devin Rousso <drousso@apple.com>
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>
1025 Reviewed by Brian Burg.
1027 * inspector/console/js-isLikelyStackTrace-expected.txt:
1028 * inspector/console/js-isLikelyStackTrace.html:
1030 2018-08-28 Truitt Savell <tsavell@apple.com>
1032 Edditing test expectations from webkit.org/b/188985.
1033 https://bugs.webkit.org/show_bug.cgi?id=188985
1035 Unreviewed test gardening.
1038 * platform/mac-wk2/TestExpectations:
1040 2018-08-28 David Fenton <david_fenton@apple.com>
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
1045 Unreviewed test gardening.
1047 * platform/mac-wk2/TestExpectations:
1049 2018-08-28 Truitt Savell <tsavell@apple.com>
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
1054 Unreviewed test gardening.
1057 * platform/mac-wk2/TestExpectations:
1059 2018-08-28 Youenn Fablet <youenn@apple.com>
1061 MediaDevices should be collectable as soon as its document is stopped
1062 https://bugs.webkit.org/show_bug.cgi?id=189021
1064 Reviewed by Eric Carlson.
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.
1070 2018-08-28 Basuke Suzuki <Basuke.Suzuki@sony.com>
1072 [Curl] Fix issue that extra cookie is added when redirect happens.
1073 https://bugs.webkit.org/show_bug.cgi?id=187874
1075 Reviewed by Alex Christensen.
1077 * http/tests/cookies/multiple-redirect-and-set-cookie-expected.txt: Added.
1078 * http/tests/cookies/multiple-redirect-and-set-cookie.php: Added.
1080 2018-08-28 Aditya Keerthi <akeerthi@apple.com>
1082 [macOS] Color wells should appear rounded and textured
1083 https://bugs.webkit.org/show_bug.cgi?id=189039
1085 Reviewed by Tim Horton.
1087 Rebaseline tests to match new color-well appearance.
1089 * platform/mac/fast/forms/color/input-appearance-color-expected.png:
1090 * platform/mac/fast/forms/color/input-appearance-color-expected.txt:
1092 2018-08-28 Youenn Fablet <youenn@apple.com>
1094 WebKitMediaSession should be GC collectable when its document is being stopped
1095 https://bugs.webkit.org/show_bug.cgi?id=189016
1097 Reviewed by Eric Carlson.
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.
1103 2018-08-28 Aditya Keerthi <akeerthi@apple.com>
1105 [Datalist] Pressing enter without a selected option shouldn't change the input
1106 https://bugs.webkit.org/show_bug.cgi?id=189010
1108 Reviewed by Tim Horton.
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.
1113 * fast/forms/datalist/datalist-textinput-keydown-expected.txt:
1114 * fast/forms/datalist/datalist-textinput-keydown.html:
1116 2018-08-28 Aditya Keerthi <akeerthi@apple.com>
1118 [iOS] Support inputmode=none
1119 https://bugs.webkit.org/show_bug.cgi?id=188896
1121 Reviewed by Tim Horton.
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
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):
1139 2018-08-28 Simon Fraser <simon.fraser@apple.com>
1141 More results.html cleanup
1142 https://bugs.webkit.org/show_bug.cgi?id=189038
1144 Reviewed by Zalan Bujtas.
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.
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.
1153 Put a "data-test-name" attribute on each row so we can easily map from HTML elements to
1154 TestResults in future.
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.
1159 * fast/harness/results-expected.txt:
1160 * fast/harness/results.html:
1162 2018-08-27 Mark Lam <mark.lam@apple.com>
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>
1168 Reviewed by Saam Barati.
1170 * http/tests/misc/large-js-program-expected.txt:
1172 2018-08-27 Justin Fan <justin_fan@apple.com>
1174 WebGL 2 conformance: framebuffer-test
1175 https://bugs.webkit.org/show_bug.cgi?id=188812
1177 Reviewed by Jon Lee.
1179 Update WebGL 2 implementation to handle READ_FRAMEBUFFER and default framebuffer conformance.
1181 * TestExpectations: Unskipping webgl/2.0.0/conformance2/renderbuffers/framebuffer-test.html.
1183 2018-08-27 Myles C. Maxfield <mmaxfield@apple.com>
1185 Null pointer deref in WidthIterator
1186 https://bugs.webkit.org/show_bug.cgi?id=188993
1188 Reviewed by Brent Fulgham.
1190 * fast/text/rtl-justification-expected.html: Added.
1191 * fast/text/rtl-justification.html: Added.
1193 2018-08-27 Sihui Liu <sihui_liu@apple.com>
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>
1199 Add an early exit so test does not call waitUntilDone after test ends.
1201 Reviewed by Ryosuke Niwa.
1203 * platform/wk2/TestExpectations:
1204 * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
1206 2018-08-27 Youenn Fablet <youenn@apple.com>
1208 Various IndexDB tests abandon documents
1209 https://bugs.webkit.org/show_bug.cgi?id=188728
1210 <rdar://problem/43651095>
1212 Reviewed by Alex Christensen.
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.
1219 2018-08-27 Simon Fraser <simon.fraser@apple.com>
1221 [LayoutTests] results.html shows "no expected results" for text diff failures
1222 https://bugs.webkit.org/show_bug.cgi?id=188927
1224 Reviewed by Alexey Proskuryakov.
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.
1229 Fix by clarifying the types of "missing".
1231 * fast/harness/full_results.json:
1232 * fast/harness/results-expected.txt:
1233 * fast/harness/results.html:
1235 2018-08-27 Andy Estes <aestes@apple.com>
1237 [Payment Request] Update payment-request web platform tests
1238 https://bugs.webkit.org/show_bug.cgi?id=188985
1240 Reviewed by Youenn Fablet.
1242 * platform/mac-wk2/TestExpectations:
1244 2018-08-27 Devin Rousso <drousso@apple.com>
1246 Web Inspector: provide autocompletion for event breakpoints
1247 https://bugs.webkit.org/show_bug.cgi?id=188717
1249 Reviewed by Brian Burg.
1251 * inspector/dom/getSupportedEventNames-expected.txt: Added.
1252 * inspector/dom/getSupportedEventNames.html: Added.
1254 2018-08-27 Youenn Fablet <youenn@apple.com>
1256 Update WPT tools to 87329a1
1257 https://bugs.webkit.org/show_bug.cgi?id=188766
1259 Reviewed by Ryosuke Niwa.
1261 The test name (.any.serviceworker.html) is clashing with the new WPT server.
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.
1266 2018-08-27 Per Arne Vollan <pvollan@apple.com>
1268 Layout Test fast/events/dblclick-event-getModifierState.html is failing
1269 https://bugs.webkit.org/show_bug.cgi?id=188948
1271 Unreviewed test gardening.
1273 * platform/win/TestExpectations:
1275 2018-08-27 Rob Buis <rbuis@igalia.com>
1277 XMLHTTPRequest.send for Document should have same Content-Type processing rules as String
1278 https://bugs.webkit.org/show_bug.cgi?id=188953
1280 Reviewed by Darin Adler.
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:
1286 2018-08-27 Youenn Fablet <youenn@apple.com>
1288 Update WPT XHR tests to 87329a1
1289 https://bugs.webkit.org/show_bug.cgi?id=188816
1291 Reviewed by Ryosuke Niwa.
1293 Update expectations according renamed XMLHttpRequest to xhr folder.
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.
1338 2018-08-26 Zan Dobersek <zdobersek@igalia.com>
1340 Unreviewed WPE gardening. Enabling more tests under the fast/ directory.
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.
1362 2018-08-26 Andy Estes <aestes@apple.com>
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>
1368 Reviewed by Anders Carlsson.
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:
1380 2018-08-26 Andy Estes <aestes@apple.com>
1382 Update test expectations for http/tests/ssl/applepay/ApplePayButton.html on macOS High Sierra.
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.
1387 2018-08-26 Andy Estes <aestes@apple.com>
1389 [Apple Pay] PaymentRequest.show() should reject when an unsupported ApplePayRequest version is specified
1390 https://bugs.webkit.org/show_bug.cgi?id=188954
1392 Reviewed by Darin Adler.
1394 * http/tests/ssl/applepay/PaymentRequest.https-expected.txt:
1395 * http/tests/ssl/applepay/PaymentRequest.https.html:
1397 2018-08-26 Andy Estes <aestes@apple.com>
1399 [Apple Pay] Add a test for rendering Apple Pay buttons
1400 https://bugs.webkit.org/show_bug.cgi?id=188947
1402 Reviewed by Sam Weinig.
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.
1410 2018-08-24 Jer Noble <jer.noble@apple.com>
1412 Using Touch Bar to scrub video on Youtube results in video playback freeze
1413 https://bugs.webkit.org/show_bug.cgi?id=188926
1415 Reviewed by Eric Carlson.
1417 * media/media-source/media-source-seek-twice-expected.txt: Added.
1418 * media/media-source/media-source-seek-twice.html: Added.
1420 2018-08-24 Ryosuke Niwa <rniwa@webkit.org>
1422 Remove the flaky test expectation now that the test isn't flaky on bots after r235274.
1424 * platform/wk2/TestExpectations:
1426 2018-08-24 Ryosuke Niwa <rniwa@webkit.org>
1428 Add getModifierState to MouseEvent
1429 https://bugs.webkit.org/show_bug.cgi?id=188913
1430 <rdar://problem/43668772>
1432 Reviewed by Simon Fraser.
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.
1437 Also improved the test coverage for KeyboardEvent's getModifierState.
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.
1450 2018-08-24 Youenn Fablet <youenn@apple.com>
1452 libwebrtc PeerConnection::AddTrack sometimes fail
1453 https://bugs.webkit.org/show_bug.cgi?id=188914
1455 Reviewed by Eric Carlson.
1457 * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
1459 2018-08-24 Ryan Haddad <ryanhaddad@apple.com>
1461 Mark media/video-load-preload-metadata.html as flaky on iOS
1462 https://bugs.webkit.org/show_bug.cgi?id=128312
1464 Unreviewed test gardening.
1466 * platform/ios/TestExpectations:
1468 2018-08-24 Andy Estes <aestes@apple.com>
1470 [Apple Pay] Allow $0 totals
1471 https://bugs.webkit.org/show_bug.cgi?id=185150
1472 <rdar://problem/39212331>
1474 Reviewed by Dan Bernstein.
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:
1485 2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
1487 fast/files/blob-network-process-crash.html is flaky
1488 https://bugs.webkit.org/show_bug.cgi?id=188911
1490 Reviewed by Saam Barati.
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.
1497 * fast/files/blob-network-process-crash.html:
1499 2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
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.
1504 * platform/wk2/TestExpectations:
1506 2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
1508 initKeyboardEvent doesn't clear CapsLock state
1509 https://bugs.webkit.org/show_bug.cgi?id=188909
1511 Reviewed by Wenson Hsieh.
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.
1516 * fast/events/init-event-clears-capslock-expected.txt: Added.
1517 * fast/events/init-event-clears-capslock.html: Added.
1519 2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
1521 Store the timer we scheduled in the global object.
1522 The underlying bug is tracked by https://webkit.org/b/188911.
1524 * fast/files/blob-network-process-crash.html:
1526 2018-08-23 Andy Estes <aestes@apple.com>
1528 [Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
1529 https://bugs.webkit.org/show_bug.cgi?id=188829
1531 Reviewed by Tim Horton.
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:
1541 2018-08-23 Devin Rousso <drousso@apple.com>
1543 Web Inspector: support breakpoints for timers and animation-frame events
1544 https://bugs.webkit.org/show_bug.cgi?id=188778
1546 Reviewed by Brian Burg.
1548 * inspector/dom-debugger/event-animation-frame-breakpoints-expected.txt: Added.
1549 * inspector/dom-debugger/event-animation-frame-breakpoints.html: Added.
1551 * inspector/dom-debugger/event-breakpoint-with-navigation.html:
1553 * inspector/dom-debugger/event-timer-breakpoints-expected.txt: Added.
1554 * inspector/dom-debugger/event-timer-breakpoints.html: Added.
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.
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):
1567 2018-08-23 Aditya Keerthi <akeerthi@apple.com>
1569 [iOS] Support the inputmode attribute on contenteditable elements
1570 https://bugs.webkit.org/show_bug.cgi?id=188878
1572 Reviewed by Ryosuke Niwa.
1574 Added additional tests to verify the inputmode attribute is accessible on
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.
1585 2018-08-22 Ryosuke Niwa <rniwa@webkit.org>
1587 Assert in NetworkBlobRegistry::unregisterBlobURL after network process had terminated
1588 https://bugs.webkit.org/show_bug.cgi?id=188880
1590 Reviewed by Saam Barati.
1592 Added a layout test which demonstrates this debug assertion.
1595 * fast/files/blob-network-process-crash-expected.txt: Added.
1596 * fast/files/blob-network-process-crash.html: Added.
1597 * platform/wk2/TestExpectations:
1599 2018-08-23 Youenn Fablet <youenn@apple.com>
1601 Update libwebrtc up to 984f1a80c0
1602 https://bugs.webkit.org/show_bug.cgi?id=188745
1604 Reviewed by Eric Carlson.
1606 Updated tests according new webrtc backend.
1608 * webrtc/libwebrtc/setLocalDescriptionCrash.html:
1609 * webrtc/video-getParameters.html:
1611 2018-08-23 Ryan Haddad <ryanhaddad@apple.com>
1613 Update iOS selection tests to reflect new behavior introduced by r235153
1614 https://bugs.webkit.org/show_bug.cgi?id=188888
1616 Reviewed by Megan Gardner.
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:
1622 2018-08-22 John Wilander <wilander@apple.com>
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
1627 Unreviewed test gardening. Trying to address flakiness I can't reproduce locally.
1629 * http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html:
1631 2018-08-22 Justin Fan <justin_fan@apple.com>
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
1636 Reviewed by Simon Fraser.
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.
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:
1684 (window.webglTestHarness.reportResults):
1685 (window.webglTestHarness.notifyFinished):
1687 2018-08-22 Aditya Keerthi <akeerthi@apple.com>
1689 [iOS] Add support for the inputmode attribute
1690 https://bugs.webkit.org/show_bug.cgi?id=183621
1692 Reviewed by Tim Horton.
1694 Added test to verify behavior when getting and setting the inputmode attribute.
1696 * fast/forms/inputmode-attribute-expected.txt: Added.
1697 * fast/forms/inputmode-attribute.html: Added.
1699 2018-08-22 Per Arne Vollan <pvollan@apple.com>
1701 [Win] Some video tests under http/tests/security are crashing on EWS.
1702 https://bugs.webkit.org/show_bug.cgi?id=188853
1704 Unreviewed test gardening.
1706 * platform/win/TestExpectations:
1708 2018-08-22 John Wilander <wilander@apple.com>
1710 Make ResourceLoadObserver::logWebSocketLoading() handle websockets in detached frames
1711 https://bugs.webkit.org/show_bug.cgi?id=188856
1713 Unreviewed test gardening.
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 ].
1725 2018-08-22 Ryan Haddad <ryanhaddad@apple.com>
1727 [iOS] Rebaseline table tests
1728 https://bugs.webkit.org/show_bug.cgi?id=188833
1730 Unreviewed test gardening.
1732 * platform/ios/TestExpectations:
1733 * platform/ios-wk2/TestExpectations:
1735 2018-08-21 Ryosuke Niwa <rniwa@webkit.org>
1737 Focus navigation order in slot fallback contents is wrong
1738 https://bugs.webkit.org/show_bug.cgi?id=178001
1739 <rdar://problem/42842997>
1741 Reviewed by Antti Koivisto.
1743 Updated the sequential focus navigation test for shadow DOM and its expectation.
1745 New test passes in Firefox & Chrome other than the fact both browsers fail to focus a slot elemennt.
1747 * fast/shadow-dom/focus-navigation-across-slots-expected.txt:
1748 * fast/shadow-dom/focus-navigation-across-slots.html:
1750 2018-08-22 Per Arne Vollan <pvollan@apple.com>
1752 [Win] Some video tests under http/tests/security are crashing on EWS.
1753 https://bugs.webkit.org/show_bug.cgi?id=188853
1755 Unreviewed test gardening.
1757 * platform/win/TestExpectations:
1759 2018-08-22 Per Arne Vollan <pvollan@apple.com>
1761 [Win] Some video tests under http/tests/security are crashing on EWS.
1762 https://bugs.webkit.org/show_bug.cgi?id=188853
1764 Unreviewed test gardening.
1766 * platform/win/TestExpectations:
1768 2018-08-22 Rob Buis <rbuis@igalia.com>
1770 Fetch: Stop checking Request.integrity's value in no-cors mode
1771 https://bugs.webkit.org/show_bug.cgi?id=188802
1773 Reviewed by Frédéric Wang.
1775 Unskip fetch/api/basic/integrity.html and adjust sri-fetch.js.
1778 * http/tests/subresource-integrity/sri-fetch.js:
1780 2018-08-22 Ms2ger <Ms2ger@igalia.com>
1782 [GTK][WPE] Unreviewed test gardening
1783 https://bugs.webkit.org/show_bug.cgi?id=188845
1785 Unreviewed test gardening.
1787 * platform/gtk/TestExpectations: Note failing tests.
1788 * platform/wpe/TestExpectations: Note failing tests.
1790 2018-08-22 Ms2ger <Ms2ger@igalia.com>
1792 [GTK] imported/w3c/web-platform-tests/media-source/mediasource-getvideoplaybackquality.html is flaky
1793 https://bugs.webkit.org/show_bug.cgi?id=187591
1795 Unreviewed test gardening.
1797 Re-enable mediasource-getvideoplaybackquality.html.
1799 The crash was fixed in r233981, and the failure in r234981-r234983.
1801 * platform/gtk/TestExpectations:
1803 2018-08-22 Ms2ger <Ms2ger@igalia.com>
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
1808 Unreviewed test gardening.
1810 * platform/gtk/TestExpectations: Re-enable svg/as-image/svg-image-with-data-uri-background.html.
1812 2018-08-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1814 Support "name" option for dedicated workers
1815 https://bugs.webkit.org/show_bug.cgi?id=188779
1817 Reviewed by Joseph Pecoraro.
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.
1825 * http/wpt/workers/support/no-name.js: Added.
1828 2018-08-21 Ryan Haddad <ryanhaddad@apple.com>
1830 Unreviewed, rolling out r235128.
1832 The test added with this change is frequently failing.
1836 "Support "name" option for dedicated workers"
1837 https://bugs.webkit.org/show_bug.cgi?id=188779
1838 https://trac.webkit.org/changeset/235128
1840 2018-08-21 Megan Gardner <megan_gardner@apple.com>
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
1845 Reviewed by Tim Horton.
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.
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:
1856 2018-08-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1858 Support "name" option for dedicated workers
1859 https://bugs.webkit.org/show_bug.cgi?id=188779
1861 Reviewed by Joseph Pecoraro.
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.
1867 * http/wpt/workers/support/no-name.js: Added.
1870 2018-08-21 Simon Fraser <simon.fraser@apple.com>
1872 REGRESSION(r234993): Test results page ignores TestExpectations, shows 1800 failures
1873 https://bugs.webkit.org/show_bug.cgi?id=188795
1875 Reviewed by Tim Horton.
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.
1881 * fast/harness/full_results.json:
1882 * fast/harness/results.html:
1884 2018-08-21 Per Arne Vollan <pvollan@apple.com>
1886 [WebGL] Contexts are not updated when display configuration changed.
1887 https://bugs.webkit.org/show_bug.cgi?id=188750
1889 Reviewed by Brent Fulgham.
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:
1896 2018-08-21 John Wilander <wilander@apple.com>
1898 Make ResourceLoadObserver::logWebSocketLoading() handle websockets in detached frames
1899 https://bugs.webkit.org/show_bug.cgi?id=188757
1900 <rdar://problem/38713390>
1902 Reviewed by Alex Christensen.
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 ].
1912 2018-08-21 Daniel Bates <dabates@apple.com>
1914 Disallow navigations when page cache updates the current document of the frame
1915 https://bugs.webkit.org/show_bug.cgi?id=188422
1917 Reviewed by Ryosuke Niwa.
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.
1924 This change does not prevent navigations initiated from a pageshow event handler.
1926 * fast/history/go-back-to-object-subframe-expected.txt: Added.
1927 * fast/history/go-back-to-object-subframe.html: Added.
1929 2018-08-21 Daniel Bates <dabates@apple.com>
1931 [iOS][WK1] Support toggling continuous spell checking from tests
1932 https://bugs.webkit.org/show_bug.cgi?id=188763
1934 Reviewed by Simon Fraser.
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
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.
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:
1955 2018-08-20 Fujii Hironori <Hironori.Fujii@sony.com>
1957 Unreviewed WinCairo port test gardening
1959 * platform/wincairo/TestExpectations: Marked some http tests flaky.
1961 2018-08-20 Devin Rousso <drousso@apple.com>
1963 Web Inspector: allow breakpoints to be set for specific event listeners
1964 https://bugs.webkit.org/show_bug.cgi?id=183138
1966 Reviewed by Joseph Pecoraro.
1968 * inspector/dom/breakpoint-for-event-listener-expected.txt: Added.
1969 * inspector/dom/breakpoint-for-event-listener.html: Added.
1971 2018-08-20 Jeremy Jones <jeremyj@apple.com>
1973 Enable ios media tests that were blocked on user gesture.
1974 https://bugs.webkit.org/show_bug.cgi?id=188753
1976 Reviewed by Jer Noble.
1978 Enable tests that now work on ios because there is now a way to simulate user gesture.
1980 * platform/ios/TestExpectations:
1982 2018-08-20 Justin Fan <justin_fan@apple.com>
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
1987 Reviewed by Alexey Proskuryakov.
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.
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):
2007 2018-08-20 Eric Carlson <eric.carlson@apple.com>
2009 [MediaStream] Move capture device monitoring to WebKit
2010 https://bugs.webkit.org/show_bug.cgi?id=188521
2011 <rdar://problem/43251787>
2013 Reviewed by Youenn Fablet.
2015 * fast/mediastream/device-change-event-2-expected.txt: Updated.
2016 * fast/mediastream/device-change-event-2.html: Updated.
2018 2018-08-20 Rob Buis <rbuis@igalia.com>
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
2023 Reviewed by Darin Adler.
2025 * fast/dom/Window/open-invalid-url-expected.txt:
2026 * fast/dom/Window/open-invalid-url.html:
2028 2018-08-20 Ms2ger <Ms2ger@igalia.com>
2030 [SOUP] Check length before calling soup_message_body_append_buffer.
2031 https://bugs.webkit.org/show_bug.cgi?id=176803
2033 Reviewed by Carlos Garcia Campos.
2035 * platform/gtk/TestExpectations: Enable test.
2037 2018-08-20 Rob Buis <rbuis@igalia.com>
2039 Relax Request constructor around referrers
2040 https://bugs.webkit.org/show_bug.cgi?id=168649
2042 Reviewed by Darin Adler.
2044 * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/request/request-init-001.sub-expected.txt:
2046 2018-08-18 Ali Juma <ajuma@chromium.org>
2048 [IntersectionObserver] Fire an initial dummy notification
2049 https://bugs.webkit.org/show_bug.cgi?id=188670
2051 Reviewed by Simon Fraser.
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.
2057 2018-08-17 John Wilander <wilander@apple.com>
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>
2063 Reviewed by Alex Christensen.
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:
2069 * http/tests/resourceLoadStatistics/resources/script-revealing-cookies.php: Added.
2070 * http/tests/resourceLoadStatistics/resources/worker-importing-localhost-script.js: Added.
2072 2018-08-17 Devin Rousso <drousso@apple.com>
2074 Marked inspector/dom-debugger/event-breakpoint-with-navigation.html as flaky.
2075 https://bugs.webkit.org/show_bug.cgi?id=188708
2077 Unreviewed test gardening.
2079 * platform/mac-wk1/TestExpectations:
2081 2018-08-17 Simon Fraser <simon.fraser@apple.com>
2083 Modernize results.html
2084 https://bugs.webkit.org/show_bug.cgi?id=188690
2086 Reviewed by Alexey Proskuryakov.
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.
2091 Modernize it, using ES6 classes for the major actors, and using DOM API to build most
2094 The page is functionally the same (other than the addition of a missing 'History" column header).
2096 * fast/harness/results-expected.txt:
2097 * fast/harness/results.html:
2099 2018-08-16 Devin Rousso <drousso@apple.com>
2101 Web Inspector: support breakpoints for arbitrary event names
2102 https://bugs.webkit.org/show_bug.cgi?id=183118
2104 Reviewed by Joseph Pecoraro.
2106 * inspector/dom-debugger/event-breakpoints-expected.txt: Added.
2107 * inspector/dom-debugger/event-breakpoints.html: Added.
2109 * inspector/dom-debugger/event-breakpoints-with-navigation-expected.txt: Added.
2110 * inspector/dom-debugger/event-breakpoints-with-navigation.html: Added.
2112 2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
2114 [Curl] Bug fix on deleting cookies when Max-Age is set to zero.
2115 https://bugs.webkit.org/show_bug.cgi?id=188617
2117 Reviewed by Alex Christensen.
2119 * platform/wincairo/TestExpectations:
2120 - http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html [ Pass ]
2122 2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
2124 [Curl] Implement deleteAllCookies()
2125 https://bugs.webkit.org/show_bug.cgi?id=188612
2127 Reviewed by Alex Christensen.
2129 * platform/wincairo/TestExpectations:
2130 - http/tests/cookies/simple-cookies-expired.html [ Pass ]
2131 - http/tests/cookies/simple-cookies-max-age.html [ Pass ]
2133 2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
2135 [Curl] Test gardening
2136 https://bugs.webkit.org/show_bug.cgi?id=188675
2138 Unreviewed test gardening.
2140 Fix expectations to match after r234892 landed.
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
2148 2018-08-16 Ryosuke Niwa <rniwa@webkit.org>
2150 Custom element doesn't invalidate its style when :defined rule starts to apply
2151 https://bugs.webkit.org/show_bug.cgi?id=188637
2153 Reviewed by Antti Koivisto.
2155 Added a regression test.
2157 * fast/custom-elements/defined-update-style-expected.html: Added.
2158 * fast/custom-elements/defined-update-style.html: Added.
2160 2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
2162 [Curl] Test gardening
2163 https://bugs.webkit.org/show_bug.cgi?id=188668
2165 Unreviewed test gardening.
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.
2170 * platform/wincairo/TestExpectations:
2172 2018-08-16 Per Arne Vollan <pvollan@apple.com>
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
2177 Unreviewed test gardening.
2179 * platform/win/TestExpectations:
2181 2018-08-16 Joseph Pecoraro <pecoraro@apple.com>
2183 LayoutTest inspector/worker/debugger-pause.html sometimes times out
2184 https://bugs.webkit.org/show_bug.cgi?id=188580
2186 Reviewed by Matt Baker.
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.
2194 2018-08-16 Ryosuke Niwa <rniwa@webkit.org>
2196 Perform a microtask checkpoint before creating a custom element
2197 https://bugs.webkit.org/show_bug.cgi?id=188189
2198 <rdar://problem/42843022>
2200 Reviewed by Geoffrey Garen.
2202 Added a W3C style testharness.js test for perfoming microtask checkpoint before constructing
2203 a custom element synchronously.
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.
2213 2018-08-15 Jer Noble <jer.noble@apple.com>
2215 Add Experimental Feature support for SourceBuffer.changeType()
2216 https://bugs.webkit.org/show_bug.cgi?id=188626
2218 Reviewed by Eric Carlson.
2220 * platform/mac/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt: Added.
2222 2018-08-16 Per Arne Vollan <pvollan@apple.com>
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
2227 Unreviewed test gardening.
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.
2234 * platform/win/TestExpectations:
2236 2018-08-16 Zan Dobersek <zdobersek@igalia.com>
2238 Unreviewed WPE gardening. Enable a few subdirectories under fast/ and
2239 provide platform-specific baselines as well as failure expectations
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.
2261 2018-08-16 Aditya Keerthi <akeerthi@apple.com>
2263 Support drag-and-drop for input[type=color]
2264 https://bugs.webkit.org/show_bug.cgi?id=188464
2266 Reviewed by Wenson Hsieh.
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.
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:
2280 2018-08-16 Simon Fraser <simon.fraser@apple.com>
2282 Add fake layout test results JSON to exercise the functionality in results.html
2283 https://bugs.webkit.org/show_bug.cgi?id=188636
2285 Reviewed by Alexey Proskuryakov.
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.
2292 * fast/harness/full_results.json: Added.
2293 * fast/harness/results-expected.txt:
2295 2018-08-15 Ansh Shukla <ansh_shukla@apple.com>
2297 NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
2298 https://bugs.webkit.org/show_bug.cgi?id=186870
2300 Reviewed by Alex Christensen.
2302 Ensure the exposed authentication type to clients is OAuth.
2304 * http/tests/loading/oauth-expected.txt: Added.
2305 * http/tests/loading/oauth.html: Added.
2306 * http/tests/loading/resources/oauth-subresource.php: Added.
2308 2018-08-15 Christopher Reid <chris.reid@sony.com>
2310 [Curl] Implement default cookie path handling correctly as outlined in RFC6265.
2311 https://bugs.webkit.org/show_bug.cgi?id=188609
2313 Reviewed by Alex Christensen.
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
2318 * platform/wincairo/TestExpectations:
2319 - http/tests/cookies/http-get-cookie-set-in-js.html [ Pass ]
2322 2018-08-15 Ali Juma <ajuma@chromium.org>
2324 Disable IntersectionObserver tests on Windows for now
2325 https://bugs.webkit.org/show_bug.cgi?id=188613
2327 Unreviewed test gardening.
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
2333 * platform/win/TestExpectations:
2334 * platform/wincairo/TestExpectations:
2336 2018-08-15 Aditya Keerthi <akeerthi@apple.com>
2338 [Datalist] Add button to TextFieldInputs with a datalist
2339 https://bugs.webkit.org/show_bug.cgi?id=187741
2341 Reviewed by Tim Horton.
2343 Added tests to verify appearance of TextFieldInputs with a datalist.
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.
2353 2018-08-15 Ryan Haddad <ryanhaddad@apple.com>
2355 Unreviewed, rolling out r234870.
2357 The test introduced with this change is a flaky failure.
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
2367 2018-08-15 Basuke Suzuki <Basuke.Suzuki@sony.com>
2369 [Curl] Test gardening
2370 https://bugs.webkit.org/show_bug.cgi?id=188610
2372 Unreviewed test gardening.
2374 Unskip http/tests/cookies.
2376 * platform/wincairo/TestExpectations:
2378 2018-08-15 Basuke Suzuki <Basuke.Suzuki@sony.com>
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
2383 Reviewed by Youenn Fablet.
2385 * platform/wincairo/TestExpectations:
2387 2018-08-15 Per Arne Vollan <pvollan@apple.com>
2389 Layout Test editing/input/press-tab-during-ime-composition.html is failing
2390 https://bugs.webkit.org/show_bug.cgi?id=188600
2392 Unreviewed test gardening.
2394 * platform/win/TestExpectations:
2396 2018-08-15 Wenson Hsieh <wenson_hsieh@apple.com>
2398 [Attachment SPI] Remove attachment display mode options
2399 https://bugs.webkit.org/show_bug.cgi?id=188596
2401 Reviewed by Dan Bernstein.
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.
2406 * fast/attachment/attachment-without-appearance-expected.html: Removed.
2407 * fast/attachment/attachment-without-appearance.html: Removed.
2408 * platform/gtk/TestExpectations:
2410 2018-08-15 Ali Juma <ajuma@chromium.org>
2412 [IntersectionObserver] Do not hold a strong reference to the root element
2413 https://bugs.webkit.org/show_bug.cgi?id=188575
2415 Reviewed by Simon Fraser.
2417 * intersection-observer/root-element-deleted-expected.txt: Added.
2418 * intersection-observer/root-element-deleted.html: Added.
2420 2018-08-14 Zalan Bujtas <zalan@apple.com>
2422 [LFC][Floating] Add support for negative clearance.
2423 https://bugs.webkit.org/show_bug.cgi?id=188555
2425 Reviewed by Simon Fraser.
2427 * fast/block/block-only/margin-collapse-with-clearance-expected.txt: Added.
2428 * fast/block/block-only/margin-collapse-with-clearance.html: Added.
2430 2018-08-14 Ansh Shukla <ansh_shukla@apple.com>
2432 NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
2433 https://bugs.webkit.org/show_bug.cgi?id=186870
2435 Reviewed by Alex Christensen.
2437 Ensure the exposed authentication type to clients is OAuth.
2439 * http/tests/loading/oauth-expected.txt: Added.
2440 * http/tests/loading/oauth.html: Added.
2441 * http/tests/loading/resources/oauth-subresource.php: Added.
2443 2018-08-14 Ryan Haddad <ryanhaddad@apple.com>
2445 Unreviewed test gardening for mac-wk1.
2447 * platform/mac-wk1/TestExpectations:
2449 2018-08-14 Ryan Haddad <ryanhaddad@apple.com>
2451 Mark legacy-animation-engine/animations/combo-transform-translate+scale.html as flaky.
2452 https://bugs.webkit.org/show_bug.cgi?id=185308
2454 Unreviewed test gardening.
2458 2018-08-14 Basuke Suzuki <Basuke.Suzuki@sony.com>
2460 [Curl] Test gardening
2461 https://bugs.webkit.org/show_bug.cgi?id=188587
2463 Unreviewed test gardening.
2465 Added platform dependent expected result.
2467 * platform/wincairo/http/tests/xmlhttprequest/methods-expected.txt: Added.
2469 2018-08-14 Basuke Suzuki <Basuke.Suzuki@sony.com>
2471 [Curl] Implement platform default timeout interval.
2472 https://bugs.webkit.org/show_bug.cgi?id=188565
2474 Reviewed by Alex Christensen.
2476 * platform/wincairo/TestExpectations:
2477 - xmlhttprequest/on-network-timeout-error-during-preflight.html
2479 2018-08-14 Ryan Haddad <ryanhaddad@apple.com>
2481 Mark svg/custom/scrolling-embedded-svg-file-image-repaint-problem.html as flaky.
2482 https://bugs.webkit.org/show_bug.cgi?id=188578
2484 Unreviewed test gardening.
2486 * platform/ios/TestExpectations:
2488 2018-08-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
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
2493 Reviewed by Youenn Fablet.
2495 * http/wpt/workers/promise-unhandled-rejection.any.worker-expected.txt:
2496 * js/dom/unhandled-promise-rejection-bindings-type-error-in-workers-expected.txt:
2498 2018-08-14 Antoine Quint <graouts@apple.com>
2500 [Web Animations] Crash under AnimationTimeline::cancelOrRemoveDeclarativeAnimation()
2501 https://bugs.webkit.org/show_bug.cgi?id=188519
2502 <rdar://problem/43237889>
2504 Reviewed by Eric Carlson.
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
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.
2515 2018-08-14 Zalan Bujtas <zalan@apple.com>
2517 [LFC][Floating] Adjust vertical position with non-collapsing previous sibling margin.
2518 https://bugs.webkit.org/show_bug.cgi?id=188543
2520 Reviewed by Antti Koivisto.
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.
2525 2018-08-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
2527 Worker should support unhandled promise rejections
2528 https://bugs.webkit.org/show_bug.cgi?id=188265
2530 Reviewed by Darin Adler.
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.
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):
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):
2568 2018-08-13 Joseph Pecoraro <pecoraro@apple.com>
2570 [macOS debug] LayoutTest inspector/worker/resources-in-worker.html is a flaky timeout
2571 https://bugs.webkit.org/show_bug.cgi?id=168091
2573 Reviewed by Devin Rousso.
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.
2582 * inspector/dom-debugger/resources/dataXHR.json: Added.
2583 * inspector/dom-debugger/xhr-breakpoints.html:
2584 Load an actual resource.
2586 * platform/gtk/TestExpectations:
2587 * platform/mac/TestExpectations:
2588 This test always passes for me in Release and Debug. Reset expectations.
2590 2018-08-13 Ali Juma <ajuma@chromium.org>
2592 [IntersectionObserver] Validate threshold values
2593 https://bugs.webkit.org/show_bug.cgi?id=188475
2595 Reviewed by Simon Fraser.
2597 Add test coverage for interesting floating point threshold values.
2599 * intersection-observer/intersection-observer-interface-expected.txt:
2600 * intersection-observer/intersection-observer-interface.html:
2602 2018-08-13 Ryan Haddad <ryanhaddad@apple.com>
2604 [iOS] Rebaseline and re-enable svg tests
2605 https://bugs.webkit.org/show_bug.cgi?id=180459
2607 Unreviewed test gardening.
2609 * platform/ios-wk2/TestExpectations:
2610 * platform/ios/TestExpectations:
2613 2018-08-13 Said Abou-Hallawa <sabouhallawa@apple.com>
2615 Followup (r234683): Element::getAttribute() should return the first non-null attribute value
2616 https://bugs.webkit.org/show_bug.cgi?id=188419
2618 Reviewed by Darin Adler.
2620 * svg/custom/href-svg-namespace-empty-expected.txt: Added.
2621 * svg/custom/href-svg-namespace-empty.html: Added.
2623 2018-08-13 Zalan Bujtas <zalan@apple.com>
2625 [LFC][Floating] Add basic clearance support
2626 https://bugs.webkit.org/show_bug.cgi?id=188492
2628 Reviewed by Antti Koivisto.
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.
2633 2018-08-13 Zan Dobersek <zdobersek@igalia.com>
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
2640 * platform/wpe/TestExpectations:
2641 * platform/wpe/fast/dom/: Necessary test expectations added.
2643 2018-08-13 Zan Dobersek <zdobersek@igalia.com>
2645 Unreviewed WPE gardening.
2647 Removed an unnecessary block of skipped tests that cover WebCrypto API
2648 support for 521-bit EC keys. All these tests pass.
2650 Removed unnecessary pass directives for imported WPT tests. Moved
2651 related flaky or skipped tests into appropriate sections.
2653 Also adjusted a few other expectations, moving them into the appropriate
2654 section or just removing them for being outdated or duplicates.
2656 * platform/wpe/TestExpectations:
2658 2018-08-13 Zan Dobersek <zdobersek@igalia.com>
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.
2664 * platform/wpe/TestExpectations:
2666 2018-08-12 Michael Catanzaro <mcatanzaro@igalia.com>
2668 Unreviewed GTK test gardening
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:
2674 2018-08-12 Yusuke Suzuki <yusukesuzuki@slowstart.org>
2676 Break reference cycle in ErrorEvent by using JSValueInWrappedObject
2677 https://bugs.webkit.org/show_bug.cgi?id=188491
2679 Reviewed by Darin Adler.
2681 * fast/dom/reference-cycle-leaks-expected.txt:
2683 2018-08-12 Aditya Keerthi <akeerthi@apple.com>
2685 [macOS] Color wells should appear pressed when presenting a color picker
2686 https://bugs.webkit.org/show_bug.cgi?id=188477
2688 Reviewed by Tim Horton.
2690 Rebaseline tests to match new color-well appearance.
2692 * platform/mac/fast/forms/color/input-appearance-color-expected.png:
2693 * platform/mac/fast/forms/color/input-appearance-color-expected.txt:
2695 2018-08-12 Zalan Bujtas <zalan@apple.com>
2697 [LFC] Float prev/next sibling should prevent top/bottom margin collapsing with parent.
2698 https://bugs.webkit.org/show_bug.cgi?id=188487
2700 Reviewed by Antti Koivisto.
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.
2705 2018-08-10 Joseph Pecoraro <pecoraro@apple.com>
2707 Web Inspector: console.log fires getters for deep properties
2708 https://bugs.webkit.org/show_bug.cgi?id=187542
2709 <rdar://problem/42873158>
2711 Reviewed by Saam Barati.
2713 * inspector/injected-script/avoid-getter-invocation-expected.txt: Added.
2714 * inspector/injected-script/avoid-getter-invocation.html: Added.
2716 2018-08-10 Joseph Pecoraro <pecoraro@apple.com>
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>
2722 Reviewed by Brian Burg.
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
2729 * platform/gtk/TestExpectations:
2730 * platform/mac/TestExpectations:
2731 This test always passes for me in Release and Debug. Reset expectations.
2733 2018-08-10 Chris Dumez <cdumez@apple.com>
2735 Crash under NetworkResourceLoader::convertToDownload()
2736 https://bugs.webkit.org/show_bug.cgi?id=188479
2737 <rdar://problem/42201724>
2739 Reviewed by Alex Christensen.
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
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.
2749 2018-08-10 Ross Kirsling <ross.kirsling@sony.com>
2751 [WinCairo] More unreviewed gardening.
2753 * platform/wincairo/TestExpectations:
2755 2018-08-10 Basuke Suzuki <Basuke.Suzuki@sony.com>
2757 [LayoutTests] Suppress warning messages generated by the test scripts.
2758 https://bugs.webkit.org/show_bug.cgi?id=188455
2760 Reviewed by Fujii Hironori.
2762 The messages such as warnings shouldn't be out on error log if that can be avoidable.
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:
2770 2018-08-10 Daniel Bates <dabates@apple.com>
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
2775 Reviewed by Simon Fraser.
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
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.
2787 2018-08-10 Ali Juma <ajuma@chromium.org>
2789 [IntersectionObserver] Implement rootMargin parsing
2790 https://bugs.webkit.org/show_bug.cgi?id=188469
2792 Reviewed by Darin Adler.
2794 * intersection-observer/intersection-observer-interface-expected.txt:
2795 * intersection-observer/intersection-observer-interface.html:
2797 2018-08-10 Joseph Pecoraro <pecoraro@apple.com>
2799 Eliminate remaining instances of "ElCapitan" from LayoutTests / Tools
2800 https://bugs.webkit.org/show_bug.cgi?id=188458
2802 Reviewed by Alex Christensen.
2804 * platform/mac-wk1/TestExpectations:
2805 * platform/mac-wk2/TestExpectations:
2806 * platform/mac/TestExpectations:
2808 2018-08-10 Ross Kirsling <ross.kirsling@sony.com>
2810 [WinCairo] Unreviewed layout test gardening.
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.
2837 2018-08-09 Basuke Suzuki <Basuke.Suzuki@sony.com>
2839 [LayoutTests] Test case which committed on r175053 was wrong.
2840 https://bugs.webkit.org/show_bug.cgi?id=188454
2842 Reviewed by Fujii Hironori.
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.
2848 * http/tests/xmlhttprequest/cross-origin-redirect-responseURL-expected.txt:
2849 * http/tests/xmlhttprequest/cross-origin-redirect-responseURL.html:
2851 2018-08-09 Joseph Pecoraro <pecoraro@apple.com>
2853 Remove ElCapitan specific layout test expectations
2854 https://bugs.webkit.org/show_bug.cgi?id=188457
2856 Reviewed by Alex Christensen.
2858 * platform/mac-wk1/TestExpectations:
2859 * platform/mac-wk2/TestExpectations:
2860 * platform/mac/TestExpectations:
2862 2018-08-09 Basuke Suzuki <Basuke.Suzuki@sony.com>
2864 [Curl] Test gardening
2865 https://bugs.webkit.org/show_bug.cgi?id=188456
2867 Unreviewed test gardening.
2869 Unskip http/xmlhttprequest.
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.
2877 2018-08-09 Truitt Savell <tsavell@apple.com>
2879 REGRESSION (r234330): 3 legacy-animation-engine/compositing tests are flaky failures
2880 https://bugs.webkit.org/show_bug.cgi?id=188357
2882 Unreviewed test gardening.
2884 * platform/mac-wk1/TestExpectations:
2886 2018-08-09 Ali Juma <ajuma@chromium.org>
2888 Update IDL for IntersectionObserverEntry and IntersectionObserverEntryInit
2889 https://bugs.webkit.org/show_bug.cgi?id=188445
2891 Reviewed by Simon Fraser.
2893 * intersection-observer/intersection-observer-entry-interface-expected.txt:
2894 * intersection-observer/intersection-observer-entry-interface.html:
2896 2018-08-08 Keith Miller <keith_miller@apple.com>
2898 Array.prototype.sort should call @toLength instead of ">>> 0"
2899 https://bugs.webkit.org/show_bug.cgi?id=188430
2901 Reviewed by Saam Barati.
2903 Remove invalid conformance test expectations. Array.prototype.sort calls toLength, which
2904 does not truncate integers.
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:
2910 2018-08-09 Miguel Gomez <magomez@igalia.com>
2912 Unreviewed GTK+ gardening after r234720.
2914 * platform/gtk/TestExpectations:
2915 * platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt:
2917 2018-08-09 Zan Dobersek <zdobersek@igalia.com>
2919 Unreviewed GTK+ and WPE gardening. Add a reftest failure expectation.
2920 Update a WPT EME test baseline for the WPE port.
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:
2926 2018-08-08 Ryosuke Niwa <rniwa@webkit.org>
2928 REGRESSION (r228260): Events handled by input method invoke default event handler
2929 https://bugs.webkit.org/show_bug.cgi?id=188370
2931 Reviewed by Wenson Hsieh.
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.
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:
2941 2018-08-08 Basuke Suzuki <Basuke.Suzuki@sony.com>
2943 [Curl] Test gardening
2944 https://bugs.webkit.org/show_bug.cgi?id=188420
2946 Unreviewed test gardening.
2948 Fix test result after r234607 landed. Part 1 for http/tests
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:
2956 2018-08-08 Joseph Pecoraro <pecoraro@apple.com>
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>
2962 Reviewed by Devin Rousso.
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.
2968 2018-08-08 Truitt Savell <tsavell@apple.com>
2970 Adjusting test expectations for imported/blink/fast/text/international-iteration-simple-text.html
2971 https://bugs.webkit.org/show_bug.cgi?id=179853
2973 Unreviewed test gardening.
2975 * platform/ios-wk2/TestExpectations:
2976 * platform/mac-wk1/TestExpectations:
2978 2018-08-08 Ms2ger <Ms2ger@igalia.com>
2980 [GTK] Unreviewed test gardening
2981 https://bugs.webkit.org/show_bug.cgi?id=188409
2983 Unreviewed test gardening.
2985 * platform/gtk/TestExpectations: Remove expectations for now-passing tests.
2987 2018-08-08 Wenson Hsieh <wenson_hsieh@apple.com>
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>
2993 Reviewed by Ryosuke Niwa.
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.
2999 * fast/events/ios/contenteditable-autocapitalize.html:
3000 * platform/ios/TestExpectations:
3002 Remove the failing test expecation.
3004 2018-08-08 Manuel Rego Casasnovas <rego@igalia.com>
3006 [css-grid] Update behavior of percentage row tracks and gutters
3007 https://bugs.webkit.org/show_bug.cgi?id=188403
3009 Reviewed by Sergio Villar Senin.
3011 Update tests as needed according to the new behavior.
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:
3029 2018-08-07 Chris Dumez <cdumez@apple.com>
3031 navigator.sendBeacon does not work in pagehide callbacks
3032 https://bugs.webkit.org/show_bug.cgi?id=188329
3034 Reviewed by Alex Christensen.
3036 Add layout test coverage.
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.
3042 2018-08-07 Said Abou-Hallawa <sabouhallawa@apple.com>
3044 Allow href attribute without xlink on SVG elements
3045 https://bugs.webkit.org/show_bug.cgi?id=153854
3047 Reviewed by Dean Jackson.
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.
3062 2018-08-07 Ryosuke Niwa <rniwa@webkit.org>
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>
3068 Reviewed by Frédéric Wang.
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.
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.
3079 2018-08-07 Rob Buis <rbuis@igalia.com>
3081 fetch() with subresource integrity crashes on zero length body
3082 https://bugs.webkit.org/show_bug.cgi?id=184325
3084 Reviewed by Alex Christensen.
3086 Add a subtest for zero length resources.
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:
3093 2018-08-07 Commit Queue <commit-queue@webkit.org>
3095 Unreviewed, rolling out r234669.
3096 https://bugs.webkit.org/show_bug.cgi?id=188390
3098 Didn't commit the actual change (Requested by rniwa on
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
3108 2018-08-07 Ryosuke Niwa <rniwa@webkit.org>
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>
3114 Reviewed by Frédéric Wang.
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.
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.
3125 2018-08-07 Wenson Hsieh <wenson_hsieh@apple.com>
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>
3131 Reviewed by Simon Fraser.
3133 Add 2 new layout tests to cover the original bug that r233778 fixed, as well as the regression in this bug.
3135 * editing/selection/ios/selection-handles-in-iframe-expected.txt: Added.
3136 * editing/selection/ios/selection-handles-in-iframe.html: Added.
3138 Add a test to verify that the user can select text in an iframe by dragging selection handles.
3140 * editing/selection/ios/selection-handles-in-readonly-input-expected.txt: Added.
3141 * editing/selection/ios/selection-handles-in-readonly-input.html: Added.
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.
3146 2018-08-07 Alex Christensen <achristensen@webkit.org>
3148 Fix things after r234640
3149 https://bugs.webkit.org/show_bug.cgi?id=188133
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.
3154 2018-08-07 Yusuke Suzuki <yusukesuzuki@slowstart.org>
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
3159 Unreviewed test gardening, marked test as flaky because the test is wrong.
3163 2018-08-06 Simon Fraser <simon.fraser@apple.com>
3165 De-flake some animation tests
3166 https://bugs.webkit.org/show_bug.cgi?id=188356
3168 Reviewed by Dean Jackson.
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.
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:
3179 2018-08-06 Alex Christensen <achristensen@webkit.org>
3181 Check with SafeBrowsing during navigation in WKWebView
3182 https://bugs.webkit.org/show_bug.cgi?id=188133
3184 Reviewed by Andy Estes.
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
3197 2018-08-06 Ryosuke Niwa <rniwa@webkit.org>
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
3202 Remove the timeout expectation now that the test is passing on debug bots.
3206 2018-08-04 Ryosuke Niwa <rniwa@webkit.org>
3208 Add CEReactions=NotNeeded for reactions only needed for customized builtins
3209 https://bugs.webkit.org/show_bug.cgi?id=187851
3211 Reviewed by Chris Dumez.
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
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.
3220 2018-08-06 Matt Baker <mattbaker@apple.com>
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>
3226 Reviewed by Joseph Pecoraro.
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.
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.
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.
3242 * inspector/debugger/async-stack-trace.html: Removed.
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.
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.
3258 * platform/mac/TestExpectations:
3260 2018-08-06 Daniel Bates <dabates@apple.com>
3262 Setting table layout to fixed causes incorrect cell width calculations
3263 https://bugs.webkit.org/show_bug.cgi?id=90068
3265 Reviewed by Simon Fraser.
3267 Derived from the test case written by Pravin D.
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.
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.
3275 2018-08-06 Daniel Bates <dabates@apple.com>
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
3280 Reviewed by Alexey Proskuryakov.
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>
3293 * platform/mac/TestExpectations: Ditto.
3295 2018-08-06 Ryosuke Niwa <rniwa@webkit.org>
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
3300 Reviewed by Saam Barati.
3302 Rely on GCController.collect() instead of allocating 1,000,000 objects in WebKitTestRunner / DumpRenderTree
3303 so that debug builders won't timeout.
3305 * fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html:
3307 2018-08-06 Ryosuke Niwa <rniwa@webkit.org>
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
3312 Add a timeout expectation to the test while I verify the fix for the test.
3316 2018-08-03 Ryan Haddad <ryanhaddad@apple.com>
3318 Unreviewed test gardening for mac-wk1.
3320 * platform/mac-wk1/TestExpectations:
3322 2018-08-06 Aditya Keerthi <akeerthi@apple.com>
3324 [iOS] Indeterminate checkboxes appear unchecked
3325 https://bugs.webkit.org/show_bug.cgi?id=160484
3326 <rdar://problem/31143185>
3328 Reviewed by Wenson Hsieh.
3330 Added reftest to ensure that the indeterminate checkbox does not appear the same
3331 as an unchecked checkbox.
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.
3337 2018-08-06 Truitt Savell <tsavell@apple.com>
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
3342 Unreviewed test gardening.
3344 * platform/wk2/TestExpectations:
3346 2018-08-06 Wenson Hsieh <wenson_hsieh@apple.com>
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>
3352 Reviewed by Tim Horton.
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.
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:
3366 Removes a [Timeout] expectation.
3368 * resources/ui-helper.js:
3369 (window.UIHelper.typeCharacter):
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.
3374 (window.UIHelper.applyAutocorrection):
3376 Add a new UIHelper method that wraps UIScriptController::applyAutocorrection. Only supported in WebKit2
3381 2018-08-06 Wenson Hsieh <wenson_hsieh@apple.com>
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>
3387 Reviewed by Tim Horton.
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.
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:
3396 Skip iOS selection tests on Windows.
3398 * resources/ui-helper.js:
3400 Introduces new hooks in UIHelper to grab the frames of the start and end selection handle views.
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):
3409 2018-08-06 Claudio Saavedra <csaavedra@igalia.com>
3411 [WPE] New webgl 2.0 failures.
3413 Unreviewed gardening.
3414 * platform/wpe/TestExpectations: Two webgl 2.0 tests are failing,
3417 2018-08-06 Claudio Saavedra <csaavedra@igalia.com>
3419 [GTK] Skip new webgl 2.0 tests. Unreviewed gardening.
3421 * platform/gtk/TestExpectations: Expanded webgl 2.0 skipped
3422 test to include all, since there were new failures.
3424 2018-08-06 Frederic Wang <fwang@igalia.com>
3426 ASSERTION !data.customElementReactionQueue() when creating custom element inside an SVG document
3427 https://bugs.webkit.org/show_bug.cgi?id=187802
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.
3432 Reviewed by Ryosuke Niwa.
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.
3438 2018-08-05 Yusuke Suzuki <utatane.tea@gmail.com>
3440 Implement self.queueMicrotask in Workers
3441 https://bugs.webkit.org/show_bug.cgi?id=188247
3443 Reviewed by Ryosuke Niwa.
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.
3450 (queueMicrotask.promise_test):
3452 * http/wpt/workers/queue-microtask.any.worker-expected.txt: Added.
3453 * http/wpt/workers/queue-microtask.any.worker.html: Added.
3455 2018-08-05 Rob Buis <rbuis@igalia.com>
3457 [GTK][WPE] Fetch tests assert in SubresourceLoader::didReceiveResponse()
3458 https://bugs.webkit.org/show_bug.cgi?id=188163
3460 Reviewed by Frédéric Wang.
3462 Unskip since this will not crash in Debug anymore.
3464 * platform/wpe/TestExpectations:
3466 2018-08-05 Yusuke Suzuki <utatane.tea@gmail.com>
3468 Add support for microtasks in workers
3469 https://bugs.webkit.org/show_bug.cgi?id=188246
3471 Reviewed by Darin Adler.
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.
3477 * http/wpt/workers/microtasks.any.worker-expected.txt: Added.
3478 * http/wpt/workers/microtasks.any.worker.html: Added.
3480 2018-08-05 Philippe Normand <pnormand@igalia.com>
3482 [MediaCapabilities] Platform integration
3483 https://bugs.webkit.org/show_bug.cgi?id=187850
3485 Reviewed by Eric Carlson.
3487 Mock tests for the MediaCapabilities specification.
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):
3496 2018-08-03 Ryosuke Niwa <rniwa@webkit.org>
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>
3502 Reviewed by Saam Barati.
3504 Added a regression test.
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.
3509 2018-08-03 Justin Fan <justin_fan@apple.com>
3511 WebGL 2 conformance: vertex_arrays/vertex_array_object.html
3512 https://bugs.webkit.org/show_bug.cgi?id=188291
3513 <rdar://problem/42792709>
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.
3518 Reviewed by Dean Jackson.
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: