2017-05-12 Jiewen Tan Elements should be inserted into a template element as its content's last child https://bugs.webkit.org/show_bug.cgi?id=171373 Reviewed by Ryosuke Niwa. * fast/dom/HTMLTemplateElement/insert-fostering-child-expected.txt: Added. * fast/dom/HTMLTemplateElement/insert-fostering-child.html: Added. 2017-05-15 Jiewen Tan Replace CryptoOperationData with BufferSource for WebKitSubtleCrypto https://bugs.webkit.org/show_bug.cgi?id=172146 Reviewed by Brent Fulgham. * crypto/webkitSubtle/argument-conversion-expected.txt: * crypto/webkitSubtle/import-export-raw-key-leak-expected.txt: Added. * crypto/webkitSubtle/import-export-raw-key-leak.html: Added. 2017-05-11 Zalan Bujtas AX: Defer text changes until after the tree is clean if needed. https://bugs.webkit.org/show_bug.cgi?id=171546 Reviewed by Simon Fraser. * accessibility/crash-when-render-tree-is-not-clean-expected.txt: Added. * accessibility/crash-when-render-tree-is-not-clean.html: Added. 2017-05-02 Zalan Bujtas Defer AX cache update when text content changes until after layout is finished. https://bugs.webkit.org/show_bug.cgi?id=171429 Reviewed by Simon Fraser. * accessibility/crash-while-adding-text-child-with-transform-expected.txt: Added. * accessibility/crash-while-adding-text-child-with-transform.html: Added. 2017-06-17 Antti Koivisto Crash due to infinite recursion via FrameSelection::updateAppearanceAfterLayout https://bugs.webkit.org/show_bug.cgi?id=173468 Reviewed by Ryosuke Niwa. * editing/selection/updateAppearanceAfterLayout-recursion-expected.txt: Added. * editing/selection/updateAppearanceAfterLayout-recursion.html: Added. 2017-06-17 Ryosuke Niwa REGRESSION(r209495): materiauxlaverdure.com fails to load https://bugs.webkit.org/show_bug.cgi?id=173301 Reviewed by Antti Koivisto. Rebaselined the existing tests and added a new regression test for serializing CSS properties and values. * accessibility/mac/alt-for-css-content-expected.txt: * accessibility/mac/webkit-alt-for-css-content-expected.txt: * editing/pasteboard/cjk-line-height-expected.txt: * fast/css/alt-inherit-initial-expected.txt: * fast/css/alt-inherit-initial.html: * fast/css/content-language-comma-separated-list-expected.txt: * fast/css/content-language-empty-expected.txt: * fast/css/content-language-only-whitespace-expected.txt: * fast/css/content-language-with-whitespace-expected.txt: * fast/css/counters/counter-cssText-expected.txt: * fast/css/counters/counter-cssText.html: * fast/css/font-family-trailing-bracket-gunk-expected.txt: * fast/css/font-family-trailing-bracket-gunk.html: * fast/css/getComputedStyle/computed-style-font-family-expected.txt: * fast/css/getComputedStyle/computed-style-properties-expected.txt: * fast/css/getComputedStyle/computed-style-properties.html: * fast/css/getComputedStyle/font-family-fallback-reset-expected.txt: * fast/css/getComputedStyle/font-family-fallback-reset.html: * fast/css/lang-mapped-to-webkit-locale-expected.txt: * fast/css/lang-mapped-to-webkit-locale.xhtml: * fast/css/serialization-with-double-quotes-expected.txt: Added. * fast/css/serialization-with-double-quotes.html: Added. * fast/css/uri-token-parsing-expected.txt: * fast/css/uri-token-parsing.html: * fast/inspector-support/cssURLQuotes-expected.txt: * fast/inspector-support/style-expected.txt: * fast/text/font-stretch-parse-expected.txt: * fast/text/font-stretch-parse.html: * fast/text/font-style-parse-expected.txt: * fast/text/font-style-parse.html: * fast/text/font-weight-parse-expected.txt: * fast/text/font-weight-parse.html: * media/controls/track-menu.html: * platform/mac-elcapitan/fast/css/getComputedStyle/computed-style-font-family-expected.txt: * platform/mac-elcapitan/fast/text/font-stretch-parse-expected.txt: * platform/mac-elcapitan/fast/text/font-style-parse-expected.txt: * platform/mac-elcapitan/fast/text/font-weight-parse-expected.txt: 2017-06-09 Brady Eidson Crash when IndexedDB's getAll is used inside a Web Worker. https://bugs.webkit.org/show_bug.cgi?id=172434 Reviewed by Andy Estes. * storage/indexeddb/modern/resources/worker-getall.js: Added. * storage/indexeddb/modern/worker-getall-expected.txt: Added. * storage/indexeddb/modern/worker-getall.html: Added. 2017-06-08 Ryosuke Niwa Crash inside InsertNodeBeforeCommand via InsertParagraphSeparatorCommand https://bugs.webkit.org/show_bug.cgi?id=173085 Reviewed by Wenson Hsieh. Added a regresion test. * editing/inserting/insert-horizontal-rule-in-empty-document-crash-expected.txt: Added. * editing/inserting/insert-horizontal-rule-in-empty-document-crash.html: Added. 2017-06-08 Xabier Rodriguez Calvar MediaTime class has rounding issues in different platforms https://bugs.webkit.org/show_bug.cgi?id=172640 Reviewed by Jer Noble. Update expectations because the MediaTime printing changed, but results are the same. * media/media-source/media-source-overlapping-append-expected.txt: * media/media-source/media-source-overlapping-decodetime-expected.txt: * media/media-source/media-source-seek-back-expected.txt: * media/media-source/media-source-sequence-timestamps-expected.txt: * media/media-source/media-source-timeoffset-expected.txt: 2017-06-06 Zalan Bujtas Safari doesn't load newest The Order of the Stick comic. https://bugs.webkit.org/show_bug.cgi?id=172949 Reviewed by Antti Koivisto. * fast/table/floating-table-sibling-is-invisible-expected.html: Added. * fast/table/floating-table-sibling-is-invisible.html: Added. 2017-06-05 Chris Dumez ASSERTION FAILED: RunLoop::isMain() in com.apple.WebKit: IPC::Connection::sendSyncMessage + 128 https://bugs.webkit.org/show_bug.cgi?id=172943 Reviewed by Alexey Proskuryakov. Make test clean a little bit more robust. * storage/domstorage/sessionstorage/set-item-synchronous-keydown.html: 2017-06-05 Chris Dumez ASSERTION FAILED: RunLoop::isMain() in com.apple.WebKit: IPC::Connection::sendSyncMessage + 128 https://bugs.webkit.org/show_bug.cgi?id=172943 Reviewed by Alexey Proskuryakov. Add better test coverage. * storage/domstorage/sessionstorage/set-item-synchronous-keydown-expected.txt: Added. * storage/domstorage/sessionstorage/set-item-synchronous-keydown.html: Added. 2017-06-12 Carlos Garcia Campos [GTK] Stop dismissing menus attached to the web view for every injected event https://bugs.webkit.org/show_bug.cgi?id=172708 Reviewed by Alex Christensen. * editing/selection/5354455-1.html: No need to click on editable area to focus it, contextClick already focuses it, we even have another test to ensure it. Those fast clicks were causing a double click in GTK+ port which selected the whole line. We don't need to dismiss the context menu either, because contextClick() doesn't really show the menu. * fast/events/context-activated-by-key-event.html: Dismiss the context menu every time we show it. * fast/events/mouse-click-events.html: Dimiss the context menu when testing right click events. 2017-05-30 Adrian Perez de Castro [GTK] Test cases for typehead in form menu lists should start from known state https://bugs.webkit.org/show_bug.cgi?id=171792 Reviewed by Carlos Garcia Campos. Since r215188 opening a popup menu in a form pre-selects the active element to mimic GtkComboxBox behavior, but the layout test implicitly assumed that type ahead search always started the beginning of the list, which is no longer true now that GTK+ is informed of which one is the active element. * platform/gtk/fast/forms/menulist-typeahead-find.html: Reset menu list to the initial state (no element selected, unfocused) at the beginning of testTypeAheadFunction(). 2017-05-25 Chris Dumez imported/w3c/web-platform-tests/html/semantics/forms/form-control-infrastructure/form_owner_and_table_2.html is crashing https://bugs.webkit.org/show_bug.cgi?id=172628 Reviewed by Sam Weinig. Add reduced test case. * TestExpectations: Unskip test that is no longer crashing in debug builds. * fast/dom/HTMLFormElement/form-removed-during-parsing-crash-expected.txt: Added. * fast/dom/HTMLFormElement/form-removed-during-parsing-crash.html: Added. 2017-05-25 Zalan Bujtas Frame's composited content is visible when the frame has visibility: hidden. https://bugs.webkit.org/show_bug.cgi?id=125565 Reviewed by Simon Fraser. * compositing/resources/visibility.html: Added. * compositing/visibility/frameset-visibility-hidden-expected.html: Added. * compositing/visibility/frameset-visibility-hidden.html: Added. * compositing/visibility/iframe-visibility-hidden-expected.html: Added. * compositing/visibility/iframe-visibility-hidden.html: Added. * compositing/visibility/object-visibility-hidden-expected.html: Added. * compositing/visibility/object-visibility-hidden.html: Added. 2017-05-25 Chris Dumez DocumentThreadableLoader::redirectReceived() should not rely on the resource's loader https://bugs.webkit.org/show_bug.cgi?id=172578 Reviewed by Youenn Fablet. Add layout test coverage. * http/tests/xmlhttprequest/cacheable-cross-origin-redirect-crash-expected.txt: Added. * http/tests/xmlhttprequest/cacheable-cross-origin-redirect-crash.html: Added. 2017-05-24 Jiewen Tan Crash on WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance + 1195 https://bugs.webkit.org/show_bug.cgi?id=172555 Reviewed by Ryosuke Niwa. * editing/selection/resources/select-iframe-focusin-document-crash-frame.html: Added. * editing/selection/select-iframe-focusin-document-crash-expected.txt: Added. * editing/selection/select-iframe-focusin-document-crash.html: Added. 2017-03-24 Brent Fulgham Handle recursive calls to ProcessingInstruction::checkStyleSheet https://bugs.webkit.org/show_bug.cgi?id=169982 Reviewed by Antti Koivisto. * fast/dom/beforeload/image-removed-during-before-load-expected.txt: Copied from LayoutTests/fast/dom/beforeload/image-removed-during-before-load-expected.txt. * fast/dom/beforeload/image-removed-during-before-load.html: Copied from LayoutTests/fast/dom/beforeload/image-removed-during-before-load.html. * fast/dom/beforeload/recursive-css-pi-before-load-expected.txt: Copied from LayoutTests/fast/dom/beforeload/recursive-css-pi-before-load-expected.txt. * fast/dom/beforeload/recursive-css-pi-before-load.html: Copied from LayoutTests/fast/dom/beforeload/recursive-css-pi-before-load.html. * fast/dom/beforeload/recursive-link-before-load-expected.txt: Copied from LayoutTests/fast/dom/beforeload/recursive-link-before-load-expected.txt. * fast/dom/beforeload/recursive-link-before-load.html: Copied from LayoutTests/fast/dom/beforeload/recursive-link-before-load.html. * fast/dom/beforeload/recursive-xsl-pi-before-load-expected.txt: Copied from LayoutTests/fast/dom/beforeload/recursive-xsl-pi-before-load-expected.txt. * fast/dom/beforeload/recursive-xsl-pi-before-load.html: Copied from LayoutTests/fast/dom/beforeload/recursive-xsl-pi-before-load.html. * fast/dom/beforeload/resources/content.xhtml: Copied from LayoutTests/fast/dom/beforeload/resources/content.xhtml. * fast/dom/beforeload/resources/pass.css: Copied from LayoutTests/fast/dom/beforeload/resources/pass.css. * fast/dom/beforeload/resources/test.xsl: Copied from LayoutTests/fast/dom/beforeload/resources/test.xsl. 2017-03-22 Jiewen Tan ASSERT_WITH_SECURITY_IMPLICATION hit when removing an while dragging on iOS https://bugs.webkit.org/show_bug.cgi?id=165535 Reviewed by Ryosuke Niwa. This test case is only enabled in iOS simulator WK2. * TestExpectations: * fast/forms/range/range-remove-on-drag-expected.txt: Added. * fast/forms/range/range-remove-on-drag.html: Added. * platform/ios-simulator-wk2/TestExpectations: 2017-03-16 Dean Jackson WebGL: Improve index validation when using uint index values https://bugs.webkit.org/show_bug.cgi?id=169798 Reviewed by Simon Fraser. * fast/canvas/webgl/draw-elements-out-of-bounds-uint-index-expected.txt: Added. * fast/canvas/webgl/draw-elements-out-of-bounds-uint-index.html: Added. 2017-05-22 Antti Koivisto Crash in WebCore::StyleRuleKeyframes::findKeyframeIndex https://bugs.webkit.org/show_bug.cgi?id=170756 Reviewed by Andreas Kling. Expand the tests to cover the malformed key case. * animations/keyframes-rule.html: * animations/unprefixed-keyframes-rule.html: 2017-05-19 Chris Dumez Do not fire load event for SVGElements that are detached or in frameless documents https://bugs.webkit.org/show_bug.cgi?id=172289 Reviewed by Ryosuke Niwa. Add layout test coverage. * svg/load-event-detached-expected.txt: Added. * svg/load-event-detached.html: Added. 2017-05-19 Zalan Bujtas Redundant ellipsis box triggers ASSERT_WITH_SECURITY_IMPLICATION in InlineBox::parent(). https://bugs.webkit.org/show_bug.cgi?id=172309 Reviewed by Simon Fraser. * fast/inline/redundant-ellipsis-triggers-assert-incorrectly-expected.txt: Added. * fast/inline/redundant-ellipsis-triggers-assert-incorrectly.html: Added. 2017-05-18 Zalan Bujtas Redundant ellipsis box triggers ASSERT_WITH_SECURITY_IMPLICATION in InlineBox::parent(). https://bugs.webkit.org/show_bug.cgi?id=172309 Reviewed by Simon Fraser. * fast/inline/redundant-ellipsis-triggers-assert-incorrectly-expected.txt: Added. * fast/inline/redundant-ellipsis-triggers-assert-incorrectly.html: Added. 2017-05-18 Dean Jackson Transform misplaces element 50% of the time https://bugs.webkit.org/show_bug.cgi?id=172300 Reviewed by Simon Fraser. A test case which has an animation that relies on translation percentages. If all goes well, the animating element will be completely obscured. * animations/needs-layout-expected.html: Added. * animations/needs-layout.html: Added. 2017-05-18 Daniel Bates Improve error message for Access-Control-Allow-Origin violation due to misconfigured server https://bugs.webkit.org/show_bug.cgi?id=162819 Reviewed by Joseph Pecoraro. Add more tests when Access-Control-Allow-Origin has more than one value and group with existing tests. Update expected results. * http/tests/xmlhttprequest/origin-exact-matching-expected.txt: * http/tests/xmlhttprequest/resources/origin-exact-matching-iframe.html: Also extracted the origin string for the page into a local variable called pageOrigin, making use of document.origin, and referenced this variable instead of duplicating its value. Fixed various style nits. 2017-05-18 Daniel Bates REGRESSION (r209608): Cross-origin plugin document opened in child window blocked by parent window CSP when object-src 'none' is set https://bugs.webkit.org/show_bug.cgi?id=172038 Reviewed by Andy Estes. Adds tests to ensure that a same-origin- and cross-origin- plugin document opened in a child window inherit and do not inherit the CSP of its opener, respectively. Also adds a test to ensure that an about:blank window inherits the CSP plugin policy of its opener. * http/tests/plugins/resources/plugin-document-alert-and-notify-done.pl: Added. * http/tests/security/contentSecurityPolicy/cross-origin-plugin-document-allowed-in-child-window-expected.txt: Added. * http/tests/security/contentSecurityPolicy/cross-origin-plugin-document-allowed-in-child-window.html: Added. * http/tests/security/contentSecurityPolicy/plugin-blocked-in-about-blank-window-expected.txt: Added. * http/tests/security/contentSecurityPolicy/plugin-blocked-in-about-blank-window.html: Added. * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window-expected.txt: Added. * http/tests/security/contentSecurityPolicy/same-origin-plugin-document-blocked-in-child-window.html: Added. * platform/ios/TestExpectations: Skip added tests as iOS does not support plugins. 2017-05-17 Ryosuke Niwa getElementById can return a wrong elemnt when a matching element is removed during beforeload event https://bugs.webkit.org/show_bug.cgi?id=171374 Reviewed by Brent Fulgham. Added a regression test for calling getElementById after removing a matching element during beforeload event of a link element. * fast/html/link-element-removal-during-beforeload-expected.txt: Added. * fast/html/link-element-removal-during-beforeload.html: Added. 2017-05-15 Gwang Yoon Hwang [CAIRO] Painting an image mask with a matrix above Pixman's limit breaks internal states of Cairo https://bugs.webkit.org/show_bug.cgi?id=169094 Reviewed by Žan Doberšek. * fast/hidpi/hidpi-long-page-with-inset-element-expected.html: Added. * fast/hidpi/hidpi-long-page-with-inset-element.html: Added. 2017-05-12 Daniel Bates Attempt to fix timeout failure of test plugins/navigator-plugin-crash.html in WebKit1 following (https://bugs.webkit.org/show_bug.cgi?id=171712) In r216798 I inadvertently added testRunner.setPopupBlockingEnabled(true) instead instead of testRunner.setPopupBlockingEnabled(false) to disable the popup blocker. * plugins/navigator-plugin-crash.html: 2017-05-12 Daniel Bates Attempt to fix timeout failure of test plugins/navigator-plugin-crash.html in WebKit1 following (https://bugs.webkit.org/show_bug.cgi?id=171712) On WebKit1 we need to explicitly allow the test tool to open windows by calling testRunner.setCanOpenWindows(). We should also call testRunner.setCloseRemainingWindowsWhenComplete(true) to have the test tool close any open windows after running the test. It is also good practice to explicitly disable the popup blocker by calling testRunner.setPopupBlockingEnabled(false). * plugins/navigator-plugin-crash.html: 2017-05-11 Jiewen Tan Check existence of a page before accessing its plugins https://bugs.webkit.org/show_bug.cgi?id=171712 Reviewed by Brent Fulgham. * plugins/navigator-plugin-crash-expected.txt: Added. * plugins/navigator-plugin-crash.html: Added. 2017-05-12 Carlos Garcia Campos [GTK] ASSERTION FAILED: !m_flushingLayers https://bugs.webkit.org/show_bug.cgi?id=172025 Reviewed by Žan Doberšek. * platform/gtk/TestExpectations: 2017-05-12 Carlos Garcia Campos [GTK] GIF images are not properly loaded the first time https://bugs.webkit.org/show_bug.cgi?id=170432 Reviewed by Carlos Alberto Lopez Perez. * http/tests/images/gif-progressive-load-expected.html: Added. * http/tests/images/gif-progressive-load.html: Added. 2017-05-10 Andy Estes REGRESSION (r167845): ASSERT(!m_renderView.needsLayout()) in svg/custom/bug79798.html https://bugs.webkit.org/show_bug.cgi?id=132297 Reviewed by Simon Fraser. * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation-expected.txt: * http/tests/navigation/resources/keyboard-events-test.js: (runTest): * platform/ios-wk2/TestExpectations: * platform/wk2/TestExpectations: 2017-05-10 Antti Koivisto REGRESSION (r207372) Visibility property is not inherited when used in an animation https://bugs.webkit.org/show_bug.cgi?id=171883 Reviewed by Simon Fraser. * animations/animation-initial-inheritance-expected.html: Added. * animations/animation-initial-inheritance.html: Added. 2017-05-10 Andy Estes r216599 accidentally included two copies of the new layout test and expected result https://bugs.webkit.org/show_bug.cgi?id=171938 Unreviewed. * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation-expected.txt: * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html: 2017-05-10 Andy Estes Keyboard input suppression should extend to subframes https://bugs.webkit.org/show_bug.cgi?id=171880 Reviewed by Ryosuke Niwa. * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: * http/tests/navigation/keyboard-events-during-provisional-navigation.html: * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation-expected.txt: Copied from LayoutTests/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt. * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html: Copied from LayoutTests/http/tests/navigation/keyboard-events-during-provisional-navigation.html. * http/tests/navigation/resources/keyboard-events-after-navigation.html: * http/tests/navigation/resources/keyboard-events-test.js: (runTest): (waitForProvisionalNavigation.xhr.onreadystatechange): (waitForProvisionalNavigation): 2017-05-08 Zalan Bujtas Text overlaps on http://www.duden.de/rechtschreibung/Acre https://bugs.webkit.org/show_bug.cgi?id=171796 Reviewed by Simon Fraser. * fast/text/simple-line-layout-fallback-space-glyph-expected.html: Added. * fast/text/simple-line-layout-fallback-space-glyph.html: Added. 2017-05-04 Jiewen Tan Search events should not fire synchronously for search type input elements with incremental attribute set https://bugs.webkit.org/show_bug.cgi?id=171376 Reviewed by Chris Dumez. * fast/forms/search/search-incremental-crash-expected.txt: Added. * fast/forms/search/search-incremental-crash.html: Added. 2017-05-08 Antti Koivisto ComposedTreeIterator does not traverse all slotted children if the traversal root is a slot element. https://bugs.webkit.org/show_bug.cgi?id=171375 Reviewed by Zalan Bujtas. * fast/html/details-flow-thread-expected.txt: Added. * fast/html/details-flow-thread.html: Added. * fast/shadow-dom/composed-tree-slots-expected.txt: * fast/shadow-dom/composed-tree-slots.html: Expand the test so it also prints out slot subtrees using slots as traversal roots. 2017-05-05 Carlos Garcia Campos Unreviewed GTK+ gardening. Rebaseline fast/repaint/mutate-non-visible.html. * platform/gtk/fast/repaint/mutate-non-visible-expected.txt: Added. 2017-05-08 Carlos Garcia Campos Unreviewed. Skip hls tests crashing with GST 1.8. * platform/gtk/TestExpectations: 2017-05-05 Zalan Bujtas Renderers being destroyed should not be added to AX's deferred list. https://bugs.webkit.org/show_bug.cgi?id=171768 Reviewed by Simon Fraser. * accessibility/crash-when-renderers-are-added-back-to-deferred-list-expected.txt: Added. * accessibility/crash-when-renderers-are-added-back-to-deferred-list.html: Added. 2017-05-05 Dean Jackson Restrict SVG filters to accessible security origins https://bugs.webkit.org/show_bug.cgi?id=118689 Reviewed by Brent Fulgham. Add a test that shows safe frames, unsafe frames, and then a safe frame that itself has an unsafe frame, to show that the security requirements are being forwarded down the tree. * http/tests/css/filters-on-iframes-expected.html: Added. * http/tests/css/filters-on-iframes.html: Added. * http/tests/css/resources/blank.html: Added. * http/tests/css/resources/references-external.html: Added. * http/tests/css/resources/solid-red.html: Added. 2017-05-04 Antti Koivisto REGRESSION (Safari 10.1): When 'transition' contains -ms-transform, transform-origin is also transitioned https://bugs.webkit.org/show_bug.cgi?id=171250 Reviewed by Geoffrey Garen. * transitions/transition-unknown-property-ignore-expected.txt: Added. * transitions/transition-unknown-property-ignore.html: Added. * transitions/transitions-parsing-expected.txt: * transitions/transitions-parsing.html: Update the roundtrip expectations for unknown properties. The new results match Blink and Gecko. 2017-05-04 Dave Hyatt REGRESSION(STP): rgb() with calc() containing variables doesn't work https://bugs.webkit.org/show_bug.cgi?id=169939 Reviewed by Zalan Bujtas. * fast/css/variables/calc-float-to-int-expected.html: Added. * fast/css/variables/calc-float-to-int.html: Added. 2017-05-03 Zalan Bujtas SearchInputType could end up with a mismatched renderer. https://bugs.webkit.org/show_bug.cgi?id=171547 Reviewed by Antti Koivisto. * fast/forms/change-input-type-and-submit-form-crash-expected.txt: Added. * fast/forms/change-input-type-and-submit-form-crash.html: Added. 2017-05-03 Daniel Bates Detach frame from document when entering page cache https://bugs.webkit.org/show_bug.cgi?id=166774 Reviewed by Chris Dumez. * TestExpectations: Unskip tests. * fast/history/page-cache-after-window-open-expected.txt: Update expected result. * fast/history/page-cache-after-window-open.html: Ditto. * fast/history/page-cache-with-opener-expected.txt: Ditto. * fast/history/page-cache-with-opener.html: Update test given its new expected behavior. * fast/history/resources/page-cache-window-with-opener.html: Ditto. * http/tests/security/xss-DENIED-click-and-form-submission-from-inactive-domwindow-expected.txt: Added. * http/tests/security/xss-DENIED-click-and-form-submission-from-inactive-domwindow.html: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window-expected.txt: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-expected.txt: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window3-expected.txt: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html: Added. 2017-05-03 Daniel Bates Abandon the current load once the provisional loader detaches from the frame https://bugs.webkit.org/show_bug.cgi?id=171577 Reviewed by Brent Fulgham. * fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash-expected.txt: Added. * fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash.html: Added. 2017-05-01 Chris Dumez Documents created using DOMParser.parseFromString should inherit their context document's origin / URL https://bugs.webkit.org/show_bug.cgi?id=171499 Reviewed by Sam Weinig. Add layout test coverage. I have verified that this test passes in both Firefox and Chrome. * fast/dom/domparser-parsefromstring-origin-expected.txt: Added. * fast/dom/domparser-parsefromstring-origin.html: Added. 2017-05-01 Chris Dumez Do not dispatch SVG load event in frameless documents https://bugs.webkit.org/show_bug.cgi?id=171505 Reviewed by Andreas Kling. Add layout test coverage. I have verified that this test passes on both Firefox and Chrome. * fast/dom/domparser-parsefromstring-svg-load-event-expected.txt: Added. * fast/dom/domparser-parsefromstring-svg-load-event.html: Added. 2017-04-28 Zalan Bujtas iBooks text can overlap, sometimes columns are shifted splitting words. https://bugs.webkit.org/show_bug.cgi?id=171472 Reviewed by Antti Koivisto. * fast/text/simple-line-layout-glyph-overflows-line-expected.html: Added. * fast/text/simple-line-layout-glyph-overflows-line.html: Added. 2017-04-28 Per Arne Vollan Crash under WebCore::AccessibilityRenderObject::handleAriaExpandedChanged(). https://bugs.webkit.org/show_bug.cgi?id=171427 Reviewed by Brent Fulgham. * accessibility/accessibility-crash-setattribute-expected.txt: Added. * accessibility/accessibility-crash-setattribute.html: Added. 2017-04-28 Dean Jackson App crashing: Dispatch queue: com.apple.root.user-interactive-qos / vBoxConvolve / WebCore::FEGaussianBlur::platformApplySoftware() https://bugs.webkit.org/show_bug.cgi?id=171461 Reviewed by Eric Carlson. Test a bunch of blurs a frame at a time. * css3/filters/blur-various-radii-expected.html: Added. * css3/filters/blur-various-radii.html: Added. 2017-04-27 Antti Koivisto Repeated layouts in Mail due to viewport units being used with auto-sizing https://bugs.webkit.org/show_bug.cgi?id=171371 Reviewed by Zalan Bujtas. * css3/viewport-percentage-lengths/vh-auto-size-expected.html: Added. * css3/viewport-percentage-lengths/vh-auto-size.html: Added. 2017-04-27 Zalan Bujtas Text gets cut off when bailing out of simple line layout with widows. https://bugs.webkit.org/show_bug.cgi?id=171370 Reviewed by Antti Koivisto. * fast/multicol/simple-line-layout-widows-when-switching-over-to-normal-line-layout-expected.html: Added. * fast/multicol/simple-line-layout-widows-when-switching-over-to-normal-line-layout.html: Added. 2017-04-26 Zalan Bujtas Forced page break on :after triggers infinite loop in column balancing https://bugs.webkit.org/show_bug.cgi?id=171309 rdar://problem/26285884 Reviewed by David Hyatt. * fast/multicol/infinite-loop-when-forced-break-expected.txt: Added. * fast/multicol/infinite-loop-when-forced-break.html: Added. 2017-04-25 Brent Fulgham Relax the event firing ASSERT for Attr changes https://bugs.webkit.org/show_bug.cgi?id=171236 Reviewed by Dean Jackson. * fast/dom/HTMLLinkElement/event-while-removing-attribute-expected.txt: Added. * fast/dom/HTMLLinkElement/event-while-removing-attribute.html: Added. 2017-04-25 Chris Dumez Content-Disposition header filename is ignored when 'download' attribute is specified in HTML https://bugs.webkit.org/show_bug.cgi?id=171239 Reviewed by Alex Christensen. * http/tests/security/anchor-download-allow-sameorigin.html: Stop using attachment.php as resource for this download attribute test because attachment.php returns a Content-Disposition header with a filename. Given the behavior change in this patch, this resource is no longer suitable for testing the download attribute. * http/tests/download/anchor-download-attribute-content-disposition-expected.txt: Added. * http/tests/download/anchor-download-attribute-content-disposition.html: Added. * http/tests/download/resources/content-disposition-pass.php: Added. Add layout test coverage. * platform/ios-wk2/TestExpectations: * platform/mac-wk1/TestExpectations: * platform/win/TestExpectations: Skip new test on platforms where the download attribute is not supported. 2017-04-21 Zalan Bujtas REGRESSION(r205374):
  • content inside
      should mid-word wrap when word-break: break-word is present. https://bugs.webkit.org/show_bug.cgi?id=171108 Reviewed by Dan Bernstein. * fast/replaced/ul-li-word-break-break-word-expected.html: Added. * fast/replaced/ul-li-word-break-break-word.html: Added. * fast/replaced/zero-width-image-force-linebreak-expected.html: Added. * fast/replaced/zero-width-image-force-linebreak.html: Added. 2017-05-08 Carlos Garcia Campos Unreviewed. Fix expectations of fast/events/drag-and-drop-link-containing-block.html. * platform/gtk/TestExpectations: 2017-04-21 Chris Dumez Regression(r206240): XMLSerializer.serializeToString() does not properly escape '<' / '>' in attribute values https://bugs.webkit.org/show_bug.cgi?id=171132 Reviewed by Ryosuke Niwa. Add layout test coverage. This test is passing in both Firefox and Chrome. * fast/dom/XMLSerializer-serializeToString-entities-expected.txt: Added. * fast/dom/XMLSerializer-serializeToString-entities.html: Added. 2017-04-21 Per Arne Vollan Validate vImage arguments https://bugs.webkit.org/show_bug.cgi?id=171109 Reviewed by Brent Fulgham. * fast/canvas/canvas-crash-expected.txt: Added. * fast/canvas/canvas-crash.html: Added. 2017-04-20 Wenson Hsieh Inline anchor elements cannot be dragged when starting the drag from a block descendant https://bugs.webkit.org/show_bug.cgi?id=171062 Reviewed by Tim Horton. Adds a new test on WK1 Mac to verify that link dragging succeeds when the link's anchor element is inline and the drag is started from a block element under the link. * fast/events/drag-and-drop-link-containing-block-expected.txt: Added. * fast/events/drag-and-drop-link-containing-block.html: Added. * platform/ios/TestExpectations: * platform/mac-wk2/TestExpectations: Skip the test on iOS and Mac WK2. 2017-04-19 Alex Christensen Parsing large XML strings fails https://bugs.webkit.org/show_bug.cgi?id=170999 Reviewed by Brady Eidson. * fast/dom/xml-large-expected.txt: Added. * fast/dom/xml-large.html: Added. 2017-04-19 Antti Koivisto Avoid repaints for invisible animations on tumblr.com/search/aww https://bugs.webkit.org/show_bug.cgi?id=170986 Reviewed by Andreas Kling. * fast/repaint/mutate-non-visible-expected.txt: Added. * fast/repaint/mutate-non-visible.html: Added. 2017-04-18 Brent Fulgham Correct handling of isolatedWorld in event handling https://bugs.webkit.org/show_bug.cgi?id=65589 Reviewed by Geoffrey Garen. This following test cases are from the following Blink change: https://src.chromium.org/viewvc/blink?revision=152377&view=revision * fast/dom/event-attrs-isolated-world-expected.txt: Added. * fast/dom/event-attrs-isolated-world.html: Added. * http/tests/security/isolatedWorld/onclick-attribute-expected.txt: Added. * http/tests/security/isolatedWorld/onclick-attribute.html: Added. 2017-04-16 Chris Dumez CMD+R / CMD+Q is considered as user interaction and beforeunload alert is shown https://bugs.webkit.org/show_bug.cgi?id=169995 Reviewed by Sam Weinig. Add layout test coverage. * fast/events/beforeunload-alert-handled-keydown-expected.txt: Added. * fast/events/beforeunload-alert-handled-keydown.html: Added. * fast/events/beforeunload-alert-unhandled-keydown-expected.txt: Added. * fast/events/beforeunload-alert-unhandled-keydown.html: Added. 2017-04-14 Zalan Bujtas text-align start / end failure in table cells https://bugs.webkit.org/show_bug.cgi?id=141417 Reviewed by Antti Koivisto. * fast/table/center-th-when-parent-has-initial-text-align-expected.html: Added. * fast/table/center-th-when-parent-has-initial-text-align.html: Added. 2017-04-13 Dean Jackson Large negative animation-delays may not work depending on machine uptime https://bugs.webkit.org/show_bug.cgi?id=166962 Reviewed by Tim Horton. * animations/large-negative-delay-expected.txt: Added. * animations/large-negative-delay.html: Added. 2017-04-13 Antti Koivisto Don't invalidate composition for style changes in non-composited layers https://bugs.webkit.org/show_bug.cgi?id=170805 Reviewed by Simon Fraser. * compositing/updates/animation-non-composited-expected.txt: Added. * compositing/updates/animation-non-composited.html: Added. 2017-04-12 Brady Eidson QuotaExceededError when saving to localStorage in private mode. https://bugs.webkit.org/show_bug.cgi?id=157010 Reviewed by Alex Christensen. * platform/mac-wk2/TestExpectations: * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt: * storage/domstorage/localstorage/private-browsing-affects-storage.html: * storage/domstorage/localstorage/resources/private-browsing-1.html: Added. * storage/domstorage/localstorage/resources/private-browsing-2.html: Added. * storage/domstorage/localstorage/resources/private-browsing-3.html: Added. * storage/domstorage/localstorage/resources/private-browsing-storage-2.html: Added. * storage/domstorage/sessionstorage/private-browsing-affects-storage-expected.txt: Removed. * storage/domstorage/sessionstorage/private-browsing-affects-storage.html: Removed. 2017-04-10 Miguel Gomez REGRESSION(r205841): [GTK] Test fast/images/animated-png.html is failing since r205841 https://bugs.webkit.org/show_bug.cgi?id=168425 Reviewed by Said Abou-Hallawa. Adjusted expectation for fast/images/animated-png.html. It must pass now. * platform/gtk/TestExpectations: 2017-04-07 Zalan Bujtas Simple line layout: FlowContents::segmentIndexForRunSlow skips empty runs. https://bugs.webkit.org/show_bug.cgi?id=170552 Reviewed by Antti Koivisto. * fast/text/simple-line-layout-hover-over-subsequent-linebreaks-expected.txt: Added. * fast/text/simple-line-layout-hover-over-subsequent-linebreaks.html: Added. 2017-04-07 Brent Fulgham Rebaseline additional tests after r215096. https://bugs.webkit.org/show_bug.cgi?id=170561 * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-self-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-same-none-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-same-self-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-none-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-self-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-none-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-none-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-self-block-expected.txt: * http/tests/security/no-popup-from-sandbox-top-expected.txt: * http/tests/xmlhttprequest/origin-exact-matching-expected.txt: 2017-04-07 Brent Fulgham WebKit should percent encode single quotes in query strings https://bugs.webkit.org/show_bug.cgi?id=170561 Reviewed by Alex Christensen. Rebaseline tests after change. * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame-expected.txt: * fast/frames/xss-auditor-handles-file-urls-expected.txt: * http/tests/security/xssAuditor/base-href-control-char-expected.txt: * http/tests/security/xssAuditor/base-href-expected.txt: * http/tests/security/xssAuditor/base-href-null-char-expected.txt: * http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt: * http/tests/security/xssAuditor/embed-tag-control-char-expected.txt: * http/tests/security/xssAuditor/embed-tag-expected.txt: * http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt: * http/tests/security/xssAuditor/embed-tag-null-char-expected.txt: * http/tests/security/xssAuditor/form-action-expected.txt: * http/tests/security/xssAuditor/formaction-on-button-expected.txt: * http/tests/security/xssAuditor/formaction-on-input-expected.txt: * http/tests/security/xssAuditor/frameset-injection-expected.txt: * http/tests/security/xssAuditor/full-block-base-href-expected.txt: * http/tests/security/xssAuditor/full-block-link-onclick-expected.txt: * http/tests/security/xssAuditor/full-block-object-tag-expected.txt: * http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt: * http/tests/security/xssAuditor/iframe-injection-expected.txt: * http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt: * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt: * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt: * http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt: * http/tests/security/xssAuditor/link-onclick-control-char-expected.txt: * http/tests/security/xssAuditor/link-onclick-entities-expected.txt: * http/tests/security/xssAuditor/link-onclick-expected.txt: * http/tests/security/xssAuditor/link-onclick-null-char-expected.txt: * http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt: * http/tests/security/xssAuditor/object-embed-tag-expected.txt: * http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt: * http/tests/security/xssAuditor/object-tag-expected.txt: * http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt: * http/tests/security/xssAuditor/script-tag-expression-follows-expected.txt: * http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt: * http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt: * http/tests/security/xssAuditor/script-tag-with-comma-01-expected.txt: * http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt: * http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt: * http/tests/security/xssAuditor/script-tag-with-source-expected.txt: * http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt: * http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt: * http/tests/security/xssAuditor/svg-animate-expected.txt: * http/tests/security/xssAuditor/svg-script-tag-expected.txt: * http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt: * http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt: 2017-04-06 Zalan Bujtas Simple line layout: Hittest always returns the first renderer in the block. https://bugs.webkit.org/show_bug.cgi?id=170520 Reviewed by Antti Koivisto. * fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point-expected.html: Added. * fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point.html: Added. 2017-04-04 Brent Fulgham Do not assert when CharacterData representing an Attr fires events https://bugs.webkit.org/show_bug.cgi?id=170454 Reviewed by Ryosuke Niwa. * fast/dom/no-assert-for-malformed-js-url-attribute-expected.txt: Added. * fast/dom/no-assert-for-malformed-js-url-attribute.html: Added. 2017-04-03 Chris Dumez REGRESSION (r206744): CSS background-image in style attribute ignored when using createHTMLDocument method of DOM parsing https://bugs.webkit.org/show_bug.cgi?id=170285 Reviewed by Andy Estes. Add layout test coverage. * fast/images/background-image-relative-url-changes-document-expected.html: Added. * fast/images/background-image-relative-url-changes-document.html: Added. 2017-04-03 Antti Koivisto REGRESSION (r207669): FileMaker Pro Help pages do not render correctly https://bugs.webkit.org/show_bug.cgi?id=170402 Reviewed by Simon Fraser. * fast/css/document-stylesheets-dynamic-expected.html: Added. * fast/css/document-stylesheets-dynamic.html: Added. 2017-04-03 Carlos Garcia Campos [SOUP] URI Fragment is lost after redirect https://bugs.webkit.org/show_bug.cgi?id=170058 Reviewed by Michael Catanzaro. Add tests to check we correctly handle fragment identifiers on server redirections. * http/tests/navigation/redirect-preserves-fragment-expected.txt: Added. * http/tests/navigation/redirect-preserves-fragment.html: Added. * http/tests/navigation/redirect-to-fragment-expected.txt: Added. * http/tests/navigation/redirect-to-fragment.html: Added. * http/tests/navigation/redirect-to-fragment2-expected.txt: Added. * http/tests/navigation/redirect-to-fragment2.html: Added. * http/tests/navigation/resources/redirect-preserves-fragment.php: Added. * http/tests/navigation/resources/redirect-to-fragment.php: Added. * http/tests/navigation/resources/redirect-to-fragment2.php: Added. * platform/ios/TestExpectations: * platform/mac/TestExpectations: 2017-03-30 Eric Carlson [Crash] WebCore::AudioBuffer::AudioBuffer don't checking illegal value https://bugs.webkit.org/show_bug.cgi?id=169956 Reviewed by Youenn Fablet. * webaudio/audiobuffer-crash-expected.txt: Added. * webaudio/audiobuffer-crash.html: Added. 2017-03-29 Ryosuke Niwa Disconnecting a HTMLObjectElement does not always unload its content document https://bugs.webkit.org/show_bug.cgi?id=169606 Reviewed by Andy Estes. Add a regression test. * fast/dom/removing-focused-object-element-expected.txt: Added. * fast/dom/removing-focused-object-element.html: Added. 2017-03-29 Zalan Bujtas RenderBlockFlow::addFloatsToNewParent should check if float is already added to the object list. https://bugs.webkit.org/show_bug.cgi?id=170259 Reviewed by Simon Fraser. * fast/block/float/placing-multiple-floats-crash-expected.txt: Added. * fast/block/float/placing-multiple-floats-crash.html: Added. 2017-03-27 Brent Fulgham Only attach Attributes to a given element one time https://bugs.webkit.org/show_bug.cgi?id=170125 Reviewed by Chris Dumez. * fast/dom/Attr/make-unique-element-data-while-replacing-attr-expected.txt: Rebaselined. * fast/dom/Attr/make-unique-element-data-while-replacing-attr.html: Add check before setting new value. * fast/dom/Attr/only-attach-attr-once-expected.txt: Added. * fast/dom/Attr/only-attach-attr-once.html: Added. 2017-03-28 Antti Koivisto Missing render tree position invalidation when tearing down renderers for display:contents subtree https://bugs.webkit.org/show_bug.cgi?id=170199 Reviewed by Zalan Bujtas. * fast/shadow-dom/slot-renderer-teardown-expected.txt: Added. * fast/shadow-dom/slot-renderer-teardown.html: Added. 2017-03-22 Carlos Garcia Campos Unreviewed GTK+ gardening. Remove platform expectation after r214246. * platform/gtk/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Removed. 2017-03-24 Brady Eidson A null compound index value crashes the Databases process. and https://bugs.webkit.org/show_bug.cgi?id=170000 Reviewed by Alex Christensen. * storage/indexeddb/modern/resources/single-entry-index-invalid-key-crash.js: Added. * storage/indexeddb/modern/single-entry-index-invalid-key-crash-expected.txt: Added. * storage/indexeddb/modern/single-entry-index-invalid-key-crash-private-expected.txt: Added. * storage/indexeddb/modern/single-entry-index-invalid-key-crash-private.html: Added. * storage/indexeddb/modern/single-entry-index-invalid-key-crash.html: Added. 2017-03-24 Daniel Bates Prevent new navigations during document unload https://bugs.webkit.org/show_bug.cgi?id=169934 Reviewed by Chris Dumez. Add a test to ensure that we do not cause an assertion fail when calling setTimeout after starting a navigation from an onunload event handler. * fast/frames/frame-unload-navigate-and-setTimeout-assert-fail-expected.txt: Added. * fast/frames/frame-unload-navigate-and-setTimeout-assert-fail.html: Added. 2017-03-24 Per Arne Vollan Text stroke is sometimes clipped on video captions. https://bugs.webkit.org/show_bug.cgi?id=170006 Reviewed by Eric Carlson. * media/track/track-css-stroke-cues-expected.txt: * media/track/track-css-stroke-cues.html: 2017-03-23 Brady Eidson WebSQL databases should not openable in private browsing. and https://bugs.webkit.org/show_bug.cgi?id=170013 Reviewed by Alex Christensen. * storage/websql/private-browsing-open-disabled-expected.txt: Added. * storage/websql/private-browsing-open-disabled.html: Added. 2017-03-22 Antti Koivisto Dynamically applied :empty pseudo class with display:none does not get unapplied https://bugs.webkit.org/show_bug.cgi?id=169907 Reviewed by Ryosuke Niwa. * fast/css/empty-display-none-invalidation-expected.html: Added. * fast/css/empty-display-none-invalidation.html: Added. 2017-03-22 Chris Dumez WebKit should disallow beforeunload alerts from web pages users have never interacted with https://bugs.webkit.org/show_bug.cgi?id=169936 Reviewed by Brent Fulgham. * fast/events/before-unload-return-string-conversion-expected.txt: * fast/events/before-unload-returnValue-expected.txt: Rebaseline now that the CONFIRM MESSAGE is no longer shown. This is because there is no user interaction with the page. * fast/events/beforeunload-alert-no-user-interaction-expected.txt: Added. * fast/events/beforeunload-alert-no-user-interaction.html: Added. * fast/events/beforeunload-alert-user-interaction-expected.txt: Added. * fast/events/beforeunload-alert-user-interaction.html: Added. * fast/events/beforeunload-alert-user-interaction2-expected.txt: Added. * fast/events/beforeunload-alert-user-interaction2.html: Added. Add layout test coverage. * fast/loader/form-submission-after-beforeunload-cancel.html: * fast/loader/show-only-one-beforeunload-dialog.html: * http/tests/misc/iframe-beforeunload-dialog-matching-ancestor-securityorigin.html: * http/tests/misc/iframe-beforeunload-dialog-not-matching-ancestor-securityorigin.html: Simulate user interaction with the page so that the CONFIRM MESSAGE log lines are still shown. 2017-03-21 Sergio Villar Senin [Soup] "Only from websites I visit" cookie policy is broken https://bugs.webkit.org/show_bug.cgi?id=168912 Reviewed by Carlos Garcia Campos. * http/tests/security/cookies/third-party-cookie-blocking-redirect-expected.txt: Added. * http/tests/security/cookies/third-party-cookie-blocking-redirect.html: Added. 2017-03-21 Brady Eidson Disable all virtual tables. and https://bugs.webkit.org/show_bug.cgi?id=169928 Reviewed by Jer Noble. * storage/websql/test-authorizer-expected.txt: * storage/websql/test-authorizer.js: (createStatementsCallback): 2017-03-21 Zalan Bujtas Tear down descendant renderers when 's display value is set to no "contents". https://bugs.webkit.org/show_bug.cgi?id=169921 Reviewed by Antti Koivisto. * fast/shadow-dom/slot-with-continuation-descendants-expected.txt: Added. * fast/shadow-dom/slot-with-continuation-descendants.html: Added. 2017-03-20 Daniel Bates Prevent new navigations from onbeforeunload handler https://bugs.webkit.org/show_bug.cgi?id=169891 Reviewed by Ryosuke Niwa. Update test to ensure that we disallow navigation initiated via a DOM click event from an onbeforeunload handler. * fast/events/before-unload-forbidden-navigation.html: 2017-03-19 Chris Dumez `const location = "foo"` throws in a worker https://bugs.webkit.org/show_bug.cgi?id=169839 Reviewed by Mark Lam. * fast/dom/window-const-variable-shadowing-expected.txt: Added. * fast/dom/window-const-variable-shadowing.html: Added. * fast/workers/const-location-variable-expected.txt: Added. * fast/workers/const-location-variable.html: Added. * fast/workers/resources/worker-const-location.js: Added. Add layout test coverage for behavior changes. Those tests pass in Firefox and Chrome. * js/dom/const-expected.txt: * js/dom/const.html: Update test which wrongly expected a let variable not to be able to shadow a window named property. This test was failing in Chrome and Firefox. The reason this does not throw is because window named properties are not on the window object, they are on the WindowProperties object in the Window prototype chain. 2017-03-17 Dave Hyatt Disable per-region boxes for multicolumn https://bugs.webkit.org/show_bug.cgi?id=169830 Reviewed by Zalan Bujtas. * fast/multicol/float-adjacent-to-overflow-block-expected.html: Added. * fast/multicol/float-adjacent-to-overflow-block.html: Added. 2017-03-17 Zalan Bujtas Fix the flow thread state on the descendants of out of flow positioned replaced elements. https://bugs.webkit.org/show_bug.cgi?id=169821 Reviewed by Simon Fraser. * fast/multicol/fix-inherit-when-container-is-replaced-expected.txt: Added. * fast/multicol/fix-inherit-when-container-is-replaced.html: Added. 2017-03-16 Zalan Bujtas Stay inside the continuation while searching for a candidate ancestor for insertion. https://bugs.webkit.org/show_bug.cgi?id=169768 Reviewed by David Hyatt. * fast/inline/continuation-crash-with-anon-ancestors-expected.txt: Added. * fast/inline/continuation-crash-with-anon-ancestors.html: Added. 2017-03-16 Manuel Rego Casasnovas [css-grid] Crash on debug removing a positioned child https://bugs.webkit.org/show_bug.cgi?id=169739 Reviewed by Sergio Villar Senin. Add new test that checks that adding and removing a positioned grid item doesn't cause any crashes. * fast/css-grid-layout/grid-crash-remove-positioned-item-expected.txt: Added. * fast/css-grid-layout/grid-crash-remove-positioned-item.html: Added. 2017-03-15 Zalan Bujtas Do not reparent floating object until after intruding/overhanging dependency is cleared. https://bugs.webkit.org/show_bug.cgi?id=169711 Reviewed by Simon Fraser. * fast/block/float/inline-becomes-float-and-moves-around-expected.txt: Added. * fast/block/float/inline-becomes-float-and-moves-around.html: Added. 2017-03-15 Dave Hyatt Positioned SVG not sized correctly https://bugs.webkit.org/show_bug.cgi?id=169693 Reviewed by Zalan Bujtas. * svg/in-html/rect-positioned-expected.html: Added. * svg/in-html/rect-positioned.html: Added. 2017-03-14 Wenson Hsieh RenderElements should unregister for viewport visibility callbacks when they are destroyed https://bugs.webkit.org/show_bug.cgi?id=169521 Reviewed by Simon Fraser. Adds a new layout test covering this regression. See WebCore ChangeLog for more details. * fast/media/video-element-in-details-collapse-expected.txt: Added. * fast/media/video-element-in-details-collapse.html: Added. 2017-03-14 Zalan Bujtas Simple line layout: Adjust hyphenation constrains based on the normal line layout line-breaking logic. https://bugs.webkit.org/show_bug.cgi?id=169617 Reviewed by Antti Koivisto. * fast/text/simple-line-layout-hyphenation-constrains-expected.html: Added. * fast/text/simple-line-layout-hyphenation-constrains.html: Added. 2017-03-13 Wenson Hsieh Make RepaintRegionAccumulator hold a WeakPtr to its root RenderView https://bugs.webkit.org/show_bug.cgi?id=168480 Reviewed by Antti Koivisto. Introduces a new layout test. See WebCore ChangeLog for more details. * TestExpectations: * editing/execCommand/show-modal-dialog-during-execCommand-expected.txt: Added. * editing/execCommand/show-modal-dialog-during-execCommand.html: Added. * editing/execCommand/resources/self-closing-modal-dialog.html: Added. * platform/mac-wk1/TestExpectations: 2017-03-13 Caio Lima [JSC] It should be possible create a label named let when parsing Statement in non strict mode https://bugs.webkit.org/show_bug.cgi?id=168684 Reviewed by Saam Barati. * js/let-syntax-expected.txt: * js/script-tests/let-syntax.js: (shouldNotHaveSyntaxErrorSloopyOnly): 2017-03-09 Chris Dumez Align Document.elementFromPoint() with the CSSOM specification https://bugs.webkit.org/show_bug.cgi?id=169403 Reviewed by Sam Weinig. Add layout test coverage. * fast/dom/elementFromPoint-parameters-expected.txt: Added. * fast/dom/elementFromPoint-parameters.html: Added. * fast/dom/non-numeric-values-numeric-parameters-expected.txt: * fast/dom/script-tests/non-numeric-values-numeric-parameters.js: 2017-03-08 Chris Dumez Parameter to input.setCustomValidity() should not be nullable https://bugs.webkit.org/show_bug.cgi?id=169332 Reviewed by Sam Weinig. * fast/forms/ValidityState-customError-expected.txt: * fast/forms/ValidityState-customError.html: Rebaseline now that behavior has changed when passing null or undefined to setCustomValidity(). * fast/forms/setCustomValidity-null-parameter-expected.txt: Added. * fast/forms/setCustomValidity-null-parameter.html: Added. Add layout test coverage. 2017-03-08 Dave Hyatt CSS Multicolumn should not clip columns horizontally https://bugs.webkit.org/show_bug.cgi?id=169363 Reviewed by Sam Weinig. * fast/multicol/newmulticol/adjacent-spanners-expected.html: * fast/multicol/newmulticol/adjacent-spanners.html: * fast/multicol/newmulticol/clipping-expected.html: * fast/multicol/newmulticol/clipping.html: * fast/multicol/newmulticol/spanner-inline-block-expected.html: * fast/multicol/newmulticol/spanner-inline-block.html: 2017-03-07 Zalan Bujtas Simple line layout: Do not use invalid m_lastNonWhitespaceFragment while removing trailing whitespace. https://bugs.webkit.org/show_bug.cgi?id=169288 rdar://problem/30576976 Reviewed by Antti Koivisto. * fast/text/simple-line-layout-line-is-all-whitespace-expected.txt: Added. * fast/text/simple-line-layout-line-is-all-whitespace.html: Added. 2017-03-07 Chris Dumez Align initEvent / initCustomEvent / initMessageEvent with the latest specification https://bugs.webkit.org/show_bug.cgi?id=169176 Reviewed by Alex Christensen. Updated existing tests to reflect behavior change. * fast/events/init-events-expected.txt: * fast/events/script-tests/init-events.js: * fast/eventsource/eventsource-attribute-listeners.html: 2017-03-06 Brent Fulgham Validate DOM after potentially destructive actions during parser insert operations https://bugs.webkit.org/show_bug.cgi?id=169222 Reviewed by Ryosuke Niwa. This change merges a Blink test case from: * fast/parser/scriptexec-during-parserInsertBefore-expected.txt: Added. * fast/parser/scriptexec-during-parserInsertBefore.html: Added. 2017-03-06 Alex Christensen Fix URLs relative to file URLs with paths beginning with Windows drive letters https://bugs.webkit.org/show_bug.cgi?id=169178 Reviewed by Tim Horton. * fast/url/relative-win-expected.txt: Some tests pass now. localhost should indeed be removed according to the latest spec. 2017-03-06 Manuel Rego Casasnovas [css-grid] Stretch should grow and shrink items to fit its grid area https://bugs.webkit.org/show_bug.cgi?id=163200 Reviewed by Darin Adler. The tests have been updated according to the new expected behavior. * fast/css-grid-layout/grid-container-percentage-columns.html: * fast/css-grid-layout/min-width-height-auto-and-margins.html: * fast/css-grid-layout/min-width-height-auto.html: 2017-03-05 Simon Fraser Avoid backing store for layers with empty text nodes in a few more cases https://bugs.webkit.org/show_bug.cgi?id=169185 Reviewed by Dan Bernstein. inline-block-no-backing.html enhanced to have a layer with non-collapsible whitespace (an  ). Rebaselined other tests. * compositing/backing/inline-block-no-backing-expected.txt: * compositing/backing/inline-block-no-backing.html: * compositing/iframes/page-cache-layer-tree-expected.txt: * css3/blending/blend-mode-clip-accelerated-blending-canvas-expected.txt: * platform/ios-simulator-wk2/compositing/backing/inline-block-no-backing-expected.txt: * platform/ios-simulator-wk2/compositing/iframes/page-cache-layer-tree-expected.txt: 2017-03-05 Chris Dumez Using
      in