blob: b8317287d67e32ca5735031eb65be27f99ac5731 [file] [log] [blame]
2018-09-11 Ms2ger <Ms2ger@igalia.com>
Update idlharness.js and webidl2.js.
https://bugs.webkit.org/show_bug.cgi?id=189303
Reviewed by Youenn Fablet.
Updated expectations.
* http/wpt/credential-management/idl.https-expected.txt:
* http/wpt/entries-api/interfaces-expected.txt:
* http/wpt/webauthn/idl.https-expected.txt:
* http/wpt/webauthn/idl.https.html: Fix confusion in untested IDLs.
* platform/ios-wk2/imported/w3c/web-platform-tests/web-share/idlharness.https-expected.txt:
* platform/mac/imported/w3c/web-platform-tests/media-source/interfaces-expected.txt: Removed; the platform-neutral file was updated.
2018-09-11 Jiewen Tan <jiewen_tan@apple.com>
[WebAuthN] Polish AuthenticatorManager and rename it to AuthenticatorCoordinator
https://bugs.webkit.org/show_bug.cgi?id=189277
<rdar://problem/44115936>
Reviewed by Chris Dumez.
* http/wpt/credential-management/credentialscontainer-store-basics.https.html:
* http/wpt/webauthn/idl.https.html:
* http/wpt/webauthn/public-key-credential-create-failure.https.html:
* http/wpt/webauthn/public-key-credential-create-success.https.html:
* http/wpt/webauthn/public-key-credential-get-failure.https.html:
* http/wpt/webauthn/public-key-credential-get-success.https.html:
* http/wpt/webauthn/public-key-is-user-verifying-platform-authenticator-available.html:
2018-09-10 Michael Saboff <msaboff@apple.com>
Test262 failure with Named Capture Groups - using a reference before the group is defined
https://bugs.webkit.org/show_bug.cgi?id=189407
Reviewed by Alex Christensen.
Updated tests.
* js/regexp-named-capture-groups-expected.txt:
* js/script-tests/regexp-named-capture-groups.js:
2018-09-10 Ryosuke Niwa <rniwa@webkit.org>
Update shadow DOM and custom elements tests
https://bugs.webkit.org/show_bug.cgi?id=189494
Reviewed by Youenn Fablet.
Skip the test hitting a debug assertion until the bug 189493 is fixed.
* TestExpectations:
2018-09-10 Truitt Savell <tsavell@apple.com>
Rebaseline test after https://trac.webkit.org/changeset/235866/webkit.
https://bugs.webkit.org/show_bug.cgi?id=189178.
Unreviewed Test Gardening.
* platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
2018-09-10 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed test gardening, rebaseline fast/events/ios/keyup.html after r235818.
* fast/events/ios/keyup-expected.txt:
2018-09-10 Youenn Fablet <youenn@apple.com>
ontrack events should be fired even if an existing transceiver exists
https://bugs.webkit.org/show_bug.cgi?id=189477
Reviewed by Eric Carlson.
* webrtc/video-addLegacyTransceiver-expected.txt: Added.
* webrtc/video-addLegacyTransceiver.html: Copied from LayoutTests/webrtc/video-addTransceiver.html.
* webrtc/video-addTransceiver.html:
2018-09-10 Megan Gardner <megan_gardner@apple.com>
Correctly interpret from angle for conic gradients
https://bugs.webkit.org/show_bug.cgi?id=189445
<rdar://problem/44158271>
Reviewed by Tim Horton.
Adding a test for a conic gradient that starts at an angle.
Cover the edges because triangles and conic gradients aren't rendered
exactly the same.
* TestExpectations:
* fast/gradients/conic-from-angle-expected.html: Added.
* fast/gradients/conic-from-angle.html: Added.
* platform/ios-12/TestExpectations:
* platform/mac/TestExpectations:
2018-09-10 James Savage <james.savage@apple.com>
Expose -apple-system-container-border color to internal web views.
https://bugs.webkit.org/show_bug.cgi?id=189178.
Reviewed by Timothy Hatcher.
* fast/css/apple-system-control-colors-expected.txt:
* fast/css/apple-system-control-colors.html:
* platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
* platform/mac-sierra/fast/css/apple-system-control-colors-expected.txt:
* platform/mac/fast/css/apple-system-control-colors-expected.txt:
2018-09-07 Ryosuke Niwa <rniwa@webkit.org>
mouseenter and mouseleave events don't get dispatched even when there is a capturing event listener for a slot ancestor
https://bugs.webkit.org/show_bug.cgi?id=188561
Reviewed by Darin Adler.
Added tests for listening to mouseenter and mouseleave events using capturing and bubbling event listeners
across shadow boundaries.
* fast/shadow-dom/mouseenter-mouseleave-across-shadow-boundary-expected.txt: Added.
* fast/shadow-dom/mouseenter-mouseleave-across-shadow-boundary.html: Added.
* fast/shadow-dom/mouseenter-mouseleave-inside-shadow-tree-expected.txt: Added.
* fast/shadow-dom/mouseenter-mouseleave-inside-shadow-tree.html: Added.
* fast/shadow-dom/mouseenter-mouseleave-on-slot-parent-expected.txt: Added.
* fast/shadow-dom/mouseenter-mouseleave-on-slot-parent.html: Added.
* platform/ios/TestExpectations: Skip the new tests since mouse events aren't supported on iOS.
2018-09-10 Daniel Bates <dabates@apple.com>
[iOS] Arrow keys do not dispatch DOM events to non-editable elements
https://bugs.webkit.org/show_bug.cgi?id=189389
Reviewed by Simon Fraser.
Update expected result now that we compute the correct keyIdentifier, keycode, and which properties
for DOM keyboard events dispatched when the arrow keys are pressed.
* fast/events/ios/keydown-keyup-in-non-editable-content-expected.txt:
2018-09-10 Daniel Bates <dabates@apple.com>
[iOS] Make WKWebView become the first responder to support testing key presses to non-editable elements
https://bugs.webkit.org/show_bug.cgi?id=189432
Reviewed by Simon Fraser.
Add a test that DOM keyboard events are dispatched to a non-editable <body> when simulating key
presses using a hardware keyboard.
* fast/events/ios/keydown-keyup-in-non-editable-content-expected.txt: Added.
* fast/events/ios/keydown-keyup-in-non-editable-content.html: Added.
2018-09-10 Andy Estes <aestes@apple.com>
[Payment Request] Use JSValueInWrappedObject for PaymentResponse's details attribute
https://bugs.webkit.org/show_bug.cgi?id=189458
Reviewed by Youenn Fablet.
* fast/dom/reference-cycle-leaks.html:
* http/tests/paymentrequest/payment-response-reference-cycle-leak.https-expected.txt: Added.
* http/tests/paymentrequest/payment-response-reference-cycle-leak.https.html: Added.
2018-09-10 Frederic Wang <fwang@igalia.com>
[CSSOM View] Handle the scrollingElement in Element::scroll(Left/Top/Width/Height/To)
https://bugs.webkit.org/show_bug.cgi?id=182230
Follow-up patch replacing document.body with document.scrollingElement in
fast-scroll-iframe-latched-mainframe.html. This fixes flaky behavior.
Reviewed by Antonio Gomes.
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe.html: Replace document.body
with document.scrollingElement since this document is in standard mode.
2018-09-10 Antoine Quint <graouts@apple.com>
[Web Animations] Positive delays of accelerated animations are not respected
https://bugs.webkit.org/show_bug.cgi?id=189411
<rdar://problem/44151416>
Reviewed by Dean Jackson.
Add a test that checks that positive delays are accounted for during accelerated actions, including a seek.
* webanimations/accelerated-animation-with-delay-and-seek-expected.html: Added.
* webanimations/accelerated-animation-with-delay-and-seek.html: Added.
2018-09-10 Per Arne Vollan <pvollan@apple.com>
[Windows] Layout Test webanimations/accelerated-transition-interrupted-on-composited-element.html is failing
https://bugs.webkit.org/show_bug.cgi?id=189468
Unreviewed test gardening.
The test is timing out. Skip it on Windows.
* platform/win/TestExpectations:
2018-09-10 Philippe Normand <pnormand@igalia.com>
[GStreamer] Several media related tests timing out around the same revision
https://bugs.webkit.org/show_bug.cgi?id=189349
Reviewed by Carlos Garcia Campos.
* platform/gtk/TestExpectations: Unflag Timeout from now-unaffected tests.
2018-09-10 Rob Buis <rbuis@igalia.com>
XMLHttpRequest: overrideMimeType should not update the response's "Content-Type" header
https://bugs.webkit.org/show_bug.cgi?id=189465
Reviewed by Frédéric Wang.
Change existing test to reflect new behavior.
* http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt:
* http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html:
2018-09-10 Antoine Quint <graouts@apple.com>
[Web Animations] Interrupting an accelerated CSS transition on a composited element in flight fails
https://bugs.webkit.org/show_bug.cgi?id=189405
<rdar://problem/43342639>
Reviewed by Simon Fraser.
Add a new test that checks that interrupting a CSS transition targeting an accelerated property for an element
that is composited outside the duration of the transition correctly interrupts the animation and jumps straight
to the target value.
* platform/win/TestExpectations:
* webanimations/accelerated-transition-interrupted-on-composited-element-expected.html: Added.
* webanimations/accelerated-transition-interrupted-on-composited-element.html: Added.
2018-09-08 Wenson Hsieh <wenson_hsieh@apple.com>
REGRESSION (r235153): [iOS] Can't move selection start grabber when selecting text in a subframe
https://bugs.webkit.org/show_bug.cgi?id=189454
<rdar://problem/44265956>
Reviewed by Darin Adler.
Adds a test that selects a word inside an iframe, moves the selection start handle down past the selection end,
and then moves the selection end handle up above the selection start. The test verifies that the entire word
remains selected.
* editing/selection/ios/selection-handle-clamping-in-iframe-expected.txt: Added.
* editing/selection/ios/selection-handle-clamping-in-iframe.html: Added.
2018-09-08 Andy Estes <aestes@apple.com>
[Apple Pay] Dispatch a paymentmethodchange event when the payment method changes
https://bugs.webkit.org/show_bug.cgi?id=189386
Reviewed by Darin Adler.
* fast/dom/reference-cycle-leaks-expected.txt:
* fast/dom/reference-cycle-leaks.html:
* http/tests/ssl/applepay/ApplePayPaymentMethodChangeEvent.https-expected.txt: Added.
* http/tests/ssl/applepay/ApplePayPaymentMethodChangeEvent.https.html: Added.
* platform/ios-wk2/fast/dom/reference-cycle-leaks-expected.txt: Added.
* platform/mac-wk2/fast/dom/reference-cycle-leaks-expected.txt: Added.
2018-09-07 Basuke Suzuki <Basuke.Suzuki@sony.com>
[LayoutTests] Add digest access authentication test.
https://bugs.webkit.org/show_bug.cgi?id=189286
Reviewed by Alex Christensen.
Add digest auth tests
* http/tests/resources/digest-auth/authorize.php: Added.
* http/tests/resources/digest-auth/digest.php: Added.
* http/tests/xmlhttprequest/digest-auth-expected.txt: Added.
* http/tests/xmlhttprequest/digest-auth.html: Added.
2018-09-07 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Stop sending request with credential if no authorization requested.
https://bugs.webkit.org/show_bug.cgi?id=189057
Reviewed by Alex Christensen.
* http/tests/xmlhttprequest/resources/no-authenticate-header-401.php: Added.
* http/tests/xmlhttprequest/unauthorized-without-authenticate-header-expected.txt: Added.
* http/tests/xmlhttprequest/unauthorized-without-authenticate-header.html: Added.
2018-09-07 Youenn Fablet <youenn@apple.com>
Tests checking document GC in case of ActiveDOMObjects are flaky
https://bugs.webkit.org/show_bug.cgi?id=189413
Reviewed by Eric Carlson.
Instead of calling parent.done() use postMessage.
The assumption is that GC might not always collect 'parent' as it is in the call stack.
With postMessage, no flakiness is observed locally.
Added a related MediaDevices test that was missing from r235438.
* http/tests/IndexedDB/collect-IDB-objects.https.html:
* http/tests/IndexedDB/resources/myidbframe.htm:
* http/tests/media/clearkey/collect-webkit-media-session.html:
* http/tests/media/clearkey/resources/mywebkitmediasessionframe.htm:
* http/tests/media/media-stream/collect-media-devices.https-expected.txt: Added.
* http/tests/media/media-stream/collect-media-devices.https.html: Added.
* http/tests/media/media-stream/resources/mymediadevicesframe.htm: Added.
2018-09-07 Daniel Bates <dabates@apple.com>
[iOS] uiController.typeCharacterUsingHardwareKeyboard("`", ...) dispatches DOM key events for ~
https://bugs.webkit.org/show_bug.cgi?id=189325
Reviewed by Wenson Hsieh.
Add a test to ensure that we dispatch the correct DOM key events when using uiController.typeCharacterUsingHardwareKeyboard("`")
(by way of UIHelper.typeCharacter()).
* fast/events/ios/keypress-grave-accent-expected.txt: Added.
* fast/events/ios/keypress-grave-accent.html: Added.
2018-09-07 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl][WebKitLegacy] Stop sending credential embedded in the url via XHR.
https://bugs.webkit.org/show_bug.cgi?id=189198
Reviewed by Alexey Proskuryakov.
* http/tests/xmlhttprequest/resources/url-with-credentials/authenticate.php: Added.
* http/tests/xmlhttprequest/resources/url-with-credentials/authorize.php: Added.
* http/tests/xmlhttprequest/url-with-credentials-expected.txt: Added.
* http/tests/xmlhttprequest/url-with-credentials.html: Added.
2018-09-07 Youenn Fablet <youenn@apple.com>
Add support for unified plan transceivers
https://bugs.webkit.org/show_bug.cgi?id=189390
Reviewed by Eric Carlson.
Update tests using mock to enforce plan B for now until unified plan mocks are supported.
* fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt:
* fast/mediastream/RTCPeerConnection-icecandidate-event.html:
* fast/mediastream/RTCPeerConnection-iceconnectionstatechange-event.html:
* fast/mediastream/RTCPeerConnection-inspect-answer.html:
* fast/mediastream/RTCPeerConnection-inspect-offer.html:
* fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html:
* fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html:
* fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid.html:
* fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html:
* fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html:
* webrtc/calling-peerconnection-once-closed.html:
Once closed, addTransceiver is expected to throw.
* webrtc/libwebrtc/release-while-creating-offer.html:
* webrtc/libwebrtc/release-while-getting-stats.html:
* webrtc/libwebrtc/release-while-setting-local-description.html:
* webrtc/video-getParameters.html: sender and receiver parameters are no longer the same.
Testing them individually.
* webrtc/video-with-receiver.html:
Test is working only with legacy mode.
2018-09-07 Frederic Wang <fwang@igalia.com>
[CSSOM View] Handle the scrollingElement in Element::scroll(Left/Top/Width/Height/To)
https://bugs.webkit.org/show_bug.cgi?id=182230
Reviewed by Simon Fraser.
This commit updates some tests to work when CSSOMViewScrollingAPI is enabled.
* TestExpectations: Enable web-platform-tests/cssom-view/scrollingElement.html.
* fast/dom/Document/scrollingElement-quirks-mode.html: Do not enable explictly enable
CSSOMViewScrollingAPI.
* fast/dom/Document/scrollingElement-standards-mode.html: Ditto.
* fast/dom/Element/body-scrollLeft-expected.txt: Updated to follow the CSSOMView spec.
* fast/dom/Element/body-scrollLeft.html: Ditto.
* fast/dom/Element/body-scrollTop-expected.txt: Ditto.
* fast/dom/Element/body-scrollTop.html: Ditto.
* fast/dom/Element/documentElement-scrollLeft-expected.txt: Ditto.
* fast/dom/Element/documentElement-scrollLeft.html: Ditto.
* fast/dom/Element/documentElement-scrollTop-expected.txt: Ditto.
* fast/dom/Element/documentElement-scrollTop.html: Ditto.
* fast/dom/Element/scrollLeft-expected.txt: Ditto.
* fast/dom/Element/scrollLeft.html: Ditto.
* fast/dom/Element/scrollTop-expected.txt: Ditto.
* fast/dom/Element/scrollTop.html: Ditto.
* fast/dom/Element/scrolling-funtions-on-body-expected.txt: Ditto.
* fast/dom/Element/scrolling-funtions-on-body.html: Ditto.
* platform/ios/TestExpectations: Add expectation for one WPT test that was already failing
on iOS.
* platform/ios/ios/fast/coordinates/page-offsets-expected.txt: Use documentElement instead
of body for this test when running in standard mode.
* platform/ios/ios/fast/coordinates/resources/helpers.js: Ditto.
(verifyScrollOffsets):
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe.html: Use
document.scrollingElement instead of document.body to access viewport scroll offset.
2018-09-07 Zalan Bujtas <zalan@apple.com>
[iOS] Unreviewed test gardening.
* platform/ios/TestExpectations:
2018-09-06 Zalan Bujtas <zalan@apple.com>
[LFC] Add support for min/max-height percentage values.
https://bugs.webkit.org/show_bug.cgi?id=189391
Reviewed by Antti Koivisto.
* fast/block/block-only/min-max-height-percentage-expected.txt: Added.
* fast/block/block-only/min-max-height-percentage.html: Added.
2018-09-06 Megan Gardner <megan_gardner@apple.com>
Add Support for Conic Gradients
https://bugs.webkit.org/show_bug.cgi?id=189329
<rdar://problem/21444701>
Reviewed by Simon Fraser.
Simple tests to see if conic gradients are rendered properly.
* fast/gradients/conic-expected.html: Added.
* fast/gradients/conic-repeating-expected.html: Added.
* fast/gradients/conic-repeating.html: Added.
* fast/gradients/conic.html: Added.
2018-09-06 Zalan Bujtas <zalan@apple.com>
[LFC][BFC] Add support for min(max)-height
https://bugs.webkit.org/show_bug.cgi?id=189377
Reviewed by Antti Koivisto.
* fast/block/block-only/absolute-position-min-max-height-expected.txt: Added.
* fast/block/block-only/absolute-position-min-max-height.html: Added.
* fast/block/block-only/float-min-max-height-expected.txt: Added.
* fast/block/block-only/float-min-max-height.html: Added.
* fast/block/block-only/inflow-min-max-height-expected.txt: Added.
* fast/block/block-only/inflow-min-max-height.html: Added.
2018-09-06 Daniel Bates <dabates@apple.com>
[iOS] Add a test to ensure that DOM keyup events have the correct details
https://bugs.webkit.org/show_bug.cgi?id=189327
Reviewed by Wenson Hsieh.
Until we fix <rdar://problem/35282761> DOM keyup events will have incorrect details on iOS
when dispatched in response to a hardware keyboard press. For now, land expected failure results.
* fast/events/ios/keyup-expected.txt: Added.
* fast/events/ios/keyup.html: Added.
* resources/ui-helper.js:
(window.UIHelper.typeCharacter): Escape backslash characters in order to build up
a well-formed UI script to evaluate.
2018-09-06 Andy Estes <aestes@apple.com>
[Apple Pay] Rename the -apple-pay-button-type value "checkout" to "check-out"
https://bugs.webkit.org/show_bug.cgi?id=189366
<rdar://problem/44193218>
Reviewed by Sam Weinig.
* http/tests/ssl/applepay/ApplePayButtonV4.html:
2018-09-06 Zalan Bujtas <zalan@apple.com>
[LFC][BFC] Add support for min(max)-width
https://bugs.webkit.org/show_bug.cgi?id=189358
Reviewed by Antti Koivisto.
* fast/block/block-only/absolute-position-min-max-width-expected.txt: Added.
* fast/block/block-only/absolute-position-min-max-width.html: Added.
* fast/block/block-only/float-min-max-width-expected.txt: Added.
* fast/block/block-only/float-min-max-width.html: Added.
* fast/block/block-only/inflow-min-max-width-expected.txt: Added.
* fast/block/block-only/inflow-min-max-width.html: Added.
2018-09-06 Miguel Gomez <magomez@igalia.com>
Unreviewed GTK+ gardening after r235732.
* platform/gtk/TestExpectations:
2018-09-06 Ali Juma <ajuma@chromium.org>
IntersectionObserver leaks documents
https://bugs.webkit.org/show_bug.cgi?id=189128
Reviewed by Simon Fraser.
* intersection-observer/no-document-leak-expected.txt: Added.
* intersection-observer/no-document-leak.html: Added.
* intersection-observer/observer-and-callback-without-js-references-expected.txt: Added.
* intersection-observer/observer-and-callback-without-js-references.html: Added.
* intersection-observer/resources/no-document-leak-frame.html: Added.
2018-09-05 Brent Fulgham <bfulgham@apple.com>
The width of a nullptr TextRun should be zero
https://bugs.webkit.org/show_bug.cgi?id=189154
<rdar://problem/43685926>
Reviewed by Zalan Bujtas.
* fast/text/null-string-textrun-expected.txt: Added.
* fast/text/null-string-textrun.html: Added.
2018-09-05 Youenn Fablet <youenn@apple.com>
Expose RTCRtpSender.setParameters
https://bugs.webkit.org/show_bug.cgi?id=189307
Reviewed by Eric Carlson.
* webrtc/video-getParameters.html:
2018-09-05 Truitt Savell <tsavell@apple.com>
Rebaseline test after changes in https://trac.webkit.org/changeset/235669/webkit deleted the expectation.
https://bugs.webkit.org/show_bug.cgi?id=188816
Unreviewed Test Gardening.
* platform/mac-wk1/imported/w3c/web-platform-tests/xhr/send-network-error-async-events.sub-expected.txt:
2018-09-05 Ms2ger <Ms2ger@igalia.com>
GTK-focused gardening
https://bugs.webkit.org/show_bug.cgi?id=189305
Unreviewed test gardening.
* TestExpectations: Remove passing test.
* fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html: Speculative fix for r235484.
* platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt: Added.
* platform/gtk/http/tests/loading/oauth-expected.txt: Added.
* platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt: Added.
* platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt: Updated for r235354.
* platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: Updated for r235245.
2018-09-04 Yacine Bandou <yacine.bandou_ext@softathome.com>
[EME] Add a layoutTest for ClearKey WebM video playback
https://bugs.webkit.org/show_bug.cgi?id=189200
Reviewed by Xabier Rodriguez-Calvar.
Add a new layoutTest in order to test the playback of ClearKey encrypted WebM.
* media/encrypted-media/clearKey/clearKey-webm-video-playback-mse-expected.txt: Added.
* media/encrypted-media/clearKey/clearKey-webm-video-playback-mse.html: Added.
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/wpe/TestExpectations:
2018-09-04 Frederic Wang <fwang@igalia.com>
Add basic support for ScrollIntoViewOptions
https://bugs.webkit.org/show_bug.cgi?id=189258
Reviewed by Simon Fraser.
Update test expectations for WPT scrollIntoView tests.
* platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-smooth-expected.txt: Removed.
2018-09-04 Michael Saboff <msaboff@apple.com>
YARR: Add new RegExp back reference tests to specifically test back reference JIT code
https://bugs.webkit.org/show_bug.cgi?id=189291
Reviewed by Saam Barati.
New tests.
* fast/regex/backreferences-expected.txt: Added.
* fast/regex/backreferences.html: Added.
* fast/regex/script-tests/backreferences.js: Added.
2018-09-04 Ryosuke Niwa <rniwa@webkit.org>
slotchange event doesn't get fired when inserting, removing, or renaming slot elements
https://bugs.webkit.org/show_bug.cgi?id=189144
<rdar://problem/43871061>
Reviewed by Antti Koivisto.
Added a W3C style testharness.js test for inserting, removing, and renaming slot elements.
It has 62 distinct test cases for closed/open shadow roots in connected and disconnected trees
for the total of 248 test cases.
This test presumes the resolution of https://github.com/w3c/webcomponents/issues/764 in our favor.
Chrome fails 48 test cases because it doesn't follow the tree order when dispatching slotchange event
on the previously first slot element, and Firefox fails 84 test cases because it fails to fire slotchange
in the tree order when a node is inserted.
* fast/shadow-dom/slotchange-for-slot-mutation-expected.txt: Added.
* fast/shadow-dom/slotchange-for-slot-mutation.html: Added.
2018-09-04 Simon Fraser <simon.fraser@apple.com>
CSS reference filter that references a tiled feTurbulence is blank
https://bugs.webkit.org/show_bug.cgi?id=188950
Reviewed by Dean Jackson.
* css3/filters/reference-filter-set-filter-regions-expected.html: Added.
* css3/filters/reference-filter-set-filter-regions.html: Added.
2018-09-04 Rob Buis <rbuis@igalia.com>
Adjust XMLHttpRequest username/password precedence rules
https://bugs.webkit.org/show_bug.cgi?id=184910
Reviewed by Chris Dumez.
Adjust test because now we do set password on the url in
open(), even if the username is null.
* http/tests/xmlhttprequest/basic-auth.html:
2018-09-03 Dean Jackson <dino@apple.com>
Move SystemPreview code from WebKitAdditions to WebKit
https://bugs.webkit.org/show_bug.cgi?id=189252
<rdar://problem/44080245>
Reviewed by Wenson Hsieh.
This test no longer needs an internal helper.
* system-preview/detection.html:
2018-09-04 Antoine Quint <graouts@apple.com>
[Modern Media Controls] Disabling both fullscreen and picture-in-picture shows an empty top left container
https://bugs.webkit.org/show_bug.cgi?id=189259
<rdar://problem/42026625>
Reviewed by Dean Jackson.
Adding a new test that checks that the top left container is hidden when both the fullscreen and picture-in-picture buttons are disabled.
* media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-disabled-fullscreen-and-pip-expected.txt: Added.
* media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-disabled-fullscreen-and-pip.html: Added.
2018-09-04 Per Arne Vollan <pvollan@apple.com>
Add test for fix in https://bugs.webkit.org/show_bug.cgi?id=187922
https://bugs.webkit.org/show_bug.cgi?id=187925
Reviewed by Simon Fraser.
This will test that the function primaryScreenDisplayID() returns a valid display ID.
* TestExpectations:
* fast/misc/valid-primary-screen-displayID-expected.txt: Added.
* fast/misc/valid-primary-screen-displayID.html: Added.
* platform/mac-wk2/TestExpectations:
2018-09-04 Daniel Bates <dabates@apple.com>
Remove redundant inline text boxes for empty combined text
https://bugs.webkit.org/show_bug.cgi?id=189119
Reviewed by Zalan Bujtas.
Update expected result now that we do not create an inline text box associated with combined text
when we do not have any combined text to render.
* fast/text/text-combine-surroundContents-crash-expected.txt:
2018-09-04 Zan Dobersek <zdobersek@igalia.com> and Ms2ger <Ms2ger@igalia.com>
Implement support for passing ImageBitmap to texImage2D/texSubImage2D
https://bugs.webkit.org/show_bug.cgi?id=187584
Reviewed by Dean Jackson.
* fast/canvas/webgl/gl-teximage-imagebitmap-expected.txt: Added.
* fast/canvas/webgl/gl-teximage-imagebitmap.html: Added.
2018-09-04 Yacine Bandou <yacine.bandou@softathome.com>
[EME] Add layout test for InitData and InitDataType in WebM encrypted event
https://bugs.webkit.org/show_bug.cgi?id=189196
Reviewed by Xabier Rodriguez-Calvar.
This commit adds a new layoutTest in order to test the reception of the encrypted WebM
event with an expected initData and initDataType fields.
* media/content/encrypted/VideoClearKeyWebM.webm: Added.
This is a simple encrypted video.
It has been encrypted with webm_crypt see https://github.com/webmproject/webm-tools.
#webm_crypt -i VideoWebM.webm -audio false -video true -video_options base_file=bear.key,content_id="0123456789012345" -o VideoClearKeyWebM.webm
* media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse-expected.txt: Added.
* media/encrypted-media/clearKey/clearKey-encrypted-webm-event-mse.html: Added.
* media/encrypted-media/medias-enc.js:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/wpe/TestExpectations:
2018-09-03 Andy Estes <aestes@apple.com>
[Payment Request] Remove PaymentAddress.languageCode
https://bugs.webkit.org/show_bug.cgi?id=189254
Reviewed by Sam Weinig.
* http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html:
* http/tests/ssl/applepay/ApplePayRequestShippingContact.https-expected.txt:
* http/tests/ssl/applepay/ApplePayRequestShippingContact.https.html:
2018-09-03 Youenn Fablet <youenn@apple.com>
REGRESSION: Layout Test http/tests/security/bypassing-cors-checks-for-extension-urls.html is Flaky
https://bugs.webkit.org/show_bug.cgi?id=187658
<rdar://problem/42306442>
Reviewed by Alexey Proskuryakov.
* platform/mac-wk2/TestExpectations:
2018-09-03 Andy Estes <aestes@apple.com>
[Payment Request] Implement the MerchantValidationEvent constructor
https://bugs.webkit.org/show_bug.cgi?id=189235
Reviewed by Daniel Bates.
Skipped new manual tests.
* platform/ios-wk2/TestExpectations:
* platform/mac-wk2/TestExpectations:
2018-09-03 Frederic Wang <fwang@free.fr>
Remove duplicate directory web-platform-tests/cssom-view
https://bugs.webkit.org/show_bug.cgi?id=189241
Reviewed by Daniel Bates.
cssom-view tests were moved into web-platform-tests/css at r232903 but the old
directory and expectation were left. This patch finishes the migration.
* TestExpectations:
* platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt: Removed.
* platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt: Removed.
* platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/elementFromPoint-expected.txt: Removed.
* platform/ios-wk2/imported/w3c/web-platform-tests/cssom-view/scrollIntoView-smooth-expected.txt: Removed.
* platform/ios/TestExpectations:
2018-09-02 Zalan Bujtas <zalan@apple.com>
REGRESSION (r191336): RenderFlexibleBox::adjustChildSizeForMinAndMax crashes in std::optional<>::value()
https://bugs.webkit.org/show_bug.cgi?id=189232
<rdar://problem/43886373>
Reviewed by Brent Fulgham.
* fast/flexbox/crash-when-min-max-content-is-not-computed-expected.txt: Added.
* fast/flexbox/crash-when-min-max-content-is-not-computed.html: Added.
2018-09-02 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Implement Object.fromEntries
https://bugs.webkit.org/show_bug.cgi?id=188481
Reviewed by Darin Adler.
* js/Object-getOwnPropertyNames-expected.txt:
* js/script-tests/Object-getOwnPropertyNames.js:
2018-08-31 Simon Fraser <simon.fraser@apple.com>
Clean up TestExpectations so that ./Tools/Scripts/lint-test-expectations
succeeds now.
* platform/ios-wk2/TestExpectations:
* platform/mac-wk1/TestExpectations:
* platform/win/TestExpectations:
2018-08-31 Chris Dumez <cdumez@apple.com>
[ WK2 ] http/tests/workers/service/client-*-page-cache.html LayoutTests are flaky
https://bugs.webkit.org/show_bug.cgi?id=183705
<rdar://problem/42440606>
Reviewed by Youenn Fablet.
Update Layout tests to not rely on the total number of clients as this is flaky. Instead, check for specific client
identifiers to see if they are present or not.
* http/tests/workers/service/client-added-to-clients-when-restored-from-page-cache.html:
* http/tests/workers/service/client-removed-from-clients-while-in-page-cache.html:
* http/tests/workers/service/resources/getClientIds-worker.js: Renamed from LayoutTests/http/tests/workers/service/resources/getClientCount-worker.js.
(event.then):
* http/tests/workers/service/serviceworkerclients-matchAll-worker.js:
(async.doTestAfterMessage):
* http/tests/workers/service/serviceworkerclients-matchAll.https.html:
* platform/ios-wk2/TestExpectations:
* platform/mac-wk2/TestExpectations:
Unskip tests as they should no longer be flaky.
2018-08-31 John Wilander <wilander@apple.com>
Storage Access API: Maintain access through same-site navigations
https://bugs.webkit.org/show_bug.cgi?id=188564
<rdar://problem/43445160>
Reviewed by Alex Christensen.
* http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-expected.txt:
* http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame.html:
Added both a same-site and a cross-site navigation to the sub frame to test maintained and cleared access.
* 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.
* 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.
* 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.
* 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.
* http/tests/storageAccess/resources/get-cookies.php:
Support for the new test scenarios.
* http/tests/storageAccess/resources/self-navigating-frame-after-granted-access.html:
Support for the new test scenarios.
* platform/mac-wk2/TestExpectations:
Marked the new and the renamed tests as [ Pass ].
2018-08-30 Ryosuke Niwa <rniwa@webkit.org>
slotchange-event-bubbling.html fails in Chrome & Firefox
https://bugs.webkit.org/show_bug.cgi?id=189183
Reviewed by Chris Dumez.
slotchange event is supposed to fire when a slot element is inserted and there are assigned nodes.
Firefox and Chrome implement this behavior and fail this test since the test doesn't let microstask
check point run before start mutating the DOM.
Fixed the test by manually waiting for the current microtask queue to be emptied after constructing
the test shadow tree so that slotchange event from the initial tree construction doesn't get merged
with slotchange event fired for the actual DOM mutation being tested.
Also fixed typos in slotchange-in-fallback.html and a bug that we were removing the slot instead
of the shadow host at the end of each test case.
* fast/shadow-dom/slotchange-event-bubbling.html:
* fast/shadow-dom/slotchange-in-fallback.html:
2018-08-31 Zalan Bujtas <zalan@apple.com>
[LFC] Add margin box verification back now that Display::Box has non-computed horizontal margin.
https://bugs.webkit.org/show_bug.cgi?id=189193
Reviewed by Antti Koivisto.
* fast/block/block-only/floating-and-next-previous-inflow-with-margin-with-no-border-expected.txt: Added.
* fast/block/block-only/floating-and-next-previous-inflow-with-margin-with-no-border.html: Added.
2018-08-31 Per Arne Vollan <pvollan@apple.com>
[Win] Some tests are failing on ews200 after upgrading iTunes.
https://bugs.webkit.org/show_bug.cgi?id=189194
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-31 Frederic Wang <fwang@igalia.com>
Bug 182053 - [CSSOM View] Implement standard behavior for scrollingElement
https://bugs.webkit.org/show_bug.cgi?id=182053
Reviewed by Simon Fraser.
Add a test to check that in Quirks mode, the <body> element returned by
document.scrollingElement is indeed a child of a <html> root (i.e. in the HTML namespace).
Adjust scrollingElement*.html tests so that they are executed with the flag
CSSOMViewScrollingAPI enabled and update expectations now that these tests pass.
* fast/dom/Document/scrollingElement-quirks-mode.html:
* fast/dom/Document/scrollingElement-quirks-mode-expected.txt:
* fast/dom/Document/scrollingElement-standards-mode.html:
* fast/dom/Document/scrollingElement-standards-mode-expected.txt:
2018-08-30 Zalan Bujtas <zalan@apple.com>
CounterMaps should hold a unique_ptr of CounterMap.
https://bugs.webkit.org/show_bug.cgi?id=189174
<rdar://problem/43686458>
Reviewed by Ryosuke Niwa.
* fast/css/counters/crash-when-cloning-body-expected.txt: Added.
* fast/css/counters/crash-when-cloning-body.html: Added.
2018-08-30 Truitt Savell <tsavell@apple.com>
Unreviewed, rolling out r235516.
Caused 50 Crashes on Sierra
Reverted changeset:
"The width of a nullptr TextRun should be zero"
https://bugs.webkit.org/show_bug.cgi?id=189154
https://trac.webkit.org/changeset/235516
2018-08-30 Youenn Fablet <youenn@apple.com>
Remove WebRTC legacy API implementation
https://bugs.webkit.org/show_bug.cgi?id=189040
<rdar://problem/43861361>
Unreviewed.
* platform/ios/TestExpectations: Use default expectations for the folder.
This allows skipping imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/setRemoteDescription.html
2018-08-30 Brent Fulgham <bfulgham@apple.com>
The width of a nullptr TextRun should be zero
https://bugs.webkit.org/show_bug.cgi?id=189154
<rdar://problem/43685926>
Reviewed by Zalan Bujtas.
* fast/text/null-string-textrun-expected.txt: Added.
* fast/text/null-string-textrun.html: Added.
2018-08-30 Eric Carlson <eric.carlson@apple.com>
Mock video devices should only support discrete sizes
https://bugs.webkit.org/show_bug.cgi?id=189000
<rdar://problem/43766551>
Reviewed by Youenn Fablet.
Updated tests and results now that we have better support for width and height constraints.
* fast/mediastream/MediaDevices-getUserMedia.html:
* fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt:
* fast/mediastream/apply-constraints-advanced-expected.txt:
* fast/mediastream/apply-constraints-advanced.html:
* fast/mediastream/apply-constraints-video-expected.txt:
* fast/mediastream/apply-constraints-video.html:
* fast/mediastream/getUserMedia-default-expected.txt:
* fast/mediastream/getUserMedia-default.html:
* imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-getSettings.https-expected.txt:
* webrtc/video-interruption.html:
* webrtc/video.html:
2018-08-30 Youenn Fablet <youenn@apple.com>
fast/mediastream/RTCPeerConnection-overloaded-operations.html is flaky after r235484
https://bugs.webkit.org/show_bug.cgi?id=189155
Reviewed by Eric Carlson.
* fast/mediastream/RTCPeerConnection-overloaded-operations.html:
createOffer/createAnswer will now reject promises if callbacks are passed as parameters.
Make sure that these promises are handled.
2018-08-30 Zalan Bujtas <zalan@apple.com>
[LFC][Floating] Formatting context roots avoid floats.
https://bugs.webkit.org/show_bug.cgi?id=189150
Reviewed by Antti Koivisto.
* fast/block/block-only/float-avoider-multiple-roots-expected.txt: Added.
* fast/block/block-only/float-avoider-multiple-roots.html: Added.
* fast/block/block-only/float-avoider-simple-left-expected.txt: Added.
* fast/block/block-only/float-avoider-simple-left.html: Added.
* fast/block/block-only/float-avoider-simple-right-expected.txt: Added.
* fast/block/block-only/float-avoider-simple-right.html: Added.
* fast/block/block-only/float-avoider-with-margins-expected.txt: Added.
* fast/block/block-only/float-avoider-with-margins.html: Added.
2018-08-29 Aditya Keerthi <akeerthi@apple.com>
[Datalist] Display prefix-matched suggestions first
https://bugs.webkit.org/show_bug.cgi?id=189106
Reviewed by Tim Horton.
Added a test to verify that prefix-matched suggestions are shown before other
matches.
* fast/forms/datalist/datalist-textinput-suggestions-order-expected.txt: Added.
* fast/forms/datalist/datalist-textinput-suggestions-order.html: Added.
* platform/ios/TestExpectations:
2018-08-29 Olivia Barnett <obarnett@apple.com>
Implement the Web Share API
https://bugs.webkit.org/show_bug.cgi?id=171100
<rdar://problem/31751734>
Reviewed by Tim Horton.
* fast/dom/navigator-detached-no-crash-expected.txt:
Updated expected results.
2018-08-29 Ryan Haddad <ryanhaddad@apple.com>
Layout Test js/error-should-not-strong-reference-global-object.html is flaky on macOS
https://bugs.webkit.org/show_bug.cgi?id=187103
Unreviewed test gardening.
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations: Consolidate expectations.
2018-08-29 Daniel Bates <dabates@apple.com>
REGRESSION (r226138): WebCore::subdivide() may return an empty vector; Web process can crash when performing find in Epiphany
https://bugs.webkit.org/show_bug.cgi?id=184390
<rdar://problem/41804994>
And
<rdar://problem/39771867>
Reviewed by Simon Fraser.
Add a test to ensure that we do not crash when painting an empty inline text box associated
with combined text.
* fast/text/text-combine-surroundContents-crash-expected.txt: Added.
* fast/text/text-combine-surroundContents-crash.html: Added.
2018-08-29 Youenn Fablet <youenn@apple.com>
Remove WebRTC legacy API implementation
https://bugs.webkit.org/show_bug.cgi?id=189040
Reviewed by Eric Carlson.
* TestExpectations:
* fast/events/constructors/media-stream-event-constructor-expected.txt: Removed.
* fast/events/constructors/media-stream-event-constructor.html: Removed.
* fast/mediastream/RTCPeerConnection-AddRemoveStream-expected.txt: Removed.
* fast/mediastream/RTCPeerConnection-AddRemoveStream.html: Removed.
* fast/mediastream/RTCPeerConnection-createAnswer-expected.txt:
* fast/mediastream/RTCPeerConnection-createAnswer.html:
* fast/mediastream/RTCPeerConnection-createOffer-expected.txt: Removed.
* fast/mediastream/RTCPeerConnection-createOffer.html: Removed.
* fast/mediastream/RTCPeerConnection-dtmf.html: Removed.
* fast/mediastream/RTCPeerConnection-events-expected.txt: Removed.
* fast/mediastream/RTCPeerConnection-events.html: Removed.
* fast/mediastream/RTCPeerConnection-have-local-offer-expected.txt:
* fast/mediastream/RTCPeerConnection-have-local-offer.html:
* fast/mediastream/RTCPeerConnection-have-local-pranswer-expected.txt:
* fast/mediastream/RTCPeerConnection-have-local-pranswer.html:
* fast/mediastream/RTCPeerConnection-have-remote-offer-expected.txt:
* fast/mediastream/RTCPeerConnection-have-remote-offer.html:
* fast/mediastream/RTCPeerConnection-have-remote-pranswer-expected.txt:
* fast/mediastream/RTCPeerConnection-have-remote-pranswer.html:
* fast/mediastream/RTCPeerConnection-legacy-stream-based-api-expected.txt: Removed.
* fast/mediastream/RTCPeerConnection-legacy-stream-based-api.html: Removed.
* fast/mediastream/RTCPeerConnection-localDescription-expected.txt:
* fast/mediastream/RTCPeerConnection-localDescription.html:
* fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt:
* fast/mediastream/RTCPeerConnection-remoteDescription.html:
* fast/mediastream/RTCPeerConnection-stable-expected.txt:
* fast/mediastream/RTCPeerConnection-stable.html:
* fast/mediastream/RTCPeerConnection-stats.html:
* fast/mediastream/RTCPeerConnection-statsSelector-expected.txt:
* fast/mediastream/RTCPeerConnection-statsSelector.html:
* fast/mediastream/argument-types-expected.txt: Removed.
* fast/mediastream/argument-types.html: Removed.
* fast/mediastream/getusermedia-expected.txt: Removed.
* fast/mediastream/getusermedia.html: Removed.
* fast/mediastream/webkitGetUserMedia-shadowing-then-expected.txt: Removed.
* fast/mediastream/webkitGetUserMedia-shadowing-then.html: Removed.
* platform/mac/TestExpectations:
* webrtc/legacy-api-expected.txt:
* webrtc/legacy-api.html:
2018-08-29 Youenn Fablet <youenn@apple.com>
Add a runtime flag for WebRTC unified plan
https://bugs.webkit.org/show_bug.cgi?id=189068
Reviewed by Eric Carlson.
* fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
* webrtc/peer-connection-audio-mute2.html:
* webrtc/peer-connection-remote-audio-mute2.html:
* webrtc/video-addTrack-expected.txt:
* webrtc/video-addTrack.html:
* webrtc/video-addTransceiver.html:
2018-08-29 Ali Juma <ajuma@chromium.org>
Generalize suppresion for flaky IntersectionObserver web platform tests
https://bugs.webkit.org/show_bug.cgi?id=189091
Unreviewed test gardening.
* TestExpectations:
* platform/mac-wk1/TestExpectations:
2018-08-28 Simon Fraser <simon.fraser@apple.com>
Fix crash when reflections and backdrop filter are combined
https://bugs.webkit.org/show_bug.cgi?id=188504
rdar://problem/43225590
Reviewed by Dan Bates.
* compositing/filters/backdrop-filter-update-rect-expected.txt: Added.
* compositing/filters/backdrop-filter-update-rect.html: Added.
2018-08-29 Ali Juma <ajuma@chromium.org>
[mac-wk1] Mark three IntersectionObserver web platform tests as flaky
https://bugs.webkit.org/show_bug.cgi?id=189091
Unreviewed test gardening.
* platform/mac-wk1/TestExpectations:
2018-08-29 Truitt Savell <tsavell@apple.com>
Layout Test svg/animations/animate-end-attribute-numeric-precision.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=189087
Unreviewed test gardening.
* platform/ios-wk2/TestExpectations:
* platform/mac-wk1/TestExpectations:
2018-08-29 Simon Fraser <simon.fraser@apple.com>
Teach webkitpy how to check leaks and treat leaks as test failures
https://bugs.webkit.org/show_bug.cgi?id=189067
Reviewed by Darin Adler.
Put some fake leaks in full_results.json, and update results.html to show a table
of leaks when results are expanded.
* fast/harness/full_results.json:
* fast/harness/results-expected.txt:
* fast/harness/results.html:
2018-08-29 Truitt Savell <tsavell@apple.com>
Missed adding expctations to ios for webkit.org/b/188985
https://bugs.webkit.org/show_bug.cgi?id=188985
Unreviewed test gardening.
* platform/ios-wk2/TestExpectations:
2018-08-29 David Kilzer <ddkilzer@apple.com>
Remove empty directories from from svn.webkit.org repository
<https://webkit.org/b/189081>
* css3/filters/backdrop/script-tests: Removed.
* css3/filters/script-tests: Removed.
* indieui: Removed.
* legacy-animation-engine/fullscreen: Removed.
* platform/gtk/editing/pasteboard/script-tests: Removed.
* platform/gtk/resources: Removed.
* platform/ios-wk2/fast/backgrounds: Removed.
* platform/ios-wk2/fast/block/margin-collapse/block-inside-inline: Removed.
* platform/ios-wk2/fast/block/positioning/auto/vertical-lr: Removed.
* platform/ios-wk2/fast/body-propagation/background-color: Removed.
* platform/ios-wk2/fast/body-propagation/background-image: Removed.
* platform/ios-wk2/fast/borders: Removed.
* platform/ios-wk2/fast/box-shadow: Removed.
* platform/ios-wk2/fast/box-sizing: Removed.
* platform/ios-wk2/fast/canvas: Removed.
* platform/ios-wk2/fast/compact: Removed.
* platform/ios-wk2/fast/css/counters: Removed.
* platform/ios-wk2/fast/css/namespaces: Removed.
* platform/ios-wk2/fast/css3-text: Removed.
* platform/ios-wk2/fast/doctypes: Removed.
* platform/ios-wk2/fast/dom/Element: Removed.
* platform/ios-wk2/fast/dom/HTMLDocument: Removed.
* platform/ios-wk2/fast/dom/HTMLElement: Removed.
* platform/ios-wk2/fast/dom/HTMLHeadElement: Removed.
* platform/ios-wk2/fast/dom/HTMLImageElement: Removed.
* platform/ios-wk2/fast/dom/HTMLInputElement: Removed.
* platform/ios-wk2/fast/dom/HTMLLinkElement: Removed.
* platform/ios-wk2/fast/dom/HTMLMeterElement: Removed.
* platform/ios-wk2/fast/dom/HTMLObjectElement: Removed.
* platform/ios-wk2/fast/dom/HTMLProgressElement: Removed.
* platform/ios-wk2/fast/dom/HTMLTableColElement: Removed.
* platform/ios-wk2/fast/dom/HTMLTableElement: Removed.
* platform/ios-wk2/fast/dom/Range: Removed.
* platform/ios-wk2/fast/dom/Window: Removed.
* platform/ios-wk2/fast/events/touch: Removed.
* platform/ios-wk2/fast/fast-mobile-scrolling: Removed.
* platform/ios-wk2/fast/forms/color: Removed.
* platform/ios-wk2/fast/forms/datalist: Removed.
* platform/ios-wk2/fast/forms/file: Removed.
* platform/ios-wk2/fast/forms/number: Removed.
* platform/ios-wk2/fast/forms/range: Removed.
* platform/ios-wk2/fast/forms/select: Removed.
* platform/ios-wk2/fast/gradients: Removed.
* platform/ios-wk2/fast/inspector-support: Removed.
* platform/ios-wk2/fast/line-grid: Removed.
* platform/ios-wk2/fast/multicol/span: Removed.
* platform/ios-wk2/fast/multicol/vertical-lr: Removed.
* platform/ios-wk2/fast/preloader: Removed.
* platform/ios-wk2/fast/reflections: Removed.
* platform/ios-wk2/fast/regions/auto-size: Removed.
* platform/ios-wk2/fast/replaced/vertical-lr: Removed.
* platform/ios-wk2/fast/replaced/vertical-rl: Removed.
* platform/ios-wk2/fast/sub-pixel: Removed.
* platform/ios-wk2/fast/text/firstline: Removed.
* platform/ios-wk2/fast/text/shaping: Removed.
* platform/ios-wk2/fast/tokenizer: Removed.
* platform/ios-wk2/scrolling: Removed.
* platform/ios/fast/viewport: Removed.
* platform/ios/ios/fast/events/touch/script-tests: Removed.
* platform/ios/ios/fast/html: Removed.
* platform/ios/ios/scrolling: Removed.
* platform/mac-sierra-wk2/js: Removed.
* platform/mac-sierra/http/tests/ssl: Removed.
* platform/mac-wk2/http/tests/plugins: Removed.
* platform/mac-wk2/js: Removed.
* platform/mac-wk2/tiled-drawing: Removed.
* platform/mac/accessibility/resources: Removed.
* platform/mac/accessibility/select-text: Removed.
* platform/mac/editing/attributed-string: Removed.
* platform/mac/editing/dictionary-lookup: Removed.
* platform/mac/editing/input/resources: Removed.
* platform/mac/editing/selection/script-tests: Removed.
* platform/mac/fast/canvas/resources: Removed.
* platform/mac/fast/forms/script-tests: Removed.
* platform/mac/fast/ruby/resources: Removed.
* platform/mac/fast/scrolling/resources: Removed.
* platform/mac/http/tests/usercontentfilter: Removed.
* platform/mac/platform/mac/accessibility: Removed.
* platform/mac/platform/mac/editing: Removed.
* platform/win-xp: Removed.
* platform/win/editing/exeCommand: Removed.
* platform/win/platform/win/accessibility: Removed.
* platform/win/sputnik: Removed.
* platform/wk2/js: Removed.
* platform/wk2/storage: Removed.
* proximity: Removed.
* vibration: Removed.
2018-08-28 Ryosuke Niwa <rniwa@webkit.org>
Changes to slot children should trigger slotchange
https://bugs.webkit.org/show_bug.cgi?id=169718
<rdar://problem/43317496>
Reviewed by Darin Adler.
Added a W3C style testharness.js test for firing slotchange event for the fallback content change
since web-platform-tests/shadow-dom/slotchange.html doesn't have adequate set of tests.
Chrome and Firefox pass all test cases. WebKit used to fail all test cases before this patch.
* fast/shadow-dom/slotchange-in-fallback-expected.txt: Added.
* fast/shadow-dom/slotchange-in-fallback.html: Added.
2018-08-28 Don Olmstead <don.olmstead@sony.com>
Check for null renderer in canBeScrolledIntoView
https://bugs.webkit.org/show_bug.cgi?id=188935
Reviewed by Simon Fraser.
* fast/spatial-navigation/snav-display-contents-crash-expected.txt: Added.
* fast/spatial-navigation/snav-display-contents-crash.html: Added.
2018-08-28 Youenn Fablet <youenn@apple.com>
WebKitMediaSession should be GC collectable when its document is being stopped
https://bugs.webkit.org/show_bug.cgi?id=189016
<rdar://problem/43804904>
Unreviewed.
Increasing number of GC and checks to unflake tests on bots.
* http/tests/IndexedDB/collect-IDB-objects.https.html:
* http/tests/media/clearkey/collect-webkit-media-session.html:
2018-08-28 Devin Rousso <drousso@apple.com>
console.log() shows (anonymous function) instead of the passed string when a certain format is used
https://bugs.webkit.org/show_bug.cgi?id=188946
<rdar://problem/43756428>
Reviewed by Brian Burg.
* inspector/console/js-isLikelyStackTrace-expected.txt:
* inspector/console/js-isLikelyStackTrace.html:
2018-08-28 Truitt Savell <tsavell@apple.com>
Edditing test expectations from webkit.org/b/188985.
https://bugs.webkit.org/show_bug.cgi?id=188985
Unreviewed test gardening.
* TestExpectations:
* platform/mac-wk2/TestExpectations:
2018-08-28 David Fenton <david_fenton@apple.com>
Layout Test imported/w3c/web-platform-tests/service-workers/cache-storage/window/cache-storage-match.https.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=187935
Unreviewed test gardening.
* platform/mac-wk2/TestExpectations:
2018-08-28 Truitt Savell <tsavell@apple.com>
Moving test expectations for webkit.org/b/188985 from mac-wk2 to General test expectations due to failing on iOS.
https://bugs.webkit.org/show_bug.cgi?id=188985
Unreviewed test gardening.
* TestExpectations:
* platform/mac-wk2/TestExpectations:
2018-08-28 Youenn Fablet <youenn@apple.com>
MediaDevices should be collectable as soon as its document is stopped
https://bugs.webkit.org/show_bug.cgi?id=189021
Reviewed by Eric Carlson.
* http/tests/media/media-stream/collect-media-devices.https-expected.txt: Added.
* http/tests/media/media-stream/collect-media-devices.https.html: Added.
* http/tests/media/media-stream/resources/mymediadevicesframe.htm: Added.
2018-08-28 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Fix issue that extra cookie is added when redirect happens.
https://bugs.webkit.org/show_bug.cgi?id=187874
Reviewed by Alex Christensen.
* http/tests/cookies/multiple-redirect-and-set-cookie-expected.txt: Added.
* http/tests/cookies/multiple-redirect-and-set-cookie.php: Added.
2018-08-28 Aditya Keerthi <akeerthi@apple.com>
[macOS] Color wells should appear rounded and textured
https://bugs.webkit.org/show_bug.cgi?id=189039
Reviewed by Tim Horton.
Rebaseline tests to match new color-well appearance.
* platform/mac/fast/forms/color/input-appearance-color-expected.png:
* platform/mac/fast/forms/color/input-appearance-color-expected.txt:
2018-08-28 Youenn Fablet <youenn@apple.com>
WebKitMediaSession should be GC collectable when its document is being stopped
https://bugs.webkit.org/show_bug.cgi?id=189016
Reviewed by Eric Carlson.
* http/tests/media/clearkey/collect-webkit-media-session-expected.txt: Added.
* http/tests/media/clearkey/collect-webkit-media-session.html: Added.
* http/tests/media/clearkey/resources/mywebkitmediasessionframe.htm: Added.
2018-08-28 Aditya Keerthi <akeerthi@apple.com>
[Datalist] Pressing enter without a selected option shouldn't change the input
https://bugs.webkit.org/show_bug.cgi?id=189010
Reviewed by Tim Horton.
Augmented test to verify that pressing enter when there is no selected datalist
suggestion does not change the value of the input field.
* fast/forms/datalist/datalist-textinput-keydown-expected.txt:
* fast/forms/datalist/datalist-textinput-keydown.html:
2018-08-28 Aditya Keerthi <akeerthi@apple.com>
[iOS] Support inputmode=none
https://bugs.webkit.org/show_bug.cgi?id=188896
Reviewed by Tim Horton.
Added new test to verify that the system keyboard does not show for inputs with
inputmode=none. Updated existing inputmode tests to reflect the addition of the
"none" value.
* fast/forms/inputmode-attribute-contenteditable-expected.txt:
* fast/forms/inputmode-attribute-contenteditable.html:
* fast/forms/inputmode-attribute-input-expected.txt:
* fast/forms/inputmode-attribute-input.html:
* fast/forms/inputmode-attribute-textarea-expected.txt:
* fast/forms/inputmode-attribute-textarea.html:
* fast/forms/ios/inputmode-none-expected.txt: Added.
* fast/forms/ios/inputmode-none.html: Added.
* resources/ui-helper.js:
(window.UIHelper.activateFormControl):
(window.UIHelper.inputViewBounds):
2018-08-28 Simon Fraser <simon.fraser@apple.com>
More results.html cleanup
https://bugs.webkit.org/show_bug.cgi?id=189038
Reviewed by Zalan Bujtas.
Use a map of table-id to SectionBuilderClass to drive the table builder class selection,
rather than hardcoding the builder class; this will allow for SectionBuilders to stay alive
longer in future, so they can be used to build the expanded state of each row.
Refactor the code that generates the expand link and test name, to de-duplicate some HTML strings,
and let SectionBuilders control whether their rows are expandable and test names linkifyable.
Put a "data-test-name" attribute on each row so we can easily map from HTML elements to
TestResults in future.
The test result change is a progression; there is nothing to show for a test with missing results,
so the row should not be expandable.
* fast/harness/results-expected.txt:
* fast/harness/results.html:
2018-08-27 Mark Lam <mark.lam@apple.com>
Fix exception throwing code so that topCallFrame and topEntryFrame stay true to their names.
https://bugs.webkit.org/show_bug.cgi?id=188577
<rdar://problem/42985684>
Reviewed by Saam Barati.
* http/tests/misc/large-js-program-expected.txt:
2018-08-27 Justin Fan <justin_fan@apple.com>
WebGL 2 conformance: framebuffer-test
https://bugs.webkit.org/show_bug.cgi?id=188812
Reviewed by Jon Lee.
Update WebGL 2 implementation to handle READ_FRAMEBUFFER and default framebuffer conformance.
* TestExpectations: Unskipping webgl/2.0.0/conformance2/renderbuffers/framebuffer-test.html.
2018-08-27 Myles C. Maxfield <mmaxfield@apple.com>
Null pointer deref in WidthIterator
https://bugs.webkit.org/show_bug.cgi?id=188993
Reviewed by Brent Fulgham.
* fast/text/rtl-justification-expected.html: Added.
* fast/text/rtl-justification.html: Added.
2018-08-27 Sihui Liu <sihui_liu@apple.com>
[ MacOS iOS ] Layout Test storage/indexeddb/modern/opendatabase-after-storage-crash.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=187648
<rdar://problem/42405935>
Add an early exit so test does not call waitUntilDone after test ends.
Reviewed by Ryosuke Niwa.
* platform/wk2/TestExpectations:
* storage/indexeddb/modern/opendatabase-after-storage-crash.html:
2018-08-27 Youenn Fablet <youenn@apple.com>
Various IndexDB tests abandon documents
https://bugs.webkit.org/show_bug.cgi?id=188728
<rdar://problem/43651095>
Reviewed by Alex Christensen.
* http/tests/IndexedDB/collect-IDB-objects.https-expected.txt: Added.
* http/tests/IndexedDB/collect-IDB-objects.https.html: Added.
* http/tests/IndexedDB/resources/myidbframe.htm: Added.
* http/tests/IndexedDB/resources/support.js: Added.
2018-08-27 Simon Fraser <simon.fraser@apple.com>
[LayoutTests] results.html shows "no expected results" for text diff failures
https://bugs.webkit.org/show_bug.cgi?id=188927
Reviewed by Alexey Proskuryakov.
The results.html rewrite confused "is missing all results" with "is missing one type of result",
causing tests with a missing image to show as tests with no results.
Fix by clarifying the types of "missing".
* fast/harness/full_results.json:
* fast/harness/results-expected.txt:
* fast/harness/results.html:
2018-08-27 Andy Estes <aestes@apple.com>
[Payment Request] Update payment-request web platform tests
https://bugs.webkit.org/show_bug.cgi?id=188985
Reviewed by Youenn Fablet.
* platform/mac-wk2/TestExpectations:
2018-08-27 Devin Rousso <drousso@apple.com>
Web Inspector: provide autocompletion for event breakpoints
https://bugs.webkit.org/show_bug.cgi?id=188717
Reviewed by Brian Burg.
* inspector/dom/getSupportedEventNames-expected.txt: Added.
* inspector/dom/getSupportedEventNames.html: Added.
2018-08-27 Youenn Fablet <youenn@apple.com>
Update WPT tools to 87329a1
https://bugs.webkit.org/show_bug.cgi?id=188766
Reviewed by Ryosuke Niwa.
The test name (.any.serviceworker.html) is clashing with the new WPT server.
* 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.
* http/wpt/service-workers/cors-preflight-star.any-serviceworker.html: Renamed from LayoutTests/http/wpt/service-workers/cors-preflight-star.any.serviceworker.html.
2018-08-27 Per Arne Vollan <pvollan@apple.com>
Layout Test fast/events/dblclick-event-getModifierState.html is failing
https://bugs.webkit.org/show_bug.cgi?id=188948
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-27 Rob Buis <rbuis@igalia.com>
XMLHTTPRequest.send for Document should have same Content-Type processing rules as String
https://bugs.webkit.org/show_bug.cgi?id=188953
Reviewed by Darin Adler.
* platform/gtk/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
* platform/ios/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
* platform/wpe/imported/w3c/web-platform-tests/xhr/setrequestheader-content-type-expected.txt:
2018-08-27 Youenn Fablet <youenn@apple.com>
Update WPT XHR tests to 87329a1
https://bugs.webkit.org/show_bug.cgi?id=188816
Reviewed by Ryosuke Niwa.
Update expectations according renamed XMLHttpRequest to xhr folder.
* TestExpectations:
* platform/gtk/TestExpectations:
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* platform/mac-wk1/TestExpectations:
* 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.
* 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.
* 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.
* 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.
* 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.
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* platform/wpe/TestExpectations:
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
2018-08-26 Zan Dobersek <zdobersek@igalia.com>
Unreviewed WPE gardening. Enabling more tests under the fast/ directory.
* platform/wpe/TestExpectations:
* platform/wpe/fast/backgrounds: Added 28 baselines.
* platform/wpe/fast/block: Added 267 baselines.
* platform/wpe/fast/body-propagation: Added 65 baselines.
* platform/wpe/fast/borders: Added 69 baselines.
* platform/wpe/fast/css: Added 193 baselines.
* platform/wpe/fast/css3-text: Added 2 baselines.
* platform/wpe/fast/frames: Added 27 baselines.
* platform/wpe/fast/hidpi: Added 20 baselines.
* platform/wpe/fast/html: Added 64 baselines.
* platform/wpe/fast/images: Added 14 baselines.
* platform/wpe/fast/layers: Added 12 baselines.
* platform/wpe/fast/multicol: Added 98 baselines.
* platform/wpe/fast/overflow: Added 43 baselines.
* platform/wpe/fast/reflections: Added 9 baselines.
* platform/wpe/fast/selectors: Added 101 baselines.
* platform/wpe/fast/sub-pixel: Added 6 baselines.
* platform/wpe/fast/table: Added 162 baselines.
* platform/wpe/fast/visual-viewport: Added 1 baseline.
2018-08-26 Andy Estes <aestes@apple.com>
[Apple Pay] Introduce new values for -apple-pay-button-type
https://bugs.webkit.org/show_bug.cgi?id=188949
<rdar://problem/39992228>
Reviewed by Anders Carlsson.
* http/tests/ssl/applepay/ApplePayButton.html: Added.
* http/tests/ssl/applepay/ApplePayButtonV4.html: Added.
* platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.png:
* platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.txt:
* platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.png: Added.
* platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.txt: Added.
* platform/mac/http/tests/ssl/applepay/ApplePayButtonV4-expected.png: Added.
* platform/mac/http/tests/ssl/applepay/ApplePayButtonV4-expected.txt: Added.
* platform/mac-wk2/TestExpectations:
2018-08-26 Andy Estes <aestes@apple.com>
Update test expectations for http/tests/ssl/applepay/ApplePayButton.html on macOS High Sierra.
* platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.png: Renamed from LayoutTests/platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.png.
* platform/mac-highsierra/http/tests/ssl/applepay/ApplePayButton-expected.txt: Renamed from LayoutTests/platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.txt.
2018-08-26 Andy Estes <aestes@apple.com>
[Apple Pay] PaymentRequest.show() should reject when an unsupported ApplePayRequest version is specified
https://bugs.webkit.org/show_bug.cgi?id=188954
Reviewed by Darin Adler.
* http/tests/ssl/applepay/PaymentRequest.https-expected.txt:
* http/tests/ssl/applepay/PaymentRequest.https.html:
2018-08-26 Andy Estes <aestes@apple.com>
[Apple Pay] Add a test for rendering Apple Pay buttons
https://bugs.webkit.org/show_bug.cgi?id=188947
Reviewed by Sam Weinig.
* http/tests/ssl/applepay/ApplePayButton.html: Added.
* platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.png: Added.
* platform/mac-sierra/http/tests/ssl/applepay/ApplePayButton-expected.txt: Added.
* platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.png: Added.
* platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.txt: Added.
2018-08-24 Jer Noble <jer.noble@apple.com>
Using Touch Bar to scrub video on Youtube results in video playback freeze
https://bugs.webkit.org/show_bug.cgi?id=188926
Reviewed by Eric Carlson.
* media/media-source/media-source-seek-twice-expected.txt: Added.
* media/media-source/media-source-seek-twice.html: Added.
2018-08-24 Ryosuke Niwa <rniwa@webkit.org>
Remove the flaky test expectation now that the test isn't flaky on bots after r235274.
* platform/wk2/TestExpectations:
2018-08-24 Ryosuke Niwa <rniwa@webkit.org>
Add getModifierState to MouseEvent
https://bugs.webkit.org/show_bug.cgi?id=188913
<rdar://problem/43668772>
Reviewed by Simon Fraser.
Added two tests for getModifierState: one manually setting modifier key states in MouseEvent's constructor,
and another one for dblclick inheriting modifier key states from the click event.
Also improved the test coverage for KeyboardEvent's getModifierState.
* fast/events/constructors/keyboard-event-getModifierState-expected.txt:
* fast/events/constructors/keyboard-event-getModifierState.html: Added more test cases.
* fast/events/constructors/mouse-event-getModifierState-expected.txt: Added.
* fast/events/constructors/mouse-event-getModifierState.html: Added.
* fast/events/dblclick-event-getModifierState-expected.txt: Added.
* fast/events/dblclick-event-getModifierState.html: Added.
* fast/events/init-event-clears-capslock-expected.txt:
* fast/events/init-event-clears-capslock.html: Added tests for MouseEvent. Note that initMouseEvent doesn't
take altGraphKey boolean unlike initKeyboardEvent.
* platform/ios/TestExpectations: Skip the dblclick test in iOS since click event isn't supported on iOS.
2018-08-24 Youenn Fablet <youenn@apple.com>
libwebrtc PeerConnection::AddTrack sometimes fail
https://bugs.webkit.org/show_bug.cgi?id=188914
Reviewed by Eric Carlson.
* fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
2018-08-24 Ryan Haddad <ryanhaddad@apple.com>
Mark media/video-load-preload-metadata.html as flaky on iOS
https://bugs.webkit.org/show_bug.cgi?id=128312
Unreviewed test gardening.
* platform/ios/TestExpectations:
2018-08-24 Andy Estes <aestes@apple.com>
[Apple Pay] Allow $0 totals
https://bugs.webkit.org/show_bug.cgi?id=185150
<rdar://problem/39212331>
Reviewed by Dan Bernstein.
* http/tests/ssl/applepay/ApplePaySession-expected.txt:
* http/tests/ssl/applepay/ApplePaySession.html:
* http/tests/ssl/applepay/ApplePaySessionV3-expected.txt:
* http/tests/ssl/applepay/ApplePaySessionV3.html:
* http/tests/ssl/applepay/ApplePaySessionV4-expected.txt:
* http/tests/ssl/applepay/ApplePaySessionV4.html:
* http/tests/ssl/applepay/PaymentRequest.https-expected.txt:
* http/tests/ssl/applepay/PaymentRequest.https.html:
2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
fast/files/blob-network-process-crash.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=188911
Reviewed by Saam Barati.
The flakiness appears to come from the web content process not getting notified of
the termination of the network process in time. Wait for the network process to
relaunch after terminating one by continuously fetch'ing itself with an increasing
time interval until it succeeds.
* fast/files/blob-network-process-crash.html:
2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
Add a flaky failing test expectation to fast/files/blob-network-process-crash.html
while we investigate the root cause in webkit.org/b/188911.
* platform/wk2/TestExpectations:
2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
initKeyboardEvent doesn't clear CapsLock state
https://bugs.webkit.org/show_bug.cgi?id=188909
Reviewed by Wenson Hsieh.
Added a regression test. Note that altGraph is only supported in WebKit
so Chrome and Firefox would fail to reset it via initKeyboardEvent.
* fast/events/init-event-clears-capslock-expected.txt: Added.
* fast/events/init-event-clears-capslock.html: Added.
2018-08-23 Ryosuke Niwa <rniwa@webkit.org>
Store the timer we scheduled in the global object.
The underlying bug is tracked by https://webkit.org/b/188911.
* fast/files/blob-network-process-crash.html:
2018-08-23 Andy Estes <aestes@apple.com>
[Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
https://bugs.webkit.org/show_bug.cgi?id=188829
Reviewed by Tim Horton.
* http/tests/ssl/applepay/ApplePaySession-expected.txt:
* http/tests/ssl/applepay/ApplePaySession.html:
* http/tests/ssl/applepay/ApplePaySessionV3-expected.txt:
* http/tests/ssl/applepay/ApplePaySessionV3.html:
* http/tests/ssl/applepay/ApplePaySessionV4-expected.txt: Added.
* http/tests/ssl/applepay/ApplePaySessionV4.html: Added.
* platform/mac-wk2/TestExpectations:
2018-08-23 Devin Rousso <drousso@apple.com>
Web Inspector: support breakpoints for timers and animation-frame events
https://bugs.webkit.org/show_bug.cgi?id=188778
Reviewed by Brian Burg.
* inspector/dom-debugger/event-animation-frame-breakpoints-expected.txt: Added.
* inspector/dom-debugger/event-animation-frame-breakpoints.html: Added.
* inspector/dom-debugger/event-breakpoint-with-navigation.html:
* inspector/dom-debugger/event-timer-breakpoints-expected.txt: Added.
* inspector/dom-debugger/event-timer-breakpoints.html: Added.
* inspector/dom-debugger/event-listener-breakpoints-expected.txt: Renamed from LayoutTests/inspector/dom-debugger/event-breakpoints-expected.txt.
* inspector/dom-debugger/event-listener-breakpoints.html: Renamed from LayoutTests/inspector/dom-debugger/event-breakpoints.html.
* inspector/dom-debugger/resources/event-breakpoint-utilities.js: Added.
(TestPage.registerInitializer.window.teardown):
(TestPage.registerInitializer.window.failOnPause):
(TestPage.registerInitializer.window.addBreakpoint):
(TestPage.registerInitializer.window.removeBreakpoint):
(TestPage.registerInitializer.window.disableBreakpoint):
(TestPage.registerInitializer.window.awaitEvent):
2018-08-23 Aditya Keerthi <akeerthi@apple.com>
[iOS] Support the inputmode attribute on contenteditable elements
https://bugs.webkit.org/show_bug.cgi?id=188878
Reviewed by Ryosuke Niwa.
Added additional tests to verify the inputmode attribute is accessible on
HTMLElements.
* fast/forms/inputmode-attribute-contenteditable-expected.txt: Added.
* fast/forms/inputmode-attribute-contenteditable.html: Added.
* fast/forms/inputmode-attribute-input-expected.txt: Renamed from LayoutTests/fast/forms/inputmode-attribute-expected.txt.
* fast/forms/inputmode-attribute-input.html: Renamed from LayoutTests/fast/forms/inputmode-attribute.html.
* fast/forms/inputmode-attribute-textarea-expected.txt: Added.
* fast/forms/inputmode-attribute-textarea.html: Added.
* js/dom/dom-static-property-for-in-iteration-expected.txt: Rebaseline.
2018-08-22 Ryosuke Niwa <rniwa@webkit.org>
Assert in NetworkBlobRegistry::unregisterBlobURL after network process had terminated
https://bugs.webkit.org/show_bug.cgi?id=188880
Reviewed by Saam Barati.
Added a layout test which demonstrates this debug assertion.
* TestExpectations:
* fast/files/blob-network-process-crash-expected.txt: Added.
* fast/files/blob-network-process-crash.html: Added.
* platform/wk2/TestExpectations:
2018-08-23 Youenn Fablet <youenn@apple.com>
Update libwebrtc up to 984f1a80c0
https://bugs.webkit.org/show_bug.cgi?id=188745
Reviewed by Eric Carlson.
Updated tests according new webrtc backend.
* webrtc/libwebrtc/setLocalDescriptionCrash.html:
* webrtc/video-getParameters.html:
2018-08-23 Ryan Haddad <ryanhaddad@apple.com>
Update iOS selection tests to reflect new behavior introduced by r235153
https://bugs.webkit.org/show_bug.cgi?id=188888
Reviewed by Megan Gardner.
* fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-down-to-change-selected-text.html:
* fast/events/touch/ios/double-tap-on-editable-content-for-selection-then-drag-up-to-change-selected-text.html:
* fast/events/touch/ios/long-press-on-editable-content-then-drag-up-to-change-selected-text.html:
2018-08-22 John Wilander <wilander@apple.com>
Further adjustments to http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html
https://bugs.webkit.org/show_bug.cgi?id=188856
Unreviewed test gardening. Trying to address flakiness I can't reproduce locally.
* http/tests/websocket/connection-refusal-in-frame-resource-load-statistics.html:
2018-08-22 Justin Fan <justin_fan@apple.com>
Update webkit-webgl-test-harness.js for more details on WebGL 2 conformance tests
https://bugs.webkit.org/show_bug.cgi?id=188825
Reviewed by Simon Fraser.
Another update to the test-harness specific to the new WebGL 2 tests in our suite. All sub-test messages are
now reported by the harness and presented in an ordered list for easier referencing. Sub-test failures are
marked accordingly and with their test number for diffing purposes.
* webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
* webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
* webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
* webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
* webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
* webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
* webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
* webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
* webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
* webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
* webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt:
* webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
* webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt:
* webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
* webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt:
* webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt:
* webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
* webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt:
* webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
* webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt:
* webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-define-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-identifier.frag-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
* webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
* webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt:
* webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt:
* webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
* webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
* webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt:
* webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt:
* webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
* webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
* webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
* webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
* webgl/2.0.0/conformance2/vertex_arrays/vertex-array-object-expected.txt:
* webgl/2.0.0/resources/webkit-webgl-test-harness.js:
(list):
(window.webglTestHarness.reportResults):
(window.webglTestHarness.notifyFinished):
2018-08-22 Aditya Keerthi <akeerthi@apple.com>
[iOS] Add support for the inputmode attribute
https://bugs.webkit.org/show_bug.cgi?id=183621
Reviewed by Tim Horton.
Added test to verify behavior when getting and setting the inputmode attribute.
* fast/forms/inputmode-attribute-expected.txt: Added.
* fast/forms/inputmode-attribute.html: Added.
2018-08-22 Per Arne Vollan <pvollan@apple.com>
[Win] Some video tests under http/tests/security are crashing on EWS.
https://bugs.webkit.org/show_bug.cgi?id=188853
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-22 John Wilander <wilander@apple.com>
Make ResourceLoadObserver::logWebSocketLoading() handle websockets in detached frames
https://bugs.webkit.org/show_bug.cgi?id=188856
Unreviewed test gardening.
* TestExpectations:
Skipped test since it's only valid on WK2 platforms.
* http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt: Added.
* 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.
* http/tests/websocket/construct-in-detached-frame-resource-load-statistics-expected.txt: Removed.
* http/tests/websocket/resources/construct-in-detached-frame-resource-load-statistics.html: Removed.
* http/tests/websocket/resources/localhost-websocket-connect.html: Added.
* platform/wk2/TestExpectations:
Marked test as [ Pass ].
2018-08-22 Ryan Haddad <ryanhaddad@apple.com>
[iOS] Rebaseline table tests
https://bugs.webkit.org/show_bug.cgi?id=188833
Unreviewed test gardening.
`
* platform/ios/TestExpectations:
* platform/ios-wk2/TestExpectations:
2018-08-21 Ryosuke Niwa <rniwa@webkit.org>
Focus navigation order in slot fallback contents is wrong
https://bugs.webkit.org/show_bug.cgi?id=178001
<rdar://problem/42842997>
Reviewed by Antti Koivisto.
Updated the sequential focus navigation test for shadow DOM and its expectation.
New test passes in Firefox & Chrome other than the fact both browsers fail to focus a slot elemennt.
* fast/shadow-dom/focus-navigation-across-slots-expected.txt:
* fast/shadow-dom/focus-navigation-across-slots.html:
2018-08-22 Per Arne Vollan <pvollan@apple.com>
[Win] Some video tests under http/tests/security are crashing on EWS.
https://bugs.webkit.org/show_bug.cgi?id=188853
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-22 Per Arne Vollan <pvollan@apple.com>
[Win] Some video tests under http/tests/security are crashing on EWS.
https://bugs.webkit.org/show_bug.cgi?id=188853
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-22 Rob Buis <rbuis@igalia.com>
Fetch: Stop checking Request.integrity's value in no-cors mode
https://bugs.webkit.org/show_bug.cgi?id=188802
Reviewed by Frédéric Wang.
Unskip fetch/api/basic/integrity.html and adjust sri-fetch.js.
* TestExpectations:
* http/tests/subresource-integrity/sri-fetch.js:
2018-08-22 Ms2ger <Ms2ger@igalia.com>
[GTK][WPE] Unreviewed test gardening
https://bugs.webkit.org/show_bug.cgi?id=188845
Unreviewed test gardening.
* platform/gtk/TestExpectations: Note failing tests.
* platform/wpe/TestExpectations: Note failing tests.
2018-08-22 Ms2ger <Ms2ger@igalia.com>
[GTK] imported/w3c/web-platform-tests/media-source/mediasource-getvideoplaybackquality.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=187591
Unreviewed test gardening.
Re-enable mediasource-getvideoplaybackquality.html.
The crash was fixed in r233981, and the failure in r234981-r234983.
* platform/gtk/TestExpectations:
2018-08-22 Ms2ger <Ms2ger@igalia.com>
REGRESSION(r234330): [GTK] svg/as-image/svg-image-with-data-uri-background.html is failing
https://bugs.webkit.org/show_bug.cgi?id=188220
Unreviewed test gardening.
* platform/gtk/TestExpectations: Re-enable svg/as-image/svg-image-with-data-uri-background.html.
2018-08-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Support "name" option for dedicated workers
https://bugs.webkit.org/show_bug.cgi?id=188779
Reviewed by Joseph Pecoraro.
* http/wpt/workers/name-property-enhanced-expected.txt: Added.
* http/wpt/workers/name-property-enhanced.html: Added.
* http/wpt/workers/name-property-no-name-expected.txt: Added.
* http/wpt/workers/name-property-no-name.html: Added.
* http/wpt/workers/support/name.js: Added.
(test):
* http/wpt/workers/support/no-name.js: Added.
(test):
2018-08-21 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed, rolling out r235128.
The test added with this change is frequently failing.
Reverted changeset:
"Support "name" option for dedicated workers"
https://bugs.webkit.org/show_bug.cgi?id=188779
https://trac.webkit.org/changeset/235128
2018-08-21 Megan Gardner <megan_gardner@apple.com>
Change Selection modification to not snap the grabber when selecting above or below the selection anchor
https://bugs.webkit.org/show_bug.cgi?id=188826
Reviewed by Tim Horton.
Selecting single lines is sometimes difficult because we currently snap selections to single
characters if we move past the position of the other anchor in our selection. This patch changes
this behaviour to reflect the behaviour in the rest of this system, which snaps the selection
to the position on the line of the other anchor, rather than snapping it all the way a single
character. This updates the tests to reflect this new behaviour.
* fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html:
* fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html:
2018-08-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Support "name" option for dedicated workers
https://bugs.webkit.org/show_bug.cgi?id=188779
Reviewed by Joseph Pecoraro.
* http/wpt/workers/name-property-enhanced-expected.txt: Added.
* http/wpt/workers/name-property-enhanced.html: Added.
* http/wpt/workers/support/name.js: Added.
(test):
* http/wpt/workers/support/no-name.js: Added.
(test):
2018-08-21 Simon Fraser <simon.fraser@apple.com>
REGRESSION(r234993): Test results page ignores TestExpectations, shows 1800 failures
https://bugs.webkit.org/show_bug.cgi?id=188795
Reviewed by Tim Horton.
A MISSING result would trigger a code path that hit appendActualOnlyLinks() which had
a JS error, causing all expected results to be visible. Fix with a change to full_results.json
which tests the change.
* fast/harness/full_results.json:
* fast/harness/results.html:
2018-08-21 Per Arne Vollan <pvollan@apple.com>
[WebGL] Contexts are not updated when display configuration changed.
https://bugs.webkit.org/show_bug.cgi?id=188750
Reviewed by Brent Fulgham.
* TestExpectations:
* fast/canvas/webgl/context-update-on-display-configuration-expected.txt: Added.
* fast/canvas/webgl/context-update-on-display-configuration.html: Added.
* platform/mac-wk2/TestExpectations:
2018-08-21 John Wilander <wilander@apple.com>
Make ResourceLoadObserver::logWebSocketLoading() handle websockets in detached frames
https://bugs.webkit.org/show_bug.cgi?id=188757
<rdar://problem/38713390>
Reviewed by Alex Christensen.
* TestExpectations:
Skipped the new test case since it is only supported on WebKit2.
* http/tests/websocket/construct-in-detached-frame-resource-load-statistics-expected.txt: Added.
* http/tests/websocket/construct-in-detached-frame-resource-load-statistics.html: Added.
* http/tests/websocket/resources/construct-in-detached-frame-resource-load-statistics.html: Added.
* platform/wk2/TestExpectations:
Marked the new test case as [ Pass ].
2018-08-21 Daniel Bates <dabates@apple.com>
Disallow navigations when page cache updates the current document of the frame
https://bugs.webkit.org/show_bug.cgi?id=188422
Reviewed by Ryosuke Niwa.
Add a test case that ensures that we do not hit the assertion ASSERT(ownerFrame || m_frame.isMainFrame())
in FrameLoader::addExtraFieldsToRequest() when navigating back to a page that loads a nested
page, whose URL contains a fragment, via an HTML object element. This assertion fails if
navigations are allowed when restoring a page from the page cache.
This change does not prevent navigations initiated from a pageshow event handler.
* fast/history/go-back-to-object-subframe-expected.txt: Added.
* fast/history/go-back-to-object-subframe.html: Added.
2018-08-21 Daniel Bates <dabates@apple.com>
[iOS][WK1] Support toggling continuous spell checking from tests
https://bugs.webkit.org/show_bug.cgi?id=188763
Reviewed by Simon Fraser.
Fix up some spelling tests so that they enable continuous spell checking and unskip them,
with the exception of fast/writing-mode/english-rl-text-with-spelling-marker.html, now
that they pass.
Mark the test fast/writing-mode/english-rl-text-with-spelling-marker.html as an image-only
failure. See <https://bugs.webkit.org/show_bug.cgi?id=188762> for more details.
* editing/spelling/spelling-marker-includes-hyphen-expected.html:
* editing/spelling/spelling-marker-includes-hyphen.html:
* editing/spelling/spelling-markers-in-overlapping-lines-expected.html:
* editing/spelling/spelling-markers-in-overlapping-lines-large-font-expected.html:
* editing/spelling/spelling-markers-in-overlapping-lines-large-font.html:
* editing/spelling/spelling-markers-in-overlapping-lines.html:
* fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
* fast/writing-mode/english-bt-text-with-spelling-marker.html:
* fast/writing-mode/english-rl-text-with-spelling-marker-expected.html:
* fast/writing-mode/english-rl-text-with-spelling-marker.html:
* platform/ios/TestExpectations:
2018-08-20 Fujii Hironori <Hironori.Fujii@sony.com>
Unreviewed WinCairo port test gardening
* platform/wincairo/TestExpectations: Marked some http tests flaky.
2018-08-20 Devin Rousso <drousso@apple.com>
Web Inspector: allow breakpoints to be set for specific event listeners
https://bugs.webkit.org/show_bug.cgi?id=183138
Reviewed by Joseph Pecoraro.
* inspector/dom/breakpoint-for-event-listener-expected.txt: Added.
* inspector/dom/breakpoint-for-event-listener.html: Added.
2018-08-20 Jeremy Jones <jeremyj@apple.com>
Enable ios media tests that were blocked on user gesture.
https://bugs.webkit.org/show_bug.cgi?id=188753
Reviewed by Jer Noble.
Enable tests that now work on ios because there is now a way to simulate user gesture.
* platform/ios/TestExpectations:
2018-08-20 Justin Fan <justin_fan@apple.com>
Update webkit-webgl-test-harness.js to provide more info on failing and partially passing tests
https://bugs.webkit.org/show_bug.cgi?id=188628
Reviewed by Alexey Proskuryakov.
Slightly augment the test-harness for the WebGL 2 conformance suite; failing test results now report
failure messagees and the number of individual reported failures and passes from the wrapped Khronos test.
Allow us to track when incremental conformance improvements or regressions occur within the breadth of a
single conformance test.
* webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
* webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
* webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
* webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
* webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
* webgl/2.0.0/resources/webkit-webgl-test-harness.js:
(window.webglTestHarness.reportResults):
(window.webglTestHarness.notifyFinished):
2018-08-20 Eric Carlson <eric.carlson@apple.com>
[MediaStream] Move capture device monitoring to WebKit
https://bugs.webkit.org/show_bug.cgi?id=188521
<rdar://problem/43251787>
Reviewed by Youenn Fablet.
* fast/mediastream/device-change-event-2-expected.txt: Updated.
* fast/mediastream/device-change-event-2.html: Updated.
2018-08-20 Rob Buis <rbuis@igalia.com>
Throw an exception if window.open() gets passed a URL that cannot be parsed
https://bugs.webkit.org/show_bug.cgi?id=171656
Reviewed by Darin Adler.
* fast/dom/Window/open-invalid-url-expected.txt:
* fast/dom/Window/open-invalid-url.html:
2018-08-20 Ms2ger <Ms2ger@igalia.com>
[SOUP] Check length before calling soup_message_body_append_buffer.
https://bugs.webkit.org/show_bug.cgi?id=176803
Reviewed by Carlos Garcia Campos.
* platform/gtk/TestExpectations: Enable test.
2018-08-20 Rob Buis <rbuis@igalia.com>
Relax Request constructor around referrers
https://bugs.webkit.org/show_bug.cgi?id=168649
Reviewed by Darin Adler.
* platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/request/request-init-001.sub-expected.txt:
2018-08-18 Ali Juma <ajuma@chromium.org>
[IntersectionObserver] Fire an initial dummy notification
https://bugs.webkit.org/show_bug.cgi?id=188670
Reviewed by Simon Fraser.
* intersection-observer/root-element-deleted.html: Add additional assertions.
* intersection-observer/root-element-moved-expected.txt: Added.
* intersection-observer/root-element-moved.html: Added.
2018-08-17 John Wilander <wilander@apple.com>
Resource Load Statistics: Add layout test for web workers importing cross-site scripts
https://bugs.webkit.org/show_bug.cgi?id=188706
<rdar://problem/43437050>
Reviewed by Alex Christensen.
* http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-expected.txt: Added.
* http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import.html: Added.
* http/tests/resourceLoadStatistics/resources/iframe-report-back-loaded.html:
Fixed typo in URL.
* http/tests/resourceLoadStatistics/resources/script-revealing-cookies.php: Added.
* http/tests/resourceLoadStatistics/resources/worker-importing-localhost-script.js: Added.
2018-08-17 Devin Rousso <drousso@apple.com>
Marked inspector/dom-debugger/event-breakpoint-with-navigation.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=188708
Unreviewed test gardening.
* platform/mac-wk1/TestExpectations:
2018-08-17 Simon Fraser <simon.fraser@apple.com>
Modernize results.html
https://bugs.webkit.org/show_bug.cgi?id=188690
Reviewed by Alexey Proskuryakov.
results.html, which is used to show layout test results, had some very old-school
HTML string building to create the tables of test results, making it hard to hack on.
Modernize it, using ES6 classes for the major actors, and using DOM API to build most
of the content.
The page is functionally the same (other than the addition of a missing 'History" column header).
* fast/harness/results-expected.txt:
* fast/harness/results.html:
2018-08-16 Devin Rousso <drousso@apple.com>
Web Inspector: support breakpoints for arbitrary event names
https://bugs.webkit.org/show_bug.cgi?id=183118
Reviewed by Joseph Pecoraro.
* inspector/dom-debugger/event-breakpoints-expected.txt: Added.
* inspector/dom-debugger/event-breakpoints.html: Added.
* inspector/dom-debugger/event-breakpoints-with-navigation-expected.txt: Added.
* inspector/dom-debugger/event-breakpoints-with-navigation.html: Added.
2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Bug fix on deleting cookies when Max-Age is set to zero.
https://bugs.webkit.org/show_bug.cgi?id=188617
Reviewed by Alex Christensen.
* platform/wincairo/TestExpectations:
- http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html [ Pass ]
2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Implement deleteAllCookies()
https://bugs.webkit.org/show_bug.cgi?id=188612
Reviewed by Alex Christensen.
* platform/wincairo/TestExpectations:
- http/tests/cookies/simple-cookies-expired.html [ Pass ]
- http/tests/cookies/simple-cookies-max-age.html [ Pass ]
2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=188675
Unreviewed test gardening.
Fix expectations to match after r234892 landed.
* platform/wincairo/TestExpectations:
* platform/wincairo/http/tests/xmlhttprequest/methods-async-expected.txt: Added
* platform/wincairo/http/tests/xmlhttprequest/methods-expected.txt:
* platform/wincairo/http/tests/xmlhttprequest/workers/methods-async-expected.txt: Added
* platform/wincairo/http/tests/xmlhttprequest/workers/methods-expected.txt: Added
2018-08-16 Ryosuke Niwa <rniwa@webkit.org>
Custom element doesn't invalidate its style when :defined rule starts to apply
https://bugs.webkit.org/show_bug.cgi?id=188637
Reviewed by Antti Koivisto.
Added a regression test.
* fast/custom-elements/defined-update-style-expected.html: Added.
* fast/custom-elements/defined-update-style.html: Added.
2018-08-16 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=188668
Unreviewed test gardening.
After r234863 landed, the information in the `LayoutTests/tests-options.json` is effective on WinCairo tests.
Remove [ Slow ] keywords. Also maintain xmlhttprequest results.
* platform/wincairo/TestExpectations:
2018-08-16 Per Arne Vollan <pvollan@apple.com>
[Win] The layout test editing/pasteboard/drag-and-drop-color-input-events.html is timing out.
https://bugs.webkit.org/show_bug.cgi?id=188667
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-16 Joseph Pecoraro <pecoraro@apple.com>
LayoutTest inspector/worker/debugger-pause.html sometimes times out
https://bugs.webkit.org/show_bug.cgi?id=188580
Reviewed by Matt Baker.
* inspector/worker/debugger-pause.html:
* inspector/worker/resources/worker-utilities.js: Added.
(TestPage.registerInitializer.window.awaitTargetMainResource):
(TestPage.registerInitializer):
Use a more deterministic wait for the main resource.
2018-08-16 Ryosuke Niwa <rniwa@webkit.org>
Perform a microtask checkpoint before creating a custom element
https://bugs.webkit.org/show_bug.cgi?id=188189
<rdar://problem/42843022>
Reviewed by Geoffrey Garen.
Added a W3C style testharness.js test for perfoming microtask checkpoint before constructing
a custom element synchronously.
* fast/custom-elements/perform-microtask-checkpoint-before-construction-expected.txt: Added.
* fast/custom-elements/perform-microtask-checkpoint-before-construction.html: Added.
* fast/dom/MutationObserver/parser-mutations.html: Fixed the test per new behavior in Document::finishParsing.
Because iframe loads synchronously and fires DOMContentLoaded, mutation records are now delivered twice after
iframe element is encountered in this test and before script element executes. Concatenate the mutation records
arrays to account for this behavioral change. New WebKit behavior matches that of Chrome; namely this test
fails both on Chrome Canary 70 and trunk WebKit with this patch without this fix.
2018-08-15 Jer Noble <jer.noble@apple.com>
Add Experimental Feature support for SourceBuffer.changeType()
https://bugs.webkit.org/show_bug.cgi?id=188626
Reviewed by Eric Carlson.
* platform/mac/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-expected.txt: Added.
2018-08-16 Per Arne Vollan <pvollan@apple.com>
[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'
https://bugs.webkit.org/show_bug.cgi?id=188640
Unreviewed test gardening.
For now, skip websocket tests on Windows. Currently, run-webkit-tests is failing to start the websocket server because
port 8880 is already in use. Port 8880 is being used because the python websocket server process from the previous run
did not shutdown properly. We still need to understand why this is happening, but disable websocket tests now in order
for tests to run again.
* platform/win/TestExpectations:
2018-08-16 Zan Dobersek <zdobersek@igalia.com>
Unreviewed WPE gardening. Enable a few subdirectories under fast/ and
provide platform-specific baselines as well as failure expectations
where required.
* platform/wpe/TestExpectations:
* platform/wpe/fast/box-shadow: Added 10 baselines.
* platform/wpe/fast/box-sizing: Added 4 baselines.
* platform/wpe/fast/clip: Added 23 baselines.
* platform/wpe/fast/compact: Added 3 baselines.
* platform/wpe/fast/css-generated-content: Added 43 baselines.
* platform/wpe/fast/doctypes: Added 4 baselines.
* platform/wpe/fast/flexbox: Added 26 baselines.
* platform/wpe/fast/inline: Added 32 baselines.
* platform/wpe/fast/inline-block: Added 9 baselines.
* platform/wpe/fast/invalid: Added 29 baselines.
* platform/wpe/fast/line-grid: Added 8 baselines.
* platform/wpe/fast/lists: Added 27 baselines.
* platform/wpe/fast/loader: Added 1 baseline.
* platform/wpe/fast/preloader: Added 2 baselines.
* platform/wpe/fast/replaced: Added 57 baselines.
* platform/wpe/fast/ruby: Added 26 baselines.
* platform/wpe/fast/writing-mode: Added 37 baselines.
2018-08-16 Aditya Keerthi <akeerthi@apple.com>
Support drag-and-drop for input[type=color]
https://bugs.webkit.org/show_bug.cgi?id=188464
Reviewed by Wenson Hsieh.
Added tests to verify that dragging from one color input to another behaves as
expected in WK1. The tests consider disabled and read-only inputs in addition to
default color inputs. The WK2 implementation is tested through API tests.
* editing/pasteboard/drag-and-drop-color-input-events-expected.txt: Added.
* editing/pasteboard/drag-and-drop-color-input-events.html: Added.
* editing/pasteboard/drag-and-drop-color-input-expected.txt: Added.
* editing/pasteboard/drag-and-drop-color-input.html: Added.
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:
* platform/wk2/TestExpectations:
2018-08-16 Simon Fraser <simon.fraser@apple.com>
Add fake layout test results JSON to exercise the functionality in results.html
https://bugs.webkit.org/show_bug.cgi?id=188636
Reviewed by Alexey Proskuryakov.
The results for results.html are mostly blank because the page runs without any JSON
data, so there's no testing of the functionality of the page. Add some fake JSON
data which supplies most of the different types of test result, so we're testing
at least some of the results.html script.
* fast/harness/full_results.json: Added.
* fast/harness/results-expected.txt:
2018-08-15 Ansh Shukla <ansh_shukla@apple.com>
NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
https://bugs.webkit.org/show_bug.cgi?id=186870
Reviewed by Alex Christensen.
Ensure the exposed authentication type to clients is OAuth.
* http/tests/loading/oauth-expected.txt: Added.
* http/tests/loading/oauth.html: Added.
* http/tests/loading/resources/oauth-subresource.php: Added.
2018-08-15 Christopher Reid <chris.reid@sony.com>
[Curl] Implement default cookie path handling correctly as outlined in RFC6265.
https://bugs.webkit.org/show_bug.cgi?id=188609
Reviewed by Alex Christensen.
Curl implementation of default cookie path was wrong so that some cookies cannot be accessible.
It should be generated as outlined in: https://tools.ietf.org/html/rfc6265#section-5.1.4
* platform/wincairo/TestExpectations:
- http/tests/cookies/http-get-cookie-set-in-js.html [ Pass ]
2018-08-15 Ali Juma <ajuma@chromium.org>
Disable IntersectionObserver tests on Windows for now
https://bugs.webkit.org/show_bug.cgi?id=188613
Unreviewed test gardening.
The experimental feature for IntersectionObserver is off by default, and
Windows WebKit API would have to change to enable it, so just skip the
tests for now.
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:
2018-08-15 Aditya Keerthi <akeerthi@apple.com>
[Datalist] Add button to TextFieldInputs with a datalist
https://bugs.webkit.org/show_bug.cgi?id=187741
Reviewed by Tim Horton.
Added tests to verify appearance of TextFieldInputs with a datalist.
* fast/forms/datalist/datalist-searchinput-appearance.html: Added.
* fast/forms/datalist/datalist-textinput-appearance.html: Added.
* platform/ios/TestExpectations:
* platform/mac/fast/forms/datalist/datalist-searchinput-appearance-expected.png: Added.
* platform/mac/fast/forms/datalist/datalist-searchinput-appearance-expected.txt: Added.
* platform/mac/fast/forms/datalist/datalist-textinput-appearance-expected.png: Added.
* platform/mac/fast/forms/datalist/datalist-textinput-appearance-expected.txt: Added.
2018-08-15 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed, rolling out r234870.
The test introduced with this change is a flaky failure.
Reverted changeset:
"NSURLAuthenticationMethodOAuth challenges are surfaced to
clients in -didReceiveAuthenticationChallenge as
NSURLAuthenticationMethodDefault"
https://bugs.webkit.org/show_bug.cgi?id=186870
https://trac.webkit.org/changeset/234870
2018-08-15 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=188610
Unreviewed test gardening.
Unskip http/tests/cookies.
* platform/wincairo/TestExpectations:
2018-08-15 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Don't send Content-Type header for POST request when body is null.
https://bugs.webkit.org/show_bug.cgi?id=188588
Reviewed by Youenn Fablet.
* platform/wincairo/TestExpectations:
2018-08-15 Per Arne Vollan <pvollan@apple.com>
Layout Test editing/input/press-tab-during-ime-composition.html is failing
https://bugs.webkit.org/show_bug.cgi?id=188600
Unreviewed test gardening.
* platform/win/TestExpectations:
2018-08-15 Wenson Hsieh <wenson_hsieh@apple.com>
[Attachment SPI] Remove attachment display mode options
https://bugs.webkit.org/show_bug.cgi?id=188596
Reviewed by Dan Bernstein.
Remove a layout test which verified that attachment elements with `-webkit-appearance: none` would render
child elements. This was only used to implement in-place attachment display modes.
* fast/attachment/attachment-without-appearance-expected.html: Removed.
* fast/attachment/attachment-without-appearance.html: Removed.
* platform/gtk/TestExpectations:
2018-08-15 Ali Juma <ajuma@chromium.org>
[IntersectionObserver] Do not hold a strong reference to the root element
https://bugs.webkit.org/show_bug.cgi?id=188575
Reviewed by Simon Fraser.
* intersection-observer/root-element-deleted-expected.txt: Added.
* intersection-observer/root-element-deleted.html: Added.
2018-08-14 Zalan Bujtas <zalan@apple.com>
[LFC][Floating] Add support for negative clearance.
https://bugs.webkit.org/show_bug.cgi?id=188555
Reviewed by Simon Fraser.
* fast/block/block-only/margin-collapse-with-clearance-expected.txt: Added.
* fast/block/block-only/margin-collapse-with-clearance.html: Added.
2018-08-14 Ansh Shukla <ansh_shukla@apple.com>
NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
https://bugs.webkit.org/show_bug.cgi?id=186870
Reviewed by Alex Christensen.
Ensure the exposed authentication type to clients is OAuth.
* http/tests/loading/oauth-expected.txt: Added.
* http/tests/loading/oauth.html: Added.
* http/tests/loading/resources/oauth-subresource.php: Added.
2018-08-14 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed test gardening for mac-wk1.
* platform/mac-wk1/TestExpectations:
2018-08-14 Ryan Haddad <ryanhaddad@apple.com>
Mark legacy-animation-engine/animations/combo-transform-translate+scale.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=185308
Unreviewed test gardening.
* TestExpectations:
2018-08-14 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=188587
Unreviewed test gardening.
Added platform dependent expected result.
* platform/wincairo/http/tests/xmlhttprequest/methods-expected.txt: Added.
2018-08-14 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Implement platform default timeout interval.
https://bugs.webkit.org/show_bug.cgi?id=188565
Reviewed by Alex Christensen.
* platform/wincairo/TestExpectations:
- xmlhttprequest/on-network-timeout-error-during-preflight.html
2018-08-14 Ryan Haddad <ryanhaddad@apple.com>
Mark svg/custom/scrolling-embedded-svg-file-image-repaint-problem.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=188578
Unreviewed test gardening.
* platform/ios/TestExpectations:
2018-08-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Unhandled Promise Rejection logging in workers should not emit ErrorEvent to host Worker object
https://bugs.webkit.org/show_bug.cgi?id=188551
Reviewed by Youenn Fablet.
* http/wpt/workers/promise-unhandled-rejection.any.worker-expected.txt:
* js/dom/unhandled-promise-rejection-bindings-type-error-in-workers-expected.txt:
2018-08-14 Antoine Quint <graouts@apple.com>
[Web Animations] Crash under AnimationTimeline::cancelOrRemoveDeclarativeAnimation()
https://bugs.webkit.org/show_bug.cgi?id=188519
<rdar://problem/43237889>
Reviewed by Eric Carlson.
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
m_elementToCSSAnimationByName map on AnimationTimeline. Then we remove the animation and force a style recalc for this element,
"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
m_elementToCSSAnimationByName but it would be null, which would lead to a crash. Now we check that we indeed have such an animation
before proceeding.
* webanimations/css-animation-effect-target-change-and-animation-removal-crash-expected.html: Added.
* webanimations/css-animation-effect-target-change-and-animation-removal-crash.html: Added.
2018-08-14 Zalan Bujtas <zalan@apple.com>
[LFC][Floating] Adjust vertical position with non-collapsing previous sibling margin.
https://bugs.webkit.org/show_bug.cgi?id=188543
Reviewed by Antti Koivisto.
* fast/block/block-only/float-and-siblings-with-margins-expected.txt: Added.
* fast/block/block-only/float-and-siblings-with-margins.html: Added.
2018-08-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Worker should support unhandled promise rejections
https://bugs.webkit.org/show_bug.cgi?id=188265
Reviewed by Darin Adler.
* fast/dom/reference-cycle-leaks-expected.txt:
* http/wpt/workers/promise-unhandled-rejection.any-expected.txt: Added.
* http/wpt/workers/promise-unhandled-rejection.any.html: Added.
* http/wpt/workers/promise-unhandled-rejection.any.js: Added.
(promise_test):
* http/wpt/workers/promise-unhandled-rejection.any.worker-expected.txt: Added.
* http/wpt/workers/promise-unhandled-rejection.any.worker.html: Added.
* js/dom/unhandled-promise-rejection-basic-in-workers-expected.txt: Added.
* js/dom/unhandled-promise-rejection-basic-in-workers.html: Added.
* js/dom/unhandled-promise-rejection-bindings-type-error-in-workers-expected.txt: Added.
* js/dom/unhandled-promise-rejection-bindings-type-error-in-workers.html: Added.
* js/dom/unhandled-promise-rejection-handle-during-event-in-workers-expected.txt: Added.
* js/dom/unhandled-promise-rejection-handle-during-event-in-workers.html: Added.
* js/dom/unhandled-promise-rejection-handle-in-handler-in-workers-expected.txt: Added.
* js/dom/unhandled-promise-rejection-handle-in-handler-in-workers.html: Added.
* js/dom/unhandled-promise-rejection-handle-in-workers-expected.txt: Added.
* js/dom/unhandled-promise-rejection-handle-in-workers.html: Added.
* js/dom/unhandled-promise-rejection-order-in-workers-expected.txt: Added.
* js/dom/unhandled-promise-rejection-order-in-workers.html: Added.
* js/resources/unhandled-promise-rejection-basic-in-workers.js: Added.
(global.onunhandledrejection):
* js/resources/unhandled-promise-rejection-bindings-type-error-in-workers.js: Added.
(global.onunhandledrejection):
(catch):
(setTimeout):
* js/resources/unhandled-promise-rejection-handle-during-event-in-workers.js: Added.
(global.onunhandledrejection):
* js/resources/unhandled-promise-rejection-handle-in-handler-in-workers.js: Added.
(global.onunhandledrejection):
(global.onrejectionhandled):
* js/resources/unhandled-promise-rejection-handle-in-workers.js: Added.
(global.onunhandledrejection):
(global.onrejectionhandled):
* js/resources/unhandled-promise-rejection-order-in-workers.js: Added.
(global.onunhandledrejection):
2018-08-13 Joseph Pecoraro <pecoraro@apple.com>
[macOS debug] LayoutTest inspector/worker/resources-in-worker.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=168091
Reviewed by Devin Rousso.
* inspector/worker/resources-in-worker-expected.txt:
* inspector/worker/resources-in-worker.html:
* inspector/worker/resources/resource-utilities.js:
* inspector/worker/resources/worker-resources.js:
Be a little more careful about proceeding with tests after starting the Worker.
Fix the resource load from the main target to actually load a real resource.
* inspector/dom-debugger/resources/dataXHR.json: Added.
* inspector/dom-debugger/xhr-breakpoints.html:
Load an actual resource.
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
This test always passes for me in Release and Debug. Reset expectations.
2018-08-13 Ali Juma <ajuma@chromium.org>
[IntersectionObserver] Validate threshold values
https://bugs.webkit.org/show_bug.cgi?id=188475
Reviewed by Simon Fraser.
Add test coverage for interesting floating point threshold values.
* intersection-observer/intersection-observer-interface-expected.txt:
* intersection-observer/intersection-observer-interface.html:
2018-08-13 Ryan Haddad <ryanhaddad@apple.com>
[iOS] Rebaseline and re-enable svg tests
https://bugs.webkit.org/show_bug.cgi?id=180459
Unreviewed test gardening.
* platform/ios-wk2/TestExpectations:
* platform/ios/TestExpectations:
[ truncated ]
2018-08-13 Said Abou-Hallawa <sabouhallawa@apple.com>
Followup (r234683): Element::getAttribute() should return the first non-null attribute value
https://bugs.webkit.org/show_bug.cgi?id=188419
Reviewed by Darin Adler.
* svg/custom/href-svg-namespace-empty-expected.txt: Added.
* svg/custom/href-svg-namespace-empty.html: Added.
2018-08-13 Zalan Bujtas <zalan@apple.com>
[LFC][Floating] Add basic clearance support
https://bugs.webkit.org/show_bug.cgi?id=188492
Reviewed by Antti Koivisto.
* fast/block/block-only/floating-left-and-right-with-clearance-expected.txt: Added.
* fast/block/block-only/floating-left-and-right-with-clearance.html: Added.
2018-08-13 Zan Dobersek <zdobersek@igalia.com>
Unreviewed WPE gardening. Cleaned up test expectations for tests under
fast/dom/, unskipping all tests and then adding the failure or timeout
test expectations as appropriate. Missing port-specific baselines are
also included.
* platform/wpe/TestExpectations:
* platform/wpe/fast/dom/: Necessary test expectations added.
2018-08-13 Zan Dobersek <zdobersek@igalia.com>
Unreviewed WPE gardening.
Removed an unnecessary block of skipped tests that cover WebCrypto API
support for 521-bit EC keys. All these tests pass.
Removed unnecessary pass directives for imported WPT tests. Moved
related flaky or skipped tests into appropriate sections.
Also adjusted a few other expectations, moving them into the appropriate
section or just removing them for being outdated or duplicates.
* platform/wpe/TestExpectations:
2018-08-13 Zan Dobersek <zdobersek@igalia.com>
Unreviewed WPE gardening. Adopt test expectation sections similar to the
GTK+ TestExpectations file. Sort some test expectations accordingly,
while the rest of the expectations will follow later.
* platform/wpe/TestExpectations:
2018-08-12 Michael Catanzaro <mcatanzaro@igalia.com>
Unreviewed GTK test gardening
* platform/gtk/TestExpectations:
* platform/gtk/fast/forms/color/input-appearance-color-expected.png:
* platform/gtk/fast/forms/color/input-appearance-color-expected.txt:
2018-08-12 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Break reference cycle in ErrorEvent by using JSValueInWrappedObject
https://bugs.webkit.org/show_bug.cgi?id=188491
Reviewed by Darin Adler.
* fast/dom/reference-cycle-leaks-expected.txt:
2018-08-12 Aditya Keerthi <akeerthi@apple.com>
[macOS] Color wells should appear pressed when presenting a color picker
https://bugs.webkit.org/show_bug.cgi?id=188477
Reviewed by Tim Horton.
Rebaseline tests to match new color-well appearance.
* platform/mac/fast/forms/color/input-appearance-color-expected.png:
* platform/mac/fast/forms/color/input-appearance-color-expected.txt:
2018-08-12 Zalan Bujtas <zalan@apple.com>
[LFC] Float prev/next sibling should prevent top/bottom margin collapsing with parent.
https://bugs.webkit.org/show_bug.cgi?id=188487
Reviewed by Antti Koivisto.
* fast/block/block-only/floating-and-next-previous-inflow-with-margin-expected.txt: Added.
* fast/block/block-only/floating-and-next-previous-inflow-with-margin.html: Added.
2018-08-10 Joseph Pecoraro <pecoraro@apple.com>
Web Inspector: console.log fires getters for deep properties
https://bugs.webkit.org/show_bug.cgi?id=187542
<rdar://problem/42873158>
Reviewed by Saam Barati.
* inspector/injected-script/avoid-getter-invocation-expected.txt: Added.
* inspector/injected-script/avoid-getter-invocation.html: Added.
2018-08-10 Joseph Pecoraro <pecoraro@apple.com>
LayoutTest inspector/worker/debugger-pause.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=164833
<rdar://problem/29295404>
Reviewed by Brian Burg.
* inspector/worker/debugger-pause.html:
Add a microtask turn to ensure the workerTarget's mainResource is setup.
There were times it might not get setup, but a single turn appears
reliable enough.
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
This test always passes for me in Release and Debug. Reset expectations.
2018-08-10 Chris Dumez <cdumez@apple.com>
Crash under NetworkResourceLoader::convertToDownload()
https://bugs.webkit.org/show_bug.cgi?id=188479
<rdar://problem/42201724>
Reviewed by Alex Christensen.
Add layout test coverage which reproduces the crash by:
1. Loading a cacheable plugin while plugins are enabled so that the plugin goes into the disk cache
2. Load the plugin again with plugins disabled so that we try to convert the load to a download
* http/tests/download/convert-cached-load-to-download-expected.txt: Added.
* http/tests/download/convert-cached-load-to-download.html: Added.
* http/tests/plugins/resources/mock-plugin-cacheable.pl: Added.
2018-08-10 Ross Kirsling <ross.kirsling@sony.com>
[WinCairo] More unreviewed gardening.
* platform/wincairo/TestExpectations:
2018-08-10 Basuke Suzuki <Basuke.Suzuki@sony.com>
[LayoutTests] Suppress warning messages generated by the test scripts.
https://bugs.webkit.org/show_bug.cgi?id=188455
Reviewed by Fujii Hironori.
The messages such as warnings shouldn't be out on error log if that can be avoidable.
* http/tests/cookies/resources/cookie-utility.php:
* http/tests/xmlhttprequest/resources/access-control-allow-lists.php:
* http/tests/xmlhttprequest/resources/access-control-basic-get-fail-non-simple.cgi:
* http/tests/xmlhttprequest/resources/post-echo.cgi:
* http/tests/xmlhttprequest/web-apps/004-test.cgi:
2018-08-10 Daniel Bates <dabates@apple.com>
Once <object> is hidden, its content won't be displayed again if its URL has fragment identifier ("#").
https://bugs.webkit.org/show_bug.cgi?id=187990
Reviewed by Simon Fraser.
Add tests to ensure that we repaint an <object>, whose resource URL contains a fragment, when
its CSS display property changes as well as when its navigated to a different anchor in the same
document.
* fast/repaint/object-as-iframe-hide-and-show-document-at-anchor-expected.txt: Added.
* fast/repaint/object-as-iframe-hide-and-show-document-at-anchor.html: Added.
* fast/repaint/object-as-iframe-navigate-to-same-document-anchor-repaint-expected.txt: Added.
* fast/repaint/object-as-iframe-navigate-to-same-document-anchor-repaint.html: Added.
* fast/repaint/resources/red-square-on-top-of-green-square.html: Added.
2018-08-10 Ali Juma <ajuma@chromium.org>
[IntersectionObserver] Implement rootMargin parsing
https://bugs.webkit.org/show_bug.cgi?id=188469
Reviewed by Darin Adler.
* intersection-observer/intersection-observer-interface-expected.txt:
* intersection-observer/intersection-observer-interface.html:
2018-08-10 Joseph Pecoraro <pecoraro@apple.com>
Eliminate remaining instances of "ElCapitan" from LayoutTests / Tools
https://bugs.webkit.org/show_bug.cgi?id=188458
Reviewed by Alex Christensen.
* platform/mac-wk1/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
2018-08-10 Ross Kirsling <ross.kirsling@sony.com>
[WinCairo] Unreviewed layout test gardening.
* platform/wincairo/TestExpectations:
* platform/wincairo/editing/selection/5057506-expected.png: Added.
* platform/wincairo/editing/selection/caret-ltr-right-expected.txt:
* platform/wincairo/editing/selection/caret-rtl-right-expected.txt:
* platform/wincairo/editing/selection/doubleclick-crash-expected.txt: Added.
* platform/wincairo/editing/selection/editable-links-expected.txt: Added.
* platform/wincairo/editing/selection/extend-by-character-006-expected.txt: Added.
* platform/wincairo/editing/selection/extend-by-sentence-001-expected.txt: Added.
* platform/wincairo/editing/selection/extend-by-word-001-expected.txt: Added.
* platform/wincairo/editing/selection/extend-inside-transforms-backward-expected.txt: Added.
* platform/wincairo/editing/selection/extend-inside-transforms-forward-expected.txt: Added.
* platform/wincairo/editing/selection/extend-selection-bidi-expected.txt: Added.
* platform/wincairo/editing/selection/focus-body-expected.txt: Added.
* platform/wincairo/editing/selection/move-by-line-001-expected.txt: Added.
* platform/wincairo/editing/selection/move-by-word-001-expected.txt: Added.
* platform/wincairo/editing/selection/select-all-001-expected.txt: Added.
* platform/wincairo/editing/selection/select-all-002-expected.txt: Added.
* platform/wincairo/editing/selection/select-all-003-expected.txt: Added.
* platform/wincairo/editing/selection/select-all-004-expected.txt: Added.
* platform/wincairo/editing/selection/unrendered-001-expected.txt: Added.
* platform/wincairo/editing/selection/unrendered-002-expected.txt: Added.
* platform/wincairo/editing/selection/unrendered-003-expected.txt: Added.
* platform/wincairo/editing/selection/unrendered-004-expected.txt: Added.
* platform/wincairo/editing/selection/unrendered-005-expected.txt: Added.
2018-08-09 Basuke Suzuki <Basuke.Suzuki@sony.com>
[LayoutTests] Test case which committed on r175053 was wrong.
https://bugs.webkit.org/show_bug.cgi?id=188454
Reviewed by Fujii Hironori.
It was originally committed on https://bugs.webkit.org/show_bug.cgi?id=136938 and has kept unchanged,
but the test case uses non-existing redirect.php scripts which was removed a few months before than
this bug. Also result was compared to wrong values.
* http/tests/xmlhttprequest/cross-origin-redirect-responseURL-expected.txt:
* http/tests/xmlhttprequest/cross-origin-redirect-responseURL.html:
2018-08-09 Joseph Pecoraro <pecoraro@apple.com>
Remove ElCapitan specific layout test expectations
https://bugs.webkit.org/show_bug.cgi?id=188457
Reviewed by Alex Christensen.
* platform/mac-wk1/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
2018-08-09 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=188456
Unreviewed test gardening.
Unskip http/xmlhttprequest.
* platform/wincairo/TestExpectations:
* platform/wincairo/http/tests/local/file-url-sent-as-referer-expected.png: Added.
* platform/wincairo/http/tests/multipart/invalid-image-data-expected.png: Added.
* platform/wincairo/http/tests/multipart/invalid-image-data-standalone-expected.png: Added.
* platform/wincairo/http/tests/uri/css-href-expected.png: Added.
2018-08-09 Truitt Savell <tsavell@apple.com>
REGRESSION (r234330): 3 legacy-animation-engine/compositing tests are flaky failures
https://bugs.webkit.org/show_bug.cgi?id=188357
Unreviewed test gardening.
* platform/mac-wk1/TestExpectations:
2018-08-09 Ali Juma <ajuma@chromium.org>
Update IDL for IntersectionObserverEntry and IntersectionObserverEntryInit
https://bugs.webkit.org/show_bug.cgi?id=188445
Reviewed by Simon Fraser.
* intersection-observer/intersection-observer-entry-interface-expected.txt:
* intersection-observer/intersection-observer-entry-interface.html:
2018-08-08 Keith Miller <keith_miller@apple.com>
Array.prototype.sort should call @toLength instead of ">>> 0"
https://bugs.webkit.org/show_bug.cgi?id=188430
Reviewed by Saam Barati.
Remove invalid conformance test expectations. Array.prototype.sort calls toLength, which
does not truncate integers.
* 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:
* 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:
* 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:
2018-08-09 Miguel Gomez <magomez@igalia.com>
Unreviewed GTK+ gardening after r234720.
* platform/gtk/TestExpectations:
* platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt:
2018-08-09 Zan Dobersek <zdobersek@igalia.com>
Unreviewed GTK+ and WPE gardening. Add a reftest failure expectation.
Update a WPT EME test baseline for the WPE port.
* platform/gtk/TestExpectations:
* platform/wpe/TestExpectations:
* platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input.https-expected.txt:
2018-08-08 Ryosuke Niwa <rniwa@webkit.org>
REGRESSION (r228260): Events handled by input method invoke default event handler
https://bugs.webkit.org/show_bug.cgi?id=188370
Reviewed by Wenson Hsieh.
Added a regression test. Due to the lack of adequate support of textInputController in WebKitTestRunner,
the test is only enabled in WebKit1. The WTR fix is tracked by https://webkit.org/b/188428.
* editing/input/press-tab-during-ime-composition-expected.txt: Added.
* editing/input/press-tab-during-ime-composition.html: Added.
* platform/ios/TestExpectations:
* platform/wk2/TestExpectations:
2018-08-08 Basuke Suzuki <Basuke.Suzuki@sony.com>
[Curl] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=188420
Unreviewed test gardening.
Fix test result after r234607 landed. Part 1 for http/tests
* platform/wincairo/TestExpectations:
* platform/wincairo/http/tests/local/file-url-sent-as-referer-expected.txt:
* platform/wincairo/http/tests/multipart/invalid-image-data-expected.txt:
* platform/wincairo/http/tests/multipart/invalid-image-data-standalone-expected.txt:
* platform/wincairo/http/tests/uri/css-href-expected.txt:
2018-08-08 Joseph Pecoraro <pecoraro@apple.com>
Web Inspector: XHR content sometimes shows as error even though load succeeded
https://bugs.webkit.org/show_bug.cgi?id=188385
<rdar://problem/42646160>
Reviewed by Devin Rousso.
* http/tests/inspector/network/xhr-response-body-expected.txt:
* http/tests/inspector/network/xhr-response-body.html:
Extend this test to include synchronous XHR for text and non-text resources.
2018-08-08 Truitt Savell <tsavell@apple.com>
Adjusting test expectations for imported/blink/fast/text/international-iteration-simple-text.html
https://bugs.webkit.org/show_bug.cgi?id=179853
Unreviewed test gardening.
* platform/ios-wk2/TestExpectations:
* platform/mac-wk1/TestExpectations:
2018-08-08 Ms2ger <Ms2ger@igalia.com>
[GTK] Unreviewed test gardening
https://bugs.webkit.org/show_bug.cgi?id=188409
Unreviewed test gardening.
* platform/gtk/TestExpectations: Remove expectations for now-passing tests.
2018-08-08 Wenson Hsieh <wenson_hsieh@apple.com>
[iOS] fast/events/ios/contenteditable-autocapitalize.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=188401
<rdar://problem/32542300>
Reviewed by Ryosuke Niwa.
Minor tweaks to make this test a bit easier to follow. Use async-await for each step of the test, and pass in
the current autocapitalization type to `runTestWithAutocapitalizeType` rather than the next type. See Tools
ChangeLog for more details.
* fast/events/ios/contenteditable-autocapitalize.html:
* platform/ios/TestExpectations:
Remove the failing test expecation.
2018-08-08 Manuel Rego Casasnovas <rego@igalia.com>
[css-grid] Update behavior of percentage row tracks and gutters
https://bugs.webkit.org/show_bug.cgi?id=188403
Reviewed by Sergio Villar Senin.
Update tests as needed according to the new behavior.
* TestExpectations: Two grid gutters tests from WPT css-align suite are passing now.
* fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
* fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt:
* fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
* fast/css-grid-layout/grid-columns-rows-get-set.html:
* fast/css-grid-layout/grid-gutters-as-percentage-expected.txt:
* fast/css-grid-layout/grid-gutters-as-percentage.html:
* fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows-expected.txt:
* fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows.html:
* fast/css-grid-layout/named-grid-line-get-set-expected.txt:
* fast/css-grid-layout/named-grid-line-get-set.html:
* fast/css-grid-layout/nested-grid-expected.html:
* fast/css-grid-layout/percent-track-breadths-regarding-container-size.html:
* fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js:
* fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
2018-08-07 Chris Dumez <cdumez@apple.com>
navigator.sendBeacon does not work in pagehide callbacks
https://bugs.webkit.org/show_bug.cgi?id=188329
Reviewed by Alex Christensen.
Add layout test coverage.
* http/wpt/beacon/sendBeacon-in-pagehide-expected.txt: Added.
* http/wpt/beacon/sendBeacon-in-pagehide.html: Added.
* http/wpt/beacon/support/sendBeacon-onpagehide-window.html: Added.
2018-08-07 Said Abou-Hallawa <sabouhallawa@apple.com>
Allow href attribute without xlink on SVG elements
https://bugs.webkit.org/show_bug.cgi?id=153854
Reviewed by Dean Jackson.
* fast/selectors/any-link-basics-2-expected.txt:
* fast/selectors/any-link-basics-2.html:
Re-baseline this test because it was assuming the bare href should not
work for the SVG <a> element.
* svg/custom/href-svg-namespace-animate-expected.svg: Added.
* svg/custom/href-svg-namespace-animate.svg: Added.
* svg/custom/href-svg-namespace-dynamic-expected.svg: Added.
* svg/custom/href-svg-namespace-dynamic.svg: Added.
* svg/custom/href-svg-namespace-elements-expected.txt: Added.
* svg/custom/href-svg-namespace-elements.html: Added.
* svg/custom/href-svg-namespace-static-expected.svg: Added.
* svg/custom/href-svg-namespace.static-svg: Added.
2018-08-07 Ryosuke Niwa <rniwa@webkit.org>
document.open and document.write must throw while the HTML parser is synchronously constructing a custom element
https://bugs.webkit.org/show_bug.cgi?id=187319
<rdar://problem/42843012>
Reviewed by Frédéric Wang.
Added W3C style testharness.js tests. The WPT test added by https://github.com/web-platform-tests/wpt/pull/12037
doesn't test nearly as many edge cases.
* fast/custom-elements/resources/navigation-destination.html: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct-expected.txt: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct.html: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions-expected.txt: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions.html: Added.
2018-08-07 Rob Buis <rbuis@igalia.com>
fetch() with subresource integrity crashes on zero length body
https://bugs.webkit.org/show_bug.cgi?id=184325
Reviewed by Alex Christensen.
Add a subtest for zero length resources.
* http/tests/subresource-integrity/resources/empty-resource.txt: Added.
* http/tests/subresource-integrity/sri-fetch-expected.txt:
* http/tests/subresource-integrity/sri-fetch-worker-expected.txt:
* http/tests/subresource-integrity/sri-fetch.js:
2018-08-07 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r234669.
https://bugs.webkit.org/show_bug.cgi?id=188390
Didn't commit the actual change (Requested by rniwa on
#webkit).
Reverted changeset:
"document.open and document.write must throw while the HTML
parser is synchronously constructing a custom element"
https://bugs.webkit.org/show_bug.cgi?id=187319
https://trac.webkit.org/changeset/234669
2018-08-07 Ryosuke Niwa <rniwa@webkit.org>
document.open and document.write must throw while the HTML parser is synchronously constructing a custom element
https://bugs.webkit.org/show_bug.cgi?id=187319
<rdar://problem/42843012>
Reviewed by Frédéric Wang.
Added W3C style testharness.js tests. The WPT test added by https://github.com/web-platform-tests/wpt/pull/12037
doesn't test nearly as many edge cases.
* fast/custom-elements/resources/navigation-destination.html: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct-expected.txt: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-construct.html: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions-expected.txt: Added.
* fast/custom-elements/throw-on-dynamic-markup-insertion-counter-reactions.html: Added.
2018-08-07 Wenson Hsieh <wenson_hsieh@apple.com>
REGRESSION (r233778): Text selection sometimes cannot be extended in iframes
https://bugs.webkit.org/show_bug.cgi?id=188374
<rdar://problem/42928657>
Reviewed by Simon Fraser.
Add 2 new layout tests to cover the original bug that r233778 fixed, as well as the regression in this bug.
* editing/selection/ios/selection-handles-in-iframe-expected.txt: Added.
* editing/selection/ios/selection-handles-in-iframe.html: Added.
Add a test to verify that the user can select text in an iframe by dragging selection handles.
* editing/selection/ios/selection-handles-in-readonly-input-expected.txt: Added.
* editing/selection/ios/selection-handles-in-readonly-input.html: Added.
Add a test to verify that dragging a selection handle outside of a readonly input does not cause the selection
to jump outside of the input and clear out the selection in the input.
2018-08-07 Alex Christensen <achristensen@webkit.org>
Fix things after r234640
https://bugs.webkit.org/show_bug.cgi?id=188133
* platform/mac-sierra-wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added.
Added test expectation for Sierra, which has no safe browsing framework.
2018-08-07 Yusuke Suzuki <yusukesuzuki@slowstart.org>
Unreviewed, Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-installed.https.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=188246
Unreviewed test gardening, marked test as flaky because the test is wrong.
* TestExpectations:
2018-08-06 Simon Fraser <simon.fraser@apple.com>
De-flake some animation tests
https://bugs.webkit.org/show_bug.cgi?id=188356
Reviewed by Dean Jackson.
The tests in legacy-animation-engine were flakey because the animation can start before
we get a chance to register the event listener. Fix by starting the animation after the
load event fires. Make the non-legacy tests match.
* compositing/visible-rect/animated-from-none.html:
* compositing/visible-rect/animated.html:
* legacy-animation-engine/compositing/visible-rect/animated-from-none.html:
* legacy-animation-engine/compositing/visible-rect/animated.html:
2018-08-06 Alex Christensen <achristensen@webkit.org>
Check with SafeBrowsing during navigation in WKWebView
https://bugs.webkit.org/show_bug.cgi?id=188133
Reviewed by Andy Estes.
* platform/wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Copied from http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt.
This test verifies that keys cannot be entered during navigation, and the keys seen in WebKitTestRunner
are before the navigation. This is seen now because there is a brief moment in time between when
WebKitTestRunner calls decidePolicyForNavigationAction and when the WebContent receives it.
* svg/custom/anchor-on-use.svg:
This test verifies what the page looks like after navigation. It used to just call testRunner.notifyDone
when the link was clicked and because of the timing of messages sent with the UIProcess, WebKitTestRunner
would see the results after the page navigated. Because we are adding a delay during navigation, the
message order can no longer be relied on in this way. To fix this, we are just calling notifyDone in an
unload handler.
2018-08-06 Ryosuke Niwa <rniwa@webkit.org>
fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html always timeouts on debug bots
https://bugs.webkit.org/show_bug.cgi?id=188353
Remove the timeout expectation now that the test is passing on debug bots.
* TestExpectations:
2018-08-04 Ryosuke Niwa <rniwa@webkit.org>
Add CEReactions=NotNeeded for reactions only needed for customized builtins
https://bugs.webkit.org/show_bug.cgi?id=187851
Reviewed by Chris Dumez.
Added a regression test for enqueuing a custom element reaction in a DOM API marked as [CEReaction]
inside another DOM API with [CEReaction=NotNeeded]. WebKit should not hit a debug assertion added
by this patch.
* fast/custom-elements/custom-element-reaction-within-disallowed-scope-expected.txt: Added.
* fast/custom-elements/custom-element-reaction-within-disallowed-scope.html: Added.
2018-08-06 Matt Baker <mattbaker@apple.com>
Web Inspector: split-up async stack trace test suite to improve clarity and maintainability
https://bugs.webkit.org/show_bug.cgi?id=185398
<rdar://problem/40040289>
Reviewed by Joseph Pecoraro.
* inspector/debugger/async-stack-trace-basic-expected.txt: Added.
* inspector/debugger/async-stack-trace-basic.html: Added.
Basic tests that check for the existence of an asynchronous stack trace
when pausing inside an asynchronous callback function.
* inspector/debugger/async-stack-trace-event-listener-expected.txt: Added.
* inspector/debugger/async-stack-trace-event-listener.html: Added.
* inspector/debugger/async-stack-trace-expected.txt: Removed.
* inspector/debugger/async-stack-trace-truncate-expected.txt: Added.
* inspector/debugger/async-stack-trace-truncate.html: Added.
Test scenarios where the number of call frames in the async stack trace
exceeds the maximum depth and is truncated.
* inspector/debugger/async-stack-trace.html: Removed.
* inspector/debugger/resources/async-stack-trace-test.js: Added.
(TestPage.registerInitializer.window.getAsyncStackTrace):
(TestPage.registerInitializer.logCallFrame):
(TestPage.registerInitializer.window.logAsyncStackTrace):
(TestPage.registerInitializer.window.addAsyncStackTraceTestCase):
(TestPage.registerInitializer):
Utility functions used across tests.
* inspector/debugger/resources/postMessage-echo.html: Removed.
This was unnecessary. To check that an async stack trace exists when
pausing in a postMessage handler, all we need is an iframe that posts a
message to its parent as soon as it is created. The iframe is now created
inline in async-stack-trace-basic.html.
* platform/mac/TestExpectations:
2018-08-06 Daniel Bates <dabates@apple.com>
Setting table layout to fixed causes incorrect cell width calculations
https://bugs.webkit.org/show_bug.cgi?id=90068
Reviewed by Simon Fraser.
Derived from the test case written by Pravin D.
Add a test case to ensure we do not regress cell width computation in fixed table layout
when colspan is greater than the number of columns in the table.
* fast/table/fixed-table-layout/width-distribution-when-colspan-greater-than-table-columns-expected.html: Added.
* fast/table/fixed-table-layout/width-distribution-when-colspan-greater-than-table-columns.html: Added.
2018-08-06 Daniel Bates <dabates@apple.com>
Add tests to ensure that Same-Site cookies are stored when set as the first party
https://bugs.webkit.org/show_bug.cgi?id=188080
Reviewed by Alexey Proskuryakov.
* http/tests/cookies/resources/cookie-utilities.js:
(getDOMCookies): Return an empty dictionary when there are no DOM cookies. Currently we
return {"": undefined}.
* http/tests/cookies/resources/cookie-utilities.php: Added.
* http/tests/cookies/resources/echo-http-and-dom-cookies-and-notify-done.php: Added.
* http/tests/cookies/same-site/set-first-party-cross-site-cookies-expected.txt: Added.
* http/tests/cookies/same-site/set-first-party-cross-site-cookies.php: Added.
* http/tests/cookies/same-site/set-first-party-same-site-cookies-expected.txt: Added.
* http/tests/cookies/same-site/set-first-party-same-site-cookies.php: Added.
* platform/ios-12/TestExpectations: Skip the tests until the fix for <rdar://problem/42255251>
is shipped.
* platform/mac/TestExpectations: Ditto.
2018-08-06 Ryosuke Niwa <rniwa@webkit.org>
fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html always timeouts on debug bots
https://bugs.webkit.org/show_bug.cgi?id=188353
Reviewed by Saam Barati.
Rely on GCController.collect() instead of allocating 1,000,000 objects in WebKitTestRunner / DumpRenderTree
so that debug builders won't timeout.
* fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html:
2018-08-06 Ryosuke Niwa <rniwa@webkit.org>
fast/custom-elements/custom-element-registry-wrapper-should-stay-alive.html always timeouts on debug bots
https://bugs.webkit.org/show_bug.cgi?id=188353
Add a timeout expectation to the test while I verify the fix for the test.
* TestExpectations:
2018-08-03 Ryan Haddad <ryanhaddad@apple.com>
Unreviewed test gardening for mac-wk1.
* platform/mac-wk1/TestExpectations:
2018-08-06 Aditya Keerthi <akeerthi@apple.com>
[iOS] Indeterminate checkboxes appear unchecked
https://bugs.webkit.org/show_bug.cgi?id=160484
<rdar://problem/31143185>
Reviewed by Wenson Hsieh.
Added reftest to ensure that the indeterminate checkbox does not appear the same
as an unchecked checkbox.
* fast/forms/ios/render-indeterminate-checkbox-expected-mismatch.html: Added.
* fast/forms/ios/render-indeterminate-checkbox.html: Added.
* platform/ios/fast/forms/indeterminate-expected.txt: Rebaseline.
2018-08-06 Truitt Savell <tsavell@apple.com>
storage/indexeddb/modern/opendatabase-after-storage-crash.html is causing tests in directory svg/ to timeout at random