2019-08-02 Ryosuke Niwa Document::resume should delay resetting of form control elements. https://bugs.webkit.org/show_bug.cgi?id=200376 Reviewed by Geoffrey Garen. Added a regression test. * fast/frames/restoring-page-cache-should-not-run-scripts-expected.txt: Added. * fast/frames/restoring-page-cache-should-not-run-scripts.html: Added. * platform/win/TestExpectations: Skip this test on Windows since navigating to blob fails on Windows. 2019-07-17 Olivier Blin Web Inspector: application/xml content not shown https://bugs.webkit.org/show_bug.cgi?id=199861 Reviewed by Devin Rousso. * inspector/unit-tests/mimetype-utilities-expected.txt: * inspector/unit-tests/mimetype-utilities.html: Test for shouldTreatMIMETypeAsText. 2019-07-08 Charlie Turner [GStreamer] media/video-volume.html broken after switching from cubic to linear scaling https://bugs.webkit.org/show_bug.cgi?id=199505 Reviewed by Xabier Rodriguez-Calvar. PulseAudio has a conversion process from volume's in double-precision to uint32_t volumes. Depending on the environment can introduce rounding errors. Be more lenient in our comparison code. * media/video-volume-expected.txt: Update baseline * media/video-volume.html: Compare volume values within a reasonable tolerance. 2019-07-01 Chris Dumez It should not be possible to trigger a load while in the middle of restoring a page in PageCache https://bugs.webkit.org/show_bug.cgi?id=199190 Reviewed by Brady Eidson. Add layout test coverage. * http/tests/security/navigate-when-restoring-cached-page-expected.txt: Added. * http/tests/security/navigate-when-restoring-cached-page.html: Added. * http/tests/security/resources/navigate-when-restoring-cached-page-frame.html: Added. * http/tests/security/resources/navigate-when-restoring-cached-page-victim.html: Added. 2019-06-26 Ryosuke Niwa ReplacementFragment should not have script observable side effects https://bugs.webkit.org/show_bug.cgi?id=199147 Reviewed by Wenson Hsieh. Added regression tests. * editing/pasteboard/paste-contents-with-side-effects-expected.txt: Added. * editing/pasteboard/paste-contents-with-side-effects.html: Added. 2019-06-03 Yusuke Suzuki [JSC] JSObject::attemptToInterceptPutByIndexOnHole should use getPrototype instead of getPrototypeDirect https://bugs.webkit.org/show_bug.cgi?id=198477 Reviewed by Saam Barati. Ensure that JSWindow::getPrototype is used. * http/tests/security/cross-frame-access-object-getPrototypeOf-in-put-expected.txt: Added. * http/tests/security/cross-frame-access-object-getPrototypeOf-in-put.html: Added. * http/tests/security/resources/cross-frame-iframe-for-object-getPrototypeOf-in-put-test.html: Added. 2019-05-20 Chris Dumez Fix security check in ScriptController::canAccessFromCurrentOrigin() https://bugs.webkit.org/show_bug.cgi?id=196730 Reviewed by Ryosuke Niwa. Add layout test coverage. * http/tests/security/showModalDialog-sync-cross-origin-page-load2-expected.txt: Added. * http/tests/security/showModalDialog-sync-cross-origin-page-load2.html: Added. 2019-05-08 Zalan Bujtas Do not mix inline and block level boxes. https://bugs.webkit.org/show_bug.cgi?id=197462 Reviewed by Antti Koivisto. * fast/ruby/continuation-and-column-spanner-crash-expected.txt: Added. * fast/ruby/continuation-and-column-spanner-crash.html: Added. 2019-05-04 Tadeu Zagallo TypedArrays should not store properties that are canonical numeric indices https://bugs.webkit.org/show_bug.cgi?id=197228 Reviewed by Saam Barati. * fast/canvas/canvas-ImageData-behaviour-expected.txt: * fast/canvas/canvas-ImageData-behaviour.js: 2019-06-10 Daniel Bates [CSP] Blob URLs should inherit their CSP policy https://bugs.webkit.org/show_bug.cgi?id=198579 Reviewed by Brent Fulgham. Actually add the tests that I inadvertently omitted from r246277. * http/tests/security/contentSecurityPolicy/navigate-self-to-blob-expected.txt: Added. * http/tests/security/contentSecurityPolicy/navigate-self-to-blob.html: Added. * http/tests/security/contentSecurityPolicy/navigate-self-to-data-url-expected.txt: Added. * http/tests/security/contentSecurityPolicy/navigate-self-to-data-url.html: Added. 2019-06-10 Daniel Bates [CSP] Blob URLs should inherit their CSP policy https://bugs.webkit.org/show_bug.cgi?id=198579 Reviewed by Brent Fulgham. Add tests to ensure that a self navigation to a Blob or Data URL inherits its CSP policy from its parent document. * http/tests/security/contentSecurityPolicy/navigate-self-to-blob-expected.txt: Added. * http/tests/security/contentSecurityPolicy/navigate-self-to-blob.html: Added. * http/tests/security/contentSecurityPolicy/navigate-self-to-data-url-expected.txt: Added. * http/tests/security/contentSecurityPolicy/navigate-self-to-data-url.html: Added. 2019-06-05 Daniel Bates [CSP] Data URLs should inherit their CSP policy https://bugs.webkit.org/show_bug.cgi?id=198572 Reviewed by Brent Fulgham. Add a test to ensure that a framed data URL inherits its CSP policy from its parent document. * http/tests/security/contentSecurityPolicy/subframe-with-data-url-inheritance-expected.txt: Added. * http/tests/security/contentSecurityPolicy/subframe-with-data-url-inheritance.html: Added. 2019-05-22 Antti Koivisto Subselectors not searched when determining property whitelist for selector https://bugs.webkit.org/show_bug.cgi?id=198147 Reviewed by Zalan Bujtas. * fast/lists/marker-style-subselector-whitelist-expected.txt: Added. * fast/lists/marker-style-subselector-whitelist.html: Added. 2019-05-19 Brent Fulgham Wait to get frame until after layout has been run https://bugs.webkit.org/show_bug.cgi?id=197999 Reviewed by Alex Christensen. * fast/dom/window-inner-width-crash-expected.txt: Added. * fast/dom/window-inner-width-crash.html: Added. 2019-05-28 Yacine Bandou [MSE][GStreamer] update the readyState correctly in MediaPlayerPrivateGStreamerMSE https://bugs.webkit.org/show_bug.cgi?id=197834 Reviewed by Xabier Rodriguez-Calvar. Add a new test that checks if the MediaElement receives the "canplaythrough" event when the media content is entirely injected to MSE sourceBuffer. * media/media-source/media-source-canplaythrough-event-expected.txt: Added. * media/media-source/media-source-canplaythrough-event.html: Added. 2019-06-12 Carlos Garcia Campos [cairo][SVG] Putting multiple path elements in clippath causes rendering artifacts https://bugs.webkit.org/show_bug.cgi?id=198701 Reviewed by Don Olmstead. * svg/clip-path/clip-hidpi-expected.svg: Added. * svg/clip-path/clip-hidpi.svg: Added. * svg/clip-path/clip-opacity-translate-expected.svg: Added. * svg/clip-path/clip-opacity-translate.svg: Added. 2019-06-11 Fujii Hironori [cairo][SVG] Putting multiple path elements in clippath causes rendering artifacts https://bugs.webkit.org/show_bug.cgi?id=198701 Reviewed by Carlos Garcia Campos. * platform/gtk/TestExpectations: * platform/wpe/TestExpectations: Unskipped svg/gradients/spreadMethodDiagonal3.svg and svg/gradients/spreadMethodDiagonal4.svg. * svg/clip-path/clip-opacity-expected.html: Added. * svg/clip-path/clip-opacity.html: Added. * svg/clip-path/svg-in-html-expected.html: Added. * svg/clip-path/svg-in-html.html: Added. 2019-06-18 Zan Dobersek [WebGL] Extensions3DOpenGLES::bindVertexArrayOES() should allow zero array object https://bugs.webkit.org/show_bug.cgi?id=198929 Reviewed by Carlos Garcia Campos. Enable the passing tests and update one baseline. * platform/wpe/TestExpectations: * platform/wpe/webgl/2.0.0/conformance/extensions/oes-vertex-array-object-expected.txt: 2019-05-30 Andres Gonzalez Inserting a newline in contenteditable causes two characters to be added instead of one https://bugs.webkit.org/show_bug.cgi?id=197894 Reviewed by Wenson Hsieh and Chris Fleizach. * accessibility/ios-simulator/set-selected-text-range-after-newline-expected.txt: Added. * accessibility/ios-simulator/set-selected-text-range-after-newline.html: Added. * accessibility/ios-simulator/text-marker-list-item-expected.txt: * accessibility/set-selected-text-range-after-newline-expected.txt: Added. * accessibility/set-selected-text-range-after-newline.html: Added. * platform/win/TestExpectations: 2019-05-28 Yacine Bandou [MSE][GStreamer] update the readyState correctly in MediaPlayerPrivateGStreamerMSE https://bugs.webkit.org/show_bug.cgi?id=197834 Reviewed by Xabier Rodriguez-Calvar. Add a new test that checks if the MediaElement receives the "canplaythrough" event when the media content is entirely injected to MSE sourceBuffer. * media/media-source/media-source-canplaythrough-event-expected.txt: Added. * media/media-source/media-source-canplaythrough-event.html: Added. 2019-05-15 Zalan Bujtas Do not create a shape object outside of the layout context https://bugs.webkit.org/show_bug.cgi?id=197926 Reviewed by Simon Fraser. * fast/block/float/float-with-shape-outside-crash-expected.txt: Added. * fast/block/float/float-with-shape-outside-crash.html: Added. 2019-05-14 Zalan Bujtas Do not try to issue repaint while the render tree is being destroyed. https://bugs.webkit.org/show_bug.cgi?id=197461 Reviewed by Simon Fraser. * http/tests/svg/crash-on-reload-with-filter-expected.txt: Added. * http/tests/svg/crash-on-reload-with-filter.html: Added. * http/tests/svg/resources/finishTest.html: Added. 2019-05-04 Tadeu Zagallo TypedArrays should not store properties that are canonical numeric indices https://bugs.webkit.org/show_bug.cgi?id=197228 Reviewed by Saam Barati. * fast/canvas/canvas-ImageData-behaviour-expected.txt: * fast/canvas/canvas-ImageData-behaviour.js: 2019-05-02 Chris Dumez Setting a frame's src to a javascript URL should not run it synchronously https://bugs.webkit.org/show_bug.cgi?id=197466 Reviewed by Darin Adler. * fast/dom/frame-src-javascript-url-async-expected.txt: Added. * fast/dom/frame-src-javascript-url-async.html: Added. Add layout test coverage for the fact that the javascript URL is executed asynchronously whether set during parsing or later via JS. Also makes sure that executing the javascript URL asynchronously does not replace the frame's window. This test passes in both Chrome and Firefox. * imported/blink/fast/frames/navigation-in-pagehide.html: Re-sync this test from the Blink repository. * fast/dom/Element/id-in-frameset-expected.txt: * fast/dom/Element/id-in-frameset.html: * fast/dom/insertedIntoDocument-iframe-expected.txt: * fast/dom/javascript-url-exception-isolation-expected.txt: * fast/dom/javascript-url-exception-isolation.html: * fast/dom/no-assert-for-malformed-js-url-attribute-expected.txt: * fast/dom/resources/javascript-url-crash-function-iframe.html: * fast/frames/adopt-from-created-document.html: * fast/frames/out-of-document-iframe-has-child-frame.html: * fast/loader/javascript-url-iframe-remove-on-navigate-async-delegate.html: * fast/loader/javascript-url-iframe-remove-on-navigate.html: * fast/loader/unload-mutation-crash.html: * fast/parser/resources/set-parent-to-javascript-url.html: * fast/parser/xml-error-adopted.xml: * http/tests/navigation/lockedhistory-iframe-expected.txt: * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: * http/tests/security/contentSecurityPolicy/javascript-url-allowed-expected.txt: * http/tests/security/contentSecurityPolicy/javascript-url-blocked-by-default-src-star-expected.txt: * http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: * http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-sub-frame-2-level.html: * http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-sub-frame.html: * http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-from-javscript-url.html: * imported/blink/loader/iframe-sync-loads-expected.txt: * js/dom/call-base-resolution.html: * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Update / Rebaseline existing tests to reflect behavior change. I ran those tests in Firefox and Chrome to confirm that our behavior is indeed aligned. 2019-02-21 Daniel Bates Fix the test failure following r241918 (https://bugs.webkit.org/show_bug.cgi?id=194906) For some reason strict cookies are sent via HTTP in WK1 and not in WK2. Will investigate in . This sub-test failure occurs with and without the patch. As the primary purpose of this test was to ensure correctness for Same Site lax cookies, I've amended the test and test result for now. * http/tests/cookies/same-site/user-load-cross-site-redirect-expected.txt: * http/tests/cookies/same-site/user-load-cross-site-redirect.php: 2019-02-21 Daniel Bates Same Site Lax cookies are not sent with cross-site redirect from client-initiated load https://bugs.webkit.org/show_bug.cgi?id=194906 Reviewed by Brent Fulgham. Add a test that is representative of a user loading a cross-site page that redirects to a page that expects Same Site Lax cookies. * http/tests/cookies/same-site/user-load-cross-site-redirect-expected.txt: Added. * http/tests/cookies/same-site/user-load-cross-site-redirect.php: Added. 2019-04-03 Myles C. Maxfield -apple-trailing-word is needed for browser detection https://bugs.webkit.org/show_bug.cgi?id=196575 Unreviewed. * fast/text/trailing-word-detection-expected.txt: Added. * fast/text/trailing-word-detection.html: Added. * platform/gtk/TestExpectations: * platform/win/TestExpectations: 2019-04-03 Myles C. Maxfield Remove support for -apple-trailing-word https://bugs.webkit.org/show_bug.cgi?id=196525 Reviewed by Zalan Bujtas. This CSS property is nonstandard and not used. * fast/text/trailing-word-expected.html: Removed. * fast/text/trailing-word.html: Removed. * platform/gtk/TestExpectations: * platform/mac/fast/text/trailing-word-parse-expected.txt: Removed. * platform/mac/fast/text/trailing-word-parse.html: Removed. * platform/win/TestExpectations: 2019-04-02 Simon Fraser REGRESSION (r238266): Exchange 2013 Outlook Web Access displays partially blank page when creating new e-mail https://bugs.webkit.org/show_bug.cgi?id=196522 Reviewed by Zalan Bujtas. * compositing/backing/foreground-layer-no-paints-into-ancestor-expected.html: Added. * compositing/backing/foreground-layer-no-paints-into-ancestor.html: Added. 2019-03-28 Zalan Bujtas [SimpleLineLayout] Disable SLL when text-underline-position is not auto. https://bugs.webkit.org/show_bug.cgi?id=196338 Reviewed by Daniel Bates. * fast/text/simple-line-layout-with-text-underline-position-expected.html: Added. * fast/text/simple-line-layout-with-text-underline-position.html: Added. 2019-03-11 Wenson Hsieh [macOS] Dispatching reentrant "contextmenu" events may cause crashes https://bugs.webkit.org/show_bug.cgi?id=195571 Reviewed by Andy Estes. Add a test to verify that triggering reentrant "contextmenu" events from script does not cause a crash. * fast/events/contextmenu-reentrancy-crash-expected.txt: Added. * fast/events/contextmenu-reentrancy-crash.html: Added. 2019-05-07 Brent Fulgham Correct JSON parser to address unterminated escape character https://bugs.webkit.org/show_bug.cgi?id=197582 Reviewed by Alex Christensen. * applicationmanifest/display-mode-bad-manifest-expected.txt: * applicationmanifest/display-mode-bad-manifest.html: * applicationmanifest/resources/bad.manifest: Added. * js/resources/JSON-parse.js: Add test case for unterminated escape. * js/dom/JSON-parse-expected.txt: Add new test case. * TestWebKitAPI/Tests/WTF/JSONValue.cpp: Add new false test case for unterminated escape character. 2019-04-08 Yusuke Suzuki Unreviewed, rolling in r243948 with test fix https://bugs.webkit.org/show_bug.cgi?id=196486 The test relied on the wrong EOF token's offset. This patch also fixes the test. * inspector/runtime/parse-expected.txt: * inspector/runtime/parse.html: 2019-04-25 Philippe Normand [GStreamer] gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed in WebCore::MediaPlayerPrivateGStreamer::paused https://bugs.webkit.org/show_bug.cgi?id=196691 Reviewed by Eric Carlson. Unflag test no longer crashing. * platform/gtk/TestExpectations: * platform/gtk/fast/replaced/border-radius-clip-expected.txt: 2019-04-10 Philippe Normand there is no vp8 support in youtube.com/html5 page with libwebkit2gtk 2.24 (MSE enabled) https://bugs.webkit.org/show_bug.cgi?id=196615 Reviewed by Xabier Rodriguez-Calvar. Update WPE baselines and add/unskip the imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType.html test in GTK. * platform/gtk/TestExpectations: * platform/gtk/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: Copied from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: 2019-04-22 Carlos Garcia Campos REGRESSION(r241289): [GTK] accessibility/removed-continuation-element-causes-crash.html and accessibility/removed-anonymous-block-child-causes-crash.html crashes https://bugs.webkit.org/show_bug.cgi?id=194630 Reviewed by Michael Catanzaro. Remove expectations for tests that are passing now. * platform/gtk/TestExpectations: 2019-04-11 Carlos Garcia Campos [GTK] Layout test accessibility/aria-hidden-false-works-in-subtrees.html fails after r184890 https://bugs.webkit.org/show_bug.cgi?id=146718 Reviewed by Joanmarie Diggs. Update test to ATK behavior, rebaseline it and remove the expectations. * accessibility/aria-hidden-false-works-in-subtrees.html: * platform/gtk/TestExpectations: * platform/gtk/accessibility/aria-hidden-false-works-in-subtrees-expected.txt: 2019-04-10 Carlos Garcia Campos [ATK] Defer the emision of AtkObject::children-changed signal after layout is done https://bugs.webkit.org/show_bug.cgi?id=187948 Reviewed by Michael Catanzaro. Remove expectations of accessibility/children-changed-sends-notification.html that passes now. * platform/gtk/TestExpectations: 2019-04-10 Carlos Garcia Campos [ATK] Test accessibility/insert-children-assert.html is crashing since added in r216980 https://bugs.webkit.org/show_bug.cgi?id=172281 Reviewed by Joanmarie Diggs. Update the test to expect the whole content text on atk and remove the test expectations. * accessibility/insert-children-assert.html: * platform/gtk/TestExpectations: 2019-04-03 Myles C. Maxfield Documents can be destroyed before their CSSFontFaceSet is destroyed https://bugs.webkit.org/show_bug.cgi?id=195830 Reviewed by Darin Adler. * fast/text/font-face-set-destroy-document-expected.html: Added. * fast/text/font-face-set-destroy-document.html: Added. 2019-03-26 Dean Jackson vertexAttribPointer must restrict offset parameter https://bugs.webkit.org/show_bug.cgi?id=196261 Reviewed by Antoine Quint. Add a test where the offset parameter is out of bounds. * fast/canvas/webgl/vertexAttribPointer-with-bad-offset-expected.txt: Added. * fast/canvas/webgl/vertexAttribPointer-with-bad-offset.html: Added. 2019-03-21 Zalan Bujtas Do not insert the first-letter anonymous container until after we've constructed the first-letter renderer. https://bugs.webkit.org/show_bug.cgi?id=195919 Reviewed by Brent Fulgham. * fast/css/first-letter-and-float-crash-expected.txt: Added. * fast/css/first-letter-and-float-crash.html: Added. * platform/mac/TestExpectations: 2019-03-19 Ryosuke Niwa appendChild should throw when inserting an ancestor of a template into its content adopted to another document https://bugs.webkit.org/show_bug.cgi?id=195984 Reviewed by Darin Adler. Added a regression test. * fast/dom/insert-template-parent-into-adopted-content-expected.txt: Added. * fast/dom/insert-template-parent-into-adopted-content.html: Added. 2019-03-19 Ryosuke Niwa Rebaseline the test after r243175. It got somehow landed with failing expectations. * fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: 2019-03-19 Ryosuke Niwa Reparenting during a mutation event inside appendChild could result in a circular DOM tree https://bugs.webkit.org/show_bug.cgi?id=192825 Reviewed by Zalan Bujtas. Added regression tests. * fast/dom/append-child-with-mutation-event-removal-and-circular-insertion-expected.txt: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-insertion.html: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-shadow-insertion-expected.txt: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-shadow-insertion.html: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-template-insertion.html: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-insertion-expected.txt: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-insertion.html: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-shadow-insertion-expected.txt: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-shadow-insertion.html: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-template-insertion.html: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-insertion-expected.txt: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-insertion.html: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-shadow-insertion-expected.txt: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-shadow-insertion.html: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion.html: Added. 2019-03-14 Zalan Bujtas Cleanup inline boxes when list marker gets blockified https://bugs.webkit.org/show_bug.cgi?id=195746 Reviewed by Antti Koivisto. * fast/block/float/list-marker-is-float-crash-expected.txt: Added. * fast/block/float/list-marker-is-float-crash.html: Added. 2019-03-13 Zalan Bujtas Use RenderBox::previousSiblingBox/nextSiblingBox in RenderMultiColumnFlow https://bugs.webkit.org/show_bug.cgi?id=195701 Reviewed by Simon Fraser. * fast/ruby/crash-when-paginated-ruby-expected.txt: Added. * fast/ruby/crash-when-paginated-ruby.html: Added. 2019-03-13 Wenson Hsieh Fix an edge case where HTMLFormElement::removeFormElement is invoked twice with the same element https://bugs.webkit.org/show_bug.cgi?id=195663 Reviewed by Ryosuke Niwa. Add a layout test to exercise the scenario described in the WebCore ChangeLog. * fast/forms/remove-associated-element-after-gc-expected.txt: Added. * fast/forms/remove-associated-element-after-gc.html: Added. 2019-04-03 Michael Catanzaro Get rid of HTMLInputElement::setEditingValue https://bugs.webkit.org/show_bug.cgi?id=196402 Reviewed by Darin Adler. * fast/forms/editing-value-expected.txt: Removed. * fast/forms/editing-value-null-renderer-expected.txt: Removed. * fast/forms/editing-value-null-renderer.html: Removed. * fast/forms/editing-value.html: Removed. 2019-03-28 Carlos Garcia Campos [FreeType] Incorrect application of glyph positioning in the Y direction https://bugs.webkit.org/show_bug.cgi?id=161493 Reviewed by Michael Catanzaro. Rebaseline fast/text/international/hebrew-vowels.html. * platform/gtk/fast/text/international/hebrew-vowels-expected.png: * platform/gtk/fast/text/international/hebrew-vowels-expected.txt: 2019-03-18 Philippe Normand [GStreamer] Rewrite HTTP source element using pushsrc base class https://bugs.webkit.org/show_bug.cgi?id=195631 Reviewed by Xabier Rodriguez-Calvar. * platform/gtk/TestExpectations: * platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt: Update expectations, though it's not really related with this patch. 2019-03-26 Philippe Normand [GStreamer] Sound loop with Google Hangouts and WhatsApp notifications https://bugs.webkit.org/show_bug.cgi?id=189471 Reviewed by Xabier Rodriguez-Calvar. * platform/gtk/TestExpectations: * platform/gtk/media/video-playing-and-pause-expected.txt: 2019-03-22 Alicia Boya García [MSE][GStreamer] Don't construct segments on PlaybackPipeline::flush https://bugs.webkit.org/show_bug.cgi?id=195867 Reviewed by Xabier Rodriguez-Calvar. Drawing an MSE video in a canvas seems to be failing in Mac. That functionality is necessary for the tests introduced with this patch, therefore they fail there. Marking them as Skip. * platform/mac/TestExpectations: 2019-03-20 Alicia Boya García [MSE][GStreamer] Fix handling of resolution changes in AppendPipeline https://bugs.webkit.org/show_bug.cgi?id=195855 Reviewed by Xabier Rodriguez-Calvar. * media/media-source/content/test-green-6s-320x240.mp4: Added. * media/media-source/content/test-red-3s-480x360.mp4: Added. * media/media-source/media-source-samples-resolution-change-expected.txt: Added. * media/media-source/media-source-samples-resolution-change.html: Added. 2019-03-19 Alicia Boya García [MSE] Use tolerance in eraseBeginTime https://bugs.webkit.org/show_bug.cgi?id=195911 Reviewed by Jer Noble. * media/media-source/media-source-append-twice-overlapping-sync-frame-expected.txt: Added. * media/media-source/media-source-append-twice-overlapping-sync-frame.html: Added. 2019-03-12 Dean Jackson [WebGL] WebGLBuffer can be too large https://bugs.webkit.org/show_bug.cgi?id=195068 Reviewed by Antoine Quint. * fast/canvas/webgl/largeBuffer-expected.txt: Added. * fast/canvas/webgl/largeBuffer.html: Added. 2019-03-05 Said Abou-Hallawa SVGPathSegList.insertItemBefore() should fail if the newItem belongs to an animating animPathSegList https://bugs.webkit.org/show_bug.cgi?id=195333 Reviewed by Simon Fraser. * svg/dom/SVGPathSegList-insert-from-animating-animPathSegList-expected.txt: Added. * svg/dom/SVGPathSegList-insert-from-animating-animPathSegList.svg: Added. 2019-03-06 Wenson Hsieh Crash when attempting to change input type while dismissing datalist suggestions https://bugs.webkit.org/show_bug.cgi?id=195384 Reviewed by Brent Fulgham. Add a new layout test to exercise this scenario. * fast/forms/datalist/change-input-type-after-closing-datalist-suggestions-expected.txt: Added. * fast/forms/datalist/change-input-type-after-closing-datalist-suggestions.html: Added. 2019-03-02 Darin Adler Retire legacy dtoa function and DecimalNumber class https://bugs.webkit.org/show_bug.cgi?id=195253 Reviewed by Daniel Bates. * fast/css/large-value-csstext-expected.txt: * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles-expected.txt: * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html: Updated expected value to expect exponential syntax for super-small numbers that are formatted differently by the new code. * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Rebaseline still-failing parts of these tests that dump super-small numbers that are formatted differently by the new code. Still probably needs to be done for 4 other platforms. 2019-03-01 Wenson Hsieh [Datalist] fast/forms/datalist/datalist-child-validation.html crashes with a debug assertion in isValidFormControlElement() https://bugs.webkit.org/show_bug.cgi?id=190620 Reviewed by Ryosuke Niwa. Re-enables a crashing layout test. See WebCore ChangeLog for more details. * platform/ios/TestExpectations: * platform/mac/TestExpectations: 2019-02-28 Myles C. Maxfield Use-after-move in RenderCombineText::combineTextIfNeeded() https://bugs.webkit.org/show_bug.cgi?id=195188 Reviewed by Zalan Bujtas. * fast/text/text-combine-crash-2-expected.html: Added. * fast/text/text-combine-crash-2.html: Added. 2019-02-27 Ulrich Pflueger [MSE] SourceBuffer sample time increment vs. last frame duration check is broken https://bugs.webkit.org/show_bug.cgi?id=194747 Reviewed by Jer Noble. * media/media-source/media-source-append-variable-frame-lengths-with-matching-durations-expected.txt: Added. * media/media-source/media-source-append-variable-frame-lengths-with-matching-durations.html: Added. 2019-02-26 Wenson Hsieh Remove conditional compile guard for InsertIntoTextNodeCommand::doReapply https://bugs.webkit.org/show_bug.cgi?id=195067 Reviewed by Tim Horton. Add a new layout test to verify that redoing text insertion in a non-editable element (which was previously editable) does not mutate the text nodes affected by editing. This test case currently fails on iOS, since we take a separate codepath when redoing that does not contain this additional check. * editing/undo/redo-text-insertion-in-non-editable-node-expected.txt: Added. * editing/undo/redo-text-insertion-in-non-editable-node.html: Added. 2019-02-25 Sihui Liu IndexedDB: IDBDatabase and IDBTransaction are leaked in layout tests https://bugs.webkit.org/show_bug.cgi?id=194709 Reviewed by Geoffrey Garen. * TestExpectations: * platform/wk2/TestExpectations: * storage/indexeddb/IDBObject-leak-expected.txt: Added. * storage/indexeddb/IDBObject-leak.html: Added. 2019-02-22 Rob Buis Fix unitless usage of mathsize https://bugs.webkit.org/show_bug.cgi?id=194940 Reviewed by Frédéric Wang. Tests lengths-1.html and length-3.html now pass. * TestExpectations: 2019-02-21 Darin Adler Some refinements for Node and Document https://bugs.webkit.org/show_bug.cgi?id=194764 Reviewed by Ryosuke Niwa. fast/forms/access-key-shadow-and-ordering-expected.txt: Added. fast/forms/access-key-shadow-and-ordering.html: Added. 2019-02-20 Said Abou-Hallawa drawImage() clears the canvas if it's the source of the image and globalCompositeOperation is "copy" https://bugs.webkit.org/show_bug.cgi?id=194746 Reviewed by Dean Jackson. * fast/canvas/canvas-drawImage-composite-copy-expected.html: Added. * fast/canvas/canvas-drawImage-composite-copy.html: Added. 2019-02-20 Loïc Yhuel Fix crash when opening Web Inspector after a WebSocket was blocked by content extensions https://bugs.webkit.org/show_bug.cgi?id=194819 Reviewed by Joseph Pecoraro. * TestExpectations: Skip the test by default, like http/tests/contentextensions * http/tests/inspector/network/contentextensions/blocked-websocket-crash-expected.txt: Added. * http/tests/inspector/network/contentextensions/blocked-websocket-crash.html: Added. * http/tests/inspector/network/contentextensions/blocked-websocket-crash.html.json: Added. * platform/gtk/TestExpectations: Unskip the test * platform/mac-wk2/TestExpectations: Ditto * platform/wpe/TestExpectations: Ditto 2019-02-19 Simon Fraser REGRESSION (r238090): Toggling visibility on the element can result in a blank web view https://bugs.webkit.org/show_bug.cgi?id=194827 rdar://problem/47620594 Reviewed by Antti Koivisto. Test dumps layer tree with RenderLayerBacking::shouldDumpPropertyForLayer to show that the root has (drawsContent 1) * compositing/visibility/root-visibility-toggle-expected.txt: Added. * compositing/visibility/root-visibility-toggle.html: Added. * platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt: Added. 2019-02-19 Ryosuke Niwa REGRESSION(r240909): Release assertion in FrameLoader::loadPostRequest when opening new window https://bugs.webkit.org/show_bug.cgi?id=194820 Reviewed by Geoffrey Garen. Added a regression test. * fast/loader/navigate-with-post-to-new-target-after-back-forward-navigation-expected.txt: Added. * fast/loader/navigate-with-post-to-new-target-after-back-forward-navigation.html: Added. 2019-02-18 John Wilander Check the existence of the frame in Document::hasFrameSpecificStorageAccess() and Document::setHasFrameSpecificStorageAccess() https://bugs.webkit.org/show_bug.cgi?id=194777 Reviewed by Geoffrey Garen and Chris Dumez. * http/tests/storageAccess/remove-requesting-iframe-expected.txt: Added. * http/tests/storageAccess/remove-requesting-iframe.html: Added. * http/tests/storageAccess/resources/request-storage-access-and-immediately-postmessage-iframe.html: Added. 2019-02-17 Matt Baker Web Inspector: Frontend performance is very slow reloading theverge.com - 50% of time in TreeOutline _indexOfTreeElement https://bugs.webkit.org/show_bug.cgi?id=193605 Reviewed by Devin Rousso. * inspector/table/resources/table-utilities.js: (TestPage.registerInitializer.InspectorTest.TableDataSource.prototype.tableIndexForRepresentedObject): (TestPage.registerInitializer.InspectorTest.TableDataSource.prototype.tableRepresentedObjectForIndex): (TestPage.registerInitializer.InspectorTest.TableDataSource): New Table data source methods. * inspector/unit-tests/index-set-expected.txt: Removed. * inspector/unit-tests/index-set.html: Removed. * inspector/unit-tests/set-utilities-expected.txt: * inspector/unit-tests/set-utilities.html: Remove IndexSet tests and update tests for Set utilities to include new helper methods `equals` and `difference`, and `firstValue`. 2019-02-16 Zalan Bujtas [LFC] Apply min/max width constraints to preferred width computation https://bugs.webkit.org/show_bug.cgi?id=194739 Reviewed by Simon Fraser. * fast/block/block-only/min-max-and-preferred-width-simple-expected.html: Added. * fast/block/block-only/min-max-and-preferred-width-simple.html: Added. 2019-02-15 Ryosuke Niwa Crash in the hit testing code via HTMLPlugInElement::isReplacementObscured() https://bugs.webkit.org/show_bug.cgi?id=194691 Reviewed by Simon Fraser. Added a regression test. It hits the newly added debug assertion without the fix. * platform/mac-wk1/TestExpectations: Skip the test since DumpRenderTree doesn't support testRunner.setPluginSupportedMode. * plugins/unsupported-plugin-with-replacement-in-iframe-crash-expected.txt: Added. * plugins/unsupported-plugin-with-replacement-in-iframe-crash.html: Added. 2019-02-15 Nikita Vasilyev Web Inspector: Styles: valid values in style attributes are reported as unsupported property values https://bugs.webkit.org/show_bug.cgi?id=194619 Reviewed by Devin Rousso and Joseph Pecoraro. * inspector/css/modify-inline-style-expected.txt: Added. * inspector/css/modify-inline-style.html: Added. 2019-02-15 Per Arne Vollan [WebVTT] Inline WebVTT styles should start with '::cue' https://bugs.webkit.org/show_bug.cgi?id=194227 Reviewed by Eric Carlson. Add invalid 'STYLE' blocks which the WebVTT parser should reject. * media/track/captions-webvtt/css-styling.vtt: 2019-02-15 Zalan Bujtas [LFC] Out-of-flow box is never a float box https://bugs.webkit.org/show_bug.cgi?id=194704 Reviewed by Antti Koivisto. * fast/block/block-only/out-of-flow-is-never-float-box-expected.html: Added. * fast/block/block-only/out-of-flow-is-never-float-box.html: Added. 2019-02-14 Commit Queue Unreviewed, rolling out r241497. https://bugs.webkit.org/show_bug.cgi?id=194676 New test times out (Requested by NVI on #webkit). Reverted changeset: "Web Inspector: Styles: valid values in style attributes are reported as unsupported property values" https://bugs.webkit.org/show_bug.cgi?id=194619 https://trac.webkit.org/changeset/241497 2019-02-14 Zalan Bujtas [LFC][BFC][MarginCollapse] Replaced boxes don't collapse through their margins https://bugs.webkit.org/show_bug.cgi?id=194622 Reviewed by Antti Koivisto. * fast/block/block-only/block-replaced-with-vertical-margins-expected.html: Added. * fast/block/block-only/block-replaced-with-vertical-margins.html: Added. 2019-02-13 Ryosuke Niwa Crash in DOMTimer::fired https://bugs.webkit.org/show_bug.cgi?id=194638 Reviewed by Brent Fulgham. Added a regression test. It needs debug assertions without the fix. * fast/dom/timer-destruction-during-firing-expected.txt: Added. * fast/dom/timer-destruction-during-firing.html: Added. 2019-02-13 Nikita Vasilyev Web Inspector: Styles: valid values in style attributes are reported as unsupported property values https://bugs.webkit.org/show_bug.cgi?id=194619 Reviewed by Devin Rousso. * inspector/css/modify-inline-style-expected.txt: Added. * inspector/css/modify-inline-style.html: Added. 2019-02-13 Alicia Boya García Unreviewed GTK test gardening https://bugs.webkit.org/show_bug.cgi?id=194631 * platform/gtk/TestExpectations: * platform/gtk/editing/pasteboard/smart-paste-007-expected.txt: * platform/gtk/editing/pasteboard/smart-paste-008-expected.txt: 2019-02-13 Jer Noble Entering fullscreen inside a shadow root will not set fullscreen pseudoclasses outside of root https://bugs.webkit.org/show_bug.cgi?id=194516 Reviewed by Antoine Quint. * fast/shadow-dom/fullscreen-in-shadow-full-screen-ancestor-expected.txt: Added. * fast/shadow-dom/fullscreen-in-shadow-full-screen-ancestor.html: Added. * platform/ios-wk2/TestExpectations: 2019-02-12 Jiewen Tan Further restricting webarchive loads https://bugs.webkit.org/show_bug.cgi?id=194567 Reviewed by Youenn Fablet. * platform/mac/fast/loader/webarchive-encoding-respected.html: * webarchive/loading/cache-expired-subresource.html: * webarchive/loading/javascript-url-iframe-crash.html: * webarchive/loading/mainresource-null-mimetype-crash.html: * webarchive/loading/missing-data.html: * webarchive/loading/object.html: * webarchive/loading/test-loading-archive-subresource-null-mimetype.html: * webarchive/loading/test-loading-archive-subresource.html: * webarchive/loading/test-loading-archive.html: * webarchive/loading/test-loading-top-archive.html: * webarchive/loading/video-in-webarchive.html: 2019-02-13 Sihui Liu Add two regression tests for reference cycle in IndexedDB https://bugs.webkit.org/show_bug.cgi?id=194527 Reviewed by Geoffrey Garen. * fast/dom/reference-cycle-leaks.html: * platform/win/TestExpectations: The added tests are failing on win bots for unknown reasons, propably related to webkit.org/b/193540. Skip them on win. * storage/indexeddb/resources/result-request-cycle.js: Added. (prepareDatabase): * storage/indexeddb/resources/value-cursor-cycle.js: Added. (prepareDatabase): (onOpen.cursorRequest.onsuccess): * storage/indexeddb/result-request-cycle-expected.txt: Added. * storage/indexeddb/result-request-cycle.html: Added. * storage/indexeddb/value-cursor-cycle-expected.txt: Added. * storage/indexeddb/value-cursor-cycle.html: Added. 2019-02-13 Fujii Hironori [GTK][WPE] Don't use DumpJSConsoleLogInStdErr expectation in platform TestExpectations https://bugs.webkit.org/show_bug.cgi?id=194587 Unreviewed gardening. * platform/gtk/TestExpectations: Removed DumpJSConsoleLogInStdErr markers which are marked in top TestExpectations. * platform/wpe/TestExpectations: Ditto. 2019-02-12 Dean Jackson BitmapRenderer should handle existing ImageBuffers https://bugs.webkit.org/show_bug.cgi?id=194555 Reviewed by Tim Horton. Test that creates a canvas, triggers an ImageBuffer to be created, then creates the bitmaprenderer context. * fast/canvas/bitmaprenderer-created-after-toBlob-expected.txt: Added. * fast/canvas/bitmaprenderer-created-after-toBlob.html: Added. 2019-02-12 Alex Christensen Remove setDefersLoading infrastructure from WebKit2 https://bugs.webkit.org/show_bug.cgi?id=194506 Reviewed by Brady Eidson. * platform/wk2/TestExpectations: 2019-02-12 Chris Fleizach AX: Fix flaky accessibility/loading-iframe-sends-notification.html https://bugs.webkit.org/show_bug.cgi?id=194546 Reviewed by Zalan Bujtas. This test was relying on timing between load events being sent and accessibility events being sent. We don't need to do that, we can more directly test this interplay. * accessibility/loading-iframe-sends-notification-expected.txt: * accessibility/loading-iframe-sends-notification.html: 2019-02-12 Adrian Perez de Castro Unreviewed WPE gardening. Unskip content extensions tests after r241283 * platform/wpe/TestExpectations: Unskip content extensions tests, and list as failing those known to not pass due to missing expectaions or timeouts. 2019-02-08 Chris Fleizach AXObjectCache::childrenChanged shouldn't update layout or style during another style recalc https://bugs.webkit.org/show_bug.cgi?id=182280 Reviewed by Alan Bujtas. * accessibility/aria-hidden-update.html: * accessibility/aria-hidden-updates-alldescendants.html: * accessibility/image-load-on-delay.html: * accessibility/mac/aria-hidden-changes-for-non-ignored-elements.html: * accessibility/removed-anonymous-block-child-causes-crash.html: 2019-02-11 Myles C. Maxfield [Cocoa] Ask platform for generic font family mappings https://bugs.webkit.org/show_bug.cgi?id=187723 Reviewed by Brent Fulgham. Update the tests to work with this new model. * fast/text/international/font-fallback-to-common-script-expected.html: Removed. * fast/text/international/font-fallback-to-common-script.html: Removed. * fast/text/international/lang-sensitive-fonts-expected.html: * fast/text/international/lang-sensitive-fonts-xml-expected.html: * fast/text/international/lang-sensitive-fonts-xml.xhtml: * fast/text/international/lang-sensitive-fonts.html: * fast/text/international/locale-sensitive-fonts-expected.html: * fast/text/international/locale-sensitive-fonts.html: * fast/text/ja-sans-serif-expected-mismatch.html: Added. * fast/text/ja-sans-serif.html: Added. * platform/ios/fast/block/float/016-expected.txt: 2019-02-11 Shawn Roberts Updating for all of Mac WK2 for flaky test https://bugs.webkit.org/show_bug.cgi?id=185994 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2019-02-11 Daniel Bates [iOS] Adopt SPI to support Emacs bindings: transpose and delete to end of paragraph https://bugs.webkit.org/show_bug.cgi?id=194505 Reviewed by Tim Horton. Add tests to ensure that Control + t and Control + k perform a transpose and delete to the end of the line/paragraph. Skip the tests for now until we have the UIKit fix . * fast/events/ios/key-command-delete-to-end-of-paragraph-expected.txt: Added. * fast/events/ios/key-command-delete-to-end-of-paragraph.html: Added. * fast/events/ios/key-command-transpose-expected.txt: Added. * fast/events/ios/key-command-transpose.html: Added. * platform/ios/TestExpectations: Skip tests for now. 2019-02-11 Adrian Perez de Castro [GTK][WPE] Add content extensions support in WKTR and unskip layout tests https://bugs.webkit.org/show_bug.cgi?id=193622 Reviewed by Michael Catanzaro. * platform/gtk/TestExpectations: Un-skip tests for content extensions and add expectations. 2019-02-11 Daniel Bates [iOS] Mouse/Touch/Pointer events are missing modifier keys https://bugs.webkit.org/show_bug.cgi?id=191446 Reviewed by Tim Horton. Refactor existing iOS key events tests to share code. Add new tests to ensure touch and mouse events have accurate modifier key details. * fast/events/ios/key-events-meta-alt-combinations.html: * fast/events/ios/resources/key-tester.js: (computeSubsets.compareByModifierOrder): Deleted. * fast/events/resources/compute-subsets.js: Added. (computeSubsets.compareByOriginalArrayOrder): (computeSubsets): * fast/events/touch/ios/mouse-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/mouse-events-with-modifiers.html: Added. * fast/events/touch/ios/pointer-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/pointer-events-with-modifiers.html: Added. * fast/events/touch/ios/touch-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/touch-events-with-modifiers.html: Added. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: Update expected result due to changes to ui-helper.js. * http/tests/security/anchor-download-block-crossorigin-expected.txt: Ditto. * platform/ios/TestExpectations: * resources/ui-helper.js: (window.UIHelper.tapAt.return.new.Promise): (window.UIHelper.tapAt): (window.UIHelper.stylusTapAt.return.new.Promise): (window.UIHelper.stylusTapAt): 2019-02-11 Commit Queue Unreviewed, rolling out r241272 and r241276. https://bugs.webkit.org/show_bug.cgi?id=194514 Broke the Apple Internal build and the fix requires human intervention :( (Requested by dydz on #webkit). Reverted changesets: "[iOS] Mouse/Touch/Pointer events are missing modifier keys" https://bugs.webkit.org/show_bug.cgi?id=191446 https://trac.webkit.org/changeset/241272 "Fix internal iOS build after r241272" https://bugs.webkit.org/show_bug.cgi?id=191446 https://trac.webkit.org/changeset/241276 2019-02-11 Wenson Hsieh fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry.html does not work on iPad https://bugs.webkit.org/show_bug.cgi?id=194313 Reviewed by Tim Horton. Adjusts an existing layout test to work on both iPhone and iPad simulators. * fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry-expected.txt: * fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry.html: Make this test wait after blurring the currently focused element, such that tapping to focus the next form control doesn't fail. Notably on iPad, not waiting for the popover to dismiss meant that subsequent taps would be dispatched too soon, and hit-test to the popover view being dismissed rather than WKWebView. * platform/ipad/TestExpectations: Unskip the test on iPad. * resources/ui-helper.js: Add helpers to query whether or not the keyboard is shown, and whether or not a view controller is being modally presented over the current root view controller (this is the case when interacting with date pickers on iPad). (window.UIHelper.isShowingKeyboard): (window.UIHelper.isPresentingModally): (window.UIHelper.deactivateFormControl): Add a new helper method to blur the given form control element and wait for web view chrome to finish dismissing (on iOS, this is either the date picker input view in the keyboard on iPhone, or the date picker popover view controller on iPad). (window.UIHelper.isShowingDataListSuggestions): Drive-by fix: remove an extraneous ternary conditional statement. 2019-02-11 Daniel Bates [iOS] Mouse/Touch/Pointer events are missing modifier keys https://bugs.webkit.org/show_bug.cgi?id=191446 Reviewed by Tim Horton. Refactor existing iOS key events tests to share code. Add new tests to ensure touch and mouse events have accurate modifier key details. * fast/events/ios/key-events-meta-alt-combinations.html: * fast/events/ios/resources/key-tester.js: (computeSubsets.compareByModifierOrder): Deleted. * fast/events/resources/compute-subsets.js: Added. (computeSubsets.compareByOriginalArrayOrder): (computeSubsets): * fast/events/touch/ios/mouse-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/mouse-events-with-modifiers.html: Added. * fast/events/touch/ios/pointer-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/pointer-events-with-modifiers.html: Added. * fast/events/touch/ios/touch-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/touch-events-with-modifiers.html: Added. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: Update expected result due to changes to ui-helper.js. * http/tests/security/anchor-download-block-crossorigin-expected.txt: Ditto. * platform/ios/TestExpectations: * resources/ui-helper.js: (window.UIHelper.tapAt.return.new.Promise): (window.UIHelper.tapAt): (window.UIHelper.stylusTapAt.return.new.Promise): (window.UIHelper.stylusTapAt): 2019-02-11 Youenn Fablet Filter out Overconstrainederror.constraint when getUserMedia is not granted https://bugs.webkit.org/show_bug.cgi?id=194240 Reviewed by Eric Carlson. * fast/mediastream/overconstrainederror-constraint-expected.txt: Added. * fast/mediastream/overconstrainederror-constraint.html: Added. 2019-02-11 Truitt Savell Unreviewed, rolling out r241229. Revision broke internal builds for watchOS. Reverted changeset: "[Cocoa] Ask platform for generic font family mappings" https://bugs.webkit.org/show_bug.cgi?id=187723 https://trac.webkit.org/changeset/241229 2019-02-11 Youenn Fablet Make Request constructor throw if FetchRequestInit.signal is not undefined, null or an AbortSignal object https://bugs.webkit.org/show_bug.cgi?id=194404 Reviewed by Geoffrey Garen. * http/wpt/fetch/request-abort-expected.txt: 2019-02-11 Zan Dobersek Unreviewed WPE gardening. Adding additional baselines after font variations enablement. Additionally rebaselining a couple other WPT and WebGL tests. * platform/wpe/TestExpectations: * platform/wpe/fast/css/getComputedStyle: Added. * platform/wpe/fast/css/getComputedStyle/computed-style-expected.txt: Added. * platform/wpe/fast/css/getComputedStyle/computed-style-font-family-expected.txt: Added. * platform/wpe/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Added. * platform/wpe/fast/dom/52776-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method.any-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method.any.worker-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: * platform/wpe/svg/css/getComputedStyle-basic-expected.txt: Added. * platform/wpe/webgl/2.0.0/conformance/canvas/buffer-offscreen-test-expected.txt: * platform/wpe/webgl/2.0.0/conformance/canvas/buffer-preserve-test-expected.txt: * platform/wpe/webgl/2.0.0/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt: 2019-02-10 Commit Queue Unreviewed, rolling out r241167. https://bugs.webkit.org/show_bug.cgi?id=194482 Broke the GTK mediastream tests (Requested by philn on #webkit). Reverted changeset: "Filter out Overconstrainederror.constraint when getUserMedia is not granted" https://bugs.webkit.org/show_bug.cgi?id=194240 https://trac.webkit.org/changeset/241167 2019-02-09 Nikita Vasilyev Web Inspector: fix typos in tests Unreviewed test gardening. * inspector/css/force-page-appearance.html: 2019-02-08 Myles C. Maxfield [Cocoa] Ask platform for generic font family mappings https://bugs.webkit.org/show_bug.cgi?id=187723 Reviewed by Brent Fulgham. Update the tests to work with this new model. * fast/text/international/font-fallback-to-common-script-expected.html: Removed. * fast/text/international/font-fallback-to-common-script.html: Removed. This test is no longer testing anything relevant. * fast/text/international/lang-sensitive-fonts-expected.html: * fast/text/international/lang-sensitive-fonts-xml-expected.html: * fast/text/international/lang-sensitive-fonts-xml.xhtml: * fast/text/international/lang-sensitive-fonts.html: * fast/text/international/locale-sensitive-fonts-expected.html: * fast/text/international/locale-sensitive-fonts.html: * fast/text/ja-sans-serif-expected-mismatch.html: Added. * fast/text/ja-sans-serif.html: Added. 2019-02-08 Joseph Pecoraro Web Inspector: Import / Export Heap Snapshots https://bugs.webkit.org/show_bug.cgi?id=194448 Reviewed by Devin Rousso. * inspector/heap/imported-snapshot-expected.txt: Added. * inspector/heap/imported-snapshot.html: Added. * platform/mac/TestExpectations: 2019-02-08 Nikita Vasilyev Web Inspector: Styles: close unbalanced quotes and parenthesis when editing values https://bugs.webkit.org/show_bug.cgi?id=182523 Reviewed by Devin Rousso. Test common cases of unmatched quotes, parenthesis, comments, and trailing backslashes. * inspector/unit-tests/css-completions-expected.txt: Added. * inspector/unit-tests/css-completions.html: Added. 2019-02-08 Per Arne Vollan Layout Test accessibility/set-value-not-work-for-disabled-sliders.html is failing https://bugs.webkit.org/show_bug.cgi?id=194451 Unreviewed test gardening. * platform/win/TestExpectations: 2019-02-08 Ryan Haddad Layout Test media/audio-concurrent-supported.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=188017 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: The test is not flaky anymore. Remove expectation. 2019-02-08 Per Arne Vollan [WebVTT] Inline WebVTT styles should start with '::cue' https://bugs.webkit.org/show_bug.cgi?id=194227 Reviewed by Eric Carlson. * media/track/captions-webvtt/css-styling.vtt: 2019-02-08 Youenn Fablet Running RTCRtpSender.getCapabilities("video") before initial offer breaks VP8 https://bugs.webkit.org/show_bug.cgi?id=194380 Reviewed by Eric Carlson. * webrtc/video-mute-vp8-expected.txt: * webrtc/video-mute-vp8.html: 2019-02-08 Andy Estes [WebIDL] Support serializing sequences and FrozenArrays of non-interfaces https://bugs.webkit.org/show_bug.cgi?id=190997 Reviewed by Brent Fulgham. * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html: 2019-02-08 Eric Liang Check if receive AXPressDidFail notification when performing AXPress action on disabled MenuList. https://bugs.webkit.org/show_bug.cgi?id=193878 Reviewed by Chris Fleizach. * accessibility/mac/press-not-work-for-disabled-menu-list.html: Added. 2019-02-07 Devin Rousso PseudoElement created for any ::before/::after selector regardless of whether a content property exists https://bugs.webkit.org/show_bug.cgi?id=194423 Reviewed by Antti Koivisto. * inspector/css/pseudo-creation.html: Added. * inspector/css/pseudo-creation-expected.txt: Added. 2019-02-07 Justin Fan [Web GPU] GPUDevice::createTexture implementation prototype https://bugs.webkit.org/show_bug.cgi?id=194409 Reviewed by Myles C. Maxfield. Update textures-textureviews.html to WPT format and to test creation of textures via the GPUDevice. * webgpu/textures-textureviews-expected.txt: * webgpu/textures-textureviews.html: 2019-02-07 Shawn Roberts fast/hidpi/hidpi-long-page-with-inset-element.html is a flaky image failure https://bugs.webkit.org/show_bug.cgi?id=172384 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2019-02-07 Wenson Hsieh [iOS] Clicking links in Safari using Apple Pencil is much more difficult after r238475 https://bugs.webkit.org/show_bug.cgi?id=194415 Reviewed by Tim Horton. Add a layout test to verify that a stylus tap dispatches clicks. * fast/events/touch/ios/pencil-tap-dispatches-click-expected.txt: Added. * fast/events/touch/ios/pencil-tap-dispatches-click.html: Added. 2019-02-07 Youenn Fablet Filter out Overconstrainederror.constraint when getUserMedia is not granted https://bugs.webkit.org/show_bug.cgi?id=194240 Reviewed by Eric Carlson. * fast/mediastream/overconstrainederror-constraint-expected.txt: Added. * fast/mediastream/overconstrainederror-constraint.html: Added. 2019-02-07 Timothy Hatcher Overflow element scrollbar is light for dark mode content. https://bugs.webkit.org/show_bug.cgi?id=194407 rdar://problem/45991585 Reviewed by Beth Dakin. Updated tests to look at overflow elements and if dark apearance is used by the scrollbar directly. * css-dark-mode/supported-color-schemes-scrollbar-expected.txt: * css-dark-mode/supported-color-schemes-scrollbar.html: 2019-02-07 Nikita Vasilyev Web Inspector: Fix modify-css-property-race.html flakiness https://bugs.webkit.org/show_bug.cgi?id=194408 Reviewed by Devin Rousso. Event listener wasn't removed property, sometimes causing it to fire one more time. * inspector/css/modify-css-property-race.html: 2019-02-07 Youenn Fablet Unable to sign in leetcode. https://bugs.webkit.org/show_bug.cgi?id=194366 rdar://problem/47259025. Reviewed by Chris Dumez. * http/wpt/fetch/request-abort-expected.txt: Added. * http/wpt/fetch/request-abort.html: Added. 2019-02-07 Alex Christensen Deprecate WKBundlePageSetDefersLoading https://bugs.webkit.org/show_bug.cgi?id=191394 Reviewed by Dean Jackson. * platform/wk2/TestExpectations: 2019-02-07 Zalan Bujtas [LFC][Out-of-flow] Use the containing block's padding width when computing min/max width. https://bugs.webkit.org/show_bug.cgi?id=194391 Reviewed by Antti Koivisto. * fast/block/block-only/absolute-positioned-min-max-percentage-with-parent-padding-expected.html: Added. * fast/block/block-only/absolute-positioned-min-max-percentage-with-parent-padding.html: Added. 2019-02-07 Miguel Gomez Unreviewed GTK+ gardening after r241117. * platform/gtk/TestExpectations: * platform/gtk/compositing/iframes/invisible-nested-iframe-show-expected.txt: * platform/gtk/compositing/iframes/resizer-expected.txt: * platform/gtk/compositing/rtl/rtl-iframe-absolute-expected.txt: * platform/gtk/compositing/rtl/rtl-iframe-relative-expected.txt: 2019-02-06 Devin Rousso Web Inspector: DOM: don't send the entire function string with each event listener https://bugs.webkit.org/show_bug.cgi?id=194293 Reviewed by Joseph Pecoraro. * inspector/dom/getEventListenersForNode.html: * inspector/dom/getEventListenersForNode-expected.txt: 2019-02-06 Andy Estes [Payment Request] It should be possible to require a phonetic name for shipping contacts https://bugs.webkit.org/show_bug.cgi?id=194311 Reviewed by Alex Christensen. * http/tests/ssl/applepay/ApplePayRequestShippingContact.https-expected.txt: * http/tests/ssl/applepay/ApplePayRequestShippingContact.https.html: * http/tests/ssl/applepay/ApplePayRequestShippingContactV3.https-expected.txt: * http/tests/ssl/applepay/ApplePayRequestShippingContactV3.https.html: * http/tests/ssl/applepay/PaymentRequest.https-expected.txt: * http/tests/ssl/applepay/PaymentRequest.https.html: 2019-02-06 Yusuke Suzuki [JSC] PrivateName to PublicName hash table is wasteful https://bugs.webkit.org/show_bug.cgi?id=194277 Reviewed by Michael Saboff. * streams/readable-byte-stream-controller-expected.txt: 2019-02-06 Justin Fan [Web GPU] Implement supporting dictionaries for GPUTexture https://bugs.webkit.org/show_bug.cgi?id=194354 Reviewed by Dean Jackson. Update test files to use hyphen-case for GPUTextureFormat. * webgpu/js/basic-webgpu-functions.js: (async.setUpContexts): * webgpu/js/webgpu-functions.js: (createBasicContext): 2019-02-06 David Kilzer Revert part of r241015 that skipped all WebGL tests * TestExpectations: Revert unintended change to skip all WebGL tests. 2019-02-06 Jonathan Bedard [iPad] Initial test gardening (Part 2) https://bugs.webkit.org/show_bug.cgi?id=193767 Unreviewed test gardening. * fast/forms/ios/validation-bubble-dismiss-on-tap.html: Change tap location so test is compatible with iPads. * platform/ipad/TestExpectations: Associate iPad specific failures with bugs. 2019-02-06 Ryan Haddad Unreviewed test gardening, rebaseline some tests for iOS after r240713. * fast/events/touch/ios/block-without-overflow-scroll-and-passive-observer-on-block-scrolling-state-expected.txt: * fast/events/touch/ios/block-without-overflow-scroll-and-passive-observer-on-document-scrolling-state-expected.txt: * fast/events/touch/ios/block-without-overflow-scroll-scrolling-state-expected.txt: * fast/events/touch/ios/tap-with-active-touch-end-listener-expected.txt: 2019-02-06 Antti Koivisto RELEASE_ASSERT(!m_document.isResolvingTreeStyle()) in com.apple.WebKit.WebContent at WebCore: WebCore::StyleResolver::~StyleResolver https://bugs.webkit.org/show_bug.cgi?id=194333 Reviewed by Zalan Bujtas. * http/tests/contentextensions/css-display-none-keyframe-expected.txt: Added. * http/tests/contentextensions/css-display-none-keyframe.html: Added. * http/tests/contentextensions/css-display-none-keyframe.html.json: Added. 2019-02-05 Ryosuke Niwa REGRESSION (r240909): Release assert in FrameLoader::loadURL when navigating with a non-existent target name https://bugs.webkit.org/show_bug.cgi?id=194329 Reviewed by Geoffrey Garen. Added a regression test. * fast/loader/navigate-with-new-target-after-back-forward-navigation-expected.txt: Added. * fast/loader/navigate-with-new-target-after-back-forward-navigation.html: Added. 2019-02-05 Nikita Vasilyev Web Inspector: Styles: PropertiesChanged shouldn't fire when old and new text are both empty https://bugs.webkit.org/show_bug.cgi?id=194318 Reviewed by Devin Rousso. Fix the flaky test on Debug. * inspector/css/modify-css-property-race-expected.txt: * inspector/css/modify-css-property-race.html: 2019-02-05 Megan Gardner [iOS] Layout tests editing/pasteboard/smart-paste-007.html and editing/pasteboard/smart-paste-008.html are failing https://bugs.webkit.org/show_bug.cgi?id=194275 Reviewed by Ryosuke Niwa. Smart paste tests 7 and 8 were outputting more information that was needed to verify correct functionality. Also cleaned up test 8 to be more similar to the other smart copy paste tests. * editing/pasteboard/smart-paste-007.html: * editing/pasteboard/smart-paste-008.html: * platform/ios-wk1/editing/pasteboard/smart-paste-007-expected.txt: Removed. * platform/ios-wk1/editing/pasteboard/smart-paste-008-expected.txt: Removed. * platform/ios-wk2/editing/pasteboard/smart-paste-008-expected.txt: Removed. * platform/ios/editing/pasteboard/smart-paste-007-expected.txt: Renamed from LayoutTests/platform/ios-wk2/editing/pasteboard/smart-paste-007-expected.txt. * platform/ios/editing/pasteboard/smart-paste-008-expected.txt: Added. * platform/mac/editing/pasteboard/smart-paste-007-expected.txt: * platform/mac/editing/pasteboard/smart-paste-008-expected.txt: 2019-02-05 Wenson Hsieh Rename TestOptions.ignoreSynchronousMessagingTimeoutsForTesting https://bugs.webkit.org/show_bug.cgi?id=194324 Reviewed by Andy Estes. * fast/events/touch/ios/show-modal-alert-during-touch-start.html: 2019-02-05 Nikita Vasilyev Web Inspector: Fix modify-css-property-race.html test failures https://bugs.webkit.org/show_bug.cgi?id=194282 Reviewed by Matt Baker. Fix test failures introduced by r240946 by providing a message for expectGreaterThan assert, so it doesn't log the actual values. * inspector/css/modify-css-property-race-expected.txt: * inspector/css/modify-css-property-race.html: 2019-02-05 Andy VanWagoner REGRESSION(r238848): ICU upgrade broke jsc-layout-tests.yaml/js/script-tests/intl-numberformat.js.layout https://bugs.webkit.org/show_bug.cgi?id=193620 Reviewed by Michael Catanzaro. Update NumberFormat tests to be more tolerant of ICU version differences. * js/intl-numberformat-expected.txt: * js/script-tests/intl-numberformat.js: * platform/gtk/TestExpectations: 2019-02-05 Ryan Haddad Unreviewed, rolling out r240742. Causes crashes on iOS simulator. Reverted changeset: "[iOS] Keyups for non-modifier keys identified as "Dead" when not focused in a content-editable element" https://bugs.webkit.org/show_bug.cgi?id=192824 https://trac.webkit.org/changeset/240742 2019-02-04 Jonathan Bedard [iPad] Initial test gardening (Part 1) https://bugs.webkit.org/show_bug.cgi?id=193767 Unreviewed test gardening. A number of tests need to be re-baselined when run on iPad because of the larger screen. * fast/canvas/canvas-too-large-to-draw.html: iOS userAgent regex should match iPhones and iPads. * fast/events/touch/ios/target-taller-than-view.html: Move event listener since tabpPointY is the value we should compare against. * fast/visual-viewport/ios/min-scale-greater-than-one.html: expectedTop depends on the screen size of the device. * platform/ipad/fast/events: Added. * platform/ipad/fast/events/ios: Added. * platform/ipad/fast/events/ios/keyboard-should-not-trigger-resize-expected.txt: Added. * platform/ipad/fast/events/ios/rotation: Added. * platform/ipad/fast/events/ios/rotation/zz-no-rotation-expected.txt: Added. * platform/ipad/fast/events/touch: Added. * platform/ipad/fast/events/touch/ios: Added. * platform/ipad/fast/events/touch/ios/target-taller-than-view-expected.txt: Added. * platform/ipad/fast/scrolling: Added. * platform/ipad/fast/scrolling/ios: Added. * platform/ipad/fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt: Added. * platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt: Added. * platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt: Added. * platform/ipad/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt: Added. * platform/ipad/fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt: Added. * platform/ipad/fast/scrolling/ios/touch-stacking-expected.txt: Added. * platform/ipad/fast/viewport/ios: Added. * platform/ipad/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt: Added. * platform/ipad/fast/viewport/ios/initial-scale-after-changing-view-scale-expected.txt: Added. * platform/ipad/fast/viewport/ios/use-minimum-device-width-for-page-without-viewport-meta-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-no-shrink-to-fit-expected.txt: Added. * platform/ipad/platform: Added. * platform/ipad/platform/ios: Added. * platform/ipad/platform/ios/ios: Added. * platform/ipad/platform/ios/ios/fast: Added. * platform/ipad/platform/ios/ios/fast/text: Added. * platform/ipad/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt: Added. * platform/ipad/scrollingcoordinator: Added. * platform/ipad/scrollingcoordinator/ios: Added. * platform/ipad/scrollingcoordinator/ios/sync-layer-positions-after-scroll-expected.txt: Added. * platform/ipad/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: Added. 2019-02-04 Ms2ger [GTK][WPE] Need a function to convert internal URI to display ("pretty") URI https://bugs.webkit.org/show_bug.cgi?id=174816 Reviewed by Michael Catanzaro. * TestExpectations: Enable fast/url/user-visible/. 2019-02-04 Shawn Roberts [iOS Simulator] pageoverlay/overlay tests are flaky failures https://bugs.webkit.org/show_bug.cgi?id=153337 Unreviewed test gardening. * platform/ios/TestExpectations: 2019-02-04 Nikita Vasilyev Web Inspector: Styles: fix race conditions when editing https://bugs.webkit.org/show_bug.cgi?id=192739 Reviewed by Devin Rousso. * inspector/css/modify-css-property-expected.txt: * inspector/css/modify-css-property-race-expected.txt: Added. * inspector/css/modify-css-property-race.html: Added. * inspector/css/modify-css-property.html: 2019-02-04 Simon Fraser Async overflow scroll with border-radius renders incorrectly https://bugs.webkit.org/show_bug.cgi?id=194205 Reviewed by Zalan Bujtas. New baselines, mostly correcting offsetFromRenderer. * compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt: Added. * compositing/clipping/border-radius-async-overflow-clipping-layer.html: Added. * compositing/clipping/border-radius-async-overflow-non-stacking-expected.html: Added. * compositing/clipping/border-radius-async-overflow-non-stacking.html: Added. * compositing/clipping/border-radius-async-overflow-stacking-expected.html: Added. * compositing/clipping/border-radius-async-overflow-stacking.html: Added. * compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt: * platform/ios/compositing/overflow/scrolling-without-painting-expected.txt: * platform/ios/compositing/overflow/textarea-scroll-touch-expected.txt: html.css specifies a border-radius on