2016-02-18 Andy Estes Revert to dispatching the popstate event synchronously https://bugs.webkit.org/show_bug.cgi?id=153297 rdar://problem/24092294 Reviewed by Brent Fulgham. Renamed and modified this test to expect synchronous dispatch. * fast/loader/stateobjects/popstate-is-synchronous-expected.txt: Renamed from LayoutTests/fast/loader/stateobjects/popstate-is-asynchronous-expected.txt. * fast/loader/stateobjects/popstate-is-synchronous.html: Renamed from LayoutTests/fast/loader/stateobjects/popstate-is-asynchronous.html. 2015-11-11 Jon Honeycutt popstate event should be dispatched asynchronously https://bugs.webkit.org/show_bug.cgi?id=36202 Based on an original patch by Mihai Parparita . Reviewed by Brent Fulgham. * fast/loader/remove-iframe-during-history-navigation-different-expected.txt: Added. * fast/loader/remove-iframe-during-history-navigation-different.html: Added. Imported from Blink. * fast/loader/remove-iframe-during-history-navigation-same-expected.txt: Added. * fast/loader/remove-iframe-during-history-navigation-same.html: Added. Ditto. * fast/loader/stateobjects/popstate-fires-on-history-traversal.html: Modified to account for popstate firing asynchronously. * fast/loader/stateobjects/popstate-is-asynchronous-expected.txt: Added. * fast/loader/stateobjects/popstate-is-asynchronous.html: Added. Based on Mihai's original test. Modified to pass in current WebKit. 2016-02-16 Carlos Garcia Campos [GTK] No hover-horizontal scrolling available https://bugs.webkit.org/show_bug.cgi?id=122859 Reviewed by Michael Catanzaro. * platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll-expected.html: Added. * platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll.html: Added. 2016-02-03 Carlos Garcia Campos Do not show context menu when right clicking on a scrollbar https://bugs.webkit.org/show_bug.cgi?id=153493 Reviewed by Michael Catanzaro. Add a test to check that context menu event is not sent when right clicking on a scrollbar. * fast/events/contextmenu-on-scrollbars-expected.txt: Added. * fast/events/contextmenu-on-scrollbars.html: Added. 2016-02-03 Carlos Garcia Campos [GTK] Layout Test http/tests/appcache/different-https-origin-resource-main.html is failing https://bugs.webkit.org/show_bug.cgi?id=145253 Reviewed by Michael Catanzaro. Update test expectation. * platform/gtk/TestExpectations: 2016-02-02 Fujii Hironori ASSERTION FAILED: roundedIntPoint(rendererMappedResult) == roundedIntPoint(result) https://bugs.webkit.org/show_bug.cgi?id=153576 Reviewed by Darin Adler. * fast/block/geometry-map-assertion-with-rounding-negative-half-expected.txt: Added. * fast/block/geometry-map-assertion-with-rounding-negative-half.html: Added. 2015-12-22 Pranjal Jumde Test to check for stack recursion when indexed propertyNames defined using Object.defineProperty are deleted. https://bugs.webkit.org/show_bug.cgi?id=149179 . Reviewed by Dean Jackson. * storage/domstorage/localstorage/delete-defineproperty-removal-expected.txt: Added. * storage/domstorage/localstorage/delete-defineproperty-removal.html: Added. 2016-01-29 Brent Fulgham [WebGL] Check vertex array bounds before permitting a glDrawArrays to execute https://bugs.webkit.org/show_bug.cgi?id=153643 Reviewed by Dean Jackson. * fast/canvas/webgl/webgl-drawarrays-crash-expected.txt: Added. * fast/canvas/webgl/webgl-drawarrays-crash.html: Added. 2016-01-29 ChangSeok Oh [GStreamer] built-in media player doesn't update https://bugs.webkit.org/show_bug.cgi?id=151816 Reviewed by Xabier Rodriguez-Calvar. * media/audio-controls-timeline-in-media-document-expected.txt: Added. * media/audio-controls-timeline-in-media-document.html: Added. 2016-01-26 Chris Dumez fast/history/page-cache-webdatabase-no-transaction-db.html flakily crashes https://bugs.webkit.org/show_bug.cgi?id=153525 Reviewed by Andreas Kling. Unskip fast/history/page-cache-webdatabase-no-transaction-db.html now that it no longer crashes. * TestExpectations: 2016-01-25 Eric Carlson Media "ended" event incorrectly fires when currentTime is set https://bugs.webkit.org/show_bug.cgi?id=150348 Reviewed by Jer Noble. * media/media-ended-fired-once-expected.txt: Added. * media/media-ended-fired-once.html: Added. 2016-01-26 Mario Sanchez Prada [GTK] WebProcess crashes when quickly attempting many DnD operations https://bugs.webkit.org/show_bug.cgi?id=138468 Reviewed by Michael Catanzaro. New test added to check that the web process does not crash when multiple DnD operations are quickly attempted over the same draggable element. * fast/events/drag-and-drop-link-fast-multiple-times-does-not-crash-expected.txt: Added. * fast/events/drag-and-drop-link-fast-multiple-times-does-not-crash.html: Added. Added the new test to the failure expectations for mac-wk2, as there's no suitable implementation of eventSender in place yet (see bug 42194). * platform/mac-wk2/TestExpectations: Added failure expectation for the new test. 2016-01-23 Wonchul Lee [GTK] Fix media controls displaying without controls attribute https://bugs.webkit.org/show_bug.cgi?id=152500 Media controls is not displayed without controls attribute by default when the video element has text track. It'll be displayed on fullscreen regardless of controls attribute. Reviewed by Michael Catanzaro. * media/video-controls-no-display-with-text-track-expected.txt: Added. * media/video-controls-no-display-with-text-track.html: Added. 2016-01-21 Dave Hyatt Elements with overflow and border-radius don't show in multicolumn properly. https://bugs.webkit.org/show_bug.cgi?id=152920 Reviewed by Simon Fraser. * fast/multicol/border-radius-overflow-columns-expected.html: Added. * fast/multicol/border-radius-overflow-columns.html: Added. 2016-01-21 Simon Fraser REGRESSION (r168244): Content in horizontal-bt page is offset such that only the end is viewable and there is a white gap at the top https://bugs.webkit.org/show_bug.cgi?id=136019 Reviewed by Dan Bernstein. Test that scrolls a horizontal-bt document. * fast/scrolling/programmatic-horizontal-bt-document-scroll-expected.html: Added. * fast/scrolling/programmatic-horizontal-bt-document-scroll.html: Added. 2016-01-21 Said Abou-Hallawa A crash reproducible in Path::isEmpty() under RenderSVGShape::paint() https://bugs.webkit.org/show_bug.cgi?id=149613 Reviewed by Darin Adler. When running the layout of an SVG root and it has resources which are referenced by clients in other SVG roots, make sure we run the layout for these resources before running the layout for their clients. * svg/custom/filter-update-different-root-expected.html: Added. * svg/custom/filter-update-different-root.html: Added. Without this patch this test crashes because we paint a dirty RenderSVGShape. >>>>>>> .r195836 * svg/custom/pattern-update-different-root-expected.html: Added. * svg/custom/pattern-update-different-root.html: Added. Without this patch this test works fine but it is good to have it to catch cases where the SVG root needs to run re-layout for its children resources and hence their clients if its size has changed. * svg/custom/unicode-in-tspan-multi-svg-crash-expected.txt: * svg/custom/unicode-in-tspan-multi-svg-crash.html: This test was ported from Blink in http://trac.webkit.org/changeset/166420. The expectation of this test was changed in Blink: https://src.chromium.org/viewvc/blink?revision=158480&view=revision. 2016-01-20 Zalan Bujtas http://victordarras.fr/cssgame/ doesn't work in Safari. https://bugs.webkit.org/show_bug.cgi?id=153285 Reviewed by Tim Horton. This patch adds support for hittesting ClipPathOperation::Reference. * svg/clip-path/hittest-clip-path-reference-miss-expected.html: Added. * svg/clip-path/hittest-clip-path-reference-miss.html: Added. 2016-01-15 Jiewen Tan FrameLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame() is never called when loading a main resource from the memory cache https://bugs.webkit.org/show_bug.cgi?id=152520 Reviewed by Andy Estes. * http/tests/loading/resources/server-redirect-result.html: Added. * http/tests/loading/resources/server-redirect.php: Added. * http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Added. * http/tests/loading/server-redirect-for-provisional-load-caching.html: Added. 2016-01-15 Zalan Bujtas ASSERTION FAILED: canHaveChildren() || canHaveGeneratedChildren() in WebCore::RenderElement::insertChildInternal https://bugs.webkit.org/show_bug.cgi?id=123331 Reviewed by Darin Adler. Do not set named flow fragment bit on the flow until after the renderer is attached. Setting/resetting it too early could affect the attach/detach process itself (This is similar to attaching a multi column flow thread). * fast/regions/input-box-with-region-assert-expected.txt: Added. * fast/regions/input-box-with-region-assert.html: Added. 2016-01-15 Youenn Fablet CORS: Fix the handling of redirected request containing Origin null. https://bugs.webkit.org/show_bug.cgi?id=128816 Reviewed by Brent Fulgham. Merging Blink patch from George Ancil (https://chromiumcodereview.appspot.com/20735002) Added two tests to check CORS with Origin null in HTTP redirect and iframe cases. Updated two test sandboxed iframes test expectations (requests are still denied but error messages are different). * http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-origin-null-expected.txt: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-origin-null.html: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt: * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard-expected.txt: * http/tests/xmlhttprequest/redirect-cors-origin-null-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cors-origin-null.html: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-allow-origin-null-iframe.html: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-allow-origin-null.cgi: Added. * http/tests/xmlhttprequest/resources/redirect-cors-origin-null-pass.php: Added. * http/tests/xmlhttprequest/resources/redirect-cors-origin-null.php: Added. 2016-01-14 Daniel Bates Disallow use of Geolocation service from unique origins https://bugs.webkit.org/show_bug.cgi?id=153102 Reviewed by Alexey Proskuryakov. * fast/dom/Geolocation/dataURL-getCurrentPosition-expected.txt: Added. * fast/dom/Geolocation/dataURL-getCurrentPosition.html: Added. * fast/dom/Geolocation/dataURL-watchPosition-expected.txt: Added. * fast/dom/Geolocation/dataURL-watchPosition.html: Added. * fast/dom/Geolocation/srcdoc-getCurrentPosition-expected.txt: Added. * fast/dom/Geolocation/srcdoc-getCurrentPosition.html: Added. * fast/dom/Geolocation/srcdoc-watchPosition-expected.txt: Added. * fast/dom/Geolocation/srcdoc-watchPosition.html: Added. * http/tests/security/resources/checkThatPositionErrorCallbackIsCalledWithPositionUnavailableForGeolocationMethod.js: Added. (done): (logMessage): (didReceivePosition): (didReceiveError): (checkThatPositionErrorCallbackIsCalledWithPositionUnavailableForGeolocationMethod): (markupToCheckThatPositionErrorCallbackIsCalledWithPositionUnavailableForGeolocationMethod): (dataURLToCheckThatPositionErrorCallbackIsCalledWithPositionUnavailableForGeolocationMethod): * http/tests/security/resources/sandboxed-iframe-geolocation-getCurrentPosition.html: Added. * http/tests/security/resources/sandboxed-iframe-geolocation-watchPosition.html: Added. * http/tests/security/sandboxed-iframe-geolocation-getCurrentPosition-expected.txt: Added. * http/tests/security/sandboxed-iframe-geolocation-getCurrentPosition.html: Added. * http/tests/security/sandboxed-iframe-geolocation-watchPosition-expected.txt: Added. * http/tests/security/sandboxed-iframe-geolocation-watchPosition.html: Added. 2016-01-14 Daniel Bates [XSS Auditor] Partial bypass when web server collapses path components https://bugs.webkit.org/show_bug.cgi?id=152872 Reviewed by Brent Fulgham. Merged from Blink (patch by Tom Sepez ): * http/tests/security/xssAuditor/embed-tag-in-path-unterminated-expected.txt: Added. * http/tests/security/xssAuditor/embed-tag-in-path-unterminated.html: Added. * http/tests/security/xssAuditor/intercept/.htaccess: 2016-01-14 Zalan Bujtas ASSERTION FAILED: !newRelayoutRoot.container() || !newRelayoutRoot.container()->needsLayout() in WebCore::FrameView::scheduleRelayoutOfSubtree https://bugs.webkit.org/show_bug.cgi?id=151605#c1 Reviewed by David Hyatt. Do not let RenderMultiColumnSet/RenderFlowThread mark ancestors dirty while updating scrollbars for overflow content. While updating scrollbars, we only layout descendants so marking parents dirty is unnecessary and could lead to an invalid dirty state. * fast/multicol/body-stuck-with-dirty-bit-with-columns-expected.txt: Added. * fast/multicol/body-stuck-with-dirty-bit-with-columns.html: Added. 2016-01-14 Martin Robinson [GTK] [EFL] Hyphenation can never work in practice due to requirements on lang tags https://bugs.webkit.org/show_bug.cgi?id=147310 Reviewed by Michael Catanzaro. Update some baselines and add a GTK+ specific test for locale variations. * platform/gtk/fast/text/hyphenate-flexible-locales-expected.html: Added. * platform/gtk/fast/text/hyphenate-flexible-locales.html: Added. * platform/gtk/fast/text/hyphenate-locale-expected.png: We now properly hyphenate text with the 'en' locale. * platform/gtk/fast/text/hyphenate-locale-expected.txt: 2016-01-14 Youenn Fablet Fix problems with cross-origin redirects https://bugs.webkit.org/show_bug.cgi?id=116075 Reviewed by Daniel Bates. Merging https://chromium.googlesource.com/chromium/blink/+/7ea774e478f84f355748108d2aaabca15355d512 by Ken Russell This merge adds tests for cross origin requests triggered from same origin redirection responses with and without credentials). Rebaseline of some tests due to console error messages generated from newly hit CORS checks. * TestExpectations: Disabled WPT tests that require access to non localhost URLs which are currently blocked by DTR/WTR. * http/tests/xmlhttprequest/access-control-and-redirects-async-expected.txt: * http/tests/xmlhttprequest/access-control-and-redirects-async-same-origin-expected.txt: Added. * http/tests/xmlhttprequest/access-control-and-redirects-async-same-origin.html: Added. * http/tests/xmlhttprequest/access-control-and-redirects-async.html: * http/tests/xmlhttprequest/access-control-and-redirects-expected.txt: * http/tests/xmlhttprequest/access-control-and-redirects.html: * http/tests/xmlhttprequest/redirect-cross-origin-2-expected.txt: * http/tests/xmlhttprequest/redirect-cross-origin-expected.txt: * http/tests/xmlhttprequest/redirect-cross-origin-post-expected.txt: * http/tests/xmlhttprequest/redirect-cross-origin-tripmine-expected.txt: * http/tests/xmlhttprequest/resources/access-control-basic-allow-no-credentials.cgi: Added. * http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect-expected.txt: 2016-01-13 Daniel Bates [XSS Auditor] Do not include trailing comment characters in JavaScript snippets https://bugs.webkit.org/show_bug.cgi?id=152873 Reviewed by Brent Fulgham. Merged from Blink (patch by Tom Sepez ): * http/tests/security/xssAuditor/script-tag-with-injected-comment-expected.txt: Added. * http/tests/security/xssAuditor/script-tag-with-injected-comment.html: Added. 2016-01-13 Daniel Bates [XSS Auditor] Add test when XSS payload is in the path portion of the URL https://bugs.webkit.org/show_bug.cgi?id=152871 Reviewed by Brent Fulgham. Merged from Blink (patch by Tom Sepez ): Add infrastructure and a test for an XSS attack where the payload is embedded in the path portion of the URL. Many XSS Auditor tests pass the XSS payload to CGI scripts via the query string portion of the URL. Now we also support calling these same scripts with the payload embedded in the path portion of the URL. Loading returns a response whose content is identical to , where X is the filename of some CGI script in directory LayoutTests/http/tests/security/xssAuditor/resources and Y is the XSS payload. * http/tests/security/xssAuditor/intercept/.htaccess: Added. * http/tests/security/xssAuditor/reflection-in-path-expected.txt: Added. * http/tests/security/xssAuditor/reflection-in-path.html: Added. * http/tests/security/xssAuditor/resources/echo-form-action.pl: Added. 2016-01-12 Daniel Bates XSS Auditor should navigate to empty substitute data on full page block https://bugs.webkit.org/show_bug.cgi?id=152868 Reviewed by David Kilzer and Andy Estes. Derived from Blink patch (by Tom Sepez ): Added additional test block-does-not-leak-that-page-was-blocked-using-empty-data-url.html to explicitly tests that we do redirect to an empty data URL when a full page block is triggered. * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-allow-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-allow-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-filter-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-invalid-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-unset-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-filter-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-block-expected.txt: * http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-unset-block-expected.txt: * http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt: * http/tests/security/xssAuditor/block-does-not-leak-referrer-expected.txt: * http/tests/security/xssAuditor/block-does-not-leak-that-page-was-blocked-using-empty-data-url-expected.txt: Added. * http/tests/security/xssAuditor/block-does-not-leak-that-page-was-blocked-using-empty-data-url.html: Added. * http/tests/security/xssAuditor/full-block-base-href-expected.txt: * http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt: * http/tests/security/xssAuditor/full-block-javascript-link-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-cross-domain-expected.txt: * http/tests/security/xssAuditor/full-block-script-tag-expected.txt: * http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt: * http/tests/security/xssAuditor/full-block-script-tag.html: * http/tests/security/xssAuditor/xss-protection-parsing-03-expected.txt: * http/tests/security/xssAuditor/xss-protection-parsing-04-expected.txt: 2016-01-12 Antti Koivisto Don't reuse memory cache entries with different charset https://bugs.webkit.org/show_bug.cgi?id=110031 Reviewed by Andreas Kling. * fast/loader/cache-encoding-expected.txt: Added. * fast/loader/cache-encoding.html: Added. * fast/loader/resources/success.js: Added. 2016-01-11 Carlos Garcia Campos Inconsistencies in main resource load delegates when loading from history https://bugs.webkit.org/show_bug.cgi?id=150927 Reviewed by Michael Catanzaro. Add test to check that main resource load delegates are emitted in the same order before the load is committed when loading a page from history with the page cache enabled and disabled. * http/tests/loading/main-resource-delegates-on-back-navigation-expected.txt: Added. * http/tests/loading/main-resource-delegates-on-back-navigation.html: Added. * http/tests/loading/resources/page-go-back-onload.html: Added. * loader/go-back-cached-main-resource-expected.txt: 2016-01-11 Zalan Bujtas Padding added to table-cell element after font-size change. https://bugs.webkit.org/show_bug.cgi?id=152796 Reviewed by David Hyatt. Do not include intrinsicPaddingBefore value while figuring out the height of a row. In RenderTableSection::calcRowLogicalHeight() we are interested in the height of the content without the additional padding (normal padding is included). * TestExpectations: This test fails even without the patch when Ahem font is not used. * fast/table/table-baseline-grows-expected.html: Added. * fast/table/table-baseline-grows.html: Added. 2016-01-09 Zalan Bujtas REGRESSION (r194426): First email field is not autofilled on amazon.com https://bugs.webkit.org/show_bug.cgi?id=152945 Reviewed by Simon Fraser. r194426 missed marking the m_layoutRoot for layout while converting to full layout (it only marked the new layout root). * fast/forms/multiple-subtree-layout-failure-expected.html: Added. * fast/forms/multiple-subtree-layout-failure.html: Added. 2016-01-07 Zalan Bujtas Incorrect position: fixed; rendering when child of position:relative/sticky. https://bugs.webkit.org/show_bug.cgi?id=147284 Reviewed by Simon Fraser and David Hyatt. Computing logical left for positioned objects should take the relative positioned ancestors' offset into account. * fast/block/positioning/fixed-container-with-relative-parent-expected.html: Added. * fast/block/positioning/fixed-container-with-relative-parent.html: Added. * fast/block/positioning/fixed-container-with-sticky-parent-expected.html: Added. * fast/block/positioning/fixed-container-with-sticky-parent.html: Added. 2016-01-07 Chris Dumez Directly-composited animated GIFs never resume once scrolled offscreen https://bugs.webkit.org/show_bug.cgi?id=152817 Reviewed by Daniel Bates. Add a layout test to check that directly-composited animated GIFs are properly suspended / resumed based on visibility inside the viewport. * fast/images/composited-animated-gif-outside-viewport-expected.txt: Added. * fast/images/composited-animated-gif-outside-viewport.html: Added. 2016-01-06 Brent Fulgham Port blocking bypass issue using 307 redirect https://bugs.webkit.org/show_bug.cgi?id=152801 Reviewed by Anders Carlsson. * http/tests/security/blocked-on-redirect-expected.txt: Added. * http/tests/security/blocked-on-redirect.html: Added. 2016-01-06 Zalan Bujtas Float with media query positioned incorrectly after window resize. https://bugs.webkit.org/show_bug.cgi?id=152558 Reviewed by Simon Fraser and David Hyatt. This patch ensures that when a renderer becomes floated, it is moved to the right containing block. When this floated renderer's previous sibling is an anonymous block, it needs to be reparented so that the float is positioned as if there was no anonymous block at all. * fast/block/float/float-with-anonymous-previous-sibling-expected.html: Added. * fast/block/float/float-with-anonymous-previous-sibling.html: Added. 2016-01-06 Zalan Bujtas isAnonymousInlineBlock() should exclude any ruby content. https://bugs.webkit.org/show_bug.cgi?id=152648 Reviewed by David Hyatt. isAnonymousInlineBlock is designed for the new Block-Inside-Inline Model and all other anonymous inline-block renderers (including Ruby) should bail out of it. (see webkit.org/b/143145) * fast/ruby/ruby-inline-margin-collapse-crash-expected.txt: Added. * fast/ruby/ruby-inline-margin-collapse-crash.html: Added. 2016-01-05 Pranjal Jumde Image should not be re-registered if m_form already exists. This leads to an assertion failure. https://bugs.webkit.org/show_bug.cgi?id=152741 Reviewed by Brent Fulgham. * LayoutTests/fast/html/form-registerimg-multiple-crash-expected.txt: Added. * LayoutTests/fast/html/form-registerimg-multiple-crash.html: Added. 2015-12-31 Zalan Bujtas Simple line layout: Text with stroke width is not positioned correctly. https://bugs.webkit.org/show_bug.cgi?id=152614 Reviewed by Simon Fraser. Visual overflow should not affect text position. * fast/text/simple-line-layout-text-position-with-stroke-expected.html: Added. * fast/text/simple-line-layout-text-position-with-stroke.html: Added. 2015-11-17 Zalan Bujtas Simple line layout: Add letter-spacing support. https://bugs.webkit.org/show_bug.cgi?id=151362 Reviewed by Antti Koivisto. This enables us to use simple line layout on letter-spacing content. (fixme: webkit.org/b/151368 -> Repaint rect is not computed correctly when negative letter-spacing applied) * fast/text/simple-line-letterspacing-expected.html: Added. * fast/text/simple-line-letterspacing.html: Added. 2015-12-31 Zalan Bujtas Simple line layout: Nested block with pseudo first-line parent should bail out of simple line layout. https://bugs.webkit.org/show_bug.cgi?id=152599 Reviewed by Simon Fraser. We should bail out of simple line layout if any of the ancestors have pseudo first-line style. (see RenderBlock::firstLineBlock()) * fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout-expected.html: Added. * fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html: Added. 2015-12-27 Zalan Bujtas Should never be reached failure in WebCore::RenderElement::clearLayoutRootIfNeeded https://bugs.webkit.org/show_bug.cgi?id=151590 Reviewed by Simon Fraser. We should always set the layoutroot when a new subtree layout is requested (and convert it to a full layout when needed). It ensures that renderers are detached cleanly even when they are set as layoutroot. * fast/block/assert-when-layout-root-is-not-cleared-expected.txt: Added. * fast/block/assert-when-layout-root-is-not-cleared.html: Added. 2015-12-24 Zalan Bujtas ASSERTION FAILED: x2 >= x1 in WebCore::RenderElement::drawLineForBoxSide https://bugs.webkit.org/show_bug.cgi?id=151210 Reviewed by Simon Fraser. "IntRect outer = snappedIntRect(inner)" explicitly converts inner to LayoutRect and returns a snapped IntRect. When inner (after the inflate) overflows LayoutUnit, the snapped outer rect becomes smaller than the inner rect. This patch also enables outline painting on subpixel positions. * fast/borders/hidpi-outline-on-subpixel-position-expected.html: Added. * fast/borders/hidpi-outline-on-subpixel-position.html: Added. * fast/borders/outline-offset-overflow-expected.txt: Added. * fast/borders/outline-offset-overflow.html: Added. 2015-12-23 Simon Fraser REGRESSION (r187593): Scroll position jumps when selecting text in an iframe https://bugs.webkit.org/show_bug.cgi?id=152541 rdar://problem/23886181 Reviewed by Tim Horton. New test for autoscrolling iframe contents (an existing test scrolled an overflow:scroll inside an iframe, and didn't catch the bug). * fast/events/autoscroll-in-iframe-body-expected.txt: Added. * fast/events/autoscroll-in-iframe-body.html: Added. * fast/forms/input-readonly-autoscroll.html: Fix a missing double quote. 2015-12-22 Simon Fraser Minor cleanup in RenderBox::canBeProgramaticallyScrolled() https://bugs.webkit.org/show_bug.cgi?id=152515 Reviewed by Tim Horton. Test that programmatic scrolling works inside overflow:hidden. * fast/overflow/overflow-hidden-scroll-into-view-expected.html: Added. * fast/overflow/overflow-hidden-scroll-into-view.html: Added. 2015-12-23 Pranjal Jumde Test to check for stack recursion when indexed propertyNames defined using Object.defineProperty are deleted. https://bugs.webkit.org/show_bug.cgi?id=149179 . Reviewed by Filip Pizlo. * storage/domstorage/localstorage/delete-defineproperty-removal-expected.txt: Added. * storage/domstorage/localstorage/delete-defineproperty-removal.html: Added. 2016-01-04 Sergio Villar Senin REGRESSION(r194143): Float width incorrectly calculated on Wikipedia https://bugs.webkit.org/show_bug.cgi?id=152644 Reviewed by Myles C. Maxfield. * fast/css-intrinsic-dimensions/inlinesize-contribution-floats-expected.html: Added. * fast/css-intrinsic-dimensions/inlinesize-contribution-floats.html: Added. 2015-12-08 Sergio Villar Senin Fix computation of min|max-content contribution of non-replaced blocks https://bugs.webkit.org/show_bug.cgi?id=152004 Reviewed by Darin Adler. * fast/css-intrinsic-dimensions/auto-maxcontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/auto-maxcontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/auto-mincontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/auto-mincontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/fillavailable-maxcontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/fillavailable-maxcontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/fillavailable-mincontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/fillavailable-mincontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/fitcontent-maxcontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/fitcontent-maxcontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/fitcontent-mincontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/fitcontent-mincontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/fixed-inlinesize-contribution-nonreplaced-blocks-1-expected.html: Added. * fast/css-intrinsic-dimensions/fixed-inlinesize-contribution-nonreplaced-blocks-1.html: Added. * fast/css-intrinsic-dimensions/fixed-inlinesize-contribution-nonreplaced-blocks-2-expected.html: Added. * fast/css-intrinsic-dimensions/fixed-inlinesize-contribution-nonreplaced-blocks-2.html: Added. * fast/css-intrinsic-dimensions/indefinite-percent-maxcontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/indefinite-percent-maxcontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/indefinite-percent-mincontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/indefinite-percent-mincontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/maxcontent-maxcontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/maxcontent-maxcontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/maxcontent-mincontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/maxcontent-mincontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/mincontent-maxcontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/mincontent-maxcontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/mincontent-mincontent-inlinesize-contribution-nonreplaced-blocks-expected.html: Added. * fast/css-intrinsic-dimensions/mincontent-mincontent-inlinesize-contribution-nonreplaced-blocks.html: Added. * fast/css-intrinsic-dimensions/resources/intrinsic-size-contribution.css: Added. (.container): (.item): (.border): (.padding): (.margin): 2015-12-13 Zalan Bujtas Clean up absolute positioned map properly. https://bugs.webkit.org/show_bug.cgi?id=152219 rdar://problem/23861165 Reviewed by Simon Fraser. We insert positioned renderers into a static map (RenderBlock::gPositionedDescendantsMap) to keep track of them. Since this static map is at block level, (positioned)inline renderers use their containing block to store their positioned descendants. This patch ensures that when an inline element can no longer hold positioned children, we remove them from the inline's containing block's map. -unless the container itself can hold positioned renderers(see RenderElement::canContainAbsolutelyPositionedObjects). * fast/block/positioning/crash-when-positioned-inline-has-positioned-child-expected.txt: Added. * fast/block/positioning/crash-when-positioned-inline-has-positioned-child.html: Added. 2015-12-11 Zalan Bujtas ASSERTION FAILED: !rect.isEmpty() in WebCore::GraphicsContext::drawRect https://bugs.webkit.org/show_bug.cgi?id=151201 Reviewed by Simon Fraser. Drawing empty rect is a waste. * fast/borders/empty-drawrect-assert-after-pixelsnap-expected.txt: Added. * fast/borders/empty-drawrect-assert-after-pixelsnap.html: Added. 2015-12-11 Jiewen Tan Strip out Referer header when requesting subresources or following links for documents with "Content-Disposition: attachment" https://bugs.webkit.org/show_bug.cgi?id=152102 Reviewed by Andy Estes. * http/tests/contentdispositionattachmentsandbox/resources/echo-http-referer.php: Added. * http/tests/contentdispositionattachmentsandbox/resources/subresource-request-not-include-referer-header-frame.php: Added. * http/tests/contentdispositionattachmentsandbox/subresource-request-not-include-referer-header-expected.txt: Added. * http/tests/contentdispositionattachmentsandbox/subresource-request-not-include-referer-header.html: Added. 2015-12-10 Daniel Bates [CSP] eval() is not blocked for stringified literals https://bugs.webkit.org/show_bug.cgi?id=152158 Reviewed by Saam Barati. Update test LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked.html to be more comprehensive. Add tests to ensure that we block eval() from within an external JavaScript script when the policy of the page disallows eval() and that we block eval() inside a subframe that disallows eval() when the page in the main frame allows eval(). * http/tests/security/contentSecurityPolicy/eval-blocked-expected.txt: * http/tests/security/contentSecurityPolicy/eval-blocked-in-external-script-expected.txt: Added. * http/tests/security/contentSecurityPolicy/eval-blocked-in-external-script.html: Added. * http/tests/security/contentSecurityPolicy/eval-blocked-in-subframe-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-expected.txt. * http/tests/security/contentSecurityPolicy/eval-blocked-in-subframe.html: Added. * http/tests/security/contentSecurityPolicy/eval-blocked.html: * http/tests/security/contentSecurityPolicy/resources/eval-blocked-in-external-script.js: Added. 2016-01-08 Zalan Bujtas Absolute positioning -webkit-search-cancel-button crashes Safari. https://bugs.webkit.org/show_bug.cgi?id=152847 Reviewed by Simon Fraser. Do not call offsetFromContainer while resolving the painting position for the search/cancel button renderer. It skips the static positioned parent input renderer, when the search/cancel renderer is absolute positioned. This patch also fixes a rendering glitch when the margin-right is > 0. * fast/forms/absolute-positioned-custom-search-cancel-crash-expected.txt: Added. * fast/forms/absolute-positioned-custom-search-cancel-crash.html: Added. 2015-12-09 Joanmarie Diggs AX: [GTK] Anonymous render block flow elements should be exposed as ATK_ROLE_SECTION; not ATK_ROLE_PANEL https://bugs.webkit.org/show_bug.cgi?id=152070 Reviewed by Mario Sanchez Prada. * platform/gtk/accessibility/deleting-iframe-destroys-axcache-expected.txt: Added. * platform/gtk/accessibility/gtk/media-controls-panel-title-expected.txt: Added. * platform/gtk/accessibility/gtk/replaced-objects-in-anonymous-blocks-expected.txt: Added. * platform/gtk/accessibility/image-link-expected.txt: Updated * platform/gtk/accessibility/image-with-alt-and-map-expected.txt: Updated. * platform/gtk/accessibility/lists-expected.txt: Updated. * platform/gtk/accessibility/media-emits-object-replacement-expected.txt: Updated. 2015-12-09 Frederic Wang Bad position of large operators inside an munderover element https://bugs.webkit.org/show_bug.cgi?id=151916 Reviewed by Alejandro G. Castro. * mathml/opentype/large-operators-munderover-expected.txt: Added. * mathml/opentype/large-operators-munderover.html: Added. Add a test to verify the position and size of a large operator used as an munderover base. 2015-12-08 Zalan Bujtas Do not insert positioned renderers to multiple gPositionedDescendantsMap. https://bugs.webkit.org/show_bug.cgi?id=151878 rdar://problem/22229889 Reviewed by Simon Fraser. We insert positioned renderers into a static map (RenderBlock::gPositionedDescendantsMap) to keep track of them. This static map is at block level. A particular absolute positioned object is added to its closest ancestor that returns true for RenderElement::canContainAbsolutelyPositionedObjects(). canContainAbsolutelyPositionedObjects() returns true if the ancestor is either positioned or has transform. If this container's style changes so that it's no longer positioned and it has no transform anymore, we need to clear its static map of positioned objects (they'll get re-inserted to another ancestor at next layout). This patch addresses the case when the renderer does not have transforms anymore. * fast/block/positioning/crash-when-transform-is-removed-expected.txt: Added. * fast/block/positioning/crash-when-transform-is-removed.html: Added. 2015-12-08 Frederic Wang [cairo] Solid stroke of lines with thickness less than 1 pixel broken after r191658 https://bugs.webkit.org/show_bug.cgi?id=151947 Reviewed by Martin Robinson. Add a test to check that the radical overbar appears on the screen when it has thickness less than 1px. * mathml/presentation/radical-bar-visibility-expected-mismatch.html: Added. * mathml/presentation/radical-bar-visibility.html: Added. 2015-12-06 Simon Fraser Clipping along compositing borders in svg-edit https://bugs.webkit.org/show_bug.cgi?id=151791 Reviewed by Zalan Bujtas. Ref test that triggers recomputation of overflow. * svg/overflow/visual-overflow-change-expected.html: Added. * svg/overflow/visual-overflow-change.html: Added. 2015-12-06 Simon Fraser REGRESSION (r187121): Can't get to the main content of the page at https://theintercept.com/drone-papers/ https://bugs.webkit.org/show_bug.cgi?id=151849 rdar://problem/23132828 Reviewed by Zalan Bujtas. New ref test. The behavior of imported/blink/transitions/transition-not-interpolable.html changed with this patch, but that test is trying to determine if transitions run to/from 'auto' values, and doing it wrong. The current patch doesn't change the user-visible behavior of transitions with 'auto' endpoints (covered by http://webkit.org/b/38243). * animations/fill-forwards-auto-height-expected.html: Added. * animations/fill-forwards-auto-height.html: Added. * imported/blink/transitions/transition-not-interpolable-expected.txt: 2015-12-02 Alex Christensen Asynchronously call onerror when a content blocker blocks ascript element's load https://bugs.webkit.org/show_bug.cgi?id=151649 Reviewed by Brady Eidson. * http/tests/contentextensions/script-onerror-expected.txt: Added. * http/tests/contentextensions/script-onerror.html: Added. * http/tests/contentextensions/script-onerror.html.json: Added. * http/tests/misc/unloadable-script-expected.txt: * http/tests/misc/unloadable-script.html: * http/tests/security/local-JavaScript-from-remote-expected.txt: * http/tests/security/local-JavaScript-from-remote.html: Added testRunner.waitUntilDone and testRunner.notifyDone to reflect the fact that onerror is no longer called synchronously. 2015-12-02 Yoav Weiss Fix preloader issue with srcdoc documents. https://bugs.webkit.org/show_bug.cgi?id=151744 Reviewed by Ryosuke Niwa. Added a test that makes sure that srcdoc based subresources are properly preloaded. * fast/preloader/iframe-srcdoc-expected.txt: Added. * fast/preloader/iframe-srcdoc.html: Added. 2015-12-02 Jiewen Tan Null dereference loading Blink layout test fast/loader/unload-mutation-crash.html https://bugs.webkit.org/show_bug.cgi?id=149305 Reviewed by Brent Fulgham. This test case is from Blink r180918: https://codereview.chromium.org/495743003 * fast/loader/unload-mutation-crash-expected.txt: Added. * fast/loader/unload-mutation-crash.html: Added. 2015-11-30 Jiewen Tan Amazon.com Additional Information links aren't clickable https://bugs.webkit.org/show_bug.cgi?id=151401 Reviewed by Darin Adler. * fast/block/float/hit-test-on-overlapping-floats-expected.txt: Added. * fast/block/float/hit-test-on-overlapping-floats.html: Added. 2015-11-30 Jiewen Tan Null dereference loading Blink layout test http/tests/misc/detach-during-notifyDone.html https://bugs.webkit.org/show_bug.cgi?id=149309 Reviewed by Brent Fulgham. The test case is from Blink r175601: https://codereview.chromium.org/317513002 The test case will generate a set of weird ordering events that affects the documentLoader: 1. The subframe finishes loading, and since the frame’s testRunner is not set to wait until done, WebKitTestRunner stops the load (by calling WKBundlePageStopLoading()). 2. This causes the in-progress XHR to be aborted, which causes its readyState to become DONE (this bug doesn’t always reproduce because sometimes the XHR has already finished before the frame finishes loading). 3. The onreadystatechange callback is executed, which sets innerHTML on the parent frame. 4. Setting innerHTML disconnects the subframe, nulling out its DocumentLoader. 5. We return to WebFrameLoaderClient::dispatchDidFinishLoad() from step #1, but now the FrameLoader’s DocumentLoader is null. And WebKit crashes here. Note that steps 2-4 happen synchronously inside WebFrameLoaderClient::dispatchDidFinishLoad(). * http/tests/misc/detach-during-notifyDone-expected.txt: Added. * http/tests/misc/detach-during-notifyDone.html: Added. * http/tests/misc/resources/detached-frame.html: Added. 2015-11-30 Chris Dumez location.origin is undefined in a web worker https://bugs.webkit.org/show_bug.cgi?id=151614 Reviewed by Darin Adler. Update existing layout test to confirm the existence of location.origin when in a WorkerGlobalScope. * fast/workers/resources/worker-location.js: * fast/workers/worker-location-expected.txt: 2015-11-29 Antoine Quint Browser does not fall back to SVG attribute value when CSS style value is invalid or not supported https://bugs.webkit.org/show_bug.cgi?id=147932 Reviewed by Dean Jackson. Testing that we correctly fall back to the presentation attribute for SVGPaint and SVGColor values specified with an invalid keyword in a `style` attribute. We also update the expected output for svg/css/svg-attribute-parser-mode.html which is now in line with values returned by Firefox and Chrome, where we correctly use the default value instead of null objects, which was definitely an error. * svg/css/invalid-color-cascade-expected.svg: Added. * svg/css/invalid-color-cascade.svg: Added. * svg/css/invalid-paint-cascade-expected.svg: Added. * svg/css/invalid-paint-cascade.svg: Added. * svg/css/script-tests/svg-attribute-parser-mode.js: * svg/css/svg-attribute-parser-mode-expected.txt: 2015-11-25 Pranjal Jumde Checks for buffer-overflows when reading characters from textRun https://bugs.webkit.org/show_bug.cgi?id=151055 Reviewed by Myles C. Maxfield. * dom/html/level1/core/151055_asan.html: * dom/html/level1/core/151055_asan-expected.txt: 2015-11-19 Brian Burg REGRESSION(r8780): Backwards delete by word incorrectly appends deleted text to kill ring, should be prepend https://bugs.webkit.org/show_bug.cgi?id=151300 Reviewed by Darin Adler. * editing/pasteboard/emacs-killring-alternating-append-prepend-expected.txt: Added. * editing/pasteboard/emacs-killring-alternating-append-prepend.html: Added. * editing/pasteboard/emacs-killring-backward-delete-prepend-expected.txt: Added. * editing/pasteboard/emacs-killring-backward-delete-prepend.html: Added. 2015-11-18 Jiewen Tan [WK1] Crash loading Blink layout test fast/dom/Window/property-access-on-cached-window-after-frame-removed.html https://bugs.webkit.org/show_bug.cgi?id=150198 Reviewed by Brent Fulgham. * fast/dom/Window/666869-expected.txt: Added. * fast/dom/Window/666869.html: Added. Test case is from Mozilla. * fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt: Added. * fast/dom/Window/property-access-on-cached-window-after-frame-removed.html: Added. * fast/dom/Window/resources/window-property-collector.js: Added. (collectProperties): (emitExpectedResult): (collectPropertiesHelper): Test case is from Blink r168256: https://codereview.chromium.org/131113003 * platform/mac-wk2/TestExpectations: 2015-11-17 Carlos Garcia Campos Null dereference loading Blink layout test editing/execCommand/indent-button-crash.html https://bugs.webkit.org/show_bug.cgi?id=151187 Reviewed by Darin Adler. Unskip the test. * platform/gtk/TestExpectations: * platform/win/TestExpectations: 2015-11-17 Sergio Villar Senin ASSERTION FAILED: contentSize >= 0 in WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax https://bugs.webkit.org/show_bug.cgi?id=151025 Reviewed by Darin Adler. * css3/flexbox/negative-margins-assert-expected.txt: Added. * css3/flexbox/negative-margins-assert.html: Added. 2015-11-16 Pranjal Jumde Checks for buffer-overflows when reading characters from textRun https://bugs.webkit.org/attachment.cgi?bugid=151055 Reviewed by Brent Fulgham. * webgl/1.0.3/151055_asan-expected.txt * webgl/1.0.3/151055_asan.html 2015-11-16 Jiewen Tan Null-pointer dereference in WebCore::firstEditablePositionAfterPositionInRoot https://bugs.webkit.org/show_bug.cgi?id=151288 Reviewed by Darin Adler. * editing/execCommand/justify-right-then-indent-with-problematic-body-expected.txt: Added. * editing/execCommand/justify-right-then-indent-with-problematic-body.html: Added. * editing/execCommand/justify-right-with-problematic-body-expected.txt: Added. * editing/execCommand/justify-right-with-problematic-body.html: Added. 2015-11-13 Zalan Bujtas Always render at least a device pixel line when border/outline width > 0. https://bugs.webkit.org/show_bug.cgi?id=151269 This matches Firefox behaviour. Reviewed by Simon Fraser. * fast/borders/hidpi-border-width-flooring-expected.html: * fast/borders/hidpi-border-width-flooring.html: 2015-11-13 Jiewen Tan Element::focus() should acquire the ownership of Frame. https://bugs.webkit.org/show_bug.cgi?id=150204 Reviewed by Brent Fulgham. * editing/selection/focus-iframe-removal-crash-expected.txt: Added. * editing/selection/focus-iframe-removal-crash.html: Added. 2015-11-12 Zalan Bujtas Ignore visited background color when deciding if the input renderer needs to be painted natively. https://bugs.webkit.org/show_bug.cgi?id=151211 rdar://problem/21449823 Reviewed by Antti Koivisto. * fast/css/pseudo-visited-background-color-on-input-expected.html: Added. * fast/css/pseudo-visited-background-color-on-input.html: Added. 2015-11-11 Jon Honeycutt popstate event should be dispatched asynchronously https://bugs.webkit.org/show_bug.cgi?id=36202 Based on an original patch by Mihai Parparita . Reviewed by Brent Fulgham. * fast/loader/remove-iframe-during-history-navigation-different-expected.txt: Added. * fast/loader/remove-iframe-during-history-navigation-different.html: Added. Imported from Blink. * fast/loader/remove-iframe-during-history-navigation-same-expected.txt: Added. * fast/loader/remove-iframe-during-history-navigation-same.html: Added. Ditto. * fast/loader/stateobjects/popstate-fires-on-history-traversal.html: Modified to account for popstate firing asynchronously. * fast/loader/stateobjects/popstate-is-asynchronous-expected.txt: Added. * fast/loader/stateobjects/popstate-is-asynchronous.html: Added. Based on Mihai's original test. Modified to pass in current WebKit. 2015-11-10 Jon Honeycutt Crash loading Blink layout test fast/parser/strip-script-attrs-on-input.html https://bugs.webkit.org/show_bug.cgi?id=150201 Reviewed by Brent Fulgham. * fast/parser/strip-script-attrs-on-input-expected.txt: Added. * fast/parser/strip-script-attrs-on-input.html: Added. 2015-11-10 Brent Fulgham Crash running webaudio/panner-loop.html https://bugs.webkit.org/show_bug.cgi?id=150200 Reviewed by Jer Noble. This is based on the changes in Blink r164822: https://codereview.chromium.org/130003002 * webaudio/panner-loop-expected.txt: Added. * webaudio/panner-loop.html: Added. 2015-11-10 Zalan Bujtas Continuations with anonymous wrappers inside misplaces child renderers. https://bugs.webkit.org/show_bug.cgi?id=150908 When a child is appended to an inline container and the beforeChild is not a direct child, but it is inside a generated subtree, we need to special case the inline split to form continuation. RenderInline::splitInlines() assumes that beforeChild is always a direct child of the current inline container. However when beforeChild type requires wrapper content (such as table cells), the DOM and the render tree get out of sync. In such cases, we need to ensure that both the beforeChild and its siblings end up in the correct generated block. Reviewed by Darin Adler and David Hyatt. * fast/inline/continuation-with-anon-wrappers-expected.txt: Added. * fast/inline/continuation-with-anon-wrappers.html: Added. 2015-10-13 Zalan Bujtas Anonymous table objects: inline parent box requires inline-table child. https://bugs.webkit.org/show_bug.cgi?id=150090 Reviewed by David Hyatt. According to the CSS2.1 specification, if a child needs anonymous table wrapper and the child's parent is an inline box, the generated table needs to be inline-table. (inline-block and block parents generate non-inline table) Import W3C CSS2.1 anonymous table tests. * css2.1/tables/table-anonymous-objects-177.xht: Added. * css2.1/tables/table-anonymous-objects-178.xht: Added. * css2.1/tables/table-anonymous-objects-179.xht: Added. * css2.1/tables/table-anonymous-objects-180.xht: Added. * css2.1/tables/table-anonymous-objects-181.xht: Added. * css2.1/tables/table-anonymous-objects-189.xht: Added. * css2.1/tables/table-anonymous-objects-190.xht: Added. * css2.1/tables/table-anonymous-objects-191.xht: Added. * css2.1/tables/table-anonymous-objects-192.xht: Added. * css2.1/tables/table-anonymous-objects-193.xht: Added. * css2.1/tables/table-anonymous-objects-194.xht: Added. * css2.1/tables/table-anonymous-objects-195.xht: Added. * css2.1/tables/table-anonymous-objects-196.xht: Added. * css2.1/tables/table-anonymous-objects-205.xht: Added. * css2.1/tables/table-anonymous-objects-206.xht: Added. * css2.1/tables/table-anonymous-objects-207.xht: Added. * css2.1/tables/table-anonymous-objects-208.xht: Added. * platform/mac/css2.1/tables/table-anonymous-objects-177-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-178-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-179-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-180-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-181-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-189-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-190-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-191-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-192-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-193-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-194-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-195-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-196-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-205-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-206-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-207-expected.txt: Added. * platform/mac/css2.1/tables/table-anonymous-objects-208-expected.txt: Added. 2015-11-10 Geoffrey Garen alert, confirm, prompt, showModalDialog should be forbidden during page close and navigation https://bugs.webkit.org/show_bug.cgi?id=150980 Reviewed by Chris Dumez. Added tests to cover the matrix of [ alert, confirm, prompt, showModalDialog ] x [ beforeunload, unload, pagehide ]. * fast/events/beforeunload-alert-expected.txt: Added. * fast/events/beforeunload-alert.html: Added. * fast/events/beforeunload-confirm-expected.txt: Added. * fast/events/beforeunload-confirm.html: Added. * fast/events/beforeunload-prompt-expected.txt: Added. * fast/events/beforeunload-prompt.html: Added. * fast/events/beforeunload-showModalDialog-expected.txt: Added. * fast/events/beforeunload-showModalDialog.html: Added. * fast/events/onunload-expected.txt: * fast/events/onunload-not-on-body-expected.txt: * fast/events/onunload-window-property-expected.txt: * fast/events/pagehide-alert-expected.txt: Added. * fast/events/pagehide-alert.html: Added. * fast/events/pagehide-confirm-expected.txt: Added. * fast/events/pagehide-confirm.html: Added. * fast/events/pagehide-prompt-expected.txt: Added. * fast/events/pagehide-prompt.html: Added. * fast/events/pagehide-showModalDialog-expected.txt: Added. * fast/events/pagehide-showModalDialog.html: Added. * fast/events/pageshow-pagehide-on-back-cached-expected.txt: * fast/events/pageshow-pagehide-on-back-uncached-expected.txt: * fast/events/resources/prompt-landing-page.html: Added. * fast/events/unload-alert-expected.txt: Added. * fast/events/unload-alert.html: Added. * fast/events/unload-confirm-expected.txt: Added. * fast/events/unload-confirm.html: Added. * fast/events/unload-prompt-expected.txt: Added. * fast/events/unload-prompt.html: Added. * fast/events/unload-showModalDialog-expected.txt: Added. * fast/events/unload-showModalDialog.html: Added. * platform/wk2/TestExpectations: WebKit2 can't handle showModalDialog tests. * compositing/iframes/page-cache-layer-tree-expected.txt: * fast/dom/Geolocation/notimer-after-unload-expected.txt: * fast/history/timed-refresh-in-cached-frame-expected.txt: * fast/loader/frames-with-unload-handlers-in-page-cache-expected.txt: * fast/loader/page-dismissal-modal-dialogs-expected.txt: These were pre-existing tests that tried to alert during unload. 2015-11-09 Alex Christensen XHR timeouts should not fire if there is an immediate network error. https://bugs.webkit.org/show_bug.cgi?id=150577 Reviewed by Darin Adler. * platform/mac-wk2/TestExpectations: http/tests/contentextensions/async-xhr-onerror.html shouldn't be flaky any more. 2015-10-14 Alex Christensen [Content Extensions] Make blocked async XHR call onerror https://bugs.webkit.org/show_bug.cgi?id=146706 Reviewed by Brady Eidson. * http/tests/contentextensions/async-xhr-onerror-expected.txt: Added. * http/tests/contentextensions/async-xhr-onerror.html: Added. * http/tests/contentextensions/async-xhr-onerror.html.json: Added. 2015-09-09 Myles C. Maxfield ASSERTION FAILED: typesettingFeatures & (Kerning | Ligatures) in WebCore::applyFontTransforms https://bugs.webkit.org/show_bug.cgi?id=146194 Reviewed by Dean Jackson. * fast/text/softbank-emoji-no-ligatures-nor-kerning-expected.html: Added * fast/text/softbank-emoji-no-ligatures-nor-kerning.html: Added 2015-11-09 Jiewen Tan Crash when right clicking in input box with -webkit-user-select: none https://bugs.webkit.org/show_bug.cgi?id=145981 Reviewed by Enrica Casucci. * editing/selection/minimal-user-select-crash-expected.txt: Added. * editing/selection/minimal-user-select-crash.html: Added. 2015-11-09 Jiewen Tan Null dereference loading Blink layout test editing/inserting/insert-html-crash-01.html https://bugs.webkit.org/show_bug.cgi?id=149298 Reviewed by Ryosuke Niwa. This test case is from Blink r153982: https://codereview.chromium.org/16053005 * editing/inserting/insert-html-crash-01-expected.txt: Added. * editing/inserting/insert-html-crash-01.html: Added. 2015-11-09 Myles C. Maxfield Some style changes cause tatechuyoko to be drawn off center https://bugs.webkit.org/show_bug.cgi?id=150986 Reviewed by Darin Adler. * fast/text/text-combine-style-change-extra-layout-expected.html: Added. * fast/text/text-combine-style-change-extra-layout.html: Added. 2015-11-07 Zalan Bujtas Crash when subtree layout is set on FrameView while auto size mode is enabled. https://bugs.webkit.org/show_bug.cgi?id=150995 rdar://problem/22785262 Reviewed by Beth Dakin. Autosizing initiates multiple synchronous layouts to calculate preferred view width for current content. FrameView::autoSizeIfEnabled() is called from FrameView::layout() while we are in InPreLayout state. It is safe to do during full layout. However, since we setup the subtree state just before the autoSizeIfEnabled() call, reentering it with a newly issued layout confuses SubtreeLayoutStateMaintainer. This patch reverses the order of autoSizeIfEnabled() call and the subtree layout state setup. It also ensures that the first layout requested by autoSizeIfEnabled() always runs on the whole tree. * fast/dynamic/crash-subtree-layout-when-auto-size-enabled-expected.txt: Added. * fast/dynamic/crash-subtree-layout-when-auto-size-enabled.html: Added. 2015-11-06 Myles C. Maxfield REGRESSION(r182286): Tatechuyoko following ruby is drawn too far to the right https://bugs.webkit.org/show_bug.cgi?id=150923 Reviewed by Zalan Bujtas. * fast/text/ruby-justify-tatechuyoko-expected.html: Added. * fast/text/ruby-justify-tatechuyoko.html: Added. 2015-11-06 Mario Sanchez Prada Layout Test accessibility/win/linked-elements.html is crashing on win debug https://bugs.webkit.org/show_bug.cgi?id=150944 Reviewed by Chris Fleizach. Removed accessibility/win/linked-elements.html crashing expectation. * platform/win/TestExpectations: Removed crashing expectation. 2015-11-04 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/delete-hidden-crash.html https://bugs.webkit.org/show_bug.cgi?id=149289 Reviewed by Enrica Casucci. * editing/execCommand/delete-hidden-crash-expected.txt: Added. * editing/execCommand/delete-hidden-crash.html: Added. 2015-11-03 Myles C. Maxfield Ruby base ending in tatechuyoko forces a line break before the tatechuyoko https://bugs.webkit.org/show_bug.cgi?id=150883 Reviewed by Darin Adler. * platform/mac/fast/text/international/text-combine-image-test-expected.txt: Updated. * platform/mac/fast/text/tatechuyoko-expected.txt: Ditto. * fast/text/ruby-tatechuyoko-expected.html: Added. * fast/text/ruby-tatechuyoko.html: Added. 2015-11-04 Ryan Haddad Fixing test added with r192022 https://bugs.webkit.org/show_bug.cgi?id=150670 Unreviewed test gardening. * accessibility/list-item-with-pseudo-element-crash.html: 2015-11-04 Joanmarie Diggs [AX] WebProcess from WebKitGtk+ 2.10.0 compiled in Debug mode hits ASSERT on textUnderElement https://bugs.webkit.org/show_bug.cgi?id=150670 Reviewed by Chris Fleizach. * accessibility/list-item-with-pseudo-element-crash-expected.txt: Added. * accessibility/list-item-with-pseudo-element-crash.html: Added. 2015-11-04 Antoine Quint SVG: hit testing region for elements is incorrect https://bugs.webkit.org/show_bug.cgi?id=150838 Reviewed by Dean Jackson. * svg/hittest/text-dominant-baseline-hanging-expected.svg: Added. * svg/hittest/text-dominant-baseline-hanging.svg: Added. * svg/hittest/text-multiple-dx-values-expected.svg: Added. * svg/hittest/text-multiple-dx-values.svg: Added. * svg/hittest/text-with-multiple-tspans-expected.svg: Added. * svg/hittest/text-with-multiple-tspans.svg: Added. * svg/hittest/text-with-text-node-and-content-elements-expected.svg: Added. * svg/hittest/text-with-text-node-and-content-elements.svg: Added. * svg/hittest/text-with-text-node-only-expected.svg: Added. * svg/hittest/text-with-text-node-only.svg: Added. * svg/hittest/text-with-text-path-expected.svg: Added. * svg/hittest/text-with-text-path.svg: Added. 2015-11-03 Jiewen Tan Null dereference loading Blink layout test scrollbars/custom-scrollbar-appearance-property.html https://bugs.webkit.org/show_bug.cgi?id=149312 Reviewed by Darin Adler. * scrollbars/custom-scrollbar-appearance-property-expected.txt: Added. * scrollbars/custom-scrollbar-appearance-property.html: Added. 2015-11-02 Jiewen Tan Null dereference loading Blink layout test fast/css/background-repeat-null-y-crash.html https://bugs.webkit.org/show_bug.cgi?id=150211 Reviewed by Alex Christensen. * fast/css/background-repeat-null-y-crash-expected.txt: Added. * fast/css/background-repeat-null-y-crash.html: Added. 2015-10-29 Michael Saboff Crash making a tail call from a getter to a host function https://bugs.webkit.org/show_bug.cgi?id=150663 Reviewed by Geoffrey Garen. New regression tests. * js/regress-150663-expected.txt: Added. * js/regress-150663.html: Added. * js/script-tests/regress-150663.js: Added. (Test): (Test.prototype.get sum): 2015-10-29 Said Abou-Hallawa Exploitable crash happens when an SVG contains an indirect resource inheritance cycle https://bugs.webkit.org/show_bug.cgi?id=150203 Reviewed by Brent Fulgham. Ensure that we do not crash when an SVG has an indirect cyclic resource inheritance. Make sure the cyclic resource was just ignored as if it did not exist. * svg/custom/pattern-content-inheritance-cycle-expected.svg: Added. * svg/custom/pattern-content-inheritance-cycle.svg: Added. 2015-10-28 Zalan Bujtas Should never be reached failure in WebCore::backgroundRectForBox https://bugs.webkit.org/show_bug.cgi?id=150232 Reviewed by Simon Fraser. We should never end up with simple container for composited layer when background-clip: text is present. (not even when the box has no decoration to paint) * fast/backgrounds/background-clip-text-with-simple-container-expected.txt: Added. * fast/backgrounds/background-clip-text-with-simple-container.html: Added. 2015-10-27 Hunseop Jeong [Cairo] Incorrect dashed and dotted border painting after r177686. https://bugs.webkit.org/show_bug.cgi?id=141967 Reviewed by Gyuyoung Kim. Fix the incorrect dashed/dotted border painting in cairo. * platform/gtk/TestExpectations: Removed the passed test. 2015-10-27 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/format-block-uneditable-crash.html https://bugs.webkit.org/show_bug.cgi?id=150207 Reviewed by Enrica Casucci. * editing/execCommand/format-block-uneditable-crash-expected.txt: Added. * editing/execCommand/format-block-uneditable-crash.html: Added. 2015-10-27 Keith Rollin Do not sanitize user input for input[type=url] https://bugs.webkit.org/show_bug.cgi?id=150346 Reviewed by Darin Adler. Test the sanitization of text-based input fields when the user enters text. * fast/forms/input-user-input-sanitization-expected.txt: Added. * fast/forms/input-user-input-sanitization.html: Added. 2015-10-26 Zalan Bujtas Floating box is misplaced after content change. https://bugs.webkit.org/show_bug.cgi?id=150271 Reviewed by David Hyatt. Collapse anonymous block when as the result of a sibling removal only floating siblings are left. * fast/block/collapse-anon-block-with-float-siblings-only-expected.html: Added. * fast/block/collapse-anon-block-with-float-siblings-only.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/crash-replacing-list-by-list.html https://bugs.webkit.org/show_bug.cgi?id=149288 Reviewed by Chris Dumez. * editing/execCommand/crash-replacing-list-by-list-expected.txt: Added. * editing/execCommand/crash-replacing-list-by-list.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/insert-image-changing-visibility-crash.html https://bugs.webkit.org/show_bug.cgi?id=150208 Reviewed by Chris Dumez. * editing/execCommand/insert-image-changing-visibility-crash-expected.txt: Added. * editing/execCommand/insert-image-changing-visibility-crash.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/insert-ordered-list-crash.html https://bugs.webkit.org/show_bug.cgi?id=150209 Reviewed by Chris Dumez. * editing/execCommand/insert-ordered-list-crash-expected.txt: Added. * editing/execCommand/insert-ordered-list-crash.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/insert-html-to-document-element-crash.html https://bugs.webkit.org/show_bug.cgi?id=149294 Reviewed by Darin Adler. * editing/execCommand/insert-html-to-document-element-crash-expected.txt: Added. * editing/execCommand/insert-html-to-document-element-crash.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/indent-nested-blockquotes-crash.html https://bugs.webkit.org/show_bug.cgi?id=149291 Reviewed by Darin Adler. * editing/execCommand/indent-nested-blockquotes-crash-expected.txt: Added. * editing/execCommand/indent-nested-blockquotes-crash.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/indent-inline-box-crash.html https://bugs.webkit.org/show_bug.cgi?id=149290 Reviewed by Alex Christensen. * editing/execCommand/indent-inline-box-crash-expected.txt: Added. * editing/execCommand/indent-inline-box-crash.html: Added. 2015-10-26 Jiewen Tan Null dereference loading Blink layout test editing/execCommand/indent-no-visible-contents-crash.html https://bugs.webkit.org/show_bug.cgi?id=149292 Reviewed by Alex Christensen. * editing/execCommand/indent-no-visible-contents-crash-expected.txt: Added. * editing/execCommand/indent-no-visible-contents-crash.html: Added. 2015-10-26 Simon Fraser Incorrect repeated background-size behavior in keyframes https://bugs.webkit.org/show_bug.cgi?id=150309 Reviewed by Zalan Bujtas. * animations/multiple-backgrounds-expected.html: Added. * animations/multiple-backgrounds.html: Added. 2015-10-24 Simon Fraser REGRESSION (r187121): Delayed instantaneous animations not honouring ' forwards' fill-mode https://bugs.webkit.org/show_bug.cgi?id=150326 Reviewed by Darin Adler. Test with a zero-duration, delayed fill-forwards animation. * animations/fill-mode-forwards-zero-duration-expected.txt: Added. * animations/fill-mode-forwards-zero-duration.html: Added. 2015-10-23 Michael Saboff REGRESSION (r179357-r179359): WebContent Crash using AOL Mail @ com.apple.JavascriptCore JSC::linkPolymorphicCall(JSC::ExecState*, JSC::CallLinkInfo&, JSC::CallVariant, JSC::RegisterPreservationMode) + 1584 https://bugs.webkit.org/show_bug.cgi?id=150513 Reviewed by Saam Barati. New regression test. * js/regress-150513-expected.txt: Added. * js/regress-150513.html: Added. * js/script-tests/regress-150513.js: Added. (test): * resources/standalone-pre.js: Added failNextNewCodeBlock to testRunner object. 2015-10-23 Ryan Haddad Updating test expectation for animations/fill-forwards-end-state.html https://bugs.webkit.org/show_bug.cgi?id=150328#c11 Reviewed by Alexey Proskuryakov. * animations/fill-forwards-end-state-expected.txt: 2015-10-23 Simon Fraser REGRESSION (r187121): Multiple-keyframe animations not honouring ' forwards' fill-mode https://bugs.webkit.org/show_bug.cgi?id=150328 Reviewed by Dean Jackson. Filling-forwards test with an animation whose duration is greater than one second, which showed the bug. * animations/fill-forwards-end-state-expected.txt: Added. * animations/fill-forwards-end-state.html: Added. 2015-10-23 Hyemi Shin ConvolverNode.buffer must have same sample rate as the AudioContext https://bugs.webkit.org/show_bug.cgi?id=150385 Reviewed by Chris Dumez. * webaudio/convolver-setBuffer-different-samplerate-expected.txt: Added. * webaudio/convolver-setBuffer-different-samplerate.html: Added. 2015-10-21 Dean Jackson Null dereference loading Blink layout test svg/filters/display-none-filter-primitive.html https://bugs.webkit.org/show_bug.cgi?id=150212 Reviewed by Brent Fulgham. * svg/filters/display-none-filter-primitive-expected.txt: Added. * svg/filters/display-none-filter-primitive.html: Added. 2015-10-16 Jiewen Tan Avoid to insert TAB before HTML element. https://bugs.webkit.org/show_bug.cgi?id=149295 Reviewed by Ryosuke Niwa. * editing/execCommand/insert-tab-to-html-element-crash-expected.txt: Added. * editing/execCommand/insert-tab-to-html-element-crash.html: Added. 2015-10-16 Zalan Bujtas First line box in paragraph using initial-letter overflows. https://bugs.webkit.org/show_bug.cgi?id=147977 Reviewed by David Hyatt. When initial-letter float is present, we should shrink the first line even if it's not intersected with the block's current height. This is because of the sunken behaviour of initial-letter. * fast/css-generated-content/initial-letter-first-line-wrapping-expected.html: Added. * fast/css-generated-content/initial-letter-first-line-wrapping.html: Added. * platform/mac/fast/css-generated-content/initial-letter-basic-expected.txt: progression. 2015-10-15 Dean Jackson CSSKeyframesRule::appendRule is deprecated, but is actually the spec https://bugs.webkit.org/show_bug.cgi?id=150113 Reviewed by Simon Fraser. Update tests to deprecate the correct function. * animations/change-keyframes-expected.txt: * animations/keyframes-rule.html: * animations/unprefixed-keyframes-rule.html: 2015-10-14 Jiewen Tan Postpone mutation events before invoke Editor::Command command(Document*, const String&, bool). https://bugs.webkit.org/show_bug.cgi?id=149299 Reviewed by Andreas Kling. * editing/inserting/insert-with-mutation-event-expected.txt: Added. * editing/inserting/insert-with-mutation-event.html: Added. 2015-10-12 Simon Fraser Clip-path transitions sometimes trigger endless animation timers https://bugs.webkit.org/show_bug.cgi?id=150018 Reviewed by Tim Horton. New tests for transitions of clip-path and shape-outside. * transitions/clip-path-transitions-expected.txt: Added. * transitions/clip-path-transitions.html: Added. * transitions/resources/transition-test-helpers.js: (parseClipPath): (checkExpectedValue): * transitions/shape-outside-transitions-expected.txt: Added. * transitions/shape-outside-transitions.html: Added. * transitions/svg-transitions-expected.txt: 2015-10-09 Simon Fraser Garbage texture data with composited table row https://bugs.webkit.org/show_bug.cgi?id=148984 Reviewed by Zalan Bujtas. * compositing/contents-opaque/table-parts-expected.txt: Added. * compositing/contents-opaque/table-parts.html: Added. 2015-10-09 Simon Fraser Garbage pixels on enphaseenergy.com site https://bugs.webkit.org/show_bug.cgi?id=149915 rdar://problem/22976184 Reviewed by Darin Adler. New ref test. Also update the expected result for another test that uses negative z-index children. * compositing/contents-opaque/body-background-painted-expected.txt: * compositing/contents-opaque/negative-z-before-html-expected.html: Added. * compositing/contents-opaque/negative-z-before-html.html: Added. * platform/mac-wk2/compositing/contents-opaque/body-background-painted-expected.txt: 2015-10-08 Jiewen Tan Gracefully handle XMLDocumentParser being detached by mutation events. https://bugs.webkit.org/show_bug.cgi?id=149485 Reviewed by Darin Adler. * fast/parser/resources/xhtml-overwrite-frame.xhtml: Added. * fast/parser/xhtml-dom-character-data-modified-crash-expected.txt: Added. * fast/parser/xhtml-dom-character-data-modified-crash.html: Added. 2015-10-08 Jiewen Tan Add NULL check for renderBox::layer() on applying zoom level change https://bugs.webkit.org/show_bug.cgi?id=149302 Reviewed by Darin Adler. * fast/css/zoom-on-nested-scroll-crash-expected.txt: Added. * fast/css/zoom-on-nested-scroll-crash.html: Added. 2015-10-08 Antti Koivisto CrashTracer: [USER] com.apple.WebKit.WebContent at …Core::SelectorChecker::checkScrollbarPseudoClass const + 217 https://bugs.webkit.org/show_bug.cgi?id=149921 rdar://problem/22731359 Reviewed by Andreas Kling. The test crashes with shipping WebKit but not with current ToT (probably due to shadow DOM styling changes). Still adding it for coverage. * svg/css/use-window-inactive-crash-expected.html: Added. * svg/css/use-window-inactive-crash.html: Added. 2015-10-07 ChangSeok Oh [GTK] Progress bar is broken on recent GTK+ https://bugs.webkit.org/show_bug.cgi?id=149831 Reviewed by Carlos Garcia Campos. * fast/dom/HTMLProgressElement/native-progress-bar.html: Added. * platform/gtk/fast/dom/HTMLProgressElement/native-progress-bar-expected.png: Added. * platform/gtk/fast/dom/HTMLProgressElement/native-progress-bar-expected.txt: Added. * platform/mac/fast/dom/HTMLProgressElement/native-progress-bar-expected.png: Added. * platform/mac/fast/dom/HTMLProgressElement/native-progress-bar-expected.txt: Added. 2015-10-06 Zalan Bujtas Paint artifacts when hovering on http://jsfiddle.net/Sherbrow/T87Mn/ https://bugs.webkit.org/show_bug.cgi?id=149535 rdar://problem/22874920 Reviewed by Simon Fraser. When due to some style change, a renderer's self-painting layer is getting destroyed and the parent's overflow is no longer set to visible, we don't clean up the overflow part. When a renderer has a self-painting layer, the parent stops tracking the child's visual overflow rect. All overflow painting is delegated to the self-painting layer. However when this layer gets destroyed, no-one issues repaint to clean up the overflow bits. This patch ensures that we issue a repaint when the self-painting layer is destroyed and the triggering style change requires full repaint. * css3/blending/repaint/blend-mode-isolate-stacking-context-expected.txt: progression. * fast/repaint/absolute-position-change-containing-block-expected.txt: progression. * fast/repaint/overflow-hidden-with-self-painting-child-layer-expected.txt: Added. * fast/repaint/overflow-hidden-with-self-painting-child-layer.html: Added. 2015-10-06 Jiewen Tan Fix crash in ApplyStyleCommand::applyRelativeFontStyleChange() https://bugs.webkit.org/show_bug.cgi?id=149300 Reviewed by Chris Dumez. * editing/style/apply-style-crash2-expected.txt: Added. * editing/style/apply-style-crash2.html: Added. * editing/style/apply-style-crash3-expected.txt: Added. * editing/style/apply-style-crash3.html: Added. 2015-10-05 Chris Dumez data: URLs should not be preloaded https://bugs.webkit.org/show_bug.cgi?id=149829 Reviewed by Ryosuke Niwa. Add layout test to make sure that images with a data: URL do not get preloaded. * fast/preloader/image-data-url-expected.txt: Added. * fast/preloader/image-data-url.html: Added. 2015-10-05 Jiewen Tan CSSGradientValue should check whether gradientLength is zero or not. https://bugs.webkit.org/show_bug.cgi?id=149373 Reviewed by Darin Adler. * fast/gradients/css3-repeating-radial-gradients-crash-expected.txt: Added. * fast/gradients/css3-repeating-radial-gradients-crash.html: Added. 2015-10-05 Dean Jackson Reference cycles during SVG dependency invalidation https://bugs.webkit.org/show_bug.cgi?id=149824 Reviewed by Tim Horton. Adding a test that has a cycle between feImage resources. Merge Blink commit: https://chromium.googlesource.com/chromium/blink/+/a4bc83453bda89823b672877dc02247652a02d51 * svg/custom/reference-cycle-expected.txt: Added. * svg/custom/reference-cycle.svg: Added. 2015-10-05 Jiewen Tan Fix null pointer dereference in WebSocket::connect() https://bugs.webkit.org/show_bug.cgi?id=149311 Reviewed by Chris Dumez. * http/tests/websocket/construct-in-detached-frame-expected.txt: Added. * http/tests/websocket/construct-in-detached-frame.html: Added. * http/tests/websocket/resources/construct-in-detached-frame.html: Added. 2015-10-02 Ryosuke Niwa ShadowRoot with leading or trailing white space cause a crash https://bugs.webkit.org/show_bug.cgi?id=149782 Reviewed by Chris Dumez. Added a regression test. * fast/shadow-dom/shadow-root-with-child-whitespace-text-crash-expected.txt: Added. * fast/shadow-dom/shadow-root-with-child-whitespace-text-crash.html: Added. 2015-10-05 Zalan Bujtas Mark the line dirty when RenderQuote's text changes. https://bugs.webkit.org/show_bug.cgi?id=149784 rdar://problem/22558169 Reviewed by Antti Koivisto. When quotation mark changes ( " -> ' or empty string), we need to mark the line dirty to ensure its content gets laid out properly. * fast/inline/quotation-text-changes-dynamically-expected.txt: Added. * fast/inline/quotation-text-changes-dynamically.html: Added. 2015-10-02 Antoine Quint popstate is fired at the wrong time on load https://bugs.webkit.org/show_bug.cgi?id=94265 Reviewed by Darin Adler. Updating tests that relied on a "popstate" event being fired at page load. * fast/history/same-document-iframes-changing-fragment-expected.txt: * fast/history/same-document-iframes-changing-pushstate-expected.txt: * fast/loader/javascript-url-iframe-remove-on-navigate.html: * fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html: * fast/loader/stateobjects/document-destroyed-navigate-back.html: * fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html: * fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html: * fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute.html: * fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html: * fast/loader/stateobjects/popstate-fires-on-history-traversal-expected.txt: * fast/loader/stateobjects/popstate-fires-on-history-traversal.html: * fast/loader/stateobjects/popstate-fires-with-page-cache-expected.txt: * fast/loader/stateobjects/popstate-fires-with-page-cache.html: * fast/loader/stateobjects/pushstate-object-types.html: * fast/loader/stateobjects/pushstate-then-replacestate.html: * fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html: * fast/loader/stateobjects/replacestate-then-pushstate.html: * fast/loader/stateobjects/resources/popstate-fires-with-page-cache-1.html: * fast/loader/stateobjects/resources/popstate-fires-with-page-cache-2.html: * fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html: * http/tests/history/popstate-fires-with-pending-requests.html: * http/tests/navigation/redirect-on-back-updates-history-item-expected.txt: * http/tests/navigation/redirect-on-reload-updates-history-item-expected.txt: 2015-10-01 Antti Koivisto Network cache: Subresource referer header wrong after cached redirect https://bugs.webkit.org/show_bug.cgi?id=149709 rdar://problem/22917174 Reviewed by Chris Dumez. * http/tests/cache/redirect-referer-expected.html: Added. * http/tests/cache/redirect-referer.html: Added. * http/tests/cache/resources/load-and-check-referer.php: Added. * http/tests/cache/resources/permanent-redirect.php: Added. * http/tests/cache/resources/redirect-referer-iframe.html: Added. * http/tests/cache/resources/redirect-referer-iframe-expected.html: Added. 2015-09-30 Myles C. Maxfield Crash when using an SVG font with > 390 glyphs https://bugs.webkit.org/show_bug.cgi?id=149677 Reviewed by Simon Fraser. * svg/custom/many-glyphs-expected.svg: Added. * svg/custom/many-glyphs.svg: Added. 2015-10-08 Jiewen Tan Cleaning up after revision 190339 https://bugs.webkit.org/show_bug.cgi?id=149732 Reviewed by Myles C. Maxfield. * svg/custom/invalid-xslt-crash.svg: * svg/custom/invalid-xslt-crash-expected.txt: Replace render tree dump test with text dump. 2015-10-05 Alexey Proskuryakov Revert LayoutTests parts of r190579, which were incorrect. * svg/custom/invalid-xslt-crash-expected.txt: Copied from LayoutTests/svg/custom/invalid-xslt-crash-expected.txt. * svg/custom/invalid-xslt-crash.svg: 2015-10-05 Jiewen Tan Cleaning up after revision 190339 https://bugs.webkit.org/show_bug.cgi?id=149732 Reviewed by Myles C. Maxfield. * svg/custom/invalid-xslt-crash.svg: * svg/custom/invalid-xslt-crash-expected.txt: Replace render tree dump test with text dump. Pass if no crash. 2015-09-29 Jon Honeycutt Avoid reparsing an XSLT stylesheet after the first failure. https://bugs.webkit.org/show_bug.cgi?id=149188 Reviewed by Dave Hyatt. Patch by Jiewen Tan, jiewen_tan@apple.com. * svg/custom/invalid-xslt-crash-expected.txt: Added. * svg/custom/invalid-xslt-crash.svg: Added. 2015-09-29 Chris Dumez Memory cache revalidations should refresh the network disk cache https://bugs.webkit.org/show_bug.cgi?id=149606 Reviewed by Darin Adler. Add layout test to check that revalidations requested by the memory cache update the corresponding disk cache entry when the server responds with a 304 status code. * http/tests/cache/disk-cache/memory-cache-revalidation-updates-disk-cache-expected.txt: Added. * http/tests/cache/disk-cache/memory-cache-revalidation-updates-disk-cache.html: Added. 2015-09-25 Carlos Garcia Campos [GTK] ASSERTION FAILED: !m_inUpdateBackingStoreState in DrawingAreaImpl::display() after DrawingAreaImpl::forceRepaint() https://bugs.webkit.org/show_bug.cgi?id=148956 Reviewed by Žan Doberšek. Unskip tests that should pass now. * platform/gtk/TestExpectations: 2015-09-23 ChangSeok Oh [GTK] playbutton in media controls is not changed when it is clicked. https://bugs.webkit.org/show_bug.cgi?id=149113 Reviewed by Philippe Normand. * media/media-controls-play-button-updates-expected.png: Added. * media/media-controls-play-button-updates-expected.txt: Added. * media/media-controls-play-button-updates.html: Added. * platform/gtk/media/media-controls-play-button-updates-expected.png: Added. * platform/gtk/media/media-controls-play-button-updates-expected.txt: Added. 2015-09-22 Ryosuke Niwa Event fired on a detached node does not bubble up https://bugs.webkit.org/show_bug.cgi?id=149488 Reviewed by Antti Koivisto. Added a regression test. Also modified and rebaselined mouseout-dead-node.html added in r19897 since our new behavior matches that of the latest Firefox as well as Chrome. * fast/events/event-propagation-in-detached-tree-expected.txt: Added. * fast/events/event-propagation-in-detached-tree.html: Added. * fast/events/mouseout-dead-node-expected.txt: * fast/events/mouseout-dead-node.html: 2015-09-22 sangdeug.kim Add test for checking currentTime of mediacontroller when playback is completed. https://bugs.webkit.org/show_bug.cgi?id=149154 Reviewed by Eric Carlson. * media/media-controller-time-clamp-expected.txt: * media/media-controller-time-clamp.html: 2015-09-21 ChangSeok Oh [GTK] media controls does not show up when playing video finishes. https://bugs.webkit.org/show_bug.cgi?id=149112 Reviewed by Philippe Normand. * media/media-controls-timeline-updates-after-playing-expected.txt: Added. * media/media-controls-timeline-updates-after-playing.html: Added. 2015-09-21 ChangSeok Oh [GTK] timeline is not updated after few seconds when mouse hovers on controls https://bugs.webkit.org/show_bug.cgi?id=149111 Reviewed by Philippe Normand. * media/media-controls-timeline-updates-when-hovered-expected.txt: Added. * media/media-controls-timeline-updates-when-hovered.html: Added. 2015-09-18 Dean Jackson Null dereference loading Blink layout test svg/filters/feImage-failed-load-crash.html https://bugs.webkit.org/show_bug.cgi?id=149316 Reviewed by Tim Horton. Merge Blink commit: https://chromium.googlesource.com/chromium/blink/+/9cbcfd7866bbaff0c4b3c4c8508b7c97b46d6e6a * svg/filters/feImage-failed-load-crash-expected.txt: Added. * svg/filters/feImage-failed-load-crash.html: Added. 2015-09-18 Dean Jackson Null dereference loading Blink layout test svg/custom/use-href-attr-removal-crash.html https://bugs.webkit.org/show_bug.cgi?id=149315 Reviewed by Tim Horton. These tests, copied from Blink, should not crash. The originals come from: https://chromium.googlesource.com/chromium/blink/+/e2f1087f32bb088160ab7d59a715a1403ef267c7 * svg/custom/use-href-attr-removal-crash.html: Added. * svg/custom/use-href-attr-removal-crash-expected.txt: Added. * svg/custom/use-href-attr-removal-crash2.svg: Added. * svg/custom/use-href-attr-removal-crash2-expected.txt: Added. * svg/custom/use-href-change-local-to-invalid-remote.html: Added. * svg/custom/use-href-change-local-to-invalid-remote-expected.txt: Added. 2015-09-17 Dean Jackson Multi-hop reference cycles not detected. https://bugs.webkit.org/show_bug.cgi?id=149181 Reviewed by John Honeycutt. Test comes from: https://chromium.googlesource.com/chromium/blink/+/master/LayoutTests/svg/custom/pattern-3-step-cycle.html * svg/custom/pattern-3-step-cycle-expected.txt: Added. * svg/custom/pattern-3-step-cycle.html: Added. 2015-09-17 Dean Jackson Cyclic resources were not detected if the reference had deep containers https://bugs.webkit.org/show_bug.cgi?id=149182 Reviewed by John Honeycutt. This test was ported from Blink. I believe it originally came from: https://code.google.com/p/chromium/issues/detail?id=351713 * svg/custom/pattern-content-cycle-w-resourceless-container-expected.txt: Added. * svg/custom/pattern-content-cycle-w-resourceless-container.html: Added. 2015-09-13 Chris Dumez document.lastModified should use the user's local time zone https://bugs.webkit.org/show_bug.cgi?id=149092 Reviewed by Ryosuke Niwa. Update test so that it converts document.lastModified to UTF before printing it. This is so that we can consistent layout tests results, no matter the system's timezone. * http/tests/misc/last-modified-parsing-expected.txt: * http/tests/resources/last-modified.php: 2015-09-13 Chris Dumez Node.baseURI should not return null for detached nodes https://bugs.webkit.org/show_bug.cgi?id=149104 Reviewed by Sam Weinig. * dom/xhtml/level3/core/nodegetbaseuri03-expected.txt: Rebaseline outdated DOM3 test. * svg/custom/image-base-uri-expected.txt: Removed. * svg/custom/image-base-uri.svg: Removed. Drop outdated SVG test. SVG2 no longer support xml:base. 2015-09-10 David Hyatt [New Block-Inside-Inline Model] Self-collapsing block check needs to account for anonymous inline blocks https://bugs.webkit.org/show_bug.cgi?id=149042 Reviewed by Dean Jackson. * fast/block/inside-inlines/new-model/self-collapsing-test-expected.html: Added. * fast/block/inside-inlines/new-model/self-collapsing-test.html: Added. * fast/block/inside-inlines/self-collapsing-test-expected.html: Added. * fast/block/inside-inlines/self-collapsing-test.html: Added. 2015-09-10 ChangSeok Oh [GTK] Volume bar is broken https://bugs.webkit.org/show_bug.cgi?id=145639 Reviewed by Philippe Normand. Unblock relevant tests. media/click-volume-bar-not-pausing.html, media/volume-bar-empty-when-muted.html * platform/gtk/TestExpectations: 2015-09-09 Benjamin Poulain CSS general sibling selectors does not work without CSS JIT https://bugs.webkit.org/show_bug.cgi?id=148987 rdar://problem/22559860 Reviewed by Andreas Kling. There are multiple variations of the same tests to test cases where we JIT and cases without JIT. * fast/css/indirect-adjacent-style-invalidation-1-expected.txt: Added. * fast/css/indirect-adjacent-style-invalidation-1.html: Added. * fast/css/indirect-adjacent-style-invalidation-2-expected.txt: Added. * fast/css/indirect-adjacent-style-invalidation-2.html: Added. * fast/css/indirect-adjacent-style-invalidation-3-expected.txt: Added. * fast/css/indirect-adjacent-style-invalidation-3.html: Added. 2015-09-09 Alexey Proskuryakov fast/dom/rtl-scroll-to-leftmost-and-resize.html is a flaky timeout - IPC drops messages https://bugs.webkit.org/show_bug.cgi?id=148951 Reviewed by Anders Carlsson. * platform/mac-wk2/TestExpectations: Unmark the test (it still fails per platform/mac expectations, which is unrelated). 2015-09-09 David Hyatt REGRESSION: Inline-block baseline is wrong when zero-width replaced child is present https://bugs.webkit.org/show_bug.cgi?id=147452 rdar://problem/21943074 Reviewed by Myles Maxfield. * fast/inline-block/baseline-with-zero-width-replaced-child-expected.html: Added. * fast/inline-block/baseline-with-zero-width-replaced-child.html: Added. 2015-09-08 Chris Dumez document.importNode(node, deep): deep's default value should be false https://bugs.webkit.org/show_bug.cgi?id=148959 Reviewed by Alexey Proskuryakov. * fast/dom/document-importNode-arguments.html: Explicitly pass deep parameter as the test wants a deep clone. 2015-09-07 Daniel Bates ASSERT_WITH_SECURITY_IMPLICATION in WebCore::DocumentOrderedMap::get(); update form association after subtree insertion https://bugs.webkit.org/show_bug.cgi?id=148919 Reviewed by Andy Estes. Add tests to ensure that updating the form association of a form control in a subtree does not cause an assertion failure. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-2-expected.txt: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-2.html: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-3-expected.txt: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-3.html: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-4-expected.txt: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-4.html: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure-expected.txt: Added. * fast/forms/update-form-owner-in-moved-subtree-assertion-failure.html: Added. 2015-09-06 Youenn Fablet XHR2 timeout property should allow late updates https://bugs.webkit.org/show_bug.cgi?id=98156 Reviewed by Darin Adler. Activating test checking that timeout can be updated after request is sent. * http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides-expected.txt: * http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-overrides.js: * http/tests/xmlhttprequest/timeout/xmlhttprequest-timeout-worker-overrides-expected.txt: 2015-09-04 Myles C. Maxfield Crash when font completes downloading after calling 2D canvas setText() multiple times https://bugs.webkit.org/show_bug.cgi?id=148789 Reviewed by Darin Adler. * fast/canvas/font-selector-crash-expected.txt: Added. * fast/canvas/font-selector-crash.html: Added. * fast/canvas/resources/font-selector-crash.ttf: Added. 2015-09-04 Chris Dumez Document.body should return the first body / frameset child of the html element https://bugs.webkit.org/show_bug.cgi?id=148787 Reviewed by Ryosuke Niwa. Rebaseline test now that a new check is passing. * http/tests/w3c/html/dom/documents/dom-tree-accessors/document.body-getter-expected.txt: 2015-09-03 Chris Dumez document.createEvent("eventname") should do a case-insensitive match on the event name https://bugs.webkit.org/show_bug.cgi?id=148738 Reviewed by Andreas Kling. Rebaseline test now that some checks are passing. * http/tests/w3c/dom/nodes/Document-createEvent-expected.txt: 2015-09-02 Chris Dumez http/tests/w3c/dom/nodes/Element-matches.html is flaky https://bugs.webkit.org/show_bug.cgi?id=148615 Reviewed by Ryosuke Niwa. Unskip the tests and rebaseline them now that the target pseudo selector checks are consistently passing. * TestExpectations: * http/tests/w3c/dom/nodes/Element-matches-expected.txt: * http/tests/w3c/dom/nodes/ParentNode-querySelector-All-expected.txt: * http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml-expected.txt: 2015-08-31 Chris Dumez NodeFilter.SHOW_ALL has wrong value on 32-bit https://bugs.webkit.org/show_bug.cgi?id=148602 Reviewed by Geoffrey Garen. Unskip tests that are now passing on Windows / 32bit. * platform/win/TestExpectations: 2015-08-31 Antti Koivisto Network Cache: Stale content after back navigation https://bugs.webkit.org/show_bug.cgi?id=148634 Reviewed by Chris Dumez. * http/tests/cache/disk-cache/disk-cache-302-status-code.html: * http/tests/cache/disk-cache/disk-cache-cancel-expected.txt: Added. * http/tests/cache/disk-cache/disk-cache-cancel.html: Added. * http/tests/cache/disk-cache/resources/cache-test.js: Support delayed responses so we can test canceling the load. Some minor improvements. (makeHeaderValue): (generateTestURL): (loadResource): (loadResourcesWithOptions): (generateTests): * http/tests/cache/disk-cache/resources/generate-response.cgi: 2015-08-27 Joseph Pecoraro Page does not update when media attribute changes to no longer apply to page https://bugs.webkit.org/show_bug.cgi?id=148392 Reviewed by Antti Koivisto. * fast/css/link-media-attr-expected.txt: Added. * fast/css/link-media-attr.html: Added. Add a test to verify that styles change after a link's media attribute changes. 2015-08-27 Zalan Bujtas Simple line layout: Text jumps sometimes on naughty strings page https://bugs.webkit.org/show_bug.cgi?id=148399 rdar://problem/22212568 Reviewed by Antti Koivisto. The x position we set for tab characters during painting should be the same as if it was set by the inline box tree painting. Inline box tree computes the distance from the rootbox for each line and sets this value as the xPos for the TextRun. Currently simple line layout does not support cases where a line would have an offset, so this value is always 0. * fast/text/whitespace/simple-line-layout-tab-position-expected.html: Added. * fast/text/whitespace/simple-line-layout-tab-position.html: Added. 2015-08-27 Basile Clement REGRESSION(r184779): Possible read-after-free in JavaScriptCore/dfg/DFGClobberize.h https://bugs.webkit.org/show_bug.cgi?id=148411 Reviewed by Geoffrey Garen and Filip Pizlo. * js/regress-148411-expected.txt: Added. * js/regress-148411.html: Added. * js/script-tests/regress-148411.js: Added. (foo): 2015-08-27 Zalan Bujtas Subpixel positioned iframe's repaint area calculation problem. https://bugs.webkit.org/show_bug.cgi?id=148422 When the repaint rect position is floored for iframes, we need to expand the size so that it still covers the content. Reviewed by Simon Fraser. * fast/repaint/content-inside-subpixel-positioned-iframe-expected.txt: Added. * fast/repaint/content-inside-subpixel-positioned-iframe.html: Copied from LayoutTests/fast/repaint/hidpi-content-inside-iframe-leaves-trails.html. * fast/repaint/hidpi-content-inside-iframe-leaves-trails.html: 2015-08-26 Mark Lam watchdog m_didFire state erroneously retained. https://bugs.webkit.org/show_bug.cgi?id=131082 Reviewed by Geoffrey Garen. * fast/workers/worker-terminate-forever-expected.txt: * fast/workers/worker-terminate-forever.html: - Updated to check if the worker actually did terminate. 2015-08-27 Anders Carlsson REGRESSION (r188987): imported/mozilla/svg/filters/feConvolveMatrix-1.svg fails https://bugs.webkit.org/show_bug.cgi?id=148497 Reviewed by Andy Estes. * TestExpectations: 2015-08-31 Antti Koivisto REGRESSION (r188820): fast/dom/HTMLObjectElement/object-as-frame.html is flaky https://bugs.webkit.org/show_bug.cgi?id=148533 Reviewed by Chris Dumez. * TestExpectations: Unskip. * fast/dom/HTMLObjectElement/object-as-frame.html: Use more logical text in the data url. * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt: * http/tests/loading/basic-credentials-sent-automatically-expected.txt: * platform/wk2/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt: * platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt: * webarchive/loading/object-expected.txt: Update test results. 2015-08-21 Doug Russell AX: Table with CSS that makes a row anonymous can return NULL from cellForColumnAndRow https://bugs.webkit.org/show_bug.cgi?id=148293 Reviewed by Chris Fleizach. When RenderTableRows are anonymous, they may not be added to the accessible data table's internal row list. However, when calculating the row range for a cell, we were still accounting for those anonymous sections. Change how the row range is calculated to directly ask the accessible parent row for its index. This will ensure it’s more inline with what’s being represented to the accessibility API. * accessibility/aria-table-content-expected.txt: Added. * accessibility/aria-table-content.html: Added. 2015-08-20 Filip Pizlo Overflow check elimination fails for a simple test case https://bugs.webkit.org/show_bug.cgi?id=147387 Reviewed by Benjamin Poulain. Added two test cases that previously would have an unnecessary overflow check on an induction variable. These tests speed up by 10-15% thanks to this change. Also added .html/expected files for some regress test that didn't have them. * js/regress/function-call-expected.txt: Added. * js/regress/function-call.html: Added. * js/regress/hard-overflow-check-equal-expected.txt: Added. * js/regress/hard-overflow-check-equal.html: Added. * js/regress/hard-overflow-check-expected.txt: Added. * js/regress/hard-overflow-check.html: Added. * js/regress/script-tests/hard-overflow-check-equal.js: Added. (foo): * js/regress/script-tests/hard-overflow-check.js: Added. (foo): 2015-08-19 Wenson Hsieh Select validation does not correctly work when handling change event https://bugs.webkit.org/show_bug.cgi?id=145869 Reviewed by Dean Jackson. Tests that checkValidity() returns correct results from within the onchange handler of a